From d13f2644a5ca6af85333b28c6d2a8e0ba7ea8016 Mon Sep 17 00:00:00 2001 From: yziiy <15979918+mayday-yziiy@user.noreply.gitee.com> Date: Thu, 23 Oct 2025 11:07:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BB=A3=E7=A0=81=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/favicon.ico | Bin 0 -> 1270 bytes dist/index.html | 26 ++ dist/logo.svg | 1 + dist/platform-config.json | 26 ++ dist/static/css/Results-C4S277kf.css | 1 + dist/static/css/Results-CIaCk6ID.css | 1 + dist/static/css/chart-DmHqcQdF.css | 1 + dist/static/css/demo-DoABRfIw.css | 1 + dist/static/css/detail-32G8NdXr.css | 1 + dist/static/css/detail-81IdFsv0.css | 1 + dist/static/css/detail-Cvn0KPTM.css | 1 + dist/static/css/detail-Df3WCLs6.css | 1 + dist/static/css/form-GMiGL4tA.css | 1 + dist/static/css/frame-C56j9Uki.css | 1 + dist/static/css/giftChart-D2qWdBvJ.css | 1 + dist/static/css/index-8bVle4F9.css | 1 + dist/static/css/index-B10ObC8o.css | 1 + dist/static/css/index-BHQ6NgOm.css | 1 + dist/static/css/index-Bc0yn4dL.css | 1 + dist/static/css/index-BzsVZoWQ.css | 1 + dist/static/css/index-CD87VaJl.css | 1 + dist/static/css/index-CH7bv2s5.css | 1 + dist/static/css/index-CLPKpxB9.css | 1 + dist/static/css/index-C_awioKq.css | 1 + dist/static/css/index-CapjNHYF.css | 1 + dist/static/css/index-Cmq9fKXp.css | 1 + dist/static/css/index-CsoiJrbg.css | 1 + dist/static/css/index-D9LhvYuO.css | 1 + dist/static/css/index-DHBCqZE_.css | 1 + dist/static/css/index-Do8KbvHI.css | 1 + dist/static/css/index-ETjYluae.css | 1 + dist/static/css/index-ljo_Sx4w.css | 1 + dist/static/css/index-nzVxZIjy.css | 1 + dist/static/css/index-rgWhIoif.css | 1 + dist/static/css/index-vVk6sgu5.css | 7 + dist/static/css/lotteryResults-BmBVMTZg.css | 1 + dist/static/css/member-CqAz6da2.css | 1 + dist/static/css/message-p4uCyPL_.css | 1 + dist/static/css/settingRule-CY_MS_Cx.css | 1 + dist/static/css/statistics-BBUe6U_B.css | 1 + dist/static/css/statistics-BUn2wCLi.css | 1 + dist/static/css/statistics-CEDBzmno.css | 1 + dist/static/css/statistics-DIUkgvpT.css | 1 + dist/static/css/todoVIew-DWGOajtX.css | 1 + dist/static/js/403-CQMSgVWN.js | 1 + dist/static/js/404-BAzhlHxi.js | 1 + dist/static/js/500-b-pxYusG.js | 1 + dist/static/js/ChartBar-dEzbL1OS.js | 1 + ...ue_type_script_setup_true_lang-BE_KgL2n.js | 1 + dist/static/js/ChartLine-DfOKTuMl.js | 1 + ...ue_type_script_setup_true_lang-CDrbWLFd.js | 1 + dist/static/js/ChartRound-BaGFXPML.js | 1 + ...ue_type_script_setup_true_lang-BOvu6zMf.js | 1 + dist/static/js/Financial-DLXohchJ.js | 1 + dist/static/js/Inform-CWr9EIX8.js | 1 + dist/static/js/Results-CDWDzDys.js | 1 + dist/static/js/Results-CTbhkdbm.js | 1 + dist/static/js/Turntable-BPqkB4cj.js | 1 + dist/static/js/Turntable-CE26Uy5Z.js | 1 + ...ue_type_script_setup_true_lang-B_gAyEw_.js | 1 + ...ue_type_script_setup_true_lang-LSWXEPtD.js | 1 + dist/static/js/activities-UkTzwAkp.js | 1 + dist/static/js/add-circle-line-DOJqVT3s.js | 1 + dist/static/js/admin-QtfaJQYK.js | 1 + dist/static/js/adolescent-Dk2B_RUL.js | 1 + dist/static/js/backpack-BEosm8mY.js | 1 + dist/static/js/banUser-CzmElq7T.js | 1 + ...ue_type_script_setup_true_lang-C6NyfrKW.js | 1 + dist/static/js/blindBox-BqHhL4EW.js | 1 + dist/static/js/chart-jUPx5-VX.js | 1 + dist/static/js/columns-Dy-3Rh5O.js | 1 + dist/static/js/dark-DdIoJ4ZY.js | 1 + dist/static/js/decorate-DdTDZW0a.js | 1 + dist/static/js/demo-DDf_ewnH.js | 159 +++++++++ dist/static/js/detail-Bv6_Xq4j.js | 1 + dist/static/js/detail-Bwo4RQCm.js | 1 + dist/static/js/detail-CLPQfK5X.js | 1 + dist/static/js/detail-CoKcup1p.js | 1 + dist/static/js/detail-tHZGhNpK.js | 1 + ...ue_type_script_setup_true_lang-DwYwyiLJ.js | 1 + dist/static/js/donateForm-BGq7Cfw9.js | 1 + ...ue_type_script_setup_true_lang-B3gVeo00.js | 1 + dist/static/js/dynamics-yhcp7wZB.js | 1 + dist/static/js/epTheme-Dbh1KLs6.js | 1 + dist/static/js/expression-DA1ai6Y-.js | 1 + dist/static/js/form-B3TNAD2z.js | 1 + dist/static/js/form-B3yIyDdM.js | 1 + dist/static/js/form-B4TnR98C.js | 1 + dist/static/js/form-B9cDX7R8.js | 1 + dist/static/js/form-B9gWx11w.js | 1 + dist/static/js/form-BHwZ36I5.js | 1 + dist/static/js/form-BNHnUU4s.js | 1 + dist/static/js/form-BQ-nIxbB.js | 1 + dist/static/js/form-BWLS5Ow3.js | 1 + dist/static/js/form-BZzRJel9.js | 1 + dist/static/js/form-BgAFnLOu.js | 1 + dist/static/js/form-BjwbTjSP.js | 1 + dist/static/js/form-BmFIqB-O.js | 1 + dist/static/js/form-BnmMgVAT.js | 1 + dist/static/js/form-BtcpgtET.js | 1 + dist/static/js/form-C0MZn3JX.js | 1 + dist/static/js/form-CA_r-Szo.js | 1 + dist/static/js/form-CPcgeuLy.js | 1 + dist/static/js/form-CU8EqV80.js | 1 + dist/static/js/form-CUkJK272.js | 1 + dist/static/js/form-CXsog6NK.js | 1 + dist/static/js/form-Cc2M_1qD.js | 1 + dist/static/js/form-CdcT1W8H.js | 1 + dist/static/js/form-Cf75gaCf.js | 1 + dist/static/js/form-CkCLPV8z.js | 1 + dist/static/js/form-D02e1km0.js | 1 + dist/static/js/form-D246VTjl.js | 1 + dist/static/js/form-D2R1oXbT.js | 1 + dist/static/js/form-D2isGrIq.js | 1 + dist/static/js/form-DElwMeM_.js | 1 + dist/static/js/form-DJRqznZ-.js | 1 + dist/static/js/form-DKWZQSFz.js | 1 + dist/static/js/form-DL0yqwo3.js | 1 + dist/static/js/form-DUYXNDxS.js | 1 + dist/static/js/form-DXUOuedk.js | 1 + dist/static/js/form-DfpZgn0P.js | 1 + dist/static/js/form-Dm9Jh_9g.js | 1 + dist/static/js/form-Dtdylii9.js | 1 + dist/static/js/form-Dydv0qVC.js | 1 + dist/static/js/form-G3OBPRH4.js | 1 + dist/static/js/form-O2teWlyy.js | 1 + dist/static/js/form-POVW6sL0.js | 1 + dist/static/js/form-PmvzrEjj.js | 1 + dist/static/js/form-Y0OaDech.js | 1 + dist/static/js/form-jJLIPGwx.js | 1 + dist/static/js/form-jK87XWm5.js | 1 + dist/static/js/form-lFr5WlAf.js | 1 + dist/static/js/form-vOGmFg76.js | 1 + dist/static/js/form-yX7sXfaw.js | 1 + dist/static/js/form-ygr4mpDG.js | 1 + ...ue_type_script_setup_true_lang-B-fxyO5i.js | 1 + ...ue_type_script_setup_true_lang-B5Zt0w7a.js | 1 + ...ue_type_script_setup_true_lang-B6o7fI6q.js | 1 + ...ue_type_script_setup_true_lang-BGJZIOyv.js | 1 + ...ue_type_script_setup_true_lang-BIIr4FUi.js | 1 + ...ue_type_script_setup_true_lang-BSrb17y8.js | 1 + ...ue_type_script_setup_true_lang-BTdh2pXv.js | 1 + ...ue_type_script_setup_true_lang-Bbwf4kUJ.js | 1 + ...ue_type_script_setup_true_lang-BiFHMt8F.js | 1 + ...ue_type_script_setup_true_lang-BlmxE0Vv.js | 1 + ...ue_type_script_setup_true_lang-BmTzdXBw.js | 1 + ...ue_type_script_setup_true_lang-BoAlLsu7.js | 1 + ...ue_type_script_setup_true_lang-BuSWUZQX.js | 1 + ...ue_type_script_setup_true_lang-C5Afdf2H.js | 1 + ...ue_type_script_setup_true_lang-CBlDgxjt.js | 1 + ...ue_type_script_setup_true_lang-CD9wd64y.js | 1 + ...ue_type_script_setup_true_lang-CHItqJrU.js | 1 + ...ue_type_script_setup_true_lang-CMV64P_c.js | 1 + ...ue_type_script_setup_true_lang-CPgTaxRJ.js | 1 + ...ue_type_script_setup_true_lang-Cbivz3Ba.js | 1 + ...ue_type_script_setup_true_lang-CczCLyB5.js | 1 + ...ue_type_script_setup_true_lang-CeQi_z5K.js | 1 + ...ue_type_script_setup_true_lang-CgloQVzt.js | 1 + ...ue_type_script_setup_true_lang-Ch3nypJv.js | 1 + ...ue_type_script_setup_true_lang-CiHdOBSE.js | 1 + ...ue_type_script_setup_true_lang-CjBoEdbv.js | 1 + ...ue_type_script_setup_true_lang-CjtOjwY0.js | 1 + ...ue_type_script_setup_true_lang-D50B9usK.js | 1 + ...ue_type_script_setup_true_lang-DBByDkeo.js | 1 + ...ue_type_script_setup_true_lang-DMF49foQ.js | 1 + ...ue_type_script_setup_true_lang-DOzyNmG6.js | 1 + ...ue_type_script_setup_true_lang-DSh6_f4W.js | 1 + ...ue_type_script_setup_true_lang-DWbiX_hV.js | 1 + ...ue_type_script_setup_true_lang-DWkvuK7p.js | 1 + ...ue_type_script_setup_true_lang-DXbOk4OV.js | 1 + ...ue_type_script_setup_true_lang-Dd4jek5-.js | 1 + ...ue_type_script_setup_true_lang-DeQXcNsI.js | 1 + ...ue_type_script_setup_true_lang-De_iThI9.js | 1 + ...ue_type_script_setup_true_lang-DgHrOfP6.js | 1 + ...ue_type_script_setup_true_lang-Di45cE4b.js | 1 + ...ue_type_script_setup_true_lang-DroLasXj.js | 1 + ...ue_type_script_setup_true_lang-DxjpTHt9.js | 1 + ...ue_type_script_setup_true_lang-HMVJcCXl.js | 1 + ...ue_type_script_setup_true_lang-J4dbTMG5.js | 1 + ...ue_type_script_setup_true_lang-hEQYONMW.js | 1 + ...ue_type_script_setup_true_lang-pYH7w3wd.js | 1 + ...ue_type_script_setup_true_lang-rMz_v8aN.js | 1 + ...ue_type_script_setup_true_lang-tv9ZrCTh.js | 1 + dist/static/js/frame-BxU_b3Ma.js | 1 + dist/static/js/fundSetting-IrTyRv5s.js | 1 + ...ue_type_script_setup_true_lang-B0HZiIqN.js | 1 + dist/static/js/gift-BjNBi56Q.js | 1 + dist/static/js/giftChart-CQVvbp7_.js | 1 + dist/static/js/hook--onwngvW.js | 1 + dist/static/js/hook-7T2A1rw1.js | 1 + dist/static/js/hook-B10ePqPp.js | 1 + dist/static/js/hook-B2DKEnNK.js | 1 + dist/static/js/hook-B3EaNBmR.js | 1 + dist/static/js/hook-B8dlrmJp.js | 1 + dist/static/js/hook-BK0v_dXT.js | 1 + dist/static/js/hook-BKhR1TsM.js | 1 + dist/static/js/hook-BNdml3vY.js | 1 + dist/static/js/hook-BON1Jb2T.js | 1 + dist/static/js/hook-BP3Kkray.js | 1 + dist/static/js/hook-BS06gPkL.js | 1 + dist/static/js/hook-BTAMor4e.js | 1 + dist/static/js/hook-B_Z2UEj_.js | 1 + dist/static/js/hook-BhTLTlo8.js | 1 + dist/static/js/hook-BjKxPh4y.js | 1 + dist/static/js/hook-BmZBh1OK.js | 1 + dist/static/js/hook-Bpp-GyDv.js | 1 + dist/static/js/hook-BrKWggcC.js | 1 + dist/static/js/hook-Bs2lJoDG.js | 1 + dist/static/js/hook-By6PN52u.js | 1 + dist/static/js/hook-C-2VKI_q.js | 1 + dist/static/js/hook-C5HQCPQw.js | 1 + dist/static/js/hook-C9PUzCTc.js | 1 + dist/static/js/hook-CB6HQ5Ga.js | 1 + dist/static/js/hook-CGQvpszg.js | 1 + dist/static/js/hook-CH1Mbh-O.js | 1 + dist/static/js/hook-CHHiWwRk.js | 1 + dist/static/js/hook-CJCd_xO4.js | 1 + dist/static/js/hook-CRyIzJir.js | 1 + dist/static/js/hook-CUSi51GM.js | 1 + dist/static/js/hook-Cgu1CRpq.js | 1 + dist/static/js/hook-Ci9wOtdj.js | 1 + dist/static/js/hook-CjIFaqzN.js | 1 + dist/static/js/hook-Cmz51VBR.js | 1 + dist/static/js/hook-CrUUUJJN.js | 1 + dist/static/js/hook-Cu2m7nUk.js | 1 + dist/static/js/hook-Cu44oYHu.js | 1 + dist/static/js/hook-CvzxUpHj.js | 1 + dist/static/js/hook-Cw4f7hxK.js | 1 + dist/static/js/hook-D1E4JEIG.js | 1 + dist/static/js/hook-D3ivzqp-.js | 1 + dist/static/js/hook-D8f-8M1Z.js | 1 + dist/static/js/hook-DB082g8o.js | 1 + dist/static/js/hook-DIGAn0FT.js | 1 + dist/static/js/hook-DKoN1rt2.js | 1 + dist/static/js/hook-DNFDkgGG.js | 1 + dist/static/js/hook-DOMvpZIW.js | 1 + dist/static/js/hook-DSIZoIz5.js | 1 + dist/static/js/hook-D_OHMuaj.js | 1 + dist/static/js/hook-D_VvVAo0.js | 1 + dist/static/js/hook-D_nrE2eA.js | 1 + dist/static/js/hook-D_q42Z95.js | 1 + dist/static/js/hook-DcGH6AK7.js | 1 + dist/static/js/hook-Dh1L7jZK.js | 1 + dist/static/js/hook-Dh7wG1Je.js | 1 + dist/static/js/hook-DkFMTKT0.js | 1 + dist/static/js/hook-DkPCSM4g.js | 1 + dist/static/js/hook-DpvhWbTb.js | 1 + dist/static/js/hook-DvvFNjQd.js | 1 + dist/static/js/hook-HsyWGcg9.js | 1 + dist/static/js/hook-QVaAWfWn.js | 1 + dist/static/js/hook-XPcsHtzL.js | 1 + dist/static/js/hook-_9wHMMzO.js | 1 + dist/static/js/hook-er-0LM8L.js | 1 + dist/static/js/hook-nxxl-JO8.js | 1 + dist/static/js/hook-rCjAVbXe.js | 1 + dist/static/js/hook-sPkJBzMb.js | 1 + dist/static/js/hook-uIZx5iE-.js | 1 + dist/static/js/hook-zL8rQorN.js | 1 + dist/static/js/hooks-ItYVRz1P.js | 1 + dist/static/js/index-2Igmpvq2.js | 1 + dist/static/js/index-5Qt-ItvN.js | 1 + dist/static/js/index-An8nOBwL.js | 1 + dist/static/js/index-B0Qbphhm.js | 1 + dist/static/js/index-B1izZtpc.js | 1 + dist/static/js/index-B2f9qT3k.js | 1 + dist/static/js/index-B2gtU51f.js | 1 + dist/static/js/index-B2uAanJe.js | 1 + dist/static/js/index-B3d3Ju_m.js | 1 + dist/static/js/index-B4RoZEnG.js | 1 + dist/static/js/index-B9NwEcnj.js | 1 + dist/static/js/index-BBYzeYsu.js | 1 + dist/static/js/index-BBgU3-d3.js | 1 + dist/static/js/index-BMZR6rHt.js | 1 + dist/static/js/index-BS7_oOYi.js | 1 + dist/static/js/index-BTQkAWUQ.js | 1 + dist/static/js/index-BYz_twjO.js | 1 + dist/static/js/index-BZ0jE3ZJ.js | 1 + dist/static/js/index-BZ31fMr-.js | 1 + dist/static/js/index-B_sG9_Dh.js | 1 + dist/static/js/index-BeiEvCn3.js | 1 + dist/static/js/index-BfXqD2Z-.js | 1 + dist/static/js/index-BhmpNw57.js | 1 + dist/static/js/index-BqQQwtyC.js | 1 + dist/static/js/index-C0LFxHqz.js | 1 + dist/static/js/index-C2Zdxys-.js | 1 + dist/static/js/index-C4fBkUk7.js | 1 + dist/static/js/index-C4v5SHzn.js | 1 + dist/static/js/index-C9op5LST.js | 1 + dist/static/js/index-CH-QkARt.js | 1 + dist/static/js/index-CJx9PbaV.js | 1 + dist/static/js/index-CKpNtF5d.js | 1 + dist/static/js/index-CRmU-Qpi.js | 159 +++++++++ dist/static/js/index-CSXUiThf.js | 1 + dist/static/js/index-CXEjGqxh.js | 1 + dist/static/js/index-CYcgSOAr.js | 1 + dist/static/js/index-C_Zp3d9X.js | 1 + dist/static/js/index-CcIJUKVI.js | 1 + dist/static/js/index-CcSdTVq6.js | 1 + dist/static/js/index-Cc_0L-Cy.js | 1 + dist/static/js/index-CgFJfKUe.js | 1 + dist/static/js/index-CnAi1QxJ.js | 1 + dist/static/js/index-Ct0b-uer.js | 1 + dist/static/js/index-CteCtjCE.js | 1 + dist/static/js/index-Cu34JgMz.js | 16 + dist/static/js/index-Cvnzik25.js | 1 + dist/static/js/index-CzNuRbgv.js | 1 + dist/static/js/index-D2bTTdRq.js | 1 + dist/static/js/index-D6W_sQFY.js | 1 + dist/static/js/index-D9JFsWL3.js | 1 + dist/static/js/index-DDJtvLE5.js | 1 + dist/static/js/index-DFwZ4E2_.js | 1 + dist/static/js/index-DHVF3Vzf.js | 1 + dist/static/js/index-DKmufMq8.js | 1 + dist/static/js/index-DTSPZmh0.js | 1 + dist/static/js/index-D_y0JdvO.js | 1 + dist/static/js/index-DbM4MTin.js | 1 + dist/static/js/index-Df_DWpRL.js | 1 + dist/static/js/index-Dj6n2UWl.js | 1 + dist/static/js/index-DmN3DadU.js | 1 + dist/static/js/index-DrJ0GYam.js | 1 + dist/static/js/index-DrzyXp6g.js | 1 + dist/static/js/index-DsNLkwti.js | 1 + dist/static/js/index-DwL6utlF.js | 1 + dist/static/js/index-Dxv8yK_D.js | 1 + dist/static/js/index-DyzFDIob.js | 1 + dist/static/js/index-EwQ01Ae3.js | 1 + dist/static/js/index-Gf7kgdIQ.js | 1 + dist/static/js/index-MWQ3JU8_.js | 1 + dist/static/js/index-Oe2eME06.js | 1 + dist/static/js/index-SWkJhadt.js | 1 + dist/static/js/index-WCTES6Qb.js | 1 + dist/static/js/index-ZJH550hN.js | 1 + dist/static/js/index-b2QGhSBk.js | 1 + dist/static/js/index-dYn4OuQ5.js | 1 + dist/static/js/index-hikl-G13.js | 1 + dist/static/js/index-i6U3xXNN.js | 1 + dist/static/js/index-lFBSsz5R.js | 1 + dist/static/js/index-rFDfxNzE.js | 1 + dist/static/js/index-rmU7m9kC.js | 1 + dist/static/js/index-xIaISvWx.js | 1 + ...ue_type_script_setup_true_lang-1k8ze5BO.js | 1 + ...ue_type_script_setup_true_lang-7qz1dg5T.js | 1 + ...ue_type_script_setup_true_lang-8Iz1Oohf.js | 186 +++++++++++ ...ue_type_script_setup_true_lang-B9ljupwd.js | 1 + ...ue_type_script_setup_true_lang-BmT-iFMK.js | 1 + ...ue_type_script_setup_true_lang-Vno3adgp.js | 1 + dist/static/js/invite-ZPZpvkxZ.js | 1 + dist/static/js/level-CSC0PShd.js | 1 + dist/static/js/lineSmall-BouZHAHB.js | 1 + dist/static/js/lotteryResults-DJYXQbLC.js | 1 + dist/static/js/map-BdaFpA2n.js | 1 + ...ue_type_script_setup_true_lang-DTNuIxRb.js | 1 + dist/static/js/mapChart-B1V9FHya.js | 3 + dist/static/js/member-BodyTTmW.js | 1 + dist/static/js/memberList-nyN3j1pZ.js | 1 + ...ue_type_script_setup_true_lang-BIA3qUx3.js | 1 + dist/static/js/mergeForm-CNAcqCV3.js | 1 + ...ue_type_script_setup_true_lang-CBC0VMWv.js | 1 + dist/static/js/message-Dh5idbpX.js | 1 + dist/static/js/newuserList-JxRjYKtu.js | 1 + dist/static/js/password-7JxAT1cY.js | 1 + dist/static/js/password-B_UQtpXk.js | 1 + ...ue_type_script_setup_true_lang-BxW5V9xR.js | 1 + ...ue_type_script_setup_true_lang-CWnP2x5O.js | 1 + dist/static/js/permission-DJnI7MjS.js | 1 + dist/static/js/priceForm-CsjgaOvP.js | 1 + ...ue_type_script_setup_true_lang-CvQgebEz.js | 1 + dist/static/js/priceList-Dq3qn4iM.js | 1 + ...ue_type_script_setup_true_lang-BsZbZjEf.js | 1 + dist/static/js/problemForm-DhCvb7rE.js | 1 + ...ue_type_script_setup_true_lang-CxLYiSAH.js | 1 + dist/static/js/record-ChS6cB6u.js | 1 + dist/static/js/record-Cvl1NPJT.js | 1 + dist/static/js/record-DNcfFVIz.js | 1 + ...ue_type_script_setup_true_lang-Be7Z2604.js | 1 + ...ue_type_script_setup_true_lang-CPIKwi6k.js | 1 + ...ue_type_script_setup_true_lang-DDpuDBM8.js | 1 + dist/static/js/redirect-BPjKVNKz.js | 1 + dist/static/js/reward-B2oumiHJ.js | 1 + ...ue_type_script_setup_true_lang-7Tg4wqPi.js | 1 + dist/static/js/room-3H8Bx0CI.js | 1 + dist/static/js/roomList-vZAfCQ5p.js | 1 + ...ue_type_script_setup_true_lang-C3mqxAhb.js | 1 + dist/static/js/ruleform-JLKhcDlj.js | 1 + ...ue_type_script_setup_true_lang-CpPLnSJP.js | 3 + dist/static/js/searchMore-CRjVM72Y.js | 1 + ...ue_type_script_setup_true_lang-x7g0dVug.js | 1 + dist/static/js/selectUser-Baxbw5aN.js | 1 + ...ue_type_script_setup_true_lang-BPFKGfKn.js | 1 + dist/static/js/settingRule-BOSvsGsW.js | 1 + dist/static/js/settingRule-BcZ5mArG.js | 1 + dist/static/js/settingRule-C5k_xNPq.js | 1 + dist/static/js/settingRule-CtqkQ_ar.js | 1 + ...ue_type_script_setup_true_lang-CJeQQ0t4.js | 1 + ...ue_type_script_setup_true_lang-DO9xMX7n.js | 1 + ...ue_type_script_setup_true_lang-DX7Hd4GC.js | 1 + dist/static/js/sortable.esm-7jaD_3Ar.js | 6 + dist/static/js/statistics-B6YG3tm9.js | 1 + dist/static/js/statistics-CD2s0qhH.js | 1 + dist/static/js/statistics-Cc1WE90b.js | 1 + dist/static/js/statistics-CvEV64pu.js | 1 + dist/static/js/statistics-gtweHPF5.js | 1 + dist/static/js/system-CqYheEHE.js | 1 + dist/static/js/todoVIew-C7ApMOSc.js | 1 + dist/static/js/typeForm-kgA7NaMW.js | 1 + ...ue_type_script_setup_true_lang-DQr3mbVi.js | 1 + dist/static/js/union-ZelC57cN.js | 1 + dist/static/js/xlsx-DaVhO591.js | 95 ++++++ dist/static/png/bg-oEDCYcDF.png | Bin 0 -> 17468 bytes index.html | 2 +- public/platform-config.json | 2 +- src/App.vue | 2 +- src/api/modules/admin.ts | 7 +- src/api/modules/blindBox.ts | 22 ++ src/api/modules/expression.ts | 61 ++++ src/api/modules/hourlyChart.ts | 40 +++ src/api/modules/message.ts | 4 +- src/api/modules/room.ts | 39 +++ src/api/modules/union.ts | 7 + src/components/RichText/index.vue | 4 +- src/components/SearchForm/index.vue | 6 +- src/components/UploadImage/index.vue | 7 +- src/components/exportDialog/index.vue | 7 +- src/utils/http/config.ts | 7 +- src/utils/http/index.ts | 3 - src/views/Activities/RechargeList/hook.tsx | 1 + src/views/Activities/giftPack/hook.tsx | 3 +- src/views/Activities/giftPack/index.vue | 1 + src/views/Activities/goodGift/form.vue | 4 + .../Activities/goodGift/giftPack/form.vue | 74 +++++ .../Activities/goodGift/giftPack/hook.tsx | 175 ++++++++++ .../Activities/goodGift/giftPack/index.vue | 64 ++++ src/views/Activities/goodGift/hook.tsx | 25 +- src/views/Activities/goodGift/index.vue | 6 + src/views/Activities/newcomer/form.vue | 54 +++ src/views/Activities/newcomer/hook.tsx | 188 +++++++++++ src/views/Activities/newcomer/index.vue | 72 ++++ src/views/Activities/newcomer/record.vue | 79 +++++ src/views/Admin/userList/hook.tsx | 44 ++- src/views/Admin/userList/index.vue | 4 + src/views/Admin/userList/password.vue | 30 ++ src/views/Admin/userLog/hook.tsx | 1 + src/views/BlindBox/boxList/hook.tsx | 3 +- src/views/BlindBox/openRecord/hook.tsx | 1 + src/views/BlindBox/turntable/Turntable.vue | 8 + src/views/BlindBox/turntable/form.vue | 56 ++++ src/views/BlindBox/turntable/hook.tsx | 307 ++++++++++++++++++ src/views/BlindBox/turntable/index.vue | 113 +++++++ src/views/BlindBox/turntable/settingRule.vue | 57 ++++ src/views/Decorate/decorateList/hook.tsx | 27 +- src/views/Decorate/decorateUser/hook.tsx | 1 + src/views/Financial/Recharge/hook.tsx | 5 +- src/views/Financial/Withdrawal/hook.tsx | 1 + src/views/Financial/backRecharge/hook.tsx | 5 + src/views/Financial/exchange/hook.tsx | 1 + src/views/Inform/feedback/hook.tsx | 1 + src/views/Inform/reportLIst/hook.tsx | 1 + src/views/Inform/reportType/hook.tsx | 1 + src/views/Invited/incomeList/hook.tsx | 1 + src/views/Invited/inviteList/hook.tsx | 1 + src/views/Level/charmGrade/hook.tsx | 1 + src/views/Level/wealthGrade/form.vue | 2 +- src/views/Level/wealthGrade/hook.tsx | 1 + .../Statistical/acceptGiftsRank/hook.tsx | 1 + src/views/Statistical/consumerRank/hook.tsx | 1 + src/views/Statistical/giftRank/hook.tsx | 1 + src/views/Statistical/giftRecord/hook.tsx | 58 +++- src/views/Statistical/giftRecord/index.vue | 7 +- src/views/Statistical/rechargeRank/hook.tsx | 1 + src/views/Statistical/roomFlowRank/hook.tsx | 1 + src/views/Underage/adolescentList/detail.vue | 16 +- src/views/Underage/adolescentList/form.vue | 10 +- src/views/Underage/adolescentList/hook.tsx | 3 +- src/views/Underage/adolescentType/hook.tsx | 1 + src/views/Version/form.vue | 14 +- src/views/Version/hook.tsx | 14 +- src/views/advertisement/hook.tsx | 1 + .../dailyTasksBox/ActivitiesList/hook.tsx | 1 + .../ActivitiesList/settingRule.vue | 8 +- src/views/dynamics/dynamicsList/hook.tsx | 1 + src/views/dynamics/dynamicsTopic/hook.tsx | 1 + src/views/gift/giftClassif/hook.tsx | 1 + src/views/gift/giftList/hook.tsx | 1 + src/views/message/hook.tsx | 7 +- src/views/message/selectUser.vue | 18 +- src/views/newuser/backpackList/hook.tsx | 69 +++- src/views/newuser/backpackList/index.vue | 8 +- src/views/newuser/disableUser/hook.tsx | 1 + src/views/newuser/newuserList/detail.vue | 113 +++++-- src/views/newuser/newuserList/hook.tsx | 78 ++++- src/views/newuser/newuserList/index.vue | 8 +- src/views/newuser/newuserTag/hook.tsx | 1 + src/views/newuser/robotList/hook.tsx | 1 + src/views/paradise/drawOrlockList/Results.vue | 147 +++++++++ src/views/paradise/drawOrlockList/index.vue | 26 ++ .../paradise/drawOrlockList/statistics.vue | 182 +++++++++++ src/views/paradise/paradiseList/form.vue | 56 ++++ src/views/paradise/paradiseList/hook.tsx | 295 +++++++++++++++++ src/views/paradise/paradiseList/index.vue | 103 ++++++ .../paradise/paradiseList/settingRule.vue | 150 +++++++++ src/views/permission/permissionList/hook.tsx | 1 + src/views/permission/roleList/hook.tsx | 1 + src/views/room/RedEnvelope/form.vue | 22 ++ src/views/room/RedEnvelope/hook.tsx | 229 +++++++++++++ src/views/room/RedEnvelope/index.vue | 58 ++++ src/views/room/expression/TypeList/form.vue | 28 ++ src/views/room/expression/TypeList/index.vue | 156 +++++++++ src/views/room/expression/form.vue | 77 +++++ src/views/room/expression/hook.tsx | 199 ++++++++++++ src/views/room/expression/index.vue | 68 ++++ src/views/room/hourlyChart/hook.tsx | 198 +++++++++++ src/views/room/hourlyChart/index.vue | 57 ++++ src/views/room/hourlyChart/reward.vue | 151 +++++++++ src/views/room/hourlyChart/ruleform.vue | 289 +++++++++++++++++ src/views/room/movieRoom/demo.vue | 2 +- src/views/room/movieRoom/hook.tsx | 88 ++++- src/views/room/movieRoom/index.vue | 7 + src/views/room/roomBackground/hook.tsx | 1 + src/views/room/roomExamine/hook.tsx | 5 +- src/views/room/roomHeadlines/hook.tsx | 1 + .../room/roomList/Turntable/Turntable.vue | 26 ++ .../roomList/Turntable/lotteryResults.vue | 186 +++++++++++ .../room/roomList/Turntable/statistics.vue | 214 ++++++++++++ src/views/room/roomList/XunLeHui/Results.vue | 143 ++++++++ src/views/room/roomList/XunLeHui/index.vue | 26 ++ .../room/roomList/XunLeHui/statistics.vue | 178 ++++++++++ src/views/room/roomList/form.vue | 11 +- src/views/room/roomList/hook.tsx | 141 +++++++- src/views/room/roomList/index.vue | 18 +- src/views/room/roomLog/hook.tsx | 1 + src/views/room/roomRelation/hook.tsx | 1 + src/views/room/roomRules/hook.tsx | 1 + src/views/room/roomSubsidy/hook.tsx | 1 + src/views/room/roomTag/hook.tsx | 1 + src/views/room/roomType/hook.tsx | 1 + src/views/system/Tasks/hook.tsx | 1 + src/views/system/helpCenter/hook.tsx | 1 + src/views/system/private/index.vue | 4 +- src/views/system/rechargeRules/hook.tsx | 1 + src/views/system/singlePage/hook.tsx | 1 + src/views/system/themeManage/form.vue | 32 +- src/views/system/themeManage/hook.tsx | 11 +- src/views/system/themeManage/index.vue | 8 +- src/views/union/unionList/hook.tsx | 26 +- src/views/union/unionList/index.vue | 9 +- src/views/union/unionList/roomList.vue | 118 ++----- src/views/union/unionRule/hook.tsx | 1 + src/views/union/unionSubsidy/hook.tsx | 1 + src/views/welcome/modules/statistics.vue | 18 +- vite.config.ts | 21 +- 550 files changed, 6692 insertions(+), 274 deletions(-) create mode 100644 dist/favicon.ico create mode 100644 dist/index.html create mode 100644 dist/logo.svg create mode 100644 dist/platform-config.json create mode 100644 dist/static/css/Results-C4S277kf.css create mode 100644 dist/static/css/Results-CIaCk6ID.css create mode 100644 dist/static/css/chart-DmHqcQdF.css create mode 100644 dist/static/css/demo-DoABRfIw.css create mode 100644 dist/static/css/detail-32G8NdXr.css create mode 100644 dist/static/css/detail-81IdFsv0.css create mode 100644 dist/static/css/detail-Cvn0KPTM.css create mode 100644 dist/static/css/detail-Df3WCLs6.css create mode 100644 dist/static/css/form-GMiGL4tA.css create mode 100644 dist/static/css/frame-C56j9Uki.css create mode 100644 dist/static/css/giftChart-D2qWdBvJ.css create mode 100644 dist/static/css/index-8bVle4F9.css create mode 100644 dist/static/css/index-B10ObC8o.css create mode 100644 dist/static/css/index-BHQ6NgOm.css create mode 100644 dist/static/css/index-Bc0yn4dL.css create mode 100644 dist/static/css/index-BzsVZoWQ.css create mode 100644 dist/static/css/index-CD87VaJl.css create mode 100644 dist/static/css/index-CH7bv2s5.css create mode 100644 dist/static/css/index-CLPKpxB9.css create mode 100644 dist/static/css/index-C_awioKq.css create mode 100644 dist/static/css/index-CapjNHYF.css create mode 100644 dist/static/css/index-Cmq9fKXp.css create mode 100644 dist/static/css/index-CsoiJrbg.css create mode 100644 dist/static/css/index-D9LhvYuO.css create mode 100644 dist/static/css/index-DHBCqZE_.css create mode 100644 dist/static/css/index-Do8KbvHI.css create mode 100644 dist/static/css/index-ETjYluae.css create mode 100644 dist/static/css/index-ljo_Sx4w.css create mode 100644 dist/static/css/index-nzVxZIjy.css create mode 100644 dist/static/css/index-rgWhIoif.css create mode 100644 dist/static/css/index-vVk6sgu5.css create mode 100644 dist/static/css/lotteryResults-BmBVMTZg.css create mode 100644 dist/static/css/member-CqAz6da2.css create mode 100644 dist/static/css/message-p4uCyPL_.css create mode 100644 dist/static/css/settingRule-CY_MS_Cx.css create mode 100644 dist/static/css/statistics-BBUe6U_B.css create mode 100644 dist/static/css/statistics-BUn2wCLi.css create mode 100644 dist/static/css/statistics-CEDBzmno.css create mode 100644 dist/static/css/statistics-DIUkgvpT.css create mode 100644 dist/static/css/todoVIew-DWGOajtX.css create mode 100644 dist/static/js/403-CQMSgVWN.js create mode 100644 dist/static/js/404-BAzhlHxi.js create mode 100644 dist/static/js/500-b-pxYusG.js create mode 100644 dist/static/js/ChartBar-dEzbL1OS.js create mode 100644 dist/static/js/ChartBar.vue_vue_type_script_setup_true_lang-BE_KgL2n.js create mode 100644 dist/static/js/ChartLine-DfOKTuMl.js create mode 100644 dist/static/js/ChartLine.vue_vue_type_script_setup_true_lang-CDrbWLFd.js create mode 100644 dist/static/js/ChartRound-BaGFXPML.js create mode 100644 dist/static/js/ChartRound.vue_vue_type_script_setup_true_lang-BOvu6zMf.js create mode 100644 dist/static/js/Financial-DLXohchJ.js create mode 100644 dist/static/js/Inform-CWr9EIX8.js create mode 100644 dist/static/js/Results-CDWDzDys.js create mode 100644 dist/static/js/Results-CTbhkdbm.js create mode 100644 dist/static/js/Turntable-BPqkB4cj.js create mode 100644 dist/static/js/Turntable-CE26Uy5Z.js create mode 100644 dist/static/js/Turntable.vue_vue_type_script_setup_true_lang-B_gAyEw_.js create mode 100644 dist/static/js/Turntable.vue_vue_type_script_setup_true_lang-LSWXEPtD.js create mode 100644 dist/static/js/activities-UkTzwAkp.js create mode 100644 dist/static/js/add-circle-line-DOJqVT3s.js create mode 100644 dist/static/js/admin-QtfaJQYK.js create mode 100644 dist/static/js/adolescent-Dk2B_RUL.js create mode 100644 dist/static/js/backpack-BEosm8mY.js create mode 100644 dist/static/js/banUser-CzmElq7T.js create mode 100644 dist/static/js/banUser.vue_vue_type_script_setup_true_lang-C6NyfrKW.js create mode 100644 dist/static/js/blindBox-BqHhL4EW.js create mode 100644 dist/static/js/chart-jUPx5-VX.js create mode 100644 dist/static/js/columns-Dy-3Rh5O.js create mode 100644 dist/static/js/dark-DdIoJ4ZY.js create mode 100644 dist/static/js/decorate-DdTDZW0a.js create mode 100644 dist/static/js/demo-DDf_ewnH.js create mode 100644 dist/static/js/detail-Bv6_Xq4j.js create mode 100644 dist/static/js/detail-Bwo4RQCm.js create mode 100644 dist/static/js/detail-CLPQfK5X.js create mode 100644 dist/static/js/detail-CoKcup1p.js create mode 100644 dist/static/js/detail-tHZGhNpK.js create mode 100644 dist/static/js/detail.vue_vue_type_script_setup_true_lang-DwYwyiLJ.js create mode 100644 dist/static/js/donateForm-BGq7Cfw9.js create mode 100644 dist/static/js/donateForm.vue_vue_type_script_setup_true_lang-B3gVeo00.js create mode 100644 dist/static/js/dynamics-yhcp7wZB.js create mode 100644 dist/static/js/epTheme-Dbh1KLs6.js create mode 100644 dist/static/js/expression-DA1ai6Y-.js create mode 100644 dist/static/js/form-B3TNAD2z.js create mode 100644 dist/static/js/form-B3yIyDdM.js create mode 100644 dist/static/js/form-B4TnR98C.js create mode 100644 dist/static/js/form-B9cDX7R8.js create mode 100644 dist/static/js/form-B9gWx11w.js create mode 100644 dist/static/js/form-BHwZ36I5.js create mode 100644 dist/static/js/form-BNHnUU4s.js create mode 100644 dist/static/js/form-BQ-nIxbB.js create mode 100644 dist/static/js/form-BWLS5Ow3.js create mode 100644 dist/static/js/form-BZzRJel9.js create mode 100644 dist/static/js/form-BgAFnLOu.js create mode 100644 dist/static/js/form-BjwbTjSP.js create mode 100644 dist/static/js/form-BmFIqB-O.js create mode 100644 dist/static/js/form-BnmMgVAT.js create mode 100644 dist/static/js/form-BtcpgtET.js create mode 100644 dist/static/js/form-C0MZn3JX.js create mode 100644 dist/static/js/form-CA_r-Szo.js create mode 100644 dist/static/js/form-CPcgeuLy.js create mode 100644 dist/static/js/form-CU8EqV80.js create mode 100644 dist/static/js/form-CUkJK272.js create mode 100644 dist/static/js/form-CXsog6NK.js create mode 100644 dist/static/js/form-Cc2M_1qD.js create mode 100644 dist/static/js/form-CdcT1W8H.js create mode 100644 dist/static/js/form-Cf75gaCf.js create mode 100644 dist/static/js/form-CkCLPV8z.js create mode 100644 dist/static/js/form-D02e1km0.js create mode 100644 dist/static/js/form-D246VTjl.js create mode 100644 dist/static/js/form-D2R1oXbT.js create mode 100644 dist/static/js/form-D2isGrIq.js create mode 100644 dist/static/js/form-DElwMeM_.js create mode 100644 dist/static/js/form-DJRqznZ-.js create mode 100644 dist/static/js/form-DKWZQSFz.js create mode 100644 dist/static/js/form-DL0yqwo3.js create mode 100644 dist/static/js/form-DUYXNDxS.js create mode 100644 dist/static/js/form-DXUOuedk.js create mode 100644 dist/static/js/form-DfpZgn0P.js create mode 100644 dist/static/js/form-Dm9Jh_9g.js create mode 100644 dist/static/js/form-Dtdylii9.js create mode 100644 dist/static/js/form-Dydv0qVC.js create mode 100644 dist/static/js/form-G3OBPRH4.js create mode 100644 dist/static/js/form-O2teWlyy.js create mode 100644 dist/static/js/form-POVW6sL0.js create mode 100644 dist/static/js/form-PmvzrEjj.js create mode 100644 dist/static/js/form-Y0OaDech.js create mode 100644 dist/static/js/form-jJLIPGwx.js create mode 100644 dist/static/js/form-jK87XWm5.js create mode 100644 dist/static/js/form-lFr5WlAf.js create mode 100644 dist/static/js/form-vOGmFg76.js create mode 100644 dist/static/js/form-yX7sXfaw.js create mode 100644 dist/static/js/form-ygr4mpDG.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-B-fxyO5i.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-B5Zt0w7a.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-B6o7fI6q.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-BGJZIOyv.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-BIIr4FUi.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-BSrb17y8.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-BTdh2pXv.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-Bbwf4kUJ.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-BiFHMt8F.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-BlmxE0Vv.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-BmTzdXBw.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-BoAlLsu7.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-BuSWUZQX.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-C5Afdf2H.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-CBlDgxjt.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-CD9wd64y.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-CHItqJrU.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-CMV64P_c.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-CPgTaxRJ.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-Cbivz3Ba.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-CczCLyB5.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-CeQi_z5K.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-CgloQVzt.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-Ch3nypJv.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-CiHdOBSE.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-CjBoEdbv.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-CjtOjwY0.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-D50B9usK.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-DBByDkeo.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-DMF49foQ.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-DOzyNmG6.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-DSh6_f4W.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-DWbiX_hV.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-DWkvuK7p.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-DXbOk4OV.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-Dd4jek5-.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-DeQXcNsI.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-De_iThI9.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-DgHrOfP6.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-Di45cE4b.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-DroLasXj.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-DxjpTHt9.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-HMVJcCXl.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-J4dbTMG5.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-hEQYONMW.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-pYH7w3wd.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-rMz_v8aN.js create mode 100644 dist/static/js/form.vue_vue_type_script_setup_true_lang-tv9ZrCTh.js create mode 100644 dist/static/js/frame-BxU_b3Ma.js create mode 100644 dist/static/js/fundSetting-IrTyRv5s.js create mode 100644 dist/static/js/fundSetting.vue_vue_type_script_setup_true_lang-B0HZiIqN.js create mode 100644 dist/static/js/gift-BjNBi56Q.js create mode 100644 dist/static/js/giftChart-CQVvbp7_.js create mode 100644 dist/static/js/hook--onwngvW.js create mode 100644 dist/static/js/hook-7T2A1rw1.js create mode 100644 dist/static/js/hook-B10ePqPp.js create mode 100644 dist/static/js/hook-B2DKEnNK.js create mode 100644 dist/static/js/hook-B3EaNBmR.js create mode 100644 dist/static/js/hook-B8dlrmJp.js create mode 100644 dist/static/js/hook-BK0v_dXT.js create mode 100644 dist/static/js/hook-BKhR1TsM.js create mode 100644 dist/static/js/hook-BNdml3vY.js create mode 100644 dist/static/js/hook-BON1Jb2T.js create mode 100644 dist/static/js/hook-BP3Kkray.js create mode 100644 dist/static/js/hook-BS06gPkL.js create mode 100644 dist/static/js/hook-BTAMor4e.js create mode 100644 dist/static/js/hook-B_Z2UEj_.js create mode 100644 dist/static/js/hook-BhTLTlo8.js create mode 100644 dist/static/js/hook-BjKxPh4y.js create mode 100644 dist/static/js/hook-BmZBh1OK.js create mode 100644 dist/static/js/hook-Bpp-GyDv.js create mode 100644 dist/static/js/hook-BrKWggcC.js create mode 100644 dist/static/js/hook-Bs2lJoDG.js create mode 100644 dist/static/js/hook-By6PN52u.js create mode 100644 dist/static/js/hook-C-2VKI_q.js create mode 100644 dist/static/js/hook-C5HQCPQw.js create mode 100644 dist/static/js/hook-C9PUzCTc.js create mode 100644 dist/static/js/hook-CB6HQ5Ga.js create mode 100644 dist/static/js/hook-CGQvpszg.js create mode 100644 dist/static/js/hook-CH1Mbh-O.js create mode 100644 dist/static/js/hook-CHHiWwRk.js create mode 100644 dist/static/js/hook-CJCd_xO4.js create mode 100644 dist/static/js/hook-CRyIzJir.js create mode 100644 dist/static/js/hook-CUSi51GM.js create mode 100644 dist/static/js/hook-Cgu1CRpq.js create mode 100644 dist/static/js/hook-Ci9wOtdj.js create mode 100644 dist/static/js/hook-CjIFaqzN.js create mode 100644 dist/static/js/hook-Cmz51VBR.js create mode 100644 dist/static/js/hook-CrUUUJJN.js create mode 100644 dist/static/js/hook-Cu2m7nUk.js create mode 100644 dist/static/js/hook-Cu44oYHu.js create mode 100644 dist/static/js/hook-CvzxUpHj.js create mode 100644 dist/static/js/hook-Cw4f7hxK.js create mode 100644 dist/static/js/hook-D1E4JEIG.js create mode 100644 dist/static/js/hook-D3ivzqp-.js create mode 100644 dist/static/js/hook-D8f-8M1Z.js create mode 100644 dist/static/js/hook-DB082g8o.js create mode 100644 dist/static/js/hook-DIGAn0FT.js create mode 100644 dist/static/js/hook-DKoN1rt2.js create mode 100644 dist/static/js/hook-DNFDkgGG.js create mode 100644 dist/static/js/hook-DOMvpZIW.js create mode 100644 dist/static/js/hook-DSIZoIz5.js create mode 100644 dist/static/js/hook-D_OHMuaj.js create mode 100644 dist/static/js/hook-D_VvVAo0.js create mode 100644 dist/static/js/hook-D_nrE2eA.js create mode 100644 dist/static/js/hook-D_q42Z95.js create mode 100644 dist/static/js/hook-DcGH6AK7.js create mode 100644 dist/static/js/hook-Dh1L7jZK.js create mode 100644 dist/static/js/hook-Dh7wG1Je.js create mode 100644 dist/static/js/hook-DkFMTKT0.js create mode 100644 dist/static/js/hook-DkPCSM4g.js create mode 100644 dist/static/js/hook-DpvhWbTb.js create mode 100644 dist/static/js/hook-DvvFNjQd.js create mode 100644 dist/static/js/hook-HsyWGcg9.js create mode 100644 dist/static/js/hook-QVaAWfWn.js create mode 100644 dist/static/js/hook-XPcsHtzL.js create mode 100644 dist/static/js/hook-_9wHMMzO.js create mode 100644 dist/static/js/hook-er-0LM8L.js create mode 100644 dist/static/js/hook-nxxl-JO8.js create mode 100644 dist/static/js/hook-rCjAVbXe.js create mode 100644 dist/static/js/hook-sPkJBzMb.js create mode 100644 dist/static/js/hook-uIZx5iE-.js create mode 100644 dist/static/js/hook-zL8rQorN.js create mode 100644 dist/static/js/hooks-ItYVRz1P.js create mode 100644 dist/static/js/index-2Igmpvq2.js create mode 100644 dist/static/js/index-5Qt-ItvN.js create mode 100644 dist/static/js/index-An8nOBwL.js create mode 100644 dist/static/js/index-B0Qbphhm.js create mode 100644 dist/static/js/index-B1izZtpc.js create mode 100644 dist/static/js/index-B2f9qT3k.js create mode 100644 dist/static/js/index-B2gtU51f.js create mode 100644 dist/static/js/index-B2uAanJe.js create mode 100644 dist/static/js/index-B3d3Ju_m.js create mode 100644 dist/static/js/index-B4RoZEnG.js create mode 100644 dist/static/js/index-B9NwEcnj.js create mode 100644 dist/static/js/index-BBYzeYsu.js create mode 100644 dist/static/js/index-BBgU3-d3.js create mode 100644 dist/static/js/index-BMZR6rHt.js create mode 100644 dist/static/js/index-BS7_oOYi.js create mode 100644 dist/static/js/index-BTQkAWUQ.js create mode 100644 dist/static/js/index-BYz_twjO.js create mode 100644 dist/static/js/index-BZ0jE3ZJ.js create mode 100644 dist/static/js/index-BZ31fMr-.js create mode 100644 dist/static/js/index-B_sG9_Dh.js create mode 100644 dist/static/js/index-BeiEvCn3.js create mode 100644 dist/static/js/index-BfXqD2Z-.js create mode 100644 dist/static/js/index-BhmpNw57.js create mode 100644 dist/static/js/index-BqQQwtyC.js create mode 100644 dist/static/js/index-C0LFxHqz.js create mode 100644 dist/static/js/index-C2Zdxys-.js create mode 100644 dist/static/js/index-C4fBkUk7.js create mode 100644 dist/static/js/index-C4v5SHzn.js create mode 100644 dist/static/js/index-C9op5LST.js create mode 100644 dist/static/js/index-CH-QkARt.js create mode 100644 dist/static/js/index-CJx9PbaV.js create mode 100644 dist/static/js/index-CKpNtF5d.js create mode 100644 dist/static/js/index-CRmU-Qpi.js create mode 100644 dist/static/js/index-CSXUiThf.js create mode 100644 dist/static/js/index-CXEjGqxh.js create mode 100644 dist/static/js/index-CYcgSOAr.js create mode 100644 dist/static/js/index-C_Zp3d9X.js create mode 100644 dist/static/js/index-CcIJUKVI.js create mode 100644 dist/static/js/index-CcSdTVq6.js create mode 100644 dist/static/js/index-Cc_0L-Cy.js create mode 100644 dist/static/js/index-CgFJfKUe.js create mode 100644 dist/static/js/index-CnAi1QxJ.js create mode 100644 dist/static/js/index-Ct0b-uer.js create mode 100644 dist/static/js/index-CteCtjCE.js create mode 100644 dist/static/js/index-Cu34JgMz.js create mode 100644 dist/static/js/index-Cvnzik25.js create mode 100644 dist/static/js/index-CzNuRbgv.js create mode 100644 dist/static/js/index-D2bTTdRq.js create mode 100644 dist/static/js/index-D6W_sQFY.js create mode 100644 dist/static/js/index-D9JFsWL3.js create mode 100644 dist/static/js/index-DDJtvLE5.js create mode 100644 dist/static/js/index-DFwZ4E2_.js create mode 100644 dist/static/js/index-DHVF3Vzf.js create mode 100644 dist/static/js/index-DKmufMq8.js create mode 100644 dist/static/js/index-DTSPZmh0.js create mode 100644 dist/static/js/index-D_y0JdvO.js create mode 100644 dist/static/js/index-DbM4MTin.js create mode 100644 dist/static/js/index-Df_DWpRL.js create mode 100644 dist/static/js/index-Dj6n2UWl.js create mode 100644 dist/static/js/index-DmN3DadU.js create mode 100644 dist/static/js/index-DrJ0GYam.js create mode 100644 dist/static/js/index-DrzyXp6g.js create mode 100644 dist/static/js/index-DsNLkwti.js create mode 100644 dist/static/js/index-DwL6utlF.js create mode 100644 dist/static/js/index-Dxv8yK_D.js create mode 100644 dist/static/js/index-DyzFDIob.js create mode 100644 dist/static/js/index-EwQ01Ae3.js create mode 100644 dist/static/js/index-Gf7kgdIQ.js create mode 100644 dist/static/js/index-MWQ3JU8_.js create mode 100644 dist/static/js/index-Oe2eME06.js create mode 100644 dist/static/js/index-SWkJhadt.js create mode 100644 dist/static/js/index-WCTES6Qb.js create mode 100644 dist/static/js/index-ZJH550hN.js create mode 100644 dist/static/js/index-b2QGhSBk.js create mode 100644 dist/static/js/index-dYn4OuQ5.js create mode 100644 dist/static/js/index-hikl-G13.js create mode 100644 dist/static/js/index-i6U3xXNN.js create mode 100644 dist/static/js/index-lFBSsz5R.js create mode 100644 dist/static/js/index-rFDfxNzE.js create mode 100644 dist/static/js/index-rmU7m9kC.js create mode 100644 dist/static/js/index-xIaISvWx.js create mode 100644 dist/static/js/index.vue_vue_type_script_setup_true_lang-1k8ze5BO.js create mode 100644 dist/static/js/index.vue_vue_type_script_setup_true_lang-7qz1dg5T.js create mode 100644 dist/static/js/index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js create mode 100644 dist/static/js/index.vue_vue_type_script_setup_true_lang-B9ljupwd.js create mode 100644 dist/static/js/index.vue_vue_type_script_setup_true_lang-BmT-iFMK.js create mode 100644 dist/static/js/index.vue_vue_type_script_setup_true_lang-Vno3adgp.js create mode 100644 dist/static/js/invite-ZPZpvkxZ.js create mode 100644 dist/static/js/level-CSC0PShd.js create mode 100644 dist/static/js/lineSmall-BouZHAHB.js create mode 100644 dist/static/js/lotteryResults-DJYXQbLC.js create mode 100644 dist/static/js/map-BdaFpA2n.js create mode 100644 dist/static/js/map.vue_vue_type_script_setup_true_lang-DTNuIxRb.js create mode 100644 dist/static/js/mapChart-B1V9FHya.js create mode 100644 dist/static/js/member-BodyTTmW.js create mode 100644 dist/static/js/memberList-nyN3j1pZ.js create mode 100644 dist/static/js/memberList.vue_vue_type_script_setup_true_lang-BIA3qUx3.js create mode 100644 dist/static/js/mergeForm-CNAcqCV3.js create mode 100644 dist/static/js/mergeForm.vue_vue_type_script_setup_true_lang-CBC0VMWv.js create mode 100644 dist/static/js/message-Dh5idbpX.js create mode 100644 dist/static/js/newuserList-JxRjYKtu.js create mode 100644 dist/static/js/password-7JxAT1cY.js create mode 100644 dist/static/js/password-B_UQtpXk.js create mode 100644 dist/static/js/password.vue_vue_type_script_setup_true_lang-BxW5V9xR.js create mode 100644 dist/static/js/password.vue_vue_type_script_setup_true_lang-CWnP2x5O.js create mode 100644 dist/static/js/permission-DJnI7MjS.js create mode 100644 dist/static/js/priceForm-CsjgaOvP.js create mode 100644 dist/static/js/priceForm.vue_vue_type_script_setup_true_lang-CvQgebEz.js create mode 100644 dist/static/js/priceList-Dq3qn4iM.js create mode 100644 dist/static/js/priceList.vue_vue_type_script_setup_true_lang-BsZbZjEf.js create mode 100644 dist/static/js/problemForm-DhCvb7rE.js create mode 100644 dist/static/js/problemForm.vue_vue_type_script_setup_true_lang-CxLYiSAH.js create mode 100644 dist/static/js/record-ChS6cB6u.js create mode 100644 dist/static/js/record-Cvl1NPJT.js create mode 100644 dist/static/js/record-DNcfFVIz.js create mode 100644 dist/static/js/record.vue_vue_type_script_setup_true_lang-Be7Z2604.js create mode 100644 dist/static/js/record.vue_vue_type_script_setup_true_lang-CPIKwi6k.js create mode 100644 dist/static/js/record.vue_vue_type_script_setup_true_lang-DDpuDBM8.js create mode 100644 dist/static/js/redirect-BPjKVNKz.js create mode 100644 dist/static/js/reward-B2oumiHJ.js create mode 100644 dist/static/js/reward.vue_vue_type_script_setup_true_lang-7Tg4wqPi.js create mode 100644 dist/static/js/room-3H8Bx0CI.js create mode 100644 dist/static/js/roomList-vZAfCQ5p.js create mode 100644 dist/static/js/roomList.vue_vue_type_script_setup_true_lang-C3mqxAhb.js create mode 100644 dist/static/js/ruleform-JLKhcDlj.js create mode 100644 dist/static/js/ruleform.vue_vue_type_script_setup_true_lang-CpPLnSJP.js create mode 100644 dist/static/js/searchMore-CRjVM72Y.js create mode 100644 dist/static/js/searchMore.vue_vue_type_script_setup_true_lang-x7g0dVug.js create mode 100644 dist/static/js/selectUser-Baxbw5aN.js create mode 100644 dist/static/js/selectUser.vue_vue_type_script_setup_true_lang-BPFKGfKn.js create mode 100644 dist/static/js/settingRule-BOSvsGsW.js create mode 100644 dist/static/js/settingRule-BcZ5mArG.js create mode 100644 dist/static/js/settingRule-C5k_xNPq.js create mode 100644 dist/static/js/settingRule-CtqkQ_ar.js create mode 100644 dist/static/js/settingRule.vue_vue_type_script_setup_true_lang-CJeQQ0t4.js create mode 100644 dist/static/js/settingRule.vue_vue_type_script_setup_true_lang-DO9xMX7n.js create mode 100644 dist/static/js/settingRule.vue_vue_type_script_setup_true_lang-DX7Hd4GC.js create mode 100644 dist/static/js/sortable.esm-7jaD_3Ar.js create mode 100644 dist/static/js/statistics-B6YG3tm9.js create mode 100644 dist/static/js/statistics-CD2s0qhH.js create mode 100644 dist/static/js/statistics-Cc1WE90b.js create mode 100644 dist/static/js/statistics-CvEV64pu.js create mode 100644 dist/static/js/statistics-gtweHPF5.js create mode 100644 dist/static/js/system-CqYheEHE.js create mode 100644 dist/static/js/todoVIew-C7ApMOSc.js create mode 100644 dist/static/js/typeForm-kgA7NaMW.js create mode 100644 dist/static/js/typeForm.vue_vue_type_script_setup_true_lang-DQr3mbVi.js create mode 100644 dist/static/js/union-ZelC57cN.js create mode 100644 dist/static/js/xlsx-DaVhO591.js create mode 100644 dist/static/png/bg-oEDCYcDF.png create mode 100644 src/api/modules/expression.ts create mode 100644 src/api/modules/hourlyChart.ts create mode 100644 src/views/Activities/goodGift/giftPack/form.vue create mode 100644 src/views/Activities/goodGift/giftPack/hook.tsx create mode 100644 src/views/Activities/goodGift/giftPack/index.vue create mode 100644 src/views/Activities/newcomer/form.vue create mode 100644 src/views/Activities/newcomer/hook.tsx create mode 100644 src/views/Activities/newcomer/index.vue create mode 100644 src/views/Activities/newcomer/record.vue create mode 100644 src/views/Admin/userList/password.vue create mode 100644 src/views/BlindBox/turntable/Turntable.vue create mode 100644 src/views/BlindBox/turntable/form.vue create mode 100644 src/views/BlindBox/turntable/hook.tsx create mode 100644 src/views/BlindBox/turntable/index.vue create mode 100644 src/views/BlindBox/turntable/settingRule.vue create mode 100644 src/views/paradise/drawOrlockList/Results.vue create mode 100644 src/views/paradise/drawOrlockList/index.vue create mode 100644 src/views/paradise/drawOrlockList/statistics.vue create mode 100644 src/views/paradise/paradiseList/form.vue create mode 100644 src/views/paradise/paradiseList/hook.tsx create mode 100644 src/views/paradise/paradiseList/index.vue create mode 100644 src/views/paradise/paradiseList/settingRule.vue create mode 100644 src/views/room/RedEnvelope/form.vue create mode 100644 src/views/room/RedEnvelope/hook.tsx create mode 100644 src/views/room/RedEnvelope/index.vue create mode 100644 src/views/room/expression/TypeList/form.vue create mode 100644 src/views/room/expression/TypeList/index.vue create mode 100644 src/views/room/expression/form.vue create mode 100644 src/views/room/expression/hook.tsx create mode 100644 src/views/room/expression/index.vue create mode 100644 src/views/room/hourlyChart/hook.tsx create mode 100644 src/views/room/hourlyChart/index.vue create mode 100644 src/views/room/hourlyChart/reward.vue create mode 100644 src/views/room/hourlyChart/ruleform.vue create mode 100644 src/views/room/roomList/Turntable/Turntable.vue create mode 100644 src/views/room/roomList/Turntable/lotteryResults.vue create mode 100644 src/views/room/roomList/Turntable/statistics.vue create mode 100644 src/views/room/roomList/XunLeHui/Results.vue create mode 100644 src/views/room/roomList/XunLeHui/index.vue create mode 100644 src/views/room/roomList/XunLeHui/statistics.vue diff --git a/dist/favicon.ico b/dist/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..bef93d4b01212f57cecb50658e8c9518be13e607 GIT binary patch literal 1270 zcmVPx(ut`KgR9Hu~mu*a2RT#(r=eE7z0C^Jz8!DR##z|jzZ413cjgEl9q1$4Zb4*!4 zXjK@R=~U)K+?GvQvStqBzAS3?L86&PjfvBRDVv}SWNy0Q3kb4JH)snHXnD*f0=Mn$ z3o0k+m;3ym|MR=gIX&lGh6N72)v@-pEvi*6?L;@NDA2N>7h=g4A{MmK2d#^rozi|Cv!*48t1H)C9mNv+tmC;++D_EL^x z@6DML`&inAwjP%aAoDmWjfGk^7AizYYd}|fEhcPA`8fl0Qe(!@*lvqzXzLum3B0NY zKr}HtXI86T`CkF_7H2a9)ykSOTC=xu$!dTs|HMZ)H{F?^!Ji2QB4`JETJPnWqWEm| z$u0Lrdp>6G3mWD9{~5qkO|fon>^OluT0d(XA3lu1&KHrFSAepzM?C5gQJq=K?+*qM zumc9`*a6VA)t^b^m0kGb(yue&&6}%{m8F+TLz)V|00yh$K@g7mD}Ez)3>SJnnhWzh zk8Rr;k(jttk`jC>WC4tIw8)}BbepS}9xTq9G#ii2NIEe1@cSiUC7_Fm)MBFF-h~u3t82qKn z@7hXQnv7?+H-Y20`8^Bx)T~hz$|d;#7%Yyr0c?;HFJE#NeP164wy?2jQzde8@;r15 zXfSD1jo!%~0J+wYY>pHi{wkzQ9>T>RgYPf5r)%+8Rh_R5M>-*$@0JEU0E||9DUoEq zmnaiez3A_<1$}!_5EC1R#+P36(GsZHtl_r?0;nKjZ_2jceH4A?z6c3G6z$$^LqtTR z_cZ*eB&E)vWxve^JUU>o*tY|$Nv=x#=spY%TnrhYzWxQIrrzSKpLUlBy6_KW0gN@y zGGgR&)8ROR`-eJAO#BrxK-0_naeZ`*%sOD@Lb~#ZJb=}yCL-}z^%${Xm+<>HJ3=lV z7k2}8?%XGhfr|GJ${Q5sKcz`bG-#Y?}Xx~7y$8mU}mhK7Mwdfe;TIVyb>k%twUPc zs(^E&;FR%s>CER04+@xw6S^HzZ9QG3RDwUU%Cn4H6O(gRBZR1WsWT z(pkTpFeCuE#FM@5TAH424p^PB*9En*CXnV|1Bj+4zMERj5i$VE1Y;Q>Br%|a#2-y} gnzdo?2K(3i4UB<+FiBYjEC2ui07*qoM6N<$f(X(_s{jB1 literal 0 HcmV?d00001 diff --git a/dist/index.html b/dist/index.html new file mode 100644 index 0000000..15bca26 --- /dev/null +++ b/dist/index.html @@ -0,0 +1,26 @@ + + + + + + + + + 羽声语音管理后台 + + + + + + + +
+ +
+
+ + + \ No newline at end of file diff --git a/dist/logo.svg b/dist/logo.svg new file mode 100644 index 0000000..a63d2b1 --- /dev/null +++ b/dist/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/platform-config.json b/dist/platform-config.json new file mode 100644 index 0000000..40617ec --- /dev/null +++ b/dist/platform-config.json @@ -0,0 +1,26 @@ +{ + "Version": "5.9.0", + "Title": "羽声语音管理后台", + "FixedHeader": true, + "HiddenSideBar": false, + "MultiTagsCache": false, + "KeepAlive": true, + "Layout": "vertical", + "Theme": "light", + "DarkMode": false, + "OverallStyle": "light", + "Grey": false, + "Weak": false, + "HideTabs": false, + "HideFooter": false, + "Stretch": false, + "SidebarStatus": true, + "EpThemeColor": "#409EFF", + "ShowLogo": true, + "ShowModel": "smart", + "MenuArrowIconNoTransition": false, + "CachingAsyncRoutes": true, + "TooltipEffect": "light", + "ResponsiveStorageNameSpace": "responsive-", + "MenuSearchHistory": 6 +} \ No newline at end of file diff --git a/dist/static/css/Results-C4S277kf.css b/dist/static/css/Results-C4S277kf.css new file mode 100644 index 0000000..1c60cea --- /dev/null +++ b/dist/static/css/Results-C4S277kf.css @@ -0,0 +1 @@ +.content[data-v-929d185e]{background-color:#fff}.content[data-v-929d185e],.content-flex[data-v-929d185e]{padding:20px;width:100%}.content-flex[data-v-929d185e]{align-items:center;background-color:#f5f5f5;display:inline-flex;justify-content:center;margin-bottom:20px;margin-top:20px;text-align:center} diff --git a/dist/static/css/Results-CIaCk6ID.css b/dist/static/css/Results-CIaCk6ID.css new file mode 100644 index 0000000..143d325 --- /dev/null +++ b/dist/static/css/Results-CIaCk6ID.css @@ -0,0 +1 @@ +.content[data-v-b5e5334a]{background-color:#fff}.content[data-v-b5e5334a],.content-flex[data-v-b5e5334a]{padding:20px;width:100%}.content-flex[data-v-b5e5334a]{align-items:center;background-color:#f5f5f5;display:inline-flex;justify-content:center;margin-bottom:20px;margin-top:20px;text-align:center} diff --git a/dist/static/css/chart-DmHqcQdF.css b/dist/static/css/chart-DmHqcQdF.css new file mode 100644 index 0000000..dfd50fc --- /dev/null +++ b/dist/static/css/chart-DmHqcQdF.css @@ -0,0 +1 @@ +[data-v-a89f1416] .el-card{--el-card-border-color:none}[data-v-a89f1416] .el-card .el-progress--line{width:85%}[data-v-a89f1416] .el-card .el-progress-bar__innerText{font-size:15px}[data-v-a89f1416] .el-card .el-scrollbar__bar{display:none}[data-v-a89f1416] .el-card .el-timeline-item{margin:0 6px}.main-content[data-v-a89f1416]{margin:20px 20px 0!important} diff --git a/dist/static/css/demo-DoABRfIw.css b/dist/static/css/demo-DoABRfIw.css new file mode 100644 index 0000000..79cf5fa --- /dev/null +++ b/dist/static/css/demo-DoABRfIw.css @@ -0,0 +1 @@ +[data-v-b32a5d21]{box-sizing:border-box;margin:0;padding:0}body[data-v-b32a5d21]{background:linear-gradient(135deg,#1a2a6c,#2c3e50);color:#fff;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;min-height:100vh;padding:20px}.container[data-v-b32a5d21]{margin:0 auto;max-width:1400px}header[data-v-b32a5d21]{background:#0000004d;border-radius:15px;box-shadow:0 10px 20px #0000004d;margin-bottom:30px;padding:20px 0;text-align:center}h1[data-v-b32a5d21]{font-size:2.5rem;margin-bottom:10px;text-shadow:0 2px 4px rgba(0,0,0,.5)}.subtitle[data-v-b32a5d21]{font-size:1.1rem;margin:0 auto;max-width:600px;opacity:.8}.app-container[data-v-b32a5d21]{display:grid;gap:25px;grid-template-columns:1fr 3fr}.control-panel[data-v-b32a5d21]{background:#1e1e3cb3;border-radius:15px;box-shadow:0 8px 16px #0000004d;display:flex;flex-direction:column;gap:20px;padding:25px}.panel-title[data-v-b32a5d21]{border-bottom:2px solid #3498db;color:#3498db;font-size:1.4rem;margin-bottom:15px;padding-bottom:10px}.form-group[data-v-b32a5d21]{margin-bottom:20px}label[data-v-b32a5d21]{display:block;font-weight:500;margin-bottom:8px}input[data-v-b32a5d21],select[data-v-b32a5d21]{background:#0000004d;border:2px solid #3498db;border-radius:8px;color:#fff;font-size:1rem;padding:12px 15px;width:100%}input[data-v-b32a5d21]:focus,select[data-v-b32a5d21]:focus{border-color:#1abc9c;box-shadow:0 0 0 3px #1abc9c4d;outline:none}.btn[data-v-b32a5d21]{align-items:center;border:none;border-radius:8px;cursor:pointer;display:flex;font-size:1rem;font-weight:600;gap:8px;justify-content:center;padding:12px 20px;transition:all .3s ease}.btn-primary[data-v-b32a5d21]{background:linear-gradient(90deg,#3498db,#1abc9c);color:#fff}.btn-danger[data-v-b32a5d21]{background:linear-gradient(90deg,#e74c3c,#c0392b);color:#fff}.btn-secondary[data-v-b32a5d21]{background:#ffffff1a;border:1px solid hsla(0,0%,100%,.2);color:#fff}.btn[data-v-b32a5d21]:hover{box-shadow:0 5px 15px #0000004d;transform:translateY(-2px)}.btn[data-v-b32a5d21]:active{transform:translateY(0)}.btn[data-v-b32a5d21]:disabled{box-shadow:none;cursor:not-allowed;opacity:.6;transform:none}.video-container[data-v-b32a5d21]{background:#1e1e3cb3;border-radius:15px;box-shadow:0 8px 16px #0000004d;min-height:500px;padding:25px;width:100%}.video-grid[data-v-b32a5d21]{margin-top:20px}.video-item[data-v-b32a5d21]{background:#0006;border-radius:12px;box-shadow:0 5px 15px #0000004d;overflow:hidden;position:relative;transition:transform .3s ease}.video-item[data-v-b32a5d21]:hover{transform:translateY(-5px)}.video-header[data-v-b32a5d21]{background:#00000080;justify-content:space-between;padding:12px}.video-header[data-v-b32a5d21],.video-player[data-v-b32a5d21]{align-items:center;display:flex}.video-player[data-v-b32a5d21]{background:#000;height:440px;justify-content:center;width:100%}.video-player video[data-v-b32a5d21]{height:100%;-o-object-fit:contain;object-fit:contain;width:100%}.video-actions[data-v-b32a5d21]{display:flex;gap:10px;padding:12px}.status-indicator[data-v-b32a5d21]{align-items:center;display:flex;font-size:.9rem;gap:8px}.indicator[data-v-b32a5d21]{border-radius:50%;display:inline-block;height:12px;width:12px}.connected[data-v-b32a5d21]{background:#2ecc71;box-shadow:0 0 8px #2ecc71}.disconnected[data-v-b32a5d21]{background:#e74c3c}.no-videos[data-v-b32a5d21]{align-items:center;display:flex;flex-direction:column;gap:20px;height:300px;justify-content:center;text-align:center}.no-videos i[data-v-b32a5d21]{font-size:4rem;opacity:.3}.stats[data-v-b32a5d21]{background:#0000004d;border-radius:10px;margin-top:20px;padding:15px}.stat-item[data-v-b32a5d21]{background:#ffffff1a;border-radius:8px;padding:10px}.stat-value[data-v-b32a5d21]{color:#1abc9c;font-size:1.8rem;font-weight:700;margin:5px 0}.stat-label[data-v-b32a5d21]{font-size:.9rem;opacity:.8}@media (max-width:900px){.app-container[data-v-b32a5d21]{grid-template-columns:1fr}.video-grid[data-v-b32a5d21]{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}@media (max-width:600px){.stats[data-v-b32a5d21],.video-grid[data-v-b32a5d21]{grid-template-columns:1fr}}.loading[data-v-b32a5d21]{align-items:center;display:flex;height:300px;justify-content:center}.spinner[data-v-b32a5d21]{animation:spin-b32a5d21 1s ease-in-out infinite;border:5px solid hsla(0,0%,100%,.3);border-radius:50%;border-top-color:#3498db;height:50px;width:50px}@keyframes spin-b32a5d21{to{transform:rotate(1turn)}}.fullscreen[data-v-b32a5d21]{align-items:center;background:#000;display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:1000}.fullscreen video[data-v-b32a5d21]{max-height:100%;max-width:100%}.close-fullscreen[data-v-b32a5d21]{background:#00000080;border:none;border-radius:50%;color:#fff;cursor:pointer;font-size:1.5rem;height:50px;position:absolute;right:20px;top:20px;width:50px} diff --git a/dist/static/css/detail-32G8NdXr.css b/dist/static/css/detail-32G8NdXr.css new file mode 100644 index 0000000..0c735de --- /dev/null +++ b/dist/static/css/detail-32G8NdXr.css @@ -0,0 +1 @@ +.viewPage[data-v-b83f3838]{padding:20px 0}.viewPage .title[data-v-b83f3838]{border-left:2px solid #409eff;padding:0 5px}.viewPage .footer[data-v-b83f3838]{align-items:center;display:inline-flex;justify-content:flex-end;width:100%}.viewPage .footer div[data-v-b83f3838]{padding-right:20px}.viewPage .line[data-v-b83f3838]{margin:20px 0}.viewPage .commentlist[data-v-b83f3838]{align-items:flex-start;border-bottom:1px solid #f5f5f5;display:inline-flex;padding:20px 0;width:100%}.viewPage .commentlist .avatar[data-v-b83f3838]{margin-right:15px}.viewPage .commentlist .content[data-v-b83f3838]{width:100%}.viewPage .commentlist .content .nickname[data-v-b83f3838]{color:#409eff;margin-bottom:5px}.viewPage .commentlist .content .replay[data-v-b83f3838]{background-color:#f5f5f5;border-radius:5px;margin:10px 0;padding:15px;width:100%}.viewPage .commentlist .content .replay .replayItem[data-v-b83f3838]{margin-bottom:10px}.viewPage .flex-container[data-v-b83f3838]{display:flex;flex-wrap:wrap}.viewPage .flex-item[data-v-b83f3838]{background-color:#fff;border-radius:14rpx;box-sizing:border-box;flex:0 0 calc(33% - 10px);margin:5px;text-align:center} diff --git a/dist/static/css/detail-81IdFsv0.css b/dist/static/css/detail-81IdFsv0.css new file mode 100644 index 0000000..961323d --- /dev/null +++ b/dist/static/css/detail-81IdFsv0.css @@ -0,0 +1 @@ +.viewPage[data-v-9012caef]{padding:20px 0}.viewPage .basicView[data-v-9012caef]{align-items:center;display:inline-flex;justify-content:space-around;width:100%}.viewPage .basicView .left-view[data-v-9012caef]{padding:20px}.albums-container[data-v-9012caef]{display:grid;gap:25px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));padding:15px}.album-card[data-v-9012caef]{background:#fff;border:1px solid #eaeef5;border-radius:12px;box-shadow:0 5px 15px #0000000d;cursor:pointer;overflow:hidden;transition:all .3s ease}.album-card[data-v-9012caef]:hover{border-color:#c0e0ff;box-shadow:0 8px 25px #409eff33;transform:translateY(-5px)}.album-cover[data-v-9012caef]{border-bottom:1px solid #eaeef5;height:180px;-o-object-fit:cover;object-fit:cover;width:100%}.album-info[data-v-9012caef]{padding:15px}.album-title[data-v-9012caef]{color:#2c3e50;font-size:17px;font-weight:700;margin-bottom:8px}.album-stats[data-v-9012caef]{color:#7f8c9a;display:flex;font-size:14px;justify-content:space-between}.album-stats i[data-v-9012caef]{color:#409eff;margin-right:5px}.empty-album[data-v-9012caef]{color:#7f8c9a;padding:50px;text-align:center}.empty-album i[data-v-9012caef]{color:#e0e6ed;font-size:60px;margin-bottom:20px}.empty-album h3[data-v-9012caef]{color:#5a6a85;font-size:22px;margin-bottom:10px}.empty-album p[data-v-9012caef]{font-size:16px} diff --git a/dist/static/css/detail-Cvn0KPTM.css b/dist/static/css/detail-Cvn0KPTM.css new file mode 100644 index 0000000..835d09e --- /dev/null +++ b/dist/static/css/detail-Cvn0KPTM.css @@ -0,0 +1 @@ +.content[data-v-54ebc0a3]{margin:24px 0} diff --git a/dist/static/css/detail-Df3WCLs6.css b/dist/static/css/detail-Df3WCLs6.css new file mode 100644 index 0000000..688c320 --- /dev/null +++ b/dist/static/css/detail-Df3WCLs6.css @@ -0,0 +1 @@ +.viewPage[data-v-dd6228aa]{padding:20px 0}.viewPage .basicView[data-v-dd6228aa]{align-items:center;display:inline-flex;justify-content:space-around;width:100%}.viewPage .basicView .left-view[data-v-dd6228aa]{padding:20px} diff --git a/dist/static/css/form-GMiGL4tA.css b/dist/static/css/form-GMiGL4tA.css new file mode 100644 index 0000000..4e62a4e --- /dev/null +++ b/dist/static/css/form-GMiGL4tA.css @@ -0,0 +1 @@ +.flex-container[data-v-e7fdaaef]{display:flex;flex-wrap:wrap;width:100%}.flex-item[data-v-e7fdaaef]{background-color:#fff;border-radius:14rpx;box-sizing:border-box;flex:0 0 calc(25% - 10px);margin:5px;text-align:center} diff --git a/dist/static/css/frame-C56j9Uki.css b/dist/static/css/frame-C56j9Uki.css new file mode 100644 index 0000000..8daa402 --- /dev/null +++ b/dist/static/css/frame-C56j9Uki.css @@ -0,0 +1 @@ +.frame[data-v-fe57e7fd]{inset:0;position:absolute}.frame .frame-iframe[data-v-fe57e7fd]{border:0;box-sizing:border-box;height:100%;overflow:hidden;width:100%}.main-content[data-v-fe57e7fd]{margin:2px 0 0!important} diff --git a/dist/static/css/giftChart-D2qWdBvJ.css b/dist/static/css/giftChart-D2qWdBvJ.css new file mode 100644 index 0000000..3cb6675 --- /dev/null +++ b/dist/static/css/giftChart-D2qWdBvJ.css @@ -0,0 +1 @@ +[data-v-eddf4f45] .el-card{--el-card-border-color:none}[data-v-eddf4f45] .el-card .el-progress--line{width:85%}[data-v-eddf4f45] .el-card .el-progress-bar__innerText{font-size:15px}[data-v-eddf4f45] .el-card .el-scrollbar__bar{display:none}[data-v-eddf4f45] .el-card .el-timeline-item{margin:0 6px}.main-content[data-v-eddf4f45]{margin:20px 20px 0!important} diff --git a/dist/static/css/index-8bVle4F9.css b/dist/static/css/index-8bVle4F9.css new file mode 100644 index 0000000..a8b5158 --- /dev/null +++ b/dist/static/css/index-8bVle4F9.css @@ -0,0 +1 @@ +[data-v-647e2d22] .el-card{--el-card-border-color:none}[data-v-647e2d22] .el-card .el-progress--line{width:85%}[data-v-647e2d22] .el-card .el-progress-bar__innerText{font-size:15px}[data-v-647e2d22] .el-card .el-scrollbar__bar{display:none}[data-v-647e2d22] .el-card .el-timeline-item{margin:0 6px}.main-content[data-v-647e2d22]{margin:20px 20px 0!important} diff --git a/dist/static/css/index-B10ObC8o.css b/dist/static/css/index-B10ObC8o.css new file mode 100644 index 0000000..7f8ee51 --- /dev/null +++ b/dist/static/css/index-B10ObC8o.css @@ -0,0 +1 @@ +.content[data-v-1bf4be40],.content-flex[data-v-1bf4be40]{background-color:#fff;padding:20px;width:100%}.content-flex[data-v-1bf4be40]{align-items:center;display:inline-flex;justify-content:space-between;text-align:center} diff --git a/dist/static/css/index-BHQ6NgOm.css b/dist/static/css/index-BHQ6NgOm.css new file mode 100644 index 0000000..0e43716 --- /dev/null +++ b/dist/static/css/index-BHQ6NgOm.css @@ -0,0 +1 @@ +@charset "UTF-8";#nprogress{pointer-events:none}#nprogress .bar{background:#29d;height:2px;left:0;position:fixed;top:0;width:100%;z-index:1031}#nprogress .peg{box-shadow:0 0 10px #29d,0 0 5px #29d;display:block;height:100%;opacity:1;position:absolute;right:0;transform:rotate(3deg) translateY(-4px);width:100px}#nprogress .spinner{display:block;position:fixed;right:15px;top:15px;z-index:1031}#nprogress .spinner-icon{animation:nprogress-spinner .4s linear infinite;border-color:#29d transparent transparent #29d;border-radius:50%;border-style:solid;border-width:2px;box-sizing:border-box;height:18px;width:18px}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@keyframes nprogress-spinner{0%{transform:rotate(0)}to{transform:rotate(1turn)}}*,:after,:before{border:0 solid;box-sizing:border-box}#app,html{height:100%;width:100%}html{box-sizing:border-box;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}body{font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,微软雅黑,Arial,sans-serif;height:100%;line-height:inherit;margin:0;width:100%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;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{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{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]{outline-offset:-2px}::-webkit-file-upload-button{font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,object,svg,video{display:block}img,video{height:auto;max-width:100%}[hidden]{display:none}.dark{color-scheme:dark}label{font-weight:700}*,:after,:before{box-sizing:inherit}a:active,a:focus{outline:none}a,a:focus,a:hover{color:inherit;cursor:pointer;text-decoration:none}div:focus{outline:none}.clearfix:after{clear:both;content:" ";display:block;font-size:0;height:0;visibility:hidden}html[data-theme=light]{--pure-theme-sub-menu-active-text:#000000d9;--pure-theme-menu-bg:#fff;--pure-theme-menu-hover:#f6f6f6;--pure-theme-sub-menu-bg:#fff;--pure-theme-menu-text:rgba(0,0,0,.6);--pure-theme-sidebar-logo:#fff;--pure-theme-menu-title-hover:#000;--pure-theme-menu-active-before:#4091f7}html[data-theme=default]{--pure-theme-sub-menu-active-text:#fff;--pure-theme-menu-bg:#001529;--pure-theme-menu-hover:rgba(64,145,247,.15);--pure-theme-sub-menu-bg:#0f0303;--pure-theme-menu-text:hsla(0,0%,100%,.65);--pure-theme-sidebar-logo:#002140;--pure-theme-menu-title-hover:#fff;--pure-theme-menu-active-before:#4091f7}html[data-theme=saucePurple]{--pure-theme-sub-menu-active-text:#fff;--pure-theme-menu-bg:#130824;--pure-theme-menu-hover:rgba(105,58,201,.15);--pure-theme-sub-menu-bg:#000;--pure-theme-menu-text:#7a80b4;--pure-theme-sidebar-logo:#1f0c38;--pure-theme-menu-title-hover:#fff;--pure-theme-menu-active-before:#693ac9}html[data-theme=pink]{--pure-theme-sub-menu-active-text:#fff;--pure-theme-menu-bg:#28081a;--pure-theme-menu-hover:rgba(216,68,147,.15);--pure-theme-sub-menu-bg:#000;--pure-theme-menu-text:#7a80b4;--pure-theme-sidebar-logo:#3f0d29;--pure-theme-menu-title-hover:#fff;--pure-theme-menu-active-before:#d84493}html[data-theme=dusk]{--pure-theme-sub-menu-active-text:#fff;--pure-theme-menu-bg:#2a0608;--pure-theme-menu-hover:rgba(225,60,57,.15);--pure-theme-sub-menu-bg:#000;--pure-theme-menu-text:hsla(0,0%,100%,.651);--pure-theme-sidebar-logo:#42090c;--pure-theme-menu-title-hover:#fff;--pure-theme-menu-active-before:#e13c39}html[data-theme=volcano]{--pure-theme-sub-menu-active-text:#fff;--pure-theme-menu-bg:#2b0e05;--pure-theme-menu-hover:rgba(232,95,51,.15);--pure-theme-sub-menu-bg:#0f0603;--pure-theme-menu-text:hsla(0,0%,100%,.65);--pure-theme-sidebar-logo:#441708;--pure-theme-menu-title-hover:#fff;--pure-theme-menu-active-before:#e85f33}html[data-theme=mingQing]{--pure-theme-sub-menu-active-text:#fff;--pure-theme-menu-bg:#032121;--pure-theme-menu-hover:rgba(89,191,193,.15);--pure-theme-sub-menu-bg:#000;--pure-theme-menu-text:#7a80b4;--pure-theme-sidebar-logo:#053434;--pure-theme-menu-title-hover:#fff;--pure-theme-menu-active-before:#59bfc1}html[data-theme=auroraGreen]{--pure-theme-sub-menu-active-text:#fff;--pure-theme-menu-bg:#0b1e15;--pure-theme-menu-hover:rgba(96,172,128,.15);--pure-theme-sub-menu-bg:#000;--pure-theme-menu-text:#7a80b4;--pure-theme-sidebar-logo:#112f21;--pure-theme-menu-title-hover:#fff;--pure-theme-menu-active-before:#60ac80}.fade-enter-active,.fade-leave-active{transition:opacity .28s}.fade-enter,.fade-leave-active{opacity:0}.fade-transform-enter-active,.fade-transform-leave-active{transition:all .5s}.fade-transform-enter-from{opacity:0;transform:translate(-30px)}.fade-transform-leave-to{opacity:0;transform:translate(30px)}.breadcrumb-enter-active{transition:all .4s}.breadcrumb-leave-active{position:absolute;transition:all .3s}.breadcrumb-enter-from,.breadcrumb-leave-active{opacity:0;transform:translate(20px)}.outer-most .el-collapse-transition-enter-active,.outer-most .el-collapse-transition-leave-active{transition:all .2s ease-in-out!important}.horizontal-collapse-transition{transition:var(--pure-transition-duration) all!important}.el-form-item__label{font-weight:700}.el-breadcrumb__inner,.el-breadcrumb__inner a{font-weight:400!important}.el-dropdown-menu{padding:0!important}.is-dark{z-index:9999!important}.reset-margin [class*=el-icon]+span{margin-left:2px!important}.pure-popper{padding:0!important}#nprogress .bar{background-color:var(--el-color-primary)!important}#nprogress .peg{box-shadow:0 0 10px var(--el-color-primary),0 0 5px var(--el-color-primary)!important}#nprogress .spinner-icon{border-left-color:var(--el-color-primary);border-top-color:var(--el-color-primary)}.pure-dialog .el-dialog__header.show-close{padding-right:16px}.pure-dialog .el-dialog__headerbtn{height:24px;right:12px;top:16px;width:24px}.pure-dialog .pure-dialog-svg{color:var(--el-color-info)}.pure-dialog .el-dialog__footer{padding-top:0}.el-dialog__headerbtn:hover .el-dialog__close,.el-message-box__headerbtn:hover .el-dialog__close{color:var(--el-color-info)!important}.el-icon.el-dialog__close,.el-icon.el-drawer__close,.el-icon.el-message-box__close,.el-icon.el-notification__closeBtn,.el-icon.el-tour__close,.el-upload-list__item.is-ready .el-icon.el-icon--close{border-radius:4px;height:24px;outline:none;transition:background-color .2s,color .2s;width:24px}.el-icon.el-dialog__close:hover,.el-icon.el-drawer__close:hover,.el-icon.el-message-box__close:hover,.el-icon.el-notification__closeBtn:hover,.el-icon.el-tour__close:hover,.el-upload-list__item.is-ready .el-icon.el-icon--close:hover{background-color:#0000000f;color:#000000e0!important;text-decoration:none}.el-icon.el-dialog__close:hover .pure-dialog-svg,.el-icon.el-drawer__close:hover .pure-dialog-svg,.el-icon.el-message-box__close:hover .pure-dialog-svg,.el-icon.el-notification__closeBtn:hover .pure-dialog-svg,.el-icon.el-tour__close:hover .pure-dialog-svg,.el-upload-list__item.is-ready .el-icon.el-icon--close:hover .pure-dialog-svg{color:#000000e0!important}.pure-message{background:#fff!important;border-width:0!important;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d!important}.pure-message .el-message__content{background-image:none!important;color:#000000d9!important;pointer-events:all!important}.pure-message .el-message__closeBtn{border-radius:4px;outline:none;transition:background-color .2s,color .2s}.pure-message .el-message__closeBtn:hover{background-color:#0000000f}@media screen and (width > 760px) and (width <= 940px){.pure-search-dialog .el-input__inner{font-size:12px}}@media screen and (width <= 470px){.pure-search-dialog .el-input__inner{font-size:12px}}.pure-search-dialog .el-dialog__header{display:none}.pure-search-dialog .el-input__inner{font-size:1.2em}.pure-search-dialog .el-dialog__footer{box-shadow:0 -1px #e0e3e8,0 -3px 6px #45629b1f;margin:auto -16px -16px;padding:10px 20px;width:calc(100% + 32px)}.pure-scrollbar{scrollbar-color:#dddee0 transparent;scrollbar-width:thin}.pure-scrollbar ::-webkit-scrollbar{width:6px}.pure-scrollbar ::-webkit-scrollbar-track{background:transparent}.pure-scrollbar ::-webkit-scrollbar-thumb{background-color:#dddee0;border-radius:4px}.pure-scrollbar ::-webkit-scrollbar-thumb:hover{background:#c7c9cb}@media screen and (width >= 150px) and (width <= 420px){body[layout=vertical] .app-main-nofixed-header{overflow-y:hidden}}@media screen and (width >= 420px){body[layout=vertical] .app-main-nofixed-header{overflow:hidden}}body[layout=vertical] .el-popper.pure-scrollbar{overflow:hidden}body[layout=vertical] .pure-scrollbar{max-height:calc(100vh - 125px);overflow:hidden auto}body[layout=vertical] .sub-menu-icon{font-size:18px;margin-right:5px}body[layout=vertical] .sub-menu-icon svg{height:18px;width:18px}body[layout=vertical] .fullscreen-icon,body[layout=vertical] .set-icon{align-items:center;cursor:pointer;display:flex;height:48px;justify-content:center;width:40px}body[layout=vertical] .main-container{background:#f0f2f5;height:100vh;margin-left:210px;min-height:100%;position:relative;transition:margin-left var(--pure-transition-duration)}body[layout=vertical] .main-container .el-scrollbar__wrap{height:100%;overflow:auto}body[layout=vertical] .fixed-header{position:fixed;right:0;top:0;transition:width var(--pure-transition-duration);width:calc(100% - 210px);z-index:998}body[layout=vertical] .main-hidden{margin-left:0!important}body[layout=vertical] .main-hidden .fixed-header{width:100%!important}body[layout=vertical] .main-hidden .fixed-header+.app-main{padding-top:37px!important}body[layout=vertical] .sidebar-container{background:var(--pure-theme-menu-bg)!important;border-right:1px solid var(--pure-border-color);bottom:0;font-size:0;height:100%;left:0;overflow:visible;position:fixed;top:0;transition:width var(--pure-transition-duration);width:210px!important;z-index:1001}body[layout=vertical] .sidebar-container .scrollbar-wrapper{overflow-x:hidden!important}body[layout=vertical] .sidebar-container .el-scrollbar__bar.is-vertical{right:0}body[layout=vertical] .sidebar-container.has-logo .el-scrollbar.pc{height:calc(100% - 92px)}body[layout=vertical] .sidebar-container.has-logo .el-scrollbar.mobile{height:calc(100% - 48px)}body[layout=vertical] .sidebar-container.no-logo .el-scrollbar.pc{height:calc(100% - 44px)}body[layout=vertical] .sidebar-container.no-logo .el-scrollbar.mobile{height:100%}body[layout=vertical] .sidebar-container .is-horizontal{display:none}body[layout=vertical] .sidebar-container a{display:flex;flex-wrap:wrap;width:100%}body[layout=vertical] .sidebar-container .el-menu{background-color:transparent!important;border:none;height:100%}body[layout=vertical] .sidebar-container .el-menu-item,body[layout=vertical] .sidebar-container .el-sub-menu__title{background-color:transparent!important;color:var(--pure-theme-menu-text);height:50px}body[layout=vertical] .sidebar-container .el-menu-item:hover,body[layout=vertical] .sidebar-container .el-sub-menu__title:hover{color:var(--pure-theme-menu-title-hover)!important}body[layout=vertical] .sidebar-container .el-menu-item div,body[layout=vertical] .sidebar-container .el-menu-item span,body[layout=vertical] .sidebar-container .el-sub-menu__title div,body[layout=vertical] .sidebar-container .el-sub-menu__title span{height:50px;line-height:50px}body[layout=vertical] .sidebar-container .el-sub-menu__title:hover,body[layout=vertical] .sidebar-container .submenu-title-noDropdown:hover{background-color:transparent}body[layout=vertical] .sidebar-container .is-active,body[layout=vertical] .sidebar-container .is-active.submenu-title-noDropdown,body[layout=vertical] .sidebar-container .is-active.submenu-title-noDropdown i,body[layout=vertical] .sidebar-container .is-active>.el-sub-menu__title,body[layout=vertical] .sidebar-container .is-active>.el-sub-menu__title i{color:var(--pure-theme-sub-menu-active-text)!important}body[layout=vertical] .sidebar-container .is-active{transition:color .3s}body[layout=vertical] .sidebar-container .el-menu-item.is-active.nest-menu>*{color:#fff;z-index:1}body[layout=vertical] .sidebar-container .el-menu-item.is-active.nest-menu:before{background:var(--el-color-primary)!important;border-radius:3px;clear:both;content:"";inset:0 8px;margin:4px 0;position:absolute}body[layout=vertical] .sidebar-container .el-menu .el-menu--inline .el-sub-menu__title,body[layout=vertical] .sidebar-container .el-sub-menu .el-menu-item{background-color:var(--pure-theme-sub-menu-bg)!important;font-size:14px;min-width:210px!important}body[layout=vertical] .sidebar-container .el-menu--collapse .is-active.outer-most.el-sub-menu>.el-sub-menu__title:before{background-color:var(--pure-theme-menu-active-before);clear:both;content:"";height:100%;left:0;position:absolute;top:0;transform:translateY(0);transition:all var(--pure-transition-duration) ease-in-out;width:2px}body[layout=vertical] .sidebar-container .el-menu--collapse .outer-most.el-sub-menu>.el-sub-menu__title:before{content:"";display:block;height:0;position:absolute;top:50%;transform:translateY(-50%);width:3px}body[layout=vertical] .sidebar-container .is-active.submenu-title-noDropdown.outer-most>*{color:#fff;z-index:1}body[layout=vertical] .sidebar-container .is-active.submenu-title-noDropdown.outer-most:before{background:var(--el-color-primary)!important;border-radius:3px;clear:both;content:"";inset:0 8px;margin:4px 0;position:absolute}body[layout=vertical] .el-menu--vertical .el-menu--popup{background-color:var(--pure-theme-sub-menu-bg)!important}body[layout=vertical] .el-menu--vertical .el-menu--popup .el-menu-item span{font-size:14px}body[layout=vertical] .el-menu--vertical>.el-menu i,body[layout=vertical] .el-menu--vertical>.el-menu svg{margin-right:5px}body[layout=vertical] .el-menu--vertical .is-active.submenu-title-noDropdown,body[layout=vertical] .el-menu--vertical .is-active.submenu-title-noDropdown i,body[layout=vertical] .el-menu--vertical .is-active>.el-sub-menu__title,body[layout=vertical] .el-menu--vertical .is-active>.el-sub-menu__title i{color:var(--pure-theme-sub-menu-active-text)!important}body[layout=vertical] .el-menu--vertical .el-menu .el-sub-menu__title{background-color:var(--pure-theme-sub-menu-bg)!important;font-size:14px;min-width:210px!important}body[layout=vertical] .el-menu--vertical .el-menu-item,body[layout=vertical] .el-menu--vertical .el-sub-menu__title{background-color:var(--pure-theme-sub-menu-bg);color:var(--pure-theme-menu-text);height:50px;line-height:50px}body[layout=vertical] .el-menu--vertical .el-menu-item:hover,body[layout=vertical] .el-menu--vertical .el-sub-menu__title:hover{color:var(--pure-theme-menu-title-hover)!important}body[layout=vertical] .el-menu--vertical .is-active{color:var(--pure-theme-sub-menu-active-text)!important;transition:color .3s}body[layout=vertical] .el-menu--vertical .el-menu-item.is-active.nest-menu>*{color:#fff;z-index:1}body[layout=vertical] .el-menu--vertical .el-menu-item.is-active.nest-menu:before{background:var(--el-color-primary)!important;border-radius:3px;clear:both;content:"";inset:0 8px;position:absolute}body[layout=vertical] .el-menu--vertical .el-menu-item .iconfont,body[layout=vertical] .el-menu--vertical .el-sub-menu .iconfont{font-size:18px}body[layout=vertical] .el-menu--vertical .el-menu-item .el-menu-tooltip__trigger,body[layout=vertical] .el-menu--vertical .el-sub-menu .el-menu-tooltip__trigger{padding:0;width:54px}body[layout=vertical] .el-menu--horizontal>.el-sub-menu .el-sub-menu__icon-arrow{margin-top:0;position:static!important}body[layout=vertical] .el-menu--horizontal a>.is-active.submenu-title-noDropdown{border-bottom:2px solid var(--el-menu-active-color)}body[layout=vertical] .el-menu--horizontal .el-menu--popup{background-color:var(--pure-theme-sub-menu-bg)!important}body[layout=vertical] .el-menu--horizontal .el-menu--popup a>.is-active.submenu-title-noDropdown{border-bottom:none}body[layout=vertical] .el-menu--horizontal .el-menu--popup .el-menu-item{background-color:var(--pure-theme-sub-menu-bg);color:var(--pure-theme-menu-text)}body[layout=vertical] .el-menu--horizontal .el-menu--popup .el-menu-item span{font-size:14px}body[layout=vertical] .el-menu--horizontal .el-menu--popup .el-sub-menu__title{color:var(--pure-theme-menu-text)}body[layout=vertical] .el-menu--horizontal .el-menu .el-sub-menu__title{background-color:var(--pure-theme-sub-menu-bg)!important;font-size:14px;min-width:210px!important}body[layout=vertical] .el-menu--horizontal .el-menu .el-sub-menu__title:hover{color:var(--pure-theme-menu-title-hover)!important}body[layout=vertical] .el-menu--horizontal .is-active.submenu-title-noDropdown,body[layout=vertical] .el-menu--horizontal .is-active.submenu-title-noDropdown i,body[layout=vertical] .el-menu--horizontal .is-active>.el-sub-menu__title,body[layout=vertical] .el-menu--horizontal .is-active>.el-sub-menu__title i{color:var(--pure-theme-sub-menu-active-text)!important}body[layout=vertical] .el-menu--horizontal .el-menu-item:hover,body[layout=vertical] .el-menu--horizontal .nest-menu .el-sub-menu>.el-sub-menu__title:hover{color:var(--pure-theme-menu-title-hover)!important}body[layout=vertical] .el-menu--horizontal .el-menu-item.is-active{color:var(--pure-theme-sub-menu-active-text)!important;transition:color .3s}body[layout=vertical] .el-menu--horizontal .el-menu-item.is-active.nest-menu>*{color:#fff;z-index:1}body[layout=vertical] .el-menu--horizontal .el-menu-item.is-active.nest-menu:before{background:var(--el-color-primary)!important;border-radius:3px;clear:both;content:"";inset:0 5px;position:absolute}body[layout=vertical] .horizontal-header{align-items:center;background:var(--pure-theme-menu-bg)!important;display:flex;height:48px;justify-content:space-around;width:100%}body[layout=vertical] .horizontal-header .horizontal-header-left{align-items:center;cursor:pointer;display:flex;height:100%;min-width:200px;padding-left:10px;transition:all var(--pure-transition-duration) ease;width:auto}body[layout=vertical] .horizontal-header .horizontal-header-left img{display:inline-block;height:32px}body[layout=vertical] .horizontal-header .horizontal-header-left span{color:var(--pure-theme-sub-menu-active-text);display:inline-block;font-size:18px;font-weight:600;height:32px;line-height:32px;margin:2px 0 0 12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body[layout=vertical] .horizontal-header .horizontal-header-menu{align-items:center;flex:1;height:100%;min-width:0}body[layout=vertical] .horizontal-header .horizontal-header-right{align-items:center;color:var(--pure-theme-sub-menu-active-text);display:flex;justify-content:flex-end;min-width:340px}body[layout=vertical] .horizontal-header .horizontal-header-right .dropdown-badge:hover,body[layout=vertical] .horizontal-header .horizontal-header-right .el-dropdown-link:hover,body[layout=vertical] .horizontal-header .horizontal-header-right .fullscreen-icon:hover,body[layout=vertical] .horizontal-header .horizontal-header-right .search-container:hover,body[layout=vertical] .horizontal-header .horizontal-header-right .set-icon:hover{background:var(--pure-theme-menu-hover)}body[layout=vertical] .horizontal-header .horizontal-header-right .dropdown-badge{color:var(--pure-theme-sub-menu-active-text);height:48px}body[layout=vertical] .horizontal-header .horizontal-header-right .el-dropdown-link{align-items:center;color:var(--pure-theme-sub-menu-active-text);cursor:pointer;display:flex;height:48px;justify-content:space-around;padding:10px}body[layout=vertical] .horizontal-header .horizontal-header-right .el-dropdown-link p{font-size:14px}body[layout=vertical] .horizontal-header .horizontal-header-right .el-dropdown-link img{border-radius:50%;height:22px;width:22px}body[layout=vertical] .horizontal-header .el-menu{background-color:transparent;border:none;height:100%;width:100%!important}body[layout=vertical] .horizontal-header .el-menu-item,body[layout=vertical] .horizontal-header .el-sub-menu__title{color:var(--pure-theme-menu-text);padding-right:var(--el-menu-base-level-padding)}body[layout=vertical] .horizontal-header .el-menu-item:hover,body[layout=vertical] .horizontal-header .el-sub-menu__title:hover{color:var(--pure-theme-menu-title-hover)!important}body[layout=vertical] .horizontal-header .el-sub-menu__title,body[layout=vertical] .horizontal-header .submenu-title-noDropdown{background:var(--pure-theme-menu-bg)!important;height:48px;line-height:48px}body[layout=vertical] .horizontal-header .el-sub-menu__title svg,body[layout=vertical] .horizontal-header .submenu-title-noDropdown svg{position:static!important}body[layout=vertical] .horizontal-header .is-active,body[layout=vertical] .horizontal-header .is-active.submenu-title-noDropdown,body[layout=vertical] .horizontal-header .is-active.submenu-title-noDropdown i,body[layout=vertical] .horizontal-header .is-active>.el-sub-menu__title,body[layout=vertical] .horizontal-header .is-active>.el-sub-menu__title i{color:var(--pure-theme-sub-menu-active-text)!important}body[layout=vertical] .horizontal-header .is-active{transition:color .3s}body[layout=vertical] .el-menu--collapse .el-menu .el-sub-menu{min-width:210px!important}body[layout=vertical] .mobile .fixed-header{transition:width var(--pure-transition-duration);width:100%!important}body[layout=vertical] .mobile .main-container{margin-left:0!important}body[layout=vertical] .mobile .sidebar-container{transition:transform var(--pure-transition-duration);width:210px;z-index:2001}body[layout=vertical] .mobile.hideSidebar .sidebar-container{pointer-events:none;transform:translate3d(-210px,0,0);transition-duration:.3s}body[layout=vertical] .el-menu--collapse{width:54px}body[layout=vertical] .sidebar-logo-container{background:var(--pure-theme-sidebar-logo)}body[layout=vertical] .hideSidebar .fixed-header{transition:width var(--pure-transition-duration);width:calc(100% - 54px)}body[layout=vertical] .hideSidebar .sidebar-container{transition:width var(--pure-transition-duration);width:54px!important}body[layout=vertical] .hideSidebar .sidebar-container .is-active.submenu-title-noDropdown.outer-most{background:transparent!important}body[layout=vertical] .hideSidebar .main-container{margin-left:54px}body[layout=vertical] .hideSidebar .el-menu--collapse .el-sub-menu>.el-sub-menu__title>span{height:100%;text-align:center;visibility:visible;width:100%}body[layout=vertical] .hideSidebar .el-menu--collapse .submenu-title-noDropdown{background:transparent!important}body[layout=vertical] .hideSidebar .el-menu--collapse .el-sub-menu__title{padding:0}body[layout=vertical] .hideSidebar .sub-menu-icon{margin-right:0}body[layout=vertical] .dropdown-badge:hover,body[layout=vertical] .el-dropdown-link:hover,body[layout=vertical] .fullscreen-icon:hover,body[layout=vertical] .search-container:hover,body[layout=vertical] .set-icon:hover{background:#f6f6f6}@media screen and (width >= 150px) and (width <= 420px){body[layout=horizontal] .app-main-nofixed-header{overflow-y:hidden}}@media screen and (width >= 420px){body[layout=horizontal] .app-main-nofixed-header{overflow:hidden}}body[layout=horizontal] .el-popper.pure-scrollbar{overflow:hidden}body[layout=horizontal] .pure-scrollbar{max-height:calc(100vh - 125px);overflow:hidden auto}body[layout=horizontal] .sub-menu-icon{font-size:18px;margin-right:5px}body[layout=horizontal] .sub-menu-icon svg{height:18px;width:18px}body[layout=horizontal] .fullscreen-icon,body[layout=horizontal] .set-icon{align-items:center;cursor:pointer;display:flex;height:48px;justify-content:center;width:40px}body[layout=horizontal] .main-container{background:#f0f2f5;height:100vh;margin-left:0;min-height:100%;position:relative;transition:margin-left var(--pure-transition-duration)}body[layout=horizontal] .main-container .el-scrollbar__wrap{height:100%;overflow:auto}body[layout=horizontal] .fixed-header{position:fixed;right:0;top:0;transition:width var(--pure-transition-duration);z-index:998}body[layout=horizontal] .main-hidden{margin-left:0!important}body[layout=horizontal] .main-hidden .fixed-header{width:100%!important}body[layout=horizontal] .main-hidden .fixed-header+.app-main{padding-top:37px!important}body[layout=horizontal] .sidebar-container{background:var(--pure-theme-menu-bg)!important;border-right:1px solid var(--pure-border-color);bottom:0;font-size:0;height:100%;left:0;overflow:visible;position:fixed;top:0;transition:width var(--pure-transition-duration);width:0!important;z-index:1001}body[layout=horizontal] .sidebar-container .scrollbar-wrapper{overflow-x:hidden!important}body[layout=horizontal] .sidebar-container .el-scrollbar__bar.is-vertical{right:0}body[layout=horizontal] .sidebar-container.has-logo .el-scrollbar.pc{height:calc(100% - 92px)}body[layout=horizontal] .sidebar-container.has-logo .el-scrollbar.mobile{height:calc(100% - 48px)}body[layout=horizontal] .sidebar-container.no-logo .el-scrollbar.pc{height:calc(100% - 44px)}body[layout=horizontal] .sidebar-container.no-logo .el-scrollbar.mobile{height:100%}body[layout=horizontal] .sidebar-container .is-horizontal{display:none}body[layout=horizontal] .sidebar-container a{display:flex;flex-wrap:wrap;width:100%}body[layout=horizontal] .sidebar-container .el-menu{background-color:transparent!important;border:none;height:100%}body[layout=horizontal] .sidebar-container .el-menu-item,body[layout=horizontal] .sidebar-container .el-sub-menu__title{background-color:transparent!important;color:var(--pure-theme-menu-text);height:50px}body[layout=horizontal] .sidebar-container .el-menu-item:hover,body[layout=horizontal] .sidebar-container .el-sub-menu__title:hover{color:var(--pure-theme-menu-title-hover)!important}body[layout=horizontal] .sidebar-container .el-menu-item div,body[layout=horizontal] .sidebar-container .el-menu-item span,body[layout=horizontal] .sidebar-container .el-sub-menu__title div,body[layout=horizontal] .sidebar-container .el-sub-menu__title span{height:50px;line-height:50px}body[layout=horizontal] .sidebar-container .el-sub-menu__title:hover,body[layout=horizontal] .sidebar-container .submenu-title-noDropdown:hover{background-color:transparent}body[layout=horizontal] .sidebar-container .is-active,body[layout=horizontal] .sidebar-container .is-active.submenu-title-noDropdown,body[layout=horizontal] .sidebar-container .is-active.submenu-title-noDropdown i,body[layout=horizontal] .sidebar-container .is-active>.el-sub-menu__title,body[layout=horizontal] .sidebar-container .is-active>.el-sub-menu__title i{color:var(--pure-theme-sub-menu-active-text)!important}body[layout=horizontal] .sidebar-container .is-active{transition:color .3s}body[layout=horizontal] .sidebar-container .el-menu-item.is-active.nest-menu>*{color:#fff;z-index:1}body[layout=horizontal] .sidebar-container .el-menu-item.is-active.nest-menu:before{background:var(--el-color-primary)!important;border-radius:3px;clear:both;content:"";inset:0 8px;margin:4px 0;position:absolute}body[layout=horizontal] .sidebar-container .el-menu .el-menu--inline .el-sub-menu__title,body[layout=horizontal] .sidebar-container .el-sub-menu .el-menu-item{background-color:var(--pure-theme-sub-menu-bg)!important;font-size:14px;min-width:0!important}body[layout=horizontal] .sidebar-container .el-menu--collapse .is-active.outer-most.el-sub-menu>.el-sub-menu__title:before{background-color:var(--pure-theme-menu-active-before);clear:both;content:"";height:100%;left:0;position:absolute;top:0;transform:translateY(0);transition:all var(--pure-transition-duration) ease-in-out;width:2px}body[layout=horizontal] .sidebar-container .el-menu--collapse .outer-most.el-sub-menu>.el-sub-menu__title:before{content:"";display:block;height:0;position:absolute;top:50%;transform:translateY(-50%);width:3px}body[layout=horizontal] .sidebar-container .is-active.submenu-title-noDropdown.outer-most>*{color:#fff;z-index:1}body[layout=horizontal] .sidebar-container .is-active.submenu-title-noDropdown.outer-most:before{background:var(--el-color-primary)!important;border-radius:3px;clear:both;content:"";inset:0 8px;margin:4px 0;position:absolute}body[layout=horizontal] .el-menu--vertical .el-menu--popup{background-color:var(--pure-theme-sub-menu-bg)!important}body[layout=horizontal] .el-menu--vertical .el-menu--popup .el-menu-item span{font-size:14px}body[layout=horizontal] .el-menu--vertical>.el-menu i,body[layout=horizontal] .el-menu--vertical>.el-menu svg{margin-right:5px}body[layout=horizontal] .el-menu--vertical .is-active.submenu-title-noDropdown,body[layout=horizontal] .el-menu--vertical .is-active.submenu-title-noDropdown i,body[layout=horizontal] .el-menu--vertical .is-active>.el-sub-menu__title,body[layout=horizontal] .el-menu--vertical .is-active>.el-sub-menu__title i{color:var(--pure-theme-sub-menu-active-text)!important}body[layout=horizontal] .el-menu--vertical .el-menu .el-sub-menu__title{background-color:var(--pure-theme-sub-menu-bg)!important;font-size:14px;min-width:0!important}body[layout=horizontal] .el-menu--vertical .el-menu-item,body[layout=horizontal] .el-menu--vertical .el-sub-menu__title{background-color:var(--pure-theme-sub-menu-bg);color:var(--pure-theme-menu-text);height:50px;line-height:50px}body[layout=horizontal] .el-menu--vertical .el-menu-item:hover,body[layout=horizontal] .el-menu--vertical .el-sub-menu__title:hover{color:var(--pure-theme-menu-title-hover)!important}body[layout=horizontal] .el-menu--vertical .is-active{color:var(--pure-theme-sub-menu-active-text)!important;transition:color .3s}body[layout=horizontal] .el-menu--vertical .el-menu-item.is-active.nest-menu>*{color:#fff;z-index:1}body[layout=horizontal] .el-menu--vertical .el-menu-item.is-active.nest-menu:before{background:var(--el-color-primary)!important;border-radius:3px;clear:both;content:"";inset:0 8px;position:absolute}body[layout=horizontal] .el-menu--vertical .el-menu-item .iconfont,body[layout=horizontal] .el-menu--vertical .el-sub-menu .iconfont{font-size:18px}body[layout=horizontal] .el-menu--vertical .el-menu-item .el-menu-tooltip__trigger,body[layout=horizontal] .el-menu--vertical .el-sub-menu .el-menu-tooltip__trigger{padding:0;width:54px}body[layout=horizontal] .el-menu--horizontal>.el-sub-menu .el-sub-menu__icon-arrow{margin-top:0;position:static!important}body[layout=horizontal] .el-menu--horizontal a>.is-active.submenu-title-noDropdown{border-bottom:2px solid var(--el-menu-active-color)}body[layout=horizontal] .el-menu--horizontal .el-menu--popup{background-color:var(--pure-theme-sub-menu-bg)!important}body[layout=horizontal] .el-menu--horizontal .el-menu--popup a>.is-active.submenu-title-noDropdown{border-bottom:none}body[layout=horizontal] .el-menu--horizontal .el-menu--popup .el-menu-item{background-color:var(--pure-theme-sub-menu-bg);color:var(--pure-theme-menu-text)}body[layout=horizontal] .el-menu--horizontal .el-menu--popup .el-menu-item span{font-size:14px}body[layout=horizontal] .el-menu--horizontal .el-menu--popup .el-sub-menu__title{color:var(--pure-theme-menu-text)}body[layout=horizontal] .el-menu--horizontal .el-menu .el-sub-menu__title{background-color:var(--pure-theme-sub-menu-bg)!important;font-size:14px;min-width:0!important}body[layout=horizontal] .el-menu--horizontal .el-menu .el-sub-menu__title:hover{color:var(--pure-theme-menu-title-hover)!important}body[layout=horizontal] .el-menu--horizontal .is-active.submenu-title-noDropdown,body[layout=horizontal] .el-menu--horizontal .is-active.submenu-title-noDropdown i,body[layout=horizontal] .el-menu--horizontal .is-active>.el-sub-menu__title,body[layout=horizontal] .el-menu--horizontal .is-active>.el-sub-menu__title i{color:var(--pure-theme-sub-menu-active-text)!important}body[layout=horizontal] .el-menu--horizontal .el-menu-item:hover,body[layout=horizontal] .el-menu--horizontal .nest-menu .el-sub-menu>.el-sub-menu__title:hover{color:var(--pure-theme-menu-title-hover)!important}body[layout=horizontal] .el-menu--horizontal .el-menu-item.is-active{color:var(--pure-theme-sub-menu-active-text)!important;transition:color .3s}body[layout=horizontal] .el-menu--horizontal .el-menu-item.is-active.nest-menu>*{color:#fff;z-index:1}body[layout=horizontal] .el-menu--horizontal .el-menu-item.is-active.nest-menu:before{background:var(--el-color-primary)!important;border-radius:3px;clear:both;content:"";inset:0 5px;position:absolute}body[layout=horizontal] .horizontal-header{align-items:center;background:var(--pure-theme-menu-bg)!important;display:flex;height:48px;justify-content:space-around;width:100%}body[layout=horizontal] .horizontal-header .horizontal-header-left{align-items:center;cursor:pointer;display:flex;height:100%;min-width:200px;padding-left:10px;transition:all var(--pure-transition-duration) ease;width:auto}body[layout=horizontal] .horizontal-header .horizontal-header-left img{display:inline-block;height:32px}body[layout=horizontal] .horizontal-header .horizontal-header-left span{color:var(--pure-theme-sub-menu-active-text);display:inline-block;font-size:18px;font-weight:600;height:32px;line-height:32px;margin:2px 0 0 12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body[layout=horizontal] .horizontal-header .horizontal-header-menu{align-items:center;flex:1;height:100%;min-width:0}body[layout=horizontal] .horizontal-header .horizontal-header-right{align-items:center;color:var(--pure-theme-sub-menu-active-text);display:flex;justify-content:flex-end;min-width:340px}body[layout=horizontal] .horizontal-header .horizontal-header-right .dropdown-badge:hover,body[layout=horizontal] .horizontal-header .horizontal-header-right .el-dropdown-link:hover,body[layout=horizontal] .horizontal-header .horizontal-header-right .fullscreen-icon:hover,body[layout=horizontal] .horizontal-header .horizontal-header-right .search-container:hover,body[layout=horizontal] .horizontal-header .horizontal-header-right .set-icon:hover{background:var(--pure-theme-menu-hover)}body[layout=horizontal] .horizontal-header .horizontal-header-right .dropdown-badge{color:var(--pure-theme-sub-menu-active-text);height:48px}body[layout=horizontal] .horizontal-header .horizontal-header-right .el-dropdown-link{align-items:center;color:var(--pure-theme-sub-menu-active-text);cursor:pointer;display:flex;height:48px;justify-content:space-around;padding:10px}body[layout=horizontal] .horizontal-header .horizontal-header-right .el-dropdown-link p{font-size:14px}body[layout=horizontal] .horizontal-header .horizontal-header-right .el-dropdown-link img{border-radius:50%;height:22px;width:22px}body[layout=horizontal] .horizontal-header .el-menu{background-color:transparent;border:none;height:100%;width:100%!important}body[layout=horizontal] .horizontal-header .el-menu-item,body[layout=horizontal] .horizontal-header .el-sub-menu__title{color:var(--pure-theme-menu-text);padding-right:var(--el-menu-base-level-padding)}body[layout=horizontal] .horizontal-header .el-menu-item:hover,body[layout=horizontal] .horizontal-header .el-sub-menu__title:hover{color:var(--pure-theme-menu-title-hover)!important}body[layout=horizontal] .horizontal-header .el-sub-menu__title,body[layout=horizontal] .horizontal-header .submenu-title-noDropdown{background:var(--pure-theme-menu-bg)!important;height:48px;line-height:48px}body[layout=horizontal] .horizontal-header .el-sub-menu__title svg,body[layout=horizontal] .horizontal-header .submenu-title-noDropdown svg{position:static!important}body[layout=horizontal] .horizontal-header .is-active,body[layout=horizontal] .horizontal-header .is-active.submenu-title-noDropdown,body[layout=horizontal] .horizontal-header .is-active.submenu-title-noDropdown i,body[layout=horizontal] .horizontal-header .is-active>.el-sub-menu__title,body[layout=horizontal] .horizontal-header .is-active>.el-sub-menu__title i{color:var(--pure-theme-sub-menu-active-text)!important}body[layout=horizontal] .horizontal-header .is-active{transition:color .3s}body[layout=horizontal] .el-menu--collapse .el-menu .el-sub-menu{min-width:0!important}body[layout=horizontal] .mobile .fixed-header{transition:width var(--pure-transition-duration);width:100%!important}body[layout=horizontal] .mobile .main-container{margin-left:0!important}body[layout=horizontal] .mobile .sidebar-container{transition:transform var(--pure-transition-duration);width:0;z-index:2001}body[layout=horizontal] .mobile.hideSidebar .sidebar-container{pointer-events:none;transform:translateZ(0);transition-duration:.3s}body[layout=horizontal] .fixed-header,body[layout=horizontal] .main-container{transition:none!important}body[layout=horizontal] .fixed-header{width:100%}@media screen and (width >= 150px) and (width <= 420px){body[layout=mix] .app-main-nofixed-header{overflow-y:hidden}}@media screen and (width >= 420px){body[layout=mix] .app-main-nofixed-header{overflow:hidden}}body[layout=mix] .el-popper.pure-scrollbar{overflow:hidden}body[layout=mix] .pure-scrollbar{max-height:calc(100vh - 125px);overflow:hidden auto}body[layout=mix] .sub-menu-icon{font-size:18px;margin-right:5px}body[layout=mix] .sub-menu-icon svg{height:18px;width:18px}body[layout=mix] .fullscreen-icon,body[layout=mix] .set-icon{align-items:center;cursor:pointer;display:flex;height:48px;justify-content:center;width:40px}body[layout=mix] .main-container{background:#f0f2f5;height:100vh;margin-left:210px;min-height:100%;position:relative;transition:margin-left var(--pure-transition-duration)}body[layout=mix] .main-container .el-scrollbar__wrap{height:100%;overflow:auto}body[layout=mix] .fixed-header{position:fixed;right:0;top:0;transition:width var(--pure-transition-duration);width:calc(100% - 210px);z-index:998}body[layout=mix] .main-hidden{margin-left:0!important}body[layout=mix] .main-hidden .fixed-header{width:100%!important}body[layout=mix] .main-hidden .fixed-header+.app-main{padding-top:37px!important}body[layout=mix] .sidebar-container{background:var(--pure-theme-menu-bg)!important;border-right:1px solid var(--pure-border-color);bottom:0;font-size:0;height:100%;left:0;overflow:visible;position:fixed;top:0;transition:width var(--pure-transition-duration);width:210px!important;z-index:1001}body[layout=mix] .sidebar-container .scrollbar-wrapper{overflow-x:hidden!important}body[layout=mix] .sidebar-container .el-scrollbar__bar.is-vertical{right:0}body[layout=mix] .sidebar-container.has-logo .el-scrollbar.pc{height:calc(100% - 92px)}body[layout=mix] .sidebar-container.has-logo .el-scrollbar.mobile{height:calc(100% - 48px)}body[layout=mix] .sidebar-container.no-logo .el-scrollbar.pc{height:calc(100% - 44px)}body[layout=mix] .sidebar-container.no-logo .el-scrollbar.mobile{height:100%}body[layout=mix] .sidebar-container .is-horizontal{display:none}body[layout=mix] .sidebar-container a{display:flex;flex-wrap:wrap;width:100%}body[layout=mix] .sidebar-container .el-menu{background-color:transparent!important;border:none;height:100%}body[layout=mix] .sidebar-container .el-menu-item,body[layout=mix] .sidebar-container .el-sub-menu__title{background-color:transparent!important;color:var(--pure-theme-menu-text);height:50px}body[layout=mix] .sidebar-container .el-menu-item:hover,body[layout=mix] .sidebar-container .el-sub-menu__title:hover{color:var(--pure-theme-menu-title-hover)!important}body[layout=mix] .sidebar-container .el-menu-item div,body[layout=mix] .sidebar-container .el-menu-item span,body[layout=mix] .sidebar-container .el-sub-menu__title div,body[layout=mix] .sidebar-container .el-sub-menu__title span{height:50px;line-height:50px}body[layout=mix] .sidebar-container .el-sub-menu__title:hover,body[layout=mix] .sidebar-container .submenu-title-noDropdown:hover{background-color:transparent}body[layout=mix] .sidebar-container .is-active,body[layout=mix] .sidebar-container .is-active.submenu-title-noDropdown,body[layout=mix] .sidebar-container .is-active.submenu-title-noDropdown i,body[layout=mix] .sidebar-container .is-active>.el-sub-menu__title,body[layout=mix] .sidebar-container .is-active>.el-sub-menu__title i{color:var(--pure-theme-sub-menu-active-text)!important}body[layout=mix] .sidebar-container .is-active{transition:color .3s}body[layout=mix] .sidebar-container .el-menu-item.is-active.nest-menu>*{color:#fff;z-index:1}body[layout=mix] .sidebar-container .el-menu-item.is-active.nest-menu:before{background:var(--el-color-primary)!important;border-radius:3px;clear:both;content:"";inset:0 8px;margin:4px 0;position:absolute}body[layout=mix] .sidebar-container .el-menu .el-menu--inline .el-sub-menu__title,body[layout=mix] .sidebar-container .el-sub-menu .el-menu-item{background-color:var(--pure-theme-sub-menu-bg)!important;font-size:14px;min-width:210px!important}body[layout=mix] .sidebar-container .el-menu--collapse .is-active.outer-most.el-sub-menu>.el-sub-menu__title:before{background-color:var(--pure-theme-menu-active-before);clear:both;content:"";height:100%;left:0;position:absolute;top:0;transform:translateY(0);transition:all var(--pure-transition-duration) ease-in-out;width:2px}body[layout=mix] .sidebar-container .el-menu--collapse .outer-most.el-sub-menu>.el-sub-menu__title:before{content:"";display:block;height:0;position:absolute;top:50%;transform:translateY(-50%);width:3px}body[layout=mix] .sidebar-container .is-active.submenu-title-noDropdown.outer-most>*{color:#fff;z-index:1}body[layout=mix] .sidebar-container .is-active.submenu-title-noDropdown.outer-most:before{background:var(--el-color-primary)!important;border-radius:3px;clear:both;content:"";inset:0 8px;margin:4px 0;position:absolute}body[layout=mix] .el-menu--vertical .el-menu--popup{background-color:var(--pure-theme-sub-menu-bg)!important}body[layout=mix] .el-menu--vertical .el-menu--popup .el-menu-item span{font-size:14px}body[layout=mix] .el-menu--vertical>.el-menu i,body[layout=mix] .el-menu--vertical>.el-menu svg{margin-right:5px}body[layout=mix] .el-menu--vertical .is-active.submenu-title-noDropdown,body[layout=mix] .el-menu--vertical .is-active.submenu-title-noDropdown i,body[layout=mix] .el-menu--vertical .is-active>.el-sub-menu__title,body[layout=mix] .el-menu--vertical .is-active>.el-sub-menu__title i{color:var(--pure-theme-sub-menu-active-text)!important}body[layout=mix] .el-menu--vertical .el-menu .el-sub-menu__title{background-color:var(--pure-theme-sub-menu-bg)!important;font-size:14px;min-width:210px!important}body[layout=mix] .el-menu--vertical .el-menu-item,body[layout=mix] .el-menu--vertical .el-sub-menu__title{background-color:var(--pure-theme-sub-menu-bg);color:var(--pure-theme-menu-text);height:50px;line-height:50px}body[layout=mix] .el-menu--vertical .el-menu-item:hover,body[layout=mix] .el-menu--vertical .el-sub-menu__title:hover{color:var(--pure-theme-menu-title-hover)!important}body[layout=mix] .el-menu--vertical .is-active{color:var(--pure-theme-sub-menu-active-text)!important;transition:color .3s}body[layout=mix] .el-menu--vertical .el-menu-item.is-active.nest-menu>*{color:#fff;z-index:1}body[layout=mix] .el-menu--vertical .el-menu-item.is-active.nest-menu:before{background:var(--el-color-primary)!important;border-radius:3px;clear:both;content:"";inset:0 8px;position:absolute}body[layout=mix] .el-menu--vertical .el-menu-item .iconfont,body[layout=mix] .el-menu--vertical .el-sub-menu .iconfont{font-size:18px}body[layout=mix] .el-menu--vertical .el-menu-item .el-menu-tooltip__trigger,body[layout=mix] .el-menu--vertical .el-sub-menu .el-menu-tooltip__trigger{padding:0;width:54px}body[layout=mix] .el-menu--horizontal>.el-sub-menu .el-sub-menu__icon-arrow{margin-top:0;position:static!important}body[layout=mix] .el-menu--horizontal a>.is-active.submenu-title-noDropdown{border-bottom:2px solid var(--el-menu-active-color)}body[layout=mix] .el-menu--horizontal .el-menu--popup{background-color:var(--pure-theme-sub-menu-bg)!important}body[layout=mix] .el-menu--horizontal .el-menu--popup a>.is-active.submenu-title-noDropdown{border-bottom:none}body[layout=mix] .el-menu--horizontal .el-menu--popup .el-menu-item{background-color:var(--pure-theme-sub-menu-bg);color:var(--pure-theme-menu-text)}body[layout=mix] .el-menu--horizontal .el-menu--popup .el-menu-item span{font-size:14px}body[layout=mix] .el-menu--horizontal .el-menu--popup .el-sub-menu__title{color:var(--pure-theme-menu-text)}body[layout=mix] .el-menu--horizontal .el-menu .el-sub-menu__title{background-color:var(--pure-theme-sub-menu-bg)!important;font-size:14px;min-width:210px!important}body[layout=mix] .el-menu--horizontal .el-menu .el-sub-menu__title:hover{color:var(--pure-theme-menu-title-hover)!important}body[layout=mix] .el-menu--horizontal .is-active.submenu-title-noDropdown,body[layout=mix] .el-menu--horizontal .is-active.submenu-title-noDropdown i,body[layout=mix] .el-menu--horizontal .is-active>.el-sub-menu__title,body[layout=mix] .el-menu--horizontal .is-active>.el-sub-menu__title i{color:var(--pure-theme-sub-menu-active-text)!important}body[layout=mix] .el-menu--horizontal .el-menu-item:hover,body[layout=mix] .el-menu--horizontal .nest-menu .el-sub-menu>.el-sub-menu__title:hover{color:var(--pure-theme-menu-title-hover)!important}body[layout=mix] .el-menu--horizontal .el-menu-item.is-active{color:var(--pure-theme-sub-menu-active-text)!important;transition:color .3s}body[layout=mix] .el-menu--horizontal .el-menu-item.is-active.nest-menu>*{color:#fff;z-index:1}body[layout=mix] .el-menu--horizontal .el-menu-item.is-active.nest-menu:before{background:var(--el-color-primary)!important;border-radius:3px;clear:both;content:"";inset:0 5px;position:absolute}body[layout=mix] .horizontal-header{align-items:center;background:var(--pure-theme-menu-bg)!important;display:flex;height:48px;justify-content:space-around;width:100%}body[layout=mix] .horizontal-header .horizontal-header-left{align-items:center;cursor:pointer;display:flex;height:100%;min-width:200px;padding-left:10px;transition:all var(--pure-transition-duration) ease;width:auto}body[layout=mix] .horizontal-header .horizontal-header-left img{display:inline-block;height:32px}body[layout=mix] .horizontal-header .horizontal-header-left span{color:var(--pure-theme-sub-menu-active-text);display:inline-block;font-size:18px;font-weight:600;height:32px;line-height:32px;margin:2px 0 0 12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body[layout=mix] .horizontal-header .horizontal-header-menu{align-items:center;flex:1;height:100%;min-width:0}body[layout=mix] .horizontal-header .horizontal-header-right{align-items:center;color:var(--pure-theme-sub-menu-active-text);display:flex;justify-content:flex-end;min-width:340px}body[layout=mix] .horizontal-header .horizontal-header-right .dropdown-badge:hover,body[layout=mix] .horizontal-header .horizontal-header-right .el-dropdown-link:hover,body[layout=mix] .horizontal-header .horizontal-header-right .fullscreen-icon:hover,body[layout=mix] .horizontal-header .horizontal-header-right .search-container:hover,body[layout=mix] .horizontal-header .horizontal-header-right .set-icon:hover{background:var(--pure-theme-menu-hover)}body[layout=mix] .horizontal-header .horizontal-header-right .dropdown-badge{color:var(--pure-theme-sub-menu-active-text);height:48px}body[layout=mix] .horizontal-header .horizontal-header-right .el-dropdown-link{align-items:center;color:var(--pure-theme-sub-menu-active-text);cursor:pointer;display:flex;height:48px;justify-content:space-around;padding:10px}body[layout=mix] .horizontal-header .horizontal-header-right .el-dropdown-link p{font-size:14px}body[layout=mix] .horizontal-header .horizontal-header-right .el-dropdown-link img{border-radius:50%;height:22px;width:22px}body[layout=mix] .horizontal-header .el-menu{background-color:transparent;border:none;height:100%;width:100%!important}body[layout=mix] .horizontal-header .el-menu-item,body[layout=mix] .horizontal-header .el-sub-menu__title{color:var(--pure-theme-menu-text);padding-right:var(--el-menu-base-level-padding)}body[layout=mix] .horizontal-header .el-menu-item:hover,body[layout=mix] .horizontal-header .el-sub-menu__title:hover{color:var(--pure-theme-menu-title-hover)!important}body[layout=mix] .horizontal-header .el-sub-menu__title,body[layout=mix] .horizontal-header .submenu-title-noDropdown{background:var(--pure-theme-menu-bg)!important;height:48px;line-height:48px}body[layout=mix] .horizontal-header .el-sub-menu__title svg,body[layout=mix] .horizontal-header .submenu-title-noDropdown svg{position:static!important}body[layout=mix] .horizontal-header .is-active,body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown,body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown i,body[layout=mix] .horizontal-header .is-active>.el-sub-menu__title,body[layout=mix] .horizontal-header .is-active>.el-sub-menu__title i{color:var(--pure-theme-sub-menu-active-text)!important}body[layout=mix] .horizontal-header .is-active{transition:color .3s}body[layout=mix] .el-menu--collapse .el-menu .el-sub-menu{min-width:210px!important}body[layout=mix] .mobile .fixed-header{transition:width var(--pure-transition-duration);width:100%!important}body[layout=mix] .mobile .main-container{margin-left:0!important}body[layout=mix] .mobile .sidebar-container{transition:transform var(--pure-transition-duration);width:210px;z-index:2001}body[layout=mix] .mobile.hideSidebar .sidebar-container{pointer-events:none;transform:translate3d(-210px,0,0);transition-duration:.3s}body[layout=mix] .el-menu--collapse{width:54px}body[layout=mix] .el-menu{--el-menu-hover-bg-color:transparent!important}body[layout=mix] .hideSidebar .fixed-header{transition:width var(--pure-transition-duration);width:calc(100% - 54px)}body[layout=mix] .hideSidebar .sidebar-container{transition:width var(--pure-transition-duration);width:54px!important}body[layout=mix] .hideSidebar .sidebar-container .is-active.submenu-title-noDropdown.outer-most{background:transparent!important}body[layout=mix] .hideSidebar .main-container{margin-left:54px}body[layout=mix] .hideSidebar .el-menu--collapse .el-sub-menu>.el-sub-menu__title{padding:0}body[layout=mix] .hideSidebar .el-menu--collapse .el-sub-menu>.el-sub-menu__title>span{height:100%;text-align:center;visibility:visible;width:100%}html.dark{color-scheme:dark;--el-color-primary:#409eff;--el-color-primary-light-3:#3375b9;--el-color-primary-light-5:#2a598a;--el-color-primary-light-7:#213d5b;--el-color-primary-light-8:#1d3043;--el-color-primary-light-9:#18222c;--el-color-primary-dark-2:#66b1ff;--el-color-success:#67c23a;--el-color-success-light-3:#4e8e2f;--el-color-success-light-5:#3e6b27;--el-color-success-light-7:#2d481f;--el-color-success-light-8:#25371c;--el-color-success-light-9:#1c2518;--el-color-success-dark-2:#85ce61;--el-color-warning:#e6a23c;--el-color-warning-light-3:#a77730;--el-color-warning-light-5:#7d5b28;--el-color-warning-light-7:#533f20;--el-color-warning-light-8:#3e301c;--el-color-warning-light-9:#292218;--el-color-warning-dark-2:#ebb563;--el-color-danger:#f56c6c;--el-color-danger-light-3:#b25252;--el-color-danger-light-5:#854040;--el-color-danger-light-7:#582e2e;--el-color-danger-light-8:#412626;--el-color-danger-light-9:#2b1d1d;--el-color-danger-dark-2:#f78989;--el-color-error:#f56c6c;--el-color-error-light-3:#b25252;--el-color-error-light-5:#854040;--el-color-error-light-7:#582e2e;--el-color-error-light-8:#412626;--el-color-error-light-9:#2b1d1d;--el-color-error-dark-2:#f78989;--el-color-info:#909399;--el-color-info-light-3:#6b6d71;--el-color-info-light-5:#525457;--el-color-info-light-7:#393a3c;--el-color-info-light-8:#2d2d2f;--el-color-info-light-9:#202121;--el-color-info-dark-2:#a6a9ad;--el-box-shadow:0px 12px 32px 4px rgba(0,0,0,.36),0px 8px 20px rgba(0,0,0,.72);--el-box-shadow-light:0px 0px 12px rgba(0,0,0,.72);--el-box-shadow-lighter:0px 0px 6px rgba(0,0,0,.72);--el-box-shadow-dark:0px 16px 48px 16px rgba(0,0,0,.72),0px 12px 32px #000,0px 8px 16px -8px #000;--el-bg-color-page:#0a0a0a;--el-bg-color:#141414;--el-bg-color-overlay:#1d1e1f;--el-text-color-primary:#e5eaf3;--el-text-color-regular:#cfd3dc;--el-text-color-secondary:#a3a6ad;--el-text-color-placeholder:#8d9095;--el-text-color-disabled:#6c6e72;--el-border-color-darker:#636466;--el-border-color-dark:#58585b;--el-border-color:#4c4d4f;--el-border-color-light:#414243;--el-border-color-lighter:#363637;--el-border-color-extra-light:#2b2b2c;--el-fill-color-darker:#424243;--el-fill-color-dark:#39393a;--el-fill-color:#303030;--el-fill-color-light:#262727;--el-fill-color-lighter:#1d1d1d;--el-fill-color-extra-light:#191919;--el-fill-color-blank:transparent;--el-mask-color:rgba(0,0,0,.8);--el-mask-color-extra-light:rgba(0,0,0,.3)}html.dark .el-button{--el-button-disabled-text-color:hsla(0,0%,100%,.5)}html.dark .el-card{--el-card-bg-color:var(--el-bg-color-overlay)}html.dark .el-empty{--el-empty-fill-color-0:var(--el-color-black);--el-empty-fill-color-1:#4b4b52;--el-empty-fill-color-2:#36383d;--el-empty-fill-color-3:#1e1e20;--el-empty-fill-color-4:#262629;--el-empty-fill-color-5:#202124;--el-empty-fill-color-6:#212224;--el-empty-fill-color-7:#1b1c1f;--el-empty-fill-color-8:#1c1d1f;--el-empty-fill-color-9:#18181a}html.dark{--pure-border-color:hsla(0,0%,99%,.12);--pure-switch-off-color:#ffffff3f}html.dark .contextmenu,html.dark .horizontal-header,html.dark .horizontal-header .el-sub-menu__title,html.dark .horizontal-header .submenu-title-noDropdown,html.dark .navbar,html.dark .sidebar-container,html.dark .sidebar-logo-container,html.dark .tags-view{background:var(--el-bg-color)!important}html.dark .app-main,html.dark .app-main-nofixed-header{background:#020409!important}html.dark .tags-view .arrow-left,html.dark .tags-view .arrow-right{border-right:1px solid #303030;box-shadow:none}html.dark .tags-view .arrow-right{border-left:1px solid #303030}html.dark .tags-view .scroll-item .el-icon-close:hover{background-color:#ffffff1f;color:#ffffffd9!important}html.dark .tags-view .scroll-item .chrome-tab .tag-title{color:#666}html.dark .tags-view .scroll-item .chrome-tab:hover .chrome-tab__bg{color:#333}html.dark .tags-view .scroll-item .chrome-tab:hover .tag-title{color:#adadad}html.dark .right-panel-items .el-divider__text{--el-bg-color:var(--el-bg-color)}html.dark .right-panel-items .el-divider--horizontal{border-top:none}html.dark .el-card{--el-card-bg-color:var(--el-bg-color)}html.dark .el-backtop{--el-backtop-bg-color:#48484e;--el-backtop-hover-bg-color:var(--el-color-primary);transition:background-color .25s cubic-bezier(.7,.3,.1,1)}html.dark .el-dropdown-menu__item:not(.is-disabled):hover{background:transparent}html.dark .el-icon.el-dialog__close:hover,html.dark .el-icon.el-drawer__close:hover,html.dark .el-icon.el-message-box__close:hover,html.dark .el-icon.el-notification__closeBtn:hover{background-color:#ffffff1f;color:#ffffffd9!important}html.dark .el-icon.el-dialog__close:hover .pure-dialog-svg,html.dark .el-icon.el-drawer__close:hover .pure-dialog-svg,html.dark .el-icon.el-message-box__close:hover .pure-dialog-svg,html.dark .el-icon.el-notification__closeBtn:hover .pure-dialog-svg{color:#ffffffd9!important}html.dark .pure-message{background-color:#242525!important;background-image:none!important;box-shadow:0 3px 6px -4px #0d0d0d1f,0 6px 16px #0d0d0d14,0 9px 28px 8px #0d0d0d0d!important}html.dark .pure-message .el-message__content{background-image:none!important;color:#fff!important;pointer-events:all!important}html.dark .pure-message .el-message__closeBtn:hover{background-color:#ffffff1f;color:#ffffffd9}html.dark .pure-search-dialog .el-dialog__footer{box-shadow:0 -1px #555a64,0 -3px 6px #45629b1f}html.dark .pure-search-dialog .search-footer .search-footer-item{color:#ebebeb99}html.dark .pure-search-dialog .search-footer .search-footer-item .icon{box-shadow:none}html.dark .pure-segmented{background-color:#000;color:#ffffffa6}html.dark .pure-segmented .pure-segmented-item-selected{background-color:#1f1f1f}html.dark .pure-segmented .pure-segmented-item-disabled{color:#ffffff40}html.dark .pure-scrollbar{scrollbar-color:#3f4042 transparent}html.dark .pure-scrollbar ::-webkit-scrollbar-thumb{background-color:#3f4042}html.dark .pure-scrollbar ::-webkit-scrollbar-thumb:hover{background:#5c5d60}:root{--pure-transition-duration:.3s;--pure-border-color:rgb(5 5 5/6%);--pure-switch-off-color:#a6a6a6;--pure-theme-sub-menu-active-text:initial;--pure-theme-menu-bg:none;--pure-theme-menu-hover:none;--pure-theme-sub-menu-bg:transparent;--pure-theme-menu-text:initial;--pure-theme-sidebar-logo:none;--pure-theme-menu-title-hover:initial;--pure-theme-menu-active-before:transparent}.html-grey{filter:grayscale(100%)}.html-weakness{filter:invert(80%)}*,:after,:before{--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:rgba(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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::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:rgba(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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.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}}.flex-c{justify-content:center}.flex-bc,.flex-c{align-items:center;display:flex}.flex-bc{justify-content:space-between}.navbar-bg-hover:is(.dark *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.navbar-bg-hover:hover:is(.dark *){--tw-bg-opacity:1!important;background-color:rgb(36 36 36/var(--tw-bg-opacity,1))!important}.visible{visibility:visible}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.right-5{right:1.25rem}.top-3{top:.75rem}.z-\[2002\]{z-index:2002}.m-auto{margin:auto}.\!-mr-1{margin-right:-.25rem!important}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-\[12px\]{margin-bottom:12px}.ml-12{margin-left:3rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-10{margin-right:2.5rem}.mr-2{margin-right:.5rem}.mr-4{margin-right:1rem}.mr-5{margin-right:1.25rem}.mr-\[10px\]{margin-right:10px}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-\[35\%\]{margin-top:35%}.block{display:block}.inline-block{display:inline-block}.\!inline{display:inline!important}.inline{display:inline}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.\!h-full{height:100%!important}.h-20{height:5rem}.h-\[100px\]{height:100px}.h-\[16px\]{height:16px}.h-\[18px\]{height:18px}.h-\[22px\]{height:22px}.h-\[24px\]{height:24px}.h-\[300px\]{height:300px}.h-\[30px\]{height:30px}.h-\[35px\]{height:35px}.h-\[40px\]{height:40px}.h-\[48px\]{height:48px}.h-\[50px\]{height:50px}.h-\[60px\]{height:60px}.h-\[640px\]{height:640px}.h-full{height:100%}.\!w-\[160px\]{width:160px!important}.\!w-\[180px\]{width:180px!important}.\!w-\[60vw\]{width:60vw!important}.\!w-full{width:100%!important}.w-1\/2{width:50%}.w-\[100px\]{width:100px}.w-\[120px\]{width:120px}.w-\[16px\]{width:16px}.w-\[18px\]{width:18px}.w-\[22px\]{width:22px}.w-\[24\%\]{width:24%}.w-\[24px\]{width:24px}.w-\[300px\]{width:300px}.w-\[30px\]{width:30px}.w-\[35px\]{width:35px}.w-\[40px\]{width:40px}.w-\[50\%\]{width:50%}.w-\[50px\]{width:50px}.w-\[60px\]{width:60px}.w-\[99\/100\]{width:99/100}.w-full{width:100%}.flex-grow,.grow{flex-grow:1}.-translate-x-2{--tw-translate-x:-.5rem}.-translate-x-2,.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))}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.\!cursor-grab{cursor:grab!important}.\!cursor-move{cursor:move!important}.\!cursor-no-drop{cursor:no-drop!important}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.\!resize{resize:both!important}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.\!items-stretch{align-items:stretch!important}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.overflow-auto{overflow:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded-\[4px\]{border-radius:4px}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-b,.border-b-\[1px\]{border-bottom-width:1px}.border-t-\[1px\]{border-top-width:1px}.border-solid{border-style:solid}.border-dashed{border-style:dashed}.border-\[\#dcdfe6\]{--tw-border-opacity:1;border-color:rgb(220 223 230/var(--tw-border-opacity,1))}.border-\[\#f0f0f0\]{--tw-border-opacity:1;border-color:rgb(240 240 240/var(--tw-border-opacity,1))}.border-\[var\(--pure-border-color\)\]{border-color:var(--pure-border-color)}.bg-\[\#fff\]{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-bg_color{background-color:var(--el-bg-color)}.bg-transparent{background-color:transparent}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-\[11px\]{padding-left:11px;padding-right:11px}.\!pl-4{padding-left:1rem!important}.pb-2{padding-bottom:.5rem}.pl-8{padding-left:2rem}.pl-\[11px\]{padding-left:11px}.pt-2{padding-top:.5rem}.pt-\[12px\]{padding-top:12px}.pt-\[3px\]{padding-top:3px}.pt-\[6px\]{padding-top:6px}.align-middle{vertical-align:middle}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.\!leading-\[50px\]{line-height:50px!important}.\!text-inherit{color:inherit!important}.text-\[\#00000073\]{color:#00000073}.text-\[\#000000d9\]{color:#000000d9}.text-\[\#333\]{--tw-text-opacity:1;color:rgb(51 51 51/var(--tw-text-opacity,1))}.text-\[rgba\(0\,0\,0\,0\.6\)\]{color:#0009}.text-black{color:rgb(0 0 0/var(--tw-text-opacity,1))}.text-black,.text-gray-300{--tw-text-opacity:1}.text-gray-300{color:rgb(209 213 219/var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity,1))}.text-primary{color:var(--el-color-primary)}.text-text_color_regular{color:var(--el-text-color-regular)}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-sm{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 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow-\[rgba\(0\,21\,41\,0\.08\)\]{--tw-shadow-color:rgba(0,21,41,.08);--tw-shadow:var(--tw-shadow-colored)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.blur{--tw-blur:blur(8px)}.blur,.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-duration:.15s;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-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-100{transition-duration:.1s}.duration-300{transition-duration:.3s}.duration-\[100ms\]{transition-duration:.1s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:scale-125:hover{--tw-scale-x:1.25;--tw-scale-y:1.25;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))}.hover\:bg-\[\#0000000f\]:hover{background-color:#0000000f}.hover\:\!text-\[red\]:hover{--tw-text-opacity:1!important;color:rgb(255 0 0/var(--tw-text-opacity,1))!important}.hover\:\!text-primary:hover{color:var(--el-color-primary)!important}.hover\:text-\[\#d7d5d4\]:hover{--tw-text-opacity:1;color:rgb(215 213 212/var(--tw-text-opacity,1))}.hover\:text-\[var\(--el-color-danger\)\]:hover{color:var(--el-color-danger)}.hover\:text-primary:hover{color:var(--el-color-primary)}.hover\:text-text_color_primary:hover{color:var(--el-text-color-primary)}.dark\:border-\[\#303030\]:is(.dark *){--tw-border-opacity:1;border-color:rgb(48 48 48/var(--tw-border-opacity,1))}.dark\:bg-\[\#1d1d1d\]:is(.dark *){--tw-bg-opacity:1;background-color:rgb(29 29 29/var(--tw-bg-opacity,1))}.dark\:\!text-text_color_primary:is(.dark *){color:var(--el-text-color-primary)!important}.dark\:text-\[rgba\(220\,220\,242\,0\.8\)\]:is(.dark *){color:#dcdcf2cc}.dark\:text-white:is(.dark *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\:hover\:bg-\[\#ffffff1f\]:hover:is(.dark *){background-color:#ffffff1f}.dark\:hover\:\!text-primary:hover:is(.dark *){color:var(--el-color-primary)!important}.dark\:hover\:\!text-white:hover:is(.dark *){--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.dark\:hover\:text-\[\#ffffffd9\]:hover:is(.dark *){color:#ffffffd9}:root{--el-color-white:#fff;--el-color-black:#000;--el-color-primary-rgb:64,158,255;--el-color-success-rgb:103,194,58;--el-color-warning-rgb:230,162,60;--el-color-danger-rgb:245,108,108;--el-color-error-rgb:245,108,108;--el-color-info-rgb:144,147,153;--el-font-size-extra-large:20px;--el-font-size-large:18px;--el-font-size-medium:16px;--el-font-size-base:14px;--el-font-size-small:13px;--el-font-size-extra-small:12px;--el-font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;--el-font-weight-primary:500;--el-font-line-height-primary:24px;--el-index-normal:1;--el-index-top:1000;--el-index-popper:2000;--el-border-radius-base:4px;--el-border-radius-small:2px;--el-border-radius-round:20px;--el-border-radius-circle:100%;--el-transition-duration:.3s;--el-transition-duration-fast:.2s;--el-transition-function-ease-in-out-bezier:cubic-bezier(.645,.045,.355,1);--el-transition-function-fast-bezier:cubic-bezier(.23,1,.32,1);--el-transition-all:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade:opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade:transform var(--el-transition-duration) var(--el-transition-function-fast-bezier),opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear:opacity var(--el-transition-duration-fast) linear;--el-transition-border:border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow:box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color:color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-component-size-large:40px;--el-component-size:32px;--el-component-size-small:24px;color-scheme:light;--el-color-primary:#409eff;--el-color-primary-light-3:#79bbff;--el-color-primary-light-5:#a0cfff;--el-color-primary-light-7:#c6e2ff;--el-color-primary-light-8:#d9ecff;--el-color-primary-light-9:#ecf5ff;--el-color-primary-dark-2:#337ecc;--el-color-success:#67c23a;--el-color-success-light-3:#95d475;--el-color-success-light-5:#b3e19d;--el-color-success-light-7:#d1edc4;--el-color-success-light-8:#e1f3d8;--el-color-success-light-9:#f0f9eb;--el-color-success-dark-2:#529b2e;--el-color-warning:#e6a23c;--el-color-warning-light-3:#eebe77;--el-color-warning-light-5:#f3d19e;--el-color-warning-light-7:#f8e3c5;--el-color-warning-light-8:#faecd8;--el-color-warning-light-9:#fdf6ec;--el-color-warning-dark-2:#b88230;--el-color-danger:#f56c6c;--el-color-danger-light-3:#f89898;--el-color-danger-light-5:#fab6b6;--el-color-danger-light-7:#fcd3d3;--el-color-danger-light-8:#fde2e2;--el-color-danger-light-9:#fef0f0;--el-color-danger-dark-2:#c45656;--el-color-error:#f56c6c;--el-color-error-light-3:#f89898;--el-color-error-light-5:#fab6b6;--el-color-error-light-7:#fcd3d3;--el-color-error-light-8:#fde2e2;--el-color-error-light-9:#fef0f0;--el-color-error-dark-2:#c45656;--el-color-info:#909399;--el-color-info-light-3:#b1b3b8;--el-color-info-light-5:#c8c9cc;--el-color-info-light-7:#dedfe0;--el-color-info-light-8:#e9e9eb;--el-color-info-light-9:#f4f4f5;--el-color-info-dark-2:#73767a;--el-bg-color:#fff;--el-bg-color-page:#f2f3f5;--el-bg-color-overlay:#fff;--el-text-color-primary:#303133;--el-text-color-regular:#606266;--el-text-color-secondary:#909399;--el-text-color-placeholder:#a8abb2;--el-text-color-disabled:#c0c4cc;--el-border-color:#dcdfe6;--el-border-color-light:#e4e7ed;--el-border-color-lighter:#ebeef5;--el-border-color-extra-light:#f2f6fc;--el-border-color-dark:#d4d7de;--el-border-color-darker:#cdd0d6;--el-fill-color:#f0f2f5;--el-fill-color-light:#f5f7fa;--el-fill-color-lighter:#fafafa;--el-fill-color-extra-light:#fafcff;--el-fill-color-dark:#ebedf0;--el-fill-color-darker:#e6e8eb;--el-fill-color-blank:#fff;--el-box-shadow:0px 12px 32px 4px #0000000a,0px 8px 20px #00000014;--el-box-shadow-light:0px 0px 12px #0000001f;--el-box-shadow-lighter:0px 0px 6px #0000001f;--el-box-shadow-dark:0px 16px 48px 16px #00000014,0px 12px 32px #0000001f,0px 8px 16px -8px #00000029;--el-disabled-bg-color:var(--el-fill-color-light);--el-disabled-text-color:var(--el-text-color-placeholder);--el-disabled-border-color:var(--el-border-color-light);--el-overlay-color:#000c;--el-overlay-color-light:#000000b3;--el-overlay-color-lighter:#00000080;--el-mask-color:#ffffffe6;--el-mask-color-extra-light:#ffffff4d;--el-border-width:1px;--el-border-style:solid;--el-border-color-hover:var(--el-text-color-disabled);--el-border:var(--el-border-width) var(--el-border-style) var(--el-border-color);--el-svg-monochrome-grey:var(--el-border-color)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transform-origin:center top;transition:var(--el-transition-md-fade)}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transform-origin:center bottom;transition:var(--el-transition-md-fade)}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transform-origin:top left;transition:var(--el-transition-md-fade)}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-enter-active,.el-collapse-transition-leave-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-icon-loading{animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.el-icon{--color:inherit;align-items:center;display:inline-flex;height:1em;justify-content:center;line-height:1em;position:relative;width:1em;fill:currentColor;color:var(--color);font-size:inherit}.el-icon.is-loading{animation:rotating 2s linear infinite}.el-icon svg{height:1em;width:1em}.el-affix--fixed{position:fixed}.el-alert{--el-alert-padding:8px 16px;--el-alert-border-radius-base:var(--el-border-radius-base);--el-alert-title-font-size:14px;--el-alert-title-with-description-font-size:16px;--el-alert-description-font-size:14px;--el-alert-close-font-size:16px;--el-alert-close-customed-font-size:14px;--el-alert-icon-size:16px;--el-alert-icon-large-size:28px;align-items:center;background-color:var(--el-color-white);border-radius:var(--el-alert-border-radius-base);box-sizing:border-box;display:flex;margin:0;opacity:1;overflow:hidden;padding:var(--el-alert-padding);position:relative;transition:opacity var(--el-transition-duration-fast);width:100%}.el-alert.is-light .el-alert__close-btn{color:var(--el-text-color-placeholder)}.el-alert.is-dark .el-alert__close-btn,.el-alert.is-dark .el-alert__description{color:var(--el-color-white)}.el-alert.is-center{justify-content:center}.el-alert--success{--el-alert-bg-color:var(--el-color-success-light-9)}.el-alert--success.is-light{background-color:var(--el-alert-bg-color)}.el-alert--success.is-light,.el-alert--success.is-light .el-alert__description{color:var(--el-color-success)}.el-alert--success.is-dark{background-color:var(--el-color-success);color:var(--el-color-white)}.el-alert--info{--el-alert-bg-color:var(--el-color-info-light-9)}.el-alert--info.is-light{background-color:var(--el-alert-bg-color)}.el-alert--info.is-light,.el-alert--info.is-light .el-alert__description{color:var(--el-color-info)}.el-alert--info.is-dark{background-color:var(--el-color-info);color:var(--el-color-white)}.el-alert--warning{--el-alert-bg-color:var(--el-color-warning-light-9)}.el-alert--warning.is-light{background-color:var(--el-alert-bg-color)}.el-alert--warning.is-light,.el-alert--warning.is-light .el-alert__description{color:var(--el-color-warning)}.el-alert--warning.is-dark{background-color:var(--el-color-warning);color:var(--el-color-white)}.el-alert--error{--el-alert-bg-color:var(--el-color-error-light-9)}.el-alert--error.is-light{background-color:var(--el-alert-bg-color)}.el-alert--error.is-light,.el-alert--error.is-light .el-alert__description{color:var(--el-color-error)}.el-alert--error.is-dark{background-color:var(--el-color-error);color:var(--el-color-white)}.el-alert__content{display:flex;flex-direction:column;gap:4px}.el-alert .el-alert__icon{font-size:var(--el-alert-icon-size);margin-right:8px;width:var(--el-alert-icon-size)}.el-alert .el-alert__icon.is-big{font-size:var(--el-alert-icon-large-size);margin-right:12px;width:var(--el-alert-icon-large-size)}.el-alert__title{font-size:var(--el-alert-title-font-size);line-height:24px}.el-alert__title.with-description{font-size:var(--el-alert-title-with-description-font-size)}.el-alert .el-alert__description{font-size:var(--el-alert-description-font-size);margin:0}.el-alert .el-alert__close-btn{cursor:pointer;font-size:var(--el-alert-close-font-size);opacity:1;position:absolute;right:16px;top:12px}.el-alert .el-alert__close-btn.is-customed{font-size:var(--el-alert-close-customed-font-size);font-style:normal;line-height:24px;top:8px}.el-alert-fade-enter-from,.el-alert-fade-leave-active{opacity:0}.el-aside{box-sizing:border-box;flex-shrink:0;overflow:auto;width:var(--el-aside-width,300px)}.el-autocomplete{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px #0000 inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;display:inline-block;position:relative;width:var(--el-input-width)}.el-autocomplete__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-autocomplete__popper.el-popper,.el-autocomplete__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-autocomplete__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:#0000;border-top-color:#0000}.el-autocomplete__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:#0000;border-right-color:#0000}.el-autocomplete__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:#0000;border-left-color:#0000}.el-autocomplete__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:#0000;border-top-color:#0000}.el-autocomplete-suggestion{border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-autocomplete-suggestion__wrap{box-sizing:border-box;max-height:280px;padding:10px 0}.el-autocomplete-suggestion__list{margin:0;padding:0}.el-autocomplete-suggestion li{color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-base);line-height:34px;list-style:none;margin:0;overflow:hidden;padding:0 20px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.el-autocomplete-suggestion li.highlighted,.el-autocomplete-suggestion li:hover{background-color:var(--el-fill-color-light)}.el-autocomplete-suggestion li.divider{border-top:1px solid var(--el-color-black);margin-top:6px}.el-autocomplete-suggestion li.divider:last-child{margin-bottom:-6px}.el-autocomplete-suggestion.is-loading li{color:var(--el-text-color-secondary);font-size:20px;height:100px;line-height:100px;text-align:center}.el-autocomplete-suggestion.is-loading li:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-autocomplete-suggestion.is-loading li:hover{background-color:var(--el-bg-color-overlay)}.el-autocomplete-suggestion.is-loading .el-icon-loading{vertical-align:middle}.el-avatar{--el-avatar-text-color:var(--el-color-white);--el-avatar-bg-color:var(--el-text-color-disabled);--el-avatar-text-size:14px;--el-avatar-icon-size:18px;--el-avatar-border-radius:var(--el-border-radius-base);--el-avatar-size-large:56px;--el-avatar-size-small:24px;--el-avatar-size:40px;align-items:center;background:var(--el-avatar-bg-color);box-sizing:border-box;color:var(--el-avatar-text-color);display:inline-flex;font-size:var(--el-avatar-text-size);height:var(--el-avatar-size);justify-content:center;outline:none;overflow:hidden;text-align:center;width:var(--el-avatar-size)}.el-avatar>img{display:block;height:100%;width:100%}.el-avatar--circle{border-radius:50%}.el-avatar--square{border-radius:var(--el-avatar-border-radius)}.el-avatar--icon{font-size:var(--el-avatar-icon-size)}.el-avatar--small{--el-avatar-size:24px}.el-avatar--large{--el-avatar-size:56px}.el-backtop{--el-backtop-bg-color:var(--el-bg-color-overlay);--el-backtop-text-color:var(--el-color-primary);--el-backtop-hover-bg-color:var(--el-border-color-extra-light);align-items:center;background-color:var(--el-backtop-bg-color);border-radius:50%;box-shadow:var(--el-box-shadow-lighter);color:var(--el-backtop-text-color);cursor:pointer;display:flex;font-size:20px;height:40px;justify-content:center;position:fixed;width:40px;z-index:5}.el-backtop:hover{background-color:var(--el-backtop-hover-bg-color)}.el-backtop__icon{font-size:20px}.el-badge{--el-badge-bg-color:var(--el-color-danger);--el-badge-radius:10px;--el-badge-font-size:12px;--el-badge-padding:6px;--el-badge-size:18px;display:inline-block;position:relative;vertical-align:middle;width:fit-content}.el-badge__content{align-items:center;background-color:var(--el-badge-bg-color);border:1px solid var(--el-bg-color);border-radius:var(--el-badge-radius);color:var(--el-color-white);display:inline-flex;font-size:var(--el-badge-font-size);height:var(--el-badge-size);justify-content:center;padding:0 var(--el-badge-padding);white-space:nowrap}.el-badge__content.is-fixed{position:absolute;right:calc(1px + var(--el-badge-size)/2);top:0;transform:translateY(-50%) translate(100%);z-index:var(--el-index-normal)}.el-badge__content.is-fixed.is-dot{right:5px}.el-badge__content.is-dot{border-radius:50%;height:8px;padding:0;right:0;width:8px}.el-badge__content.is-hide-zero{display:none}.el-badge__content--primary{background-color:var(--el-color-primary)}.el-badge__content--success{background-color:var(--el-color-success)}.el-badge__content--warning{background-color:var(--el-color-warning)}.el-badge__content--info{background-color:var(--el-color-info)}.el-badge__content--danger{background-color:var(--el-color-danger)}.el-breadcrumb{font-size:14px;line-height:1}.el-breadcrumb:after,.el-breadcrumb:before{content:"";display:table}.el-breadcrumb:after{clear:both}.el-breadcrumb__separator{color:var(--el-text-color-placeholder);font-weight:700;margin:0 9px}.el-breadcrumb__separator.el-icon{font-weight:400;margin:0 6px}.el-breadcrumb__separator.el-icon svg{vertical-align:middle}.el-breadcrumb__item{align-items:center;display:inline-flex;float:left}.el-breadcrumb__inner{color:var(--el-text-color-regular)}.el-breadcrumb__inner a,.el-breadcrumb__inner.is-link{color:var(--el-text-color-primary);font-weight:700;text-decoration:none;transition:var(--el-transition-color)}.el-breadcrumb__inner a:hover,.el-breadcrumb__inner.is-link:hover{color:var(--el-color-primary);cursor:pointer}.el-breadcrumb__item:last-child .el-breadcrumb__inner,.el-breadcrumb__item:last-child .el-breadcrumb__inner a,.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover{color:var(--el-text-color-regular);cursor:text;font-weight:400}.el-breadcrumb__item:last-child .el-breadcrumb__separator{display:none}.el-button-group{display:inline-block;vertical-align:middle}.el-button-group:after,.el-button-group:before{content:"";display:table}.el-button-group:after{clear:both}.el-button-group>.el-button{float:left;position:relative}.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.el-button-group>.el-button:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.el-button-group>.el-button:first-child:last-child{border-bottom-left-radius:var(--el-border-radius-base);border-bottom-right-radius:var(--el-border-radius-base);border-top-left-radius:var(--el-border-radius-base);border-top-right-radius:var(--el-border-radius-base)}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:var(--el-border-radius-round)}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button:not(:last-child){margin-right:-1px}.el-button-group>.el-button.is-active,.el-button-group>.el-button:active,.el-button-group>.el-button:focus,.el-button-group>.el-button:hover{z-index:1}.el-button-group>.el-dropdown>.el-button{border-bottom-left-radius:0;border-left-color:var(--el-button-divide-border-color);border-top-left-radius:0}.el-button-group .el-button--primary:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button{--el-button-font-weight:var(--el-font-weight-primary);--el-button-border-color:var(--el-border-color);--el-button-bg-color:var(--el-fill-color-blank);--el-button-text-color:var(--el-text-color-regular);--el-button-disabled-text-color:var(--el-disabled-text-color);--el-button-disabled-bg-color:var(--el-fill-color-blank);--el-button-disabled-border-color:var(--el-border-color-light);--el-button-divide-border-color:#ffffff80;--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-color-primary-light-9);--el-button-hover-border-color:var(--el-color-primary-light-7);--el-button-active-text-color:var(--el-button-hover-text-color);--el-button-active-border-color:var(--el-color-primary);--el-button-active-bg-color:var(--el-button-hover-bg-color);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-hover-link-text-color:var(--el-text-color-secondary);--el-button-active-color:var(--el-text-color-primary);align-items:center;-webkit-appearance:none;background-color:var(--el-button-bg-color);border:var(--el-border);border-color:var(--el-button-border-color);box-sizing:border-box;color:var(--el-button-text-color);cursor:pointer;display:inline-flex;font-weight:var(--el-button-font-weight);height:32px;justify-content:center;line-height:1;outline:none;text-align:center;transition:.1s;-webkit-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.el-button:hover{background-color:var(--el-button-hover-bg-color);border-color:var(--el-button-hover-border-color);color:var(--el-button-hover-text-color);outline:none}.el-button:active{background-color:var(--el-button-active-bg-color);border-color:var(--el-button-active-border-color);color:var(--el-button-active-text-color);outline:none}.el-button:focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button>span{align-items:center;display:inline-flex}.el-button+.el-button{margin-left:12px}.el-button{border-radius:var(--el-border-radius-base);font-size:var(--el-font-size-base)}.el-button,.el-button.is-round{padding:8px 15px}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon]+span{margin-left:6px}.el-button [class*=el-icon] svg{vertical-align:bottom}.el-button.is-plain{--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-fill-color-blank);--el-button-hover-border-color:var(--el-color-primary)}.el-button.is-active{background-color:var(--el-button-active-bg-color);border-color:var(--el-button-active-border-color);color:var(--el-button-active-text-color);outline:none}.el-button.is-disabled,.el-button.is-disabled:hover{background-color:var(--el-button-disabled-bg-color);background-image:none;border-color:var(--el-button-disabled-border-color);color:var(--el-button-disabled-text-color);cursor:not-allowed}.el-button.is-loading{pointer-events:none;position:relative}.el-button.is-loading:before{background-color:var(--el-mask-color-extra-light);border-radius:inherit;content:"";inset:-1px;pointer-events:none;position:absolute;z-index:1}.el-button.is-round{border-radius:var(--el-border-radius-round)}.el-button.is-circle{border-radius:50%;padding:8px;width:32px}.el-button.is-text{background-color:initial;border:0 solid #0000;color:var(--el-button-text-color)}.el-button.is-text.is-disabled{background-color:initial!important;color:var(--el-button-disabled-text-color)}.el-button.is-text:not(.is-disabled):hover{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled):focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button.is-text:not(.is-disabled):active{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled).is-has-bg:hover{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg:active{background-color:var(--el-fill-color-dark)}.el-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.el-button.is-link{background:#0000;border-color:#0000;color:var(--el-button-text-color);height:auto;padding:2px}.el-button.is-link:hover{color:var(--el-button-hover-link-text-color)}.el-button.is-link.is-disabled{background-color:initial!important;border-color:#0000!important;color:var(--el-button-disabled-text-color)}.el-button.is-link:not(.is-disabled):active,.el-button.is-link:not(.is-disabled):hover{background-color:initial;border-color:#0000}.el-button.is-link:not(.is-disabled):active{color:var(--el-button-active-color)}.el-button--text{background:#0000;border-color:#0000;color:var(--el-color-primary);padding-left:0;padding-right:0}.el-button--text.is-disabled{background-color:initial!important;border-color:#0000!important;color:var(--el-button-disabled-text-color)}.el-button--text:not(.is-disabled):hover{background-color:initial;border-color:#0000;color:var(--el-color-primary-light-3)}.el-button--text:not(.is-disabled):active{background-color:initial;border-color:#0000;color:var(--el-color-primary-dark-2)}.el-button__link--expand{letter-spacing:.3em;margin-right:-.3em}.el-button--primary{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-primary);--el-button-border-color:var(--el-color-primary);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-active-color:var(--el-color-primary-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-primary-light-5);--el-button-hover-bg-color:var(--el-color-primary-light-3);--el-button-hover-border-color:var(--el-color-primary-light-3);--el-button-active-bg-color:var(--el-color-primary-dark-2);--el-button-active-border-color:var(--el-color-primary-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-primary-light-5);--el-button-disabled-border-color:var(--el-color-primary-light-5)}.el-button--primary.is-link,.el-button--primary.is-plain,.el-button--primary.is-text{--el-button-text-color:var(--el-color-primary);--el-button-bg-color:var(--el-color-primary-light-9);--el-button-border-color:var(--el-color-primary-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-primary);--el-button-hover-border-color:var(--el-color-primary);--el-button-active-text-color:var(--el-color-white)}.el-button--primary.is-link.is-disabled,.el-button--primary.is-link.is-disabled:active,.el-button--primary.is-link.is-disabled:focus,.el-button--primary.is-link.is-disabled:hover,.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover,.el-button--primary.is-text.is-disabled,.el-button--primary.is-text.is-disabled:active,.el-button--primary.is-text.is-disabled:focus,.el-button--primary.is-text.is-disabled:hover{background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8);color:var(--el-color-primary-light-5)}.el-button--success{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-success);--el-button-border-color:var(--el-color-success);--el-button-outline-color:var(--el-color-success-light-5);--el-button-active-color:var(--el-color-success-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-success-light-5);--el-button-hover-bg-color:var(--el-color-success-light-3);--el-button-hover-border-color:var(--el-color-success-light-3);--el-button-active-bg-color:var(--el-color-success-dark-2);--el-button-active-border-color:var(--el-color-success-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-success-light-5);--el-button-disabled-border-color:var(--el-color-success-light-5)}.el-button--success.is-link,.el-button--success.is-plain,.el-button--success.is-text{--el-button-text-color:var(--el-color-success);--el-button-bg-color:var(--el-color-success-light-9);--el-button-border-color:var(--el-color-success-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-success);--el-button-hover-border-color:var(--el-color-success);--el-button-active-text-color:var(--el-color-white)}.el-button--success.is-link.is-disabled,.el-button--success.is-link.is-disabled:active,.el-button--success.is-link.is-disabled:focus,.el-button--success.is-link.is-disabled:hover,.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover,.el-button--success.is-text.is-disabled,.el-button--success.is-text.is-disabled:active,.el-button--success.is-text.is-disabled:focus,.el-button--success.is-text.is-disabled:hover{background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8);color:var(--el-color-success-light-5)}.el-button--warning{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-warning);--el-button-border-color:var(--el-color-warning);--el-button-outline-color:var(--el-color-warning-light-5);--el-button-active-color:var(--el-color-warning-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-warning-light-5);--el-button-hover-bg-color:var(--el-color-warning-light-3);--el-button-hover-border-color:var(--el-color-warning-light-3);--el-button-active-bg-color:var(--el-color-warning-dark-2);--el-button-active-border-color:var(--el-color-warning-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-warning-light-5);--el-button-disabled-border-color:var(--el-color-warning-light-5)}.el-button--warning.is-link,.el-button--warning.is-plain,.el-button--warning.is-text{--el-button-text-color:var(--el-color-warning);--el-button-bg-color:var(--el-color-warning-light-9);--el-button-border-color:var(--el-color-warning-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-warning);--el-button-hover-border-color:var(--el-color-warning);--el-button-active-text-color:var(--el-color-white)}.el-button--warning.is-link.is-disabled,.el-button--warning.is-link.is-disabled:active,.el-button--warning.is-link.is-disabled:focus,.el-button--warning.is-link.is-disabled:hover,.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover,.el-button--warning.is-text.is-disabled,.el-button--warning.is-text.is-disabled:active,.el-button--warning.is-text.is-disabled:focus,.el-button--warning.is-text.is-disabled:hover{background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8);color:var(--el-color-warning-light-5)}.el-button--danger{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-danger);--el-button-border-color:var(--el-color-danger);--el-button-outline-color:var(--el-color-danger-light-5);--el-button-active-color:var(--el-color-danger-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-danger-light-5);--el-button-hover-bg-color:var(--el-color-danger-light-3);--el-button-hover-border-color:var(--el-color-danger-light-3);--el-button-active-bg-color:var(--el-color-danger-dark-2);--el-button-active-border-color:var(--el-color-danger-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-danger-light-5);--el-button-disabled-border-color:var(--el-color-danger-light-5)}.el-button--danger.is-link,.el-button--danger.is-plain,.el-button--danger.is-text{--el-button-text-color:var(--el-color-danger);--el-button-bg-color:var(--el-color-danger-light-9);--el-button-border-color:var(--el-color-danger-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-danger);--el-button-hover-border-color:var(--el-color-danger);--el-button-active-text-color:var(--el-color-white)}.el-button--danger.is-link.is-disabled,.el-button--danger.is-link.is-disabled:active,.el-button--danger.is-link.is-disabled:focus,.el-button--danger.is-link.is-disabled:hover,.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover,.el-button--danger.is-text.is-disabled,.el-button--danger.is-text.is-disabled:active,.el-button--danger.is-text.is-disabled:focus,.el-button--danger.is-text.is-disabled:hover{background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8);color:var(--el-color-danger-light-5)}.el-button--info{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-info);--el-button-border-color:var(--el-color-info);--el-button-outline-color:var(--el-color-info-light-5);--el-button-active-color:var(--el-color-info-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-info-light-5);--el-button-hover-bg-color:var(--el-color-info-light-3);--el-button-hover-border-color:var(--el-color-info-light-3);--el-button-active-bg-color:var(--el-color-info-dark-2);--el-button-active-border-color:var(--el-color-info-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-info-light-5);--el-button-disabled-border-color:var(--el-color-info-light-5)}.el-button--info.is-link,.el-button--info.is-plain,.el-button--info.is-text{--el-button-text-color:var(--el-color-info);--el-button-bg-color:var(--el-color-info-light-9);--el-button-border-color:var(--el-color-info-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-info);--el-button-hover-border-color:var(--el-color-info);--el-button-active-text-color:var(--el-color-white)}.el-button--info.is-link.is-disabled,.el-button--info.is-link.is-disabled:active,.el-button--info.is-link.is-disabled:focus,.el-button--info.is-link.is-disabled:hover,.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover,.el-button--info.is-text.is-disabled,.el-button--info.is-text.is-disabled:active,.el-button--info.is-text.is-disabled:focus,.el-button--info.is-text.is-disabled:hover{background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8);color:var(--el-color-info-light-5)}.el-button--large{--el-button-size:40px;height:var(--el-button-size)}.el-button--large [class*=el-icon]+span{margin-left:8px}.el-button--large{border-radius:var(--el-border-radius-base);font-size:var(--el-font-size-base);padding:12px 19px}.el-button--large.is-round{padding:12px 19px}.el-button--large.is-circle{padding:12px;width:var(--el-button-size)}.el-button--small{--el-button-size:24px;height:var(--el-button-size)}.el-button--small [class*=el-icon]+span{margin-left:4px}.el-button--small{border-radius:calc(var(--el-border-radius-base) - 1px);font-size:12px;padding:5px 11px}.el-button--small.is-round{padding:5px 11px}.el-button--small.is-circle{padding:5px;width:var(--el-button-size)}.el-calendar{--el-calendar-border:var(--el-table-border,1px solid var(--el-border-color-lighter));--el-calendar-header-border-bottom:var(--el-calendar-border);--el-calendar-selected-bg-color:var(--el-color-primary-light-9);--el-calendar-cell-width:85px;background-color:var(--el-fill-color-blank)}.el-calendar__header{border-bottom:var(--el-calendar-header-border-bottom);display:flex;justify-content:space-between;padding:12px 20px}.el-calendar__title{align-self:center;color:var(--el-text-color)}.el-calendar__body{padding:12px 20px 35px}.el-calendar-table{table-layout:fixed;width:100%}.el-calendar-table thead th{color:var(--el-text-color-regular);font-weight:400;padding:12px 0}.el-calendar-table:not(.is-range) td.next,.el-calendar-table:not(.is-range) td.prev{color:var(--el-text-color-placeholder)}.el-calendar-table td{border-bottom:var(--el-calendar-border);border-right:var(--el-calendar-border);transition:background-color var(--el-transition-duration-fast) ease;vertical-align:top}.el-calendar-table td.is-selected{background-color:var(--el-calendar-selected-bg-color)}.el-calendar-table td.is-today{color:var(--el-color-primary)}.el-calendar-table tr:first-child td{border-top:var(--el-calendar-border)}.el-calendar-table tr td:first-child{border-left:var(--el-calendar-border)}.el-calendar-table tr.el-calendar-table__row--hide-border td{border-top:none}.el-calendar-table .el-calendar-day{box-sizing:border-box;height:var(--el-calendar-cell-width);padding:8px}.el-calendar-table .el-calendar-day:hover{background-color:var(--el-calendar-selected-bg-color);cursor:pointer}.el-card{--el-card-border-color:var(--el-border-color-light);--el-card-border-radius:4px;--el-card-padding:20px;--el-card-bg-color:var(--el-fill-color-blank);background-color:var(--el-card-bg-color);border:1px solid var(--el-card-border-color);border-radius:var(--el-card-border-radius);color:var(--el-text-color-primary);overflow:hidden;transition:var(--el-transition-duration)}.el-card.is-always-shadow,.el-card.is-hover-shadow:focus,.el-card.is-hover-shadow:hover{box-shadow:var(--el-box-shadow-light)}.el-card__header{border-bottom:1px solid var(--el-card-border-color);box-sizing:border-box;padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding)}.el-card__body{padding:var(--el-card-padding)}.el-card__footer{border-top:1px solid var(--el-card-border-color);box-sizing:border-box;padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding)}.el-carousel__item{display:inline-block;height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%}.el-carousel__item,.el-carousel__item.is-active{z-index:calc(var(--el-index-normal) - 1)}.el-carousel__item--card,.el-carousel__item.is-animating{transition:transform .4s ease-in-out}.el-carousel__item--card{width:50%}.el-carousel__item--card.is-in-stage{cursor:pointer;z-index:var(--el-index-normal)}.el-carousel__item--card.is-in-stage.is-hover .el-carousel__mask,.el-carousel__item--card.is-in-stage:hover .el-carousel__mask{opacity:.12}.el-carousel__item--card.is-active{z-index:calc(var(--el-index-normal) + 1)}.el-carousel__item--card-vertical{height:50%;width:100%}.el-carousel__mask{background-color:var(--el-color-white);height:100%;left:0;opacity:.24;position:absolute;top:0;transition:var(--el-transition-duration-fast);width:100%}.el-carousel{--el-carousel-arrow-font-size:12px;--el-carousel-arrow-size:36px;--el-carousel-arrow-background:#1f2d3d1c;--el-carousel-arrow-hover-background:#1f2d3d3b;--el-carousel-indicator-width:30px;--el-carousel-indicator-height:2px;--el-carousel-indicator-padding-horizontal:4px;--el-carousel-indicator-padding-vertical:12px;--el-carousel-indicator-out-color:var(--el-border-color-hover);position:relative}.el-carousel--horizontal,.el-carousel--vertical{overflow:hidden}.el-carousel__container{height:300px;position:relative}.el-carousel__arrow{align-items:center;background-color:var(--el-carousel-arrow-background);border:none;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;font-size:var(--el-carousel-arrow-font-size);height:var(--el-carousel-arrow-size);justify-content:center;margin:0;outline:none;padding:0;position:absolute;text-align:center;top:50%;transform:translateY(-50%);transition:var(--el-transition-duration);width:var(--el-carousel-arrow-size);z-index:10}.el-carousel__arrow--left{left:16px}.el-carousel__arrow--right{right:16px}.el-carousel__arrow:hover{background-color:var(--el-carousel-arrow-hover-background)}.el-carousel__arrow i{cursor:pointer}.el-carousel__indicators{list-style:none;margin:0;padding:0;position:absolute;z-index:calc(var(--el-index-normal) + 1)}.el-carousel__indicators--horizontal{bottom:0;left:50%;transform:translate(-50%)}.el-carousel__indicators--vertical{right:0;top:50%;transform:translateY(-50%)}.el-carousel__indicators--outside{bottom:calc(var(--el-carousel-indicator-height) + var(--el-carousel-indicator-padding-vertical)*2);position:static;text-align:center;transform:none}.el-carousel__indicators--outside .el-carousel__indicator:hover button{opacity:.64}.el-carousel__indicators--outside button{background-color:var(--el-carousel-indicator-out-color);opacity:.24}.el-carousel__indicators--right{right:0}.el-carousel__indicators--labels{left:0;right:0;text-align:center;transform:none}.el-carousel__indicators--labels .el-carousel__button{color:#000;font-size:12px;height:auto;padding:2px 18px;width:auto}.el-carousel__indicators--labels .el-carousel__indicator{padding:6px 4px}.el-carousel__indicator{background-color:initial;cursor:pointer}.el-carousel__indicator:hover button{opacity:.72}.el-carousel__indicator--horizontal{display:inline-block;padding:var(--el-carousel-indicator-padding-vertical) var(--el-carousel-indicator-padding-horizontal)}.el-carousel__indicator--vertical{padding:var(--el-carousel-indicator-padding-horizontal) var(--el-carousel-indicator-padding-vertical)}.el-carousel__indicator--vertical .el-carousel__button{height:calc(var(--el-carousel-indicator-width)/2);width:var(--el-carousel-indicator-height)}.el-carousel__indicator.is-active button{opacity:1}.el-carousel__button{background-color:#fff;border:none;cursor:pointer;display:block;height:var(--el-carousel-indicator-height);margin:0;opacity:.48;outline:none;padding:0;transition:var(--el-transition-duration);width:var(--el-carousel-indicator-width)}.carousel-arrow-left-enter-from,.carousel-arrow-left-leave-active{opacity:0;transform:translateY(-50%) translate(-10px)}.carousel-arrow-right-enter-from,.carousel-arrow-right-leave-active{opacity:0;transform:translateY(-50%) translate(10px)}.el-transitioning{filter:url(#elCarouselHorizontal)}.el-transitioning-vertical{filter:url(#elCarouselVertical)}.el-cascader-panel{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);border-radius:var(--el-cascader-menu-radius);display:flex;font-size:var(--el-cascader-menu-font-size)}.el-cascader-panel.is-bordered{border:var(--el-cascader-menu-border);border-radius:var(--el-cascader-menu-radius)}.el-cascader-menu{border-right:var(--el-cascader-menu-border);box-sizing:border-box;color:var(--el-cascader-menu-text-color);min-width:180px}.el-cascader-menu:last-child{border-right:none}.el-cascader-menu:last-child .el-cascader-node{padding-right:20px}.el-cascader-menu__wrap.el-scrollbar__wrap{height:204px}.el-cascader-menu__list{box-sizing:border-box;list-style:none;margin:0;min-height:100%;padding:6px 0;position:relative}.el-cascader-menu__hover-zone{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.el-cascader-menu__empty-text{align-items:center;color:var(--el-cascader-color-empty);display:flex;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.el-cascader-menu__empty-text .is-loading{margin-right:2px}.el-cascader-node{align-items:center;display:flex;height:34px;line-height:34px;outline:none;padding:0 30px 0 20px;position:relative}.el-cascader-node.is-selectable.in-active-path{color:var(--el-cascader-menu-text-color)}.el-cascader-node.in-active-path,.el-cascader-node.is-active,.el-cascader-node.is-selectable.in-checked-path{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader-node:not(.is-disabled){cursor:pointer}.el-cascader-node:not(.is-disabled):focus,.el-cascader-node:not(.is-disabled):hover{background:var(--el-cascader-node-background-hover)}.el-cascader-node.is-disabled{color:var(--el-cascader-node-color-disabled);cursor:not-allowed}.el-cascader-node__prefix{left:10px;position:absolute}.el-cascader-node__postfix{position:absolute;right:10px}.el-cascader-node__label{flex:1;overflow:hidden;padding:0 8px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.el-cascader-node>.el-checkbox,.el-cascader-node>.el-radio{margin-right:0}.el-cascader-node>.el-radio .el-radio__label{padding-left:0}.el-cascader{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);display:inline-block;font-size:var(--el-font-size-base);line-height:32px;outline:none;position:relative;vertical-align:middle}.el-cascader:not(.is-disabled):hover .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset;cursor:pointer}.el-cascader .el-input{cursor:pointer;display:flex}.el-cascader .el-input .el-input__inner{cursor:pointer;text-overflow:ellipsis}.el-cascader .el-input .el-input__suffix-inner .el-icon{height:calc(100% - 2px)}.el-cascader .el-input .el-input__suffix-inner .el-icon svg{vertical-align:middle}.el-cascader .el-input .icon-arrow-down{font-size:14px;transition:transform var(--el-transition-duration)}.el-cascader .el-input .icon-arrow-down.is-reverse{transform:rotate(180deg)}.el-cascader .el-input .icon-circle-close:hover{color:var(--el-input-clear-hover-color,var(--el-text-color-secondary))}.el-cascader .el-input.is-focus .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-cascader--large{font-size:14px;line-height:40px}.el-cascader--large .el-cascader__tags{gap:6px;padding:8px}.el-cascader--large .el-cascader__search-input{height:24px;margin-left:7px}.el-cascader--small{font-size:12px;line-height:24px}.el-cascader--small .el-cascader__tags{gap:4px;padding:2px}.el-cascader--small .el-cascader__search-input{height:20px;margin-left:5px}.el-cascader.is-disabled .el-cascader__label{color:var(--el-disabled-text-color);z-index:calc(var(--el-index-normal) + 1)}.el-cascader__dropdown{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);border-radius:var(--el-cascader-menu-radius);font-size:var(--el-cascader-menu-font-size)}.el-cascader__dropdown.el-popper{background:var(--el-cascader-menu-fill)}.el-cascader__dropdown.el-popper,.el-cascader__dropdown.el-popper .el-popper__arrow:before{border:var(--el-cascader-menu-border)}.el-cascader__dropdown.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:#0000;border-top-color:#0000}.el-cascader__dropdown.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:#0000;border-right-color:#0000}.el-cascader__dropdown.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:#0000;border-left-color:#0000}.el-cascader__dropdown.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:#0000;border-top-color:#0000}.el-cascader__dropdown.el-popper{box-shadow:var(--el-cascader-menu-shadow)}.el-cascader__tags{box-sizing:border-box;display:flex;flex-wrap:wrap;gap:6px;left:0;line-height:normal;padding:4px;position:absolute;right:30px;text-align:left;top:50%;transform:translateY(-50%)}.el-cascader__tags .el-tag{align-items:center;background:var(--el-cascader-tag-background);display:inline-flex;max-width:100%;text-overflow:ellipsis}.el-cascader__tags .el-tag.el-tag--dark,.el-cascader__tags .el-tag.el-tag--plain{background-color:var(--el-tag-bg-color)}.el-cascader__tags .el-tag:not(.is-hit){border-color:#0000}.el-cascader__tags .el-tag:not(.is-hit).el-tag--dark,.el-cascader__tags .el-tag:not(.is-hit).el-tag--plain{border-color:var(--el-tag-border-color)}.el-cascader__tags .el-tag>span{flex:1;overflow:hidden;text-overflow:ellipsis}.el-cascader__tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);color:var(--el-color-white);flex:none}.el-cascader__tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__tags .el-tag+input{margin-left:0}.el-cascader__tags.is-validate{right:55px}.el-cascader__collapse-tags{white-space:normal;z-index:var(--el-index-normal)}.el-cascader__collapse-tags .el-tag{align-items:center;background:var(--el-fill-color);display:inline-flex;max-width:100%;text-overflow:ellipsis}.el-cascader__collapse-tags .el-tag.el-tag--dark,.el-cascader__collapse-tags .el-tag.el-tag--plain{background-color:var(--el-tag-bg-color)}.el-cascader__collapse-tags .el-tag:not(.is-hit){border-color:#0000}.el-cascader__collapse-tags .el-tag:not(.is-hit).el-tag--dark,.el-cascader__collapse-tags .el-tag:not(.is-hit).el-tag--plain{border-color:var(--el-tag-border-color)}.el-cascader__collapse-tags .el-tag>span{flex:1;overflow:hidden;text-overflow:ellipsis}.el-cascader__collapse-tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);color:var(--el-color-white);flex:none}.el-cascader__collapse-tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__collapse-tags .el-tag+input{margin-left:0}.el-cascader__suggestion-panel{border-radius:var(--el-cascader-menu-radius)}.el-cascader__suggestion-list{color:var(--el-cascader-menu-text-color);font-size:var(--el-font-size-base);margin:0;max-height:204px;padding:6px 0;text-align:center}.el-cascader__suggestion-item{align-items:center;cursor:pointer;display:flex;height:34px;justify-content:space-between;outline:none;padding:0 15px;text-align:left}.el-cascader__suggestion-item:focus,.el-cascader__suggestion-item:hover{background:var(--el-cascader-node-background-hover)}.el-cascader__suggestion-item.is-checked{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader__suggestion-item>span{margin-right:10px}.el-cascader__empty-text{color:var(--el-cascader-color-empty);margin:10px 0}.el-cascader__search-input{background:#0000;border:none;box-sizing:border-box;color:var(--el-cascader-menu-text-color);flex:1;height:24px;margin-left:7px;min-width:60px;outline:none;padding:0}.el-cascader__search-input::placeholder{color:#0000}.el-check-tag{background-color:var(--el-color-info-light-9);border-radius:var(--el-border-radius-base);color:var(--el-color-info);cursor:pointer;display:inline-block;font-size:var(--el-font-size-base);font-weight:700;line-height:var(--el-font-size-base);padding:7px 15px;transition:var(--el-transition-all)}.el-check-tag:hover{background-color:var(--el-color-info-light-7)}.el-check-tag.el-check-tag--primary.is-checked{background-color:var(--el-color-primary-light-8);color:var(--el-color-primary)}.el-check-tag.el-check-tag--primary.is-checked:hover{background-color:var(--el-color-primary-light-7)}.el-check-tag.el-check-tag--primary.is-checked.is-disabled{background-color:var(--el-color-primary-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--primary.is-checked.is-disabled:hover{background-color:var(--el-color-primary-light-8)}.el-check-tag.el-check-tag--primary.is-disabled{background-color:var(--el-color-info-light-9);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--primary.is-disabled:hover{background-color:var(--el-color-info-light-9)}.el-check-tag.el-check-tag--success.is-checked{background-color:var(--el-color-success-light-8);color:var(--el-color-success)}.el-check-tag.el-check-tag--success.is-checked:hover{background-color:var(--el-color-success-light-7)}.el-check-tag.el-check-tag--success.is-checked.is-disabled{background-color:var(--el-color-success-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--success.is-checked.is-disabled:hover{background-color:var(--el-color-success-light-8)}.el-check-tag.el-check-tag--success.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--success.is-disabled,.el-check-tag.el-check-tag--success.is-disabled:hover{background-color:var(--el-color-success-light-9)}.el-check-tag.el-check-tag--warning.is-checked{background-color:var(--el-color-warning-light-8);color:var(--el-color-warning)}.el-check-tag.el-check-tag--warning.is-checked:hover{background-color:var(--el-color-warning-light-7)}.el-check-tag.el-check-tag--warning.is-checked.is-disabled{background-color:var(--el-color-warning-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--warning.is-checked.is-disabled:hover{background-color:var(--el-color-warning-light-8)}.el-check-tag.el-check-tag--warning.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--warning.is-disabled,.el-check-tag.el-check-tag--warning.is-disabled:hover{background-color:var(--el-color-warning-light-9)}.el-check-tag.el-check-tag--danger.is-checked{background-color:var(--el-color-danger-light-8);color:var(--el-color-danger)}.el-check-tag.el-check-tag--danger.is-checked:hover{background-color:var(--el-color-danger-light-7)}.el-check-tag.el-check-tag--danger.is-checked.is-disabled{background-color:var(--el-color-danger-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--danger.is-checked.is-disabled:hover{background-color:var(--el-color-danger-light-8)}.el-check-tag.el-check-tag--danger.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--danger.is-disabled,.el-check-tag.el-check-tag--danger.is-disabled:hover{background-color:var(--el-color-danger-light-9)}.el-check-tag.el-check-tag--error.is-checked{background-color:var(--el-color-error-light-8);color:var(--el-color-error)}.el-check-tag.el-check-tag--error.is-checked:hover{background-color:var(--el-color-error-light-7)}.el-check-tag.el-check-tag--error.is-checked.is-disabled{background-color:var(--el-color-error-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--error.is-checked.is-disabled:hover{background-color:var(--el-color-error-light-8)}.el-check-tag.el-check-tag--error.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--error.is-disabled,.el-check-tag.el-check-tag--error.is-disabled:hover{background-color:var(--el-color-error-light-9)}.el-check-tag.el-check-tag--info.is-checked{background-color:var(--el-color-info-light-8);color:var(--el-color-info)}.el-check-tag.el-check-tag--info.is-checked:hover{background-color:var(--el-color-info-light-7)}.el-check-tag.el-check-tag--info.is-checked.is-disabled{background-color:var(--el-color-info-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--info.is-checked.is-disabled:hover{background-color:var(--el-color-info-light-8)}.el-check-tag.el-check-tag--info.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--info.is-disabled,.el-check-tag.el-check-tag--info.is-disabled:hover{background-color:var(--el-color-info-light-9)}.el-checkbox-button{--el-checkbox-button-checked-bg-color:var(--el-color-primary);--el-checkbox-button-checked-text-color:var(--el-color-white);--el-checkbox-button-checked-border-color:var(--el-color-primary);display:inline-block;position:relative}.el-checkbox-button__inner{-webkit-appearance:none;background:var(--el-button-bg-color,var(--el-fill-color-blank));border:var(--el-border);border-left-color:#0000;border-radius:0;box-sizing:border-box;color:var(--el-button-text-color,var(--el-text-color-regular));cursor:pointer;display:inline-block;font-size:var(--el-font-size-base);font-weight:var(--el-checkbox-font-weight);line-height:1;margin:0;outline:none;padding:8px 15px;position:relative;text-align:center;transition:var(--el-transition-all);-webkit-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.el-checkbox-button__inner.is-round{padding:8px 15px}.el-checkbox-button__inner:hover{color:var(--el-color-primary)}.el-checkbox-button__inner [class*=el-icon-]{line-height:.9}.el-checkbox-button__inner [class*=el-icon-]+span{margin-left:5px}.el-checkbox-button__original{margin:0;opacity:0;outline:none;position:absolute;z-index:-1}.el-checkbox-button.is-checked .el-checkbox-button__inner{background-color:var(--el-checkbox-button-checked-bg-color);border-color:var(--el-checkbox-button-checked-border-color);box-shadow:-1px 0 0 0 var(--el-color-primary-light-7);color:var(--el-checkbox-button-checked-text-color)}.el-checkbox-button.is-checked:first-child .el-checkbox-button__inner{border-left-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button.is-disabled .el-checkbox-button__inner{background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));background-image:none;border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none;color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox-button.is-disabled:first-child .el-checkbox-button__inner{border-left-color:var(--el-button-disabled-border-color,var(--el-border-color-light))}.el-checkbox-button:first-child .el-checkbox-button__inner{border-bottom-left-radius:var(--el-border-radius-base);border-left:var(--el-border);border-top-left-radius:var(--el-border-radius-base);box-shadow:none!important}.el-checkbox-button.is-focus .el-checkbox-button__inner{border-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button:last-child .el-checkbox-button__inner{border-bottom-right-radius:var(--el-border-radius-base);border-top-right-radius:var(--el-border-radius-base)}.el-checkbox-button--large .el-checkbox-button__inner{border-radius:0;font-size:var(--el-font-size-base);padding:12px 19px}.el-checkbox-button--large .el-checkbox-button__inner.is-round{padding:12px 19px}.el-checkbox-button--small .el-checkbox-button__inner{border-radius:0;font-size:12px;padding:5px 11px}.el-checkbox-button--small .el-checkbox-button__inner.is-round{padding:5px 11px}.el-checkbox-group{font-size:0;line-height:0}.el-checkbox{--el-checkbox-font-size:14px;--el-checkbox-font-weight:var(--el-font-weight-primary);--el-checkbox-text-color:var(--el-text-color-regular);--el-checkbox-input-height:14px;--el-checkbox-input-width:14px;--el-checkbox-border-radius:var(--el-border-radius-small);--el-checkbox-bg-color:var(--el-fill-color-blank);--el-checkbox-input-border:var(--el-border);--el-checkbox-disabled-border-color:var(--el-border-color);--el-checkbox-disabled-input-fill:var(--el-fill-color-light);--el-checkbox-disabled-icon-color:var(--el-text-color-placeholder);--el-checkbox-disabled-checked-input-fill:var(--el-border-color-extra-light);--el-checkbox-disabled-checked-input-border-color:var(--el-border-color);--el-checkbox-disabled-checked-icon-color:var(--el-text-color-placeholder);--el-checkbox-checked-text-color:var(--el-color-primary);--el-checkbox-checked-input-border-color:var(--el-color-primary);--el-checkbox-checked-bg-color:var(--el-color-primary);--el-checkbox-checked-icon-color:var(--el-color-white);--el-checkbox-input-border-color-hover:var(--el-color-primary);align-items:center;color:var(--el-checkbox-text-color);cursor:pointer;display:inline-flex;font-size:var(--el-font-size-base);font-weight:var(--el-checkbox-font-weight);height:var(--el-checkbox-height,32px);margin-right:30px;position:relative;-webkit-user-select:none;user-select:none;white-space:nowrap}.el-checkbox.is-disabled{cursor:not-allowed}.el-checkbox.is-bordered{border:var(--el-border);border-radius:var(--el-border-radius-base);box-sizing:border-box;padding:0 15px 0 9px}.el-checkbox.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-checkbox.is-bordered.is-disabled{border-color:var(--el-border-color-lighter)}.el-checkbox.is-bordered.el-checkbox--large{border-radius:var(--el-border-radius-base);padding:0 19px 0 11px}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__label{font-size:var(--el-font-size-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__inner{height:14px;width:14px}.el-checkbox.is-bordered.el-checkbox--small{border-radius:calc(var(--el-border-radius-base) - 1px);padding:0 11px 0 7px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox input:focus-visible+.el-checkbox__inner{border-radius:var(--el-checkbox-border-radius);outline:2px solid var(--el-checkbox-input-border-color-hover);outline-offset:1px}.el-checkbox__input{cursor:pointer;display:inline-flex;outline:none;position:relative;white-space:nowrap}.el-checkbox__input.is-disabled .el-checkbox__inner{background-color:var(--el-checkbox-disabled-input-fill);border-color:var(--el-checkbox-disabled-border-color);cursor:not-allowed}.el-checkbox__input.is-disabled .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-icon-color);cursor:not-allowed}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-disabled-checked-icon-color);border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled+span.el-checkbox__label{color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox__input.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-checked-icon-color);transform:rotate(45deg) scaleY(1)}.el-checkbox__input.is-checked+.el-checkbox__label{color:var(--el-checkbox-checked-text-color)}.el-checkbox__input.is-focus:not(.is-checked) .el-checkbox__original:not(:focus-visible){border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-checked-icon-color);content:"";display:block;height:2px;left:0;position:absolute;right:0;top:5px;transform:scale(.5)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__inner{background-color:var(--el-checkbox-bg-color);border:var(--el-checkbox-input-border);border-radius:var(--el-checkbox-border-radius);box-sizing:border-box;display:inline-block;height:var(--el-checkbox-input-height);position:relative;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46),outline .25s cubic-bezier(.71,-.46,.29,1.46);width:var(--el-checkbox-input-width);z-index:var(--el-index-normal)}.el-checkbox__inner:hover{border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__inner:after{border:1px solid #0000;border-left:0;border-top:0;box-sizing:initial;content:"";height:7px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);transform-origin:center;transition:transform .15s ease-in .05s;width:3px}.el-checkbox__original{height:0;margin:0;opacity:0;outline:none;position:absolute;width:0;z-index:-1}.el-checkbox__label{display:inline-block;font-size:var(--el-checkbox-font-size);line-height:1;padding-left:8px}.el-checkbox.el-checkbox--large{height:40px}.el-checkbox.el-checkbox--large .el-checkbox__label{font-size:14px}.el-checkbox.el-checkbox--large .el-checkbox__inner{height:14px;width:14px}.el-checkbox.el-checkbox--small{height:24px}.el-checkbox.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.el-checkbox--small .el-checkbox__input.is-indeterminate .el-checkbox__inner:before{top:4px}.el-checkbox.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox:last-of-type{margin-right:0}[class*=el-col-]{box-sizing:border-box}[class*=el-col-].is-guttered{display:block;min-height:1px}.el-col-0{flex:0 0 0%;max-width:0}.el-col-0,.el-col-0.is-guttered{display:none}.el-col-offset-0{margin-left:0}.el-col-pull-0{position:relative;right:0}.el-col-push-0{left:0;position:relative}.el-col-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-1,.el-col-1.is-guttered{display:block}.el-col-offset-1{margin-left:4.1666666667%}.el-col-pull-1{position:relative;right:4.1666666667%}.el-col-push-1{left:4.1666666667%;position:relative}.el-col-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-2,.el-col-2.is-guttered{display:block}.el-col-offset-2{margin-left:8.3333333333%}.el-col-pull-2{position:relative;right:8.3333333333%}.el-col-push-2{left:8.3333333333%;position:relative}.el-col-3{flex:0 0 12.5%;max-width:12.5%}.el-col-3,.el-col-3.is-guttered{display:block}.el-col-offset-3{margin-left:12.5%}.el-col-pull-3{position:relative;right:12.5%}.el-col-push-3{left:12.5%;position:relative}.el-col-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-4,.el-col-4.is-guttered{display:block}.el-col-offset-4{margin-left:16.6666666667%}.el-col-pull-4{position:relative;right:16.6666666667%}.el-col-push-4{left:16.6666666667%;position:relative}.el-col-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-5,.el-col-5.is-guttered{display:block}.el-col-offset-5{margin-left:20.8333333333%}.el-col-pull-5{position:relative;right:20.8333333333%}.el-col-push-5{left:20.8333333333%;position:relative}.el-col-6{flex:0 0 25%;max-width:25%}.el-col-6,.el-col-6.is-guttered{display:block}.el-col-offset-6{margin-left:25%}.el-col-pull-6{position:relative;right:25%}.el-col-push-6{left:25%;position:relative}.el-col-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-7,.el-col-7.is-guttered{display:block}.el-col-offset-7{margin-left:29.1666666667%}.el-col-pull-7{position:relative;right:29.1666666667%}.el-col-push-7{left:29.1666666667%;position:relative}.el-col-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-8,.el-col-8.is-guttered{display:block}.el-col-offset-8{margin-left:33.3333333333%}.el-col-pull-8{position:relative;right:33.3333333333%}.el-col-push-8{left:33.3333333333%;position:relative}.el-col-9{flex:0 0 37.5%;max-width:37.5%}.el-col-9,.el-col-9.is-guttered{display:block}.el-col-offset-9{margin-left:37.5%}.el-col-pull-9{position:relative;right:37.5%}.el-col-push-9{left:37.5%;position:relative}.el-col-10{flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-10,.el-col-10.is-guttered{display:block}.el-col-offset-10{margin-left:41.6666666667%}.el-col-pull-10{position:relative;right:41.6666666667%}.el-col-push-10{left:41.6666666667%;position:relative}.el-col-11{flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-11,.el-col-11.is-guttered{display:block}.el-col-offset-11{margin-left:45.8333333333%}.el-col-pull-11{position:relative;right:45.8333333333%}.el-col-push-11{left:45.8333333333%;position:relative}.el-col-12{flex:0 0 50%;max-width:50%}.el-col-12,.el-col-12.is-guttered{display:block}.el-col-offset-12{margin-left:50%}.el-col-pull-12{position:relative;right:50%}.el-col-push-12{left:50%;position:relative}.el-col-13{flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-13,.el-col-13.is-guttered{display:block}.el-col-offset-13{margin-left:54.1666666667%}.el-col-pull-13{position:relative;right:54.1666666667%}.el-col-push-13{left:54.1666666667%;position:relative}.el-col-14{flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-14,.el-col-14.is-guttered{display:block}.el-col-offset-14{margin-left:58.3333333333%}.el-col-pull-14{position:relative;right:58.3333333333%}.el-col-push-14{left:58.3333333333%;position:relative}.el-col-15{flex:0 0 62.5%;max-width:62.5%}.el-col-15,.el-col-15.is-guttered{display:block}.el-col-offset-15{margin-left:62.5%}.el-col-pull-15{position:relative;right:62.5%}.el-col-push-15{left:62.5%;position:relative}.el-col-16{flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-16,.el-col-16.is-guttered{display:block}.el-col-offset-16{margin-left:66.6666666667%}.el-col-pull-16{position:relative;right:66.6666666667%}.el-col-push-16{left:66.6666666667%;position:relative}.el-col-17{flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-17,.el-col-17.is-guttered{display:block}.el-col-offset-17{margin-left:70.8333333333%}.el-col-pull-17{position:relative;right:70.8333333333%}.el-col-push-17{left:70.8333333333%;position:relative}.el-col-18{flex:0 0 75%;max-width:75%}.el-col-18,.el-col-18.is-guttered{display:block}.el-col-offset-18{margin-left:75%}.el-col-pull-18{position:relative;right:75%}.el-col-push-18{left:75%;position:relative}.el-col-19{flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-19,.el-col-19.is-guttered{display:block}.el-col-offset-19{margin-left:79.1666666667%}.el-col-pull-19{position:relative;right:79.1666666667%}.el-col-push-19{left:79.1666666667%;position:relative}.el-col-20{flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-20,.el-col-20.is-guttered{display:block}.el-col-offset-20{margin-left:83.3333333333%}.el-col-pull-20{position:relative;right:83.3333333333%}.el-col-push-20{left:83.3333333333%;position:relative}.el-col-21{flex:0 0 87.5%;max-width:87.5%}.el-col-21,.el-col-21.is-guttered{display:block}.el-col-offset-21{margin-left:87.5%}.el-col-pull-21{position:relative;right:87.5%}.el-col-push-21{left:87.5%;position:relative}.el-col-22{flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-22,.el-col-22.is-guttered{display:block}.el-col-offset-22{margin-left:91.6666666667%}.el-col-pull-22{position:relative;right:91.6666666667%}.el-col-push-22{left:91.6666666667%;position:relative}.el-col-23{flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-23,.el-col-23.is-guttered{display:block}.el-col-offset-23{margin-left:95.8333333333%}.el-col-pull-23{position:relative;right:95.8333333333%}.el-col-push-23{left:95.8333333333%;position:relative}.el-col-24{flex:0 0 100%;max-width:100%}.el-col-24,.el-col-24.is-guttered{display:block}.el-col-offset-24{margin-left:100%}.el-col-pull-24{position:relative;right:100%}.el-col-push-24{left:100%;position:relative}@media only screen and (max-width:767px){.el-col-xs-0{display:none;flex:0 0 0%;max-width:0}.el-col-xs-0.is-guttered{display:none}.el-col-xs-offset-0{margin-left:0}.el-col-xs-pull-0{position:relative;right:0}.el-col-xs-push-0{left:0;position:relative}.el-col-xs-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-xs-1,.el-col-xs-1.is-guttered{display:block}.el-col-xs-offset-1{margin-left:4.1666666667%}.el-col-xs-pull-1{position:relative;right:4.1666666667%}.el-col-xs-push-1{left:4.1666666667%;position:relative}.el-col-xs-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-xs-2,.el-col-xs-2.is-guttered{display:block}.el-col-xs-offset-2{margin-left:8.3333333333%}.el-col-xs-pull-2{position:relative;right:8.3333333333%}.el-col-xs-push-2{left:8.3333333333%;position:relative}.el-col-xs-3{flex:0 0 12.5%;max-width:12.5%}.el-col-xs-3,.el-col-xs-3.is-guttered{display:block}.el-col-xs-offset-3{margin-left:12.5%}.el-col-xs-pull-3{position:relative;right:12.5%}.el-col-xs-push-3{left:12.5%;position:relative}.el-col-xs-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-xs-4,.el-col-xs-4.is-guttered{display:block}.el-col-xs-offset-4{margin-left:16.6666666667%}.el-col-xs-pull-4{position:relative;right:16.6666666667%}.el-col-xs-push-4{left:16.6666666667%;position:relative}.el-col-xs-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-xs-5,.el-col-xs-5.is-guttered{display:block}.el-col-xs-offset-5{margin-left:20.8333333333%}.el-col-xs-pull-5{position:relative;right:20.8333333333%}.el-col-xs-push-5{left:20.8333333333%;position:relative}.el-col-xs-6{flex:0 0 25%;max-width:25%}.el-col-xs-6,.el-col-xs-6.is-guttered{display:block}.el-col-xs-offset-6{margin-left:25%}.el-col-xs-pull-6{position:relative;right:25%}.el-col-xs-push-6{left:25%;position:relative}.el-col-xs-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-xs-7,.el-col-xs-7.is-guttered{display:block}.el-col-xs-offset-7{margin-left:29.1666666667%}.el-col-xs-pull-7{position:relative;right:29.1666666667%}.el-col-xs-push-7{left:29.1666666667%;position:relative}.el-col-xs-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-xs-8,.el-col-xs-8.is-guttered{display:block}.el-col-xs-offset-8{margin-left:33.3333333333%}.el-col-xs-pull-8{position:relative;right:33.3333333333%}.el-col-xs-push-8{left:33.3333333333%;position:relative}.el-col-xs-9{flex:0 0 37.5%;max-width:37.5%}.el-col-xs-9,.el-col-xs-9.is-guttered{display:block}.el-col-xs-offset-9{margin-left:37.5%}.el-col-xs-pull-9{position:relative;right:37.5%}.el-col-xs-push-9{left:37.5%;position:relative}.el-col-xs-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-xs-10.is-guttered{display:block}.el-col-xs-offset-10{margin-left:41.6666666667%}.el-col-xs-pull-10{position:relative;right:41.6666666667%}.el-col-xs-push-10{left:41.6666666667%;position:relative}.el-col-xs-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-xs-11.is-guttered{display:block}.el-col-xs-offset-11{margin-left:45.8333333333%}.el-col-xs-pull-11{position:relative;right:45.8333333333%}.el-col-xs-push-11{left:45.8333333333%;position:relative}.el-col-xs-12{display:block;flex:0 0 50%;max-width:50%}.el-col-xs-12.is-guttered{display:block}.el-col-xs-offset-12{margin-left:50%}.el-col-xs-pull-12{position:relative;right:50%}.el-col-xs-push-12{left:50%;position:relative}.el-col-xs-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-xs-13.is-guttered{display:block}.el-col-xs-offset-13{margin-left:54.1666666667%}.el-col-xs-pull-13{position:relative;right:54.1666666667%}.el-col-xs-push-13{left:54.1666666667%;position:relative}.el-col-xs-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-xs-14.is-guttered{display:block}.el-col-xs-offset-14{margin-left:58.3333333333%}.el-col-xs-pull-14{position:relative;right:58.3333333333%}.el-col-xs-push-14{left:58.3333333333%;position:relative}.el-col-xs-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-xs-15.is-guttered{display:block}.el-col-xs-offset-15{margin-left:62.5%}.el-col-xs-pull-15{position:relative;right:62.5%}.el-col-xs-push-15{left:62.5%;position:relative}.el-col-xs-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-xs-16.is-guttered{display:block}.el-col-xs-offset-16{margin-left:66.6666666667%}.el-col-xs-pull-16{position:relative;right:66.6666666667%}.el-col-xs-push-16{left:66.6666666667%;position:relative}.el-col-xs-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-xs-17.is-guttered{display:block}.el-col-xs-offset-17{margin-left:70.8333333333%}.el-col-xs-pull-17{position:relative;right:70.8333333333%}.el-col-xs-push-17{left:70.8333333333%;position:relative}.el-col-xs-18{display:block;flex:0 0 75%;max-width:75%}.el-col-xs-18.is-guttered{display:block}.el-col-xs-offset-18{margin-left:75%}.el-col-xs-pull-18{position:relative;right:75%}.el-col-xs-push-18{left:75%;position:relative}.el-col-xs-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-xs-19.is-guttered{display:block}.el-col-xs-offset-19{margin-left:79.1666666667%}.el-col-xs-pull-19{position:relative;right:79.1666666667%}.el-col-xs-push-19{left:79.1666666667%;position:relative}.el-col-xs-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-xs-20.is-guttered{display:block}.el-col-xs-offset-20{margin-left:83.3333333333%}.el-col-xs-pull-20{position:relative;right:83.3333333333%}.el-col-xs-push-20{left:83.3333333333%;position:relative}.el-col-xs-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-xs-21.is-guttered{display:block}.el-col-xs-offset-21{margin-left:87.5%}.el-col-xs-pull-21{position:relative;right:87.5%}.el-col-xs-push-21{left:87.5%;position:relative}.el-col-xs-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-xs-22.is-guttered{display:block}.el-col-xs-offset-22{margin-left:91.6666666667%}.el-col-xs-pull-22{position:relative;right:91.6666666667%}.el-col-xs-push-22{left:91.6666666667%;position:relative}.el-col-xs-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-xs-23.is-guttered{display:block}.el-col-xs-offset-23{margin-left:95.8333333333%}.el-col-xs-pull-23{position:relative;right:95.8333333333%}.el-col-xs-push-23{left:95.8333333333%;position:relative}.el-col-xs-24{display:block;flex:0 0 100%;max-width:100%}.el-col-xs-24.is-guttered{display:block}.el-col-xs-offset-24{margin-left:100%}.el-col-xs-pull-24{position:relative;right:100%}.el-col-xs-push-24{left:100%;position:relative}}@media only screen and (min-width:768px){.el-col-sm-0{display:none;flex:0 0 0%;max-width:0}.el-col-sm-0.is-guttered{display:none}.el-col-sm-offset-0{margin-left:0}.el-col-sm-pull-0{position:relative;right:0}.el-col-sm-push-0{left:0;position:relative}.el-col-sm-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-sm-1,.el-col-sm-1.is-guttered{display:block}.el-col-sm-offset-1{margin-left:4.1666666667%}.el-col-sm-pull-1{position:relative;right:4.1666666667%}.el-col-sm-push-1{left:4.1666666667%;position:relative}.el-col-sm-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-sm-2,.el-col-sm-2.is-guttered{display:block}.el-col-sm-offset-2{margin-left:8.3333333333%}.el-col-sm-pull-2{position:relative;right:8.3333333333%}.el-col-sm-push-2{left:8.3333333333%;position:relative}.el-col-sm-3{flex:0 0 12.5%;max-width:12.5%}.el-col-sm-3,.el-col-sm-3.is-guttered{display:block}.el-col-sm-offset-3{margin-left:12.5%}.el-col-sm-pull-3{position:relative;right:12.5%}.el-col-sm-push-3{left:12.5%;position:relative}.el-col-sm-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-sm-4,.el-col-sm-4.is-guttered{display:block}.el-col-sm-offset-4{margin-left:16.6666666667%}.el-col-sm-pull-4{position:relative;right:16.6666666667%}.el-col-sm-push-4{left:16.6666666667%;position:relative}.el-col-sm-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-sm-5,.el-col-sm-5.is-guttered{display:block}.el-col-sm-offset-5{margin-left:20.8333333333%}.el-col-sm-pull-5{position:relative;right:20.8333333333%}.el-col-sm-push-5{left:20.8333333333%;position:relative}.el-col-sm-6{flex:0 0 25%;max-width:25%}.el-col-sm-6,.el-col-sm-6.is-guttered{display:block}.el-col-sm-offset-6{margin-left:25%}.el-col-sm-pull-6{position:relative;right:25%}.el-col-sm-push-6{left:25%;position:relative}.el-col-sm-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-sm-7,.el-col-sm-7.is-guttered{display:block}.el-col-sm-offset-7{margin-left:29.1666666667%}.el-col-sm-pull-7{position:relative;right:29.1666666667%}.el-col-sm-push-7{left:29.1666666667%;position:relative}.el-col-sm-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-sm-8,.el-col-sm-8.is-guttered{display:block}.el-col-sm-offset-8{margin-left:33.3333333333%}.el-col-sm-pull-8{position:relative;right:33.3333333333%}.el-col-sm-push-8{left:33.3333333333%;position:relative}.el-col-sm-9{flex:0 0 37.5%;max-width:37.5%}.el-col-sm-9,.el-col-sm-9.is-guttered{display:block}.el-col-sm-offset-9{margin-left:37.5%}.el-col-sm-pull-9{position:relative;right:37.5%}.el-col-sm-push-9{left:37.5%;position:relative}.el-col-sm-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-sm-10.is-guttered{display:block}.el-col-sm-offset-10{margin-left:41.6666666667%}.el-col-sm-pull-10{position:relative;right:41.6666666667%}.el-col-sm-push-10{left:41.6666666667%;position:relative}.el-col-sm-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-sm-11.is-guttered{display:block}.el-col-sm-offset-11{margin-left:45.8333333333%}.el-col-sm-pull-11{position:relative;right:45.8333333333%}.el-col-sm-push-11{left:45.8333333333%;position:relative}.el-col-sm-12{display:block;flex:0 0 50%;max-width:50%}.el-col-sm-12.is-guttered{display:block}.el-col-sm-offset-12{margin-left:50%}.el-col-sm-pull-12{position:relative;right:50%}.el-col-sm-push-12{left:50%;position:relative}.el-col-sm-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-sm-13.is-guttered{display:block}.el-col-sm-offset-13{margin-left:54.1666666667%}.el-col-sm-pull-13{position:relative;right:54.1666666667%}.el-col-sm-push-13{left:54.1666666667%;position:relative}.el-col-sm-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-sm-14.is-guttered{display:block}.el-col-sm-offset-14{margin-left:58.3333333333%}.el-col-sm-pull-14{position:relative;right:58.3333333333%}.el-col-sm-push-14{left:58.3333333333%;position:relative}.el-col-sm-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-sm-15.is-guttered{display:block}.el-col-sm-offset-15{margin-left:62.5%}.el-col-sm-pull-15{position:relative;right:62.5%}.el-col-sm-push-15{left:62.5%;position:relative}.el-col-sm-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-sm-16.is-guttered{display:block}.el-col-sm-offset-16{margin-left:66.6666666667%}.el-col-sm-pull-16{position:relative;right:66.6666666667%}.el-col-sm-push-16{left:66.6666666667%;position:relative}.el-col-sm-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-sm-17.is-guttered{display:block}.el-col-sm-offset-17{margin-left:70.8333333333%}.el-col-sm-pull-17{position:relative;right:70.8333333333%}.el-col-sm-push-17{left:70.8333333333%;position:relative}.el-col-sm-18{display:block;flex:0 0 75%;max-width:75%}.el-col-sm-18.is-guttered{display:block}.el-col-sm-offset-18{margin-left:75%}.el-col-sm-pull-18{position:relative;right:75%}.el-col-sm-push-18{left:75%;position:relative}.el-col-sm-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-sm-19.is-guttered{display:block}.el-col-sm-offset-19{margin-left:79.1666666667%}.el-col-sm-pull-19{position:relative;right:79.1666666667%}.el-col-sm-push-19{left:79.1666666667%;position:relative}.el-col-sm-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-sm-20.is-guttered{display:block}.el-col-sm-offset-20{margin-left:83.3333333333%}.el-col-sm-pull-20{position:relative;right:83.3333333333%}.el-col-sm-push-20{left:83.3333333333%;position:relative}.el-col-sm-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-sm-21.is-guttered{display:block}.el-col-sm-offset-21{margin-left:87.5%}.el-col-sm-pull-21{position:relative;right:87.5%}.el-col-sm-push-21{left:87.5%;position:relative}.el-col-sm-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-sm-22.is-guttered{display:block}.el-col-sm-offset-22{margin-left:91.6666666667%}.el-col-sm-pull-22{position:relative;right:91.6666666667%}.el-col-sm-push-22{left:91.6666666667%;position:relative}.el-col-sm-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-sm-23.is-guttered{display:block}.el-col-sm-offset-23{margin-left:95.8333333333%}.el-col-sm-pull-23{position:relative;right:95.8333333333%}.el-col-sm-push-23{left:95.8333333333%;position:relative}.el-col-sm-24{display:block;flex:0 0 100%;max-width:100%}.el-col-sm-24.is-guttered{display:block}.el-col-sm-offset-24{margin-left:100%}.el-col-sm-pull-24{position:relative;right:100%}.el-col-sm-push-24{left:100%;position:relative}}@media only screen and (min-width:992px){.el-col-md-0{display:none;flex:0 0 0%;max-width:0}.el-col-md-0.is-guttered{display:none}.el-col-md-offset-0{margin-left:0}.el-col-md-pull-0{position:relative;right:0}.el-col-md-push-0{left:0;position:relative}.el-col-md-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-md-1,.el-col-md-1.is-guttered{display:block}.el-col-md-offset-1{margin-left:4.1666666667%}.el-col-md-pull-1{position:relative;right:4.1666666667%}.el-col-md-push-1{left:4.1666666667%;position:relative}.el-col-md-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-md-2,.el-col-md-2.is-guttered{display:block}.el-col-md-offset-2{margin-left:8.3333333333%}.el-col-md-pull-2{position:relative;right:8.3333333333%}.el-col-md-push-2{left:8.3333333333%;position:relative}.el-col-md-3{flex:0 0 12.5%;max-width:12.5%}.el-col-md-3,.el-col-md-3.is-guttered{display:block}.el-col-md-offset-3{margin-left:12.5%}.el-col-md-pull-3{position:relative;right:12.5%}.el-col-md-push-3{left:12.5%;position:relative}.el-col-md-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-md-4,.el-col-md-4.is-guttered{display:block}.el-col-md-offset-4{margin-left:16.6666666667%}.el-col-md-pull-4{position:relative;right:16.6666666667%}.el-col-md-push-4{left:16.6666666667%;position:relative}.el-col-md-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-md-5,.el-col-md-5.is-guttered{display:block}.el-col-md-offset-5{margin-left:20.8333333333%}.el-col-md-pull-5{position:relative;right:20.8333333333%}.el-col-md-push-5{left:20.8333333333%;position:relative}.el-col-md-6{flex:0 0 25%;max-width:25%}.el-col-md-6,.el-col-md-6.is-guttered{display:block}.el-col-md-offset-6{margin-left:25%}.el-col-md-pull-6{position:relative;right:25%}.el-col-md-push-6{left:25%;position:relative}.el-col-md-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-md-7,.el-col-md-7.is-guttered{display:block}.el-col-md-offset-7{margin-left:29.1666666667%}.el-col-md-pull-7{position:relative;right:29.1666666667%}.el-col-md-push-7{left:29.1666666667%;position:relative}.el-col-md-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-md-8,.el-col-md-8.is-guttered{display:block}.el-col-md-offset-8{margin-left:33.3333333333%}.el-col-md-pull-8{position:relative;right:33.3333333333%}.el-col-md-push-8{left:33.3333333333%;position:relative}.el-col-md-9{flex:0 0 37.5%;max-width:37.5%}.el-col-md-9,.el-col-md-9.is-guttered{display:block}.el-col-md-offset-9{margin-left:37.5%}.el-col-md-pull-9{position:relative;right:37.5%}.el-col-md-push-9{left:37.5%;position:relative}.el-col-md-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-md-10.is-guttered{display:block}.el-col-md-offset-10{margin-left:41.6666666667%}.el-col-md-pull-10{position:relative;right:41.6666666667%}.el-col-md-push-10{left:41.6666666667%;position:relative}.el-col-md-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-md-11.is-guttered{display:block}.el-col-md-offset-11{margin-left:45.8333333333%}.el-col-md-pull-11{position:relative;right:45.8333333333%}.el-col-md-push-11{left:45.8333333333%;position:relative}.el-col-md-12{display:block;flex:0 0 50%;max-width:50%}.el-col-md-12.is-guttered{display:block}.el-col-md-offset-12{margin-left:50%}.el-col-md-pull-12{position:relative;right:50%}.el-col-md-push-12{left:50%;position:relative}.el-col-md-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-md-13.is-guttered{display:block}.el-col-md-offset-13{margin-left:54.1666666667%}.el-col-md-pull-13{position:relative;right:54.1666666667%}.el-col-md-push-13{left:54.1666666667%;position:relative}.el-col-md-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-md-14.is-guttered{display:block}.el-col-md-offset-14{margin-left:58.3333333333%}.el-col-md-pull-14{position:relative;right:58.3333333333%}.el-col-md-push-14{left:58.3333333333%;position:relative}.el-col-md-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-md-15.is-guttered{display:block}.el-col-md-offset-15{margin-left:62.5%}.el-col-md-pull-15{position:relative;right:62.5%}.el-col-md-push-15{left:62.5%;position:relative}.el-col-md-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-md-16.is-guttered{display:block}.el-col-md-offset-16{margin-left:66.6666666667%}.el-col-md-pull-16{position:relative;right:66.6666666667%}.el-col-md-push-16{left:66.6666666667%;position:relative}.el-col-md-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-md-17.is-guttered{display:block}.el-col-md-offset-17{margin-left:70.8333333333%}.el-col-md-pull-17{position:relative;right:70.8333333333%}.el-col-md-push-17{left:70.8333333333%;position:relative}.el-col-md-18{display:block;flex:0 0 75%;max-width:75%}.el-col-md-18.is-guttered{display:block}.el-col-md-offset-18{margin-left:75%}.el-col-md-pull-18{position:relative;right:75%}.el-col-md-push-18{left:75%;position:relative}.el-col-md-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-md-19.is-guttered{display:block}.el-col-md-offset-19{margin-left:79.1666666667%}.el-col-md-pull-19{position:relative;right:79.1666666667%}.el-col-md-push-19{left:79.1666666667%;position:relative}.el-col-md-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-md-20.is-guttered{display:block}.el-col-md-offset-20{margin-left:83.3333333333%}.el-col-md-pull-20{position:relative;right:83.3333333333%}.el-col-md-push-20{left:83.3333333333%;position:relative}.el-col-md-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-md-21.is-guttered{display:block}.el-col-md-offset-21{margin-left:87.5%}.el-col-md-pull-21{position:relative;right:87.5%}.el-col-md-push-21{left:87.5%;position:relative}.el-col-md-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-md-22.is-guttered{display:block}.el-col-md-offset-22{margin-left:91.6666666667%}.el-col-md-pull-22{position:relative;right:91.6666666667%}.el-col-md-push-22{left:91.6666666667%;position:relative}.el-col-md-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-md-23.is-guttered{display:block}.el-col-md-offset-23{margin-left:95.8333333333%}.el-col-md-pull-23{position:relative;right:95.8333333333%}.el-col-md-push-23{left:95.8333333333%;position:relative}.el-col-md-24{display:block;flex:0 0 100%;max-width:100%}.el-col-md-24.is-guttered{display:block}.el-col-md-offset-24{margin-left:100%}.el-col-md-pull-24{position:relative;right:100%}.el-col-md-push-24{left:100%;position:relative}}@media only screen and (min-width:1200px){.el-col-lg-0{display:none;flex:0 0 0%;max-width:0}.el-col-lg-0.is-guttered{display:none}.el-col-lg-offset-0{margin-left:0}.el-col-lg-pull-0{position:relative;right:0}.el-col-lg-push-0{left:0;position:relative}.el-col-lg-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-lg-1,.el-col-lg-1.is-guttered{display:block}.el-col-lg-offset-1{margin-left:4.1666666667%}.el-col-lg-pull-1{position:relative;right:4.1666666667%}.el-col-lg-push-1{left:4.1666666667%;position:relative}.el-col-lg-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-lg-2,.el-col-lg-2.is-guttered{display:block}.el-col-lg-offset-2{margin-left:8.3333333333%}.el-col-lg-pull-2{position:relative;right:8.3333333333%}.el-col-lg-push-2{left:8.3333333333%;position:relative}.el-col-lg-3{flex:0 0 12.5%;max-width:12.5%}.el-col-lg-3,.el-col-lg-3.is-guttered{display:block}.el-col-lg-offset-3{margin-left:12.5%}.el-col-lg-pull-3{position:relative;right:12.5%}.el-col-lg-push-3{left:12.5%;position:relative}.el-col-lg-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-lg-4,.el-col-lg-4.is-guttered{display:block}.el-col-lg-offset-4{margin-left:16.6666666667%}.el-col-lg-pull-4{position:relative;right:16.6666666667%}.el-col-lg-push-4{left:16.6666666667%;position:relative}.el-col-lg-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-lg-5,.el-col-lg-5.is-guttered{display:block}.el-col-lg-offset-5{margin-left:20.8333333333%}.el-col-lg-pull-5{position:relative;right:20.8333333333%}.el-col-lg-push-5{left:20.8333333333%;position:relative}.el-col-lg-6{flex:0 0 25%;max-width:25%}.el-col-lg-6,.el-col-lg-6.is-guttered{display:block}.el-col-lg-offset-6{margin-left:25%}.el-col-lg-pull-6{position:relative;right:25%}.el-col-lg-push-6{left:25%;position:relative}.el-col-lg-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-lg-7,.el-col-lg-7.is-guttered{display:block}.el-col-lg-offset-7{margin-left:29.1666666667%}.el-col-lg-pull-7{position:relative;right:29.1666666667%}.el-col-lg-push-7{left:29.1666666667%;position:relative}.el-col-lg-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-lg-8,.el-col-lg-8.is-guttered{display:block}.el-col-lg-offset-8{margin-left:33.3333333333%}.el-col-lg-pull-8{position:relative;right:33.3333333333%}.el-col-lg-push-8{left:33.3333333333%;position:relative}.el-col-lg-9{flex:0 0 37.5%;max-width:37.5%}.el-col-lg-9,.el-col-lg-9.is-guttered{display:block}.el-col-lg-offset-9{margin-left:37.5%}.el-col-lg-pull-9{position:relative;right:37.5%}.el-col-lg-push-9{left:37.5%;position:relative}.el-col-lg-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-lg-10.is-guttered{display:block}.el-col-lg-offset-10{margin-left:41.6666666667%}.el-col-lg-pull-10{position:relative;right:41.6666666667%}.el-col-lg-push-10{left:41.6666666667%;position:relative}.el-col-lg-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-lg-11.is-guttered{display:block}.el-col-lg-offset-11{margin-left:45.8333333333%}.el-col-lg-pull-11{position:relative;right:45.8333333333%}.el-col-lg-push-11{left:45.8333333333%;position:relative}.el-col-lg-12{display:block;flex:0 0 50%;max-width:50%}.el-col-lg-12.is-guttered{display:block}.el-col-lg-offset-12{margin-left:50%}.el-col-lg-pull-12{position:relative;right:50%}.el-col-lg-push-12{left:50%;position:relative}.el-col-lg-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-lg-13.is-guttered{display:block}.el-col-lg-offset-13{margin-left:54.1666666667%}.el-col-lg-pull-13{position:relative;right:54.1666666667%}.el-col-lg-push-13{left:54.1666666667%;position:relative}.el-col-lg-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-lg-14.is-guttered{display:block}.el-col-lg-offset-14{margin-left:58.3333333333%}.el-col-lg-pull-14{position:relative;right:58.3333333333%}.el-col-lg-push-14{left:58.3333333333%;position:relative}.el-col-lg-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-lg-15.is-guttered{display:block}.el-col-lg-offset-15{margin-left:62.5%}.el-col-lg-pull-15{position:relative;right:62.5%}.el-col-lg-push-15{left:62.5%;position:relative}.el-col-lg-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-lg-16.is-guttered{display:block}.el-col-lg-offset-16{margin-left:66.6666666667%}.el-col-lg-pull-16{position:relative;right:66.6666666667%}.el-col-lg-push-16{left:66.6666666667%;position:relative}.el-col-lg-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-lg-17.is-guttered{display:block}.el-col-lg-offset-17{margin-left:70.8333333333%}.el-col-lg-pull-17{position:relative;right:70.8333333333%}.el-col-lg-push-17{left:70.8333333333%;position:relative}.el-col-lg-18{display:block;flex:0 0 75%;max-width:75%}.el-col-lg-18.is-guttered{display:block}.el-col-lg-offset-18{margin-left:75%}.el-col-lg-pull-18{position:relative;right:75%}.el-col-lg-push-18{left:75%;position:relative}.el-col-lg-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-lg-19.is-guttered{display:block}.el-col-lg-offset-19{margin-left:79.1666666667%}.el-col-lg-pull-19{position:relative;right:79.1666666667%}.el-col-lg-push-19{left:79.1666666667%;position:relative}.el-col-lg-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-lg-20.is-guttered{display:block}.el-col-lg-offset-20{margin-left:83.3333333333%}.el-col-lg-pull-20{position:relative;right:83.3333333333%}.el-col-lg-push-20{left:83.3333333333%;position:relative}.el-col-lg-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-lg-21.is-guttered{display:block}.el-col-lg-offset-21{margin-left:87.5%}.el-col-lg-pull-21{position:relative;right:87.5%}.el-col-lg-push-21{left:87.5%;position:relative}.el-col-lg-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-lg-22.is-guttered{display:block}.el-col-lg-offset-22{margin-left:91.6666666667%}.el-col-lg-pull-22{position:relative;right:91.6666666667%}.el-col-lg-push-22{left:91.6666666667%;position:relative}.el-col-lg-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-lg-23.is-guttered{display:block}.el-col-lg-offset-23{margin-left:95.8333333333%}.el-col-lg-pull-23{position:relative;right:95.8333333333%}.el-col-lg-push-23{left:95.8333333333%;position:relative}.el-col-lg-24{display:block;flex:0 0 100%;max-width:100%}.el-col-lg-24.is-guttered{display:block}.el-col-lg-offset-24{margin-left:100%}.el-col-lg-pull-24{position:relative;right:100%}.el-col-lg-push-24{left:100%;position:relative}}@media only screen and (min-width:1920px){.el-col-xl-0{display:none;flex:0 0 0%;max-width:0}.el-col-xl-0.is-guttered{display:none}.el-col-xl-offset-0{margin-left:0}.el-col-xl-pull-0{position:relative;right:0}.el-col-xl-push-0{left:0;position:relative}.el-col-xl-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-xl-1,.el-col-xl-1.is-guttered{display:block}.el-col-xl-offset-1{margin-left:4.1666666667%}.el-col-xl-pull-1{position:relative;right:4.1666666667%}.el-col-xl-push-1{left:4.1666666667%;position:relative}.el-col-xl-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-xl-2,.el-col-xl-2.is-guttered{display:block}.el-col-xl-offset-2{margin-left:8.3333333333%}.el-col-xl-pull-2{position:relative;right:8.3333333333%}.el-col-xl-push-2{left:8.3333333333%;position:relative}.el-col-xl-3{flex:0 0 12.5%;max-width:12.5%}.el-col-xl-3,.el-col-xl-3.is-guttered{display:block}.el-col-xl-offset-3{margin-left:12.5%}.el-col-xl-pull-3{position:relative;right:12.5%}.el-col-xl-push-3{left:12.5%;position:relative}.el-col-xl-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-xl-4,.el-col-xl-4.is-guttered{display:block}.el-col-xl-offset-4{margin-left:16.6666666667%}.el-col-xl-pull-4{position:relative;right:16.6666666667%}.el-col-xl-push-4{left:16.6666666667%;position:relative}.el-col-xl-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-xl-5,.el-col-xl-5.is-guttered{display:block}.el-col-xl-offset-5{margin-left:20.8333333333%}.el-col-xl-pull-5{position:relative;right:20.8333333333%}.el-col-xl-push-5{left:20.8333333333%;position:relative}.el-col-xl-6{flex:0 0 25%;max-width:25%}.el-col-xl-6,.el-col-xl-6.is-guttered{display:block}.el-col-xl-offset-6{margin-left:25%}.el-col-xl-pull-6{position:relative;right:25%}.el-col-xl-push-6{left:25%;position:relative}.el-col-xl-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-xl-7,.el-col-xl-7.is-guttered{display:block}.el-col-xl-offset-7{margin-left:29.1666666667%}.el-col-xl-pull-7{position:relative;right:29.1666666667%}.el-col-xl-push-7{left:29.1666666667%;position:relative}.el-col-xl-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-xl-8,.el-col-xl-8.is-guttered{display:block}.el-col-xl-offset-8{margin-left:33.3333333333%}.el-col-xl-pull-8{position:relative;right:33.3333333333%}.el-col-xl-push-8{left:33.3333333333%;position:relative}.el-col-xl-9{flex:0 0 37.5%;max-width:37.5%}.el-col-xl-9,.el-col-xl-9.is-guttered{display:block}.el-col-xl-offset-9{margin-left:37.5%}.el-col-xl-pull-9{position:relative;right:37.5%}.el-col-xl-push-9{left:37.5%;position:relative}.el-col-xl-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-xl-10.is-guttered{display:block}.el-col-xl-offset-10{margin-left:41.6666666667%}.el-col-xl-pull-10{position:relative;right:41.6666666667%}.el-col-xl-push-10{left:41.6666666667%;position:relative}.el-col-xl-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-xl-11.is-guttered{display:block}.el-col-xl-offset-11{margin-left:45.8333333333%}.el-col-xl-pull-11{position:relative;right:45.8333333333%}.el-col-xl-push-11{left:45.8333333333%;position:relative}.el-col-xl-12{display:block;flex:0 0 50%;max-width:50%}.el-col-xl-12.is-guttered{display:block}.el-col-xl-offset-12{margin-left:50%}.el-col-xl-pull-12{position:relative;right:50%}.el-col-xl-push-12{left:50%;position:relative}.el-col-xl-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-xl-13.is-guttered{display:block}.el-col-xl-offset-13{margin-left:54.1666666667%}.el-col-xl-pull-13{position:relative;right:54.1666666667%}.el-col-xl-push-13{left:54.1666666667%;position:relative}.el-col-xl-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-xl-14.is-guttered{display:block}.el-col-xl-offset-14{margin-left:58.3333333333%}.el-col-xl-pull-14{position:relative;right:58.3333333333%}.el-col-xl-push-14{left:58.3333333333%;position:relative}.el-col-xl-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-xl-15.is-guttered{display:block}.el-col-xl-offset-15{margin-left:62.5%}.el-col-xl-pull-15{position:relative;right:62.5%}.el-col-xl-push-15{left:62.5%;position:relative}.el-col-xl-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-xl-16.is-guttered{display:block}.el-col-xl-offset-16{margin-left:66.6666666667%}.el-col-xl-pull-16{position:relative;right:66.6666666667%}.el-col-xl-push-16{left:66.6666666667%;position:relative}.el-col-xl-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-xl-17.is-guttered{display:block}.el-col-xl-offset-17{margin-left:70.8333333333%}.el-col-xl-pull-17{position:relative;right:70.8333333333%}.el-col-xl-push-17{left:70.8333333333%;position:relative}.el-col-xl-18{display:block;flex:0 0 75%;max-width:75%}.el-col-xl-18.is-guttered{display:block}.el-col-xl-offset-18{margin-left:75%}.el-col-xl-pull-18{position:relative;right:75%}.el-col-xl-push-18{left:75%;position:relative}.el-col-xl-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-xl-19.is-guttered{display:block}.el-col-xl-offset-19{margin-left:79.1666666667%}.el-col-xl-pull-19{position:relative;right:79.1666666667%}.el-col-xl-push-19{left:79.1666666667%;position:relative}.el-col-xl-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-xl-20.is-guttered{display:block}.el-col-xl-offset-20{margin-left:83.3333333333%}.el-col-xl-pull-20{position:relative;right:83.3333333333%}.el-col-xl-push-20{left:83.3333333333%;position:relative}.el-col-xl-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-xl-21.is-guttered{display:block}.el-col-xl-offset-21{margin-left:87.5%}.el-col-xl-pull-21{position:relative;right:87.5%}.el-col-xl-push-21{left:87.5%;position:relative}.el-col-xl-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-xl-22.is-guttered{display:block}.el-col-xl-offset-22{margin-left:91.6666666667%}.el-col-xl-pull-22{position:relative;right:91.6666666667%}.el-col-xl-push-22{left:91.6666666667%;position:relative}.el-col-xl-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-xl-23.is-guttered{display:block}.el-col-xl-offset-23{margin-left:95.8333333333%}.el-col-xl-pull-23{position:relative;right:95.8333333333%}.el-col-xl-push-23{left:95.8333333333%;position:relative}.el-col-xl-24{display:block;flex:0 0 100%;max-width:100%}.el-col-xl-24.is-guttered{display:block}.el-col-xl-offset-24{margin-left:100%}.el-col-xl-pull-24{position:relative;right:100%}.el-col-xl-push-24{left:100%;position:relative}}.el-collapse{--el-collapse-border-color:var(--el-border-color-lighter);--el-collapse-header-height:48px;--el-collapse-header-bg-color:var(--el-fill-color-blank);--el-collapse-header-text-color:var(--el-text-color-primary);--el-collapse-header-font-size:13px;--el-collapse-content-bg-color:var(--el-fill-color-blank);--el-collapse-content-font-size:13px;--el-collapse-content-text-color:var(--el-text-color-primary);border-bottom:1px solid var(--el-collapse-border-color);border-top:1px solid var(--el-collapse-border-color)}.el-collapse-item.is-disabled .el-collapse-item__header{color:var(--el-text-color-disabled);cursor:not-allowed}.el-collapse-item__header{align-items:center;background-color:var(--el-collapse-header-bg-color);border:none;border-bottom:1px solid var(--el-collapse-border-color);color:var(--el-collapse-header-text-color);cursor:pointer;display:flex;font-size:var(--el-collapse-header-font-size);font-weight:500;height:var(--el-collapse-header-height);line-height:var(--el-collapse-header-height);outline:none;padding:0;transition:border-bottom-color var(--el-transition-duration);width:100%}.el-collapse-item__arrow{font-weight:300;margin:0 8px 0 auto;transition:transform var(--el-transition-duration)}.el-collapse-item__arrow.is-active{transform:rotate(90deg)}.el-collapse-item__header.focusing:focus:not(:hover){color:var(--el-color-primary)}.el-collapse-item__header.is-active{border-bottom-color:#0000}.el-collapse-item__wrap{background-color:var(--el-collapse-content-bg-color);border-bottom:1px solid var(--el-collapse-border-color);box-sizing:border-box;overflow:hidden;will-change:height}.el-collapse-item__content{color:var(--el-collapse-content-text-color);font-size:var(--el-collapse-content-font-size);line-height:1.7692307692;padding-bottom:25px}.el-collapse-item:last-child{margin-bottom:-1px}.el-color-predefine{display:flex;font-size:12px;margin-top:8px;width:280px}.el-color-predefine__colors{display:flex;flex:1;flex-wrap:wrap}.el-color-predefine__color-selector{border-radius:4px;cursor:pointer;height:20px;margin:0 0 8px 8px;width:20px}.el-color-predefine__color-selector:nth-child(10n+1){margin-left:0}.el-color-predefine__color-selector.selected{box-shadow:0 0 3px 2px var(--el-color-primary)}.el-color-predefine__color-selector>div{border-radius:3px;display:flex;height:100%}.el-color-predefine__color-selector.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-hue-slider{background-color:red;box-sizing:border-box;float:right;height:12px;padding:0 2px;position:relative;width:280px}.el-color-hue-slider__bar{background:linear-gradient(90deg,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red);height:100%;position:relative}.el-color-hue-slider__thumb{background:#fff;border:1px solid var(--el-border-color-lighter);border-radius:1px;box-shadow:0 0 2px #0009;box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-hue-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-hue-slider.is-vertical{height:180px;padding:2px 0;width:12px}.el-color-hue-slider.is-vertical .el-color-hue-slider__bar{background:linear-gradient(180deg,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}.el-color-hue-slider.is-vertical .el-color-hue-slider__thumb{height:4px;left:0;top:0;width:100%}.el-color-svpanel{height:180px;position:relative;width:280px}.el-color-svpanel__black,.el-color-svpanel__white{inset:0;position:absolute}.el-color-svpanel__white{background:linear-gradient(90deg,#fff,#fff0)}.el-color-svpanel__black{background:linear-gradient(0deg,#000,#0000)}.el-color-svpanel__cursor{position:absolute}.el-color-svpanel__cursor>div{border-radius:50%;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;cursor:head;height:4px;transform:translate(-2px,-2px);width:4px}.el-color-alpha-slider{background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-position:0 0,6px 0,6px -6px,0 6px;background-size:12px 12px;box-sizing:border-box;height:12px;position:relative;width:280px}.el-color-alpha-slider__bar{background:linear-gradient(to right,#fff0 0,var(--el-bg-color) 100%);height:100%;position:relative}.el-color-alpha-slider__thumb{background:#fff;border:1px solid var(--el-border-color-lighter);border-radius:1px;box-shadow:0 0 2px #0009;box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-alpha-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-alpha-slider.is-vertical{height:180px;width:20px}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__bar{background:linear-gradient(180deg,#fff0,#fff)}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__thumb{height:4px;left:0;top:0;width:100%}.el-color-dropdown{width:300px}.el-color-dropdown__main-wrapper{margin-bottom:6px}.el-color-dropdown__main-wrapper:after{clear:both;content:"";display:table}.el-color-dropdown__btns{margin-top:12px;text-align:right}.el-color-dropdown__value{color:#000;float:left;font-size:12px;line-height:26px;width:160px}.el-color-picker{display:inline-block;line-height:normal;outline:none;position:relative}.el-color-picker:hover:not(.is-disabled,.is-focused) .el-color-picker__trigger{border-color:var(--el-border-color-hover)}.el-color-picker:focus-visible:not(.is-disabled) .el-color-picker__trigger{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-picker.is-focused .el-color-picker__trigger{border-color:var(--el-color-primary)}.el-color-picker.is-disabled .el-color-picker__trigger{cursor:not-allowed}.el-color-picker--large{height:40px}.el-color-picker--large .el-color-picker__trigger{height:40px;width:40px}.el-color-picker--large .el-color-picker__mask{height:38px;width:38px}.el-color-picker--small{height:24px}.el-color-picker--small .el-color-picker__trigger{height:24px;width:24px}.el-color-picker--small .el-color-picker__mask{height:22px;width:22px}.el-color-picker--small .el-color-picker__empty,.el-color-picker--small .el-color-picker__icon{transform:scale(.8)}.el-color-picker__mask{background-color:#ffffffb3;border-radius:4px;cursor:not-allowed;height:30px;left:1px;position:absolute;top:1px;width:30px;z-index:1}.el-color-picker__trigger{align-items:center;border:1px solid var(--el-border-color);border-radius:4px;box-sizing:border-box;cursor:pointer;display:inline-flex;font-size:0;height:32px;justify-content:center;padding:4px;position:relative;width:32px}.el-color-picker__color{border:1px solid var(--el-text-color-secondary);border-radius:var(--el-border-radius-small);box-sizing:border-box;display:block;height:100%;position:relative;text-align:center;width:100%}.el-color-picker__color.is-alpha{background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-position:0 0,6px 0,6px -6px,0 6px;background-size:12px 12px}.el-color-picker__color-inner{align-items:center;display:inline-flex;height:100%;justify-content:center;width:100%}.el-color-picker .el-color-picker__empty{color:var(--el-text-color-secondary);font-size:12px}.el-color-picker .el-color-picker__icon{align-items:center;color:#fff;display:inline-flex;font-size:12px;justify-content:center}.el-color-picker__panel{background-color:#fff;border-radius:var(--el-border-radius-base);box-shadow:var(--el-box-shadow-light);box-sizing:initial;padding:6px;position:absolute;z-index:10}.el-color-picker__panel.el-popper{border:1px solid var(--el-border-color-lighter)}.el-color-picker,.el-color-picker__panel{--el-color-picker-alpha-bg-a:#ccc;--el-color-picker-alpha-bg-b:#0000}.dark .el-color-picker,.dark .el-color-picker__panel{--el-color-picker-alpha-bg-a:#333}.el-container{box-sizing:border-box;display:flex;flex:1;flex-basis:auto;flex-direction:row;min-width:0}.el-container.is-vertical{flex-direction:column}.el-date-table{font-size:12px;-webkit-user-select:none;user-select:none}.el-date-table.is-week-mode .el-date-table__row:hover .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table.is-week-mode .el-date-table__row:hover td.available:hover{color:var(--el-datepicker-text-color)}.el-date-table.is-week-mode .el-date-table__row:hover td:first-child .el-date-table-cell{border-bottom-left-radius:15px;border-top-left-radius:15px;margin-left:5px}.el-date-table.is-week-mode .el-date-table__row:hover td:last-child .el-date-table-cell{border-bottom-right-radius:15px;border-top-right-radius:15px;margin-right:5px}.el-date-table.is-week-mode .el-date-table__row.current .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td{box-sizing:border-box;cursor:pointer;height:30px;padding:4px 0;position:relative;text-align:center;width:32px}.el-date-table td .el-date-table-cell{box-sizing:border-box;height:30px;padding:3px 0}.el-date-table td .el-date-table-cell .el-date-table-cell__text{border-radius:50%;display:block;height:24px;left:50%;line-height:24px;margin:0 auto;position:absolute;transform:translate(-50%);width:24px}.el-date-table td.next-month,.el-date-table td.prev-month{color:var(--el-datepicker-off-text-color)}.el-date-table td.today{position:relative}.el-date-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-date-table td.today.end-date .el-date-table-cell__text,.el-date-table td.today.start-date .el-date-table-cell__text{color:#fff}.el-date-table td.available:hover{color:var(--el-datepicker-hover-text-color)}.el-date-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.current:not(.disabled) .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-date-table td.current:not(.disabled):focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-date-table td.end-date .el-date-table-cell,.el-date-table td.start-date .el-date-table-cell{color:#fff}.el-date-table td.end-date .el-date-table-cell__text,.el-date-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color)}.el-date-table td.start-date .el-date-table-cell{border-bottom-left-radius:15px;border-top-left-radius:15px;margin-left:5px}.el-date-table td.end-date .el-date-table-cell{border-bottom-right-radius:15px;border-top-right-radius:15px;margin-right:5px}.el-date-table td.disabled .el-date-table-cell{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed;opacity:1}.el-date-table td.selected .el-date-table-cell{border-radius:15px;margin-left:5px;margin-right:5px}.el-date-table td.selected .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);border-radius:15px;color:#fff}.el-date-table td.week{color:var(--el-datepicker-header-text-color);font-size:80%}.el-date-table td:focus{outline:none}.el-date-table th{border-bottom:1px solid var(--el-border-color-lighter);color:var(--el-datepicker-header-text-color);font-weight:400;padding:5px}.el-month-table{border-collapse:collapse;font-size:12px;margin:-1px}.el-month-table td{cursor:pointer;padding:8px 0;position:relative;text-align:center;width:68px}.el-month-table td .el-date-table-cell{box-sizing:border-box;height:48px;padding:6px 0}.el-month-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-month-table td.today.end-date .el-date-table-cell__text,.el-month-table td.today.start-date .el-date-table-cell__text{color:#fff}.el-month-table td.disabled .el-date-table-cell__text{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed}.el-month-table td.disabled .el-date-table-cell__text:hover{color:var(--el-text-color-placeholder)}.el-month-table td .el-date-table-cell__text{border-radius:18px;color:var(--el-datepicker-text-color);display:block;height:36px;left:50%;line-height:36px;margin:0 auto;position:absolute;transform:translate(-50%);width:54px}.el-month-table td .el-date-table-cell__text:hover{color:var(--el-datepicker-hover-text-color)}.el-month-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-month-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-month-table td.end-date .el-date-table-cell,.el-month-table td.start-date .el-date-table-cell{color:#fff}.el-month-table td.end-date .el-date-table-cell__text,.el-month-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-month-table td.start-date .el-date-table-cell{border-bottom-left-radius:24px;border-top-left-radius:24px;margin-left:3px}.el-month-table td.end-date .el-date-table-cell{border-bottom-right-radius:24px;border-top-right-radius:24px;margin-right:3px}.el-month-table td.current:not(.disabled) .el-date-table-cell{border-radius:24px;margin-left:3px;margin-right:3px}.el-month-table td.current:not(.disabled) .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-month-table td:focus-visible{outline:none}.el-month-table td:focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-year-table{border-collapse:collapse;font-size:12px;margin:-1px}.el-year-table .el-icon{color:var(--el-datepicker-icon-color)}.el-year-table td{cursor:pointer;padding:8px 0;position:relative;text-align:center;width:68px}.el-year-table td .el-date-table-cell{box-sizing:border-box;height:48px;padding:6px 0}.el-year-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-year-table td.today.end-date .el-date-table-cell__text,.el-year-table td.today.start-date .el-date-table-cell__text{color:#fff}.el-year-table td.disabled .el-date-table-cell__text{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed}.el-year-table td.disabled .el-date-table-cell__text:hover{color:var(--el-text-color-placeholder)}.el-year-table td .el-date-table-cell__text{border-radius:18px;color:var(--el-datepicker-text-color);display:block;height:36px;left:50%;line-height:36px;margin:0 auto;position:absolute;transform:translate(-50%);width:60px}.el-year-table td .el-date-table-cell__text:hover{color:var(--el-datepicker-hover-text-color)}.el-year-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-year-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-year-table td.end-date .el-date-table-cell,.el-year-table td.start-date .el-date-table-cell{color:#fff}.el-year-table td.end-date .el-date-table-cell__text,.el-year-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-year-table td.start-date .el-date-table-cell{border-bottom-left-radius:24px;border-top-left-radius:24px}.el-year-table td.end-date .el-date-table-cell{border-bottom-right-radius:24px;border-top-right-radius:24px}.el-year-table td.current:not(.disabled) .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-year-table td:focus-visible{outline:none}.el-year-table td:focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33.3%}.el-time-spinner__wrapper{display:inline-block;max-height:192px;overflow:auto;position:relative;vertical-align:top;width:50%}.el-time-spinner__wrapper.el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default){padding-bottom:15px}.el-time-spinner__wrapper.is-arrow{box-sizing:border-box;overflow:hidden;text-align:center}.el-time-spinner__wrapper.is-arrow .el-time-spinner__list{transform:translateY(-32px)}.el-time-spinner__wrapper.is-arrow .el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:default}.el-time-spinner__arrow{color:var(--el-text-color-secondary);cursor:pointer;font-size:12px;height:30px;left:0;line-height:30px;position:absolute;text-align:center;width:100%;z-index:var(--el-index-normal)}.el-time-spinner__arrow:hover{color:var(--el-color-primary)}.el-time-spinner__arrow.arrow-up{top:10px}.el-time-spinner__arrow.arrow-down{bottom:10px}.el-time-spinner__input.el-input{width:70%}.el-time-spinner__input.el-input .el-input__inner,.el-time-spinner__list{padding:0;text-align:center}.el-time-spinner__list{list-style:none;margin:0}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";display:block;height:80px;width:100%}.el-time-spinner__item{color:var(--el-text-color-regular);font-size:12px;height:32px;line-height:32px}.el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:pointer}.el-time-spinner__item.is-active:not(.is-disabled){color:var(--el-text-color-primary);font-weight:700}.el-time-spinner__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-picker__popper{--el-datepicker-border-color:var(--el-disabled-border-color)}.el-picker__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-picker__popper.el-popper,.el-picker__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-datepicker-border-color)}.el-picker__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:#0000;border-top-color:#0000}.el-picker__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:#0000;border-right-color:#0000}.el-picker__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:#0000;border-left-color:#0000}.el-picker__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:#0000;border-top-color:#0000}.el-date-editor{--el-date-editor-width:220px;--el-date-editor-monthrange-width:300px;--el-date-editor-daterange-width:350px;--el-date-editor-datetimerange-width:400px;--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px #0000 inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;position:relative;text-align:left;vertical-align:middle}.el-date-editor.el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset}.el-date-editor.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-date-editor.el-input,.el-date-editor.el-input__wrapper{height:var(--el-input-height,var(--el-component-size));width:var(--el-date-editor-width)}.el-date-editor--monthrange{--el-date-editor-width:var(--el-date-editor-monthrange-width)}.el-date-editor--daterange,.el-date-editor--timerange{--el-date-editor-width:var(--el-date-editor-daterange-width)}.el-date-editor--datetimerange{--el-date-editor-width:var(--el-date-editor-datetimerange-width)}.el-date-editor--dates .el-input__wrapper{text-overflow:ellipsis;white-space:nowrap}.el-date-editor .clear-icon,.el-date-editor .close-icon{cursor:pointer}.el-date-editor .clear-icon:hover{color:var(--el-text-color-secondary)}.el-date-editor .el-range__icon{color:var(--el-text-color-placeholder);float:left;font-size:14px;height:inherit}.el-date-editor .el-range__icon svg{vertical-align:middle}.el-date-editor .el-range-input{appearance:none;background-color:initial;border:none;color:var(--el-text-color-regular);display:inline-block;font-size:var(--el-font-size-base);height:30px;line-height:30px;margin:0;outline:none;padding:0;text-align:center;width:39%}.el-date-editor .el-range-input::placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-separator{align-items:center;color:var(--el-text-color-primary);display:inline-flex;flex:1;font-size:14px;height:100%;justify-content:center;margin:0;overflow-wrap:break-word;padding:0 5px}.el-date-editor .el-range__close-icon{color:var(--el-text-color-placeholder);cursor:pointer;font-size:14px;height:inherit;width:unset}.el-date-editor .el-range__close-icon:hover{color:var(--el-text-color-secondary)}.el-date-editor .el-range__close-icon svg{vertical-align:middle}.el-date-editor .el-range__close-icon--hidden{opacity:0;visibility:hidden}.el-range-editor.el-input__wrapper{align-items:center;display:inline-flex;padding:0 10px;vertical-align:middle}.el-range-editor.is-active,.el-range-editor.is-active:hover{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-range-editor--large{line-height:var(--el-component-size-large)}.el-range-editor--large.el-input__wrapper{height:var(--el-component-size-large)}.el-range-editor--large .el-range-separator{font-size:14px;line-height:40px}.el-range-editor--large .el-range-input{font-size:14px;height:38px;line-height:38px}.el-range-editor--small{line-height:var(--el-component-size-small)}.el-range-editor--small.el-input__wrapper{height:var(--el-component-size-small)}.el-range-editor--small .el-range-separator{font-size:12px;line-height:24px}.el-range-editor--small .el-range-input{font-size:12px;height:22px;line-height:22px}.el-range-editor.is-disabled{background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled,.el-range-editor.is-disabled:focus,.el-range-editor.is-disabled:hover{border-color:var(--el-disabled-border-color)}.el-range-editor.is-disabled input{background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled input::placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled .el-range-separator{color:var(--el-disabled-text-color)}.el-picker-panel{background:var(--el-bg-color-overlay);border-radius:var(--el-border-radius-base);color:var(--el-text-color-regular);line-height:30px}.el-picker-panel .el-time-panel{background-color:var(--el-bg-color-overlay);border:1px solid var(--el-datepicker-border-color);box-shadow:var(--el-box-shadow-light);margin:5px 0}.el-picker-panel__body-wrapper:after,.el-picker-panel__body:after{clear:both;content:"";display:table}.el-picker-panel__content{margin:15px;position:relative}.el-picker-panel__footer{background-color:var(--el-bg-color-overlay);border-top:1px solid var(--el-datepicker-inner-border-color);font-size:0;padding:4px 12px;position:relative;text-align:right}.el-picker-panel__shortcut{background-color:initial;border:0;color:var(--el-datepicker-text-color);cursor:pointer;display:block;font-size:14px;line-height:28px;outline:none;padding-left:12px;text-align:left;width:100%}.el-picker-panel__shortcut:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__shortcut.active{background-color:#e6f1fe;color:var(--el-datepicker-active-color)}.el-picker-panel__btn{background-color:initial;border:1px solid var(--el-fill-color-darker);border-radius:2px;color:var(--el-text-color-primary);cursor:pointer;font-size:12px;line-height:24px;outline:none;padding:0 20px}.el-picker-panel__btn[disabled]{color:var(--el-text-color-disabled);cursor:not-allowed}.el-picker-panel__icon-btn{background:#0000;border:0;color:var(--el-datepicker-icon-color);cursor:pointer;font-size:12px;margin-top:8px;outline:none}.el-picker-panel__icon-btn:focus-visible,.el-picker-panel__icon-btn:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn.is-disabled{color:var(--el-text-color-disabled)}.el-picker-panel__icon-btn.is-disabled:hover{cursor:not-allowed}.el-picker-panel__icon-btn .el-icon{cursor:pointer;font-size:inherit}.el-picker-panel__link-btn{vertical-align:middle}.el-picker-panel [slot=sidebar],.el-picker-panel__sidebar{background-color:var(--el-bg-color-overlay);border-right:1px solid var(--el-datepicker-inner-border-color);bottom:0;box-sizing:border-box;overflow:auto;padding-top:6px;position:absolute;top:0;width:110px}.el-picker-panel [slot=sidebar]+.el-picker-panel__body,.el-picker-panel__sidebar+.el-picker-panel__body{margin-left:110px}.el-date-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary);width:322px}.el-date-picker.has-sidebar.has-time{width:434px}.el-date-picker.has-sidebar{width:438px}.el-date-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-picker .el-picker-panel__content{width:292px}.el-date-picker table{table-layout:fixed;width:100%}.el-date-picker__editor-wrap{display:table-cell;padding:0 5px;position:relative}.el-date-picker__time-header{border-bottom:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;display:table;font-size:12px;padding:8px 5px 5px;position:relative;width:100%}.el-date-picker__header{padding:12px 12px 0;text-align:center}.el-date-picker__header--bordered{border-bottom:1px solid var(--el-border-color-lighter);margin-bottom:0;padding-bottom:12px}.el-date-picker__header--bordered+.el-picker-panel__content{margin-top:0}.el-date-picker__header-label{color:var(--el-text-color-regular);cursor:pointer;font-size:16px;font-weight:500;line-height:22px;padding:0 5px;text-align:center}.el-date-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-picker__header-label:focus-visible{color:var(--el-datepicker-hover-text-color);outline:none}.el-date-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-picker__prev-btn{float:left}.el-date-picker__next-btn{float:right}.el-date-picker__time-wrap{padding:10px;text-align:center}.el-date-picker__time-label{cursor:pointer;float:left;line-height:30px;margin-left:10px}.el-date-picker .el-time-panel{position:absolute}.el-date-range-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary);width:646px}.el-date-range-picker.has-sidebar{width:756px}.el-date-range-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-range-picker table{table-layout:fixed;width:100%}.el-date-range-picker .el-picker-panel__body{min-width:513px}.el-date-range-picker .el-picker-panel__content{margin:0}.el-date-range-picker__header{height:28px;position:relative;text-align:center}.el-date-range-picker__header [class*=arrow-left]{float:left}.el-date-range-picker__header [class*=arrow-right]{float:right}.el-date-range-picker__header div{font-size:16px;font-weight:500;margin-right:50px}.el-date-range-picker__content{box-sizing:border-box;float:left;margin:0;padding:16px;width:50%}.el-date-range-picker__content.is-left{border-right:1px solid var(--el-datepicker-inner-border-color)}.el-date-range-picker__content .el-date-range-picker__header div{margin-left:50px;margin-right:50px}.el-date-range-picker__editors-wrap{box-sizing:border-box;display:table-cell}.el-date-range-picker__editors-wrap.is-right{text-align:right}.el-date-range-picker__time-header{border-bottom:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;display:table;font-size:12px;padding:8px 5px 5px;position:relative;width:100%}.el-date-range-picker__time-header>.el-icon-arrow-right{color:var(--el-datepicker-icon-color);display:table-cell;font-size:20px;vertical-align:middle}.el-date-range-picker__time-picker-wrap{display:table-cell;padding:0 5px;position:relative}.el-date-range-picker__time-picker-wrap .el-picker-panel{background:#fff;position:absolute;right:0;top:13px;z-index:1}.el-date-range-picker__time-picker-wrap .el-time-panel{position:absolute}.el-time-range-picker{overflow:visible;width:354px}.el-time-range-picker__content{padding:10px;position:relative;text-align:center;z-index:1}.el-time-range-picker__cell{box-sizing:border-box;display:inline-block;margin:0;padding:4px 7px 7px;width:50%}.el-time-range-picker__header{font-size:14px;margin-bottom:5px;text-align:center}.el-time-range-picker__body{border:1px solid var(--el-datepicker-border-color);border-radius:2px}.el-time-panel{border-radius:2px;box-sizing:initial;left:0;position:relative;-webkit-user-select:none;user-select:none;width:180px;z-index:var(--el-index-top)}.el-time-panel__content{font-size:0;overflow:hidden;position:relative}.el-time-panel__content:after,.el-time-panel__content:before{box-sizing:border-box;content:"";height:32px;left:0;margin-top:-16px;padding-top:6px;position:absolute;right:0;text-align:left;top:50%;z-index:-1}.el-time-panel__content:after{left:50%;margin-left:12%;margin-right:12%}.el-time-panel__content:before{border-bottom:1px solid var(--el-border-color-light);border-top:1px solid var(--el-border-color-light);margin-left:12%;margin-right:12%;padding-left:50%}.el-time-panel__content.has-seconds:after{left:66.6666666667%}.el-time-panel__content.has-seconds:before{padding-left:33.3333333333%}.el-time-panel__footer{border-top:1px solid var(--el-timepicker-inner-border-color,var(--el-border-color-light));box-sizing:border-box;height:36px;line-height:25px;padding:4px;text-align:right}.el-time-panel__btn{background-color:initial;border:none;color:var(--el-text-color-primary);cursor:pointer;font-size:12px;line-height:28px;margin:0 5px;outline:none;padding:0 5px}.el-time-panel__btn.confirm{color:var(--el-timepicker-active-color,var(--el-color-primary));font-weight:800}.el-descriptions{--el-descriptions-table-border:1px solid var(--el-border-color-lighter);--el-descriptions-item-bordered-label-background:var(--el-fill-color-light);box-sizing:border-box;color:var(--el-text-color-primary);font-size:var(--el-font-size-base)}.el-descriptions__header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.el-descriptions__title{color:var(--el-text-color-primary);font-size:16px;font-weight:700}.el-descriptions__body{background-color:var(--el-fill-color-blank)}.el-descriptions__body .el-descriptions__table{border-collapse:collapse;width:100%}.el-descriptions__body .el-descriptions__table .el-descriptions__cell{box-sizing:border-box;font-size:14px;font-weight:400;line-height:23px;text-align:left}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-left{text-align:left}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-center{text-align:center}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-right{text-align:right}.el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{border:var(--el-descriptions-table-border);padding:8px 11px}.el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:12px}.el-descriptions--large{font-size:14px}.el-descriptions--large .el-descriptions__header{margin-bottom:20px}.el-descriptions--large .el-descriptions__header .el-descriptions__title{font-size:16px}.el-descriptions--large .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:14px}.el-descriptions--large .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:12px 15px}.el-descriptions--large .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:16px}.el-descriptions--small{font-size:12px}.el-descriptions--small .el-descriptions__header{margin-bottom:12px}.el-descriptions--small .el-descriptions__header .el-descriptions__title{font-size:14px}.el-descriptions--small .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:12px}.el-descriptions--small .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:4px 7px}.el-descriptions--small .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:8px}.el-descriptions__label.el-descriptions__cell.is-bordered-label{background:var(--el-descriptions-item-bordered-label-background);color:var(--el-text-color-regular);font-weight:700}.el-descriptions__label:not(.is-bordered-label){color:var(--el-text-color-primary);margin-right:16px}.el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:6px}.el-descriptions__content.el-descriptions__cell.is-bordered-content{color:var(--el-text-color-primary)}.el-descriptions__content:not(.is-bordered-label){color:var(--el-text-color-regular)}.el-descriptions--large .el-descriptions__label:not(.is-bordered-label){margin-right:16px}.el-descriptions--large .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:8px}.el-descriptions--small .el-descriptions__label:not(.is-bordered-label){margin-right:12px}.el-descriptions--small .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:4px}:root{--el-popup-modal-bg-color:var(--el-color-black);--el-popup-modal-opacity:.5}.v-modal-enter{animation:v-modal-in var(--el-transition-duration-fast) ease}.v-modal-leave{animation:v-modal-out var(--el-transition-duration-fast) ease forwards}@keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{background:var(--el-popup-modal-bg-color);height:100%;left:0;opacity:var(--el-popup-modal-opacity);position:fixed;top:0;width:100%}.el-popup-parent--hidden{overflow:hidden}.el-dialog{--el-dialog-width:50%;--el-dialog-margin-top:15vh;--el-dialog-bg-color:var(--el-bg-color);--el-dialog-box-shadow:var(--el-box-shadow);--el-dialog-title-font-size:var(--el-font-size-large);--el-dialog-content-font-size:14px;--el-dialog-font-line-height:var(--el-font-line-height-primary);--el-dialog-padding-primary:16px;--el-dialog-border-radius:var(--el-border-radius-base);background:var(--el-dialog-bg-color);border-radius:var(--el-dialog-border-radius);box-shadow:var(--el-dialog-box-shadow);box-sizing:border-box;margin:var(--el-dialog-margin-top,15vh) auto 50px;overflow-wrap:break-word;padding:var(--el-dialog-padding-primary);position:relative;width:var(--el-dialog-width,50%)}.el-dialog:focus{outline:none!important}.el-dialog.is-align-center{margin:auto}.el-dialog.is-fullscreen{--el-dialog-width:100%;--el-dialog-margin-top:0;height:100%;margin-bottom:0;overflow:auto}.el-dialog__wrapper{inset:0;margin:0;overflow:auto;position:fixed}.el-dialog.is-draggable .el-dialog__header{cursor:move;-webkit-user-select:none;user-select:none}.el-dialog__header{padding-bottom:var(--el-dialog-padding-primary)}.el-dialog__header.show-close{padding-right:calc(var(--el-dialog-padding-primary) + var(--el-message-close-size, 16px))}.el-dialog__headerbtn{background:#0000;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:48px;outline:none;padding:0;position:absolute;right:0;top:0;width:48px}.el-dialog__headerbtn .el-dialog__close{color:var(--el-color-info);font-size:inherit}.el-dialog__headerbtn:focus .el-dialog__close,.el-dialog__headerbtn:hover .el-dialog__close{color:var(--el-color-primary)}.el-dialog__title{color:var(--el-text-color-primary);font-size:var(--el-dialog-title-font-size);line-height:var(--el-dialog-font-line-height)}.el-dialog__body{color:var(--el-text-color-regular);font-size:var(--el-dialog-content-font-size)}.el-dialog__footer{box-sizing:border-box;padding-top:var(--el-dialog-padding-primary);text-align:right}.el-dialog--center{text-align:center}.el-dialog--center .el-dialog__body{text-align:initial}.el-dialog--center .el-dialog__footer{text-align:inherit}.el-overlay-dialog{inset:0;overflow:auto;position:fixed}.dialog-fade-enter-active{animation:modal-fade-in var(--el-transition-duration)}.dialog-fade-enter-active .el-overlay-dialog{animation:dialog-fade-in var(--el-transition-duration)}.dialog-fade-leave-active{animation:modal-fade-out var(--el-transition-duration)}.dialog-fade-leave-active .el-overlay-dialog{animation:dialog-fade-out var(--el-transition-duration)}@keyframes dialog-fade-in{0%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes dialog-fade-out{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(0,-20px,0)}}@keyframes modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-fade-out{0%{opacity:1}to{opacity:0}}.el-divider{position:relative}.el-divider--horizontal{border-top:1px var(--el-border-color) var(--el-border-style);display:block;height:1px;margin:24px 0;width:100%}.el-divider--vertical{border-left:1px var(--el-border-color) var(--el-border-style);display:inline-block;height:1em;margin:0 8px;position:relative;vertical-align:middle;width:1px}.el-divider__text{background-color:var(--el-bg-color);color:var(--el-text-color-primary);font-size:14px;font-weight:500;padding:0 20px;position:absolute}.el-divider__text.is-left{left:20px;transform:translateY(-50%)}.el-divider__text.is-center{left:50%;transform:translate(-50%) translateY(-50%)}.el-divider__text.is-right{right:20px;transform:translateY(-50%)}.el-drawer{--el-drawer-bg-color:var(--el-dialog-bg-color,var(--el-bg-color));--el-drawer-padding-primary:var(--el-dialog-padding-primary,20px);background-color:var(--el-drawer-bg-color);box-shadow:var(--el-box-shadow-dark);box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;position:absolute;transition:all var(--el-transition-duration)}.el-drawer .btt,.el-drawer .ltr,.el-drawer .rtl,.el-drawer .ttb{transform:translate(0)}.el-drawer__sr-focus:focus{outline:none!important}.el-drawer__header{align-items:center;color:#72767b;display:flex;margin-bottom:32px;padding:var(--el-drawer-padding-primary);padding-bottom:0}.el-drawer__header>:first-child{flex:1}.el-drawer__title{flex:1;font-size:16px;line-height:inherit;margin:0}.el-drawer__footer{padding:var(--el-drawer-padding-primary);padding-top:10px;text-align:right}.el-drawer__close-btn{background-color:initial;border:none;color:inherit;cursor:pointer;display:inline-flex;font-size:var(--el-font-size-extra-large);outline:none}.el-drawer__close-btn:focus i,.el-drawer__close-btn:hover i{color:var(--el-color-primary)}.el-drawer__body{flex:1;overflow:auto;padding:var(--el-drawer-padding-primary)}.el-drawer__body>*{box-sizing:border-box}.el-drawer.ltr,.el-drawer.rtl{bottom:0;height:100%;top:0}.el-drawer.btt,.el-drawer.ttb{left:0;right:0;width:100%}.el-drawer.ltr{left:0}.el-drawer.rtl{right:0}.el-drawer.ttb{top:0}.el-drawer.btt{bottom:0}.el-drawer-fade-enter-active,.el-drawer-fade-leave-active{transition:all var(--el-transition-duration)}.el-drawer-fade-enter-active,.el-drawer-fade-enter-from,.el-drawer-fade-enter-to,.el-drawer-fade-leave-active,.el-drawer-fade-leave-from,.el-drawer-fade-leave-to{overflow:hidden!important}.el-drawer-fade-enter-from,.el-drawer-fade-leave-to{background-color:initial!important}.el-drawer-fade-enter-from .rtl,.el-drawer-fade-leave-to .rtl{transform:translate(100%)}.el-drawer-fade-enter-from .ltr,.el-drawer-fade-leave-to .ltr{transform:translate(-100%)}.el-drawer-fade-enter-from .ttb,.el-drawer-fade-leave-to .ttb{transform:translateY(-100%)}.el-drawer-fade-enter-from .btt,.el-drawer-fade-leave-to .btt{transform:translateY(100%)}.el-dropdown{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10;color:var(--el-text-color-regular);display:inline-flex;font-size:var(--el-font-size-base);line-height:1;position:relative;vertical-align:top}.el-dropdown.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-dropdown__popper{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10}.el-dropdown__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-dropdown-menu-box-shadow)}.el-dropdown__popper.el-popper,.el-dropdown__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-dropdown__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:#0000;border-top-color:#0000}.el-dropdown__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:#0000;border-right-color:#0000}.el-dropdown__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:#0000;border-left-color:#0000}.el-dropdown__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:#0000;border-top-color:#0000}.el-dropdown__popper .el-dropdown-menu{border:none}.el-dropdown__popper .el-dropdown__popper-selfdefine{outline:none}.el-dropdown__popper .el-scrollbar__bar{z-index:calc(var(--el-dropdown-menu-index) + 1)}.el-dropdown__popper .el-dropdown__list{box-sizing:border-box;list-style:none;margin:0;padding:0}.el-dropdown .el-dropdown__caret-button{align-items:center;border-left:none;display:inline-flex;justify-content:center;padding-left:0;padding-right:0;width:32px}.el-dropdown .el-dropdown__caret-button>span{display:inline-flex}.el-dropdown .el-dropdown__caret-button:before{background:var(--el-overlay-color-lighter);bottom:-1px;content:"";display:block;left:0;position:absolute;top:-1px;width:1px}.el-dropdown .el-dropdown__caret-button.el-button:before{background:var(--el-border-color);opacity:.5}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{font-size:inherit;padding-left:0}.el-dropdown .el-dropdown-selfdefine{outline:none}.el-dropdown--large .el-dropdown__caret-button{width:40px}.el-dropdown--small .el-dropdown__caret-button{width:24px}.el-dropdown-menu{background-color:var(--el-bg-color-overlay);border:none;border-radius:var(--el-border-radius-base);box-shadow:none;left:0;list-style:none;margin:0;padding:5px 0;position:relative;top:0;z-index:var(--el-dropdown-menu-index)}.el-dropdown-menu__item{align-items:center;color:var(--el-text-color-regular);cursor:pointer;display:flex;font-size:var(--el-font-size-base);line-height:22px;list-style:none;margin:0;outline:none;padding:5px 16px;white-space:nowrap}.el-dropdown-menu__item:not(.is-disabled):focus,.el-dropdown-menu__item:not(.is-disabled):hover{background-color:var(--el-dropdown-menuItem-hover-fill);color:var(--el-dropdown-menuItem-hover-color)}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{border-top:1px solid var(--el-border-color-lighter);margin:6px 0}.el-dropdown-menu__item.is-disabled{color:var(--el-text-color-disabled);cursor:not-allowed}.el-dropdown-menu--large{padding:7px 0}.el-dropdown-menu--large .el-dropdown-menu__item{font-size:14px;line-height:22px;padding:7px 20px}.el-dropdown-menu--large .el-dropdown-menu__item--divided{margin:8px 0}.el-dropdown-menu--small{padding:3px 0}.el-dropdown-menu--small .el-dropdown-menu__item{font-size:12px;line-height:20px;padding:2px 12px}.el-dropdown-menu--small .el-dropdown-menu__item--divided{margin:4px 0}.el-empty{--el-empty-padding:40px 0;--el-empty-image-width:160px;--el-empty-description-margin-top:20px;--el-empty-bottom-margin-top:20px;--el-empty-fill-color-0:var(--el-color-white);--el-empty-fill-color-1:#fcfcfd;--el-empty-fill-color-2:#f8f9fb;--el-empty-fill-color-3:#f7f8fc;--el-empty-fill-color-4:#eeeff3;--el-empty-fill-color-5:#edeef2;--el-empty-fill-color-6:#e9ebef;--el-empty-fill-color-7:#e5e7e9;--el-empty-fill-color-8:#e0e3e9;--el-empty-fill-color-9:#d5d7de;align-items:center;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding:var(--el-empty-padding);text-align:center}.el-empty__image{width:var(--el-empty-image-width)}.el-empty__image img{height:100%;object-fit:contain;-webkit-user-select:none;user-select:none;vertical-align:top;width:100%}.el-empty__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;height:100%;vertical-align:top;width:100%}.el-empty__description{margin-top:var(--el-empty-description-margin-top)}.el-empty__description p{color:var(--el-text-color-secondary);font-size:var(--el-font-size-base);margin:0}.el-empty__bottom{margin-top:var(--el-empty-bottom-margin-top)}.el-footer{--el-footer-padding:0 20px;--el-footer-height:60px;box-sizing:border-box;flex-shrink:0;height:var(--el-footer-height);padding:var(--el-footer-padding)}.el-form{--el-form-label-font-size:var(--el-font-size-base);--el-form-inline-content-width:220px}.el-form--inline .el-form-item{display:inline-flex;margin-right:32px;vertical-align:middle}.el-form--inline.el-form--label-top{display:flex;flex-wrap:wrap}.el-form--inline.el-form--label-top .el-form-item{display:block}.el-form-item{display:flex;--font-size:14px;margin-bottom:18px}.el-form-item .el-form-item{margin-bottom:0}.el-form-item .el-input__validateIcon{display:none}.el-form-item--large{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:22px}.el-form-item--large .el-form-item__label{height:40px;line-height:40px}.el-form-item--large .el-form-item__content{line-height:40px}.el-form-item--large .el-form-item__error{padding-top:4px}.el-form-item--default{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--default .el-form-item__label{height:32px;line-height:32px}.el-form-item--default .el-form-item__content{line-height:32px}.el-form-item--default .el-form-item__error{padding-top:2px}.el-form-item--small{--font-size:12px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--small .el-form-item__label{height:24px;line-height:24px}.el-form-item--small .el-form-item__content{line-height:24px}.el-form-item--small .el-form-item__error{padding-top:2px}.el-form-item--label-left .el-form-item__label{justify-content:flex-start}.el-form-item--label-top{display:block}.el-form-item--label-top .el-form-item__label{display:inline-block;height:auto;line-height:22px;margin-bottom:8px;text-align:left;vertical-align:middle}.el-form-item__label-wrap{display:flex}.el-form-item__label{align-items:flex-start;box-sizing:border-box;color:var(--el-text-color-regular);display:inline-flex;flex:0 0 auto;font-size:var(--el-form-label-font-size);height:32px;justify-content:flex-end;line-height:32px;padding:0 12px 0 0}.el-form-item__content{align-items:center;display:flex;flex:1;flex-wrap:wrap;font-size:var(--font-size);line-height:32px;min-width:0;position:relative}.el-form-item__content .el-input-group{vertical-align:top}.el-form-item__error{color:var(--el-color-danger);font-size:12px;left:0;line-height:1;padding-top:2px;position:absolute;top:100%}.el-form-item__error--inline{display:inline-block;left:auto;margin-left:10px;position:relative;top:auto}.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label-wrap>.el-form-item__label:before,.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label:before{color:var(--el-color-danger);content:"*";margin-right:4px}.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label-wrap>.el-form-item__label:after,.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label:after{color:var(--el-color-danger);content:"*";margin-left:4px}.el-form-item.is-error .el-input-tag__wrapper,.el-form-item.is-error .el-input-tag__wrapper.is-focus,.el-form-item.is-error .el-input-tag__wrapper:focus,.el-form-item.is-error .el-input-tag__wrapper:hover,.el-form-item.is-error .el-input__wrapper,.el-form-item.is-error .el-input__wrapper.is-focus,.el-form-item.is-error .el-input__wrapper:focus,.el-form-item.is-error .el-input__wrapper:hover,.el-form-item.is-error .el-select__wrapper,.el-form-item.is-error .el-select__wrapper.is-focus,.el-form-item.is-error .el-select__wrapper:focus,.el-form-item.is-error .el-select__wrapper:hover,.el-form-item.is-error .el-textarea__inner,.el-form-item.is-error .el-textarea__inner.is-focus,.el-form-item.is-error .el-textarea__inner:focus,.el-form-item.is-error .el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-input-group__append .el-input__wrapper,.el-form-item.is-error .el-input-group__prepend .el-input__wrapper{box-shadow:inset 0 0 0 1px #0000}.el-form-item.is-error .el-input-group__append .el-input__validateIcon,.el-form-item.is-error .el-input-group__prepend .el-input__validateIcon{display:none}.el-form-item.is-error .el-input__validateIcon{color:var(--el-color-danger)}.el-form-item--feedback .el-input__validateIcon{display:inline-flex}.el-header{--el-header-padding:0 20px;--el-header-height:60px;box-sizing:border-box;flex-shrink:0;height:var(--el-header-height);padding:var(--el-header-padding)}.el-image-viewer__wrapper{inset:0;position:fixed}.el-image-viewer__wrapper:focus{outline:none!important}.el-image-viewer__btn{align-items:center;border-radius:50%;box-sizing:border-box;cursor:pointer;display:flex;justify-content:center;opacity:.8;position:absolute;-webkit-user-select:none;user-select:none;z-index:1}.el-image-viewer__btn .el-icon{cursor:pointer;font-size:inherit}.el-image-viewer__close{font-size:40px;height:40px;right:40px;top:40px;width:40px}.el-image-viewer__canvas{align-items:center;display:flex;height:100%;justify-content:center;position:static;-webkit-user-select:none;user-select:none;width:100%}.el-image-viewer__actions{background-color:var(--el-text-color-regular);border-color:#fff;border-radius:22px;bottom:30px;height:44px;left:50%;padding:0 23px;transform:translate(-50%);width:282px}.el-image-viewer__actions__inner{align-items:center;color:#fff;cursor:default;display:flex;font-size:23px;height:100%;justify-content:space-around;width:100%}.el-image-viewer__prev{left:40px}.el-image-viewer__next,.el-image-viewer__prev{background-color:var(--el-text-color-regular);border-color:#fff;color:#fff;font-size:24px;height:44px;top:50%;transform:translateY(-50%);width:44px}.el-image-viewer__next{right:40px;text-indent:2px}.el-image-viewer__close{background-color:var(--el-text-color-regular);border-color:#fff;color:#fff;font-size:24px;height:44px;width:44px}.el-image-viewer__mask{background:#000;height:100%;left:0;opacity:.5;position:absolute;top:0;width:100%}.viewer-fade-enter-active{animation:viewer-fade-in var(--el-transition-duration)}.viewer-fade-leave-active{animation:viewer-fade-out var(--el-transition-duration)}@keyframes viewer-fade-in{0%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes viewer-fade-out{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(0,-20px,0)}}.el-image__error,.el-image__inner,.el-image__placeholder,.el-image__wrapper{height:100%;width:100%}.el-image{display:inline-block;overflow:hidden;position:relative}.el-image__inner{opacity:1;vertical-align:top}.el-image__inner.is-loading{opacity:0}.el-image__wrapper{left:0;position:absolute;top:0}.el-image__error,.el-image__placeholder{background:var(--el-fill-color-light)}.el-image__error{align-items:center;color:var(--el-text-color-placeholder);display:flex;font-size:14px;justify-content:center;vertical-align:middle}.el-image__preview{cursor:pointer}.el-textarea{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px #0000 inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;display:inline-block;font-size:var(--el-font-size-base);position:relative;vertical-align:bottom;width:100%}.el-textarea__inner{-webkit-appearance:none;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));display:block;font-family:inherit;font-size:inherit;line-height:1.5;padding:5px 11px;position:relative;resize:vertical;transition:var(--el-transition-box-shadow);width:100%}.el-textarea__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-textarea__inner:focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset;outline:none}.el-textarea .el-input__count{background:var(--el-fill-color-blank);bottom:5px;color:var(--el-color-info);font-size:12px;line-height:14px;position:absolute;right:10px}.el-textarea.is-disabled .el-textarea__inner{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset;color:var(--el-disabled-text-color);cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-exceed .el-textarea__inner{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-textarea.is-exceed .el-input__count{color:var(--el-color-danger)}.el-input{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px #0000 inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;--el-input-height:var(--el-component-size);box-sizing:border-box;display:inline-flex;font-size:var(--el-font-size-base);line-height:var(--el-input-height);position:relative;vertical-align:middle;width:var(--el-input-width)}.el-input::-webkit-scrollbar{width:6px;z-index:11}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{background:var(--el-text-color-disabled);border-radius:5px;width:6px}.el-input::-webkit-scrollbar-corner,.el-input::-webkit-scrollbar-track{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track-piece{background:var(--el-fill-color-blank);width:6px}.el-input .el-input__clear,.el-input .el-input__password{color:var(--el-input-icon-color);cursor:pointer;font-size:14px}.el-input .el-input__clear:hover,.el-input .el-input__password:hover{color:var(--el-input-clear-hover-color)}.el-input .el-input__count{align-items:center;color:var(--el-color-info);display:inline-flex;font-size:12px;height:100%}.el-input .el-input__count .el-input__count-inner{background:var(--el-fill-color-blank);display:inline-block;line-height:normal;padding-left:8px}.el-input__wrapper{align-items:center;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;cursor:text;display:inline-flex;flex-grow:1;justify-content:center;padding:1px 11px;transform:translateZ(0);transition:var(--el-transition-box-shadow)}.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input__inner{--el-input-inner-height:calc(var(--el-input-height, 32px) - 2px);-webkit-appearance:none;background:none;border:none;box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));flex-grow:1;font-size:inherit;height:var(--el-input-inner-height);line-height:var(--el-input-inner-height);outline:none;padding:0;width:100%}.el-input__inner:focus{outline:none}.el-input__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner[type=password]::-ms-reveal{display:none}.el-input__inner[type=number]{line-height:1}.el-input__prefix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:inline-flex;flex-shrink:0;flex-wrap:nowrap;height:100%;pointer-events:none;text-align:center;transition:all var(--el-transition-duration);white-space:nowrap}.el-input__prefix-inner{align-items:center;display:inline-flex;justify-content:center;pointer-events:all}.el-input__prefix-inner>:last-child{margin-right:8px}.el-input__prefix-inner>:first-child,.el-input__prefix-inner>:first-child.el-input__icon{margin-left:0}.el-input__suffix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:inline-flex;flex-shrink:0;flex-wrap:nowrap;height:100%;pointer-events:none;text-align:center;transition:all var(--el-transition-duration);white-space:nowrap}.el-input__suffix-inner{align-items:center;display:inline-flex;justify-content:center;pointer-events:all}.el-input__suffix-inner>:first-child{margin-left:8px}.el-input .el-input__icon{align-items:center;display:flex;height:inherit;justify-content:center;line-height:inherit;margin-left:8px;transition:all var(--el-transition-duration)}.el-input__validateIcon{pointer-events:none}.el-input.is-active .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-color, ) inset}.el-input.is-disabled{cursor:not-allowed}.el-input.is-disabled .el-input__wrapper{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset}.el-input.is-disabled .el-input__inner{color:var(--el-disabled-text-color);-webkit-text-fill-color:var(--el-disabled-text-color);cursor:not-allowed}.el-input.is-disabled .el-input__inner::placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-input.is-exceed .el-input__wrapper{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-input.is-exceed .el-input__suffix .el-input__count{color:var(--el-color-danger)}.el-input--large{--el-input-height:var(--el-component-size-large);font-size:14px}.el-input--large .el-input__wrapper{padding:1px 15px}.el-input--large .el-input__inner{--el-input-inner-height:calc(var(--el-input-height, 40px) - 2px)}.el-input--small{--el-input-height:var(--el-component-size-small);font-size:12px}.el-input--small .el-input__wrapper{padding:1px 7px}.el-input--small .el-input__inner{--el-input-inner-height:calc(var(--el-input-height, 24px) - 2px)}.el-input-group{align-items:stretch;display:inline-flex;width:100%}.el-input-group__append,.el-input-group__prepend{align-items:center;background-color:var(--el-fill-color-light);border-radius:var(--el-input-border-radius);color:var(--el-color-info);display:inline-flex;justify-content:center;min-height:100%;padding:0 20px;position:relative;white-space:nowrap}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:none}.el-input-group__append .el-button,.el-input-group__append .el-select,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select{display:inline-block;margin:0 -20px}.el-input-group__append button.el-button,.el-input-group__append button.el-button:hover,.el-input-group__append div.el-select .el-select__wrapper,.el-input-group__append div.el-select:hover .el-select__wrapper,.el-input-group__prepend button.el-button,.el-input-group__prepend button.el-button:hover,.el-input-group__prepend div.el-select .el-select__wrapper,.el-input-group__prepend div.el-select:hover .el-select__wrapper{background-color:initial;border-color:#0000;color:inherit}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-input-group__prepend{border-bottom-right-radius:0;border-right:0;border-top-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group__append{border-left:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-group--prepend>.el-input__wrapper,.el-input-group__append{border-bottom-left-radius:0;border-top-left-radius:0}.el-input-group--prepend .el-input-group__prepend .el-select .el-select__wrapper{border-bottom-right-radius:0;border-top-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group--append>.el-input__wrapper{border-bottom-right-radius:0;border-top-right-radius:0}.el-input-group--append .el-input-group__append .el-select .el-select__wrapper{border-bottom-left-radius:0;border-top-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-hidden{display:none!important}.el-input-number{display:inline-flex;line-height:30px;position:relative;vertical-align:middle;width:150px}.el-input-number .el-input__wrapper{padding-left:42px;padding-right:42px}.el-input-number .el-input__inner{-webkit-appearance:none;-moz-appearance:textfield;line-height:1;text-align:center}.el-input-number .el-input__inner::-webkit-inner-spin-button,.el-input-number .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-input-number__decrease,.el-input-number__increase{align-items:center;background:var(--el-fill-color-light);bottom:1px;color:var(--el-text-color-regular);cursor:pointer;display:flex;font-size:13px;height:auto;justify-content:center;position:absolute;top:1px;-webkit-user-select:none;user-select:none;width:32px;z-index:1}.el-input-number__decrease:hover,.el-input-number__increase:hover{color:var(--el-color-primary)}.el-input-number__decrease:hover~.el-input:not(.is-disabled) .el-input__wrapper,.el-input-number__increase:hover~.el-input:not(.is-disabled) .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-input-number__decrease.is-disabled,.el-input-number__increase.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-input-number__increase{border-left:var(--el-border);border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0;right:1px}.el-input-number__decrease{border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);border-right:var(--el-border);left:1px}.el-input-number.is-disabled .el-input-number__decrease,.el-input-number.is-disabled .el-input-number__increase{border-color:var(--el-disabled-border-color);color:var(--el-disabled-border-color)}.el-input-number.is-disabled .el-input-number__decrease:hover,.el-input-number.is-disabled .el-input-number__increase:hover{color:var(--el-disabled-border-color);cursor:not-allowed}.el-input-number--large{line-height:38px;width:180px}.el-input-number--large .el-input-number__decrease,.el-input-number--large .el-input-number__increase{font-size:14px;width:40px}.el-input-number--large .el-input--large .el-input__wrapper{padding-left:47px;padding-right:47px}.el-input-number--small{line-height:22px;width:120px}.el-input-number--small .el-input-number__decrease,.el-input-number--small .el-input-number__increase{font-size:12px;width:24px}.el-input-number--small .el-input--small .el-input__wrapper{padding-left:31px;padding-right:31px}.el-input-number--small .el-input-number__decrease [class*=el-icon],.el-input-number--small .el-input-number__increase [class*=el-icon]{transform:scale(.9)}.el-input-number.is-without-controls .el-input__wrapper{padding-left:15px;padding-right:15px}.el-input-number.is-controls-right .el-input__wrapper{padding-left:15px;padding-right:42px}.el-input-number.is-controls-right .el-input-number__decrease,.el-input-number.is-controls-right .el-input-number__increase{--el-input-number-controls-height:15px;height:var(--el-input-number-controls-height);line-height:var(--el-input-number-controls-height)}.el-input-number.is-controls-right .el-input-number__decrease [class*=el-icon],.el-input-number.is-controls-right .el-input-number__increase [class*=el-icon]{transform:scale(.8)}.el-input-number.is-controls-right .el-input-number__increase{border-bottom:var(--el-border);border-radius:0 var(--el-border-radius-base) 0 0;bottom:auto;left:auto}.el-input-number.is-controls-right .el-input-number__decrease{border-left:var(--el-border);border-radius:0 0 var(--el-border-radius-base) 0;border-right:none;left:auto;right:1px;top:auto}.el-input-number.is-controls-right[class*=large] [class*=decrease],.el-input-number.is-controls-right[class*=large] [class*=increase]{--el-input-number-controls-height:19px}.el-input-number.is-controls-right[class*=small] [class*=decrease],.el-input-number.is-controls-right[class*=small] [class*=increase]{--el-input-number-controls-height:11px}.el-input-tag{--el-input-tag-border-color-hover:var(--el-border-color-hover);--el-input-tag-disabled-color:var(--el-disabled-text-color);--el-input-tag-disabled-border:var(--el-disabled-border-color);--el-input-tag-font-size:var(--el-font-size-base);--el-input-tag-close-hover-color:var(--el-text-color-secondary);--el-input-tag-text-color:var(--el-text-color-regular);--el-input-tag-input-focus-border-color:var(--el-color-primary);--el-input-tag-width:100%;--el-input-tag-mini-height:var(--el-component-size);--el-input-tag-gap:6px;--el-input-tag-padding:4px;--el-input-tag-inner-padding:8px;--el-input-tag-line-height:24px;align-items:center;background-color:var(--el-fill-color-blank);border-radius:var(--el-border-radius-base);box-shadow:0 0 0 1px var(--el-border-color) inset;box-sizing:border-box;cursor:pointer;display:flex;font-size:var(--el-input-tag-font-size);line-height:var(--el-input-tag-line-height);min-height:var(--el-input-tag-mini-height);padding:var(--el-input-tag-padding);transform:translateZ(0);transition:var(--el-transition-duration);width:var(--el-input-tag-width)}.el-input-tag.is-focused{box-shadow:0 0 0 1px var(--el-color-primary) inset}.el-input-tag.is-hovering:not(.is-focused){box-shadow:0 0 0 1px var(--el-border-color-hover) inset}.el-input-tag.is-disabled{background-color:var(--el-fill-color-light);cursor:not-allowed}.el-input-tag.is-disabled,.el-input-tag.is-disabled:hover{box-shadow:0 0 0 1px var(--el-input-tag-disabled-border) inset}.el-input-tag.is-disabled.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input-tag.is-disabled .el-input-tag__inner .el-input-tag__input,.el-input-tag.is-disabled .el-input-tag__inner .el-tag{cursor:not-allowed}.el-input-tag__prefix,.el-input-tag__suffix{align-items:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:flex;flex-shrink:0;padding:0 var(--el-input-tag-inner-padding)}.el-input-tag__suffix{gap:8px}.el-input-tag__inner{align-items:center;display:flex;flex:1;flex-wrap:wrap;gap:var(--el-input-tag-gap);max-width:100%;min-width:0;position:relative}.el-input-tag__inner.is-left-space{margin-left:var(--el-input-tag-inner-padding)}.el-input-tag__inner.is-right-space{margin-right:var(--el-input-tag-inner-padding)}.el-input-tag__inner.is-draggable .el-tag{cursor:move;-webkit-user-select:none;user-select:none}.el-input-tag__drop-indicator{background-color:var(--el-color-primary);height:var(--el-input-tag-line-height);position:absolute;top:0;width:1px}.el-input-tag__inner .el-tag{border-color:#0000;cursor:pointer;max-width:100%}.el-input-tag__inner .el-tag.el-tag--plain{border-color:var(--el-tag-border-color)}.el-input-tag__inner .el-tag .el-tag__content{line-height:normal;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-input-tag__input-wrapper{flex:1}.el-input-tag__input{appearance:none;background-color:initial;border:none;color:var(--el-input-tag-text-color);font-family:inherit;font-size:inherit;line-height:inherit;outline:none;padding:0;width:100%}.el-input-tag__input-calculator{left:0;max-width:100%;overflow:hidden;position:absolute;top:0;visibility:hidden;white-space:pre}.el-input-tag--large{--el-input-tag-gap:6px;--el-input-tag-padding:8px;--el-input-tag-padding-left:8px;--el-input-tag-font-size:14px}.el-input-tag--small{--el-input-tag-gap:4px;--el-input-tag-padding:2px;--el-input-tag-padding-left:6px;--el-input-tag-font-size:12px;--el-input-tag-line-height:20px;--el-input-tag-mini-height:var(--el-component-size-small)}.el-link{--el-link-font-size:var(--el-font-size-base);--el-link-font-weight:var(--el-font-weight-primary);--el-link-text-color:var(--el-text-color-regular);--el-link-hover-text-color:var(--el-color-primary);--el-link-disabled-text-color:var(--el-text-color-placeholder);align-items:center;color:var(--el-link-text-color);cursor:pointer;display:inline-flex;flex-direction:row;font-size:var(--el-link-font-size);font-weight:var(--el-link-font-weight);justify-content:center;outline:none;padding:0;position:relative;text-decoration:none;vertical-align:middle}.el-link:hover{color:var(--el-link-hover-text-color)}.el-link.is-underline:hover:after{border-bottom:1px solid var(--el-link-hover-text-color);bottom:0;content:"";height:0;left:0;position:absolute;right:0}.el-link.is-disabled{color:var(--el-link-disabled-text-color);cursor:not-allowed}.el-link [class*=el-icon-]+span{margin-left:5px}.el-link.el-link--default:after{border-color:var(--el-link-hover-text-color)}.el-link__inner{align-items:center;display:inline-flex;justify-content:center}.el-link.el-link--primary{--el-link-text-color:var(--el-color-primary);--el-link-hover-text-color:var(--el-color-primary-light-3);--el-link-disabled-text-color:var(--el-color-primary-light-5)}.el-link.el-link--primary.is-underline:hover:after,.el-link.el-link--primary:after{border-color:var(--el-link-text-color)}.el-link.el-link--success{--el-link-text-color:var(--el-color-success);--el-link-hover-text-color:var(--el-color-success-light-3);--el-link-disabled-text-color:var(--el-color-success-light-5)}.el-link.el-link--success.is-underline:hover:after,.el-link.el-link--success:after{border-color:var(--el-link-text-color)}.el-link.el-link--warning{--el-link-text-color:var(--el-color-warning);--el-link-hover-text-color:var(--el-color-warning-light-3);--el-link-disabled-text-color:var(--el-color-warning-light-5)}.el-link.el-link--warning.is-underline:hover:after,.el-link.el-link--warning:after{border-color:var(--el-link-text-color)}.el-link.el-link--danger{--el-link-text-color:var(--el-color-danger);--el-link-hover-text-color:var(--el-color-danger-light-3);--el-link-disabled-text-color:var(--el-color-danger-light-5)}.el-link.el-link--danger.is-underline:hover:after,.el-link.el-link--danger:after{border-color:var(--el-link-text-color)}.el-link.el-link--error{--el-link-text-color:var(--el-color-error);--el-link-hover-text-color:var(--el-color-error-light-3);--el-link-disabled-text-color:var(--el-color-error-light-5)}.el-link.el-link--error.is-underline:hover:after,.el-link.el-link--error:after{border-color:var(--el-link-text-color)}.el-link.el-link--info{--el-link-text-color:var(--el-color-info);--el-link-hover-text-color:var(--el-color-info-light-3);--el-link-disabled-text-color:var(--el-color-info-light-5)}.el-link.el-link--info.is-underline:hover:after,.el-link.el-link--info:after{border-color:var(--el-link-text-color)}:root{--el-loading-spinner-size:42px;--el-loading-fullscreen-spinner-size:50px}.el-loading-parent--relative{position:relative!important}.el-loading-parent--hidden{overflow:hidden!important}.el-loading-mask{background-color:var(--el-mask-color);inset:0;margin:0;position:absolute;transition:opacity var(--el-transition-duration);z-index:2000}.el-loading-mask.is-fullscreen{position:fixed}.el-loading-mask.is-fullscreen .el-loading-spinner{margin-top:calc((0px - var(--el-loading-fullscreen-spinner-size))/2)}.el-loading-mask.is-fullscreen .el-loading-spinner .circular{height:var(--el-loading-fullscreen-spinner-size);width:var(--el-loading-fullscreen-spinner-size)}.el-loading-spinner{margin-top:calc((0px - var(--el-loading-spinner-size))/2);position:absolute;text-align:center;top:50%;width:100%}.el-loading-spinner .el-loading-text{color:var(--el-color-primary);font-size:14px;margin:3px 0}.el-loading-spinner .circular{animation:loading-rotate 2s linear infinite;display:inline;height:var(--el-loading-spinner-size);width:var(--el-loading-spinner-size)}.el-loading-spinner .path{animation:loading-dash 1.5s ease-in-out infinite;stroke-dasharray:90,150;stroke-dashoffset:0;stroke-width:2;stroke:var(--el-color-primary);stroke-linecap:round}.el-loading-spinner i{color:var(--el-color-primary)}.el-loading-fade-enter-from,.el-loading-fade-leave-to{opacity:0}@keyframes loading-rotate{to{transform:rotate(1turn)}}@keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}.el-main{--el-main-padding:20px;box-sizing:border-box;display:block;flex:1;flex-basis:auto;overflow:auto;padding:var(--el-main-padding)}:root{--el-menu-active-color:var(--el-color-primary);--el-menu-text-color:var(--el-text-color-primary);--el-menu-hover-text-color:var(--el-color-primary);--el-menu-bg-color:var(--el-fill-color-blank);--el-menu-hover-bg-color:var(--el-color-primary-light-9);--el-menu-item-height:56px;--el-menu-sub-item-height:calc(var(--el-menu-item-height) - 6px);--el-menu-horizontal-height:60px;--el-menu-horizontal-sub-item-height:36px;--el-menu-item-font-size:var(--el-font-size-base);--el-menu-item-hover-fill:var(--el-color-primary-light-9);--el-menu-border-color:var(--el-border-color);--el-menu-base-level-padding:20px;--el-menu-level-padding:20px;--el-menu-icon-width:24px}.el-menu{background-color:var(--el-menu-bg-color);border-right:1px solid var(--el-menu-border-color);box-sizing:border-box;list-style:none;margin:0;padding-left:0;position:relative}.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item-group__title,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-sub-menu__title{padding-left:calc(var(--el-menu-base-level-padding) + var(--el-menu-level)*var(--el-menu-level-padding));white-space:nowrap}.el-menu:not(.el-menu--collapse) .el-sub-menu__title{padding-right:calc(var(--el-menu-base-level-padding) + var(--el-menu-icon-width))}.el-menu--horizontal{border-right:none;display:flex;flex-wrap:nowrap;height:var(--el-menu-horizontal-height)}.el-menu--horizontal.el-menu--popup-container{height:unset}.el-menu--horizontal.el-menu{border-bottom:1px solid var(--el-menu-border-color)}.el-menu--horizontal>.el-menu-item{align-items:center;border-bottom:2px solid #0000;color:var(--el-menu-text-color);display:inline-flex;height:100%;justify-content:center;margin:0}.el-menu--horizontal>.el-menu-item a,.el-menu--horizontal>.el-menu-item a:hover{color:inherit}.el-menu--horizontal>.el-sub-menu:focus,.el-menu--horizontal>.el-sub-menu:hover{outline:none}.el-menu--horizontal>.el-sub-menu:hover .el-sub-menu__title{color:var(--el-menu-hover-text-color)}.el-menu--horizontal>.el-sub-menu.is-active .el-sub-menu__title{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title{border-bottom:2px solid #0000;color:var(--el-menu-text-color);height:100%}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title:hover{background-color:var(--el-menu-bg-color)}.el-menu--horizontal .el-menu .el-menu-item,.el-menu--horizontal .el-menu .el-sub-menu__title{align-items:center;background-color:var(--el-menu-bg-color);color:var(--el-menu-text-color);display:flex;height:var(--el-menu-horizontal-sub-item-height);line-height:var(--el-menu-horizontal-sub-item-height);padding:0 10px}.el-menu--horizontal .el-menu .el-sub-menu__title{padding-right:40px}.el-menu--horizontal .el-menu .el-menu-item.is-active,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--horizontal .el-menu-item:not(.is-disabled):focus,.el-menu--horizontal .el-menu-item:not(.is-disabled):hover{background-color:var(--el-menu-hover-bg-color);color:var(--el-menu-hover-text-color);outline:none}.el-menu--horizontal>.el-menu-item.is-active{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)!important}.el-menu--collapse{width:calc(var(--el-menu-icon-width) + var(--el-menu-base-level-padding)*2)}.el-menu--collapse>.el-menu-item [class^=el-icon],.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title [class^=el-icon],.el-menu--collapse>.el-sub-menu>.el-sub-menu__title [class^=el-icon]{margin:0;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-menu--collapse>.el-menu-item .el-sub-menu__icon-arrow,.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow{display:none}.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title>span,.el-menu--collapse>.el-menu-item>span,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title>span{display:inline-block;height:0;overflow:hidden;visibility:hidden;width:0}.el-menu--collapse>.el-menu-item.is-active i{color:inherit}.el-menu--collapse .el-menu .el-sub-menu{min-width:200px}.el-menu--collapse .el-sub-menu.is-active .el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--popup{border:none;border-radius:var(--el-border-radius-small);box-shadow:var(--el-box-shadow-light);min-width:200px;padding:5px 0;z-index:100}.el-menu .el-icon{flex-shrink:0}.el-menu-item{align-items:center;box-sizing:border-box;color:var(--el-menu-text-color);cursor:pointer;display:flex;font-size:var(--el-menu-item-font-size);height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);list-style:none;padding:0 var(--el-menu-base-level-padding);position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);white-space:nowrap}.el-menu-item *{vertical-align:bottom}.el-menu-item i{color:inherit}.el-menu-item:focus,.el-menu-item:hover{outline:none}.el-menu-item:hover{background-color:var(--el-menu-hover-bg-color)}.el-menu-item.is-disabled{background:none!important;cursor:not-allowed;opacity:.25}.el-menu-item [class^=el-icon]{font-size:18px;margin-right:5px;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-menu-item.is-active{color:var(--el-menu-active-color)}.el-menu-item.is-active i{color:inherit}.el-menu-item .el-menu-tooltip__trigger{align-items:center;box-sizing:border-box;display:inline-flex;height:100%;left:0;padding:0 var(--el-menu-base-level-padding);position:absolute;top:0;width:100%}.el-sub-menu{list-style:none;margin:0;padding-left:0}.el-sub-menu__title{align-items:center;box-sizing:border-box;color:var(--el-menu-text-color);cursor:pointer;display:flex;font-size:var(--el-menu-item-font-size);height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);list-style:none;padding:0 var(--el-menu-base-level-padding);position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);white-space:nowrap}.el-sub-menu__title *{vertical-align:bottom}.el-sub-menu__title i{color:inherit}.el-sub-menu__title:focus,.el-sub-menu__title:hover{outline:none}.el-sub-menu__title.is-disabled{background:none!important;cursor:not-allowed;opacity:.25}.el-sub-menu__title:hover{background-color:var(--el-menu-hover-bg-color)}.el-sub-menu .el-menu{border:none}.el-sub-menu .el-menu-item{height:var(--el-menu-sub-item-height);line-height:var(--el-menu-sub-item-height)}.el-sub-menu__hide-arrow .el-sub-menu__icon-arrow{display:none!important}.el-sub-menu.is-active .el-sub-menu__title{border-bottom-color:var(--el-menu-active-color)}.el-sub-menu.is-disabled .el-menu-item,.el-sub-menu.is-disabled .el-sub-menu__title{background:none!important;cursor:not-allowed;opacity:.25}.el-sub-menu .el-icon{font-size:18px;margin-right:5px;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-sub-menu .el-icon.el-sub-menu__icon-more{margin-right:0!important}.el-sub-menu .el-sub-menu__icon-arrow{font-size:12px;margin-right:0;margin-top:-6px;position:absolute;right:var(--el-menu-base-level-padding);top:50%;transition:transform var(--el-transition-duration);width:inherit}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{color:var(--el-text-color-secondary);font-size:12px;line-height:normal;padding:7px 0 7px var(--el-menu-base-level-padding)}.horizontal-collapse-transition .el-sub-menu__title .el-sub-menu__icon-arrow{opacity:0;transition:var(--el-transition-duration-fast)}.el-message-box{--el-messagebox-title-color:var(--el-text-color-primary);--el-messagebox-width:420px;--el-messagebox-border-radius:4px;--el-messagebox-box-shadow:var(--el-box-shadow);--el-messagebox-font-size:var(--el-font-size-large);--el-messagebox-content-font-size:var(--el-font-size-base);--el-messagebox-content-color:var(--el-text-color-regular);--el-messagebox-error-font-size:12px;--el-messagebox-padding-primary:12px;--el-messagebox-font-line-height:var(--el-font-line-height-primary);backface-visibility:hidden;background-color:var(--el-bg-color);border-radius:var(--el-messagebox-border-radius);box-shadow:var(--el-messagebox-box-shadow);box-sizing:border-box;display:inline-block;font-size:var(--el-messagebox-font-size);max-width:var(--el-messagebox-width);overflow:hidden;overflow-wrap:break-word;padding:var(--el-messagebox-padding-primary);position:relative;text-align:left;vertical-align:middle;width:100%}.el-message-box:focus{outline:none!important}.el-overlay.is-message-box .el-overlay-message-box{inset:0;overflow:auto;padding:16px;position:fixed;text-align:center}.el-overlay.is-message-box .el-overlay-message-box:after{content:"";display:inline-block;height:100%;vertical-align:middle;width:0}.el-message-box.is-draggable .el-message-box__header{cursor:move;-webkit-user-select:none;user-select:none}.el-message-box__header{padding-bottom:var(--el-messagebox-padding-primary)}.el-message-box__header.show-close{padding-right:calc(var(--el-messagebox-padding-primary) + var(--el-message-close-size, 16px))}.el-message-box__title{color:var(--el-messagebox-title-color);font-size:var(--el-messagebox-font-size);line-height:var(--el-messagebox-font-line-height)}.el-message-box__headerbtn{background:#0000;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:40px;outline:none;padding:0;position:absolute;right:0;top:0;width:40px}.el-message-box__headerbtn .el-message-box__close{color:var(--el-color-info);font-size:inherit}.el-message-box__headerbtn:focus .el-message-box__close,.el-message-box__headerbtn:hover .el-message-box__close{color:var(--el-color-primary)}.el-message-box__content{color:var(--el-messagebox-content-color);font-size:var(--el-messagebox-content-font-size)}.el-message-box__container{align-items:center;display:flex;gap:12px}.el-message-box__input{padding-top:12px}.el-message-box__input div.invalid>input,.el-message-box__input div.invalid>input:focus{border-color:var(--el-color-error)}.el-message-box__status{font-size:24px}.el-message-box__status.el-message-box-icon--success{--el-messagebox-color:var(--el-color-success);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--info{--el-messagebox-color:var(--el-color-info);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--warning{--el-messagebox-color:var(--el-color-warning);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--error{--el-messagebox-color:var(--el-color-error);color:var(--el-messagebox-color)}.el-message-box__message{margin:0}.el-message-box__message p{line-height:var(--el-messagebox-font-line-height);margin:0}.el-message-box__errormsg{color:var(--el-color-error);font-size:var(--el-messagebox-error-font-size);line-height:var(--el-messagebox-font-line-height)}.el-message-box__btns{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;padding-top:var(--el-messagebox-padding-primary)}.el-message-box--center .el-message-box__title{align-items:center;display:flex;gap:6px;justify-content:center}.el-message-box--center .el-message-box__status{font-size:inherit}.el-message-box--center .el-message-box__btns,.el-message-box--center .el-message-box__container{justify-content:center}.fade-in-linear-enter-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration)}.fade-in-linear-leave-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration) reverse}@keyframes msgbox-fade-in{0%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}.el-message{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-border-color-lighter);--el-message-padding:11px 15px;--el-message-close-size:16px;--el-message-close-icon-color:var(--el-text-color-placeholder);--el-message-close-hover-color:var(--el-text-color-secondary);align-items:center;background-color:var(--el-message-bg-color);border-color:var(--el-message-border-color);border-radius:var(--el-border-radius-base);border-style:var(--el-border-style);border-width:var(--el-border-width);box-sizing:border-box;display:flex;gap:8px;left:50%;max-width:calc(100% - 32px);padding:var(--el-message-padding);position:fixed;top:20px;transform:translate(-50%);transition:opacity var(--el-transition-duration),transform .4s,top .4s;width:fit-content}.el-message.is-center{justify-content:center}.el-message.is-plain{background-color:var(--el-bg-color-overlay);border-color:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-message p{margin:0}.el-message--success{--el-message-bg-color:var(--el-color-success-light-9);--el-message-border-color:var(--el-color-success-light-8);--el-message-text-color:var(--el-color-success)}.el-message--success .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--success{color:var(--el-message-text-color)}.el-message--info{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-color-info-light-8);--el-message-text-color:var(--el-color-info)}.el-message--info .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--info{color:var(--el-message-text-color)}.el-message--warning{--el-message-bg-color:var(--el-color-warning-light-9);--el-message-border-color:var(--el-color-warning-light-8);--el-message-text-color:var(--el-color-warning)}.el-message--warning .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--warning{color:var(--el-message-text-color)}.el-message--error{--el-message-bg-color:var(--el-color-error-light-9);--el-message-border-color:var(--el-color-error-light-8);--el-message-text-color:var(--el-color-error)}.el-message--error .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--error{color:var(--el-message-text-color)}.el-message .el-message__badge{position:absolute;right:-8px;top:-8px}.el-message__content{font-size:14px;line-height:1;padding:0}.el-message__content:focus{outline-width:0}.el-message .el-message__closeBtn{color:var(--el-message-close-icon-color);cursor:pointer;font-size:var(--el-message-close-size)}.el-message .el-message__closeBtn:focus{outline-width:0}.el-message .el-message__closeBtn:hover{color:var(--el-message-close-hover-color)}.el-message-fade-enter-from,.el-message-fade-leave-to{opacity:0;transform:translate(-50%,-100%)}.el-notification{--el-notification-width:330px;--el-notification-padding:14px 26px 14px 13px;--el-notification-radius:8px;--el-notification-shadow:var(--el-box-shadow-light);--el-notification-border-color:var(--el-border-color-lighter);--el-notification-icon-size:24px;--el-notification-close-font-size:var(--el-message-close-size,16px);--el-notification-group-margin-left:13px;--el-notification-group-margin-right:8px;--el-notification-content-font-size:var(--el-font-size-base);--el-notification-content-color:var(--el-text-color-regular);--el-notification-title-font-size:16px;--el-notification-title-color:var(--el-text-color-primary);--el-notification-close-color:var(--el-text-color-secondary);--el-notification-close-hover-color:var(--el-text-color-regular);background-color:var(--el-bg-color-overlay);border:1px solid var(--el-notification-border-color);border-radius:var(--el-notification-radius);box-shadow:var(--el-notification-shadow);box-sizing:border-box;display:flex;overflow:hidden;overflow-wrap:break-word;padding:var(--el-notification-padding);position:fixed;transition:opacity var(--el-transition-duration),transform var(--el-transition-duration),left var(--el-transition-duration),right var(--el-transition-duration),top .4s,bottom var(--el-transition-duration);width:var(--el-notification-width);z-index:9999}.el-notification.right{right:16px}.el-notification.left{left:16px}.el-notification__group{margin-left:var(--el-notification-group-margin-left);margin-right:var(--el-notification-group-margin-right)}.el-notification__title{color:var(--el-notification-title-color);font-size:var(--el-notification-title-font-size);font-weight:700;line-height:var(--el-notification-icon-size);margin:0}.el-notification__content{color:var(--el-notification-content-color);font-size:var(--el-notification-content-font-size);line-height:24px;margin:6px 0 0}.el-notification__content p{margin:0}.el-notification .el-notification__icon{font-size:var(--el-notification-icon-size);height:var(--el-notification-icon-size);width:var(--el-notification-icon-size)}.el-notification .el-notification__closeBtn{color:var(--el-notification-close-color);cursor:pointer;font-size:var(--el-notification-close-font-size);position:absolute;right:15px;top:18px}.el-notification .el-notification__closeBtn:hover{color:var(--el-notification-close-hover-color)}.el-notification .el-notification--success{--el-notification-icon-color:var(--el-color-success);color:var(--el-notification-icon-color)}.el-notification .el-notification--info{--el-notification-icon-color:var(--el-color-info);color:var(--el-notification-icon-color)}.el-notification .el-notification--warning{--el-notification-icon-color:var(--el-color-warning);color:var(--el-notification-icon-color)}.el-notification .el-notification--error{--el-notification-icon-color:var(--el-color-error);color:var(--el-notification-icon-color)}.el-notification-fade-enter-from.right{right:0;transform:translate(100%)}.el-notification-fade-enter-from.left{left:0;transform:translate(-100%)}.el-notification-fade-leave-to{opacity:0}.el-overlay{background-color:var(--el-overlay-color-lighter);height:100%;inset:0;overflow:auto;position:fixed;z-index:2000}.el-overlay .el-overlay-root{height:0}.el-page-header.is-contentful .el-page-header__main{border-top:1px solid var(--el-border-color-light);margin-top:16px}.el-page-header__header{align-items:center;display:flex;justify-content:space-between;line-height:24px}.el-page-header__left{align-items:center;display:flex;margin-right:40px;position:relative}.el-page-header__back{align-items:center;cursor:pointer;display:flex}.el-page-header__left .el-divider--vertical{margin:0 16px}.el-page-header__icon{align-items:center;display:flex;font-size:16px;margin-right:10px}.el-page-header__icon .el-icon{font-size:inherit}.el-page-header__title{font-size:14px;font-weight:500}.el-page-header__content{color:var(--el-text-color-primary);font-size:18px}.el-page-header__breadcrumb{margin-bottom:16px}.el-pagination{--el-pagination-font-size:14px;--el-pagination-bg-color:var(--el-fill-color-blank);--el-pagination-text-color:var(--el-text-color-primary);--el-pagination-border-radius:2px;--el-pagination-button-color:var(--el-text-color-primary);--el-pagination-button-width:32px;--el-pagination-button-height:32px;--el-pagination-button-disabled-color:var(--el-text-color-placeholder);--el-pagination-button-disabled-bg-color:var(--el-fill-color-blank);--el-pagination-button-bg-color:var(--el-fill-color);--el-pagination-hover-color:var(--el-color-primary);--el-pagination-font-size-small:12px;--el-pagination-button-width-small:24px;--el-pagination-button-height-small:24px;--el-pagination-button-width-large:40px;--el-pagination-button-height-large:40px;--el-pagination-item-gap:16px;align-items:center;color:var(--el-pagination-text-color);display:flex;font-size:var(--el-pagination-font-size);font-weight:400;white-space:nowrap}.el-pagination .el-input__inner{-moz-appearance:textfield;text-align:center}.el-pagination .el-select{width:128px}.el-pagination button{align-items:center;background:var(--el-pagination-bg-color);border:none;border-radius:var(--el-pagination-border-radius);box-sizing:border-box;color:var(--el-pagination-button-color);cursor:pointer;display:flex;font-size:var(--el-pagination-font-size);height:var(--el-pagination-button-height);justify-content:center;line-height:var(--el-pagination-button-height);min-width:var(--el-pagination-button-width);padding:0 4px;text-align:center}.el-pagination button *{pointer-events:none}.el-pagination button:focus{outline:none}.el-pagination button.is-active,.el-pagination button:hover{color:var(--el-pagination-hover-color)}.el-pagination button.is-active{cursor:default;font-weight:700}.el-pagination button.is-active.is-disabled{color:var(--el-text-color-secondary);font-weight:700}.el-pagination button.is-disabled,.el-pagination button:disabled{background-color:var(--el-pagination-button-disabled-bg-color);color:var(--el-pagination-button-disabled-color);cursor:not-allowed}.el-pagination button:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-pagination .btn-next .el-icon,.el-pagination .btn-prev .el-icon{display:block;font-size:12px;font-weight:700;width:inherit}.el-pagination>.is-first{margin-left:0!important}.el-pagination>.is-last{margin-right:0!important}.el-pagination .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination__sizes,.el-pagination__total{color:var(--el-text-color-regular);font-weight:400;margin-left:var(--el-pagination-item-gap)}.el-pagination__total[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__jump{align-items:center;color:var(--el-text-color-regular);display:flex;font-weight:400;margin-left:var(--el-pagination-item-gap)}.el-pagination__jump[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__goto{margin-right:8px}.el-pagination__editor{box-sizing:border-box;text-align:center}.el-pagination__editor.el-input{width:56px}.el-pagination__editor .el-input__inner::-webkit-inner-spin-button,.el-pagination__editor .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-pagination__classifier{margin-left:8px}.el-pagination__rightwrapper{align-items:center;display:flex;flex:1;justify-content:flex-end}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev,.el-pagination.is-background .el-pager li{background-color:var(--el-pagination-button-bg-color);margin:0 4px}.el-pagination.is-background .btn-next.is-active,.el-pagination.is-background .btn-prev.is-active,.el-pagination.is-background .el-pager li.is-active{background-color:var(--el-color-primary);color:var(--el-color-white)}.el-pagination.is-background .btn-next.is-disabled,.el-pagination.is-background .btn-next:disabled,.el-pagination.is-background .btn-prev.is-disabled,.el-pagination.is-background .btn-prev:disabled,.el-pagination.is-background .el-pager li.is-disabled,.el-pagination.is-background .el-pager li:disabled{background-color:var(--el-disabled-bg-color);color:var(--el-text-color-placeholder)}.el-pagination.is-background .btn-next.is-disabled.is-active,.el-pagination.is-background .btn-next:disabled.is-active,.el-pagination.is-background .btn-prev.is-disabled.is-active,.el-pagination.is-background .btn-prev:disabled.is-active,.el-pagination.is-background .el-pager li.is-disabled.is-active,.el-pagination.is-background .el-pager li:disabled.is-active{background-color:var(--el-fill-color-dark);color:var(--el-text-color-secondary)}.el-pagination.is-background .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination--small .btn-next,.el-pagination--small .btn-prev,.el-pagination--small .el-pager li{font-size:var(--el-pagination-font-size-small);height:var(--el-pagination-button-height-small);line-height:var(--el-pagination-button-height-small);min-width:var(--el-pagination-button-width-small)}.el-pagination--small button,.el-pagination--small span:not([class*=suffix]){font-size:var(--el-pagination-font-size-small)}.el-pagination--small .el-select{width:100px}.el-pagination--large .btn-next,.el-pagination--large .btn-prev,.el-pagination--large .el-pager li{height:var(--el-pagination-button-height-large);line-height:var(--el-pagination-button-height-large);min-width:var(--el-pagination-button-width-large)}.el-pagination--large .el-select .el-input{width:160px}.el-pager{font-size:0;list-style:none;margin:0;padding:0;-webkit-user-select:none;user-select:none}.el-pager,.el-pager li{align-items:center;display:flex}.el-pager li{background:var(--el-pagination-bg-color);border:none;border-radius:var(--el-pagination-border-radius);box-sizing:border-box;color:var(--el-pagination-button-color);cursor:pointer;font-size:var(--el-pagination-font-size);height:var(--el-pagination-button-height);justify-content:center;line-height:var(--el-pagination-button-height);min-width:var(--el-pagination-button-width);padding:0 4px;text-align:center}.el-pager li *{pointer-events:none}.el-pager li:focus{outline:none}.el-pager li.is-active,.el-pager li:hover{color:var(--el-pagination-hover-color)}.el-pager li.is-active{cursor:default;font-weight:700}.el-pager li.is-active.is-disabled{color:var(--el-text-color-secondary);font-weight:700}.el-pager li.is-disabled,.el-pager li:disabled{background-color:var(--el-pagination-button-disabled-bg-color);color:var(--el-pagination-button-disabled-color);cursor:not-allowed}.el-pager li:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-popconfirm__main{align-items:center;display:flex}.el-popconfirm__icon{margin-right:5px}.el-popconfirm__action{margin-top:8px;text-align:right}.el-popover{--el-popover-bg-color:var(--el-bg-color-overlay);--el-popover-font-size:var(--el-font-size-base);--el-popover-border-color:var(--el-border-color-lighter);--el-popover-padding:12px;--el-popover-padding-large:18px 20px;--el-popover-title-font-size:16px;--el-popover-title-text-color:var(--el-text-color-primary);--el-popover-border-radius:4px}.el-popover.el-popper{background:var(--el-popover-bg-color);border:1px solid var(--el-popover-border-color);border-radius:var(--el-popover-border-radius);box-shadow:var(--el-box-shadow-light);box-sizing:border-box;color:var(--el-text-color-regular);font-size:var(--el-popover-font-size);line-height:1.4;min-width:150px;overflow-wrap:break-word;padding:var(--el-popover-padding);z-index:var(--el-index-popper)}.el-popover.el-popper--plain{padding:var(--el-popover-padding-large)}.el-popover__title{color:var(--el-popover-title-text-color);font-size:var(--el-popover-title-font-size);line-height:1;margin-bottom:12px}.el-popover__reference:focus:hover,.el-popover__reference:focus:not(.focusing){outline-width:0}.el-popover.el-popper.is-dark{--el-popover-bg-color:var(--el-text-color-primary);--el-popover-border-color:var(--el-text-color-primary);--el-popover-title-text-color:var(--el-bg-color);color:var(--el-bg-color)}.el-popover.el-popper:focus,.el-popover.el-popper:focus:active{outline-width:0}.el-progress{align-items:center;display:flex;line-height:1;position:relative}.el-progress__text{color:var(--el-text-color-regular);font-size:14px;line-height:1;margin-left:5px;min-width:50px}.el-progress__text i{display:block;vertical-align:middle}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{left:0;margin:0;position:absolute;text-align:center;top:50%;transform:translateY(-50%);width:100%}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{display:inline-block;vertical-align:middle}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{display:block;margin-right:0;padding-right:0}.el-progress--text-inside .el-progress-bar{margin-right:0;padding-right:0}.el-progress.is-success .el-progress-bar__inner{background-color:var(--el-color-success)}.el-progress.is-success .el-progress__text{color:var(--el-color-success)}.el-progress.is-warning .el-progress-bar__inner{background-color:var(--el-color-warning)}.el-progress.is-warning .el-progress__text{color:var(--el-color-warning)}.el-progress.is-exception .el-progress-bar__inner{background-color:var(--el-color-danger)}.el-progress.is-exception .el-progress__text{color:var(--el-color-danger)}.el-progress-bar{box-sizing:border-box;flex-grow:1}.el-progress-bar__outer{background-color:var(--el-border-color-lighter);border-radius:100px;height:6px;overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{background-color:var(--el-color-primary);border-radius:100px;height:100%;left:0;line-height:1;position:absolute;text-align:right;top:0;transition:width .6s ease;white-space:nowrap}.el-progress-bar__inner:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-progress-bar__inner--indeterminate{animation:indeterminate 3s infinite;transform:translateZ(0)}.el-progress-bar__inner--striped{background-image:linear-gradient(45deg,#0000001a 25%,#0000 0 50%,#0000001a 0 75%,#0000 0,#0000);background-size:1.25em 1.25em}.el-progress-bar__inner--striped.el-progress-bar__inner--striped-flow{animation:striped-flow 3s linear infinite}.el-progress-bar__innerText{color:#fff;display:inline-block;font-size:12px;margin:0 5px;vertical-align:middle}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@keyframes indeterminate{0%{left:-100%}to{left:100%}}@keyframes striped-flow{0%{background-position:-100%}to{background-position:100%}}.el-radio-button{--el-radio-button-checked-bg-color:var(--el-color-primary);--el-radio-button-checked-text-color:var(--el-color-white);--el-radio-button-checked-border-color:var(--el-color-primary);--el-radio-button-disabled-checked-fill:var(--el-border-color-extra-light)}.el-radio-button,.el-radio-button__inner{display:inline-block;outline:none;position:relative}.el-radio-button__inner{-webkit-appearance:none;background:var(--el-button-bg-color,var(--el-fill-color-blank));border:var(--el-border);border-left:0;border-radius:0;box-sizing:border-box;color:var(--el-button-text-color,var(--el-text-color-regular));cursor:pointer;font-size:var(--el-font-size-base);font-weight:var(--el-button-font-weight,var(--el-font-weight-primary));line-height:1;margin:0;padding:8px 15px;text-align:center;transition:var(--el-transition-all);-webkit-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.el-radio-button__inner.is-round{padding:8px 15px}.el-radio-button__inner:hover{color:var(--el-color-primary)}.el-radio-button__inner [class*=el-icon-]{line-height:.9}.el-radio-button__inner [class*=el-icon-]+span{margin-left:5px}.el-radio-button:first-child .el-radio-button__inner{border-left:var(--el-border);border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);box-shadow:none!important}.el-radio-button.is-active .el-radio-button__original-radio:not(:disabled)+.el-radio-button__inner{background-color:var(--el-radio-button-checked-bg-color,var(--el-color-primary));border-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));box-shadow:-1px 0 0 0 var(--el-radio-button-checked-border-color,var(--el-color-primary));color:var(--el-radio-button-checked-text-color,var(--el-color-white))}.el-radio-button__original-radio{opacity:0;outline:none;position:absolute;z-index:-1}.el-radio-button__original-radio:focus-visible+.el-radio-button__inner{border-left:var(--el-border);border-left-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));border-radius:var(--el-border-radius-base);box-shadow:none;outline:2px solid var(--el-radio-button-checked-border-color);outline-offset:1px;z-index:2}.el-radio-button__original-radio:disabled+.el-radio-button__inner{background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));background-image:none;border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none;color:var(--el-disabled-text-color);cursor:not-allowed}.el-radio-button__original-radio:disabled:checked+.el-radio-button__inner{background-color:var(--el-radio-button-disabled-checked-fill)}.el-radio-button:last-child .el-radio-button__inner{border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0}.el-radio-button:first-child:last-child .el-radio-button__inner{border-radius:var(--el-border-radius-base)}.el-radio-button--large .el-radio-button__inner{border-radius:0;font-size:var(--el-font-size-base);padding:12px 19px}.el-radio-button--large .el-radio-button__inner.is-round{padding:12px 19px}.el-radio-button--small .el-radio-button__inner{border-radius:0;font-size:12px;padding:5px 11px}.el-radio-button--small .el-radio-button__inner.is-round{padding:5px 11px}.el-radio-group{flex-wrap:wrap;font-size:0}.el-radio,.el-radio-group{align-items:center;display:inline-flex}.el-radio{--el-radio-font-size:var(--el-font-size-base);--el-radio-text-color:var(--el-text-color-regular);--el-radio-font-weight:var(--el-font-weight-primary);--el-radio-input-height:14px;--el-radio-input-width:14px;--el-radio-input-border-radius:var(--el-border-radius-circle);--el-radio-input-bg-color:var(--el-fill-color-blank);--el-radio-input-border:var(--el-border);--el-radio-input-border-color:var(--el-border-color);--el-radio-input-border-color-hover:var(--el-color-primary);color:var(--el-radio-text-color);cursor:pointer;font-size:var(--el-font-size-base);font-weight:var(--el-radio-font-weight);height:32px;margin-right:30px;outline:none;position:relative;-webkit-user-select:none;user-select:none;white-space:nowrap}.el-radio.el-radio--large{height:40px}.el-radio.el-radio--small{height:24px}.el-radio.is-bordered{border:var(--el-border);border-radius:var(--el-border-radius-base);box-sizing:border-box;padding:0 15px 0 9px}.el-radio.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-radio.is-bordered.is-disabled{border-color:var(--el-border-color-lighter);cursor:not-allowed}.el-radio.is-bordered.el-radio--large{border-radius:var(--el-border-radius-base);padding:0 19px 0 11px}.el-radio.is-bordered.el-radio--large .el-radio__label{font-size:var(--el-font-size-base)}.el-radio.is-bordered.el-radio--large .el-radio__inner{height:14px;width:14px}.el-radio.is-bordered.el-radio--small{border-radius:var(--el-border-radius-base);padding:0 11px 0 7px}.el-radio.is-bordered.el-radio--small .el-radio__label{font-size:12px}.el-radio.is-bordered.el-radio--small .el-radio__inner{height:12px;width:12px}.el-radio:last-child{margin-right:0}.el-radio__input{cursor:pointer;display:inline-flex;outline:none;position:relative;vertical-align:middle;white-space:nowrap}.el-radio__input.is-disabled .el-radio__inner{border-color:var(--el-disabled-border-color)}.el-radio__input.is-disabled .el-radio__inner,.el-radio__input.is-disabled .el-radio__inner:after{background-color:var(--el-disabled-bg-color);cursor:not-allowed}.el-radio__input.is-disabled .el-radio__inner+.el-radio__label{cursor:not-allowed}.el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color)}.el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:var(--el-text-color-placeholder)}.el-radio__input.is-disabled+span.el-radio__label{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-radio__input.is-checked .el-radio__inner{background:var(--el-color-primary);border-color:var(--el-color-primary)}.el-radio__input.is-checked .el-radio__inner:after{transform:translate(-50%,-50%) scale(1)}.el-radio__input.is-checked+.el-radio__label{color:var(--el-color-primary)}.el-radio__input.is-focus .el-radio__inner{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner{background-color:var(--el-radio-input-bg-color);border:var(--el-radio-input-border);border-radius:var(--el-radio-input-border-radius);box-sizing:border-box;cursor:pointer;display:inline-block;height:var(--el-radio-input-height);position:relative;width:var(--el-radio-input-width)}.el-radio__inner:hover{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner:after{background-color:var(--el-color-white);border-radius:var(--el-radio-input-border-radius);content:"";height:4px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .15s ease-in;width:4px}.el-radio__original{inset:0;margin:0;opacity:0;outline:none;position:absolute;z-index:-1}.el-radio__original:focus-visible+.el-radio__inner{border-radius:var(--el-radio-input-border-radius);outline:2px solid var(--el-radio-input-border-color-hover);outline-offset:1px}.el-radio:focus:not(:focus-visible):not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner{box-shadow:0 0 2px 2px var(--el-radio-input-border-color-hover)}.el-radio__label{font-size:var(--el-radio-font-size);padding-left:8px}.el-radio.el-radio--large .el-radio__label{font-size:14px}.el-radio.el-radio--large .el-radio__inner{height:14px;width:14px}.el-radio.el-radio--small .el-radio__label{font-size:12px}.el-radio.el-radio--small .el-radio__inner{height:12px;width:12px}.el-rate{--el-rate-height:20px;--el-rate-font-size:var(--el-font-size-base);--el-rate-icon-size:18px;--el-rate-icon-margin:6px;--el-rate-void-color:var(--el-border-color-darker);--el-rate-fill-color:#f7ba2a;--el-rate-disabled-void-color:var(--el-fill-color);--el-rate-text-color:var(--el-text-color-primary);align-items:center;display:inline-flex;height:32px}.el-rate:active,.el-rate:focus{outline:none}.el-rate__item{color:var(--el-rate-void-color);cursor:pointer;display:inline-block;font-size:0;line-height:normal;position:relative;vertical-align:middle}.el-rate .el-rate__icon{display:inline-block;font-size:var(--el-rate-icon-size);margin-right:var(--el-rate-icon-margin);position:relative;transition:var(--el-transition-duration)}.el-rate .el-rate__icon.hover{transform:scale(1.15)}.el-rate .el-rate__icon .path2{left:0;position:absolute;top:0}.el-rate .el-rate__icon.is-active,.el-rate__decimal{color:var(--el-rate-fill-color)}.el-rate__decimal{display:inline-block;overflow:hidden}.el-rate__decimal,.el-rate__decimal--box{left:0;position:absolute;top:0}.el-rate__text{color:var(--el-rate-text-color);font-size:var(--el-rate-font-size);vertical-align:middle}.el-rate--large{height:40px}.el-rate--small{height:24px}.el-rate--small .el-rate__icon{font-size:14px}.el-rate.is-disabled .el-rate__item{color:var(--el-rate-disabled-void-color);cursor:auto}.el-result{--el-result-padding:40px 30px;--el-result-icon-font-size:64px;--el-result-title-font-size:20px;--el-result-title-margin-top:20px;--el-result-subtitle-margin-top:10px;--el-result-extra-margin-top:30px;align-items:center;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding:var(--el-result-padding);text-align:center}.el-result__icon svg{height:var(--el-result-icon-font-size);width:var(--el-result-icon-font-size)}.el-result__title{margin-top:var(--el-result-title-margin-top)}.el-result__title p{color:var(--el-text-color-primary);font-size:var(--el-result-title-font-size);line-height:1.3;margin:0}.el-result__subtitle{margin-top:var(--el-result-subtitle-margin-top)}.el-result__subtitle p{color:var(--el-text-color-regular);font-size:var(--el-font-size-base);line-height:1.3;margin:0}.el-result__extra{margin-top:var(--el-result-extra-margin-top)}.el-result .icon-primary{--el-result-color:var(--el-color-primary);color:var(--el-result-color)}.el-result .icon-success{--el-result-color:var(--el-color-success);color:var(--el-result-color)}.el-result .icon-warning{--el-result-color:var(--el-color-warning);color:var(--el-result-color)}.el-result .icon-danger{--el-result-color:var(--el-color-danger);color:var(--el-result-color)}.el-result .icon-error{--el-result-color:var(--el-color-error);color:var(--el-result-color)}.el-result .icon-info{--el-result-color:var(--el-color-info);color:var(--el-result-color)}.el-row{box-sizing:border-box;display:flex;flex-wrap:wrap;position:relative}.el-row.is-justify-center{justify-content:center}.el-row.is-justify-end{justify-content:flex-end}.el-row.is-justify-space-between{justify-content:space-between}.el-row.is-justify-space-around{justify-content:space-around}.el-row.is-justify-space-evenly{justify-content:space-evenly}.el-row.is-align-top{align-items:flex-start}.el-row.is-align-middle{align-items:center}.el-row.is-align-bottom{align-items:flex-end}.el-scrollbar{--el-scrollbar-opacity:.3;--el-scrollbar-bg-color:var(--el-text-color-secondary);--el-scrollbar-hover-opacity:.5;--el-scrollbar-hover-bg-color:var(--el-text-color-secondary);height:100%;overflow:hidden;position:relative}.el-scrollbar__wrap{height:100%;overflow:auto}.el-scrollbar__wrap--hidden-default{scrollbar-width:none}.el-scrollbar__wrap--hidden-default::-webkit-scrollbar{display:none}.el-scrollbar__thumb{background-color:var(--el-scrollbar-bg-color,var(--el-text-color-secondary));border-radius:inherit;cursor:pointer;display:block;height:0;opacity:var(--el-scrollbar-opacity,.3);position:relative;transition:var(--el-transition-duration) background-color;width:0}.el-scrollbar__thumb:hover{background-color:var(--el-scrollbar-hover-bg-color,var(--el-text-color-secondary));opacity:var(--el-scrollbar-hover-opacity,.5)}.el-scrollbar__bar{border-radius:4px;bottom:2px;position:absolute;right:2px;z-index:1}.el-scrollbar__bar.is-vertical{top:2px;width:6px}.el-scrollbar__bar.is-vertical>div{width:100%}.el-scrollbar__bar.is-horizontal{height:6px;left:2px}.el-scrollbar__bar.is-horizontal>div{height:100%}.el-scrollbar-fade-enter-active{transition:opacity .34s ease-out}.el-scrollbar-fade-leave-active{transition:opacity .12s ease-out}.el-scrollbar-fade-enter-from,.el-scrollbar-fade-leave-active{opacity:0}.el-select-dropdown{border-radius:var(--el-border-radius-base);box-sizing:border-box;z-index:calc(var(--el-index-top) + 1)}.el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{padding:0}.el-select-dropdown__empty,.el-select-dropdown__loading{color:var(--el-text-color-secondary);font-size:var(--el-select-font-size);margin:0;padding:10px 0;text-align:center}.el-select-dropdown__wrap{max-height:274px}.el-select-dropdown__list{box-sizing:border-box;list-style:none;margin:0;padding:6px 0}.el-select-dropdown__list.el-vl__window{margin:6px 0;padding:0}.el-select-dropdown__header{border-bottom:1px solid var(--el-border-color-light);padding:10px}.el-select-dropdown__footer{border-top:1px solid var(--el-border-color-light);padding:10px}.el-select-dropdown__item{box-sizing:border-box;color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-base);height:34px;line-height:34px;overflow:hidden;padding:0 32px 0 20px;position:relative;text-overflow:ellipsis;white-space:nowrap}.el-select-dropdown__item.is-hovering{background-color:var(--el-fill-color-light)}.el-select-dropdown__item.is-selected{color:var(--el-color-primary);font-weight:700}.el-select-dropdown__item.is-disabled{background-color:unset;color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select-dropdown.is-multiple .el-select-dropdown__item.is-selected:after{background-color:var(--el-color-primary);background-position:50%;background-repeat:no-repeat;border-right:none;border-top:none;content:"";height:12px;mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;position:absolute;right:20px;top:50%;transform:translateY(-50%);width:12px}.el-select-dropdown.is-multiple .el-select-dropdown__item.is-disabled:after{background-color:var(--el-text-color-placeholder)}.el-select-group{margin:0;padding:0}.el-select-group__wrap{list-style:none;margin:0;padding:0;position:relative}.el-select-group__title{box-sizing:border-box;color:var(--el-color-info);font-size:12px;line-height:34px;overflow:hidden;padding:0 20px;text-overflow:ellipsis;white-space:nowrap}.el-select-group .el-select-dropdown__item{padding-left:20px}.el-select{--el-select-border-color-hover:var(--el-border-color-hover);--el-select-disabled-color:var(--el-disabled-text-color);--el-select-disabled-border:var(--el-disabled-border-color);--el-select-font-size:var(--el-font-size-base);--el-select-close-hover-color:var(--el-text-color-secondary);--el-select-input-color:var(--el-text-color-placeholder);--el-select-multiple-input-color:var(--el-text-color-regular);--el-select-input-focus-border-color:var(--el-color-primary);--el-select-input-font-size:14px;--el-select-width:100%;display:inline-block;position:relative;vertical-align:middle;width:var(--el-select-width)}.el-select__wrapper{align-items:center;background-color:var(--el-fill-color-blank);border-radius:var(--el-border-radius-base);box-shadow:0 0 0 1px var(--el-border-color) inset;box-sizing:border-box;cursor:pointer;display:flex;font-size:14px;gap:6px;line-height:24px;min-height:32px;padding:4px 12px;position:relative;text-align:left;transform:translateZ(0);transition:var(--el-transition-duration)}.el-select__wrapper.is-filterable{cursor:text}.el-select__wrapper.is-focused{box-shadow:0 0 0 1px var(--el-color-primary) inset}.el-select__wrapper.is-hovering:not(.is-focused){box-shadow:0 0 0 1px var(--el-border-color-hover) inset}.el-select__wrapper.is-disabled{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select__wrapper.is-disabled,.el-select__wrapper.is-disabled:hover{box-shadow:0 0 0 1px var(--el-select-disabled-border) inset}.el-select__wrapper.is-disabled.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-select__wrapper.is-disabled .el-select__selected-item{color:var(--el-select-disabled-color)}.el-select__wrapper.is-disabled .el-select__caret,.el-select__wrapper.is-disabled .el-tag{cursor:not-allowed}.el-select__prefix,.el-select__suffix{align-items:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:flex;flex-shrink:0;gap:6px}.el-select__caret{color:var(--el-select-input-color);cursor:pointer;font-size:var(--el-select-input-font-size);transform:rotate(0);transition:var(--el-transition-duration)}.el-select__caret.is-reverse{transform:rotate(180deg)}.el-select__selection{align-items:center;display:flex;flex:1;flex-wrap:wrap;gap:6px;min-width:0;position:relative}.el-select__selection.is-near{margin-left:-8px}.el-select__selection .el-tag{border-color:#0000;cursor:pointer}.el-select__selection .el-tag.el-tag--plain{border-color:var(--el-tag-border-color)}.el-select__selection .el-tag .el-tag__content{min-width:0}.el-select__selected-item{display:flex;flex-wrap:wrap;-webkit-user-select:none;user-select:none}.el-select__tags-text{line-height:normal}.el-select__placeholder,.el-select__tags-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-select__placeholder{color:var(--el-input-text-color,var(--el-text-color-regular));position:absolute;top:50%;transform:translateY(-50%);width:100%}.el-select__placeholder.is-transparent{color:var(--el-text-color-placeholder);-webkit-user-select:none;user-select:none}.el-select__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-select__popper.el-popper,.el-select__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-select__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:#0000;border-top-color:#0000}.el-select__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:#0000;border-right-color:#0000}.el-select__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:#0000;border-left-color:#0000}.el-select__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:#0000;border-top-color:#0000}.el-select__input-wrapper{max-width:100%}.el-select__input-wrapper.is-hidden{opacity:0;position:absolute}.el-select__input{appearance:none;background-color:initial;border:none;color:var(--el-select-multiple-input-color);font-family:inherit;font-size:inherit;height:24px;max-width:100%;outline:none;padding:0}.el-select__input.is-disabled{cursor:not-allowed}.el-select__input-calculator{left:0;max-width:100%;overflow:hidden;position:absolute;top:0;visibility:hidden;white-space:pre}.el-select--large .el-select__wrapper{font-size:14px;gap:6px;line-height:24px;min-height:40px;padding:8px 16px}.el-select--large .el-select__selection{gap:6px}.el-select--large .el-select__selection.is-near{margin-left:-8px}.el-select--large .el-select__prefix,.el-select--large .el-select__suffix{gap:6px}.el-select--large .el-select__input{height:24px}.el-select--small .el-select__wrapper{font-size:12px;gap:4px;line-height:20px;min-height:24px;padding:2px 8px}.el-select--small .el-select__selection{gap:4px}.el-select--small .el-select__selection.is-near{margin-left:-6px}.el-select--small .el-select__prefix,.el-select--small .el-select__suffix{gap:4px}.el-select--small .el-select__input{height:20px}.el-skeleton{--el-skeleton-circle-size:var(--el-avatar-size)}.el-skeleton__item{background:var(--el-skeleton-color);border-radius:var(--el-border-radius-base);display:inline-block;height:16px;width:100%}.el-skeleton__circle{border-radius:50%;height:var(--el-skeleton-circle-size);line-height:var(--el-skeleton-circle-size);width:var(--el-skeleton-circle-size)}.el-skeleton__button{border-radius:4px;height:40px;width:64px}.el-skeleton__p{width:100%}.el-skeleton__p.is-last{width:61%}.el-skeleton__p.is-first{width:33%}.el-skeleton__text{height:var(--el-font-size-small);width:100%}.el-skeleton__caption{height:var(--el-font-size-extra-small)}.el-skeleton__h1{height:var(--el-font-size-extra-large)}.el-skeleton__h3{height:var(--el-font-size-large)}.el-skeleton__h5{height:var(--el-font-size-medium)}.el-skeleton__image{align-items:center;border-radius:0;display:flex;justify-content:center;width:unset}.el-skeleton__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;height:22%;width:22%}.el-skeleton{--el-skeleton-color:var(--el-fill-color);--el-skeleton-to-color:var(--el-fill-color-darker)}@keyframes el-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}.el-skeleton{width:100%}.el-skeleton__first-line,.el-skeleton__paragraph{background:var(--el-skeleton-color);height:16px;margin-top:16px}.el-skeleton.is-animated .el-skeleton__item{animation:el-skeleton-loading 1.4s ease infinite;background:linear-gradient(90deg,var(--el-skeleton-color) 25%,var(--el-skeleton-to-color) 37%,var(--el-skeleton-color) 63%);background-size:400% 100%}.el-slider{--el-slider-main-bg-color:var(--el-color-primary);--el-slider-runway-bg-color:var(--el-border-color-light);--el-slider-stop-bg-color:var(--el-color-white);--el-slider-disabled-color:var(--el-text-color-placeholder);--el-slider-border-radius:3px;--el-slider-height:6px;--el-slider-button-size:20px;--el-slider-button-wrapper-size:36px;--el-slider-button-wrapper-offset:-15px;align-items:center;display:flex;height:32px;width:100%}.el-slider__runway{background-color:var(--el-slider-runway-bg-color);border-radius:var(--el-slider-border-radius);cursor:pointer;flex:1;height:var(--el-slider-height);position:relative}.el-slider__runway.show-input{margin-right:30px;width:auto}.el-slider__runway.is-disabled{cursor:default}.el-slider__runway.is-disabled .el-slider__bar{background-color:var(--el-slider-disabled-color)}.el-slider__runway.is-disabled .el-slider__button{border-color:var(--el-slider-disabled-color)}.el-slider__runway.is-disabled .el-slider__button-wrapper.dragging,.el-slider__runway.is-disabled .el-slider__button-wrapper.hover,.el-slider__runway.is-disabled .el-slider__button-wrapper:hover{cursor:not-allowed}.el-slider__runway.is-disabled .el-slider__button.dragging,.el-slider__runway.is-disabled .el-slider__button.hover,.el-slider__runway.is-disabled .el-slider__button:hover{cursor:not-allowed;transform:scale(1)}.el-slider__input{flex-shrink:0;width:130px}.el-slider__bar{background-color:var(--el-slider-main-bg-color);border-bottom-left-radius:var(--el-slider-border-radius);border-top-left-radius:var(--el-slider-border-radius);height:var(--el-slider-height);position:absolute}.el-slider__button-wrapper{background-color:initial;height:var(--el-slider-button-wrapper-size);line-height:normal;outline:none;position:absolute;text-align:center;top:var(--el-slider-button-wrapper-offset);transform:translate(-50%);-webkit-user-select:none;user-select:none;width:var(--el-slider-button-wrapper-size);z-index:1}.el-slider__button-wrapper:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-slider__button-wrapper.hover,.el-slider__button-wrapper:hover{cursor:grab}.el-slider__button-wrapper.dragging{cursor:grabbing}.el-slider__button{background-color:var(--el-color-white);border:2px solid var(--el-slider-main-bg-color);border-radius:50%;box-sizing:border-box;display:inline-block;height:var(--el-slider-button-size);transition:var(--el-transition-duration-fast);-webkit-user-select:none;user-select:none;vertical-align:middle;width:var(--el-slider-button-size)}.el-slider__button.dragging,.el-slider__button.hover,.el-slider__button:hover{transform:scale(1.2)}.el-slider__button.hover,.el-slider__button:hover{cursor:grab}.el-slider__button.dragging{cursor:grabbing}.el-slider__stop{background-color:var(--el-slider-stop-bg-color);border-radius:var(--el-border-radius-circle);height:var(--el-slider-height);position:absolute;transform:translate(-50%);width:var(--el-slider-height)}.el-slider__marks{height:100%;left:12px;top:0;width:18px}.el-slider__marks-text{color:var(--el-color-info);font-size:14px;margin-top:15px;position:absolute;transform:translate(-50%);white-space:pre}.el-slider.is-vertical{display:inline-flex;flex:0;height:100%;position:relative;width:auto}.el-slider.is-vertical .el-slider__runway{height:100%;margin:0 16px;width:var(--el-slider-height)}.el-slider.is-vertical .el-slider__bar{border-radius:0 0 3px 3px;height:auto;width:var(--el-slider-height)}.el-slider.is-vertical .el-slider__button-wrapper{left:var(--el-slider-button-wrapper-offset);top:auto;transform:translateY(50%)}.el-slider.is-vertical .el-slider__stop{transform:translateY(50%)}.el-slider.is-vertical .el-slider__marks-text{left:15px;margin-top:0;transform:translateY(50%)}.el-slider--large{height:40px}.el-slider--small{height:24px}.el-space{display:inline-flex;vertical-align:top}.el-space__item{display:flex;flex-wrap:wrap}.el-space__item>*{flex:1}.el-space--vertical{flex-direction:column}.el-time-spinner{white-space:nowrap;width:100%}.el-spinner{display:inline-block;vertical-align:middle}.el-spinner-inner{animation:rotate 2s linear infinite;height:50px;width:50px}.el-spinner-inner .path{stroke:var(--el-border-color-lighter);stroke-linecap:round;animation:dash 1.5s ease-in-out infinite}@keyframes rotate{to{transform:rotate(1turn)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.el-step{flex-shrink:1;position:relative}.el-step:last-of-type .el-step__line{display:none}.el-step:last-of-type.is-flex{flex-basis:auto!important;flex-grow:0;flex-shrink:0}.el-step:last-of-type .el-step__description,.el-step:last-of-type .el-step__main{padding-right:0}.el-step__head{position:relative;width:100%}.el-step__head.is-process{border-color:var(--el-text-color-primary);color:var(--el-text-color-primary)}.el-step__head.is-wait{border-color:var(--el-text-color-placeholder);color:var(--el-text-color-placeholder)}.el-step__head.is-success{border-color:var(--el-color-success);color:var(--el-color-success)}.el-step__head.is-error{border-color:var(--el-color-danger);color:var(--el-color-danger)}.el-step__head.is-finish{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-step__icon{align-items:center;background:var(--el-bg-color);box-sizing:border-box;display:inline-flex;font-size:14px;height:24px;justify-content:center;position:relative;transition:.15s ease-out;width:24px;z-index:1}.el-step__icon.is-text{border:2px solid;border-color:inherit;border-radius:50%}.el-step__icon.is-icon{width:40px}.el-step__icon-inner{color:inherit;display:inline-block;font-weight:700;line-height:1;text-align:center;-webkit-user-select:none;user-select:none}.el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:25px;font-weight:400}.el-step__icon-inner.is-status{transform:translateY(1px)}.el-step__line{background-color:var(--el-text-color-placeholder);border-color:inherit;position:absolute}.el-step__line-inner{border:1px solid;border-color:inherit;box-sizing:border-box;display:block;height:0;transition:.15s ease-out;width:0}.el-step__main{text-align:left;white-space:normal}.el-step__title{font-size:16px;line-height:38px}.el-step__title.is-process{color:var(--el-text-color-primary);font-weight:700}.el-step__title.is-wait{color:var(--el-text-color-placeholder)}.el-step__title.is-success{color:var(--el-color-success)}.el-step__title.is-error{color:var(--el-color-danger)}.el-step__title.is-finish{color:var(--el-color-primary)}.el-step__description{font-size:12px;font-weight:400;line-height:20px;margin-top:-5px;padding-right:10%}.el-step__description.is-process{color:var(--el-text-color-primary)}.el-step__description.is-wait{color:var(--el-text-color-placeholder)}.el-step__description.is-success{color:var(--el-color-success)}.el-step__description.is-error{color:var(--el-color-danger)}.el-step__description.is-finish{color:var(--el-color-primary)}.el-step.is-horizontal{display:inline-block}.el-step.is-horizontal .el-step__line{height:2px;left:0;right:0;top:11px}.el-step.is-vertical{display:flex}.el-step.is-vertical .el-step__head{flex-grow:0;width:24px}.el-step.is-vertical .el-step__main{flex-grow:1;padding-left:10px}.el-step.is-vertical .el-step__title{line-height:24px;padding-bottom:8px}.el-step.is-vertical .el-step__line{bottom:0;left:11px;top:0;width:2px}.el-step.is-vertical .el-step__icon.is-icon{width:24px}.el-step.is-center .el-step__head,.el-step.is-center .el-step__main{text-align:center}.el-step.is-center .el-step__description{padding-left:20%;padding-right:20%}.el-step.is-center .el-step__line{left:50%;right:-50%}.el-step.is-simple{align-items:center;display:flex}.el-step.is-simple .el-step__head{font-size:0;padding-right:10px;width:auto}.el-step.is-simple .el-step__icon{background:#0000;font-size:12px;height:16px;width:16px}.el-step.is-simple .el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:18px}.el-step.is-simple .el-step__icon-inner.is-status{transform:scale(.8) translateY(1px)}.el-step.is-simple .el-step__main{align-items:stretch;display:flex;flex-grow:1;position:relative}.el-step.is-simple .el-step__title{font-size:16px;line-height:20px}.el-step.is-simple:not(:last-of-type) .el-step__title{max-width:50%;overflow-wrap:break-word}.el-step.is-simple .el-step__arrow{align-items:center;display:flex;flex-grow:1;justify-content:center}.el-step.is-simple .el-step__arrow:after,.el-step.is-simple .el-step__arrow:before{background:var(--el-text-color-placeholder);content:"";display:inline-block;height:15px;position:absolute;width:1px}.el-step.is-simple .el-step__arrow:before{transform:rotate(-45deg) translateY(-4px);transform-origin:0 0}.el-step.is-simple .el-step__arrow:after{transform:rotate(45deg) translateY(4px);transform-origin:100% 100%}.el-step.is-simple:last-of-type .el-step__arrow{display:none}.el-steps{display:flex}.el-steps--simple{background:var(--el-fill-color-light);border-radius:4px;padding:13px 8%}.el-steps--horizontal{white-space:nowrap}.el-steps--vertical{flex-flow:column;height:100%}.el-switch{--el-switch-on-color:var(--el-color-primary);--el-switch-off-color:var(--el-border-color);align-items:center;display:inline-flex;font-size:14px;height:32px;line-height:20px;position:relative;vertical-align:middle}.el-switch.is-disabled .el-switch__core,.el-switch.is-disabled .el-switch__label{cursor:not-allowed}.el-switch__label{color:var(--el-text-color-primary);cursor:pointer;display:inline-block;font-size:14px;font-weight:500;height:20px;transition:var(--el-transition-duration-fast);vertical-align:middle}.el-switch__label.is-active{color:var(--el-color-primary)}.el-switch__label--left{margin-right:10px}.el-switch__label--right{margin-left:10px}.el-switch__label *{display:inline-block;font-size:14px;line-height:1}.el-switch__label .el-icon{height:inherit}.el-switch__label .el-icon svg{vertical-align:middle}.el-switch__input{height:0;margin:0;opacity:0;position:absolute;width:0}.el-switch__input:focus-visible~.el-switch__core{outline:2px solid var(--el-switch-on-color);outline-offset:1px}.el-switch__core{align-items:center;background:var(--el-switch-off-color);border:1px solid var(--el-switch-border-color,var(--el-switch-off-color));border-radius:10px;box-sizing:border-box;cursor:pointer;display:inline-flex;height:20px;min-width:40px;outline:none;position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration)}.el-switch__core .el-switch__inner{align-items:center;display:flex;height:16px;justify-content:center;overflow:hidden;padding:0 4px 0 18px;transition:all var(--el-transition-duration);width:100%}.el-switch__core .el-switch__inner .is-icon,.el-switch__core .el-switch__inner .is-text{color:var(--el-color-white);font-size:12px;overflow:hidden;text-overflow:ellipsis;-webkit-user-select:none;user-select:none;white-space:nowrap}.el-switch__core .el-switch__action{align-items:center;background-color:var(--el-color-white);border-radius:var(--el-border-radius-circle);color:var(--el-switch-off-color);display:flex;height:16px;justify-content:center;left:1px;position:absolute;transition:all var(--el-transition-duration);width:16px}.el-switch.is-checked .el-switch__core{background-color:var(--el-switch-on-color);border-color:var(--el-switch-border-color,var(--el-switch-on-color))}.el-switch.is-checked .el-switch__core .el-switch__action{color:var(--el-switch-on-color);left:calc(100% - 17px)}.el-switch.is-checked .el-switch__core .el-switch__inner{padding:0 18px 0 4px}.el-switch.is-disabled{opacity:.6}.el-switch--wide .el-switch__label.el-switch__label--left span{left:10px}.el-switch--wide .el-switch__label.el-switch__label--right span{right:10px}.el-switch .label-fade-enter-from,.el-switch .label-fade-leave-active{opacity:0}.el-switch--large{font-size:14px;height:40px;line-height:24px}.el-switch--large .el-switch__label{font-size:14px;height:24px}.el-switch--large .el-switch__label *{font-size:14px}.el-switch--large .el-switch__core{border-radius:12px;height:24px;min-width:50px}.el-switch--large .el-switch__core .el-switch__inner{height:20px;padding:0 6px 0 22px}.el-switch--large .el-switch__core .el-switch__action{height:20px;width:20px}.el-switch--large.is-checked .el-switch__core .el-switch__action{left:calc(100% - 21px)}.el-switch--large.is-checked .el-switch__core .el-switch__inner{padding:0 22px 0 6px}.el-switch--small{font-size:12px;height:24px;line-height:16px}.el-switch--small .el-switch__label{font-size:12px;height:16px}.el-switch--small .el-switch__label *{font-size:12px}.el-switch--small .el-switch__core{border-radius:8px;height:16px;min-width:30px}.el-switch--small .el-switch__core .el-switch__inner{height:12px;padding:0 2px 0 14px}.el-switch--small .el-switch__core .el-switch__action{height:12px;width:12px}.el-switch--small.is-checked .el-switch__core .el-switch__action{left:calc(100% - 13px)}.el-switch--small.is-checked .el-switch__core .el-switch__inner{padding:0 14px 0 2px}.el-table-column--selection .cell{padding-left:14px;padding-right:14px}.el-table-filter{background-color:#fff;border:1px solid var(--el-border-color-lighter);border-radius:2px;box-shadow:var(--el-box-shadow-light);box-sizing:border-box}.el-table-filter__list{list-style:none;margin:0;min-width:100px;padding:5px 0}.el-table-filter__list-item{cursor:pointer;font-size:var(--el-font-size-base);line-height:36px;padding:0 10px}.el-table-filter__list-item:hover{background-color:var(--el-color-primary-light-9);color:var(--el-color-primary)}.el-table-filter__list-item.is-active{background-color:var(--el-color-primary);color:#fff}.el-table-filter__content{min-width:100px}.el-table-filter__bottom{border-top:1px solid var(--el-border-color-lighter);padding:8px}.el-table-filter__bottom button{background:#0000;border:none;color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-small);padding:0 3px}.el-table-filter__bottom button:hover{color:var(--el-color-primary)}.el-table-filter__bottom button:focus{outline:none}.el-table-filter__bottom button.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-table-filter__wrap{max-height:280px}.el-table-filter__checkbox-group{padding:10px}.el-table-filter__checkbox-group label.el-checkbox{align-items:center;display:flex;height:unset;margin-bottom:12px;margin-left:5px;margin-right:5px}.el-table-filter__checkbox-group .el-checkbox:last-child{margin-bottom:0}.el-table{--el-table-border-color:var(--el-border-color-lighter);--el-table-border:1px solid var(--el-table-border-color);--el-table-text-color:var(--el-text-color-regular);--el-table-header-text-color:var(--el-text-color-secondary);--el-table-row-hover-bg-color:var(--el-fill-color-light);--el-table-current-row-bg-color:var(--el-color-primary-light-9);--el-table-header-bg-color:var(--el-bg-color);--el-table-fixed-box-shadow:var(--el-box-shadow-light);--el-table-bg-color:var(--el-fill-color-blank);--el-table-tr-bg-color:var(--el-bg-color);--el-table-expanded-cell-bg-color:var(--el-fill-color-blank);--el-table-fixed-left-column:inset 10px 0 10px -10px #00000026;--el-table-fixed-right-column:inset -10px 0 10px -10px #00000026;--el-table-index:var(--el-index-normal);background-color:var(--el-table-bg-color);box-sizing:border-box;color:var(--el-table-text-color);font-size:var(--el-font-size-base);height:fit-content;max-width:100%;overflow:hidden;position:relative;width:100%}.el-table__inner-wrapper{display:flex;flex-direction:column;height:100%;position:relative}.el-table__inner-wrapper:before{bottom:0;height:1px;left:0}.el-table tbody:focus-visible{outline:none}.el-table.has-footer.el-table--fluid-height tr:last-child td.el-table__cell,.el-table.has-footer.el-table--scrollable-y tr:last-child td.el-table__cell{border-bottom-color:#0000}.el-table__empty-block{align-items:center;display:flex;justify-content:center;left:0;min-height:60px;position:sticky;text-align:center;width:100%}.el-table__empty-text{color:var(--el-text-color-secondary);line-height:60px;width:50%}.el-table__expand-column .cell{padding:0;text-align:center;-webkit-user-select:none;user-select:none}.el-table__expand-icon{color:var(--el-text-color-regular);cursor:pointer;font-size:12px;height:20px;position:relative;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table__expand-icon--expanded{transform:rotate(90deg)}.el-table__expand-icon>.el-icon{font-size:12px}.el-table__expanded-cell{background-color:var(--el-table-expanded-cell-bg-color)}.el-table__expanded-cell[class*=cell]{padding:20px 50px}.el-table__expanded-cell:hover{background-color:initial!important}.el-table__placeholder{display:inline-block;width:20px}.el-table__append-wrapper{overflow:hidden}.el-table--fit{border-bottom:0;border-right:0}.el-table--fit .el-table__cell.gutter{border-right-width:1px}.el-table--fit .el-table__inner-wrapper:before{width:100%}.el-table thead{color:var(--el-table-header-text-color)}.el-table thead th{font-weight:600}.el-table thead.is-group th.el-table__cell{background:var(--el-fill-color-light)}.el-table .el-table__cell{box-sizing:border-box;min-width:0;padding:8px 0;position:relative;text-align:left;text-overflow:ellipsis;vertical-align:middle;z-index:var(--el-table-index)}.el-table .el-table__cell.is-center{text-align:center}.el-table .el-table__cell.is-right{text-align:right}.el-table .el-table__cell.gutter{border-bottom-width:0;border-right-width:0;padding:0;width:15px}.el-table .el-table__cell.is-hidden>*{visibility:hidden}.el-table .cell{box-sizing:border-box;line-height:23px;overflow:hidden;overflow-wrap:break-word;padding:0 12px;text-overflow:ellipsis;white-space:normal}.el-table .cell.el-tooltip{min-width:50px;white-space:nowrap}.el-table--large{font-size:var(--el-font-size-base)}.el-table--large .el-table__cell{padding:12px 0}.el-table--large .cell{padding:0 16px}.el-table--default{font-size:var(--el-font-size-base)}.el-table--default .el-table__cell{padding:8px 0}.el-table--default .cell{padding:0 12px}.el-table--small{font-size:var(--el-font-size-extra-small)}.el-table--small .el-table__cell{padding:4px 0}.el-table--small .cell{padding:0 8px}.el-table tr{background-color:var(--el-table-tr-bg-color)}.el-table tr input[type=checkbox]{margin:0}.el-table td.el-table__cell,.el-table th.el-table__cell.is-leaf{border-bottom:var(--el-table-border)}.el-table th.el-table__cell.is-sortable{cursor:pointer}.el-table th.el-table__cell{background-color:var(--el-table-header-bg-color)}.el-table th.el-table__cell>.cell.highlight{color:var(--el-color-primary)}.el-table th.el-table__cell.required>div:before{background:#ff4d51;border-radius:50%;content:"";display:inline-block;height:8px;margin-right:5px;vertical-align:middle;width:8px}.el-table td.el-table__cell div{box-sizing:border-box}.el-table td.el-table__cell.gutter{width:0}.el-table--border .el-table__inner-wrapper:after,.el-table--border:after,.el-table--border:before,.el-table__inner-wrapper:before{background-color:var(--el-table-border-color);content:"";position:absolute;z-index:calc(var(--el-table-index) + 2)}.el-table--border .el-table__inner-wrapper:after{height:1px;left:0;top:0;width:100%;z-index:calc(var(--el-table-index) + 2)}.el-table--border:before{height:100%;left:0;top:-1px;width:1px}.el-table--border:after{height:100%;right:0;top:-1px;width:1px}.el-table--border .el-table__inner-wrapper{border-bottom:none;border-right:none}.el-table--border .el-table__footer-wrapper{flex-shrink:0;position:relative}.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table--border th.el-table__cell.gutter:last-of-type{border-bottom:var(--el-table-border);border-bottom-width:1px}.el-table--border th.el-table__cell{border-bottom:var(--el-table-border)}.el-table--hidden{visibility:hidden}.el-table__body-wrapper,.el-table__footer-wrapper,.el-table__header-wrapper{width:100%}.el-table__body-wrapper tr td.el-table-fixed-column--left,.el-table__body-wrapper tr td.el-table-fixed-column--right,.el-table__body-wrapper tr th.el-table-fixed-column--left,.el-table__body-wrapper tr th.el-table-fixed-column--right,.el-table__footer-wrapper tr td.el-table-fixed-column--left,.el-table__footer-wrapper tr td.el-table-fixed-column--right,.el-table__footer-wrapper tr th.el-table-fixed-column--left,.el-table__footer-wrapper tr th.el-table-fixed-column--right,.el-table__header-wrapper tr td.el-table-fixed-column--left,.el-table__header-wrapper tr td.el-table-fixed-column--right,.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{background:inherit;position:sticky!important;z-index:calc(var(--el-table-index) + 1)}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before{bottom:-1px;box-shadow:none;content:"";overflow-x:hidden;overflow-y:hidden;pointer-events:none;position:absolute;top:0;touch-action:none;width:10px}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before{left:-10px}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before{box-shadow:none;right:-10px}.el-table__body-wrapper tr td.el-table__fixed-right-patch,.el-table__body-wrapper tr th.el-table__fixed-right-patch,.el-table__footer-wrapper tr td.el-table__fixed-right-patch,.el-table__footer-wrapper tr th.el-table__fixed-right-patch,.el-table__header-wrapper tr td.el-table__fixed-right-patch,.el-table__header-wrapper tr th.el-table__fixed-right-patch{background:#fff;position:sticky!important;right:0;z-index:calc(var(--el-table-index) + 1)}.el-table__header-wrapper{flex-shrink:0}.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body,.el-table__footer,.el-table__header{border-collapse:initial;table-layout:fixed}.el-table__header-wrapper{overflow:hidden}.el-table__header-wrapper tbody td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__footer-wrapper{flex-shrink:0;overflow:hidden}.el-table__footer-wrapper tfoot td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__body-wrapper .el-table-column--selection>.cell,.el-table__header-wrapper .el-table-column--selection>.cell{align-items:center;display:inline-flex;height:23px}.el-table__body-wrapper .el-table-column--selection .el-checkbox,.el-table__header-wrapper .el-table-column--selection .el-checkbox{height:unset}.el-table.is-scrolling-left .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-left.el-table--border .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:var(--el-table-border)}.el-table.is-scrolling-left th.el-table-fixed-column--left{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-right th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-middle .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-none .el-table-fixed-column--left.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--left.is-last-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-last-column:before{box-shadow:none}.el-table.is-scrolling-none th.el-table-fixed-column--left,.el-table.is-scrolling-none th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body-wrapper{flex:1;overflow:hidden;position:relative}.el-table__body-wrapper .el-scrollbar__bar{z-index:calc(var(--el-table-index) + 2)}.el-table .caret-wrapper{align-items:center;cursor:pointer;display:inline-flex;flex-direction:column;height:14px;overflow:initial;position:relative;vertical-align:middle;width:24px}.el-table .sort-caret{border:5px solid #0000;height:0;left:7px;position:absolute;width:0}.el-table .sort-caret.ascending{border-bottom-color:var(--el-text-color-placeholder);top:-5px}.el-table .sort-caret.descending{border-top-color:var(--el-text-color-placeholder);bottom:-3px}.el-table .ascending .sort-caret.ascending{border-bottom-color:var(--el-color-primary)}.el-table .descending .sort-caret.descending{border-top-color:var(--el-color-primary)}.el-table .hidden-columns{position:absolute;visibility:hidden;z-index:-1}.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell{background:var(--el-fill-color-lighter)}.el-table--striped .el-table__body tr.el-table__row--striped.current-row td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table__body tr.hover-row.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,.el-table__body tr.hover-row>td.el-table__cell,.el-table__body tr>td.hover-cell{background-color:var(--el-table-row-hover-bg-color)}.el-table__body tr.current-row>td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table.el-table--scrollable-y .el-table__body-header{position:sticky;top:0;z-index:calc(var(--el-table-index) + 2)}.el-table.el-table--scrollable-y .el-table__body-footer{bottom:0;position:sticky;z-index:calc(var(--el-table-index) + 2)}.el-table__column-resize-proxy{border-left:var(--el-table-border);bottom:0;left:200px;position:absolute;top:0;width:0;z-index:calc(var(--el-table-index) + 9)}.el-table__column-filter-trigger{cursor:pointer;display:inline-block}.el-table__column-filter-trigger i{color:var(--el-color-info);font-size:14px;vertical-align:middle}.el-table__border-left-patch{height:100%;top:0;width:1px}.el-table__border-bottom-patch,.el-table__border-left-patch{background-color:var(--el-table-border-color);left:0;position:absolute;z-index:calc(var(--el-table-index) + 2)}.el-table__border-bottom-patch{height:1px}.el-table__border-right-patch{background-color:var(--el-table-border-color);height:100%;position:absolute;top:0;width:1px;z-index:calc(var(--el-table-index) + 2)}.el-table--enable-row-transition .el-table__body td.el-table__cell{transition:background-color .25s ease}.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell{background-color:var(--el-table-row-hover-bg-color)}.el-table [class*=el-table__row--level] .el-table__expand-icon{display:inline-block;height:12px;line-height:12px;margin-right:8px;text-align:center;width:12px}.el-table .el-table.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table:not(.el-table--border) .el-table__cell{border-right:none}.el-table:not(.el-table--border)>.el-table__inner-wrapper:after{content:none}.el-table-v2{--el-table-border-color:var(--el-border-color-lighter);--el-table-border:1px solid var(--el-table-border-color);--el-table-text-color:var(--el-text-color-regular);--el-table-header-text-color:var(--el-text-color-secondary);--el-table-row-hover-bg-color:var(--el-fill-color-light);--el-table-current-row-bg-color:var(--el-color-primary-light-9);--el-table-header-bg-color:var(--el-bg-color);--el-table-fixed-box-shadow:var(--el-box-shadow-light);--el-table-bg-color:var(--el-fill-color-blank);--el-table-tr-bg-color:var(--el-bg-color);--el-table-expanded-cell-bg-color:var(--el-fill-color-blank);--el-table-fixed-left-column:inset 10px 0 10px -10px #00000026;--el-table-fixed-right-column:inset -10px 0 10px -10px #00000026;--el-table-index:var(--el-index-normal);font-size:var(--el-font-size-base)}.el-table-v2 *{box-sizing:border-box}.el-table-v2__root{position:relative}.el-table-v2__root:hover .el-table-v2__main .el-virtual-scrollbar{opacity:1}.el-table-v2__main{background-color:var(--el-bg-color);display:flex;flex-direction:column-reverse;left:0;overflow:hidden;position:absolute;top:0}.el-table-v2__main .el-vl__horizontal,.el-table-v2__main .el-vl__vertical{z-index:2}.el-table-v2__left{background-color:var(--el-bg-color);box-shadow:2px 0 4px #0000000f;display:flex;flex-direction:column-reverse;left:0;overflow:hidden;position:absolute;top:0}.el-table-v2__left .el-virtual-scrollbar{opacity:0}.el-table-v2__left .el-vl__horizontal,.el-table-v2__left .el-vl__vertical{z-index:-1}.el-table-v2__right{background-color:var(--el-bg-color);box-shadow:-2px 0 4px #0000000f;display:flex;flex-direction:column-reverse;overflow:hidden;position:absolute;right:0;top:0}.el-table-v2__right .el-virtual-scrollbar{opacity:0}.el-table-v2__right .el-vl__horizontal,.el-table-v2__right .el-vl__vertical{z-index:-1}.el-table-v2__header-row,.el-table-v2__row{padding-inline-end:var(--el-table-scrollbar-size)}.el-table-v2__header-wrapper{overflow:hidden}.el-table-v2__header{overflow:hidden;position:relative}.el-table-v2__header .el-checkbox{z-index:0}.el-table-v2__footer{bottom:0;overflow:hidden;right:0}.el-table-v2__empty,.el-table-v2__footer,.el-table-v2__overlay{left:0;position:absolute}.el-table-v2__overlay{bottom:0;right:0;top:0;z-index:9999}.el-table-v2__header-row{border-bottom:var(--el-table-border);display:flex}.el-table-v2__header-cell{align-items:center;background-color:var(--el-table-header-bg-color);color:var(--el-table-header-text-color);display:flex;font-weight:700;height:100%;overflow:hidden;padding:0 8px;-webkit-user-select:none;user-select:none}.el-table-v2__header-cell.is-align-center{justify-content:center;text-align:center}.el-table-v2__header-cell.is-align-right{justify-content:flex-end;text-align:right}.el-table-v2__header-cell.is-sortable{cursor:pointer}.el-table-v2__header-cell:hover .el-icon{display:block}.el-table-v2__sort-icon{display:none;opacity:.6;transition:opacity,display var(--el-transition-duration)}.el-table-v2__sort-icon.is-sorting{display:block;opacity:1}.el-table-v2__row{align-items:center;border-bottom:var(--el-table-border);display:flex;transition:background-color var(--el-transition-duration)}.el-table-v2__row.is-hovered,.el-table-v2__row:hover{background-color:var(--el-table-row-hover-bg-color)}.el-table-v2__row-cell{align-items:center;display:flex;height:100%;overflow:hidden;padding:0 8px}.el-table-v2__row-cell.is-align-center{justify-content:center;text-align:center}.el-table-v2__row-cell.is-align-right{justify-content:flex-end;text-align:right}.el-table-v2__expand-icon{cursor:pointer;margin:0 4px;-webkit-user-select:none;user-select:none}.el-table-v2__expand-icon svg{transition:transform var(--el-transition-duration)}.el-table-v2__expand-icon.is-expanded svg{transform:rotate(90deg)}.el-table-v2:not(.is-dynamic) .el-table-v2__cell-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-table-v2.is-dynamic .el-table-v2__row{align-items:stretch;overflow:hidden}.el-table-v2.is-dynamic .el-table-v2__row .el-table-v2__row-cell{overflow-wrap:break-word}.el-tabs{--el-tabs-header-height:40px;display:flex}.el-tabs__header{align-items:center;display:flex;justify-content:space-between;margin:0 0 15px;padding:0;position:relative}.el-tabs__header-vertical{flex-direction:column}.el-tabs__active-bar{background-color:var(--el-color-primary);bottom:0;height:2px;left:0;list-style:none;position:absolute;transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);z-index:1}.el-tabs__new-tab{align-items:center;border:1px solid var(--el-border-color);border-radius:3px;color:var(--el-text-color-primary);cursor:pointer;display:flex;font-size:12px;height:20px;justify-content:center;line-height:20px;margin:10px 0 10px 10px;text-align:center;transition:all .15s;width:20px}.el-tabs__new-tab .is-icon-plus{height:inherit;transform:scale(.8);width:inherit}.el-tabs__new-tab .is-icon-plus svg{vertical-align:middle}.el-tabs__new-tab:hover{color:var(--el-color-primary)}.el-tabs__new-tab-vertical{margin-left:0}.el-tabs__nav-wrap{flex:1 auto;margin-bottom:-1px;overflow:hidden;position:relative}.el-tabs__nav-wrap:after{background-color:var(--el-border-color-light);bottom:0;content:"";height:2px;left:0;position:absolute;width:100%;z-index:var(--el-index-normal)}.el-tabs__nav-wrap.is-scrollable{box-sizing:border-box;padding:0 20px}.el-tabs__nav-scroll{overflow:hidden}.el-tabs__nav-next,.el-tabs__nav-prev{color:var(--el-text-color-secondary);cursor:pointer;font-size:12px;line-height:44px;position:absolute;text-align:center;width:20px}.el-tabs__nav-next{right:0}.el-tabs__nav-prev{left:0}.el-tabs__nav{display:flex;float:left;position:relative;transition:transform var(--el-transition-duration);white-space:nowrap;z-index:calc(var(--el-index-normal) + 1)}.el-tabs__nav.is-stretch{display:flex;min-width:100%}.el-tabs__nav.is-stretch>*{flex:1;text-align:center}.el-tabs__item{align-items:center;box-sizing:border-box;color:var(--el-text-color-primary);display:flex;font-size:var(--el-font-size-base);font-weight:500;height:var(--el-tabs-header-height);justify-content:center;list-style:none;padding:0 20px;position:relative}.el-tabs__item:focus,.el-tabs__item:focus:active{outline:none}.el-tabs__item:focus-visible{border-radius:3px;box-shadow:0 0 2px 2px var(--el-color-primary) inset}.el-tabs__item .is-icon-close{border-radius:50%;margin-left:5px;text-align:center;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs__item .is-icon-close:before{display:inline-block;transform:scale(.9)}.el-tabs__item .is-icon-close:hover{background-color:var(--el-text-color-placeholder);color:#fff}.el-tabs__item.is-active,.el-tabs__item:hover{color:var(--el-color-primary)}.el-tabs__item:hover{cursor:pointer}.el-tabs__item.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-tabs__content{flex-grow:1;overflow:hidden;position:relative}.el-tabs--bottom>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:0}.el-tabs--bottom>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top>.el-tabs__header .el-tabs__item:last-child{padding-right:0}.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:20px}.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child{padding-right:20px}.el-tabs--card>.el-tabs__header{border-bottom:1px solid var(--el-border-color-light);height:var(--el-tabs-header-height)}.el-tabs--card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--card>.el-tabs__header .el-tabs__nav{border:1px solid var(--el-border-color-light);border-bottom:none;border-radius:4px 4px 0 0;box-sizing:border-box}.el-tabs--card>.el-tabs__header .el-tabs__active-bar{display:none}.el-tabs--card>.el-tabs__header .el-tabs__item .is-icon-close{font-size:12px;height:14px;overflow:hidden;position:relative;right:-2px;transform-origin:100% 50%;width:0}.el-tabs--card>.el-tabs__header .el-tabs__item{border-bottom:1px solid #0000;border-left:1px solid var(--el-border-color-light);transition:color var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),padding var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs--card>.el-tabs__header .el-tabs__item:first-child{border-left:none}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover{padding-left:13px;padding-right:13px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover .is-icon-close{width:14px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border-bottom-color:var(--el-bg-color)}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable{padding-left:20px;padding-right:20px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable .is-icon-close{width:14px}.el-tabs--border-card{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color)}.el-tabs--border-card>.el-tabs__content{padding:15px}.el-tabs--border-card>.el-tabs__header{background-color:var(--el-fill-color-light);border-bottom:1px solid var(--el-border-color-light);margin:0}.el-tabs--border-card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--border-card>.el-tabs__header .el-tabs__item{border:1px solid #0000;color:var(--el-text-color-secondary);margin-top:-1px;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs--border-card>.el-tabs__header .el-tabs__item+.el-tabs__item,.el-tabs--border-card>.el-tabs__header .el-tabs__item:first-child{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{background-color:var(--el-bg-color-overlay);border-left-color:var(--el-border-color);border-right-color:var(--el-border-color);color:var(--el-color-primary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover{color:var(--el-color-primary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-disabled{color:var(--el-disabled-text-color)}.el-tabs--border-card>.el-tabs__header .is-scrollable .el-tabs__item:first-child{margin-left:0}.el-tabs--bottom{flex-direction:column}.el-tabs--bottom .el-tabs__header.is-bottom{margin-bottom:0;margin-top:10px}.el-tabs--bottom.el-tabs--border-card .el-tabs__header.is-bottom{border-bottom:0;border-top:1px solid var(--el-border-color)}.el-tabs--bottom.el-tabs--border-card .el-tabs__nav-wrap.is-bottom{margin-bottom:0;margin-top:-1px}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom:not(.is-active){border:1px solid #0000}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom{margin:0 -1px -1px}.el-tabs--left,.el-tabs--right{overflow:hidden}.el-tabs--left .el-tabs__header.is-left,.el-tabs--left .el-tabs__header.is-right,.el-tabs--left .el-tabs__nav-scroll,.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__header.is-left,.el-tabs--right .el-tabs__header.is-right,.el-tabs--right .el-tabs__nav-scroll,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{height:100%}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__active-bar.is-right,.el-tabs--right .el-tabs__active-bar.is-left,.el-tabs--right .el-tabs__active-bar.is-right{bottom:auto;height:auto;top:0;width:2px}.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{margin-bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{cursor:pointer;height:30px;line-height:30px;text-align:center;width:100%}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i{transform:rotate(90deg)}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{left:auto;top:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{bottom:0;right:auto}.el-tabs--left .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--left .el-tabs__nav-wrap.is-right.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-right.is-scrollable{padding:30px 0}.el-tabs--left .el-tabs__nav-wrap.is-left:after,.el-tabs--left .el-tabs__nav-wrap.is-right:after,.el-tabs--right .el-tabs__nav-wrap.is-left:after,.el-tabs--right .el-tabs__nav-wrap.is-right:after{bottom:auto;height:100%;top:0;width:2px}.el-tabs--left .el-tabs__nav.is-left,.el-tabs--left .el-tabs__nav.is-right,.el-tabs--right .el-tabs__nav.is-left,.el-tabs--right .el-tabs__nav.is-right{flex-direction:column}.el-tabs--left .el-tabs__item.is-left,.el-tabs--right .el-tabs__item.is-left{justify-content:flex-end}.el-tabs--left .el-tabs__item.is-right,.el-tabs--right .el-tabs__item.is-right{justify-content:flex-start}.el-tabs--left{flex-direction:row-reverse}.el-tabs--left .el-tabs__header.is-left{margin-bottom:0;margin-right:10px}.el-tabs--left .el-tabs__nav-wrap.is-left{margin-right:-1px}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__nav-wrap.is-left:after{left:auto;right:0}.el-tabs--left .el-tabs__item.is-left{text-align:right}.el-tabs--left.el-tabs--card .el-tabs__active-bar.is-left{display:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left{border-bottom:none;border-left:none;border-right:1px solid var(--el-border-color-light);border-top:1px solid var(--el-border-color-light);text-align:left}.el-tabs--left.el-tabs--card .el-tabs__item.is-left:first-child{border-right:1px solid var(--el-border-color-light);border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left:none;border-right:1px solid #fff}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:first-child{border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:last-child{border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-radius:4px 0 0 4px;border-right:none}.el-tabs--left.el-tabs--card .el-tabs__new-tab{float:none}.el-tabs--left.el-tabs--border-card .el-tabs__header.is-left{border-right:1px solid var(--el-border-color)}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left{border:1px solid #0000;margin:-1px 0 -1px -1px}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left.is-active{border-color:#d1dbe5 #0000}.el-tabs--right .el-tabs__header.is-right{margin-bottom:0;margin-left:10px}.el-tabs--right .el-tabs__nav-wrap.is-right{margin-left:-1px}.el-tabs--right .el-tabs__nav-wrap.is-right:after{left:0;right:auto}.el-tabs--right .el-tabs__active-bar.is-right{left:0}.el-tabs--right.el-tabs--card .el-tabs__active-bar.is-right{display:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right{border-bottom:none;border-top:1px solid var(--el-border-color-light)}.el-tabs--right.el-tabs--card .el-tabs__item.is-right:first-child{border-left:1px solid var(--el-border-color-light);border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left:1px solid #fff;border-right:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:first-child{border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:last-child{border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-left:none;border-radius:0 4px 4px 0}.el-tabs--right.el-tabs--border-card .el-tabs__header.is-right{border-left:1px solid var(--el-border-color)}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right{border:1px solid #0000;margin:-1px -1px -1px 0}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right.is-active{border-color:#d1dbe5 #0000}.el-tabs--top{flex-direction:column-reverse}.slideInLeft-transition,.slideInRight-transition{display:inline-block}.slideInRight-enter{animation:slideInRight-enter var(--el-transition-duration)}.slideInRight-leave{animation:slideInRight-leave var(--el-transition-duration);left:0;position:absolute;right:0}.slideInLeft-enter{animation:slideInLeft-enter var(--el-transition-duration)}.slideInLeft-leave{animation:slideInLeft-leave var(--el-transition-duration);left:0;position:absolute;right:0}@keyframes slideInRight-enter{0%{opacity:0;transform:translate(100%);transform-origin:0 0}to{opacity:1;transform:translate(0);transform-origin:0 0}}@keyframes slideInRight-leave{0%{opacity:1;transform:translate(0);transform-origin:0 0}to{opacity:0;transform:translate(100%);transform-origin:0 0}}@keyframes slideInLeft-enter{0%{opacity:0;transform:translate(-100%);transform-origin:0 0}to{opacity:1;transform:translate(0);transform-origin:0 0}}@keyframes slideInLeft-leave{0%{opacity:1;transform:translate(0);transform-origin:0 0}to{opacity:0;transform:translate(-100%);transform-origin:0 0}}.el-tag{--el-tag-font-size:12px;--el-tag-border-radius:4px;--el-tag-border-radius-rounded:9999px;align-items:center;background-color:var(--el-tag-bg-color);border-color:var(--el-tag-border-color);border-radius:var(--el-tag-border-radius);border-style:solid;border-width:1px;box-sizing:border-box;color:var(--el-tag-text-color);display:inline-flex;font-size:var(--el-tag-font-size);height:24px;justify-content:center;line-height:1;padding:0 9px;vertical-align:middle;white-space:nowrap;--el-icon-size:14px}.el-tag,.el-tag.el-tag--primary{--el-tag-bg-color:var(--el-color-primary-light-9);--el-tag-border-color:var(--el-color-primary-light-8);--el-tag-hover-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-bg-color:var(--el-color-success-light-9);--el-tag-border-color:var(--el-color-success-light-8);--el-tag-hover-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-bg-color:var(--el-color-warning-light-9);--el-tag-border-color:var(--el-color-warning-light-8);--el-tag-hover-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-bg-color:var(--el-color-danger-light-9);--el-tag-border-color:var(--el-color-danger-light-8);--el-tag-hover-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-bg-color:var(--el-color-error-light-9);--el-tag-border-color:var(--el-color-error-light-8);--el-tag-hover-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-bg-color:var(--el-color-info-light-9);--el-tag-border-color:var(--el-color-info-light-8);--el-tag-hover-color:var(--el-color-info)}.el-tag.is-hit{border-color:var(--el-color-primary)}.el-tag.is-round{border-radius:var(--el-tag-border-radius-rounded)}.el-tag .el-tag__close{color:var(--el-tag-text-color);flex-shrink:0}.el-tag .el-tag__close:hover{background-color:var(--el-tag-hover-color);color:var(--el-color-white)}.el-tag.el-tag--primary{--el-tag-text-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-text-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-text-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-text-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-text-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-text-color:var(--el-color-info)}.el-tag .el-icon{border-radius:50%;cursor:pointer;font-size:calc(var(--el-icon-size) - 2px);height:var(--el-icon-size);width:var(--el-icon-size)}.el-tag .el-tag__close{margin-left:6px}.el-tag--dark{--el-tag-text-color:var(--el-color-white)}.el-tag--dark,.el-tag--dark.el-tag--primary{--el-tag-bg-color:var(--el-color-primary);--el-tag-border-color:var(--el-color-primary);--el-tag-hover-color:var(--el-color-primary-light-3)}.el-tag--dark.el-tag--success{--el-tag-bg-color:var(--el-color-success);--el-tag-border-color:var(--el-color-success);--el-tag-hover-color:var(--el-color-success-light-3)}.el-tag--dark.el-tag--warning{--el-tag-bg-color:var(--el-color-warning);--el-tag-border-color:var(--el-color-warning);--el-tag-hover-color:var(--el-color-warning-light-3)}.el-tag--dark.el-tag--danger{--el-tag-bg-color:var(--el-color-danger);--el-tag-border-color:var(--el-color-danger);--el-tag-hover-color:var(--el-color-danger-light-3)}.el-tag--dark.el-tag--error{--el-tag-bg-color:var(--el-color-error);--el-tag-border-color:var(--el-color-error);--el-tag-hover-color:var(--el-color-error-light-3)}.el-tag--dark.el-tag--info{--el-tag-bg-color:var(--el-color-info);--el-tag-border-color:var(--el-color-info);--el-tag-hover-color:var(--el-color-info-light-3)}.el-tag--dark.el-tag--danger,.el-tag--dark.el-tag--error,.el-tag--dark.el-tag--info,.el-tag--dark.el-tag--primary,.el-tag--dark.el-tag--success,.el-tag--dark.el-tag--warning{--el-tag-text-color:var(--el-color-white)}.el-tag--plain,.el-tag--plain.el-tag--primary{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-primary-light-5);--el-tag-hover-color:var(--el-color-primary)}.el-tag--plain.el-tag--success{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-success-light-5);--el-tag-hover-color:var(--el-color-success)}.el-tag--plain.el-tag--warning{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-warning-light-5);--el-tag-hover-color:var(--el-color-warning)}.el-tag--plain.el-tag--danger{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-danger-light-5);--el-tag-hover-color:var(--el-color-danger)}.el-tag--plain.el-tag--error{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-error-light-5);--el-tag-hover-color:var(--el-color-error)}.el-tag--plain.el-tag--info{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-info-light-5);--el-tag-hover-color:var(--el-color-info)}.el-tag.is-closable{padding-right:5px}.el-tag--large{height:32px;padding:0 11px;--el-icon-size:16px}.el-tag--large .el-tag__close{margin-left:8px}.el-tag--large.is-closable{padding-right:7px}.el-tag--small{height:20px;padding:0 7px;--el-icon-size:12px}.el-tag--small .el-tag__close{margin-left:4px}.el-tag--small.is-closable{padding-right:3px}.el-tag--small .el-icon-close{transform:scale(.8)}.el-tag.el-tag--primary.is-hit{border-color:var(--el-color-primary)}.el-tag.el-tag--success.is-hit{border-color:var(--el-color-success)}.el-tag.el-tag--warning.is-hit{border-color:var(--el-color-warning)}.el-tag.el-tag--danger.is-hit{border-color:var(--el-color-danger)}.el-tag.el-tag--error.is-hit{border-color:var(--el-color-error)}.el-tag.el-tag--info.is-hit{border-color:var(--el-color-info)}.el-text{--el-text-font-size:var(--el-font-size-base);--el-text-color:var(--el-text-color-regular);align-self:center;color:var(--el-text-color);font-size:var(--el-text-font-size);margin:0;overflow-wrap:break-word;padding:0}.el-text.is-truncated{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-text.is-line-clamp{display:-webkit-inline-box;-webkit-box-orient:vertical;overflow:hidden}.el-text--large{--el-text-font-size:var(--el-font-size-medium)}.el-text--default{--el-text-font-size:var(--el-font-size-base)}.el-text--small{--el-text-font-size:var(--el-font-size-extra-small)}.el-text.el-text--primary{--el-text-color:var(--el-color-primary)}.el-text.el-text--success{--el-text-color:var(--el-color-success)}.el-text.el-text--warning{--el-text-color:var(--el-color-warning)}.el-text.el-text--danger{--el-text-color:var(--el-color-danger)}.el-text.el-text--error{--el-text-color:var(--el-color-error)}.el-text.el-text--info{--el-text-color:var(--el-color-info)}.el-text>.el-icon{vertical-align:-2px}.time-select{margin:5px 0;min-width:0}.time-select .el-picker-panel__content{margin:0;max-height:200px}.time-select-item{font-size:14px;line-height:20px;padding:8px 10px}.time-select-item.disabled{color:var(--el-datepicker-border-color);cursor:not-allowed}.time-select-item:hover{background-color:var(--el-fill-color-light);cursor:pointer;font-weight:700}.time-select .time-select-item.selected:not(.disabled){color:var(--el-color-primary);font-weight:700}.el-timeline-item{padding-bottom:20px;position:relative}.el-timeline-item__wrapper{padding-left:28px;position:relative;top:-3px}.el-timeline-item__tail{border-left:2px solid var(--el-timeline-node-color);height:100%;left:4px;position:absolute}.el-timeline-item .el-timeline-item__icon{color:var(--el-color-white);font-size:var(--el-font-size-small)}.el-timeline-item__node{align-items:center;background-color:var(--el-timeline-node-color);border-color:var(--el-timeline-node-color);border-radius:50%;box-sizing:border-box;display:flex;justify-content:center;position:absolute}.el-timeline-item__node--normal{height:var(--el-timeline-node-size-normal);left:-1px;width:var(--el-timeline-node-size-normal)}.el-timeline-item__node--large{height:var(--el-timeline-node-size-large);left:-2px;width:var(--el-timeline-node-size-large)}.el-timeline-item__node.is-hollow{background:var(--el-color-white);border-style:solid;border-width:2px}.el-timeline-item__node--primary{background-color:var(--el-color-primary);border-color:var(--el-color-primary)}.el-timeline-item__node--success{background-color:var(--el-color-success);border-color:var(--el-color-success)}.el-timeline-item__node--warning{background-color:var(--el-color-warning);border-color:var(--el-color-warning)}.el-timeline-item__node--danger{background-color:var(--el-color-danger);border-color:var(--el-color-danger)}.el-timeline-item__node--info{background-color:var(--el-color-info);border-color:var(--el-color-info)}.el-timeline-item__dot{align-items:center;display:flex;justify-content:center;position:absolute}.el-timeline-item__content{color:var(--el-text-color-primary)}.el-timeline-item__timestamp{color:var(--el-text-color-secondary);font-size:var(--el-font-size-small);line-height:1}.el-timeline-item__timestamp.is-top{margin-bottom:8px;padding-top:4px}.el-timeline-item__timestamp.is-bottom{margin-top:8px}.el-timeline{--el-timeline-node-size-normal:12px;--el-timeline-node-size-large:14px;--el-timeline-node-color:var(--el-border-color-light);font-size:var(--el-font-size-base);list-style:none;margin:0}.el-timeline .el-timeline-item:last-child .el-timeline-item__tail{display:none}.el-timeline .el-timeline-item__center{align-items:center;display:flex}.el-timeline .el-timeline-item__center .el-timeline-item__wrapper{width:100%}.el-timeline .el-timeline-item__center .el-timeline-item__tail{top:0}.el-timeline .el-timeline-item__center:first-child .el-timeline-item__tail{height:calc(50% + 10px);top:calc(50% - 10px)}.el-timeline .el-timeline-item__center:last-child .el-timeline-item__tail{display:block;height:calc(50% - 10px)}.el-tooltip-v2__content{--el-tooltip-v2-padding:5px 10px;--el-tooltip-v2-border-radius:4px;--el-tooltip-v2-border-color:var(--el-border-color);background-color:var(--el-color-white);border:1px solid var(--el-border-color);border-radius:var(--el-tooltip-v2-border-radius);color:var(--el-color-black);padding:var(--el-tooltip-v2-padding)}.el-tooltip-v2__arrow{color:var(--el-color-white);height:var(--el-tooltip-v2-arrow-height);left:var(--el-tooltip-v2-arrow-x);pointer-events:none;position:absolute;top:var(--el-tooltip-v2-arrow-y);width:var(--el-tooltip-v2-arrow-width)}.el-tooltip-v2__arrow:after,.el-tooltip-v2__arrow:before{border:var(--el-tooltip-v2-arrow-border-width) solid #0000;content:"";height:0;position:absolute;width:0}.el-tooltip-v2__content[data-side^=top] .el-tooltip-v2__arrow{bottom:0}.el-tooltip-v2__content[data-side^=top] .el-tooltip-v2__arrow:before{border-bottom:0;border-top-color:var(--el-color-white);border-top-width:var(--el-tooltip-v2-arrow-border-width);top:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=top] .el-tooltip-v2__arrow:after{border-bottom:0;border-top-color:var(--el-border-color);border-top-width:var(--el-tooltip-v2-arrow-border-width);top:100%;z-index:-1}.el-tooltip-v2__content[data-side^=bottom] .el-tooltip-v2__arrow{top:0}.el-tooltip-v2__content[data-side^=bottom] .el-tooltip-v2__arrow:before{border-bottom-color:var(--el-color-white);border-bottom-width:var(--el-tooltip-v2-arrow-border-width);border-top:0;bottom:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=bottom] .el-tooltip-v2__arrow:after{border-bottom-color:var(--el-border-color);border-bottom-width:var(--el-tooltip-v2-arrow-border-width);border-top:0;bottom:100%;z-index:-1}.el-tooltip-v2__content[data-side^=left] .el-tooltip-v2__arrow{right:0}.el-tooltip-v2__content[data-side^=left] .el-tooltip-v2__arrow:before{border-left-color:var(--el-color-white);border-left-width:var(--el-tooltip-v2-arrow-border-width);border-right:0;left:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=left] .el-tooltip-v2__arrow:after{border-left-color:var(--el-border-color);border-left-width:var(--el-tooltip-v2-arrow-border-width);border-right:0;left:100%;z-index:-1}.el-tooltip-v2__content[data-side^=right] .el-tooltip-v2__arrow{left:0}.el-tooltip-v2__content[data-side^=right] .el-tooltip-v2__arrow:before{border-left:0;border-right-color:var(--el-color-white);border-right-width:var(--el-tooltip-v2-arrow-border-width);right:calc(100% - 1px)}.el-tooltip-v2__content[data-side^=right] .el-tooltip-v2__arrow:after{border-left:0;border-right-color:var(--el-border-color);border-right-width:var(--el-tooltip-v2-arrow-border-width);right:100%;z-index:-1}.el-tooltip-v2__content.is-dark{--el-tooltip-v2-border-color:#0000;color:var(--el-color-white)}.el-tooltip-v2__content.is-dark,.el-tooltip-v2__content.is-dark .el-tooltip-v2__arrow{background-color:var(--el-color-black);border-color:#0000}.el-transfer{--el-transfer-border-color:var(--el-border-color-lighter);--el-transfer-border-radius:var(--el-border-radius-base);--el-transfer-panel-width:200px;--el-transfer-panel-header-height:40px;--el-transfer-panel-header-bg-color:var(--el-fill-color-light);--el-transfer-panel-footer-height:40px;--el-transfer-panel-body-height:278px;--el-transfer-item-height:30px;--el-transfer-filter-height:32px;font-size:var(--el-font-size-base)}.el-transfer__buttons{display:inline-block;padding:0 30px;vertical-align:middle}.el-transfer__button{vertical-align:top}.el-transfer__button:nth-child(2){margin:0 0 0 10px}.el-transfer__button i,.el-transfer__button span{font-size:14px}.el-transfer__button .el-icon+span{margin-left:0}.el-transfer-panel{background:var(--el-bg-color-overlay);box-sizing:border-box;display:inline-block;max-height:100%;overflow:hidden;position:relative;text-align:left;vertical-align:middle;width:var(--el-transfer-panel-width)}.el-transfer-panel__body{border-bottom:1px solid var(--el-transfer-border-color);border-bottom-left-radius:var(--el-transfer-border-radius);border-bottom-right-radius:var(--el-transfer-border-radius);border-left:1px solid var(--el-transfer-border-color);border-right:1px solid var(--el-transfer-border-color);height:var(--el-transfer-panel-body-height);overflow:hidden}.el-transfer-panel__body.is-with-footer{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.el-transfer-panel__list{box-sizing:border-box;height:var(--el-transfer-panel-body-height);list-style:none;margin:0;overflow:auto;padding:6px 0}.el-transfer-panel__list.is-filterable{height:calc(100% - var(--el-transfer-filter-height) - 30px);padding-top:0}.el-transfer-panel__item{display:block!important;height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);padding-left:15px}.el-transfer-panel__item+.el-transfer-panel__item{margin-left:0}.el-transfer-panel__item.el-checkbox{color:var(--el-text-color-regular)}.el-transfer-panel__item:hover{color:var(--el-color-primary)}.el-transfer-panel__item.el-checkbox .el-checkbox__label{box-sizing:border-box;display:block;line-height:var(--el-transfer-item-height);overflow:hidden;padding-left:22px;text-overflow:ellipsis;white-space:nowrap;width:100%}.el-transfer-panel__item .el-checkbox__input{position:absolute;top:8px}.el-transfer-panel__filter{box-sizing:border-box;padding:15px;text-align:center}.el-transfer-panel__filter .el-input__inner{box-sizing:border-box;display:inline-block;font-size:12px;height:var(--el-transfer-filter-height);width:100%}.el-transfer-panel__filter .el-icon-circle-close{cursor:pointer}.el-transfer-panel .el-transfer-panel__header{align-items:center;background:var(--el-transfer-panel-header-bg-color);border:1px solid var(--el-transfer-border-color);border-top-left-radius:var(--el-transfer-border-radius);border-top-right-radius:var(--el-transfer-border-radius);box-sizing:border-box;color:var(--el-color-black);display:flex;height:var(--el-transfer-panel-header-height);margin:0;padding-left:15px}.el-transfer-panel .el-transfer-panel__header .el-checkbox{align-items:center;display:flex;position:relative;width:100%}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label{color:var(--el-text-color-primary);font-size:16px;font-weight:400}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label span{color:var(--el-text-color-secondary);font-size:12px;font-weight:400;position:absolute;right:15px;top:50%;transform:translate3d(0,-50%,0)}.el-transfer-panel .el-transfer-panel__footer{background:var(--el-bg-color-overlay);border:1px solid var(--el-transfer-border-color);border-bottom-left-radius:var(--el-transfer-border-radius);border-bottom-right-radius:var(--el-transfer-border-radius);height:var(--el-transfer-panel-footer-height);margin:0;padding:0}.el-transfer-panel .el-transfer-panel__footer:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-transfer-panel .el-transfer-panel__footer .el-checkbox{color:var(--el-text-color-regular);padding-left:20px}.el-transfer-panel .el-transfer-panel__empty{color:var(--el-text-color-secondary);height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);margin:0;padding:6px 15px 0;text-align:center}.el-transfer-panel .el-checkbox__label{padding-left:8px}.el-transfer-panel .el-checkbox__inner{border-radius:3px;height:14px;width:14px}.el-transfer-panel .el-checkbox__inner:after{height:6px;left:4px;width:3px}.el-tree{--el-tree-node-content-height:26px;--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder);background:var(--el-fill-color-blank);color:var(--el-tree-text-color);cursor:default;font-size:var(--el-font-size-base);position:relative}.el-tree__empty-block{height:100%;min-height:60px;position:relative;text-align:center;width:100%}.el-tree__empty-text{color:var(--el-text-color-secondary);font-size:var(--el-font-size-base);left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.el-tree__drop-indicator{background-color:var(--el-color-primary);height:1px;left:0;position:absolute;right:0}.el-tree-node{outline:none;white-space:nowrap}.el-tree-node:focus>.el-tree-node__content{background-color:var(--el-tree-node-hover-bg-color)}.el-tree-node.is-drop-inner>.el-tree-node__content .el-tree-node__label{background-color:var(--el-color-primary);color:#fff}.el-tree-node__content{--el-checkbox-height:var(--el-tree-node-content-height);align-items:center;cursor:pointer;display:flex;height:var(--el-tree-node-content-height)}.el-tree-node__content>.el-tree-node__expand-icon{box-sizing:initial;padding:6px}.el-tree-node__content>label.el-checkbox{margin-right:8px}.el-tree-node__content:hover{background-color:var(--el-tree-node-hover-bg-color)}.el-tree.is-dragging .el-tree-node__content{cursor:move}.el-tree.is-dragging .el-tree-node__content *{pointer-events:none}.el-tree.is-dragging.is-drop-not-allow .el-tree-node__content{cursor:not-allowed}.el-tree-node__expand-icon{color:var(--el-tree-expand-icon-color);cursor:pointer;font-size:12px;transform:rotate(0);transition:transform var(--el-transition-duration) ease-in-out}.el-tree-node__expand-icon.expanded{transform:rotate(90deg)}.el-tree-node__expand-icon.is-leaf{color:#0000;cursor:default;visibility:hidden}.el-tree-node__expand-icon.is-hidden{visibility:hidden}.el-tree-node__loading-icon{color:var(--el-tree-expand-icon-color);font-size:var(--el-font-size-base);margin-right:8px}.el-tree-node>.el-tree-node__children{background-color:initial;overflow:hidden}.el-tree-node.is-expanded>.el-tree-node__children{display:block}.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:var(--el-color-primary-light-9)}.el-tree-select{--el-tree-node-content-height:26px;--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder)}.el-tree-select__popper .el-tree-node__expand-icon{margin-left:8px}.el-tree-select__popper .el-tree-node.is-checked>.el-tree-node__content .el-select-dropdown__item.selected:after{content:none}.el-tree-select__popper .el-select-dropdown__list>.el-select-dropdown__item{padding-left:32px}.el-tree-select__popper .el-select-dropdown__item{background:#0000!important;flex:1;height:20px;line-height:20px;padding-left:0}.el-upload{--el-upload-dragger-padding-horizontal:40px;--el-upload-dragger-padding-vertical:10px;align-items:center;cursor:pointer;display:inline-flex;justify-content:center;outline:none}.el-upload.is-disabled{cursor:not-allowed}.el-upload.is-disabled:focus{color:inherit}.el-upload.is-disabled:focus,.el-upload.is-disabled:focus .el-upload-dragger{border-color:var(--el-border-color-darker)}.el-upload.is-disabled .el-upload-dragger{background-color:var(--el-disabled-bg-color);cursor:not-allowed}.el-upload.is-disabled .el-upload-dragger .el-upload__text{color:var(--el-text-color-placeholder)}.el-upload.is-disabled .el-upload-dragger .el-upload__text em{color:var(--el-disabled-text-color)}.el-upload.is-disabled .el-upload-dragger:hover{border-color:var(--el-border-color-darker)}.el-upload__input{display:none}.el-upload__tip{color:var(--el-text-color-regular);font-size:12px;margin-top:7px}.el-upload iframe{filter:alpha(opacity=0);left:0;opacity:0;position:absolute;top:0;z-index:-1}.el-upload--picture-card{--el-upload-picture-card-size:148px;align-items:center;background-color:var(--el-fill-color-lighter);border:1px dashed var(--el-border-color-darker);border-radius:6px;box-sizing:border-box;cursor:pointer;display:inline-flex;height:var(--el-upload-picture-card-size);justify-content:center;vertical-align:top;width:var(--el-upload-picture-card-size)}.el-upload--picture-card>i{color:var(--el-text-color-secondary);font-size:28px}.el-upload--picture-card:hover{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload.is-drag{display:block}.el-upload:focus{color:var(--el-color-primary)}.el-upload:focus,.el-upload:focus .el-upload-dragger{border-color:var(--el-color-primary)}.el-upload-dragger{background-color:var(--el-fill-color-blank);border:1px dashed var(--el-border-color);border-radius:6px;box-sizing:border-box;cursor:pointer;overflow:hidden;padding:var(--el-upload-dragger-padding-horizontal) var(--el-upload-dragger-padding-vertical);position:relative;text-align:center}.el-upload-dragger .el-icon--upload{color:var(--el-text-color-placeholder);font-size:67px;line-height:50px;margin-bottom:16px}.el-upload-dragger+.el-upload__tip{text-align:center}.el-upload-dragger~.el-upload__files{border-top:var(--el-border);margin-top:7px;padding-top:5px}.el-upload-dragger .el-upload__text{color:var(--el-text-color-regular);font-size:14px;text-align:center}.el-upload-dragger .el-upload__text em{color:var(--el-color-primary);font-style:normal}.el-upload-dragger:hover{border-color:var(--el-color-primary)}.el-upload-dragger.is-dragover{background-color:var(--el-color-primary-light-9);border:2px dashed var(--el-color-primary);padding:calc(var(--el-upload-dragger-padding-horizontal) - 1px) calc(var(--el-upload-dragger-padding-vertical) - 1px)}.el-upload-list{list-style:none;margin:10px 0 0;padding:0;position:relative}.el-upload-list__item{border-radius:4px;box-sizing:border-box;color:var(--el-text-color-regular);font-size:14px;margin-bottom:5px;position:relative;transition:all .5s cubic-bezier(.55,0,.1,1);width:100%}.el-upload-list__item .el-progress{position:absolute;top:20px;width:100%}.el-upload-list__item .el-progress__text{position:absolute;right:0;top:-13px}.el-upload-list__item .el-progress-bar{margin-right:0;padding-right:0}.el-upload-list__item .el-icon--upload-success{color:var(--el-color-success)}.el-upload-list__item .el-icon--close{color:var(--el-text-color-regular);cursor:pointer;display:none;opacity:.75;position:absolute;right:5px;top:50%;transform:translateY(-50%);transition:opacity var(--el-transition-duration)}.el-upload-list__item .el-icon--close:hover{color:var(--el-color-primary);opacity:1}.el-upload-list__item .el-icon--close-tip{color:var(--el-color-primary);cursor:pointer;display:none;font-size:12px;font-style:normal;opacity:1;position:absolute;right:5px;top:1px}.el-upload-list__item:hover{background-color:var(--el-fill-color-light)}.el-upload-list__item:hover .el-icon--close{display:inline-flex}.el-upload-list__item:hover .el-progress__text{display:none}.el-upload-list__item .el-upload-list__item-info{display:inline-flex;flex-direction:column;justify-content:center;margin-left:4px;width:calc(100% - 30px)}.el-upload-list__item.is-success .el-upload-list__item-status-label{display:inline-flex}.el-upload-list__item.is-success .el-upload-list__item-name:focus,.el-upload-list__item.is-success .el-upload-list__item-name:hover{color:var(--el-color-primary);cursor:pointer}.el-upload-list__item.is-success:focus:not(:hover) .el-icon--close-tip{display:inline-block}.el-upload-list__item.is-success:active,.el-upload-list__item.is-success:not(.focusing):focus{outline-width:0}.el-upload-list__item.is-success:active .el-icon--close-tip,.el-upload-list__item.is-success:not(.focusing):focus .el-icon--close-tip{display:none}.el-upload-list__item.is-success:focus .el-upload-list__item-status-label,.el-upload-list__item.is-success:hover .el-upload-list__item-status-label{display:none;opacity:0}.el-upload-list__item-name{align-items:center;color:var(--el-text-color-regular);display:inline-flex;font-size:var(--el-font-size-base);padding:0 4px;text-align:center;transition:color var(--el-transition-duration)}.el-upload-list__item-name .el-icon{color:var(--el-text-color-secondary);margin-right:6px}.el-upload-list__item-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-upload-list__item-status-label{align-items:center;display:none;height:100%;justify-content:center;line-height:inherit;position:absolute;right:5px;top:0;transition:opacity var(--el-transition-duration)}.el-upload-list__item-delete{color:var(--el-text-color-regular);display:none;font-size:12px;position:absolute;right:10px;top:0}.el-upload-list__item-delete:hover{color:var(--el-color-primary)}.el-upload-list--picture-card{--el-upload-list-picture-card-size:148px;display:inline-flex;flex-wrap:wrap;margin:0}.el-upload-list--picture-card .el-upload-list__item{background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;display:inline-flex;height:var(--el-upload-list-picture-card-size);margin:0 8px 8px 0;overflow:hidden;padding:0;width:var(--el-upload-list-picture-card-size)}.el-upload-list--picture-card .el-upload-list__item .el-icon--check,.el-upload-list--picture-card .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture-card .el-upload-list__item .el-icon--close{display:none}.el-upload-list--picture-card .el-upload-list__item:hover .el-upload-list__item-status-label{display:block;opacity:0}.el-upload-list--picture-card .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture-card .el-upload-list__item .el-upload-list__item-name{display:none}.el-upload-list--picture-card .el-upload-list__item-thumbnail{height:100%;object-fit:contain;width:100%}.el-upload-list--picture-card .el-upload-list__item-status-label{background:var(--el-color-success);height:24px;right:-15px;text-align:center;top:-6px;transform:rotate(45deg);width:40px}.el-upload-list--picture-card .el-upload-list__item-status-label i{font-size:12px;margin-top:11px;transform:rotate(-45deg)}.el-upload-list--picture-card .el-upload-list__item-actions{align-items:center;background-color:var(--el-overlay-color-lighter);color:#fff;cursor:default;display:inline-flex;font-size:20px;height:100%;justify-content:center;left:0;opacity:0;position:absolute;top:0;transition:opacity var(--el-transition-duration);width:100%}.el-upload-list--picture-card .el-upload-list__item-actions span{cursor:pointer;display:none}.el-upload-list--picture-card .el-upload-list__item-actions span+span{margin-left:16px}.el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete{color:inherit;font-size:inherit;position:static}.el-upload-list--picture-card .el-upload-list__item-actions:hover{opacity:1}.el-upload-list--picture-card .el-upload-list__item-actions:hover span{display:inline-flex}.el-upload-list--picture-card .el-progress{bottom:auto;left:50%;top:50%;transform:translate(-50%,-50%);width:126px}.el-upload-list--picture-card .el-progress .el-progress__text{top:50%}.el-upload-list--picture .el-upload-list__item{align-items:center;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;display:flex;margin-top:10px;overflow:hidden;padding:10px;z-index:0}.el-upload-list--picture .el-upload-list__item .el-icon--check,.el-upload-list--picture .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture .el-upload-list__item:hover .el-upload-list__item-status-label{display:inline-flex;opacity:0}.el-upload-list--picture .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name i{display:none}.el-upload-list--picture .el-upload-list__item .el-icon--close{top:5px;transform:translateY(0)}.el-upload-list--picture .el-upload-list__item-thumbnail{align-items:center;background-color:var(--el-color-white);display:inline-flex;height:70px;justify-content:center;object-fit:contain;position:relative;width:70px;z-index:1}.el-upload-list--picture .el-upload-list__item-status-label{background:var(--el-color-success);height:26px;position:absolute;right:-17px;text-align:center;top:-7px;transform:rotate(45deg);width:46px}.el-upload-list--picture .el-upload-list__item-status-label i{font-size:12px;margin-top:12px;transform:rotate(-45deg)}.el-upload-list--picture .el-progress{position:relative;top:-7px}.el-upload-cover{cursor:default;height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%;z-index:10}.el-upload-cover:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-upload-cover img{display:block;height:100%;width:100%}.el-upload-cover__label{background:var(--el-color-success);height:24px;right:-15px;text-align:center;top:-6px;transform:rotate(45deg);width:40px}.el-upload-cover__label i{color:#fff;font-size:12px;margin-top:11px;transform:rotate(-45deg)}.el-upload-cover__progress{display:inline-block;position:static;vertical-align:middle;width:243px}.el-upload-cover__progress+.el-upload__inner{opacity:0}.el-upload-cover__content{height:100%;left:0;position:absolute;top:0;width:100%}.el-upload-cover__interact{background-color:var(--el-overlay-color-light);bottom:0;height:100%;left:0;position:absolute;text-align:center;width:100%}.el-upload-cover__interact .btn{color:#fff;cursor:pointer;display:inline-block;font-size:14px;margin-top:60px;transition:var(--el-transition-md-fade);vertical-align:middle}.el-upload-cover__interact .btn i{margin-top:0}.el-upload-cover__interact .btn span{opacity:0;transition:opacity .15s linear}.el-upload-cover__interact .btn:not(:first-child){margin-left:35px}.el-upload-cover__interact .btn:hover{transform:translateY(-13px)}.el-upload-cover__interact .btn:hover span{opacity:1}.el-upload-cover__interact .btn i{color:#fff;display:block;font-size:24px;line-height:inherit;margin:0 auto 5px}.el-upload-cover__title{background-color:#fff;bottom:0;color:var(--el-text-color-primary);font-size:14px;font-weight:400;height:36px;left:0;line-height:36px;margin:0;overflow:hidden;padding:0 10px;position:absolute;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%}.el-upload-cover+.el-upload__inner{opacity:0;position:relative;z-index:1}.el-vl__wrapper{position:relative}.el-vl__wrapper.always-on .el-virtual-scrollbar,.el-vl__wrapper:hover .el-virtual-scrollbar{opacity:1}.el-vl__window{scrollbar-width:none}.el-vl__window::-webkit-scrollbar{display:none}.el-virtual-scrollbar{opacity:0;transition:opacity .34s ease-out}.el-virtual-scrollbar.always-on{opacity:1}.el-vg__wrapper{position:relative}.el-popper{--el-popper-border-radius:var(--el-popover-border-radius,4px);border-radius:var(--el-popper-border-radius);font-size:12px;line-height:20px;min-width:10px;overflow-wrap:break-word;padding:5px 11px;position:absolute;visibility:visible;z-index:2000}.el-popper.is-dark{color:var(--el-bg-color)}.el-popper.is-dark,.el-popper.is-dark>.el-popper__arrow:before{background:var(--el-text-color-primary);border:1px solid var(--el-text-color-primary)}.el-popper.is-dark>.el-popper__arrow:before{right:0}.el-popper.is-light,.el-popper.is-light>.el-popper__arrow:before{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light)}.el-popper.is-light>.el-popper__arrow:before{right:0}.el-popper.is-pure{padding:0}.el-popper__arrow,.el-popper__arrow:before{height:10px;position:absolute;width:10px;z-index:-1}.el-popper__arrow:before{background:var(--el-text-color-primary);box-sizing:border-box;content:" ";transform:rotate(45deg)}.el-popper[data-popper-placement^=top]>.el-popper__arrow{bottom:-5px}.el-popper[data-popper-placement^=top]>.el-popper__arrow:before{border-bottom-right-radius:2px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow{top:-5px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow:before{border-top-left-radius:2px}.el-popper[data-popper-placement^=left]>.el-popper__arrow{right:-5px}.el-popper[data-popper-placement^=left]>.el-popper__arrow:before{border-top-right-radius:2px}.el-popper[data-popper-placement^=right]>.el-popper__arrow{left:-5px}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-bottom-left-radius:2px}.el-popper[data-popper-placement^=top]>.el-popper__arrow:before{border-left-color:#0000!important;border-top-color:#0000!important}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow:before{border-bottom-color:#0000!important;border-right-color:#0000!important}.el-popper[data-popper-placement^=left]>.el-popper__arrow:before{border-bottom-color:#0000!important;border-left-color:#0000!important}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-right-color:#0000!important;border-top-color:#0000!important}.el-statistic{--el-statistic-title-font-weight:400;--el-statistic-title-font-size:var(--el-font-size-extra-small);--el-statistic-title-color:var(--el-text-color-regular);--el-statistic-content-font-weight:400;--el-statistic-content-font-size:var(--el-font-size-extra-large);--el-statistic-content-color:var(--el-text-color-primary)}.el-statistic__head{color:var(--el-statistic-title-color);font-size:var(--el-statistic-title-font-size);font-weight:var(--el-statistic-title-font-weight);line-height:20px;margin-bottom:4px}.el-statistic__content{color:var(--el-statistic-content-color);font-size:var(--el-statistic-content-font-size);font-weight:var(--el-statistic-content-font-weight)}.el-statistic__value{display:inline-block}.el-statistic__prefix{display:inline-block;margin-right:4px}.el-statistic__suffix{display:inline-block;margin-left:4px}.el-tour{--el-tour-width:520px;--el-tour-padding-primary:12px;--el-tour-font-line-height:var(--el-font-line-height-primary);--el-tour-title-font-size:16px;--el-tour-title-text-color:var(--el-text-color-primary);--el-tour-title-font-weight:400;--el-tour-close-color:var(--el-color-info);--el-tour-font-size:14px;--el-tour-color:var(--el-text-color-primary);--el-tour-bg-color:var(--el-bg-color);--el-tour-border-radius:4px}.el-tour__hollow{transition:all var(--el-transition-duration) ease}.el-tour__content{border-radius:var(--el-tour-border-radius);box-shadow:var(--el-box-shadow-light);outline:none;overflow-wrap:break-word;padding:var(--el-tour-padding-primary);width:var(--el-tour-width)}.el-tour__arrow,.el-tour__content{background:var(--el-tour-bg-color);box-sizing:border-box}.el-tour__arrow{height:10px;pointer-events:none;position:absolute;transform:rotate(45deg);width:10px}.el-tour__content[data-side^=top] .el-tour__arrow{border-left-color:#0000;border-top-color:#0000}.el-tour__content[data-side^=bottom] .el-tour__arrow{border-bottom-color:#0000;border-right-color:#0000}.el-tour__content[data-side^=left] .el-tour__arrow{border-bottom-color:#0000;border-left-color:#0000}.el-tour__content[data-side^=right] .el-tour__arrow{border-right-color:#0000;border-top-color:#0000}.el-tour__content[data-side^=top] .el-tour__arrow{bottom:-5px}.el-tour__content[data-side^=bottom] .el-tour__arrow{top:-5px}.el-tour__content[data-side^=left] .el-tour__arrow{right:-5px}.el-tour__content[data-side^=right] .el-tour__arrow{left:-5px}.el-tour__closebtn{background:#0000;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:40px;outline:none;padding:0;position:absolute;right:0;top:0;width:40px}.el-tour__closebtn .el-tour__close{color:var(--el-tour-close-color);font-size:inherit}.el-tour__closebtn:focus .el-tour__close,.el-tour__closebtn:hover .el-tour__close{color:var(--el-color-primary)}.el-tour__header{padding-bottom:var(--el-tour-padding-primary)}.el-tour__header.show-close{padding-right:calc(var(--el-tour-padding-primary) + var(--el-message-close-size, 16px))}.el-tour__title{color:var(--el-tour-title-text-color);font-size:var(--el-tour-title-font-size);font-weight:var(--el-tour-title-font-weight);line-height:var(--el-tour-font-line-height)}.el-tour__body{color:var(--el-tour-text-color);font-size:var(--el-tour-font-size)}.el-tour__body img,.el-tour__body video{max-width:100%}.el-tour__footer{box-sizing:border-box;display:flex;justify-content:space-between;padding-top:var(--el-tour-padding-primary)}.el-tour__content .el-tour-indicators{display:inline-block;flex:1}.el-tour__content .el-tour-indicator{background:var(--el-color-info-light-9);border-radius:50%;display:inline-block;height:6px;margin-right:6px;width:6px}.el-tour__content .el-tour-indicator.is-active{background:var(--el-color-primary)}.el-tour.el-tour--primary{--el-tour-title-text-color:#fff;--el-tour-text-color:#fff;--el-tour-bg-color:var(--el-color-primary);--el-tour-close-color:#fff}.el-tour.el-tour--primary .el-tour__closebtn:focus .el-tour__close,.el-tour.el-tour--primary .el-tour__closebtn:hover .el-tour__close{color:var(--el-tour-title-text-color)}.el-tour.el-tour--primary .el-button--default{background:#fff;border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-tour.el-tour--primary .el-button--primary{border-color:#fff}.el-tour.el-tour--primary .el-tour-indicator{background:#ffffff26}.el-tour.el-tour--primary .el-tour-indicator.is-active{background:#fff}.el-tour-parent--hidden{overflow:hidden}.el-anchor{--el-anchor-bg-color:var(--el-bg-color);--el-anchor-padding-indent:14px;--el-anchor-line-height:22px;--el-anchor-font-size:12px;--el-anchor-color:var(--el-text-color-secondary);--el-anchor-active-color:var(--el-color-primary);--el-anchor-marker-bg-color:var(--el-color-primary);background-color:var(--el-anchor-bg-color);position:relative}.el-anchor__marker{background-color:var(--el-anchor-marker-bg-color);border-radius:4px;opacity:0;position:absolute;z-index:0}.el-anchor.el-anchor--vertical .el-anchor__marker{height:14px;left:0;top:8px;transition:top .25s ease-in-out,opacity .25s;width:4px}.el-anchor.el-anchor--vertical .el-anchor__list{padding-left:var(--el-anchor-padding-indent)}.el-anchor.el-anchor--vertical.el-anchor--underline:before{background-color:#0505050f;content:"";height:100%;left:0;position:absolute;width:2px}.el-anchor.el-anchor--vertical.el-anchor--underline .el-anchor__marker{border-radius:unset;width:2px}.el-anchor.el-anchor--horizontal .el-anchor__marker{bottom:0;height:2px;transition:left .25s ease-in-out,opacity .25s,width .25s;width:20px}.el-anchor.el-anchor--horizontal .el-anchor__list{display:flex;padding-bottom:4px}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item{padding-left:16px}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item:first-child{padding-left:0}.el-anchor.el-anchor--horizontal.el-anchor--underline:before{background-color:#0505050f;bottom:0;content:"";height:2px;position:absolute;width:100%}.el-anchor.el-anchor--horizontal.el-anchor--underline .el-anchor__marker{border-radius:unset;height:2px}.el-anchor__item{display:flex;flex-direction:column;overflow:hidden}.el-anchor__link{cursor:pointer;font-size:var(--el-anchor-font-size);line-height:var(--el-anchor-line-height);max-width:100%;outline:none;overflow:hidden;padding:4px 0;text-decoration:none;text-overflow:ellipsis;transition:color var(--el-transition-duration);white-space:nowrap}.el-anchor__link,.el-anchor__link:focus,.el-anchor__link:hover{color:var(--el-anchor-color)}.el-anchor__link.is-active{color:var(--el-anchor-active-color)}.el-anchor .el-anchor__list .el-anchor__item a{display:inline-block}.el-segmented--vertical{flex-direction:column}.el-segmented--vertical .el-segmented__item{padding:11px}.el-segmented{--el-segmented-color:var(--el-text-color-regular);--el-segmented-bg-color:var(--el-fill-color-light);--el-segmented-padding:2px;--el-segmented-item-selected-color:var(--el-color-white);--el-segmented-item-selected-bg-color:var(--el-color-primary);--el-segmented-item-selected-disabled-bg-color:var(--el-color-primary-light-5);--el-segmented-item-hover-color:var(--el-text-color-primary);--el-segmented-item-hover-bg-color:var(--el-fill-color-dark);--el-segmented-item-active-bg-color:var(--el-fill-color-darker);--el-segmented-item-disabled-color:var(--el-text-color-placeholder);align-items:stretch;background:var(--el-segmented-bg-color);border-radius:var(--el-border-radius-base);box-sizing:border-box;color:var(--el-segmented-color);display:inline-flex;font-size:14px;min-height:32px;padding:var(--el-segmented-padding)}.el-segmented__group{align-items:stretch;display:flex;position:relative;width:100%}.el-segmented__item-selected{background:var(--el-segmented-item-selected-bg-color);border-radius:calc(var(--el-border-radius-base) - 2px);height:100%;left:0;pointer-events:none;position:absolute;top:0;transition:all .3s;width:10px}.el-segmented__item-selected.is-disabled{background:var(--el-segmented-item-selected-disabled-bg-color)}.el-segmented__item-selected.is-focus-visible:before{border-radius:inherit;content:"";inset:0;outline:2px solid var(--el-segmented-item-selected-bg-color);outline-offset:1px;position:absolute}.el-segmented__item{align-items:center;border-radius:calc(var(--el-border-radius-base) - 2px);cursor:pointer;display:flex;flex:1;padding:0 11px}.el-segmented__item:not(.is-disabled):not(.is-selected):hover{background:var(--el-segmented-item-hover-bg-color);color:var(--el-segmented-item-hover-color)}.el-segmented__item:not(.is-disabled):not(.is-selected):active{background:var(--el-segmented-item-active-bg-color)}.el-segmented__item.is-selected,.el-segmented__item.is-selected.is-disabled{color:var(--el-segmented-item-selected-color)}.el-segmented__item.is-disabled{color:var(--el-segmented-item-disabled-color);cursor:not-allowed}.el-segmented__item-input{height:0;margin:0;opacity:0;pointer-events:none;position:absolute;width:0}.el-segmented__item-label{flex:1;line-height:normal;overflow:hidden;text-align:center;text-overflow:ellipsis;transition:color .3s;white-space:nowrap;z-index:1}.el-segmented.is-block{display:flex}.el-segmented.is-block .el-segmented__item{min-width:0}.el-segmented--large{border-radius:var(--el-border-radius-base);font-size:16px;min-height:40px}.el-segmented--large .el-segmented__item-selected{border-radius:calc(var(--el-border-radius-base) - 2px)}.el-segmented--large .el-segmented--vertical .el-segmented__item{padding:11px}.el-segmented--large .el-segmented__item{border-radius:calc(var(--el-border-radius-base) - 2px);padding:0 11px}.el-segmented--small{border-radius:calc(var(--el-border-radius-base) - 1px);font-size:14px;min-height:24px}.el-segmented--small .el-segmented__item-selected{border-radius:calc(var(--el-border-radius-base) - 3px)}.el-segmented--small .el-segmented--vertical .el-segmented__item{padding:7px}.el-segmented--small .el-segmented__item{border-radius:calc(var(--el-border-radius-base) - 3px);padding:0 7px}.el-mention{position:relative;width:100%}.el-mention__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-mention__popper.el-popper,.el-mention__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-mention__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:#0000;border-top-color:#0000}.el-mention__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:#0000;border-right-color:#0000}.el-mention__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:#0000;border-left-color:#0000}.el-mention__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:#0000;border-top-color:#0000}.el-mention-dropdown{--el-mention-font-size:var(--el-font-size-base);--el-mention-bg-color:var(--el-bg-color-overlay);--el-mention-shadow:var(--el-box-shadow-light);--el-mention-border:1px solid var(--el-border-color-light);--el-mention-option-color:var(--el-text-color-regular);--el-mention-option-height:34px;--el-mention-option-min-width:100px;--el-mention-option-hover-background:var(--el-fill-color-light);--el-mention-option-selected-color:var(--el-color-primary);--el-mention-option-disabled-color:var(--el-text-color-placeholder);--el-mention-option-loading-color:var(--el-text-color-secondary);--el-mention-option-loading-padding:10px 0;--el-mention-max-height:174px;--el-mention-padding:6px 0;--el-mention-header-padding:10px;--el-mention-footer-padding:10px}.el-mention-dropdown__item{box-sizing:border-box;color:var(--el-mention-option-color);cursor:pointer;font-size:var(--el-mention-font-size);height:var(--el-mention-option-height);line-height:var(--el-mention-option-height);min-width:var(--el-mention-option-min-width);overflow:hidden;padding:0 20px;position:relative;text-overflow:ellipsis;white-space:nowrap}.el-mention-dropdown__item.is-hovering{background-color:var(--el-mention-option-hover-background)}.el-mention-dropdown__item.is-selected{color:var(--el-mention-option-selected-color);font-weight:700}.el-mention-dropdown__item.is-disabled{background-color:unset;color:var(--el-mention-option-disabled-color);cursor:not-allowed}.el-mention-dropdown{border-radius:var(--el-border-radius-base);box-sizing:border-box;z-index:calc(var(--el-index-top) + 1)}.el-mention-dropdown__loading{color:var(--el-mention-option-loading-color);font-size:12px;margin:0;min-width:var(--el-mention-option-min-width);padding:10px 0;text-align:center}.el-mention-dropdown__wrap{max-height:var(--el-mention-max-height)}.el-mention-dropdown__list{box-sizing:border-box;list-style:none;margin:0;padding:var(--el-mention-padding)}.el-mention-dropdown__header{border-bottom:var(--el-mention-border);padding:var(--el-mention-header-padding)}.el-mention-dropdown__footer{border-top:var(--el-mention-border);padding:var(--el-mention-footer-padding)}@font-face{font-family:iconfont;src:url(data:font/woff2;base64,d09GMgABAAAAAAfgAAsAAAAAD0AAAAeRAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACDHAqReI4kATYCJAMQCwoABCAFhGcHOxufDFGUDlKG7IsCu0HeEGlbGBNOojiwq+ZkQPQZ+hOBD7OhlATVktWzu6QYHY7yKBQqBYkwyJCcRXiERKd/I25pv9++GXTSQvoWUU/aT3b3fGdYpiVKoxEijUpJDI/n23tJEQz5/VH3D90XWUxAcudkczCxf6AvPVUnoH1ALszH33z7ufr/MA9ND8mEgsd8Mvsmk8PE4h6h0EziQkJUQ4RQeev0TixAnuYePy2WRZiE55JJX+MqDnyJQKN1+9r757cPsHErUgNbusTMwOkbt7kVMNwaSkJCqJdr0ROLeFdDekifeDN+Pv7bDIykJhO3Ojg/0/B15lsWKoH85b68CbRzQg0yllvmisvk4mMdi1s2hMaozl27QL1EE6Wu6VtVWbZeCfXLJrJEf7yoJYRmCtnm84hZFeKIERlTEdlmwHqvDK7HCMgbbL4S0cM2bJK19fANj5OUVVvy/NRU/+TvRvo7JvlFqU/qnXjEqqCwBBAUSYOQUDRRJ0nZpYLAJx0g9l06Jh6/HHc+SdRlxrlVPCYdEY7KY/fbNwv8pguE5GWBCm3CQU2XVRrovTkx0JXfJBw9HzWkRLLTDtpXowk3CUWNIEaFMZ5sYIhzknQImsXDICKqkv2N4Uk4QCyQFFC8VIdoKq7fCqc+cKmQeaTyQGUg9UZmAAiuoOJlTzgwoeg+VX3MfSv5VvopV/xlJome0zXHPbdTmGDazawgCDoD1PhyaKrThzYcTjkctRUvp3P+RJ1WYvex3msDdsR7C/fdu1as8E5BZYKu/XEqF/ZsjeJ0qGmERCspm2hahJx1MZmgaYkkdZpQCFZiWI1hZDadIp1YRmVZbV0EekSz25Z4b6wSizvhkHOFTEiENZmIQxhJLbLHzTSvojCbrz5M6O2tidTi5MAwqqCUUTXFqXIIK0Jms/1gnLqflBP0Tmi00gqUW+NgC3lF8fI3nL0ZyfEJ95q98axG1uEs/tTuEUnbpwzBZqq+VWO98fGsRFatnSuO2GLzIAhzXaqq6xNxnX0KUODWNEUBBLVX9xCShRqj6VumuzgJJjJ1SoTEKaGivOU8KdZVdc5DFFMt0c48z7RH1ZHvsaxWOAwdTDohfG92lpTNqpvkl4jxKGE/TC/oUfW11q4ebzOE4lvEO5Hv4reK1hm2t/G92PmK8cQ2woi8ik2KFg7NLJy5ZRb1HG7YxmdLH2cFMwPZn6bj2vBz5wsvnNvCR3x7CMGNSAP/PPGQd/C2be/Z7NaNH2d9kv5ByoM/+GioTBjEEtxHbGDfRUcSHLQpTaxDY9ClKUuId/EleHU6Dnq/Y4ebm51N29mA5KA6aHkU4NaxRe6K5qB92W/ZcyffHTQalSjpZTQb9TX2Zf9jn6IHAftpIT0Tg6Xf5NY+s7qAr6p1JzYl1Nck1SXvNXxw4b2gu5avzl/9TG7d16UQczyMSndgoOzr6PLM6ny+ugbN1sA2hNb0KQNYZkozlXpTFmX4P9TCrrj6uLqqlNqULlNa4Qrw+paB/31Sy9cPaOozrZj7zX9y3fKpTdNpFEwJ7D3tSVqrjcl+/pWNv5Q+XhrlNw+pnlw2//FzgY8mtoxKrPl81Iw4M3YF77MEAAqCgQBmjQWAQpC961GIAod5HeZAOkdTwAGpp+fD6PmLIQD1cXH5CEQQ0NZR7J1oWfjxsf0UBSBwdHfORiAKEasZQ63IqT3UGMe885CijLoIAMCS5oLYLysKLzwb8RSc+EeWtyu81OjbcxhqRhAHBJXUGCqL6omo/3vGTEMA6Fj9CddyDiX5vNv3F0FbxLOWKqEgzwTNCA0LIBh+OrXSaaMg/PlhcueXb4+hIAWovdt27Bn4n6kweoJja/b3DRk9NvH3rJViblz8p0jS73XEj4tdW/lTZNNqaVww7tOAhIWwd8FLeMi9iY966f9fCDdwv4KMS8Ar+HiX3zUe94ErjvGoOZ272y5k4Fw6hr8DjeqOkFX2B/MqpsR7k7ygX7aGcB9lFAavd4p9SJ8ohfB3qSuNDxvXSOOD7K93iq+6jIeW1EZQVDkPOAoLoBIR6QGXpb70JIwlUfDZXhI4vJ07XKnqDFu3vn4nr5KqApI13F4TDxNTSbzdRuS0NDMtzUTawfBKDWNxWcxzXQkmM5MzHtudxkyIN5vpnAlgFhDboruQf8H/eSMqeEunIqf/mnYCP3Ne08j+pb9i5Mdy1vvGgztG9f/yC+Dkr8V6In9E4hHos5zJPxeJcigkMaWkPrDZmNAo1VER5Z1+y3B3KY+Geo91A5I6QyCrN8mWkEVQo8kmqFVvDzRacnZ6ky5OR5QGzPpYgNDuEyStPkDW7pstIT+gRq8/UKvdP2h0GLOLNZmNsSeBRCKN8h1zxY2xnAx/78g+VyKENTxRiDl1uFpd97ddUEOhiEPii12nZNAErvF8fTuqKkYXuCCV5llKbnuxdh51yFxxDScCIiQts4ak96w5hTWM7+QNvDvEelYRAsg+0SAuMfuPVuaWAHshNNCULRkcvbDWElMDFS5waw2dbyFctWlmyEU3Fog6Fc9lORqdbQvJl0GFef1SffMugkZCL/F2u1KJGuVOyNit2HKnoVcAAAAA) format("woff2"),url(data:font/woff;base64,d09GRgABAAAAAAm0AAsAAAAAD0AAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAARAAAAGA8K0kOY21hcAAAAYgAAABfAAABnLO0G4FnbHlmAAAB6AAABdcAAAj46kF0jWhlYWQAAAfAAAAALwAAADYiuNWEaGhlYQAAB/AAAAAcAAAAJAfeA4VobXR4AAAIDAAAAA4AAAAQEAAAAGxvY2EAAAgcAAAACgAAAAoFfgGUbWF4cAAACCgAAAAfAAAAIAEdAiNuYW1lAAAISAAAAUAAAAJnEKM8sHBvc3QAAAmIAAAAKgAAADtg6UJJeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGFhYJzAwMrAwNTJdIaBgaEfQjO+ZjBi5ACKMrAyM2AFAWmuKQwHnok+s2Nu+N/AwMB8h6ERKMyIoogJAGvlDLR4nO2QsQ2AMAwEz0lACNHSZwBKRMkwVEyeNYLzoWAI3jrLflkuHhiA6GxOArsxmi53TX5klp84fJ+8ApS15HLW+p0k08Wkr6F9sJFfi/r+brGl1tGcO8r17GAPfDMS9gB4nJ1UO48cRRCe6u7pnvfsY7Z71+eb9c2ws947a3dv9jHmccvZ9zJnkMACRyBEYAdYZIgAAh4iQDIgBEiAQALJIkdCPCREYonEAic+nX8CCQECEd6Z6llbAgeAmJ5HVfVXX1VXdY/hGnjRz8iBERknjIlxznjKeM543njduGxcMb4zDJAR76aNiCfZGqQ8G0/vh1zJRdCWCU95H8YzUFM1nuZKTMdZwiOZd6SSkQggTbJuQyKymGTTXIrGDEa50iiBsGlBNWtJKRXGSLujyThbAXNuHhV5GWhuTgVgxOocjWY5Wsplo4rTkHD8an2K81m6VLpnKbwjfPu+oB7c6/iBfcX6Vvh1TyWtFaWWm0nLr4lRGA/jdh8c6eG13Ky2XfDrPoBfC8CJay0rbPfDMB6ETzq+77wrYwjsj16l9KXDPScI7C9kO7C//pTRDw9/k+22vCzbjBJfiwc5xYtcp4zRg9/lMUrhbV7z4arO5SoG8Na58wkqVgsWhieHCwDK9vnlaDXr5NkHgWqebKmFwCU68M/69Ygfvh+tdqqIgDq86Tsv2kEcPe34/S3KXgpsVKEtn7KD/g5hcDBpS/JOmRRlsTycyjb5gdKDF3Ra8BOlbfkapWX7DePWy/Q9+oqRGFvYfwMiwe+MRqSwl3kxLaaTcTe7M9S/Q2CsLTj0rJINWaL7AB9H1aVoMGn1olbv+Ob2le3N471W1GtNBtFStX6t/g+z0eFeKa/UrRJBsuz01rnRvfSV/movX1zb6sxOnt48v7uzvLKyvLN7fnOjmHW2H1jMe6tHEbEaP7DdmRUbG+d3z2jEmd3zG3NEjJMHX82V4qhdojbP7WyfOGH2X8YahWWhLpEvjSWw4RiswRNwEd6Az+F7uA6/wm9wSAwisXZCr3Z6e+nTB2EGet3dPuiaCDwuXR7i5p0XZQ6ZTvp4UgRHKYThpNBSnoaQ3A9TkeL2T1Q3a0M+IGM1ACUHkA1g3FBjFOasIWiXVS2gU54mK5DkKU7LAVH6GWpoHwJQMSlmgJF0FMILje4mbZDZ/Imhq7rD1TK9GA9rCdYnWQcqJpgg108ZclSIAq1IPSqT6qpijDoGQe+Zzm1AkpEadkujpGsgkHMG+nAGsAhFmZE+yjPopAnXEuYz7cMKqIkYaUkkKQ78WYzy+VTRiGLAoqV3UWVJiE5aM/93nAzjqP8cpz7Srvp/lXAsm9ZmZKIXi5aANHQV4Eby4NbOropqlcBzLGEKAiDiBU+mtqOi3uJ9w3sIO8rNZ184Gofi4V4oBAXP9iwARFIm8EuI61DAYToWJRwpKBDbohaCwKSU4dtkrqo2wwWXaDfOrRIkTIsK4rlEUMtDIt/EWctk9ZAxr5e3qqrCXI4BhM8JNQmhSEUEYYRrkQow7bDW8KpuM/J9CxlsbtoMA2J2+OZeekoHrOBObseYGI6VI0fchFFRd0ZnHrcrzLKjej3ECdJJRd02f+9doGFgB1V/Lvj4UzQu2L5v4wuXfkHKUliiZl9ps+pb+GfzN+wgYOvZOgtKn966aPH1XlDzDr/pXSQVH43e8TvUALcZ0XHOiMIxyu8w2lYA3mkn8NmpvzOe6qH09NmzZzXurM5jk3NuWhyryYTFTd0flMjHtzqtBX9xoYm9rWJvA5OBazJmLR/rUtqssM5isLhnunQWC5Naz2w2qyHWznfL2uHQRWRYu1LXMse+OXp78LLFBIKKqyxhsZDreQxL9S4wsbWA7QJwXct0KnYrq1Fi2URvLaSdU1LdIKLD+LQSN5qeYBxbQXD/EMBlAMd2I1MQrT2B2Mh0qo5HtWfkh/VbzMbee78O68SqVYiJ5x2brEyzUj385aG33H0siWvt6yLa+3/V/vDtG1i5mi9vSGzDRZTwfnRfeIzzS5c4Z57YL5uy715y8S6Va2fedvfFXZS3kUhp7c0p9yS2+CJgywG5H7spPGqWpKYrbpaON+ekpXL4o5xHl5JxC8MzToUwucmE8ScNaxhpAHicY2BkYGAAYuZ8U894fpuvDNwsDCBw/8yJIwj6fz0LA3MDkMvBwAQSBQAoSQseAHicY2BkYGBu+N/AEMPCAAJAkpEBFbAAAEcKAm14nGNhYGBgQcIAALAAEQAAAAAAAAECAZQEfAAAeJxjYGRgYGBhEmfgZwABJiDmAkIGhv9gPgMADIIBQwB4nIWRPW7CQBCFn8GQBJQoSqQ0aVYpKBLJ/JRIqVCgp6AHs+ZHttdaL0jUOU2OkBPkCOloc4pIedhDA0W82tlv3r6ZHckA7rCHh/K75y7ZwyWzkiu4wKNwlfqTsE9+Fq6hiZ5wnfqrcAMveBNusmPGDp5/xayFd2EPt/gQruAGn8JV6l/CPvlbuIYH/AjXqf8KNzDxroWbaHnhwOqp03M126lVaNLIpO54jvViE0/tqTzRNl+ZVHWDzlEa6VTbY5t8u+g5F6nImkQNeavj2KjMmrUOXbB0Luu325HoQWgSDGChMYVjnENhhh3jCiEMUkRFdGf5mO4FNohZaf91T+i2yKkfcoUuAnTOXCO60sJ5Ok2OLV/rUXV0K27LmoQ0lFrNSWKy4g883K2phNQDLIuqDH20uaITf1DMkPwB2JNvV3icY2BigAAuBuyAhZGJkZmRhZGVgaUkMamYJSc/PZ85L7WcgQEALvQE0wAA) format("woff"),url(data:font/ttf;base64,AAEAAAALAIAAAwAwR1NVQiCLJXoAAAE4AAAAVE9TLzI8K0kOAAABjAAAAGBjbWFws7QbgQAAAfwAAAGcZ2x5ZupBdI0AAAOkAAAI+GhlYWQiuNWEAAAA4AAAADZoaGVhB94DhQAAALwAAAAkaG10eBAAAAAAAAHsAAAAEGxvY2EFfgGUAAADmAAAAAptYXhwAR0CIwAAARgAAAAgbmFtZRCjPLAAAAycAAACZ3Bvc3Rg6UJJAAAPBAAAADsAAQAAA4D/gABcBAAAAAAABAAAAQAAAAAAAAAAAAAAAAAAAAQAAQAAAAEAAANvNUlfDzz1AAsEAAAAAADfzMjEAAAAAN/MyMQAAP9/BAADgAAAAAgAAgAAAAAAAAABAAAABAIXAA8AAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKADAAPgACREZMVAAObGF0bgAaAAQAAAAAAAAAAQAAAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAQEAAGQAAUAAAKJAswAAACPAokCzAAAAesAMgEIAAACAAUDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBmRWQAwOYV5j4DgP+AAAAD3ACBAAAAAQAAAAAAAAAAAAAAAAACBAAAAAQAAAAEAAAABAAAAAAAAAUAAAADAAAALAAAAAQAAAFoAAEAAAAAAGIAAwABAAAALAADAAoAAAFoAAQANgAAAAgACAACAADmFeYg5j7//wAA5hXmIOY+//8AAAAAAAAAAQAIAAgACAAAAAMAAgABAAABBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAA0AAAAAAAAAAMAAOYVAADmFQAAAAMAAOYgAADmIAAAAAIAAOY+AADmPgAAAAEAAAAAAQIBlAR8AAAACwAAAAADoAL9ABQALAA1AFIAXQBtAHQAhACLAKMAuwAAARYUBicjFRQGIiY9ASMGJjQ2OwEyFxYdARQGIiY1BiMGLgE0PgEXNhc0NjIXBzY0JiIGFBYyJRYXFhQHDgEjIiYnFRYGIiY3NSY2MhYHFT4BMzIXNjQmIgcGFBY2NwMiJj0BNDY7ATIWFxUUBiMnMzU0JisBBSImPQE0NjM3MhYdARQGIyczNTQmIwcBIiY1ETQ2OwEyFh0BFBYzITIWFREUBiMBIgYVERQWMyEyNjURNCYjISImPQE0JiMBkAcNCToOEw45Cg0OCaMIuAcNEwwXIhkrFxcqGCIZDRIHMw8eMB4fLgEKFgwMDAwqGBEfCwENEw0BAQ0SDgEKHhIZCA8fLg8PHi8PXAoNDQqSFh4BDgmZgQMDe/7UCg4OCbAWHw4Jtp8EA5j+8hYfHxaLFh8EAwINFh8fFv0yAwMDAwLOAwQEA/3zFiADAwGOBhINAcIKDQ4JwgENEgxABgqcCg0OCBkBGzA4MBsBARcJDQaLFDEmJTImlw4XGDgZFxsOCwIKDQ0K5woNDQpNDQ+UFDElERQxJgETAYwNCnoJDh4UXwoNLkUDBHsOCXoJDgEfFl0JDi5HAgQB/TUfFgKQFh8fFosDBB4W/jYWHwLFAwP9dgMDAwMBzQMDHxaCAwMAAAAAAwAA/38DkwOAACIARQBdAAABFAcGBwYHBgcGBwYVFBcWFxYyNzY3NjU0JyYnJicmJyYnJhcUBwYHBgcGBwYHBhUUFxYXFjI3Njc2NTQnJicmJyYnJicmATQ3Njc2NzY3FxYXFhcWFRYHBgcGBy4BAZsUESEULzUZKRQZKShERqNGRCgpGRQpGTUvFCERE8oTESEULzUZKRQZKShERqNGRCgpGRQpGTUvFCERFP7UGRQpGTUrEwg1GSkUGQImJkJFUjM5A4AuMSkyHT1FJT44QkRWSkcqKysqR0pWREM3PiVGPB0yKTEcLjEpMR48RiU+N0NDVkpIKisrKkhKVkNDNz4lRjweMSkx/bVDQzc+JUY3HAlGJT43Q0RSR0YsLAUufwAAAA8AAAAAA2sCswAhAQkBIAE9AVUBZgGIAaUBvQHOAfAB8gH+AgACFgAAAQcWFxYXNjc2NzY3Njc2PwE+AQcGBwYnLgEnJicmBwYuAScGDwEUFhcWFxYXFjc2NzY/ATY1LgEjIgcGPwE2DwEwNTcHBj8BMiMPASI7ATYHIwYjJyIXJyYfATIvAjQXLwEXFi8BJi8BNBUXNC8BJicmJyYHBg8BBj8BMjEHBg8BIjsBMiMiKwEiMiMvASYWLwIXFi8CFzAvASYnLgEOARceAjc+AT8BNjcHBj8CBjc7ATIjJyIfARYmHwEWJh8BHgEnFycwMRcWFxYXHgEzMjc+AT8BBw4BIycmJyY3NTYPAQY2DwEGBwYPAQYzNwc3JicmLwEmMxcWLwEmJxc3NCYnJg4BFxYXFj4BJicmLwIiMxcwJyYnJg4BFgM9AQcXHgE+AT0BNCYOAR0BNycuAQ4BHQEUFj4BJSMiBh0BFBY7ATI2LgErARc1BzMyNi4BByIjIiMiBhQWMzI7ATI2LgE3FRQeATY/ASMXHgE+AT0BNCYOAR0BNycmIg8BFzU0Jg4BBT0BBxceAT4BPQE0Jg4BHQE3Jy4BDgEdARQWPgElIyIGHQEUFjsBMjYuASsBFzUHMzI2LgEHIiMiIyYGFBYXMjsBMjYuATcVFB4BNj8BIxceAT4BPQE0Jg4BHQE3JyYiDwEXNTQmDgETMwczMjY0JisBIgYeASczBzMyPgI1JyYnJisBIg4CFRcWFxYB0yI/RUdKFxQSEA4MCggHBQcCAQEHHhsMFiMJChcUKR06MCQCBBwGBWp2HB4PB0wpDwcHAwEMCQwIAQECAQEDBAcBAQICAgsKAwEDAQMFCggDAgYHAgEDAQIJCAMICAEBAQUDAwQBAQUFBAsXERgPGwsCAgEBAwYGCAIBAwECBwUIAwcCDAsCBwMIDAECAg0FAgEBCAUEEw8EBAwpMhkRFxAECwYCAgIHDQYCAwUCAgMBAQUCBwIEAgYCAwEBAwcBBQkPEhUMEQsYFA0NCAECAgkGBQkEBAEBAQIBBAEBBgwjQQICAQEQFjc2Hx4HAgECAQIrGhoLIgQDBxMKM0hUCRAECAkUExMPAgECAiUjBxMJBfMpZQMPDgkOEQ0pZQMPDgkNEg0BAGUJDQ0JZQkNAQwJZRYWZQkNAQwhAwUuFwkNDQkXLggJDgENQwkODgRAJkAEDg4JDRINKUAHGQZAKQ4SDP63KWYCEA0JDRIMKGUDDw4JDhENAQFlCQ0NCWUJDgENCWUWFmUJDgENIAMGLhcJDQ0JFy4JCA4BDEIKDg0EQSZABA4OCQ0SDSlABxkGQSkNEg1fS0tLCQ0NCUsJDQEMRAYGBgUIBgMBAgQHCAYFBwcDAQIEBwKb/yUZGw0dGxgXFBIRDgwKDgUEAQsFBAQIKiAnAwMYEAQlHQ4d1AULAz4eBwUDCGFEGBEPBgUJDQsBAQECAQIBAgQBAQEEAgEBAQEBAgEBAQEEBgEDBgoCAQEHBgYHAgEDAgEOEAsXCAcIBA8GAQEBAQMBAgMDAQMBBQgCAQENBgIBAQsLCAUKEAkZJhIDAggJAgcCAQEBAgQCAQEBAQEDAQIBBAICAQIEDQMQHhUYDAcEBgQICQIDAgYCAQgGBQEGAwUCCAIBDhQ9VQMBAhQFChEKDAMBAQEBFA0PE/8ECQMHAQzwMBMCCBIQAgUGBwYBARAXBQUQEf7sSY0L1gYGBQsI1ggOAQwJ1gvWBgYFCwjWCA4BDPUNCdMJDQ0SDRbTFg4RDWYNEg0NEg1Q1gcMBAYGa2sGBgQMB9YJDgENCdYLawsLawvWCQ4BDcpIjgvWBwYFCwjWCA4BDAnWC9YGBgQMB9YJDgEM9Q0I1AkNDRINFtQWDRIMZgEOEgwBDhENUdcHDAMFBmtrBgYFCwfXCA4BDAnXC2sLC2sL1wgOAQz+zBYNEg0NEg0WFgQGCAQGBgQGAwcHBQYFBAcAAAAAEgDeAAEAAAAAAAAAEwAAAAEAAAAAAAEACAATAAEAAAAAAAIABwAbAAEAAAAAAAMACAAiAAEAAAAAAAQACAAqAAEAAAAAAAUACwAyAAEAAAAAAAYACAA9AAEAAAAAAAoAKwBFAAEAAAAAAAsAEwBwAAMAAQQJAAAAJgCDAAMAAQQJAAEAEACpAAMAAQQJAAIADgC5AAMAAQQJAAMAEADHAAMAAQQJAAQAEADXAAMAAQQJAAUAFgDnAAMAAQQJAAYAEAD9AAMAAQQJAAoAVgENAAMAAQQJAAsAJgFjQ3JlYXRlZCBieSBpY29uZm9udGljb25mb250UmVndWxhcmljb25mb250aWNvbmZvbnRWZXJzaW9uIDEuMGljb25mb250R2VuZXJhdGVkIGJ5IHN2ZzJ0dGYgZnJvbSBGb250ZWxsbyBwcm9qZWN0Lmh0dHA6Ly9mb250ZWxsby5jb20AQwByAGUAYQB0AGUAZAAgAGIAeQAgAGkAYwBvAG4AZgBvAG4AdABpAGMAbwBuAGYAbwBuAHQAUgBlAGcAdQBsAGEAcgBpAGMAbwBuAGYAbwBuAHQAaQBjAG8AbgBmAG8AbgB0AFYAZQByAHMAaQBvAG4AIAAxAC4AMABpAGMAbwBuAGYAbwBuAHQARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABzAHYAZwAyAHQAdABmACAAZgByAG8AbQAgAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAACAAAAAAAAAAoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQBAgEDAQQBBQAEdGFicwRsb2dvA25ldwAAAA==) format("truetype")}.iconfont{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.pure-iconfont-tabs:before{content:""}.pure-iconfont-logo:before{content:""}.pure-iconfont-new:before{content:""}.v-ripple__container{border-radius:inherit;contain:strict;height:100%;width:100%;z-index:0}.v-ripple__animation,.v-ripple__container{left:0;overflow:hidden;pointer-events:none;position:absolute;top:0}.v-ripple__animation{background:currentcolor;border-radius:50%;opacity:0;will-change:transform,opacity}.v-ripple__animation--enter{opacity:0;transition:none}.v-ripple__animation--in{opacity:.25;transition:transform .4s cubic-bezier(0,0,.2,1),opacity .2s cubic-bezier(0,0,.2,1)}.v-ripple__animation--out{opacity:0;transition:opacity .5s cubic-bezier(0,0,.2,1)}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{background-color:#333;border-radius:4px;color:#fff;font-size:14px;line-height:1.4;outline:0;position:relative;transition-property:transform,visibility,opacity;white-space:normal}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{border-top-color:initial;border-width:8px 8px 0;bottom:-7px;left:0;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:initial;border-width:0 8px 8px;left:0;top:-7px;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-left-color:initial;border-width:8px 0 8px 8px;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{border-right-color:initial;border-width:8px 8px 8px 0;left:-7px;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{color:#333;height:16px;width:16px}.tippy-arrow:before{border-color:#0000;border-style:solid;content:"";position:absolute}.tippy-content{padding:5px 9px;position:relative;z-index:1}.tippy-box[data-theme~=light]{background-color:#fff;box-shadow:0 0 20px 4px #9aa1b126,0 4px 80px -8px #24282f40,0 4px 4px -2px #5b5e6926;color:#26323d}.tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow:before{border-top-color:#fff}.tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:#fff}.tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow:before{border-left-color:#fff}.tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow:before{border-right-color:#fff}.tippy-box[data-theme~=light]>.tippy-backdrop{background-color:#fff}.tippy-box[data-theme~=light]>.tippy-svg-arrow{fill:#fff} diff --git a/dist/static/css/index-Bc0yn4dL.css b/dist/static/css/index-Bc0yn4dL.css new file mode 100644 index 0000000..66e6616 --- /dev/null +++ b/dist/static/css/index-Bc0yn4dL.css @@ -0,0 +1 @@ +:host,:root{--w-e-textarea-bg-color:#fff;--w-e-textarea-color:#333;--w-e-textarea-border-color:#ccc;--w-e-textarea-slight-border-color:#e8e8e8;--w-e-textarea-slight-color:#d4d4d4;--w-e-textarea-slight-bg-color:#f5f2f0;--w-e-textarea-selected-border-color:#b4d5ff;--w-e-textarea-handler-bg-color:#4290f7;--w-e-toolbar-color:#595959;--w-e-toolbar-bg-color:#fff;--w-e-toolbar-active-color:#333;--w-e-toolbar-active-bg-color:#f1f1f1;--w-e-toolbar-disabled-color:#999;--w-e-toolbar-border-color:#e8e8e8;--w-e-modal-button-bg-color:#fafafa;--w-e-modal-button-border-color:#d9d9d9}.w-e-text-container *,.w-e-toolbar *{box-sizing:border-box;margin:0;outline:none;padding:0}.w-e-text-container blockquote,.w-e-text-container li,.w-e-text-container p,.w-e-text-container td,.w-e-text-container th,.w-e-toolbar *{line-height:1.5}.w-e-text-container{background-color:var(--w-e-textarea-bg-color);color:var(--w-e-textarea-color);height:100%;position:relative}.w-e-text-container .w-e-scroll{-webkit-overflow-scrolling:touch;height:100%}.w-e-text-container [data-slate-editor]{word-wrap:break-word;border-top:1px solid transparent;min-height:100%;outline:0;padding:0 10px;white-space:pre-wrap}.w-e-text-container [data-slate-editor] p{margin:15px 0}.w-e-text-container [data-slate-editor] h1,.w-e-text-container [data-slate-editor] h2,.w-e-text-container [data-slate-editor] h3,.w-e-text-container [data-slate-editor] h4,.w-e-text-container [data-slate-editor] h5{margin:20px 0}.w-e-text-container [data-slate-editor] img{cursor:default;display:inline!important;max-width:100%;min-height:20px;min-width:20px}.w-e-text-container [data-slate-editor] span{text-indent:0}.w-e-text-container [data-slate-editor] [data-selected=true]{box-shadow:0 0 0 2px var(--w-e-textarea-selected-border-color)}.w-e-text-placeholder{font-style:italic;left:10px;top:17px;width:90%}.w-e-max-length-info,.w-e-text-placeholder{color:var(--w-e-textarea-slight-color);pointer-events:none;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none}.w-e-max-length-info{bottom:.5em;right:1em}.w-e-bar{background-color:var(--w-e-toolbar-bg-color);color:var(--w-e-toolbar-color);font-size:14px;padding:0 5px}.w-e-bar svg{fill:var(--w-e-toolbar-color);height:14px;width:14px}.w-e-bar-show{display:flex}.w-e-bar-hidden{display:none}.w-e-hover-bar{border:1px solid var(--w-e-toolbar-border-color);border-radius:3px;box-shadow:0 2px 5px #0000001f;position:absolute}.w-e-toolbar{flex-wrap:wrap;position:relative}.w-e-bar-divider{background-color:var(--w-e-toolbar-border-color);display:inline-flex;height:40px;margin:0 5px;width:1px}.w-e-bar-item{display:flex;height:40px;padding:4px;position:relative;text-align:center}.w-e-bar-item,.w-e-bar-item button{align-items:center;justify-content:center}.w-e-bar-item button{background:transparent;border:none;color:var(--w-e-toolbar-color);cursor:pointer;display:inline-flex;height:32px;overflow:hidden;padding:0 8px;white-space:nowrap}.w-e-bar-item button:hover{background-color:var(--w-e-toolbar-active-bg-color);color:var(--w-e-toolbar-active-color)}.w-e-bar-item button .title{margin-left:5px}.w-e-bar-item .active{background-color:var(--w-e-toolbar-active-bg-color);color:var(--w-e-toolbar-active-color)}.w-e-bar-item .disabled{color:var(--w-e-toolbar-disabled-color);cursor:not-allowed}.w-e-bar-item .disabled svg{fill:var(--w-e-toolbar-disabled-color)}.w-e-bar-item .disabled:hover{background-color:var(--w-e-toolbar-bg-color);color:var(--w-e-toolbar-disabled-color)}.w-e-bar-item .disabled:hover svg{fill:var(--w-e-toolbar-disabled-color)}.w-e-menu-tooltip-v5:before{background-color:var(--w-e-toolbar-active-color);border-radius:5px;color:var(--w-e-toolbar-bg-color);content:attr(data-tooltip);font-size:.75em;padding:5px 10px;text-align:center;top:40px;white-space:pre;z-index:1}.w-e-menu-tooltip-v5:after,.w-e-menu-tooltip-v5:before{opacity:0;position:absolute;transition:opacity .6s;visibility:hidden}.w-e-menu-tooltip-v5:after{border:5px solid transparent;border-bottom:5px solid var(--w-e-toolbar-active-color);content:"";top:30px}.w-e-menu-tooltip-v5:hover:after,.w-e-menu-tooltip-v5:hover:before{opacity:1;visibility:visible}.w-e-menu-tooltip-v5.tooltip-right:before{left:100%;top:10px}.w-e-menu-tooltip-v5.tooltip-right:after{border-bottom-color:transparent;border-left-color:transparent;border-right-color:var(--w-e-toolbar-active-color);border-top-color:transparent;left:100%;margin-left:-10px;top:16px}.w-e-bar-item-group .w-e-bar-item-menus-container{background-color:var(--w-e-toolbar-bg-color);border:1px solid var(--w-e-toolbar-border-color);border-radius:3px;box-shadow:0 2px 10px #0000001f;display:none;left:0;margin-top:40px;position:absolute;top:0;z-index:1}.w-e-bar-item-group:hover .w-e-bar-item-menus-container{display:block}.w-e-select-list{background-color:var(--w-e-toolbar-bg-color);border:1px solid var(--w-e-toolbar-border-color);border-radius:3px;box-shadow:0 2px 10px #0000001f;left:0;margin-top:40px;max-height:350px;min-width:100px;overflow-y:auto;position:absolute;top:0;z-index:1}.w-e-select-list ul{line-height:1;list-style:none}.w-e-select-list ul .selected{background-color:var(--w-e-toolbar-active-bg-color)}.w-e-select-list ul li{cursor:pointer;padding:7px 0 7px 25px;position:relative;text-align:left;white-space:nowrap}.w-e-select-list ul li:hover{background-color:var(--w-e-toolbar-active-bg-color)}.w-e-select-list ul li svg{left:0;margin-left:5px;margin-top:-7px;position:absolute;top:50%}.w-e-bar-bottom .w-e-select-list{bottom:0;margin-bottom:40px;margin-top:0;top:inherit}.w-e-drop-panel{background-color:var(--w-e-toolbar-bg-color);border:1px solid var(--w-e-toolbar-border-color);border-radius:3px;box-shadow:0 2px 10px #0000001f;margin-top:40px;min-width:200px;padding:10px;position:absolute;top:0;z-index:1}.w-e-bar-bottom .w-e-drop-panel{bottom:0;margin-bottom:40px;margin-top:0;top:inherit}.w-e-modal{background-color:var(--w-e-toolbar-bg-color);border:1px solid var(--w-e-toolbar-border-color);border-radius:3px;box-shadow:0 2px 10px #0000001f;color:var(--w-e-toolbar-color);font-size:14px;min-height:40px;min-width:100px;padding:20px 15px 0;position:absolute;text-align:left;z-index:1}.w-e-modal .btn-close{cursor:pointer;line-height:1;padding:5px;position:absolute;right:8px;top:7px}.w-e-modal .btn-close svg{fill:var(--w-e-toolbar-color);height:10px;width:10px}.w-e-modal .babel-container{display:block;margin-bottom:15px}.w-e-modal .babel-container span{display:block;margin-bottom:10px}.w-e-modal .button-container{margin-bottom:15px}.w-e-modal button{background-color:var(--w-e-modal-button-bg-color);cursor:pointer;font-weight:400;height:32px;padding:4.5px 15px;text-align:center;touch-action:manipulation;transition:all .3s cubic-bezier(.645,.045,.355,1);-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.w-e-modal button,.w-e-modal input[type=number],.w-e-modal input[type=text],.w-e-modal textarea{border:1px solid var(--w-e-modal-button-border-color);border-radius:4px;color:var(--w-e-toolbar-color)}.w-e-modal input[type=number],.w-e-modal input[type=text],.w-e-modal textarea{background-color:var(--w-e-toolbar-bg-color);font-feature-settings:"tnum";font-variant:tabular-nums;padding:4.5px 11px;transition:all .3s;width:100%}.w-e-modal textarea{min-height:60px}body .w-e-modal,body .w-e-modal *{box-sizing:border-box}.w-e-progress-bar{background-color:var(--w-e-textarea-handler-bg-color);height:1px;position:absolute;transition:width .3s;width:0}.w-e-full-screen-container{display:flex!important;flex-direction:column!important;height:100%!important;inset:0!important;margin:0!important;padding:0!important;position:fixed;width:100%!important}.w-e-full-screen-container [data-w-e-textarea=true]{flex:1!important}.w-e-text-container [data-slate-editor] code{background-color:var(--w-e-textarea-slight-bg-color);border-radius:3px;font-family:monospace;padding:3px}.w-e-panel-content-color{list-style:none;text-align:left;width:230px}.w-e-panel-content-color li{border:1px solid var(--w-e-toolbar-bg-color);border-radius:3px;cursor:pointer;display:inline-block;padding:2px}.w-e-panel-content-color li:hover{border-color:var(--w-e-toolbar-color)}.w-e-panel-content-color li .color-block{border:1px solid var(--w-e-toolbar-border-color);border-radius:3px;height:17px;width:17px}.w-e-panel-content-color .active{border-color:var(--w-e-toolbar-color)}.w-e-panel-content-color .clear{line-height:1.5;margin-bottom:5px;width:100%}.w-e-panel-content-color .clear svg{height:16px;margin-bottom:-4px;width:16px}.w-e-text-container [data-slate-editor] blockquote{background-color:var(--w-e-textarea-slight-bg-color);border-left:8px solid var(--w-e-textarea-selected-border-color);display:block;font-size:100%;line-height:1.5;margin:10px 0;padding:10px}.w-e-panel-content-emotion{font-size:20px;list-style:none;text-align:left;width:300px}.w-e-panel-content-emotion li{border-radius:3px;cursor:pointer;display:inline-block;padding:0 5px}.w-e-panel-content-emotion li:hover{background-color:var(--w-e-textarea-slight-bg-color)}.w-e-textarea-divider{border-radius:3px;margin:20px auto;padding:20px}.w-e-textarea-divider hr{background-color:var(--w-e-textarea-border-color);border:0;display:block;height:1px}.w-e-text-container [data-slate-editor] pre>code{background-color:var(--w-e-textarea-slight-bg-color);border:1px solid var(--w-e-textarea-slight-border-color);border-radius:4px;display:block;font-size:14px;padding:10px;text-indent:0}.w-e-text-container [data-slate-editor] .w-e-image-container{display:inline-block;margin:0 3px}.w-e-text-container [data-slate-editor] .w-e-image-container:hover{box-shadow:0 0 0 2px var(--w-e-textarea-selected-border-color)}.w-e-text-container [data-slate-editor] .w-e-selected-image-container{overflow:hidden;position:relative}.w-e-text-container [data-slate-editor] .w-e-selected-image-container .w-e-image-dragger{background-color:var(--w-e-textarea-handler-bg-color);height:7px;position:absolute;width:7px}.w-e-text-container [data-slate-editor] .w-e-selected-image-container .left-top{cursor:nwse-resize;left:0;top:0}.w-e-text-container [data-slate-editor] .w-e-selected-image-container .right-top{cursor:nesw-resize;right:0;top:0}.w-e-text-container [data-slate-editor] .w-e-selected-image-container .left-bottom{bottom:0;cursor:nesw-resize;left:0}.w-e-text-container [data-slate-editor] .w-e-selected-image-container .right-bottom{bottom:0;cursor:nwse-resize;right:0}.w-e-text-container [contenteditable=false] .w-e-image-container:hover,.w-e-text-container [data-slate-editor] .w-e-selected-image-container:hover{box-shadow:none}.w-e-text-container [data-slate-editor] .table-container{border:1px dashed var(--w-e-textarea-border-color);border-radius:5px;margin-top:10px;overflow-x:auto;padding:10px;width:100%}.w-e-text-container [data-slate-editor] table{border-collapse:collapse}.w-e-text-container [data-slate-editor] table td,.w-e-text-container [data-slate-editor] table th{border:1px solid var(--w-e-textarea-border-color);line-height:1.5;min-width:30px;padding:3px 5px;text-align:left}.w-e-text-container [data-slate-editor] table th{background-color:var(--w-e-textarea-slight-bg-color);font-weight:700;text-align:center}.w-e-panel-content-table{background-color:var(--w-e-toolbar-bg-color)}.w-e-panel-content-table table{border-collapse:collapse}.w-e-panel-content-table td{border:1px solid var(--w-e-toolbar-border-color);cursor:pointer;height:15px;padding:3px 5px;width:20px}.w-e-panel-content-table td.active{background-color:var(--w-e-toolbar-active-bg-color)}.w-e-textarea-video-container{background-image:linear-gradient(45deg,#eee 25%,transparent 0,transparent 75%,#eee 0,#eee),linear-gradient(45deg,#eee 25%,#fff 0 75%,#eee 0,#eee);background-position:0 0,10px 10px;background-size:20px 20px;border:1px dashed var(--w-e-textarea-border-color);border-radius:5px;margin:10px auto 0;padding:10px 0;text-align:center}.w-e-text-container [data-slate-editor] pre>code{word-wrap:normal;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;hyphens:none;line-height:1.5;margin:.5em 0;overflow:auto;padding:1em;-moz-tab-size:4;-o-tab-size:4;tab-size:4;text-align:left;text-shadow:0 1px #fff;white-space:pre;word-break:normal;word-spacing:normal}.w-e-text-container [data-slate-editor] pre>code .token.cdata,.w-e-text-container [data-slate-editor] pre>code .token.comment,.w-e-text-container [data-slate-editor] pre>code .token.doctype,.w-e-text-container [data-slate-editor] pre>code .token.prolog{color:#708090}.w-e-text-container [data-slate-editor] pre>code .token.punctuation{color:#999}.w-e-text-container [data-slate-editor] pre>code .token.namespace{opacity:.7}.w-e-text-container [data-slate-editor] pre>code .token.boolean,.w-e-text-container [data-slate-editor] pre>code .token.constant,.w-e-text-container [data-slate-editor] pre>code .token.deleted,.w-e-text-container [data-slate-editor] pre>code .token.number,.w-e-text-container [data-slate-editor] pre>code .token.property,.w-e-text-container [data-slate-editor] pre>code .token.symbol,.w-e-text-container [data-slate-editor] pre>code .token.tag{color:#905}.w-e-text-container [data-slate-editor] pre>code .token.attr-name,.w-e-text-container [data-slate-editor] pre>code .token.builtin,.w-e-text-container [data-slate-editor] pre>code .token.char,.w-e-text-container [data-slate-editor] pre>code .token.inserted,.w-e-text-container [data-slate-editor] pre>code .token.selector,.w-e-text-container [data-slate-editor] pre>code .token.string{color:#690}.w-e-text-container [data-slate-editor] pre>code .language-css .token.string,.w-e-text-container [data-slate-editor] pre>code .style .token.string,.w-e-text-container [data-slate-editor] pre>code .token.entity,.w-e-text-container [data-slate-editor] pre>code .token.operator,.w-e-text-container [data-slate-editor] pre>code .token.url{color:#9a6e3a}.w-e-text-container [data-slate-editor] pre>code .token.atrule,.w-e-text-container [data-slate-editor] pre>code .token.attr-value,.w-e-text-container [data-slate-editor] pre>code .token.keyword{color:#07a}.w-e-text-container [data-slate-editor] pre>code .token.class-name,.w-e-text-container [data-slate-editor] pre>code .token.function{color:#dd4a68}.w-e-text-container [data-slate-editor] pre>code .token.important,.w-e-text-container [data-slate-editor] pre>code .token.regex,.w-e-text-container [data-slate-editor] pre>code .token.variable{color:#e90}.w-e-text-container [data-slate-editor] pre>code .token.bold,.w-e-text-container [data-slate-editor] pre>code .token.important{font-weight:700}.w-e-text-container [data-slate-editor] pre>code .token.italic{font-style:italic}.w-e-text-container [data-slate-editor] pre>code .token.entity{cursor:help} diff --git a/dist/static/css/index-BzsVZoWQ.css b/dist/static/css/index-BzsVZoWQ.css new file mode 100644 index 0000000..0afeb33 --- /dev/null +++ b/dist/static/css/index-BzsVZoWQ.css @@ -0,0 +1 @@ +.el-dropdown-link[data-v-42dac008]{color:#409eff;cursor:pointer}.el-icon-arrow-down[data-v-42dac008]{font-size:12px} diff --git a/dist/static/css/index-CD87VaJl.css b/dist/static/css/index-CD87VaJl.css new file mode 100644 index 0000000..8d2657a --- /dev/null +++ b/dist/static/css/index-CD87VaJl.css @@ -0,0 +1 @@ +.scroll-num{animation:enhance-bounce-in-down 1s calc(var(--delay)*1s) forwards;color:var(--color,#333);font-size:var(--height,calc(var(--width, 20px)*1.1));height:var(--height,calc(var(--width, 20px)*1.8));line-height:var(--height,calc(var(--width, 20px)*1.8));overflow:hidden;text-align:center;width:var(--width,20px)}ul{animation:move .3s linear infinite,bounce-in-down 1s calc(var(--delay)*1s) forwards}@keyframes move{0%{filter:url(#blur);transform:translateY(-90%)}to{filter:url(#blur);transform:translateY(1%)}}@keyframes bounce-in-down{0%{filter:none;transform:translateY(calc(var(--i)*-9.09% - 7%))}25%{transform:translateY(calc(var(--i)*-9.09% + 3%))}50%{transform:translateY(calc(var(--i)*-9.09% - 1%))}70%{transform:translateY(calc(var(--i)*-9.09% + .6%))}85%{transform:translateY(calc(var(--i)*-9.09% - .3%))}to{transform:translateY(calc(var(--i)*-9.09%))}}@keyframes enhance-bounce-in-down{25%{transform:translateY(8%)}50%{transform:translateY(-4%)}70%{transform:translateY(2%)}85%{transform:translateY(-1%)}to{transform:translateY(0)}} diff --git a/dist/static/css/index-CH7bv2s5.css b/dist/static/css/index-CH7bv2s5.css new file mode 100644 index 0000000..a417aa2 --- /dev/null +++ b/dist/static/css/index-CH7bv2s5.css @@ -0,0 +1 @@ +.content-flex[data-v-49748b52]{align-items:center;background-color:#fff;display:inline-flex;justify-content:space-between;padding:20px;text-align:center;width:100%} diff --git a/dist/static/css/index-CLPKpxB9.css b/dist/static/css/index-CLPKpxB9.css new file mode 100644 index 0000000..073b447 --- /dev/null +++ b/dist/static/css/index-CLPKpxB9.css @@ -0,0 +1 @@ +.content[data-v-a0a787e2],.content-flex[data-v-a0a787e2]{background-color:#fff;padding:20px;width:100%}.content-flex[data-v-a0a787e2]{align-items:center;display:inline-flex;justify-content:space-between;text-align:center} diff --git a/dist/static/css/index-C_awioKq.css b/dist/static/css/index-C_awioKq.css new file mode 100644 index 0000000..0c87140 --- /dev/null +++ b/dist/static/css/index-C_awioKq.css @@ -0,0 +1 @@ +.content[data-v-5ad16545],.content-flex[data-v-5ad16545]{background-color:#fff;padding:20px;width:100%}.content-flex[data-v-5ad16545]{align-items:center;display:inline-flex;justify-content:space-between;text-align:center} diff --git a/dist/static/css/index-CapjNHYF.css b/dist/static/css/index-CapjNHYF.css new file mode 100644 index 0000000..7b6716d --- /dev/null +++ b/dist/static/css/index-CapjNHYF.css @@ -0,0 +1 @@ +.content[data-v-d2841cb8]{align-items:center;background-color:#fff;display:inline-flex;justify-content:space-between;margin-bottom:10px;padding:20px;text-align:center;width:100%} diff --git a/dist/static/css/index-Cmq9fKXp.css b/dist/static/css/index-Cmq9fKXp.css new file mode 100644 index 0000000..1505259 --- /dev/null +++ b/dist/static/css/index-Cmq9fKXp.css @@ -0,0 +1 @@ +.content[data-v-13df6efe]{align-items:center;background-color:#fff;display:inline-flex;justify-content:space-between;margin-bottom:10px;padding:20px;text-align:center;width:100%} diff --git a/dist/static/css/index-CsoiJrbg.css b/dist/static/css/index-CsoiJrbg.css new file mode 100644 index 0000000..652477d --- /dev/null +++ b/dist/static/css/index-CsoiJrbg.css @@ -0,0 +1 @@ +.content[data-v-2ca9ab69],.content-flex[data-v-2ca9ab69]{background-color:#fff;padding:20px;width:100%}.content-flex[data-v-2ca9ab69]{align-items:center;display:inline-flex;justify-content:space-between;text-align:center} diff --git a/dist/static/css/index-D9LhvYuO.css b/dist/static/css/index-D9LhvYuO.css new file mode 100644 index 0000000..bbfc189 --- /dev/null +++ b/dist/static/css/index-D9LhvYuO.css @@ -0,0 +1 @@ +.pure-table-filter .el-table-filter__list{min-width:80px;padding:0}.pure-table-filter .el-table-filter__list li{line-height:28px}[data-v-4d680a2b] .el-table{--el-table-border:none;--el-table-border-color:transparent}[data-v-4d680a2b] .el-table .el-empty__description{margin:0}[data-v-4d680a2b] .el-table .el-scrollbar__bar{display:none} diff --git a/dist/static/css/index-DHBCqZE_.css b/dist/static/css/index-DHBCqZE_.css new file mode 100644 index 0000000..585ea6c --- /dev/null +++ b/dist/static/css/index-DHBCqZE_.css @@ -0,0 +1 @@ +.content[data-v-fe3c7a3e]{align-items:center;background-color:#fff;display:inline-flex;justify-content:space-between;margin-bottom:10px;padding:20px;text-align:center;width:100%} diff --git a/dist/static/css/index-Do8KbvHI.css b/dist/static/css/index-Do8KbvHI.css new file mode 100644 index 0000000..bf2cceb --- /dev/null +++ b/dist/static/css/index-Do8KbvHI.css @@ -0,0 +1 @@ +.wave[data-v-85183bc4]{bottom:0;height:100%;left:0;position:fixed;width:80%;z-index:-1}.login-container[data-v-85183bc4]{display:grid;grid-template-columns:repeat(2,1fr);height:100vh;max-width:100%;width:100vw;grid-gap:18rem;padding:0 2rem}.img[data-v-85183bc4]{align-items:center;display:flex;justify-content:flex-end}.img img[data-v-85183bc4]{width:500px}.login-box[data-v-85183bc4]{align-items:center;display:flex;overflow:hidden;text-align:center}.login-form[data-v-85183bc4]{width:360px}.avatar[data-v-85183bc4]{height:80px;width:350px}.login-form h2[data-v-85183bc4]{color:#999;font:700 200% Consolas,Monaco,monospace;margin:15px 0;text-transform:uppercase}@media screen and (max-width:1180px){.login-container[data-v-85183bc4]{grid-gap:9rem}.login-form[data-v-85183bc4]{width:290px}.login-form h2[data-v-85183bc4]{font-size:2.4rem;margin:8px 0}.img img[data-v-85183bc4]{width:360px}.avatar[data-v-85183bc4]{height:80px;width:280px}}@media screen and (max-width:968px){.img[data-v-85183bc4],.wave[data-v-85183bc4]{display:none}.login-container[data-v-85183bc4]{grid-template-columns:1fr}.login-box[data-v-85183bc4]{justify-content:center}}[data-v-85183bc4] .el-input-group__append{padding:0} diff --git a/dist/static/css/index-ETjYluae.css b/dist/static/css/index-ETjYluae.css new file mode 100644 index 0000000..2f24c49 --- /dev/null +++ b/dist/static/css/index-ETjYluae.css @@ -0,0 +1 @@ +.content[data-v-364c9a75]{background-color:#fff}.content[data-v-364c9a75],.content-flex[data-v-364c9a75]{padding:20px;width:100%}.content-flex[data-v-364c9a75]{align-items:center;background-color:#f5f5f5;display:inline-flex;justify-content:space-between;margin-bottom:20px;margin-top:20px;text-align:center} diff --git a/dist/static/css/index-ljo_Sx4w.css b/dist/static/css/index-ljo_Sx4w.css new file mode 100644 index 0000000..0419795 --- /dev/null +++ b/dist/static/css/index-ljo_Sx4w.css @@ -0,0 +1 @@ +.content[data-v-fc201834]{align-items:center;background-color:#fff;display:inline-flex;justify-content:space-between;padding:20px;text-align:center;width:100%} diff --git a/dist/static/css/index-nzVxZIjy.css b/dist/static/css/index-nzVxZIjy.css new file mode 100644 index 0000000..f011e67 --- /dev/null +++ b/dist/static/css/index-nzVxZIjy.css @@ -0,0 +1 @@ +.type_box[data-v-e7905f4a]{align-items:center;border-radius:5px;box-shadow:0 2px 12px #0000001a;cursor:pointer;display:inline-flex;justify-content:space-between;margin-top:10px;padding:10px;width:100%}.active[data-v-e7905f4a]{background-color:#d9ecff} diff --git a/dist/static/css/index-rgWhIoif.css b/dist/static/css/index-rgWhIoif.css new file mode 100644 index 0000000..16697d4 --- /dev/null +++ b/dist/static/css/index-rgWhIoif.css @@ -0,0 +1 @@ +[data-v-f9312515] .el-upload-dragger{height:100%}[data-v-f9312515] .el-upload-list__item-thumbnail{-o-object-fit:cover;object-fit:cover}video[data-v-f9312515]{max-width:150%} diff --git a/dist/static/css/index-vVk6sgu5.css b/dist/static/css/index-vVk6sgu5.css new file mode 100644 index 0000000..4a2bd8a --- /dev/null +++ b/dist/static/css/index-vVk6sgu5.css @@ -0,0 +1,7 @@ +/*! + * animate.css - https://animate.style/ + * Version - 4.1.1 + * Licensed under the MIT license - http://opensource.org/licenses/MIT + * + * Copyright (c) 2020 Animate.css + */:root{--animate-duration:1s;--animate-delay:1s;--animate-repeat:1}.animate__animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-duration:var(--animate-duration);animation-duration:var(--animate-duration);-webkit-animation-fill-mode:both;animation-fill-mode:both}.animate__animated.animate__infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animate__animated.animate__repeat-1{-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-iteration-count:var(--animate-repeat);animation-iteration-count:var(--animate-repeat)}.animate__animated.animate__repeat-2{-webkit-animation-iteration-count:2;animation-iteration-count:2;-webkit-animation-iteration-count:calc(var(--animate-repeat)*2);animation-iteration-count:calc(var(--animate-repeat)*2)}.animate__animated.animate__repeat-3{-webkit-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-iteration-count:calc(var(--animate-repeat)*3);animation-iteration-count:calc(var(--animate-repeat)*3)}.animate__animated.animate__delay-1s{-webkit-animation-delay:1s;animation-delay:1s;-webkit-animation-delay:var(--animate-delay);animation-delay:var(--animate-delay)}.animate__animated.animate__delay-2s{-webkit-animation-delay:2s;animation-delay:2s;-webkit-animation-delay:calc(var(--animate-delay)*2);animation-delay:calc(var(--animate-delay)*2)}.animate__animated.animate__delay-3s{-webkit-animation-delay:3s;animation-delay:3s;-webkit-animation-delay:calc(var(--animate-delay)*3);animation-delay:calc(var(--animate-delay)*3)}.animate__animated.animate__delay-4s{-webkit-animation-delay:4s;animation-delay:4s;-webkit-animation-delay:calc(var(--animate-delay)*4);animation-delay:calc(var(--animate-delay)*4)}.animate__animated.animate__delay-5s{-webkit-animation-delay:5s;animation-delay:5s;-webkit-animation-delay:calc(var(--animate-delay)*5);animation-delay:calc(var(--animate-delay)*5)}.animate__animated.animate__faster{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-duration:calc(var(--animate-duration)/2);animation-duration:calc(var(--animate-duration)/2)}.animate__animated.animate__fast{-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-duration:calc(var(--animate-duration)*.8);animation-duration:calc(var(--animate-duration)*.8)}.animate__animated.animate__slow{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration)*2);animation-duration:calc(var(--animate-duration)*2)}.animate__animated.animate__slower{-webkit-animation-duration:3s;animation-duration:3s;-webkit-animation-duration:calc(var(--animate-duration)*3);animation-duration:calc(var(--animate-duration)*3)}@media (prefers-reduced-motion:reduce),print{.animate__animated{-webkit-animation-duration:1ms!important;animation-duration:1ms!important;-webkit-animation-iteration-count:1!important;animation-iteration-count:1!important;-webkit-transition-duration:1ms!important;transition-duration:1ms!important}.animate__animated[class*=Out]{opacity:0}}@-webkit-keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transform:translateZ(0) scaleY(.95);transform:translateZ(0) scaleY(.95);-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transform:translateZ(0) scaleY(.95);transform:translateZ(0) scaleY(.95);-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}.animate__bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}.animate__flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes pulse{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.animate__pulse{-webkit-animation-name:pulse;animation-name:pulse;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes rubberBand{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes rubberBand{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.animate__rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shakeX{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shakeX{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.animate__shakeX{-webkit-animation-name:shakeX;animation-name:shakeX}@-webkit-keyframes shakeY{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}@keyframes shakeY{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}.animate__shakeY{-webkit-animation-name:shakeY;animation-name:shakeY}@-webkit-keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}@keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}.animate__headShake{-webkit-animation-name:headShake;animation-name:headShake;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes swing{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(0deg);transform:rotate(0)}}@keyframes swing{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(0deg);transform:rotate(0)}}.animate__swing{-webkit-animation-name:swing;animation-name:swing;-webkit-transform-origin:top center;transform-origin:top center}@-webkit-keyframes tada{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate(-3deg);transform:scale3d(.9,.9,.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(3deg);transform:scale3d(1.1,1.1,1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(-3deg);transform:scale3d(1.1,1.1,1.1) rotate(-3deg)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes tada{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate(-3deg);transform:scale3d(.9,.9,.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(3deg);transform:scale3d(1.1,1.1,1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(-3deg);transform:scale3d(1.1,1.1,1.1) rotate(-3deg)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.animate__tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate(-5deg);transform:translate3d(-25%,0,0) rotate(-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate(3deg);transform:translate3d(20%,0,0) rotate(3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate(-3deg);transform:translate3d(-15%,0,0) rotate(-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate(2deg);transform:translate3d(10%,0,0) rotate(2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate(-1deg);transform:translate3d(-5%,0,0) rotate(-1deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes wobble{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate(-5deg);transform:translate3d(-25%,0,0) rotate(-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate(3deg);transform:translate3d(20%,0,0) rotate(3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate(-3deg);transform:translate3d(-15%,0,0) rotate(-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate(2deg);transform:translate3d(10%,0,0) rotate(2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate(-1deg);transform:translate3d(-5%,0,0) rotate(-1deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes jello{0%,11.1%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes jello{0%,11.1%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}.animate__jello{-webkit-animation-name:jello;animation-name:jello;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}.animate__heartBeat{-webkit-animation-duration:1.3s;animation-duration:1.3s;-webkit-animation-duration:calc(var(--animate-duration)*1.3);animation-duration:calc(var(--animate-duration)*1.3);-webkit-animation-name:heartBeat;animation-name:heartBeat;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes backInDown{0%{opacity:.7;-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7)}80%{opacity:.7;-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes backInDown{0%{opacity:.7;-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7)}80%{opacity:.7;-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.animate__backInDown{-webkit-animation-name:backInDown;animation-name:backInDown}@-webkit-keyframes backInLeft{0%{opacity:.7;-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7)}80%{opacity:.7;-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes backInLeft{0%{opacity:.7;-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7)}80%{opacity:.7;-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.animate__backInLeft{-webkit-animation-name:backInLeft;animation-name:backInLeft}@-webkit-keyframes backInRight{0%{opacity:.7;-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7)}80%{opacity:.7;-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes backInRight{0%{opacity:.7;-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7)}80%{opacity:.7;-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.animate__backInRight{-webkit-animation-name:backInRight;animation-name:backInRight}@-webkit-keyframes backInUp{0%{opacity:.7;-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7)}80%{opacity:.7;-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes backInUp{0%{opacity:.7;-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7)}80%{opacity:.7;-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.animate__backInUp{-webkit-animation-name:backInUp;animation-name:backInUp}@-webkit-keyframes backOutDown{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}20%{opacity:.7;-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7)}to{opacity:.7;-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7)}}@keyframes backOutDown{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}20%{opacity:.7;-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7)}to{opacity:.7;-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7)}}.animate__backOutDown{-webkit-animation-name:backOutDown;animation-name:backOutDown}@-webkit-keyframes backOutLeft{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}20%{opacity:.7;-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7)}to{opacity:.7;-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7)}}@keyframes backOutLeft{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}20%{opacity:.7;-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7)}to{opacity:.7;-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7)}}.animate__backOutLeft{-webkit-animation-name:backOutLeft;animation-name:backOutLeft}@-webkit-keyframes backOutRight{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}20%{opacity:.7;-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7)}to{opacity:.7;-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7)}}@keyframes backOutRight{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}20%{opacity:.7;-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7)}to{opacity:.7;-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7)}}.animate__backOutRight{-webkit-animation-name:backOutRight;animation-name:backOutRight}@-webkit-keyframes backOutUp{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}20%{opacity:.7;-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7)}to{opacity:.7;-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7)}}@keyframes backOutUp{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}20%{opacity:.7;-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7)}to{opacity:.7;-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7)}}.animate__backOutUp{-webkit-animation-name:backOutUp;animation-name:backOutUp}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scaleX(1);transform:scaleX(1)}}.animate__bounceIn{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-animation-name:bounceIn;animation-name:bounceIn}@-webkit-keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__bounceInUp{-webkit-animation-name:bounceInUp;animation-name:bounceInUp}@-webkit-keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}@keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}.animate__bounceOut{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-animation-name:bounceOut;animation-name:bounceOut}@-webkit-keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0) scaleY(.985);transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0) scaleY(3);transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0) scaleY(.985);transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0) scaleY(3);transform:translate3d(0,2000px,0) scaleY(3)}}.animate__bounceOutDown{-webkit-animation-name:bounceOutDown;animation-name:bounceOutDown}@-webkit-keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0) scaleX(.9);transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0) scaleX(2);transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0) scaleX(.9);transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0) scaleX(2);transform:translate3d(-2000px,0,0) scaleX(2)}}.animate__bounceOutLeft{-webkit-animation-name:bounceOutLeft;animation-name:bounceOutLeft}@-webkit-keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0) scaleX(.9);transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0) scaleX(2);transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0) scaleX(.9);transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0) scaleX(2);transform:translate3d(2000px,0,0) scaleX(2)}}.animate__bounceOutRight{-webkit-animation-name:bounceOutRight;animation-name:bounceOutRight}@-webkit-keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0) scaleY(.985);transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0) scaleY(.9);transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0) scaleY(3);transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0) scaleY(.985);transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0) scaleY(.9);transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0) scaleY(3);transform:translate3d(0,-2000px,0) scaleY(3)}}.animate__bounceOutUp{-webkit-animation-name:bounceOutUp;animation-name:bounceOutUp}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.animate__fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__fadeInDownBig{-webkit-animation-name:fadeInDownBig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__fadeInLeftBig{-webkit-animation-name:fadeInLeftBig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__fadeInRightBig{-webkit-animation-name:fadeInRightBig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__fadeInTopLeft{-webkit-animation-name:fadeInTopLeft;animation-name:fadeInTopLeft}@-webkit-keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__fadeInTopRight{-webkit-animation-name:fadeInTopRight;animation-name:fadeInTopRight}@-webkit-keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__fadeInBottomLeft{-webkit-animation-name:fadeInBottomLeft;animation-name:fadeInBottomLeft}@-webkit-keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__fadeInBottomRight{-webkit-animation-name:fadeInBottomRight;animation-name:fadeInBottomRight}@-webkit-keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.animate__fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.animate__fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}@-webkit-keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.animate__fadeOutDownBig{-webkit-animation-name:fadeOutDownBig;animation-name:fadeOutDownBig}@-webkit-keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.animate__fadeOutLeft{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}@-webkit-keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.animate__fadeOutLeftBig{-webkit-animation-name:fadeOutLeftBig;animation-name:fadeOutLeftBig}@-webkit-keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.animate__fadeOutRight{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}@-webkit-keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.animate__fadeOutRightBig{-webkit-animation-name:fadeOutRightBig;animation-name:fadeOutRightBig}@-webkit-keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.animate__fadeOutUp{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}@-webkit-keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.animate__fadeOutUpBig{-webkit-animation-name:fadeOutUpBig;animation-name:fadeOutUpBig}@-webkit-keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}.animate__fadeOutTopLeft{-webkit-animation-name:fadeOutTopLeft;animation-name:fadeOutTopLeft}@-webkit-keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}.animate__fadeOutTopRight{-webkit-animation-name:fadeOutTopRight;animation-name:fadeOutTopRight}@-webkit-keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}.animate__fadeOutBottomRight{-webkit-animation-name:fadeOutBottomRight;animation-name:fadeOutBottomRight}@-webkit-keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}.animate__fadeOutBottomLeft{-webkit-animation-name:fadeOutBottomLeft;animation-name:fadeOutBottomLeft}@-webkit-keyframes flip{0%{-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn)}40%{-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg)}50%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg)}80%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0)}to{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0deg);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0)}}@keyframes flip{0%{-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn)}40%{-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg)}50%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg)}80%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0)}to{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0deg);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0)}}.animate__animated.animate__flip{-webkit-animation-name:flip;animation-name:flip;-webkit-backface-visibility:visible;backface-visibility:visible}@-webkit-keyframes flipInX{0%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0;-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg)}40%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg)}60%{opacity:1;-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg)}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0;-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg)}40%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg)}60%{opacity:1;-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg)}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.animate__flipInX{-webkit-animation-name:flipInX;animation-name:flipInX;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipInY{0%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0;-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg)}40%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-transform:perspective(400px) rotateY(-20deg);transform:perspective(400px) rotateY(-20deg)}60%{opacity:1;-webkit-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg)}80%{-webkit-transform:perspective(400px) rotateY(-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0;-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg)}40%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-transform:perspective(400px) rotateY(-20deg);transform:perspective(400px) rotateY(-20deg)}60%{opacity:1;-webkit-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg)}80%{-webkit-transform:perspective(400px) rotateY(-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.animate__flipInY{-webkit-animation-name:flipInY;animation-name:flipInY;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{opacity:1;-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg)}to{opacity:0;-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg)}}@keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{opacity:1;-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg)}to{opacity:0;-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg)}}.animate__flipOutX{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-animation-name:flipOutX;animation-name:flipOutX;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{opacity:1;-webkit-transform:perspective(400px) rotateY(-15deg);transform:perspective(400px) rotateY(-15deg)}to{opacity:0;-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg)}}@keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{opacity:1;-webkit-transform:perspective(400px) rotateY(-15deg);transform:perspective(400px) rotateY(-15deg)}to{opacity:0;-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg)}}.animate__flipOutY{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-animation-name:flipOutY;animation-name:flipOutY;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes lightSpeedInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg)}60%{opacity:1;-webkit-transform:skewX(20deg);transform:skew(20deg)}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg)}60%{opacity:1;-webkit-transform:skewX(20deg);transform:skew(20deg)}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__lightSpeedInRight{-webkit-animation-name:lightSpeedInRight;animation-name:lightSpeedInRight;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg)}60%{opacity:1;-webkit-transform:skewX(-20deg);transform:skew(-20deg)}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes lightSpeedInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg)}60%{opacity:1;-webkit-transform:skewX(-20deg);transform:skew(-20deg)}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__lightSpeedInLeft{-webkit-animation-name:lightSpeedInLeft;animation-name:lightSpeedInLeft;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skew(30deg)}}@keyframes lightSpeedOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skew(30deg)}}.animate__lightSpeedOutRight{-webkit-animation-name:lightSpeedOutRight;animation-name:lightSpeedOutRight;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes lightSpeedOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0) skewX(-30deg);transform:translate3d(-100%,0,0) skew(-30deg)}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0) skewX(-30deg);transform:translate3d(-100%,0,0) skew(-30deg)}}.animate__lightSpeedOutLeft{-webkit-animation-name:lightSpeedOutLeft;animation-name:lightSpeedOutLeft;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{0%{opacity:0;-webkit-transform:rotate(-200deg);transform:rotate(-200deg)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes rotateIn{0%{opacity:0;-webkit-transform:rotate(-200deg);transform:rotate(-200deg)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__rotateIn{-webkit-animation-name:rotateIn;animation-name:rotateIn;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateInDownLeft{0%{opacity:0;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes rotateInDownLeft{0%{opacity:0;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__rotateInDownLeft{-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInDownRight{0%{opacity:0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes rotateInDownRight{0%{opacity:0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__rotateInDownRight{-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateInUpLeft{0%{opacity:0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes rotateInUpLeft{0%{opacity:0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__rotateInUpLeft{-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInUpRight{0%{opacity:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes rotateInUpRight{0%{opacity:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__rotateInUpRight{-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOut{0%{opacity:1}to{opacity:0;-webkit-transform:rotate(200deg);transform:rotate(200deg)}}@keyframes rotateOut{0%{opacity:1}to{opacity:0;-webkit-transform:rotate(200deg);transform:rotate(200deg)}}.animate__rotateOut{-webkit-animation-name:rotateOut;animation-name:rotateOut;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateOutDownLeft{0%{opacity:1}to{opacity:0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}}@keyframes rotateOutDownLeft{0%{opacity:1}to{opacity:0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}}.animate__rotateOutDownLeft{-webkit-animation-name:rotateOutDownLeft;animation-name:rotateOutDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutDownRight{0%{opacity:1}to{opacity:0;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}}@keyframes rotateOutDownRight{0%{opacity:1}to{opacity:0;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}}.animate__rotateOutDownRight{-webkit-animation-name:rotateOutDownRight;animation-name:rotateOutDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOutUpLeft{0%{opacity:1}to{opacity:0;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}}@keyframes rotateOutUpLeft{0%{opacity:1}to{opacity:0;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}}.animate__rotateOutUpLeft{-webkit-animation-name:rotateOutUpLeft;animation-name:rotateOutUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutUpRight{0%{opacity:1}to{opacity:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}}@keyframes rotateOutUpRight{0%{opacity:1}to{opacity:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}}.animate__rotateOutUpRight{-webkit-animation-name:rotateOutUpRight;animation-name:rotateOutUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-transform:rotate(80deg);transform:rotate(80deg)}40%,80%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1;-webkit-transform:rotate(60deg);transform:rotate(60deg)}to{opacity:0;-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0)}}@keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-transform:rotate(80deg);transform:rotate(80deg)}40%,80%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1;-webkit-transform:rotate(60deg);transform:rotate(60deg)}to{opacity:0;-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0)}}.animate__hinge{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration)*2);animation-duration:calc(var(--animate-duration)*2);-webkit-animation-name:hinge;animation-name:hinge;-webkit-transform-origin:top left;transform-origin:top left}@-webkit-keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.animate__jackInTheBox{-webkit-animation-name:jackInTheBox;animation-name:jackInTheBox}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate(-120deg);transform:translate3d(-100%,0,0) rotate(-120deg)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate(-120deg);transform:translate3d(-100%,0,0) rotate(-120deg)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__rollIn{-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate(120deg);transform:translate3d(100%,0,0) rotate(120deg)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate(120deg);transform:translate3d(100%,0,0) rotate(120deg)}}.animate__rollOut{-webkit-animation-name:rollOut;animation-name:rollOut}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.animate__zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}@-webkit-keyframes zoomInDown{0%{-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19);opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0)}60%{-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1);opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0)}}@keyframes zoomInDown{0%{-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19);opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0)}60%{-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1);opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0)}}.animate__zoomInDown{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}@-webkit-keyframes zoomInLeft{0%{-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19);opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0)}60%{-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1);opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0)}}@keyframes zoomInLeft{0%{-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19);opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0)}60%{-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1);opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0)}}.animate__zoomInLeft{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}@-webkit-keyframes zoomInRight{0%{-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19);opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0)}60%{-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1);opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0)}}@keyframes zoomInRight{0%{-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19);opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0)}60%{-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1);opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0)}}.animate__zoomInRight{-webkit-animation-name:zoomInRight;animation-name:zoomInRight}@-webkit-keyframes zoomInUp{0%{-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19);opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0)}60%{-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1);opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0)}}@keyframes zoomInUp{0%{-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19);opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0)}60%{-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1);opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0)}}.animate__zoomInUp{-webkit-animation-name:zoomInUp;animation-name:zoomInUp}@-webkit-keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}.animate__zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}@-webkit-keyframes zoomOutDown{40%{-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19);opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0)}to{-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1);opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0)}}@keyframes zoomOutDown{40%{-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19);opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0)}to{-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1);opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0)}}.animate__zoomOutDown{-webkit-animation-name:zoomOutDown;animation-name:zoomOutDown;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0)}}.animate__zoomOutLeft{-webkit-animation-name:zoomOutLeft;animation-name:zoomOutLeft;-webkit-transform-origin:left center;transform-origin:left center}@-webkit-keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0)}}.animate__zoomOutRight{-webkit-animation-name:zoomOutRight;animation-name:zoomOutRight;-webkit-transform-origin:right center;transform-origin:right center}@-webkit-keyframes zoomOutUp{40%{-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19);opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0)}to{-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1);opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0)}}@keyframes zoomOutUp{40%{-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19);opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0)}to{-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1);opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0)}}.animate__zoomOutUp{-webkit-animation-name:zoomOutUp;animation-name:zoomOutUp;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__slideInDown{-webkit-animation-name:slideInDown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__slideInLeft{-webkit-animation-name:slideInLeft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__slideInRight{-webkit-animation-name:slideInRight;animation-name:slideInRight}@-webkit-keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.animate__slideInUp{-webkit-animation-name:slideInUp;animation-name:slideInUp}@-webkit-keyframes slideOutDown{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:hidden}}@keyframes slideOutDown{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:hidden}}.animate__slideOutDown{-webkit-animation-name:slideOutDown;animation-name:slideOutDown}@-webkit-keyframes slideOutLeft{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:hidden}}@keyframes slideOutLeft{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:hidden}}.animate__slideOutLeft{-webkit-animation-name:slideOutLeft;animation-name:slideOutLeft}@-webkit-keyframes slideOutRight{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:hidden}}@keyframes slideOutRight{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:hidden}}.animate__slideOutRight{-webkit-animation-name:slideOutRight;animation-name:slideOutRight}@-webkit-keyframes slideOutUp{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:hidden}}@keyframes slideOutUp{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:hidden}}.animate__slideOutUp{-webkit-animation-name:slideOutUp;animation-name:slideOutUp}@keyframes schedule-in-width-be18c229{0%{width:0}to{width:100%}}@keyframes schedule-out-width-be18c229{0%{width:100%}to{width:0}}.tags-view[data-v-be18c229]{align-items:center;background:#fff;box-shadow:0 0 1px #888;color:var(--el-text-color-primary);display:flex;font-size:14px;position:relative;width:100%}.tags-view .scroll-item[data-v-be18c229]{cursor:pointer;display:inline-block;height:34px;line-height:34px;padding-left:6px;position:relative;transition:all .4s}.tags-view .scroll-item[data-v-be18c229]:not(:first-child){padding-right:24px}.tags-view .scroll-item.chrome-item[data-v-be18c229]{box-shadow:none;margin-right:-18px;padding-left:0;padding-right:0}.tags-view .scroll-item .el-icon-close[data-v-be18c229]{align-items:center;border-radius:4px;color:var(--el-color-primary);cursor:pointer;display:inline-flex;height:18px;justify-content:center;position:absolute;top:50%;transform:translateY(-50%);transition:background-color .12s,color .12s;width:18px}.tags-view .scroll-item .el-icon-close[data-v-be18c229]:hover{background-color:#0000000f;color:#000000e0!important}.tags-view .tag-title[data-v-be18c229]{color:var(--el-text-color-primary);padding:0 4px;text-decoration:none}.tags-view .scroll-container[data-v-be18c229]{flex:1;overflow:hidden;position:relative;white-space:nowrap}.tags-view .scroll-container.chrome-scroll-container[data-v-be18c229]{padding-top:4px}.tags-view .scroll-container.chrome-scroll-container .fixed-tag[data-v-be18c229]{padding:0!important}.tags-view .scroll-container .tab[data-v-be18c229]{float:left;list-style:none;overflow:visible;position:relative;white-space:nowrap}.tags-view .scroll-container .tab .scroll-item[data-v-be18c229]{transition:all .2s cubic-bezier(.645,.045,.355,1)}.tags-view .scroll-container .tab .scroll-item[data-v-be18c229]:first-child{padding:0 12px}.tags-view .scroll-container .tab .scroll-item.chrome-item[data-v-be18c229]:first-child{padding:0}.tags-view .scroll-container .tab .fixed-tag[data-v-be18c229]{padding:0 12px}.tags-view .contextmenu[data-v-be18c229]{background:#fff;border-radius:4px;box-shadow:0 2px 8px #00000026;color:var(--el-text-color-primary);font-size:13px;font-weight:400;list-style-type:none;margin:0;outline:0;padding:5px 0;position:absolute;white-space:nowrap}.tags-view .contextmenu li[data-v-be18c229]{align-items:center;cursor:pointer;display:flex;margin:0;padding:7px 12px;width:100%}.tags-view .contextmenu li[data-v-be18c229]:hover{color:var(--el-color-primary)}.tags-view .contextmenu li svg[data-v-be18c229]{display:block;margin-right:.5em}.el-dropdown-menu li[data-v-be18c229]{align-items:center;cursor:pointer;display:flex;margin:0;width:100%}.el-dropdown-menu li svg[data-v-be18c229]{display:block;margin-right:.5em}.el-dropdown-menu__item[data-v-be18c229]:not(.is-disabled):hover{background:#f0f0f0;color:#606266}[data-v-be18c229] .el-dropdown-menu__item i{margin-right:10px}[data-v-be18c229] .el-dropdown-menu__item--divided{margin:1px 0}.el-dropdown-menu__item--divided[data-v-be18c229]:before{margin:0}.el-dropdown-menu__item.is-disabled[data-v-be18c229]{cursor:not-allowed}.scroll-item.is-active[data-v-be18c229]{box-shadow:0 0 .7px #888;color:#fff;position:relative}.scroll-item.is-active .chrome-tab[data-v-be18c229]{z-index:10}.scroll-item.is-active .chrome-tab__bg[data-v-be18c229]{color:var(--el-color-primary-light-9)!important}.scroll-item.is-active .tag-title[data-v-be18c229]{color:var(--el-color-primary)!important}.scroll-item.is-active .chrome-close-btn[data-v-be18c229]{color:var(--el-color-primary)}.scroll-item.is-active .chrome-close-btn[data-v-be18c229]:hover{background-color:var(--el-color-primary)}.scroll-item.is-active .chrome-tab-divider[data-v-be18c229]{opacity:0}.arrow-down[data-v-be18c229],.arrow-left[data-v-be18c229],.arrow-right[data-v-be18c229]{align-items:center;color:var(--el-text-color-primary);display:flex;height:34px;justify-content:center;position:relative;width:40px}.arrow-down svg[data-v-be18c229],.arrow-left svg[data-v-be18c229],.arrow-right svg[data-v-be18c229]{height:20px;width:20px}.arrow-left[data-v-be18c229]{box-shadow:5px 0 5px -6px #ccc}.arrow-left[data-v-be18c229]:hover{cursor:w-resize}.arrow-right[data-v-be18c229]{border-right:.5px solid #ccc;box-shadow:-5px 0 5px -6px #ccc}.arrow-right[data-v-be18c229]:hover{cursor:e-resize}.card-in[data-v-be18c229],.card-in .tag-title[data-v-be18c229]{color:var(--el-color-primary)}.card-out[data-v-be18c229]{border:none}.card-out[data-v-be18c229],.card-out .tag-title[data-v-be18c229]{color:#666}.schedule-active[data-v-be18c229],.schedule-in[data-v-be18c229]{background:var(--el-color-primary);bottom:0;height:2px;left:0;position:absolute;width:100%}.schedule-in[data-v-be18c229]{animation:schedule-in-width-be18c229 .2s ease-in}.schedule-out[data-v-be18c229]{animation:schedule-out-width-be18c229 .2s ease-in;background:var(--el-color-primary);bottom:0;height:2px;left:0;position:absolute;width:0}.chrome-tab[data-v-be18c229]{align-items:center;cursor:pointer;display:inline-flex;gap:16px;justify-content:center;padding:0 24px;position:relative;white-space:nowrap}.chrome-tab .tag-title[data-v-be18c229]{padding:0}.chrome-tab .chrome-tab-divider[data-v-be18c229]{background-color:#2b2d2f;height:14px;position:absolute;right:7px;width:1px}.chrome-tab[data-v-be18c229]:hover{z-index:10}.chrome-tab:hover .chrome-tab__bg[data-v-be18c229]{color:#dee1e6}.chrome-tab:hover .tag-title[data-v-be18c229]{color:#1f1f1f}.chrome-tab:hover .chrome-tab-divider[data-v-be18c229]{opacity:0}.chrome-tab .chrome-tab__bg[data-v-be18c229]{color:transparent;height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:-10}.chrome-tab .chrome-close-btn[data-v-be18c229]{align-items:center;border-radius:50%;color:#666;display:inline-flex;height:16px;justify-content:center;width:16px}.chrome-tab .chrome-close-btn[data-v-be18c229]:hover{background-color:#b1b3b8;color:#fff}.result[data-v-5fefeac0]{padding-bottom:12px}.result-item[data-v-5fefeac0]{align-items:center;border:.1px solid #ccc;border-radius:4px;cursor:pointer;display:flex;height:56px;margin-top:8px;padding:14px;transition:font-size .16s}.result-item-title[data-v-5fefeac0]{display:flex;flex:1;margin-left:5px}.search-footer[data-v-a70151cd]{display:flex}.search-footer .search-footer-item[data-v-a70151cd]{align-items:center;display:flex;margin-right:14px}.search-footer .icon[data-v-a70151cd]{box-shadow:inset 0 -2px #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px #1e235a66;font-size:20px;margin-right:3px;padding:2px}.search-footer .search-footer-total[data-v-a70151cd]{position:absolute;right:20px}.history-item-title[data-v-090af28a]{display:flex;flex:1;margin-left:5px}.history[data-v-a22eeabf]{padding-bottom:12px}.history-item[data-v-a22eeabf]{align-items:center;border:.1px solid #ccc;border-radius:4px;cursor:pointer;display:flex;height:56px;margin:8px auto 10px;padding:14px;transition:font-size .16s}.search-content[data-v-668a3991]{margin-top:12px}.notice-title-popper{max-width:238px}.notice-container[data-v-cd76a765]{align-items:flex-start;display:flex;justify-content:space-between;padding:12px 0}.notice-container .notice-container-avatar[data-v-cd76a765]{background:#fff;margin-right:16px}.notice-container .notice-container-text[data-v-cd76a765]{display:flex;flex:1;flex-direction:column;justify-content:space-between}.notice-container .notice-container-text .notice-text-title[data-v-cd76a765]{cursor:pointer;display:flex;font-size:14px;font-weight:400;line-height:1.5715;margin-bottom:8px}.notice-container .notice-container-text .notice-text-title .notice-title-content[data-v-cd76a765]{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:200px}.notice-container .notice-container-text .notice-text-title .notice-title-extra[data-v-cd76a765]{float:right;font-weight:400;margin-top:-1.5px}.notice-container .notice-container-text .notice-text-datetime[data-v-cd76a765],.notice-container .notice-container-text .notice-text-description[data-v-cd76a765]{font-size:12px;line-height:1.5715}.notice-container .notice-container-text .notice-text-description[data-v-cd76a765]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical}.notice-container .notice-container-text .notice-text-datetime[data-v-cd76a765]{margin-top:4px}.dropdown-badge[data-v-dd7cf61f]{align-items:center;cursor:pointer;display:flex;height:48px;justify-content:center;width:40px}.dropdown-badge .header-notice-icon[data-v-dd7cf61f]{font-size:18px}.dropdown-tabs .noticeList-container[data-v-dd7cf61f]{padding:15px 24px 0}.dropdown-tabs[data-v-dd7cf61f] .el-tabs__header{margin:0}.dropdown-tabs[data-v-dd7cf61f] .el-tabs__nav-wrap:after{height:1px}.dropdown-tabs[data-v-dd7cf61f] .el-tabs__nav-wrap{padding:0 36px}[data-v-1055af37] .el-loading-mask{opacity:.45}.logout[data-v-1055af37]{width:120px}.logout[data-v-1055af37] .el-dropdown-menu__item{display:inline-flex;flex-wrap:wrap;min-width:100%}.navbar[data-v-5fb1115a]{height:48px;overflow:hidden;width:100%}.navbar .hamburger-container[data-v-5fb1115a]{cursor:pointer;float:left;height:100%;line-height:48px}.navbar .vertical-header-right[data-v-5fb1115a]{align-items:center;color:#000000d9;display:flex;height:48px;justify-content:flex-end;min-width:280px}.navbar .vertical-header-right .el-dropdown-link[data-v-5fb1115a]{align-items:center;color:#000000d9;cursor:pointer;display:flex;height:48px;justify-content:space-around;padding:10px}.navbar .vertical-header-right .el-dropdown-link p[data-v-5fb1115a]{font-size:14px}.navbar .vertical-header-right .el-dropdown-link img[data-v-5fb1115a]{border-radius:50%;height:22px;width:22px}.navbar .breadcrumb-container[data-v-5fb1115a]{float:left;margin-left:16px}.logout[data-v-5fb1115a]{width:120px}.logout[data-v-5fb1115a] .el-dropdown-menu__item{display:inline-flex;flex-wrap:wrap;min-width:100%}.layout-footer[data-v-6296148a]{align-items:center;display:flex;font-size:14px;justify-content:center;padding:0 0 8px;width:100%}.app-main[data-v-ac3eedc7]{height:100vh;overflow-x:hidden;position:relative;width:100%}.app-main-nofixed-header[data-v-ac3eedc7]{display:flex;flex-direction:column;position:relative;width:100%}.main-content[data-v-ac3eedc7]{margin:24px}[data-v-7aae9f4d] .el-scrollbar{height:calc(100vh - 110px)}.right-panel-background[data-v-7aae9f4d]{background:#0003;left:0;opacity:0;position:fixed;top:0;transition:opacity .3s cubic-bezier(.7,.3,.1,1);z-index:-1}.right-panel[data-v-7aae9f4d]{box-shadow:0 0 15px #0000000d;max-width:280px;position:fixed;right:0;top:0;transform:translate(100%);transition:all .25s cubic-bezier(.7,.3,.1,1);width:100%;z-index:40000}.show[data-v-7aae9f4d]{transition:all .3s cubic-bezier(.7,.3,.1,1)}.show .right-panel-background[data-v-7aae9f4d]{height:100%;opacity:1;width:100%;z-index:20000}.show .right-panel[data-v-7aae9f4d]{transform:translate(0)}.project-configuration[data-v-7aae9f4d]{align-items:center;display:flex;justify-content:space-between;padding:14px 20px}.pure-segmented{--pure-control-padding-horizontal:12px;--pure-control-padding-horizontal-sm:8px;--pure-segmented-track-padding:2px;--pure-segmented-line-width:1px;--pure-segmented-border-radius-small:4px;--pure-segmented-border-radius-base:6px;--pure-segmented-border-radius-large:8px;background-color:#0000000a;border-radius:var(--pure-segmented-border-radius-base);box-sizing:border-box;color:#000000a6;display:inline-block;font-size:var(--el-font-size-base);padding:var(--pure-segmented-track-padding)}.pure-segmented-block{display:flex}.pure-segmented-block .pure-segmented-item{flex:1;min-width:0}.pure-segmented-block .pure-segmented-item>.pure-segmented-item-label>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pure-segmented.pure-segmented--small{border-radius:var(--pure-segmented-border-radius-small)}.pure-segmented.pure-segmented--small .pure-segmented-item{border-radius:var(--el-border-radius-small)}.pure-segmented.pure-segmented--small .pure-segmented-item>div{line-height:calc(var(--el-component-size-small) - var(--pure-segmented-track-padding)*2);min-height:calc(var(--el-component-size-small) - var(--pure-segmented-track-padding)*2);padding:0 calc(var(--pure-control-padding-horizontal-sm) - var(--pure-segmented-line-width))}.pure-segmented.pure-segmented--large{border-radius:var(--pure-segmented-border-radius-large)}.pure-segmented.pure-segmented--large .pure-segmented-item{border-radius:calc(var(--el-border-radius-base) + var(--el-border-radius-small))}.pure-segmented.pure-segmented--large .pure-segmented-item>div{font-size:var(--el-font-size-medium);line-height:calc(var(--el-component-size-large) - var(--pure-segmented-track-padding)*2);min-height:calc(var(--el-component-size-large) - var(--pure-segmented-track-padding)*2);padding:0 calc(var(--pure-control-padding-horizontal) - var(--pure-segmented-line-width))}.pure-segmented-item{border-radius:var(--el-border-radius-base);cursor:pointer;position:relative;text-align:center;transition:all .1s cubic-bezier(.645,.045,.355,1)}.pure-segmented .pure-segmented-item>div{line-height:calc(var(--el-component-size) - var(--pure-segmented-track-padding)*2);min-height:calc(var(--el-component-size) - var(--pure-segmented-track-padding)*2);overflow:hidden;padding:0 calc(var(--pure-control-padding-horizontal) - var(--pure-segmented-line-width));text-overflow:ellipsis;transition:.1s;white-space:nowrap}.pure-segmented-group{align-items:stretch;display:flex;justify-items:flex-start;position:relative;width:100%}.pure-segmented-item-selected{background-color:#fff;border-radius:4px;box-shadow:0 2px 8px -2px #0000000d,0 1px 4px -1px #00000012,0 0 1px #00000012;box-sizing:border-box;display:none;height:100%;left:0;padding:4px 0;position:absolute;top:0;transition:transform .5s cubic-bezier(.645,.045,.355,1),width .5s cubic-bezier(.645,.045,.355,1);width:0;will-change:transform,width}.pure-segmented-item>input{height:0;inset-block-start:0;inset-inline-start:0;opacity:0;pointer-events:none;position:absolute;width:0}.pure-segmented-item-label{align-items:center;display:flex;justify-content:center}.pure-segmented-item-icon svg{height:16px;width:16px}.pure-segmented-item-disabled{color:#00000040;cursor:not-allowed}[data-v-cb0bf10c] .el-divider__text{font-size:16px;font-weight:700}[data-v-cb0bf10c] .el-switch__core{--el-switch-off-color:var(--pure-switch-off-color);height:18px;min-width:36px}[data-v-cb0bf10c] .el-switch__core .el-switch__action{height:14px}.theme-color[data-v-cb0bf10c]{height:20px}.theme-color li[data-v-cb0bf10c]{border-radius:4px;cursor:pointer;float:left;height:20px;margin-right:8px}.theme-color li[data-v-cb0bf10c]:first-child{border:1px solid #ddd}.pure-theme[data-v-cb0bf10c]{display:flex;gap:12px}.pure-theme li[data-v-cb0bf10c]{background:#f0f2f5;border-radius:4px;box-shadow:0 1px 2.5px #0000002e;cursor:pointer;height:36px;overflow:hidden;position:relative;width:46px}.pure-theme li:first-child div[data-v-cb0bf10c]:first-child{background:#1b2a47;height:100%;width:30%}.pure-theme li:first-child div[data-v-cb0bf10c]:nth-child(2){background:#fff;box-shadow:0 0 1px #888;height:30%;position:absolute;right:0;top:0;width:70%}.pure-theme li:nth-child(2) div[data-v-cb0bf10c]:first-child,.pure-theme li:nth-child(3) div[data-v-cb0bf10c]:first-child{background:#1b2a47;box-shadow:0 0 1px #888;height:30%;width:100%}.pure-theme li:nth-child(3) div[data-v-cb0bf10c]:nth-child(2){background:#fff;bottom:0;box-shadow:0 0 1px #888;height:70%;left:0;position:absolute;width:30%}.is-select[data-v-cb0bf10c]{border:2px solid var(--el-color-primary)}.setting li[data-v-cb0bf10c]{align-items:center;display:flex;font-size:14px;justify-content:space-between;padding:3px 0}.sidebar-logo-container[data-v-ceee93c2]{height:48px;overflow:hidden;position:relative;width:100%}.sidebar-logo-container .sidebar-logo-link[data-v-ceee93c2]{align-items:center;display:flex;flex-wrap:nowrap;height:100%;padding-left:10px}.sidebar-logo-container .sidebar-logo-link img[data-v-ceee93c2]{display:inline-block;height:32px}.sidebar-logo-container .sidebar-logo-link .sidebar-title[data-v-ceee93c2]{color:var(--pure-theme-sub-menu-active-text);display:inline-block;font-size:18px;font-weight:600;height:32px;line-height:32px;margin:2px 0 0 12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.left-collapse[data-v-02edc35f]{bottom:0;box-shadow:0 0 6px -3px var(--el-color-primary);height:40px;line-height:40px;position:absolute;width:100%}.center-collapse[data-v-5c964c29]{align-items:center;background:var(--el-bg-color);border:1px solid var(--pure-border-color);border-radius:4px;cursor:pointer;display:flex;height:34px;justify-content:center;position:absolute;right:2px;top:50%;transform:translate(12px,-50%);width:24px;z-index:1002}[data-v-42d87f32] .el-loading-mask,[data-v-c8441a0f] .el-loading-mask{opacity:.45}.logout[data-v-c8441a0f]{width:120px}.logout[data-v-c8441a0f] .el-dropdown-menu__item{display:inline-flex;flex-wrap:wrap;min-width:100%}.app-wrapper[data-v-44c67fa2]{height:100%;position:relative;width:100%}.app-wrapper[data-v-44c67fa2]:after{clear:both;content:"";display:table}.app-wrapper.mobile.openSidebar[data-v-44c67fa2]{position:fixed;top:0}.app-mask[data-v-44c67fa2]{background:#000;height:100%;opacity:.3;position:absolute;top:0;width:100%;z-index:2001}.re-screen[data-v-44c67fa2]{margin-top:12px} diff --git a/dist/static/css/lotteryResults-BmBVMTZg.css b/dist/static/css/lotteryResults-BmBVMTZg.css new file mode 100644 index 0000000..76d5c73 --- /dev/null +++ b/dist/static/css/lotteryResults-BmBVMTZg.css @@ -0,0 +1 @@ +.content[data-v-64bf49e4]{background-color:#fff}.content[data-v-64bf49e4],.content-flex[data-v-64bf49e4]{padding:20px;width:100%}.content-flex[data-v-64bf49e4]{align-items:center;background-color:#f5f5f5;display:inline-flex;justify-content:space-between;margin-bottom:20px;margin-top:20px;text-align:center} diff --git a/dist/static/css/member-CqAz6da2.css b/dist/static/css/member-CqAz6da2.css new file mode 100644 index 0000000..e014b17 --- /dev/null +++ b/dist/static/css/member-CqAz6da2.css @@ -0,0 +1 @@ +[data-v-10b500bd] .el-card{--el-card-border-color:none}[data-v-10b500bd] .el-card .el-progress--line{width:85%}[data-v-10b500bd] .el-card .el-progress-bar__innerText{font-size:15px}[data-v-10b500bd] .el-card .el-scrollbar__bar{display:none}[data-v-10b500bd] .el-card .el-timeline-item{margin:0 6px}.main-content[data-v-10b500bd]{margin:20px 20px 0!important} diff --git a/dist/static/css/message-p4uCyPL_.css b/dist/static/css/message-p4uCyPL_.css new file mode 100644 index 0000000..3ab35ce --- /dev/null +++ b/dist/static/css/message-p4uCyPL_.css @@ -0,0 +1 @@ +[data-v-3d7a6f3c] .el-card{--el-card-border-color:none}[data-v-3d7a6f3c] .el-card .el-progress--line{width:85%}[data-v-3d7a6f3c] .el-card .el-progress-bar__innerText{font-size:15px}[data-v-3d7a6f3c] .el-card .el-scrollbar__bar{display:none}[data-v-3d7a6f3c] .el-card .el-timeline-item{margin:0 6px}.main-content[data-v-3d7a6f3c]{margin:20px 20px 0!important} diff --git a/dist/static/css/settingRule-CY_MS_Cx.css b/dist/static/css/settingRule-CY_MS_Cx.css new file mode 100644 index 0000000..7861eea --- /dev/null +++ b/dist/static/css/settingRule-CY_MS_Cx.css @@ -0,0 +1 @@ +.rule-text[data-v-89cf5f92]{align-items:center;display:flex;flex-wrap:wrap}.rule-text .text-part[data-v-89cf5f92]{margin-right:5px;white-space:nowrap}.input-number[data-v-89cf5f92]{margin:0 8px;width:120px!important} diff --git a/dist/static/css/statistics-BBUe6U_B.css b/dist/static/css/statistics-BBUe6U_B.css new file mode 100644 index 0000000..e94c523 --- /dev/null +++ b/dist/static/css/statistics-BBUe6U_B.css @@ -0,0 +1 @@ +.content[data-v-83914e69]{background-color:#fff}.content[data-v-83914e69],.content-flex[data-v-83914e69]{padding:20px;width:100%}.content-flex[data-v-83914e69]{align-items:center;background-color:#f5f5f5;display:inline-flex;justify-content:space-between;margin-bottom:20px;margin-top:20px;text-align:center} diff --git a/dist/static/css/statistics-BUn2wCLi.css b/dist/static/css/statistics-BUn2wCLi.css new file mode 100644 index 0000000..6abb82f --- /dev/null +++ b/dist/static/css/statistics-BUn2wCLi.css @@ -0,0 +1 @@ +[data-v-50c614fd] .el-card{--el-card-border-color:none}[data-v-50c614fd] .el-card .el-progress--line{width:85%}[data-v-50c614fd] .el-card .el-progress-bar__innerText{font-size:15px}[data-v-50c614fd] .el-card .el-scrollbar__bar{display:none}[data-v-50c614fd] .el-card .el-timeline-item{margin:0 6px}.main-content[data-v-50c614fd]{margin:20px 20px 0!important} diff --git a/dist/static/css/statistics-CEDBzmno.css b/dist/static/css/statistics-CEDBzmno.css new file mode 100644 index 0000000..bf05ac7 --- /dev/null +++ b/dist/static/css/statistics-CEDBzmno.css @@ -0,0 +1 @@ +.content[data-v-88650459]{background-color:#fff}.content[data-v-88650459],.content-flex[data-v-88650459]{padding:20px;width:100%}.content-flex[data-v-88650459]{align-items:center;background-color:#f5f5f5;display:inline-flex;justify-content:space-between;margin-bottom:20px;margin-top:20px;text-align:center} diff --git a/dist/static/css/statistics-DIUkgvpT.css b/dist/static/css/statistics-DIUkgvpT.css new file mode 100644 index 0000000..ab0e51a --- /dev/null +++ b/dist/static/css/statistics-DIUkgvpT.css @@ -0,0 +1 @@ +.content[data-v-6dea4e25]{background-color:#fff}.content[data-v-6dea4e25],.content-flex[data-v-6dea4e25]{padding:20px;width:100%}.content-flex[data-v-6dea4e25]{align-items:center;background-color:#f5f5f5;display:inline-flex;justify-content:space-between;margin-bottom:20px;margin-top:20px;text-align:center} diff --git a/dist/static/css/todoVIew-DWGOajtX.css b/dist/static/css/todoVIew-DWGOajtX.css new file mode 100644 index 0000000..a0f183e --- /dev/null +++ b/dist/static/css/todoVIew-DWGOajtX.css @@ -0,0 +1 @@ +[data-v-2e04afc0] .el-card{--el-card-border-color:none}[data-v-2e04afc0] .el-card .el-progress--line{width:85%}[data-v-2e04afc0] .el-card .el-progress-bar__innerText{font-size:15px}[data-v-2e04afc0] .el-card .el-scrollbar__bar{display:none}[data-v-2e04afc0] .el-card .el-timeline-item{margin:0 6px}.main-content[data-v-2e04afc0]{margin:20px 20px 0!important} diff --git a/dist/static/js/403-CQMSgVWN.js b/dist/static/js/403-CQMSgVWN.js new file mode 100644 index 0000000..c4a5cb0 --- /dev/null +++ b/dist/static/js/403-CQMSgVWN.js @@ -0,0 +1 @@ +import{o as a,c as p,a as d,d as m,b as F,u as c,e as r,w as h,f as e,g as n,h as f,r as M,i as B,j as k}from"./index-CRmU-Qpi.js";const v={width:"251",height:"294"};function y(i,s){return a(),p("svg",v,s[0]||(s[0]=[d('',1)]))}const u={render:y},A={class:"flex justify-center items-center h-[640px]"},C={class:"ml-12"},D={class:"font-medium text-4xl mb-4 dark:text-white",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:80}}},E={class:"mb-4 text-gray-500",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:120}}},g=m({name:"403",__name:"403",setup(i){const s=B();return(_,t)=>{const o=M("el-button"),l=k("motion");return a(),p("div",A,[F(c(u)),r("div",C,[h((a(),p("p",D,t[1]||(t[1]=[e(" 403 ")]))),[[l]]),h((a(),p("p",E,t[2]||(t[2]=[e(" 抱歉,你无权访问该页面 ")]))),[[l]]),h((a(),n(o,{type:"primary",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:160}},onClick:t[0]||(t[0]=x=>c(s).push("/"))},{default:f(()=>t[3]||(t[3]=[e(" 返回首页 ")])),_:1})),[[l]])])])}}});export{g as default}; diff --git a/dist/static/js/404-BAzhlHxi.js b/dist/static/js/404-BAzhlHxi.js new file mode 100644 index 0000000..34c0ca2 --- /dev/null +++ b/dist/static/js/404-BAzhlHxi.js @@ -0,0 +1 @@ +import{o as a,c as h,a as o,d as m,b as r,u as e,e as F,w as l,f as c,g as n,h as f,r as M,i as v,j as B}from"./index-CRmU-Qpi.js";const D={width:"252",height:"294"};function k(i,s){return a(),h("svg",D,s[0]||(s[0]=[o('',1)]))}const C={render:k},y={class:"flex justify-center items-center h-[640px]"},u={class:"ml-12"},E={class:"font-medium text-4xl mb-4 dark:text-white",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:80}}},z={class:"mb-4 text-gray-500",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:120}}},b=m({name:"404",__name:"404",setup(i){const s=v();return(A,t)=>{const d=M("el-button"),p=B("motion");return a(),h("div",y,[r(e(C)),F("div",u,[l((a(),h("p",E,t[1]||(t[1]=[c(" 404 ")]))),[[p]]),l((a(),h("p",z,t[2]||(t[2]=[c(" 抱歉,你访问的页面不存在 ")]))),[[p]]),l((a(),n(d,{type:"primary",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:160}},onClick:t[0]||(t[0]=_=>e(s).push("/"))},{default:f(()=>t[3]||(t[3]=[c(" 返回首页 ")])),_:1})),[[p]])])])}}});export{b as default}; diff --git a/dist/static/js/500-b-pxYusG.js b/dist/static/js/500-b-pxYusG.js new file mode 100644 index 0000000..89eb479 --- /dev/null +++ b/dist/static/js/500-b-pxYusG.js @@ -0,0 +1 @@ +import{o as t,c as h,a as m,d as o,b as r,u as e,e as F,w as l,f as c,g as n,h as f,r as M,i as k,j as v}from"./index-CRmU-Qpi.js";const B={width:"254",height:"294"};function u(d,s){return t(),h("svg",B,s[0]||(s[0]=[m('',1)]))}const C={render:u},D={class:"flex justify-center items-center h-[640px]"},A={class:"ml-12"},y={class:"font-medium text-4xl mb-4 dark:text-white",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:80}}},E={class:"mb-4 text-gray-500",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:120}}},b=o({name:"500",__name:"500",setup(d){const s=k();return(_,a)=>{const i=M("el-button"),p=v("motion");return t(),h("div",D,[r(e(C)),F("div",A,[l((t(),h("p",y,a[1]||(a[1]=[c(" 500 ")]))),[[p]]),l((t(),h("p",E,a[2]||(a[2]=[c(" 抱歉,服务器出错了 ")]))),[[p]]),l((t(),n(i,{type:"primary",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:160}},onClick:a[0]||(a[0]=x=>e(s).push("/"))},{default:f(()=>a[3]||(a[3]=[c(" 返回首页 ")])),_:1})),[[p]])])])}}});export{b as default}; diff --git a/dist/static/js/ChartBar-dEzbL1OS.js b/dist/static/js/ChartBar-dEzbL1OS.js new file mode 100644 index 0000000..725c7eb --- /dev/null +++ b/dist/static/js/ChartBar-dEzbL1OS.js @@ -0,0 +1 @@ +import{_ as m}from"./ChartBar.vue_vue_type_script_setup_true_lang-BE_KgL2n.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/ChartBar.vue_vue_type_script_setup_true_lang-BE_KgL2n.js b/dist/static/js/ChartBar.vue_vue_type_script_setup_true_lang-BE_KgL2n.js new file mode 100644 index 0000000..5ff7c76 --- /dev/null +++ b/dist/static/js/ChartBar.vue_vue_type_script_setup_true_lang-BE_KgL2n.js @@ -0,0 +1 @@ +var d=(i,a,t)=>new Promise((s,r)=>{var n=e=>{try{o(t.next(e))}catch(c){r(c)}},l=e=>{try{o(t.throw(e))}catch(c){r(c)}},o=e=>e.done?s(e.value):Promise.resolve(e.value).then(n,l);o((t=t.apply(i,a)).next())});import{d as p,ah as f,q as h,n as y,fC as m,I as x,o as u,c as b,W as g}from"./index-CRmU-Qpi.js";const D=p({__name:"ChartBar",props:{rechargeData:{type:Array,default:()=>[]},withdrawalData:{type:Array,default:()=>[]},xData:{type:Array,default:()=>[]}},setup(i){const a=i,{isDark:t}=f(),s=h(()=>t.value?"dark":"light"),r=y(),{setOptions:n}=m(r,{theme:s});return x(()=>a,()=>d(this,null,function*(){yield g(),n({container:".bar-card",color:["#41b6ff","#e85f33"],tooltip:{trigger:"axis",axisPointer:{type:"none"}},grid:{top:"20px",left:"50px",right:0},legend:{data:["充值收入","提现支出"],textStyle:{color:"#606266",fontSize:"0.875rem"},bottom:0},xAxis:[{type:"category",data:a.rechargeData,axisLabel:{fontSize:"0.875rem"},axisPointer:{type:"shadow"}}],yAxis:[{type:"value",axisLabel:{fontSize:"0.875rem"},splitLine:{show:!1}}],series:[{name:"充值收入",type:"bar",barWidth:10,itemStyle:{color:"#41b6ff",borderRadius:[10,10,0,0]},data:a.rechargeData},{name:"提现支出",type:"bar",barWidth:10,itemStyle:{color:"#e86033ce",borderRadius:[10,10,0,0]},data:a.withdrawalData}]})}),{deep:!0,immediate:!0}),(l,o)=>(u(),b("div",{ref_key:"chartRef",ref:r,style:{width:"100%",height:"365px"}},null,512))}});export{D as _}; diff --git a/dist/static/js/ChartLine-DfOKTuMl.js b/dist/static/js/ChartLine-DfOKTuMl.js new file mode 100644 index 0000000..e631732 --- /dev/null +++ b/dist/static/js/ChartLine-DfOKTuMl.js @@ -0,0 +1 @@ +import{_ as m}from"./ChartLine.vue_vue_type_script_setup_true_lang-CDrbWLFd.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/ChartLine.vue_vue_type_script_setup_true_lang-CDrbWLFd.js b/dist/static/js/ChartLine.vue_vue_type_script_setup_true_lang-CDrbWLFd.js new file mode 100644 index 0000000..467fe21 --- /dev/null +++ b/dist/static/js/ChartLine.vue_vue_type_script_setup_true_lang-CDrbWLFd.js @@ -0,0 +1 @@ +import{d as i,ah as l,q as c,n,fC as p,o as f,c as h}from"./index-CRmU-Qpi.js";const y=i({__name:"ChartLine",props:{data:{type:Array,default:()=>[]},barChartData:{type:Object,default:()=>{}},color:{type:String,default:"#41b6ff"}},setup(a){const e=a,{isDark:o}=l(),r=c(()=>o.value?"dark":"light"),t=n(),{setOptions:s}=p(t,{theme:r,renderer:"svg"});return s({container:".line-card",legend:{icon:"circle",top:"5%",right:"5%",itemWidth:6,itemGap:20,textStyle:{color:"#556677"}},xAxis:[{type:"category",data:e.barChartData.xData,axisLine:{lineStyle:{color:"#90979c"}},splitLine:{show:!1},axisTick:{show:!1},splitArea:{show:!1}}],grid:{top:"50px",bottom:"50px",left:"50px",right:0},tooltip:{trigger:"axis",axisPointer:{label:{show:!0,backgroundColor:"#fff",color:"#556677",borderColor:"rgba(0,0,0,0)",shadowColor:"rgba(0,0,0,0)",shadowOffsetY:0},lineStyle:{width:0}},backgroundColor:"#fff",textStyle:{color:"#5c6c7c"},padding:[10,10],extraCssText:"box-shadow: 1px 0 2px 0 rgba(163,163,163,0.5)"},yAxis:[{type:"value",axisTick:{show:!1},axisLine:{show:!0,lineStyle:{color:"#DCE2E8"}},axisLabel:{textStyle:{color:"#556677"}},splitLine:{show:!1}}],series:e.barChartData.seriesData}),(d,x)=>(f(),h("div",{ref_key:"chartRef",ref:t,style:{width:"100%","min-height":"32.4vh"}},null,512))}});export{y as _}; diff --git a/dist/static/js/ChartRound-BaGFXPML.js b/dist/static/js/ChartRound-BaGFXPML.js new file mode 100644 index 0000000..01c4473 --- /dev/null +++ b/dist/static/js/ChartRound-BaGFXPML.js @@ -0,0 +1 @@ +import{_ as m}from"./ChartRound.vue_vue_type_script_setup_true_lang-BOvu6zMf.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/ChartRound.vue_vue_type_script_setup_true_lang-BOvu6zMf.js b/dist/static/js/ChartRound.vue_vue_type_script_setup_true_lang-BOvu6zMf.js new file mode 100644 index 0000000..f6790ae --- /dev/null +++ b/dist/static/js/ChartRound.vue_vue_type_script_setup_true_lang-BOvu6zMf.js @@ -0,0 +1 @@ +import{d as s,ah as c,q as l,n as d,fC as h,o as p,c as u}from"./index-CRmU-Qpi.js";const y=s({__name:"ChartRound",props:{barChartData:{type:Array,default:()=>[]},title:{type:String,default:()=>""},colorList:{type:Array,default:()=>[]}},setup(a){const t=a,{isDark:o}=c(),i=l(()=>o.value?"dark":"light"),e=d(),{setOptions:n}=h(e,{theme:i,renderer:"svg"});return n({container:".line-card",title:{text:t.title,x:"center",y:"center",textStyle:{fontSize:12}},tooltip:{trigger:"item"},series:[{type:"pie",center:["50%","50%"],radius:["24%","40%"],clockwise:!0,avoidLabelOverlap:!0,hoverOffset:15,itemStyle:{normal:{color:function(r){return t.colorList[r.dataIndex]}}},label:{show:!0,position:"outside",formatter:"{a|{b}:{d}%}",rich:{hr:{backgroundColor:"t",borderRadius:3,width:3,height:3,padding:[3,3,0,-12]}}},data:t.barChartData}]}),(r,f)=>(p(),u("div",{ref_key:"chartRef",ref:e,style:{width:"100%","min-height":"20vh"}},null,512))}});export{y as _}; diff --git a/dist/static/js/Financial-DLXohchJ.js b/dist/static/js/Financial-DLXohchJ.js new file mode 100644 index 0000000..a68de52 --- /dev/null +++ b/dist/static/js/Financial-DLXohchJ.js @@ -0,0 +1 @@ +import{aw as a}from"./index-CRmU-Qpi.js";const r=t=>a.request("get","/adminapi/Statistical/get_exchange_list",{params:t}),i=t=>a.request("get","/adminapi/Statistical/get_recharge_list",{params:t}),s=t=>a.request("get","/adminapi/Withdrawal/get_withdraw_list",{params:t}),n=t=>a.request("get","/adminapi/Statistical/admin_recharge_list",{params:t}),c=t=>a.request("post","/adminapi/Withdrawal/withdraw_send",{data:t});export{s as a,n as b,r as c,i as q,c as w}; diff --git a/dist/static/js/Inform-CWr9EIX8.js b/dist/static/js/Inform-CWr9EIX8.js new file mode 100644 index 0000000..ad52984 --- /dev/null +++ b/dist/static/js/Inform-CWr9EIX8.js @@ -0,0 +1 @@ +import{aw as e}from"./index-CRmU-Qpi.js";const s=t=>e.request("get","/adminapi/Inform/report_type_list",{params:t}),a=t=>e.request("post","/adminapi/Inform/report_type_add",{data:t}),n=t=>e.request("post","/adminapi/Inform/report_type_edit",{data:t}),o=t=>e.request("post","/adminapi/Inform/report_type_del",{data:t}),i=t=>e.request("get","/adminapi/Inform/suggest_list",{params:t}),p=t=>e.request("post","/adminapi/Inform/suggest_deal",{data:t}),d=t=>e.request("get","/adminapi/Inform/report_list",{params:t}),u=t=>e.request("post","/adminapi/Inform/report_deal",{data:t});export{d as a,u as b,s as c,a as d,n as e,p as h,i as q,o as r}; diff --git a/dist/static/js/Results-CDWDzDys.js b/dist/static/js/Results-CDWDzDys.js new file mode 100644 index 0000000..d6520d3 --- /dev/null +++ b/dist/static/js/Results-CDWDzDys.js @@ -0,0 +1 @@ +var I=Object.defineProperty,P=Object.defineProperties;var S=Object.getOwnPropertyDescriptors;var h=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var y=(t,a,e)=>a in t?I(t,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[a]=e,_=(t,a)=>{for(var e in a||(a={}))z.call(a,e)&&y(t,e,a[e]);if(h)for(var e of h(a))B.call(a,e)&&y(t,e,a[e]);return t},k=(t,a)=>P(t,S(a));var x=(t,a,e)=>new Promise((r,o)=>{var c=l=>{try{u(e.next(l))}catch(n){o(n)}},d=l=>{try{u(e.throw(l))}catch(n){o(n)}},u=l=>l.done?r(l.value):Promise.resolve(l.value).then(c,d);u((e=e.apply(t,a)).next())});import{_ as V}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{a as N}from"./room-3H8Bx0CI.js";import{d as R,n as s,x as F,r as C,o as m,c as g,P as q,Q as E,b,e as H,U as M,_ as O}from"./index-CRmU-Qpi.js";import"./hooks-ItYVRz1P.js";const Q={class:"viewPage"},T={key:0,class:"content-flex"},U={class:"box"},$=R({__name:"Results",props:["roomId"],setup(t){const a=s([{label:"用户ID",prop:"user_id",type:"input"},{label:"开奖期数",prop:"periods",type:"input"},{label:"礼物ID",prop:"gift_id",type:"input"}]),e=t;s([]);const r=s({user_id:"",gift_id:"",periods:""}),o=s({total:0,pageSize:10,currentPage:1,background:!0}),c=s(),d=s([]),u=s([{label:"今日锁定次数",prop:"locking_num"}]),l=s([{label:"ID",prop:"id"},{label:"期数",prop:"periods"},{label:"锁定ID",prop:"user"},{label:"支付价格",prop:"pay_price"},{label:"礼物ID",prop:"gift_id"},{label:"礼物名称",prop:"gift_name"},{label:"礼物价格",prop:"gift_price"},{label:"锁定数量",prop:"locking_num"},{label:"是否收入背包",prop:"is_send_str"},{label:"创建时间",prop:"createtime"}]),n=i=>x(this,null,function*(){r.value=_({},i);const{data:p,code:v}=yield N(k(_({},i),{page:o.value.currentPage,page_limit:o.value.pageSize,room_id:e.roomId}));v&&(d.value=p.lists,c.value={locking_num:p.locking_num},o.value.total=p.count,o.value.currentPage=p.page)}),L=i=>{o.value.pageSize=i,n(r.value)},w=i=>{o.value.currentPage=i,n(r.value)};return F(()=>{n(r.value)}),(i,p)=>{const v=C("el-statistic"),D=C("pure-table");return m(),g("div",Q,[c.value?(m(),g("div",T,[(m(!0),g(q,null,E(u.value,(f,j)=>(m(),g("div",U,[b(v,{precision:2,"decimal-separator":".",value:c.value[f.prop]||0,suffix:f.tip||"",title:f.label},null,8,["value","suffix","title"]),p[0]||(p[0]=H("span",null,null,-1))]))),256))])):M("",!0),b(V,{class:"pb-2",LabelList:a.value,formData:r.value,onHandleSearch:n},null,8,["LabelList","formData"]),b(D,{class:"mt-5",ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"","row-key":"id",adaptiveConfig:{offsetBottom:108},data:d.value,columns:l.value,pagination:_({},o.value),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:w,onPageSizeChange:L},null,8,["data","columns","pagination"])])}}}),X=O($,[["__scopeId","data-v-929d185e"]]);export{X as default}; diff --git a/dist/static/js/Results-CTbhkdbm.js b/dist/static/js/Results-CTbhkdbm.js new file mode 100644 index 0000000..0ac8810 --- /dev/null +++ b/dist/static/js/Results-CTbhkdbm.js @@ -0,0 +1 @@ +var I=Object.defineProperty,P=Object.defineProperties;var S=Object.getOwnPropertyDescriptors;var h=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var y=(t,a,e)=>a in t?I(t,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[a]=e,_=(t,a)=>{for(var e in a||(a={}))z.call(a,e)&&y(t,e,a[e]);if(h)for(var e of h(a))B.call(a,e)&&y(t,e,a[e]);return t},k=(t,a)=>P(t,S(a));var x=(t,a,e)=>new Promise((s,o)=>{var c=l=>{try{u(e.next(l))}catch(n){o(n)}},d=l=>{try{u(e.throw(l))}catch(n){o(n)}},u=l=>l.done?s(l.value):Promise.resolve(l.value).then(c,d);u((e=e.apply(t,a)).next())});import{_ as V}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{a as N}from"./room-3H8Bx0CI.js";import{d as R,n as r,x as F,r as C,o as m,c as g,P as q,Q as E,b as f,e as H,U as M,_ as O}from"./index-CRmU-Qpi.js";import"./hooks-ItYVRz1P.js";const Q={class:"viewPage"},T={key:0,class:"content-flex"},U={class:"box"},$=R({__name:"Results",props:["roomId"],setup(t){const a=r([{label:"用户ID",prop:"user_id",type:"input"},{label:"开奖期数",prop:"periods",type:"input"},{label:"礼物ID",prop:"gift_id",type:"input"}]),e=t;r([]);const s=r({user_id:"",gift_id:"",periods:""}),o=r({total:0,pageSize:10,currentPage:1,background:!0}),c=r(),d=r([]),u=r([{label:"今日锁定次数",prop:"locking_num"}]),l=r([{label:"ID",prop:"id"},{label:"期数",prop:"periods"},{label:"锁定ID",prop:"user"},{label:"支付价格",prop:"pay_price"},{label:"房间名称",prop:"room_name"},{label:"礼物ID",prop:"gift_id"},{label:"礼物名称",prop:"gift_name"},{label:"礼物价格",prop:"gift_price"},{label:"锁定数量",prop:"locking_num"},{label:"是否收入背包",prop:"is_send_str"},{label:"创建时间",prop:"createtime"}]),n=i=>x(this,null,function*(){s.value=_({},i);const{data:p,code:v}=yield N(k(_({},i),{page:o.value.currentPage,page_limit:o.value.pageSize,room_id:e.roomId}));v&&(d.value=p.lists,c.value={locking_num:p.locking_num},o.value.total=p.count,o.value.currentPage=p.page)}),L=i=>{o.value.pageSize=i,n(s.value)},w=i=>{o.value.currentPage=i,n(s.value)};return F(()=>{n(s.value)}),(i,p)=>{const v=C("el-statistic"),D=C("pure-table");return m(),g("div",Q,[c.value?(m(),g("div",T,[(m(!0),g(q,null,E(u.value,(b,j)=>(m(),g("div",U,[f(v,{precision:2,"decimal-separator":".",value:c.value[b.prop]||0,suffix:b.tip||"",title:b.label},null,8,["value","suffix","title"]),p[0]||(p[0]=H("span",null,null,-1))]))),256))])):M("",!0),f(V,{class:"pb-2",LabelList:a.value,formData:s.value,onHandleSearch:n},null,8,["LabelList","formData"]),f(D,{class:"mt-5",ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"","row-key":"id",adaptiveConfig:{offsetBottom:108},data:d.value,columns:l.value,pagination:_({},o.value),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:w,onPageSizeChange:L},null,8,["data","columns","pagination"])])}}}),X=O($,[["__scopeId","data-v-b5e5334a"]]);export{X as default}; diff --git a/dist/static/js/Turntable-BPqkB4cj.js b/dist/static/js/Turntable-BPqkB4cj.js new file mode 100644 index 0000000..541e1c9 --- /dev/null +++ b/dist/static/js/Turntable-BPqkB4cj.js @@ -0,0 +1 @@ +import{_ as o}from"./Turntable.vue_vue_type_script_setup_true_lang-B_gAyEw_.js";import"./lotteryResults-DJYXQbLC.js";import"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import"./hooks-ItYVRz1P.js";import"./index-CRmU-Qpi.js";import"./blindBox-BqHhL4EW.js";import"./room-3H8Bx0CI.js";export{o as default}; diff --git a/dist/static/js/Turntable-CE26Uy5Z.js b/dist/static/js/Turntable-CE26Uy5Z.js new file mode 100644 index 0000000..9e059e3 --- /dev/null +++ b/dist/static/js/Turntable-CE26Uy5Z.js @@ -0,0 +1 @@ +import{_ as o}from"./Turntable.vue_vue_type_script_setup_true_lang-LSWXEPtD.js";import"./statistics-gtweHPF5.js";import"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import"./hooks-ItYVRz1P.js";import"./index-CRmU-Qpi.js";import"./blindBox-BqHhL4EW.js";import"./room-3H8Bx0CI.js";export{o as default}; diff --git a/dist/static/js/Turntable.vue_vue_type_script_setup_true_lang-B_gAyEw_.js b/dist/static/js/Turntable.vue_vue_type_script_setup_true_lang-B_gAyEw_.js new file mode 100644 index 0000000..250172d --- /dev/null +++ b/dist/static/js/Turntable.vue_vue_type_script_setup_true_lang-B_gAyEw_.js @@ -0,0 +1 @@ +import e from"./lotteryResults-DJYXQbLC.js";import{d as o,o as t,c as r,b as a}from"./index-CRmU-Qpi.js";const s={class:"viewPage"},p=o({__name:"Turntable",setup(c){return(n,_)=>(t(),r("div",s,[a(e)]))}});export{p as _}; diff --git a/dist/static/js/Turntable.vue_vue_type_script_setup_true_lang-LSWXEPtD.js b/dist/static/js/Turntable.vue_vue_type_script_setup_true_lang-LSWXEPtD.js new file mode 100644 index 0000000..ea1c7d7 --- /dev/null +++ b/dist/static/js/Turntable.vue_vue_type_script_setup_true_lang-LSWXEPtD.js @@ -0,0 +1 @@ +import r from"./statistics-gtweHPF5.js";import{d as s,n as e,o,c,e as i,g as m,U as d}from"./index-CRmU-Qpi.js";const l={class:"viewPage"},v=s({__name:"Turntable",props:["roomDetail"],setup(t){const a=t;e([{index:0,name:"转盘统计"},{index:1,name:"开奖记录"}]);const n=e(0);return(p,_)=>(o(),c("div",l,[i("div",null,[n.value===0?(o(),m(r,{key:0,roomId:a.roomDetail.room_id},null,8,["roomId"])):d("",!0)])]))}});export{v as _}; diff --git a/dist/static/js/activities-UkTzwAkp.js b/dist/static/js/activities-UkTzwAkp.js new file mode 100644 index 0000000..1116471 --- /dev/null +++ b/dist/static/js/activities-UkTzwAkp.js @@ -0,0 +1 @@ +import{aw as i}from"./index-CRmU-Qpi.js";const s=t=>i.request("get","/adminapi/Activities/daily_tasks_box_gift_list",{params:t}),a=t=>i.request("get","/adminapi/BlindBox/blind_box_gifts",{params:t}),r=()=>i.request("get","/adminapi/Activities/decorate_list"),n=t=>i.request("get","/adminapi/Activities/daily_tasks_box_config",{params:t}),d=t=>i.request("post","/adminapi/Activities/daily_tasks_box_config_set",{data:t}),o=t=>i.request("post","/adminapi/Activities/gift_bag_add",{data:t}),c=t=>i.request("post","/adminapi/Activities/gift_bag_edit",{data:t}),_=t=>i.request("post","/adminapi/Activities/gift_bag_list_del",{data:t}),u=t=>i.request("get","/adminapi/Activities/first_charge_lists",{params:t}),g=t=>i.request("get","/adminapi/Activities/first_charge_send_list",{params:t}),p=t=>i.request("post","/adminapi/Activities/add_first_charge_type",{data:t}),f=t=>i.request("post","/adminapi/Activities/update_first_charge",{data:t}),q=t=>i.request("post","/adminapi/Activities/del_first_charge",{data:t}),m=t=>i.request("get","/adminapi/Activities/day_drop_send_list",{params:t}),v=t=>i.request("get","/adminapi/Activities/day_drop_gift",{params:t}),A=t=>i.request("post","/adminapi/Activities/day_drop_gift_site",{data:t}),l=t=>i.request("get","/adminapi/Activities/gift_bag_list",{params:t}),y=t=>i.request("post","/adminapi/Activities/gift_bag_add",{data:t}),b=t=>i.request("post","/adminapi/Activities/gift_bag_edit",{data:t}),h=t=>i.request("post","/adminapi/Activities/gift_bag_list_del",{data:t});export{p as a,g as b,l as c,q as d,f as e,h as f,v as g,y as h,b as i,a as j,r as k,m as l,s as m,_ as n,n as o,o as p,u as q,c as r,A as s,d as t}; diff --git a/dist/static/js/add-circle-line-DOJqVT3s.js b/dist/static/js/add-circle-line-DOJqVT3s.js new file mode 100644 index 0000000..2cbe70e --- /dev/null +++ b/dist/static/js/add-circle-line-DOJqVT3s.js @@ -0,0 +1 @@ +const h={width:24,height:24,body:''};export{h as d}; diff --git a/dist/static/js/admin-QtfaJQYK.js b/dist/static/js/admin-QtfaJQYK.js new file mode 100644 index 0000000..439594a --- /dev/null +++ b/dist/static/js/admin-QtfaJQYK.js @@ -0,0 +1 @@ +import{aw as e}from"./index-CRmU-Qpi.js";const n=t=>e.request("get","/adminapi/Admin/index",{params:t}),i=t=>e.request("get","/adminapi/Adminlog/index",{params:t}),d=t=>e.request("post","/adminapi/admin/add",{data:t}),s=t=>e.request("post","/adminapi/Admin/edit",{data:t}),r=t=>e.request("post","/adminapi/Admin/del",{data:t}),o=t=>e.request("get","/adminapi/Admin/detail",{params:t}),m=t=>e.request("get","/adminapi/Adminlog/detail",{params:t});export{d as a,m as b,i as c,r as d,s as e,o as g,n as q}; diff --git a/dist/static/js/adolescent-Dk2B_RUL.js b/dist/static/js/adolescent-Dk2B_RUL.js new file mode 100644 index 0000000..1485616 --- /dev/null +++ b/dist/static/js/adolescent-Dk2B_RUL.js @@ -0,0 +1 @@ +import{aw as e}from"./index-CRmU-Qpi.js";const n=t=>e.request("get","/adminapi/Underage/types_list",{params:t}),s=t=>e.request("post","/adminapi/Underage/types_add",{data:t}),r=t=>e.request("post","/adminapi/Underage/types_edit",{data:t}),d=t=>e.request("post","/adminapi/Underage/types_change_status",{data:t}),i=t=>e.request("post","/adminapi/Underage/types_delete",{data:t}),o=t=>e.request("get","/adminapi/Underage/content_List",{params:t}),p=t=>e.request("get","/adminapi/Underage/content_detail",{params:t}),u=t=>e.request("post","/adminapi/Underage/content_add",{data:t}),c=t=>e.request("post","/adminapi/Underage/content_del",{data:t}),g=t=>e.request("post","/adminapi/Underage/content_edit",{data:t});export{o as a,u as b,i as c,c as d,g as e,s as f,p as g,r as h,n as q,d as u}; diff --git a/dist/static/js/backpack-BEosm8mY.js b/dist/static/js/backpack-BEosm8mY.js new file mode 100644 index 0000000..9129e31 --- /dev/null +++ b/dist/static/js/backpack-BEosm8mY.js @@ -0,0 +1 @@ +import{aw as e}from"./index-CRmU-Qpi.js";const a=t=>e.request("get","/adminapi/User/get_backpack_list",{params:t}),s=t=>e.request("get","/adminapi/User/get_robot_list",{params:t}),o=t=>e.request("post","/adminapi/User/delete_robot",{data:t}),i=()=>e.request("post","/adminapi/User/get_robot_detail");export{s as a,i as c,o as d,a as q}; diff --git a/dist/static/js/banUser-CzmElq7T.js b/dist/static/js/banUser-CzmElq7T.js new file mode 100644 index 0000000..fe1e994 --- /dev/null +++ b/dist/static/js/banUser-CzmElq7T.js @@ -0,0 +1 @@ +import{_ as m}from"./banUser.vue_vue_type_script_setup_true_lang-C6NyfrKW.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/banUser.vue_vue_type_script_setup_true_lang-C6NyfrKW.js b/dist/static/js/banUser.vue_vue_type_script_setup_true_lang-C6NyfrKW.js new file mode 100644 index 0000000..6f20f2f --- /dev/null +++ b/dist/static/js/banUser.vue_vue_type_script_setup_true_lang-C6NyfrKW.js @@ -0,0 +1 @@ +import{d as M,n as V,r as v,o,g as r,h as u,b as l,c as s,P as f,U as n}from"./index-CRmU-Qpi.js";const U={key:1},x=M({__name:"banUser",props:["formInline","userData"],setup(b,{expose:Y}){const _=V(),k=V({type:[{required:!0,message:"请选择封禁类型",trigger:"change"}]}),i=b,e=V(i.formInline?i.formInline:{type:1,timeType:0,status:1});function D(){return _.value}return Y({getRef:D}),(g,a)=>{const m=v("el-radio"),p=v("el-radio-group"),d=v("el-form-item"),y=v("el-date-picker"),T=v("el-form");return o(),r(T,{ref_key:"ruleFormRef",ref:_,model:e.value,rules:k.value,"label-width":"120px"},{default:u(()=>[l(d,{label:"封禁类型",prop:"type"},{default:u(()=>[l(p,{modelValue:e.value.type,"onUpdate:modelValue":a[0]||(a[0]=t=>e.value.type=t)},{default:u(()=>[l(m,{label:"禁用账号",value:1})]),_:1},8,["modelValue"])]),_:1}),e.value.type===1?(o(),s(f,{key:0},[i.userData.status==2?(o(),r(d,{key:0,label:"是否解禁",prop:"status"},{default:u(()=>[l(p,{modelValue:e.value.status,"onUpdate:modelValue":a[1]||(a[1]=t=>e.value.status=t)},{default:u(()=>[l(m,{label:"解封",value:2})]),_:1},8,["modelValue"])]),_:1})):(o(),s(f,{key:1},[l(d,{label:"封禁时间",prop:"timeType"},{default:u(()=>[l(p,{modelValue:e.value.timeType,"onUpdate:modelValue":a[2]||(a[2]=t=>e.value.timeType=t)},{default:u(()=>[l(m,{label:"永久",value:0}),l(m,{label:"设置时间",value:1})]),_:1},8,["modelValue"])]),_:1}),e.value.timeType===1?(o(),r(d,{key:0,label:"禁用时间",prop:"time"},{default:u(()=>[l(y,{type:"date",placeholder:"选择日期",modelValue:e.value.time,"onUpdate:modelValue":a[3]||(a[3]=t=>e.value.time=t),style:{width:"100%"},format:"YYYY-MM-DD","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1})):n("",!0)],64))],64)):n("",!0),e.value.type===2?(o(),s("div",U,[i.userData.is_block_mobile===1?(o(),r(d,{key:0,label:"是否解禁",prop:"status"},{default:u(()=>[l(p,{modelValue:e.value.status,"onUpdate:modelValue":a[4]||(a[4]=t=>e.value.status=t)},{default:u(()=>[l(m,{label:"解封",value:2})]),_:1},8,["modelValue"])]),_:1})):(o(),s(f,{key:1},[l(d,{label:"封禁时间",prop:"timeType"},{default:u(()=>[l(p,{modelValue:e.value.timeType,"onUpdate:modelValue":a[5]||(a[5]=t=>e.value.timeType=t)},{default:u(()=>[l(m,{label:"永久",value:0}),l(m,{label:"设置时间",value:1})]),_:1},8,["modelValue"])]),_:1}),e.value.timeType===1?(o(),r(d,{key:0,label:"禁用时间",prop:"time"},{default:u(()=>[l(y,{type:"date",placeholder:"选择日期",modelValue:e.value.time,"onUpdate:modelValue":a[6]||(a[6]=t=>e.value.time=t),style:{width:"100%"},format:"YYYY-MM-DD","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1})):n("",!0)],64))])):n("",!0),e.value.type===3?(o(),s(f,{key:2},[i.userData.is_block_ip===1?(o(),r(d,{key:0,label:"是否解禁",prop:"status"},{default:u(()=>[l(p,{modelValue:e.value.status,"onUpdate:modelValue":a[7]||(a[7]=t=>e.value.status=t)},{default:u(()=>[l(m,{label:"解封",value:2})]),_:1},8,["modelValue"])]),_:1})):(o(),s(f,{key:1},[l(d,{label:"封禁时间",prop:"timeType"},{default:u(()=>[l(p,{modelValue:e.value.timeType,"onUpdate:modelValue":a[8]||(a[8]=t=>e.value.timeType=t)},{default:u(()=>[l(m,{label:"永久",value:0}),l(m,{label:"设置时间",value:1})]),_:1},8,["modelValue"])]),_:1}),e.value.timeType===1?(o(),r(d,{key:0,label:"禁用时间",prop:"time"},{default:u(()=>[l(y,{type:"date",placeholder:"选择日期",modelValue:e.value.time,"onUpdate:modelValue":a[9]||(a[9]=t=>e.value.time=t),style:{width:"100%"},format:"YYYY-MM-DD","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1})):n("",!0)],64))],64)):n("",!0)]),_:1},8,["model","rules"])}}});export{x as _}; diff --git a/dist/static/js/blindBox-BqHhL4EW.js b/dist/static/js/blindBox-BqHhL4EW.js new file mode 100644 index 0000000..a8ded77 --- /dev/null +++ b/dist/static/js/blindBox-BqHhL4EW.js @@ -0,0 +1 @@ +import{aw as t}from"./index-CRmU-Qpi.js";const i=()=>t.request("get","/adminapi/BlindBox/blind_box_gifts"),s=e=>t.request("get","/adminapi/BlindBox/open_record",{params:e}),r=e=>t.request("get","/adminapi/BlindBox/blind_box_type",{params:e}),o=e=>t.request("get","/adminapi/BlindBox/blind_box_lists",{params:e}),a=e=>t.request("post","/adminapi/BlindBox/reset_set",{data:e}),d=e=>t.request("get","/adminapi/BlindBox/rule_detail",{params:e}),u=e=>t.request("post","/adminapi/BlindBox/set_rule",{data:e}),l=e=>t.request("post","/adminapi/BlindBox/blind_box_add",{data:e}),B=e=>t.request("post","/adminapi/BlindBox/blind_box_edit",{data:e}),x=e=>t.request("post","/adminapi/BlindBox/blind_box_del",{data:e}),p=e=>t.request("get","/adminapi/BlindBox/xunlehui_rule_detail",{params:e}),_=e=>t.request("get","/adminapi/BlindBox/blind_box_gifts",{params:e}),q=e=>t.request("post","/adminapi/BlindBox/xunlehui_set_rule",{data:e});export{o as a,r as b,x as c,l as d,B as e,s as f,d as g,_ as h,p as i,q as j,i as q,a as r,u as s}; diff --git a/dist/static/js/chart-jUPx5-VX.js b/dist/static/js/chart-jUPx5-VX.js new file mode 100644 index 0000000..86f12c8 --- /dev/null +++ b/dist/static/js/chart-jUPx5-VX.js @@ -0,0 +1 @@ +import{_ as d}from"./ChartBar.vue_vue_type_script_setup_true_lang-BE_KgL2n.js";import{d as i,r as l,o as h,c as _,b as o,h as m,e,u as p,_ as D}from"./index-CRmU-Qpi.js";const w={style:{width:"100%"},class:"mt-3"},f={class:"flex justify-between items-start mt-3"},u=i({__name:"chart",props:["allData"],setup(c){const s=c,a={withdrawalData:[],rechargeData:[],xData:[]};return s.allData&&s.allData.income_expend.forEach(t=>{a.withdrawalData.push(t.withdraw_expend),a.rechargeData.push(t.recharge_income),a.xData.push(t.year_month)}),(t,r)=>{const n=l("el-card");return h(),_("div",w,[o(n,{shadow:"never"},{default:m(()=>[r[0]||(r[0]=e("div",{class:"flex justify-between"},[e("span",{class:"text-md font-medium"},"收支情况")],-1)),e("div",f,[o(p(d),{rechargeData:a.rechargeData,xData:a.xData,withdrawalData:a.withdrawalData},null,8,["rechargeData","xData","withdrawalData"])])]),_:1})])}}}),v=D(u,[["__scopeId","data-v-a89f1416"]]);export{v as default}; diff --git a/dist/static/js/columns-Dy-3Rh5O.js b/dist/static/js/columns-Dy-3Rh5O.js new file mode 100644 index 0000000..1d80cc6 --- /dev/null +++ b/dist/static/js/columns-Dy-3Rh5O.js @@ -0,0 +1 @@ +import{fL as o,a5 as f,o as p,c as m,e as h,n as c,t as b,x as v,b as l,f as g,r as M,J as L}from"./index-CRmU-Qpi.js";function r(t,e){return Math.floor(Math.random()*(e-t+1))+t}const y=["周日","周一","周二","周三","周四","周五","周六"],i=Array.from({length:30}).map((t,e)=>({id:e+1,requiredNumber:r(13500,19999),questionNumber:r(12600,16999),resolveNumber:r(13500,17999),satisfaction:r(95,100),date:o().subtract(e,"day").format("YYYY-MM-DD")}));f(i).slice(0,14).map((t,e)=>Object.assign(t,{date:`${o().subtract(e,"day").format("YYYY-MM-DD")} ${y[o().subtract(e,"day").day()]}`}));const x={width:24,height:24,body:''},w={width:24,height:24,body:''},C={xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",class:"empty-icon",viewBox:"0 0 1024 1024"};function N(t,e){return p(),m("svg",C,e[0]||(e[0]=[h("path",{d:"M855.6 427.2H168.5c-12.7 0-24.4 6.9-30.6 18L4.4 684.7C1.5 689.9 0 695.8 0 701.8v287.1c0 19.4 15.7 35.1 35.1 35.1H989c19.4 0 35.1-15.7 35.1-35.1V701.8c0-6-1.5-11.8-4.4-17.1L886.2 445.2c-6.2-11.1-17.9-18-30.6-18M673.4 695.6c-16.5 0-30.8 11.5-34.3 27.7-12.7 58.5-64.8 102.3-127.2 102.3s-114.5-43.8-127.2-102.3c-3.5-16.1-17.8-27.7-34.3-27.7H119c-26.4 0-43.3-28-31.1-51.4l81.7-155.8c6.1-11.6 18-18.8 31.1-18.8h622.4c13 0 25 7.2 31.1 18.8l81.7 155.8c12.2 23.4-4.7 51.4-31.1 51.4zm146.5-486.1c-1-1.8-2.1-3.7-3.2-5.5-9.8-16.6-31.1-22.2-47.8-12.6L648.5 261c-17 9.8-22.7 31.6-12.6 48.4.9 1.4 1.7 2.9 2.5 4.4 9.5 17 31.2 22.8 48 13L807 257.3c16.7-9.7 22.4-31 12.9-47.8m-444.5 51.6L255 191.6c-16.7-9.6-38-4-47.8 12.6-1.1 1.8-2.1 3.6-3.2 5.5-9.5 16.8-3.8 38.1 12.9 47.8L337.3 327c16.9 9.7 38.6 4 48-13.1.8-1.5 1.7-2.9 2.5-4.4 10.2-16.8 4.5-38.6-12.4-48.4M512 239.3h2.5c19.5.3 35.5-15.5 35.5-35.1v-139c0-19.3-15.6-34.9-34.8-35.1h-6.4C489.6 30.3 474 46 474 65.2v139c0 19.5 15.9 35.4 35.5 35.1z"},null,-1)]))}const Y={render:N};function H(){const t=c([]),e=c(!0),u=[{sortable:!0,label:"序号",prop:"id"},{sortable:!0,label:"需求人数",prop:"requiredNumber",filterMultiple:!1,filterClassName:"pure-table-filter",filters:[{text:"≥16000",value:"more"},{text:"<16000",value:"less"}],filterMethod:(a,{requiredNumber:n})=>a==="more"?n>=16e3:n<16e3},{sortable:!0,label:"提问数量",prop:"questionNumber"},{sortable:!0,label:"解决数量",prop:"resolveNumber"},{sortable:!0,label:"用户满意度",minWidth:100,prop:"satisfaction",cellRenderer:({row:a})=>l("div",{class:"flex justify-center w-full"},[l("span",{class:"flex items-center w-[60px]"},[l("span",{class:"ml-auto mr-2"},[a.satisfaction,g("%")]),l(M("iconifyIconOffline"),{icon:a.satisfaction>98?w:x,color:"#e85f33"},null)])])},{sortable:!0,label:"统计日期",prop:"date"},{label:"操作",fixed:"right",slot:"operation"}],s=b({pageSize:10,currentPage:1,layout:"prev, pager, next",total:0,align:"center"});function d(a){e.value=!0,L(300).then(()=>{e.value=!1})}return v(()=>{t.value=i,s.total=t.value.length,e.value=!1}),{Empty:Y,loading:e,columns:u,dataList:t,pagination:s,onCurrentChange:d}}export{H as useColumns}; diff --git a/dist/static/js/dark-DdIoJ4ZY.js b/dist/static/js/dark-DdIoJ4ZY.js new file mode 100644 index 0000000..c811ce3 --- /dev/null +++ b/dist/static/js/dark-DdIoJ4ZY.js @@ -0,0 +1 @@ +var E=(t,e,a)=>new Promise((o,i)=>{var m=r=>{try{h(a.next(r))}catch(d){i(d)}},g=r=>{try{h(a.throw(r))}catch(d){i(d)}},h=r=>r.done?o(r.value):Promise.resolve(r.value).then(m,g);h((a=a.apply(t,e)).next())});import{ad as H,q as C,aB as I,F as X,s as _,l as $,N as T,p as R,m as S,a8 as ee,n as M,aC as te,B as x,aD as K,aE as oe,aF as ae,aG as se,y as le,i as ne,aH as re,aI as ie,G as ue,v as ce,$ as he,Y as N,ax as A,aA as de,E as pe,aJ as me,o as Y,c as V,e as Q}from"./index-CRmU-Qpi.js";import{u as z}from"./epTheme-Dbh1KLs6.js";function ke(){const{$storage:t,$config:e}=H(),a=()=>{var m,g,h,r,d,f,b,w,k,F,l,n,c,p,u;I().multiTagsCache&&(!t.tags||t.tags.length===0)&&(t.tags=X),t.layout||(t.layout={layout:(m=e==null?void 0:e.Layout)!=null?m:"vertical",theme:(g=e==null?void 0:e.Theme)!=null?g:"light",darkMode:(h=e==null?void 0:e.DarkMode)!=null?h:!1,sidebarStatus:(r=e==null?void 0:e.SidebarStatus)!=null?r:!0,epThemeColor:(d=e==null?void 0:e.EpThemeColor)!=null?d:"#409EFF",themeColor:(f=e==null?void 0:e.Theme)!=null?f:"light",overallStyle:(b=e==null?void 0:e.OverallStyle)!=null?b:"light"}),t.configure||(t.configure={grey:(w=e==null?void 0:e.Grey)!=null?w:!1,weak:(k=e==null?void 0:e.Weak)!=null?k:!1,hideTabs:(F=e==null?void 0:e.HideTabs)!=null?F:!1,hideFooter:(l=e.HideFooter)!=null?l:!0,showLogo:(n=e==null?void 0:e.ShowLogo)!=null?n:!0,showModel:(c=e==null?void 0:e.ShowModel)!=null?c:"smart",multiTagsCache:(p=e==null?void 0:e.MultiTagsCache)!=null?p:!1,stretch:(u=e==null?void 0:e.Stretch)!=null?u:!1})},o=C(()=>t==null?void 0:t.layout.layout),i=C(()=>t.layout);return{layout:o,layoutTheme:i,initStorage:a}}const ve=$({id:"pure-app",state:()=>{var t,e,a,o;return{sidebar:{opened:(e=(t=T().getItem(`${R()}layout`))==null?void 0:t.sidebarStatus)!=null?e:S().SidebarStatus,withoutAnimation:!1,isClickCollapse:!1},layout:(o=(a=T().getItem(`${R()}layout`))==null?void 0:a.layout)!=null?o:S().Layout,device:ee()?"mobile":"desktop",viewportSize:{width:document.documentElement.clientWidth,height:document.documentElement.clientHeight}}},getters:{getSidebarStatus(t){return t.sidebar.opened},getDevice(t){return t.device},getViewportWidth(t){return t.viewportSize.width},getViewportHeight(t){return t.viewportSize.height}},actions:{TOGGLE_SIDEBAR(t,e){const a=T().getItem(`${R()}layout`);t&&e?(this.sidebar.withoutAnimation=!0,this.sidebar.opened=!0,a.sidebarStatus=!0):!t&&e?(this.sidebar.withoutAnimation=!0,this.sidebar.opened=!1,a.sidebarStatus=!1):!t&&!e&&(this.sidebar.withoutAnimation=!1,this.sidebar.opened=!this.sidebar.opened,this.sidebar.isClickCollapse=!this.sidebar.opened,a.sidebarStatus=this.sidebar.opened),T().setItem(`${R()}layout`,a)},toggleSideBar(t,e){return E(this,null,function*(){yield this.TOGGLE_SIDEBAR(t,e)})},toggleDevice(t){this.device=t},setLayout(t){this.layout=t},setViewportSize(t){this.viewportSize=t},setSortSwap(t){this.sortSwap=t}}});function L(){return ve(_)}function We(){var k,F;const{layoutTheme:t,layout:e}=ke(),a=M([{color:"#ffffff",themeColor:"light"},{color:"#1b2a47",themeColor:"default"},{color:"#722ed1",themeColor:"saucePurple"},{color:"#eb2f96",themeColor:"pink"},{color:"#f5222d",themeColor:"dusk"},{color:"#fa541c",themeColor:"volcano"},{color:"#13c2c2",themeColor:"mingQing"},{color:"#52c41a",themeColor:"auroraGreen"}]),{$storage:o}=H(),i=M((k=o==null?void 0:o.layout)==null?void 0:k.darkMode),m=M((F=o==null?void 0:o.layout)==null?void 0:F.overallStyle),g=document.documentElement;function h(l,n,c){const p=c||document.body;let{className:u}=p;u=u.replace(n,"").trim(),p.className=l?`${u} ${n}`:u}function r(l=(c=>(c=S().Theme)!=null?c:"light")(),n=!0){var u,W;t.value.theme=l,document.documentElement.setAttribute("data-theme",l);const p=o.layout.themeColor;if(o.layout={layout:e.value,theme:l,darkMode:i.value,sidebarStatus:(u=o.layout)==null?void 0:u.sidebarStatus,epThemeColor:(W=o.layout)==null?void 0:W.epThemeColor,themeColor:n?l:p,overallStyle:m.value},l==="default"||l==="light")f(S().EpThemeColor);else{const O=a.value.find(B=>B.themeColor===l);f(O.color)}}function d(l,n,c){document.documentElement.style.setProperty(`--el-color-primary-${l}-${n}`,i.value?ae(c,n/10):se(c,n/10))}const f=l=>{z().setEpThemeColor(l),document.documentElement.style.setProperty("--el-color-primary",l);for(let n=1;n<=2;n++)d("dark",n,l);for(let n=1;n<=9;n++)d("light",n,l)};function b(l){m.value=l,z().epTheme==="light"&&i.value?r("default",!1):r(z().epTheme,!1),i.value?document.documentElement.classList.add("dark"):(o.layout.themeColor==="light"&&r("light",!1),document.documentElement.classList.remove("dark"))}function w(){te(),T().clear();const{Grey:l,Weak:n,MultiTagsCache:c,EpThemeColor:p,Layout:u}=S();L().setLayout(u),f(p),x().multiTagsCacheChange(c),h(l,"html-grey",document.querySelector("html")),h(n,"html-weakness",document.querySelector("html")),K.push("/login"),x().handleTags("equal",[...X]),oe()}return{body:g,dataTheme:i,overallStyle:m,layoutTheme:t,themeColors:a,onReset:w,toggleClass:h,dataThemeChange:b,setEpThemeColor:f,setLayoutThemeColor:r}}function Ce(t){return{all:t=t||new Map,on:function(e,a){var o=t.get(e);o?o.push(a):t.set(e,[a])},off:function(e,a){var o=t.get(e);o&&(a?o.splice(o.indexOf(a)>>>0,1):t.set(e,[]))},emit:function(e,a){var o=t.get(e);o&&o.slice().map(function(i){i(a)}),(o=t.get("*"))&&o.slice().map(function(i){i(e,a)})}}}const D=Ce(),fe="data:image/jpeg;base64,UklGRmYOAABXRUJQVlA4IFoOAAAQPQCdASqgAKAAPpFAmUmlo6IhJ7QNCLASCWcA01jzvtXkd+e8PfQR8n9x+YE0x/jewXtJ/evELd/2hfe/wANTLxF7AH6relXfsfhfUA/mv+C/8vtG/5fk2+r/YP8tr2Nfux7QH7SoPowKWqebxRdiSHmrH8GFmBdIomdQIFF4frYQyE//T/aGcL3+FRAkAsiuczHtKa13CwIplr9pJQkxHn6ANFik/bKaRSqBaWkRgZ1jh/CKclp/V7mWRVVkZtXuB9i5QNP3rELhaIyov6wkHur5Zueg2P04hxkPepJNFYretFoB1NkIY7/S3u3VF6QCWL0eM1hdGC/WMWKIaWlIRB+fifyD3RvAl91QkNzBHHir2n2PVeGljtpHNKa87Ps/EYFB4EScf4nGL0YoOtbdH5X0V2OjhpnWbBjdQIobbs4q7uAl2a2LIgZOZ65jJsHs1Heo1DjB73+mjiLReeTZkKEUBBIhMxZ4mdHjjABgM3tRn8RuRMVQoAbuRVU52V5KlBoOWh0MoFiIMPJhdOaxyiQHEr6MhqT7XWb5jfyVZbOju3jArSRoyOI+In9TMPPYBMp3x1vArBF1qI0lHOb1xt08T4czftQuCLu9BwUhWG6cjgOWCabYAF+e//CwbN1AiH1KHBM62ZWe0lMJnhVy2AD++XBzXfv79+t+pJgVvG1naB1H06Sg6pYuzt1EvxX6VV/5RXZDm6nH7+N3cwTDdWJPzFynYWmIqmRc/SGEl7M7Mc17zOwogO0BSOt01PGkPaVRm2qXNnNWzc+RBKlkovHtV/nvibtCfnpoZK10LLnjvYpOMQv2TLCgJUVYChBNMuRep2WXoXD8NGTDoIzQhuatUuGxTera6mkefZ3ygiMk4P0lawFNMzCcIQP5kYiaY9c5nQNMIXeRvm4A0aqV8U/CQ2gsrmdDNKMipBok4Bghn6Xvec/sPimTL2Ho5ELLyUYS9Njnp4FW/kQHZolgZnjS1JSyHKAPmZg/QAbp+qamI9Ur0rU6DW8dDpZFqXTkXY65LWdahg74949cv76FOUjR5v4NdEvTYBhnc+WsU++d3vQ+a4+Vx00rpSyc5ywCKpKIX7wSS26lNDcz/DcFsJvQ7neCtFbpHR1zZz0Nd3LzVarYEnauSDl2MqKVJvojwJLQOfXAbQqpiSHZtFfHXpKOCWrRvxI0wEZtvzPDUYePboLfDNqQFppbe/K12VqUevBGtK3Ob1BnD4XfK4YDdpcek8ieZmTcoWjJdOEAFNej3aNFbfTkERj+ib2JDisrUCplP0J1G4njZ6NTnzLCaAfjm3NAHNMhJFuAI1OOKbXVfdnXN1jZ7YSIJjdQeFEPITgVaeGs21zGKAt7lwGUW5PTyc3yWNIFsWGnenKSVabwJwKTsQeHM4mrC1iMBjRDil7h20+x6W/ukY7OQR1XDxoKfibgxjETjG0zvthrTox5k48ckEkkYetqZN1kthv2lDTwVw3yBDzt4vEyAUZqGSgWP3q3ywW7OWbvBD6Bv1Yj6X2eaHzhk/pxVP3hG2FixLNWJozKm4RD/5hkudfV9f1uNm3XeOqXX+NkisvS83dDJnxlCQC9vn1vyLn1BNunli1ypaQiE9o98igeadov47N6Q/bz7sb1rYOmR99flxWQWUfRsSuzSM1vVhqJEZpXVndPnWy1WV/8H8D5baEiDFO5vO6AaF+Ufse0ehrB/8GdYRuXBbcbnWwSyemeh3pSSYAFgxpfvZ8x/tlwDrlkrFmq+51YXy9EEtxOBoHU3ZUWWWqxM2Szk9zG5YXW6fwSD8UUGZ07WUF+xiWJkPgSo5S9lapbgj4Wm/tUsCKEhj613cD/x2iJPabea/0Lvv/Cg1c+p34kPzQEtgckaKL4bGZGm+A2+PjO/LYy3oL5joiP5O5qr+3lC4PhKIXaYcOXbeo/Xtlk+0PpIGEu2F6DMh1esjdFqVKkjONOB0DnmYZR17ijPOFdTguuqxyH0oEdLi2kZHH4vS45nhBM3Xfg70eJciq0VrD4Tqm7fTc6RKotg3znZ7FCKzbNo5qHuHj5wRUhHJ+fidpGFsmA+w59eo6a7db0tP8yHgq15AqcwTnJPd4/kK7dkZJNjuyxtqd9AIgSaq9QVJ5/3n8NMRnrkUJwbsWOw2sGHUenxnkeHOQZZkhaMCz0n92N/3iXeeGp7owGsT4enJWvFwvXMFldoxzlVYNPUzpstZAHlQ5AWkrx3weo4b0iK7SHugh3XRHgDV4ehJzcRWWCqnKq7hSTgTmxVYsIn8gWbyJG0AF2Nzj2+/Dyz2EyC9iFArDSkAEuk545YlxtiR7IOLts0KuBqr8Ws04OOdEuOzAKrKGsobT5H5g9eOxTRvULsC3GsLc8xr4e12S1QK4yPndPqCdTHTLfCAO2YhRFwi/nhoVnzUVvhZ0rK+y5kpqb2LhknVF8b9Q8SNjcups0F2b3YoQHjwAkMWuJiVX7XHnANFLmpxCloGcll5g8ZeEjz6vlhRBzCxirPO1rpDIopxdFSHYiq+BajU72wcfine+k4aAPn+8srqIgxcpEQ2/uk/Hf/TnbhbnkcmGk9h+saHQ4S0q9LjtRmHQFacdPLwsog+B0bLl7zOl+s2ZjjQpOIHS0+kKlUd++VmvtnHAoHnvfvs/ii6WWVhFQRW53Qe5/umWspBGJ8VDXOEVXpn1LrKo3yfR0w/YFCwnR8+6N8KVCZEayyBQo2qf4emqKrzYq6X6s/rYDt+Me58dX9iPoKgUC7mAj92ZbrhIOudzWUjCzMyoYK2KnaRNSO8lXws4optMnUvXnas3BLF6Ensul6ketBw2+/SpEj3hbG8toz2875+Fs5wAJ0Lf9tRdvOWwkFoawO0cwKT0614efkhIdbn+FTT2/ZCkMPvf81MOBvspmwVbyj4UQ2aovnN3GzXzqckz+TOUvonjw1VPXOphFuU/lTXPM5leDMfs2yciuUUytTO6JSyt97ir3kFbmWWun5is8nVri/lholwPsJ4ok99NiDUpdEnWmvMmrDRcYteoDspLbjxEE7OmgotjKuqxD8YlD/0XAnuwJm6kHlsUB1iSs++Pjp1gf29GxRXMswejWWMUxMBf2Zu1DY12asrMub8kMSF0BDDlUTtFApTudEaKlr6vGfZUkXTCXFn2ih3N75xzaQAo3eVx57dKEki2dJrg2NaPFOltCnDTU1nJXQk1LjgmntzwHFMPetmxKcDZea/jlkrlwDESXhU8gNDfANkSUezWpL3kxqnrAU0hlepBMyynmYqUcFhtmcO2Y3isiiJsQKWZH+XKR5pRQ1AWXWIVYgCS9sS6TONN3aDTcb3WveDYG8wOo0Wx+gM3gBev+XxZcz2NFunPOiJ9V8BfDQiRBE9Map3Qo1YBpgAo424e2CB6uNz1+iAWSs4sSDIv1sl9bKKeUDQniEEq8oj31CDG10oXeVsGPIGjxCjZL/UGPv71C4she9CylhpmARZVdZ9wau4T02hj5Yi8GVuW0Z8O7Mc/STHD/aOCdcc1v6lMJY39zG3BywQFSPkpRQWj7SQuscVz4bJstvI8XtgIkQCNTaQDEo1BFMkyPWPF+m7zUEca0cZBQmLixRVl79nF2JDR70cMuXpnp0lWPeZhwCW3v9RrfUzQnPY9elxaECohdgbiClGS2AlMBuW5esD36OquyX8QbL+fK/0p+7RN6uRt1K1n+9XXfljfudAObL90vOqBALnBuu4vCuX/crU7isa8rkrk0Yp7QJeXIOk/a/O0MkesoY+E2DmWDgis6aM4aGOT7joJCtn4aJjo7iM47KRwRNMgBo6+b3hVlKP4Nb+JvF/dMLsA1/21FcN7O70icz4JCle9OT+PRxoNMFiI5M6HyVo/FOag1hfBRQ+oCoVwfYKu0UnO5xeV70dHq0GqiVw9wBozRUvN2LCVzsLPmiBhakJpjACs5ko5F9rfg3Xf54JIziaPItBo4Qcr7zioP8VJpUAkGcKaeiRTRFitCe/z3vQxiEyYEU6pcuML+M0Jnk2LU9kc6T3UScwvYRFQc4UeDIsDDUaASYVH86Smz3o0rdQW6vgF+Cd5KzaBj2SrUnD/fdp2iFeWleyCbaiGUEkjgmj/tf5Zaww4YutlUz5eRnoK22pCjF82EFkSSoNZGFeNkA7yBDWE71UVlFzeKaCJC8O4AyMsd9fEsu/Dpz1i81wRBYAHjqbiA/QY2RnUJP4fU/zg74yBsTHw0XL2E+Jj6PSbr5QGNktbdOx038ltTbSUBaq1hb/13OKUiv8PYC3JfsZA4LNYBJ8UD3S4ileKE1VZQMQzpyqGpyPB7kmo8/bKZDn/0lBdNw9Cu3GNH7tFruzrqW/hOvJoCa7aNNbTtC2iZe3XQIZcxc4wRu0E+f/xJTEvcuvx2ulyM2Bf8SagS4zZLdPKYXjN76w0kllQKPTz+W0z0Avcc3BCRIFeocJgUetygM7RjfZRYxTfwhqYlamGRZVCanlqCRcDk2lx4ovK+aPdOYq72J7sXOZ7vaMFSbt/HFljjLCpU/tryA7LZp3eunQ/JHPhcxygbc55rFJ2I47CuqqClgTmDG9Vsk2Q+/3FEWX9kfMEoFQzTICM7k6+z9CHT0F9kPHbQJaFg+ELqZ5/6bQL29sI2SbHVPp14CxcCMqEHOqfRtco+0n9PxFxqGoWTOBhHV61ReW8AZwtUluTkbK3zdwYWZ0RU2wxcwKvu0T46IKNauTJI53g846FULYMq/vkDlRfBhaMVQYRB0NagVHGweebo4/TECoAeXN4+xcs+uv1M/p1rsiOkxAs6QpyumtWaY7HaPAEluYVksoYaE1uOKORuvX8THxoZGYq7CTeXdN0Xkxx16jZ0z1lAKekfcg6Wwrb2vQCp0/RHLQ6rjLI4F64AxnsCt08sa0Q/zIAAAA==",ge="The current routing configuration is incorrect, please check the configuration";function Re(){var U,j;const t=le(),e=L(),a=ne().options.routes,{isFullscreen:o,toggle:i}=re(),{wholeMenus:m}=ie(ue()),g=(j=(U=S())==null?void 0:U.TooltipEffect)!=null?j:"light",h=C(()=>({width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",overflow:"hidden"})),r=C(()=>{var s,v;return N((s=A())==null?void 0:s.avatar)?fe:(v=A())==null?void 0:v.avatar}),d=C(()=>{var s,v,y;return N((s=A())==null?void 0:s.nickname)?(v=A())==null?void 0:v.username:(y=A())==null?void 0:y.nickname}),f=C(()=>d.value?{marginRight:"10px"}:""),b=C(()=>!e.getSidebarStatus),w=C(()=>e.getDevice),{$storage:k,$config:F}=H(),l=C(()=>{var s;return(s=k==null?void 0:k.layout)==null?void 0:s.layout}),n=C(()=>F.Title);function c(s){const v=S().Title;v?document.title=`${s.title} | ${v}`:document.title=s.title}function p(){A().loginOutUsername().then(()=>{A().logOut(),de("退出成功",{type:"success"})})}function u(){var s;K.push((s=pe())==null?void 0:s.path)}function W(){D.emit("openPanel")}function O(){e.toggleSideBar()}function B(s){s==null||s.handleResize()}function J(s){var P;if(!s.children)return console.error(ge);const v=/^http(s?):\/\//,y=(P=s.children[0])==null?void 0:P.path;return v.test(y)?s.path+"/"+y:y}function Z(s){m.value.length===0||q(s)||D.emit("changLayoutRoute",s)}function q(s){return me.includes(s)}function G(){return new URL("data:image/jpeg;base64,UklGRmYOAABXRUJQVlA4IFoOAAAQPQCdASqgAKAAPpFAmUmlo6IhJ7QNCLASCWcA01jzvtXkd+e8PfQR8n9x+YE0x/jewXtJ/evELd/2hfe/wANTLxF7AH6relXfsfhfUA/mv+C/8vtG/5fk2+r/YP8tr2Nfux7QH7SoPowKWqebxRdiSHmrH8GFmBdIomdQIFF4frYQyE//T/aGcL3+FRAkAsiuczHtKa13CwIplr9pJQkxHn6ANFik/bKaRSqBaWkRgZ1jh/CKclp/V7mWRVVkZtXuB9i5QNP3rELhaIyov6wkHur5Zueg2P04hxkPepJNFYretFoB1NkIY7/S3u3VF6QCWL0eM1hdGC/WMWKIaWlIRB+fifyD3RvAl91QkNzBHHir2n2PVeGljtpHNKa87Ps/EYFB4EScf4nGL0YoOtbdH5X0V2OjhpnWbBjdQIobbs4q7uAl2a2LIgZOZ65jJsHs1Heo1DjB73+mjiLReeTZkKEUBBIhMxZ4mdHjjABgM3tRn8RuRMVQoAbuRVU52V5KlBoOWh0MoFiIMPJhdOaxyiQHEr6MhqT7XWb5jfyVZbOju3jArSRoyOI+In9TMPPYBMp3x1vArBF1qI0lHOb1xt08T4czftQuCLu9BwUhWG6cjgOWCabYAF+e//CwbN1AiH1KHBM62ZWe0lMJnhVy2AD++XBzXfv79+t+pJgVvG1naB1H06Sg6pYuzt1EvxX6VV/5RXZDm6nH7+N3cwTDdWJPzFynYWmIqmRc/SGEl7M7Mc17zOwogO0BSOt01PGkPaVRm2qXNnNWzc+RBKlkovHtV/nvibtCfnpoZK10LLnjvYpOMQv2TLCgJUVYChBNMuRep2WXoXD8NGTDoIzQhuatUuGxTera6mkefZ3ygiMk4P0lawFNMzCcIQP5kYiaY9c5nQNMIXeRvm4A0aqV8U/CQ2gsrmdDNKMipBok4Bghn6Xvec/sPimTL2Ho5ELLyUYS9Njnp4FW/kQHZolgZnjS1JSyHKAPmZg/QAbp+qamI9Ur0rU6DW8dDpZFqXTkXY65LWdahg74949cv76FOUjR5v4NdEvTYBhnc+WsU++d3vQ+a4+Vx00rpSyc5ywCKpKIX7wSS26lNDcz/DcFsJvQ7neCtFbpHR1zZz0Nd3LzVarYEnauSDl2MqKVJvojwJLQOfXAbQqpiSHZtFfHXpKOCWrRvxI0wEZtvzPDUYePboLfDNqQFppbe/K12VqUevBGtK3Ob1BnD4XfK4YDdpcek8ieZmTcoWjJdOEAFNej3aNFbfTkERj+ib2JDisrUCplP0J1G4njZ6NTnzLCaAfjm3NAHNMhJFuAI1OOKbXVfdnXN1jZ7YSIJjdQeFEPITgVaeGs21zGKAt7lwGUW5PTyc3yWNIFsWGnenKSVabwJwKTsQeHM4mrC1iMBjRDil7h20+x6W/ukY7OQR1XDxoKfibgxjETjG0zvthrTox5k48ckEkkYetqZN1kthv2lDTwVw3yBDzt4vEyAUZqGSgWP3q3ywW7OWbvBD6Bv1Yj6X2eaHzhk/pxVP3hG2FixLNWJozKm4RD/5hkudfV9f1uNm3XeOqXX+NkisvS83dDJnxlCQC9vn1vyLn1BNunli1ypaQiE9o98igeadov47N6Q/bz7sb1rYOmR99flxWQWUfRsSuzSM1vVhqJEZpXVndPnWy1WV/8H8D5baEiDFO5vO6AaF+Ufse0ehrB/8GdYRuXBbcbnWwSyemeh3pSSYAFgxpfvZ8x/tlwDrlkrFmq+51YXy9EEtxOBoHU3ZUWWWqxM2Szk9zG5YXW6fwSD8UUGZ07WUF+xiWJkPgSo5S9lapbgj4Wm/tUsCKEhj613cD/x2iJPabea/0Lvv/Cg1c+p34kPzQEtgckaKL4bGZGm+A2+PjO/LYy3oL5joiP5O5qr+3lC4PhKIXaYcOXbeo/Xtlk+0PpIGEu2F6DMh1esjdFqVKkjONOB0DnmYZR17ijPOFdTguuqxyH0oEdLi2kZHH4vS45nhBM3Xfg70eJciq0VrD4Tqm7fTc6RKotg3znZ7FCKzbNo5qHuHj5wRUhHJ+fidpGFsmA+w59eo6a7db0tP8yHgq15AqcwTnJPd4/kK7dkZJNjuyxtqd9AIgSaq9QVJ5/3n8NMRnrkUJwbsWOw2sGHUenxnkeHOQZZkhaMCz0n92N/3iXeeGp7owGsT4enJWvFwvXMFldoxzlVYNPUzpstZAHlQ5AWkrx3weo4b0iK7SHugh3XRHgDV4ehJzcRWWCqnKq7hSTgTmxVYsIn8gWbyJG0AF2Nzj2+/Dyz2EyC9iFArDSkAEuk545YlxtiR7IOLts0KuBqr8Ws04OOdEuOzAKrKGsobT5H5g9eOxTRvULsC3GsLc8xr4e12S1QK4yPndPqCdTHTLfCAO2YhRFwi/nhoVnzUVvhZ0rK+y5kpqb2LhknVF8b9Q8SNjcups0F2b3YoQHjwAkMWuJiVX7XHnANFLmpxCloGcll5g8ZeEjz6vlhRBzCxirPO1rpDIopxdFSHYiq+BajU72wcfine+k4aAPn+8srqIgxcpEQ2/uk/Hf/TnbhbnkcmGk9h+saHQ4S0q9LjtRmHQFacdPLwsog+B0bLl7zOl+s2ZjjQpOIHS0+kKlUd++VmvtnHAoHnvfvs/ii6WWVhFQRW53Qe5/umWspBGJ8VDXOEVXpn1LrKo3yfR0w/YFCwnR8+6N8KVCZEayyBQo2qf4emqKrzYq6X6s/rYDt+Me58dX9iPoKgUC7mAj92ZbrhIOudzWUjCzMyoYK2KnaRNSO8lXws4optMnUvXnas3BLF6Ensul6ketBw2+/SpEj3hbG8toz2875+Fs5wAJ0Lf9tRdvOWwkFoawO0cwKT0614efkhIdbn+FTT2/ZCkMPvf81MOBvspmwVbyj4UQ2aovnN3GzXzqckz+TOUvonjw1VPXOphFuU/lTXPM5leDMfs2yciuUUytTO6JSyt97ir3kFbmWWun5is8nVri/lholwPsJ4ok99NiDUpdEnWmvMmrDRcYteoDspLbjxEE7OmgotjKuqxD8YlD/0XAnuwJm6kHlsUB1iSs++Pjp1gf29GxRXMswejWWMUxMBf2Zu1DY12asrMub8kMSF0BDDlUTtFApTudEaKlr6vGfZUkXTCXFn2ih3N75xzaQAo3eVx57dKEki2dJrg2NaPFOltCnDTU1nJXQk1LjgmntzwHFMPetmxKcDZea/jlkrlwDESXhU8gNDfANkSUezWpL3kxqnrAU0hlepBMyynmYqUcFhtmcO2Y3isiiJsQKWZH+XKR5pRQ1AWXWIVYgCS9sS6TONN3aDTcb3WveDYG8wOo0Wx+gM3gBev+XxZcz2NFunPOiJ9V8BfDQiRBE9Map3Qo1YBpgAo424e2CB6uNz1+iAWSs4sSDIv1sl9bKKeUDQniEEq8oj31CDG10oXeVsGPIGjxCjZL/UGPv71C4she9CylhpmARZVdZ9wau4T02hj5Yi8GVuW0Z8O7Mc/STHD/aOCdcc1v6lMJY39zG3BywQFSPkpRQWj7SQuscVz4bJstvI8XtgIkQCNTaQDEo1BFMkyPWPF+m7zUEca0cZBQmLixRVl79nF2JDR70cMuXpnp0lWPeZhwCW3v9RrfUzQnPY9elxaECohdgbiClGS2AlMBuW5esD36OquyX8QbL+fK/0p+7RN6uRt1K1n+9XXfljfudAObL90vOqBALnBuu4vCuX/crU7isa8rkrk0Yp7QJeXIOk/a/O0MkesoY+E2DmWDgis6aM4aGOT7joJCtn4aJjo7iM47KRwRNMgBo6+b3hVlKP4Nb+JvF/dMLsA1/21FcN7O70icz4JCle9OT+PRxoNMFiI5M6HyVo/FOag1hfBRQ+oCoVwfYKu0UnO5xeV70dHq0GqiVw9wBozRUvN2LCVzsLPmiBhakJpjACs5ko5F9rfg3Xf54JIziaPItBo4Qcr7zioP8VJpUAkGcKaeiRTRFitCe/z3vQxiEyYEU6pcuML+M0Jnk2LU9kc6T3UScwvYRFQc4UeDIsDDUaASYVH86Smz3o0rdQW6vgF+Cd5KzaBj2SrUnD/fdp2iFeWleyCbaiGUEkjgmj/tf5Zaww4YutlUz5eRnoK22pCjF82EFkSSoNZGFeNkA7yBDWE71UVlFzeKaCJC8O4AyMsd9fEsu/Dpz1i81wRBYAHjqbiA/QY2RnUJP4fU/zg74yBsTHw0XL2E+Jj6PSbr5QGNktbdOx038ltTbSUBaq1hb/13OKUiv8PYC3JfsZA4LNYBJ8UD3S4ileKE1VZQMQzpyqGpyPB7kmo8/bKZDn/0lBdNw9Cu3GNH7tFruzrqW/hOvJoCa7aNNbTtC2iZe3XQIZcxc4wRu0E+f/xJTEvcuvx2ulyM2Bf8SagS4zZLdPKYXjN76w0kllQKPTz+W0z0Avcc3BCRIFeocJgUetygM7RjfZRYxTfwhqYlamGRZVCanlqCRcDk2lx4ovK+aPdOYq72J7sXOZ7vaMFSbt/HFljjLCpU/tryA7LZp3eunQ/JHPhcxygbc55rFJ2I47CuqqClgTmDG9Vsk2Q+/3FEWX9kfMEoFQzTICM7k6+z9CHT0F9kPHbQJaFg+ELqZ5/6bQL29sI2SbHVPp14CxcCMqEHOqfRtco+0n9PxFxqGoWTOBhHV61ReW8AZwtUluTkbK3zdwYWZ0RU2wxcwKvu0T46IKNauTJI53g846FULYMq/vkDlRfBhaMVQYRB0NagVHGweebo4/TECoAeXN4+xcs+uv1M/p1rsiOkxAs6QpyumtWaY7HaPAEluYVksoYaE1uOKORuvX8THxoZGYq7CTeXdN0Xkxx16jZ0z1lAKekfcg6Wwrb2vQCp0/RHLQ6rjLI4F64AxnsCt08sa0Q/zIAAAA==",import.meta.url).href}return{route:t,title:n,device:w,layout:l,logout:p,routers:a,$storage:k,isFullscreen:o,Fullscreen:ce,ExitFullscreen:he,toggle:i,backTopMenu:u,onPanel:W,getDivStyle:h,changeTitle:c,toggleSideBar:O,menuSelect:Z,handleResize:B,resolvePath:J,getLogo:G,isCollapse:b,pureApp:e,username:d,userAvatar:r,avatarsStyle:f,tooltipEffect:g}}const Fe={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24"};function Ae(t,e){return Y(),V("svg",Fe,e[0]||(e[0]=[Q("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),Q("path",{d:"M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12M11 1h2v3h-2zm0 19h2v3h-2zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05zM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414zm2.121-14.85 1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121zM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414zM23 11v2h-3v-2zM4 11v2H1v-2z"},null,-1)]))}const Qe={render:Ae},Se={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24"};function be(t,e){return Y(),V("svg",Se,e[0]||(e[0]=[Q("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),Q("path",{d:"M11.38 2.019a7.5 7.5 0 1 0 10.6 10.6C21.662 17.854 17.316 22 12.001 22 6.477 22 2 17.523 2 12c0-5.315 4.146-9.661 9.38-9.981"},null,-1)]))}const Oe={render:be};export{We as a,L as b,Oe as c,Qe as d,D as e,ke as f,Re as u}; diff --git a/dist/static/js/decorate-DdTDZW0a.js b/dist/static/js/decorate-DdTDZW0a.js new file mode 100644 index 0000000..77f7163 --- /dev/null +++ b/dist/static/js/decorate-DdTDZW0a.js @@ -0,0 +1 @@ +import{aw as t}from"./index-CRmU-Qpi.js";const r=()=>t.request("get","/adminapi/Decorate/type_array"),s=e=>t.request("get","/adminapi/Decorate/decorate_lists",{params:e}),i=e=>t.request("post","/adminapi/Decorate/add_decorate",{data:e}),o=e=>t.request("post","/adminapi/Decorate/edit_decorate",{data:e}),c=e=>t.request("post","/adminapi/Decorate/delete_decorate",{data:e}),d=e=>t.request("get","/adminapi/Decorate/user_decorate_list",{params:e}),n=e=>t.request("get","/adminapi/Decorate/price_list",{params:e}),p=e=>t.request("post","/adminapi/Decorate/add_price",{data:e}),u=e=>t.request("post","/adminapi/Decorate/edit_price",{data:e}),D=e=>t.request("post","/adminapi/Decorate/delete_price",{data:e}),q=e=>t.request("post","/adminapi/Decorate/give_decorate",{data:e});export{s as a,i as b,n as c,c as d,o as e,D as f,q as g,p as h,u as i,d as j,r as q}; diff --git a/dist/static/js/demo-DDf_ewnH.js b/dist/static/js/demo-DDf_ewnH.js new file mode 100644 index 0000000..b926d39 --- /dev/null +++ b/dist/static/js/demo-DDf_ewnH.js @@ -0,0 +1,159 @@ +var H4=Object.getPrototypeOf;var K4=Reflect.get;var Mf=(ai,ce)=>(ce=Symbol[ai])?ce:Symbol.for("Symbol."+ai),Y4=ai=>{throw TypeError(ai)},XN=Math.pow;var Uf=(ai,ce,Ai)=>K4(H4(ai),Ai,ce);var C=(ai,ce,Ai)=>new Promise((Qe,Pt)=>{var Lt=mi=>{try{Ze(Ai.next(mi))}catch(Wi){Pt(Wi)}},bi=mi=>{try{Ze(Ai.throw(mi))}catch(Wi){Pt(Wi)}},Ze=mi=>mi.done?Qe(mi.value):Promise.resolve(mi.value).then(Lt,bi);Ze((Ai=Ai.apply(ai,ce)).next())}),q4=function(ai,ce){this[0]=ai,this[1]=ce};var vd=ai=>{var ce=ai[Mf("asyncIterator")],Ai=!1,Qe,Pt={};return ce==null?(ce=ai[Mf("iterator")](),Qe=Lt=>Pt[Lt]=bi=>ce[Lt](bi)):(ce=ce.call(ai),Qe=Lt=>Pt[Lt]=bi=>{if(Ai){if(Ai=!1,Lt==="throw")throw bi;return bi}return Ai=!0,{done:!1,value:new q4(new Promise(Ze=>{var mi=ce[Lt](bi);mi instanceof Object||Y4("Object expected"),Ze(mi)}),1)}}),Pt[Mf("iterator")]=()=>Pt,Qe("next"),"throw"in ce?Qe("throw"):Pt.throw=Lt=>{throw Lt},"return"in ce&&Qe("return"),Pt};import{fJ as xf,fK as z4,d as X4,n as Rs,t as J4,x as Q4,am as Z4,o as vs,c as Cs,e as Gi,P as $4,Q as tH,T as eH,f as JN,U as iH,_ as nH}from"./index-CRmU-Qpi.js";var Ih={exports:{}},rH=Ih.exports,QN;function oH(){return QN||(QN=1,function(ai,ce){(function(Ai,Qe){ai.exports=Qe()})(rH,function(){function Ai(t,e){return e.forEach(function(i){i&&typeof i!="string"&&!Array.isArray(i)&&Object.keys(i).forEach(function(n){if(n!=="default"&&!(n in t)){var r=Object.getOwnPropertyDescriptor(i,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return i[n]}})}})}),Object.freeze(t)}var Qe=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof xf!="undefined"?xf:typeof self!="undefined"?self:{};function Pt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Lt=function(t){try{return!!t()}catch(e){return!0}},bi=!Lt(function(){var t=function(){}.bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),Ze=bi,mi=Function.prototype,Wi=mi.call,Gn=Ze&&mi.bind.bind(Wi,Wi),de=Ze?Gn:function(t){return function(){return Wi.apply(t,arguments)}},$e=de({}.isPrototypeOf),Lo=function(t){return t&&t.Math===Math&&t},ie=Lo(typeof globalThis=="object"&&globalThis)||Lo(typeof window=="object"&&window)||Lo(typeof self=="object"&&self)||Lo(typeof Qe=="object"&&Qe)||Lo(typeof Qe=="object"&&Qe)||function(){return this}()||Function("return this")(),Ah=bi,yd=Function.prototype,ci=yd.apply,be=yd.call,fi=typeof Reflect=="object"&&Reflect.apply||(Ah?be.bind(ci):function(){return be.apply(ci,arguments)}),ar=de,Vf=ar({}.toString),Ha=ar("".slice),cr=function(t){return Ha(Vf(t),8,-1)},tD=cr,eD=de,Ka=function(t){if(tD(t)==="Function")return eD(t)},bh=typeof document=="object"&&document.all,Be=bh===void 0&&bh!==void 0?function(t){return typeof t=="function"||t===bh}:function(t){return typeof t=="function"},Id={},wi=!Lt(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),iD=bi,Ad=Function.prototype.call,Ye=iD?Ad.bind(Ad):function(){return Ad.apply(Ad,arguments)},bd={},Ff={}.propertyIsEnumerable,Bf=Object.getOwnPropertyDescriptor,nD=Bf&&!Ff.call({1:2},1);bd.f=nD?function(t){var e=Bf(this,t);return!!e&&e.enumerable}:Ff;var Zr,wd,$r=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},rD=Lt,oD=cr,wh=Object,sD=de("".split),Od=rD(function(){return!wh("z").propertyIsEnumerable(0)})?function(t){return oD(t)==="String"?sD(t,""):wh(t)}:wh,Nd=function(t){return t==null},aD=Nd,cD=TypeError,ko=function(t){if(aD(t))throw new cD("Can't call method on "+t);return t},dD=Od,lD=ko,to=function(t){return dD(lD(t))},uD=Be,gi=function(t){return typeof t=="object"?t!==null:uD(t)},sn={},Oh=sn,Nh=ie,hD=Be,jf=function(t){return hD(t)?t:void 0},Si=function(t,e){return arguments.length<2?jf(Oh[t])||jf(Nh[t]):Oh[t]&&Oh[t][e]||Nh[t]&&Nh[t][e]},Gf=ie.navigator,Wf=Gf&&Gf.userAgent,Pr=Wf?String(Wf):"",Hf=ie,Dh=Pr,Kf=Hf.process,Yf=Hf.Deno,qf=Kf&&Kf.versions||Yf&&Yf.version,zf=qf&&qf.v8;zf&&(wd=(Zr=zf.split("."))[0]>0&&Zr[0]<4?1:+(Zr[0]+Zr[1])),!wd&&Dh&&(!(Zr=Dh.match(/Edge\/(\d+)/))||Zr[1]>=74)&&(Zr=Dh.match(/Chrome\/(\d+)/))&&(wd=+Zr[1]);var Mo=wd,Xf=Mo,pD=Lt,_D=ie.String,Is=!!Object.getOwnPropertySymbols&&!pD(function(){var t=Symbol("symbol detection");return!_D(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Xf&&Xf<41}),Jf=Is&&!Symbol.sham&&typeof Symbol.iterator=="symbol",ED=Si,mD=Be,fD=$e,gD=Object,Ya=Jf?function(t){return typeof t=="symbol"}:function(t){var e=ED("Symbol");return mD(e)&&fD(e.prototype,gD(t))},SD=String,As=function(t){try{return SD(t)}catch(e){return"Object"}},TD=Be,RD=As,vD=TypeError,Hi=function(t){if(TD(t))return t;throw new vD(RD(t)+" is not a function")},CD=Hi,yD=Nd,Dd=function(t,e){var i=t[e];return yD(i)?void 0:CD(i)},Qf=Ye,Zf=Be,$f=gi,ID=TypeError,tg={exports:{}},eg=ie,AD=Object.defineProperty,bD=ie,wD=function(t,e){try{AD(eg,t,{value:e,configurable:!0,writable:!0})}catch(i){eg[t]=e}return e},ig="__core-js_shared__",ng=tg.exports=bD[ig]||wD(ig,{});(ng.versions||(ng.versions=[])).push({version:"3.42.0",mode:"pure",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.42.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Ph=tg.exports,rg=Ph,bs=function(t,e){return rg[t]||(rg[t]=e||{})},OD=ko,ND=Object,dr=function(t){return ND(OD(t))},DD=dr,PD=de({}.hasOwnProperty),ti=Object.hasOwn||function(t,e){return PD(DD(t),e)},LD=de,kD=0,MD=Math.random(),UD=LD(1 .toString),Lh=function(t){return"Symbol("+(t===void 0?"":t)+")_"+UD(++kD+MD,36)},xD=bs,og=ti,VD=Lh,FD=Is,BD=Jf,ws=ie.Symbol,kh=xD("wks"),jD=BD?ws.for||ws:ws&&ws.withoutSetter||VD,Re=function(t){return og(kh,t)||(kh[t]=FD&&og(ws,t)?ws[t]:jD("Symbol."+t)),kh[t]},GD=Ye,sg=gi,ag=Ya,WD=Dd,HD=function(t,e){var i,n;if(Zf(i=t.toString)&&!$f(n=Qf(i,t))||Zf(i=t.valueOf)&&!$f(n=Qf(i,t)))return n;throw new ID("Can't convert object to primitive value")},KD=TypeError,YD=Re("toPrimitive"),qD=function(t,e){if(!sg(t)||ag(t))return t;var i,n=WD(t,YD);if(n){if(i=GD(n,t,e),!sg(i)||ag(i))return i;throw new KD("Can't convert object to primitive value")}return HD(t)},zD=Ya,Mh=function(t){var e=qD(t,"string");return zD(e)?e:e+""},cg=gi,Uh=ie.document,XD=cg(Uh)&&cg(Uh.createElement),xh=function(t){return XD?Uh.createElement(t):{}},JD=xh,dg=!wi&&!Lt(function(){return Object.defineProperty(JD("div"),"a",{get:function(){return 7}}).a!==7}),QD=wi,ZD=Ye,$D=bd,tP=$r,eP=to,iP=Mh,nP=ti,rP=dg,lg=Object.getOwnPropertyDescriptor;Id.f=QD?lg:function(t,e){if(t=eP(t),e=iP(e),rP)try{return lg(t,e)}catch(i){}if(nP(t,e))return tP(!ZD($D.f,t,e),t[e])};var oP=Lt,sP=Be,aP=/#|\.prototype\./,qa=function(t,e){var i=dP[cP(t)];return i===uP||i!==lP&&(sP(e)?oP(e):!!e)},cP=qa.normalize=function(t){return String(t).replace(aP,".").toLowerCase()},dP=qa.data={},lP=qa.NATIVE="N",uP=qa.POLYFILL="P",ug=qa,hP=Hi,pP=bi,_P=Ka(Ka.bind),eo=function(t,e){return hP(t),e===void 0?t:pP?_P(t,e):function(){return t.apply(e,arguments)}},gn={},hg=wi&&Lt(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),EP=gi,mP=String,fP=TypeError,Mi=function(t){if(EP(t))return t;throw new fP(mP(t)+" is not an object")},gP=wi,SP=dg,TP=hg,Pd=Mi,pg=Mh,RP=TypeError,Vh=Object.defineProperty,vP=Object.getOwnPropertyDescriptor,Fh="enumerable",Bh="configurable",jh="writable";gn.f=gP?TP?function(t,e,i){if(Pd(t),e=pg(e),Pd(i),typeof t=="function"&&e==="prototype"&&"value"in i&&jh in i&&!i[jh]){var n=vP(t,e);n&&n[jh]&&(t[e]=i.value,i={configurable:Bh in i?i[Bh]:n[Bh],enumerable:Fh in i?i[Fh]:n[Fh],writable:!1})}return Vh(t,e,i)}:Vh:function(t,e,i){if(Pd(t),e=pg(e),Pd(i),SP)try{return Vh(t,e,i)}catch(n){}if("get"in i||"set"in i)throw new RP("Accessors not supported");return"value"in i&&(t[e]=i.value),t};var CP=gn,yP=$r,Uo=wi?function(t,e,i){return CP.f(t,e,yP(1,i))}:function(t,e,i){return t[e]=i,t},za=ie,IP=fi,AP=Ka,bP=Be,wP=Id.f,OP=ug,Os=sn,NP=eo,Ns=Uo,_g=ti,DP=function(t){var e=function(i,n,r){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(i);case 2:return new t(i,n)}return new t(i,n,r)}return IP(t,this,arguments)};return e.prototype=t.prototype,e},Nt=function(t,e){var i,n,r,o,s,a,c,d,l,u=t.target,h=t.global,p=t.stat,g=t.proto,m=h?za:p?za[u]:za[u]&&za[u].prototype,f=h?Os:Os[u]||Ns(Os,u,{})[u],T=f.prototype;for(o in e)n=!(i=OP(h?o:u+(p?".":"#")+o,t.forced))&&m&&_g(m,o),a=f[o],n&&(c=t.dontCallGetSet?(l=wP(m,o))&&l.value:m[o]),s=n&&c?c:e[o],(i||g||typeof a!=typeof s)&&(d=t.bind&&n?NP(s,za):t.wrap&&n?DP(s):g&&bP(s)?AP(s):s,(t.sham||s&&s.sham||a&&a.sham)&&Ns(d,"sham",!0),Ns(f,o,d),g&&(_g(Os,r=u+"Prototype")||Ns(Os,r,{}),Ns(Os[r],o,s),t.real&&T&&(i||!T[o])&&Ns(T,o,s)))},PP=Math.ceil,LP=Math.floor,kP=Math.trunc||function(t){var e=+t;return(e>0?LP:PP)(e)},MP=kP,Gh=function(t){var e=+t;return e!=e||e===0?0:MP(e)},UP=Gh,xP=Math.max,VP=Math.min,Wh=function(t,e){var i=UP(t);return i<0?xP(i+e,0):VP(i,e)},FP=Gh,BP=Math.min,Eg=function(t){var e=FP(t);return e>0?BP(e,9007199254740991):0},jP=Eg,io=function(t){return jP(t.length)},GP=to,WP=Wh,HP=io,mg=function(t){return function(e,i,n){var r=GP(e),o=HP(r);if(o===0)return!t&&-1;var s,a=WP(n,o);if(t&&i!=i){for(;o>a;)if((s=r[a++])!=s)return!0}else for(;o>a;a++)if((t||a in r)&&r[a]===i)return t||a||0;return!t&&-1}},Hh={includes:mg(!0),indexOf:mg(!1)},KP=Hh.includes;Nt({target:"Array",proto:!0,forced:Lt(function(){return!Array(1).includes()})},{includes:function(t){return KP(this,t,arguments.length>1?arguments[1]:void 0)}});var YP=ie,qP=sn,Sn=function(t,e){var i=qP[t+"Prototype"],n=i&&i[e];if(n)return n;var r=YP[t],o=r&&r.prototype;return o&&o[e]},zP=Sn("Array","includes"),XP=gi,JP=cr,QP=Re("match"),fg=function(t){var e;return XP(t)&&((e=t[QP])!==void 0?!!e:JP(t)==="RegExp")},ZP=fg,$P=TypeError,gg={};gg[Re("toStringTag")]="z";var Kh=String(gg)==="[object z]",tL=Kh,eL=Be,Ld=cr,iL=Re("toStringTag"),nL=Object,rL=Ld(function(){return arguments}())==="Arguments",no=tL?Ld:function(t){var e,i,n;return t===void 0?"Undefined":t===null?"Null":typeof(i=function(r,o){try{return r[o]}catch(s){}}(e=nL(t),iL))=="string"?i:rL?Ld(e):(n=Ld(e))==="Object"&&eL(e.callee)?"Arguments":n},oL=no,sL=String,Ki=function(t){if(oL(t)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return sL(t)},aL=Re("match"),cL=Nt,dL=function(t){if(ZP(t))throw new $P("The method doesn't accept regular expressions");return t},lL=ko,Sg=Ki,uL=function(t){var e=/./;try{"/./"[t](e)}catch(i){try{return e[aL]=!1,"/./"[t](e)}catch(n){}}return!1},hL=de("".indexOf);cL({target:"String",proto:!0,forced:!uL("includes")},{includes:function(t){return!!~hL(Sg(lL(this)),Sg(dL(t)),arguments.length>1?arguments[1]:void 0)}});var pL=Sn("String","includes"),Tg=$e,_L=zP,EL=pL,Yh=Array.prototype,qh=String.prototype,mL=function(t){var e=t.includes;return t===Yh||Tg(Yh,t)&&e===Yh.includes?_L:typeof t=="string"||t===qh||Tg(qh,t)&&e===qh.includes?EL:e},G=Pt(mL),fL=Hi,gL=dr,SL=Od,TL=io,Rg=TypeError,vg="Reduce of empty array with no initial value",Cg=function(t){return function(e,i,n,r){var o=gL(e),s=SL(o),a=TL(o);if(fL(i),a===0&&n<2)throw new Rg(vg);var c=t?a-1:0,d=t?-1:1;if(n<2)for(;;){if(c in s){r=s[c],c+=d;break}if(c+=d,t?c<0:a<=c)throw new Rg(vg)}for(;t?c>=0:a>c;c+=d)c in s&&(r=i(r,s[c],c,o));return r}},RL={left:Cg(!1),right:Cg(!0)},vL=Lt,kd=function(t,e){var i=[][t];return!!i&&vL(function(){i.call(null,e||function(){return 1},1)})},Xa=ie,CL=Pr,yL=cr,Md=function(t){return CL.slice(0,t.length)===t},zh=Md("Bun/")?"BUN":Md("Cloudflare-Workers")?"CLOUDFLARE":Md("Deno/")?"DENO":Md("Node.js/")?"NODE":Xa.Bun&&typeof Bun.version=="string"?"BUN":Xa.Deno&&typeof Deno.version=="object"?"DENO":yL(Xa.process)==="process"?"NODE":Xa.window&&Xa.document?"BROWSER":"REST",Ud=zh==="NODE",IL=RL.left;Nt({target:"Array",proto:!0,forced:!Ud&&Mo>79&&Mo<83||!kd("reduce")},{reduce:function(t){var e=arguments.length;return IL(this,t,e,e>1?arguments[1]:void 0)}});var AL=Sn("Array","reduce"),bL=$e,wL=AL,Xh=Array.prototype,OL=function(t){var e=t.reduce;return t===Xh||bL(Xh,t)&&e===Xh.reduce?wL:e},yg=OL,Tn=Pt(yg),NL=cr,Ja=Array.isArray||function(t){return NL(t)==="Array"},DL=Nt,PL=Ja,LL=de([].reverse),Ig=[1,2];DL({target:"Array",proto:!0,forced:String(Ig)===String(Ig.reverse())},{reverse:function(){return PL(this)&&(this.length=this.length),LL(this)}});var kL=Sn("Array","reverse"),ML=$e,UL=kL,Jh=Array.prototype,xL=function(t){var e=t.reverse;return t===Jh||ML(Jh,t)&&e===Jh.reverse?UL:e},Ag=xL,bg=Pt(Ag),VL=Lh,wg=bs("keys"),xd=function(t){return wg[t]||(wg[t]=VL(t))},FL=!Lt(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),BL=ti,jL=Be,GL=dr,WL=FL,Og=xd("IE_PROTO"),Qh=Object,HL=Qh.prototype,Zh=WL?Qh.getPrototypeOf:function(t){var e=GL(t);if(BL(e,Og))return e[Og];var i=e.constructor;return jL(i)&&e instanceof i?i.prototype:e instanceof Qh?HL:null},KL=de,YL=Hi,qL=gi,zL=function(t){return qL(t)||t===null},XL=String,JL=TypeError,QL=function(t,e,i){try{return KL(YL(Object.getOwnPropertyDescriptor(t,e)[i]))}catch(n){}},ZL=gi,$L=ko,tk=function(t){if(zL(t))return t;throw new JL("Can't set "+XL(t)+" as a prototype")},ek=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,i={};try{(t=QL(Object.prototype,"__proto__","set"))(i,[]),e=i instanceof Array}catch(n){}return function(n,r){return $L(n),tk(r),ZL(n)&&(e?t(n,r):n.__proto__=r),n}}():void 0),Vd={},Fd={},$h=ti,ik=to,nk=Hh.indexOf,rk=Fd,Ng=de([].push),Dg=function(t,e){var i,n=ik(t),r=0,o=[];for(i in n)!$h(rk,i)&&$h(n,i)&&Ng(o,i);for(;e.length>r;)$h(n,i=e[r++])&&(~nk(o,i)||Ng(o,i));return o},tp=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ok=Dg,sk=tp.concat("length","prototype");Vd.f=Object.getOwnPropertyNames||function(t){return ok(t,sk)};var Qa={};Qa.f=Object.getOwnPropertySymbols;var ak=Si,ck=Vd,dk=Qa,lk=Mi,uk=de([].concat),hk=ak("Reflect","ownKeys")||function(t){var e=ck.f(lk(t)),i=dk.f;return i?uk(e,i(t)):e},Pg=ti,pk=hk,_k=Id,Ek=gn,ep={},mk=Dg,fk=tp,Bd=Object.keys||function(t){return mk(t,fk)},gk=wi,Sk=hg,Tk=gn,Rk=Mi,vk=to,Ck=Bd;ep.f=gk&&!Sk?Object.defineProperties:function(t,e){Rk(t);for(var i,n=vk(e),r=Ck(e),o=r.length,s=0;o>s;)Tk.f(t,i=r[s++],n[i]);return t};var jd,Lg=Si("document","documentElement"),yk=Mi,Ik=ep,kg=tp,Ak=Fd,bk=Lg,wk=xh,ip="prototype",np="script",Mg=xd("IE_PROTO"),rp=function(){},Ug=function(t){return"<"+np+">"+t+""},xg=function(t){t.write(Ug("")),t.close();var e=t.parentWindow.Object;return t=null,e},Gd=function(){try{jd=new ActiveXObject("htmlfile")}catch(r){}var t,e,i;Gd=typeof document!="undefined"?document.domain&&jd?xg(jd):(e=wk("iframe"),i="java"+np+":",e.style.display="none",bk.appendChild(e),e.src=String(i),(t=e.contentWindow.document).open(),t.write(Ug("document.F=Object")),t.close(),t.F):xg(jd);for(var n=kg.length;n--;)delete Gd[ip][kg[n]];return Gd()};Ak[Mg]=!0;var Za=Object.create||function(t,e){var i;return t!==null?(rp[ip]=yk(t),i=new rp,rp[ip]=null,i[Mg]=t):i=Gd(),e===void 0?i:Ik.f(i,e)},Ok=gi,Nk=Uo,Vg=Error,Dk=de("".replace),Pk=String(new Vg("zxcasd").stack),Fg=/\n\s*at [^:]*:[^\n]*/,Lk=Fg.test(Pk),kk=$r,Mk=!Lt(function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",kk(1,7)),t.stack!==7)}),Uk=Uo,xk=function(t,e){if(Lk&&typeof t=="string"&&!Vg.prepareStackTrace)for(;e--;)t=Dk(t,Fg,"");return t},Vk=Mk,Bg=Error.captureStackTrace,Ds={},Fk=Ds,Bk=Re("iterator"),jk=Array.prototype,jg=function(t){return t!==void 0&&(Fk.Array===t||jk[Bk]===t)},Gk=no,Gg=Dd,Wk=Nd,Hk=Ds,Kk=Re("iterator"),Wd=function(t){if(!Wk(t))return Gg(t,Kk)||Gg(t,"@@iterator")||Hk[Gk(t)]},Yk=Ye,qk=Hi,zk=Mi,Xk=As,Jk=Wd,Qk=TypeError,op=function(t,e){var i=arguments.length<2?Jk(t):e;if(qk(i))return zk(Yk(i,t));throw new Qk(Xk(t)+" is not iterable")},Zk=Ye,Wg=Mi,$k=Dd,Hg=function(t,e,i){var n,r;Wg(t);try{if(!(n=$k(t,"return"))){if(e==="throw")throw i;return i}n=Zk(n,t)}catch(o){r=!0,n=o}if(e==="throw")throw i;if(r)throw n;return Wg(n),i},t1=eo,e1=Ye,i1=Mi,n1=As,r1=jg,o1=io,Kg=$e,s1=op,a1=Wd,Yg=Hg,c1=TypeError,Hd=function(t,e){this.stopped=t,this.result=e},qg=Hd.prototype,$a=function(t,e,i){var n,r,o,s,a,c,d,l=i&&i.that,u=!(!i||!i.AS_ENTRIES),h=!(!i||!i.IS_RECORD),p=!(!i||!i.IS_ITERATOR),g=!(!i||!i.INTERRUPTED),m=t1(e,l),f=function(R){return n&&Yg(n,"normal",R),new Hd(!0,R)},T=function(R){return u?(i1(R),g?m(R[0],R[1],f):m(R[0],R[1])):g?m(R,f):m(R)};if(h)n=t.iterator;else if(p)n=t;else{if(!(r=a1(t)))throw new c1(n1(t)+" is not iterable");if(r1(r)){for(o=0,s=o1(t);s>o;o++)if((a=T(t[o]))&&Kg(qg,a))return a;return new Hd(!1)}n=s1(t,r)}for(c=h?t.next:n.next;!(d=e1(c,n)).done;){try{a=T(d.value)}catch(R){Yg(n,"throw",R)}if(typeof a=="object"&&a&&Kg(qg,a))return a}return new Hd(!1)},d1=Ki,l1=Nt,u1=$e,h1=Zh,Kd=ek,p1=function(t,e,i){for(var n=pk(e),r=Ek.f,o=_k.f,s=0;s2&&_1(i,arguments[2]);var r=[];return m1(t,S1,{that:r}),sp(i,"errors",r),i};Kd?Kd(Ps,Yd):p1(Ps,Yd,{name:!0});var cp=Ps.prototype=zg(Yd.prototype,{constructor:ap(1,Ps),message:ap(1,""),name:ap(1,"AggregateError")});l1({global:!0,constructor:!0,arity:2},{AggregateError:Ps});var qd,tc,zd,T1=Be,Xg=ie.WeakMap,R1=T1(Xg)&&/native code/.test(String(Xg)),Jg=ie,v1=gi,C1=Uo,dp=ti,lp=Ph,y1=xd,I1=Fd,Qg="Object already initialized",up=Jg.TypeError,A1=Jg.WeakMap;if(R1||lp.state){var lr=lp.state||(lp.state=new A1);lr.get=lr.get,lr.has=lr.has,lr.set=lr.set,qd=function(t,e){if(lr.has(t))throw new up(Qg);return e.facade=t,lr.set(t,e),e},tc=function(t){return lr.get(t)||{}},zd=function(t){return lr.has(t)}}else{var Ls=y1("state");I1[Ls]=!0,qd=function(t,e){if(dp(t,Ls))throw new up(Qg);return e.facade=t,C1(t,Ls,e),e},tc=function(t){return dp(t,Ls)?t[Ls]:{}},zd=function(t){return dp(t,Ls)}}var xo,Zg,$g,Vo={set:qd,get:tc,has:zd,enforce:function(t){return zd(t)?tc(t):qd(t,{})},getterFor:function(t){return function(e){var i;if(!v1(e)||(i=tc(e)).type!==t)throw new up("Incompatible receiver, "+t+" required");return i}}},hp=wi,b1=ti,tS=Function.prototype,w1=hp&&Object.getOwnPropertyDescriptor,pp=b1(tS,"name"),eS={EXISTS:pp,PROPER:pp&&function(){}.name==="something",CONFIGURABLE:pp&&(!hp||hp&&w1(tS,"name").configurable)},O1=Uo,ro=function(t,e,i,n){return n&&n.enumerable?t[e]=i:O1(t,e,i),t},N1=Lt,D1=Be,P1=gi,L1=Za,iS=Zh,k1=ro,_p=Re("iterator"),nS=!1;[].keys&&("next"in($g=[].keys())?(Zg=iS(iS($g)))!==Object.prototype&&(xo=Zg):nS=!0);var M1=!P1(xo)||N1(function(){var t={};return xo[_p].call(t)!==t});D1((xo=M1?{}:L1(xo))[_p])||k1(xo,_p,function(){return this});var rS={IteratorPrototype:xo,BUGGY_SAFARI_ITERATORS:nS},U1=no,x1=Kh?{}.toString:function(){return"[object "+U1(this)+"]"},V1=Kh,F1=gn.f,B1=Uo,j1=ti,G1=x1,oS=Re("toStringTag"),Lr=function(t,e,i,n){var r=i?t:t&&t.prototype;r&&(j1(r,oS)||F1(r,oS,{configurable:!0,value:e}),n&&!V1&&B1(r,"toString",G1))},W1=rS.IteratorPrototype,H1=Za,K1=$r,Y1=Lr,q1=Ds,z1=function(){return this},Ep=function(t,e,i,n){var r=e+" Iterator";return t.prototype=H1(W1,{next:K1(+!n,i)}),Y1(t,r,!1,!0),q1[r]=z1,t},X1=Nt,J1=Ye,Q1=eS,Z1=Ep,$1=Zh,tM=Lr,sS=ro,aS=Ds,eM=rS,iM=Q1.PROPER,Xd=eM.BUGGY_SAFARI_ITERATORS,mp=Re("iterator"),cS="keys",Jd="values",dS="entries",nM=function(){return this},lS=function(t,e,i,n,r,o,s){Z1(i,e,n);var a,c,d,l=function(T){if(T===r&&m)return m;if(!Xd&&T&&T in p)return p[T];switch(T){case cS:case Jd:case dS:return function(){return new i(this,T)}}return function(){return new i(this)}},u=e+" Iterator",h=!1,p=t.prototype,g=p[mp]||p["@@iterator"]||r&&p[r],m=!Xd&&g||l(r),f=e==="Array"&&p.entries||g;if(f&&(a=$1(f.call(new t)))!==Object.prototype&&a.next&&(tM(a,u,!0,!0),aS[u]=nM),iM&&r===Jd&&g&&g.name!==Jd&&(h=!0,m=function(){return J1(g,this)}),r)if(c={values:l(Jd),keys:o?m:l(cS),entries:l(dS)},s)for(d in c)(Xd||h||!(d in p))&&sS(p,d,c[d]);else X1({target:e,proto:!0,forced:Xd||h},c);return s&&p[mp]!==m&&sS(p,mp,m,{name:r}),aS[e]=m,c},Qd=function(t,e){return{value:t,done:e}},rM=to,uS=Ds,hS=Vo;gn.f;var oM=lS,Zd=Qd,pS="Array Iterator",sM=hS.set,aM=hS.getterFor(pS);oM(Array,"Array",function(t,e){sM(this,{type:pS,target:rM(t),index:0,kind:e})},function(){var t=aM(this),e=t.target,i=t.index++;if(!e||i>=e.length)return t.target=null,Zd(void 0,!0);switch(t.kind){case"keys":return Zd(i,!1);case"values":return Zd(e[i],!1)}return Zd([i,e[i]],!1)},"values"),uS.Arguments=uS.Array;var cM=gn,$d=function(t,e,i){return cM.f(t,e,i)},dM=Si,lM=$d,uM=wi,_S=Re("species"),hM=$e,pM=TypeError,fp=function(t,e){if(hM(e,t))return t;throw new pM("Incorrect invocation")},_M=Be,gp=Ph,EM=de(Function.toString);_M(gp.inspectSource)||(gp.inspectSource=function(t){return EM(t)});var ES=gp.inspectSource,mM=de,fM=Lt,mS=Be,gM=no,SM=ES,fS=function(){},gS=Si("Reflect","construct"),Sp=/^\s*(?:class|function)\b/,TM=mM(Sp.exec),RM=!Sp.test(fS),ec=function(t){if(!mS(t))return!1;try{return gS(fS,[],t),!0}catch(e){return!1}},SS=function(t){if(!mS(t))return!1;switch(gM(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return RM||!!TM(Sp,SM(t))}catch(e){return!0}};SS.sham=!0;var ic,ks,TS,Tp,tl=!gS||fM(function(){var t;return ec(ec.call)||!ec(Object)||!ec(function(){t=!0})||t})?SS:ec,vM=tl,CM=As,yM=TypeError,RS=Mi,IM=function(t){if(vM(t))return t;throw new yM(CM(t)+" is not a constructor")},AM=Nd,bM=Re("species"),Rp=function(t,e){var i,n=RS(t).constructor;return n===void 0||AM(i=RS(n)[bM])?e:IM(i)},oo=de([].slice),wM=TypeError,Fo=function(t,e){if(t1?o2(arguments,1):[],i=s2.f(this),n=lT(function(){return r2(a2(t),void 0,e)});return(n.error?i.reject:i.resolve)(n.value),i.promise}});var c2=ur;Nt({target:"Promise",stat:!0},{withResolvers:function(){var t=c2.f(this);return{promise:t.promise,resolve:t.resolve,reject:t.reject}}});var d2=Nt,Yp=Bo,l2=Lt,u2=Si,h2=Be,p2=Rp,hT=cT,_2=Yp&&Yp.prototype;d2({target:"Promise",proto:!0,real:!0,forced:!!Yp&&l2(function(){_2.finally.call({then:function(){}},function(){})})},{finally:function(t){var e=p2(this,u2("Promise")),i=h2(t);return this.then(i?function(n){return hT(e,t()).then(function(){return n})}:t,i?function(n){return hT(e,t()).then(function(){throw n})}:t)}});var qp=de,E2=Gh,m2=Ki,f2=ko,g2=qp("".charAt),pT=qp("".charCodeAt),S2=qp("".slice),_T=function(t){return function(e,i){var n,r,o=m2(f2(e)),s=E2(i),a=o.length;return s<0||s>=a?t?"":void 0:(n=pT(o,s))<55296||n>56319||s+1===a||(r=pT(o,s+1))<56320||r>57343?t?g2(o,s):n:t?S2(o,s,s+2):r-56320+(n-55296<<10)+65536}},zp={codeAt:_T(!1),charAt:_T(!0)},T2=zp.charAt,R2=Ki,ET=Vo,v2=lS,mT=Qd,fT="String Iterator",C2=ET.set,y2=ET.getterFor(fT);v2(String,"String",function(t){C2(this,{type:fT,string:R2(t),index:0})},function(){var t,e=y2(this),i=e.string,n=e.index;return n>=i.length?mT(void 0,!0):(t=T2(i,n),e.index+=t.length,mT(t,!1))});var I2=sn.Promise,A2={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},b2=ie,w2=Lr,gT=Ds;for(var Xp in A2)w2(b2[Xp],Xp),gT[Xp]=gT.Array;var ST=I2,K=Pt(ST),O2=Sn("Array","values"),N2=no,D2=ti,P2=$e,L2=O2,Jp=Array.prototype,k2={DOMTokenList:!0,NodeList:!0},M2=function(t){var e=t.values;return t===Jp||P2(Jp,t)&&e===Jp.values||D2(k2,N2(t))?L2:e},Ui=Pt(M2),TT=As,U2=TypeError,RT=oo,x2=Math.floor,Qp=function(t,e){var i=t.length;if(i<8)for(var n,r,o=1;o0;)t[r]=t[--r];r!==o++&&(t[r]=n)}else for(var s=x2(i/2),a=Qp(RT(t,0,s),e),c=Qp(RT(t,s),e),d=a.length,l=c.length,u=0,h=0;u3)){if(q2)return!0;if(NT)return NT<603;var t,e,i,n,r="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:i=3;break;case 68:case 71:i=4;break;default:i=2}for(n=0;n<47;n++)ao.push({k:e+n,v:i})}for(ao.sort(function(o,s){return s.v-o.v}),n=0;nbT(c)?1:-1}}(t)),i=AT(r),n=0;nr;){if(e=+arguments[r++],rx(e,1114111)!==e)throw new ox(e+" is not a valid code point");i[r]=e<65536?LT(e):LT(55296+((e-=65536)>>10),e%1024+56320)}return sx(i,"")}});var ax=Lt,cx=Re("iterator"),cl=!ax(function(){var t=new URL("b?a=1&b=2&c=3","https://a"),e=t.searchParams,i=new URLSearchParams("a=1&a=2&b=3"),n="";return t.pathname="c%20d",e.forEach(function(r,o){e.delete("b"),n+=o+r}),i.delete("a",2),i.delete("b",void 0),!t.toJSON||!i.has("a",1)||i.has("a",2)||!i.has("a",void 0)||i.has("b")||!e.size&&!0||!e.sort||t.href!=="https://a/c%20d?a=1&c=3"||e.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!e[cx]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("https://тест").host!=="xn--e1aybc"||new URL("https://a#б").hash!=="#%D0%B1"||n!=="a1c3"||new URL("https://x",void 0).host!=="x"}),dx=ro,t_=Nt,MT=ie,e_=PS,lx=Si,dl=Ye,Wn=de,cc=wi,UT=cl,xT=ro,ux=$d,hx=function(t,e,i){for(var n in e)i&&i.unsafe&&t[n]?t[n]=e[n]:dx(t,n,e[n],i);return t},px=Lr,_x=Ep,i_=Vo,VT=fp,n_=Be,Ex=ti,mx=eo,fx=no,gx=Mi,FT=gi,xi=Ki,Sx=Za,BT=$r,jT=op,Tx=Wd,ll=Qd,Bs=Fo,Rx=vT,vx=Re("iterator"),js="URLSearchParams",GT=js+"Iterator",WT=i_.set,Rn=i_.getterFor(js),Cx=i_.getterFor(GT),HT=e_("fetch"),ul=e_("Request"),dc=e_("Headers"),r_=ul&&ul.prototype,KT=dc&&dc.prototype,yx=MT.TypeError,Ix=MT.encodeURIComponent,Ax=String.fromCharCode,bx=lx("String","fromCodePoint"),wx=parseInt,hl=Wn("".charAt),YT=Wn([].join),co=Wn([].push),qT=Wn("".replace),Ox=Wn([].shift),zT=Wn([].splice),XT=Wn("".split),JT=Wn("".slice),Nx=Wn(/./.exec),Dx=/\+/g,Px=/^[0-9a-f]+$/i,QT=function(t,e){var i=JT(t,e,e+2);return Nx(Px,i)?wx(i,16):NaN},Lx=function(t){for(var e=0,i=128;i>0&&t&i;i>>=1)e++;return e},kx=function(t){var e=null;switch(t.length){case 1:e=t[0];break;case 2:e=(31&t[0])<<6|63&t[1];break;case 3:e=(15&t[0])<<12|(63&t[1])<<6|63&t[2];break;case 4:e=(7&t[0])<<18|(63&t[1])<<12|(63&t[2])<<6|63&t[3]}return e>1114111?null:e},ZT=function(t){for(var e=(t=qT(t,Dx," ")).length,i="",n=0;ne){i+="%",n++;continue}var o=QT(t,n+1);if(o!=o){i+=r,n++;continue}n+=2;var s=Lx(o);if(s===0)r=Ax(o);else{if(s===1||s>4){i+="�",n++;continue}for(var a=[o],c=1;ce||hl(t,n)!=="%");){var d=QT(t,n+1);if(d!=d){n+=3;break}if(d>191||d<128)break;co(a,d),n+=2,c++}if(a.length!==s){i+="�";continue}var l=kx(a);l===null?i+="�":r=bx(l)}}i+=r,n++}return i},Mx=/[!'()~]|%20/g,Ux={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},xx=function(t){return Ux[t]},$T=function(t){return qT(Ix(t),Mx,xx)},o_=_x(function(t,e){WT(this,{type:GT,target:Rn(t).entries,index:0,kind:e})},js,function(){var t=Cx(this),e=t.target,i=t.index++;if(!e||i>=e.length)return t.target=null,ll(void 0,!0);var n=e[i];switch(t.kind){case"keys":return ll(n.key,!1);case"values":return ll(n.value,!1)}return ll([n.key,n.value],!1)},!0),tR=function(t){this.entries=[],this.url=null,t!==void 0&&(FT(t)?this.parseObject(t):this.parseQuery(typeof t=="string"?hl(t,0)==="?"?JT(t,1):t:xi(t)))};tR.prototype={type:js,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,i,n,r,o,s,a,c=this.entries,d=Tx(t);if(d)for(i=(e=jT(t,d)).next;!(n=dl(i,e)).done;){if(o=(r=jT(gx(n.value))).next,(s=dl(o,r)).done||(a=dl(o,r)).done||!dl(o,r).done)throw new yx("Expected sequence with length 2");co(c,{key:xi(s.value),value:xi(a.value)})}else for(var l in t)Ex(t,l)&&co(c,{key:l,value:xi(t[l])})},parseQuery:function(t){if(t)for(var e,i,n=this.entries,r=XT(t,"&"),o=0;o0?arguments[0]:void 0));cc||(this.size=t.entries.length)},Gs=pl.prototype;if(hx(Gs,{append:function(t,e){var i=Rn(this);Bs(arguments.length,2),co(i.entries,{key:xi(t),value:xi(e)}),cc||this.length++,i.updateURL()},delete:function(t){for(var e=Rn(this),i=Bs(arguments.length,1),n=e.entries,r=xi(t),o=i<2?void 0:arguments[1],s=o===void 0?o:xi(o),a=0;ai.key?1:-1}),t.updateURL()},forEach:function(t){for(var e,i=Rn(this).entries,n=mx(t,arguments.length>1?arguments[1]:void 0),r=0;r1?eR(arguments[1]):{})}}),n_(ul)){var s_=function(t){return VT(this,r_),new ul(t,arguments.length>1?eR(arguments[1]):{})};r_.constructor=s_,s_.prototype=r_,t_({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:s_})}}var vn,Bx={URLSearchParams:pl,getState:Rn},jx=sn.URLSearchParams,iR=wi,Gx=de,Wx=Ye,Hx=Lt,a_=Bd,Kx=Qa,Yx=bd,qx=dr,zx=Od,Ws=Object.assign,nR=Object.defineProperty,Xx=Gx([].concat),Jx=!Ws||Hx(function(){if(iR&&Ws({b:1},Ws(nR({},"a",{enumerable:!0,get:function(){nR(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var t={},e={},i=Symbol("assign detection"),n="abcdefghijklmnopqrst";return t[i]=7,n.split("").forEach(function(r){e[r]=r}),Ws({},t)[i]!==7||a_(Ws({},e)).join("")!==n})?function(t,e){for(var i=qx(t),n=arguments.length,r=1,o=Kx.f,s=Yx.f;n>r;)for(var a,c=zx(arguments[r++]),d=o?Xx(a_(c),o(c)):a_(c),l=d.length,u=0;l>u;)a=d[u++],iR&&!Wx(s,c,a)||(i[a]=c[a]);return i}:Ws,Qx=Mi,Zx=Hg,$x=wi,tV=gn,eV=$r,c_=function(t,e,i){$x?tV.f(t,e,eV(0,i)):t[e]=i},iV=eo,nV=Ye,rV=dr,oV=function(t,e,i,n){try{return n?e(Qx(i)[0],i[1]):e(i)}catch(r){Zx(t,"throw",r)}},sV=jg,aV=tl,cV=io,rR=c_,dV=op,lV=Wd,oR=Array,Go=de,d_=2147483647,uV=/[^\0-\u007E]/,sR=/[.\u3002\uFF0E\uFF61]/g,aR="Overflow: input needs wider integers to process",cR=RangeError,hV=Go(sR.exec),Hs=Math.floor,l_=String.fromCharCode,dR=Go("".charCodeAt),lR=Go([].join),lo=Go([].push),pV=Go("".replace),_V=Go("".split),EV=Go("".toLowerCase),uR=function(t){return t+22+75*(t<26)},mV=function(t,e,i){var n=0;for(t=i?Hs(t/700):t>>1,t+=Hs(t/e);t>455;)t=Hs(t/35),n+=36;return Hs(n+36*t/(t+38))},fV=function(t){var e=[];t=function(T){for(var R=[],A=0,N=T.length;A=55296&&O<=56319&&A=o&&nHs((d_-s)/u))throw new cR(aR);for(s+=(l-o)*u,o=l,i=0;id_)throw new cR(aR);if(n===o){for(var h=s,p=36;;){var g=p<=a?1:p>=a+26?26:p-a;if(h1?arguments[1]:void 0,o=r!==void 0;o&&(r=iV(r,n>2?arguments[2]:void 0));var s,a,c,d,l,u,h=lV(e),p=0;if(!h||this===oR&&sV(h))for(s=cV(e),a=i?new this(s):oR(s);s>p;p++)u=o?r(e[p],p):e[p],rR(a,p,u);else for(a=i?new this:[],l=(d=dV(e,h)).next;!(c=nV(l,d)).done;p++)u=o?oV(d,r,[c.value,p],!0):c.value,rR(a,p,u);return a.length=p,a},Hn=oo,RV=zp.codeAt,vV=function(t){var e,i,n=[],r=_V(pV(EV(t),sR,"."),".");for(e=0;e?@[\\\]^|]/,FV=/[\0\t\n\r #/:<>?@[\\\]^|]/,BV=/^[\u0000-\u0020]+/,jV=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,GV=/[\t\n\r]/g,pc=function(t){var e,i,n,r;if(typeof t=="number"){for(e=[],i=0;i<4;i++)LV(e,t%256),t=wV(t/256);return uc(e,".")}if(typeof t=="object"){for(e="",n=function(o){for(var s=null,a=1,c=null,d=0,l=0;l<8;l++)o[l]!==0?(d>a&&(s=c,a=d),c=null,d=0):(c===null&&(c=l),++d);return d>a?c:s}(t),i=0;i<8;i++)r&&t[i]===0||(r&&(r=!1),n===i?(e+=i?":":"::",r=!0):(e+=OV(t[i],16),i<7&&(e+=":")));return"["+e+"]"}return t},gl={},SR=__({},gl,{" ":1,'"':1,"<":1,">":1,"`":1}),TR=__({},SR,{"#":1,"?":1,"{":1,"}":1}),S_=__({},TR,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),uo=function(t,e){var i=RV(t,0);return i>32&&i<127&&!p_(e,t)?t:encodeURIComponent(t)},Sl={ftp:21,file:null,http:80,https:443,ws:80,wss:443},_c=function(t,e){var i;return t.length===2&&Kn(fR,In(t,0))&&((i=In(t,1))===":"||!e&&i==="|")},RR=function(t){var e;return t.length>1&&_c(hc(t,0,2))&&(t.length===2||(e=In(t,2))==="/"||e==="\\"||e==="?"||e==="#")},WV=function(t){return t==="."||fl(t)==="%2e"},T_={},vR={},R_={},CR={},yR={},v_={},IR={},AR={},Tl={},Rl={},C_={},y_={},I_={},A_={},bR={},b_={},qs={},hr={},wR={},Ho={},Mr={},w_=function(t,e,i){var n,r,o,s=kr(t);if(e){if(r=this.parse(s))throw new E_(r);this.searchParams=null}else{if(i!==void 0&&(n=new w_(i,!0)),r=this.parse(s,null,n))throw new E_(r);(o=bV(new AV)).bindURL(this),this.searchParams=o}};w_.prototype={type:"URL",parse:function(t,e,i){var n,r,o,s,a,c=this,d=e||T_,l=0,u="",h=!1,p=!1,g=!1;for(t=kr(t),e||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,t=m_(t,BV,""),t=m_(t,jV,"$1")),t=m_(t,GV,""),n=Ks(t);l<=n.length;){switch(r=n[l],d){case T_:if(!r||!Kn(fR,r)){if(e)return f_;d=R_;continue}u+=fl(r),d=vR;break;case vR:if(r&&(Kn(kV,r)||r==="+"||r==="-"||r==="."))u+=fl(r);else{if(r!==":"){if(e)return f_;u="",d=R_,l=0;continue}if(e&&(c.isSpecial()!==p_(Sl,u)||u==="file"&&(c.includesCredentials()||c.port!==null)||c.scheme==="file"&&!c.host))return;if(c.scheme=u,e)return void(c.isSpecial()&&Sl[c.scheme]===c.port&&(c.port=null));u="",c.scheme==="file"?d=A_:c.isSpecial()&&i&&i.scheme===c.scheme?d=CR:c.isSpecial()?d=AR:n[l+1]==="/"?(d=yR,l++):(c.cannotBeABaseURL=!0,Ys(c.path,""),d=wR)}break;case R_:if(!i||i.cannotBeABaseURL&&r!=="#")return f_;if(i.cannotBeABaseURL&&r==="#"){c.scheme=i.scheme,c.path=Hn(i.path),c.query=i.query,c.fragment="",c.cannotBeABaseURL=!0,d=Mr;break}d=i.scheme==="file"?A_:v_;continue;case CR:if(r!=="/"||n[l+1]!=="/"){d=v_;continue}d=Tl,l++;break;case yR:if(r==="/"){d=Rl;break}d=hr;continue;case v_:if(c.scheme=i.scheme,r===vn)c.username=i.username,c.password=i.password,c.host=i.host,c.port=i.port,c.path=Hn(i.path),c.query=i.query;else if(r==="/"||r==="\\"&&c.isSpecial())d=IR;else if(r==="?")c.username=i.username,c.password=i.password,c.host=i.host,c.port=i.port,c.path=Hn(i.path),c.query="",d=Ho;else{if(r!=="#"){c.username=i.username,c.password=i.password,c.host=i.host,c.port=i.port,c.path=Hn(i.path),c.path.length--,d=hr;continue}c.username=i.username,c.password=i.password,c.host=i.host,c.port=i.port,c.path=Hn(i.path),c.query=i.query,c.fragment="",d=Mr}break;case IR:if(!c.isSpecial()||r!=="/"&&r!=="\\"){if(r!=="/"){c.username=i.username,c.password=i.password,c.host=i.host,c.port=i.port,d=hr;continue}d=Rl}else d=Tl;break;case AR:if(d=Tl,r!=="/"||In(u,l+1)!=="/")continue;l++;break;case Tl:if(r!=="/"&&r!=="\\"){d=Rl;continue}break;case Rl:if(r==="@"){h&&(u="%40"+u),h=!0,o=Ks(u);for(var m=0;m65535)return mR;c.port=c.isSpecial()&&R===Sl[c.scheme]?null:R,u=""}if(e)return;d=qs;continue}return mR}u+=r;break;case A_:if(c.scheme="file",r==="/"||r==="\\")d=bR;else{if(!i||i.scheme!=="file"){d=hr;continue}switch(r){case vn:c.host=i.host,c.path=Hn(i.path),c.query=i.query;break;case"?":c.host=i.host,c.path=Hn(i.path),c.query="",d=Ho;break;case"#":c.host=i.host,c.path=Hn(i.path),c.query=i.query,c.fragment="",d=Mr;break;default:RR(uc(Hn(n,l),""))||(c.host=i.host,c.path=Hn(i.path),c.shortenPath()),d=hr;continue}}break;case bR:if(r==="/"||r==="\\"){d=b_;break}i&&i.scheme==="file"&&!RR(uc(Hn(n,l),""))&&(_c(i.path[0],!0)?Ys(c.path,i.path[0]):c.host=i.host),d=hr;continue;case b_:if(r===vn||r==="/"||r==="\\"||r==="?"||r==="#"){if(!e&&_c(u))d=hr;else if(u===""){if(c.host="",e)return;d=qs}else{if(s=c.parseHost(u))return s;if(c.host==="localhost"&&(c.host=""),e)return;u="",d=qs}continue}u+=r;break;case qs:if(c.isSpecial()){if(d=hr,r!=="/"&&r!=="\\")continue}else if(e||r!=="?")if(e||r!=="#"){if(r!==vn&&(d=hr,r!=="/"))continue}else c.fragment="",d=Mr;else c.query="",d=Ho;break;case hr:if(r===vn||r==="/"||r==="\\"&&c.isSpecial()||!e&&(r==="?"||r==="#")){if((a=fl(a=u))===".."||a==="%2e."||a===".%2e"||a==="%2e%2e"?(c.shortenPath(),r==="/"||r==="\\"&&c.isSpecial()||Ys(c.path,"")):WV(u)?r==="/"||r==="\\"&&c.isSpecial()||Ys(c.path,""):(c.scheme==="file"&&!c.path.length&&_c(u)&&(c.host&&(c.host=""),u=In(u,0)+":"),Ys(c.path,u)),u="",c.scheme==="file"&&(r===vn||r==="?"||r==="#"))for(;c.path.length>1&&c.path[0]==="";)DV(c.path);r==="?"?(c.query="",d=Ho):r==="#"&&(c.fragment="",d=Mr)}else u+=uo(r,TR);break;case wR:r==="?"?(c.query="",d=Ho):r==="#"?(c.fragment="",d=Mr):r!==vn&&(c.path[0]+=uo(r,gl));break;case Ho:e||r!=="#"?r!==vn&&(r==="'"&&c.isSpecial()?c.query+="%27":c.query+=r==="#"?"%23":uo(r,gl)):(c.fragment="",d=Mr);break;case Mr:r!==vn&&(c.fragment+=uo(r,SR))}l++}},parseHost:function(t){var e,i,n;if(In(t,0)==="["){if(In(t,t.length-1)!=="]"||(e=function(r){var o,s,a,c,d,l,u,h=[0,0,0,0,0,0,0,0],p=0,g=null,m=0,f=function(){return In(r,m)};if(f()===":"){if(In(r,1)!==":")return;m+=2,g=++p}for(;f();){if(p===8)return;if(f()!==":"){for(o=s=0;s<4&&Kn(gR,f());)o=16*o+ml(f(),16),m++,s++;if(f()==="."){if(s===0||(m-=s,p>6))return;for(a=0;f();){if(c=null,a>0){if(!(f()==="."&&a<4))return;m++}if(!Kn(g_,f()))return;for(;Kn(g_,f());){if(d=ml(f(),10),c===null)c=d;else{if(c===0)return;c=10*c+d}if(c>255)return;m++}h[p]=256*h[p]+c,++a!=2&&a!==4||p++}if(a!==4)return;break}if(f()===":"){if(m++,!f())return}else if(f())return;h[p++]=o}else{if(g!==null)return;m++,g=++p}}if(g!==null)for(l=p-g,p=7;p!==0&&l>0;)u=h[p],h[p--]=h[g+l-1],h[g+--l]=u;else if(p!==8)return;return h}(hc(t,1,-1)),!e))return Wo;this.host=e}else if(this.isSpecial()){if(t=vV(t),Kn(VV,t)||(e=function(r){var o,s,a,c,d,l,u,h=PV(r,".");if(h.length&&h[h.length-1]===""&&h.length--,(o=h.length)>4)return r;for(s=[],a=0;a1&&In(c,0)==="0"&&(d=Kn(MV,c)?16:8,c=hc(c,d===8?1:2)),c==="")l=0;else{if(!Kn(d===10?xV:d===8?UV:gR,c))return r;l=ml(c,d)}Ys(s,l)}for(a=0;a=ER(256,5-o))return null}else if(l>255)return null;for(u=NV(s),a=0;a1?arguments[1]:void 0,n=IV(e,new w_(t,!1,i));u_||(e.href=n.serialize(),e.origin=n.getOrigin(),e.protocol=n.getProtocol(),e.username=n.getUsername(),e.password=n.getPassword(),e.host=n.getHost(),e.hostname=n.getHostname(),e.port=n.getPort(),e.pathname=n.getPathname(),e.search=n.getSearch(),e.searchParams=n.getSearchParams(),e.hash=n.getHash())},Vi=zs.prototype,An=function(t,e){return{get:function(){return El(this)[t]()},set:e&&function(i){return El(this)[e](i)},configurable:!0,enumerable:!0}};if(u_&&(yn(Vi,"href",An("serialize","setHref")),yn(Vi,"origin",An("getOrigin")),yn(Vi,"protocol",An("getProtocol","setProtocol")),yn(Vi,"username",An("getUsername","setUsername")),yn(Vi,"password",An("getPassword","setPassword")),yn(Vi,"host",An("getHost","setHost")),yn(Vi,"hostname",An("getHostname","setHostname")),yn(Vi,"port",An("getPort","setPort")),yn(Vi,"pathname",An("getPathname","setPathname")),yn(Vi,"search",An("getSearch","setSearch")),yn(Vi,"searchParams",An("getSearchParams")),yn(Vi,"hash",An("getHash","setHash"))),_l(Vi,"toJSON",function(){return El(this).serialize()},{enumerable:!0}),_l(Vi,"toString",function(){return El(this).serialize()},{enumerable:!0}),lc){var OR=lc.createObjectURL,NR=lc.revokeObjectURL;OR&&_l(zs,"createObjectURL",hR(OR,lc)),NR&&_l(zs,"revokeObjectURL",hR(NR,lc))}CV(zs,"URL"),gV({global:!0,constructor:!0,forced:!SV,sham:!u_},{URL:zs});var HV=Nt,DR=Lt,KV=Fo,PR=Ki,YV=cl,O_=Si("URL"),qV=YV&&DR(function(){O_.canParse()}),zV=DR(function(){return O_.canParse.length!==1});HV({target:"URL",stat:!0,forced:!qV||zV},{canParse:function(t){var e=KV(arguments.length,1),i=PR(t),n=e<2||arguments[1]===void 0?void 0:PR(arguments[1]);try{return!!new O_(i,n)}catch(r){return!1}}});var XV=Nt,JV=Fo,LR=Ki,QV=cl,ZV=Si("URL");XV({target:"URL",stat:!0,forced:!QV},{parse:function(t){var e=JV(arguments.length,1),i=LR(t),n=e<2||arguments[1]===void 0?void 0:LR(arguments[1]);try{return new ZV(i,n)}catch(r){return null}}});var vl=Pt(sn.URL);let kR=!0,MR=!0;function Cl(t,e,i){const n=t.match(e);return n&&n.length>=i&&parseInt(n[i],10)}function Ko(t,e,i){if(!t.RTCPeerConnection)return;const n=t.RTCPeerConnection.prototype,r=n.addEventListener;n.addEventListener=function(s,a){if(s!==e)return r.apply(this,arguments);const c=d=>{const l=i(d);l&&(a.handleEvent?a.handleEvent(l):a(l))};return this._eventMap=this._eventMap||{},this._eventMap[e]||(this._eventMap[e]=new Map),this._eventMap[e].set(a,c),r.apply(this,[s,c])};const o=n.removeEventListener;n.removeEventListener=function(s,a){if(s!==e||!this._eventMap||!this._eventMap[e])return o.apply(this,arguments);if(!this._eventMap[e].has(a))return o.apply(this,arguments);const c=this._eventMap[e].get(a);return this._eventMap[e].delete(a),this._eventMap[e].size===0&&delete this._eventMap[e],Object.keys(this._eventMap).length===0&&delete this._eventMap,o.apply(this,[s,c])},Object.defineProperty(n,"on"+e,{get(){return this["_on"+e]},set(s){this["_on"+e]&&(this.removeEventListener(e,this["_on"+e]),delete this["_on"+e]),s&&this.addEventListener(e,this["_on"+e]=s)},enumerable:!0,configurable:!0})}function $V(t){return typeof t!="boolean"?new Error("Argument type: "+typeof t+". Please use a boolean."):(kR=t,t?"adapter.js logging disabled":"adapter.js logging enabled")}function tF(t){return typeof t!="boolean"?new Error("Argument type: "+typeof t+". Please use a boolean."):(MR=!t,"adapter.js deprecation warnings "+(t?"disabled":"enabled"))}function UR(){if(typeof window=="object"){if(kR)return;typeof console!="undefined"&&typeof console.log=="function"&&console.log.apply(console,arguments)}}function N_(t,e){MR&&console.warn(t+" is deprecated, please use "+e+" instead.")}function xR(t){return Object.prototype.toString.call(t)==="[object Object]"}function VR(t){var e;return xR(t)?Tn(e=Object.keys(t)).call(e,function(i,n){const r=xR(t[n]),o=r?VR(t[n]):t[n],s=r&&!Object.keys(o).length;return o===void 0||s?i:Object.assign(i,{[n]:o})},{}):t}function D_(t,e,i){e&&!i.has(e.id)&&(i.set(e.id,e),Object.keys(e).forEach(n=>{n.endsWith("Id")?D_(t,t.get(e[n]),i):n.endsWith("Ids")&&e[n].forEach(r=>{D_(t,t.get(r),i)})}))}function FR(t,e,i){const n=i?"outbound-rtp":"inbound-rtp",r=new Map;if(e===null)return r;const o=[];return t.forEach(s=>{s.type==="track"&&s.trackIdentifier===e.id&&o.push(s)}),o.forEach(s=>{t.forEach(a=>{a.type===n&&a.trackId===s.id&&D_(t,a,r)})}),r}const BR=UR;function jR(t,e){const i=t&&t.navigator;if(!i.mediaDevices)return;const n=function(s){if(typeof s!="object"||s.mandatory||s.optional)return s;const a={};return Object.keys(s).forEach(c=>{if(c==="require"||c==="advanced"||c==="mediaSource")return;const d=typeof s[c]=="object"?s[c]:{ideal:s[c]};d.exact!==void 0&&typeof d.exact=="number"&&(d.min=d.max=d.exact);const l=function(u,h){return u?u+h.charAt(0).toUpperCase()+h.slice(1):h==="deviceId"?"sourceId":h};if(d.ideal!==void 0){a.optional=a.optional||[];let u={};typeof d.ideal=="number"?(u[l("min",c)]=d.ideal,a.optional.push(u),u={},u[l("max",c)]=d.ideal,a.optional.push(u)):(u[l("",c)]=d.ideal,a.optional.push(u))}d.exact!==void 0&&typeof d.exact!="number"?(a.mandatory=a.mandatory||{},a.mandatory[l("",c)]=d.exact):["min","max"].forEach(u=>{d[u]!==void 0&&(a.mandatory=a.mandatory||{},a.mandatory[l(u,c)]=d[u])})}),s.advanced&&(a.optional=(a.optional||[]).concat(s.advanced)),a},r=function(s,a){if(e.version>=61)return a(s);if((s=JSON.parse(JSON.stringify(s)))&&typeof s.audio=="object"){const c=function(d,l,u){l in d&&!(u in d)&&(d[u]=d[l],delete d[l])};c((s=JSON.parse(JSON.stringify(s))).audio,"autoGainControl","googAutoGainControl"),c(s.audio,"noiseSuppression","googNoiseSuppression"),s.audio=n(s.audio)}if(s&&typeof s.video=="object"){let c=s.video.facingMode;c=c&&(typeof c=="object"?c:{ideal:c});const d=e.version<66;if(c&&(c.exact==="user"||c.exact==="environment"||c.ideal==="user"||c.ideal==="environment")&&(!i.mediaDevices.getSupportedConstraints||!i.mediaDevices.getSupportedConstraints().facingMode||d)){let l;if(delete s.video.facingMode,c.exact==="environment"||c.ideal==="environment"?l=["back","rear"]:c.exact!=="user"&&c.ideal!=="user"||(l=["front"]),l)return i.mediaDevices.enumerateDevices().then(u=>{let h=(u=u.filter(p=>p.kind==="videoinput")).find(p=>l.some(g=>{var m;return G(m=p.label.toLowerCase()).call(m,g)}));return!h&&u.length&&G(l).call(l,"back")&&(h=u[u.length-1]),h&&(s.video.deviceId=c.exact?{exact:h.deviceId}:{ideal:h.deviceId}),s.video=n(s.video),BR("chrome: "+JSON.stringify(s)),a(s)})}s.video=n(s.video)}return BR("chrome: "+JSON.stringify(s)),a(s)},o=function(s){return e.version>=64?s:{name:{PermissionDeniedError:"NotAllowedError",PermissionDismissedError:"NotAllowedError",InvalidStateError:"NotAllowedError",DevicesNotFoundError:"NotFoundError",ConstraintNotSatisfiedError:"OverconstrainedError",TrackStartError:"NotReadableError",MediaDeviceFailedDueToShutdown:"NotAllowedError",MediaDeviceKillSwitchOn:"NotAllowedError",TabCaptureError:"AbortError",ScreenCaptureError:"AbortError",DeviceCaptureError:"AbortError"}[s.name]||s.name,message:s.message,constraint:s.constraint||s.constraintName,toString(){return this.name+(this.message&&": ")+this.message}}};if(i.getUserMedia=function(s,a,c){r(s,d=>{i.webkitGetUserMedia(d,a,l=>{c&&c(o(l))})})}.bind(i),i.mediaDevices.getUserMedia){const s=i.mediaDevices.getUserMedia.bind(i.mediaDevices);i.mediaDevices.getUserMedia=function(a){return r(a,c=>s(c).then(d=>{if(c.audio&&!d.getAudioTracks().length||c.video&&!d.getVideoTracks().length)throw d.getTracks().forEach(l=>{l.stop()}),new DOMException("","NotFoundError");return d},d=>K.reject(o(d))))}}}function GR(t){t.MediaStream=t.MediaStream||t.webkitMediaStream}function WR(t){if(typeof t=="object"&&t.RTCPeerConnection&&!("ontrack"in t.RTCPeerConnection.prototype)){Object.defineProperty(t.RTCPeerConnection.prototype,"ontrack",{get(){return this._ontrack},set(i){this._ontrack&&this.removeEventListener("track",this._ontrack),this.addEventListener("track",this._ontrack=i)},enumerable:!0,configurable:!0});const e=t.RTCPeerConnection.prototype.setRemoteDescription;t.RTCPeerConnection.prototype.setRemoteDescription=function(){return this._ontrackpoly||(this._ontrackpoly=i=>{i.stream.addEventListener("addtrack",n=>{let r;r=t.RTCPeerConnection.prototype.getReceivers?this.getReceivers().find(s=>s.track&&s.track.id===n.track.id):{track:n.track};const o=new Event("track");o.track=n.track,o.receiver=r,o.transceiver={receiver:r},o.streams=[i.stream],this.dispatchEvent(o)}),i.stream.getTracks().forEach(n=>{let r;r=t.RTCPeerConnection.prototype.getReceivers?this.getReceivers().find(s=>s.track&&s.track.id===n.id):{track:n};const o=new Event("track");o.track=n,o.receiver=r,o.transceiver={receiver:r},o.streams=[i.stream],this.dispatchEvent(o)})},this.addEventListener("addstream",this._ontrackpoly)),e.apply(this,arguments)}}else Ko(t,"track",e=>(e.transceiver||Object.defineProperty(e,"transceiver",{value:{receiver:e.receiver}}),e))}function HR(t){if(typeof t=="object"&&t.RTCPeerConnection&&!("getSenders"in t.RTCPeerConnection.prototype)&&"createDTMFSender"in t.RTCPeerConnection.prototype){const e=function(r,o){return{track:o,get dtmf(){return this._dtmf===void 0&&(o.kind==="audio"?this._dtmf=r.createDTMFSender(o):this._dtmf=null),this._dtmf},_pc:r}};if(!t.RTCPeerConnection.prototype.getSenders){t.RTCPeerConnection.prototype.getSenders=function(){return this._senders=this._senders||[],this._senders.slice()};const r=t.RTCPeerConnection.prototype.addTrack;t.RTCPeerConnection.prototype.addTrack=function(s,a){let c=r.apply(this,arguments);return c||(c=e(this,s),this._senders.push(c)),c};const o=t.RTCPeerConnection.prototype.removeTrack;t.RTCPeerConnection.prototype.removeTrack=function(s){o.apply(this,arguments);const a=this._senders.indexOf(s);a!==-1&&this._senders.splice(a,1)}}const i=t.RTCPeerConnection.prototype.addStream;t.RTCPeerConnection.prototype.addStream=function(r){this._senders=this._senders||[],i.apply(this,[r]),r.getTracks().forEach(o=>{this._senders.push(e(this,o))})};const n=t.RTCPeerConnection.prototype.removeStream;t.RTCPeerConnection.prototype.removeStream=function(r){this._senders=this._senders||[],n.apply(this,[r]),r.getTracks().forEach(o=>{const s=this._senders.find(a=>a.track===o);s&&this._senders.splice(this._senders.indexOf(s),1)})}}else if(typeof t=="object"&&t.RTCPeerConnection&&"getSenders"in t.RTCPeerConnection.prototype&&"createDTMFSender"in t.RTCPeerConnection.prototype&&t.RTCRtpSender&&!("dtmf"in t.RTCRtpSender.prototype)){const e=t.RTCPeerConnection.prototype.getSenders;t.RTCPeerConnection.prototype.getSenders=function(){const i=e.apply(this,[]);return i.forEach(n=>n._pc=this),i},Object.defineProperty(t.RTCRtpSender.prototype,"dtmf",{get(){return this._dtmf===void 0&&(this.track.kind==="audio"?this._dtmf=this._pc.createDTMFSender(this.track):this._dtmf=null),this._dtmf}})}}function KR(t){if(!t.RTCPeerConnection)return;const e=t.RTCPeerConnection.prototype.getStats;t.RTCPeerConnection.prototype.getStats=function(){const[i,n,r]=arguments;if(arguments.length>0&&typeof i=="function")return e.apply(this,arguments);if(e.length===0&&(arguments.length===0||typeof i!="function"))return e.apply(this,[]);const o=function(a){const c={};return a.result().forEach(d=>{const l={id:d.id,timestamp:d.timestamp,type:{localcandidate:"local-candidate",remotecandidate:"remote-candidate"}[d.type]||d.type};d.names().forEach(u=>{l[u]=d.stat(u)}),c[l.id]=l}),c},s=function(a){return new Map(Object.keys(a).map(c=>[c,a[c]]))};if(arguments.length>=2){const a=function(c){n(s(o(c)))};return e.apply(this,[a,i])}return new K((a,c)=>{e.apply(this,[function(d){a(s(o(d)))},c])}).then(n,r)}}function YR(t){if(!(typeof t=="object"&&t.RTCPeerConnection&&t.RTCRtpSender&&t.RTCRtpReceiver))return;if(!("getStats"in t.RTCRtpSender.prototype)){const i=t.RTCPeerConnection.prototype.getSenders;i&&(t.RTCPeerConnection.prototype.getSenders=function(){const r=i.apply(this,[]);return r.forEach(o=>o._pc=this),r});const n=t.RTCPeerConnection.prototype.addTrack;n&&(t.RTCPeerConnection.prototype.addTrack=function(){const r=n.apply(this,arguments);return r._pc=this,r}),t.RTCRtpSender.prototype.getStats=function(){const r=this;return this._pc.getStats().then(o=>FR(o,r.track,!0))}}if(!("getStats"in t.RTCRtpReceiver.prototype)){const i=t.RTCPeerConnection.prototype.getReceivers;i&&(t.RTCPeerConnection.prototype.getReceivers=function(){const n=i.apply(this,[]);return n.forEach(r=>r._pc=this),n}),Ko(t,"track",n=>(n.receiver._pc=n.srcElement,n)),t.RTCRtpReceiver.prototype.getStats=function(){const n=this;return this._pc.getStats().then(r=>FR(r,n.track,!1))}}if(!("getStats"in t.RTCRtpSender.prototype)||!("getStats"in t.RTCRtpReceiver.prototype))return;const e=t.RTCPeerConnection.prototype.getStats;t.RTCPeerConnection.prototype.getStats=function(){if(arguments.length>0&&arguments[0]instanceof t.MediaStreamTrack){const i=arguments[0];let n,r,o;return this.getSenders().forEach(s=>{s.track===i&&(n?o=!0:n=s)}),this.getReceivers().forEach(s=>(s.track===i&&(r?o=!0:r=s),s.track===i)),o||n&&r?K.reject(new DOMException("There are more than one sender or receiver for the track.","InvalidAccessError")):n?n.getStats():r?r.getStats():K.reject(new DOMException("There is no sender or receiver for the track.","InvalidAccessError"))}return e.apply(this,arguments)}}function qR(t){t.RTCPeerConnection.prototype.getLocalStreams=function(){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},Object.keys(this._shimmedLocalStreams).map(o=>this._shimmedLocalStreams[o][0])};const e=t.RTCPeerConnection.prototype.addTrack;t.RTCPeerConnection.prototype.addTrack=function(o,s){if(!s)return e.apply(this,arguments);this._shimmedLocalStreams=this._shimmedLocalStreams||{};const a=e.apply(this,arguments);return this._shimmedLocalStreams[s.id]?this._shimmedLocalStreams[s.id].indexOf(a)===-1&&this._shimmedLocalStreams[s.id].push(a):this._shimmedLocalStreams[s.id]=[s,a],a};const i=t.RTCPeerConnection.prototype.addStream;t.RTCPeerConnection.prototype.addStream=function(o){this._shimmedLocalStreams=this._shimmedLocalStreams||{},o.getTracks().forEach(c=>{if(this.getSenders().find(l=>l.track===c))throw new DOMException("Track already exists.","InvalidAccessError")});const s=this.getSenders();i.apply(this,arguments);const a=this.getSenders().filter(c=>s.indexOf(c)===-1);this._shimmedLocalStreams[o.id]=[o].concat(a)};const n=t.RTCPeerConnection.prototype.removeStream;t.RTCPeerConnection.prototype.removeStream=function(o){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},delete this._shimmedLocalStreams[o.id],n.apply(this,arguments)};const r=t.RTCPeerConnection.prototype.removeTrack;t.RTCPeerConnection.prototype.removeTrack=function(o){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},o&&Object.keys(this._shimmedLocalStreams).forEach(s=>{const a=this._shimmedLocalStreams[s].indexOf(o);a!==-1&&this._shimmedLocalStreams[s].splice(a,1),this._shimmedLocalStreams[s].length===1&&delete this._shimmedLocalStreams[s]}),r.apply(this,arguments)}}function zR(t,e){if(!t.RTCPeerConnection)return;if(t.RTCPeerConnection.prototype.addTrack&&e.version>=65)return qR(t);const i=t.RTCPeerConnection.prototype.getLocalStreams;t.RTCPeerConnection.prototype.getLocalStreams=function(){const c=i.apply(this);return this._reverseStreams=this._reverseStreams||{},c.map(d=>this._reverseStreams[d.id])};const n=t.RTCPeerConnection.prototype.addStream;t.RTCPeerConnection.prototype.addStream=function(c){if(this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},c.getTracks().forEach(d=>{if(this.getSenders().find(u=>u.track===d))throw new DOMException("Track already exists.","InvalidAccessError")}),!this._reverseStreams[c.id]){const d=new t.MediaStream(c.getTracks());this._streams[c.id]=d,this._reverseStreams[d.id]=c,c=d}n.apply(this,[c])};const r=t.RTCPeerConnection.prototype.removeStream;function o(c,d){let l=d.sdp;return Object.keys(c._reverseStreams||[]).forEach(u=>{const h=c._reverseStreams[u],p=c._streams[h.id];l=l.replace(new RegExp(p.id,"g"),h.id)}),new RTCSessionDescription({type:d.type,sdp:l})}t.RTCPeerConnection.prototype.removeStream=function(c){this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},r.apply(this,[this._streams[c.id]||c]),delete this._reverseStreams[this._streams[c.id]?this._streams[c.id].id:c.id],delete this._streams[c.id]},t.RTCPeerConnection.prototype.addTrack=function(c,d){if(this.signalingState==="closed")throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");const l=[].slice.call(arguments,1);if(l.length!==1||!l[0].getTracks().find(p=>p===c))throw new DOMException("The adapter.js addTrack polyfill only supports a single stream which is associated with the specified track.","NotSupportedError");if(this.getSenders().find(p=>p.track===c))throw new DOMException("Track already exists.","InvalidAccessError");this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{};const h=this._streams[d.id];if(h)h.addTrack(c),K.resolve().then(()=>{this.dispatchEvent(new Event("negotiationneeded"))});else{const p=new t.MediaStream([c]);this._streams[d.id]=p,this._reverseStreams[p.id]=d,this.addStream(p)}return this.getSenders().find(p=>p.track===c)},["createOffer","createAnswer"].forEach(function(c){const d=t.RTCPeerConnection.prototype[c],l={[c](){const u=arguments;return arguments.length&&typeof arguments[0]=="function"?d.apply(this,[h=>{const p=o(this,h);u[0].apply(null,[p])},h=>{u[1]&&u[1].apply(null,h)},arguments[2]]):d.apply(this,arguments).then(h=>o(this,h))}};t.RTCPeerConnection.prototype[c]=l[c]});const s=t.RTCPeerConnection.prototype.setLocalDescription;t.RTCPeerConnection.prototype.setLocalDescription=function(){return arguments.length&&arguments[0].type?(arguments[0]=function(c,d){let l=d.sdp;return Object.keys(c._reverseStreams||[]).forEach(u=>{const h=c._reverseStreams[u],p=c._streams[h.id];l=l.replace(new RegExp(h.id,"g"),p.id)}),new RTCSessionDescription({type:d.type,sdp:l})}(this,arguments[0]),s.apply(this,arguments)):s.apply(this,arguments)};const a=Object.getOwnPropertyDescriptor(t.RTCPeerConnection.prototype,"localDescription");Object.defineProperty(t.RTCPeerConnection.prototype,"localDescription",{get(){const c=a.get.apply(this);return c.type===""?c:o(this,c)}}),t.RTCPeerConnection.prototype.removeTrack=function(c){if(this.signalingState==="closed")throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");if(!c._pc)throw new DOMException("Argument 1 of RTCPeerConnection.removeTrack does not implement interface RTCRtpSender.","TypeError");if(c._pc!==this)throw new DOMException("Sender was not created by this connection.","InvalidAccessError");let d;this._streams=this._streams||{},Object.keys(this._streams).forEach(l=>{this._streams[l].getTracks().find(u=>c.track===u)&&(d=this._streams[l])}),d&&(d.getTracks().length===1?this.removeStream(this._reverseStreams[d.id]):d.removeTrack(c.track),this.dispatchEvent(new Event("negotiationneeded")))}}function P_(t,e){!t.RTCPeerConnection&&t.webkitRTCPeerConnection&&(t.RTCPeerConnection=t.webkitRTCPeerConnection),t.RTCPeerConnection&&e.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(i){const n=t.RTCPeerConnection.prototype[i],r={[i](){return arguments[0]=new(i==="addIceCandidate"?t.RTCIceCandidate:t.RTCSessionDescription)(arguments[0]),n.apply(this,arguments)}};t.RTCPeerConnection.prototype[i]=r[i]})}function XR(t,e){Ko(t,"negotiationneeded",i=>{const n=i.target;if(!(e.version<72||n.getConfiguration&&n.getConfiguration().sdpSemantics==="plan-b")||n.signalingState==="stable")return i})}var JR=Object.freeze({__proto__:null,fixNegotiationNeeded:XR,shimAddTrackRemoveTrack:zR,shimAddTrackRemoveTrackWithNative:qR,shimGetDisplayMedia:function(t,e){t.navigator.mediaDevices&&"getDisplayMedia"in t.navigator.mediaDevices||t.navigator.mediaDevices&&(typeof e=="function"?t.navigator.mediaDevices.getDisplayMedia=function(i){return e(i).then(n=>{const r=i.video&&i.video.width,o=i.video&&i.video.height,s=i.video&&i.video.frameRate;return i.video={mandatory:{chromeMediaSource:"desktop",chromeMediaSourceId:n,maxFrameRate:s||3}},r&&(i.video.mandatory.maxWidth=r),o&&(i.video.mandatory.maxHeight=o),t.navigator.mediaDevices.getUserMedia(i)})}:console.error("shimGetDisplayMedia: getSourceId argument is not a function"))},shimGetSendersWithDtmf:HR,shimGetStats:KR,shimGetUserMedia:jR,shimMediaStream:GR,shimOnTrack:WR,shimPeerConnection:P_,shimSenderReceiverGetStats:YR});function QR(t,e){const i=t&&t.navigator,n=t&&t.MediaStreamTrack;if(i.getUserMedia=function(r,o,s){N_("navigator.getUserMedia","navigator.mediaDevices.getUserMedia"),i.mediaDevices.getUserMedia(r).then(o,s)},!(e.version>55&&"autoGainControl"in i.mediaDevices.getSupportedConstraints())){const r=function(s,a,c){a in s&&!(c in s)&&(s[c]=s[a],delete s[a])},o=i.mediaDevices.getUserMedia.bind(i.mediaDevices);if(i.mediaDevices.getUserMedia=function(s){return typeof s=="object"&&typeof s.audio=="object"&&(s=JSON.parse(JSON.stringify(s)),r(s.audio,"autoGainControl","mozAutoGainControl"),r(s.audio,"noiseSuppression","mozNoiseSuppression")),o(s)},n&&n.prototype.getSettings){const s=n.prototype.getSettings;n.prototype.getSettings=function(){const a=s.apply(this,arguments);return r(a,"mozAutoGainControl","autoGainControl"),r(a,"mozNoiseSuppression","noiseSuppression"),a}}if(n&&n.prototype.applyConstraints){const s=n.prototype.applyConstraints;n.prototype.applyConstraints=function(a){return this.kind==="audio"&&typeof a=="object"&&(a=JSON.parse(JSON.stringify(a)),r(a,"autoGainControl","mozAutoGainControl"),r(a,"noiseSuppression","mozNoiseSuppression")),s.apply(this,[a])}}}}function ZR(t){typeof t=="object"&&t.RTCTrackEvent&&"receiver"in t.RTCTrackEvent.prototype&&!("transceiver"in t.RTCTrackEvent.prototype)&&Object.defineProperty(t.RTCTrackEvent.prototype,"transceiver",{get(){return{receiver:this.receiver}}})}function L_(t,e){if(typeof t!="object"||!t.RTCPeerConnection&&!t.mozRTCPeerConnection)return;!t.RTCPeerConnection&&t.mozRTCPeerConnection&&(t.RTCPeerConnection=t.mozRTCPeerConnection),e.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(r){const o=t.RTCPeerConnection.prototype[r],s={[r](){return arguments[0]=new(r==="addIceCandidate"?t.RTCIceCandidate:t.RTCSessionDescription)(arguments[0]),o.apply(this,arguments)}};t.RTCPeerConnection.prototype[r]=s[r]});const i={inboundrtp:"inbound-rtp",outboundrtp:"outbound-rtp",candidatepair:"candidate-pair",localcandidate:"local-candidate",remotecandidate:"remote-candidate"},n=t.RTCPeerConnection.prototype.getStats;t.RTCPeerConnection.prototype.getStats=function(){const[r,o,s]=arguments;return n.apply(this,[r||null]).then(a=>{if(e.version<53&&!o)try{a.forEach(c=>{c.type=i[c.type]||c.type})}catch(c){if(c.name!=="TypeError")throw c;a.forEach((d,l)=>{a.set(l,Object.assign({},d,{type:i[d.type]||d.type}))})}return a}).then(o,s)}}function $R(t){if(typeof t!="object"||!t.RTCPeerConnection||!t.RTCRtpSender||t.RTCRtpSender&&"getStats"in t.RTCRtpSender.prototype)return;const e=t.RTCPeerConnection.prototype.getSenders;e&&(t.RTCPeerConnection.prototype.getSenders=function(){const n=e.apply(this,[]);return n.forEach(r=>r._pc=this),n});const i=t.RTCPeerConnection.prototype.addTrack;i&&(t.RTCPeerConnection.prototype.addTrack=function(){const n=i.apply(this,arguments);return n._pc=this,n}),t.RTCRtpSender.prototype.getStats=function(){return this.track?this._pc.getStats(this.track):K.resolve(new Map)}}function tv(t){if(typeof t!="object"||!t.RTCPeerConnection||!t.RTCRtpSender||t.RTCRtpSender&&"getStats"in t.RTCRtpReceiver.prototype)return;const e=t.RTCPeerConnection.prototype.getReceivers;e&&(t.RTCPeerConnection.prototype.getReceivers=function(){const i=e.apply(this,[]);return i.forEach(n=>n._pc=this),i}),Ko(t,"track",i=>(i.receiver._pc=i.srcElement,i)),t.RTCRtpReceiver.prototype.getStats=function(){return this._pc.getStats(this.track)}}function ev(t){t.RTCPeerConnection&&!("removeStream"in t.RTCPeerConnection.prototype)&&(t.RTCPeerConnection.prototype.removeStream=function(e){N_("removeStream","removeTrack"),this.getSenders().forEach(i=>{var n;i.track&&G(n=e.getTracks()).call(n,i.track)&&this.removeTrack(i)})})}function iv(t){t.DataChannel&&!t.RTCDataChannel&&(t.RTCDataChannel=t.DataChannel)}function nv(t){if(typeof t!="object"||!t.RTCPeerConnection)return;const e=t.RTCPeerConnection.prototype.addTransceiver;e&&(t.RTCPeerConnection.prototype.addTransceiver=function(){this.setParametersPromises=[];let i=arguments[1]&&arguments[1].sendEncodings;i===void 0&&(i=[]),i=[...i];const n=i.length>0;n&&i.forEach(o=>{if("rid"in o&&!/^[a-z0-9]{0,16}$/i.test(o.rid))throw new TypeError("Invalid RID value provided.");if("scaleResolutionDownBy"in o&&!(parseFloat(o.scaleResolutionDownBy)>=1))throw new RangeError("scale_resolution_down_by must be >= 1.0");if("maxFramerate"in o&&!(parseFloat(o.maxFramerate)>=0))throw new RangeError("max_framerate must be >= 0.0")});const r=e.apply(this,arguments);if(n){const{sender:o}=r,s=o.getParameters();(!("encodings"in s)||s.encodings.length===1&&Object.keys(s.encodings[0]).length===0)&&(s.encodings=i,o.sendEncodings=i,this.setParametersPromises.push(o.setParameters(s).then(()=>{delete o.sendEncodings}).catch(()=>{delete o.sendEncodings})))}return r})}function rv(t){if(typeof t!="object"||!t.RTCRtpSender)return;const e=t.RTCRtpSender.prototype.getParameters;e&&(t.RTCRtpSender.prototype.getParameters=function(){const i=e.apply(this,arguments);return"encodings"in i||(i.encodings=[].concat(this.sendEncodings||[{}])),i})}function ov(t){if(typeof t!="object"||!t.RTCPeerConnection)return;const e=t.RTCPeerConnection.prototype.createOffer;t.RTCPeerConnection.prototype.createOffer=function(){return this.setParametersPromises&&this.setParametersPromises.length?K.all(this.setParametersPromises).then(()=>e.apply(this,arguments)).finally(()=>{this.setParametersPromises=[]}):e.apply(this,arguments)}}function sv(t){if(typeof t!="object"||!t.RTCPeerConnection)return;const e=t.RTCPeerConnection.prototype.createAnswer;t.RTCPeerConnection.prototype.createAnswer=function(){return this.setParametersPromises&&this.setParametersPromises.length?K.all(this.setParametersPromises).then(()=>e.apply(this,arguments)).finally(()=>{this.setParametersPromises=[]}):e.apply(this,arguments)}}var av=Object.freeze({__proto__:null,shimAddTransceiver:nv,shimCreateAnswer:sv,shimCreateOffer:ov,shimGetDisplayMedia:function(t,e){t.navigator.mediaDevices&&"getDisplayMedia"in t.navigator.mediaDevices||t.navigator.mediaDevices&&(t.navigator.mediaDevices.getDisplayMedia=function(i){if(!i||!i.video){const n=new DOMException("getDisplayMedia without video constraints is undefined");return n.name="NotFoundError",n.code=8,K.reject(n)}return i.video===!0?i.video={mediaSource:e}:i.video.mediaSource=e,t.navigator.mediaDevices.getUserMedia(i)})},shimGetParameters:rv,shimGetUserMedia:QR,shimOnTrack:ZR,shimPeerConnection:L_,shimRTCDataChannel:iv,shimReceiverGetStats:tv,shimRemoveStream:ev,shimSenderGetStats:$R});function cv(t){if(typeof t=="object"&&t.RTCPeerConnection){if("getLocalStreams"in t.RTCPeerConnection.prototype||(t.RTCPeerConnection.prototype.getLocalStreams=function(){return this._localStreams||(this._localStreams=[]),this._localStreams}),!("addStream"in t.RTCPeerConnection.prototype)){const e=t.RTCPeerConnection.prototype.addTrack;t.RTCPeerConnection.prototype.addStream=function(i){var n;this._localStreams||(this._localStreams=[]),G(n=this._localStreams).call(n,i)||this._localStreams.push(i),i.getAudioTracks().forEach(r=>e.call(this,r,i)),i.getVideoTracks().forEach(r=>e.call(this,r,i))},t.RTCPeerConnection.prototype.addTrack=function(i){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o{var a;this._localStreams?G(a=this._localStreams).call(a,s)||this._localStreams.push(s):this._localStreams=[s]}),e.apply(this,arguments)}}"removeStream"in t.RTCPeerConnection.prototype||(t.RTCPeerConnection.prototype.removeStream=function(e){this._localStreams||(this._localStreams=[]);const i=this._localStreams.indexOf(e);if(i===-1)return;this._localStreams.splice(i,1);const n=e.getTracks();this.getSenders().forEach(r=>{G(n).call(n,r.track)&&this.removeTrack(r)})})}}function dv(t){if(typeof t=="object"&&t.RTCPeerConnection&&("getRemoteStreams"in t.RTCPeerConnection.prototype||(t.RTCPeerConnection.prototype.getRemoteStreams=function(){return this._remoteStreams?this._remoteStreams:[]}),!("onaddstream"in t.RTCPeerConnection.prototype))){Object.defineProperty(t.RTCPeerConnection.prototype,"onaddstream",{get(){return this._onaddstream},set(i){this._onaddstream&&(this.removeEventListener("addstream",this._onaddstream),this.removeEventListener("track",this._onaddstreampoly)),this.addEventListener("addstream",this._onaddstream=i),this.addEventListener("track",this._onaddstreampoly=n=>{n.streams.forEach(r=>{var o;if(this._remoteStreams||(this._remoteStreams=[]),G(o=this._remoteStreams).call(o,r))return;this._remoteStreams.push(r);const s=new Event("addstream");s.stream=r,this.dispatchEvent(s)})})}});const e=t.RTCPeerConnection.prototype.setRemoteDescription;t.RTCPeerConnection.prototype.setRemoteDescription=function(){const i=this;return this._onaddstreampoly||this.addEventListener("track",this._onaddstreampoly=function(n){n.streams.forEach(r=>{if(i._remoteStreams||(i._remoteStreams=[]),i._remoteStreams.indexOf(r)>=0)return;i._remoteStreams.push(r);const o=new Event("addstream");o.stream=r,i.dispatchEvent(o)})}),e.apply(i,arguments)}}}function lv(t){if(typeof t!="object"||!t.RTCPeerConnection)return;const e=t.RTCPeerConnection.prototype,i=e.createOffer,n=e.createAnswer,r=e.setLocalDescription,o=e.setRemoteDescription,s=e.addIceCandidate;e.createOffer=function(c,d){const l=arguments.length>=2?arguments[2]:arguments[0],u=i.apply(this,[l]);return d?(u.then(c,d),K.resolve()):u},e.createAnswer=function(c,d){const l=arguments.length>=2?arguments[2]:arguments[0],u=n.apply(this,[l]);return d?(u.then(c,d),K.resolve()):u};let a=function(c,d,l){const u=r.apply(this,[c]);return l?(u.then(d,l),K.resolve()):u};e.setLocalDescription=a,a=function(c,d,l){const u=o.apply(this,[c]);return l?(u.then(d,l),K.resolve()):u},e.setRemoteDescription=a,a=function(c,d,l){const u=s.apply(this,[c]);return l?(u.then(d,l),K.resolve()):u},e.addIceCandidate=a}function uv(t){const e=t&&t.navigator;if(e.mediaDevices&&e.mediaDevices.getUserMedia){const i=e.mediaDevices,n=i.getUserMedia.bind(i);e.mediaDevices.getUserMedia=r=>n(hv(r))}!e.getUserMedia&&e.mediaDevices&&e.mediaDevices.getUserMedia&&(e.getUserMedia=function(i,n,r){e.mediaDevices.getUserMedia(i).then(n,r)}.bind(e))}function hv(t){return t&&t.video!==void 0?Object.assign({},t,{video:VR(t.video)}):t}function pv(t){if(!t.RTCPeerConnection)return;const e=t.RTCPeerConnection;t.RTCPeerConnection=function(i,n){if(i&&i.iceServers){const r=[];for(let o=0;oe.generateCertificate})}function _v(t){typeof t=="object"&&t.RTCTrackEvent&&"receiver"in t.RTCTrackEvent.prototype&&!("transceiver"in t.RTCTrackEvent.prototype)&&Object.defineProperty(t.RTCTrackEvent.prototype,"transceiver",{get(){return{receiver:this.receiver}}})}function Ev(t){const e=t.RTCPeerConnection.prototype.createOffer;t.RTCPeerConnection.prototype.createOffer=function(i){if(i){i.offerToReceiveAudio!==void 0&&(i.offerToReceiveAudio=!!i.offerToReceiveAudio);const n=this.getTransceivers().find(o=>o.receiver.track.kind==="audio");i.offerToReceiveAudio===!1&&n?n.direction==="sendrecv"?n.setDirection?n.setDirection("sendonly"):n.direction="sendonly":n.direction==="recvonly"&&(n.setDirection?n.setDirection("inactive"):n.direction="inactive"):i.offerToReceiveAudio!==!0||n||this.addTransceiver("audio",{direction:"recvonly"}),i.offerToReceiveVideo!==void 0&&(i.offerToReceiveVideo=!!i.offerToReceiveVideo);const r=this.getTransceivers().find(o=>o.receiver.track.kind==="video");i.offerToReceiveVideo===!1&&r?r.direction==="sendrecv"?r.setDirection?r.setDirection("sendonly"):r.direction="sendonly":r.direction==="recvonly"&&(r.setDirection?r.setDirection("inactive"):r.direction="inactive"):i.offerToReceiveVideo!==!0||r||this.addTransceiver("video",{direction:"recvonly"})}return e.apply(this,arguments)}}function mv(t){typeof t!="object"||t.AudioContext||(t.AudioContext=t.webkitAudioContext)}var fv=Object.freeze({__proto__:null,shimAudioContext:mv,shimCallbacksAPI:lv,shimConstraints:hv,shimCreateOfferLegacy:Ev,shimGetUserMedia:uv,shimLocalStreamsAPI:cv,shimRTCIceServerUrls:pv,shimRemoteStreamsAPI:dv,shimTrackEventTransceiver:_v}),gv=` +\v\f\r                 \u2028\u2029\uFEFF`,eF=ko,iF=Ki,k_=gv,Sv=de("".replace),nF=RegExp("^["+k_+"]+"),rF=RegExp("(^|[^"+k_+"])["+k_+"]+$"),M_=function(t){return function(e){var i=iF(eF(e));return 1&t&&(i=Sv(i,nF,"")),2&t&&(i=Sv(i,rF,"$1")),i}},oF={start:M_(1),end:M_(2),trim:M_(3)},sF=eS.PROPER,aF=Lt,Tv=gv,cF=oF.trim;Nt({target:"String",proto:!0,forced:function(t){return aF(function(){return!!Tv[t]()||"​…᠎"[t]()!=="​…᠎"||sF&&Tv[t].name!==t})}("trim")},{trim:function(){return cF(this)}});var dF=Sn("String","trim"),lF=$e,uF=dF,U_=String.prototype,hF=function(t){var e=t.trim;return typeof t=="string"||t===U_||lF(U_,t)&&e===U_.trim?uF:e},ni=Pt(hF),Rv={exports:{}};(function(t){const e={generateIdentifier:function(){return Math.random().toString(36).substring(2,12)}};e.localCName=e.generateIdentifier(),e.splitLines=function(i){return i.trim().split(` +`).map(n=>n.trim())},e.splitSections=function(i){return i.split(` +m=`).map((n,r)=>(r>0?"m="+n:n).trim()+`\r +`)},e.getDescription=function(i){const n=e.splitSections(i);return n&&n[0]},e.getMediaSections=function(i){const n=e.splitSections(i);return n.shift(),n},e.matchPrefix=function(i,n){return e.splitLines(i).filter(r=>r.indexOf(n)===0)},e.parseCandidate=function(i){let n;n=i.indexOf("a=candidate:")===0?i.substring(12).split(" "):i.substring(10).split(" ");const r={foundation:n[0],component:{1:"rtp",2:"rtcp"}[n[1]]||n[1],protocol:n[2].toLowerCase(),priority:parseInt(n[3],10),ip:n[4],address:n[4],port:parseInt(n[5],10),type:n[7]};for(let o=8;o0?n[0].split("/")[1]:"sendrecv",uri:n[1],attributes:n.slice(2).join(" ")}},e.writeExtmap=function(i){return"a=extmap:"+(i.id||i.preferredId)+(i.direction&&i.direction!=="sendrecv"?"/"+i.direction:"")+" "+i.uri+(i.attributes?" "+i.attributes:"")+`\r +`},e.parseFmtp=function(i){const n={};let r;const o=i.substring(i.indexOf(" ")+1).split(";");for(let s=0;s{i.parameters[s]!==void 0?o.push(s+"="+i.parameters[s]):o.push(s)}),n+="a=fmtp:"+r+" "+o.join(";")+`\r +`}return n},e.parseRtcpFb=function(i){const n=i.substring(i.indexOf(" ")+1).split(" ");return{type:n.shift(),parameter:n.join(" ")}},e.writeRtcpFb=function(i){let n="",r=i.payloadType;return i.preferredPayloadType!==void 0&&(r=i.preferredPayloadType),i.rtcpFeedback&&i.rtcpFeedback.length&&i.rtcpFeedback.forEach(o=>{n+="a=rtcp-fb:"+r+" "+o.type+(o.parameter&&o.parameter.length?" "+o.parameter:"")+`\r +`}),n},e.parseSsrcMedia=function(i){const n=i.indexOf(" "),r={ssrc:parseInt(i.substring(7,n),10)},o=i.indexOf(":",n);return o>-1?(r.attribute=i.substring(n+1,o),r.value=i.substring(o+1)):r.attribute=i.substring(n+1),r},e.parseSsrcGroup=function(i){const n=i.substring(13).split(" ");return{semantics:n.shift(),ssrcs:n.map(r=>parseInt(r,10))}},e.getMid=function(i){const n=e.matchPrefix(i,"a=mid:")[0];if(n)return n.substring(6)},e.parseFingerprint=function(i){const n=i.substring(14).split(" ");return{algorithm:n[0].toLowerCase(),value:n[1].toUpperCase()}},e.getDtlsParameters=function(i,n){return{role:"auto",fingerprints:e.matchPrefix(i+n,"a=fingerprint:").map(e.parseFingerprint)}},e.writeDtlsParameters=function(i,n){let r="a=setup:"+n+`\r +`;return i.fingerprints.forEach(o=>{r+="a=fingerprint:"+o.algorithm+" "+o.value+`\r +`}),r},e.parseCryptoLine=function(i){const n=i.substring(9).split(" ");return{tag:parseInt(n[0],10),cryptoSuite:n[1],keyParams:n[2],sessionParams:n.slice(3)}},e.writeCryptoLine=function(i){return"a=crypto:"+i.tag+" "+i.cryptoSuite+" "+(typeof i.keyParams=="object"?e.writeCryptoKeyParams(i.keyParams):i.keyParams)+(i.sessionParams?" "+i.sessionParams.join(" "):"")+`\r +`},e.parseCryptoKeyParams=function(i){if(i.indexOf("inline:")!==0)return null;const n=i.substring(7).split("|");return{keyMethod:"inline",keySalt:n[0],lifeTime:n[1],mkiValue:n[2]?n[2].split(":")[0]:void 0,mkiLength:n[2]?n[2].split(":")[1]:void 0}},e.writeCryptoKeyParams=function(i){return i.keyMethod+":"+i.keySalt+(i.lifeTime?"|"+i.lifeTime:"")+(i.mkiValue&&i.mkiLength?"|"+i.mkiValue+":"+i.mkiLength:"")},e.getCryptoParameters=function(i,n){return e.matchPrefix(i+n,"a=crypto:").map(e.parseCryptoLine)},e.getIceParameters=function(i,n){const r=e.matchPrefix(i+n,"a=ice-ufrag:")[0],o=e.matchPrefix(i+n,"a=ice-pwd:")[0];return r&&o?{usernameFragment:r.substring(12),password:o.substring(10)}:null},e.writeIceParameters=function(i){let n="a=ice-ufrag:"+i.usernameFragment+`\r +a=ice-pwd:`+i.password+`\r +`;return i.iceLite&&(n+=`a=ice-lite\r +`),n},e.parseRtpParameters=function(i){const n={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]},r=e.splitLines(i)[0].split(" ");n.profile=r[2];for(let s=3;s{n.headerExtensions.push(e.parseExtmap(s))});const o=e.matchPrefix(i,"a=rtcp-fb:* ").map(e.parseRtcpFb);return n.codecs.forEach(s=>{o.forEach(a=>{s.rtcpFeedback.find(c=>c.type===a.type&&c.parameter===a.parameter)||s.rtcpFeedback.push(a)})}),n},e.writeRtpDescription=function(i,n){let r="";r+="m="+i+" ",r+=n.codecs.length>0?"9":"0",r+=" "+(n.profile||"UDP/TLS/RTP/SAVPF")+" ",r+=n.codecs.map(s=>s.preferredPayloadType!==void 0?s.preferredPayloadType:s.payloadType).join(" ")+`\r +`,r+=`c=IN IP4 0.0.0.0\r +`,r+=`a=rtcp:9 IN IP4 0.0.0.0\r +`,n.codecs.forEach(s=>{r+=e.writeRtpMap(s),r+=e.writeFmtp(s),r+=e.writeRtcpFb(s)});let o=0;return n.codecs.forEach(s=>{s.maxptime>o&&(o=s.maxptime)}),o>0&&(r+="a=maxptime:"+o+`\r +`),n.headerExtensions&&n.headerExtensions.forEach(s=>{r+=e.writeExtmap(s)}),r},e.parseRtpEncodingParameters=function(i){const n=[],r=e.parseRtpParameters(i),o=r.fecMechanisms.indexOf("RED")!==-1,s=r.fecMechanisms.indexOf("ULPFEC")!==-1,a=e.matchPrefix(i,"a=ssrc:").map(h=>e.parseSsrcMedia(h)).filter(h=>h.attribute==="cname"),c=a.length>0&&a[0].ssrc;let d;const l=e.matchPrefix(i,"a=ssrc-group:FID").map(h=>h.substring(17).split(" ").map(p=>parseInt(p,10)));l.length>0&&l[0].length>1&&l[0][0]===c&&(d=l[0][1]),r.codecs.forEach(h=>{if(h.name.toUpperCase()==="RTX"&&h.parameters.apt){let p={ssrc:c,codecPayloadType:parseInt(h.parameters.apt,10)};c&&d&&(p.rtx={ssrc:d}),n.push(p),o&&(p=JSON.parse(JSON.stringify(p)),p.fec={ssrc:c,mechanism:s?"red+ulpfec":"red"},n.push(p))}}),n.length===0&&c&&n.push({ssrc:c});let u=e.matchPrefix(i,"b=");return u.length&&(u=u[0].indexOf("b=TIAS:")===0?parseInt(u[0].substring(7),10):u[0].indexOf("b=AS:")===0?1e3*parseInt(u[0].substring(5),10)*.95-16e3:void 0,n.forEach(h=>{h.maxBitrate=u})),n},e.parseRtcpParameters=function(i){const n={},r=e.matchPrefix(i,"a=ssrc:").map(a=>e.parseSsrcMedia(a)).filter(a=>a.attribute==="cname")[0];r&&(n.cname=r.value,n.ssrc=r.ssrc);const o=e.matchPrefix(i,"a=rtcp-rsize");n.reducedSize=o.length>0,n.compound=o.length===0;const s=e.matchPrefix(i,"a=rtcp-mux");return n.mux=s.length>0,n},e.writeRtcpParameters=function(i){let n="";return i.reducedSize&&(n+=`a=rtcp-rsize\r +`),i.mux&&(n+=`a=rtcp-mux\r +`),i.ssrc!==void 0&&i.cname&&(n+="a=ssrc:"+i.ssrc+" cname:"+i.cname+`\r +`),n},e.parseMsid=function(i){let n;const r=e.matchPrefix(i,"a=msid:");if(r.length===1)return n=r[0].substring(7).split(" "),{stream:n[0],track:n[1]};const o=e.matchPrefix(i,"a=ssrc:").map(s=>e.parseSsrcMedia(s)).filter(s=>s.attribute==="msid");return o.length>0?(n=o[0].value.split(" "),{stream:n[0],track:n[1]}):void 0},e.parseSctpDescription=function(i){const n=e.parseMLine(i),r=e.matchPrefix(i,"a=max-message-size:");let o;r.length>0&&(o=parseInt(r[0].substring(19),10)),isNaN(o)&&(o=65536);const s=e.matchPrefix(i,"a=sctp-port:");if(s.length>0)return{port:parseInt(s[0].substring(12),10),protocol:n.fmt,maxMessageSize:o};const a=e.matchPrefix(i,"a=sctpmap:");if(a.length>0){const c=a[0].substring(10).split(" ");return{port:parseInt(c[0],10),protocol:c[1],maxMessageSize:o}}},e.writeSctpDescription=function(i,n){let r=[];return r=i.protocol!=="DTLS/SCTP"?["m="+i.kind+" 9 "+i.protocol+" "+n.protocol+`\r +`,`c=IN IP4 0.0.0.0\r +`,"a=sctp-port:"+n.port+`\r +`]:["m="+i.kind+" 9 "+i.protocol+" "+n.port+`\r +`,`c=IN IP4 0.0.0.0\r +`,"a=sctpmap:"+n.port+" "+n.protocol+` 65535\r +`],n.maxMessageSize!==void 0&&r.push("a=max-message-size:"+n.maxMessageSize+`\r +`),r.join("")},e.generateSessionId=function(){return Math.random().toString().substr(2,22)},e.writeSessionBoilerplate=function(i,n,r){let o;const s=n!==void 0?n:2;return o=i||e.generateSessionId(),`v=0\r +o=`+(r||"thisisadapterortc")+" "+o+" "+s+` IN IP4 127.0.0.1\r +s=-\r +t=0 0\r +`},e.getDirection=function(i,n){const r=e.splitLines(i);for(let o=0;o(i.candidate&&Object.defineProperty(i,"candidate",{value:new t.RTCIceCandidate(i.candidate),writable:"false"}),i))}function x_(t){!t.RTCIceCandidate||t.RTCIceCandidate&&"relayProtocol"in t.RTCIceCandidate.prototype||Ko(t,"icecandidate",e=>{if(e.candidate){const i=Xs.parseCandidate(e.candidate.candidate);i.type==="relay"&&(e.candidate.relayProtocol={0:"tls",1:"tcp",2:"udp"}[i.priority>>24])}return e})}function Il(t,e){if(!t.RTCPeerConnection)return;"sctp"in t.RTCPeerConnection.prototype||Object.defineProperty(t.RTCPeerConnection.prototype,"sctp",{get(){return this._sctp===void 0?null:this._sctp}});const i=function(a){if(!a||!a.sdp)return!1;const c=Xs.splitSections(a.sdp);return c.shift(),c.some(d=>{const l=Xs.parseMLine(d);return l&&l.kind==="application"&&l.protocol.indexOf("SCTP")!==-1})},n=function(a){const c=a.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);if(c===null||c.length<2)return-1;const d=parseInt(c[1],10);return d!=d?-1:d},r=function(a){let c=65536;return e.browser==="firefox"&&(c=e.version<57?a===-1?16384:2147483637:e.version<60?e.version===57?65535:65536:2147483637),c},o=function(a,c){let d=65536;e.browser==="firefox"&&e.version===57&&(d=65535);const l=Xs.matchPrefix(a.sdp,"a=max-message-size:");return l.length>0?d=parseInt(l[0].substr(19),10):e.browser==="firefox"&&c!==-1&&(d=2147483637),d},s=t.RTCPeerConnection.prototype.setRemoteDescription;t.RTCPeerConnection.prototype.setRemoteDescription=function(){if(this._sctp=null,e.browser==="chrome"&&e.version>=76){const{sdpSemantics:a}=this.getConfiguration();a==="plan-b"&&Object.defineProperty(this,"sctp",{get(){return this._sctp===void 0?null:this._sctp},enumerable:!0,configurable:!0})}if(i(arguments[0])){const a=n(arguments[0]),c=r(a),d=o(arguments[0],a);let l;l=c===0&&d===0?Number.POSITIVE_INFINITY:c===0||d===0?Math.max(c,d):Math.min(c,d);const u={};Object.defineProperty(u,"maxMessageSize",{get:()=>l}),this._sctp=u}return s.apply(this,arguments)}}function Al(t){if(!t.RTCPeerConnection||!("createDataChannel"in t.RTCPeerConnection.prototype))return;function e(n,r){const o=n.send;n.send=function(){const s=arguments[0],a=s.length||s.size||s.byteLength;if(n.readyState==="open"&&r.sctp&&a>r.sctp.maxMessageSize)throw new TypeError("Message too large (can send a maximum of "+r.sctp.maxMessageSize+" bytes)");return o.apply(n,arguments)}}const i=t.RTCPeerConnection.prototype.createDataChannel;t.RTCPeerConnection.prototype.createDataChannel=function(){const n=i.apply(this,arguments);return e(n,this),n},Ko(t,"datachannel",n=>(e(n.channel,n.target),n))}function V_(t){if(!t.RTCPeerConnection||"connectionState"in t.RTCPeerConnection.prototype)return;const e=t.RTCPeerConnection.prototype;Object.defineProperty(e,"connectionState",{get(){return{completed:"connected",checking:"connecting"}[this.iceConnectionState]||this.iceConnectionState},enumerable:!0,configurable:!0}),Object.defineProperty(e,"onconnectionstatechange",{get(){return this._onconnectionstatechange||null},set(i){this._onconnectionstatechange&&(this.removeEventListener("connectionstatechange",this._onconnectionstatechange),delete this._onconnectionstatechange),i&&this.addEventListener("connectionstatechange",this._onconnectionstatechange=i)},enumerable:!0,configurable:!0}),["setLocalDescription","setRemoteDescription"].forEach(i=>{const n=e[i];e[i]=function(){return this._connectionstatechangepoly||(this._connectionstatechangepoly=r=>{const o=r.target;if(o._lastConnectionState!==o.connectionState){o._lastConnectionState=o.connectionState;const s=new Event("connectionstatechange",r);o.dispatchEvent(s)}return r},this.addEventListener("iceconnectionstatechange",this._connectionstatechangepoly)),n.apply(this,arguments)}})}function F_(t,e){if(!t.RTCPeerConnection||e.browser==="chrome"&&e.version>=71||e.browser==="safari"&&e.version>=605)return;const i=t.RTCPeerConnection.prototype.setRemoteDescription;t.RTCPeerConnection.prototype.setRemoteDescription=function(n){if(n&&n.sdp&&n.sdp.indexOf(` +a=extmap-allow-mixed`)!==-1){const r=n.sdp.split(` +`).filter(o=>ni(o).call(o)!=="a=extmap-allow-mixed").join(` +`);t.RTCSessionDescription&&n instanceof t.RTCSessionDescription?arguments[0]=new t.RTCSessionDescription({type:n.type,sdp:r}):n.sdp=r}return i.apply(this,arguments)}}function bl(t,e){if(!t.RTCPeerConnection||!t.RTCPeerConnection.prototype)return;const i=t.RTCPeerConnection.prototype.addIceCandidate;i&&i.length!==0&&(t.RTCPeerConnection.prototype.addIceCandidate=function(){return arguments[0]?(e.browser==="chrome"&&e.version<78||e.browser==="firefox"&&e.version<68||e.browser==="safari")&&arguments[0]&&arguments[0].candidate===""?K.resolve():i.apply(this,arguments):(arguments[1]&&arguments[1].apply(null),K.resolve())})}function wl(t,e){if(!t.RTCPeerConnection||!t.RTCPeerConnection.prototype)return;const i=t.RTCPeerConnection.prototype.setLocalDescription;i&&i.length!==0&&(t.RTCPeerConnection.prototype.setLocalDescription=function(){let n=arguments[0]||{};if(typeof n!="object"||n.type&&n.sdp)return i.apply(this,arguments);if(n={type:n.type,sdp:n.sdp},!n.type)switch(this.signalingState){case"stable":case"have-local-offer":case"have-remote-pranswer":n.type="offer";break;default:n.type="answer"}return n.sdp||n.type!=="offer"&&n.type!=="answer"?i.apply(this,[n]):(n.type==="offer"?this.createOffer:this.createAnswer).apply(this).then(r=>i.apply(this,[r]))})}var _F=Object.freeze({__proto__:null,removeExtmapAllowMixed:F_,shimAddIceCandidateNullOrEmpty:bl,shimConnectionState:V_,shimMaxMessageSize:Il,shimParameterlessSetLocalDescription:wl,shimRTCIceCandidate:yl,shimRTCIceCandidateRelayProtocol:x_,shimSendThrowTypeError:Al});(function(){let{window:t}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{shimChrome:!0,shimFirefox:!0,shimSafari:!0};const i=UR,n=function(o){const s={browser:null,version:null};if(o===void 0||!o.navigator)return s.browser="Not a browser.",s;const{navigator:a}=o;if(a.mozGetUserMedia)s.browser="firefox",s.version=Cl(a.userAgent,/Firefox\/(\d+)\./,1);else if(a.webkitGetUserMedia||o.isSecureContext===!1&&o.webkitRTCPeerConnection)s.browser="chrome",s.version=Cl(a.userAgent,/Chrom(e|ium)\/(\d+)\./,2);else{if(!o.RTCPeerConnection||!a.userAgent.match(/AppleWebKit\/(\d+)\./))return s.browser="Not a supported browser.",s;s.browser="safari",s.version=Cl(a.userAgent,/AppleWebKit\/(\d+)\./,1),s.supportsUnifiedPlan=o.RTCRtpTransceiver&&"currentDirection"in o.RTCRtpTransceiver.prototype}return s}(t),r={browserDetails:n,commonShim:_F,extractVersion:Cl,disableLog:$V,disableWarnings:tF,sdp:pF};switch(n.browser){case"chrome":if(!JR||!P_||!e.shimChrome)return i("Chrome shim is not included in this adapter release."),r;if(n.version===null)return i("Chrome shim can not determine version, not shimming."),r;i("adapter.js shimming chrome."),r.browserShim=JR,bl(t,n),wl(t),jR(t,n),GR(t),P_(t,n),WR(t),zR(t,n),HR(t),KR(t),YR(t),XR(t,n),yl(t),x_(t),V_(t),Il(t,n),Al(t),F_(t,n);break;case"firefox":if(!av||!L_||!e.shimFirefox)return i("Firefox shim is not included in this adapter release."),r;i("adapter.js shimming firefox."),r.browserShim=av,bl(t,n),wl(t),QR(t,n),L_(t,n),ZR(t),ev(t),$R(t),tv(t),iv(t),nv(t),rv(t),ov(t),sv(t),yl(t),V_(t),Il(t,n),Al(t);break;case"safari":if(!fv||!e.shimSafari)return i("Safari shim is not included in this adapter release."),r;i("adapter.js shimming safari."),r.browserShim=fv,bl(t,n),wl(t),pv(t),Ev(t),lv(t),cv(t),dv(t),_v(t),uv(t),mv(t),yl(t),x_(t),Il(t,n),Al(t),F_(t,n);break;default:i("Unsupported browser!")}})({window:typeof window=="undefined"?void 0:window});var B_=ie;Nt({global:!0,forced:B_.globalThis!==B_},{globalThis:B_});var Cv=Pt(ie),j_={exports:{}};(function(t,e){(function(i,n){var r="function",o="undefined",s="object",a="string",c="major",d="model",l="name",u="type",h="vendor",p="version",g="architecture",m="console",f="mobile",T="tablet",R="smarttv",A="wearable",N="embedded",O="Amazon",w="Apple",L="ASUS",M="BlackBerry",j="Browser",H="Chrome",ht="Firefox",lt="Google",rt="Huawei",Kt="LG",Ft="Microsoft",Ii="Motorola",U="Opera",B="Samsung",X="Sharp",x="Sony",E="Xiaomi",I="Zebra",b="Facebook",F="Chromium OS",ct="Mac OS",Wt=" Browser",ye=function(Te){for(var Ie={},zt=0;zt0?pe.length===2?typeof pe[1]==r?this[pe[0]]=pe[1].call(this,Tt):this[pe[0]]=pe[1]:pe.length===3?typeof pe[1]!==r||pe[1].exec&&pe[1].test?this[pe[0]]=Tt?Tt.replace(pe[1],pe[2]):n:this[pe[0]]=Tt?pe[1].call(this,Tt,pe[2]):n:pe.length===4&&(this[pe[0]]=Tt?pe[3].call(this,Tt.replace(pe[1],pe[2])):n):this[pe]=Tt||n;sr+=2}},Ga=function(Te,Ie){for(var zt in Ie)if(typeof Ie[zt]===s&&Ie[zt].length>0){for(var ki=0;ki2&&(Tt[d]="iPad",Tt[u]=T),Tt},this.getEngine=function(){var Tt={};return Tt[l]=n,Tt[p]=n,Ss.call(Tt,ki,pe.engine),Tt},this.getOS=function(){var Tt={};return Tt[l]=n,Tt[p]=n,Ss.call(Tt,ki,pe.os),Qr&&!Tt[l]&&or&&or.platform&&or.platform!="Unknown"&&(Tt[l]=or.platform.replace(/chrome os/i,F).replace(/macos/i,ct)),Tt},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return ki},this.setUA=function(Tt){return ki=typeof Tt===a&&Tt.length>500?Rd(Tt,500):Tt,this},this.setUA(ki),this};fn.VERSION="0.7.40",fn.BROWSER=ye([l,p,c]),fn.CPU=ye([g]),fn.DEVICE=ye([d,h,u,m,f,R,T,A,N]),fn.ENGINE=fn.OS=ye([l,p]),t.exports&&(e=t.exports=fn),e.UAParser=fn;var Jr=typeof i!==o&&(i.jQuery||i.Zepto);if(Jr&&!Jr.ua){var yh=new fn;Jr.ua=yh.getResult(),Jr.ua.get=function(){return yh.getUA()},Jr.ua.set=function(Te){yh.setUA(Te);var Ie=yh.getResult();for(var zt in Ie)Jr.ua[zt]=Ie[zt]}}})(typeof window=="object"?window:Qe)})(j_,j_.exports);var EF=Pt(j_.exports),yv=el.clear;Nt({global:!0,bind:!0,enumerable:!0,forced:ie.clearImmediate!==yv},{clearImmediate:yv});var Iv=ie,mF=fi,fF=Be,gF=zh,SF=Pr,TF=oo,RF=Fo,vF=Iv.Function,CF=/MSIE .\./.test(SF)||gF==="BUN"&&function(){var t=Iv.Bun.version.split(".");return t.length<3||t[0]==="0"&&(t[1]<3||t[1]==="3"&&t[2]==="0")}(),yF=Nt,Av=ie,bv=el.set,IF=function(t,e){var i=1;return CF?function(n,r){var o=RF(arguments.length,1)>i,s=fF(n)?n:vF(n),a=o?TF(arguments,i):[],c=o?function(){mF(s,this,a)}:s;return t(c)}:t},wv=Av.setImmediate?IF(bv):bv;yF({global:!0,bind:!0,enumerable:!0,forced:Av.setImmediate!==wv},{setImmediate:wv});var Ov=Pt(sn.setImmediate),AF=ie,bF=BS,wF=Hi,OF=Fo,NF=wi;Nt({global:!0,enumerable:!0,dontCallGetSet:!0,forced:Lt(function(){return NF&&Object.getOwnPropertyDescriptor(AF,"queueMicrotask").value.length!==1})},{queueMicrotask:function(t){OF(arguments.length,1),bF(wF(t))}});var Nv=Pt(sn.queueMicrotask);function Dv(t,e){return function(){return t.apply(e,arguments)}}const{toString:DF}=Object.prototype,{getPrototypeOf:G_}=Object,{iterator:Ol,toStringTag:Pv}=Symbol,Nl=(W_=Object.create(null),t=>{const e=DF.call(t);return W_[e]||(W_[e]=e.slice(8,-1).toLowerCase())});var W_;const Yn=t=>(t=t.toLowerCase(),e=>Nl(e)===t),Dl=t=>e=>typeof e===t,{isArray:Js}=Array,Ec=Dl("undefined"),Lv=Yn("ArrayBuffer"),PF=Dl("string"),Yi=Dl("function"),kv=Dl("number"),Pl=t=>t!==null&&typeof t=="object",Ll=t=>{if(Nl(t)!=="object")return!1;const e=G_(t);return!(e!==null&&e!==Object.prototype&&Object.getPrototypeOf(e)!==null||Pv in t||Ol in t)},LF=Yn("Date"),kF=Yn("File"),MF=Yn("Blob"),UF=Yn("FileList"),xF=Yn("URLSearchParams"),[VF,FF,BF,jF]=["ReadableStream","Request","Response","Headers"].map(Yn);function mc(t,e){let i,n,{allOwnKeys:r=!1}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(t!=null)if(typeof t!="object"&&(t=[t]),Js(t))for(i=0,n=t.length;i0;)if(n=i[r],e===n.toLowerCase())return n;return null}const Yo=Cv!==void 0?Cv:typeof self!="undefined"?self:typeof window!="undefined"?window:xf,Uv=t=>!Ec(t)&&t!==Yo,GF=(H_=typeof Uint8Array!="undefined"&&G_(Uint8Array),t=>H_&&t instanceof H_);var H_;const WF=Yn("HTMLFormElement"),xv=(t=>{let{hasOwnProperty:e}=t;return(i,n)=>e.call(i,n)})(Object.prototype),HF=Yn("RegExp"),Vv=(t,e)=>{const i=Object.getOwnPropertyDescriptors(t),n={};mc(i,(r,o)=>{let s;(s=e(r,o,t))!==!1&&(n[o]=s||r)}),Object.defineProperties(t,n)},KF=Yn("AsyncFunction"),Fv=(Bv=typeof Ov=="function",jv=Yi(Yo.postMessage),Bv?Ov:jv?(K_="axios@".concat(Math.random()),kl=[],Yo.addEventListener("message",t=>{let{source:e,data:i}=t;e===Yo&&i===K_&&kl.length&&kl.shift()()},!1),t=>{kl.push(t),Yo.postMessage(K_,"*")}):t=>setTimeout(t));var Bv,jv,K_,kl;const YF=Nv!==void 0?Nv.bind(Yo):typeof process!="undefined"&&process.nextTick||Fv;var W={isArray:Js,isArrayBuffer:Lv,isBuffer:function(t){return t!==null&&!Ec(t)&&t.constructor!==null&&!Ec(t.constructor)&&Yi(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Yi(t.append)&&((e=Nl(t))==="formdata"||e==="object"&&Yi(t.toString)&&t.toString()==="[object FormData]"))},isArrayBufferView:function(t){let e;return e=typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&Lv(t.buffer),e},isString:PF,isNumber:kv,isBoolean:t=>t===!0||t===!1,isObject:Pl,isPlainObject:Ll,isReadableStream:VF,isRequest:FF,isResponse:BF,isHeaders:jF,isUndefined:Ec,isDate:LF,isFile:kF,isBlob:MF,isRegExp:HF,isFunction:Yi,isStream:t=>Pl(t)&&Yi(t.pipe),isURLSearchParams:xF,isTypedArray:GF,isFileList:UF,forEach:mc,merge:function t(){const{caseless:e}=Uv(this)&&this||{},i={},n=(r,o)=>{const s=e&&Mv(i,o)||o;Ll(i[s])&&Ll(r)?i[s]=t(i[s],r):Ll(r)?i[s]=t({},r):Js(r)?i[s]=r.slice():i[s]=r};for(let r=0,o=arguments.length;r3&&arguments[3]!==void 0?arguments[3]:{};return mc(e,(r,o)=>{i&&Yi(r)?t[o]=Dv(r,i):t[o]=r},{allOwnKeys:n}),t},trim:t=>ni(t)?ni(t).call(t):t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),inherits:(t,e,i,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),i&&Object.assign(t.prototype,i)},toFlatObject:(t,e,i,n)=>{let r,o,s;const a={};if(e=e||{},t==null)return e;do{for(r=Object.getOwnPropertyNames(t),o=r.length;o-- >0;)s=r[o],n&&!n(s,t,e)||a[s]||(e[s]=t[s],a[s]=!0);t=i!==!1&&G_(t)}while(t&&(!i||i(t,e))&&t!==Object.prototype);return e},kindOf:Nl,kindOfTest:Yn,endsWith:(t,e,i)=>{t=String(t),(i===void 0||i>t.length)&&(i=t.length),i-=e.length;const n=t.indexOf(e,i);return n!==-1&&n===i},toArray:t=>{if(!t)return null;if(Js(t))return t;let e=t.length;if(!kv(e))return null;const i=new Array(e);for(;e-- >0;)i[e]=t[e];return i},forEachEntry:(t,e)=>{const i=(t&&t[Ol]).call(t);let n;for(;(n=i.next())&&!n.done;){const r=n.value;e.call(t,r[0],r[1])}},matchAll:(t,e)=>{let i;const n=[];for(;(i=t.exec(e))!==null;)n.push(i);return n},isHTMLForm:WF,hasOwnProperty:xv,hasOwnProp:xv,reduceDescriptors:Vv,freezeMethods:t=>{Vv(t,(e,i)=>{if(Yi(t)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const n=t[i];Yi(n)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")}))})},toObjectSet:(t,e)=>{const i={},n=r=>{r.forEach(o=>{i[o]=!0})};return Js(t)?n(t):n(String(t).split(e)),i},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,i,n){return i.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,findKey:Mv,global:Yo,isContextDefined:Uv,isSpecCompliantForm:function(t){return!!(t&&Yi(t.append)&&t[Pv]==="FormData"&&t[Ol])},toJSONObject:t=>{const e=new Array(10),i=(n,r)=>{if(Pl(n)){if(e.indexOf(n)>=0)return;if(!("toJSON"in n)){e[r]=n;const o=Js(n)?[]:{};return mc(n,(s,a)=>{const c=i(s,r+1);!Ec(c)&&(o[a]=c)}),e[r]=void 0,o}}return n};return i(t,0)},isAsyncFn:KF,isThenable:t=>t&&(Pl(t)||Yi(t))&&Yi(t.then)&&Yi(t.catch),setImmediate:Fv,asap:YF,isIterable:t=>t!=null&&Yi(t[Ol])};function Ut(t,e,i,n,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),i&&(this.config=i),n&&(this.request=n),r&&(this.response=r,this.status=r.status?r.status:null)}W.inherits(Ut,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:W.toJSONObject(this.config),code:this.code,status:this.status}}});const Gv=Ut.prototype,Wv={};["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(t=>{Wv[t]={value:t}}),Object.defineProperties(Ut,Wv),Object.defineProperty(Gv,"isAxiosError",{value:!0}),Ut.from=(t,e,i,n,r,o)=>{const s=Object.create(Gv);return W.toFlatObject(t,s,function(a){return a!==Error.prototype},a=>a!=="isAxiosError"),Ut.call(s,t.message,e,i,n,r),s.cause=t,s.name=t.name,o&&Object.assign(s,o),s};function Y_(t){return W.isPlainObject(t)||W.isArray(t)}function Hv(t){return W.endsWith(t,"[]")?t.slice(0,-2):t}function Kv(t,e,i){return t?t.concat(e).map(function(n,r){return n=Hv(n),!i&&r?"["+n+"]":n}).join(i?".":""):e}const qF=W.toFlatObject(W,{},null,function(t){return/^is[A-Z]/.test(t)});function Ml(t,e,i){if(!W.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const n=(i=W.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,p){return!W.isUndefined(p[h])})).metaTokens,r=i.visitor||d,o=i.dots,s=i.indexes,a=(i.Blob||typeof Blob!="undefined"&&Blob)&&W.isSpecCompliantForm(e);if(!W.isFunction(r))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(W.isDate(h))return h.toISOString();if(!a&&W.isBlob(h))throw new Ut("Blob is not supported. Use a Buffer instead.");return W.isArrayBuffer(h)||W.isTypedArray(h)?a&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function d(h,p,g){let m=h;if(h&&!g&&typeof h=="object"){if(W.endsWith(p,"{}"))p=n?p:p.slice(0,-2),h=JSON.stringify(h);else if(W.isArray(h)&&function(f){return W.isArray(f)&&!f.some(Y_)}(h)||(W.isFileList(h)||W.endsWith(p,"[]"))&&(m=W.toArray(h)))return p=Hv(p),m.forEach(function(f,T){!W.isUndefined(f)&&f!==null&&e.append(s===!0?Kv([p],T,o):s===null?p:p+"[]",c(f))}),!1}return!!Y_(h)||(e.append(Kv(g,p,o),c(h)),!1)}const l=[],u=Object.assign(qF,{defaultVisitor:d,convertValue:c,isVisitable:Y_});if(!W.isObject(t))throw new TypeError("data must be an object");return function h(p,g){if(!W.isUndefined(p)){if(l.indexOf(p)!==-1)throw Error("Circular reference detected in "+g.join("."));l.push(p),W.forEach(p,function(m,f){(!(W.isUndefined(m)||m===null)&&r.call(e,m,W.isString(f)?ni(f).call(f):f,g,u))===!0&&h(m,g?g.concat(f):[f])}),l.pop()}}(t),e}function Yv(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(i){return e[i]})}function q_(t,e){this._pairs=[],t&&Ml(t,this,e)}const qv=q_.prototype;function zF(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function zv(t,e,i){if(!e)return t;const n=i&&i.encode||zF;W.isFunction(i)&&(i={serialize:i});const r=i&&i.serialize;let o;if(o=r?r(e,i):W.isURLSearchParams(e)?e.toString():new q_(e,i).toString(n),o){const s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t}qv.append=function(t,e){this._pairs.push([t,e])},qv.toString=function(t){const e=t?function(i){return t.call(this,i,Yv)}:Yv;return this._pairs.map(function(i){return e(i[0])+"="+e(i[1])},"").join("&")};var Xv=class{constructor(){this.handlers=[]}use(t,e,i){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!i&&i.synchronous,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){W.forEach(this.handlers,function(e){e!==null&&t(e)})}},Jv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Qv={exports:{}},XF=Nt,JF=wi,Zv=gn.f;XF({target:"Object",stat:!0,forced:Object.defineProperty!==Zv,sham:!JF},{defineProperty:Zv});var $v=sn.Object,QF=Qv.exports=function(t,e,i){return $v.defineProperty(t,e,i)};$v.defineProperty.sham&&(QF.sham=!0);var tC=Pt(Qv.exports),ZF=TypeError,eC=Ja,$F=tl,tB=gi,eB=Re("species"),iC=Array,iB=function(t){var e;return eC(t)&&(e=t.constructor,($F(e)&&(e===iC||eC(e.prototype))||tB(e)&&(e=e[eB])===null)&&(e=void 0)),e===void 0?iC:e},nC=function(t,e){return new(iB(t))(e===0?0:e)},nB=Lt,rB=Mo,oB=Re("species"),rC=function(t){return rB>=51||!nB(function(){var e=[];return(e.constructor={})[oB]=function(){return{foo:1}},e[t](Boolean).foo!==1})},sB=Nt,aB=Lt,cB=Ja,dB=gi,lB=dr,uB=io,oC=function(t){if(t>9007199254740991)throw ZF("Maximum allowed index exceeded");return t},sC=c_,hB=nC,pB=rC,_B=Mo,aC=Re("isConcatSpreadable"),EB=_B>=51||!aB(function(){var t=[];return t[aC]=!1,t.concat()[0]!==t}),mB=function(t){if(!dB(t))return!1;var e=t[aC];return e!==void 0?!!e:cB(t)};sB({target:"Array",proto:!0,arity:1,forced:!EB||!pB("concat")},{concat:function(t){var e,i,n,r,o,s=lB(this),a=hB(s,0),c=0;for(e=-1,n=arguments.length;eR;R++)if((a||R in m)&&(p=T(h=m[R],R,g),t))if(e)N[R]=p;else if(p)switch(t){case 3:return!0;case 5:return h;case 6:return R;case 2:pC(N,h)}else switch(t){case 4:return!1;case 7:pC(N,h)}return o?-1:n||r?r:N}},_C={forEach:ho(0),map:ho(1),filter:ho(2),some:ho(3),every:ho(4),find:ho(5),findIndex:ho(6),filterReject:ho(7)},Ul=Nt,fc=ie,z_=Ye,LB=de,Zs=wi,$s=Is,kB=Lt,di=ti,MB=$e,X_=Mi,xl=to,J_=Mh,UB=Ki,Q_=$r,ta=Za,EC=Bd,xB=Vd,mC=cC,VB=Qa,fC=Id,gC=gn,FB=ep,SC=bd,TC=ro,BB=$d,Z_=bs,RC=Fd,vC=Lh,jB=Re,GB=Qs,WB=ke,HB=hC,KB=Lr,CC=Vo,Vl=_C.forEach,qi=xd("hidden"),Fl="Symbol",gc="prototype",YB=CC.set,yC=CC.getterFor(Fl),qn=Object[gc],qo=fc.Symbol,Bl=qo&&qo[gc],qB=fc.RangeError,zB=fc.TypeError,$_=fc.QObject,IC=fC.f,zo=gC.f,AC=mC.f,XB=SC.f,bC=LB([].push),Ur=Z_("symbols"),Sc=Z_("op-symbols"),JB=Z_("wks"),tE=!$_||!$_[gc]||!$_[gc].findChild,wC=function(t,e,i){var n=IC(qn,e);n&&delete qn[e],zo(t,e,i),n&&t!==qn&&zo(qn,e,n)},eE=Zs&&kB(function(){return ta(zo({},"a",{get:function(){return zo(this,"a",{value:7}).a}})).a!==7})?wC:zo,iE=function(t,e){var i=Ur[t]=ta(Bl);return YB(i,{type:Fl,tag:t,description:e}),Zs||(i.description=e),i},jl=function(t,e,i){t===qn&&jl(Sc,e,i),X_(t);var n=J_(e);return X_(i),di(Ur,n)?(i.enumerable?(di(t,qi)&&t[qi][n]&&(t[qi][n]=!1),i=ta(i,{enumerable:Q_(0,!1)})):(di(t,qi)||zo(t,qi,Q_(1,ta(null))),t[qi][n]=!0),eE(t,n,i)):zo(t,n,i)},nE=function(t,e){X_(t);var i=xl(e),n=EC(i).concat(PC(i));return Vl(n,function(r){Zs&&!z_(OC,i,r)||jl(t,r,i[r])}),t},OC=function(t){var e=J_(t),i=z_(XB,this,e);return!(this===qn&&di(Ur,e)&&!di(Sc,e))&&(!(i||!di(this,e)||!di(Ur,e)||di(this,qi)&&this[qi][e])||i)},NC=function(t,e){var i=xl(t),n=J_(e);if(i!==qn||!di(Ur,n)||di(Sc,n)){var r=IC(i,n);return!r||!di(Ur,n)||di(i,qi)&&i[qi][n]||(r.enumerable=!0),r}},DC=function(t){var e=AC(xl(t)),i=[];return Vl(e,function(n){di(Ur,n)||di(RC,n)||bC(i,n)}),i},PC=function(t){var e=t===qn,i=AC(e?Sc:xl(t)),n=[];return Vl(i,function(r){!di(Ur,r)||e&&!di(qn,r)||bC(n,Ur[r])}),n};$s||(qo=function(){if(MB(Bl,this))throw new zB("Symbol is not a constructor");var t=arguments.length&&arguments[0]!==void 0?UB(arguments[0]):void 0,e=vC(t),i=function(n){var r=this===void 0?fc:this;r===qn&&z_(i,Sc,n),di(r,qi)&&di(r[qi],e)&&(r[qi][e]=!1);var o=Q_(1,n);try{eE(r,e,o)}catch(s){if(!(s instanceof qB))throw s;wC(r,e,o)}};return Zs&&tE&&eE(qn,e,{configurable:!0,set:i}),iE(e,t)},TC(Bl=qo[gc],"toString",function(){return yC(this).tag}),TC(qo,"withoutSetter",function(t){return iE(vC(t),t)}),SC.f=OC,gC.f=jl,FB.f=nE,fC.f=NC,xB.f=mC.f=DC,VB.f=PC,GB.f=function(t){return iE(jB(t),t)},Zs&&BB(Bl,"description",{configurable:!0,get:function(){return yC(this).description}})),Ul({global:!0,constructor:!0,wrap:!0,forced:!$s,sham:!$s},{Symbol:qo}),Vl(EC(JB),function(t){WB(t)}),Ul({target:Fl,stat:!0,forced:!$s},{useSetter:function(){tE=!0},useSimple:function(){tE=!1}}),Ul({target:"Object",stat:!0,forced:!$s,sham:!Zs},{create:function(t,e){return e===void 0?ta(t):nE(ta(t),e)},defineProperty:jl,defineProperties:nE,getOwnPropertyDescriptor:NC}),Ul({target:"Object",stat:!0,forced:!$s},{getOwnPropertyNames:DC}),HB(),KB(qo,Fl),RC[qi]=!0;var LC=Is&&!!Symbol.for&&!!Symbol.keyFor,QB=Nt,ZB=Si,$B=ti,tj=Ki,kC=bs,ej=LC,rE=kC("string-to-symbol-registry"),ij=kC("symbol-to-string-registry");QB({target:"Symbol",stat:!0,forced:!ej},{for:function(t){var e=tj(t);if($B(rE,e))return rE[e];var i=ZB("Symbol")(e);return rE[e]=i,ij[i]=e,i}});var nj=Nt,rj=ti,oj=Ya,sj=As,aj=LC,MC=bs("symbol-to-string-registry");nj({target:"Symbol",stat:!0,forced:!aj},{keyFor:function(t){if(!oj(t))throw new TypeError(sj(t)+" is not a symbol");if(rj(MC,t))return MC[t]}});var UC=Ja,cj=Be,xC=cr,dj=Ki,VC=de([].push),lj=Nt,FC=Si,BC=fi,uj=Ye,Tc=de,jC=Lt,GC=Be,WC=Ya,HC=oo,hj=function(t){if(cj(t))return t;if(UC(t)){for(var e=t.length,i=[],n=0;n=i.length;return s=!s&&W.isArray(r)?r.length:s,c?(W.hasOwnProp(r,s)?r[s]=[r[s],n]:r[s]=n,!a):(r[s]&&W.isObject(r[s])||(r[s]=[]),e(i,n,r[s],o)&&W.isArray(r[s])&&(r[s]=function(d){const l={},u=Object.keys(d);let h;const p=u.length;let g;for(h=0;h{e(function(o){return RG(W).call(W,/\w+|\[(\w*)]/g,o).map(s=>s[0]==="[]"?"":s[1]||s[0])}(n),r,i,0)}),i}return null}const hE={transitional:Jv,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const i=e.getContentType()||"",n=i.indexOf("application/json")>-1,r=W.isObject(t);if(r&&W.isHTMLForm(t)&&(t=new FormData(t)),W.isFormData(t))return n?JSON.stringify(Cy(t)):t;if(W.isArrayBuffer(t)||W.isBuffer(t)||W.isStream(t)||W.isFile(t)||W.isBlob(t)||W.isReadableStream(t))return t;if(W.isArrayBufferView(t))return t.buffer;if(W.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(r){if(i.indexOf("application/x-www-form-urlencoded")>-1)return function(s,a){return Ml(s,new Oi.classes.URLSearchParams,Object.assign({visitor:function(c,d,l,u){return Oi.isNode&&W.isBuffer(c)?(this.append(d,c.toString("base64")),!1):u.defaultVisitor.apply(this,arguments)}},a))}(t,this.formSerializer).toString();if((o=W.isFileList(t))||i.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return Ml(o?{"files[]":t}:t,s&&new s,this.formSerializer)}}return r||n?(e.setContentType("application/json",!1),function(s,a,c){if(W.isString(s))try{return(a||JSON.parse)(s),ni(W).call(W,s)}catch(d){if(d.name!=="SyntaxError")throw d}return(0,JSON.stringify)(s)}(t)):t}],transformResponse:[function(t){const e=this.transitional||hE.transitional,i=e&&e.forcedJSONParsing,n=this.responseType==="json";if(W.isResponse(t)||W.isReadableStream(t))return t;if(t&&W.isString(t)&&(i&&!this.responseType||n)){const r=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(o){if(r)throw o.name==="SyntaxError"?Ut.from(o,Ut.ERR_BAD_RESPONSE,this,null,this.response):o}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Oi.classes.FormData,Blob:Oi.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};W.forEach(["delete","get","head","post","put","patch"],t=>{hE.headers[t]={}});var pE=hE;const vG=W.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"]),yy=Symbol("internals");function Cc(t){var e;return t&&ni(e=String(t)).call(e).toLowerCase()}function Yl(t){return t===!1||t==null?t:W.isArray(t)?t.map(Yl):String(t)}function _E(t,e,i,n,r){return W.isFunction(n)?n.call(this,e,i):(r&&(e=i),W.isString(e)?W.isString(n)?e.indexOf(n)!==-1:W.isRegExp(n)?n.test(e):void 0:void 0)}class ql{constructor(e){e&&this.set(e)}set(e,i,n){const r=this;function o(c,d,l){const u=Cc(d);if(!u)throw new Error("header name must be a non-empty string");const h=W.findKey(r,u);(!h||r[h]===void 0||l===!0||l===void 0&&r[h]!==!1)&&(r[h||d]=Yl(c))}const s=(c,d)=>W.forEach(c,(l,u)=>o(l,u,d));if(W.isPlainObject(e)||e instanceof this.constructor)s(e,i);else if(W.isString(e)&&(e=ni(e).call(e))&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(ni(a=e).call(a)))s((c=>{const d={};let l,u,h;return c&&c.split(` +`).forEach(function(p){var g,m;h=p.indexOf(":"),l=ni(g=p.substring(0,h)).call(g).toLowerCase(),u=ni(m=p.substring(h+1)).call(m),!l||d[l]&&vG[l]||(l==="set-cookie"?d[l]?d[l].push(u):d[l]=[u]:d[l]=d[l]?d[l]+", "+u:u)}),d})(e),i);else if(W.isObject(e)&&W.isIterable(e)){let c,d,l={};for(const u of e){if(!W.isArray(u))throw TypeError("Object iterator must return a key-value pair");l[d=u[0]]=(c=l[d])?W.isArray(c)?[...c,u[1]]:[c,u[1]]:u[1]}s(l,i)}else e!=null&&o(i,e,n);var a;return this}get(e,i){if(e=Cc(e)){const n=W.findKey(this,e);if(n){const r=this[n];if(!i)return r;if(i===!0)return function(o){const s=Object.create(null),a=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let c;for(;c=a.exec(o);)s[c[1]]=c[2];return s}(r);if(W.isFunction(i))return i.call(this,r,n);if(W.isRegExp(i))return i.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,i){if(e=Cc(e)){const n=W.findKey(this,e);return!(!n||this[n]===void 0||i&&!_E(0,this[n],n,i))}return!1}delete(e,i){const n=this;let r=!1;function o(s){if(s=Cc(s)){const a=W.findKey(n,s);!a||i&&!_E(0,n[a],a,i)||(delete n[a],r=!0)}}return W.isArray(e)?e.forEach(o):o(e),r}clear(e){const i=Object.keys(this);let n=i.length,r=!1;for(;n--;){const o=i[n];e&&!_E(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const i=this,n={};return W.forEach(this,(r,o)=>{var s;const a=W.findKey(n,o);if(a)return i[a]=Yl(r),void delete i[o];const c=e?function(d){return ni(d).call(d).toLowerCase().replace(/([a-z\d])(\w*)/g,(l,u,h)=>u.toUpperCase()+h)}(o):ni(s=String(o)).call(s);c!==o&&delete i[o],i[c]=Yl(r),n[c]=!0}),this}concat(){for(var e=arguments.length,i=new Array(e),n=0;n{n!=null&&n!==!1&&(i[r]=e&&W.isArray(n)?n.join(", "):n)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(e=>{let[i,n]=e;return i+": "+n}).join(` +`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e){const i=new this(e);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;oi.set(s)),i}static accessor(e){const i=(this[yy]=this[yy]={accessors:{}}).accessors,n=this.prototype;function r(o){const s=Cc(o);i[s]||(function(a,c){const d=W.toCamelCase(" "+c);["get","set","has"].forEach(l=>{Object.defineProperty(a,l+d,{value:function(u,h,p){return this[l].call(this,c,u,h,p)},configurable:!0})})}(n,o),i[s]=!0)}return W.isArray(e)?e.forEach(r):r(e),this}}ql.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),W.reduceDescriptors(ql.prototype,(t,e)=>{let{value:i}=t,n=e[0].toUpperCase()+e.slice(1);return{get:()=>i,set(r){this[n]=r}}}),W.freezeMethods(ql);var zn=ql;function EE(t,e){const i=this||pE,n=e||i,r=zn.from(n.headers);let o=n.data;return W.forEach(t,function(s){o=s.call(i,o,r.normalize(),e?e.status:void 0)}),r.normalize(),o}function Iy(t){return!(!t||!t.__CANCEL__)}function ia(t,e,i){Ut.call(this,t==null?"canceled":t,Ut.ERR_CANCELED,e,i),this.name="CanceledError"}function Ay(t,e,i){const n=i.config.validateStatus;i.status&&n&&!n(i.status)?e(new Ut("Request failed with status code "+i.status,[Ut.ERR_BAD_REQUEST,Ut.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i)):t(i)}W.inherits(ia,Ut,{__CANCEL__:!0});const zl=function(t,e){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:3,n=0;const r=function(o,s){o=o||10;const a=new Array(o),c=new Array(o);let d,l=0,u=0;return s=s!==void 0?s:1e3,function(h){const p=Date.now(),g=c[u];d||(d=p),a[l]=h,c[l]=p;let m=u,f=0;for(;m!==l;)f+=a[m++],m%=o;if(l=(l+1)%o,l===u&&(u=(u+1)%o),p-d1&&arguments[1]!==void 0?arguments[1]:Date.now(),a=null,c&&(clearTimeout(c),c=null),o.apply(null,h)};return[function(){const h=Date.now(),p=h-d;for(var g=arguments.length,m=new Array(g),f=0;f=l?u(m,h):(a=m,c||(c=setTimeout(()=>{c=null,u(a)},l-p)))},()=>a&&u(a)]}(o=>{const s=o.loaded,a=o.lengthComputable?o.total:void 0,c=s-n,d=r(c);n=s,t({loaded:s,total:a,progress:a?s/a:void 0,bytes:c,rate:d||void 0,estimated:d&&a&&s<=a?(a-s)/d:void 0,event:o,lengthComputable:a!=null,[e?"download":"upload"]:!0})},i)},by=(t,e)=>{const i=t!=null;return[n=>e[0]({lengthComputable:i,total:t,loaded:n}),e[1]]},wy=t=>function(){for(var e=arguments.length,i=new Array(e),n=0;nt(...i))};var CG=Oi.hasStandardBrowserEnv?((t,e)=>i=>(i=new vl(i,Oi.origin),t.protocol===i.protocol&&t.host===i.host&&(e||t.port===i.port)))(new vl(Oi.origin),Oi.navigator&&/(msie|trident)/i.test(Oi.navigator.userAgent)):()=>!0,yG=Oi.hasStandardBrowserEnv?{write(t,e,i,n,r,o){const s=[t+"="+encodeURIComponent(e)];W.isNumber(i)&&s.push("expires="+new Date(i).toGMTString()),W.isString(n)&&s.push("path="+n),W.isString(r)&&s.push("domain="+r),o===!0&&s.push("secure"),document.cookie=s.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Oy(t,e,i){let n=!function(r){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)}(e);return t&&(n||i==0)?function(r,o){return o?r.replace(/\/?\/$/,"")+"/"+o.replace(/^\/+/,""):r}(t,e):e}function Ny(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}const Dy=t=>t instanceof zn?function(e){for(var i=1;ir(Dy(d),Dy(l),0,!0)};return W.forEach(Object.keys(Object.assign({},t,e)),function(d){const l=c[d]||r,u=l(t[d],e[d],d);W.isUndefined(u)&&l!==a||(i[d]=u)}),i}var Py=t=>{const e=Xo({},t);let i,{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:s,headers:a,auth:c}=e;if(e.headers=a=zn.from(a),e.url=zv(Oy(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),c&&a.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),W.isFormData(n)){if(Oi.hasStandardBrowserEnv||Oi.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((i=a.getContentType())!==!1){const[d,...l]=i?i.split(";").map(u=>ni(u).call(u)).filter(Boolean):[];a.setContentType([d||"multipart/form-data",...l].join("; "))}}if(Oi.hasStandardBrowserEnv&&(r&&W.isFunction(r)&&(r=r(e)),r||r!==!1&&CG(e.url))){const d=o&&s&&yG.read(s);d&&a.set(o,d)}return e},IG=typeof XMLHttpRequest!="undefined"&&function(t){return new K(function(e,i){const n=Py(t);let r=n.data;const o=zn.from(n.headers).normalize();let s,a,c,d,l,{responseType:u,onUploadProgress:h,onDownloadProgress:p}=n;function g(){d&&d(),l&&l(),n.cancelToken&&n.cancelToken.unsubscribe(s),n.signal&&n.signal.removeEventListener("abort",s)}let m=new XMLHttpRequest;function f(){if(!m)return;const R=zn.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Ay(function(A){e(A),g()},function(A){i(A),g()},{data:u&&u!=="text"&&u!=="json"?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:R,config:t,request:m}),m=null}m.open(n.method.toUpperCase(),n.url,!0),m.timeout=n.timeout,"onloadend"in m?m.onloadend=f:m.onreadystatechange=function(){m&&m.readyState===4&&(m.status!==0||m.responseURL&&m.responseURL.indexOf("file:")===0)&&setTimeout(f)},m.onabort=function(){m&&(i(new Ut("Request aborted",Ut.ECONNABORTED,t,m)),m=null)},m.onerror=function(){i(new Ut("Network Error",Ut.ERR_NETWORK,t,m)),m=null},m.ontimeout=function(){let R=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const A=n.transitional||Jv;n.timeoutErrorMessage&&(R=n.timeoutErrorMessage),i(new Ut(R,A.clarifyTimeoutError?Ut.ETIMEDOUT:Ut.ECONNABORTED,t,m)),m=null},r===void 0&&o.setContentType(null),"setRequestHeader"in m&&W.forEach(o.toJSON(),function(R,A){m.setRequestHeader(A,R)}),W.isUndefined(n.withCredentials)||(m.withCredentials=!!n.withCredentials),u&&u!=="json"&&(m.responseType=n.responseType),p&&([c,l]=zl(p,!0),m.addEventListener("progress",c)),h&&m.upload&&([a,d]=zl(h),m.upload.addEventListener("progress",a),m.upload.addEventListener("loadend",d)),(n.cancelToken||n.signal)&&(s=R=>{m&&(i(!R||R.type?new ia(null,t,m):R),m.abort(),m=null)},n.cancelToken&&n.cancelToken.subscribe(s),n.signal&&(n.signal.aborted?s():n.signal.addEventListener("abort",s)));const T=function(R){const A=/^([-+\w]{1,25})(:?\/\/|:)/.exec(R);return A&&A[1]||""}(n.url);T&&Oi.protocols.indexOf(T)===-1?i(new Ut("Unsupported protocol "+T+":",Ut.ERR_BAD_REQUEST,t)):m.send(r||null)})},AG=(t,e)=>{const{length:i}=t=t?t.filter(Boolean):[];if(e||i){let n,r=new AbortController;const o=function(d){if(!n){n=!0,a();const l=d instanceof Error?d:this.reason;r.abort(l instanceof Ut?l:new ia(l instanceof Error?l.message:l))}};let s=e&&setTimeout(()=>{s=null,o(new Ut("timeout ".concat(e," of ms exceeded"),Ut.ETIMEDOUT))},e);const a=()=>{t&&(s&&clearTimeout(s),s=null,t.forEach(d=>{d.unsubscribe?d.unsubscribe(o):d.removeEventListener("abort",o)}),t=null)};t.forEach(d=>d.addEventListener("abort",o));const{signal:c}=r;return c.unsubscribe=()=>W.asap(a),c}},mE=Pt(ST),Ly=Qs.f("asyncIterator"),bG=Pt(Ly);function fE(t,e){this.v=t,this.k=e}function cn(t){return function(){return new yc(t.apply(this,arguments))}}function yc(t){var e,i;function n(o,s){try{var a=t[o](s),c=a.value,d=c instanceof fE;mE.resolve(d?c.v:c).then(function(l){if(d){var u=o==="return"?"return":"next";if(!c.k||l.done)return n(u,l);l=t[u](l).value}r(a.done?"return":"normal",l)},function(l){n("throw",l)})}catch(l){r("throw",l)}}function r(o,s){switch(o){case"return":e.resolve({value:s,done:!0});break;case"throw":e.reject(s);break;default:e.resolve({value:s,done:!1})}(e=e.next)?n(e.key,e.arg):i=null}this._invoke=function(o,s){return new mE(function(a,c){var d={key:o,arg:s,resolve:a,reject:c,next:null};i?i=i.next=d:(e=i=d,n(o,s))})},typeof t.return!="function"&&(this.return=void 0)}function Rt(t){return new fE(t,0)}function Xl(t){var e={},i=!1;function n(r,o){return i=!0,o=new mE(function(s){s(t[r](o))}),{done:!1,value:new fE(o,1)}}return e[ea!==void 0&&ay||"@@iterator"]=function(){return this},e.next=function(r){return i?(i=!1,r):n("next",r)},typeof t.throw=="function"&&(e.throw=function(r){if(i)throw i=!1,r;return n("throw",r)}),typeof t.return=="function"&&(e.return=function(r){return i?(i=!1,r):n("return",r)}),e}yc.prototype[typeof ea=="function"&&bG||"@@asyncIterator"]=function(){return this},yc.prototype.next=function(t){return this._invoke("next",t)},yc.prototype.throw=function(t){return this._invoke("throw",t)},yc.prototype.return=function(t){return this._invoke("return",t)};var gE=Pt(Ly);function SE(t){var e,i,n,r=2;for(typeof Symbol!="undefined"&&(i=gE,n=Symbol.iterator);r--;){if(i&&(e=t[i])!=null)return e.call(t);if(n&&(e=t[n])!=null)return new Jl(e.call(t));i="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function Jl(t){function e(i){if(Object(i)!==i)return K.reject(new TypeError(i+" is not an object."));var n=i.done;return K.resolve(i.value).then(function(r){return{value:r,done:n}})}return Jl=function(i){this.s=i,this.n=i.next},Jl.prototype={s:null,n:null,next:function(){return e(this.n.apply(this.s,arguments))},return:function(i){var n=this.s.return;return n===void 0?K.resolve({value:i,done:!0}):e(n.apply(this.s,arguments))},throw:function(i){var n=this.s.return;return n===void 0?K.reject(i):e(n.apply(this.s,arguments))}},new Jl(t)}const wG=function*(t,e){let i=t.byteLength;if(!e||i{const r=OG(t,e);let o,s=0,a=d=>{o||(o=!0,n&&n(d))};return new ReadableStream({pull(d){return C(this,null,function*(){try{const{done:l,value:u}=yield r.next();if(l)return a(),void d.close();let h=u.byteLength;if(i){let p=s+=h;i(p)}d.enqueue(new Uint8Array(u))}catch(l){throw a(l),l}})},cancel:d=>(a(d),r.return())},{highWaterMark:2})};function My(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function Uy(t){for(var e=1;eVy.encode(t)):t=>C(this,null,function*(){return new Uint8Array(yield new Response(t).arrayBuffer())}));var Vy;const Fy=function(t){try{for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n{let t=!1;const e=new Request(Oi.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),TE=xy&&Fy(()=>W.isReadableStream(new Response("").body)),Zl={stream:TE&&(t=>t.body)};var By;Ql&&(By=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Zl[t]&&(Zl[t]=W.isFunction(By[t])?e=>e[t]():(e,i)=>{throw new Ut("Response type '".concat(t,"' is not supported"),Ut.ERR_NOT_SUPPORT,i)})}));const LG=(t,e)=>C(this,null,function*(){const i=W.toFiniteNumber(t.getContentLength());return i==null?(n=>C(this,null,function*(){return n==null?0:W.isBlob(n)?n.size:W.isSpecCompliantForm(n)?(yield new Request(Oi.origin,{method:"POST",body:n}).arrayBuffer()).byteLength:W.isArrayBufferView(n)||W.isArrayBuffer(n)?n.byteLength:(W.isURLSearchParams(n)&&(n+=""),W.isString(n)?(yield DG(n)).byteLength:void 0)}))(e):i});var kG=Ql&&(t=>C(this,null,function*(){let{url:e,method:i,data:n,signal:r,cancelToken:o,timeout:s,onDownloadProgress:a,onUploadProgress:c,responseType:d,headers:l,withCredentials:u="same-origin",fetchOptions:h}=Py(t);d=d?(d+"").toLowerCase():"text";let p,g=AG([r,o&&o.toAbortSignal()],s);const m=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let f;try{if(c&&PG&&i!=="get"&&i!=="head"&&(f=yield LG(l,n))!==0){let O,w=new Request(e,{method:"POST",body:n,duplex:"half"});if(W.isFormData(n)&&(O=w.headers.get("content-type"))&&l.setContentType(O),w.body){const[L,M]=by(f,zl(wy(c)));n=ky(w.body,65536,L,M)}}W.isString(u)||(u=u?"include":"omit");const T="credentials"in Request.prototype;p=new Request(e,Uy(Uy({},h),{},{signal:g,method:i.toUpperCase(),headers:l.normalize().toJSON(),body:n,duplex:"half",credentials:T?u:void 0}));let R=yield fetch(p);const A=TE&&(d==="stream"||d==="response");if(TE&&(a||A&&m)){const O={};["status","statusText","headers"].forEach(j=>{O[j]=R[j]});const w=W.toFiniteNumber(R.headers.get("content-length")),[L,M]=a&&by(w,zl(wy(a),!0))||[];R=new Response(ky(R.body,65536,L,()=>{M&&M(),m&&m()}),O)}d=d||"text";let N=yield Zl[W.findKey(Zl,d)||"text"](R,t);return!A&&m&&m(),yield new K((O,w)=>{Ay(O,w,{data:N,headers:zn.from(R.headers),status:R.status,statusText:R.statusText,config:t,request:p})})}catch(T){throw m&&m(),T&&T.name==="TypeError"&&/Load failed|fetch/i.test(T.message)?Object.assign(new Ut("Network Error",Ut.ERR_NETWORK,t,p),{cause:T.cause||T}):Ut.from(T,T&&T.code,t,p)}}));const RE={http:null,xhr:IG,fetch:kG};W.forEach(RE,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(i){}Object.defineProperty(t,"adapterName",{value:e})}});const jy=t=>"- ".concat(t),MG=t=>W.isFunction(t)||t===null||t===!1;var Gy={getAdapter:t=>{t=W.isArray(t)?t:[t];const{length:e}=t;let i,n;const r={};for(let o=0;o{let[a,c]=s;return"adapter ".concat(a," ")+(c===!1?"is not supported by the environment":"is not available in the build")});throw new Ut("There is no suitable adapter to dispatch the request "+(e?o.length>1?`since : +`+o.map(jy).join(` +`):" "+jy(o[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n},adapters:RE};function vE(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new ia(null,t)}function Wy(t){return vE(t),t.headers=zn.from(t.headers),t.data=EE.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Gy.getAdapter(t.adapter||pE.adapter)(t).then(function(e){return vE(t),e.data=EE.call(t,t.transformResponse,e),e.headers=zn.from(e.headers),e},function(e){return Iy(e)||(vE(t),e&&e.response&&(e.response.data=EE.call(t,t.transformResponse,e.response),e.response.headers=zn.from(e.response.headers))),K.reject(e)})}const Hy="1.9.0",$l={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{$l[t]=function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t}});const Ky={};$l.transitional=function(t,e,i){function n(r,o){return"[Axios v"+Hy+"] Transitional option '"+r+"'"+o+(i?". "+i:"")}return(r,o,s)=>{if(t===!1)throw new Ut(n(o," has been removed"+(e?" in "+e:"")),Ut.ERR_DEPRECATED);return e&&!Ky[o]&&(Ky[o]=!0,console.warn(n(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,o,s)}},$l.spelling=function(t){return(e,i)=>(console.warn("".concat(i," is likely a misspelling of ").concat(t)),!0)};var tu={assertOptions:function(t,e,i){if(typeof t!="object")throw new Ut("options must be an object",Ut.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let r=n.length;for(;r-- >0;){const o=n[r],s=e[o];if(s){const a=t[o],c=a===void 0||s(a,o,t);if(c!==!0)throw new Ut("option "+o+" must be "+c,Ut.ERR_BAD_OPTION_VALUE)}else if(i!==!0)throw new Ut("Unknown option "+o,Ut.ERR_BAD_OPTION)}},validators:$l};const pr=tu.validators;let eu=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Xv,response:new Xv}}request(t,e){return C(this,null,function*(){try{return yield this._request(t,e)}catch(i){if(i instanceof Error){let n={};Error.captureStackTrace?Error.captureStackTrace(n):n=new Error;const r=n.stack?n.stack.replace(/^.+\n/,""):"";try{i.stack?r&&!String(i.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(i.stack+=` +`+r):i.stack=r}catch(o){}}throw i}})}_request(t,e){typeof t=="string"?(e=e||{}).url=t:e=t||{},e=Xo(this.defaults,e);const{transitional:i,paramsSerializer:n,headers:r}=e;i!==void 0&&tu.assertOptions(i,{silentJSONParsing:pr.transitional(pr.boolean),forcedJSONParsing:pr.transitional(pr.boolean),clarifyTimeoutError:pr.transitional(pr.boolean)},!1),n!=null&&(W.isFunction(n)?e.paramsSerializer={serialize:n}:tu.assertOptions(n,{encode:pr.function,serialize:pr.function},!0)),e.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?e.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:e.allowAbsoluteUrls=!0),tu.assertOptions(e,{baseUrl:pr.spelling("baseURL"),withXsrfToken:pr.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let o=r&&W.merge(r.common,r[e.method]);r&&W.forEach(["delete","get","head","post","put","patch","common"],p=>{delete r[p]}),e.headers=zn.concat(o,r);const s=[];let a=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(e)===!1||(a=a&&p.synchronous,s.unshift(p.fulfilled,p.rejected))});const c=[];let d;this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let l,u=0;if(!a){const p=[Wy.bind(this),void 0];for(p.unshift.apply(p,s),p.push.apply(p,c),l=p.length,d=K.resolve(e);u{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](r);n._listeners=null}),this.promise.then=r=>{let o;const s=new K(a=>{n.subscribe(a),o=a}).then(r);return s.cancel=function(){n.unsubscribe(o)},s},e(function(r,o,s){n.reason||(n.reason=new ia(r,o,s),i(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const i=this._listeners.indexOf(e);i!==-1&&this._listeners.splice(i,1)}toAbortSignal(){const e=new AbortController,i=n=>{e.abort(n)};return this.subscribe(i),e.signal.unsubscribe=()=>this.unsubscribe(i),e.signal}static source(){let e;return{token:new CE(function(n){e=n}),cancel:e}}}var UG=CE;const yE={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(yE).forEach(t=>{let[e,i]=t;yE[i]=e});var xG=yE;const ei=function t(e){const i=new iu(e),n=Dv(iu.prototype.request,i);return W.extend(n,iu.prototype,i,{allOwnKeys:!0}),W.extend(n,i,null,{allOwnKeys:!0}),n.create=function(r){return t(Xo(e,r))},n}(pE);ei.Axios=iu,ei.CanceledError=ia,ei.CancelToken=UG,ei.isCancel=Iy,ei.VERSION=Hy,ei.toFormData=Ml,ei.AxiosError=Ut,ei.Cancel=ei.CanceledError,ei.all=function(t){return K.all(t)},ei.spread=function(t){return function(e){return t.apply(null,e)}},ei.isAxiosError=function(t){return W.isObject(t)&&t.isAxiosError===!0},ei.mergeConfig=Xo,ei.AxiosHeaders=zn,ei.formToJSON=t=>Cy(W.isHTMLForm(t)?new FormData(t):t),ei.getAdapter=Gy.getAdapter,ei.HttpStatusCode=xG,ei.default=ei;var Ti=ei;const VG=()=>{};function Ic(){const t={promise:void 0,isResolved:!1,isRejected:!1,isFinished:!1,resolve:void 0,reject:void 0,cancel:VG};return t.promise=new K((e,i)=>{t.resolve=n=>{t.isFinished||(t.isResolved=!0,t.isFinished=!0,e(n),t.value=n)},t.reject=n=>{t.isFinished||(t.isRejected=!0,t.isFinished=!0,i(n))}}),t}const nu=new Map,ru=new Map,_r=new Map;let we=function(t){return t.WIN_10="Windows 10",t.WIN_81="Windows 8.1",t.WIN_8="Windows 8",t.WIN_7="Windows 7",t.WIN_VISTA="Windows Vista",t.WIN_SERVER_2003="Windows Server 2003",t.WIN_XP="Windows XP",t.WIN_2000="Windows 2000",t.ANDROID="Android",t.HARMONY_OS="HarmonyOS",t.OPEN_BSD="Open BSD",t.SUN_OS="Sun OS",t.LINUX="Linux",t.IOS="iOS",t.MAC_OS="Mac OS",t.CHROMIUM_OS="Chromium OS",t.QNX="QNX",t.UNIX="UNIX",t.BEOS="BeOS",t.OS_2="OS/2",t.SEARCH_BOT="Search Bot",t}({}),It=function(t){return t.CHROME="Chrome",t.SAFARI="Safari",t.EDGE="Edge",t.FIREFOX="Firefox",t.OPERA="OPR",t.QQ="QQBrowser",t.WECHAT="MicroMessenger",t}({});const Yy=new EF;let Xn=Yy.getResult(),IE=null;function vt(t){if(!IE){Xn=Yy.getResult();const e=function(a){if(a.engine.name==="Blink"&&a.browser.name!=="WeChat")return It.CHROME;switch(a.browser.name){case"Chrome Headless":case"Chrome":case"Chromium":return It.CHROME;case"Safari":case"Mobile Safari":return It.SAFARI;case"Edge":return It.EDGE;case"Firefox":return It.FIREFOX;case"QQ":case"QQBrowser":return It.QQ;case"Opera":return It.OPERA;case"WeChat":return It.WECHAT;default:return a.browser.name||""}}(Xn),i=qy(Xn),n=function(a){return a.os.name==="Windows"?a.os.version?a.os.name+" "+a.os.version:a.os.name:a.os.name||""}(Xn),r=Xn.os.version,o=qy(Xn,!1),s=Xn.device.type;if(!(e&&i&&n&&r))return{name:e,version:i,os:n,osVersion:r,browserVersion:o,deviceType:s};IE={name:e,version:i,os:n,osVersion:r,browserVersion:o,deviceType:s}}return IE}function qy(t){let e,i=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];return e=t.engine.name==="Blink"?t.engine.version||"":t.browser.version||"",i?e.split(".")[0]:e}function ou(){return vt().os}function zy(){const t=vt();return"".concat(t.os," ").concat(t.osVersion)}function su(){const t=vt();return!!(Xn.engine.name==="WebKit"&&t.os===we.MAC_OS&&navigator.maxTouchPoints&&navigator.maxTouchPoints>0&&t.name!==It.SAFARI||li()&&t.name!==It.SAFARI)}function xr(){return vt().name===It.CHROME}function je(){return vt().name===It.SAFARI}function Xy(){return vt().name===It.EDGE}function ne(){return vt().name===It.FIREFOX}function li(){return vt().os===we.IOS}function Ac(t){const e=vt();return!(e.name!==It.CHROME||!e.osVersion)&&Number(e.version)>=t}function Jy(t){const e=vt();return!(e.name!==It.CHROME||!e.osVersion)&&Number(e.version)=e&&Number(n.version)<=i:Number(n.version)===e)}function bE(t){const e=vt();return!(e.name!==It.EDGE||!e.osVersion)&&Number(e.version)>=t}function Qy(t){const e=vt();return!(e.name!==It.SAFARI||!e.osVersion)&&Number(e.version)>=t}function Zy(t,e,i){const n=vt();if(n.os!==we.IOS||!n.osVersion)return!1;const r=n.osVersion.split(".");return e&&Number(r[0])===t&&Number(r[1])=t}function tI(){const t=vt();if(t.os!==we.IOS||!t.osVersion)return!1;const e=t.osVersion.split(".");return Number(e[0])<14||Number(e[0])===14&&Number(e[1])<=6}function na(){const t=vt();if(t.os!==we.IOS||!t.osVersion)return!1;const e=t.osVersion.split(".");return Number(e[0])===15}function OE(){const t=vt();if(t.os!==we.IOS||!t.osVersion)return!1;const e=t.osVersion.split(".");return Number(e[0])===16}function eI(){const t=vt();if(t.os!==we.IOS||!t.osVersion)return!1;const e=t.osVersion.split(".");return Number(e[0])===15&&Number(e[1])>=1}function bn(){return je()&&navigator.maxTouchPoints>0}function iI(){return vt().name===It.WECHAT}function nI(){return window.navigator.appVersion&&window.navigator.appVersion.match(/Chrome\/([\w\W]*?)\./)!==null&&window.navigator.appVersion.match(/Chrome\/([\w\W]*?)\./)[1]<=35}function NE(){const t=ou();return function(){const{deviceType:e}=vt();return e==="mobile"||e==="tablet"}()||t===we.ANDROID||t===we.IOS||t===we.HARMONY_OS}function Vr(){const t=vt();return t.name!==It.EDGE&&t.name!==It.SAFARI&&!!navigator.userAgent.toLocaleLowerCase().match(/chrome\/[\d]./i)}function au(){return ou()===we.ANDROID}function bc(){const t=vt();return au()&&(t.name===It.CHROME||t.name===It.WECHAT||/chrome|chromium/i.test(navigator.userAgent))}function st(t,e,i){return(e=function(n){var r=function(o,s){if(typeof o!="object"||!o)return o;var a=o[Symbol.toPrimitive];if(a!==void 0){var c=a.call(o,"string");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(o)}(n);return typeof r=="symbol"?r:r+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function rI(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function z(t){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0;super(e),st(this,"code",void 0),st(this,"message",void 0),st(this,"data",void 0),st(this,"name","AgoraRTCException"),this.code=t,this.message="AgoraRTCError ".concat(this.code,": ").concat(e),this.data=i}toString(){return this.data?"".concat(this.message,` +data: `).concat(JSON.stringify(this.data)):this.message}print(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"error",e=arguments.length>1?arguments[1]:void 0;return t==="error"&&(e||console).error(this.toString()),t==="warning"&&(e||console).warn(this.toString()),this}throw(t){throw this.print("error",t),this}};function Fr(t,e){if(typeof t!="boolean")throw new k(v.INVALID_PARAMS,"Invalid ".concat(e,": The value is of the boolean type."))}function Ae(t,e,i){if(!G(i).call(i,t))throw new k(v.INVALID_PARAMS,"".concat(e," can only be set as ").concat(JSON.stringify(i)))}function xt(t,e){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1e4;if(tn||(!(arguments.length>4&&arguments[4]!==void 0)||arguments[4])&&!function(r){return typeof r=="number"&&r%1==0}(t))throw new k(v.INVALID_PARAMS,"invalid ".concat(e,": the value range is [").concat(i,", ").concat(n,"]. integer only"))}function DE(t,e){if(typeof t!="number"){if(!(t.min||t.max||t.ideal||t.exact))throw new k(v.INVALID_PARAMS,"".concat(e," is not a valid ConstrainLong"));t.min!==void 0&&xt(t.min,"".concat(e,".min"),0,1/0),t.max!==void 0&&xt(t.max,"".concat(e,".max"),1,1/0),t.exact!==void 0&&xt(t.exact,"".concat(e,".exact"),1,1/0),t.ideal!==void 0&&xt(t.ideal,"".concat(e,".ideal"),1,1/0)}else xt(t,e,1,1/0)}function Me(t,e){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:255,r=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4];if(t==null)throw new k(v.INVALID_PARAMS,"".concat(e||"param"," cannot be empty"));if(!oI(t,i,n,r))throw new k(v.INVALID_PARAMS,"Invalid ".concat(e||"string param",": Length of the string: [").concat(i,",").concat(n,"].").concat(r?" ASCII characters only.":""))}function Br(t,e){if(!Array.isArray(t))throw new k(v.INVALID_PARAMS,"".concat(e," should be an array"))}function re(t){return t==null}function oI(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:255,n=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3];return typeof t=="string"&&t.length<=i&&t.length>=e&&(!n||function(r){if(typeof r!="string")return!1;for(let o=0;o255)return!1}return!0}(t))}var wc=function(t){return t.COVERED="COVERED",t.POSITION="POSITION",t.SIZE="SIZE",t.STYLE="STYLE",t}(wc||{}),PE=function(t){return t.UNMOUNTED="UNMOUNTED",t.INVALID_HTML_ELEMENT="INVALID_HTML_ELEMENT",t}(PE||{});const sI=new class{constructor(){st(this,"_clientSize",null),st(this,"getClientWidth",()=>document.documentElement?document.documentElement.clientWidth:document.body.clientWidth),st(this,"getClientHeight",()=>document.documentElement?document.documentElement.clientHeight:document.body.clientHeight),st(this,"getStyle",t=>window.getComputedStyle(t,null)),st(this,"checkCssVisibleProperty",t=>{var e;let i=!0;const n=this.getStyle(t),{display:r,visibility:o,opacity:s,filter:a}=n;return(r==="none"||G(e=["hidden","collapse"]).call(e,o)||Number(s)<.1)&&(i=!1),!!i&&(a&&a.split(" ").filter(c=>{var d;const l=c.split("(")[0];return G(d=["brightness","blur","opacity"]).call(d,l)}).map(c=>{const[d,l]=c.split(/\(|\)/);return[d,Number(l.match(/^[0-9\.]+/))]}).forEach(c=>{const[d,l]=c;switch(d){case"brightness":(l<.1||l>3)&&(i=!1);break;case"blur":l>3&&(i=!1);break;case"opacity":l<.1&&(i=!1)}}),i)}),st(this,"checkPropertyUpToAllParentNodes",(t,e)=>{let i=!0,n=!0;const r=s=>e(s);let o=t;for(;o&&n;)r(o)||(i=!1,n=!1),o=o.parentElement,o||(n=!1);return i}),st(this,"checkActualCssVisibleIncludeInherit",t=>this.checkPropertyUpToAllParentNodes(t,this.checkCssVisibleProperty)),st(this,"getSizeAboutClient",t=>{const{width:e,height:i,left:n,right:r,top:o,bottom:s}=t.getBoundingClientRect(),a=this.getClientWidth(),c=this.getClientHeight();return{width:e,height:i,left:n,right:r,top:o,bottom:s,clientWidth:a,clientHeight:c,clientMin:Math.min(a,c)}}),st(this,"checkActualSize",()=>{const{width:t,height:e,clientMin:i}=this._clientSize;return this.checkSizeIsVisible(t,e,i)}),st(this,"elementFromPoint",(t,e)=>document.elementFromPoint?document.elementFromPoint(t,e):null),st(this,"checkCoverForAPoint",(t,e,i)=>{const n=this.elementFromPoint(t,e);return n!==null&&n!==i}),st(this,"getPointPositionList",()=>{const{width:t,height:e,left:i,top:n}=this._clientSize,r=t/6,o=e/6,s=[],a=XN(10,6);for(let c=0;c<5;c++)for(let d=0;d<5;d++){const l=(i*a+(c===0?.1:c===4?(r*c*a-1e5)/a:r*c)*a)/a,u=(n*a+(d===0?.1:d===4?(o*d*a-1e5)/a:o*d)*a)/a;s.push({x:l,y:u})}return[...s]}),st(this,"checkElementCover",t=>this.getPointPositionList().map(e=>this.checkCoverForAPoint(e.x,e.y,t)).filter(e=>!!e).length>6),st(this,"checkSizeIsVisible",(t,e,i)=>(t>50||i/t<=10)&&(e>50||i/e<=10)),st(this,"checkSizeOfPartInClient",()=>{const{left:t,right:e,top:i,bottom:n,clientHeight:r,clientWidth:o,clientMin:s}=this._clientSize;let a,c,d,l;if(t<0)a=0;else{if(!(t(this._clientSize=null,{visible:!1,reason:t})),st(this,"checkOneElementVisible",t=>{if(t instanceof HTMLElement){if(this.checkElementIsMountedOnDom(t)){if(this.checkActualCssVisibleIncludeInherit(t)){if(this._clientSize=this.getSizeAboutClient(t),this.checkElementCover(t))return this.returnHiddenResult(wc.COVERED);{const e=this.checkActualSize(),i=this.checkSizeOfPartInClient();return e&&!i?this.returnHiddenResult(wc.POSITION):e?(this._clientSize=null,{visible:!0}):this.returnHiddenResult(wc.SIZE)}}return this.returnHiddenResult(wc.STYLE)}return this.returnHiddenResult(PE.UNMOUNTED)}return this.returnHiddenResult(PE.INVALID_HTML_ELEMENT)}),st(this,"checkElementIsMountedOnDom",t=>this.checkPropertyUpToAllParentNodes(t,e=>e.nodeName.toUpperCase()!=="HTML"?e.parentElement!==null:!!document.documentElement))}};function LE(t){return new TextEncoder().encode(t)}const aI=function(t,e){const i=new Uint8Array(t.byteLength+e.byteLength);return i.set(new Uint8Array(t),0),i.set(new Uint8Array(e),t.byteLength),i},kE=t=>C(this,null,function*(){return function(e,i){let n="";return new Uint8Array(e).forEach(r=>{n+=r.toString(i).padStart(2,"0")}),n}(yield crypto.subtle.digest("SHA-256",LE(t)),16)});let $t=class{constructor(){st(this,"_events",{}),st(this,"addListener",this.on)}getListeners(t){return this._events[t]?this._events[t].map(e=>e.listener):[]}on(t,e){this._events[t]||(this._events[t]=[]);const i=this._events[t];this._indexOfListener(i,e)===-1&&i.push({listener:e,once:!1})}once(t,e){this._events[t]||(this._events[t]=[]);const i=this._events[t];this._indexOfListener(i,e)===-1&&i.push({listener:e,once:!0})}off(t,e){if(!this._events[t])return;const i=this._events[t],n=this._indexOfListener(i,e);n!==-1&&i.splice(n,1),this._events[t].length===0&&delete this._events[t]}removeAllListeners(t){t?delete this._events[t]:this._events={}}emit(t){this._events[t]||(this._events[t]=[]);const e=this._events[t].map(o=>o);for(var i=arguments.length,n=new Array(i>1?i-1:0),r=1;r1?e-1:0),n=1;n{r.once&&this.off(t,r.listener);try{r.listener.apply(this,i)}catch(o){console.error("safeEmit event:".concat(t," error ").concat(o==null?void 0:o.toString()))}})}_indexOfListener(t,e){let i=t.length;for(;i--;)if(t[i].listener===e)return i;return-1}},Oc=null;function cI(){if(Oc)return Oc;if(window.electron)return Oc=window.electron;if(!window.require)return null;try{return Oc=window.require("electron"),Oc}catch(t){return null}}let _e=function(t){return t.CREATE_CLIENT="createClient",t.CHECK_SYSTEM_REQUIREMENTS="checkSystemRequirements",t.SET_AREA="setArea",t.PRELOAD="PRELOAD",t.CHECK_VIDEO_TRACK_IS_ACTIVE="checkVideoTrackIsActive",t.CHECK_AUDIO_TRACK_IS_ACTIVE="checkAudioTrackIsActive",t.CREATE_MIC_AUDIO_TRACK="createMicrophoneAudioTrack",t.CREATE_CUSTOM_AUDIO_TRACK="createCustomAudioTrack",t.CREATE_BUFFER_AUDIO_TRACK="createBufferSourceAudioTrack",t.CREATE_CAM_VIDEO_TRACK="createCameraVideoTrack",t.CREATE_CUSTOM_VIDEO_TRACK="createCustomVideoTrack",t.CREATE_MIC_AND_CAM_TRACKS="createMicrophoneAndCameraTracks",t.CREATE_SCREEN_VIDEO_TRACK="createScreenVideoTrack",t.SET_ENCRYPTION_CONFIG="Client.setEncryptionConfig",t.START_PROXY_SERVER="Client.startProxyServer",t.STOP_PROXY_SERVER="Client.stopProxyServer",t.SET_PROXY_SERVER="Client.setProxyServer",t.SET_TURN_SERVER="Client.setTurnServer",t.SET_CLIENT_ROLE="Client.setClientRole",t.SET_LOW_STREAM_PARAMETER="Client.setLowStreamParameter",t.ENABLE_DUAL_STREAM="Client.enableDualStream",t.DISABLE_DUAL_STREAM="Client.disableDualStream",t.JOIN="Client.join",t.LEAVE="Client.leave",t.PUBLISH="Client.publish",t.UNPUBLISH="Client.unpublish",t.SUBSCRIBE="Client.subscribe",t.MASS_SUBSCRIBE="Client.massSubscribe",t.MASS_UNSUBSCRIBE="Client.massUnsubscribe",t.UNSUBSCRIBE="Client.unsubscribe",t.RENEW_TOKEN="Client.renewToken",t.SET_REMOTE_VIDEO_STREAM_TYPE="Client.setRemoteVideoStreamType",t.SET_STREAM_FALLBACK_OPTION="Client.setStreamFallbackOption",t.ENABLE_AUDIO_VOLUME_INDICATOR="Client.enableAudioVolumeIndicator",t.SEND_CUSTOM_REPORT_MESSAGE="Client.sendCustomReportMessage",t.INSPECT_VIDEO_CONTENT="Client.inspectVideoContent",t.STOP_INSPECT_VIDEO_CONTENT="Client.stopInspectVideoContent",t.JOIN_FALLBACK_TO_PROXY="Client._joinFallbackToProxy",t.ON_LIVE_STREAM_WARNING="Client.onLiveStreamWarning",t.ON_LIVE_STREAM_ERROR="Client.onLiveStreamingError",t.START_LIVE_STREAMING="Client.startLiveStreaming",t.SET_LIVE_TRANSCODING="Client.setLiveTranscoding",t.STOP_LIVE_STREAMING="Client.stopLiveStreaming",t.START_CHANNEL_MEDIA_RELAY="Client.startChannelMediaRelay",t.UPDATE_CHANNEL_MEDIA_RELAY="Client.updateChannelMediaRelay",t.STOP_CHANNEL_MEDIA_RELAY="Client.stopChannelMediaRelay",t.REQUEST_CONFIG_DISTRIBUTE="_config-distribute-request",t.SET_CONFIG_DISTRIBUTE="_configDistribute",t.LOCAL_TRACK_SET_MUTED="LocalTrack.setMute",t.LOCAL_AUDIO_TRACK_PLAY="LocalAudioTrack.play",t.LOCAL_AUDIO_TRACK_PLAY_IN_ELEMENT="LocalAudioTrack.playInElement",t.LOCAL_AUDIO_TRACK_STOP="LocalAudioTrack.stop",t.LOCAL_AUDIO_TRACK_SET_VOLUME="LocalAudioTrack.setVolume",t.MIC_AUDIO_TRACK_SET_DEVICE="MicrophoneAudioTrack.setDevice",t.BUFFER_AUDIO_TRACK_START="BufferSourceAudioTrack.startProcessAudioBuffer",t.BUFFER_AUDIO_TRACK_STOP="BufferSourceAudioTrack.stopProcessAudioBuffer",t.BUFFER_AUDIO_TRACK_PAUSE="BufferSourceAudioTrack.pauseProcessAudioBuffer",t.BUFFER_AUDIO_TRACK_RESUME="BufferSourceAudioTrack.resumeProcessAudioBuffer",t.BUFFER_AUDIO_TRACK_SEEK="BufferSourceAudioTrack.seekAudioBuffer",t.LOCAL_VIDEO_TRACK_PLAY="LocalVideoTrack.play",t.LOCAL_VIDEO_TRACK_STOP="LocalVideoTrack.stop",t.LOCAL_VIDEO_TRACK_GET_VIDEO_VISIBLE="LocalVideoTrack.getVideoElementVisibleStatus",t.LOCAL_VIDEO_TRACK_BEAUTY="LocalVideoTrack.setBeautyEffect",t.LOCAL_VIDEO_SEND_SEI_DATA="LocalVideoTrack.sendSeiData",t.CAM_VIDEO_TRACK_SET_DEVICE="CameraVideoTrack.setDevice",t.CAM_VIDEO_TRACK_SET_ENCODER_CONFIG="CameraVideoTrack.setEncoderConfiguration",t.REMOTE_VIDEO_TRACK_PLAY="RemoteVideoTrack.play",t.REMOTE_VIDEO_TRACK_STOP="RemoteVideoTrack.stop",t.REMOTE_VIDEO_TRACK_GET_VIDEO_VISIBLE="RemoteVideoTrack.getVideoElementVisibleStatus",t.REMOTE_AUDIO_TRACK_PLAY="RemoteAudioTrack.play",t.REMOTE_AUDIO_TRACK_STOP="RemoteAudioTrack.stop",t.REMOTE_AUDIO_SET_VOLUME="RemoteAudioTrack.setVolume",t.REMOTE_AUDIO_SET_OUTPUT_DEVICE="RemoteAudioTrack.setOutputDevice",t.GET_MEDIA_STREAM_TRACK="Track.getMediaStreamTrack",t.STREAM_TYPE_CHANGE="streamTypeChange",t.CONNECTION_STATE_CHANGE="connectionStateChange",t.LOAD_CONFIG_FROM_LOCALSTORAGE="loadConfigFromLocalStorage",t.IMAGE_MODERATION_UPLOAD="imageModerationUpload",t.REPUB_AFTER_PC_CONNECTED="repubAfterPCConnected",t}({}),oe=function(t){return t.TRACER="tracer",t}({});function dI(t){return xt(t.timeout,"config.timeout",0,1e5),xt(t.timeoutFactor,"config.timeoutFactor",0,100,!1),xt(t.maxRetryCount,"config.maxRetryConfig",0,1/0),xt(t.maxRetryTimeout,"config.maxRetryTimeout",0,1/0),!0}let FG=function(t){return t[t.AUDIENCE_LEVEL_LOW_LATENCY=1]="AUDIENCE_LEVEL_LOW_LATENCY",t[t.AUDIENCE_LEVEL_ULTRA_LOW_LATENCY=2]="AUDIENCE_LEVEL_ULTRA_LOW_LATENCY",t[t.AUDIENCE_LEVEL_SYNC_LATENCY=3]="AUDIENCE_LEVEL_SYNC_LATENCY",t}({}),bt=function(t){return t.LEAVE="LEAVE",t.NETWORK_ERROR="NETWORK_ERROR",t.SERVER_ERROR="SERVER_ERROR",t.UID_BANNED="UID_BANNED",t.FALLBACK="FALLBACK",t.IP_BANNED="IP_BANNED",t.CHANNEL_BANNED="CHANNEL_BANNED",t.LICENSE_MISSING="LICENSE_MISSING",t.LICENSE_EXPIRED="LICENSE_EXPIRED",t.LICENSE_MINUTES_EXCEEDED="LICENSE_MINUTES_EXCEEDED",t.LICENSE_PERIOD_INVALID="LICENSE_PERIOD_INVALID",t.LICENSE_MULTIPLE_SDK_SERVICE="LICENSE_MULTIPLE_SDK_SERVICE",t.LICENSE_ILLEGAL="LICENSE_ILLEGAL",t.TOKEN_EXPIRE="TOKEN_EXPIRE",t}({});function Nc(t){if(!Array.isArray(t)||t.length<1)return!1;try{t.forEach(e=>{if(!e.urls)throw Error()})}catch(e){return!1}return!0}function lI(t){return Me(t.turnServerURL,"turnServerURL"),Me(t.username,"username"),Me(t.password,"password"),t.udpport&&xt(t.udpport,"udpport",1,99999,!0),t.forceturn&&Fr(t.forceturn,"forceturn"),t.security&&Fr(t.security,"security"),t.tcpport&&xt(t.tcpport,"tcpport",1,99999,!0),!0}function ME(t){return t.level!==void 0&&Ae(t.level,"level",[1,2,3]),t.delay!==void 0&&xt(t.delay,"delay",0,3e3,!0),!0}let _t=function(t){return t.PEERCONNECTION_STATE_CHANGE="peerconnection-state-change",t.AUDIO_METADATA="audio-metadata",t.CONNECTION_STATE_CHANGE="connection-state-change",t.MEDIA_RECONNECT_START="media-reconnect-start",t.MEDIA_RECONNECT_END="media-reconnect-end",t.IS_USING_CLOUD_PROXY="is-using-cloud-proxy",t.USER_JOINED="user-joined",t.USER_LEAVED="user-left",t.USER_PUBLISHED="user-published",t.USER_UNPUBLISHED="user-unpublished",t.USER_INFO_UPDATED="user-info-updated",t.CLIENT_BANNED="client-banned",t.CHANNEL_MEDIA_RELAY_STATE="channel-media-relay-state",t.CHANNEL_MEDIA_RELAY_EVENT="channel-media-relay-event",t.VOLUME_INDICATOR="volume-indicator",t.CRYPT_ERROR="crypt-error",t.ON_TOKEN_PRIVILEGE_WILL_EXPIRE="token-privilege-will-expire",t.ON_TOKEN_PRIVILEGE_DID_EXPIRE="token-privilege-did-expire",t.NETWORK_QUALITY="network-quality",t.STREAM_TYPE_CHANGED="stream-type-changed",t.STREAM_FALLBACK="stream-fallback",t.RECEIVE_METADATA="receive-metadata",t.STREAM_MESSAGE="stream-message",t.LIVE_STREAMING_ERROR="live-streaming-error",t.LIVE_STREAMING_WARNING="live-streaming-warning",t.EXCEPTION="exception",t.ERROR="error",t.P2P_LOST="p2p_lost",t.JOIN_FALLBACK_TO_PROXY="join-fallback-to-proxy",t.CHANNEL_FALLBACK_TO_WEBSOCKET="channel-fallback-to-websocket",t.MEDIA_CONNECTION_TYPE_CHANGE="media-connection-type-change",t.PUBLISHED_USER_LIST="published-user-list",t.CONTENT_INSPECT_CONNECTION_STATE_CHANGE="content-inspect-connection-state-change",t.CONTENT_INSPECT_ERROR="content-inspect-error",t.CONTENT_INSPECT_RESULT="content-inspect-result",t.IMAGE_MODERATION_CONNECTION_STATE_CHANGE="image-moderation-connection-state-change",t}({}),Ge=function(t){return t.NETWORK_ERROR="NETWORK_ERROR",t.SERVER_ERROR="SERVER_ERROR",t.MULTI_IP="MULTI_IP",t.TIMEOUT="TIMEOUT",t.OFFLINE="OFFLINE",t.LEAVE="LEAVE",t.P2P_FAILED="P2P_FAILED",t.FALLBACK="FALLBACK",t.REGIONAL_DISTRIBUTION="REGIONAL_DISTRIBUTION",t}({}),Fi=function(t){return t.ONLINE="ONLINE",t.OFFLINE="OFFLINE",t}({}),ra=function(t){return t.NETWORK_STATE_CHANGE="NETWORK_STATE_CHANGE",t.ONLINE="ONLINE",t.OFFLINE="OFFLINE",t}({});function We(t,e){for(var i=arguments.length,n=new Array(i>2?i-2:0),r=2;r{t.emit(e,...n,o,s)})}function Bt(t,e){if(t.getListeners(e).length===0)return K.resolve();for(var i=arguments.length,n=new Array(i>2?i-2:0),r=2;r2?i-2:0),r=2;r2?r-2:0),s=2;s{i=a},a=>{n=a}),n!==null)throw n;if(i===null)throw new k(v.UNEXPECTED_ERROR,"handler is not sync");return i}const Ee=new class extends $t{set networkState(t){this.emit(ra.NETWORK_STATE_CHANGE,t,this._networkState),t===Fi.ONLINE?this.emit(ra.ONLINE):t===Fi.OFFLINE&&(this.onlineWaiter=new K(e=>{this.once(ra.ONLINE,()=>{this.onlineWaiter=void 0,e(Fi.ONLINE)})}),this.emit(ra.OFFLINE)),this._networkState=t}get networkState(){return this._networkState}get isOnline(){return this._networkState===Fi.ONLINE}constructor(){super(),st(this,"_moduleName","network-indicator"),st(this,"_networkState",Fi.ONLINE),st(this,"onlineWaiter",void 0),window.addEventListener("online",()=>{this.networkState=Fi.ONLINE}),window.addEventListener("offline",()=>{this.networkState=Fi.OFFLINE})}};function cu(t,e){const i=t.indexOf(e);i!==-1&&t.splice(i,1)}function oa(t){const e=[];return t.forEach(i=>{e.indexOf(i)===-1&&e.push(i)}),e}function du(t){K!==void 0?K.resolve().then(t):setTimeout(t,0)}function te(t){return JSON.parse(JSON.stringify(t))}function Jo(t){try{return te(t)}catch(e){return t}}const uI={};function _o(t,e){uI[e]||(uI[e]=!0,t())}function Qo(t){const e=window.atob(t),i=new Uint8Array(new ArrayBuffer(e.length));for(let n=0;n1&&arguments[1]!==void 0?arguments[1]:16,i=new TextEncoder().encode(t);if(i.length>e)i=i.slice(0,e);else if(i.lengths+a.length,0),r=new Uint8Array(new ArrayBuffer(n));let o=0;return e.forEach(s=>{r.set(s,o),o+=s.length}),r}function Er(t){return window.TextEncoder?new TextEncoder().encode(t).length:t.length}function _I(t){let e=0;return(/DingTalk/i.test(navigator.userAgent)||/AliApp/i.test(navigator.userAgent))&&t.realFormData&&(t=t.realFormData),t.forEach(i=>{e+=typeof i=="string"?Er(i):i.size}),e+138}function BG(t){const e=new k(v.TIMEOUT,"timeout");return new K((i,n)=>{window.setTimeout(()=>n(e),t)})}function Ue(t){return new K(e=>{window.setTimeout(e,t)})}function Gt(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:7,e=arguments.length>1?arguments[1]:void 0;const i=Math.random().toString(16).substr(2,t).toLowerCase();return i.length===t?"".concat(e).concat(i):"".concat(e).concat(i)+Gt(t-i.length,"")}function Zo(){return Gt(32,"").toUpperCase()}const lu=()=>{},EI=new class{constructor(){st(this,"fnMap",new Map)}throttleByKey(t,e,i,n){for(var r=arguments.length,o=new Array(r>4?r-4:0),s=4;s{const d=this.fnMap.get(e);d&&d.fn(...d.args),this.fnMap.delete(e)},i);this.fnMap.set(e,{fn:t,threshold:i,timer:c,args:o,skipFn:n})}else a.skipFn&&a.skipFn(...a.args),this.fnMap.set(e,z(z({},a),{},{fn:t,args:o,skipFn:n}))}else{const a=window.setTimeout(()=>{const c=this.fnMap.get(e);c&&c.fn(...c.args),this.fnMap.delete(e)},i);this.fnMap.set(e,{fn:t,threshold:i,timer:a,args:o,skipFn:n})}}},mI=EI.throttleByKey.bind(EI);function fI(t){return typeof t=="object"&&t!==null&&!(t instanceof RegExp)}function UE(t,e){if(!fI(t)||!fI(e)||Array.isArray(t)&&!Array.isArray(e)||!Array.isArray(t)&&Array.isArray(e))return e;if(Array.isArray(e)&&Array.isArray(t)){const i=[...t];for(let n=0;n0&&(i[n]=255&t,t>>=8,n++,n!==e););return i}function xE(t){return typeof t=="number"?t:t.exact||t.ideal||t.max||t.min||0}function VE(t){return Tn(t).call(t,(e,i)=>e+i,0)}function SI(t){const e="0123456789abcdef";function i(A){let N,O="";for(N=0;N<=3;N++)O+=e.charAt(A>>8*N+4&15)+e.charAt(A>>8*N&15);return O}function n(A,N){const O=(65535&A)+(65535&N);return(A>>16)+(N>>16)+(O>>16)<<16|65535&O}function r(A,N,O,w,L,M){return n(function(j,H){return j<>>32-H}(n(n(N,A),n(w,M)),L),O)}function o(A,N,O,w,L,M,j){return r(N&O|~N&w,A,N,L,M,j)}function s(A,N,O,w,L,M,j){return r(N&w|O&~w,A,N,L,M,j)}function a(A,N,O,w,L,M,j){return r(N^O^w,A,N,L,M,j)}function c(A,N,O,w,L,M,j){return r(O^(N|~w),A,N,L,M,j)}const d=function(A){let N;const O=1+(A.length+8>>6),w=new Array(16*O);for(N=0;N<16*O;N++)w[N]=0;for(N=0;N>2]|=A.charCodeAt(N)<>2]|=128<0}lock(t){let e;this.locks+=1,this.logger("locked",t);const i=new K(r=>{e=()=>{this.locks-=1,this.logger("unlocked",t),r()}}),n=this.lockingPromise.then(()=>e);return this.lockingPromise=this.lockingPromise.then(()=>i),n}};function sa(t,e){return function(i,n,r){const o=r.value;if(typeof o!="function")throw new Error("Cannot use mutex on object property.");return r.value=function(){return C(this,arguments,function*(){const s=this[e];if(!s)throw new Error("mutex property key ".concat(e," doesn't exist on ").concat(t));const a=yield s.lock("From ".concat(t,".").concat(n));try{for(var c=arguments.length,d=new Array(c),l=0;lC(this,null,function*(){yield function(d){return new K(l=>{window.setTimeout(l,d)})}(o),o*=r.timeoutFactor,o=Math.min(r.maxRetryTimeout,o)});let a=!1;const c=new K((d,l)=>C(this,null,function*(){e=e||(()=>!1),i=i||(()=>!0);for(let u=0;ua=!0,c}let uu,RI=class{constructor(t){st(this,"input",[]),st(this,"size",void 0),this.size=t}add(t){this.input.push(t),this.input.length>this.size&&this.input.splice(0,1)}mean(){var t;return this.input.length===0?0:Tn(t=this.input).call(t,(e,i)=>e+i)/this.input.length}},hu=0,BE=0;function jE(t,e,i,n){return new K((r,o)=>{e.responseType=e.responseType||"json",e.data&&!i?(e.data=JSON.stringify(e.data),hu+=Er(e.data)):i&&(e.data.size?hu+=e.data.size:e.data instanceof FormData?hu+=_I(e.data):hu+=Er(JSON.stringify(e.data))),e.headers=e.headers||{},e.headers["Content-Type"]=e.headers["Content-Type"]||"application/json",e.method="POST",e.url=t,Ti.request(e).then(s=>{typeof s.data=="string"?BE+=Er(s.data):s.data instanceof ArrayBuffer||s.data instanceof Uint8Array?BE+=s.data.byteLength:BE+=Er(JSON.stringify(s.data)),r(s.data)}).catch(s=>{Ti.isCancel(s)?o(new k(v.OPERATION_ABORTED,"cancel token canceled")):s.code==="ECONNABORTED"?o(new k(v.NETWORK_TIMEOUT,s.message)):s.response?o(new k(v.NETWORK_RESPONSE_ERROR,s.response.status)):o(new k(v.NETWORK_ERROR,s.message))})})}function GG(t,e){return C(this,null,function*(){const i=new Blob([e.data],{type:"buffer"});return yield jE(t,z(z({},e),{},{data:i,headers:{"Content-Type":"application/octet-stream"}}),!0)})}const vI=()=>window.isSecureContext!==void 0;function wn(t){if(Array.isArray(t))return t.map(i=>i);if(!CI(t))return t;const e={};for(const i in t){const n=t[i];CI(n)||Array.isArray(n)?e[i]=wn(n):e[i]=n}return e}function CI(t){return!(typeof t!="object"||Array.isArray(t)||!t)}let GE=class{constructor(t){st(this,"input",[]),st(this,"size",void 0),this.size=t}add(t){this.input.push(t),this.input.length>this.size&&this.input.splice(0,1)}diffMean(){return this.input.length===0?0:(this.input[this.input.length-1]-this.input[0])/this.input.length}};const mr={address:"unknown",candidateType:"unknown",id:"unknown",port:0,priority:0,protocol:"unknown",type:"unknown"},Pc={timestamp:0,bitrate:{actualEncoded:0,transmit:0},sendPacketLossRate:0,recvPacketLossRate:0,videoRecv:[],videoSend:[],audioRecv:[],audioSend:[],selectedCandidatePair:{id:"unknown",localCandidate:mr,remoteCandidate:mr},updateInterval:0},yI={firsCount:0,nacksCount:0,plisCount:0,framesDecodeCount:0,framesDecodeInterval:0,framesDecodeFreezeTime:0,decodeFrameRate:0,bytes:0,packetsLost:0,packetLostRate:0,packets:0,ssrc:0,qpSumPerFrame:0,framesDroppedCount:0,outputFrameRate:0,packetsDiscarded:0,framesAssembledFromMultiplePackets:0,totalProcessingDelay:0,avgDecodeMs:0,avgFramesAssembledFromMultiplePacketsMs:0,avgProcessingDelayMs:0,avgInterFrameDelayMs:0,totalAssemblyTime:0},II={firsCount:0,nacksCount:0,plisCount:0,frameCount:0,bytes:0,packets:0,packetsLost:0,packetLostRate:0,ssrc:0,rttMs:0,jitterMs:0,qpSumPerFrame:0},AI={bytes:0,packets:0,packetsLost:0,packetLostRate:0,ssrc:0,rttMs:0,jitterMs:0},bI={jitterBufferMs:0,jitterMs:0,bytes:0,packetsLost:0,packetLostRate:0,packetsDiscarded:0,packets:0,ssrc:0,receivedFrames:0,droppedFrames:0,concealedSamples:0,totalSamplesReceived:0,silentConcealedSamples:0,concealmentEvents:0,freezeMs80:0,freezeMs200:0,freezeSamples80:0,freezeSamples200:0};let WE=class{constructor(t,e){st(this,"onFirstVideoReceived",void 0),st(this,"onFirstVideoDecoded",void 0),st(this,"onFirstAudioReceived",void 0),st(this,"onFirstVideoDecodedTimeout",void 0),st(this,"onFirstAudioDecoded",void 0),st(this,"onSelectedLocalCandidateChanged",void 0),st(this,"onSelectedRemoteCandidateChanged",void 0),st(this,"videoIsReady",!1),st(this,"videoIsReady2",{}),st(this,"pc",void 0),st(this,"options",void 0),st(this,"intervalTimer",void 0),st(this,"stats",wn(Pc)),st(this,"isFirstVideoReceived",{}),st(this,"isFirstVideoDecoded",{}),st(this,"isFirstAudioReceived",{}),st(this,"isFirstAudioDecoded",{}),st(this,"isFirstVideoDecodedTimeout",{}),st(this,"lossRateWindowStats",[]),this.pc=t,this.options=e,this.intervalTimer=window.setInterval(()=>C(this,null,function*(){this.updateStats()}),this.options.updateInterval)}getStats(){return this.stats}getSelectedCandidatePair(){return new K(t=>{t({local:z({},mr),remote:z({},mr)})})}setVideoIsReady(t){this.videoIsReady=t}setVideoIsReady2(t,e){this.videoIsReady2[t]=e}getVideoIsReady(t){return this.videoIsReady2[t]||!1}setIsFirstAudioDecoded(t){}destroy(){window.clearInterval(this.intervalTimer),this.pc=void 0}calcLossRate(t){this.lossRateWindowStats.push(t),this.lossRateWindowStats.length>this.options.lossRateInterval&&this.lossRateWindowStats.splice(0,1);const e=this.lossRateWindowStats.length,i=["videoSend","audioSend","videoRecv","audioRecv"];let n=0,r=0,o=0,s=0;for(const a of i)t[a].forEach((c,d)=>{if(!this.lossRateWindowStats[e-1][a][d]||!this.lossRateWindowStats[0][a][d])return;const l=this.lossRateWindowStats[e-1][a][d].packets-this.lossRateWindowStats[0][a][d].packets,u=this.lossRateWindowStats[e-1][a][d].packetsLost-this.lossRateWindowStats[0][a][d].packetsLost;a==="videoSend"||a==="audioSend"?(n+=l,o+=u):(r+=l,s+=u),Number.isNaN(l)||Number.isNaN(l)?c.packetLostRate=0:c.packetLostRate=l<=0||u<=0?0:u/(l+u)});t.sendPacketLossRate=n<=0||o<=0?0:o/(n+o),t.recvPacketLossRate=r<=0||s<=0?0:s/(r+s)}},WG=class extends WE{constructor(){super(...arguments),st(this,"_stats",Pc),st(this,"lastDecodeVideoReceiverStats",new Map)}updateStats(){return C(this,null,function*(){const t=yield this._getStats(),e=this.statsResponsesToObjects(t);this._stats=wn(Pc);const i=e.filter(r=>r.type==="ssrc");this.processSSRCStats(i);const n=e.find(r=>r.type==="VideoBwe");n&&this.processBandwidthStats(n),this._stats.timestamp=Date.now(),this.calcLossRate(this._stats),this.stats=this._stats})}processBandwidthStats(t){this._stats.bitrate={actualEncoded:Number(t.googActualEncBitrate),targetEncoded:Number(t.googTargetEncBitrate),retransmit:Number(t.googRetransmitBitrate),transmit:Number(t.googTransmitBitrate)},this._stats.sendBandwidth=Number(t.googAvailableSendBandwidth)}processSSRCStats(t){t.forEach(e=>{var i;const n=G(i=e.id).call(i,"send");switch("".concat(e.mediaType,"_").concat(n?"send":"recv")){case"video_send":{const r=wn(II);r.codec=e.googCodecName,r.adaptionChangeReason="none",e.googCpuLimitedResolution&&(r.adaptionChangeReason="cpu"),e.googBandwidthLimitedResolution&&(r.adaptionChangeReason="bandwidth"),r.avgEncodeMs=Number(e.googAvgEncodeMs),r.inputFrame={width:Number(e.googFrameWidthInput)||Number(e.googFrameWidthSent),height:Number(e.googFrameHeightInput)||Number(e.googFrameHeightSent),frameRate:Number(e.googFrameRateInput)},r.sentFrame={width:Number(e.googFrameWidthSent),height:Number(e.googFrameHeightSent),frameRate:Number(e.googFrameRateInput)},r.firsCount=Number(e.googFirReceived),r.nacksCount=Number(e.googNacksReceived),r.plisCount=Number(e.googPlisReceived),r.frameCount=Number(e.framesEncoded),r.bytes=Number(e.bytesSent),r.packets=Number(e.packetsSent),r.packetsLost=Number(e.packetsLost),r.ssrc=Number(e.ssrc),r.rttMs=Number(e.googRtt||0),this._stats.videoSend.push(r),this._stats.rtt=r.rttMs;break}case"video_recv":{const r=wn(yI),o=this.lastDecodeVideoReceiverStats.get(Number(e.ssrc));if(r.codec=e.googCodecName,r.targetDelayMs=Number(e.googTargetDelayMs),r.renderDelayMs=Number(e.googRenderDelayMs),r.currentDelayMs=Number(e.googCurrentDelayMs),r.minPlayoutDelayMs=Number(e.googMinPlayoutDelayMs),r.decodeMs=Number(e.googDecodeMs),r.maxDecodeMs=Number(e.googMaxDecodeMs),r.receivedFrame={width:Number(e.googFrameWidthReceived),height:Number(e.googFrameHeightReceived),frameRate:Number(e.googFrameRateReceived)},r.decodedFrame={width:Number(e.googFrameWidthReceived),height:Number(e.googFrameHeightReceived),frameRate:Number(e.googFrameRateDecoded)},r.decodeFrameRate=Number(e.googFrameRateDecoded),r.outputFrame={width:Number(e.googFrameWidthReceived),height:Number(e.googFrameHeightReceived),frameRate:Number(e.googFrameRateOutput)},r.jitterBufferMs=Number(e.googJitterBufferMs),r.firsCount=Number(e.googFirsSent),r.nacksCount=Number(e.googNacksSent),r.plisCount=Number(e.googPlisSent),r.framesDecodeCount=Number(e.framesDecoded),r.bytes=Number(e.bytesReceived),r.packets=Number(e.packetsReceived),r.packetsLost=Number(e.packetsLost),r.ssrc=Number(e.ssrc),r.packets>0&&!this.isFirstVideoReceived[r.ssrc]&&(this.onFirstVideoReceived&&this.onFirstVideoReceived(r.ssrc),this.isFirstVideoReceived[r.ssrc]=!0),r.framesDecodeCount>0&&!this.isFirstVideoDecoded[r.ssrc]&&(this.onFirstVideoDecoded&&this.onFirstVideoDecoded(r.ssrc,r.decodedFrame.width,r.decodedFrame.height),this.isFirstVideoDecoded[r.ssrc]=!0),o){const s=o.stats,a=Date.now()-o.lts;r.framesDecodeFreezeTime=s.framesDecodeFreezeTime,r.framesDecodeInterval=s.framesDecodeInterval,r.framesDecodeCount>s.framesDecodeCount&&this.isFirstVideoDecoded[r.ssrc]?(o.lts=Date.now(),r.framesDecodeInterval=a,r.framesDecodeInterval>=this.options.freezeRateLimit&&(this.getVideoIsReady(parseInt(e.ssrc,10))?r.framesDecodeFreezeTime+=r.framesDecodeInterval:this.setVideoIsReady2(parseInt(e.ssrc,10),!0))):r.framesDecodeCount0&&!this.isFirstAudioReceived[r.ssrc]&&(this.onFirstAudioReceived&&this.onFirstAudioReceived(r.ssrc),this.isFirstAudioReceived[r.ssrc]=!0),r.decodingNormal>0&&!this.isFirstAudioDecoded[r.ssrc]&&(this.onFirstAudioDecoded&&this.onFirstAudioDecoded(r.ssrc),this.isFirstAudioDecoded[r.ssrc]=!0),this._stats.audioRecv.push(r);break}case"audio_send":{const r=wn(AI);r.codec=e.googCodecName,r.inputLevel=Math.abs(Number(e.audioInputLevel))/32767,r.aecReturnLoss=Number(e.googEchoCancellationReturnLoss||0),r.aecReturnLossEnhancement=Number(e.googEchoCancellationReturnLossEnhancement||0),r.residualEchoLikelihood=Number(e.googResidualEchoLikelihood||0),r.residualEchoLikelihoodRecentMax=Number(e.googResidualEchoLikelihoodRecentMax||0),r.bytes=Number(e.bytesSent),r.packets=Number(e.packetsSent),r.packetsLost=Number(e.packetsLost),r.ssrc=Number(e.ssrc),r.rttMs=Number(e.googRtt||0),this._stats.rtt=r.rttMs,this._stats.audioSend.push(r);break}}})}_getStats(){return new K((t,e)=>{this.pc.getStats(t,e)})}statsResponsesToObjects(t){const e=[];return t.result().forEach(i=>{const n={id:i.id,timestamp:i.timestamp.valueOf().toString(),type:i.type};i.names().forEach(r=>{n[r]=i.stat(r)}),e.push(n)}),e}},Lc=function(t){return t.BANDWIDTH="bandwidth",t.CPU="cpu",t.NONE="none",t.OTHER="other",t}({}),pu=function(t){return t.L1T1="L1T1",t.L1T2="L1T2",t.L1T3="L1T3",t.L1T3_KEY="L1T3_KEY",t.L2T1_KEY="L2T1_KEY",t.L2T2_KEY="L2T2_KEY",t.L2T3_KEY="L2T3_KEY",t.L3T1_KEY="L3T1_KEY",t.L3T2_KEY="L3T2_KEY",t.L3T3_KEY="L3T3_KEY",t}({}),HE=function(t){return t[t.new=0]="new",t[t.connecting=1]="connecting",t[t.connected=2]="connected",t[t.disconnected=3]="disconnected",t[t.failed=4]="failed",t[t.closed=5]="closed",t}({}),Xi=function(t){return t.CERTIFICATE="certificate",t.CODEC="codec",t.CANDIDATE_PAIR="candidate-pair",t.LOCAL_CANDIDATE="local-candidate",t.REMOTE_CANDIDATE="remote-candidate",t.INBOUND="inbound-rtp",t.TRACK="track",t.OUTBOUND="outbound-rtp",t.PC="peer-connection",t.REMOTE_INBOUND="remote-inbound-rtp",t.REMOTE_OUTBOUND="remote-outbound-rtp",t.TRANSPORT="transport",t.CSRC="csrc",t.DATA_CHANNEL="data-channel",t.STREAM="stream",t.SENDER="sender",t.RECEIVER="receiver",t}({});var aa=function(t){return t[t.kNone=1]="kNone",t[t.kMillisecondsFromSeconds=1e3]="kMillisecondsFromSeconds",t[t.kBytesToBits=8]="kBytesToBits",t}(aa||{});function kc(t,e,i,n){let r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:aa.kNone;if(!e)return;const o=Number(e[i]);if(typeof o!="number")return;const s=Number(e[n]);if(typeof s!="number")return;if(!t)return s?o/s*r:void 0;const a=Number(t[i]);if(typeof a!="number")return;const c=Number(t[n]);if(typeof c!="number")return;const d=s-c;return d?(o-a)/d*r:void 0}let wI=class extends WE{constructor(){super(...arguments),st(this,"_stats",Pc),st(this,"report",void 0),st(this,"lastDecodeVideoReceiverStats",new Map),st(this,"lastVideoFramesRecv",new Map),st(this,"lastVideoFramesSent",new Map),st(this,"lastVideoFramesDecode",new Map),st(this,"lastVideoFramesOutput",new Map),st(this,"lastVideoJBDelay",new Map),st(this,"lastAudioJBDelay",new Map),st(this,"mediaBytesSent",new Map),st(this,"mediaBytesRetransmit",new Map),st(this,"mediaBytesTargetEncode",new Map),st(this,"lastDecodeAudioReceiverStats",new Map),st(this,"lastAudioConcealment",new Map),st(this,"lastEncoderMs",new Map)}updateStats(){return C(this,null,function*(){this.report=yield this.pc.getStats(),this._stats=wn(Pc),this.report.forEach(t=>{switch(t.type){case Xi.OUTBOUND:case Xi.INBOUND:{const e=t.mediaType||t.kind,i=!e&&"frameWidth"in t,n=!e&&!("frameWidth"in t);t.type===Xi.OUTBOUND?e==="audio"||n?this.processAudioOutboundStats(t):(e==="video"||i)&&this.processVideoOutboundStats(t):t.type===Xi.INBOUND&&(e==="audio"||n?this.processAudioInboundStats(t):(e==="video"||i)&&this.processVideoInboundStats(t));break}case Xi.TRANSPORT:{const e=this.report.get(t.selectedCandidatePairId);e&&this.processCandidatePairStats(e);break}case Xi.CANDIDATE_PAIR:t.selected&&this.processCandidatePairStats(t)}}),this.updateSendBitrate(),this._stats.updateInterval=Date.now()-this.stats.timestamp,this._stats.timestamp=Date.now(),this.calcLossRate(this._stats),this.stats=this._stats})}getSelectedCandidatePair(){return C(this,null,function*(){const t=yield this.pc.getStats(),e={local:z({},mr),remote:z({},mr)};return t.forEach(i=>{let n;if(i.type===Xi.TRANSPORT&&(n=t.get(i.selectedCandidatePairId)),i.type===Xi.CANDIDATE_PAIR&&i.selected&&(n=i),n){const r=(o,s)=>{o.type=s.type,o.id=s.id,s.address&&(o.address=s.address),s.candidateType&&(o.candidateType=s.candidateType),s.port&&(o.port=s.port),s.priority&&(o.priority=s.priority),s.protocol&&(o.protocol=s.protocol),s.relayProtocol&&(o.relayProtocol=s.relayProtocol)};if(n.localCandidateId){const o=t.get(n.localCandidateId);o&&r(e.local,o)}if(n.remoteCandidateId){const o=t.get(n.remoteCandidateId);o&&r(e.remote,o)}}}),e})}processCandidatePairStats(t){if(this._stats.sendBandwidth=t.availableOutgoingBitrate||0,t.currentRoundTripTime&&(this._stats.rtt=1e3*t.currentRoundTripTime),this._stats.videoSend.forEach(e=>{t.currentRoundTripTime&&(e.rttMs=1e3*t.currentRoundTripTime)}),this._stats.audioSend.forEach(e=>{t.currentRoundTripTime&&(e.rttMs=1e3*t.currentRoundTripTime)}),this._stats.selectedCandidatePair.id=t.id,t.localCandidateId){const e=this.report.get(t.localCandidateId);e&&this.processCandidateStats(e)}if(t.remoteCandidateId){const e=this.report.get(t.remoteCandidateId);e&&this.processCandidateStats(e)}}processCandidateStats(t){let e;t.type===Xi.LOCAL_CANDIDATE&&(e=this._stats.selectedCandidatePair.localCandidate),t.type===Xi.REMOTE_CANDIDATE&&(e=this._stats.selectedCandidatePair.remoteCandidate),e&&(e.type=t.type,e.id=t.id,t.address&&(e.address=t.address),t.candidateType&&(e.candidateType=t.candidateType),t.port&&(e.port=t.port),t.priority&&(e.priority=t.priority),t.protocol&&(e.protocol=t.protocol),t.relayProtocol&&(e.relayProtocol=t.relayProtocol),t.type===Xi.LOCAL_CANDIDATE&&this.stats.selectedCandidatePair.localCandidate.id!==e.id&&this.onSelectedLocalCandidateChanged&&this.onSelectedLocalCandidateChanged(z({},e),z({},this.stats.selectedCandidatePair.localCandidate)),t.type===Xi.REMOTE_CANDIDATE&&this.stats.selectedCandidatePair.remoteCandidate.id!==e.id&&this.onSelectedRemoteCandidateChanged&&this.onSelectedRemoteCandidateChanged(z({},e),z({},this.stats.selectedCandidatePair.remoteCandidate)))}processAudioInboundStats(t){let e=this._stats.audioRecv.find(n=>n.ssrc===t.ssrc);e||(e=wn(bI),this._stats.audioRecv.push(e)),e.ssrc=t.ssrc,e.packets=t.packetsReceived,e.packetsLost=t.packetsLost,e.packetsDiscarded=t.packetsDiscarded,e.bytes=t.bytesReceived,e.jitterMs=1e3*t.jitter,e.retransmittedBytesReceived=t.retransmittedBytesReceived,e.retransmittedPacketsReceived=t.retransmittedPacketsReceived,e.totalProcessingDelay=t.totalProcessingDelay,e.jitterBufferEmittedCount=t.jitterBufferEmittedCount;const i=this.lastDecodeAudioReceiverStats.get(e.ssrc);e.avgProcessingDelayMs=kc(i,e,"totalProcessingDelay","jitterBufferEmittedCount",aa.kMillisecondsFromSeconds),this.processAudioTrackReceiverStats(t,t.trackId,e),this.calculateAudioFreeze(e,i,t),t.codecId&&(e.codec=this.getCodecFromCodecStats(t.codecId)),e.receivedFrames||(e.receivedFrames=t.packetsReceived),e.droppedFrames||(e.droppedFrames=t.packetsLost),e.receivedFrames>0&&!this.isFirstAudioReceived[e.ssrc]&&(this.onFirstAudioReceived&&this.onFirstAudioReceived(e.ssrc),this.isFirstAudioReceived[e.ssrc]=!0),e.outputLevel&&e.outputLevel>0&&!this.isFirstAudioDecoded[e.ssrc]&&(this.onFirstAudioDecoded&&this.onFirstAudioDecoded(e.ssrc),this.isFirstAudioDecoded[e.ssrc]=!0),typeof t.concealedSamples=="number"&&(e.concealedSamples=t.concealedSamples),this.lastDecodeAudioReceiverStats.set(e.ssrc,z({},e))}calculateAudioFreeze(t,e,i){const n=this.lastAudioConcealment.get(t.ssrc);if(e!=null&&n!=null){const r=n.lts,o=i.timestamp,s=o-r;if(s<=0)return;const a=t.concealedSamples-e.concealedSamples-0,c=n.nonSilent+a,d=t.totalSamplesReceived-e.totalSamplesReceived;if(d<=0)return;const l=80*d/s,u=200*d/s,h=s/d;let p=0;t.freezeSamples80=e.freezeSamples80,t.freezeMs80=e.freezeMs80,c>l&&(n.plc80>0?(t.freezeSamples80+=a,t.freezeMs80+=Math.round(a*h)):(t.freezeSamples80+=c,t.freezeMs80+=Math.round(c*h)),p=n.plc80+1);let g=0;t.freezeSamples200=e.freezeSamples200,t.freezeMs200=e.freezeMs200,c>u&&(n.plc200>0?(t.freezeSamples200+=a,t.freezeMs200+=Math.round(a*h)):(t.freezeSamples200+=c,t.freezeMs200+=Math.round(c*h)),g=n.plc200+1),this.lastAudioConcealment.set(t.ssrc,{nonSilent:a,lts:o,plc80:p,plc200:g})}else t.freezeSamples80=0,t.freezeSamples200=0,t.freezeMs80=0,t.freezeMs200=0,this.lastAudioConcealment.set(t.ssrc,{nonSilent:0,lts:i.timestamp,plc80:0,plc200:0})}processVideoInboundStats(t){let e=this._stats.videoRecv.find(s=>s.ssrc===t.ssrc);e||(e=wn(yI),this._stats.videoRecv.push(e)),e.ssrc=t.ssrc,e.packets=t.packetsReceived,e.packetsLost=t.packetsLost,e.bytes=t.bytesReceived,e.firsCount=t.firCount,e.nacksCount=t.nackCount,e.plisCount=t.pliCount,e.framesDecodeCount=t.framesDecoded,e.framesDroppedCount=t.framesDropped,e.totalInterFrameDelay=t.totalInterFrameDelay,e.totalSquaredInterFrameDelay=t.totalSquaredInterFrameDelay,e.totalFreezesDuration=t.totalFreezesDuration,e.totalProcessingDelay=t.totalProcessingDelay,e.packetsDiscarded=t.packetsDiscarded,e.framesAssembledFromMultiplePackets=t.framesAssembledFromMultiplePackets,e.totalAssemblyTime=t.totalAssemblyTime,e.keyFramesDecoded=t.keyFramesDecoded,e.retransmittedBytesReceived=t.retransmittedBytesReceived,e.retransmittedPacketsReceived=t.retransmittedPacketsReceived;const i=this.lastDecodeVideoReceiverStats.get(e.ssrc),n=this.lastVideoFramesDecode.get(e.ssrc),r=this.lastVideoFramesOutput.get(e.ssrc),o=Date.now();if(e.framesDecodeCount>0&&!this.isFirstVideoDecoded[e.ssrc]){const s=e.decodedFrame?e.decodedFrame.width:0,a=e.decodedFrame?e.decodedFrame.height:0;this.onFirstVideoDecoded&&this.onFirstVideoDecoded(e.ssrc,s,a),this.isFirstVideoDecoded[e.ssrc]=!0}if(i){const s=i.stats,a=o-i.lts;e.framesDecodeFreezeTime=s.framesDecodeFreezeTime,e.framesDecodeInterval=s.framesDecodeInterval,!this.isFirstVideoDecoded[e.ssrc]&&a>this.options.firstVideoDecodedTimeout&&!this.isFirstVideoDecodedTimeout[e.ssrc]&&(this.onFirstVideoDecodedTimeout&&this.onFirstVideoDecodedTimeout(e.ssrc),this.isFirstVideoDecodedTimeout[e.ssrc]=!0),e.framesDecodeCount>s.framesDecodeCount&&this.isFirstVideoDecoded[e.ssrc]?(i.lts=Date.now(),e.framesDecodeInterval=a,e.framesDecodeInterval>=this.options.freezeRateLimit&&(this.getVideoIsReady(parseInt(t.ssrc))?e.framesDecodeFreezeTime+=e.framesDecodeInterval:this.setVideoIsReady2(parseInt(t.ssrc,10),!0))):e.framesDecodeCountt.framesDecoded?e.qpSumPerFrame=t.qpSum/t.framesDecoded:e.qpSumPerFrame=(t.qpSum-i.qpSum)/(t.framesDecoded-i.stats.framesDecodeCount))}t.totalDecodeTime&&(e.decodeMs=1e3*t.totalDecodeTime,e.avgDecodeMs=kc(i==null?void 0:i.stats,e,"decodeMs","framesDecodeCount")),e.avgProcessingDelayMs=kc(i==null?void 0:i.stats,e,"totalProcessingDelay","framesDecodeCount",aa.kMillisecondsFromSeconds),e.avgFramesAssembledFromMultiplePacketsMs=kc(i==null?void 0:i.stats,e,"totalAssemblyTime","framesAssembledFromMultiplePackets",aa.kMillisecondsFromSeconds),e.avgInterFrameDelayMs=kc(i==null?void 0:i.stats,e,"totalInterFrameDelay","framesDecodeCount",aa.kMillisecondsFromSeconds),n&&o-n.lts>=800?(e.decodeFrameRate=Math.round((e.framesDecodeCount-n.count)/((o-n.lts)/1e3)),this.lastVideoFramesDecode.set(e.ssrc,{count:e.framesDecodeCount,lts:o,rate:e.decodeFrameRate})):n?e.decodeFrameRate=n.rate:this.lastVideoFramesDecode.set(e.ssrc,{count:e.framesDecodeCount,lts:o,rate:0}),e.framesDroppedCount&&t.framesReceived&&(r&&o-r.lts>=800?(e.outputFrameRate=Math.round((t.framesReceived-e.framesDroppedCount-r.count)/((o-r.lts)/1e3)),this.lastVideoFramesOutput.set(e.ssrc,{count:t.framesReceived-e.framesDroppedCount,lts:o,rate:Math.max(e.outputFrameRate,0)})):r?e.outputFrameRate=r.rate:this.lastVideoFramesOutput.set(e.ssrc,{count:t.framesReceived-e.framesDroppedCount,lts:o,rate:0})),this.processVideoTrackReceiverStats(t,t.trackId,e),t.codecId&&(e.codec=this.getCodecFromCodecStats(t.codecId)),t.framerateMean&&(e.framesRateFirefox=t.framerateMean),e.packets>0&&!this.isFirstVideoReceived[e.ssrc]&&(this.onFirstVideoReceived&&this.onFirstVideoReceived(e.ssrc),this.isFirstVideoReceived[e.ssrc]=!0),this.lastDecodeVideoReceiverStats.set(e.ssrc,{stats:z({},e),lts:i?i.lts:Date.now(),qpSum:t.qpSum})}processVideoOutboundStats(t){let e=this._stats.videoSend.find(n=>n.ssrc===t.ssrc);e||(e=wn(II),this._stats.videoSend.push(e));const i=this.mediaBytesSent.get(t.ssrc);if(i)i.add(t.bytesSent);else{const n=new GE(10);n.add(t.bytesSent),this.mediaBytesSent.set(t.ssrc,n)}if(t.retransmittedBytesSent!==void 0){const n=this.mediaBytesRetransmit.get(t.ssrc);if(n)n.add(t.retransmittedBytesSent);else{const r=new GE(10);r.add(t.retransmittedBytesSent),this.mediaBytesRetransmit.set(t.ssrc,r)}}if(t.totalEncodedBytesTarget){const n=this.mediaBytesTargetEncode.get(t.ssrc);if(n)n.add(t.totalEncodedBytesTarget);else{const r=new GE(10);r.add(t.totalEncodedBytesTarget),this.mediaBytesTargetEncode.set(t.ssrc,r)}}if(e.ssrc=t.ssrc,e.bytes=t.bytesSent,e.packets=t.packetsSent,e.firsCount=t.firCount,e.nacksCount=t.nackCount,e.plisCount=t.pliCount,e.frameCount=t.framesEncoded,e.adaptionChangeReason=t.qualityLimitationReason,e.scalabilityMode=t.scalabilityMode,e.retransmittedBytesSent=t.retransmittedBytesSent,e.retransmittedPacketsSent=t.retransmittedPacketsSent,e.hugeFramesSent=t.hugeFramesSent,e.keyFramesEncoded=t.keyFramesEncoded,e.targetBitrate=t.targetBitrate,t.totalEncodeTime&&t.framesEncoded){const n=this.lastEncoderMs.get(t.ssrc);if(!n||n.lastFrameCount>t.framesEncoded)e.avgEncodeMs=1e3*t.totalEncodeTime/t.framesEncoded;else{const r=t.framesEncoded-n.lastFrameCount,o=t.totalEncodeTime-n.lastEncoderTime;e.avgEncodeMs=1e3*o/r}}if(t.framesEncoded&&t.qpSum){const n=this.lastEncoderMs.get(t.ssrc);!n||n.lastFrameCount>t.framesEncoded?e.qpSumPerFrame=t.qpSum/t.framesEncoded:e.qpSumPerFrame=(t.qpSum-n.lastQpSum)/(t.framesEncoded-n.lastFrameCount)}if(this.lastEncoderMs.set(t.ssrc,{lastFrameCount:t.framesEncoded,lastEncoderTime:t.totalEncodeTime,lastQpSum:t.qpSum,lts:Date.now()}),t.codecId&&(e.codec=this.getCodecFromCodecStats(t.codecId)),t.mediaSourceId&&this.processVideoMediaSource(t.mediaSourceId,e),this.processVideoTrackSenderStats(t,t.trackId,e),t.remoteId)this.processRemoteInboundStats(t.remoteId,e);else{const n=this.findRemoteStatsId(t.ssrc,Xi.REMOTE_INBOUND);n&&this.processRemoteInboundStats(n,e)}}processAudioOutboundStats(t){let e=this._stats.audioSend.find(i=>i.ssrc===t.ssrc);if(e||(e=wn(AI),this._stats.audioSend.push(e)),e.ssrc=t.ssrc,e.packets=t.packetsSent,e.bytes=t.bytesSent,e.retransmittedBytesSent=t.retransmittedBytesSent,e.retransmittedPacketsSent=t.retransmittedPacketsSent,t.mediaSourceId&&this.processAudioMediaSource(t.mediaSourceId,e),t.codecId&&(e.codec=this.getCodecFromCodecStats(t.codecId)),this.processAudioTrackSenderStats(t,t.trackId,e),t.remoteId)this.processRemoteInboundStats(t.remoteId,e);else{const i=this.findRemoteStatsId(t.ssrc,Xi.REMOTE_INBOUND);i&&this.processRemoteInboundStats(i,e)}}findRemoteStatsId(t,e){var i;const n=Array.from(Ui(i=this.report).call(i)).find(r=>r.type===e&&r.ssrc===t);return n?n.id:null}processVideoMediaSource(t,e){const i=this.report.get(t);i&&i.width&&i.height&&i.framesPerSecond&&(e.inputFrame={width:i.width,height:i.height,frameRate:i.framesPerSecond})}processAudioMediaSource(t,e){const i=this.report.get(t);i&&(e.inputLevel=i.audioLevel)}processVideoTrackSenderStats(t,e,i){var n,r,o,s;const a=e?this.report.get(e):void 0,c=(n=a==null?void 0:a.framesSent)!==null&&n!==void 0?n:t.framesSent;if(typeof c!="number")return;let d=(r=a==null?void 0:a.frameWidth)!==null&&r!==void 0?r:t.frameWidth,l=(o=a==null?void 0:a.frameHeight)!==null&&o!==void 0?o:t.frameHeight,u=(s=a==null?void 0:a.framesPerSecond)!==null&&s!==void 0?s:t.framesPerSecond;if(typeof d=="number"&&typeof l=="number"||(d=0,l=0),u==null){const h=Date.now(),p=this.lastVideoFramesSent.get(i.ssrc);p&&h-p.lts>=800?(u=Math.round((c-p.count)/((h-p.lts)/1e3)),this.lastVideoFramesSent.set(i.ssrc,{count:c,lts:h,rate:u})):p?u=p.rate:this.lastVideoFramesSent.set(i.ssrc,{count:c,lts:h,rate:0})}i.sentFrame={width:d,height:l,frameRate:Math.max(0,u)}}processVideoTrackReceiverStats(t,e,i){var n,r,o,s,a;const c=e?this.report.get(e):void 0,d=(n=c==null?void 0:c.framesReceived)!==null&&n!==void 0?n:t.framesReceived,l=(r=c==null?void 0:c.frameWidth)!==null&&r!==void 0?r:t.frameWidth,u=(o=c==null?void 0:c.frameHeight)!==null&&o!==void 0?o:t.frameHeight,h=(s=c==null?void 0:c.jitterBufferDelay)!==null&&s!==void 0?s:t.jitterBufferDelay,p=(a=c==null?void 0:c.jitterBufferEmittedCount)!==null&&a!==void 0?a:t.jitterBufferEmittedCount;if(typeof d=="number"){const g=this.lastVideoFramesRecv.get(i.ssrc),m=Date.now();i.framesReceivedCount=d;let f=0;g&&m-g.lts>=800?(f=Math.round((d-g.count)/((m-g.lts)/1e3)),this.lastVideoFramesRecv.set(i.ssrc,{count:d,lts:m,rate:f})):g?f=g.rate:this.lastVideoFramesRecv.set(i.ssrc,{count:d,lts:m,rate:0}),i.receivedFrame={width:l||0,height:u||0,frameRate:f||0},i.decodedFrame={width:l||0,height:u||0,frameRate:i.decodeFrameRate||0},i.outputFrame={width:l||0,height:u||0,frameRate:i.outputFrameRate||i.decodeFrameRate||0}}if(h&&p){const g=this.lastVideoJBDelay.get(i.ssrc)||{jitterBufferDelay:0,jitterBufferEmittedCount:0,jitterBufferMs:0};let m=g.jitterBufferMs;const f=p-g.jitterBufferEmittedCount;f>0&&(m=1e3*(h-g.jitterBufferDelay)/f),i.jitterBufferMs=m,i.currentDelayMs=Math.round(m),this.lastVideoJBDelay.set(i.ssrc,{jitterBufferDelay:h,jitterBufferEmittedCount:p,jitterBufferMs:i.currentDelayMs})}}processAudioTrackSenderStats(t,e,i){var n,r,o,s;const a=e?this.report.get(e):void 0,c=(n=(r=a==null?void 0:a.echoReturnLoss)!==null&&r!==void 0?r:t.echoReturnLoss)!==null&&n!==void 0?n:0,d=(o=(s=a==null?void 0:a.echoReturnLossEnhancement)!==null&&s!==void 0?s:t.echoReturnLossEnhancement)!==null&&o!==void 0?o:0;i.aecReturnLoss=c,i.aecReturnLossEnhancement=d}processAudioTrackReceiverStats(t,e,i){var n,r,o,s,a,c,d,l,u;const h=e?this.report.get(e):void 0,p=(n=h==null?void 0:h.removedSamplesForAcceleration)!==null&&n!==void 0?n:t.removedSamplesForAcceleration,g=(r=h==null?void 0:h.totalSamplesReceived)!==null&&r!==void 0?r:t.totalSamplesReceived,m=(o=h==null?void 0:h.jitterBufferDelay)!==null&&o!==void 0?o:t.jitterBufferDelay,f=(s=h==null?void 0:h.jitterBufferEmittedCount)!==null&&s!==void 0?s:t.jitterBufferEmittedCount,T=(a=h==null?void 0:h.audioLevel)!==null&&a!==void 0?a:t==null?void 0:t.audioLevel,R=(c=h==null?void 0:h.totalSamplesDuration)!==null&&c!==void 0?c:t==null?void 0:t.totalSamplesDuration,A=(d=h==null?void 0:h.concealedSamples)!==null&&d!==void 0?d:t.concealedSamples,N=(l=h==null?void 0:h.silentConcealedSamples)!==null&&l!==void 0?l:t.silentConcealedSamples,O=(u=h==null?void 0:h.concealmentEvents)!==null&&u!==void 0?u:t.concealmentEvents;if(typeof g=="number"&&(i.totalSamplesReceived=g),typeof N=="number"&&(i.silentConcealedSamples=N),typeof O=="number"&&(i.concealmentEvents=O),typeof A=="number"&&(i.concealedSamples=A),p&&g&&(i.accelerateRate=p/g),m&&f){const L=this.lastAudioJBDelay.get(i.ssrc)||{jitterBufferDelay:0,jitterBufferEmittedCount:0,jitterBufferMs:0};let M=L.jitterBufferMs;const j=f-L.jitterBufferEmittedCount;j>0&&(M=1e3*(m-L.jitterBufferDelay)/j),i.jitterBufferMs=Math.round(M),this.lastAudioJBDelay.set(i.ssrc,{jitterBufferDelay:m,jitterBufferEmittedCount:f,jitterBufferMs:i.jitterBufferMs})}i.outputLevel=T;let w=1920;R&&g&&(w=g/R/50,i.receivedFrames=Math.round(g/w)),A&&(i.droppedFrames=Math.round(A/w))}processRemoteInboundStats(t,e){const i=this.report.get(t);i&&(e.packetsLost=i.packetsLost,i.roundTripTime&&(e.rttMs=1e3*i.roundTripTime),i.jitter&&(e.jitterMs=1e3*i.jitter),i.timestamp&&(e.timestamp=i.timestamp))}getCodecFromCodecStats(t){const e=this.report.get(t);if(!e)return"";const i=e.mimeType.match(/\/(.*)$/);return i&&i[1]?i[1]:""}updateSendBitrate(){let t=0,e=null,i=null;this.mediaBytesSent.forEach(r=>{t+=r.diffMean()}),this.mediaBytesRetransmit.forEach(r=>{e=e===null?r.diffMean():e+r.diffMean()}),this.mediaBytesTargetEncode.forEach(r=>{i=i===null?r.diffMean():i+r.diffMean()});const n=e!==null?t-e:t;this._stats.bitrate={actualEncoded:8*n/(this.options.updateInterval/1e3),transmit:8*t/(this.options.updateInterval/1e3)},e!==null&&(this._stats.bitrate.retransmit=8*e/(this.options.updateInterval/1e3)),i!==null&&(this._stats.bitrate.targetEncoded=8*i/(this.options.updateInterval/1e3))}},HG=class extends WE{updateStats(){return K.resolve()}};function KE(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:250,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:8,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:500,r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1e4;const o=function(){const s=navigator.userAgent.toLocaleLowerCase().match(/chrome\/[\d]*/i);return s&&s[0]?Number(s[0].split("/")[1]):null}();return o?o<76?new WG(t,{updateInterval:e,lossRateInterval:i,freezeRateLimit:n,firstVideoDecodedTimeout:r}):new wI(t,{updateInterval:e,lossRateInterval:i,freezeRateLimit:n,firstVideoDecodedTimeout:r}):function(s){if(!window.RTCStatsReport)return!1;const a=s.getStats();return!!(a instanceof K||function(c){return!!c&&(typeof c=="object"||typeof c=="function")&&typeof c.then=="function"}(a))}(t)?new wI(t,{updateInterval:e,lossRateInterval:i,freezeRateLimit:n,firstVideoDecodedTimeout:r}):new HG(t,{updateInterval:e,lossRateInterval:i,freezeRateLimit:n,firstVideoDecodedTimeout:r})}const OI="websdk_ng_install_id";function YE(){try{if(y("INSTALL_ID"))return y("INSTALL_ID");let t=window.localStorage.getItem(OI);return t||(t=Zo(),window.localStorage.setItem(OI,t)),kt("INSTALL_ID",t),t}catch(t){return}}const dn=function(t){if(t.match(/[0-9]+\.[0-9]+\.[0-9]+$/))return t;const e=t.match(/([0-9]+\.[0-9]+\.[0-9]+)\-([0-9]+)/);if(e&&e[1]&&e[2]){const i=e[1],n=e[2];return"".concat(i,".").concat(n)}return"4.0.0.999"}("4.23.4"),qE=function(){try{return JSON.parse("true")===!0}catch(t){return!0}}();let $o=function(t){return t.Default="default",t.Auto="auto",t.Relay="relay",t.SdRtn="sd-rtn",t}({});const He=function(){const t="us".concat("erna","me"),e="pa".concat("sswo","rd"),i=["t","s","t"];i.splice(1,0,"e");const n=i.join(""),r=[];for(let a=0;a<6;a++)r.push("1");const o=r.join(""),s={};return s[t]=n,s[e]=o,Object.assign(s,{turnServerURL:"",tcpport:3433,udpport:3478,forceturn:!1})}();window.DEFAULT_TURN_CONFIG=He;const _u={ENABLE_PUBLISHED_USER_LIST:!0,MAX_SUBSCRIPTION:50,SUBSCRIBE_AUDIO_FILTER_TOPN:void 0,ENABLE_PUBLISH_AUDIO_FILTER:void 0,ENABLE_USER_LICENSE_CHECK:!0,DISABLE_FEC:void 0,ENABLE_NTP_REPORT:!1,ENABLE_INSTANT_VIDEO:!1,ENABLE_USER_AUTO_REBALANCE_CHECK:!0,ENABLE_LOSSBASED_BWE:!0,ENABLE_AUT_CC:!1,ENABLE_CC_FALLBACK:void 0,SUBSCRIBE_TWCC:!0,PUBLISH_TWCC:!1,ENABLE_SVC_DEFAULT_CODECS:["H264","VP8","VP9","AV1"],SVC:[],ENABLE_FULL_LINK_AV_SYNC:!1,SVC_MODE:null,PRE_SUB_NUM:2,ENABLE_AUT_FEEDBACK:!1,SVC_EXTENDED:["VP9"]},zE={MIN_FRAME_RATE:1,MAX_FRAME_RATE:30,MAX_THRESHOLD_FRAMERATE:30,BITRATE_MIN_THRESHOLD:100,BITRATE_MAX_THRESHOLD:100,MAX_SCALE:5,BWE_SCALE_UP_THRESHOLD:.6,BWE_SCALE_DOWN_THRESHOLD:.6,PERF_SCALE_UP_THRESHOLD:.7,PERF_SCALE_DOWN_THRESHOLD:.6,MOTION_RESOLUTION_FACTOR:.8,MOTION_BITRATE_FACTOR:.6,DETAIL_FRAMERATE_FACTOR:.8,DETAIL_BITRATE_FACTOR:.6,BALANCE_RESOLUTION_FACTOR:.9,BALANCE_FRAMERATE_FACTOR:.9,BALANCE_BITRATE_FACTOR:.6,OVERUSE_TIMES_THRESHOLD:10,UNDERUSE_TIMES_THRESHOLD:40},XE="v4.23.4-0-g17410532-dirty(6/5/2025, 4:24:52 PM)",JE={ENABLE_EVENT_REPORT:!0,UPLOAD_LOG:!1,ENABLE_AG_ADAPTATION:!0,FORCE_AG_HIGH_FRAMERATE:!1,FORCE_SUPPORT_AG_ADAPTATION:!1,ENCODER_CONFIG_LIMIT:{},CAMERA_CAPTURE_CONFIG:void 0,ENABLE_PRELOAD:!0,NEW_ICE_RESTART:!1,ICE_RESTART_INTERVAL:1e4,RESTART_SEQUENCE:["udp_tcp_relay","relay"],FIRST_TCP_CANDIDATE:!1,FIRST_TCP_CANDIDATE_INTERVAL:1e3,TURN_DOMAIN:"edge.agora.io",USE_TURN_IP:!1,NEW_TURN_MODE:void 0,NEW_FORCE_TURN:!1,USE_NEW_RENDER_FREEZE_TIME:!1},Xt=z(z(z(z({},JE),{},{PROCESS_ID:"",ENCRYPT_AES:!0,AREAS:["CHINA","GLOBAL"],WEBCS_DOMAIN:["webrtc2-ap-web-1.agora.io","webrtc2-2.ap.sd-rtn.com"],WEBCS_DOMAIN_BACKUP_LIST:["webrtc2-ap-web-3.agora.io","webrtc2-4.ap.sd-rtn.com"],PROXY_CS:["ap-proxy-1.agora.io","ap-proxy-2.agora.io"],CDS_AP:["cds-ap-web-1.agora.io","cds-web-2.ap.sd-rtn.com","cds-ap-web-3.agora.io","cds-web-4.ap.sd-rtn.com"],ACCOUNT_REGISTER:["sua-ap-web-1.agora.io","sua-web-2.ap.sd-rtn.com","sua-ap-web-3.agora.io","sua-web-4.ap.sd-rtn.com"],UAP_AP:["uap-ap-web-1.agora.io","uap-web-2.ap.sd-rtn.com","uap-ap-web-3.agora.io","uap-web-4.ap.sd-rtn.com"],LOG_UPLOAD_SERVER:"logservice.agora.io",EVENT_REPORT_DOMAIN:"statscollector-1.agora.io",EVENT_REPORT_BACKUP_DOMAIN:"web-2.statscollector.sd-rtn.com",GATEWAY_ADDRESS:[],GATEWAY_WSS_ADDRESS:"",LIVE_STREAMING_ADDRESS:"",HTTP_CONNECT_TIMEOUT:5e3,SIGNAL_REQUEST_TIMEOUT:1e4,REPORT_STATS:!0,NOT_REPORT_EVENT:[],PING_PONG_TIME_OUT:10,WEBSOCKET_TIMEOUT_MIN:1e4,EVENT_REPORT_SEND_INTERVAL:3e3,CONFIG_DISTRIBUTE_INTERVAL:3e5,ENABLE_CONFIG_DISTRIBUTE:!0,CANDIDATE_TIMEOUT:5e3,SHOW_REPORT_INVOKER_LOG:!1,SHOW_REPORT_USER_INVOKER_LOG:!0,JOIN_EXTEND:"",PUB_EXTEND:"",SUB_EXTEND:"",FORCE_TURN:!1,TURN_ENABLE_TCP:!0,TURN_ENABLE_UDP:!0,MAX_UPLOAD_CACHE:50,UPLOAD_CACHE_INTERVAL:2e3,AJAX_REQUEST_CONCURRENT:3,REPORT_APP_SCENARIO:void 0,GATEWAY_DOMAINS:["edge.agora.io","edge.sd-rtn.com"],CONNECT_GATEWAY_WITHOUT_DOMAIN:!1,WORKER_DOMAIN:"edge.agora.io",EVENT_REPORT_RETRY:!0,CHROME_FORCE_PLAN_B:!1,AUDIO_SOURCE_VOLUME_UPDATE_INTERVAL:400,AUDIO_SOURCE_AVG_VOLUME_DURATION:3e3,AUDIO_VOLUME_INDICATION_INTERVAL:2e3,VOLUME_VOICE_WEIGHT:10,GET_VOLUME_OF_MUTED_AUDIO_TRACK:!1,STATS_UPDATE_INTERVAL:250,NORMAL_EVENT_QUEUE_CAPACITY:100,CUSTOM_REPORT:!0,CUSTOM_REPORT_LIMIT:20,PROXY_SERVER_TYPE2:"webnginx-proxy.agora.io",PROXY_SERVER_TYPE3:["webrtc-cloud-proxy.sd-rtn.com","webrtc-cloud-proxy.agora.io"],CUSTOM_PUB_ANSWER_MODIFIER:null,CUSTOM_SUB_ANSWER_MODIFIER:null,CUSTOM_PUB_OFFER_MODIFIER:null,CUSTOM_SUB_OFFER_MODIFIER:null,DSCP_TYPE:"high",REMOVE_NEW_CODECS:!0,FRAGEMENT_LENGTH:3,WEBSOCKET_COMPRESS:!1,SIMULCAST:!1,PRELOAD_MEDIA_COUNT:0,CHECK_VIDEO_VISIBLE_INTERVAL:3e4,CHECK_LOCAL_STATS_INTERVAL:250,PROFILE_SWITCH_INTERVAL:2e3,UNSUPPORTED_VIDEO_CODEC:[],ENUMERATE_DEVICES_INTERVAL:!1,ENUMERATE_DEVICES_INTERVAL_TIME:1e4,USE_NEW_TOKEN:!1,CLOSE_AFB_FOR_LOCAL_AP:!0,JOIN_MAX_CONCURRENCY:6,JOIN_WITH_FALLBACK_SIGNAL_PROXY:!0,JOIN_WITH_FALLBACK_MEDIA_PROXY:!0,JOIN_WITH_FALLBACK_MEDIA_PROXY_FORCE:!1,JOIN_GATEWAY_TRY_443PORT_DURATION:2e3,JOIN_GATEWAY_USE_443PORT_ONLY:!1,JOIN_GATEWAY_USE_DUAL_DOMAIN:!0,JOIN_GATEWAY_FALLBACK_PORT:443,USE_TURN_SERVER_OF_GATEWAY:!1,H264_PROFILE_LEVEL_ID:"",USE_NEW_LOG:!1,LOG_VERSION:3,MEDIA_DEVICE_CONSTRAINTS:null,ENCRYPT_PROXY_USERNAME_AND_PSW:!0,SDP_LOGGING:!1,CSP_DETECTED_HOSTNAME_LIST:["agora.io","sd-rtn.com"],REMOTE_AUDIO_TRACK_USES_WEB_AUDIO:!1,LOCAL_AUDIO_TRACK_USES_WEB_AUDIO:!1,BITRATE_ADAPTER_TYPE:"STANDARD_BITRATE",AI_DENOISER_PARAMETERS:{excludedLinks:[]},ADJUST_3A_FROM_PLUGINS:!0,RAISE_H264_BASELINE_PRIORITY:!0,FILTER_SEND_H264_BASELINE:!1,FIRST_H264_PROFILE_LEVEL_ID:"42001f",FIRST_PACKETIZATION_MODE:"",X_GOOGLE_START_BITRATE:void 0,NEW_REPORT_SERVER:!1,NEW_REPORT_SERVER_DOMAINS:["data-reporting.agora.io","data-reporting.agora.io"],VIDEO_INSPECT_WORKER_MESSAGE_LENGTH_LIMIT:3e5,VIDEO_INSPECT_INTERVAL_MINIMUM:1e3,VIDEO_INSPECT_QUALITY_RATIO:.9,VIDEO_INSPECT_WORKER_MANAGER_HOST:"edge.agora.io",VIDEO_INSPECT_WORKER_MANAGER_PORT:"",VIDEO_INSPECT_WORKER_PORT:"",SHOW_VIDEO_INSPECT_WORKER_MESSAGE:!1,STATS_COLLECTOR_PORT:443,FORCE_TURN_TCP:!1,WEBAUDIO_INIT_OPTIONS:void 0,FILTER_VIDEO_FEC:!0,FILTER_AUDIO_FEC:!1,CHROME_DUAL_STREAM_USE_ENCODING:!0,DISABLE_DUAL_STREAM_USE_ENCODING:!1,EXTENSION_USAGE_UPLOAD_INTERVAL:1e4,ICE_RESTART:!0,FINGERPRINT:null,ENABLE_VIDEO_FRAME_CALLBACK:!0,VIDEO_FREEZE_DURATION:500,SPATIALIZER_PARAMETERS:{},UPLOAD_LOG_INTERVAL:3e3,UPLOAD_LOG_REQUEST_RETRY_INTERVAL:2e3,UPLOAD_LOG_REQUEST_MAX_RETRY_INTERVAL:2e4,UPLOAD_LOG_TRY_INTERVAL_WHILE_OFF:5e3,UPLOAD_LOG_RETRY_INTERVAL_V1:1e4,UPLOAD_LOG_TWICE_RETRY_INTERVAL_V1:200,UPLOAD_LOG_LENGTH_EACH_TIME:10,APP_TYPE:0,DISABLE_WEBAUDIO:!1,CHANNEL_MEDIA_RELAY_SERVERS:void 0,KEEP_LAST_FRAME:!0,FORWARD_P2P_CREATION:!0,SYNC_GROUP:!0,BLOCK_LOCAL_CLIENT:!1,ENABLE_AUDIO_TOPN:!1,ENABLE_AUDIO_METADATA:!1,ENABLE_AUDIO_PTS_METADATA:!1,TOPN_SMOOTH_LEVEL:void 0,TOPN_NEW_SPEAKER_DELAY:void 0,TOPN_SWITCH_HOLD_MS:void 0,TOPN_AUDIO_GAIN:void 0,TOPN_SILENCE_THRESHOLD:250,AP_AREA:!0,ENABLE_ENCODED_TRANSFORM:!1,ENABLE_VIDEO_SEI:!1,IMAGE_MODERATION_WORKER_HOST:"edge.agora.io",IMAGE_MODERATION_WORKER_MESSAGE_LENGTH_LIMIT:3e5,IMAGE_MODERATION_INTERVAL_MINIMUM:1e3,SHOW_IMAGE_MODERATION_WORKER_MESSAGE:!1,IMAGE_MODERATION_QUALITY_RATIO:.9,IMAGE_MODERATION_UPLOAD_REPORT_INTERVAL:5e3,SHOW_GLOBAL_CLIENT_LIST:!1,DATASTREAM_MAX_RETRANSMITS:10,TCP_CANDIDATE_ONLY:!1,EXTERNAL_SIGNAL_REQUEST_TIMEOUT:3e3,SHOW_P2P_LOG:!1,MAX_P2P_TIMEOUT:3e4,P2P_TOKEN_INTERVAL:1e3,SHOW_DATASTREAM2_LOG:!1,RESTRICTION_SET_PLAYBACK_DEVICE:!0,USE_PURE_ENCRYPTION_MASTER_KEY:!1,ENABLE_AUDIO_RED:!1,OPUS_PTIME:void 0,AUDIO_DUPLICATE_NUM:void 0,ACCOUNT_REGISTER_RETRY_TIMEOUT:1,ACCOUNT_REGISTER_RETRY_RATIO:2,ACCOUNT_REGISTER_RETRY_TIMEOUT_MAX:6e4,ACCOUNT_REGISTER_RETRY_COUNT_MAX:1e5,AUDIO_CONTEXT:null,WEBCS_BACKUP_CONNECT_TIMEOUT:6e3,PLAYER_STATE_DEFER:2e3,SIGNAL_REQUEST_WATCH_INTERVAL:1e3,FILEPATH_LENMAX:255,DUALSTREAM_OPERATION_CHECK:!0,MEDIA_ELEMENT_EXISTS_DEPTH:3,SHIM_CANDIDATE:!1,LEAVE_MSG_TIMEOUT:2e3,STATS_FILTER:{transportId:!0,googTrackId:!0},FILTER_VIDEO_CODEC:[],USE_NEW_NETWORK_CONFIG:!1,AUTO_RESET_AUDIO_ROUTE:!1,PLUGIN_INFO:[],OVERUSE_DETECTOR_PARAMS:zE,CUSTOM_ADAPTATION_DEFAULT_MODE:"",HIDE_NO_POSTER:!1,AP_CACHE_NUM:10,AP_UPDATE_INTERVAL:12e4,AP_CACHE_LIFETIME:12e4,MAX_PRELOAD_ASYNC_LENGTH:3,DISABLE_SCREEN_SHARE_REMB:!1},_u),{},{USE_CANDIDATE_FROM_AP_DETAIL:!1,AP_REQUEST_DETAIL:void 0,ENABLE_ROLE_SELECT_EDGE:!1,CLIENT_ROLE_OPTIONS:void 0,COMPATIBLE_SDP_EXTENSION:["gdpr_forbidden"],LIMIT_BITRATE:void 0,EXPERIMENTS:{},USE_PUB_RTX:!0,USE_SUB_RTX:!0,ENABLE_DATASTREAM_2:!1,USE_XR:!0,ENABLE_PREALLOC_PC:!1,ENABLE_PRE_SUB:!1,ENABLE_SVC:!1},{INSTALL_ID:""}),{},{K_MIN_RENDER_DELAY:66,USE_STANDARD_BITRATE_DEFAULT:!1,VIDEO_NEW_BITRATE_RATIO:void 0,VIDEO_STANDARD_BITRATE_VERSION:void 0,BASELINE_MORE_H264_BITRATE_RATIO:1.1});function kt(t,e,i){var n,r,o;G(n=Object.keys(Xt)).call(n,t)&&(!i&&G(r=Object.keys(Qn)).call(r,t)||(Xt[t]=e,t!=="ENABLE_VIDEO_SEI"&&t!=="ENABLE_AUDIO_TOPN"&&t!=="ENABLE_AUDIO_METADATA"&&t!=="ENABLE_AUDIO_PTS_METADATA"||e!==!0||(Xt.ENABLE_ENCODED_TRANSFORM=!0,t==="ENABLE_AUDIO_PTS_METADATA"&&(Xt.ENABLE_AUDIO_METADATA=!0)),t==="USE_NEW_NETWORK_CONFIG"&&e&&(o=!!e,Xt.USE_NEW_NETWORK_CONFIG=o,o&&(Xt.WEBCS_DOMAIN=["webrtc2-2.ap.sd-rtn.com"],Xt.WEBCS_DOMAIN_BACKUP_LIST=["webrtc2-4.ap.sd-rtn.com"],Xt.CDS_AP=["cds-web-2.ap.sd-rtn.com","cds-web-4.ap.sd-rtn.com"],Xt.ACCOUNT_REGISTER=["sua-web-2.ap.sd-rtn.com","sua-web-4.ap.sd-rtn.com"],Xt.EVENT_REPORT_DOMAIN="web-2.statscollector.sd-rtn.com",Xt.EVENT_REPORT_BACKUP_DOMAIN="statscollector-1.agora.io",Xt.GATEWAY_DOMAINS=["edge.sd-rtn.com"])),t==="ENABLE_PRE_SUB"&&e&&(Xt.ENABLE_INSTANT_VIDEO=!0,Xt.ENABLE_PREALLOC_PC=!0),t==="ENABLE_SVC"&&e&&(Xt.ENABLE_AUT_CC=!0),t==="NEW_FORCE_TURN"&&e&&(Xt.NEW_TURN_MODE||(Xt.NEW_TURN_MODE=4))))}function y(t){return Xt[t]}qE||(Xt.WEBCS_DOMAIN=["ap-web-1-oversea.agora.io","ap-web-1-north-america.agora.io"],Xt.WEBCS_DOMAIN_BACKUP_LIST=["ap-web-2-oversea.agora.io","ap-web-2-north-america.agora.io"],Xt.PROXY_CS=["proxy-ap-web-oversea.agora.io","proxy-ap-web-america.agora.io"],Xt.CDS_AP=["cds-ap-web-oversea.agora.io","cds-ap-web-america.agora.io","cds-ap-web-america2.agora.io"],Xt.ACCOUNT_REGISTER=["sua-ap-web-oversea.agora.io","sua-ap-web-america.agora.io","sua-ap-web-america2.agora.io"],Xt.UAP_AP=["uap-ap-web-oversea.agora.io","uap-ap-web-america.agora.io","uap-ap-web-america2.agora.io"],Xt.LOG_UPLOAD_SERVER="logservice-oversea.agora.io",Xt.EVENT_REPORT_DOMAIN="statscollector-1-oversea.agora.io",Xt.EVENT_REPORT_BACKUP_DOMAIN="statscollector-2-oversea.agora.io",Xt.PROXY_SERVER_TYPE3="webrtc-cloud-proxy.agora.io",Xt.AREAS=["NORTH_AMERICA","OVERSEA"]);let NI=function(t){return t[t.REALTIME=1]="REALTIME",t}({});const Qn={};var ft=function(t){return t.SET_SESSION_ID="SET_SESSION_ID",t.SET_P2P_ID="SET_P2P_id",t.SET_DC_ID="SET_DC_id",t.SET_UID="SET_UID",t.SET_INT_UID="SET_INT_UID",t.SET_PUB_ID="SET_PUB_ID",t.SET_CLOUD_PROXY_SERVER_MODE="SET_CLOUD_PROXY_SERVER_MODE",t.KEY_METRIC_CLIENT_CREATED="KEY_METRIC_CLIENT_CREATED",t.KEY_METRIC_JOIN_START="KEY_METRIC_JOIN_START",t.KEY_METRIC_JOIN_END="KEY_METRIC_JOIN_END",t.KEY_METRIC_REQUEST_AP_START="KEY_METRIC_REQUEST_AP_START",t.KEY_METRIC_REQUEST_AP_END="KEY_METRIC_REQUEST_AP_END",t.KEY_METRIC_JOIN_GATEWAY_START="KEY_METRIC_JOIN_GATEWAY_START",t.KEY_METRIC_JOIN_GATEWAY_END="KEY_METRIC_JOIN_GATEWAY_END",t.KEY_METRIC_PEER_CONNECTION_START="KEY_METRIC_PEER_CONNECTION_START",t.KEY_METRIC_PEER_CONNECTION_END="KEY_METRIC_PEER_CONNECTION_END",t.KEY_METRIC_DESCRIPTION_START="KEY_METRIC_DESCRIPTION_START",t.KEY_METRIC_ICE_CONNECTION_END="KEY_METRIC_ICE_CONNECTION_END",t.KEY_METRIC_SIGNAL_CHANNEL_OPEN="KEY_METRIC_SIGNAL_CHANNEL_OPEN",t.KEY_METRIC_PUBLISH="KEY_METRIC_PUBLISH",t.KEY_METRIC_SUBSCRIBE="KEY_METRIC_SUBSCRIBE",t.RECORD_JOIN_CHANNEL_SERVICE="RECORD_JOIN_CHANNEL_SERVICE",t.RESET_JOIN_CHANNEL_SERVICE_RECORDS="RESET_JOIN_CHANNEL_SERVICE_RECORDS",t.RESET_KEY_METRICS="RESET_KEY_METRICS",t.SET_USE_P2P="SET_USE_P2P",t.SET_TRANSPORT_TYPE="SET_TRANSPORT_TYPE",t}(ft||{});let Eu=function(t){return t.h264="h264",t.h265="h265",t.vp8="vp8",t.vp9="vp9",t.av1="av1",t}({});(function(t){t.opus="opus",t.pcma="pcma",t.pcmu="pcmu",t.g722="g722"})({});const DI=128,KG=96,PI=1e3,ca=10;let YG=0;var LI=(()=>{var t={8:(n,r,o)=>{o.r(r),o.d(r,{Parser:()=>j,Printer:()=>Kt,parse:()=>B,print:()=>X});const s=` +`,a="".concat("\r").concat(s),c=" ";let d;function l(x){return x>="0"&&x<="9"}function u(x){return x>="!"&&x<="~"}function h(x){return u(x)||x>="€"&&x<="ÿ"}function p(x){return x==="!"||x>="#"&&x<="'"||x>="*"&&x<="+"||x>="-"&&x<="."||x>="0"&&x<="9"||x>="A"&&x<="Z"||x>="^"&&x<="~"}function g(x){return x>="1"&&x<="9"}function m(x){return x>="A"&&x<="Z"||x>="a"&&x<="z"}function f(x){return x==="d"||x==="h"||x==="m"||x==="s"}function T(x){return x>""&&x<" "||x>"\v"&&x<"\f"||x>""&&x<"ÿ"}function R(x){return m(x)||l(x)||x==="+"||x==="/"}function A(x){return l(x)||m(x)||x==="+"||x==="/"||x==="-"||x==="_"}function N(x){return m(x)||l(x)||x==="+"||x==="/"}function O(x,E){var I=Object.keys(x);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(x);E&&(b=b.filter(function(F){return Object.getOwnPropertyDescriptor(x,F).enumerable})),I.push.apply(I,b)}return I}function w(x){for(var E=1;E=0&&F<=255)return b;throw new Error("Invalid decimal uchar")}consumeIP6Address(E,I){let b=this.consumeHexpart(E,I);return E[b]===":"&&(b+=1,b=this.consumeIP4Address(E,b)),b}consumeHexpart(E,I){let b=I;if(E[b]===":"&&E[b+1]===":"){b+=2;try{b=this.consumeHexseq(E,b)}catch(F){}return b}if(b=this.consumeHexseq(E,b),E[b]===":"&&E[b+1]===":"){b+=2;try{b=this.consumeHexseq(E,b)}catch(F){}return b}return b}consumeHexseq(E,I){let b=I;for(;b=this.consumeHex4(E,b),E[b]===":"&&E[b+1]!==":";)b+=1;return b}consumeHex4(E,I){let b=0;for(;b<4;b++)if(!((F=E[I+b])>="0"&&F<="9"||F>="a"&&F<="f"||F>="A"&&F<="F")){if(b===0)throw new Error("Invalid hex 4");break}var F;return I+b}consumeFQDN(E,I){let b=I;for(;l(E[b])||m(E[b])||E[b]==="-"||E[b]===".";)b+=1;if(b-I<4)throw new Error("Invalid FQDN");return b}consumeExtnAddr(E,I){return this.consumeOneOrMore(E,I,h)}consumeMulticastAddress(E,I,b){switch(b){case"IP4":case"ip4":return this.consumeIP4MulticastAddress(E,I);case"IP6":case"ip6":return this.consumeIP6MulticastAddress(E,I);default:try{return this.consumeFQDN(E,I)}catch(F){return this.consumeExtnAddr(E,I)}}}consumeIP6MulticastAddress(E,I){const b=this.consumeHexpart(E,I);return E[b]==="/"?this.consumeInteger(E,b+1):b}consumeIP4MulticastAddress(E,I){let b=I+3;const F=E.slice(I,b),ct=parseInt(F);if(ct<224||ct>239)throw new Error("Invalid IP4 multicast address, IPv4 multicast addresses may be in the range 224.0.0.0 to 239.255.255.255.");for(let Wt=0;Wt<3;Wt++){if(E[b]!==".")throw new Error("Invalid IP4 multicast address.");b+=1,b=this.consumeDecimalUChar(E,b)}return E[b]==="/"&&(b+=1),b=this.consumeTTL(E,b),E[b]==="/"&&(b=this.consumeInteger(E,b)),b}consumeInteger(E,I){if(!g(E[I]))throw new Error("Invalid integer.");for(I+=1;l(E[I]);)I+=1;return I}consumeTTL(E,I){if(E[I]==="0")return I+1;if(!g(E[I]))throw new Error("Invalid TTL.");I+=1;for(let b=0;b<2&&l(E[I]);b++)I+=1;return I}consumeToken(E,I){return this.consumeOneOrMore(E,I,p)}consumeTime(E,I){let b=I;if(E[b]==="0")return b+1;for(g(E[b])&&(b+=1);l(E[b]);)b++;if(b-I<10)throw new Error("Invalid time");return b}consumeAddress(E,I){return this.consumeTill(E,I,c)}consumeTypedTime(E,I){let b=I;return b=this.consumeOneOrMore(E,b,l),f(E[b])?b+1:b}consumeRepeatInterval(E,I){if(!g(E[I]))throw new Error("Invalid repeat interval");for(I+=1;l(E[I]);)I+=1;return f(E[I])&&(I+=1),I}consumePort(E,I){return this.consumeOneOrMore(E,I,l)}consume(E,I,b){for(let F=0;F=E.length)throw new Error("consume exceeding value length");if(E[I+F]!==b[F])throw new Error("consume ".concat(b," failed at ").concat(F))}return I+b.length}consumeTill(E,I,b){let F=I;for(;F!!ni(Jr).call(Jr)).map(this.parseLine),this.currentLine=0;const b=this.parseVersion(),F=this.parseOrigin(),ct=this.parseSessionName(),Wt=this.parseInformation(),ye=this.parseUri(),mn=this.parseEmail(),jn=this.parsePhone(),Rd=this.parseConnection(),Ss=this.parseBandWidth(),Ga=this.parseTimeFields(),vh=this.parseKey(),Ch=this.parseSessionAttribute(),fn=this.parseMediaDescription();if(this.currentLine!==this.records.length)throw new Error("parsing failed, non exhaustive sdp lines.");return{version:b,origin:F,sessionName:ct,information:Wt,uri:ye,emails:mn,phones:jn,connection:Rd,bandwidths:Ss,timeFields:Ga,key:vh,attributes:Ch,mediaDescriptions:fn}}getCurrentRecord(){const E=this.records[this.currentLine];if(!E)throw new Error("Record doesn't exit.");return E}probeEOL(E){for(let I=0;I=.");const b=E[0];if(E[1]!=="=")throw new Error('Invalid sdp line, should be a single character followed by an "=" sign.');return{type:b,value:E.slice(2),line:I,cur:0}}parseSessionAttribute(){const E=new ht;for(;this.currentLinep(F)&&F!==":"),_cur:0};I.value[I.cur]===":"&&(I.cur+=1,b.attValue=this.extractOneOrMore(I,T)),E.parse(b),this.currentLine++}return E.digest()}parseMediaAttributes(E){const I=new lt(E);for(;this.currentLinep(ct)&&ct!==":"),_cur:0};b.value[b.cur]===":"&&(b.cur+=1,F.attValue=this.extractOneOrMore(b,T)),I.parse(F),this.currentLine++}return I.digest()}parseKey(){const E=this.getCurrentRecord();if(E.type===d.KEY){if(E.value==="prompt"||E.value==="clear:"||E.value==="base64:"||E.value==="uri:")return E.value;throw this.currentLine++,new Error("Invalid key.")}}parseZone(){const E=this.getCurrentRecord();if(E.type===d.ZONE_ADJUSTMENTS){const I=[];for(;;)try{const b=this.extract(E,this.consumeTime);this.consumeSpaceForRecord(E);let F=!1;E.value[E.cur]==="-"&&(F=!0,E.cur+=1);const ct=this.extract(E,this.consumeTypedTime);I.push({time:b,typedTime:ct,back:F})}catch(b){break}if(I.length===0)throw new Error("Invalid zone adjustments");return this.currentLine++,I}return[]}parseRepeat(){const E=[];for(;;){const I=this.getCurrentRecord();if(I.type!==d.REPEAT)break;{const b=this.extract(I,this.consumeRepeatInterval),F=this.parseTypedTime(I);E.push({repeatInterval:b,typedTimes:F}),this.currentLine++}}return E}parseTypedTime(E){const I=[];for(;;)try{this.consumeSpaceForRecord(E),I.push(this.extract(E,this.consumeTypedTime))}catch(b){break}if(I.length===0)throw new Error("Invalid typed time.");return I}parseTime(){const E=this.getCurrentRecord(),I=this.extract(E,this.consumeTime);this.consumeSpaceForRecord(E);const b=this.extract(E,this.consumeTime);return this.currentLine++,{startTime:I,stopTime:b}}parseBandWidth(){const E=[];for(;this.currentLine2?b-2:0),ct=2;ctye)throw new Error("error in length, should be less or equal than ".concat(ye," characters."));return E._cur=F,ct}consumeAttributeSpace(E){if(E.attValue[E._cur]!==c)throw new Error("Invalid space at ".concat(E._cur,"."));E._cur+=1}extract(E,I){if(!E.attValue)throw new Error("Nothing to extract from attValue.");for(var b=arguments.length,F=new Array(b>2?b-2:0),ct=2;ct=E.attValue.length}peekChar(E){if(!E.attValue)throw new Error;return E.attValue[E._cur]}peek(E,I){if(!E.attValue)throw new Error;for(let b=0;bWt!==c&&T(Wt));b.push({name:F,value:ct})}this.attributes.identities.push({assertionValue:I,extensions:b})}parseMsidSemantic(E){this.peekChar(E)===c&&this.consumeAttributeSpace(E);const I={semantic:this.extract(E,this.consumeToken),identifierList:[]};for(;;){try{this.consumeAttributeSpace(E)}catch(b){break}if(this.peekChar(E)==="*"){this.extract(E,this.consume,"*"),I.applyForAll=!0;break}{const b=this.extract(E,this.consumeTill,c);I.identifierList.push(b)}}this.attributes.msidSemantic=I}}class lt extends H{constructor(E){super(),L(this,"attributes",void 0),E.protos.indexOf("RTP")!==-1||E.protos.indexOf("rtp"),this.attributes={unrecognized:[],candidates:[],extmaps:[],fingerprints:[],imageattr:[],msids:[],remoteCandidatesList:[],rids:[],ssrcs:[],ssrcGroups:[],rtcpFeedbackWildcards:[],payloads:[]}}parse(E){if(this.digested)throw new Error("already digested");try{switch(E.attField){case"extmap":this.parseExtmap(E);break;case"setup":this.parseSetup(E);break;case"ice-ufrag":this.parseIceUfrag(E);break;case"ice-pwd":this.parseIcePwd(E);break;case"ice-options":this.parseIceOptions(E);break;case"candidate":this.parseCandidate(E);break;case"remote-candidate":this.parseRemoteCandidate(E);break;case"end-of-candidates":this.parseEndOfCandidates();break;case"fingerprint":this.parseFingerprint(E);break;case"rtpmap":this.parseRtpmap(E);break;case"ptime":this.parsePtime(E);break;case"maxptime":this.parseMaxPtime(E);break;case"sendrecv":case"recvonly":case"sendonly":case"inactive":this.parseDirection(E);break;case"ssrc":this.parseSSRC(E);break;case"fmtp":this.parseFmtp(E);break;case"rtcp-fb":this.parseRtcpFb(E);break;case"rtcp-mux":this.parseRTCPMux();break;case"rtcp-mux-only":this.parseRTCPMuxOnly();break;case"rtcp-rsize":this.parseRTCPRsize();break;case"rtcp":this.parseRTCP(E);break;case"mid":this.parseMid(E);break;case"msid":this.parseMsid(E);break;case"imageattr":this.parseImageAttr(E);break;case"rid":this.parseRid(E);break;case"simulcast":this.parseSimulcast(E);break;case"sctp-port":this.parseSctpPort(E);break;case"max-message-size":this.parseMaxMessageSize(E);break;case"ssrc-group":this.parseSSRCGroup(E);break;default:E.ignored=!0,this.attributes.unrecognized.push(E)}}catch(I){throw console.error("parsing media attribute ".concat(E.attField,' error, "a=').concat(E.attField,":").concat(E.attValue,'"')),I}if(!E.ignored&&E.attValue&&!this.atEnd(E))throw new Error("attribute parsing error")}parseCandidate(E){const I=this.extractOneOrMore(E,R,[1,32]);this.consumeAttributeSpace(E);const b=this.extractOneOrMore(E,l,[1,5]);this.consumeAttributeSpace(E);const F=this.extract(E,this.consumeToken);this.consumeAttributeSpace(E);const ct=this.extractOneOrMore(E,l,[1,10]);this.consumeAttributeSpace(E);const Wt=this.extract(E,this.consumeAddress);this.consumeAttributeSpace(E);const ye=this.extract(E,this.consumePort);this.consumeAttributeSpace(E),this.extract(E,this.consume,"typ"),this.consumeAttributeSpace(E);const mn={foundation:I,componentId:b,transport:F,priority:ct,connectionAddress:Wt,port:ye,type:this.extract(E,this.consumeToken),extension:{}};for(this.peek(E," raddr")&&(this.extract(E,this.consume," raddr"),this.consumeAttributeSpace(E),mn.relAddr=this.extract(E,this.consumeAddress)),this.peek(E," rport")&&(this.extract(E,this.consume," rport"),this.consumeAttributeSpace(E),mn.relPort=this.extract(E,this.consumePort));this.peekChar(E)===c;){this.consumeAttributeSpace(E);const jn=this.extract(E,this.consumeToken);this.consumeAttributeSpace(E),mn.extension[jn]=this.extractOneOrMore(E,u)}this.attributes.candidates.push(mn)}parseRemoteCandidate(E){const I=[];for(;;){const b=this.extractOneOrMore(E,l,[1,5]);this.consumeAttributeSpace(E);const F=this.extract(E,this.consumeAddress);this.consumeAttributeSpace(E);const ct=this.extract(E,this.consumePort);I.push({componentId:b,connectionAddress:F,port:ct});try{this.consumeAttributeSpace(E)}catch(Wt){break}}this.attributes.remoteCandidatesList.push(I)}parseEndOfCandidates(){if(this.attributes.endOfCandidates)throw new Error("must be only one line of end-of-candidates");this.attributes.endOfCandidates=!0}parseRtpmap(E){const I=this.extract(E,this.consumeToken);this.consumeAttributeSpace(E);const b=this.extract(E,this.consumeTill,"/");this.extract(E,this.consume,"/");const F={encodingName:b,clockRate:this.extractOneOrMore(E,l)};this.atEnd(E)||this.peekChar(E)!=="/"||(this.extract(E,this.consume,"/"),F.encodingParameters=parseInt(this.extract(E,this.consumeTill),10));const ct=this.attributes.payloads.find(Wt=>Wt.payloadType===parseInt(I,10));ct?ct.rtpMap=F:this.attributes.payloads.push({payloadType:parseInt(I,10),rtpMap:F,rtcpFeedbacks:[]})}parsePtime(E){if(this.attributes.ptime)throw new Error("must be only one line of ptime");this.attributes.ptime=this.extract(E,this.consumeTill)}parseMaxPtime(E){if(this.attributes.maxPtime)throw new Error("must be only one line of ptime");this.attributes.maxPtime=this.extract(E,this.consumeTill)}parseDirection(E){if(this.attributes.direction)throw new Error("must be only one line of direction info");this.attributes.direction=E.attField}parseSSRC(E){const I=this.extractOneOrMore(E,l);this.consumeAttributeSpace(E);const b=this.extract(E,this.consumeTill,":");let F;this.peekChar(E)===":"&&(this.extract(E,this.consume,":"),F=this.extract(E,this.consumeTill));const ct=this.attributes.ssrcs.find(Wt=>Wt.ssrcId===parseInt(I,10));ct?ct.attributes[b]=F:this.attributes.ssrcs.push({ssrcId:parseInt(I,10),attributes:{[b]:F}})}parseFmtp(E){const I=this.extract(E,this.consumeTill,c);this.consumeAttributeSpace(E);const b=this.extract(E,this.consumeTill),F={};b.split(";").forEach(Wt=>{let[ye,mn]=Wt.split("=");ye=ni(ye).call(ye);const jn=typeof mn=="string"?ni(mn).call(mn):null;typeof ye=="string"&&ye.length>0&&(F[ye]=jn)});const ct=this.attributes.payloads.find(Wt=>Wt.payloadType===parseInt(I,10));ct?ct.fmtp={parameters:F}:this.attributes.payloads.push({payloadType:parseInt(I,10),rtcpFeedbacks:[],fmtp:{parameters:F}})}parseFmtParameters(E){const I={},b=this.extract(E,this.consumeTill,"=");E._cur++;const F=this.extract(E,this.consumeTill,";");for(I[b]=F;E.attValue[E._cur]===";";){const ct=this.extract(E,this.consumeTill,"=");E._cur++;const Wt=this.extract(E,this.consumeTill,";");I[ct]=Wt}return I}parseRtcpFb(E){let I="";I=this.peekChar(E)==="*"?this.extract(E,this.consume,"*"):this.extract(E,this.consumeTill,c),this.consumeAttributeSpace(E);const b=this.extract(E,this.consumeTill,c);let F;if(b==="trr-int")F={type:b,interval:this.extract(E,this.consumeTill)};else{const ct={type:b};this.peekChar(E)===c&&(this.consumeAttributeSpace(E),ct.parameter=this.extract(E,this.consumeToken),this.peekChar(E)===c&&(ct.additional=this.extract(E,this.consumeTill))),F=ct}if(I==="*")this.attributes.rtcpFeedbackWildcards.push(F);else{const ct=this.attributes.payloads.find(Wt=>Wt.payloadType===parseInt(I,10));ct?ct.rtcpFeedbacks.push(F):this.attributes.payloads.push({payloadType:parseInt(I,10),rtcpFeedbacks:[F]})}}parseRTCPMux(){if(this.attributes.rtcpMux)throw new Error("must be single line of rtcp-mux");this.attributes.rtcpMux=!0}parseRTCPMuxOnly(){if(this.attributes.rtcpMuxOnly)throw new Error("must be single line of rtcp-only");this.attributes.rtcpMuxOnly=!0}parseRTCPRsize(){if(this.attributes.rtcpRsize)throw new Error("must be single line of rtcp-rsize");this.attributes.rtcpRsize=!0}parseRTCP(E){if(this.attributes.rtcp)throw new Error("must be single line of rtcp");const I={port:this.extract(E,this.consumePort)};this.peekChar(E)===c&&(this.consumeAttributeSpace(E),I.netType=this.extractOneOrMore(E,p),this.consumeAttributeSpace(E),I.addressType=this.extractOneOrMore(E,p),this.consumeAttributeSpace(E),I.address=this.extract(E,this.consumeAddress)),this.attributes.rtcp=I}parseMsid(E){const I={id:this.extractOneOrMore(E,p,[1,64])};this.peekChar(E)===c&&(this.consumeAttributeSpace(E),I.appdata=this.extractOneOrMore(E,p,[1,64])),this.attributes.msids.push(I)}parseImageAttr(E){this.attributes.imageattr.push(E.attValue)}parseRid(E){const I=this.extractOneOrMore(E,F=>m(F)||l(F)||F==="_"||F==="-");this.consumeAttributeSpace(E);const b={id:I,direction:this.extract(E,this.consumeToken),params:[]};if(this.peekChar(E)===c){if(this.consumeAttributeSpace(E),this.peek(E,"pt=")){this.extract(E,this.consume,"pt=");const F=[];for(;;){const ct=this.extract(E,this.consumeToken);F.push(ct);try{this.extract(E,this.consume,",")}catch(Wt){break}}b.payloads=F,this.peekChar(E)===c&&this.extract(E,this.consume,c)}for(;;){const F=this.extract(E,this.consumeToken);switch(F){case"depend":{const ct={type:F,rids:this.extract(E,this.consume,"=").split(",")};b.params.push(ct);break}default:{const ct={type:F};this.peekChar(E)==="="&&(this.extract(E,this.consume,"="),ct.val=this.extract(E,this.consumeTill,";")),b.params.push(ct)}}try{this.extract(E,this.consume,";")}catch(ct){break}}}this.attributes.rids.push(b)}parseSimulcast(E){if(this.attributes.simulcast)throw new Error("must be single line of simulcast");this.attributes.simulcast=E.attValue,this.extract(E,this.consumeTill)}parseSctpPort(E){this.attributes.sctpPort=this.extractOneOrMore(E,l,[1,5])}parseMaxMessageSize(E){this.attributes.maxMessageSize=this.extractOneOrMore(E,l,[1,void 0])}digest(){return this.digested=!0,this.attributes}parseMid(E){this.attributes.mid=this.extract(E,this.consumeToken)}parseSSRCGroup(E){const I=this.extract(E,this.consumeToken),b=[];for(;;)try{this.consumeAttributeSpace(E);const F=this.extract(E,this.consumeInteger);b.push(parseInt(F,10))}catch(F){break}this.attributes.ssrcGroups.push({semantic:I,ssrcIds:b})}}function rt(x,E,I){return E in x?Object.defineProperty(x,E,{value:I,enumerable:!0,configurable:!0,writable:!0}):x[E]=I,x}class Kt{constructor(){rt(this,"eol",a)}print(E,I){let b="";return I&&(this.eol=I),b+=this.printVersion(E.version),b+=this.printOrigin(E.origin),b+=this.printSessionName(E.sessionName),b+=this.printInformation(E.information),b+=this.printUri(E.uri),b+=this.printEmail(E.emails),b+=this.printPhone(E.phones),b+=this.printConnection(E.connection),b+=this.printBandwidth(E.bandwidths),b+=this.printTimeFields(E.timeFields),b+=this.printKey(E.key),b+=this.printSessionAttributes(E.attributes),b+=this.printMediaDescription(E.mediaDescriptions),b}printVersion(E){return"v=".concat(E).concat(this.eol)}printOrigin(E){return"o=".concat(E.username," ").concat(E.sessId," ").concat(E.sessVersion," ").concat(E.nettype," ").concat(E.addrtype," ").concat(E.unicastAddress).concat(this.eol)}printSessionName(E){return E?"s=".concat(E).concat(this.eol):""}printInformation(E){return E?"i=".concat(E).concat(this.eol):""}printUri(E){return E?"u=".concat(E).concat(this.eol):""}printEmail(E){let I="";for(const b of E)I+="e=".concat(b).concat(this.eol);return I}printPhone(E){let I="";for(const b of E)I+="e=".concat(b).concat(this.eol);return I}printConnection(E){return E?"c=".concat(E.nettype," ").concat(E.addrtype," ").concat(E.address).concat(this.eol):""}printBandwidth(E){let I="";for(const b of E)I+="b=".concat(b.bwtype,":").concat(b.bandwidth).concat(this.eol);return I}printTimeFields(E){let I="";for(const b of E){I+="t=".concat(b.time.startTime," ").concat(b.time.startTime).concat(this.eol);for(const F of b.repeats)I+="r=".concat(F.repeatInterval," ").concat(F.typedTimes.join(" ")).concat(this.eol);b.zoneAdjustments&&(I+="z=",I+="z=".concat(b.zoneAdjustments.map(F=>"".concat(F.time," ").concat(F.back?"-":""," ").concat(F.typedTime)).join(" ")).concat(this.eol),I+=this.eol)}return I}printKey(E){return E?"k=".concat(E).concat(this.eol):""}printAttributes(E){let I="";for(const b of E)I+="a=".concat(b.attField).concat(b.attValue?":".concat(b.attValue):"").concat(this.eol);return I}printMediaDescription(E){let I="";for(const b of E)I+=this.printMedia(b.media),I+=this.printInformation(b.information),I+=this.printConnections(b.connections),I+=this.printBandwidth(b.bandwidths),I+=this.printKey(b.key),I+=this.printMediaAttributes(b);return I}printConnections(E){let I="";for(const b of E)I+=this.printConnection(b);return I}printMedia(E){return"m=".concat(E.mediaType," ").concat(E.port," ").concat(E.protos.join("/")," ").concat(E.fmts.join(" ")).concat(this.eol)}printSessionAttributes(E){return new Ii(this.eol).print(E)}printMediaAttributes(E){return new U(this.eol).print(E)}}class Ft{constructor(E){rt(this,"eol",void 0),this.eol=E}printIceUfrag(E){return E===void 0?"":"a=ice-ufrag:".concat(E).concat(this.eol)}printIcePwd(E){return E===void 0?"":"a=ice-pwd:".concat(E).concat(this.eol)}printIceOptions(E){return E===void 0?"":"a=ice-options:".concat(E.join(c)).concat(this.eol)}printFingerprints(E){return E.length>0?E.map(I=>"a=fingerprint:".concat(I.hashFunction).concat(c).concat(I.fingerprint)).join(this.eol)+this.eol:""}printExtmap(E){return E.map(I=>"a=extmap:".concat(I.entry).concat(I.direction?"/".concat(I.direction):"").concat(c).concat(I.extensionName).concat(I.extensionAttributes?"".concat(c).concat(I.extensionAttributes):"").concat(this.eol)).join("")}printSetup(E){return E===void 0?"":"a=setup:".concat(E).concat(this.eol)}printUnrecognized(E){return E.map(I=>"a=".concat(I.attField).concat(I.attValue?":".concat(I.attValue):"").concat(this.eol)).join("")}}class Ii extends Ft{print(E){let I="";return I+=this.printGroups(E.groups),I+=this.printMsidSemantic(E.msidSemantic),I+=this.printIceLite(E.iceLite),I+=this.printIceUfrag(E.iceUfrag),I+=this.printIcePwd(E.icePwd),I+=this.printIceOptions(E.iceOptions),I+=this.printFingerprints(E.fingerprints),I+=this.printSetup(E.setup),I+=this.printTlsId(E.tlsId),I+=this.printIdentity(E.identities),I+=this.printExtmap(E.extmaps),I+=this.printUnrecognized(E.unrecognized),I}printGroups(E){let I="";return E.length>0&&(I+=E.map(b=>"a=group:".concat(b.semantic).concat(b.identificationTag.map(F=>"".concat(c).concat(F)).join("")).concat(this.eol)).join("")),I}printIceLite(E){return E===void 0?"":"a=ice-lite"+this.eol}printTlsId(E){return E?"a=tls-id:".concat(E).concat(this.eol):""}printIdentity(E){return E.length===0?"":E.map(I=>"a=identity:".concat(I.assertionValue).concat(I.extensions.map(b=>"".concat(c).concat(b.name).concat(b.value?"=".concat(b.value):"")))).join(this.eol)+this.eol}printMsidSemantic(E){if(!E)return"";let I="a=msid-semantic:".concat(E.semantic);return E.applyForAll?I+="".concat(c,"*"):E.identifierList.length>0&&(I+=E.identifierList.map(b=>"".concat(c).concat(b))),I+this.eol}}class U extends Ft{print(E){const I=E.attributes;let b="";return b+=this.printRTCP(I.rtcp),b+=this.printIceUfrag(I.iceUfrag),b+=this.printIcePwd(I.icePwd),b+=this.printIceOptions(I.iceOptions),b+=this.printCandidates(I.candidates),b+=this.printRemoteCandidatesList(I.remoteCandidatesList),b+=this.printEndOfCandidates(I.endOfCandidates),b+=this.printFingerprints(I.fingerprints),b+=this.printSetup(I.setup),b+=this.printMid(I.mid),b+=this.printExtmap(I.extmaps),b+=this.printRTPRelated(I),b+=this.printPtime(I.ptime),b+=this.printMaxPtime(I.maxPtime),b+=this.printDirection(I.direction),b+=this.printSSRCGroups(I.ssrcGroups),b+=this.printSSRC(I.ssrcs),b+=this.printRTCPMux(I.rtcpMux),b+=this.printRTCPMuxOnly(I.rtcpMuxOnly),b+=this.printRTCPRsize(I.rtcpRsize),b+=this.printMSId(I.msids),b+=this.printImageattr(I.imageattr),b+=this.printRid(I.rids),b+=this.printSimulcast(I.simulcast),b+=this.printSCTPPort(I.sctpPort),b+=this.printMaxMessageSize(I.maxMessageSize),b+=this.printUnrecognized(I.unrecognized),b}printCandidates(E){return E.map(I=>"a=candidate:".concat(I.foundation).concat(c).concat(I.componentId).concat(c).concat(I.transport).concat(c).concat(I.priority).concat(c).concat(I.connectionAddress).concat(c).concat(I.port).concat(c,"typ").concat(c).concat(I.type).concat(I.relAddr?"".concat(c,"raddr").concat(c).concat(I.relAddr):"").concat(I.relPort?"".concat(c,"rport").concat(c).concat(I.relPort):"").concat(Object.keys(I.extension).map(b=>"".concat(c).concat(b).concat(c).concat(I.extension[b])).join("")).concat(this.eol)).join("")}printRemoteCandidatesList(E){return E.map(I=>"a=remote-candidates:".concat(I.join(c)).concat(this.eol)).join("")}printEndOfCandidates(E){return E===void 0?"":"a=end-of-candidates"+this.eol}printRTPRelated(E){if(!E.payloads)return"";const I=E.payloads;let b="";b+=E.rtcpFeedbackWildcards.map(F=>this.printRTCPFeedback("*",F)).join("");for(const F of I)b+=this.printRtpMap(F.payloadType,F.rtpMap),b+=this.printFmtp(F.payloadType,F.fmtp),b+=F.rtcpFeedbacks.map(ct=>this.printRTCPFeedback(F.payloadType,ct)).join("");return b}printFmtp(E,I){if(!I)return"";const b=Object.keys(I.parameters);return b.length===1&&I.parameters[b[0]]===null?"a=fmtp:".concat(E).concat(c).concat(b[0]).concat(this.eol):"a=fmtp:".concat(E).concat(c).concat(Object.keys(I.parameters).map(F=>"".concat(F,"=").concat(I.parameters[F])).join(";")).concat(this.eol)}printRtpMap(E,I){return I?"a=rtpmap:".concat(E).concat(c).concat(I.encodingName,"/").concat(I.clockRate).concat(I.encodingParameters?"/".concat(I.encodingParameters):"").concat(this.eol):""}printRTCPFeedback(E,I){let b="a=rtcp-fb:".concat(E).concat(c),F=I;return F.type==="trr-int"?b+="ttr-int".concat(c).concat(F.interval):(b+="".concat(F.type),F.parameter&&(b+="".concat(c).concat(F.parameter),F.additional&&(b+="".concat(c).concat(F.additional)))),b+this.eol}printPtime(E){return E===void 0?"":"a=ptime:".concat(E).concat(this.eol)}printMaxPtime(E){return E===void 0?"":"a=maxptime:".concat(E).concat(this.eol)}printDirection(E){return E===void 0?"":"a=".concat(E).concat(this.eol)}printSSRC(E){return E.map(I=>Object.keys(I.attributes).map(b=>"a=ssrc:".concat(I.ssrcId.toString(10)).concat(c).concat(b).concat(I.attributes[b]?":".concat(I.attributes[b]):"").concat(this.eol)).join("")).join("")}printRTCPMux(E){return E===void 0?"":"a=rtcp-mux".concat(this.eol)}printRTCPMuxOnly(E){return E===void 0?"":"a=rtcp-mux-only".concat(this.eol)}printRTCPRsize(E){return E===void 0?"":"a=rtcp-rsize".concat(this.eol)}printRTCP(E){if(E===void 0)return"";let I="a=rtcp:".concat(E.port);return E.netType&&(I+="".concat(c).concat(E.netType)),E.addressType&&(I+="".concat(c).concat(E.addressType)),E.address&&(I+="".concat(c).concat(E.address)),I+this.eol}printMSId(E){return E.map(I=>"a=msid:".concat(I.id).concat(I.appdata?"".concat(c).concat(I.appdata):"").concat(this.eol)).join("")}printImageattr(E){return E.map(I=>"a=imageattr:".concat(I).concat(this.eol)).join("")}printRid(E){return E.map(I=>{let b="a=rid:".concat(I.id).concat(c).concat(I.direction);return I.payloads&&(b+="".concat(c,"pt=").concat(I.payloads.join(","))),I.params.length>0&&(b+="".concat(c).concat(I.params.map(F=>F.type==="depend"?"depend=".concat(F.rids.join(",")):"".concat(F.type,"=").concat(F.val)).join(";"))),b+this.eol}).join("")}printSimulcast(E){return E===void 0?"":"a=simulcast:".concat(E).concat(this.eol)}printSCTPPort(E){return E===void 0?"":"a=sctp-port:".concat(E).concat(this.eol)}printMaxMessageSize(E){return E===void 0?"":"a=max-message-size:".concat(E).concat(this.eol)}printMid(E){return E===void 0?"":"a=mid:".concat(E).concat(this.eol)}printSSRCGroups(E){return E.map(I=>"a=ssrc-group:".concat(I.semantic).concat(I.ssrcIds.map(b=>"".concat(c).concat(b.toString(10))).join("")).concat(this.eol)).join("")}}function B(x){return new j().parse(x)}function X(x,E){return new Kt().print(x,E)}}},e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={exports:{}};return t[n](r,r.exports,i),r.exports}return i.d=(n,r)=>{for(var o in r)i.o(r,o)&&!i.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:r[o]})},i.o=(n,r)=>Object.prototype.hasOwnProperty.call(n,r),i.r=n=>{typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},i(8)})();function Ni(t){return LI.parse(t)}function mo(t,e){return LI.print(t,e)}var qG=Sn("Array","keys"),zG=no,XG=ti,JG=$e,QG=qG,QE=Array.prototype,ZG={DOMTokenList:!0,NodeList:!0},$G=function(t){var e=t.keys;return t===QE||JG(QE,t)&&e===QE.keys||XG(ZG,zG(t))?QG:e},Ji=Pt($G);function se(t,e,i){return(e=function(n){var r=function(o,s){if(typeof o!="object"||!o)return o;var a=o[Symbol.toPrimitive];if(a!==void 0){var c=a.call(o,"string");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(o)}(n);return typeof r=="symbol"?r:r+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function kI(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function ut(t){for(var e=1;ethis.currentUploadLogID&&(this.currentUploadLogID=e[e.length-1],this.emit("REPORT_LOG_UPLOAD",t))}};class t3{constructor(e){se(this,"logger",void 0),se(this,"prefixLists",[]),this.logger=e}debug(){for(var e=arguments.length,i=new Array(e),n=0;n{for(const e in ln)if(Object.prototype.hasOwnProperty.call(ln,e)&&ln[e]===t)return e;return"DEFAULT"},_=new class{constructor(){se(this,"proxyServerURL",void 0),se(this,"logLevel",ln.DEBUG),se(this,"uploadState","collecting"),se(this,"uploadLogWaitingList",[]),se(this,"uploadLogUploadingList",[]),se(this,"uploadErrorCount",0),se(this,"currentLogID",0),se(this,"url",void 0),se(this,"extLog",(t,e)=>{this.appendLogToWaitingList(t,...e)})}debug(){for(var t=arguments.length,e=new Array(t),i=0;i{this.log(...e)},Date.now()-mu);const n=Math.max(0,Math.min(4,e[0]));if(e[0]=ZE()+" Agora-SDK [".concat(Mc(n),"]:"),this.appendLogToWaitingList(n,...e),n{this.uploadLog(...e)},Date.now()-mu);const n=Math.max(0,Math.min(4,e[0]));e[0]=ZE()+" Agora-SDK [".concat(Mc(n),"]:"),this.appendLogToWaitingList(n,...e)}appendLogToWaitingList(t){if(!y("UPLOAD_LOG"))return;for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n{typeof o=="object"&&(o=JSON.stringify(o)),r+="".concat(o," ")}),this.uploadLogWaitingList.push({payload_str:r,log_level:t,log_item_id:this.currentLogID++}),this.uploadState==="uploading"&&this.uploadLogUploadingList.length===0&&this.uploadLogInterval()}startUpload(){this.uploadState="uploading",this.uploadLogUploadingList.length===0&&this.uploadLogInterval()}uploadLogs(){return C(this,null,function*(){const t=this.uploadLogUploadingList,e={sdk_version:dn,process_id:y("PROCESS_ID"),payload:JSON.stringify(t)};return Jn(()=>C(this,null,function*(){const i=yield Ti.post(this.url||(this.proxyServerURL?"https://".concat(this.proxyServerURL,"/ls/?h=").concat(y("LOG_UPLOAD_SERVER"),"&p=443&d=upload/v1"):"https://".concat(y("LOG_UPLOAD_SERVER"),"/upload/v1")),e,{responseType:"text"});if(i.data!=="OK"){const n=new Error("unexpected upload log response");throw n.response=i,n}}),()=>(this.uploadLogUploadingList=[],!1),i=>{const n={status:-1,message:i.message,errorRange:t.map(r=>r.log_item_id)};return i.response?(n.status=i.response.status,n.data=i.response.data,n.headers=i.response.headers):i.request&&(n.status=i.request.status),MI.reportLogUploadError(n),!0},{timeout:y("UPLOAD_LOG_REQUEST_RETRY_INTERVAL"),maxRetryTimeout:y("UPLOAD_LOG_REQUEST_MAX_RETRY_INTERVAL")})})}uploadLogInterval(){this.uploadLogUploadingList.length===0&&this.uploadLogWaitingList.length===0||(this.uploadLogUploadingList.length===0&&(this.uploadLogUploadingList=this.uploadLogWaitingList.splice(0,y("UPLOAD_LOG_LENGTH_EACH_TIME"))),this.uploadLogs().then(()=>{this.uploadErrorCount=0,this.uploadLogWaitingList.length>0&&window.setTimeout(()=>this.uploadLogInterval(),y("UPLOAD_LOG_INTERVAL"))}).catch(t=>{this.uploadErrorCount+=1,this.uploadErrorCount<2?window.setTimeout(()=>this.uploadLogInterval(),y("UPLOAD_LOG_TWICE_RETRY_INTERVAL_V1")):window.setTimeout(()=>this.uploadLogInterval(),y("UPLOAD_LOG_RETRY_INTERVAL_V1"))}))}};var xI;function e3(t){return Me(t.reportId,"params.reportId",0,100,!1),Me(t.category,"params.category",0,100,!1),Me(t.event,"params.event",0,100,!1),Me(t.label,"params.label",0,100,!1),xt(t.value,"params.value",Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER,!1),!0}(xI={}).FREE="free",xI.UPLOADING="uploading",function(t){t[t.MISC=0]="MISC",t[t.INTERNAL_EVENT=1]="INTERNAL_EVENT",t[t.PUBLIC_EVENT=2]="PUBLIC_EVENT",t[t.WEB_EVENT=3]="WEB_EVENT",t[t.INTERNAL_API=4]="INTERNAL_API",t[t.WEB_API=5]="WEB_API",t[t.PUBLIC_API=6]="PUBLIC_API"}({});const i3={sid:"",lts:0,success:null,cname:null,uid:null,peer:null,cid:null,elapse:null,extend:null,vid:0};let Oe=function(t){return t.PUBLISH="publish",t.SUBSCRIBE="subscribe",t.WS_COMPRESSOR_INIT="ws_compressor_init",t.SESSION_INIT="session_init",t.JOIN_CHOOSE_SERVER="join_choose_server",t.REQ_USER_ACCOUNT="req_user_account",t.JOIN_GATEWAY="join_gateway",t.REJOIN_GATEWAY="rejoin_gateway",t.STREAM_SWITCH="stream_switch",t.REQUEST_PROXY_WORKER_MANAGER="request_proxy_worker_manager",t.REQUEST_PROXY_APPCENTER="request_proxy_appcenter",t.FIRST_VIDEO_RECEIVED="first_video_received",t.FIRST_AUDIO_RECEIVED="first_audio_received",t.FIRST_VIDEO_DECODE="first_video_decode",t.FIRST_AUDIO_DECODE="first_audio_decode",t.ON_ADD_AUDIO_STREAM="on_add_audio_stream",t.ON_ADD_VIDEO_STREAM="on_add_video_stream",t.ON_UPDATE_STREAM="on_update_stream",t.ON_REMOVE_STREAM="on_remove_stream",t.USER_ANALYTICS="req_user_analytics",t.PC_STATS="pc_stats",t.UPDATE_REMOTE_RTPCAPABILITIES="update_remote_rtpCapabilities",t.AB_TEST="ab_test",t}({}),Jt=function(t){return t.SESSION="io.agora.pb.Wrtc.Session",t.JOIN_CHOOSE_SERVER="io.agora.pb.Wrtc.JoinChooseServer",t.REQ_USER_ACCOUNT="io.agora.pb.Wrtc.ReqUserAccount",t.JOIN_GATEWAY="io.agora.pb.Wrtc.JoinGateway",t.RE_JOIN_GATEWAY="io.agora.pb.Wrtc.ReJoinGateway",t.PUBLISH="io.agora.pb.Wrtc.Publish",t.SUBSCRIBE="io.agora.pb.Wrtc.Subscribe",t.WS_COMPRESSOR_INIT="io.agora.pb.Wrtc.WsCompressorInit",t.STREAM_SWITCH="io.agora.pb.Wrtc.StreamSwitch",t.AUDIO_SENDING_STOPPED="io.agora.pb.Wrtc.AudioSendingStopped",t.VIDEO_SENDING_STOPPED="io.agora.pb.Wrtc.VideoSendingStopped",t.REQUEST_PROXY_APPCENTER="io.agora.pb.Wrtc.RequestProxyAppCenter",t.REQUEST_PROXY_WORKER_MANAGER="io.agora.pb.Wrtc.RequestProxyWorkerManager",t.API_INVOKE="io.agora.pb.Wrtc.ApiInvoke",t.FIRST_VIDEO_RECEIVED="io.agora.pb.Wrtc.FirstVideoReceived",t.FIRST_AUDIO_RECEIVED="io.agora.pb.Wrtc.FirstAudioReceived",t.FIRST_VIDEO_DECODE="io.agora.pb.Wrtc.FirstVideoDecode",t.FIRST_AUDIO_DECODE="io.agora.pb.Wrtc.FirstAudioDecode",t.ON_ADD_AUDIO_STREAM="io.agora.pb.Wrtc.OnAddAudioStream",t.ON_ADD_VIDEO_STREAM="io.agora.pb.Wrtc.OnAddVideoStream",t.ON_UPDATE_STREAM="io.agora.pb.Wrtc.OnUpdateStream",t.ON_REMOVE_STREAM="io.agora.pb.Wrtc.OnRemoveStream",t.JOIN_CHANNEL_TIMEOUT="io.agora.pb.Wrtc.JoinChannelTimeout",t.PEER_PUBLISH_STATUS="io.agora.pb.Wrtc.PeerPublishStatus",t.WORKER_EVENT="io.agora.pb.Wrtc.WorkerEvent",t.AP_WORKER_EVENT="io.agora.pb.Wrtc.APWorkerEvent",t.JOIN_WEB_PROXY_AP="io.agora.pb.Wrtc.JoinWebProxyAP",t.WEBSOCKET_QUIT="io.agora.pb.Wrtc.WebSocketQuit",t.USER_ANALYTICS="io.agora.pb.Wrtc.UserAnalytics",t.AUTOPLAY_FAILED="io.agora.pb.Wrtc.AutoplayFailed",t.PC_STATS="io.agora.pb.Wrtc.PCStats",t.UPDATE_REMOTE_RTPCAPABILITIES="io.agora.pb.Wrtc.UpdateRemoteRTPCapabilities",t.AB_TEST="io.agora.pb.Wrtc.ABTest",t}({});(function(t){t[t.WORKER_EVENT=156]="WORKER_EVENT",t[t.AP_WORKER_EVENT=160]="AP_WORKER_EVENT"})({});let n3=function(t){return t[t.SESSION=26]="SESSION",t[t.JOIN_CHOOSE_SERVER=27]="JOIN_CHOOSE_SERVER",t[t.REQ_USER_ACCOUNT=196]="REQ_USER_ACCOUNT",t[t.JOIN_GATEWAY=28]="JOIN_GATEWAY",t[t.PUBLISH=30]="PUBLISH",t[t.SUBSCRIBE=29]="SUBSCRIBE",t[t.WS_COMPRESSOR_INIT=9430]="WS_COMPRESSOR_INIT",t[t.STREAM_SWITCH=32]="STREAM_SWITCH",t[t.AUDIO_SENDING_STOPPED=33]="AUDIO_SENDING_STOPPED",t[t.VIDEO_SENDING_STOPPED=34]="VIDEO_SENDING_STOPPED",t[t.REQUEST_PROXY_APPCENTER=35]="REQUEST_PROXY_APPCENTER",t[t.REQUEST_PROXY_WORKER_MANAGER=36]="REQUEST_PROXY_WORKER_MANAGER",t[t.API_INVOKE=41]="API_INVOKE",t[t.FIRST_VIDEO_RECEIVED=348]="FIRST_VIDEO_RECEIVED",t[t.FIRST_AUDIO_RECEIVED=349]="FIRST_AUDIO_RECEIVED",t[t.FIRST_VIDEO_DECODE=350]="FIRST_VIDEO_DECODE",t[t.FIRST_AUDIO_DECODE=351]="FIRST_AUDIO_DECODE",t[t.ON_ADD_AUDIO_STREAM=352]="ON_ADD_AUDIO_STREAM",t[t.ON_ADD_VIDEO_STREAM=353]="ON_ADD_VIDEO_STREAM",t[t.ON_UPDATE_STREAM=356]="ON_UPDATE_STREAM",t[t.ON_REMOVE_STREAM=355]="ON_REMOVE_STREAM",t[t.JOIN_CHANNEL_TIMEOUT=407]="JOIN_CHANNEL_TIMEOUT",t[t.PEER_PUBLISH_STATUS=408]="PEER_PUBLISH_STATUS",t[t.WORKER_EVENT=156]="WORKER_EVENT",t[t.AP_WORKER_EVENT=160]="AP_WORKER_EVENT",t[t.JOIN_WEB_PROXY_AP=700]="JOIN_WEB_PROXY_AP",t[t.WEBSOCKET_QUIT=671]="WEBSOCKET_QUIT",t[t.USER_ANALYTICS=1e4]="USER_ANALYTICS",t[t.AUTOPLAY_FAILED=9178]="AUTOPLAY_FAILED",t}({});function it(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return function(e,i,n){const r=n.value;if(typeof r=="function"){const o=t.className||e.__className__||(e.constructor.name==="AgoraRTCClient"?"Client":e.constructor.name);n.value=function(){for(var s,a=arguments.length,c=new Array(a),d=0;d(u.onSuccess(t.reportResult&&p),p)).catch(p=>{throw u.onError(p),p}):(u.onSuccess(t.reportResult&&h),h)}catch(h){throw u.onError(h),h}}}return n}}const Z=new class{constructor(){se(this,"baseInfoMap",new Map),se(this,"proxyServer",void 0),se(this,"eventUploadTimer",void 0),se(this,"setSessionIdTimer",void 0),se(this,"url",void 0),se(this,"sids",new Set),se(this,"backupUrl",void 0),se(this,"_appId",void 0),se(this,"_aid",0),se(this,"keyEventUploadPendingItems",[]),se(this,"normalEventUploadPendingItems",[]),se(this,"apiInvokeUploadPendingItems",[]),se(this,"apiInvokeCount",0),se(this,"apiInvokeLoggedCount",0),se(this,"ltsList",[]),se(this,"lastSendNormalEventTime",Date.now()),se(this,"customReportCounterTimer",void 0),se(this,"customReportCount",0),se(this,"extApiInvoke",t=>C(this,null,function*(){for(const e of t){const i=ut(ut({},e),{},{sid:null,invokeId:++this.apiInvokeCount,tag:oe.TRACER});this.sendApiInvoke(i)}})),this.eventUploadTimer=window.setInterval(this.doSend.bind(this),y("EVENT_REPORT_SEND_INTERVAL")),this.setSessionIdTimer=window.setInterval(this.appendSessionId.bind(this),y("EVENT_REPORT_SEND_INTERVAL"))}getBaseInfoBySessionId(t){return this.baseInfoMap.get(t)}setAppId(t){this._appId=t,this._aid=parseInt(t.replace(/[a-fA-F0-9]{8}/g,e=>{let[i,n]=e;return i+n}),16)||0}reportApiInvoke(t,e,i){e.timeout=e.timeout||6e4,e.reportResult=e.reportResult===void 0||e.reportResult;const n=Date.now();this.apiInvokeCount+=1;const r=this.apiInvokeCount,o=!!y("SHOW_REPORT_INVOKER_LOG"),s=!!y("SHOW_REPORT_USER_INVOKER_LOG"),a=o||s&&e.id;a&&(this.apiInvokeLoggedCount+=1);const c=this.apiInvokeLoggedCount;function d(p,g){if(a){let m="[apiInvoke-".concat(c,"]");if(e.id&&(m+="[".concat(e.id,"]")),e.name&&(m+="[".concat(e.name,"]"),e.name===_e.JOIN))return _.info("".concat(m," ").concat(p));_.info("".concat(m," ").concat(p),p==="start"?e.options:g||"")}}const l=()=>({tag:e.tag,invokeId:r,sid:t,name:e.name,apiInvokeTime:n,options:e.options,states:e.states||null});d("start");let u=!1;Ue(e.timeout).then(()=>{u||(this.sendApiInvoke(ut(ut({},l()),{},{error:v.API_INVOKE_TIMEOUT,success:!1})),d("timeout"))});const h=new k(v.UNEXPECTED_ERROR,"".concat(e.name,": this api invoke is end"));return{onSuccess:p=>{const g=()=>{if(u)throw h;return u=!0,this.sendApiInvoke(ut(ut({},l()),{},{success:!0},e.reportResult&&{result:p})),d("onSuccess"),p};return i?mI(g,e.name+"Success",i,()=>u=!0):g()},onError:p=>{const g=()=>{if(u)throw p;u=!0,this.sendApiInvoke(ut(ut({},l()),{},{success:!1,error:p})),d("onFailure",p.toString())};return i?mI(g,e.name+"Error",i,()=>u=!0):g()}}}sessionInit(t,e){if(this.baseInfoMap.has(t))return;const i=Date.now(),n=this.createBaseInfo(t,i);n.cname=e.cname;const r=Object.assign({},{willUploadConsoleLog:y("UPLOAD_LOG"),maxTouchPoints:navigator.maxTouchPoints,areaVersion:qE?"global":"oversea",areas:y("AREAS")&&y("AREAS").join(",")},e.extend),{stringUid:o,channelProfile:s,channelMode:a,isABTestSuccess:c,lsid:d,clientRole:l}=e,u=Date.now(),h=ut(ut({},n),{},{eventType:Oe.SESSION_INIT,appid:e.appid,browser:navigator.userAgent,buildFormat:e.buildFormat,build:XE,lts:u,elapse:u-i,extend:JSON.stringify(r),mode:e.mode,process:y("PROCESS_ID"),appType:y("APP_TYPE"),success:!0,version:dn,stringUid:o,channelProfile:s,channelMode:a,isABTestSuccess:c,lsid:d,clientType:G(p=window.navigator.userAgent).call(p,"AgoraWebView")?42:20,clientRole:l,serviceId:y("PROCESS_ID"),extensionID:y("PLUGIN_INFO").join(",")||""});var p;this.send({type:Jt.SESSION,data:h},!0)}joinChooseServer(t,e){const i=this.baseInfoMap.get(t);if(!i)return;const n=i.info,r=Date.now(),o=ut(ut({},n),{},{role:e.role,eventType:Oe.JOIN_CHOOSE_SERVER,lts:r,eventElapse:e.elapse||r-e.lts,chooseServerAddr:e.csAddr,errorCode:e.ec,elapse:r-i.startTime,success:e.succ,chooseServerAddrList:JSON.stringify(e.serverList),uid:e.uid?parseInt(e.uid):null,cid:e.cid?parseInt(e.cid):null,chooseServerIp:e.csIp||"",opid:e.opid,unilbsServerIds:e.unilbsServerIds,extend:e.extend||void 0,isHttp3:e.isHttp3,corssRegionTagReq:e.corssRegionTagReq||void 0,corssRegionTagRes:e.corssRegionTagRes||void 0});this.send({type:Jt.JOIN_CHOOSE_SERVER,data:o},!0)}reqUserAccount(t,e){const i=this.baseInfoMap.get(t);if(!i)return;const n=i.info,r=Date.now(),o=ut(ut({},n),{},{eventType:Oe.REQ_USER_ACCOUNT,lts:r,success:e.success,serverAddress:e.serverAddr,stringUid:e.stringUid,uid:e.uid,errorCode:e.errorCode,elapse:e.elapse||r-i.startTime,eventElapse:r-e.lts,extend:JSON.stringify(e.extend)});this.send({type:Jt.REQ_USER_ACCOUNT,data:o},!0)}joinGateway(t,e){const i=this.baseInfoMap.get(t);if(!i)return;const n=i.info;e.vid&&(n.vid=e.vid),n.uid=e.uid,n.cid=e.cid;const r=Date.now(),{firstSuccess:o,addr:s,isProxy:a}=e,c=r-i.startTime,d=ut(ut({},n),{},{eventType:Oe.JOIN_GATEWAY,lts:r,gatewayAddr:e.addr,success:e.succ,errorCode:e.ec,errorMsg:e.errorMsg||"",elapse:c,eventElapse:r-e.lts,firstSuccess:o,signalChannel:e.signalChannel,preload:e.preload?1:0,installId:YE(),isABTestSuccess:e.isABTestSuccess?1:0}),l=d.success?1:0;if(e.succ&&(i.lastJoinSuccessTime=r),o)this.send({type:Jt.JOIN_GATEWAY,data:d},!0);else{let u;if(s)if(a){const p=s.match(/h=(\d{1,3}-){3}\d{1,3}/g),g=s.match(/p=[0-9]{1,6}/g);u={isSuccess:l,gatewayIp:p&&p.length?p[0].split("=")[1].replace(/-/g,"."):"",port:g&&g.length?g[0].split("=")[1]:"",isProxy:a?1:0}}else{const p=s.match(/wss:\/\/(\d{1,3}-){3}\d{1,3}/g),g=s.match(/(:|p=)[0-9]{1,6}/g);u={isSuccess:l,gatewayIp:p&&p.length?p[0].split("//")[1].replace(/-/g,"."):"",port:g&&g.length?g[0].split(/:|p=/g)[1]:"",isProxy:a?1:0}}else u={isSuccess:l,gatewayIp:"",port:"",isProxy:a?1:0};delete d.success,delete d.eventType,delete d.firstSuccess,d.vid=Number(d.vid);const h=Object.assign({},d,u,{eventType:Oe.REJOIN_GATEWAY});this.send({type:Jt.RE_JOIN_GATEWAY,data:h},!0)}}joinChannelTimeout(t,e){const i=this.baseInfoMap.get(t);if(!i)return;const n=Date.now(),r=ut(ut({},i.info),{},{lts:n,timeout:e,elapse:n-i.startTime});this.send({type:Jt.JOIN_CHANNEL_TIMEOUT,data:r},!0)}publish(t,e){const i=this.baseInfoMap.get(t);if(!i)return;const n=i.info,r=Date.now(),o=ut(ut({},n),{},{eventType:Oe.PUBLISH,lts:r,eventElapse:e.eventElapse,elapse:r-i.startTime,success:e.succ,errorCode:e.ec,videoName:e.videoName,audioName:e.audioName,screenName:e.screenName,screenshare:e.screenshare,audio:e.audio,video:e.video,p2pid:e.p2pid,publishRequestid:e.publishRequestid});this.send({type:Jt.PUBLISH,data:o},!0)}subscribe(t,e,i){const n=this.baseInfoMap.get(t);if(!n)return;const r=n.info,o=Date.now(),s=ut(ut({},r),{},{eventType:Oe.SUBSCRIBE,lts:o,eventElapse:e.eventElapse,elapse:o-n.startTime,success:e.succ,errorCode:e.ec,video:e.video,audio:e.audio,subscribeRequestid:e.subscribeRequestid,p2pid:e.p2pid,preSsrc:e.preSsrc?1:0},i&&{extend:JSON.stringify({isMassSubscribe:!0})});typeof e.peerid=="string"?s.peerSuid=e.peerid:s.peer=e.peerid,this.send({type:Jt.SUBSCRIBE,data:s},!0)}wsCompressorInit(t){var e;const i=[...Ji(e=this.baseInfoMap).call(e)],n=i.length?i[0]:"UnableToGetSid",r=this.baseInfoMap.get(n);if(!r)return;const o=r.info,s=Date.now(),a=ut(ut({},o),{},{eventType:Oe.WS_COMPRESSOR_INIT,lts:s,eventElapse:t.eventElapse,elapse:s-r.startTime,status:t.status?1:2});this.send({type:Jt.WS_COMPRESSOR_INIT,data:a},!0)}firstRemoteVideoDecode(t,e,i,n){const r=this.baseInfoMap.get(t);if(!r)return;const o=r.info,s=Date.now(),a=ut(ut(ut({},o),n),{},{elapse:s-r.startTime,eventType:e,lts:s,firstDecodeFrame:Math.max((n.firstFrame||s)-r.startTime,0),apEnd:Math.max(n.apEnd-r.startTime,0),apStart:Math.max(n.apStart-r.startTime,0),joinGwEnd:Math.max(n.joinGwEnd-r.startTime,0),joinGwStart:Math.max(n.joinGwStart-r.startTime,0),pcEnd:Math.max(n.pcEnd-r.startTime,0),pcStart:Math.max(n.pcStart-r.startTime,0),subscriberEnd:Math.max(n.subscriberEnd-r.startTime,0),subscriberStart:Math.max(n.subscriberStart-r.startTime,0),videoAddNotify:Math.max(n.videoAddNotify-r.startTime,0)});this.send({type:i,data:a},!0)}firstRemoteFrame(t,e,i,n){const r=this.baseInfoMap.get(t);if(!r)return;const o=r.info,s=Date.now(),a=ut(ut(ut({},o),n),{},{elapse:s-r.startTime,eventType:e,lts:s});this.send({type:i,data:a},!0)}abTest(t,e){const i=this.baseInfoMap.get(t);if(!i)return;const n=i.info,r=Date.now(),o=ut(ut(ut({},n),e),{},{vid:n.vid===void 0?0:Number(n.vid),elapse:r-i.startTime,eventType:Oe.AB_TEST,lts:r});this.send({type:Jt.AB_TEST,data:o},!0)}pcStats(t,e){const i=this.baseInfoMap.get(t);if(!i)return;const n=i.info,r=Date.now(),o=ut(ut(ut({},n),e),{},{vid:n.vid===void 0?0:Number(n.vid),elapse:r-i.startTime,eventType:Oe.PC_STATS,lts:r,preallocation:e.preallocation?1:0});this.send({type:Jt.PC_STATS,data:o},!0)}updateRemoteRTPCapabilities(t,e){if(t){const i=this.baseInfoMap.get(t);if(!i)return;const n=i.info,r=Date.now(),o=ut(ut(ut({},n),e),{},{vid:n.vid===void 0?0:Number(n.vid),eventType:Oe.UPDATE_REMOTE_RTPCAPABILITIES,lts:r});this.send({type:Jt.UPDATE_REMOTE_RTPCAPABILITIES,data:o},!0)}}onGatewayStream(t,e,i,n){const r=this.baseInfoMap.get(t);if(!r)return;const o=r.info,s=Date.now(),a=ut(ut(ut({},o),n),{},{eventType:e,lts:s});this.send({type:i,data:a},!0)}streamSwitch(t,e){const i=this.baseInfoMap.get(t);if(!i)return;const n=i.info,r=Date.now(),o=ut(ut({},n),{},{eventType:Oe.STREAM_SWITCH,lts:r,isDual:e.isdual,elapse:r-i.startTime,success:e.succ});this.send({type:Jt.STREAM_SWITCH,data:o},!0)}requestProxyAppCenter(t,e){const i=this.baseInfoMap.get(t);if(!i)return;const n=i.info,r=Date.now(),o=ut(ut({},n),{},{eventType:Oe.REQUEST_PROXY_APPCENTER,lts:r,eventElapse:r-e.lts,elapse:r-i.startTime,APAddr:e.APAddr,workerManagerList:e.workerManagerList,response:e.response,errorCode:e.ec,success:e.succ});this.send({type:Jt.REQUEST_PROXY_APPCENTER,data:o},!0)}requestProxyWorkerManager(t,e){const i=this.baseInfoMap.get(t);if(!i)return;const n=i.info,r=Date.now(),o=ut(ut({},n),{},{eventType:Oe.REQUEST_PROXY_WORKER_MANAGER,lts:r,eventElapse:r-e.lts,elapse:r-i.startTime,workerManagerAddr:e.workerManagerAddr,response:e.response,errorCode:e.ec,success:e.succ});this.send({type:Jt.REQUEST_PROXY_WORKER_MANAGER,data:o},!0)}setProxyServer(t){this.proxyServer=t,t?_.debug("reportProxyServerurl: ".concat(t)):_.debug("disable reportProxyServerurl: ".concat(t))}peerPublishStatus(t,e){const i=this.baseInfoMap.get(t);if(!i)return;const n=i.info,r=Date.now(),o=ut(ut({},n),{},{subscribeElapse:e.subscribeElapse,peer:e.peer,peerPublishDuration:Math.max(e.audioPublishDuration,e.videoPublishDuration),audiotag:e.audioPublishDuration>0?1:-1,videotag:e.videoPublishDuration>0?1:-1,lts:r,elapse:r-i.startTime,joinChannelSuccessElapse:r-(i.lastJoinSuccessTime||r),peerPublishDurationVideo:e.videoPublishDuration,peerPublishDurationAudio:e.audioPublishDuration});this.send({type:Jt.PEER_PUBLISH_STATUS,data:o},!0)}workerEvent(t,e){const i=this.baseInfoMap.get(t);if(!i)return;const n=i.info,r=Date.now();(function(o,s,a){const c=o[s];if(!c||typeof c!="string")return[o];o[s]="";const d=Er(JSON.stringify(o));let l=0;const u=[];let h=0;for(let p=0;pthis.send({type:Jt.WORKER_EVENT,data:o},!0))}apworkerEvent(t,e){const i=this.baseInfoMap.get(t);if(!i)return;const n=i.info,r=Date.now(),o=ut(ut(ut({},n),e),{},{elapse:r-i.startTime,lts:r});this.send({type:Jt.AP_WORKER_EVENT,data:o},!0)}joinWebProxyAP(t,e){const i=this.baseInfoMap.get(t);if(!i)return;const n=i.info,r=Date.now(),o=ut(ut(ut({},n),e),{},{elapse:r-i.startTime,lts:r,extend:e.extend||void 0});this.send({type:Jt.JOIN_WEB_PROXY_AP,data:o},!0)}WebSocketQuit(t,e){const i=this.baseInfoMap.get(t);if(!i)return;const n=i.info,r=Date.now(),o=ut(ut(ut({},n),e),{},{elapse:r-i.startTime,lts:r});this.send({type:Jt.WEBSOCKET_QUIT,data:o},!0)}sendCustomReportMessage(t,e){return C(this,null,function*(){if(this.customReportCount+=e.length,this.customReportCount>y("CUSTOM_REPORT_LIMIT"))throw new k(v.CUSTOM_REPORT_FREQUENCY_TOO_HIGH);this.customReportCounterTimer||(this.customReportCounterTimer=window.setInterval(()=>{this.customReportCount=0},5e3));const i=Date.now(),n=e.map(r=>({type:Jt.USER_ANALYTICS,data:ut(ut({sid:t},r),{},{lts:i})}));try{y("NEW_REPORT_SERVER")?yield this.postDataToStatsCollector2(n):yield this.postDataToStatsCollector(n)}catch(r){throw _.error("send custom report message failed",r.toString()),new k(v.CUSTOM_REPORT_SEND_FAILED,r.message)}})}sendApiInvoke(t){const e=y("NOT_REPORT_EVENT");if(t.tag&&G(e)&&G(e).call(e,t.tag))return!1;if(t.sid===null)return this.apiInvokeUploadPendingItems.push(t),!1;const i=this.baseInfoMap.get(t.sid);if(!i)return this.apiInvokeUploadPendingItems.push(t),!1;const{cname:n,uid:r,cid:o}=i.info;let s;if(t.lts=t.lts||Date.now(),t.error)if(t.error instanceof k){const{code:c,message:d}=t.error;s=c||d||t.error.toString()}else s=t.error.toString();const a={invokeId:t.invokeId,sid:t.sid,cname:n,cid:o,uid:r,lts:t.lts,success:t.success,elapse:t.lts-i.startTime,execElapse:t.lts-t.apiInvokeTime,apiName:t.name,options:t.options?JSON.stringify(t.options):void 0,execStates:t.states?JSON.stringify(t.states):void 0,execResult:t.result?JSON.stringify(t.result):void 0,errorCode:t.error?s:void 0,errorMsg:t.error?JSON.stringify(t.error):void 0};return this.send({type:Jt.API_INVOKE,data:a},!1),!0}addSid(t){this.sids.add(t)}removeSid(t){this.sids.delete(t)}appendSessionId(){const t=this.apiInvokeUploadPendingItems;if(t.length===0)return;const e=Array.from(this.sids).find(i=>i!==null);e&&t.forEach(i=>{i&&(i.sid=e,this.sendApiInvoke(Object.assign({},i)))}),t.length=0}send(t,e){if(e)return this.keyEventUploadPendingItems.push(t),void this.sendItems(this.keyEventUploadPendingItems,!0);this.normalEventUploadPendingItems.push(t),this.normalEventUploadPendingItems.length>y("NORMAL_EVENT_QUEUE_CAPACITY")&&this.normalEventUploadPendingItems.splice(0,1),this.normalEventUploadPendingItems.length>=10&&this.sendItems(this.normalEventUploadPendingItems,!1)}doSend(){this.keyEventUploadPendingItems.length>0&&this.sendItems(this.keyEventUploadPendingItems,!0),this.normalEventUploadPendingItems.length>0&&Date.now()-this.lastSendNormalEventTime>=5e3&&this.sendItems(this.normalEventUploadPendingItems,!1)}sendItems(t,e){const i=[],n=[];for(;t.length;){const o=t.shift();i.length<20?i.push(o):n.push(o)}t.push(...n);for(const o of[...i]){var r;this.ltsList.indexOf(o.data.lts)!==-1?(o.data.lts=this.ltsList[this.ltsList.length-1]+1,this.ltsList.push(o.data.lts)):(this.ltsList.push(o.data.lts),jo(r=this.ltsList).call(r,(s,a)=>s-a))}return e||(this.lastSendNormalEventTime=Date.now()),y("ENABLE_EVENT_REPORT")&&i.length&&(y("NEW_REPORT_SERVER")?this.postDataToStatsCollector2(i):this.postDataToStatsCollector(i)).catch((o=>s=>{y("EVENT_REPORT_RETRY")&&(e?this.keyEventUploadPendingItems=this.keyEventUploadPendingItems.concat(o):(this.normalEventUploadPendingItems=this.normalEventUploadPendingItems.concat(o),this.normalEventUploadPendingItems.length>y("NORMAL_EVENT_QUEUE_CAPACITY")&&(this.normalEventUploadPendingItems.splice(0,this.normalEventUploadPendingItems.length-y("NORMAL_EVENT_QUEUE_CAPACITY")),_.warning("report: drop normal events"))))})(i)),t}postDataToStatsCollector2(t){return C(this,null,function*(){Ee.networkState===Fi.OFFLINE&&(yield K.race([Ee.onlineWaiter,Ue(2*ge.maxRetryTimeout)]));const e=r=>{let o=new Uint8Array;return r.forEach(s=>{const a=LE(JSON.stringify(s.data)),c=new ArrayBuffer(5),d=(u=>{let h=0;return Object.entries(Jt).forEach(p=>{let[g,m]=p;m===u.type&&(h=n3[g])}),h})(s),l=new DataView(c);l.setUint16(0,a.byteLength,!0),l.setUint8(2,255&d),l.setUint8(3,d>>>8&255),l.setUint8(4,d>>>16&255),o=aI(o,new Uint8Array(c)),o=aI(o,a)}),o},i="event";let n=this.proxyServer?"https://".concat(this.proxyServer,"/rs/?h=").concat(y("NEW_REPORT_SERVER_DOMAINS")[0],"&p=443&d=").concat(i):"https://".concat(y("NEW_REPORT_SERVER_DOMAINS")[0],"/").concat(i);for(let r=0;r<2;r+=1){r===1&&(n=this.proxyServer?"https://".concat(this.proxyServer,"/rs/?h=").concat(y("NEW_REPORT_SERVER_DOMAINS")[1],"&p=443&d=").concat(i):"https://".concat(y("NEW_REPORT_SERVER_DOMAINS")[1],"/").concat(i));try{yield jE(n,{timeout:1e4,data:e(t),headers:ut(ut({biz:"webrtc",sendts:Math.round(Date.now()/1e3),debug:"false"},this._appId&&{appid:this._appId}),{},{"Content-Type":"application/octet-stream"})},!0)}catch(o){if(r===1)throw o;continue}return}})}postDataToStatsCollector(e){return C(this,arguments,function*(t){let i=arguments.length>1&&arguments[1]!==void 0&&arguments[1];const n=(c=>{const d=c&&c.data.sid&&this.baseInfoMap.get(c.data.sid);return d&&d.info.vid&&+d.info.vid||0})(t[0]),r=n?void 0:this._aid,o={msgType:"EventMessages",sentTs:Math.round(Date.now()/1e3),payloads:t.map(c=>JSON.stringify(c)),vid:n,aid:r};Ee.networkState===Fi.OFFLINE&&(yield K.race([Ee.onlineWaiter,Ue(2*ge.maxRetryTimeout)]));const s=i?"/events/proto-raws":"/events/messages";let a=this.url||(this.proxyServer?"https://".concat(this.proxyServer,"/rs/?h=").concat(y("EVENT_REPORT_DOMAIN"),"&p=").concat(y("STATS_COLLECTOR_PORT"),"&d=").concat(s):"https://".concat(y("EVENT_REPORT_DOMAIN"),":").concat(y("STATS_COLLECTOR_PORT")).concat(s));for(let c=0;c<2;c+=1){c===1&&(a=this.backupUrl||(this.proxyServer?"https://".concat(this.proxyServer,"/rs/?h=").concat(y("EVENT_REPORT_BACKUP_DOMAIN"),"&p=").concat(y("STATS_COLLECTOR_PORT"),"&d=").concat(s):"https://".concat(y("EVENT_REPORT_BACKUP_DOMAIN"),":").concat(y("STATS_COLLECTOR_PORT")).concat(s)));try{i?yield GG(a,{timeout:1e4,data:o}):yield jE(a,{timeout:1e4,data:o})}catch(d){if(c===1)throw d;continue}return}})}createBaseInfo(t,e){const i=Object.assign({},i3);return i.sid=t,this.baseInfoMap.set(t,{info:i,startTime:e}),i}reportResourceTiming(t,e){const i=performance.getEntriesByName(t),n=i[i.length-1];n&&this.reportApiInvoke(e,{name:"Client.resourceTiming",options:n,tag:oe.TRACER}).onSuccess()}};MI.on("REPORT_LOG_UPLOAD",t=>{t.networkState=Ee.networkState,Z.reportApiInvoke(null,{name:"logUploadError",options:t,tag:oe.TRACER}).onSuccess("logUploadError")});class P extends k{constructor(e){super(e,arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",arguments.length>2?arguments[2]:void 0),se(this,"name","AgoraRTCException")}print(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"error";return super.print(e,_)}throw(){super.throw(_)}}const xe={getDisplayMedia:!1,getStreamFromExtension:!1,supportUnifiedPlan:!1,supportMinBitrate:!1,supportSetRtpSenderParameters:!1,supportDualStream:!0,webAudioMediaStreamDest:!1,supportReplaceTrack:!1,supportWebGL:!1,webAudioWithAEC:!1,supportRequestFrame:!1,supportShareAudio:!1,supportDualStreamEncoding:!1,supportDataChannel:!1,supportPCSetConfiguration:!1,supportWebRTCEncodedTransform:!1,supportWebRTCInsertableStream:!1,supportRequestVideoFrameCallback:!1,supportWebCrypto:!1};function Ct(){return xe}function VI(){return"setSinkId"in HTMLAudioElement.prototype&&(!y("RESTRICTION_SET_PLAYBACK_DEVICE")||(xr()||Xy())&&!NE())}function FI(){return!xe.supportUnifiedPlan||y("CHROME_FORCE_PLAN_B")&&Vr()}let Ve=function(t){return t.IOS_15_16_INTERRUPTION_START="ios15_16-interruption-start",t.IOS_15_16_INTERRUPTION_END="ios15_16-interruption-end",t.IOS_INTERRUPTION_START="ios-interruption-start",t.IOS_INTERRUPTION_END="ios-interruption-end",t.STATE_CHANGE="state-change",t}({});function da(t,e,i){return{sampleRate:t,stereo:e,bitrate:i}}function yt(t,e,i,n,r){return{width:t,height:e,frameRate:i,bitrateMin:n,bitrateMax:r}}function On(t,e,i,n,r){return{width:{max:t},height:{max:e},frameRate:i,bitrateMin:n,bitrateMax:r}}function $E(t,e){return{numSpatialLayers:t,numTemporalLayers:e}}const r3={"90p":yt(160,90),"90p_1":yt(160,90),"120p":yt(160,120,15,30,65),"120p_1":yt(160,120,15,30,65),"120p_3":yt(120,120,15,30,50),"120p_4":yt(212,120),"180p":yt(320,180,15,30,140),"180p_1":yt(320,180,15,30,140),"180p_3":yt(180,180,15,30,100),"180p_4":yt(240,180,15,30,120),"240p":yt(320,240,15,40,200),"240p_1":yt(320,240,15,40,200),"240p_3":yt(240,240,15,40,140),"240p_4":yt(424,240,15,40,220),"360p":yt(640,360,15,80,400),"360p_1":yt(640,360,15,80,400),"360p_3":yt(360,360,15,80,260),"360p_4":yt(640,360,30,80,600),"360p_6":yt(360,360,30,80,400),"360p_7":yt(480,360,15,80,320),"360p_8":yt(480,360,30,80,490),"360p_9":yt(640,360,15,80,800),"360p_10":yt(640,360,24,80,800),"360p_11":yt(640,360,24,80,1e3),"480p":yt(640,480,15,100,500),"480p_1":yt(640,480,15,100,500),"480p_2":yt(640,480,30,100,1e3),"480p_3":yt(480,480,15,100,400),"480p_4":yt(640,480,30,100,750),"480p_6":yt(480,480,30,100,600),"480p_8":yt(848,480,15,100,610),"480p_9":yt(848,480,30,100,930),"480p_10":yt(640,480,10,100,400),"720p":yt(1280,720,15,120,1130),"720p_auto":yt(1280,720,30,900,3e3),"720p_1":yt(1280,720,15,120,1130),"720p_2":yt(1280,720,30,120,2e3),"720p_3":yt(1280,720,30,120,1710),"720p_5":yt(960,720,15,120,910),"720p_6":yt(960,720,30,120,1380),"1080p":yt(1920,1080,15,120,2080),"1080p_1":yt(1920,1080,15,120,2080),"1080p_2":yt(1920,1080,30,120,3e3),"1080p_3":yt(1920,1080,30,120,3150),"1080p_5":yt(1920,1080,60,120,4780),"1440p":yt(2560,1440,30,120,4850),"1440p_1":yt(2560,1440,30,120,4850),"1440p_2":yt(2560,1440,60,120,7350),"4k":yt(3840,2160,30,120,8910),"4k_1":yt(3840,2160,30,120,8910),"4k_3":yt(3840,2160,60,120,13500)},o3={"480p":On(640,480,5),"480p_1":On(640,480,5),"480p_2":On(640,480,30),"480p_3":On(640,480,15),"720p":On(1280,720,5),"720p_auto":yt(1280,720,30,900,3e3),"720p_1":On(1280,720,5),"720p_2":On(1280,720,30),"720p_3":On(1280,720,15),"1080p":On(1920,1080,5),"1080p_1":On(1920,1080,5),"1080p_2":On(1920,1080,30),"1080p_3":On(1920,1080,15)},s3={"1SL1TL":$E(1,1),"3SL3TL":$E(3,3),"2SL3TL":$E(2,3)};function Nn(t){return t||(t="480p_1"),typeof t=="string"?Object.assign({},r3[t]):t}function tm(t){return typeof t=="string"?Object.assign({},o3[t]):t}function fu(t){return typeof t=="string"?Object.assign({},s3[t]):t}const a3={speech_low_quality:da(16e3,!1),speech_standard:da(32e3,!1,18),music_standard:da(48e3,!1),standard_stereo:da(48e3,!0,56),high_quality:da(48e3,!1,128),high_quality_stereo:da(48e3,!0,192)};function gu(t){return typeof t=="string"?Object.assign({},a3[t]):t}const la=[];function BI(t){return Ae(t,"mediaSource",["screen","window","application"]),!0}let J=function(t){return t.NEED_RENEGOTIATE="@need_renegotiate",t.NEED_REPLACE_TRACK="@need_replace_track",t.NEED_REPLACE_MIXING_TRACK="@need_replace_mixing_track",t.NEED_CLOSE="@need_close",t.NEED_ENABLE_TRACK="@need_enable_track",t.NEED_DISABLE_TRACK="@need_disable_track",t.NEED_SESSION_ID="@need_sid",t.SET_OPTIMIZATION_MODE="@set_optimization_mode",t.GET_STATS="@get_stats",t.GET_RTC_STATS="@get_rtc_stats",t.GET_LOW_VIDEO_TRACK="@get_low_video_track",t.NEED_RESET_REMOTE_SDP="@need_reset_remote_sdp",t.NEED_UPDATE_VIDEO_ENCODER="@need_update_video_encoder",t.NEED_UPDATE_VIDEO_SEND_PARAMETERS="@need_update_video_send_parameters",t.NEED_MUTE_TRACK="@need_mute_track",t.NEED_UNMUTE_TRACK="@need_unmute_track",t}({}),Vt=function(t){return t.SCREEN_TRACK="screen_track",t.CUSTOM_TRACK="custome_track",t.LOW_STREAM="low_stream",t.SCREEN_LOW_TRACK="screen_low_track",t}({}),ua=function(t){return t[t.HIGH_STREAM=0]="HIGH_STREAM",t[t.LOW_STREAM=1]="LOW_STREAM",t}({}),c3=function(t){return t[t.HIGH_STREAM=0]="HIGH_STREAM",t[t.LOW_STREAM=1]="LOW_STREAM",t[t.HIGH_STREAM_LAYER1=4]="HIGH_STREAM_LAYER1",t[t.HIGH_STREAM_LAYER2=5]="HIGH_STREAM_LAYER2",t[t.HIGH_STREAM_LAYER3=6]="HIGH_STREAM_LAYER3",t[t.HIGH_STREAM_LAYER4=7]="HIGH_STREAM_LAYER4",t[t.HIGH_STREAM_LAYER5=8]="HIGH_STREAM_LAYER5",t[t.HIGH_STREAM_LAYER6=9]="HIGH_STREAM_LAYER6",t}({}),d3=function(t){return t[t.DISABLE=0]="DISABLE",t[t.LOW_STREAM=1]="LOW_STREAM",t[t.AUDIO_ONLY=2]="AUDIO_ONLY",t[t.HIGH_STREAM_LAYER1=3]="HIGH_STREAM_LAYER1",t[t.HIGH_STREAM_LAYER2=4]="HIGH_STREAM_LAYER2",t[t.HIGH_STREAM_LAYER3=5]="HIGH_STREAM_LAYER3",t[t.HIGH_STREAM_LAYER4=6]="HIGH_STREAM_LAYER4",t[t.HIGH_STREAM_LAYER5=7]="HIGH_STREAM_LAYER5",t[t.HIGH_STREAM_LAYER6=8]="HIGH_STREAM_LAYER6",t}({}),ts=function(t){return t.TRANSCEIVER_UPDATED="transceiver-updated",t.SEI_TO_SEND="sei-to-send",t.SEI_RECEIVED="sei-received",t.TRACK_UPDATED="track-updated",t}({}),ha=function(t){return t.SOURCE_STATE_CHANGE="source-state-change",t.TRACK_ENDED="track-ended",t.BEAUTY_EFFECT_OVERLOAD="beauty-effect-overload",t.VIDEO_ELEMENT_VISIBLE_STATUS="video-element-visible-status",t.CLOSED="closed",t}({}),pa=function(t){return t.FIRST_FRAME_DECODED="first-frame-decoded",t.VIDEO_ELEMENT_VISIBLE_STATUS="video-element-visible-status",t.VIDEO_STATE_CHANGED="video-state-changed",t}({}),_a=function(t){return t.AUDIO="audio",t.VIDEO="video",t.DATA="data",t}({}),Qi=function(t){return t.AUDIO_SOURCE_STATE_CHANGE="audio_source_state_change",t.RECEIVE_TRACK_BUFFER="receive_track_buffer",t.ON_AUDIO_BUFFER="on_audio_buffer",t.UPDATE_SOURCE="update_source",t}({});(function(t){t.UPDATE_TRACK_SOURCE="update-track-source"})({});const em={sendVolumeLevel:0,sendBitrate:0,sendBytes:0,sendPackets:0,sendPacketsLost:0,sendJitterMs:0,sendRttMs:0,currentPacketLossRate:0},im={sendBytes:0,sendBitrate:0,sendPackets:0,sendPacketsLost:0,sendJitterMs:0,sendRttMs:0,sendResolutionHeight:0,sendResolutionWidth:0,captureResolutionHeight:0,captureResolutionWidth:0,targetSendBitrate:0,totalDuration:0,totalFreezeTime:0,currentPacketLossRate:0},jI={transportDelay:0,end2EndDelay:0,receiveBitrate:0,receiveLevel:0,receiveBytes:0,receiveDelay:0,receivePackets:0,receivePacketsLost:0,receivePacketsDiscarded:0,totalDuration:0,totalFreezeTime:0,freezeRate:0,packetLossRate:0,currentPacketLossRate:0,publishDuration:-1},l3={uplinkNetworkQuality:0,downlinkNetworkQuality:0},GI={transportDelay:0,end2EndDelay:0,receiveBitrate:0,receiveBytes:0,receiveDelay:0,receivePackets:0,receivePacketsLost:0,receiveResolutionHeight:0,receiveResolutionWidth:0,totalDuration:0,totalFreezeTime:0,freezeRate:0,packetLossRate:0,currentPacketLossRate:0,publishDuration:-1};let ui=function(t){return t.ON_TRACK="on_track",t.ON_NODE="on_node",t}({}),Zi=function(t){return t.REQUEST_UPDATE_CONSTRAINTS="request_update_constraints",t.REQUEST_CONSTRAINTS="request_constraints",t}({}),Uc=function(t){return t.IDLE="IDLE",t.INITING="INITING",t.INITEND="INITEND",t}({}),es=function(t){return t.STATE_CHANGE="state_change",t.RECORDING_DEVICE_CHANGED="recordingDeviceChanged",t.PLAYOUT_DEVICE_CHANGED="playoutDeviceChanged",t.CAMERA_DEVICE_CHANGED="cameraDeviceChanged",t}({}),ii=function(t){return t.NONE="none",t.INIT="init",t.CANPLAY="canplay",t.PLAYING="playing",t.PAUSED="paused",t.SUSPEND="suspend",t.STALLED="stalled",t.WAITING="waiting",t.ERROR="error",t.DESTROYED="destroyed",t.ABORT="abort",t.ENDED="ended",t.EMPTIED="emptied",t.LOADEDDATA="loadeddata",t}({}),fr=function(t){return t[t.VideoStateStopped=0]="VideoStateStopped",t[t.VideoStateStarting=1]="VideoStateStarting",t[t.VideoStateDecoding=2]="VideoStateDecoding",t[t.VideoStateFrozen=3]="VideoStateFrozen",t}({});const nm={uninit:100,none:110,init:120,loadeddata:130,canplay:200,playing:210,paused:220,suspend:300,stalled:310,waiting:320,error:330,destroyed:340,abort:350,ended:360,emptied:370};let Su=function(t){return t.OPEN="open",t.MESSAGE="message",t.CLOSE="close",t.CLOSING="closing",t.ERROR="error",t}({});function gt(t,e,i,n,r){var o,s,a={};return Object.keys(n).forEach(function(c){a[c]=n[c]}),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=Tn(o=bg(s=i.slice()).call(s)).call(o,function(c,d){return d(t,e,c)||c},a),r&&a.initializer!==void 0&&(a.value=a.initializer?a.initializer.call(r):void 0,a.initializer=void 0),a.initializer===void 0?(Object.defineProperty(t,e,a),null):a}function D(t,e,i){return(e=function(n){var r=function(o,s){if(typeof o!="object"||!o)return o;var a=o[Symbol.toPrimitive];if(a!==void 0){var c=a.call(o,"string");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(o)}(n);return typeof r=="symbol"?r:r+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function WI(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function Qt(t){for(var e=1;e{var i;Z.reportApiInvoke(null,{name:_e.GET_MEDIA_STREAM_TRACK,options:[],tag:oe.TRACER}).onSuccess(((i=this._mediaStreamTrack)===null||i===void 0?void 0:i.label)||"")},this.mediaStreamTrack.id||this.getTrackId()),this._mediaStreamTrack}getRTCRtpTransceiver(e){return e===ua.LOW_STREAM?this._lowRtpTransceiver:this._rtpTransceiver}getMediaStreamTrackSettings(){return this.getMediaStreamTrack(!0).getSettings()}close(){this._isClosed=!0,this._lowRtpTransceiver=void 0,this._rtpTransceiver=void 0,function(e){const i=la.indexOf(e);i!==-1&&la.splice(i,1)}(this),this.emit(ha.CLOSED),this.removeAllListeners(ts.SEI_RECEIVED)}_updateRtpTransceiver(e,i){if(i===ua.LOW_STREAM){if(this._lowRtpTransceiver===e)return;this._lowRtpTransceiver=e}else{if(this._rtpTransceiver===e)return;this._rtpTransceiver=e}this.emit(ts.TRANSCEIVER_UPDATED,e,i)}}class Ea extends HI{get isExternalTrack(){return this._isExternalTrack}get muted(){return this._muted}get enabled(){return this._enabled}get processorContext(){return this._processorContext}constructor(e,i){super(e,i),D(this,"_enabled",!0),D(this,"_muted",!1),D(this,"_isExternalTrack",!1),D(this,"_isClosed",!1),D(this,"_enabledMutex",void 0),D(this,"processor",void 0),D(this,"_processorContext",void 0),D(this,"_handleTrackEnded",()=>{this.onTrackEnded()}),this._enabledMutex=new qe("".concat(this.getTrackId())),e.addEventListener("ended",this._handleTrackEnded)}getTrackLabel(){var e,i;return(e=(i=this._originMediaStreamTrack)===null||i===void 0?void 0:i.label)!==null&&e!==void 0?e:""}close(){this._isClosed||(this.stop(),this._originMediaStreamTrack.stop(),this._mediaStreamTrack!==this._originMediaStreamTrack&&(this._mediaStreamTrack.stop(),this._mediaStreamTrack=null),this._originMediaStreamTrack=null,this._enabledMutex=null,_.debug("[".concat(this.getTrackId(),"] close")),this.emit(J.NEED_CLOSE),super.close())}_updateOriginMediaStreamTrack(n,r){return C(this,arguments,function*(e,i){let o=arguments.length>2&&arguments[2]!==void 0&&arguments[2];this._isExternalTrack=o,e!==this._originMediaStreamTrack&&(this._originMediaStreamTrack&&(this._originMediaStreamTrack.removeEventListener("ended",this._handleTrackEnded),i&&this._originMediaStreamTrack.stop()),e.addEventListener("ended",this._handleTrackEnded),this._originMediaStreamTrack=e,this._muted&&(this._originMediaStreamTrack.enabled=!1),this._mediaStreamTrack=this._originMediaStreamTrack,this._updatePlayerSource(),yield Bt(this,J.NEED_REPLACE_TRACK,this),this.processor&&this._processorContext&&this.processor.updateInput({track:this._originMediaStreamTrack,context:this._processorContext}))})}_getDefaultPlayerConfig(){return{}}onTrackEnded(){_.debug("[".concat(this.getTrackId(),"] track ended")),this.safeEmit(ha.TRACK_ENDED)}stateCheck(e,i){if(_.debug("check track state, [muted: ".concat(this._muted,", enabled: ").concat(this._enabled,"] to [").concat(e,": ").concat(i,"]")),Fr(i,e),this._enabled&&this._muted&&e==="enabled"&&i===!1)throw new k(v.TRACK_STATE_UNREACHABLE,"cannot set enabled while the track is muted").print("error",_);if(!this._enabled&&!this._muted&&e==="muted"&&i===!0)throw new k(v.TRACK_STATE_UNREACHABLE,"cannot set muted while the track is disabled").print("error",_)}getProcessorStats(){return this._processorContext&&this._processorContext.gatherStats()||[]}getProcessorUsage(){return this._processorContext?this._processorContext.gatherUsage():K.resolve([])}}const KI=window.AudioContext||window.webkitAudioContext;let $i=null;const Mt=new class extends $t{constructor(){super(...arguments),D(this,"prevState",void 0),D(this,"curState",void 0),D(this,"currentTime",void 0),D(this,"currentTimeStuckAt",void 0),D(this,"interruptDetectorTrack",void 0),D(this,"onLocalAudioTrackMute",()=>{_.info("ios15-interruption-start"),this.emit(Ve.IOS_15_16_INTERRUPTION_START)}),D(this,"onLocalAudioTrackUnmute",()=>C(this,null,function*(){_.info("ios15-interruption-end"),this.curState!=="running"||this.duringInterruption?_.info("ios15-interruption-end-canceled"):($i&&(yield $i.suspend()),this.emit(Ve.IOS_15_16_INTERRUPTION_END))}))}get duringInterruption(){return this.prevState==="running"&&this.curState==="interrupted"}bindInterruptDetectorTrack(t){_.debug("webaudio bindInterruptDetectorTrack ".concat(t.getTrackId())),this.interruptDetectorTrack||(this.interruptDetectorTrack=t,this.interruptDetectorTrack._mediaStreamTrack.onmute=this.onLocalAudioTrackMute,this.interruptDetectorTrack._mediaStreamTrack.onunmute=this.onLocalAudioTrackUnmute)}unbindInterruptDetectorTrack(t){_.debug("webaudio unbindInterruptDetectorTrack ".concat(t.getTrackId())),this.interruptDetectorTrack&&this.interruptDetectorTrack===t&&(this.interruptDetectorTrack._mediaStreamTrack&&(this.interruptDetectorTrack._mediaStreamTrack.onmute=null,this.interruptDetectorTrack._mediaStreamTrack.onunmute=null),this.interruptDetectorTrack=void 0)}};function ma(){if(!$i){if(function(){if(!KI)return void _.error("your browser is not support web audio");_.info("create audio context");const t=Qt({},y("WEBAUDIO_INIT_OPTIONS"));_.debug("audio context init option:",JSON.stringify(t)),$i=new KI(t),Mt.curState=$i.state,$i.onstatechange=()=>{Mt.prevState=Mt.curState,Mt.curState=$i?$i.state:void 0;const{prevState:e,curState:i}=Mt,n=i==="running",r=i==="interrupted",o=e==="running",s=e==="suspended",a=e==="interrupted",c=vt().osVersion;(li()||bn())&&o&&r&&(_.info("ios".concat(c,"-interruption-start")),Mt.emit(Ve.IOS_INTERRUPTION_START)),(li()||bn())&&(s||a)&&n&&(_.info("ios".concat(c,"-interruption-end")),Mt.emit(Ve.IOS_INTERRUPTION_END)),e!==i&&Mt.emit(Ve.STATE_CHANGE,i,e)},setInterval(()=>{var e;const i=(e=$i)===null||e===void 0?void 0:e.currentTime;Mt.currentTime!==i?(Mt.currentTimeStuckAt&&(_.debug("AudioContext current time resume at ".concat(i)),Mt.currentTimeStuckAt=void 0),Mt.currentTime=i):(i!==Mt.currentTimeStuckAt&&(Z.reportApiInvoke(null,{name:"WEB_AUDIO_CURRENT_TIME_STUCK",options:{currentTime:i},tag:oe.TRACER}).onSuccess(),_.warning("AudioContext current time stuck at ".concat(i))),Mt.currentTimeStuckAt=i)},5e3),function(e){return C(this,null,function*(){const i=["click","contextmenu","auxclick","dblclick","mousedown","mouseup","touchend","keydown","keyup"];let n,r=!1,o=!1,s=!1;function a(m){e.state==="running"?c(!1):li()||bn()?e.state==="suspended"&&(c(!0),m&&e.resume().then(d,d)):e.state!=="closed"&&(c(!0),m&&e.resume().then(d,d))}function c(m){if(r!==m){r=m;for(let f=0,T=i;f",n=f.children.item(0),n.controls=!1,n.disableRemotePlayback=!0,n.preload="auto",n.srcObject=m.stream,u(!0)}Mt.on(Ve.STATE_CHANGE,function(){a(!0)}),a(!1)})}($i)}(),!$i)throw new k(v.NOT_SUPPORTED,"can not create audio context");return $i}return $i}function is(t){if(function(){if(rm!==null)return rm;const n=ma(),r=n.createBufferSource(),o=n.createGain(),s=n.createGain();r.connect(o),r.connect(s),r.disconnect(o);let a=!1;try{r.disconnect(o)}catch(c){a=!0}return r.disconnect(),rm=a,a}())return;const e=t.connect,i=t.disconnect;t.connect=(n,r,o)=>{var s;return t._inputNodes||(t._inputNodes=[]),G(s=t._inputNodes).call(s,n)||(n instanceof AudioNode?(t._inputNodes.push(n),e.call(t,n,r,o)):e.call(t,n,r)),t},t.disconnect=(n,r,o)=>{i.call(t),n?cu(t._inputNodes,n):t._inputNodes=[];for(const s of t._inputNodes)e.call(t,s)}}let rm=null;function om(t,e){let i=!1;const n=1/e;if(y("DISABLE_WEBAUDIO")){const r=window.setInterval(()=>{i?window.clearInterval(r):t(performance.now()/1e3)},1e3*n)}else{const r=ma();let o=r.createGain();o.gain.value=0,o.connect(r.destination);const s=()=>{if(i)return void(o=null);const a=r.createOscillator();a.onended=s,a.connect(o),a.start(0),a.stop(r.currentTime+n),t(r.currentTime)};s()}return()=>{i=!0}}class YI{constructor(){D(this,"context",void 0),D(this,"analyserNode",void 0),D(this,"sourceNode",void 0),this.context=ma(),this.analyserNode=this.context.createAnalyser(),this.analyserNode.fftSize=2048,this.analyserNode.smoothingTimeConstant=.4}updateSource(e){if(e!==this.sourceNode){if(this.sourceNode)try{this.sourceNode.disconnect(this.analyserNode)}catch(i){}this.sourceNode=e,e==null||e.connect(this.analyserNode)}}getVolumeLevel(){if(!this.sourceNode||(!this.context||li()||bn()||this.context.state!=="running"&&this.context.resume(),!this.analyserNode))return 0;const e=new Float32Array(this.analyserNode.fftSize);if(this.analyserNode.getFloatTimeDomainData)this.analyserNode.getFloatTimeDomainData(e);else{const n=new Uint8Array(this.analyserNode.fftSize);this.analyserNode.getByteTimeDomainData(n);for(let r=0;rn+r*r,0)/e.length;return Math.max(10*Math.log10(i)+100,0)/100}getAnalyserNode(){return this.analyserNode}rebuildAnalyser(){try{var e,i;(e=this.sourceNode)===null||e===void 0||e.disconnect(this.analyserNode),this.analyserNode=this.context.createAnalyser(),this.analyserNode.fftSize=2048,this.analyserNode.smoothingTimeConstant=.4,(i=this.sourceNode)===null||i===void 0||i.connect(this.analyserNode)}catch(n){_.warning("rebuild analyser node failed.")}}destroy(){this.updateSource(void 0)}}class qI extends $t{get processSourceNode(){return this.sourceNode}set processedNode(e){var i;if(!this.isDestroyed&&this._processedNode!==e){try{var n;(n=this.sourceNode)===null||n===void 0||n.disconnect(this.outputNode)}catch(r){}(i=this._processedNode)===null||i===void 0||i.disconnect(),this._processedNode=e,this.connect()}}get processedNode(){return this._processedNode}constructor(){super(),D(this,"outputNode",void 0),D(this,"outputTrack",void 0),D(this,"isPlayed",!1),D(this,"sourceNode",void 0),D(this,"context",void 0),D(this,"audioBufferNode",void 0),D(this,"destNode",void 0),D(this,"audioOutputLevel",0),D(this,"volumeLevelAnalyser",void 0),D(this,"_processedNode",void 0),D(this,"playNode",void 0),D(this,"isDestroyed",!1),D(this,"onNoAudioInput",void 0),D(this,"isNoAudioInput",!1),D(this,"_noAudioInputCount",0),this.context=ma(),this.playNode=this.context.destination,this.outputNode=this.context.createGain(),is(this.outputNode),this.volumeLevelAnalyser=new YI}startGetAudioBuffer(e){this.audioBufferNode||(this.audioBufferNode=this.context.createScriptProcessor(e),this.outputNode.connect(this.audioBufferNode),this.audioBufferNode.connect(this.context.destination),this.audioBufferNode.onaudioprocess=i=>{this.emit(Qi.ON_AUDIO_BUFFER,function(n){for(let r=0;r{Mt.emit("autoplay-failed")}),this.isPlayed=!0,this.playNode=e||this.context.destination,this.outputNode.connect(this.playNode)}stop(){if(this.isPlayed)try{this.outputNode.disconnect(this.playNode)}catch(e){}this.isPlayed=!1}getAccurateVolumeLevel(){return this.volumeLevelAnalyser.getVolumeLevel()}checkHasAudioInput(){return C(this,arguments,function*(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;if(e>5)return this.isNoAudioInput=!0,this.onNoAudioInput&&this.onNoAudioInput(),!1;li()||bn()?this.context.state==="suspended"&&this.context.resume():this.context.state!=="running"&&this.context.resume();const i=this.volumeLevelAnalyser.getAnalyserNode();let n;i.getFloatTimeDomainData?(n=new Float32Array(i.fftSize),i.getFloatTimeDomainData(n)):(n=new Uint8Array(i.fftSize),i.getByteTimeDomainData(n));let r=!1;for(let o=0;oC(this,null,function*(){if(_.debug("ready to rebuild web audio, state:",this.context.state),this.isNoAudioInput&&(yield this.checkHasAudioInput()),!this.isNoAudioInput||this.isDestroyed)return document.body.removeEventListener("click",this.rebuildWebAudio,!0),void _.debug("rebuild web audio success, current volume status",this.getAccurateVolumeLevel());this.context.resume().then(()=>_.info("resume success")),_.debug("rebuild web audio because of ios 12 bugs"),this.disconnect();const a=this.track;this.track=this.track.clone(),this.isCurrentTrackCloned?a.stop():this.isCurrentTrackCloned=!0;const c=new MediaStream([this.track]);this.sourceNode=this.context.createMediaStreamSource(c),is(this.sourceNode),this.volumeLevelAnalyser.rebuildAnalyser();const d=this.outputNode.gain.value;this.outputNode=this.context.createGain(),this.outputNode.gain.setValueAtTime(d,this.context.currentTime),is(this.outputNode),this.emit(Qi.UPDATE_SOURCE),this.connect(),this.audioElement.srcObject=c,this.isPlayed&&this.play(this.playNode),this.checkHasAudioInput()})),e.kind!=="audio")throw new k(v.UNEXPECTED_ERROR);this.track=e;const o=new MediaStream([this.track]);if(this.isRemoteTrack=!!i,this.sourceNode=this.context.createMediaStreamSource(o),is(this.sourceNode),n){const a=n.clone();a.enabled=!0,this.clonedTrack=a,_.debug("create an unmuted track ".concat(a.id," from the original track ").concat(n.id," to get the volume"));const c=this.context.createMediaStreamSource(new MediaStream([a]));is(c),this.originVolumeLevelAnalyser=new YI,this.originVolumeLevelAnalyser.updateSource(c)}this.connect(),this.audioElement=document.createElement("audio"),this.audioElement.srcObject=o;const s=vt();i&&s.os===we.IOS&&Number((r=s.osVersion)===null||r===void 0?void 0:r.split(".")[0])<15&&(Mt.on(Ve.STATE_CHANGE,()=>{this.context.state==="suspended"?document.body.addEventListener("click",this.rebuildWebAudio,!0):this.context.state==="running"&&this.rebuildWebAudio()}),this.checkHasAudioInput().then(a=>{a||document.body.addEventListener("click",this.rebuildWebAudio,!0)}))}updateTrack(e){this.sourceNode.disconnect(),this.track=e,this.isCurrentTrackCloned=!1;const i=new MediaStream([e]);this.sourceNode=this.context.createMediaStreamSource(i),is(this.sourceNode),this.processedNode||this.sourceNode.connect(this.outputNode),this.emit(Qi.UPDATE_SOURCE),this.audioElement.srcObject=i}destroy(){var e;this.audioElement.srcObject=null,this.audioElement.remove(),Mt.off("state-change",this.rebuildWebAudio),(e=this.originVolumeLevelAnalyser)===null||e===void 0||e.destroy(),this.clonedTrack=void 0,super.destroy()}createMediaStreamSourceNode(e){return this.context.createMediaStreamSource(new MediaStream([e]))}updateOriginTrack(e){const i=e.clone();i.enabled=!0,this.clonedTrack&&(this.clonedTrack.stop(),this.clonedTrack=i),_.debug("create an unmuted track ".concat(i.id," from the original track ").concat(e.id," to get the volume"));const n=this.context.createMediaStreamSource(new MediaStream([i]));is(n),this.originVolumeLevelAnalyser&&this.originVolumeLevelAnalyser.updateSource(n)}getOriginVolumeLevel(){return this.originVolumeLevelAnalyser?this.originVolumeLevelAnalyser.getVolumeLevel():this.getAccurateVolumeLevel()}}function XI(t,e,i){return C(this,null,function*(){const n=(o,s)=>o?typeof o!="number"?o.max||o.exact||o.ideal||o.min||s:o:s,r={audio:!!i&&{mandatory:{chromeMediaSource:"desktop"}},video:{mandatory:{chromeMediaSource:"desktop",chromeMediaSourceId:t,maxHeight:n(e.height,1080),maxWidth:n(e.width,1920)}}};return e.frameRate&&typeof e.frameRate!="number"?(r.video.mandatory.maxFrameRate=e.frameRate.max,r.video.mandatory.minFrameRate=e.frameRate.min):typeof e.frameRate=="number"&&(r.video.mandatory.maxFrameRate=e.frameRate),yield navigator.mediaDevices.getUserMedia(r)})}function u3(t,e){return C(this,null,function*(){const i=yield JI(t.mediaSource),{sourceId:n,audio:r}=yield function(o){let s=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return new K((a,c)=>{const d=document.createElement("div");d.innerText="share screen",d.setAttribute("style","text-align: center; height: 25px; line-height: 25px; border-radius: 4px 4px 0 0; background: #D4D2D4; border-bottom: solid 1px #B9B8B9;");const l=document.createElement("div");l.setAttribute("style","width: 100%; height: 500px; padding: 15px 25px ; box-sizing: border-box;");const u=document.createElement("div");u.innerText="Agora Web Screensharing wants to share the contents of your screen with webdemo.agorabeckon.com. Choose what you'd like to share.",u.setAttribute("style","height: 12%;");const h=document.createElement("div");h.setAttribute("style","width: 100%; height: 80%; background: #FFF; border: solid 1px #CBCBCB; display: flex; flex-wrap: wrap; justify-content: space-around; overflow-y: scroll; padding: 0 15px; box-sizing: border-box;");const p=document.createElement("div");p.setAttribute("style","display: flex; justify-content: space-between; padding: 16px 0;");const g=document.createElement("button");g.innerHTML="cancel",g.setAttribute("style","width: 85px;"),g.onclick=()=>{document.body.removeChild(T);const R=new Error("NotAllowedError");R.name="NotAllowedError",c(R)};let m=s;const f=document.createElement("div");if(s){const R=document.createElement("input");R.setAttribute("type","checkbox");const A=document.createElement("span");R.setAttribute("style","margin-right: 6px;"),A.innerText="Share audio",R.checked=m,R.onchange=()=>{m=R.checked},f.appendChild(R),f.appendChild(A)}p.appendChild(f),p.appendChild(g),l.appendChild(u),l.appendChild(h),l.appendChild(p);const T=document.createElement("div");T.setAttribute("style","position: fixed; z-index: 99999999; top: 50%; left: 50%; width: 620px; height: 525px; background: #ECECEC; border-radius: 4px; -webkit-transform: translate(-50%,-50%); transform: translate(-50%,-50%);"),T.appendChild(d),T.appendChild(l),document.body.appendChild(T),o.map(R=>{if(R.id){const A=document.createElement("div");A.setAttribute("style","width: 30%; height: 160px; padding: 20px 0; text-align: center;box-sizing: content-box;");let N=R.thumbnail;try{const{width:O}=N.getSize();O>1920&&(N=N.resize({width:1920}))}catch(O){throw O&&O.message.startsWith("Illegal invocation")&&console.error("Operate thumbnail error, please try to set contextIsolation: false. (https://github.com/electron/electron/issues/34953)"),O}A.innerHTML='
'+R.name.replace(/[\u00A0-\u9999<>\&]/g,function(O){return"&#"+O.charCodeAt(0)+";"})+"",A.onclick=()=>{document.body.removeChild(T),a({sourceId:R.id,audio:m})},h.appendChild(A)}})})}(i,e);return yield XI(n,t,r)})}function JI(t){return C(this,null,function*(){let e=["window","screen"];t!=="application"&&t!=="window"||(e=["window"]),t==="screen"&&(e=["screen"]);const i=cI();if(!i)throw console.error("failed to fetch electron, please mount it to window"),new k(v.ELECTRON_IS_NULL);let n=null;try{var r;n=((r=i.desktopCapturer)===null||r===void 0?void 0:r.getSources({types:e}))||i.ipcRenderer.invoke("DESKTOP_CAPTURER_GET_SOURCES",{types:e})}catch(o){n=null}n&&n.then||(n=new K((o,s)=>{i.desktopCapturer.getSources({types:e},(a,c)=>{a?s(a):o(c)})}));try{return yield n}catch(o){throw new k(v.ELECTRON_DESKTOP_CAPTURER_GET_SOURCES_ERROR,o.toString())}})}const sm=new qe("safari");let QI=!1,ZI=!1;function tn(t,e){return C(this,null,function*(){let i=0,n=null;for(;i<2;)try{n=yield h3(t,e,i>0);break}catch(r){if(r instanceof k)throw _.error("[".concat(e,"] ").concat(r.toString())),r;const o=Tu(r.name||r.code||r,r.message);if(o.code===v.MEDIA_OPTION_INVALID){_.debug("[".concat(e,"] detect media option invalid, retry")),i+=1,yield Ue(500);continue}throw _.error("[".concat(e,"] ").concat(o.toString())),o}if(!n)throw new k(v.UNEXPECTED_ERROR,"can not find stream after getUserMedia");return n})}function h3(t,e,i){return C(this,null,function*(){if(!navigator.mediaDevices||!navigator.mediaDevices.getUserMedia)throw new k(v.NOT_SUPPORTED,"can not find getUserMedia");i&&(t.video&&(delete t.video.width,delete t.video.height),t.screen&&(delete t.screen.width,delete t.screen.height));const n=Ct(),r=new MediaStream;if(t.audioSource&&r.addTrack(t.audioSource),t.videoSource&&r.addTrack(t.videoSource),!t.audio&&!t.video&&!t.screen)return _.debug("Using Video Source/ Audio Source"),r;if(t.screen)if(cI())t.screen.sourceId?fa(r,yield XI(t.screen.sourceId,t.screen,!!t.screenAudio)):fa(r,yield u3(t.screen,!!t.screenAudio));else if(xr()&&t.screen.extensionId&&t.screen.mandatory){if(!n.getStreamFromExtension)throw new k(v.NOT_SUPPORTED,"This browser does not support screen sharing");_.debug("[".concat(e,'] Screen access on chrome stable, looking for extension"'));const h=yield(s=t.screen.extensionId,a=e,new K((p,g)=>{try{chrome.runtime.sendMessage(s,{getStream:!0},m=>{if(!m||!m.streamId)return _.error("[".concat(a,"] No response from Chrome Plugin. Plugin not installed properly"),m),void g(new k(v.CHROME_PLUGIN_NO_RESPONSE,"No response from Chrome Plugin. Plugin not installed properly"));p(m.streamId)})}catch(m){_.error("[".concat(a,"] AgoraRTC screensharing plugin is not accessible(").concat(s,")"),m.toString()),g(new k(v.CHROME_PLUGIN_NOT_INSTALL))}}));t.screen.mandatory.chromeMediaSourceId=h,fa(r,yield navigator.mediaDevices.getUserMedia({video:{mandatory:t.screen.mandatory}}))}else if(n.getDisplayMedia){var o;t.screen.mediaSource&&BI(t.screen.mediaSource);const h={width:t.screen.width,height:t.screen.height,frameRate:t.screen.frameRate,displaySurface:(o=t.screen.displaySurface)!==null&&o!==void 0?o:t.screen.mediaSource==="screen"?"monitor":t.screen.mediaSource},{selfBrowserSurface:p,surfaceSwitching:g,systemAudio:m,preferCurrentTab:f}=t.screen,T={selfBrowserSurface:p,surfaceSwitching:g,systemAudio:m,preferCurrentTab:f};!p&&delete T.selfBrowserSurface,!g&&delete T.surfaceSwitching,!m&&delete T.systemAudio,!f&&delete T.preferCurrentTab,_.debug("[".concat(e,"] getDisplayMedia:"),JSON.stringify({video:h,audio:t.screenAudio,controls:T})),fa(r,yield navigator.mediaDevices.getDisplayMedia(Qt({video:h,audio:t.screenAudio},T)))}else{if(!ne())throw _.error("[".concat(e,"] This browser does not support screenSharing")),new k(v.NOT_SUPPORTED,"This browser does not support screen sharing");{t.screen.mediaSource&&BI(t.screen.mediaSource);const h={video:{mediaSource:t.screen.mediaSource,width:t.screen.width,height:t.screen.height,frameRate:t.screen.frameRate}};_.debug("[".concat(e,"] getUserMedia: ").concat(JSON.stringify(h))),fa(r,yield navigator.mediaDevices.getUserMedia(h))}}var s,a;if(!t.video&&!t.audio)return r;let c={video:t.video,audio:t.audio},d=y("MEDIA_DEVICE_CONSTRAINTS");if(d)try{typeof d=="string"&&(d=JSON.parse(d)),c=UE(c,d)}catch(h){}_.debug("[".concat(e,"] GetUserMedia"),JSON.stringify(c)),vt();let l,u=null;(je()||li()||su())&&(u=yield sm.lock());try{l=yield navigator.mediaDevices.getUserMedia(c)}catch(h){throw u&&u(),h}return c.audio&&(QI=!0),c.video&&(ZI=!0),fa(r,l),u&&u(),r})}function Tu(t,e){switch(t){case"Starting video failed":case"OverconstrainedError":case"TrackStartError":return new k(v.MEDIA_OPTION_INVALID,"".concat(t,": ").concat(e));case"NotFoundError":case"DevicesNotFoundError":return new k(v.DEVICE_NOT_FOUND,"".concat(t,": ").concat(e));case"NotSupportedError":return new k(v.NOT_SUPPORTED,"".concat(t,": ").concat(e));case"NotReadableError":return new k(v.NOT_READABLE,"".concat(t,": ").concat(e));case"InvalidStateError":case"NotAllowedError":case"PERMISSION_DENIED":case"PermissionDeniedError":return new k(v.PERMISSION_DENIED,"".concat(t,": ").concat(e));case"ConstraintNotSatisfiedError":return new k(v.CONSTRAINT_NOT_SATISFIED,"".concat(t,": ").concat(e));default:return _.error("getUserMedia unexpected error",t),new k(v.UNEXPECTED_ERROR,"".concat(t,": ").concat(e))}}function fa(t,e){const i=t.getVideoTracks()[0],n=t.getAudioTracks()[0],r=e.getVideoTracks()[0],o=e.getAudioTracks()[0];o&&(n&&t.removeTrack(n),t.addTrack(o)),r&&(i&&t.removeTrack(i),t.addTrack(r))}const en=new class extends $t{get state(){return this._state}set state(t){t!==this._state&&(this.emit(es.STATE_CHANGE,t),this._state=t)}constructor(){super(),D(this,"_state",Uc.IDLE),D(this,"isAccessMicrophonePermission",!1),D(this,"isAccessCameraPermission",!1),D(this,"lastAccessMicrophonePermission",!1),D(this,"lastAccessCameraPermission",!1),D(this,"checkdeviceMatched",!1),D(this,"deviceInfoMap",new Map),this.init().then(()=>{navigator.mediaDevices.addEventListener&&navigator.mediaDevices.addEventListener("devicechange",this.updateDevicesInfo.bind(this)),window.setInterval(()=>{(y("ENUMERATE_DEVICES_INTERVAL")||(au()||ou()===we.HARMONY_OS)&&Vr())&&this.updateDevicesInfo()},y("ENUMERATE_DEVICES_INTERVAL_TIME"))}).catch(t=>_.error(t.toString()))}enumerateDevices(i,n){return C(this,arguments,function*(t,e){let r=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(!navigator.mediaDevices||!navigator.mediaDevices.enumerateDevices)return new k(v.NOT_SUPPORTED,"enumerateDevices() not supported.").throw();const o=yield navigator.mediaDevices.enumerateDevices(),s=this.checkMediaDeviceInfoIsOk(o);let a=!this.isAccessMicrophonePermission&&t,c=!this.isAccessCameraPermission&&e;s.audio&&(a=!1),s.video&&(c=!1);let d=null,l=null,u=null;if(!r&&(a||c)){if(sm.isLocked&&(_.debug("[device manager] wait GUM lock"),(yield sm.lock())(),_.debug("[device manager] GUM unlock")),QI&&(a=!1,this.isAccessMicrophonePermission=!0),ZI&&(c=!1,this.isAccessCameraPermission=!0),_.debug("[device manager] check media device permissions",t,e,a,c),a&&c){try{u=yield navigator.mediaDevices.getUserMedia({audio:!0,video:!0})}catch(h){const p=Tu(h.name||h.code||h,h.message);if(p.code===v.PERMISSION_DENIED)throw p;_.warning("getUserMedia failed in getDevices",p)}this.isAccessCameraPermission=!0,this.isAccessMicrophonePermission=!0}else if(a){try{d=yield navigator.mediaDevices.getUserMedia({audio:t})}catch(h){const p=Tu(h.name||h.code||h,h.message);if(p.code===v.PERMISSION_DENIED)throw p;_.warning("getUserMedia failed in getDevices",p)}this.isAccessMicrophonePermission=!0}else if(c){try{l=yield navigator.mediaDevices.getUserMedia({video:e})}catch(h){const p=Tu(h.name||h.code||h,h.message);if(p.code===v.PERMISSION_DENIED)throw p;_.warning("getUserMedia failed in getDevices",p)}this.isAccessCameraPermission=!0}_.debug("[device manager] mic permission",t,"cam permission",e)}try{const h=yield navigator.mediaDevices.enumerateDevices();return d&&d.getTracks().forEach(p=>p.stop()),l&&l.getTracks().forEach(p=>p.stop()),u&&u.getTracks().forEach(p=>p.stop()),d=null,l=null,u=null,h}catch(h){return d&&d.getTracks().forEach(p=>p.stop()),l&&l.getTracks().forEach(p=>p.stop()),u&&u.getTracks().forEach(p=>p.stop()),d=null,l=null,u=null,new k(v.ENUMERATE_DEVICES_FAILED,h.toString()).throw()}})}getRecordingDevices(){return C(this,arguments,function*(){let t=arguments.length>0&&arguments[0]!==void 0&&arguments[0];return(yield this.enumerateDevices(!0,!1,t)).filter(e=>e.kind==="audioinput")})}getCamerasDevices(){return C(this,arguments,function*(){let t=arguments.length>0&&arguments[0]!==void 0&&arguments[0];return(yield this.enumerateDevices(!1,!0,t)).filter(e=>e.kind==="videoinput")})}getSpeakers(){return C(this,arguments,function*(){let t=arguments.length>0&&arguments[0]!==void 0&&arguments[0];return(yield this.enumerateDevices(!0,!1,t)).filter(e=>e.kind==="audiooutput")})}searchDeviceIdByName(t){let e=null;return this.deviceInfoMap.forEach(i=>{i.device.label===t&&(e=i.device.deviceId)}),e}getDeviceById(t){return C(this,null,function*(){const e=(yield this.enumerateDevices(!0,!0,!0)).find(i=>i.deviceId===t);if(!e)throw new k(v.DEVICE_NOT_FOUND,"deviceId: ".concat(t));return e})}init(){return C(this,null,function*(){this.state=Uc.INITING;try{yield this.updateDevicesInfo(),this.state=Uc.INITEND}catch(t){throw _.warning("Device Detection functionality cannot start properly.",t.toString()),this.state=Uc.IDLE,(typeof isSecureContext=="boolean"?isSecureContext:location.protocol==="https:"||location.protocol==="file:"||location.hostname==="localhost"||location.hostname==="127.0.0.1"||location.hostname==="::1")||new k(v.WEB_SECURITY_RESTRICT,"Your context is limited by web security, please try using https protocol or localhost.").throw(),t}})}updateDevicesInfo(){return C(this,null,function*(){const t=yield this.enumerateDevices(!0,!0,!0),e=Date.now(),i=[];if(t[0]&&t[0].label&&this.checkdeviceMatched===!1){this.checkdeviceMatched=!0;const r=t.find(s=>s.kind==="audioinput"&&s.deviceId==="default"),o=t.find(s=>s.kind==="audiooutput"&&s.deviceId==="default");r&&o?o.groupId===r.groupId?_.debug("[device-check] default input ".concat(r.label," and output ").concat(o.label," is the same group")):_.debug("[device-check] default input ".concat(r.label," and output ").concat(o.label," is not the same group")):_.debug("[device-check] default input or output not found")}const n=this.checkMediaDeviceInfoIsOk(t);if(t.forEach(r=>{if(!r.deviceId)return;const o=this.deviceInfoMap.get("".concat(r.kind,"_").concat(r.deviceId));if((o?o.state:"INACTIVE")!=="ACTIVE"){const s={initAt:e,updateAt:e,device:r,state:"ACTIVE"};this.deviceInfoMap.set("".concat(r.kind,"_").concat(r.deviceId),s),i.push(s)}o&&(o.updateAt=e)}),this.deviceInfoMap.forEach((r,o)=>{r.state==="ACTIVE"&&r.updateAt!==e&&(r.state="INACTIVE",i.push(r))}),this.state!==Uc.INITEND)return n.audio&&(this.lastAccessMicrophonePermission=!0,this.isAccessMicrophonePermission=!0),void(n.video&&(this.lastAccessCameraPermission=!0,this.isAccessCameraPermission=!0));i.forEach(r=>{switch(r.device.kind){case"audioinput":this.lastAccessMicrophonePermission&&this.isAccessMicrophonePermission&&this.emit(es.RECORDING_DEVICE_CHANGED,r);break;case"videoinput":this.lastAccessCameraPermission&&this.isAccessCameraPermission&&this.emit(es.CAMERA_DEVICE_CHANGED,r);break;case"audiooutput":this.lastAccessMicrophonePermission&&this.isAccessMicrophonePermission&&this.emit(es.PLAYOUT_DEVICE_CHANGED,r)}}),n.audio&&(this.lastAccessMicrophonePermission=!0,this.isAccessMicrophonePermission=!0),n.video&&(this.lastAccessCameraPermission=!0,this.isAccessCameraPermission=!0)})}checkMediaDeviceInfoIsOk(t){const e=t.filter(r=>r.kind==="audioinput"),i=t.filter(r=>r.kind==="videoinput"),n={audio:!1,video:!1};for(const r of e)if(r.label&&r.deviceId){n.audio=!0;break}for(const r of i)if(r.label&&r.deviceId){n.video=!0;break}return n}};let am=!1;const nn=new class extends $t{constructor(){super(...arguments),D(this,"onAutoplayFailed",void 0),D(this,"onAudioAutoplayFailed",void 0)}};function $I(){if(vt(),!am){const t=e=>{e.preventDefault(),am=!1,bc()?document.body.removeEventListener("click",t,!0):(document.body.removeEventListener("touchstart",t,!0),document.body.removeEventListener("mousedown",t,!0))};am=!0,bc()?document.body.addEventListener("click",t,!0):(document.body.addEventListener("touchstart",t,!0),document.body.addEventListener("mousedown",t,!0)),_.info("detect media autoplay failed, document: https://docs.agora.io/cn/Voice/autoplay_policy_web_ng?platform=Web"),nn.onAutoplayFailed?nn.onAutoplayFailed():nn.onAudioAutoplayFailed?_.warning(`AgoraRTC.onAudioAutoplayFailed has been deprecated in favor of AgoraRTC.onAutoplayFailed. + + Please refer to the Agora document to migrate the newer API, https://docs.agora.io/en/Voice/autoplay_policy_web_ng?platform=Web .`):_.warning(`We have detected a media autoplay failed event, and found out that you haven't implemented AgoraRTC.onAutoplayFailed callback yet. + + It will cause audio/video element not playing automatically on some browsers without user interaction, possibly hurting user experiences. + + Please refer to the Agora document to properly handle autoplay failed event, https://docs.agora.io/en/Voice/autoplay_policy_web_ng?platform=Web .`),nn.emit("autoplay-failed")}}function tA(t,e,i,n){if(!t)return;const r=Z.getBaseInfoBySessionId(t);if(!r)return;const o=r.info,s=Date.now(),a=Qt(Qt({},o),{},{vid:o.vid===void 0?0:Number(o.vid),lts:s,elapse:s-r.startTime,cbRegistered:nn.onAutoplayFailed||nn.onAudioAutoplayFailed?1:-1,errorMsg:i,mediaType:e,trackId:n,extend:void 0});Z.send({type:Jt.AUTOPLAY_FAILED,data:a},!0)}const p3=["play","playing","loadeddata","canplay","pause","stalled","suspend","waiting","abort","emptied","ended","error"],Ri=new class{constructor(){D(this,"onAutoplayFailed",void 0),D(this,"elementMap",new Map),D(this,"elementStateMap",new Map),D(this,"elementsNeedToResume",[]),D(this,"sinkIdMap",new Map),D(this,"autoResumeAfterInterruption",t=>{Array.from(this.elementMap.entries()).forEach(e=>{let[i,n]=e;const r=this.elementStateMap.get(i),o=n.srcObject.getAudioTracks()[0],s=o&&o.readyState;if(_.debug("resume after interrupted, ele: ".concat(r," audio: ").concat(s," ").concat(t)),s==="live"){if(t)return n.pause(),void n.play();if(Mt.curState==="running")return na()?(n.pause(),void n.play()):void(r&&r==="paused"&&n.play())}})}),D(this,"autoResumeAfterInterruptionOnIOS15_16",()=>{Array.from(this.elementMap.entries()).forEach(t=>{let[e,i]=t;const n=i.srcObject.getAudioTracks()[0];n&&n.readyState==="live"&&(_.debug("auto resume after interruption inside autoResumeAfterInterruptionOnIOS15"),i.pause(),i.play())})}),this.autoResumeAudioElement(),Mt.on(Ve.IOS_INTERRUPTION_END,this.autoResumeAfterInterruption),Mt.on(Ve.IOS_15_16_INTERRUPTION_END,this.autoResumeAfterInterruptionOnIOS15_16),Mt.on(Ve.STATE_CHANGE,()=>{li()&&Mt.prevState==="suspended"&&Mt.curState==="running"&&this.autoResumeAfterInterruption()})}setSinkID(t,e){return C(this,null,function*(){const i=this.elementMap.get(t);if(this.sinkIdMap.set(t,e),i)try{yield i.setSinkId(e)}catch(n){throw new k(v.PERMISSION_DENIED,"can not set sink id: "+n.toString())}})}play(t,e,i,n){if(this.elementMap.has(e))return;const r=document.createElement("audio");r.autoplay=!0,r.srcObject=new MediaStream([t]),this.bindAudioElementEvents(e,r),this.elementMap.set(e,r),this.elementStateMap.set(e,ii.INIT),this.setVolume(e,i);const o=this.sinkIdMap.get(e);if(o)try{r.setSinkId(o).catch(a=>{_.warning("[".concat(e,"] set sink id failed"),a.toString())})}catch(a){_.warning("[".concat(e,"] set sink id failed"),a.toString())}const s=r.play();s&&s.then&&s.catch(a=>{n&&tA(n,"audio",a.message,e),_.warning("audio element play warning",a.toString()),this.elementMap.has(e)&&a.name==="NotAllowedError"&&(_.warning("detected audio element autoplay failed"),this.elementsNeedToResume.push(r),du(()=>{this.onAutoplayFailed&&this.onAutoplayFailed(),$I()}))})}updateTrack(t,e){const i=this.elementMap.get(t);i&&(i.srcObject=new MediaStream([e]))}isPlaying(t){return this.elementMap.has(t)&&this.elementStateMap.get(t)==="playing"}setVolume(t,e){const i=this.elementMap.get(t);i&&(e=Math.max(0,Math.min(100,e)),i.volume=e/100)}stop(t){const e=this.elementMap.get(t);if(this.sinkIdMap.delete(t),!e)return;const i=this.elementsNeedToResume.indexOf(e);this.elementsNeedToResume.splice(i,1),e.srcObject=null,e.remove(),this.elementMap.delete(t),this.elementStateMap.delete(t)}bindAudioElementEvents(t,e){p3.forEach(i=>{e.addEventListener(i,n=>{const r=this.elementStateMap.get(t),o=n.type==="pause"?"paused":n.type;if(_.debug("[".concat(t,"] audio-element-status change ").concat(r," => ").concat(o)),n.type==="error"){const s=e==null?void 0:e.error;s&&_.error("[".concat(t,"] media error, code: ").concat(s.code,", message: ").concat(s.message))}this.elementStateMap.set(t,o)})})}getPlayerState(t){return this.elementStateMap.get(t)||"uninit"}autoResumeAudioElement(){const t=()=>{this.elementsNeedToResume.forEach(e=>{e.play().then(i=>{_.debug("Auto resume audio element success")}).catch(i=>{_.warning("Auto resume audio element failed!",i)})}),this.elementsNeedToResume=[]};new K(e=>{document.body?e():window.addEventListener("load",()=>e())}).then(()=>{bc()?document.body.addEventListener("click",t,!0):(document.body.addEventListener("touchstart",t,!0),document.body.addEventListener("mousedown",t,!0))})}};function le(){return function(t,e,i){const n=i.value;return typeof n=="function"&&(i.value=function(){this._isClosed&&new k(v.INVALID_OPERATION,"[".concat(this.getTrackId(),"] cannot operate a closed track")).print("warning",_);for(var r=arguments.length,o=new Array(r),s=0;s{a.then(c).catch(d)}):a}),i}}class eA extends $t{constructor(e){super(),D(this,"name","VideoProcessorDestination"),D(this,"ID","0"),D(this,"_source",void 0),D(this,"videoContext",void 0),D(this,"inputTrack",void 0),this.videoContext=e}get kind(){return"video"}get enabled(){return!0}pipe(){throw new k(v.NOT_SUPPORTED,"VideoProcessor cannot pipe to any other Processor")}unpipe(){throw new k(v.NOT_SUPPORTED,"VideoProcessor cannot unpipe to any other Processor")}enable(){}disable(){}updateInput(e){if(e.context!==this.videoContext)throw new Error(`ProcessorContext passed to VideoTrack.processorDestination doesn't match it's belonging VideoTrack's context. +Probably you are making pipeline like this: +videoTrack1.pipe(processor).pipe(videoTrack2.processorDestination).`);e.track&&e.track!==this.inputTrack&&(this.videoContext.chained=!0,this.inputTrack=e.track,this.emit(ui.ON_TRACK,e.track))}reset(){this.inputTrack=void 0,this.videoContext.chained=!1,this.emit(ui.ON_TRACK,void 0)}}class iA extends $t{set chained(e){this._chained=e}get chained(){return this._chained}constructor(e,i){super(),D(this,"constraintsMap",new Map),D(this,"statsRegistry",[]),D(this,"usageRegistry",[]),D(this,"trackId",void 0),D(this,"direction",void 0),D(this,"_chained",!1),this.trackId=e,this.direction=i}getConstraints(){return C(this,null,function*(){return yield We(this,Zi.REQUEST_CONSTRAINTS)})}requestApplyConstraints(e,i){return C(this,null,function*(){var n;return _.info("processor ".concat(i.name," requestApplyConstraints for ").concat(this.trackId)),e&&this.constraintsMap.set(i,e),Bt(this,Zi.REQUEST_UPDATE_CONSTRAINTS,Array.from(Ui(n=this.constraintsMap).call(n)))})}requestRevertConstraints(e){return C(this,null,function*(){var i;if(this.constraintsMap.has(e))return _.info("processor ".concat(e.name," requestRevertConstraints for ").concat(this.trackId)),this.constraintsMap.delete(e),Bt(this,Zi.REQUEST_UPDATE_CONSTRAINTS,Array.from(Ui(i=this.constraintsMap).call(i)))})}registerStats(e,i,n){this.statsRegistry.find(r=>r.processorID===e.ID&&r.processorName===e.name&&r.type===i)||this.statsRegistry.push({processorName:e.name,processorID:e.ID,type:i,cb:n})}unregisterStats(e,i){const n=this.statsRegistry.findIndex(r=>r.processorID===e.ID&&r.processorName===e.name&&r.type===i);n!==-1&&this.statsRegistry.splice(n,1)}gatherStats(){const e=[];for(const{processorID:i,processorName:n,type:r,cb:o}of this.statsRegistry)try{const s=o();e.push({processorID:i,processorName:n,type:r,stats:s})}catch(s){_.error(new k(v.UNEXPECTED_ERROR,s.message))}return e}registerUsage(e,i){this.usageRegistry.find(n=>n.processorID===e.ID&&n.processorName===e.name)||this.usageRegistry.push({processorID:e.ID,processorName:e.name,cb:i})}unregisterUsage(e){const i=this.usageRegistry.findIndex(n=>n.processorID===e.ID&&n.processorName===e.name);i!==-1&&this.usageRegistry.splice(i,1)}gatherUsage(){return C(this,null,function*(){const e=[];if(!this.chained)return[];for(const{cb:i}of this.usageRegistry)try{let n=i();n instanceof K&&(n=yield n),e.push(Qt(Qt({},n),{},{direction:this.direction}))}catch(n){_.error("gather extension usage error",n)}return e})}getDirection(){return this.direction}}class nA extends $t{constructor(e){super(),D(this,"name","AudioProcessorDestination"),D(this,"ID","0"),D(this,"inputTrack",void 0),D(this,"inputNode",void 0),D(this,"audioProcessorContext",void 0),D(this,"_source",void 0),this.audioProcessorContext=e}get kind(){return"audio"}get enabled(){return!0}pipe(){throw new k(v.NOT_SUPPORTED,"AudioProcessorDestination cannot pipe to any other Processor")}unpipe(){throw new k(v.NOT_SUPPORTED,"AudioProcessor cannot unpipe to any other Processor")}enable(){}disable(){}reset(){this.inputTrack=void 0,this.inputNode=void 0,this.audioProcessorContext.chained=!1,this.emit(ui.ON_TRACK,void 0),this.emit(ui.ON_NODE,void 0)}updateInput(e){if(e.context!==this.audioProcessorContext)throw new Error(`ProcessorContext passed to AudioTrack.processorDestination doesn't match it's belonging AudioTrack's context. + Probably you are making pipeline like this: audioTrack1.pipe(processor).pipe(audioTrack2.processorDestination).`);e.track&&this.inputTrack!==e.track&&(this.audioProcessorContext.chained=!0,this.inputTrack=e.track,this.emit(ui.ON_TRACK,this.inputTrack)),e.node&&this.inputNode!==e.node&&(this.audioProcessorContext.chained=!0,this.inputNode=e.node,this.emit(ui.ON_NODE,this.inputNode))}}class rA extends $t{set chained(e){this._chained=e}get chained(){return this._chained}constructor(e,i,n){super(),D(this,"constraintsMap",new Map),D(this,"statsRegistry",[]),D(this,"audioContext",void 0),D(this,"trackId",void 0),D(this,"direction",void 0),D(this,"usageRegistry",[]),D(this,"_chained",!1),this.audioContext=e,this.trackId=i,this.direction=n}getConstraints(){return C(this,null,function*(){return We(this,Zi.REQUEST_CONSTRAINTS)})}getAudioContext(){return this.audioContext}requestApplyConstraints(e,i){return C(this,null,function*(){var n;return _.info("processor ".concat(i.name," requestApplyConstraints for ").concat(this.trackId)),e&&this.constraintsMap.set(i,e),Bt(this,Zi.REQUEST_UPDATE_CONSTRAINTS,Array.from(Ui(n=this.constraintsMap).call(n)))})}requestRevertConstraints(e){return C(this,null,function*(){var i;if(this.constraintsMap.has(e))return this.constraintsMap.delete(e),Bt(this,Zi.REQUEST_UPDATE_CONSTRAINTS,Array.from(Ui(i=this.constraintsMap).call(i)))})}registerStats(e,i,n){this.statsRegistry.find(r=>r.processorID===e.ID&&r.processorName===e.name&&r.type===i)||this.statsRegistry.push({processorName:e.name,processorID:e.ID,type:i,cb:n})}unregisterStats(e,i){const n=this.statsRegistry.findIndex(r=>r.processorID===e.ID&&r.processorName===e.name&&r.type===i);n!==-1&&this.statsRegistry.splice(n,1)}gatherStats(){const e=[];for(const{processorID:i,processorName:n,type:r,cb:o}of this.statsRegistry)try{const s=o();e.push({processorID:i,processorName:n,type:r,stats:s})}catch(s){_.error(new k(v.UNEXPECTED_ERROR,s.message))}return e}registerUsage(e,i){this.usageRegistry.find(n=>n.processorID===e.ID&&n.processorName===e.name)||this.usageRegistry.push({processorID:e.ID,processorName:e.name,cb:i})}unregisterUsage(e){const i=this.usageRegistry.findIndex(n=>n.processorID===e.ID&&n.processorName===e.name);i!==-1&&this.usageRegistry.splice(i,1)}gatherUsage(){return C(this,null,function*(){const e=[];if(!this.chained)return[];for(const{cb:i}of this.usageRegistry)try{let n=i();n instanceof K&&(n=yield n),e.push(Qt(Qt({},n),{},{direction:this.direction}))}catch(n){_.error("gather extension usage error",n)}return e})}getDirection(){return this.direction}}class cm extends $t{get isPlayed(){return!0}get isFreeze(){return!1}constructor(){super(),D(this,"context",void 0),D(this,"processSourceNode",void 0),D(this,"outputTrack",void 0),D(this,"processedNode",void 0),D(this,"clonedTrack",void 0),D(this,"outputNode",void 0),this.outputNode=new _3}setVolume(){}createOutputTrack(){throw new k(v.NOT_SUPPORTED,"can not create output MediaStreamTrack when WebAudio disabled")}getOriginVolumeLevel(){return 0}getAccurateVolumeLevel(){return 0}stopGetAudioBuffer(){}startGetAudioBuffer(){}play(){}stop(){}destroy(){}updateTrack(){}updateOriginTrack(){}createMediaStreamSourceNode(){}}class _3{disconnect(){}connect(){}}function oA(t){return new K((e,i)=>{let n=!1;const r=document.createElement("video");r.setAttribute("autoplay",""),r.setAttribute("muted",""),r.muted=!0,r.autoplay=!0,r.setAttribute("playsinline",""),r.setAttribute("style","position: fixed; top: 0; left: 0; width: 1px; height: 1px"),document.body.appendChild(r);const o=li()?"canplay":"playing";r.addEventListener(o,()=>{const s=r.videoWidth,a=r.videoHeight;!s&&ne()||(n=!0,r.srcObject=null,r.remove(),e([s,a]))}),r.srcObject=new MediaStream([t]),r.play().catch(lu),setTimeout(()=>{n||(r.srcObject=null,r.remove(),e([r.videoWidth,r.videoHeight]))},4e3)})}function Ru(t){const e={};t.facingMode&&(e.facingMode=t.facingMode),t.cameraId&&(e.deviceId={exact:t.cameraId});const i=Nn(t.encoderConfig);return i.width!=null&&(e.width=i.width),i.height!=null&&(e.height=i.height),!nI()&&i.frameRate&&(e.frameRate=i.frameRate),Xy()&&typeof e.frameRate=="object"&&(e.frameRate.max=60),ne()&&(e.frameRate={ideal:30,max:30}),e}function sA(t){const e={};return nI()||(t.AGC!==void 0&&(e.autoGainControl=t.AGC),t.AEC!==void 0&&(e.echoCancellation=t.AEC),t.ANS!==void 0&&(e.noiseSuppression=t.ANS,xr()&&t.ANS&&(e.googHighpassFilter=t.ANS))),e}function aA(t){const e=sA(t);if(t.encoderConfig){const i=gu(t.encoderConfig);e.channelCount=i.stereo?2:1,e.sampleRate=i.sampleRate,e.sampleSize=i.sampleSize}return t.microphoneId&&(e.deviceId={exact:t.microphoneId}),au()&&(e.sampleRate=void 0),e}const E3=t=>{const e=t._encoderConfig;if(!e)return;const{frameRate:i,width:n,height:r}=t.getMediaStreamTrackSettings();let{frameRate:o=i,width:s=n,height:a=r}=e;if(!o||!s||!a)return;s=xE(s),a=xE(a),o=xE(o);const{max:c,min:d}=function(p,g,m){const f=200*Math.pow(m/15,.6)*Math.pow(p*g/640/360,.75);return{min:Math.floor(f),max:Math.floor(4*f)}}(s,a,o),{bitrateMax:l,bitrateMin:u}=e||{};l||_.debug("calculate bitrate: [w: ".concat(s,", h: ").concat(a,", fps: ").concat(o,"] => [brMax: ").concat(l,", brMin: ").concat(u,"]"));const{maxFramerate:h}=y("ENCODER_CONFIG_LIMIT");return h&&typeof h=="number"&&(o=Math.min(o,h)),{frameRate:o,bitrateMax:l||c,bitrateMin:u||d,scaleResolutionDownBy:1,scale:0}},cA=(t,e,i)=>C(this,null,function*(){return yield((n,r,o)=>C(this,null,function*(){const s=function(d){const l=[];for(let u=0;u{const e=document.createElement("canvas");return e.width=2,e.height=2,new K((i,n)=>{e.toBlob(r=>C(this,null,function*(){if(e.remove(),r){const o=yield dA(r);i({buffer:o,width:e.width,height:e.height})}else n(new k(v.CONVERTING_VIDEO_FRAME_TO_BLOB_FAILED))}),t,1)})},dA=t=>C(this,null,function*(){const e=yield t.arrayBuffer();return new Uint8Array(e)});var lA,uA,hA,pA,_A,EA,mA,fA,gA,SA,TA,RA,vA,CA,yA,IA,AA,bA,ee,wA,OA,NA,DA,PA,LA,gr,kA,MA,UA,xA,VA,FA,BA,jA,GA,WA,HA,KA,YA,Ke;let ae=(lA=it({argsMap:(t,e)=>[t.getTrackId(),e],throttleTime:300}),uA=it({argsMap:(t,e)=>[t.getTrackId(),e]}),hA=le(),pA=sa("LocalAudioTrack","_enabledMutex"),_A=it({argsMap:(t,e)=>[t.getTrackId(),e]}),EA=le(),mA=sa("LocalAudioTrack","_enabledMutex"),fA=it({argsMap:(t,e)=>[t.getTrackId(),e]}),gA=le(),SA=le(),TA=le(),RA=it({argsMap:t=>[t.getTrackId()]}),vA=le(),CA=it({argsMap:t=>[t.getTrackId()]}),yA=le(),IA=it({argsMap:t=>[t.getTrackId()]}),AA=it({argsMap:(t,e)=>[t.getTrackId(),e.name]}),bA=it({argsMap:t=>[t.getTrackId()]}),gt((ee=class extends Ea{get _source(){return this.initWebAudio()}set _source(t){this._trackSource=t}get processorContext(){return this._processorContext||(this._processorContext=this.initProcessor().processorContext),this._processorContext}get processorDestination(){return this._processorDestination||(this._processorDestination=this.initProcessor().processorDestination),this._processorDestination}get isPlaying(){return this._useAudioElement?Ri.isPlaying(this.getTrackId()):this._source.isPlayed}get __className__(){return"LocalAudioTrack"}constructor(t,e,i,n){super(t,i),D(this,"trackMediaType",_a.AUDIO),D(this,"_encoderConfig",void 0),D(this,"_trackSource",void 0),D(this,"metadata",[]),D(this,"_enabled",!0),D(this,"_volume",100),D(this,"_useAudioElement",!0),D(this,"_bypassWebAudio",!1),D(this,"processor",void 0),D(this,"_processorContext",void 0),D(this,"_processorDestination",void 0),D(this,"_getOriginVolumeLevel",void 0),this._encoderConfig=e,this._getOriginVolumeLevel=!!n,this._trackSource=new cm,y("DISABLE_WEBAUDIO")&&(this._bypassWebAudio=!0),y("LOCAL_AUDIO_TRACK_USES_WEB_AUDIO")&&(this._useAudioElement=!1),je()&&!$i?setTimeout(()=>this.initWebAudio()):this.initWebAudio()}setVolume(t){xt(t,"volume",0,1e3),this._volume=t,this._source.setVolume(t/100),this._useAudioElement&&Ri.setVolume(this.getTrackId(),t);try{if(this._bypassWebAudio)return void _.debug("[".concat(this.getTrackId(),"] setVolume returned because no pass through WebAudio."));const e=this._source.createOutputTrack();this._mediaStreamTrack!==e&&(this._mediaStreamTrack=e,Bt(this,J.NEED_REPLACE_TRACK,this).then(()=>{_.debug("[".concat(this.getTrackId(),"] replace web audio track success"))}).catch(i=>{_.warning("[".concat(this.getTrackId(),"] replace web audio track failed"),i)}))}catch(e){}}getVolumeLevel(){return this._muted&&this.enabled&&this._getOriginVolumeLevel?this._source.getOriginVolumeLevel():this._source.getAccurateVolumeLevel()}setPlaybackDevice(t){return C(this,null,function*(){if(!this._useAudioElement||!VI())throw new k(v.NOT_SUPPORTED,"your browser does not support setting the audio output device");yield Ri.setSinkID(this.getTrackId(),t)})}setEnabled(t,e,i){return C(this,null,function*(){return this._setEnabled(t,e,i)})}_setEnabled(t,e,i){return C(this,null,function*(){if(!i){if(t===this._enabled)return;this.stateCheck("enabled",t)}if(_.info("[".concat(this.getTrackId(),"] start setEnabled"),t),t){this._originMediaStreamTrack.enabled=!0;try{i||(this._enabled=!0),yield Bt(this,J.NEED_ENABLE_TRACK,this),_.info("[".concat(this.getTrackId(),"] setEnabled to ").concat(t," success"))}catch(n){throw i||(this._enabled=!1),_.error("[".concat(this.getTrackId(),"] setEnabled to true error"),n.toString()),n}}else{this._originMediaStreamTrack.enabled=!1,i||(this._enabled=!1);try{yield Bt(this,J.NEED_DISABLE_TRACK,this)}catch(n){throw i||(this._enabled=!0),_.error("[".concat(this.getTrackId(),"] setEnabled to false error"),n.toString()),n}}})}setMuted(t){return C(this,null,function*(){t!==this._muted&&(this.stateCheck("muted",t),this._muted=t,this._originMediaStreamTrack.enabled=!t,_.debug("[".concat(this.getTrackId(),"] start set muted: ").concat(t)),t?yield Bt(this,J.NEED_MUTE_TRACK,this):yield Bt(this,J.NEED_UNMUTE_TRACK,this))})}getStats(){return _o(()=>{_.warning("[deprecated] LocalAudioTrack.getStats will be removed in the future, use AgoraRTCClient.getLocalAudioStats instead")},"localAudioTrackGetStatsWarning"),zi(this,J.GET_STATS)||Qt({},em)}setAudioFrameCallback(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:4096;if(!t)return this._source.removeAllListeners(Qi.ON_AUDIO_BUFFER),void this._source.stopGetAudioBuffer();this._source.startGetAudioBuffer(e),this._source.removeAllListeners(Qi.ON_AUDIO_BUFFER),this._source.on(Qi.ON_AUDIO_BUFFER,i=>t(i))}play(){_.debug("[".concat(this.getTrackId(),"] start audio playback")),this._useAudioElement?(_.debug("[".concat(this.getTrackId(),"] start audio playback in element")),Ri.play(this._mediaStreamTrack,this.getTrackId(),this._volume)):this._source.play()}stop(){_.debug("[".concat(this.getTrackId(),"] stop audio playback")),this._useAudioElement?Ri.stop(this.getTrackId()):this._source.stop()}close(){super.close(),this._processorDestination&&this.unbindProcessorDestinationEvents(this._processorDestination),this._processorContext&&this.unbindProcessorContextEvents(this._processorContext),this.unpipe(),this._processorDestination&&this._processorDestination._source&&this._processorDestination._source.unpipe(),this._source.destroy()}_updatePlayerSource(){let t=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];_.debug("[".concat(this.getTrackId(),"] update player source track")),t&&this._source.updateTrack(this._mediaStreamTrack),this._useAudioElement&&Ri.updateTrack(this.getTrackId(),this._mediaStreamTrack)}_updateOriginMediaStreamTrack(t,e){return C(this,null,function*(){this._originMediaStreamTrack!==t&&(this._originMediaStreamTrack&&(this._originMediaStreamTrack.removeEventListener("ended",this._handleTrackEnded),e&&this._originMediaStreamTrack.stop()),t.addEventListener("ended",this._handleTrackEnded),this._originMediaStreamTrack=t,this._muted&&(this._originMediaStreamTrack.enabled=!1),this.processor&&this._processorContext&&this.processor.updateInput({track:t,context:this._processorContext}),this._mediaStreamTrack!==this._source.outputTrack?(this._mediaStreamTrack=this._originMediaStreamTrack,this._updatePlayerSource(),yield Bt(this,J.NEED_REPLACE_TRACK,this)):this._source.updateTrack(this._originMediaStreamTrack),this._getOriginVolumeLevel&&this._source.updateOriginTrack(t))})}renewMediaStreamTrack(t){return K.resolve(void 0)}pipe(t){if(this._bypassWebAudio)throw new k(v.INVALID_OPERATION,"Can not process AudioTrack when bypassWebAudio set to true.");if(this.processor===t)return t;if(t._source)throw new k(v.INVALID_OPERATION,"Processor ".concat(t.name," already piped, please call unpipe beforehand."));return this.unpipe(),this.processor=t,this.processor._source=this,t.updateInput({track:this._originMediaStreamTrack,node:this._source.processSourceNode,context:this.processorContext}),t}unpipe(){var t;if(!this.processor)return;const e=this.processor;(t=this._source.processSourceNode)===null||t===void 0||t.disconnect(),this.processor._source=!1,this.processor=void 0,e.reset()}bindProcessorDestinationEvents(t){t.on(ui.ON_TRACK,e=>C(this,null,function*(){e?e!==this._mediaStreamTrack&&(this._mediaStreamTrack=e,this._updatePlayerSource(!1),this._source.processedNode=this._source.createMediaStreamSourceNode(e),yield Bt(this,J.NEED_REPLACE_TRACK,this)):this._mediaStreamTrack!==this._originMediaStreamTrack&&(this._mediaStreamTrack=this._originMediaStreamTrack,this._updatePlayerSource(),yield Bt(this,J.NEED_REPLACE_TRACK,this))})),t.on(ui.ON_NODE,e=>{this._source.processedNode=e})}unbindProcessorDestinationEvents(t){t.removeAllListeners(ui.ON_TRACK),t.removeAllListeners(ui.ON_NODE)}bindProcessorContextEvents(t){t.on(Zi.REQUEST_CONSTRAINTS,e=>C(this,null,function*(){e(this._originMediaStreamTrack.getSettings())}))}unbindProcessorContextEvents(t){t.removeAllListeners(Zi.REQUEST_CONSTRAINTS)}initWebAudio(){return this._trackSource instanceof cm&&(this._trackSource=new zI(this._mediaStreamTrack,!1,this._getOriginVolumeLevel?this._mediaStreamTrack:void 0)),this._trackSource}initProcessor(){const t=new rA(this._source.context,this.getTrackId(),"local"),e=new nA(t);return this._processorContext=t,this._processorDestination=e,this.bindProcessorContextEvents(t),this.bindProcessorDestinationEvents(e),this._source.on(Qi.UPDATE_SOURCE,()=>{this.processor&&this.processor.updateInput({node:this._source.processSourceNode,context:t})}),this._useAudioElement&&(this._useAudioElement=!1,this.isPlaying&&(Ri.stop(this.getTrackId()),this._source.play()),Bt(this,J.NEED_REPLACE_MIXING_TRACK,this).then(()=>{_.debug("[".concat(this.getTrackId(),"] replace from origin track to web audio track success"))}).catch(i=>{_.warning("[".concat(this.getTrackId(),"] replace from origin track to web audio track failed"),i)})),{processorContext:t,processorDestination:e}}}).prototype,"setVolume",[lA],Object.getOwnPropertyDescriptor(ee.prototype,"setVolume"),ee.prototype),gt(ee.prototype,"setPlaybackDevice",[uA,hA],Object.getOwnPropertyDescriptor(ee.prototype,"setPlaybackDevice"),ee.prototype),gt(ee.prototype,"setEnabled",[pA,_A,EA],Object.getOwnPropertyDescriptor(ee.prototype,"setEnabled"),ee.prototype),gt(ee.prototype,"setMuted",[mA,fA,gA],Object.getOwnPropertyDescriptor(ee.prototype,"setMuted"),ee.prototype),gt(ee.prototype,"getStats",[SA],Object.getOwnPropertyDescriptor(ee.prototype,"getStats"),ee.prototype),gt(ee.prototype,"setAudioFrameCallback",[TA],Object.getOwnPropertyDescriptor(ee.prototype,"setAudioFrameCallback"),ee.prototype),gt(ee.prototype,"play",[RA,vA],Object.getOwnPropertyDescriptor(ee.prototype,"play"),ee.prototype),gt(ee.prototype,"stop",[CA,yA],Object.getOwnPropertyDescriptor(ee.prototype,"stop"),ee.prototype),gt(ee.prototype,"close",[IA],Object.getOwnPropertyDescriptor(ee.prototype,"close"),ee.prototype),gt(ee.prototype,"pipe",[AA],Object.getOwnPropertyDescriptor(ee.prototype,"pipe"),ee.prototype),gt(ee.prototype,"unpipe",[bA],Object.getOwnPropertyDescriptor(ee.prototype,"unpipe"),ee.prototype),ee),xc=(wA=it({argsMap:(t,e)=>[t.getTrackId(),e]}),OA=le(),NA=sa("MicrophoneAudioTrack","_enabledMutex"),DA=it({argsMap:(t,e,i)=>[t.getTrackId(),e,i]}),PA=le(),LA=it({argsMap:t=>[t.getTrackId()]}),gt((gr=class t extends ae{get __className__(){return"MicrophoneAudioTrack"}constructor(e,i,n,r){super(e,i.encoderConfig?gu(i.encoderConfig):{},r,y("GET_VOLUME_OF_MUTED_AUDIO_TRACK")),D(this,"_config",void 0),D(this,"_deviceName","default"),D(this,"_constraints",void 0),D(this,"_originalConstraints",void 0),D(this,"_enabled",!0),this._config=i,this._constraints=n,this._originalConstraints=n,this._deviceName=e.label,typeof i.bypassWebAudio=="boolean"&&(this._bypassWebAudio=i.bypassWebAudio),(na()||OE())&&Mt.bindInterruptDetectorTrack(this)}setDevice(e){return C(this,null,function*(){if(_.info("[".concat(this.getTrackId(),"] start set device to ").concat(e)),this._enabled)try{const i=yield en.getDeviceById(e),n={};n.audio=Qt({},this._constraints),n.audio.deviceId={exact:e},this._originMediaStreamTrack.stop();let r=null;try{r=yield tn(n,this.getTrackId())}catch(o){throw _.error("[".concat(this.getTrackId(),"] setDevice failed"),o.toString()),r=yield tn({audio:this._constraints},this.getTrackId()),yield this._updateOriginMediaStreamTrack(r.getAudioTracks()[0],!1),o}yield this._updateOriginMediaStreamTrack(r.getAudioTracks()[0],!1),this._deviceName=i.label,this._config.microphoneId=e,this._constraints.deviceId={exact:e}}catch(i){throw _.error("[".concat(this.getTrackId(),"] setDevice error"),i.toString()),i}else try{const i=yield en.getDeviceById(e);this._deviceName=i.label,this._config.microphoneId=e,this._constraints.deviceId={exact:e}}catch(i){throw _.error("[".concat(this.getTrackId(),"] setDevice error"),i.toString()),i}_.info("[".concat(this.getTrackId(),"] set device to ").concat(e," success"))})}setEnabled(e,i,n){return C(this,null,function*(){if(i)return _.debug("[".concat(this.getTrackId(),"] setEnabled false (do not close microphone)")),yield Uf(t.prototype,this,"_setEnabled").call(this,e);if(!n){if(e===this._enabled)return;this.stateCheck("enabled",e)}if(_.info("[".concat(this.getTrackId(),"] start setEnabled"),e),y("AUTO_RESET_AUDIO_ROUTE")&&(li()||bn())){const a=navigator.audioSession;a&&(e||(a.type="playback"),a.type="auto")}if(!e){var r;this._originMediaStreamTrack.onended=null,this._originMediaStreamTrack.stop(),(r=this._source.clonedTrack)===null||r===void 0||r.stop(),n||(this._enabled=!1);try{yield Bt(this,J.NEED_DISABLE_TRACK,this)}catch(a){throw _.error("[".concat(this.getTrackId(),"] setEnabled false failed"),a.toString()),a}return}const o=Qt({},this._constraints),s=en.searchDeviceIdByName(this._deviceName);s&&!o.deviceId&&(o.deviceId=s);try{n||(this._enabled=!0);const a=yield tn({audio:this._constraints},this.getTrackId());yield this._updateOriginMediaStreamTrack(a.getAudioTracks()[0],!1),yield Bt(this,J.NEED_ENABLE_TRACK,this)}catch(a){throw n||(this._enabled=!1),_.error("[".concat(this.getTrackId(),"] setEnabled true failed"),a.toString()),a}_.info("[".concat(this.getTrackId(),"] setEnabled success"))})}close(){super.close(),(na()||OE())&&Mt.unbindInterruptDetectorTrack(this)}onTrackEnded(){if((li()||bn())&&this._enabled&&!this._isClosed&&Mt.duringInterruption){const e=()=>C(this,null,function*(){Mt.off(Ve.IOS_INTERRUPTION_END,e),this._enabled&&!this._isClosed&&(_.debug("[".concat(this.getTrackId(),"] try capture microphone media device for interrupted iOS device.")),yield this.setEnabled(!1),yield this.setEnabled(!0))});Mt.on(Ve.IOS_INTERRUPTION_END,e)}else _.debug("[".concat(this.getTrackId(),"] track ended")),this.safeEmit(ha.TRACK_ENDED)}renewMediaStreamTrack(e){return C(this,null,function*(){const i=e||this._constraints,n=en.searchDeviceIdByName(this._deviceName);if(n&&!i.deviceId&&(i.deviceId=n),this._constraints=i,this._enabled){this._originMediaStreamTrack.stop();const r=yield tn({audio:this._constraints},this.getTrackId());yield this._updateOriginMediaStreamTrack(r.getAudioTracks()[0],!0)}})}bindProcessorContextEvents(e){super.bindProcessorContextEvents(e),e.on(Zi.REQUEST_UPDATE_CONSTRAINTS,(i,n,r)=>C(this,null,function*(){try{const o=Object.assign({},this._originalConstraints,...i);yield this.renewMediaStreamTrack(o),n()}catch(o){r(o)}}))}unbindProcessorContextEvents(e){super.unbindProcessorContextEvents(e),e.removeAllListeners(Zi.REQUEST_UPDATE_CONSTRAINTS)}}).prototype,"setDevice",[wA,OA],Object.getOwnPropertyDescriptor(gr.prototype,"setDevice"),gr.prototype),gt(gr.prototype,"setEnabled",[NA,DA,PA],Object.getOwnPropertyDescriptor(gr.prototype,"setEnabled"),gr.prototype),gt(gr.prototype,"close",[LA],Object.getOwnPropertyDescriptor(gr.prototype,"close"),gr.prototype),gr),m3=(kA=it({argsMap:(t,e)=>[t.getTrackId(),e,t.duration]}),MA=le(),UA=it({argsMap:t=>[t.getTrackId()]}),xA=le(),VA=it({argsMap:t=>[t.getTrackId()]}),FA=le(),BA=it({argsMap:t=>[t.getTrackId()]}),jA=le(),GA=it({argsMap:t=>[t.getTrackId()]}),WA=le(),HA=it({argsMap:t=>[t.getTrackId()]}),KA=it({argsMap:t=>[t.getTrackId()]}),YA=le(),gt((Ke=class extends ae{get __className__(){return"BufferSourceAudioTrack"}constructor(t,e,i,n){super(e.createOutputTrack(),i,n),D(this,"source",void 0),D(this,"_bufferSource",void 0),this._useAudioElement=!1,this.source=t,this._bufferSource=e,this._bufferSource.on(Qi.AUDIO_SOURCE_STATE_CHANGE,r=>{this.safeEmit(ha.SOURCE_STATE_CHANGE,r)});try{this._mediaStreamTrack=this._source.createOutputTrack()}catch(r){}}get currentState(){return this._bufferSource.currentState}get duration(){return this._bufferSource.duration}get playbackSpeed(){return this._bufferSource.playbackSpeed}getCurrentTime(){return this._bufferSource.currentTime}startProcessAudioBuffer(t){t&&this._bufferSource.updateOptions(t),this._bufferSource.startProcessAudioBuffer()}pauseProcessAudioBuffer(){this._bufferSource.pauseProcessAudioBuffer()}seekAudioBuffer(t){this._bufferSource.seekAudioBuffer(t)}resumeProcessAudioBuffer(){this._bufferSource.resumeProcessAudioBuffer()}stopProcessAudioBuffer(){this._bufferSource.stopProcessAudioBuffer()}close(){this.source=null,this._bufferSource.destroy(),super.close()}setAudioBufferPlaybackSpeed(t){xt(t,"speed",0),this._bufferSource.setAudioBufferPlaybackSpeed(t)}}).prototype,"startProcessAudioBuffer",[kA,MA],Object.getOwnPropertyDescriptor(Ke.prototype,"startProcessAudioBuffer"),Ke.prototype),gt(Ke.prototype,"pauseProcessAudioBuffer",[UA,xA],Object.getOwnPropertyDescriptor(Ke.prototype,"pauseProcessAudioBuffer"),Ke.prototype),gt(Ke.prototype,"seekAudioBuffer",[VA,FA],Object.getOwnPropertyDescriptor(Ke.prototype,"seekAudioBuffer"),Ke.prototype),gt(Ke.prototype,"resumeProcessAudioBuffer",[BA,jA],Object.getOwnPropertyDescriptor(Ke.prototype,"resumeProcessAudioBuffer"),Ke.prototype),gt(Ke.prototype,"stopProcessAudioBuffer",[GA,WA],Object.getOwnPropertyDescriptor(Ke.prototype,"stopProcessAudioBuffer"),Ke.prototype),gt(Ke.prototype,"close",[HA],Object.getOwnPropertyDescriptor(Ke.prototype,"close"),Ke.prototype),gt(Ke.prototype,"setAudioBufferPlaybackSpeed",[KA,YA],Object.getOwnPropertyDescriptor(Ke.prototype,"setAudioBufferPlaybackSpeed"),Ke.prototype),Ke);class ve extends ae{get __className__(){return"MixingAudioTrack"}get isActive(){for(const e of this.trackList)if(e._enabled&&!e._isClosed&&!e.muted)return!0;return!1}constructor(){const e=ma().createMediaStreamDestination();super(e.stream.getAudioTracks()[0],void 0,Gt(8,"track-mix-")),D(this,"trackList",void 0),D(this,"destNode",void 0),this._useAudioElement=!1;try{this._mediaStreamTrack=this._source.createOutputTrack()}catch(i){}this.destNode=e,this.trackList=[]}hasAudioTrack(e){return this.trackList.indexOf(e)!==-1}addAudioTrack(e){this.trackList.indexOf(e)===-1?(_.debug("add ".concat(e.getTrackId()," to mixing track")),e._source.outputNode.connect(this.destNode),this.trackList.push(e),this.updateEncoderConfig()):_.debug("track ".concat(e.getTrackId()," is already added"))}removeAudioTrack(e){if(this.trackList.indexOf(e)!==-1){_.debug("remove ".concat(e.getTrackId()," from mixing track"));try{e._source.outputNode.disconnect(this.destNode)}catch(i){}cu(this.trackList,e),this.updateEncoderConfig()}}updateEncoderConfig(){const e={};this.trackList.forEach(i=>{i._encoderConfig&&((i._encoderConfig.bitrate||0)>(e.bitrate||0)&&(e.bitrate=i._encoderConfig.bitrate),(i._encoderConfig.sampleRate||0)>(e.sampleRate||0)&&(e.sampleRate=i._encoderConfig.sampleRate),(i._encoderConfig.sampleSize||0)>(e.sampleSize||0)&&(e.sampleSize=i._encoderConfig.sampleSize),i._encoderConfig.stereo&&(e.stereo=!0))}),this._encoderConfig=e}_updateRtpTransceiver(e){this._rtpTransceiver!==e&&(this._rtpTransceiver=e,this.trackList.forEach(i=>{i instanceof ve?i.emit(ts.TRANSCEIVER_UPDATED,e):i._updateRtpTransceiver(e)}))}}class f3 extends qI{set currentState(e){e!==this._currentState&&(this._currentState=e,this.safeEmit(Qi.AUDIO_SOURCE_STATE_CHANGE,this._currentState))}get currentState(){return this._currentState}constructor(e){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),D(this,"audioBuffer",void 0),D(this,"sourceNode",void 0),D(this,"startPlayTime",0),D(this,"startPlayOffset",0),D(this,"pausePlayTime",0),D(this,"options",void 0),D(this,"currentLoopCount",0),D(this,"currentPlaybackSpeed",100),D(this,"_currentState","stopped"),this.audioBuffer=e,this.options=i,this.startPlayOffset=this.options.startPlayTime||0}createWebAudioDiagram(){return this.context.createGain()}get duration(){return this.audioBuffer?this.audioBuffer.duration:0}get playbackSpeed(){return this.currentPlaybackSpeed}get currentTime(){return this.audioBuffer?this.currentState==="stopped"?0:this.currentState==="paused"?this.pausePlayTime:((this.context.currentTime-this.startPlayTime)*(this.playbackSpeed/100)+this.startPlayOffset)%this.audioBuffer.duration:0}updateOptions(e){this.currentState==="stopped"?(this.options=e,this.startPlayOffset=this.options.startPlayTime||0):_.warning("can not set audio source options")}startProcessAudioBuffer(){this.sourceNode&&this.stopProcessAudioBuffer(),this.sourceNode=this.createSourceNode(),this.startSourceNode(),this.currentState="playing"}pauseProcessAudioBuffer(){this.sourceNode&&this.currentState==="playing"&&(this.pausePlayTime=this.currentTime,this.sourceNode.onended=null,this.sourceNode.stop(),this.sourceNode.buffer=null,this.sourceNode=this.createSourceNode(),this.currentState="paused")}seekAudioBuffer(e){this.sourceNode&&(this.sourceNode.onended=null,this.currentState==="playing"&&this.sourceNode.stop(),this.sourceNode=this.createSourceNode(),this.currentState==="playing"?(this.startPlayOffset=e,this.startSourceNode()):this.currentState==="paused"&&(this.pausePlayTime=e))}resumeProcessAudioBuffer(){this.currentState==="paused"&&this.sourceNode&&(this.startPlayOffset=this.pausePlayTime,this.pausePlayTime=0,this.startSourceNode(),this.currentState="playing")}stopProcessAudioBuffer(){if(this.sourceNode){this.sourceNode.onended=null;try{this.sourceNode.stop()}catch(e){}this.reset()}}destroy(){this.audioBuffer=null,super.destroy()}setAudioBufferPlaybackSpeed(e){this.sourceNode&&(this.currentState==="playing"&&(this.startPlayOffset=this.currentTime,this.startPlayTime=this.context.currentTime),this.sourceNode.playbackRate.value=e/100),this.currentPlaybackSpeed=e}startSourceNode(){this.sourceNode&&this.sourceNode.buffer&&(this.sourceNode.start(0,this.startPlayOffset),this.startPlayTime=this.context.currentTime,this.sourceNode.onended=this.handleSourceNodeEnded.bind(this))}createSourceNode(){const e=this.context.createBufferSource();return e.buffer=this.audioBuffer,e.loop=!!this.options.loop,e.connect(this.outputNode),e.playbackRate.value=this.currentPlaybackSpeed/100,e}handleSourceNodeEnded(){if(this.currentLoopCount+=1,this.options.cycle&&this.options.cycle>this.currentLoopCount)return this.startPlayOffset=0,this.sourceNode=void 0,void this.startProcessAudioBuffer();this.reset()}reset(){this.startPlayOffset=this.options.startPlayTime||0,this.currentState="stopped",this.sourceNode&&(this.sourceNode.disconnect(),this.sourceNode=void 0),this.currentLoopCount=0}}const qA=new Map;function zA(t,e){if(t.length===0||e.length===0)return 1/0;const i=VE(t),n=VE(e);return Math.floor(n/i)}class lm{get rendFrameRate(){const e=Math.max(1,zA(this._render_interframe_delays_sizes,this._render_interframe_delays));return Math.floor(1e3/e)}get videoElementStatus(){return this._videoElementStatus}set videoElementStatus(e){e!==this._videoElementStatus&&(_.debug("[".concat(this.trackId,"] video-element-status change ").concat(this._videoElementStatus," => ").concat(e)),this._videoElementStatus=e)}get videoState(){return this._videoState}set videoState(e){var i;e!==this._videoState&&(this._videoState=e,(i=this.onVideoStateChanged)===null||i===void 0||i.call(this,this.videoState))}constructor(e){D(this,"trackId",void 0),D(this,"config",void 0),D(this,"onFirstVideoFrameDecoded",void 0),D(this,"onVideoStateChanged",void 0),D(this,"freezeTimeCounterList",[]),D(this,"renderFreezeAccTime",0),D(this,"renderFreezeAccTime2",0),D(this,"isKeepLastFrame",!1),D(this,"timeUpdatedCount",0),D(this,"freezeTime",0),D(this,"playbackTime",0),D(this,"lastTimeUpdatedTime",0),D(this,"autoplayFailed",!1),D(this,"videoTrack",void 0),D(this,"videoElement",void 0),D(this,"cacheVideoElement",void 0),D(this,"_render_interframe_delays",[]),D(this,"_render_interframe_delays_sizes",[]),D(this,"_videoState",fr.VideoStateStopped),D(this,"videoElementCheckInterval",void 0),D(this,"videoElementFreezeTimeout",void 0),D(this,"_videoElementStatus",ii.NONE),D(this,"isGettingVideoDimensions",!1),D(this,"startGetVideoDimensions",()=>{const i=()=>{if(this.isGettingVideoDimensions=!0,this.videoElement.videoWidth*this.videoElement.videoHeight>4)return _.debug("[".concat(this.trackId,"] current video dimensions:"),this.videoElement.videoWidth,this.videoElement.videoHeight),void(this.isGettingVideoDimensions=!1);setTimeout(i,500)};!this.isGettingVideoDimensions&&i()}),D(this,"autoResumeAfterInterruption",()=>{this.videoTrack&&this.videoTrack.readyState==="live"&&Mt.curState==="running"&&(_.debug("[track-".concat(this.trackId,"] video element paused, auto resume for ").concat(zy())),eI()?(this.videoElement.srcObject=null,this.videoElement.srcObject=new MediaStream([this.videoTrack]),this.videoElement.play()):(this.videoElement.pause(),this.videoElement.play()))}),D(this,"handleVideoEvents",i=>{switch(i.type){case"play":case"playing":this.startGetVideoDimensions(),this.videoElementStatus=ii.PLAYING;break;case"loadeddata":if(this.videoState=fr.VideoStateStarting,this.onFirstVideoFrameDecoded&&this.onFirstVideoFrameDecoded(),this.cacheVideoElement){try{this.cacheVideoElement.srcObject=null,this.cacheVideoElement.remove()}catch(n){}this.cacheVideoElement=void 0}break;case"canplay":this.videoElementStatus=ii.CANPLAY;break;case"stalled":this.videoElementStatus=ii.STALLED;break;case"suspend":this.videoElementStatus=ii.SUSPEND;break;case"pause":this.videoElementStatus=ii.PAUSED,li()||bn()||je()&&this.autoplayFailed||!this.videoTrack||this.videoTrack.readyState!=="live"||(_.debug("[track-".concat(this.trackId,"] video element paused, auto resume")),this.videoElement.play());break;case"waiting":this.videoElementStatus=ii.WAITING;break;case"abort":this.videoElementStatus=ii.ABORT;break;case"ended":this.videoElementStatus=ii.ENDED;break;case"emptied":this.videoElementStatus=ii.EMPTIED;break;case"error":{const n=this.videoElement.error;n&&(this.videoElementStatus=ii.ERROR,_.error("[".concat(this.trackId,"] media error: ").concat(n.message," (").concat(n.code,")")));break}case"timeupdate":{const n=performance.now();if(this.timeUpdatedCount+=1,this.timeUpdatedCount<10)return void(this.lastTimeUpdatedTime=n);const r=n-this.lastTimeUpdatedTime,o=this.lastTimeUpdatedTime;if(this.lastTimeUpdatedTime=n,Sr.lastVisibleTimey("VIDEO_FREEZE_DURATION")&&(this.freezeTime+=r),this.playbackTime+=r;this.playbackTime>=6e3;){this.playbackTime-=6e3;const s=Math.min(6e3,this.freezeTime);this.freezeTimeCounterList.push(s),this.freezeTime=Math.max(0,this.freezeTime-6e3)}break}}}),D(this,"autoResumeAfterInterruptionOnIOS15_16",()=>{this.videoTrack&&this.videoTrack.readyState==="live"&&(_.debug("[track-".concat(this.trackId,"] video element paused, auto resume for ").concat(zy())),eI()?(this.videoElement.srcObject=null,this.videoElement.srcObject=new MediaStream([this.videoTrack]),this.videoElement.play()):(this.videoElement.pause(),this.videoElement.play()))}),this.trackId=e.trackId,this.config=e,e.element instanceof HTMLVideoElement?this.videoElement=e.element:this.videoElement=document.createElement("video"),Mt.on(Ve.IOS_INTERRUPTION_END,this.autoResumeAfterInterruption),Mt.on(Ve.IOS_15_16_INTERRUPTION_END,this.autoResumeAfterInterruptionOnIOS15_16)}getVideoElement(){return this.videoElement}getContainerElement(){var e;return(e=this.videoElement.parentElement)!==null&&e!==void 0?e:void 0}updateConfig(e){this.config=e,this.trackId=e.trackId,e.element!==this.videoElement&&(this.destroy(),this.videoElement=e.element),this.videoTrack&&this.initVideoElement()}updateVideoTrack(e){this.videoTrack!==e&&(this.videoTrack=e,this.initVideoElement())}play(e){const i=this.videoElement.play();i&&i.catch&&i.catch(r=>{e&&tA(e,"video",r.message,this.trackId),r.name==="NotAllowedError"?(_.warning("detected video element autoplay failed",r),this.autoplayFailed=!0,this.handleAutoPlayFailed()):_.warning("[".concat(this.trackId,"] play warning: "),r)});const n=vt();if((n.name==="Safari"&&Number(n.version)===15||na())&&i&&i.then){const r=()=>{this.config.mirror&&(this.videoElement.style.transform="rotateY(180deg)")};i.then(r).catch(r)}}getCurrentFrame(){const e=document.createElement("canvas");e.width=this.videoElement.videoWidth,e.height=this.videoElement.videoHeight;const i=e.getContext("2d");if(!i)return _.error("create canvas context failed!"),new ImageData(2,2);i.drawImage(this.videoElement,0,0,e.width,e.height);const n=i.getImageData(0,0,e.width,e.height);return e.remove(),n}getCurrentFrameToUint8Array(i){return C(this,arguments,function*(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const r=document.createElement("canvas");r.width=this.videoElement.videoWidth,r.height=this.videoElement.videoHeight;const o=r.getContext("2d");return o?(o.drawImage(this.videoElement,0,0,r.width,r.height),new K((s,a)=>{r.toBlob(c=>C(this,null,function*(){if(r.remove(),c){const d=yield dA(c);s({buffer:d,width:r.width,height:r.height})}else a(new k(v.CONVERTING_VIDEO_FRAME_TO_BLOB_FAILED))}),e,n<0?.1:n>1?1:n)})):yield dm(e)})}destroy(){Mt.off(Ve.IOS_INTERRUPTION_END,this.autoResumeAfterInterruption),Mt.off(Ve.IOS_15_16_INTERRUPTION_END,this.autoResumeAfterInterruptionOnIOS15_16),this.videoElement.srcObject=null,this.resetVideoElement(),this.freezeTimeCounterList=[],this.videoState=fr.VideoStateStopped}initVideoElement(){if(this.videoElementStatus=ii.INIT,!this.videoElementCheckInterval&&(XA.forEach(o=>{this.videoElement.addEventListener(o,this.handleVideoEvents)}),this.videoElementCheckInterval=window.setInterval(()=>{(function(o){return o!==document.body&&document.body.contains(o)})(this.videoElement)||(this.videoElementStatus=ii.DESTROYED)},1e3),y("ENABLE_VIDEO_FRAME_CALLBACK"))){var e,i;let o;const s=()=>{document.visibilityState==="visible"&&(document.removeEventListener("visibilitychange",s),this.videoElementFreezeTimeout=window.setTimeout(a,y("VIDEO_FREEZE_DURATION")))},a=()=>{this.videoElementFreezeTimeout=void 0,this.videoState===fr.VideoStateDecoding&&(document.visibilityState==="visible"?this.videoState=fr.VideoStateFrozen:document.addEventListener("visibilitychange",s))},c=(d,l)=>{if(this.videoElementStatus===ii.PLAYING){if(o){const p=l.presentationTime-o.presentationTime,g=l.presentedFrames-o.presentedFrames;this._render_interframe_delays_sizes.push(g),this._render_interframe_delays.push(p);const m=VE(this._render_interframe_delays_sizes),f=m-this._render_interframe_delays_sizes[0];if(m>30&&f>5&&(this._render_interframe_delays_sizes.shift(),this._render_interframe_delays.shift()),this.videoState===fr.VideoStateStarting&&(this.videoState=fr.VideoStateDecoding),this.videoState===fr.VideoStateDecoding&&this.onVideoStateChanged&&(this.videoElementFreezeTimeout&&window.clearTimeout(this.videoElementFreezeTimeout),this.videoElementFreezeTimeout=window.setTimeout(a,y("VIDEO_FREEZE_DURATION"))),py("VIDEO_FREEZE_DURATION")&&Sr.lastVisibleTime>=Sr.lastHiddenTime&&o.timestamp>Sr.lastVisibleTime&&o.timestamp>Sr.lastHiddenTime){const T=Math.min(66,zA(this._render_interframe_delays_sizes,this._render_interframe_delays)),R=Math.max(0,p-(g-1)*T);this.renderFreezeAccTime2+=R>T?R:0,this.renderFreezeAccTime+=p}}o=Qt(Qt({},l),{},{timestamp:d})}var u,h;y("ENABLE_VIDEO_FRAME_CALLBACK")&&((u=(h=this.videoElement).requestVideoFrameCallback)===null||u===void 0||u.call(h,c))};(e=(i=this.videoElement).requestVideoFrameCallback)===null||e===void 0||e.call(i,c)}this.videoElement.controls=!1,this.videoElement.setAttribute("playsinline",""),au()&&!y("HIDE_NO_POSTER")&&(this.videoElement.poster="noposter");const n=vt();n.name==="Safari"&&Number(n.version)===15||na()||!this.config.mirror||(this.videoElement.style.transform="rotateY(180deg)"),this.config.fit?this.videoElement.style.objectFit=this.config.fit:this.videoElement.style.objectFit="cover",this.videoElement.setAttribute("muted",""),this.videoElement.muted=!0,this.videoElement.srcObject&&this.videoElement.srcObject instanceof MediaStream?this.videoElement.srcObject.getVideoTracks()[0]!==this.videoTrack&&(this.videoElement.srcObject=this.videoTrack?new MediaStream([this.videoTrack]):null,ne()&&this.videoElement.load()):(this.videoElement.srcObject=this.videoTrack?new MediaStream([this.videoTrack]):null,ne()&&this.videoElement.load());const r=this.videoElement.play();r!==void 0&&r.catch(o=>{_.debug("[".concat(this.trackId,"] playback interrupted"),o.toString())})}resetVideoElement(){XA.forEach(e=>{this.videoElement&&this.videoElement.removeEventListener(e,this.handleVideoEvents)}),this.videoElementCheckInterval&&(window.clearInterval(this.videoElementCheckInterval),this.videoElementCheckInterval=void 0),this.videoElementStatus=ii.NONE}handleAutoPlayFailed(){const e=i=>{i.preventDefault(),this.videoElement.play().then(()=>{_.debug("[".concat(this.trackId,"] Video element for trackId:").concat(this.trackId," autoplay resumed."))}).catch(n=>{_.error(n)}),this.autoplayFailed=!1,bc()?document.body.removeEventListener("click",e,!0):(document.body.removeEventListener("touchstart",e,!0),document.body.removeEventListener("mousedown",e,!0))};bc()?document.body.addEventListener("click",e,!0):(document.body.addEventListener("touchstart",e,!0),document.body.addEventListener("mousedown",e,!0)),$I()}}const XA=["play","playing","loadeddata","canplay","pause","stalled","suspend","waiting","abort","emptied","ended","timeupdate","error"];class vu extends lm{constructor(e){super(e),D(this,"container",void 0),D(this,"slot",void 0),this.slot=e.element,this.updateConfig(e)}updateConfig(e){this.config=e,this.trackId=e.trackId;const i=e.element;i!==this.slot&&(this.destroy(),this.slot=i),this.createElements()}updateVideoTrack(e){this.videoTrack!==e&&(this.videoTrack=e,this.createElements())}play(e){var i;(i=this.container)!==null&&i!==void 0&&i.contains(this.videoElement)&&super.play(e)}getCurrentFrame(){var e;return(e=this.container)!==null&&e!==void 0&&e.contains(this.videoElement)?super.getCurrentFrame():new ImageData(2,2)}getCurrentFrameToUint8Array(i){return C(this,arguments,function*(e){var n;let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return(n=this.container)!==null&&n!==void 0&&n.contains(this.videoElement)?yield Uf(vu.prototype,this,"getCurrentFrameToUint8Array").call(this,e,r):yield dm(e)})}destroy(){if(super.destroy(),this.videoElement.remove(),this.videoElement=document.createElement("video"),this.container){try{this.container.remove(),this.slot.removeChild(this.container)}catch(e){}this.container=void 0}}createElements(){this.container||(this.container=document.createElement("div")),this.container.id="agora-video-player-".concat(this.trackId),this.container.style.width="100%",this.container.style.height="100%",this.container.style.position="relative",this.container.style.overflow="hidden",this.videoTrack?(this.container.style.backgroundColor="black",y("KEEP_LAST_FRAME")&&this.isKeepLastFrame&&this.videoElement.paused&&this.resetVideoElement(),this.mountedVideoElement()):this.unmountedVideoElement(),this.slot.appendChild(this.container)}mountedVideoElement(){var e;!this.container||(e=this.container)!==null&&e!==void 0&&e.contains(this.videoElement)||this.container.appendChild(this.videoElement),super.initVideoElement(),this.videoElement.id="video_".concat(this.trackId),this.videoElement.className="agora_video_player",this.videoElement.style.width="100%",this.videoElement.style.height="100%",this.videoElement.style.position="absolute",this.videoElement.style.left="0",this.videoElement.style.top="0"}unmountedVideoElement(){var e;if((e=this.container)!==null&&e!==void 0&&e.contains(this.videoElement)){super.resetVideoElement();try{this.container&&this.container.removeChild(this.videoElement)}catch(i){}this.videoElement=document.createElement("video")}}resetVideoElement(){var e;(e=this.container)!==null&&e!==void 0&&e.contains(this.videoElement)&&(super.resetVideoElement(),this.cacheVideoElement=this.videoElement,this.videoElement=document.createElement("video"))}getContainerElement(){return this.container}}var JA,QA,ZA,$A,tb,eb,ib,nb,rb,ob,sb,ab,cb,db,lb,ub,hb,pb,_b,Eb,mb,fb,gb,Sb,Tb,Rb,Et,vb,Cb,yb,Ib,Ab,bb,wb,Ob,rn;let Yt=(JA=it({argsMap:(t,e,i)=>[t.getTrackId(),typeof e=="string"?e:e instanceof HTMLVideoElement?"HTMLVideoElement":"HTMLElement",i]}),QA=le(),ZA=it({argsMap:t=>[t.getTrackId()]}),$A=sa("LocalVideoTrack","_enabledMutex"),tb=it({argsMap:(t,e)=>[t.getTrackId(),e]}),eb=le(),ib=sa("LocalVideoTrack","_enabledMutex"),nb=it({argsMap:(t,e)=>[t.getTrackId(),e]}),rb=le(),ob=it({argsMap:(t,e)=>[t.getTrackId(),e,t._saveEncodeBitrateRatio]}),sb=le(),ab=it({argsMap:(t,e)=>[t.getTrackId(),e]}),cb=le(),db=le(),lb=it({argsMap:(t,e,i)=>[t.getTrackId(),e,i]}),ub=le(),hb=le(),pb=le(),_b=le(),Eb=le(),mb=le(),fb=le(),gb=it({argsMap:(t,e)=>[t.getTrackId(),e.name]}),Sb=it({argsMap:t=>[t.getTrackId()]}),Tb=it({argsMap:t=>[t.getTrackId()]}),Rb=it({argsMap:(t,e,i)=>[t.getTrackId(),e.label,i]}),Et=class ZN extends Ea{get videoHeight(){if(je()){const{height:e}=this._mediaStreamTrack.getSettings();return this._videoHeight=e,this._videoHeight}return this._videoHeight}get videoWidth(){if(je()){const{width:e}=this._mediaStreamTrack.getSettings();return this._videoWidth=e,this._videoWidth}return this._videoWidth}get isPlaying(){return!(!this._player||this._player.videoElementStatus!==ii.PLAYING)}get processorDestination(){return this._processorDestination}get processorContext(){return this._processorContext}set processorContext(e){this._processorContext=e}get __className__(){return"LocalVideoTrack"}constructor(e,i,n,r,o,s){if(super(e,o),D(this,"trackMediaType",_a.VIDEO),D(this,"_player",void 0),D(this,"isUseScaleResolutionDownBy",!1),D(this,"_videoVisibleTimer",null),D(this,"_previousVideoVisibleStatus",void 0),D(this,"_clearPreviousVideoVisibleStatus",()=>this._previousVideoVisibleStatus=void 0),D(this,"_encoderConfig",void 0),D(this,"_scalabilityMode",{numSpatialLayers:1,numTemporalLayers:1}),D(this,"_optimizationMode",void 0),D(this,"_saveEncodeBitrateRatio",1),D(this,"_videoHeight",void 0),D(this,"_videoWidth",void 0),D(this,"_forceBitrateLimit",void 0),D(this,"_enabled",!0),D(this,"_processorDestination",void 0),D(this,"_processorContext",void 0),je()){const{width:a,height:c}=e.getSettings();this._videoWidth=a,this._videoHeight=c}else this.updateMediaStreamTrackResolution();if(this._scalabilityMode=n,this._optimizationMode=r,this._hints=s||[],i&&this._hints.indexOf(Vt.CUSTOM_TRACK)!==-1?this._encoderConfig=te(i):this._encoderConfig=i,this._hints.indexOf(Vt.SCREEN_TRACK)===-1)this.updateBitrateFromProfile();else if(AE(It.CHROME,115)&&ou().indexOf("Windows")!==-1){const a=function(c,d){if("VideoFrame"in window&&"TransformStream"in window&&Ct().supportWebRTCInsertableStream){const l=new MediaStreamTrackProcessor(c),u=new MediaStreamTrackGenerator({kind:"video"});let h,p,g=Date.now();const m=()=>{f&&(clearInterval(f),f=void 0),h&&(h.close(),h=void 0),c.stop(),p=void 0,u.removeEventListener("ended",m)};let f=window.setInterval(()=>{if(p&&h&&Date.now()-g>1e3)try{u.readyState==="live"?p.enqueue(h.clone()):m()}catch(R){m()}},1e3);const T=new TransformStream({transform:(R,A)=>{u.readyState==="live"?(p=A,g=Date.now(),h===void 0?(h=R,A.enqueue(R.clone())):(A.enqueue(h),h=R)):R.close()}});return u.addEventListener("ended",m),l.readable.pipeThrough(T).pipeTo(u.writable),u}}(e);a&&(_.info("local screen video track begin to inject frame"),this._mediaStreamTrack=a)}i&&this._hints.indexOf(Vt.CUSTOM_TRACK)!==-1&&this.setEncoderConfiguration(i),this._processorContext=new iA(this.getTrackId(),"local"),this._processorDestination=new eA(this.processorContext),this.bindProcessorDestinationEvents()}play(e){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof e=="string"){const r=document.getElementById(e);r?e=r:(_.warning("[".concat(this.getTrackId(),'] can not find "#').concat(e,'" element, use document.body')),e=document.body)}_.debug("[".concat(this.getTrackId(),"] start video playback in ").concat(e instanceof HTMLVideoElement?"HTMLVideoElement":"HTMLElement"),JSON.stringify(i));const n=Qt(Qt(Qt({},this._getDefaultPlayerConfig()),i),{},{trackId:this.getTrackId(),element:e});this._player?this._player.updateConfig(n):(e instanceof HTMLVideoElement?this._player=new lm(n):this._player=new vu(n),this._player.updateVideoTrack(this._mediaStreamTrack)),this._player.play(),this._videoVisibleTimer&&window.clearInterval(this._videoVisibleTimer),this._clearPreviousVideoVisibleStatus(),this._videoVisibleTimer=window.setInterval(()=>{try{const r=this.getVideoElementVisibleStatus();this.safeEmit(ha.VIDEO_ELEMENT_VISIBLE_STATUS,r)}catch(r){}},y("CHECK_VIDEO_VISIBLE_INTERVAL"))}stop(){this._player&&(this._videoVisibleTimer&&(window.clearInterval(this._videoVisibleTimer),this._videoVisibleTimer=null),this._clearPreviousVideoVisibleStatus(),this._player.destroy(),this._player=void 0,_.debug("[".concat(this.getTrackId(),"] stop video playback")))}setEnabled(e,i){return C(this,null,function*(){if(!i){if(e===this._enabled)return;this.stateCheck("enabled",e)}if(_.info("[".concat(this.getTrackId(),"] start setEnabled"),e),!e){this._originMediaStreamTrack.enabled=!1;try{yield Bt(this,J.NEED_DISABLE_TRACK,this)}catch(n){throw _.error("[".concat(this.getTrackId(),"] setEnabled to false error"),n.toString()),n}return i||(this._enabled=!1),void _.info("[".concat(this.getTrackId(),"] setEnabled to false success"))}this._originMediaStreamTrack.enabled=!0;try{yield Bt(this,J.NEED_ENABLE_TRACK,this)}catch(n){throw _.error("[".concat(this.getTrackId(),"] setEnabled to true error"),n.toString()),n}_.info("[".concat(this.getTrackId(),"] setEnabled to true success")),i||(this._enabled=!0)})}setMuted(e){return C(this,null,function*(){e!==this._muted&&(this.stateCheck("muted",e),this._muted=e,this._originMediaStreamTrack.enabled=!e,_.debug("[".concat(this.getTrackId(),"] start set muted: ").concat(e)),e?yield Bt(this,J.NEED_MUTE_TRACK,this):yield Bt(this,J.NEED_UNMUTE_TRACK,this))})}setSaveEncodeBitrateRatio(){return C(this,arguments,function*(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this._saveEncodeBitrateRatio;if(this._saveEncodeBitrateRatio!==1&&this._encoderConfig&&this._encoderConfig.bitrateMax&&this._encoderConfig.bitrateMin){this._encoderConfig.bitrateMin=Math.floor(this._encoderConfig.bitrateMin*e),this._encoderConfig.bitrateMax=Math.floor(this._encoderConfig.bitrateMax*e),_.debug("[".concat(this.getTrackId(),"] set save encode bitrate ratio, ").concat(e)),this._saveEncodeBitrateRatio=1;try{yield Bt(this,J.NEED_UPDATE_VIDEO_ENCODER,this)}catch(i){return i.throw(_)}}})}setEncoderConfiguration(e,i){return C(this,null,function*(){if(!this._enabled)throw new k(v.TRACK_IS_DISABLED,"can not set encoder configuration when track is disabled");if(e=Nn(e),y("USE_STANDARD_BITRATE_DEFAULT")&&(delete e.bitrateMax,delete e.bitrateMin),this._forceBitrateLimit&&(e.bitrateMax=this._forceBitrateLimit.max_bitrate?this._forceBitrateLimit.max_bitrate:e.bitrateMax,e.bitrateMin=this._forceBitrateLimit.min_bitrate?this._forceBitrateLimit.min_bitrate:e.bitrateMin),e.width||e.height||e.frameRate){const n=Ru({encoderConfig:e});(je()||li()||bn())&&(n.deviceId=void 0),_.debug("[".concat(this.getTrackId(),"] setEncoderConfiguration applyConstraints"),JSON.stringify(e),JSON.stringify(n));try{yield this._originMediaStreamTrack.applyConstraints(n),this.updateMediaStreamTrackResolution()}catch(r){const o=new k(v.UNEXPECTED_ERROR,r.toString());throw _.error("[".concat(this.getTrackId(),"] applyConstraints error"),o.toString()),o}}this._encoderConfig=e,this._hints.indexOf(Vt.SCREEN_TRACK)===-1&&this.updateBitrateFromProfile();try{yield Bt(this,J.NEED_UPDATE_VIDEO_ENCODER,this)}catch(n){return n.throw(_)}})}getStats(){return _o(()=>{_.warning("[deprecated] LocalVideoTrack.getStats will be removed in the future, use AgoraRTCClient.getLocalVideoStats instead")},"localVideoTrackGetStatsWarning"),zi(this,J.GET_STATS)||Qt({},im)}setBeautyEffect(e){return C(this,null,function*(){_.error("LocalVideoTrack.setBeautyEffect was deprecated, please migrate to agora-extension-beauty-effect")})}getCurrentFrameData(){return this._player?this._player.getCurrentFrame():new ImageData(2,2)}getCurrentFrameImage(i){return C(this,arguments,function*(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return this._player?this._player.getCurrentFrameToUint8Array(e,n):yield dm(e)})}setBitrateLimit(e){return C(this,null,function*(){_.debug("[".concat(this.getTrackId(),"] set bitrate limit, ").concat(JSON.stringify(e))),e&&(this._forceBitrateLimit=e,this._encoderConfig&&(this._encoderConfig.bitrateMax?this._encoderConfig.bitrateMax=this._encoderConfig.bitrateMax{let[i,n]=e;this._videoHeight=n,this._videoWidth=i}).catch(lu)}_updatePlayerSource(){this._player&&this._player.updateVideoTrack(this._mediaStreamTrack)}_getDefaultPlayerConfig(){return{fit:"contain"}}setSenderConfiguration(e){return C(this,null,function*(){if(!this._enabled)throw new k(v.TRACK_IS_DISABLED,"can not set encoder configuration when track is disabled");_.debug("[".concat(this.getTrackId(),"] setSenderConfiguration applyConstraints"),JSON.stringify(e)),e=Nn(e),this._forceBitrateLimit&&(e.bitrateMax=this._forceBitrateLimit.max_bitrate?this._forceBitrateLimit.max_bitrate:e.bitrateMax,e.bitrateMin=this._forceBitrateLimit.min_bitrate?this._forceBitrateLimit.min_bitrate:e.bitrateMin),this._encoderConfig=e,this._hints.indexOf(Vt.SCREEN_TRACK)===-1&&this.updateBitrateFromProfile();try{yield Bt(this,J.NEED_UPDATE_VIDEO_ENCODER,this)}catch(i){return i.throw(_)}})}updateBitrateFromProfile(){if(!this._encoderConfig)return;const{width:e,height:i,frameRate:n}=this.getMediaStreamTrackSettings();if(!e||!i||!n)return;const{bitrateMax:r,bitrateMin:o}=this._encoderConfig;if(o==null||r==null){const{max:s,min:a}=function(c,d,l,u,h){const p=y("BITRATE_ADAPTER_TYPE");if(p==="DEFAULT_BITRATE")return{min:u,max:h};if(h===void 0){const g=Math.floor(200*Math.pow(l/15,.6)*Math.pow(c*d/640/360,.75));h=p==="STANDARD_BITRATE"?4*g:2*g,u=u!=null?u:g}else u=u!=null?u:Math.floor(h/10);return{min:u,max:h}}(e,i,n,o,r);if(this._encoderConfig.bitrateMin=a,this._encoderConfig.bitrateMax=s,y("VIDEO_STANDARD_BITRATE_VERSION")&&o==null&&r==null){const[c,d]=function(l,u,h){const p=4*Math.floor(2e5*Math.pow(h/15,.6)*Math.pow(l*u/230400,.75)),g=l*u,m=new Map([[19200,.9],[230400,.85],[518400,.75],[921600,.7],[2073600,.6],[3686400,.5]]),f=new Map([[230400,.95],[518400,.9],[921600,.85],[2073600,.8]]);let T=Ui(m).call(m).next().value,R=1;if(m.has(g))T=m.get(g);else{var A;const H=jo(A=Array.from(m.entries())).call(A,(lt,rt)=>{let[Kt]=lt,[Ft]=rt;return Kt-Ft}),ht=H.find(lt=>{let[rt]=lt;return rt>g});if(ht){const lt=H.indexOf(ht);if(lt>0){const rt=H[lt-1],Kt=(g-rt[0])/(ht[0]-rt[0]);T=rt[1]+Kt*(ht[1]-rt[1])}else T=ht[1]}else T=H[H.length-1][1]}if(f.has(g))R=f.get(g);else{var N;const H=jo(N=Array.from(f.entries())).call(N,(lt,rt)=>{let[Kt]=lt,[Ft]=rt;return Kt-Ft}),ht=H.find(lt=>{let[rt]=lt;return rt>g});if(ht){const lt=H.indexOf(ht);if(lt>0){const rt=H[lt-1],Kt=(g-rt[0])/(ht[0]-rt[0]);R=rt[1]+Kt*(ht[1]-rt[1])}else R=ht[1]}else R=H[H.length-1][1]}const O=y("VIDEO_NEW_BITRATE_RATIO");O&&O>0&&(T=O/100);const w=Math.floor(p*T),L=Math.floor(65e4*Math.pow(l*u/230400,.5)*Math.pow(h/15,.69));let M=w;const j=y("VIDEO_STANDARD_BITRATE_VERSION");return j&&j>0&&(j===1?M=p:j===2?M=w:j===3&&(M=L)),[Math.floor(M/1e3),R]}(e,i,n);this._encoderConfig.bitrateMax=c,this._encoderConfig.bitrateMin=a?Math.min(a,c):c,this._saveEncodeBitrateRatio=d,_.debug("[".concat(this.getTrackId(),"] update new bitrate from profile, [w: ").concat(e,", h: ").concat(i,", fps: ").concat(n,"] => [brMax: ").concat(this._encoderConfig.bitrateMax,", brMin: ").concat(this._encoderConfig.bitrateMin,", save_bitrate_ratio: ").concat(this._saveEncodeBitrateRatio,"]"))}else _.debug("[".concat(this.getTrackId(),"] update bitrate from profile, [w: ").concat(e,", h: ").concat(i,", fps: ").concat(n,"] => [brMax: ").concat(s,", brMin: ").concat(a,"]")),this._saveEncodeBitrateRatio=1}}getVideoElementVisibleStatus(){try{var e,i;const n=this==null||(e=this._player)===null||e===void 0?void 0:e.getContainerElement(),r={track:this,element:this==null||(i=this._player)===null||i===void 0?void 0:i.getVideoElement(),slot:n==null?void 0:n.parentElement},{element:o,slot:s}=r;if(this.isPlaying&&o instanceof HTMLVideoElement&&s instanceof HTMLElement){const a=sI.checkOneElementVisible(o),c=Object.assign({},a);if(c.visible!==this._previousVideoVisibleStatus){this._previousVideoVisibleStatus=c.visible;const d=Z.reportApiInvoke(null,{tag:oe.TRACER,name:_e.LOCAL_VIDEO_TRACK_GET_VIDEO_VISIBLE,options:[this.getTrackId()]});c.visible?d.onSuccess("Video is visible"):d.onSuccess("Invisible because of ".concat(c.reason))}return c}return}catch(n){throw new k(v.GET_VIDEO_ELEMENT_VISIBLE_ERROR,n.message)}}renewMediaStreamTrack(e){return C(this,null,function*(){})}pipe(e){if(this.processor===e)return e;if(e._source)throw new k(v.INVALID_OPERATION,"Processor ".concat(e.name," already piped, please call unpipe beforehand."));return this.unpipe(),this.processor=e,this.processor._source=this,e.updateInput({track:this._originMediaStreamTrack,context:this.processorContext}),e}unpipe(){if(!this.processor)return;const e=this.processor;this.processor._source=void 0,this.processor=void 0,e.reset()}close(){super.close(),this.unbindProcessorDestinationEvents(),this.unbindProcessorContextEvents(),this.unpipe(),this.processorDestination._source&&this.processorDestination._source.unpipe()}clone(e){let i=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],n=this._encoderConfig;e&&(n=Qt(Qt({},n),Nn(e))),n=Jo(n);const r=Gt(8,"track-video-cloned-"),o=new ZN(i?this._mediaStreamTrack.clone():this._mediaStreamTrack,n,Jo(this._scalabilityMode),this._optimizationMode,r,Jo(this._hints));return e&&n&&o.setEncoderConfiguration(n),_.debug("clone video track from ".concat(this.getTrackId()," to ").concat(r,", clone ").concat(i)),o}replaceTrack(e,i){return C(this,null,function*(){if(!(e instanceof MediaStreamTrack))throw new k(v.INVALID_PARAMS,"track should be an instance of MediaStreamTrack");if(e.kind!=="video")throw new k(v.INVALID_PARAMS,"track should be a video MediaStreamTrack");yield this._updateOriginMediaStreamTrack(e,i,!0),this.updateMediaStreamTrackResolution()})}sendSeiData(e){if(_o(()=>{Z.reportApiInvoke(null,{name:_e.LOCAL_VIDEO_SEND_SEI_DATA,options:[],tag:oe.TRACER}).onSuccess("")},this._mediaStreamTrack.id||this.getTrackId()),!y("ENABLE_VIDEO_SEI")||!y("ENABLE_ENCODED_TRANSFORM"))return void _.warning('To send/receive SEI, please call AgoraRTC.setParameter("ENABLE_VIDEO_SEI", true) before instantiate IAgoraRtcClient');if(e instanceof Uint8Array==0)return new k(v.INVALID_PARAMS,"Invalid argument type, ILocalVideoTrack.sendSeiData() only accept Uint8Array argument.").throw();const i=this.getRTCRtpTransceiver();if(!i)return void _.warning("Video track is not published, SEI can not be send");const n=i.sender.getParameters();if(n.codecs.length===0)return;const r=n.codecs[0].mimeType.toLocaleLowerCase();r==="video/h264"?this.safeEmit("sei-to-send",e):_.warning("SEI is not supported by ".concat(r))}bindProcessorDestinationEvents(){this.processorDestination.on(ui.ON_TRACK,e=>C(this,null,function*(){e?e!==this._mediaStreamTrack&&(this._mediaStreamTrack=e,this._updatePlayerSource(),yield Bt(this,J.NEED_REPLACE_TRACK,this)):this._mediaStreamTrack!==this._originMediaStreamTrack&&(this._mediaStreamTrack=this._originMediaStreamTrack,this._updatePlayerSource(),yield Bt(this,J.NEED_REPLACE_TRACK,this))}))}unbindProcessorDestinationEvents(){this.processorDestination.removeAllListeners(ui.ON_TRACK)}unbindProcessorContextEvents(){this.processorContext.removeAllListeners(Zi.REQUEST_UPDATE_CONSTRAINTS),this.processorContext.removeAllListeners(Zi.REQUEST_CONSTRAINTS)}},gt(Et.prototype,"play",[JA,QA],Object.getOwnPropertyDescriptor(Et.prototype,"play"),Et.prototype),gt(Et.prototype,"stop",[ZA],Object.getOwnPropertyDescriptor(Et.prototype,"stop"),Et.prototype),gt(Et.prototype,"setEnabled",[$A,tb,eb],Object.getOwnPropertyDescriptor(Et.prototype,"setEnabled"),Et.prototype),gt(Et.prototype,"setMuted",[ib,nb,rb],Object.getOwnPropertyDescriptor(Et.prototype,"setMuted"),Et.prototype),gt(Et.prototype,"setSaveEncodeBitrateRatio",[ob,sb],Object.getOwnPropertyDescriptor(Et.prototype,"setSaveEncodeBitrateRatio"),Et.prototype),gt(Et.prototype,"setEncoderConfiguration",[ab,cb],Object.getOwnPropertyDescriptor(Et.prototype,"setEncoderConfiguration"),Et.prototype),gt(Et.prototype,"getStats",[db],Object.getOwnPropertyDescriptor(Et.prototype,"getStats"),Et.prototype),gt(Et.prototype,"setBeautyEffect",[lb,ub],Object.getOwnPropertyDescriptor(Et.prototype,"setBeautyEffect"),Et.prototype),gt(Et.prototype,"getCurrentFrameData",[hb],Object.getOwnPropertyDescriptor(Et.prototype,"getCurrentFrameData"),Et.prototype),gt(Et.prototype,"getCurrentFrameImage",[pb],Object.getOwnPropertyDescriptor(Et.prototype,"getCurrentFrameImage"),Et.prototype),gt(Et.prototype,"setBitrateLimit",[_b],Object.getOwnPropertyDescriptor(Et.prototype,"setBitrateLimit"),Et.prototype),gt(Et.prototype,"setOptimizationMode",[Eb],Object.getOwnPropertyDescriptor(Et.prototype,"setOptimizationMode"),Et.prototype),gt(Et.prototype,"setScalabiltyMode",[mb],Object.getOwnPropertyDescriptor(Et.prototype,"setScalabiltyMode"),Et.prototype),gt(Et.prototype,"updateMediaStreamTrackResolution",[fb],Object.getOwnPropertyDescriptor(Et.prototype,"updateMediaStreamTrackResolution"),Et.prototype),gt(Et.prototype,"pipe",[gb],Object.getOwnPropertyDescriptor(Et.prototype,"pipe"),Et.prototype),gt(Et.prototype,"unpipe",[Sb],Object.getOwnPropertyDescriptor(Et.prototype,"unpipe"),Et.prototype),gt(Et.prototype,"close",[Tb],Object.getOwnPropertyDescriptor(Et.prototype,"close"),Et.prototype),gt(Et.prototype,"replaceTrack",[Rb],Object.getOwnPropertyDescriptor(Et.prototype,"replaceTrack"),Et.prototype),Et),um=(vb=it({argsMap:(t,e)=>[t.getTrackId(),e]}),Cb=le(),yb=sa("CameraVideoTrack","_enabledMutex"),Ib=it({argsMap:(t,e)=>[t.getTrackId(),e]}),Ab=le(),bb=it({argsMap:(t,e)=>[t.getTrackId(),e]}),wb=le(),Ob=it({argsMap:t=>[t.getTrackId()]}),rn=class $N extends Yt{get __className__(){return"CameraVideoTrack"}constructor(e,i,n,r,o,s){super(e,Nn(i.encoderConfig),r,o,s),D(this,"_config",void 0),D(this,"_originalConstraints",void 0),D(this,"_constraints",void 0),D(this,"_enabled",!0),D(this,"_deviceName","default"),D(this,"tryResumeVideoForIOS15_16WeChat",()=>C(this,null,function*(){(na()||OE())&&!function(){const a=vt();if(a.os!==we.IOS||!a.osVersion)return!1;const c=a.osVersion.split(".");return Number(c[0])===15&&Number(c[1])>=2}()&&iI()&&this._enabled&&!this._isClosed&&(_.debug("[".concat(this.getTrackId(),"] try capture camera media device for interrupted iOS 15 device on WeChat.")),yield this.renewMediaStreamTrack())})),this._config=i,this._originalConstraints=n,this._constraints=n,this._deviceName=e.label,this._encoderConfig=Nn(this._config.encoderConfig),Mt.on(Ve.IOS_15_16_INTERRUPTION_END,this.tryResumeVideoForIOS15_16WeChat),Mt.on(Ve.IOS_INTERRUPTION_END,this.tryResumeVideoForIOS15_16WeChat),this.bindProcessorContextEvents()}setDevice(e){return C(this,null,function*(){return typeof e=="string"?this._setDeviceById(e):e.deviceId?this._setDeviceById(e.deviceId):e.facingMode?this._setDeviceByFacingModel(e.facingMode):void 0})}_setDeviceById(e){return C(this,null,function*(){if(_.info("[".concat(this.getTrackId(),"] set device to ").concat(e)),this._enabled)try{const i=yield en.getDeviceById(e),n={};n.video=Qt({},this._constraints),n.video.deviceId={exact:e},n.video.facingMode=void 0,this._originMediaStreamTrack.stop();let r=null;try{r=yield tn(n,this.getTrackId())}catch(o){throw _.error("[".concat(this.getTrackId(),"] setDevice failed"),o.toString()),r=yield tn({video:this._constraints},this.getTrackId()),yield this._updateOriginMediaStreamTrack(r.getVideoTracks()[0],!1),o}yield this._updateOriginMediaStreamTrack(r.getVideoTracks()[0],!1),this.updateMediaStreamTrackResolution(),this._deviceName=i.label,this._config.cameraId=e,this._constraints.deviceId={exact:e}}catch(i){throw _.error("[".concat(this.getTrackId(),"] setDevice error"),i.toString()),i}else try{const i=yield en.getDeviceById(e);this._deviceName=i.label,this._config.cameraId=e,this._constraints.deviceId={exact:e}}catch(i){throw _.error("[".concat(this.getTrackId(),"] setDevice error"),i.toString()),i}_.info("[".concat(this.getTrackId(),"] setDevice success"))})}_setDeviceByFacingModel(e){return C(this,null,function*(){_.info("[".concat(this.getTrackId(),"] set facingMode ").concat(e));const i={video:Qt(Qt({},this._constraints),{},{deviceId:void 0,facingMode:{exact:e}})};if(this._enabled){this._originMediaStreamTrack.stop();let n=null;try{n=yield tn(i,this.getTrackId())}catch(r){throw _.error("[".concat(this.getTrackId(),"] setDeviceByFacingModel failed"),r.toString()),n=yield tn({video:this._constraints},this.getTrackId()),yield this._updateOriginMediaStreamTrack(n.getVideoTracks()[0],!1),r}yield this._updateOriginMediaStreamTrack(n.getVideoTracks()[0],!1),this.updateMediaStreamTrackResolution()}this._deviceName="",this._config.facingMode=e,this._config.cameraId=void 0,this._constraints=Qt({},i.video),_.info("[".concat(this.getTrackId(),"] setDeviceByFacingModel success"))})}setEnabled(e,i){return C(this,null,function*(){if(!i){if(e===this._enabled)return;this.stateCheck("enabled",e)}if(_.info("[".concat(this.getTrackId(),"] start setEnabled"),e),e){try{if(this.isExternalTrack)this._originMediaStreamTrack.enabled=!0;else{const n=yield tn({video:this._constraints},this.getTrackId());yield this._updateOriginMediaStreamTrack(n.getVideoTracks()[0],!1)}yield Bt(this,J.NEED_ENABLE_TRACK,this)}catch(n){throw _.error("[".concat(this.getTrackId(),"] setEnabled true error"),n.toString()),n}this.updateMediaStreamTrackResolution(),_.info("[".concat(this.getTrackId(),"] setEnabled to true success")),i||(this._enabled=!0)}else{this.isExternalTrack?this._originMediaStreamTrack.enabled=!1:(this._originMediaStreamTrack.onended=null,this._originMediaStreamTrack.stop()),i||(this._enabled=!1);try{yield Bt(this,J.NEED_DISABLE_TRACK,this)}catch(n){throw _.error("[".concat(this.getTrackId(),"] setEnabled to false error"),n.toString()),n}_.info("[".concat(this.getTrackId(),"] setEnabled to false success"))}})}setEncoderConfiguration(e,i){return C(this,null,function*(){if(!this._enabled)throw new k(v.TRACK_IS_DISABLED,"can not set encoder configuration when track is disabled");e=Nn(e),y("USE_STANDARD_BITRATE_DEFAULT")&&(delete e.bitrateMax,delete e.bitrateMin),this._forceBitrateLimit&&(e.bitrateMax=this._forceBitrateLimit.max_bitrate||e.bitrateMax,e.bitrateMin=this._forceBitrateLimit.min_bitrate||e.bitrateMin);const n=te(this._config);n.encoderConfig=e;const r=Ru(n);(je()||li()||bn())&&(r.deviceId=void 0),_.debug("[".concat(this.getTrackId(),"] setEncoderConfiguration applyConstraints"),JSON.stringify(e),JSON.stringify(r));try{yield this._originMediaStreamTrack.applyConstraints(r),this.updateMediaStreamTrackResolution()}catch(o){const s=new k(v.UNEXPECTED_ERROR,o.toString());throw _.error("[".concat(this.getTrackId(),"] applyConstraints error"),s.toString()),s}this._config=n,this._constraints=r,this._originalConstraints=r,this._encoderConfig=e,this._hints.indexOf(Vt.SCREEN_TRACK)===-1&&this.updateBitrateFromProfile();try{yield Bt(this,J.NEED_UPDATE_VIDEO_ENCODER,this)}catch(o){return o.throw(_)}})}_getDefaultPlayerConfig(){return{mirror:!0,fit:"cover"}}onTrackEnded(){if((li()||bn())&&this._enabled&&!this._isClosed&&Mt.duringInterruption){const e=()=>C(this,null,function*(){Mt.off(Ve.IOS_INTERRUPTION_END,e),this._enabled&&!this._isClosed&&(_.debug("[".concat(this.getTrackId(),"] try capture camera media device for interrupted iOS device.")),yield this.setEnabled(!1),yield this.setEnabled(!0))});Mt.on(Ve.IOS_INTERRUPTION_END,e)}else _.debug("[".concat(this.getTrackId(),"] track ended")),this.safeEmit(ha.TRACK_ENDED)}renewMediaStreamTrack(e){return C(this,null,function*(){const i=e||this._constraints,n=en.searchDeviceIdByName(this._deviceName);if(n&&!i.deviceId&&(i.deviceId={exact:n}),this._enabled){const r=yield tn({video:i},this.getTrackId());this._constraints=i,yield this._updateOriginMediaStreamTrack(r.getVideoTracks()[0],!0),this.updateMediaStreamTrackResolution()}})}close(){super.close(),Mt.off(Ve.IOS_15_16_INTERRUPTION_END,this.tryResumeVideoForIOS15_16WeChat),Mt.off(Ve.IOS_INTERRUPTION_END,this.tryResumeVideoForIOS15_16WeChat)}clone(e){let i=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],n=this._encoderConfig;e&&(n=Qt(Qt({},n),Nn(e))),n=Jo(n);const r=Gt(8,"track-cam-cloned-"),o=new $N(i?this._mediaStreamTrack.clone():this._mediaStreamTrack,Jo(Qt(Qt({},this._config),{},{encoderConfig:n})),Jo(this._constraints),Jo(this._scalabilityMode),this._optimizationMode,r);return e&&n&&o.setEncoderConfiguration(n),_.debug("clone track from ".concat(this.getTrackId()," to ").concat(r,", clone ").concat(i)),o}bindProcessorContextEvents(){this.processorContext.on(Zi.REQUEST_UPDATE_CONSTRAINTS,(e,i,n)=>C(this,null,function*(){try{const r=Object.assign({},this._originalConstraints,...e);yield this.renewMediaStreamTrack(r),i()}catch(r){n(r)}})),this.processorContext.on(Zi.REQUEST_CONSTRAINTS,e=>C(this,null,function*(){e(this._originMediaStreamTrack.getSettings())}))}},gt(rn.prototype,"setDevice",[vb,Cb],Object.getOwnPropertyDescriptor(rn.prototype,"setDevice"),rn.prototype),gt(rn.prototype,"setEnabled",[yb,Ib,Ab],Object.getOwnPropertyDescriptor(rn.prototype,"setEnabled"),rn.prototype),gt(rn.prototype,"setEncoderConfiguration",[bb,wb],Object.getOwnPropertyDescriptor(rn.prototype,"setEncoderConfiguration"),rn.prototype),gt(rn.prototype,"close",[Ob],Object.getOwnPropertyDescriptor(rn.prototype,"close"),rn.prototype),rn);function hm(t,e,i,n){i.optimizationMode&&(n&&n.width&&n.height?(i.encoderConfig=Qt(Qt({},n),{},{bitrateMin:n.bitrateMin,bitrateMax:n.bitrateMax}),i.optimizationMode!=="motion"&&i.optimizationMode!=="detail"||(e.contentHint=i.optimizationMode,e.contentHint===i.optimizationMode?_.debug("[".concat(t,"] set content hint to"),i.optimizationMode):_.debug("[".concat(t,"] set content hint failed")))):_.warning("[".concat(t,"] can not apply optimization mode bitrate config, no encoderConfig")))}var Nb,Db,Pb,Lb,un,kb,Mb,Ub,xb,Vb,Fb,ri;class Bb extends HI{getUserId(){return this._userId}constructor(e,i,n,r){super(e,"track-".concat(e.kind,"-").concat(i,"-").concat(r.clientId,"_").concat(Gt(5,""))),D(this,"_userId",void 0),D(this,"_uintId",void 0),D(this,"_isDestroyed",!1),D(this,"store",void 0),D(this,"processor",void 0),D(this,"processorContext",void 0),this._userId=i,this._uintId=n,this.store=r}_updateOriginMediaStreamTrack(e){this._originMediaStreamTrack=e,this._mediaStreamTrack=e,this._updatePlayerSource(),this.processor&&this.processor.updateInput({track:this._originMediaStreamTrack,context:this.processorContext})}_destroy(){this._isDestroyed=!0,_.info("[".concat(this.getTrackId(),"] is destroyed")),this.stop(),super.close()}getProcessorStats(){return this.processorContext.gatherStats()}getProcessorUsage(){return this.processorContext.gatherUsage()}}let ga=(Nb=it({argsMap:(t,e,i)=>[t.getTrackId(),typeof e=="string"?e:e instanceof HTMLVideoElement?"HTMLVideoElement":"HTMLElement",i]}),Db=it({argsMap:t=>[t.getTrackId()]}),Pb=it({argsMap:(t,e)=>[t.getTrackId(),e.name]}),Lb=it({argsMap:t=>[t.getTrackId()]}),gt((un=class extends Bb{get isPlaying(){return!(!this._player||this._player.videoElementStatus!==ii.PLAYING)}get __className__(){return"RemoteVideoTrack"}constructor(t,e,i,n){super(t,e,i,n),D(this,"_videoVisibleTimer",null),D(this,"_previousVideoVisibleStatus",void 0),D(this,"_clearPreviousVideoVisibleStatus",()=>this._previousVideoVisibleStatus=void 0),D(this,"trackMediaType",_a.VIDEO),D(this,"_videoWidth",void 0),D(this,"_videoHeight",void 0),D(this,"_player",void 0),D(this,"processorDestination",void 0),D(this,"processorContext",void 0),this.updateMediaStreamTrackResolution(),this.processorContext=new iA(this.getTrackId(),"remote"),this.processorDestination=new eA(this.processorContext),this.bindProcessorDestinationEvents()}getStats(){return _o(()=>{_.warning("[deprecated] RemoteVideoTrack.getStats will be removed in the future, use AgoraRTCClient.getRemoteVideoStats instead")},"remoteVideoTrackGetStatsWarning"),zi(this,J.GET_STATS)||Qt({},GI)}play(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof t=="string"){const n=document.getElementById(t);n?t=n:(_.warning("[".concat(this.getTrackId(),'] can not find "#').concat(t,'" element, use document.body')),t=document.body)}_.debug("[".concat(this.getTrackId(),"] start video playback in ").concat(t instanceof HTMLVideoElement?"HTMLVideoElement":"HTMLElement"),JSON.stringify(e));const i=Qt(Qt({fit:"cover"},e),{},{trackId:this.getTrackId(),element:t});this._player?this._player.updateConfig(i):(t instanceof HTMLVideoElement?this._player=new lm(i):this._player=new vu(i),this._player.updateVideoTrack(this._mediaStreamTrack),this._player.onFirstVideoFrameDecoded=()=>{this.store.subscribe(this.getUserId(),"video",void 0,void 0,Date.now()),this.safeEmit(pa.FIRST_FRAME_DECODED)},this._player.onVideoStateChanged=n=>{this.safeEmit(pa.VIDEO_STATE_CHANGED,n)}),this._player.play(this.store.sessionId||void 0),this._videoVisibleTimer&&window.clearInterval(this._videoVisibleTimer),this._clearPreviousVideoVisibleStatus(),this._videoVisibleTimer=window.setInterval(()=>{try{const n=this.getVideoElementVisibleStatus();this.safeEmit(pa.VIDEO_ELEMENT_VISIBLE_STATUS,n)}catch(n){}},y("CHECK_VIDEO_VISIBLE_INTERVAL"))}stop(){this._player&&(this._videoVisibleTimer&&(window.clearInterval(this._videoVisibleTimer),this._videoVisibleTimer=null),this._clearPreviousVideoVisibleStatus(),this._player.destroy(),this._player=void 0,_.debug("[".concat(this.getTrackId(),"] stop video playback")))}getCurrentFrameData(){return this._player?this._player.getCurrentFrame():new ImageData(2,2)}updateMediaStreamTrackResolution(){oA(this._originMediaStreamTrack).then(t=>{let[e,i]=t;this._videoHeight=i,this._videoWidth=e}).catch(lu)}_updatePlayerSource(){_.debug("[".concat(this.getTrackId(),"] update player source track")),this._player&&this._player.updateVideoTrack(this._mediaStreamTrack)}getVideoElementVisibleStatus(){try{var t,e;const i=this==null||(t=this._player)===null||t===void 0?void 0:t.getContainerElement(),n={track:this,element:this==null||(e=this._player)===null||e===void 0?void 0:e.getVideoElement(),slot:i==null?void 0:i.parentElement},{element:r,slot:o}=n;if(this.isPlaying&&r instanceof HTMLVideoElement&&o instanceof HTMLElement){const s=sI.checkOneElementVisible(r),a=Object.assign({},s);if(a.visible!==this._previousVideoVisibleStatus){this._previousVideoVisibleStatus=a.visible;const c=Z.reportApiInvoke(null,{tag:oe.TRACER,name:_e.REMOTE_VIDEO_TRACK_GET_VIDEO_VISIBLE,options:[this.getTrackId()]});a.visible?c.onSuccess("Video is visible"):c.onSuccess("Invisible because of ".concat(a.reason))}return a}return}catch(i){throw new k(v.GET_VIDEO_ELEMENT_VISIBLE_ERROR,i.message)}}pipe(t){if(this.processor===t)return t;if(t._source)throw new k(v.INVALID_OPERATION,"Processor ".concat(t.name," already piped, please call unpipe beforehand."));return this.unpipe(),this.processor=t,this.processor._source=this,t.updateInput({track:this._originMediaStreamTrack,context:this.processorContext}),t}unpipe(){if(!this.processor)return;const t=this.processor;this.processor._source=void 0,this.processor=void 0,t.reset()}bindProcessorDestinationEvents(){this.processorDestination.on(ui.ON_TRACK,t=>C(this,null,function*(){t?t!==this._mediaStreamTrack&&(this._mediaStreamTrack=t,this._updatePlayerSource()):this._mediaStreamTrack!==this._originMediaStreamTrack&&(this._mediaStreamTrack=this._originMediaStreamTrack,this._updatePlayerSource())}))}unbindProcessorDestinationEvents(){this.processorDestination.removeAllListeners(ui.ON_TRACK)}_destroy(){super._destroy(),this.unbindProcessorDestinationEvents()}_onSei(t){this.emit(ts.SEI_RECEIVED,t)}}).prototype,"play",[Nb],Object.getOwnPropertyDescriptor(un.prototype,"play"),un.prototype),gt(un.prototype,"stop",[Db],Object.getOwnPropertyDescriptor(un.prototype,"stop"),un.prototype),gt(un.prototype,"pipe",[Pb],Object.getOwnPropertyDescriptor(un.prototype,"pipe"),un.prototype),gt(un.prototype,"unpipe",[Lb],Object.getOwnPropertyDescriptor(un.prototype,"unpipe"),un.prototype),un),Sa=(kb=it({argsMap:(t,e)=>[t.getTrackId(),e],throttleTime:300}),Mb=it({argsMap:(t,e)=>[t.getTrackId(),e]}),Ub=it({argsMap:t=>[t.getTrackId()]}),xb=it({argsMap:t=>[t.getTrackId()]}),Vb=it({argsMap:(t,e)=>[t.getTrackId(),e.name]}),Fb=it({argsMap:t=>[t.getTrackId()]}),gt((ri=class extends Bb{get isPlaying(){return this._useAudioElement?Ri.isPlaying(this.getTrackId()):this._source.isPlayed}get __className__(){return"RemoteAudioTrack"}constructor(t,e,i,n){super(t,e,i,n),D(this,"trackMediaType",_a.AUDIO),D(this,"_source",void 0),D(this,"_useAudioElement",!0),D(this,"_volume",100),D(this,"processorContext",void 0),D(this,"processorDestination",void 0),D(this,"_played",!1),D(this,"_bypassWebAudio",!1),y("DISABLE_WEBAUDIO")?(this._source=new cm,this._bypassWebAudio=!0,this._useAudioElement=!0):(this._source=new zI(t,!0),y("REMOTE_AUDIO_TRACK_USES_WEB_AUDIO")&&(this._useAudioElement=!1)),this._source.once(Qi.RECEIVE_TRACK_BUFFER,()=>{this.safeEmit(pa.FIRST_FRAME_DECODED)}),this.processorContext=new rA(this._source.context,this.getTrackId(),"remote"),this.processorDestination=new nA(this.processorContext),this.bindProcessorDestinationEvents(),this._source.on(Qi.UPDATE_SOURCE,()=>{this.processor&&this.processor.updateInput({node:this._source.processSourceNode,context:this.processorContext})})}setAudioFrameCallback(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:4096;if(!t)return this._source.removeAllListeners(Qi.ON_AUDIO_BUFFER),void this._source.stopGetAudioBuffer();this._source.startGetAudioBuffer(e),this._source.removeAllListeners(Qi.ON_AUDIO_BUFFER),this._source.on(Qi.ON_AUDIO_BUFFER,i=>t(i))}setVolume(t){this._volume=t,this._useAudioElement?Ri.setVolume(this.getTrackId(),t):this._source.setVolume(t/100)}setPlaybackDevice(t){return C(this,null,function*(){if(!this._useAudioElement||!VI())throw new k(v.NOT_SUPPORTED,"your browser does not support setting the audio output device");yield Ri.setSinkID(this.getTrackId(),t)})}getVolumeLevel(){return this._source.getAccurateVolumeLevel()}getStats(){return _o(()=>{_.warning("[deprecated] RemoteAudioTrack.getStats will be removed in the future, use AgoraRTCClient.getRemoteAudioStats instead")},"remoteAudioTrackGetStatsWarning"),zi(this,J.GET_STATS)||Qt({},jI)}play(){_.debug("[".concat(this.getTrackId(),"] start audio playback")),this._played=!0,this._useAudioElement?(_.debug("[".concat(this.getTrackId(),"] use audio element to play")),Ri.play(this._mediaStreamTrack,this.getTrackId(),this._volume,this.store.sessionId||void 0)):this._source.play()}stop(){_.debug("[".concat(this.getTrackId(),"] stop audio playback")),this._played=!1,this._useAudioElement?Ri.stop(this.getTrackId()):this._source.stop()}_destroy(){super._destroy(),this._played=!1,this.unbindProcessorDestinationEvents(),this._source.destroy()}_isFreeze(){return this._source.isFreeze}_updatePlayerSource(){let t=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];_.debug("[".concat(this.getTrackId(),"] update player source track")),t&&this._source.updateTrack(this._mediaStreamTrack),this._useAudioElement&&Ri.updateTrack(this.getTrackId(),this._mediaStreamTrack)}pipe(t){if(this._bypassWebAudio)throw new k(v.NOT_SUPPORTED,"can not pipe extension when WebAudio disabled");if(this.processor===t)return t;if(t._source)throw new k(v.INVALID_OPERATION,"Processor ".concat(t.name," already piped, please call unpipe beforehand."));return this.unpipe(),this.processor=t,this.processor._source=this,t.updateInput({track:this._originMediaStreamTrack,node:this._source.processSourceNode,context:this.processorContext}),t}unpipe(){var t;if(this._bypassWebAudio)throw new k(v.NOT_SUPPORTED,"can not unpipe extension when WebAudio disabled");if(!this.processor)return;const e=this.processor;(t=this._source.processSourceNode)===null||t===void 0||t.disconnect(),this.processor._source=!1,this.processor=void 0,e.reset()}bindProcessorDestinationEvents(){this.processorDestination.on(ui.ON_TRACK,t=>C(this,null,function*(){t?t!==this._mediaStreamTrack&&(this._mediaStreamTrack=t,this._updatePlayerSource(!1),this._source.processedNode=this._source.createMediaStreamSourceNode(t)):this._mediaStreamTrack!==this._originMediaStreamTrack&&(this._mediaStreamTrack=this._originMediaStreamTrack,this._updatePlayerSource())})),this.processorDestination.on(ui.ON_NODE,t=>{this._source.processedNode=t;const e=!t;this._useAudioElement!==e&&(this._played?(this.stop(),this._useAudioElement=e,this.play()):this._useAudioElement=e)})}unbindProcessorDestinationEvents(){this.processorDestination.removeAllListeners(ui.ON_TRACK),this.processorDestination.removeAllListeners(ui.ON_NODE)}}).prototype,"setVolume",[kb],Object.getOwnPropertyDescriptor(ri.prototype,"setVolume"),ri.prototype),gt(ri.prototype,"setPlaybackDevice",[Mb],Object.getOwnPropertyDescriptor(ri.prototype,"setPlaybackDevice"),ri.prototype),gt(ri.prototype,"play",[Ub],Object.getOwnPropertyDescriptor(ri.prototype,"play"),ri.prototype),gt(ri.prototype,"stop",[xb],Object.getOwnPropertyDescriptor(ri.prototype,"stop"),ri.prototype),gt(ri.prototype,"pipe",[Vb],Object.getOwnPropertyDescriptor(ri.prototype,"pipe"),ri.prototype),gt(ri.prototype,"unpipe",[Fb],Object.getOwnPropertyDescriptor(ri.prototype,"unpipe"),ri.prototype),ri);const Sr=new class extends $t{get visibility(){return document.visibilityState}get lastHiddenTime(){return this._lastHiddenTime}get lastVisibleTime(){return this._lastVisibleTime}constructor(){super(),D(this,"_lastHiddenTime",0),D(this,"_lastVisibleTime",0),document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"?this._lastHiddenTime=performance.now():this._lastVisibleTime=performance.now(),_.debug("current web page is ".concat(document.visibilityState)),this.emit("VISIBILITY_CHANGE",document.visibilityState)})}};class jb extends $t{constructor(e,i){super(),D(this,"trackMediaType",_a.DATA),D(this,"_version",1),D(this,"_type",3),D(this,"_config",void 0),D(this,"_originDataChannel",void 0),D(this,"_dataStreamPacketHeader",new ArrayBuffer(4)),D(this,"_dataStreamPacketHandler",{serialize:n=>n,deserialize:n=>n}),D(this,"_datachannelEventMap",new Map),this._config=e,i&&(this._originDataChannel=i,this._bandDataChannelEvents(i)),this._initPacketHeader()}useDataStream(e){this._dataStreamPacketHandler=e}get id(){return this._config.id}get ordered(){return this._config.ordered}get maxRetransmits(){return y("DATASTREAM_MAX_RETRANSMITS")}get metadata(){return this._config.metadata}get readyState(){var e,i;return(e=(i=this._originDataChannel)===null||i===void 0?void 0:i.readyState)!==null&&e!==void 0?e:"connecting"}get _originDataChannelId(){var e,i;return(e=(i=this._originDataChannel)===null||i===void 0?void 0:i.id)!==null&&e!==void 0?e:null}getChannelId(){return this.id}getConfig(){return this._config}_close(){this._originDataChannel&&(this._unbindDataChannelEvents(this._originDataChannel),this._originDataChannel=void 0)}_waitTillOpen(){return C(this,null,function*(){return new K((e,i)=>{if(this._originDataChannel){this._originDataChannel.readyState==="open"&&e();const n=setTimeout(()=>{var r;i(new k(v.DATACHANNEL_CONNECTION_TIMEOUT,"Cannot create datachannel, id: ".concat((r=this._originDataChannel)===null||r===void 0?void 0:r.id)))},1e4);this._originDataChannel.onopen=()=>{clearTimeout(n),this._originDataChannel&&this._bandDataChannelEvents(this._originDataChannel),e()},this._originDataChannel.onerror=()=>{throw clearTimeout(n),new k(v.DATACHANNEL_CONNECTION_TIMEOUT)}}else i(new k(v.DATACHANNEL_CONNECTION_TIMEOUT,"cannot find dataChannel"))})})}_updateOriginDataChannel(e){this._originDataChannel=e,this._bandDataChannelEvents(e)}_initPacketHeader(){const e=new DataView(this._dataStreamPacketHeader);e.setUint16(0,this._version),e.setUint8(2,this._type),e.setUint8(3,this._config.id)}_bandDataChannelEvents(e){this._unbindDataChannelEvents(e),[Su.OPEN,Su.CLOSE,Su.ERROR].forEach(i=>{const n=()=>{this.emit(i)};this._datachannelEventMap.set(i,n),e.addEventListener(i,n)})}_unbindDataChannelEvents(e){Array.from(this._datachannelEventMap.entries()).forEach(i=>{let[n,r]=i;e.removeEventListener(n,r)}),this._datachannelEventMap.clear()}}class g3 extends jb{constructor(e){super(e),D(this,"_messageListener",void 0),this._messageListener=i=>{if(i.data.byteLengthvl.revokeObjectURL(t),0),new Worker(vl.createObjectURL(t))}const Gb=71,pm=1,_m=2,Em=1,Wb=2;var jr=function(t){return t[t.AUDIO_LEVEL=1]="AUDIO_LEVEL",t[t.METADATA=2]="METADATA",t[t.AUDIO_64_BIT_PTS=3]="AUDIO_64_BIT_PTS",t}(jr||{});function Hb(t){let e=arguments.length>1&&arguments[1]!==void 0&&arguments[1];const i=t.getUint8(0);if(i!==Gb)return;const n=t.getUint16(1),r=pm+_m+n,o=new Uint8Array(t.byteLength-r);o.set(new Uint8Array(t.buffer,r,t.byteLength-r));const s={m:i,tlvLen:n,tlv:[],frame:o};let a=pm+_m;for(;a>1:127&u})}else if(c===jr.METADATA||c===jr.AUDIO_64_BIT_PTS){const u=new Uint8Array(d);for(let h=0;ha;l--,u++)d=d*l/u;return d}(e,t))+t*Math.log(.5)+(e-t)*Math.log(1-.5)-Math.log(i)+i*t,Au.set(n,r)),ri&&c++;e[s]!==c&&(e[s]=c,o=!0)}return o}window.cache=Au;let T3=0;class Yb{constructor(e){D(this,"id",void 0),D(this,"immediates",[]),D(this,"lastNonSilence",-1),D(this,"immediateSpeechActivityScore",ns),D(this,"lastLevelChangedTime",Date.now()),D(this,"levels",[]),D(this,"longs",[]),D(this,"longSpeechActivityScore",ns),D(this,"mediums",[]),D(this,"mediumSpeechActivityScore",ns),D(this,"minLevel",0),D(this,"nextMinLevel",0),D(this,"nextMinLevelWindowLength",0),D(this,"energyScore",0),this.id=e||"".concat(T3++),this.immediates.length=50,this.mediums.length=10,this.longs.length=1,this.levels.length=this.immediates.length}computeImmediates(){const e=this.immediates,i=this.levels,n=this.minLevel+mm;let r=!1;for(let o=0;ons&&(this.lastNonSilence=e)}evaluateMediumSpeechActivityScore(){this.mediumSpeechActivityScore=fm(this.mediums[0],5,24)}evaluateSpeechActivityScores(e){this.computeImmediates()&&(this.evaluateImmediateSpeechActivityScore(),this.computeMediums()&&(this.evaluateMediumSpeechActivityScore(),this.computeLongs()&&this.evaluateLongSpeechActivityScore(e)))}getLastLevelChangedTime(){return this.lastLevelChangedTime}getLevels(){var e;return"[".concat(bg(e=[...this.levels]).call(e).join(),"]")}getSpeechActivityScore(e){switch(e){case 0:return this.immediateSpeechActivityScore;case 1:return this.mediumSpeechActivityScore;case 2:return this.longSpeechActivityScore;default:throw new Error("interval "+e)}}levelChanged(e,i){if(this.lastLevelChangedTime<=i){this.lastLevelChangedTime=i;let n=e;return e<0&&(n=0),e>Iu&&(n=Iu),this.levels.unshift(n),this.levels.length>this.immediates.length&&this.levels.pop(),this.updateMinLevel(n),n>=this.minLevel+mm?n:n/2}return-1}levelTimedOut(){this.levelChanged(0,this.lastLevelChangedTime)}updateMinLevel(e){if(e!==0){if(this.minLevel===0||this.minLevel>e)return this.minLevel=e,this.nextMinLevel=0,void(this.nextMinLevelWindowLength=0);if(this.nextMinLevel===0)return this.nextMinLevel=e,void(this.nextMinLevelWindowLength=1);if(this.nextMinLevel>e&&(this.nextMinLevel=e),this.nextMinLevelWindowLength++,this.nextMinLevelWindowLength>=750){let i=Math.sqrt(this.minLevel*this.nextMinLevel);i<0?i=0:i>Iu&&(i=Iu),this.minLevel=i,this.nextMinLevel=0,this.nextMinLevelWindowLength=0}}}}class R3{constructor(e){D(this,"algorithm",void 0),this.algorithm=e}execute(){let e=!this.algorithm;if(!e)try{const i=this.algorithm.runInDecisionMaker(this);i<=0?e=!0:setTimeout(this.execute.bind(this),i)}catch(i){e=!0}e&&this.algorithm&&this.algorithm.decisionMakerExited(this)}}class gm{constructor(e,i,n){D(this,"isDominant",void 0),D(this,"energyRanking",void 0),D(this,"energyScore",void 0),this.isDominant=e,this.energyRanking=i,this.energyScore=n}}class v3 extends $t{constructor(e){super(),D(this,"dominantId",null),D(this,"lastDecisionTime",0),D(this,"lastLevelChangedTime",0),D(this,"lastLevelIdleTime",0),D(this,"relativeSpeechActivities",[]),D(this,"speakers",new Map),D(this,"enableSilence",!1),D(this,"timeoutToSilenceInterval",0),D(this,"decisionMaker",null),D(this,"loudest",[]),D(this,"numLoudestToTrack",3),D(this,"energyExpireTimeMs",250),D(this,"energyAlphaPct",50),this.timeoutToSilenceInterval=e,this.enableSilence=e>0,this.relativeSpeechActivities.length=3}setLoudestConfig(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:3,i=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;this.numLoudestToTrack=e,i!=null&&(this.energyExpireTimeMs=i),n!=null&&(this.energyAlphaPct=n),this.loudest.length>e&&this.loudest.splice(e)}getDominantSpeaker(){return this.dominantId}isAmongLoudest(e){return this.loudest.some(i=>i.id===e)}levelChanged(e,i){const n=Date.now(),r=this.getOrCreateSpeaker(e);this.lastLevelChangedTime0&&this.lastDecisionTime-this.lastLevelChangedTime>=15e3?-1:this._runInDecisionMaker()}decisionMakerExited(e){this.decisionMaker===e&&(this.decisionMaker=null)}destroy(){this.decisionMaker=null,this.loudest.length=0,this.speakers.clear(),this.removeAllListeners()}addSpeakers(e){e.forEach(i=>{this.speakers.has(i.id)||this.speakers.set(i.id,i)})}removeSpeakers(e){e.forEach(i=>{this.speakers.delete(i.id)})}getOrCreateSpeaker(e){let i=this.speakers.get(e);return i||(i=new Yb(e),this.speakers.set(e,i),this.maybeStartDecisionMaker()),i}updateLoudestList(e,i,n){const r=e.id===this.dominantId;if(i<0){let c=0;for(;c=this.numLoudestToTrack)this.loudest.splice(s,1);else if(c.id!==e.id)++s;else if(this.loudest.splice(s,1),this.loudest.lengththis.numLoudestToTrack&&this.loudest.splice(this.numLoudestToTrack,1)),new gm(r,a,e.energyScore)}maybeStartDecisionMaker(){!this.decisionMaker&&this.speakers.size>0&&(this.decisionMaker=new R3(this),this.decisionMaker.execute())}makeDecision(e){let i=null,n=null;const r=this.speakers.size;let o=null;if(r===0)o=null;else if(r===1){var s;const a=Ui(s=this.speakers).call(s).next().value;this.enableSilence&&a&&(o=a.id,a.evaluateSpeechActivityScores(e),e-a.lastNonSilence>this.timeoutToSilenceInterval&&(o=null))}else{let a=this.dominantId==null?null:this.speakers.get(this.dominantId);if(a==null){const l=this.speakers.entries().next();l.value&&(o=l.value[0],a=l.value[1])}else o=a.id;a!=null&&a.evaluateSpeechActivityScores(e);const c=this.relativeSpeechActivities;let d=2;for(const l of this.speakers.entries()){const[u,h]=l;if(h===a)continue;h.evaluateSpeechActivityScores(e);for(let f=0;f3&&g>2&&m>0&&g>d&&(d=g,o=u)}this.enableSilence&&a!=null&&o===a.id&&e-a.lastNonSilence>this.timeoutToSilenceInterval&&(o=null)}o==null&&!this.enableSilence||o===this.dominantId||(i=this.dominantId,this.dominantId=o,n=this.dominantId),n==null&&!this.enableSilence||n===i||this.emit("ActiveSpeakerChanged",n)}_runInDecisionMaker(){const e=Date.now(),i=300-(e-this.lastLevelIdleTime);let n=0;i<=0?(this.lastLevelIdleTime!==0&&this.timeoutIdleLevels(e),this.lastLevelIdleTime=e):n=i;let r=300-(e-this.lastDecisionTime);return r<=0&&(this.lastDecisionTime=e,this.makeDecision(e),r=300-(Date.now()-e)),r>0&&n>r&&(n=r),n}timeoutIdleLevels(e){const i=[];for(const r of Ui(n=this.speakers).call(n)){var n;const o=e-r.getLastLevelChangedTime();36e5this.speakers.delete(r))}}const Ta=new Map;let Zn=null,bu=null;const qb=3;let rs=[];const $n=new Map,wu=new Map;class C3{get samples(){return this.actives+this.inactives}get activeRate(){return this.actives/this.samples}constructor(e,i){D(this,"id",void 0),D(this,"track",void 0),D(this,"score",0),D(this,"active",!0),D(this,"muted",!1),D(this,"timer",0),D(this,"actives",0),D(this,"inactives",0),this.id=e,this.track=i,this.setActive($n.size<3)}autoCheckActive(){this.autoSetActive(),this.autoAdjustActive(),this.resetTimer(),this.actives=0,this.inactives=0}autoSetActive(){const e=this.active;this.active=this.activeRate>=.8;const{actives:i,inactives:n}=function(){const r=[],o=[];return Array.from(Ui($n).call($n)).forEach(s=>{s.active?r.push(s):o.push(s)}),{actives:r,inactives:o}}();if(i.length>3){let r;i.forEach(o=>{(!r||r.score>o.score)&&(r=o)}),r&&r.setActive(!1)}if(i.length<3&&n.length>0){let r;n.forEach(o=>{(!r||r.score40&&r.activeRate-this.activeRate>.4?r.setActive(!0):this.active=!0)}this.setMuted(!this.active)}setActive(e){this.active=e,this.resetTimer(),this.setMuted(!e)}autoAdjustActive(){this.active?this.autoSwitchToInactive():this.autoSwitchToActive()}autoSwitchToActive(){const e=function(i){let n;return Array.from(Ui($n).call($n)).forEach(r=>{!r.active||r.id===i||r.samples<40||(!n||r.score.4&&(e.setActive(!1),this.setActive(!0))}autoSwitchToInactive(){const e=function(i){let n;return Array.from(Ui($n).call($n)).forEach(r=>{r.active||r.id===i||r.samples<40||(!n||r.score>n.score)&&(n=r)}),n}(this.id);e&&e.activeRate-this.activeRate>.4&&(e.setActive(!0),this.setActive(!1))}addSample(e){e?this.actives+=1:this.inactives+=1,this.samples>66.66666666666667&&this.autoCheckActive()}setMuted(e){this.track&&(this.track.enabled=!e,this.muted=e)}resetTimer(){this.clearTimer(),this.timer=window.setTimeout(()=>{if(this.samples!==0)return this.samples<50?this.resetTimer():void this.autoCheckActive()},1e3)}clearTimer(){this.timer&&(clearTimeout(this.timer),this.timer=0)}}let Ou;function zb(t){const e=$n.get(t);e&&($n.delete(t),e.clearTimer())}const Nu=new Map,y3=new Map;function I3(t,e,i){let n=new Uint8Array(t,e,i),r=[],o=0;for(;r.length34,xe.supportUnifiedPlan=function(){if(!window.RTCRtpTransceiver||!("currentDirection"in RTCRtpTransceiver.prototype))return!1;const e=new RTCPeerConnection;let i=!1;try{e.addTransceiver("audio"),i=!0}catch(n){}return e.close(),i}(),xe.supportMinBitrate=t.name===It.CHROME||t.name===It.EDGE,xe.supportSetRtpSenderParameters=function(){const e=vt();return!!(window.RTCRtpSender&&window.RTCRtpSender.prototype.setParameters&&window.RTCRtpSender.prototype.getParameters)&&(!!Vr()||!(!je()&&!su())||e.name===It.FIREFOX&&Number(e.version)>=64)}(),t.name===It.SAFARI&&(Number(t.version)>=14?xe.supportDualStream=!0:xe.supportDualStream=!1),xe.webAudioMediaStreamDest=function(){const e=vt();return!(e.name===It.SAFARI&&Number(e.version)<12)}(),xe.supportReplaceTrack=!!window.RTCRtpSender&&typeof RTCRtpSender.prototype.replaceTrack=="function",xe.supportWebGL=typeof WebGLRenderingContext!="undefined",xe.supportRequestFrame=!!window.CanvasCaptureMediaStreamTrack,Vr()||(xe.webAudioWithAEC=!0),xe.supportShareAudio=function(){const e=vt();return(e.os===we.WIN_10||e.os===we.WIN_81||e.os===we.WIN_7||e.os===we.LINUX||e.os===we.MAC_OS||e.os===we.CHROMIUM_OS)&&e.name===It.CHROME&&Number(e.version)>=74}(),xe.supportDataChannel=!!(Ac(76)||function(e){const i=vt();return!(i.name!==It.FIREFOX||!i.osVersion)&&Number(i.version)>=e}(68)||Qy(14)),xe.supportPCSetConfiguration=function(){const e=window.RTCPeerConnection;return!ne()&&!!e&&e.prototype.setConfiguration instanceof Function}(),xe.supportWebRTCEncodedTransform=function(){const e=vt();return e.name==="Chrome"&&Number(e.version)>=87||e.name==="Safari"&&Number(e.version)>=15}(),xe.supportWebRTCInsertableStream=function(){const e=vt();return(e.name===It.CHROME||e.name===It.EDGE)&&Number(e.version)>=94&&"MediaStreamTrackGenerator"in window&&"MediaStreamTrackProcessor"in window}(),xe.supportRequestVideoFrameCallback="requestVideoFrameCallback"in HTMLVideoElement.prototype,xe.supportWebCrypto=typeof window!="undefined"&&window.crypto!==void 0&&window.crypto.subtle!==void 0,du(()=>{xe.supportDualStreamEncoding=function(){const e=vt();return!!y("DISABLE_WEBAUDIO")||e.name==="Safari"&&Number(e.version)>=14||!!(e.name==="Chrome"&&/Windows/i.test(e.os||"")&&Number(e.version)>=100&&y("CHROME_DUAL_STREAM_USE_ENCODING"))}(),_.debug("browser ua: ",navigator.userAgent),_.info("browser info: ",t),_.info("browser compatibility: ",xe)})})();const A3=["CHINA","GLOBAL"],Xb=[[0,1,2,3,4,5,5],[0,2,2,3,4,5,5],[0,3,3,3,4,5,5],[0,4,4,4,4,5,5],[0,5,5,5,5,5,5]],os=[],Ra=[];function ss(t,e){return!!e&&os.some(i=>i.uid===t&&i.channelName===e)}function Sm(){return Ra.length>0}var b3=_C.forEach,Jb=kd("forEach")?[].forEach:function(t){return b3(this,t,arguments.length>1?arguments[1]:void 0)};Nt({target:"Array",proto:!0,forced:[].forEach!==Jb},{forEach:Jb});var w3=Sn("Array","forEach"),O3=no,N3=ti,D3=$e,P3=w3,Tm=Array.prototype,L3={DOMTokenList:!0,NodeList:!0},k3=function(t){var e=t.forEach;return t===Tm||D3(Tm,t)&&e===Tm.forEach||N3(L3,O3(t))?P3:e},M3=Pt(k3),U3=dr,Qb=Bd;Nt({target:"Object",stat:!0,forced:Lt(function(){Qb(1)})},{keys:function(t){return Qb(U3(t))}});var x3=Pt(sn.Object.keys),V3=Pt(yg),F3=Pt(Ag),B3=Nt,Zb=Ja,j3=tl,G3=gi,$b=Wh,W3=io,H3=to,K3=c_,Y3=Re,q3=oo,z3=rC("slice"),X3=Y3("species"),Rm=Array,J3=Math.max;B3({target:"Array",proto:!0,forced:!z3},{slice:function(t,e){var i,n,r,o=H3(this),s=W3(o),a=$b(t,s),c=$b(e===void 0?s:e,s);if(Zb(o)&&(i=o.constructor,(j3(i)&&(i===Rm||Zb(i.prototype))||G3(i)&&(i=i[X3])===null)&&(i=void 0),i===Rm||i===void 0))return q3(o,a,c);for(n=new(i===void 0?Rm:i)(J3(c-a,0)),r=0;a\?\@\[\]\^\_\{\}\|\~\,]{1,64}$/.test(t))throw _.error("Invalid Channel Name ".concat(t)),new P(v.INVALID_PARAMS,"The length must be within 64 bytes. The supported characters: a-z,A-Z,0-9,space,!, #, $, %, &, (, ), +, -, :, ;, <, =, ., >, ?, @, [, ], ^, _, {, }, |, ~, ,")}function ku(t){if(e=t,!(typeof e=="number"&&Math.floor(e)===e&&0<=e&&e<=4294967295||oI(t,1,255)))throw new P(v.INVALID_PARAMS,"[String uid] Length of the string: [1,255]. ASCII characters only. [Number uid] The value range is [0,10000]");var e;typeof t=="string"&&_.warn("You input a string as the user ID, to ensure better end-user experience, Agora highly suggests not using a string as the user ID.")}let Gr=function(t){return t.TRANSCODE="mix_streaming",t.RAW="raw_streaming",t}({});const iW={alpha:1,height:640,width:360,x:0,y:0,zOrder:0,audioChannel:0},ym={x:0,y:0,width:160,height:160,zOrder:255,alpha:1};function Im(t,e){Me(t.url,"".concat(e,".url"),1,1e3,!1),re(t.x)||xt(t.x,"".concat(e,".x"),0,1e4),re(t.y)||xt(t.y,"".concat(e,".y"),0,1e4),re(t.width)||xt(t.width,"".concat(e,".width"),0,1e4),re(t.height)||xt(t.height,"".concat(e,".height"),0,1e4),re(t.zOrder)||xt(t.zOrder,"".concat(e,".zOrder"),0,255),re(t.alpha)||xt(t.alpha,"".concat(e,".alpha"),0,1,!1)}const nW={audioBitrate:48,audioChannels:1,audioSampleRate:48e3,backgroundColor:0,height:360,lowLatency:!1,videoBitrate:400,videoCodecProfile:100,videoCodecType:1,videoFrameRate:15,videoGop:30,width:640,images:[],userConfigs:[],userConfigExtraInfo:""};let fo=function(t){return t.WARNING="@live_uap-warning",t.ERROR="@line_uap-error",t.PUBLISH_STREAM_STATUS="@live_uap-publish-status",t.WORKER_STATUS="@live_uap-worker-status",t.REQUEST_NEW_ADDRESS="@live_uap-request-address",t}({}),Am=function(t){return t.REQUEST_WORKER_MANAGER_LIST="@live_req_worker_manager",t}({}),Ce=function(t){return t[t.LIVE_STREAM_RESPONSE_SUCCEED=200]="LIVE_STREAM_RESPONSE_SUCCEED",t[t.LIVE_STREAM_RESPONSE_ALREADY_EXISTS_STREAM=454]="LIVE_STREAM_RESPONSE_ALREADY_EXISTS_STREAM",t[t.LIVE_STREAM_RESPONSE_TRANSCODING_PARAMETER_ERROR=450]="LIVE_STREAM_RESPONSE_TRANSCODING_PARAMETER_ERROR",t[t.LIVE_STREAM_RESPONSE_BAD_STREAM=451]="LIVE_STREAM_RESPONSE_BAD_STREAM",t[t.LIVE_STREAM_RESPONSE_WM_PARAMETER_ERROR=400]="LIVE_STREAM_RESPONSE_WM_PARAMETER_ERROR",t[t.LIVE_STREAM_RESPONSE_WM_WORKER_NOT_EXIST=404]="LIVE_STREAM_RESPONSE_WM_WORKER_NOT_EXIST",t[t.LIVE_STREAM_RESPONSE_NOT_AUTHORIZED=456]="LIVE_STREAM_RESPONSE_NOT_AUTHORIZED",t[t.LIVE_STREAM_RESPONSE_FAILED_LOAD_IMAGE=457]="LIVE_STREAM_RESPONSE_FAILED_LOAD_IMAGE",t[t.LIVE_STREAM_RESPONSE_REQUEST_TOO_OFTEN=429]="LIVE_STREAM_RESPONSE_REQUEST_TOO_OFTEN",t[t.LIVE_STREAM_RESPONSE_NOT_FOUND_PUBLISH=452]="LIVE_STREAM_RESPONSE_NOT_FOUND_PUBLISH",t[t.LIVE_STREAM_RESPONSE_NOT_SUPPORTED=453]="LIVE_STREAM_RESPONSE_NOT_SUPPORTED",t[t.LIVE_STREAM_RESPONSE_MAX_STREAM_NUM=455]="LIVE_STREAM_RESPONSE_MAX_STREAM_NUM",t[t.LIVE_STREAM_RESPONSE_INTERNAL_SERVER_ERROR=500]="LIVE_STREAM_RESPONSE_INTERNAL_SERVER_ERROR",t[t.LIVE_STREAM_RESPONSE_WORKER_LOST=501]="LIVE_STREAM_RESPONSE_WORKER_LOST",t[t.LIVE_STREAM_RESPONSE_RESOURCE_LIMIT=502]="LIVE_STREAM_RESPONSE_RESOURCE_LIMIT",t[t.LIVE_STREAM_RESPONSE_WORKER_QUIT=503]="LIVE_STREAM_RESPONSE_WORKER_QUIT",t[t.ERROR_FAIL_SEND_MESSAGE=504]="ERROR_FAIL_SEND_MESSAGE",t[t.PUBLISH_STREAM_STATUS_ERROR_RTMP_HANDSHAKE=30]="PUBLISH_STREAM_STATUS_ERROR_RTMP_HANDSHAKE",t[t.PUBLISH_STREAM_STATUS_ERROR_RTMP_CONNECT=31]="PUBLISH_STREAM_STATUS_ERROR_RTMP_CONNECT",t[t.PUBLISH_STREAM_STATUS_ERROR_RTMP_PUBLISH=32]="PUBLISH_STREAM_STATUS_ERROR_RTMP_PUBLISH",t[t.PUBLISH_STREAM_STATUS_ERROR_PUBLISH_BROKEN=33]="PUBLISH_STREAM_STATUS_ERROR_PUBLISH_BROKEN",t}({});function tw(t){if(!t.channelName)throw new P(v.INVALID_PARAMS,"invalid channelName in info");if(typeof t.uid!="number")throw new P(v.INVALID_PARAMS,"invalid uid in info, uid must be a number");return t.token&&Me(t.token,"info.token",1,2047),ku(t.uid),Lu(t.channelName),!0}let _i=function(t){return t[t.SetSdkProfile=0]="SetSdkProfile",t[t.SetSourceChannel=1]="SetSourceChannel",t[t.SetSourceUserId=2]="SetSourceUserId",t[t.SetDestChannel=3]="SetDestChannel",t[t.StartPacketTransfer=4]="StartPacketTransfer",t[t.StopPacketTransfer=5]="StopPacketTransfer",t[t.UpdateDestChannel=6]="UpdateDestChannel",t[t.Reconnect=7]="Reconnect",t[t.SetVideoProfile=8]="SetVideoProfile",t}({}),Wr=function(t){return t.NETWORK_DISCONNECTED="NETWORK_DISCONNECTED",t.NETWORK_CONNECTED="NETWORK_CONNECTED",t.PACKET_JOINED_SRC_CHANNEL="PACKET_JOINED_SRC_CHANNEL",t.PACKET_JOINED_DEST_CHANNEL="PACKET_JOINED_DEST_CHANNEL",t.PACKET_SENT_TO_DEST_CHANNEL="PACKET_SENT_TO_DEST_CHANNEL",t.PACKET_RECEIVED_VIDEO_FROM_SRC="PACKET_RECEIVED_VIDEO_FROM_SRC",t.PACKET_RECEIVED_AUDIO_FROM_SRC="PACKET_RECEIVED_AUDIO_FROM_SRC",t.PACKET_UPDATE_DEST_CHANNEL="PACKET_UPDATE_DEST_CHANNEL",t.PACKET_UPDATE_DEST_CHANNEL_REFUSED="PACKET_UPDATE_DEST_CHANNEL_REFUSED",t.PACKET_UPDATE_DEST_CHANNEL_NOT_CHANGE="PACKET_UPDATE_DEST_CHANNEL_NOT_CHANGE",t}({}),Di=function(t){return t.RELAY_STATE_IDLE="RELAY_STATE_IDLE",t.RELAY_STATE_CONNECTING="RELAY_STATE_CONNECTING",t.RELAY_STATE_RUNNING="RELAY_STATE_RUNNING",t.RELAY_STATE_FAILURE="RELAY_STATE_FAILURE",t}({}),va=function(t){return t.RELAY_OK="RELAY_OK",t.SERVER_CONNECTION_LOST="SERVER_CONNECTION_LOST",t.SRC_TOKEN_EXPIRED="SRC_TOKEN_EXPIRED",t.DEST_TOKEN_EXPIRED="DEST_TOKEN_EXPIRED",t}({}),Ot=function(t){return t.High="high",t.Low="low",t.Audio="audio",t.Screen="screen",t.ScreenLow="screen_low",t}({}),De=function(t){return t.DISCONNECT="disconnect",t.CONNECTION_STATE_CHANGE="connection-state-change",t.NETWORK_QUALITY="network-quality",t.STREAM_TYPE_CHANGE="stream-type-change",t.IS_P2P_DISCONNECTED="is-p2p-dis",t.DISCONNECT_P2P="dis-p2p",t.REQUEST_NEW_GATEWAY_LIST="req-gate-url",t.NEED_RENEW_SESSION="need-sid",t.REQUEST_P2P_CONNECTION_PARAMS="request-p2p-connection-params",t.JOIN_RESPONSE="join-response",t.RESET_CONNECTION_EVENTS="reset-connection-events",t.PRE_CONNECT_PC="pre-connect_pc",t.UPDATE_GATEWAY_CONFIG="update-gateway-config",t}({}),Mu=function(t){return t.P2P_DISCONNECTED="P2P_DISCONNECTED",t.A_ROUND_WS_FAILED="A_ROUND_WS_FAILED",t.TIMEOUT="TIMEOUT",t.UNKNOWN_REASON="UNKNOWN_REASON",t}({}),Ne=function(t){return t[t.Nothing=0]="Nothing",t[t.Audio=1]="Audio",t[t.LwoVideo=2]="LwoVideo",t[t.Video=4]="Video",t[t.Data=8]="Data",t[t.DataStream0=256]="DataStream0",t[t.DataStream1=512]="DataStream1",t[t.DataStream2=1024]="DataStream2",t[t.DataStream3=2048]="DataStream3",t[t.DataStream4=4096]="DataStream4",t[t.DataStream5=8192]="DataStream5",t[t.DataStream6=16384]="DataStream6",t[t.DataStream7=32768]="DataStream7",t}({}),At=function(t){return t.CHINA="CHINA",t.ASIA="ASIA",t.NORTH_AMERICA="NORTH_AMERICA",t.EUROPE="EUROPE",t.JAPAN="JAPAN",t.INDIA="INDIA",t.KOREA="KOREA",t.HKMC="HKMC",t.US="US",t.OCEANIA="OCEANIA",t.SOUTH_AMERICA="SOUTH_AMERICA",t.AFRICA="AFRICA",t.OVERSEA="OVERSEA",t.GLOBAL="GLOBAL",t.EXTENSIONS="EXTENSIONS",t}({});const ew=[At.AFRICA,At.ASIA,At.CHINA,At.EUROPE,At.GLOBAL,At.INDIA,At.JAPAN,At.NORTH_AMERICA,At.OCEANIA,At.OVERSEA,At.SOUTH_AMERICA];let ze=function(t){return t.CHINA="CN",t.ASIA="AS",t.NORTH_AMERICA="NA",t.EUROPE="EU",t.JAPAN="JP",t.INDIA="IN",t.KOREA="KR",t.HKMC="HK",t.US="US",t.OCEANIA="OC",t.SOUTH_AMERICA="SA",t.AFRICA="AF",t.OVERSEA="OVERSEA",t.GLOBAL="GLOBAL",t.EXTENSIONS="GLOBAL",t}({});const Uu={CHINA:{},ASIA:{CODE:ze.ASIA,WEBCS_DOMAIN:["ap-web-1-asia.agora.io"],WEBCS_DOMAIN_BACKUP_LIST:["ap-web-2-asia.agora.io"],PROXY_CS:["proxy-ap-web-asia.agora.io"],CDS_AP:["cds-ap-web-asia.agora.io","cds-ap-web-asia2.agora.io"],ACCOUNT_REGISTER:["sua-ap-web-asia.agora.io","sua-ap-web-asia2.agora.io"],UAP_AP:["uap-ap-web-asia.agora.io","uap-ap-web-asia2.agora.io"],EVENT_REPORT_DOMAIN:["statscollector-1-asia.agora.io"],EVENT_REPORT_BACKUP_DOMAIN:["statscollector-2-asia.agora.io"],LOG_UPLOAD_SERVER:["logservice-asia.agora.io"],PROXY_SERVER_TYPE3:["southeast-asia.webrtc-cloud-proxy.sd-rtn.com"]},NORTH_AMERICA:{CODE:ze.NORTH_AMERICA,WEBCS_DOMAIN:["ap-web-1-north-america.agora.io"],WEBCS_DOMAIN_BACKUP_LIST:["ap-web-2-north-america.agora.io"],PROXY_CS:["proxy-ap-web-america.agora.io"],CDS_AP:["cds-ap-web-america.agora.io","cds-ap-web-america2.agora.io"],ACCOUNT_REGISTER:["sua-ap-web-america.agora.io","sua-ap-web-america2.agora.io"],UAP_AP:["uap-ap-web-america.agora.io","uap-ap-web-america2.agora.io"],EVENT_REPORT_DOMAIN:["statscollector-1-north-america.agora.io"],EVENT_REPORT_BACKUP_DOMAIN:["statscollector-2-north-america.agora.io"],LOG_UPLOAD_SERVER:["logservice-north-america.agora.io"],PROXY_SERVER_TYPE3:["east-usa.webrtc-cloud-proxy.sd-rtn.com"]},EUROPE:{CODE:ze.EUROPE,WEBCS_DOMAIN:["ap-web-1-europe.agora.io"],WEBCS_DOMAIN_BACKUP_LIST:["ap-web-2-europe.agora.io"],PROXY_CS:["proxy-ap-web-europe.agora.io"],CDS_AP:["cds-ap-web-europe.agora.io","cds-ap-web-europe2.agora.io"],ACCOUNT_REGISTER:["sua-ap-web-europe.agora.io","sua-ap-web-europe.agora.io"],UAP_AP:["uap-ap-web-europe.agora.io","uap-ap-web-europe2.agora.io"],EVENT_REPORT_DOMAIN:["statscollector-1-europe.agora.io"],EVENT_REPORT_BACKUP_DOMAIN:["statscollector-2-europe.agora.io"],LOG_UPLOAD_SERVER:["logservice-europe.agora.io"],PROXY_SERVER_TYPE3:["europe.webrtc-cloud-proxy.sd-rtn.com"]},JAPAN:{CODE:ze.JAPAN,WEBCS_DOMAIN:["ap-web-1-japan.agora.io"],WEBCS_DOMAIN_BACKUP_LIST:["ap-web-2-japan.agora.io"],PROXY_CS:["proxy-ap-web-japan.agora.io"],CDS_AP:["cds-ap-web-japan.agora.io","cds-ap-web-japan2.agora.io"],ACCOUNT_REGISTER:["sua-ap-web-japan.agora.io","sua-ap-web-japan2.agora.io"],UAP_AP:["uap-ap-web-japan.agora.io","uap-ap-web-japan2.agora.io"],EVENT_REPORT_DOMAIN:["statscollector-1-japan.agora.io"],EVENT_REPORT_BACKUP_DOMAIN:["statscollector-2-japan.agora.io"],LOG_UPLOAD_SERVER:["logservice-japan.agora.io"],PROXY_SERVER_TYPE3:["japan.webrtc-cloud-proxy.sd-rtn.com"]},INDIA:{CODE:ze.INDIA,WEBCS_DOMAIN:["ap-web-1-india.agora.io"],WEBCS_DOMAIN_BACKUP_LIST:["ap-web-2-india.agora.io"],PROXY_CS:["proxy-ap-web-india.agora.io"],CDS_AP:["cds-ap-web-india.agora.io","cds-ap-web-india2.agora.io"],ACCOUNT_REGISTER:["sua-ap-web-india.agora.io","sua-ap-web-india2.agora.io"],UAP_AP:["uap-ap-web-india.agora.io","uap-ap-web-india2.agora.io"],EVENT_REPORT_DOMAIN:["statscollector-1-india.agora.io"],EVENT_REPORT_BACKUP_DOMAIN:["statscollector-2-india.agora.io"],LOG_UPLOAD_SERVER:["logservice-india.agora.io"],PROXY_SERVER_TYPE3:["india.webrtc-cloud-proxy.sd-rtn.com"]},KOREA:{CODE:ze.KOREA,WEBCS_DOMAIN:["ap-web-1-korea.agora.io"],WEBCS_DOMAIN_BACKUP_LIST:["ap-web-2-korea.agora.io"],PROXY_CS:["proxy-ap-web-korea.agora.io"],CDS_AP:["cds-ap-web-korea.agora.io","cds-ap-web-korea2.agora.io"],ACCOUNT_REGISTER:["sua-ap-web-korea.agora.io","sua-ap-web-korea2.agora.io"],UAP_AP:["uap-ap-web-korea.agora.io","uap-ap-web-korea2.agora.io"],EVENT_REPORT_DOMAIN:["statscollector-1-korea.agora.io"],EVENT_REPORT_BACKUP_DOMAIN:["statscollector-2-korea.agora.io"],LOG_UPLOAD_SERVER:["logservice-korea.agora.io"],PROXY_SERVER_TYPE3:["korea.webrtc-cloud-proxy.sd-rtn.com"]},HKMC:{CODE:ze.HKMC,WEBCS_DOMAIN:["ap-web-1-hkmc.agora.io"],WEBCS_DOMAIN_BACKUP_LIST:["ap-web-2-hkmc.agora.io"],PROXY_CS:["proxy-ap-web-hkmc.agora.io"],CDS_AP:["cds-ap-web-hkmc.agora.io","cds-ap-web-hkmc2.agora.io"],ACCOUNT_REGISTER:["sua-ap-web-hkmc.agora.io","sua-ap-web-hkmc2.agora.io"],UAP_AP:["uap-ap-web-hkmc.agora.io","uap-ap-web-hkmc2.agora.io"],EVENT_REPORT_DOMAIN:["statscollector-1-hkmc.agora.io"],EVENT_REPORT_BACKUP_DOMAIN:["statscollector-2-hkmc.agora.io"],LOG_UPLOAD_SERVER:["logservice-hkmc.agora.io"],PROXY_SERVER_TYPE3:["hkmc.webrtc-cloud-proxy.sd-rtn.com"]},US:{CODE:ze.US,WEBCS_DOMAIN:["ap-web-1-us.agora.io"],WEBCS_DOMAIN_BACKUP_LIST:["ap-web-2-us.agora.io"],PROXY_CS:["proxy-ap-web-us.agora.io"],CDS_AP:["cds-ap-web-us.agora.io","cds-ap-web-us2.agora.io"],ACCOUNT_REGISTER:["sua-ap-web-us.agora.io","sua-ap-web-us2.agora.io"],UAP_AP:["uap-ap-web-us.agora.io","uap-ap-web-us2.agora.io"],EVENT_REPORT_DOMAIN:["statscollector-1-us.agora.io"],EVENT_REPORT_BACKUP_DOMAIN:["statscollector-2-us.agora.io"],LOG_UPLOAD_SERVER:["logservice-us.agora.io"],PROXY_SERVER_TYPE3:["us.webrtc-cloud-proxy.sd-rtn.com"]},OVERSEA:{CODE:ze.OVERSEA,WEBCS_DOMAIN:["ap-web-1-oversea.agora.io"],WEBCS_DOMAIN_BACKUP_LIST:["ap-web-2-oversea.agora.io"],PROXY_CS:["proxy-ap-web-oversea.agora.io"],CDS_AP:["cds-ap-web-oversea.agora.io"],ACCOUNT_REGISTER:["sua-ap-web-oversea.agora.io"],UAP_AP:["uap-ap-web-oversea.agora.io"],EVENT_REPORT_DOMAIN:["statscollector-1-oversea.agora.io"],EVENT_REPORT_BACKUP_DOMAIN:["statscollector-2-oversea.agora.io"],LOG_UPLOAD_SERVER:["logservice-oversea.agora.io"],PROXY_SERVER_TYPE3:["webrtc-cloud-proxy.agora.io"]},GLOBAL:{CODE:ze.GLOBAL,WEBCS_DOMAIN:["webrtc2-ap-web-1.agora.io"],WEBCS_DOMAIN_BACKUP_LIST:["webrtc2-ap-web-3.agora.io"],PROXY_CS:["ap-proxy-1.agora.io","ap-proxy-2.agora.io"],CDS_AP:["cds-ap-web-1.agora.io","cds-ap-web-3.agora.io"],ACCOUNT_REGISTER:["sua-ap-web-1.agora.io","sua-ap-web-3.agora.io"],UAP_AP:["uap-ap-web-1.agora.io","uap-ap-web-3.agora.io"],EVENT_REPORT_DOMAIN:["statscollector-1.agora.io"],EVENT_REPORT_BACKUP_DOMAIN:["statscollector-2.agora.io"],LOG_UPLOAD_SERVER:["logservice.agora.io"],PROXY_SERVER_TYPE3:["webrtc-cloud-proxy.sd-rtn.com"]},OCEANIA:{CODE:ze.OCEANIA,WEBCS_DOMAIN:["ap-web-1-oceania.agora.io"],WEBCS_DOMAIN_BACKUP_LIST:["ap-web-2-oceania.agora.io"],PROXY_CS:["proxy-ap-web-oceania.agora.io"],CDS_AP:["cds-ap-web-oceania.agora.io","cds-ap-web-oceania2.agora.io"],ACCOUNT_REGISTER:["sua-ap-web-oceania.agora.io","sua-ap-web-oceania2.agora.io"],UAP_AP:["uap-ap-web-oceania.agora.io","uap-ap-web-oceania2.agora.io"],EVENT_REPORT_DOMAIN:["statscollector-1-oceania.agora.io"],EVENT_REPORT_BACKUP_DOMAIN:["statscollector-2-oceania.agora.io"],LOG_UPLOAD_SERVER:["logservice-oceania.agora.io"],PROXY_SERVER_TYPE3:["oceania.webrtc-cloud-proxy.sd-rtn.com"]},SOUTH_AMERICA:{CODE:ze.SOUTH_AMERICA,WEBCS_DOMAIN:["ap-web-1-south-america.agora.io"],WEBCS_DOMAIN_BACKUP_LIST:["ap-web-2-south-america.agora.io"],PROXY_CS:["proxy-ap-web-south-america.agora.io"],CDS_AP:["cds-ap-web-south-america.agora.io","cds-ap-web-south-america2.agora.io"],ACCOUNT_REGISTER:["sua-ap-web-south-america.agora.io","sua-ap-web-south-america2.agora.io"],UAP_AP:["uap-ap-web-south-america.agora.io","uap-ap-web-south-america2.agora.io"],EVENT_REPORT_DOMAIN:["statscollector-1-south-america.agora.io"],EVENT_REPORT_BACKUP_DOMAIN:["statscollector-2-south-america.agora.io"],LOG_UPLOAD_SERVER:["logservice-south-america.agora.io"],PROXY_SERVER_TYPE3:["south-america.webrtc-cloud-proxy.sd-rtn.com"]},AFRICA:{CODE:ze.AFRICA,WEBCS_DOMAIN:["ap-web-1-africa.agora.io"],WEBCS_DOMAIN_BACKUP_LIST:["ap-web-2-africa.agora.io"],PROXY_CS:["proxy-ap-web-africa.agora.io"],CDS_AP:["cds-ap-web-africa.agora.io","cds-ap-web-africa2.agora.io"],ACCOUNT_REGISTER:["sua-ap-web-africa.agora.io","sua-ap-web-africa2.agora.io"],UAP_AP:["uap-ap-web-africa.agora.io","uap-ap-web-africa2.agora.io"],EVENT_REPORT_DOMAIN:["statscollector-1-africa.agora.io"],EVENT_REPORT_BACKUP_DOMAIN:["statscollector-2-africa.agora.io"],LOG_UPLOAD_SERVER:["logservice-south-africa.agora.io"],PROXY_SERVER_TYPE3:["africa.webrtc-cloud-proxy.sd-rtn.com"]},EXTENSIONS:{}};qE&&(Uu.CHINA={CODE:ze.CHINA,WEBCS_DOMAIN:["webrtc2-2.ap.sd-rtn.com"],WEBCS_DOMAIN_BACKUP_LIST:["webrtc2-4.ap.sd-rtn.com"],PROXY_CS:["proxy-web.ap.sd-rtn.com"],CDS_AP:["cds-web-2.ap.sd-rtn.com","cds-web-4.ap.sd-rtn.com"],ACCOUNT_REGISTER:["sua-web-2.ap.sd-rtn.com","sua-web-4.ap.sd-rtn.com"],UAP_AP:["uap-web-2.ap.sd-rtn.com","uap-web-4.ap.sd-rtn.com"],EVENT_REPORT_DOMAIN:["web-3.statscollector.sd-rtn.com"],EVENT_REPORT_BACKUP_DOMAIN:["web-4.statscollector.sd-rtn.com"],LOG_UPLOAD_SERVER:["logservice-china.agora.io"],PROXY_SERVER_TYPE3:["east-cn.webrtc-cloud-proxy.sd-rtn.com"]});let Bc=function(t){return t.UPDATE_BITRATE_LIMIT="update_bitrate_limit",t.UPDATE_CLIENT_ROLE_OPTIONS="update_client_role_options",t}({});function iw(t){return!!t&&!(!t.uplink||!t.id)&&t.uplink.max_bitrate!==void 0&&t.uplink.min_bitrate!==void 0}class nw extends $t{constructor(e,i){super(),S(this,"onICEConnectionStateChange",void 0),S(this,"onConnectionStateChange",void 0),S(this,"onDTLSTransportStateChange",void 0),S(this,"onDTLSTransportError",void 0),S(this,"onICETransportStateChange",void 0),S(this,"onFirstAudioReceived",void 0),S(this,"onFirstVideoReceived",void 0),S(this,"onFirstAudioDecoded",void 0),S(this,"onFirstVideoDecoded",void 0),S(this,"onFirstVideoDecodedTimeout",void 0),S(this,"onSelectedLocalCandidateChanged",void 0),S(this,"onSelectedRemoteCandidateChanged",void 0),S(this,"onICECandidateError",void 0),S(this,"getLocalVideoStats",void 0)}}class rw extends nw{constructor(e,i){super(e,i),S(this,"establishPromise",void 0)}}let q=function(t){return t.VIDEO="video",t.AUDIO="audio",t}({}),Xe=function(t){return t.UDP_RELAY="udp_relay",t.UDP_TCP_RELAY="udp_tcp_relay",t.TCP_RELAY="tcp_relay",t.RELAY="relay",t}({}),Hr=function(t){return t[t.FIRST_CONNECTION=0]="FIRST_CONNECTION",t[t.UDP_TCP_RESTART=1]="UDP_TCP_RESTART",t[t.RELAY_RESTART=2]="RELAY_RESTART",t[t.TCP_RESTART=3]="TCP_RESTART",t[t.OLD_FIRST_CONNECTION=10]="OLD_FIRST_CONNECTION",t[t.OLD_RESTART=11]="OLD_RESTART",t[t.DISCONNECTED_OR_FAILED=20]="DISCONNECTED_OR_FAILED",t}({});const ow=["disconnected","failed"];let V=function(t){return t.LocalVideoTrack="videoTrack",t.LocalAudioTrack="audioTrack",t.LocalVideoLowTrack="videoLowTrack",t}({}),wt=function(t){return t.New="new",t.Connected="connected",t.Reconnecting="reconnecting",t.Disconnected="disconnected",t}({}),$=function(t){return t.AudioMetadata="audioMetadata",t.StateChange="stateChange",t.IceConnectionStateChange="iceConnectionStateChange",t.RequestMuteLocal="requestMuteLocal",t.RequestUnmuteLocal="requestUnmuteLocal",t.RequestRePublish="requestRePublish",t.RequestRePublishDataChannel="requestRePublishDataChannel",t.RequestReSubscribe="requestReSubscribe",t.RequestUploadStats="requestUploadStats",t.RequestUpload="requestUpload",t.MediaReconnectStart="MediaReconnectStart",t.MediaReconnectEnd="MediaReconnectEnd",t.NeedSignalRTT="NeedSignalRTT",t.RequestRestartICE="RequestRestartIce",t.PeerConnectionStateChange="PeerConnectionStateChange",t.RequestReconnect="RequestReconnect",t.RequestReconnectPC="RequestReconnectPC",t.RequestUnpublishForReconnectPC="RequestUnpublishForReconnectPC",t.P2PLost="P2PLost",t.UpdateVideoEncoder="UpdateVideoEncoder",t.ConnectionTypeChange="ConnectionTypeChange",t.RequestLowStreamParameter="RequestLowStreamParameter",t.QueryClientConnectionState="QueryClientConnectionState",t.LocalCandidate="LocalCandidate",t.RequestP2PMuteLocal="requestP2PMuteLocal",t.RequestP2PUnPublish="RequestP2PUnPublish",t.RequestP2PUnmuteRemote="RequestP2PUnmuteRemote",t.RequestP2PMuteRemote="RequestP2PMuteRemote",t.RequestP2PRestartICE="RequestP2PRestartICE",t}({}),Pn=function(t){return t.CONNECTING="CONNECTING",t.RECONNECTING="RECONNECTING",t.CONNECTED="CONNECTED",t.CLOSED="CLOSED",t}({}),Ln=function(t){return t[t.CONNECT_AP=0]="CONNECT_AP",t[t.AP_CONNECTED=1]="AP_CONNECTED",t[t.CONNECT_WORKER_MANAGER=2]="CONNECT_WORKER_MANAGER",t[t.WORKER_MANAGER_CONNECTED=3]="WORKER_MANAGER_CONNECTED",t[t.GET_WORKER_MANAGER_RESPONSE=4]="GET_WORKER_MANAGER_RESPONSE",t[t.CONNECT_WORKER=5]="CONNECT_WORKER",t[t.WORKER_CONNECTED=6]="WORKER_CONNECTED",t[t.CLOSED=7]="CLOSED",t}({}),Pe=function(t){return t.CONNECTION_STATE_CHANGE="connection-state-change",t.STATE_CHANGE="state-change",t.INSPECT_RESULT="inspect-result",t.CLIENT_LOCAL_VIDEO_TRACK="client-local-video-track",t.REQUEST_NEW_WORKER_URL="request-new-worker-url",t}({}),sw=function(t){return t.CONNECTED="transmitter:connected",t.RECONNECTING="transmitter:reconnecting",t.WILL_RECONNECT="transmitter:will_reconnect",t.CLOSED="transmitter:closed",t.FAILED="transmitter:failed",t.ON_MESSAGE="transmitter:on_message",t.REQUEST_NEW_URLS="transmitter:request_new_urls",t.RECONNECT_CREATE_CONNECTION="transmitter:reconnect_create_connection",t.ON_TOKEN_PRIVILEGE_DID_EXPIRE="transmitter:on_token_privilege_did_expire",t.TO_CONNECT_DATACHANNEL="transmitter:to_connect_datachannel",t.FAILBACK="transmitter:failback",t.PRE_CONNECT_PC="transmitter:pre_connect_pc",t}({}),Tr=function(t){return t.CAMERA_CHANGED="camera-changed",t.MICROPHONE_CHANGED="microphone-changed",t.PLAYBACK_DEVICE_CHANGED="playback-device-changed",t.AUDIO_AUTOPLAY_FAILED="audio-autoplay-failed",t.AUTOPLAY_FAILED="autoplay-failed",t.AUDIO_CONTEXT_STATE_CHANGED="audio-context-state-changed",t.SECURITY_POLICY_VIOLATION="security-policy-violation",t}({}),hn=function(t){return t.CONNECTING="CONNECTING",t.RECONNECTING="RECONNECTING",t.CONNECTED="CONNECTED",t.CLOSED="CLOSED",t}({}),tr=function(t){return t.CONNECTION_STATE_CHANGE="connection-state-change",t.STATE_CHANGE="state-change",t.INSPECT_RESULT="inspect-result",t.CLIENT_LOCAL_VIDEO_TRACK="client-local-video-track",t.REQUEST_NEW_WORKER_URL="request-new-worker-url",t}({}),Ca=function(t){return t[t.CONNECT_AP=0]="CONNECT_AP",t[t.AP_CONNECTED=1]="AP_CONNECTED",t[t.CONNECT_WORKER_MANAGER=2]="CONNECT_WORKER_MANAGER",t[t.WORKER_MANAGER_CONNECTED=3]="WORKER_MANAGER_CONNECTED",t[t.GET_WORKER_MANAGER_RESPONSE=4]="GET_WORKER_MANAGER_RESPONSE",t[t.CONNECT_WORKER=5]="CONNECT_WORKER",t[t.WORKER_CONNECTED=6]="WORKER_CONNECTED",t[t.CLOSED=7]="CLOSED",t}({}),he=function(t){return t.CALL="call",t.CANDIDATE="candidate",t.PUBLISH="publish",t.UNPUBLISH="unpublish",t.CONTROL="control",t.RESTART_ICE="restart_ice",t.ACK="ack",t.RESPONSE="response",t.JOIN="join",t.CHECK="check",t}({}),ya=function(t){return t.ABORT="abort",t}({}),go=function(t){return t.MUTE_LOCAL_AUDIO="mute_local_audio",t.MUTE_LOCAL_VIDEO="mute_local_video",t.UNMUTE_LOCAL_AUDIO="unmute_local_audio",t.UNMUTE_LOCAL_VIDEO="unmute_local_video",t}({}),rW=function(t){return t.P2P_TOKEN_TIMEOUT="p2p_token_timeout",t.P2P_TOKEN_CHANGED="p2p_token_changed",t}({});const oW={[Pu.ACCESS_POINT]:{[hi.NO_FLAG_SET]:{desc:"flag is zero",retry:!1},[hi.FLAG_SET_BUT_EMPTY]:{desc:"flag is empty",retry:!1},[hi.INVALID_FALG_SET]:{desc:"invalid flag",retry:!1},[hi.FLAG_SET_BUT_NO_RE]:{desc:"flag set unilbs but no request",retry:!1},[hi.INVALID_SERVICE_ID]:{desc:"invalid service id",retry:!1},[hi.NO_SERVICE_AVAILABLE]:{desc:"no service available",retry:!0},[hi.NO_SERVICE_AVAILABLE_P2P]:{desc:"no unilbs p2p service available",retry:!0},[hi.NO_SERVICE_AVAILABLE_VOICE]:{desc:"no unilbs voice service available",retry:!0},[hi.NO_SERVICE_AVAILABLE_WEBRTC]:{desc:"no unilbs webrtc service available",retry:!0},[hi.NO_SERVICE_AVAILABLE_CDS]:{desc:"no cds service available",retry:!0},[hi.NO_SERVICE_AVAILABLE_CDN]:{desc:"no cdn dispatcher service available",retry:!0},[hi.NO_SERVICE_AVAILABLE_TDS]:{desc:"no tds service available",retry:!0},[hi.NO_SERVICE_AVAILABLE_REPORT]:{desc:"no unilbs report service available",retry:!0},[hi.NO_SERVICE_AVAILABLE_APP_CENTER]:{desc:"no app center service available",retry:!0},[hi.NO_SERVICE_AVAILABLE_ENV0]:{desc:"no unilbs sig env0 service available",retry:!0},[hi.NO_SERVICE_AVAILABLE_VOET]:{desc:"no unilbs voet service available",retry:!0},[hi.NO_SERVICE_AVAILABLE_STRING_UID]:{desc:"no string uid service available",retry:!0},[hi.NO_SERVICE_AVAILABLE_WEBRTC_UNILBS]:{desc:"no webrtc unilbs service available",retry:!0}},[Pu.UNILBS]:{[Dn.INVALID_VENDOR_KEY]:{desc:"invalid vendor key, can not find appid",retry:!1},[Dn.INVALID_CHANNEL_NAME]:{desc:"invalid channel name",retry:!1},[Dn.INTERNAL_ERROR]:{desc:"unilbs internal error",retry:!1},[Dn.NO_AUTHORIZED]:{desc:"invalid token, authorized failed",retry:!1},[Dn.DYNAMIC_KEY_TIMEOUT]:{desc:"dynamic key or token timeout",retry:!1},[Dn.NO_ACTIVE_STATUS]:{desc:"no active status",retry:!1},[Dn.DYNAMIC_KEY_EXPIRED]:{desc:"dynamic key expired",retry:!1},[Dn.STATIC_USE_DYNAMIC_KEY]:{desc:"static use dynamic key",retry:!1},[Dn.DYNAMIC_USE_STATIC_KEY]:{desc:"dynamic use static key",retry:!1},[Dn.USER_OVERLOAD]:{desc:"amount of users over load",retry:!1},[Dn.FORBIDDEN_REGION]:{desc:"the request is forbidden in this area",retry:!1},[Dn.CANNOT_MEET_AREA_DEMAND]:{desc:"unable to allocate services in this area",retry:!1}},[Pu.STRING_UID_ALLOCATOR]:{[Cm.IIIEGAL_APPID]:{desc:"invalid appid",retry:!1},[Cm.IIIEGAL_UID]:{desc:"invalid string uid",retry:!1},[Cm.INTERNAL_ERROR]:{desc:"string uid allocator internal error",retry:!0}}};function Ia(t){const e=oW[Math.floor(t/1e4)];if(!e)return{desc:"unknown error",retry:!1};const i=e[t%1e4];if(!i){if(Math.floor(t/1e4)===Pu.ACCESS_POINT){const n=t%1e4;if(n.toString()[0]==="1")return{desc:t.toString(),retry:!1};if(n.toString()[0]==="2")return{desc:t.toString(),retry:!0}}return{desc:"unknown error",retry:!1}}return i}const sW={[tt.K_TIMESTAMP_EXPIRED]:{desc:"K_TIMESTAMP_EXPIRED",action:"failed"},[tt.K_CHANNEL_PERMISSION_INVALID]:{desc:"K_CHANNEL_PERMISSION_INVALID",action:"failed"},[tt.K_CERTIFICATE_INVALID]:{desc:"K_CERTIFICATE_INVALID",action:"failed"},[tt.K_CHANNEL_NAME_EMPTY]:{desc:"K_CHANNEL_NAME_EMPTY",action:"failed"},[tt.K_CHANNEL_NOT_FOUND]:{desc:"K_CHANNEL_NOT_FOUND",action:"failed"},[tt.K_TICKET_INVALID]:{desc:"K_TICKET_INVALID",action:"failed"},[tt.K_CHANNEL_CONFLICTED]:{desc:"K_CHANNEL_CONFLICTED",action:"failed"},[tt.K_SERVICE_NOT_READY]:{desc:"K_SERVICE_NOT_READY",action:"tryNext"},[tt.K_SERVICE_TOO_HEAVY]:{desc:"K_SERVICE_TOO_HEAVY",action:"tryNext"},[tt.K_UID_BANNED]:{desc:"K_UID_BANNED",action:"failed"},[tt.K_IP_BANNED]:{desc:"K_IP_BANNED",action:"failed"},[tt.DATASTREAM2_NOT_AVAILABLE]:{desc:"DATASTREAM2_NOT_AVAILABLE",action:"quit"},[tt.K_AUTO_REBALANCE]:{desc:"k_AUTO_REBALANCE",action:"recover"},[tt.ERR_INVALID_VENDOR_KEY]:{desc:"ERR_INVALID_VENDOR_KEY",action:"failed"},[tt.ERR_INVALID_CHANNEL_NAME]:{desc:"ERR_INVALID_CHANNEL_NAME",action:"failed"},[tt.WARN_NO_AVAILABLE_CHANNEL]:{desc:"WARN_NO_AVAILABLE_CHANNEL",action:"failed"},[tt.WARN_LOOKUP_CHANNEL_TIMEOUT]:{desc:"WARN_LOOKUP_CHANNEL_TIMEOUT",action:"tryNext"},[tt.WARN_LOOKUP_CHANNEL_REJECTED]:{desc:"WARN_LOOKUP_CHANNEL_REJECTED",action:"failed"},[tt.WARN_OPEN_CHANNEL_TIMEOUT]:{desc:"WARN_OPEN_CHANNEL_TIMEOUT",action:"tryNext"},[tt.WARN_OPEN_CHANNEL_REJECTED]:{desc:"WARN_OPEN_CHANNEL_REJECTED",action:"failed"},[tt.WARN_REQUEST_DEFERRED]:{desc:"WARN_REQUEST_DEFERRED",action:"failed"},[tt.ERR_DYNAMIC_KEY_TIMEOUT]:{desc:"ERR_DYNAMIC_KEY_TIMEOUT",action:"failed"},[tt.ERR_NO_AUTHORIZED]:{desc:"ERR_NO_AUTHORIZED",action:"failed"},[tt.ERR_VOM_SERVICE_UNAVAILABLE]:{desc:"ERR_VOM_SERVICE_UNAVAILABLE",action:"tryNext"},[tt.ERR_NO_CHANNEL_AVAILABLE_CODE]:{desc:"ERR_NO_CHANNEL_AVAILABLE_CODE",action:"failed"},[tt.ERR_MASTER_VOCS_UNAVAILABLE]:{desc:"ERR_MASTER_VOCS_UNAVAILABLE",action:"tryNext"},[tt.ERR_INTERNAL_ERROR]:{desc:"ERR_INTERNAL_ERROR",action:"tryNext"},[tt.ERR_NO_ACTIVE_STATUS]:{desc:"ERR_NO_ACTIVE_STATUS",action:"failed"},[tt.ERR_INVALID_UID]:{desc:"ERR_INVALID_UID",action:"failed"},[tt.ERR_DYNAMIC_KEY_EXPIRED]:{desc:"ERR_DYNAMIC_KEY_EXPIRED",action:"failed"},[tt.ERR_STATIC_USE_DYANMIC_KE]:{desc:"ERR_STATIC_USE_DYANMIC_KE",action:"failed"},[tt.ERR_DYNAMIC_USE_STATIC_KE]:{desc:"ERR_DYNAMIC_USE_STATIC_KE",action:"failed"},[tt.ERR_NO_VOCS_AVAILABLE]:{desc:"ERR_NO_VOCS_AVAILABLE",action:"tryNext"},[tt.ERR_NO_VOS_AVAILABLE]:{desc:"ERR_NO_VOS_AVAILABLE",action:"tryNext"},[tt.ERR_JOIN_CHANNEL_TIMEOUT]:{desc:"ERR_JOIN_CHANNEL_TIMEOUT",action:"tryNext"},[tt.ERR_JOIN_BY_MULTI_IP]:{desc:"ERR_JOIN_BY_MULTI_IP",action:"recover"},[tt.ERR_NOT_JOINED]:{desc:"ERR_NOT_JOINED",action:"failed"},[tt.ERR_REPEAT_JOIN_REQUEST]:{desc:"ERR_REPEAT_JOIN_REQUEST",action:"quit"},[tt.ERR_REPEAT_JOIN_CHANNEL]:{desc:"ERR_REPEAT_JOIN_CHANNEL",action:"quit"},[tt.ERR_INVALID_STRINGUID]:{desc:"ERR_INVALID_STRINGUID",action:"failed"},[tt.ERR_TOO_MANY_USERS]:{desc:"ERR_TOO_MANY_USERS",action:"tryNext"},[tt.ERR_SET_CLIENT_ROLE_TIMEOUT]:{desc:"ERR_SET_CLIENT_ROLE_TIMEOUT",action:"failed"},[tt.ERR_SET_CLIENT_ROLE_NO_PERMISSION]:{desc:"ERR_SET_CLIENT_ROLE_TIMEOUT",action:"failed"},[tt.ERR_SET_CLIENT_ROLE_ALREADY_IN_USE]:{desc:"ERR_SET_CLIENT_ROLE_ALREADY_IN_USE",action:"success"},[tt.ERR_PUBLISH_REQUEST_INVALID]:{desc:"ERR_PUBLISH_REQUEST_INVALID",action:"failed"},[tt.ERR_SUBSCRIBE_REQUEST_INVALID]:{desc:"ERR_SUBSCRIBE_REQUEST_INVALID",action:"failed"},[tt.ERR_NOT_SUPPORTED_MESSAGE]:{desc:"ERR_NOT_SUPPORTED_MESSAGE",action:"failed"},[tt.ERR_ILLEAGAL_PLUGIN]:{desc:"ERR_ILLEAGAL_PLUGIN",action:"failed"},[tt.ILLEGAL_CLIENT_ROLE_LEVEL]:{desc:"ILLEGAL_CLIENT_ROLE_LEVEL",action:"failed"},[tt.ERR_REJOIN_TOKEN_INVALID]:{desc:"ERR_REJOIN_TOKEN_INVALID",action:"failed"},[tt.ERR_REJOIN_USER_NOT_JOINED]:{desc:"ERR_REJOIN_NOT_JOINED",action:"failed"},[tt.ERR_INVALID_OPTIONAL_INFO]:{desc:"ERR_INVALID_OPTIONAL_INFO",action:"quit"},[tt.ERR_TEST_RECOVER]:{desc:"ERR_TEST_RECOVER",action:"recover"},[tt.ERR_TEST_TRYNEXT]:{desc:"ERR_TEST_TRYNEXT",action:"recover"},[tt.ERR_TEST_RETRY]:{desc:"ERR_TEST_RETRY",action:"recover"},[tt.ILLEGAL_AES_PASSWORD]:{desc:"ERR_TEST_RETRY",action:"failed"},[tt.ERR_TOO_MANY_BROADCASTERS]:{desc:"ERR_TOO_MANY_BROADCASTERS",action:"failed"},[tt.ERR_TOO_MANY_SUBSCRIBERS]:{desc:"ERR_TOO_MANY_SUBSCRIBERS",action:"failed"},[tt.ERR_LICENSE_ILLEGAL]:{desc:"ERR_LICENSE_ILLEGAL",action:"quit"},[tt.ERR_LICENSE_MISSING]:{desc:"ERR_LICENSE_MISSING",action:"quit"},[tt.ERR_LICENSE_EXPIRED]:{desc:"ERR_LICENSE_EXPIRED",action:"quit"},[tt.ERR_LICENSE_MINUTES_EXCEEDED]:{desc:"ERR_LICENSE_MINUTES_EXCEEDED",action:"quit"},[tt.ERR_LICENSE_PERIOD_INVALID]:{desc:"ERR_LICENSE_PERIOD_INVALID",action:"quit"},[tt.ERR_LICENSE_MULTIPLE_SDK_SERVICE]:{desc:"ERR_LICENSE_MULTIPLE_SDK_SERVICE",action:"quit"}};function jc(t){return sW[t]||{desc:"UNKNOWN_ERROR_".concat(t),action:"failed"}}function aw(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function bm(t){for(var e=1;e{e.onopen=null,e.onclose=null,e.onmessage=null,e.close()}),this.websockets.length=0}clearTimeout(){this.forceCloseTimeout&&clearTimeout(this.forceCloseTimeout),this.try443PortTimeout&&clearTimeout(this.try443PortTimeout),this.forceCloseTimeout=null,this.try443PortTimeout=null}logger(){var e;const i=Date.now()-this.startTime;for(var n=arguments.length,r=new Array(n),o=0;o{var p;return G(p=e.host).call(p,h)});a||(this.useDoubleDomain=!1);const c=[];if(this.useDoubleDomain)r.forEach(h=>{c.push(wm(bm(bm({},e),{},{host:e.host.replace(a,h)}),i))});else{const h=bm({},e);if(i&&a){const p=r.find(g=>g!==a);p&&(h.host=h.host.replace(a,p))}c.push(wm(h,i))}try{c.forEach(h=>{const p=new WebSocket(h);p.binaryType="arraybuffer",s.push(p),this.logger("ws is connecting:",p.url)})}catch(h){if(this.logger("ws create failed"),s.forEach(p=>p.close()),s.length=0,this.useDoubleDomain)return this.useDoubleDomain=!1,this.createWebSocket(e,i,n);if(!i&&Number(e.port)!==443)return this.createWebSocket(e,!0,n);throw new P(v.WS_ERR,"init websocket failed! Error: ".concat(h.toString()))}const d=Ic();this.store&&this.store.recordJoinChannelService({urls:s.map(h=>h.url),service:"gateway"},this.recordIndex),s.forEach(h=>{h.onopen=()=>{this.logger("onopen: ws ".concat(h.url," open cost ").concat(Date.now()-o,"ms")),this.websockets.forEach(p=>{p!==h&&(p.onopen=null,p.onclose=null,p.onmessage=null,p.close(),this.logger("close backup websocket: ".concat(p.url)))}),this.websockets.length=0,d.resolve(h)},h.onclose=p=>{this.logger("onclose: ws ".concat(h.url," closed cost ").concat(Date.now()-o,"ms state: ").concat(h.readyState));const g=s.every(m=>m.readyState===WebSocket.CLOSED||m.readyState===WebSocket.CLOSING);this.logger("".concat(i?"443":"47xx"," websocket closed, all failed: ").concat(g)),g&&(i||this.isTry443PortFailed||this.useProxy)?(this.logger("onclose: all websocket is closed, ".concat(p.reason)),d.reject({code:p.code,reason:Mu.A_ROUND_WS_FAILED})):!i&&g&&!this.isNormalPortFailed&&this.try443PortTimeout&&(this.logger("all 47xx websocket is closed, try 443 port"),this.clearTimeout(),u()),i?this.isTry443PortFailed=g:this.isNormalPortFailed=g},h.onmessage=p=>this.logger("".concat(h.url," onmessage: ").concat(p.data))}),this.websockets.push(...s);const l=()=>{this.websockets.forEach(h=>h.readyState!==WebSocket.OPEN&&h.close())},u=()=>{if(d.isResolved)return l();vt().os===we.MAC_OS&&ne()&&l(),this.createWebSocket(e,!0,!0).then(h=>{d.resolve(h)}).catch(h=>{this.isNormalPortFailed&&d.reject(h),this.logger("try 443 port to create ws failed")}),this.forceCloseTimeout=window.setTimeout(()=>{this.logger("5s timeout close un-opens, isWebsocket created: ",d.isResolved),this.forceCloseTimeout=null,l()},this.forceCloseWSDuration)};return n||(()=>{if(i||this.useProxy)return this.logger("add 5s timeout at ".concat(i?"try-443":"proxy"," condition")),this.forceCloseTimeout=window.setTimeout(()=>{this.forceCloseTimeout=null,l()},this.forceCloseWSDuration);this.try443PortTimeout=window.setTimeout(()=>{this.logger("2s timeout, isWebsocket created: ",d.isResolved),this.try443PortTimeout=null,u()},this.try443PortDuration)})(),d.promise}chooseBestWebsocket(e,i,n,r){return this.useDoubleDomain=!!i,typeof e=="string"&&(e=function(o){let s,a,c;return[,s,a,c]=o.match(aW)||[],s||([,a,c]=o.match(cW)||[]),a&&c||([,a,c]=o.match(dW)||[]),a&&c||([,a]=o.match(lW)||[]),a||_.warning("un-destructible url: ",o),{proxy:s,host:a,port:c||"443"}}(e)),this.recordIndex=r,this.useProxy=!!e.proxy,n&&this.useProxy&&(_.warn("cannot use 443 only when use proxy"),n=!1),this.createWebSocket(e,!!n,!1).finally(()=>this.clearTimeout())}}function cw(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}class dw extends $t{get url(){return this.websocket&&this.websocket.url||this._websocketUrl}get reconnectMode(){return this._reconnectMode}set reconnectMode(e){var i;G(i=["tryNext","recover"]).call(i,e)&&this.resetReconnectCount(e),this._reconnectMode=e}get state(){return this._state}set state(e){e!==this._state&&(this._state=e,this._state==="reconnecting"?this.emit(dt.RECONNECTING,this.reconnectReason):this._state==="connected"?this.emit(dt.CONNECTED):this._state==="closed"?this.emit(dt.CLOSED):this._state==="failed"&&this.emit(dt.FAILED))}resetReconnectCount(e){_.debug("websocket reset reconnect count, reason: "+e),this.reconnectCount=0}constructor(e,i){let n=arguments.length>2&&arguments[2]!==void 0&&arguments[2],r=arguments.length>3&&arguments[3]!==void 0&&arguments[3],o=arguments.length>4&&arguments[4]!==void 0&&arguments[4],s=arguments.length>5?arguments[5]:void 0;super(),S(this,"_websocketUrl",null),S(this,"connectionID",0),S(this,"currentURLIndex",0),S(this,"urls",[]),S(this,"_reconnectMode","tryNext"),S(this,"reconnectReason",void 0),S(this,"_initMutex",void 0),S(this,"name",void 0),S(this,"_state","closed"),S(this,"reconnectInterrupter",void 0),S(this,"websocket",void 0),S(this,"retryConfig",void 0),S(this,"reconnectCount",0),S(this,"forceCloseTimeout",5e3),S(this,"onlineReconnectListener",void 0),S(this,"useCompress",void 0),S(this,"tryDoubleDomain",!1),S(this,"use443PortOnly",!1),S(this,"wsInflateLength",0),S(this,"wsDeflateLength",0),S(this,"closeEstablishingWs",()=>{}),S(this,"store",void 0),S(this,"joinGatewayRecordIndex",void 0),this.store=s,this.name=e,this.retryConfig=function(u){for(var h=1;h{u!==h&&(this.resetReconnectCount("network state change: ".concat(h," -> ").concat(u)),u===Fi.ONLINE?(this.retryConfig.timeout=d,this.retryConfig.timeoutFactor=l):(this.retryConfig.timeout=a,this.retryConfig.timeoutFactor=c))})}getConnection(){return this.websocket||void 0}init(i){return C(this,arguments,function*(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5e3;const r=yield this._initMutex.lock();this._reconnectMode="tryNext",this.forceCloseTimeout=n,this.urls=e,this.state="connecting";try{const o=Ic(),s=this.urls[this.currentURLIndex];y("ENABLE_PREALLOC_PC")&&this.emit(sw.PRE_CONNECT_PC),this.createWebSocketConnection(s).then(o.resolve).catch(o.reject),this.once(dt.CLOSED,()=>{o.reject(new k(v.WS_DISCONNECT))}),this.once(dt.CONNECTED,o.resolve),yield o.promise}catch(o){}finally{r()}})}close(e,i){if(this.currentURLIndex=0,this.resetReconnectCount("close"),this.reconnectInterrupter&&this.reconnectInterrupter(),this.websocket){this.websocket.onclose=null,this.websocket.onopen=null,this.websocket.onmessage=null;const n=this.websocket;i?setTimeout(()=>n.close(),500):n.close(),this.websocket=void 0,this._websocketUrl=null}this.state=e?"failed":"closed",this.closeEstablishingWs&&this.closeEstablishingWs()}reconnect(e,i){if(!this.websocket)return void _.warning("[".concat(this.name,"] can not reconnect, no websocket"));e!==void 0&&(this.reconnectMode=e),_.debug("[".concat(this.name,"] reconnect is triggered initiative")),typeof this.joinGatewayRecordIndex=="number"&&this.store&&this.store.recordJoinChannelService({status:"error",errors:[new Error(i)]},this.joinGatewayRecordIndex);const n=this.websocket.onclose;this.websocket.onclose=null,this.websocket.close(),n&&n.bind(this.websocket)({code:9999,reason:i})}sendMessage(e){let i=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(!this.websocket||this.websocket.readyState!==WebSocket.OPEN)throw new k(v.WS_ABORT,"websocket is not ready");try{i||(e=JSON.stringify(e)),this.websocket.send(e)}catch(n){throw new k(v.WS_ERR,"send websocket message error"+n.toString())}}setWsInflateData(e){this.wsDeflateLength=this.wsDeflateLength+e.originLength,this.wsInflateLength=this.wsInflateLength+e.compressedLength}getWsInflateData(){const e=this.wsInflateLength,i=this.wsDeflateLength;return this.clearWsInflateData(),{wsInflateLength:e,wsDeflateLength:i}}clearWsInflateData(){this.wsInflateLength=0,this.wsDeflateLength=0}createWebSocketConnection(e){return C(this,null,function*(){var i;const n=Ic();this.connectionID+=1,this.joinGatewayRecordIndex=void 0;const r=l=>{var u;(u=this.store)===null||u===void 0||u.signalChannelOpen(),_.debug("[".concat(this.name,"] websocket opened:"),l),this.reconnectMode="retry",this.state="connected",this.resetReconnectCount("opened"),n.resolve()},o=l=>C(this,null,function*(){var u;if(_.debug("[".concat(this.name,"] websocket close ").concat((u=this.websocket)===null||u===void 0?void 0:u.url,", code: ").concat(l.code,", reason: ").concat(l.reason,", current mode: ").concat(this.reconnectMode)),this.reconnectCount>=this.retryConfig.maxRetryCount)n.reject(new k(v.WS_DISCONNECT,"websocket close: ".concat(l.code))),this.close();else{this.state==="connected"&&(this.reconnectReason=l.reason,this.state="reconnecting");const h=zi(this,dt.WILL_RECONNECT,this.reconnectMode,l.reason)||this.reconnectMode,p=yield this.reconnectWithAction(h);if(this.state==="closed")return void _.debug("[".concat(this.connectionID,"] ws is closed, no need to reconnect"));if(!p)return n.reject(new k(v.WS_DISCONNECT,"websocket reconnect failed: ".concat(l.code))),this.close(!0);n.resolve()}}),s=l=>{this.emit(dt.ON_MESSAGE,l)},a=l=>{_.warn("[".concat(this.connectionID,"] ws open error ").concat(l))};this.websocket&&(this.websocket.onclose=null,this.websocket.close()),y("GATEWAY_WSS_ADDRESS")&&this.name.startsWith("gateway")&&(e=y("GATEWAY_WSS_ADDRESS")),_.debug("[".concat(this.name,"] start connect, url:"),e);const c=(i=this.store)===null||i===void 0?void 0:i.recordJoinChannelService({startTs:Date.now(),status:"pending",service:"gateway"});try{var d;this._websocketUrl=wm(e);const l=yield this.chooseBestWebsocketConnection(e);this.websocket=l,r&&r(this.websocket.url),this.websocket.onclose=o,this.websocket.onmessage=s,this.websocket.onerror=a,(d=this.store)===null||d===void 0||d.recordJoinChannelService({endTs:Date.now(),status:"success"},c),this.joinGatewayRecordIndex=c}catch(l){const u=this.state==="closed",h=l instanceof k,p=h&&l.code===v.WS_ABORT,g=h&&l.code===v.WS_ERR,m=h?l.message:l&&(l.reason||l.toString());_.warning("[choose-best-ws] chooseBestWebsocket error: ".concat(m)),this.store&&this.store.recordJoinChannelService({endTs:Date.now(),status:p?"aborted":"error",errors:[l]},c),u||g?(n.reject(u?new k(v.WS_DISCONNECT,"websocket is closed: ".concat(m)):new k(v.WS_ERR,"init websocket failed: ".concat(m))),g&&_.error("[".concat(this.name,"] init websocket failed: ").concat(m))):o&&o(l)}return n.promise})}reconnectWithAction(i){return C(this,arguments,function*(e){let n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];if(this.reconnectCount>=this.retryConfig.maxRetryCount||this.urls.length===0||this.state==="closed")return!1;_.warning("[choose-best-ws] action: =>",e),this.onlineReconnectListener||Ee.isOnline||!Ee.onlineWaiter||(this.onlineReconnectListener=Ee.onlineWaiter.then(()=>{this.onlineReconnectListener=void 0}));let r=!0;if(this.reconnectInterrupter=()=>r=!1,n){const a=FE(this.reconnectCount,this.retryConfig);_.debug("[".concat(this.name,"] wait ").concat(a,"ms to reconnect websocket, mode: ").concat(e)),yield K.race([Ue(a),this.onlineReconnectListener||new K(()=>{})])}if(this._state==="closed"||!r)return!1;this.reconnectCount+=1;const o=(a,c)=>C(this,null,function*(){this.emit(dt.RECONNECT_CREATE_CONNECTION,c),yield this.createWebSocketConnection(a)});try{if(e==="retry")yield o(this.urls[this.currentURLIndex],e);else if(e==="tryNext"){if(this.currentURLIndex+=1,this.currentURLIndex>=this.urls.length)return this.reconnectWithAction("recover",!1);_.debug("[".concat(this.name,"] websocket url length: ").concat(this.urls.length," current index: ").concat(this.currentURLIndex)),yield o(this.urls[this.currentURLIndex],e)}else e==="recover"&&(_.debug("[".concat(this.name,"] request new urls")),this.resetReconnectCount("recover mode"),this.urls=yield We(this,dt.REQUEST_NEW_URLS),this.currentURLIndex=0,yield o(this.urls[this.currentURLIndex],e))}catch(a){var s;_.error("[".concat(this.name,"] reconnect failed ").concat(a&&a.toString()));const c=a==null||(s=a.data)===null||s===void 0?void 0:s.desc;return Array.isArray(c)&&G(c).call(c,"dynamic key expired")?(this.emit(dt.ON_TOKEN_PRIVILEGE_DID_EXPIRE),!1):this.reconnectWithAction(e,n)}return!0})}}class Om extends dw{constructor(e,i){super(e,i,arguments.length>2&&arguments[2]!==void 0&&arguments[2],arguments.length>3&&arguments[3]!==void 0&&arguments[3],arguments.length>4&&arguments[4]!==void 0&&arguments[4],arguments.length>5?arguments[5]:void 0)}chooseBestWebsocketConnection(e,i){return C(this,null,function*(){const n=Ic(),r=function(s,a){return new hW(s,a)}(this.forceCloseTimeout,this.store);this.closeEstablishingWs=()=>{_.debug("[choose-best-ws] close establishing websockets"),r.closeAllWebsockets(),n.reject(new k(v.WS_ABORT,"choose best websocket aborted"))};const o=y("GATEWAY_DOMAINS");return _.debug("[choose-best-ws] currentDomain: ",e,", domains: ",o,"total: ".concat(this.urls.length),"current: ".concat(this.currentURLIndex+1)),r.chooseBestWebsocket(e,this.tryDoubleDomain,this.use443PortOnly,i).then(n.resolve).catch(n.reject),n.promise.finally(()=>{this.closeEstablishingWs=void 0})})}}class Gc extends dw{constructor(e,i){super(e,i,arguments.length>2&&arguments[2]!==void 0&&arguments[2],arguments.length>3&&arguments[3]!==void 0&&arguments[3],arguments.length>4&&arguments[4]!==void 0&&arguments[4],arguments.length>5?arguments[5]:void 0)}chooseBestWebsocketConnection(e,i){return C(this,null,function*(){return new K((n,r)=>{let o=!1;const s=[];this.closeEstablishingWs=()=>{_.debug("[choose-best-ws] close establishing websockets"),s.forEach(g=>{g.onclose=null,g.onopen=null,g.onmessage=null,g.close()}),r(new k(v.WS_ABORT,"choose best websocket aborted"))};const a=y("GATEWAY_DOMAINS");let c;const d=e.indexOf("?h="),l=a.find(g=>d!==-1?G(e).call(e,g,d):G(e).call(e,g));_.debug("[choose-best-ws] currentDomain: ",l,", domains: ",a);let u=!this.tryDoubleDomain||!l;if(!u&&l){var h;const g=Date.now();try{a.forEach(m=>{const f=d===-1?e.replace(l,m):e.substr(0,d)+e.substr(d).replace(l,m),T=new WebSocket(f);T.binaryType="arraybuffer",s.push(T),_.debug("[choose-best-ws] ws is connecting:",T.url)})}catch(m){for(_.debug("[choose-best-ws] ws create failed, fallback to single url"),s.forEach(f=>f.close());s.length;)s.pop();u=!0}(h=this.store)===null||h===void 0||h.recordJoinChannelService({urls:s.map(m=>m.url),service:"gateway"},i),s.forEach(m=>{m.onopen=()=>{if(o)return;const f=Date.now()-g;_.debug("[choose-best-ws] ws open cost ".concat(f,"ms")),s.filter(T=>T!==m).forEach(T=>{_.debug("[choose-best-ws]close backup websocket: ".concat(T.url)),T.close()}),o=!0,n(m)},m.onclose=f=>{c=f,!o&&(s.find(T=>!(T.readyState===WebSocket.CLOSED||T.readyState===WebSocket.CLOSING))||(_.debug("[choose-best-ws] all websocket is closed"),o=!0,r(c)))},m.onmessage=f=>{_.debug("[choose-best-ws]".concat(m.url," onmessage: ").concat(f.data))}}),Ue(this.forceCloseTimeout).then(()=>{s.forEach(m=>{m.readyState!==WebSocket.OPEN&&m.close()})})}if(u){var p;let g;_.debug("[choose-best-ws] use single url: ",e),(p=this.store)===null||p===void 0||p.recordJoinChannelService({urls:[e],service:"gateway"},i);try{g=new WebSocket(e),s.push(g),g.binaryType="arraybuffer"}catch(m){const f=new k(v.WS_ERR,"init websocket failed! Error: ".concat(m.toString()));return _.error("[".concat(this.name,"]").concat(f)),void r(f)}g.onopen=()=>{n(g)},g.onclose=m=>{r(m)},g.onmessage=m=>{_.debug("[choose-best-ws]".concat(g.url," onmessage: ").concat(m.data))},Ue(this.forceCloseTimeout).then(()=>{g&&g.readyState!==WebSocket.OPEN&&g.close()})}}).then(n=>(this.closeEstablishingWs=void 0,n)).catch(n=>{throw this.closeEstablishingWs=void 0,n})})}}class pW extends $t{get connectionState(){return this._connectionState}set connectionState(e){e!==this._connectionState&&(this._connectionState=e,e===Ht.CONNECTED?this.emit(ot.WS_CONNECTED):e===Ht.RECONNECTING?this.emit(ot.WS_RECONNECTING,this._websocketReconnectReason):e===Ht.CLOSED&&this.emit(ot.WS_CLOSED,this._disconnectedReason))}get currentURLIndex(){return this.websocket.currentURLIndex}get url(){return this.websocket&&this.websocket.url||null}get rtt(){return this.rttRolling.mean()}constructor(e,i){super(),S(this,"_disconnectedReason",void 0),S(this,"_websocketReconnectReason",void 0),S(this,"_connectionState",Ht.CLOSED),S(this,"reconnectToken",void 0),S(this,"websocket",void 0),S(this,"openConnectionTime",void 0),S(this,"clientId",void 0),S(this,"lastMsgTime",Date.now()),S(this,"uploadCache",[]),S(this,"uploadCacheInterval",void 0),S(this,"rttRolling",new RI(5)),S(this,"pingpongTimer",void 0),S(this,"wsInflateDataTimer",void 0),S(this,"pingpongTimeoutCount",0),S(this,"joinResponse",void 0),S(this,"multiIpOption",void 0),S(this,"initError",void 0),S(this,"spec",void 0),S(this,"store",void 0),S(this,"onWebsocketMessage",n=>{if(n.data instanceof ArrayBuffer)return void this.emit(ot.ON_BINARY_DATA,n.data);const r=JSON.parse(n.data);if(this.lastMsgTime=Date.now(),Object.prototype.hasOwnProperty.call(r,"_id")){const o="res-@".concat(r._id);this.emit(o,r._result,r._message)}else if(Object.prototype.hasOwnProperty.call(r,"_type")){if(this.emit(r._type,r._message),r._type===mt.ON_NOTIFICATION&&this.handleNotification(r._message),r._type===mt.ON_USER_BANNED)switch(r._message.error_code){case 14:this.close(bt.UID_BANNED);break;case 15:this.close(bt.IP_BANNED);break;case 16:this.close(bt.CHANNEL_BANNED)}if(r._type===mt.ON_USER_LICENSE_BANNED)switch(r._message.error_code){case tt.ERR_LICENSE_MISSING:this.close(bt.LICENSE_MISSING);break;case tt.ERR_LICENSE_EXPIRED:this.close(bt.LICENSE_EXPIRED);break;case tt.ERR_LICENSE_MINUTES_EXCEEDED:this.close(bt.LICENSE_MINUTES_EXCEEDED);break;case tt.ERR_LICENSE_PERIOD_INVALID:this.close(bt.LICENSE_PERIOD_INVALID);break;case tt.ERR_LICENSE_MULTIPLE_SDK_SERVICE:this.close(bt.LICENSE_MULTIPLE_SDK_SERVICE);break;case tt.ERR_LICENSE_ILLEGAL:this.close(bt.LICENSE_ILLEGAL);break;default:this.close()}}}),this.clientId=e.clientId,this.spec=e,this.store=i,this.websocket=new Om("gateway-".concat(this.clientId),this.spec.retryConfig,!0,y("JOIN_GATEWAY_USE_DUAL_DOMAIN"),y("JOIN_GATEWAY_USE_443PORT_ONLY"),i),this.handleWebsocketEvents(),window.addEventListener("offline",()=>{this.connectionState===Ht.CONNECTED&&this.reconnect("retry",Ge.OFFLINE)})}request(e,i,n,r){return C(this,null,function*(){const o=Gt(6,""),s={_id:o,_type:e,_message:i},a=this.websocket.connectionID,c=()=>new K((g,m)=>{if(this.connectionState===Ht.CONNECTED)return g();const f=()=>{this.off(ot.WS_CLOSED,T),g()},T=()=>{this.off(ot.WS_CONNECTED,f),m(new P(v.WS_ABORT))};this.once(ot.WS_CONNECTED,f),this.once(ot.WS_CLOSED,T),e!==nt.PUBLISH&&e!==nt.PUBLISH_DATASTREAM&&e!==nt.SUBSCRIBE&&e!==nt.SUBSCRIBE_DATASTREAM&&e!==nt.UNSUBSCRIBE&&e!==nt.UNSUBSCRIBE_DATASTREAM&&e!==nt.UNPUBLISH&&e!==nt.UNPUBLISH_DATASTREAM&&e!==nt.CONTROL&&e!==nt.RESTART_ICE||this.once(ot.DISCONNECT_P2P,()=>{m(new P(v.DISCONNECT_P2P))}),e!==nt.PUBLISH&&e!==nt.RESTART_ICE||this.once(ot.ABORT_P2P_EXECUTION,()=>{m(new P(v.DISCONNECT_P2P))})});if(this.connectionState!==Ht.CONNECTING&&this.connectionState!==Ht.RECONNECTING||e===nt.JOIN||e===nt.REJOIN||(yield c()),this.websocket.sendMessage(s,!0),r)return;const d=new K((g,m)=>{let f=!1;const T=(A,N)=>{f=!0,g({isSuccess:A==="success",message:N||{}}),this.off(ot.WS_CLOSED,R),this.off(ot.WS_RECONNECTING,R),this.emit(ot.REQUEST_SUCCESS,e,i)};this.once("res-@".concat(o),T);const R=()=>{m(new P(v.WS_ABORT,"type: ".concat(e))),this.off(ot.WS_CLOSED,R),this.off(ot.WS_RECONNECTING,R),this.off("res-@".concat(o),T)};this.once(ot.WS_CLOSED,R),this.once(ot.WS_RECONNECTING,R),Ue(y("SIGNAL_REQUEST_TIMEOUT")).then(()=>{this.websocket.connectionID!==a||f||(_.warning("[".concat(this.clientId,"] ws request timeout, type: ").concat(e)),this.emit(ot.REQUEST_TIMEOUT,e,i))})});let l=null;try{l=yield d}catch(g){if(this.connectionState===Ht.CLOSED||e===nt.LEAVE)throw new P(v.WS_ABORT);return!this.spec.forceWaitGatewayResponse||n?g.throw():e===nt.JOIN||e===nt.REJOIN?null:(yield c(),yield this.request(e,i))}if(l.isSuccess)return l.message;const u=Number(l.message.error_code||l.message.code),h=jc(u),p=new P(v.UNEXPECTED_RESPONSE,"".concat(h.desc,": ").concat(l.message.error_str),{code:u,data:l.message,desc:h.desc});return h.action==="success"?l.message:(_.warning("[".concat(this.clientId,"] [").concat(this.websocket.connectionID,"] unexpected response from type ").concat(e,", error_code: ").concat(u,", message: ").concat(h.desc,", action: ").concat(h.action)),u===tt.ERR_TOO_MANY_BROADCASTERS?((e===nt.JOIN||e===nt.REJOIN)&&(this.initError=p,this.close()),p.throw()):h.action==="failed"?p.throw():h.action==="quit"?(this.initError=p,this.close(),p.throw()):(u===tt.ERR_JOIN_BY_MULTI_IP?(this.multiIpOption=l.message.option,_.warning("[".concat(this.clientId,"] detect multi ip, recover")),this.reconnect("recover",Ge.MULTI_IP)):this.reconnect(h.action,Ge.SERVER_ERROR),e===nt.JOIN||e===nt.REJOIN?null:yield this.request(e,i)))})}waitMessage(e,i){return new K(n=>{const r=o=>{(!i||i(o))&&(this.off(e,r),n(o))};this.on(e,r)})}uploadWRTCStats(e){if(!this.store.sessionId)return void _.warn("[".concat(this.clientId,"] no session id when upload wrtc stats"));const i={lts:Date.now(),sid:this.store.sessionId,uid:this.store.intUid,stats:e};this.upload(Fc.WRTC_STATS,i)}upload(e,i){const n={_type:e,_message:i};try{this.websocket.sendMessage(n)}catch(r){const o=y("MAX_UPLOAD_CACHE")||50;this.uploadCache.push(n),this.uploadCache.length>o&&this.uploadCache.splice(0,1),this.uploadCache.length>0&&!this.uploadCacheInterval&&(this.uploadCacheInterval=window.setInterval(()=>{if(this.connectionState!==Ht.CONNECTED)return;const s=this.uploadCache.splice(0,1)[0];this.uploadCache.length===0&&(window.clearInterval(this.uploadCacheInterval),this.uploadCacheInterval=void 0),this.upload(s._type,s._message)},y("UPLOAD_CACHE_INTERVAL")||2e3))}}send(e,i){const n={_type:e,_message:i};this.websocket.sendMessage(n)}init(e){return this.initError=void 0,this.multiIpOption=void 0,this.joinResponse=void 0,this.reconnectToken=void 0,this.openConnectionTime=void 0,new K((i,n)=>{this.once(ot.WS_CONNECTED,()=>i(this.joinResponse)),this.once(ot.WS_CLOSED,r=>n(this.initError||new P(v.WS_ABORT,r))),this.connectionState=Ht.CONNECTING,this.websocket.init(e).catch(n),this.wsInflateDataTimer&&window.clearInterval(this.wsInflateDataTimer),this.wsInflateDataTimer=window.setInterval(()=>{this.handleWsInflateData()},2e4)})}close(e){this.pingpongTimer&&(this.pingpongTimeoutCount=0,window.clearInterval(this.pingpongTimer),this.pingpongTimer=void 0),this.wsInflateDataTimer&&(this.handleWsInflateData(),window.clearInterval(this.wsInflateDataTimer),this.wsInflateDataTimer=void 0),this.reconnectToken=void 0,this.joinResponse=void 0,this._disconnectedReason=e||bt.LEAVE,this.connectionState=Ht.CLOSED,_.debug("[".concat(this.clientId,"] ")+"will close websocket in signal"),this.websocket.close()}join(){return C(this,null,function*(){if(!this.joinResponse){this.emit(ot.ABORT_P2P_EXECUTION);const e=yield We(this,ot.REQUEST_JOIN_INFO),i=yield this.request(nt.JOIN,e);if(!i)return this.emit(ot.REPORT_JOIN_GATEWAY,Mu.TIMEOUT,this.url||""),!1;this.joinResponse=i,this.emit(ot.JOIN_RESPONSE,this.joinResponse),this.reconnectToken=this.joinResponse.rejoin_token}return this.connectionState=Ht.CONNECTED,this.pingpongTimer&&window.clearInterval(this.pingpongTimer),this.pingpongTimer=window.setInterval(this.handlePingPong.bind(this),3e3),!0})}rejoin(){return C(this,null,function*(){if(!this.reconnectToken)throw new P(v.UNEXPECTED_ERROR,"can not rejoin, no rejoin token");const e=Dc(this,ot.REQUEST_REJOIN_INFO);e.token=this.reconnectToken;const i=yield this.request(nt.REJOIN,e);return!!i&&(this.connectionState=Ht.CONNECTED,this.pingpongTimer&&window.clearInterval(this.pingpongTimer),this.pingpongTimer=window.setInterval(this.handlePingPong.bind(this),3e3),i.peers&&i.peers.forEach(n=>{this.emit(mt.ON_USER_ONLINE,{uid:n.uid}),n.audio&&this.emit(mt.ON_ADD_AUDIO_STREAM,{uid:n.uid,uint_id:n.uint_id,audio:!0,ssrcId:n.audio_ssrc}),n.video&&this.emit(mt.ON_ADD_VIDEO_STREAM,{uid:n.uid,uint_id:n.uint_id,video:!0,ssrcId:n.video_ssrc}),n.audio_mute?this.emit(mt.MUTE_AUDIO,{uid:n.uid}):this.emit(mt.UNMUTE_AUDIO,{uid:n.uid}),n.video_mute?this.emit(mt.MUTE_VIDEO,{uid:n.uid}):this.emit(mt.UNMUTE_VIDEO,{uid:n.uid}),n.audio_enable_local?this.emit(mt.ENABLE_LOCAL_AUDIO,{uid:n.uid}):this.emit(mt.DISABLE_LOCAL_AUDIO,{uid:n.uid}),n.video_enable_local?this.emit(mt.ENABLE_LOCAL_VIDEO,{uid:n.uid}):this.emit(mt.DISABLE_LOCAL_VIDEO,{uid:n.uid}),n.audio||n.video||this.emit(mt.ON_REMOVE_STREAM,{uid:n.uid,uint_id:n.uint_id})}),!0)})}reconnect(e,i){this.pingpongTimer&&(this.pingpongTimeoutCount=0,window.clearInterval(this.pingpongTimer),this.pingpongTimer=void 0),this.websocket.reconnect(e,i)}handleNotification(e){_.debug("[".concat(this.clientId,"] receive notification: "),e);const i=jc(e.code);if(e.code===28&&"detail"in e&&(_.info("[".concat(this.clientId,"] receive recover notification: "),e.detail),this.emit(ot.RECOVER_NOTIFICATION,e.detail)),i.action!=="success"){if(i.action!=="failed")return i.action==="quit"?(i.desc==="ERR_REPEAT_JOIN_CHANNEL"&&this.close(bt.UID_BANNED),void this.close()):void this.reconnect(i.action,Ge.SERVER_ERROR);_.error("[".concat(this.clientId,"] ignore error: "),i.desc)}}handlePingPong(){if(!this.websocket||this.websocket.state!=="connected")return;this.pingpongTimeoutCount>0&&this.rttRolling.add(3e3),this.pingpongTimeoutCount+=1;const e=y("PING_PONG_TIME_OUT"),i=Date.now();this.pingpongTimeoutCount>=e&&(_.warning("[".concat(this.clientId,"] PING-PONG Timeout. Last Socket Message: ").concat(i-this.lastMsgTime,"ms")),i-this.lastMsgTime>y("WEBSOCKET_TIMEOUT_MIN"))?this.reconnect("retry",Ge.TIMEOUT):this.request(nt.PING,void 0,!0).then(()=>{this.pingpongTimeoutCount=0;const n=Date.now()-i;this.rttRolling.add(n),y("REPORT_STATS")&&this.send(nt.PING_BACK,{pingpongElapse:n})}).catch(n=>{})}handleWsInflateData(){const{wsInflateLength:e,wsDeflateLength:i}=this.websocket.getWsInflateData();e!==0&&i!==0&&this.upload(Fc.WS_INFLATE_DATA_LENGTH,{ws_deflate_length:i,ws_inflate_length:e})}handleWebsocketEvents(){this.websocket.on(dt.RECONNECT_CREATE_CONNECTION,e=>{this.emit(ot.WS_RECONNECT_CREATE_CONNECTION,e)}),this.websocket.on(dt.ON_MESSAGE,this.onWebsocketMessage),this.websocket.on(dt.CLOSED,()=>{this.connectionState=Ht.CLOSED}),this.websocket.on(dt.FAILED,()=>{this._disconnectedReason=bt.NETWORK_ERROR,this.connectionState=Ht.CLOSED}),this.websocket.on(dt.RECONNECTING,e=>{this._websocketReconnectReason=e,this.joinResponse=void 0,this.connectionState===Ht.CONNECTED?this.connectionState=Ht.RECONNECTING:this.connectionState=Ht.CONNECTING}),this.websocket.on(dt.WILL_RECONNECT,(e,i,n)=>{const r=Dc(this,ot.IS_P2P_DISCONNECTED),o=r||e!=="retry";r&&e==="retry"&&(_.debug("".concat(this.clientId," reconnect mode is retry, but p2p lost, change to tryNext")),e="tryNext",i=Mu.P2P_DISCONNECTED),o&&(_.debug("".concat(this.clientId," will renewSession, reconnect mode: ").concat(e)),this.emit(ot.REPORT_JOIN_GATEWAY,i||Mu.UNKNOWN_REASON,this.url||""),this.reconnectToken=void 0,this.emit(ot.DISCONNECT_P2P)),n(e)}),this.websocket.on(dt.CONNECTED,()=>{this.openConnectionTime=Date.now(),this.reconnectToken?this.rejoin().catch(e=>{_.warning("[".concat(this.clientId,"] rejoin failed ").concat(e)),this.reconnect("tryNext",Ge.SERVER_ERROR)}):this.join().catch(e=>{if(this.emit(ot.REPORT_JOIN_GATEWAY,e,this.url||""),e instanceof P){if(e.code===v.UNEXPECTED_RESPONSE&&e.data.code===tt.ERR_NO_AUTHORIZED)return this.initError=new P(v.TOKEN_EXPIRE,"dynamic key expired"),void this.close(bt.TOKEN_EXPIRE);_.error("[".concat(this.clientId,"] join gateway request failed"),e.toString()),this.spec.forceWaitGatewayResponse?this.reconnect("tryNext",Ge.SERVER_ERROR):(this.initError=e,this.close())}})}),this.websocket.on(dt.REQUEST_NEW_URLS,(e,i)=>{We(this,ot.REQUEST_RECOVER,this.multiIpOption).then(e).catch(i)}),this.websocket.on(dt.ON_TOKEN_PRIVILEGE_DID_EXPIRE,()=>{this.emit(mt.ON_TOKEN_PRIVILEGE_DID_EXPIRE)}),this.websocket.on(sw.PRE_CONNECT_PC,()=>{this.emit(ot.PRE_CONNECT_PC)})}}let _W=function(t){return t.NATIVE_RTC="native_rtc",t.NATIVE_RTM="native_rtm",t.WEB_RTC="web_rtc",t.WEB_RTM="web_rtm",t}({}),me=function(t){return t[t.CHOOSE_SERVER=11]="CHOOSE_SERVER",t[t.CLOUD_PROXY=18]="CLOUD_PROXY",t[t.CLOUD_PROXY_5=20]="CLOUD_PROXY_5",t[t.CLOUD_PROXY_FALLBACK=26]="CLOUD_PROXY_FALLBACK",t}({});function lw(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function xu(t){for(var e=1;e{let{ip:h,port:p}=u;return{address:"".concat(h,":").concat(p)}});const d=y("GATEWAY_DOMAINS");let l=d[1]&&G(c).call(c,d[1])?1:0;return a.map(u=>{let{domain_prefix:h,port:p,ip:g}=u;if(h)return{address:"".concat(h,".").concat(d[l++%d.length],":").concat(p)};const m=/^[\.\:\d]+$/.test(g),f=m?"".concat(g.replace(/[^\d]/g,"-"),".").concat(d[l++%d.length],":").concat(p):"".concat(g,":").concat(p);return m||_.debug("Cannot recognized as ip address: ".concat(g,", use as host")),{ip:g,port:p,address:f}})}(t.addresses,e),n=Array.isArray(t.detail)&&t.detail[18];if(n&&typeof n=="string"){const a=n.split(";");for(let c=0;c=0&&t<.17?1:t>=.17&&t<.36?2:t>=.36&&t<.59?3:t>=.59&&t<=1?4:t>1?5:0}function Wc(t,e){let i,n,r;switch(e){case me.CHOOSE_SERVER:n=4096,r="choose server";break;case me.CLOUD_PROXY:n=1048576,r="proxy";break;case me.CLOUD_PROXY_5:n=4194304,r="proxy5";break;case me.CLOUD_PROXY_FALLBACK:n=4194310,r="proxy fallback";break;default:throw new P(v.UNEXPECTED_ERROR,"multi unlibs response transformer get unknown service id",{csIp:t.detail&&t.detail[502],retry:!1})}if(t.response_body.forEach(o=>{o.buffer&&o.buffer.flag===n&&(i={code:o.buffer.code,addresses:(o.buffer.edges_services||[]).map(s=>xu(xu({},s),{},{ticket:o.buffer.cert})),server_ts:t.enter_ts,uid:o.buffer.uid,cid:o.buffer.cid,cname:o.buffer.cname,detail:xu(xu({},o.buffer.detail),t.detail),flag:o.buffer.flag,opid:t.opid,cert:o.buffer.cert})}),!i)throw new P(v.MULTI_UNILBS_RESPONSE_ERROR,"cannot parse response ".concat(r," from multi unilbs response"),{csIp:t.detail&&t.detail[502]});return i}function pw(t,e){return C(this,null,function*(){return yield K.all(t.addresses.map(i=>C(this,null,function*(){return{address:y("USE_TURN_IP")?i.ip:So(i.ip),tcpport:i.port,udpport:i.port,username:e&&y("ENCRYPT_PROXY_USERNAME_AND_PSW")&&window.isSecureContext?e.toString():He.username,password:e&&y("ENCRYPT_PROXY_USERNAME_AND_PSW")&&window.isSecureContext?yield kE(e.toString()):He.password}})))})}function Dm(t,e){const i=e.getMediaStreamTrack(!0).getSettings(),n=e.videoHeight||i.height,r=e.videoWidth||i.width;return n&&r?Math.max(Math.min(n,r)/Math.min(Bi(t.height),Bi(t.width)),1):(_.warning("can't get ori-track's height, default scale down 4 times for low stream"),4)}function To(t){let{candidateType:e,relayProtocol:i,type:n,address:r,port:o,protocol:s}=t;const a={candidateType:e,relayProtocol:i,protocol:s};if(n!=="local-candidate"){const c=r.split(".");c.length>=4&&(c[1]="*",c[2]="*"),a.address=c.join("."),a.port=o}return a}function Vu(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:y("SVC_MODE");if(y("ENABLE_SVC"))return function(e){return e in pu}(t)?t:pu.L1T3}const _w={[q.VIDEO]:[{key:"abs-send-time",extensionName:"http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time"},{key:"video-orientation",extensionName:"urn:3gpp:video-orientation"},{key:"draft-holmer-rmcat-transport-wide-cc-extensions-01",extensionName:"http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01"},{key:"playout-delay",extensionName:"http://www.webrtc.org/experiments/rtp-hdrext/playout-delay"},{key:"video-content-type",extensionName:"http://www.webrtc.org/experiments/rtp-hdrext/video-content-type"},{key:"color-space",extensionName:"http://www.webrtc.org/experiments/rtp-hdrext/color-space"},{key:"video-timing",extensionName:"http://www.webrtc.org/experiments/rtp-hdrext/video-timing"}],[q.AUDIO]:[{key:"ssrc-audio-level",extensionName:"urn:ietf:params:rtp-hdrext:ssrc-audio-level"},{key:"draft-holmer-rmcat-transport-wide-cc-extensions-01",extensionName:"http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01"},{key:"abs-send-time",extensionName:"http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time"}]};function Fu(t,e,i){e.forEach(n=>{var r;const o=_w[t].find(a=>{var c;let{key:d}=a;return G(c=n.extensionName).call(c,d)});if(!o)return;const s=i.find(a=>{let{extensionName:c}=a;return G(c).call(c,o.key)});s&&G(r=s.extensionName).call(r,"gdpr_forbidden")&&(n.extensionName=s.extensionName)})}function Aa(t,e){e.forEach(i=>{var n;const r=_w[t].find(o=>{var s;let{key:a}=o;return G(s=i.extensionName).call(s,a)});G(n=i.extensionName).call(n,"gdpr_forbidden")&&r&&(i.extensionName=r.extensionName)})}function Ew(t){return t==="http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time"||G(t).call(t,"abs-send-time")}function Bu(t){return t==="http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01"||G(t).call(t,"draft-holmer-rmcat-transport-wide-cc-extensions-01")}function mw(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function fw(t){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0;const{filterRTX:r,filterVideoFec:o,filterAudioFec:s,filterAudioCodec:a,filterVideoCodec:c}=e,{useXR:d}=i;let l=[],u=[],h=[],p=[],g=!1,m=!1;if(Ni(t).mediaDescriptions.forEach(T=>{n&&n!==T.attributes.direction||(T.media.mediaType!=="video"||g||(u=T.attributes.payloads,p=T.attributes.extmaps,g=!0),T.media.mediaType!=="audio"||m||(l=T.attributes.payloads,h=T.attributes.extmaps,m=!0))}),!p||u.length===0)throw new Error("Cannot get video capabilities from SDP.");if(!h||l.length===0)throw new Error("Cannot get audio capabilities from SDP.");if(u.forEach(T=>{var R;(R=T.rtpMap)!==null&&R!==void 0&&R.clockRate&&(T.rtpMap.clockRate=parseInt(T.rtpMap.clockRate)),d&&T.rtcpFeedbacks.push({type:"rrtr"})}),l.forEach(T=>{var R;(R=T.rtpMap)!==null&&R!==void 0&&R.clockRate&&(T.rtpMap.clockRate=parseInt(T.rtpMap.clockRate)),d&&T.rtcpFeedbacks.push({type:"rrtr"})}),r&&(l=l.filter(T=>{var R;return((R=T.rtpMap)===null||R===void 0?void 0:R.encodingName.toLowerCase())!=="rtx"}),u=u.filter(T=>{var R;return((R=T.rtpMap)===null||R===void 0?void 0:R.encodingName.toLowerCase())!=="rtx"})),o&&(u=u.filter(T=>{var R;return!/(red)|(ulpfec)|(flexfec)/i.test(((R=T.rtpMap)===null||R===void 0?void 0:R.encodingName)||"")})),s&&(l=l.filter(T=>{var R;return!/(red)|(ulpfec)|(flexfec)/i.test(((R=T.rtpMap)===null||R===void 0?void 0:R.encodingName)||"")})),a&&(a==null?void 0:a.length)>0&&(l=l.filter(T=>{var R;return G(a).call(a,((R=T.rtpMap)===null||R===void 0?void 0:R.encodingName.toLowerCase())||"")})),c&&(c==null?void 0:c.length)>0){const T=u.filter(R=>{var A;return G(c).call(c,((A=R.rtpMap)===null||A===void 0?void 0:A.encodingName.toLowerCase())||"")});u=T.concat(r?[]:km(T,u))}const f=y("UNSUPPORTED_VIDEO_CODEC");return f&&f.length>0&&(u=u.filter(T=>!(T.rtpMap&&G(f).call(f,T.rtpMap.encodingName.toLowerCase())))),{audioCodecs:l,videoCodecs:u,audioExtensions:h,videoExtensions:p}}function Ro(t){const e=Ni(t);let i,n;for(const r of e.mediaDescriptions){if(!i){const o=r.attributes.iceUfrag,s=r.attributes.icePwd;if(!o||!s)throw new Error("Cannot get iceUfrag or icePwd from SDP.");i={iceUfrag:o,icePwd:s}}if(!n){const o=r.attributes.fingerprints;o.length>0&&(n={fingerprints:o})}}if(!n&&e.attributes.fingerprints.length>0&&(n={fingerprints:e.attributes.fingerprints}),!n||!i)throw new Error("Cannot get iceParameters or dtlsParameters from SDP.");return{iceParameters:i,dtlsParameters:n}}function gw(t,e){const i=[],n=t.attributes.ssrcGroups.filter(s=>s.semantic==="FID"),r=t.attributes.ssrcGroups.find(s=>s.semantic==="SIM"),o=t.attributes.ssrcs;if(r)r.ssrcIds.forEach(s=>{var a;const c=(a=n.find(d=>d.ssrcIds[0]===s))===null||a===void 0?void 0:a.ssrcIds[1];i.push({ssrcId:s,rtx:e?c:void 0})});else if(n.length>0){const s=n[0].ssrcIds[0],a=n[0].ssrcIds[1];i.push({ssrcId:s,rtx:e?a:void 0})}else{if(o.length===0)throw new Error("No ssrcs found on local media description.");i.push({ssrcId:o[0].ssrcId})}return i}function Sw(t,e,i){const{cname:n}=t;let r=[];e&&(r=Tw(e)),r.length===0&&(r=t.iceParameters.candidates.map(l=>({foundation:l.foundation,componentId:"1",transport:l.protocol,priority:l.priority.toString(),connectionAddress:l.ip,port:l.port.toString(),type:l.type,extension:{}})),_.debug("Using candidates from gateway."));const o={fingerprints:t.dtlsParameters.fingerprints.map(l=>({hashFunction:l.algorithm,fingerprint:l.fingerprint}))},s={iceUfrag:t.iceParameters.iceUfrag,icePwd:t.iceParameters.icePwd};let a;switch(t.dtlsParameters.role){case"server":a="passive";break;case"client":a="active";break;case"auto":a="actpass"}const c=Gu(t.rtpCapabilities),d=[];return Array.isArray(i)&&i.length>0&&i.forEach(l=>{d.push({kind:q.VIDEO,ssrcId:l.v,rtx:l.v_rtx,mslabel:"".concat(l.v,"_").concat(l.a)},{kind:q.AUDIO,ssrcId:l.a,mslabel:"".concat(l.v,"_").concat(l.a)})}),{dtlsParameters:o,iceParameters:s,candidates:r,rtpCapabilities:c,setup:a,cname:n,preSSRCs:d}}function Tw(t){let e=[];return t.ip&&typeof t.port=="number"&&(e=[{foundation:"udpcandidate",componentId:"1",transport:"udp",priority:"2103266323",connectionAddress:t.ip,port:t.port.toString(),type:"host",extension:{}}],_.debug("Using remote candidate from AP ".concat(t.ip,":").concat(t.port)),t.ip6&&(e.push({foundation:"udpcandidate",componentId:"1",transport:"udp",priority:"2103266323",connectionAddress:t.ip6,port:t.port.toString(),type:"host",extension:{}}),_.debug("Using IPV6 remote candidate from AP ".concat(t.ip6,":").concat(t.port)))),e}function as(t,e,i){const n=[],r=[];return t.forEach(o=>{let{ssrcId:s,rtx:a}=o;const c=Gt(8,"track-"),d={ssrcId:s,attributes:fw({label:c,mslabel:i=i||Gt(10,""),msid:"".concat(i," ").concat(c)},e&&{cname:e})};if(n.push(d),a!==void 0){const l={ssrcId:a,attributes:fw({label:c,mslabel:i,msid:"".concat(i," ").concat(c)},e&&{cname:e})};n.push(l),r.push({semantic:"FID",ssrcIds:[s,a]})}}),t.length>1&&r.push({semantic:"SIM",ssrcIds:t.map(o=>{let{ssrcId:s}=o;return s})}),{ssrcs:n,ssrcGroups:r}}function ba(t,e){e instanceof ae&&t.attributes.payloads.forEach(i=>{var n;const r=(n=i.rtpMap)===null||n===void 0?void 0:n.encodingName.toLowerCase();if(!r||["opus","pcmu","pcma","g722"].indexOf(r)===-1)return;i.fmtp||(i.fmtp={parameters:{}}),r==="opus"&&typeof y("OPUS_PTIME")=="number"?i.fmtp.parameters.ptime=y("OPUS_PTIME"):i.fmtp.parameters.minptime="10",i.fmtp.parameters.useinbandfec="1";const o=e._encoderConfig;o&&(r!=="pcmu"&&r!=="pcma"&&r!=="g722"&&(o.bitrate&&!ne()&&(i.fmtp.parameters.maxaveragebitrate="".concat(Math.floor(1e3*o.bitrate))),o.sampleRate&&(i.fmtp.parameters.maxplaybackrate="".concat(o.sampleRate),i.fmtp.parameters["sprop-maxcapturerate"]="".concat(o.sampleRate)),o.stereo&&(i.fmtp.parameters.stereo="1",i.fmtp.parameters["sprop-stereo"]="1")),e instanceof xc&&r==="opus"&&e._config.DTX&&(i.fmtp.parameters.usedtx="1"))})}function Pm(t){const e=t.attributes.unrecognized.findIndex(i=>i.attField==="x-google-flag"&&i.attValue==="conference");e!==-1&&t.attributes.unrecognized.splice(e,1)}function Lm(t,e){var i;if(!(e instanceof Yt&&e._encoderConfig&&e._hints.indexOf(Vt.SCREEN_TRACK)===-1))return;const n=e._encoderConfig;Ct().supportMinBitrate&&n.bitrateMin&&t.attributes.payloads.forEach(r=>{var o,s;G(o=["h264","h265","vp8","vp9","av1"]).call(o,((s=r.rtpMap)===null||s===void 0?void 0:s.encodingName.toLowerCase())||"")&&(r.fmtp||(r.fmtp={parameters:{}}),r.fmtp.parameters["x-google-min-bitrate"]="".concat(n.bitrateMin))}),Ct().supportMinBitrate&&!G(i=e._hints).call(i,Vt.LOW_STREAM)&&n.bitrateMax&&t.attributes.payloads.forEach(r=>{var o,s;G(o=["h264","h265","vp8","vp9","av1"]).call(o,((s=r.rtpMap)===null||s===void 0?void 0:s.encodingName.toLowerCase())||"")&&(r.fmtp||(r.fmtp={parameters:{}}),r.fmtp.parameters["x-google-start-bitrate"]="".concat(y("X_GOOGLE_START_BITRATE")||Math.floor(n.bitrateMax)))})}function Rw(t){if(t.media.mediaType!=="video")return;const e=vt();if(e.name!==It.SAFARI&&e.os!==we.IOS)return;const i=t.attributes.extmaps.findIndex(n=>/video-orientation/g.test(n.extensionName));i!==-1&&t.attributes.extmaps.splice(i,1)}function ju(t,e,i){if(!e)return;let n,r;if(t.media.mediaType==="video"?(n=i.videoExtensions,r=i.videoCodecs):(n=i.audioExtensions,r=i.audioCodecs),e.twcc===!0){const o=n.find(s=>Bu(s.extensionName));if(o){const s=o.extensionName;t.attributes.extmaps.find(c=>Bu(c.extensionName))||t.attributes.extmaps.push({entry:o.entry,extensionName:s}),function(c,d){return d.filter(l=>!!c.find(u=>u.payloadType===l.payloadType&&!!u.rtcpFeedbacks.find(h=>h.type==="transport-cc")))}(r,t.attributes.payloads).forEach(c=>{c.rtcpFeedbacks.find(d=>d.type==="transport-cc")||c.rtcpFeedbacks.push({type:"transport-cc"})})}}else if(e.twcc===!1){const o=t.attributes.extmaps.findIndex(s=>Bu(s.extensionName));o!==-1&&t.attributes.extmaps.splice(o,1),t.attributes.payloads.forEach(s=>{const a=s.rtcpFeedbacks.findIndex(c=>c.type==="transport-cc");a!==-1&&s.rtcpFeedbacks.splice(a,1)})}if(e.remb===!0){const o=n.find(s=>Ew(s.extensionName));if(o){const s=o.extensionName;t.attributes.extmaps.find(c=>c.extensionName===s)||t.attributes.extmaps.push({entry:o.entry,extensionName:s}),function(c,d){return d.filter(l=>!!c.find(u=>u.payloadType===l.payloadType&&!!u.rtcpFeedbacks.find(h=>h.type==="goog-remb")))}(r,t.attributes.payloads).forEach(c=>{c.rtcpFeedbacks.find(d=>d.type==="goog-remb")||c.rtcpFeedbacks.push({type:"goog-remb"})})}}else if(e.remb===!1){const o=t.attributes.extmaps.findIndex(s=>Ew(s.extensionName));o!==-1&&t.attributes.extmaps.splice(o,1),t.attributes.payloads.forEach(s=>{const a=s.rtcpFeedbacks.findIndex(c=>c.type==="goog-remb");a!==-1&&s.rtcpFeedbacks.splice(a,1)})}}function vw(t,e,i){if(ne()||t.media.mediaType!=="video"||!(e instanceof Yt)||i!=="vp9"&&i!=="vp8"||i==="vp8"&&!y("SIMULCAST")||i==="vp9"&&y("ENABLE_SVC")||e._scalabilityMode===void 0||e._scalabilityMode.numSpatialLayers<=1)return;const n=i==="vp8"?2:e._scalabilityMode.numSpatialLayers,r=t.attributes.ssrcs[0],o=t.attributes.ssrcGroups.find(a=>a.semantic==="FID"&&a.ssrcIds[0]===r.ssrcId),s={semantic:"SIM",ssrcIds:[r.ssrcId]};for(let a=1;a0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=new RTCPeerConnection;i.addTransceiver("video",{direction:"sendonly"}),i.addTransceiver("audio",{direction:"sendonly"}),i.addTransceiver("video",{direction:"recvonly"}),i.addTransceiver("audio",{direction:"recvonly"});const n=(yield i.createOffer()).sdp,{send:r,recv:o,sendrecv:s}=function(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=arguments.length>2?arguments[2]:void 0;const l=Hc(d,a,c,"sendonly"),u=Hc(d,a,c,"recvonly"),h={audioCodecs:[],audioExtensions:[],videoCodecs:[],videoExtensions:[]},p={audioCodecs:[],audioExtensions:[],videoCodecs:[],videoExtensions:[]},g={audioCodecs:[],audioExtensions:[],videoCodecs:[],videoExtensions:[]};if(kn(l,u,"videoExtensions",h,p,g),kn(l,u,"videoCodecs",h,p,g),kn(l,u,"audioExtensions",h,p,g),kn(l,u,"audioCodecs",h,p,g),y("RAISE_H264_BASELINE_PRIORITY")){const m=[],f=[];g.videoCodecs.forEach((T,R)=>{var A;if(((A=T.rtpMap)===null||A===void 0?void 0:A.encodingName.toLocaleLowerCase())==="h264"){var N,O;const w=g.videoCodecs[R+1],L=w&&ww(T,w),M=(N=T.fmtp)===null||N===void 0?void 0:N.parameters["profile-level-id"],j=(O=T.fmtp)===null||O===void 0?void 0:O.parameters["packetization-mode"];!M||M!==y("FIRST_H264_PROFILE_LEVEL_ID")||y("FIRST_PACKETIZATION_MODE")&&j!==y("FIRST_PACKETIZATION_MODE")?L?f.push([T,w]):f.push([T]):L?m.push([T,w]):m.push([T])}}),m.length>0&&f.length>0&&(_.debug("raising H264 baseline profile priority"),g.videoCodecs.forEach((T,R)=>{var A;if(((A=T.rtpMap)===null||A===void 0?void 0:A.encodingName.toLocaleLowerCase())==="h264"){const N=ww(T,g.videoCodecs[R+1]),O=m.shift()||f.shift()||[];O.length>0&&(N?g.videoCodecs.splice(R,2,...O):g.videoCodecs.splice(R,1,...O))}}),p.videoCodecs=p.videoCodecs.filter(T=>{var R,A;return!(((R=T.rtpMap)===null||R===void 0?void 0:R.encodingName.toLocaleLowerCase())==="h264"&&((A=T.fmtp)===null||A===void 0?void 0:A.parameters["profile-level-id"])!==y("FIRST_H264_PROFILE_LEVEL_ID"))}),y("FILTER_SEND_H264_BASELINE")&&(h.videoCodecs=h.videoCodecs.filter(T=>{var R,A;return!(((R=T.rtpMap)===null||R===void 0?void 0:R.encodingName.toLocaleLowerCase())==="h264"&&((A=T.fmtp)===null||A===void 0?void 0:A.parameters["profile-level-id"])!==y("FIRST_H264_PROFILE_LEVEL_ID"))})))}return{send:h,recv:p,sendrecv:g}}(t,e,n);try{i.close()}catch(a){}return{send:r,recv:o,sendrecv:s}})}function yw(){const t={audioCodecs:[],videoCodecs:[],audioExtensions:[],videoExtensions:[]},e=Hc(arguments.length>2?arguments[2]:void 0,arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},"recvonly"),i={audioCodecs:[],audioExtensions:[],videoCodecs:[],videoExtensions:[]},n={audioCodecs:[],audioExtensions:[],videoCodecs:[],videoExtensions:[]},r={audioCodecs:[],audioExtensions:[],videoCodecs:[],videoExtensions:[]};if(kn(t,e,"videoExtensions",i,n,r),kn(t,e,"videoCodecs",i,n,r),kn(t,e,"audioExtensions",i,n,r),kn(t,e,"audioCodecs",i,n,r),y("RAISE_H264_BASELINE_PRIORITY")){const o=r.videoCodecs.findIndex(s=>s.rtpMap&&s.rtpMap.encodingName.toLocaleLowerCase()==="h264"&&s.fmtp&&s.fmtp.parameters["profile-level-id"]==="42001f");if(o!==-1){const s=r.videoCodecs.findIndex(a=>a.rtpMap&&a.rtpMap.encodingName.toLocaleLowerCase()==="h264");if(s!(a.rtpMap&&a.rtpMap.encodingName.toLocaleLowerCase()==="h264"&&a.fmtp&&a.fmtp.parameters["profile-level-id"]!=="42001f")))}}return{send:i,recv:n,sendrecv:r}}function kn(t,e,i,n,r,o){if(i==="videoExtensions"||i==="audioExtensions"){const s=[];return t[i].forEach(a=>{e[i].some((c,d)=>{if(a.entry===c.entry&&a.extensionName===c.extensionName)return s.push(d),!0})?o[i].push(a):n[i].push(a)}),void e[i].forEach((a,c)=>{s.indexOf(c)===-1&&r[i].push(a)})}if(i==="videoCodecs"||i==="audioCodecs"){const s=[];return t[i].forEach(a=>{e[i].some((c,d)=>{if(a.payloadType===c.payloadType&&JSON.stringify(a)===JSON.stringify(c))return s.push(d),!0})?o[i].push(a):n[i].push(a)}),void e[i].forEach((a,c)=>{s.indexOf(c)===-1&&r[i].push(a)})}}function Gu(t){const{send:e,recv:i,sendrecv:n}=t;if(!n){if(!e||!i)throw new Error("cannot merge rtp capabilities because one of send or recv is empty!");return{send:e,recv:i}}let r,o;return e?(r={audioCodecs:[],audioExtensions:[],videoCodecs:[],videoExtensions:[]},r.audioCodecs=[...e.audioCodecs,...n.audioCodecs],r.videoCodecs=[...e.videoCodecs,...n.videoCodecs],r.audioExtensions=[...e.audioExtensions,...n.audioExtensions],r.videoExtensions=[...e.videoExtensions,...n.videoExtensions]):r=n,i?(o={audioCodecs:[],audioExtensions:[],videoCodecs:[],videoExtensions:[]},o.audioCodecs=[...i.audioCodecs,...n.audioCodecs],o.videoCodecs=[...i.videoCodecs,...n.videoCodecs],o.audioExtensions=[...i.audioExtensions,...n.audioExtensions],o.videoExtensions=[...i.videoExtensions,...n.videoExtensions]):o=n,{send:r,recv:o}}function wa(t){t.media.mediaType==="audio"&&t.attributes.payloads.filter(e=>{var i;return((i=e.rtpMap)===null||i===void 0?void 0:i.encodingName.toLowerCase())==="opus"}).forEach(e=>{e.fmtp||(e.fmtp={parameters:{}}),e.fmtp.parameters.stereo="1",e.fmtp.parameters["sprop-stereo"]="1"})}function Kc(t,e,i,n){let r=[];if(t===q.VIDEO){if(y("H264_PROFILE_LEVEL_ID")&&n==="h264"&&(r=e.videoCodecs.filter(o=>{var s;return G(s=o.rtpMap&&o.rtpMap.encodingName.toLowerCase()||"").call(s,n)&&o&&o.fmtp&&o.fmtp.parameters["profile-level-id"]===y("H264_PROFILE_LEVEL_ID")})),!Array.isArray(r)||r.length===0){let o=[];const s=[],a=[],c=[];if(i.videoCodecs.forEach(d=>{const l=d.rtpMap&&d.rtpMap.encodingName.toLowerCase()||"";G(l).call(l,n)?o.push(d):G(l).call(l,"vp9")?s.push(d):G(l).call(l,"vp8")?a.push(d):G(l).call(l,"h264")&&c.push(d)}),o.length===0){let d="";s.length!==0?(o=s,d="vp9"):a.length!==0?(o=a,d="vp8"):c.length!==0&&(o=c,d="h264"),_.warning("codec ".concat(n," not included in rtpCapabilities, fallback to default payloads: ").concat(d))}o.length!==0&&(r=e.videoCodecs.filter(d=>o.some(l=>l.payloadType===d.payloadType)))}if(r.length===0&&(_.warning("codec ".concat(n," not included in rtpCapabilities, fallback to default payloads: ").concat(e.videoCodecs[0].rtpMap&&e.videoCodecs[0].rtpMap.encodingName)),r=e.videoCodecs),y("USE_PUB_RTX")||y("USE_SUB_RTX")){const o=km(r,e.videoCodecs);r=[...r,...o]}}else{r=e.audioCodecs.filter(s=>{var a;return G(a=s.rtpMap&&s.rtpMap.encodingName.toLowerCase()||"").call(a,n)});const o=e.audioCodecs.filter(s=>{var a;return G(a=s.rtpMap&&s.rtpMap.encodingName.toLowerCase()||"").call(a,"red")});r.length===0&&(_.warning("codec ".concat(n," not included in rtpCapabilities, fallback to opus")),r=e.audioCodecs.filter(s=>{var a;return G(a=s.rtpMap&&s.rtpMap.encodingName.toLowerCase()||"").call(a,"opus")})),y("ENABLE_AUDIO_RED")&&o.length!==0&&(r=[...o,...r])}return r}function km(t,e){const i=t.map(n=>n.payloadType.toString());return e.filter(n=>n.rtpMap&&n.rtpMap.encodingName==="rtx"&&n.fmtp&&n.fmtp.parameters.apt&&G(i).call(i,n.fmtp&&n.fmtp.parameters.apt))}function Yc(t,e,i){return C(this,null,function*(){const n=e.toString(),r=Aw(n,"offer","remote","exchangeSDP");yield t.setRemoteDescription({type:"offer",sdp:n});const o=yield t.createAnswer();if(!o.sdp)throw new Error("cannot get answer sdp");let s=o.sdp;s=Iw(s,i||{}),r==null||r(s||""),yield t.setLocalDescription({type:"answer",sdp:s})})}function Iw(t,e,i){const n=Ni(t),{useXR:r}=e;return n.mediaDescriptions.forEach(o=>{var s;o.attributes.mid&&(Array.isArray(i)&&!G(i).call(i,o.attributes.mid)||(o.media.mediaType==="audio"&&wa(o),r&&G(s=["audio","video"]).call(s,o.media.mediaType)&&o.attributes.payloads.forEach(a=>{a.rtcpFeedbacks.findIndex(c=>c.type==="rrtr")===-1&&a.rtcpFeedbacks.push({type:"rrtr"})})))}),mo(n)}function Aw(t,e,i,n){if(y("SDP_LOGGING"))return _.upload("exchanging ".concat(i," ").concat(e," SDP during P2PConnection.").concat(n,` +`),t),e==="offer"?r=>{Aw(r,"answer",i==="local"?"remote":"local",n)}:void 0}function bw(t){const e=y("COMPATIBLE_SDP_EXTENSION");return!!(Array.isArray(e)&&e.length>0)&&e.some(i=>G(t).call(t,i))}function ww(t,e){try{var i;return((i=t.fmtp)===null||i===void 0?void 0:i.parameters.apt)===e.payloadType.toString()}catch(n){return!1}}function Ow(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function ji(t,e){return typeof y(t)===e?y(t):void 0}function EW(){try{const t=y("EXPERIMENTS")||{};return typeof t=="string"||Array.isArray(t)?{}:function(e){for(var i=1;i1&&arguments[1]!==void 0)||arguments[1])&&_.debug("install service ".concat(t.name)),Nw[t.name]=t}function Kr(t){const e=Nw[t];if(!e)throw new k(v.INVALID_OPERATION,"".concat(t," not found, please use AgoraRTC.use(").concat(t,"Service) to load it first"));return e}function Dw(t,e){return Kr("DataStream").create(t,e)}function Wu(){return Kr("InterceptFrame").create()}function Pw(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function Rr(t){for(var e=1;e{let{address:u}=l;const[h,p]=u.split(":"),g={host:h,port:p};return e.proxyServer&&(g.proxy=e.proxyServer),g});s=(yield this.signal.init(d)).uid,_.debug("[".concat(this.store.clientId,"] websocket join uid ").concat(s," cost ").concat(Date.now()-this.joinGatewayStartTime))}catch(d){var c;throw _.error("[".concat(this.store.clientId,"] User join failed"),d.toString()),Z.joinGateway(e.sid,{lts:r,succ:!1,ec:((c=d.data)===null||c===void 0?void 0:c.desc)||d.code,errorMsg:d.message,addr:this.signal.url,uid:e.uid,cid:e.cid,firstSuccess:this._isProactiveJoin,isProxy:!!a,signalChannel:"0",preload:e.preload}),o.delete(e.uid),this.signal.close(),d}return this.state="CONNECTED",this.inChannelInfo.joinAt=Date.now(),_.debug("[".concat(this.store.clientId,"] Connected to gateway server")),this.trafficStatsInterval=window.setInterval(()=>{this.updateTrafficStats().catch(d=>{_.warning("[".concat(this.store.clientId,"] get traffic stats error"),d.toString())})},3e3),this.networkQualityInterval=window.setInterval(()=>{navigator&&navigator.onLine!==void 0&&!navigator.onLine?this.emit(De.NETWORK_QUALITY,{downlinkNetworkQuality:6,uplinkNetworkQuality:6}):this._signalTimeout?this.emit(De.NETWORK_QUALITY,{downlinkNetworkQuality:5,uplinkNetworkQuality:5}):this.state==="CONNECTED"&&this._statsCollector.trafficStats?this.emit(De.NETWORK_QUALITY,{uplinkNetworkQuality:hw(this._statsCollector.trafficStats.B_unq),downlinkNetworkQuality:hw(this._statsCollector.trafficStats.B_dnq)}):this.emit(De.NETWORK_QUALITY,{uplinkNetworkQuality:0,downlinkNetworkQuality:0})},2e3),this.store.joinGatewayEnd(),s})}leave(){return C(this,arguments,function*(){let e=arguments.length>0&&arguments[0]!==void 0&&arguments[0],i=arguments.length>1?arguments[1]:void 0;if(this.state!=="DISCONNECTED"){i!==bt.FALLBACK&&(this.state="DISCONNECTING");try{e||this.signal.connectionState!==Ht.CONNECTED||(yield function(n,r){return r===1/0?n:K.race([n,BG(r)])}(this.signal.request(nt.LEAVE,void 0,!0),3e3))}catch(n){_.warning("[".concat(this.store.clientId,"] leave request failed, ignore"),n)}this.signal.close(i),i!==bt.FALLBACK&&(this.state="DISCONNECTED"),this.reset()}})}publish(e,i,n){return C(this,null,function*(){if(this.state!=="CONNECTED"&&this.state!=="RECONNECTING")throw new P(v.INVALID_OPERATION,"can not publish when connection state is ".concat(this.state));const r={state:"offer",p2p_id:this.store.p2pId,ortc:i,mode:this.spec.mode,extend:y("PUB_EXTEND"),twcc:!!y("PUBLISH_TWCC"),rtx:!!y("USE_PUB_RTX")};try{return(yield this.signal.request(nt.PUBLISH,r,!0))._message}catch(o){if(n&&o.data&&o.data.code===tt.ERR_PUBLISH_REQUEST_INVALID)return _.warning("[".concat(this.store.clientId,"] receive publish error code, retry"),o.toString()),yield this.tryUnpubBeforeRepub(e,i),this.publish(e,i,!1);throw o}})}publishDataChannel(e,i,n){return C(this,null,function*(){var r;if(this.state!=="CONNECTED"&&this.state!=="RECONNECTING")throw new P(v.INVALID_OPERATION,"can not publish when connection state is ".concat(this.state));const o={stream_id:i.streamId,ordered:i.ordered?1:0,max_retrans_times:(r=i.maxRetransmits)!==null&&r!==void 0?r:10,channel_id:i.channelId,metadata:i.metadata};try{yield this.signal.request(nt.PUBLISH_DATASTREAM,o,!0)}catch(s){if(n&&s.data&&s.data.code===tt.ERR_PUBLISH_REQUEST_INVALID)return _.warning("[".concat(this.store.clientId,"] receive publish datachannels error code, retry"),s.toString()),yield this.tryUnpubDataChannelBeforeRepub(e,i),this.publishDataChannel(e,i,!1);throw s}})}unpublish(e,i){return C(this,null,function*(){try{if(this.state!=="CONNECTED"&&this.state!=="RECONNECTING")throw new P(v.INVALID_OPERATION,"can not publish when connection state is ".concat(this.state));yield this.signal.request(nt.UNPUBLISH,{stream_id:i,ortc:e},!0)}catch(n){_.warning("[".concat(this.store.clientId,"] unpublish warning: "),n)}})}unpublishDataChannel(e){return C(this,null,function*(){try{if(this.state!=="CONNECTED"&&this.state!=="RECONNECTING")throw new P(v.INVALID_OPERATION,"can not publish when connection state is ".concat(this.state));yield K.all(e.map(i=>this.signal.request(nt.UNPUBLISH_DATASTREAM,{channel_id:i},!0)))}catch(i){_.warning("unpublish datachannels warning: ",i)}})}presubscribe(e,i,n){return C(this,null,function*(){if(this.state!=="CONNECTED"&&this.state!=="RECONNECTING")throw new P(v.INVALID_OPERATION,"can not presubscribe when connection state is ".concat(this.state));const r={stream_id:e,stream_type:i,mode:this.spec.mode,codec:this.spec.codec,p2p_id:this.store.p2pId,twcc:!!y("SUBSCRIBE_TWCC"),rtx:!!y("USE_SUB_RTX")||void 0,extend:y("SUB_EXTEND"),svc:Array.isArray(y("SVC"))&&y("SVC").length!==0?y("SVC"):void 0};try{return yield this.signal.request(nt.PRE_SUBSCRIBE,r,!0)}catch(o){if(n&&o.data&&o.data.code===tt.ERR_SUBSCRIBE_REQUEST_INVALID)return _.warning("[".concat(this.store.clientId,"] pre-subscribe error, retry"),o.toString()),this.presubscribe(e,i,!1);throw o}})}subscribe(e,i,n){return C(this,null,function*(){if(this.state!=="CONNECTED"&&this.state!=="RECONNECTING")throw new P(v.INVALID_OPERATION,"can not subscribe when connection state is ".concat(this.state));const r={stream_id:e,stream_type:i.stream_type,mode:this.spec.mode,codec:this.spec.codec,p2p_id:this.store.p2pId,twcc:!!y("SUBSCRIBE_TWCC"),rtx:!!y("USE_SUB_RTX"),extend:y("SUB_EXTEND"),ssrcId:i.ssrcId,svc:Array.isArray(y("SVC"))&&y("SVC").length!==0?y("SVC"):void 0};try{return(yield this.signal.request(nt.SUBSCRIBE,r,!0))._message}catch(o){if(n&&o.data&&o.data.code===tt.ERR_SUBSCRIBE_REQUEST_INVALID)return _.warning("[".concat(this.store.clientId,"] receiver subscribe error code, retry"),o.toString()),yield this.tryUnsubBeforeResub(e,i),yield this.subscribe(e,i,!1);throw o}})}subscribeDataChannel(e,i,n){return C(this,null,function*(){if(this.state!=="CONNECTED"&&this.state!=="RECONNECTING")throw new P(v.INVALID_OPERATION,"can not subscribe datachannel when connection state is ".concat(this.state));const r={uid:e,stream_id:i.id,channel_id:i.datachannelId};try{return void(yield this.signal.request(nt.SUBSCRIBE_DATASTREAM,r,!0))}catch(o){if(n&&o.data&&o.data.code===tt.ERR_SUBSCRIBE_REQUEST_INVALID)return _.warning("[".concat(this.store.clientId,"] receiver subscribe datachannel error code, retry"),o.toString()),yield this.tryUnsubDataChannelBeforeResub(e,i),yield this.subscribeDataChannel(e,i,!1);throw o}})}subscribeAll(e,i){return C(this,null,function*(){if(this.state!=="CONNECTED"&&this.state!=="RECONNECTING")throw new P(v.INVALID_OPERATION,"can not massSubscribe when connection state is ".concat(this.state));const n={p2p_id:this.store.p2pId,users:e,dtx:!1,rtx:!!y("USE_SUB_RTX"),twcc:!!y("SUBSCRIBE_TWCC"),svc:Array.isArray(y("SVC"))&&y("SVC").length!==0?y("SVC"):void 0};try{return yield this.signal.request(nt.SUBSCRIBE_STREAMS,n,!0)}catch(r){if(i&&r.data&&r.data.code===tt.ERR_SUBSCRIBE_REQUEST_INVALID)return _.warning("[".concat(this.store.clientId,"] receiver massSubscribe error code, retry"),r.toString()),yield this.tryMassUnsubBeforeResub(e),yield this.subscribeAll(e,!1);throw r}})}setVideoProfile(e){return C(this,null,function*(){const i=function(n){if(!(n.bitrateMax&&n.bitrateMin&&n.frameRate&&n.height&&n.width))return;let r=n.frameRate,o=n.width,s=n.height,a=!0;return typeof r!="number"&&(r=r.exact||r.ideal||r.max||r.min||0,r||(a=!1)),typeof o!="number"&&(o=o.exact||o.ideal||o.max||o.min||0,o||(a=!1)),typeof s!="number"&&(s=s.exact||s.ideal||s.max||s.min||0,r||(a=!1)),a?{stream_type:0,width:o,height:s,fps:r,start_bps:1e3*n.bitrateMax,min_bps:1e3*n.bitrateMin,target_bps:1e3*n.bitrateMax}:void 0}(e);if(i)return this.signal.request(nt.SET_VIDEO_PROFILE,i);_.debug("[".concat(this.store.clientId,"] encoder config is not complete, do not report to gateway"))})}unsubscribe(e,i){return C(this,null,function*(){try{yield this.signal.request(nt.UNSUBSCRIBE,{p2p_id:this.store.p2pId,ortc:e,stream_id:i},!0)}catch(n){_.warning("[".concat(this.store.clientId,"] unsubscribe warning: "),n)}})}unsubscribeDataChannel(e,i){return C(this,null,function*(){try{if(this.state!=="CONNECTED"&&this.state!=="RECONNECTING")throw new P(v.INVALID_OPERATION,"can not publish when connection state is ".concat(this.state));yield K.all(e.map(n=>this.signal.request(nt.UNSUBSCRIBE_DATASTREAM,{stream_id:n,uid:i},!0)))}catch(n){_.warning("unsubscribeDataChannel warning: ",n)}})}massUnsubscribe(e){return C(this,null,function*(){try{yield this.signal.request(nt.UNSUBSCRIBE_STREAMS,e,!0)}catch(i){_.warning("[".concat(this.store.clientId,"] massUnsubscribeAll warning: "),i)}})}reconnectPC(e){return C(this,null,function*(){const{iceParameters:i,dtlsParameters:n,rtpCapabilities:r}=e;return{gatewayEstablishParams:yield this.signal.request(nt.CONNECT_PC,{p2p_id:this.store.p2pId,stream_id:this.store.uid,ortc:{iceParameters:i,dtlsParameters:n,rtpCapabilities:r}},!0),gatewayAddress:this.getCurrentGatewayAddress()}})}getGatewayInfo(){return this.signal.request(nt.GATEWAY_INFO)}renewToken(e){return C(this,null,function*(){yield this.signal.request(nt.RENEW_TOKEN,e),this.key=e.token})}updateClientRole(e,i){i&&(this._clientRoleOptions=Object.assign({},i)),y("CLIENT_ROLE_OPTIONS")&&(_.debug("[".concat(this.store.clientId,"] Set roleOptions for ").concat(JSON.stringify(y("CLIENT_ROLE_OPTIONS"))," instead of ").concat(JSON.stringify(this._clientRoleOptions)," ")),this._clientRoleOptions=Object.assign({},y("CLIENT_ROLE_OPTIONS"))),this.role=e}setClientRole(e,i){return C(this,null,function*(){if(i&&(this._clientRoleOptions=Object.assign({},i)),y("CLIENT_ROLE_OPTIONS")&&(this._clientRoleOptions=Object.assign({},y("CLIENT_ROLE_OPTIONS")),_.debug("[".concat(this.store.clientId,"] Set roleOptions for ").concat(JSON.stringify(y("CLIENT_ROLE_OPTIONS"))," instead of ").concat(JSON.stringify(this._clientRoleOptions)," "))),this.state!=="CONNECTED")return void(this.role=e);let n,r=0;e==="audience"?this._clientRoleOptions&&this._clientRoleOptions.delay?(n=this._clientRoleOptions.delay,r=1):r=this._clientRoleOptions&&this._clientRoleOptions.level?this._clientRoleOptions.level:2:r=0,yield this.signal.request(nt.SET_CLIENT_ROLE,{role:e,level:r,delay:n,client_ts:Date.now()}),this.role=e})}setRemoteVideoStreamType(e,i){return C(this,null,function*(){yield this.signal.request(nt.SWITCH_VIDEO_STREAM,{stream_id:e,stream_type:i})})}setDefaultRemoteVideoStreamType(e){return C(this,null,function*(){yield this.signal.request(nt.DEFAULT_VIDEO_STREAM,{stream_type:e})})}setStreamFallbackOption(e,i){return C(this,null,function*(){yield this.signal.request(nt.SET_FALLBACK_OPTION,{stream_id:e,fallback_type:i})})}pickSVCLayer(e,i){return C(this,null,function*(){yield this.signal.request(nt.PICK_SVC_LAYER,{stream_id:e,spatial_layer:i.spatialLayer,temporal_layer:i.temporalLayer})})}setRTM2Flag(e){return C(this,null,function*(){yield this.signal.request(nt.SET_RTM2_FLAG,{rtm2_flag:e})})}sendExtensionMessage(e,i,n){return C(this,null,function*(){if(this.store.useP2P)return this.signal.sendExtensionMessage(e,i,n)})}getInChannelInfo(){return this.inChannelInfo.joinAt&&(this.inChannelInfo.duration=Date.now()-this.inChannelInfo.joinAt),Rr({},this.inChannelInfo)}getGatewayVersion(){return C(this,null,function*(){return(yield this.signal.request(nt.GATEWAY_INFO)).version})}reset(){if(this.inChannelInfo.joinAt&&(this.inChannelInfo.duration=Date.now()-this.inChannelInfo.joinAt,this.inChannelInfo.joinAt=null),this.trafficStatsInterval&&(window.clearInterval(this.trafficStatsInterval),this.trafficStatsInterval=void 0),this.joinInfo){const e=Mm.get(this.joinInfo.cname);e&&e.delete(this.joinInfo.uid)}this.joinInfo=void 0,this.key=void 0,this.networkQualityInterval&&(window.clearInterval(this.networkQualityInterval),this.networkQualityInterval=void 0)}updateTurnConfigFromSignal(){if(!this.joinInfo)return;const e=function(i){let n;return n=i.startsWith("dc")?i.match(/(dc\:\/\/)?([^:]+):(\d+)/):i.match(/(wss\:\/\/)?([^:]+):(\d+)/),n?{username:He.username,password:He.password,turnServerURL:n[2],tcpport:parseInt(n[3])+30,udpport:parseInt(n[3])+30,forceturn:!1}:null}((this.joinInfo.cloudProxyServer==="disabled"?this.signal.url:this.joinInfo.gatewayAddrs[this.signal.currentURLIndex].address)||"");this.joinInfo.turnServer.serversFromGateway=[],e&&this.joinInfo.turnServer.mode!=="off"&&this.joinInfo.cloudProxyServer==="disabled"&&this.joinInfo.turnServer.serversFromGateway.push(Rr(Rr({},He),{},{turnServerURL:e.turnServerURL,tcpport:e.tcpport,udpport:e.udpport,username:this.joinInfo.uid.toString(),password:this.joinInfo.token}))}updateTrafficStats(){return C(this,null,function*(){if(this.state!=="CONNECTED")return;const e=yield this.signal.request(nt.TRAFFIC_STATS,void 0,!0);e.timestamp=Date.now(),e.ntp_offset!=null&&(this.ntpOffset=e.ntp_offset),e.peer_delay.forEach(i=>{const n=this._statsCollector.trafficStats&&this._statsCollector.trafficStats.peer_delay.find(r=>r.peer_uid===i.peer_uid);n&&n.B_st!==i.B_st&&du(()=>{this.emit(De.STREAM_TYPE_CHANGE,i.peer_uid,i.B_st)})}),this._statsCollector.updateTrafficStats(e)})}getJoinMessage(e){var i;if(!this.joinInfo||!this.key)throw new P(v.UNEXPECTED_ERROR,"can not generate join message, no join info");const n=Object.assign({},this.joinInfo.apResponse);let r=y("REPORT_APP_SCENARIO");if(typeof r!="string")try{r=JSON.stringify(r)}catch(u){r=void 0}var o;r&&r.length>128&&(r=void 0),this.store.hasStartJoinChannel=!0,this.store.isABTestSuccess||this.emit(De.UPDATE_GATEWAY_CONFIG),o=this.store.clientId,G(Ra).call(Ra,o)||Ra.push(o);const s=!(ne()||Jy(87)||FI())&&typeof y("ENABLE_PRE_SUB")=="boolean"&&y("ENABLE_PRE_SUB"),a=!FI()&&ji("ENABLE_PREALLOC_PC","boolean"),c=EW(),d=Ac(87)||function(){const u=vt();if(u.name!==It.SAFARI||!u.browserVersion)return!1;const h=u.browserVersion.split(".");return Number(h[0])>15||Number(h[0])===15&&Number(h[1])>=4}(),l=Rr({license:this.joinInfo.license,p2p_id:this.store.p2pId,session_id:this.joinInfo.sid,app_id:this.joinInfo.appId,channel_key:this.key,channel_name:this.joinInfo.cname,sdk_version:dn,browser:navigator.userAgent,process_id:y("PROCESS_ID"),mode:this.store.useP2P?"p2p":this.spec.mode,codec:this.spec.codec,role:this.role,has_changed_gateway:this.hasChangeBGPAddress,ap_response:n,extend:y("JOIN_EXTEND"),details:{6:this.joinInfo.stringUid,cservice_map:this.joinInfo.cloudProxyServer==="proxy3"?"1":this.joinInfo.cloudProxyServer==="proxy5"?"2":void 0},features:{rejoin:!0},optionalInfo:this.joinInfo.optionalInfo,appScenario:r,attributes:{userAttributes:Rr(Rr({enableEncodedTransform:!!y("ENABLE_AUDIO_METADATA")&&d||!!y("ENABLE_AUDIO_TOPN")&&AE(It.CHROME,87,116)||void 0,enableAudioMetadata:!!y("ENABLE_AUDIO_METADATA")&&d,enableAudioPts:!!y("ENABLE_AUDIO_PTS_METADATA")&&d,topnSmoothLevel:y("TOPN_SMOOTH_LEVEL"),topnNewSpeakerDelay:y("TOPN_NEW_SPEAKER_DELAY"),topnSwitchHoldMs:y("TOPN_SWITCH_HOLD_MS"),topnAudioGain:y("TOPN_AUDIO_GAIN"),enablePublishedUserList:y("ENABLE_PUBLISHED_USER_LIST"),maxSubscription:y("MAX_SUBSCRIPTION"),subscribeAudioFilterTopN:ji("SUBSCRIBE_AUDIO_FILTER_TOPN","number"),enablePublishAudioFilter:ji("ENABLE_PUBLISH_AUDIO_FILTER","boolean"),enableUserLicenseCheck:ji("ENABLE_USER_LICENSE_CHECK","boolean"),enableRTX:y("USE_PUB_RTX")===!0||y("USE_SUB_RTX")===!0||void 0,disableFEC:y("DISABLE_FEC"),enableNTPReport:!!y("ENABLE_NTP_REPORT")||void 0,enableInstantVideo:!!y("ENABLE_INSTANT_VIDEO")||void 0,enableFulllinkAvSync:!!y("ENABLE_FULL_LINK_AV_SYNC")||void 0,enableDataStream2:ji("ENABLE_DATASTREAM_2","boolean"),enableAutFeedback:!!y("ENABLE_AUT_FEEDBACK")||void 0,rtm2Flag:typeof this.joinInfo.rtmFlag=="number"?this.joinInfo.rtmFlag:void 0,enableUserAutoRebalanceCheck:!!y("ENABLE_USER_AUTO_REBALANCE_CHECK"),enableXR:ji("USE_XR","boolean"),enableLossbasedBwe:ji("ENABLE_LOSSBASED_BWE","boolean"),enableAutCC:!!y("ENABLE_AUT_CC")||void 0,enableCCFallback:ji("ENABLE_CC_FALLBACK","boolean"),enablePreallocPC:a,preSubNum:s?ji("PRE_SUB_NUM","number"):void 0,enablePubTWCC:ji("PUBLISH_TWCC","boolean"),enableSubTWCC:ji("SUBSCRIBE_TWCC","boolean"),enablePubRTX:ji("USE_PUB_RTX","boolean"),enableSubRTX:ji("USE_SUB_RTX","boolean"),enableSubSVC:y("ENABLE_SVC")?y("ENABLE_SVC_DEFAULT_CODECS"):Array.isArray(y("SVC"))&&y("SVC").length!==0?y("SVC"):void 0,enableSvcExtended:y("ENABLE_SVC")&&Array.isArray(y("SVC_EXTENDED"))&&y("SVC_EXTENDED").length!==0?y("SVC_EXTENDED"):void 0},c),{},{audioDuplicate:ji("ENABLE_AUDIO_RED","boolean")?(i=ji("AUDIO_DUPLICATE_NUM","number"))!==null&&i!==void 0?i:2:void 0})},join_ts:this.joinGatewayStartTime},e);return this.joinInfo.stringUid&&(l.string_uid=this.joinInfo.stringUid),this.joinInfo.aesmode&&this.joinInfo.aespassword&&(l.aes_mode=this.joinInfo.aesmode,y("ENCRYPT_AES")?(l.aes_secret=this.joinInfo.aespassword,l.aes_encrypt=!0):l.aes_secret=this.joinInfo.aespassword,this.joinInfo.aessalt&&(l.aes_salt=this.joinInfo.aessalt)),n.addresses[this.signal.websocket.currentURLIndex]&&(l.ap_response.ticket=n.addresses[this.signal.websocket.currentURLIndex].ticket,delete n.addresses),this.joinInfo.defaultVideoStream!==void 0&&(l.default_video_stream=this.joinInfo.defaultVideoStream),l}getRejoinMessage(){if(!this.joinInfo)throw new P(v.UNEXPECTED_ERROR,"can not generate rejoin message, no join info");return{session_id:this.joinInfo.sid,channel_name:this.joinInfo.cname,cid:this.joinInfo.cid,uid:this.joinInfo.uid,vid:Number(this.joinInfo.vid)}}handleSignalEvents(){this.signal.on(ot.WS_RECONNECT_CREATE_CONNECTION,e=>{this.joinGatewayStartTime=Date.now()}),this.signal.on(ot.WS_RECONNECTING,e=>{this.joinInfo&&Z.WebSocketQuit(this.joinInfo.sid,{lts:Date.now(),succ:-1,cname:this.joinInfo.cname,uid:this.joinInfo.uid,cid:this.joinInfo.cid,errorCode:e||Ge.NETWORK_ERROR}),this.joinInfo&&(this.state="RECONNECTING",Z.sessionInit(this.joinInfo.sid,{lts:new Date().getTime(),extend:this.isSignalRecover?{recover:!0}:{rejoin:!0},cname:this.joinInfo.cname,appid:this.joinInfo.appId,mode:this.spec.mode,stringUid:this.joinInfo.stringUid,channelProfile:this.spec.mode==="live"?1:0,channelMode:0,lsid:this.joinInfo.sid,clientRole:this.role==="audience"?2:1,buildFormat:1}),this.isSignalRecover=!1,this.joinGatewayStartTime=Date.now())}),this.signal.on(ot.WS_CLOSED,e=>{let i;switch(e){case bt.LEAVE:i=Ge.LEAVE;break;case bt.UID_BANNED:case bt.IP_BANNED:case bt.CHANNEL_BANNED:case bt.SERVER_ERROR:i=Ge.SERVER_ERROR;break;case bt.FALLBACK:i=Ge.FALLBACK;break;case bt.LICENSE_MISSING:case bt.LICENSE_EXPIRED:case bt.LICENSE_MINUTES_EXCEEDED:case bt.LICENSE_PERIOD_INVALID:case bt.LICENSE_MULTIPLE_SDK_SERVICE:case bt.LICENSE_ILLEGAL:case bt.TOKEN_EXPIRE:i=e;break;default:i=Ge.NETWORK_ERROR}_.debug("[".concat(this.store.clientId,"] [signal] websocket closed, reason: ").concat(i||"undefined -> "+Ge.NETWORK_ERROR)),this.joinInfo&&Z.WebSocketQuit(this.joinInfo.sid,{lts:Date.now(),succ:e===bt.LEAVE?1:-1,cname:this.joinInfo.cname,uid:this.joinInfo.uid,cid:this.joinInfo.cid,errorCode:i}),this._disconnectedReason=e,e!==bt.FALLBACK&&(this.state="DISCONNECTED"),this.reset()}),this.signal.on(ot.WS_CONNECTED,()=>{if(this.updateTurnConfigFromSignal(),this.state="CONNECTED",this.joinInfo){if(this.role==="audience"){const e=y("CLIENT_ROLE_OPTIONS")||this._clientRoleOptions;e&&(e.level||e.delay)&&(_.debug("[".concat(this.store.clientId,"] patch to send set client role, role: ").concat(this.role,", mode: ").concat(this.spec.mode,", level: ").concat(e.level,", delay: ").concat(e.delay)),this.setClientRole(this.role,e))}if(Z.joinGateway(this.joinInfo.sid,{lts:this.joinGatewayStartTime,succ:!0,ec:null,vid:this.joinInfo.vid,addr:this.signal.url,uid:this.joinInfo.uid,cid:this.joinInfo.cid,firstSuccess:this._isProactiveJoin,isProxy:!!this.joinInfo.proxyServer,signalChannel:"0",preload:this.joinInfo.preload,isABTestSuccess:this.store.isABTestSuccess}),this._isProactiveJoin=!1,this.joinInfo.useLocalAccessPoint&&this.joinInfo.setLocalAPVersion===1){const e=this.signal.url&&this.signal.url.match(/wss\:\/\/([^:]+):(\d+)/);if(!e)return void _.error("[".concat(this.store.clientId,"] set local access point after joined failed: ").concat(e));kt("EVENT_REPORT_DOMAIN",e[1]),kt("EVENT_REPORT_BACKUP_DOMAIN",e[1]),kt("LOG_UPLOAD_SERVER","".concat(e[1],":6444"))}}}),this.signal.on(mt.ON_UPLINK_STATS,e=>{this._statsCollector.updateUplinkStats(e)}),this.signal.on(ot.REQUEST_RECOVER,(e,i,n)=>{if(!this.joinInfo)return n(new P(v.UNEXPECTED_ERROR,"gateway: can not recover, no join info"));e&&(this.joinInfo.multiIP=e,this.hasChangeBGPAddress=!0),this.isSignalRecover=!0,We(this,De.REQUEST_NEW_GATEWAY_LIST).then(i).catch(n)}),this.signal.on(ot.REQUEST_JOIN_INFO,(e,i,n)=>C(this,null,function*(){var r;if(this.updateTurnConfigFromSignal(),this.store.useP2P)return void e(this.getJoinMessage({ortc:{}}));const o=te((r=this.joinInfo)===null||r===void 0?void 0:r.turnServer);if(y("NEW_TURN_MODE")&&o){let d=o.servers,l=o.serversFromGateway;const u=this.signal.currentURLIndex;d.length>0&&(d=[d[u%d.length]],o.servers=d),Array.isArray(l)&&l.length>0&&(l=[l[0]],o.serversFromGateway=l),_.debug("[".concat(this.store.clientId,"] use single turn, use turn server index: ").concat(u))}const{iceParameters:s,dtlsParameters:a,rtpCapabilities:c}=yield We(this,De.REQUEST_P2P_CONNECTION_PARAMS,{turnServer:o});try{e(this.getJoinMessage({ortc:{iceParameters:s,dtlsParameters:a,rtpCapabilities:c,version:"2"}}))}catch(d){i(d)}})),this.signal.on(ot.REQUEST_REJOIN_INFO,e=>{e(this.getRejoinMessage())}),this.signal.on(ot.REPORT_JOIN_GATEWAY,(e,i)=>{if(!this.joinInfo)return;let n,r="";var o;e instanceof P?(n=((o=e.data)===null||o===void 0?void 0:o.desc)||e.code,r=e.message):n=e,Z.joinGateway(this.joinInfo.sid,{lts:this.joinGatewayStartTime,succ:!1,ec:n,errorMsg:r,addr:i,uid:this.joinInfo.uid,cid:this.joinInfo.cid,firstSuccess:this._isProactiveJoin,isProxy:!!this.joinInfo.proxyServer,signalChannel:"0",preload:this.joinInfo.preload})}),this.signal.on(ot.IS_P2P_DISCONNECTED,e=>{e(Dc(this,De.IS_P2P_DISCONNECTED))}),this.signal.on(ot.DISCONNECT_P2P,()=>{this.emit(De.DISCONNECT_P2P)}),this.signal.on(ot.REQUEST_SUCCESS,()=>{this._signalTimeout=!1}),this.signal.on(ot.REQUEST_TIMEOUT,()=>{this._signalTimeout=!0}),this.signal.on(ot.JOIN_RESPONSE,e=>{const i=this.getCurrentGatewayAddress();this.emit(De.JOIN_RESPONSE,e,i)}),this.signal.on(ot.PRE_CONNECT_PC,()=>C(this,null,function*(){if(this.joinInfo){this.updateTurnConfigFromSignal();const e=this.getCurrentGatewayAddress(),i=y("FINGERPRINT")||this.joinInfo.apResponse.addresses[this.signal.currentURLIndex].fingerprint;if(e&&i){const n=Tw(e);this.emit(De.PRE_CONNECT_PC,{candidates:n,fingerprint:i})}}})),this.signal.on(ot.RECOVER_NOTIFICATION,e=>{this.joinInfo&&typeof y("AP_REQUEST_DETAIL")=="string"&&(this.joinInfo.apRequestDetail="".concat(y("AP_REQUEST_DETAIL"),";").concat(e))})}tryUnsubBeforeResub(e,i){return C(this,null,function*(){try{yield this.signal.request(nt.UNSUBSCRIBE,{p2p_id:this.store.p2pId,stream_id:e,ortc:[i]},!0)}catch(n){throw _.warning("[".concat(this.store.clientId,"] tryUnsubBeforeResub warning"),n),n}})}tryUnsubDataChannelBeforeResub(e,i){return C(this,null,function*(){try{yield this.signal.request(nt.UNSUBSCRIBE,{stream_id:i.id},!0)}catch(n){throw _.warning("unsubscribe datachannel warning",n),n}})}tryUnpubBeforeRepub(e,i){return C(this,null,function*(){try{yield this.signal.request(nt.UNPUBLISH,{stream_id:e,ortc:i},!0)}catch(n){throw _.warning("[".concat(this.store.clientId,"] tryUnpubBeforeRepub warning: "),n),n}})}tryUnpubDataChannelBeforeRepub(e,i){return C(this,null,function*(){try{yield this.signal.request(nt.UNPUBLISH_DATASTREAM,{channnel_id:i.channelId},!0)}catch(n){throw _.warning("unpublish datastream warning: ",n),n}})}tryMassUnsubBeforeResub(e){return C(this,null,function*(){const i={users:e.map(n=>({stream_id:n.stream_id,stream_type:n.stream_type}))};try{yield this.signal.request(nt.UNSUBSCRIBE_STREAMS,i,!0)}catch(n){throw _.warning("[".concat(this.store.clientId,"] tryMassUnsubBeforeResub warning"),n),n}})}muteLocal(e,i){return C(this,null,function*(){const n={action:e.find(r=>r.stream_type===Ot.Audio)?"mute_local_audio":"mute_local_video",p2p_id:this.store.p2pId,ortc:e,stream_id:i};try{yield this.signal.request(nt.CONTROL,n,!0,!0)}catch(r){throw _.warning("[".concat(this.store.clientId,"] gateway muteLocal warning: "),r),r}})}unmuteLocal(e,i){return C(this,null,function*(){const n={action:e.find(r=>r.stream_type===Ot.Audio)?"unmute_local_audio":"unmute_local_video",p2p_id:this.store.p2pId,ortc:e,stream_id:i};try{yield this.signal.request(nt.CONTROL,n,!0,!0)}catch(r){throw _.warning("[".concat(this.store.clientId,"] gateway unmuteLocal warning: "),r),r}})}muteRemote(e,i){return C(this,null,function*(){const n={action:e===q.AUDIO?"mute_remote_audio":"mute_remote_video",p2p_id:this.store.p2pId,stream_id:i};try{yield this.signal.request(nt.CONTROL,n,!0,!0)}catch(r){throw _.warning("[".concat(this.store.clientId,"] gateway muteRemote warning: "),r),r}})}unmuteRemote(e,i){return C(this,null,function*(){const n={action:e===q.AUDIO?"unmute_remote_audio":"unmute_remote_video",p2p_id:this.store.p2pId,stream_id:i};try{yield this.signal.request(nt.CONTROL,n,!0,!0)}catch(r){throw _.warning("[".concat(this.store.clientId,"] gateway unmuteRemote warning: "),r),r}})}uploadWRTCStats(e){this.signal.uploadWRTCStats(e)}upload(e,i){this.signal.upload(e,i)}getSignalRTT(){return this.signal.rtt}restartICE(e){return C(this,null,function*(){const i={p2p_id:this.store.p2pId,stream_id:this.store.uid,ortc:e};try{return yield this.signal.request(nt.RESTART_ICE,i,!0)}catch(n){throw _.warning("[".concat(this.store.clientId,"] P2PChannel.restartICE warning: "),n),n}})}reconnect(e,i){this.state==="CONNECTED"&&this.signal.reconnect(e||void 0,i||Ge.P2P_FAILED)}getCurrentGatewayAddress(){var e,i;if(!y("GATEWAY_WSS_ADDRESS"))return y("USE_CANDIDATE_FROM_AP_DETAIL")&&(e=this.joinInfo)!==null&&e!==void 0&&e.apGatewayAddress?(_.debug("[".concat(this.store.clientId,"] use candidate from ap detail, ").concat(JSON.stringify(this.joinInfo.apGatewayAddress))),this.joinInfo.apGatewayAddress):(i=this.joinInfo)!==null&&i!==void 0&&i.gatewayAddrs?this.joinInfo.gatewayAddrs[this.signal.currentURLIndex]:void 0}setPublishAudioFilterEnabled(e){return C(this,null,function*(){yield this.signal.request(nt.SET_PARAMETER,{enablePublishAudioFilter:e})})}}let Hu=0,Um=0;function er(t,e,i,n){return new K((r,o)=>{e.timeout=e.timeout||y("HTTP_CONNECT_TIMEOUT"),e.responseType=e.responseType||"json",e.data&&!i?(e.data=JSON.stringify(e.data),Hu+=Er(e.data)):i&&(e.data.size?Hu+=e.data.size:e.data instanceof FormData?Hu+=_I(e.data):Hu+=Er(JSON.stringify(e.data))),e.headers=e.headers||{},e.headers["Content-Type"]=e.headers["Content-Type"]||"application/json",e.method="POST",e.url=t,Ti.request(e).then(s=>{typeof s.data=="string"?Um+=Er(s.data):s.data instanceof ArrayBuffer||s.data instanceof Uint8Array?Um+=s.data.byteLength:Um+=Er(JSON.stringify(s.data)),n&&r({data:s.data,headers:s.headers}),r(s.data)}).catch(s=>{Ti.isCancel(s)?o(new P(v.OPERATION_ABORTED,"cancel token canceled")):s.code==="ECONNABORTED"?o(new P(v.NETWORK_TIMEOUT,s.message)):s.response?o(new P(v.NETWORK_RESPONSE_ERROR,s.response.status)):o(new P(v.NETWORK_ERROR,s.message))})})}/*! formdata-polyfill. MIT License. Jimmy W?rting */(function(){var t;function e(U){var B=0;return function(){return B>>0)+"_",x=0;return function E(I){if(this instanceof E)throw new TypeError("Symbol is not a constructor");return new B(X+(I||"")+"_"+x++,I)}}),o("Symbol.iterator",function(U){if(U)return U;U=Symbol("Symbol.iterator");for(var B="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),X=0;X{const t=y("AREAS");return t.length===0&&t.push(At.GLOBAL),Tn(t).call(t,(e,i,n)=>{const r=Lw(i);return r?n===0?r:"".concat(e,",").concat(r):e},"")},Lw=t=>t===At.OVERSEA?"".concat(ze.ASIA,",").concat(ze.EUROPE,",").concat(ze.AFRICA,",").concat(ze.NORTH_AMERICA,",").concat(ze.SOUTH_AMERICA,",").concat(ze.OCEANIA):ze[t],fW=t=>{const e={CODE:"",WEBCS_DOMAIN:[],WEBCS_DOMAIN_BACKUP_LIST:[],PROXY_CS:[],CDS_AP:[],ACCOUNT_REGISTER:[],UAP_AP:[],EVENT_REPORT_DOMAIN:[],EVENT_REPORT_BACKUP_DOMAIN:[],LOG_UPLOAD_SERVER:[],PROXY_SERVER_TYPE3:[]};return t.map(i=>{const n=Uu[i],r=Object.keys(n);r&&r.map(o=>{o!=="CODE"&&(e[o]=e[o].concat(n[o]))})}),e},Ku={GLOBAL:{ASIA:[At.CHINA,At.JAPAN,At.INDIA,At.KOREA,At.HKMC],EUROPE:[],NORTH_AMERICA:[At.US],SOUTH_AMERICA:[],OCEANIA:[],AFRICA:[]}},Yu=Object.keys(Ku[At.GLOBAL]),xm=[At.CHINA,At.NORTH_AMERICA,At.EUROPE,At.ASIA,At.JAPAN,At.INDIA,At.OCEANIA,At.SOUTH_AMERICA,At.AFRICA,At.KOREA,At.HKMC,At.US],gW=function(t,e){let i=[];if(G(t).call(t,At.GLOBAL)){const o=[At.GLOBAL,At.OVERSEA],s=Object.keys(Uu);if(e===At.GLOBAL)throw new P(v.INVALID_PARAMS,"GLOBAL is an invalid excludedArea value");if(e===At.CHINA)i=[At.OVERSEA];else if(r=e,G(Yu).call(Yu,r)){const a=(n=e,Ku[At.GLOBAL][n]||[]),c=[...o,e,...a];i=s.filter(d=>!G(c).call(c,d))}else if(function(a){let c=!1;return Yu.forEach(d=>{var l;G(l=Ku[At.GLOBAL][d]).call(l,a)&&(c=!0)}),c}(e)){const a=function(d){let l;return Yu.forEach(u=>{var h;G(h=Ku[At.GLOBAL][u]).call(h,d)&&(l=u)}),l}(e),c=[...o,a,e];i=s.filter(d=>!G(c).call(c,d))}else i=t;i=function(a){const c=[];return xm.forEach(d=>{G(a).call(a,d)&&c.push(d)}),c.concat(a.filter(d=>!G(xm).call(xm,d)))}(i)}else i=t;var n,r;return i};function kw(t){var e,i;if(!t&&G(e=y("AREAS")).call(e,At.EXTENSIONS))return _.debug("update area from ap : reset"),void Vm(A3,!0);if(!G(i=y("AREAS")).call(i,At.GLOBAL)||!t)return;let n=Uu.EXTENSIONS;n&&(n={CODE:Lw(At.EXTENSIONS),WEBCS_DOMAIN:["ap-web-1-".concat(t,".agora.io")],WEBCS_DOMAIN_BACKUP_LIST:["ap-web-2-".concat(t,".ap.sd-rtn.com")],PROXY_CS:["proxy-ap-web-".concat(t,".agora.io")],CDS_AP:["cds-ap-web-1-".concat(t,".agora.io"),"cds-ap-web-2-".concat(t,".ap.sd-rtn.com")],ACCOUNT_REGISTER:["sua-ap-web-1-".concat(t,".agora.io"),"sua-ap-web-2-".concat(t,".ap.sd-rtn.com")],UAP_AP:["uap-ap-web-1-".concat(t,".agora.io"),"uap-ap-web-2-".concat(t,".ap.sd-rtn.com")],EVENT_REPORT_DOMAIN:["statscollector-1-".concat(t,".agora.io")],EVENT_REPORT_BACKUP_DOMAIN:["statscollector-2-".concat(t,".agora.io")],LOG_UPLOAD_SERVER:["logservice-".concat(t,".agora.io")],PROXY_SERVER_TYPE3:["webrtc-cloud-proxy-".concat(t,".agora.io")]},_.debug("update area from ap success: ".concat(t,",config is "),n),kt("AREAS",[At.EXTENSIONS],!0),Object.keys(n).map(r=>{r==="LOG_UPLOAD_SERVER"||r==="EVENT_REPORT_DOMAIN"||r==="EVENT_REPORT_BACKUP_DOMAIN"||r==="PROXY_SERVER_TYPE3"?kt(r,n[r][0]):kt(r,n[r])}))}function Vm(t){let e=arguments.length>1&&arguments[1]!==void 0&&arguments[1];const i=Z.reportApiInvoke(null,{name:_e.SET_AREA,options:t,tag:oe.TRACER});try{let n=[];if(typeof t=="string"&&(n=[t]),Array.isArray(t)&&(t.forEach(o=>{if(!G(ew).call(ew,o))throw new P(v.INVALID_PARAMS,"invalid area code")}),n=t),Object.prototype.toString.call(t)==="[object Object]"){const{areaCode:o,excludedArea:s}=t;if(!o)throw new P(v.INVALID_PARAMS,"area code is needed");let a=o;typeof o=="string"&&(a=[o]),n=s?gW(a,s):a}if(!e){if(Qn.AREAS){const o=new P(v.PROHIBITED_OPERATION,"setArea is prohibited because of config-distribute");return i.onError(o),void _.warning("setArea is prohibited because of config-distribute")}if(G(n).call(n,At.GLOBAL)&&y("AREAS")===At.EXTENSIONS){const o=new P(v.PROHIBITED_OPERATION,"setArea is prohibited because of ap extensions");return i.onError(o),void _.warning("setArea is prohibited because of ap extensions")}}kt("AREAS",n,e);const r=fW(n);Object.keys(r).map(o=>{o==="LOG_UPLOAD_SERVER"||o==="EVENT_REPORT_DOMAIN"||o==="EVENT_REPORT_BACKUP_DOMAIN"||o==="PROXY_SERVER_TYPE3"?kt(o,r[o][0]):kt(o,r[o])}),_.debug("set area success:",n.join(","))}catch(n){throw i.onError(n),n}i.onSuccess()}function Mw(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function vr(t){for(var e=1;eC(this,null,function*(){a=Date.now();const l=yield er(d,{data:s,cancelToken:n,headers:{"X-Packet-Service-Type":"0","X-Packet-URI":"61"}});if(c=Date.now()-a,l.code!==0){const p=new P(v.UNEXPECTED_RESPONSE,"live streaming ap error, code"+l.code,{retry:!0,responseTime:c});throw _.error(p.toString()),p}const u=JSON.parse(l.json_body);if(u.code!==200){const p=new P(v.UNEXPECTED_RESPONSE,"live streaming app center error, code: ".concat(u.code,", reason: ").concat(u.reason),{code:u.code,responseTime:c});throw _.error(p.toString()),p}if(!u.servers||u.servers.length===0){const p=new P(v.UNEXPECTED_RESPONSE,"live streaming app center empty server",{code:u.code,responseTime:c});throw _.error(p.toString()),p}const h=function(p,g){return{addressList:p.servers.map(m=>"wss://".concat(m.address.replace(/\./g,"-"),".").concat(y("WORKER_DOMAIN"),":").concat(m.wss,"?serviceName=").concat(encodeURIComponent(g))),workerToken:p.workerToken,vid:p.vid}}(u,e);return y("LIVE_STREAMING_ADDRESS")&&(h.addressList=y("LIVE_STREAMING_ADDRESS")instanceof Array?y("LIVE_STREAMING_ADDRESS"):[y("LIVE_STREAMING_ADDRESS")]),vr(vr({},h),{},{responseTime:c})}),(l,u)=>(Z.apworkerEvent(i.sid,{success:!0,sc:200,serviceName:e,responseDetail:JSON.stringify(l.addressList),firstSuccess:u===0,responseTime:c,serverIp:t[u%t.length]}),!1),(l,u)=>(Z.apworkerEvent(i.sid,{success:!1,sc:l.data&&l.data.code||200,serviceName:e,responseTime:c,serverIp:t[u%t.length]}),!!(l.code!==v.OPERATION_ABORTED&&l.code!==v.UNEXPECTED_RESPONSE||l.data&&l.data.retry)&&(d=t[(u+1)%t.length],!0)),r)}let Bm=1;function Uw(t,e,i,n){let{url:r,areaCode:o}=t;const{clientId:s,sid:a}=e,c=Date.now();let d;const l=e.role,[u,h]=Gm(e,o,[me.CHOOSE_SERVER]);let p=Ee.networkState;return Jn(()=>C(this,null,function*(){p&&Ee.networkState===Fi.OFFLINE&&Ee.onlineWaiter&&(yield K.race([Ee.onlineWaiter,Ue(n&&n.maxRetryTimeout||ge.maxRetryTimeout)])),p=Ee.networkState;const{data:g,headers:m}=yield er(r,{data:u,cancelToken:i,headers:{"Content-Type":"multipart/form-data;"}},!0,!0);d=m.http3==="1"?1:-1,Z.reportResourceTiming(r,a),Vw(g,r,e,c,[me.CHOOSE_SERVER],d);const f=Wc(g,me.CHOOSE_SERVER);return jm(f),Nm(f,r)}),g=>(g&&Z.joinChooseServer(a,{role:l,lts:c,succ:!0,csAddr:r,opid:h,serverList:g.gatewayAddrs.map(m=>m.address),ec:null,cid:g.cid.toString(),uid:g.uid.toString(),csIp:g.csIp,unilbsServerIds:[me.CHOOSE_SERVER].toString(),isHttp3:d,corssRegionTagReq:e.apRequestDetail,corssRegionTagRes:g.res.detail&&g.res.detail[38]}),!1),g=>g.code!==v.OPERATION_ABORTED&&(g.code===v.CAN_NOT_GET_GATEWAY_SERVER?g.data.retry:(Z.joinChooseServer(a,{role:l,lts:c,succ:!1,csAddr:r,serverList:null,opid:h,ec:g.code,csIp:g.data&&g.data.csIp,unilbsServerIds:[me.CHOOSE_SERVER].toString(),extend:JSON.stringify({networkState:p}),isHttp3:d,corssRegionTagReq:e.apRequestDetail}),_.warning("[".concat(s||"sid-".concat(a.slice(0,6)),"] Choose server network error, retry"),g),!0)),n)}function xw(t,e,i,n){let r,{url:o,areaCode:s,serviceIds:a}=t;const c=Date.now(),d=e.role,[l,u]=Gm(e,s,a);let h;return Jn(()=>C(this,null,function*(){h&&Ee.networkState===Fi.OFFLINE&&Ee.onlineWaiter&&(yield K.race([Ee.onlineWaiter,Ue(n&&n.maxRetryTimeout||ge.maxRetryTimeout)])),h=Ee.networkState;const{data:p,headers:g}=yield er(o,{data:l,cancelToken:i,headers:{"Content-Type":"multipart/form-data;"}},!0,!0);r=g.http3==="1"?1:-1,Z.reportResourceTiming(o,e.sid),Vw(p,o,e,c,a,r);const m=Wc(p,me.CHOOSE_SERVER),f=Wc(p,e.cloudProxyServer==="proxy5"?me.CLOUD_PROXY_5:e.cloudProxyServer==="proxy3"||e.cloudProxyServer==="proxy4"?me.CLOUD_PROXY:me.CLOUD_PROXY_FALLBACK);return jm(m),{gatewayInfo:Nm(m,o),proxyInfo:f,url:o}}),p=>(p.gatewayInfo&&Z.joinChooseServer(e.sid,{role:d,lts:c,succ:!0,csAddr:o,serverList:p.gatewayInfo.gatewayAddrs.map(g=>g.address),ec:null,opid:u,cid:p.gatewayInfo.cid.toString(),uid:p.gatewayInfo.uid.toString(),csIp:p.gatewayInfo.csIp,unilbsServerIds:a.toString(),isHttp3:r,corssRegionTagReq:e.apRequestDetail,corssRegionTagRes:p.gatewayInfo.res.detail&&p.gatewayInfo.res.detail[38]}),p.proxyInfo&&Z.joinWebProxyAP(e.sid,{lts:c,sucess:1,apServerAddr:o,turnServerAddrList:p.proxyInfo.addresses.map(g=>g.ip).join(","),errorCode:null,eventType:e.cloudProxyServer,unilbsServerIds:a.toString()}),!1),p=>p.code!==v.OPERATION_ABORTED&&(p.code===v.CAN_NOT_GET_GATEWAY_SERVER?p.data.retry:(Z.joinWebProxyAP(e.sid,{lts:c,sucess:0,apServerAddr:o,turnServerAddrList:null,errorCode:p.code,eventType:e.cloudProxyServer,unilbsServerIds:a.toString(),extend:JSON.stringify({networkState:h})}),_.warning("[".concat(e.clientId,"] multi unilbs network error, retry"),p),!0)),n)}const Vw=(t,e,i,n,r,o)=>{const{sid:s,clientId:a,cloudProxyServer:c}=i,d=[],l=u=>{u.flag===4096?Z.joinChooseServer(s,{role:i.role,lts:n,succ:!1,csAddr:e,opid:t.opid,serverList:null,ec:u.error.message,csIp:u.error.data&&u.error.data.csIp,unilbsServerIds:r.toString(),isHttp3:o,corssRegionTagReq:i.apRequestDetail}):u.flag!==1048576&&u.flag!==4194304&&u.flag!==4194310||Z.joinWebProxyAP(s,{lts:n,sucess:0,apServerAddr:e,turnServerAddrList:null,errorCode:u.error.code,eventType:c,unilbsServerIds:r.toString()})};if(t.response_body.forEach(u=>{const h=u.buffer.code;if(u.uri===23&&h===0&&!u.buffer.edges_services)if(u.buffer.flag===4194310)_.warning("no edge services in ap response of proxy fallback, will not set proxy in iceServers"),u.buffer.edges_services=[];else{const p={error:new P(v.CAN_NOT_GET_GATEWAY_SERVER,"no edge services in ap response",{retry:!0,csIp:t.detail[502]}),flag:u.buffer.flag};d.push(p),l(p)}if(h!==0){const p=Ia(h),g={error:new P(v.CAN_NOT_GET_GATEWAY_SERVER,p.desc,{desc:p.desc,retry:p.retry,csIp:t.detail[502]}),flag:u.buffer.flag};u.buffer.flag===4194310?_.warning(g.error.toString()):d.push(g),l(g)}}),d.length)throw _.warning("[".concat(a||"sid-".concat(s.slice(0,6)),"] multi unilbs ").concat(e," failed, ").concat(d.map(u=>"flag: ".concat(u.flag,", message: ").concat(u.error.message,", retry: ").concat(u.error.data.retry)).join(" | "))),new P(v.CAN_NOT_GET_GATEWAY_SERVER,d.map(u=>"flag: ".concat(u.flag,", message: ").concat(u.error.message)).join(" | "),{retry:!!d.find(u=>u.error.data.retry),csIp:t.detail[502],desc:[...new Set(d.map(u=>{var h;return u==null||(h=u.error)===null||h===void 0||(h=h.data)===null||h===void 0?void 0:h.desc}).filter(u=>!!u))]})},jm=t=>{var e,i,n,r;if(t.addresses&&t.addresses.length===0&&t.code===0)throw new P(v.CAN_NOT_GET_GATEWAY_SERVER,"void gateway address",{retry:!0,csIp:t.detail&&t.detail[502]});if(y("AP_AREA")&&((n=t.detail)!==null&&n!==void 0&&n[23]&&typeof((r=t.detail)===null||r===void 0?void 0:r[23])=="string"?kw(t.detail[23].toLowerCase()):kw()),(e=t.detail)!==null&&e!==void 0&&e[19]&&typeof((i=t.detail)===null||i===void 0?void 0:i[19])=="string"){const s=t.detail[19],a=s==null?void 0:s.split(";");for(let c=0;c0){_.debug("assign gateway address to",y("GATEWAY_ADDRESS"));const s=y("GATEWAY_ADDRESS").map(a=>{var c,d;const l=(c=(d=t.addresses.find(u=>u.ip===a.ip&&u.port===a.port))===null||d===void 0?void 0:d.fingerprint)!==null&&c!==void 0?c:"";return{ip:a.ip,port:a.port,ticket:t.addresses[0]&&t.addresses[0].ticket,fingerprint:l}});t.addresses=s}},TW=(t,e)=>{if(t.response_body&&t.response_body.length){const i=t.response_body[0];if(i.buffer.code!==0){const n=Ia(i.buffer.code);throw new P(v.UPDATE_TICKET_FAILED,"[".concat(i.buffer.code,"]: ").concat(n.desc),{retry:n.retry})}return i.buffer.ticket}throw _.debug("update ticket request received ap response without response body:",e),new P(v.UPDATE_TICKET_FAILED,"cannot find response body from ap response",{retry:!1})},Gm=(t,e,i)=>{const n=Math.floor(Math.random()*1e12),r=t.role==="host"?"1":t.role==="audience"?"2":void 0,o={appid:t.appId,client_ts:Date.now(),opid:n,sid:t.sid,request_bodies:[{uri:22,buffer:{cname:t.cname,detail:vr(vr(vr({6:t.stringUid,11:e,12:y("USE_NEW_TOKEN")?"1":void 0},r?{17:r}:{}),{},{22:e},t.apRequestDetail?{33:t.apRequestDetail}:{}),t.apRTM?{26:"RTM2"}:{}),key:t.token,service_ids:i,uid:t.uid||0}}]};o.request_bodies.forEach(a=>{t.multiIP&&t.multiIP.gateway_ip&&(a.buffer.detail[5]=JSON.stringify({vocs_ip:[t.multiIP.uni_lbs_ip],vos_ip:[t.multiIP.gateway_ip]}))});const s=new FormData;return s.append("request",JSON.stringify(o)),[s,n]},RW=(t,e)=>{const i=Math.floor(Math.random()*1e12),n={appid:t.appId,client_ts:Date.now(),opid:i,sid:t.sid,request_bodies:[{uri:28,buffer:{cname:t.cname,detail:{1:"",6:t.stringUid,12:"1"},token:t.token,service_ids:e,uid:t.uid||0,edges_services:t.apResponse.addresses.map(o=>({ip:o.ip,port:o.port}))}}]},r=new FormData;return r.append("request",JSON.stringify(n)),[r,i]};let Oa=0;function Na(t){return K.all(t.map(e=>e.then(i=>{throw i},i=>i))).then(e=>{throw e},e=>e)}const zc=t=>C(this,null,function*(){let{fragementLength:e,referenceList:i,asyncMapHandler:n,allFailedhandler:r,promisesCollector:o}=t,s=0;const a=e;let c,d=0;const l=()=>C(this,null,function*(){const u=(()=>{const h=s*a,p=h+a;return i.slice(h,p).map(n)})();o&&o.push(...u);try{c=yield Na(u)}catch(h){if(d+=a,s++,!(d>=i.length))return void(yield l());r(h)}u.forEach(h=>h.cancel())});return yield l(),c}),Fw=t=>C(this,null,function*(){let{referenceList:e,asyncMapHandler:i,closeFn:n}=t;const r=e.length;let o=0;const s=()=>C(this,null,function*(){const a=i(e.shift());try{return yield a}catch(c){if(o++,o>=r||n!=null&&n(c))throw c;return s()}});return s()});function Wm(t,e,i,n){return C(this,null,function*(){return{gatewayInfo:yield function(o,s,a,c){return C(this,null,function*(){let d=null;const l=[],u=()=>C(this,null,function*(){const p=y("WEBCS_DOMAIN").slice(0,y("AJAX_REQUEST_CONCURRENT")).map(f=>({url:o.proxyServer?"https://".concat(o.proxyServer,"/ap/?url=").concat(f+"/api/v2/transpond/webrtc?v=2"):"https://".concat(f,"/api/v2/transpond/webrtc?v=2"),areaCode:qc()})),g=c.recordJoinChannelService({startTs:Date.now(),status:"pending",service:"chooseServer",urls:p.map(f=>f.url)}),m=yield zc({fragementLength:y("FRAGEMENT_LENGTH"),referenceList:p,asyncMapHandler:f=>(_.debug("[".concat(o.clientId,"] Connect to choose_server:"),f.url),Uw(f,o,s,a)),allFailedhandler:f=>{throw c.recordJoinChannelService({endTs:Date.now(),status:"error",errors:f},g),f[0]},promisesCollector:l});return c.recordJoinChannelService({endTs:Date.now(),status:"success"},g),m}),h=()=>C(this,null,function*(){if(yield Ue(1e3),d!==null)return d;const p=y("WEBCS_DOMAIN_BACKUP_LIST").map(f=>({url:o.proxyServer?"https://".concat(o.proxyServer,"/ap/?url=").concat(f+"/api/v2/transpond/webrtc?v=2"):"https://".concat(f,"/api/v2/transpond/webrtc?v=2"),areaCode:qc()})),g=c.recordJoinChannelService({endTs:void 0,startTs:Date.now(),status:"pending",service:"chooseServer",urls:p.map(f=>f.url)}),m=yield zc({fragementLength:y("FRAGEMENT_LENGTH"),referenceList:p,asyncMapHandler:f=>(_.debug("[".concat(o.clientId,"] Connect to backup choose_server:"),f.url),Uw(f,o,s,a)),allFailedhandler:f=>{throw c.recordJoinChannelService({endTs:Date.now(),status:"error",errors:f},g),f[0]},promisesCollector:l});return c.recordJoinChannelService({endTs:Date.now(),status:"success"},g),m});try{return d=yield Na([u(),h()]),l.length&&l.forEach(p=>p.cancel&&typeof p.cancel=="function"&&p.cancel()),d}catch(p){throw p[0]}})}(t,e,i,n)}})}function Bw(t,e,i,n,r){return C(this,null,function*(){const o=t.cloudProxyServer;if(o==="disabled"){if(t.useLocalAccessPoint)return yield Wm(t,e,i,r);if(y("JOIN_WITH_FALLBACK_MEDIA_PROXY")){const{gatewayInfo:h,proxyInfo:p}=yield Ww(t,e,i,r);if(t.turnServer&&t.turnServer.mode!=="auto")return{gatewayInfo:h};const g=p.map(m=>({turnServerURL:m.address,tcpport:m.tcpport||He.tcpport,udpport:m.udpport||He.udpport,username:m.username||He.username,password:m.password||He.password,forceturn:!1,security:!0}));if(r.useP2P){var s;const m=(s=t.uid)!==null&&s!==void 0?s:h.uid,f="glb:".concat(m.toString()),T=yield kE(f),R=p.map(A=>({turnServerURL:A.address,tcpport:A.tcpport||He.tcpport,udpport:A.udpport||He.udpport,username:f,password:T,forceturn:!1,security:!0}));g.push(...R)}return t.turnServer={mode:"manual",servers:g},{gatewayInfo:h}}return yield Wm(t,e,i,r)}const{proxyInfo:a,gatewayInfo:c}=yield Ww(t,e,i,r),d={gatewayInfo:c},l=a.map(h=>({turnServerURL:h.address,tcpport:o==="proxy3"?void 0:h.tcpport?h.tcpport:He.tcpport,udpport:o==="proxy4"?void 0:h.udpport?h.udpport:He.udpport,username:h.username||He.username,password:h.password||He.password,forceturn:o!=="proxy4",security:o==="proxy5"}));if(r.useP2P){var u;const h=(u=t.uid)!==null&&u!==void 0?u:c.uid,p="glb:".concat(h.toString()),g=yield kE(p),m=a.map(f=>({turnServerURL:f.address,tcpport:o==="proxy3"?void 0:f.tcpport||He.tcpport,udpport:o==="proxy4"?void 0:f.udpport||He.udpport,username:p,password:g,forceturn:o!=="proxy4",security:o==="proxy5"}));l.push(...m)}return t.turnServer={mode:"manual",servers:l},_.debug("[".concat(t.clientId,"] set proxy server: ").concat(t.proxyServer,", mode: ").concat(o)),d})}function jw(t,e,i,n,r){return C(this,null,function*(){const o=y("ACCOUNT_REGISTER").slice(0,y("AJAX_REQUEST_CONCURRENT"));let s=[];s=e.proxyServer?o.map(c=>"https://".concat(e.proxyServer,"/ap/?url=").concat(c+"/api/v1")):o.map(c=>"https://".concat(c,"/api/v1"));const a=r==null?void 0:r.recordJoinChannelService({startTs:Date.now(),status:"pending",service:"stringUID",urls:s});try{const c=yield function(d,l,u,h,p){return C(this,null,function*(){const g=Date.now(),m={sid:u.sid,opid:10,appid:u.appId,string_uid:l};let f=d[0];const T=yield Jn(()=>er(f+"".concat(f.indexOf("?")===-1?"?":"&","action=stringuid"),{data:m,cancelToken:h,headers:{"X-Packet-Service-Type":0,"X-Packet-URI":72}}),(R,A)=>{if(R.code===0){if(R.uid<=0||R.uid>=Math.pow(2,32))throw _.error("Invalid Uint Uid ".concat(l," => ").concat(R.uid),R),Z.reqUserAccount(m.sid,{lts:g,success:!1,serverAddr:f,stringUid:m.string_uid,uid:R.uid,errorCode:v.INVALID_UINT_UID_FROM_STRING_UID,extend:m}),new P(v.INVALID_UINT_UID_FROM_STRING_UID);return Z.reqUserAccount(m.sid,{lts:g,success:!0,serverAddr:f,stringUid:m.string_uid,uid:R.uid,errorCode:null,extend:m}),!1}const N=Ia(R.code);return N.retry&&(f=d[(A+1)%d.length]),Z.reqUserAccount(m.sid,{lts:g,success:!1,serverAddr:f,stringUid:m.string_uid,uid:R.uid,errorCode:N.desc,extend:m}),N.retry},(R,A)=>R.code!==v.OPERATION_ABORTED&&(Z.reqUserAccount(m.sid,{lts:g,success:!1,serverAddr:f,stringUid:m.string_uid,uid:null,errorCode:R.code,extend:m}),f=d[(A+1)%d.length],!0),p);if(T.code!==0){const R=Ia(T.code);throw new P(v.UNEXPECTED_RESPONSE,R.desc)}return T})}(s,t,e,i,n);return r==null||r.recordJoinChannelService({status:"success",endTs:Date.now()},a),c.uid}catch(c){throw r==null||r.recordJoinChannelService({status:"error",endTs:Date.now(),errors:[c]},a),c}})}function vW(t,e,i){return C(this,null,function*(){const n=y("ACCOUNT_REGISTER");let r=[];r=e.proxyServer?n.map(o=>"https://".concat(e.proxyServer,"/ap/?url=").concat(o+"/api/v1")):n.map(o=>"https://".concat(o,"/api/v1"));try{return yield Fw({referenceList:r,asyncMapHandler:s=>function(a,c,d,l){return C(this,null,function*(){const u=Date.now(),h={sid:d.sid,opid:10,appid:d.appId,string_uid:c};try{const p=yield er(a+"".concat(a.indexOf("?")===-1?"?":"&","action=stringuid"),{data:h,cancelToken:l,headers:{"X-Packet-Service-Type":0,"X-Packet-URI":72}});if(p.code!==0){const g=Ia(p.code);throw new P(v.UNEXPECTED_RESPONSE,"preload sua error:".concat(g.desc),g)}if(p.uid<=0||p.uid>=Math.pow(2,32))throw new P(v.INVALID_UINT_UID_FROM_STRING_UID);return{requestTime:u,url:a,req:h,uid:p.uid,elapse:Date.now()-u}}catch(p){throw p}})}(s,t,e,i),closeFn:s=>s.code===v.OPERATION_ABORTED||s.code===v.UNEXPECTED_RESPONSE&&!s.data.retry})}catch(o){throw o}})}function CW(t,e,i){return C(this,null,function*(){const n=y("CDS_AP").slice(0,y("AJAX_REQUEST_CONCURRENT")).map(c=>t.proxyServer?"https://".concat(t.proxyServer,"/ap/?url=").concat(c+"/api/v1"):"https://".concat(c,"/api/v1?action=config")),r=n.map(c=>function(d,l,u,h){const p=vt(),g={flag:64,cipher_method:0,features:vr(vr(vr(vr(vr({install_id:YE(),device:p.name,system:p.os,system_general:navigator.userAgent,vendor:l.appId,version:dn,cname:l.cname,session_id:l.sid,proxyServer:l.proxyServer,sdk_type:_W.WEB_RTC,browser_name:p.name,browser_version:p.version,user_agent:navigator.userAgent,channel_name:l.cname},l.stringUid&&{string_uid:l.stringUid}),l.uid&&{uid:l.uid+""}),p.os&&{os_name:p.os}),p.osVersion&&{os_version:p.osVersion}),{},{detail:""})};return Jn(()=>er(d,{data:g,timeout:1e3,cancelToken:u,headers:{"X-Packet-Service-Type":0,"X-Packet-URI":54}}),void 0,m=>m.code!==v.OPERATION_ABORTED,h)}(c,t,e,i));let o=null,s=null,a={};try{o=yield Na(r)}catch(c){if(c.code===v.OPERATION_ABORTED)throw c;s=c}if(r.forEach(c=>c.cancel()),Z.reportApiInvoke(t.sid,{name:_e.REQUEST_CONFIG_DISTRIBUTE,options:{error:s,res:o}}).onSuccess(),o&&o.test_tags)try{a=function(c){if(!c.test_tags)return{};const d=c.test_tags,l=Object.keys(d),u={};return l.forEach(h=>{var p;const g=ni(p=h.slice(4)).call(p),m=JSON.parse(d[h]),f=m[1];u[g]={tag:m[0]||"",value:f}}),u}(o)}catch(c){}return a})}function Gw(t,e){return C(this,null,function*(){const i=y("WEBCS_DOMAIN").concat(y("WEBCS_DOMAIN_BACKUP_LIST")).map(n=>({url:"https://".concat(n,"/api/v2/transpond/webrtc?v=2"),areaCode:qc(),serviceIds:[me.CHOOSE_SERVER,me.CLOUD_PROXY_FALLBACK]}));try{return yield Fw({referenceList:i,asyncMapHandler:r=>function(o,s,a){return C(this,null,function*(){let c,{url:d,areaCode:l,serviceIds:u}=o;const h=Date.now(),[p,g]=Gm(s,l,u);let m=Ee.networkState;try{m&&Ee.networkState===Fi.OFFLINE&&Ee.onlineWaiter&&(yield K.race([Ee.onlineWaiter,Ue(ge.maxRetryTimeout)])),m=Ee.networkState;const{data:f,headers:T}=yield er(d,{data:p,cancelToken:a,headers:{"Content-Type":"multipart/form-data;"}},!0,!0);c=T.http3==="1"?1:-1,(O=>{const w=[];if(O.response_body.forEach(L=>{const M=L.buffer.code;if(L.uri===23&&M===0&&!L.buffer.edges_services)if(L.buffer.flag===4194310)L.buffer.edges_services=[];else{const j={error:new P(v.CAN_NOT_GET_GATEWAY_SERVER,"no edge services in ap response",{retry:!0,csIp:O.detail[502]}),flag:L.buffer.flag};w.push(j)}if(M!==0){const j=Ia(M),H={error:new P(v.CAN_NOT_GET_GATEWAY_SERVER,j.desc,{desc:j.desc,retry:j.retry,csIp:O.detail[502]}),flag:L.buffer.flag};L.buffer.flag===4194310?_.warning(H.error.toString()):w.push(H)}}),w.length)throw new P(v.CAN_NOT_GET_GATEWAY_SERVER,w.map(L=>"flag: ".concat(L.flag,", message: ").concat(L.error.message)).join(" | "),{retry:!!w.find(L=>L.error.data.retry),csIp:O.detail[502],desc:[...new Set(w.map(L=>{var M;return L==null||(M=L.error)===null||M===void 0||(M=M.data)===null||M===void 0?void 0:M.desc}).filter(L=>!!L))]})})(f);const A=Wc(f,me.CHOOSE_SERVER),N=Wc(f,me.CLOUD_PROXY_FALLBACK);return jm(A),{gatewayInfo:Nm(A,d),proxyInfo:N,opid:g,requestTime:h,url:d,isHttp3:c,elapse:Date.now()-h}}catch(f){throw f}})}(r,t,e),closeFn:r=>r.code===v.OPERATION_ABORTED||r.code===v.CAN_NOT_GET_GATEWAY_SERVER&&!r.data.retry})}catch(n){throw n}})}function Ww(t,e,i,n){return C(this,null,function*(){const r=y("PROXY_SERVER_TYPE3"),o=(p,g,m)=>{let f=m||r;return Array.isArray(f)&&(f=g%2==0?r[1]:r[0]),"https://".concat(f,"/ap/?url=").concat(p)};let s=null;const a=[],c=()=>C(this,null,function*(){const p=y("WEBCS_DOMAIN").slice(0,y("AJAX_REQUEST_CONCURRENT")).map((f,T)=>{let R;return R=t.cloudProxyServer==="disabled"&&t.proxyServer?o("".concat(f,"/api/v2/transpond/webrtc?v=2"),T,t.proxyServer):t.cloudProxyServer==="disabled"||t.cloudProxyServer==="fallback"?"https://".concat(f,"/api/v2/transpond/webrtc?v=2"):o("".concat(f,"/api/v2/transpond/webrtc?v=2"),T),{url:R,areaCode:qc(),serviceIds:[me.CHOOSE_SERVER,t.cloudProxyServer==="proxy5"?me.CLOUD_PROXY_5:t.cloudProxyServer==="proxy3"||t.cloudProxyServer==="proxy4"?me.CLOUD_PROXY:me.CLOUD_PROXY_FALLBACK]}}),g=n.recordJoinChannelService({startTs:Date.now(),status:"pending",service:"chooseServer",urls:p.map(f=>f.url)}),m=yield zc({fragementLength:y("FRAGEMENT_LENGTH"),referenceList:p,asyncMapHandler:f=>(_.debug("[".concat(t.clientId,"] Connect to choose_server:"),f.url),xw(f,t,e,i)),allFailedhandler:f=>{throw n.recordJoinChannelService({endTs:Date.now(),status:"error",errors:f},g),f[0]},promisesCollector:a});return n.recordJoinChannelService({endTs:Date.now(),status:"success"},g),m}),d=()=>C(this,null,function*(){if(yield Ue(1e3),s!==null)return s;const p=y("WEBCS_DOMAIN_BACKUP_LIST").map((f,T)=>{let R;return R=t.cloudProxyServer==="disabled"&&t.proxyServer?o("".concat(f,"/api/v2/transpond/webrtc?v=2"),T,t.proxyServer):t.cloudProxyServer==="disabled"||t.cloudProxyServer==="fallback"?"https://".concat(f,"/api/v2/transpond/webrtc?v=2"):o("".concat(f,"/api/v2/transpond/webrtc?v=2"),T),{url:R,areaCode:qc(),serviceIds:[me.CHOOSE_SERVER,t.cloudProxyServer==="proxy5"?me.CLOUD_PROXY_5:t.cloudProxyServer==="proxy3"||t.cloudProxyServer==="proxy4"?me.CLOUD_PROXY:me.CLOUD_PROXY_FALLBACK]}}),g=n.recordJoinChannelService({startTs:Date.now(),status:"pending",service:"chooseServer",urls:p.map(f=>f.url)}),m=yield zc({fragementLength:y("FRAGEMENT_LENGTH"),referenceList:p,asyncMapHandler:f=>(_.debug("[".concat(t.clientId,"] Connect to backup choose_server:"),f.url),xw(f,t,e,i)),allFailedhandler:f=>{throw n.recordJoinChannelService({endTs:Date.now(),status:"error",errors:f},g),f[0]},promisesCollector:a});return n.recordJoinChannelService({endTs:Date.now(),status:"success"},g),m});let l,u,h;try{({gatewayInfo:l,proxyInfo:u,url:h}=yield Na([c(),d()]))}catch(p){throw p[0]}if(a.length&&a.forEach(p=>p.cancel&&typeof p.cancel=="function"&&p.cancel()),!l||!u)throw new P(v.UNEXPECTED_ERROR,"missing gateway or proxy response").print();if(t.apUrl=h,t.cloudProxyServer!=="disabled"&&Array.isArray(r)&&h){const p=/^https?:\/\/(.+?)(\/.*)?$/.exec(h)[1];G(r).call(r,p)&&(t.proxyServer=p,_.setProxyServer(p),Z.setProxyServer(p))}return s={gatewayInfo:l,proxyInfo:yield pw(u,l.uid)},s})}function yW(t,e,i){return C(this,null,function*(){const n=y("UAP_AP").slice(0,y("AJAX_REQUEST_CONCURRENT")).map(o=>t.proxyServer?"https://".concat(t.proxyServer,"/ap/?url=").concat(o+"/api/v1?action=uap"):"https://".concat(o,"/api/v1?action=uap")),r=n.map(o=>function(s,a,c,d){const l={command:"convergeAllocateEdge",sid:a.sid,appId:a.appId,token:a.token,ts:Date.now(),version:dn,cname:a.cname,uid:a.uid.toString(),requestId:Bm,seq:Bm};Bm+=1;const u={service_name:"tele_channel",json_body:JSON.stringify(l)};return Jn(()=>C(this,null,function*(){const h=yield er(s,{data:u,cancelToken:c,headers:{"X-Packet-Service-Type":0,"X-Packet-URI":61}});if(h.code!==0){const g=new P(v.UNEXPECTED_RESPONSE,"cross channel ap error, code"+h.code,{retry:!0});throw _.error(g.toString()),g}const p=JSON.parse(h.json_body);if(p.code!==200){const g=new P(v.UNEXPECTED_RESPONSE,"cross channel app center error, code: ".concat(p.code,", reason: ").concat(p.reason));throw _.error(g.toString()),g}if(!p.servers||p.servers.length===0){const g=new P(v.UNEXPECTED_RESPONSE,"cross channel app center empty server");throw _.error(g.toString()),g}return{vid:p.vid,workerToken:p.workerToken,addressList:(y("CHANNEL_MEDIA_RELAY_SERVERS")||p.servers).map(g=>"wss://".concat(g.address.replace(/\./g,"-"),".").concat(y("WORKER_DOMAIN"),":").concat(g.wss))}}),void 0,h=>!!(h.code!==v.OPERATION_ABORTED&&h.code!==v.UNEXPECTED_RESPONSE||h.data&&h.data.retry),d)}(o,t,e,i));try{const o=yield Na(r);return r.forEach(s=>s.cancel()),o}catch(o){throw o[0]}})}function IW(t,e,i){return C(this,null,function*(){let n=null;const r=[],o=s=>C(this,null,function*(){const a=y(s?"WEBCS_DOMAIN_BACKUP_LIST":"WEBCS_DOMAIN").map(c=>t.proxyServer?"https://".concat(t.proxyServer,"/ap/?url=").concat(c+"/api/v2/transpond/webrtc?v=2"):"https://".concat(c,"/api/v2/transpond/webrtc?v=2"));return s&&(yield Ue(1e3),n!==null)?n:yield zc({fragementLength:y("FRAGEMENT_LENGTH"),referenceList:a,asyncMapHandler:c=>(_.debug("[".concat(t.clientId,"] update ticket, Connect to ").concat(s?"backup":""," choose_server:"),c),function(d,l,u,h){const[p]=RW(l,[me.CHOOSE_SERVER]);let g=Ee.networkState;return Jn(()=>C(this,null,function*(){g&&Ee.networkState===Fi.OFFLINE&&Ee.onlineWaiter&&(yield K.race([Ee.onlineWaiter,Ue(h&&h.maxRetryTimeout||ge.maxRetryTimeout)])),g=Ee.networkState;const m=yield er(d,{data:p,cancelToken:u,headers:{"Content-Type":"multipart/form-data;"}},!0);return TW(m,d)}),()=>!1,m=>m.code!==v.OPERATION_ABORTED&&(m.code===v.UPDATE_TICKET_FAILED?m.data.retry:(_.warning("[".concat(l.clientId,"] update ticket network error, retry"),m),!0)),h)}(c,t,e,i)),allFailedhandler:c=>{throw c[0]},promisesCollector:r})});try{return n=yield Na([o(!1),o(!0)]),r.length&&r.forEach(s=>s.cancel&&typeof s.cancel=="function"&&s.cancel()),n}catch(s){throw s[0]}})}function Hw(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function Hm(t){for(var e=1;e{this.updateConfigDistribute()},y("CONFIG_DISTRIBUTE_INTERVAL")))}stopGetConfigDistribute(){this.interval&&clearInterval(this.interval),this.interval=void 0,this.joinInfo=void 0,this.cancelToken=void 0,this.configs=void 0,this.limit_bitrate=void 0}awaitConfigDistributeComplete(){return C(this,null,function*(){this.mutex.isLocked&&(yield this.mutex.lock())()})}updateConfigDistribute(){return C(this,null,function*(){if(this.mutableParamsRead||(this.mutableParamsRead=!0,Z.reportApiInvoke(null,{options:void 0,name:_e.LOAD_CONFIG_FROM_LOCALSTORAGE,tag:oe.TRACER}).onSuccess(JSON.stringify(Qn))),!this.joinInfo||!this.cancelToken||!this.retryConfig)return void _.debug("[config-distribute] get config distribute interrupted have no joininfo");let e;const i=yield this.mutex.lock();try{e=yield CW(this.joinInfo,this.cancelToken,this.retryConfig),_.debug("[config-distribute] get config distribute",JSON.stringify(e));const n=function(r){var o;const s=jo(o=Object.keys(r).filter(d=>/^webrtc_ng_global_parameter/.test(d))).call(o);for(let d=0;dd;l--){const u=s[l],h=r[u].value;if(typeof h.__priority=="number"){const p=h.__priority,g=s[l-1],m=r[g].value;if(typeof m.__priority=="number"){if(!(p>m.__priority))continue;{const f=u;s[l]=s[l-1],s[l-1]=f}}else{const f=u;s[l]=s[l-1],s[l-1]=f}}}const a=Date.now();let c={};return s.forEach(d=>{const l=r[d].value.__expires;l&&l<=a||(c[d]=r[d])}),c}(e);this.cacheGlobalParameterConfig(n),this.store.hasStartJoinChannel||(this.store.isABTestSuccess=!0),this.configs=n}catch(n){const r=new P(v.NETWORK_RESPONSE_ERROR,n);_.warning("[config-distribute] ".concat(r.toString()))}finally{i()}})}getBitrateLimit(){return this.limit_bitrate||void 0}handleBitrateLimit(e){iw(e)&&(this.limit_bitrate?this.limit_bitrate&&this.limit_bitrate.id!==e.id&&this.emit(Bc.UPDATE_BITRATE_LIMIT,e):this.emit(Bc.UPDATE_BITRATE_LIMIT,e))}getLowStreamConfigDistribute(){return this.limit_bitrate&&Hm({},this.limit_bitrate.low_stream_uplink)}handleABTestConfigDistribute(e){try{const i={},n=Object.keys(e),r=[];n.forEach(o=>{const s=e[o].value;i[o]=s;const a=s.__id;if(a&&this.configCache[o]&&this.configCache[o].__id===a)return;const c=s.__type,d=e[o].value,l=e[o].tag;let u=0;c?c===NI.REALTIME&&(u=1):Object.keys(d).some(h=>Object.prototype.hasOwnProperty.call(JE,h)||!Sm()&&Object.prototype.hasOwnProperty.call(_u,h)?(u=1,!0):void 0),r.push({tag:l,isApplied:u,feature:o,params:JSON.stringify(s)})}),r.forEach(o=>{let{tag:s,feature:a,params:c,isApplied:d}=o;this.store.sessionId&&Z.abTest(this.store.sessionId,{intSucc:1,isApplied:d,tag:s,feature:a,params:c,cid:this.store.cid,uid:this.store.intUid})}),this.configCache=i}catch(i){_.debug("handleABTestConfigDistribute error",i)}}cacheGlobalParameterConfig(e){const i=function(r){const o={};return Object.keys(r).forEach(s=>{const a=r[s].value,c=a.__expires,d=a.__type;Object.keys(a).forEach(l=>{l==="__id"||l==="__type"||l==="__priority"||l==="__expires"||Object.prototype.hasOwnProperty.call(o,l)||(o[l]=Hm(Hm({value:a[l]},c&&{expires:c}),d&&{type:d}))})}),o}(e);try{var n;const r=(n=i.LIMIT_BITRATE)===null||n===void 0?void 0:n.value;delete i.LIMIT_BITRATE,r&&iw(r)&&this.handleBitrateLimit(r),this.limit_bitrate=r,this.handleGlobalParameterConfig(i),this.handleABTestConfigDistribute(e),function(a){try{const c=Date.now();Object.keys(a).forEach(d=>{const{value:l,type:u,expires:h}=a[d];h&&h<=c||((u===NI.REALTIME||Object.prototype.hasOwnProperty.call(JE,d))&&(Qn[d]=l,Xt[d]=l,_.debug("Update realtime parameters from config distribute",d,l)),u||Sm()||!Object.prototype.hasOwnProperty.call(_u,d)||(Qn[d]=l,Xt[d]=l,_.debug("Update gateway parameters from config distribute",d,l)))})}catch(c){_.error("Error update config immediately: ".concat(a),c.message)}}(i);const o=JSON.stringify(i),s=window.btoa(o);window.localStorage.setItem("websdk_ng_global_parameter",s),_.debug("Caching global parameters ".concat(o))}catch(r){_.error("Error caching global parameters:",r.message)}}handleGlobalParameterConfig(e){try{const i=Date.now();Object.keys(e).forEach(n=>{if(n==="CLIENT_ROLE_OPTIONS"&&Object.prototype.hasOwnProperty.call(Xt,n)){const{value:r,expires:o}=e[n];if(o&&o<=i)return;(function(s,a){try{return typeof s=="object"&&typeof a=="object"&&JSON.stringify(s)===JSON.stringify(a)}catch(c){return!1}})(Xt[n],r)||(Qn[n]=r,Xt[n]=r,this.emit(Bc.UPDATE_CLIENT_ROLE_OPTIONS,r),_.debug("Updating client role options: ".concat(JSON.stringify(r))))}})}catch(i){_.error("Error handling global parameter config:",i.message)}}}class bW extends $t{constructor(){super(...arguments),S(this,"resultStorage",new Map)}setLocalAudioStats(e,i,n){this.record("AUDIO_INPUT_LEVEL_TOO_LOW",e,this.checkAudioInputLevel(n,i)),this.record("SEND_AUDIO_BITRATE_TOO_LOW",e,this.checkSendAudioBitrate(n,i))}setLocalVideoStats(e,i,n){this.record("SEND_VIDEO_BITRATE_TOO_LOW",e,this.checkSendVideoBitrate(n,i)),this.record("FRAMERATE_INPUT_TOO_LOW",e,this.checkFramerateInput(n,i)),this.record("FRAMERATE_SENT_TOO_LOW",e,this.checkFramerateSent(n))}setRemoteAudioStats(e,i){const n=e.getUserId();this.record("AUDIO_OUTPUT_LEVEL_TOO_LOW",n,this.checkAudioOutputLevel(i))}setRemoteVideoStats(e,i){const n=e.getUserId();this.record("RECV_VIDEO_DECODE_FAILED",n,this.checkVideoDecode(i))}record(e,i,n){if(y("STATS_UPDATE_INTERVAL")>500)return;this.resultStorage.has(e)||this.resultStorage.set(e,{result:[],isPrevNormal:!0});const r=this.resultStorage.get(e);if(r&&(r.result.push(n),r.result.length>=5)){var o;const s=G(o=r.result).call(o,!0);r.isPrevNormal&&!s&&this.emit("exception",Kw[e],e,i),!r.isPrevNormal&&s&&this.emit("exception",Kw[e]+2e3,e+"_RECOVER",i),r.isPrevNormal=s,r.result=[]}}checkAudioOutputLevel(e){return!(e.receiveBitrate>0&&e.receiveLevel===0)}checkAudioInputLevel(e,i){return i instanceof ve&&!i.isActive||!!i.muted||e.sendVolumeLevel!==0}checkFramerateInput(e,i){let n=null;i._encoderConfig&&i._encoderConfig.frameRate&&(n=Bi(i._encoderConfig.frameRate));const r=e.captureFrameRate;return!n||!r||!(n>10&&r<5||n<10&&n>=5&&r<=1)}checkFramerateSent(e){return!(e.captureFrameRate&&e.sendFrameRate&&e.captureFrameRate>5&&e.sendFrameRate<=1)}checkSendVideoBitrate(e,i){return!!i.muted||e.sendBitrate!==0}checkSendAudioBitrate(e,i){return i instanceof ve&&!i.isActive||!!i.muted||e.sendBitrate!==0}checkVideoDecode(e){return e.receiveBitrate===0||e.decodeFrameRate!==0}}const Kw={FRAMERATE_INPUT_TOO_LOW:1001,FRAMERATE_SENT_TOO_LOW:1002,SEND_VIDEO_BITRATE_TOO_LOW:1003,RECV_VIDEO_DECODE_FAILED:1005,AUDIO_INPUT_LEVEL_TOO_LOW:2001,AUDIO_OUTPUT_LEVEL_TOO_LOW:2002,SEND_AUDIO_BITRATE_TOO_LOW:2003},Je=new class{markSubscribeStart(t,e){performance.mark("agora-web-sdk/".concat(t,"/subscribe-").concat(e))}markPublishStart(t,e){performance.mark("agora-web-sdk/".concat(t,"/publish-").concat(e))}measureFromSubscribeStart(t,e){const i=performance.getEntriesByName("agora-web-sdk/".concat(t,"/subscribe-").concat(e));if(i.length>0){const n=i[i.length-1];return Math.round(performance.now()-n.startTime)}return 0}measureFromPublishStart(t,e){const i=performance.getEntriesByName("agora-web-sdk/".concat(t,"/publish-").concat(e));if(i.length>0){const n=i[i.length-1];return Math.round(performance.now()-n.startTime)}return 0}};function Yw(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function cs(t){for(var e=1;e{this.p2pChannel&&(this.updateRemoteStats(this.p2pChannel),this.updateLocalStats(this.p2pChannel))}),this.store=e,this.exceptionMonitor=new bW,this.exceptionMonitor.on("exception",(i,n,r)=>{this.onStatsException&&this.onStatsException(i,n,r)})}startUpdateStats(){this.updateStatsInterval||(this.updateStatsInterval=window.setInterval(this.updateStats,1e3))}stopUpdateStats(){this.updateStatsInterval&&(window.clearInterval(this.updateStatsInterval),this.updateStatsInterval=void 0)}reset(){this.localStats=new Map,this.remoteStats=new Map,this.trafficStats=void 0,this.trafficStatsPeerList=[],this.uplinkStats=void 0}getLocalAudioTrackStats(){return this.localStats.get(V.LocalAudioTrack)||cs({},em)}getLocalVideoTrackStats(){return this.localStats.get(V.LocalVideoTrack)||cs({},im)}getRemoteAudioTrackStats(e){const i=(o,s)=>{if(!this.trafficStats)return s;const a=this.trafficStats.peer_delay.find(c=>c.peer_uid===o);return a&&(s.publishDuration=a.B_ppad+(Date.now()-this.trafficStats.timestamp)),s},n={};if(e){var r;const o=(r=this.remoteStats.get(e))===null||r===void 0?void 0:r.audioStats;o&&(n[e]=i(e,o))}else Array.from(this.remoteStats.entries()).forEach(o=>{let[s,{audioStats:a}]=o;a&&(n[s]=i(s,a))});return n}getRemoteNetworkQualityStats(e){const i={};if(e){var n;const r=(n=this.remoteStats.get(e))===null||n===void 0?void 0:n.networkStats;r&&(i[e]=r)}else Array.from(this.remoteStats.entries()).forEach(r=>{let[o,{networkStats:s}]=r;s&&(i[o]=s)});return i}getRemoteVideoTrackStats(e){const i=(o,s)=>{if(!this.trafficStats)return s;const a=this.trafficStats.peer_delay.find(c=>c.peer_uid===o);return a&&(s.publishDuration=a.B_ppvd+(Date.now()-this.trafficStats.timestamp)),s},n={};if(e){var r;const o=(r=this.remoteStats.get(e))===null||r===void 0?void 0:r.videoStats;o&&(n[e]=i(e,o))}else Array.from(this.remoteStats.entries()).forEach(o=>{let[s,{videoStats:a}]=o;a&&(n[s]=i(s,a))});return n}getRTCStats(){let e=0,i=0,n=0,r=0;const o=this.localStats.get(V.LocalAudioTrack);o&&(e+=o.sendBytes,i+=o.sendBitrate);const s=this.localStats.get(V.LocalVideoTrack);s&&(e+=s.sendBytes,i+=s.sendBitrate);const a=this.localStats.get(V.LocalVideoLowTrack);a&&(e+=a.sendBytes,i+=a.sendBitrate),this.remoteStats.forEach(d=>{let{audioStats:l,videoStats:u}=d;l&&(n+=l.receiveBytes,r+=l.receiveBitrate),u&&(n+=u.receiveBytes,r+=u.receiveBitrate)});let c=1;return this.trafficStats&&(c+=this.trafficStats.peer_delay.length),{Duration:0,UserCount:c,SendBitrate:i,SendBytes:e,RecvBytes:n,RecvBitrate:r,OutgoingAvailableBandwidth:this.uplinkStats?this.uplinkStats.B_uab/1e3:0,RTT:this.trafficStats?2*this.trafficStats.B_acd:0}}addLocalStats(e){this.localStats.set(e,void 0)}removeLocalStats(e){e?this.localStats.delete(e):this.localStats.clear()}addRemoteStats(e){this.remoteStats.set(e,{})}removeRemoteStats(e){e?this.remoteStats.delete(e):this.remoteStats.clear()}addP2PChannel(e){this.p2pChannel=e}updateTrafficStats(e){e.peer_delay=e.peer_delay.filter(i=>i.B_ppad!==void 0||i.B_ppvd!==void 0),e.peer_delay.filter(i=>this.trafficStatsPeerList.indexOf(i.peer_uid)===-1).forEach(i=>{var n;const r=(n=this.p2pChannel)===null||n===void 0?void 0:n.getRemoteMedia(i.peer_uid),o=r!=null&&r.videoSSRC?Je.measureFromSubscribeStart(this.store.clientId,r.videoSSRC):0,s=r!=null&&r.audioSSRC?Je.measureFromSubscribeStart(this.store.clientId,r.audioSSRC):0;i.B_ppad!==void 0&&i.B_ppvd!==void 0&&(this.onUploadPublishDuration&&this.onUploadPublishDuration(i.peer_uid,i.B_ppad,i.B_ppvd,o>s?o:s),this.trafficStatsPeerList.push(i.peer_uid))}),this.trafficStats=e}updateUplinkStats(e){this.uplinkStats&&this.uplinkStats.B_fir!==e.B_fir&&_.debug("[".concat(this.store.clientId,"]: Period fir changes to ").concat(e.B_fir)),this.uplinkStats=e}static isRemoteVideoFreeze(e,i,n){if(!e)return!1;const r=!!n&&i.framesDecodeFreezeTime>n.framesDecodeFreezeTime,o=!n||i.framesDecodeCount>n.framesDecodeCount;return r||!o}static isRemoteAudioFreeze(e){return!!e&&e._isFreeze()}isLocalVideoFreeze(e){return!(!e.inputFrame||!e.sentFrame)&&e.inputFrame.frameRate>5&&e.sentFrame.frameRate<3}updateLocalStats(e){Array.from(this.localStats.entries()).forEach(i=>{let[n,r]=i;switch(n){case V.LocalVideoTrack:case V.LocalVideoLowTrack:{const a=r,c=cs({},im),d=e.getStats(),l=e.getLocalMedia(n);if(d){const u=d.videoSend.find(h=>h.ssrc===(l==null?void 0:l.ssrcs[0].ssrcId));if(u){const h=e.getLocalVideoSize(),p=e.getEncoderConfig(V.LocalVideoTrack);var o;(u.codec==="H264"||u.codec==="H265"||u.codec==="VP8"||u.codec==="VP9"||u.codec==="AV1X"||u.codec==="AV1")&&(c.codecType=u.codec,(a==null?void 0:a.codecType)!==u.codec&&((o=this.onVideoCodecChanged)===null||o===void 0||o.call(this,u.codec.toLocaleLowerCase()))),c.sendBytes=u.bytes,c.sendBitrate=a?8*Math.max(0,c.sendBytes-a.sendBytes):0,u.inputFrame?(c.captureFrameRate=u.inputFrame.frameRate,c.captureResolutionHeight=u.inputFrame.height,c.captureResolutionWidth=u.inputFrame.width):h&&(c.captureResolutionWidth=h.width,c.captureResolutionHeight=h.height),u.sentFrame?(c.sendFrameRate=u.sentFrame.frameRate,c.sendResolutionHeight=u.sentFrame.height,c.sendResolutionWidth=u.sentFrame.width):h&&(c.sendResolutionWidth=h.width,c.sendResolutionHeight=h.height),u.avgEncodeMs&&(c.encodeDelay=u.avgEncodeMs),p&&p.bitrateMax?c.targetSendBitrate=1e3*p.bitrateMax:u.targetBitrate&&(c.targetSendBitrate=u.targetBitrate),c.sendPackets=u.packets,c.sendPacketsLost=u.packetsLost,c.sendJitterMs=u.jitterMs,c.sendRttMs=u.rttMs,c.totalDuration=a?a.totalDuration+1:1,c.totalFreezeTime=a?a.totalFreezeTime:0,this.isLocalVideoFreeze(u)&&(c.totalFreezeTime+=1),u.scalabilityMode&&this.scalabilityMode!==u.scalabilityMode&&(_.debug("[".concat(this.store.clientId,"]: The scalabilityMode of the video sending stream is ").concat(u.scalabilityMode)),this.scalabilityMode=u.scalabilityMode)}this.trafficStats&&(c.currentPacketLossRate=(this.trafficStats.B_pvlr4||0)/100)}var s;this.localStats.set(n,c),((a==null?void 0:a.sendResolutionWidth)!==c.sendResolutionWidth||(a==null?void 0:a.sendResolutionHeight)!==c.sendResolutionHeight)&&((s=this.onStatsChanged)===null||s===void 0||s.call(this,"resolution",{width:c.sendResolutionWidth,height:c.sendResolutionHeight})),c&&l&&this.exceptionMonitor.setLocalVideoStats(this.store.uid,l.track,c);break}case V.LocalAudioTrack:{const a=r,c=cs({},em),d=e.getStats(),l=e.getLocalMedia(n);if(d){const u=d.audioSend.find(h=>h.ssrc===(l==null?void 0:l.ssrcs[0].ssrcId));if(u){if(u.codec!=="opus"&&u.codec!=="aac"&&u.codec!=="PCMU"&&u.codec!=="PCMA"&&u.codec!=="G722"||(c.codecType=u.codec),u.inputLevel)c.sendVolumeLevel=Math.round(32767*u.inputLevel);else{const h=e.getLocalAudioVolume();h&&(c.sendVolumeLevel=Math.round(32767*h))}c.sendBytes=u.bytes,c.sendPackets=u.packets,c.sendPacketsLost=u.packetsLost,c.sendJitterMs=u.jitterMs,c.sendRttMs=u.rttMs,c.sendBitrate=a?8*Math.max(0,c.sendBytes-a.sendBytes):0}}this.trafficStats&&(c.currentPacketLossRate=(this.trafficStats.B_palr4||0)/100),this.localStats.set(V.LocalAudioTrack,c),c&&l&&this.exceptionMonitor.setLocalAudioStats(this.store.uid,l.track,c);break}}})}updateRemoteStats(e){Array.from(this.remoteStats.entries()).forEach(i=>{var n,r;let[o,{videoStats:s,audioStats:a,videoPcStats:c}]=i;const d=a,l=s,u=c,h=cs({},jI),p=cs({},GI),g=cs({},l3),{audioTrack:m,videoTrack:f,audioSSRC:T,videoSSRC:R}=e.getRemoteMedia(o);let A;A=this.store.useP2P?e.getStats(!0):e.getStats();const N=(n=A)===null||n===void 0?void 0:n.audioRecv.find(M=>M.ssrc===T),O=(r=A)===null||r===void 0?void 0:r.videoRecv.find(M=>M.ssrc===R),w=this.trafficStats&&this.trafficStats.peer_delay.find(M=>M.peer_uid===o);if(N&&(N.codec!=="opus"&&N.codec!=="aac"&&N.codec!=="PCMU"&&N.codec!=="PCMA"&&N.codec!=="G722"||(h.codecType=N.codec),N.outputLevel?h.receiveLevel=Math.round(32767*N.outputLevel):m&&(h.receiveLevel=Math.round(32767*m.getVolumeLevel())),h.receiveBytes=N.bytes,h.receivePackets=N.packets,h.receivePacketsLost=N.packetsLost,h.receivePacketsDiscarded=N.packetsDiscarded,h.packetLossRate=h.receivePacketsLost/(h.receivePackets+h.receivePacketsLost),h.receiveBitrate=d?8*Math.max(0,h.receiveBytes-d.receiveBytes):0,h.totalDuration=d?d.totalDuration+1:1,h.totalFreezeTime=d?d.totalFreezeTime:0,h.freezeRate=h.totalFreezeTime/h.totalDuration,h.receiveDelay=N.jitterBufferMs,h.totalDuration>10&&Xc.isRemoteAudioFreeze(m)&&(h.totalFreezeTime+=1)),O){var L;O.codec!=="H264"&&O.codec!=="H265"&&O.codec!=="VP8"&&O.codec!=="VP9"&&O.codec!=="AV1X"&&O.codec!=="AV1"||(p.codecType=O.codec),p.receiveBytes=O.bytes,p.receiveBitrate=l?8*Math.max(0,p.receiveBytes-l.receiveBytes):0,p.decodeFrameRate=O.decodeFrameRate<0?0:O.decodeFrameRate,p.renderFrameRate=O.decodeFrameRate<0?0:O.decodeFrameRate,O.outputFrame&&(p.renderFrameRate=O.outputFrame.frameRate),O.receivedFrame?(p.receiveFrameRate=O.receivedFrame.frameRate,p.receiveResolutionHeight=O.receivedFrame.height,p.receiveResolutionWidth=O.receivedFrame.width):f&&(p.receiveResolutionHeight=f._videoHeight||0,p.receiveResolutionWidth=f._videoWidth||0),O.framesRateFirefox!==void 0&&(p.receiveFrameRate=Math.round(O.framesRateFirefox)),p.receivePackets=O.packets,p.receivePacketsLost=O.packetsLost,p.packetLossRate=p.receivePacketsLost/(p.receivePackets+p.receivePacketsLost);const M=l?l.totalFreezeTime:0,j=l?l.totalDuration:0;p.totalDuration=l?l.totalDuration+1:1,p.totalFreezeTime=(L=O.totalFreezesDuration)!==null&&L!==void 0?L:M||0,p.receiveDelay=O.jitterBufferMs||0;const H=!!R&&e.getRemoteVideoIsReady(R);O.totalFreezesDuration===void 0&&f&&H&&Xc.isRemoteVideoFreeze(f,O,u)&&(p.totalFreezeTime+=1),p.freezeRate=Math.max(0,Math.min((p.totalFreezeTime-M)/(p.totalDuration-j),1))}w&&(h.end2EndDelay=w.B_ad,p.end2EndDelay=w.B_vd,h.transportDelay=w.B_ed,p.transportDelay=w.B_ed,h.currentPacketLossRate=w.B_ealr4/100,p.currentPacketLossRate=w.B_evlr4/100,g.uplinkNetworkQuality=w.B_punq?w.B_punq:0,g.downlinkNetworkQuality=w.B_pdnq?w.B_pdnq:0),this.remoteStats.set(o,{audioStats:h,videoStats:p,videoPcStats:O,networkStats:g}),m&&this.exceptionMonitor.setRemoteAudioStats(m,h),f&&this.exceptionMonitor.setRemoteVideoStats(f,p)})}}class qw{constructor(){S(this,"destChannelMediaInfos",new Map),S(this,"srcChannelMediaInfo",void 0)}setSrcChannelInfo(e){tw(e),this.srcChannelMediaInfo=e}addDestChannelInfo(e){tw(e),this.destChannelMediaInfos.set(e.channelName,e)}removeDestChannelInfo(e){Lu(e),this.destChannelMediaInfos.delete(e)}getSrcChannelMediaInfo(){return this.srcChannelMediaInfo}getDestChannelMediaInfo(){return this.destChannelMediaInfos}}function zw(t){if(!(t instanceof qw))return new P(v.INVALID_PARAMS,"Config should be instance of [ChannelMediaRelayConfiguration]").throw();const e=t.getSrcChannelMediaInfo(),i=t.getDestChannelMediaInfo();if(!e)return new P(v.INVALID_PARAMS,"srcChannelMediaInfo should not be empty").throw();if(i.size===0)return new P(v.INVALID_PARAMS,"destChannelMediaInfo should not be empty").throw()}class Co{get hasVideo(){return this._video_enabled_&&!this._video_muted_&&this._video_added_}get hasAudio(){return this._audio_enabled_&&!this._audio_muted_&&this._audio_added_}get audioTrack(){if(this.hasAudio||this._audio_pre_subscribed)return this._audioTrack}get videoTrack(){if(this.hasVideo||this._video_pre_subscribed)return this._videoTrack}get dataChannels(){return this._dataChannels}constructor(e,i){S(this,"uid",void 0),S(this,"_uintid",void 0),S(this,"_trust_in_room_",!0),S(this,"_trust_audio_enabled_state_",!0),S(this,"_trust_video_enabled_state_",!0),S(this,"_trust_audio_mute_state_",!0),S(this,"_trust_video_mute_state_",!0),S(this,"_audio_muted_",!1),S(this,"_video_muted_",!1),S(this,"_audio_enabled_",!0),S(this,"_video_enabled_",!0),S(this,"_audio_added_",!1),S(this,"_video_added_",!1),S(this,"_is_pre_created",!1),S(this,"_video_pre_subscribed",!1),S(this,"_audio_pre_subscribed",!1),S(this,"_trust_video_stream_added_state_",!0),S(this,"_trust_audio_stream_added_state_",!0),S(this,"_audioTrack",void 0),S(this,"_videoTrack",void 0),S(this,"_dataChannels",[]),S(this,"_audioSSRC",void 0),S(this,"_videoSSRC",void 0),S(this,"_audioOrtc",void 0),S(this,"_videoOrtc",void 0),S(this,"_cname",void 0),S(this,"_rtxSsrcId",void 0),S(this,"_videoMid",void 0),S(this,"_audioMid",void 0),this.uid=e,this._uintid=i}}function Xw(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function Jw(t){for(var e=1;e=e.length-1&&n===Da.DOWN)return t;let o=Yr(Yr({},t),{},{scale:n===Da.DOWN?++r:--r});switch(i){case"maintain-framerate":o=Yr(Yr({},o),e[r].motion);break;case"maintain-resolution":o=Yr(Yr({},o),e[r].detail);break;case"balanced":o=Yr(Yr({},o),e[r].balanced)}return o}function t0(t,e){if(e){const i={overUse:0,underUse:0,adaptationList:e0(e)};qu.set(t,i)}else qu.delete(t)}function e0(t){const e=Yr({},t),{bitrateMax:i,frameRate:n,scaleResolutionDownBy:r,bitrateMin:o}=e,{MIN_FRAME_RATE:s,MAX_THRESHOLD_FRAMERATE:a,MAX_SCALE:c,BITRATE_MIN_THRESHOLD:d,BITRATE_MAX_THRESHOLD:l,BWE_SCALE_UP_THRESHOLD:u,BWE_SCALE_DOWN_THRESHOLD:h,PERF_SCALE_DOWN_THRESHOLD:p,PERF_SCALE_UP_THRESHOLD:g,BALANCE_BITRATE_FACTOR:m,BALANCE_FRAMERATE_FACTOR:f,BALANCE_RESOLUTION_FACTOR:T,MOTION_RESOLUTION_FACTOR:R,MOTION_BITRATE_FACTOR:A,DETAIL_FRAMERATE_FACTOR:N,DETAIL_BITRATE_FACTOR:O}=zE,w=Math.min(e.frameRate,a),L=[{scale:0,threshold:{bwe_down:Math.round(Math.pow(h,1)*i),bwe_up:i,fps_down:Math.round(Math.pow(p,1)*w),fps_up:n},balanced:{scaleResolutionDownBy:1,frameRate:n,bitrateMax:i,bitrateMin:o},motion:{scaleResolutionDownBy:1,frameRate:n,bitrateMax:i,bitrateMin:o},detail:{scaleResolutionDownBy:1,frameRate:n,bitrateMax:i,bitrateMin:o}}];for(let M=1;M<=c;M++){const j={bwe_up:Math.round(Math.pow(u,M)*i),bwe_down:Math.round(Math.pow(h,M+1)*i),fps_up:Math.round(Math.pow(g,M)*w),fps_down:Math.round(Math.pow(p,M+1)*w)},H={scaleResolutionDownBy:r/Math.pow(T,M),frameRate:Math.max(Math.round(Math.pow(f,M)*n),s),bitrateMax:Math.max(Math.round(Math.pow(m,M)*i),l),bitrateMin:Math.max(Math.round(Math.pow(m,M)*o),d)},ht={scaleResolutionDownBy:r/Math.pow(R,M),frameRate:n,bitrateMax:Math.max(Math.round(Math.pow(A,M)*i),l),bitrateMin:Math.max(Math.round(Math.pow(A,M)*o),d)},lt={scaleResolutionDownBy:1,frameRate:Math.max(Math.round(Math.pow(N,M)*n),s),bitrateMax:Math.max(Math.round(Math.pow(O,M)*i),l),bitrateMin:Math.max(Math.round(Math.pow(O,M)*o),d)};L.push({scale:M,threshold:j,balanced:H,motion:ht,detail:lt})}return L}function wW(t,e,i,n,r,o){const s=qu.get(t)||{overUse:0,underUse:0,adaptationList:e0(r)},{adaptationList:a}=s;qu.set(t,s);const{OVERUSE_TIMES_THRESHOLD:c,UNDERUSE_TIMES_THRESHOLD:d}=zE,{scale:l}=n;let u,h;return typeof e=="number"&&e>0&&function(p,g,m,f){if(g>=m.length)return!1;let{threshold:{fps_down:T}}=m[g];return y("FORCE_AG_HIGH_FRAMERATE")&&f==="maintain-framerate"&&(T=m[0].threshold.fps_down),pc)||typeof i=="number"&&i>0&&function(p,g,m){if(g>=m.length)return!1;const{threshold:{bwe_down:f}}=m[g];return pc)?(s.overUse=0,s.underUse=0,u=$w(n,a,o,Da.DOWN),[u,h]):(typeof e=="number"&&e>0&&typeof i=="number"&&i>0&&function(p,g,m,f){if(g===0)return;let{threshold:{fps_up:T}}=m[g];return y("FORCE_AG_HIGH_FRAMERATE")&&f==="maintain-framerate"&&(T=m[1].threshold.fps_up),p>T}(e,l,a,o)&&function(p,g,m){if(g===0)return;const{threshold:{bwe_up:f}}=m[g];return p>f}(i,l,a)&&(s.underUse++,s.underUse>d&&(s.overUse=0,s.underUse=0,u=$w(n,a,o,Da.UP),u.scale===0&&(h=Lc.NONE))),[u,h])}function i0(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function Km(t){for(var e=1;e=i}(14)&&Zy(17,4)||Qy(14)&&$y(17,4)))}const zu=new Map;function Xu(t,e){const i=zu.get(t);if(i){const{timer:n}=i;window.clearTimeout(n),zu.delete(t)}e.qualityLimitationReason=Lc.NONE,t0(t)}function NW(t,e){var i;let n;switch(e){case V.LocalAudioTrack:n=Ot.Audio;break;case V.LocalVideoTrack:n=G(i=t._hints).call(i,Vt.SCREEN_TRACK)?Ot.Screen:Ot.High;break;case V.LocalVideoLowTrack:n=Ot.Low}return n}function Ym(t){const e=Ct();if(t.some(i=>i._bypassWebAudio))throw new k(v.NOT_SUPPORTED,"cannot publish multiple tracks which one of them configured with bypassWebAudio");if(!e.webAudioMediaStreamDest)throw new k(v.NOT_SUPPORTED,"cannot publish multiple tracks because your browser does not support audio mixing")}function qm(t,e){Ym(t);const i=new ve;return t.forEach(n=>i.addAudioTrack(n)),i}const DW=!Ct().supportUnifiedPlan||y("CHROME_FORCE_PLAN_B")&&Vr();function Ju(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var i;return DW?(i={spec:e,store:t},Kr("PlanBConnection").create(i)):new Cr(e,t)}function zm(t){return t&&(t.iceConnectionState==="disconnected"||t.iceConnectionState==="checking"||t.iceConnectionState==="failed")}function n0(t){try{if(t.iceServers)return!1;if(t.turnServer&&t.turnServer.mode!=="off"){if(Nc(t.turnServer.servers))return!1;if(y("FORCE_TURN_TCP")||t.turnServer.servers.concat(t.turnServer.serversFromGateway||[]).some(e=>e.forceturn))return!0}return!1}catch(e){return!1}}var St;function r0(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function ir(t){for(var e=1;ee.rtpMap&&e.rtpMap.encodingName.toLowerCase()||"").filter(e=>{var i;return G(i=Object.keys(Eu)).call(i,e)}))]}constructor(e,i){super(e,i),S(this,"id",Gt(5,"connection-")),S(this,"store",void 0),S(this,"peerConnection",void 0),S(this,"forceTurn",!1),S(this,"remoteSDP",void 0),S(this,"initialOffer",void 0),S(this,"transportEventReceiver",void 0),S(this,"statsFilter",void 0),S(this,"extension",{useXR:y("USE_XR")}),S(this,"localCapabilities",void 0),S(this,"remoteCodecs",void 0),S(this,"localCandidateCount",0),S(this,"allCandidatesReceived",!1),S(this,"isPreallocation",!1),S(this,"preSSRCMap",new Map),S(this,"dataStreamChannelMap",new Map),S(this,"establishPromise",void 0),S(this,"recoveredDataChannelIds",[]),S(this,"currentDataChannelId",1),S(this,"supportAV1RtpSpec",!1),S(this,"mutex",void 0),S(this,"qualityLimitationReason",Lc.NONE),S(this,"isFirstConnected",!1),this.store=i,this.forceTurn=n0(e),this.mutex=new qe("P2PConnection-mutex",i.clientId),this.peerConnection=new RTCPeerConnection(ys.resolvePCConfiguration(e),{optional:[{googDscp:!0}]}),this.isFirstConnected=!1,this.statsFilter=KE(this.peerConnection,y("STATS_UPDATE_INTERVAL"),void 0,ne()?1200:void 0),this.bindPCEvents(),this.bindStatsEvents(),this.store.p2pId=this.store.p2pId+1,this.establishPromise=this.establish()}getPreMedia(e){const i=this.preSSRCMap.get(e);if(i!==void 0){const n=this.peerConnection.getTransceivers().find(r=>r.mid===i);if(n)return{transceiver:n,track:n.receiver.track,id:i}}}updateRemoteRTPCapabilities(e,i){return C(this,null,function*(){if(this.remoteCodecs=i,!this.remoteSDP)return void _.debug("[P2PConnection] cannot updateRemoteRTPCapabilities before remote SDP created, local codecs: ".concat(this.localCodecs,", codecs: ").concat(i));if(this.remoteSDP.updateRemoteCodec(e,i,this.store.codec)){const n=yield this.peerConnection.createOffer(),r=this.logSDPExchange(n.sdp||"","offer","local","muteLocal");yield this.peerConnection.setLocalDescription(n);const o=this.remoteSDP.toString();r==null||r(o),yield this.peerConnection.setRemoteDescription({type:"answer",sdp:o})}else _.debug("[P2PConnection] updateRemoteRTPCapabilities no need to exchange SDP.")})}establish(){return C(this,null,function*(){try{this.peerConnection.addTransceiver("video",{direction:"recvonly"}),this.peerConnection.addTransceiver("audio",{direction:"recvonly"});const n=yield this.peerConnection.createOffer();if(!n.sdp)throw new Error("Cannot get initialOffer.sdp when trying to establish PeerConnection.");const r=Ro(n.sdp),o=yield Cw({filterRTX:!y("USE_PUB_RTX")&&!y("USE_SUB_RTX"),filterVideoFec:y("FILTER_VIDEO_FEC"),filterAudioFec:y("FILTER_AUDIO_FEC"),filterVideoCodec:y("FILTER_VIDEO_CODEC")},this.extension);if(this.localCapabilities=Gu(o),this.initialOffer=n,y("ENABLE_SVC")&&this.store.codec=="av1"){const a=yield function(){return C(this,null,function*(){try{const c=new RTCPeerConnection;c.addTransceiver("video",{direction:"sendonly",sendEncodings:[{scalabilityMode:pu.L1T3}]});const d=yield c.createOffer();if(!d.sdp)return void c.close();const l=Ni(d.sdp).mediaDescriptions[0];if(!l)return;const u=l.attributes.extmaps.find(h=>h.extensionName==="https://aomediacodec.github.io/av1-rtp-spec/#dependency-descriptor-rtp-header-extension");return c.close(),u}catch(c){return}})}();var e;a&&(this.supportAV1RtpSpec=!0,(e=o.send)===null||e===void 0||e.videoExtensions.push(a))}let s;return n.sdp&&bw(n.sdp)&&(s=te(o),(i=s).send&&(Aa(q.VIDEO,i.send.videoExtensions),Aa(q.AUDIO,i.send.audioExtensions)),i.recv&&(Aa(q.VIDEO,i.recv.videoExtensions),Aa(q.AUDIO,i.recv.audioExtensions)),i.sendrecv&&(Aa(q.VIDEO,i.sendrecv.videoExtensions),Aa(q.AUDIO,i.sendrecv.audioExtensions))),ir(ir({},r),{},{rtpCapabilities:s||o,offerSDP:n.sdp})}catch(n){throw new k(v.GET_LOCAL_CONNECTION_PARAMS_FAILED,n.toString())}var i})}connect(e){return C(this,null,function*(){try{if(!this.initialOffer)throw new Error("Cannot establish P2PConnection without initial offer.");this.initialOffer.sdp&&bw(this.initialOffer.sdp)&&(i=e.rtpCapabilities,n=this.localCapabilities,i.send&&(Fu(q.VIDEO,i.send.videoExtensions,n.send.videoExtensions),Fu(q.AUDIO,i.send.audioExtensions,n.send.audioExtensions)),i.recv&&(Fu(q.VIDEO,i.recv.videoExtensions,n.recv.videoExtensions),Fu(q.AUDIO,i.recv.audioExtensions,n.recv.audioExtensions))),this.remoteSDP=new class{get localCapabilities(){return te(this._localCapabilities)}get rtpCapabilities(){return te(this._rtpCapabilities)}get candidates(){return te(this._candidates)}get iceParameters(){return te(this._iceParameters)}get dtlsParameters(){return te(this._dtlsParameters)}constructor(d){let l=arguments.length>1&&arguments[1]!==void 0&&arguments[1];S(this,"sessionDesc",void 0),S(this,"_localCapabilities",void 0),S(this,"_rtpCapabilities",void 0),S(this,"_candidates",void 0),S(this,"_originCandidates",void 0),S(this,"_iceParameters",void 0),S(this,"_isUseExtmapAllowMixed",void 0),S(this,"_dtlsParameters",void 0),S(this,"setup",void 0),S(this,"currentMidIndex",void 0),S(this,"cname",void 0),S(this,"firefoxSsrcMidMap",new Map),this._isUseExtmapAllowMixed=l,d=te(d);const{iceParameters:u,dtlsParameters:h,candidates:p,rtpCapabilities:g,setup:m,localCapabilities:f,cname:T}=d;this._rtpCapabilities=g,this._candidates=p,this._originCandidates=te(p),this._iceParameters=u,this._dtlsParameters=h,this._localCapabilities=f,this.setup=m,this.cname=T,this.sessionDesc=this.updateRemoteRTPCapabilities(g),this.currentMidIndex=this.sessionDesc.mediaDescriptions.length-1}preloadRemoteMedia(d){const l=this.candidates,u=this.dtlsParameters,h=this.iceParameters,p=this.rtpCapabilities.send;let g=this.sessionDesc.mediaDescriptions.length-1;for(let m=1;mw.payloadType.toString(10))},connections:[{nettype:"IN",addrtype:"IP4",address:"127.0.0.1"}],bandwidths:[],attributes:{iceUfrag:h.iceUfrag,icePwd:h.icePwd,unrecognized:[],candidates:l,extmaps:p.videoExtensions,fingerprints:u.fingerprints,imageattr:[],msids:[],remoteCandidatesList:[],rids:[],ssrcs:N,ssrcGroups:O,rtcpFeedbackWildcards:[],payloads:p.videoCodecs,rtcp:{port:"9",netType:"IN",addressType:"IP4",address:"0.0.0.0"},setup:this.setup,direction:"sendonly",rtcpMux:!0,rtcpRsize:!0,mid:"".concat(++g)}}),this.sessionDesc.mediaDescriptions.push({media:{mediaType:"audio",port:Jc,protos:["UDP","TLS","RTP","SAVPF"],fmts:p.audioCodecs.map(w=>w.payloadType.toString(10))},connections:[{nettype:"IN",addrtype:"IP4",address:"127.0.0.1"}],bandwidths:[],attributes:{iceUfrag:h.iceUfrag,icePwd:h.icePwd,unrecognized:[],candidates:l,extmaps:p.audioExtensions,fingerprints:u.fingerprints,imageattr:[],msids:[],remoteCandidatesList:[],rids:[],ssrcs:R,ssrcGroups:A,rtcpFeedbackWildcards:[],payloads:p.audioCodecs,rtcp:{port:"9",netType:"IN",addressType:"IP4",address:"0.0.0.0"},setup:this.setup,direction:"sendonly",rtcpMux:!0,rtcpRsize:!0,mid:"".concat(++g)}}),this.currentMidIndex+=2}this.updateBundleMids()}toString(){return mo(this.sessionDesc)}send(d,l,u,h){const{ssrcs:p,ssrcGroups:g}=as(l,this.cname,y("SYNC_GROUP")?u:void 0),m=this.findPreloadMediaDesc(p);if(m){if(ne()&&this.firefoxSsrcMidMap.set(p[0].ssrcId,m.attributes.mid),h&&(h.twcc||h.remb)){const f=this.sessionDesc.mediaDescriptions.indexOf(m);return this.sessionDesc.mediaDescriptions[f]=this.mungSendMediaDesc(m,h),{mid:m.attributes.mid,needExchangeSDP:!0}}return{mid:m.attributes.mid,needExchangeSDP:!1}}{const f=this.findAvailableMediaIndex(d,p);let T;return f===-1||f===1&&(je()||function(){const R=vt();return!(R.name!==It.CHROME||!R.osVersion)&&Number(R.version)<=90}()||y("ENABLE_ENCODED_TRANSFORM")&&xr())||f===0&&y("USE_SUB_RTX")||tI()?(T=this.createOrRecycleSendMedia(d,p,g,"sendonly",h),this.updateBundleMids()):(T=te(this.sessionDesc.mediaDescriptions[f]),T.attributes.direction="sendonly",T.attributes.ssrcs=p,T.attributes.ssrcGroups=g,this.sessionDesc.mediaDescriptions[f]=this.mungSendMediaDesc(T,h)),ne()&&this.firefoxSsrcMidMap.set(p[0].ssrcId,T.attributes.mid),{mid:T.attributes.mid,needExchangeSDP:!0}}}sendDataChannel(){const{mediaDesc:d,needExchangeSDP:l}=this.createOrRecycleDataChannel();return this.updateBundleMids(),{mid:d.attributes.mid,needExchangeSDP:l}}batchSend(d){const l=d.map(p=>{let{kind:g,ssrcMsg:m,mslabel:f}=p;return this.send(g,m,f)}),u=[];let h=!1;return l.forEach(p=>{let{mid:g,needExchangeSDP:m}=p;m&&(h=!0),u.push(g)}),{mids:u,needExchangeSDP:h}}stopSending(d){const l=this.sessionDesc.mediaDescriptions.filter(u=>u.attributes.mid&&d.indexOf(u.attributes.mid)!==-1);if(l.length!==d.length)throw new Error("mediaDescriptions' length doesn't match mids' length when calling RemoteSDP.stopSending.");l.forEach(u=>{u.attributes.mid==="0"||ne()||tI()?u.attributes.ssrcs=[]:(u.attributes.ssrcs=[],u.attributes.direction="inactive",u.media.port="0")}),this.updateBundleMids()}mute(d){const l=this.sessionDesc.mediaDescriptions.find(u=>u.attributes.mid===d);if(!l)throw new Error("mediaDescription not found with ".concat(d," in remote SDP when calling RemoteSDP.mute."));l.attributes.direction="inactive"}unmute(d){const l=this.sessionDesc.mediaDescriptions.find(u=>u.attributes.mid===d);if(!l)throw new Error("mediaDescription not found with ".concat(d," in remote SDP when calling RemoteSDP.unmute."));l.attributes.direction="sendonly"}muteRemote(d){const l=this.sessionDesc.mediaDescriptions.filter(u=>G(d).call(d,u.attributes.mid||""));if(l.length!==d.length)throw new Error("mediaDescriptions' length doesn't match mids' length when calling RemoteSDP.muteRemote.");l.forEach(u=>{u.attributes.direction="inactive"})}unmuteRemote(d){const l=this.sessionDesc.mediaDescriptions.filter(u=>G(d).call(d,u.attributes.mid||""));if(l.length!==d.length)throw new Error("mediaDescriptions' length doesn't match mids' length when calling RemoteSDP.muteRemote.");l.forEach(u=>{u.attributes.direction="recvonly"})}receive(d,l,u,h){d.forEach((p,g)=>{this.createOrRecycleRecvMedia(p,[],"recvonly",l,u,h[g])}),this.updateBundleMids()}stopReceiving(d){const l=this.sessionDesc.mediaDescriptions.filter(u=>d.indexOf(u.attributes.mid)!==-1);if(l.length!==d.length)throw new Error("MediaDescriptions' length doesn't match mids's length when calling RemoteSDP.receive.");l.forEach(u=>{u.media.port="0",u.attributes.direction="inactive"}),this.updateBundleMids()}updateRemoteRTPCapabilities(d){const l=this.sessionDesc||Ni((u=this._isUseExtmapAllowMixed,`v=0 +o=- 0 0 IN IP4 127.0.0.1 +s=AgoraGateway +t=0 0 +a=group:BUNDLE 0 1 +a=msid-semantic: WMS +a=ice-lite`.concat(u?` +a=extmap-allow-mixed`:"",` +m=video 9 UDP/TLS/RTP/SAVPF 0 +c=IN IP4 127.0.0.1 +a=rtcp:9 IN IP4 0.0.0.0 +a=sendonly +a=rtcp-mux +a=rtcp-rsize +a=mid:0 +m=audio 9 UDP/TLS/RTP/SAVPF 0 +c=IN IP4 127.0.0.1 +a=rtcp:9 IN IP4 0.0.0.0 +a=sendonly +a=rtcp-mux +a=rtcp-rsize +a=mid:1 +`)));var u;this._rtpCapabilities=d;const h=this.rtpCapabilities.send,p=this.localCapabilities.send;for(const g of l.mediaDescriptions){if(g.attributes.iceUfrag=this._iceParameters.iceUfrag,g.attributes.icePwd=this._iceParameters.icePwd,g.attributes.fingerprints=this._dtlsParameters.fingerprints,g.attributes.candidates=this._candidates,g.attributes.setup=this.setup,g.media.mediaType==="application"&&(g.attributes.sctpPort="5000"),g.media.mediaType==="video"){if(h.videoCodecs.length===0){const m=p.videoCodecs.filter(f=>{var T,R;return(T=f.rtpMap)===null||T===void 0?void 0:G(R=T.encodingName.toLowerCase()).call(R,"vp8")})||[p.videoCodecs[0]];g.media.fmts=m.map(f=>f.payloadType.toString(10)),g.attributes.payloads=m,g.attributes.extmaps=[]}else if(g.media.fmts=h.videoCodecs.map(m=>m.payloadType.toString(10)),g.attributes.payloads=h.videoCodecs,g.attributes.extmaps=h.videoExtensions,y("PRELOAD_MEDIA_COUNT")>0){const{ssrcs:m,ssrcGroups:f}=as([{ssrcId:Qw,rtx:y("USE_SUB_RTX")?40001:void 0}],this.cname);g.attributes.ssrcs=m,g.attributes.ssrcGroups=f}}if(g.media.mediaType==="audio"){if(h.audioCodecs.length===0){const m=p.audioCodecs.filter(f=>{var T,R;return(T=f.rtpMap)===null||T===void 0?void 0:G(R=T.encodingName.toLowerCase()).call(R,"opus")})||[p.audioCodecs[0]];g.media.fmts=m.map(f=>f.payloadType.toString(10)),g.attributes.payloads=m,g.attributes.extmaps=[]}else if(g.media.fmts=h.audioCodecs.map(m=>m.payloadType.toString(10)),g.attributes.payloads=h.audioCodecs,g.attributes.extmaps=h.audioExtensions,wa(g),y("PRELOAD_MEDIA_COUNT")>0){const{ssrcs:m,ssrcGroups:f}=as([{ssrcId:2e4}],this.cname);g.attributes.ssrcs=m,g.attributes.ssrcGroups=f}}}return this.sessionDesc=l,this.currentMidIndex=l.mediaDescriptions.length-1,this.sessionDesc}updateCandidates(d){const l=this._originCandidates.filter(h=>h.transport==="udp"),u=[];if(l.forEach(h=>{u.push(Jw(Jw({},h),{},{foundation:"tcpcandidate",priority:Number(h.priority)-1+"",transport:"tcp",port:Number(h.port)+90+""}))}),l.length!==0){switch(d){case Xe.TCP_RELAY:this._candidates=u;break;case Xe.UDP_TCP_RELAY:case Xe.RELAY:this._candidates=[...l,...u];break;default:this._candidates=l}for(const h of this.sessionDesc.mediaDescriptions)h.attributes.candidates=this.candidates}}restartICE(d){d=te(d),this._iceParameters=d,this.sessionDesc.mediaDescriptions.forEach(l=>{l.attributes.iceUfrag=d.iceUfrag,l.attributes.icePwd=d.icePwd})}predictReceivingMids(d){const l=[];for(let u=0;u{const h=u.media.mediaType===d&&u.media.port!=="0"&&(u.attributes.direction==="sendonly"||u.attributes.direction==="sendrecv")&&u.attributes.ssrcs.length===0;if(ne()){if(h){const p=this.firefoxSsrcMidMap.get(l[0].ssrcId);return!(p||u.attributes.mid!=="0"&&u.attributes.mid!=="1")||!(!p||p!==u.attributes.mid)}return!1}return h})}createOrRecycleDataChannel(){for(const u of this.sessionDesc.mediaDescriptions)if(u.media.mediaType==="application")return{mediaDesc:u,needExchangeSDP:!1};this.currentMidIndex+=1;const d="".concat(this.currentMidIndex),l={media:{mediaType:"application",port:Jc,protos:["UDP","DTLS","SCTP"],fmts:["webrtc-datachannel"]},connections:[{nettype:"IN",addrtype:"IP4",address:"127.0.0.1"}],bandwidths:[],attributes:{iceUfrag:this.iceParameters.iceUfrag,icePwd:this.iceParameters.icePwd,unrecognized:[],candidates:this.candidates,extmaps:[],fingerprints:this.dtlsParameters.fingerprints,imageattr:[],msids:[],remoteCandidatesList:[],rids:[],ssrcs:[],ssrcGroups:[],rtcpFeedbackWildcards:[],payloads:[],rtcp:{port:"9",netType:"IN",addressType:"IP4",address:"0.0.0.0"},setup:this.setup,mid:"".concat(d),sctpPort:"5000"}};return this.sessionDesc.mediaDescriptions.push(l),{mediaDesc:l,needExchangeSDP:!0}}createOrRecycleRecvMedia(d,l,u,h,p,g){const m=d._mediaStreamTrack.kind,f=this.rtpCapabilities.recv,T=Kc(m,f,this.localCapabilities.send,m===q.VIDEO?h:p),R=m===q.VIDEO?f.videoExtensions:f.audioExtensions;this.currentMidIndex+=1;const A="".concat(this.currentMidIndex);let N={media:{mediaType:m,port:Jc,protos:["UDP","TLS","RTP","SAVPF"],fmts:T.map(w=>w.payloadType.toString(10))},connections:[{nettype:"IN",addrtype:"IP4",address:"127.0.0.1"}],bandwidths:[],attributes:{iceUfrag:this.iceParameters.iceUfrag,icePwd:this.iceParameters.icePwd,unrecognized:[],candidates:this.candidates,extmaps:R,fingerprints:this.dtlsParameters.fingerprints,imageattr:[],msids:[],remoteCandidatesList:[],rids:[],ssrcs:l,ssrcGroups:[],rtcpFeedbackWildcards:[],payloads:T,rtcp:{port:"9",netType:"IN",addressType:"IP4",address:"0.0.0.0"},setup:this.setup,direction:u,rtcpMux:!0,rtcpRsize:!0,mid:"".concat(A)}};N=this.mungRecvMediaDsec(N,d,g);const O=this.findFirstClosedMedia(m);if(O){const w=this.sessionDesc.mediaDescriptions.indexOf(O);this.sessionDesc.mediaDescriptions[w]=N}else this.sessionDesc.mediaDescriptions.push(N);return N}updateRemoteCodec(d,l,u){const h=[...new Set(this._rtpCapabilities.recv.videoCodecs.map(N=>N.rtpMap&&N.rtpMap.encodingName.toLowerCase()||"").filter(N=>{var O;return G(O=Object.keys(Eu)).call(O,N)}))],p=new Set(l);if(h.every(N=>p.has(N)))return _.debug("codecs has not changed, no need to updateRemoteCodec, codecs: ".concat(l)),!1;const g=this._rtpCapabilities.recv.videoCodecs.filter(N=>l.some(O=>{var w;return G(w=N.rtpMap&&N.rtpMap.encodingName.toLowerCase()||"").call(w,O)}));if(g.length===0)return _.debug("updateRemoteCodec failed, because cannot find matched codec, remoteCapabilities codecs: ".concat(h," codecs: ").concat(l)),!1;const m=[...new Set(g.map(N=>N.rtpMap&&N.rtpMap.encodingName.toLowerCase()||""))];let f;if(_.debug("updateRemoteCodec, from ".concat(h," to ").concat(m)),d.length===0)f=this.sessionDesc.mediaDescriptions.filter(N=>N.media.mediaType==="video"&&N.attributes.direction==="recvonly");else if(f=this.sessionDesc.mediaDescriptions.filter(N=>N.attributes.mid&&N.media.mediaType==="video"&&G(d).call(d,N.attributes.mid)&&N.attributes.direction==="recvonly"),f.length!==d.length)return _.debug("updateRemoteCodec failed, because cannot find mids, mids: ".concat(d,", codecs: ").concat(l)),!1;if(y("USE_PUB_RTX")||y("USE_SUB_RTX")){const N=km(g,this.rtpCapabilities.recv.videoCodecs);g.push(...N)}this._rtpCapabilities.recv.videoCodecs=g;const T=this.localCapabilities.send,R=this.rtpCapabilities.recv,A=Kc(q.VIDEO,R,T,u);return f.forEach(N=>{const O=A.map(w=>w.payloadType.toString(10));_.debug("updateRemoteCodec mid: ".concat(N.attributes.mid,", from"),N.attributes.payloads,"to",A),N.attributes.payloads=A,N.media.fmts=O}),!0}createOrRecycleSendMedia(d,l,u,h,p){const g=this.rtpCapabilities.send,m=d===q.VIDEO?g.videoCodecs:g.audioCodecs,f=d===q.VIDEO?g.videoExtensions:g.audioExtensions;this.currentMidIndex+=1;const T="".concat(this.currentMidIndex);let R={media:{mediaType:d,port:Jc,protos:["UDP","TLS","RTP","SAVPF"],fmts:m.map(N=>N.payloadType.toString(10))},connections:[{nettype:"IN",addrtype:"IP4",address:"127.0.0.1"}],bandwidths:[],attributes:{iceUfrag:this.iceParameters.iceUfrag,icePwd:this.iceParameters.icePwd,unrecognized:[],candidates:this.candidates,extmaps:f,fingerprints:this.dtlsParameters.fingerprints,imageattr:[],msids:[],remoteCandidatesList:[],rids:[],ssrcs:l,ssrcGroups:u,rtcpFeedbackWildcards:[],payloads:m,rtcp:{port:"9",netType:"IN",addressType:"IP4",address:"0.0.0.0"},setup:this.setup,direction:h,rtcpMux:!0,rtcpRsize:!0,mid:"".concat(T)}};R=this.mungSendMediaDesc(R,p);const A=this.findFirstClosedMedia(d);if(A){const N=this.sessionDesc.mediaDescriptions.indexOf(A);this.sessionDesc.mediaDescriptions[N]=R}else this.sessionDesc.mediaDescriptions.push(R);return R}updateBundleMids(){this.sessionDesc.attributes.groups[0].identificationTag=this.sessionDesc.mediaDescriptions.filter(d=>d.media.port!=="0").map(d=>d.attributes.mid)}mungRecvMediaDsec(d,l,u){const h=te(d);return Pm(h),ba(h,l),Lm(h,l),Rw(h),ju(h,u,this.localCapabilities.send),h}mungSendMediaDesc(d,l){const u=te(d);return ju(u,l,this.localCapabilities.recv),wa(u),u}updateRecvMedia(d,l){const u=this.sessionDesc.mediaDescriptions.findIndex(h=>h.attributes.mid===d);if(u!==-1){const h=this.mungRecvMediaDsec(this.sessionDesc.mediaDescriptions[u],l);this.sessionDesc.mediaDescriptions[u]=h}}bumpMid(d){this.currentMidIndex+=d}findFirstClosedMedia(d){return this.sessionDesc.mediaDescriptions.find(l=>ne()?l.media.port==="0"&&l.media.mediaType===d:l.media.port==="0")}findPreloadMediaDesc(d){return this.sessionDesc.mediaDescriptions.find(l=>{var u;return((u=l.attributes)===null||u===void 0||(u=u.ssrcs[0])===null||u===void 0?void 0:u.ssrcId)===d[0].ssrcId})}getSSRC(d){var l;return(l=this.sessionDesc.mediaDescriptions.find(u=>u.attributes.mid===d))===null||l===void 0?void 0:l.attributes.ssrcs}}(ir(ir({},e),{},{localCapabilities:this.localCapabilities}),this.supportAV1RtpSpec),e.preallocation&&(this.isPreallocation=!0),Array.isArray(this.remoteCodecs)&&this.remoteCodecs.length>0&&this.remoteSDP.updateRemoteCodec([],this.remoteCodecs,this.store.codec);const r=this.remoteSDP.toString(),o=Iw(this.initialOffer.sdp,this.extension),s=this.logSDPExchange(o||"","offer","local","connect");this.store.descriptionStart(),yield this.peerConnection.setLocalDescription({type:"offer",sdp:o}),s==null||s(r),yield this.peerConnection.setRemoteDescription({type:"answer",sdp:r});const a=this.peerConnection.getTransceivers()[0];if(a!=null&&a.receiver&&this.tryBindTransportEvents(a.receiver),y("PRELOAD_MEDIA_COUNT")>0){this.remoteSDP.preloadRemoteMedia(y("PRELOAD_MEDIA_COUNT"));const d=this.remoteSDP.toString();yield this.peerConnection.setRemoteDescription({type:"offer",sdp:d});const l=yield this.peerConnection.createAnswer();yield this.peerConnection.setLocalDescription(l)}const{preSSRCs:c}=e;if(Array.isArray(c)&&c.length>0){const{mids:d}=this.remoteSDP.batchSend(c.map(l=>({kind:l.kind,ssrcMsg:[{ssrcId:l.ssrcId,rtx:l.rtx}],mslabel:l.mslabel})));d.forEach((l,u)=>{this.preSSRCMap.set(c[u].ssrcId,l)}),yield Yc(this.peerConnection,this.remoteSDP,this.extension),_.debug("[".concat(this.store.clientId,"] [P2PConnection] pre-batchReceive exchange SDP."))}}catch(r){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection.connect failed; ".concat(r.toString()))}var i,n})}updateRemoteConnect(e){return C(this,null,function*(){try{if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.updateRemoteConnect before remote SDP created");const{rtpCapabilities:i}=e;this.remoteSDP.updateRemoteRTPCapabilities(i),Array.isArray(this.remoteCodecs)&&this.remoteCodecs.length>0&&this.remoteSDP.updateRemoteCodec([],this.remoteCodecs,this.store.codec);const{preSSRCs:n}=e;if(Array.isArray(n)&&n.length>0){const{mids:r}=this.remoteSDP.batchSend(n.map(o=>Object.assign({},{kind:o.kind,ssrcMsg:[{ssrcId:o.ssrcId,rtx:o.rtx}],mslabel:o.mslabel})));r.forEach((o,s)=>{this.preSSRCMap.set(n[s].ssrcId,o)})}yield Yc(this.peerConnection,this.remoteSDP,this.extension),_.debug("[P2PConnection] updateRemoteRTPCapabilities by exchanging SDP.")}catch(i){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection.updateRemoteConnect failed; ".concat(i.toString()))}})}send(e,i,n){var r=this;return cn(function*(){const o=yield Rt(r.mutex.lock("From P2PConnection.send"));try{if(!r.remoteSDP)throw new Error("Cannot call P2PConnection.send before remote SDP created");const s=[],a=Vu();e.forEach(f=>{const T=r.peerConnection.addTransceiver(f._mediaStreamTrack,ir({direction:"sendonly"},f.trackMediaType==="video"&&r.supportAV1RtpSpec&&a?{sendEncodings:[{scalabilityMode:a}]}:{}));s.push(T),f._updateRtpTransceiver(T)}),ne()&&y("SIMULCAST")===!0&&(yield Rt(r.applySimulcastForFirefox(s,e)));const c=yield Rt(r.peerConnection.createOffer()),d=r.remoteSDP.predictReceivingMids(e.length),l=r.mungSendOfferSDP(c.sdp,e,d),u=Ni(l),h=d.map(f=>{const T=u.mediaDescriptions.find(R=>R.attributes.mid===f);if(!T)throw new Error("Cannot extract ssrc from mediaDescription.");return gw(T,y("USE_PUB_RTX"))});let p;try{p=yield h}catch(f){p=[],r.remoteSDP.receive(e,i,n,p);const T=r.remoteSDP.toString();throw yield Rt(r.peerConnection.setLocalDescription({type:"offer",sdp:l})),yield Rt(r.peerConnection.setRemoteDescription({type:"answer",sdp:T})),yield Rt(r.stopSending(d,!0)),f}r.remoteSDP.receive(e,i,n,p);const g=r.remoteSDP.toString(),m=r.logSDPExchange(l,"offer","local","send");return yield Rt(r.peerConnection.setLocalDescription({type:"offer",sdp:l})),yield Rt(r.applySimulcastEncodings(s,e)),yield Rt(r.applySendEncodings(s,e)),m==null||m(g),yield Rt(r.peerConnection.setRemoteDescription({type:"answer",sdp:g})),s.map((f,T)=>{const R=d[T];return{localSSRC:h[T],id:R,transceiver:f}})}catch(s){throw s instanceof k?s:new k(v.EXCHANGE_SDP_FAILED,"P2PConnection.send failed; ".concat(s.toString()))}finally{o()}})()}createDataChannels(e,i){return C(this,null,function*(){try{if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.createDataChannels before remote SDP created");let n=this.dataStreamChannelMap.get(e);if(n&&n.readyState==="open")_.debug("[P2PConnection] Channels are already available and can be reused directly.");else{const o=this.currentDataChannelId<1023?this.currentDataChannelId++:this.recoveredDataChannelIds.shift();if(typeof o!="number")throw new Error("create DataChannel error, because cannot get dc id");n=this.peerConnection.createDataChannel("datastream-channel",{id:o,negotiated:!0,ordered:!1,maxRetransmits:y("DATASTREAM_MAX_RETRANSMITS")}),n.binaryType="arraybuffer",this.dataStreamChannelMap.set(e,n)}i.forEach(o=>{o._updateOriginDataChannel(n)});const{needExchangeSDP:r}=this.remoteSDP.sendDataChannel();if(r){const o=this.remoteSDP.toString();yield this.peerConnection.setRemoteDescription({type:"offer",sdp:o});const s=yield this.peerConnection.createAnswer();yield this.peerConnection.setLocalDescription(s),_.debug("[P2PConnection] createDataChannels by exchanging SDP.")}else _.debug("[P2PConnection] createDataChannels no need to exchange SDP.");return}catch(n){throw n instanceof k?n:new k(v.EXCHANGE_SDP_FAILED,"P2PConnection.createDataChannels failed; ".concat(n.toString()))}})}stopDataChannels(e){return C(this,null,function*(){try{const i=this.dataStreamChannelMap.get(e);return i&&(i.id&&this.recoveredDataChannelIds.push(i.id),i.close()),void this.dataStreamChannelMap.delete(e)}catch(i){throw i instanceof k?i:new k(v.DATACHANNEL_FAILED,"P2PConnection.stopDataChannels failed; ".concat(i.toString()))}})}stopSending(e,i){return C(this,null,function*(){const n=i?void 0:yield this.mutex.lock("From P2PConnection.stopSending");try{if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.stopSending before remote SDP created");const r=this.peerConnection.getTransceivers().filter(c=>e.indexOf(c.mid)!==-1);if(r.length!==e.length)throw new Error("Transceivers' length doesn't match mids' length when trying to call P2PConnection.stopSending.");r.map(c=>{var d;Xu(this.id+c.mid,this),c.direction="inactive",(d=c.stop)===null||d===void 0||d.call(c)});const o=yield this.peerConnection.createOffer(),s=this.logSDPExchange(o.sdp||"","offer","local","stopSending");yield this.peerConnection.setLocalDescription(o),this.remoteSDP.stopReceiving(e);const a=this.remoteSDP.toString();s==null||s(a),yield this.peerConnection.setRemoteDescription({type:"answer",sdp:a})}catch(r){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection.stopSending failed; ".concat(r.toString()))}finally{n&&n()}})}receive(e,i,n,r){return C(this,null,function*(){try{if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.receive ".concat(e," before remoteSDP created."));const{mid:o,needExchangeSDP:s}=this.remoteSDP.send(e,i,n,r);s&&(yield Yc(this.peerConnection,this.remoteSDP,this.extension),_.debug("[".concat(this.store.clientId,"] [P2PConnection] receive ").concat(e," by exchanging SDP.")));const a=this.peerConnection.getTransceivers().find(c=>c.mid===o);if(!a)throw new Error("Cannot get transceiver after setLocalDescription.");return{track:a.receiver.track,id:o,transceiver:a}}catch(o){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection.receive failed; ".concat(o.toString()))}})}batchReceive(e){return C(this,null,function*(){try{if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.batchReceive before remoteSDP created.");const{mids:i,needExchangeSDP:n}=this.remoteSDP.batchSend(e);return n&&(yield Yc(this.peerConnection,this.remoteSDP,this.extension),_.debug("[".concat(this.store.clientId,"] [P2PConnection] batchReceive by exchanging SDP."))),i.map(r=>{const o=this.peerConnection.getTransceivers().find(s=>s.mid===r);if(!o)throw new Error("Cannot get transceiver after setLocalDescription.");return{track:o.receiver.track,id:r,transceiver:o}})}catch(i){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection.receive failed; ".concat(i.toString()))}})}stopReceiving(e){return C(this,null,function*(){try{if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.stopReceiving before remote SDP created.");e.forEach(o=>{Array.from(this.preSSRCMap.entries()).some(s=>{let[a,c]=s;if(c===o)return this.preSSRCMap.delete(a),!0})}),this.remoteSDP.stopSending(e);const i=this.remoteSDP.toString(),n=this.logSDPExchange(i,"offer","remote","stopReceiving");yield this.peerConnection.setRemoteDescription({type:"offer",sdp:i});const r=yield this.peerConnection.createAnswer();n==null||n(r.sdp||""),yield this.peerConnection.setLocalDescription(r)}catch(i){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection stopReceiving failed; ".concat(i.toString()))}})}muteRemote(e){return C(this,null,function*(){try{if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.muteRemote mid=".concat(e," before remote SDP created."));this.remoteSDP.mute(e);const i=this.remoteSDP.toString(),n=this.logSDPExchange(i,"offer","remote","muteRemote");yield this.peerConnection.setRemoteDescription({type:"offer",sdp:i});const r=yield this.peerConnection.createAnswer();n==null||n(r.sdp||""),yield this.peerConnection.setLocalDescription(r)}catch(i){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection.muteRemote failed; ".concat(i.toString()))}})}unmuteRemote(e){return C(this,null,function*(){try{if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.unmuteRemote mid=".concat(e," before remote SDP created."));this.remoteSDP.unmute(e);const i=this.remoteSDP.toString(),n=this.logSDPExchange(i,"offer","remote","unmuteRemote");yield this.peerConnection.setRemoteDescription({type:"offer",sdp:i});const r=yield this.peerConnection.createAnswer();n==null||n(r.sdp||""),yield this.peerConnection.setLocalDescription(r)}catch(i){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection.unmuteRemote failed; ".concat(i.toString()))}})}muteLocal(e){return C(this,null,function*(){try{if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.muteLocal before remote SDP created.");const i=this.peerConnection.getTransceivers().filter(s=>s.mid&&e.indexOf(s.mid)!==-1);if(i.length!==e.length)throw new Error("Transceivers' length doesn't match mids' length.");i.map(s=>{s.direction="inactive"});const n=yield this.peerConnection.createOffer(),r=this.logSDPExchange(n.sdp||"","offer","local","muteLocal");yield this.peerConnection.setLocalDescription(n),this.remoteSDP.muteRemote(e);const o=this.remoteSDP.toString();r==null||r(o),yield this.peerConnection.setRemoteDescription({type:"answer",sdp:o})}catch(i){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection.muteLocal failed; ".concat(i.toString()))}})}unmuteLocal(e){return C(this,null,function*(){try{if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.unmuteLocal before remote SDP created.");const i=this.peerConnection.getTransceivers().filter(s=>s.mid&&e.indexOf(s.mid)!==-1);if(i.length!==e.length)throw new Error("Transceivers' length doesn't match mids' length.");i.map((s,a)=>C(this,null,function*(){s.direction="sendonly"}));const n=yield this.peerConnection.createOffer(),r=this.logSDPExchange(n.sdp||"","offer","local","unmuteLocal");yield this.peerConnection.setLocalDescription(n),this.remoteSDP.unmuteRemote(e),Array.isArray(this.remoteCodecs)&&this.remoteCodecs.length>0&&this.remoteSDP.updateRemoteCodec(e,this.remoteCodecs,this.store.codec);const o=this.remoteSDP.toString();r==null||r(o),yield this.peerConnection.setRemoteDescription({type:"answer",sdp:o})}catch(i){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection.unmuteLocal failed; ".concat(i.toString()))}})}restartICE(e){var i=this;return cn(function*(){const n=yield Rt(i.mutex.lock("From P2PConnection.restartICE"));try{if(!i.remoteSDP)throw new Error("Cannot restartICE before remoteSDP created.");const r=Ct().supportPCSetConfiguration,o=y("FORCE_TURN_TCP")||i.forceTurn;if(e===Xe.RELAY&&!r)return;if(r&&!o){const u=e===Xe.RELAY?"relay":"all",h=i.peerConnection.getConfiguration();h.iceTransportPolicy!==u&&(_.debug("[".concat(i.store.clientId,"] restartICE change iceTransportPolicy from [").concat(h.iceTransportPolicy,"] to [").concat(u,"]")),h.iceTransportPolicy=u,i.peerConnection.setConfiguration(h))}i.remoteSDP.updateCandidates(e);const s=yield Rt(i.peerConnection.createOffer({iceRestart:!0}));if(!s.sdp)throw new Error("Cannot restartICE because restart offer SDP does not exist.");const a=Ro(s.sdp),{remoteIceParameters:c}=yield a.iceParameters;i.remoteSDP.restartICE(c);const d=i.remoteSDP.toString(),l=i.logSDPExchange(s.sdp||"","offer","local","restartICE");i.store.descriptionStart(),yield Rt(i.peerConnection.setLocalDescription(s)),l==null||l(d),yield Rt(i.peerConnection.setRemoteDescription({type:"answer",sdp:d}))}catch(r){_.warning("[".concat(i.store.clientId,"] restart ICE failed, abort operation"),r)}finally{n()}})()}extendCandidate(){return C(this,null,function*(){if(!this.remoteSDP||this.isFirstConnected)return;const e=yield this.mutex.lock("From P2PConnection.extendCandidate");try{this.remoteSDP.updateCandidates(Xe.TCP_RELAY),yield Yc(this.peerConnection,this.remoteSDP,this.extension)}catch(i){_.warning("[".concat(this.store.clientId,"] extend candidate failed, abort operation"),i)}finally{e()}})}close(){var e;this.peerConnection.getTransceivers().forEach(i=>{Xu(this.id+i.mid,this)}),this.preSSRCMap.clear(),this.peerConnection.close(),(e=this.onConnectionStateChange)===null||e===void 0||e.call(this,"closed"),this.tryUnbindTransportEvents(),this.unbindPCEvents(),this.unbindStatsEvents(),this.removeAllListeners(),this.transportEventReceiver=void 0,this.statsFilter.destroy(),this.dataStreamChannelMap.clear(),this.recoveredDataChannelIds=[],this.currentDataChannelId=1}getStats(){return ir(ir({},this.statsFilter.getStats()),{},{qualityLimitationReason:this.qualityLimitationReason})}getRemoteVideoIsReady(e){return this.statsFilter.getVideoIsReady(e)}updateEncoderConfig(e,i){return C(this,null,function*(){try{if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.updateEncoderConfig before remote SDP created.");const n=yield this.peerConnection.createOffer(),r=this.mungSendOfferSDP(n.sdp,[i],[e]);this.remoteSDP.updateRecvMedia(e,i);const o=this.remoteSDP.toString(),s=this.logSDPExchange(r,"offer","local","updateEncoderConfig");yield this.peerConnection.setLocalDescription({type:"offer",sdp:r}),s==null||s(o),yield this.peerConnection.setRemoteDescription({type:"answer",sdp:o})}catch(n){throw new k(v.EXCHANGE_SDP_FAILED,n.toString())}})}updateSendParameters(e,i){return C(this,null,function*(){const n=this.peerConnection.getTransceivers().filter(r=>r.mid===e);n.length===1&&(this.isVP8Simulcast(i)?ne()||(yield this.applySimulcastEncodings(n,[i])):yield this.applySendEncodings(n,[i]))})}setStatsRemoteVideoIsReady(e,i){this.statsFilter.setVideoIsReady2(e,i)}replaceTrack(e,i){return C(this,null,function*(){const n=this.peerConnection.getTransceivers().find(r=>r.mid===i);n&&(yield n.sender.replaceTrack(e._mediaStreamTrack))})}getSelectedCandidatePair(){return C(this,null,function*(){const e=this.peerConnection.getReceivers();if(e.length>0&&e[0].transport&&e[0].transport.iceTransport&&e[0].transport.iceTransport.getSelectedCandidatePair&&e[0].transport.iceTransport.getSelectedCandidatePair()){const i=e[0].transport.iceTransport,{local:n,remote:r}=i.getSelectedCandidatePair();return{local:ir(ir({},mr),{},{candidateType:n.type,protocol:n.protocol,address:n.address,port:n.port}),remote:ir(ir({},mr),{},{candidateType:r.type,protocol:r.protocol,address:r.address,port:r.port})}}return this.statsFilter.getSelectedCandidatePair()})}bindPCEvents(){this.peerConnection.oniceconnectionstatechange=()=>{var e;(e=this.onICEConnectionStateChange)===null||e===void 0||e.call(this,this.peerConnection.iceConnectionState)},this.peerConnection.onconnectionstatechange=()=>{var e;this.peerConnection.connectionState==="connected"&&(this.isFirstConnected=!0),(e=this.onConnectionStateChange)===null||e===void 0||e.call(this,this.peerConnection.connectionState)},this.peerConnection.onicecandidateerror=e=>{if(e&&(e.errorCode||e.errorText)){var i;const n="code: ".concat(e.errorCode,", message: ").concat(e.errorText),r=e.port?"local: ".concat(e.port):"";_.debug("[".concat(this.store.clientId,"] [p2pId: ").concat(this.store.p2pId,"]: P2PConnection.onICECandidateError(").concat(n,"), url: ").concat(e.url||"",", host_candidate:").concat(r)),(i=this.onICECandidateError)===null||i===void 0||i.call(this,n)}},this.peerConnection.onicegatheringstatechange=e=>{e&&e.target&&"iceGatheringState"in e.target&&_.debug("[".concat(this.store.clientId,"] [pc-").concat(this.store.p2pId,"] RTCPeerConnection.onicegatheringstatechange(").concat(e.target.iceGatheringState,")"))},this.peerConnection.onicecandidate=e=>{e.candidate?this.localCandidateCount+=1:(this.peerConnection.onicecandidate=null,this.allCandidatesReceived=!0,_.debug("[".concat(this.store.clientId,"] [pc-").concat(this.store.p2pId,"] local candidate count"),this.localCandidateCount))},setTimeout(()=>{this.allCandidatesReceived||(this.allCandidatesReceived=!0,_.debug("[".concat(this.store.clientId,"] [pc-").concat(this.store.p2pId,"] onicecandidate timeout, local candidate count"),this.localCandidateCount))},y("CANDIDATE_TIMEOUT"))}unbindPCEvents(){this.peerConnection.oniceconnectionstatechange=null,this.peerConnection.onconnectionstatechange=null,this.peerConnection.onsignalingstatechange=null,this.peerConnection.onicecandidateerror=null,this.peerConnection.onicecandidate=null,this.peerConnection.ontrack=null}static resolvePCConfiguration(e){const i={iceServers:[]};return e.iceServers?i.iceServers=e.iceServers:e.turnServer&&(Nc(e.turnServer.servers)?i.iceServers=e.turnServer.servers:y("NEW_TURN_MODE")&&i.iceServers?(y("USE_TURN_SERVER_OF_GATEWAY")?e.turnServer.serversFromGateway&&i.iceServers.push(...ys.newTurnServerConfigToIceServers(e.turnServer.serversFromGateway)):i.iceServers.push(...ys.newTurnServerConfigToIceServers(e.turnServer.servers)),y("NEW_FORCE_TURN")&&(i.iceTransportPolicy="relay")):e.turnServer.mode!=="off"&&(i.iceServers&&i.iceServers.push(...ys.turnServerConfigToIceServers(e.turnServer.servers)),y("USE_TURN_SERVER_OF_GATEWAY")&&i.iceServers&&e.turnServer.serversFromGateway&&i.iceServers.push(...ys.turnServerConfigToIceServers(e.turnServer.serversFromGateway)),y("FORCE_TURN_TCP")?i.iceTransportPolicy="relay":e.turnServer.servers.concat(e.turnServer.serversFromGateway||[]).forEach(n=>{n.forceturn&&(i.iceTransportPolicy="relay")}))),y("ENABLE_ENCODED_TRANSFORM")&&Ct().supportWebRTCEncodedTransform&&(i.encodedInsertableStreams=!0),i}static turnServerConfigToIceServers(e){const i=[];return e.forEach(n=>{n.security?n.tcpport&&i.push({username:n.username,credential:n.password,credentialType:"password",urls:"turns:".concat(So(n.turnServerURL),":").concat(n.tcpport,"?transport=tcp")}):(n.udpport&&!y("FORCE_TURN_TCP")&&i.push({username:n.username,credential:n.password,credentialType:"password",urls:"turn:".concat(n.turnServerURL,":").concat(n.udpport,"?transport=udp")}),n.tcpport&&i.push({username:n.username,credential:n.password,credentialType:"password",urls:"turn:".concat(n.turnServerURL,":").concat(n.tcpport,"?transport=tcp")}))}),i}static newTurnServerConfigToIceServers(e){const i=[];return e.forEach(n=>{const r=y("NEW_TURN_MODE");r===1?i.push({username:n.username,credential:n.password,credentialType:"password",urls:"turn:".concat(n.turnServerURL,":3478?transport=udp")}):r===2?i.push({username:n.username,credential:n.password,credentialType:"password",urls:"turn:".concat(n.turnServerURL,":3478?transport=tcp")}):r===3?i.push({username:n.username,credential:n.password,credentialType:"password",urls:"turns:".concat(So(n.turnServerURL),":443?transport=tcp")}):r===4&&(i.push({username:n.username,credential:n.password,credentialType:"password",urls:"turn:".concat(n.turnServerURL,":3478?transport=udp")}),i.push({username:n.username,credential:n.password,credentialType:"password",urls:"turn:".concat(n.turnServerURL,":3478?transport=tcp")}),i.push({username:n.username,credential:n.password,credentialType:"password",urls:"turns:".concat(So(n.turnServerURL),":443?transport=tcp")}))}),i}tryBindTransportEvents(e){const i=e.transport;if(i){this.transportEventReceiver=e,i.onstatechange=()=>{var r;i!=null&&i.state&&((r=this.onDTLSTransportStateChange)===null||r===void 0||r.call(this,i.state))},i.onerror=r=>{var o;(o=this.onDTLSTransportError)===null||o===void 0||o.call(this,"error"in r?r.error:r)};const n=i.iceTransport;n&&(n.onstatechange=()=>{const r=i==null?void 0:i.iceTransport.state;var o;r&&((o=this.onICETransportStateChange)===null||o===void 0||o.call(this,r))},n.getSelectedCandidatePair&&(n.onselectedcandidatepairchange=()=>{if(n.getSelectedCandidatePair()){const{local:r,remote:o}=n.getSelectedCandidatePair();_.info("[".concat(this.store.clientId,"] [pc-").concat(this.store.p2pId,"] selectedcandidatepairchange: local ").concat(JSON.stringify({candidateType:r.type,protocol:r.protocol}),", remote ").concat(JSON.stringify({candidateType:o.type,protocol:o.protocol,address:o.address,port:o.port})," )"))}}))}}tryUnbindTransportEvents(){this.transportEventReceiver&&this.transportEventReceiver.transport&&(this.transportEventReceiver.transport.onstatechange=null,this.transportEventReceiver.transport.onerror=null,this.transportEventReceiver.transport.iceTransport&&(this.transportEventReceiver.transport.iceTransport.onstatechange=null))}updateRtpSenderEncodings(e,i){return C(this,null,function*(){var n,r;if(i||(i=this.peerConnection.getSenders().find(f=>f.track===e._mediaStreamTrack)),!i)return _.warn("[".concat(e.getTrackId(),"] no rtpSender found}"));if(this.isVP8Simulcast(e))return _.warn("[updateRtpSenderEncodings] Track is VP8 simulcast, please apply simulcast encodings");if(!Ct().supportSetRtpSenderParameters)return _.warn("[updateRtpSenderEncodings] Browser not support set rtp-sender parameters");const o={},s={};switch(e._optimizationMode){case"motion":o.degradationPreference="maintain-framerate";break;case"detail":o.degradationPreference="maintain-resolution";break;case"balanced":o.degradationPreference="balanced"}const a=function(m,f){return m.getTransceivers().find(T=>T.sender.track===f||T.receiver.track===f)}(this.peerConnection,e._mediaStreamTrack),c=E3(e);if(OW(e)&&a&&i&&c&&this.getLocalVideoStats&&G(n=["vp8","vp9"]).call(n,this.store.codec)){var d;const m=o.degradationPreference||(G(d=e._hints).call(d,Vt.CUSTOM_TRACK)?y("CUSTOM_ADAPTATION_DEFAULT_MODE"):"maintain-framerate");(function(f,T,R,A,N,O){if(Xu(f,R),N(T),A!=="balanced"&&A!=="maintain-framerate"&&A!=="maintain-resolution")return;let w=-1;t0(f,T);const L=window.setInterval(()=>{const j=zu.get(f);if(!y("ENABLE_AG_ADAPTATION")||!j)return Xu(f,R),void N(T);const H=O();if(H.sendPackets>0&&H.OutgoingAvailableBandwidth>0){if(w===-1)return void(w=Date.now());if(Date.now()-w<1e3)return;const ht=H.sendFrameRate,lt=H.OutgoingAvailableBandwidth,[rt,Kt]=wW(f,ht,lt,j.adaptationConfig,T,A);Kt&&(R.qualityLimitationReason=Kt),rt&&j.adaptationConfig.scale!==rt.scale&&(_.debug("[".concat(f,"] applyAdaptation: ").concat(R.qualityLimitationReason,` + sendFps `).concat(ht,", bwe ").concat(lt,", switch from ").concat(j.adaptationConfig.scale," to ").concat(rt.scale," ")),j.adaptationConfig=Km(Km({},j.adaptationConfig),rt),N(rt))}},y("CHECK_LOCAL_STATS_INTERVAL")),M=Km({},T);zu.set(f,{timer:L,adaptationConfig:M,originConfig:T,adaptationFunc:N}),_.debug("[".concat(f,"] start adaptation, originConfig: ").concat(JSON.stringify(T),", degradationPreference: ").concat(A))})(this.id+a.mid,c,this,m,f=>{i&&this.updateAdaptation(i,f)},this.getLocalVideoStats.bind(this))}if(e._encoderConfig){var l;const{bitrateMax:m,frameRate:f,scaleResolutionDownBy:T}=e._encoderConfig;m&&(s.maxBitrate=1e3*m),(G(l=e._hints).call(l,Vt.LOW_STREAM)||e.isUseScaleResolutionDownBy)&&(f&&(s.maxFramerate=Bi(f)),T&&T>=1&&(s.scaleResolutionDownBy=T))}const{maxFramerate:u}=y("ENCODER_CONFIG_LIMIT");if(u&&typeof u=="number"&&(s.maxFramerate=s.maxFramerate?Math.min(s.maxFramerate,u):u),y("DSCP_TYPE")&&Vr()){var h;const m=y("DSCP_TYPE");G(h=["very-low","low","medium","high"]).call(h,m)&&(s.networkPriority=m)}const p=i.getParameters(),g=(r=p.encodings)===null||r===void 0?void 0:r[0];ne()&&!g&&(o.encodings=[s]),g&&Object.assign(g,s),Object.assign(p,o),_.debug("[".concat(e.getTrackId(),"] updateRtpSenderEncodings: ").concat(JSON.stringify(p.encodings))),yield i.setParameters(p),yield function(m,f,T){return C(this,null,function*(){try{var R;if(!Ct().supportSetRtpSenderParameters||!function(L){return L==="vp9"||L==="av1"}(m)||!y("ENABLE_SVC"))return;const A={},N={},O=f.getParameters(),w=(R=O.encodings)===null||R===void 0?void 0:R[0];N.scalabilityMode=Vu(T),w&&Object.assign(w,N),Object.assign(O,A),yield f.setParameters(O),_.debug("[updateAdaptation] updateRtpSenderEncodings scalabilityMode success: ".concat(JSON.stringify(O.encodings)))}catch(A){_.debug("[updateAdaptation] updateRtpSenderEncodings scalabilityMode failed",A)}})}(this.store.codec,i,y("SVC_MODE"))})}updateAdaptation(e,i){return C(this,null,function*(){var n,r;if(!e)return _.debug("[updateAdaptation] no rtpSender found");if(!Ct().supportSetRtpSenderParameters)return _.debug("[updateAdaptation] Browser not support set rtp-sender parameters");const o={},{bitrateMax:s,frameRate:a,scaleResolutionDownBy:c}=i;s&&(o.maxBitrate=1e3*s),a&&(o.maxFramerate=Bi(a)),c&&c>=1&&G(n=["vp8","vp9"]).call(n,this.store.codec)&&(o.scaleResolutionDownBy=c);const d=e.getParameters(),l=(r=d.encodings)===null||r===void 0?void 0:r[0];l&&Object.assign(l,o),Object.assign(d,{});try{yield e.setParameters(d),_.debug("[updateAdaptation] updateRtpSenderEncodings: ".concat(JSON.stringify(d.encodings)))}catch(u){!("transport"in e)||e.transport&&e.transport.state==="connected"?this.peerConnectionState!=="connected"?_.debug("[updateAdaptation] peerConnection not connected}"):_.debug("[updateAdaptation] updateRtpSenderEncodings failed",u):_.debug("[updateAdaptation] rtpSender transport not connected}")}})}applySendEncodings(e,i){return C(this,null,function*(){try{if(!Ct().supportSetRtpSenderParameters||e.length!==i.length)return;for(let n=0;n{const a=n[s],c=r.mediaDescriptions.find(d=>d.attributes.mid===a);c&&(ba(c,o),vw(c,o,this.store.codec))}),mo(r)}bindStatsEvents(){this.statsFilter.onFirstAudioReceived=e=>{var i;(i=this.onFirstAudioReceived)===null||i===void 0||i.call(this,e)},this.statsFilter.onFirstVideoReceived=e=>{var i;(i=this.onFirstVideoReceived)===null||i===void 0||i.call(this,e)},this.statsFilter.onFirstAudioDecoded=e=>{var i;(i=this.onFirstAudioDecoded)===null||i===void 0||i.call(this,e)},this.statsFilter.onFirstVideoDecoded=(e,i,n)=>{var r;(r=this.onFirstVideoDecoded)===null||r===void 0||r.call(this,e,i,n)},this.statsFilter.onSelectedLocalCandidateChanged=(e,i)=>{var n;(n=this.onSelectedLocalCandidateChanged)===null||n===void 0||n.call(this,e,i)},this.statsFilter.onSelectedRemoteCandidateChanged=(e,i)=>{var n;(n=this.onSelectedRemoteCandidateChanged)===null||n===void 0||n.call(this,e,i)},this.statsFilter.onFirstVideoDecodedTimeout=e=>{var i;(i=this.onFirstVideoDecodedTimeout)===null||i===void 0||i.call(this,e)}}unbindStatsEvents(){this.statsFilter.onFirstAudioReceived=void 0,this.statsFilter.onFirstVideoReceived=void 0,this.statsFilter.onFirstAudioDecoded=void 0,this.statsFilter.onFirstVideoDecoded=void 0,this.statsFilter.onSelectedLocalCandidateChanged=void 0,this.statsFilter.onSelectedRemoteCandidateChanged=void 0,this.statsFilter.onFirstVideoDecodedTimeout=void 0}applySimulcastForFirefox(e,i){return C(this,null,function*(){if(e.length===i.length)for(let c=0;c200&&(s=l._scalabilityMode)!==null&&s!==void 0&&s.numSpatialLayers&&((a=l._scalabilityMode)===null||a===void 0?void 0:a.numSpatialLayers)>1&&this.store.codec==="vp8"){const u={},h={high:1e3*(l._encoderConfig.bitrateMax-50),medium:5e4};u.encodings=[{rid:"m",active:!0,maxBitrate:h.medium,scaleResolutionDownBy:4},{rid:"h",active:!0,maxBitrate:h.high}];const p=d.sender.getParameters();yield d.sender.setParameters(Object.assign(p,u))}}})}applySimulcastEncodings(e,i){return C(this,null,function*(){if(!ne()&&e.length===i.length)for(let n=0;n200&&(o=e._scalabilityMode)!==null&&o!==void 0&&o.numSpatialLayers&&((s=e._scalabilityMode)===null||s===void 0?void 0:s.numSpatialLayers)>1)}logSDPExchange(e,i,n,r){if(y("SDP_LOGGING"))return _.upload("[".concat(this.store.clientId,"] exchanging ").concat(n," ").concat(i," SDP during P2PConnection.").concat(r,` +`),e),i==="offer"?o=>{this.logSDPExchange(o,"answer",n==="local"?"remote":"local",r)}:void 0}getRemoteSSRC(e){return C(this,null,function*(){if(!this.remoteSDP)return;const i=this.remoteSDP.getSSRC(e);return i&&i.length!==0?i[0].ssrcId:void 0})}setConfiguration(e){if(Ct().supportPCSetConfiguration){const i=ys.resolvePCConfiguration(e);this.peerConnection.setConfiguration(i)}}},Q(St.prototype,"updateRemoteRTPCapabilities",[vi],Object.getOwnPropertyDescriptor(St.prototype,"updateRemoteRTPCapabilities"),St.prototype),Q(St.prototype,"connect",[vi],Object.getOwnPropertyDescriptor(St.prototype,"connect"),St.prototype),Q(St.prototype,"updateRemoteConnect",[vi],Object.getOwnPropertyDescriptor(St.prototype,"updateRemoteConnect"),St.prototype),Q(St.prototype,"createDataChannels",[vi],Object.getOwnPropertyDescriptor(St.prototype,"createDataChannels"),St.prototype),Q(St.prototype,"receive",[vi],Object.getOwnPropertyDescriptor(St.prototype,"receive"),St.prototype),Q(St.prototype,"batchReceive",[vi],Object.getOwnPropertyDescriptor(St.prototype,"batchReceive"),St.prototype),Q(St.prototype,"stopReceiving",[vi],Object.getOwnPropertyDescriptor(St.prototype,"stopReceiving"),St.prototype),Q(St.prototype,"muteRemote",[vi],Object.getOwnPropertyDescriptor(St.prototype,"muteRemote"),St.prototype),Q(St.prototype,"unmuteRemote",[vi],Object.getOwnPropertyDescriptor(St.prototype,"unmuteRemote"),St.prototype),Q(St.prototype,"muteLocal",[vi],Object.getOwnPropertyDescriptor(St.prototype,"muteLocal"),St.prototype),Q(St.prototype,"unmuteLocal",[vi],Object.getOwnPropertyDescriptor(St.prototype,"unmuteLocal"),St.prototype),Q(St.prototype,"close",[vi],Object.getOwnPropertyDescriptor(St.prototype,"close"),St.prototype),Q(St.prototype,"updateEncoderConfig",[vi],Object.getOwnPropertyDescriptor(St.prototype,"updateEncoderConfig"),St.prototype),Q(St.prototype,"updateSendParameters",[vi],Object.getOwnPropertyDescriptor(St.prototype,"updateSendParameters"),St.prototype),Q(St.prototype,"replaceTrack",[vi],Object.getOwnPropertyDescriptor(St.prototype,"replaceTrack"),St.prototype),Q(St.prototype,"updateAdaptation",[vi],Object.getOwnPropertyDescriptor(St.prototype,"updateAdaptation"),St.prototype),Q(St.prototype,"getRemoteSSRC",[vi],Object.getOwnPropertyDescriptor(St.prototype,"getRemoteSSRC"),St.prototype),St);function vi(t,e,i){const n=t[e];if(typeof n!="function")throw new Error("Cannot use mutex on object property.");return i.value=function(){return C(this,arguments,function*(){const r=this.mutex,o=yield r.lock("From P2PConnection.".concat(e));try{for(var s=arguments.length,a=new Array(s),c=0;c{if(!i)return n.stopCapture&&n.stopCapture();if(i.paused&&i.play(),i.videoHeight>2&&i.videoWidth>2){const l=i.videoWidth,u=i.videoHeight/l,h=n.width*u;Math.abs(h-n.height)>=2&&(_.debug("adjust low stream resolution","".concat(n.width,"x").concat(n.height," -> ").concat(n.width,"x").concat(h)),n.height=h)}s.drawImage(i,0,0,n.width,n.height),c.requestFrame&&c.requestFrame(),o!==t._mediaStreamTrack&&(o=t._mediaStreamTrack,i.srcObject=new MediaStream([o]))},n.stopCapture=om(()=>n.startCapture&&n.startCapture(),r);const d=c.stop;return c.stop=()=>{d.call(c),i&&(i.remove(),i.srcObject=null,i=null),n&&(n.width=0,n.remove(),n.stopCapture&&n.stopCapture(),n.startCapture=void 0,n.stopCapture=void 0,n=null),_.debug("clean low stream renderer")},c}var Mn=function(t){return t[t.Video_Send_Qp_Sum=2143]="Video_Send_Qp_Sum",t[t.Video_Send_Freeze=2082]="Video_Send_Freeze",t[t.Video_Recv_Qp_Sum=2144]="Video_Recv_Qp_Sum",t[t.Video_Recv_Freeze=2084]="Video_Recv_Freeze",t[t.Video_Render_Freeze_Time=2109]="Video_Render_Freeze_Time",t[t.Video_Render_Freeze_Time_Render=2147]="Video_Render_Freeze_Time_Render",t[t.Video_Render_Freeze_Time_Render2=2223]="Video_Render_Freeze_Time_Render2",t[t.Audio_Recv_Freeze=2083]="Audio_Recv_Freeze",t[t.Video_Send_Type=2225]="Video_Send_Type",t}(Mn||{}),at=function(t){return t[t.Video_Send_Retransmit=2062]="Video_Send_Retransmit",t[t.Video_Send_Target_Encoded=2064]="Video_Send_Target_Encoded",t[t.Video_Send_Actual_Encoded=2060]="Video_Send_Actual_Encoded",t[t.Video_Send_Transmit=2066]="Video_Send_Transmit",t[t.Video_Send_Bandwidth=2061]="Video_Send_Bandwidth",t[t.Video_Capture_Height=2033]="Video_Capture_Height",t[t.Video_Capture_Width=2035]="Video_Capture_Width",t[t.Video_Capture_Frame_Rate=2034]="Video_Capture_Frame_Rate",t[t.Video_Send_Low_Height=2073]="Video_Send_Low_Height",t[t.Video_Send_Low_Frame_Rate=2075]="Video_Send_Low_Frame_Rate",t[t.Video_Send_Low_Width=2077]="Video_Send_Low_Width",t[t.Video_Send_Low_Bitrate=2069]="Video_Send_Low_Bitrate",t[t.Video_Send_Low_Package_Lost=2070]="Video_Send_Low_Package_Lost",t[t.Video_Send_Low_Package_Rate=2071]="Video_Send_Low_Package_Rate",t[t.Video_Send_Frame_Rate=2002]="Video_Send_Frame_Rate",t[t.Video_Send_Width=2003]="Video_Send_Width",t[t.Video_Send_Height=2004]="Video_Send_Height",t[t.Video_Send_Disabled=2095]="Video_Send_Disabled",t[t.Video_Send_Adaptation=2032]="Video_Send_Adaptation",t[t.Video_Send_Player_Status=2128]="Video_Send_Player_Status",t[t.Video_Send_Nacks=2009]="Video_Send_Nacks",t[t.Video_Send_Plis=2010]="Video_Send_Plis",t[t.Video_Send_Firs=2011]="Video_Send_Firs",t[t.Video_Send_Avg_Encode=2007]="Video_Send_Avg_Encode",t[t.Video_Send_Huge_Frame_Sent=2174]="Video_Send_Huge_Frame_Sent",t[t.Video_Send_Bytes_Retransmit=2173]="Video_Send_Bytes_Retransmit",t[t.Video_Send_Packages_Retransmit=2172]="Video_Send_Packages_Retransmit",t[t.Video_Send_Key_Frames_Encoded=2207]="Video_Send_Key_Frames_Encoded",t[t.Video_Send_Bitrate=2012]="Video_Send_Bitrate",t[t.Video_Send_Package_Rate=2031]="Video_Send_Package_Rate",t[t.Video_Send_Package_Lost=2005]="Video_Send_Package_Lost",t[t.Audio_Capture_PCM_Level=2104]="Audio_Capture_PCM_Level",t[t.Audio_Send_Level=2038]="Audio_Send_Level",t[t.Audio_Send_Bitrate=2039]="Audio_Send_Bitrate",t[t.Audio_Send_Package_Rate=2040]="Audio_Send_Package_Rate",t[t.Audio_Send_AEC_Return_Loss=2041]="Audio_Send_AEC_Return_Loss",t[t.Audio_Send_AEC_Return_Loss_Enhancement=2042]="Audio_Send_AEC_Return_Loss_Enhancement",t[t.Audio_Send_Freeze=2081]="Audio_Send_Freeze",t[t.Audio_Send_Disabled=2096]="Audio_Send_Disabled",t[t.Audio_Send_Bytes_Retransmit=2179]="Audio_Send_Bytes_Retransmit",t[t.Audio_Send_Packages_Retransmit=2180]="Audio_Send_Packages_Retransmit",t[t.Video_Recv_Height=2019]="Video_Recv_Height",t[t.Video_Recv_Width=2018]="Video_Recv_Width",t[t.Video_Recv_Frame_Rate_Output=2155]="Video_Recv_Frame_Rate_Output",t[t.Video_Recv_Jitter_Buffer=2023]="Video_Recv_Jitter_Buffer",t[t.Video_Recv_Current_Delay=2024]="Video_Recv_Current_Delay",t[t.Video_Recv_Nacks=2026]="Video_Recv_Nacks",t[t.Video_Recv_Plis=2027]="Video_Recv_Plis",t[t.Video_Recv_Firs=2028]="Video_Recv_Firs",t[t.Video_Recv_Disabled=2101]="Video_Recv_Disabled",t[t.Video_Recv_Player_Status=2129]="Video_Recv_Player_Status",t[t.Video_Recv_I_Frame_Delay=2149]="Video_Recv_I_Frame_Delay",t[t.Video_Render_Frame_Rate_Render=2022]="Video_Render_Frame_Rate_Render",t[t.Video_Render_Freeze_Duration=2156]="Video_Render_Freeze_Duration",t[t.Audio_Render_Level=2043]="Audio_Render_Level",t[t.Audio_Render_Freeze_Time_80ms=2226]="Audio_Render_Freeze_Time_80ms",t[t.Audio_Render_Freeze_Time_200ms=2227]="Audio_Render_Freeze_Time_200ms",t[t.Audio_Render_Freeze_Samples_80ms=2228]="Audio_Render_Freeze_Samples_80ms",t[t.Audio_Render_Freeze_Samples_200ms=2229]="Audio_Render_Freeze_Samples_200ms",t[t.Audio_Recv_PCM_Level=2105]="Audio_Recv_PCM_Level",t[t.Audio_Recv_Disabled=2102]="Audio_Recv_Disabled",t[t.Audio_Recv_Jitter_Buffer=2054]="Audio_Recv_Jitter_Buffer",t[t.Audio_Recv_Current_Delay=2047]="Audio_Recv_Current_Delay",t[t.Audio_Recv_Player_Status=2130]="Audio_Recv_Player_Status",t[t.Audio_Recv_Bitrate=2044]="Audio_Recv_Bitrate",t[t.Audio_Recv_Concealed_Samples=2148]="Audio_Recv_Concealed_Samples",t[t.Audio_Recv_Total_Samples_Received=2224]="Audio_Recv_Total_Samples_Received",t}(at||{}),Fe=function(t){return t[t.Video_Render_Frame_Rate_Decode=2021]="Video_Render_Frame_Rate_Decode",t[t.Video_Recv_Frame_Rate=2020]="Video_Recv_Frame_Rate",t[t.Video_Recv_Frame_Dropped=2181]="Video_Recv_Frame_Dropped",t[t.Video_Recv_Bytes_Retransmit=2175]="Video_Recv_Bytes_Retransmit",t[t.Video_Recv_Packages_Retransmit=2176]="Video_Recv_Packages_Retransmit",t[t.Video_Recv_Packages_Discarded=2198]="Video_Recv_Packages_Discarded",t[t.Video_Recv_Avg_Decode=2200]="Video_Recv_Avg_Decode",t[t.Video_Recv_Avg_Processing_Delay=2202]="Video_Recv_Avg_Processing_Delay",t[t.Video_Recv_Avg_Assembly_Time=2203]="Video_Recv_Avg_Assembly_Time",t[t.Video_Recv_Avg_Inter_Frame_Delay=2204]="Video_Recv_Avg_Inter_Frame_Delay",t[t.Video_Recv_Key_Frames_Decoded=2206]="Video_Recv_Key_Frames_Decoded",t[t.Video_Recv_Package_Lost=2014]="Video_Recv_Package_Lost",t[t.Video_Recv_Bitrate=2029]="Video_Recv_Bitrate",t[t.Video_Recv_Package_Rate=2078]="Video_Recv_Package_Rate",t[t.Audio_Recv_Jitter=2055]="Audio_Recv_Jitter",t[t.Audio_Recv_Bytes_Retransmit=2178]="Audio_Recv_Bytes_Retransmit",t[t.Audio_Recv_Packages_Retransmit=2177]="Audio_Recv_Packages_Retransmit",t[t.Audio_Recv_Packages_Discarded=2199]="Audio_Recv_Packages_Discarded",t[t.Audio_Recv_Avg_Processing_Delay=2201]="Audio_Recv_Avg_Processing_Delay",t[t.Audio_Recv_Package_Rate=2046]="Audio_Recv_Package_Rate",t[t.Audio_Recv_Package_Lost=2045]="Audio_Recv_Package_Lost",t}(Fe||{}),Ci=function(t){return t[t.RTT=2006]="RTT",t[t.CONN_TYPE=801]="CONN_TYPE",t[t.STATS_UPDATE_INTERVAL=2205]="STATS_UPDATE_INTERVAL",t}(Ci||{}),Qu=function(t){return t[t.RTC_PEER_CONNECTION_STATE=2219]="RTC_PEER_CONNECTION_STATE",t}(Qu||{});const ds=1e3,Zu=6,Qc=3,PW=Math.max(Zu,Qc);function et(t,e,i){i!=null&&Number.isFinite(i)&&(t[e]=Math.round(Math.max(0,i)))}function o0(t){const e={[Ci.CONN_TYPE]:0,[Ci.RTT]:t.rtt,[Ci.STATS_UPDATE_INTERVAL]:t.updateInterval?Math.round(Math.max(0,t.updateInterval)):void 0};switch(t.selectedCandidatePair.localCandidate.candidateType){case"relay":{const i=t.selectedCandidatePair.localCandidate.relayProtocol;i==="udp"&&(e[Ci.CONN_TYPE]=1),i==="tcp"&&(e[Ci.CONN_TYPE]=3),i==="tls"&&(e[Ci.CONN_TYPE]=4);break}case"srflx":e[Ci.CONN_TYPE]=2;break;case"unknown":e[Ci.CONN_TYPE]=5;break;default:e[Ci.CONN_TYPE]=0}return e}function s0(t){let e=0;switch(t){case"none":e=0;break;case"cpu":e=1;break;case"bandwidth":e=2;break;case"other":e=3}return e}class a0 extends $t{constructor(e){super(),S(this,"store",void 0),S(this,"uploadWRTCStatsTimer",void 0),S(this,"uploadOutboundDenoiserStatsTimer",void 0),S(this,"uploadExtStatsTimer",void 0),S(this,"uploadExtUsageStatsTimer",void 0),S(this,"uploadInboundExtStatsTimer",void 0),S(this,"requestStats",void 0),S(this,"requestTransportStats",void 0),S(this,"requestLocalMedia",void 0),S(this,"requestRemoteMedia",void 0),S(this,"requestAllTracks",void 0),S(this,"requestVideoIsReady",void 0),S(this,"requestUploadStats",void 0),S(this,"requestUpload",void 0),S(this,"uploadOutboundStarted",!1),S(this,"uploadInboundStarted",!1),S(this,"uploadTransportStarted",!1),S(this,"uploadBaseStatsStarted",!1),S(this,"uploadExtensionUsageStarted",!1),S(this,"lastRecvStats",void 0),S(this,"lastSendStats",void 0),S(this,"lastRefRecvStats",void 0),S(this,"lastRefSendStats",void 0),S(this,"lastNormalRecvStats",void 0),S(this,"lastNormalSendStats",void 0),S(this,"needUploadRenderFreezeTime",!0),S(this,"lastUploadCompensateTime",-1),S(this,"uploadCompensateDeltaTime",0),this.store=e}uploadWRTCStats(e){if(!this.requestStats||!this.requestUploadStats)return;const i=e%Qc==0,n=e%Zu==0;let r,o;if(this.uploadTransportStarted&&(r=this.requestStats(),this.store.useP2P&&(o=this.requestStats(!0))),!r&&this.uploadOutboundStarted&&(r=this.requestStats()),!o&&this.uploadInboundStarted&&(o=this.requestStats(!0)),r||o){var s;const a={};if(this.uploadTransportStarted&&r){const d=this.getTransportStats(r,o,i);d&&(a.misc=[d])}if(this.uploadOutboundStarted&&r){const d=this.getOutboundStats(r,n?this.lastNormalSendStats:void 0,i?this.lastRefSendStats:void 0,this.lastSendStats);d&&(a.outbound=[d])}if(this.uploadInboundStarted&&o){this.uploadCompensateStats(e);const d=this.getInboundStats(o,n?this.lastNormalRecvStats:void 0,i?this.lastRefRecvStats:void 0,this.lastRecvStats);d&&(a.inbound=d)}const c=(s=this.requestTransportStats)===null||s===void 0?void 0:s.call(this).connectState;c&&(Array.isArray(a.misc)?a.misc[0]&&a.misc[0].addition&&(a.misc[0].addition[Qu.RTC_PEER_CONNECTION_STATE]=HE[c]):a.misc=[{addition:{[Qu.RTC_PEER_CONNECTION_STATE]:HE[c]}}]),this.requestUploadStats(a)}this.lastRecvStats=o,this.lastSendStats=r,n&&(this.lastNormalRecvStats=o,this.lastNormalSendStats=r),i&&(this.lastRefRecvStats=o,this.lastRefSendStats=r)}startUploadWRTCStats(){if(this.uploadWRTCStatsTimer)return;this.uploadBaseStatsStarted=!0;let e=1;this.uploadWRTCStatsTimer=window.setInterval(()=>{if(!this.uploadTransportStarted&&!this.uploadInboundStarted&&!this.uploadOutboundStarted){if(this.uploadBaseStatsStarted){var i,n;const r=(i=this.requestTransportStats)===null||i===void 0?void 0:i.call(this);return void(r&&((n=this.requestUploadStats)===null||n===void 0||n.call(this,{misc:[{addition:{[Qu.RTC_PEER_CONNECTION_STATE]:HE[r.connectState]}}]})))}return this.stopUploadWRTCStats()}this.uploadWRTCStats(e),++e===PW+1&&(e=1)},ds)}uploadCompensateStats(e){if(!this.requestStats||!this.requestUploadStats||!this.requestRemoteMedia)return;const i=e%Qc==0&&this.needUploadRenderFreezeTime;if(!this.uploadInboundStarted||!i)return;if(this.lastUploadCompensateTime===-1)return void(this.lastUploadCompensateTime=Date.now());const n=Math.max(-6e3,Date.now()-this.lastUploadCompensateTime-6e3);if(this.uploadCompensateDeltaTime+=n,this.lastUploadCompensateTime=Date.now(),this.uploadCompensateDeltaTime<6e3)return;const r=Math.min(Math.floor(this.uploadCompensateDeltaTime/6e3),10);this.uploadCompensateDeltaTime-=6e3*r;const o=this.requestStats(!0);new Array(r).fill(0).forEach(()=>{if(!this.requestStats||!this.requestUploadStats||!this.requestRemoteMedia)return;const s={};if(this.uploadInboundStarted&&o){const a=this.requestRemoteMedia()||[],c=[];a.forEach(d=>{let[l,u]=d;const h={peer:l.uid};if(l._videoSSRC&&this.requestVideoIsReady&&this.requestVideoIsReady(l._videoSSRC)&&u.has(q.VIDEO)&&l.videoTrack){const p=function(g,m,f){if(!m.videoRecv.find(R=>R.ssrc===g))return;const T={};if(f&&f._player){const R=f._player,{renderFreezeAccTime2:A,videoElementStatus:N}=R;if(Sr.visibility==="visible"&&N===ii.PLAYING&&Ct().supportRequestVideoFrameCallback){const O=Math.min(6e3,A);R.renderFreezeAccTime2=Math.max(0,A-O),et(T,Mn.Video_Render_Freeze_Time_Render2,O),y("USE_NEW_RENDER_FREEZE_TIME")&&et(T,Mn.Video_Render_Freeze_Time_Render,O)}}return T}(l._videoSSRC,o,l.videoTrack);p&&(h.video=p)}h.video&&c.push(h)}),c.length>0&&(s.inbound=c,this.requestUploadStats(s))}})}stopUploadWRTCStats(){window.clearInterval(this.uploadWRTCStatsTimer),this.uploadWRTCStatsTimer=void 0,this.lastSendStats&&(this.lastSendStats.videoSend=[],this.lastSendStats.audioSend=[],this.lastSendStats=void 0),this.lastRecvStats&&(this.lastRecvStats.videoRecv=[],this.lastRecvStats.audioRecv=[],this.lastRecvStats=void 0),this.lastRefSendStats&&(this.lastRefSendStats.videoSend=[],this.lastRefSendStats.audioSend=[],this.lastRefSendStats=void 0),this.lastRefRecvStats&&(this.lastRefRecvStats.videoRecv=[],this.lastRefRecvStats.audioRecv=[],this.lastRefRecvStats=void 0),this.lastNormalSendStats&&(this.lastNormalSendStats.videoSend=[],this.lastNormalSendStats.audioSend=[],this.lastNormalSendStats=void 0),this.lastNormalRecvStats&&(this.lastNormalRecvStats.videoRecv=[],this.lastNormalRecvStats.audioRecv=[],this.lastNormalRecvStats=void 0),this.lastUploadCompensateTime=-1,this.uploadCompensateDeltaTime=0,this.needUploadRenderFreezeTime=!0}getTransportStats(e,i,n){if(!this.requestStats)return;if(!n)return e.rtt==null?void 0:{addition:{[Ci.RTT]:e.rtt,[Ci.CONN_TYPE]:void 0,[Ci.STATS_UPDATE_INTERVAL]:e.updateInterval||void 0}};const r=o0(e);if(this.store.useP2P){if(i){const o=o0(i);r[Ci.CONN_TYPE]+=o[Ci.CONN_TYPE]<<3}r[Ci.CONN_TYPE]+=110}else r[Ci.CONN_TYPE]+=100;return{addition:r}}getOutboundStats(e,i,n,r){if(!this.requestUploadStats||!this.requestLocalMedia)return;const o=this.requestLocalMedia();if(!o||o.length===0)return;let s,a,c;return o.forEach(d=>{let[l,{track:u,ssrcs:h}]=d;switch(l){case V.LocalVideoLowTrack:case V.LocalVideoTrack:if(l===V.LocalVideoTrack){const p=function(f,T,R,A,N,O){const w=T.videoSend.find(ht=>ht.ssrc===f);if(!w)return;const L={},{sentFrame:M,inputFrame:j}=w;if(A&&(et(L,Mn.Video_Send_Qp_Sum,w.qpSumPerFrame),j&&M)){var H;const ht=j.frameRate,lt=M.frameRate;L[Mn.Video_Send_Freeze]=function(rt,Kt){let Ft=!0;return Ft=!(rt<=5)&&(rt<=10?Kt<3:rt<=20?Kt<4:Kt<5),Ft}(ht,lt)?1:0,L[Mn.Video_Send_Type]=R.__className__==="CameraVideoTrack"?0:G(H=R._hints).call(H,Vt.SCREEN_TRACK)?1:2}if(N){switch(M&&(et(L,at.Video_Send_Height,M.height),et(L,at.Video_Send_Width,M.width),et(L,at.Video_Send_Frame_Rate,M.frameRate)),L[at.Video_Send_Disabled]=R._originMediaStreamTrack&&!R._originMediaStreamTrack.enabled||R._mediaStreamTrack&&!R._mediaStreamTrack.enabled?1:0,w.adaptionChangeReason){case"none":L[at.Video_Send_Adaptation]=0;break;case"cpu":L[at.Video_Send_Adaptation]=1;break;case"bandwidth":L[at.Video_Send_Adaptation]=2;break;case"other":L[at.Video_Send_Adaptation]=3}let ht=0;w.adaptionChangeReason&&(ht+=s0(w.adaptionChangeReason)),T.qualityLimitationReason&&(ht+=s0(T.qualityLimitationReason)<<3),L[at.Video_Send_Adaptation]=ht,L[at.Video_Send_Player_Status]=nm[R._player?R._player.videoElementStatus:"uninit"],et(L,at.Video_Send_Nacks,w.nacksCount),et(L,at.Video_Send_Plis,w.plisCount),et(L,at.Video_Send_Firs,w.firsCount),et(L,at.Video_Send_Avg_Encode,w.avgEncodeMs),et(L,at.Video_Send_Huge_Frame_Sent,w.hugeFramesSent),et(L,at.Video_Send_Bytes_Retransmit,w.retransmittedBytesSent),et(L,at.Video_Send_Packages_Retransmit,w.retransmittedPacketsSent),et(L,at.Video_Send_Key_Frames_Encoded,w.keyFramesEncoded);const lt=N.videoSend.find(rt=>rt.ssrc===f);if(lt){let rt=ds*Qc;lt.timestamp&&w.timestamp&&(rt=w.timestamp-lt.timestamp),lt.packets!=null&&w.packets!=null&&et(L,at.Video_Send_Package_Rate,1e3*(w.packets-lt.packets)/rt),w.packetsLost!=null&<.packetsLost!=null&&et(L,at.Video_Send_Package_Lost,w.packetsLost-lt.packetsLost),lt.bytes!=null&&w.bytes!=null&&et(L,at.Video_Send_Bitrate,8*(w.bytes-lt.bytes)/rt)}}return L}(h[0].ssrcId,e,u,i,n),g=u&&function(f,T,R,A){const N=T.videoSend.find(w=>w.ssrc===f);if(!N)return null;const O={};if(A){const w=N.inputFrame,L=w&&w.height||R.videoHeight||0,M=w&&w.width||R.videoWidth||0,j=w&&w.frameRate||0;et(O,at.Video_Capture_Height,L),et(O,at.Video_Capture_Width,M),et(O,at.Video_Capture_Frame_Rate,j)}return O}(h[0].ssrcId,e,u,!!n),m=function(f,T){const R={};return T&&(et(R,at.Video_Send_Retransmit,f.bitrate.retransmit),et(R,at.Video_Send_Target_Encoded,f.bitrate.targetEncoded),et(R,at.Video_Send_Actual_Encoded,f.bitrate.actualEncoded),et(R,at.Video_Send_Transmit,f.bitrate.transmit),et(R,at.Video_Send_Bandwidth,f.sendBandwidth)),R}(e,!!n);a=Object.assign({},p,g,m)}else c=function(p,g,m,f,T){const R=g.videoSend.find(N=>N.ssrc===p);if(!R)return;const A={};if(f){const N=R.sentFrame;N&&(et(A,at.Video_Send_Low_Height,N.height),et(A,at.Video_Send_Low_Width,N.width),et(A,at.Video_Send_Low_Frame_Rate,N.frameRate));const O=f.videoSend.find(w=>w.ssrc===p);if(O){let w=ds*Zu;O.timestamp&&R.timestamp&&(w=R.timestamp-O.timestamp),O.packets!=null&&R.packets!=null&&et(A,at.Video_Send_Low_Package_Rate,1e3*(R.packets-O.packets)/w),R.packetsLost!=null&&O.packetsLost!=null&&et(A,at.Video_Send_Low_Package_Lost,R.packetsLost-O.packetsLost),O.bytes!=null&&R.bytes!=null&&et(A,at.Video_Send_Low_Bitrate,8*(R.bytes-O.bytes)/w)}}return A}(h[0].ssrcId,e,0,n);break;case V.LocalAudioTrack:s=u&&function(p,g,m,f,T,R){const A=g.audioSend.find(O=>O.ssrc===p);if(!A)return;const N={};if(T){N[at.Audio_Send_Disabled]=m._originMediaStreamTrack&&!m._originMediaStreamTrack.enabled||m._mediaStreamTrack&&!m._mediaStreamTrack.enabled?1:0;const O=100*m._source.getAccurateVolumeLevel(),w=A.inputLevel;if(w!=null){const M=Math.ceil(50*Math.log10(100*w+1));et(N,at.Audio_Send_Level,M)}et(N,at.Audio_Capture_PCM_Level,O),et(N,at.Audio_Send_AEC_Return_Loss,A.aecReturnLoss),et(N,at.Audio_Send_AEC_Return_Loss_Enhancement,A.aecReturnLossEnhancement),et(N,at.Audio_Send_Bytes_Retransmit,A.retransmittedBytesSent),et(N,at.Audio_Send_Packages_Retransmit,A.retransmittedPacketsSent),N[at.Audio_Send_Freeze]=0;const L=T.audioSend.find(M=>M.ssrc===p);if(L){let M=ds*Zu;L.timestamp&&A.timestamp&&(M=A.timestamp-L.timestamp),L.bytes!=null&&A.bytes!=null&&et(N,at.Audio_Send_Bitrate,8*(A.bytes-L.bytes)/M),L.packets!=null&&A.packets!=null&&et(N,at.Audio_Send_Package_Rate,1e3*(A.packets-L.packets)/M)}}return N}(h[0].ssrcId,e,u,0,n)}}),{high:a,low:c,audio:s}}getInboundStats(e,i,n,r){if(!this.requestRemoteMedia)return;const o=this.requestRemoteMedia()||[],s=[];return o.forEach(a=>{let[c,d]=a;const l={peer:c.uid};if(d.has(q.VIDEO)&&c.videoTrack){const u=c._videoSSRC&&this.requestVideoIsReady&&this.requestVideoIsReady(c._videoSSRC)||!1,h=c.videoTrack?function(p,g,m,f,T,R,A,N){const O=g.videoRecv.find(rt=>rt.ssrc===p);if(!O)return;const w={},{receivedFrame:L,outputFrame:M,decodeFrameRate:j}=O;et(w,Fe.Video_Render_Frame_Rate_Decode,j),O.framesRateFirefox&&et(w,Fe.Video_Recv_Frame_Rate,O.framesRateFirefox),L&&et(w,Fe.Video_Recv_Frame_Rate,L.frameRate),et(w,Fe.Video_Recv_Frame_Dropped,O.framesDroppedCount),et(w,Fe.Video_Recv_Bytes_Retransmit,O.retransmittedBytesReceived),et(w,Fe.Video_Recv_Packages_Retransmit,O.retransmittedPacketsReceived),et(w,Fe.Video_Recv_Packages_Discarded,O.packetsDiscarded),et(w,Fe.Video_Recv_Avg_Decode,O.avgDecodeMs),et(w,Fe.Video_Recv_Avg_Processing_Delay,O.avgProcessingDelayMs),et(w,Fe.Video_Recv_Avg_Assembly_Time,O.avgFramesAssembledFromMultiplePacketsMs),et(w,Fe.Video_Recv_Avg_Inter_Frame_Delay,O.avgInterFrameDelayMs),et(w,Fe.Video_Recv_Key_Frames_Decoded,O.keyFramesDecoded);const H=N&&N.videoRecv.find(rt=>rt.ssrc===p);if(H){const rt=g.timestamp-N.timestamp||ds;O.packetsLost!=null&&H.packetsLost!=null&&et(w,Fe.Video_Recv_Package_Lost,O.packetsLost-H.packetsLost),H.bytes!=null&&O.bytes!=null&&et(w,Fe.Video_Recv_Bitrate,8*(O.bytes-H.bytes)/rt),H.packets!=null&&O.packets!=null&&et(w,Fe.Video_Recv_Package_Rate,1e3*(O.packets-H.packets)/rt)}const ht=R&&R.videoRecv.find(rt=>rt.ssrc===p);if(ht&&(et(w,Mn.Video_Recv_Qp_Sum,O.qpSumPerFrame),w[Mn.Video_Recv_Freeze]=f&&Xc.isRemoteVideoFreeze(m,O,ht)?1:0),A){var lt;const rt=A.videoRecv.find(Ft=>Ft.ssrc===p);L?(et(w,at.Video_Recv_Height,L.height),et(w,at.Video_Recv_Width,L.width)):m&&(et(w,at.Video_Recv_Height,m._videoHeight||0),et(w,at.Video_Recv_Width,m._videoWidth||0)),M&&et(w,at.Video_Recv_Frame_Rate_Output,M.frameRate);const Kt=(lt=m._player)===null||lt===void 0?void 0:lt.rendFrameRate.toFixed(0);if(Kt&&et(w,at.Video_Render_Frame_Rate_Render,+Kt),et(w,at.Video_Recv_Jitter_Buffer,O.jitterBufferMs),et(w,at.Video_Recv_Current_Delay,O.currentDelayMs),et(w,at.Video_Recv_Firs,O.firsCount),et(w,at.Video_Recv_Nacks,O.nacksCount),et(w,at.Video_Recv_Plis,O.plisCount),m){w[at.Video_Recv_Disabled]=m._originMediaStreamTrack.enabled&&m._mediaStreamTrack.enabled?0:1;const Ft=m._player;if(Ft){const{freezeTimeCounterList:Ii,renderFreezeAccTime:U,renderFreezeAccTime2:B,videoElementStatus:X}=Ft;if(Ii&&Ii.length>0&&et(w,Mn.Video_Render_Freeze_Time,Ii.splice(0,1)[0]),T&&Sr.visibility==="visible"&&X===ii.PLAYING&&Ct().supportRequestVideoFrameCallback){const x=Math.min(6e3,B);Ft.renderFreezeAccTime2=Math.max(0,B-x),et(w,Mn.Video_Render_Freeze_Time_Render2,x);const E=Math.min(6e3,U);Ft.renderFreezeAccTime=Math.max(0,U-E),et(w,Mn.Video_Render_Freeze_Time_Render,y("USE_NEW_RENDER_FREEZE_TIME")?x:E)}if(typeof O.totalFreezesDuration=="number"){const x=rt&&rt.totalFreezesDuration?O.totalFreezesDuration-rt.totalFreezesDuration:O.totalFreezesDuration;et(w,at.Video_Render_Freeze_Duration,1e3*x)}}}if(w[at.Video_Recv_Player_Status]=nm[m._player?m._player.videoElementStatus:"uninit"],rt&&O.totalInterFrameDelay!==void 0&&O.totalSquaredInterFrameDelay!==void 0&&rt.totalInterFrameDelay!==void 0&&rt.totalSquaredInterFrameDelay!==void 0){const Ft=O.totalInterFrameDelay-rt.totalInterFrameDelay,Ii=O.totalSquaredInterFrameDelay-rt.totalSquaredInterFrameDelay,U=O.framesDecodeCount-rt.framesDecodeCount,B=Ft/U*1e3,X=Math.round(1e3*Math.sqrt((Ii-Math.pow(Ft,2)/U)/U));!isNaN(X)&&B+X>Math.max(3*B,B+150)&&(w[at.Video_Recv_I_Frame_Delay]=X)}}return w}(c._videoSSRC,e,c.videoTrack,u===!0,this.needUploadRenderFreezeTime,i,n,r):void 0;h&&(l.video=h)}if(d.has(q.AUDIO)&&c.audioTrack){const u=c.audioTrack?function(h,p,g,m,f,T){const R=p.audioRecv.find(w=>w.ssrc===h);if(!R)return;const A={};et(A,Fe.Audio_Recv_Jitter,R.jitterMs),et(A,Fe.Audio_Recv_Bytes_Retransmit,R.retransmittedBytesReceived),et(A,Fe.Audio_Recv_Packages_Retransmit,R.retransmittedPacketsReceived),et(A,Fe.Audio_Recv_Packages_Discarded,R.packetsDiscarded),et(A,Fe.Audio_Recv_Avg_Processing_Delay,R.avgProcessingDelayMs);const N=T&&T.audioRecv.find(w=>w.ssrc===h);if(N){const w=ds;R.packets!=null&&N.packets!=null&&et(A,Fe.Audio_Recv_Package_Rate,1e3*(R.packets-N.packets)/w),R.packetsLost!=null&&N.packetsLost!=null&&et(A,Fe.Audio_Recv_Package_Lost,R.packetsLost-N.packetsLost)}if(m){const{receivedFrames:w,droppedFrames:L}=R;w!=null&&L!=null&&(A[Mn.Audio_Recv_Freeze]=(O=w)===0||100*L/O>20?1:0)}var O;if(f){const w=100*g._source.getAccurateVolumeLevel(),L=R.outputLevel;if(L!=null){const j=Math.ceil(50*Math.log10(100*L+1));et(A,at.Audio_Render_Level,j)}et(A,at.Audio_Recv_PCM_Level,w),g&&(A[at.Audio_Recv_Disabled]=g._originMediaStreamTrack.enabled&&g._mediaStreamTrack.enabled?0:1),et(A,at.Audio_Recv_Jitter_Buffer,R.jitterBufferMs),et(A,at.Audio_Recv_Current_Delay,R.jitterBufferMs),A[at.Audio_Recv_Player_Status]=nm[Ri.getPlayerState(g.getTrackId())];const M=f.audioRecv.find(j=>j.ssrc===h);if(M){M.bytes!=null&&R.bytes!=null&&et(A,at.Audio_Recv_Bitrate,8*(R.bytes-M.bytes)/(ds*Qc));const j=R.concealedSamples-M.concealedSamples;j>0&&et(A,at.Audio_Recv_Concealed_Samples,j);const H=R.totalSamplesReceived-M.totalSamplesReceived;H>0&&et(A,at.Audio_Recv_Total_Samples_Received,H);const ht=R.freezeSamples80-M.freezeSamples80;ht>0&&et(A,at.Audio_Render_Freeze_Samples_80ms,ht);const lt=R.freezeSamples200-M.freezeSamples200;lt>0&&et(A,at.Audio_Render_Freeze_Samples_200ms,lt);const rt=R.freezeMs80-M.freezeMs80;et(A,at.Audio_Render_Freeze_Time_80ms,rt<0?0:rt);const Kt=R.freezeMs200-M.freezeMs200;et(A,at.Audio_Render_Freeze_Time_200ms,Kt<0?0:Kt)}}return A}(c._audioSSRC,e,c.audioTrack,i,n,r):void 0;u&&(l.audio=u)}(l.video||l.audio)&&s.push(l)}),this.needUploadRenderFreezeTime=!this.needUploadRenderFreezeTime,s}startUploadTransportStats(){this.uploadTransportStarted=!0,this.uploadWRTCStatsTimer||this.startUploadWRTCStats()}stopUploadTransportStats(){this.uploadTransportStarted=!1}startUploadOutboundStats(){this.uploadOutboundStarted||(this.uploadOutboundStarted=!0,this.uploadWRTCStatsTimer||this.startUploadWRTCStats(),this.uploadOutboundDenoiserStatsTimer&&window.clearInterval(this.uploadOutboundDenoiserStatsTimer),this.uploadOutboundDenoiserStatsTimer=window.setInterval(()=>{if(!this.requestAllTracks||!this.requestUpload)return;const e=(this.requestAllTracks()||[]).find(i=>i instanceof xc);if(e&&e._external.getDenoiserStats){const i=e._external.getDenoiserStats();i&&this.requestUpload(Fc.DENOISER_STATS,i)}},2e3),this.uploadExtStatsTimer&&window.clearInterval(this.uploadExtStatsTimer),this.uploadExtStatsTimer=window.setInterval(()=>{!this.requestAllTracks||!this.requestUpload||this.requestAllTracks().forEach(e=>{e.getProcessorStats().forEach(i=>{this.requestUpload&&this.requestUpload(i.type,i.stats)})})},2e3))}stopUploadOutboundStats(){this.uploadOutboundStarted&&(this.uploadOutboundStarted=!1,this.lastSendStats&&(this.lastSendStats.videoSend=[],this.lastSendStats.audioSend=[],this.lastSendStats=void 0),this.lastRefSendStats&&(this.lastRefSendStats.videoSend=[],this.lastRefSendStats.audioSend=[],this.lastRefSendStats=void 0),this.lastNormalSendStats&&(this.lastNormalSendStats.videoSend=[],this.lastNormalSendStats.audioSend=[],this.lastNormalSendStats=void 0),this.uploadOutboundDenoiserStatsTimer&&window.clearInterval(this.uploadOutboundDenoiserStatsTimer),this.uploadOutboundDenoiserStatsTimer=void 0,this.uploadExtStatsTimer&&window.clearInterval(this.uploadExtStatsTimer),this.uploadExtStatsTimer=void 0)}startUploadInboundStats(){this.uploadInboundStarted||(this.uploadInboundStarted=!0,this.uploadWRTCStatsTimer||this.startUploadWRTCStats(),this.uploadInboundExtStatsTimer&&window.clearInterval(this.uploadInboundExtStatsTimer),this.uploadInboundExtStatsTimer=window.setInterval(()=>{!this.requestUpload||!this.requestRemoteMedia||(this.requestRemoteMedia()||[]).forEach(e=>{let[i,n]=e;n.has(q.VIDEO)&&i.videoTrack&&i.videoTrack.getProcessorStats().forEach(r=>{this.requestUpload&&this.requestUpload(r.type,r.stats)}),n.has(q.AUDIO)&&i.audioTrack&&i.audioTrack.getProcessorStats().forEach(r=>{this.requestUpload&&this.requestUpload(r.type,r.stats)})})},2e3))}stopUploadInboundStats(){this.uploadInboundStarted&&(this.uploadInboundStarted=!1,this.lastRecvStats&&(this.lastRecvStats.videoRecv=[],this.lastRecvStats.audioRecv=[],this.lastRecvStats=void 0),this.lastRefRecvStats&&(this.lastRefRecvStats.videoRecv=[],this.lastRefRecvStats.audioRecv=[],this.lastRefRecvStats=void 0),this.lastNormalRecvStats&&(this.lastNormalRecvStats.videoRecv=[],this.lastNormalRecvStats.audioRecv=[],this.lastNormalRecvStats=void 0),this.lastUploadCompensateTime=-1,this.uploadCompensateDeltaTime=0,this.needUploadRenderFreezeTime=!0,this.uploadInboundExtStatsTimer&&window.clearInterval(this.uploadInboundExtStatsTimer),this.uploadInboundExtStatsTimer=void 0)}startUploadExtensionUsageStats(){if(this.uploadExtensionUsageStarted)return;this.uploadExtensionUsageStarted=!0,this.uploadExtUsageStatsTimer&&window.clearInterval(this.uploadExtUsageStatsTimer);const e=new Map;this.uploadExtUsageStatsTimer=window.setInterval(()=>C(this,null,function*(){const i=Date.now(),n={connectionInterval:y("EXTENSION_USAGE_UPLOAD_INTERVAL")/1e3,details:[],lts:i};let r=[];const o=this.requestAllTracks&&this.requestAllTracks()||[];for(const d of o)!d.muted&&d.enabled&&(r=r.concat(yield d.getProcessorUsage()));const s=this.requestRemoteMedia&&this.requestRemoteMedia()||[];for(const[d,l]of s)l.has(q.VIDEO)&&d.videoTrack&&(r=r.concat(yield d.videoTrack.getProcessorUsage())),l.has(q.AUDIO)&&d.audioTrack&&(r=r.concat(yield d.audioTrack.getProcessorUsage()));if(r.length===0)return;n.details=function(d,l){const u={};for(const{id:m,value:f,level:T,direction:R}of d){var h;const A=(h=l.get(m))!==null&&h!==void 0?h:0,N=f===2?A+y("EXTENSION_USAGE_UPLOAD_INTERVAL")/1e3:A;var p,g;l.set(m,N),u[m]?(f===2&&(u[m].value=f),T>u[m].level&&(u[m].level=T),R==="remote"&&(u[m].remoteUidCount+=1),u[m].totalTs=(p=l.get(m))!==null&&p!==void 0?p:0):u[m]={value:f,level:T,remoteUidCount:R==="local"?0:1,totalTs:(g=l.get(m))!==null&&g!==void 0?g:0}}return Object.keys(u).map(m=>{const{level:f,value:T,totalTs:R}=u[m];return{id:m,level:f,value:T,totalTs:R}})}(r,e);const a=Date.now(),c=a>i?a:i+1;this.requestUpload&&this.requestUpload(Fc.EXTENSION_USAGE_STATS,{usageStats:n,sendTs:c})}),y("EXTENSION_USAGE_UPLOAD_INTERVAL"))}stopUploadExtensionUsageStats(){this.uploadExtensionUsageStarted&&(this.uploadExtensionUsageStarted=!1,this.uploadExtUsageStatsTimer&&window.clearInterval(this.uploadExtUsageStatsTimer),this.uploadExtUsageStatsTimer=void 0)}stopUploadBaseStats(){this.uploadBaseStatsStarted=!1}}const LW=y("ICE_RESTART_INTERVAL");let $u=new Map,Pa=new Map,yo=[Xe.UDP_TCP_RELAY,Xe.TCP_RELAY,Xe.RELAY],Jm=y("JOIN_WITH_FALLBACK_MEDIA_PROXY_FORCE")&&Ct().supportPCSetConfiguration;function c0(t){let e=arguments.length>1&&arguments[1]!==void 0&&arguments[1];const i=$u.get(t.id);i&&(window.clearTimeout(i),$u.delete(t.id));const n=Pa.get(t.id);e&&n&&n.index===yo.length-1&&(_.debug("[".concat(t.id,"] reset ICE restart policy")),Pa.delete(t.id))}function d0(t,e,i){if($u.size===0&&Pa.size===0&&(Array.isArray(y("RESTART_SEQUENCE"))&&y("RESTART_SEQUENCE").length>0&&!function(a,c){if(a.length!==c.length)return!1;for(let d=0;du===l).length!==c.filter(u=>u===l).length)return!1}return!0}(yo,y("RESTART_SEQUENCE"))&&(yo=y("RESTART_SEQUENCE").filter(a=>{var c;if(G(c=Object.values(Xe)).call(c,a))return!0}),_.debug("use reconnection policy from config distribution, queues: ".concat(yo.join(" => ")))),Jm=y("JOIN_WITH_FALLBACK_MEDIA_PROXY_FORCE")&&Ct().supportPCSetConfiguration),yo.length===0)return void i();let n,{index:r=0,type:o}=Pa.get(t.id)||{};if(Jm&&o===Xe.RELAY)return void i();let s=o&&r>=yo.length-1;if(Jm)o=Xe.RELAY;else{if(s)return void i();o?(r++,o=yo[r]):(o=yo[0],r=0)}_.debug("[".concat(t.id,"] choose ICE restart policy: ").concat(o,", index: ").concat(r)),e(o),Pa.set(t.id,{index:r,type:o}),n=window.setTimeout(()=>d0(t,e,i),LW),$u.set(t.id,n)}var pt;function l0(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function yr(t){for(var e=1;eC(this,null,function*(){const o=yield this.mutex.lock("Locking from P2PChannel.handleMuteLocalTrack");try{if(!this.connection||this.state!==wt.Connected)return void r(new k(v.INVALID_OPERATION,"Cannot call P2PChannel.handleMuteLocalTrack before connection established."));const s=this.filterTobeMutedTracks(i);if(s.length===0)return void n();const a=s.find(d=>d[0]==="videoLowTrack");a&&a[1].track._originMediaStreamTrack.stop(),yield this.connection.muteLocal(s.map(d=>{let[,{id:l}]=d;return l}));const c=this.createMuteMessage(s);yield Bt(this,$.RequestMuteLocal,c),n()}catch(s){r(s)}finally{o()}})),S(this,"handleUnmuteLocalTrack",(i,n,r)=>C(this,null,function*(){const o=yield this.mutex.lock("Locking from P2PChannel.handleUnmuteLocalTrack");try{if(!this.connection||this.state!==wt.Connected)return void r(new k(v.INVALID_OPERATION,"Cannot call P2PChannel.handleUnmuteLocalTrack before connection established."));const s=this.filterTobeUnmutedTracks(i);if(s.length===0)return void n();const a=s.find(d=>d[0]==="videoLowTrack");if(a){const d=a[1];if(d.track._originMediaStreamTrack.stop(),!y("DISABLE_DUAL_STREAM_USE_ENCODING")&&Ct().supportDualStreamEncoding){const l=i._mediaStreamTrack.clone();d.track._mediaStreamTrack=l,d.track._originMediaStreamTrack=l}else{const l=Xm(i,Dc(this,$.RequestLowStreamParameter));d.track._mediaStreamTrack=l,d.track._originMediaStreamTrack=l}yield new K((l,u)=>{this.handleReplaceTrack(d.track,l,u,!0)})}yield this.connection.unmuteLocal(s.map(d=>{let[,{id:l}]=d;return l}));const c=this.createUnmuteMessage(s);yield Bt(this,$.RequestUnmuteLocal,c),n()}catch(s){r(s)}finally{o()}})),S(this,"handleUpdateVideoEncoder",(i,n,r,o)=>C(this,null,function*(){let s;o||(s=yield this.mutex.lock("Locking from P2PChannel.handleUpdateVideoEncoder"));try{const c=this.localTrackMap.get(V.LocalVideoTrack);if(!this.connection||!c||c.track!==i||this.state!==wt.Connected)return void n();const{id:d,track:l}=c;yield this.connection.updateSendParameters(d,l),yield this.connection.updateEncoderConfig(d,l),this.emit($.UpdateVideoEncoder,l),n()}catch(c){r(c)}finally{var a;(a=s)===null||a===void 0||a()}})),S(this,"handleUpdateVideoSendParameters",(i,n,r)=>C(this,null,function*(){const o=yield this.mutex.lock("Locking from P2PChannel.handleUpdateVideoSendParameters");try{const s=this.localTrackMap.get(V.LocalVideoTrack);if(!this.connection||!s||s.track!==i||this.state!==wt.Connected)return void n();const{id:a,track:c}=s;yield this.connection.updateSendParameters(a,c),n()}catch(s){r(s)}finally{o()}})),S(this,"handleReplaceMixingTrack",(i,n,r,o)=>C(this,null,function*(){if(!this.connection||this.state!==wt.Connected)return void n();const s=qm([i]);let a;_.debug("[".concat(this.store.clientId,"] [p2pId: ").concat(this.store.p2pId,"]: P2PConnection will replace audioTrack [").concat(s.getTrackId(),"]")),typeof o=="boolean"&&o||(a=yield this.mutex.lock("From P2PChannel.handleReplaceMixingTrack"));try{yield this.replaceTrack(i,s),n()}catch(d){r(d)}finally{var c;(c=a)===null||c===void 0||c()}})),S(this,"handleReplaceTrack",(i,n,r,o)=>C(this,null,function*(){let s;_.debug("[".concat(this.store.clientId,"] P2PChannel handleReplaceTrack for [track-id-").concat(i.getTrackId(),"]")),typeof o=="boolean"&&o||(s=yield this.mutex.lock("From P2PChannel.handleReplaceTrack"));try{var a;const d=Array.from(this.localTrackMap.entries()).find(l=>{let[,{track:u}]=l;return i===u});if(!this.connection||!d||this.state!==wt.Connected)return void n();if(yield(a=this.connection)===null||a===void 0?void 0:a.replaceTrack(i,d[1].id),this.isPlanB){const l=d[1];l.id=i._mediaStreamTrack.id,this.localTrackMap.set(d[0],l)}if(d[0]===V.LocalVideoTrack&&!y("DISABLE_DUAL_STREAM_USE_ENCODING")&&Ct().supportDualStreamEncoding){const l=this.localTrackMap.get(V.LocalVideoLowTrack);if(l){const u=i._mediaStreamTrack.clone();l.track._originMediaStreamTrack.stop(),l.track._mediaStreamTrack=u,l.track._originMediaStreamTrack=u,yield new K((h,p)=>{this.handleReplaceTrack(l.track,h,p,!0)})}}n()}catch(d){r(d)}finally{var c;(c=s)===null||c===void 0||c()}})),S(this,"handleGetRTCStats",i=>{i(this.statsCollector.getRTCStats())}),S(this,"handleGetLocalVideoStats",i=>{i(this.statsCollector.getLocalVideoTrackStats())}),S(this,"handleGetLocalAudioStats",i=>{i(this.statsCollector.getLocalAudioTrackStats())}),S(this,"handleGetRemoteVideoStats",i=>this.statsCollector.getRemoteVideoTrackStats(i.uid)[i.uid]),S(this,"handleGetRemoteAudioStats",i=>this.statsCollector.getRemoteAudioTrackStats(i.uid)[i.uid]),this.store=t,this.statsCollector=e,this.statsCollector.addP2PChannel(this),this.statsUploader=new a0(this.store),this.bindStatsUploaderEvents(),this.mutex=new qe("P2PChannel-mutex",this.store.clientId),this.isPlanB=!Ct().supportUnifiedPlan||y("CHROME_FORCE_PLAN_B")&&Vr(),this.shouldForwardP2PCreation=y("FORWARD_P2P_CREATION")&&Ct().supportPCSetConfiguration&&NE(),this.shouldForwardP2PCreation&&(this.connection=Ju(this.store),this.emit($.PeerConnectionStateChange,this.connection.peerConnectionState),this.bindConnectionEvents(this.connection))}startP2PConnection(t){return C(this,null,function*(){var e;this.state=wt.New,this._forceTurn=n0(t),_.debug("[".concat(this.store.clientId,"] [").concat(this.store.p2pId,"] forceTurn: ").concat(this._forceTurn));const i=this.shouldForwardP2PCreation&&((e=this.connection)===null||e===void 0?void 0:e.peerConnectionState)==="closed";if(this.shouldForwardP2PCreation&&!i||(i&&this.connection&&(_.warning("[".concat(this.store.clientId,"] P2PChannel.startP2PConnection ForwardP2P closed.")),this.resetConnection(this.connection)),this.connection=Ju(this.store,t),this.emit($.PeerConnectionStateChange,this.connection.peerConnectionState),this.bindConnectionEvents(this.connection)),!this.connection)throw new k(v.UNEXPECTED_ERROR,"Cannot P2PChannel.startConnection before P2PConnection initialization .");return this._pcStatsUploadType=y("NEW_ICE_RESTART")?Hr.FIRST_CONNECTION:Hr.OLD_FIRST_CONNECTION,this._isTryConnecting=!0,this._isStartRestartIce=!1,this._iceError=null,this.connection.setConfiguration(t),this.connection.establishPromise})}connect(t){return C(this,null,function*(){if(!this.connection)throw new k(v.UNEXPECTED_ERROR,"Cannot P2PChannel.connect before P2PChannel.startP2PConnection .");y("ENABLE_PREALLOC_PC")&&this.state===wt.Connected?yield this.connection.updateRemoteConnect(t):(this.store.peerConnectionStart(),yield this.connection.connect(t),this.statsUploader.startUploadTransportStats(),this.statsUploader.startUploadExtensionUsageStats(),this.state=wt.Connected)})}updateRemoteRTPCapabilities(t){const e=Array.from(this.localTrackMap.entries()).filter(r=>{var o;let[s]=r;return G(o=[V.LocalVideoLowTrack,V.LocalVideoTrack]).call(o,s)}),i=e.map(r=>{let[,{id:o}]=r;return o}),n=e.map(r=>{let[o]=r;return o});if(this.connection instanceof Cr){if(Z.updateRemoteRTPCapabilities(this.store.sessionId,{trackTypes:JSON.stringify(n),localCodecs:JSON.stringify(this.connection.localCodecs),remoteCodecs:JSON.stringify(t)}),!G(t).call(t,this.store.codec)){const r=["vp9","vp8","h264"].find(o=>G(t).call(t,o));r&&(this.store.codec=r,_.debug("[".concat(this.store.clientId,"] [").concat(this.store.p2pId," updateRemoteRTPCapabilities] default codec is not available, hence the fallback to ").concat(r,".")))}this.connection.updateRemoteRTPCapabilities(i,t)}}getEstablishParams(){return C(this,null,function*(){var t;if(this.connection instanceof Cr&&this.connection.peerConnectionState!=="closed"&&G(t=[wt.New,wt.Connected]).call(t,this.state))return this.connection.establishPromise})}publishDataChannel(t){return C(this,null,function*(){if(!this.connection||this.state!==wt.Connected){if(this.state===wt.Disconnected)throw new k(v.UNEXPECTED_ERROR,"PeerConnection already disconnected.");return t.forEach(i=>{var n;G(n=this.pendingLocalDataChannels).call(n,i)||this.pendingLocalDataChannels.push(i)}),[]}const e=this.filterTobePublishedDataChannels(t);return e.length===0?[]:(e.forEach(i=>{const n=Date.now();this.store.publish(i.id.toString(),"datachannel",n)}),yield this.connection.createDataChannels(this.store.uid,e),e.forEach(i=>{this.localDataChannels.push(i);const n=Date.now();this.store.publish(i.id+"","datachannel",void 0,n)}),t.map(i=>({streamId:i.id,ordered:i.ordered,maxRetransmits:i.maxRetransmits,metadata:i.metadata,channelId:i._originDataChannelId})))})}publish(t,e,i){var n=this;return cn(function*(){const r=yield Rt(n.mutex.lock("From P2PChannel.publish"));try{var o;const s=n.connection&&G(o=["disconnected","failed"]).call(o,n.connection.peerConnectionState);if(!n.connection||n.state!==wt.Connected||s){if(n.state===wt.Disconnected)throw new k(v.UNEXPECTED_ERROR,"PeerConnection already disconnected.");n.throwIfTrackTypeNotMatch(t);const c=t.filter(d=>n.pendingLocalTracks.indexOf(d)===-1);return n.pendingLocalTracks=n.pendingLocalTracks.concat(c),void(s&&(n._isWaitPcToRePub=!0))}n.store.pubId=n.store.pubId+1,Je.markPublishStart(n.store.clientId,n.store.pubId);const a=n.filterTobePublishedTracks(t,e,i);if(a.length===0)return void(yield Rt(n.tryToUnmuteAudio(t)));yield*vd(Xl(u0(n.doPublish(n.connection,a))))}finally{r()}})()}doPublish(t,e){var i=this;return cn(function*(){e.forEach(h=>{let{track:p,type:g}=h;const m=Date.now();i.store.publish(p.getTrackId(),g===V.LocalAudioTrack?"audio":"video",m)}),i.bindLocalTrackEvents(e);const n=e.map(h=>{let{track:p}=h;return p}),r=yield Rt(t.send(n,i.store.codec,i.store.audioCodec)),o=(yield Rt(r.next())).value,s=i.createGatewayPublishMessage(e,o);let a;try{a=yield s}catch(h){throw r.throw(h),(h==null?void 0:h.code)===v.WS_ABORT&&e.forEach(p=>{let{track:g}=p;i.pendingLocalTracks.indexOf(g)===-1&&i.pendingLocalTracks.push(g)}),i.unbindLocalTrackEvents(e),h}const c=i.mapPubResToRemoteConfig(s,a,n),d=(yield Rt(r.next(c))).value;if(i.state===wt.Disconnected)throw new k(v.UNEXPECTED_ERROR,"PeerConnection already disconnected.");y("ENABLE_VIDEO_SEI");const l=y("ENABLE_ENCODED_TRANSFORM"),u=y("ENABLE_AUDIO_METADATA");n.forEach(h=>C(this,null,function*(){const p=h.getRTCRtpTransceiver();if(!p||!l)return;const{interceptLocalVideoFrame:g,interceptLocalAudioFrame:m}=Wu();h.trackMediaType===q.VIDEO?yield g(p.sender,h):h.trackMediaType===q.AUDIO&&(yield m(p.sender,{metadata:u?()=>{const f=h.metadata.shift();return f&&f.value}:void 0}))})),e.forEach(h=>{let{type:p}=h;i.statsCollector.addLocalStats(p)}),i.assignLocalTracks(e,d),i.statsUploader.startUploadOutboundStats(),e.forEach(h=>{let{track:p,type:g}=h;const m=Date.now();i.store.publish(p.getTrackId(),g===V.LocalAudioTrack?"audio":"video",void 0,m)})})()}updateVideoStreamParameter(t,e){return C(this,null,function*(){const i=this.localTrackMap.get(e);if(!i||!this.connection)return;if(!(i.track instanceof Yt))return _.warn("[updateVideoStreamParameter]: track is not an instance of LocalVideoTrack");const{track:n}=i,r=function(o,s){const a={};return o.height&&o.width&&(a.scaleResolutionDownBy=Dm(o,s)),a.maxFramerate=o.framerate?Bi(o.framerate):void 0,a.maxBitrate=o.bitrate?1e3*o.bitrate:void 0,a}(t,n);if(n._encoderConfig||(n._encoderConfig={}),e!==V.LocalVideoLowTrack||!y("DISABLE_DUAL_STREAM_USE_ENCODING")&&Ct().supportDualStreamEncoding)r.scaleResolutionDownBy!=null&&(n._encoderConfig.scaleResolutionDownBy=r.scaleResolutionDownBy);else{const o=n._originMediaStreamTrack;if(!o.canvas)return _.warn("[".concat(n.getTrackId(),"] no canvas on track"));(function(s,a){const c=s.canvas;a.width&&(c.width=Bi(a.width)),a.height&&(c.height=Bi(a.height)),a.framerate&&(c.stopCapture&&c.stopCapture(),c.stopCapture=om(()=>{!c.startCapture&&c.stopCapture&&c.stopCapture(),c.startCapture&&c.startCapture()},Bi(a.framerate)))})(o,t)}r.maxBitrate!=null&&(n._encoderConfig.bitrateMax=r.maxBitrate/1e3),r.maxFramerate!=null&&(n._encoderConfig.frameRate&&typeof n._encoderConfig.frameRate=="object"?n._encoderConfig.frameRate.max=r.maxFramerate:n._encoderConfig.frameRate={max:r.maxFramerate}),_.debug("[".concat(n.getTrackId(),"] LowStreamEncoderConfig: , ").concat(JSON.stringify(n._encoderConfig))),yield this.connection.updateRtpSenderEncodings(n)})}publishLowStream(t){var e=this;return cn(function*(){if(!e.connection||e.state!==wt.Connected)return;const i=yield Rt(e.mutex.lock("Locking from P2PChannel.publishLowStream"));try{const r=e.localTrackMap.get(V.LocalVideoTrack);if(!r)throw new k(v.UNEXPECTED_ERROR,"Could not find high stream");if(e.localTrackMap.has(V.LocalVideoLowTrack))throw new k(v.UNEXPECTED_ERROR,"[".concat(e.store.clientId,"] Can't publish low stream when stream already publish"));const o=[{track:e.getLowVideoTrack(r.track,t),type:V.LocalVideoLowTrack}];if(yield*vd(Xl(u0(e.doPublish(e.connection,o)))),r.track.muted||!r.track.enabled){var n;const s=(n=e.localTrackMap.get(V.LocalVideoLowTrack))===null||n===void 0?void 0:n.id;s!==void 0&&(yield Rt(e.connection.muteLocal([s])))}}finally{i()}})()}republish(){return C(this,null,function*(){this.pendingLocalTracks.length>0&&(_.debug("[".concat(this.store.clientId,"] Emit P2PChannelEvents.RequestRePublish to republish tracks.")),yield We(this,$.RequestRePublish,this.pendingLocalTracks),this.emit($.MediaReconnectEnd,this.store.uid),this.pendingLocalTracks=[]),this.pendingLocalDataChannels.length>0&&(_.debug("Emit P2PChannelEvents.RequestRePublishDataChannel to republish datachannels."),yield We(this,$.RequestRePublishDataChannel,this.pendingLocalDataChannels),this.pendingLocalDataChannels=[]),this._isWaitPcToRePub=!1})}reSubscribe(t){return C(this,null,function*(){for(let e=this.pendingRemoteTracks.length-1;e>=0;e--){const{user:i,kind:n}=this.pendingRemoteTracks[e];(n!==q.AUDIO||i._audio_added_&&i._audioSSRC)&&(n!==q.VIDEO||i._video_added_&&i._videoSSRC)||this.pendingRemoteTracks.splice(e,1)}if(t)yield We(this,$.RequestReSubscribe,this.pendingRemoteTracks);else for(const{user:e,kind:i}of this.pendingRemoteTracks)yield this.subscribe(e,i,i===q.VIDEO?e._videoSSRC:e._audioSSRC);this.pendingRemoteTracks.forEach(e=>{let{user:i}=e;this.emit($.MediaReconnectEnd,i.uid)}),this.pendingRemoteTracks=[]})}unpublish(t){return C(this,null,function*(){if(!this.connection||this.state!==wt.Connected)return void t.forEach(n=>{const r=this.pendingLocalTracks.indexOf(n);r!==-1&&this.pendingLocalTracks.splice(r,1)});const e=this.filterTobeUnpublishedTracks(t);if(e.length===0)return;const i=e.find(n=>n[0]==="videoLowTrack");return i&&i[1].track.close(),this.doUnpublish(this.connection,e)})}unpublishDataChannel(t){return C(this,null,function*(){if(!this.connection||this.state!==wt.Connected)return void t.forEach(i=>{const n=this.pendingLocalDataChannels.indexOf(i);n!==-1&&this.pendingLocalDataChannels.splice(n,1)});const e=this.filterTobeUnpublishedDataChannels(t);return e.length!==0?(e.forEach(i=>{const n=this.localDataChannels.indexOf(i);n!==-1&&this.localDataChannels.splice(n,1)}),this.localDataChannels.length===0&&(yield this.connection.stopDataChannels(this.store.uid)),e.map(i=>i.id)):void 0})}unpublishLowStream(){return C(this,null,function*(){if(!this.connection||this.state!==wt.Connected)return;const t=this.localTrackMap.get(V.LocalVideoLowTrack);if(!t)return;t.track.close();const e=[[V.LocalVideoLowTrack,t]];return this.doUnpublish(this.connection,e)})}doUnpublish(t,e){return C(this,null,function*(){const i=this.createGatewayUnpublishMessage(e);return yield t.stopSending(e.map(n=>{let[,{id:r}]=n;return r})),this.withdrawLocalTracks(e),this.unbindLocalTrackEvents(e.map(n=>{let[r,{track:o}]=n;return{type:r,track:o}})),e.forEach(n=>{let[r]=n;this.statsCollector.removeLocalStats(r)}),this.localTrackMap.size===0&&this.statsUploader.stopUploadOutboundStats(),i})}subscribeDataChannel(t,e){return C(this,null,function*(){if(!this.connection||this.state!==wt.Connected)throw new k(v.INVALID_OPERATION,"Cannot subscribe remote user when peerConnection disconnected.");const i=e.filter(n=>{var r;return!((r=this.remoteDataChannelMap.get(t))!==null&&r!==void 0&&r.get(n.id))});if(i.length!==0)return yield this.connection.createDataChannels(t.uid,i),i.forEach(n=>{var r;this.remoteDataChannelMap.has(t)?(r=this.remoteDataChannelMap.get(t))===null||r===void 0||r.set(n.id,n):this.remoteDataChannelMap.set(t,new Map([[n.id,n]]));const o=this.pendingRemoteDataChannels.findIndex(s=>{let{user:a,id:c}=s;return a.uid===t.uid&&c===n.id});o!==-1&&this.pendingRemoteDataChannels.splice(o,1)}),i.map(n=>n.id)})}subscribe(t,e,i,n,r){return C(this,null,function*(){var o;if(!this.connection||this.state!==wt.Connected)throw new k(v.INVALID_OPERATION,"Cannot subscribe remote user when peerConnection disconnected.");if((o=this.remoteUserMap.get(t))!==null&&o!==void 0&&o.has(e))return;let s,a,c;const d=this.connection.getPreMedia(i);if(d)_.debug("[".concat(this.store.clientId,"] [").concat(this.store.p2pId,"] preSSRCMap has ssrcId: ").concat(i,", no need to send sub to gateway.")),c=d.transceiver,s=d.track,a=d.id;else if(r){const h=r.find(g=>{let{stream_type:m}=g;return m===e});if(!h)throw new k(v.UNEXPECTED_ERROR,"Cannot subscribe to remote ".concat(e," for user: ").concat(t.uid," because subscribe answer from gateway does not contain stream_type: ").concat(e,"."));const p=yield this.connection.receive(e,h.ssrcs,String(t._uintid),h.attributes);this.connection instanceof Cr&&(c=p.transceiver),s=p.track,a=p.id}else{const h=yield this.connection.receive(e,[{ssrcId:i,rtx:n}],String(t._uintid),void 0);this.connection instanceof Cr&&(c=h.transceiver),s=h.track,a=h.id}if(e===q.AUDIO?(t._audioTrack?t._audioTrack._updateOriginMediaStreamTrack(s):(t._audioTrack=new Sa(s,t.uid,t._uintid,this.store),_.info("[".concat(this.store.clientId,"] [").concat(this.store.p2pId,"] create remote audio track: ").concat(t._audioTrack.getTrackId()))),c&&t._audioTrack._updateRtpTransceiver(c),this.bindRemoteTrackEvents(t,t._audioTrack)):(t._videoTrack?t._videoTrack._updateOriginMediaStreamTrack(s):(t._videoTrack=new ga(s,t.uid,t._uintid,this.store),_.info("[".concat(this.store.clientId,"] [").concat(this.store.p2pId,"] create remote video track: ").concat(t._videoTrack.getTrackId()))),c&&t._videoTrack._updateRtpTransceiver(c),this.bindRemoteTrackEvents(t,t._videoTrack)),c&&y("ENABLE_ENCODED_TRANSFORM")){const{interceptRemoteVideoFrame:h,interceptRemoteAudioFrame:p}=Wu();e==q.VIDEO?yield h(c.receiver,{onSei:y("ENABLE_VIDEO_SEI")&&(g=>{var m;return(m=t._videoTrack)===null||m===void 0?void 0:m._onSei(g)})}):e==q.AUDIO&&(yield p(c.receiver,{enableTopn:!!y("ENABLE_AUDIO_TOPN"),enableMetadata:!!y("ENABLE_AUDIO_METADATA"),onMetadata:g=>{this.safeEmit($.AudioMetadata,g)}}))}const l=this.remoteUserMap.get(t);l?l.set(e,a):this.remoteUserMap.set(t,new Map([[e,a]])),this.statsCollector.addRemoteStats(t.uid),this.statsUploader.startUploadInboundStats();const u=this.pendingRemoteTracks.findIndex(h=>{let{user:p,kind:g}=h;return p.uid===t.uid&&e===g});u!==-1&&(this.pendingRemoteTracks.splice(u,1),this.emit($.MediaReconnectEnd,t.uid))})}massSubscribe(t){return C(this,null,function*(){return this.massSubscribeNoLock(t)})}massSubscribeNoLock(t){return C(this,null,function*(){if(!this.connection||this.state!==wt.Connected)throw new k(v.INVALID_OPERATION,"Cannot subscribeAll remote users when peerConnection disconnected.");t=t.filter(r=>{var o;let{user:s,mediaType:a}=r;return!((o=this.remoteUserMap.get(s))!==null&&o!==void 0&&o.has(a))});const e=[],i=new Map;t.forEach(r=>{if(!this.connection)return;const o=this.connection.getPreMedia(r.ssrcId);o?i.set(r.ssrcId,o):e.push(r)});const n=yield this.connection.batchReceive(e.map(r=>{let{user:o,mediaType:s,ssrcId:a,rtxSsrcId:c}=r;return{kind:s,ssrcMsg:[{ssrcId:a,rtx:c}],mslabel:String(o._uintid)}}));e.forEach((r,o)=>{i.set(r.ssrcId,n[o])});for(const{user:r,mediaType:o,ssrcId:s}of t){const a=i.get(s);if(!a)return void _.debug("[".concat(this.store.clientId,"] [").concat(this.store.p2pId,"] cannot find ").concat(r.uid," subscribe data,").concat(o,", ").concat(s));const{track:c,id:d,transceiver:l}=a;if(l&&y("ENABLE_ENCODED_TRANSFORM")){const{interceptRemoteVideoFrame:p,interceptRemoteAudioFrame:g}=Wu();o==q.VIDEO?yield p(l.receiver,{onSei:y("ENABLE_VIDEO_SEI")&&(m=>{var f;return(f=r._videoTrack)===null||f===void 0?void 0:f._onSei(m)})}):o==q.AUDIO&&(yield g(l.receiver,{enableTopn:!!y("ENABLE_AUDIO_TOPN"),enableMetadata:!!y("ENABLE_AUDIO_METADATA"),onMetadata:m=>{this.safeEmit($.AudioMetadata,m)}}))}if(o===q.AUDIO?(r._audioTrack?r._audioTrack._updateOriginMediaStreamTrack(c):(r._audioTrack=new Sa(c,r.uid,r._uintid,this.store),_.info("[".concat(this.store.clientId,"] [").concat(this.store.p2pId,"] create remote audio track: ").concat(r._audioTrack.getTrackId()))),l&&r._audioTrack._updateRtpTransceiver(l),this.bindRemoteTrackEvents(r,r._audioTrack)):(r._videoTrack?r._videoTrack._updateOriginMediaStreamTrack(c):(r._videoTrack=new ga(c,r.uid,r._uintid,this.store),_.info("[".concat(this.store.clientId,"] [").concat(this.store.p2pId,"] create remote video track: ").concat(r._videoTrack.getTrackId()))),l&&r._videoTrack._updateRtpTransceiver(l),this.bindRemoteTrackEvents(r,r._videoTrack)),y("ENABLE_VIDEO_SEI")&&l){const{interceptRemoteVideoFrame:p,interceptRemoteAudioFrame:g}=Wu();o==q.VIDEO?yield p(l.receiver,{onSei:m=>{var f;(f=r._videoTrack)===null||f===void 0||f._onSei(m)}}):o==q.AUDIO&&(yield g(l.receiver))}const u=this.remoteUserMap.get(r);u?u.set(o,d):this.remoteUserMap.set(r,new Map([[o,d]])),this.statsCollector.addRemoteStats(r.uid),this.statsUploader.startUploadInboundStats();const h=this.pendingRemoteTracks.findIndex(p=>{let{user:g,kind:m}=p;return g.uid===r.uid&&o===m});h!==-1&&(this.pendingRemoteTracks.splice(h,1),this.emit($.MediaReconnectEnd,r.uid))}})}unsubscribe(t,e,i){return C(this,null,function*(){const n=this.pendingRemoteTracks.filter(s=>{let{user:a,kind:c}=s;return e!==void 0?a.uid===t.uid&&e===c:a.uid===t.uid});if(n.forEach(s=>{const a=this.pendingRemoteTracks.indexOf(s);this.pendingRemoteTracks.splice(a,1)}),this.connection&&this.state===wt.Connected||i||n.forEach(s=>{let{kind:a}=s;var c;if(a===q.AUDIO)(c=t._audioTrack)===null||c===void 0||c._destroy(),t._audioTrack=void 0;else if(a===q.VIDEO){var d;(d=t._videoTrack)===null||d===void 0||d._destroy(),t._videoTrack=void 0}}),!this.connection||this.state!==wt.Connected)return;const r=this.filterTobeUnSubscribedTracks(t,e);if(r.length===0)return;yield this.connection.stopReceiving(r.map(s=>{let[,{id:a}]=s;return a}));const o=this.createUnsubscribeMessage(r);return this.withdrawRemoteTracks(r),this.remoteUserMap.size===0&&this.statsUploader.stopUploadInboundStats(),r.forEach(s=>{let[a,{kind:c}]=s;var d,l;if(c===q.VIDEO&&a._videoSSRC&&((d=this.connection)===null||d===void 0||d.setStatsRemoteVideoIsReady(a._videoSSRC,!1)),c===q.VIDEO)this.unbindRemoteTrackEvents(a._videoTrack),i||((l=a._videoTrack)===null||l===void 0||l._destroy(),a._videoTrack=void 0);else if(c===q.AUDIO){var u;this.unbindRemoteTrackEvents(a._audioTrack),!i&&((u=a._audioTrack)===null||u===void 0||u._destroy(),a._audioTrack=void 0)}}),o})}unsubscribeDataChannel(t,e){return C(this,null,function*(){if(e.forEach(r=>{const o=this.pendingRemoteDataChannels.findIndex(s=>s.id===r.id);o!==-1&&this.pendingRemoteDataChannels.splice(o,1)}),!this.connection)return;const i=this.filterTobeUnSubscribedDataChannels(t,e);if(i.length===0)return;e.forEach(r=>{r._close()});const n=this.remoteDataChannelMap.get(t);return i.forEach(r=>{n&&n.delete(r.id)}),n&&n.size===0&&(this.remoteDataChannelMap.delete(t),yield this.connection.stopDataChannels(t.uid)),i.map(r=>r.id)})}massUnsubscribe(t){return C(this,null,function*(){return this.massUnsubscribeNoLock(t)})}massUnsubscribeNoLock(t){return C(this,null,function*(){let e=[];for(const{user:r,mediaType:o}of t){const s=this.pendingRemoteTracks.filter(a=>{let{user:c,kind:d}=a;return o!==void 0?c.uid===r.uid&&o===d:c.uid===r.uid});s.forEach(a=>{const c=this.pendingRemoteTracks.indexOf(a);this.pendingRemoteTracks.splice(c,1)}),e=e.concat(s)}if(!this.connection||this.state!==wt.Connected)return void e.forEach(r=>{let{user:o,kind:s}=r;var a;if(s===q.AUDIO)(a=o._audioTrack)===null||a===void 0||a._destroy(),o._audioTrack=void 0;else if(s===q.VIDEO){var c;(c=o._videoTrack)===null||c===void 0||c._destroy(),o._videoTrack=void 0}});const i=Tn(t).call(t,(r,o)=>{let{user:s,mediaType:a}=o;const c=this.filterTobeUnSubscribedTracks(s,a);return r.concat(c)},[]);if(i.length===0)return;yield this.connection.stopReceiving(i.map(r=>{let[,{id:o}]=r;return o}));const n=this.createUnsubscribeAllMessage(i);return this.withdrawRemoteTracks(i),this.remoteUserMap.size===0&&this.statsUploader.stopUploadInboundStats(),i.forEach(r=>{let[o,{kind:s}]=r;var a,c;if(s===q.VIDEO&&o._videoSSRC&&((a=this.connection)===null||a===void 0||a.setStatsRemoteVideoIsReady(o._videoSSRC,!1)),s===q.VIDEO)this.unbindRemoteTrackEvents(o._videoTrack),(c=o._videoTrack)===null||c===void 0||c._destroy(),o._videoTrack=void 0;else if(s===q.AUDIO){var d;this.unbindRemoteTrackEvents(o._audioTrack),(d=o._audioTrack)===null||d===void 0||d._destroy(),o._audioTrack=void 0}}),n})}isPreSubScribe(t){return!this.connection||this.state!==wt.Connected?!1:!!this.connection.getPreMedia(t)}muteRemote(t,e){return C(this,null,function*(){if(!this.connection)return;const i=this.remoteUserMap.get(t);if(!i)return void _.warning("[".concat(this.store.clientId,"] P2PChannel.muteRemote has no remote user ").concat(t.uid,"."));if(!i.get(e))return void _.warning("[".concat(this.store.clientId,"] P2PChannel.muteRemote has no remote user ").concat(t.uid," media type ").concat(e,"."));const n=e===q.VIDEO?t._videoSSRC:t._audioSSRC;n!==void 0&&this.connection.setStatsRemoteVideoIsReady(n,!1)})}unmuteRemote(t,e){return C(this,null,function*(){return this.unmuteRemoteNoLock(t,e)})}unmuteRemoteNoLock(t,e){return C(this,null,function*(){if(!this.connection)return;const i=this.remoteUserMap.get(t);if(!i)return void _.warning("[".concat(this.store.clientId,"] P2PChannel.unmuteRemote has no remote user ").concat(t.uid,"."));i.get(e)||_.warning("[".concat(this.store.clientId,"] P2PChannel.unmuteRemote has no remote user ").concat(t.uid," media type ").concat(e,"."))})}addAudioMetadata(t){const e=this.localTrackMap.get(V.LocalAudioTrack),i=e&&e.track;i&&i.metadata.push(t)}getAllTracks(t){const e=this.localTrackMap.get(V.LocalAudioTrack);if((e==null?void 0:e.track)instanceof ve){const i=e.track;return Array.from(this.localTrackMap.entries()).filter(n=>{let[r]=n;return r!==V.LocalAudioTrack}).filter(n=>{let[r]=n;return!(t&&r===V.LocalVideoLowTrack)}).map(n=>{let[,{track:r}]=n;return r}).concat(i.trackList)}return Array.from(this.localTrackMap.entries()).filter(i=>{let[n]=i;return!(t&&n===V.LocalVideoLowTrack)}).map(i=>{let[,{track:n}]=i;return n})}getAllDataChannels(){return this.localDataChannels}reportPublishEvent(t,e,i,n,r){if(t){const s=this.localTrackMap.get(V.LocalAudioTrack),a=n?this.localTrackMap.get(V.LocalVideoLowTrack):this.localTrackMap.get(V.LocalVideoTrack);Z.publish(this.store.sessionId,{eventElapse:Je.measureFromPublishStart(this.store.clientId,this.store.pubId),succ:t,ec:e,audioName:s==null?void 0:s.track.getTrackLabel(),videoName:a==null?void 0:a.track.getTrackLabel(),screenshare:(a==null?void 0:a.track._hints.indexOf(Vt.SCREEN_TRACK))!==-1,audio:!!s,video:!!a,p2pid:this.store.p2pId,publishRequestid:this.store.pubId,extend:r})}else{var o;i||(i=[]);const s=i.find(c=>c instanceof ae),a=n?(o=this.localTrackMap.get(V.LocalVideoTrack))===null||o===void 0?void 0:o.track:i.find(c=>c instanceof Yt);Z.publish(this.store.sessionId,{eventElapse:Je.measureFromPublishStart(this.store.clientId,this.store.pubId),succ:t,ec:e,audioName:s==null?void 0:s.getTrackLabel(),videoName:a==null?void 0:a.getTrackLabel(),screenshare:(a==null?void 0:a._hints.indexOf(Vt.SCREEN_TRACK))!==-1,audio:!!s,video:!!a,p2pid:this.store.p2pId,publishRequestid:this.store.pubId,extend:r})}}reportSubscribeEvent(t,e,i,n){const r=n===q.VIDEO?i._videoSSRC:i._audioSSRC;r&&Z.subscribe(this.store.sessionId,{succ:t,ec:e,video:n===q.VIDEO,audio:n===q.AUDIO,peerid:i.uid,subscribeRequestid:r,p2pid:this.store.p2pId,eventElapse:Je.measureFromSubscribeStart(this.store.clientId,r),preSsrc:this.isPreSubScribe(r)})}reset(){_.debug("[".concat(this.store.clientId,"] P2PChannel.reset")),this.mutex=new qe("P2PChannel-mutex",this.store.clientId),this.connection&&(this.resetConnection(this.connection),this.connection=void 0),this.shouldForwardP2PCreation&&(this.connection=Ju(this.store),this.emit($.PeerConnectionStateChange,this.connection.peerConnectionState),this.bindConnectionEvents(this.connection)),this.statsUploader.stopUploadOutboundStats(),this.statsUploader.stopUploadInboundStats(),this.statsUploader.stopUploadTransportStats(),this.statsUploader.stopUploadExtensionUsageStats(),this.statsUploader.stopUploadBaseStats(),this.unbindLocalTrackEvents(),this.unbindAllRemoteTrackEvents(),this.unbindRtpTransceiver();const t=this.localTrackMap.get(V.LocalAudioTrack);if((t==null?void 0:t.track)instanceof ve){if(t.track.trackList.length>0){const e=t.track;t.track.trackList.forEach(i=>{e.removeAudioTrack(i)})}t.track.close()}this.localTrackMap.clear(),this.remoteUserMap.clear(),this.statsCollector.removeRemoteStats(),this.statsCollector.removeLocalStats(),this.iceFailedCount=0,this.dtlsFailedCount=0,this.pendingLocalTracks=[],this.pendingRemoteTracks=[],this.localDataChannels=[],this.remoteDataChannelMap.clear(),this.pendingLocalDataChannels=[],this.pendingRemoteDataChannels=[],this.state=wt.Disconnected}getStats(){var t;return(t=this.connection)===null||t===void 0?void 0:t.getStats()}getRemoteVideoIsReady(t){var e;return((e=this.connection)===null||e===void 0?void 0:e.getRemoteVideoIsReady(t))||!1}getLocalAudioVolume(){const t=this.localTrackMap.get(V.LocalAudioTrack);if(t)return t.track.getVolumeLevel()}getLocalVideoSize(){const t=this.localTrackMap.get(V.LocalVideoTrack);if(t)return{width:t.track.videoWidth||0,height:t.track.videoHeight||0}}getEncoderConfig(t){const e=this.localTrackMap.get(t);return e&&e.track instanceof Yt||e&&e.track instanceof ae?e.track._encoderConfig:void 0}getLocalMedia(t){return this.localTrackMap.get(t)}hasLocalMedia(){return this.localTrackMap.size>0}hasRemoteMedia(t,e){if(!t)return this.remoteUserMap.size>0;const i=this.remoteUserMap.get(t);return!!i&&(!e||i.has(e))}hasRemoteMediaWithLock(t,e){return C(this,null,function*(){if(!t)return this.remoteUserMap.size>0;const i=this.remoteUserMap.get(t);return!!i&&(!e||i.has(e))})}getRemoteMedia(t){var e;const i=Array.from(Ji(e=this.remoteUserMap).call(e)).find(n=>n.uid===t);return i?{audioTrack:i.audioTrack,audioSSRC:i._audioSSRC,videoTrack:i.videoTrack,videoSSRC:i._videoSSRC}:{}}getAudioLevels(){let t=Array.from(this.remoteUserMap.entries()).map(i=>{let[n]=i;return{uid:n.uid,level:n.audioTrack?100*n.audioTrack._source.getAccurateVolumeLevel():0}});const e=this.localTrackMap.get(V.LocalAudioTrack);return e&&t.push({level:100*e.track._source.getAccurateVolumeLevel(),uid:this.store.uid}),t=jo(t).call(t,(i,n)=>i.level-n.level),t}disconnectForReconnect(){return C(this,null,function*(){this.connection&&(_.debug("[".concat(this.store.clientId,"] P2PChannel.disconnectForReconnect closing P2PConnection")),this.state=wt.Reconnecting,y("KEEP_LAST_FRAME")&&this.remoteUserMap.size!==0&&Array.from(this.remoteUserMap.entries()).forEach(t=>{let[e]=t;var i;e._videoTrack&&e._videoTrack._player&&((i=e._videoTrack._player.getVideoElement())===null||i===void 0||i.pause(),e._videoTrack._player.isKeepLastFrame=!0,e._videoTrack._originMediaStreamTrack.stop())}),this.resetConnection(this.connection),this.connection=void 0,this.shouldForwardP2PCreation&&(this.connection=Ju(this.store),this.emit($.PeerConnectionStateChange,this.connection.peerConnectionState),this.bindConnectionEvents(this.connection)),this.localTrackMap.size!==0&&(Array.from(this.localTrackMap.entries()).forEach(t=>{var e;let[i,{track:n}]=t;switch(i){case V.LocalVideoTrack:G(e=n._hints).call(e,Vt.LOW_STREAM)?n.close():this.pendingLocalTracks.push(n);break;case V.LocalAudioTrack:n instanceof ve?this.pendingLocalTracks=this.pendingLocalTracks.concat(n.trackList):this.pendingLocalTracks.push(n);case V.LocalVideoLowTrack:}}),this.emit($.MediaReconnectStart,this.store.uid)),this.unbindLocalTrackEvents(),this.localTrackMap.clear(),this.remoteUserMap.size!==0&&Array.from(this.remoteUserMap.entries()).forEach(t=>{let[e,i]=t;Array.from(Ji(i).call(i)).forEach(n=>{this.setPendingRemoteMedia(e,n)}),this.emit($.MediaReconnectStart,e.uid)}),this.unbindAllRemoteTrackEvents(),this.remoteUserMap.clear(),this.localDataChannels.length!==0&&(this.localDataChannels.forEach(t=>{this.pendingLocalDataChannels.push(t)}),this.localDataChannels.length=0),this.remoteDataChannelMap.size!==0&&(Array.from(this.remoteDataChannelMap.entries()).forEach(t=>{let[e,i]=t;Array.from(Ji(i).call(i)).forEach(n=>{this.setPendingRemoteDataChannel(e,n)})}),this.remoteDataChannelMap.clear()),this.statsUploader.stopUploadOutboundStats(),this.statsUploader.stopUploadInboundStats(),this.statsUploader.stopUploadTransportStats(),_.debug("[".concat(this.store.clientId,"] P2PChannel disconnected, waiting to reconnect.")))})}hasPendingRemoteDataChannel(t,e){for(const i of this.pendingRemoteDataChannels){const{user:n,id:r}=i;if((t instanceof Co?t.uid:t)===n.uid&&r===e)return!0}return!1}setPendingRemoteDataChannel(t,e){this.hasPendingRemoteDataChannel(t,e)||this.pendingRemoteDataChannels.push({user:t,id:e})}hasPendingRemoteMedia(t,e){for(const i of this.pendingRemoteTracks){const{user:n,kind:r}=i;if((t instanceof Co?t.uid:t)===n.uid&&e===r)return!0}return!1}setPendingRemoteMedia(t,e){this.hasPendingRemoteMedia(t,e)||this.pendingRemoteTracks.push({user:t,kind:e})}restartICE(t){var e=this;return cn(function*(){if(!e.connection||e.state!==wt.Connected)return;const i=yield Rt(e.mutex.lock("From P2PChannel.restartICE"));let n;try{n=yield Rt(e.connection.restartICE(t));const o=yield Rt(n.next());if(o.done)return;const s=o.value,a=yield s;switch(zm(e.connection)&&e.reportPCStats(Date.now(),!1,e._pcStatsUploadType),t){case Xe.UDP_TCP_RELAY:e._pcStatsUploadType=Hr.UDP_TCP_RESTART;break;case Xe.TCP_RELAY:e._pcStatsUploadType=Hr.TCP_RESTART;break;case Xe.RELAY:e._pcStatsUploadType=Hr.RELAY_RESTART;break;default:e._pcStatsUploadType=Hr.OLD_RESTART}e._isTryConnecting=!0,n.next(a)}catch(o){var r;(r=n)===null||r===void 0||r.throw(o)}finally{i()}})()}getUplinkNetworkQuality(){if(!this.connection)return 0;const t=this.connection.getStats(),e=this.localTrackMap.get(V.LocalVideoTrack),i=this.localTrackMap.get(V.LocalAudioTrack),n=t.videoSend.find(p=>p.ssrc===(e==null?void 0:e.ssrcs[0].ssrcId)),r=t.audioSend.find(p=>p.ssrc===(i==null?void 0:i.ssrcs[0].ssrcId));if(!n||!r)return 1;const o=zi(this,$.NeedSignalRTT),s=n?n.rttMs:void 0,a=r?r.rttMs:void 0,c=s&&a?(s+a)/2:s||a,d=(c&&o?(c+o)/2:c||o)||0,l=100*t.sendPacketLossRate*.7/50+.3*d/1500,u=l<.17?1:l<.36?2:l<.59?3:l<.1?4:5,h=e==null?void 0:e.track;if(h&&h._encoderConfig&&h._hints.indexOf(Vt.SCREEN_TRACK)===-1){const p=h._encoderConfig.bitrateMax,g=t.bitrate.actualEncoded;if(p&&g){const m=(1e3*p-g)/(1e3*p);return Xb[m<.15?0:m<.3?1:m<.45?2:m<.6?3:4][u]}}return u}getDownlinkNetworkQuality(){if(!this.connection)return 0;const t=this.connection.getStats();let e=0;return Array.from(this.remoteUserMap.entries()).forEach(i=>{let[n]=i;const r=n._audioSSRC,o=n._videoSSRC,s=t.audioRecv.find(g=>g.ssrc===r),a=t.videoRecv.find(g=>g.ssrc===o);if(!s&&!a)return void(e+=1);const c=zi(this,$.NeedSignalRTT),d=t.rtt,l=(d&&c?(d+c)/2:d||c)||0,u=s?s.jitterMs:void 0,h=t.recvPacketLossRate;let p=.7*h*100/50+.3*l/1500;u&&(p=.6*h*100/50+.2*l/1500+.2*u/400),e+=p<.1?1:p<.17?2:p<.36?3:p<.59?4:5}),this.remoteUserMap.size>0?Math.round(e/this.remoteUserMap.size):e}muteLocalTrack(t){return C(this,null,function*(){return new K((e,i)=>{this.handleMuteLocalTrack(t,e,i)})})}replaceTrack(t,e){return C(this,null,function*(){var i;if(_.debug("[".concat(this.store.clientId,"] P2PChannel replaceTrack from [").concat(t.getTrackId(),"] to [").concat(e.getTrackId(),"]")),!this.connection||this.state!==wt.Connected)return;const n=Array.from(this.localTrackMap.entries()).find(o=>{let[,{track:s}]=o;return t===s});if(!n)return;const r=n[0];if(t!==e&&(this.unbindLocalTrackEvents([{track:t,type:r}]),this.bindLocalTrackEvents([{track:e,type:r}]),n[1].track=e),yield(i=this.connection)===null||i===void 0?void 0:i.replaceTrack(e,n[1].id),this.isPlanB){const o=n[1];o.id=e._mediaStreamTrack.id,this.localTrackMap.set(r,o)}if(r===V.LocalVideoTrack&&!y("DISABLE_DUAL_STREAM_USE_ENCODING")&&Ct().supportDualStreamEncoding){const o=this.localTrackMap.get(V.LocalVideoLowTrack);if(o){const s=t._mediaStreamTrack.clone();o.track._originMediaStreamTrack.stop(),o.track._mediaStreamTrack=s,o.track._originMediaStreamTrack=s,yield new K((a,c)=>{this.handleReplaceTrack(o.track,a,c,!0)})}}})}filterTobePublishedTracks(t,e,i){const n=[],r=this.getAllTracks();t=oa(t=t.filter(c=>r.indexOf(c)===-1));let o,s=!1;const a=this.localTrackMap.get(V.LocalAudioTrack);for(const c of t){if(c instanceof Yt&&(this.localTrackMap.has(V.LocalVideoTrack)||s?new k(v.CAN_NOT_PUBLISH_MULTIPLE_VIDEO_TRACKS).throw():(n.push({track:c,type:V.LocalVideoTrack}),s=!0),e)){const d=this.getLowVideoTrack(c,i);n.push({track:d,type:V.LocalVideoLowTrack})}if(c instanceof ae)if(a){const d=a.track;if(d instanceof ve)Ym([c]),d.addAudioTrack(c),this.bindLocalAudioTrackEvents(c,!0);else{const l=qm([d,c]);_.debug("[".concat(this.store.clientId,"] [p2pId: ").concat(this.store.p2pId,"]: P2PConnection will replace audioTrack [").concat(l.getTrackId(),"]")),this.replaceTrack(d,l)}}else o instanceof ve?(Ym([c]),o.addAudioTrack(c)):o||!c._useAudioElement&&Ct().webAudioMediaStreamDest&&!c._bypassWebAudio?o=qm(o?[c,o]:[c]):o=c}return o&&(_.debug("[".concat(this.store.clientId,"] [p2pId: ").concat(this.store.p2pId,"]: P2PConnection will send audioTrack [").concat(o.getTrackId(),"]")),n.push({track:o,type:V.LocalAudioTrack})),n}filterTobeUnpublishedTracks(t){const e=[],i=this.getAllTracks();t=oa(t=t.filter(n=>i.indexOf(n)!==-1));for(const n of t){if(n instanceof ae){const r=this.localTrackMap.get(V.LocalAudioTrack);if(!r)continue;r.track instanceof ve?(r.track.removeAudioTrack(n),this.unbindLocalAudioTrackEvents(n),r.track.trackList.length===0&&(e.push([V.LocalAudioTrack,r]),r.track.close())):e.push([V.LocalAudioTrack,r])}if(n instanceof Yt){const r=this.localTrackMap.get(V.LocalVideoTrack);if(!r)continue;e.push([V.LocalVideoTrack,r]);const o=this.localTrackMap.get(V.LocalVideoLowTrack);o&&e.push([V.LocalVideoLowTrack,o])}}return e}filterTobePublishedDataChannels(t){return t=(t=oa(t)).filter(e=>this.localDataChannels.findIndex(i=>i.id===e.id)===-1)}filterTobeUnpublishedDataChannels(t){return t=(t=(t=oa(t)).filter(e=>this.localDataChannels.indexOf(e)!==-1)).filter(e=>e._originDataChannel)}bindLocalTrackEvents(t){t.forEach(e=>{let{track:i,type:n}=e;switch(n){case V.LocalVideoTrack:i.addListener(J.GET_STATS,this.handleGetLocalVideoStats),i.addListener(J.GET_RTC_STATS,this.handleGetRTCStats),i.addListener(J.NEED_DISABLE_TRACK,this.handleMuteLocalTrack),i.addListener(J.NEED_ENABLE_TRACK,this.handleUnmuteLocalTrack),i.addListener(J.NEED_UPDATE_VIDEO_ENCODER,this.handleUpdateVideoEncoder),i.addListener(J.NEED_UPDATE_VIDEO_SEND_PARAMETERS,this.handleUpdateVideoSendParameters),i.addListener(J.NEED_REPLACE_TRACK,this.handleReplaceTrack),i.addListener(J.NEED_MUTE_TRACK,this.handleMuteLocalTrack),i.addListener(J.NEED_UNMUTE_TRACK,this.handleUnmuteLocalTrack);break;case V.LocalAudioTrack:this.bindLocalAudioTrackEvents(i);case V.LocalVideoLowTrack:}})}bindLocalAudioTrackEvents(t,e){t instanceof ve?t.trackList.forEach(i=>{i.addListener(J.NEED_DISABLE_TRACK,this.handleMuteLocalTrack),i.addListener(J.NEED_ENABLE_TRACK,this.handleUnmuteLocalTrack),i.addListener(J.GET_STATS,this.handleGetLocalAudioStats),i.addListener(J.NEED_MUTE_TRACK,this.handleMuteLocalTrack),i.addListener(J.NEED_UNMUTE_TRACK,this.handleUnmuteLocalTrack)}):(t.addListener(J.GET_STATS,this.handleGetLocalAudioStats),t.addListener(J.NEED_DISABLE_TRACK,this.handleMuteLocalTrack),t.addListener(J.NEED_ENABLE_TRACK,this.handleUnmuteLocalTrack),t.addListener(J.NEED_MUTE_TRACK,this.handleMuteLocalTrack),t.addListener(J.NEED_UNMUTE_TRACK,this.handleUnmuteLocalTrack),e||(t.addListener(J.NEED_REPLACE_TRACK,this.handleReplaceTrack),t.addListener(J.NEED_REPLACE_MIXING_TRACK,this.handleReplaceMixingTrack)))}unbindLocalTrackEvents(t){t||(t=Array.from(this.localTrackMap.entries()).map(e=>{let[i,{track:n}]=e;return{track:n,type:i}})),t.forEach(e=>{let{track:i,type:n}=e;switch(n){case V.LocalVideoTrack:i.off(J.GET_STATS,this.handleGetLocalVideoStats),i.off(J.GET_RTC_STATS,this.handleGetRTCStats),i.off(J.NEED_DISABLE_TRACK,this.handleMuteLocalTrack),i.off(J.NEED_ENABLE_TRACK,this.handleUnmuteLocalTrack),i.off(J.NEED_UPDATE_VIDEO_ENCODER,this.handleUpdateVideoEncoder),i.off(J.NEED_UPDATE_VIDEO_SEND_PARAMETERS,this.handleUpdateVideoSendParameters),i.off(J.NEED_REPLACE_TRACK,this.handleReplaceTrack),i.off(J.NEED_MUTE_TRACK,this.handleMuteLocalTrack),i.off(J.NEED_UNMUTE_TRACK,this.handleUnmuteLocalTrack);break;case V.LocalAudioTrack:this.unbindLocalAudioTrackEvents(i);case V.LocalVideoLowTrack:}})}unbindLocalAudioTrackEvents(t){t instanceof ve?t.trackList.forEach(e=>{e.off(J.NEED_DISABLE_TRACK,this.handleMuteLocalTrack),e.off(J.NEED_ENABLE_TRACK,this.handleUnmuteLocalTrack),e.off(J.GET_STATS,this.handleGetLocalAudioStats),e.off(J.NEED_MUTE_TRACK,this.handleMuteLocalTrack),e.off(J.NEED_UNMUTE_TRACK,this.handleUnmuteLocalTrack)}):(t.off(J.GET_STATS,this.handleGetLocalAudioStats),t.off(J.NEED_DISABLE_TRACK,this.handleMuteLocalTrack),t.off(J.NEED_ENABLE_TRACK,this.handleUnmuteLocalTrack),t.off(J.NEED_REPLACE_TRACK,this.handleReplaceTrack),t.off(J.NEED_REPLACE_MIXING_TRACK,this.handleReplaceMixingTrack),t.off(J.NEED_MUTE_TRACK,this.handleMuteLocalTrack),t.off(J.NEED_UNMUTE_TRACK,this.handleUnmuteLocalTrack))}bindRemoteTrackEvents(t,e){e instanceof ga&&e.addListener(J.GET_STATS,i=>{i(this.handleGetRemoteVideoStats(t))}),e instanceof Sa&&e.addListener(J.GET_STATS,i=>{i(this.handleGetRemoteAudioStats(t))})}unbindRemoteTrackEvents(t){t&&t.removeAllListeners(J.GET_STATS)}unbindAllRemoteTrackEvents(){Array.from(this.remoteUserMap.entries()).forEach(t=>{let[e,i]=t;i.has(q.AUDIO)&&this.unbindRemoteTrackEvents(e._audioTrack),i.has(q.VIDEO)&&this.unbindRemoteTrackEvents(e._videoTrack)})}createGatewayPublishMessage(t,e){return t.map((i,n)=>{var r;let o,s,{track:a,type:c}=i;switch(c){case V.LocalAudioTrack:o=Ot.Audio,s={dtx:a instanceof xc&&a._config.DTX,hq:!1,lq:!1,stereo:!1,speech:!1};break;case V.LocalVideoTrack:o=G(r=a._hints).call(r,Vt.SCREEN_TRACK)?Ot.Screen:Ot.High,s=yr(yr({},uw(a)),{},{codec:this.store.codec,svc_mode:Vu()});break;case V.LocalVideoLowTrack:o=Ot.Low,s=yr(yr({},uw(a)),{},{codec:this.store.codec,svc_mode:Vu()})}return{stream_type:o,attributes:s,ssrcs:e[n]}})}createGatewayUnpublishMessage(t){return t.map(e=>{var i;let n,[r,{track:o,ssrcs:s,id:a}]=e;switch(r){case V.LocalVideoTrack:n=G(i=o._hints).call(i,Vt.SCREEN_TRACK)?Ot.Screen:Ot.High;break;case V.LocalAudioTrack:n=Ot.Audio;break;case V.LocalVideoLowTrack:n=Ot.Low}return{stream_type:n,ssrcs:s,mid:a}})}assignLocalTracks(t,e){t.forEach((i,n)=>{let{track:r,type:o}=i;this.localTrackMap.set(o,{track:r,id:e[n].id,ssrcs:e[n].localSSRC})})}withdrawLocalTracks(t){t.forEach(e=>{let[i]=e;this.localTrackMap.delete(i)})}bindConnectionEvents(t){t.onConnectionStateChange=e=>C(this,null,function*(){if(_.info("[".concat(this.store.clientId,"] [p2pId: ").concat(this.store.p2pId,"]: P2PConnection.onConnectionStateChange(").concat(e,")")),this.emit($.PeerConnectionStateChange,e),e==="connecting"&&t instanceof Cr&&!ne()&&y("FIRST_TCP_CANDIDATE")&&window.setTimeout(()=>{e==="connecting"&&t.extendCandidate()},y("FIRST_TCP_CANDIDATE_INTERVAL")),e!=="connected"||this.store.keyMetrics.peerConnectionEnd||this.store.peerConnectionEnd(),e==="connected"&&(this._restartTimer&&(window.clearTimeout(this._restartTimer),this._restartTimer=void 0),t instanceof Cr&&c0(t,!0),this._isTryConnecting&&this.reportPCStats(Date.now(),!0,this._pcStatsUploadType),this._isTryConnecting=!1,this._isStartRestartIce=!1,this._pcStatsUploadType=Hr.DISCONNECTED_OR_FAILED,zi(this,$.QueryClientConnectionState)==="CONNECTED"&&this._isWaitPcToRePub)){const i=this.pendingLocalTracks.map(r=>r.getTrackId()),n=this.pendingLocalDataChannels.map(r=>"dc_".concat(r.id));Z.reportApiInvoke(this.store.sessionId,{name:_e.REPUB_AFTER_PC_CONNECTED,options:i.concat(n),tag:oe.TRACER}).onSuccess(),this.republish()}if(y("NEW_ICE_RESTART")&&t instanceof Cr&&!ne()&&!this._forceTurn){if(G(ow).call(ow,e)){if(this._isStartRestartIce)return;this._isStartRestartIce=!0;const i=r=>{zm(t)&&(_.debug("[".concat(this.store.clientId,"] [P2PChannel] try to restartICE, type is ").concat(r)),zi(this,$.QueryClientConnectionState)==="CONNECTED"&&this.emit($.RequestRestartICE,r))},n=()=>{zm(t)&&(this.reportPCStats(Date.now(),!1,this._pcStatsUploadType),_.debug("[".concat(this.store.clientId,"] P2PConnection disconnected timeout, force reconnect")),setTimeout(()=>this.emit($.P2PLost),0),this.iceFailedCount+=1,this.requestReconnect())};return void(this._restartTimer=window.setTimeout(()=>{d0(t,i,n)},800))}}else{if(e==="disconnected"&&t.iceConnectionState==="disconnected")return setTimeout(()=>{t.iceConnectionState==="disconnected"&&y("ICE_RESTART")&&zi(this,$.QueryClientConnectionState)==="CONNECTED"&&this.emit($.RequestRestartICE)},800),void setTimeout(()=>{t.peerConnectionState==="disconnected"&&(_.debug("[".concat(this.store.clientId,"] [p2pId: ").concat(this.store.p2pId,"]: P2PConnection disconnected timeout 4000ms, force reconnect")),this.reportPCStats(Date.now(),!1,this._pcStatsUploadType),this._isTryConnecting=!1,setTimeout(()=>this.emit($.P2PLost),0),this.iceFailedCount+=1,this.requestReconnect())},4e3);e==="failed"&&(_.debug("[".concat(this.store.clientId,"] [p2pId: ").concat(this.store.p2pId,"]: P2PConnection state failed, force reconnect")),this.reportPCStats(Date.now(),!1,this._pcStatsUploadType),setTimeout(()=>this.emit($.P2PLost),0),this.iceFailedCount+=1,yield this.requestReconnect())}}),t.onICEConnectionStateChange=e=>{e!=="connected"||this.store.keyMetrics.iceConnectionEnd||this.store.iceConnectionEnd(),_.info("[".concat(this.store.clientId,"] [p2pId: ").concat(this.store.p2pId,"]: P2PConnection.onICEConnectionStateChange(").concat(e,")")),Z.reportApiInvoke(this.store.sessionId,{name:"ICEConnectionStateChange",options:e,tag:oe.TRACER}).onSuccess(),this.emit($.IceConnectionStateChange,e)},t.onICETransportStateChange=e=>{_.info("[".concat(this.store.clientId,"] [p2pId: ").concat(this.store.p2pId,"]: P2PConnection.onICETransportStateChange(").concat(e,")"))},t.onDTLSTransportStateChange=e=>{_.info("[".concat(this.store.clientId,"] [p2pId: ").concat(this.store.p2pId,"]: P2PConnection.onDTLSTransportStateChange(").concat(e,")"))},t.onDTLSTransportError=e=>{_.info("[".concat(this.store.clientId,"] [p2pId: ").concat(this.store.p2pId,"]: P2PConnection.onDTLSTransportError(").concat(e,")"))},t.onFirstAudioDecoded=e=>{var i;const n=Array.from(Ji(i=this.remoteUserMap).call(i)).find(o=>o._audioSSRC===e);var r;n&&(this.store.subscribe(n.uid,"audio",void 0,void 0,void 0,Date.now()),(r=n.audioTrack)===null||r===void 0||r.emit(pa.FIRST_FRAME_DECODED),Z.firstRemoteFrame(this.store.sessionId,Oe.FIRST_AUDIO_DECODE,Jt.FIRST_AUDIO_DECODE,{peer:n._uintid,subscribeElapse:Je.measureFromSubscribeStart(this.store.clientId,e),subscribeRequestid:e,p2pid:this.store.p2pId}))},t.onFirstAudioReceived=e=>{var i;const n=Array.from(Ji(i=this.remoteUserMap).call(i)).find(r=>r._audioSSRC===e);n&&Z.firstRemoteFrame(this.store.sessionId,Oe.FIRST_AUDIO_RECEIVED,Jt.FIRST_AUDIO_RECEIVED,{peer:n._uintid,subscribeElapse:Je.measureFromSubscribeStart(this.store.clientId,e),subscribeRequestid:e,p2pid:this.store.p2pId})},t.onFirstVideoDecoded=(e,i,n)=>{this.reportVideoFirstFrameDecoded(e,i,n)},t.onFirstVideoReceived=e=>{var i;const n=Array.from(Ji(i=this.remoteUserMap).call(i)).find(r=>r._videoSSRC===e);n&&Z.firstRemoteFrame(this.store.sessionId,Oe.FIRST_VIDEO_RECEIVED,Jt.FIRST_VIDEO_RECEIVED,{peer:n._uintid,subscribeElapse:Je.measureFromSubscribeStart(this.store.clientId,e),subscribeRequestid:e,p2pid:this.store.p2pId})},t.onSelectedLocalCandidateChanged=(e,i)=>{const n=e.candidateType==="relay",r=i.candidateType==="relay";i.candidateType!=="unknown"&&n===r||this.emit($.ConnectionTypeChange,n),_.info("[".concat(this.store.clientId,"] [p2pId: ").concat(this.store.p2pId,"]: P2PConnection.SelectedLocalCandidateChanged(").concat(JSON.stringify(To(i))," -> ").concat(JSON.stringify(To(e)),")"))},t.onSelectedRemoteCandidateChanged=(e,i)=>{_.info("[".concat(this.store.clientId,"] [p2pId: ").concat(this.store.p2pId,"]: P2PConnection.SelectedRemoteCandidateChanged(").concat(JSON.stringify(To(i))," -> ").concat(JSON.stringify(To(e)),")"))},t.onFirstVideoDecodedTimeout=e=>{this.reportVideoFirstFrameDecoded(e,void 0,void 0,!0)},t.getLocalVideoStats=()=>{const e=this.statsCollector.getLocalVideoTrackStats(),i=this.statsCollector.getRTCStats();return yr(yr({},e),i)},t.onICECandidateError=e=>{this._iceError=e}}resetConnection(t){t instanceof Cr&&function(e){Pa.delete(e.id),c0(e)}(t),t.close(),this.emit($.PeerConnectionStateChange,"closed"),function(e){e.onConnectionStateChange=void 0,e.onICEConnectionStateChange=void 0,e.onICETransportStateChange=void 0,e.onDTLSTransportStateChange=void 0,e.onDTLSTransportError=void 0,e.onFirstAudioDecoded=void 0,e.onFirstAudioReceived=void 0,e.onFirstVideoDecoded=void 0,e.onFirstVideoReceived=void 0,e.onSelectedLocalCandidateChanged=void 0,e.onSelectedRemoteCandidateChanged=void 0,e.onFirstVideoDecodedTimeout=void 0,e.getLocalVideoStats=void 0}(t),this._isWaitPcToRePub=!1}filterTobeMutedTracks(t){const e=[];if(this.getAllTracks().indexOf(t)===-1)return e;const i=this.localTrackMap.get(V.LocalAudioTrack);if(t instanceof ae&&(i==null?void 0:i.track)instanceof ve)return i.track.isActive||e.push([V.LocalAudioTrack,i]),e;const n=Array.from(this.localTrackMap.entries()).find(r=>{let[,{track:o}]=r;return t===o});if(n&&(e.push(n),n[0]===V.LocalVideoTrack)){const r=this.localTrackMap.get(V.LocalVideoLowTrack);r&&e.push([V.LocalVideoLowTrack,r])}return e}filterTobeUnmutedTracks(t){const e=[],i=this.localTrackMap.get(V.LocalAudioTrack);if(t instanceof ae&&(i==null?void 0:i.track)instanceof ve)return i.track.isActive&&e.push([V.LocalAudioTrack,i]),e;const n=Array.from(this.localTrackMap.entries()).find(r=>{let[,{track:o}]=r;return t===o});if(n)if(n[0]===V.LocalVideoTrack){e.push(n);const r=this.localTrackMap.get(V.LocalVideoLowTrack);r&&e.push([V.LocalVideoLowTrack,r])}else e.push(n);return e}createMuteMessage(t){return t.map(e=>{var i;let n,[r,{track:o,ssrcs:s,id:a}]=e;switch(r){case V.LocalAudioTrack:n=Ot.Audio;break;case V.LocalVideoTrack:n=G(i=o._hints).call(i,Vt.SCREEN_TRACK)?Ot.Screen:Ot.High;break;case V.LocalVideoLowTrack:n=Ot.Low}return{stream_type:n,ssrcs:s,mid:a}})}createUnmuteMessage(t){return t.map(e=>{var i;let n,[r,{track:o,ssrcs:s,id:a}]=e;switch(r){case V.LocalAudioTrack:n=Ot.Audio;break;case V.LocalVideoTrack:n=G(i=o._hints).call(i,Vt.SCREEN_TRACK)?Ot.Screen:Ot.High;break;case V.LocalVideoLowTrack:n=Ot.Low}return{stream_type:n,ssrcs:s,mid:a}})}filterTobeUnSubscribedTracks(t,e){const i=[],n=this.remoteUserMap.get(t);if(!n)return i;if(e){const r=n.get(e);if(!r)return i;i.push([t,{kind:e,id:r}])}else Array.from(n.entries()).forEach(r=>{let[o,s]=r;i.push([t,{kind:o,id:s}])});return i}filterTobeUnSubscribedDataChannels(t,e){const i=[];return e.forEach(n=>{var r;(r=this.remoteDataChannelMap.get(t))!==null&&r!==void 0&&r.has(n.id)&&i.push(n)}),i}createUnsubscribeMessage(t){const e=[];return t.forEach(i=>{let[n,{kind:r,id:o}]=i;switch(r){case q.VIDEO:return void(n._videoSSRC&&e.push({stream_type:q.VIDEO,ssrcId:n._videoSSRC}));case q.AUDIO:return void(n._audioSSRC&&e.push({stream_type:q.AUDIO,ssrcId:n._audioSSRC}))}}),e}createUnsubscribeAllMessage(t){const e=new Map;return t.forEach(i=>{let[n,{kind:r}]=i;if(e.has(n)){let o=e.get(n);r===q.VIDEO?o|=Ne.Video:o|=Ne.Audio,e.set(n,o)}else r===q.VIDEO?e.set(n,Ne.Video):e.set(n,Ne.Audio)}),{users:Array.from(e.entries()).map(i=>{let[n,r]=i;return{stream_id:n.uid,stream_type:r}})}}withdrawRemoteTracks(t){t.forEach(e=>{let[i,{kind:n}]=e;const r=this.remoteUserMap.get(i);r&&(r.delete(n),Array.from(r.entries()).length===0&&this.remoteUserMap.delete(i))})}updateBitrateLimit(t){return C(this,null,function*(){const e=this.localTrackMap.get(V.LocalVideoTrack),i=this.localTrackMap.get(V.LocalVideoLowTrack);e&&(yield e.track.setBitrateLimit(t.uplink),yield new K((n,r)=>{this.handleUpdateVideoEncoder(e.track,n,r,!0)})),i&&t.low_stream_uplink&&(yield i.track.setBitrateLimit({max_bitrate:t.low_stream_uplink.bitrate,min_bitrate:t.low_stream_uplink.bitrate||0}),yield new K((n,r)=>{this.handleUpdateVideoEncoder(i.track,n,r,!0)}))})}isP2PDisconnected(){return this.connection?this.connection.peerConnectionState!=="connected":!0}mapPubResToRemoteConfig(t,e,i){return t.map((n,r)=>{var o;let{stream_type:s}=n;const a=(o=e.find(c=>{let{stream_type:d}=c;return s===d}))===null||o===void 0?void 0:o.attributes;if(a&&y("DISABLE_SCREEN_SHARE_REMB")){const c=i[r]._hints;(G(c).call(c,Vt.SCREEN_TRACK)||G(c).call(c,Vt.SCREEN_LOW_TRACK))&&(a.remb=!1,_.debug("disable remb for screen share, hints:",c))}return a})}tryToUnmuteAudio(t){return C(this,null,function*(){for(let i=0;i{let[,{id:s}]=o;return s}));const r=this.createUnmuteMessage(n);return void(yield Bt(this,$.RequestUnmuteLocal,r))}})}bindStatsUploaderEvents(){this.statsUploader.requestStats=()=>this.getStats(),this.statsUploader.requestLocalMedia=()=>Array.from(this.localTrackMap.entries()),this.statsUploader.requestRemoteMedia=()=>Array.from(this.remoteUserMap.entries()),this.statsUploader.requestVideoIsReady=t=>{var e;return!((e=this.connection)===null||e===void 0||!e.getRemoteVideoIsReady(t))},this.statsUploader.requestUpload=(t,e)=>this.emit($.RequestUpload,t,e),this.statsUploader.requestUploadStats=t=>this.emit($.RequestUploadStats,t),this.statsUploader.requestAllTracks=()=>this.getAllTracks(),this.statsUploader.requestTransportStats=()=>{var t;return{connectState:((t=this.connection)===null||t===void 0?void 0:t.peerConnectionState)||"closed"}}}unbindStatsUploaderEvents(){this.statsUploader.requestStats=void 0,this.statsUploader.requestLocalMedia=void 0,this.statsUploader.requestRemoteMedia=void 0,this.statsUploader.requestVideoIsReady=void 0}requestReconnect(){return C(this,null,function*(){this.dtlsFailedCount+=1,yield Ue(FE(this.dtlsFailedCount,ge)),this.emit($.RequestReconnect)})}reconnectP2P(){return C(this,null,function*(){const t=Array.from(this.localTrackMap.entries()),e=this.createGatewayUnpublishMessage(t);Array.from(this.remoteUserMap.entries()),e.length>0&&(yield We(this,$.RequestUnpublishForReconnectPC,e)),this.disconnectForReconnect(),this.emit($.RequestReconnectPC)})}canPublishLowStream(){return this.localTrackMap.has(V.LocalVideoTrack)||this.pendingLocalTracks.some(t=>t instanceof Yt)}throwIfTrackTypeNotMatch(t){if(t.filter(e=>e instanceof Yt).length>1)throw new k(v.CAN_NOT_PUBLISH_MULTIPLE_VIDEO_TRACKS);if(t.filter(e=>e instanceof ae).length>1&&(t.some(e=>e instanceof ae&&e._bypassWebAudio)||!Ct().webAudioMediaStreamDest))throw new k(v.NOT_SUPPORTED,"cannot publish multiple tracks which one of them configured with bypassWebAudio or your browser doesn't support MediaStreamDestNode");for(const e of t){if(e instanceof Yt&&this.pendingLocalTracks.some(i=>i instanceof Yt))throw new k(v.CAN_NOT_PUBLISH_MULTIPLE_VIDEO_TRACKS);if(e instanceof ae&&this.pendingLocalTracks.some(i=>i instanceof ae)&&(!Ct().webAudioMediaStreamDest||e._bypassWebAudio||this.pendingLocalTracks.some(i=>i instanceof ae&&i._bypassWebAudio)))throw new k(v.NOT_SUPPORTED,"cannot publish multiple tracks which one of them configured with bypassWebAudio or your browser doesn't support MediaStreamDestNode")}}getLowVideoTrack(t,e){var i;const n=!y("DISABLE_DUAL_STREAM_USE_ENCODING")&&Ct().supportDualStreamEncoding,r=yr(yr({},{width:160,height:120,framerate:15,bitrate:50}),e);let o;o=n?t._mediaStreamTrack.clone():Xm(t,r);const s=Gt(8,"track-low-"),a=new Yt(o,yr(yr({},n&&{scaleResolutionDownBy:Dm(r,t)}),{},{frameRate:r.framerate,bitrateMax:r.bitrate,bitrateMin:r.bitrate}),void 0,void 0,s);return a.on(ts.TRANSCEIVER_UPDATED,c=>{t._updateRtpTransceiver(c,ua.LOW_STREAM)}),a._hints.push(Vt.LOW_STREAM),G(i=t._hints).call(i,Vt.SCREEN_TRACK)&&a._hints.push(Vt.SCREEN_LOW_TRACK),t.on("sei-to-send",c=>{a.emit("sei-to-send",c)}),t.addListener(J.NEED_CLOSE,()=>{a.close()}),a}globalLock(){return C(this,null,function*(){return this.mutex.lock("From P2PChannel.globalLock")})}reportPCStats(n,r,o){return C(this,arguments,function*(t,e,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;if(this.connection&&this.connection instanceof Cr){var a,c,d,l;const u=this.store.keyMetrics.descriptionStart||0,{iceConnectionState:h,dtlsTransportState:p,peerConnectionState:g}=this.connection,{local:m,remote:f}=yield this.connection.getSelectedCandidatePair();Z.pcStats(this.store.sessionId,{startTime:u,eventElapse:t-u||0,iceconnectionsate:h,dtlsstate:p,connectionstate:g,intSucc:e?1:2,error:this._iceError||s||"",selectedLocalCandidateProtocol:(a=m==null?void 0:m.protocol)!==null&&a!==void 0?a:"",selectedLocalCandidateType:(c=m.candidateType)!==null&&c!==void 0?c:"",selectedLocalCandidateAddress:"".concat(m.address,":").concat(m.port),selectedRemoteCandidateProtocol:(d=f.protocol)!==null&&d!==void 0?d:"",selectedRemoteCandidateType:(l=f.candidateType)!==null&&l!==void 0?l:"",selectedRemoteCandidateAddress:"".concat(f.address,":").concat(f.port),restartCnt:i,preallocation:this.connection.isPreallocation}),this._iceError=null}})}reportVideoFirstFrameDecoded(t,e,i,n){var r;const o=Array.from(Ji(r=this.remoteUserMap).call(r)).find(s=>s._videoSSRC===t);if(o){n||this.store.subscribe(o.uid,"video",void 0,void 0,void 0,void 0,Date.now());const s=this.store.keyMetrics,a=s.subscribe.find(c=>c.userId===o.uid&&c.type==="video");Z.firstRemoteVideoDecode(this.store.sessionId,Oe.FIRST_VIDEO_DECODE,Jt.FIRST_VIDEO_DECODE,{peer:o._uintid,videowidth:e,videoheight:i,subscribeElapse:Je.measureFromSubscribeStart(this.store.clientId,t),subscribeRequestid:t,p2pid:this.store.p2pId,apEnd:s.requestAPEnd||0,apStart:s.requestAPStart||0,joinGwEnd:s.joinGatewayEnd||0,joinGwStart:s.joinGatewayStart||0,pcEnd:s.peerConnectionEnd||0,pcStart:s.peerConnectionStart||0,subscriberEnd:(a==null?void 0:a.subscribeEnd)||0,subscriberStart:(a==null?void 0:a.subscribeStart)||0,videoAddNotify:(a==null?void 0:a.streamAdded)||0,state:n?1:0,firstFrame:(a==null?void 0:a.firstFrame)||0})}}remoteMediaSsrcChanged(t,e,i){return C(this,null,function*(){if(!this.connection)return!1;const n=this.remoteUserMap.get(t);if(!n)return!1;const r=n.get(e);if(!r)return!1;const o=yield this.connection.getRemoteSSRC(r);return o!==void 0&&o!==i})}unbindRtpTransceiver(){this.localTrackMap.size!==0&&Array.from(this.localTrackMap.entries()).forEach(t=>{let[e,{track:i}]=t;e===V.LocalVideoLowTrack?i._updateRtpTransceiver(void 0,ua.LOW_STREAM):i._updateRtpTransceiver(void 0)})}},Q(pt.prototype,"startP2PConnection",[oi],Object.getOwnPropertyDescriptor(pt.prototype,"startP2PConnection"),pt.prototype),Q(pt.prototype,"connect",[oi],Object.getOwnPropertyDescriptor(pt.prototype,"connect"),pt.prototype),Q(pt.prototype,"updateRemoteRTPCapabilities",[oi],Object.getOwnPropertyDescriptor(pt.prototype,"updateRemoteRTPCapabilities"),pt.prototype),Q(pt.prototype,"publishDataChannel",[oi],Object.getOwnPropertyDescriptor(pt.prototype,"publishDataChannel"),pt.prototype),Q(pt.prototype,"unpublish",[oi],Object.getOwnPropertyDescriptor(pt.prototype,"unpublish"),pt.prototype),Q(pt.prototype,"unpublishDataChannel",[oi],Object.getOwnPropertyDescriptor(pt.prototype,"unpublishDataChannel"),pt.prototype),Q(pt.prototype,"unpublishLowStream",[oi],Object.getOwnPropertyDescriptor(pt.prototype,"unpublishLowStream"),pt.prototype),Q(pt.prototype,"subscribeDataChannel",[oi],Object.getOwnPropertyDescriptor(pt.prototype,"subscribeDataChannel"),pt.prototype),Q(pt.prototype,"subscribe",[oi],Object.getOwnPropertyDescriptor(pt.prototype,"subscribe"),pt.prototype),Q(pt.prototype,"massSubscribe",[oi],Object.getOwnPropertyDescriptor(pt.prototype,"massSubscribe"),pt.prototype),Q(pt.prototype,"unsubscribe",[oi],Object.getOwnPropertyDescriptor(pt.prototype,"unsubscribe"),pt.prototype),Q(pt.prototype,"unsubscribeDataChannel",[oi],Object.getOwnPropertyDescriptor(pt.prototype,"unsubscribeDataChannel"),pt.prototype),Q(pt.prototype,"massUnsubscribe",[oi],Object.getOwnPropertyDescriptor(pt.prototype,"massUnsubscribe"),pt.prototype),Q(pt.prototype,"muteRemote",[oi],Object.getOwnPropertyDescriptor(pt.prototype,"muteRemote"),pt.prototype),Q(pt.prototype,"unmuteRemote",[oi],Object.getOwnPropertyDescriptor(pt.prototype,"unmuteRemote"),pt.prototype),Q(pt.prototype,"hasRemoteMediaWithLock",[oi],Object.getOwnPropertyDescriptor(pt.prototype,"hasRemoteMediaWithLock"),pt.prototype),Q(pt.prototype,"disconnectForReconnect",[oi],Object.getOwnPropertyDescriptor(pt.prototype,"disconnectForReconnect"),pt.prototype),Q(pt.prototype,"updateBitrateLimit",[oi],Object.getOwnPropertyDescriptor(pt.prototype,"updateBitrateLimit"),pt.prototype),Q(pt.prototype,"remoteMediaSsrcChanged",[oi],Object.getOwnPropertyDescriptor(pt.prototype,"remoteMediaSsrcChanged"),pt.prototype),pt);function oi(t,e,i){const n=t[e];if(typeof n!="function")throw new Error("Cannot use mutex on object property.");return i.value=function(){return C(this,arguments,function*(){const r=this.mutex,o=yield r.lock("From P2PChannel.".concat(e));try{for(var s=arguments.length,a=new Array(s),c=0;c0&&(n.firstRecvTs=Date.now()-o);let a=i.mediaDelay+s;a<=0?(e.pop(),E0(i.context,r),a=0):a=Math.min(a,MW),setTimeout(()=>e.length&&_0(t),a)})}function E0(t,e){t.safeEmit(_t.STREAM_MESSAGE,e.uid,e.payload),t.onStreamMessage&&t.onStreamMessage(e)}function UW(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;if(!t.syncWithAudio)return E0(i,{uid:t.uid,payload:t.payload});const n="".concat(i.id,"-").concat(t.uid),r=Qm.get(n)||[],o=r.findIndex(d=>t.sendTs>=d.sendTs),s=p0(p0({},t),{},{context:i,mediaDelay:e,recvTs:Date.now()});o===-1?r.push(s):r.splice(o,0,s),Qm.set(n,r);let a=!1;var c;eh.has(n)?a=!((c=eh.get(n))===null||c===void 0||!c.isSyncing):eh.set(n,{isSyncing:a,firstRecvTs:0,firstSendTs:0}),a||_0(n)}const xW=vt().name;function m0(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function f0(t){for(var e=1;eC(this,null,function*(){const o=i.shift();o&&(yield o()),i.length>0&&nC(this,null,function*(){i.push(()=>C(this,null,function*(){try{const l=yield t(...s);c(l)}catch(l){d(l)}})),n{_.warn("Your browser does not support preloading, this feature be run in a secure environment")},"preload_webcrypto_not_supported");if(!i&&i!==null)throw new k(v.INVALID_PARAMS,"Invalid token: ".concat(i,". If you don not use token, set it to null"));i&&Me(i,"token",1,2047),Me(t,"appid",1,2047),Lu(e),n&&ku(n);const s=Zo();_.debug("preload channel ".concat(e,", uid is ").concat(n));const a={appId:t,cname:e,token:i||t,uid:typeof n!="string"?n:null,sid:s,proxyServer:r};let c,d;typeof n=="string"?(a.stringUid=n,[d,c]=yield K.all([vW(n,{sid:s,appId:t},ef.token),Gw(f0(f0({},a),{},{token:i||t,uid:0}),ef.token)]),a.uid=d.uid,c.gatewayInfo.uid=a.uid,c.gatewayInfo.res.uid=a.uid):(o&&(a.stringUid=o),c=yield Gw(a,ef.token));const l={sid:s,appId:t,cname:e,token:i||t,uid:a.stringUid||n,intUid:a.uid||c.gatewayInfo.uid,stringUid:a.stringUid,ts:Date.now(),sua:d,ap:c};yield function(u){return C(this,null,function*(){let h;try{u.uid&&T0({appId:u.appId,cname:u.cname,token:u.token,uid:u.uid,stringUid:u.stringUid});const p=y0(u),g=yield function(f,T){return C(this,null,function*(){try{const R=yield window.crypto.subtle.importKey("raw",hI(T),"AES-GCM",!1,["encrypt"]),A=yield window.crypto.subtle.encrypt({name:"AES-GCM",iv:new Uint8Array(1)},R,Qo(window.btoa(JSON.stringify(f))));return Eo(new Uint8Array(A))}catch(R){return}})}(u,u.token||u.appId);if(!g)return;h=C0(La);const m=h?JSON.parse(h):[];m.push({[p]:g}),m.length>y("AP_CACHE_NUM")&&m.shift(),nh(La,JSON.stringify(m))}catch(p){_.warn("Error caching server parameters:",p.message),nh(La,"")}})}(l),$m++}catch(s){throw tf++,function(a){Zm||(Zm=window.setTimeout(()=>{let d="";ih.forEach((l,u)=>{d+="".concat(u,": ").concat(l," ;")}),Z.reportApiInvoke(null,{name:_e.PRELOAD,options:{success:$m,failed:tf,err:d}}).onError(a),$m=0,tf=0,ih.clear(),Zm=null},FW));const c=ih.get(a.code)||0;ih.set(a.code,c+1)}(s),s}})}function S0(t){return C(this,null,function*(){try{if(y("AP_REQUEST_DETAIL")||y("ENABLE_ROLE_SELECT_EDGE"))return;const e=T0(t);if(!e||t.cloudProxyServer!=="disabled")return;const i=yield function(n,r){return C(this,null,function*(){try{const o=yield window.crypto.subtle.importKey("raw",hI(r),"AES-GCM",!1,["decrypt"]),s=yield window.crypto.subtle.decrypt({name:"AES-GCM",iv:new Uint8Array(1)},o,Qo(n));return JSON.parse(window.atob(Eo(new Uint8Array(s))))}catch(o){return}})}(e,t.token||t.appId);if(!i||!function(n,r){return n.cname===r.cname&&n.appId===r.appId&&n.token===r.token?r.stringUid?n.stringUid===r.stringUid:typeof r.uid=="number"?n.uid===r.uid:n.uid==r.uid:!1}(i,t))return;if(i&&Date.now()-i.ts=0;c--)if(a(s[c]))return c;return-1}(i,s=>n in s);if(r===-1)return;const o=i.splice(r,1)[0];return nh(La,JSON.stringify(i)),o[n]}catch(i){_.warn("Error delete preload info: ".concat(e),i.message),nh(La,"")}}function nf(t){if(t){let e=ls.get(t);e&&(window.clearTimeout(e),e=null,ls.delete(t)),G(us).call(us,t)||t.cloudProxyServer!=="disabled"||us.push(t)}if(ls.size0){const e=us.shift();ls.set(e,window.setTimeout(()=>C(this,null,function*(){const{appId:i,cname:n,token:r,stringUid:o,uid:s,proxyServer:a}=e;try{yield BW(i,n,r,s,a,o),ls.has(e)&&nf(e)}catch(c){_.warn("update preload failed",c.message),R0(e)}}),y("AP_UPDATE_INTERVAL")))}}function R0(t){const e=us.indexOf(t);e!==-1&&us.splice(e,1);let i=ls.get(t);i&&(window.clearTimeout(i),i=null,ls.delete(t),nf())}function v0(t,e){const i=t.sua,n=t.ap;e&&i&&Z.reqUserAccount(t.sid,{lts:i.requestTime,elapse:i.elapse,success:!0,serverAddr:i.url,stringUid:e,uid:t.intUid,errorCode:null,extend:i.req}),Z.reportResourceTiming(t.ap.url,t.sid),Z.joinWebProxyAP(t.sid,{lts:n.requestTime,elapse:n.elapse,sucess:1,apServerAddr:n.url,turnServerAddrList:n.proxyInfo.addresses.map(r=>r.ip).join(","),eventType:"disabled",unilbsServerIds:[me.CHOOSE_SERVER,me.CLOUD_PROXY_FALLBACK].toString()}),Z.joinChooseServer(t.sid,{lts:n.requestTime,elapse:n.elapse,succ:!0,csAddr:n.url,opid:n.opid,serverList:n.gatewayInfo.gatewayAddrs.map(r=>r.address),ec:null,cid:n.gatewayInfo.cid.toString(),uid:n.gatewayInfo.uid.toString(),csIp:n.gatewayInfo.csIp,unilbsServerIds:[me.CHOOSE_SERVER].toString(),isHttp3:n.isHttp3})}function C0(t){return window.atob(window.localStorage.getItem(t)||"")}function nh(t,e){window.localStorage.setItem(t,window.btoa(e))}function y0(t){let e="".concat(t.appId,"_").concat(t.cname);return typeof t.uid=="string"&&(e+="_s_".concat(t.uid)),typeof t.uid=="number"&&(e+="_".concat(t.uid)),t.token&&(e+="_".concat(t.token)),SI(e)}function jW(t){let e=function(){const i=HW.pop();return i?(i.offset=i.limit=0,i):{bytes:new Uint8Array(64),offset:0,limit:0}}();return function(i,n){let r=i.appId;r!==void 0&&(fe(n,10),Io(n,r));let o=i.cid;o!==void 0&&(fe(n,16),fe(n,o));let s=i.cname;s!==void 0&&(fe(n,26),Io(n,s));let a=i.deviceId;a!==void 0&&(fe(n,34),Io(n,a));let c=i.elapse;c!==void 0&&(fe(n,40),Ao(n,c));let d=i.fileSize;d!==void 0&&(fe(n,48),Ao(n,ka(d)));let l=i.height;l!==void 0&&(fe(n,56),Ao(n,ka(l)));let u=i.jpg;u!==void 0&&(fe(n,66),fe(n,u.length),A0(n,u));let h=i.networkType;h!==void 0&&(fe(n,72),Ao(n,ka(h)));let p=i.osType;p!==void 0&&(fe(n,80),Ao(n,ka(p)));let g=i.requestId;g!==void 0&&(fe(n,90),Io(n,g));let m=i.sdkVersion;m!==void 0&&(fe(n,98),Io(n,m));let f=i.sequence;f!==void 0&&(fe(n,104),Ao(n,ka(f)));let T=i.sid;T!==void 0&&(fe(n,114),Io(n,T));let R=i.timestamp;R!==void 0&&(fe(n,120),Ao(n,R));let A=i.uid;A!==void 0&&(fe(n,128),fe(n,A));let N=i.vid;N!==void 0&&(fe(n,136),fe(n,N));let O=i.width;O!==void 0&&(fe(n,144),Ao(n,ka(O)));let w=i.service;w!==void 0&&(fe(n,152),fe(n,w));let L=i.callbackData;L!==void 0&&(fe(n,162),fe(n,L.length),A0(n,L));let M=i.ticket;M!==void 0&&(fe(n,170),Io(n,M));let j=i.vendorConfigs;j!==void 0&&(fe(n,178),Io(n,j))}(t,e),function(i){let n=i.bytes,r=i.limit;return n.length===r?n:n.subarray(0,r)}(e)}function GW(t){return function(i){let n={};t:for(;!KW(i);){let r=$c(i);switch(r>>>3){case 0:break t;case 1:n.code=$c(i);break;case 2:n.msg=b0(i,$c(i));break;case 3:n.requestId=b0(i,$c(i));break;case 4:n.timestamp=YW(i,!1);break;default:WW(i,7&r)}}return n}({bytes:e=t,offset:0,limit:e.length});var e}function WW(t,e){switch(e){case 0:for(;128&Un(t););break;case 2:rf(t,$c(t));break;case 5:rf(t,4);break;case 1:rf(t,8);break;default:throw new Error("Unimplemented type: "+e)}}function ka(t){return{low:t|=0,high:t>>31,unsigned:t>=0}}let HW=[];function rf(t,e){if(t.offset+e>t.limit)throw new Error("Skip past limit");t.offset+=e}function KW(t){return t.offset>=t.limit}function rh(t,e){let i=t.bytes,n=t.offset,r=t.limit,o=n+e;if(o>i.length){let s=new Uint8Array(2*o);s.set(i),t.bytes=s}return t.offset=o,o>r&&(t.limit=o),n}function I0(t,e){let i=t.offset;if(i+e>t.limit)throw new Error("Read past limit");return t.offset+=e,i}function A0(t,e){let i=rh(t,e.length);t.bytes.set(e,i)}function b0(t,e){let i=I0(t,e),n=String.fromCharCode,r=t.bytes,o="�",s="";for(let a=0;a=e?s+=o:(c=r[a+i+1],(192&c)!=128?s+=o:(u=(31&h)<<6|63&c,u<128?s+=o:(s+=n(u),a++))):(240&h)==224?a+2>=e?s+=o:(c=r[a+i+1],d=r[a+i+2],(49344&(c|d<<8))!=32896?s+=o:(u=(15&h)<<12|(63&c)<<6|63&d,u<2048||u>=55296&&u<=57343?s+=o:(s+=n(u),a+=2))):(248&h)==240?a+3>=e?s+=o:(c=r[a+i+1],d=r[a+i+2],l=r[a+i+3],(12632256&(c|d<<8|l<<16))!=8421504?s+=o:(u=(7&h)<<18|(63&c)<<12|(63&d)<<6|63&l,u<65536||u>1114111?s+=o:(u-=65536,s+=n(55296+(u>>10),56320+(1023&u)),a+=3))):s+=o:s+=n(h)}return s}function Io(t,e){let i=e.length,n=0;for(let s=0;s=55296&&a<=56319&&s+1=55296&&a<=56319&&s+1>6&31|192:(a<65536?o[r++]=a>>12&15|224:(o[r++]=a>>18&7|240,o[r++]=a>>12&63|128),o[r++]=a>>6&63|128),o[r++]=63&a|128)}}function Un(t){return t.bytes[I0(t,1)]}function w0(t,e){let i=rh(t,1);t.bytes[i]=e}function $c(t){let e,i=0,n=0;do e=Un(t),i<32&&(n|=(127&e)<>>=0;e>=128;)w0(t,127&e|128),e>>>=7;w0(t,e)}function YW(t,e){let i,n=0,r=0,o=0;return i=Un(t),n=127&i,128&i&&(i=Un(t),n|=(127&i)<<7,128&i&&(i=Un(t),n|=(127&i)<<14,128&i&&(i=Un(t),n|=(127&i)<<21,128&i&&(i=Un(t),r=127&i,128&i&&(i=Un(t),r|=(127&i)<<7,128&i&&(i=Un(t),r|=(127&i)<<14,128&i&&(i=Un(t),r|=(127&i)<<21,128&i&&(i=Un(t),o=127&i,128&i&&(i=Un(t),o|=(127&i)<<7))))))))),{low:n|r<<28,high:r>>>4|o<<24,unsigned:e}}function Ao(t,e){let i=e.low>>>0,n=(e.low>>>28|e.high<<4)>>>0,r=e.high>>>24,o=r===0?n===0?i<16384?i<128?1:2:i<1<<21?3:4:n<16384?n<128?5:6:n<1<<21?7:8:r<128?9:10,s=rh(t,o),a=t.bytes;switch(o){case 10:a[s+9]=r>>>7&1;case 9:a[s+8]=o!==9?128|r:127&r;case 8:a[s+7]=o!==8?n>>>21|128:n>>>21&127;case 7:a[s+6]=o!==7?n>>>14|128:n>>>14&127;case 6:a[s+5]=o!==6?n>>>7|128:n>>>7&127;case 5:a[s+4]=o!==5?128|n:127&n;case 4:a[s+3]=o!==4?i>>>21|128:i>>>21&127;case 3:a[s+2]=o!==3?i>>>14|128:i>>>14&127;case 2:a[s+1]=o!==2?i>>>7|128:i>>>7&127;case 1:a[s]=o!==1?128|i:127&i}}const O0={},N0={},oh=4294967296,qW=oh*oh,D0=qW/2;L0(0,!0);const P0=L0(0),zW=td(0,-2147483648,!1),XW=td(-1,2147483647,!1);function L0(t,e){let i,n,r;return e?(r=0<=(t>>>=0)&&t<256)&&(n=N0[t],n)?n:(i=td(t,0,!0),r&&(N0[t]=i),i):(r=-128<=(t|=0)&&t<128)&&(n=O0[t],n)?n:(i=td(t,t<0?-1:0,!1),r&&(O0[t]=i),i)}function td(t,e,i){return{low:0|t,high:0|e,unsigned:!!i}}function k0(t,e){if(isNaN(t))return P0;{if(t<=-D0)return zW;if(t+1>=D0)return XW}return t<0?P0:td(t%oh|0,t/oh|0,e)}function M0(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}class of extends $t{get connectionState(){return this._connectionState}set connectionState(e){if(this._connectionState===e)return;const i=this._connectionState;this._connectionState=e,this.emit(tr.CONNECTION_STATE_CHANGE,e,i)}get quality(){return this._quality}set quality(e){this._quality=e>1?1:e<.1?.1:e,this._qualityTimer&&(window.clearTimeout(this._qualityTimer),this._qualityTimer=null),this._quality>=1||(this._qualityTimer=window.setTimeout(()=>{this.quality=this._quality/this._qualityRatio},6e4))}constructor(e){var i;super(),S(this,"name","AgoraRTCImageModeration"),S(this,"_connectionState",hn.CONNECTING),S(this,"_sequence",0),S(this,"_moderationStartTime",void 0),S(this,"_workerConnection",void 0),S(this,"_workerMessageLengthLimit",void 0),S(this,"_qualityRatio",void 0),S(this,"_connectInfo",void 0),S(this,"_cancelTokenSource",Ti.CancelToken.source()),S(this,"_retryConfig",void 0),S(this,"_moderationInterval",void 0),S(this,"_moderationTimer",null),S(this,"_moderationMode",1),S(this,"_quality",1),S(this,"_qualityTimer",null),S(this,"_ticket",void 0),S(this,"_moderationIntervalMinimum",void 0),S(this,"_uploadFailedNum",0),S(this,"_uploadNum",0),S(this,"_uploadTimer",null),S(this,"_extraInfo",void 0),S(this,"_vendor",""),S(this,"_encoder",new TextEncoder),S(this,"_moderationId",void 0),S(this,"inspectImage",()=>{if(this.connectionState!==hn.CONNECTED)throw new P(v.OPERATION_ABORTED,"image moderation service connection status is ".concat(this.connectionState));this._moderationTimer&&(window.clearInterval(this._moderationTimer),this._moderationTimer=null),this._moderationTimer=window.setInterval(()=>{this.connectionState===hn.CONNECTED?this.requestToInspectImage():_.debug("[".concat(this._moderationId,"] Moderation State is not connected , "),this.connectionState)},this._moderationInterval{_.debug("[".concat(this._moderationId,"] Moderation operation :").concat(Ca[n]," ").concat(r||""))}),this.handleWorkerEvents()}init(e,i){return C(this,null,function*(){this.emit(tr.STATE_CHANGE,Ca.CONNECT_AP),this._connectInfo=e;const n=this._cancelTokenSource.token;return this._retryConfig=i,new K((r,o)=>{this.on(tr.CONNECTION_STATE_CHANGE,(s,a)=>{s===hn.CONNECTED&&r()}),this.requestAP(e,n,i).then(s=>{this.connectWorker(s)}).catch(s=>{o(s)})})})}updateConfig(e){var i;this._moderationInterval=(i=e.interval)!==null&&i!==void 0?i:1e3,e.extraInfo&&(this._extraInfo=this._encoder.encode(e.extraInfo)),e.vendor&&(this._vendor=e.vendor),_.debug("[".concat(this._moderationId,"] updateConfig: ").concat(JSON.stringify(e))),this.connectionState===hn.CONNECTED&&this.inspectImage()}requestAP(e,i,n){return C(this,null,function*(){const r=y("WEBCS_DOMAIN").map(c=>"https://".concat(c,"/api/v1")),o=yield function(c,d,l,u){let{appId:h,areaCode:p,cname:g,sid:m,token:f,uid:T}=d;Oa++;const R="moderation_plugin",A={service_name:R,json_body:JSON.stringify({appId:h,areaCode:p,cname:g,command:"allocateEdge",requestId:Oa,seq:Oa,sid:m,appToken:f,ts:Date.now(),uid:T+""})};let N,O,w=c[0];return Jn(()=>C(this,null,function*(){N=Date.now();const L=yield er(w,{data:A,cancelToken:l,headers:{"X-Packet-Service-Type":"0","X-Packet-URI":"61"},params:{action:"wrtc_gateway"}});if(O=Date.now()-N,L.code!==0){const H=new P(v.UNEXPECTED_RESPONSE,"moderation plugin ap error, code"+L.code,{retry:!0,responseTime:O});throw _.error(H.toString()),H}const M=JSON.parse(L.json_body);if(M.code!==200){const H=new P(v.UNEXPECTED_RESPONSE,"moderation plugin ap error, code: ".concat(M.code,", reason: ").concat(M.reason),{code:M.code,responseTime:O});throw _.error(H.toString()),H}if(!M.servers||!Array.isArray(M.servers)||M.servers.length===0){const H=new P(v.UNEXPECTED_RESPONSE,"moderation plugin ap empty server",{code:M.code,responseTime:O});throw _.error(H.toString()),H}if(!M.servers.some(H=>!!H.wss)){const H=new P(v.UNEXPECTED_RESPONSE,"moderation plugin ap empty port",{code:M.code,responseTime:O});throw _.error(H.toString()),H}const j=y("IMAGE_MODERATION_WORKER_HOST");return{addressList:M.servers.map(H=>{let{address:ht,wss:lt}=H;if(ht&<)return"wss://".concat(ht.replace(/\./g,"-"),".").concat(j,":").concat(lt,"/moderation")}).filter(H=>!!H),workerToken:M.workerToken,vid:M.vid,ticket:M.appTicket,responseTime:O}}),(L,M)=>(Z.apworkerEvent(m,{success:!0,sc:200,serviceName:R,responseDetail:JSON.stringify(L.addressList),firstSuccess:M===0,responseTime:O,serverIp:c[M%c.length]}),!1),(L,M)=>(Z.apworkerEvent(m,{success:!1,sc:L.data&&L.data.code||200,serviceName:R,responseTime:O,serverIp:c[M%c.length]}),!!(L.code!==v.OPERATION_ABORTED&&L.code!==v.UNEXPECTED_RESPONSE||L.data&&L.data.retry)&&(w=c[(M+1)%c.length],!0)),u)}(r,e,i,n);this.emit(tr.STATE_CHANGE,Ca.AP_CONNECTED);const{addressList:s,ticket:a}=o;return this._ticket=a,s})}connectWorker(e){return C(this,null,function*(){this.emit(tr.STATE_CHANGE,Ca.CONNECT_WORKER),yield this._workerConnection.init(e,1e4)})}handleWorkerEvents(){this._workerConnection.on(dt.CONNECTED,()=>C(this,null,function*(){this.emit(tr.STATE_CHANGE,Ca.WORKER_CONNECTED,this._workerConnection.url),this.connectionState=hn.CONNECTED})),this._workerConnection.on(dt.CLOSED,()=>{this.connectionState=hn.CLOSED}),this._workerConnection.on(dt.FAILED,()=>{this.connectionState=hn.CLOSED}),this._workerConnection.on(dt.RECONNECTING,()=>{this.connectionState=this.connectionState===hn.CONNECTED?hn.RECONNECTING:hn.CONNECTING}),this._workerConnection.on(dt.ON_MESSAGE,e=>C(this,null,function*(){if(e.data instanceof ArrayBuffer){const i=GW(new Uint8Array(e.data));y("SHOW_IMAGE_MODERATION_WORKER_MESSAGE")&&_.debug("[".concat(this._moderationId,"] Response message for worker of image moderation "),JSON.stringify(i)),this._uploadNum++,i.code===void 0||i.code===0||(this._uploadFailedNum++,_.error("[".concat(this._moderationId,"] Error response from worke, code is ").concat(i.code,", msg is ").concat(i.msg)),this._uploadTimer||(this._uploadTimer=window.setTimeout(()=>{Z.reportApiInvoke(this._connectInfo.sid||null,{name:_e.IMAGE_MODERATION_UPLOAD,options:[this._uploadFailedNum,this._uploadNum,i.code],tag:oe.TRACER}).onError(new P(v.IMAGE_MODERATION_UPLOAD_FAILED,i.msg)),this._uploadTimer=null},y("IMAGE_MODERATION_UPLOAD_REPORT_INTERVAL"))))}else _.error("[".concat(this._moderationId,"] Unexpected message type from worker"))})),this._workerConnection.on(dt.WILL_RECONNECT,(e,i,n)=>{e==="recover"&&n(e),n("tryNext")}),this._workerConnection.on(dt.REQUEST_NEW_URLS,(e,i)=>{this.requestAP(this._connectInfo,this._cancelTokenSource.token,this._retryConfig).then(e).catch(i)})}static intToLong(e){return{low:e|=0,high:e>>31,unsigned:e>=0}}requestToInspectImage(){return C(this,null,function*(){const e=zi(this,tr.CLIENT_LOCAL_VIDEO_TRACK),i={appId:this._connectInfo.appId,cname:this._connectInfo.cname,cid:this._connectInfo.cid,sid:this._connectInfo.sid,uid:this._connectInfo.uid,vid:this._connectInfo.vid};if(e){if(!e.isPlaying)return void(y("SHOW_IMAGE_MODERATION_WORKER_MESSAGE")&&_.debug("Only the track being played can be inspected"));this._sequence++;const n=yield this.generateRequestData(e,i);this._workerConnection.sendMessage(n,!0,!0)}else y("SHOW_IMAGE_MODERATION_WORKER_MESSAGE")&&_.debug("Only the track being published can be inspected")})}generateRequestData(e,i){return C(this,null,function*(){let{appId:n,cname:r,cid:o,vid:s,sid:a,uid:c}=i;const d=Date.now(),l=yield e.getCurrentFrameImage("image/jpeg",this.quality),u=yield cA(l,n,r),h=this._sequence+"-"+o+"-"+c+"-"+d+"-"+Gt(12,""),p={appId:n,cid:o,cname:r,deviceId:"",elapse:of.intToLong(Number(d-this._moderationStartTime)),fileSize:l.buffer.byteLength,height:l.height,width:l.width,jpg:u,networkType:6,osType:7,requestId:h,sdkVersion:"4.23.4",sequence:this._sequence,sid:a,timestamp:k0(d),uid:c,vid:s,service:this._moderationMode,ticket:this._ticket,callbackData:this._extraInfo,vendorConfigs:this._vendor};this._extraInfo===void 0&&delete p.callbackData;const g=jW(p);if(g.byteLength1024)throw new P(v.INVALID_PARAMS,"config.extraInfo length cannot exceed 1024 bytes");if(t&&t.vendor&&t.vendor.length>1024)throw new P(v.INVALID_PARAMS,"config.vendor length cannot exceed 1024 bytes")}const JW={name:"ImageModeration",create:function(t){let{config:e}=t;return U0(e),new of(e)}};var x0,V0,F0,B0,j0,G0,W0,H0,K0,Y0,q0,z0,X0,J0,Q0,Z0,$0,tO,eO,iO,nO,rO,oO,sO,aO,cO,dO,lO,uO,hO,pO,_O,EO,mO,fO,gO,SO,TO,RO,vO,CO,Y;function yO(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function xn(t){for(var e=1;e{if(!Array.isArray(e)){if(!(e instanceof Ea))return[e];e=[e]}return e.map(i=>i?Object(i).toString():"null")}}),F0=it({argsMap:(t,e)=>(e||(e=[]),Array.isArray(e)||e.trackMediaType!==_a.DATA?(Array.isArray(e)||(e=[e]),e.map(i=>i.getTrackId())):[e.getChannelId()])}),B0=it({argsMap:(t,e,i,n)=>[typeof e=="object"?e.uid:e,i,n]}),j0=it({argsMap:(t,e,i)=>[e,i]}),G0=it({argsMap:(t,e)=>e.map(i=>{let{user:n,mediaType:r}=i;return[n==null?void 0:n.uid,r]})}),W0=it({argsMap:(t,e,i,n)=>[typeof e=="object"?e.uid:e,i,n]}),H0=it({argsMap:(t,e)=>e.map(i=>{let{user:n,mediaType:r}=i;return{uid:n==null?void 0:n.uid,mediaType:r}})}),K0=it(),Y0=it(),q0=it(),z0=it(),X0=it(),J0=it(),Q0=it(),Z0=it(),$0=it(),tO=it(),eO=it(),iO=it(),nO=it(),rO=it(),oO=it(),sO=it({argsMap:(t,e)=>[e]}),aO=it(),cO=it(),dO=it(),lO=it(),uO=it(),hO=it(),pO=it(),_O=it(),EO=it({argsMap:(t,e)=>(Array.isArray(e)||(e=[e]),[JSON.stringify(e)])}),mO=it(),fO=it(),gO=it(),SO=it(),TO=it(),RO=it(),vO=it({reportResult:!0}),CO=it(),Y=class extends $t{get connectionState(){return this._gateway.state}get remoteUsers(){return this._users}get localTracks(){return this._p2pChannel.getAllTracks(!0)}get uid(){return this._uid}get channelName(){return this._channelName}get localDataChannels(){return this._p2pChannel.getAllDataChannels()}get mode(){return this._config.mode}get role(){var t;return((t=this._config)===null||t===void 0?void 0:t.role)||"audience"}get codec(){return this._config.codec}get audioCodec(){return this._config.audioCodec||"opus"}get isStringUID(){return!!this._joinInfo&&!!this._joinInfo.stringUid}get __className__(){return"Client"}constructor(t,e){let i;if(super(),S(this,"store",void 0),S(this,"_uid",void 0),S(this,"_channelName",void 0),S(this,"_uintUid",void 0),S(this,"_users",[]),S(this,"_config",void 0),S(this,"_clientId",void 0),S(this,"_appId",void 0),S(this,"_sessionId",null),S(this,"_key",void 0),S(this,"_rtmConfig",{}),S(this,"_joinInfo",void 0),S(this,"_gateway",void 0),S(this,"_statsCollector",void 0),S(this,"_configDistribute",void 0),S(this,"_leaveMutex",void 0),S(this,"_publishMutex",void 0),S(this,"_renewTokenMutex",void 0),S(this,"_subscribeMutex",void 0),S(this,"_encryptionMode","none"),S(this,"_encryptionSecret",null),S(this,"_encryptionSalt",null),S(this,"_encryptDataStream",!1),S(this,"_encryptDataStreamKey",null),S(this,"_encryptDataStreamIv",null),S(this,"_proxyServer",void 0),S(this,"_turnServer",{servers:[],mode:"auto"}),S(this,"_cloudProxyServerMode","disabled"),S(this,"_isDualStreamEnabled",!1),S(this,"_defaultStreamFallbackType",void 0),S(this,"_lowStreamParameter",void 0),S(this,"_streamFallbackTypeCacheMap",new Map),S(this,"_remoteStreamTypeCacheMap",new Map),S(this,"_axiosCancelSource",Ti.CancelToken.source()),S(this,"_audioVolumeIndicationInterval",void 0),S(this,"_networkQualityInterval",void 0),S(this,"_userOfflineTimeout",void 0),S(this,"_streamRemovedTimeout",void 0),S(this,"_liveTranscodeStreamingClient",void 0),S(this,"_liveRawStreamingClient",void 0),S(this,"_channelMediaRelayClient",void 0),S(this,"_networkQualitySensitivity","normal"),S(this,"_p2pChannel",void 0),S(this,"_useLocalAccessPoint",!1),S(this,"_setLocalAPVersion",void 0),S(this,"_joinAndNotLeaveYet",!1),S(this,"_numberOfJoinCount",0),S(this,"_remoteDefaultVideoStreamType",void 0),S(this,"_inspect",void 0),S(this,"_moderation",void 0),S(this,"_license",void 0),S(this,"_pendingPublishedUsers",[]),S(this,"ntpAlignErrorCount",0),S(this,"remoteInboundOffset",0),S(this,"_peerConnectionState",void 0),S(this,"_handleLocalTrackEnable",(r,o,s)=>{this.publish(r,!1).then(o).catch(s)}),S(this,"_handleLocalTrackDisable",(r,o,s)=>{this.unpublish(r).then(o).catch(s)}),S(this,"_handleUserOnline",r=>{if(y("BLOCK_LOCAL_CLIENT")&&ss(r.uid,this.channelName))return void _.debug("[".concat(r.uid,"] will be ignored in local"));this.isStringUID&&typeof r.uid!="string"&&_.error("[".concat(this._clientId,"] StringUID is Mixed with UintUID"));const o=this._users.find(s=>s.uid===r.uid);if(o)o._trust_in_room_=!0,o._is_pre_created&&(o._is_pre_created=!1,this.safeEmit(_t.USER_JOINED,o));else{const s=new Co(r.uid,r.uint_id||r.uid);this._users.push(s),_.debug("[".concat(this._clientId,"] user online"),r.uid),this.safeEmit(_t.USER_JOINED,s)}}),S(this,"_handleUserOffline",r=>{if(y("BLOCK_LOCAL_CLIENT")&&ss(r.uid,this.channelName))return;const o=this._users.find(s=>s.uid===r.uid);o&&(this._handleRemoveStream(r),this._handleRemoveDataChannels(r),o._audio_pre_subscribed||o._video_pre_subscribed?o._is_pre_created=!0:cu(this._users,o),this._remoteStreamTypeCacheMap.delete(o.uid),this._streamFallbackTypeCacheMap.delete(o.uid),_.debug("[".concat(this._clientId,"] user offline"),r.uid,"reason:",r.reason),this.safeEmit(_t.USER_LEAVED,o,r.reason))}),S(this,"_handleAddAudioOrVideoStream",(r,o,s,a,c,d,l)=>{if(y("BLOCK_LOCAL_CLIENT")&&ss(o,this.channelName))return;const u=this._users.find(p=>p.uid===o);if(!u)return void _.error("[".concat(this._clientId,"] can not find target user!(on_add_stream)"));_.debug("[".concat(this._clientId,"] stream added with uid ").concat(o,", type ").concat(r)),this.store.subscribe(u.uid,r,void 0,void 0,void 0,Date.now());const h=r==="audio"?u.hasAudio:u.hasVideo;u._uintid||(u._uintid=c||o),r==="audio"?u._trust_audio_stream_added_state_=!0:u._trust_video_stream_added_state_=!0,r==="audio"?(u._audio_added_=!0,s!==void 0&&(u._audioSSRC=s),a!==void 0&&(u._cname=a),d&&(u._audioOrtc=d)):(u._video_added_=!0,s!==void 0&&(u._videoSSRC=s),a!==void 0&&(u._cname=a),l!==void 0&&(u._rtxSsrcId=l),d&&(u._videoOrtc=d)),(r==="audio"?u.hasAudio:u.hasVideo)&&!h&&(_.info("[".concat(this._clientId,"] remote user ").concat(u.uid," published ").concat(r)),this.safeEmit(_t.USER_PUBLISHED,u,r)),r==="video"?Z.onGatewayStream(this._sessionId,Oe.ON_ADD_VIDEO_STREAM,Jt.ON_ADD_VIDEO_STREAM,{peer:c||o,ssrc:u._videoSSRC}):Z.onGatewayStream(this._sessionId,Oe.ON_ADD_AUDIO_STREAM,Jt.ON_ADD_AUDIO_STREAM,{peer:c||o,ssrc:u._audioSSRC}),this._p2pChannel.remoteMediaSsrcChanged(u,r,s).then(p=>{if(p&&(_.debug("[".concat(this._clientId,"] resubscribe ").concat(r," for user ").concat(u.uid," after rejoin because SSRC id changed.")),this._p2pChannel instanceof Zc))return this._p2pChannel.unsubscribe(u,r,!0).then(()=>this._subscribe(u,r,!0).catch(g=>{_.error("[".concat(this._clientId,"] resubscribe error"),g.toString())}))}),this._p2pChannel.hasPendingRemoteMedia(u,r)&&(_.debug("[".concat(this._clientId,"] resubscribe ").concat(r," for user ").concat(u.uid," after reconnect.")),this._subscribe(u,r,!0).catch(p=>{_.error("[".concat(this._clientId,"] resubscribe error"),p.toString())}))}),S(this,"_handleRemoveStream",r=>{if(y("BLOCK_LOCAL_CLIENT")&&ss(r.uid,this.channelName))return;const o=this._users.find(a=>a.uid===r.uid);if(!o)return void _.warning("[".concat(this._clientId,"] can not find target user!(on_remove_stream)"));_.debug("[".concat(this._clientId,"] stream removed with uid ").concat(r.uid));let s=()=>{};o.hasAudio&&o.hasVideo?s=()=>{_.info("[".concat(this._clientId,"] remote user ").concat(o.uid," unpublished audio track")),this.safeEmit(_t.USER_UNPUBLISHED,o,"audio"),_.info("[".concat(this._clientId,"] remote user ").concat(o.uid," unpublished video track")),this.safeEmit(_t.USER_UNPUBLISHED,o,"video")}:o.hasVideo?s=()=>{_.info("[".concat(this._clientId,"] remote user ").concat(o.uid," unpublished video track")),this.safeEmit(_t.USER_UNPUBLISHED,o,"video")}:o.hasAudio&&(s=()=>{_.info("[".concat(this._clientId,"] remote user ").concat(o.uid," unpublished audio track")),this.safeEmit(_t.USER_UNPUBLISHED,o,"audio")}),o._video_pre_subscribed||o._audio_pre_subscribed||(o._trust_audio_stream_added_state_=!0,o._trust_video_stream_added_state_=!0,o._audio_added_=!1,o._video_added_=!1,this._p2pChannel instanceof Zc&&this._p2pChannel.unsubscribe(o).then(a=>{if(a)return this._gateway.unsubscribe(a,o.uid)}),o._audioSSRC=void 0,o._videoSSRC=void 0,o._audioOrtc=void 0,o._videoOrtc=void 0,o._rtxSsrcId=void 0),Z.onGatewayStream(this._sessionId,Oe.ON_REMOVE_STREAM,Jt.ON_REMOVE_STREAM,{peer:r.uint_id||r.uid}),s()}),S(this,"_handleSetStreamLocalEnable",(r,o,s)=>{if(y("BLOCK_LOCAL_CLIENT")&&ss(o,this.channelName))return;const a=this._users.find(l=>l.uid===o);if(!a)return void _.error("[".concat(this._clientId,"] can not find target user!(disable_local)"));_.debug("[".concat(this._clientId,"] local ").concat(r," ").concat(s?"enabled":"disabled"," with uid ").concat(o));const c=r==="audio"?a.hasAudio:a.hasVideo;if(r==="audio"){a._trust_audio_enabled_state_=!0;const l=a._audio_enabled_;if(a._audio_enabled_=s,a._audio_enabled_===l)return;{const u=a._audio_enabled_?"enable-local-audio":"disable-local-audio";_.debug("[".concat(this._clientId,"] user-info-updated, uid: ").concat(o,", msg: ").concat(u)),this.safeEmit(_t.USER_INFO_UPDATED,o,u)}}else{a._trust_video_enabled_state_=!0;const l=a._video_enabled_;if(a._video_enabled_=s,a._video_enabled_===l)return;{const u=a._video_enabled_?"enable-local-video":"disable-local-video";_.debug("[".concat(this._clientId,"] user-info-update, uid: ").concat(o,", msg: ").concat(u)),this.safeEmit(_t.USER_INFO_UPDATED,o,u)}}const d=r==="audio"?a.hasAudio:a.hasVideo;return c!==d?!c&&d?(_.info("[".concat(this._clientId,"] remote user ").concat(o," published ").concat(r)),void this.safeEmit(_t.USER_PUBLISHED,a,r)):(r==="video"&&a._videoTrack&&a._videoTrack._destroy(),r==="audio"&&a._audioTrack,this._p2pChannel.muteRemote(a,r),_.info("[".concat(this._clientId,"] remote user ").concat(o," unpublished ").concat(r)),void this.safeEmit(_t.USER_UNPUBLISHED,a,r)):void 0}),S(this,"_handleMuteStream",(r,o,s)=>{if(y("BLOCK_LOCAL_CLIENT")&&ss(r,this.channelName))return;_.debug("[".concat(this._clientId,"] receive mute message"),r,o,s);const a=this._users.find(l=>l.uid===r);if(!a)return void _.warning("[".concat(this._clientId,"] can not find remote user, ignore mute event, uid: ").concat(r));const c=o==="audio"?a.hasAudio:a.hasVideo;if(o==="audio"){a._trust_audio_mute_state_=!0;const l=a._audio_muted_;if(a._audio_muted_=s,a._audio_muted_===l)return;{const u=a._audio_muted_?"mute-audio":"unmute-audio";_.debug("[".concat(this._clientId,"] user-info-update, uid: ").concat(r,", msg: ").concat(u)),this.safeEmit(_t.USER_INFO_UPDATED,r,u)}}else{a._trust_video_mute_state_=!0;const l=a._video_muted_;if(a._video_muted_=s,a._video_muted_===l)return;{const u=a._video_muted_?"mute-video":"unmute-video";_.debug("[".concat(this._clientId,"] user-info-update, uid: ").concat(r,", msg: ").concat(u)),this.safeEmit(_t.USER_INFO_UPDATED,r,u)}}const d=o==="audio"?a.hasAudio:a.hasVideo;if(c!==d){if(!c&&d)return(o==="audio"?a._audioSSRC:a._videoSSRC)?(_.info("[".concat(this._clientId,"] remote user ").concat(r," published ").concat(o)),void this.safeEmit(_t.USER_PUBLISHED,a,o)):void _.warning("[".concat(this._clientId,"] remote user ").concat(r," receive ").concat(o," unmute message before add stream message, ").concat(o," SSRC doesn't exist yet."));o==="video"&&a._videoTrack&&!a._video_pre_subscribed&&a._videoTrack._destroy(),o==="audio"&&a._audioTrack,this._p2pChannel.muteRemote(a,o),_.info("[".concat(this._clientId,"] remote user ").concat(r," unpublished ").concat(o)),this.safeEmit(_t.USER_UNPUBLISHED,a,o)}}),S(this,"_handleP2PLost",r=>C(this,null,function*(){_.debug("[".concat(this._clientId,"] receive p2p lost"),r),parseInt(r.p2pid,10)===this.store.p2pId?yield this._p2pChannel.requestReconnect():_.warning("[".concat(this._clientId,"] P2PLost stream not found"),r)})),S(this,"_handleTokenWillExpire",()=>{_.debug("[".concat(this._clientId,"] received message onTokenPrivilegeWillExpire")),this.safeEmit(_t.ON_TOKEN_PRIVILEGE_WILL_EXPIRE)}),S(this,"_handleBeforeUnload",r=>{r.type==="beforeunload"&&r.returnValue!==void 0&&r.returnValue!==""||(this.leave(),_.info("[".concat(this._clientId,"] auto leave onbeforeunload or pagehide")))}),S(this,"_handleUpdateNetworkQuality",()=>{if(this._networkQualitySensitivity==="normal")return;if(navigator&&navigator.onLine!==void 0&&!navigator.onLine)return void this.safeEmit(_t.NETWORK_QUALITY,{downlinkNetworkQuality:6,uplinkNetworkQuality:6});const r={downlinkNetworkQuality:0,uplinkNetworkQuality:0};r.uplinkNetworkQuality=this._p2pChannel.getUplinkNetworkQuality(),r.downlinkNetworkQuality=this._p2pChannel.getDownlinkNetworkQuality(),this.safeEmit(_t.NETWORK_QUALITY,r)}),S(this,"_handleP2PAddAudioOrVideoStream",(r,o,s,a)=>{const c=this._users.find(l=>l.uid===o);if(!c)return void _.error("[".concat(this._clientId,"] can not find target user!(on_add_stream)"));_.debug("[".concat(this._clientId,"] stream added with uid ").concat(o,", type ").concat(r)),this.store.subscribe(c.uid,r,void 0,void 0,void 0,Date.now());const d=r==="audio"?c.hasAudio:c.hasVideo;r==="audio"?c._trust_audio_stream_added_state_=!0:c._trust_video_stream_added_state_=!0,r==="audio"?(c._audio_added_=!0,s!==void 0&&(c._audioSSRC=s),a!==void 0&&(c._audioMid=a)):(c._video_added_=!0,s!==void 0&&(c._videoSSRC=s),a!==void 0&&(c._videoMid=a)),(r==="audio"?c.hasAudio:c.hasVideo)&&!d&&(_.info("[".concat(this._clientId,"] remote user ").concat(c.uid," published ").concat(r)),this.safeEmit(_t.USER_PUBLISHED,c,r)),this._p2pChannel.hasPendingRemoteMedia(c,r)&&(_.debug("[".concat(this._clientId,"] resubscribe ").concat(r," for user ").concat(c.uid," after reconnect.")),this._subscribe(c,r,!0).catch(l=>{_.error("[".concat(this._clientId,"] resubscribe error"),l.toString())}))}),this._config=t,this._clientId=e||Gt(5,"client-"),this.store=new class{constructor(r,o,s,a){st(this,"state",void 0),this.state={codec:r,audioCodec:o,mode:s,clientId:a,sessionId:null,p2pId:0,dcId:0,pubId:0,subId:0,keyMetrics:{publish:[],subscribe:[]},joinChannelServiceRecords:[],cloudProxyServerMode:"disabled",useP2P:!1,p2pTransport:$o.Default,hasStartJoinChannel:!1,isABTestSuccess:!1}}dispatch(r){this.state=function(o,s){switch(s.type){case ft.SET_SESSION_ID:return z(z({},o),{},{sessionId:s.sessionId});case ft.SET_P2P_ID:return z(z({},o),{},{p2pId:s.p2pId});case ft.SET_UID:return z(z({},o),{},{uid:s.uid});case ft.SET_INT_UID:return z(z({},o),{},{intUid:s.intUid});case ft.SET_PUB_ID:return z(z({},o),{},{pubId:s.pubId});case ft.KEY_METRIC_CLIENT_CREATED:return z(z({},o),{},{keyMetrics:z(z({},o.keyMetrics),{},{clientCreated:s.metric})});case ft.KEY_METRIC_JOIN_START:return z(z({},o),{},{keyMetrics:z(z({},o.keyMetrics),{},{joinStart:s.metric})});case ft.KEY_METRIC_JOIN_END:return z(z({},o),{},{keyMetrics:z(z({},o.keyMetrics),{},{joinEnd:s.metric})});case ft.KEY_METRIC_REQUEST_AP_START:return z(z({},o),{},{keyMetrics:z(z({},o.keyMetrics),{},{requestAPStart:s.metric})});case ft.KEY_METRIC_REQUEST_AP_END:return z(z({},o),{},{keyMetrics:z(z({},o.keyMetrics),{},{requestAPEnd:s.metric})});case ft.KEY_METRIC_JOIN_GATEWAY_START:return z(z({},o),{},{keyMetrics:z(z({},o.keyMetrics),{},{joinGatewayStart:s.metric})});case ft.KEY_METRIC_JOIN_GATEWAY_END:return z(z({},o),{},{keyMetrics:z(z({},o.keyMetrics),{},{joinGatewayEnd:s.metric})});case ft.KEY_METRIC_PEER_CONNECTION_START:return z(z({},o),{},{keyMetrics:z(z({},o.keyMetrics),{},{peerConnectionStart:s.metric})});case ft.KEY_METRIC_PEER_CONNECTION_END:return z(z({},o),{},{keyMetrics:z(z({},o.keyMetrics),{},{peerConnectionEnd:s.metric})});case ft.KEY_METRIC_DESCRIPTION_START:return z(z({},o),{},{keyMetrics:z(z({},o.keyMetrics),{},{descriptionStart:s.metric})});case ft.KEY_METRIC_SIGNAL_CHANNEL_OPEN:return z(z({},o),{},{keyMetrics:z(z({},o.keyMetrics),{},{signalChannelOpen:s.metric})});case ft.KEY_METRIC_ICE_CONNECTION_END:return z(z({},o),{},{keyMetrics:z(z({},o.keyMetrics),{},{iceConnectionEnd:s.metric})});case ft.KEY_METRIC_PUBLISH:{const a=o.keyMetrics.publish,c=a.findIndex(d=>d.trackId===s.metric.trackId);return c!==-1?(a[c]=z(z({},a[c]),s.metric),z(z({},o),{},{keyMetrics:z(z({},o.keyMetrics),{},{publish:[...a]})})):z(z({},o),{},{keyMetrics:z(z({},o.keyMetrics),{},{publish:[...o.keyMetrics.publish,s.metric]})})}case ft.KEY_METRIC_SUBSCRIBE:{const a=o.keyMetrics.subscribe,c=a.findIndex(d=>d.userId===s.metric.userId&&d.type===s.metric.type);return c!==-1?(a[c]=z(z({},a[c]),s.metric),z(z({},o),{},{keyMetrics:z(z({},o.keyMetrics),{},{subscribe:[...a]})})):z(z({},o),{},{keyMetrics:z(z({},o.keyMetrics),{},{subscribe:[...o.keyMetrics.subscribe,s.metric]})})}case ft.SET_CLOUD_PROXY_SERVER_MODE:return o.cloudProxyServerMode=s.mode,o;case ft.RECORD_JOIN_CHANNEL_SERVICE:return typeof s.index!="number"?o.joinChannelServiceRecords=[...o.joinChannelServiceRecords,s.record]:(o.joinChannelServiceRecords[s.index]=z(z({},o.joinChannelServiceRecords[s.index]),s.record),o.joinChannelServiceRecords=[...o.joinChannelServiceRecords]),o;case ft.RESET_JOIN_CHANNEL_SERVICE_RECORDS:return o.joinChannelServiceRecords=[],o;case ft.RESET_KEY_METRICS:return o.keyMetrics={publish:[],subscribe:[]},o;case ft.SET_USE_P2P:return z(z({},o),{},{useP2P:s.val});case ft.SET_TRANSPORT_TYPE:return z(z({},o),{},{p2pTransport:s.val});default:return o}}(this.state,r)}set sessionId(r){this.dispatch({type:ft.SET_SESSION_ID,sessionId:r})}get sessionId(){return this.state.sessionId}set cid(r){this.state.cid=r}get cid(){return this.state.cid}set codec(r){this.state.codec=r}get codec(){return this.state.codec}get mode(){return this.state.mode}get audioCodec(){return this.state.audioCodec}get clientId(){return this.state.clientId}set p2pId(r){this.dispatch({type:ft.SET_P2P_ID,p2pId:r})}get p2pId(){return this.state.p2pId}set dcId(r){this.dispatch({type:ft.SET_DC_ID,dcId:r})}get dcId(){return this.state.dcId}set uid(r){this.dispatch({type:ft.SET_UID,uid:r})}get uid(){return this.state.uid}set intUid(r){this.dispatch({type:ft.SET_INT_UID,intUid:r})}get intUid(){return this.state.intUid}set pubId(r){this.dispatch({type:ft.SET_PUB_ID,pubId:r})}get pubId(){return this.state.pubId}set cloudProxyServerMode(r){this.dispatch({type:ft.SET_CLOUD_PROXY_SERVER_MODE,mode:r})}get cloudProxyServerMode(){return this.state.cloudProxyServerMode}set useP2P(r){this.dispatch({type:ft.SET_USE_P2P,val:r})}get useP2P(){return this.state.useP2P}set p2pTransport(r){this.dispatch({type:ft.SET_TRANSPORT_TYPE,val:r})}get p2pTransport(){return this.state.p2pTransport}set hasStartJoinChannel(r){this.state.hasStartJoinChannel=r}get hasStartJoinChannel(){return this.state.hasStartJoinChannel}set isABTestSuccess(r){this.state.isABTestSuccess=r}get isABTestSuccess(){return this.state.isABTestSuccess}clientCreated(){this.dispatch({type:ft.KEY_METRIC_CLIENT_CREATED,metric:Date.now()})}joinStart(){this.dispatch({type:ft.KEY_METRIC_JOIN_START,metric:Date.now()})}joinEnd(){this.dispatch({type:ft.KEY_METRIC_JOIN_END,metric:Date.now()})}requestAPStart(){this.dispatch({type:ft.KEY_METRIC_REQUEST_AP_START,metric:Date.now()})}requestAPEnd(){this.dispatch({type:ft.KEY_METRIC_REQUEST_AP_END,metric:Date.now()})}joinGatewayStart(){this.dispatch({type:ft.KEY_METRIC_JOIN_GATEWAY_START,metric:Date.now()})}joinGatewayEnd(){this.dispatch({type:ft.KEY_METRIC_JOIN_GATEWAY_END,metric:Date.now()})}peerConnectionStart(){this.dispatch({type:ft.KEY_METRIC_PEER_CONNECTION_START,metric:Date.now()})}peerConnectionEnd(){this.dispatch({type:ft.KEY_METRIC_PEER_CONNECTION_END,metric:Date.now()})}descriptionStart(){this.dispatch({type:ft.KEY_METRIC_DESCRIPTION_START,metric:Date.now()})}signalChannelOpen(){this.dispatch({type:ft.KEY_METRIC_SIGNAL_CHANNEL_OPEN,metric:Date.now()})}iceConnectionEnd(){this.dispatch({type:ft.KEY_METRIC_ICE_CONNECTION_END,metric:Date.now()})}publish(r,o,s,a){this.dispatch({type:ft.KEY_METRIC_PUBLISH,metric:z(z({trackId:r,type:o},s&&{publishStart:s}),a&&{publishEnd:a})})}subscribe(r,o,s,a,c,d,l){this.dispatch({type:ft.KEY_METRIC_SUBSCRIBE,metric:z(z(z(z(z({userId:r,type:o},s&&{subscribeStart:s}),a&&{subscribeEnd:a}),c&&{firstFrame:c}),d&&{streamAdded:d}),l&&{firstDecoded:l})})}massSubscribe(r,o,s,a){r.forEach(c=>{this.dispatch({type:ft.KEY_METRIC_SUBSCRIBE,metric:z(z(z({userId:c.userId,type:c.type},o&&{subscribeStart:o}),s&&{subscribeEnd:s}),a&&{firstFrame:a})})})}get keyMetrics(){return this.state.keyMetrics}recordJoinChannelService(r,o){r.service==="gateway"&&Array.isArray(r.urls)&&(r.urls=r.urls.map(s=>s.replace(/(\d+)-\d+-\d+-(\d+)/,"$1-*-*-$2")));try{return typeof o!="number"?(this.dispatch({type:ft.RECORD_JOIN_CHANNEL_SERVICE,record:z(z({},r),{},{sessionId:this.sessionId,cloudProxyMode:this.cloudProxyServerMode,uid:this.uid})}),this.state.joinChannelServiceRecords.length-1):(o<0||o>=this.state.joinChannelServiceRecords.length||this.dispatch({type:ft.RECORD_JOIN_CHANNEL_SERVICE,record:r,index:o}),o)}catch(s){return 0}}resetJoinChannelServiceRecords(){this.dispatch({type:ft.RESET_JOIN_CHANNEL_SERVICE_RECORDS})}resetKeyMetrics(){this.dispatch({type:ft.RESET_KEY_METRICS})}get joinChannelServiceRecords(){try{return this.state.joinChannelServiceRecords}catch(r){return[]}}}(t.codec,t.audioCodec,t.mode,this._clientId),this._leaveMutex=new qe("client-leave",this._clientId),this._publishMutex=new qe("client-publish",this._clientId),this._renewTokenMutex=new qe("client-renewtoken",this._clientId),this._subscribeMutex=new qe("client-subscribe",this._clientId),this.store.clientCreated(),t.proxyServer&&this.setProxyServer(t.proxyServer,!0),t.turnServer&&this.setTurnServer(t.turnServer,!0),_.info("[".concat(this._clientId,"] Initializing AgoraRTC client v").concat(dn," build: ").concat(XE,", mode: ").concat(this.mode,", codec: ").concat(this.codec)),t.clientRoleOptions)try{ME(t.clientRoleOptions),i=Object.assign({},t.clientRoleOptions)}catch(r){_.warning("[".concat(this._clientId,"] ").concat(r.toString()))}var n;this._statsCollector=new Xc(this.store),this._statsCollector.onStatsException=(r,o,s)=>{_.warn("[".concat(this._clientId,"] receive exception msg, code: ").concat(r,", msg: ").concat(o,", uid: ").concat(s)),this.safeEmit(_t.EXCEPTION,{code:r,msg:o,uid:s})},this._statsCollector.onUploadPublishDuration=(r,o,s,a)=>{const c=this._users.find(d=>d.uid===r);c&&Z.peerPublishStatus(this._sessionId,{subscribeElapse:a,audioPublishDuration:o,videoPublishDuration:s,peer:c._uintid})},this._statsCollector.onVideoCodecChanged=r=>{if(y("VIDEO_STANDARD_BITRATE_VERSION")&&(r==="av1"||r==="h265"||r==="h264")){const o=this.localTracks.find(s=>s instanceof Yt);o&&o._saveEncodeBitrateRatio!==1&&o.setSaveEncodeBitrateRatio(r==="h264"?y("BASELINE_MORE_H264_BITRATE_RATIO"):void 0)}},this.store.useP2P=t.mode==="p2p",this._gateway=new mW(this.store,{clientId:this._clientId,mode:this.mode,codec:this.codec,websocketRetryConfig:t.websocketRetryConfig||ge,httpRetryConfig:t.httpRetryConfig||ge,forceWaitGatewayResponse:t.forceWaitGatewayResponse===void 0||t.forceWaitGatewayResponse,statsCollector:this._statsCollector,role:t.role,clientRoleOptions:i}),this._configDistribute=new AW(this._clientId,this.store),this.store.useP2P?(this._p2pChannel=(n={store:this.store,statsCollector:this._statsCollector},Kr("P2PChannel").create(n)),this._handleP2PEvents()):this._p2pChannel=new Zc(this.store,this._statsCollector),this._handleP2PChannelEvents(),this._handleGatewayEvents(),this._handleGatewaySignalEvents()}joinMeta(o,s,a,c,d){return C(this,arguments,function*(t,e,i,n,r){let l=!(arguments.length>5&&arguments[5]!==void 0)||arguments[5],u=arguments.length>6&&arguments[6]!==void 0&&arguments[6];kt("JOIN_GATEWAY_USE_443PORT_ONLY",l),kt("JOIN_GATEWAY_USE_DUAL_DOMAIN",u);const h=this._gateway.signal.websocket;return h instanceof Om&&(h.use443PortOnly=l,h.tryDoubleDomain=u),function(f,T,R){return C(this,arguments,function*(p,g,m){nu.get(p)||nu.set(p,[]),ru.get(p)||ru.set(p,g),_r.get(p)||_r.set(p,0);const A=nu.get(p),N=ru.get(p);if(!A||!N)throw new Error("concurrent: deferQueue or maxConcurrency is null");if(_r.get(p)===N){const j=Ic();A.push(j),yield j.promise}_r.set(p,_r.get(p)+1);for(var O=arguments.length,w=new Array(O>3?O-3:0),L=3;L0&&(A[0].resolve(),A.shift()),_r.get(p)===0&&(nu.set(p,[]),ru.set(p,0),_r.set(p,0)),M})}("client.join",y("JOIN_MAX_CONCURRENCY"),this.join.bind(this),t,e,i,n,r)})}join(t,e,i,n,r){return C(this,null,function*(){const o=++this._numberOfJoinCount;this.store.joinStart(),n&&(this.store.uid=n);const s=(uu||uu||(uu=(window.location.protocol.split(":")[0]||"").toUpperCase(),uu))==="HTTPS",a=vI()?window.isSecureContext:"Browser Not Support";(!vI()&&!s||!window.isSecureContext)&&_.warning("The website must be running in a secure context (About secure context: https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts ), otherwise the media collection will be restricted by the browser"),Z.setAppId(t);try{if(!i&&i!==null)throw new P(v.INVALID_PARAMS,"Invalid token: ".concat(i,". If you don not use token, set it to null"));i&&Me(i,"token",1,2047),Me(t,"appid",1,2047),Lu(e),n&&ku(n),r&&Me(r,"optionalInfo",1,2047)}catch(m){throw Z.reportApiInvoke(Zo(),{name:_e.JOIN,options:[t,e,i,n],states:{isHttps:s,isSecureContext:a},tag:oe.TRACER}).onError(m),m}if(this._leaveMutex.isLocked&&(_.debug("[".concat(this._clientId,"] join: waiting leave operation")),(yield this._leaveMutex.lock())(),_.debug("[".concat(this._clientId,"] join: continue"))),this._joinAndNotLeaveYet=!0,this.connectionState!=="DISCONNECTED"){const m=new P(v.INVALID_OPERATION,"[".concat(this._clientId,"] Client already in connecting/connected state"));throw Z.reportApiInvoke(Zo(),{name:_e.JOIN,options:[t,e,i,n],states:{isHttps:s,isSecureContext:a},tag:oe.TRACER}).onError(m),m}this._gateway.state="CONNECTING";const c=yield S0({appId:t,cname:e,uid:n,stringUid:typeof n=="string"?n:void 0,token:i||t,cloudProxyServer:this._cloudProxyServerMode});if(!this._joinAndNotLeaveYet)throw new P(v.INVALID_OPERATION,"[".concat(this._clientId,"] Client already left"));const d=(c==null?void 0:c.sid)||Zo();_.info("[".concat(this._clientId,"] start join channel ").concat(e,", join number: ").concat(o)),this._sessionId||(this._sessionId=d,this.store.sessionId=this._sessionId);const l=Z.reportApiInvoke(d,{id:this._clientId,name:_e.JOIN,options:[t,e,i,n],states:{isHttps:s,isSecureContext:a},tag:oe.TRACER}),u=xn(xn(xn({},this._rtmConfig),{},{role:this.role,clientId:this._clientId,appId:t,sid:this._sessionId,cname:e,uid:typeof n!="string"?n:null,turnServer:this._turnServer,proxyServer:this._proxyServer,token:i||t,cloudProxyServer:this._cloudProxyServerMode,optionalInfo:r,license:this._license,useLocalAccessPoint:this._useLocalAccessPoint,preload:!!c},this._remoteDefaultVideoStreamType!==void 0&&{defaultVideoStream:this._remoteDefaultVideoStreamType}),{},{apRequestDetail:y("AP_REQUEST_DETAIL")||void 0});if(this._useLocalAccessPoint&&(u.setLocalAPVersion=this._setLocalAPVersion),typeof n=="string"&&(u.stringUid=n,this._uintUid?(u.uid=this._uintUid,this._uintUid=void 0):u.uid=0),this._encryptionMode!=="none"&&this._encryptionSecret){if(u.aesmode=this._encryptionMode,u.aespassword=yield(m=>C(this,null,function*(){const f=function(N){const O=window.atob(`MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDCMnXAHkKIGAM+x4N22gCI+Wyu +STM9ztkT3uYslTT2PuKmZfPzhH6kVdO7PTjGCOZnAsyb3oTtWat0KcxQ4jxvqQV+ +HvYl3iI1Yd4vl2c3qRMJPLtRDfNxa2Mcxgq7e9aEUibzdd0st+OJAy3tOj/Y0aVy +xQiYDz3vqa6bP29adwIDAQAB`),w=new Uint8Array(new ArrayBuffer(O.length));for(let L=0;L{this.connectionState==="CONNECTING"&&h===this._sessionId&&Z.joinChannelTimeout(this._sessionId,5)},5e3);try{var p;let m;const f=u.cloudProxyServer;if(G(p=["proxy3","proxy4","proxy5"]).call(p,f)){const O=y("PROXY_SERVER_TYPE3");Array.isArray(O)?u.proxyServer=O[0]:u.proxyServer=O}if(Z.setProxyServer(u.proxyServer),_.setProxyServer(u.proxyServer),this.store.requestAPStart(),c){if(_.debug("[".concat(this._clientId,"] get serverInfo Success from Preload Cache ").concat(u.stringUid?", ".concat(u.stringUid," => ").concat(c.intUid):""," ")),u.stringUid&&!u.uid&&(u.uid=c.intUid),m={gatewayInfo:c.ap.gatewayInfo},y("JOIN_WITH_FALLBACK_MEDIA_PROXY")&&u.turnServer.mode==="auto")if(c.ap.proxyInfo.addresses.length===0)_.warning("no edge services in ap response of proxy fallback, will not set proxy in iceServers");else{const O=(yield pw(c.ap.proxyInfo,c.ap.gatewayInfo.uid)).map(w=>({turnServerURL:w.address,tcpport:w.tcpport||He.tcpport,udpport:w.udpport||He.udpport,username:w.username||He.username,password:w.password||He.password,forceturn:!1,security:!0}));u.turnServer={mode:"manual",servers:O}}v0(c,u.stringUid)}else{if(u.stringUid&&!u.uid){let O;[O,m]=yield K.all([jw(u.stringUid,u,this._axiosCancelSource.token,this._config.httpRetryConfig||ge,this.store),Bw(u,this._axiosCancelSource.token,this._config.httpRetryConfig||ge,!0,this.store)]),_.debug("[".concat(this._clientId,"] getUserAccount Success ").concat(u.stringUid," => ").concat(O)),u.uid=O,m.gatewayInfo.uid=O,m.gatewayInfo.res.uid=O}else m=yield Bw(u,this._axiosCancelSource.token,this._config.httpRetryConfig||ge,!0,this.store);if(!this._joinAndNotLeaveYet)throw new P(v.INVALID_OPERATION,"[".concat(this._clientId,"] Client already left"))}this.store.requestAPEnd(),setTimeout(()=>{this._configDistribute.startGetConfigDistribute(u,this._axiosCancelSource.token),this._configDistribute.on(Bc.UPDATE_BITRATE_LIMIT,O=>{this._p2pChannel.updateBitrateLimit(O)}),this._configDistribute.on(Bc.UPDATE_CLIENT_ROLE_OPTIONS,O=>{this._setClientRoleOptions(O)})},0),this._key=i||t;const T=m.gatewayInfo,R=u.uid?u.uid:T.uid;this._joinInfo=xn(xn({},u),{},{cid:T.cid,uid:R,vid:T.vid,apResponse:T.res,apGatewayAddress:T.apGatewayAddress,uni_lbs_ip:T.uni_lbs_ip,gatewayAddrs:T.gatewayAddrs}),this.store.intUid=R,this.store.cid=T.cid;const A=yield this._joinGateway();if(!this._joinAndNotLeaveYet)throw new P(v.INVALID_OPERATION,"[".concat(this._clientId,"] Client already left"));l.onSuccess(A),this._appId=t,this._channelName=u.cname,this._uid=A,this.store.uid=A,setTimeout(()=>{this._networkQualityInterval&&window.clearInterval(this._networkQualityInterval),this._networkQualityInterval=window.setInterval(this._handleUpdateNetworkQuality,2e3),window.addEventListener(je()?"beforeunload":"pagehide",this._handleBeforeUnload),this._statsCollector.startUpdateStats()},0);const N=u.stringUid?"string uid: ".concat(u.stringUid,",uid: ").concat(u.uid):"uid: ".concat(this._uid);return _.info("[".concat(this._clientId,"] Joining channel success: channel: ").concat(e,",").concat(N)),setTimeout(()=>{_.startUpload()},5e3),this.store.joinEnd(),g=this,G(os).call(os,g)||os.push(g),this._cloudProxyServerMode==="disabled"&&Ct().supportWebCrypto&&y("ENABLE_PRELOAD")&&nf(this._joinInfo),A}catch(m){const f=Array.isArray(m)?m[0]:m;throw f&&f.code===v.OPERATION_ABORTED?_.warning("[".concat(this._clientId,"] join number: ").concat(o,", Joining channel failed, rollback"),f):_.error("[".concat(this._clientId,"] join number: ").concat(o,", Joining channel failed, rollback"),f),f.code!==v.OPERATION_ABORTED&&this._numberOfJoinCount===o&&(this._gateway.state="DISCONNECTED",this._reset()),l.onError(f),f}var g})}_joinGateway(){if(!this._joinInfo||!this._key)throw new P(v.INVALID_OPERATION);return this._gateway.join(this._joinInfo,this._key,!(this._joinInfo.cloudProxyServer!=="disabled"||this._joinInfo.proxyServer||!y("JOIN_WITH_FALLBACK_SIGNAL_PROXY")))}leave(){return C(this,null,function*(){_.info("[".concat(this._clientId,"] Leaving channel")),window.removeEventListener(je()?"beforeunload":"pagehide",this._handleBeforeUnload),this._reset(),function(e){const i=os.indexOf(e);i!==-1&&os.splice(i,1)}(this),this._statsCollector.stopUpdateStats();const t=yield this._leaveMutex.lock();if(this.connectionState==="DISCONNECTED")return _.info("[".concat(this._clientId,"] Leaving channel repeated, success")),void t();yield this._gateway.leave(this.connectionState!=="CONNECTED",bt.LEAVE),_.info("[".concat(this._clientId,"] Leaving channel success")),this._joinAndNotLeaveYet=!1,this.store.resetJoinChannelServiceRecords(),t()})}publish(e){return C(this,arguments,function*(t){let i=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];if(!Array.isArray(t)){if(!(t instanceof Ea))return this._publishDataChannel(t);t=[t]}if(t.length===0)throw new P(v.INVALID_PARAMS,"param list is empty");const n=t;if(this._gateway.role==="audience")throw new P(v.INVALID_OPERATION,"audience can not publish stream");for(const o of n){if(!(o instanceof Ea))throw new P(v.INVALID_PARAMS,"parameter is not local track");if(!o._enabled&&i)throw new P(v.TRACK_IS_DISABLED,"can not publish a disabled track: ".concat(o.getTrackId()))}_.info("[".concat(this._clientId,"] Publishing tracks, id ").concat(n.map(o=>"".concat(o.getTrackId()," "))));const r=yield this._publishMutex.lock();yield this._configDistribute.awaitConfigDistributeComplete(),i&&n.forEach(o=>{const s=this._configDistribute.getBitrateLimit();o instanceof Yt&&s&&o.setBitrateLimit(s.uplink)});try{yield this._publishHighStream(n),_.info("[".concat(this._clientId,"] Publish success, id ").concat(n.map(o=>"".concat(o.getTrackId()," "))))}catch(o){throw _.error("[".concat(this._clientId,"] publish error"),o.toString()),o}finally{r()}})}_publishDataChannel(t){return C(this,null,function*(){xt(t.id,"id",0,65535,!0),Fr(t.ordered,"ordered"),Me(t.metadata,"metadata",0,512),_.info("[".concat(this._clientId,"] Publishing datachannels, id ").concat(t.id));const e=yield this._publishMutex.lock();try{if(this._p2pChannel.getAllDataChannels().findIndex(r=>r.id===t.id)!==-1)throw new P(v.INVALID_PARAMS,"Invalid id: ".concat(t.id,". If you want to republish the datachannel, unpublish first"));if(!this._joinInfo||this._uid===void 0)throw new P(v.INVALID_OPERATION,"Can't publish datachannel, haven't joined yet!");if(this.connectionState!=="CONNECTED"&&this.connectionState!=="RECONNECTING")throw new P(v.INVALID_OPERATION,"can not publish datachannel in ".concat(this.connectionState," state"));if(this._turnServer.mode==="auto"&&y("FORCE_TURN")&&!y("TURN_ENABLE_TCP")&&!y("TURN_ENABLE_UDP"))throw new P(v.UNEXPECTED_ERROR,"force TURN With No TURN Configuration");const i=function(r){return Dw(r,!1)}(t),n=yield this._p2pChannel.publishDataChannel([i]);if(n.length>0){if(typeof i._originDataChannelId!="number")throw _.error("[".concat(this._clientId,"] can not publish with mediaType datachannel, cannot get RTCDatachannel id")),new P(v.CREATE_DATACHANNEL_ERROR);try{yield K.all(n.map(r=>this._uid&&this._gateway.publishDataChannel(this._uid,r,!0))),yield i._waitTillOpen()}catch(r){if(r.code!==v.DISCONNECT_P2P)throw r}}return _.info("[".concat(this._clientId,"] Publish dataChannels success, id ").concat(i.id)),i}catch(i){throw _.error("[".concat(this._clientId,"] publish datachannels error"),i.toString()),i}finally{e()}})}unpublish(t){return C(this,null,function*(){if(!this._joinInfo||this._uid===void 0)throw new P(v.INVALID_OPERATION,"Can't unpublish stream, haven't joined yet!");let e=[];if(t)if(Array.isArray(t))e=t;else{if(!(t instanceof Ea))return this._unpublishDataChannel([t]);e=[t]}else this.store.useP2P||(yield this._unpublishDataChannel()),e=this._p2pChannel.getAllTracks(!0);_.info("[".concat(this._clientId,"] Unpublish tracks, tracks ").concat(e.map(n=>"".concat(n.getTrackId()," "))," "));const i=yield this._publishMutex.lock();try{if(this.store.useP2P){const n=yield this._p2pChannel.unpublish(e);n&&(yield this._gateway.sendExtensionMessage(he.UNPUBLISH,{unpubMsg:n},!0))}else{const n=yield this._p2pChannel.unpublish(e);n&&(yield this._gateway.unpublish(n,this._uid)),_.info("[".concat(this._clientId,"] Unpublish success,tracks ").concat(e.map(r=>"".concat(r.getTrackId()))))}}catch(n){throw _.error("[".concat(this._clientId,"] unpublish error"),n.toString()),n}finally{i&&i()}})}_unpublishDataChannel(t){return C(this,null,function*(){t!==void 0&&t.length!==0||(t=this._p2pChannel.getAllDataChannels()),_.info("[".concat(this._clientId,"] Unpublish datachannels, datachannels ").concat(t.map(i=>"".concat(i.id," "))," "));const e=yield this._publishMutex.lock();try{const i=yield this._p2pChannel.unpublishDataChannel(t);i&&(yield this._gateway.unpublishDataChannel(i)),_.info("[".concat(this._clientId,"] Unpublish dataChannel success,dataChannel ").concat(t.map(n=>"".concat(n.id))))}catch(i){throw _.error("[".concat(this._clientId,"] unpublish dataChannel error"),i.toString()),i}finally{e&&e()}})}subscribe(t,e,i){return C(this,null,function*(){if(!(t instanceof Co)){const n=this.remoteUsers.find(r=>r.uid===t);if(!n)throw new P(v.INVALID_REMOTE_USER,"user is not in the channel");t=n}return e==="datachannel"?this._subscribeDataChannel(t,i):this._subscribe(t,e)})}presubscribe(t,e){return C(this,null,function*(){if(Ae(e,"mediaType",["audio","video"]),this.store.useP2P)throw new P(v.INVALID_OPERATION,"can't presub at p2p mode");if(!this._joinInfo)throw new P(v.INVALID_OPERATION,"can't presub when not join");if(this.connectionState!=="CONNECTED"&&this.connectionState!=="RECONNECTING")throw new P(v.INVALID_OPERATION,"can't presub in ".concat(this.connectionState," state"));const i=e===q.AUDIO,n=e===q.VIDEO,r=yield this._subscribeMutex.lock();try{const{ssrcId:o,ortc:s,rtxSsrcId:a,cname:c,uint_id:d}=yield this._gateway.presubscribe(t,e,!0);if(o==null)throw new P(v.UNEXPECTED_RESPONSE,"no ssrc id");let l=this._users.find(h=>h.uid===t);l||(l=new Co(t,d||t),l._is_pre_created=!0,this._users.push(l)),c&&(l._cname=c),l._uintid||(l._uintid=d||t),i&&(l._audioSSRC=o,l._audio_pre_subscribed=!0,s&&(l._audioOrtc=s)),n&&(l._videoSSRC=o,l._video_pre_subscribed=!0,s&&(l._videoOrtc=s),a!=null&&(l._rtxSsrcId=a)),_.info("[".concat(this._clientId,"] presub succeed ssrc: ").concat(o)),yield this._p2pChannel.subscribe(l,e,o,a,s);const u=i?l._audioTrack:l._videoTrack;if(!u)throw new P(v.UNEXPECTED_ERROR,"can not find remote track in user");return i&&(l._trust_audio_stream_added_state_=!0,l._audio_added_=!0),n&&(l._trust_video_stream_added_state_=!0,l._video_added_=!0),u}catch(o){throw _.error("[".concat(this._clientId,"] presub user ").concat(t," error"),o),o}finally{r()}})}_subscribeDataChannel(t,e){return C(this,null,function*(){var i;if(xt(e,"channelId",0,65535,!0),!this._joinInfo)throw new P(v.INVALID_OPERATION,"Can't subscribe datachannel, not joined");if(this.connectionState!=="CONNECTED"&&this.connectionState!=="RECONNECTING")throw new P(v.INVALID_OPERATION,"Can't subscribe datachannel in ".concat(this.connectionState," state"));if(!this._users.find(a=>a===t))throw _.error("[".concat(this._clientId,"] can not subscribe ").concat(t.uid,", this user is not in the channel")),new P(v.INVALID_REMOTE_USER,"user is not in the channel");if(!t.hasAudio&&!t.hasVideo&&t._dataChannels.length===0)throw _.error("[".concat(this._clientId,"] can not subscribe ").concat(t.uid,", user is not published")),new P(v.INVALID_REMOTE_USER,"user is not published");const r=(i=t._dataChannels)===null||i===void 0?void 0:i.find(a=>a.id===e);if(!r)throw _.error("[".concat(this._clientId,"] can not subscribe ").concat(t.uid," with mediaType datachannel, remote datachannel is not published")),new P(v.REMOTE_USER_IS_NOT_PUBLISHED);const o=yield this._subscribeMutex.lock();_.info("[".concat(this._clientId,"] subscribe user ").concat(t.uid,", mediaType: datachannel"));try{const a=yield this._p2pChannel.subscribeDataChannel(t,[r]);if(a&&G(a).call(a,r.id))try{var s;if(typeof r._originDataChannelId!="number")throw _.error("[".concat(this._clientId,"] can not subscribe ").concat(t.uid," with mediaType datachannel, cannot get RTCDatachannel")),new P(v.CREATE_DATACHANNEL_ERROR);const c={id:r.id,datachannelId:r._originDataChannelId,ordered:r.ordered,maxRetransmits:r.maxRetransmits,metadata:(s=r.metadata)!==null&&s!==void 0?s:""};yield this._gateway.subscribeDataChannel(t.uid,c,!0),yield r._waitTillOpen()}catch(c){if((c==null?void 0:c.code)!==v.WS_ABORT)throw yield this._p2pChannel.unsubscribeDataChannel(t,[r]),c;yield this._p2pChannel.unsubscribeDataChannel(t,[r]),this._p2pChannel.setPendingRemoteDataChannel(t,r.id)}return _.info("[".concat(this._clientId,"] subscribe success user ").concat(t.uid,", mediaType: datachannel")),r}finally{o()}})}_p2pSubscribe(t,e,i){return C(this,null,function*(){if(Ae(e,"mediaType",["audio","video"]),!this._joinInfo)throw new P(v.INVALID_OPERATION,"Can't subscribe stream, not joined");if(this.connectionState!=="CONNECTED"&&this.connectionState!=="RECONNECTING")throw new P(v.INVALID_OPERATION,"Can't subscribe stream in ".concat(this.connectionState," state"));if(!this._users.find(o=>o===t)){const o=new P(v.INVALID_REMOTE_USER,"user is not in the channel");throw _.error("[".concat(this._clientId,"] can not subscribe ").concat(t.uid,", this user is not in the channel")),o}if(!t.hasAudio&&!t.hasVideo){const o=new P(v.INVALID_REMOTE_USER,"user is not published");throw _.error("[".concat(this._clientId,"] can not subscribe ").concat(t.uid,", user is not published")),o}if(!i&&(e==="audio"&&!t.hasAudio||e==="video"&&!t.hasVideo)){const o=new P(v.REMOTE_USER_IS_NOT_PUBLISHED);throw _.error("[".concat(this._clientId,"] can not subscribe ").concat(t.uid," with mediaType ").concat(e,", remote track is not published")),o}const r=yield this._subscribeMutex.lock();_.info("[".concat(this._clientId,"] subscribe user ").concat(t.uid,", mediaType: ").concat(e));try{if(yield this._p2pChannel.hasRemoteMediaWithLock(t,e))yield this._p2pChannel.unmuteRemote(t,e);else try{const s=e==="audio"?t._audioSSRC:t._videoSSRC,a=e==="audio"?t._audioMid:t._videoMid;this.store.subscribe(t.uid,e,Date.now()),this.store.useP2P&&(yield this._p2pChannel.subscribe(t,e,s,a))}catch(s){throw s}_.info("[".concat(this._clientId,"] subscribe success user ").concat(t.uid,", mediaType: ").concat(e)),this._defaultStreamFallbackType&&this.setStreamFallbackOption(t.uid,this._defaultStreamFallbackType).catch(s=>{_.warning("[".concat(this._clientId,"] auto set fallback failed"),s)});const o=e==="audio"?t._audioTrack:t._videoTrack;if(!o)throw new P(v.UNEXPECTED_ERROR,"can not find remote track in user object");return o}catch(o){throw _.error("[".concat(this._clientId,"] subscribe user ").concat(t.uid," error"),o),o}finally{r()}})}_subscribe(t,e,i){return C(this,null,function*(){if(this.store.useP2P)return this._p2pSubscribe(t,e);if(Ae(e,"mediaType",["audio","video"]),!this._joinInfo)throw new P(v.INVALID_OPERATION,"Can't subscribe stream, not joined");if(this.connectionState!=="CONNECTED"&&this.connectionState!=="RECONNECTING")throw new P(v.INVALID_OPERATION,"Can't subscribe stream in ".concat(this.connectionState," state"));if(!this._users.find(d=>d===t)){const d=new P(v.INVALID_REMOTE_USER,"user is not in the channel");throw _.error("[".concat(this._clientId,"] can not subscribe ").concat(t.uid,", this user is not in the channel")),d}if(!t.hasAudio&&!t.hasVideo){const d=new P(v.INVALID_REMOTE_USER,"user is not published");throw _.error("[".concat(this._clientId,"] can not subscribe ").concat(t.uid,", user is not published")),d}if(!(i||(e!=="audio"||t.hasAudio&&t._audioSSRC!==void 0)&&(e!=="video"||t.hasVideo&&t._videoSSRC!==void 0))){const d=new P(v.REMOTE_USER_IS_NOT_PUBLISHED);throw _.error("[".concat(this._clientId,"] can not subscribe ").concat(t.uid," with mediaType ").concat(e,", remote track is not published")),d}let r=e==="audio"?t._audioSSRC:t._videoSSRC,o=e==="audio"?t._audioOrtc:t._videoOrtc,s=e==="video"?t._rtxSsrcId:void 0,a={stream_type:e==="audio"?q.AUDIO:q.VIDEO,ssrcId:r};const c=yield this._subscribeMutex.lock();_.info("[".concat(this._clientId,"] subscribe user ").concat(t.uid,", mediaType: ").concat(e));try{if(yield this._p2pChannel.hasRemoteMediaWithLock(t,e))yield this._p2pChannel.unmuteRemote(t,e);else try{const l=e==="audio"?t._audioSSRC:t._videoSSRC;l!==void 0&&l!==r&&(r=l,o=e==="audio"?t._audioOrtc:t._videoOrtc,s=e==="video"?t._rtxSsrcId:void 0,a={stream_type:e==="audio"?q.AUDIO:q.VIDEO,ssrcId:r}),Je.markSubscribeStart(this.store.clientId,r),this.store.subscribe(t.uid,e,Date.now()),yield this._p2pChannel.subscribe(t,e,r,s,o);try{this._p2pChannel.isPreSubScribe(r)||(yield this._gateway.subscribe(t.uid,a,!0))}catch(u){if((u==null?void 0:u.code)!==v.WS_ABORT)throw yield this._p2pChannel.unsubscribe(t,e),u;yield this._p2pChannel.unsubscribe(t,e,!0),this._p2pChannel.setPendingRemoteMedia(t,e)}this.store.subscribe(t.uid,e,void 0,Date.now()),this._p2pChannel.reportSubscribeEvent(!0,null,t,e)}catch(l){throw this._p2pChannel.reportSubscribeEvent(!1,l==null?void 0:l.code,t,e),l}_.info("[".concat(this._clientId,"] subscribe success user ").concat(t.uid,", mediaType: ").concat(e)),this._defaultStreamFallbackType&&this.setStreamFallbackOption(t.uid,this._defaultStreamFallbackType).catch(l=>{_.warning("[".concat(this._clientId,"] auto set fallback failed"),l)});const d=e==="audio"?t._audioTrack:t._videoTrack;if(!d)throw new P(v.UNEXPECTED_ERROR,"can not find remote track in user object");return d}catch(d){throw _.error("[".concat(this._clientId,"] subscribe user ").concat(t.uid," error"),d),d}finally{c()}})}massSubscribe(t){return C(this,null,function*(){if(Br(t,"subscribeList"),!this._joinInfo)throw new P(v.INVALID_OPERATION,"Can't subscribe stream, not joined");if(this.connectionState!=="CONNECTED"&&this.connectionState!=="RECONNECTING")throw new P(v.INVALID_OPERATION,"Can't subscribe stream in ".concat(this.connectionState," state"));const e=Date.now(),i=new Map,n=yield this._subscribeMutex.lock();_.info("[".concat(this._clientId,"]start massSubscribe user ").concat(t.map(a=>{let{user:c,mediaType:d}=a;return"user: ".concat(c==null?void 0:c.uid,", mediaType: ").concat(d)}).join("; ")));const r=(t=[...t]).map(a=>{let{user:c,mediaType:d}=a;return{user:c,mediaType:d}}),o=yield this._p2pChannel.globalLock();try{var s;for(let c=t.length-1;c>=0;c--){const d=t[c],{user:l,mediaType:u}=d;if(Ae(u,"mediaType",["audio","video"]),!l){const m=new P(v.INVALID_PARAMS,"user property does not exist in subscribeList item");throw _.error("[".concat(this._clientId,"] user property does not exist in subscribeList item")),m}if(!this._users.find(m=>m===l)){const m=new P(v.INVALID_REMOTE_USER,"user is not in the channel");_.error("[".concat(this._clientId,"] can not massSubscribe ").concat(l.uid,", this user is not in the channel")),r[c].error=m,t.splice(c,1);continue}if(u==="audio"&&(!l.hasAudio||l._audioSSRC===void 0)||u==="video"&&(!l.hasVideo||l._videoSSRC===void 0)){const m=new P(v.REMOTE_USER_IS_NOT_PUBLISHED);_.error("[".concat(this._clientId,"] can not subscribe ").concat(l.uid," with mediaType ").concat(u,", remote user is not published")),r[c].error=m,t.splice(c,1);continue}const p=Ne.Video|Ne.LwoVideo,g=i.get(l);if(g){if(u==="video"?g&p:g&Ne.Audio){t.splice(c,1),_.warning("[".concat(this._clientId,"] repeat massSubscribe user:").concat(l.uid,", mediaType:").concat(u," twice"));continue}i.set(l,g|(u==="video"?p:Ne.Audio))}else i.set(l,u==="video"?p:Ne.Audio)}for(let c=t.length-1;c>=0;c--){const d=t[c],{user:l,mediaType:u}=d,h=Ne.Video|Ne.LwoVideo;if(this._p2pChannel.hasRemoteMedia(l,u)){yield this._p2pChannel.unmuteRemoteNoLock(l,u);const p=i.get(l);i.set(l,u==="video"?p^h:p^Ne.Audio),t.splice(c,1)}}this.store.massSubscribe(t.map(c=>({userId:c.user.uid,type:c.mediaType})),e);let a=Tn(s=Array.from(i.entries())).call(s,(c,d)=>{let[l,u]=d;if(u===0)return c;const h={stream_id:l.uid,stream_type:u};return u&Ne.Audio&&(h.audio_ssrc=l._audioSSRC),u&Ne.Video&&(h.video_ssrc=l._videoSSRC),c.push(h),c},[]);try{t.length>0&&(yield this._p2pChannel.massSubscribeNoLock(t.map(d=>{let{user:l,mediaType:u}=d;return{user:l,mediaType:u,ssrcId:u===q.VIDEO?l._videoSSRC:l._audioSSRC,rtxSsrcId:u===q.VIDEO?l._rtxSsrcId:void 0}})));const c=new Map;if(a=a.filter(d=>d.video_ssrc&&!this._p2pChannel.isPreSubScribe(d.video_ssrc)||d.audio_ssrc&&!this._p2pChannel.isPreSubScribe(d.audio_ssrc)||!d.video_ssrc&&!d.audio_ssrc),a.length>0){const d=yield this._gateway.subscribeAll(a,!0);((d==null?void 0:d.users)||[]).forEach(l=>{let{stream_id:u,video_error_code:h,audio_error_code:p,error_code:g}=l;(h||p||g)&&c.set(u,{video_error_code:h,audio_error_code:p,error_code:g})})}if(Array.from(c.entries()).length>0){const d=[];Array.from(c.entries()).forEach(l=>{let[u,h]=l;const p=this.remoteUsers.find(g=>g.uid===u);if(p){let g;h.error_code||h.video_error_code&&h.audio_error_code?g=void 0:h.video_error_code?g=q.VIDEO:h.audio_error_code&&(g=q.AUDIO),d.push({user:p,mediaType:g})}}),d.length>0&&(yield this._p2pChannel.massUnsubscribeNoLock(d))}for(const d of r){const l=c.get(d.user.uid);if(l){const u=l.error_code||d.mediaType==="audio"&&l.audio_error_code||d.mediaType==="video"&&l.video_error_code;if(u){const h=jc(u);_.error("user:".concat(d.user.uid," mediaType:").concat(d.mediaType," has massSubscribe error ").concat(h.desc)),d.error=new P(v.SUBSCRIBE_FAILED,"code ".concat(u,": ").concat(h.desc))}}d.error||(d.mediaType==="video"?d.track=d.user.videoTrack:d.track=d.user.audioTrack)}return this.store.massSubscribe(r.filter(d=>!d.error).map(d=>({userId:d.user.uid,type:d.mediaType})),void 0,Date.now()),r.forEach(d=>{var l;Z.subscribe(this.store.sessionId,{succ:!!d.error,ec:((l=d.error)===null||l===void 0?void 0:l.code)||null,video:d.mediaType===q.VIDEO,audio:d.mediaType===q.AUDIO,peerid:d.user.uid,subscribeRequestid:d.mediaType===q.VIDEO?d.user._videoSSRC:d.user._audioSSRC,p2pid:this.store.p2pId,eventElapse:Math.floor(performance.now()-e),preSsrc:this._p2pChannel.isPreSubScribe(d.user._videoSSRC)},!0)}),_.info("[".concat(this._clientId,"] massSubscribe success ").concat(t.map(d=>{let{user:l,mediaType:u}=d;return"user: ".concat(l==null?void 0:l.uid,", mediaType: ").concat(u)}).join("; "))),r}catch(c){throw yield this._p2pChannel.massUnsubscribeNoLock(t),c}}finally{o(),n()}})}unsubscribe(t,e,i){return C(this,null,function*(){if(!(t instanceof Co)){const o=this.remoteUsers.find(s=>s.uid===t);if(!o)throw new P(v.INVALID_REMOTE_USER,"user is not in the channel");t=o}if(e||this.store.useP2P){if(e==="datachannel")return this._unsubscribeDataChannel(t,i)}else yield this._unsubscribeDataChannel(t,i);if(e&&Ae(e,"mediaType",["audio","video"]),!this._joinInfo)throw new P(v.INVALID_OPERATION,"Can't unsubscribe stream, haven't joined yet!");if(!this._users.find(o=>o===t)){const o=new P(v.INVALID_REMOTE_USER,"user is not in the channel");throw _.error("[".concat(this._clientId,"] can not unsubscribe ").concat(t.uid,", user is not in the channel")),o}_.info("[".concat(this._clientId,"] unsubscribe uid: ").concat(t.uid,", mediaType: ").concat(e));const r=yield this._subscribeMutex.lock();try{if(this.store.useP2P)yield this._p2pChannel.unsubscribe(t,e);else{const o=yield this._p2pChannel.unsubscribe(t,e);o&&(yield this._gateway.unsubscribe(o,t.uid)),e&&e!=="audio"||(t._audio_pre_subscribed=!1),e&&e!=="video"||(t._video_pre_subscribed=!1),t._is_pre_created&&cu(this._users,t),_.info("[".concat(this._clientId,"] unsubscribe success uid: ").concat(t.uid,", mediaType: ").concat(e))}}catch(o){if(o.code===v.DISCONNECT_P2P)return void _.warning("disconnecting p2p, abort unsubscribe request.");throw _.error("[".concat(this._clientId,"] unsubscribe user ").concat(t.uid," error"),o.toString()),o}finally{r()}})}_unsubscribeDataChannel(t,e){return C(this,null,function*(){if(e&&xt(e,"id",0,65535,!0),!this._joinInfo)throw new P(v.INVALID_OPERATION,"Can't unsubscribe datachannel, haven't joined yet!");if(!this._users.find(r=>r===t)){const r=new P(v.INVALID_REMOTE_USER,"user is not in the channel");throw _.error("[".concat(this._clientId,"] can not unsubscribe ").concat(t.uid,", user is not in the channel")),r}let n;if(typeof e=="number"){const r=t._dataChannels.find(o=>o.id===e);r&&(n=[r])}else n=t._dataChannels;if(n===void 0){const r=new P(v.REMOTE_USER_IS_NOT_PUBLISHED);throw _.error("[".concat(this._clientId,"] can not unsubscribe ").concat(t.uid," with channelId ").concat(e,", remote datachannel is not published")),r}_.info("[".concat(this._clientId,"] unsubscribe uid: ").concat(t.uid,", mediaType: datachannel, ids: ").concat(n.map(r=>r.id)));try{const r=yield this._p2pChannel.unsubscribeDataChannel(t,n);r&&(yield this._gateway.unsubscribeDataChannel(r,t.uid)),_.info("[".concat(this._clientId,"] unsubscribe datachannel success uid: ").concat(t.uid,", mediaType: datachannel, ids: ").concat(r))}catch(r){if(r.code===v.DISCONNECT_P2P)return void _.warning("disconnecting p2p, abort unsubscribe request.");throw _.error("[".concat(this._clientId,"] unsubscribe user ").concat(t.uid," error"),r.toString()),r}})}massUnsubscribe(t){return C(this,null,function*(){if(Br(t,"unsubscribeList"),!this._joinInfo)throw new P(v.INVALID_OPERATION,"Can't unsubscribeAll stream, haven't joined yet!");_.info("[".concat(this._clientId,"] start massUnsubscribe ").concat(t.map(i=>{let{user:n,mediaType:r}=i;return"user: ".concat(n==null?void 0:n.uid,", mediaType: ").concat(r,";")}).join())),t=[...t];const e=new Map;for(let i=t.length-1;i>=0;i--){const{user:n,mediaType:r}=t[i];if(!n){const a=new P(v.INVALID_PARAMS,"user property does not exist in unsubscribeList item");throw _.error("[".concat(this._clientId,"] user property does not exist in unsubscribeList item")),a}if(Ae(r,"mediaType",["video","audio",void 0]),!this._users.find(a=>a===n)){_.warning("[".concat(this._clientId,"] can not unsubscribe ").concat(n.uid,", user is not in the channel")),t.splice(i,1);continue}const s=Ne.Video|Ne.LwoVideo;if(e.has(n)){const a=e.get(n);let c;switch(r){case"video":c=a&s;break;case"audio":c=a&Ne.Audio;break;default:c=a&(Ne.Audio|s)}if(c){_.warning("[".concat(this._clientId,"] repeat massUnsubscribe user:").concat(n.uid,",mediaType:").concat(r," twice.")),t.splice(i,1);continue}r?r==="audio"?e.set(n,a|Ne.Audio):r==="video"&&e.set(n,a|s):e.set(n,a|Ne.Audio|s)}else r?r==="audio"?e.set(n,Ne.Audio):r==="video"&&e.set(n,s):e.set(n,Ne.Audio|s)}try{const i=yield this._p2pChannel.massUnsubscribe(t);i&&(yield this._gateway.massUnsubscribe(i)),_.info("[".concat(this._clientId,"] massUnsubscribe success ").concat(t.map(n=>{let{user:r,mediaType:o}=n;return"user: ".concat(r==null?void 0:r.uid,", mediaType: ").concat(o,";")}).join()))}catch(i){if(i.code===v.DISCONNECT_P2P)return void _.warning("[".concat(this._clientId,"] disconnecting p2p, abort unsubscribe request."));throw _.error("[".concat(this._clientId,"] massUnsubscribe error"),i.toString()),i}})}setLowStreamParameter(t){return C(this,null,function*(){(function(i){if(!i)throw new k(v.INVALID_PARAMS);re(i.width)||DE(i.width,"streamParameter.width"),re(i.height)||DE(i.height,"streamParameter.height"),re(i.framerate)||DE(i.framerate,"streamParameter.framerate"),re(i.bitrate)||xt(i.bitrate,"streamParameter.bitrate")})(t),(!t.width&&t.height||t.width&&!t.height)&&_.warning("[".concat(this._clientId,"] The width and height parameters take effect only when both are set")),_.info("[".concat(this._clientId,"] set low stream parameter to"),JSON.stringify(t));const e=this._configDistribute.getLowStreamConfigDistribute();if(e&&e.bitrate&&t.bitrate&&e.bitrate1e3+e.rttMs+100?this.ntpAlignErrorCount+=1:this.ntpAlignErrorCount=0,this.ntpAlignErrorCount>=3?i:0}getNtpWallTimeInMs(){return document.visibilityState==="visible"&&(this.remoteInboundOffset=this.getRemoteInboundOffset()),this.remoteInboundOffset+Date.now()+this._gateway.ntpOffset}setProxyServer(t,e){if(Me(t,"proxyServer"),!e){if(this.connectionState!=="DISCONNECTED")throw new P(v.INVALID_OPERATION,"Set proxy server before join channel");if(this._cloudProxyServerMode!=="disabled"||this._useLocalAccessPoint)throw new P(v.INVALID_OPERATION,"You have already set the proxy")}this._proxyServer=t,Z.setProxyServer(this._proxyServer),_.setProxyServer(this._proxyServer),_.info("[".concat(this._clientId,"] Set proxy server ").concat(e?"by initialize call":""," success."))}setTurnServer(t,e){if(Array.isArray(t)||(t=[t]),!e){if(this.connectionState!=="DISCONNECTED")throw new P(v.INVALID_OPERATION,"Set turn server before join channel");if(this._cloudProxyServerMode!=="disabled"||this._useLocalAccessPoint)throw new P(v.INVALID_OPERATION,"You have already set the proxy")}if(Nc(t))return this._turnServer={servers:t,mode:"original-manual"},void _.info("[".concat(this._clientId,"] Set original turnserver ").concat(e?"by initialize call":""," success: ").concat(t.map(i=>i.urls).join(","),"."));t.forEach(i=>lI(i)),this._turnServer={servers:t,mode:"manual"},_.info("[".concat(this._clientId,"] Set turnserver ").concat(e?"by initialize call":""," success."))}setLicense(t){if(this.connectionState!=="DISCONNECTED")throw new P(v.INVALID_OPERATION,"you should set license before join channel");if(Me(t,"license",32,32),!/^[A-Za-z\d]+$/.test(t))throw new P(v.INVALID_PARAMS,"license should only contains characters from A-Z a-z 0-9");this._license=t,_.info("[".concat(this._clientId,"] set license success"),t)}startProxyServer(t){if(this.connectionState!=="DISCONNECTED")throw new P(v.INVALID_OPERATION,"Start proxy server before join channel");if(this._proxyServer||this._turnServer.mode==="manual"||this._useLocalAccessPoint)throw new P(v.INVALID_OPERATION,"You have already set the proxy");const e=[3,4,5];let i;switch(t===void 0&&(t=3),t){case 1:case 2:throw new P(v.NOT_SUPPORTED,"proxy mode 1/2 has been deprecated and not supported.");case 3:i="proxy3";break;case 4:i="proxy4";break;case 5:i="proxy5";break;default:throw new P(v.INVALID_PARAMS,"proxy server mode must be ".concat(e.join("|")))}this._cloudProxyServerMode=i,this.store.cloudProxyServerMode=i,_.info("[".concat(this._clientId,"] set cloud proxy server mode to"),this._cloudProxyServerMode)}stopProxyServer(){if(this.connectionState!=="DISCONNECTED")throw new P(v.INVALID_OPERATION,"Stop proxy server after leave channel");Z.setProxyServer(),_.setProxyServer(),this._cloudProxyServerMode="disabled",this.store.cloudProxyServerMode="disabled",_.info("[".concat(this._clientId,"] set cloud proxy server mode to"),this._cloudProxyServerMode),this._proxyServer=void 0,this._turnServer={mode:"auto",servers:[]}}setLocalAccessPointsV2(t){if(!t.accessPoints)throw new P(v.INVALID_PARAMS,"accessPoints is required.");Br(t.accessPoints.serverList,"accessPoints.serverList"),Me(t.accessPoints.domain,"accessPoints.domain");const e=(h,p)=>{xt(h,p,0,65535,!0)};let i=443;if(t.accessPoints.port&&(e(t.accessPoints.port,"accessPoints.port"),i=t.accessPoints.port),this._proxyServer||this._cloudProxyServerMode!=="disabled")throw new P(v.INVALID_OPERATION,"set local access point failed, You have already set the cloud proxy");y("CLOSE_AFB_FOR_LOCAL_AP")&&(kt("JOIN_WITH_FALLBACK_SIGNAL_PROXY",!1),kt("JOIN_WITH_FALLBACK_MEDIA_PROXY",!1));const n=/^((\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.){3}(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/,r=t.accessPoints.domain,o=t.accessPoints.serverList.map(h=>n.test(h)?"".concat(h.replace(/\./g,"-"),".").concat(r):h),s=o.map(h=>"".concat(h,":").concat(i));this._useLocalAccessPoint=!0,this._setLocalAPVersion=2,kt("WEBCS_DOMAIN",s),kt("WEBCS_DOMAIN_BACKUP_LIST",s),kt("GATEWAY_DOMAINS",[r]),t.report&&t.report.hostname&&Array.isArray(t.report.hostname)&&t.report.hostname.length?(Br(t.report.hostname,"report.hostname"),kt("EVENT_REPORT_DOMAIN",t.report.hostname[0]),kt("EVENT_REPORT_BACKUP_DOMAIN",t.report.hostname[1]||t.report.hostname[0])):(kt("EVENT_REPORT_DOMAIN",o[0]),kt("EVENT_REPORT_BACKUP_DOMAIN",o[1]||o[0]));let a=6443;t.report&&t.report.port&&(e(t.report.port,"report.port"),a=t.report.port),kt("STATS_COLLECTOR_PORT",a),t.report?kt("ENABLE_EVENT_REPORT",!0):kt("ENABLE_EVENT_REPORT",!1);let c="";t.log&&t.log.hostname&&Array.isArray(t.log.hostname)&&t.log.hostname.length?(Br(t.log.hostname,"log.hostname"),c=t.log.hostname[0]):c=o[0];let d=6444;t.log&&t.log.port&&(e(t.log.port,"log.port"),d=t.log.port),kt("LOG_UPLOAD_SERVER","".concat(c,":").concat(d));let l=[];t.cds&&t.cds.hostname&&Array.isArray(t.cds.hostname)&&t.cds.hostname.length?(Br(t.cds.hostname,"cds.hostname"),l=t.cds.hostname):l=o;let u=443;t.cds&&t.cds.port&&(e(t.cds.port,"cds.port"),u=t.cds.port),kt("CDS_AP",l.map(h=>"".concat(h,":").concat(u))),t.cds?kt("ENABLE_CONFIG_DISTRIBUTE",!0):kt("ENABLE_CONFIG_DISTRIBUTE",!1),_.info("set local access point v2 success")}setLocalAccessPoints(t,e){if(Br(t,"serverList"),Me(e,"domain"),this._proxyServer||this._cloudProxyServerMode!=="disabled")throw new P(v.INVALID_OPERATION,"set local access point failed, You have already set the cloud proxy");const i=/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/;t=t.map(n=>i.test(n)?"".concat(n.replace(/\./g,"-"),".").concat(e):n),this._useLocalAccessPoint=!0,this._setLocalAPVersion=1,kt("WEBCS_DOMAIN",t),kt("WEBCS_DOMAIN_BACKUP_LIST",t),kt("GATEWAY_DOMAINS",[e]),kt("EVENT_REPORT_DOMAIN",t[0]),kt("EVENT_REPORT_BACKUP_DOMAIN",t[1]||t[0]),kt("LOG_UPLOAD_SERVER","".concat(t[0],":6444")),_.info("[".concat(this._clientId,"] set local access point success"))}setRemoteDefaultVideoStreamType(t){return C(this,null,function*(){if(Ae(t,"streamType",[0,1,4,5,6,7,8,9]),this._remoteDefaultVideoStreamType=t,this._joinInfo)try{yield this._gateway.setDefaultRemoteVideoStreamType(t),this._joinInfo.defaultVideoStream=this._remoteDefaultVideoStreamType}catch(e){throw _.error("[".concat(this._clientId,"] set default remote video stream type error"),e.toString()),e}else _.debug("[".concat(this._clientId,"] haven't joined yet, cache remoteDefaultVideoStreamType ").concat(t))})}setRemoteVideoStreamType(t,e){return C(this,null,function*(){Ae(e,"streamType",[0,1,4,5,6,7,8,9]);try{yield this._gateway.setRemoteVideoStreamType(t,e),setTimeout(()=>{const i=this._users.find(n=>n.uid===t);i&&i.videoTrack&&i.videoTrack.updateMediaStreamTrackResolution()},2e3)}catch(i){throw _.error("[".concat(this._clientId,"] set remote video stream type error"),i.toString()),i}_.info("[".concat(this._clientId,"] set remote ").concat(t," video stream type to ").concat(e)),this._remoteStreamTypeCacheMap.set(t,e)})}setStreamFallbackOption(t,e){return C(this,null,function*(){Ae(e,"fallbackType",[0,1,2,3,4,5,6,7,8]);try{yield this._gateway.setStreamFallbackOption(t,e)}catch(i){throw _.error("[".concat(this._clientId,"] set stream fallback option"),i.toString()),i}_.info("[".concat(this._clientId,"] set remote ").concat(t," stream fallback type to ").concat(e)),this._streamFallbackTypeCacheMap.set(t,e)})}setEncryptionConfig(t,e,i,n){(function(o){Ae(o,"encryptionMode",["aes-128-xts","aes-256-xts","aes-128-ecb","sm4-128-ecb","aes-128-gcm","aes-256-gcm","aes-128-gcm2","aes-256-gcm2","none"])})(t),Me(e,"secret");const r=["aes-128-gcm2","aes-256-gcm2"];if(G(r).call(r,t)){if(!i||!(i instanceof Uint8Array&&i.length===32))throw new P(v.INVALID_PARAMS,"salt must be an Uint8Array and exactly equal to 32 bytes")}else if(i)throw new P(v.INVALID_PARAMS,"current encrypt mode does not need salt");if(n){if(Fr(n,"encryptDataStream"),!G(r).call(r,t))throw new P(v.INVALID_PARAMS,"current encrypt mode does not support data stream");this._encryptDataStream=!0}new RegExp(`^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*,.<>?/:;'"|{}\\[\\]])(?=.{8,})`).test(e)||_.warning(`The secret is not strong: + The secret must contain at least 1 lowercase alphabetical character, + The secret must contain at least 1 uppercase alphabetical character, + The secret must contain at least 1 numeric character, + The secret must contain at least one special character, + The secret must be eight characters or longer. + `),this._encryptionMode=t,this._encryptionSecret=e,i&&(this._encryptionSalt=Eo(i))}renewToken(t){return C(this,null,function*(){if(Me(t,"token",1,2047),!this._key||!this._joinInfo)throw new P(v.INVALID_OPERATION,"renewToken should not be called before user join");const e=this._key;this._key=t,this._joinInfo&&(this._joinInfo.token=t);const i=yield this._renewTokenMutex.lock();try{if(y("USE_NEW_TOKEN")){_.debug("[".concat(this._clientId,"] start renew token with ticket from unilbs"));const n=yield IW(this._joinInfo,this._axiosCancelSource.token,this._config.httpRetryConfig||ge);_.debug("[".concat(this._clientId,"] get ticket from unilbs success")),yield this._gateway.renewToken({token:t,ticket:n})}else _.debug("[".concat(this._clientId,"] start renew token without ticket")),yield this._gateway.renewToken({token:t});_.debug("[".concat(this._clientId,"] renewToken success"))}catch(n){throw this._key=e,this._joinInfo.token=e,_.error("[".concat(this._clientId,"] renewToken failed"),n.toString()),n}finally{i()}})}enableAudioVolumeIndicator(){this._audioVolumeIndicationInterval?_.warning("you have already enabled audio volume indicator!"):this._audioVolumeIndicationInterval=window.setInterval(()=>{const t=this._p2pChannel.getAudioLevels();this.safeEmit(_t.VOLUME_INDICATOR,t)},y("AUDIO_VOLUME_INDICATION_INTERVAL")||2e3)}getRTCStats(){const t=this._statsCollector.getRTCStats(),e=this._gateway.getInChannelInfo();return t.Duration=Math.round(e.duration/1e3),t}startLiveStreaming(t,e){return C(this,null,function*(){if(!e){if(this.codec!=="h264")throw new P(v.LIVE_STREAMING_INVALID_RAW_STREAM,"raw streaming is only support h264");if(!this._p2pChannel.hasLocalMedia())throw new P(v.LIVE_STREAMING_INVALID_RAW_STREAM,"can not find stream to raw streaming")}if(this._liveRawStreamingClient&&this._liveRawStreamingClient.hasUrl(t)||this._liveTranscodeStreamingClient&&this._liveTranscodeStreamingClient.hasUrl(t))throw new P(v.LIVE_STREAMING_TASK_CONFLICT);const i=e?Gr.TRANSCODE:Gr.RAW;return this._createLiveStreamingClient(i).startLiveStreamingTask(t,i)})}setLiveTranscoding(t){return this._createLiveStreamingClient(Gr.TRANSCODE).setTranscodingConfig(t)}stopLiveStreaming(t){return C(this,null,function*(){const e=[this._liveRawStreamingClient,this._liveTranscodeStreamingClient].filter(i=>i&&i.hasUrl(t));if(!e.length)throw new P(v.INVALID_PARAMS,"can not find live streaming url to stop");yield K.all(e.map(i=>i&&i.stopLiveStreamingTask(t)))})}startChannelMediaRelay(t){return C(this,null,function*(){zw(t),yield this._createChannelMediaRelayClient().startChannelMediaRelay(t)})}updateChannelMediaRelay(t){return C(this,null,function*(){zw(t),yield this._createChannelMediaRelayClient().updateChannelMediaRelay(t)})}stopChannelMediaRelay(){return C(this,null,function*(){yield this._createChannelMediaRelayClient().stopChannelMediaRelay(),this._statsCollector.onStatsChanged&&(this._statsCollector.onStatsChanged=void 0)})}sendAudioMetadata(t){this._p2pChannel instanceof Zc&&this._p2pChannel.addAudioMetadata(t)}sendStreamMessage(e){return C(this,arguments,function*(t){var i;let n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];if(!this._joinInfo)throw new P(v.INVALID_OPERATION,"can not send data stream, not joined");if((typeof t=="string"||t instanceof Uint8Array)&&(t={payload:t}),typeof t.payload=="string"){const o=new TextEncoder;t.payload=o.encode(t.payload)}let r=!1;if(this._encryptDataStream&&this._encryptDataStreamIv&&this._encryptDataStreamKey&&window.crypto.subtle&&G(i=["aes-128-gcm2","aes-256-gcm2"]).call(i,this._encryptionMode)&&(r=!0,t.payload=yield function(o,s,a){return C(this,null,function*(){var c;const d=Tn(c=Array.from(a)).call(c,(f,T)=>f+T,0),l={serverTs:0,seq:YG++,length:a.length,checkSum:d},u=new Uint8Array(gI(d,2)),h=new ArrayBuffer(ca),p=new DataView(h);p.setUint32(0,l.serverTs),p.setUint16(4,l.seq),p.setUint16(6,l.length),p.setUint16(8,l.checkSum);const g=16-a.length%16;a=pI(a,new Uint8Array(g));const m=yield window.crypto.subtle.encrypt({name:"AES-GCM",iv:o,tagLength:DI,additionalData:u},s,a);return pI(new Uint8Array(h),new Uint8Array(m))})}(this._encryptDataStreamIv,this._encryptDataStreamKey,t.payload)),new Blob([t.payload]).size>1024)throw new P(v.INVALID_PARAMS,r?"encrypted stream message out of range.":"stream message out of range.");return this._gateway.signal.request(nt.DATA_STREAM,{payload:Eo(t.payload),syncWithAudio:t.syncWithAudio,sendTs:Date.now()-kW},!n)})}sendMetadata(t){if(!this._joinInfo)throw new P(v.INVALID_OPERATION,"can not send metadata, not joined");if(new Blob([t]).size>1024)throw new P(v.METADATA_OUT_OF_RANGE);return this._gateway.signal.request(nt.SEND_METADATA,{session_id:this._joinInfo.sid,metadata:Eo(t)})}sendCustomReportMessage(t){return C(this,null,function*(){if(Array.isArray(t)||(t=[t]),t.forEach(e3),!this._joinInfo)throw new P(v.INVALID_OPERATION,"can not send custom report, not joined");yield Z.sendCustomReportMessage(this._joinInfo.sid,t)})}getLocalAudioStats(){return this._statsCollector.getLocalAudioTrackStats()}getRemoteAudioStats(){return this._statsCollector.getRemoteAudioTrackStats()}getLocalVideoStats(){return this._statsCollector.getLocalVideoTrackStats()}getRemoteVideoStats(){return this._statsCollector.getRemoteVideoTrackStats()}getRemoteNetworkQuality(){return this._statsCollector.getRemoteNetworkQualityStats()}pickSVCLayer(t,e){return C(this,null,function*(){Ae(e.spatialLayer,"spatialLayer",[0,1,2,3]),Ae(e.temporalLayer,"temporalLayer",[0,1,2,3]);try{yield this._gateway.pickSVCLayer(t,e)}catch(i){throw _.error("[".concat(this._clientId,"] pick SVC layer failed"),i.toString()),i}})}setRTMConfig(t){return C(this,null,function*(){const{apRTM:e=!1,rtmFlag:i}=t;if(Fr(e,"apRTM"),xt(i,"rtmFlag",0),this._rtmConfig.apRTM=e,this._rtmConfig.rtmFlag=i,_.debug("[".concat(this._clientId,"] setRTMconfig ").concat(JSON.stringify(t)," in ").concat(this.connectionState," state")),(this.connectionState==="CONNECTED"||this.connectionState==="RECONNECTING")&&this._joinInfo)return this._joinInfo.apRTM=e,this._joinInfo.rtmFlag=i,this._gateway.setRTM2Flag(i)})}_reset(){if(_.debug("[".concat(this._clientId,"] reset client")),function(t){const e=Ra.indexOf(t);e!==-1&&Ra.splice(e,1)}(this._clientId),this.store.hasStartJoinChannel=!1,this.store.isABTestSuccess=!1,this._axiosCancelSource.cancel(),this._axiosCancelSource=Ti.CancelToken.source(),this._streamFallbackTypeCacheMap=new Map,this._remoteStreamTypeCacheMap=new Map,this._configDistribute.stopGetConfigDistribute(),this._joinInfo&&R0(this._joinInfo),this._joinInfo=void 0,this._proxyServer=void 0,this._defaultStreamFallbackType=void 0,this._sessionId&&Z.removeSid(this._sessionId),this._sessionId=null,this.store.sessionId=null,this._statsCollector.reset(),this._key=void 0,this._appId=void 0,this._uid=void 0,this.store.uid=void 0,this._channelName=void 0,this._encryptionMode="none",this._encryptionSecret=null,this._encryptionSalt=null,this._encryptDataStreamKey=null,this._encryptDataStreamIv=null,this._pendingPublishedUsers=[],this._users.forEach(t=>{t._audioTrack&&t._audioTrack._destroy(),t._videoTrack&&t._videoTrack._destroy(),t._dataChannels&&(t._dataChannels.forEach(e=>e._close()),t._dataChannels.length=0)}),this._users=[],this._audioVolumeIndicationInterval&&(window.clearInterval(this._audioVolumeIndicationInterval),this._audioVolumeIndicationInterval=void 0),this._cloudProxyServerMode==="fallback"&&(this._cloudProxyServerMode="disabled",this.store.cloudProxyServerMode="disabled"),this._p2pChannel.reset(),this._publishMutex=new qe("client-publish",this._clientId),this._subscribeMutex=new qe("client-subscribe",this._clientId),this._networkQualityInterval&&(window.clearInterval(this._networkQualityInterval),this._networkQualityInterval=void 0),this._liveRawStreamingClient&&(this._liveRawStreamingClient.terminate(),this._liveRawStreamingClient.removeAllListeners(),this._liveRawStreamingClient=void 0),this._liveTranscodeStreamingClient&&(this._liveTranscodeStreamingClient.terminate(),this._liveTranscodeStreamingClient.removeAllListeners(),this._liveTranscodeStreamingClient=void 0),this._channelMediaRelayClient&&(this._channelMediaRelayClient.dispose(),this._channelMediaRelayClient=void 0),this._inspect)try{this._inspect.close(),this._inspect=void 0}catch(t){}if(this._moderation)try{this.setImageModeration(!1)}catch(t){}}_startSession(t,e){var i;const n=t||Zo();t?_.debug("[".concat(this._clientId,"] new Session ").concat(n)):_.debug("[".concat(this._clientId,"] renewSession ").concat(this._sessionId," => ").concat(n));const r=t?"":this._sessionId||"";this._sessionId=n,this.store.sessionId=n,Z.addSid(n);const o={lts:new Date().getTime(),mode:this.mode,buildFormat:1,stringUid:(e==null?void 0:e.stringUid)||((i=this._joinInfo)===null||i===void 0?void 0:i.stringUid),channelProfile:this.mode==="live"?1:0,channelMode:0,isABTestSuccess:Number(this._configDistribute.isSuccess),lsid:r,clientRole:this.role==="audience"?2:1};Z.sessionInit(this._sessionId,xn({cname:e.channel,appid:e.appId},o)),this._joinInfo&&(this._joinInfo.sid=n),this._gateway.joinInfo&&(this._gateway.joinInfo.sid=n)}_publishHighStream(t){return C(this,null,function*(){if(!this._joinInfo||this._uid===void 0)throw new P(v.INVALID_OPERATION,"Can't publish stream, haven't joined yet!");if(this.connectionState!=="CONNECTED"&&this.connectionState!=="RECONNECTING")throw new P(v.INVALID_OPERATION,"can not publish stream in ".concat(this.connectionState," state"));if(this._turnServer.mode==="auto"&&y("FORCE_TURN")&&!y("TURN_ENABLE_TCP")&&!y("TURN_ENABLE_UDP"))throw new P(v.UNEXPECTED_ERROR,"force TURN With No TURN Configuration");_.debug("[".concat(this._clientId,"] publish high stream"));try{const i=yield this._p2pChannel.publish(t,this._isDualStreamEnabled,this._lowStreamParameter);if(this.store.useP2P){const n=(yield i.next()).value;if(n){try{yield this._gateway.sendExtensionMessage(he.PUBLISH,n,!0)}catch(r){throw i.throw(r),r}yield i.next()}this._p2pChannel.reportPublishEvent(!0,null)}else{const n=(yield i.next()).value;if(n){var e;let r;try{r=yield this._gateway.publish(this._uid,n,!0)}catch(o){if(o.code!==v.DISCONNECT_P2P)throw i.throw(o),o}yield i.next(((e=r)===null||e===void 0?void 0:e.ortc)||[])}this._p2pChannel.reportPublishEvent(!0,null);for(const r of t)r instanceof Yt&&r._encoderConfig&&this._gateway.setVideoProfile(r._encoderConfig).catch(o=>{_.debug("[".concat(this._clientId,"] stop setVideoProfile, because websocket is closed"))}),!r.muted&&r.enabled||(yield this._p2pChannel.muteLocalTrack(r))}}catch(i){if(this._p2pChannel.reportPublishEvent(!1,i==null?void 0:i.code,t),(i==null?void 0:i.code)===v.WS_ABORT)return;throw i}})}_publishLowStream(){return C(this,null,function*(){if(!this._joinInfo||this._uid===void 0)throw new P(v.INVALID_OPERATION,"Can't publish stream, haven't joined yet!");if(this.connectionState!=="CONNECTED"&&this.connectionState!=="RECONNECTING")throw new P(v.INVALID_OPERATION,"can not publish stream in ".concat(this.connectionState," state"));_.debug("[".concat(this._clientId,"] publish low stream"));const t=this._configDistribute.getLowStreamConfigDistribute();t&&t.bitrate&&(this._lowStreamParameter||(this._lowStreamParameter={width:160,height:120,framerate:15,bitrate:50}),this._lowStreamParameter&&this._lowStreamParameter.bitrate&&t.bitrate{if(!this._joinInfo||!this._appId)return new P(v.INVALID_OPERATION,"can not create live streaming client, please join channel first").throw();const i=(n={joinInfo:this._joinInfo,appId:this._appId,websocketRetryConfig:this._config.websocketRetryConfig,httpRetryConfig:this._config.httpRetryConfig},Kr("LiveStreaming").create(n));var n;return i.onLiveStreamError=(r,o)=>{Z.reportApiInvoke(this._sessionId,{name:_e.ON_LIVE_STREAM_ERROR,options:[r,o],tag:oe.TRACER}).onSuccess(),this.safeEmit(_t.LIVE_STREAMING_ERROR,r,o)},i.onLiveStreamWarning=(r,o)=>{Z.reportApiInvoke(this._sessionId,{name:_e.ON_LIVE_STREAM_WARNING,options:[r,o],tag:oe.TRACER}).onSuccess(),this.safeEmit(_t.LIVE_STREAMING_WARNING,r,o)},i.on(Am.REQUEST_WORKER_MANAGER_LIST,(r,o,s)=>{if(!this._joinInfo)return s(new P(v.INVALID_OPERATION,"can not find join info to get worker manager"));(function(a,c,d,l){return C(this,null,function*(){const u=y("UAP_AP").slice(0,y("AJAX_REQUEST_CONCURRENT")).map(h=>c.proxyServer?"https://".concat(c.proxyServer,"/ap/?url=").concat(h+"/api/v1?action=uap"):"https://".concat(h,"/api/v1?action=uap"));return yield SW(u,a,c,d,l)})})(r,this._joinInfo,this._axiosCancelSource.token,ge).then(o).catch(s)}),i};return t===Gr.RAW?(this._liveRawStreamingClient=this._liveRawStreamingClient||e(),this._liveRawStreamingClient):(this._liveTranscodeStreamingClient=this._liveTranscodeStreamingClient||e(),this._liveTranscodeStreamingClient)}_createChannelMediaRelayClient(){if(!this._joinInfo)return new P(v.INVALID_OPERATION,"can not create channel media relay client, please join channel first").throw();if(!this._channelMediaRelayClient){const{sendResolutionWidth:e,sendResolutionHeight:i}=this.getLocalVideoStats(),n=(t={joinInfo:this._joinInfo,clientId:this._clientId,websocketRetryConfig:this._config.websocketRetryConfig,httpRetryConfig:this._config.httpRetryConfig,resolution:{width:e,height:i}},Kr("ChannelMediaRelay").create(t));n.on("state",r=>{r===Di.RELAY_STATE_FAILURE&&n&&n.dispose(),this.safeEmit(_t.CHANNEL_MEDIA_RELAY_STATE,r)}),n.on("event",r=>{this.safeEmit(_t.CHANNEL_MEDIA_RELAY_EVENT,r)}),this._channelMediaRelayClient=n,this._statsCollector.onStatsChanged=(r,o)=>{var s;r==="resolution"&&((s=this._channelMediaRelayClient)===null||s===void 0||s.setVideoProfile(o))}}var t;return this._channelMediaRelayClient}_handleUpdateDataChannel(t,e){const{added:i,deleted:n}=t,r=[];if(e){const o=[];this._users.forEach(s=>{s._dataChannels.forEach(a=>{i.every(c=>c.uid!==s._uintid||c.stream_id!==a.id)&&o.push({uid:s._uintid,stream_id:a.id,ordered:a.ordered,max_retrans_times:a.maxRetransmits,metadata:a.metadata})})}),o.length>0&&this._handleUpdateDataChannel({added:[],deleted:o})}Array.isArray(i)&&i.length>0&&i.forEach(o=>{const{uid:s,stream_id:a,ordered:c,max_retrans_times:d,metadata:l}=o,u=this._users.find(h=>h._uintid===s);if(!u)return void _.error("[".concat(this._clientId,"] can not find target user!(on_add_data_channel)"));if(_.debug("[".concat(this._clientId,"] data_channel added with uid ").concat(s)),G(r).call(r,u)||r.push(u),u._uintid||(u._uintid=s),u._dataChannels.findIndex(h=>h.id===o.stream_id)===-1){const h={id:a,ordered:!!c,maxRetransmits:d,metadata:l},p=function(g){return Dw(g,!0)}(h);u._dataChannels.push(p),_.info("[".concat(this._clientId,"] remote user ").concat(u.uid," published datachannel")),e||this.safeEmit(_t.USER_PUBLISHED,u,"datachannel",h)}this._p2pChannel.hasPendingRemoteDataChannel(u,o.stream_id)&&(_.debug("[".concat(this._clientId,"] resubscribe datachannel for user ").concat(u.uid," after reconnect.")),this._subscribeDataChannel(u,o.stream_id).catch(h=>{_.error("[".concat(this._clientId,"] resubscribe datachannel error"),h.toString())}))}),e&&(this.safeEmit(_t.PUBLISHED_USER_LIST,this._pendingPublishedUsers),this._pendingPublishedUsers=[]),Array.isArray(n)&&n.length>0&&n.forEach(o=>{const{uid:s,stream_id:a}=o,c=this._users.find(l=>l._uintid===s);if(!c)return void _.error("[".concat(this._clientId,"] can not find target user!(on_delete_data_channel)"));const d=c._dataChannels.find(l=>l.id===o.stream_id);d&&(_.debug("[".concat(this._clientId,"] data_stream delete with uid ").concat(s)),this._p2pChannel.unsubscribeDataChannel(c,[d]).then(l=>{if(c._dataChannels=c._dataChannels.filter(u=>u!==d),l)return this._gateway.unsubscribeDataChannel(l,c.uid)}),_.info("[".concat(this._clientId,"] remote user ").concat(s," unpublished datachannel ,id:").concat(d.id)),this.safeEmit(_t.USER_UNPUBLISHED,c,"datachannel",d._config))})}_handleRemoveDataChannels(t){const e=this._users.find(i=>i.uid===t.uid);if(e){if(e._dataChannels!==void 0&&e._dataChannels.length>0){_.debug("[".concat(this._clientId,"] datachannel removed with uid ").concat(t.uid));const i=()=>{_.info("[".concat(this._clientId,"] remote user ").concat(e.uid," unpublished datachannel")),e._dataChannels.forEach(n=>{this.safeEmit(_t.USER_UNPUBLISHED,e,"datachannel",n._config)})};this._p2pChannel.unsubscribeDataChannel(e,e._dataChannels).then(n=>{if(n)return this._gateway.unsubscribeDataChannel(n,e.uid)}),i()}}else _.warning("[".concat(this._clientId,"] can not find target user!(on_remove_datachannel)"))}_handleGatewayEvents(){this._gateway.on(De.UPDATE_GATEWAY_CONFIG,()=>{(function(){let t;try{t=window.localStorage.getItem("websdk_ng_global_parameter")}catch(e){return void _.error("Error loading sdk config",e.message)}if(t)try{const e=JSON.parse(window.atob(t)),i=Date.now();Object.keys(e).forEach(n=>{const{value:r,type:o,expires:s}=e[n];s&&s<=i||o||Sm()||!Object.prototype.hasOwnProperty.call(_u,n)||(Qn[n]=r,Xt[n]=r,_.debug("Update gateway parameters from config distribute",n,r))})}catch(e){_.error("Error update config from local cache",e.message)}})()}),this._gateway.on(De.DISCONNECT_P2P,()=>C(this,null,function*(){yield this._p2pChannel.disconnectForReconnect()})),this._gateway.on(De.CONNECTION_STATE_CHANGE,(t,e,i)=>{var n;if(i===bt.FALLBACK)return;const r=()=>{this.safeEmit(_t.CONNECTION_STATE_CHANGE,t,e,i)};if(Z.reportApiInvoke(this._sessionId||((n=this._gateway.joinInfo)===null||n===void 0?void 0:n.sid)||null,{name:_e.CONNECTION_STATE_CHANGE,options:[t,e,i],tag:oe.TRACER}).onSuccess(JSON.stringify({cur:t,prev:e,reason:i})),_.info("[".concat(this._clientId,"] signal connection state change: ").concat(e," -> ").concat(t)),t==="DISCONNECTED")return this._reset(),void r();if(t==="RECONNECTING")this._users.forEach(s=>{s._trust_in_room_=!1,s._trust_audio_enabled_state_=!1,s._trust_video_enabled_state_=!1,s._trust_audio_mute_state_=!1,s._trust_video_mute_state_=!1,s._trust_audio_stream_added_state_=!1,s._trust_video_stream_added_state_=!1,s._is_pre_created||(s._audio_pre_subscribed||(s._audioSSRC=void 0,s._audioOrtc=void 0),s._video_pre_subscribed||(s._videoSSRC=void 0,s._videoOrtc=void 0,s._rtxSsrcId=void 0),s._cname=void 0)}),this._userOfflineTimeout&&window.clearTimeout(this._userOfflineTimeout),this._streamRemovedTimeout&&window.clearTimeout(this._streamRemovedTimeout),this._userOfflineTimeout=void 0,this._streamRemovedTimeout=void 0;else if(t==="CONNECTED"){var o;this._streamFallbackTypeCacheMap.forEach((s,a)=>{this._gateway.setStreamFallbackOption(a,s).catch(c=>{_.warning("[".concat(this._clientId,"] auto set stream fallback option failed"),c)})}),this._remoteStreamTypeCacheMap.forEach((s,a)=>{this._gateway.setRemoteVideoStreamType(a,s).catch(c=>{_.warning("[".concat(this._clientId,"] auto set remote stream type failed"),c)})}),this._remoteDefaultVideoStreamType!==void 0&&((o=this._joinInfo)===null||o===void 0?void 0:o.defaultVideoStream)===void 0&&this.setRemoteDefaultVideoStreamType(this._remoteDefaultVideoStreamType).then(()=>{_.debug("[".concat(this._clientId,"] setRemoteDefaultVideoStreamType after gateway connected"))}).catch(s=>{_.error("[".concat(this._clientId,"] setRemoteDefaultVideoStreamType after gateway failed, ").concat(s))}),this.store.useP2P||(this._p2pChannel.republish(),this._userOfflineTimeout=window.setTimeout(()=>{this.connectionState==="CONNECTED"&&(this._userOfflineTimeout=void 0,this._users.filter(s=>!s._trust_in_room_).forEach(s=>{_.debug("[".concat(this._clientId,"] user offline timeout, emit user offline ").concat(s.uid)),this._handleUserOffline({uid:s.uid})}))},3e3),this._streamRemovedTimeout=window.setTimeout(()=>{this.connectionState==="CONNECTED"&&(this._streamRemovedTimeout=void 0,this._users.forEach(s=>{s._trust_audio_mute_state_||(_.debug("[".concat(this._clientId,"] auto dispatch audio unmute event ").concat(s.uid)),this._handleMuteStream(s.uid,q.AUDIO,!1)),s._trust_video_mute_state_||(_.debug("[".concat(this._clientId,"] auto dispatch video unmute event ").concat(s.uid)),this._handleMuteStream(s.uid,q.VIDEO,!1)),s._trust_audio_enabled_state_||(_.debug("[".concat(this._clientId,"] auto dispatch enable local audio ").concat(s.uid)),this._handleSetStreamLocalEnable("audio",s.uid,!0)),s._trust_video_enabled_state_||(_.debug("[".concat(this._clientId,"] auto dispatch enable local video ").concat(s.uid)),this._handleSetStreamLocalEnable("video",s.uid,!0)),s._trust_video_stream_added_state_||(_.debug("[".concat(this._clientId,"] auto dispatch reset video stream added ").concat(s.uid)),this._handleResetAddStream(s,"video")),s._trust_audio_stream_added_state_||(_.debug("[".concat(this._clientId,"] auto dispatch reset audio stream added ").concat(s.uid)),this._handleResetAddStream(s,"audio")),s._video_added_||s._audio_added_||(_.debug("[".concat(this._clientId,"] auto dispatch stream remove ").concat(s.uid)),this._handleRemoveStream({uid:s.uid,uint_id:s._uintid}))}))},1e3))}r()}),this._gateway.on(De.REQUEST_NEW_GATEWAY_LIST,(t,e)=>C(this,null,function*(){if(!this._joinInfo)return e(new P(v.UNEXPECTED_ERROR,"can not recover, no join info"));try{let i;const n=yield S0(xn(xn({},this._joinInfo),{},{uid:this._joinInfo.uid,stringUid:void 0}));n?(i=n.ap,v0(n),this._joinInfo.preload=!0):(i=yield Wm(this._joinInfo,this._axiosCancelSource.token,this._config.httpRetryConfig||ge,this.store),this._joinInfo.preload=!1),this._joinInfo&&(this._joinInfo.apResponse=i.gatewayInfo.res,this._joinInfo.gatewayAddrs=i.gatewayInfo.gatewayAddrs,this._joinInfo.uni_lbs_ip=i.gatewayInfo.uni_lbs_ip);const r=[];i.gatewayInfo.gatewayAddrs.forEach(o=>{let{address:s}=o;const[a,c]=s.split(":");this._joinInfo&&this._joinInfo.proxyServer?r.push({proxy:this._joinInfo.proxyServer,host:a,port:c}):r.push({host:a,port:c})}),t(r)}catch(i){e(i)}})),this._gateway.on(De.NETWORK_QUALITY,t=>{this._networkQualitySensitivity==="normal"&&this.safeEmit(_t.NETWORK_QUALITY,t)}),this._gateway.on(De.STREAM_TYPE_CHANGE,(t,e)=>{this.safeEmit(_t.STREAM_TYPE_CHANGED,t,e),Z.reportApiInvoke(this._sessionId,{name:_e.STREAM_TYPE_CHANGE,options:[t,e],tag:oe.TRACER}).onSuccess(JSON.stringify({uid:t,streamType:e}))}),this._gateway.on(De.IS_P2P_DISCONNECTED,t=>{this._p2pChannel.isP2PDisconnected()?t(!0):this._p2pChannel.hasLocalMedia()||this._p2pChannel.hasRemoteMedia()?t(!1):t(!0)}),this._gateway.on(De.REQUEST_P2P_CONNECTION_PARAMS,(t,e,i)=>C(this,null,function*(){try{let n=yield this._p2pChannel.getEstablishParams();y("ENABLE_PREALLOC_PC")&&n||(n=yield this._p2pChannel.startP2PConnection(t)),e(n)}catch(n){i(n)}})),this._gateway.on(De.JOIN_RESPONSE,(t,e)=>{if(this.store.useP2P)return;let i;t.attributes?i=t.attributes.userAttributes.preSubSsrcs:_.debug("no attributes in joinResponse");const n=Sw(t.ortc,e,i);this._p2pChannel.connect(n)}),this._gateway.on(De.PRE_CONNECT_PC,t=>C(this,null,function*(){const{candidates:e,fingerprint:i}=t;if(this._joinInfo&&e.length>0&&!this._p2pChannel.isPlanB){var n;yield this._p2pChannel.startP2PConnection({turnServer:this._joinInfo.turnServer});const{cert:r,cid:o}=this._joinInfo.apResponse;yield this._p2pChannel.connect({iceParameters:{iceUfrag:"".concat(o,"_").concat(r),icePwd:"".concat(o,"_").concat(r)},dtlsParameters:{fingerprints:[{hashFunction:"sha-256",fingerprint:(n=y("FINGERPRINT"))!==null&&n!==void 0?n:i}]},candidates:e,rtpCapabilities:{send:{audioCodecs:[],videoCodecs:[],audioExtensions:[],videoExtensions:[]},recv:{audioCodecs:[],videoCodecs:[],audioExtensions:[],videoExtensions:[]}},setup:"active",cname:"o/i14u9pJrxRKAsu",preallocation:!0})}}))}_handleGatewaySignalEvents(){this._gateway.signal.on(mt.ON_USER_ONLINE,this._handleUserOnline),this._gateway.signal.on(mt.ON_USER_OFFLINE,this._handleUserOffline),this._gateway.signal.on(mt.ON_ADD_AUDIO_STREAM,t=>this._handleAddAudioOrVideoStream("audio",t.uid,t.ssrcId,t.cname,t.uint_id,t.ortc)),this._gateway.signal.on(mt.ON_ADD_VIDEO_STREAM,t=>this._handleAddAudioOrVideoStream("video",t.uid,t.ssrcId,t.cname,t.uint_id,t.ortc,t.rtxSsrcId)),this._gateway.signal.on(mt.ON_REMOTE_DATASTREAM_UPDATE,t=>{this._handleUpdateDataChannel(t)}),this._gateway.signal.on(mt.ON_REMOTE_FULL_DATASTREAM_INFO,t=>{this._handleUpdateDataChannel({added:t.datastreams||[],deleted:[]},!0)}),this._gateway.signal.on(mt.ON_REMOVE_STREAM,this._handleRemoveStream),this._gateway.signal.on(mt.ON_P2P_LOST,this._handleP2PLost),this._gateway.signal.on(mt.MUTE_AUDIO,t=>this._handleMuteStream(t.uid,q.AUDIO,!0)),this._gateway.signal.on(mt.UNMUTE_AUDIO,t=>this._handleMuteStream(t.uid,q.AUDIO,!1)),this._gateway.signal.on(mt.MUTE_VIDEO,t=>this._handleMuteStream(t.uid,q.VIDEO,!0)),this._gateway.signal.on(mt.UNMUTE_VIDEO,t=>this._handleMuteStream(t.uid,q.VIDEO,!1)),this._gateway.signal.on(mt.RECEIVE_METADATA,t=>{const e=Qo(t.metadata);this.safeEmit(_t.RECEIVE_METADATA,t.uid,e)}),this._gateway.signal.on(mt.ON_DATA_STREAM,t=>C(this,null,function*(){var e;if(!t)return;let i=Qo(t.payload);if(this._encryptDataStream&&this._encryptDataStreamIv&&this._encryptDataStreamKey&&window.crypto.subtle&&G(e=["aes-128-gcm2","aes-256-gcm2"]).call(e,this._encryptionMode)){if(t.payload.lengtha.uid===t.uid),s=r==null?void 0:r.audioRecv.find(a=>a.ssrc===(o==null?void 0:o._audioSSRC));n=s==null?void 0:s.jitterBufferMs}(n==null||Number.isNaN(n))&&(n=0),UW(xn(xn({},t),{},{payload:i}),n,{id:this._clientId,onStreamMessage:typeof this.onStreamMessage=="function"?this.onStreamMessage.bind(this):void 0,safeEmit:this.safeEmit.bind(this)})})),this._gateway.signal.on(mt.ON_CRYPT_ERROR,()=>{_o(()=>{_.warning("[".concat(this._clientId,"] on crypt error")),this.safeEmit(_t.CRYPT_ERROR)},this._sessionId)}),this._gateway.signal.on(mt.ON_TOKEN_PRIVILEGE_WILL_EXPIRE,this._handleTokenWillExpire),this._gateway.signal.on(mt.ON_TOKEN_PRIVILEGE_DID_EXPIRE,()=>{_.warning("[".concat(this._clientId,"] received message onTokenPrivilegeDidExpire, please get new token and join again")),this._gateway.leave(!0,bt.TOKEN_EXPIRE),this.safeEmit(_t.ON_TOKEN_PRIVILEGE_DID_EXPIRE),this._reset()}),this._gateway.signal.on(mt.ON_STREAM_FALLBACK_UPDATE,t=>{_.debug("[".concat(this._clientId,"] stream fallback peerId: ").concat(t.stream_id,", attr: ").concat(t.stream_type)),this.safeEmit(_t.STREAM_FALLBACK,t.stream_id,t.stream_type===1?"fallback":"recover")}),this._gateway.signal.on(mt.ON_PUBLISH_STREAM,t=>{this.uid===this._uid&&(this._p2pChannel.reportPublishEvent(!0,null,void 0,!1,JSON.stringify({proxy:t.proxy})),_.info("[".concat(this._clientId,"] on publish stream, ").concat(JSON.stringify(t))))}),this._gateway.signal.on(mt.ENABLE_LOCAL_VIDEO,t=>{this._handleSetStreamLocalEnable("video",t.uid,!0)}),this._gateway.signal.on(mt.DISABLE_LOCAL_VIDEO,t=>{this._handleSetStreamLocalEnable("video",t.uid,!1)}),this._gateway.signal.on(ot.REQUEST_TIMEOUT,(t,e)=>{if(this._joinInfo)switch(t){case nt.PUBLISH:{if(!e)return;const r=e.ortc;if(r){var i,n;const o=r.some(c=>{let{stream_type:d}=c;return d===Ot.Audio}),s=r.some(c=>{let{stream_type:d}=c;return d!==Ot.Audio}),a=r.some(c=>{let{stream_type:d}=c;return d===Ot.Screen||d===Ot.ScreenLow});e.state==="offer"&&Z.publish(this._joinInfo.sid,{eventElapse:Je.measureFromPublishStart(this.store.clientId,this.store.pubId),succ:!1,ec:v.TIMEOUT,audio:o,video:s,p2pid:e.p2p_id,publishRequestid:this.store.pubId,screenshare:a,audioName:o?(i=r.find(c=>{let{stream_type:d}=c;return d===Ot.Audio}))===null||i===void 0||(i=i.ssrcs[0])===null||i===void 0?void 0:i.ssrcId.toString():void 0,videoName:s?(n=r.find(c=>{let{stream_type:d}=c;return d!==Ot.Audio}))===null||n===void 0||(n=n.ssrcs[0])===null||n===void 0?void 0:n.ssrcId.toString():void 0})}break}case nt.SUBSCRIBE:e&&Z.subscribe(this._joinInfo.sid,{succ:!1,ec:v.TIMEOUT,audio:e.stream_type===q.AUDIO,video:e.stream_type===q.VIDEO,peerid:e.stream_id,subscribeRequestid:e.ssrcId,p2pid:this.store.p2pId,eventElapse:Je.measureFromSubscribeStart(this.store.clientId,e.ssrcId),preSsrc:this._p2pChannel.isPreSubScribe(e.ssrcId)})}}),this._gateway.signal.on(mt.ON_P2P_OK,t=>{this.uid,this._uid}),this._gateway.signal.on(mt.ON_PUBLISHED_USER_LIST,t=>{if(t==null||!t.users)return;y("BLOCK_LOCAL_CLIENT")&&(t.users=t.users.filter(n=>!ss(n.string_id||n.stream_id,this.channelName)));const e=[],i=[];for(const n of t.users){let r=this._users.find(l=>l._uintid===n.stream_id);r?r._trust_in_room_=!0:(r=new Co(n.string_id||n.stream_id,n.stream_id),this._users.push(r),this.getListeners(_t.PUBLISHED_USER_LIST).length===0&&(_.debug("[".concat(this._clientId,"] user online"),n.stream_id),this.safeEmit(_t.USER_JOINED,r)));const o=Ne.Audio&n.stream_type,s=(Ne.Video|Ne.LwoVideo)&n.stream_type,a=(65280&n.stream_type)!=0,c=o&&r.hasAudio,d=s&&r.hasVideo;s&&(r._trust_video_stream_added_state_=!0,r._video_added_=!0,r._videoSSRC=n.video_ssrc,r._rtxSsrcId=n.video_rtx),o&&(r._trust_audio_stream_added_state_=!0,r._audio_added_=!0,r._audioSSRC=n.audio_ssrc),o&&!c&&this.getListeners(_t.PUBLISHED_USER_LIST).length===0&&(_.info("[".concat(this._clientId,"] remote user ").concat(r.uid," published audio")),this.safeEmit(_t.USER_PUBLISHED,r,"audio")),s&&!d&&this.getListeners(_t.PUBLISHED_USER_LIST).length===0&&(_.info("[".concat(this._clientId,"] remote user ").concat(r.uid," published video")),this.safeEmit(_t.USER_PUBLISHED,r,"video")),(o&&!c||s&&!d||a)&&e.push(r),s&&this._p2pChannel.hasPendingRemoteMedia(r,"video")&&i.push({user:r,mediaType:"video"}),o&&this._p2pChannel.hasPendingRemoteMedia(r,"audio")&&i.push({user:r,mediaType:"audio"})}i.length>0&&(_.debug("[".concat(this._clientId,"] RE massSubscribe after reconnect ").concat(i.map(n=>"user: ".concat(n.user.uid,", mediaType: ").concat(n.mediaType)).join("; ")," ")),this.massSubscribe(i).catch(n=>{_.error("[".concat(this._clientId,"] mass resubscribe error"),n.toString())})),this.getListeners(_t.PUBLISHED_USER_LIST).length>0?y("ENABLE_DATASTREAM_2")?this._pendingPublishedUsers=e:(_.info("[".concat(this._clientId,"] client emit user-list event, users: ").concat(e.map(n=>n.uid).join(", "))),this.safeEmit(_t.PUBLISHED_USER_LIST,e)):_.info("[".concat(this._clientId,"] client not emit user-list event case there is no user-list listener, users: ").concat(e.map(n=>n.uid).join(", ")))}),this._gateway.signal.on(mt.ON_RTP_CAPABILITY_CHANGE,t=>{const{video_codec:e}=t;this._p2pChannel instanceof Zc&&this._p2pChannel.updateRemoteRTPCapabilities(e.map(i=>i.toLowerCase()).filter(i=>{var n;return G(n=Object.keys(Eu)).call(n,i)}))})}_handleP2PEvents(){this._gateway.signal.on(mt.ON_USER_OFFLINE,()=>{this._p2pChannel.disconnectForReconnect()}),this._gateway.signal.on(he.PUBLISH,(t,e,i)=>{const{uid:n}=t;t.forEach(r=>{const{kind:o,ssrcs:s,mid:a,isMuted:c}=r;this._handleP2PAddAudioOrVideoStream(o,n,s[0].ssrcId,a);const d=this._users.find(l=>l.uid===n);return d&&this.store.useP2P?this._p2pChannel.mockSubscribe(d,o,s[0].ssrcId,a).then(()=>{e()}).catch(i):e(),this._handleMuteStream(n,o,!!c)})}),this._gateway.signal.on(he.CALL,(t,e,i)=>C(this,null,function*(){if(this.store.useP2P)try{var n;e(yield this._p2pChannel.startP2P({turnServer:(n=this._joinInfo)===null||n===void 0?void 0:n.turnServer},t))}catch(r){i(r)}})),this._gateway.signal.on(ot.P2P_CONNECTION,t=>C(this,null,function*(){this.store.useP2P&&(yield this._p2pChannel).p2pConnect(t)})),this._gateway.signal.on(he.UNPUBLISH,(t,e,i)=>C(this,null,function*(){if(this.store.useP2P){const{unpubMsg:n,uid:r}=t,o=this._users.find(s=>s.uid===r);if(!o)return _.warning("[".concat(this._clientId,"] can not find remote user, ignore mute event, uid: ").concat(r)),void e();try{n.forEach(s=>C(this,null,function*(){let{stream_type:a}=s;const c=a===Ot.Audio?q.AUDIO:q.VIDEO;yield this._p2pChannel.unsubscribe(o,c),this._handleMuteStream(r,c,!0)})),e()}catch(s){i(s)}}})),this._gateway.signal.on(he.CONTROL,(t,e)=>C(this,null,function*(){const{action:i}=t;switch(i){case go.MUTE_LOCAL_VIDEO:this._handleMuteStream(e,q.VIDEO,!0);break;case go.MUTE_LOCAL_AUDIO:this._handleMuteStream(e,q.AUDIO,!0);break;case go.UNMUTE_LOCAL_VIDEO:this._handleP2PAddAudioOrVideoStream("video",e),this._handleMuteStream(e,q.VIDEO,!1);break;case go.UNMUTE_LOCAL_AUDIO:this._handleP2PAddAudioOrVideoStream("audio",e),this._handleMuteStream(e,q.AUDIO,!1)}})),this._gateway.signal.on(he.RESTART_ICE,(t,e,i)=>C(this,null,function*(){if(this.store.useP2P)try{const{direction:n,iceParameter:r}=t;n!==pi.SEND_ONLY||r?e(yield this._p2pChannel.restartICE(n,r)):(this._p2pChannel.handleDisconnect(n),e())}catch(n){i(n)}})),this._gateway.signal.on(he.CANDIDATE,t=>{if(this.store.useP2P){const{candidate:e,direction:i}=t;this._p2pChannel.addRemoteCandidate(e,i)}}),this._p2pChannel.on($.RequestP2PRestartICE,(t,e,i)=>C(this,null,function*(){try{const{direction:n}=t;e(yield this._gateway.sendExtensionMessage(he.RESTART_ICE,t,n===pi.SEND_ONLY))}catch(n){i(n)}})),this._p2pChannel.on($.LocalCandidate,t=>{this._gateway.sendExtensionMessage(he.CANDIDATE,JSON.stringify(t),!0)}),this._p2pChannel.on($.RequestP2PMuteLocal,(t,e,i)=>C(this,null,function*(){try{yield this._gateway.sendExtensionMessage(he.CONTROL,t,!0),e()}catch(n){i(n)}})),this._p2pChannel.on($.RequestP2PUnmuteRemote,(t,e,i)=>C(this,null,function*(){if(this._joinInfo)try{yield this._gateway.unmuteRemote(t,this._joinInfo.stringUid||this._joinInfo.uid),e()}catch(n){n.code===v.DISCONNECT_P2P?e():i(n)}else e()})),this._p2pChannel.on($.RequestP2PMuteRemote,(t,e,i)=>C(this,null,function*(){if(this._joinInfo)try{yield this._gateway.muteRemote(t,this._joinInfo.stringUid||this._joinInfo.uid),e()}catch(n){n.code===v.DISCONNECT_P2P?e():i(n)}else e()})),this._p2pChannel.on($.StateChange,(t,e)=>{e===wt.Connected&&this._p2pChannel.republish()})}_handleP2PChannelEvents(){this._p2pChannel.on($.PeerConnectionStateChange,t=>{const e=this._peerConnectionState;t!==e&&(this.safeEmit(_t.PEERCONNECTION_STATE_CHANGE,t,e),this._peerConnectionState=t)}),this._p2pChannel.on($.RequestMuteLocal,(t,e,i)=>C(this,null,function*(){if(this._joinInfo)try{yield this._gateway.muteLocal(t,this._joinInfo.stringUid||this._joinInfo.uid),e()}catch(n){n.code===v.DISCONNECT_P2P?e():i(n)}else e()})),this._p2pChannel.on($.RequestUnmuteLocal,(t,e,i)=>C(this,null,function*(){if(this._joinInfo)try{yield this._gateway.unmuteLocal(t,this._joinInfo.stringUid||this._joinInfo.uid),e()}catch(n){n.code===v.DISCONNECT_P2P?e():i(n)}else e()})),this._p2pChannel.on($.RequestRePublish,(t,e,i)=>{this.publish(t,!1).then(e).catch(i)}),this._p2pChannel.on($.RequestRePublishDataChannel,(t,e,i)=>{K.all(t.map(n=>C(this,null,function*(){const r=yield this._p2pChannel.publishDataChannel([n]);try{r.forEach(o=>{this._uid&&this._gateway.publishDataChannel(this._uid,o,!0)})}catch(o){if(o.code!==v.DISCONNECT_P2P)throw o}}))).then(e).catch(i)}),this._p2pChannel.on($.RequestReSubscribe,(t,e,i)=>C(this,null,function*(){try{for(const{user:n,kind:r}of t)r===q.VIDEO?yield this.subscribe(n,"video"):yield this.subscribe(n,"audio");e()}catch(n){i(n)}})),this._p2pChannel.on($.RequestUpload,(t,e)=>{this._gateway.upload(t,e)}),this._p2pChannel.on($.RequestUploadStats,t=>{this._gateway.uploadWRTCStats(t)}),this._p2pChannel.on($.MediaReconnectStart,t=>{this.safeEmit(_t.MEDIA_RECONNECT_START,t)}),this._p2pChannel.on($.MediaReconnectEnd,t=>{this.safeEmit(_t.MEDIA_RECONNECT_END,t)}),this._p2pChannel.on($.NeedSignalRTT,t=>{t(this._gateway.getSignalRTT())}),this._p2pChannel.on($.RequestRestartICE,t=>C(this,null,function*(){if(this.store.useP2P)return;const e=yield this._p2pChannel.restartICE(t),i=yield e.next();if(i.done)return;const n=i.value;let r;try{r=yield this._gateway.restartICE({iceParameters:n})}catch(s){return void e.throw(s)}const{iceParameters:o}=function(s){const a=s.iceParameters;return{iceParameters:{iceUfrag:a.iceUfrag,icePwd:a.icePwd}}}(r);yield e.next({remoteIceParameters:o})})),this._p2pChannel.on($.RequestReconnect,()=>C(this,null,function*(){this._gateway.reconnect()})),this._p2pChannel.on($.RequestReconnectPC,()=>C(this,null,function*(){var t;const{iceParameters:e,dtlsParameters:i,rtpCapabilities:n}=yield this._p2pChannel.startP2PConnection({turnServer:(t=this._joinInfo)===null||t===void 0?void 0:t.turnServer}),{gatewayEstablishParams:r,gatewayAddress:o}=yield this._gateway.reconnectPC({iceParameters:e,dtlsParameters:i,rtpCapabilities:n}),s=Sw(r,o);yield this._p2pChannel.connect(s),yield this._p2pChannel.republish(),yield this._p2pChannel.reSubscribe()})),this._p2pChannel.on($.RequestUnpublishForReconnectPC,(t,e,i)=>C(this,null,function*(){this._joinInfo&&this._uid!==void 0?(yield this._gateway.unpublish(t,this._uid),e()):i()})),this._p2pChannel.on($.P2PLost,()=>{this.safeEmit(_t.P2P_LOST,this.store.uid)}),this._p2pChannel.on($.UpdateVideoEncoder,t=>{t._encoderConfig&&this._gateway.setVideoProfile(t._encoderConfig)}),this._p2pChannel.on($.ConnectionTypeChange,t=>{this.safeEmit(_t.IS_USING_CLOUD_PROXY,t)}),this._p2pChannel.on($.RequestLowStreamParameter,t=>{t(this._lowStreamParameter||{width:160,height:120,framerate:15,bitrate:50})}),this._p2pChannel.on($.QueryClientConnectionState,t=>{t(this.connectionState)}),this._p2pChannel.on($.AudioMetadata,t=>{this.safeEmit(_t.AUDIO_METADATA,t)})}getKeyMetrics(){return this.store.keyMetrics}enableContentInspect(t){return C(this,null,function*(){if(!this._joinInfo||this.connectionState!=="CONNECTED")throw new P(v.INVALID_OPERATION,"[".concat(this._clientId,"] can not create content inspect, please join channel first"));if(this._inspect)throw new P(v.INVALID_OPERATION,"[".concat(this._clientId,"] Inspect content service already in connecting/connected state"));try{const i=(e={config:t},Kr("ContentInspect").create(e));this._inspect=i,this.handleVideoInspectEvents(i);const{appId:n,cname:r,sid:o,token:s,uid:a,cid:c,vid:d}=this._joinInfo;yield i.init({appId:n,areaCode:"",cname:r,sid:o,token:s,uid:a,cid:c,vid:d?Number(d):0},ge)}catch(i){throw Array.isArray(i)?i[0]:i}var e})}handleVideoInspectEvents(t){t.on(Pe.CONNECTION_STATE_CHANGE,(e,i)=>{if(this.safeEmit(_t.CONTENT_INSPECT_CONNECTION_STATE_CHANGE,e,i),i===Pn.CONNECTED){if(this.connectionState!=="CONNECTED")return void this.safeEmit(_t.CONTENT_INSPECT_ERROR,new P(v.OPERATION_ABORTED,"Content inspect was cancelled because it left the channel"));t.inspectImage()}}),t.on(Pe.INSPECT_RESULT,(e,i)=>{var n;if((i==null?void 0:i.code)===v.INVALID_OPERATION&&this.connectionState==="DISCONNECTED")return _.debug("Stop inspect content because that has left channel"),this==null||(n=this._inspect)===null||n===void 0||n.close(),void(this._inspect=void 0);this.safeEmit(_t.CONTENT_INSPECT_RESULT,e,i)}),t.on(Pe.CLIENT_LOCAL_VIDEO_TRACK,e=>{e(this.localTracks.filter(i=>i.trackMediaType==="video")[0])})}disableContentInspect(){return C(this,null,function*(){if(!this._inspect)throw new P(v.INVALID_OPERATION,"[".concat(this._clientId,"] inspectVideoContent not started"));try{this._inspect.close(),this._inspect=void 0}catch(t){throw Array.isArray(t)?t[0]:t}})}setImageModeration(t,e){return C(this,null,function*(){if(Fr(t,"enabled"),t){if(!e)throw new P(v.INVALID_PARAMS,"config is required");if(U0(e),!this._joinInfo)throw new P(v.INVALID_OPERATION,"can not create image moderation, please join channel first");try{if(this._moderation)this._moderation.updateConfig(e);else{const n=(i={config:e},Kr("ImageModeration").create(i));this._moderation=n,this.handleImageModerationEvents(n);const{appId:r,cname:o,sid:s,token:a,uid:c,cid:d,vid:l}=this._joinInfo;yield n.init({appId:r,areaCode:"",cname:o,sid:s,token:a,uid:c,cid:d,vid:l?Number(l):0},ge)}}catch(n){throw Array.isArray(n)?n[0]:n}}else{var i;if(!this._moderation)throw new P(v.INVALID_OPERATION,"[".concat(this._clientId,"] image moderation not started"));try{this._moderation.close(),this._moderation.removeAllListeners(),this._moderation=void 0}catch(n){throw Array.isArray(n)?n[0]:n}}})}handleImageModerationEvents(t){t.on(tr.CONNECTION_STATE_CHANGE,(e,i)=>{if(this.safeEmit(_t.IMAGE_MODERATION_CONNECTION_STATE_CHANGE,e,i),e===hn.CONNECTED){if(this.connectionState!=="CONNECTED")throw this.setImageModeration(!1),new P(v.OPERATION_ABORTED,"Image moderation was cancelled because it left the channel");t.inspectImage()}}),t.on(tr.CLIENT_LOCAL_VIDEO_TRACK,e=>{e(this.localTracks.filter(i=>i.trackMediaType==="video")[0])})}setP2PTransport(t){if(function(e){Ae(e,"transport",["default","auto","relay","sd-rtn"])}(t),this.mode!=="p2p")throw new P(v.INVALID_OPERATION,"only p2p mode can set p2pTransport");this.store.p2pTransport=t,_.info("[".concat(this._clientId,"] set client p2pTransport to ").concat(t))}getJoinChannelServiceRecords(){return _.debug("getJoinChannelServiceRecords"),this.store.joinChannelServiceRecords}setPublishAudioFilterEnabled(t){return C(this,null,function*(){Fr(t,"enabled"),kt("ENABLE_PUBLISH_AUDIO_FILTER",t),this._joinInfo&&(yield this._gateway.setPublishAudioFilterEnabled(t))})}_handleResetAddStream(t,e){switch(e){case"audio":t._audio_added_=!1,t._trust_audio_stream_added_state_=!0;break;case"video":t._video_added_=!1,t._trust_video_stream_added_state_=!0}}},Q(Y.prototype,"leave",[x0],Object.getOwnPropertyDescriptor(Y.prototype,"leave"),Y.prototype),Q(Y.prototype,"publish",[V0],Object.getOwnPropertyDescriptor(Y.prototype,"publish"),Y.prototype),Q(Y.prototype,"unpublish",[F0],Object.getOwnPropertyDescriptor(Y.prototype,"unpublish"),Y.prototype),Q(Y.prototype,"subscribe",[B0],Object.getOwnPropertyDescriptor(Y.prototype,"subscribe"),Y.prototype),Q(Y.prototype,"presubscribe",[j0],Object.getOwnPropertyDescriptor(Y.prototype,"presubscribe"),Y.prototype),Q(Y.prototype,"massSubscribe",[G0],Object.getOwnPropertyDescriptor(Y.prototype,"massSubscribe"),Y.prototype),Q(Y.prototype,"unsubscribe",[W0],Object.getOwnPropertyDescriptor(Y.prototype,"unsubscribe"),Y.prototype),Q(Y.prototype,"massUnsubscribe",[H0],Object.getOwnPropertyDescriptor(Y.prototype,"massUnsubscribe"),Y.prototype),Q(Y.prototype,"setLowStreamParameter",[K0],Object.getOwnPropertyDescriptor(Y.prototype,"setLowStreamParameter"),Y.prototype),Q(Y.prototype,"enableDualStream",[Y0],Object.getOwnPropertyDescriptor(Y.prototype,"enableDualStream"),Y.prototype),Q(Y.prototype,"disableDualStream",[q0],Object.getOwnPropertyDescriptor(Y.prototype,"disableDualStream"),Y.prototype),Q(Y.prototype,"setClientRole",[z0],Object.getOwnPropertyDescriptor(Y.prototype,"setClientRole"),Y.prototype),Q(Y.prototype,"_setClientRoleOptions",[X0],Object.getOwnPropertyDescriptor(Y.prototype,"_setClientRoleOptions"),Y.prototype),Q(Y.prototype,"setProxyServer",[J0],Object.getOwnPropertyDescriptor(Y.prototype,"setProxyServer"),Y.prototype),Q(Y.prototype,"setTurnServer",[Q0],Object.getOwnPropertyDescriptor(Y.prototype,"setTurnServer"),Y.prototype),Q(Y.prototype,"setLicense",[Z0],Object.getOwnPropertyDescriptor(Y.prototype,"setLicense"),Y.prototype),Q(Y.prototype,"startProxyServer",[$0],Object.getOwnPropertyDescriptor(Y.prototype,"startProxyServer"),Y.prototype),Q(Y.prototype,"stopProxyServer",[tO],Object.getOwnPropertyDescriptor(Y.prototype,"stopProxyServer"),Y.prototype),Q(Y.prototype,"setLocalAccessPointsV2",[eO],Object.getOwnPropertyDescriptor(Y.prototype,"setLocalAccessPointsV2"),Y.prototype),Q(Y.prototype,"setLocalAccessPoints",[iO],Object.getOwnPropertyDescriptor(Y.prototype,"setLocalAccessPoints"),Y.prototype),Q(Y.prototype,"setRemoteDefaultVideoStreamType",[nO],Object.getOwnPropertyDescriptor(Y.prototype,"setRemoteDefaultVideoStreamType"),Y.prototype),Q(Y.prototype,"setRemoteVideoStreamType",[rO],Object.getOwnPropertyDescriptor(Y.prototype,"setRemoteVideoStreamType"),Y.prototype),Q(Y.prototype,"setStreamFallbackOption",[oO],Object.getOwnPropertyDescriptor(Y.prototype,"setStreamFallbackOption"),Y.prototype),Q(Y.prototype,"setEncryptionConfig",[sO],Object.getOwnPropertyDescriptor(Y.prototype,"setEncryptionConfig"),Y.prototype),Q(Y.prototype,"renewToken",[aO],Object.getOwnPropertyDescriptor(Y.prototype,"renewToken"),Y.prototype),Q(Y.prototype,"enableAudioVolumeIndicator",[cO],Object.getOwnPropertyDescriptor(Y.prototype,"enableAudioVolumeIndicator"),Y.prototype),Q(Y.prototype,"startLiveStreaming",[dO],Object.getOwnPropertyDescriptor(Y.prototype,"startLiveStreaming"),Y.prototype),Q(Y.prototype,"setLiveTranscoding",[lO],Object.getOwnPropertyDescriptor(Y.prototype,"setLiveTranscoding"),Y.prototype),Q(Y.prototype,"stopLiveStreaming",[uO],Object.getOwnPropertyDescriptor(Y.prototype,"stopLiveStreaming"),Y.prototype),Q(Y.prototype,"startChannelMediaRelay",[hO],Object.getOwnPropertyDescriptor(Y.prototype,"startChannelMediaRelay"),Y.prototype),Q(Y.prototype,"updateChannelMediaRelay",[pO],Object.getOwnPropertyDescriptor(Y.prototype,"updateChannelMediaRelay"),Y.prototype),Q(Y.prototype,"stopChannelMediaRelay",[_O],Object.getOwnPropertyDescriptor(Y.prototype,"stopChannelMediaRelay"),Y.prototype),Q(Y.prototype,"sendCustomReportMessage",[EO],Object.getOwnPropertyDescriptor(Y.prototype,"sendCustomReportMessage"),Y.prototype),Q(Y.prototype,"pickSVCLayer",[mO],Object.getOwnPropertyDescriptor(Y.prototype,"pickSVCLayer"),Y.prototype),Q(Y.prototype,"setRTMConfig",[fO],Object.getOwnPropertyDescriptor(Y.prototype,"setRTMConfig"),Y.prototype),Q(Y.prototype,"enableContentInspect",[gO],Object.getOwnPropertyDescriptor(Y.prototype,"enableContentInspect"),Y.prototype),Q(Y.prototype,"disableContentInspect",[SO],Object.getOwnPropertyDescriptor(Y.prototype,"disableContentInspect"),Y.prototype),Q(Y.prototype,"setImageModeration",[TO],Object.getOwnPropertyDescriptor(Y.prototype,"setImageModeration"),Y.prototype),Q(Y.prototype,"setP2PTransport",[RO],Object.getOwnPropertyDescriptor(Y.prototype,"setP2PTransport"),Y.prototype),Q(Y.prototype,"getJoinChannelServiceRecords",[vO],Object.getOwnPropertyDescriptor(Y.prototype,"getJoinChannelServiceRecords"),Y.prototype),Q(Y.prototype,"setPublishAudioFilterEnabled",[CO],Object.getOwnPropertyDescriptor(Y.prototype,"setPublishAudioFilterEnabled"),Y.prototype),Y);class ed{constructor(e,i){S(this,"id",0),S(this,"element",void 0),S(this,"peerPair",void 0),S(this,"context",void 0),S(this,"audioPlayerElement",void 0),S(this,"audioTrack",void 0),ed.count+=1,this.id=ed.count,this.element=e,this.context=i}initPeers(){this.peerPair=[new RTCPeerConnection,new RTCPeerConnection],this.peerPair[1].ontrack=e=>{const i=document.createElement("audio");i.srcObject=new MediaStream([e.track]),i.play(),this.audioPlayerElement=i}}switchSdp(){return C(this,null,function*(){if(!this.peerPair)return;const e=(n,r)=>C(this,null,function*(){const o=r==="offer"?yield n.createOffer():yield n.createAnswer();return yield n.setLocalDescription(o),n.iceGatheringState==="complete"?n.localDescription:new K(s=>{n.onicegatheringstatechange=()=>{n.iceGatheringState==="complete"&&s(n.localDescription)}})}),i=(n,r)=>C(this,null,function*(){return yield n.setRemoteDescription(r)});try{const n=yield e(this.peerPair[0],"offer");yield i(this.peerPair[1],n);const r=yield e(this.peerPair[1],"answer");yield i(this.peerPair[0],r)}catch(n){throw new P(v.LOCAL_AEC_ERROR,n.toString()).print()}})}getTracksFromMediaElement(e){return C(this,null,function*(){if(this.audioTrack)return this.audioTrack;let i;try{e instanceof HTMLVideoElement&&(e.captureStream?e.captureStream():e.mozCaptureStream()),i=this.context.createMediaStreamDestination(),this.context.createMediaElementSource(e).connect(i)}catch(r){throw new P(v.LOCAL_AEC_ERROR,r.toString()).print()}if(!i)throw new P(v.LOCAL_AEC_ERROR,"no dest node when local aec").print();const n=i.stream.getAudioTracks()[0];return this.audioTrack=n,n})}getElement(){return this.element}startEchoCancellation(){return C(this,null,function*(){this.context.resume(),this.peerPair&&this.close(),this.initPeers();const e=this.element,i=yield this.getTracksFromMediaElement(e);this.peerPair&&this.peerPair[0].addTrack(i),yield this.switchSdp()})}close(){_.debug("close echo cancellation unit, id is",this.id),this.audioPlayerElement&&this.audioPlayerElement.pause(),this.peerPair&&this.peerPair.forEach(e=>{e.close()}),this.peerPair=void 0,this.audioPlayerElement=void 0}}var IO,sh;S(ed,"count",0);const ZW=window.AudioContext||window.webkitAudioContext,$W=new(IO=it({report:Z}),Q((sh=class{constructor(){S(this,"units",[]),S(this,"context",void 0)}processExternalMediaAEC(t){if(!this._doesEnvironmentNeedAEC())return _.debug("the system does not need to process local aec"),-1;this.context||(this.context=new ZW);let e=this.units.find(i=>i&&i.getElement()===t);return e||(e=new ed(t,this.context),this.units.push(e)),e.startEchoCancellation(),_.debug("start processing local audio echo cancellation, id is",e.id),e.id}_doesEnvironmentNeedAEC(){return vt().name!==It.SAFARI}}).prototype,"processExternalMediaAEC",[IO],Object.getOwnPropertyDescriptor(sh.prototype,"processExternalMediaAEC"),sh.prototype),sh);function AO(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function bO(t){for(var e=1;e1&&arguments[1]!==void 0&&arguments[1];if(!sf)return;const i=Se._cspEventHandlerPointer;if(i&&e)return void console.error(i,e);const n=r=>{if(!(r&&r.blockedURI&&(Se.onSecurityPolicyViolation||Se.getListeners(Tr.SECURITY_POLICY_VIOLATION).length>0)))return;const o=r.blockedURI;y("CSP_DETECTED_HOSTNAME_LIST").some(s=>G(o).call(o,s))&&(Se.onSecurityPolicyViolation&&typeof Se.onSecurityPolicyViolation=="function"&&Se.onSecurityPolicyViolation(r),Se.getListeners(Tr.SECURITY_POLICY_VIOLATION).length>0&&Se.safeEmit(Tr.SECURITY_POLICY_VIOLATION,r))};i&&sf.removeEventListener("securitypolicyviolation",i),(e||t&&typeof t=="function"||Se.getListeners(Tr.SECURITY_POLICY_VIOLATION).length>0)&&sf.addEventListener("securitypolicyviolation",n),Se._cspEventHandlerPointer=n}var t5=$e,e5=hy,OO=RegExp.prototype,i5=function(t){return t===OO||t5(OO,t)?e5(t):t.flags},si=Pt(i5);function Ma(t){let e=t.length;for(;--e>=0;)t[e]=0}const af=256,NO=286,id=30,nd=15,cf=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),ah=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),n5=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),DO=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),qr=new Array(576);Ma(qr);const rd=new Array(60);Ma(rd);const od=new Array(512);Ma(od);const sd=new Array(256);Ma(sd);const df=new Array(29);Ma(df);const ch=new Array(id);function lf(t,e,i,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=i,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}let PO,LO,kO;function uf(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}Ma(ch);const MO=t=>t<256?od[t]:od[256+(t>>>7)],ad=(t,e)=>{t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},on=(t,e,i)=>{t.bi_valid>16-i?(t.bi_buf|=e<>16-t.bi_valid,t.bi_valid+=i-16):(t.bi_buf|=e<{on(t,i[2*e],i[2*e+1])},UO=(t,e)=>{let i=0;do i|=1&t,t>>>=1,i<<=1;while(--e>0);return i>>>1},xO=(t,e,i)=>{const n=new Array(16);let r,o,s=0;for(r=1;r<=nd;r++)s=s+i[r-1]<<1,n[r]=s;for(o=0;o<=e;o++){let a=t[2*o+1];a!==0&&(t[2*o]=UO(n[a]++,a))}},VO=t=>{let e;for(e=0;e{t.bi_valid>8?ad(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},BO=(t,e,i,n)=>{const r=2*e,o=2*i;return t[r]{const n=t.heap[i];let r=i<<1;for(;r<=t.heap_len&&(r{let n,r,o,s,a=0;if(t.sym_next!==0)do n=255&t.pending_buf[t.sym_buf+a++],n+=(255&t.pending_buf[t.sym_buf+a++])<<8,r=t.pending_buf[t.sym_buf+a++],n===0?Ir(t,r,e):(o=sd[r],Ir(t,o+af+1,e),s=cf[o],s!==0&&(r-=df[o],on(t,r,s)),n--,o=MO(n),Ir(t,o,i),s=ah[o],s!==0&&(n-=ch[o],on(t,n,s)));while(a{const i=e.dyn_tree,n=e.stat_desc.static_tree,r=e.stat_desc.has_stree,o=e.stat_desc.elems;let s,a,c,d=-1;for(t.heap_len=0,t.heap_max=573,s=0;s>1;s>=1;s--)hf(t,i,s);c=o;do s=t.heap[1],t.heap[1]=t.heap[t.heap_len--],hf(t,i,1),a=t.heap[1],t.heap[--t.heap_max]=s,t.heap[--t.heap_max]=a,i[2*c]=i[2*s]+i[2*a],t.depth[c]=(t.depth[s]>=t.depth[a]?t.depth[s]:t.depth[a])+1,i[2*s+1]=i[2*a+1]=c,t.heap[1]=c++,hf(t,i,1);while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],((l,u)=>{const h=u.dyn_tree,p=u.max_code,g=u.stat_desc.static_tree,m=u.stat_desc.has_stree,f=u.stat_desc.extra_bits,T=u.stat_desc.extra_base,R=u.stat_desc.max_length;let A,N,O,w,L,M,j=0;for(w=0;w<=nd;w++)l.bl_count[w]=0;for(h[2*l.heap[l.heap_max]+1]=0,A=l.heap_max+1;A<573;A++)N=l.heap[A],w=h[2*h[2*N+1]+1]+1,w>R&&(w=R,j++),h[2*N+1]=w,N>p||(l.bl_count[w]++,L=0,N>=T&&(L=f[N-T]),M=h[2*N],l.opt_len+=M*(w+L),m&&(l.static_len+=M*(g[2*N+1]+L)));if(j!==0){do{for(w=R-1;l.bl_count[w]===0;)w--;l.bl_count[w]--,l.bl_count[w+1]+=2,l.bl_count[R]--,j-=2}while(j>0);for(w=R;w!==0;w--)for(N=l.bl_count[w];N!==0;)O=l.heap[--A],O>p||(h[2*O+1]!==w&&(l.opt_len+=(w-h[2*O+1])*h[2*O],h[2*O+1]=w),N--)}})(t,e),xO(i,d,t.bl_count)},GO=(t,e,i)=>{let n,r,o=-1,s=e[1],a=0,c=7,d=4;for(s===0&&(c=138,d=3),e[2*(i+1)+1]=65535,n=0;n<=i;n++)r=s,s=e[2*(n+1)+1],++a{let n,r,o=-1,s=e[1],a=0,c=7,d=4;for(s===0&&(c=138,d=3),n=0;n<=i;n++)if(r=s,s=e[2*(n+1)+1],!(++a{on(t,0+(n?1:0),3),FO(t),ad(t,i),ad(t,~i),i&&t.pending_buf.set(t.window.subarray(e,e+i),t.pending),t.pending+=i};var r5=t=>{HO||((()=>{let e,i,n,r,o;const s=new Array(16);for(n=0,r=0;r<28;r++)for(df[r]=n,e=0;e<1<>=7;r{let r,o,s=0;t.level>0?(t.strm.data_type===2&&(t.strm.data_type=(a=>{let c,d=4093624447;for(c=0;c<=31;c++,d>>>=1)if(1&d&&a.dyn_ltree[2*c]!==0)return 0;if(a.dyn_ltree[18]!==0||a.dyn_ltree[20]!==0||a.dyn_ltree[26]!==0)return 1;for(c=32;c{let c;for(GO(a,a.dyn_ltree,a.l_desc.max_code),GO(a,a.dyn_dtree,a.d_desc.max_code),pf(a,a.bl_desc),c=18;c>=3&&a.bl_tree[2*DO[c]+1]===0;c--);return a.opt_len+=3*(c+1)+5+5+4,c})(t),r=t.opt_len+3+7>>>3,o=t.static_len+3+7>>>3,o<=r&&(r=o)):r=o=i+5,i+4<=r&&e!==-1?KO(t,e,i,n):t.strategy===4||o===r?(on(t,2+(n?1:0),3),jO(t,qr,rd)):(on(t,4+(n?1:0),3),((a,c,d,l)=>{let u;for(on(a,c-257,5),on(a,d-1,5),on(a,l-4,4),u=0;u(t.pending_buf[t.sym_buf+t.sym_next++]=e,t.pending_buf[t.sym_buf+t.sym_next++]=e>>8,t.pending_buf[t.sym_buf+t.sym_next++]=i,e===0?t.dyn_ltree[2*i]++:(t.matches++,e--,t.dyn_ltree[2*(sd[i]+af+1)]++,t.dyn_dtree[2*MO(e)]++),t.sym_next===t.sym_end),a5=t=>{on(t,2,3),Ir(t,256,qr),(e=>{e.bi_valid===16?(ad(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)})(t)},c5={_tr_init:r5,_tr_stored_block:KO,_tr_flush_block:o5,_tr_tally:s5,_tr_align:a5},cd=(t,e,i,n)=>{let r=65535&t|0,o=t>>>16&65535|0,s=0;for(;i!==0;){s=i>2e3?2e3:i,i-=s;do r=r+e[n++]|0,o=o+r|0;while(--s);r%=65521,o%=65521}return r|o<<16|0};const d5=new Uint32Array((()=>{let t,e=[];for(var i=0;i<256;i++){t=i;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[i]=t}return e})());var Ei=(t,e,i,n)=>{const r=d5,o=n+i;t^=-1;for(let s=n;s>>8^r[255&(t^e[s])];return-1^t},hs={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Ua={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:l5,_tr_stored_block:_f,_tr_flush_block:u5,_tr_tally:bo,_tr_align:h5}=c5,{Z_NO_FLUSH:wo,Z_PARTIAL_FLUSH:p5,Z_FULL_FLUSH:_5,Z_FINISH:Vn,Z_BLOCK:YO,Z_OK:yi,Z_STREAM_END:qO,Z_STREAM_ERROR:Ar,Z_DATA_ERROR:E5,Z_BUF_ERROR:Ef,Z_DEFAULT_COMPRESSION:m5,Z_FILTERED:f5,Z_HUFFMAN_ONLY:dh,Z_RLE:g5,Z_FIXED:S5,Z_DEFAULT_STRATEGY:T5,Z_UNKNOWN:R5,Z_DEFLATED:lh}=Ua,mf=286,v5=30,C5=19,y5=2*mf+1,I5=15,ps=258,br=262,xa=42,_s=113,dd=666,Es=(t,e)=>(t.msg=hs[e],e),zO=t=>2*t-(t>4?9:0),Oo=t=>{let e=t.length;for(;--e>=0;)t[e]=0},A5=t=>{let e,i,n,r=t.w_size;e=t.hash_size,n=e;do i=t.head[--n],t.head[n]=i>=r?i-r:0;while(--e);e=r,n=e;do i=t.prev[--n],t.prev[n]=i>=r?i-r:0;while(--e)};let No=(t,e,i)=>(e<{const e=t.state;let i=e.pending;i>t.avail_out&&(i=t.avail_out),i!==0&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+i),t.next_out),t.next_out+=i,e.pending_out+=i,t.total_out+=i,t.avail_out-=i,e.pending-=i,e.pending===0&&(e.pending_out=0))},_n=(t,e)=>{u5(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,pn(t.strm)},ue=(t,e)=>{t.pending_buf[t.pending++]=e},ld=(t,e)=>{t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},ff=(t,e,i,n)=>{let r=t.avail_in;return r>n&&(r=n),r===0?0:(t.avail_in-=r,e.set(t.input.subarray(t.next_in,t.next_in+r),i),t.state.wrap===1?t.adler=cd(t.adler,e,r,i):t.state.wrap===2&&(t.adler=Ei(t.adler,e,r,i)),t.next_in+=r,t.total_in+=r,r)},XO=(t,e)=>{let i,n,r=t.max_chain_length,o=t.strstart,s=t.prev_length,a=t.nice_match;const c=t.strstart>t.w_size-br?t.strstart-(t.w_size-br):0,d=t.window,l=t.w_mask,u=t.prev,h=t.strstart+ps;let p=d[o+s-1],g=d[o+s];t.prev_length>=t.good_match&&(r>>=2),a>t.lookahead&&(a=t.lookahead);do if(i=e,d[i+s]===g&&d[i+s-1]===p&&d[i]===d[o]&&d[++i]===d[o+1]){o+=2,i++;do;while(d[++o]===d[++i]&&d[++o]===d[++i]&&d[++o]===d[++i]&&d[++o]===d[++i]&&d[++o]===d[++i]&&d[++o]===d[++i]&&d[++o]===d[++i]&&d[++o]===d[++i]&&os){if(t.match_start=e,s=n,n>=a)break;p=d[o+s-1],g=d[o+s]}}while((e=u[e&l])>c&&--r!=0);return s<=t.lookahead?s:t.lookahead},Va=t=>{const e=t.w_size;let i,n,r;do{if(n=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-br)&&(t.window.set(t.window.subarray(e,e+e-n),0),t.match_start-=e,t.strstart-=e,t.block_start-=e,t.insert>t.strstart&&(t.insert=t.strstart),A5(t),n+=e),t.strm.avail_in===0)break;if(i=ff(t.strm,t.window,t.strstart+t.lookahead,n),t.lookahead+=i,t.lookahead+t.insert>=3)for(r=t.strstart-t.insert,t.ins_h=t.window[r],t.ins_h=No(t,t.ins_h,t.window[r+1]);t.insert&&(t.ins_h=No(t,t.ins_h,t.window[r+3-1]),t.prev[r&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=r,r++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead{let i,n,r,o=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,s=0,a=t.strm.avail_in;do{if(i=65535,r=t.bi_valid+42>>3,t.strm.avail_outn+t.strm.avail_in&&(i=n+t.strm.avail_in),i>r&&(i=r),i>8,t.pending_buf[t.pending-2]=~i,t.pending_buf[t.pending-1]=~i>>8,pn(t.strm),n&&(n>i&&(n=i),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+n),t.strm.next_out),t.strm.next_out+=n,t.strm.avail_out-=n,t.strm.total_out+=n,t.block_start+=n,i-=n),i&&(ff(t.strm,t.strm.output,t.strm.next_out,i),t.strm.next_out+=i,t.strm.avail_out-=i,t.strm.total_out+=i)}while(s===0);return a-=t.strm.avail_in,a&&(a>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=a&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-a,t.strm.next_in),t.strstart),t.strstart+=a,t.insert+=a>t.w_size-t.insert?t.w_size-t.insert:a),t.block_start=t.strstart),t.high_waterr&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,r+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),r>t.strm.avail_in&&(r=t.strm.avail_in),r&&(ff(t.strm,t.window,t.strstart,r),t.strstart+=r,t.insert+=r>t.w_size-t.insert?t.w_size-t.insert:r),t.high_water>3,r=t.pending_buf_size-r>65535?65535:t.pending_buf_size-r,o=r>t.w_size?t.w_size:r,n=t.strstart-t.block_start,(n>=o||(n||e===Vn)&&e!==wo&&t.strm.avail_in===0&&n<=r)&&(i=n>r?r:n,s=e===Vn&&t.strm.avail_in===0&&i===n?1:0,_f(t,t.block_start,i,s),t.block_start+=i,pn(t.strm)),s?3:1)},gf=(t,e)=>{let i,n;for(;;){if(t.lookahead=3&&(t.ins_h=No(t,t.ins_h,t.window[t.strstart+3-1]),i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),i!==0&&t.strstart-i<=t.w_size-br&&(t.match_length=XO(t,i)),t.match_length>=3)if(n=bo(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do t.strstart++,t.ins_h=No(t,t.ins_h,t.window[t.strstart+3-1]),i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart;while(--t.match_length!=0);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=No(t,t.ins_h,t.window[t.strstart+1]);else n=bo(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(_n(t,!1),t.strm.avail_out===0))return 1}return t.insert=t.strstart<2?t.strstart:2,e===Vn?(_n(t,!0),t.strm.avail_out===0?3:4):t.sym_next&&(_n(t,!1),t.strm.avail_out===0)?1:2},Fa=(t,e)=>{let i,n,r;for(;;){if(t.lookahead=3&&(t.ins_h=No(t,t.ins_h,t.window[t.strstart+3-1]),i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,i!==0&&t.prev_length4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,n=bo(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do++t.strstart<=r&&(t.ins_h=No(t,t.ins_h,t.window[t.strstart+3-1]),i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart);while(--t.prev_length!=0);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(_n(t,!1),t.strm.avail_out===0))return 1}else if(t.match_available){if(n=bo(t,0,t.window[t.strstart-1]),n&&_n(t,!1),t.strstart++,t.lookahead--,t.strm.avail_out===0)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=bo(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===Vn?(_n(t,!0),t.strm.avail_out===0?3:4):t.sym_next&&(_n(t,!1),t.strm.avail_out===0)?1:2};function wr(t,e,i,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=i,this.max_chain=n,this.func=r}const ud=[new wr(0,0,0,0,JO),new wr(4,4,8,4,gf),new wr(4,5,16,8,gf),new wr(4,6,32,32,gf),new wr(4,4,16,16,Fa),new wr(8,16,32,32,Fa),new wr(8,16,128,128,Fa),new wr(8,32,128,256,Fa),new wr(32,128,258,1024,Fa),new wr(32,258,258,4096,Fa)];function b5(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=lh,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(2*y5),this.dyn_dtree=new Uint16Array(2*(2*v5+1)),this.bl_tree=new Uint16Array(2*(2*C5+1)),Oo(this.dyn_ltree),Oo(this.dyn_dtree),Oo(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(I5+1),this.heap=new Uint16Array(2*mf+1),Oo(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*mf+1),Oo(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const hd=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||e.status!==xa&&e.status!==57&&e.status!==69&&e.status!==73&&e.status!==91&&e.status!==103&&e.status!==_s&&e.status!==dd?1:0},QO=t=>{if(hd(t))return Es(t,Ar);t.total_in=t.total_out=0,t.data_type=R5;const e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap===2?57:e.wrap?xa:_s,t.adler=e.wrap===2?0:1,e.last_flush=-2,l5(e),yi},ZO=t=>{const e=QO(t);return e===yi&&(i=>{i.window_size=2*i.w_size,Oo(i.head),i.max_lazy_match=ud[i.level].max_lazy,i.good_match=ud[i.level].good_length,i.nice_match=ud[i.level].nice_length,i.max_chain_length=ud[i.level].max_chain,i.strstart=0,i.block_start=0,i.lookahead=0,i.insert=0,i.match_length=i.prev_length=2,i.match_available=0,i.ins_h=0})(t.state),e},$O=(t,e,i,n,r,o)=>{if(!t)return Ar;let s=1;if(e===m5&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||i!==lh||n<8||n>15||e<0||e>9||o<0||o>S5||n===8&&s!==1)return Es(t,Ar);n===8&&(n=9);const a=new b5;return t.state=a,a.strm=t,a.status=xa,a.wrap=s,a.gzhead=null,a.w_bits=n,a.w_size=1<{if(hd(t)||e>YO||e<0)return t?Es(t,Ar):Ar;const i=t.state;if(!t.output||t.avail_in!==0&&!t.input||i.status===dd&&e!==Vn)return Es(t,t.avail_out===0?Ef:Ar);const n=i.last_flush;if(i.last_flush=e,i.pending!==0){if(pn(t),t.avail_out===0)return i.last_flush=-1,yi}else if(t.avail_in===0&&zO(e)<=zO(n)&&e!==Vn)return Es(t,Ef);if(i.status===dd&&t.avail_in!==0)return Es(t,Ef);if(i.status===xa&&i.wrap===0&&(i.status=_s),i.status===xa){let r=lh+(i.w_bits-8<<4)<<8,o=-1;if(o=i.strategy>=dh||i.level<2?0:i.level<6?1:i.level===6?2:3,r|=o<<6,i.strstart!==0&&(r|=32),r+=31-r%31,ld(i,r),i.strstart!==0&&(ld(i,t.adler>>>16),ld(i,65535&t.adler)),t.adler=1,i.status=_s,pn(t),i.pending!==0)return i.last_flush=-1,yi}if(i.status===57){if(t.adler=0,ue(i,31),ue(i,139),ue(i,8),i.gzhead)ue(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),ue(i,255&i.gzhead.time),ue(i,i.gzhead.time>>8&255),ue(i,i.gzhead.time>>16&255),ue(i,i.gzhead.time>>24&255),ue(i,i.level===9?2:i.strategy>=dh||i.level<2?4:0),ue(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(ue(i,255&i.gzhead.extra.length),ue(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(t.adler=Ei(t.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69;else if(ue(i,0),ue(i,0),ue(i,0),ue(i,0),ue(i,0),ue(i,i.level===9?2:i.strategy>=dh||i.level<2?4:0),ue(i,3),i.status=_s,pn(t),i.pending!==0)return i.last_flush=-1,yi}if(i.status===69){if(i.gzhead.extra){let r=i.pending,o=(65535&i.gzhead.extra.length)-i.gzindex;for(;i.pending+o>i.pending_buf_size;){let a=i.pending_buf_size-i.pending;if(i.pending_buf.set(i.gzhead.extra.subarray(i.gzindex,i.gzindex+a),i.pending),i.pending=i.pending_buf_size,i.gzhead.hcrc&&i.pending>r&&(t.adler=Ei(t.adler,i.pending_buf,i.pending-r,r)),i.gzindex+=a,pn(t),i.pending!==0)return i.last_flush=-1,yi;r=0,o-=a}let s=new Uint8Array(i.gzhead.extra);i.pending_buf.set(s.subarray(i.gzindex,i.gzindex+o),i.pending),i.pending+=o,i.gzhead.hcrc&&i.pending>r&&(t.adler=Ei(t.adler,i.pending_buf,i.pending-r,r)),i.gzindex=0}i.status=73}if(i.status===73){if(i.gzhead.name){let r,o=i.pending;do{if(i.pending===i.pending_buf_size){if(i.gzhead.hcrc&&i.pending>o&&(t.adler=Ei(t.adler,i.pending_buf,i.pending-o,o)),pn(t),i.pending!==0)return i.last_flush=-1,yi;o=0}r=i.gzindexo&&(t.adler=Ei(t.adler,i.pending_buf,i.pending-o,o)),i.gzindex=0}i.status=91}if(i.status===91){if(i.gzhead.comment){let r,o=i.pending;do{if(i.pending===i.pending_buf_size){if(i.gzhead.hcrc&&i.pending>o&&(t.adler=Ei(t.adler,i.pending_buf,i.pending-o,o)),pn(t),i.pending!==0)return i.last_flush=-1,yi;o=0}r=i.gzindexo&&(t.adler=Ei(t.adler,i.pending_buf,i.pending-o,o))}i.status=103}if(i.status===103){if(i.gzhead.hcrc){if(i.pending+2>i.pending_buf_size&&(pn(t),i.pending!==0))return i.last_flush=-1,yi;ue(i,255&t.adler),ue(i,t.adler>>8&255),t.adler=0}if(i.status=_s,pn(t),i.pending!==0)return i.last_flush=-1,yi}if(t.avail_in!==0||i.lookahead!==0||e!==wo&&i.status!==dd){let r=i.level===0?JO(i,e):i.strategy===dh?((o,s)=>{let a;for(;;){if(o.lookahead===0&&(Va(o),o.lookahead===0)){if(s===wo)return 1;break}if(o.match_length=0,a=bo(o,0,o.window[o.strstart]),o.lookahead--,o.strstart++,a&&(_n(o,!1),o.strm.avail_out===0))return 1}return o.insert=0,s===Vn?(_n(o,!0),o.strm.avail_out===0?3:4):o.sym_next&&(_n(o,!1),o.strm.avail_out===0)?1:2})(i,e):i.strategy===g5?((o,s)=>{let a,c,d,l;const u=o.window;for(;;){if(o.lookahead<=ps){if(Va(o),o.lookahead<=ps&&s===wo)return 1;if(o.lookahead===0)break}if(o.match_length=0,o.lookahead>=3&&o.strstart>0&&(d=o.strstart-1,c=u[d],c===u[++d]&&c===u[++d]&&c===u[++d])){l=o.strstart+ps;do;while(c===u[++d]&&c===u[++d]&&c===u[++d]&&c===u[++d]&&c===u[++d]&&c===u[++d]&&c===u[++d]&&c===u[++d]&&do.lookahead&&(o.match_length=o.lookahead)}if(o.match_length>=3?(a=bo(o,1,o.match_length-3),o.lookahead-=o.match_length,o.strstart+=o.match_length,o.match_length=0):(a=bo(o,0,o.window[o.strstart]),o.lookahead--,o.strstart++),a&&(_n(o,!1),o.strm.avail_out===0))return 1}return o.insert=0,s===Vn?(_n(o,!0),o.strm.avail_out===0?3:4):o.sym_next&&(_n(o,!1),o.strm.avail_out===0)?1:2})(i,e):ud[i.level].func(i,e);if(r!==3&&r!==4||(i.status=dd),r===1||r===3)return t.avail_out===0&&(i.last_flush=-1),yi;if(r===2&&(e===p5?h5(i):e!==YO&&(_f(i,0,0,!1),e===_5&&(Oo(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),pn(t),t.avail_out===0))return i.last_flush=-1,yi}return e!==Vn?yi:i.wrap<=0?qO:(i.wrap===2?(ue(i,255&t.adler),ue(i,t.adler>>8&255),ue(i,t.adler>>16&255),ue(i,t.adler>>24&255),ue(i,255&t.total_in),ue(i,t.total_in>>8&255),ue(i,t.total_in>>16&255),ue(i,t.total_in>>24&255)):(ld(i,t.adler>>>16),ld(i,65535&t.adler)),pn(t),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?yi:qO)},O5=(t,e)=>{let i=e.length;if(hd(t))return Ar;const n=t.state,r=n.wrap;if(r===2||r===1&&n.status!==xa||n.lookahead)return Ar;if(r===1&&(t.adler=cd(t.adler,e,i,0)),n.wrap=0,i>=n.w_size){r===0&&(Oo(n.head),n.strstart=0,n.block_start=0,n.insert=0);let c=new Uint8Array(n.w_size);c.set(e.subarray(i-n.w_size,i),0),e=c,i=n.w_size}const o=t.avail_in,s=t.next_in,a=t.input;for(t.avail_in=i,t.next_in=0,t.input=e,Va(n);n.lookahead>=3;){let c=n.strstart,d=n.lookahead-2;do n.ins_h=No(n,n.ins_h,n.window[c+3-1]),n.prev[c&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=c,c++;while(--d);n.strstart=c,n.lookahead=2,Va(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=s,t.input=a,t.avail_in=o,n.wrap=r,yi},pd={deflateInit:(t,e)=>$O(t,e,lh,15,8,T5),deflateInit2:$O,deflateReset:ZO,deflateResetKeep:QO,deflateSetHeader:(t,e)=>hd(t)||t.state.wrap!==2?Ar:(t.state.gzhead=e,yi),deflate:w5,deflateEnd:t=>{if(hd(t))return Ar;const e=t.state.status;return t.state=null,e===_s?Es(t,E5):yi},deflateSetDictionary:O5,deflateInfo:"pako deflate (from Nodeca project)"};const N5=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var uh={assign:function(t){const e=Array.prototype.slice.call(arguments,1);for(;e.length;){const i=e.shift();if(i){if(typeof i!="object")throw new TypeError(i+"must be non-object");for(const n in i)N5(i,n)&&(t[n]=i[n])}}return t},flattenChunks:t=>{let e=0;for(let n=0,r=t.length;n=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;_d[254]=_d[254]=1;var Ed={string2buf:t=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(t);let e,i,n,r,o,s=t.length,a=0;for(r=0;r>>6,e[o++]=128|63&i):i<65536?(e[o++]=224|i>>>12,e[o++]=128|i>>>6&63,e[o++]=128|63&i):(e[o++]=240|i>>>18,e[o++]=128|i>>>12&63,e[o++]=128|i>>>6&63,e[o++]=128|63&i);return e},buf2string:(t,e)=>{const i=e||t.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(t.subarray(0,e));let n,r;const o=new Array(2*i);for(r=0,n=0;n4)o[r++]=65533,n+=a-1;else{for(s&=a===2?31:a===3?15:7;a>1&&n1?o[r++]=65533:s<65536?o[r++]=s:(s-=65536,o[r++]=55296|s>>10&1023,o[r++]=56320|1023&s)}}return((s,a)=>{if(a<65534&&s.subarray&&tN)return String.fromCharCode.apply(null,s.length===a?s:s.subarray(0,a));let c="";for(let d=0;d{(e=e||t.length)>t.length&&(e=t.length);let i=e-1;for(;i>=0&&(192&t[i])==128;)i--;return i<0||i===0?e:i+_d[t[i]]>e?i:e}},eN=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};const iN=Object.prototype.toString,{Z_NO_FLUSH:D5,Z_SYNC_FLUSH:P5,Z_FULL_FLUSH:L5,Z_FINISH:k5,Z_OK:hh,Z_STREAM_END:M5,Z_DEFAULT_COMPRESSION:U5,Z_DEFAULT_STRATEGY:x5,Z_DEFLATED:V5}=Ua;function md(t){this.options=uh.assign({level:U5,method:V5,chunkSize:16384,windowBits:15,memLevel:8,strategy:x5},t||{});let e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new eN,this.strm.avail_out=0;let i=pd.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(i!==hh)throw new Error(hs[i]);if(e.header&&pd.deflateSetHeader(this.strm,e.header),e.dictionary){let n;if(n=typeof e.dictionary=="string"?Ed.string2buf(e.dictionary):iN.call(e.dictionary)==="[object ArrayBuffer]"?new Uint8Array(e.dictionary):e.dictionary,i=pd.deflateSetDictionary(this.strm,n),i!==hh)throw new Error(hs[i]);this._dict_set=!0}}function Sf(t,e){const i=new md(e);if(i.push(t,!0),i.err)throw i.msg||hs[i.err];return i.result}md.prototype.push=function(t,e){const i=this.strm,n=this.options.chunkSize;let r,o;if(this.ended)return!1;for(o=e===~~e?e:e===!0?k5:D5,typeof t=="string"?i.input=Ed.string2buf(t):iN.call(t)==="[object ArrayBuffer]"?i.input=new Uint8Array(t):i.input=t,i.next_in=0,i.avail_in=i.input.length;;)if(i.avail_out===0&&(i.output=new Uint8Array(n),i.next_out=0,i.avail_out=n),(o===P5||o===L5)&&i.avail_out<=6)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else{if(r=pd.deflate(i,o),r===M5)return i.next_out>0&&this.onData(i.output.subarray(0,i.next_out)),r=pd.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===hh;if(i.avail_out!==0){if(o>0&&i.next_out>0)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else if(i.avail_in===0)break}else this.onData(i.output)}return!0},md.prototype.onData=function(t){this.chunks.push(t)},md.prototype.onEnd=function(t){t===hh&&(this.result=uh.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var F5={Deflate:md,deflate:Sf,deflateRaw:function(t,e){return(e=e||{}).raw=!0,Sf(t,e)},gzip:function(t,e){return(e=e||{}).gzip=!0,Sf(t,e)},constants:Ua};const ph=16209;var B5=function(t,e){let i,n,r,o,s,a,c,d,l,u,h,p,g,m,f,T,R,A,N,O,w,L,M,j;const H=t.state;i=t.next_in,M=t.input,n=i+(t.avail_in-5),r=t.next_out,j=t.output,o=r-(e-t.avail_out),s=r+(t.avail_out-257),a=H.dmax,c=H.wsize,d=H.whave,l=H.wnext,u=H.window,h=H.hold,p=H.bits,g=H.lencode,m=H.distcode,f=(1<>>24,h>>>=A,p-=A,A=R>>>16&255,A===0)j[r++]=65535&R;else{if(!(16&A)){if(!(64&A)){R=g[(65535&R)+(h&(1<>>=A,p-=A),p<15&&(h+=M[i++]<>>24,h>>>=A,p-=A,A=R>>>16&255,!(16&A)){if(!(64&A)){R=m[(65535&R)+(h&(1<a){t.msg="invalid distance too far back",H.mode=ph;break t}if(h>>>=A,p-=A,A=r-o,O>A){if(A=O-A,A>d&&H.sane){t.msg="invalid distance too far back",H.mode=ph;break t}if(w=0,L=u,l===0){if(w+=c-A,A2;)j[r++]=L[w++],j[r++]=L[w++],j[r++]=L[w++],N-=3;N&&(j[r++]=L[w++],N>1&&(j[r++]=L[w++]))}else{w=r-O;do j[r++]=j[w++],j[r++]=j[w++],j[r++]=j[w++],N-=3;while(N>2);N&&(j[r++]=j[w++],N>1&&(j[r++]=j[w++]))}break}}break}}while(i>3,i-=N,p-=N<<3,h&=(1<{const c=a.bits;let d,l,u,h,p,g,m=0,f=0,T=0,R=0,A=0,N=0,O=0,w=0,L=0,M=0,j=null;const H=new Uint16Array(16),ht=new Uint16Array(16);let lt,rt,Kt,Ft=null;for(m=0;m<=_h;m++)H[m]=0;for(f=0;f=1&&H[R]===0;R--);if(A>R&&(A=R),R===0)return r[o++]=20971520,r[o++]=20971520,a.bits=1,0;for(T=1;T0&&(t===0||R!==1))return-1;for(ht[1]=0,m=1;m<_h;m++)ht[m+1]=ht[m]+H[m];for(f=0;f852||t===2&&L>592)return 1;for(;;){lt=m-O,s[f]+1=g?(rt=Ft[s[f]-g],Kt=j[s[f]-g]):(rt=96,Kt=0),d=1<>O)+l]=lt<<24|rt<<16|Kt|0;while(l!==0);for(d=1<>=1;if(d!==0?(M&=d-1,M+=d):M=0,f++,--H[m]==0){if(m===R)break;m=e[i+s[f]]}if(m>A&&(M&h)!==u){for(O===0&&(O=A),p+=T,N=m-O,w=1<852||t===2&&L>592)return 1;u=M&h,r[u]=A<<24|N<<16|p-o|0}}return M!==0&&(r[p+M]=m-O<<24|64<<16|0),a.bits=A,0};const{Z_FINISH:nN,Z_BLOCK:K5,Z_TREES:Eh,Z_OK:ms,Z_STREAM_END:Y5,Z_NEED_DICT:q5,Z_STREAM_ERROR:Fn,Z_DATA_ERROR:rN,Z_MEM_ERROR:oN,Z_BUF_ERROR:z5,Z_DEFLATED:sN}=Ua,mh=16180,fh=16190,zr=16191,Tf=16192,Rf=16194,gh=16199,Sh=16200,vf=16206,Le=16209,aN=t=>(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24);function X5(){this.strm=null,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 Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const fs=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||e.mode16211?1:0},cN=t=>{if(fs(t))return Fn;const e=t.state;return t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=mh,e.last=0,e.havedict=0,e.flags=-1,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(852),e.distcode=e.distdyn=new Int32Array(592),e.sane=1,e.back=-1,ms},dN=t=>{if(fs(t))return Fn;const e=t.state;return e.wsize=0,e.whave=0,e.wnext=0,cN(t)},lN=(t,e)=>{let i;if(fs(t))return Fn;const n=t.state;return e<0?(i=0,e=-e):(i=5+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?Fn:(n.window!==null&&n.wbits!==e&&(n.window=null),n.wrap=i,n.wbits=e,dN(t))},uN=(t,e)=>{if(!t)return Fn;const i=new X5;t.state=i,i.strm=t,i.window=null,i.mode=mh;const n=lN(t,e);return n!==ms&&(t.state=null),n};let Cf,yf,hN=!0;const J5=t=>{if(hN){Cf=new Int32Array(512),yf=new Int32Array(32);let e=0;for(;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(fd(1,t.lens,0,288,Cf,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;fd(2,t.lens,0,32,yf,0,t.work,{bits:5}),hN=!1}t.lencode=Cf,t.lenbits=9,t.distcode=yf,t.distbits=5},pN=(t,e,i,n)=>{let r;const o=t.state;return o.window===null&&(o.wsize=1<=o.wsize?(o.window.set(e.subarray(i-o.wsize,i),0),o.wnext=0,o.whave=o.wsize):(r=o.wsize-o.wnext,r>n&&(r=n),o.window.set(e.subarray(i-n,i-n+r),o.wnext),(n-=r)?(o.window.set(e.subarray(i-n,i),0),o.wnext=n,o.whave=o.wsize):(o.wnext+=r,o.wnext===o.wsize&&(o.wnext=0),o.whave{let i,n,r,o,s,a,c,d,l,u,h,p,g,m,f,T,R,A,N,O,w,L,M=0;const j=new Uint8Array(4);let H,ht;const lt=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(fs(t)||!t.output||!t.input&&t.avail_in!==0)return Fn;i=t.state,i.mode===zr&&(i.mode=Tf),s=t.next_out,r=t.output,c=t.avail_out,o=t.next_in,n=t.input,a=t.avail_in,d=i.hold,l=i.bits,u=a,h=c,L=ms;t:for(;;)switch(i.mode){case mh:if(i.wrap===0){i.mode=Tf;break}for(;l<16;){if(a===0)break t;a--,d+=n[o++]<>>8&255,i.check=Ei(i.check,j,2,0),d=0,l=0,i.mode=16181;break}if(i.head&&(i.head.done=!1),!(1&i.wrap)||(((255&d)<<8)+(d>>8))%31){t.msg="incorrect header check",i.mode=Le;break}if((15&d)!==sN){t.msg="unknown compression method",i.mode=Le;break}if(d>>>=4,l-=4,w=8+(15&d),i.wbits===0&&(i.wbits=w),w>15||w>i.wbits){t.msg="invalid window size",i.mode=Le;break}i.dmax=1<>8&1),512&si(i)&&4&i.wrap&&(j[0]=255&d,j[1]=d>>>8&255,i.check=Ei(i.check,j,2,0)),d=0,l=0,i.mode=16182;case 16182:for(;l<32;){if(a===0)break t;a--,d+=n[o++]<>>8&255,j[2]=d>>>16&255,j[3]=d>>>24&255,i.check=Ei(i.check,j,4,0)),d=0,l=0,i.mode=16183;case 16183:for(;l<16;){if(a===0)break t;a--,d+=n[o++]<>8),512&si(i)&&4&i.wrap&&(j[0]=255&d,j[1]=d>>>8&255,i.check=Ei(i.check,j,2,0)),d=0,l=0,i.mode=16184;case 16184:if(1024&si(i)){for(;l<16;){if(a===0)break t;a--,d+=n[o++]<>>8&255,i.check=Ei(i.check,j,2,0)),d=0,l=0}else i.head&&(i.head.extra=null);i.mode=16185;case 16185:if(1024&si(i)&&(p=i.length,p>a&&(p=a),p&&(i.head&&(w=i.head.extra_len-i.length,i.head.extra||(i.head.extra=new Uint8Array(i.head.extra_len)),i.head.extra.set(n.subarray(o,o+p),w)),512&si(i)&&4&i.wrap&&(i.check=Ei(i.check,n,p,o)),a-=p,o+=p,i.length-=p),i.length))break t;i.length=0,i.mode=16186;case 16186:if(2048&si(i)){if(a===0)break t;p=0;do w=n[o+p++],i.head&&w&&i.length<65536&&(i.head.name+=String.fromCharCode(w));while(w&&p>9&1,i.head.done=!0),t.adler=i.check=0,i.mode=zr;break;case 16189:for(;l<32;){if(a===0)break t;a--,d+=n[o++]<>>=7&l,l-=7&l,i.mode=vf;break}for(;l<3;){if(a===0)break t;a--,d+=n[o++]<>>=1,l-=1,3&d){case 0:i.mode=16193;break;case 1:if(J5(i),i.mode=gh,e===Eh){d>>>=2,l-=2;break t}break;case 2:i.mode=16196;break;case 3:t.msg="invalid block type",i.mode=Le}d>>>=2,l-=2;break;case 16193:for(d>>>=7&l,l-=7&l;l<32;){if(a===0)break t;a--,d+=n[o++]<>>16^65535)){t.msg="invalid stored block lengths",i.mode=Le;break}if(i.length=65535&d,d=0,l=0,i.mode=Rf,e===Eh)break t;case Rf:i.mode=16195;case 16195:if(p=i.length,p){if(p>a&&(p=a),p>c&&(p=c),p===0)break t;r.set(n.subarray(o,o+p),s),a-=p,o+=p,c-=p,s+=p,i.length-=p;break}i.mode=zr;break;case 16196:for(;l<14;){if(a===0)break t;a--,d+=n[o++]<>>=5,l-=5,i.ndist=1+(31&d),d>>>=5,l-=5,i.ncode=4+(15&d),d>>>=4,l-=4,i.nlen>286||i.ndist>30){t.msg="too many length or distance symbols",i.mode=Le;break}i.have=0,i.mode=16197;case 16197:for(;i.have>>=3,l-=3}for(;i.have<19;)i.lens[lt[i.have++]]=0;if(i.lencode=i.lendyn,i.lenbits=7,H={bits:i.lenbits},L=fd(0,i.lens,0,19,i.lencode,0,i.work,H),i.lenbits=H.bits,L){t.msg="invalid code lengths set",i.mode=Le;break}i.have=0,i.mode=16198;case 16198:for(;i.have>>24,T=M>>>16&255,R=65535&M,!(f<=l);){if(a===0)break t;a--,d+=n[o++]<>>=f,l-=f,i.lens[i.have++]=R;else{if(R===16){for(ht=f+2;l>>=f,l-=f,i.have===0){t.msg="invalid bit length repeat",i.mode=Le;break}w=i.lens[i.have-1],p=3+(3&d),d>>>=2,l-=2}else if(R===17){for(ht=f+3;l>>=f,l-=f,w=0,p=3+(7&d),d>>>=3,l-=3}else{for(ht=f+7;l>>=f,l-=f,w=0,p=11+(127&d),d>>>=7,l-=7}if(i.have+p>i.nlen+i.ndist){t.msg="invalid bit length repeat",i.mode=Le;break}for(;p--;)i.lens[i.have++]=w}}if(i.mode===Le)break;if(i.lens[256]===0){t.msg="invalid code -- missing end-of-block",i.mode=Le;break}if(i.lenbits=9,H={bits:i.lenbits},L=fd(1,i.lens,0,i.nlen,i.lencode,0,i.work,H),i.lenbits=H.bits,L){t.msg="invalid literal/lengths set",i.mode=Le;break}if(i.distbits=6,i.distcode=i.distdyn,H={bits:i.distbits},L=fd(2,i.lens,i.nlen,i.ndist,i.distcode,0,i.work,H),i.distbits=H.bits,L){t.msg="invalid distances set",i.mode=Le;break}if(i.mode=gh,e===Eh)break t;case gh:i.mode=Sh;case Sh:if(a>=6&&c>=258){t.next_out=s,t.avail_out=c,t.next_in=o,t.avail_in=a,i.hold=d,i.bits=l,B5(t,h),s=t.next_out,r=t.output,c=t.avail_out,o=t.next_in,n=t.input,a=t.avail_in,d=i.hold,l=i.bits,i.mode===zr&&(i.back=-1);break}for(i.back=0;M=i.lencode[d&(1<>>24,T=M>>>16&255,R=65535&M,!(f<=l);){if(a===0)break t;a--,d+=n[o++]<>A)],f=M>>>24,T=M>>>16&255,R=65535&M,!(A+f<=l);){if(a===0)break t;a--,d+=n[o++]<>>=A,l-=A,i.back+=A}if(d>>>=f,l-=f,i.back+=f,i.length=R,T===0){i.mode=16205;break}if(32&T){i.back=-1,i.mode=zr;break}if(64&T){t.msg="invalid literal/length code",i.mode=Le;break}i.extra=15&T,i.mode=16201;case 16201:if(i.extra){for(ht=i.extra;l>>=i.extra,l-=i.extra,i.back+=i.extra}i.was=i.length,i.mode=16202;case 16202:for(;M=i.distcode[d&(1<>>24,T=M>>>16&255,R=65535&M,!(f<=l);){if(a===0)break t;a--,d+=n[o++]<>A)],f=M>>>24,T=M>>>16&255,R=65535&M,!(A+f<=l);){if(a===0)break t;a--,d+=n[o++]<>>=A,l-=A,i.back+=A}if(d>>>=f,l-=f,i.back+=f,64&T){t.msg="invalid distance code",i.mode=Le;break}i.offset=R,i.extra=15&T,i.mode=16203;case 16203:if(i.extra){for(ht=i.extra;l>>=i.extra,l-=i.extra,i.back+=i.extra}if(i.offset>i.dmax){t.msg="invalid distance too far back",i.mode=Le;break}i.mode=16204;case 16204:if(c===0)break t;if(p=h-c,i.offset>p){if(p=i.offset-p,p>i.whave&&i.sane){t.msg="invalid distance too far back",i.mode=Le;break}p>i.wnext?(p-=i.wnext,g=i.wsize-p):g=i.wnext-p,p>i.length&&(p=i.length),m=i.window}else m=r,g=s-i.offset,p=i.length;p>c&&(p=c),c-=p,i.length-=p;do r[s++]=m[g++];while(--p);i.length===0&&(i.mode=Sh);break;case 16205:if(c===0)break t;r[s++]=i.length,c--,i.mode=Sh;break;case vf:if(i.wrap){for(;l<32;){if(a===0)break t;a--,d|=n[o++]<uN(t,15),inflateInit2:uN,inflate:Q5,inflateEnd:t=>{if(fs(t))return Fn;let e=t.state;return e.window&&(e.window=null),t.state=null,ms},inflateGetHeader:(t,e)=>{if(fs(t))return Fn;const i=t.state;return 2&i.wrap?(i.head=e,e.done=!1,ms):Fn},inflateSetDictionary:(t,e)=>{const i=e.length;let n,r,o;return fs(t)?Fn:(n=t.state,n.wrap!==0&&n.mode!==fh?Fn:n.mode===fh&&(r=1,r=cd(r,e,i,0),r!==n.check)?rN:(o=pN(t,e,i,i),o?(n.mode=16210,oN):(n.havedict=1,ms)))},inflateInfo:"pako inflate (from Nodeca project)"},Z5=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const _N=Object.prototype.toString,{Z_NO_FLUSH:$5,Z_FINISH:t4,Z_OK:gd,Z_STREAM_END:If,Z_NEED_DICT:Af,Z_STREAM_ERROR:e4,Z_DATA_ERROR:EN,Z_MEM_ERROR:i4}=Ua;function Sd(t){this.options=uh.assign({chunkSize:65536,windowBits:15,to:""},t||{});const e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,e.windowBits===0&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&!(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new eN,this.strm.avail_out=0;let i=Xr.inflateInit2(this.strm,e.windowBits);if(i!==gd)throw new Error(hs[i]);if(this.header=new Z5,Xr.inflateGetHeader(this.strm,this.header),e.dictionary&&(typeof e.dictionary=="string"?e.dictionary=Ed.string2buf(e.dictionary):_N.call(e.dictionary)==="[object ArrayBuffer]"&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(i=Xr.inflateSetDictionary(this.strm,e.dictionary),i!==gd)))throw new Error(hs[i])}function bf(t,e){const i=new Sd(e);if(i.push(t),i.err)throw i.msg||hs[i.err];return i.result}Sd.prototype.push=function(t,e){const i=this.strm,n=this.options.chunkSize,r=this.options.dictionary;let o,s,a;if(this.ended)return!1;for(s=e===~~e?e:e===!0?t4:$5,_N.call(t)==="[object ArrayBuffer]"?i.input=new Uint8Array(t):i.input=t,i.next_in=0,i.avail_in=i.input.length;;){for(i.avail_out===0&&(i.output=new Uint8Array(n),i.next_out=0,i.avail_out=n),o=Xr.inflate(i,s),o===Af&&r&&(o=Xr.inflateSetDictionary(i,r),o===gd?o=Xr.inflate(i,s):o===EN&&(o=Af));i.avail_in>0&&o===If&&i.state.wrap>0&&t[i.next_in]!==0;)Xr.inflateReset(i),o=Xr.inflate(i,s);switch(o){case e4:case EN:case Af:case i4:return this.onEnd(o),this.ended=!0,!1}if(a=i.avail_out,i.next_out&&(i.avail_out===0||o===If))if(this.options.to==="string"){let c=Ed.utf8border(i.output,i.next_out),d=i.next_out-c,l=Ed.buf2string(i.output,c);i.next_out=d,i.avail_out=n-d,d&&i.output.set(i.output.subarray(c,c+d),0),this.onData(l)}else this.onData(i.output.length===i.next_out?i.output:i.output.subarray(0,i.next_out));if(o!==gd||a!==0){if(o===If)return o=Xr.inflateEnd(this.strm),this.onEnd(o),this.ended=!0,!0;if(i.avail_in===0)break}}return!0},Sd.prototype.onData=function(t){this.chunks.push(t)},Sd.prototype.onEnd=function(t){t===gd&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=uh.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var n4={Inflate:Sd,inflate:bf,inflateRaw:function(t,e){return(e=e||{}).raw=!0,bf(t,e)},ungzip:bf,constants:Ua};const{Deflate:SH,deflate:r4,deflateRaw:TH,gzip:RH}=F5,{Inflate:vH,inflate:o4,inflateRaw:CH,ungzip:yH}=n4;var s4=r4,a4=o4,mN=function(t){return t[t.ONE_BYTE=0]="ONE_BYTE",t[t.TWO_BYTE=1]="TWO_BYTE",t}(mN||{});class c4{constructor(){S(this,"_sequence",0),S(this,"_startTime",Date.now()),S(this,"isUseOneByte",!0)}get startTime(){const e=Date.now()-this._startTime;return e128){const a=new Uint8Array(4);a.set([1,0,0,0]);const c={id:0,length:4,data:a.buffer},d={profile:this.isUseOneByte?0:1,length:this.isUseOneByte?5:6,datas:[c]};i.commonPacketHeader.extension=1,i.extension=d,i.payload=this.compress(e),i.commonPacketHeader.length=8+(i.extension.length+2)+i.payload.byteLength}else i.commonPacketHeader.length=8+i.payload.byteLength;y("SHOW_DATASTREAM2_LOG")&&_.debug("send data header: ".concat(JSON.stringify(i.commonPacketHeader)));const n=new ArrayBuffer(i.commonPacketHeader.length),r=new Uint8Array(n),o=new DataView(n);let s=0;if(o.setUint16(s,i.commonPacketHeader.extension<<15|i.commonPacketHeader.reserved<<14|i.commonPacketHeader.length,!0),s+=2,o.setUint32(s,i.commonPacketHeader.sequence,!0),s+=4,o.setUint16(s,i.commonStreamHeader,!0),s+=2,i.extension){const a=this.serializeExtension(i.extension);r.set(new Uint8Array(a),s),s+=a.byteLength}if(r.set(new Uint8Array(i.payload),s),s+=i.payload.byteLength,s!==i.commonPacketHeader.length)throw Error("serialize error!");return n}deserialize(e){if(e.byteLength<4)return new ArrayBuffer(0);const i=new DataView(e);let n=0;const r=i.getUint16(n,!0);n+=2;const o={length:16383&r,reserved:(16384&r)>>14,extension:(32768&r)>>15,sequence:i.getUint16(n+2,!0)<<16|i.getUint16(n,!0)};let s,a;if(n+=4,y("SHOW_DATASTREAM2_LOG")&&_.debug("receive data header: ".concat(JSON.stringify(o))),i.getUint16(n,!0),n+=2,o.extension){a=this.deserializeExtension(e.slice(n)),n+=2+a.length,s=e.slice(n);let c=!1;if(a.datas.length>0){const d=a.datas.find(l=>l.id===0);d&&(c=(1&new DataView(d.data).getUint32(0,!0))==1)}s=c?this.decompress(s):s}else s=e.slice(8);return s}serializeExtension(e){const{profile:i,length:n,datas:r}=e,o=new ArrayBuffer(n+2),s=new Uint8Array(o),a=new DataView(o);let c=0;if(a.setUint8(c++,i),a.setUint8(c++,n),r.forEach(d=>{i?(a.setUint8(c++,d.id),a.setUint8(c++,d.length),s.set(new Uint8Array(d.data),c),c+=d.data.byteLength):(a.setUint8(c++,d.id|d.length<<4),s.set(new Uint8Array(d.data),c),c+=d.data.byteLength)}),c!==n+2)throw Error("serialize extension error, is ".concat(c,"!==").concat(n+2));return o}deserializeExtension(e){const i=new DataView(e);let n=0;const r=i.getUint8(n);n++;const o=i.getUint8(n);n++;const s=r===mN.TWO_BYTE,a=[],c=new DataView(e,2);let d=0;for(;d>4,d++),u>0&&(h=c.buffer.slice(d+2,d+2+u),d+=h.byteLength),a.push({id:l,length:u,data:h})}if(d!==o)throw Error("parse error");return{profile:r,length:o,datas:a}}decompress(e){return a4(new Uint8Array(e))}compress(e){return s4(new Uint8Array(e))}}const d4={name:"DataStream",create:(t,e)=>{const i=e?new g3(t):new S3(t);return i.useDataStream(new c4),i}};class l4 extends $t{constructor(e,i,n){super(),S(this,"ws",void 0),S(this,"requestId",1),S(this,"heartBeatTimer",void 0),S(this,"joinInfo",void 0),S(this,"clientId",void 0),S(this,"onOpen",()=>{this.emit("open"),this.startHeartBeatCheck()}),S(this,"onClose",r=>{this.emit("close"),this.dispose()}),S(this,"onMessage",r=>{const o=JSON.parse(r.data);if(!o||o.command!=="serverResponse"||!o.requestId)return o&&o.command==="serverStatus"&&o.serverStatus&&o.serverStatus.command?(this.emit("status",o.serverStatus),void this.emit(o.serverStatus.command,o.serverStatus)):void 0;this.emit("req_".concat(o.requestId),o)}),this.joinInfo=e,this.clientId=i,this.ws=new Gc("cross-channel-".concat(this.clientId),n),this.ws.on(dt.RECONNECTING,()=>{this.ws.reconnectMode="retry",this.emit("reconnecting")}),this.ws.on(dt.CONNECTED,this.onOpen),this.ws.on(dt.ON_MESSAGE,this.onMessage),this.ws.on(dt.CLOSED,this.onClose)}isConnect(){return this.ws.state==="connected"}sendMessage(e){const i=this.requestId++;return e.requestId=i,e.seq=i,this.ws.sendMessage(e),i}waitStatus(e){return new K((i,n)=>{const r=window.setTimeout(()=>{n(new P(v.TIMEOUT,"wait status timeout, status: ".concat(e)))},5e3);this.once(e,o=>{window.clearTimeout(r),o.state&&o.state!==0?n(new P(v.CROSS_CHANNEL_WAIT_STATUS_ERROR,"wait status error, status: ".concat(e))):i(void 0)}),this.once("dispose",()=>{window.clearTimeout(r),n(new P(v.WS_ABORT))})})}request(e){return C(this,null,function*(){if(this.ws.state==="closed")throw new P(v.WS_DISCONNECT);const i=()=>new K((s,a)=>{this.ws.once(dt.CLOSED,()=>a(new P(v.WS_ABORT))),this.ws.once(dt.CONNECTED,s)});this.ws.state!=="connected"&&(yield i());const n=this.sendMessage(e),r=new K((s,a)=>{const c=()=>{a(new P(v.WS_ABORT))};this.ws.once(dt.RECONNECTING,c),this.ws.once(dt.CLOSED,c),this.once("req_".concat(n),s),Ue(3e3).then(()=>{this.removeAllListeners("req_".concat(n)),this.ws.off(dt.RECONNECTING,c),this.ws.off(dt.CLOSED,c),a(new P(v.TIMEOUT,"cross channel ws request timeout"))})}),o=yield r;if(!o||o.code!==200)throw new P(v.CROSS_CHANNEL_SERVER_ERROR_RESPONSE,"response: ".concat(JSON.stringify(o)));return o})}connect(e){return C(this,null,function*(){this.ws.removeAllListeners(dt.REQUEST_NEW_URLS),this.ws.on(dt.REQUEST_NEW_URLS,i=>{i(e)}),yield this.ws.init(e)})}dispose(){this.clearHeartBeatCheck(),this.emit("dispose"),this.removeAllListeners(),this.ws.close()}sendPing(e){const i=this.requestId++;return e.requestId=i,this.ws.sendMessage(e),i}startHeartBeatCheck(){this.heartBeatTimer&&window.clearInterval(this.heartBeatTimer),this.heartBeatTimer=window.setInterval(()=>{this.sendPing({command:"ping",appId:this.joinInfo.appId,cname:this.joinInfo.cname,uid:this.joinInfo.uid.toString(),sid:this.joinInfo.sid,ts:+new Date,requestId:0})},3e3)}clearHeartBeatCheck(){window.clearInterval(this.heartBeatTimer),this.heartBeatTimer=void 0}}class u4 extends $t{set state(e){e!==this._state&&(e!==Di.RELAY_STATE_FAILURE&&(this.errorCode=va.RELAY_OK),this.emit("state",e,this.errorCode),this._state=e)}get state(){return this._state}constructor(e,i,n,r,o){super(),S(this,"joinInfo",void 0),S(this,"sid",void 0),S(this,"clientId",void 0),S(this,"cancelToken",Ti.CancelToken.source()),S(this,"workerToken",void 0),S(this,"requestId",0),S(this,"signal",void 0),S(this,"prevChannelMediaConfig",void 0),S(this,"httpRetryConfig",void 0),S(this,"_resolution",void 0),S(this,"_state",Di.RELAY_STATE_IDLE),S(this,"errorCode",va.RELAY_OK),S(this,"onStatus",s=>{_.debug("[".concat(this.clientId,"] ChannelMediaStatus: ").concat(JSON.stringify(s))),s&&s.command&&(s.command==="onAudioPacketReceived"&&this.emit("event",Wr.PACKET_RECEIVED_AUDIO_FROM_SRC),s.command==="onVideoPacketReceived"&&this.emit("event",Wr.PACKET_RECEIVED_VIDEO_FROM_SRC),s.command==="onSrcTokenPrivilegeDidExpire"&&(this.errorCode=va.SRC_TOKEN_EXPIRED,this.state=Di.RELAY_STATE_FAILURE),s.command==="onDestTokenPrivilegeDidExpire"&&(this.errorCode=va.DEST_TOKEN_EXPIRED,this.state=Di.RELAY_STATE_FAILURE))}),S(this,"onReconnect",()=>C(this,null,function*(){_.debug("[".concat(this.clientId,"] ChannelMediaSocket disconnect, reconnecting")),this.emit("event",Wr.NETWORK_DISCONNECTED),this.state=Di.RELAY_STATE_IDLE,this.prevChannelMediaConfig&&this.sendStartRelayMessage(this.prevChannelMediaConfig).catch(s=>{this.state!==Di.RELAY_STATE_IDLE&&(_.error("auto restart channel media relay failed",s.toString()),this.errorCode=va.SERVER_CONNECTION_LOST,this.state=Di.RELAY_STATE_FAILURE)})})),this.joinInfo=e,this.clientId=i,this.sid=Zo(),this.signal=new l4(this.joinInfo,this.clientId,n),this.httpRetryConfig=r,this._resolution=o}startChannelMediaRelay(e){return C(this,null,function*(){if(this.state!==Di.RELAY_STATE_IDLE)throw new P(v.INVALID_OPERATION);this.state=Di.RELAY_STATE_CONNECTING,yield this.connect(),_.debug("[".concat(this.clientId,"] startChannelMediaRelay: connect success"));try{yield this.sendStartRelayMessage(e)}catch(i){throw i.data&&i.data.serverResponse&&i.data.serverResponse.command==="SetSourceChannel"?new P(v.CROSS_CHANNEL_FAILED_JOIN_SRC):i.data&&i.data.serverResponse&&i.serverResponse.command==="SetDestChannelStatus"?new P(v.CROSS_CHANNEL_FAILED_JOIN_DEST):i.data&&i.data.serverResponse&&i.serverResponse.command==="StartPacketTransfer"?new P(v.CROSS_CHANNEL_FAILED_PACKET_SENT_TO_DEST):i}this.prevChannelMediaConfig=e})}updateChannelMediaRelay(e){return C(this,null,function*(){if(this.state!==Di.RELAY_STATE_RUNNING)throw new P(v.INVALID_OPERATION);yield this.sendUpdateMessage(e),this.prevChannelMediaConfig=e})}setVideoProfile(e){return C(this,null,function*(){if(this._resolution=e,this.state!==Di.RELAY_STATE_RUNNING)throw new P(v.INVALID_OPERATION);const i=this.genMessage(_i.SetVideoProfile);yield this.signal.request(i),_.debug("[".concat(this.clientId,"] startChannelMediaRelay: setVideoProfile success"))})}stopChannelMediaRelay(){return C(this,null,function*(){yield this.sendStopRelayMessage(),_.debug("[".concat(this.clientId,"] stopChannelMediaRelay: send stop message success")),this.state=Di.RELAY_STATE_IDLE,this.dispose()})}dispose(){_.debug("[".concat(this.clientId,"] disposeChannelMediaRelay")),this.cancelToken.cancel(),this.cancelToken=Ti.CancelToken.source(),this.state=Di.RELAY_STATE_IDLE,this.emit("dispose"),this.signal.dispose(),this.prevChannelMediaConfig=void 0}connect(){return C(this,null,function*(){const e=yield yW(this.joinInfo,this.cancelToken.token,this.httpRetryConfig);this.workerToken=e.workerToken,yield this.signal.connect(e.addressList),this.emit("event",Wr.NETWORK_CONNECTED),this.signal.on("status",this.onStatus),this.signal.on("reconnecting",this.onReconnect)})}sendStartRelayMessage(e){return C(this,null,function*(){const i=this.genMessage(_i.StopPacketTransfer);yield this.signal.request(i),yield this.signal.waitStatus("Normal Quit"),_.debug("[".concat(this.clientId,"] startChannelMediaRelay: StopPacketTransfer success"));const n=this.genMessage(_i.SetSdkProfile,e);yield this.signal.request(n),_.debug("[".concat(this.clientId,"] startChannelMediaRelay: SetSdkProfile success"));const r=this.genMessage(_i.SetSourceChannel,e);yield this.signal.request(r),yield this.signal.waitStatus("SetSourceChannelStatus"),this.emit("event",Wr.PACKET_JOINED_SRC_CHANNEL),_.debug("[".concat(this.clientId,"] startChannelMediaRelay: SetSourceChannel success"));const o=this.genMessage(_i.SetSourceUserId,e);yield this.signal.request(o),_.debug("[".concat(this.clientId,"] startChannelMediaRelay: SetSourceUserId success"));const s=this.genMessage(_i.SetDestChannel,e);yield this.signal.request(s),yield this.signal.waitStatus("SetDestChannelStatus"),this.emit("event",Wr.PACKET_JOINED_DEST_CHANNEL),_.debug("[".concat(this.clientId,"] startChannelMediaRelay: SetDestChannel success"));const a=this.genMessage(_i.StartPacketTransfer,e);yield this.signal.request(a),this.emit("event",Wr.PACKET_SENT_TO_DEST_CHANNEL),this.state=Di.RELAY_STATE_RUNNING,_.debug("[".concat(this.clientId,"] startChannelMediaRelay: StartPacketTransfer success")),this.setVideoProfile(this._resolution)})}sendUpdateMessage(e){return C(this,null,function*(){const i=this.genMessage(_i.UpdateDestChannel,e);yield this.signal.request(i),this.emit("event",Wr.PACKET_UPDATE_DEST_CHANNEL),_.debug("[".concat(this.clientId,"] sendUpdateMessage: UpdateDestChannel success"))})}sendStopRelayMessage(){return C(this,null,function*(){const e=this.genMessage(_i.StopPacketTransfer);yield this.signal.request(e),_.debug("[".concat(this.clientId,"] sendStopRelayMessage: StopPacketTransfer success"))})}genMessage(e,i){const n=[],r=[],o=[];this.requestId+=1;const s={appId:this.joinInfo.appId,cname:this.joinInfo.cname,uid:this.joinInfo.uid.toString(),sdkVersion:dn,sid:this.sid,ts:Date.now(),requestId:this.requestId,seq:this.requestId,allocate:!0,clientRequest:{}};s.sdkVersion==="4.23.4"&&(s.sdkVersion="0.0.1");let a=null,c=null;switch(e){case _i.SetSdkProfile:return s.clientRequest={command:"SetSdkProfile",type:"multi_channel"},s;case _i.SetSourceChannel:if(c=i&&i.getSrcChannelMediaInfo(),!c)throw new P(v.UNEXPECTED_ERROR,"can not find source config");return s.clientRequest={command:"SetSourceChannel",uid:"0",channelName:c.channelName,token:c.token||this.joinInfo.appId},s;case _i.SetSourceUserId:if(c=i&&i.getSrcChannelMediaInfo(),!c)throw new P(v.UNEXPECTED_ERROR,"can not find source config");return s.clientRequest={command:"SetSourceUserId",uid:c.uid+""},s;case _i.SetDestChannel:if(a=i&&i.getDestChannelMediaInfo(),!a)throw new P(v.UNEXPECTED_ERROR,"can not find dest config");return a.forEach(d=>{n.push(d.channelName),r.push(d.uid+""),o.push(d.token||this.joinInfo.appId)}),s.clientRequest={command:"SetDestChannel",channelName:n,uid:r,token:o},s;case _i.StartPacketTransfer:return s.clientRequest={command:"StartPacketTransfer"},s;case _i.Reconnect:return s.clientRequest={command:"Reconnect"},s;case _i.StopPacketTransfer:return s.clientRequest={command:"StopPacketTransfer"},s;case _i.UpdateDestChannel:if(a=i&&i.getDestChannelMediaInfo(),!a)throw new P(v.UNEXPECTED_ERROR,"can not find dest config");return a.forEach(d=>{n.push(d.channelName),r.push(d.uid+""),o.push(d.token||this.joinInfo.appId)}),s.clientRequest={command:"UpdateDestChannel",channelName:n,uid:r,token:o},s;case _i.SetVideoProfile:s.clientRequest={command:"SetVideoProfile",width:this._resolution.width,height:this._resolution.height}}return s}}const h4={name:"ChannelMediaRelay",create:function(t){return new u4(t.joinInfo,t.clientId,t.websocketRetryConfig||ge,t.httpRetryConfig||ge,t.resolution)}};function fN(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function Td(t){for(var e=1;e{this.reconnectMode="retry",this.startPingPong()}),S(this,"handleWebSocketMessage",o=>{if(!o.data)return;const s=JSON.parse(o.data);s.requestId?this.emit("@".concat(s.requestId,"-").concat(s.sid),s):(Z.workerEvent(this.spec.sid,{actionType:"status",serverCode:s.code,workerType:this.serviceMode===Gr.TRANSCODE?1:2}),this.emit(fo.PUBLISH_STREAM_STATUS,s))}),this.spec=i,this.token=e,this.serviceMode=r,this.websocket=new Gc("live-streaming",n),this.websocket.on(dt.CONNECTED,this.handleWebSocketOpen),this.websocket.on(dt.ON_MESSAGE,this.handleWebSocketMessage),this.websocket.on(dt.REQUEST_NEW_URLS,(o,s)=>{We(this,fo.REQUEST_NEW_ADDRESS).then(o).catch(s)}),this.websocket.on(dt.RECONNECTING,()=>{this.websocket.reconnectMode=this.reconnectMode})}init(e){return this.websocket.init(e)}request(e,i,n,r){return C(this,null,function*(){this.reqId+=1,e==="request"&&(this.commandReqId+=1);const o=this.commandReqId,s=this.reqId;if(!s||!this.websocket)throw new P(v.UNEXPECTED_ERROR);const a=Td({command:e,sdkVersion:dn==="4.23.4"?"0.0.1":dn,seq:s,requestId:s,allocate:n,cname:this.spec.cname,appId:this.spec.appId,sid:this.spec.sid,uid:this.spec.uid.toString(),ts:Math.floor(Date.now()/1e3)},i);if(this.websocket.state==="closed")throw new P(v.WS_DISCONNECT);const c=()=>new K((h,p)=>{this.websocket.once(dt.CLOSED,()=>p(new P(v.WS_ABORT))),this.websocket.once(dt.CONNECTED,h)});this.websocket.state!=="connected"&&(yield c()),a.clientRequest&&(a.clientRequest.workerToken=this.token);const d=new K((h,p)=>{const g=()=>{p(new P(v.WS_ABORT))};this.websocket.once(dt.RECONNECTING,g),this.websocket.once(dt.CLOSED,g),this.once("@".concat(s,"-").concat(this.spec.sid),m=>{h(m)})});r&&Z.workerEvent(this.spec.sid,Td(Td({},r),{},{requestId:o,actionType:"request",payload:JSON.stringify(i.clientRequest),serverCode:0,code:0}));const l=Date.now();this.websocket.sendMessage(a);let u=null;try{u=yield d}catch(h){if(this.websocket.state==="closed")throw h;return yield c(),yield this.request(e,i,n)}return r&&Z.workerEvent(this.spec.sid,Td(Td({},r),{},{requestId:o,actionType:"response",payload:JSON.stringify(u.serverResponse),serverCode:u.code,success:u.code===200,responseTime:Date.now()-l})),u.code!==200&&this.handleResponseError(u),u})}tryNextAddress(){this.reconnectMode="tryNext",this.websocket.reconnect("tryNext")}close(){const e=dn==="4.23.4"?"0.0.1":dn;this.reqId+=1,this.websocket.state==="connected"?(this.websocket.sendMessage({command:"request",appId:this.spec.appId,cname:this.spec.cname,uid:this.spec.uid.toString(),sdkVersion:e,sid:this.spec.sid,seq:this.reqId,ts:Math.floor(Date.now()/1e3),requestId:this.reqId,clientRequest:{command:"DestroyWorker"}}),this.websocket.close(!1,!0)):this.websocket.close(!1),this.pingpongTimer&&(window.clearInterval(this.pingpongTimer),this.pingpongTimer=void 0)}handleResponseError(e){switch(e.code){case Ce.LIVE_STREAM_RESPONSE_ALREADY_EXISTS_STREAM:return void _.warning("live stream response already exists stream");case Ce.LIVE_STREAM_RESPONSE_TRANSCODING_PARAMETER_ERROR:case Ce.LIVE_STREAM_RESPONSE_BAD_STREAM:case Ce.LIVE_STREAM_RESPONSE_WM_PARAMETER_ERROR:return new P(v.LIVE_STREAMING_INVALID_ARGUMENT,"",{code:e.code}).throw();case Ce.LIVE_STREAM_RESPONSE_WM_WORKER_NOT_EXIST:if(e.serverResponse.command==="UnpublishStream")return;throw new P(v.LIVE_STREAMING_INTERNAL_SERVER_ERROR,"live stream response wm worker not exist",{retry:!0});case Ce.LIVE_STREAM_RESPONSE_NOT_AUTHORIZED:return new P(v.LIVE_STREAMING_PUBLISH_STREAM_NOT_AUTHORIZED,"",{code:e.code}).throw();case Ce.LIVE_STREAM_RESPONSE_FAILED_LOAD_IMAGE:{const i=new P(v.LIVE_STREAMING_WARN_FAILED_LOAD_IMAGE);return this.emit(fo.WARNING,i,e.serverResponse.url)}case Ce.LIVE_STREAM_RESPONSE_REQUEST_TOO_OFTEN:{const i=new P(v.LIVE_STREAMING_WARN_FREQUENT_REQUEST);return this.emit(fo.WARNING,i,e.serverResponse.url)}case Ce.LIVE_STREAM_RESPONSE_NOT_FOUND_PUBLISH:throw new P(v.LIVE_STREAMING_INTERNAL_SERVER_ERROR,"live stream response wm worker not exist",{retry:!0});case Ce.LIVE_STREAM_RESPONSE_NOT_SUPPORTED:return new P(v.LIVE_STREAMING_TRANSCODING_NOT_SUPPORTED,"",{code:e.code}).throw();case Ce.LIVE_STREAM_RESPONSE_MAX_STREAM_NUM:{const i=new P(v.LIVE_STREAMING_WARN_STREAM_NUM_REACH_LIMIT);return this.emit(fo.WARNING,i,e.serverResponse.url)}case Ce.LIVE_STREAM_RESPONSE_INTERNAL_SERVER_ERROR:return new P(v.LIVE_STREAMING_INTERNAL_SERVER_ERROR,"",{code:e.code}).throw();case Ce.LIVE_STREAM_RESPONSE_RESOURCE_LIMIT:throw new P(v.LIVE_STREAMING_INTERNAL_SERVER_ERROR,"live stream resource limit",{retry:!0,changeAddress:!0});case Ce.LIVE_STREAM_RESPONSE_WORKER_LOST:case Ce.LIVE_STREAM_RESPONSE_WORKER_QUIT:if(e.serverResponse.command==="UnpublishStream")return;throw new P(v.LIVE_STREAMING_INTERNAL_SERVER_ERROR,"error fail send message",{retry:!0,changeAddress:!0});case Ce.ERROR_FAIL_SEND_MESSAGE:if(e.serverResponse.command==="UnpublishStream")return;if(e.serverResponse.command==="UpdateTranscoding"||e.serverResponse.command==="ControlStream")return new P(v.LIVE_STREAMING_INTERNAL_SERVER_ERROR,"error fail send message",{code:e.code}).throw();throw new P(v.LIVE_STREAMING_INTERNAL_SERVER_ERROR,"error fail send message",{retry:!0,changeAddress:!0});case Ce.PUBLISH_STREAM_STATUS_ERROR_PUBLISH_BROKEN:case Ce.PUBLISH_STREAM_STATUS_ERROR_RTMP_CONNECT:case Ce.PUBLISH_STREAM_STATUS_ERROR_RTMP_HANDSHAKE:case Ce.PUBLISH_STREAM_STATUS_ERROR_RTMP_PUBLISH:return new P(v.LIVE_STREAMING_CDN_ERROR,"",{code:e.code}).throw()}}startPingPong(){this.pingpongTimer&&window.clearInterval(this.pingpongTimer),this.pingpongTimer=window.setInterval(()=>{this.websocket.state==="connected"&&this.request("ping",{}).catch(lu)},6e3)}}function gN(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function Pi(t){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:ge,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ge;super(),S(this,"onLiveStreamWarning",void 0),S(this,"onLiveStreamError",void 0),S(this,"spec",void 0),S(this,"retryTimeout",1e4),S(this,"connection",void 0),S(this,"httpRetryConfig",void 0),S(this,"wsRetryConfig",void 0),S(this,"streamingTasks",new Map),S(this,"isStartingStreamingTask",!1),S(this,"taskMutex",new qe("live-streaming")),S(this,"cancelToken",Ti.CancelToken.source()),S(this,"transcodingConfig",void 0),S(this,"uapResponse",void 0),S(this,"lastTaskId",1),S(this,"statusError",new Map),this.spec=e,this.httpRetryConfig=n,this.wsRetryConfig=i}setTranscodingConfig(e){return C(this,null,function*(){const i=Pi(Pi({},nW),e);i.videoCodecProfile!==66&&i.videoCodecProfile!==77&&i.videoCodecProfile!==100&&(_.debug("[".concat(this.spec.clientId,"] set transcoding config, fix video codec profile: ").concat(i.videoCodecProfile," -> 100")),i.videoCodecProfile=100),i.transcodingUsers||(i.transcodingUsers=i.userConfigs),i.transcodingUsers&&(i.transcodingUsers=i.transcodingUsers.map(s=>Pi(Pi(Pi({},iW),s),{},{zOrder:s.zOrder?s.zOrder+1:1}))),function(s){re(s.width)||xt(s.width,"config.width",0,1e4),re(s.height)||xt(s.height,"config.height",0,1e4),re(s.videoBitrate)||xt(s.videoBitrate,"config.videoBitrate",1,1e6),re(s.videoFrameRate)||xt(s.videoFrameRate,"config.videoFrameRate"),re(s.lowLatency)||Fr(s.lowLatency,"config.lowLatency"),re(s.audioSampleRate)||Ae(s.audioSampleRate,"config.audioSampleRate",[32e3,44100,48e3]),re(s.audioBitrate)||xt(s.audioBitrate,"config.audioBitrate",1,128),re(s.audioChannels)||Ae(s.audioChannels,"config.audioChannels",[1,2,3,4,5]),re(s.videoGop)||xt(s.videoGop,"config.videoGop"),re(s.videoCodecProfile)||Ae(s.videoCodecProfile,"config.videoCodecProfile",[66,77,100]),re(s.userCount)||xt(s.userCount,"config.userCount",0,17),re(s.backgroundColor)||xt(s.backgroundColor,"config.backgroundColor",0,16777215),re(s.userConfigExtraInfo)||Me(s.userConfigExtraInfo,"config.userConfigExtraInfo",0,4096,!1),s.transcodingUsers&&!re(s.transcodingUsers)&&(Br(s.transcodingUsers,"config.transcodingUsers"),s.transcodingUsers.forEach((a,c)=>{ku(a.uid),re(a.x)||xt(a.x,"transcodingUser[".concat(c,"].x"),0,1e4),re(a.y)||xt(a.y,"transcodingUser[".concat(c,"].y"),0,1e4),re(a.width)||xt(a.width,"transcodingUser[".concat(c,"].width"),0,1e4),re(a.height)||xt(a.height,"transcodingUser[".concat(c,"].height"),0,1e4),re(a.zOrder)||xt(a.zOrder-1,"transcodingUser[".concat(c,"].zOrder"),0,100),re(a.alpha)||xt(a.alpha,"transcodingUser[".concat(c,"].alpha"),0,1,!1)})),re(s.watermark)||Im(s.watermark,"watermark"),re(s.backgroundImage)||Im(s.backgroundImage,"backgroundImage"),s.images&&!re(s.images)&&(Br(s.images,"config.images"),s.images.forEach((a,c)=>{Im(a,"images[".concat(c,"]"))}))}(i);const n=[];i.images&&n.push(...i.images.map(s=>Pi(Pi(Pi({},ym),s),{},{zOrder:255}))),i.backgroundImage&&(n.push(Pi(Pi(Pi({},ym),i.backgroundImage),{},{zOrder:0})),delete i.backgroundImage),i.watermark&&(n.push(Pi(Pi(Pi({},ym),i.watermark),{},{zOrder:255})),delete i.watermark),i.images=n,i.transcodingUsers&&(i.userConfigs=i.transcodingUsers.map(s=>Pi({},s)),i.userCount=i.transcodingUsers.length,delete i.transcodingUsers);const r=(i.userConfigs||[]).map(s=>typeof s.uid=="number"?K.resolve(s.uid):jw(s.uid,this.spec,this.cancelToken.token,this.httpRetryConfig));if((yield K.all(r)).forEach((s,a)=>{i.userConfigs&&i.userConfigs[a]&&(i.userConfigs[a].uid=s)}),this.transcodingConfig=i,this.connection)try{var o;const s=yield this.connection.request("request",{clientRequest:{command:"UpdateTranscoding",transcodingConfig:this.transcodingConfig}},!1,{command:"UpdateTranscoding",workerType:1,requestByUser:!0,tid:Array.from(Ui(o=this.streamingTasks).call(o)).map(a=>a.taskId).join("#")});_.debug("[".concat(this.spec.clientId,"] update live transcoding config success, code: ").concat(s.code,", config:"),JSON.stringify(this.transcodingConfig))}catch(s){if(!s.data||!s.data.retry)throw s;s.data.changeAddress&&this.connection.tryNextAddress(),this.streamingTasks.forEach(a=>{_.warning("[".concat(this.spec.clientId,"] live streaming receive error"),s.toString(),"try to republish",a.url),this.startLiveStreamingTask(a.url,a.mode,s).then(()=>{_.debug("[".concat(this.spec.clientId,"] live streaming republish ").concat(a.url," success"))}).catch(c=>{_.error("[".concat(this.spec.clientId,"] live streaming republish failed"),a.url,c.toString()),this.onLiveStreamError&&this.onLiveStreamError(a.url,c)})})}})}startLiveStreamingTask(e,i,n){return C(this,null,function*(){if(!this.transcodingConfig&&i===Gr.TRANSCODE)throw new P(v.INVALID_OPERATION,"[LiveStreaming] no transcoding config found, can not start transcoding streaming task");const r={command:"PublishStream",ts:Date.now(),url:e,uid:this.spec.uid.toString(),autoDestroyTime:100,acceptImageTimeout:!0};_.debug("[".concat(this.spec.clientId,"] start live streaming ").concat(e,", mode: ").concat(i));const o=yield this.taskMutex.lock();if(!this.connection&&n)return void o();if(this.streamingTasks.get(e)&&!n)return o(),new P(v.LIVE_STREAMING_TASK_CONFLICT).throw();try{this.connection||(this.connection=yield this.connect(i))}catch(a){throw o(),a}switch(i){case Gr.TRANSCODE:r.transcodingConfig=Pi({},this.transcodingConfig)}this.uapResponse&&this.uapResponse.vid&&(r.vid=this.uapResponse.vid),this.isStartingStreamingTask=!0;const s=this.lastTaskId++;try{const a=new K((d,l)=>{Ue(this.retryTimeout).then(()=>{if(n)return l(n);const u=this.statusError.get(e);return u?(this.statusError.delete(e),l(u)):void 0})}),c=yield K.race([this.connection.request("request",{clientRequest:r},!0,{url:e,command:"PublishStream",workerType:i===Gr.TRANSCODE?1:2,requestByUser:!n,tid:s.toString()}),a]);this.isStartingStreamingTask=!1,_.debug("[".concat(this.spec.clientId,"] live streaming started, code: ").concat(c.code)),this.streamingTasks.set(e,{clientRequest:r,mode:i,url:e,taskId:s}),o()}catch(a){if(o(),this.isStartingStreamingTask=!1,!a.data||!a.data.retry||n)throw a;return a.data.changeAddress?(this.connection.tryNextAddress(),yield this.startLiveStreamingTask(e,i,a)):yield this.startLiveStreamingTask(e,i,a)}})}stopLiveStreamingTask(e){return new K((i,n)=>{const r=this.streamingTasks.get(e);if(!r||!this.connection)return new P(v.UNEXPECTED_ERROR,"can not find streaming task to stop").throw();const o=r.mode;r.abortTask=()=>{_.debug("[".concat(this.spec.clientId,"] stop live streaming success(worker exception)")),this.streamingTasks.delete(e),i()},this.connection.request("request",{clientRequest:{command:"UnpublishStream",url:r.url}},!1,{url:e,command:"UnPublishStream",workerType:o===Gr.TRANSCODE?1:2,requestByUser:!0,tid:(this.lastTaskId++).toString()}).then(s=>{_.debug("[".concat(this.spec.clientId,"] stop live streaming success, code: ").concat(s.code)),this.streamingTasks.delete(e),this.streamingTasks.size===0&&(this.connection&&this.connection.close(),this.connection=void 0),i()}).catch(n)})}resetAllTask(){var e;const i=Array.from(Ui(e=this.streamingTasks).call(e));this.terminate();for(const n of i)this.startLiveStreamingTask(n.url,n.mode).catch(r=>{this.onLiveStreamError&&this.onLiveStreamError(n.url,r)})}terminate(){this.cancelToken&&this.cancelToken.cancel(),this.streamingTasks=new Map,this.isStartingStreamingTask=!1,this.statusError=new Map,this.cancelToken=Ti.CancelToken.source(),this.uapResponse=void 0,this.connection&&this.connection.close(),this.connection=void 0}connect(e){return C(this,null,function*(){if(this.connection)throw new P(v.UNEXPECTED_ERROR,"live streaming connection has already connected");const i=yield We(this,Am.REQUEST_WORKER_MANAGER_LIST,e);return this.uapResponse=i,this.connection=new p4(i.workerToken,this.spec,this.wsRetryConfig,e),this.connection.on(fo.WARNING,(n,r)=>this.onLiveStreamWarning&&this.onLiveStreamWarning(r,n)),this.connection.on(fo.PUBLISH_STREAM_STATUS,n=>this.handlePublishStreamServer(n)),this.connection.on(fo.REQUEST_NEW_ADDRESS,(n,r)=>{if(!this.connection)return r(new P(v.UNEXPECTED_ERROR,"can not get new live streaming address list"));We(this,Am.REQUEST_WORKER_MANAGER_LIST,e).then(o=>{this.uapResponse=o,n(o.addressList)}).catch(r)}),yield this.connection.init(i.addressList),this.connection})}handlePublishStreamServer(e){const i=e.serverStatus&&e.serverStatus.url||"empty_url",n=this.streamingTasks.get(i),r=e.reason;switch(e.code){case Ce.PUBLISH_STREAM_STATUS_ERROR_PUBLISH_BROKEN:case Ce.PUBLISH_STREAM_STATUS_ERROR_RTMP_CONNECT:case Ce.PUBLISH_STREAM_STATUS_ERROR_RTMP_HANDSHAKE:case Ce.PUBLISH_STREAM_STATUS_ERROR_RTMP_PUBLISH:{const s=new P(v.LIVE_STREAMING_CDN_ERROR,"",{code:e.code});if(n)return _.error(s.toString()),this.onLiveStreamError&&this.onLiveStreamError(i,s);if(!this.isStartingStreamingTask)return;this.statusError.set(i,s)}case Ce.LIVE_STREAM_RESPONSE_FAILED_LOAD_IMAGE:{const s=new P(v.LIVE_STREAMING_WARN_FAILED_LOAD_IMAGE,r);return this.onLiveStreamWarning&&this.onLiveStreamWarning(i,s)}case Ce.LIVE_STREAM_RESPONSE_WORKER_LOST:case Ce.LIVE_STREAM_RESPONSE_WORKER_QUIT:{var o;if(!this.connection)return;this.connection.tryNextAddress();const s=Array.from(Ui(o=this.streamingTasks).call(o));for(const a of s)a.abortTask?a.abortTask():(_.warning("[".concat(this.spec.clientId,"] publish stream status code"),e.code,"try to republish",a.url),this.startLiveStreamingTask(a.url,a.mode,new P(v.LIVE_STREAMING_INTERNAL_SERVER_ERROR,"",{code:e.code})).then(()=>{_.debug("[".concat(this.spec.clientId,"] republish live stream success"),a.url)}).catch(c=>{_.error(c.toString()),this.onLiveStreamError&&this.onLiveStreamError(a.url,c)}));return}}}hasUrl(e){return this.streamingTasks.has(e)}}const E4={name:"LiveStreaming",create:function(t){return new _4(t.joinInfo,t.websocketRetryConfig||ge,t.httpRetryConfig||ge)}};function m4(t){let e=RN();return function(i,n){let r=i.appId;r!==void 0&&(Dt(n,10),Or(n,r));let o=i.cid;o!==void 0&&(Dt(n,16),Dt(n,o));let s=i.cname;s!==void 0&&(Dt(n,26),Or(n,s));let a=i.deviceId;a!==void 0&&(Dt(n,34),Or(n,a));let c=i.elapse;c!==void 0&&(Dt(n,40),Do(n,c));let d=i.fileSize;d!==void 0&&(Dt(n,48),Do(n,Ba(d)));let l=i.height;l!==void 0&&(Dt(n,56),Do(n,Ba(l)));let u=i.jpg;u!==void 0&&(Dt(n,66),Dt(n,u.length),function(Ii,U){let B=ja(Ii,U.length);Ii.bytes.set(U,B)}(n,u));let h=i.networkType;h!==void 0&&(Dt(n,72),Do(n,Ba(h)));let p=i.osType;p!==void 0&&(Dt(n,80),Do(n,Ba(p)));let g=i.requestId;g!==void 0&&(Dt(n,90),Or(n,g));let m=i.sdkVersion;m!==void 0&&(Dt(n,98),Or(n,m));let f=i.sequence;f!==void 0&&(Dt(n,104),Do(n,Ba(f)));let T=i.sid;T!==void 0&&(Dt(n,114),Or(n,T));let R=i.timestamp;R!==void 0&&(Dt(n,120),Do(n,R));let A=i.uid;A!==void 0&&(Dt(n,128),Dt(n,A));let N=i.vid;N!==void 0&&(Dt(n,136),Dt(n,N));let O=i.width;O!==void 0&&(Dt(n,144),Do(n,Ba(O)));let w=i.service;w!==void 0&&(Dt(n,152),Dt(n,w));let L=i.callbackData;L!==void 0&&(Dt(n,162),Or(n,L));let M=i.jpgEncryption;M!==void 0&&(Dt(n,168),Dt(n,M));let j=i.requestType;j!==void 0&&(Dt(n,176),Dt(n,j));let H=i.scorePorn;H!==void 0&&(Dt(n,185),Pf(n,H));let ht=i.scoreSexy;ht!==void 0&&(Dt(n,193),Pf(n,ht));let lt=i.scoreNeutral;lt!==void 0&&(Dt(n,201),Pf(n,lt));let rt=i.scene;rt!==void 0&&(Dt(n,208),Dt(n,rt));let Kt=i.ossFilePrefix;Kt!==void 0&&(Dt(n,218),Or(n,Kt));let Ft=i.serviceVendor;if(Ft!==void 0)for(let Ii of Ft){Dt(n,226);let U=RN();S4(Ii,U),Dt(n,U.limit),C4(n,U),v4(U)}}(t,e),function(i){let n=i.bytes,r=i.limit;return n.length===r?n:n.subarray(0,r)}(e)}function f4(t){return function(i){let n={};t:for(;!vN(i);){let r=Nr(i);switch(r>>>3){case 0:break t;case 1:n.code=Nr(i);break;case 2:n.msg=CN(i,Nr(i));break;case 3:{let o=T4(i);n.data=g4(i),i.limit=o;break}default:SN(i,7&r)}}return n}({bytes:e=t,offset:0,limit:e.length});var e}function g4(t){let e={};t:for(;!vN(t);){let i=Nr(t);switch(i>>>3){case 0:break t;case 1:e.requestId=CN(t,Nr(t));break;case 2:e.requestType=Nr(t)>>>0;break;case 3:e.scorePorn=Df(t);break;case 4:e.scoreSexy=Df(t);break;case 5:e.scoreNeutral=Df(t);break;case 6:e.requestScene=Nr(t)>>>0;break;case 7:e.scene=Nr(t)>>>0;break;default:SN(t,7&i)}}return e}function S4(t,e){let i=t.service;i!==void 0&&(Dt(e,8),Dt(e,i));let n=t.vendor;n!==void 0&&(Dt(e,16),Dt(e,n));let r=t.token;r!==void 0&&(Dt(e,26),Or(e,r));let o=t.callbackUrl;o!==void 0&&(Dt(e,34),Or(e,o))}function T4(t){let e=Nr(t),i=t.limit;return t.limit=t.offset+e,i}function SN(t,e){switch(e){case 0:for(;128&yN(t););break;case 2:Of(t,Nr(t));break;case 5:Of(t,4);break;case 1:Of(t,8);break;default:throw new Error("Unimplemented type: "+e)}}let R4=new Float32Array(1);new Uint8Array(R4.buffer);let wf=new Float64Array(1),Li=new Uint8Array(wf.buffer);function Ba(t){return{low:t|=0,high:t>>31,unsigned:t>=0}}let TN=[];function RN(){const t=TN.pop();return t?(t.offset=t.limit=0,t):{bytes:new Uint8Array(64),offset:0,limit:0}}function v4(t){TN.push(t)}function Of(t,e){if(t.offset+e>t.limit)throw new Error("Skip past limit");t.offset+=e}function vN(t){return t.offset>=t.limit}function ja(t,e){let i=t.bytes,n=t.offset,r=t.limit,o=n+e;if(o>i.length){let s=new Uint8Array(2*o);s.set(i),t.bytes=s}return t.offset=o,o>r&&(t.limit=o),n}function Nf(t,e){let i=t.offset;if(i+e>t.limit)throw new Error("Read past limit");return t.offset+=e,i}function CN(t,e){let i=Nf(t,e),n=String.fromCharCode,r=t.bytes,o="�",s="";for(let a=0;a=e?s+=o:(c=r[a+i+1],(192&c)!=128?s+=o:(u=(31&h)<<6|63&c,u<128?s+=o:(s+=n(u),a++))):(240&h)==224?a+2>=e?s+=o:(c=r[a+i+1],d=r[a+i+2],(49344&(c|d<<8))!=32896?s+=o:(u=(15&h)<<12|(63&c)<<6|63&d,u<2048||u>=55296&&u<=57343?s+=o:(s+=n(u),a+=2))):(248&h)==240?a+3>=e?s+=o:(c=r[a+i+1],d=r[a+i+2],l=r[a+i+3],(12632256&(c|d<<8|l<<16))!=8421504?s+=o:(u=(7&h)<<18|(63&c)<<12|(63&d)<<6|63&l,u<65536||u>1114111?s+=o:(u-=65536,s+=n(55296+(u>>10),56320+(1023&u)),a+=3))):s+=o:s+=n(h)}return s}function Or(t,e){let i=e.length,n=0;for(let s=0;s=55296&&a<=56319&&s+1=55296&&a<=56319&&s+1>6&31|192:(a<65536?o[r++]=a>>12&15|224:(o[r++]=a>>18&7|240,o[r++]=a>>12&63|128),o[r++]=a>>6&63|128),o[r++]=63&a|128)}}function C4(t,e){let i=ja(t,e.limit),n=t.bytes,r=e.bytes;for(let o=0,s=e.limit;o>>=0;e>=128;)IN(t,127&e|128),e>>>=7;IN(t,e)}function Do(t,e){let i=e.low>>>0,n=(e.low>>>28|e.high<<4)>>>0,r=e.high>>>24,o=r===0?n===0?i<16384?i<128?1:2:i<1<<21?3:4:n<16384?n<128?5:6:n<1<<21?7:8:r<128?9:10,s=ja(t,o),a=t.bytes;switch(o){case 10:a[s+9]=r>>>7&1;case 9:a[s+8]=o!==9?128|r:127&r;case 8:a[s+7]=o!==8?n>>>21|128:n>>>21&127;case 7:a[s+6]=o!==7?n>>>14|128:n>>>14&127;case 6:a[s+5]=o!==6?n>>>7|128:n>>>7&127;case 5:a[s+4]=o!==5?128|n:127&n;case 4:a[s+3]=o!==4?i>>>21|128:i>>>21&127;case 3:a[s+2]=o!==3?i>>>14|128:i>>>14&127;case 2:a[s+1]=o!==2?i>>>7|128:i>>>7&127;case 1:a[s]=o!==1?128|i:127&i}}function AN(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}const y4=new Map([["moderation",1],["supervise",2]]);class I4 extends $t{get connectionState(){return this._connectionState}set connectionState(e){if(this._connectionState===e)return;const i=this._connectionState;this._connectionState=e,this.emit(Pe.CONNECTION_STATE_CHANGE,i,e)}get inspectType(){return this._inspectType}set inspectType(e){var i;this._inspectMode=Tn(i=e.map(n=>y4.get(n)||0)).call(i,(n,r)=>n+r),this._inspectType=e}get quality(){return this._quality}set quality(e){this._quality=e>1?1:e<.1?.1:e,this.qualityTimer&&(window.clearTimeout(this.qualityTimer),this.qualityTimer=null),this._quality>=1||(this.qualityTimer=window.setTimeout(()=>{this.quality=this._quality/this.qualityRatio},6e4))}constructor(e){super(),S(this,"name","AgoraRTCVideoContentInspect"),S(this,"_connectionState",Pn.CONNECTING),S(this,"_innerConnectionState",void 0),S(this,"sequence",0),S(this,"inspectStartTime",void 0),S(this,"workerManagerConnection",void 0),S(this,"workerConnection",void 0),S(this,"workerMessageLengthLimit",void 0),S(this,"inspectIntervalMinimum",void 0),S(this,"qualityRatio",void 0),S(this,"_connectInfo",void 0),S(this,"_cancelTokenSource",Ti.CancelToken.source()),S(this,"_retryConfig",void 0),S(this,"wmSequence",0),S(this,"inspectInterval",void 0),S(this,"inspectTimer",null),S(this,"ossFilePrefix",void 0),S(this,"extraInfo",void 0),S(this,"_inspectType",void 0),S(this,"_inspectMode",void 0),S(this,"_quality",1),S(this,"qualityTimer",null),S(this,"_inspectId",void 0),S(this,"_needWorkUrlOnly",!1),S(this,"inspectImage",()=>{if(this.connectionState!==Pn.CONNECTED)throw new P(v.OPERATION_ABORTED,"content inspect service connection status is ".concat(this.connectionState));this.inspectTimer&&(window.clearInterval(this.inspectTimer),this.inspectTimer=null),this.inspectTimer=window.setInterval(()=>{this.connectionState===Pn.CONNECTED?this.requestToInspectImage():_.debug("[".concat(this._inspectId,"] Inspect State is not connected , "),this.connectionState)},this.inspectInterval{this._innerConnectionState=i,_.debug("[".concat(this._inspectId,"] Inspect operation :").concat(Ln[i]," ").concat(n||""))}),this.handleWorkerManagerEvents(),this.workerConnection=new Gc("worker-"+this._inspectId,ge),this.handleWorkerEvents()}init(e,i){return C(this,null,function*(){this.emit(Pe.STATE_CHANGE,Ln.CONNECT_AP),this._connectInfo=e;const n=this._cancelTokenSource.token;return this._retryConfig=i,new K((r,o)=>{this.on(Pe.CONNECTION_STATE_CHANGE,(s,a)=>{a===Pn.CONNECTED&&r()}),this.requestAP(e,n,i).then(s=>{this.connectWorkerManager(s)}).catch(s=>{o(s)})})})}requestAP(e,i,n){return C(this,null,function*(){const r=y("WEBCS_DOMAIN").map(a=>"https://".concat(a,"/api/v1")),o=yield function(a,c,d,l){let{appId:u,areaCode:h,cname:p,sid:g,token:m,uid:f}=c;Oa++;const T="image_moderation_api",R={service_name:T,json_body:JSON.stringify({appId:u,areaCode:h,cname:p,command:"allocateEdge",requestId:Oa,seq:Oa,sid:g,token:m,ts:Date.now(),uid:f+""})};let A,N,O=a[0];return Jn(()=>C(this,null,function*(){A=Date.now();const w=yield er(O,{data:R,cancelToken:d,headers:{"X-Packet-Service-Type":"0","X-Packet-URI":"61"},params:{action:"wrtc_gateway"}});if(N=Date.now()-A,w.code!==0){const H=new P(v.UNEXPECTED_RESPONSE,"image inspect ap error, code"+w.code,{retry:!0,responseTime:N});throw _.error(H.toString()),H}const L=JSON.parse(w.json_body);if(L.code!==200){const H=new P(v.UNEXPECTED_RESPONSE,"image inspect ap error, code: ".concat(L.code,", reason: ").concat(L.reason),{code:L.code,responseTime:N});throw _.error(H.toString()),H}if(!L.servers||!Array.isArray(L.servers)||L.servers.length===0){const H=new P(v.UNEXPECTED_RESPONSE,"image inspect ap empty server",{code:L.code,responseTime:N});throw _.error(H.toString()),H}const M=y("VIDEO_INSPECT_WORKER_MANAGER_HOST"),j=y("VIDEO_INSPECT_WORKER_MANAGER_PORT");return{addressList:L.servers.map(H=>{let{address:ht,wss:lt}=H;if(ht&<)return"wss://".concat(ht.replace(/\./g,"-"),".").concat(M,":").concat(j||lt)}).filter(H=>!!H),workerToken:L.workerToken,vid:L.vid,responseTime:N}}),(w,L)=>(Z.apworkerEvent(g,{success:!0,sc:200,serviceName:T,responseDetail:JSON.stringify(w.addressList),firstSuccess:L===0,responseTime:N,serverIp:a[L%a.length]}),!1),(w,L)=>(Z.apworkerEvent(g,{success:!1,sc:w.data&&w.data.code||200,serviceName:T,responseTime:N,serverIp:a[L%a.length]}),!!(w.code!==v.OPERATION_ABORTED&&w.code!==v.UNEXPECTED_RESPONSE||w.data&&w.data.retry)&&(O=a[(L+1)%a.length],!0)),l)}(r,e,i,n);this.emit(Pe.STATE_CHANGE,Ln.AP_CONNECTED);const{addressList:s}=o;return this.wmSequence++,s})}connectWorkerManager(i){return C(this,arguments,function*(e){let n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];this._needWorkUrlOnly=n,this.emit(Pe.STATE_CHANGE,Ln.CONNECT_WORKER_MANAGER),yield this.workerManagerConnection.init(e,1e4)})}connectWorker(e){return C(this,null,function*(){yield this.workerConnection.init([e])})}handleWorkerManagerEvents(){this.workerManagerConnection.on(dt.CONNECTED,()=>C(this,null,function*(){this.emit(Pe.STATE_CHANGE,Ln.WORKER_MANAGER_CONNECTED,this.workerManagerConnection.url),this.workerManagerConnection.sendMessage({appId:this._connectInfo.appId,cname:this._connectInfo.cname,uid:this._connectInfo.uid+"",sdkVersion:"4.23.4",sid:this._connectInfo.sid,seq:this.wmSequence,ts:Number(Date.now()),requestId:Math.floor(1e12*Math.random()),allocate:!0,clientRequest:{command:"join"}},!0)})),this.workerManagerConnection.on(dt.CLOSED,()=>{this._innerConnectionState{this._innerConnectionState{this._innerConnectionStateC(this,null,function*(){this.emit(Pe.STATE_CHANGE,Ln.GET_WORKER_MANAGER_RESPONSE);const i=this.workerManagerConnection.url;this.workerManagerConnection.close();const n=JSON.parse(e.data);if(n.code!==200)throw _.error("[".concat(this._inspectId,"] Unexpected code ").concat(n.code," from worker manager")),new P(v.UNEXPECTED_RESPONSE,"response code of worker is unexpected",n);if(!(n.serverResponse&&n.serverResponse.portWss&&i))throw _.error("[".concat(this._inspectId,"] Unexpected content from worker manager : ").concat(JSON.stringify(n))),new P(v.UNEXPECTED_RESPONSE,"response content of worker is unexpected",n);{const r=y("VIDEO_INSPECT_WORKER_PORT")||n.serverResponse.portWss,o=i.replace(/:\d+\/?$/,":".concat(r));this.emit(Pe.STATE_CHANGE,Ln.CONNECT_WORKER,o),this._needWorkUrlOnly?this.emit(Pe.REQUEST_NEW_WORKER_URL,o):yield this.connectWorker(o)}})),this.workerManagerConnection.on(dt.WILL_RECONNECT,(e,i,n)=>{n(e)}),this.workerManagerConnection.on(dt.REQUEST_NEW_URLS,(e,i)=>{this.requestAP(this._connectInfo,this._cancelTokenSource.token,this._retryConfig).then(e).catch(i)})}handleWorkerEvents(){this.workerConnection.on(dt.CONNECTED,()=>C(this,null,function*(){this.emit(Pe.STATE_CHANGE,Ln.WORKER_CONNECTED,this.workerConnection.url),this.connectionState=Pn.CONNECTED})),this.workerConnection.on(dt.ON_MESSAGE,e=>C(this,null,function*(){if(e.data instanceof ArrayBuffer){const n=f4(new Uint8Array(e.data));if(y("SHOW_VIDEO_INSPECT_WORKER_MESSAGE")&&_.debug("[".concat(this._inspectId,"] Response message for worker of inspect content "),JSON.stringify(n)),n.code===200){if(Array.isArray(this.inspectType)&&this.inspectType.length===1&&this.inspectType[0]==="supervise")return void this.emit(Pe.INSPECT_RESULT,void 0,void 0);if(n.data&&n.data.scorePorn&&n.data.scoreSexy&&n.data.scoreNeutral){var i;const r={porn:n.data.scorePorn,sexy:n.data.scoreSexy,neutral:n.data.scoreNeutral},o=Tn(i=Object.keys(r)).call(i,(a,c)=>r[a]>r[c]?a:c,"porn"),s=Object.keys(r).find(a=>a===o);this.emit(Pe.INSPECT_RESULT,s)}else this.emit(Pe.INSPECT_RESULT,void 0,new P(v.UNEXPECTED_RESPONSE,n.code+"","There is an unexpected data on message"))}else this.emit(Pe.INSPECT_RESULT,void 0,new P(v.UNEXPECTED_RESPONSE,n.code+"",n.msg))}else _.error("[".concat(this._inspectId,"] Unexpected message type from worker")),this.emit(Pe.INSPECT_RESULT,void 0,new P(v.UNEXPECTED_RESPONSE,"invalid worker message type"))})),this.workerConnection.on(dt.CLOSED,()=>{this.connectionState=Pn.CLOSED}),this.workerConnection.on(dt.FAILED,()=>{this.connectionState=Pn.CLOSED}),this.workerConnection.on(dt.RECONNECTING,()=>{this.connectionState=this.connectionState===Pn.CONNECTED?Pn.RECONNECTING:Pn.CONNECTING}),this.workerConnection.on(dt.WILL_RECONNECT,(e,i,n)=>{e==="recover"&&n(e),n("tryNext")}),this.workerConnection.on(dt.REQUEST_NEW_URLS,(e,i)=>{this.workerManagerConnection.close(),this.once(Pe.REQUEST_NEW_WORKER_URL,n=>{e([n])}),this.requestAP(this._connectInfo,this._cancelTokenSource.token,this._retryConfig).then(n=>{this.connectWorkerManager(n,!0)}).catch(n=>{i(n)})})}requestToInspectImage(){return C(this,null,function*(){this.sequence++;const e=zi(this,Pe.CLIENT_LOCAL_VIDEO_TRACK),i={appId:this._connectInfo.appId,cname:this._connectInfo.cname,cid:this._connectInfo.cid,sid:this._connectInfo.sid,uid:this._connectInfo.uid,vid:this._connectInfo.vid};if(e){if(!e.isPlaying)return void this.emit(Pe.INSPECT_RESULT,void 0,new P(v.INVALID_OPERATION,"Only the track being played can be inspected"));const n=yield this.generateRequestData(e,i);this.workerConnection.sendMessage(n,!0,!0)}else this.emit(Pe.INSPECT_RESULT,void 0,new P(v.INVALID_OPERATION,"Only the track being published can be inspected"))})}generateRequestData(e,i){return C(this,null,function*(){let{appId:n,cname:r,cid:o,vid:s,sid:a,uid:c}=i;const d=Date.now(),l=yield e.getCurrentFrameImage("image/jpeg",this.quality),u=yield cA(l,n,r),h=this.sequence+"-"+o+"-"+c+"-"+d+"-"+Gt(12,""),p={appId:n,cid:o,cname:r,deviceId:"",elapse:(g=Number(d-this.inspectStartTime),{low:g|=0,high:g>>31,unsigned:g>=0}),fileSize:u.byteLength,jpgEncryption:2,height:l.height,width:l.width,jpg:u,networkType:6,osType:7,requestId:h,sdkVersion:"4.23.4",sequence:this.sequence,sid:a,timestamp:k0(d),uid:c,vid:s,service:this._inspectMode,callbackData:this.extraInfo,ossFilePrefix:this.ossFilePrefix};var g;this.extraInfo===void 0&&delete p.callbackData,this.ossFilePrefix===void 0&&delete p.ossFilePrefix;const m=m4(p);if(m.byteLength{var o;if(!G(o=["supervise","moderation"]).call(o,r))throw new P(v.INVALID_PARAMS,"".concat(r," is not a valid inspect type."))}),i.inspectType=n}if(i&&i.extraInfo&&i.extraInfo.length>1024)throw new P(v.INVALID_PARAMS,"inspectConfig.extraInfo length cannot exceed 1024 bytes")}(e),new I4(e)}};var bN=Pt(sn.Object.getOwnPropertySymbols),b4=Nt,w4=Hh.indexOf,O4=kd,Lf=Ka([].indexOf),wN=!!Lf&&1/Lf([1],1,-0)<0;b4({target:"Array",proto:!0,forced:wN||!O4("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return wN?Lf(this,t,e)||0:w4(this,t,e)}});var N4=Sn("Array","indexOf"),D4=$e,P4=N4,kf=Array.prototype,L4=function(t){var e=t.indexOf;return t===kf||D4(kf,t)&&e===kf.indexOf?P4:e},ON=Pt(L4);function k4(t,e){if(t==null)return{};var i,n,r=function(s,a){if(s==null)return{};var c={};for(var d in s)if({}.hasOwnProperty.call(s,d)){if(ON(a).call(a,d)!==-1)continue;c[d]=s[d]}return c}(t,e);if(bN){var o=bN(t);for(n=0;nf.payloadType.toString(10)),m.attributes.payloads=p,m.attributes.extmaps=u.videoExtensions),m.media.mediaType==="audio"&&(m.media.fmts=g.map(f=>f.payloadType.toString(10)),m.attributes.payloads=g,m.attributes.extmaps=u.audioExtensions,wa(m));this.sessionDesc=l,this.currentMidIndex=l.mediaDescriptions.length-1}toString(){return mo(this.sessionDesc)}hasMid(t){return Array.isArray(t)?t.every(e=>this.hasMid(e)):this.sessionDesc.mediaDescriptions.some(e=>e.attributes.mid===t)}send(t,e,i,n,r){i=i.replace(/ /g,"-");const{ssrcs:o,ssrcGroups:s}=as(e,this.cname,y("SYNC_GROUP")?i:void 0),a=this.findPreloadMediaDesc(o);if(a){if(ne()&&this.firefoxSsrcMidMap.set(o[0].ssrcId,a.attributes.mid),r&&(r.twcc||r.remb)){const c=this.sessionDesc.mediaDescriptions.indexOf(a);return this.sessionDesc.mediaDescriptions[c]=this.mungSendMediaDesc(a,r),{mid:a.attributes.mid,needExchangeSDP:!0}}return{mid:a.attributes.mid,needExchangeSDP:!1}}{const c=this.findAvailableMediaIndex(t,o,n);let d;return c===-1?(d=this.createOrRecycleSendMedia(t,o,s,"sendonly",n,r),this.updateBundleMids()):(d=te(this.sessionDesc.mediaDescriptions[c]),d.attributes.direction="sendonly",d.attributes.ssrcs=o,d.attributes.ssrcGroups=s,this.sessionDesc.mediaDescriptions[c]=this.mungSendMediaDesc(d,r)),ne()&&this.firefoxSsrcMidMap.set(o[0].ssrcId,d.attributes.mid),{needExchangeSDP:!0,mid:d.attributes.mid}}}stopSending(t){const e=this.sessionDesc.mediaDescriptions.filter(i=>i.attributes.mid&&t.indexOf(i.attributes.mid)!==-1);if(e.length!==t.length)throw new Error("mediaDescriptions' length doesn't match mids' length when calling RemoteSDP.stopSending.");e.forEach(i=>{i.attributes.ssrcs=[]}),this.updateBundleMids()}receive(t,e,i){const n=[];return t.forEach(r=>{const o=r._mediaStreamTrack.kind,s=this.findAvailableRecvMediaIndex(o);let a,c=!1;s===-1?(c=!0,a=this.createOrRecycleRecvMedia(r,[],"recvonly",e,i),this.updateBundleMids()):(a=te(this.sessionDesc.mediaDescriptions[s]),a.attributes.direction="recvonly"),n.push({mid:a.attributes.mid,needCreateTransceiver:c})}),n}stopReceiving(t){const e=this.sessionDesc.mediaDescriptions.filter(i=>t.indexOf(i.attributes.mid)!==-1);if(e.length!==t.length)throw new Error("MediaDescriptions' length doesn't match mids's length when calling RemoteSDP.receive.");e.forEach(i=>{i.media.port="0",i.attributes.direction="inactive"}),this.updateBundleMids()}addRemoteCandidate(t){const{foundation:e,protocol:i,address:n,port:r,type:o,relatedAddress:s,relatedPort:a,priority:c}=new RTCIceCandidate(t),d={foundation:e!=null?e:"",componentId:"1",transport:i!=null?i:"",priority:c?c+"":"",connectionAddress:n!=null?n:"",port:r?r+"":"",type:o?o+"":"",relAddr:s!=null?s:"",relPort:a?a+"":"",extension:{}};this.candidates.some(l=>l.priority===d.priority&&l.connectionAddress===d.connectionAddress&&l.port===d.port)||(this._candidates.push(d),this.sessionDesc.mediaDescriptions.forEach(l=>{l.attributes.candidates=this.candidates}))}clearRemoteCandidate(){this._candidates=[],this.sessionDesc.mediaDescriptions[0].attributes.candidates=this._candidates}createOrRecycleRecvMedia(t,e,i,n,r){const o=t._mediaStreamTrack.kind,s=this.rtpCapabilities.recv,a=Kc(o,s,this.localCapabilities.send,o===q.AUDIO?r:n),c=o===q.VIDEO?s.videoExtensions:s.audioExtensions,d="".concat(++this.currentMidIndex);let l={media:{mediaType:o,port:"9",protos:["UDP","TLS","RTP","SAVPF"],fmts:a.map(h=>h.payloadType.toString(10))},connections:[{nettype:"IN",addrtype:"IP4",address:"127.0.0.1"}],bandwidths:[],attributes:{iceUfrag:this.iceParameters.iceUfrag,icePwd:this.iceParameters.icePwd,unrecognized:[],candidates:[],extmaps:c,fingerprints:this.dtlsParameters.fingerprints,imageattr:[],msids:[],remoteCandidatesList:[],rids:[],ssrcs:e,ssrcGroups:[],rtcpFeedbackWildcards:[],payloads:a,rtcp:{port:"9",netType:"IN",addressType:"IP4",address:"0.0.0.0"},setup:this.setup,direction:i,rtcpMux:!0,rtcpRsize:!0,mid:"".concat(d)}};l=this.mungRecvMediaDsec(l,t);const u=this.findFirstClosedMedia(o);if(u){const h=this.sessionDesc.mediaDescriptions.indexOf(u);this.sessionDesc.mediaDescriptions[h]=l}else this.sessionDesc.mediaDescriptions.push(l);return l}muteRemote(t){const e=this.sessionDesc.mediaDescriptions.filter(i=>G(t).call(t,i.attributes.mid||""));if(e.length!==t.length)throw new Error("mediaDescriptions' length doesn't match mids' length when calling RemoteSDP.muteRemote.");e.forEach(i=>{i.attributes.direction="inactive"})}unmuteRemote(t){const e=this.sessionDesc.mediaDescriptions.filter(i=>G(t).call(t,i.attributes.mid||""));if(e.length!==t.length)throw new Error("mediaDescriptions' length doesn't match mids' length when calling RemoteSDP.muteRemote.");e.forEach(i=>{i.attributes.direction="recvonly"})}findAvailableMediaIndex(t,e,i){return this.sessionDesc.mediaDescriptions.findIndex(n=>{const r=n.media.mediaType===t&&n.media.port!=="0"&&(n.attributes.direction==="sendonly"||n.attributes.direction==="sendrecv")&&n.attributes.ssrcs.length===0;if(ne()){if(r){const o=this.firefoxSsrcMidMap.get(e[0].ssrcId);return!(o||n.attributes.mid!=="0"&&n.attributes.mid!=="1")||!(!o||o!==n.attributes.mid)}return!1}return r&&n.attributes.mid===i})}findAvailableRecvMediaIndex(t){return this.sessionDesc.mediaDescriptions.findIndex(e=>{const i=e.media.mediaType===t&&e.media.port!=="0"&&(e.attributes.direction==="recvonly"||e.attributes.direction==="sendrecv");return e.attributes.mid!=="0"&&e.attributes.mid!=="1"&&i})}predictReceivingMids(t){const e=[];for(let i=0;i{e.attributes.iceUfrag=t.iceUfrag,e.attributes.icePwd=t.icePwd})}createOrRecycleSendMedia(t,e,i,n,r,o){const s=this.rtpCapabilities.send,a=t===q.VIDEO?s.videoCodecs:s.audioCodecs,c=t===q.VIDEO?s.videoExtensions:s.audioExtensions;ne()&&(r="".concat(++this.currentMidIndex));let d={media:{mediaType:t,port:"9",protos:["UDP","TLS","RTP","SAVPF"],fmts:a.map(u=>u.payloadType.toString(10))},connections:[{nettype:"IN",addrtype:"IP4",address:"127.0.0.1"}],bandwidths:[],attributes:{iceUfrag:this.iceParameters.iceUfrag,icePwd:this.iceParameters.icePwd,unrecognized:[],candidates:[],extmaps:c,fingerprints:this.dtlsParameters.fingerprints,imageattr:[],msids:[],remoteCandidatesList:[],rids:[],ssrcs:e,ssrcGroups:i,rtcpFeedbackWildcards:[],payloads:a,rtcp:{port:"9",netType:"IN",addressType:"IP4",address:"0.0.0.0"},setup:this.setup,direction:n,rtcpMux:!0,rtcpRsize:!0,mid:r}};d=this.mungSendMediaDesc(d,o);const l=this.findFirstClosedMedia(t);if(l){const u=this.sessionDesc.mediaDescriptions.indexOf(l);this.sessionDesc.mediaDescriptions[u]=d}else this.sessionDesc.mediaDescriptions.push(d);return d}mungRecvMediaDsec(t,e,i){const n=te(t);return Pm(n),ba(n,e),Lm(n,e),Rw(n),ju(n,i,this.localCapabilities.send),n}mungSendMediaDesc(t,e){const i=te(t);return ju(i,e,this.localCapabilities.recv),wa(i),i}updateRecvMedia(t,e){const i=this.sessionDesc.mediaDescriptions.findIndex(n=>n.attributes.mid===t);if(i!==-1){const n=this.mungRecvMediaDsec(this.sessionDesc.mediaDescriptions[i],e);this.sessionDesc.mediaDescriptions[i]=n}}updateBundleMids(){this.sessionDesc.attributes.groups[0].identificationTag=this.sessionDesc.mediaDescriptions.filter(t=>t.media.port!=="0").map(t=>t.attributes.mid)}findPreloadMediaDesc(t){return this.sessionDesc.mediaDescriptions.find(e=>{var i;return((i=e.attributes)===null||i===void 0||(i=i.ssrcs[0])===null||i===void 0?void 0:i.ssrcId)===t[0].ssrcId})}findFirstClosedMedia(t){return this.sessionDesc.mediaDescriptions.find(e=>ne()?e.media.port==="0"&&e.media.mediaType===t:e.media.port==="0")}};const M4=["sdp"];var qt;function DN(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function Po(t){for(var e=1;e2?arguments[2]:void 0,arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},"sendonly"),h={audioCodecs:[],audioExtensions:[],videoCodecs:[],videoExtensions:[]},p={audioCodecs:[],audioExtensions:[],videoCodecs:[],videoExtensions:[]},g={audioCodecs:[],audioExtensions:[],videoCodecs:[],videoExtensions:[]};if(kn(u,l,"videoExtensions",h,p,g),kn(u,l,"videoCodecs",h,p,g),kn(u,l,"audioExtensions",h,p,g),kn(u,l,"audioCodecs",h,p,g),y("RAISE_H264_BASELINE_PRIORITY")){const m=g.videoCodecs.findIndex(f=>f.rtpMap&&f.rtpMap.encodingName.toLocaleLowerCase()==="h264"&&f.fmtp&&f.fmtp.parameters["profile-level-id"]==="42001f");if(m!==-1){const f=g.videoCodecs.findIndex(T=>T.rtpMap&&T.rtpMap.encodingName.toLocaleLowerCase()==="h264");if(f!(T.rtpMap&&T.rtpMap.encodingName.toLocaleLowerCase()==="h264"&&T.fmtp&&T.fmtp.parameters["profile-level-id"]!=="42001f")))}}return{send:h,recv:p,sendrecv:g}}({},{},n);this.remoteSDP=new NN({remoteIceParameters:r.iceParameters,remoteDtlsParameters:r.dtlsParameters,candidates:[],remoteRTPCapabilities:o,localCapabilities:this.localCapabilities,direction:this.direction,setup:"actpass",videoCodec:this.store.codec,audioCodec:this.store.audioCodec}),yield this.setRemoteDescription({type:"offer",sdp:this.remoteSDP.toString()}),this.isReady=!0;const s=yield this.peerConnection.createAnswer();if(!s.sdp)throw new Error("Cannot get answer sdp when trying to establish PeerConnection.");const a=Ro(s.sdp);yield this.peerConnection.setLocalDescription(s);const c=yield yw({},{},s.sdp);this.localCapabilities=Gu(c);const d=this.peerConnection.getTransceivers()[0];return d!=null&&d.receiver&&d.receiver.transport&&this.tryBindTransportEvents(d.receiver.transport),Po(Po({},a),{},{sdp:s.sdp})}{this.peerConnection.addTransceiver("video",{direction:"sendonly"}),this.peerConnection.addTransceiver("audio",{direction:"sendonly"});const n=yield this.peerConnection.createOffer();if(!n.sdp)throw new Error("Cannot get initialOffer.sdp when trying to establish PeerConnection.");const r=Ro(n.sdp);return this.initialOffer=n,Po(Po({},r),{},{sdp:n.sdp})}}catch(i){throw new k(v.GET_LOCAL_CONNECTION_PARAMS_FAILED,i.toString())}})}connect(e){return C(this,null,function*(){try{if(!this.initialOffer)throw new Error("Cannot establish P2PConnection without initial offer.");yield this.peerConnection.setLocalDescription(this.initialOffer);const{sdp:i,iceParameters:n,dtlsParameters:r}=e,o=yield yw({},{},i);this.remoteSDP=new NN({remoteIceParameters:n,remoteDtlsParameters:r,candidates:[],remoteRTPCapabilities:o,localCapabilities:this.localCapabilities,direction:this.direction,setup:"active",videoCodec:this.store.codec,audioCodec:this.store.audioCodec}),yield this.setRemoteDescription({type:"answer",sdp:this.remoteSDP.toString()});const s=this.peerConnection.getTransceivers()[0];s!=null&&s.sender&&s.sender.transport&&this.tryBindTransportEvents(s.sender.transport)}catch(i){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection.connect failed; ".concat(i.toString()))}})}addRemoteCandidate(e){return C(this,null,function*(){try{e&&this.pendingCandidates.push(e),this.peerConnection.remoteDescription&&this.isReady&&(this.pendingCandidates.forEach(i=>{this.peerConnection.addIceCandidate(i)}),this.pendingCandidates=[])}catch(i){throw new k(v.ADD_CANDIDATE_FAILED,"P2PConnection.addRemoteCandidate failed; ".concat(i.toString()))}})}send(e,i,n){var r=this;return cn(function*(){const o=yield Rt(r.mutex.lock("From P2PConnection.send"));try{if(!r.remoteSDP)throw new Error("Cannot call P2PConnection.send before remote SDP created");const s=[],a=r.remoteSDP.receive(e,i,n);e.forEach((f,T)=>{if(a[T].needCreateTransceiver){const R=r.peerConnection.addTransceiver(f._mediaStreamTrack,{direction:"sendonly"});s.push(R),f._updateRtpTransceiver(R)}else{const R=r.peerConnection.getTransceivers().find(A=>A.mid===a[T].mid);if(!R)throw new Error("cannot find transceiver when sendPeerconnection send, mid is ".concat(a[T].mid));s.push(R),f._updateRtpTransceiver(R)}}),ne()&&y("SIMULCAST")===!0&&(yield Rt(r.applySimulcastForFirefox(s,e)));const c=a.map(f=>f.mid),d=yield Rt(r.peerConnection.createOffer()),l=r.mungSendOfferSDP(d.sdp,e,c),u=Ni(l),h=c.map(f=>{const T=u.mediaDescriptions.find(R=>R.attributes.mid===f);if(!T)throw new Error("Cannot extract ssrc from mediaDescription.");return gw(T,y("USE_PUB_RTX"))}),p=s.map((f,T)=>{const R=c[T];return{localSSRC:h[T],id:R}});yield Rt(r.peerConnection.setLocalDescription({type:"offer",sdp:l}));try{yield p}catch(f){const T=r.remoteSDP.toString();throw yield Rt(r.peerConnection.setLocalDescription({type:"offer",sdp:l})),yield Rt(r.peerConnection.setRemoteDescription({type:"answer",sdp:T})),yield Rt(r.stopSending(c,!0)),f}yield Rt(r.applySimulcastEncodings(s,e)),yield Rt(r.applySendEncodings(s,e));const g=r.remoteSDP.toString(),m=r.logSDPExchange(l,"offer","local","send");return m==null||m(g),yield Rt(r.setRemoteDescription({type:"answer",sdp:g})),s.map((f,T)=>{const R=c[T];return{localSSRC:h[T],id:R}})}catch(s){throw s instanceof k?s:new k(v.EXCHANGE_SDP_FAILED,"P2PConnection.send failed; ".concat(s.toString()))}finally{o()}})()}stopSending(e,i){return C(this,null,function*(){const n=i?void 0:yield this.mutex.lock("From P2PConnection.stopSending");try{if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.stopSending before remote SDP created");const r=this.peerConnection.getTransceivers().filter(c=>e.indexOf(c.mid)!==-1);if(r.length!==e.length)throw new Error("Transceivers' length (".concat(r.length,") doesn't match mids' length (").concat(e.length,") when trying to call P2PConnection.stopSending."));r.map(c=>{var d;c.direction="inactive",(d=c.stop)===null||d===void 0||d.call(c)});const o=yield this.peerConnection.createOffer(),s=this.logSDPExchange(o.sdp||"","offer","local","stopSending");yield this.peerConnection.setLocalDescription(o),this.remoteSDP.stopReceiving(e);const a=this.remoteSDP.toString();s==null||s(a),yield this.setRemoteDescription({type:"answer",sdp:a})}catch(r){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection.stopSending failed; ".concat(r.toString()))}finally{n&&n()}})}receive(e,i,n,r){return C(this,null,function*(){try{if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.receive ".concat(e," before remoteSDP created."));const{mid:o,needExchangeSDP:s}=this.remoteSDP.send(e,i,n,r);if(s){const c=this.remoteSDP.toString(),d=this.logSDPExchange(c,"offer","remote","receive");yield this.setRemoteDescription({type:"offer",sdp:c});const l=yield this.peerConnection.createAnswer(),u=this.mungReceiveAnswerSDP(l.sdp,o,e);d==null||d(u||""),yield this.peerConnection.setLocalDescription({type:"answer",sdp:u}),_.debug("[".concat(this.store.clientId,"] [P2PConnection] receive ").concat(e," by exchanging SDP."))}else _.debug("[".concat(this.store.clientId,"] [P2PConnection] receive ").concat(e," no need to exchange SDP."));const a=this.peerConnection.getTransceivers().find(c=>c.mid===o);if(!a||a.mid===null)throw new Error("Cannot get transceiver after setLocalDescription.");return{track:a.receiver.track,mid:a.mid,transceiver:a}}catch(o){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection.receive failed; ".concat(o.toString()))}})}mockReceive(e,i,n,r){return C(this,null,function*(){try{if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.receive ".concat(e," before remoteSDP created."));const{mid:o,needExchangeSDP:s}=this.remoteSDP.send(e,i,n,r);if(s){const a=this.remoteSDP.toString(),c=this.logSDPExchange(a,"offer","remote","receive");yield this.setRemoteDescription({type:"offer",sdp:a});const d=yield this.peerConnection.createAnswer(),l=this.mungReceiveAnswerSDP(d.sdp,o,e);c==null||c(l||""),yield this.peerConnection.setLocalDescription({type:"answer",sdp:l}),_.debug("[".concat(this.store.clientId,"] [P2PConnection] receive ").concat(e," by exchanging SDP."))}else _.debug("[".concat(this.store.clientId,"] [P2PConnection] receive ").concat(e," no need to exchange SDP."))}catch(o){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection.receive failed; ".concat(o.toString()))}})}stopReceiving(e){return C(this,null,function*(){try{if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.stopReceiving before remote SDP created.");this.remoteSDP.stopSending(e);const i=this.remoteSDP.toString(),n=this.logSDPExchange(i,"offer","remote","stopReceiving");yield this.setRemoteDescription({type:"offer",sdp:i});const r=yield this.peerConnection.createAnswer();n==null||n(r.sdp||""),yield this.peerConnection.setLocalDescription(r)}catch(i){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection stopReceiving failed; ".concat(i.toString()))}})}restartICE(e){return C(this,null,function*(){try{if(this.store.p2pTransport===$o.Auto&&(this.store.p2pTransport=$o.SdRtn,Ct().supportPCSetConfiguration&&this.peerConnection.setConfiguration(Wa.resolvePCConfiguration(this.spec,this.store.p2pTransport))),this.restartCnt>3&&(this.restartCnt=0,Ct().supportPCSetConfiguration&&this.peerConnection.setConfiguration(Wa.resolvePCConfiguration(this.spec,this.store.p2pTransport,++this.curTurnServerIndex))),!e){this.restartCnt++,this.isReady=!1;const i=yield this.peerConnection.createOffer({iceRestart:!0});if(!i.sdp)throw new Error("Cannot restartICE because restart offer SDP does not exist.");const{iceParameters:n}=Ro(i.sdp);return this.store.descriptionStart(),this.direction===pi.SEND_ONLY&&(yield this.peerConnection.setLocalDescription(i)),n}if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.stopReceiving before remote SDP created.");if(this.remoteSDP.restartICE(e),this.store.descriptionStart(),this.direction===pi.RECEIVE_ONLY){this.restartCnt++,yield this.setRemoteDescription({type:"offer",sdp:this.remoteSDP.toString()});const i=yield this.peerConnection.createAnswer();if(!i.sdp)throw new Error("Cannot get answer sdp when trying to iceRestart.");const{iceParameters:n}=Ro(i.sdp);return yield this.peerConnection.setLocalDescription(i),n}yield this.setRemoteDescription({type:"answer",sdp:this.remoteSDP.toString()}),this.isReady=!0}catch(i){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection stopReceiving failed; ".concat(i.toString()))}})}close(){var e;this.peerConnection.close(),this.peerConnection.onicecandidate=null,(e=this.onConnectionStateChange)===null||e===void 0||e.call(this,"closed"),this.tryUnbindTransportEvents(),this.unbindPCEvents(),this.unbindStatsEvents(),this.transport=void 0,this.statsFilter.destroy()}getStats(){return this.statsFilter.getStats()}getRemoteVideoIsReady(e){return this.statsFilter.getVideoIsReady(e)}updateEncoderConfig(e,i){return C(this,null,function*(){try{if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.updateEncoderConfig before remote SDP created.");const n=yield this.peerConnection.createOffer(),r=this.mungSendOfferSDP(n.sdp,[i],[e]);this.remoteSDP.updateRecvMedia(e,i);const o=this.remoteSDP.toString(),s=this.logSDPExchange(r,"offer","local","updateEncoderConfig");yield this.peerConnection.setLocalDescription({type:"offer",sdp:r}),s==null||s(o),yield this.peerConnection.setRemoteDescription({type:"answer",sdp:o})}catch(n){throw new k(v.EXCHANGE_SDP_FAILED,n.toString())}})}updateSendParameters(e,i){return C(this,null,function*(){const n=this.peerConnection.getTransceivers().filter(r=>r.mid===e);n.length===1&&(this.isVP8Simulcast(i)?ne()||(yield this.applySimulcastEncodings(n,[i])):yield this.applySendEncodings(n,[i]))})}setStatsRemoteVideoIsReady(e,i){this.statsFilter.setVideoIsReady2(e,i)}replaceTrack(e,i){return C(this,null,function*(){const n=this.peerConnection.getTransceivers().find(r=>r.mid===i);n&&(yield n.sender.replaceTrack(e._mediaStreamTrack))})}getSelectedCandidatePair(){return C(this,null,function*(){const e=this.peerConnection.getReceivers();if(e.length>0&&e[0].transport&&e[0].transport.iceTransport&&e[0].transport.iceTransport.getSelectedCandidatePair&&e[0].transport.iceTransport.getSelectedCandidatePair()){const i=e[0].transport.iceTransport,{local:n,remote:r}=i.getSelectedCandidatePair();return{local:Po(Po({},mr),{},{candidateType:n.type,protocol:n.protocol,address:n.address,port:n.port}),remote:Po(Po({},mr),{},{candidateType:r.type,protocol:r.protocol,address:r.address,port:r.port})}}return this.statsFilter.getSelectedCandidatePair()})}bindPCEvents(){this.peerConnection.oniceconnectionstatechange=()=>{var e,i;G(e=["connected","completed"]).call(e,this.peerConnection.iceConnectionState)&&(this.isReady=!1),(i=this.onICEConnectionStateChange)===null||i===void 0||i.call(this,this.peerConnection.iceConnectionState)},this.peerConnection.onconnectionstatechange=()=>{var e;this.peerConnection.connectionState==="connected"&&(this.restartCnt=0),(e=this.onConnectionStateChange)===null||e===void 0||e.call(this,this.peerConnection.connectionState)},this.startICECandidate()}startICECandidate(){this.peerConnection.onicecandidate||(this.localCandidateCount=0,this.peerConnection.onicecandidate=e=>{if(e.candidate){var i;e.candidate.candidate&&((i=this.onLocalCandidate)===null||i===void 0||i.call(this,e.candidate.toJSON())),this.localCandidateCount+=1}else _.debug("[".concat(this.store.clientId,"] [pc-").concat(this.store.p2pId,"] local candidate count"),this.localCandidateCount)})}unbindPCEvents(){this.peerConnection.oniceconnectionstatechange=null,this.peerConnection.onconnectionstatechange=null,this.peerConnection.onsignalingstatechange=null,this.peerConnection.onicecandidateerror=null,this.peerConnection.onicecandidate=null,this.peerConnection.ontrack=null}static resolvePCConfiguration(e,i){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;const r={iceServers:[]};var o;return e.iceServers?r.iceServers=e.iceServers:e.turnServer&&e.turnServer.mode!=="off"&&(Nc(e.turnServer.servers)?r.iceServers=e.turnServer.servers:(r.iceServers&&r.iceServers.push(...Wa.turnServerConfigToIceServers(e.turnServer.servers,i,n)),y("USE_TURN_SERVER_OF_GATEWAY")&&r.iceServers&&e.turnServer.serversFromGateway&&r.iceServers.push(...Wa.turnServerConfigToIceServers(e.turnServer.serversFromGateway,i,n)),G(o=[$o.Relay,$o.SdRtn]).call(o,i)&&(r.iceTransportPolicy="relay"),y("FORCE_TURN_TCP")?r.iceTransportPolicy="relay":e.turnServer.servers.concat(e.turnServer.serversFromGateway||[]).forEach(s=>{s.forceturn&&(r.iceTransportPolicy="relay")}))),y("ENABLE_ENCODED_TRANSFORM")&&Ct().supportWebRTCEncodedTransform&&(r.encodedInsertableStreams=!0),_.debug("P2PConnection p2pTransport is ".concat(i)),r}static turnServerConfigToIceServers(e,i){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;const r=[],o=e.filter(a=>a.tcpport);_.debug("P2PConnection turnServers is ".concat(o,", current index is ").concat(n));const s=o.length>n?o[n]:o[0];switch(i){case $o.SdRtn:const a=e.filter(d=>{var l;return G(l=d.username).call(l,"glb:")&&d.turnServerURL==d.turnServerURL}),c=a.length>n?a[n]:a[0];c&&(r.push({username:c.username,credential:c.password,credentialType:"password",urls:"turn:".concat(So(c.turnServerURL),":").concat(c.tcpport,"?transport=udp")}),r.push({username:c.username,credential:c.password,credentialType:"password",urls:"turns:".concat(So(c.turnServerURL),":").concat(c.tcpport,"?transport=tcp")}));break;case $o.Relay:s&&(r.push({username:s.username,credential:s.password,credentialType:"password",urls:"turn:".concat(s.turnServerURL,":").concat(s.tcpport,"?transport=udp")}),r.push({username:s.username,credential:s.password,credentialType:"password",urls:"turns:".concat(So(s.turnServerURL),":").concat(s.tcpport,"?transport=tcp")}));break;default:s&&(r.push({username:s.username,credential:s.password,credentialType:"password",urls:"turn:".concat(s.turnServerURL,":").concat(s.tcpport,"?transport=udp")}),r.push({username:s.username,credential:s.password,credentialType:"password",urls:"turns:".concat(So(s.turnServerURL),":").concat(s.tcpport,"?transport=tcp")}),r.push({username:s.username,credential:s.password,credentialType:"password",urls:"stun:".concat(s.turnServerURL,":").concat(s.tcpport)}))}return r}tryBindTransportEvents(e){if(e){this.transport=e,e.onstatechange=()=>{var n;e!=null&&e.state&&((n=this.onDTLSTransportStateChange)===null||n===void 0||n.call(this,e.state))},e.onerror=n=>{var r;(r=this.onDTLSTransportError)===null||r===void 0||r.call(this,"error"in n?n.error:n)};const i=e.iceTransport;i&&(i.onstatechange=()=>{const n=e==null?void 0:e.iceTransport.state;var r;n&&((r=this.onICETransportStateChange)===null||r===void 0||r.call(this,n))},i.getSelectedCandidatePair&&(i.onselectedcandidatepairchange=()=>{if(i.getSelectedCandidatePair()){const{local:n,remote:r}=i.getSelectedCandidatePair();_.info("[".concat(this.store.clientId,"] [pc-").concat(this.store.p2pId,"] selectedcandidatepairchange: local ").concat(JSON.stringify({candidateType:n.type,protocol:n.protocol}),", remote ").concat(JSON.stringify({candidateType:r.type,protocol:r.protocol,address:r.address,port:r.port})," )"))}}))}}tryUnbindTransportEvents(){this.transport&&(this.transport.onstatechange=null,this.transport.onerror=null,this.transport.iceTransport&&(this.transport.iceTransport.onstatechange=null))}updateRtpSenderEncodings(e,i){return C(this,null,function*(){var n;if(i||(i=this.peerConnection.getSenders().find(l=>l.track===e._mediaStreamTrack)),!i)return _.warn("[".concat(e.getTrackId(),"] no rtpSender found}"));if(this.isVP8Simulcast(e))return _.warn("[updateRtpSenderEncodings] Track is VP8 simulcast, please apply simulcast encodings");if(!Ct().supportSetRtpSenderParameters)return _.warn("[updateRtpSenderEncodings] Browser not support set rtp-sender parameters");const r={},o={};switch(e._optimizationMode){case"motion":r.degradationPreference="maintain-framerate";break;case"detail":r.degradationPreference="maintain-resolution";break;default:r.degradationPreference="balanced"}if(e._encoderConfig){var s;const{bitrateMax:l,frameRate:u,scaleResolutionDownBy:h}=e._encoderConfig;l&&(o.maxBitrate=1e3*l),G(s=e._hints).call(s,Vt.LOW_STREAM)&&(u&&(o.maxFramerate=Bi(u)),h&&h>=1&&(o.scaleResolutionDownBy=h))}if(y("DSCP_TYPE")&&Vr()){var a;const l=y("DSCP_TYPE");G(a=["very-low","low","medium","high"]).call(a,l)&&(o.networkPriority=l)}const c=i.getParameters(),d=(n=c.encodings)===null||n===void 0?void 0:n[0];ne()&&!d&&(r.encodings=[o]),d&&Object.assign(d,o),Object.assign(c,r),_.debug("[".concat(e.getTrackId(),"] updateRtpSenderEncodings: ").concat(JSON.stringify(c.encodings))),yield i.setParameters(c)})}applySendEncodings(e,i){return C(this,null,function*(){try{if(!Ct().supportSetRtpSenderParameters||e.length!==i.length)return;for(let n=0;n{const a=n[s],c=r.mediaDescriptions.find(d=>d.attributes.mid===a);c&&(ba(c,o),vw(c,o,this.store.codec))}),mo(r)}bindStatsEvents(){this.statsFilter.onFirstAudioReceived=e=>{var i;(i=this.onFirstAudioReceived)===null||i===void 0||i.call(this,e)},this.statsFilter.onFirstVideoReceived=e=>{var i;(i=this.onFirstVideoReceived)===null||i===void 0||i.call(this,e)},this.statsFilter.onFirstAudioDecoded=e=>{var i;(i=this.onFirstAudioDecoded)===null||i===void 0||i.call(this,e)},this.statsFilter.onFirstVideoDecoded=(e,i,n)=>{var r;(r=this.onFirstVideoDecoded)===null||r===void 0||r.call(this,e,i,n)},this.statsFilter.onSelectedLocalCandidateChanged=(e,i)=>{var n;(n=this.onSelectedLocalCandidateChanged)===null||n===void 0||n.call(this,e,i)},this.statsFilter.onSelectedRemoteCandidateChanged=(e,i)=>{var n;(n=this.onSelectedRemoteCandidateChanged)===null||n===void 0||n.call(this,e,i)},this.statsFilter.onFirstVideoDecodedTimeout=e=>{var i;(i=this.onFirstVideoDecodedTimeout)===null||i===void 0||i.call(this,e)}}unbindStatsEvents(){this.statsFilter.onFirstAudioReceived=void 0,this.statsFilter.onFirstVideoReceived=void 0,this.statsFilter.onFirstAudioDecoded=void 0,this.statsFilter.onFirstVideoDecoded=void 0,this.statsFilter.onSelectedLocalCandidateChanged=void 0,this.statsFilter.onSelectedRemoteCandidateChanged=void 0,this.statsFilter.onFirstVideoDecodedTimeout=void 0}applySimulcastForFirefox(e,i){return C(this,null,function*(){if(e.length===i.length)for(let c=0;c200&&(s=l._scalabilityMode)!==null&&s!==void 0&&s.numSpatialLayers&&((a=l._scalabilityMode)===null||a===void 0?void 0:a.numSpatialLayers)>1&&this.store.codec==="vp8"){const u={},h={high:1e3*(l._encoderConfig.bitrateMax-50),medium:5e4};u.encodings=[{rid:"m",active:!0,maxBitrate:h.medium,scaleResolutionDownBy:4},{rid:"h",active:!0,maxBitrate:h.high}];const p=d.sender.getParameters();yield d.sender.setParameters(Object.assign(p,u))}}})}applySimulcastEncodings(e,i){return C(this,null,function*(){if(!ne()&&e.length===i.length)for(let n=0;n200&&(o=e._scalabilityMode)!==null&&o!==void 0&&o.numSpatialLayers&&((s=e._scalabilityMode)===null||s===void 0?void 0:s.numSpatialLayers)>1)}logSDPExchange(e,i,n,r){if(y("SDP_LOGGING"))return _.upload("[".concat(this.store.clientId,"] exchanging ").concat(n," ").concat(i," SDP during P2PConnection.").concat(r,` +`),e),i==="offer"?o=>{this.logSDPExchange(o,"answer",n==="local"?"remote":"local",r)}:void 0}muteLocal(e){return C(this,null,function*(){try{if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.muteLocal before remote SDP created.");const i=this.peerConnection.getTransceivers().filter(s=>s.mid&&e.indexOf(s.mid)!==-1);if(i.length!==e.length)throw new Error("Transceivers' length doesn't match mids' length.");i.map(s=>{s.direction="inactive"});const n=yield this.peerConnection.createOffer(),r=this.logSDPExchange(n.sdp||"","offer","local","muteLocal");yield this.peerConnection.setLocalDescription(n),this.remoteSDP.muteRemote(e);const o=this.remoteSDP.toString();r==null||r(o),yield this.setRemoteDescription({type:"answer",sdp:o})}catch(i){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection.muteLocal failed; ".concat(i.toString()))}})}unmuteLocal(e){return C(this,null,function*(){try{if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.unmuteLocal before remote SDP created.");const i=this.peerConnection.getTransceivers().filter(s=>s.mid&&e.indexOf(s.mid)!==-1);if(i.length!==e.length)throw new Error("Transceivers' length doesn't match mids' length.");i.map(s=>C(this,null,function*(){s.direction="sendonly"}));const n=yield this.peerConnection.createOffer(),r=this.logSDPExchange(n.sdp||"","offer","local","unmuteLocal");yield this.peerConnection.setLocalDescription(n),this.remoteSDP.unmuteRemote(e);const o=this.remoteSDP.toString();r==null||r(o),yield this.setRemoteDescription({type:"answer",sdp:o})}catch(i){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection.unmuteLocal failed; ".concat(i.toString()))}})}getRemoteSSRC(e,i){return C(this,null,function*(){var n;if(i=i!=null?i:(n=this.currentRemoteDescription)===null||n===void 0?void 0:n.sdp){var r;const o=(r=Ni(i).mediaDescriptions.find(s=>s.attributes.mid===e))===null||r===void 0?void 0:r.attributes.ssrcs;return o==null?void 0:o[0].ssrcId}})}setRemoteDescription(e){return C(this,null,function*(){var i;yield this.peerConnection.setRemoteDescription(e),G(i=["connected","completed"]).call(i,this.peerConnection.iceConnectionState)||(this.isReady=!0,this.addRemoteCandidate())})}mungReceiveAnswerSDP(e,i,n){const r=Ni(e),o=r.mediaDescriptions.find(s=>s.attributes.mid===i);return o&&n===q.AUDIO&&o.media.mediaType==="audio"&&wa(o),mo(r)}},Q(qt.prototype,"establish",[Bn],Object.getOwnPropertyDescriptor(qt.prototype,"establish"),qt.prototype),Q(qt.prototype,"connect",[Bn],Object.getOwnPropertyDescriptor(qt.prototype,"connect"),qt.prototype),Q(qt.prototype,"receive",[Bn],Object.getOwnPropertyDescriptor(qt.prototype,"receive"),qt.prototype),Q(qt.prototype,"mockReceive",[Bn],Object.getOwnPropertyDescriptor(qt.prototype,"mockReceive"),qt.prototype),Q(qt.prototype,"stopReceiving",[Bn],Object.getOwnPropertyDescriptor(qt.prototype,"stopReceiving"),qt.prototype),Q(qt.prototype,"restartICE",[Bn],Object.getOwnPropertyDescriptor(qt.prototype,"restartICE"),qt.prototype),Q(qt.prototype,"close",[Bn],Object.getOwnPropertyDescriptor(qt.prototype,"close"),qt.prototype),Q(qt.prototype,"updateEncoderConfig",[Bn],Object.getOwnPropertyDescriptor(qt.prototype,"updateEncoderConfig"),qt.prototype),Q(qt.prototype,"updateSendParameters",[Bn],Object.getOwnPropertyDescriptor(qt.prototype,"updateSendParameters"),qt.prototype),Q(qt.prototype,"replaceTrack",[Bn],Object.getOwnPropertyDescriptor(qt.prototype,"replaceTrack"),qt.prototype),Q(qt.prototype,"muteLocal",[Bn],Object.getOwnPropertyDescriptor(qt.prototype,"muteLocal"),qt.prototype),Q(qt.prototype,"unmuteLocal",[Bn],Object.getOwnPropertyDescriptor(qt.prototype,"unmuteLocal"),qt.prototype),qt);function Bn(t,e,i){const n=t[e];if(typeof n!="function")throw new Error("Cannot use mutex on object property.");return i.value=function(){return C(this,arguments,function*(){const r=this.mutex,o=yield r.lock("From P2PConnection.".concat(e));try{for(var s=arguments.length,a=new Array(s),c=0;cC(this,null,function*(){const o=yield this.sendMutex.lock("Locking from P2PChannel2.handleMuteLocalTrack");try{if(!this.sendConnection||this.state!==wt.Connected)return void r(new k(v.INVALID_OPERATION,"Cannot call P2PChannel2.handleMuteLocalTrack before sendConnection established."));const c=this.filterTobeMutedTracks(i);if(c.length===0)return void n();const d=c.find(p=>p[0]==="videoLowTrack");d&&d[1].track._originMediaStreamTrack.stop(),yield this.sendConnection.muteLocal(c.map(p=>{let[,{id:g}]=p;return g}));let l=!1;var s,a;i.trackMediaType==="video"?l=!((s=this.localTrackMap.get(V.LocalAudioTrack))===null||s===void 0||!s.track._muted):l=((a=this.localTrackMap.get(V.LocalVideoTrack))===null||a===void 0?void 0:a.id)===void 0;const u=this.createMuteMessage(c);yield Bt(this,$.RequestMuteLocal,u);const h=i.trackMediaType==="video"?go.MUTE_LOCAL_VIDEO:go.MUTE_LOCAL_AUDIO;yield Bt(this,$.RequestP2PMuteLocal,{action:h,message:u,isMuteAll:l}),n()}catch(c){r(c)}finally{o()}})),S(this,"handleUnmuteLocalTrack",(i,n,r)=>C(this,null,function*(){const o=yield this.sendMutex.lock("Locking from P2PChannel2.handleUnmuteLocalTrack");try{if(!this.sendConnection||this.state!==wt.Connected)return void r(new k(v.INVALID_OPERATION,"Cannot call P2PChannel2.handleUnmuteLocalTrack before sendConnection established."));const s=this.filterTobeUnmutedTracks(i);if(s.length===0)return void n();yield this.sendConnection.unmuteLocal(s.map(d=>{let[,{id:l}]=d;return l}));const a=this.createUnmuteMessage(s),c=i.trackMediaType==="video"?go.UNMUTE_LOCAL_VIDEO:go.UNMUTE_LOCAL_AUDIO;yield Bt(this,$.RequestP2PMuteLocal,{action:c,message:a}),n()}catch(s){r(s)}finally{o()}})),S(this,"handleUpdateVideoEncoder",(i,n,r,o)=>C(this,null,function*(){let s;typeof o=="boolean"&&o||(s=yield this.sendMutex.lock("Locking from P2PChannel2.handleUpdateVideoEncoder"));try{const c=this.localTrackMap.get(V.LocalVideoTrack);if(!this.sendConnection||!c||c.track!==i||this.state!==wt.Connected)return void n();const{id:d,track:l}=c;d&&(yield this.sendConnection.updateSendParameters(d,l),yield this.sendConnection.updateEncoderConfig(d,l),this.emit($.UpdateVideoEncoder,l)),n()}catch(c){r(c)}finally{var a;(a=s)===null||a===void 0||a()}})),S(this,"handleUpdateVideoSendParameters",(i,n,r)=>C(this,null,function*(){const o=yield this.sendMutex.lock("Locking from P2PChannel2.handleUpdateVideoSendParameters");try{const s=this.localTrackMap.get(V.LocalVideoTrack);if(!this.sendConnection||!s||s.track!==i||this.state!==wt.Connected)return void n();const{id:a,track:c}=s;a&&(yield this.sendConnection.updateSendParameters(a,c)),n()}catch(s){r(s)}finally{o()}})),S(this,"handleReplaceTrack",(i,n,r,o)=>C(this,null,function*(){let s;_.debug("[".concat(this.store.clientId,"] P2PChannel2 handleReplaceTrack for [track-id-").concat(i.getTrackId(),"]")),typeof o=="boolean"&&o||(s=yield this.sendMutex.lock("From P2PChannel2.handleReplaceTrack"));try{var a;const d=Array.from(this.localTrackMap.entries()).find(l=>{let[,{track:u}]=l;return i===u});if(!this.sendConnection||!d||d[1].id===void 0||this.state!==wt.Connected)return void n();if(yield(a=this.sendConnection)===null||a===void 0?void 0:a.replaceTrack(i,d[1].id),d[0]===V.LocalVideoTrack&&Ct().supportDualStreamEncoding){const l=this.localTrackMap.get(V.LocalVideoLowTrack);if(l){const u=i._mediaStreamTrack.clone();l.track._originMediaStreamTrack.stop(),l.track._mediaStreamTrack=u,l.track._originMediaStreamTrack=u,yield new K((h,p)=>{this.handleReplaceTrack(l.track,h,p,!0)})}}n()}catch(d){r(d)}finally{var c;(c=s)===null||c===void 0||c()}})),S(this,"handleGetLocalVideoStats",i=>{i(this.statsCollector.getLocalVideoTrackStats())}),S(this,"handleGetLocalAudioStats",i=>{i(this.statsCollector.getLocalAudioTrackStats())}),S(this,"handleGetRemoteVideoStats",i=>this.statsCollector.getRemoteVideoTrackStats(i.uid)[i.uid]),S(this,"handleGetRemoteAudioStats",i=>this.statsCollector.getRemoteAudioTrackStats(i.uid)[i.uid]),this.store=t,this.statsCollector=e,this.statsCollector.addP2PChannel(this),this.statsUploader=new a0(t),this.bindStatsUploaderEvents(),this.sendMutex=new qe("P2PChannel2-send-mutex",t.clientId),this.recvMutex=new qe("P2PChannel2-recv-mutex",t.clientId),this.reconnectInterval=window.setInterval(()=>{[this.sendConnection,this.recvConnection].forEach(i=>{i&&(i.iceConnectionState!=="disconnected"&&i.iceConnectionState!=="failed"||this.handleDisconnect(i.direction))})},y("ICE_RESTART_INTERVAL"))}startP2PConnection(t,e){return C(this,null,function*(){throw new k(v.NOT_SUPPORTED,"p2p mode does not support startP2PConnection.")})}connect(t){return C(this,null,function*(){throw new k(v.NOT_SUPPORTED,"p2p mode does not support connect.")})}startP2P(t,e){return C(this,null,function*(){let i;try{if(e){this.recvConnection&&(_.warning("[".concat(this.store.clientId,"] P2PChannel.startP2P reset recvConnection.")),this.recvConnection.close(),this.unbindConnectionEvents(this.recvConnection)),i=yield this.recvMutex.lock("From P2PChannel.startP2P"),this.recvConnection=new PN(t,this.store,pi.RECEIVE_ONLY),this.bindConnectionEvents(this.recvConnection);const n=yield this.recvConnection.establish(e);return{iceParameters:n.iceParameters,dtlsParameters:n.dtlsParameters,sdp:n.sdp}}{this.state=wt.New,this.sendConnection&&(_.warning("[".concat(this.store.clientId,"] P2PChannel.startP2P reset sendConnection.")),this.sendConnection.close(),this.unbindConnectionEvents(this.sendConnection)),i=yield this.sendMutex.lock("From P2PChannel.startP2P"),this.sendConnection=new PN(t,this.store),this.store.peerConnectionStart(),this.bindConnectionEvents(this.sendConnection);const n=yield this.sendConnection.establish();return{iceParameters:n.iceParameters,dtlsParameters:n.dtlsParameters,sdp:n.sdp}}}finally{i&&i()}})}p2pConnect(t){return C(this,null,function*(){if(!this.sendConnection)throw new k(v.UNEXPECTED_ERROR,"Cannot P2PChannel2.p2pConnect before P2PChannel2.startP2PConnection .");this.store.peerConnectionStart(),yield this.sendConnection.connect(t),this.statsUploader.startUploadTransportStats(),this.statsUploader.startUploadExtensionUsageStats(),this.state=wt.Connected})}addRemoteCandidate(t,e){return C(this,null,function*(){if(e===pi.RECEIVE_ONLY){if(!this.sendConnection)throw new k(v.UNEXPECTED_ERROR,"Cannot P2PChannel2.connect before P2PChannel2.addRemoteCandidate .");yield this.sendConnection.addRemoteCandidate(t)}else{if(!this.recvConnection)throw new k(v.UNEXPECTED_ERROR,"Cannot P2PChannel2.connect before P2PChannel2.addRemoteCandidate .");yield this.recvConnection.addRemoteCandidate(t)}})}publish(t,e,i){var n=this;return cn(function*(){const r=yield Rt(n.sendMutex.lock("From P2PChannel.publish"));try{if(!n.sendConnection||n.state!==wt.Connected){n.throwIfTrackTypeNotMatch(t);const d=t.filter(l=>n.pendingLocalTracks.indexOf(l)===-1);return void(n.pendingLocalTracks=n.pendingLocalTracks.concat(d))}n.store.pubId=n.store.pubId+1,Je.markPublishStart(n.store.clientId,n.store.pubId);const o=n.filterTobePublishedTracks(t,e,i);if(o.length===0)return void(yield Rt(n.tryToUnmuteAudio(t)));o.forEach(d=>{let{track:l,type:u}=d;const h=Date.now();n.store.publish(l.getTrackId(),u===V.LocalAudioTrack?"audio":"video",h)}),n.bindLocalTrackEvents(o);const s=yield Rt(n.sendConnection.send(o.map(d=>{let{track:l}=d;return l}),n.store.codec,n.store.audioCodec)),a=(yield Rt(s.next())).value,c=n.createGatewayPublishMessage(o,a);try{yield c}catch(d){throw s.throw(d),(d==null?void 0:d.code)===v.WS_ABORT&&o.forEach(l=>{let{track:u}=l;n.pendingLocalTracks.indexOf(u)===-1&&n.pendingLocalTracks.push(u)}),n.unbindLocalTrackEvents(o),d}yield Rt(s.next()),o.forEach(d=>{let{type:l}=d;n.statsCollector.addLocalStats(l)}),n.statsUploader.startUploadOutboundStats(),n.assignLocalTracks(o,a),o.forEach(d=>{let{track:l,type:u}=d;const h=Date.now();n.store.publish(l.getTrackId(),u===V.LocalAudioTrack?"audio":"video",void 0,h)}),n.startUploadUplinkState()}finally{r()}})()}unpublish(t){return C(this,null,function*(){if(!this.sendConnection||this.state!==wt.Connected)return void(t.length===0?this.pendingLocalTracks.length=0:this.pendingLocalTracks=this.pendingLocalTracks.filter(r=>!G(t).call(t,r)));const e=this.filterTobeUnpublishedTracks(t);if(e.length===0)return;const i=e.find(r=>r[0]==="videoLowTrack");i&&i[1].track.close();const n=this.createGatewayUnpublishMessage(e);if(yield this.sendConnection.stopSending(e.map(r=>{let[,{id:o}]=r;return o})),this.withdrawLocalTracks(e),this.unbindLocalTrackEvents(e.map(r=>{let[o,{track:s}]=r;return{type:o,track:s}})),e.forEach(r=>{let[o]=r;this.statsCollector.removeLocalStats(o)}),this.localTrackMap.size===0&&(this.statsUploader.stopUploadOutboundStats(),this.stopUploadUplinkState()),this.sendConnection&&this.state===wt.Connected)return i&&i[1].track.close(),n;t.forEach(r=>{const o=this.pendingLocalTracks.indexOf(r);o!==-1&&this.pendingLocalTracks.splice(o,1)})})}startUploadUplinkState(){if(this.uploadUnplinkStarted)return;this.uploadUnplinkStarted=!0,this.uplinkStateUploadInterval&&window.clearInterval(this.uplinkStateUploadInterval);const t=()=>{const e=[],i=[];Array.from(this.localTrackMap.entries()).forEach(n=>{let[r,{track:o,ssrcs:s}]=n;const a={stream_type:NW(o,r),ssrcs:s};o._muted||!o._enabled?e.push(a):i.push(a)}),e.length>0&&e.forEach(n=>{Bt(this,$.RequestMuteLocal,[n])}),i.length>0&&i.forEach(n=>{Bt(this,$.RequestUnmuteLocal,[n])})};t(),this.uplinkStateUploadInterval=window.setInterval(()=>{t()},3e3)}stopUploadUplinkState(){this.uploadUnplinkStarted&&(this.uploadUnplinkStarted=!1,this.uplinkStateUploadInterval&&window.clearInterval(this.uplinkStateUploadInterval))}publishLowStream(t){return cn(function*(){throw new k(v.NOT_SUPPORTED,"p2p mode does not support publishLowStream.")})()}republish(){return C(this,null,function*(){this.pendingLocalTracks.length>0&&(_.debug("[".concat(this.store.clientId,"] Emit P2PChannelEvents.RequestRePublish to republish tracks.")),yield We(this,$.RequestRePublish,this.pendingLocalTracks),this.emit($.MediaReconnectEnd,this.store.uid),this.pendingLocalTracks=[])})}unpublishLowStream(){return C(this,null,function*(){throw new k(v.NOT_SUPPORTED,"p2p mode does not support unpublishLowStream.")})}subscribe(t,e,i,n){return C(this,null,function*(){var r;if(!this.recvConnection)throw new k(v.INVALID_OPERATION,"Cannot subscribe remote user when recvConnection disconnected.");if((r=this.remoteUserMap.get(t))!==null&&r!==void 0&&r.has(e))return;const{track:o,mid:s,transceiver:a}=yield this.recvConnection.receive(e,[{ssrcId:i}],String(t.uid),n);e===q.AUDIO?(t._audioTrack?t._audioTrack._updateOriginMediaStreamTrack(o):(t._audioTrack=new Sa(o,t.uid,t._uintid,this.store),_.info("[".concat(this.store.clientId,"] [").concat(this.store.p2pId,"] create remote audio track: ").concat(t._audioTrack.getTrackId()))),a&&t._audioTrack._updateRtpTransceiver(a),this.bindRemoteTrackEvents(t,t._audioTrack)):(t._videoSSRC=i,t._videoTrack?t._videoTrack._updateOriginMediaStreamTrack(o):(t._videoTrack=new ga(o,t.uid,t._uintid,this.store),_.info("[".concat(this.store.clientId,"] [").concat(this.store.p2pId,"] create remote video track: ").concat(t._videoTrack.getTrackId()))),a&&t._videoTrack._updateRtpTransceiver(a),this.bindRemoteTrackEvents(t,t._videoTrack));const c=this.remoteUserMap.get(t);c?c.set(e,s):this.remoteUserMap.set(t,new Map([[e,s]])),this.statsCollector.addRemoteStats(t.uid),this.statsUploader.startUploadInboundStats(),this.startUploadDownlinkState();const d=this.pendingRemoteTracks.findIndex(l=>{let{user:u,kind:h}=l;return u.uid===t.uid&&e===h});d!==-1&&(this.pendingRemoteTracks.splice(d,1),this.emit($.MediaReconnectEnd,t.uid))})}mockSubscribe(t,e,i,n){return C(this,null,function*(){if(!this.recvConnection)throw new k(v.INVALID_OPERATION,"Cannot subscribe remote user when recvConnection disconnected.");yield this.recvConnection.mockReceive(e,[{ssrcId:i}],String(t.uid),n)})}unsubscribe(t,e,i){return C(this,null,function*(){const n=this.pendingRemoteTracks.filter(o=>{let{user:s,kind:a}=o;return e!==void 0?s.uid===t.uid&&e===a:s.uid===t.uid});if(n.forEach(o=>{const s=this.pendingRemoteTracks.indexOf(o);this.pendingRemoteTracks.splice(s,1)}),this.recvConnection||i||n.forEach(o=>{let{kind:s}=o;var a;if(s===q.AUDIO)(a=t._audioTrack)===null||a===void 0||a._destroy(),t._audioTrack=void 0;else if(s===q.VIDEO){var c;(c=t._videoTrack)===null||c===void 0||c._destroy(),t._videoTrack=void 0}}),!this.recvConnection)return;const r=this.filterTobeUnSubscribedTracks(t,e);r.length!==0&&(yield this.recvConnection.stopReceiving(r.map(o=>{let[,{id:s}]=o;return s})),this.withdrawRemoteTracks(r),this.remoteUserMap.size===0&&(this.statsUploader.stopUploadInboundStats(),this.stopUploadDownlinkState()),r.forEach(o=>{let[s,{kind:a}]=o;var c,d;if(a===q.VIDEO&&s._videoSSRC&&((c=this.recvConnection)===null||c===void 0||c.setStatsRemoteVideoIsReady(s._videoSSRC,!1)),a===q.VIDEO)this.unbindRemoteTrackEvents(s._videoTrack),i||((d=s._videoTrack)===null||d===void 0||d._destroy(),s._videoTrack=void 0);else if(a===q.AUDIO){var l;this.unbindRemoteTrackEvents(s._audioTrack),!i&&((l=s._audioTrack)===null||l===void 0||l._destroy(),s._audioTrack=void 0)}}),r.forEach(o=>{let[,{kind:s}]=o;Bt(this,$.RequestP2PMuteRemote,s)}))})}startUploadDownlinkState(){if(this.uploadDownlinkStarted)return;this.uploadDownlinkStarted=!0,this.downlinkStatsUploadInterval&&window.clearInterval(this.downlinkStatsUploadInterval);const t=()=>Array.from(this.remoteUserMap.entries()).forEach(e=>{let[,i]=e;[q.VIDEO,q.AUDIO].forEach(n=>{i.has(n)?Bt(this,$.RequestP2PUnmuteRemote,n):Bt(this,$.RequestP2PMuteRemote,n)})});t(),this.downlinkStatsUploadInterval=window.setInterval(()=>{t()},3e3)}stopUploadDownlinkState(){this.uploadDownlinkStarted&&(this.uploadDownlinkStarted=!1,this.downlinkStatsUploadInterval&&window.clearInterval(this.downlinkStatsUploadInterval))}getAllDataChannels(){return this.localDataChannels}massSubscribe(t){return C(this,null,function*(){throw new k(v.NOT_SUPPORTED,"p2p mode does not support massSubscribe.")})}massSubscribeNoLock(t){return C(this,null,function*(){throw new k(v.NOT_SUPPORTED,"p2p mode does not support massSubscribeNoLock.")})}massUnsubscribe(t){return C(this,null,function*(){throw new k(v.NOT_SUPPORTED,"p2p mode does not support massUnsubscribe.")})}massUnsubscribeNoLock(t){return C(this,null,function*(){throw new k(v.NOT_SUPPORTED,"p2p mode does not support massUnsubscribeNoLock.")})}muteRemote(t,e){return C(this,null,function*(){if(!this.recvConnection)return;const i=this.remoteUserMap.get(t);if(!i)return void _.warning("[".concat(this.store.clientId,"] P2PChannel2.muteRemote has no remote user ").concat(t.uid,"."));if(!i.get(e))return void _.warning("[".concat(this.store.clientId,"] P2PChannel2.muteRemote has no remote user ").concat(t.uid," media type ").concat(e,"."));const n=e===q.VIDEO?t._videoSSRC:t._audioSSRC;n!==void 0&&this.recvConnection.setStatsRemoteVideoIsReady(n,!1)})}unmuteRemote(t,e){return C(this,null,function*(){return this.unmuteRemoteNoLock(t,e)})}unmuteRemoteNoLock(t,e){return C(this,null,function*(){if(!this.recvConnection)return;const i=this.remoteUserMap.get(t);if(!i)return void _.warning("[".concat(this.store.clientId,"] P2PChannel2.unmuteRemote has no remote user ").concat(t.uid,"."));i.get(e)||_.warning("[".concat(this.store.clientId,"] P2PChannel2.unmuteRemote has no remote user ").concat(t.uid," media type ").concat(e,"."))})}getAllTracks(t){const e=this.localTrackMap.get(V.LocalAudioTrack);if((e==null?void 0:e.track)instanceof ve){const i=e.track;return Array.from(this.localTrackMap.entries()).filter(n=>{let[r]=n;return r!==V.LocalAudioTrack}).filter(n=>{let[r]=n;return!(t&&r===V.LocalVideoLowTrack)}).map(n=>{let[,{track:r}]=n;return r}).concat(i.trackList)}return Array.from(this.localTrackMap.entries()).filter(i=>{let[n]=i;return!(t&&n===V.LocalVideoLowTrack)}).map(i=>{let[,{track:n}]=i;return n})}reportPublishEvent(t,e,i,n,r){if(t){const s=this.localTrackMap.get(V.LocalAudioTrack),a=n?this.localTrackMap.get(V.LocalVideoLowTrack):this.localTrackMap.get(V.LocalVideoTrack);Z.publish(this.store.sessionId,{eventElapse:Je.measureFromPublishStart(this.store.clientId,this.store.pubId),succ:t,ec:e,audioName:s==null?void 0:s.track.getTrackLabel(),videoName:a==null?void 0:a.track.getTrackLabel(),screenshare:(a==null?void 0:a.track._hints.indexOf(Vt.SCREEN_TRACK))!==-1,audio:!!s,video:!!a,p2pid:this.store.p2pId,publishRequestid:this.store.pubId,extend:r})}else{var o;i||(i=[]);const s=i.find(c=>c instanceof ae),a=n?(o=this.localTrackMap.get(V.LocalVideoTrack))===null||o===void 0?void 0:o.track:i.find(c=>c instanceof Yt);Z.publish(this.store.sessionId,{eventElapse:Je.measureFromPublishStart(this.store.clientId,this.store.pubId),succ:t,ec:e,audioName:s==null?void 0:s.getTrackLabel(),videoName:a==null?void 0:a.getTrackLabel(),screenshare:(a==null?void 0:a._hints.indexOf(Vt.SCREEN_TRACK))!==-1,audio:!!s,video:!!a,p2pid:this.store.p2pId,publishRequestid:this.store.pubId,extend:r})}}reportSubscribeEvent(t,e,i,n){const r=n===q.VIDEO?i._videoSSRC:i._audioSSRC;r&&Z.subscribe(this.store.sessionId,{succ:t,ec:e,video:n===q.VIDEO,audio:n===q.AUDIO,peerid:i.uid,subscribeRequestid:n===q.VIDEO?i._videoSSRC:i._audioSSRC,p2pid:this.store.p2pId,eventElapse:Je.measureFromSubscribeStart(this.store.clientId,r)})}reset(){_.debug("[".concat(this.store.clientId,"] P2PChannel2.reset")),this.sendMutex=new qe("P2PChannel2-send-mutex",this.store.clientId),this.sendMutex=new qe("P2PChannel2-recv-mutex",this.store.clientId),this.sendConnection&&(this.sendConnection.close(),this.unbindConnectionEvents(this.sendConnection),this.sendConnection=void 0),this.recvConnection&&(this.recvConnection.close(),this.unbindConnectionEvents(this.recvConnection),this.recvConnection=void 0),this.statsUploader.stopUploadOutboundStats(),this.statsUploader.stopUploadInboundStats(),this.statsUploader.stopUploadTransportStats(),this.statsUploader.stopUploadExtensionUsageStats(),this.stopUploadUplinkState(),this.stopUploadDownlinkState(),this.unbindLocalTrackEvents(),this.unbindAllRemoteTrackEvents(),this.unbindRtpTransceiver();const t=this.localTrackMap.get(V.LocalAudioTrack);if((t==null?void 0:t.track)instanceof ve){if(t.track.trackList.length>0){const e=t.track;t.track.trackList.forEach(i=>{e.removeAudioTrack(i)})}t.track.close()}this.localTrackMap.clear(),this.remoteUserMap.clear(),this.statsCollector.removeRemoteStats(),this.statsCollector.removeLocalStats(),this.dtlsFailedCount=0,this.pendingLocalTracks=[],this.pendingRemoteTracks=[],this.reconnectInterval&&(window.clearInterval(this.reconnectInterval),this.reconnectInterval=void 0),this.state=wt.Disconnected}getStats(t){var e,i;return t?(i=this.recvConnection)===null||i===void 0?void 0:i.getStats():(e=this.sendConnection)===null||e===void 0?void 0:e.getStats()}getRemoteVideoIsReady(t){var e;return((e=this.recvConnection)===null||e===void 0?void 0:e.getRemoteVideoIsReady(t))||!1}getLocalAudioVolume(){const t=this.localTrackMap.get(V.LocalAudioTrack);if(t)return t.track.getVolumeLevel()}getLocalVideoSize(){const t=this.localTrackMap.get(V.LocalVideoTrack);if(t)return{width:t.track.videoWidth||0,height:t.track.videoHeight||0}}getEncoderConfig(t){const e=this.localTrackMap.get(t);return e&&e.track instanceof Yt||e&&e.track instanceof ae?e.track._encoderConfig:void 0}getLocalMedia(t){return this.localTrackMap.get(t)}hasLocalMedia(){return this.localTrackMap.size>0}hasRemoteMedia(t,e){if(!t)return this.remoteUserMap.size>0;const i=this.remoteUserMap.get(t);return!!i&&(!e||i.has(e))}hasRemoteMediaWithLock(t,e){return C(this,null,function*(){if(!t)return this.remoteUserMap.size>0;const i=this.remoteUserMap.get(t);return!!i&&(!e||i.has(e))})}getRemoteMedia(t){var e;const i=Array.from(Ji(e=this.remoteUserMap).call(e)).find(n=>n.uid===t);return i?{audioTrack:i.audioTrack,audioSSRC:i._audioSSRC,videoTrack:i.videoTrack,videoSSRC:i._videoSSRC}:{}}getAudioLevels(){let t=Array.from(this.remoteUserMap.entries()).map(i=>{let[n]=i;return{uid:n.uid,level:n.audioTrack?100*n.audioTrack._source.getAccurateVolumeLevel():0}});const e=this.localTrackMap.get(V.LocalAudioTrack);return e&&t.push({level:100*e.track._source.getAccurateVolumeLevel(),uid:this.store.uid}),t=jo(t).call(t,(i,n)=>i.level-n.level),t}disconnectForReconnect(){return C(this,null,function*(){this.sendConnection&&this.recvConnection&&(_.debug("[".concat(this.store.clientId,"] P2PChannel2.disconnectForReconnect closing P2PConnection")),this.state=wt.Reconnecting,y("KEEP_LAST_FRAME")&&this.remoteUserMap.size!==0&&Array.from(this.remoteUserMap.entries()).forEach(t=>{let[e]=t;var i;e._videoTrack&&e._videoTrack._player&&((i=e._videoTrack._player.getVideoElement())===null||i===void 0||i.pause(),e._videoTrack._player.isKeepLastFrame=!0,e._videoTrack._originMediaStreamTrack.stop())}),this.sendConnection.close(),this.unbindConnectionEvents(this.sendConnection),this.sendConnection=void 0,this.recvConnection.close(),this.unbindConnectionEvents(this.recvConnection),this.recvConnection=void 0,this.localTrackMap.size!==0&&(Array.from(this.localTrackMap.entries()).forEach(t=>{var e;let[i,{track:n}]=t;switch(i){case V.LocalVideoTrack:G(e=n._hints).call(e,Vt.LOW_STREAM)?n.close():this.pendingLocalTracks.push(n);break;case V.LocalAudioTrack:n instanceof ve?this.pendingLocalTracks=this.pendingLocalTracks.concat(n.trackList):this.pendingLocalTracks.push(n);case V.LocalVideoLowTrack:}}),this.emit($.MediaReconnectStart,this.store.uid)),this.unbindLocalTrackEvents(),this.localTrackMap.clear(),this.remoteUserMap.size!==0&&Array.from(this.remoteUserMap.entries()).forEach(t=>{let[e,i]=t;Array.from(Ji(i).call(i)).forEach(n=>{this.setPendingRemoteMedia(e,n)}),this.emit($.MediaReconnectStart,e.uid)}),this.unbindAllRemoteTrackEvents(),this.remoteUserMap.clear(),this.stopUploadUplinkState(),this.stopUploadDownlinkState(),this.statsUploader.stopUploadOutboundStats(),this.statsUploader.stopUploadInboundStats(),this.statsUploader.stopUploadTransportStats(),_.debug("[".concat(this.store.clientId,"] P2PChannel2 disconnected, waiting to reconnect.")))})}hasPendingRemoteMedia(t,e){for(const i of this.pendingRemoteTracks){const{user:n,kind:r}=i;if((t instanceof Co?t.uid:t)===n.uid&&e===r)return!0}return!1}setPendingRemoteMedia(t,e){this.hasPendingRemoteMedia(t,e)||this.pendingRemoteTracks.push({user:t,kind:e})}restartICE(t,e){return C(this,null,function*(){let i,n;if(t===pi.SEND_ONLY){if(!this.sendConnection)throw new k(v.INVALID_OPERATION,"Cannot call P2PChannel2.handleMuteLocalTrack before sendConnection established.");i=yield this.sendMutex.lock("From P2PChannel.restartICE"),n=this.sendConnection}else{if(!this.recvConnection)throw new k(v.INVALID_OPERATION,"Cannot call P2PChannel2.handleMuteLocalTrack before recvConnection established.");i=yield this.recvMutex.lock("From P2PChannel.restartICE"),n=this.recvConnection}try{if(e){const r=yield n.restartICE(e);return n.isInRestartIce=!1,r}{const r=yield n.restartICE();if(r){const o=yield We(this,$.RequestP2PRestartICE,{direction:pi.RECEIVE_ONLY,iceParameter:r});yield n.restartICE(o),n.isInRestartIce=!1}}}finally{i()}})}getUplinkNetworkQuality(){if(!this.sendConnection)return 0;const t=this.sendConnection.getStats(),e=this.localTrackMap.get(V.LocalVideoTrack),i=this.localTrackMap.get(V.LocalAudioTrack),n=t.videoSend.find(p=>{var g;return p.ssrc===(e==null||(g=e.ssrcs)===null||g===void 0?void 0:g[0].ssrcId)}),r=t.audioSend.find(p=>{var g;return p.ssrc===(i==null||(g=i.ssrcs)===null||g===void 0?void 0:g[0].ssrcId)});if(!n||!r)return 1;const o=zi(this,$.NeedSignalRTT),s=n?n.rttMs:void 0,a=r?r.rttMs:void 0,c=s&&a?(s+a)/2:s||a,d=(c&&o?(c+o)/2:c||o)||0,l=100*t.sendPacketLossRate*.7/50+.3*d/1500,u=l<.17?1:l<.36?2:l<.59?3:l<.1?4:5,h=e==null?void 0:e.track;if(h&&h._encoderConfig&&h._hints.indexOf(Vt.SCREEN_TRACK)===-1){const p=h._encoderConfig.bitrateMax,g=t.bitrate.actualEncoded;if(p&&g){const m=(1e3*p-g)/(1e3*p);return Xb[m<.15?0:m<.3?1:m<.45?2:m<.6?3:4][u]}}return u}getDownlinkNetworkQuality(){if(!this.recvConnection)return 0;const t=this.recvConnection.getStats();let e=0;return Array.from(this.remoteUserMap.entries()).forEach(i=>{let[n]=i;const r=n._audioSSRC,o=n._videoSSRC,s=t.audioRecv.find(g=>g.ssrc===r),a=t.videoRecv.find(g=>g.ssrc===o);if(!s&&!a)return void(e+=1);const c=zi(this,$.NeedSignalRTT),d=t.rtt,l=(d&&c?(d+c)/2:d||c)||0,u=s?s.jitterMs:void 0,h=t.recvPacketLossRate;let p=.7*h*100/50+.3*l/1500;u&&(p=.6*h*100/50+.2*l/1500+.2*u/400),e+=p<.1?1:p<.17?2:p<.36?3:p<.59?4:5}),this.remoteUserMap.size>0?Math.round(e/this.remoteUserMap.size):e}muteLocalTrack(t){return C(this,null,function*(){return new K((e,i)=>{this.handleMuteLocalTrack(t,e,i)})})}filterTobePublishedTracks(t,e,i){const n=[],r=Ct(),o=this.getAllTracks();t=oa(t=t.filter(c=>o.indexOf(c)===-1));let s=!1,a=!1;for(const c of t){if(c instanceof Yt&&(this.localTrackMap.has(V.LocalVideoTrack)||s?new k(v.CAN_NOT_PUBLISH_MULTIPLE_VIDEO_TRACKS).throw():(n.push({track:c,type:V.LocalVideoTrack}),s=!0),e)){const d=this.getLowVideoTrack(c,i);n.push({track:d,type:V.LocalVideoLowTrack})}if(c instanceof ae){const d=this.localTrackMap.get(V.LocalAudioTrack);if(d){if(!(d.track instanceof ve))throw new k(v.NOT_SUPPORTED,"cannot publish multiple tracks which one of them configured with bypassWebAudio or your browser does not support audio mixing");if(c._bypassWebAudio)throw new k(v.NOT_SUPPORTED,"cannot publish multiple tracks which one of them configured with bypassWebAudio");d.track.addAudioTrack(c),this.bindLocalAudioTrackEvents(c,!0)}else if(a){const l=n.find(u=>{let{type:h}=u;return h===V.LocalAudioTrack});if(!(l.track instanceof ve))throw new k(v.NOT_SUPPORTED,"cannot publish multiple tracks which one of them configured with bypassWebAudio or your browser does not support audio mixing");if(c._bypassWebAudio)throw new k(v.NOT_SUPPORTED,"cannot publish multiple tracks which one of them configured with bypassWebAudio");l.track.addAudioTrack(c)}else{if(!r.webAudioMediaStreamDest||c instanceof ve||c._bypassWebAudio)n.push({track:c,type:V.LocalAudioTrack});else{const l=new ve;l.addAudioTrack(c),n.push({track:l,type:V.LocalAudioTrack})}a=!0}}}return n}filterTobeUnpublishedTracks(t){const e=[],i=this.getAllTracks();t=oa(t=t.filter(n=>i.indexOf(n)!==-1));for(const n of t){if(n instanceof ae){const r=this.localTrackMap.get(V.LocalAudioTrack);if(!r)continue;r.track instanceof ve?(r.track.removeAudioTrack(n),this.unbindLocalAudioTrackEvents(n),r.track.trackList.length===0&&(e.push([V.LocalAudioTrack,r]),r.track.close())):e.push([V.LocalAudioTrack,r])}if(n instanceof Yt){const r=this.localTrackMap.get(V.LocalVideoTrack);if(!r)continue;e.push([V.LocalVideoTrack,r]);const o=this.localTrackMap.get(V.LocalVideoLowTrack);o&&e.push([V.LocalVideoLowTrack,o])}}return e}bindLocalTrackEvents(t){t.forEach(e=>{let{track:i,type:n}=e;switch(n){case V.LocalVideoTrack:i.addListener(J.GET_STATS,this.handleGetLocalVideoStats),i.addListener(J.NEED_DISABLE_TRACK,this.handleMuteLocalTrack),i.addListener(J.NEED_ENABLE_TRACK,this.handleUnmuteLocalTrack),i.addListener(J.NEED_UPDATE_VIDEO_ENCODER,this.handleUpdateVideoEncoder),i.addListener(J.NEED_UPDATE_VIDEO_SEND_PARAMETERS,this.handleUpdateVideoSendParameters),i.addListener(J.NEED_REPLACE_TRACK,this.handleReplaceTrack),i.addListener(J.NEED_MUTE_TRACK,this.handleMuteLocalTrack),i.addListener(J.NEED_UNMUTE_TRACK,this.handleUnmuteLocalTrack);break;case V.LocalAudioTrack:this.bindLocalAudioTrackEvents(i);case V.LocalVideoLowTrack:}})}bindLocalAudioTrackEvents(t,e){t instanceof ve?t.trackList.forEach(i=>{i.addListener(J.NEED_DISABLE_TRACK,this.handleMuteLocalTrack),i.addListener(J.NEED_ENABLE_TRACK,this.handleUnmuteLocalTrack),i.addListener(J.GET_STATS,this.handleGetLocalAudioStats),i.addListener(J.NEED_MUTE_TRACK,this.handleMuteLocalTrack),i.addListener(J.NEED_UNMUTE_TRACK,this.handleUnmuteLocalTrack)}):(t.addListener(J.GET_STATS,this.handleGetLocalAudioStats),t.addListener(J.NEED_DISABLE_TRACK,this.handleMuteLocalTrack),t.addListener(J.NEED_ENABLE_TRACK,this.handleUnmuteLocalTrack),t.addListener(J.NEED_MUTE_TRACK,this.handleMuteLocalTrack),t.addListener(J.NEED_UNMUTE_TRACK,this.handleUnmuteLocalTrack),e||t.addListener(J.NEED_REPLACE_TRACK,this.handleReplaceTrack))}unbindLocalTrackEvents(t){t||(t=Array.from(this.localTrackMap.entries()).map(e=>{let[i,{track:n}]=e;return{track:n,type:i}})),t.forEach(e=>{let{track:i,type:n}=e;switch(n){case V.LocalVideoTrack:i.off(J.GET_STATS,this.handleGetLocalVideoStats),i.off(J.NEED_DISABLE_TRACK,this.handleMuteLocalTrack),i.off(J.NEED_ENABLE_TRACK,this.handleUnmuteLocalTrack),i.off(J.NEED_UPDATE_VIDEO_ENCODER,this.handleUpdateVideoEncoder),i.off(J.NEED_UPDATE_VIDEO_SEND_PARAMETERS,this.handleUpdateVideoSendParameters),i.off(J.NEED_REPLACE_TRACK,this.handleReplaceTrack),i.off(J.NEED_MUTE_TRACK,this.handleMuteLocalTrack),i.off(J.NEED_UNMUTE_TRACK,this.handleUnmuteLocalTrack);break;case V.LocalAudioTrack:this.unbindLocalAudioTrackEvents(i);case V.LocalVideoLowTrack:}})}unbindLocalAudioTrackEvents(t){t instanceof ve?t.trackList.forEach(e=>{e.off(J.NEED_DISABLE_TRACK,this.handleMuteLocalTrack),e.off(J.NEED_ENABLE_TRACK,this.handleUnmuteLocalTrack),e.off(J.GET_STATS,this.handleGetLocalAudioStats),e.off(J.NEED_MUTE_TRACK,this.handleMuteLocalTrack),e.off(J.NEED_UNMUTE_TRACK,this.handleUnmuteLocalTrack)}):(t.off(J.GET_STATS,this.handleGetLocalAudioStats),t.off(J.NEED_DISABLE_TRACK,this.handleMuteLocalTrack),t.off(J.NEED_ENABLE_TRACK,this.handleUnmuteLocalTrack),t.off(J.NEED_REPLACE_TRACK,this.handleReplaceTrack),t.off(J.NEED_MUTE_TRACK,this.handleMuteLocalTrack),t.off(J.NEED_UNMUTE_TRACK,this.handleUnmuteLocalTrack))}bindRemoteTrackEvents(t,e){e instanceof ga&&e.addListener(J.GET_STATS,i=>{i(this.handleGetRemoteVideoStats(t))}),e instanceof Sa&&e.addListener(J.GET_STATS,i=>{i(this.handleGetRemoteAudioStats(t))})}unbindRemoteTrackEvents(t){t&&t.removeAllListeners(J.GET_STATS)}unbindAllRemoteTrackEvents(){Array.from(this.remoteUserMap.entries()).forEach(t=>{let[e,i]=t;i.has(q.AUDIO)&&this.unbindRemoteTrackEvents(e._audioTrack),i.has(q.VIDEO)&&this.unbindRemoteTrackEvents(e._videoTrack)})}createGatewayPublishMessage(t,e){return t.map((i,n)=>{var r;let o,{track:s,type:a}=i;switch(a){case V.LocalAudioTrack:o=Ot.Audio;break;case V.LocalVideoTrack:o=G(r=s._hints).call(r,Vt.SCREEN_TRACK)?Ot.Screen:Ot.High;break;case V.LocalVideoLowTrack:o=Ot.Low}return{kind:a===V.LocalAudioTrack?q.AUDIO:q.VIDEO,stream_type:o,mid:e[n].id,ssrcs:e[n].localSSRC,isMuted:s.muted||!s.enabled}})}createGatewayUnpublishMessage(t){return t.map(e=>{var i;let n,[r,{track:o,ssrcs:s,id:a}]=e;switch(r){case V.LocalVideoTrack:n=G(i=o._hints).call(i,Vt.SCREEN_TRACK)?Ot.Screen:Ot.High;break;case V.LocalAudioTrack:n=Ot.Audio;break;case V.LocalVideoLowTrack:n=Ot.Low}return{stream_type:n,ssrcs:s,mid:a}})}assignLocalTracks(t,e){t.forEach((i,n)=>{let{track:r,type:o}=i;this.localTrackMap.set(o,{track:r,id:e[n].id,ssrcs:e[n].localSSRC})})}withdrawLocalTracks(t){t.forEach(e=>{let[i]=e;this.localTrackMap.delete(i)})}bindConnectionEvents(t){t.onConnectionStateChange=e=>C(this,null,function*(){var i;_.info("[".concat(this.store.clientId,"] [p2pId: ").concat(this.store.p2pId,"]: ").concat(t.name,".onConnectionStateChange(").concat(e,")")),this.emit($.PeerConnectionStateChange,e),e!=="connected"||this.store.keyMetrics.peerConnectionEnd||this.store.peerConnectionEnd(),e==="connected"&&(t.isInRestartIce=!1),G(i=this._restartStates).call(i,e)&&!t.isInRestartIce&&(e==="disconnected"&&(yield Ue(800)),t.iceConnectionState!=="disconnected"&&t.iceConnectionState!=="failed"||this.handleDisconnect(t.direction))}),t.onICEConnectionStateChange=e=>{e!=="connected"||this.store.keyMetrics.iceConnectionEnd||this.store.iceConnectionEnd(),_.info("[".concat(this.store.clientId,"] [p2pId: ").concat(this.store.p2pId,"]: P2PConnection.onICEConnectionStateChange(").concat(e,")")),Z.reportApiInvoke(this.store.sessionId,{name:"ICEConnectionStateChange",options:e,tag:oe.TRACER}).onSuccess(),this.emit($.IceConnectionStateChange,e)},t.onICETransportStateChange=e=>{_.info("[".concat(this.store.clientId,"] [p2pId: ").concat(this.store.p2pId,"]: P2PConnection.onICETransportStateChange(").concat(e,")"))},t.onDTLSTransportStateChange=e=>{_.info("[".concat(this.store.clientId,"] [p2pId: ").concat(this.store.p2pId,"]: P2PConnection.onDTLSTransportStateChange(").concat(e,")"))},t.onDTLSTransportError=e=>{_.info("[".concat(this.store.clientId,"] [p2pId: ").concat(this.store.p2pId,"]: P2PConnection.onDTLSTransportError(").concat(e,")"))},t.onFirstAudioDecoded=e=>{var i;const n=Array.from(Ji(i=this.remoteUserMap).call(i)).find(o=>o._audioSSRC===e);var r;n&&(this.store.subscribe(n.uid,"audio",void 0,void 0,void 0,Date.now()),(r=n.audioTrack)===null||r===void 0||r.emit(pa.FIRST_FRAME_DECODED),Z.firstRemoteFrame(this.store.sessionId,Oe.FIRST_AUDIO_DECODE,Jt.FIRST_AUDIO_DECODE,{peer:n._uintid,subscribeElapse:Je.measureFromSubscribeStart(this.store.clientId,e),subscribeRequestid:e,p2pid:this.store.p2pId}))},t.onFirstAudioReceived=e=>{var i;const n=Array.from(Ji(i=this.remoteUserMap).call(i)).find(r=>r._audioSSRC===e);n&&Z.firstRemoteFrame(this.store.sessionId,Oe.FIRST_AUDIO_RECEIVED,Jt.FIRST_AUDIO_RECEIVED,{peer:n._uintid,subscribeElapse:Je.measureFromSubscribeStart(this.store.clientId,e),subscribeRequestid:e,p2pid:this.store.p2pId})},t.onFirstVideoDecoded=(e,i,n)=>{this.reportVideoFirstFrameDecoded(e,i,n)},t.onFirstVideoReceived=e=>{var i;const n=Array.from(Ji(i=this.remoteUserMap).call(i)).find(r=>r._videoSSRC===e);n&&Z.firstRemoteFrame(this.store.sessionId,Oe.FIRST_VIDEO_RECEIVED,Jt.FIRST_VIDEO_RECEIVED,{peer:n._uintid,subscribeElapse:Je.measureFromSubscribeStart(this.store.clientId,e),subscribeRequestid:e,p2pid:this.store.p2pId})},t.onSelectedLocalCandidateChanged=(e,i)=>{const n=e.candidateType==="relay",r=i.candidateType==="relay";i.candidateType!=="unknown"&&n===r||this.emit($.ConnectionTypeChange,n),_.info("[".concat(this.store.clientId,"] [p2pId: ").concat(this.store.p2pId,"]: P2PConnection.SelectedLocalCandidateChanged(").concat(JSON.stringify(To(i))," -> ").concat(JSON.stringify(To(e)),")"))},t.onSelectedRemoteCandidateChanged=(e,i)=>{_.info("[".concat(this.store.clientId,"] [p2pId: ").concat(this.store.p2pId,"]: P2PConnection.SelectedRemoteCandidateChanged(").concat(JSON.stringify(To(i))," -> ").concat(JSON.stringify(To(e)),")"))},t.onFirstVideoDecodedTimeout=e=>{this.reportVideoFirstFrameDecoded(e,void 0,void 0,!0)},t.onLocalCandidate=e=>{this.emit($.LocalCandidate,{candidate:e,direction:t.direction})}}unbindConnectionEvents(t){t.onConnectionStateChange=void 0,t.onICEConnectionStateChange=void 0,t.onICETransportStateChange=void 0,t.onDTLSTransportStateChange=void 0,t.onDTLSTransportError=void 0,t.onFirstAudioDecoded=void 0,t.onFirstAudioReceived=void 0,t.onFirstVideoDecoded=void 0,t.onFirstVideoReceived=void 0,t.onSelectedLocalCandidateChanged=void 0,t.onSelectedRemoteCandidateChanged=void 0,t.onFirstVideoDecodedTimeout=void 0,t.onLocalCandidate=void 0}handleDisconnect(t){return C(this,null,function*(){const e=t===pi.SEND_ONLY?this.sendConnection:this.recvConnection;e&&!e.isInRestartIce&&(e.isInRestartIce=!0,_.debug("[".concat(this.store.clientId,"] [P2PChannel-").concat(e.name,"] start use restartICE")),t===pi.SEND_ONLY?this.restartICE(t):We(this,$.RequestP2PRestartICE,{direction:pi.SEND_ONLY}))})}filterTobeMutedTracks(t){const e=[];if(this.getAllTracks().indexOf(t)===-1)return e;const i=this.localTrackMap.get(V.LocalAudioTrack);if(t instanceof ae&&(i==null?void 0:i.track)instanceof ve)return i.track.isActive||e.push([V.LocalAudioTrack,i]),e;const n=Array.from(this.localTrackMap.entries()).find(r=>{let[,{track:o}]=r;return t===o});if(n&&(e.push(n),n[0]===V.LocalVideoTrack)){const r=this.localTrackMap.get(V.LocalVideoLowTrack);r&&e.push([V.LocalVideoLowTrack,r])}return e}filterTobeUnmutedTracks(t){const e=[],i=this.localTrackMap.get(V.LocalAudioTrack);if(t instanceof ae&&(i==null?void 0:i.track)instanceof ve)return i.track.isActive&&e.push([V.LocalAudioTrack,i]),e;const n=Array.from(this.localTrackMap.entries()).find(r=>{let[,{track:o}]=r;return t===o});if(n)if(n[0]===V.LocalVideoTrack){e.push(n);const r=this.localTrackMap.get(V.LocalVideoLowTrack);r&&e.push([V.LocalVideoLowTrack,r])}else e.push(n);return e}createMuteMessage(t){return t.map(e=>{var i;let n,[r,{track:o,ssrcs:s,id:a}]=e;switch(r){case V.LocalAudioTrack:n=Ot.Audio;break;case V.LocalVideoTrack:n=G(i=o._hints).call(i,Vt.SCREEN_TRACK)?Ot.Screen:Ot.High;break;case V.LocalVideoLowTrack:n=Ot.Low}return{stream_type:n,ssrcs:s,mid:a}})}createUnmuteMessage(t){return t.map(e=>{var i;let n,[r,{track:o,ssrcs:s,id:a}]=e;switch(r){case V.LocalAudioTrack:n=Ot.Audio;break;case V.LocalVideoTrack:n=G(i=o._hints).call(i,Vt.SCREEN_TRACK)?Ot.Screen:Ot.High;break;case V.LocalVideoLowTrack:n=Ot.Low}return{stream_type:n,ssrcs:s,mid:a}})}filterTobeUnSubscribedTracks(t,e){const i=[],n=this.remoteUserMap.get(t);if(!n)return i;if(e){const r=n.get(e);if(!r)return i;i.push([t,{kind:e,id:r}])}else Array.from(n.entries()).forEach(r=>{let[o,s]=r;i.push([t,{kind:o,id:s}])});return i}createUnsubscribeMessage(t){const e=[];return t.forEach(i=>{let[n,{kind:r,id:o}]=i;switch(r){case q.VIDEO:return void(n._videoSSRC&&e.push({stream_type:q.VIDEO,ssrcId:n._videoSSRC}));case q.AUDIO:return void(n._audioSSRC&&e.push({stream_type:q.AUDIO,ssrcId:n._audioSSRC}))}}),e}withdrawRemoteTracks(t){t.forEach(e=>{let[i,{kind:n}]=e;const r=this.remoteUserMap.get(i);r&&(r.delete(n),Array.from(r.entries()).length===0&&this.remoteUserMap.delete(i))})}updateBitrateLimit(t){return C(this,null,function*(){const e=this.localTrackMap.get(V.LocalVideoTrack),i=this.localTrackMap.get(V.LocalVideoLowTrack);e&&(yield e.track.setBitrateLimit(t.uplink),yield new K((n,r)=>{this.handleUpdateVideoEncoder(e.track,n,r,!0)})),i&&t.low_stream_uplink&&(yield i.track.setBitrateLimit({max_bitrate:t.low_stream_uplink.bitrate,min_bitrate:t.low_stream_uplink.bitrate||0}),yield new K((n,r)=>{this.handleUpdateVideoEncoder(i.track,n,r,!0)}))})}isP2PDisconnected(){if(this.sendConnection&&this.recvConnection){const t=this.sendConnection.peerConnectionState,e=this.recvConnection.peerConnectionState;return t!=="connected"&&e!=="connected"}return!0}tryToUnmuteAudio(t){return C(this,null,function*(){for(let e=0;ethis.getStats(t),this.statsUploader.requestLocalMedia=()=>Array.from(this.localTrackMap.entries()).filter(t=>{let[,{ssrcs:e}]=t;return!!e}),this.statsUploader.requestRemoteMedia=()=>Array.from(this.remoteUserMap.entries()),this.statsUploader.requestVideoIsReady=t=>{var e;return!((e=this.recvConnection)===null||e===void 0||!e.getRemoteVideoIsReady(t))},this.statsUploader.requestUpload=(t,e)=>this.emit($.RequestUpload,t,e),this.statsUploader.requestUploadStats=t=>this.emit($.RequestUploadStats,t),this.statsUploader.requestAllTracks=()=>this.getAllTracks()}unbindStatsUploaderEvents(){this.statsUploader.requestStats=void 0,this.statsUploader.requestLocalMedia=void 0,this.statsUploader.requestRemoteMedia=void 0,this.statsUploader.requestVideoIsReady=void 0}requestReconnect(){return C(this,null,function*(){this.dtlsFailedCount+=1,yield Ue(FE(this.dtlsFailedCount,ge)),this.emit($.RequestReconnect)})}reconnectP2P(){return C(this,null,function*(){})}canPublishLowStream(){return this.localTrackMap.has(V.LocalVideoTrack)||this.pendingLocalTracks.some(t=>t instanceof Yt)}throwIfTrackTypeNotMatch(t){if(t.filter(e=>e instanceof Yt).length>1)throw new k(v.CAN_NOT_PUBLISH_MULTIPLE_VIDEO_TRACKS);if(t.filter(e=>e instanceof ae).length>1&&(t.some(e=>e instanceof ae&&e._bypassWebAudio)||!Ct().webAudioMediaStreamDest))throw new k(v.NOT_SUPPORTED,"cannot publish multiple tracks which one of them configured with bypassWebAudio or your browser doesn't support MediaStreamDestNode");for(const e of t){if(e instanceof Yt&&this.pendingLocalTracks.some(i=>i instanceof Yt))throw new k(v.CAN_NOT_PUBLISH_MULTIPLE_VIDEO_TRACKS);if(e instanceof ae&&this.pendingLocalTracks.some(i=>i instanceof ae)&&(!Ct().webAudioMediaStreamDest||e._bypassWebAudio||this.pendingLocalTracks.some(i=>i instanceof ae&&i._bypassWebAudio)))throw new k(v.NOT_SUPPORTED,"cannot publish multiple tracks which one of them configured with bypassWebAudio or your browser doesn't support MediaStreamDestNode")}}getLowVideoTrack(t,e){const i=!y("DISABLE_DUAL_STREAM_USE_ENCODING")&&Ct().supportDualStreamEncoding,n=Th(Th({},{width:160,height:120,framerate:15,bitrate:50}),e);let r;r=i?t._mediaStreamTrack.clone():Xm(t,n);const o=Gt(8,"track-low-"),s=new Yt(r,Th(Th({},i&&{scaleResolutionDownBy:Dm(n,t)}),{},{frameRate:n.framerate,bitrateMax:n.bitrate,bitrateMin:n.bitrate}),void 0,void 0,o);return s.on(ts.TRANSCEIVER_UPDATED,a=>{t._updateRtpTransceiver(a,ua.LOW_STREAM)}),s._hints.push(Vt.LOW_STREAM),t.addListener(J.NEED_CLOSE,()=>{s.close()}),s}globalLock(){return C(this,null,function*(){return this.recvMutex.lock("From P2PChannel2.globalLock")})}reportVideoFirstFrameDecoded(t,e,i,n){var r;const o=Array.from(Ji(r=this.remoteUserMap).call(r)).find(s=>s._videoSSRC===t);if(o){n||this.store.subscribe(o.uid,"video",void 0,void 0,void 0,void 0,Date.now());const s=this.store.keyMetrics,a=s.subscribe.find(c=>c.userId===o.uid&&c.type==="video");Z.firstRemoteVideoDecode(this.store.sessionId,Oe.FIRST_VIDEO_DECODE,Jt.FIRST_VIDEO_DECODE,{peer:o._uintid,videowidth:e,videoheight:i,subscribeElapse:Je.measureFromSubscribeStart(this.store.clientId,t),subscribeRequestid:t,p2pid:this.store.p2pId,apEnd:s.requestAPEnd||0,apStart:s.requestAPStart||0,joinGwEnd:s.joinGatewayEnd||0,joinGwStart:s.joinGatewayStart||0,pcEnd:s.peerConnectionEnd||0,pcStart:s.peerConnectionStart||0,subscriberEnd:(a==null?void 0:a.subscribeEnd)||0,subscriberStart:(a==null?void 0:a.subscribeStart)||0,videoAddNotify:(a==null?void 0:a.streamAdded)||0,state:n?1:0})}}remoteMediaSsrcChanged(t,e,i){return C(this,null,function*(){if(!this.recvConnection)return!1;const n=this.remoteUserMap.get(t);if(!n)return!1;const r=n.get(e);if(!r)return!1;const o=yield this.recvConnection.getRemoteSSRC(r);return o!==void 0&&o!==i})}isPreSubScribe(t){return!1}publishDataChannel(t){return C(this,null,function*(){throw new k(v.NOT_SUPPORTED)})}unpublishDataChannel(t){return C(this,null,function*(){throw new k(v.NOT_SUPPORTED)})}subscribeDataChannel(t,e){return C(this,null,function*(){throw new k(v.NOT_SUPPORTED)})}unsubscribeDataChannel(t,e){return C(this,null,function*(){throw new k(v.NOT_SUPPORTED)})}hasPendingRemoteDataChannel(t,e){throw new k(v.NOT_SUPPORTED)}setPendingRemoteDataChannel(t,e){throw new k(v.NOT_SUPPORTED)}preConnect(t){return C(this,null,function*(){throw new k(v.NOT_SUPPORTED)})}getEstablishParams(){throw new k(v.NOT_SUPPORTED)}reSubscribe(t){return C(this,null,function*(){throw new k(v.NOT_SUPPORTED)})}updateVideoStreamParameter(t,e){return C(this,null,function*(){throw new k(v.NOT_SUPPORTED)})}unbindRtpTransceiver(){this.localTrackMap.size!==0&&Array.from(this.localTrackMap.entries()).forEach(t=>{let[e,{track:i}]=t;e===V.LocalVideoLowTrack?i._updateRtpTransceiver(void 0,ua.LOW_STREAM):i._updateRtpTransceiver(void 0)})}},Q(Zt.prototype,"p2pConnect",[LN],Object.getOwnPropertyDescriptor(Zt.prototype,"p2pConnect"),Zt.prototype),Q(Zt.prototype,"unpublish",[kN],Object.getOwnPropertyDescriptor(Zt.prototype,"unpublish"),Zt.prototype),Q(Zt.prototype,"unpublishLowStream",[MN],Object.getOwnPropertyDescriptor(Zt.prototype,"unpublishLowStream"),Zt.prototype),Q(Zt.prototype,"subscribe",[UN],Object.getOwnPropertyDescriptor(Zt.prototype,"subscribe"),Zt.prototype),Q(Zt.prototype,"mockSubscribe",[xN],Object.getOwnPropertyDescriptor(Zt.prototype,"mockSubscribe"),Zt.prototype),Q(Zt.prototype,"unsubscribe",[VN],Object.getOwnPropertyDescriptor(Zt.prototype,"unsubscribe"),Zt.prototype),Q(Zt.prototype,"muteRemote",[FN],Object.getOwnPropertyDescriptor(Zt.prototype,"muteRemote"),Zt.prototype),Q(Zt.prototype,"unmuteRemote",[BN],Object.getOwnPropertyDescriptor(Zt.prototype,"unmuteRemote"),Zt.prototype),Q(Zt.prototype,"hasRemoteMediaWithLock",[jN],Object.getOwnPropertyDescriptor(Zt.prototype,"hasRemoteMediaWithLock"),Zt.prototype),Q(Zt.prototype,"disconnectForReconnect",[GN],Object.getOwnPropertyDescriptor(Zt.prototype,"disconnectForReconnect"),Zt.prototype),Q(Zt.prototype,"remoteMediaSsrcChanged",[WN],Object.getOwnPropertyDescriptor(Zt.prototype,"remoteMediaSsrcChanged"),Zt.prototype),Zt);function rr(t){return function(e,i,n){const r=e[i];if(typeof r!="function")throw new Error("Cannot use mutex on object property.");return n.value=function(){return C(this,arguments,function*(){for(var o=arguments.length,s=new Array(o),a=0;a{this.signal.connectionState===Ht.CONNECTED&&this.check(),this.userMap.size===0?this.tokenInterval=window.setTimeout(n,1e3):this.tokenInterval=window.setTimeout(n,3*y("P2P_TOKEN_INTERVAL"))};n()}send(e,i,n,r,o){return C(this,null,function*(){var s;if(this.userMap.size===0)return;const a=Array.from(Ui(s=this.userMap).call(s))[0].token;typeof i!="string"&&(i=JSON.stringify(i)),r=r!=null?r:Gt(6,""),o=o!=null?o:this._sequence++;const c={_id:r,_type:e,_seq:o,_message:i,token:"".concat(this.token,"_").concat(a)};y("SHOW_P2P_LOG")&&_.debug("send message",c,"noNeedResponse : ".concat(n)),this.splitMessage(JSON.stringify(c)).forEach(l=>{this.signal.request(nt.DATA_STREAM,{payload:Eo(this.encoder.encode(l))})});const d=new K((l,u)=>{const h=window.setTimeout(()=>{this.off("res-@".concat(r,"_ack"),p),this.off("res-@".concat(r),m),this.off(ya.ABORT,g),_.debug("[external-signal] request timeout, type: ".concat(e,", requestId: ").concat(r)),this.userMap.size===0?u(new k(v.INVALID_REMOTE_USER)):u(new k(v.TIMEOUT))},y("EXTERNAL_SIGNAL_REQUEST_TIMEOUT")),p=()=>{h&&window.clearTimeout(h),this.off(ya.ABORT,g),n&&l()},g=()=>{h&&window.clearTimeout(h),this.off("res-@".concat(r,"_ack"),p),this.off("res-@".concat(r),m),u(new k(v.EXTERNAL_SIGNAL_ABORT,"type: ".concat(e,", requestId: ").concat(r)))};this.once(ya.ABORT,g),this.once("res-@".concat(r,"_ack"),p);const m=(T,R)=>{f=!0,h&&window.clearTimeout(h),this.off("res-@".concat(r,"_ack"),p),this.off(ya.ABORT,g),T==="success"?l(R):u(new k(v.P2P_MESSAGE_FAILED,"request ".concat(e," failed, requestId: ").concat(r)))};let f=!1;n||(this.once("res-@".concat(r),m),Ue(y("SIGNAL_REQUEST_TIMEOUT")).then(()=>{f||_.warning("external_signal request timeout, type: ".concat(e,", requestId: ").concat(r,", ").concat(c))}))});try{return yield d}catch(l){if(l.code===v.TIMEOUT)return yield this.send(e,i,n,r,o);throw l}})}onMessage(e){var i;const{_uid:n}=e;let r,o=this.userMap.get(n);if(o)r=o.splitMessageMap;else{if(this.userMap.size>0||!("_type"in e)||e._type!==he.CHECK)return;const{token:d}=e;r=new Map,o={uid:n,isStart:!0,token:d,splitMessageMap:r,nextExpectedSequenceNumber:0,receivedMessagesMap:new Map},this.userMap.set(n,o),this.signal.emit(mt.ON_USER_ONLINE,{uid:n}),this.handleUserOnline()}if("id"in e&&"total"in e){var s;const{id:d,total:l}=e,u=(s=r.get(d))!==null&&s!==void 0?s:[];if(u.push(e),r.has(d)||r.set(d,u),u.length!==l)return;{const h=jo(u).call(u,(p,g)=>p.index-g.index).map(p=>p.payload).join("");r.delete(d),(e=JSON.parse(h))._uid=n}}const{_type:a,token:c}=e;if(G(i=[he.ACK,he.CHECK]).call(i,a))return a===he.CHECK&&this.handleCheckToken(o,c),void this.receiveMessage(e);c==="".concat(o.token,"_").concat(this.token)?this.handleReceivedMessage(e):_.debug('Receive unexpected message", '.concat(c,", cur_token: ").concat(o.token,"_").concat(this.token),e)}check(){const e={_id:Gt(6,""),token:this.token,_type:he.CHECK};y("SHOW_P2P_LOG")&&_.debug("send message",e),this.signal.request(nt.DATA_STREAM,{payload:Eo(this.encoder.encode(JSON.stringify(e)))})}ack(e){const i={_id:e,_type:he.ACK,token:this.token};y("SHOW_P2P_LOG")&&_.debug("send message",i),this.signal.request(nt.DATA_STREAM,{payload:Eo(this.encoder.encode(JSON.stringify(i)))})}response(e,i,n){this.send(he.RESPONSE,JSON.stringify({success:!n,message:i}),!0,e)}handleReceivedMessage(e){const i=()=>{this.userMap.forEach(d=>{const{receivedMessagesMap:l,nextExpectedSequenceNumber:u}=d;for(;l.has(u);){const h=l.get(u);l.delete(u),this.receiveMessage(h),d.nextExpectedSequenceNumber++}})};if(!e)return void i();const{_uid:n,_seq:r}=e,o=this.userMap.get(n),{receivedMessagesMap:s,isStart:a,nextExpectedSequenceNumber:c}=o;if(r{this.response(e._id,a)}).catch(()=>{this.response(e._id,void 0,!0)});break;case he.ACK:this.getListeners("res-@".concat(i,"_ack")).length>0&&this.emit("res-@".concat(i,"_ack"));break;case he.RESPONSE:{const{success:a,message:c}=s;this.emit("res-@".concat(i),a?"success":"failed",c);break}}}}splitMessage(e){if(e.length0;){o++;const c={id:r,index:o,total:a,payload:e.slice(0,s),token:"".concat(this.token,"_").concat(n)};JSON.stringify(c).length>gs.MAX_MESSAGE_SIZE?s-=50:(i.push(c),e=e.slice(s))}return i.map(c=>JSON.stringify(c))}handleCheckToken(e,i){return e.token!==i?(_.debug("token changed, from ".concat(e.token," to ").concat(i)),this.reset(e.uid,i),!1):(this.tokenTimeout&&(window.clearTimeout(this.tokenTimeout),this.tokenTimeout=void 0),this.tokenTimeout=window.setTimeout(()=>{_.debug("token timeout, ".concat(i)),this.reset(e.uid)},y("MAX_P2P_TIMEOUT")),!0)}handleUserOnline(){return C(this,null,function*(){const e=yield We(this.signal,he.CALL,void 0),i=yield this.send(he.CALL,e);this.signal.emit(ot.P2P_CONNECTION,i,!0)})}reset(e,i){return C(this,null,function*(){const n=this.userMap.get(e);n&&(this.emit(ya.ABORT),this.signal.emit(mt.ON_USER_OFFLINE,{uid:n.uid,reason:rW.P2P_TOKEN_CHANGED}),this._sequence=0,this.userMap.clear(),i||(_.debug("change local token from ".concat(i," to ").concat(i)),this.token=Gt(6,"")))})}clear(){this._sequence=0,this.userMap.clear(),this.tokenInterval&&window.clearTimeout(this.tokenInterval),this.tokenInterval=void 0,this.tokenTimeout&&window.clearTimeout(this.tokenTimeout),this.tokenTimeout=void 0,this.emit(ya.ABORT)}}S(gs,"MAX_SIZE",1),S(gs,"MAX_MESSAGE_SIZE",1024);class x4 extends $t{get connectionState(){return this._connectionState}set connectionState(e){e!==this._connectionState&&(this._connectionState=e,e===Ht.CONNECTED?this.emit(ot.WS_CONNECTED):e===Ht.RECONNECTING?this.emit(ot.WS_RECONNECTING,this._websocketReconnectReason):e===Ht.CLOSED&&this.emit(ot.WS_CLOSED,this._disconnectedReason))}get currentURLIndex(){return this.websocket.currentURLIndex}get url(){return this.websocket&&this.websocket.url||null}get rtt(){return this.rttRolling.mean()}constructor(e,i){super(),S(this,"_disconnectedReason",void 0),S(this,"_websocketReconnectReason",void 0),S(this,"_connectionState",Ht.CLOSED),S(this,"reconnectToken",void 0),S(this,"p2pToken",void 0),S(this,"websocket",void 0),S(this,"openConnectionTime",void 0),S(this,"clientId",void 0),S(this,"lastMsgTime",Date.now()),S(this,"uploadCache",[]),S(this,"uploadCacheInterval",void 0),S(this,"rttRolling",new RI(5)),S(this,"pingpongTimer",void 0),S(this,"pingpongTimeoutCount",0),S(this,"joinResponse",void 0),S(this,"multiIpOption",void 0),S(this,"initError",void 0),S(this,"spec",void 0),S(this,"store",void 0),S(this,"_external_signal",void 0),S(this,"onWebsocketMessage",n=>{if(n.data instanceof ArrayBuffer)return void this.emit(ot.ON_BINARY_DATA,n.data);const r=JSON.parse(n.data);if(this.lastMsgTime=Date.now(),Object.prototype.hasOwnProperty.call(r,"_id")){const o="res-@".concat(r._id);this.emit(o,r._result,r._message)}else if(Object.prototype.hasOwnProperty.call(r,"_type")){switch(r._type){case mt.ON_DATA_STREAM:return void this.handleDataStream(r._message);case mt.MUTE_AUDIO:case mt.MUTE_VIDEO:case mt.ON_P2P_LOST:case mt.ON_USER_ONLINE:return;case mt.ON_USER_OFFLINE:const{uid:o}=r._message;return _.debug("[".concat(this.clientId,"] user-offline uid: ").concat(o)),void this._external_signal.reset(o)}if(this.emit(r._type,r._message),r._type===mt.ON_NOTIFICATION&&this.handleNotification(r._message),r._type===mt.ON_USER_BANNED)switch(r._message.error_code){case 14:this.close(bt.UID_BANNED);break;case 15:this.close(bt.IP_BANNED);break;case 16:this.close(bt.CHANNEL_BANNED)}if(r._type===mt.ON_USER_LICENSE_BANNED)switch(r._message.error_code){case tt.ERR_LICENSE_MISSING:this.close(bt.LICENSE_MISSING);break;case tt.ERR_LICENSE_EXPIRED:this.close(bt.LICENSE_EXPIRED);break;case tt.ERR_LICENSE_MINUTES_EXCEEDED:this.close(bt.LICENSE_MINUTES_EXCEEDED);break;case tt.ERR_LICENSE_PERIOD_INVALID:this.close(bt.LICENSE_PERIOD_INVALID);break;case tt.ERR_LICENSE_MULTIPLE_SDK_SERVICE:this.close(bt.LICENSE_MULTIPLE_SDK_SERVICE);break;case tt.ERR_LICENSE_ILLEGAL:this.close(bt.LICENSE_ILLEGAL);break;default:this.close()}}}),this.clientId=e.clientId,this.spec=e,this.store=i,this.websocket=new Om("gateway-".concat(this.clientId),this.spec.retryConfig,!0,y("JOIN_GATEWAY_USE_DUAL_DOMAIN"),y("JOIN_GATEWAY_USE_443PORT_ONLY"),i),this.handleWebsocketEvents(),window.addEventListener("offline",()=>{this.connectionState===Ht.CONNECTED&&this.reconnect("retry",Ge.OFFLINE)}),this.p2pToken=Gt(6,""),this._external_signal=new gs(this,this.p2pToken)}request(e,i,n,r){return C(this,null,function*(){const o=Gt(6,""),s={_id:o,_type:e,_message:i},a=this.websocket.connectionID,c=()=>new K((g,m)=>{if(this.connectionState===Ht.CONNECTED)return g();const f=()=>{this.off(ot.WS_CLOSED,T),g()},T=()=>{this.off(ot.WS_CONNECTED,f),m(new k(v.WS_ABORT))};this.once(ot.WS_CONNECTED,f),this.once(ot.WS_CLOSED,T)});if(this.connectionState!==Ht.CONNECTING&&this.connectionState!==Ht.RECONNECTING||e===nt.JOIN||e===nt.REJOIN||(yield c()),this.websocket.sendMessage(s,!0),r)return;const d=new K((g,m)=>{let f=!1;const T=(A,N)=>{f=!0,g({isSuccess:A==="success",message:N||{}}),this.off(ot.WS_CLOSED,R),this.off(ot.WS_RECONNECTING,R),this.emit(ot.REQUEST_SUCCESS,e,i)};this.once("res-@".concat(o),T);const R=()=>{m(new k(v.WS_ABORT,"type: ".concat(e))),this.off(ot.WS_CLOSED,R),this.off(ot.WS_RECONNECTING,R),this.off("res-@".concat(o),T)};this.once(ot.WS_CLOSED,R),this.once(ot.WS_RECONNECTING,R),Ue(y("SIGNAL_REQUEST_TIMEOUT")).then(()=>{this.websocket.connectionID!==a||f||(_.warning("[".concat(this.clientId,"] ws request timeout, type: ").concat(e)),this.emit(ot.REQUEST_TIMEOUT,e,i))})});let l=null;try{l=yield d}catch(g){if(this.connectionState===Ht.CLOSED||e===nt.LEAVE)throw new k(v.WS_ABORT);return!this.spec.forceWaitGatewayResponse||n?g.throw():e===nt.JOIN||e===nt.REJOIN?null:(yield c(),yield this.request(e,i))}if(l.isSuccess)return l.message;const u=Number(l.message.error_code||l.message.code),h=jc(u),p=new k(v.UNEXPECTED_RESPONSE,"".concat(h.desc,": ").concat(l.message.error_str),{code:u,data:l.message,desc:h.desc});return h.action==="success"?l.message:(_.warning("[".concat(this.clientId,"] [").concat(this.websocket.connectionID,"] unexpected response from type ").concat(e,", error_code: ").concat(u,", message: ").concat(h.desc,", action: ").concat(h.action)),u===tt.ERR_TOO_MANY_BROADCASTERS?((e===nt.JOIN||e===nt.REJOIN)&&(this.initError=p,this.close()),p.throw()):h.action==="failed"?p.throw():h.action==="quit"?(this.initError=p,this.close(),p.throw()):(u===tt.ERR_JOIN_BY_MULTI_IP?(this.multiIpOption=l.message.option,_.warning("[".concat(this.clientId,"] detect multi ip, recover")),this.reconnect("recover",Ge.MULTI_IP)):this.reconnect(h.action,Ge.SERVER_ERROR),e===nt.JOIN||e===nt.REJOIN?null:yield this.request(e,i)))})}waitMessage(e,i){return new K(n=>{const r=o=>{(!i||i(o))&&(this.off(e,r),n(o))};this.on(e,r)})}uploadWRTCStats(e){if(!this.store.sessionId)return void _.warn("[".concat(this.clientId,"] no session id when upload wrtc stats"));const i={lts:Date.now(),sid:this.store.sessionId,uid:this.store.intUid,stats:e};this.upload(Fc.WRTC_STATS,i)}upload(e,i){const n={_type:e,_message:i};try{this.websocket.sendMessage(n)}catch(r){const o=y("MAX_UPLOAD_CACHE")||50;this.uploadCache.push(n),this.uploadCache.length>o&&this.uploadCache.splice(0,1),this.uploadCache.length>0&&!this.uploadCacheInterval&&(this.uploadCacheInterval=window.setInterval(()=>{if(this.connectionState!==Ht.CONNECTED)return;const s=this.uploadCache.splice(0,1)[0];this.uploadCache.length===0&&(window.clearInterval(this.uploadCacheInterval),this.uploadCacheInterval=void 0),this.upload(s._type,s._message)},y("UPLOAD_CACHE_INTERVAL")||2e3))}}send(e,i){const n={_type:e,_message:i};this.websocket.sendMessage(n)}sendExtensionMessage(e,i,n){return C(this,null,function*(){return yield this._external_signal.send(e,i,n)})}init(e){return this.initError=void 0,this.multiIpOption=void 0,this.joinResponse=void 0,this.reconnectToken=void 0,this.openConnectionTime=void 0,new K((i,n)=>{this.once(ot.WS_CONNECTED,()=>i(this.joinResponse)),this.once(ot.WS_CLOSED,()=>n(this.initError||new k(v.WS_ABORT))),this.connectionState=Ht.CONNECTING,this.websocket.init(e).catch(n)})}close(e){this.pingpongTimer&&(this.pingpongTimeoutCount=0,window.clearInterval(this.pingpongTimer),this.pingpongTimer=void 0),this.reconnectToken=void 0,this.joinResponse=void 0,this._external_signal.clear(),this._disconnectedReason=e||bt.LEAVE,this.connectionState=Ht.CLOSED,_.debug("[".concat(this.clientId,"] ")+"will close websocket in signal"),this.websocket.close(),this.p2pToken=Gt(6,""),this._external_signal.clear(),this._external_signal=new gs(this,this.p2pToken)}join(){return C(this,null,function*(){if(!this.joinResponse){this.emit(ot.ABORT_P2P_EXECUTION);const e=yield We(this,ot.REQUEST_JOIN_INFO),i=yield this.request(nt.JOIN,e);if(!i)return this.emit(ot.REPORT_JOIN_GATEWAY,v.TIMEOUT,this.url||""),!1;this.joinResponse=i,this.emit(ot.JOIN_RESPONSE,this.joinResponse),this.reconnectToken=this.joinResponse.rejoin_token}return this.connectionState=Ht.CONNECTED,this.pingpongTimer&&window.clearInterval(this.pingpongTimer),this.pingpongTimer=window.setInterval(this.handlePingPong.bind(this),3e3),!0})}reconnect(e,i){this.pingpongTimer&&(this.pingpongTimeoutCount=0,window.clearInterval(this.pingpongTimer),this.pingpongTimer=void 0),this.websocket.reconnect(e,i)}handleDataStream(e){try{var i;const n=Qo(e.payload),r=new TextDecoder().decode(n),o=JSON.parse(r);"total"in o&&"id"in o||G(i=Object.values(he)).call(i,o._type)?(o._uid=e.uid,this._external_signal.onMessage(o)):this.emit(mt.ON_DATA_STREAM,e)}catch(n){this.emit(mt.ON_DATA_STREAM,e)}}handleNotification(e){_.debug("[".concat(this.clientId,"] receive notification: "),e);const i=jc(e.code);if(i.action!=="success"){if(i.action!=="failed")return i.action==="quit"?(i.desc==="ERR_REPEAT_JOIN_CHANNEL"&&this.close(bt.UID_BANNED),void this.close()):void this.reconnect(i.action,Ge.SERVER_ERROR);_.error("[".concat(this.clientId,"] ignore error: "),i.desc)}}handlePingPong(){if(!this.websocket||this.websocket.state!=="connected")return;this.pingpongTimeoutCount>0&&this.rttRolling.add(3e3),this.pingpongTimeoutCount+=1;const e=y("PING_PONG_TIME_OUT"),i=Date.now();this.pingpongTimeoutCount>=e&&(_.warning("[".concat(this.clientId,"] PINGPONG Timeout. Last Socket Message: ").concat(i-this.lastMsgTime,"ms")),i-this.lastMsgTime>y("WEBSOCKET_TIMEOUT_MIN"))?this.reconnect("retry",Ge.TIMEOUT):this.request(nt.PING,void 0,!0).then(()=>{this.pingpongTimeoutCount=0;const n=Date.now()-i;this.rttRolling.add(n),y("REPORT_STATS")&&this.send(nt.PING_BACK,{pingpongElapse:n})}).catch(n=>{})}handleWebsocketEvents(){this.websocket.on(dt.RECONNECT_CREATE_CONNECTION,e=>{this.emit(ot.WS_RECONNECT_CREATE_CONNECTION,e)}),this.websocket.on(dt.ON_MESSAGE,this.onWebsocketMessage),this.websocket.on(dt.CLOSED,()=>{this.connectionState=Ht.CLOSED}),this.websocket.on(dt.FAILED,()=>{this._disconnectedReason=bt.NETWORK_ERROR,this.connectionState=Ht.CLOSED}),this.websocket.on(dt.RECONNECTING,e=>{this._websocketReconnectReason=e,this.joinResponse=void 0,this.connectionState===Ht.CONNECTED?this.connectionState=Ht.RECONNECTING:this.connectionState=Ht.CONNECTING}),this.websocket.on(dt.WILL_RECONNECT,(e,i,n)=>{e!=="retry"?(_.debug("".concat(this.clientId," websocket will_connect event, renewSession reconnectMode is ").concat(e)),this.reconnectToken=void 0):_.debug("".concat(this.clientId," reconnect mode is retry, no need to renew session")),n(e)}),this.websocket.on(dt.CONNECTED,()=>{this.openConnectionTime=Date.now(),this.join().catch(e=>{if(this.emit(ot.REPORT_JOIN_GATEWAY,e,this.url||""),e instanceof k&&e.code===v.UNEXPECTED_RESPONSE&&e.data.code===tt.ERR_NO_AUTHORIZED)return _.warning("[".concat(this.clientId,"] reconnect no authorized, recover")),void this.reconnect("recover",Ge.SERVER_ERROR);_.error("[".concat(this.clientId,"] join gateway request failed"),e.toString()),this.spec.forceWaitGatewayResponse?this.reconnect("tryNext",Ge.SERVER_ERROR):(this.initError=e,this.close())})}),this.websocket.on(dt.REQUEST_NEW_URLS,(e,i)=>{We(this,ot.REQUEST_RECOVER,this.multiIpOption).then(e).catch(i)}),this.websocket.on(dt.ON_TOKEN_PRIVILEGE_DID_EXPIRE,()=>{this.emit(mt.ON_TOKEN_PRIVILEGE_DID_EXPIRE)})}}const V4={name:"P2PChannel",create:function(t){let{store:e,statsCollector:i}=t;return new U4(e,i)},createSubmodule:function(t){let{store:e,spec:i}=t;return new x4(i,e)}};function KN(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function YN(t){for(var e=1;eg.payloadType.toString(10));let p=o.videoCodecs.filter(g=>{var m,f;return(m=g.rtpMap)===null||m===void 0?void 0:G(f=m.encodingName.toLowerCase()).call(f,c)});p.length===0&&(p=o.videoCodecs),h.attributes.payloads=p,h.attributes.extmaps=o.videoExtensions}h.media.mediaType==="audio"&&(h.media.fmts=o.audioCodecs.map(p=>p.payloadType.toString(10)),h.attributes.payloads=o.audioCodecs,h.attributes.extmaps=o.audioExtensions),l.mediaDescriptions[u]=this.mungMediaDesc(h)}this.sessionDesc=l,this.currentMidIndex=l.mediaDescriptions.length-1}toString(){return mo(this.sessionDesc)}send(e,i,n){const{ssrcs:r,ssrcGroups:o}=as(i,this.cname),s=this.sessionDesc.mediaDescriptions.find(d=>e===q.VIDEO?d.media.mediaType==="video":d.media.mediaType==="audio"),a=r[0].attributes.label,c=r[0].attributes.mslabel;return s.attributes.ssrcs=s.attributes.ssrcs.concat(r),s.attributes.ssrcGroups=s.attributes.ssrcGroups.concat(o),{id:a,mslabel:c}}batchSend(e){return e.map(i=>{let{kind:n,ssrcMsg:r}=i;return this.send(n,r,void 0)})}stopSending(e){this.sessionDesc.mediaDescriptions.forEach(i=>{const n=[],r=[],o=[];i.attributes.ssrcs.forEach(s=>{G(e).call(e,s.attributes.label||"")?o.push(s):n.push(s)}),i.attributes.ssrcGroups.forEach(s=>{var a;G(a=o.map(c=>c.ssrcId)).call(a,s.ssrcIds[0])||r.push(s)}),i.attributes.ssrcs=n,i.attributes.ssrcGroups=r})}mute(e){const i=this.sessionDesc.mediaDescriptions.find(n=>n.attributes.mid===e);if(!i)throw new Error("mediaDescription not found with ".concat(e," in remote SDP when calling RemoteSDP.mute."));i.attributes.direction="inactive"}unmute(e){const i=this.sessionDesc.mediaDescriptions.find(n=>n.attributes.mid===e);if(!i)throw new Error("mediaDescription not found with ".concat(e," in remote SDP when calling RemoteSDP.unmute."));i.attributes.direction="sendonly"}receive(e,i,n){e.forEach((r,o)=>{const s=r._mediaStreamTrack,a=this.sessionDesc.mediaDescriptions.findIndex(d=>d.attributes.mid===s.kind),c=this.mungRecvMediaDsec(this.sessionDesc.mediaDescriptions[a],r);this.sessionDesc.mediaDescriptions[a]=c})}stopReceiving(e){}updateCandidates(e){const i=this._originCandidates.filter(r=>r.transport==="udp"),n=[];if(i.forEach(r=>{n.push(YN(YN({},r),{},{foundation:"tcpcandidate",priority:Number(r.priority)-1+"",transport:"tcp",port:Number(r.port)+90+""}))}),i.length!==0){switch(e){case Xe.TCP_RELAY:this.candidates=n;break;case Xe.UDP_TCP_RELAY:case Xe.RELAY:this.candidates=[...i,...n];break;default:this.candidates=i}for(const r of this.sessionDesc.mediaDescriptions)r.attributes.candidates=this.candidates}}restartICE(e){e=te(e),this.iceParameters=e,this.sessionDesc.mediaDescriptions.forEach(i=>{i.attributes.iceUfrag=e.iceUfrag,i.attributes.icePwd=e.icePwd})}predictReceivingMids(e){const i=[];for(let n=0;nr.attributes.mid===e);if(n!==-1){const r=this.mungRecvMediaDsec(this.sessionDesc.mediaDescriptions[n],i);this.sessionDesc.mediaDescriptions[n]=r}}bumpMid(e){this.currentMidIndex+=e}updateTrackLabel(e,i,n){const r=this.sessionDesc.mediaDescriptions.find(s=>e===q.VIDEO?s.attributes.mid==="video":s.attributes.mid==="audio");if(r){const s=r.attributes.ssrcs.find(a=>a.attributes.label===i);var o;s&&(s.attributes.label=n,(o=s.attributes.msid)===null||o===void 0||o.replace(i,n))}}mungMediaDesc(e){const i=te(e);return Pm(i),function(n){const r=n.attributes.extmaps.find(o=>Bu(o.extensionName));r&&n.attributes.extmaps.splice(n.attributes.extmaps.indexOf(r),1),n.attributes.payloads.forEach(o=>{const s=o.rtcpFeedbacks.findIndex(a=>a.type==="transport-cc");s!==-1&&o.rtcpFeedbacks.splice(s,1)})}(i),i}getSSRC(e){for(const i of this.sessionDesc.mediaDescriptions)for(const n of i.attributes.ssrcs)if(n.attributes.label===e)return[n]}}var jt;function qN(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function Rh(t){for(var e=1;ee.rtpMap&&e.rtpMap.encodingName.toLowerCase()||"").filter(e=>{var i;return G(i=Object.keys(Eu)).call(i,e)}))]}constructor(e,i){super(e,i),S(this,"store",void 0),S(this,"peerConnection",void 0),S(this,"remoteSDP",void 0),S(this,"initialOffer",void 0),S(this,"statsFilter",void 0),S(this,"useRTX",!1),S(this,"localCapabilities",void 0),S(this,"localCandidateCount",0),S(this,"allCandidatesReceived",!1),S(this,"establishPromise",void 0),S(this,"mutex",void 0),this.store=i,this.mutex=new qe("P2PConnection-mutex",i.clientId),this.peerConnection=new RTCPeerConnection(Cd.resolvePCConfiguration(e),{optional:[{googDscp:!0}]}),this.statsFilter=KE(this.peerConnection,y("STATS_UPDATE_INTERVAL"),void 0,ne()?1200:void 0),this.bindPCEvents(),this.bindStatsEvents(),this.store.p2pId=this.store.p2pId+1,this.establishPromise=this.establish()}establish(){return C(this,null,function*(){try{const e=yield this.peerConnection.createOffer({offerToReceiveAudio:!0,offerToReceiveVideo:!0});if(!e.sdp)throw new Error("Cannot get initialOffer.sdp when trying to establish PeerConnection.");const i=Ro(e.sdp),n=Hc(e.sdp,{filterRTX:!this.useRTX,filterVideoFec:y("FILTER_VIDEO_FEC"),filterAudioFec:y("FILTER_AUDIO_FEC"),filterAudioCodec:["opus"]});return this.localCapabilities=n,this.initialOffer=e,Rh(Rh({},i),{},{rtpCapabilities:{send:{audioCodecs:[],audioExtensions:[],videoCodecs:[],videoExtensions:[]},recv:{audioCodecs:[],audioExtensions:[],videoCodecs:[],videoExtensions:[]},sendrecv:n},offerSDP:e.sdp})}catch(e){throw new k(v.GET_LOCAL_CONNECTION_PARAMS_FAILED,e.toString())}})}updateRemoteConnect(){return C(this,null,function*(){})}connect(e){return C(this,null,function*(){try{if(!this.initialOffer)throw new Error("Cannot establish P2PConnection without initial offer.");this.remoteSDP=new F4(Rh(Rh({},e),{},{rtpCapabilities:e.rtpCapabilities.send,localCapabilities:this.localCapabilities,sdkCodec:this.store.codec}));const i=this.remoteSDP.toString();yield this.peerConnection.setLocalDescription(this.initialOffer),yield this.peerConnection.setRemoteDescription({type:"answer",sdp:i})}catch(i){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection.connect failed; ".concat(i.toString()))}})}updateRemoteRTPCapabilities(e,i){return C(this,null,function*(){throw new k(v.NOT_SUPPORTED,"Planb mode does not support createDataChannels.")})}getPreMedia(e){}send(e,i){var n=this;return cn(function*(){const r=yield Rt(n.mutex.lock());try{if(!n.remoteSDP)throw new Error("Cannot call P2PConnection.send before remote SDP created");const o=e.map(h=>n.peerConnection.addTrack(h._mediaStreamTrack)),s=yield Rt(n.peerConnection.createOffer()),a=Ni(s.sdp),c=e.map(h=>{const p=h._mediaStreamTrack,g=a.mediaDescriptions.find(m=>m.attributes.mid===p.kind);if(!g)throw new Error("Cannot extract ssrc from mediaDescription.");return function(m,f,T){const R=m.attributes.ssrcs.filter(N=>N.attributes.label===f),A=m.attributes.ssrcGroups;if(R.length===0)throw new Error("Cannot extract ssrc from plan-b SDP.");if(A&&R.length>1){const N=A.find(O=>O.ssrcIds.indexOf(R[0].ssrcId)!==-1);return N?[{ssrcId:N.ssrcIds[0],rtx:T?N.ssrcIds[1]:void 0}]:[{ssrcId:R[0].ssrcId}]}return[{ssrcId:R[0].ssrcId}]}(g,p.id,n.useRTX)});let d;try{d=yield c}catch(h){throw o.forEach(p=>{je()&&p.replaceTrack(null),n.peerConnection.removeTrack(p)}),h}const l=n.mungSendOfferSDP(s.sdp,e);n.remoteSDP.receive(e,i,d);const u=n.remoteSDP.toString();return yield Rt(n.peerConnection.setLocalDescription({type:"offer",sdp:l})),yield Rt(n.applySendEncodings(o,e)),yield Rt(n.peerConnection.setRemoteDescription({type:"answer",sdp:u})),e.map((h,p)=>{const g=h._mediaStreamTrack.id;return{localSSRC:c[p],id:g}})}catch(o){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection.send failed; ".concat(o.toString()))}finally{r()}})()}stopSending(e){return C(this,null,function*(){try{if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.stopSending before remote SDP created");const i=this.peerConnection.getSenders().filter(o=>{var s;return e.indexOf(((s=o.track)===null||s===void 0?void 0:s.id)||"")!==-1});if(i.length!==e.length)throw new Error("Transceivers' length doesn't match mids' length when trying to call P2PConnection.stopSending.");i.map(o=>{je()&&o.replaceTrack(null),this.peerConnection.removeTrack(o)});const n=yield this.peerConnection.createOffer();yield this.peerConnection.setLocalDescription(n),this.remoteSDP.stopReceiving(e);const r=this.remoteSDP.toString();yield this.peerConnection.setRemoteDescription({type:"answer",sdp:r})}catch(i){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection.stopSending failed; ".concat(i.toString()))}})}receive(e,i,n,r){return C(this,null,function*(){try{if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.receive ".concat(e," before remoteSDP created."));const{id:o,mslabel:s}=this.remoteSDP.send(e,i,r),a=new K((l,u)=>{const h=setTimeout(()=>{u(new Error("Cannot receive track, id: ".concat(o)))},1e4),p=g=>{const m=vt();if((m.name==="Safari"&&Number(m.version)===11||li())&&g.track.id!==o&&g.streams[0].id===s){var f;const T=g.streams[0].getTracks()[0];return(f=this.remoteSDP)===null||f===void 0||f.updateTrackLabel(e,o,g.track.id),this.peerConnection.removeEventListener("track",p),clearTimeout(h),void l(T)}if(g.track.id===o)return this.peerConnection.removeEventListener("track",p),clearTimeout(h),void l(g.track)};this.peerConnection.addEventListener("track",p)}),c=this.remoteSDP.toString();yield this.peerConnection.setRemoteDescription({type:"offer",sdp:c});const d=yield this.peerConnection.createAnswer();return yield this.peerConnection.setLocalDescription(d),{track:yield a,id:o}}catch(o){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection.receive failed; ".concat(o.toString()))}})}stopReceiving(e){return C(this,null,function*(){try{if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.stopReceiving before remote SDP created.");this.remoteSDP.stopSending(e);const i=this.remoteSDP.toString();yield this.peerConnection.setRemoteDescription({type:"offer",sdp:i});const n=yield this.peerConnection.createAnswer();yield this.peerConnection.setLocalDescription(n)}catch(i){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection stopReceiving failed; ".concat(i.toString()))}})}muteRemote(e){return C(this,null,function*(){})}unmuteRemote(e){return C(this,null,function*(){})}muteLocal(e){return C(this,null,function*(){try{if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.muteLocal before remote SDP created.");const i=this.peerConnection.getSenders().filter(n=>{var r;return e.indexOf(((r=n.track)===null||r===void 0?void 0:r.id)||"")!==-1});if(i.length!==e.length)throw new Error("sender' length doesn't match mids' length.");i.map(n=>{if(je()&&n.track)n.track.enabled=!1;else{const r=n.getParameters();r.encodings.forEach(o=>o.active=!1),n.setParameters(r)}})}catch(i){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection.muteLocal failed; ".concat(i.toString()))}})}unmuteLocal(e){return C(this,null,function*(){try{if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.unmuteLocal before remote SDP created.");const i=this.peerConnection.getSenders().filter(o=>{var s;return e.indexOf(((s=o.track)===null||s===void 0?void 0:s.id)||"")!==-1});if(i.length!==e.length)throw new Error("Senders' length doesn't match mids' length.");i.map(o=>C(this,null,function*(){if(je()&&o.track)o.track.enabled=!0;else{const s=o.getParameters();s.encodings.forEach(a=>a.active=!0),yield o.setParameters(s)}}));const n=yield this.peerConnection.createOffer();yield this.peerConnection.setLocalDescription(n);const r=this.remoteSDP.toString();yield this.peerConnection.setRemoteDescription({type:"answer",sdp:r})}catch(i){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection.unmuteLocal failed; ".concat(i.toString()))}})}restartICE(e){var i=this;return cn(function*(){const n=yield Rt(i.mutex.lock("From P2PConnection.restartICE"));try{if(!i.remoteSDP)throw new Error("Cannot restartICE before remoteSDP created.");const r=Ct().supportPCSetConfiguration;if(e===Xe.RELAY&&!r)return;if(r){const d=i.peerConnection.getConfiguration(),l=e===Xe.RELAY?"relay":"all";d.iceTransportPolicy!==l&&(_.debug("[".concat(i.store.clientId,"] restartICE change iceTransportPolicy from [").concat(d.iceTransportPolicy,"] to [").concat(l,"]")),d.iceTransportPolicy=l,i.peerConnection.setConfiguration(d))}e!==Xe.RELAY&&i.remoteSDP.updateCandidates(e);const o=yield Rt(i.peerConnection.createOffer({iceRestart:!0}));if(!o.sdp)throw new Error("Cannot restartICE because restart offer SDP does not exist.");const s=Ro(o.sdp),{remoteIceParameters:a}=yield s.iceParameters;i.remoteSDP.restartICE(a);const c=i.remoteSDP.toString();yield Rt(i.peerConnection.setLocalDescription(o)),yield Rt(i.peerConnection.setRemoteDescription({type:"answer",sdp:c}))}catch(r){_.warning("[".concat(i.store.clientId,"] restart ICE failed, abort operation"),r)}finally{n()}})()}close(){var e;this.peerConnection.close(),(e=this.onConnectionStateChange)===null||e===void 0||e.call(this,"closed"),this.unbindPCEvents(),this.unbindStatsEvents(),this.removeAllListeners(),this.statsFilter.destroy()}getStats(){return this.statsFilter.getStats()}getRemoteVideoIsReady(e){return this.statsFilter.getVideoIsReady(e)}updateEncoderConfig(e,i){return C(this,null,function*(){try{if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.updateEncoderConfig before remote SDP created.");const n=yield this.peerConnection.createOffer(),r=this.mungSendOfferSDP(n.sdp,[i]);this.remoteSDP.updateRecvMedia(i._mediaStreamTrack.kind,i);const o=this.remoteSDP.toString();yield this.peerConnection.setLocalDescription({type:"offer",sdp:r}),yield this.peerConnection.setRemoteDescription({type:"answer",sdp:o})}catch(n){throw new k(v.EXCHANGE_SDP_FAILED,n.toString())}})}updateSendParameters(e,i){return C(this,null,function*(){const n=this.peerConnection.getSenders().filter(r=>{var o;return((o=r.track)===null||o===void 0?void 0:o.id)===e});n.length===1&&(yield this.applySendEncodings(n,[i]))})}setStatsRemoteVideoIsReady(e,i){this.statsFilter.setVideoIsReady2(e,i)}replaceTrack(e,i){return C(this,null,function*(){const n=this.peerConnection.getSenders().find(r=>{var o;return((o=r.track)===null||o===void 0?void 0:o.id)===i});n&&(yield n.replaceTrack(e._mediaStreamTrack))})}createDataChannels(e,i){throw new k(v.NOT_SUPPORTED,"Planb mode does not support createDataChannels.")}stopDataChannels(e){throw new k(v.NOT_SUPPORTED,"Planb mode does not support stopDataChannels.")}bindPCEvents(){this.peerConnection.oniceconnectionstatechange=()=>{var e;(e=this.onICEConnectionStateChange)===null||e===void 0||e.call(this,this.peerConnection.iceConnectionState)},this.peerConnection.onconnectionstatechange=()=>{var e;(e=this.onConnectionStateChange)===null||e===void 0||e.call(this,this.peerConnection.connectionState)},this.peerConnection.onicecandidate=e=>{e.candidate?this.localCandidateCount+=1:(this.peerConnection.onicecandidate=null,this.allCandidatesReceived=!0,_.debug("[".concat(this.store.clientId,"] [pc-").concat(this.store.p2pId,"] local candidate count"),this.localCandidateCount))},setTimeout(()=>{this.allCandidatesReceived||(this.allCandidatesReceived=!0,_.debug("[".concat(this.store.clientId,"] [pc-").concat(this.store.p2pId,"] onicecandidate timeout, local candidate count"),this.localCandidateCount))},y("CANDIDATE_TIMEOUT"))}unbindPCEvents(){this.peerConnection.oniceconnectionstatechange=null,this.peerConnection.onconnectionstatechange=null,this.peerConnection.onsignalingstatechange=null,this.peerConnection.onicecandidateerror=null,this.peerConnection.onicecandidate=null,this.peerConnection.ontrack=null}static resolvePCConfiguration(e){const i={iceServers:[],sdpSemantics:"plan-b"};return e.iceServers?i.iceServers=e.iceServers:e.turnServer&&e.turnServer.mode!=="off"&&(Nc(e.turnServer.servers)?i.iceServers=e.turnServer.servers:(i.iceServers&&i.iceServers.push(...Cd.turnServerConfigToIceServers(e.turnServer.servers)),y("USE_TURN_SERVER_OF_GATEWAY")&&i.iceServers&&e.turnServer.serversFromGateway&&i.iceServers.push(...Cd.turnServerConfigToIceServers(e.turnServer.serversFromGateway)),e.turnServer.servers.concat(e.turnServer.serversFromGateway||[]).forEach(n=>{n.forceturn&&(i.iceTransportPolicy="relay")}))),i}static turnServerConfigToIceServers(e){const i=[];return e.forEach(n=>{n.security?n.tcpport&&i.push({username:n.username,credential:n.password,credentialType:"password",urls:"turns:".concat(n.turnServerURL,":").concat(n.tcpport,"?transport=tcp")}):(n.udpport&&i.push({username:n.username,credential:n.password,credentialType:"password",urls:"turn:".concat(n.turnServerURL,":").concat(n.udpport,"?transport=udp")}),n.tcpport&&i.push({username:n.username,credential:n.password,credentialType:"password",urls:"turn:".concat(n.turnServerURL,":").concat(n.tcpport,"?transport=tcp")}))}),i}updateRtpSenderEncodings(e,i){return C(this,null,function*(){var n;if(i||(i=this.peerConnection.getSenders().find(d=>{var l;return((l=d.track)===null||l===void 0?void 0:l.id)===e._mediaStreamTrack.id})),!i)return _.warn("[".concat(e.getTrackId(),"] no rtpSender found}"));if(!Ct().supportSetRtpSenderParameters)return _.warn("Browser not support set rtp-sender parameters");const r={},o={};if(e instanceof Yt)switch(e._optimizationMode){case"motion":r.degradationPreference="maintain-framerate";break;case"detail":r.degradationPreference="maintain-resolution";break;default:r.degradationPreference="balanced"}if(y("DSCP_TYPE")&&Vr()){var s;const d=y("DSCP_TYPE");G(s=["very-low","low","medium","high"]).call(s,d)&&(o.networkPriority=d)}const a=i.getParameters(),c=(n=a.encodings)===null||n===void 0?void 0:n[0];c&&Object.assign(c,o),Object.assign(a,r),_.debug("[".concat(e.getTrackId(),"] updateRtpSenderEncodings: ").concat(JSON.stringify(a.encodings))),yield i.setParameters(a)})}applySendEncodings(e,i){return C(this,null,function*(){try{if(!Ct().supportSetRtpSenderParameters||e.length!==i.length)return;for(let n=0;n{const s=r._mediaStreamTrack,a=n.mediaDescriptions.find(c=>c.attributes.mid===s.kind);a&&ba(a,r)}),mo(n)}bindStatsEvents(){this.statsFilter.onFirstAudioReceived=e=>{var i;(i=this.onFirstAudioReceived)===null||i===void 0||i.call(this,e)},this.statsFilter.onFirstVideoReceived=e=>{var i;(i=this.onFirstVideoReceived)===null||i===void 0||i.call(this,e)},this.statsFilter.onFirstAudioDecoded=e=>{var i;(i=this.onFirstAudioDecoded)===null||i===void 0||i.call(this,e)},this.statsFilter.onFirstVideoDecoded=(e,i,n)=>{var r;(r=this.onFirstVideoDecoded)===null||r===void 0||r.call(this,e,i,n)},this.statsFilter.onSelectedLocalCandidateChanged=(e,i)=>{var n;(n=this.onSelectedLocalCandidateChanged)===null||n===void 0||n.call(this,e,i)},this.statsFilter.onSelectedRemoteCandidateChanged=(e,i)=>{var n;(n=this.onSelectedRemoteCandidateChanged)===null||n===void 0||n.call(this,e,i)}}unbindStatsEvents(){this.statsFilter.onFirstAudioReceived=void 0,this.statsFilter.onFirstVideoReceived=void 0,this.statsFilter.onFirstAudioDecoded=void 0,this.statsFilter.onFirstVideoDecoded=void 0,this.statsFilter.onSelectedLocalCandidateChanged=void 0,this.statsFilter.onSelectedRemoteCandidateChanged=void 0}batchReceive(e){return C(this,null,function*(){try{if(!this.remoteSDP)throw new Error("Cannot call P2PConnection.batchReceive before remoteSDP created.");const i=this.remoteSDP.batchSend(e).map((o,s)=>{let{id:a,mslabel:c}=o;const{kind:d}=e[s];return new K((l,u)=>{const h=setTimeout(()=>{u(new Error("Cannot receive track, id: ".concat(a)))},1e4),p=g=>{const m=vt();if(m.name==="Safari"&&Number(m.version)===11&&g.track.id!==a&&g.streams[0].id===c){var f;const T=g.streams[0].getTracks()[0];return(f=this.remoteSDP)===null||f===void 0||f.updateTrackLabel(d,a,g.track.id),this.peerConnection.removeEventListener("track",p),clearTimeout(h),void l({track:T,id:a})}if(g.track.id===a)return this.peerConnection.removeEventListener("track",p),clearTimeout(h),void l({track:g.track,id:a})};this.peerConnection.addEventListener("track",p)})}),n=this.remoteSDP.toString();yield this.peerConnection.setRemoteDescription({type:"offer",sdp:n});const r=yield this.peerConnection.createAnswer();return yield this.peerConnection.setLocalDescription(r),yield K.all(i)}catch(i){throw new k(v.EXCHANGE_SDP_FAILED,"P2PConnection.receive failed; ".concat(i.toString()))}})}getRemoteSSRC(e){return C(this,null,function*(){if(!this.remoteSDP)return;const i=this.remoteSDP.getSSRC(e);return i==null?void 0:i[0].ssrcId})}setConfiguration(e){if(Ct().supportPCSetConfiguration){const i=Cd.resolvePCConfiguration(e);this.peerConnection.setConfiguration(i)}}},Q(jt.prototype,"connect",[En],Object.getOwnPropertyDescriptor(jt.prototype,"connect"),jt.prototype),Q(jt.prototype,"stopSending",[En],Object.getOwnPropertyDescriptor(jt.prototype,"stopSending"),jt.prototype),Q(jt.prototype,"receive",[En],Object.getOwnPropertyDescriptor(jt.prototype,"receive"),jt.prototype),Q(jt.prototype,"stopReceiving",[En],Object.getOwnPropertyDescriptor(jt.prototype,"stopReceiving"),jt.prototype),Q(jt.prototype,"muteRemote",[En],Object.getOwnPropertyDescriptor(jt.prototype,"muteRemote"),jt.prototype),Q(jt.prototype,"unmuteRemote",[En],Object.getOwnPropertyDescriptor(jt.prototype,"unmuteRemote"),jt.prototype),Q(jt.prototype,"muteLocal",[En],Object.getOwnPropertyDescriptor(jt.prototype,"muteLocal"),jt.prototype),Q(jt.prototype,"unmuteLocal",[En],Object.getOwnPropertyDescriptor(jt.prototype,"unmuteLocal"),jt.prototype),Q(jt.prototype,"close",[En],Object.getOwnPropertyDescriptor(jt.prototype,"close"),jt.prototype),Q(jt.prototype,"updateEncoderConfig",[En],Object.getOwnPropertyDescriptor(jt.prototype,"updateEncoderConfig"),jt.prototype),Q(jt.prototype,"updateSendParameters",[En],Object.getOwnPropertyDescriptor(jt.prototype,"updateSendParameters"),jt.prototype),Q(jt.prototype,"replaceTrack",[En],Object.getOwnPropertyDescriptor(jt.prototype,"replaceTrack"),jt.prototype),Q(jt.prototype,"getRemoteSSRC",[En],Object.getOwnPropertyDescriptor(jt.prototype,"getRemoteSSRC"),jt.prototype),jt);function En(t,e,i){const n=t[e];if(typeof n!="function")throw new Error("Cannot use mutex on object property.");return i.value=function(){return C(this,arguments,function*(){const r=this.mutex,o=yield r.lock("Locking from P2PConnection.".concat(e));try{for(var s=arguments.length,a=new Array(s),c=0;c1&&arguments[1]!==void 0?arguments[1]:{};if(!Ct().supportWebRTCEncodedTransform)return void _.warning("browser not support audio encoded transform");if(yu.has(t)||!t.track)return;const n={track:t.track};if(xr()){if(!t.createEncodedStreams)return void _.warning("browser not support createEncodedStreams() API");let o=null;try{o=t.createEncodedStreams()}catch(a){return void _.error("create audio-encoded-streams error",a&&a.message)}const s=new TransformStream({transform(a,c){n.controller||(n.controller=c),t.track&&t.track.id!==n.track.id&&(_.debug("audio track changed: ".concat(n.track.id," => ").concat(t.track.id)),n.track.removeEventListener("ended",r),n.track=t.track,n.track.addEventListener("ended",r));const d=i.metadata&&i.metadata();d?function(l,u){const{chunk:h,controller:p}=u,g=y("ENABLE_AUDIO_PTS_METADATA")?jr.AUDIO_64_BIT_PTS:jr.METADATA;h.data=function(m,f,T){const R=T.byteLength,A=R+Em+Wb,N=pm+_m+A,O=new ArrayBuffer(m.byteLength+N),w=new DataView(O);w.setUint8(0,Gb),w.setUint16(1,A),w.setUint8(3,f),w.setUint16(4,R);for(let M=0;Mo.onmessage=d=>{d.data==="registered"&&c(void 0)});const a=new RTCRtpScriptTransform(o,{name:"audio-metadata-tx",port:s.port2},[s.port2]);t.transform=a,yield new K(c=>o.onmessage=d=>{d.data==="started"&&c(void 0)}),s.port1.onmessage=c=>{var d;if(c.data.transformed&&t.track&&((d=t.track)===null||d===void 0?void 0:d.id)!==n.track.id)_.debug("audio track changed: ".concat(n.track.id," => ").concat(t.track.id)),n.track.removeEventListener("ended",r),n.track=t.track,n.track.addEventListener("ended",r);else if(c.data.getMetadata){const l=i.metadata&&i.metadata();l&&s.port1.postMessage({metadata:l})}},n.worker=o}function r(){if(t.track){if(this.id!==t.track.id)return;t.track.removeEventListener("ended",r)}const o=yu.get(t);if(o){yu.delete(t);try{var s,a;(s=o.controller)===null||s===void 0||s.terminate(),(a=o.worker)===null||a===void 0||a.terminate()}catch(c){_.warning(c&&c.message)}}}yu.set(t,n),t.track.addEventListener("ended",r)})},interceptRemoteAudioFrame:function(e){return C(this,arguments,function*(t){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Ct().supportWebRTCEncodedTransform)return void _.warning("browser not support audio encoded transform");if(Nu.has(t))return;const n={track:t.track,onMetadata:i.onMetadata};if(xr()){if(!t.createEncodedStreams)return void _.warning("browser not support createEncodedStreams() API");AE(It.CHROME,87,116)||(i.enableTopn=!1);let o=null;try{o=t.createEncodedStreams()}catch(a){return void _.error("create audio-encoded-streams error",a&&a.message)}const s=new TransformStream({transform(a,c){n.controller||(n.controller=c),t.track&&t.track.id!==n.track.id&&(_.debug("audio track changed: ".concat(n.track.id," => ").concat(t.track.id)),n.track.removeEventListener("ended",r),n.track=t.track,n.track.addEventListener("ended",r)),i.enableTopn?function(d,l,u){var h;const p=Hb(new DataView(l.data));if(!p)return u.enqueue(l);const g=d.track.id;y3.set(g,d.track);const m=(h=p.tlv.find(O=>O.tag===jr.AUDIO_LEVEL))===null||h===void 0?void 0:h.value;let f=0;typeof m=="number"&&(f=127-m);const T=Math.round(Math.pow(10,f/60)-1),{selected:R,speaker:A}=function(O,w){let L=Ta.get(O);if(L||(L=function(M){const j=new Yb;return Ta.set(M,j),Zn||(Zn=new v3(y("TOPN_SILENCE_THRESHOLD")||500),Zn.on("ActiveSpeakerChanged",H=>{H!=null&&(bu=H)})),Zn.addSpeakers([j]),j}(O)),Ta.size<=qb)return{selected:!0,speaker:L};if(!Zn)throw new Error("no active speaker detector");return Zn.levelChanged(L.id,w),rs=Zn.loudest.map(M=>M.id),bu&&!G(rs).call(rs,bu)&&rs.length>=qb&&rs.pop(),{selected:G(rs).call(rs,L.id)||L.id===bu,speaker:L}}(d,T),N=function(O,w,L){const M=$n.get(O)||new C3(O,w);return M.score=L,$n.set(O,M),function(j){if(wu.set(j,!0),!Ou)return void(Ou=Date.now());const H=Date.now();H-Ou>1e3&&(wu.get(j)?wu.set(j,!1):(zb(j),wu.delete(j)),Ou=H)}(O),M}(g,d.track,A.energyScore);N.addSample(R),N.active&&(l.data=p.frame.buffer,u.enqueue(l))}(t,a,c):i.enableMetadata?function(d,l,u){const h=Hb(new DataView(d.data));if(!h)return l.enqueue(d);const p=h.tlv.find(g=>g.tag===jr.METADATA||g.tag===jr.AUDIO_64_BIT_PTS);p&&u&&p.value instanceof Uint8Array&&u(p.value),d.data=h.frame.buffer,l.enqueue(d)}(a,c,i.onMetadata):c.enqueue(a)}});o.readable.pipeThrough(s).pipeTo(o.writable)}else if(je()){if(typeof RTCRtpScriptTransform=="undefined")return void _.warning("browser not support RTCRtpScriptTransform");const o=Cu(),s=new MessageChannel;yield new K(c=>o.onmessage=d=>{d.data==="registered"&&c(void 0)});const a=new RTCRtpScriptTransform(o,{name:"audio-metadata-rx",port:s.port2},[s.port2]);t.transform=a,yield new K(c=>o.onmessage=d=>{d.data==="started"&&c(void 0)}),s.port1.onmessage=c=>{var d;c.data.transformed&&t.track&&((d=t.track)===null||d===void 0?void 0:d.id)!==n.track.id?(_.debug("audio track changed: ".concat(n.track.id," => ").concat(t.track.id)),n.track.removeEventListener("ended",r),n.track=t.track,n.track.addEventListener("ended",r)):c.data.metadata&&n.onMetadata&&n.onMetadata(c.data.metadata)},n.worker=o}function r(){t.track.removeEventListener("ended",r),function(o){const s=Nu.get(o);if(s){(function(d){const l=Ta.get(d);l&&(Ta.delete(d),Zn&&(Zn.removeSpeakers([l]),Ta.size===0&&(Zn.destroy(),Zn=null)))})(o),zb(o.track.id),Nu.delete(o);try{var a,c;(a=s.controller)===null||a===void 0||a.terminate(),(c=s.worker)===null||c===void 0||c.terminate()}catch(d){_.warning(d&&d.message)}}}(t)}Nu.set(t,n),t.track.addEventListener("ended",r)})},interceptLocalVideoFrame:function(t,e){return C(this,null,function*(){if(!Ct().supportWebRTCEncodedTransform)return void _.warning("browser not support video encoded transform");if(Du.has(t)||!t.track)return;const i={track:t.track};if(xr()){if(!t.createEncodedStreams)return void _.warning("browser not support createEncodedStreams() API");let r=null;try{r=t.createEncodedStreams()}catch(a){return void _.error("create video-encoded-streams error",a&&a.message)}const o=[];e.on("sei-to-send",a=>{o.push(a)});const s=new TransformStream({transform(a,c){i.controller||(i.controller=c),t.track&&t.track.id!==i.track.id&&(_.debug("video track changed: ".concat(i.track.id," => ").concat(t.track.id)),i.track.removeEventListener("ended",n),i.track=t.track,i.track.addEventListener("ended",n));const d=o.shift();d&&(a.data=function(l,u){const h=function(R){const A=R.length;let N=[],O=0;for(;Or.onmessage=c=>{c.data==="registered"&&a(void 0)});const s=new RTCRtpScriptTransform(r,{name:"sei-tx",port:o.port2},[o.port2]);t.transform=s,yield new K(a=>r.onmessage=c=>{c.data==="started"&&a(void 0)}),e.on("sei-to-send",a=>{o.port1.postMessage({sei:a})}),o.port1.onmessage=a=>{var c;a.data.transformed&&t.track&&((c=t.track)===null||c===void 0?void 0:c.id)!==i.track.id&&(_.debug("video track changed: ".concat(i.track.id," => ").concat(t.track.id)),i.track.removeEventListener("ended",n),i.track=t.track,i.track.addEventListener("ended",n))},i.worker=r}}function n(){if(t.track){if(this.id!==t.track.id)return;t.track.removeEventListener("ended",n)}const r=Du.get(t);if(r){Du.delete(t);try{var o,s;(o=r.controller)===null||o===void 0||o.terminate(),(s=r.worker)===null||s===void 0||s.terminate()}catch(a){_.warning(a&&a.message)}}}Du.set(t,i),t.track.addEventListener("ended",n)})},interceptRemoteVideoFrame:function(e){return C(this,arguments,function*(t){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Ct().supportWebRTCEncodedTransform)return void _.warning("browser not support video encoded transform");if(!t.track)return;if(Vc.has(t)){const o=Vc.get(t);return void(o&&(o.onSei=i.onSei))}const n={track:t.track,onSei:i.onSei};if(xr()){if(!t.createEncodedStreams)return void _.warning("browser not support createEncodedStreams() API");let o=null;try{o=t.createEncodedStreams()}catch(a){return void _.error("create video-encoded-streams error",a&&a.message)}const s=new TransformStream({transform(a,c){n.controller||(n.controller=c),t.track&&t.track.id!==n.track.id&&(_.debug("video track changed: ".concat(n.track.id," => ").concat(t.track.id)),n.track.removeEventListener("ended",r),n.track=t.track,n.track.addEventListener("ended",r));const d=function(l){const u=new DataView(l.data);let h=0;for(;h+4o.onmessage=d=>{d.data==="registered"&&c(void 0)});const a=new RTCRtpScriptTransform(o,{name:"sei-rx",port:s.port2},[s.port2]);t.transform=a,yield new K(c=>o.onmessage=d=>{d.data==="started"&&c(void 0)}),s.port1.onmessage=c=>{var d;c.data.transformed&&t.track&&((d=t.track)===null||d===void 0?void 0:d.id)!==n.track.id?(_.debug("video track changed: ".concat(n.track.id," => ").concat(t.track.id)),n.track.removeEventListener("ended",r),n.track=t.track,n.track.addEventListener("ended",r)):c.data.sei&&n.onSei&&n.onSei(c.data.sei)},n.worker=o}function r(){if(t.track){if(this.id!==t.track.id)return;t.track.removeEventListener("ended",r)}(function(o){const s=Vc.get(o);if(s){Vc.delete(o);try{var a,c;(a=s.controller)===null||a===void 0||a.terminate(),(c=s.worker)===null||c===void 0||c.terminate()}catch(d){_.warning(d&&d.message)}}})(t)}Vc.set(t,n),t.track.addEventListener("ended",r)})}},W4={name:"InterceptFrame",create:()=>G4};YE(),kt("PROCESS_ID","process-".concat(Gt(8,""),"-").concat(Gt(4,""),"-").concat(Gt(4,""),"-").concat(Gt(4,""),"-").concat(Gt(12,""))),function(){let t;try{t=window.localStorage.getItem("websdk_ng_global_parameter")}catch(e){return void _.error("Error loading sdk config",e.message)}if(t)try{const e=JSON.parse(window.atob(t)),i=Date.now();_.debug("Loading global parameters from cache",e),Object.keys(e).forEach(n=>{if(Object.prototype.hasOwnProperty.call(Xt,n)){const{value:r,expires:o}=e[n];if(o&&o<=i)return;Qn[n]=r,Xt[n]=r}})}catch(e){_.error("Error loading mutableParamsCache: ".concat(t),e.message)}}(),Array.isArray(Qn.AREAS)&&Qn.AREAS.length>0&&Vm(Qn.AREAS,!0);const zN=(t,e,i)=>{_.debug("setParameter key:".concat(t,", value:").concat(JSON.stringify(e))),kt(t,e,i)};vo(h4,!1),vo(E4,!1),vo(JW,!1),vo(A4,!1),vo(d4,!1),vo(V4,!1),vo(j4,!1),vo(W4,!1);const Se=function(t){const e=new $t,i=t,n={getListeners:e.getListeners.bind(e),on:(r,o)=>(function(s,a){s===Tr.SECURITY_POLICY_VIOLATION&&wO(a,!0)}(r,o),e.on.bind(e)(r,o)),addListener:e.addListener.bind(e),once:e.once.bind(e),off:e.off.bind(e),removeAllListeners:e.removeAllListeners.bind(e),emit:e.emit.bind(e),safeEmit:e.safeEmit.bind(e)};return bO(bO({},i),n)}({__TRACK_LIST__:la,VERSION:dn,BUILD:XE,ESM_BUNDLER:!1,ESM:!1,UMD:!0,DEV:!1,setParameter:zN,getParameter:y,getSupportedCodec:function(){return C(this,null,function*(){let t={audio:[],video:[]};try{let e=new RTCPeerConnection;const i=yield function(n){return C(this,null,function*(){let r;return Ct().supportUnifiedPlan?(n.addTransceiver("video",{direction:"recvonly"}),n.addTransceiver("audio",{direction:"recvonly"}),r=(yield n.createOffer()).sdp):r=(yield n.createOffer({offerToReceiveAudio:!0,offerToReceiveVideo:!0})).sdp,r})}(e);if(!i)return t;e.close(),e=null,t=function(n){const r={video:[],audio:[]};return n.match(/ VP8/i)&&r.video.push("VP8"),n.match(/ VP9/i)&&r.video.push("VP9"),n.match(/ AV1/i)&&r.video.push("AV1"),n.match(/ H264/i)&&r.video.push("H264"),n.match(/ H265/i)&&r.video.push("H265"),n.match(/ opus/i)&&r.audio.push("OPUS"),n.match(/ PCMU/i)&&r.audio.push("PCMU"),n.match(/ PCMA/i)&&r.audio.push("PCMA"),n.match(/ G722/i)&&r.audio.push("G722"),r}(i)}catch(e){throw new P(v.CREATE_OFFER_FAILED,e.toString&&e.toString()).print()}return t})},checkSystemRequirements:function(){const t=Z.reportApiInvoke(null,{name:_e.CHECK_SYSTEM_REQUIREMENTS,options:[],tag:oe.TRACER});let e=!1;try{const o=window.RTCPeerConnection,s=navigator.mediaDevices&&navigator.mediaDevices.getUserMedia,a=window.WebSocket;e=!!(o&&s&&a),e&&NE()&&Jy(75)&&new o().close()}catch(o){return _.error("check system requirement failed: ",o),!1}let i=!1;const n=vt();n.name===It.CHROME&&Number(n.version)>=58&&(Xn.engine.name!=="WebKit"||function(){const o=vt();if(su()){if(o.os===we.MAC_OS)return!0;if(o.os===we.IOS){const s=Xn.os.version&&Xn.os.version.split(".");if(s&&Number(s[0])===14&&s[1]&&Number(s[1])>=3||s&&Number(s[0])>14)return!0}}return!1}())&&(i=!0),(n.name===It.FIREFOX&&Number(n.version)>=56||n.name===It.OPERA&&Number(n.version)>=45||n.name===It.SAFARI&&Number(n.version)>=11||n.name==="WebKit"&&(li()||bn())&&n.osVersion&&Number(n.osVersion.split(".")[0])>=11||iI()||vt().name===It.QQ)&&(i=!0),_.debug("checkSystemRequirements, api:",e,"browser",i);const r=e&&i;return t.onSuccess(r),r},getDevices:function(t){return en.enumerateDevices(!0,!0,t)},getMicrophones:function(t){return en.getRecordingDevices(t)},getCameras:function(t){return en.getCamerasDevices(t)},getElectronScreenSources:JI,getPlaybackDevices:function(t){return en.getSpeakers(t)},createClient:function(){var t;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{codec:"vp8",audioCodec:"opus",mode:"rtc"};const i=Gt(5,"client-"),n=Z.reportApiInvoke(null,{id:i,name:_e.CREATE_CLIENT,options:[e],tag:oe.TRACER});try{(function(r){Ae(r.codec,"config.codec",["vp8","vp9","av1","h264","h265"]),Ae(r.mode,"config.mode",["rtc","live","p2p"]),r.audioCodec!==void 0&&Ae(r.audioCodec,"config.audioCodec",["opus","pcmu","pcma","g722"]),r.proxyServer!==void 0&&Me(r.proxyServer,"config.proxyServer",1,1e4),r.turnServer!==void 0&&lI(r.turnServer),r.httpRetryConfig!==void 0&&dI(r.httpRetryConfig),r.websocketRetryConfig!==void 0&&dI(r.websocketRetryConfig)})(e)}catch(r){throw n.onError(r),r}return(Zy(16,0)||$y(16,0))&&(e.codec==="vp9"&&(e.codec="vp8",_.debug("browser not support vp9, force use vp8")),kt("UNSUPPORTED_VIDEO_CODEC",["vp9"])),e.audioCodec===void 0&&(e.audioCodec="opus"),n.onSuccess(),new QW(xn(xn({forceWaitGatewayResponse:!0},e),{},{role:G(t=["rtc","p2p"]).call(t,e.mode)?"host":e.role||"audience"}),i)},createCameraVideoTrack:function(){return C(this,arguments,function*(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const e=y("CAMERA_CAPTURE_CONFIG"),i=Gt(8,"track-cam-"),n=Z.reportApiInvoke(null,{id:i,tag:oe.TRACER,name:_e.CREATE_CAM_VIDEO_TRACK,options:[Qt({},t),e]});e&&(t.encoderConfig=e);const r=Ru(t);let o=null;_.info("start create camera video track with config",JSON.stringify(t),"trackId",i);try{o=(yield tn({video:r},i)).getVideoTracks()[0]||null}catch(a){throw n.onError(a),a}if(!o){const a=new k(v.UNEXPECTED_ERROR,"can not find track in media stream");return n.onError(a),a.throw(_)}if(t.optimizationMode&&hm(i,o,t,Nn(t.encoderConfig)),y("USE_STANDARD_BITRATE_DEFAULT")){const a=Nn(t.encoderConfig);t.encoderConfig=a,delete a.bitrateMax,delete a.bitrateMin}const s=new um(o,t,r,t.scalabiltyMode?fu(t.scalabiltyMode):{numSpatialLayers:1,numTemporalLayers:1},t.optimizationMode,i);return n.onSuccess(s.getTrackId()),_.info("create camera video success, trackId:",i),s})},createCustomVideoTrack:function(t){const e=Gt(8,"track-cus-"),i=Z.reportApiInvoke(null,{id:e,tag:oe.TRACER,name:_e.CREATE_CUSTOM_VIDEO_TRACK,options:[t]});y("USE_STANDARD_BITRATE_DEFAULT")&&(delete t.bitrateMax,delete t.bitrateMin);const n=new Yt(t.mediaStreamTrack,{width:t.width,height:t.height,frameRate:t.frameRate,bitrateMax:t.bitrateMax,bitrateMin:t.bitrateMin},t.scalabiltyMode?fu(t.scalabiltyMode):{numSpatialLayers:1,numTemporalLayers:1},t.optimizationMode,e,[Vt.CUSTOM_TRACK]);return i.onSuccess(n.getTrackId()),_.info("create custom video track success with config",t,"trackId",n.getTrackId()),n},createScreenVideoTrack:function(){return C(this,arguments,function*(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"disable";const i=typeof e=="object"?function(h){return sA(h)}(e):void 0;i&&(e="auto");const n=Gt(8,"track-scr-v-"),r=Z.reportApiInvoke(null,{id:n,tag:oe.TRACER,name:_e.CREATE_SCREEN_VIDEO_TRACK,options:[Qt({},t),e]});t.encoderConfig?typeof t.encoderConfig=="string"||t.encoderConfig.width&&t.encoderConfig.height||(t.encoderConfig.width={max:1920},t.encoderConfig.height={max:1080}):t.encoderConfig="1080p_2";const o=function(h){const p={};h.screenSourceType&&(p.mediaSource=h.screenSourceType),h.extensionId&&xr()&&(p.extensionId=h.extensionId);const{displaySurface:g,selfBrowserSurface:m,surfaceSwitching:f,systemAudio:T,preferCurrentTab:R}=h;(Ac(107)||bE(107)||wE(93))&&(g&&(Ae(g,"displaySurface",["browser","window","monitor"]),p.displaySurface=g),m?(Ae(m,"selfBrowserSurface",["exclude","include"]),p.selfBrowserSurface=m):p.selfBrowserSurface="include",f&&(Ae(f,"surfaceSwitching",["exclude","include"]),p.surfaceSwitching=f)),(Ac(105)||bE(105)||wE(91))&&T&&(Ae(T,"systemAudio",["exclude","include"]),p.systemAudio=T),(Ac(94)||bE(94)||wE(80))&&R&&(p.preferCurrentTab=!0),h.electronScreenSourceId&&(p.sourceId=h.electronScreenSourceId);const A=h.encoderConfig?tm(h.encoderConfig):null;return p.mandatory={chromeMediaSource:"desktop",maxWidth:A?A.width:void 0,maxHeight:A?A.height:void 0},A&&(A.frameRate&&(typeof A.frameRate=="number"?(p.mandatory.maxFrameRate=A.frameRate,p.mandatory.minFrameRate=A.frameRate):(p.mandatory.maxFrameRate=A.frameRate.max||A.frameRate.ideal||A.frameRate.exact||void 0,p.mandatory.minFrameRate=A.frameRate.min||A.frameRate.ideal||A.frameRate.exact||void 0),p.frameRate=A.frameRate),A.width&&(p.width=A.width),A.height&&(p.height=A.height)),p}(t);let s=null,a=null;const c=Ct();if(!c.supportShareAudio&&e==="enable"){const h=new k(v.NOT_SUPPORTED,"your browser or platform is not support share-screen with audio");return r.onError(h),h.throw(_)}_.info("start create screen video track with config",t,"withAudio",e,"trackId",n);const d=c.supportShareAudio&&e!=="disable";try{const h=yield tn({screen:o,screenAudio:d?i||!0:void 0},n);s=h.getVideoTracks()[0]||null,a=h.getAudioTracks()[0]||null}catch(h){throw r.onError(h),h}if(!s){const h=new k(v.UNEXPECTED_ERROR,"can not find track in media stream");return r.onError(h),h.throw(_)}if(!a&&e==="enable"){s&&s.stop();const h=new k(v.SHARE_AUDIO_NOT_ALLOWED);return r.onError(h),h.throw(_)}t.optimizationMode||(t.optimizationMode="detail"),t.optimizationMode&&(hm(n,s,t,t.encoderConfig&&tm(t.encoderConfig)||void 0),t.encoderConfig&&typeof t.encoderConfig!="string"&&(t.encoderConfig.bitrateMin=t.encoderConfig.bitrateMax));const l=new Yt(s,t.encoderConfig?tm(t.encoderConfig):{},t.scalabiltyMode?fu(t.scalabiltyMode):{numSpatialLayers:1,numTemporalLayers:1},t.optimizationMode,n,[Vt.SCREEN_TRACK]);if(!a)return r.onSuccess(l.getTrackId()),_.info("create screen video track success","video:",l.getTrackId()),l;const u=new ae(a,void 0,Gt(8,"track-scr-a-"),!1);return r.onSuccess([l.getTrackId(),u.getTrackId()]),_.info("create screen video track success","video:",l.getTrackId(),"audio:",u.getTrackId()),[l,u]})},createMicrophoneAndCameraTracks:function(){return C(this,arguments,function*(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=y("CAMERA_CAPTURE_CONFIG"),n=Gt(8,"track-mic-"),r=Gt(8,"track-cam-"),o=Z.reportApiInvoke(null,{id:"".concat(n,"-").concat(r),tag:oe.TRACER,name:_e.CREATE_MIC_AND_CAM_TRACKS,options:[t,e,i]});i&&(e.encoderConfig=i);const s=Ru(e),a=aA(t);let c=null,d=null;_.info("start create camera video track(".concat(r,") and microphone audio track(").concat(n,") with config, audio: ").concat(JSON.stringify(t),", video: ").concat(JSON.stringify(e)));try{const h=yield tn({audio:a,video:s},"".concat(n,"-").concat(r));c=h.getAudioTracks()[0],d=h.getVideoTracks()[0]}catch(h){throw o.onError(h),h}if(!c||!d){const h=new k(v.UNEXPECTED_ERROR,"can not find tracks in media stream");return o.onError(h),h.throw(_)}if(e.optimizationMode&&hm(r,d,e,Nn(e.encoderConfig)),y("USE_STANDARD_BITRATE_DEFAULT")){const h=Nn(e.encoderConfig);e.encoderConfig=h,delete h.bitrateMax,delete h.bitrateMin}const l=new xc(c,t,a,n),u=new um(d,e,s,e.scalabiltyMode?fu(e.scalabiltyMode):{numSpatialLayers:1,numTemporalLayers:1},e.optimizationMode,r);return o.onSuccess([l.getTrackId(),u.getTrackId()]),_.info("create camera video track(".concat(r,") and microphone audio track(").concat(n,") success")),[l,u]})},createMicrophoneAudioTrack:function(){return C(this,arguments,function*(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const e=Gt(8,"track-mic-"),i=Z.reportApiInvoke(null,{id:e,tag:oe.TRACER,name:_e.CREATE_MIC_AUDIO_TRACK,options:[t]}),n=aA(t);let r=null;_.info("start create microphone audio track with config",JSON.stringify(t),"trackId",e);try{r=(yield tn({audio:n},e)).getAudioTracks()[0]||null}catch(s){throw i.onError(s),s}if(!r){const s=new k(v.UNEXPECTED_ERROR,"can not find track in media stream");return i.onError(s),s.throw(_)}const o=new xc(r,t,n,e);return i.onSuccess(o.getTrackId()),_.info("create microphone audio track success, trackId:",e),o})},createCustomAudioTrack:function(t){const e=Gt(8,"track-cus-"),i=Z.reportApiInvoke(null,{id:e,tag:oe.TRACER,name:_e.CREATE_CUSTOM_AUDIO_TRACK,options:[t]}),n=new ae(t.mediaStreamTrack,t.encoderConfig?gu(t.encoderConfig):{},e,!1);return _.info("create custom audio track success with config",t,"trackId",n.getTrackId()),i.onSuccess(n.getTrackId()),n},createBufferSourceAudioTrack:function(t){return C(this,null,function*(){var e;const{cacheOnlineFile:i,encoderConfig:n}=t;let{source:r}=t;const o={source:r instanceof AudioBuffer?"AudioBuffer":r instanceof File?(e=File.name)!==null&&e!==void 0?e:"File":r,cacheOnlineFile:i,encoderConfig:n},s=Gt(8,"track-buf-"),a=Z.reportApiInvoke(null,{id:s,tag:oe.TRACER,name:_e.CREATE_BUFFER_AUDIO_TRACK,options:[o]});if(y("DISABLE_WEBAUDIO"))throw new k(v.NOT_SUPPORTED,"can not create BufferSourceAudioTrack when WebAudio disabled");_.info("start create buffer source audio track with config",JSON.stringify(o),"trackId",s);const c=r;if(!(r instanceof AudioBuffer))try{r=yield function(u,h){return C(this,null,function*(){let p=null;if(typeof u=="string"){const m=qA.get(u);if(m)return _.debug("use cached audio resource: ",u),m;try{p=(yield Jn(()=>Ti.get(u,{responseType:"arraybuffer"}),void 0,void 0,{maxRetryCount:3})).data}catch(f){throw new k(v.FETCH_AUDIO_FILE_FAILED,f.toString())}}else p=yield new K((f,T)=>{const R=new FileReader;R.onload=A=>{A.target?f(A.target.result):T(new k(v.READ_LOCAL_AUDIO_FILE_ERROR))},R.onerror=()=>{T(new k(v.READ_LOCAL_AUDIO_FILE_ERROR))},R.readAsArrayBuffer(u)});const g=yield function(m){const f=ma();return new K((T,R)=>{f.decodeAudioData(m,A=>{T(A)},A=>{R(new k(v.DECODE_AUDIO_FILE_FAILED,A.toString()))})})}(p);return typeof u=="string"&&h&&qA.set(u,g),g})}(r,i)}catch(u){return a.onError(u),u.throw(_)}const d=new f3(r),l=new m3(c,d,n?gu(n):{},s);return _.info("create buffer source audio track success, trackId:",s),a.onSuccess(l.getTrackId()),l})},setAppType:function(t){if(_.debug("setAppType: ".concat(t)),!(Number.isInteger(t)&&t>=0))throw _.debug("Invalid appType"),new P(v.INVALID_PARAMS,"invalid app type",t);kt("APP_TYPE",Math.floor(t))},setLogLevel:function(t){_.setLogLevel(t)},enableLogUpload:function(){y("USE_NEW_LOG")?kt("UPLOAD_LOG",!0):_.enableLogUpload()},disableLogUpload:function(){y("USE_NEW_LOG")?kt("UPLOAD_LOG",!1):_.disableLogUpload()},createChannelMediaRelayConfiguration:function(){return new qw},checkAudioTrackIsActive:function(e){return C(this,arguments,function*(t){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5e3;const n=Z.reportApiInvoke(null,{tag:oe.TRACER,name:_e.CHECK_AUDIO_TRACK_IS_ACTIVE,options:[i]});if(!(t instanceof ae||t instanceof Sa)){const d=new P(v.INVALID_TRACK,"the parameter is not a audio track");return n.onError(d),d.throw()}i&&i<1e3&&(i=1e3);const r=t instanceof ae?t.getTrackLabel():"remote_track",o=t.getVolumeLevel();let s=o,a=o;const c=Date.now();return new K(d=>{const l=setInterval(()=>{const u=t.getVolumeLevel();s=u>s?u:s,a=u1e-4,p=Date.now()-c;if(h||p>i){clearInterval(l);const g=h,m={duration:p,deviceLabel:r,maxVolumeLevel:s,result:g};_.info("[track-".concat(t.getTrackId(),"] check audio track active completed. ").concat(JSON.stringify(m))),n.onSuccess(m),d(g)}},200)})})},checkVideoTrackIsActive:function(e){return C(this,arguments,function*(t){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5e3;const n=Z.reportApiInvoke(null,{tag:oe.TRACER,name:_e.CHECK_VIDEO_TRACK_IS_ACTIVE,options:[i]});if(!(t instanceof Yt||t instanceof ga)){const h=new P(v.INVALID_TRACK,"the parameter is not a video track");return n.onError(h),h.throw()}i&&i<1e3&&(i=1e3);const r=t instanceof Yt?t.getTrackLabel():"remote_track",o=t.getMediaStreamTrack(!0),s=document.createElement("video");s.style.width="1px",s.style.height="1px",s.setAttribute("muted",""),s.muted=!0,s.setAttribute("playsinline",""),s.controls=!1,(je()||su())&&(s.style.opacity="0.01",s.style.position="fixed",s.style.left="0",s.style.top="0",document.body.appendChild(s)),s.srcObject=new MediaStream([o]),s.play();const a=document.createElement("canvas");a.width=160,a.height=120;let c=0,d=0;try{const h=Date.now();c=yield function(p,g,m,f){let T,R=0,A=null;return new K((N,O)=>{function w(){R>f&&T&&(T(),N(R));const L=m.getContext("2d");if(!L){const H=new P(v.UNEXPECTED_ERROR,"can not get canvas 2d context.");return _.error(H.toString()),void O(H)}L.drawImage(p,0,0,160,120);const M=L.getImageData(0,0,m.width,m.height),j=Math.floor(M.data.length/3);if(A){for(let H=0;H{T&&(T(),N(R))},g),T=om(()=>{w()},30)})}(s,i,a,4),d=Date.now()-h}catch(h){throw n.onError(h),h}xW===It.SAFARI&&(s.pause(),s.remove()),s.srcObject=null;const l=c>4,u={duration:d,changedPicNum:c,deviceLabel:r,result:l};return _.info("[track-".concat(t.getTrackId(),"] check video track active completed. ").concat(JSON.stringify(u))),n.onSuccess(u),l})},setArea:Vm,audioElementPlayCenter:Ri,resumeAudioContext:function(){Ri.autoResumeAfterInterruption(!0)},processExternalMediaAEC:function(t){$W.processExternalMediaAEC(t)},registerExtensions:function(t){const e=y("PLUGIN_INFO")||[];t.forEach(i=>{"name"in i&&!G(e).call(e,i.name)&&e.push(i.name);const n=i;n.__registered__=!0,n.logger.hookLog=_.extLog,n.reporter.hookApiInvoke=Z.extApiInvoke,n.parameters&&Object.keys(n.parameters).forEach(r=>{n.parameters[r]=y(r)})}),zN("PLUGIN_INFO",e)},ChannelMediaRelayError:va,ChannelMediaRelayEvent:Wr,ChannelMediaRelayState:Di,RemoteStreamFallbackType:d3,RemoteStreamType:c3,ConnectionDisconnectedReason:bt,AudienceLatencyLevelType:FG,AREAS:At,preload:function(t,e,i,n){return C(this,null,function*(){return g0(t,e,i,n)})}});return Object.defineProperties(Se,{onAudioAutoplayFailed:{get:()=>nn.onAudioAutoplayFailed,set:t=>{nn.onAudioAutoplayFailed=t}},onAutoplayFailed:{get:()=>nn.onAutoplayFailed,set:t=>{nn.onAutoplayFailed=t}},_onSecurityPolicyViolation:{value:void 0,writable:!0},_cspEventHandlerPointer:{value:void 0,writable:!0},onSecurityPolicyViolation:{get:()=>Se._onSecurityPolicyViolation,set(t){Se._onSecurityPolicyViolation=t,wO(t)}},__CLIENT_LIST__:{get:()=>y("SHOW_GLOBAL_CLIENT_LIST")?os:[]}}),en.on(es.CAMERA_DEVICE_CHANGED,t=>{_.info("camera device changed",JSON.stringify(t)),Se.onCameraChanged&&Se.onCameraChanged(t),Se.safeEmit(Tr.CAMERA_CHANGED,t)}),en.on(es.RECORDING_DEVICE_CHANGED,t=>{_.info("microphone device changed",JSON.stringify(t)),Se.onMicrophoneChanged&&Se.onMicrophoneChanged(t),Se.safeEmit(Tr.MICROPHONE_CHANGED,t)}),en.on(es.PLAYOUT_DEVICE_CHANGED,t=>{_.debug("playout device changed",JSON.stringify(t)),Se.onPlaybackDeviceChanged&&Se.onPlaybackDeviceChanged(t),Se.safeEmit(Tr.PLAYBACK_DEVICE_CHANGED,t)}),Ri.onAutoplayFailed=()=>{_.info("detect audio element autoplay failed"),nn.onAudioAutoplayFailed&&nn.onAudioAutoplayFailed()},Mt.on("autoplay-failed",()=>{_.info("detect webaudio autoplay failed"),nn.onAudioAutoplayFailed&&nn.onAudioAutoplayFailed(),Se.safeEmit(Tr.AUTOPLAY_FAILED)}),Mt.on(Ve.STATE_CHANGE,(t,e)=>{_.info("audio context state changed: ".concat(e," => ").concat(t)),Se.onAudioContextStateChanged&&Se.onAudioContextStateChanged(t,e),Se.safeEmit(Tr.AUDIO_CONTEXT_STATE_CHANGED,t,e)}),Ee.on(ra.NETWORK_STATE_CHANGE,(t,e)=>{_.info("[network-indicator] network state changed, ".concat(e," => ").concat(t))}),window&&(window.__ARTC__=Se),Se})}(Ih)),Ih.exports}var sH=oH();const aH=z4(sH),cH={id:"app"},dH={key:0,class:"loading"},lH={key:1,class:"no-videos"},uH={key:2,class:"video-grid"},hH={class:"video-header"},pH=["id"],_H={class:"video-actions"},EH=["onClick"],mH={key:3,class:"fullscreen"},fH=[".srcObject"],gH=X4({__name:"demo",props:["result","userId","roomId"],setup(ai){const ce=ai,Ai=Rs("a3f0f0c78307434fa1c697c3429fbdcf"),Qe=Rs(ce.roomId),Pt=Rs(ce.result.token),Lt=Rs(!1),bi=Rs(!1),Ze=Rs([]),mi=Rs(null),Wi=J4({bitrate:0,packetLoss:0,resolution:"0x0"});let Gn=null;const de=()=>C(this,null,function*(){if(!Ai.value||!Qe.value){alert("请输入App ID和频道名称");return}try{Lt.value=!0,Gn=aH.createClient({mode:"live",codec:"h264"}),Gn.on("user-published",$e),Gn.on("user-unpublished",Lo),Gn.on("user-left",ie),yield Gn.join(Ai.value,Qe.value.toString(),Pt.value||null,+ce.userId,"live","audience"),bi.value=!0,setInterval(()=>{Ze.value.length>0&&(Wi.bitrate=Math.floor(Math.random()*5e3),Wi.packetLoss=Math.random().toFixed(2),Wi.resolution=`${Math.floor(Math.random()*1920)}x${Math.floor(Math.random()*1080)}`)},1e3)}catch(ci){console.error("加入频道失败:",ci),alert(`加入频道失败: ${ci.message}`)}finally{Lt.value=!1}}),$e=(ci,be)=>C(this,null,function*(){be==="video"&&(yield Gn.subscribe(ci,be),Ze.value=[...Ze.value,ci],setTimeout(()=>{const fi=document.getElementById(`player-${+ce.userId}`);fi&&ci.videoTrack.play(fi)},100))}),Lo=(ci,be)=>{be==="video"&&(ci.videoTrack&&ci.videoTrack.stop(),Ze.value=Ze.value.filter(fi=>fi.uid!==+ce.userId))},ie=ci=>{Ze.value=Ze.value.filter(be=>be.uid!==+ce.userId)},Ah=()=>C(this,null,function*(){Gn&&(Ze.value.forEach(ci=>{ci.videoTrack&&ci.videoTrack.stop()}),yield Gn.leave(),bi.value=!1,Ze.value=[],Wi.bitrate=0,Wi.packetLoss=0,Wi.resolution="0x0")}),yd=ci=>{const be=document.getElementById(`player-${+ce.userId}`);if(!be)return;const fi=be.querySelector("video");if(!fi)return;const ar=document.createElement("canvas");ar.width=fi.videoWidth,ar.height=fi.videoHeight,ar.getContext("2d").drawImage(fi,0,0,ar.width,ar.height);const Ha=document.createElement("a");Ha.download=`视频巡查截图_${+ce.userId}_${new Date().toISOString().slice(0,19).replace(/:/g,"-")}.png`,Ha.href=ar.toDataURL("image/png"),Ha.click(),alert(`已保存用户 ${+ce.userId} 的视频截图`)};return Q4(()=>{de()}),Z4(()=>{Gn&&bi.value&&Ah()}),(ci,be)=>(vs(),Cs("div",cH,[Lt.value?(vs(),Cs("div",dH,be[1]||(be[1]=[Gi("div",{class:"spinner"},null,-1)]))):Ze.value.length===0?(vs(),Cs("div",lH,be[2]||(be[2]=[Gi("i",{class:"fas fa-video-slash"},null,-1),Gi("h3",null,"没有可用的视频流",-1),Gi("p",null,"请加入频道以查看视频,或等待其他用户发布视频流",-1)]))):(vs(),Cs("div",uH,[(vs(!0),Cs($4,null,tH(Ze.value,fi=>(vs(),Cs("div",{key:+ce.userId,class:"video-item"},[Gi("div",hH,[Gi("div",null,"用户 ID: "+eH(+ce.userId),1),be[3]||(be[3]=Gi("div",{class:"status-indicator"},[Gi("span",{class:"indicator connected"}),JN(" 在线 ")],-1))]),Gi("div",{class:"video-player",id:"player-"+ +ce.userId},null,8,pH),Gi("div",_H,[Gi("button",{class:"btn btn-secondary",onClick:ar=>yd()},be[4]||(be[4]=[Gi("i",{class:"fas fa-camera"},null,-1),JN(" 截图 ")]),8,EH)])]))),128))])),mi.value?(vs(),Cs("div",mH,[Gi("button",{class:"close-fullscreen",onClick:be[0]||(be[0]=fi=>mi.value=null)},be[5]||(be[5]=[Gi("i",{class:"fas fa-times"},null,-1)])),Gi("video",{".srcObject":mi.value.videoTrack.getMediaStream(),autoplay:"",playsinline:""},null,40,fH)])):iH("",!0)]))}}),bH=nH(gH,[["__scopeId","data-v-b32a5d21"]]);export{bH as default}; diff --git a/dist/static/js/detail-Bv6_Xq4j.js b/dist/static/js/detail-Bv6_Xq4j.js new file mode 100644 index 0000000..94a2f3f --- /dev/null +++ b/dist/static/js/detail-Bv6_Xq4j.js @@ -0,0 +1 @@ +var l=(a,s,e)=>new Promise((c,n)=>{var o=t=>{try{i(e.next(t))}catch(r){n(r)}},p=t=>{try{i(e.throw(t))}catch(r){n(r)}},i=t=>t.done?c(t.value):Promise.resolve(t.value).then(o,p);i((e=e.apply(a,s)).next())});import{g as _}from"./adolescent-Dk2B_RUL.js";import{d as f,n as m,x as u,o as v,c as x,e as d,T as g,_ as I}from"./index-CRmU-Qpi.js";const h={style:{"margin-top":"24px"}},y=["innerHTML"],B=f({__name:"detail",props:["formInline"],setup(a){const s=a,e=m({}),c=()=>l(this,null,function*(){const{data:n,code:o}=yield _({id:s.formInline.id});e.value=o?n:{}});return u(()=>{c()}),(n,o)=>(v(),x("div",h,[d("h2",null,g(e.value.title),1),d("div",{class:"text-indent content",innerHTML:e.value.content},null,8,y)]))}}),w=I(B,[["__scopeId","data-v-54ebc0a3"]]);export{w as default}; diff --git a/dist/static/js/detail-Bwo4RQCm.js b/dist/static/js/detail-Bwo4RQCm.js new file mode 100644 index 0000000..0d82db0 --- /dev/null +++ b/dist/static/js/detail-Bwo4RQCm.js @@ -0,0 +1 @@ +import{_ as o}from"./detail.vue_vue_type_script_setup_true_lang-DwYwyiLJ.js";import"./room-3H8Bx0CI.js";import"./index-CRmU-Qpi.js";import"./demo-DDf_ewnH.js";export{o as default}; diff --git a/dist/static/js/detail-CLPQfK5X.js b/dist/static/js/detail-CLPQfK5X.js new file mode 100644 index 0000000..3ce96bd --- /dev/null +++ b/dist/static/js/detail-CLPQfK5X.js @@ -0,0 +1 @@ +var h=Object.defineProperty;var g=Object.getOwnPropertySymbols;var x=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var k=(o,t,e)=>t in o?h(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,y=(o,t)=>{for(var e in t||(t={}))x.call(t,e)&&k(o,e,t[e]);if(g)for(var e of g(t))w.call(t,e)&&k(o,e,t[e]);return o};import{d as I,n as _,r as V,o as a,c as i,e as s,f as u,T as l,P as d,Q as v,U as p,g as B,b as N,_ as b}from"./index-CRmU-Qpi.js";const C={class:"viewPage"},D={class:"line"},F={key:0},z={class:"line flex-container"},E={class:"line footer"},P={class:"title"},T={class:"avatar"},L={class:"content"},Q={class:"nickname"},S={key:0,class:"replay"},U={class:"nickname"},j={class:"nickname"},q=I({__name:"detail",props:["userInfo"],setup(o){const t=o,e=_(y({},t.userInfo));_(0);const m=_(t.userInfo.images?t.userInfo.images.split(","):[]);return(A,r)=>{const f=V("el-image");return a(),i("div",C,[s("div",null,[r[0]||(r[0]=s("div",null,[s("div",{class:"title"},"动态详情")],-1)),s("div",D,[u(l(e.value.content)+" ",1),e.value.title.length?(a(),i("span",F,[(a(!0),i(d,null,v(e.value.title,n=>(a(),i("span",{style:{"margin-right":"5px",color:"#409EFF"},key:n},l((n==null?void 0:n.title)||""),1))),128))])):p("",!0)]),s("div",z,[(a(!0),i(d,null,v(m.value,(n,c)=>(a(),B(f,{class:"flex-item",style:{height:"200px"},fit:"cover","preview-src-list":m.value,key:n,src:n,lazy:""},null,8,["preview-src-list","src"]))),128))]),s("div",E,[s("div",null,"点赞人数:"+l(e.value.like_num),1),s("div",null,"打赏金额:"+l(e.value.rewards_num),1),s("div",null,"浏览数:"+l(e.value.read_num),1),s("div",null,"最后编辑时间:"+l(e.value.updatetime||e.value.createtime),1)])]),s("div",null,[s("div",null,[s("div",P,[r[1]||(r[1]=u("全部评论 ")),s("span",null,l(e.value.comment_lists.length)+" 条",1)]),e.value.comment_lists?(a(!0),i(d,{key:0},v(e.value.comment_lists,n=>(a(),i("div",{class:"commentlist",key:n},[s("div",T,[N(f,{style:{height:"50px",width:"50px","border-radius":"50%"},fit:"cover",src:n.avatar,lazy:""},null,8,["src"])]),s("div",L,[s("div",Q,l(n.nickname),1),s("div",null,l(n.content),1),n.replies.length?(a(),i("div",S,[(a(!0),i(d,null,v(n.replies,c=>(a(),i("div",{class:"replayItem",key:c},[s("span",U,l(c.nickname),1),r[2]||(r[2]=u(" 回复 ")),s("span",j,l(c.reply_to_user),1),r[3]||(r[3]=u(" : ")),s("span",null,l(c.content),1)]))),128))])):p("",!0)])]))),128)):p("",!0)])])])}}}),J=b(q,[["__scopeId","data-v-b83f3838"]]);export{J as default}; diff --git a/dist/static/js/detail-CoKcup1p.js b/dist/static/js/detail-CoKcup1p.js new file mode 100644 index 0000000..ef0c5cb --- /dev/null +++ b/dist/static/js/detail-CoKcup1p.js @@ -0,0 +1 @@ +var ae=Object.defineProperty,le=Object.defineProperties;var te=Object.getOwnPropertyDescriptors;var G=Object.getOwnPropertySymbols;var oe=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable;var H=(r,l,a)=>l in r?ae(r,l,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[l]=a,w=(r,l)=>{for(var a in l||(l={}))oe.call(l,a)&&H(r,a,l[a]);if(G)for(var a of G(l))se.call(l,a)&&H(r,a,l[a]);return r},J=(r,l)=>le(r,te(l));var L=(r,l,a)=>new Promise((_,s)=>{var T=i=>{try{v(a.next(i))}catch(y){s(y)}},$=i=>{try{v(a.throw(i))}catch(y){s(y)}},v=i=>i.done?_(i.value):Promise.resolve(i.value).then(T,$);v((a=a.apply(r,l)).next())});import{_ as ne}from"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import{u as E,w as re}from"./xlsx-DaVhO591.js";import{d as ie,n as d,x as ue,r as h,o as u,c as g,e as o,b as m,h as p,P as z,Q as O,g as B,f as C,T as D,U as M,aK as pe,ag as ce,aA as W,_ as de}from"./index-CRmU-Qpi.js";import{a as X,c as me}from"./newuserList-JxRjYKtu.js";const _e={class:"viewPage"},ve={class:"basicView"},be={class:"left-view"},ge={style:{"margin-top":"20px"}},fe={style:{"margin-top":"20px"}},he={class:"mb-5",style:{float:"right"}},ye={class:"mb-5",style:{float:"right"}},ke={key:0,class:"albums-container"},we=["onClick"],Ce=["src"],xe={class:"album-info"},Ie={class:"album-title"},Pe={class:"album-stats"},Se={key:1,class:"empty-album"},Ve=ie({__name:"detail",props:["userInfo"],setup(r){const l=d(null),a=r,_=d(J(w(w({},a.userInfo.user_info),a.userInfo.follow_num),{userId:a.userInfo.userId})),s=d("1"),T=d([{label:"ID",prop:"id"},{label:"年龄",prop:"age"},{label:"手机号码",prop:"mobile"},{label:"个人简介",prop:"profile"},{label:"性别",prop:"sex"},{label:"标签",prop:"tag"},{label:"生日",prop:"birthday"},{label:"注册时间",prop:"createtime"},{label:"用户来源",prop:"system"}]),$=d([{label:"充值金额",prop:"user_recharge_all_money"},{label:"金币余额",prop:"coin"},{label:"钻石余额",prop:"earnings"},{label:"关注",prop:"follow_num"},{label:"粉丝",prop:"fans_num"},{label:"邀请好友",prop:"invited_num"},{label:"获得收益",prop:"invited_earnings"},{label:"是否实名",prop:"is_real"},{label:"真实姓名",prop:"real_name"},{label:"身份证号",prop:"card_id"}]),v=d([]),i=n=>L(this,null,function*(){const{data:e,code:k}=yield X({user_id:_.value.userId,type:n,page:c.value.currentPage,page_limit:c.value.pageSize});k&&(v.value=e.lists,c.value.total=e.count,c.value.pageSize=+e.page_limit,c.value.currentPage=+e.page)}),y=()=>L(this,null,function*(){const{data:n,code:e}=yield me({user_id:_.value.userId});A.value=e?n:[]}),c=d({total:0,pageSize:10,currentPage:1,background:!0}),x=d([{label:"标题",prop:"title"},{label:"时间",prop:"change_time"},{label:"类型",prop:"type"},{label:"内容",prop:"content"},{label:"数量",prop:"change_money"}]);ue(()=>{i(s.value=="1"?1:2)});const A=d([]),Y=n=>{const{name:e}=n.props;s.value=e,v.value=[],["1","2"].includes(e)?i(s.value=="1"?1:2):y()},U=n=>{c.value.pageSize=n,i(s.value=="1"?1:2)},K=n=>{c.value.currentPage=n,i(s.value=="1"?1:2)},Q=n=>{let e=[];pe({title:"导出数据",props:{formInline:{time:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>ce(ne,{ref:l,formInline:null}),beforeSure:(k,{options:I})=>{const P=l.value.getRef(),f=I.props.formInline,S=b=>L(this,null,function*(){const{data:R,code:t}=yield X({user_id:_.value.userId,type:n.value=="1"?1:2,page:1,page_limit:1e4});if(t){e=R.lists;const V=e.map(N=>{const q=[];return x.value.forEach(ee=>{q.push(N[ee.prop])}),q}),F=[];x.value.forEach(N=>{F.push(N.label)}),V.unshift(F);const Z=E.aoa_to_sheet(V),j=E.book_new();E.book_append_sheet(j,Z,"数据报表"),re(j,`${n.value=="1"?"金币":"钻石"}统计——${b.start_time} - ${b.end_time}.xlsx`),W("导出成功",{type:"success"}),k()}else W("获取数据失败,请重试!",{type:"error"})});P.validate(b=>{b&&f.time&&f.time.length&&S({start_time:f.time[0]||"",end_time:f.time[1]||""})})}})};return(n,e)=>{const k=h("el-image"),I=h("el-descriptions-item"),P=h("el-descriptions"),f=h("el-button"),S=h("pure-table"),b=h("el-tab-pane"),R=h("el-tabs");return u(),g("div",_e,[o("div",ve,[o("div",be,[m(k,{style:{width:"150px",height:"150px"},src:_.value.avatar,fit:"cover"},null,8,["src"])]),o("div",null,[m(P,{title:"",border:"",column:2},{default:p(()=>[(u(!0),g(z,null,O(T.value,t=>(u(),B(I,{label:t.label},{default:p(()=>[C(D(_.value[t.prop]),1)]),_:2},1032,["label"]))),256))]),_:1})])]),o("div",ge,[m(P,{title:"统计信息",border:"",column:5,direction:"vertical"},{default:p(()=>[(u(!0),g(z,null,O($.value,t=>(u(),B(I,{label:t.label},{default:p(()=>[C(D(_.value[t.prop]),1)]),_:2},1032,["label"]))),256))]),_:1})]),o("div",fe,[m(R,{modelValue:s.value,"onUpdate:modelValue":e[2]||(e[2]=t=>s.value=t),onTabClick:Y},{default:p(()=>[m(b,{label:"金币收支",name:"1"},{default:p(()=>[o("div",he,[m(f,{onClick:e[0]||(e[0]=t=>Q(s.value)),type:"primary"},{default:p(()=>e[3]||(e[3]=[C("导出当前表格")])),_:1})]),s.value==1?(u(),B(S,{key:0,ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto",adaptiveConfig:{offsetBottom:108},data:v.value,columns:x.value,pagination:w({},c.value),onPageSizeChange:U,onPageCurrentChange:K,"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"}},null,8,["data","columns","pagination"])):M("",!0)]),_:1}),m(b,{label:"钻石收支",name:"2"},{default:p(()=>[o("div",ye,[m(f,{onClick:e[1]||(e[1]=t=>Q(s.value)),type:"primary"},{default:p(()=>e[4]||(e[4]=[C("导出当前表格")])),_:1})]),s.value==2?(u(),B(S,{key:0,ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto",adaptiveConfig:{offsetBottom:108},onPageSizeChange:U,onPageCurrentChange:K,data:v.value,columns:x.value,pagination:w({},c.value),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"}},null,8,["data","columns","pagination"])):M("",!0)]),_:1}),m(b,{label:"ta的相册",name:"3"},{default:p(()=>[s.value==3?(u(),g(z,{key:0},[A.value.length>0?(u(),g("div",ke,[(u(!0),g(z,null,O(A.value,(t,V)=>(u(),g("div",{key:V,class:"album-card",onClick:F=>n.openAlbum(t)},[o("img",{src:t.image,class:"album-cover",alt:"Album cover"},null,8,Ce),o("div",xe,[o("div",Ie,D(t.name),1),o("div",Pe,[o("span",null,[e[5]||(e[5]=o("i",{class:"fas fa-images"},null,-1)),C(" "+D(t.img_num)+" 张照片",1)])])])],8,we))),128))])):(u(),g("div",Se,e[6]||(e[6]=[o("i",{class:"fas fa-images"},null,-1),o("h3",null,"暂无相册",-1),o("p",null,"该用户还没有创建任何相册",-1)])))],64)):M("",!0)]),_:1})]),_:1},8,["modelValue"])])])}}}),$e=de(Ve,[["__scopeId","data-v-9012caef"]]);export{$e as default}; diff --git a/dist/static/js/detail-tHZGhNpK.js b/dist/static/js/detail-tHZGhNpK.js new file mode 100644 index 0000000..bec4d8f --- /dev/null +++ b/dist/static/js/detail-tHZGhNpK.js @@ -0,0 +1 @@ +var X=Object.defineProperty,Y=Object.defineProperties;var Z=Object.getOwnPropertyDescriptors;var R=Object.getOwnPropertySymbols;var ee=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable;var U=(r,n,a)=>n in r?X(r,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[n]=a,w=(r,n)=>{for(var a in n||(n={}))ee.call(n,a)&&U(r,a,n[a]);if(R)for(var a of R(n))ae.call(n,a)&&U(r,a,n[a]);return r},F=(r,n)=>Y(r,Z(n));var V=(r,n,a)=>new Promise((u,_)=>{var C=p=>{try{e(a.next(p))}catch(f){_(f)}},k=p=>{try{e(a.throw(p))}catch(f){_(f)}},e=p=>p.done?u(p.value):Promise.resolve(p.value).then(C,k);e((a=a.apply(r,n)).next())});import{n as le,o as te,p as oe}from"./room-3H8Bx0CI.js";import{d as ne,n as s,x as re,r as c,o as m,c as x,e as i,b as d,T as b,h as v,P as D,Q as S,g as z,f as E,U as se,_ as ie}from"./index-CRmU-Qpi.js";const pe={key:0,class:"viewPage"},ce={class:"basicView"},ue={class:"left-view"},_e={style:{width:"70%"}},de={style:{"margin-top":"20px"}},ve={class:"mt-5"},me={style:{"margin-top":"20px"}},ge={class:"flex align-middle justify-between"},be=ne({__name:"detail",props:["tableData"],setup(r){const a=s(w({},r.tableData)),u=s(null),_=s("1"),C=s([{label:"ID",prop:"id"},{label:"靓号",prop:"age"},{label:"房主",prop:"owner"},{label:"房间公告",prop:"room_intro"},{label:"是否热门",prop:"is_hot"},{label:"是否推荐",prop:"is_recommend"},{label:"是否置顶",prop:"is_top"},{label:"是否有收益",prop:"is_earnings"},{label:"所属工会",prop:"guild_name"},{label:"房间分类",prop:"room_type_str"},{label:"房间状态",prop:"room_status"},{label:"是否密码房",prop:"room_password"},{label:"机器人数量",prop:"robot_num"}]),k=s([{label:"今日收益",prefix:"¥",precision:2,prop:"today_earnings",tipValue:"growth_percentage",tip:"比昨日相比"},{label:"昨日收益",prefix:"¥",precision:2,prop:"yesterday_earnings",tipValue:"yesterday_growth_percentage",tip:"同比增长"},{label:"历史访客",prefix:"",prop:"visitor",tipValue:"growth_visitor",tip:"同比"},{label:"获得补贴",prefix:"",prop:"fans_num",tipValue:"growth_week_subsidy",tip:"同比"}]),e=s({total:0,pageSize:10,currentPage:1,background:!0}),p=s(null),f=()=>V(this,null,function*(){const{data:l,code:t}=yield le({room_id:a.value.room_id});u.value=t?F(w({},l),{is_hot:l.is_hot===1?"否":"是",is_top:l.is_top===1?"否":"是",is_recommend:l.is_recommend===1?"否":"是",room_status:l.room_status===1?"正常":l.room_status===2?"封禁":"关闭",is_earnings:l.is_earnings===1?"是":"否",room_password:l.room_password===""?"否":"是"}):null}),h=l=>V(this,null,function*(){if(l===1){const{data:t,code:y}=yield te({room_id:a.value.room_id,page:e.value.currentPage,page_limit:e.value.pageSize,type:P.value});y&&(p.value=t.total.total_price,g.value=t.lists,e.value.total=t.count,e.value.currentPage=t.page)}else{const{data:t,code:y}=yield oe({room_id:a.value.room_id,page:e.value.currentPage,page_limit:e.value.pageSize});y&&(g.value=t.lists,e.value.total=t.count,e.value.currentPage=t.page)}}),g=s([]),O=s([{label:"时间",prop:"createtime"},{label:"操作内容",prop:"content"},{label:"来源",prop:"from_str"},{label:"金额(金币)",prop:"total_price"}]),j=s([{label:"ID",prop:"id"},{label:"用户ID",prop:"user_code"},{label:"用户昵称",prop:"nickname"},{label:"进入时间",prop:"createtime"}]),B=s("1"),P=s(1),A=s([{value:1,label:"全部流水"},{value:2,label:"日流水"},{value:3,label:"周流水"},{value:4,label:"月流水"}]);re(()=>{f(),h(_.value=="1"?1:2)});const M=l=>{const{name:t}=l.props;e.value.pageSize=10,e.value.currentPage=1,g.value=[],_.value=t,h(_.value=="1"?1:2)},T=l=>{e.value.pageSize=l,h(_.value=="1"?1:2)},I=l=>{e.value.currentPage=l,h(_.value=="1"?1:2)},Q=l=>{P.value=l,e.value.pageSize=10,e.value.currentPage=1,g.value=[],h(_.value=="1"?1:2)};return(l,t)=>{const y=c("el-image"),W=c("el-descriptions-item"),$=c("el-descriptions"),q=c("el-statistic"),G=c("el-col"),H=c("el-row"),J=c("el-tag"),L=c("pure-table"),N=c("el-tab-pane"),K=c("el-tabs");return u.value?(m(),x("div",pe,[i("div",ce,[i("div",ue,[d(y,{style:{width:"150px",height:"150px"},src:u.value.room_cover,fit:"cover"},null,8,["src"]),i("div",null,b(u.value.room_name),1)]),i("div",_e,[d($,{title:"",border:"",column:3},{default:v(()=>[(m(!0),x(D,null,S(C.value,o=>(m(),z(W,{label:o.label},{default:v(()=>[E(b(u.value[o.prop]),1)]),_:2},1032,["label"]))),256))]),_:1})])]),i("div",de,[t[1]||(t[1]=i("h3",null,"统计信息",-1)),d(H,{gutter:20,class:"mt-5"},{default:v(()=>[(m(!0),x(D,null,S(k.value,o=>(m(),z(G,{span:6},{default:v(()=>[d(q,{"value-style":"text-align: center;","group-separator":",",prefix:o.prefix,precision:o.precision||0,value:u.value[o.prop],title:o.label},null,8,["prefix","precision","value","title"]),i("div",ve,b(u.value[o.tipValue])+"% "+b(o.tip),1)]),_:2},1024))),256))]),_:1})]),i("div",me,[d(K,{modelValue:B.value,"onUpdate:modelValue":t[0]||(t[0]=o=>B.value=o),onTabClick:M},{default:v(()=>[d(N,{label:"流水信息",name:"1"},{default:v(()=>[i("div",ge,[i("div",null,[(m(!0),x(D,null,S(A.value,o=>(m(),z(J,{class:"mr-2",style:{cursor:"pointer"},onClick:fe=>Q(o.value),type:P.value===o.value?"":"info",key:o.value},{default:v(()=>[E(b(o.label),1)]),_:2},1032,["onClick","type"]))),128))]),i("div",null,"总计:"+b(p.value)+"金币",1)]),d(L,{class:"mt-5",ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"","row-key":"id",adaptiveConfig:{offsetBottom:108},data:g.value,columns:O.value,pagination:w({},e.value),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:I,onPageSizeChange:T},null,8,["data","columns","pagination"])]),_:1}),d(N,{label:"用户进入记录",name:"2"},{default:v(()=>[d(L,{class:"mt-5",ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"","row-key":"id",adaptiveConfig:{offsetBottom:108},data:g.value,columns:j.value,pagination:w({},e.value),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:I,onPageSizeChange:T},null,8,["data","columns","pagination"])]),_:1})]),_:1},8,["modelValue"])])])):se("",!0)}}}),xe=ie(be,[["__scopeId","data-v-dd6228aa"]]);export{xe as default}; diff --git a/dist/static/js/detail.vue_vue_type_script_setup_true_lang-DwYwyiLJ.js b/dist/static/js/detail.vue_vue_type_script_setup_true_lang-DwYwyiLJ.js new file mode 100644 index 0000000..1ee3a98 --- /dev/null +++ b/dist/static/js/detail.vue_vue_type_script_setup_true_lang-DwYwyiLJ.js @@ -0,0 +1 @@ +var m=(d,r,e)=>new Promise((a,n)=>{var t=o=>{try{s(e.next(o))}catch(l){n(l)}},c=o=>{try{s(e.throw(o))}catch(l){n(l)}},s=o=>o.done?a(o.value):Promise.resolve(o.value).then(t,c);s((e=e.apply(d,r)).next())});import{c as i}from"./room-3H8Bx0CI.js";import p from"./demo-DDf_ewnH.js";import{d as _,n as u,x as I,o as v,c as k,b as f,U as g}from"./index-CRmU-Qpi.js";const w={key:0,class:"mb-5"},h=_({__name:"detail",props:["rowData"],setup(d){const r=d,e=u(null),a=u(null);a.value=sessionStorage.getItem("key-Id");const n=t=>m(this,null,function*(){const{data:c,code:s}=yield i(t);e.value=s?c:null});return I(()=>{const t={admin:sessionStorage.getItem("key-Id"),room_id:r.rowData.id};n(t)}),(t,c)=>e.value&&a.value?(v(),k("div",w,[f(p,{result:e.value,userId:a.value,roomId:r.rowData.id},null,8,["result","userId","roomId"])])):g("",!0)}});export{h as _}; diff --git a/dist/static/js/donateForm-BGq7Cfw9.js b/dist/static/js/donateForm-BGq7Cfw9.js new file mode 100644 index 0000000..de7d930 --- /dev/null +++ b/dist/static/js/donateForm-BGq7Cfw9.js @@ -0,0 +1 @@ +import{_ as m}from"./donateForm.vue_vue_type_script_setup_true_lang-B3gVeo00.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/donateForm.vue_vue_type_script_setup_true_lang-B3gVeo00.js b/dist/static/js/donateForm.vue_vue_type_script_setup_true_lang-B3gVeo00.js new file mode 100644 index 0000000..4177b5c --- /dev/null +++ b/dist/static/js/donateForm.vue_vue_type_script_setup_true_lang-B3gVeo00.js @@ -0,0 +1 @@ +import{d as g,n,r as t,o as v,g as I,h as u,b as o}from"./index-CRmU-Qpi.js";const y=g({__name:"donateForm",props:["formInline"],setup(p,{expose:i}){const a=n(),_=n({user_id:[{required:!0,message:"请输入赠送用户Id",trigger:"blur"}],day:[{required:!0,message:"请输入赠送天数",trigger:"blur"}]}),d=p,e=n(d.formInline?d.formInline:{user_id:"",day:""});function f(){return a.value}return i({getRef:f}),(V,l)=>{const s=t("el-input"),m=t("el-form-item"),c=t("el-form");return v(),I(c,{ref_key:"ruleFormRef",ref:a,model:e.value,rules:_.value,"label-width":"120px"},{default:u(()=>[o(m,{label:"赠送用户Id",prop:"user_id"},{default:u(()=>[o(s,{modelValue:e.value.user_id,"onUpdate:modelValue":l[0]||(l[0]=r=>e.value.user_id=r),placeholder:"请输入赠送用户Id"},null,8,["modelValue"])]),_:1}),o(m,{label:"赠送天数",prop:"day"},{default:u(()=>[o(s,{modelValue:e.value.day,"onUpdate:modelValue":l[1]||(l[1]=r=>e.value.day=r),placeholder:"请输入赠送天数"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{y as _}; diff --git a/dist/static/js/dynamics-yhcp7wZB.js b/dist/static/js/dynamics-yhcp7wZB.js new file mode 100644 index 0000000..456610a --- /dev/null +++ b/dist/static/js/dynamics-yhcp7wZB.js @@ -0,0 +1 @@ +import{aw as t}from"./index-CRmU-Qpi.js";const a=e=>t.request("get","/adminapi/UserZone/topic_lists",{params:e}),n=e=>t.request("post","/adminapi/UserZone/add_topic",{data:e}),o=e=>t.request("post","/adminapi/UserZone/del_topic",{data:e}),r=e=>t.request("get","/adminapi/UserZone/zone_lists",{params:e}),i=e=>t.request("get","/adminapi/UserZone/zone_detail",{params:e}),p=e=>t.request("post","/adminapi/UserZone/del_zone",{data:e}),u=e=>t.request("post","/adminapi/UserZone/zone_top_or_show",{data:e});export{a,o as b,n as c,p as d,i as g,r as q,u}; diff --git a/dist/static/js/epTheme-Dbh1KLs6.js b/dist/static/js/epTheme-Dbh1KLs6.js new file mode 100644 index 0000000..2a5e685 --- /dev/null +++ b/dist/static/js/epTheme-Dbh1KLs6.js @@ -0,0 +1 @@ +import{s as p,l,N as o,p as r,m as h}from"./index-CRmU-Qpi.js";const T=l({id:"pure-epTheme",state:()=>{var e,t,m,s;return{epThemeColor:(t=(e=o().getItem(`${r()}layout`))==null?void 0:e.epThemeColor)!=null?t:h().EpThemeColor,epTheme:(s=(m=o().getItem(`${r()}layout`))==null?void 0:m.theme)!=null?s:h().Theme}},getters:{getEpThemeColor(e){return e.epThemeColor},fill(e){return e.epTheme==="light"?"#409eff":"#fff"}},actions:{setEpThemeColor(e){const t=o().getItem(`${r()}layout`);this.epTheme=t==null?void 0:t.theme,this.epThemeColor=e,t&&(t.epThemeColor=e,o().setItem(`${r()}layout`,t))}}});function i(){return T(p)}export{i as u}; diff --git a/dist/static/js/expression-DA1ai6Y-.js b/dist/static/js/expression-DA1ai6Y-.js new file mode 100644 index 0000000..e7f6d4e --- /dev/null +++ b/dist/static/js/expression-DA1ai6Y-.js @@ -0,0 +1 @@ +import{aw as e}from"./index-CRmU-Qpi.js";const a=t=>e.request("get","/adminapi/RoomEmoji/emoji_type_list",{params:t}),i=t=>e.request("post","/adminapi/RoomEmoji/add_emoji_type",{data:t}),s=t=>e.request("post","/adminapi/RoomEmoji/edit_emoji_type",{data:t}),m=t=>e.request("post","/adminapi/RoomEmoji/del_emoji_type",{data:t}),r=t=>e.request("get","/adminapi/RoomEmoji/emoji_list",{params:t}),n=t=>e.request("post","/adminapi/RoomEmoji/add_emoji",{data:t}),d=t=>e.request("post","/adminapi/RoomEmoji/edit_emoji",{data:t}),p=t=>e.request("post","/adminapi/RoomEmoji/del_emoji",{data:t});export{i as a,r as b,p as c,n as d,s as e,d as f,a as q,m as r}; diff --git a/dist/static/js/form-B3TNAD2z.js b/dist/static/js/form-B3TNAD2z.js new file mode 100644 index 0000000..dfa10bc --- /dev/null +++ b/dist/static/js/form-B3TNAD2z.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-DSh6_f4W.js";import"./index-An8nOBwL.js";import"./index-CRmU-Qpi.js";export{o as default}; diff --git a/dist/static/js/form-B3yIyDdM.js b/dist/static/js/form-B3yIyDdM.js new file mode 100644 index 0000000..adb5f77 --- /dev/null +++ b/dist/static/js/form-B3yIyDdM.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-B-fxyO5i.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/form-B4TnR98C.js b/dist/static/js/form-B4TnR98C.js new file mode 100644 index 0000000..5aff678 --- /dev/null +++ b/dist/static/js/form-B4TnR98C.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-BuSWUZQX.js";import"./blindBox-BqHhL4EW.js";import"./index-CRmU-Qpi.js";export{o as default}; diff --git a/dist/static/js/form-B9cDX7R8.js b/dist/static/js/form-B9cDX7R8.js new file mode 100644 index 0000000..3e0672f --- /dev/null +++ b/dist/static/js/form-B9cDX7R8.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-CBlDgxjt.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/form-B9gWx11w.js b/dist/static/js/form-B9gWx11w.js new file mode 100644 index 0000000..fa8e1c8 --- /dev/null +++ b/dist/static/js/form-B9gWx11w.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-DgHrOfP6.js";import"./blindBox-BqHhL4EW.js";import"./index-CRmU-Qpi.js";export{o as default}; diff --git a/dist/static/js/form-BHwZ36I5.js b/dist/static/js/form-BHwZ36I5.js new file mode 100644 index 0000000..37bba71 --- /dev/null +++ b/dist/static/js/form-BHwZ36I5.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-BlmxE0Vv.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/form-BNHnUU4s.js b/dist/static/js/form-BNHnUU4s.js new file mode 100644 index 0000000..43bff84 --- /dev/null +++ b/dist/static/js/form-BNHnUU4s.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-B5Zt0w7a.js";import"./activities-UkTzwAkp.js";import"./index-CRmU-Qpi.js";export{o as default}; diff --git a/dist/static/js/form-BQ-nIxbB.js b/dist/static/js/form-BQ-nIxbB.js new file mode 100644 index 0000000..bd4ce58 --- /dev/null +++ b/dist/static/js/form-BQ-nIxbB.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-DxjpTHt9.js";import"./index-An8nOBwL.js";import"./index-CRmU-Qpi.js";export{o as default}; diff --git a/dist/static/js/form-BWLS5Ow3.js b/dist/static/js/form-BWLS5Ow3.js new file mode 100644 index 0000000..9a8d8c8 --- /dev/null +++ b/dist/static/js/form-BWLS5Ow3.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-BTdh2pXv.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/form-BZzRJel9.js b/dist/static/js/form-BZzRJel9.js new file mode 100644 index 0000000..1ec05f7 --- /dev/null +++ b/dist/static/js/form-BZzRJel9.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-DOzyNmG6.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/form-BgAFnLOu.js b/dist/static/js/form-BgAFnLOu.js new file mode 100644 index 0000000..6c781a7 --- /dev/null +++ b/dist/static/js/form-BgAFnLOu.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-J4dbTMG5.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/form-BjwbTjSP.js b/dist/static/js/form-BjwbTjSP.js new file mode 100644 index 0000000..dc72f77 --- /dev/null +++ b/dist/static/js/form-BjwbTjSP.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-B6o7fI6q.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/form-BmFIqB-O.js b/dist/static/js/form-BmFIqB-O.js new file mode 100644 index 0000000..c174305 --- /dev/null +++ b/dist/static/js/form-BmFIqB-O.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-BSrb17y8.js";import"./activities-UkTzwAkp.js";import"./index-CRmU-Qpi.js";export{o as default}; diff --git a/dist/static/js/form-BnmMgVAT.js b/dist/static/js/form-BnmMgVAT.js new file mode 100644 index 0000000..7a2ce96 --- /dev/null +++ b/dist/static/js/form-BnmMgVAT.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-BiFHMt8F.js";import"./admin-QtfaJQYK.js";import"./index-CRmU-Qpi.js";export{o as default}; diff --git a/dist/static/js/form-BtcpgtET.js b/dist/static/js/form-BtcpgtET.js new file mode 100644 index 0000000..49a505d --- /dev/null +++ b/dist/static/js/form-BtcpgtET.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-CjBoEdbv.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/form-C0MZn3JX.js b/dist/static/js/form-C0MZn3JX.js new file mode 100644 index 0000000..d3162d4 --- /dev/null +++ b/dist/static/js/form-C0MZn3JX.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-DWbiX_hV.js";import"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";import"./index-CRmU-Qpi.js";export{o as default}; diff --git a/dist/static/js/form-CA_r-Szo.js b/dist/static/js/form-CA_r-Szo.js new file mode 100644 index 0000000..e7a20ae --- /dev/null +++ b/dist/static/js/form-CA_r-Szo.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-CjtOjwY0.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/form-CPcgeuLy.js b/dist/static/js/form-CPcgeuLy.js new file mode 100644 index 0000000..3597fff --- /dev/null +++ b/dist/static/js/form-CPcgeuLy.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-CczCLyB5.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/form-CU8EqV80.js b/dist/static/js/form-CU8EqV80.js new file mode 100644 index 0000000..4da3441 --- /dev/null +++ b/dist/static/js/form-CU8EqV80.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-CiHdOBSE.js";import"./index-An8nOBwL.js";import"./index-CRmU-Qpi.js";import"./level-CSC0PShd.js";export{o as default}; diff --git a/dist/static/js/form-CUkJK272.js b/dist/static/js/form-CUkJK272.js new file mode 100644 index 0000000..388e08b --- /dev/null +++ b/dist/static/js/form-CUkJK272.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-CPgTaxRJ.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/form-CXsog6NK.js b/dist/static/js/form-CXsog6NK.js new file mode 100644 index 0000000..e89dc83 --- /dev/null +++ b/dist/static/js/form-CXsog6NK.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-De_iThI9.js";import"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";import"./index-CRmU-Qpi.js";export{o as default}; diff --git a/dist/static/js/form-Cc2M_1qD.js b/dist/static/js/form-Cc2M_1qD.js new file mode 100644 index 0000000..96246fd --- /dev/null +++ b/dist/static/js/form-Cc2M_1qD.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-CeQi_z5K.js";import"./index-An8nOBwL.js";import"./index-CRmU-Qpi.js";export{o as default}; diff --git a/dist/static/js/form-CdcT1W8H.js b/dist/static/js/form-CdcT1W8H.js new file mode 100644 index 0000000..10809e4 --- /dev/null +++ b/dist/static/js/form-CdcT1W8H.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-CMV64P_c.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/form-Cf75gaCf.js b/dist/static/js/form-Cf75gaCf.js new file mode 100644 index 0000000..b7225b8 --- /dev/null +++ b/dist/static/js/form-Cf75gaCf.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-DBByDkeo.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/form-CkCLPV8z.js b/dist/static/js/form-CkCLPV8z.js new file mode 100644 index 0000000..82b2570 --- /dev/null +++ b/dist/static/js/form-CkCLPV8z.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-CgloQVzt.js";import"./index-An8nOBwL.js";import"./index-CRmU-Qpi.js";import"./gift-BjNBi56Q.js";export{o as default}; diff --git a/dist/static/js/form-D02e1km0.js b/dist/static/js/form-D02e1km0.js new file mode 100644 index 0000000..fc15082 --- /dev/null +++ b/dist/static/js/form-D02e1km0.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-Dd4jek5-.js";import"./selectUser.vue_vue_type_script_setup_true_lang-BPFKGfKn.js";import"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import"./hooks-ItYVRz1P.js";import"./index-CRmU-Qpi.js";import"./add-circle-line-DOJqVT3s.js";import"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";import"./index-An8nOBwL.js";export{o as default}; diff --git a/dist/static/js/form-D246VTjl.js b/dist/static/js/form-D246VTjl.js new file mode 100644 index 0000000..9107371 --- /dev/null +++ b/dist/static/js/form-D246VTjl.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-Di45cE4b.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/form-D2R1oXbT.js b/dist/static/js/form-D2R1oXbT.js new file mode 100644 index 0000000..597497e --- /dev/null +++ b/dist/static/js/form-D2R1oXbT.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-BoAlLsu7.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/form-D2isGrIq.js b/dist/static/js/form-D2isGrIq.js new file mode 100644 index 0000000..2d6e794 --- /dev/null +++ b/dist/static/js/form-D2isGrIq.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-DMF49foQ.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/form-DElwMeM_.js b/dist/static/js/form-DElwMeM_.js new file mode 100644 index 0000000..4ad3f38 --- /dev/null +++ b/dist/static/js/form-DElwMeM_.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-DroLasXj.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/form-DJRqznZ-.js b/dist/static/js/form-DJRqznZ-.js new file mode 100644 index 0000000..2c943d1 --- /dev/null +++ b/dist/static/js/form-DJRqznZ-.js @@ -0,0 +1 @@ +import{d as k,n,r as o,o as u,g as d,h as t,b as r,c as F,P as I,Q as R}from"./index-CRmU-Qpi.js";const B=k({__name:"form",props:["formInline"],setup(i,{expose:c}){const m=n(),f=n({tid:[{required:!0,message:"请选择分类",trigger:"change"}],name:[{required:!0,message:"请输入分类名称",trigger:"blur"},{min:1,max:10,message:"长度在 1 到 10 个字符",trigger:"blur"}]}),s=i,l=n(s.formInline?s.formInline:{tid:"",name:""}),_=n([{value:1,label:"普通礼物"},{value:2,label:"盲盒礼物"},{value:3,label:"礼包礼物"}]);function v(){return m.value}return c({getRef:v}),(h,a)=>{const b=o("el-option"),g=o("el-select"),p=o("el-form-item"),V=o("el-input"),x=o("el-form");return u(),d(x,{ref_key:"ruleFormRef",ref:m,model:l.value,rules:f.value,"label-width":"120px"},{default:t(()=>[r(p,{label:"分类",prop:"tid"},{default:t(()=>[r(g,{modelValue:l.value.tid,"onUpdate:modelValue":a[0]||(a[0]=e=>l.value.tid=e),placeholder:"请选择分类"},{default:t(()=>[(u(!0),F(I,null,R(_.value,e=>(u(),d(b,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),r(p,{label:"分类名称",prop:"name"},{default:t(()=>[r(V,{modelValue:l.value.name,"onUpdate:modelValue":a[1]||(a[1]=e=>l.value.name=e),clearable:"",placeholder:"请输入分类名称"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{B as default}; diff --git a/dist/static/js/form-DKWZQSFz.js b/dist/static/js/form-DKWZQSFz.js new file mode 100644 index 0000000..853b976 --- /dev/null +++ b/dist/static/js/form-DKWZQSFz.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-DeQXcNsI.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/form-DL0yqwo3.js b/dist/static/js/form-DL0yqwo3.js new file mode 100644 index 0000000..ce46cc7 --- /dev/null +++ b/dist/static/js/form-DL0yqwo3.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-DWkvuK7p.js";import"./index-An8nOBwL.js";import"./index-CRmU-Qpi.js";export{o as default}; diff --git a/dist/static/js/form-DUYXNDxS.js b/dist/static/js/form-DUYXNDxS.js new file mode 100644 index 0000000..2137520 --- /dev/null +++ b/dist/static/js/form-DUYXNDxS.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-D50B9usK.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/form-DXUOuedk.js b/dist/static/js/form-DXUOuedk.js new file mode 100644 index 0000000..7f49bd5 --- /dev/null +++ b/dist/static/js/form-DXUOuedk.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-Cbivz3Ba.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/form-DfpZgn0P.js b/dist/static/js/form-DfpZgn0P.js new file mode 100644 index 0000000..36ffd18 --- /dev/null +++ b/dist/static/js/form-DfpZgn0P.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-DXbOk4OV.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/form-Dm9Jh_9g.js b/dist/static/js/form-Dm9Jh_9g.js new file mode 100644 index 0000000..4903849 --- /dev/null +++ b/dist/static/js/form-Dm9Jh_9g.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-BIIr4FUi.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/form-Dtdylii9.js b/dist/static/js/form-Dtdylii9.js new file mode 100644 index 0000000..fb8855a --- /dev/null +++ b/dist/static/js/form-Dtdylii9.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-CHItqJrU.js";import"./index-An8nOBwL.js";import"./index-CRmU-Qpi.js";export{o as default}; diff --git a/dist/static/js/form-Dydv0qVC.js b/dist/static/js/form-Dydv0qVC.js new file mode 100644 index 0000000..540e53f --- /dev/null +++ b/dist/static/js/form-Dydv0qVC.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-BmTzdXBw.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/form-G3OBPRH4.js b/dist/static/js/form-G3OBPRH4.js new file mode 100644 index 0000000..7cbe36e --- /dev/null +++ b/dist/static/js/form-G3OBPRH4.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-BGJZIOyv.js";import"./index-An8nOBwL.js";import"./index-CRmU-Qpi.js";import"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";import"./adolescent-Dk2B_RUL.js";export{o as default}; diff --git a/dist/static/js/form-O2teWlyy.js b/dist/static/js/form-O2teWlyy.js new file mode 100644 index 0000000..cf1666f --- /dev/null +++ b/dist/static/js/form-O2teWlyy.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-Bbwf4kUJ.js";import"./activities-UkTzwAkp.js";import"./index-CRmU-Qpi.js";export{o as default}; diff --git a/dist/static/js/form-POVW6sL0.js b/dist/static/js/form-POVW6sL0.js new file mode 100644 index 0000000..0ff1666 --- /dev/null +++ b/dist/static/js/form-POVW6sL0.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-hEQYONMW.js";import"./index-An8nOBwL.js";import"./index-CRmU-Qpi.js";import"./decorate-DdTDZW0a.js";export{o as default}; diff --git a/dist/static/js/form-PmvzrEjj.js b/dist/static/js/form-PmvzrEjj.js new file mode 100644 index 0000000..f907e86 --- /dev/null +++ b/dist/static/js/form-PmvzrEjj.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-rMz_v8aN.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/form-Y0OaDech.js b/dist/static/js/form-Y0OaDech.js new file mode 100644 index 0000000..3ed99b4 --- /dev/null +++ b/dist/static/js/form-Y0OaDech.js @@ -0,0 +1 @@ +import{_ as m}from"./form.vue_vue_type_script_setup_true_lang-tv9ZrCTh.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/form-jJLIPGwx.js b/dist/static/js/form-jJLIPGwx.js new file mode 100644 index 0000000..8390971 --- /dev/null +++ b/dist/static/js/form-jJLIPGwx.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-CD9wd64y.js";import"./index-An8nOBwL.js";import"./index-CRmU-Qpi.js";import"./expression-DA1ai6Y-.js";export{o as default}; diff --git a/dist/static/js/form-jK87XWm5.js b/dist/static/js/form-jK87XWm5.js new file mode 100644 index 0000000..78cf90c --- /dev/null +++ b/dist/static/js/form-jK87XWm5.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-pYH7w3wd.js";import"./index-An8nOBwL.js";import"./index-CRmU-Qpi.js";export{o as default}; diff --git a/dist/static/js/form-lFr5WlAf.js b/dist/static/js/form-lFr5WlAf.js new file mode 100644 index 0000000..a7eed5f --- /dev/null +++ b/dist/static/js/form-lFr5WlAf.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-Ch3nypJv.js";import"./index-CRmU-Qpi.js";import"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";import"./index-An8nOBwL.js";export{o as default}; diff --git a/dist/static/js/form-vOGmFg76.js b/dist/static/js/form-vOGmFg76.js new file mode 100644 index 0000000..3fe60b4 --- /dev/null +++ b/dist/static/js/form-vOGmFg76.js @@ -0,0 +1 @@ +var y=(w,q,_)=>new Promise((v,p)=>{var r=m=>{try{b(_.next(m))}catch(n){p(n)}},U=m=>{try{b(_.throw(m))}catch(n){p(n)}},b=m=>m.done?v(m.value):Promise.resolve(m.value).then(r,U);b((_=_.apply(w,q)).next())});import{r as B}from"./room-3H8Bx0CI.js";import{u as N}from"./index-An8nOBwL.js";import{d as R,n as f,x as D,r as i,o as g,g as V,h as l,b as o,c as S,P as j,Q as E,f as u,U as k,_ as H}from"./index-CRmU-Qpi.js";const M=R({__name:"form",props:["formInline","roomDetail"],setup(w,{expose:q}){const _=f();f({admin_id:[{required:!0}],room_id:[{required:!0}],room_name:[{required:!0,message:"请输入房间名称",trigger:"blur"}],room_intro:[{required:!0,message:"请输入房间公告",trigger:"blur"}],room_cover:[{required:!0,message:"请上传房间封面",trigger:"blur"}],room_background_id:[{required:!0,message:"请选择房间背景",trigger:"change"}],type_id:[{required:!0,message:"请选择房间分类",trigger:"change"}],is_earnings:[{required:!0,message:"请选择",trigger:"change"}],is_top:[{required:!0,message:"请选择",trigger:"change"}],is_hot:[{required:!0,message:"请选择",trigger:"change"}],is_recommend:[{required:!0,message:"请选择",trigger:"change"}],is_room_password:[{required:!0,message:"请选择",trigger:"change"}],room_password:[{required:!0,message:"请输入密码",trigger:"blur"}],room_status:[{required:!0,message:"请选择",trigger:"change"}],is_show_room:[{required:!0,message:"请选择",trigger:"change"}],is_robot_num:[{required:!0,message:"请选择",trigger:"change"}],robot_num:[{required:!0,message:"请输入机器人数量",trigger:"blur"}]});const v=w,p=f([]);f([]);const r=f(v.formInline?v.formInline:{room_id:"",admin_id:"",room_number:"",room_name:"",room_intro:"",room_cover:"",room_background_id:"",type_id:"",is_earnings:"",is_top:"",is_hot:"",is_recommend:"",room_status:"",is_show_room:"",is_room_password:"",room_password:"",is_robot_num:"",robot_num:"",is_open_blind_box_turntable:""});function U(){return _.value}function b(n){r.value.room_cover=n.join(",")}const m=()=>y(this,null,function*(){const{data:n,code:e}=yield B({page:1,page_limit:20});p.value=e?n.lists:[]});return D(()=>{m()}),q({getRef:U}),(n,e)=>{const x=i("el-input"),d=i("el-form-item"),F=i("el-option"),I=i("el-select"),t=i("el-radio"),s=i("el-radio-group"),C=i("el-input-number"),L=i("el-form");return g(),V(L,{ref_key:"ruleFormRef",ref:_,model:r.value,"label-width":"150px"},{default:l(()=>[o(d,{label:"房间名称",prop:"room_name"},{default:l(()=>[o(x,{modelValue:r.value.room_name,"onUpdate:modelValue":e[0]||(e[0]=a=>r.value.room_name=a),clearable:"",placeholder:"请输入房间名称"},null,8,["modelValue"])]),_:1}),o(d,{label:"房间公告",prop:"room_intro"},{default:l(()=>[o(x,{type:"textarea",placeholder:"请输入房间公告",modelValue:r.value.room_intro,"onUpdate:modelValue":e[1]||(e[1]=a=>r.value.room_intro=a),maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),_:1}),o(d,{label:"房间封面",prop:"room_cover"},{default:l(()=>[o(N,{onHandleSuccess:b,limit:1,echoUrl:r.value.room_cover},null,8,["echoUrl"])]),_:1}),o(d,{label:"房间分类",prop:"type_id"},{default:l(()=>[o(I,{modelValue:r.value.type_id,"onUpdate:modelValue":e[2]||(e[2]=a=>r.value.type_id=a),placeholder:"请选择房间分类"},{default:l(()=>[(g(!0),S(j,null,E(p.value,a=>(g(),V(F,{key:a.id,label:a.type_name,value:a.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),o(d,{label:"是否有收益",prop:"is_earnings"},{default:l(()=>[o(s,{modelValue:r.value.is_earnings,"onUpdate:modelValue":e[3]||(e[3]=a=>r.value.is_earnings=a)},{default:l(()=>[o(t,{label:1},{default:l(()=>e[14]||(e[14]=[u("是")])),_:1}),o(t,{label:2},{default:l(()=>e[15]||(e[15]=[u("否")])),_:1})]),_:1},8,["modelValue"])]),_:1}),o(d,{label:"是否置顶",prop:"is_top"},{default:l(()=>[o(s,{modelValue:r.value.is_top,"onUpdate:modelValue":e[4]||(e[4]=a=>r.value.is_top=a)},{default:l(()=>[o(t,{label:2},{default:l(()=>e[16]||(e[16]=[u("是")])),_:1}),o(t,{label:1},{default:l(()=>e[17]||(e[17]=[u("否")])),_:1})]),_:1},8,["modelValue"])]),_:1}),o(d,{label:"是否热门",prop:"is_hot"},{default:l(()=>[o(s,{modelValue:r.value.is_hot,"onUpdate:modelValue":e[5]||(e[5]=a=>r.value.is_hot=a)},{default:l(()=>[o(t,{label:2},{default:l(()=>e[18]||(e[18]=[u("是")])),_:1}),o(t,{label:1},{default:l(()=>e[19]||(e[19]=[u("否")])),_:1})]),_:1},8,["modelValue"])]),_:1}),o(d,{label:"是否推荐",prop:"is_recommend"},{default:l(()=>[o(s,{modelValue:r.value.is_recommend,"onUpdate:modelValue":e[6]||(e[6]=a=>r.value.is_recommend=a)},{default:l(()=>[o(t,{label:2},{default:l(()=>e[20]||(e[20]=[u("是")])),_:1}),o(t,{label:1},{default:l(()=>e[21]||(e[21]=[u("否")])),_:1})]),_:1},8,["modelValue"])]),_:1}),o(d,{label:"是否密码房",prop:"is_room_password"},{default:l(()=>[o(s,{modelValue:r.value.is_room_password,"onUpdate:modelValue":e[7]||(e[7]=a=>r.value.is_room_password=a)},{default:l(()=>[o(t,{label:1},{default:l(()=>e[22]||(e[22]=[u("是")])),_:1}),o(t,{label:2},{default:l(()=>e[23]||(e[23]=[u("否")])),_:1})]),_:1},8,["modelValue"])]),_:1}),r.value.is_room_password==1?(g(),V(d,{key:0,label:"设置密码",prop:"room_password"},{default:l(()=>[o(x,{placeholder:"请输入密码",modelValue:r.value.room_password,"onUpdate:modelValue":e[8]||(e[8]=a=>r.value.room_password=a),"show-password":""},null,8,["modelValue"])]),_:1})):k("",!0),o(d,{label:"房间状态",prop:"room_status"},{default:l(()=>[o(s,{modelValue:r.value.room_status,"onUpdate:modelValue":e[9]||(e[9]=a=>r.value.room_status=a)},{default:l(()=>[o(t,{label:1},{default:l(()=>e[24]||(e[24]=[u("正常")])),_:1}),o(t,{label:2},{default:l(()=>e[25]||(e[25]=[u("封禁")])),_:1}),o(t,{label:3},{default:l(()=>e[26]||(e[26]=[u("关闭")])),_:1})]),_:1},8,["modelValue"])]),_:1}),o(d,{label:"是否开启盲盒转盘",prop:"is_open_blind_box_turntable"},{default:l(()=>[o(s,{modelValue:r.value.is_open_blind_box_turntable,"onUpdate:modelValue":e[10]||(e[10]=a=>r.value.is_open_blind_box_turntable=a)},{default:l(()=>[o(t,{label:1},{default:l(()=>e[27]||(e[27]=[u("是")])),_:1}),o(t,{label:0},{default:l(()=>e[28]||(e[28]=[u("否")])),_:1})]),_:1},8,["modelValue"])]),_:1}),o(d,{label:"是否显示房间",prop:"is_show_room"},{default:l(()=>[o(s,{modelValue:r.value.is_show_room,"onUpdate:modelValue":e[11]||(e[11]=a=>r.value.is_show_room=a)},{default:l(()=>[o(t,{label:1},{default:l(()=>e[29]||(e[29]=[u("是")])),_:1}),o(t,{label:2},{default:l(()=>e[30]||(e[30]=[u("否")])),_:1})]),_:1},8,["modelValue"])]),_:1}),o(d,{label:"是否投送机器人",prop:"is_robot_num"},{default:l(()=>[o(s,{modelValue:r.value.is_robot_num,"onUpdate:modelValue":e[12]||(e[12]=a=>r.value.is_robot_num=a)},{default:l(()=>[o(t,{label:1},{default:l(()=>e[31]||(e[31]=[u("是")])),_:1}),o(t,{label:2},{default:l(()=>e[32]||(e[32]=[u("否")])),_:1})]),_:1},8,["modelValue"])]),_:1}),r.value.is_robot_num==1?(g(),V(d,{key:1,label:"机器人数量",prop:"robot_num"},{default:l(()=>[o(C,{modelValue:r.value.robot_num,"onUpdate:modelValue":e[13]||(e[13]=a=>r.value.robot_num=a),min:1,max:20},null,8,["modelValue"])]),_:1})):k("",!0)]),_:1},8,["model"])}}}),A=H(M,[["__scopeId","data-v-e7fdaaef"]]);export{A as default}; diff --git a/dist/static/js/form-yX7sXfaw.js b/dist/static/js/form-yX7sXfaw.js new file mode 100644 index 0000000..7f614e2 --- /dev/null +++ b/dist/static/js/form-yX7sXfaw.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-HMVJcCXl.js";import"./permission-DJnI7MjS.js";import"./index-CRmU-Qpi.js";export{o as default}; diff --git a/dist/static/js/form-ygr4mpDG.js b/dist/static/js/form-ygr4mpDG.js new file mode 100644 index 0000000..fb4421c --- /dev/null +++ b/dist/static/js/form-ygr4mpDG.js @@ -0,0 +1 @@ +import{_ as o}from"./form.vue_vue_type_script_setup_true_lang-C5Afdf2H.js";import"./blindBox-BqHhL4EW.js";import"./index-CRmU-Qpi.js";export{o as default}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-B-fxyO5i.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-B-fxyO5i.js new file mode 100644 index 0000000..a28cec4 --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-B-fxyO5i.js @@ -0,0 +1 @@ +import{d as v,n as a,r as t,o as x,g as y,h as n,b as o,f as i}from"./index-CRmU-Qpi.js";const k=v({__name:"form",props:["formInline"],setup(f,{expose:_}){const s=a(),g=a({status:[{required:!0,message:"请选择状态",trigger:"change"}],coins:[{required:!0,message:"请输入金币",trigger:"blur"}],money:[{required:!0,message:"请输入充值金额",trigger:"blur"}]}),m=f,l=a(m.formInline?m.formInline:{money:"",coins:"",status:1});function b(){return s.value}return _({getRef:b}),(I,e)=>{const d=t("el-input-number"),u=t("el-form-item"),p=t("el-radio"),c=t("el-radio-group"),V=t("el-form");return x(),y(V,{ref_key:"ruleFormRef",ref:s,model:l.value,rules:g.value,"label-width":"120px"},{default:n(()=>[o(u,{label:"充值金额",prop:"money"},{default:n(()=>[o(d,{modelValue:l.value.money,"onUpdate:modelValue":e[0]||(e[0]=r=>l.value.money=r)},null,8,["modelValue"])]),_:1}),o(u,{label:"金币",prop:"coins"},{default:n(()=>[o(d,{modelValue:l.value.coins,"onUpdate:modelValue":e[1]||(e[1]=r=>l.value.coins=r)},null,8,["modelValue"])]),_:1}),o(u,{label:"状态",prop:"status"},{default:n(()=>[o(c,{modelValue:l.value.status,"onUpdate:modelValue":e[2]||(e[2]=r=>l.value.status=r)},{default:n(()=>[o(p,{label:1},{default:n(()=>e[3]||(e[3]=[i("显示")])),_:1}),o(p,{label:2},{default:n(()=>e[4]||(e[4]=[i("隐藏")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{k as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-B5Zt0w7a.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-B5Zt0w7a.js new file mode 100644 index 0000000..e12081e --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-B5Zt0w7a.js @@ -0,0 +1 @@ +var k=(v,y,n)=>new Promise((b,m)=>{var _=a=>{try{e(n.next(a))}catch(i){m(i)}},f=a=>{try{e(n.throw(a))}catch(i){m(i)}},e=a=>a.done?b(a.value):Promise.resolve(a.value).then(_,f);e((n=n.apply(v,y)).next())});import{j as A,k as N}from"./activities-UkTzwAkp.js";import{d as j,n as p,x as E,r as u,o,g as r,h as d,b as s,U as q,c as w,P as C,Q as U}from"./index-CRmU-Qpi.js";const Q=j({__name:"form",props:["formInline"],setup(v,{expose:y}){const n=p(),b=p({num:[{required:!0,message:"数量为必填项",trigger:"blur"}],type:[{required:!0,message:"请选择类型",trigger:"change"}],gift_id:[{required:!0,message:"请选择",trigger:"change"}]}),m=v,_=p([]),f=p([]),e=p(m.formInline?m.formInline:{type:"",num:"",gift_id:"",gift_bag_id:""});function a(){return n.value}const i=()=>k(this,null,function*(){const{data:c,code:t}=yield A({type:3});_.value=t?c:[]}),F=()=>k(this,null,function*(){const{data:c,code:t}=yield N();f.value=t?c:[]}),I=()=>{e.value.gift_id=""};return E(()=>{i(),F()}),y({getRef:a}),(c,t)=>{const g=u("el-radio"),R=u("el-radio-group"),V=u("el-form-item"),B=u("el-input-number"),x=u("el-option"),L=u("el-select"),h=u("el-form");return o(),r(h,{ref_key:"ruleFormRef",ref:n,model:e.value,rules:b.value,"label-width":"120px"},{default:d(()=>[s(V,{label:"类型",prop:"type"},{default:d(()=>[s(R,{modelValue:e.value.type,"onUpdate:modelValue":t[0]||(t[0]=l=>e.value.type=l),onChange:I},{default:d(()=>[s(g,{label:"金币",value:1}),s(g,{label:"礼物",value:2}),s(g,{label:"装扮",value:3}),s(g,{label:"钻石",value:4})]),_:1},8,["modelValue"])]),_:1}),[1,2,4].includes(e.value.type)?(o(),r(V,{key:0,label:e.value.type===1?"金币数量":e.value.type===2?"礼物数量":e.value.type===3?"装扮天数":"钻石数量",prop:"num"},{default:d(()=>[s(B,{modelValue:e.value.num,"onUpdate:modelValue":t[1]||(t[1]=l=>e.value.num=l),min:1,max:1e4,label:"请输入"},null,8,["modelValue"])]),_:1},8,["label"])):q("",!0),[2,3].includes(e.value.type)?(o(),r(V,{key:1,label:`选择${e.value.type===2?"礼物":"装扮"}`,prop:"gift_id"},{default:d(()=>[e.value.type===2?(o(),r(L,{key:0,modelValue:e.value.gift_id,"onUpdate:modelValue":t[2]||(t[2]=l=>e.value.gift_id=l),placeholder:"请选择礼物"},{default:d(()=>[(o(!0),w(C,null,U(_.value,l=>(o(),r(x,{key:l.gid,label:l.gift_name,value:l.gid},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])):(o(),r(L,{key:1,modelValue:e.value.gift_id,"onUpdate:modelValue":t[3]||(t[3]=l=>e.value.gift_id=l),placeholder:"请选择装扮"},{default:d(()=>[(o(!0),w(C,null,U(f.value,l=>(o(),r(x,{key:l.id,label:l.name,value:l.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]))]),_:1},8,["label"])):q("",!0)]),_:1},8,["model","rules"])}}});export{Q as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-B6o7fI6q.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-B6o7fI6q.js new file mode 100644 index 0000000..c3e510a --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-B6o7fI6q.js @@ -0,0 +1 @@ +import{d as g,n as o,r,o as b,g as v,h as m,b as a}from"./index-CRmU-Qpi.js";const I=g({__name:"form",props:["formInline"],setup(s,{expose:u}){const l=o(),p=o({type:[{required:!0,message:"请输入分类名称",trigger:"blur"},{min:1,max:10,message:"长度在 1 到 10 个字符",trigger:"blur"}]}),n=s,e=o(n.formInline?n.formInline:{type:""});function f(){return l.value}return u({getRef:f}),(x,t)=>{const c=r("el-input"),i=r("el-form-item"),_=r("el-form");return b(),v(_,{ref_key:"ruleFormRef",ref:l,model:e.value,rules:p.value,"label-width":"120px"},{default:m(()=>[a(i,{label:"分类名称",prop:"type"},{default:m(()=>[a(c,{modelValue:e.value.type,"onUpdate:modelValue":t[0]||(t[0]=d=>e.value.type=d),clearable:"",placeholder:"请输入分类名称"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{I as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-BGJZIOyv.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-BGJZIOyv.js new file mode 100644 index 0000000..9ef2355 --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-BGJZIOyv.js @@ -0,0 +1 @@ +var k=(V,v,d)=>new Promise((y,m)=>{var f=a=>{try{i(d.next(a))}catch(p){m(p)}},l=a=>{try{i(d.throw(a))}catch(p){m(p)}},i=a=>a.done?y(a.value):Promise.resolve(a.value).then(f,l);i((d=d.apply(V,v)).next())});import{u as R}from"./index-An8nOBwL.js";import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";import{q as N}from"./adolescent-Dk2B_RUL.js";import{d as E,n as _,x as S,r as n,o as c,g as x,h as r,b as o,c as T,P as j,Q as H,f as b,U as M}from"./index-CRmU-Qpi.js";const D=E({__name:"form",props:["formInline"],setup(V,{expose:v}){const d=_(),y=_({type_id:[{required:!0,message:"请选择内容分类",trigger:"change"}],from:[{required:!0,message:"请选择来源",trigger:"change"}],img:[{required:!0,message:"请上传封面图片",trigger:"change"}],url:[{required:!0,message:"请添加url链接地址",trigger:"blur"}],sort:[{required:!0,message:"请输入排序",trigger:"blur"}],is_top:[{required:!0,message:"请选择是否置顶",trigger:"change"}],title:[{required:!0,message:"请输入内容标题",trigger:"blur"},{min:1,max:10,message:"长度在 1 到 10 个字符",trigger:"blur"}],introduced:[{required:!0,message:"请输入简介",trigger:"blur"}],content:[{required:!0,message:"请输入内容",trigger:"blur"}]}),m=V,f=_([]),l=_(m.formInline?m.formInline:{type_id:"",title:"",introduced:"",content:"",url:"",img:"",from:"",sort:"",is_top:""});function i(){return d.value}function a(s){l.value.img=s.join(",")}const p=()=>k(this,null,function*(){const{data:s,code:e}=yield N({page:1,page_limit:30});f.value=e?s.lists:[]});function C(s){l.value.content=s}return S(()=>{p()}),v({getRef:i}),(s,e)=>{const q=n("el-input"),u=n("el-form-item"),F=n("el-option"),I=n("el-select"),g=n("el-radio"),U=n("el-radio-group"),w=n("el-input-number"),L=n("el-form");return c(),x(L,{ref_key:"ruleFormRef",ref:d,model:l.value,rules:y.value,"label-width":"120px"},{default:r(()=>[o(u,{label:"内容标题",prop:"title"},{default:r(()=>[o(q,{modelValue:l.value.title,"onUpdate:modelValue":e[0]||(e[0]=t=>l.value.title=t),clearable:"",placeholder:"请输入内容标题"},null,8,["modelValue"])]),_:1}),o(u,{label:"内容分类",prop:"type_id"},{default:r(()=>[o(I,{modelValue:l.value.type_id,"onUpdate:modelValue":e[1]||(e[1]=t=>l.value.type_id=t),placeholder:"请选择内容分类"},{default:r(()=>[(c(!0),T(j,null,H(f.value,t=>(c(),x(F,{key:t.id,label:t.name,value:t.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),o(u,{label:"来源",prop:"from"},{default:r(()=>[o(U,{modelValue:l.value.from,"onUpdate:modelValue":e[2]||(e[2]=t=>l.value.from=t)},{default:r(()=>[o(g,{label:1},{default:r(()=>e[7]||(e[7]=[b("站内")])),_:1}),o(g,{label:2},{default:r(()=>e[8]||(e[8]=[b("外链")])),_:1})]),_:1},8,["modelValue"])]),_:1}),o(u,{label:"封面图片",prop:"img"},{default:r(()=>[o(R,{onHandleSuccess:a,limit:1,echoUrl:l.value.img},null,8,["echoUrl"])]),_:1}),l.value.from===2?(c(),x(u,{key:0,label:"url链接地址",prop:"url"},{default:r(()=>[o(q,{modelValue:l.value.url,"onUpdate:modelValue":e[3]||(e[3]=t=>l.value.url=t),clearable:"",placeholder:"请输入url链接地址"},null,8,["modelValue"])]),_:1})):M("",!0),o(u,{label:"排序",prop:"sort"},{default:r(()=>[o(w,{modelValue:l.value.sort,"onUpdate:modelValue":e[4]||(e[4]=t=>l.value.sort=t)},null,8,["modelValue"])]),_:1}),o(u,{label:"置顶状态",prop:"is_top"},{default:r(()=>[o(U,{modelValue:l.value.is_top,"onUpdate:modelValue":e[5]||(e[5]=t=>l.value.is_top=t)},{default:r(()=>[o(g,{label:0},{default:r(()=>e[9]||(e[9]=[b("默认")])),_:1}),o(g,{label:1},{default:r(()=>e[10]||(e[10]=[b("置顶")])),_:1})]),_:1},8,["modelValue"])]),_:1}),o(u,{label:"简介",prop:"introduced"},{default:r(()=>[o(q,{type:"textarea",modelValue:l.value.introduced,"onUpdate:modelValue":e[6]||(e[6]=t=>l.value.introduced=t),clearable:"",placeholder:"请输入简介"},null,8,["modelValue"])]),_:1}),o(u,{label:"内容",prop:"content"},{default:r(()=>[o(B,{style:{border:"1px solid #ccc"},echoValue:l.value.content,onChangeValue:C},null,8,["echoValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{D as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-BIIr4FUi.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-BIIr4FUi.js new file mode 100644 index 0000000..7fc9760 --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-BIIr4FUi.js @@ -0,0 +1 @@ +import{d as k,n,r,o as x,g as b,h as o,b as l,f as d}from"./index-CRmU-Qpi.js";const w=k({__name:"form",props:["formInline"],setup(f,{expose:_}){const u=n(),i=n({status:[{required:!0,message:"请选择状态",trigger:"change"}]}),s=f,t=n(s.formInline?s.formInline:{remark:"",status:""});function c(){return u.value}return _({getRef:c}),(I,e)=>{const m=r("el-radio"),g=r("el-radio-group"),p=r("el-form-item"),v=r("el-input"),V=r("el-form");return x(),b(V,{ref_key:"ruleFormRef",ref:u,model:t.value,rules:i.value,"label-width":"120px"},{default:o(()=>[l(p,{label:"审核状态",prop:"status"},{default:o(()=>[l(g,{modelValue:t.value.status,"onUpdate:modelValue":e[0]||(e[0]=a=>t.value.status=a)},{default:o(()=>[l(m,{label:1},{default:o(()=>e[2]||(e[2]=[d("发放")])),_:1}),l(m,{label:2},{default:o(()=>e[3]||(e[3]=[d("拒绝")])),_:1})]),_:1},8,["modelValue"])]),_:1}),l(p,{label:"备注",prop:"remark"},{default:o(()=>[l(v,{type:"textarea",modelValue:t.value.remark,"onUpdate:modelValue":e[1]||(e[1]=a=>t.value.remark=a)},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{w as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-BSrb17y8.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-BSrb17y8.js new file mode 100644 index 0000000..43208c4 --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-BSrb17y8.js @@ -0,0 +1 @@ +var k=(g,y,n)=>new Promise((b,m)=>{var _=a=>{try{e(n.next(a))}catch(i){m(i)}},f=a=>{try{e(n.throw(a))}catch(i){m(i)}},e=a=>a.done?b(a.value):Promise.resolve(a.value).then(_,f);e((n=n.apply(g,y)).next())});import{j as A,k as N}from"./activities-UkTzwAkp.js";import{d as j,n as p,x as E,r as u,o,g as r,h as d,b as s,U as q,c as w,P as U,Q as C}from"./index-CRmU-Qpi.js";const Q=j({__name:"form",props:["formInline"],setup(g,{expose:y}){const n=p(),b=p({num:[{required:!0,message:"数量为必填项",trigger:"blur"}],type:[{required:!0,message:"请选择类型",trigger:"change"}],gift_id:[{required:!0,message:"请选择",trigger:"change"}]}),m=g,_=p([]),f=p([]),e=p(m.formInline?m.formInline:{type:"",num:"",gift_id:"",gift_bag_id:""});function a(){return n.value}const i=()=>k(this,null,function*(){const{data:c,code:t}=yield A({type:3});_.value=t?c:[]}),F=()=>k(this,null,function*(){const{data:c,code:t}=yield N();f.value=t?c:[]});return E(()=>{i(),F()}),y({getRef:a}),(c,t)=>{const v=u("el-radio"),I=u("el-radio-group"),V=u("el-form-item"),R=u("el-input-number"),x=u("el-option"),L=u("el-select"),B=u("el-form");return o(),r(B,{ref_key:"ruleFormRef",ref:n,model:e.value,rules:b.value,"label-width":"120px"},{default:d(()=>[s(V,{label:"类型",prop:"type"},{default:d(()=>[s(I,{modelValue:e.value.type,"onUpdate:modelValue":t[0]||(t[0]=l=>e.value.type=l)},{default:d(()=>[s(v,{label:"金币",value:1}),s(v,{label:"礼物",value:2}),s(v,{label:"装扮",value:3}),s(v,{label:"钻石",value:4})]),_:1},8,["modelValue"])]),_:1}),[1,2,4].includes(e.value.type)?(o(),r(V,{key:0,label:e.value.type===1?"金币数量":e.value.type===2?"礼物数量":e.value.type===3?"装扮天数":"钻石数量",prop:"num"},{default:d(()=>[s(R,{modelValue:e.value.num,"onUpdate:modelValue":t[1]||(t[1]=l=>e.value.num=l),min:1,max:1e4,label:"请输入"},null,8,["modelValue"])]),_:1},8,["label"])):q("",!0),[2,3].includes(e.value.type)?(o(),r(V,{key:1,label:`选择${e.value.type===2?"礼物":"装扮"}`,prop:"gift_id"},{default:d(()=>[e.value.type===2?(o(),r(L,{key:0,modelValue:e.value.gift_id,"onUpdate:modelValue":t[2]||(t[2]=l=>e.value.gift_id=l),placeholder:"请选择礼物"},{default:d(()=>[(o(!0),w(U,null,C(_.value,l=>(o(),r(x,{key:l.gid,label:l.gift_name,value:l.gid},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])):(o(),r(L,{key:1,modelValue:e.value.gift_id,"onUpdate:modelValue":t[3]||(t[3]=l=>e.value.gift_id=l),placeholder:"请选择装扮"},{default:d(()=>[(o(!0),w(U,null,C(f.value,l=>(o(),r(x,{key:l.id,label:l.name,value:l.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]))]),_:1},8,["label"])):q("",!0)]),_:1},8,["model","rules"])}}});export{Q as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-BTdh2pXv.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-BTdh2pXv.js new file mode 100644 index 0000000..4fa5cde --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-BTdh2pXv.js @@ -0,0 +1 @@ +import{d as g,n as u,r as t,o as v,g as V,h as n,b as l}from"./index-CRmU-Qpi.js";const I=g({__name:"form",props:["formInline"],setup(d,{expose:_}){const m=u(),p=u({subsidy_ratio:[{required:!0,message:"请输入补贴比例",trigger:"blur"}],end_amount:[{required:!0,message:"请输入目标流水",trigger:"blur"}],start_amount:[{required:!0,message:"请输入规则名称",trigger:"blur"},{min:1,max:10,message:"长度在 1 到 10 个字符",trigger:"blur"}]}),s=d,e=u(s.formInline?s.formInline:{start_amount:"",end_amount:"",subsidy_ratio:""});function f(){return m.value}return _({getRef:f}),(x,o)=>{const i=t("el-input"),a=t("el-form-item"),b=t("el-input-number"),c=t("el-form");return v(),V(c,{ref_key:"ruleFormRef",ref:m,model:e.value,rules:p.value,"label-width":"120px"},{default:n(()=>[l(a,{label:"规则名称",prop:"start_amount"},{default:n(()=>[l(i,{modelValue:e.value.start_amount,"onUpdate:modelValue":o[0]||(o[0]=r=>e.value.start_amount=r),clearable:"",placeholder:"请输入规则名称"},null,8,["modelValue"])]),_:1}),l(a,{label:"目标流水",prop:"end_amount"},{default:n(()=>[l(i,{modelValue:e.value.end_amount,"onUpdate:modelValue":o[1]||(o[1]=r=>e.value.end_amount=r),clearable:"",placeholder:"请输入目标流水"},null,8,["modelValue"])]),_:1}),l(a,{label:"补贴比例",prop:"subsidy_ratio"},{default:n(()=>[l(b,{size:"mini",modelValue:e.value.subsidy_ratio,"onUpdate:modelValue":o[2]||(o[2]=r=>e.value.subsidy_ratio=r),min:0,max:100},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{I as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-Bbwf4kUJ.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-Bbwf4kUJ.js new file mode 100644 index 0000000..e12081e --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-Bbwf4kUJ.js @@ -0,0 +1 @@ +var k=(v,y,n)=>new Promise((b,m)=>{var _=a=>{try{e(n.next(a))}catch(i){m(i)}},f=a=>{try{e(n.throw(a))}catch(i){m(i)}},e=a=>a.done?b(a.value):Promise.resolve(a.value).then(_,f);e((n=n.apply(v,y)).next())});import{j as A,k as N}from"./activities-UkTzwAkp.js";import{d as j,n as p,x as E,r as u,o,g as r,h as d,b as s,U as q,c as w,P as C,Q as U}from"./index-CRmU-Qpi.js";const Q=j({__name:"form",props:["formInline"],setup(v,{expose:y}){const n=p(),b=p({num:[{required:!0,message:"数量为必填项",trigger:"blur"}],type:[{required:!0,message:"请选择类型",trigger:"change"}],gift_id:[{required:!0,message:"请选择",trigger:"change"}]}),m=v,_=p([]),f=p([]),e=p(m.formInline?m.formInline:{type:"",num:"",gift_id:"",gift_bag_id:""});function a(){return n.value}const i=()=>k(this,null,function*(){const{data:c,code:t}=yield A({type:3});_.value=t?c:[]}),F=()=>k(this,null,function*(){const{data:c,code:t}=yield N();f.value=t?c:[]}),I=()=>{e.value.gift_id=""};return E(()=>{i(),F()}),y({getRef:a}),(c,t)=>{const g=u("el-radio"),R=u("el-radio-group"),V=u("el-form-item"),B=u("el-input-number"),x=u("el-option"),L=u("el-select"),h=u("el-form");return o(),r(h,{ref_key:"ruleFormRef",ref:n,model:e.value,rules:b.value,"label-width":"120px"},{default:d(()=>[s(V,{label:"类型",prop:"type"},{default:d(()=>[s(R,{modelValue:e.value.type,"onUpdate:modelValue":t[0]||(t[0]=l=>e.value.type=l),onChange:I},{default:d(()=>[s(g,{label:"金币",value:1}),s(g,{label:"礼物",value:2}),s(g,{label:"装扮",value:3}),s(g,{label:"钻石",value:4})]),_:1},8,["modelValue"])]),_:1}),[1,2,4].includes(e.value.type)?(o(),r(V,{key:0,label:e.value.type===1?"金币数量":e.value.type===2?"礼物数量":e.value.type===3?"装扮天数":"钻石数量",prop:"num"},{default:d(()=>[s(B,{modelValue:e.value.num,"onUpdate:modelValue":t[1]||(t[1]=l=>e.value.num=l),min:1,max:1e4,label:"请输入"},null,8,["modelValue"])]),_:1},8,["label"])):q("",!0),[2,3].includes(e.value.type)?(o(),r(V,{key:1,label:`选择${e.value.type===2?"礼物":"装扮"}`,prop:"gift_id"},{default:d(()=>[e.value.type===2?(o(),r(L,{key:0,modelValue:e.value.gift_id,"onUpdate:modelValue":t[2]||(t[2]=l=>e.value.gift_id=l),placeholder:"请选择礼物"},{default:d(()=>[(o(!0),w(C,null,U(_.value,l=>(o(),r(x,{key:l.gid,label:l.gift_name,value:l.gid},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])):(o(),r(L,{key:1,modelValue:e.value.gift_id,"onUpdate:modelValue":t[3]||(t[3]=l=>e.value.gift_id=l),placeholder:"请选择装扮"},{default:d(()=>[(o(!0),w(C,null,U(f.value,l=>(o(),r(x,{key:l.id,label:l.name,value:l.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]))]),_:1},8,["label"])):q("",!0)]),_:1},8,["model","rules"])}}});export{Q as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-BiFHMt8F.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-BiFHMt8F.js new file mode 100644 index 0000000..f90e738 --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-BiFHMt8F.js @@ -0,0 +1 @@ +var u=(_,m,o)=>new Promise((p,n)=>{var c=e=>{try{s(o.next(e))}catch(t){n(t)}},a=e=>{try{s(o.throw(e))}catch(t){n(t)}},s=e=>e.done?p(e.value):Promise.resolve(e.value).then(c,a);s((o=o.apply(_,m)).next())});import{b as v}from"./admin-QtfaJQYK.js";import{d as b,n as x,x as I,r as f,o as g,c as h,b as l,h as r,f as i,T as d,U as C}from"./index-CRmU-Qpi.js";const k={key:0},w=b({__name:"form",props:["formInline"],setup(_){const m=_,o=x({}),p=()=>u(this,null,function*(){const{data:n,code:c}=yield v({id:m.formInline.id});o.value=c?n:null});return I(()=>{p()}),(n,c)=>{const a=f("el-descriptions-item"),s=f("el-descriptions");return o.value?(g(),h("div",k,[l(s,{title:""},{default:r(()=>[l(a,{label:"用户名"},{default:r(()=>{var e,t;return[i(d((t=(e=o.value)==null?void 0:e.username)!=null?t:""),1)]}),_:1}),l(a,{label:"IP地址"},{default:r(()=>{var e,t;return[i(d((t=(e=o.value)==null?void 0:e.ip)!=null?t:""),1)]}),_:1}),l(a,{label:"日志时间"},{default:r(()=>{var e,t;return[i(d((t=(e=o.value)==null?void 0:e.createtime)!=null?t:""),1)]}),_:1}),l(a,{label:"日志内容"},{default:r(()=>{var e,t;return[i(d((t=(e=o.value)==null?void 0:e.url)!=null?t:""),1)]}),_:1})]),_:1})])):C("",!0)}}});export{w as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-BlmxE0Vv.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-BlmxE0Vv.js new file mode 100644 index 0000000..e98d6da --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-BlmxE0Vv.js @@ -0,0 +1 @@ +import{d as F,n as r,r as n,o as m,g as d,h as a,b as t,c as I,P as R,Q as w}from"./index-CRmU-Qpi.js";const U=F({__name:"form",props:["formInline"],setup(i,{expose:_}){const s=r(),c=r({tid:[{required:!0,message:"请选择分类",trigger:"change"}],name:[{required:!0,message:"请输入分类名称",trigger:"blur"},{min:1,max:10,message:"长度在 1 到 10 个字符",trigger:"blur"}]}),p=i,l=r(p.formInline?p.formInline:{tid:"",name:"",sort:0}),f=r([{value:1,label:"普通礼物"},{value:2,label:"盲盒礼物"},{value:3,label:"礼包礼物"}]);function v(){return s.value}return _({getRef:v}),(B,o)=>{const b=n("el-option"),g=n("el-select"),u=n("el-form-item"),V=n("el-input"),x=n("el-input-number"),k=n("el-form");return m(),d(k,{ref_key:"ruleFormRef",ref:s,model:l.value,rules:c.value,"label-width":"120px"},{default:a(()=>[t(u,{label:"礼物分类",prop:"tid"},{default:a(()=>[t(g,{modelValue:l.value.tid,"onUpdate:modelValue":o[0]||(o[0]=e=>l.value.tid=e),placeholder:"请选择礼物分类"},{default:a(()=>[(m(!0),I(R,null,w(f.value,e=>(m(),d(b,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(u,{label:"标签名称",prop:"name"},{default:a(()=>[t(V,{modelValue:l.value.name,"onUpdate:modelValue":o[1]||(o[1]=e=>l.value.name=e),clearable:"",placeholder:"请输入标签名称"},null,8,["modelValue"])]),_:1}),t(u,{label:"排序",prop:"sort"},{default:a(()=>[t(x,{modelValue:l.value.sort,"onUpdate:modelValue":o[2]||(o[2]=e=>l.value.sort=e)},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{U as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-BmTzdXBw.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-BmTzdXBw.js new file mode 100644 index 0000000..672f7e1 --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-BmTzdXBw.js @@ -0,0 +1 @@ +import{d as V,n,r,o as x,g as y,h as o,b as l,f as d}from"./index-CRmU-Qpi.js";const k=V({__name:"form",props:["formInline"],setup(_,{expose:f}){const u=n(),i=n({status:[{required:!0,message:"请选择状态",trigger:"change"}],type_name:[{required:!0,message:"请输入分类名称",trigger:"blur"},{min:1,max:10,message:"长度在 1 到 10 个字符",trigger:"blur"}]}),s=_,t=n(s.formInline?s.formInline:{type_name:"",status:""});function g(){return u.value}return f({getRef:g}),(I,e)=>{const c=r("el-input"),m=r("el-form-item"),p=r("el-radio"),b=r("el-radio-group"),v=r("el-form");return x(),y(v,{ref_key:"ruleFormRef",ref:u,model:t.value,rules:i.value,"label-width":"120px"},{default:o(()=>[l(m,{label:"分类名称",prop:"type_name"},{default:o(()=>[l(c,{modelValue:t.value.type_name,"onUpdate:modelValue":e[0]||(e[0]=a=>t.value.type_name=a),clearable:"",placeholder:"请输入分类名称"},null,8,["modelValue"])]),_:1}),l(m,{label:"分类状态",prop:"status"},{default:o(()=>[l(b,{modelValue:t.value.status,"onUpdate:modelValue":e[1]||(e[1]=a=>t.value.status=a)},{default:o(()=>[l(p,{label:1},{default:o(()=>e[2]||(e[2]=[d("显示")])),_:1}),l(p,{label:2},{default:o(()=>e[3]||(e[3]=[d("隐藏")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{k as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-BoAlLsu7.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-BoAlLsu7.js new file mode 100644 index 0000000..4f5ce8c --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-BoAlLsu7.js @@ -0,0 +1 @@ +import{d as w,n as m,r,o as V,g as k,h as t,b as e,e as q,T as b,c as y,U as B}from"./index-CRmU-Qpi.js";const C={key:0},F=w({__name:"form",props:["formInline","higherMenuOptions"],setup(s,{expose:c}){const i=m(),v=m({ismenu:[{required:!0,message:"菜单为必填项",trigger:"change"}],pid:[{required:!0,message:"所属父级为必填项",trigger:"change"}],name:[{required:!0,message:"权限规则为必填项",trigger:"blur"}],weigh:[{required:!0,message:"权重为必填项",trigger:"change"}],status:[{required:!0,message:"状态为必填项",trigger:"change"}],title:[{required:!0,message:"权限标题为必填项",trigger:"blur"},{min:1,max:20,message:"长度在 1 到 20 个字符",trigger:"blur"}]}),p=s,l=m(p.formInline?p.formInline:{name:"",title:"",icon:"",remark:"",extend:"",ismenu:1,status:"normal",weigh:1,pid:""});function _(){return i.value}return c({getRef:_}),(I,o)=>{const d=r("el-radio"),g=r("el-radio-group"),u=r("el-form-item"),h=r("el-cascader"),n=r("el-input"),x=r("el-input-number"),U=r("el-form");return V(),k(U,{ref_key:"ruleFormRef",ref:i,model:l.value,rules:v.value,"label-width":"120px"},{default:t(()=>[e(u,{label:"菜单",prop:"ismenu"},{default:t(()=>[e(g,{modelValue:l.value.ismenu,"onUpdate:modelValue":o[0]||(o[0]=a=>l.value.ismenu=a)},{default:t(()=>[e(d,{label:"是",value:1}),e(d,{label:"否",value:0})]),_:1},8,["modelValue"])]),_:1}),e(u,{label:"所属父级",prop:"pid"},{default:t(()=>[e(h,{modelValue:l.value.pid,"onUpdate:modelValue":o[1]||(o[1]=a=>l.value.pid=a),class:"w-full",options:s.higherMenuOptions,props:{value:"id",label:"title",emitPath:!1,checkStrictly:!0},clearable:"",filterable:"",placeholder:"请选择上级菜单"},{default:t(({node:a,data:f})=>[q("span",null,b(f.title),1),a.isLeaf?B("",!0):(V(),y("span",C," ("+b(f.childlist.length)+") ",1))]),_:1},8,["modelValue","options"])]),_:1}),e(u,{label:"规则",prop:"name"},{default:t(()=>[e(n,{modelValue:l.value.name,"onUpdate:modelValue":o[2]||(o[2]=a=>l.value.name=a),clearable:"",placeholder:"请输入权限规则"},null,8,["modelValue"])]),_:1}),e(u,{label:"标题",prop:"title"},{default:t(()=>[e(n,{modelValue:l.value.title,"onUpdate:modelValue":o[3]||(o[3]=a=>l.value.title=a),clearable:"",placeholder:"请输入权限标题"},null,8,["modelValue"])]),_:1}),e(u,{label:"Url",prop:"url"},{default:t(()=>[e(n,{modelValue:l.value.url,"onUpdate:modelValue":o[4]||(o[4]=a=>l.value.url=a),clearable:"",placeholder:"请输入权限url"},null,8,["modelValue"])]),_:1}),e(u,{label:"图标",prop:"icon"},{default:t(()=>[e(n,{modelValue:l.value.icon,"onUpdate:modelValue":o[5]||(o[5]=a=>l.value.icon=a),clearable:"",placeholder:"请输入权限图标"},null,8,["modelValue"])]),_:1}),e(u,{label:"扩展属性",prop:"extend"},{default:t(()=>[e(n,{modelValue:l.value.extend,"onUpdate:modelValue":o[6]||(o[6]=a=>l.value.extend=a),clearable:"",placeholder:"请输入权限扩展属性"},null,8,["modelValue"])]),_:1}),e(u,{label:"权重",prop:"weigh"},{default:t(()=>[e(x,{modelValue:l.value.weigh,"onUpdate:modelValue":o[7]||(o[7]=a=>l.value.weigh=a),min:1,max:1e3,label:"请输入权限权重"},null,8,["modelValue"])]),_:1}),e(u,{label:"状态",prop:"status"},{default:t(()=>[e(g,{modelValue:l.value.status,"onUpdate:modelValue":o[8]||(o[8]=a=>l.value.status=a)},{default:t(()=>[e(d,{label:"正常",value:"normal"}),e(d,{label:"隐藏",value:"hidden"})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{F as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-BuSWUZQX.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-BuSWUZQX.js new file mode 100644 index 0000000..61d2c75 --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-BuSWUZQX.js @@ -0,0 +1 @@ +var V=(g,c,n)=>new Promise((d,m)=>{var _=r=>{try{i(n.next(r))}catch(s){m(s)}},l=r=>{try{i(n.throw(r))}catch(s){m(s)}},i=r=>r.done?d(r.value):Promise.resolve(r.value).then(_,l);i((n=n.apply(g,c)).next())});import{h as F}from"./blindBox-BqHhL4EW.js";import{d as I,n as f,x as L,r as u,o as w,g as y,h as a,b as t,c as R,P as U,Q as C,f as q}from"./index-CRmU-Qpi.js";const G=I({__name:"form",props:["formInline"],setup(g,{expose:c}){const n=f(),d=f([]),m=f({gift_id:[{required:!0,message:"请选择礼物",trigger:"change"}],quantity:[{required:!0,message:"请输入每期数量",trigger:"blur"}],weight:[{required:!0,message:"请输入起止数量",trigger:"blur"}],is_world_show:[{required:!0,message:"请选择状态",trigger:"change"}]}),_=g,l=f(_.formInline?_.formInline:{gift_id:"",quantity:1,weight:1});function i(){return n.value}const r=()=>V(this,null,function*(){const{data:s,code:e}=yield F({type:2,label:6});d.value=e?s:[]});return L(()=>{r()}),c({getRef:i}),(s,e)=>{const x=u("el-option"),h=u("el-select"),p=u("el-form-item"),v=u("el-input-number"),b=u("el-radio"),k=u("el-radio-group"),B=u("el-form");return w(),y(B,{ref_key:"ruleFormRef",ref:n,model:l.value,rules:m.value,"label-width":"150px"},{default:a(()=>[t(p,{label:"选择礼物",prop:"gift_id"},{default:a(()=>[t(h,{modelValue:l.value.gift_id,"onUpdate:modelValue":e[0]||(e[0]=o=>l.value.gift_id=o),placeholder:"请选择礼物"},{default:a(()=>[(w(!0),R(U,null,C(d.value,o=>(w(),y(x,{key:o.gid,label:o.gift_name,value:o.gid},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(p,{label:"每期数量",prop:"quantity"},{default:a(()=>[t(v,{modelValue:l.value.quantity,"onUpdate:modelValue":e[1]||(e[1]=o=>l.value.quantity=o)},null,8,["modelValue"])]),_:1}),t(p,{label:"参与开奖起止数量",prop:"weight"},{default:a(()=>[t(v,{modelValue:l.value.weight,"onUpdate:modelValue":e[2]||(e[2]=o=>l.value.weight=o)},null,8,["modelValue"])]),_:1}),t(p,{label:"参与榜单显示",prop:"is_world_show"},{default:a(()=>[t(k,{modelValue:l.value.is_world_show,"onUpdate:modelValue":e[3]||(e[3]=o=>l.value.is_world_show=o)},{default:a(()=>[t(b,{label:1},{default:a(()=>e[4]||(e[4]=[q("显示")])),_:1}),t(b,{label:0},{default:a(()=>e[5]||(e[5]=[q("隐藏")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{G as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-C5Afdf2H.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-C5Afdf2H.js new file mode 100644 index 0000000..cceb61c --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-C5Afdf2H.js @@ -0,0 +1 @@ +var y=(_,c,t)=>new Promise((s,i)=>{var m=e=>{try{a(t.next(e))}catch(n){i(n)}},o=e=>{try{a(t.throw(e))}catch(n){i(n)}},a=e=>e.done?s(e.value):Promise.resolve(e.value).then(m,o);a((t=t.apply(_,c)).next())});import{q as w}from"./blindBox-BqHhL4EW.js";import{d as F,n as d,x as I,r as u,o as g,g as b,h as p,b as f,c as L,P as R,Q as B}from"./index-CRmU-Qpi.js";const E=F({__name:"form",props:["formInline"],setup(_,{expose:c}){const t=d(),s=d([]),i=d({gift_id:[{required:!0,message:"请选择礼物",trigger:"change"}],quantity:[{required:!0,message:"请输入每期数量",trigger:"blur"}]}),m=_,o=d(m.formInline?m.formInline:{gift_id:"",quantity:""});function a(){return t.value}const e=()=>y(this,null,function*(){const{data:n,code:r}=yield w();s.value=r?n:[]});return I(()=>{e()}),c({getRef:a}),(n,r)=>{const q=u("el-option"),x=u("el-select"),v=u("el-form-item"),V=u("el-input-number"),k=u("el-form");return g(),b(k,{ref_key:"ruleFormRef",ref:t,model:o.value,rules:i.value,"label-width":"120px"},{default:p(()=>[f(v,{label:"选择礼物",prop:"gift_id"},{default:p(()=>[f(x,{modelValue:o.value.gift_id,"onUpdate:modelValue":r[0]||(r[0]=l=>o.value.gift_id=l),placeholder:"请选择礼物"},{default:p(()=>[(g(!0),L(R,null,B(s.value,l=>(g(),b(q,{key:l.gid,label:l.gift_name,value:l.gid},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),f(v,{label:"每期数量",prop:"quantity"},{default:p(()=>[f(V,{modelValue:o.value.quantity,"onUpdate:modelValue":r[1]||(r[1]=l=>o.value.quantity=l),precision:2,step:.01,max:9999.99},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{E as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-CBlDgxjt.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-CBlDgxjt.js new file mode 100644 index 0000000..ddce870 --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-CBlDgxjt.js @@ -0,0 +1 @@ +import{d as v,n,r as s,o as y,g as x,h as o,b as l,f as u}from"./index-CRmU-Qpi.js";const R=v({__name:"form",props:["formInline"],setup(_,{expose:w}){const m=n(),g=n({withd_type:[{required:!0,message:"请选择平台处理方式",trigger:"change"}],status:[{required:!0,message:"请选择状态",trigger:"change"}],secondary_password:[{required:!0,message:"请输入二级密码",trigger:"blur"}]}),p=_,t=n(p.formInline?p.formInline:{status:"",withd_type:"",remarke:"",secondary_password:""});function V(){return m.value}return w({getRef:V}),(k,e)=>{const a=s("el-radio"),f=s("el-radio-group"),d=s("el-form-item"),i=s("el-input"),b=s("el-form");return y(),x(b,{ref_key:"ruleFormRef",ref:m,model:t.value,rules:g.value,"label-width":"120px"},{default:o(()=>[l(d,{label:"提现审批状态",prop:"status"},{default:o(()=>[l(f,{modelValue:t.value.status,"onUpdate:modelValue":e[0]||(e[0]=r=>t.value.status=r)},{default:o(()=>[l(a,{label:2},{default:o(()=>e[4]||(e[4]=[u("通过")])),_:1}),l(a,{label:3},{default:o(()=>e[5]||(e[5]=[u("拒绝")])),_:1})]),_:1},8,["modelValue"])]),_:1}),l(d,{label:"平台处理方式",prop:"withd_type"},{default:o(()=>[l(f,{modelValue:t.value.withd_type,"onUpdate:modelValue":e[1]||(e[1]=r=>t.value.withd_type=r)},{default:o(()=>[l(a,{label:2},{default:o(()=>e[6]||(e[6]=[u("支付宝")])),_:1}),l(a,{label:1},{default:o(()=>e[7]||(e[7]=[u("微信")])),_:1}),l(a,{label:4},{default:o(()=>e[8]||(e[8]=[u("云账户")])),_:1}),l(a,{label:5},{default:o(()=>e[9]||(e[9]=[u("其他")])),_:1})]),_:1},8,["modelValue"])]),_:1}),l(d,{label:"二级密码",prop:"secondary_password"},{default:o(()=>[l(i,{placeholder:"请输入密码",modelValue:t.value.secondary_password,"onUpdate:modelValue":e[2]||(e[2]=r=>t.value.secondary_password=r),"show-password":""},null,8,["modelValue"])]),_:1}),l(d,{label:"备注",prop:"remarke"},{default:o(()=>[l(i,{type:"textarea",placeholder:"请输入备注",modelValue:t.value.remarke,"onUpdate:modelValue":e[3]||(e[3]=r=>t.value.remarke=r),maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{R as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-CD9wd64y.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-CD9wd64y.js new file mode 100644 index 0000000..556e896 --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-CD9wd64y.js @@ -0,0 +1 @@ +var U=(f,v,r)=>new Promise((c,_)=>{var g=n=>{try{i(r.next(n))}catch(p){_(p)}},e=n=>{try{i(r.throw(n))}catch(p){_(p)}},i=n=>n.done?c(n.value):Promise.resolve(n.value).then(g,e);i((r=r.apply(f,v)).next())});import{u as x}from"./index-An8nOBwL.js";import{q as C}from"./expression-DA1ai6Y-.js";import{d as L,n as d,x as R,r as u,o as y,g as I,h as t,b as a,c as S,P as T,Q as B,f as j}from"./index-CRmU-Qpi.js";const E=L({__name:"form",props:["formInline"],setup(f,{expose:v}){const r=d(),c=d([]);d([]);const _=d({type_id:[{required:!0,message:"请选择表情分类",trigger:"change"}],name:[{required:!0,message:"请输入表情名称",trigger:"blur"}],image:[{required:!0,message:"请上传表情图",trigger:"change"}],status:[{required:!0,message:"请选择状态",trigger:"change"}]}),g=f,e=d(g.formInline?g.formInline:{pid:"",name:"",image:"",animate_image:"",sort:"",type_id:"",status:""});function i(){return r.value}function n(s){e.value.animate_image=s.join(",")}function p(s){e.value.image=s.join(",")}const q=()=>U(this,null,function*(){const{data:s,code:l}=yield C({});c.value=l?s:[]});return R(()=>{q()}),v({getRef:i}),(s,l)=>{const b=u("el-input"),m=u("el-form-item"),F=u("el-option"),k=u("el-select"),V=u("el-radio"),h=u("el-radio-group"),w=u("el-form");return y(),I(w,{ref_key:"ruleFormRef",ref:r,model:e.value,rules:_.value,"label-width":"120px"},{default:t(()=>[a(m,{label:"上级ID",prop:"pid"},{default:t(()=>[a(b,{modelValue:e.value.pid,"onUpdate:modelValue":l[0]||(l[0]=o=>e.value.pid=o),clearable:"",placeholder:"请输入上级ID"},null,8,["modelValue"])]),_:1}),a(m,{label:"表情类型",prop:"type_id"},{default:t(()=>[a(k,{modelValue:e.value.type_id,"onUpdate:modelValue":l[1]||(l[1]=o=>e.value.type_id=o),placeholder:"请选择表情类型"},{default:t(()=>[(y(!0),S(T,null,B(c.value,o=>(y(),I(F,{key:o.id,label:o.type_name,value:o.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(m,{label:"表情名称",prop:"name"},{default:t(()=>[a(b,{modelValue:e.value.name,"onUpdate:modelValue":l[2]||(l[2]=o=>e.value.name=o),clearable:"",placeholder:"请输入表情名称"},null,8,["modelValue"])]),_:1}),a(m,{label:"表情图",prop:"image"},{default:t(()=>[a(x,{onHandleSuccess:p,acceptType:".jpg,.jpeg,.png,.gif",limit:1,echoUrl:e.value.image},null,8,["echoUrl"])]),_:1}),a(m,{label:"表情动图",prop:"animate_image"},{default:t(()=>[a(x,{onHandleSuccess:n,acceptType:".jpg,.jpeg,.png,.gif",limit:1,echoUrl:e.value.animate_image},null,8,["echoUrl"])]),_:1}),a(m,{label:"状态",prop:"status"},{default:t(()=>[a(h,{modelValue:e.value.status,"onUpdate:modelValue":l[3]||(l[3]=o=>e.value.status=o)},{default:t(()=>[a(V,{label:1},{default:t(()=>l[4]||(l[4]=[j("显示")])),_:1}),a(V,{label:2},{default:t(()=>l[5]||(l[5]=[j("隐藏")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{E as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-CHItqJrU.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-CHItqJrU.js new file mode 100644 index 0000000..8506dd2 --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-CHItqJrU.js @@ -0,0 +1 @@ +import{u as w}from"./index-An8nOBwL.js";import{d as I,n as u,r as t,o as U,g as q,h as n,b as o,f as d}from"./index-CRmU-Qpi.js";const h=I({__name:"form",props:["formInline"],setup(_,{expose:f}){const m=u(),c=u({type:[{required:!0,message:"请选择关系类型",trigger:"change"}],is_open_movie:[{required:!0,message:"请选择",trigger:"change"}],icon:[{required:!0,message:"请上传图标",trigger:"change"}],name:[{required:!0,message:"请输入关系名称",trigger:"blur"},{min:1,max:10,message:"长度在 1 到 10 个字符",trigger:"blur"}]}),i=_,l=u(i.formInline?i.formInline:{name:"",type:"",is_open_movie:2});function g(){return m.value}function v(s){l.value.icon=s.join(",")}return f({getRef:g}),(s,e)=>{const b=t("el-input"),r=t("el-form-item"),p=t("el-radio"),V=t("el-radio-group"),x=t("el-switch"),y=t("el-form");return U(),q(y,{ref_key:"ruleFormRef",ref:m,model:l.value,rules:c.value,"label-width":"120px"},{default:n(()=>[o(r,{label:"关系名称",prop:"name"},{default:n(()=>[o(b,{modelValue:l.value.name,"onUpdate:modelValue":e[0]||(e[0]=a=>l.value.name=a),clearable:"",placeholder:"请输入分类名称"},null,8,["modelValue"])]),_:1}),o(r,{label:"关系类型",prop:"type"},{default:n(()=>[o(V,{modelValue:l.value.type,"onUpdate:modelValue":e[1]||(e[1]=a=>l.value.type=a)},{default:n(()=>[o(p,{label:1},{default:n(()=>e[3]||(e[3]=[d("真爱拍")])),_:1}),o(p,{label:2},{default:n(()=>e[4]||(e[4]=[d("亲密拍")])),_:1})]),_:1},8,["modelValue"])]),_:1}),o(r,{label:"电影房",prop:"is_open_movie"},{default:n(()=>[o(x,{modelValue:l.value.is_open_movie,"onUpdate:modelValue":e[2]||(e[2]=a=>l.value.is_open_movie=a),"active-text":"开启","inactive-text":"暂不开启","inactive-value":2,"active-value":1},null,8,["modelValue"])]),_:1}),o(r,{label:"图标",prop:"icon"},{default:n(()=>[o(w,{onHandleSuccess:v,limit:1,echoUrl:l.value.icon},null,8,["echoUrl"])]),_:1})]),_:1},8,["model","rules"])}}});export{h as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-CMV64P_c.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-CMV64P_c.js new file mode 100644 index 0000000..4fa5cde --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-CMV64P_c.js @@ -0,0 +1 @@ +import{d as g,n as u,r as t,o as v,g as V,h as n,b as l}from"./index-CRmU-Qpi.js";const I=g({__name:"form",props:["formInline"],setup(d,{expose:_}){const m=u(),p=u({subsidy_ratio:[{required:!0,message:"请输入补贴比例",trigger:"blur"}],end_amount:[{required:!0,message:"请输入目标流水",trigger:"blur"}],start_amount:[{required:!0,message:"请输入规则名称",trigger:"blur"},{min:1,max:10,message:"长度在 1 到 10 个字符",trigger:"blur"}]}),s=d,e=u(s.formInline?s.formInline:{start_amount:"",end_amount:"",subsidy_ratio:""});function f(){return m.value}return _({getRef:f}),(x,o)=>{const i=t("el-input"),a=t("el-form-item"),b=t("el-input-number"),c=t("el-form");return v(),V(c,{ref_key:"ruleFormRef",ref:m,model:e.value,rules:p.value,"label-width":"120px"},{default:n(()=>[l(a,{label:"规则名称",prop:"start_amount"},{default:n(()=>[l(i,{modelValue:e.value.start_amount,"onUpdate:modelValue":o[0]||(o[0]=r=>e.value.start_amount=r),clearable:"",placeholder:"请输入规则名称"},null,8,["modelValue"])]),_:1}),l(a,{label:"目标流水",prop:"end_amount"},{default:n(()=>[l(i,{modelValue:e.value.end_amount,"onUpdate:modelValue":o[1]||(o[1]=r=>e.value.end_amount=r),clearable:"",placeholder:"请输入目标流水"},null,8,["modelValue"])]),_:1}),l(a,{label:"补贴比例",prop:"subsidy_ratio"},{default:n(()=>[l(b,{size:"mini",modelValue:e.value.subsidy_ratio,"onUpdate:modelValue":o[2]||(o[2]=r=>e.value.subsidy_ratio=r),min:0,max:100},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{I as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-CPgTaxRJ.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-CPgTaxRJ.js new file mode 100644 index 0000000..fdb19b8 --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-CPgTaxRJ.js @@ -0,0 +1 @@ +import{d as x,n as u,r,o as y,g as I,h as t,b as l,f as d}from"./index-CRmU-Qpi.js";const q=x({__name:"form",props:["formInline"],setup(_,{expose:i}){const s=u(),f=u({status:[{required:!0,message:"请选择状态",trigger:"change"}],sort:[{required:!0,message:"请输入排序",trigger:"blur"}],type_name:[{required:!0,message:"请输入分类名称",trigger:"blur"},{min:1,max:10,message:"长度在 1 到 10 个字符",trigger:"blur"}]}),m=_,o=u(m.formInline?m.formInline:{sort:1,name:"",status:1});function g(){return s.value}return i({getRef:g}),(R,e)=>{const b=r("el-input"),a=r("el-form-item"),V=r("el-input-number"),p=r("el-radio"),c=r("el-radio-group"),v=r("el-form");return y(),I(v,{ref_key:"ruleFormRef",ref:s,model:o.value,rules:f.value,"label-width":"120px"},{default:t(()=>[l(a,{label:"分类名称",prop:"type_name"},{default:t(()=>[l(b,{modelValue:o.value.type_name,"onUpdate:modelValue":e[0]||(e[0]=n=>o.value.type_name=n),clearable:"",placeholder:"请输入分类名称"},null,8,["modelValue"])]),_:1}),l(a,{label:"排序",prop:"sort"},{default:t(()=>[l(V,{modelValue:o.value.sort,"onUpdate:modelValue":e[1]||(e[1]=n=>o.value.sort=n)},null,8,["modelValue"])]),_:1}),l(a,{label:"状态",prop:"status"},{default:t(()=>[l(c,{modelValue:o.value.status,"onUpdate:modelValue":e[2]||(e[2]=n=>o.value.status=n)},{default:t(()=>[l(p,{label:1},{default:t(()=>e[3]||(e[3]=[d("显示")])),_:1}),l(p,{label:2},{default:t(()=>e[4]||(e[4]=[d("隐藏")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{q as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-Cbivz3Ba.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-Cbivz3Ba.js new file mode 100644 index 0000000..6aa5288 --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-Cbivz3Ba.js @@ -0,0 +1 @@ +var _=Object.defineProperty;var r=Object.getOwnPropertySymbols;var m=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var n=(a,t,e)=>t in a?_(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e,s=(a,t)=>{for(var e in t||(t={}))m.call(t,e)&&n(a,e,t[e]);if(r)for(var e of r(t))d.call(t,e)&&n(a,e,t[e]);return a};import{d as i,n as u,r as c,o as b,c as f,b as o,h}from"./index-CRmU-Qpi.js";const k=i({__name:"form",props:["rowData"],setup(a){const t=a,e=u({record_lists:[]});return e.value=s({},t.rowData),(v,w)=>{const l=c("el-table-column"),p=c("el-table");return b(),f("div",null,[o(p,{data:e.value.record_lists,border:"",style:{width:"100%"}},{default:h(()=>[o(l,{prop:"user_code",label:"领取用户ID"}),o(l,{prop:"nickname",label:"领取用户昵称"}),o(l,{prop:"createtime_text",label:"抢红包时间"}),o(l,{prop:"amount",label:"获得金额"})]),_:1},8,["data"])])}}});export{k as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-CczCLyB5.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-CczCLyB5.js new file mode 100644 index 0000000..7fc9760 --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-CczCLyB5.js @@ -0,0 +1 @@ +import{d as k,n,r,o as x,g as b,h as o,b as l,f as d}from"./index-CRmU-Qpi.js";const w=k({__name:"form",props:["formInline"],setup(f,{expose:_}){const u=n(),i=n({status:[{required:!0,message:"请选择状态",trigger:"change"}]}),s=f,t=n(s.formInline?s.formInline:{remark:"",status:""});function c(){return u.value}return _({getRef:c}),(I,e)=>{const m=r("el-radio"),g=r("el-radio-group"),p=r("el-form-item"),v=r("el-input"),V=r("el-form");return x(),b(V,{ref_key:"ruleFormRef",ref:u,model:t.value,rules:i.value,"label-width":"120px"},{default:o(()=>[l(p,{label:"审核状态",prop:"status"},{default:o(()=>[l(g,{modelValue:t.value.status,"onUpdate:modelValue":e[0]||(e[0]=a=>t.value.status=a)},{default:o(()=>[l(m,{label:1},{default:o(()=>e[2]||(e[2]=[d("发放")])),_:1}),l(m,{label:2},{default:o(()=>e[3]||(e[3]=[d("拒绝")])),_:1})]),_:1},8,["modelValue"])]),_:1}),l(p,{label:"备注",prop:"remark"},{default:o(()=>[l(v,{type:"textarea",modelValue:t.value.remark,"onUpdate:modelValue":e[1]||(e[1]=a=>t.value.remark=a)},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{w as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-CeQi_z5K.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-CeQi_z5K.js new file mode 100644 index 0000000..ac0353d --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-CeQi_z5K.js @@ -0,0 +1 @@ +import{u as i}from"./index-An8nOBwL.js";import{d as S,n as m,r as t,o as F,g as R,h as a,b as e,f as c}from"./index-CRmU-Qpi.js";const w=S({__name:"form",props:["formInline"],setup(_,{expose:f}){const d=m(),v=m({level:[{required:!0,message:"请输入等级",trigger:"blur"}],change_value:[{required:!0,message:"请输入财富值",trigger:"blur"}],coins:[{required:!0,message:"请输入奖励金币",trigger:"blur"}],image:[{required:!0,message:"请上传等级图标",trigger:"change"}],rights_icon:[{required:!0,message:"请上传特权图标",trigger:"change"}],status:[{required:!0,message:"请选择状态",trigger:"change"}],gift_id:[{required:!0,message:"请输入等级特权",trigger:"blur"}],name:[{required:!0,message:"请输入等级名称",trigger:"blur"},{min:1,max:10,message:"长度在 1 到 10 个字符",trigger:"blur"}]}),g=_,l=m(g.formInline?g.formInline:{level:"",name:"",image:"",change_value:"",status:"",rights_icon:"",color:""});function b(){return d.value}function V(n){l.value.image=n.join(",")}function h(n){l.value.rights_icon=n.join(",")}function U(n){l.value.bg_image=n.join(",")}return f({getRef:b}),(n,o)=>{const s=t("el-input"),u=t("el-form-item"),q=t("el-input-number"),p=t("el-radio"),x=t("el-radio-group"),I=t("el-form");return F(),R(I,{ref_key:"ruleFormRef",ref:d,model:l.value,rules:v.value,"label-width":"120px"},{default:a(()=>[e(u,{label:"等级",prop:"level"},{default:a(()=>[e(s,{modelValue:l.value.level,"onUpdate:modelValue":o[0]||(o[0]=r=>l.value.level=r),clearable:"",placeholder:"请输入等级"},null,8,["modelValue"])]),_:1}),e(u,{label:"等级名称",prop:"name"},{default:a(()=>[e(s,{modelValue:l.value.name,"onUpdate:modelValue":o[1]||(o[1]=r=>l.value.name=r),clearable:"",placeholder:"请输入等级名称"},null,8,["modelValue"])]),_:1}),e(u,{label:"等级图标",prop:"image"},{default:a(()=>[e(i,{onHandleSuccess:V,limit:1,echoUrl:l.value.image},null,8,["echoUrl"])]),_:1}),e(u,{label:"等级背景",prop:"bg_image"},{default:a(()=>[e(i,{onHandleSuccess:U,limit:1,echoUrl:l.value.bg_image},null,8,["echoUrl"])]),_:1}),e(u,{label:"辅助色",prop:"color"},{default:a(()=>[e(s,{modelValue:l.value.color,"onUpdate:modelValue":o[2]||(o[2]=r=>l.value.color=r),clearable:"",placeholder:"请输入辅助色"},null,8,["modelValue"])]),_:1}),e(u,{label:"财富值",prop:"change_value"},{default:a(()=>[e(q,{modelValue:l.value.change_value,"onUpdate:modelValue":o[3]||(o[3]=r=>l.value.change_value=r),"controls-position":"right"},null,8,["modelValue"])]),_:1}),e(u,{label:"状态",prop:"status"},{default:a(()=>[e(x,{modelValue:l.value.status,"onUpdate:modelValue":o[4]||(o[4]=r=>l.value.status=r)},{default:a(()=>[e(p,{label:1},{default:a(()=>o[5]||(o[5]=[c("显示")])),_:1}),e(p,{label:2},{default:a(()=>o[6]||(o[6]=[c("隐藏")])),_:1})]),_:1},8,["modelValue"])]),_:1}),e(u,{label:"特权图标",prop:"rights_icon"},{default:a(()=>[e(i,{onHandleSuccess:h,limit:1,echoUrl:l.value.rights_icon},null,8,["echoUrl"])]),_:1})]),_:1},8,["model","rules"])}}});export{w as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-CgloQVzt.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-CgloQVzt.js new file mode 100644 index 0000000..28cbf2a --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-CgloQVzt.js @@ -0,0 +1 @@ +var q=(V,c,d)=>new Promise((v,_)=>{var U=i=>{try{t(d.next(i))}catch(g){_(g)}},y=i=>{try{t(d.throw(i))}catch(g){_(g)}},t=i=>i.done?v(i.value):Promise.resolve(i.value).then(U,y);t((d=d.apply(V,c)).next())});import{u as F}from"./index-An8nOBwL.js";import{g as T}from"./gift-BjNBi56Q.js";import{d as M,n as f,x as N,r as p,o as b,g as w,h as a,b as l,c as I,P as S,Q as C,f as n}from"./index-CRmU-Qpi.js";const z=M({__name:"form",props:["formInline"],setup(V,{expose:c}){const d=f(),v=f([]),_=f([]),U=f({type:[{required:!0,message:"请选择分类",trigger:"change"}],label:[{required:!0,message:"请输入礼物标签",trigger:"blur"}],base_image:[{required:!0,message:"请上传礼物展示图片",trigger:"change"}],play_image:[],gift_type:[{required:!0,message:"请选择",trigger:"change"}],is_public_screen:[{required:!0,message:"请选择",trigger:"change"}],is_public_server:[{required:!0,message:"请选择",trigger:"change"}],is_show:[{required:!0,message:"请选择",trigger:"change"}],is_can_buy:[{required:!0,message:"请选择",trigger:"change"}],sort:[],file_type:[{required:!0,message:"请选择文件类型",trigger:"change"}],gift_price:[{required:!0,message:"请输入礼物价格",trigger:"blur"}],gift_name:[{required:!0,message:"请输入礼物名称",trigger:"blur"},{min:1,max:10,message:"长度在 1 到 10 个字符",trigger:"blur"}]}),y=V,t=f(y.formInline?y.formInline:{gift_name:"",type:"",label:"",gift_price:"",base_image:"",file_type:"",play_image:"",gift_type:"",is_public_screen:"",is_public_server:"",is_show:"",is_can_buy:"",sort:""});function i(){return d.value}function g(s){t.value.base_image=s.join(",")}function R(s){t.value.play_image=s.join(",")}const B=()=>q(this,null,function*(){const{data:s,code:e}=yield T({type:1});v.value=e?s:[]}),x=()=>q(this,null,function*(){const{data:s,code:e}=yield T({type:2,type_id:t.value.type||""});_.value=e?s:[]}),P=()=>{x()};return N(()=>{B(),x()}),c({getRef:i}),(s,e)=>{const j=p("el-input"),o=p("el-form-item"),L=p("el-option"),k=p("el-select"),G=p("el-input-number"),r=p("el-radio"),m=p("el-radio-group"),H=p("el-form");return b(),w(H,{ref_key:"ruleFormRef",ref:d,model:t.value,rules:U.value,"label-width":"120px"},{default:a(()=>[l(o,{label:"礼物名称",prop:"gift_name"},{default:a(()=>[l(j,{modelValue:t.value.gift_name,"onUpdate:modelValue":e[0]||(e[0]=u=>t.value.gift_name=u),clearable:"",placeholder:"请输入礼物名称"},null,8,["modelValue"])]),_:1}),l(o,{label:"礼物类型",prop:"type"},{default:a(()=>[l(k,{modelValue:t.value.type,"onUpdate:modelValue":e[1]||(e[1]=u=>t.value.type=u),placeholder:"请选择礼物类型",onChange:P},{default:a(()=>[(b(!0),I(S,null,C(v.value,u=>(b(),w(L,{key:u.id,label:u.name,value:u.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(o,{label:"礼物标签",prop:"label"},{default:a(()=>[l(k,{modelValue:t.value.label,"onUpdate:modelValue":e[2]||(e[2]=u=>t.value.label=u),placeholder:"请选择礼物标签"},{default:a(()=>[(b(!0),I(S,null,C(_.value,u=>(b(),w(L,{key:u.id,label:u.name,value:u.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(o,{label:"礼物价格",prop:"gift_price"},{default:a(()=>[l(G,{modelValue:t.value.gift_price,"onUpdate:modelValue":e[3]||(e[3]=u=>t.value.gift_price=u),precision:2,step:.01},null,8,["modelValue"])]),_:1}),l(o,{label:"展示图片",prop:"base_image"},{default:a(()=>[l(F,{onHandleSuccess:g,limit:1,echoUrl:t.value.base_image},null,8,["echoUrl"])]),_:1}),l(o,{label:"文件类型",prop:"file_type"},{default:a(()=>[l(m,{modelValue:t.value.file_type,"onUpdate:modelValue":e[4]||(e[4]=u=>t.value.file_type=u)},{default:a(()=>[l(r,{label:1},{default:a(()=>e[10]||(e[10]=[n("SVGA")])),_:1}),l(r,{label:2},{default:a(()=>e[11]||(e[11]=[n("MP4")])),_:1})]),_:1},8,["modelValue"])]),_:1}),l(o,{label:"礼物特效图",prop:"play_image"},{default:a(()=>[l(F,{onHandleSuccess:R,acceptType:t.value.file_type===1?".svg,.svga":".mp4",limit:1,echoUrl:t.value.play_image},null,8,["acceptType","echoUrl"])]),_:1}),l(o,{label:"是否有特效",prop:"gift_type"},{default:a(()=>[l(m,{modelValue:t.value.gift_type,"onUpdate:modelValue":e[5]||(e[5]=u=>t.value.gift_type=u)},{default:a(()=>[l(r,{label:2},{default:a(()=>e[12]||(e[12]=[n("是")])),_:1}),l(r,{label:1},{default:a(()=>e[13]||(e[13]=[n("否")])),_:1})]),_:1},8,["modelValue"])]),_:1}),l(o,{label:"是否公屏",prop:"is_public_screen"},{default:a(()=>[l(m,{modelValue:t.value.is_public_screen,"onUpdate:modelValue":e[6]||(e[6]=u=>t.value.is_public_screen=u)},{default:a(()=>[l(r,{label:1},{default:a(()=>e[14]||(e[14]=[n("是")])),_:1}),l(r,{label:2},{default:a(()=>e[15]||(e[15]=[n("否")])),_:1})]),_:1},8,["modelValue"])]),_:1}),l(o,{label:"是否全服播报",prop:"is_public_server"},{default:a(()=>[l(m,{modelValue:t.value.is_public_server,"onUpdate:modelValue":e[7]||(e[7]=u=>t.value.is_public_server=u)},{default:a(()=>[l(r,{label:1},{default:a(()=>e[16]||(e[16]=[n("是")])),_:1}),l(r,{label:2},{default:a(()=>e[17]||(e[17]=[n("否")])),_:1})]),_:1},8,["modelValue"])]),_:1}),l(o,{label:"是否显示",prop:"is_show"},{default:a(()=>[l(m,{modelValue:t.value.is_show,"onUpdate:modelValue":e[8]||(e[8]=u=>t.value.is_show=u)},{default:a(()=>[l(r,{label:1},{default:a(()=>e[18]||(e[18]=[n("显示")])),_:1}),l(r,{label:2},{default:a(()=>e[19]||(e[19]=[n("隐藏")])),_:1})]),_:1},8,["modelValue"])]),_:1}),l(o,{label:"是否可购买",prop:"is_can_buy"},{default:a(()=>[l(m,{modelValue:t.value.is_can_buy,"onUpdate:modelValue":e[9]||(e[9]=u=>t.value.is_can_buy=u)},{default:a(()=>[l(r,{label:1},{default:a(()=>e[20]||(e[20]=[n("可购买")])),_:1}),l(r,{label:2},{default:a(()=>e[21]||(e[21]=[n("禁止购买")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{z as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-Ch3nypJv.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-Ch3nypJv.js new file mode 100644 index 0000000..7726b0a --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-Ch3nypJv.js @@ -0,0 +1 @@ +var B=(u,h,d)=>new Promise((w,_)=>{var e=n=>{try{c(d.next(n))}catch(v){_(v)}},V=n=>{try{c(d.throw(n))}catch(v){_(v)}},c=n=>n.done?w(n.value):Promise.resolve(n.value).then(e,V);c((d=d.apply(u,h)).next())});import{aw as f,d as L,n as y,x as R,r as s,o as i,g,h as r,b as l,c as D,P as E,Q as N,U as q}from"./index-CRmU-Qpi.js";import{_ as P}from"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";import{u as S}from"./index-An8nOBwL.js";const z=u=>f.request("get","/adminapi/Banner/banner_lists",{params:u}),j=()=>f.request("get","/adminapi/Banner/banner_position_lists"),A=u=>f.request("post","/adminapi/Banner/add_banner",{data:u}),G=u=>f.request("post","/adminapi/Banner/banner_edit",{data:u}),J=u=>f.request("post","/adminapi/Banner/banner_delete",{data:u}),K=L({__name:"form",props:["formInline"],setup(u,{expose:h}){const d=y(),w=y({name:[{required:!0,message:"广告名称为必填项",trigger:"blur"},{min:1,max:20,message:"长度在 1 到 20 个字符",trigger:"blur"}],allContent:[{required:!0,message:"新闻内容为必填项",trigger:"blur"}],image:[{required:!0,message:"广告图片为必填项",trigger:"blur"}],aid:[{required:!0,message:"对应跳转链接为必填项",trigger:"blur"}],url:[{required:!0,message:"广告链接为必填项",trigger:"blur"}],content:[{required:!0,message:"广告内容为必填项",trigger:"blur"}],type:[{required:!0,message:"请选择广告类型",trigger:"change"}],show_type:[{required:!0,message:"请选择广告位置",trigger:"change"}],stime:[{required:!0,message:"请选择开始时间",trigger:"change"}],etime:[{required:!0,message:"请选择结束时间",trigger:"change"}],show_status:[{required:!0,message:"请选择状态",trigger:"change"}]}),_=u,e=y(_.formInline?_.formInline:{name:"",show_type:"",type:"",aid:"",url:"",stime:"",etime:"",image:"",show_status:"",remarks:""}),V=y([]);function c(){return d.value}function n(p){e.value.image=p.join(",")}const v=()=>B(this,null,function*(){const{data:p,code:t}=yield j();V.value=t?p:[]});function x(p){e.value.content=p}return R(()=>{v()}),h({getRef:c}),(p,t)=>{const b=s("el-input"),o=s("el-form-item"),I=s("el-option"),C=s("el-select"),k=s("el-date-picker"),m=s("el-radio"),U=s("el-radio-group"),F=s("el-form");return i(),g(F,{ref_key:"ruleFormRef",ref:d,model:e.value,rules:w.value,"label-width":"120px"},{default:r(()=>[l(o,{label:"广告名称",prop:"name"},{default:r(()=>[l(b,{modelValue:e.value.name,"onUpdate:modelValue":t[0]||(t[0]=a=>e.value.name=a),clearable:"",placeholder:"请输入广告名称"},null,8,["modelValue"])]),_:1}),l(o,{label:"广告位置",prop:"show_type"},{default:r(()=>[l(C,{modelValue:e.value.show_type,"onUpdate:modelValue":t[1]||(t[1]=a=>e.value.show_type=a),placeholder:"请选择广告位置"},{default:r(()=>[(i(!0),D(E,null,N(V.value,a=>(i(),g(I,{key:a.id,label:a.name,value:a.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(o,{label:"开始时间",prop:"stime"},{default:r(()=>[l(k,{type:"date",placeholder:"选择开始时间",modelValue:e.value.stime,"onUpdate:modelValue":t[2]||(t[2]=a=>e.value.stime=a)},null,8,["modelValue"])]),_:1}),l(o,{label:"结束时间",prop:"etime"},{default:r(()=>[l(k,{type:"date",placeholder:"选择结束时间",modelValue:e.value.etime,"onUpdate:modelValue":t[3]||(t[3]=a=>e.value.etime=a)},null,8,["modelValue"])]),_:1}),l(o,{label:"广告图片",prop:"image"},{default:r(()=>[l(S,{onHandleSuccess:n,limit:1,echoUrl:e.value.image},null,8,["echoUrl"])]),_:1}),l(o,{label:"广告类型",prop:"type"},{default:r(()=>[l(U,{modelValue:e.value.type,"onUpdate:modelValue":t[4]||(t[4]=a=>e.value.type=a)},{default:r(()=>[l(m,{label:"纯展示",value:1}),l(m,{label:"文章",value:2}),l(m,{label:"房间",value:3}),l(m,{label:"用户主页",value:4}),l(m,{label:"外站",value:5})]),_:1},8,["modelValue"])]),_:1}),e.value.type===2?(i(),g(o,{key:0,label:"广告内容",prop:"content"},{default:r(()=>[l(P,{style:{border:"1px solid #ccc"},echoValue:e.value.content,onChangeValue:x},null,8,["echoValue"])]),_:1})):q("",!0),e.value.type===4?(i(),g(o,{key:1,label:"用户Id",prop:"aid"},{default:r(()=>[l(b,{modelValue:e.value.aid,"onUpdate:modelValue":t[5]||(t[5]=a=>e.value.aid=a),clearable:"",placeholder:"请输入对应用户Id"},null,8,["modelValue"])]),_:1})):q("",!0),e.value.type===3?(i(),g(o,{key:2,label:"房间Id",prop:"aid"},{default:r(()=>[l(b,{modelValue:e.value.aid,"onUpdate:modelValue":t[6]||(t[6]=a=>e.value.aid=a),clearable:"",placeholder:"请输入对应房间Id"},null,8,["modelValue"])]),_:1})):q("",!0),e.value.type===5?(i(),g(o,{key:3,label:"广告链接",prop:"url"},{default:r(()=>[l(b,{modelValue:e.value.url,"onUpdate:modelValue":t[7]||(t[7]=a=>e.value.url=a),clearable:"",placeholder:"请输入广告链接"},null,8,["modelValue"])]),_:1})):q("",!0),l(o,{label:"显示状态",prop:"show_status"},{default:r(()=>[l(U,{modelValue:e.value.show_status,"onUpdate:modelValue":t[8]||(t[8]=a=>e.value.show_status=a)},{default:r(()=>[l(m,{label:"正常",value:1}),l(m,{label:"隐藏",value:2})]),_:1},8,["modelValue"])]),_:1}),l(o,{label:"备注",prop:"remarks"},{default:r(()=>[l(b,{type:"textarea",placeholder:"请输入备注",modelValue:e.value.remarks,"onUpdate:modelValue":t[9]||(t[9]=a=>e.value.remarks=a),maxlength:"300","show-word-limit":""},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{K as _,A as a,J as d,G as e,z as q}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-CiHdOBSE.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-CiHdOBSE.js new file mode 100644 index 0000000..8f0c106 --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-CiHdOBSE.js @@ -0,0 +1 @@ +var x=(c,f,s)=>new Promise((v,m)=>{var g=t=>{try{d(s.next(t))}catch(p){m(p)}},e=t=>{try{d(s.throw(t))}catch(p){m(p)}},d=t=>t.done?v(t.value):Promise.resolve(t.value).then(g,e);d((s=s.apply(c,f)).next())});import{u as h}from"./index-An8nOBwL.js";import{b as L}from"./level-CSC0PShd.js";import{d as R,n as _,x as S,r as n,o as V,g as y,h as r,b as a,f as k,c as j,P as H,Q as N}from"./index-CRmU-Qpi.js";const Q=R({__name:"form",props:["formInline"],setup(c,{expose:f}){const s=_(),v=_({level:[{required:!0,message:"请输入等级",trigger:"blur"}],change_value:[{required:!0,message:"请输入财富值",trigger:"blur"}],coins:[{required:!0,message:"请输入奖励金币",trigger:"blur"}],image:[{required:!0,message:"请上传等级图标",trigger:"change"}],bg_image:[{required:!0,message:"请上传等级背景",trigger:"change"}],status:[{required:!0,message:"请选择状态",trigger:"change"}],gift_id:[{required:!0,message:"请输入等级特权",trigger:"blur"}],name:[{required:!0,message:"请输入等级名称",trigger:"blur"},{min:1,max:10,message:"长度在 1 到 10 个字符",trigger:"blur"}]}),m=_([]),g=c,e=_(g.formInline?g.formInline:{level:"",name:"",image:"",change_value:"",coins:"",status:"",gift_id:"",color:""});function d(){return s.value}function t(i){e.value.image=i.join(",")}function p(i){e.value.bg_image=i.join(",")}const F=()=>x(this,null,function*(){const{data:i,code:l}=yield L();m.value=l?[{id:0,title:"无"},...i.data]:[]});return S(()=>{F()}),f({getRef:d}),(i,l)=>{const b=n("el-input"),u=n("el-form-item"),U=n("el-input-number"),q=n("el-radio"),I=n("el-radio-group"),w=n("el-option"),B=n("el-select"),C=n("el-form");return V(),y(C,{ref_key:"ruleFormRef",ref:s,model:e.value,rules:v.value,"label-width":"120px"},{default:r(()=>[a(u,{label:"等级",prop:"level"},{default:r(()=>[a(b,{modelValue:e.value.level,"onUpdate:modelValue":l[0]||(l[0]=o=>e.value.level=o),clearable:"",placeholder:"请输入等级"},null,8,["modelValue"])]),_:1}),a(u,{label:"等级名称",prop:"name"},{default:r(()=>[a(b,{modelValue:e.value.name,"onUpdate:modelValue":l[1]||(l[1]=o=>e.value.name=o),clearable:"",placeholder:"请输入等级名称"},null,8,["modelValue"])]),_:1}),a(u,{label:"等级图标",prop:"image"},{default:r(()=>[a(h,{onHandleSuccess:t,limit:1,echoUrl:e.value.image},null,8,["echoUrl"])]),_:1}),a(u,{label:"等级背景",prop:"bg_image"},{default:r(()=>[a(h,{onHandleSuccess:p,limit:1,echoUrl:e.value.bg_image},null,8,["echoUrl"])]),_:1}),a(u,{label:"辅助色",prop:"color"},{default:r(()=>[a(b,{modelValue:e.value.color,"onUpdate:modelValue":l[2]||(l[2]=o=>e.value.color=o),clearable:"",placeholder:"请输入辅助色"},null,8,["modelValue"])]),_:1}),a(u,{label:"财富值",prop:"change_value"},{default:r(()=>[a(U,{modelValue:e.value.change_value,"onUpdate:modelValue":l[3]||(l[3]=o=>e.value.change_value=o),"controls-position":"right"},null,8,["modelValue"])]),_:1}),a(u,{label:"奖励金币",prop:"coins"},{default:r(()=>[a(U,{modelValue:e.value.coins,"onUpdate:modelValue":l[4]||(l[4]=o=>e.value.coins=o)},null,8,["modelValue"])]),_:1}),a(u,{label:"状态",prop:"status"},{default:r(()=>[a(I,{modelValue:e.value.status,"onUpdate:modelValue":l[5]||(l[5]=o=>e.value.status=o)},{default:r(()=>[a(q,{label:1},{default:r(()=>l[7]||(l[7]=[k("显示")])),_:1}),a(q,{label:2},{default:r(()=>l[8]||(l[8]=[k("隐藏")])),_:1})]),_:1},8,["modelValue"])]),_:1}),a(u,{label:"等级特权",prop:"gift_id"},{default:r(()=>[a(B,{modelValue:e.value.gift_id,"onUpdate:modelValue":l[6]||(l[6]=o=>e.value.gift_id=o),placeholder:"请选择等级特权"},{default:r(()=>[(V(!0),j(H,null,N(m.value,o=>(V(),y(w,{key:o.id,label:o.title,value:o.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{Q as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-CjBoEdbv.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-CjBoEdbv.js new file mode 100644 index 0000000..e5942e3 --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-CjBoEdbv.js @@ -0,0 +1 @@ +import{d as k,n,r,o as x,g as y,h as o,b as l,f as _}from"./index-CRmU-Qpi.js";const R=k({__name:"form",props:["formInline"],setup(d,{expose:f}){const u=n(),i=n({apply_status:[{required:!0,message:"请选择状态",trigger:"change"}]}),s=d,t=n(s.formInline?s.formInline:{remark:"",apply_status:""});function c(){return u.value}return f({getRef:c}),(b,e)=>{const m=r("el-radio"),g=r("el-radio-group"),p=r("el-form-item"),v=r("el-input"),V=r("el-form");return x(),y(V,{ref_key:"ruleFormRef",ref:u,model:t.value,rules:i.value,"label-width":"120px"},{default:o(()=>[l(p,{label:"审核状态",prop:"apply_status"},{default:o(()=>[l(g,{modelValue:t.value.apply_status,"onUpdate:modelValue":e[0]||(e[0]=a=>t.value.apply_status=a)},{default:o(()=>[l(m,{label:2},{default:o(()=>e[2]||(e[2]=[_("通过")])),_:1}),l(m,{label:3},{default:o(()=>e[3]||(e[3]=[_("拒绝")])),_:1})]),_:1},8,["modelValue"])]),_:1}),l(p,{label:"备注",prop:"remark"},{default:o(()=>[l(v,{type:"textarea",modelValue:t.value.remark,"onUpdate:modelValue":e[1]||(e[1]=a=>t.value.remark=a)},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{R as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-CjtOjwY0.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-CjtOjwY0.js new file mode 100644 index 0000000..c686325 --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-CjtOjwY0.js @@ -0,0 +1 @@ +import{d as h,n as i,r as o,o as _,c as I,b as e,h as t,f as n,T as s,g as C,U as F,P as R}from"./index-CRmU-Qpi.js";const U=h({__name:"form",props:["formInline"],setup(f,{expose:g}){const m=i(),v=i({status:[{required:!0,message:"请选择审核结果",trigger:"change"}],processing:[{required:!0,message:"处理意见为必填项",trigger:"blur"}]}),c=f,l=i(c.formInline?c.formInline:{status:"",deal_content:""});function b(){return m.value}return g({getRef:b}),(B,r)=>{const a=o("el-descriptions-item"),x=o("el-image"),w=o("el-descriptions"),p=o("el-radio"),V=o("el-radio-group"),d=o("el-form-item"),k=o("el-input"),y=o("el-form");return _(),I(R,null,[e(w,{border:"",title:"举报详情内容"},{default:t(()=>[e(a,{label:"用户ID"},{default:t(()=>[n(s(l.value.user_id),1)]),_:1}),e(a,{label:"用户名"},{default:t(()=>[n(s(l.value.nickname),1)]),_:1}),e(a,{label:"举报类型"},{default:t(()=>[n(s(l.value.type_name),1)]),_:1}),l.value.image?(_(),C(a,{key:0,label:"举报图片"},{default:t(()=>[e(x,{fit:"cover","preview-teleported":!0,src:l.value.image,"preview-src-list":Array.of(l.value.image),class:"w-[100px] h-[100px] align-middle"},null,8,["src","preview-src-list"])]),_:1})):F("",!0),e(a,{label:"举报内容"},{default:t(()=>[n(s(l.value.content),1)]),_:1})]),_:1}),e(y,{class:"mt-10",ref_key:"ruleFormRef",ref:m,model:l.value,rules:v.value,"label-width":"120px"},{default:t(()=>[e(d,{label:"审核结果",prop:"status"},{default:t(()=>[e(V,{modelValue:l.value.status,"onUpdate:modelValue":r[0]||(r[0]=u=>l.value.status=u)},{default:t(()=>[e(p,{label:"已处理",value:2}),e(p,{label:"已忽略",value:3})]),_:1},8,["modelValue"])]),_:1}),e(d,{label:"处理意见",prop:"processing"},{default:t(()=>[e(k,{type:"textarea","show-word-limit":"",maxlength:"300",modelValue:l.value.processing,"onUpdate:modelValue":r[1]||(r[1]=u=>l.value.processing=u),clearable:"",placeholder:"请输入处理意见"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])],64)}}});export{U as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-D50B9usK.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-D50B9usK.js new file mode 100644 index 0000000..1d8aa53 --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-D50B9usK.js @@ -0,0 +1 @@ +import{d as v,n as m,r as n,o as c,g as x,h as t,b as e}from"./index-CRmU-Qpi.js";const q=v({__name:"form",props:["formInline"],setup(i,{expose:f}){const d=m(),_=m({title:[{required:!0,message:"请输入新人礼包标题",trigger:"blur"}],money:[{required:!0,message:"请输入价值",trigger:"blur"}],status:[{required:!0,message:"请选择状态",trigger:"change"}],name:[{required:!0,message:"请输入新人礼包名称",trigger:"blur"},{min:1,max:10,message:"长度在 1 到 10 个字符",trigger:"blur"}]}),s=i,l=m(s.formInline?s.formInline:{name:"",title:"",status:"",title1:"",title2:"",money:""});function g(){return d.value}return f({getRef:g}),(y,o)=>{const u=n("el-input"),r=n("el-form-item"),p=n("el-radio"),b=n("el-radio-group"),V=n("el-form");return c(),x(V,{ref_key:"ruleFormRef",ref:d,model:l.value,rules:_.value,"label-width":"120px"},{default:t(()=>[e(r,{label:"新人礼包名称",prop:"name"},{default:t(()=>[e(u,{modelValue:l.value.name,"onUpdate:modelValue":o[0]||(o[0]=a=>l.value.name=a),clearable:"",placeholder:"请输入新人礼包名称"},null,8,["modelValue"])]),_:1}),e(r,{label:"新人礼包标题",prop:"title"},{default:t(()=>[e(u,{modelValue:l.value.title,"onUpdate:modelValue":o[1]||(o[1]=a=>l.value.title=a),clearable:"",placeholder:"请输入新人礼包标题"},null,8,["modelValue"])]),_:1}),e(r,{label:"副标题1",prop:"title1"},{default:t(()=>[e(u,{modelValue:l.value.title1,"onUpdate:modelValue":o[2]||(o[2]=a=>l.value.title1=a),clearable:"",placeholder:"请输入副标题1"},null,8,["modelValue"])]),_:1}),e(r,{label:"副标题2",prop:"title2"},{default:t(()=>[e(u,{modelValue:l.value.title2,"onUpdate:modelValue":o[3]||(o[3]=a=>l.value.title2=a),clearable:"",placeholder:"请输入副标题2"},null,8,["modelValue"])]),_:1}),e(r,{label:"价值(元)",prop:"money"},{default:t(()=>[e(u,{modelValue:l.value.money,"onUpdate:modelValue":o[4]||(o[4]=a=>l.value.money=a),clearable:"",placeholder:"请输入价值(元)"},null,8,["modelValue"])]),_:1}),e(r,{label:"状态",prop:"status"},{default:t(()=>[e(b,{modelValue:l.value.status,"onUpdate:modelValue":o[5]||(o[5]=a=>l.value.status=a)},{default:t(()=>[e(p,{label:"开启",value:1}),e(p,{label:"关闭",value:0})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{q as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-DBByDkeo.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-DBByDkeo.js new file mode 100644 index 0000000..b44ca18 --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-DBByDkeo.js @@ -0,0 +1 @@ +import{d as v,n as m,r as n,o as c,g as x,h as t,b as e}from"./index-CRmU-Qpi.js";const q=v({__name:"form",props:["formInline"],setup(i,{expose:f}){const d=m(),_=m({title:[{required:!0,message:"请输入首充标题",trigger:"blur"}],money:[{required:!0,message:"请输入价值",trigger:"blur"}],status:[{required:!0,message:"请选择状态",trigger:"change"}],name:[{required:!0,message:"请输入首充名称",trigger:"blur"},{min:1,max:10,message:"长度在 1 到 10 个字符",trigger:"blur"}]}),s=i,l=m(s.formInline?s.formInline:{name:"",title:"",status:"",title1:"",title2:"",money:""});function g(){return d.value}return f({getRef:g}),(y,o)=>{const u=n("el-input"),r=n("el-form-item"),p=n("el-radio"),b=n("el-radio-group"),V=n("el-form");return c(),x(V,{ref_key:"ruleFormRef",ref:d,model:l.value,rules:_.value,"label-width":"120px"},{default:t(()=>[e(r,{label:"首充名称",prop:"name"},{default:t(()=>[e(u,{modelValue:l.value.name,"onUpdate:modelValue":o[0]||(o[0]=a=>l.value.name=a),clearable:"",placeholder:"请输入首充名称"},null,8,["modelValue"])]),_:1}),e(r,{label:"首充标题",prop:"title"},{default:t(()=>[e(u,{modelValue:l.value.title,"onUpdate:modelValue":o[1]||(o[1]=a=>l.value.title=a),clearable:"",placeholder:"请输入首充标题"},null,8,["modelValue"])]),_:1}),e(r,{label:"副标题1",prop:"title1"},{default:t(()=>[e(u,{modelValue:l.value.title1,"onUpdate:modelValue":o[2]||(o[2]=a=>l.value.title1=a),clearable:"",placeholder:"请输入副标题1"},null,8,["modelValue"])]),_:1}),e(r,{label:"副标题2",prop:"title2"},{default:t(()=>[e(u,{modelValue:l.value.title2,"onUpdate:modelValue":o[3]||(o[3]=a=>l.value.title2=a),clearable:"",placeholder:"请输入副标题2"},null,8,["modelValue"])]),_:1}),e(r,{label:"价值(元)",prop:"money"},{default:t(()=>[e(u,{modelValue:l.value.money,"onUpdate:modelValue":o[4]||(o[4]=a=>l.value.money=a),clearable:"",placeholder:"请输入价值(元)"},null,8,["modelValue"])]),_:1}),e(r,{label:"状态",prop:"status"},{default:t(()=>[e(b,{modelValue:l.value.status,"onUpdate:modelValue":o[5]||(o[5]=a=>l.value.status=a)},{default:t(()=>[e(p,{label:"开启",value:1}),e(p,{label:"关闭",value:0})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{q as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-DMF49foQ.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-DMF49foQ.js new file mode 100644 index 0000000..e30810b --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-DMF49foQ.js @@ -0,0 +1 @@ +import{d as y,n as m,r as u,o as x,g as U,h as t,b as e}from"./index-CRmU-Qpi.js";const w=y({__name:"form",props:["formInline"],setup(p,{expose:_}){const d=m(),f=m({title:[{required:!0,message:"请输入标题",trigger:"blur"}],money:[{required:!0,message:"请输入充值金额",trigger:"blur"}],money_str:[{required:!0,message:"请输入充值金额显示文字",trigger:"blur"}],diamond:[{required:!0,message:"请输入所得金币文字",trigger:"blur"}],counter:[{required:!0,message:"请输入介绍内容",trigger:"blur"}],status:[{required:!0,message:"请选择状态",trigger:"change"}],name:[{required:!0,message:"请输入名称",trigger:"blur"},{min:1,max:10,message:"长度在 1 到 10 个字符",trigger:"blur"}]}),s=p,l=m(s.formInline?s.formInline:{name:"",title:"",status:"",title1:"",title2:"",money:""});function g(){return d.value}return _({getRef:g}),(Y,o)=>{const n=u("el-input"),r=u("el-form-item"),i=u("el-radio"),b=u("el-radio-group"),v=u("el-input-number"),V=u("el-date-picker"),c=u("el-form");return x(),U(c,{ref_key:"ruleFormRef",ref:d,model:l.value,rules:f.value,"label-width":"150px"},{default:t(()=>[e(r,{label:"名称",prop:"name"},{default:t(()=>[e(n,{modelValue:l.value.name,"onUpdate:modelValue":o[0]||(o[0]=a=>l.value.name=a),clearable:"",placeholder:"请输入名称"},null,8,["modelValue"])]),_:1}),e(r,{label:"标题",prop:"title"},{default:t(()=>[e(n,{modelValue:l.value.title,"onUpdate:modelValue":o[1]||(o[1]=a=>l.value.title=a),clearable:"",placeholder:"请输入标题"},null,8,["modelValue"])]),_:1}),e(r,{label:"状态",prop:"status"},{default:t(()=>[e(b,{modelValue:l.value.status,"onUpdate:modelValue":o[2]||(o[2]=a=>l.value.status=a)},{default:t(()=>[e(i,{label:"开启",value:1}),e(i,{label:"关闭",value:0})]),_:1},8,["modelValue"])]),_:1}),e(r,{label:"介绍内容",prop:"counter"},{default:t(()=>[e(n,{type:"textarea",placeholder:"请输入介绍内容",modelValue:l.value.counter,"onUpdate:modelValue":o[3]||(o[3]=a=>l.value.counter=a),maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),_:1}),e(r,{label:"充值金额",prop:"money"},{default:t(()=>[e(v,{modelValue:l.value.money,"onUpdate:modelValue":o[4]||(o[4]=a=>l.value.money=a),min:1,max:1e5,label:"请输入充值金额"},null,8,["modelValue"])]),_:1}),e(r,{label:"充值金额显示文字",prop:"money_str"},{default:t(()=>[e(n,{modelValue:l.value.money_str,"onUpdate:modelValue":o[5]||(o[5]=a=>l.value.money_str=a),clearable:"",placeholder:"请输入充值金额显示文字"},null,8,["modelValue"])]),_:1}),e(r,{label:"所得金币文字",prop:"diamond"},{default:t(()=>[e(n,{modelValue:l.value.diamond,"onUpdate:modelValue":o[6]||(o[6]=a=>l.value.diamond=a),clearable:"",placeholder:"请输入所得金币文字"},null,8,["modelValue"])]),_:1}),e(r,{label:"活动结束时间",prop:"activity_end_time"},{default:t(()=>[e(V,{style:{width:"100%"},clearable:"",modelValue:l.value.activity_end_time,"onUpdate:modelValue":o[7]||(o[7]=a=>l.value.activity_end_time=a),type:"datetime",placeholder:"请选择活动结束时间",format:"YYYY-MM-DD HH:mm:ss","value-format":"YYYY-MM-DD HH:mm:ss"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{w as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-DOzyNmG6.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-DOzyNmG6.js new file mode 100644 index 0000000..504457d --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-DOzyNmG6.js @@ -0,0 +1 @@ +import{d as g,n as o,r as n,o as b,g as v,h as a,b as m}from"./index-CRmU-Qpi.js";const R=g({__name:"form",props:["formInline"],setup(s,{expose:u}){const r=o(),_=o({tag_name:[{required:!0,message:"请输入标签名称",trigger:"blur"},{min:1,max:10,message:"长度在 1 到 10 个字符",trigger:"blur"}]}),l=s,e=o(l.formInline?l.formInline:{tag_name:""});function f(){return r.value}return u({getRef:f}),(x,t)=>{const p=n("el-input"),c=n("el-form-item"),i=n("el-form");return b(),v(i,{ref_key:"ruleFormRef",ref:r,model:e.value,rules:_.value,"label-width":"120px"},{default:a(()=>[m(c,{label:"标签名称",prop:"tag_name"},{default:a(()=>[m(p,{modelValue:e.value.tag_name,"onUpdate:modelValue":t[0]||(t[0]=d=>e.value.tag_name=d),clearable:"",placeholder:"请输入标签名称"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{R as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-DSh6_f4W.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-DSh6_f4W.js new file mode 100644 index 0000000..369dff0 --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-DSh6_f4W.js @@ -0,0 +1 @@ +import{u as c}from"./index-An8nOBwL.js";import{d as U,n as s,r,o as q,g as F,h as a,b as e,f as d}from"./index-CRmU-Qpi.js";const k=U({__name:"form",props:["formInline"],setup(p,{expose:f}){const m=s(),b=s({status:[{required:!0,message:"请选择状态",trigger:"change"}],label_icon:[{required:!0,message:"请上传图标",trigger:"change"}],label_icon_room:[{required:!0,message:"请上传房间内展示图标",trigger:"change"}],label_name:[{required:!0,message:"请输入标签名称",trigger:"blur"},{min:1,max:10,message:"长度在 1 到 10 个字符",trigger:"blur"}]}),i=p,l=s(i.formInline?i.formInline:{label_name:"",status:""});function g(){return m.value}function v(n){l.value.label_icon=n.join(",")}function V(n){l.value.label_icon_room=n.join(",")}return f({getRef:g}),(n,o)=>{const x=r("el-input"),t=r("el-form-item"),_=r("el-radio"),h=r("el-radio-group"),I=r("el-form");return q(),F(I,{ref_key:"ruleFormRef",ref:m,model:l.value,rules:b.value,"label-width":"120px"},{default:a(()=>[e(t,{label:"标签名称",prop:"label_name"},{default:a(()=>[e(x,{modelValue:l.value.label_name,"onUpdate:modelValue":o[0]||(o[0]=u=>l.value.label_name=u),clearable:"",placeholder:"请输入分类名称"},null,8,["modelValue"])]),_:1}),e(t,{label:"标签状态",prop:"status"},{default:a(()=>[e(h,{modelValue:l.value.status,"onUpdate:modelValue":o[1]||(o[1]=u=>l.value.status=u)},{default:a(()=>[e(_,{label:1},{default:a(()=>o[2]||(o[2]=[d("显示")])),_:1}),e(_,{label:2},{default:a(()=>o[3]||(o[3]=[d("隐藏")])),_:1})]),_:1},8,["modelValue"])]),_:1}),e(t,{label:"标签图标",prop:"label_icon"},{default:a(()=>[e(c,{onHandleSuccess:v,limit:1,echoUrl:l.value.label_icon},null,8,["echoUrl"])]),_:1}),e(t,{label:"房间内图标",prop:"label_icon_room"},{default:a(()=>[e(c,{onHandleSuccess:V,limit:1,echoUrl:l.value.label_icon_room},null,8,["echoUrl"])]),_:1})]),_:1},8,["model","rules"])}}});export{k as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-DWbiX_hV.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-DWbiX_hV.js new file mode 100644 index 0000000..0d6e8aa --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-DWbiX_hV.js @@ -0,0 +1 @@ +import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";import{d as b,n as u,r as a,o as h,g as x,h as r,b as l}from"./index-CRmU-Qpi.js";const R=b({__name:"form",props:["formInline"],setup(c,{expose:d}){const m=u(),f=u({content:[{required:!0,message:"内容为必填项",trigger:"blur"}],url:[{required:!0,message:"请输入文章跳转链接",trigger:"blur"}],title:[{required:!0,message:"请输入标题",trigger:"blur"}]}),s=c,e=u(s.formInline?s.formInline:{title:"",content:"",url:""});function _(){return m.value}function g(i){e.value.content=i}return d({getRef:_}),(i,o)=>{const p=a("el-input"),t=a("el-form-item"),V=a("el-form");return h(),x(V,{ref_key:"ruleFormRef",ref:m,model:e.value,rules:f.value,"label-width":"120px"},{default:r(()=>[l(t,{label:"标题",prop:"title"},{default:r(()=>[l(p,{modelValue:e.value.title,"onUpdate:modelValue":o[0]||(o[0]=n=>e.value.title=n),placeholder:"请输入标题"},null,8,["modelValue"])]),_:1}),l(t,{label:"文章跳转链接",prop:"url"},{default:r(()=>[l(p,{modelValue:e.value.url,"onUpdate:modelValue":o[1]||(o[1]=n=>e.value.url=n),placeholder:"请输入文章跳转链接"},null,8,["modelValue"])]),_:1}),l(t,{label:"内容",prop:"content"},{default:r(()=>[l(v,{style:{border:"1px solid #ccc"},echoValue:e.value.content,onChangeValue:g},null,8,["echoValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{R as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-DWkvuK7p.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-DWkvuK7p.js new file mode 100644 index 0000000..753287e --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-DWkvuK7p.js @@ -0,0 +1 @@ +import{u as v}from"./index-An8nOBwL.js";import{d as V,n as i,r as n,o as I,g as x,h as r,b as l}from"./index-CRmU-Qpi.js";const q=V({__name:"form",props:["formInline"],setup(_,{expose:g}){const t=i(),p=i({user_id:[{required:!0,message:"请输入会长ID",trigger:"blur"}],guild_desc:[{required:!0,message:"请输入公会介绍",trigger:"blur"}],guild_logo:[{required:!0,message:"请输入公会封面",trigger:"change"}],guild_name:[{required:!0,message:"请输入公会名称",trigger:"blur"},{min:1,max:10,message:"长度在 1 到 10 个字符",trigger:"blur"}]}),s=_,e=i(s.formInline?s.formInline:{guild_special_id:"",user_id:"",guild_name:"",guild_desc:"",guild_logo:""});function c(){return t.value}function f(m){e.value.guild_logo=m.join(",")}return g({getRef:c}),(m,u)=>{const d=n("el-input"),a=n("el-form-item"),b=n("el-form");return I(),x(b,{ref_key:"ruleFormRef",ref:t,model:e.value,rules:p.value,"label-width":"120px"},{default:r(()=>[l(a,{label:"会长ID",prop:"user_id"},{default:r(()=>[l(d,{modelValue:e.value.user_id,"onUpdate:modelValue":u[0]||(u[0]=o=>e.value.user_id=o),clearable:"",placeholder:"请输入会长ID"},null,8,["modelValue"])]),_:1}),l(a,{label:"公会靓号",prop:"guild_special_id"},{default:r(()=>[l(d,{modelValue:e.value.guild_special_id,"onUpdate:modelValue":u[1]||(u[1]=o=>e.value.guild_special_id=o),clearable:"",placeholder:"请输入公会靓号"},null,8,["modelValue"])]),_:1}),l(a,{label:"公会名称",prop:"guild_name"},{default:r(()=>[l(d,{modelValue:e.value.guild_name,"onUpdate:modelValue":u[2]||(u[2]=o=>e.value.guild_name=o),clearable:"",placeholder:"请输入公会名称"},null,8,["modelValue"])]),_:1}),l(a,{label:"公会介绍",prop:"guild_desc"},{default:r(()=>[l(d,{modelValue:e.value.guild_desc,"onUpdate:modelValue":u[3]||(u[3]=o=>e.value.guild_desc=o),type:"textarea",clearable:"",placeholder:"请输入公会介绍"},null,8,["modelValue"])]),_:1}),l(a,{label:"公会封面",prop:"guild_logo"},{default:r(()=>[l(v,{onHandleSuccess:f,limit:1,echoUrl:e.value.guild_logo},null,8,["echoUrl"])]),_:1})]),_:1},8,["model","rules"])}}});export{q as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-DXbOk4OV.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-DXbOk4OV.js new file mode 100644 index 0000000..8743b28 --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-DXbOk4OV.js @@ -0,0 +1 @@ +import{d as F,n as d,r,o as s,g as I,h as o,b as a,c as b,P as f,Q as V,f as k}from"./index-CRmU-Qpi.js";const C=F({__name:"form",props:["formInline"],setup(y,{expose:q}){const m=d(),c=d({task_type:[{required:!0,message:"请选择任务类型",trigger:"change"}],bag_id:[{required:!0,message:"请选择礼盒配置",trigger:"change"}],task_name:[{required:!0,message:"请输入任务名称",trigger:"blur"}],gold_reward:[{required:!0,message:"请输入获得金币数量",trigger:"blur"}],target_quantity:[{required:!0,message:"请输入获得目标完成数量",trigger:"blur"}],sort:[{required:!0,message:"请输入排序",trigger:"blur"}]}),p=y,t=d(p.formInline?p.formInline:{task_name:"",task_type:1,task_description:"",icon:"",gold_reward:1,target_quantity:1,sort:1,bag_id:0,is_active:1});function w(){return m.value}return q({getRef:w}),(R,l)=>{const _=r("el-input"),u=r("el-form-item"),i=r("el-option"),g=r("el-select"),n=r("el-input-number"),v=r("el-radio"),U=r("el-radio-group"),x=r("el-form");return s(),I(x,{ref_key:"ruleFormRef",ref:m,model:t.value,rules:c.value,"label-width":"120px"},{default:o(()=>[a(u,{label:"任务名称",prop:"task_name"},{default:o(()=>[a(_,{modelValue:t.value.task_name,"onUpdate:modelValue":l[0]||(l[0]=e=>t.value.task_name=e)},null,8,["modelValue"])]),_:1}),a(u,{label:"任务类型",prop:"task_type"},{default:o(()=>[a(g,{modelValue:t.value.task_type,"onUpdate:modelValue":l[1]||(l[1]=e=>t.value.task_type=e),placeholder:"请选择"},{default:o(()=>[(s(),b(f,null,V([{value:1,label:"每日任务"},{value:2,label:"每日特殊任务"},{value:3,label:"平台常规任务"}],e=>a(i,{key:e.value,label:e.label,value:e.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),a(u,{label:"任务详细描述",prop:"task_description"},{default:o(()=>[a(_,{modelValue:t.value.task_description,"onUpdate:modelValue":l[2]||(l[2]=e=>t.value.task_description=e),type:"textarea",rows:2},null,8,["modelValue"])]),_:1}),a(u,{label:"获得金币数量",prop:"gold_reward"},{default:o(()=>[a(n,{modelValue:t.value.gold_reward,"onUpdate:modelValue":l[3]||(l[3]=e=>t.value.gold_reward=e)},null,8,["modelValue"])]),_:1}),a(u,{label:"目标完成数量",prop:"target_quantity"},{default:o(()=>[a(n,{modelValue:t.value.target_quantity,"onUpdate:modelValue":l[4]||(l[4]=e=>t.value.target_quantity=e)},null,8,["modelValue"])]),_:1}),a(u,{label:"礼盒",prop:"bag_id"},{default:o(()=>[a(g,{modelValue:t.value.bag_id,"onUpdate:modelValue":l[5]||(l[5]=e=>t.value.bag_id=e),placeholder:"请选择"},{default:o(()=>[(s(),b(f,null,V([{value:0,label:"不配置礼盒"},{value:1,label:"初级礼盒"},{value:2,label:"高级礼盒"}],e=>a(i,{key:e.value,label:e.label,value:e.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),a(u,{label:"排序",prop:"sort"},{default:o(()=>[a(n,{modelValue:t.value.target_quantity,"onUpdate:modelValue":l[6]||(l[6]=e=>t.value.target_quantity=e)},null,8,["modelValue"])]),_:1}),a(u,{label:"是否激活",prop:"is_active"},{default:o(()=>[a(U,{modelValue:t.value.is_active,"onUpdate:modelValue":l[7]||(l[7]=e=>t.value.is_active=e)},{default:o(()=>[a(v,{label:1},{default:o(()=>l[8]||(l[8]=[k("激活")])),_:1}),a(v,{label:2},{default:o(()=>l[9]||(l[9]=[k("未激活")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{C as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-Dd4jek5-.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-Dd4jek5-.js new file mode 100644 index 0000000..f7b3fba --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-Dd4jek5-.js @@ -0,0 +1 @@ +var T=(y,h,m)=>new Promise((k,c)=>{var n=r=>{try{e(m.next(r))}catch(_){c(_)}},f=r=>{try{e(m.throw(r))}catch(_){c(_)}},e=r=>r.done?k(r.value):Promise.resolve(r.value).then(n,f);e((m=m.apply(y,h)).next())});import{g as E,_ as M}from"./selectUser.vue_vue_type_script_setup_true_lang-BPFKGfKn.js";import{d as $,n as p,x as A,r as d,o as s,g as b,h as t,b as l,c as g,P as V,Q as q,T as H,U as R,u as w,f as K,aK as O,ag as P}from"./index-CRmU-Qpi.js";import{u as Q}from"./hooks-ItYVRz1P.js";import{d as z}from"./add-circle-line-DOJqVT3s.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";import{u as G}from"./index-An8nOBwL.js";const J={key:0,class:"mr-5"},ae=$({__name:"form",props:["formInline"],setup(y,{expose:h}){const m=p(),k=p({title:[{required:!0,message:"消息标题为必填项",trigger:"blur"}],content:[{required:!0,message:"消息内容为必填项",trigger:"blur"}],url:[{required:!0,message:"活动链接为必填项",trigger:"blur"}],room_id:[{required:!0,message:"请选择推荐房间",trigger:"change"}],type:[{required:!0,message:"请选择消息类型",trigger:"change"}],image:[{required:!0,message:"请上传消息图片",trigger:"change"}]}),c=p(null),n=p([]),f=y,e=p(f.formInline?f.formInline:{title:"",content:"",url:"",type:3,room_id:"",receiving_id:"",messageType:1}),r=p([]),_=()=>T(this,null,function*(){const{code:i,data:a}=yield E();r.value=i?a:[]});function L(){return m.value}function U(i){e.value.content=i}function D(i){e.value.image=i.join(",")}function S(){O({title:"关联用户",width:"40%",props:{userList:n.value},closeOnClickModal:!1,contentRenderer:()=>P(M,{ref:c,formInline:null}),beforeSure:(i,{options:a})=>{n.value=c.value.getRef(),e.value.receiving_id=n.value.length?n.value.map(v=>v.id).join(","):[],i()}})}return A(()=>{e.value.receiving_id&&(n.value=e.value.receiving_id.split(",")),_()}),h({getRef:L}),(i,a)=>{const v=d("el-option"),x=d("el-select"),u=d("el-form-item"),C=d("el-input"),B=d("el-button"),I=d("el-radio"),N=d("el-radio-group"),j=d("el-form");return s(),b(j,{ref_key:"ruleFormRef",ref:m,model:e.value,rules:k.value,"label-width":"120px"},{default:t(()=>[l(u,{label:"消息栏目",prop:"messageType"},{default:t(()=>[l(x,{modelValue:e.value.messageType,"onUpdate:modelValue":a[0]||(a[0]=o=>e.value.messageType=o),placeholder:"请选择"},{default:t(()=>[(s(),g(V,null,q([{value:1,label:"系统消息"},{value:2,label:"官方公告"}],o=>l(v,{key:o.value,label:o.label,value:o.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),e.value.messageType===1?(s(),g(V,{key:0},[l(u,{label:"消息标题",prop:"title"},{default:t(()=>[l(C,{modelValue:e.value.title,"onUpdate:modelValue":a[1]||(a[1]=o=>e.value.title=o),clearable:"",placeholder:"请输入消息标题"},null,8,["modelValue"])]),_:1}),l(u,{label:"接收对象",prop:"receiving_id"},{default:t(()=>[n.value.length?(s(),g("span",J,"已选择关联"+H(n.value.length)+"个用户",1)):R("",!0),l(B,{icon:w(Q)(w(z)),onClick:S},{default:t(()=>a[5]||(a[5]=[K("关联用户")])),_:1},8,["icon"])]),_:1}),l(u,{label:"消息内容",prop:"content"},{default:t(()=>[l(F,{style:{border:"1px solid #ccc"},echoValue:e.value.content,onChangeValue:U},null,8,["echoValue"])]),_:1})],64)):(s(),g(V,{key:1},[l(u,{label:"消息类型",prop:"type"},{default:t(()=>[l(N,{modelValue:e.value.type,"onUpdate:modelValue":a[2]||(a[2]=o=>e.value.type=o)},{default:t(()=>[l(I,{label:"房间推荐",value:3}),l(I,{label:"活动公告",value:4})]),_:1},8,["modelValue"])]),_:1}),e.value.type===3?(s(),b(u,{key:0,label:"推荐房间ID",prop:"room_id"},{default:t(()=>[l(x,{modelValue:e.value.room_id,"onUpdate:modelValue":a[3]||(a[3]=o=>e.value.room_id=o),placeholder:"请选择推荐房间"},{default:t(()=>[(s(!0),g(V,null,q(r.value,o=>(s(),b(v,{key:o.room_id,label:o.room_name,value:o.room_id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):R("",!0),l(u,{label:"消息图片",prop:"image"},{default:t(()=>[l(G,{onHandleSuccess:D,limit:1,echoUrl:e.value.image},null,8,["echoUrl"])]),_:1}),l(u,{label:"消息内容",prop:"content"},{default:t(()=>[l(F,{style:{border:"1px solid #ccc"},echoValue:e.value.content,onChangeValue:U},null,8,["echoValue"])]),_:1}),e.value.type===4?(s(),b(u,{key:1,label:"活动链接",prop:"url"},{default:t(()=>[l(C,{modelValue:e.value.url,"onUpdate:modelValue":a[4]||(a[4]=o=>e.value.url=o),clearable:"",placeholder:"请输入活动链接"},null,8,["modelValue"])]),_:1})):R("",!0)],64))]),_:1},8,["model","rules"])}}});export{ae as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-DeQXcNsI.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-DeQXcNsI.js new file mode 100644 index 0000000..fb00c9a --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-DeQXcNsI.js @@ -0,0 +1 @@ +import{d as x,n as p,r as n,o as k,g as y,h as u,b as e}from"./index-CRmU-Qpi.js";const I=x({__name:"form",props:["formInline"],setup(_,{expose:f}){const i=p(),v=p({}),s=_,l=p(s.formInline?s.formInline:{real_name:"",card_id:"",birthday:"",status:"",profile:"",init_code:"",sex:0,is_real:0});function b(){return i.value}return f({getRef:b}),(c,a)=>{const r=n("el-input"),d=n("el-form-item"),t=n("el-radio"),m=n("el-radio-group"),V=n("el-date-picker"),U=n("el-form");return k(),y(U,{ref_key:"ruleFormRef",ref:i,model:l.value,rules:v.value,"label-width":"120px"},{default:u(()=>[e(d,{label:"手机号码",prop:"mobile"},{default:u(()=>[e(r,{modelValue:l.value.mobile,"onUpdate:modelValue":a[0]||(a[0]=o=>l.value.mobile=o),disabled:""},null,8,["modelValue"])]),_:1}),e(d,{label:"用户昵称",prop:"nickname"},{default:u(()=>[e(r,{modelValue:l.value.nickname,"onUpdate:modelValue":a[1]||(a[1]=o=>l.value.nickname=o)},null,8,["modelValue"])]),_:1}),e(d,{label:"性别",prop:"sex"},{default:u(()=>[e(m,{modelValue:l.value.sex,"onUpdate:modelValue":a[2]||(a[2]=o=>l.value.sex=o)},{default:u(()=>[e(t,{label:"保密",value:null}),e(t,{label:"男",value:1}),e(t,{label:"女",value:0})]),_:1},8,["modelValue"])]),_:1}),e(d,{label:"生日",prop:"birthday"},{default:u(()=>[e(V,{modelValue:l.value.birthday,"onUpdate:modelValue":a[3]||(a[3]=o=>l.value.birthday=o),type:"date",placeholder:"选择日期"},null,8,["modelValue"])]),_:1}),e(d,{label:"个性签名",prop:"profile"},{default:u(()=>[e(r,{modelValue:l.value.profile,"onUpdate:modelValue":a[4]||(a[4]=o=>l.value.profile=o),clearable:"",placeholder:"请输入个性签名"},null,8,["modelValue"])]),_:1}),e(d,{label:"真实姓名",prop:"real_name"},{default:u(()=>[e(r,{modelValue:l.value.real_name,"onUpdate:modelValue":a[5]||(a[5]=o=>l.value.real_name=o),clearable:"",placeholder:"请输入真实姓名"},null,8,["modelValue"])]),_:1}),e(d,{label:"身份证号",prop:"card_id"},{default:u(()=>[e(r,{modelValue:l.value.card_id,"onUpdate:modelValue":a[6]||(a[6]=o=>l.value.card_id=o),clearable:"",placeholder:"请输入身份证号"},null,8,["modelValue"])]),_:1}),e(d,{label:"邀请码",prop:"init_code"},{default:u(()=>[e(r,{modelValue:l.value.init_code,"onUpdate:modelValue":a[7]||(a[7]=o=>l.value.init_code=o),clearable:"",placeholder:"请输入邀请码"},null,8,["modelValue"])]),_:1}),e(d,{label:"是否实名",prop:"is_real"},{default:u(()=>[e(m,{modelValue:l.value.is_real,"onUpdate:modelValue":a[8]||(a[8]=o=>l.value.is_real=o)},{default:u(()=>[e(t,{label:"已实名",value:1}),e(t,{label:"未实名",value:0})]),_:1},8,["modelValue"])]),_:1}),e(d,{label:"登录状态",prop:"status"},{default:u(()=>[e(m,{modelValue:l.value.status,"onUpdate:modelValue":a[9]||(a[9]=o=>l.value.status=o)},{default:u(()=>[e(t,{label:"正常",value:1}),e(t,{label:"禁止登录",value:2})]),_:1},8,["modelValue"])]),_:1}),e(d,{label:"开通红包功能",prop:"red_status"},{default:u(()=>[e(m,{modelValue:l.value.red_status,"onUpdate:modelValue":a[10]||(a[10]=o=>l.value.red_status=o)},{default:u(()=>[e(t,{label:"开启",value:1}),e(t,{label:"禁止",value:0})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{I as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-De_iThI9.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-De_iThI9.js new file mode 100644 index 0000000..9db311f --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-De_iThI9.js @@ -0,0 +1 @@ +import{_ as w}from"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";import{d as q,n as m,r as n,o as y,g as x,h as r,b as e}from"./index-CRmU-Qpi.js";const C=q({__name:"form",props:["formInline"],setup(c,{expose:v}){const p=m(),_=m({version:[{required:!0,message:"版本号为必填项",trigger:"blur"}],version_code:[{required:!0,message:"code码为必填项",trigger:"blur"}],content:[{required:!0,message:"更新内容为必填项",trigger:"blur"}],downloadurl:[{required:!0,message:"下载链接为必填项",trigger:"blur"}],type:[{required:!0,message:"请选择类型",trigger:"change"}],enforce:[{required:!0,message:"请选择",trigger:"change"}],status:[{required:!0,message:"请选择",trigger:"change"}]}),i=c,l=m(i.formInline?i.formInline:{version:"",content:"",downloadurl:"",type:"",version_code:"",enforce:"",status:""});function g(){return p.value}function b(f){l.value.content=f}return v({getRef:g}),(f,o)=>{const d=n("el-input"),u=n("el-form-item"),t=n("el-radio"),s=n("el-radio-group"),V=n("el-form");return y(),x(V,{ref_key:"ruleFormRef",ref:p,model:l.value,rules:_.value,"label-width":"120px"},{default:r(()=>[e(u,{label:"版本号",prop:"version"},{default:r(()=>[e(d,{modelValue:l.value.version,"onUpdate:modelValue":o[0]||(o[0]=a=>l.value.version=a),clearable:"",placeholder:"请输入版本号"},null,8,["modelValue"])]),_:1}),e(u,{label:"code码",prop:"version_code"},{default:r(()=>[e(d,{modelValue:l.value.version_code,"onUpdate:modelValue":o[1]||(o[1]=a=>l.value.version_code=a),clearable:"",placeholder:"请输入code码"},null,8,["modelValue"])]),_:1}),e(u,{label:"类型",prop:"type"},{default:r(()=>[e(s,{modelValue:l.value.type,"onUpdate:modelValue":o[2]||(o[2]=a=>l.value.type=a)},{default:r(()=>[e(t,{label:"安卓",value:1}),e(t,{label:"IOS",value:2})]),_:1},8,["modelValue"])]),_:1}),e(u,{label:"下载链接",prop:"downloadurl"},{default:r(()=>[e(d,{modelValue:l.value.downloadurl,"onUpdate:modelValue":o[3]||(o[3]=a=>l.value.downloadurl=a),clearable:"",placeholder:"请输入下载链接"},null,8,["modelValue"])]),_:1}),e(u,{label:"更新内容",prop:"content"},{default:r(()=>[e(w,{style:{border:"1px solid #ccc"},echoValue:l.value.content,onChangeValue:b},null,8,["echoValue"])]),_:1}),e(u,{label:"强制更新",prop:"enforce"},{default:r(()=>[e(s,{modelValue:l.value.enforce,"onUpdate:modelValue":o[4]||(o[4]=a=>l.value.enforce=a)},{default:r(()=>[e(t,{label:"是",value:1}),e(t,{label:"否",value:0})]),_:1},8,["modelValue"])]),_:1}),e(u,{label:"状态",prop:"status"},{default:r(()=>[e(s,{modelValue:l.value.status,"onUpdate:modelValue":o[5]||(o[5]=a=>l.value.status=a)},{default:r(()=>[e(t,{label:"待发布",value:0}),e(t,{label:"已发布",value:1}),e(t,{label:"禁用",value:2})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{C as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-DgHrOfP6.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-DgHrOfP6.js new file mode 100644 index 0000000..9113832 --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-DgHrOfP6.js @@ -0,0 +1 @@ +var V=(g,c,n)=>new Promise((d,m)=>{var p=r=>{try{i(n.next(r))}catch(s){m(s)}},l=r=>{try{i(n.throw(r))}catch(s){m(s)}},i=r=>r.done?d(r.value):Promise.resolve(r.value).then(p,l);i((n=n.apply(g,c)).next())});import{h as F}from"./blindBox-BqHhL4EW.js";import{d as I,n as f,x as L,r as u,o as w,g as y,h as a,b as t,c as R,P as U,Q as C,f as q}from"./index-CRmU-Qpi.js";const G=I({__name:"form",props:["formInline"],setup(g,{expose:c}){const n=f(),d=f([]),m=f({gift_id:[{required:!0,message:"请选择礼物",trigger:"change"}],quantity:[{required:!0,message:"请输入每期数量",trigger:"blur"}],weight:[{required:!0,message:"请输入起止数量",trigger:"blur"}],is_world_show:[{required:!0,message:"请选择状态",trigger:"change"}]}),p=g,l=f(p.formInline?p.formInline:{gift_id:"",quantity:1,weight:1});function i(){return n.value}const r=()=>V(this,null,function*(){const{data:s,code:e}=yield F({type:2,label:7});d.value=e?s:[]});return L(()=>{r()}),c({getRef:i}),(s,e)=>{const x=u("el-option"),h=u("el-select"),_=u("el-form-item"),v=u("el-input-number"),b=u("el-radio"),k=u("el-radio-group"),B=u("el-form");return w(),y(B,{ref_key:"ruleFormRef",ref:n,model:l.value,rules:m.value,"label-width":"150px"},{default:a(()=>[t(_,{label:"选择礼物",prop:"gift_id"},{default:a(()=>[t(h,{modelValue:l.value.gift_id,"onUpdate:modelValue":e[0]||(e[0]=o=>l.value.gift_id=o),placeholder:"请选择礼物"},{default:a(()=>[(w(!0),R(U,null,C(d.value,o=>(w(),y(x,{key:o.gid,label:o.gift_name,value:o.gid},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(_,{label:"每期数量",prop:"quantity"},{default:a(()=>[t(v,{modelValue:l.value.quantity,"onUpdate:modelValue":e[1]||(e[1]=o=>l.value.quantity=o),precision:2,step:.01,max:9999.99},null,8,["modelValue"])]),_:1}),t(_,{label:"参与开奖起止数量",prop:"weight"},{default:a(()=>[t(v,{modelValue:l.value.weight,"onUpdate:modelValue":e[2]||(e[2]=o=>l.value.weight=o)},null,8,["modelValue"])]),_:1}),t(_,{label:"参与榜单显示",prop:"is_world_show"},{default:a(()=>[t(k,{modelValue:l.value.is_world_show,"onUpdate:modelValue":e[3]||(e[3]=o=>l.value.is_world_show=o)},{default:a(()=>[t(b,{label:1},{default:a(()=>e[4]||(e[4]=[q("显示")])),_:1}),t(b,{label:0},{default:a(()=>e[5]||(e[5]=[q("隐藏")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{G as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-Di45cE4b.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-Di45cE4b.js new file mode 100644 index 0000000..5c53a4c --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-Di45cE4b.js @@ -0,0 +1 @@ +import{d as x,n as o,r as n,o as g,g as v,h as a,b as m}from"./index-CRmU-Qpi.js";const w=x({__name:"form",props:["formInline"],setup(s,{expose:u}){const l=o(),c=o({deal_content:[{required:!0,message:"处理意见为必填项",trigger:"blur"}]}),t=s,e=o(t.formInline?t.formInline:{deal_content:""});function _(){return l.value}return u({getRef:_}),(b,r)=>{const p=n("el-input"),f=n("el-form-item"),d=n("el-form");return g(),v(d,{ref_key:"ruleFormRef",ref:l,model:e.value,rules:c.value,"label-width":"120px"},{default:a(()=>[m(f,{label:"处理意见",prop:"deal_content"},{default:a(()=>[m(p,{type:"textarea","show-word-limit":"",maxlength:"300",modelValue:e.value.deal_content,"onUpdate:modelValue":r[0]||(r[0]=i=>e.value.deal_content=i),clearable:"",placeholder:"请输入处理意见"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{w as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-DroLasXj.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-DroLasXj.js new file mode 100644 index 0000000..196bd09 --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-DroLasXj.js @@ -0,0 +1 @@ +import{d as R,n as s,r as o,o as _,g as w,h as r,b as a,e as q,c as B,T as I,U as L}from"./index-CRmU-Qpi.js";const M=["innerHTML"],T={key:0},D=R({__name:"form",props:["formInline","higherMenuOptions","treeData"],setup(u,{expose:g}){const d=s(),h=s({pid:[{required:!0,message:"所属父级为必填项",trigger:"change"}],name:[{required:!0,message:"角色名称为必填项",trigger:"blur"}],rules:[{required:!0,message:"权限列表为必填项",trigger:"change"}],status:[{required:!0,message:"状态为必填项",trigger:"change"}]}),c=u,i=s(null),e=s(c.formInline?c.formInline:{name:"",rules:"",status:"normal",pid:""});function v(){return d.value}const b=m=>{const l=i.value.getCheckedKeys();e.value.rules=l.length?l.join(","):"",e.value.name=e.value.name.replace(/[^\u4e00-\u9fa5\u3000-\u303f\uff00-\uffef]/g,"")};if(e.value.rules){let m=e.value.rules.split(",").map(l=>+l);setTimeout(()=>{i.value.setCheckedKeys(m)},100)}return g({getRef:v}),(m,l)=>{const k=o("el-cascader"),n=o("el-form-item"),V=o("el-input"),C=o("el-tree"),p=o("el-radio"),y=o("el-radio-group"),x=o("el-form");return _(),w(x,{ref_key:"ruleFormRef",ref:d,model:e.value,rules:h.value,"label-width":"120px"},{default:r(()=>[a(n,{label:"所属父级",prop:"pid"},{default:r(()=>[a(k,{modelValue:e.value.pid,"onUpdate:modelValue":l[0]||(l[0]=t=>e.value.pid=t),class:"w-full",options:u.higherMenuOptions,props:{value:"id",label:"name",emitPath:!1,checkStrictly:!0},clearable:"",filterable:"",placeholder:"请选择上级角色"},{default:r(({node:t,data:f})=>[q("span",{innerHTML:f.name},null,8,M),t.isLeaf?L("",!0):(_(),B("span",T," ("+I(f.childlist.length)+") ",1))]),_:1},8,["modelValue","options"])]),_:1}),a(n,{label:"角色名称",prop:"name"},{default:r(()=>[a(V,{modelValue:e.value.name,"onUpdate:modelValue":l[1]||(l[1]=t=>e.value.name=t),clearable:"",placeholder:"请输入角色名称"},null,8,["modelValue"])]),_:1}),a(n,{label:"权限",prop:"rules"},{default:r(()=>[a(C,{data:u.treeData,ref_key:"treeRef",ref:i,"show-checkbox":"","node-key":"id",onCheckChange:b,props:{children:"childlist",label:"title"}},null,8,["data"])]),_:1}),a(n,{label:"状态",prop:"status"},{default:r(()=>[a(y,{modelValue:e.value.status,"onUpdate:modelValue":l[2]||(l[2]=t=>e.value.status=t)},{default:r(()=>[a(p,{label:"正常",value:"normal"}),a(p,{label:"隐藏",value:"hidden"})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{D as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-DxjpTHt9.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-DxjpTHt9.js new file mode 100644 index 0000000..a127baa --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-DxjpTHt9.js @@ -0,0 +1 @@ +import{u as b}from"./index-An8nOBwL.js";import{d as x,n as a,r as u,o as V,g as h,h as t,b as l}from"./index-CRmU-Qpi.js";const R=x({__name:"form",props:["formInline"],setup(c,{expose:d}){const m=a(),f=a({title:[{required:!0,message:"请输入话题名称",trigger:"blur"},{min:1,max:10,message:"长度在 1 到 10 个字符",trigger:"blur"}],content:[{required:!0,message:"请填写话题内容",trigger:"blur"}]}),s=c,e=a(s.formInline?s.formInline:{content:"",title:"",pic:""});function _(){return m.value}function g(i){e.value.pic=i.join(",")}return d({getRef:_}),(i,o)=>{const p=u("el-input"),n=u("el-form-item"),v=u("el-form");return V(),h(v,{ref_key:"ruleFormRef",ref:m,model:e.value,rules:f.value,"label-width":"120px"},{default:t(()=>[l(n,{label:"话题名称",prop:"title"},{default:t(()=>[l(p,{modelValue:e.value.title,"onUpdate:modelValue":o[0]||(o[0]=r=>e.value.title=r),clearable:"",placeholder:"请输入话题名称"},null,8,["modelValue"])]),_:1}),l(n,{label:"话题内容",prop:"content"},{default:t(()=>[l(p,{type:"textarea",modelValue:e.value.content,"onUpdate:modelValue":o[1]||(o[1]=r=>e.value.content=r),placeholder:"请输入话题内容"},null,8,["modelValue"])]),_:1}),l(n,{label:"话题图片",prop:"pic"},{default:t(()=>[l(b,{onHandleSuccess:g,limit:1,echoUrl:e.value.pic},null,8,["echoUrl"])]),_:1})]),_:1},8,["model","rules"])}}});export{R as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-HMVJcCXl.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-HMVJcCXl.js new file mode 100644 index 0000000..30a10f0 --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-HMVJcCXl.js @@ -0,0 +1 @@ +var y=(b,v,t)=>new Promise((_,d)=>{var e=u=>{try{m(t.next(u))}catch(p){d(p)}},c=u=>{try{m(t.throw(u))}catch(p){d(p)}},m=u=>u.done?_(u.value):Promise.resolve(u.value).then(e,c);m((t=t.apply(b,v)).next())});import{q as B}from"./permission-DJnI7MjS.js";import{d as C,n as f,al as I,r as s,o as g,g as V,h as r,b as a,U as L,c as N,P as E,Q as M}from"./index-CRmU-Qpi.js";const j=C({__name:"form",props:["formInline"],setup(b,{expose:v}){const t=f(),_=f({username:[{required:!0,message:"用户名为必填项",trigger:"blur"},{min:1,max:20,message:"长度在 1 到 20 个字符",trigger:"blur"}],mobile:[{required:!0,message:"手机号为必填项",trigger:"blur"}],password:[{required:!0,message:"密码为必填项",trigger:"blur"}],group:[{required:!0,message:"请选择角色组",trigger:"change"}],status:[{required:!0,message:"请选择状态",trigger:"change"}]}),d=b,e=f(d.formInline?d.formInline:{username:"",nickname:"",email:"",mobile:"",password:"",status:"",group:""}),c=f([]),m=f(!0);function u(){return t.value}const p=()=>y(this,null,function*(){const{data:w,code:o}=yield B();c.value=o?w.list:[]}),U=()=>{m.value=!1};return I(()=>{p()}),v({getRef:u}),(w,o)=>{const i=s("el-input"),n=s("el-form-item"),k=s("el-radio"),q=s("el-radio-group"),x=s("el-option"),F=s("el-select"),R=s("el-form");return g(),V(R,{ref_key:"ruleFormRef",ref:t,model:e.value,rules:_.value,"label-width":"120px"},{default:r(()=>[a(n,{label:"用户名",prop:"username"},{default:r(()=>[a(i,{modelValue:e.value.username,"onUpdate:modelValue":o[0]||(o[0]=l=>e.value.username=l),clearable:"",placeholder:"请输入用户名"},null,8,["modelValue"])]),_:1}),a(n,{label:"昵称",prop:"nickname"},{default:r(()=>[a(i,{modelValue:e.value.nickname,"onUpdate:modelValue":o[1]||(o[1]=l=>e.value.nickname=l),clearable:"",placeholder:"请输入昵称"},null,8,["modelValue"])]),_:1}),a(n,{label:"邮箱",prop:"email"},{default:r(()=>[a(i,{modelValue:e.value.email,"onUpdate:modelValue":o[2]||(o[2]=l=>e.value.email=l),clearable:"",placeholder:"请输入邮箱"},null,8,["modelValue"])]),_:1}),a(n,{label:"手机",prop:"mobile"},{default:r(()=>[a(i,{modelValue:e.value.mobile,"onUpdate:modelValue":o[3]||(o[3]=l=>e.value.mobile=l),autocomplete:"off",readonly:m.value,onFocus:U,clearable:"",placeholder:"请输入手机"},null,8,["modelValue","readonly"])]),_:1}),e.value.id?L("",!0):(g(),V(n,{key:0,label:"密码",prop:"password"},{default:r(()=>[a(i,{modelValue:e.value.password,"onUpdate:modelValue":o[4]||(o[4]=l=>e.value.password=l),autocomplete:"off","show-password":"",clearable:"",placeholder:"请输入密码"},null,8,["modelValue"])]),_:1})),a(n,{label:"显示状态",prop:"status"},{default:r(()=>[a(q,{modelValue:e.value.status,"onUpdate:modelValue":o[5]||(o[5]=l=>e.value.status=l)},{default:r(()=>[a(k,{label:"正常",value:"normal"}),a(k,{label:"隐藏",value:"hidden"})]),_:1},8,["modelValue"])]),_:1}),a(n,{label:"角色组",prop:"group"},{default:r(()=>[a(F,{modelValue:e.value.group,"onUpdate:modelValue":o[6]||(o[6]=l=>e.value.group=l),multiple:"",placeholder:"请选择角色组"},{default:r(()=>[(g(!0),N(E,null,M(c.value,l=>(g(),V(x,{key:l.id,label:l.name,value:l.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{j as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-J4dbTMG5.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-J4dbTMG5.js new file mode 100644 index 0000000..d2ba89e --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-J4dbTMG5.js @@ -0,0 +1 @@ +import{d as v,n as o,r as n,o as y,g as b,h as m,b as a}from"./index-CRmU-Qpi.js";const I=v({__name:"form",props:["formInline"],setup(s,{expose:p}){const l=o(),u=o({type_name:[{required:!0,message:"请输入分类名称",trigger:"blur"}]}),r=s,e=o(r.formInline?r.formInline:{id:"",type_name:""});function _(){return l.value}return p({getRef:_}),(g,t)=>{const f=n("el-input"),c=n("el-form-item"),i=n("el-form");return y(),b(i,{ref_key:"ruleFormRef",ref:l,model:e.value,rules:u.value,"label-width":"120px"},{default:m(()=>[a(c,{label:"分类名称",prop:"type_name"},{default:m(()=>[a(f,{modelValue:e.value.type_name,"onUpdate:modelValue":t[0]||(t[0]=d=>e.value.type_name=d),clearable:"",placeholder:"请输入分类名称"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{I as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-hEQYONMW.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-hEQYONMW.js new file mode 100644 index 0000000..83b6592 --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-hEQYONMW.js @@ -0,0 +1 @@ +var q=(v,V,n)=>new Promise((c,d)=>{var g=u=>{try{_(n.next(u))}catch(f){d(f)}},l=u=>{try{_(n.throw(u))}catch(f){d(f)}},_=u=>u.done?c(u.value):Promise.resolve(u.value).then(g,l);_((n=n.apply(v,V)).next())});import{u as x}from"./index-An8nOBwL.js";import{q as T}from"./decorate-DdTDZW0a.js";import{d as B,n as y,x as N,r as s,o as b,g as k,h as t,b as a,c as F,P as C,Q as P,f as m,U as j}from"./index-CRmU-Qpi.js";const G=B({__name:"form",props:["formInline"],setup(v,{expose:V}){const n=y(),c=y({title:[{required:!0,message:"请输入道具标题",trigger:"blur"}],type:[{required:!0,message:"请选择道具类型",trigger:"change"}],show_status:[{required:!0,message:"请选择状态",trigger:"change"}],is_buy:[{required:!0,message:"请选择状态",trigger:"change"}],base_image:[{required:!0,message:"请上传道具展示图片",trigger:"change"}],file_type:[{required:!0,message:"请选择道具类型",trigger:"change"}]}),d=y([]),g=v,l=y(g.formInline?g.formInline:{title:"",type:"",show_status:"",is_buy:"",base_image:"",file_type:"",play_image:"",special_num:""});function _(i){l.value.base_image=i.join(",")}function u(){return n.value}const f=()=>q(this,null,function*(){const{data:i,code:e}=yield T();d.value=e?i:[]});function I(i){l.value.play_image=i.join(",")}return N(()=>{f()}),V({getRef:u}),(i,e)=>{const w=s("el-input"),r=s("el-form-item"),L=s("el-option"),R=s("el-select"),p=s("el-radio"),U=s("el-radio-group"),S=s("el-form");return b(),k(S,{ref_key:"ruleFormRef",ref:n,model:l.value,rules:c.value,"label-width":"120px"},{default:t(()=>[a(r,{label:"道具标题",prop:"title"},{default:t(()=>[a(w,{modelValue:l.value.title,"onUpdate:modelValue":e[0]||(e[0]=o=>l.value.title=o),placeholder:"请输入道具标题"},null,8,["modelValue"])]),_:1}),a(r,{label:"道具靓号",prop:"special_num"},{default:t(()=>[a(w,{modelValue:l.value.special_num,"onUpdate:modelValue":e[1]||(e[1]=o=>l.value.special_num=o),placeholder:"请输入靓号"},null,8,["modelValue"])]),_:1}),a(r,{label:"道具类型",prop:"type"},{default:t(()=>[a(R,{modelValue:l.value.type,"onUpdate:modelValue":e[2]||(e[2]=o=>l.value.type=o),placeholder:"请选择道具类型"},{default:t(()=>[(b(!0),F(C,null,P(d.value,o=>(b(),k(L,{key:o.id,label:o.name,value:o.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(r,{label:"是否显示",prop:"show_status"},{default:t(()=>[a(U,{modelValue:l.value.show_status,"onUpdate:modelValue":e[3]||(e[3]=o=>l.value.show_status=o)},{default:t(()=>[a(p,{label:1},{default:t(()=>e[6]||(e[6]=[m("正常")])),_:1}),a(p,{label:2},{default:t(()=>e[7]||(e[7]=[m("隐藏")])),_:1})]),_:1},8,["modelValue"])]),_:1}),a(r,{label:"是否可购买",prop:"is_buy"},{default:t(()=>[a(U,{modelValue:l.value.is_buy,"onUpdate:modelValue":e[4]||(e[4]=o=>l.value.is_buy=o)},{default:t(()=>[a(p,{label:1},{default:t(()=>e[8]||(e[8]=[m("是")])),_:1}),a(p,{label:2},{default:t(()=>e[9]||(e[9]=[m("否")])),_:1})]),_:1},8,["modelValue"])]),_:1}),a(r,{label:"展示图片",prop:"base_image"},{default:t(()=>[a(x,{onHandleSuccess:_,limit:1,echoUrl:l.value.base_image},null,8,["echoUrl"])]),_:1}),[1,2,3].includes(l.value.type)?(b(),F(C,{key:0},[a(r,{label:"上传类型",prop:"file_type"},{default:t(()=>[a(U,{modelValue:l.value.file_type,"onUpdate:modelValue":e[5]||(e[5]=o=>l.value.file_type=o)},{default:t(()=>[a(p,{label:1},{default:t(()=>e[10]||(e[10]=[m("SVGA")])),_:1}),a(p,{label:2},{default:t(()=>e[11]||(e[11]=[m("MP4")])),_:1})]),_:1},8,["modelValue"])]),_:1}),a(r,{label:"播放图像",prop:"play_image"},{default:t(()=>[a(x,{onHandleSuccess:I,acceptType:l.value.file_type===1?".svg,.svga":l.value.file_type===2?".mp4":"",limit:1,echoUrl:l.value.play_image},null,8,["acceptType","echoUrl"])]),_:1})],64)):j("",!0)]),_:1},8,["model","rules"])}}});export{G as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-pYH7w3wd.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-pYH7w3wd.js new file mode 100644 index 0000000..44b6d6a --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-pYH7w3wd.js @@ -0,0 +1 @@ +import{u as I}from"./index-An8nOBwL.js";import{d as F,n as u,r,o as R,g as U,h as a,b as l,f as d}from"./index-CRmU-Qpi.js";const w=F({__name:"form",props:["formInline"],setup(p,{expose:f}){const m=u(),g=u({status:[{required:!0,message:"请选择状态",trigger:"change"}],image_url:[{required:!0,message:"请上传背景图片",trigger:"change"}],image_name:[{required:!0,message:"请输入背景名称",trigger:"blur"},{min:1,max:10,message:"长度在 1 到 10 个字符",trigger:"blur"}]}),s=p,o=u(s.formInline?s.formInline:{image_name:"",image_url:"",status:""});function c(){return m.value}function b(i){o.value.image_url=i.join(",")}return f({getRef:c}),(i,e)=>{const v=r("el-input"),t=r("el-form-item"),_=r("el-radio"),V=r("el-radio-group"),x=r("el-form");return R(),U(x,{ref_key:"ruleFormRef",ref:m,model:o.value,rules:g.value,"label-width":"120px"},{default:a(()=>[l(t,{label:"背景名称",prop:"image_name"},{default:a(()=>[l(v,{modelValue:o.value.image_name,"onUpdate:modelValue":e[0]||(e[0]=n=>o.value.image_name=n),clearable:"",placeholder:"请输入背景名称"},null,8,["modelValue"])]),_:1}),l(t,{label:"状态",prop:"status"},{default:a(()=>[l(V,{modelValue:o.value.status,"onUpdate:modelValue":e[1]||(e[1]=n=>o.value.status=n)},{default:a(()=>[l(_,{label:1},{default:a(()=>e[2]||(e[2]=[d("显示")])),_:1}),l(_,{label:2},{default:a(()=>e[3]||(e[3]=[d("隐藏")])),_:1})]),_:1},8,["modelValue"])]),_:1}),l(t,{label:"上传背景",prop:"image_url"},{default:a(()=>[l(I,{onHandleSuccess:b,limit:1,echoUrl:o.value.image_url},null,8,["echoUrl"])]),_:1})]),_:1},8,["model","rules"])}}});export{w as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-rMz_v8aN.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-rMz_v8aN.js new file mode 100644 index 0000000..f76a131 --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-rMz_v8aN.js @@ -0,0 +1 @@ +import{d as x,n as p,r,o as i,g as s,h as a,b as e,U as T}from"./index-CRmU-Qpi.js";const I=x({__name:"form",props:["formInline"],setup(f,{expose:y}){const u=p(),c=p({tag_name:[{required:!0,message:"请输入标签名称",trigger:"blur"},{min:1,max:10,message:"长度在 1 到 10 个字符",trigger:"blur"}]}),d=f,l=p(d.formInline?d.formInline:{type:2,typeTimeType:0,type_text:"",block_time:""});function v(){return u.value}return y({getRef:v}),(k,o)=>{const m=r("el-radio"),_=r("el-radio-group"),n=r("el-form-item"),b=r("el-input"),V=r("el-date-picker"),g=r("el-form");return i(),s(g,{ref_key:"ruleFormRef",ref:u,model:l.value,rules:c.value,"label-width":"120px"},{default:a(()=>[e(n,{label:"封禁类型",prop:"type"},{default:a(()=>[e(_,{modelValue:l.value.type,"onUpdate:modelValue":o[0]||(o[0]=t=>l.value.type=t)},{default:a(()=>[e(m,{label:"禁用设备号",value:2}),e(m,{label:"禁用IP",value:3})]),_:1},8,["modelValue"])]),_:1}),e(n,{label:"禁用IP/设备号",prop:"type_text"},{default:a(()=>[e(b,{modelValue:l.value.type_text,"onUpdate:modelValue":o[1]||(o[1]=t=>l.value.type_text=t),clearable:"",placeholder:"请输入禁用IP/设备号"},null,8,["modelValue"])]),_:1}),e(n,{label:"封禁时间",prop:"typeTimeType"},{default:a(()=>[e(_,{modelValue:l.value.typeTimeType,"onUpdate:modelValue":o[2]||(o[2]=t=>l.value.typeTimeType=t)},{default:a(()=>[e(m,{label:"永久",value:0}),e(m,{label:"设置时间",value:1})]),_:1},8,["modelValue"])]),_:1}),l.value.typeTimeType===1?(i(),s(n,{key:0,label:"禁用时间",prop:"time"},{default:a(()=>[e(V,{type:"date",placeholder:"选择日期",modelValue:l.value.block_time,"onUpdate:modelValue":o[3]||(o[3]=t=>l.value.block_time=t),style:{width:"100%"},format:"YYYY-MM-DD","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1})):T("",!0)]),_:1},8,["model","rules"])}}});export{I as _}; diff --git a/dist/static/js/form.vue_vue_type_script_setup_true_lang-tv9ZrCTh.js b/dist/static/js/form.vue_vue_type_script_setup_true_lang-tv9ZrCTh.js new file mode 100644 index 0000000..066478d --- /dev/null +++ b/dist/static/js/form.vue_vue_type_script_setup_true_lang-tv9ZrCTh.js @@ -0,0 +1 @@ +import{d as F,n as m,r as n,o as U,g as q,h as r,b as l,u as I,fH as R,e as i,f as w,aA as B}from"./index-CRmU-Qpi.js";const N=F({__name:"form",props:["formInline"],setup(c,{expose:f}){const s=m(),v=m({is_active:[{required:!0,message:"请选择使用状态",trigger:"change"}],theme_color:[{required:!0,message:"请选择主题色",trigger:"change"}],auxiliary_color:[{required:!0,message:"请选择辅助色值",trigger:"change"}],theme_name:[{required:!0,message:"请输入主题名称",trigger:"blur"}]}),d=c,o=m(d.formInline?d.formInline:{theme_name:"",theme_color:"",auxiliary_color:"",file_url:"",is_active:0});function g(){return s.value}function V(){B("最多上传1个文件,请先删除在上传")}function x({data:h,code:e},_,a){e?(a.value=a.map(t=>t.response.data.url),o.value.file_url=a.value.join(",")):(a.value=[],o.value.file_url=a.value.join(","))}return f({getRef:g}),(h,e)=>{const _=n("el-input"),a=n("el-form-item"),t=n("el-color-picker"),b=n("el-upload"),p=n("el-radio"),k=n("el-radio-group"),y=n("el-form");return U(),q(y,{ref_key:"ruleFormRef",ref:s,model:o.value,rules:v.value,"label-width":"120px"},{default:r(()=>[l(a,{label:"主题名称",prop:"theme_name"},{default:r(()=>[l(_,{modelValue:o.value.theme_name,"onUpdate:modelValue":e[0]||(e[0]=u=>o.value.theme_name=u),placeholder:"请输入主题名称"},null,8,["modelValue"])]),_:1}),l(a,{label:"主题色色值",prop:"theme_color"},{default:r(()=>[l(t,{modelValue:o.value.theme_color,"onUpdate:modelValue":e[1]||(e[1]=u=>o.value.theme_color=u)},null,8,["modelValue"])]),_:1}),l(a,{label:"辅助色值",prop:"auxiliary_color"},{default:r(()=>[l(t,{modelValue:o.value.auxiliary_color,"onUpdate:modelValue":e[2]||(e[2]=u=>o.value.auxiliary_color=u)},null,8,["modelValue"])]),_:1}),l(a,{label:"文件地址",prop:"file_url"},{default:r(()=>[l(b,{class:"upload-demo",drag:"",limit:1,name:"files",accept:".zip",headers:{Authorization:I(R)().accessToken},action:"/adminapi/UploadFile/file_upload","on-exceed":V,"on-success":x},{default:r(()=>e[4]||(e[4]=[i("i",{class:"el-icon-upload"},null,-1),i("div",{class:"el-upload__text"},[w("将文件拖到此处,或"),i("em",null,"点击上传")],-1)])),_:1},8,["headers"])]),_:1}),l(a,{label:"使用状态",prop:"is_active"},{default:r(()=>[l(k,{modelValue:o.value.is_active,"onUpdate:modelValue":e[3]||(e[3]=u=>o.value.is_active=u)},{default:r(()=>[l(p,{label:"暂不使用",value:0}),l(p,{label:"使用",value:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{N as _}; diff --git a/dist/static/js/frame-BxU_b3Ma.js b/dist/static/js/frame-BxU_b3Ma.js new file mode 100644 index 0000000..610c46b --- /dev/null +++ b/dist/static/js/frame-BxU_b3Ma.js @@ -0,0 +1 @@ +import{d as p,n as i,y as g,u as o,I as x,x as I,j as R,w as k,o as S,c as w,e as y,W as B,_ as E}from"./index-CRmU-Qpi.js";const L={class:"frame","element-loading-text":"加载中..."},P=["src"],D=p({name:"LayFrame",__name:"frame",props:{frameInfo:{}},setup(v){var m,u,d;const f=v,s=i(!0),t=g(),n=i(""),l=i(null);(m=o(t.meta))!=null&&m.frameSrc&&(n.value=(u=o(t.meta))==null?void 0:u.frameSrc),((d=o(t.meta))==null?void 0:d.frameLoading)===!1&&c();function c(){s.value=!1}function h(){B(()=>{const e=o(l);if(!e)return;const a=e;a.attachEvent?a.attachEvent("onload",()=>{c()}):e.onload=()=>{c()}})}return x(()=>t.fullPath,e=>{var a,r,_;t.name==="Redirect"&&e.includes((a=f.frameInfo)==null?void 0:a.fullPath)&&(n.value=e,s.value=!0),((r=f.frameInfo)==null?void 0:r.fullPath)===e&&(n.value=(_=f.frameInfo)==null?void 0:_.frameSrc)}),I(()=>{h()}),(e,a)=>{const r=R("loading");return k((S(),w("div",L,[y("iframe",{ref_key:"frameRef",ref:l,src:n.value,class:"frame-iframe"},null,8,P)])),[[r,s.value]])}}}),C=E(D,[["__scopeId","data-v-fe57e7fd"]]);export{C as default}; diff --git a/dist/static/js/fundSetting-IrTyRv5s.js b/dist/static/js/fundSetting-IrTyRv5s.js new file mode 100644 index 0000000..d8fde26 --- /dev/null +++ b/dist/static/js/fundSetting-IrTyRv5s.js @@ -0,0 +1 @@ +import{_ as m}from"./fundSetting.vue_vue_type_script_setup_true_lang-B0HZiIqN.js";import"./index-CRmU-Qpi.js";export{m as default}; diff --git a/dist/static/js/fundSetting.vue_vue_type_script_setup_true_lang-B0HZiIqN.js b/dist/static/js/fundSetting.vue_vue_type_script_setup_true_lang-B0HZiIqN.js new file mode 100644 index 0000000..a521439 --- /dev/null +++ b/dist/static/js/fundSetting.vue_vue_type_script_setup_true_lang-B0HZiIqN.js @@ -0,0 +1 @@ +import{d as b,n as u,r as n,o as g,g as w,h as r,b as e}from"./index-CRmU-Qpi.js";const I=b({__name:"fundSetting",props:["formInline"],setup(_,{expose:f}){const m=u(),i=u({money_type:[]}),p=_,l=u(p.formInline?p.formInline:{money_type:"",change_value:"",secondary_password:"",remarks:""});function c(){return m.value}return f({getRef:c}),(k,o)=>{const s=n("el-radio"),v=n("el-radio-group"),t=n("el-form-item"),y=n("el-input-number"),d=n("el-input"),V=n("el-form");return g(),w(V,{ref_key:"ruleFormRef",ref:m,model:l.value,rules:i.value,"label-width":"120px"},{default:r(()=>[e(t,{label:"修改资金类型",prop:"money_type"},{default:r(()=>[e(v,{modelValue:l.value.money_type,"onUpdate:modelValue":o[0]||(o[0]=a=>l.value.money_type=a)},{default:r(()=>[e(s,{label:"钻石",value:"2"}),e(s,{label:"金币",value:"1"})]),_:1},8,["modelValue"])]),_:1}),e(t,{label:"修改金额",prop:"change_value"},{default:r(()=>[e(y,{modelValue:l.value.change_value,"onUpdate:modelValue":o[1]||(o[1]=a=>l.value.change_value=a),min:-1e7,max:1e6,label:"正数增加、负数减少"},null,8,["modelValue"])]),_:1}),e(t,{label:"二级密码",prop:"secondary_password"},{default:r(()=>[e(d,{modelValue:l.value.secondary_password,"onUpdate:modelValue":o[2]||(o[2]=a=>l.value.secondary_password=a),"show-password":!0,clearable:"",placeholder:"请输入新的密码"},null,8,["modelValue"])]),_:1}),e(t,{label:"备注",prop:"remarks"},{default:r(()=>[e(d,{type:"textarea",modelValue:l.value.remarks,"onUpdate:modelValue":o[3]||(o[3]=a=>l.value.remarks=a)},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])}}});export{I as _}; diff --git a/dist/static/js/gift-BjNBi56Q.js b/dist/static/js/gift-BjNBi56Q.js new file mode 100644 index 0000000..e27aca3 --- /dev/null +++ b/dist/static/js/gift-BjNBi56Q.js @@ -0,0 +1 @@ +import{aw as a}from"./index-CRmU-Qpi.js";const i=t=>a.request("get","/adminapi/GiftLabel/label_lists",{params:t}),s=t=>a.request("post","/adminapi/GiftLabel/add_label",{data:t}),r=t=>a.request("post","/adminapi/GiftLabel/edit_label",{data:t}),n=t=>a.request("post","/adminapi/GiftLabel/del_label",{data:t}),f=t=>a.request("get","/adminapi/Gift/gift_lists",{params:t}),d=t=>a.request("post","/adminapi/Gift/add_gift",{data:t}),o=t=>a.request("post","/adminapi/Gift/edit_gift",{data:t}),l=t=>a.request("post","/adminapi/Gift/del_gift",{data:t}),u=t=>a.request("get","/adminapi/Gift/gift_info",{params:t}),p=t=>a.request("get","/adminapi/Gift/gift_type_lists",{params:t});export{s as a,f as b,l as c,u as d,r as e,d as f,p as g,o as h,i as q,n as r}; diff --git a/dist/static/js/giftChart-CQVvbp7_.js b/dist/static/js/giftChart-CQVvbp7_.js new file mode 100644 index 0000000..d74c7ec --- /dev/null +++ b/dist/static/js/giftChart-CQVvbp7_.js @@ -0,0 +1 @@ +import{_ as r}from"./ChartLine.vue_vue_type_script_setup_true_lang-CDrbWLFd.js";import{d as _,r as f,o as p,c as l,b as d,h as m,e as n,u as h,_ as u}from"./index-CRmU-Qpi.js";const y={style:{width:"100%","min-height":"20vh"},class:"mt-3"},x={class:"flex justify-between items-start mt-3"},b=_({__name:"giftChart",props:["allData"],setup(c){const i=c,s={xData:[],seriesData:[]};if(i.allData){const o={name:"总礼物打赏价值",type:"line",data:[]},t={name:"购买礼物打赏价值",type:"line",data:[]},a={name:"背包礼物打赏价值",type:"line",data:[]};i.allData.gift_give_data.forEach((e,g)=>{s.xData.push(e.time),o.data.push(e.gift_total_day),t.data.push(e.gift_buy_day),a.data.push(e.gift_backpack_day)}),s.seriesData=[o,t,a]}return(o,t)=>{const a=f("el-card");return p(),l("div",y,[d(a,{shadow:"never"},{default:m(()=>[t[0]||(t[0]=n("div",{class:"flex justify-between"},[n("span",{class:"text-md font-medium"},"礼物打赏实时统计")],-1)),n("div",x,[d(h(r),{barChartData:s})])]),_:1})])}}}),k=u(b,[["__scopeId","data-v-eddf4f45"]]);export{k as default}; diff --git a/dist/static/js/hook--onwngvW.js b/dist/static/js/hook--onwngvW.js new file mode 100644 index 0000000..e132884 --- /dev/null +++ b/dist/static/js/hook--onwngvW.js @@ -0,0 +1 @@ +var k=Object.defineProperty,x=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var D=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var I=(t,e,a)=>e in t?k(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,m=(t,e)=>{for(var a in e||(e={}))$.call(e,a)&&I(t,a,e[a]);if(D)for(var a of D(e))q.call(e,a)&&I(t,a,e[a]);return t},C=(t,e)=>x(t,F(e));var u=(t,e,a)=>new Promise((v,l)=>{var y=s=>{try{r(a.next(s))}catch(f){l(f)}},i=s=>{try{r(a.throw(s))}catch(f){l(f)}},r=s=>s.done?v(s.value):Promise.resolve(s.value).then(y,i);r((a=a.apply(t,e)).next())});import{_ as w}from"./form.vue_vue_type_script_setup_true_lang-B6o7fI6q.js";import{n as c,aA as d,aK as A,ag as K}from"./index-CRmU-Qpi.js";import{c as M,r as O,d as j,e as B}from"./Inform-CWr9EIX8.js";function U(){const t=c(),e=c(!0),a=c([]),v=c(!1),l=c({name:""}),y=c([{label:"分类名称",prop:"name",type:"input"}]),i=c({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),r=c([{label:"ID",prop:"id"},{label:"分类名称",prop:"type"},{label:"创建时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),s=n=>u(this,null,function*(){e.value=!0,l.value=m({},n);const{data:o,code:g}=yield M(C(m({},n),{page:i.value.currentPage,page_limit:i.value.pageSize}));g&&(a.value=o.lists,i.value.total=o.count,i.value.currentPage=o.page),e.value=!1});return{searchForm:l,searchLabel:y,onSearch:s,isShow:v,tableList:a,tableLabel:r,pagination:i,handleSizeChange:n=>{i.value.pageSize=n,s(l.value)},handleCurrentChange:n=>{i.value.currentPage=n,s(l.value)},loading:e,handleDelete:n=>u(this,null,function*(){const{code:o}=yield O({id:n.id});o&&(d(`您删除了分类名称为${n.type}的这条数据`,{type:"success"}),s(l.value))}),openDialog:(n="新增",o)=>{var g;A({title:`${n}举报分类`,props:{formInline:{type:(g=o==null?void 0:o.type)!=null?g:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>K(w,{ref:t,formInline:null}),beforeSure:(S,{options:L})=>{const P=t.value.getRef(),z=L.props.formInline,R=p=>u(this,null,function*(){const{code:h,msg:b}=yield j(p);h?(d("新增成功",{type:"success"}),s(l.value),S()):d(b,{type:"error"})}),_=p=>u(this,null,function*(){const{code:h,msg:b}=yield B(C(m({},p),{id:o.id}));h?(d("修改成功",{type:"success"}),s(l.value),S()):d(b,{type:"error"})});P.validate(p=>{p&&(n==="新增"?R(z):_(z))})}})}}}export{U as useData}; diff --git a/dist/static/js/hook-7T2A1rw1.js b/dist/static/js/hook-7T2A1rw1.js new file mode 100644 index 0000000..7abe872 --- /dev/null +++ b/dist/static/js/hook-7T2A1rw1.js @@ -0,0 +1 @@ +var re=Object.defineProperty,le=Object.defineProperties;var ne=Object.getOwnPropertyDescriptors;var B=Object.getOwnPropertySymbols;var oe=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable;var T=(s,r,l)=>r in s?re(s,r,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[r]=l,i=(s,r)=>{for(var l in r||(r={}))oe.call(r,l)&&T(s,l,r[l]);if(B)for(var l of B(r))ie.call(r,l)&&T(s,l,r[l]);return s},R=(s,r)=>le(s,ne(r));var d=(s,r,l)=>new Promise((k,M)=>{var b=_=>{try{w(l.next(_))}catch(D){M(D)}},o=_=>{try{w(l.throw(_))}catch(D){M(D)}},w=_=>_.done?k(_.value):Promise.resolve(_.value).then(b,o);w((l=l.apply(s,r)).next())});import{_ as ce}from"./form.vue_vue_type_script_setup_true_lang-DeQXcNsI.js";import pe from"./detail-CoKcup1p.js";import{_ as de}from"./banUser.vue_vue_type_script_setup_true_lang-C6NyfrKW.js";import{_ as ue}from"./password.vue_vue_type_script_setup_true_lang-CWnP2x5O.js";import{_ as fe}from"./fundSetting.vue_vue_type_script_setup_true_lang-B0HZiIqN.js";import{_ as me}from"./searchMore.vue_vue_type_script_setup_true_lang-x7g0dVug.js";import{n as g,b as F,r as A,W as E,aK as x,ag as S,aA as y}from"./index-CRmU-Qpi.js";import{d as ve,g as N,r as ge,o as ye,e as be,f as _e,s as he,h as Ie}from"./newuserList-JxRjYKtu.js";import"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import"./xlsx-DaVhO591.js";function ze(){const s=g(),r=g({user_code:"",login_device:"",nickname:"",status:"",coin1:"",coin2:"",createtime:""}),l=g(!0),k=g([]),M=g(!1),b=g({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),o=g({search:"",is_sys_tester:"",is_real:""}),w=g([{label:"昵称/手机号查询",prop:"search",type:"input"},{label:"官方账号",prop:"is_sys_tester",type:"select",optionList:[{label:"全部",value:""},{label:"是",value:1},{label:"否",value:0}]},{label:"实名状态",prop:"is_real",type:"select",optionList:[{label:"全部",value:""},{label:"是",value:1},{label:"否",value:0}]}]),D=g([{type:"index",index:e=>e+1},{label:"Id",prop:"user_code"},{label:"靓号",prop:"special_num"},{label:"头像",prop:"avatar",cellRenderer:({row:e})=>F(A("el-image"),{fit:"cover","preview-teleported":!0,src:e.avatar,"preview-src-list":Array.of(e.avatar),class:"w-[50px] h-[50px] align-middle"},null)},{label:"手机号",prop:"mobile"},{label:"昵称",prop:"nickname"},{label:"性别",prop:"sex",cellRenderer:({row:e})=>F("div",null,[e.sex===1?"男":e.sex===0?"未知":"女"])},{label:"设备号",prop:"login_device"},{label:"IP地址",prop:"loginip"},{label:"金币",prop:"coin"},{label:"钻石",prop:"earnings"},{label:"实名状态",prop:"is_real_str"},{label:"邀请码",prop:"init_code"},{label:"登录状态",prop:"status",cellRenderer:({row:e})=>F(A("el-tag"),{type:e.status==2?"error":"success"},{default:()=>[e.status_str]})},{label:"操作",fixed:"right",width:510,slot:"operation"}]),f=e=>d(this,null,function*(){l.value=!0,o.value=i({},e),e||P();const{data:t,code:c}=yield ve(R(i({},e),{page:b.value.currentPage,page_limit:b.value.pageSize}));c&&(k.value=t.lists,b.value.total=t.count,b.value.currentPage=+t.page),l.value=!1}),V=e=>{b.value.pageSize=e,f(o.value)},W=e=>{b.value.currentPage=e,f(o.value)},q=(e="新增",t)=>d(this,null,function*(){const c=yield N({user_id:t.id});E(()=>{var p,m,h,n,u,I,U,O,L,z,$;if(c.code){const{user_info:a,follow_num:v}=c.data;x({title:`${e}会员信息`,props:{formInline:{mobile:(p=a==null?void 0:a.mobile)!=null?p:"",nickname:(m=a==null?void 0:a.nickname)!=null?m:"",real_name:(h=v==null?void 0:v.real_name)!=null?h:"",card_id:(n=v==null?void 0:v.card_id)!=null?n:"",birthday:(u=a==null?void 0:a.birthday)!=null?u:"",status:(I=Number(a==null?void 0:a.status))!=null?I:"",profile:(U=a==null?void 0:a.profile)!=null?U:"",init_code:(O=a==null?void 0:a.init_code)!=null?O:"",red_status:(L=a==null?void 0:a.red_status)!=null?L:"",sex:((z=a==null?void 0:a.sex)!=null?z:a.sex==="男")?1:a.sex==="女"?2:"",is_real:(($=v==null?void 0:v.is_real)!=null?$:v.is_real==="未实名")?0:1}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>S(ce,{ref:s,formInline:null}),beforeSure:(X,{options:Y})=>{const Z=s.value.getRef(),ee=Y.props.formInline,ae=C=>d(this,null,function*(){const{code:se,msg:te}=yield be(R(i({},C),{user_id:t.id}));se?(y("修改成功",{type:"success"}),f(o.value),X()):y(te,{type:"error"})});Z.validate(C=>{C&&(e==="新增"||ae(ee))})}})}})}),K=e=>d(this,null,function*(){const t=yield N({user_id:e.id});E(()=>{if(t.code){const c=t.data;x({title:"查看会员详情",props:{userInfo:i({userId:e.id},c)},width:"50%",closeOnClickModal:!1,contentRenderer:()=>S(pe),beforeSure:p=>{p()}})}})}),j=e=>d(this,null,function*(){const{code:t}=yield ge({user_id:e.id});t&&(y("删除成功",{type:"success"}),f(o.value))}),G=e=>d(this,null,function*(){x({title:"禁用",props:{formInline:{type:1},userData:i({},e)},width:"40%",closeOnClickModal:!1,contentRenderer:()=>S(de,{ref:s,formInline:null}),beforeSure:(t,{options:c})=>{const p=s.value.getRef(),m=c.props.formInline,h=n=>d(this,null,function*(){const u=R(i({},n),{user_id:e.id});n.status===2?(u.time="",u.status=2):n.timeType||(u.time=""),delete u.timeType;const{code:I,msg:U}=yield _e(u);I?(y("设置成功",{type:"success"}),f(o.value),t()):y(U,{type:"error"})});p.validate(n=>{n&&h(m)})}})}),H=e=>d(this,null,function*(){const{code:t}=yield ye({user_id:e.id});t&&(y("设置成功",{type:"success"}),f(o.value))}),J=()=>{x({title:"高级搜索筛选",props:{formInline:i({},r.value)},width:"50%",closeOnClickModal:!1,contentRenderer:()=>S(me,{ref:s,formInline:null}),beforeSure:(e,{options:t})=>{const c=s.value.getRef(),p=t.props.formInline;c.validate(m=>{m&&(r.value=i({},p),f(i(i({},o.value),p)))}),e()}})},P=()=>{r.value={user_code:"",login_device:"",nickname:"",status:"",coin1:"",coin2:"",createtime:""},o.value={search:"",is_sys_tester:"",is_real:""},f(i(i({},o.value),r.value))},Q=e=>d(this,null,function*(){x({title:"账户资金设置",props:{formInline:{money_type:"",change_value:"",secondary_password:"",remarks:""}},width:"50%",closeOnClickModal:!1,contentRenderer:()=>S(fe,{ref:s,formInline:null}),beforeSure:(t,{options:c})=>{const p=s.value.getRef(),m=c.props.formInline,h=n=>d(this,null,function*(){const{code:u,msg:I}=yield he(R(i({},n),{user_id:e.id}));u?(y("设置成功",{type:"success"}),f(o.value),t()):y(I,{type:"error"})});p.validate(n=>{n&&h(m)})}})});return g(null),{searchForm:o,searchLabel:w,onSearch:f,isShow:M,tableList:k,tableLabel:D,pagination:b,handleSizeChange:V,handleCurrentChange:W,loading:l,openDialog:q,handleDelete:j,viewDetail:K,handleBanData:G,setOfficialUser:H,changePassword:e=>d(this,null,function*(){x({title:"修改密码",props:{formInline:{new_pwd:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>S(ue,{ref:s,formInline:null}),beforeSure:(t,{options:c})=>{const p=s.value.getRef(),m=c.props.formInline,h=n=>d(this,null,function*(){const{code:u,msg:I}=yield Ie(R(i({},n),{user_id:e.id}));u?(y("修改成功",{type:"success"}),f(o.value),t()):y(I,{type:"error"})});p.validate(n=>{n&&h(m)})}})}),setUserFund:Q,onSeniorSearch:J,resetFieldsSearch:P,exportExcel:()=>{}}}export{ze as useData}; diff --git a/dist/static/js/hook-B10ePqPp.js b/dist/static/js/hook-B10ePqPp.js new file mode 100644 index 0000000..d42b24d --- /dev/null +++ b/dist/static/js/hook-B10ePqPp.js @@ -0,0 +1 @@ +var M=Object.defineProperty,O=Object.defineProperties;var $=Object.getOwnPropertyDescriptors;var R=Object.getOwnPropertySymbols;var q=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable;var x=(n,e,a)=>e in n?M(n,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[e]=a,v=(n,e)=>{for(var a in e||(e={}))q.call(e,a)&&x(n,a,e[a]);if(R)for(var a of R(e))K.call(e,a)&&x(n,a,e[a]);return n},S=(n,e)=>O(n,$(e));var u=(n,e,a)=>new Promise((h,c)=>{var m=s=>{try{r(a.next(s))}catch(g){c(g)}},i=s=>{try{r(a.throw(s))}catch(g){c(g)}},r=s=>s.done?h(s.value):Promise.resolve(s.value).then(m,i);r((a=a.apply(n,e)).next())});import{_ as N}from"./form.vue_vue_type_script_setup_true_lang-DxjpTHt9.js";import{n as o,b as I,r as L,aA as d,aK as V,ag as j}from"./index-CRmU-Qpi.js";import{a as B,b as E,c as P}from"./dynamics-yhcp7wZB.js";import"./index-An8nOBwL.js";function Z(){const n=o(),e=o(!0),a=o([]),h=o(!1),c=o({search_name:""}),m=o([{label:"话题标题",prop:"search_name",type:"input"}]),i=o({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),r=o([{label:"ID",prop:"id"},{label:"话题标题",prop:"title"},{label:"话题内容",prop:"content"},{label:"引入数量",prop:"num"},{label:"图片",prop:"avatar",cellRenderer:({row:l})=>I(L("el-image"),{fit:"cover","preview-teleported":!0,src:l.pic,"preview-src-list":Array.of(l.pic),class:"w-[24px] h-[24px] rounded-full align-middle"},null)},{label:"状态",prop:"is_delete",cellRenderer:({row:l})=>I(L("el-tag"),{type:l.is_delete===1?"success":"error"},{default:()=>[l.is_delete===1?"正常":"已删除"]})},{label:"创建时间",prop:"createtime"},{label:"操作",fixed:"right",slot:"operation"}]),s=l=>u(this,null,function*(){e.value=!0,c.value=v({},l);const{data:t,code:f}=yield B(S(v({},l),{page:i.value.currentPage,page_limit:i.value.pageSize}));f&&(a.value=t.lists,i.value.total=t.count,i.value.currentPage=t.page),e.value=!1});return{searchForm:c,searchLabel:m,onSearch:s,isShow:h,tableList:a,tableLabel:r,pagination:i,handleSizeChange:l=>{i.value.pageSize=l,s(c.value)},handleCurrentChange:l=>{i.value.currentPage=l,s(c.value)},loading:e,handleDelete:l=>u(this,null,function*(){const{code:t}=yield E({id:l.id});t==="0"&&(d(`您删除了话题为【${l.title}】的这条数据`,{type:"success"}),s(c.value))}),openDialog:(l="新增",t)=>{var f,_,C;V({title:`${l}话题`,props:{formInline:{title:(f=t==null?void 0:t.title)!=null?f:"",content:(_=t==null?void 0:t.content)!=null?_:"",pic:(C=t==null?void 0:t.pic)!=null?C:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>j(N,{ref:n,formInline:null}),beforeSure:(z,{options:T})=>{const k=n.value.getRef(),b=T.props.formInline,A=p=>u(this,null,function*(){const{code:y}=yield P(p);y?(d("新增成功",{type:"success"}),s(c.value),z()):d("新增失败",{type:"error"})}),F=p=>u(this,null,function*(){const{code:y}=yield P(S(v({},p),{id:t.id}));y?(d("修改成功",{type:"success"}),s(c.value),z()):d("修改失败",{type:"error"})});k.validate(p=>{p&&(delete b.higherMenuOptions,l==="新增"?A(b):F(b))})}})}}}export{Z as useData}; diff --git a/dist/static/js/hook-B2DKEnNK.js b/dist/static/js/hook-B2DKEnNK.js new file mode 100644 index 0000000..f75e4e0 --- /dev/null +++ b/dist/static/js/hook-B2DKEnNK.js @@ -0,0 +1 @@ +var K=Object.defineProperty,V=Object.defineProperties;var j=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var E=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var k=(s,t,l)=>t in s?K(s,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[t]=l,d=(s,t)=>{for(var l in t||(t={}))E.call(t,l)&&k(s,l,t[l]);if(z)for(var l of z(t))G.call(t,l)&&k(s,l,t[l]);return s},B=(s,t)=>V(s,j(t));var c=(s,t,l)=>new Promise((R,n)=>{var o=p=>{try{_(l.next(p))}catch(b){n(b)}},r=p=>{try{_(l.throw(p))}catch(b){n(b)}},_=p=>p.done?R(p.value):Promise.resolve(p.value).then(o,r);_((l=l.apply(s,t)).next())});import{a as H,b as J,r as Q,c as U,g as W,d as X,e as Y,s as Z}from"./blindBox-BqHhL4EW.js";import{_ as ee}from"./form.vue_vue_type_script_setup_true_lang-C5Afdf2H.js";import{_ as ae}from"./settingRule.vue_vue_type_script_setup_true_lang-DO9xMX7n.js";import{n as i,b as D,r as q,aA as f,aK as P,ag as F}from"./index-CRmU-Qpi.js";import"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";function de(){const s=i(),t=i(!0),l=i([]),R=i(!1),n=i({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),o=i({gift_id:"",gift_name:""}),r=i(0),_=i([]),p=i([{label:"每期总次数",prop:"total_count"},{label:"每期总礼物价值(收入)",prop:"total_price"},{label:"每期总抽奖花费(支出)",prop:"total_cost"},{label:"每期统计(收入/支出)",prop:"profit_loss_ratio",tip:"%"},{label:"今日抽奖人数",prop:"today_count_user"},{label:"今日抽奖次数",prop:"today_total_count"},{label:"今日抽奖收入",prop:"today_total_price"}]),b=i({}),w=i([{label:"礼物ID",prop:"gift_id",type:"input"},{label:"礼物名称",prop:"gift_name",type:"input"}]),A=i([{label:"礼物ID",prop:"gift_id"},{label:"礼物名称",prop:"gift_name"},{label:"封面图",prop:"base_image",cellRenderer:({row:e})=>D(q("el-image"),{fit:"cover","preview-teleported":!0,src:e.base_image,"preview-src-list":Array.of(e.base_image),class:"w-[50px] h-[50px] align-middle"},null)},{label:"价格",prop:"gift_price"},{label:"每期数量",prop:"quantity"},{label:"未开数量",prop:"remaining_number"},{label:"公屏",prop:"is_public_screen",cellRenderer:({row:e})=>D(q("el-tag"),{type:e.is_public_screen===1?"success":"error"},{default:()=>[e.is_public_screen===1?"是":"否"]})},{label:"全服播报",prop:"is_public_server",cellRenderer:({row:e})=>D(q("el-tag"),{type:e.is_public_server===1?"success":"error"},{default:()=>[e.is_public_server===1?"是":"否"]})},{label:"添加时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),g=e=>c(this,null,function*(){t.value=!0,o.value=d({},e);const{data:a,code:u}=yield H(B(d({},e),{gift_bag_id:r.value,page:n.value.currentPage,page_limit:n.value.pageSize}));u&&(l.value=a.lists.map(v=>d(d({},v),a.total)),b.value=a.total_data,n.value.total=a.count,n.value.currentPage=a.page),t.value=!1}),M=e=>{n.value.pageSize=e,g(o.value)},N=e=>{n.value.currentPage=e,g(o.value)},O=()=>c(this,null,function*(){const{code:e,data:a}=yield J({activities_id:4});_.value=e?a.map(u=>({label:u.name,value:u.id})):[],e&&x(a[0].id)}),x=e=>{r.value=e,g(o.value)};return{searchForm:o,searchLabel:w,onSearch:g,isShow:R,tableList:l,tableLabel:A,pagination:n,handleSizeChange:M,handleCurrentChange:N,loading:t,getType:O,activeName:r,typeList:_,statisticsList:p,statisticsData:b,handleClick:x,openDialog:(e="新增",a)=>c(this,null,function*(){var u,v;P({title:`${e}盲盒礼物`,props:{formInline:{gift_id:(u=a==null?void 0:a.gift_id)!=null?u:"",quantity:(v=a==null?void 0:a.quantity)!=null?v:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>F(ee,{ref:s,formInline:null}),beforeSure:(h,{options:S})=>{const I=s.value.getRef(),m=S.props.formInline,C=y=>c(this,null,function*(){const{code:L}=yield X(B(d({},y),{gift_bag_id:r.value}));L?(f("新增成功",{type:"success"}),g(o.value),h()):f("新增失败",{type:"error"})}),T=y=>c(this,null,function*(){const{code:L,msg:$}=yield Y(B(d({},y),{gift_bag_id:r.value,id:a.id}));L?(f("修改成功",{type:"success"}),g(o.value),h()):f($,{type:"error"})});I.validate(y=>{y&&(e==="新增"?C(m):T(m))})}})}),resetSetting:()=>c(this,null,function*(){const{data:e,code:a}=yield Q({gift_bag_id:r.value});a&&(f("重置成功",{type:"success"}),x(r.value))}),handleDelete:e=>c(this,null,function*(){const{code:a}=yield U({id:e.id});a&&(f("您删除了这条数据",{type:"success"}),g(o.value))}),setting:()=>c(this,null,function*(){const{data:e,code:a}=yield W({gift_bag_id:r.value});P({title:"设置盲盒规则",props:{formInline:d({},e)},width:"40%",closeOnClickModal:!1,contentRenderer:()=>F(ae,{ref:s,formInline:null}),beforeSure:(u,{options:v})=>{const h=s.value.getRef(),S=v.props.formInline,I=m=>c(this,null,function*(){const{code:C}=yield Z(d({},m));C?(f("设置成功",{type:"success"}),g(o.value),u()):f("设置失败",{type:"error"})});h.validate(m=>{m&&I(S)})}})})}}export{de as useData}; diff --git a/dist/static/js/hook-B3EaNBmR.js b/dist/static/js/hook-B3EaNBmR.js new file mode 100644 index 0000000..0dee262 --- /dev/null +++ b/dist/static/js/hook-B3EaNBmR.js @@ -0,0 +1 @@ +var F=Object.defineProperty,M=Object.defineProperties;var O=Object.getOwnPropertyDescriptors;var R=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var k=(t,e,a)=>e in t?F(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,f=(t,e)=>{for(var a in e||(e={}))$.call(e,a)&&k(t,a,e[a]);if(R)for(var a of R(e))q.call(e,a)&&k(t,a,e[a]);return t},y=(t,e)=>M(t,O(e));var p=(t,e,a)=>new Promise((h,i)=>{var v=n=>{try{o(a.next(n))}catch(g){i(g)}},r=n=>{try{o(a.throw(n))}catch(g){i(g)}},o=n=>n.done?h(n.value):Promise.resolve(n.value).then(v,r);o((a=a.apply(t,e)).next())});import{_ as K}from"./form.vue_vue_type_script_setup_true_lang-pYH7w3wd.js";import{n as c,b as x,r as I,aA as d,aK as N,ag as V}from"./index-CRmU-Qpi.js";import{f as j,h as E,u as L}from"./room-3H8Bx0CI.js";import"./index-An8nOBwL.js";function Z(){const t=c(),e=c(!0),a=c([]),h=c(!1),i=c({search_name:""}),v=c([{label:"背景名称",prop:"search_name",type:"input"}]),r=c({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),o=c([{label:"ID",prop:"id"},{label:"背景名称",prop:"image_name"},{label:"状态",prop:"status",cellRenderer:({row:l})=>x(I("el-tag"),{type:l.status===1?"success":"info"},{default:()=>[l.status===1?"显示":"隐藏"]})},{label:"缩略图",prop:"image_url",cellRenderer:({row:l})=>x(I("el-image"),{fit:"cover","preview-teleported":!0,src:l.image_url,"preview-src-list":Array.of(l.image_url),class:"w-[24px] h-[24px] rounded-full align-middle"},null)},{label:"创建时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),n=l=>p(this,null,function*(){e.value=!0,i.value=f({},l);const{data:s,code:m}=yield j(y(f({},l),{page:r.value.currentPage,page_limit:r.value.pageSize}));m&&(a.value=s.lists,r.value.total=s.count,r.value.currentPage=s.page),e.value=!1});return{searchForm:i,searchLabel:v,onSearch:n,isShow:h,tableList:a,tableLabel:o,pagination:r,handleSizeChange:l=>{r.value.pageSize=l,n(i.value)},handleCurrentChange:l=>{r.value.currentPage=l,n(i.value)},loading:e,handleDelete:l=>p(this,null,function*(){const{code:s}=yield E({id:l.id});s&&(d(`您删除了背景名称为【${l.image_name}】的这条数据`,{type:"success"}),n(i.value))}),openDialog:(l="新增",s)=>{var m,S,C;N({title:`${l}背景`,props:{formInline:{image_name:(m=s==null?void 0:s.image_name)!=null?m:"",image_url:(S=s==null?void 0:s.image_url)!=null?S:"",status:(C=s==null?void 0:s.status)!=null?C:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>V(K,{ref:t,formInline:null}),beforeSure:(z,{options:P})=>{const B=t.value.getRef(),_=P.props.formInline,G=u=>p(this,null,function*(){const{code:b}=yield L(u);b?(d("新增成功",{type:"success"}),n(i.value),z()):d("新增失败",{type:"error"})}),A=u=>p(this,null,function*(){const{code:b}=yield L(y(f({},u),{id:s.id}));b?(d("修改成功",{type:"success"}),n(i.value),z()):d("修改失败",{type:"error"})});B.validate(u=>{u&&(delete _.higherMenuOptions,l==="新增"?G(_):A(_))})}})}}}export{Z as useData}; diff --git a/dist/static/js/hook-B8dlrmJp.js b/dist/static/js/hook-B8dlrmJp.js new file mode 100644 index 0000000..da1a590 --- /dev/null +++ b/dist/static/js/hook-B8dlrmJp.js @@ -0,0 +1 @@ +var M=Object.defineProperty,O=Object.defineProperties;var $=Object.getOwnPropertyDescriptors;var I=Object.getOwnPropertySymbols;var q=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable;var L=(s,a,l)=>a in s?M(s,a,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[a]=l,f=(s,a)=>{for(var l in a||(a={}))q.call(a,l)&&L(s,l,a[l]);if(I)for(var l of I(a))K.call(a,l)&&L(s,l,a[l]);return s},b=(s,a)=>O(s,$(a));var u=(s,a,l)=>new Promise((v,i)=>{var h=t=>{try{r(l.next(t))}catch(m){i(m)}},o=t=>{try{r(l.throw(t))}catch(m){i(m)}},r=t=>t.done?v(t.value):Promise.resolve(t.value).then(h,o);r((l=l.apply(s,a)).next())});import{_ as N}from"./form.vue_vue_type_script_setup_true_lang-CHItqJrU.js";import{n as c,b as R,r as S,aA as d,aK as V,ag as j}from"./index-CRmU-Qpi.js";import{w as B,x as E,y as G,z as H}from"./room-3H8Bx0CI.js";import"./index-An8nOBwL.js";function D(){const s=c(),a=c(!0),l=c([]),v=c(!1),i=c({search_name:""}),h=c([{label:"关系名称",prop:"search_name",type:"input"}]),o=c({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),r=c([{label:"ID",prop:"id"},{label:"关系图标",prop:"icon",cellRenderer:({row:e})=>R(S("el-image"),{fit:"cover","preview-teleported":!0,src:e.icon,"preview-src-list":Array.of(e.icon),class:"w-[24px] h-[24px] align-middle"},null)},{label:"关系名称",prop:"name"},{label:"关系类型",prop:"type",cellRenderer:({row:e})=>R(S("el-tag"),{type:e.type===1?"success":""},{default:()=>[e.type_str]})},{label:"是否开启电影房",prop:"is_open_movie",cellRenderer:({row:e})=>R(S("el-tag"),{type:e.is_open_movie==="是"?"success":"error"},{default:()=>[e.is_open_movie]})},{label:"创建时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),t=e=>u(this,null,function*(){a.value=!0,i.value=f({},e);const{data:n,code:g}=yield B(b(f({},e),{page:o.value.currentPage,page_limit:o.value.pageSize}));g&&(l.value=n.lists,o.value.total=n.count,o.value.currentPage=n.page),a.value=!1});return{searchForm:i,searchLabel:h,onSearch:t,isShow:v,tableList:l,tableLabel:r,pagination:o,handleSizeChange:e=>{o.value.pageSize=e,t(i.value)},handleCurrentChange:e=>{o.value.currentPage=e,t(i.value)},loading:a,handleDelete:e=>u(this,null,function*(){const{code:n}=yield E({relation_id:e.id});n&&(d(`您删除了关系名称为【${e.name}】的这条数据`,{type:"success"}),t(i.value))}),openDialog:(e="新增",n)=>{var g,C,z;V({title:`${e}分类`,props:{formInline:{type:(g=n==null?void 0:n.type)!=null?g:"",name:(C=n==null?void 0:n.name)!=null?C:"",is_open_movie:(n==null?void 0:n.is_open_movie)==="否"?2:1,icon:(z=n==null?void 0:n.icon)!=null?z:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>j(N,{ref:s,formInline:null}),beforeSure:(x,{options:P})=>{const k=s.value.getRef(),y=P.props.formInline,A=p=>u(this,null,function*(){const{code:_}=yield G(p);_?(d("新增成功",{type:"success"}),t(i.value),x()):d("新增失败",{type:"error"})}),F=p=>u(this,null,function*(){const{code:_}=yield H(b(f({},p),{relation_id:n.id}));_?(d("修改成功",{type:"success"}),t(i.value),x()):d("修改失败",{type:"error"})});k.validate(p=>{p&&(delete y.higherMenuOptions,e==="新增"?A(y):F(y))})}})}}}export{D as useData}; diff --git a/dist/static/js/hook-BK0v_dXT.js b/dist/static/js/hook-BK0v_dXT.js new file mode 100644 index 0000000..3956a53 --- /dev/null +++ b/dist/static/js/hook-BK0v_dXT.js @@ -0,0 +1 @@ +var q=Object.defineProperty,A=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var I=Object.getOwnPropertySymbols;var M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable;var L=(l,e,a)=>e in l?q(l,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):l[e]=a,v=(l,e)=>{for(var a in e||(e={}))M.call(e,a)&&L(l,a,e[a]);if(I)for(var a of I(e))O.call(e,a)&&L(l,a,e[a]);return l},P=(l,e)=>A(l,K(e));var g=(l,e,a)=>new Promise((h,i)=>{var b=n=>{try{r(a.next(n))}catch(f){i(f)}},o=n=>{try{r(a.throw(n))}catch(f){i(f)}},r=n=>n.done?h(n.value):Promise.resolve(n.value).then(b,o);r((a=a.apply(l,e)).next())});import{_ as U}from"./form.vue_vue_type_script_setup_true_lang-DWbiX_hV.js";import{n as c,aA as d,aK as $,ag as j}from"./index-CRmU-Qpi.js";import{r as B,s as E,t as G,v as H}from"./system-CqYheEHE.js";import"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";function Z(){const l=c(),e=c(!0),a=c([]),h=c(!1),i=c({title:""}),b=c([{label:"标题名称",prop:"title",type:"input"}]),o=c({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),r=c([{label:"ID",prop:"aid"},{label:"标题",prop:"title"},{label:"跳转URL",prop:"url"},{label:"内容",prop:"content"},{label:"创建时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),n=s=>g(this,null,function*(){e.value=!0,i.value=v({},s);const{data:t,code:m}=yield B(P(v({},s),{page:o.value.currentPage,page_limit:o.value.pageSize}));m&&(a.value=t.lists.map(u=>(u.status,u)),o.value.total=t.count,o.value.currentPage=t.page),e.value=!1});return{searchForm:i,searchLabel:b,onSearch:n,isShow:h,tableList:a,tableLabel:r,pagination:o,handleSizeChange:s=>{o.value.pageSize=s,n(i.value)},handleCurrentChange:s=>{o.value.currentPage=s,n(i.value)},loading:e,handleDelete:s=>g(this,null,function*(){const{code:t}=yield E({id:s.aid});t&&(d("删除成功",{type:"success"}),n(i.value))}),openDialog:(s="新增",t)=>{var m,u,C;$({title:`${s}页面`,props:{formInline:{title:(m=t==null?void 0:t.title)!=null?m:"",url:(u=t==null?void 0:t.url)!=null?u:"",content:(C=t==null?void 0:t.content)!=null?C:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>j(U,{ref:l,formInline:null}),beforeSure:(z,{options:_})=>{const k=l.value.getRef(),R=_.props.formInline,x=p=>g(this,null,function*(){const{code:y,msg:S}=yield G(p);y?(d("新增成功",{type:"success"}),n(i.value),z()):d(S,{type:"error"})}),F=p=>g(this,null,function*(){const{code:y,msg:S}=yield H(P(v({},p),{id:t.aid}));y?(d("修改成功",{type:"success"}),n(i.value),z()):d(S,{type:"error"})});k.validate(p=>{p&&(s==="新增"?x(R):F(R))})}})}}}export{Z as useData}; diff --git a/dist/static/js/hook-BKhR1TsM.js b/dist/static/js/hook-BKhR1TsM.js new file mode 100644 index 0000000..9317a26 --- /dev/null +++ b/dist/static/js/hook-BKhR1TsM.js @@ -0,0 +1 @@ +var K=Object.defineProperty,M=Object.defineProperties;var O=Object.getOwnPropertyDescriptors;var I=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var z=(t,e,a)=>e in t?K(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,_=(t,e)=>{for(var a in e||(e={}))T.call(e,a)&&z(t,a,e[a]);if(I)for(var a of I(e))j.call(e,a)&&z(t,a,e[a]);return t},f=(t,e)=>M(t,O(e));var v=(t,e,a)=>new Promise((i,m)=>{var r=o=>{try{p(a.next(o))}catch(n){m(n)}},h=o=>{try{p(a.throw(o))}catch(n){m(n)}},p=o=>o.done?i(o.value):Promise.resolve(o.value).then(r,h);p((a=a.apply(t,e)).next())});import{u as y,w as G}from"./xlsx-DaVhO591.js";import{n as l,aK as H,ag as J,aA as D}from"./index-CRmU-Qpi.js";import{b as R}from"./Financial-DLXohchJ.js";import{_ as N}from"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";function Z(){const t=l(!0),e=l([]),a=l(!1),i=l({search_id:"",search_name:""}),m=l([{label:"用户ID",prop:"search_id",type:"input"},{label:"用户昵称",prop:"search_name",type:"input"}]),r=l({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),h=l([{label:"总充值(金币)",prop:"total_coin"},{label:"总充值(钻石)",prop:"total_earnings"},{label:"今日充值(金币)",prop:"today_coin"},{label:"今日充值(钻石)",prop:"today_earnings"}]),p=l({}),o=l([{label:"ID",prop:"arid"},{label:"操作人",prop:"admin_name"},{label:"充值用户ID-昵称",prop:"nickname"},{label:"充值类型",prop:"type_str"},{label:"数量(金币/钻石)",prop:"change_value"},{label:"备注",prop:"remarks"},{label:"支付时间",prop:"createtime"}]),n=s=>v(this,null,function*(){t.value=!0,i.value=_({},s);const{data:c,code:b}=yield R(f(_({},s),{page:r.value.currentPage,page_limit:r.value.pageSize}));b&&(e.value=c.lists,p.value=c.total_data,r.value.total=c.count,r.value.currentPage=c.page),t.value=!1}),C=s=>{r.value.pageSize=s,n(i.value)},E=s=>{r.value.currentPage=s,n(i.value)},k=l(null);return{searchForm:i,searchLabel:m,onSearch:n,isShow:a,tableList:e,tableLabel:o,pagination:r,handleSizeChange:C,handleCurrentChange:E,loading:t,exportExcel:()=>{let s=[];H({title:"导出数据",props:{formInline:{time:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>J(N,{ref:k,formInline:null}),beforeSure:(c,{options:b})=>{const F=k.value.getRef(),g=b.props.formInline,P=u=>v(this,null,function*(){const{data:B,code:$}=yield R(f(_({},u),{page:1,page_limit:2e4}));if($){s=B.lists;const x=s.map(d=>{const L=[];return o.value.forEach(A=>{L.push(d[A.prop])}),L}),S=[];o.value.forEach(d=>{S.push(d.label)}),x.unshift(S);const q=y.aoa_to_sheet(x),w=y.book_new();y.book_append_sheet(w,q,"数据报表"),G(w,`后台充值列表统计${u.start_time} - ${u.end_time}.xlsx`),D("导出成功",{type:"success"}),c()}else D("获取数据失败,请重试!",{type:"error"})});F.validate(u=>{u&&g.time&&g.time.length&&P({start_time:g.time[0]||"",end_time:g.time[1]||""})})}})},statisticsList:h,statisticsData:p}}export{Z as useData}; diff --git a/dist/static/js/hook-BNdml3vY.js b/dist/static/js/hook-BNdml3vY.js new file mode 100644 index 0000000..7a58c2c --- /dev/null +++ b/dist/static/js/hook-BNdml3vY.js @@ -0,0 +1 @@ +var x=Object.defineProperty,k=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var C=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable;var S=(t,e,a)=>e in t?x(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,b=(t,e)=>{for(var a in e||(e={}))C.call(e,a)&&S(t,a,e[a]);if(y)for(var a of y(e))D.call(e,a)&&S(t,a,e[a]);return t},L=(t,e)=>k(t,z(e));var f=(t,e,a)=>new Promise((p,s)=>{var d=o=>{try{u(a.next(o))}catch(n){s(n)}},g=o=>{try{u(a.throw(o))}catch(n){s(n)}},u=o=>o.done?p(o.value):Promise.resolve(o.value).then(d,g);u((a=a.apply(t,e)).next())});import{f as I,b as P}from"./blindBox-BqHhL4EW.js";import{u as h,w as E}from"./xlsx-DaVhO591.js";import{n as i,aA as T}from"./index-CRmU-Qpi.js";function G(){const t=i(!0),e=i([]),a=i(!1),p=i({total:0,pageSize:10,currentPage:1,pageSizes:[10,20,50,100],background:!0}),s=i({user_id:"",gift_id:"",room_id:"",gift_bag_id:"",periods:"",stime:"",etime:""}),d=i([{label:"总抽奖次数",prop:"total"},{label:"总抽奖金额(支出)",prop:"total_money"},{label:"总礼物价值(收入)",prop:"total_gift_money"},{label:"统计(收入/支出)",prop:"ratio"},{label:"盈亏(收入-支出)",prop:"profit_loss"},{label:"盈亏比(盈亏/支出)",prop:"profit_loss_ratio"}]),g=i({}),u=i([{label:"用户ID",prop:"user_id",type:"input"},{label:"礼物ID",prop:"gift_id",type:"input"},{label:"房间ID",prop:"room_id",type:"input"},{label:"礼包类型",prop:"gift_bag_id",type:"select",optionList:[]},{label:"期数",prop:"periods",type:"input"},{label:"开始时间",prop:"stime",type:"date"},{label:"结束时间",prop:"etime",type:"date"}]),o=i([{label:"ID",prop:"gift_id"},{label:"盲盒类型",prop:"gift_bag_type"},{label:"期数",prop:"periods"},{label:"所在房间",prop:"room_name"},{label:"开奖人",prop:"user_name"},{label:"支付价格",prop:"bag_price"},{label:"礼物ID",prop:"gift_id"},{label:"礼物名称",prop:"gift_name"},{label:"礼物价格",prop:"gift_price"},{label:"抽中数量",prop:"gift_num"},{label:"接收人",prop:"gift_user_name"},{label:"创建时间",prop:"createtime"}]),n=l=>f(this,null,function*(){t.value=!0,s.value=b({},l);const{data:r,code:c}=yield I(L(b({},l),{page:p.value.currentPage,page_limit:p.value.pageSize}));c&&(e.value=r.lists.map(_=>b(b({},_),r.total)),g.value=r.total_data,p.value.total=r.count,p.value.currentPage=r.page),t.value=!1});return{searchForm:s,searchLabel:u,onSearch:n,isShow:a,tableList:e,tableLabel:o,pagination:p,handleSizeChange:l=>{p.value.pageSize=l,n(s.value)},handleCurrentChange:l=>{p.value.currentPage=l,n(s.value)},loading:t,getType:()=>f(this,null,function*(){const{code:l,data:r}=yield P(4);u.value[3].optionList=l?r.map(c=>({label:c.name,value:c.id})):[]}),exportExcel:()=>{const l=e.value.map(m=>{const v=[];return o.value.forEach(w=>{v.push(m[w.prop])}),v}),r=[];o.value.forEach(m=>{r.push(m.label)}),l.unshift(r);const c=h.aoa_to_sheet(l),_=h.book_new();h.book_append_sheet(_,c,"数据报表"),E(_,`盲盒开奖记录统计第${p.value.currentPage}页.xlsx`),T("导出成功",{type:"success"})},statisticsList:d,statisticsData:g}}export{G as useData}; diff --git a/dist/static/js/hook-BON1Jb2T.js b/dist/static/js/hook-BON1Jb2T.js new file mode 100644 index 0000000..9b585f0 --- /dev/null +++ b/dist/static/js/hook-BON1Jb2T.js @@ -0,0 +1 @@ +var p=(a,s,o)=>new Promise((u,t)=>{var d=n=>{try{r(o.next(n))}catch(c){t(c)}},i=n=>{try{r(o.throw(n))}catch(c){t(c)}},r=n=>n.done?u(n.value):Promise.resolve(n.value).then(d,i);r((o=o.apply(a,s)).next())});import{_ as $}from"./form.vue_vue_type_script_setup_true_lang-DMF49foQ.js";import{n as l,b as A,r as K,W as N,aK as g,ag as b,aA as I}from"./index-CRmU-Qpi.js";import{_ as T}from"./record.vue_vue_type_script_setup_true_lang-Be7Z2604.js";import{_ as V}from"./index.vue_vue_type_script_setup_true_lang-BmT-iFMK.js";import{g as z,s as W}from"./activities-UkTzwAkp.js";import"./index-CnAi1QxJ.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";import"./hook-DB082g8o.js";import"./form.vue_vue_type_script_setup_true_lang-Bbwf4kUJ.js";function ee(){const a=l(),s=l(!0),o=l([]),u=l(!1),t=l({total:0,pageSize:10,currentPage:1,pageSizes:[10,20,50,100],background:!0}),d=l([{label:"ID",prop:"id"},{label:"名称",prop:"name"},{label:"标题",prop:"title"},{label:"状态",prop:"status",cellRenderer:({row:e})=>A(K("el-tag"),{type:e.status===1?"success":"info"},{default:()=>[e.status===1?"正常":"隐藏"]})},{label:"介绍内容",prop:"counter"},{label:"充值金额",prop:"money"},{label:"充值金额显示文字",prop:"money_str"},{label:"所得金币文字",prop:"diamond"},{label:"操作",fixed:"right",slot:"operation"}]),i=()=>p(this,null,function*(){s.value=!0;const{data:e,code:f}=yield z({page:t.value.currentPage,page_limit:t.value.pageSize});f&&(o.value=[e],t.value.total=1,t.value.currentPage=1),s.value=!1});return{onSearch:i,isShow:u,tableList:o,tableLabel:d,pagination:t,handleSizeChange:e=>{t.value.pageSize=e,i()},handleCurrentChange:e=>{t.value.currentPage=e,i()},loading:s,setConfig:()=>p(this,null,function*(){let e={};const{data:f,code:G}=yield z({});e=G?f:null,N(()=>{var h,_,v,y,C,R,S,k;g({title:"设置配置",props:{formInline:{name:(h=e==null?void 0:e.name)!=null?h:"",title:(_=e==null?void 0:e.title)!=null?_:"",status:(v=e==null?void 0:e.status)!=null?v:"",counter:(y=e==null?void 0:e.counter)!=null?y:"",money:(C=e==null?void 0:e.money)!=null?C:"",money_str:(R=e==null?void 0:e.money_str)!=null?R:"",diamond:(S=e==null?void 0:e.diamond)!=null?S:"",activity_end_time:(k=e==null?void 0:e.activity_end_time)!=null?k:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>b($,{ref:a,formInline:null}),beforeSure:(P,{options:x})=>{const F=a.value.getRef(),M=x.props.formInline,O=m=>p(this,null,function*(){const{code:L}=yield W(m);L?(I("新增成功",{type:"success"}),i(),P()):I("新增失败",{type:"error"})});F.validate(m=>{m&&O(M)})}})})}),DistributionRecord:()=>{g({title:"发放记录",width:"60%",closeOnClickModal:!1,hideFooter:!0,contentRenderer:()=>b(T,{ref:a,formInline:null})})},openGiftPark:e=>{g({title:"礼包列表",width:"60%",closeOnClickModal:!1,hideFooter:!0,props:{rowData:e},contentRenderer:()=>b(V,{ref:a,formInline:null})})}}}export{ee as useData}; diff --git a/dist/static/js/hook-BP3Kkray.js b/dist/static/js/hook-BP3Kkray.js new file mode 100644 index 0000000..50f0f8f --- /dev/null +++ b/dist/static/js/hook-BP3Kkray.js @@ -0,0 +1 @@ +var O=Object.defineProperty,k=Object.defineProperties;var x=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var R=(t,e,a)=>e in t?O(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,m=(t,e)=>{for(var a in e||(e={}))F.call(e,a)&&R(t,a,e[a]);if(z)for(var a of z(e))N.call(e,a)&&R(t,a,e[a]);return t},C=(t,e)=>k(t,x(e));var p=(t,e,a)=>new Promise((h,o)=>{var y=n=>{try{r(a.next(n))}catch(f){o(f)}},i=n=>{try{r(a.throw(n))}catch(f){o(f)}},r=n=>n.done?h(n.value):Promise.resolve(n.value).then(y,i);r((a=a.apply(t,e)).next())});import{_ as $}from"./form.vue_vue_type_script_setup_true_lang-BmTzdXBw.js";import{n as c,b as q,r as A,aA as d,aK as D,ag as K}from"./index-CRmU-Qpi.js";import{r as V,M as j,N as B,O as E}from"./room-3H8Bx0CI.js";function X(){const t=c(),e=c(!0),a=c([]),h=c(!1),o=c({search_name:""}),y=c([{label:"分类名称",prop:"search_name",type:"input"}]),i=c({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),r=c([{label:"ID",prop:"id"},{label:"分类名称",prop:"type_name"},{label:"状态",prop:"status",cellRenderer:({row:s})=>q(A("el-tag"),{type:s.status===1?"success":"info"},{default:()=>[s.status===1?"显示":"隐藏"]})},{label:"创建时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),n=s=>p(this,null,function*(){e.value=!0,o.value=m({},s);const{data:l,code:g}=yield V(C(m({},s),{page:i.value.currentPage,page_limit:i.value.pageSize}));g&&(a.value=l.lists,i.value.total=l.count,i.value.currentPage=l.page),e.value=!1});return{searchForm:o,searchLabel:y,onSearch:n,isShow:h,tableList:a,tableLabel:r,pagination:i,handleSizeChange:s=>{i.value.pageSize=s,n(o.value)},handleCurrentChange:s=>{i.value.currentPage=s,n(o.value)},loading:e,handleDelete:s=>p(this,null,function*(){const{code:l}=yield j({type_id:s.id});l&&(d(`您删除了分类名称为【${s.type_name}】的这条数据`,{type:"success"}),n(o.value))}),openDialog:(s="新增",l)=>{var g,_;D({title:`${s}分类`,props:{formInline:{status:(g=l==null?void 0:l.status)!=null?g:"",type_name:(_=l==null?void 0:l.type_name)!=null?_:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>K($,{ref:t,formInline:null}),beforeSure:(S,{options:I})=>{const L=t.value.getRef(),v=I.props.formInline,P=u=>p(this,null,function*(){const{code:b}=yield B(u);b?(d("新增成功",{type:"success"}),n(o.value),S()):d("新增失败",{type:"error"})}),M=u=>p(this,null,function*(){const{code:b}=yield E(C(m({},u),{type_id:l.id}));b?(d("修改成功",{type:"success"}),n(o.value),S()):d("修改失败",{type:"error"})});L.validate(u=>{u&&(delete v.higherMenuOptions,s==="新增"?P(v):M(v))})}})}}}export{X as useData}; diff --git a/dist/static/js/hook-BS06gPkL.js b/dist/static/js/hook-BS06gPkL.js new file mode 100644 index 0000000..c6f524a --- /dev/null +++ b/dist/static/js/hook-BS06gPkL.js @@ -0,0 +1 @@ +var K=Object.defineProperty,M=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var I=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable;var R=(t,e,a)=>e in t?K(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,_=(t,e)=>{for(var a in e||(e={}))O.call(e,a)&&R(t,a,e[a]);if(I)for(var a of I(e))T.call(e,a)&&R(t,a,e[a]);return t},f=(t,e)=>M(t,N(e));var h=(t,e,a)=>new Promise((n,m)=>{var s=o=>{try{i(a.next(o))}catch(r){m(r)}},b=o=>{try{i(a.throw(o))}catch(r){m(r)}},i=o=>o.done?n(o.value):Promise.resolve(o.value).then(s,b);i((a=a.apply(t,e)).next())});import{u as v,w as V}from"./xlsx-DaVhO591.js";import{n as p,b as j,r as G,aK as H,ag as J,aA as z}from"./index-CRmU-Qpi.js";import{_ as Q}from"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import{q as C}from"./Financial-DLXohchJ.js";function ae(){const t=p(!0),e=p([]),a=p(!1),n=p({search_uid:"",pay_stime:"",pay_status:"",order_sn:"",pay_type:"",pay_etime:"",money:""}),m=p([{label:"用户ID",prop:"search_uid",type:"input"},{label:"支付状态",prop:"pay_status",type:"select",optionList:[{label:"待支付",value:1},{label:"支付成功",value:2}]},{label:"订单号",prop:"order_sn",type:"input"},{label:"支付方式",prop:"pay_type",type:"select",optionList:[{label:"微信",value:1},{label:"支付宝",value:2}]},{label:"充值金额",prop:"money",type:"input"},{label:"开始时间",prop:"pay_stime",type:"date"},{label:"结束时间",prop:"pay_etime",type:"date"}]),s=p({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),b=p([{label:"未支付(¥)",prop:"unpaid_money"},{label:"总收入(¥)",prop:"paid_money"},{label:"微信支付(¥)",prop:"wx_money"},{label:"支付宝支付(¥)",prop:"ali_money"},{label:"金币数量",prop:"gold_num"}]),i=p({}),o=p([{label:"ID",prop:"rid"},{label:"订单编号",prop:"order_sn"},{label:"用户ID-昵称",prop:"user_name"},{label:"充值金额",prop:"money"},{label:"购买数量(金币)",prop:"coin"},{label:"支付方式",prop:"pay_type_name"},{label:"订单状态",prop:"pay_status_str",cellRenderer:({row:l})=>j(G("el-tag"),{type:l.pay_status===2?"success":""},{default:()=>[l.pay_status_str]})},{label:"支付时间",prop:"pay_time"},{label:"完成时间",prop:"createtime"}]),r=l=>h(this,null,function*(){t.value=!0,n.value=_({},l);const{data:c,code:d}=yield C(f(_({},l),{page:s.value.currentPage,page_limit:s.value.pageSize}));d&&(e.value=c.lists,i.value=c,s.value.total=c.count,s.value.currentPage=c.page),t.value=!1}),D=l=>{s.value.pageSize=l,r(n.value)},E=l=>{s.value.currentPage=l,r(n.value)},x=p(null);return{searchForm:n,searchLabel:m,onSearch:r,isShow:a,tableList:e,tableLabel:o,pagination:s,handleSizeChange:D,handleCurrentChange:E,exportExcel:()=>{let l=[];H({title:"导出数据",props:{formInline:{time:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>J(Q,{ref:x,formInline:null}),beforeSure:(c,{options:d})=>{const F=x.value.getRef(),y=d.props.formInline,P=u=>h(this,null,function*(){const{data:q,code:$}=yield C(f(_({},u),{page:1,page_limit:2e4}));if($){l=q.lists;const S=l.map(g=>{const k=[];return o.value.forEach(B=>{k.push(g[B.prop])}),k}),w=[];o.value.forEach(g=>{w.push(g.label)}),S.unshift(w);const A=v.aoa_to_sheet(S),L=v.book_new();v.book_append_sheet(L,A,"数据报表"),V(L,`充值列表统计${u.pay_stime} - ${u.pay_etime}.xlsx`),z("导出成功",{type:"success"}),c()}else z("获取数据失败,请重试!",{type:"error"})});F.validate(u=>{u&&y.time&&y.time.length&&P({pay_stime:y.time[0]||"",pay_etime:y.time[1]||""})})}})},loading:t,statisticsList:b,statisticsData:i}}export{ae as useData}; diff --git a/dist/static/js/hook-BTAMor4e.js b/dist/static/js/hook-BTAMor4e.js new file mode 100644 index 0000000..16ec129 --- /dev/null +++ b/dist/static/js/hook-BTAMor4e.js @@ -0,0 +1 @@ +var B=Object.defineProperty,E=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var U=(t,l,a)=>l in t?B(t,l,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[l]=a,y=(t,l)=>{for(var a in l||(l={}))N.call(l,a)&&U(t,a,l[a]);if(x)for(var a of x(l))V.call(l,a)&&U(t,a,l[a]);return t},M=(t,l)=>E(t,K(l));var p=(t,l,a)=>new Promise((R,n)=>{var C=i=>{try{g(a.next(i))}catch(_){n(_)}},o=i=>{try{g(a.throw(i))}catch(_){n(_)}},g=i=>i.done?R(i.value):Promise.resolve(i.value).then(C,o);g((a=a.apply(t,l)).next())});import{_ as j}from"./form.vue_vue_type_script_setup_true_lang-DWkvuK7p.js";import{_ as G}from"./memberList.vue_vue_type_script_setup_true_lang-BIA3qUx3.js";import{_ as H}from"./roomList.vue_vue_type_script_setup_true_lang-C3mqxAhb.js";import{_ as J}from"./mergeForm.vue_vue_type_script_setup_true_lang-CBC0VMWv.js";import{n as d,b as z,r as $,aA as r,aK as b,ag as S,fI as Q}from"./index-CRmU-Qpi.js";import{q as T,d as W,g as X,c as Y,a as Z,e as w}from"./union-ZelC57cN.js";import"./index-An8nOBwL.js";import"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import"./hooks-ItYVRz1P.js";import"./xlsx-DaVhO591.js";function he(){const t=d(),l=d(!0),a=d([]),R=d(!1),n=d({search_id:"",search_name:"",search_stime:"",search_etime:""}),C=d([{label:"公会ID",prop:"search_id",type:"input"},{label:"公会名称",prop:"search_name",type:"input"},{label:"添加时间",prop:"search_stime",type:"date"},{label:"结束时间",prop:"search_etime",type:"date"}]),o=d({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),g=d([{type:"selection",align:"left"},{label:"公会号",prop:"code_id"},{label:"公会名称",prop:"guild_name"},{label:"公会靓号",prop:"guild_special_id"},{label:"会长ID-昵称",prop:"user_name"},{label:"封面图",prop:"guild_logo",cellRenderer:({row:e})=>z($("el-image"),{fit:"cover","preview-teleported":!0,src:e.guild_logo,"preview-src-list":Array.of(e.guild_logo),class:"w-[24px] h-[24px] align-middle"},null)},{label:"今日流水",prop:"today_money"},{label:"公会状态",prop:"status_str",cellRenderer:({row:e})=>z($("el-tag"),{type:e.status_str==="正常"?"success":"error"},{default:()=>[e.status_str]})},{label:"显示状态",prop:"is_show",cellRenderer:({row:e})=>z("div",null,[e.status_str==="正常"?e.is_show_str:"-"])},{label:"创建时间",prop:"createtime"},{label:"操作",fixed:"right",width:300,slot:"operation"}]),i=e=>p(this,null,function*(){l.value=!0,n.value=y({},e);const{data:s,code:c}=yield T(M(y({},e),{page:o.value.currentPage,page_limit:o.value.pageSize}));c&&(a.value=s.list,o.value.total=s.count,o.value.currentPage=s.page),l.value=!1});return{searchForm:n,searchLabel:C,onSearch:i,isShow:R,tableList:a,tableLabel:g,pagination:o,handleSizeChange:e=>{o.value.pageSize=e,i(n.value)},handleCurrentChange:e=>{o.value.currentPage=e,i(n.value)},loading:l,handleDelete:e=>p(this,null,function*(){const{code:s}=yield W({id:e.id});s==="0"&&(r(`您删除了公会名称为【${e.guild_name}】的这条数据`,{type:"success"}),i(n.value))}),openDialog:(e="新增",s)=>{var c,u,f,h,v;b({title:`${e}分类`,props:{formInline:{guild_special_id:(c=s==null?void 0:s.guild_special_id)!=null?c:"",user_id:(u=s==null?void 0:s.user_id)!=null?u:"",guild_name:(f=s==null?void 0:s.guild_name)!=null?f:"",guild_desc:(h=s==null?void 0:s.guild_desc)!=null?h:"",guild_logo:(v=s==null?void 0:s.guild_logo)!=null?v:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>S(j,{ref:t,formInline:null}),beforeSure:(L,{options:O})=>{const P=t.value.getRef(),k=O.props.formInline,F=m=>p(this,null,function*(){const{code:I,msg:A}=yield Z(m);I?(r("新增成功",{type:"success"}),i(n.value),L()):r(A,{type:"error"})}),q=m=>p(this,null,function*(){const{code:I}=yield w(M(y({},m),{id:s.id}));I?(r("修改成功",{type:"success"}),i(n.value),L()):r("修改失败",{type:"error"})});P.validate(m=>{m&&(e==="新增"?F(k):q(k))})}})},viewMember:e=>{b({title:"查看成员列表",props:{rowData:e},width:"60%",closeOnClickModal:!1,contentRenderer:()=>S(G),beforeSure:s=>{s()}})},viewRoomList:e=>{b({title:"查看房间列表",props:{rowData:e},width:"60%",closeOnClickModal:!1,contentRenderer:()=>S(H),beforeSure:s=>{s()}})},changeShowStatus:e=>p(this,null,function*(){const{data:s,code:c,msg:u}=yield Y({id:e.id});c?(r("操作成功",{type:"success"}),i(n.value)):r(u,{type:"error"})}),mergeData:()=>p(this,null,function*(){b({title:"合并公会",props:{formInline:{guild_id:"",merge_guild_id:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>S(J,{ref:t,formInline:null}),beforeSure:(e,{options:s})=>{const c=t.value.getRef(),u=s.props.formInline;c.validate(f=>{f&&Q.confirm("此操作不可更改,是否继续?","提示",{type:"warning"}).then(()=>p(this,null,function*(){const{code:h,msg:v}=yield X(u);h?(r("操作成功",{type:"success"}),i(n.value),e()):r(v,{type:"error"})})).catch(()=>{})})}})})}}export{he as useData}; diff --git a/dist/static/js/hook-B_Z2UEj_.js b/dist/static/js/hook-B_Z2UEj_.js new file mode 100644 index 0000000..99f80f9 --- /dev/null +++ b/dist/static/js/hook-B_Z2UEj_.js @@ -0,0 +1 @@ +var K=Object.defineProperty,M=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var R=(t,s,a)=>s in t?K(t,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[s]=a,I=(t,s)=>{for(var a in s||(s={}))O.call(s,a)&&R(t,a,s[a]);if(x)for(var a of x(s))V.call(s,a)&&R(t,a,s[a]);return t},P=(t,s)=>M(t,N(s));var o=(t,s,a)=>new Promise((g,n)=>{var h=c=>{try{m(a.next(c))}catch(f){n(f)}},i=c=>{try{m(a.throw(c))}catch(f){n(f)}},m=c=>c.done?g(c.value):Promise.resolve(c.value).then(h,i);m((a=a.apply(t,s)).next())});import{_ as $}from"./form.vue_vue_type_script_setup_true_lang-tv9ZrCTh.js";import{n as r,b as j,r as q,aA as u,aK as B,ag as E}from"./index-CRmU-Qpi.js";import{w as G,x as H,y as J,z as Q,A as U}from"./system-CqYheEHE.js";function ee(){const t=r(),s=r(!0),a=r([]),g=r(!1),n=r({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),h=r([{label:"ID",prop:"id"},{label:"主题名称",prop:"theme_name"},{label:"主题色色值",prop:"theme_color"},{label:"辅助色值",prop:"auxiliary_color"},{label:"文件地址",prop:"file_url"},{label:"使用状态",prop:"is_active",cellRenderer:({row:l})=>j(q("el-tag"),{type:l.is_active===1?"success":"info"},{default:()=>[l.is_active===1?"正在使用":"未使用"]})},{label:"操作",fixed:"right",width:210,slot:"operation"}]),i=()=>o(this,null,function*(){s.value=!0;const{data:l,code:e}=yield G({page:n.value.currentPage,page_limit:n.value.pageSize});e&&(a.value=l.lists.map(p=>(p.status,p)),n.value.total=l.count,n.value.currentPage=l.page),s.value=!1});return{onSearch:i,isShow:g,tableList:a,tableLabel:h,pagination:n,handleSizeChange:l=>{n.value.pageSize=l,i()},handleCurrentChange:l=>{n.value.currentPage=l,i()},loading:s,handleDelete:l=>o(this,null,function*(){const{code:e}=yield H({id:l.id});e&&(u("删除成功",{type:"success"}),i())}),openDialog:(l="新增",e)=>{var p,y,b,S,C;B({title:`${l}主题`,props:{formInline:{theme_name:(p=e==null?void 0:e.theme_name)!=null?p:"",theme_color:(y=e==null?void 0:e.theme_color)!=null?y:"",auxiliary_color:(b=e==null?void 0:e.auxiliary_color)!=null?b:"",file_url:(S=e==null?void 0:e.file_url)!=null?S:"",is_active:(C=e==null?void 0:e.is_active)!=null?C:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>E($,{ref:t,formInline:null}),beforeSure:(z,{options:L})=>{const k=t.value.getRef(),T=L.props.formInline,A=d=>o(this,null,function*(){const{code:_,msg:v}=yield Q(d);_?(u("新增成功",{type:"success"}),i(),z()):u(v,{type:"error"})}),F=d=>o(this,null,function*(){const{code:_,msg:v}=yield U(P(I({},d),{id:e.id}));_?(u("修改成功",{type:"success"}),i(),z()):u(v,{type:"error"})});k.validate(d=>{d&&(l==="新增"?A(T):F(T))})}})},useTheme:l=>o(this,null,function*(){const{code:e}=yield J({id:l.id});e&&(u("应用成功",{type:"success"}),i())})}}export{ee as useData}; diff --git a/dist/static/js/hook-BhTLTlo8.js b/dist/static/js/hook-BhTLTlo8.js new file mode 100644 index 0000000..02e25db --- /dev/null +++ b/dist/static/js/hook-BhTLTlo8.js @@ -0,0 +1 @@ +var B=Object.defineProperty,K=Object.defineProperties;var M=Object.getOwnPropertyDescriptors;var R=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable;var z=(t,e,a)=>e in t?B(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,c=(t,e)=>{for(var a in e||(e={}))N.call(e,a)&&z(t,a,e[a]);if(R)for(var a of R(e))O.call(e,a)&&z(t,a,e[a]);return t},b=(t,e)=>K(t,M(e));var x=(t,e,a)=>new Promise((g,l)=>{var p=o=>{try{s(a.next(o))}catch(u){l(u)}},v=o=>{try{s(a.throw(o))}catch(u){l(u)}},s=o=>o.done?g(o.value):Promise.resolve(o.value).then(p,v);s((a=a.apply(t,e)).next())});import{u as w,w as T}from"./xlsx-DaVhO591.js";import{_ as V}from"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import{n,b as j,r as G,aK as H,ag as J,aA as E}from"./index-CRmU-Qpi.js";import{a as F}from"./statistics-Cc1WE90b.js";function ee(){const t=n(!0),e=n([]),a=n(!1),g=n(0),l=n({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),p=n({search_uid:"",begin_time:"",username:"",end_time:""}),v=n([{label:"用户ID",prop:"search_uid",type:"input"},{label:"用户昵称",prop:"username",type:"input"},{label:"开始时间",prop:"begin_time",type:"date"},{label:"结束时间",prop:"end_time",type:"date"}]),s=n([{label:"用户名称",prop:"user_name"},{label:"头像",prop:"avatar",cellRenderer:({row:r})=>j(G("el-image"),{fit:"cover","preview-teleported":!0,src:r.avatar,"preview-src-list":Array.of(r.avatar),class:"w-[30px] h-[30px] align-middle"},null)},{label:"消费总额",prop:"change_value"}]),o=r=>x(this,null,function*(){t.value=!0,p.value=c({},r);const{data:i,code:f}=yield F(b(c({},r),{page:l.value.currentPage,page_limit:l.value.pageSize}));f&&(e.value=i.lists.map(_=>c(c({},_),i.total)),g.value=i.total.total_price,l.value.total=i.count,l.value.currentPage=i.page),t.value=!1}),u=r=>{l.value.pageSize=r,o(p.value)},I=r=>{l.value.currentPage=r,o(p.value)},y=n(null);return{searchForm:p,searchLabel:v,onSearch:o,isShow:a,tableList:e,tableLabel:s,pagination:l,total_price:g,handleSizeChange:u,handleCurrentChange:I,exportExcel:()=>{let r=[];H({title:"导出数据",props:{formInline:{time:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>J(V,{ref:y,formInline:null}),beforeSure:(i,{options:f})=>{const _=y.value.getRef(),d=f.props.formInline,P=m=>x(this,null,function*(){const{data:A,code:D}=yield F(b(c({},m),{page:1,page_limit:2e4}));if(D){r=A.lists;const S=r.map(h=>{const L=[];return s.value.forEach(q=>{L.push(h[q.prop])}),L}),k=[];s.value.forEach(h=>{k.push(h.label)}),S.unshift(k);const $=w.aoa_to_sheet(S),C=w.book_new();w.book_append_sheet(C,$,"数据报表"),T(C,`消费排行统计${m.begin_time} - ${m.end_time}.xlsx`),E("导出成功",{type:"success"}),i()}else E("获取数据失败,请重试!",{type:"error"})});_.validate(m=>{m&&d.time&&d.time.length&&P({begin_time:d.time[0]||"",end_time:d.time[1]||""})})}})},loading:t}}export{ee as useData}; diff --git a/dist/static/js/hook-BjKxPh4y.js b/dist/static/js/hook-BjKxPh4y.js new file mode 100644 index 0000000..0314b93 --- /dev/null +++ b/dist/static/js/hook-BjKxPh4y.js @@ -0,0 +1 @@ +var V=Object.defineProperty,B=Object.defineProperties;var J=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var K=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var T=(s,e,t)=>e in s?V(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,f=(s,e)=>{for(var t in e||(e={}))K.call(e,t)&&T(s,t,e[t]);if(z)for(var t of z(e))W.call(e,t)&&T(s,t,e[t]);return s},E=(s,e)=>B(s,J(e));var _=(s,e,t)=>new Promise((b,i)=>{var h=r=>{try{c(t.next(r))}catch(m){i(m)}},n=r=>{try{c(t.throw(r))}catch(m){i(m)}},c=r=>r.done?b(r.value):Promise.resolve(r.value).then(h,n);c((t=t.apply(s,e)).next())});import{u as y,w as j}from"./xlsx-DaVhO591.js";import{n as o,b as F,r as G,f as H,W as Q,aK as P,ag as D,aA as d}from"./index-CRmU-Qpi.js";import{_ as U}from"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import{q as $,g as X,s as Y,_ as Z,a as ee}from"./ruleform.vue_vue_type_script_setup_true_lang-CpPLnSJP.js";import"./reward.vue_vue_type_script_setup_true_lang-7Tg4wqPi.js";import"./blindBox-BqHhL4EW.js";import"./activities-UkTzwAkp.js";function pe(){const s=o(),e=o(!0),t=o([]),b=o(!1),i=o({search_ranking:"",search_stime:"",search_etime:""}),h=o([{label:"排名",prop:"search_ranking",type:"input"},{label:"开始时间",prop:"search_stime",type:"date"},{label:"结束时间",prop:"search_etime",type:"date"}]),n=o({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),c=o([{label:"排名",prop:"ranking"},{label:"房间ID",prop:"room_id"},{label:"房间名称",prop:"room_name"},{label:"房主名称",prop:"nickname"},{label:"锁定流水总值",prop:"flowing_water"},{label:"全服播报",prop:"is_public_server",cellRenderer:({row:a})=>F(G("el-tag"),{type:a.is_public_server===1?"success":"error"},{default:()=>[a.is_public_server===1?"显示":"隐藏"]})},{label:"本期开始时间",prop:"stime",width:300,cellRenderer:({row:a})=>F("span",null,[a.stime,H(" - "),a.etime])}]),r=a=>_(this,null,function*(){e.value=!0,i.value=f({},a);const{data:p,code:g}=yield $(E(f({},a),{page:n.value.currentPage,page_limit:n.value.pageSize}));g&&(t.value=p.lists,n.value.total=p.count,n.value.currentPage=p.page),e.value=!1}),m=a=>{n.value.pageSize=a,r(i.value)},q=a=>{n.value.currentPage=a,r(i.value)},A=()=>_(this,null,function*(){const a=yield X(),p=yield Y();Q(()=>{P({title:"设置规则",props:{ruleInfo:f({},a.data),ruleJson:p.data},fullscreen:!0,closeOnClickModal:!1,contentRenderer:()=>D(Z,{ref:s,formInline:null}),beforeSure:(g,{options:w})=>{const u=s.value.confrimData();(l=>_(this,null,function*(){const{code:v}=yield ee(f({},l));v?(d("设置成功",{type:"success"}),g()):d("设置失败",{type:"error"})}))(u)}})})}),k=o(null);return{searchForm:i,searchLabel:h,onSearch:r,isShow:b,tableList:t,tableLabel:c,pagination:n,handleSizeChange:m,handleCurrentChange:q,loading:e,exportExcel:()=>{let a=[];P({title:"导出数据",props:{formInline:{time:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>D(U,{ref:k,formInline:null}),beforeSure:(p,{options:g})=>{const w=k.value.getRef(),u=g.props.formInline,x=l=>_(this,null,function*(){const{data:v,code:M}=yield $({search_stime:l.begin_time,search_etime:l.end_time,page:1,page_limit:2e4});if(M){a=v.lists;const R=a.map(S=>{const L=[];return c.value.forEach(O=>{L.push(S[O.prop])}),L}),I=[];c.value.forEach(S=>{I.push(S.label)}),R.unshift(I);const N=y.aoa_to_sheet(R),C=y.book_new();y.book_append_sheet(C,N,"数据报表"),j(C,`小时榜数据统计${l.begin_time} - ${l.end_time}.xlsx`),d("导出成功",{type:"success"}),p()}else d("获取数据失败,请重试!",{type:"error"})});w.validate(l=>{l&&u.time&&u.time.length&&x({begin_time:u.time[0]||"",end_time:u.time[1]||""})})}})},settingRule:A}}export{pe as useData}; diff --git a/dist/static/js/hook-BmZBh1OK.js b/dist/static/js/hook-BmZBh1OK.js new file mode 100644 index 0000000..df19d90 --- /dev/null +++ b/dist/static/js/hook-BmZBh1OK.js @@ -0,0 +1 @@ +var W=Object.defineProperty,j=Object.defineProperties;var G=Object.getOwnPropertyDescriptors;var E=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,J=Object.prototype.propertyIsEnumerable;var P=(t,e,a)=>e in t?W(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,b=(t,e)=>{for(var a in e||(e={}))H.call(e,a)&&P(t,a,e[a]);if(E)for(var a of E(e))J.call(e,a)&&P(t,a,e[a]);return t},v=(t,e)=>j(t,G(e));var h=(t,e,a)=>new Promise((i,d)=>{var s=o=>{try{_(a.next(o))}catch(c){d(c)}},f=o=>{try{_(a.throw(o))}catch(c){d(c)}},_=o=>o.done?i(o.value):Promise.resolve(o.value).then(s,f);_((a=a.apply(t,e)).next())});import{n as r,aK as $,ag as A,aA as g}from"./index-CRmU-Qpi.js";import{_ as N}from"./form.vue_vue_type_script_setup_true_lang-CBlDgxjt.js";import{u as I,w as Q}from"./xlsx-DaVhO591.js";import{a as M,w as U}from"./Financial-DLXohchJ.js";import{_ as V}from"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";function re(){const t=r(!0),e=r([]),a=r(!1),i=r({search_order_sn:"",search_order_status:"",search_uid:"",search_nickname:"",search_type:"",search_withd_type:"",search_stime:"",search_etime:""}),d=r([{label:"订单编号",prop:"search_order_sn",type:"input"},{label:"订单状态",prop:"search_order_status",type:"select",optionList:[{label:"待处理",value:1},{label:"已通过",value:2},{label:"已拒绝",value:3},{label:"打款中",value:4},{label:"打款失败",value:5},{label:"已打款",value:6}]},{label:"用户ID",prop:"search_uid",type:"input"},{label:"用户昵称",prop:"search_nickname",type:"input"},{label:"提现方式",prop:"search_type",type:"select",optionList:[{label:"微信",value:1},{label:"支付宝",value:2}]},{label:"平台处理方式",prop:"search_withd_type",type:"select",optionList:[{label:"微信",value:1},{label:"支付宝",value:2}]},{label:"开始时间",prop:"search_stime",type:"date"},{label:"结束时间",prop:"search_etime",type:"date"}]),s=r({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),f=r(),_=r([{label:"提现总额",prop:"total_money"},{label:"待审核数量",prop:"wait_num"},{label:"今日提现",prop:"today_money"},{label:"昨日提现",prop:"yesterday_money"},{label:"已完成提现总额",prop:"complete_money"},{label:"手续费收入",prop:"server_money"}]),o=r({}),c=r([{label:"订单编号",prop:"order_sn"},{label:"提现时间",prop:"createtime"},{label:"用户ID-昵称",prop:"nickname"},{label:"提现金额",prop:"money"},{label:"服务费金额",prop:"server_money"},{label:"到账金额",prop:"general_money"},{label:"支付宝/微信姓名",prop:"real_name"},{label:"支付宝/微信账号",prop:"alipay_account"},{label:"微信账号",prop:"coin"},{label:"所属银行",prop:"bank_card"},{label:"开户行",prop:"open_bank"},{label:"银行卡号",prop:"bank_card_number"},{label:"状态",prop:"status_str"},{label:"备注",prop:"remarke"},{label:"处理时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),y=l=>h(this,null,function*(){t.value=!0,i.value=b({},l);const{data:n,code:m}=yield M(v(b({},l),{page:s.value.currentPage,page_limit:s.value.pageSize}));m&&(e.value=n.lists,o.value=n.total_data,s.value.total=n.count,s.value.currentPage=n.page),t.value=!1}),O=l=>{s.value.pageSize=l,y(i.value)},q=l=>{s.value.currentPage=l,y(i.value)},B=l=>h(this,null,function*(){$({title:"提现审批",width:"40%",props:{formInline:{status:"",withd_type:"",remarke:"",secondary_password:""}},closeOnClickModal:!1,contentRenderer:()=>A(N,{ref:f,formInline:null}),beforeSure:(n,{options:m})=>{const w=f.value.getRef(),u=m.props.formInline,k=p=>h(this,null,function*(){const{code:x,msg:S}=yield U(v(b({},p),{id:l.id}));x?(g("审批成功",{type:"success"}),y(i.value),n()):g(S,{type:"error"})});w.validate(p=>{p&&k(u)})}})}),R=r(null);return{searchForm:i,searchLabel:d,onSearch:y,isShow:a,tableList:e,tableLabel:c,pagination:s,exportExcel:()=>{let l=[];$({title:"导出数据",props:{formInline:{time:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>A(V,{ref:R,formInline:null}),beforeSure:(n,{options:m})=>{const w=R.value.getRef(),u=m.props.formInline,k=p=>h(this,null,function*(){const{data:x,code:S}=yield M(v(b({},p),{page:1,page_limit:2e4}));if(S){l=x.lists;const D=l.map(L=>{const C=[];return c.value.forEach(T=>{C.push(L[T.prop])}),C}),F=[];c.value.forEach(L=>{F.push(L.label)}),D.unshift(F);const K=I.aoa_to_sheet(D),z=I.book_new();I.book_append_sheet(z,K,"数据报表"),Q(z,`提现列表统计${p.search_stime} - ${p.search_etime}.xlsx`),g("导出成功",{type:"success"}),n()}else g("获取数据失败,请重试!",{type:"error"})});w.validate(p=>{p&&u.time&&u.time.length&&k({search_stime:u.time[0]||"",search_etime:u.time[1]||""})})}})},handleSizeChange:O,handleCurrentChange:q,loading:t,statisticsList:_,statisticsData:o,withdrawalData:B}}export{re as useData}; diff --git a/dist/static/js/hook-Bpp-GyDv.js b/dist/static/js/hook-Bpp-GyDv.js new file mode 100644 index 0000000..cf4fb32 --- /dev/null +++ b/dist/static/js/hook-Bpp-GyDv.js @@ -0,0 +1 @@ +var N=Object.defineProperty,j=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var E=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var F=(n,s,l)=>s in n?N(n,s,{enumerable:!0,configurable:!0,writable:!0,value:l}):n[s]=l,f=(n,s)=>{for(var l in s||(s={}))E.call(s,l)&&F(n,l,s[l]);if(k)for(var l of k(s))G.call(s,l)&&F(n,l,s[l]);return n},_=(n,s)=>j(n,B(s));var o=(n,s,l)=>new Promise((v,a)=>{var h=i=>{try{r(l.next(i))}catch(m){a(m)}},c=i=>{try{r(l.throw(i))}catch(m){a(m)}},r=i=>i.done?v(i.value):Promise.resolve(i.value).then(h,c);r((l=l.apply(n,s)).next())});import{_ as H}from"./form.vue_vue_type_script_setup_true_lang-CD9wd64y.js";import J from"./index-BTQkAWUQ.js";import{n as p,b as T,r as A,aA as d,aK as M,ag as O}from"./index-CRmU-Qpi.js";import{b as Q,c as U,d as W,f as X}from"./expression-DA1ai6Y-.js";import"./index-An8nOBwL.js";import"./form.vue_vue_type_script_setup_true_lang-J4dbTMG5.js";function ce(){const n=p(),s=p(!0),l=p([]),v=p(!1),a=p({id:"",name:""}),h=p([{label:"表情ID",prop:"id",type:"input"},{label:"表情名称",prop:"name",type:"input"}]),c=p({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),r=p([{label:"ID",prop:"id"},{label:"表情名称",prop:"name"},{label:"图片",prop:"image",cellRenderer:({row:t})=>T(A("el-image"),{fit:"cover","preview-teleported":!0,src:t.image,"preview-src-list":Array.of(t.image),class:"w-[50px] h-[50px] align-middle"},null)},{label:"表情分类",prop:"type_str"},{label:"状态",prop:"status",cellRenderer:({row:t})=>T(A("el-tag"),{type:t.status===1?"success":"error"},{default:()=>[t.status_str]})},{label:"修改时间",prop:"createtime"},{label:"创建时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),i=t=>o(this,null,function*(){s.value=!0,a.value=f({},t);const{data:e,code:g}=yield Q(_(f({},t),{page:c.value.currentPage,page_limit:c.value.pageSize}));g&&(l.value=e.list,c.value.total=e.count,c.value.currentPage=e.page),s.value=!1});return{searchForm:a,searchLabel:h,onSearch:i,isShow:v,tableList:l,tableLabel:r,pagination:c,handleSizeChange:t=>{c.value.pageSize=t,i(a.value)},handleCurrentChange:t=>{c.value.currentPage=t,i(a.value)},loading:s,handleDelete:t=>o(this,null,function*(){const{code:e}=yield U({id:t.id});e&&(d(`您删除了表情名称为【${t.name}】的这条数据`,{type:"success"}),i(a.value))}),openDialog:(t="新增",e)=>o(this,null,function*(){var g,C,S,R,z,I,L;M({title:`${t}礼物`,props:{formInline:{pid:(g=e==null?void 0:e.pid)!=null?g:"",name:(C=e==null?void 0:e.name)!=null?C:"",image:(S=e==null?void 0:e.image)!=null?S:"",animate_image:(R=e==null?void 0:e.animate_image)!=null?R:"",sort:(z=e==null?void 0:e.sort)!=null?z:"",type_id:(I=e==null?void 0:e.type_id)!=null?I:"",status:(L=e==null?void 0:e.status)!=null?L:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>O(H,{ref:n,formInline:null}),beforeSure:(x,{options:V})=>{const $=n.value.getRef(),P=V.props.formInline,q=u=>o(this,null,function*(){const{code:y,msg:b}=yield W(u);y?(d("新增成功",{type:"success"}),i(a.value),x()):d(b,{type:"error"})}),K=u=>o(this,null,function*(){const{code:y,msg:b}=yield X(_(f({},u),{id:e.id}));y?(d("修改成功",{type:"success"}),i(a.value),x()):d(b,{type:"error"})});$.validate(u=>{u&&(t==="新增"?q(P):K(P))})}})}),openTypeDialog:()=>{M({title:"表情包分类列表",width:"60%",closeOnClickModal:!1,hideFooter:!0,contentRenderer:()=>O(J)})}}}export{ce as useData}; diff --git a/dist/static/js/hook-BrKWggcC.js b/dist/static/js/hook-BrKWggcC.js new file mode 100644 index 0000000..3d3093d --- /dev/null +++ b/dist/static/js/hook-BrKWggcC.js @@ -0,0 +1 @@ +var V=Object.defineProperty,j=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var $=Object.getOwnPropertySymbols;var E=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var A=(i,t,l)=>t in i?V(i,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):i[t]=l,R=(i,t)=>{for(var l in t||(t={}))E.call(t,l)&&A(i,l,t[l]);if($)for(var l of $(t))H.call(t,l)&&A(i,l,t[l]);return i},I=(i,t)=>j(i,B(t));var d=(i,t,l)=>new Promise((C,a)=>{var S=n=>{try{f(l.next(n))}catch(g){a(g)}},c=n=>{try{f(l.throw(n))}catch(g){a(g)}},f=n=>n.done?C(n.value):Promise.resolve(n.value).then(S,c);f((l=l.apply(i,t)).next())});import{_ as J}from"./form.vue_vue_type_script_setup_true_lang-hEQYONMW.js";import{n as p,b as z,r as k,aA as r,aK as x,ag as F}from"./index-CRmU-Qpi.js";import{a as Q,d as T,b as U,e as W,g as X}from"./decorate-DdTDZW0a.js";import{_ as Y}from"./priceList.vue_vue_type_script_setup_true_lang-BsZbZjEf.js";import{_ as Z}from"./donateForm.vue_vue_type_script_setup_true_lang-B3gVeo00.js";import"./index-An8nOBwL.js";import"./index-CnAi1QxJ.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";import"./hooks-ItYVRz1P.js";import"./add-circle-line-DOJqVT3s.js";import"./priceForm.vue_vue_type_script_setup_true_lang-CvQgebEz.js";function _e(){const i=p(),t=p(!0),l=p([]),C=p(!1),a=p({name:"",type:""}),S=p([{label:"道具名称",prop:"name",type:"input"},{label:"道具类型",prop:"type",type:"input"}]),c=p({total:0,pageSize:10,currentPage:1,pageSizes:[10,20,50,100],background:!0}),f=p([{label:"ID",prop:"id"},{label:"道具名称",prop:"name"},{label:"道具分类",prop:"type_str"},{label:"图片",prop:"base_image",cellRenderer:({row:s})=>z(k("el-image"),{fit:"cover","preview-teleported":!0,src:s.base_image,"preview-src-list":Array.of(s.base_image),class:"w-[40px] h-[40px] align-middle"},null)},{label:"特效类型",prop:"file_type_str"},{label:"是否显示",prop:"show_status",cellRenderer:({row:s})=>z(k("el-tag"),{type:s.show_status===1?"success":"info"},{default:()=>[s.show_status===1?"正常":"隐藏"]})},{label:"是否可购买",prop:"status_str",cellRenderer:({row:s})=>z(k("el-tag"),{type:s.is_buy===1?"success":"info"},{default:()=>[s.is_buy===1?"是":"否"]})},{label:"创建时间",prop:"createtime"},{label:"操作",fixed:"right",width:300,slot:"operation"}]),n=s=>d(this,null,function*(){t.value=!0,a.value=R({},s);const{data:e,code:u}=yield Q(I(R({},s),{page:c.value.currentPage,page_limit:c.value.pageSize}));u&&(l.value=e.lists,c.value.total=e.count,c.value.currentPage=e.page),t.value=!1});return{searchForm:a,searchLabel:S,onSearch:n,isShow:C,tableList:l,tableLabel:f,pagination:c,handleSizeChange:s=>{c.value.pageSize=s,n(a.value)},handleCurrentChange:s=>{c.value.currentPage=s,n(a.value)},loading:t,openDialog:(s="新增",e)=>{var u,_,y,b,o,h,v,L;x({title:`${s}`,props:{formInline:{title:(u=e==null?void 0:e.name)!=null?u:"",type:(_=e==null?void 0:e.type)!=null?_:"",show_status:(y=e==null?void 0:e.show_status)!=null?y:"",is_buy:(b=e==null?void 0:e.is_buy)!=null?b:"",base_image:(o=e==null?void 0:e.base_image)!=null?o:"",file_type:(h=e==null?void 0:e.file_type)!=null?h:"",play_image:(v=e==null?void 0:e.play_image)!=null?v:"",special_num:(L=e==null?void 0:e.special_num)!=null?L:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>F(J,{ref:i,formInline:null}),beforeSure:(M,{options:G})=>{const q=i.value.getRef(),O=G.props.formInline,K=m=>d(this,null,function*(){const{code:P}=yield U(m);P?(r("新增成功",{type:"success"}),n(a.value),M()):r("新增失败",{type:"error"})}),N=m=>d(this,null,function*(){const{code:P}=yield W(I(R({},m),{id:e.id}));P?(r("修改成功",{type:"success"}),n(a.value),M()):r("修改失败",{type:"error"})});q.validate(m=>{m&&(s==="新增"?K(O):N(O))})}})},handleDelete:s=>d(this,null,function*(){const{code:e}=yield T({id:s.id});e&&(r("删除成功",{type:"success"}),n(a.value))}),settingPrice:s=>{x({title:"装扮价格设置",props:{rowData:s},width:"60%",closeOnClickModal:!1,hideFooter:!0,contentRenderer:()=>F(Y,{ref:i,formInline:null})})},sendGift:s=>{x({title:"赠送道具",props:{formInline:{user_id:"",decorate_id:"",day:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>F(Z,{ref:i,formInline:null}),beforeSure:(e,{options:u})=>{const _=i.value.getRef(),y=u.props.formInline,b=o=>d(this,null,function*(){o.decorate_id=s.id;const{code:h,msg:v}=yield X(o);h?(r("新增成功",{type:"success"}),n(a.value),e()):r(v,{type:"error"})});_.validate(o=>{o&&b(y)})}})}}}export{_e as useData}; diff --git a/dist/static/js/hook-Bs2lJoDG.js b/dist/static/js/hook-Bs2lJoDG.js new file mode 100644 index 0000000..3a4ab20 --- /dev/null +++ b/dist/static/js/hook-Bs2lJoDG.js @@ -0,0 +1 @@ +var G=Object.defineProperty,H=Object.defineProperties;var J=Object.getOwnPropertyDescriptors;var M=Object.getOwnPropertySymbols;var Q=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable;var O=(l,a,i)=>a in l?G(l,a,{enumerable:!0,configurable:!0,writable:!0,value:i}):l[a]=i,d=(l,a)=>{for(var i in a||(a={}))Q.call(a,i)&&O(l,i,a[i]);if(M)for(var i of M(a))U.call(a,i)&&O(l,i,a[i]);return l},x=(l,a)=>H(l,J(a));var c=(l,a,i)=>new Promise((S,o)=>{var n=p=>{try{_(i.next(p))}catch(m){o(m)}},r=p=>{try{_(i.throw(p))}catch(m){o(m)}},_=p=>p.done?S(p.value):Promise.resolve(p.value).then(n,r);_((i=i.apply(l,a)).next())});import{a as W,b as X,r as Y,c as Z,g as w,d as D,e as ee,s as te}from"./blindBox-BqHhL4EW.js";import{_ as ae}from"./Turntable.vue_vue_type_script_setup_true_lang-B_gAyEw_.js";import{_ as ie}from"./form.vue_vue_type_script_setup_true_lang-DgHrOfP6.js";import{_ as le}from"./settingRule.vue_vue_type_script_setup_true_lang-DX7Hd4GC.js";import{n as s,b as k,r as q,aA as g,aK as z,ag as F}from"./index-CRmU-Qpi.js";import"./lotteryResults-DJYXQbLC.js";import"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import"./hooks-ItYVRz1P.js";import"./room-3H8Bx0CI.js";import"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";function Re(){const l=s(),a=s(!0),i=s([]),S=s(!1),o=s({total:0,pageSize:10,currentPage:1,pageSizes:[10,20,50,100],background:!0}),n=s({gift_id:"",gift_name:""}),r=s(0),_=s([]),p=s([{label:"每期总次数",prop:"total_count"},{label:"每期总礼物价值(收入)",prop:"total_price"},{label:"每期总抽奖花费(支出)",prop:"total_cost"},{label:"每期统计(收入/支出)",prop:"profit_loss_ratio",tip:"%"}]),m=s({}),$=s([{label:"礼物ID",prop:"gift_id",type:"input"},{label:"礼物名称",prop:"gift_name",type:"input"}]),A=s([{label:"礼物ID",prop:"gift_id"},{label:"礼物名称",prop:"gift_name"},{label:"封面图",prop:"base_image",cellRenderer:({row:e})=>k(q("el-image"),{fit:"cover","preview-teleported":!0,src:e.base_image,"preview-src-list":Array.of(e.base_image),class:"w-[50px] h-[50px] align-middle"},null)},{label:"价格",prop:"gift_price"},{label:"每期数量",prop:"quantity"},{label:"未开数量",prop:"remaining_number"},{label:"多少次后可参与开奖",prop:"weight"},{label:"公屏",prop:"is_public_screen",cellRenderer:({row:e})=>k(q("el-tag"),{type:e.is_public_screen===1?"success":"error"},{default:()=>[e.is_public_screen===1?"是":"否"]})},{label:"全服播报",prop:"is_public_server",cellRenderer:({row:e})=>k(q("el-tag"),{type:e.is_public_server===1?"success":"error"},{default:()=>[e.is_public_server===1?"是":"否"]})},{label:"添加时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),f=e=>c(this,null,function*(){a.value=!0,n.value=d({},e);const{data:t,code:u}=yield W(x(d({},e),{gift_bag_id:r.value,page:o.value.currentPage,page_limit:o.value.pageSize}));u&&(i.value=t.lists.map(v=>d(d({},v),t.total)),m.value=t.total_data,o.value.total=t.count,o.value.currentPage=t.page),a.value=!1}),N=e=>{o.value.pageSize=e,f(n.value)},T=e=>{o.value.currentPage=e,f(n.value)},K=()=>c(this,null,function*(){const{code:e,data:t}=yield X({activities_id:5});_.value=e?t.map(u=>({label:u.name,value:u.id})):[],e&&I(t[0].id)}),I=e=>{r.value=e,f(n.value)};return{searchForm:n,searchLabel:$,onSearch:f,isShow:S,tableList:i,tableLabel:A,pagination:o,handleSizeChange:N,handleCurrentChange:T,loading:a,getType:K,activeName:r,typeList:_,statisticsList:p,statisticsData:m,handleClick:I,openDialog:(e="新增",t)=>c(this,null,function*(){var u,v,h,R;z({title:`${e}盲盒礼物`,props:{formInline:{gift_id:(u=t==null?void 0:t.gift_id)!=null?u:"",quantity:(v=t==null?void 0:t.quantity)!=null?v:1,weight:(h=t==null?void 0:t.weight)!=null?h:1,is_world_show:(R=t==null?void 0:t.is_world_show)!=null?R:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>F(ie,{ref:l,formInline:null}),beforeSure:(B,{options:b})=>{const L=l.value.getRef(),P=b.props.formInline,V=y=>c(this,null,function*(){const{code:C}=yield D(x(d({},y),{gift_bag_id:r.value}));C?(g("新增成功",{type:"success"}),f(n.value),B()):g("新增失败",{type:"error"})}),j=y=>c(this,null,function*(){const{code:C,msg:E}=yield ee(x(d({},y),{gift_bag_id:r.value,id:t.id}));C?(g("修改成功",{type:"success"}),f(n.value),B()):g(E,{type:"error"})});L.validate(y=>{y&&(e==="新增"?V(P):j(P))})}})}),resetSetting:()=>c(this,null,function*(){const{data:e,code:t}=yield Y({gift_bag_id:r.value});t&&(g("重置成功",{type:"success"}),I(r.value))}),handleDelete:e=>c(this,null,function*(){const{code:t}=yield Z({id:e.id});t&&(g("您删除了这条数据",{type:"success"}),f(n.value))}),setting:()=>c(this,null,function*(){const{data:e,code:t}=yield w({gift_bag_id:r.value});z({title:"设置盲盒规则",props:{formInline:d({},e)},width:"40%",closeOnClickModal:!1,contentRenderer:()=>F(le,{ref:l,formInline:null}),beforeSure:(u,{options:v})=>{const h=l.value.getRef(),R=v.props.formInline,B=b=>c(this,null,function*(){const{code:L}=yield te(d({},b));L?(g("设置成功",{type:"success"}),f(n.value),u()):g("设置失败",{type:"error"})});h.validate(b=>{b&&B(R)})}})}),openLotteryRecord:()=>{z({title:"盲盒转盘开奖记录",fullscreen:!0,hideFooter:!0,closeOnClickModal:!1,contentRenderer:()=>F(ae,{ref:l,formInline:null})})}}}export{Re as useData}; diff --git a/dist/static/js/hook-By6PN52u.js b/dist/static/js/hook-By6PN52u.js new file mode 100644 index 0000000..9fd0f25 --- /dev/null +++ b/dist/static/js/hook-By6PN52u.js @@ -0,0 +1 @@ +var T=Object.defineProperty,K=Object.defineProperties;var O=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var P=(s,i,l)=>i in s?T(s,i,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[i]=l,h=(s,i)=>{for(var l in i||(i={}))V.call(i,l)&&P(s,l,i[l]);if(N)for(var l of N(i))$.call(i,l)&&P(s,l,i[l]);return s},_=(s,i)=>K(s,O(i));var g=(s,i,l)=>new Promise((y,n)=>{var c=p=>{try{f(l.next(p))}catch(a){n(a)}},b=p=>{try{f(l.throw(p))}catch(a){n(a)}},f=p=>p.done?y(p.value):Promise.resolve(p.value).then(c,b);f((l=l.apply(s,i)).next())});import{_ as j}from"./form.vue_vue_type_script_setup_true_lang-Dd4jek5-.js";import{n as r,b as B,r as E,aK as G,ag as H,aA as v}from"./index-CRmU-Qpi.js";import{q as J,a as Q,d as U,b as W,e as X}from"./selectUser.vue_vue_type_script_setup_true_lang-BPFKGfKn.js";import"./hooks-ItYVRz1P.js";import"./add-circle-line-DOJqVT3s.js";import"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";import"./index-An8nOBwL.js";import"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";function oe(){const s=r(),i=r(!0),l=r([]),y=r(!1),n=r({total:0,pageSize:10,currentPage:1,pageSizes:[10,20,50,100],background:!0}),c=r({search_title:"",search_type:""}),b=r([{label:"标题",prop:"search_title",type:"input"},{label:"类型",prop:"search_type",type:"select",optionList:[{label:"系统消息",value:1},{label:"官方公告",value:2}]}]),p=r([{type:"index",index:t=>t+1},{label:"消息类型",prop:"type_name"},{label:"消息标题",prop:"title"},{label:"消息内容",prop:"content"},{label:"消息图片",prop:"image",cellRenderer:({row:t})=>B(E("el-image"),{fit:"cover","preview-teleported":!0,src:t.image,"preview-src-list":Array.of(t.image),class:"w-[40px] h-[40px] align-middle"},null)},{label:"跳转链接",prop:"url"},{label:"推荐房间ID",prop:"room_id"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),a=t=>g(this,null,function*(){i.value=!0,c.value=h({},t);const{data:e,code:d}=yield J(_(h({},t),{page:n.value.currentPage,page_limit:n.value.pageSize}));d&&(l.value=e.lists,n.value.total=e.count,n.value.currentPage=e.pageNumber),i.value=!1});return{searchForm:c,searchLabel:b,onSearch:a,isShow:y,tableList:l,tableLabel:p,pagination:n,handleSizeChange:t=>{n.value.pageSize=t,a(c.value)},handleCurrentChange:t=>{n.value.currentPage=t,a(c.value)},loading:i,openDialog:(t="新增",e)=>g(this,null,function*(){var S,x,C,z,M,I,L;let d;e.id&&(d=yield Q({id:e.id})),G({title:`${t}系统消息`,props:{formInline:{type:(S=e==null?void 0:e.type)!=null?S:"",title:(x=e==null?void 0:e.title)!=null?x:"",content:(C=e==null?void 0:e.content)!=null?C:"",image:(z=e==null?void 0:e.image)!=null?z:"",room_id:(M=e==null?void 0:e.room_id)!=null?M:"",url:(I=e==null?void 0:e.url)!=null?I:"",receiving_id:(L=d==null?void 0:d.data.receiving_id)!=null?L:"",messageType:(e==null?void 0:e.type)===1?1:2}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>H(j,{ref:s,formInline:null}),beforeSure:(R,{options:k})=>{const q=s.value.getRef(),o=k.props.formInline,A=m=>g(this,null,function*(){const{code:u}=yield W(m);u?(v("新增成功",{type:"success"}),a(c.value),R()):v("新增失败",{type:"error"})}),F=m=>g(this,null,function*(){const{code:u}=yield X(_(h({},m),{id:e.id}));u?(v("修改成功",{type:"success"}),a(c.value),R()):v("修改失败",{type:"error"})});q.validate(m=>{if(m){const u={type:o.messageType===1?1:o.type,title:o.title,content:o.content,image:o.image,room_id:o.room_id,url:o.url,receiving_id:o.receiving_id};t==="新增"?A(u):F(u)}})}})}),handleDelete:t=>g(this,null,function*(){const{code:e}=yield U({id:t.id});e&&(v("删除成功",{type:"success"}),a(c.value))})}}export{oe as useData}; diff --git a/dist/static/js/hook-C-2VKI_q.js b/dist/static/js/hook-C-2VKI_q.js new file mode 100644 index 0000000..54733f6 --- /dev/null +++ b/dist/static/js/hook-C-2VKI_q.js @@ -0,0 +1 @@ +var B=Object.defineProperty,G=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var R=Object.getOwnPropertySymbols;var M=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var z=(a,e,t)=>e in a?B(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,d=(a,e)=>{for(var t in e||(e={}))M.call(e,t)&&z(a,t,e[t]);if(R)for(var t of R(e))N.call(e,t)&&z(a,t,e[t]);return a},b=(a,e)=>G(a,K(e));var h=(a,e,t)=>new Promise((m,l)=>{var i=o=>{try{s(t.next(o))}catch(c){l(c)}},f=o=>{try{s(t.throw(o))}catch(c){l(c)}},s=o=>o.done?m(o.value):Promise.resolve(o.value).then(i,f);s((t=t.apply(a,e)).next())});import{u as x,w as O}from"./xlsx-DaVhO591.js";import{n,b as T,r as V,aK as j,ag as H,aA as C}from"./index-CRmU-Qpi.js";import{q as E}from"./statistics-Cc1WE90b.js";import{_ as J}from"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";function ee(){const a=n(!0),e=n([]),t=n(!1),m=n(0),l=n({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),i=n({search_uid:"",begin_time:"",username:"",end_time:"",type:2}),f=n([{label:"用户ID",prop:"search_uid",type:"input"},{label:"用户昵称",prop:"username",type:"input"},{label:"开始时间",prop:"begin_time",type:"date"},{label:"结束时间",prop:"end_time",type:"date"}]),s=n([{label:"用户名称",prop:"user_name"},{label:"头像",prop:"avatar",cellRenderer:({row:r})=>T(V("el-image"),{fit:"cover","preview-teleported":!0,src:r.avatar,"preview-src-list":Array.of(r.avatar),class:"w-[30px] h-[30px] align-middle"},null)},{label:"总收益",prop:"total_price"}]),o=r=>h(this,null,function*(){a.value=!0,i.value=d({},r);const{data:p,code:v}=yield E(b(d({},r),{page:l.value.currentPage,page_limit:l.value.pageSize}));v&&(e.value=p.lists,m.value=p.total.total_price,l.value.total=p.count,l.value.currentPage=p.page),a.value=!1}),c=r=>{l.value.pageSize=r,o(i.value)},F=r=>{l.value.currentPage=r,o(i.value)},y=n(null);return{searchForm:i,searchLabel:f,onSearch:o,total_price:m,isShow:t,tableList:e,tableLabel:s,pagination:l,exportExcel:()=>{let r=[];j({title:"导出数据",props:{formInline:{time:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>H(J,{ref:y,formInline:null}),beforeSure:(p,{options:v})=>{const I=y.value.getRef(),g=v.props.formInline,P=u=>h(this,null,function*(){const{data:q,code:A}=yield E(b(d({},u),{page:1,page_limit:2e4}));if(A){r=q.lists;const w=r.map(_=>{const L=[];return s.value.forEach($=>{L.push(_[$.prop])}),L}),S=[];s.value.forEach(_=>{S.push(_.label)}),w.unshift(S);const D=x.aoa_to_sheet(w),k=x.book_new();x.book_append_sheet(k,D,"数据报表"),O(k,`收礼排行统计${u.begin_time} - ${u.end_time}.xlsx`),C("导出成功",{type:"success"}),p()}else C("获取数据失败,请重试!",{type:"error"})});I.validate(u=>{u&&g.time&&g.time.length&&P({begin_time:g.time[0]||"",end_time:g.time[1]||""})})}})},handleSizeChange:c,handleCurrentChange:F,loading:a}}export{ee as useData}; diff --git a/dist/static/js/hook-C5HQCPQw.js b/dist/static/js/hook-C5HQCPQw.js new file mode 100644 index 0000000..a819802 --- /dev/null +++ b/dist/static/js/hook-C5HQCPQw.js @@ -0,0 +1 @@ +var _=Object.defineProperty,S=Object.defineProperties;var y=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var b=(t,e,a)=>e in t?_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,g=(t,e)=>{for(var a in e||(e={}))z.call(e,a)&&b(t,a,e[a]);if(m)for(var a of m(e))C.call(e,a)&&b(t,a,e[a]);return t},f=(t,e)=>S(t,y(e));var v=(t,e,a)=>new Promise((h,l)=>{var p=r=>{try{c(a.next(r))}catch(i){l(i)}},d=r=>{try{c(a.throw(r))}catch(i){l(i)}},c=r=>r.done?h(r.value):Promise.resolve(r.value).then(p,d);c((a=a.apply(t,e)).next())});import{_ as x}from"./form.vue_vue_type_script_setup_true_lang-BiFHMt8F.js";import{c as L}from"./admin-QtfaJQYK.js";import{n as o,aK as P,ag as I}from"./index-CRmU-Qpi.js";function K(){const t=o(),e=o(!0),a=o([]),h=o(!1),l=o({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),p=o({search_username:"",search_title:"",search_time:"",search_etime:""}),d=o([{label:"用户名",prop:"search_username",type:"input"},{label:"标题",prop:"search_title",type:"input"},{label:"开始时间",prop:"search_time",type:"date"},{label:"结束时间",prop:"search_etime",type:"date"}]),r=o([{type:"index",index:n=>n+1},{label:"日志时间",prop:"createtime"},{label:"操作类型",prop:"title"},{label:"操作人员",prop:"username"},{label:"IP地址",prop:"ip"},{label:"内容",prop:"url"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),i=n=>v(this,null,function*(){e.value=!0,p.value=g({},n);const{data:s,code:u}=yield L(f(g({},n),{pageNum:l.value.currentPage,pageSize:l.value.pageSize}));u&&(a.value=s.lists,l.value.total=s.totalRow,l.value.currentPage=s.pageNumber),e.value=!1});return{searchForm:p,searchLabel:d,onSearch:i,isShow:h,tableList:a,tableLabel:r,pagination:l,handleSizeChange:n=>{l.value.pageSize=n,i(p.value)},handleCurrentChange:n=>{l.value.currentPage=n,i(p.value)},loading:e,openDialog:(n="新增",s)=>{var u;P({title:`${n}操作日志`,props:{formInline:{id:(u=s==null?void 0:s.id)!=null?u:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>I(x,{ref:t,formInline:null})})}}}export{K as useData}; diff --git a/dist/static/js/hook-C9PUzCTc.js b/dist/static/js/hook-C9PUzCTc.js new file mode 100644 index 0000000..ce39fde --- /dev/null +++ b/dist/static/js/hook-C9PUzCTc.js @@ -0,0 +1 @@ +var j=Object.defineProperty,E=Object.defineProperties;var G=Object.getOwnPropertyDescriptors;var B=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,J=Object.prototype.propertyIsEnumerable;var k=(s,a,i)=>a in s?j(s,a,{enumerable:!0,configurable:!0,writable:!0,value:i}):s[a]=i,d=(s,a)=>{for(var i in a||(a={}))H.call(a,i)&&k(s,i,a[i]);if(B)for(var i of B(a))J.call(a,i)&&k(s,i,a[i]);return s},I=(s,a)=>E(s,G(a));var c=(s,a,i)=>new Promise((C,o)=>{var n=p=>{try{_(i.next(p))}catch(v){o(v)}},r=p=>{try{_(i.throw(p))}catch(v){o(v)}},_=p=>p.done?C(p.value):Promise.resolve(p.value).then(n,r);_((i=i.apply(s,a)).next())});import{b as Q}from"./blindBox-BqHhL4EW.js";import{m as U,n as W,o as X,p as Y,r as Z,t as D}from"./activities-UkTzwAkp.js";import{_ as w}from"./form.vue_vue_type_script_setup_true_lang-BSrb17y8.js";import{_ as ee}from"./settingRule.vue_vue_type_script_setup_true_lang-CJeQQ0t4.js";import{n as l,b as te,r as ae,aA as f,aK as q,ag as P}from"./index-CRmU-Qpi.js";import"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";function fe(){const s=l(),a=l(!0),i=l([]),C=l(!1),o=l({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),n=l({user_id:""}),r=l(0),_=l([]),p=l([{label:"抽奖人数总计",prop:"total_count"},{label:"抽奖价格总计",prop:"total_price"},{label:"今日抽奖价格",prop:"today_total_price"},{label:"今日抽奖次数",prop:"today_total_count"}]),v=l({}),F=l([{label:"用户ID",prop:"user_id",type:"input"}]),M=l([{label:"礼盒ID",prop:"id"},{label:"礼盒类型",prop:"box_name"},{label:"礼物类型",prop:"gift_type_str"},{label:"礼物ID",prop:"gift_id"},{label:"礼物名称",prop:"gift_name"},{label:"封面图",prop:"base_image",cellRenderer:({row:t})=>te(ae("el-image"),{fit:"cover","preview-teleported":!0,src:t.base_image,"preview-src-list":Array.of(t.base_image),class:"w-[50px] h-[50px] align-middle"},null)},{label:"数量",prop:"quantity_str"},{label:"金币价格",prop:"gift_price"},{label:"添加时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),g=t=>c(this,null,function*(){a.value=!0,n.value=d({},t);const{data:e,code:u}=yield U(I(d({},t),{gift_bag_id:r.value,page:o.value.currentPage,page_limit:o.value.pageSize}));u&&(i.value=e.lists.map(m=>d(d({},m),e.total)),v.value=e.total_data,o.value.total=e.count,o.value.currentPage=e.page),a.value=!1}),N=t=>{o.value.pageSize=t,g(n.value)},O=t=>{o.value.currentPage=t,g(n.value)},T=()=>c(this,null,function*(){const{code:t,data:e}=yield Q({activities_id:2});_.value=t?e.map(u=>({label:u.name,value:u.id})):[],t&&z(e[0].id)}),z=t=>{r.value=t,g(n.value)};return{searchForm:n,searchLabel:F,onSearch:g,isShow:C,tableList:i,tableLabel:M,pagination:o,handleSizeChange:N,handleCurrentChange:O,loading:a,getType:T,activeName:r,typeList:_,statisticsList:p,statisticsData:v,handleClick:z,openDialog:(t="新增",e)=>c(this,null,function*(){var u,m,S,b;q({title:`${t}礼盒`,props:{formInline:{type:(u=e==null?void 0:e.gift_type)!=null?u:"",num:(m=e==null?void 0:e.quantity)!=null?m:"",gift_id:(S=e==null?void 0:e.gift_id)!=null?S:"",gift_bag_id:(b=e==null?void 0:e.gift_bag_id)!=null?b:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>P(w,{ref:s,formInline:null}),beforeSure:(x,{options:y})=>{const R=s.value.getRef(),A=y.props.formInline,$=h=>c(this,null,function*(){const{code:L}=yield Y(I(d({},h),{gift_bag_id:r.value}));L?(f("新增成功",{type:"success"}),g(n.value),x()):f("新增失败",{type:"error"})}),K=h=>c(this,null,function*(){const{code:L,msg:V}=yield Z(I(d({},h),{gift_bag_id:r.value,id:e.id}));L?(f("修改成功",{type:"success"}),g(n.value),x()):f(V,{type:"error"})});R.validate(h=>{h&&(t==="新增"?$(A):K(A))})}})}),resetSetting:()=>c(this,null,function*(){}),handleDelete:t=>c(this,null,function*(){const{code:e}=yield W({id:t.id});e&&(f("您删除了这条数据",{type:"success"}),g(n.value))}),setting:()=>c(this,null,function*(){const{data:t,code:e}=yield X({gift_bag_id:r.value});q({title:"设置礼盒规则",props:{formInline:d({},t)},width:"40%",closeOnClickModal:!1,contentRenderer:()=>P(ee,{ref:s,formInline:null}),beforeSure:(u,{options:m})=>{const S=s.value.getRef(),b=m.props.formInline,x=y=>c(this,null,function*(){const{code:R}=yield D(d({},y));R?(f("设置成功",{type:"success"}),g(n.value),u()):f("设置失败",{type:"error"})});S.validate(y=>{y&&(b.gift_bag_id=r.value,x(b))})}})})}}export{fe as useData}; diff --git a/dist/static/js/hook-CB6HQ5Ga.js b/dist/static/js/hook-CB6HQ5Ga.js new file mode 100644 index 0000000..af75cba --- /dev/null +++ b/dist/static/js/hook-CB6HQ5Ga.js @@ -0,0 +1 @@ +var S=Object.defineProperty,C=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var b=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable;var v=(t,e,a)=>e in t?S(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,d=(t,e)=>{for(var a in e||(e={}))D.call(e,a)&&v(t,a,e[a]);if(b)for(var a of b(e))I.call(e,a)&&v(t,a,e[a]);return t},m=(t,e)=>C(t,z(e));var h=(t,e,a)=>new Promise((i,o)=>{var r=n=>{try{p(a.next(n))}catch(u){o(u)}},c=n=>{try{p(a.throw(n))}catch(u){o(u)}},p=n=>n.done?i(n.value):Promise.resolve(n.value).then(r,c);p((a=a.apply(t,e)).next())});import{j as L}from"./decorate-DdTDZW0a.js";import{n as s,b as _,r as f}from"./index-CRmU-Qpi.js";function R(){s();const t=s(!0),e=s([]),a=s(!1),i=s({user_id:"",did:"",type:""}),o=s([{label:"用户ID",prop:"user_id",type:"input"},{label:"道具ID",prop:"did",type:"input"},{label:"道具分类",prop:"type",type:"input"}]),r=s({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),c=s([{label:"ID",prop:"id"},{label:"用户ID昵称",prop:"user_name"},{label:"道具类型",prop:"type"},{label:"道具名称",prop:"name"},{label:"展示图",prop:"base_image",cellRenderer:({row:l})=>_(f("el-image"),{fit:"cover","preview-teleported":!0,src:l.base_image,"preview-src-list":Array.of(l.base_image),class:"w-[40px] h-[40px] align-middle"},null)},{label:"使用状态",prop:"status_str",cellRenderer:({row:l})=>_(f("el-tag"),{type:l.is_using===1?"success":"info"},{default:()=>[l.is_using_str]})},{label:"到期时间",prop:"end_time"}]),p=l=>h(this,null,function*(){t.value=!0,i.value=d({},l);const{data:g,code:y}=yield L(m(d({},l),{page:r.value.currentPage,page_limit:r.value.pageSize}));y&&(e.value=g.lists,r.value.total=g.count,r.value.currentPage=g.page),t.value=!1});return{searchForm:i,searchLabel:o,onSearch:p,isShow:a,tableList:e,tableLabel:c,pagination:r,handleSizeChange:l=>{r.value.pageSize=l,p(i.value)},handleCurrentChange:l=>{r.value.currentPage=l,p(i.value)},loading:t}}export{R as useData}; diff --git a/dist/static/js/hook-CGQvpszg.js b/dist/static/js/hook-CGQvpszg.js new file mode 100644 index 0000000..bc3e3b1 --- /dev/null +++ b/dist/static/js/hook-CGQvpszg.js @@ -0,0 +1 @@ +var S=Object.defineProperty,C=Object.defineProperties;var _=Object.getOwnPropertyDescriptors;var b=Object.getOwnPropertySymbols;var w=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable;var m=(t,e,a)=>e in t?S(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,h=(t,e)=>{for(var a in e||(e={}))w.call(e,a)&&m(t,a,e[a]);if(b)for(var a of b(e))z.call(e,a)&&m(t,a,e[a]);return t},f=(t,e)=>C(t,_(e));var p=(t,e,a)=>new Promise((n,r)=>{var g=o=>{try{s(a.next(o))}catch(u){r(u)}},d=o=>{try{s(a.throw(o))}catch(u){r(u)}},s=o=>o.done?n(o.value):Promise.resolve(o.value).then(g,d);s((a=a.apply(t,e)).next())});import{n as i,b as D,r as k,aA as v,fI as x}from"./index-CRmU-Qpi.js";import{a as L,d as P,c as R}from"./backpack-BEosm8mY.js";function F(){const t=i(!0),e=i([]),a=i(!1),n=i({total:0,pageSize:10,currentPage:1,pageSizes:[10,20,50,100],background:!0}),r=i({search_id:"",search_nickname:"",search_mobile:""}),g=i([{label:"名称",prop:"search_nickname",type:"input"},{label:"手机号",prop:"search_mobile",type:"input"}]),d=i([{label:"ID",prop:"id"},{label:"头像",prop:"avatar",cellRenderer:({row:l})=>D(k("el-image"),{fit:"cover","preview-teleported":!0,src:l.avatar,"preview-src-list":Array.of(l.avatar),class:"w-[24px] h-[24px] rounded-full align-middle"},null)},{label:"昵称",prop:"nickname"},{label:"生成时间",prop:"createtime"},{label:"手机号",prop:"mobile"},{label:"操作",fixed:"right",slot:"operation"}]),s=l=>p(this,null,function*(){t.value=!0,r.value=h({},l);const{data:c,code:y}=yield L(f(h({},l),{page:n.value.currentPage,page_limit:n.value.pageSize}));y&&(e.value=c.lists,n.value.total=c.count,n.value.currentPage=c.page),t.value=!1});return{searchForm:r,searchLabel:g,onSearch:s,isShow:a,tableList:e,tableLabel:d,pagination:n,handleSizeChange:l=>{n.value.pageSize=l,s(r.value)},handleCurrentChange:l=>{n.value.currentPage=l,s(r.value)},loading:t,generateData:()=>p(this,null,function*(){x.confirm("该操作将自动生成20条机器人数据,是否继续?","提示",{type:"warning"}).then(()=>p(this,null,function*(){const{code:l,msg:c}=yield R();l?(v("操作成功",{type:"success"}),s(r.value)):v(c,{type:"error"})})).catch(()=>{})}),handleDelete:l=>p(this,null,function*(){const{code:c}=yield P({user_id:l.id});c&&(v(`您删除了名称为${l.nickname}的这条数据`,{type:"success"}),s(r.value))})}}export{F as useData}; diff --git a/dist/static/js/hook-CH1Mbh-O.js b/dist/static/js/hook-CH1Mbh-O.js new file mode 100644 index 0000000..18cec7b --- /dev/null +++ b/dist/static/js/hook-CH1Mbh-O.js @@ -0,0 +1 @@ +var y=Object.defineProperty,S=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var b=Object.getOwnPropertySymbols;var C=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable;var m=(t,e,a)=>e in t?y(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,g=(t,e)=>{for(var a in e||(e={}))C.call(e,a)&&m(t,a,e[a]);if(b)for(var a of b(e))_.call(e,a)&&m(t,a,e[a]);return t},v=(t,e)=>S(t,z(e));var h=(t,e,a)=>new Promise((r,u)=>{var l=o=>{try{s(a.next(o))}catch(c){u(c)}},d=o=>{try{s(a.throw(o))}catch(c){u(c)}},s=o=>o.done?r(o.value):Promise.resolve(o.value).then(l,d);s((a=a.apply(t,e)).next())});import{n as i,aA as L}from"./index-CRmU-Qpi.js";import{k as P,l as w}from"./room-3H8Bx0CI.js";function I(){const t=i(!0),e=i([]),a=i(!1),r=i({user_id:"",stime:"",etime:""}),u=i([{label:"用户ID",prop:"user_id",type:"input"},{label:"开始时间",prop:"stime",type:"date"},{label:"结束时间",prop:"etime",type:"date"}]),l=i({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),d=i([{label:"订单ID",prop:"id"},{label:"用户账号-昵称",prop:"user_name"},{label:"头条内容",prop:"content"},{label:"支付金额",prop:"money"},{label:"状态",prop:"status"},{label:"创建时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),s=n=>h(this,null,function*(){t.value=!0,r.value=g({},n);const{data:p,code:f}=yield P(v(g({},n),{page:l.value.currentPage,page_limit:l.value.pageSize}));f&&(e.value=p.lists,l.value.total=p.count,l.value.currentPage=p.page),t.value=!1});return{searchForm:r,searchLabel:u,onSearch:s,isShow:a,tableList:e,tableLabel:d,pagination:l,handleSizeChange:n=>{l.value.pageSize=n,s(r.value)},handleCurrentChange:n=>{l.value.currentPage=n,s(r.value)},loading:t,handleDetele:n=>h(this,null,function*(){const{code:p}=yield w({id:n.id});p&&(L(`您封禁了房间名称为【${n.room_name}】的这条数据`,{type:"success"}),s(r.value))})}}export{I as useData}; diff --git a/dist/static/js/hook-CHHiWwRk.js b/dist/static/js/hook-CHHiWwRk.js new file mode 100644 index 0000000..02ab330 --- /dev/null +++ b/dist/static/js/hook-CHHiWwRk.js @@ -0,0 +1 @@ +var B=Object.defineProperty,L=Object.defineProperties;var R=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var U=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var _=(t,e,a)=>e in t?B(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,b=(t,e)=>{for(var a in e||(e={}))U.call(e,a)&&_(t,a,e[a]);if(m)for(var a of m(e))q.call(e,a)&&_(t,a,e[a]);return t},I=(t,e)=>L(t,R(e));var d=(t,e,a)=>new Promise((f,l)=>{var i=s=>{try{g(a.next(s))}catch(r){l(r)}},h=s=>{try{g(a.throw(s))}catch(r){l(r)}},g=s=>s.done?f(s.value):Promise.resolve(s.value).then(i,h);g((a=a.apply(t,e)).next())});import{_ as F}from"./form.vue_vue_type_script_setup_true_lang-rMz_v8aN.js";import{q as M,u as O,b as T}from"./newuserList-JxRjYKtu.js";import{n as c,aK as w,ag as A,aA as y}from"./index-CRmU-Qpi.js";function Q(){const t=c(),e=c(!0),a=c([]),f=c(!1),l=c({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),i=c({seach_value:""}),h=c([{label:"IP/设备号",prop:"seach_value",type:"input"}]),g=c([{label:"Id",prop:"id"},{label:"类型",prop:"type_str"},{label:"IP/设备号",prop:"type_text"},{label:"状态",prop:"status_str"},{label:"禁用时间",prop:"block_time"},{label:"操作",fixed:"right",slot:"operation"}]),s=c(null),r=n=>d(this,null,function*(){e.value=!0,i.value=b({},n);const{data:o,code:p}=yield M(I(b({},n),{page:l.value.currentPage,page_limit:l.value.pageSize}));p&&(s.value=o,a.value=o.lists,l.value.total=o.count,l.value.currentPage=o.page),e.value=!1});return{searchForm:i,searchLabel:h,onSearch:r,isShow:f,tableList:a,tableLabel:g,pagination:l,handleSizeChange:n=>{l.value.pageSize=n,r(i.value)},handleCurrentChange:n=>{l.value.currentPage=n,r(i.value)},loading:e,handleBanData:n=>d(this,null,function*(){const{code:o,msg:p}=yield O({id:n.id});o?(y("操作成功",{type:"success"}),r(i.value)):y(p,{type:"error"})}),openDialog:(n="新增",o)=>{var p;w({title:`${n}禁用IP/设备号`,props:{formInline:{type:(p=o==null?void 0:o.type)!=null?p:2,type_text:"",block_time:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>A(F,{ref:t,formInline:null}),beforeSure:(S,{options:C})=>{const P=t.value.getRef(),v=C.props.formInline;delete v.higherMenuOptions;const k=u=>d(this,null,function*(){const x={type:u.type,type_text:u.type_text,block_time:u.typeTimeType===0?0:u.block_time},{code:z,msg:D}=yield T(x);z?(y("新增成功",{type:"success"}),r(i.value),S()):y(D,{type:"error"})});P.validate(u=>{u&&n==="新增"&&k(v)})}})},detailData:s}}export{Q as useData}; diff --git a/dist/static/js/hook-CJCd_xO4.js b/dist/static/js/hook-CJCd_xO4.js new file mode 100644 index 0000000..1d3a365 --- /dev/null +++ b/dist/static/js/hook-CJCd_xO4.js @@ -0,0 +1 @@ +var K=Object.defineProperty,j=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var E=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var P=(i,s,n)=>s in i?K(i,s,{enumerable:!0,configurable:!0,writable:!0,value:n}):i[s]=n,M=(i,s)=>{for(var n in s||(s={}))E.call(s,n)&&P(i,n,s[n]);if(z)for(var n of z(s))G.call(s,n)&&P(i,n,s[n]);return i},L=(i,s)=>j(i,B(s));var o=(i,s,n)=>new Promise((_,d)=>{var I=c=>{try{t(n.next(c))}catch(f){d(f)}},S=c=>{try{t(n.throw(c))}catch(f){d(f)}},t=c=>c.done?_(c.value):Promise.resolve(c.value).then(I,S);t((n=n.apply(i,s)).next())});import{_ as H}from"./form.vue_vue_type_script_setup_true_lang-HMVJcCXl.js";import{n as u,aK as W,ag as q,aA as p}from"./index-CRmU-Qpi.js";import{q as J,g as Q,d as T,a as U,e as F}from"./admin-QtfaJQYK.js";import{_ as V}from"./password.vue_vue_type_script_setup_true_lang-BxW5V9xR.js";import"./permission-DJnI7MjS.js";function le(){const i=u(),s=u(!0),n=u([]),_=u(!1),d=u({total:0,pageSize:10,currentPage:1,pageSizes:[10,20,50,100],background:!0}),S=u([{type:"index",index:l=>l+1},{label:"用户名",prop:"username"},{label:"昵称",prop:"nickname"},{label:"邮箱",prop:"email"},{label:"手机",prop:"mobile"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),t=()=>o(this,null,function*(){s.value=!0;const{data:l,code:e}=yield J({});e&&(n.value=l.rows,d.value.total=l.rows.length),s.value=!1});return{onSearch:t,isShow:_,tableList:n,tableLabel:S,pagination:d,handleSizeChange:l=>{d.value.pageSize=l,t()},handleCurrentChange:l=>{d.value.currentPage=l,t()},loading:s,openDialog:(l="新增",e)=>o(this,null,function*(){var m,g,h,y,b,a,v,R;e.id&&(yield Q({id:e.id})),W({title:`${l}管理员`,props:{formInline:{id:(m=e==null?void 0:e.id)!=null?m:"",username:(g=e==null?void 0:e.username)!=null?g:"",nickname:(h=e==null?void 0:e.nickname)!=null?h:"",email:(y=e==null?void 0:e.email)!=null?y:"",mobile:(b=e==null?void 0:e.mobile)!=null?b:"",password:(a=e==null?void 0:e.password)!=null?a:"",status:(v=e==null?void 0:e.status)!=null?v:"",group:(R=e==null?void 0:e.groupids)!=null?R:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>q(H,{ref:i,formInline:null}),beforeSure:(k,{options:N})=>{const O=i.value.getRef(),x=N.props.formInline,$=r=>o(this,null,function*(){const{code:C}=yield U(r);C?(p("新增成功",{type:"success"}),t(),k()):p("新增失败",{type:"error"})}),A=r=>o(this,null,function*(){const{code:C}=yield F(L(M({},r),{id:e.id}));C?(p("修改成功",{type:"success"}),t(),k()):p("修改失败",{type:"error"})});O.validate(r=>{r&&(l==="新增"?$(x):A(x))})}})}),handleDelete:l=>o(this,null,function*(){const{code:e}=yield T({id:l.id});e&&(p("删除成功",{type:"success"}),t())}),settingPassWord:(l,e)=>{W({title:l,width:"40%",props:{formInline:{new_pwd:""}},closeOnClickModal:!1,contentRenderer:()=>q(V,{ref:i,formInline:null}),beforeSure:(m,{options:g})=>{const h=i.value.getRef(),y=g.props.formInline,b=a=>o(this,null,function*(){const{code:v}=yield F({password:a.new_pwd,id:e.id});v?(p("设置成功",{type:"success"}),t(),m()):p("设置失败",{type:"error"})});h.validate(a=>{a&&b({new_pwd:y.new_pwd,user_id:e.id})})}})}}}export{le as useData}; diff --git a/dist/static/js/hook-CRyIzJir.js b/dist/static/js/hook-CRyIzJir.js new file mode 100644 index 0000000..1233c45 --- /dev/null +++ b/dist/static/js/hook-CRyIzJir.js @@ -0,0 +1 @@ +var K=Object.defineProperty,$=Object.defineProperties;var j=Object.getOwnPropertyDescriptors;var P=Object.getOwnPropertySymbols;var B=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var M=(s,t,l)=>t in s?K(s,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[t]=l,g=(s,t)=>{for(var l in t||(t={}))B.call(t,l)&&M(s,l,t[l]);if(P)for(var l of P(t))E.call(t,l)&&M(s,l,t[l]);return s},S=(s,t)=>$(s,j(t));var p=(s,t,l)=>new Promise((y,i)=>{var c=a=>{try{f(l.next(a))}catch(o){i(o)}},m=a=>{try{f(l.throw(a))}catch(o){i(o)}},f=a=>a.done?y(a.value):Promise.resolve(a.value).then(c,m);f((l=l.apply(s,t)).next())});import{_ as G}from"./form.vue_vue_type_script_setup_true_lang-De_iThI9.js";import{aw as h,n as r,b as _,r as C,aK as H,ag as J,aA as d}from"./index-CRmU-Qpi.js";import"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";const Q=s=>h.request("get","/adminapi/Version/version_list",{params:s}),T=s=>h.request("post","/adminapi/Version/version_add",{data:s}),U=s=>h.request("post","/adminapi/Version/version_edit",{data:s}),W=s=>h.request("post","/adminapi/Version/version_del",{data:s});function te(){const s=r(),t=r(!0),l=r([]),y=r(!1),i=r({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),c=r({version:""});r([]);const m=r([{label:"版本号",prop:"version",type:"input"}]),a=r([{type:"index",index:n=>n+1},{label:"版本号(新)",prop:"newversion"},{label:"code码",prop:"version_code"},{label:"类型",prop:"type",cellRenderer:({row:n})=>_(C("el-tag"),{type:n.type===1?"success":""},{default:()=>[n.type===1?"安卓":"IOS"]})},{label:"下载链接",prop:"downloadurl"},{label:"更新内容",prop:"content"},{label:"强制更新",prop:"enforce",cellRenderer:({row:n})=>_(C("el-tag"),{type:n.enforce===1?"success":"info"},{default:()=>[n.enforce===1?"是":"否"]})},{label:"启用状态",prop:"status",cellRenderer:({row:n,props:e})=>_(C("el-tag"),{type:n.status===0?"info":n.status===1?"success":"danger"},{default:()=>[n.status===0?"待发布":n.status===1?"已发布":"禁用"]})},{label:"操作",fixed:"right",width:210,slot:"operation"}]),o=n=>p(this,null,function*(){t.value=!0,c.value=g({},n);const{data:e,code:v}=yield Q(S(g({},n),{pageNum:i.value.currentPage,pageSize:i.value.pageSize}));v&&(l.value=e.lists,i.value.total=e.totalRow,i.value.currentPage=e.pageNumber),t.value=!1});return{searchForm:c,searchLabel:m,onSearch:o,isShow:y,tableList:l,tableLabel:a,pagination:i,handleSizeChange:n=>{i.value.pageSize=n,o(c.value)},handleCurrentChange:n=>{i.value.currentPage=n,o(c.value)},loading:t,openDialog:(n="新增",e)=>{var v,R,V,z,x,q,N;H({title:`${n}版本`,props:{formInline:{version:(v=e==null?void 0:e.newversion)!=null?v:"",type:(R=e==null?void 0:e.type)!=null?R:"",downloadurl:(V=e==null?void 0:e.downloadurl)!=null?V:"",content:(z=e==null?void 0:e.content)!=null?z:"",enforce:(x=e==null?void 0:e.enforce)!=null?x:"",version_code:(q=e==null?void 0:e.version_code)!=null?q:"",status:(N=e==null?void 0:e.status)!=null?N:1}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>J(G,{ref:s,formInline:null}),beforeSure:(I,{options:k})=>{const F=s.value.getRef(),L=k.props.formInline,O=u=>p(this,null,function*(){const{code:b}=yield T(u);b?(d("新增成功",{type:"success"}),o(c.value),I()):d("新增失败",{type:"error"})}),A=u=>p(this,null,function*(){const{code:b}=yield U(S(g({},u),{id:e.id}));b?(d("修改成功",{type:"success"}),o(c.value),I()):d("修改失败",{type:"error"})});F.validate(u=>{u&&(n==="新增"?O(L):A(L))})}})},handleDelete:n=>p(this,null,function*(){const{code:e}=yield W({id:n.id});e&&(d("删除成功",{type:"success"}),o(c.value))})}}export{te as useData}; diff --git a/dist/static/js/hook-CUSi51GM.js b/dist/static/js/hook-CUSi51GM.js new file mode 100644 index 0000000..4efdbcb --- /dev/null +++ b/dist/static/js/hook-CUSi51GM.js @@ -0,0 +1 @@ +var D=Object.defineProperty,T=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var _=Object.getOwnPropertySymbols;var I=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable;var b=(a,t,s)=>t in a?D(a,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[t]=s,g=(a,t)=>{for(var s in t||(t={}))I.call(t,s)&&b(a,s,t[s]);if(_)for(var s of _(t))L.call(t,s)&&b(a,s,t[s]);return a},x=(a,t)=>T(a,z(t));var u=(a,t,s)=>new Promise((c,m)=>{var i=r=>{try{p(s.next(r))}catch(o){m(o)}},h=r=>{try{p(s.throw(r))}catch(o){m(o)}},p=r=>r.done?c(r.value):Promise.resolve(r.value).then(i,h);p((s=s.apply(a,t)).next())});import V from"./detail-CLPQfK5X.js";import{n as d,b as v,r as f,fI as C,aA as y,W as B,aK as E,ag as F}from"./index-CRmU-Qpi.js";import{u as S,q as R,d as M,g as P}from"./dynamics-yhcp7wZB.js";function O(){const a=d(!0),t=d([]),s=d(!1),c=d({search_name:""}),m=d([{label:"搜索内容",prop:"search_name",type:"input"}]),i=d({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),h=d([{label:"ID",prop:"id"},{label:"话题标题",prop:"topic_title"},{label:"动态内容",prop:"content"},{label:"动态封面",prop:"createtime",cellRenderer:({row:e})=>v(f("el-image"),{fit:"cover","preview-teleported":!0,src:e.images,"preview-src-list":Array.of(e.images),class:"w-[24px] h-[24px] rounded-full align-middle"},null)},{label:"浏览数",prop:"read_num"},{label:"评论数量",prop:"comment_num"},{label:"打赏总金额",prop:"rewards_num"},{label:"是否置顶",prop:"is_recommend",cellRenderer:({row:e,props:n})=>v(f("el-switch"),{modelValue:e.is_recommend,"onUpdate:modelValue":l=>e.is_recommend=l,onChange:()=>p(e),"active-value":1,"inactive-value":0,"active-text":"置顶","inactive-text":"不置顶","active-color":"#13ce66","inactive-color":"#ff4949"},null)},{label:"是否显示",prop:"show_status",cellRenderer:({row:e,props:n})=>v(f("el-switch"),{modelValue:e.show_status,"onUpdate:modelValue":l=>e.show_status=l,onChange:()=>r(e),"active-value":1,"inactive-value":0,"active-text":"显示","inactive-text":"隐藏","active-color":"#13ce66","inactive-color":"#ff4949"},null)},{label:"创建时间",prop:"createtime"},{label:"操作",fixed:"right",width:"210px",slot:"operation"}]),p=e=>u(this,null,function*(){a.value||C.confirm(`确认要${e.is_recommend===0?"去掉置顶":"置顶"}吗?`,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",dangerouslyUseHTMLString:!0,draggable:!0}).then(()=>u(this,null,function*(){const{data:n,code:l}=yield S({id:e.id,type:1,status:e.is_recommend});l&&(y(`已${e.is_recommend===0?"去掉置顶":"置顶"}`,{type:"success"}),o(c.value))})).catch(()=>{e.is_recommend==0?e.is_recommend=1:e.is_recommend=0})}),r=e=>u(this,null,function*(){a.value||C.confirm(`确认要${e.show_status===0?"隐藏":"显示"}吗?`,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",dangerouslyUseHTMLString:!0,draggable:!0}).then(()=>u(this,null,function*(){const{data:n,code:l}=yield S({id:e.id,type:2,status:e.show_status});l&&(y(`已${e.show_status===0?"隐藏":"置顶"}`,{type:"success"}),o(c.value))})).catch(()=>{e.show_status==0?e.show_status=1:e.show_status=0})}),o=e=>u(this,null,function*(){a.value=!0,c.value=g({},e);const{data:n,code:l}=yield R(x(g({},e),{page:i.value.currentPage,page_limit:i.value.pageSize}));l&&(t.value=n.lists,i.value.total=n.count,i.value.currentPage=n.page),setTimeout(()=>{a.value=!1},500)});return{searchForm:c,searchLabel:m,onSearch:o,isShow:s,tableList:t,tableLabel:h,pagination:i,handleSizeChange:e=>{i.value.pageSize=e,o(c.value)},handleCurrentChange:e=>{i.value.currentPage=e,o(c.value)},loading:a,handleDelete:e=>u(this,null,function*(){const{code:n}=yield M({id:e.id});n&&(y("已删除这条动态",{type:"success"}),o(c.value))}),viewDetial:e=>u(this,null,function*(){const n=yield P({id:e.id});B(()=>{if(n.code){const l=n.data;E({title:"查看动态详情",props:{userInfo:g({userId:e.id},l)},width:"50%",hideFooter:!0,closeOnClickModal:!1,contentRenderer:()=>F(V),beforeSure:w=>{w()}})}})})}}export{O as useData}; diff --git a/dist/static/js/hook-Cgu1CRpq.js b/dist/static/js/hook-Cgu1CRpq.js new file mode 100644 index 0000000..76a4764 --- /dev/null +++ b/dist/static/js/hook-Cgu1CRpq.js @@ -0,0 +1 @@ +var $=Object.defineProperty,E=Object.defineProperties;var M=Object.getOwnPropertyDescriptors;var C=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var S=(n,t,a)=>t in n?$(n,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[t]=a,x=(n,t)=>{for(var a in t||(t={}))T.call(t,a)&&S(n,a,t[a]);if(C)for(var a of C(t))V.call(t,a)&&S(n,a,t[a]);return n},z=(n,t)=>E(n,M(t));var u=(n,t,a)=>new Promise((m,o)=>{var f=i=>{try{l(a.next(i))}catch(g){o(g)}},v=i=>{try{l(a.throw(i))}catch(g){o(g)}},l=i=>i.done?m(i.value):Promise.resolve(i.value).then(f,v);l((a=a.apply(n,t)).next())});import{_ as k}from"./form.vue_vue_type_script_setup_true_lang-BTdh2pXv.js";import{n as r,b as A,r as U,fI as q,aA as d,aK as F,ag as H}from"./index-CRmU-Qpi.js";import{A as K,B as N,C as O,D as j,E as G}from"./room-3H8Bx0CI.js";function D(){const n=r(),t=r(!0),a=r([]),m=r(!1),o=r({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),f=r([{label:"ID",prop:"id"},{label:"规则名称",prop:"start_amount"},{label:"目标流水(金币)",prop:"end_amount"},{label:"补贴奖励(%)",prop:"subsidy_ratio"},{label:"创建时间",prop:"createtime"},{label:"启用状态",prop:"upStatus",cellRenderer:({row:e,props:s})=>A(U("el-switch"),{modelValue:e.status,"onUpdate:modelValue":c=>e.status=c,onChange:()=>v(e),"active-value":1,"inactive-value":2,"active-text":"正常","inactive-text":"禁用","active-color":"#13ce66","inactive-color":"#ff4949"},null)},{label:"操作",fixed:"right",width:210,slot:"operation"}]),v=e=>u(this,null,function*(){t.value||q.confirm(`确认要${e.status===2?"禁用":"启用"}吗?`,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",dangerouslyUseHTMLString:!0,draggable:!0}).then(()=>u(this,null,function*(){const{data:s,code:c}=yield K({id:e.id,status:e.status});c&&d(`已${e.status===2?"禁用":"启用"}`,{type:"success"})})).catch(()=>{e.status==2?e.status=1:e.status=2})}),l=()=>u(this,null,function*(){t.value=!0;const{data:e,code:s}=yield N({page:o.value.currentPage,page_limit:o.value.pageSize});s&&(a.value=e.lists,o.value.total=e.count,o.value.currentPage=e.page),t.value=!1});return{onSearch:l,isShow:m,tableList:a,tableLabel:f,pagination:o,handleSizeChange:e=>{o.value.pageSize=e,l()},handleCurrentChange:e=>{o.value.currentPage=e,l()},loading:t,handleDelete:e=>u(this,null,function*(){const{code:s}=yield O({id:e.id});s&&(d(`您删除了规则名称为【${e.start_amount}】的这条数据`,{type:"success"}),l())}),openDialog:(e="新增",s)=>{var c,y,b;F({title:`${e}奖励规则`,props:{formInline:{start_amount:(c=s==null?void 0:s.start_amount)!=null?c:"",end_amount:(y=s==null?void 0:s.end_amount)!=null?y:"",subsidy_ratio:(b=s==null?void 0:s.subsidy_ratio)!=null?b:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>H(k,{ref:n,formInline:null}),beforeSure:(R,{options:B})=>{const I=n.value.getRef(),_=B.props.formInline,L=p=>u(this,null,function*(){const{code:h}=yield j(p);h?(d("新增成功",{type:"success"}),l(),R()):d("新增失败",{type:"error"})}),P=p=>u(this,null,function*(){const{code:h}=yield G(z(x({},p),{id:s.id}));h?(d("修改成功",{type:"success"}),l(),R()):d("修改失败",{type:"error"})});I.validate(p=>{p&&(e==="新增"?L(_):P(_))})}})}}}export{D as useData}; diff --git a/dist/static/js/hook-Ci9wOtdj.js b/dist/static/js/hook-Ci9wOtdj.js new file mode 100644 index 0000000..0cd9256 --- /dev/null +++ b/dist/static/js/hook-Ci9wOtdj.js @@ -0,0 +1 @@ +var K=Object.defineProperty,j=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var F=Object.getOwnPropertySymbols;var E=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var N=(s,l,n)=>l in s?K(s,l,{enumerable:!0,configurable:!0,writable:!0,value:n}):s[l]=n,g=(s,l)=>{for(var n in l||(l={}))E.call(l,n)&&N(s,n,l[n]);if(F)for(var n of F(l))G.call(l,n)&&N(s,n,l[n]);return s},y=(s,l)=>j(s,B(l));var m=(s,l,n)=>new Promise((v,c)=>{var h=t=>{try{u(n.next(t))}catch(f){c(f)}},p=t=>{try{u(n.throw(t))}catch(f){c(f)}},u=t=>t.done?v(t.value):Promise.resolve(t.value).then(h,p);u((n=n.apply(s,l)).next())});import{_ as H}from"./form.vue_vue_type_script_setup_true_lang-BGJZIOyv.js";import J from"./detail-Bv6_Xq4j.js";import{n as o,b as Q,r as T,aA as a,aK as A,ag as M}from"./index-CRmU-Qpi.js";import{a as U,d as W,b as X,e as Y}from"./adolescent-Dk2B_RUL.js";import"./index-An8nOBwL.js";import"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";function oe(){const s=o(),l=o(!0),n=o([]),v=o(!1),c=o({search_name:""}),h=o([{label:"内容标题",prop:"search_name",type:"input"}]),p=o({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),u=o([{label:"ID",prop:"id"},{label:"内容分类",prop:"type_name"},{label:"内容标题",prop:"title"},{label:"封面图",prop:"img",cellRenderer:({row:i})=>Q(T("el-image"),{fit:"cover","preview-teleported":!0,src:i.img,"preview-src-list":Array.of(i.img),class:"w-[40px] h-[40px] align-middle"},null)},{label:"链接地址/内容",prop:"introduced"},{label:"是否置顶",prop:"is_top"},{label:"创建时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),t=i=>m(this,null,function*(){l.value=!0,c.value=g({},i);const{data:e,code:d}=yield U(y(g({},i),{page:p.value.currentPage,page_limit:p.value.pageSize}));d&&(n.value=e.lists,p.value.total=e.count,p.value.currentPage=e.page),l.value=!1});return{searchForm:c,searchLabel:h,onSearch:t,isShow:v,tableList:n,tableLabel:u,pagination:p,handleSizeChange:i=>{p.value.pageSize=i,t(c.value)},handleCurrentChange:i=>{p.value.currentPage=i,t(c.value)},loading:l,handleDelete:i=>m(this,null,function*(){const{code:e}=yield W({id:i.id});e&&(a("删除成功",{type:"success"}),t(c.value))}),openDialog:(i="新增",e)=>{var d,C,_,S,z,I,R,x,L;A({title:`${i}内容`,props:{formInline:{type_id:(d=Number((e==null?void 0:e.type_id)||0))!=null?d:"",title:(C=e==null?void 0:e.title)!=null?C:"",introduced:(_=e==null?void 0:e.introduced)!=null?_:"",content:(S=e==null?void 0:e.content)!=null?S:"",url:(z=e==null?void 0:e.url)!=null?z:"",img:(I=e==null?void 0:e.img)!=null?I:"",from:(R=e==null?void 0:e.from)!=null?R:"",sort:(x=e==null?void 0:e.sort)!=null?x:"",is_top:(L=e==null?void 0:e.is_top)!=null?L:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>M(H,{ref:s,formInline:null}),beforeSure:(P,{options:O})=>{const V=s.value.getRef(),k=O.props.formInline,$=r=>m(this,null,function*(){const{code:b}=yield X(r);b?(a("新增成功",{type:"success"}),t(c.value),P()):a("新增失败",{type:"error"})}),q=r=>m(this,null,function*(){const{code:b}=yield Y(y(g({},r),{id:e.id}));b?(a("修改成功",{type:"success"}),t(c.value),P()):a("修改失败",{type:"error"})});V.validate(r=>{r&&(i==="新增"?$(k):q(k))})}})},viewDetail:(i="查看详情",e)=>{var d;A({title:`${i}`,props:{formInline:{id:(d=Number((e==null?void 0:e.id)||0))!=null?d:""}},width:"60%",hideFooter:!0,closeOnClickModal:!1,contentRenderer:()=>M(J,{ref:s,formInline:null})})}}}export{oe as useData}; diff --git a/dist/static/js/hook-CjIFaqzN.js b/dist/static/js/hook-CjIFaqzN.js new file mode 100644 index 0000000..6ec5c7f --- /dev/null +++ b/dist/static/js/hook-CjIFaqzN.js @@ -0,0 +1 @@ +var x=Object.defineProperty,F=Object.defineProperties;var $=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var A=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable;var P=(n,e,a)=>e in n?x(n,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[e]=a,m=(n,e)=>{for(var a in e||(e={}))A.call(e,a)&&P(n,a,e[a]);if(L)for(var a of L(e))K.call(e,a)&&P(n,a,e[a]);return n},b=(n,e)=>F(n,$(e));var u=(n,e,a)=>new Promise((h,i)=>{var v=t=>{try{r(a.next(t))}catch(f){i(f)}},o=t=>{try{r(a.throw(t))}catch(f){i(f)}},r=t=>t.done?h(t.value):Promise.resolve(t.value).then(v,o);r((a=a.apply(n,e)).next())});import{_ as M}from"./form.vue_vue_type_script_setup_true_lang-BlmxE0Vv.js";import{n as c,aA as d,aK as O,ag as j}from"./index-CRmU-Qpi.js";import{q as B,r as E,a as G,e as H}from"./gift-BjNBi56Q.js";function X(){const n=c(),e=c(!0),a=c([]),h=c(!1),i=c({name:""}),v=c([{label:"标签名称",prop:"name",type:"input"}]),o=c({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),r=c([{label:"ID",prop:"id"},{label:"排序",prop:"sort",width:100},{label:"礼物分类",prop:"type"},{label:"标签名称",prop:"name"},{label:"创建时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),t=l=>u(this,null,function*(){e.value=!0,i.value=m({},l);const{data:s,code:g}=yield B(b(m({},l),{page:o.value.currentPage,page_limit:o.value.pageSize}));g&&(a.value=s.lists,o.value.total=s.count,o.value.currentPage=s.page),e.value=!1});return{searchForm:i,searchLabel:v,onSearch:t,isShow:h,tableList:a,tableLabel:r,pagination:o,handleSizeChange:l=>{o.value.pageSize=l,t(i.value)},handleCurrentChange:l=>{o.value.currentPage=l,t(i.value)},loading:e,handleDelete:l=>u(this,null,function*(){const{code:s}=yield E({id:l.id});s&&(d(`您删除了标签名称为${l.name}的这条数据`,{type:"success"}),t(i.value))}),openDialog:(l="新增",s)=>{var g,C,S;O({title:`${l}礼物标签`,props:{formInline:{sort:(g=s==null?void 0:s.sort)!=null?g:0,tid:(C=s==null?void 0:s.tid)!=null?C:"",name:(S=s==null?void 0:s.name)!=null?S:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>j(M,{ref:n,formInline:null}),beforeSure:(z,{options:R})=>{const _=n.value.getRef(),I=R.props.formInline,k=p=>u(this,null,function*(){const{code:y}=yield G(p);y?(d("新增成功",{type:"success"}),t(i.value),z()):d("新增失败",{type:"error"})}),q=p=>u(this,null,function*(){const{code:y}=yield H(b(m({},p),{id:s.id}));y?(d("修改成功",{type:"success"}),t(i.value),z()):d("修改失败",{type:"error"})});_.validate(p=>{p&&(l==="新增"?k(I):q(I))})}})}}}export{X as useData}; diff --git a/dist/static/js/hook-Cmz51VBR.js b/dist/static/js/hook-Cmz51VBR.js new file mode 100644 index 0000000..6649554 --- /dev/null +++ b/dist/static/js/hook-Cmz51VBR.js @@ -0,0 +1 @@ +var U=Object.defineProperty,I=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var b=Object.getOwnPropertySymbols;var k=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var z=(e,a,t)=>a in e?U(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,C=(e,a)=>{for(var t in a||(a={}))k.call(a,t)&&z(e,t,a[t]);if(b)for(var t of b(a))w.call(a,t)&&z(e,t,a[t]);return e},T=(e,a)=>I(e,L(a));var g=(e,a,t)=>new Promise((m,s)=>{var h=r=>{try{d(t.next(r))}catch(p){s(p)}},o=r=>{try{d(t.throw(r))}catch(p){s(p)}},d=r=>r.done?m(r.value):Promise.resolve(r.value).then(h,o);d((t=t.apply(e,a)).next())});import{_ as x}from"./form.vue_vue_type_script_setup_true_lang-DOzyNmG6.js";import{aw as f,n as l,aA as u,aK as M,ag as O}from"./index-CRmU-Qpi.js";const $=e=>f.request("get","/adminapi/UserTag/tag_lists",{params:e}),A=e=>f.request("post","/adminapi/UserTag/add_tag",{data:e}),F=e=>f.request("post","/adminapi/UserTag/edit_tag",{data:e}),K=e=>f.request("post","/adminapi/UserTag/del_tag",{data:e});function G(){const e=l(),a=l(!0),t=l([]),m=l(!1),s=l({total:0,pageSize:10,currentPage:1,pageSizes:[10,20,50,100],background:!0}),h=l([{label:"分类名称",prop:"tag_name"},{label:"创建时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),o=()=>g(this,null,function*(){a.value=!0;const{data:n,code:i}=yield $({pageNum:s.value.currentPage,pageSize:s.value.pageSize});i&&(t.value=n.lists,s.value.total=n.count,s.value.currentPage=n.page),a.value=!1});return{onSearch:o,isShow:m,tableList:t,tableLabel:h,pagination:s,handleSizeChange:n=>{s.value.pageSize=n,o()},handleCurrentChange:n=>{s.value.currentPage=n,o()},loading:a,handleDelete:n=>g(this,null,function*(){const{code:i}=yield K({tag_id:n.id});i&&(u(`您删除了标签名称为【${n.tag_name}】的这条数据`,{type:"success"}),o())}),openDialog:(n="新增",i)=>{var y;M({title:`${n}标签`,props:{formInline:{tag_name:(y=i==null?void 0:i.tag_name)!=null?y:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>O(x,{ref:e,formInline:null}),beforeSure:(S,{options:D})=>{const q=e.value.getRef(),_=D.props.formInline;delete _.higherMenuOptions;const P=c=>g(this,null,function*(){const{code:v}=yield A(c);v?(u("新增成功",{type:"success"}),o(),S()):u("新增失败",{type:"error"})}),R=c=>g(this,null,function*(){const{code:v}=yield F(T(C({},c),{tag_id:i.id}));v?(u("修改成功",{type:"success"}),o(),S()):u("修改失败",{type:"error"})});q.validate(c=>{c&&(n==="新增"?P(_):R(_))})}})}}}export{G as useData}; diff --git a/dist/static/js/hook-CrUUUJJN.js b/dist/static/js/hook-CrUUUJJN.js new file mode 100644 index 0000000..e32ffa9 --- /dev/null +++ b/dist/static/js/hook-CrUUUJJN.js @@ -0,0 +1 @@ +var $=Object.defineProperty,A=Object.defineProperties;var H=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var K=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var P=(a,t,n)=>t in a?$(a,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[t]=n,z=(a,t)=>{for(var n in t||(t={}))K.call(t,n)&&P(a,n,t[n]);if(x)for(var n of x(t))N.call(t,n)&&P(a,n,t[n]);return a},M=(a,t)=>A(a,H(t));var r=(a,t,n)=>new Promise((h,d)=>{var i=o=>{try{u(n.next(o))}catch(p){d(p)}},g=o=>{try{u(n.throw(o))}catch(p){d(p)}},u=o=>o.done?h(o.value):Promise.resolve(o.value).then(i,g);u((n=n.apply(a,t)).next())});import{_ as T}from"./form.vue_vue_type_script_setup_true_lang-DroLasXj.js";import{n as l,b as q,r as V,aK as j,ag as B,aA as m}from"./index-CRmU-Qpi.js";import{q as E,a as G,b as J,e as Q,f as U}from"./permission-DJnI7MjS.js";function te(){const a=l(),t=l(!0),n=l([]),h=l(!1),d=l([]),i=l({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),g=l({title:"",isPlatform:""}),u=l([{label:"标题",prop:"title",type:"input"},{label:"来源",prop:"isPlatform",type:"select",optionList:[{label:"平台发布",value:1},{label:"其他平台",value:0}]}]),p=l([{type:"index",index:s=>s+1},{label:"角色名称",prop:"name",cellRenderer:({row:s,props:e})=>q("div",{innerHTML:s.name},null)},{label:"状态",prop:"status",cellRenderer:({row:s,props:e})=>q(V("el-tag"),{type:s.status==="hidden"?"info":"success"},{default:()=>[`${s.status==="hidden"?"隐藏":"正常"}`]})},{label:"操作",fixed:"right",width:210,slot:"operation"}]),c=()=>r(this,null,function*(){t.value=!0;const{data:s,code:e}=yield E();e&&(n.value=s.list,i.value.total=s.total,I()),t.value=!1}),I=()=>r(this,null,function*(){const{data:s,code:e}=yield G();e&&(d.value=s.rows),t.value=!1});return{searchForm:g,searchLabel:u,onSearch:c,isShow:h,tableList:n,tableLabel:p,pagination:i,handleSizeChange:s=>{i.value.pageSize=s,c()},handleCurrentChange:s=>{i.value.currentPage=s,c()},loading:t,openDialog:(s="新增",e)=>{var y,b,R,C;j({title:`${s}角色信息`,props:{formInline:{pid:(y=e==null?void 0:e.pid)!=null?y:0,name:(b=e==null?void 0:e.name)!=null?b:"",rules:(R=e==null?void 0:e.rules)!=null?R:"",status:(C=e==null?void 0:e.status)!=null?C:"normal"},higherMenuOptions:[...n.value],treeData:d},width:"40%",closeOnClickModal:!1,contentRenderer:()=>B(T,{ref:a,formInline:null}),beforeSure:(L,{options:_})=>{const k=a.value.getRef(),S=_.props.formInline,F=f=>r(this,null,function*(){const{code:v}=yield Q(f);v?(m("新增成功",{type:"success"}),c(),L()):m("新增失败",{type:"error"})}),O=f=>r(this,null,function*(){const{code:v}=yield U(M(z({},f),{id:e.id}));v?(m("修改成功",{type:"success"}),c(),L()):m("修改失败",{type:"error"})});k.validate(f=>{f&&(s==="新增"?F(S):O(S))})}})},handleDelete:s=>r(this,null,function*(){const{code:e}=yield J({ids:s.id});e&&(m("删除成功",{type:"success"}),c())})}}export{te as useData}; diff --git a/dist/static/js/hook-Cu2m7nUk.js b/dist/static/js/hook-Cu2m7nUk.js new file mode 100644 index 0000000..9815467 --- /dev/null +++ b/dist/static/js/hook-Cu2m7nUk.js @@ -0,0 +1 @@ +var B=Object.defineProperty,K=Object.defineProperties;var M=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable;var z=(t,e,a)=>e in t?B(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,d=(t,e)=>{for(var a in e||(e={}))N.call(e,a)&&z(t,a,e[a]);if(L)for(var a of L(e))O.call(e,a)&&z(t,a,e[a]);return t},v=(t,e)=>K(t,M(e));var h=(t,e,a)=>new Promise((r,i)=>{var f=o=>{try{n(a.next(o))}catch(u){i(u)}},c=o=>{try{n(a.throw(o))}catch(u){i(u)}},n=o=>o.done?r(o.value):Promise.resolve(o.value).then(f,c);n((a=a.apply(t,e)).next())});import{q as C}from"./backpack-BEosm8mY.js";import{u as x,w as T}from"./xlsx-DaVhO591.js";import{n as s,b as V,r as j,aK as G,ag as H,aA as D}from"./index-CRmU-Qpi.js";import{_ as J}from"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";function ee(){const t=s(!0),e=s([]),a=s(!1),r=s({total:0,pageSize:10,currentPage:1,pageSizes:[10,20,50,100],background:!0}),i=s({user_id:"",gid:""}),f=s([{label:"用户ID",prop:"user_id",type:"input"},{label:"礼物ID",prop:"gid",type:"input"}]),c=s([{label:"分类Id",prop:"gid"},{label:"用户名称",prop:"nickname"},{label:"礼物ID-名称",prop:"gift_id_name"},{label:"展示图",prop:"base_image",cellRenderer:({row:l})=>V(j("el-image"),{fit:"cover","preview-teleported":!0,src:l.base_image,"preview-src-list":Array.of(l.base_image),class:"w-[24px] h-[24px] rounded-full align-middle"},null)},{label:"礼物价格",prop:"gift_price"},{label:"累计获取数量",prop:"is_tester"},{label:"用户礼物数量",prop:"is_use_give"},{label:"获取时间",prop:"createtime"}]),n=s(null),o=l=>h(this,null,function*(){t.value=!0,i.value=d({},l);const{data:p,code:b}=yield C(v(d({},l),{page:r.value.currentPage,page_limit:r.value.pageSize}));b&&(n.value=p,e.value=p.lists,r.value.total=p.count,r.value.currentPage=p.page),t.value=!1}),u=l=>{r.value.pageSize=l,o(i.value)},R=l=>{r.value.currentPage=l,o(i.value)},w=s(null);return{searchForm:i,searchLabel:f,onSearch:o,isShow:a,tableList:e,tableLabel:c,pagination:r,handleSizeChange:u,handleCurrentChange:R,exportExcel:()=>{let l=[];G({title:"导出数据",props:{formInline:{time:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>H(J,{ref:w,formInline:null}),beforeSure:(p,{options:b})=>{const E=w.value.getRef(),m=b.props.formInline,F=g=>h(this,null,function*(){const{data:P,code:q}=yield C(v(d({},g),{page:1,page_limit:2e4}));if(q){l=P.lists;const S=l.map(_=>{const I=[];return c.value.forEach($=>{I.push(_[$.prop])}),I}),y=[];c.value.forEach(_=>{y.push(_.label)}),S.unshift(y);const A=x.aoa_to_sheet(S),k=x.book_new();x.book_append_sheet(k,A,"数据报表"),T(k,`会员背包统计${g.begin_time} - ${g.end_time}.xlsx`),D("导出成功",{type:"success"}),p()}else D("获取数据失败,请重试!",{type:"error"})});E.validate(g=>{g&&m.time&&m.time.length&&F({begin_time:m.time[0]||"",end_time:m.time[1]||""})})}})},loading:t,detailData:n}}export{ee as useData}; diff --git a/dist/static/js/hook-Cu44oYHu.js b/dist/static/js/hook-Cu44oYHu.js new file mode 100644 index 0000000..1b72475 --- /dev/null +++ b/dist/static/js/hook-Cu44oYHu.js @@ -0,0 +1 @@ +var B=Object.defineProperty,K=Object.defineProperties;var M=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable;var C=(a,e,t)=>e in a?B(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,m=(a,e)=>{for(var t in e||(e={}))N.call(e,t)&&C(a,t,e[t]);if(z)for(var t of z(e))O.call(e,t)&&C(a,t,e[t]);return a},h=(a,e)=>K(a,M(e));var w=(a,e,t)=>new Promise((_,l)=>{var i=r=>{try{s(t.next(r))}catch(c){l(c)}},g=r=>{try{s(t.throw(r))}catch(c){l(c)}},s=r=>r.done?_(r.value):Promise.resolve(r.value).then(i,g);s((t=t.apply(a,e)).next())});import{u as x,w as T}from"./xlsx-DaVhO591.js";import{_ as V}from"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import{n,b as j,r as G,aK as H,ag as J,aA as F}from"./index-CRmU-Qpi.js";import{d as E}from"./statistics-Cc1WE90b.js";function ee(){const a=n(!0),e=n([]),t=n(!1),_=n(0),l=n({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),i=n({search_room_id:"",begin_time:"",room_name:"",end_time:""}),g=n([{label:"房间ID",prop:"search_room_id",type:"input"},{label:"房间名称",prop:"room_name",type:"input"},{label:"开始时间",prop:"begin_time",type:"date"},{label:"结束时间",prop:"end_time",type:"date"}]),s=n([{label:"房间名称",prop:"room_name"},{label:"房间分类",prop:"label"},{label:"封面图",prop:"room_cover",cellRenderer:({row:o})=>j(G("el-image"),{fit:"cover","preview-teleported":!0,src:o.room_cover,"preview-src-list":Array.of(o.room_cover),class:"w-[35px] h-[35px] align-middle"},null)},{label:"总值",prop:"total_price"}]),r=o=>w(this,null,function*(){a.value=!0,i.value=m({},o);const{data:p,code:b}=yield E(h(m({},o),{page:l.value.currentPage,page_limit:l.value.pageSize}));b&&(e.value=p.lists.map(f=>m({},f)),_.value=p.total.total_price,l.value.total=p.count,l.value.currentPage=p.page),a.value=!1}),c=o=>{l.value.pageSize=o,r(i.value)},I=o=>{l.value.currentPage=o,r(i.value)},y=n(null);return{searchForm:i,searchLabel:g,onSearch:r,isShow:t,tableList:e,tableLabel:s,pagination:l,handleSizeChange:c,handleCurrentChange:I,loading:a,total_price:_,exportExcel:()=>{let o=[];H({title:"导出数据",props:{formInline:{time:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>J(V,{ref:y,formInline:null}),beforeSure:(p,{options:b})=>{const f=y.value.getRef(),d=b.props.formInline,P=u=>w(this,null,function*(){const{data:A,code:D}=yield E(h(m({},u),{page:1,page_limit:2e4}));if(D){o=A.lists;const S=o.map(v=>{const L=[];return s.value.forEach(q=>{L.push(v[q.prop])}),L}),k=[];s.value.forEach(v=>{k.push(v.label)}),S.unshift(k);const $=x.aoa_to_sheet(S),R=x.book_new();x.book_append_sheet(R,$,"数据报表"),T(R,`房间流水统计${u.begin_time} - ${u.end_time}.xlsx`),F("导出成功",{type:"success"}),p()}else F("获取数据失败,请重试!",{type:"error"})});f.validate(u=>{u&&d.time&&d.time.length&&P({begin_time:d.time[0]||"",end_time:d.time[1]||""})})}})}}}export{ee as useData}; diff --git a/dist/static/js/hook-CvzxUpHj.js b/dist/static/js/hook-CvzxUpHj.js new file mode 100644 index 0000000..3c6a98c --- /dev/null +++ b/dist/static/js/hook-CvzxUpHj.js @@ -0,0 +1 @@ +var w=Object.defineProperty,G=Object.defineProperties;var H=Object.getOwnPropertyDescriptors;var P=Object.getOwnPropertySymbols;var J=Object.prototype.hasOwnProperty,Q=Object.prototype.propertyIsEnumerable;var $=(l,t,s)=>t in l?w(l,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):l[t]=s,b=(l,t)=>{for(var s in t||(t={}))J.call(t,s)&&$(l,s,t[s]);if(P)for(var s of P(t))Q.call(t,s)&&$(l,s,t[s]);return l},S=(l,t)=>G(l,H(t));var v=(l,t,s)=>new Promise((x,c)=>{var f=o=>{try{n(s.next(o))}catch(u){c(u)}},k=o=>{try{n(s.throw(o))}catch(u){c(u)}},n=o=>o.done?x(o.value):Promise.resolve(o.value).then(f,k);n((s=s.apply(l,t)).next())});import{_ as U}from"./form.vue_vue_type_script_setup_true_lang-BIIr4FUi.js";import{u as L,w as W}from"./xlsx-DaVhO591.js";import{n as i,b as X,r as Y,aK as B,ag as M,aA as m}from"./index-CRmU-Qpi.js";import{m as O,n as Z,o as D}from"./union-ZelC57cN.js";import{_ as ee}from"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";function ie(){const l=i(),t=i(!0),s=i([]),x=i(!1),c=i({search_user_id:"",search_guild_id:"",search_status_time:"",search_end_time:""}),f=i([]),k=i([{label:"用户ID",prop:"search_user_id",type:"input"},{label:"公会号",prop:"search_guild_id",type:"input"},{label:"开始时间",prop:"search_status_time",type:"date"},{label:"结束时间",prop:"search_end_time",type:"date"}]),n=i({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),o=i([{type:"selection",align:"left"},{label:"补贴ID",prop:"id"},{label:"公会长昵称",prop:"user_name"},{label:"公会ID",prop:"guild_id"},{label:"公会昵称",prop:"guild_name"},{label:"公会周流水(金币)",prop:"total_transaction"},{label:"公会周补贴(钻石)",prop:"subsidy_amount"},{label:"是否发放",prop:"status_str",cellRenderer:({row:e})=>X(Y("el-tag"),{type:e.status===1?"success":e.status===2?"error":"info"},{default:()=>[e.status===1?"已发放":e.status===2?"已拒绝":"未发放"]})},{label:"时间",prop:"time"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),u=e=>v(this,null,function*(){t.value=!0,c.value=b({},e);const{data:a,code:r}=yield O(S(b({},e),{page:n.value.currentPage,page_limit:n.value.pageSize}));r&&(s.value=a.lists,n.value.total=a.count,n.value.currentPage=a.page),t.value=!1}),j=e=>{n.value.pageSize=e,u(c.value)},q=e=>{n.value.currentPage=e,u(c.value)},A=(e="审核",a)=>{var r,h;B({title:`${e}`,props:{formInline:{id:(r=a==null?void 0:a.id)!=null?r:"",status:"",remark:(h=a==null?void 0:a.remark)!=null?h:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>M(U,{ref:l,formInline:null}),beforeSure:(p,{options:g})=>{const d=l.value.getRef(),I=g.props.formInline,R=_=>v(this,null,function*(){const{code:y}=yield D(S(b({},_),{id:a.id}));y?(m("审核成功",{type:"success"}),u(c.value),p()):m("审核失败",{type:"error"})});d.validate(_=>{_&&e==="审核"&&R(I)})}})},K=e=>{f.value=e},N=()=>v(this,null,function*(){const e=f.value.map(r=>r.id),a=f.value.map(r=>r.status);if(a.length&&a.includes(1))m("内含已发放状态的数据,请重新勾选!",{type:"error"});else if(e.length){const r={ids:e.join(","),status:1,remark:""},{data:h,code:p,msg:g}=yield Z(r);p?(m("批量发放成功",{type:"success"}),u(c.value)):m(g,{type:"error"})}}),z=i(null);return{searchForm:c,searchLabel:k,onSearch:u,isShow:x,tableList:s,tableLabel:o,pagination:n,handleSizeChange:j,handleCurrentChange:q,loading:t,openDialog:A,exportExcel:()=>{let e=[];B({title:"导出数据",props:{formInline:{time:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>M(ee,{ref:z,formInline:null}),beforeSure:(a,{options:r})=>{const h=z.value.getRef(),p=r.props.formInline,g=d=>v(this,null,function*(){const{data:I,code:R}=yield O(S(b({},d),{page:1,page_limit:2e4}));if(R){e=I.lists;const _=e.map(C=>{const E=[];return o.value.forEach(V=>{E.push(C[V.prop])}),E}),y=[];o.value.forEach(C=>{y.push(C.label)}),_.unshift(y);const T=L.aoa_to_sheet(_),F=L.book_new();L.book_append_sheet(F,T,"数据报表"),W(F,`工会补贴列表${d.search_status_time} - ${d.search_end_time}.xlsx`),m("导出成功",{type:"success"}),a()}else m("获取数据失败,请重试!",{type:"error"})});h.validate(d=>{d&&p.time&&p.time.length&&g({search_status_time:p.time[0]||"",search_end_time:p.time[1]||""})})}})},handleSelectionChange:K,multipleSelection:f,batchDistribution:N}}export{ie as useData}; diff --git a/dist/static/js/hook-Cw4f7hxK.js b/dist/static/js/hook-Cw4f7hxK.js new file mode 100644 index 0000000..692a92f --- /dev/null +++ b/dist/static/js/hook-Cw4f7hxK.js @@ -0,0 +1 @@ +var K=Object.defineProperty,j=Object.defineProperties;var q=Object.getOwnPropertyDescriptors;var $=Object.getOwnPropertySymbols;var B=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable;var x=(s,n,a)=>n in s?K(s,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):s[n]=a,H=(s,n)=>{for(var a in n||(n={}))B.call(n,a)&&x(s,a,n[a]);if($)for(var a of $(n))D.call(n,a)&&x(s,a,n[a]);return s},k=(s,n)=>j(s,q(n));var c=(s,n,a)=>new Promise((m,v)=>{var d=r=>{try{b(a.next(r))}catch(l){v(l)}},g=r=>{try{b(a.throw(r))}catch(l){v(l)}},b=r=>r.done?m(r.value):Promise.resolve(r.value).then(d,g);b((a=a.apply(s,n)).next())});import{n as i,aA as o,aK as F,ag as M}from"./index-CRmU-Qpi.js";import{g as E,d as G,a as J,b as N,c as Q,f as U,h as V,i as W}from"./system-CqYheEHE.js";import{_ as X}from"./typeForm.vue_vue_type_script_setup_true_lang-DQr3mbVi.js";import{_ as Y}from"./problemForm.vue_vue_type_script_setup_true_lang-CxLYiSAH.js";function oe(){const s=i(),n=i({}),a=i([{label:"ID",prop:"id"},{label:"标题",prop:"title"},{label:"内容",prop:"content"},{label:"发布人员",prop:"admin"},{label:"创建时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),m=i(!0),v=i([]),d=i({id:0,type_name:""}),g=i([]),b=i([]),r=i(!1),l=i({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),h=()=>c(this,null,function*(){m.value=!0;const{data:t,code:e}=yield E({});e&&(g.value=t.lists,d.value=g.value.length?g.value[0]:{},y()),m.value=!1}),O=t=>c(this,null,function*(){const{code:e}=yield G({id:t.id});e&&(o("删除成功",{type:"success"}),h())}),A=(t="新增",e)=>c(this,null,function*(){var P,S,_;F({title:`${t}问题分类`,props:{formInline:{type_name:(P=e==null?void 0:e.type_name)!=null?P:"",sort:(S=e==null?void 0:e.sort)!=null?S:"",status:(_=e==null?void 0:e.status)!=null?_:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>M(X,{ref:s,formInline:null}),beforeSure:(C,{options:z})=>{const I=s.value.getRef(),R=z.props.formInline,L=p=>c(this,null,function*(){const{code:f,msg:T}=yield Q(p);f?(o("新增成功",{type:"success"}),h(),C()):o(T,{type:"error"})}),u=p=>c(this,null,function*(){const{code:f,msg:T}=yield U(k(H({},p),{id:e.id}));f?(o("修改成功",{type:"success"}),h(),C()):o(T,{type:"error"})});I.validate(p=>{p&&(t==="新增"?L(R):u(R))})}})}),y=()=>c(this,null,function*(){const{data:t,code:e}=yield J({type:d.value.id,page:l.value.currentPage,page_limit:l.value.pageSize});e&&(v.value=t.lists,l.value.total=t.count,l.value.currentPage=t.page),m.value=!1});return{onSearch:h,isShow:r,tableList:g,loading:m,activeData:d,formLabel:b,formData:n,openTypeDialog:A,changeData:t=>{d.value.id!==t.id&&(d.value=t,y())},tableLabel:a,pagination:l,handleDelete:O,handleSizeChange:t=>{l.value.pageSize=t,y()},handleCurrentChange:t=>{l.value.currentPage=t,y()},problemList:v,openDialog:(t="新增",e)=>c(this,null,function*(){var P,S;F({title:`${t}问题`,props:{formInline:{title:(P=e==null?void 0:e.title)!=null?P:"",content:(S=e==null?void 0:e.content)!=null?S:"",type:d.value.id}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>M(Y,{ref:s,formInline:null}),beforeSure:(_,{options:C})=>{const z=s.value.getRef(),I=C.props.formInline,R=u=>c(this,null,function*(){const{code:p,msg:f}=yield V(u);p?(o("新增成功",{type:"success"}),y(),_()):o(f,{type:"error"})}),L=u=>c(this,null,function*(){const{code:p,msg:f}=yield W(k(H({},u),{id:e.id}));p?(o("修改成功",{type:"success"}),y(),_()):o(f,{type:"error"})});z.validate(u=>{u&&(t==="新增"?R(I):L(I))})}})}),DeleteProblem:t=>c(this,null,function*(){const{code:e}=yield N({id:t.id});e&&(o("删除成功",{type:"success"}),h())})}}export{oe as useData}; diff --git a/dist/static/js/hook-D1E4JEIG.js b/dist/static/js/hook-D1E4JEIG.js new file mode 100644 index 0000000..679e1ae --- /dev/null +++ b/dist/static/js/hook-D1E4JEIG.js @@ -0,0 +1 @@ +var B=Object.defineProperty,K=Object.defineProperties;var W=Object.getOwnPropertyDescriptors;var I=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var L=(a,e,t)=>e in a?B(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,v=(a,e)=>{for(var t in e||(e={}))j.call(e,t)&&L(a,t,e[t]);if(I)for(var t of I(e))G.call(e,t)&&L(a,t,e[t]);return a},D=(a,e)=>K(a,W(e));var _=(a,e,t)=>new Promise((b,n)=>{var f=o=>{try{i(t.next(o))}catch(u){n(u)}},r=o=>{try{i(t.throw(o))}catch(u){n(u)}},i=o=>o.done?b(o.value):Promise.resolve(o.value).then(f,r);i((t=t.apply(a,e)).next())});import{_ as H}from"./form.vue_vue_type_script_setup_true_lang-Cbivz3Ba.js";import{n as s,W as J,aK as E,ag as z,aA as C}from"./index-CRmU-Qpi.js";import{u as w,w as N}from"./xlsx-DaVhO591.js";import{b as F,g as Q}from"./room-3H8Bx0CI.js";import{_ as U}from"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";function oe(){const a=s(),e=s(!0),t=s([]),b=s(!1),n=s({room_id:"",status:"",stime:"",etime:""}),f=s([{label:"房间ID",prop:"room_id",type:"input"},{label:"红包状态",prop:"status",type:"select",optionList:[{label:"未开始",value:0},{label:"进行中",value:1},{label:"已结束",value:2},{label:"已退回",value:3}]},{label:"开始时间",prop:"stime",type:"date"},{label:"结束时间",prop:"etime",type:"date"}]),r=s({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),i=s([{label:"房间ID",prop:"room_id"},{label:"房间名字",prop:"room_name"},{label:"发放人ID",prop:"user_code"},{label:"发放人昵称",prop:"nickname"},{label:"红包类型",prop:"type_text"},{label:"口令",prop:"password"},{label:"多少秒后开抢",prop:"countdown"},{label:"币种",prop:"coin_type_text"},{label:"总金额",prop:"total_amount"},{label:"总数量",prop:"total_count"},{label:"剩余金额",prop:"left_amount"},{label:"剩余数量",prop:"left_count"},{label:"状态",prop:"status_text"},{label:"红包备注",prop:"remark"},{label:"创建时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),o=l=>_(this,null,function*(){e.value=!0,n.value=v({},l);const{data:p,code:m}=yield F(D(v({},l),{page:r.value.currentPage,page_limit:r.value.pageSize}));m&&(t.value=p.lists,r.value.total=p.count,r.value.currentPage=p.page),e.value=!1}),u=l=>{r.value.pageSize=l,o(n.value)},P=l=>{r.value.currentPage=l,o(n.value)},$=(l="审核",p)=>_(this,null,function*(){const{code:m,data:h}=yield Q({redpacket_id:p.id});m&&J(()=>{E({title:`${l}`,props:{rowData:h},width:"40%",hideFooter:!0,closeOnClickModal:!1,contentRenderer:()=>z(H,{ref:a,formInline:null})})})}),x=s(null);return{searchForm:n,searchLabel:f,onSearch:o,isShow:b,tableList:t,tableLabel:i,pagination:r,handleSizeChange:u,handleCurrentChange:P,loading:e,openDialog:$,exportExcel:()=>{let l=[];E({title:"导出数据",props:{formInline:{time:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>z(U,{ref:x,formInline:null}),beforeSure:(p,{options:m})=>{const h=x.value.getRef(),d=m.props.formInline,M=c=>_(this,null,function*(){const{data:O,code:T}=yield F({stime:c.search_status_time,etime:c.search_end_time,page:1,page_limit:2e4});if(T){l=O.lists;const y=l.map(g=>{const R=[];return i.value.forEach(A=>{R.push(g[A.prop])}),R}),k=[];i.value.forEach(g=>{k.push(g.label)}),y.unshift(k);const q=w.aoa_to_sheet(y),S=w.book_new();w.book_append_sheet(S,q,"数据报表"),N(S,`房间红包发放统计${c.search_status_time} - ${c.search_end_time}.xlsx`),C("导出成功",{type:"success"}),p()}else C("获取数据失败,请重试!",{type:"error"})});h.validate(c=>{c&&d.time&&d.time.length&&M({search_status_time:d.time[0]||"",search_end_time:d.time[1]||""})})}})}}}export{oe as useData}; diff --git a/dist/static/js/hook-D3ivzqp-.js b/dist/static/js/hook-D3ivzqp-.js new file mode 100644 index 0000000..6cb84ea --- /dev/null +++ b/dist/static/js/hook-D3ivzqp-.js @@ -0,0 +1 @@ +var k=Object.defineProperty,P=Object.defineProperties;var A=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var b=(t,e,a)=>e in t?k(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,d=(t,e)=>{for(var a in e||(e={}))F.call(e,a)&&b(t,a,e[a]);if(y)for(var a of y(e))$.call(e,a)&&b(t,a,e[a]);return t},_=(t,e)=>P(t,A(e));var m=(t,e,a)=>new Promise((f,s)=>{var g=o=>{try{i(a.next(o))}catch(c){s(c)}},n=o=>{try{i(a.throw(o))}catch(c){s(c)}},i=o=>o.done?f(o.value):Promise.resolve(o.value).then(g,n);i((a=a.apply(t,e)).next())});import{_ as j}from"./form.vue_vue_type_script_setup_true_lang-CjBoEdbv.js";import{n as p,b as C,r as S,aA as h,aK as q,ag as w}from"./index-CRmU-Qpi.js";import{i as E,j as K}from"./room-3H8Bx0CI.js";function J(){const t=p(),e=p(!0),a=p([]),f=p(!1),s=p({search_room_id:"",search_user_id:"",apply_status:""}),g=p([{label:"房间号",prop:"search_room_id",type:"input"},{label:"房主ID",prop:"search_user_id",type:"input"},{label:"审核状态",prop:"apply_status",type:"select",optionList:[{label:"待审核",value:1},{label:"审核未通过",value:3}]}]),n=p({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),i=p([{label:"ID",prop:"id"},{label:"房间名称",prop:"room_name"},{label:"房主名称",prop:"user_name"},{label:"房间封面图",prop:"room_cover",cellRenderer:({row:l})=>C(S("el-image"),{fit:"cover","preview-teleported":!0,src:l.room_cover,"preview-src-list":Array.of(l.room_cover),class:"w-[100px] h-[50px] align-middle"},null)},{label:"房间公告",prop:"room_intro"},{label:"状态",prop:"apply_status",cellRenderer:({row:l})=>C(S("el-tag"),{type:l.apply_status===1?"info":"error"},{default:()=>[l.apply_status===1?"待审核":"审核未通过"]})},{label:"创建时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),o=l=>m(this,null,function*(){e.value=!0,s.value=d({},l);const{data:r,code:u}=yield E(_(d({},l),{page:n.value.currentPage,page_limit:n.value.pageSize}));u&&(a.value=r.lists,n.value.total=r.count,n.value.currentPage=r.page),e.value=!1});return{searchForm:s,searchLabel:g,onSearch:o,isShow:f,tableList:a,tableLabel:i,pagination:n,handleSizeChange:l=>{n.value.pageSize=l,o(s.value)},handleCurrentChange:l=>{n.value.currentPage=l,o(s.value)},loading:e,handleDelete:l=>m(this,null,function*(){const{code:r}=yield removeClassifyData({type_id:l.id});r&&(h(`您删除了分类名称为【${l.type_name}】的这条数据`,{type:"success"}),o(s.value))}),openDialog:(l="新增",r)=>{var u;q({title:`${l}房间`,props:{formInline:{apply_status:"",remark:(u=r==null?void 0:r.remark)!=null?u:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>w(j,{ref:t,formInline:null}),beforeSure:(R,{options:x})=>{const z=t.value.getRef(),D=x.props.formInline,I=v=>m(this,null,function*(){const{code:L}=yield K(_(d({},v),{id:r.id}));L?(h("审核成功",{type:"success"}),o(s.value),R()):h("审核失败",{type:"error"})});z.validate(v=>{v&&l==="审核"&&I(D)})}})}}}export{J as useData}; diff --git a/dist/static/js/hook-D8f-8M1Z.js b/dist/static/js/hook-D8f-8M1Z.js new file mode 100644 index 0000000..68a5e14 --- /dev/null +++ b/dist/static/js/hook-D8f-8M1Z.js @@ -0,0 +1 @@ +var K=Object.defineProperty,M=Object.defineProperties;var O=Object.getOwnPropertyDescriptors;var I=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var L=(n,a,l)=>a in n?K(n,a,{enumerable:!0,configurable:!0,writable:!0,value:l}):n[a]=l,f=(n,a)=>{for(var l in a||(a={}))$.call(a,l)&&L(n,l,a[l]);if(I)for(var l of I(a))q.call(a,l)&&L(n,l,a[l]);return n},y=(n,a)=>M(n,O(a));var p=(n,a,l)=>new Promise((b,o)=>{var h=t=>{try{r(l.next(t))}catch(g){o(g)}},c=t=>{try{r(l.throw(t))}catch(g){o(g)}},r=t=>t.done?b(t.value):Promise.resolve(t.value).then(h,c);r((l=l.apply(n,a)).next())});import{_ as J}from"./form.vue_vue_type_script_setup_true_lang-DSh6_f4W.js";import{n as i,b as x,r as P,aA as d,aK as N,ag as V}from"./index-CRmU-Qpi.js";import{I as j,J as B,K as E,L as G}from"./room-3H8Bx0CI.js";import"./index-An8nOBwL.js";function w(){const n=i(),a=i(!0),l=i([]),b=i(!1),o=i({search_name:""}),h=i([{label:"标签名称",prop:"search_name",type:"input"}]),c=i({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),r=i([{label:"ID",prop:"id"},{label:"标签名称",prop:"label_name"},{label:"状态",prop:"status",cellRenderer:({row:s})=>x(P("el-tag"),{type:s.status===1?"success":"info"},{default:()=>[s.status===1?"显示":"隐藏"]})},{label:"标签图标",prop:"label_icon",cellRenderer:({row:s})=>x(P("el-image"),{fit:"cover","preview-teleported":!0,src:s.label_icon,"preview-src-list":Array.of(s.label_icon),class:"w-[60px] h-[24px] align-middle"},null)},{label:"创建时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),t=s=>p(this,null,function*(){a.value=!0,o.value=f({},s);const{data:e,code:m}=yield j(y(f({},s),{page:c.value.currentPage,page_limit:c.value.pageSize}));m&&(l.value=e.lists,c.value.total=e.count,c.value.currentPage=e.page),a.value=!1});return{searchForm:o,searchLabel:h,onSearch:t,isShow:b,tableList:l,tableLabel:r,pagination:c,handleSizeChange:s=>{c.value.pageSize=s,t(o.value)},handleCurrentChange:s=>{c.value.currentPage=s,t(o.value)},loading:a,handleDelete:s=>p(this,null,function*(){const{code:e}=yield B({label_id:s.id});e&&(d(`您删除了标签名称为【${s.label_name}】的这条数据`,{type:"success"}),t(o.value))}),openDialog:(s="新增",e)=>{var m,R,S,C;N({title:`${s}标签`,props:{formInline:{label_name:(m=e==null?void 0:e.label_name)!=null?m:"",label_icon:(R=e==null?void 0:e.label_icon)!=null?R:"",label_icon_room:(S=e==null?void 0:e.label_icon_room)!=null?S:"",status:(C=e==null?void 0:e.status)!=null?C:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>V(J,{ref:n,formInline:null}),beforeSure:(z,{options:T})=>{const k=n.value.getRef(),v=T.props.formInline,A=u=>p(this,null,function*(){const{code:_}=yield E(u);_?(d("新增成功",{type:"success"}),t(o.value),z()):d("新增失败",{type:"error"})}),F=u=>p(this,null,function*(){const{code:_}=yield G(y(f({},u),{label_id:e.id}));_?(d("修改成功",{type:"success"}),t(o.value),z()):d("修改失败",{type:"error"})});k.validate(u=>{u&&(delete v.higherMenuOptions,s==="新增"?A(v):F(v))})}})}}}export{w as useData}; diff --git a/dist/static/js/hook-DB082g8o.js b/dist/static/js/hook-DB082g8o.js new file mode 100644 index 0000000..9613d98 --- /dev/null +++ b/dist/static/js/hook-DB082g8o.js @@ -0,0 +1 @@ +var A=Object.defineProperty,L=Object.defineProperties;var $=Object.getOwnPropertyDescriptors;var P=Object.getOwnPropertySymbols;var q=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable;var k=(t,e,a)=>e in t?A(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,h=(t,e)=>{for(var a in e||(e={}))q.call(e,a)&&k(t,a,e[a]);if(P)for(var a of P(e))F.call(e,a)&&k(t,a,e[a]);return t},z=(t,e)=>L(t,$(e));var p=(t,e,a)=>new Promise((d,f)=>{var s=o=>{try{i(a.next(o))}catch(g){f(g)}},b=o=>{try{i(a.throw(o))}catch(g){f(g)}},i=o=>o.done?d(o.value):Promise.resolve(o.value).then(s,b);i((a=a.apply(t,e)).next())});import{_ as K}from"./form.vue_vue_type_script_setup_true_lang-Bbwf4kUJ.js";import{n as c,b as M,r as N,aK as O,ag as V,aA as u}from"./index-CRmU-Qpi.js";import{c as j,f as B,h as E,i as H}from"./activities-UkTzwAkp.js";function Y(){const t=c(),e=c(null),a=c(!0),d=c([]),f=c(!1),s=c({total:0,pageSize:10,currentPage:1,pageSizes:[10,20,50,100],background:!0}),b=c([{label:"ID",prop:"id"},{label:"礼物名称",prop:"name"},{label:"封面图",prop:"icon",cellRenderer:({row:n})=>M(N("el-image"),{fit:"cover","preview-teleported":!0,src:n.icon,"preview-src-list":Array.of(n.icon),class:"w-[50px] h-[50px] align-middle"},null)},{label:"数量",prop:"num"},{label:"价格",prop:"gold"},{label:"类型",prop:"type_str"},{label:"添加时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),i=n=>p(this,null,function*(){e.value=h({},n),a.value=!0;const{data:l,code:m}=yield j({gift_bag_id:e.value.id,page:s.value.currentPage,page_limit:s.value.pageSize});m&&(d.value=l.lists.map(v=>h({},v)),s.value.total=l.count,s.value.currentPage=l.page),a.value=!1});return{onSearch:i,isShow:f,tableList:d,tableLabel:b,pagination:s,handleSizeChange:n=>{s.value.pageSize=n,i(e.value)},handleCurrentChange:n=>{s.value.currentPage=n,i(e.value)},handleDelete:n=>p(this,null,function*(){const{code:l}=yield B({id:n.id});l&&(u(`您删除了名称为${n.name}的这条数据`,{type:"success"}),i(e.value))}),loading:a,openDialog:(n="新增",l)=>{var m,v,_;O({title:`${n}礼物`,props:{formInline:{type:(m=l==null?void 0:l.type)!=null?m:"",num:(v=l==null?void 0:l.num)!=null?v:"",gift_id:(_=l==null?void 0:l.gift_id)!=null?_:"",gift_bag_id:e.value.id}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>V(K,{ref:t,formInline:null}),beforeSure:(S,{options:R})=>{const x=t.value.getRef(),C=R.props.formInline,G=r=>p(this,null,function*(){const{code:y}=yield E(r);y?(u("新增成功",{type:"success"}),i(e.value),S()):u("新增失败",{type:"error"})}),I=r=>p(this,null,function*(){const{code:y}=yield H(z(h({},r),{id:l.id}));y?(u("修改成功",{type:"success"}),i(e.value),S()):u("修改失败",{type:"error"})});x.validate(r=>{r&&(n==="新增"?G(C):I(C))})}})}}}export{Y as useData}; diff --git a/dist/static/js/hook-DIGAn0FT.js b/dist/static/js/hook-DIGAn0FT.js new file mode 100644 index 0000000..ec0701e --- /dev/null +++ b/dist/static/js/hook-DIGAn0FT.js @@ -0,0 +1 @@ +var V=Object.defineProperty,j=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var q=Object.getOwnPropertySymbols;var E=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var A=(i,l,s)=>l in i?V(i,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[l]=s,y=(i,l)=>{for(var s in l||(l={}))E.call(l,s)&&A(i,s,l[s]);if(q)for(var s of q(l))G.call(l,s)&&A(i,s,l[s]);return i},_=(i,l)=>j(i,B(l));var o=(i,l,s)=>new Promise((h,a)=>{var f=c=>{try{u(s.next(c))}catch(d){a(d)}},t=c=>{try{u(s.throw(c))}catch(d){a(d)}},u=c=>c.done?h(c.value):Promise.resolve(c.value).then(f,t);u((s=s.apply(i,l)).next())});import{_ as H}from"./form.vue_vue_type_script_setup_true_lang-CeQi_z5K.js";import{n as p,b as F,r as $,aA as g,aK as J,ag as Q}from"./index-CRmU-Qpi.js";import{q as T,d as U,a as W,e as X}from"./level-CSC0PShd.js";import"./index-An8nOBwL.js";function ie(){const i=p(),l=p(!0),s=p([]),h=p(!1),a=p({name:""}),f=p([{label:"分类名称",prop:"name",type:"input"}]),t=p({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),u=p([{label:"ID",prop:"id"},{label:"等级",prop:"level"},{label:"等级名称",prop:"name"},{label:"财富值",prop:"change_value"},{label:"特权图标",prop:"privilege",cellRenderer:({row:n})=>F($("el-image"),{fit:"cover","preview-teleported":!0,src:n.rights_icon,"preview-src-list":Array.of(n.rights_icon),class:"w-[24px] h-[24px] rounded-full align-middle"},null)},{label:"状态",prop:"status",cellRenderer:({row:n})=>F($("el-tag"),{type:n.status===1?"success":"error"},{default:()=>[n.status===1?"显示":"隐藏"]})},{label:"发布时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),c=n=>o(this,null,function*(){l.value=!0;const{data:e,code:m}=yield T(_(y({},n),{page:t.value.currentPage,page_limit:t.value.pageSize}));m&&(s.value=e.lists,t.value.total=e.count,t.value.currentPage=e.page),l.value=!1});return{searchForm:a,searchLabel:f,onSearch:c,isShow:h,tableList:s,tableLabel:u,pagination:t,handleSizeChange:n=>{t.value.pageSize=n,c(a.value)},handleCurrentChange:n=>{t.value.currentPage=n,c(a.value)},loading:l,handleDelete:n=>o(this,null,function*(){const{code:e}=yield U({id:n.id});e&&(g(`您删除了等级名称为${n.name}的这条数据`,{type:"success"}),c(a.value))}),openDialog:(n="新增",e)=>{var m,C,S,z,R,x,I,L;J({title:`${n}魅力等级`,props:{formInline:{level:(m=e==null?void 0:e.level)!=null?m:"",name:(C=e==null?void 0:e.name)!=null?C:"",image:(S=e==null?void 0:e.image)!=null?S:"",bg_image:(z=e==null?void 0:e.bg_image)!=null?z:"",color:(R=e==null?void 0:e.color)!=null?R:"",change_value:(x=e==null?void 0:e.change_value)!=null?x:"",status:(I=e==null?void 0:e.status)!=null?I:"",rights_icon:(L=e==null?void 0:e.rights_icon)!=null?L:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>Q(H,{ref:i,formInline:null}),beforeSure:(P,{options:K})=>{const M=i.value.getRef(),k=K.props.formInline,N=r=>o(this,null,function*(){const{code:v,msg:b}=yield W(r);v?(g("新增成功",{type:"success"}),c(a.value),P()):g(b,{type:"error"})}),O=r=>o(this,null,function*(){const{code:v,msg:b}=yield X(_(y({},r),{id:e.id}));v?(g("修改成功",{type:"success"}),c(a.value),P()):g(b,{type:"error"})});M.validate(r=>{r&&(n==="新增"?N(k):O(k))})}})}}}export{ie as useData}; diff --git a/dist/static/js/hook-DKoN1rt2.js b/dist/static/js/hook-DKoN1rt2.js new file mode 100644 index 0000000..329bbfc --- /dev/null +++ b/dist/static/js/hook-DKoN1rt2.js @@ -0,0 +1 @@ +var G=Object.defineProperty,L=Object.defineProperties;var A=Object.getOwnPropertyDescriptors;var $=Object.getOwnPropertySymbols;var K=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var M=(n,t,i)=>t in n?G(n,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[t]=i,y=(n,t)=>{for(var i in t||(t={}))K.call(t,i)&&M(n,i,t[i]);if($)for(var i of $(t))j.call(t,i)&&M(n,i,t[i]);return n},b=(n,t)=>L(n,A(t));var p=(n,t,i)=>new Promise((m,s)=>{var g=o=>{try{u(i.next(o))}catch(f){s(f)}},a=o=>{try{u(i.throw(o))}catch(f){s(f)}},u=o=>o.done?m(o.value):Promise.resolve(o.value).then(g,a);u((i=i.apply(n,t)).next())});import{_ as B}from"./form.vue_vue_type_script_setup_true_lang-D50B9usK.js";import{n as c,aA as d,aK as v,ag as _}from"./index-CRmU-Qpi.js";import{_ as E}from"./record.vue_vue_type_script_setup_true_lang-DDpuDBM8.js";import{_ as H}from"./index.vue_vue_type_script_setup_true_lang-1k8ze5BO.js";import{q as J,d as N,a as Q,e as U}from"./activities-UkTzwAkp.js";import"./index-CnAi1QxJ.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";import"./hook-_9wHMMzO.js";import"./form.vue_vue_type_script_setup_true_lang-B5Zt0w7a.js";function oe(){const n=c(),t=c(!0),i=c([]),m=c(!1),s=c({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),g=c([{label:"ID",prop:"id"},{label:"新人礼包名称",prop:"name"},{label:"新人礼包标题",prop:"title"},{label:"副标题1",prop:"title1"},{label:"副标题2",prop:"title2"},{label:"价值(元)",prop:"money"},{label:"状态",prop:"status_str"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),a=()=>p(this,null,function*(){t.value=!0;const{data:l,code:e}=yield J({page:s.value.currentPage,page_limit:s.value.pageSize,activities_id:7});e&&(i.value=l.lists,s.value.total=l.count,s.value.currentPage=l.page),t.value=!1});return{onSearch:a,isShow:m,tableList:i,tableLabel:g,pagination:s,handleSizeChange:l=>{s.value.pageSize=l,a()},handleCurrentChange:l=>{s.value.currentPage=l,a()},loading:t,handleDelete:l=>p(this,null,function*(){const{code:e}=yield N({id:l.id});e&&(d(`您删除了名称为${l.name}的这条数据`,{type:"success"}),a())}),openDialog:(l="新增",e)=>{var C,S,R,k,z,I;v({title:`${l}首充分类`,props:{formInline:{title:(C=e==null?void 0:e.title)!=null?C:"",name:(S=e==null?void 0:e.name)!=null?S:"",status:(R=e==null?void 0:e.status)!=null?R:"",title1:(k=e==null?void 0:e.title1)!=null?k:"",title2:(z=e==null?void 0:e.title2)!=null?z:"",money:(I=e==null?void 0:e.money)!=null?I:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>_(B,{ref:n,formInline:null}),beforeSure:(P,{options:O})=>{const T=n.value.getRef(),F=O.props.formInline,q=r=>p(this,null,function*(){const{code:h}=yield Q(b(y({},r),{activities_id:7}));h?(d("新增成功",{type:"success"}),a(),P()):d("新增失败",{type:"error"})}),x=r=>p(this,null,function*(){const{code:h}=yield U(b(y({},r),{id:e.id,activities_id:7}));h?(d("修改成功",{type:"success"}),a(),P()):d("修改失败",{type:"error"})});T.validate(r=>{r&&(l==="新增"?q(F):x(F))})}})},openGiftPark:l=>{v({title:"礼包列表",width:"60%",closeOnClickModal:!1,hideFooter:!0,props:{rowData:l},contentRenderer:()=>_(H,{ref:n,formInline:null})})},DistributionRecord:()=>{v({title:"发放记录",width:"60%",closeOnClickModal:!1,hideFooter:!0,contentRenderer:()=>_(E,{ref:n,formInline:null})})}}}export{oe as useData}; diff --git a/dist/static/js/hook-DNFDkgGG.js b/dist/static/js/hook-DNFDkgGG.js new file mode 100644 index 0000000..8888559 --- /dev/null +++ b/dist/static/js/hook-DNFDkgGG.js @@ -0,0 +1 @@ +var B=Object.defineProperty,K=Object.defineProperties;var M=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable;var C=(t,e,a)=>e in t?B(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,c=(t,e)=>{for(var a in e||(e={}))N.call(e,a)&&C(t,a,e[a]);if(z)for(var a of z(e))O.call(e,a)&&C(t,a,e[a]);return t},_=(t,e)=>K(t,M(e));var x=(t,e,a)=>new Promise((l,u)=>{var p=o=>{try{s(a.next(o))}catch(m){u(m)}},f=o=>{try{s(a.throw(o))}catch(m){u(m)}},s=o=>o.done?l(o.value):Promise.resolve(o.value).then(p,f);s((a=a.apply(t,e)).next())});import{c as E}from"./statistics-Cc1WE90b.js";import{u as y,w as T}from"./xlsx-DaVhO591.js";import{n,b as V,r as j,aK as G,ag as H,aA as F}from"./index-CRmU-Qpi.js";import{_ as J}from"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";function ee(){const t=n(!0),e=n([]),a=n(!1),l=n({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),u=n(0),p=n({search_uid:"",begin_time:"",username:"",end_time:""}),f=n([{label:"用户ID",prop:"search_uid",type:"input"},{label:"用户昵称",prop:"username",type:"input"},{label:"开始时间",prop:"begin_time",type:"date"},{label:"结束时间",prop:"end_time",type:"date"}]),s=n([{label:"用户名称",prop:"user_name"},{label:"头像",prop:"avatar",cellRenderer:({row:r})=>V(j("el-image"),{fit:"cover","preview-teleported":!0,src:r.avatar,"preview-src-list":Array.of(r.avatar),class:"w-[30px] h-[30px] align-middle"},null)},{label:"总充值",prop:"money"},{label:"总获取金币",prop:"coin"}]),o=r=>x(this,null,function*(){t.value=!0,p.value=c({},r);const{data:i,code:v}=yield E(_(c({},r),{page:l.value.currentPage,page_limit:l.value.pageSize}));v&&(e.value=i.lists.map(b=>c(c({},b),i.total)),u.value=i.total.total_price||0,l.value.total=i.count,l.value.currentPage=i.page),t.value=!1}),m=r=>{l.value.pageSize=r,o(p.value)},I=r=>{l.value.currentPage=r,o(p.value)},w=n(null);return{searchForm:p,searchLabel:f,onSearch:o,isShow:a,tableList:e,tableLabel:s,pagination:l,total_price:u,exportExcel:()=>{let r=[];G({title:"导出数据",props:{formInline:{time:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>H(J,{ref:w,formInline:null}),beforeSure:(i,{options:v})=>{const b=w.value.getRef(),d=v.props.formInline,P=g=>x(this,null,function*(){const{data:A,code:D}=yield E(_(c({},g),{page:1,page_limit:2e4}));if(D){r=A.lists;const S=r.map(h=>{const L=[];return s.value.forEach(q=>{L.push(h[q.prop])}),L}),k=[];s.value.forEach(h=>{k.push(h.label)}),S.unshift(k);const $=y.aoa_to_sheet(S),R=y.book_new();y.book_append_sheet(R,$,"数据报表"),T(R,`充值排行统计${g.begin_time} - ${g.end_time}.xlsx`),F("导出成功",{type:"success"}),i()}else F("获取数据失败,请重试!",{type:"error"})});b.validate(g=>{g&&d.time&&d.time.length&&P({begin_time:d.time[0]||"",end_time:d.time[1]||""})})}})},handleSizeChange:m,handleCurrentChange:I,loading:t}}export{ee as useData}; diff --git a/dist/static/js/hook-DOMvpZIW.js b/dist/static/js/hook-DOMvpZIW.js new file mode 100644 index 0000000..9fc1767 --- /dev/null +++ b/dist/static/js/hook-DOMvpZIW.js @@ -0,0 +1 @@ +var B=Object.defineProperty,G=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var R=Object.getOwnPropertySymbols;var M=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var z=(a,e,t)=>e in a?B(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,d=(a,e)=>{for(var t in e||(e={}))M.call(e,t)&&z(a,t,e[t]);if(R)for(var t of R(e))N.call(e,t)&&z(a,t,e[t]);return a},_=(a,e)=>G(a,K(e));var h=(a,e,t)=>new Promise((l,s)=>{var m=o=>{try{i(t.next(o))}catch(c){s(c)}},f=o=>{try{i(t.throw(o))}catch(c){s(c)}},i=o=>o.done?l(o.value):Promise.resolve(o.value).then(m,f);i((t=t.apply(a,e)).next())});import{q as C}from"./statistics-Cc1WE90b.js";import{u as x,w as O}from"./xlsx-DaVhO591.js";import{_ as T}from"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import{n,b as V,r as j,aK as H,ag as J,aA as E}from"./index-CRmU-Qpi.js";function ee(){const a=n(!0),e=n([]),t=n(!1),l=n({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),s=n({search_uid:"",begin_time:"",end_time:"",username:"",type:1}),m=n(0),f=n([{label:"用户ID",prop:"search_uid",type:"input"},{label:"用户昵称",prop:"username",type:"input"},{label:"开始时间",prop:"begin_time",type:"date"},{label:"结束时间",prop:"end_time",type:"date"}]),i=n([{label:"用户名称",prop:"user_name"},{label:"头像",prop:"avatar",cellRenderer:({row:r})=>V(j("el-image"),{fit:"cover","preview-teleported":!0,src:r.avatar,"preview-src-list":Array.of(r.avatar),class:"w-[30px] h-[30px] align-middle"},null)},{label:"礼物总充值",prop:"total_price"},{label:"礼物总量",prop:"number"}]),o=r=>h(this,null,function*(){a.value=!0,s.value=d({},r);const{data:p,code:b}=yield C(_(d({},r),{page:l.value.currentPage,page_limit:l.value.pageSize}));b&&(m.value=p.total.total_price||0,e.value=p.lists,l.value.total=p.count,l.value.currentPage=p.page),a.value=!1}),c=r=>{l.value.pageSize=r,o(s.value)},F=r=>{l.value.currentPage=r,o(s.value)},y=n(null);return{searchForm:s,searchLabel:f,onSearch:o,isShow:t,tableList:e,tableLabel:i,total_price:m,pagination:l,exportExcel:()=>{let r=[];H({title:"导出数据",props:{formInline:{time:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>J(T,{ref:y,formInline:null}),beforeSure:(p,{options:b})=>{const I=y.value.getRef(),g=b.props.formInline,P=u=>h(this,null,function*(){const{data:q,code:A}=yield C(_(d({},u),{page:1,page_limit:2e4}));if(A){r=q.lists;const w=r.map(v=>{const L=[];return i.value.forEach($=>{L.push(v[$.prop])}),L}),S=[];i.value.forEach(v=>{S.push(v.label)}),w.unshift(S);const D=x.aoa_to_sheet(w),k=x.book_new();x.book_append_sheet(k,D,"数据报表"),O(k,`送礼排行统计${u.begin_time} - ${u.end_time}.xlsx`),E("导出成功",{type:"success"}),p()}else E("获取数据失败,请重试!",{type:"error"})});I.validate(u=>{u&&g.time&&g.time.length&&P({begin_time:g.time[0]||"",end_time:g.time[1]||""})})}})},handleSizeChange:c,handleCurrentChange:F,loading:a}}export{ee as useData}; diff --git a/dist/static/js/hook-DSIZoIz5.js b/dist/static/js/hook-DSIZoIz5.js new file mode 100644 index 0000000..a5a9c17 --- /dev/null +++ b/dist/static/js/hook-DSIZoIz5.js @@ -0,0 +1 @@ +var A=Object.defineProperty,B=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable;var z=(a,e,t)=>e in a?A(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,_=(a,e)=>{for(var t in e||(e={}))M.call(e,t)&&z(a,t,e[t]);if(L)for(var t of L(e))O.call(e,t)&&z(a,t,e[t]);return a},b=(a,e)=>B(a,K(e));var v=(a,e,t)=>new Promise((i,d)=>{var o=r=>{try{s(t.next(r))}catch(p){d(p)}},c=r=>{try{s(t.throw(r))}catch(p){d(p)}},s=r=>r.done?i(r.value):Promise.resolve(r.value).then(o,c);s((t=t.apply(a,e)).next())});import{u as x,w as T}from"./xlsx-DaVhO591.js";import{n as l,aK as j,ag as G,aA as E}from"./index-CRmU-Qpi.js";import{_ as H}from"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import{c as C}from"./Financial-DLXohchJ.js";function X(){const a=l(!0),e=l([]),t=l(!1),i=l({search_uid:"",start_time:"",end_time:""}),d=l([{label:"用户ID/昵称",prop:"search_uid",type:"input"},{label:"开始时间",prop:"start_time",type:"date"},{label:"结束时间",prop:"end_time",type:"date"}]),o=l({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),c=l([{label:"ID",prop:"id"},{label:"用户ID",prop:"user_code"},{label:"用户昵称",prop:"nickname"},{label:"消耗金额",prop:"earnings_num"},{label:"获得数量(金币)",prop:"coin_num"},{label:"完成时间",prop:"createtime"}]),s=n=>v(this,null,function*(){a.value=!0,i.value=_({},n);const{data:u,code:f}=yield C(b(_({},n),{page:o.value.currentPage,page_limit:o.value.pageSize}));f&&(e.value=u.lists,o.value.total=u.count,o.value.currentPage=u.page),a.value=!1}),r=n=>{o.value.pageSize=n,s(i.value)},p=n=>{o.value.currentPage=n,s(i.value)},S=l(null);return{searchForm:i,searchLabel:d,onSearch:s,isShow:t,tableList:e,tableLabel:c,pagination:o,exportExcel:()=>{let n=[];j({title:"导出数据",props:{formInline:{time:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>G(H,{ref:S,formInline:null}),beforeSure:(u,{options:f})=>{const D=S.value.getRef(),g=f.props.formInline,F=m=>v(this,null,function*(){const{data:P,code:R}=yield C(b(_({},m),{page:1,page_limit:2e4}));if(R){n=P.lists;const w=n.map(h=>{const I=[];return c.value.forEach(q=>{I.push(h[q.prop])}),I}),y=[];c.value.forEach(h=>{y.push(h.label)}),w.unshift(y);const $=x.aoa_to_sheet(w),k=x.book_new();x.book_append_sheet(k,$,"数据报表"),T(k,`兑换列表统计${m.start_time} - ${m.end_time}.xlsx`),E("导出成功",{type:"success"}),u()}else E("获取数据失败,请重试!",{type:"error"})});D.validate(m=>{m&&g.time&&g.time.length&&F({start_time:g.time[0]||"",end_time:g.time[1]||""})})}})},handleSizeChange:r,handleCurrentChange:p,loading:a}}export{X as useData}; diff --git a/dist/static/js/hook-D_OHMuaj.js b/dist/static/js/hook-D_OHMuaj.js new file mode 100644 index 0000000..9e66bb3 --- /dev/null +++ b/dist/static/js/hook-D_OHMuaj.js @@ -0,0 +1 @@ +var G=Object.defineProperty,L=Object.defineProperties;var A=Object.getOwnPropertyDescriptors;var P=Object.getOwnPropertySymbols;var K=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var F=(l,t,n)=>t in l?G(l,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):l[t]=n,$=(l,t)=>{for(var n in t||(t={}))K.call(t,n)&&F(l,n,t[n]);if(P)for(var n of P(t))j.call(t,n)&&F(l,n,t[n]);return l},M=(l,t)=>L(l,A(t));var p=(l,t,n)=>new Promise((m,s)=>{var g=a=>{try{u(n.next(a))}catch(f){s(f)}},o=a=>{try{u(n.throw(a))}catch(f){s(f)}},u=a=>a.done?m(a.value):Promise.resolve(a.value).then(g,o);u((n=n.apply(l,t)).next())});import{_ as B}from"./form.vue_vue_type_script_setup_true_lang-DBByDkeo.js";import{n as r,aA as d,aK as y,ag as b}from"./index-CRmU-Qpi.js";import{_ as E}from"./record.vue_vue_type_script_setup_true_lang-CPIKwi6k.js";import{_ as H}from"./index.vue_vue_type_script_setup_true_lang-1k8ze5BO.js";import{q as J,d as N,a as Q,e as U}from"./activities-UkTzwAkp.js";import"./index-CnAi1QxJ.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";import"./hook-_9wHMMzO.js";import"./form.vue_vue_type_script_setup_true_lang-B5Zt0w7a.js";function ae(){const l=r(),t=r(!0),n=r([]),m=r(!1),s=r({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),g=r([{label:"ID",prop:"id"},{label:"首充名称",prop:"name"},{label:"首充标题",prop:"title"},{label:"副标题1",prop:"title1"},{label:"副标题2",prop:"title2"},{label:"价值(元)",prop:"money"},{label:"状态",prop:"status_str"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),o=()=>p(this,null,function*(){t.value=!0;const{data:i,code:e}=yield J({page:s.value.currentPage,page_limit:s.value.pageSize});e&&(n.value=i.lists,s.value.total=i.count,s.value.currentPage=i.page),t.value=!1});return{onSearch:o,isShow:m,tableList:n,tableLabel:g,pagination:s,handleSizeChange:i=>{s.value.pageSize=i,o()},handleCurrentChange:i=>{s.value.currentPage=i,o()},loading:t,handleDelete:i=>p(this,null,function*(){const{code:e}=yield N({id:i.id});e&&(d(`您删除了名称为${i.name}的这条数据`,{type:"success"}),o())}),openDialog:(i="新增",e)=>{var C,v,_,S,R,k;y({title:`${i}首充分类`,props:{formInline:{title:(C=e==null?void 0:e.title)!=null?C:"",name:(v=e==null?void 0:e.name)!=null?v:"",status:(_=e==null?void 0:e.status)!=null?_:"",title1:(S=e==null?void 0:e.title1)!=null?S:"",title2:(R=e==null?void 0:e.title2)!=null?R:"",money:(k=e==null?void 0:e.money)!=null?k:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>b(B,{ref:l,formInline:null}),beforeSure:(z,{options:O})=>{const T=l.value.getRef(),I=O.props.formInline,q=c=>p(this,null,function*(){const{code:h}=yield Q(c);h?(d("新增成功",{type:"success"}),o(),z()):d("新增失败",{type:"error"})}),x=c=>p(this,null,function*(){const{code:h}=yield U(M($({},c),{id:e.id}));h?(d("修改成功",{type:"success"}),o(),z()):d("修改失败",{type:"error"})});T.validate(c=>{c&&(i==="新增"?q(I):x(I))})}})},openGiftPark:i=>{y({title:"礼包列表",width:"60%",closeOnClickModal:!1,hideFooter:!0,props:{rowData:i},contentRenderer:()=>b(H,{ref:l,formInline:null})})},DistributionRecord:()=>{y({title:"发放记录",width:"60%",closeOnClickModal:!1,hideFooter:!0,contentRenderer:()=>b(E,{ref:l,formInline:null})})}}}export{ae as useData}; diff --git a/dist/static/js/hook-D_VvVAo0.js b/dist/static/js/hook-D_VvVAo0.js new file mode 100644 index 0000000..47b79e0 --- /dev/null +++ b/dist/static/js/hook-D_VvVAo0.js @@ -0,0 +1 @@ +var te=Object.defineProperty,le=Object.defineProperties;var se=Object.getOwnPropertyDescriptors;var H=Object.getOwnPropertySymbols;var ie=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable;var K=(l,r,t)=>r in l?te(l,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):l[r]=t,w=(l,r)=>{for(var t in r||(r={}))ie.call(r,t)&&K(l,t,r[t]);if(H)for(var t of H(r))ne.call(r,t)&&K(l,t,r[t]);return l},I=(l,r)=>le(l,se(r));var b=(l,r,t)=>new Promise((z,p)=>{var d=n=>{try{_(t.next(n))}catch(c){p(c)}},i=n=>{try{_(t.throw(n))}catch(c){p(c)}},_=n=>n.done?z(n.value):Promise.resolve(n.value).then(d,i);_((t=t.apply(l,r)).next())});import ae from"./form-vOGmFg76.js";import pe from"./detail-tHZGhNpK.js";import{_ as ce}from"./Turntable.vue_vue_type_script_setup_true_lang-LSWXEPtD.js";import{_ as me}from"./index.vue_vue_type_script_setup_true_lang-7qz1dg5T.js";import{u as $,w as _e}from"./xlsx-DaVhO591.js";import{n as a,b as ue,r as be,aK as x,ag as k,W as E,aA as L}from"./index-CRmU-Qpi.js";import{_ as fe}from"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import{r as de,s as N,n as ve,t as he}from"./room-3H8Bx0CI.js";import"./index-An8nOBwL.js";import"./statistics-gtweHPF5.js";import"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import"./hooks-ItYVRz1P.js";import"./blindBox-BqHhL4EW.js";import"./statistics-B6YG3tm9.js";import"./Results-CDWDzDys.js";function Pe(){const l=a(),r=a(!0),t=a([]),z=a(!1),p=a({search_room_id:"",search_user_id:"",search_status:""}),d=a([{label:"房间号",prop:"search_room_id",type:"input"},{label:"房主ID",prop:"search_user_id",type:"input"},{label:"房间状态",prop:"search_status",type:"select",optionList:[{label:"正常",value:1},{label:"封禁",value:2},{label:"关闭",value:3}]},{label:"是否热门",prop:"is_hot",type:"select",optionList:[{label:"是",value:2},{label:"否",value:1}]},{label:"是否置顶",prop:"is_top",type:"select",optionList:[{label:"是",value:2},{label:"否",value:1}]},{label:"房间类型",prop:"type_id",type:"select",optionList:[]}]),i=a({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),_=a([{label:"房间号",prop:"room_code"},{label:"靓号",prop:"room_number"},{label:"房主",prop:"user_name"},{label:"房间名称",prop:"room_name"},{label:"封面图",prop:"room_cover",cellRenderer:({row:o})=>ue(be("el-image"),{fit:"cover","preview-teleported":!0,src:o.room_cover,"preview-src-list":Array.of(o.room_cover),class:"w-[24px] h-[24px] rounded-full align-middle"},null)},{label:"房间分类",prop:"room_type_str"},{label:"是否推荐",prop:"is_recommend"},{label:"是否置顶",prop:"is_top"},{label:"是否热门",prop:"is_hot"},{label:"是否有收益",prop:"is_earnings"},{label:"所属工会",prop:"guild_name"},{label:"房间状态",prop:"room_status_str"},{label:"创建时间",prop:"createtime"},{label:"操作",fixed:"right",width:300,slot:"operation"}]),n=()=>b(this,null,function*(){const{data:o,code:s}=yield de({});s&&(d.value[d.value.length-1].optionList=o.lists.map(e=>({label:e.type_name,value:e.id})))}),c=o=>b(this,null,function*(){r.value=!0,p.value=w({},o);const{data:s,code:e}=yield N(I(w({},o),{page:i.value.currentPage,page_limit:i.value.pageSize}));e&&(t.value=s.lists,i.value.total=s.count,i.value.currentPage=s.page),r.value=!1}),W=o=>{i.value.pageSize=o,c(p.value)},X=o=>{i.value.currentPage=o,c(p.value)},j=(o,s)=>b(this,null,function*(){x({title:"查看房间详情",props:{tableData:s},width:"60%",hideFooter:!0,closeOnClickModal:!1,contentRenderer:()=>k(pe)})}),G=(o="新增",s)=>b(this,null,function*(){const{data:e,code:M}=yield ve({room_id:s.room_id});M?E(()=>{var u,R,m,D,S,v,h,C,g,f,y,F,T,q,A,V,B;x({title:`${o}房间`,props:{roomDetail:e,formInline:{room_number:(u=e==null?void 0:e.room_number)!=null?u:"",room_name:(R=e==null?void 0:e.room_name)!=null?R:"",room_intro:(m=e==null?void 0:e.room_intro)!=null?m:"",room_cover:(D=e==null?void 0:e.room_cover)!=null?D:"",room_background_id:(S=e==null?void 0:e.room_background_id)!=null?S:"",type_id:(v=e==null?void 0:e.type_id)!=null?v:"",is_earnings:(h=e==null?void 0:e.is_earnings)!=null?h:"",is_top:(C=e==null?void 0:e.is_top)!=null?C:"",is_hot:(g=e==null?void 0:e.is_hot)!=null?g:"",is_recommend:(f=e==null?void 0:e.is_recommend)!=null?f:"",room_status:(y=e==null?void 0:e.room_status)!=null?y:"",is_show_room:(F=e==null?void 0:e.is_show_room)!=null?F:"",is_room_password:(T=e==null?void 0:e.is_room_password)!=null?T:"",room_password:(q=e==null?void 0:e.room_password)!=null?q:"",is_robot_num:(A=e==null?void 0:e.is_robot_num)!=null?A:"",robot_num:(V=e==null?void 0:e.robot_num)!=null?V:"",is_open_blind_box_turntable:(B=e==null?void 0:e.is_open_blind_box_turntable)!=null?B:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>k(ae,{ref:l,formInline:null}),beforeSure:(U,{options:Y})=>{const Z=l.value.getRef(),ee=Y.props.formInline,oe=O=>b(this,null,function*(){const{code:re}=yield he(I(w({},O),{room_id:s.room_id}));re?(L("修改成功",{type:"success"}),c(p.value),U()):L("修改失败",{type:"error"})});Z.validate(O=>{O&&(o==="新增"||oe(ee))})}})}):L("获取房间信息失败",{type:"error"})}),J=o=>{E(()=>{x({title:"盲盒转盘统计",props:{roomDetail:o},fullscreen:!0,hideFooter:!0,closeOnClickModal:!1,contentRenderer:()=>k(ce,{ref:l,formInline:null})})})},Q=o=>{E(()=>{x({title:"巡乐会数据统计",props:{roomDetail:o},fullscreen:!0,hideFooter:!0,closeOnClickModal:!1,contentRenderer:()=>k(me,{ref:l,formInline:null})})})},P=a(null);return{searchForm:p,searchLabel:d,onSearch:c,isShow:z,tableList:t,tableLabel:_,pagination:i,handleSizeChange:W,handleCurrentChange:X,loading:r,exportExcel:()=>{let o=[];x({title:"导出数据",props:{formInline:{time:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>k(fe,{ref:P,formInline:null}),beforeSure:(s,{options:e})=>{const M=P.value.getRef(),u=e.props.formInline,R=m=>b(this,null,function*(){const{data:D,code:S}=yield N(I(w({},m),{page:1,page_limit:2e4}));if(S){o=D.lists;const v=o.map(f=>{const y=[];return _.value.forEach(F=>{y.push(f[F.prop])}),y}),h=[];_.value.forEach(f=>{h.push(f.label)}),v.unshift(h);const C=$.aoa_to_sheet(v),g=$.book_new();$.book_append_sheet(g,C,"数据报表"),_e(g,`房间列表统计${m.begin_time} - ${m.end_time}.xlsx`),L("导出成功",{type:"success"}),s()}else L("获取数据失败,请重试!",{type:"error"})});M.validate(m=>{m&&u.time&&u.time.length&&R({begin_time:u.time[0]||"",end_time:u.time[1]||""})})}})},viewDetail:j,editDialog:G,viewTurntableData:J,viewXunLeHuiData:Q,getListType:n}}export{Pe as useData}; diff --git a/dist/static/js/hook-D_nrE2eA.js b/dist/static/js/hook-D_nrE2eA.js new file mode 100644 index 0000000..0053b42 --- /dev/null +++ b/dist/static/js/hook-D_nrE2eA.js @@ -0,0 +1 @@ +var P=Object.defineProperty,M=Object.defineProperties;var q=Object.getOwnPropertyDescriptors;var b=Object.getOwnPropertySymbols;var A=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var _=(t,e,a)=>e in t?P(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,u=(t,e)=>{for(var a in e||(e={}))A.call(e,a)&&_(t,a,e[a]);if(b)for(var a of b(e))B.call(e,a)&&_(t,a,e[a]);return t},m=(t,e)=>M(t,q(e));var v=(t,e,a)=>new Promise((g,n)=>{var c=o=>{try{p(a.next(o))}catch(s){n(s)}},f=o=>{try{p(a.throw(o))}catch(s){n(s)}},p=o=>o.done?g(o.value):Promise.resolve(o.value).then(c,f);p((a=a.apply(t,e)).next())});import{_ as D}from"./form.vue_vue_type_script_setup_true_lang-Di45cE4b.js";import{n as i,b as y,r as S,aK as w,ag as K,aA as x}from"./index-CRmU-Qpi.js";import{q as N,h as O}from"./Inform-CWr9EIX8.js";function Q(){const t=i(),e=i(!0),a=i([]),g=i(!1),n=i({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),c=i({search_id:"",status:""}),f=i([{label:"搜索ID",prop:"search_id",type:"input"},{label:"状态",prop:"status",type:"select",optionList:[{label:"未处理",value:1},{label:"已处理",value:2}]}]),o=i([{type:"index",index:l=>l+1},{label:"用户ID",prop:"user_id"},{label:"用户名",prop:"nickname"},{label:"反馈内容",prop:"content"},{label:"图片",prop:"image",cellRenderer:({row:l})=>y(S("el-image"),{fit:"cover","preview-teleported":!0,src:l.image,"preview-src-list":Array.of(l.image),class:"w-[40px] h-[40px] align-middle"},null)},{label:"联系方式",prop:"tell"},{label:"处理状态",prop:"is_deal",cellRenderer:({row:l})=>y(S("el-tag"),{type:l.is_deal===2?"success":"info"},{default:()=>[l.is_deal===2?"已处理":"未处理"]})},{label:"处理内容",prop:"deal_content"},{label:"提交时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),s=l=>v(this,null,function*(){e.value=!0,c.value=u({},l);const{data:r,code:d}=yield N(m(u({},l),{page:n.value.currentPage,page_limit:n.value.pageSize}));d&&(a.value=r.lists,n.value.total=r.count,n.value.currentPage=r.page),e.value=!1});return{searchForm:c,searchLabel:f,onSearch:s,isShow:g,tableList:a,tableLabel:o,pagination:n,handleSizeChange:l=>{n.value.pageSize=l,s(c.value)},handleCurrentChange:l=>{n.value.currentPage=l,s(c.value)},loading:e,openDialog:(l="新增",r)=>{var d;w({title:`${l}反馈问题`,props:{formInline:{deal_content:(d=r==null?void 0:r.deal_content)!=null?d:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>K(D,{ref:t,formInline:null}),beforeSure:(C,{options:z})=>{const R=t.value.getRef(),k=z.props.formInline,I=h=>v(this,null,function*(){const{code:L,msg:F}=yield O(m(u({},h),{id:r.id}));L?(x("操作成功",{type:"success"}),s(c.value),C()):x(F,{type:"error"})});R.validate(h=>{h&&I(k)})}})}}}export{Q as useData}; diff --git a/dist/static/js/hook-D_q42Z95.js b/dist/static/js/hook-D_q42Z95.js new file mode 100644 index 0000000..5785a5f --- /dev/null +++ b/dist/static/js/hook-D_q42Z95.js @@ -0,0 +1 @@ +var V=Object.defineProperty,j=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var $=Object.getOwnPropertySymbols;var E=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var q=(i,s,n)=>s in i?V(i,s,{enumerable:!0,configurable:!0,writable:!0,value:n}):i[s]=n,y=(i,s)=>{for(var n in s||(s={}))E.call(s,n)&&q(i,n,s[n]);if($)for(var n of $(s))G.call(s,n)&&q(i,n,s[n]);return i},_=(i,s)=>j(i,B(s));var g=(i,s,n)=>new Promise((f,t)=>{var v=c=>{try{u(n.next(c))}catch(o){t(o)}},a=c=>{try{u(n.throw(c))}catch(o){t(o)}},u=c=>c.done?f(c.value):Promise.resolve(c.value).then(v,a);u((n=n.apply(i,s)).next())});import{_ as H}from"./form.vue_vue_type_script_setup_true_lang-CiHdOBSE.js";import{n as p,b as S,r as C,aA as d,aK as J,ag as Q}from"./index-CRmU-Qpi.js";import{c as T,f as U,g as X,h as Y}from"./level-CSC0PShd.js";import"./index-An8nOBwL.js";function ce(){const i=p(),s=p(!0),n=p([]),f=p(!1),t=p({name:""}),v=p([{label:"分类名称",prop:"name",type:"input"}]),a=p({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),u=p([{label:"ID",prop:"id"},{label:"等级",prop:"level"},{label:"等级名称",prop:"name"},{label:"财富值",prop:"change_value"},{label:"图标",prop:"image",cellRenderer:({row:l})=>S(C("el-image"),{fit:"cover","preview-teleported":!0,src:l.image,"preview-src-list":Array.of(l.image),class:"w-[24px] h-[24px] rounded-full align-middle"},null)},{label:"特权",prop:"privilege",cellRenderer:({row:l})=>S(C("el-image"),{fit:"cover","preview-teleported":!0,src:l.privilege,"preview-src-list":Array.of(l.privilege),class:"w-[24px] h-[24px] rounded-full align-middle"},null)},{label:"奖励金币",prop:"coins"},{label:"状态",prop:"status",cellRenderer:({row:l})=>S(C("el-tag"),{type:l.status===1?"success":"error"},{default:()=>[l.status===1?"显示":"隐藏"]})},{label:"发布时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),c=l=>g(this,null,function*(){s.value=!0;const{data:e,code:m}=yield T(_(y({},l),{page:a.value.currentPage,page_limit:a.value.pageSize}));m&&(n.value=e.lists,a.value.total=e.count,a.value.currentPage=e.page),s.value=!1});return{searchForm:t,searchLabel:v,onSearch:c,isShow:f,tableList:n,tableLabel:u,pagination:a,handleSizeChange:l=>{a.value.pageSize=l,c(t.value)},handleCurrentChange:l=>{a.value.currentPage=l,c(t.value)},loading:s,handleDelete:l=>g(this,null,function*(){const{code:e}=yield U({id:l.id});e&&(d(`您删除了等级名称为${l.name}的这条数据`,{type:"success"}),c(t.value))}),openDialog:(l="新增",e)=>{var m,R,x,z,I,L,P,W,A;J({title:`${l}财富等级`,props:{formInline:{level:(m=e==null?void 0:e.level)!=null?m:"",name:(R=e==null?void 0:e.name)!=null?R:"",image:(x=e==null?void 0:e.image)!=null?x:"",change_value:(z=e==null?void 0:e.change_value)!=null?z:"",coins:(I=e==null?void 0:e.coins)!=null?I:"",status:(L=e==null?void 0:e.status)!=null?L:"",gift_id:(P=e==null?void 0:e.gift_id)!=null?P:"",bg_image:(W=e==null?void 0:e.bg_image)!=null?W:"",color:(A=e==null?void 0:e.color)!=null?A:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>Q(H,{ref:i,formInline:null}),beforeSure:(k,{options:K})=>{const M=i.value.getRef(),F=K.props.formInline,N=r=>g(this,null,function*(){const{code:h,msg:b}=yield X(r);h?(d("新增成功",{type:"success"}),c(t.value),k()):d(b,{type:"error"})}),O=r=>g(this,null,function*(){const{code:h,msg:b}=yield Y(_(y({},r),{id:e.id}));h?(d("修改成功",{type:"success"}),c(t.value),k()):d(b,{type:"error"})});M.validate(r=>{r&&(l==="新增"?N(F):O(F))})}})}}}export{ce as useData}; diff --git a/dist/static/js/hook-DcGH6AK7.js b/dist/static/js/hook-DcGH6AK7.js new file mode 100644 index 0000000..4a91dde --- /dev/null +++ b/dist/static/js/hook-DcGH6AK7.js @@ -0,0 +1 @@ +var M=Object.defineProperty,T=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var _=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var I=(n,a,t)=>a in n?M(n,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[a]=t,C=(n,a)=>{for(var t in a||(a={}))$.call(a,t)&&I(n,t,a[t]);if(_)for(var t of _(a))k.call(a,t)&&I(n,t,a[t]);return n},R=(n,a)=>T(n,V(a));var p=(n,a,t)=>new Promise((v,c)=>{var h=i=>{try{g(t.next(i))}catch(l){c(l)}},o=i=>{try{g(t.throw(i))}catch(l){c(l)}},g=i=>i.done?v(i.value):Promise.resolve(i.value).then(h,o);g((t=t.apply(n,a)).next())});import{_ as A}from"./form.vue_vue_type_script_setup_true_lang-B-fxyO5i.js";import{n as r,b as E,r as U,fI as q,aA as d,aK as H,ag as K}from"./index-CRmU-Qpi.js";import{l as N,m as O,n as j,o as G,p as J}from"./system-CqYheEHE.js";function ae(){const n=r(),a=r(!0),t=r([]),v=r(!1),c=r({search_name:""}),h=r([{label:"分类名称",prop:"search_name",type:"input"}]),o=r({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),g=r([{label:"ID",prop:"crid"},{label:"充值金额",prop:"money"},{label:"金币",prop:"coins"},{label:"状态",prop:"status",cellRenderer:({row:e,props:s})=>E(U("el-switch"),{modelValue:e.status,"onUpdate:modelValue":u=>e.status=u,onChange:()=>i(e),"active-value":1,"inactive-value":2,"active-text":"显示","inactive-text":"隐藏","active-color":"#13ce66","inactive-color":"#ff4949"},null)},{label:"发布人员",prop:"admin"},{label:"创建时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),i=e=>p(this,null,function*(){a.value||q.confirm(`确认要${e.status===2?"隐藏":"显示"}吗?`,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",dangerouslyUseHTMLString:!0,draggable:!0}).then(()=>p(this,null,function*(){const{data:s,code:u}=yield N({id:e.id,status:e.status});u&&d(`已${e.status===2?"隐藏":"显示"}`,{type:"success"})})).catch(()=>{e.status==2?e.status=1:e.status=2})}),l=e=>p(this,null,function*(){a.value=!0;const{data:s,code:u}=yield O(R(C({},e),{page:o.value.currentPage,page_limit:o.value.pageSize}));u&&(t.value=s.lists.map(f=>(f.status,f)),o.value.total=s.count,o.value.currentPage=s.page),a.value=!1});return{searchForm:c,searchLabel:h,onSearch:l,isShow:v,tableList:t,tableLabel:g,pagination:o,handleSizeChange:e=>{o.value.pageSize=e,l(c.value)},handleCurrentChange:e=>{o.value.currentPage=e,l(c.value)},loading:a,handleDelete:e=>p(this,null,function*(){const{code:s}=yield j({id:e.crid});s&&(d("删除成功",{type:"success"}),l(c.value))}),openDialog:(e="新增",s)=>{var u,f,S;H({title:`${e}充值规则`,props:{formInline:{money:(u=s==null?void 0:s.money)!=null?u:"",coins:(f=s==null?void 0:s.coins)!=null?f:"",status:(S=s==null?void 0:s.status)!=null?S:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>K(A,{ref:n,formInline:null}),beforeSure:(x,{options:L})=>{const P=n.value.getRef(),z=L.props.formInline,B=m=>p(this,null,function*(){const{code:y,msg:b}=yield G(m);y?(d("新增成功",{type:"success"}),l(c.value),x()):d(b,{type:"error"})}),F=m=>p(this,null,function*(){const{code:y,msg:b}=yield J(R(C({},m),{id:s.crid}));y?(d("修改成功",{type:"success"}),l(c.value),x()):d(b,{type:"error"})});P.validate(m=>{m&&(e==="新增"?B(z):F(z))})}})}}}export{ae as useData}; diff --git a/dist/static/js/hook-Dh1L7jZK.js b/dist/static/js/hook-Dh1L7jZK.js new file mode 100644 index 0000000..930280c --- /dev/null +++ b/dist/static/js/hook-Dh1L7jZK.js @@ -0,0 +1 @@ +var j=Object.defineProperty,E=Object.defineProperties;var G=Object.getOwnPropertyDescriptors;var M=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,J=Object.prototype.propertyIsEnumerable;var q=(i,l,n)=>l in i?j(i,l,{enumerable:!0,configurable:!0,writable:!0,value:n}):i[l]=n,h=(i,l)=>{for(var n in l||(l={}))H.call(l,n)&&q(i,n,l[n]);if(M)for(var n of M(l))J.call(l,n)&&q(i,n,l[n]);return i},y=(i,l)=>E(i,G(l));var o=(i,l,n)=>new Promise((f,t)=>{var c=u=>{try{m(n.next(u))}catch(p){t(p)}},v=u=>{try{m(n.throw(u))}catch(p){t(p)}},m=u=>u.done?f(u.value):Promise.resolve(u.value).then(c,v);m((n=n.apply(i,l)).next())});import{q as Q,_ as T,d as U,a as W,e as X}from"./form.vue_vue_type_script_setup_true_lang-Ch3nypJv.js";import{n as a,b as A,r as F,aK as Y,ag as Z,aA as r}from"./index-CRmU-Qpi.js";import"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";import"./index-An8nOBwL.js";function ce(){const i=a(),l=a(!0),n=a([]),f=a(!1),t=a({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),c=a({search_name:"",show_type:"",etime:""});a([]);const v=a([{label:"标题",prop:"search_name",type:"input"},{label:"广告位置",prop:"show_type",type:"select",optionList:[{label:"引导页",value:1},{label:"启动页",value:2},{label:"首页轮播图",value:3},{label:"房间首页",value:4}]},{label:"到期时间",prop:"etime",type:"date"}]),u=a([{type:"index",index:s=>s+1},{label:"广告名称",prop:"name"},{label:"广告位置",prop:"show_type_str"},{label:"广告类型",prop:"type_str"},{label:"广告链接",prop:"aid"},{label:"对应跳转链接",prop:"url"},{label:"开始时间",prop:"stime"},{label:"到期时间",prop:"etime"},{label:"广告图片",prop:"image",cellRenderer:({row:s})=>A(F("el-image"),{fit:"cover","preview-teleported":!0,src:s.image,"preview-src-list":Array.of(s.image),class:"w-[40px] h-[40px] align-middle"},null)},{label:"状态",prop:"show_status",cellRenderer:({row:s})=>A(F("el-tag"),{type:s.show_status===1?"success":"info"},{default:()=>[s.show_status===1?"正常":"隐藏"]})},{label:"操作",fixed:"right",width:210,slot:"operation"}]),p=s=>o(this,null,function*(){l.value=!0,c.value=h({},s);const{data:e,code:g}=yield Q(y(h({},s),{pageNum:t.value.currentPage,pageSize:t.value.pageSize}));g&&(n.value=e.lists,t.value.total=e.totalRow,t.value.currentPage=e.pageNumber),l.value=!1});return{searchForm:c,searchLabel:v,onSearch:p,isShow:f,tableList:n,tableLabel:u,pagination:t,handleSizeChange:s=>{t.value.pageSize=s,p(c.value)},handleCurrentChange:s=>{t.value.currentPage=s,p(c.value)},loading:l,openDialog:(s="新增",e)=>{var g,_,S,x,C,z,R,L,N,k,P;Y({title:`${s}广告`,props:{formInline:{name:(g=e==null?void 0:e.name)!=null?g:"",show_type:(_=e==null?void 0:e.show_type)!=null?_:"",type:(S=e==null?void 0:e.type)!=null?S:"",aid:(x=e==null?void 0:e.aid)!=null?x:"",url:(C=e==null?void 0:e.url)!=null?C:"",stime:(z=e==null?void 0:e.stime)!=null?z:"",etime:(R=e==null?void 0:e.etime)!=null?R:"",image:(L=e==null?void 0:e.image)!=null?L:"",show_status:(N=e==null?void 0:e.show_status)!=null?N:"",remarks:(k=e==null?void 0:e.remarks)!=null?k:"",content:(P=e==null?void 0:e.content)!=null?P:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>Z(T,{ref:i,formInline:null}),beforeSure:(B,{options:K})=>{const O=i.value.getRef(),I=K.props.formInline,V=d=>o(this,null,function*(){const{code:b}=yield W(d);b?(r("新增成功",{type:"success"}),p(c.value),B()):r("新增失败",{type:"error"})}),$=d=>o(this,null,function*(){const{code:b}=yield X(y(h({},d),{id:e.id}));b?(r("修改成功",{type:"success"}),p(c.value),B()):r("修改失败",{type:"error"})});O.validate(d=>{d&&(s==="新增"?V(I):$(I))})}})},handleDelete:s=>o(this,null,function*(){const{code:e}=yield U({id:s.id});e&&(r("删除成功",{type:"success"}),p(c.value))})}}export{ce as useData}; diff --git a/dist/static/js/hook-Dh7wG1Je.js b/dist/static/js/hook-Dh7wG1Je.js new file mode 100644 index 0000000..f46fe84 --- /dev/null +++ b/dist/static/js/hook-Dh7wG1Je.js @@ -0,0 +1 @@ +var V=Object.defineProperty,X=Object.defineProperties;var j=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var K=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var q=(l,i,a)=>i in l?V(l,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):l[i]=a,d=(l,i)=>{for(var a in i||(i={}))K.call(i,a)&&q(l,a,i[a]);if(z)for(var a of z(i))$.call(i,a)&&q(l,a,i[a]);return l},x=(l,i)=>X(l,j(i));var c=(l,i,a)=>new Promise((B,o)=>{var s=r=>{try{b(a.next(r))}catch(u){o(u)}},_=r=>{try{b(a.throw(r))}catch(u){o(u)}},b=r=>r.done?B(r.value):Promise.resolve(r.value).then(s,_);b((a=a.apply(l,i)).next())});import{a as E,r as H,c as J,i as Q,d as T,e as U,j as W}from"./blindBox-BqHhL4EW.js";import{_ as Y}from"./form.vue_vue_type_script_setup_true_lang-BuSWUZQX.js";import Z from"./settingRule-C5k_xNPq.js";import{n,b as S,r as w,aA as g,aK as P,ag as F}from"./index-CRmU-Qpi.js";import"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";function de(){const l=n(),i=n(!0),a=n([]),B=n(!1),o=n({total:0,pageSize:10,currentPage:1,pageSizes:[10,20,50,100],background:!0}),s=n({gift_id:"",gift_name:""}),_=n(13),b=n([]),r=n([{label:"每期总次数",prop:"total_count"},{label:"每期总礼物价值(收入)",prop:"total_price"},{label:"每期总抽奖花费(支出)",prop:"total_cost"},{label:"每期统计(收入/支出)",prop:"profit_loss_ratio",tip:"%"}]),u=n({}),A=n([{label:"礼物ID",prop:"gift_id",type:"input"},{label:"礼物名称",prop:"gift_name",type:"input"}]),G=n([{label:"礼物ID",prop:"gift_id"},{label:"礼物名称",prop:"gift_name"},{label:"封面图",prop:"base_image",cellRenderer:({row:e})=>S(w("el-image"),{fit:"cover","preview-teleported":!0,src:e.base_image,"preview-src-list":Array.of(e.base_image),class:"w-[50px] h-[50px] align-middle"},null)},{label:"价格",prop:"gift_price"},{label:"每期数量",prop:"quantity"},{label:"未开数量",prop:"remaining_number"},{label:"多少次后可参与开奖",prop:"weight"},{label:"公屏",prop:"is_public_screen",cellRenderer:({row:e})=>S(w("el-tag"),{type:e.is_public_screen===1?"success":"error"},{default:()=>[e.is_public_screen===1?"显示":"隐藏"]})},{label:"全服显示",prop:"is_public_server",cellRenderer:({row:e})=>S(w("el-tag"),{type:e.is_public_server===1?"success":"error"},{default:()=>[e.is_public_server===1?"显示":"隐藏"]})},{label:"榜单显示",prop:"is_world_show",cellRenderer:({row:e})=>S(w("el-tag"),{type:e.is_world_show===1?"success":"error"},{default:()=>[e.is_world_show===1?"显示":"隐藏"]})},{label:"添加时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),p=e=>c(this,null,function*(){i.value=!0,s.value=d({},e);const{data:t,code:f}=yield E(x(d({},e),{gift_bag_id:_.value,page:o.value.currentPage,page_limit:o.value.pageSize}));f&&(a.value=t.lists.map(m=>d(d({},m),t.total)),u.value=t.total_data,o.value.total=t.count,o.value.currentPage=t.page),i.value=!1});return{searchForm:s,searchLabel:A,onSearch:p,isShow:B,tableList:a,tableLabel:G,pagination:o,handleSizeChange:e=>{o.value.pageSize=e,p(s.value)},handleCurrentChange:e=>{o.value.currentPage=e,p(s.value)},loading:i,activeName:_,typeList:b,statisticsList:r,statisticsData:u,openDialog:(e="新增",t)=>c(this,null,function*(){var f,m,y,R;P({title:`${e}盲盒礼物`,props:{formInline:{gift_id:(f=t==null?void 0:t.gift_id)!=null?f:"",quantity:(m=t==null?void 0:t.quantity)!=null?m:1,weight:(y=t==null?void 0:t.weight)!=null?y:1,is_world_show:(R=t==null?void 0:t.is_world_show)!=null?R:1}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>F(Y,{ref:l,formInline:null}),beforeSure:(k,{options:v})=>{const C=l.value.getRef(),L=v.props.formInline,M=h=>c(this,null,function*(){const{code:I}=yield T(x(d({},h),{gift_bag_id:_.value}));I?(g("新增成功",{type:"success"}),p(s.value),k()):g("新增失败",{type:"error"})}),N=h=>c(this,null,function*(){const{code:I,msg:O}=yield U(x(d({},h),{gift_bag_id:_.value,id:t.id}));I?(g("修改成功",{type:"success"}),p(s.value),k()):g(O,{type:"error"})});C.validate(h=>{h&&(e==="新增"?M(L):N(L))})}})}),resetSetting:()=>c(this,null,function*(){const{data:e,code:t}=yield H({gift_bag_id:_.value});t&&(g("重置成功",{type:"success"}),p(s.value))}),handleDelete:e=>c(this,null,function*(){const{code:t}=yield J({id:e.id});t&&(g("您删除了这条数据",{type:"success"}),p(s.value))}),addGiftData:()=>c(this,null,function*(){}),setting:()=>c(this,null,function*(){const{data:e,code:t}=yield Q({gift_bag_id:_.value});P({title:"设置巡乐会规则",props:{formInline:{inlet_bag_id:+e.inlet_bag_id,introd:e.introd,waiting_start_num:e.open_condition.waiting_start_num,start_num:e.open_condition.start_num,selected_gift_id:+e.locking_condition.selected_gift_id,locking_gift_id:+e.locking_condition.locking_gift_id,give_homeowner_gift_id:+e.locking_condition.give_homeowner_gift_id,end_time:e.locking_time.end_time,tow_no_locking_time:e.locking_time.tow_no_locking_time,next_time:e.locking_time.next_time,price:e.xlh_box_price}},width:"60%",closeOnClickModal:!1,contentRenderer:()=>F(Z,{ref:l,formInline:null}),beforeSure:(f,{options:m})=>{const y=l.value.getRef(),R=m.props.formInline,k=v=>c(this,null,function*(){const{code:C}=yield W(d({},v));C?(g("设置成功",{type:"success"}),p(s.value),f()):g("设置失败",{type:"error"})});y.validate(v=>{v&&k(R)})}})})}}export{de as useData}; diff --git a/dist/static/js/hook-DkFMTKT0.js b/dist/static/js/hook-DkFMTKT0.js new file mode 100644 index 0000000..95a0fb5 --- /dev/null +++ b/dist/static/js/hook-DkFMTKT0.js @@ -0,0 +1 @@ +var m=Object.defineProperty;var g=Object.getOwnPropertySymbols;var v=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var b=(t,r,e)=>r in t?m(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,s=(t,r)=>{for(var e in r||(r={}))v.call(r,e)&&b(t,e,r[e]);if(g)for(var e of g(r))S.call(r,e)&&b(t,e,r[e]);return t};var d=(t,r,e)=>new Promise((n,u)=>{var l=a=>{try{i(e.next(a))}catch(o){u(o)}},c=a=>{try{i(e.throw(a))}catch(o){u(o)}},i=a=>a.done?n(a.value):Promise.resolve(a.value).then(l,c);i((e=e.apply(t,r)).next())});import{q as f}from"./invite-ZPZpvkxZ.js";import{n as p}from"./index-CRmU-Qpi.js";function D(){const t=p(!0),r=p([]),e=p(!1),n=p({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),u=p([{label:"收益列表ID",prop:"id"},{label:"邀请者",prop:"parent_username"},{label:"下级用户",prop:"username"},{label:"邀请者ID",prop:"user_id"},{label:"下级ID",prop:"sub_user_id"},{label:"下级充值金额",prop:"coin"},{label:"上级返佣多少",prop:"earnings"},{label:"返佣比例",prop:"proportion"},{label:"创建时间",prop:"createtime"}]),l=()=>d(this,null,function*(){t.value=!0;const{data:a,code:o}=yield f({page:n.value.currentPage,page_limit:n.value.pageSize});o&&(r.value=a.lists.map(h=>s(s({},h),a.total)),n.value.total=a.count,n.value.currentPage=a.page),t.value=!1});return{onSearch:l,isShow:e,tableList:r,tableLabel:u,pagination:n,handleSizeChange:a=>{n.value.pageSize=a,l()},handleCurrentChange:a=>{n.value.currentPage=a,l()},loading:t}}export{D as useData}; diff --git a/dist/static/js/hook-DkPCSM4g.js b/dist/static/js/hook-DkPCSM4g.js new file mode 100644 index 0000000..310b995 --- /dev/null +++ b/dist/static/js/hook-DkPCSM4g.js @@ -0,0 +1 @@ +var P=Object.defineProperty,$=Object.defineProperties;var M=Object.getOwnPropertyDescriptors;var C=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var R=(n,t,a)=>t in n?P(n,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[t]=a,x=(n,t)=>{for(var a in t||(t={}))T.call(t,a)&&R(n,a,t[a]);if(C)for(var a of C(t))V.call(t,a)&&R(n,a,t[a]);return n},U=(n,t)=>$(n,M(t));var u=(n,t,a)=>new Promise((f,l)=>{var m=i=>{try{o(a.next(i))}catch(g){l(g)}},v=i=>{try{o(a.throw(i))}catch(g){l(g)}},o=i=>i.done?f(i.value):Promise.resolve(i.value).then(m,v);o((a=a.apply(n,t)).next())});import{_ as k}from"./form.vue_vue_type_script_setup_true_lang-CMV64P_c.js";import{n as r,b as E,r as j,fI as q,aA as d,aK as A,ag as F}from"./index-CRmU-Qpi.js";import{u as H,h as K,i as N,j as O,l as G}from"./union-ZelC57cN.js";function D(){const n=r(),t=r(!0),a=r([]),f=r(!1),l=r({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),m=r([{label:"ID",prop:"id"},{label:"规则名称",prop:"start_amount"},{label:"目标流水(金币)",prop:"end_amount"},{label:"补贴奖励(%)",prop:"subsidy_ratio"},{label:"创建时间",prop:"createtime"},{label:"启用状态",prop:"upStatus",cellRenderer:({row:e,props:s})=>E(j("el-switch"),{modelValue:e.status,"onUpdate:modelValue":c=>e.status=c,onChange:()=>v(e),"active-value":1,"inactive-value":2,"active-text":"正常","inactive-text":"禁用","active-color":"#13ce66","inactive-color":"#ff4949"},null)},{label:"操作",fixed:"right",width:210,slot:"operation"}]),v=e=>u(this,null,function*(){t.value||q.confirm(`确认要${e.status===2?"禁用":"启用"}吗?`,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",dangerouslyUseHTMLString:!0,draggable:!0}).then(()=>u(this,null,function*(){const{data:s,code:c}=yield H({id:e.id,status:e.status});c&&d(`已${e.status===2?"禁用":"启用"}`,{type:"success"})})).catch(()=>{e.status==2?e.status=1:e.status=2})}),o=()=>u(this,null,function*(){t.value=!0;const{data:e,code:s}=yield K({page:l.value.currentPage,page_limit:l.value.pageSize});s&&(a.value=e.lists,l.value.total=e.count,l.value.currentPage=e.page),t.value=!1});return{onSearch:o,isShow:f,tableList:a,tableLabel:m,pagination:l,handleSizeChange:e=>{l.value.pageSize=e,o()},handleCurrentChange:e=>{l.value.currentPage=e,o()},loading:t,handleDelete:e=>u(this,null,function*(){const{code:s}=yield N({id:e.id});s&&(d(`您删除了规则名称为【${e.start_amount}】的这条数据`,{type:"success"}),o())}),openDialog:(e="新增",s)=>{var c,y,b;A({title:`${e}奖励规则`,props:{formInline:{start_amount:(c=s==null?void 0:s.start_amount)!=null?c:"",end_amount:(y=s==null?void 0:s.end_amount)!=null?y:"",subsidy_ratio:(b=s==null?void 0:s.subsidy_ratio)!=null?b:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>F(k,{ref:n,formInline:null}),beforeSure:(_,{options:z})=>{const I=n.value.getRef(),S=z.props.formInline,B=p=>u(this,null,function*(){const{code:h}=yield O(p);h?(d("新增成功",{type:"success"}),o(),_()):d("新增失败",{type:"error"})}),L=p=>u(this,null,function*(){const{code:h}=yield G(U(x({},p),{id:s.id}));h?(d("修改成功",{type:"success"}),o(),_()):d("修改失败",{type:"error"})});I.validate(p=>{p&&(e==="新增"?B(S):L(S))})}})}}}export{D as useData}; diff --git a/dist/static/js/hook-DpvhWbTb.js b/dist/static/js/hook-DpvhWbTb.js new file mode 100644 index 0000000..aabb203 --- /dev/null +++ b/dist/static/js/hook-DpvhWbTb.js @@ -0,0 +1 @@ +var B=Object.defineProperty,F=Object.defineProperties;var M=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var I=(n,a,t)=>a in n?B(n,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[a]=t,v=(n,a)=>{for(var t in a||(a={}))T.call(a,t)&&I(n,t,a[t]);if(z)for(var t of z(a))V.call(a,t)&&I(n,t,a[t]);return n},b=(n,a)=>F(n,M(a));var p=(n,a,t)=>new Promise((h,l)=>{var y=o=>{try{f(t.next(o))}catch(c){l(c)}},i=o=>{try{f(t.throw(o))}catch(c){l(c)}},f=o=>o.done?h(o.value):Promise.resolve(o.value).then(y,i);f((t=t.apply(n,a)).next())});import{_ as k}from"./form.vue_vue_type_script_setup_true_lang-CPgTaxRJ.js";import{n as r,b as q,r as A,fI as E,aA as d,aK as U,ag as H}from"./index-CRmU-Qpi.js";import{u as K,q as N,c as O,f as j,h as G}from"./adolescent-Dk2B_RUL.js";function ee(){const n=r(),a=r(!0),t=r([]),h=r(!1),l=r({search_name:""}),y=r([{label:"分类名称",prop:"search_name",type:"input"}]),i=r({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),f=r([{label:"ID",prop:"id"},{label:"分类名称",prop:"name"},{label:"引入数量",prop:"name"},{label:"状态",prop:"status",cellRenderer:({row:e,props:s})=>q(A("el-switch"),{modelValue:e.status,"onUpdate:modelValue":u=>e.status=u,onChange:()=>o(e),"active-value":1,"inactive-value":2,"active-text":"显示","inactive-text":"隐藏","active-color":"#13ce66","inactive-color":"#ff4949"},null)},{label:"创建时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),o=e=>p(this,null,function*(){a.value||E.confirm(`确认要${e.status===2?"隐藏":"显示"}吗?`,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",dangerouslyUseHTMLString:!0,draggable:!0}).then(()=>p(this,null,function*(){const{data:s,code:u}=yield K({id:e.id,status:e.status});u&&d(`已${e.status===2?"隐藏":"显示"}`,{type:"success"})})).catch(()=>{e.status==2?e.status=1:e.status=2})}),c=e=>p(this,null,function*(){a.value=!0,l.value=v({},e);const{data:s,code:u}=yield N(b(v({},e),{page:i.value.currentPage,page_limit:i.value.pageSize}));u&&(t.value=s.lists.map(g=>(g.status,g)),i.value.total=s.count,i.value.currentPage=s.page),a.value=!1});return{searchForm:l,searchLabel:y,onSearch:c,isShow:h,tableList:t,tableLabel:f,pagination:i,handleSizeChange:e=>{i.value.pageSize=e,c(l.value)},handleCurrentChange:e=>{i.value.currentPage=e,c(l.value)},loading:a,handleDelete:e=>p(this,null,function*(){const{code:s}=yield O({id:e.id});s&&(d(`您删除了分类名称为${e.name}的这条数据`,{type:"success"}),c(l.value))}),openDialog:(e="新增",s)=>{var u,g,S;U({title:`${e}内容分类`,props:{formInline:{type_name:(u=s==null?void 0:s.name)!=null?u:"",sort:(g=s==null?void 0:s.sort)!=null?g:"",status:(S=s==null?void 0:s.status)!=null?S:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>H(k,{ref:n,formInline:null}),beforeSure:(x,{options:L})=>{const R=n.value.getRef(),_=L.props.formInline,P=m=>p(this,null,function*(){const{code:C}=yield j(m);C?(d("新增成功",{type:"success"}),c(l.value),x()):d("新增失败",{type:"error"})}),$=m=>p(this,null,function*(){const{code:C}=yield G(b(v({},m),{id:s.id}));C?(d("修改成功",{type:"success"}),c(l.value),x()):d("修改失败",{type:"error"})});R.validate(m=>{m&&(e==="新增"?P(_):$(_))})}})}}}export{ee as useData}; diff --git a/dist/static/js/hook-DvvFNjQd.js b/dist/static/js/hook-DvvFNjQd.js new file mode 100644 index 0000000..d2a973e --- /dev/null +++ b/dist/static/js/hook-DvvFNjQd.js @@ -0,0 +1 @@ +var H=Object.defineProperty,J=Object.defineProperties;var Q=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var U=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var T=(c,t,i)=>t in c?H(c,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):c[t]=i,b=(c,t)=>{for(var i in t||(t={}))U.call(t,i)&&T(c,i,t[i]);if(N)for(var i of N(t))W.call(t,i)&&T(c,i,t[i]);return c},v=(c,t)=>J(c,Q(t));var u=(c,t,i)=>new Promise((m,h)=>{var a=r=>{try{n(i.next(r))}catch(p){h(p)}},g=r=>{try{n(i.throw(r))}catch(p){h(p)}},n=r=>r.done?m(r.value):Promise.resolve(r.value).then(a,g);n((i=i.apply(c,t)).next())});import{_ as X}from"./form.vue_vue_type_script_setup_true_lang-CgloQVzt.js";import{n as _,b as f,r as d,aA as y,aK as Y,ag as Z}from"./index-CRmU-Qpi.js";import{g as D,b as w,c as ee,d as le,f as se,h as ie}from"./gift-BjNBi56Q.js";import"./index-An8nOBwL.js";function be(){u(this,null,function*(){const{data:l,code:e}=yield D({type:2});g.value[g.value.length-1].optionList=e?l.map(s=>v(b({},s),{label:s.name,value:s.id})):[]});const t=_(),i=_(!0),m=_([]),h=_(!1),a=_({search_gift_id:"",search_gift_name:"",search_gift_type:"",search_gift_label:""}),g=_([{label:"礼物ID",prop:"search_gift_id",type:"input"},{label:"礼物名称",prop:"search_gift_name",type:"input"},{label:"礼物分类",prop:"search_gift_type",type:"select",optionList:[{value:1,label:"普通礼物"},{value:2,label:"盲盒礼物"},{value:3,label:"礼包礼物"}]},{label:"礼物标签",prop:"search_gift_label",type:"select",optionList:[]}]),n=_({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),r=_([{label:"ID",prop:"gid"},{label:"礼物名称",prop:"gift_name"},{label:"礼物分类",prop:"type"},{label:"礼物标签",prop:"label"},{label:"封面图",prop:"base_image",cellRenderer:({row:l})=>f(d("el-image"),{fit:"cover","preview-teleported":!0,src:l.base_image,"preview-src-list":Array.of(l.base_image),class:"w-[50px] h-[50px] align-middle"},null)},{label:"价格",prop:"gift_price"},{label:"公屏",prop:"is_public_screen",cellRenderer:({row:l})=>f(d("el-tag"),{type:l.is_public_screen===1?"success":"error"},{default:()=>[l.is_public_screen===1?"是":"否"]})},{label:"全服播报",prop:"is_public_server",cellRenderer:({row:l})=>f(d("el-tag"),{type:l.is_public_server===1?"success":"error"},{default:()=>[l.is_public_server===1?"是":"否"]})},{label:"是否显示",prop:"is_show",cellRenderer:({row:l})=>f(d("el-tag"),{type:l.is_show===1?"success":"error"},{default:()=>[l.is_show===1?"显示":"隐藏"]})},{label:"是否可购买",prop:"is_can_buy",cellRenderer:({row:l})=>f(d("el-tag"),{type:l.is_can_buy===1?"success":"error"},{default:()=>[l.is_can_buy===1?"可购买":"禁止购买"]})},{label:"添加时间",prop:"createtime"},{label:"修改时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),p=l=>u(this,null,function*(){i.value=!0,a.value=b({},l);const{data:e,code:s}=yield w(v(b({},l),{page:n.value.currentPage,page_limit:n.value.pageSize}));s&&(m.value=e.lists,n.value.total=e.count,n.value.currentPage=e.page),i.value=!1});return{searchForm:a,searchLabel:g,onSearch:p,isShow:h,tableList:m,tableLabel:r,pagination:n,handleSizeChange:l=>{n.value.pageSize=l,p(a.value)},handleCurrentChange:l=>{n.value.currentPage=l,p(a.value)},loading:i,handleDelete:l=>u(this,null,function*(){const{code:e}=yield ee({gid:l.gid});e&&(y(`您删除了礼物名称为【${l.gift_name}】的这条数据`,{type:"success"}),p(a.value))}),openDialog:(l="新增",e)=>u(this,null,function*(){var S,C,z,G,I,x,P,k,A,F,O,$,q;const{data:s,code:ae}=yield le({gid:e.gid});Y({title:`${l}礼物`,props:{formInline:{gift_name:(S=e==null?void 0:e.gift_name)!=null?S:"",type:(C=s==null?void 0:s.type)!=null?C:"",label:(z=s==null?void 0:s.label)!=null?z:"",base_image:(G=e==null?void 0:e.base_image)!=null?G:"",gift_price:(I=e==null?void 0:e.gift_price)!=null?I:"",file_type:(x=s==null?void 0:s.file_type)!=null?x:"",play_image:(P=s==null?void 0:s.play_image)!=null?P:"",gift_type:(k=s==null?void 0:s.gift_type)!=null?k:"",is_public_screen:(A=e==null?void 0:e.is_public_screen)!=null?A:"",is_public_server:(F=e==null?void 0:e.is_public_server)!=null?F:"",is_show:(O=e==null?void 0:e.is_show)!=null?O:"",is_can_buy:($=e==null?void 0:e.is_can_buy)!=null?$:"",sort:(q=e==null?void 0:e.sort)!=null?q:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>Z(X,{ref:t,formInline:null}),beforeSure:(K,{options:V})=>{const j=t.value.getRef(),M=V.props.formInline,B=o=>u(this,null,function*(){const{code:L,msg:R}=yield se(o);L?(y("新增成功",{type:"success"}),p(a.value),K()):y(R,{type:"error"})}),E=o=>u(this,null,function*(){const{code:L,msg:R}=yield ie(v(b({},o),{gid:e.gid}));L?(y("修改成功",{type:"success"}),p(a.value),K()):y(R,{type:"error"})});j.validate(o=>{o&&(l==="新增"?B(M):E(M))})}})})}}export{be as useData}; diff --git a/dist/static/js/hook-HsyWGcg9.js b/dist/static/js/hook-HsyWGcg9.js new file mode 100644 index 0000000..d7cdd6b --- /dev/null +++ b/dist/static/js/hook-HsyWGcg9.js @@ -0,0 +1 @@ +var L=Object.defineProperty,T=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var I=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var k=(s,a,t)=>a in s?L(s,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[a]=t,g=(s,a)=>{for(var t in a||(a={}))I.call(a,t)&&k(s,t,a[t]);if(y)for(var t of y(a))R.call(a,t)&&k(s,t,a[t]);return s},_=(s,a)=>T(s,B(a));var v=(s,a,t)=>new Promise((f,o)=>{var m=l=>{try{p(t.next(l))}catch(i){o(i)}},n=l=>{try{p(t.throw(l))}catch(i){o(i)}},p=l=>l.done?f(l.value):Promise.resolve(l.value).then(m,n);p((t=t.apply(s,a)).next())});import{_ as F}from"./form.vue_vue_type_script_setup_true_lang-DXbOk4OV.js";import{n as r,b as P,r as M,fI as V,aA as b,aK as $,ag as q}from"./index-CRmU-Qpi.js";import{u as A,q as U,e as E}from"./system-CqYheEHE.js";function Q(){const s=r(),a=r(!0),t=r([]),f=r(!1),o=r({search_name:""}),m=r([{label:"任务类型",prop:"task_type",type:"select",optionList:[{label:"每日任务",value:1},{label:"每日特殊任务",value:2},{label:"平台常规任务",value:3}]}]),n=r({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),p=r([{label:"任务ID",prop:"task_id"},{label:"任务名称",prop:"task_name"},{label:"任务类型",prop:"task_type_str"},{label:"状态",prop:"status",cellRenderer:({row:e,props:c})=>P(M("el-switch"),{modelValue:e.is_active,"onUpdate:modelValue":u=>e.is_active=u,onChange:()=>l(e),"active-value":1,"inactive-value":2,"active-text":"激活","inactive-text":"未激活","active-color":"#13ce66","inactive-color":"#ff4949"},null)},{label:"操作",fixed:"right",width:210,slot:"operation"}]),l=e=>v(this,null,function*(){a.value||V.confirm(`确认要${e.is_active===2?"未激活":"激活"}吗?`,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",dangerouslyUseHTMLString:!0,draggable:!0}).then(()=>v(this,null,function*(){const{data:c,code:u}=yield A({task_id:e.task_id,is_active:e.is_active});u&&b(`已${e.status===2?"未激活":"激活"}`,{type:"success"})})).catch(()=>{e.status==2?e.status=1:e.status=2})}),i=e=>v(this,null,function*(){a.value=!0,o.value=g({},e);const{data:c,code:u}=yield U(_(g({},e),{page:n.value.currentPage,page_limit:n.value.pageSize}));u&&(t.value=c.lists.map(d=>(d.is_active,d)),n.value.total=c.count,n.value.currentPage=c.page),a.value=!1});return{searchForm:o,searchLabel:m,onSearch:i,isShow:f,tableList:t,tableLabel:p,pagination:n,handleSizeChange:e=>{n.value.pageSize=e,i(o.value)},handleCurrentChange:e=>{n.value.currentPage=e,i(o.value)},loading:a,openDialog:(e="新增",c)=>{$({title:`${e}充值规则`,props:{formInline:g({},c)},width:"40%",closeOnClickModal:!1,contentRenderer:()=>q(F,{ref:s,formInline:null}),beforeSure:(u,{options:d})=>{const C=s.value.getRef(),S=d.props.formInline,D=h=>v(this,null,function*(){const{code:x,msg:z}=yield E(_(g({},h),{task_id:c.task_id}));x?(b("修改成功",{type:"success"}),i(o.value),u()):b(z,{type:"error"})});C.validate(h=>{h&&D(S)})}})}}}export{Q as useData}; diff --git a/dist/static/js/hook-QVaAWfWn.js b/dist/static/js/hook-QVaAWfWn.js new file mode 100644 index 0000000..753576b --- /dev/null +++ b/dist/static/js/hook-QVaAWfWn.js @@ -0,0 +1 @@ +var V=Object.defineProperty,j=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var O=Object.getOwnPropertySymbols;var E=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var $=(l,n,s)=>n in l?V(l,n,{enumerable:!0,configurable:!0,writable:!0,value:s}):l[n]=s,v=(l,n)=>{for(var s in n||(n={}))E.call(n,s)&&$(l,s,n[s]);if(O)for(var s of O(n))G.call(n,s)&&$(l,s,n[s]);return l},a=(l,n)=>j(l,B(n));var f=(l,n,s)=>new Promise((r,u)=>{var g=c=>{try{h(s.next(c))}catch(t){u(t)}},b=c=>{try{h(s.throw(c))}catch(t){u(t)}},h=c=>c.done?r(c.value):Promise.resolve(c.value).then(g,b);h((s=s.apply(l,n)).next())});import{_ as H}from"./form.vue_vue_type_script_setup_true_lang-BoAlLsu7.js";import{n as d,b as J,r as Q,aK as T,ag as U,aA as m}from"./index-CRmU-Qpi.js";import{a as W,d as X,c as Y,u as Z}from"./permission-DJnI7MjS.js";function ce(){const l=d(),n=d(!0),s=d([]),r=d(!1),u=d({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),g=d({title:"",isPlatform:""}),b=d([{label:"标题",prop:"title",type:"input"},{label:"来源",prop:"isPlatform",type:"select",optionList:[{label:"平台发布",value:1},{label:"其他平台",value:0}]}]),c=d([{type:"index",index:i=>i+1},{label:"标题",prop:"title"},{label:"规则",prop:"name"},{label:"状态",prop:"status",cellRenderer:({row:i,props:e})=>J(Q("el-tag"),{type:i.status==="hidden"?"info":"success"},{default:()=>[`${i.status==="hidden"?"隐藏":"正常"}`]})},{label:"操作",fixed:"right",width:210,slot:"operation"}]),t=()=>f(this,null,function*(){n.value=!0;const{data:i,code:e}=yield W();e&&(s.value=i.rows.map(p=>a(v({},p),{hasChildren:!!p.childlist})),u.value.total=i.total),n.value=!1});return{searchForm:g,searchLabel:b,onSearch:t,isShow:r,tableList:s,tableLabel:c,pagination:u,handleSizeChange:i=>{u.value.pageSize=i,t()},handleCurrentChange:i=>{u.value.currentPage=i,t()},loading:n,openDialog:(i="新增",e)=>{var p,C,x,P,S,z,L,R,k,M,I;T({title:`${i}权限信息`,props:{formInline:{ismenu:(p=e==null?void 0:e.ismenu)!=null?p:1,pid:(C=e==null?void 0:e.pid)!=null?C:0,name:(x=e==null?void 0:e.name)!=null?x:"",title:(P=e==null?void 0:e.title)!=null?P:"",icon:(S=e==null?void 0:e.icon)!=null?S:"",condition:(z=e==null?void 0:e.condition)!=null?z:"",remark:(L=e==null?void 0:e.remark)!=null?L:"",weigh:(R=e==null?void 0:e.weigh)!=null?R:1,status:(k=e==null?void 0:e.status)!=null?k:"normal",url:(M=e==null?void 0:e.url)!=null?M:"",extend:(I=e==null?void 0:e.extend)!=null?I:""},higherMenuOptions:[{id:0,pid:0,title:"根节点"}].concat(s.value)},width:"40%",closeOnClickModal:!1,contentRenderer:()=>U(H,{ref:l,formInline:null}),beforeSure:(_,{options:q})=>{const A=l.value.getRef(),F=q.props.formInline,K=o=>f(this,null,function*(){const{code:y}=yield Y(o);y?(m("新增成功",{type:"success"}),t(),_()):m("新增失败",{type:"error"})}),N=o=>f(this,null,function*(){const{code:y}=yield Z(a(v({},o),{id:e.id}));y?(m("修改成功",{type:"success"}),t(),_()):m("修改失败",{type:"error"})});A.validate(o=>{o&&(i==="新增"?K(F):N(F))})}})},handleDelete:i=>f(this,null,function*(){const{code:e}=yield X({ids:i.id});e&&(m("删除成功",{type:"success"}),t())})}}export{ce as useData}; diff --git a/dist/static/js/hook-XPcsHtzL.js b/dist/static/js/hook-XPcsHtzL.js new file mode 100644 index 0000000..7c95d84 --- /dev/null +++ b/dist/static/js/hook-XPcsHtzL.js @@ -0,0 +1 @@ +var A=Object.defineProperty,B=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var M=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var F=(t,e,a)=>e in t?A(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,f=(t,e)=>{for(var a in e||(e={}))M.call(e,a)&&F(t,a,e[a]);if(k)for(var a of k(e))N.call(e,a)&&F(t,a,e[a]);return t},d=(t,e)=>B(t,K(e));var w=(t,e,a)=>new Promise((p,u)=>{var b=r=>{try{g(a.next(r))}catch(s){u(s)}},n=r=>{try{g(a.throw(r))}catch(s){u(s)}},g=r=>r.done?p(r.value):Promise.resolve(r.value).then(b,n);g((a=a.apply(t,e)).next())});import{b as z}from"./statistics-Cc1WE90b.js";import{u as I,w as O}from"./xlsx-DaVhO591.js";import{_ as T}from"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import{n as i,b as V,r as H,aK as J,ag as Q,aA as C}from"./index-CRmU-Qpi.js";function ae(){const t=i(!0),e=i([]),a=i(!1),p=i({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),u=i([{label:"礼物总数量",prop:"gift_num"},{label:"礼物总价",prop:"total_price"}]),b=i(null),n=i({send_user:"",gift_user:"",from_id:"",gift_id:"",from:"",start_time:"",end_time:""}),g=i([{label:"送礼用户ID",prop:"send_user",type:"input"},{label:"收礼用户ID",prop:"gift_user",type:"input"},{label:"房间ID",prop:"from_id",type:"input"},{label:"礼物ID",prop:"gift_id",type:"input"},{label:"来源",prop:"from",type:"select",optionList:[{label:"聊天送礼物",value:1},{label:"房间语聊送礼",value:2},{label:"直播送礼",value:3},{label:"动态打赏",value:4}]},{label:"开始时间",prop:"start_time",type:"date"},{label:"结束时间",prop:"end_time",type:"date"}]),r=i([{label:"送礼人ID-昵称",prop:"send_user"},{label:"房间ID-房间名称",prop:"room"},{label:"收礼人ID-昵称",prop:"gift_user"},{label:"礼物ID-礼物昵称",prop:"gift_name"},{label:"礼物单价(金币)",prop:"gift_price"},{label:"礼物数量",prop:"number"},{label:"礼物总价(金币)",prop:"total_price"},{label:"来源",prop:"type",cellRenderer:({row:o})=>V(H("el-tag"),{type:o.type===1?"success":""},{default:()=>[o.type===1?"金币购买":"背包礼物"]})},{label:"生成时间",prop:"createtime"}]),s=o=>w(this,null,function*(){t.value=!0,n.value=f({},o);const{data:l,code:v}=yield z(d(f({},o),{page:p.value.currentPage,page_limit:p.value.pageSize}));if(v){const h=[{label:`平台收益(${l.total.app_earning_ratio}%)钻石`,prop:"app_earning"},{label:`接收人收益(${l.total.receive_earning_ratio}%)钻石`,prop:"gift_user_earning"},{label:`房主收益(${l.total.room_owner_earning_ratio}%)钻石`,prop:"room_owner_earning"}],_=[{label:`平台收益(${l.total.app_earning_ratio}%)钻石`,prop:"app_earning"},{label:`接收人收益(${l.total.receive_earning_ratio}%)钻石`,prop:"receive_earning"},{label:`房主收益(${l.total.room_owner_earning_ratio}%)钻石`,prop:"room_owner_earning"}];u.value=[...u.value,..._],r.value.splice(7,0,...h),e.value=l.lists.map(c=>d(f({},c),{app_earning:parseFloat(c.app_earning),room_owner_earning:parseFloat(c.room_owner_earning),gift_user_earning:parseFloat(c.gift_user_earning)})),b.value=l.total,p.value.total=l.count,p.value.currentPage=l.page}t.value=!1}),R=o=>{p.value.pageSize=o,s(n.value)},E=o=>{p.value.currentPage=o,s(n.value)},S=i(null);return{searchForm:n,searchLabel:g,onSearch:s,isShow:a,tableList:e,tableLabel:r,pagination:p,totalData:b,statisticsList:u,exportExcel:()=>{let o=[];J({title:"导出数据",props:{formInline:{time:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>Q(T,{ref:S,formInline:null}),beforeSure:(l,{options:v})=>{const h=S.value.getRef(),_=v.props.formInline,c=m=>w(this,null,function*(){const{data:P,code:j}=yield z(d(f({},m),{send_user:n.value.send_user,gift_user:n.value.gift_user,from_id:n.value.from_id,gift_id:n.value.gift_id,from:n.value.from,page:1,page_limit:2e4}));if(j){o=P.lists;const x=o.map(y=>{const $=[];return r.value.forEach(q=>{$.push(y[q.prop])}),$}),D=[];r.value.forEach(y=>{D.push(y.label)}),x.unshift(D);const G=I.aoa_to_sheet(x),L=I.book_new();I.book_append_sheet(L,G,"数据报表"),O(L,`礼物记录列表统计${m.start_time} - ${m.end_time}.xlsx`),C("导出成功",{type:"success"}),l()}else C("获取数据失败,请重试!",{type:"error"})});h.validate(m=>{m&&_.time&&_.time.length&&c({start_time:_.time[0]||"",end_time:_.time[1]||""})})}})},handleSizeChange:R,handleCurrentChange:E,loading:t}}export{ae as useData}; diff --git a/dist/static/js/hook-_9wHMMzO.js b/dist/static/js/hook-_9wHMMzO.js new file mode 100644 index 0000000..f3eb268 --- /dev/null +++ b/dist/static/js/hook-_9wHMMzO.js @@ -0,0 +1 @@ +var L=Object.defineProperty,$=Object.defineProperties;var q=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable;var z=(t,e,a)=>e in t?L(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,h=(t,e)=>{for(var a in e||(e={}))F.call(e,a)&&z(t,a,e[a]);if(k)for(var a of k(e))K.call(e,a)&&z(t,a,e[a]);return t},R=(t,e)=>$(t,q(e));var p=(t,e,a)=>new Promise((d,f)=>{var s=o=>{try{i(a.next(o))}catch(g){f(g)}},b=o=>{try{i(a.throw(o))}catch(g){f(g)}},i=o=>o.done?d(o.value):Promise.resolve(o.value).then(s,b);i((a=a.apply(t,e)).next())});import{_ as M}from"./form.vue_vue_type_script_setup_true_lang-B5Zt0w7a.js";import{n as c,b as N,r as O,aK as V,ag as j,aA as u}from"./index-CRmU-Qpi.js";import{c as B,f as E,h as H,i as J}from"./activities-UkTzwAkp.js";function Z(){const t=c(),e=c(null),a=c(!0),d=c([]),f=c(!1),s=c({total:0,pageSize:10,currentPage:1,pageSizes:[10,20,50,100],background:!0}),b=c([{label:"ID",prop:"id"},{label:"礼物名称",prop:"name"},{label:"封面图",prop:"icon",cellRenderer:({row:n})=>N(O("el-image"),{fit:"cover","preview-teleported":!0,src:n.icon,"preview-src-list":Array.of(n.icon),class:"w-[50px] h-[50px] align-middle"},null)},{label:"数量",prop:"num"},{label:"价格",prop:"gold"},{label:"类型",prop:"type_str"},{label:"添加时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),i=n=>p(this,null,function*(){e.value=h({},n),a.value=!0;const{data:l,code:m}=yield B({gift_bag_id:e.value.id,page:s.value.currentPage,page_limit:s.value.pageSize});m&&(d.value=l.lists.map(v=>h({},v)),s.value.total=l.count,s.value.currentPage=l.page),a.value=!1});return{onSearch:i,isShow:f,tableList:d,tableLabel:b,pagination:s,handleSizeChange:n=>{s.value.pageSize=n,i(e.value)},handleCurrentChange:n=>{s.value.currentPage=n,i(e.value)},handleDelete:n=>p(this,null,function*(){const{code:l}=yield E({id:n.id});l&&(u(`您删除了名称为${n.name}的这条数据`,{type:"success"}),i(e.value))}),loading:a,openDialog:(n="新增",l)=>{var m,v,_,S;V({title:`${n}礼物`,props:{formInline:{type:(m=l==null?void 0:l.type)!=null?m:"",num:(v=l==null?void 0:l.num)!=null?v:"",gift_id:(_=l==null?void 0:l.gift_id)!=null?_:"",gift_bag_id:(S=e.value.id)!=null?S:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>j(M,{ref:t,formInline:null}),beforeSure:(C,{options:x})=>{const G=t.value.getRef(),P=x.props.formInline,I=r=>p(this,null,function*(){const{code:y}=yield H(r);y?(u("新增成功",{type:"success"}),i(e.value),C()):u("新增失败",{type:"error"})}),A=r=>p(this,null,function*(){const{code:y}=yield J(R(h({},r),{id:l.id}));y?(u("修改成功",{type:"success"}),i(e.value),C()):u("修改失败",{type:"error"})});G.validate(r=>{r&&(n==="新增"?I(P):A(P))})}})}}}export{Z as useData}; diff --git a/dist/static/js/hook-er-0LM8L.js b/dist/static/js/hook-er-0LM8L.js new file mode 100644 index 0000000..802f762 --- /dev/null +++ b/dist/static/js/hook-er-0LM8L.js @@ -0,0 +1 @@ +var A=Object.defineProperty,F=Object.defineProperties;var q=Object.getOwnPropertyDescriptors;var _=Object.getOwnPropertySymbols;var K=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var y=(t,e,a)=>e in t?A(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,c=(t,e)=>{for(var a in e||(e={}))K.call(e,a)&&y(t,a,e[a]);if(_)for(var a of _(e))N.call(e,a)&&y(t,a,e[a]);return t},g=(t,e)=>F(t,q(e));var m=(t,e,a)=>new Promise((b,n)=>{var p=r=>{try{u(a.next(r))}catch(o){n(o)}},f=r=>{try{u(a.throw(r))}catch(o){n(o)}},u=r=>r.done?b(r.value):Promise.resolve(r.value).then(p,f);u((a=a.apply(t,e)).next())});import{_ as O}from"./form.vue_vue_type_script_setup_true_lang-CjtOjwY0.js";import{n as i,b as S,r as x,aK as V,ag as $,aA as C}from"./index-CRmU-Qpi.js";import{a as j,b as B}from"./Inform-CWr9EIX8.js";function W(){const t=i(),e=i(!0),a=i([]),b=i(!1),n=i({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),p=i({user_id:"",search_type_id:"",report_type:"",search_status:""}),f=i([{label:"搜索用户ID",prop:"user_id",type:"input"},{label:"举报类型",prop:"report_type",type:"select",optionList:[{label:"用户",value:1},{label:"房间",value:2},{label:"动态",value:3}]},{label:"状态",prop:"search_status",type:"select",optionList:[{label:"待处理",value:1},{label:"已处理",value:2},{label:"已忽略",value:3}]}]),r=i([{type:"index",index:l=>l+1},{label:"用户ID",prop:"user_id"},{label:"举报人",prop:"nickname"},{label:"被举报对象",prop:"from_id_title"},{label:"举报类型",prop:"type_name"},{label:"举报内容",prop:"content"},{label:"图片",prop:"image",cellRenderer:({row:l})=>S(x("el-image"),{fit:"cover","preview-teleported":!0,src:l.image,"preview-src-list":Array.of(l.image),class:"w-[40px] h-[40px] align-middle"},null)},{label:"处理状态",prop:"status",cellRenderer:({row:l})=>S(x("el-tag"),{type:l.status===2?"success":l.status===1?"":"info"},{default:()=>[l.status===2?"已处理":l.status===1?"待处理":"已忽略"]})},{label:"处理内容",prop:"processing"},{label:"提交时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),o=l=>m(this,null,function*(){e.value=!0,p.value=c({},l);const{data:s,code:d}=yield j(g(c({},l),{page:n.value.currentPage,page_limit:n.value.pageSize}));d&&(a.value=s.lists,n.value.total=s.count,n.value.currentPage=s.page),e.value=!1});return{searchForm:p,searchLabel:f,onSearch:o,isShow:b,tableList:a,tableLabel:r,pagination:n,handleSizeChange:l=>{n.value.pageSize=l,o(p.value)},handleCurrentChange:l=>{n.value.currentPage=l,o(p.value)},loading:e,openDialog:(l="新增",s)=>{var d,h;V({title:`${l}举报`,props:{formInline:g(c({},s),{status:(d=s==null?void 0:s.status)!=null?d:"",processing:(h=s==null?void 0:s.processing)!=null?h:""})},width:"40%",closeOnClickModal:!1,contentRenderer:()=>$(O,{ref:t,formInline:null}),beforeSure:(R,{options:z})=>{const L=t.value.getRef(),I=z.props.formInline,P=v=>m(this,null,function*(){const{code:k,msg:M}=yield B(g(c({},v),{id:s.id}));k?(C("操作成功",{type:"success"}),o(p.value),R()):C(M,{type:"error"})});L.validate(v=>{v&&P(I)})}})}}}export{W as useData}; diff --git a/dist/static/js/hook-nxxl-JO8.js b/dist/static/js/hook-nxxl-JO8.js new file mode 100644 index 0000000..adfbb50 --- /dev/null +++ b/dist/static/js/hook-nxxl-JO8.js @@ -0,0 +1 @@ +var w=Object.defineProperty,S=Object.defineProperties;var b=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var I=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable;var d=(t,e,a)=>e in t?w(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,C=(t,e)=>{for(var a in e||(e={}))I.call(e,a)&&d(t,a,e[a]);if(m)for(var a of m(e))D.call(e,a)&&d(t,a,e[a]);return t},h=(t,e)=>S(t,b(e));var l=(t,e,a)=>new Promise((r,f)=>{var g=o=>{try{c(a.next(o))}catch(u){f(u)}},v=o=>{try{c(a.throw(o))}catch(u){f(u)}},c=o=>o.done?r(o.value):Promise.resolve(o.value).then(g,v);c((a=a.apply(t,e)).next())});import{n as i,fI as L,aA as k}from"./index-CRmU-Qpi.js";import{j as x,k as E,S as _}from"./system-CqYheEHE.js";function M(){i();const t=i({}),e=i(!0),a=i(0),r=i([]),f=i([]),g=i(!1),v=()=>l(this,null,function*(){e.value=!0;const{data:n,code:s}=yield x({});s&&(r.value=n,a.value=n[0].id,c(a.value)),e.value=!1}),c=n=>l(this,null,function*(){const{data:s,code:y}=yield E({type:n});y&&(f.value=y?s:[],s&&s.length&&s.forEach(p=>{t.value[p.key_title]=p.key_value}))});return{onSearch:v,isShow:g,tableList:r,loading:e,activeId:a,formLabel:f,formData:t,tabClick:n=>{const{name:s}=n.props;c(s)},saveConfig:()=>l(this,null,function*(){L.confirm("该操作将覆盖之前的数据,是否继续?","提示",{type:"warning"}).then(()=>l(this,null,function*(){const{code:n,msg:s}=yield _(h(C({},t.value),{type:a.value}));n?(k("操作成功",{type:"success"}),c(a.value)):k(s,{type:"error"})})).catch(()=>{})})}}export{M as useData}; diff --git a/dist/static/js/hook-rCjAVbXe.js b/dist/static/js/hook-rCjAVbXe.js new file mode 100644 index 0000000..20e11c4 --- /dev/null +++ b/dist/static/js/hook-rCjAVbXe.js @@ -0,0 +1 @@ +var q=Object.defineProperty,K=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var z=(t,e,o)=>e in t?q(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,f=(t,e)=>{for(var o in e||(e={}))T.call(e,o)&&z(t,o,e[o]);if(L)for(var o of L(e))V.call(e,o)&&z(t,o,e[o]);return t},g=(t,e)=>K(t,N(e));var _=(t,e,o)=>new Promise((p,b)=>{var r=l=>{try{n(o.next(l))}catch(u){b(u)}},c=l=>{try{n(o.throw(l))}catch(u){b(u)}},n=l=>l.done?p(l.value):Promise.resolve(l.value).then(r,c);n((o=o.apply(t,e)).next())});import{_ as G}from"./detail.vue_vue_type_script_setup_true_lang-DwYwyiLJ.js";import{n as i,b as H,r as J,aA as w,aK as M,ag as P}from"./index-CRmU-Qpi.js";import{d as E,e as Q}from"./room-3H8Bx0CI.js";import{u as y,w as U}from"./xlsx-DaVhO591.js";import{_ as W}from"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import"./demo-DDf_ewnH.js";function le(){const t=i(!0),e=i([]),o=i(!1),p=i({search_room_number:"",search_onwer_number:"",room_status:"",start_time:"",end_time:""}),b=i([{label:"房间号",prop:"search_room_number",type:"input"},{label:"房主",prop:"search_onwer_number",type:"input"},{label:"房间状态",prop:"room_status",type:"select",optionList:[{label:"正常",value:1},{label:"封禁",value:2},{label:"关闭",value:3}]},{label:"开始时间",prop:"start_time",type:"date"},{label:"结束时间",prop:"end_time",type:"date"}]),r=i({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),c=i([{label:"频道号",prop:"id"},{label:"房间号",prop:"room_number"},{label:"房主昵称",prop:"user_nickname"},{label:"观众ID",prop:"cp_user_id"},{label:"观众昵称",prop:"cp_nickname"},{label:"房间名称",prop:"room_name"},{label:"房间封面",prop:"room_cover",cellRenderer:({row:a})=>H(J("el-image"),{fit:"cover","preview-teleported":!0,src:a.room_cover,"preview-src-list":Array.of(a.room_cover),class:"w-[100px] h-[50px] align-middle"},null)},{label:"房主所属公会",prop:"user_guild"},{label:"在线状态",prop:"is_on_line_str"},{label:"状态",prop:"room_status_str"},{label:"房间总流水",prop:"liushui"},{label:"创建时间",prop:"createtime"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),n=a=>_(this,null,function*(){t.value=!0,p.value=f({},a);const{data:s,code:v}=yield E(g(f({},a),{page:r.value.currentPage,page_limit:r.value.pageSize}));v&&(e.value=s.lists,r.value.total=s.count,r.value.currentPage=+s.page),t.value=!1}),l=a=>{r.value.pageSize=a,n(p.value)},u=a=>{r.value.currentPage=a,n(p.value)},F=a=>_(this,null,function*(){const{code:s}=yield Q({room_id:a.id});s&&(w(`您封禁了房间名称为【${a.room_name}】的这条数据`,{type:"success"}),n(p.value))}),I=a=>_(this,null,function*(){M({title:"加入频道",props:{rowData:a},width:"60%",closeOnClickModal:!1,contentRenderer:()=>P(G),beforeSure:s=>{s()}})}),x=i(null);return{searchForm:p,searchLabel:b,onSearch:n,isShow:o,tableList:e,tableLabel:c,pagination:r,handleSizeChange:l,handleCurrentChange:u,loading:t,joinMovieRoom:I,handleBan:F,exportExcel:()=>{let a=[];M({title:"导出数据",props:{formInline:{time:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>P(W,{ref:x,formInline:null}),beforeSure:(s,{options:v})=>{const $=x.value.getRef(),d=v.props.formInline,A=m=>_(this,null,function*(){const{data:B,code:D}=yield E(g(f({},m),{page:1,page_limit:2e5}));if(D){a=B.lists;const S=a.map(h=>{const C=[];return c.value.forEach(j=>{C.push(h[j.prop])}),C}),k=[];c.value.forEach(h=>{k.push(h.label)}),S.unshift(k);const O=y.aoa_to_sheet(S),R=y.book_new();y.book_append_sheet(R,O,"数据报表"),U(R,`CP电影房统计${m.start_time} - ${m.end_time}.xlsx`),w("导出成功",{type:"success"}),s()}else w("获取数据失败,请重试!",{type:"error"})});$.validate(m=>{m&&d.time&&d.time.length&&A({start_time:d.time[0]||"",end_time:d.time[1]||""})})}})}}}export{le as useData}; diff --git a/dist/static/js/hook-sPkJBzMb.js b/dist/static/js/hook-sPkJBzMb.js new file mode 100644 index 0000000..a0b9149 --- /dev/null +++ b/dist/static/js/hook-sPkJBzMb.js @@ -0,0 +1 @@ +var _=Object.defineProperty,f=Object.defineProperties;var S=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var g=(l,e,a)=>e in l?_(l,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):l[e]=a,v=(l,e)=>{for(var a in e||(e={}))z.call(e,a)&&g(l,a,e[a]);if(m)for(var a of m(e))C.call(e,a)&&g(l,a,e[a]);return l},d=(l,e)=>f(l,S(e));var h=(l,e,a)=>new Promise((u,i)=>{var t=o=>{try{r(a.next(o))}catch(s){i(s)}},b=o=>{try{r(a.throw(o))}catch(s){i(s)}},r=o=>o.done?u(o.value):Promise.resolve(o.value).then(t,b);r((a=a.apply(l,e)).next())});import{v as D}from"./room-3H8Bx0CI.js";import{n as p}from"./index-CRmU-Qpi.js";function w(){const l=p(!0),e=p([]),a=p(!1),u=p({from_uid:"",room_id:"",to_id:"",type:"",stime:"",etime:""}),i=p([{label:"房间ID/昵称",prop:"room_id",type:"input"},{label:"操作者ID/昵称",prop:"from_uid",type:"input"},{label:"被操作者ID/昵称",prop:"to_id",type:"input"},{label:"操作类型",prop:"type",type:"select",optionList:[{label:"禁麦位",value:1},{label:"清空消息",value:2},{label:"清空魅力值",value:3},{label:"加入黑名单",value:4},{label:"踢出房间",value:5},{label:"关闭麦克风",value:6},{label:"申请上麦",value:7},{label:"同意上麦",value:8},{label:"拒绝上麦",value:9},{label:"点歌",value:10},{label:"开启PK",value:11}]},{label:"开始时间",prop:"stime",type:"date"},{label:"结束时间",prop:"etime",type:"date"}]),t=p({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),b=p([{label:"操作者ID/昵称",prop:"from_uname"},{label:"房间ID",prop:"room_name"},{label:"被操作者ID/昵称",prop:"to_uname"},{label:"操作类型",prop:"type_str"},{label:"操作时间",prop:"createtime"}]),r=n=>h(this,null,function*(){l.value=!0,u.value=v({},n);const{data:c,code:y}=yield D(d(v({},n),{page:t.value.currentPage,page_limit:t.value.pageSize}));y&&(e.value=c.lists,t.value.total=c.count,t.value.currentPage=c.page),l.value=!1});return{searchForm:u,searchLabel:i,onSearch:r,isShow:a,tableList:e,tableLabel:b,pagination:t,handleSizeChange:n=>{t.value.pageSize=n,r(u.value)},handleCurrentChange:n=>{t.value.currentPage=n,r(u.value)},loading:l}}export{w as useData}; diff --git a/dist/static/js/hook-uIZx5iE-.js b/dist/static/js/hook-uIZx5iE-.js new file mode 100644 index 0000000..e0e1850 --- /dev/null +++ b/dist/static/js/hook-uIZx5iE-.js @@ -0,0 +1 @@ +var v=Object.defineProperty;var g=Object.getOwnPropertySymbols;var m=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var b=(r,t,e)=>t in r?v(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e,s=(r,t)=>{for(var e in t||(t={}))m.call(t,e)&&b(r,e,t[e]);if(g)for(var e of g(t))S.call(t,e)&&b(r,e,t[e]);return r};var d=(r,t,e)=>new Promise((n,i)=>{var l=a=>{try{p(e.next(a))}catch(o){i(o)}},c=a=>{try{p(e.throw(a))}catch(o){i(o)}},p=a=>a.done?n(a.value):Promise.resolve(a.value).then(l,c);p((e=e.apply(r,t)).next())});import{a as f}from"./invite-ZPZpvkxZ.js";import{n as u}from"./index-CRmU-Qpi.js";function D(){const r=u(!0),t=u([]),e=u(!1),n=u({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),i=u([{label:"邀请列表ID",prop:"id"},{label:"邀请用户ID",prop:"user_id"},{label:"下级用户ID",prop:"sub_user_id"},{label:"邀请码",prop:"init_code"},{label:"创建时间",prop:"createtime"},{label:"邀请者昵称",prop:"parent_username"},{label:"下级用户昵称",prop:"username"}]),l=()=>d(this,null,function*(){r.value=!0;const{data:a,code:o}=yield f({page:n.value.currentPage,page_limit:n.value.pageSize});o&&(t.value=a.lists.map(h=>s(s({},h),a.total)),n.value.total=a.count,n.value.currentPage=a.page),r.value=!1});return{onSearch:l,isShow:e,tableList:t,tableLabel:i,pagination:n,handleSizeChange:a=>{n.value.pageSize=a,l()},handleCurrentChange:a=>{n.value.currentPage=a,l()},loading:r}}export{D as useData}; diff --git a/dist/static/js/hook-zL8rQorN.js b/dist/static/js/hook-zL8rQorN.js new file mode 100644 index 0000000..b970878 --- /dev/null +++ b/dist/static/js/hook-zL8rQorN.js @@ -0,0 +1 @@ +var T=Object.defineProperty,V=Object.defineProperties;var w=Object.getOwnPropertyDescriptors;var P=Object.getOwnPropertySymbols;var J=Object.prototype.hasOwnProperty,Q=Object.prototype.propertyIsEnumerable;var $=(r,t,s)=>t in r?T(r,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[t]=s,b=(r,t)=>{for(var s in t||(t={}))J.call(t,s)&&$(r,s,t[s]);if(P)for(var s of P(t))Q.call(t,s)&&$(r,s,t[s]);return r},S=(r,t)=>V(r,w(t));var v=(r,t,s)=>new Promise((x,d)=>{var u=n=>{try{l(s.next(n))}catch(c){d(c)}},k=n=>{try{l(s.throw(n))}catch(c){d(c)}},l=n=>n.done?x(n.value):Promise.resolve(n.value).then(u,k);l((s=s.apply(r,t)).next())});import{_ as U}from"./form.vue_vue_type_script_setup_true_lang-CczCLyB5.js";import{n as i,b as W,r as X,aK as B,ag as M,aA as f}from"./index-CRmU-Qpi.js";import{u as L,w as Y}from"./xlsx-DaVhO591.js";import{F as O,G as Z,H as D}from"./room-3H8Bx0CI.js";import{_ as ee}from"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";function ie(){const r=i(),t=i(!0),s=i([]),x=i(!1),d=i([]),u=i({search_user_id:"",search_guild_id:"",search_status_time:"",search_end_time:""}),k=i([{label:"用户ID",prop:"search_user_id",type:"input"},{label:"房间号",prop:"search_guild_id",type:"input"},{label:"开始时间",prop:"search_status_time",type:"date"},{label:"结束时间",prop:"search_end_time",type:"date"}]),l=i({total:0,pageSize:10,pageSizes:[10,20,50,100],currentPage:1,background:!0}),n=i([{type:"selection",align:"left"},{label:"用户账号ID",prop:"user_id"},{label:"用户昵称",prop:"user_name"},{label:"房间ID",prop:"room_code"},{label:"房间名称",prop:"room_name"},{label:"房间周流水(金币)",prop:"total_transaction"},{label:"房间周补贴(钻石)",prop:"subsidy_amount"},{label:"是否发放",prop:"status_str",cellRenderer:({row:e})=>W(X("el-tag"),{type:e.status===1?"success":e.status===2?"error":"info"},{default:()=>[e.status===1?"已发放":e.status===2?"已拒绝":"未发放"]})},{label:"时间",prop:"time"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),c=e=>v(this,null,function*(){t.value=!0,u.value=b({},e);const{data:a,code:o}=yield O(S(b({},e),{page:l.value.currentPage,page_limit:l.value.pageSize}));o&&(s.value=a.lists,l.value.total=a.count,l.value.currentPage=a.page),t.value=!1}),j=e=>{l.value.pageSize=e,c(u.value)},q=e=>{l.value.currentPage=e,c(u.value)},A=(e="审核",a)=>{var o,h;B({title:`${e}`,props:{formInline:{id:(o=a==null?void 0:a.id)!=null?o:"",status:"",remark:(h=a==null?void 0:a.remark)!=null?h:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>M(U,{ref:r,formInline:null}),beforeSure:(p,{options:g})=>{const m=r.value.getRef(),I=g.props.formInline,R=_=>v(this,null,function*(){const{code:y}=yield D(S(b({},_),{id:a.id}));y?(f("审核成功",{type:"success"}),c(u.value),p()):f("审核失败",{type:"error"})});m.validate(_=>{_&&e==="审核"&&R(I)})}})},G=e=>{d.value=e},H=()=>v(this,null,function*(){const e=d.value.map(o=>o.id),a=d.value.map(o=>o.status);if(a.length&&a.includes(1))f("内含已发放状态的数据,请重新勾选!",{type:"error"});else if(e.length){const o={ids:e.join(","),status:1,remark:""},{data:h,code:p,msg:g}=yield Z(o);p?(f("批量发放成功",{type:"success"}),c(u.value)):f(g,{type:"error"})}}),F=i(null);return{searchForm:u,searchLabel:k,onSearch:c,isShow:x,tableList:s,tableLabel:n,pagination:l,handleSizeChange:j,handleCurrentChange:q,loading:t,openDialog:A,exportExcel:()=>{let e=[];B({title:"导出数据",props:{formInline:{time:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>M(ee,{ref:F,formInline:null}),beforeSure:(a,{options:o})=>{const h=F.value.getRef(),p=o.props.formInline,g=m=>v(this,null,function*(){const{data:I,code:R}=yield O(S(b({},m),{page:1,page_limit:2e4}));if(R){e=I.lists;const _=e.map(C=>{const E=[];return n.value.forEach(N=>{E.push(C[N.prop])}),E}),y=[];n.value.forEach(C=>{y.push(C.label)}),_.unshift(y);const K=L.aoa_to_sheet(_),z=L.book_new();L.book_append_sheet(z,K,"数据报表"),Y(z,`房间补贴发放统计${m.search_status_time} - ${m.search_end_time}.xlsx`),f("导出成功",{type:"success"}),a()}else f("获取数据失败,请重试!",{type:"error"})});h.validate(m=>{m&&p.time&&p.time.length&&g({search_status_time:p.time[0]||"",search_end_time:p.time[1]||""})})}})},handleSelectionChange:G,multipleSelection:d,batchDistribution:H}}export{ie as useData}; diff --git a/dist/static/js/hooks-ItYVRz1P.js b/dist/static/js/hooks-ItYVRz1P.js new file mode 100644 index 0000000..30a7cff --- /dev/null +++ b/dist/static/js/hooks-ItYVRz1P.js @@ -0,0 +1 @@ +var d=Object.defineProperty;var u=Object.getOwnPropertySymbols;var i=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;var c=(e,n,f)=>n in e?d(e,n,{enumerable:!0,configurable:!0,writable:!0,value:f}):e[n]=f,t=(e,n)=>{for(var f in n||(n={}))i.call(n,f)&&c(e,f,n[f]);if(u)for(var f of u(n))m.call(n,f)&&c(e,f,n[f]);return e};import{d as s,ag as o,aL as p,aM as l,aN as y}from"./index-CRmU-Qpi.js";function x(e,n){const f=/^IF-/;if(f.test(e)){const r=e.split(f)[1],I=r.slice(0,r.indexOf(" ")==-1?r.length:r.indexOf(" ")),a=r.slice(r.indexOf(" ")+1,r.length);return s({name:"FontIcon",render(){return o(p,t({icon:I,iconType:a},n))}})}else return typeof e=="function"||typeof(e==null?void 0:e.render)=="function"?n?o(e,t({},n)):e:typeof e=="object"?s({name:"OfflineIcon",render(){return o(l,t({icon:e},n))}}):s({name:"Icon",render(){const r=e&&e.includes(":")?y:l;return o(r,t({icon:e},n))}})}export{x as u}; diff --git a/dist/static/js/index-2Igmpvq2.js b/dist/static/js/index-2Igmpvq2.js new file mode 100644 index 0000000..ce97da8 --- /dev/null +++ b/dist/static/js/index-2Igmpvq2.js @@ -0,0 +1 @@ +var D=Object.defineProperty,R=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var p=(t,a,o)=>a in t?D(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,d=(t,a)=>{for(var o in a||(a={}))N.call(a,o)&&p(t,o,a[o]);if(m)for(var o of m(a))V.call(a,o)&&p(t,o,a[o]);return t},u=(t,a)=>R(t,z(a));import{useData as T}from"./hook-D3ivzqp-.js";import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as H}from"./index-CnAi1QxJ.js";import{d as $,x as F,r as f,o as h,c as M,b as r,u as e,e as O,h as s,g as U,f as j,U as q,R as g,a8 as _}from"./index-CRmU-Qpi.js";import"./form.vue_vue_type_script_setup_true_lang-CjBoEdbv.js";import"./room-3H8Bx0CI.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const A={class:"main"},ne=$({name:"roomExamine",__name:"index",setup(t){const{searchLabel:a,searchForm:o,onSearch:n,isShow:C,tableList:b,pagination:v,tableLabel:x,handleSizeChange:k,handleCurrentChange:w,handleDelete:G,loading:y,openDialog:L}=T();return F(()=>{n(o.value)}),(I,i)=>{const S=f("el-button"),B=f("pure-table");return h(),M("div",A,[r(E,{class:"pb-2",LabelList:e(a),formData:e(o),onHandleSearch:e(n)},null,8,["LabelList","formData","onHandleSearch"]),O("div",{ref:"contentRef",class:g(["flex",e(_)()?"flex-wrap":""])},[r(e(H),{title:"房间审核列表",class:g([e(C)&&!e(_)()?"!w-[60vw]":"w-full"]),columns:e(x),onRefresh:e(n)},{default:s(({size:l,dynamicColumns:P})=>[r(B,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(y),size:l,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(b),columns:P,pagination:u(d({},e(v)),{size:l}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(w),onPageSizeChange:e(k)},{operation:s(({row:c})=>[c.apply_status===1?(h(),U(S,{key:0,link:"",type:"primary",size:l,onClick:J=>e(L)("审核",c)},{default:s(()=>i[0]||(i[0]=[j(" 审核 ")])),_:2},1032,["size","onClick"])):q("",!0)]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{ne as default}; diff --git a/dist/static/js/index-5Qt-ItvN.js b/dist/static/js/index-5Qt-ItvN.js new file mode 100644 index 0000000..d929df7 --- /dev/null +++ b/dist/static/js/index-5Qt-ItvN.js @@ -0,0 +1 @@ +var B=Object.defineProperty,R=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var m=(t,a,o)=>a in t?B(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,p=(t,a)=>{for(var o in a||(a={}))D.call(a,o)&&m(t,o,a[o]);if(c)for(var o of c(a))H.call(a,o)&&m(t,o,a[o]);return t},f=(t,a)=>R(t,z(a));import{useData as N}from"./hook-C5HQCPQw.js";import{_ as T}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as V}from"./index-CnAi1QxJ.js";import{d as $,x as E,r as u,o as F,c as M,b as n,u as e,e as O,h as s,f as j,R as d,a8 as g}from"./index-CRmU-Qpi.js";import"./form.vue_vue_type_script_setup_true_lang-BiFHMt8F.js";import"./admin-QtfaJQYK.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const q={class:"main"},ae=$({name:"grabHeadlines",__name:"index",setup(t){const{searchLabel:a,searchForm:o,onSearch:r,isShow:h,tableList:_,pagination:b,tableLabel:C,handleSizeChange:v,handleCurrentChange:x,openDialog:w,loading:L}=N();return E(()=>{r(o.value)}),(A,i)=>{const S=u("el-button"),k=u("pure-table");return F(),M("div",q,[n(T,{LabelList:e(a),formData:e(o),onHandleSearch:e(r)},null,8,["LabelList","formData","onHandleSearch"]),O("div",{ref:"contentRef",class:d(["flex",e(g)()?"flex-wrap":""])},[n(e(V),{title:"操作日志列表",class:d([e(h)&&!e(g)()?"!w-[60vw]":"w-full"]),columns:e(C),onRefresh:e(r)},{default:s(({size:l,dynamicColumns:P})=>[n(k,{ref:"tableRef",showOverflowTooltip:"","table-layout":"auto",loading:e(L),size:l,adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(_),columns:P,pagination:f(p({},e(b)),{size:l}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageSizeChange:e(v),onPageCurrentChange:e(x)},{operation:s(({row:y})=>[n(S,{link:"",type:"primary",size:l,onClick:G=>e(w)("查看",y)},{default:s(()=>i[0]||(i[0]=[j(" 查看详情 ")])),_:2},1032,["size","onClick"])]),_:2},1032,["loading","size","data","columns","pagination","onPageSizeChange","onPageCurrentChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{ae as default}; diff --git a/dist/static/js/index-An8nOBwL.js b/dist/static/js/index-An8nOBwL.js new file mode 100644 index 0000000..d417f8a --- /dev/null +++ b/dist/static/js/index-An8nOBwL.js @@ -0,0 +1 @@ +import{d as T,n as h,x as B,r as f,o as n,g as H,h as _,c,e as i,b as g,R as w,u as r,fG as E,fH as I,aA as d,_ as M}from"./index-CRmU-Qpi.js";const U={width:1024,height:1024,body:''},b={width:24,height:24,body:''},z={key:0,class:"mt-[35%] m-auto"},S={key:1},O=["src"],R=["src"],Z=["onClick"],$={title:"移除",class:"hover:text-[var(--el-color-danger)]"},j=T({name:"upload",__name:"index",props:["echoUrl","limit","acceptType"],emits:["handleSuccess"],setup(l,{emit:y}){const o=h([]);h(0),h(!1);const u=l,v=y;B(()=>{setTimeout(()=>{if(u.echoUrl){const a=u.echoUrl.split(",").map(e=>({name:"",url:e}));o.value=a}},500)});const x=()=>{d("最多上传1张图片,请先删除在上传")},k=a=>{if(u.acceptType){if(a.size/1024/1024>20)return d("单个大小不能超过20MB"),!1}else{if(!["image/jpeg","image/png","image/gif"].includes(a.type))return d("只能上传图片"),!1;if(a.size/1024/1024>2)return d("单个图片大小不能超过2MB"),!1}},V=a=>{o.value.splice(o.value.indexOf(a),1)},C=({data:a,code:e},p,t)=>{e?(t.value=t.map(m=>m.response.data.url),v("handleSuccess",t.value)):(t.value=[],v("handleSuccess",t.value))};return(a,e)=>{const p=f("IconifyIconOffline"),t=f("el-progress"),m=f("el-upload");return n(),H(m,{"file-list":o.value,"onUpdate:fileList":e[0]||(e[0]=s=>o.value=s),drag:"",multiple:"",class:"pure-upload","list-type":"picture-card",accept:l.acceptType?l.acceptType:"image/jpeg,image/png,image/gif",action:`${r(E)}/adminapi/UploadFile/file_upload`,limit:l.limit,name:"files",headers:{Authorization:r(I)().accessToken},"on-exceed":x,"before-upload":k,"on-success":C},{file:_(({file:s})=>[s.status=="ready"||s.status=="uploading"?(n(),c("div",z,[e[1]||(e[1]=i("p",{class:"font-medium"},"文件上传中",-1)),g(t,{class:"mt-2","stroke-width":2,"text-inside":!0,"show-text":!1,percentage:s.percentage},null,8,["percentage"])])):(n(),c("div",S,[l.acceptType!==".mp4"?(n(),c("img",{key:0,class:"el-upload-list__item-thumbnail select-none",src:s.url},null,8,O)):(n(),c("video",{key:1,src:s.url,autoplay:""},null,8,R)),i("span",{id:"pure-upload-item",class:w(["el-upload-list__item-actions",o.value.length>1&&"!cursor-move"])},[i("span",{class:"el-upload-list__item-delete",onClick:A=>V(s)},[i("span",$,[g(p,{icon:r(b),class:"hover:scale-125 duration-100"},null,8,["icon"])])],8,Z)],2)]))]),default:_(()=>[g(p,{icon:r(U),class:"m-auto mt-4",width:"30"},null,8,["icon"])]),_:1},8,["file-list","accept","action","limit","headers"])}}}),N=M(j,[["__scopeId","data-v-f9312515"]]);export{N as u}; diff --git a/dist/static/js/index-B0Qbphhm.js b/dist/static/js/index-B0Qbphhm.js new file mode 100644 index 0000000..e61524f --- /dev/null +++ b/dist/static/js/index-B0Qbphhm.js @@ -0,0 +1 @@ +var P=Object.defineProperty,R=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable;var m=(t,a,o)=>a in t?P(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,p=(t,a)=>{for(var o in a||(a={}))z.call(a,o)&&m(t,o,a[o]);if(c)for(var o of c(a))D.call(a,o)&&m(t,o,a[o]);return t},u=(t,a)=>R(t,B(a));import{useData as N}from"./hook-DSIZoIz5.js";import{_ as T}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as V}from"./index-CnAi1QxJ.js";import{d as E,x as H,r as f,o as F,c as M,b as n,u as e,e as O,h as r,f as $,R as d,a8 as h}from"./index-CRmU-Qpi.js";import"./xlsx-DaVhO591.js";import"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import"./Financial-DLXohchJ.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const j={class:"main"},ee=E({name:"Recharge",__name:"index",setup(t){const{searchLabel:a,searchForm:o,onSearch:l,isShow:g,tableList:_,pagination:b,tableLabel:C,exportExcel:x,handleSizeChange:v,handleCurrentChange:w,loading:L}=N();return H(()=>{l(o.value)}),(q,s)=>{const S=f("el-button"),k=f("pure-table");return F(),M("div",j,[n(T,{class:"pb-2",LabelList:e(a),formData:e(o),onHandleSearch:e(l)},null,8,["LabelList","formData","onHandleSearch"]),O("div",{ref:"contentRef",class:d(["flex",e(h)()?"flex-wrap":""])},[n(e(V),{title:"兑换列表",class:d([e(g)&&!e(h)()?"!w-[60vw]":"w-full"]),columns:e(C),onRefresh:e(l)},{buttons:r(()=>[n(S,{type:"primary",onClick:e(x)},{default:r(()=>s[0]||(s[0]=[$(" 导出 ")])),_:1},8,["onClick"])]),default:r(({size:i,dynamicColumns:y})=>[n(k,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(L),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(_),columns:y,pagination:u(p({},e(b)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(w),onPageSizeChange:e(v)},null,8,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{ee as default}; diff --git a/dist/static/js/index-B1izZtpc.js b/dist/static/js/index-B1izZtpc.js new file mode 100644 index 0000000..3e154cb --- /dev/null +++ b/dist/static/js/index-B1izZtpc.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-7qz1dg5T.js";import"./statistics-B6YG3tm9.js";import"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import"./hooks-ItYVRz1P.js";import"./index-CRmU-Qpi.js";import"./blindBox-BqHhL4EW.js";import"./room-3H8Bx0CI.js";import"./Results-CDWDzDys.js";export{o as default}; diff --git a/dist/static/js/index-B2f9qT3k.js b/dist/static/js/index-B2f9qT3k.js new file mode 100644 index 0000000..6e901dc --- /dev/null +++ b/dist/static/js/index-B2f9qT3k.js @@ -0,0 +1 @@ +var D=Object.defineProperty,N=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var u=(t,a,o)=>a in t?D(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,d=(t,a)=>{for(var o in a||(a={}))T.call(a,o)&&u(t,o,a[o]);if(p)for(var o of p(a))E.call(a,o)&&u(t,o,a[o]);return t},f=(t,a)=>N(t,V(a));import{useData as H}from"./hook-D1E4JEIG.js";import{_ as $}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as F}from"./index-CnAi1QxJ.js";import{d as M,x as O,r as g,o as h,c as U,b as r,u as e,e as j,h as n,f as C,g as q,U as A,R as _,a8 as b}from"./index-CRmU-Qpi.js";import"./form.vue_vue_type_script_setup_true_lang-Cbivz3Ba.js";import"./xlsx-DaVhO591.js";import"./room-3H8Bx0CI.js";import"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const G={class:"main"},re=M({name:"roomSubsidy",__name:"index",setup(t){const{searchLabel:a,searchForm:o,onSearch:s,isShow:x,exportExcel:k,tableList:v,pagination:y,tableLabel:w,handleSizeChange:S,handleCurrentChange:L,loading:B,openDialog:P}=H();return O(()=>{s(o.value)}),(I,l)=>{const c=g("el-button"),R=g("pure-table");return h(),U("div",G,[r($,{class:"pb-2",LabelList:e(a),formData:e(o),onHandleSearch:e(s)},null,8,["LabelList","formData","onHandleSearch"]),j("div",{ref:"contentRef",class:_(["flex",e(b)()?"flex-wrap":""])},[r(e(F),{title:"房间红包发放",class:_([e(x)&&!e(b)()?"!w-[60vw]":"w-full"]),columns:e(w),onRefresh:e(s)},{buttons:n(()=>[r(c,{type:"primary",onClick:e(k)},{default:n(()=>l[0]||(l[0]=[C("导出")])),_:1},8,["onClick"])]),default:n(({size:i,dynamicColumns:z})=>[r(R,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(B),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(v),columns:z,pagination:f(d({},e(y)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(L),onPageSizeChange:e(S)},{operation:n(({row:m})=>[m.status!==0?(h(),q(c,{key:0,link:"",type:"primary",size:i,onClick:J=>e(P)("查看领取详情",m)},{default:n(()=>l[1]||(l[1]=[C(" 查看领取详情 ")])),_:2},1032,["size","onClick"])):A("",!0)]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{re as default}; diff --git a/dist/static/js/index-B2gtU51f.js b/dist/static/js/index-B2gtU51f.js new file mode 100644 index 0000000..727d594 --- /dev/null +++ b/dist/static/js/index-B2gtU51f.js @@ -0,0 +1 @@ +var x=Object.defineProperty,L=Object.defineProperties;var S=Object.getOwnPropertyDescriptors;var s=Object.getOwnPropertySymbols;var P=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var i=(n,e,o)=>e in n?x(n,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[e]=o,c=(n,e)=>{for(var o in e||(e={}))P.call(e,o)&&i(n,o,e[o]);if(s)for(var o of s(e))B.call(e,o)&&i(n,o,e[o]);return n},m=(n,e)=>L(n,S(e));import{useData as R}from"./hook-sPkJBzMb.js";import{_ as k}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as y}from"./index-CnAi1QxJ.js";import{d as z,x as D,r as H,o as N,c as T,b as l,u as a,e as V,h as E,R as f,a8 as p}from"./index-CRmU-Qpi.js";import"./room-3H8Bx0CI.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const F={class:"main"},U=z({name:"roomLog",__name:"index",setup(n){const{searchLabel:e,searchForm:o,onSearch:t,isShow:d,tableList:u,pagination:h,tableLabel:g,handleSizeChange:_,handleCurrentChange:b,loading:C}=R();return D(()=>{t(o.value)}),(M,O)=>{const v=H("pure-table");return N(),T("div",F,[l(k,{class:"pb-2",LabelList:a(e),formData:a(o),onHandleSearch:a(t)},null,8,["LabelList","formData","onHandleSearch"]),V("div",{ref:"contentRef",class:f(["flex",a(p)()?"flex-wrap":""])},[l(a(y),{title:"房间操作日志",class:f([a(d)&&!a(p)()?"!w-[60vw]":"w-full"]),columns:a(g),onRefresh:a(t)},{default:E(({size:r,dynamicColumns:w})=>[l(v,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:a(C),size:r,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:a(u),columns:w,pagination:m(c({},a(h)),{size:r}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:a(b),onPageSizeChange:a(_)},null,8,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{U as default}; diff --git a/dist/static/js/index-B2uAanJe.js b/dist/static/js/index-B2uAanJe.js new file mode 100644 index 0000000..31ba33e --- /dev/null +++ b/dist/static/js/index-B2uAanJe.js @@ -0,0 +1 @@ +var T=Object.defineProperty,V=Object.defineProperties;var E=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var f=(o,a,t)=>a in o?T(o,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[a]=t,_=(o,a)=>{for(var t in a||(a={}))F.call(a,t)&&f(o,t,a[t]);if(m)for(var t of m(a))H.call(a,t)&&f(o,t,a[t]);return o},h=(o,a)=>V(o,E(a));import{useData as I}from"./hook-BKhR1TsM.js";import{_ as M}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as O}from"./index-CnAi1QxJ.js";import{d as Q,x as $,r,o as i,c,e as g,P as j,Q as q,b as s,u as e,h as p,f as A,R as b,a8 as x,_ as G}from"./index-CRmU-Qpi.js";import"./xlsx-DaVhO591.js";import"./Financial-DLXohchJ.js";import"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const J={class:"main"},K={class:"content"},U={class:"box"},W=Q({name:"Recharge",__name:"index",setup(o){const{searchLabel:a,searchForm:t,onSearch:l,isShow:C,tableList:v,pagination:w,tableLabel:L,handleSizeChange:P,handleCurrentChange:S,loading:k,exportExcel:y,statisticsList:R,statisticsData:B}=I();return $(()=>{l(t.value)}),(X,d)=>{const z=r("el-statistic"),D=r("el-button"),N=r("pure-table");return i(),c("div",J,[g("div",K,[(i(!0),c(j,null,q(e(R),(n,u)=>(i(),c("div",U,[s(z,{"group-separator":",",precision:2,value:e(B)[n.prop],title:n.label},null,8,["value","title"])]))),256))]),s(M,{class:"pb-2",LabelList:e(a),formData:e(t),onHandleSearch:e(l)},null,8,["LabelList","formData","onHandleSearch"]),g("div",{ref:"contentRef",class:b(["flex",e(x)()?"flex-wrap":""])},[s(e(O),{title:"后台充值列表",class:b([e(C)&&!e(x)()?"!w-[60vw]":"w-full"]),columns:e(L),onRefresh:e(l)},{buttons:p(()=>[s(D,{type:"primary",onClick:e(y)},{default:p(()=>d[0]||(d[0]=[A(" 导出 ")])),_:1},8,["onClick"])]),default:p(({size:n,dynamicColumns:u})=>[s(N,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(k),size:n,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(v),columns:u,pagination:h(_({},e(w)),{size:n}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(S),onPageSizeChange:e(P)},null,8,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}}),ce=G(W,[["__scopeId","data-v-13df6efe"]]);export{ce as default}; diff --git a/dist/static/js/index-B3d3Ju_m.js b/dist/static/js/index-B3d3Ju_m.js new file mode 100644 index 0000000..7985e41 --- /dev/null +++ b/dist/static/js/index-B3d3Ju_m.js @@ -0,0 +1 @@ +var T=Object.defineProperty,$=Object.defineProperties;var E=Object.getOwnPropertyDescriptors;var d=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var u=(t,o,a)=>o in t?T(t,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[o]=a,_=(t,o)=>{for(var a in o||(o={}))H.call(o,a)&&u(t,a,o[a]);if(d)for(var a of d(o))M.call(o,a)&&u(t,a,o[a]);return t},C=(t,o)=>$(t,E(o));import{useData as j}from"./hook-rCjAVbXe.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as O}from"./index-CnAi1QxJ.js";import{d as U,x as q,r as c,o as g,c as A,b as l,u as e,e as G,h as n,f,g as I,U as J,R as h,a8 as b}from"./index-CRmU-Qpi.js";import"./detail.vue_vue_type_script_setup_true_lang-DwYwyiLJ.js";import"./room-3H8Bx0CI.js";import"./demo-DDf_ewnH.js";import"./xlsx-DaVhO591.js";import"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const K={class:"main"},me=U({name:"movieRoom",__name:"index",setup(t){const{searchLabel:o,searchForm:a,onSearch:s,isShow:v,tableList:k,pagination:x,tableLabel:y,exportExcel:w,handleSizeChange:B,handleCurrentChange:L,handleBan:R,joinMovieRoom:S,loading:P}=j();return q(()=>{s(a.value)}),(Q,r)=>{const m=c("el-button"),z=c("el-popconfirm"),N=c("pure-table");return g(),A("div",K,[l(F,{class:"pb-2",LabelList:e(o),formData:e(a),onHandleSearch:e(s)},null,8,["LabelList","formData","onHandleSearch"]),G("div",{ref:"contentRef",class:h(["flex",e(b)()?"flex-wrap":""])},[l(e(O),{title:"Cp电影房列表",class:h([e(v)&&!e(b)()?"!w-[60vw]":"w-full"]),columns:e(y),onRefresh:e(s)},{buttons:n(()=>[l(m,{type:"primary",onClick:e(w)},{default:n(()=>r[0]||(r[0]=[f(" 导出 ")])),_:1},8,["onClick"])]),default:n(({size:i,dynamicColumns:V})=>[l(N,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(P),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(k),columns:V,pagination:C(_({},e(x)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(L),onPageSizeChange:e(B)},{operation:n(({row:p})=>[l(z,{title:"是否确认封禁当前房间",onConfirm:D=>e(R)(p)},{reference:n(()=>[l(m,{link:"",type:"primary",size:i},{default:n(()=>r[1]||(r[1]=[f(" 封禁 ")])),_:2},1032,["size"])]),_:2},1032,["onConfirm"]),p.is_on_line?(g(),I(m,{key:0,link:"",type:"primary",size:i,onClick:D=>e(S)(p)},{default:n(()=>r[2]||(r[2]=[f(" 加入频道 ")])),_:2},1032,["size","onClick"])):J("",!0)]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{me as default}; diff --git a/dist/static/js/index-B4RoZEnG.js b/dist/static/js/index-B4RoZEnG.js new file mode 100644 index 0000000..4bd14e0 --- /dev/null +++ b/dist/static/js/index-B4RoZEnG.js @@ -0,0 +1 @@ +var $=Object.defineProperty,N=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var g=(n,o,a)=>o in n?$(n,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[o]=a,_=(n,o)=>{for(var a in o||(o={}))V.call(o,a)&&g(n,a,o[a]);if(u)for(var a of u(o))H.call(o,a)&&g(n,a,o[a]);return n},C=(n,o)=>N(n,T(o));import{useData as E}from"./hook-B3EaNBmR.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as I}from"./index-CnAi1QxJ.js";import{d as M,x as O,r as p,o as j,c as q,b as r,u as e,e as A,h as l,f,R as b,a8 as h}from"./index-CRmU-Qpi.js";import{u as G}from"./hooks-ItYVRz1P.js";import{d as J}from"./add-circle-line-DOJqVT3s.js";import"./form.vue_vue_type_script_setup_true_lang-pYH7w3wd.js";import"./index-An8nOBwL.js";import"./room-3H8Bx0CI.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const K={class:"main"},ie=M({name:"roomBackground",__name:"index",setup(n){const{searchLabel:o,searchForm:a,onSearch:s,isShow:v,tableList:k,pagination:x,tableLabel:y,handleSizeChange:w,handleCurrentChange:L,handleDelete:S,loading:B,openDialog:c}=E();return O(()=>{s(a.value)}),(Q,t)=>{const m=p("el-button"),P=p("el-popconfirm"),R=p("pure-table");return j(),q("div",K,[r(F,{class:"pb-2",LabelList:e(o),formData:e(a),onHandleSearch:e(s)},null,8,["LabelList","formData","onHandleSearch"]),A("div",{ref:"contentRef",class:b(["flex",e(h)()?"flex-wrap":""])},[r(e(I),{title:"房间背景列表",class:b([e(v)&&!e(h)()?"!w-[60vw]":"w-full"]),columns:e(y),onRefresh:e(s)},{buttons:l(()=>[r(m,{type:"primary",icon:e(G)(e(J)),onClick:t[0]||(t[0]=i=>e(c)("新增",{}))},{default:l(()=>t[1]||(t[1]=[f(" 新增背景 ")])),_:1},8,["icon"])]),default:l(({size:i,dynamicColumns:D})=>[r(R,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(B),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(k),columns:D,pagination:C(_({},e(x)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(L),onPageSizeChange:e(w)},{operation:l(({row:d})=>[r(m,{link:"",type:"primary",size:i,onClick:z=>e(c)("编辑",d)},{default:l(()=>t[2]||(t[2]=[f(" 编辑 ")])),_:2},1032,["size","onClick"]),r(P,{title:"是否确认删除这条数据",onConfirm:z=>e(S)(d)},{reference:l(()=>[r(m,{link:"",type:"primary",size:i},{default:l(()=>t[3]||(t[3]=[f(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{ie as default}; diff --git a/dist/static/js/index-B9NwEcnj.js b/dist/static/js/index-B9NwEcnj.js new file mode 100644 index 0000000..7f9b4da --- /dev/null +++ b/dist/static/js/index-B9NwEcnj.js @@ -0,0 +1 @@ +var N=Object.defineProperty,T=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var g=(n,o,a)=>o in n?N(n,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[o]=a,C=(n,o)=>{for(var a in o||(o={}))$.call(o,a)&&g(n,a,o[a]);if(c)for(var a of c(o))E.call(o,a)&&g(n,a,o[a]);return n},_=(n,o)=>T(n,V(o));import{useData as F}from"./hook-DIGAn0FT.js";import{P as G}from"./index-CnAi1QxJ.js";import{d as I,x as M,r as p,o as O,c as j,e as q,b as l,h as r,u as e,f as m,R as h,a8 as b}from"./index-CRmU-Qpi.js";import{u as A}from"./hooks-ItYVRz1P.js";import{d as H}from"./add-circle-line-DOJqVT3s.js";import"./form.vue_vue_type_script_setup_true_lang-CeQi_z5K.js";import"./index-An8nOBwL.js";import"./level-CSC0PShd.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const J={class:"main"},re=I({name:"charmGrade",__name:"index",setup(n){const{searchLabel:o,searchForm:a,onSearch:f,isShow:v,tableList:x,pagination:y,tableLabel:k,handleSizeChange:w,handleCurrentChange:P,handleDelete:R,loading:B,openDialog:d}=F();return M(()=>{f(a.value)}),(K,t)=>{const s=p("el-button"),S=p("el-popconfirm"),z=p("pure-table");return O(),j("div",J,[q("div",{ref:"contentRef",class:h(["flex",e(b)()?"flex-wrap":""])},[l(e(G),{title:"魅力等级列表",class:h([e(v)&&!e(b)()?"!w-[60vw]":"w-full"]),columns:e(k),onRefresh:e(f)},{buttons:r(()=>[l(s,{type:"primary",icon:e(A)(e(H)),onClick:t[0]||(t[0]=i=>e(d)("新增",{}))},{default:r(()=>t[1]||(t[1]=[m(" 新增魅力等级 ")])),_:1},8,["icon"])]),default:r(({size:i,dynamicColumns:D})=>[l(z,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(B),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(x),columns:D,pagination:_(C({},e(y)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(P),onPageSizeChange:e(w)},{operation:r(({row:u})=>[l(s,{link:"",type:"primary",size:i,onClick:L=>e(d)("编辑",u)},{default:r(()=>t[2]||(t[2]=[m(" 编辑 ")])),_:2},1032,["size","onClick"]),l(S,{title:"是否确认删除这条数据",onConfirm:L=>e(R)(u)},{reference:r(()=>[l(s,{link:"",type:"primary",size:i},{default:r(()=>t[3]||(t[3]=[m(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{re as default}; diff --git a/dist/static/js/index-BBYzeYsu.js b/dist/static/js/index-BBYzeYsu.js new file mode 100644 index 0000000..d9bf55c --- /dev/null +++ b/dist/static/js/index-BBYzeYsu.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-BmT-iFMK.js";import"./hook-DB082g8o.js";import"./form.vue_vue_type_script_setup_true_lang-Bbwf4kUJ.js";import"./activities-UkTzwAkp.js";import"./index-CRmU-Qpi.js";import"./index-CnAi1QxJ.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";export{o as default}; diff --git a/dist/static/js/index-BBgU3-d3.js b/dist/static/js/index-BBgU3-d3.js new file mode 100644 index 0000000..dd10b6d --- /dev/null +++ b/dist/static/js/index-BBgU3-d3.js @@ -0,0 +1 @@ +var L=Object.defineProperty,N=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var C=(a,o,t)=>o in a?L(a,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[o]=t,g=(a,o)=>{for(var t in o||(o={}))V.call(o,t)&&C(a,t,o[t]);if(c)for(var t of c(o))E.call(o,t)&&C(a,t,o[t]);return a},k=(a,o)=>N(a,T(o));import{useData as G}from"./hook-D_OHMuaj.js";import{P as I}from"./index-CnAi1QxJ.js";import{d as M,x as O,r as f,o as j,c as q,e as A,b as l,h as r,u as e,f as p,R as _,a8 as b}from"./index-CRmU-Qpi.js";import{u as F}from"./hooks-ItYVRz1P.js";import{d as H}from"./add-circle-line-DOJqVT3s.js";import"./form.vue_vue_type_script_setup_true_lang-DBByDkeo.js";import"./record.vue_vue_type_script_setup_true_lang-CPIKwi6k.js";import"./activities-UkTzwAkp.js";import"./index.vue_vue_type_script_setup_true_lang-1k8ze5BO.js";import"./hook-_9wHMMzO.js";import"./form.vue_vue_type_script_setup_true_lang-B5Zt0w7a.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const J={class:"main"},se=M({name:"RechargeList",__name:"index",setup(a){const{DistributionRecord:o,onSearch:t,isShow:y,tableList:v,pagination:h,tableLabel:x,handleSizeChange:w,handleCurrentChange:R,handleDelete:P,loading:B,openGiftPark:S,openDialog:d}=G();return O(()=>{t()}),(K,n)=>{const s=f("el-button"),z=f("el-popconfirm"),D=f("pure-table");return j(),q("div",J,[A("div",{ref:"contentRef",class:_(["flex",e(b)()?"flex-wrap":""])},[l(e(I),{title:"首充列表",class:_([e(y)&&!e(b)()?"!w-[60vw]":"w-full"]),columns:e(x),onRefresh:e(t)},{buttons:r(()=>[l(s,{link:"",type:"primary",onClick:e(o)},{default:r(()=>n[1]||(n[1]=[p(" 发放记录 ")])),_:1},8,["onClick"]),l(s,{type:"primary",icon:e(F)(e(H)),onClick:n[0]||(n[0]=i=>e(d)("新增",{}))},{default:r(()=>n[2]||(n[2]=[p(" 新增首充类型 ")])),_:1},8,["icon"])]),default:r(({size:i,dynamicColumns:$})=>[l(D,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(B),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(v),columns:$,pagination:k(g({},e(h)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(R),onPageSizeChange:e(w)},{operation:r(({row:m})=>[l(s,{link:"",type:"primary",size:i,onClick:u=>e(S)(m)},{default:r(()=>n[3]||(n[3]=[p(" 查看礼包列表 ")])),_:2},1032,["size","onClick"]),l(s,{link:"",type:"primary",size:i,onClick:u=>e(d)("编辑",m)},{default:r(()=>n[4]||(n[4]=[p(" 编辑 ")])),_:2},1032,["size","onClick"]),l(z,{title:"是否确认删除这条数据",onConfirm:u=>e(P)(m)},{reference:r(()=>[l(s,{link:"",type:"primary",size:i},{default:r(()=>n[5]||(n[5]=[p(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{se as default}; diff --git a/dist/static/js/index-BMZR6rHt.js b/dist/static/js/index-BMZR6rHt.js new file mode 100644 index 0000000..3f854df --- /dev/null +++ b/dist/static/js/index-BMZR6rHt.js @@ -0,0 +1 @@ +var D=Object.defineProperty,L=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var d=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var u=(t,e,a)=>e in t?D(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,c=(t,e)=>{for(var a in e||(e={}))T.call(e,a)&&u(t,a,e[a]);if(d)for(var a of d(e))V.call(e,a)&&u(t,a,e[a]);return t},f=(t,e)=>L(t,N(e));import{useData as $}from"./hook-DKoN1rt2.js";import{P as E}from"./index-CnAi1QxJ.js";import{d as G,x as M,r as g,o as O,c as j,e as q,b as r,h as l,u as o,f as p,R as C,a8 as h}from"./index-CRmU-Qpi.js";import"./form.vue_vue_type_script_setup_true_lang-D50B9usK.js";import"./record.vue_vue_type_script_setup_true_lang-DDpuDBM8.js";import"./activities-UkTzwAkp.js";import"./index.vue_vue_type_script_setup_true_lang-1k8ze5BO.js";import"./hook-_9wHMMzO.js";import"./form.vue_vue_type_script_setup_true_lang-B5Zt0w7a.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const A={class:"main"},te=G({name:"RechargeList",__name:"index",setup(t){const{DistributionRecord:e,onSearch:a,isShow:_,tableList:b,pagination:k,tableLabel:v,handleSizeChange:x,handleCurrentChange:y,handleDelete:F,loading:w,openGiftPark:P,openDialog:R}=$();return M(()=>{a()}),(H,n)=>{const s=g("el-button"),B=g("pure-table");return O(),j("div",A,[q("div",{ref:"contentRef",class:C(["flex",o(h)()?"flex-wrap":""])},[r(o(E),{title:"新人礼包",class:C([o(_)&&!o(h)()?"!w-[60vw]":"w-full"]),columns:o(v),onRefresh:o(a)},{buttons:l(()=>[r(s,{link:"",type:"primary",onClick:o(e)},{default:l(()=>n[0]||(n[0]=[p(" 发放记录 ")])),_:1},8,["onClick"])]),default:l(({size:i,dynamicColumns:S})=>[r(B,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:o(w),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:o(b),columns:S,pagination:f(c({},o(k)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:o(y),onPageSizeChange:o(x)},{operation:l(({row:m})=>[r(s,{link:"",type:"primary",size:i,onClick:z=>o(P)(m)},{default:l(()=>n[1]||(n[1]=[p(" 查看礼包列表 ")])),_:2},1032,["size","onClick"]),r(s,{link:"",type:"primary",size:i,onClick:z=>o(R)("编辑",m)},{default:l(()=>n[2]||(n[2]=[p(" 编辑 ")])),_:2},1032,["size","onClick"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{te as default}; diff --git a/dist/static/js/index-BS7_oOYi.js b/dist/static/js/index-BS7_oOYi.js new file mode 100644 index 0000000..0cf2d30 --- /dev/null +++ b/dist/static/js/index-BS7_oOYi.js @@ -0,0 +1 @@ +var $=Object.defineProperty,H=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var g=(n,o,a)=>o in n?$(n,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[o]=a,_=(n,o)=>{for(var a in o||(o={}))T.call(o,a)&&g(n,a,o[a]);if(u)for(var a of u(o))V.call(o,a)&&g(n,a,o[a]);return n},C=(n,o)=>H(n,N(o));import{useData as E}from"./hook-Dh1L7jZK.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as I}from"./index-CnAi1QxJ.js";import{u as M}from"./hooks-ItYVRz1P.js";import{d as O}from"./add-circle-line-DOJqVT3s.js";import{d as j,x as q,r as p,o as A,c as G,b as r,u as e,e as J,h as l,f,R as b,a8 as h}from"./index-CRmU-Qpi.js";import"./form.vue_vue_type_script_setup_true_lang-Ch3nypJv.js";import"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";import"./index-An8nOBwL.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const K={class:"main"},ie=j({name:"grabHeadlines",__name:"index",setup(n){const{searchLabel:o,searchForm:a,onSearch:s,isShow:v,tableList:x,pagination:y,tableLabel:k,handleSizeChange:w,handleCurrentChange:L,openDialog:c,loading:S,handleDelete:P}=E();return q(()=>{s(a.value)}),(Q,t)=>{const m=p("el-button"),R=p("el-popconfirm"),B=p("pure-table");return A(),G("div",K,[r(F,{LabelList:e(o),formData:e(a),onHandleSearch:e(s)},null,8,["LabelList","formData","onHandleSearch"]),J("div",{ref:"contentRef",class:b(["flex",e(h)()?"flex-wrap":""])},[r(e(I),{title:"广告管理列表",class:b([e(v)&&!e(h)()?"!w-[60vw]":"w-full"]),columns:e(k),onRefresh:e(s)},{buttons:l(()=>[r(m,{type:"primary",icon:e(M)(e(O)),onClick:t[0]||(t[0]=i=>e(c)("新增",{}))},{default:l(()=>t[1]||(t[1]=[f(" 新增广告 ")])),_:1},8,["icon"])]),default:l(({size:i,dynamicColumns:D})=>[r(B,{ref:"tableRef",showOverflowTooltip:"","table-layout":"auto",loading:e(S),size:i,adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(x),columns:D,pagination:C(_({},e(y)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageSizeChange:e(w),onPageCurrentChange:e(L)},{operation:l(({row:d})=>[r(m,{link:"",type:"primary",size:i,onClick:z=>e(c)("编辑",d)},{default:l(()=>t[2]||(t[2]=[f(" 编辑 ")])),_:2},1032,["size","onClick"]),r(R,{title:"是否确认删除这条广告",onConfirm:z=>e(P)(d)},{reference:l(()=>[r(m,{link:"",type:"primary",size:i},{default:l(()=>t[3]||(t[3]=[f(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageSizeChange","onPageCurrentChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{ie as default}; diff --git a/dist/static/js/index-BTQkAWUQ.js b/dist/static/js/index-BTQkAWUQ.js new file mode 100644 index 0000000..f86f236 --- /dev/null +++ b/dist/static/js/index-BTQkAWUQ.js @@ -0,0 +1 @@ +var q=Object.defineProperty,w=Object.defineProperties;var M=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var R=(s,t,a)=>t in s?q(s,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):s[t]=a,T=(s,t)=>{for(var a in t||(t={}))O.call(t,a)&&R(s,a,t[a]);if(N)for(var a of N(t))j.call(t,a)&&R(s,a,t[a]);return s},V=(s,t)=>w(s,M(t));var p=(s,t,a)=>new Promise((C,l)=>{var u=o=>{try{i(a.next(o))}catch(e){l(e)}},b=o=>{try{i(a.throw(o))}catch(e){l(e)}},i=o=>o.done?C(o.value):Promise.resolve(o.value).then(u,b);i((a=a.apply(s,t)).next())});import{_ as A}from"./form.vue_vue_type_script_setup_true_lang-J4dbTMG5.js";import{d as E,n as v,x as F,r as h,o as K,c as P,e as S,b as d,h as f,f as $,U,aA as m,aK as z,ag as G,_ as H}from"./index-CRmU-Qpi.js";import{q as J,r as Q,a as W,e as X}from"./expression-DA1ai6Y-.js";const Y={key:0,class:"viewPage"},Z={style:{display:"inline-flex","justify-content":"flex-end",width:"100%"}},D=E({__name:"index",setup(s){const t=v([]),a=v([]),C=v([{label:"ID",prop:"id"},{label:"分类名称",prop:"type_name"},{label:"操作",fixed:"right",width:210,slot:"operation"}]),l=()=>p(this,null,function*(){const{code:o,data:e}=yield J({});t.value=o?e.map(n=>({label:n.name,value:n.id})):[],o&&(a.value=e)}),u=v(null),b=o=>p(this,null,function*(){const{code:e}=yield Q({id:o.id});e&&(m(`您删除了表情名称为【${o.type_name}】的这条数据`,{type:"success"}),l())}),i=(o="新增",e)=>{var n,y;z({title:`${o}分类`,props:{formInline:{id:(n=e==null?void 0:e.id)!=null?n:"",type_name:(y=e==null?void 0:e.type_name)!=null?y:""}},width:"40%",closeOnClickModal:!1,contentRenderer:()=>G(A,{ref:u,formInline:null}),beforeSure:(_,{options:r})=>{const g=u.value.getRef(),I=r.props.formInline,B=c=>p(this,null,function*(){const{code:x,msg:k}=yield W(c);x?(m("新增成功",{type:"success"}),l(),_()):m(k,{type:"error"})}),L=c=>p(this,null,function*(){const{code:x,msg:k}=yield X(V(T({},c),{id:e.id}));x?(m("修改成功",{type:"success"}),l(),_()):m(k,{type:"error"})});g.validate(c=>{c&&(o==="新增"?B(I):L(I))})}})};return F(()=>{l()}),(o,e)=>{const n=h("el-button"),y=h("el-popconfirm"),_=h("pure-table");return t.value&&t.value.length?(K(),P("div",Y,[S("div",Z,[d(n,{type:"primary",onClick:e[0]||(e[0]=r=>i("新增",null))},{default:f(()=>e[1]||(e[1]=[$(" 新增 ")])),_:1})]),d(_,{class:"mt-5",ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"","row-key":"id",adaptiveConfig:{offsetBottom:108},data:a.value,columns:C.value,"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"}},{operation:f(({row:r})=>[d(n,{link:"",type:"primary",onClick:g=>i("编辑",r)},{default:f(()=>e[2]||(e[2]=[$(" 编辑 ")])),_:2},1032,["onClick"]),d(y,{title:`是否确认删除表情名称为【${r.type_name}】的这条数据`,onConfirm:g=>b(r)},{reference:f(()=>[d(n,{link:"",type:"primary"},{default:f(()=>e[3]||(e[3]=[$(" 删除 ")])),_:1})]),_:2},1032,["title","onConfirm"])]),_:1},8,["data","columns"])])):U("",!0)}}}),se=H(D,[["__scopeId","data-v-364c9a75"]]);export{se as default}; diff --git a/dist/static/js/index-BYz_twjO.js b/dist/static/js/index-BYz_twjO.js new file mode 100644 index 0000000..2f1616a --- /dev/null +++ b/dist/static/js/index-BYz_twjO.js @@ -0,0 +1 @@ +var H=Object.defineProperty,N=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var d=(t,a,o)=>a in t?H(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,f=(t,a)=>{for(var o in a||(a={}))$.call(a,o)&&d(t,o,a[o]);if(u)for(var o of u(a))E.call(a,o)&&d(t,o,a[o]);return t},g=(t,a)=>N(t,V(a));import{useData as F}from"./hook-D_VvVAo0.js";import{_ as M}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as O}from"./index-CnAi1QxJ.js";import{d as X,x as j,r as C,o as q,c as A,b as r,u as e,e as G,h as l,f as m,R as b,a8 as h}from"./index-CRmU-Qpi.js";import"./form-vOGmFg76.js";import"./room-3H8Bx0CI.js";import"./index-An8nOBwL.js";import"./detail-tHZGhNpK.js";import"./Turntable.vue_vue_type_script_setup_true_lang-LSWXEPtD.js";import"./statistics-gtweHPF5.js";import"./blindBox-BqHhL4EW.js";import"./hooks-ItYVRz1P.js";import"./index.vue_vue_type_script_setup_true_lang-7qz1dg5T.js";import"./statistics-B6YG3tm9.js";import"./Results-CDWDzDys.js";import"./xlsx-DaVhO591.js";import"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const I={class:"main"},Ce=X({name:"roomList",__name:"index",setup(t){const{searchLabel:a,searchForm:o,onSearch:s,isShow:_,tableList:v,pagination:k,tableLabel:w,handleSizeChange:x,handleCurrentChange:y,viewDetail:L,viewTurntableData:J,loading:D,exportExcel:S,editDialog:P,viewXunLeHuiData:K,getListType:B}=F();return j(()=>{s(o.value),B()}),(Q,n)=>{const p=C("el-button"),R=C("pure-table");return q(),A("div",I,[r(M,{class:"pb-2",LabelList:e(a),formData:e(o),onHandleSearch:e(s)},null,8,["LabelList","formData","onHandleSearch"]),G("div",{ref:"contentRef",class:b(["flex",e(h)()?"flex-wrap":""])},[r(e(O),{title:"房间列表",class:b([e(_)&&!e(h)()?"!w-[60vw]":"w-full"]),columns:e(w),onRefresh:e(s)},{buttons:l(()=>[r(p,{type:"primary",onClick:e(S)},{default:l(()=>n[0]||(n[0]=[m(" 导出 ")])),_:1},8,["onClick"])]),default:l(({size:i,dynamicColumns:T})=>[r(R,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(D),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(v),columns:T,pagination:g(f({},e(k)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(y),onPageSizeChange:e(x)},{operation:l(({row:c})=>[r(p,{link:"",type:"primary",size:i,onClick:z=>e(L)("查看",c)},{default:l(()=>n[1]||(n[1]=[m(" 查看 ")])),_:2},1032,["size","onClick"]),r(p,{link:"",type:"primary",size:i,onClick:z=>e(P)("编辑",c)},{default:l(()=>n[2]||(n[2]=[m(" 编辑 ")])),_:2},1032,["size","onClick"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{Ce as default}; diff --git a/dist/static/js/index-BZ0jE3ZJ.js b/dist/static/js/index-BZ0jE3ZJ.js new file mode 100644 index 0000000..a230261 --- /dev/null +++ b/dist/static/js/index-BZ0jE3ZJ.js @@ -0,0 +1 @@ +var z=Object.defineProperty,T=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var g=(n,o,a)=>o in n?z(n,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[o]=a,_=(n,o)=>{for(var a in o||(o={}))V.call(o,a)&&g(n,a,o[a]);if(u)for(var a of u(o))H.call(o,a)&&g(n,a,o[a]);return n},C=(n,o)=>T(n,N(o));import{useData as E}from"./hook--onwngvW.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as I}from"./index-CnAi1QxJ.js";import{d as M,x as O,r as f,o as j,c as q,b as l,u as e,e as A,h as r,f as c,R as b,a8 as h}from"./index-CRmU-Qpi.js";import{u as G}from"./hooks-ItYVRz1P.js";import{d as J}from"./add-circle-line-DOJqVT3s.js";import"./form.vue_vue_type_script_setup_true_lang-B6o7fI6q.js";import"./Inform-CWr9EIX8.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const K={class:"main"},re=M({name:"roomType",__name:"index",setup(n){const{searchLabel:o,searchForm:a,onSearch:s,isShow:v,tableList:y,pagination:x,tableLabel:k,handleSizeChange:w,handleCurrentChange:L,handleDelete:S,loading:P,openDialog:d}=E();return O(()=>{s(a.value)}),(Q,t)=>{const p=f("el-button"),R=f("el-popconfirm"),B=f("pure-table");return j(),q("div",K,[l(F,{class:"pb-2",LabelList:e(o),formData:e(a),onHandleSearch:e(s)},null,8,["LabelList","formData","onHandleSearch"]),A("div",{ref:"contentRef",class:b(["flex",e(h)()?"flex-wrap":""])},[l(e(I),{title:"举报类型列表",class:b([e(v)&&!e(h)()?"!w-[60vw]":"w-full"]),columns:e(k),onRefresh:e(s)},{buttons:r(()=>[l(p,{type:"primary",icon:e(G)(e(J)),onClick:t[0]||(t[0]=i=>e(d)("新增",{}))},{default:r(()=>t[1]||(t[1]=[c(" 新增分类 ")])),_:1},8,["icon"])]),default:r(({size:i,dynamicColumns:D})=>[l(B,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(P),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(y),columns:D,pagination:C(_({},e(x)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(L),onPageSizeChange:e(w)},{operation:r(({row:m})=>[l(p,{link:"",type:"primary",size:i,onClick:$=>e(d)("编辑",m)},{default:r(()=>t[2]||(t[2]=[c(" 编辑 ")])),_:2},1032,["size","onClick"]),l(R,{title:`是否确认删除分类名称为${m.type}的这条数据`,onConfirm:$=>e(S)(m)},{reference:r(()=>[l(p,{link:"",type:"primary",size:i},{default:r(()=>t[3]||(t[3]=[c(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["title","onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{re as default}; diff --git a/dist/static/js/index-BZ31fMr-.js b/dist/static/js/index-BZ31fMr-.js new file mode 100644 index 0000000..de9b73d --- /dev/null +++ b/dist/static/js/index-BZ31fMr-.js @@ -0,0 +1 @@ +var T=Object.defineProperty,E=Object.defineProperties;var H=Object.getOwnPropertyDescriptors;var d=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable;var u=(t,a,o)=>a in t?T(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,f=(t,a)=>{for(var o in a||(a={}))$.call(a,o)&&u(t,o,a[o]);if(d)for(var o of d(a))F.call(a,o)&&u(t,o,a[o]);return t},g=(t,a)=>E(t,H(a));import{useData as M}from"./hook-CvzxUpHj.js";import{_ as O}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as U}from"./index-CnAi1QxJ.js";import{d as j,x as q,r as h,o as C,c as A,b as r,u as e,e as G,h as l,f as p,g as I,U as J,R as b,a8 as _}from"./index-CRmU-Qpi.js";import"./form.vue_vue_type_script_setup_true_lang-BIIr4FUi.js";import"./xlsx-DaVhO591.js";import"./union-ZelC57cN.js";import"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const K={class:"main"},ce=j({name:"unionSubsidy",__name:"index",setup(t){const{searchLabel:a,searchForm:o,onSearch:i,isShow:k,tableList:x,pagination:y,tableLabel:S,handleSizeChange:v,handleCurrentChange:w,loading:L,openDialog:B,exportExcel:P,handleSelectionChange:D,multipleSelection:R,batchDistribution:z}=M();return q(()=>{i(o.value)}),(Q,n)=>{const s=h("el-button"),N=h("pure-table");return C(),A("div",K,[r(O,{class:"pb-2",LabelList:e(a),formData:e(o),onHandleSearch:e(i)},null,8,["LabelList","formData","onHandleSearch"]),G("div",{ref:"contentRef",class:b(["flex",e(_)()?"flex-wrap":""])},[r(e(U),{title:"房间补贴发放",class:b([e(k)&&!e(_)()?"!w-[60vw]":"w-full"]),columns:e(S),onRefresh:e(i)},{buttons:l(()=>[r(s,{type:"primary",disabled:!e(R).length,onClick:e(z)},{default:l(()=>n[0]||(n[0]=[p(" 批量发放 ")])),_:1},8,["disabled","onClick"]),r(s,{type:"primary",onClick:e(P)},{default:l(()=>n[1]||(n[1]=[p(" 导出 ")])),_:1},8,["onClick"])]),default:l(({size:c,dynamicColumns:V})=>[r(N,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(L),size:c,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(x),columns:V,pagination:g(f({},e(y)),{size:c}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onSelectionChange:e(D),onPageCurrentChange:e(w),onPageSizeChange:e(v)},{operation:l(({row:m})=>[m.status?J("",!0):(C(),I(s,{key:0,link:"",type:"primary",size:c,onClick:W=>e(B)("审核",m)},{default:l(()=>n[2]||(n[2]=[p(" 审核 ")])),_:2},1032,["size","onClick"]))]),_:2},1032,["loading","size","data","columns","pagination","onSelectionChange","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{ce as default}; diff --git a/dist/static/js/index-B_sG9_Dh.js b/dist/static/js/index-B_sG9_Dh.js new file mode 100644 index 0000000..fed142b --- /dev/null +++ b/dist/static/js/index-B_sG9_Dh.js @@ -0,0 +1 @@ +var B=Object.defineProperty,z=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var m=(t,a,o)=>a in t?B(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,p=(t,a)=>{for(var o in a||(a={}))T.call(a,o)&&m(t,o,a[o]);if(c)for(var o of c(a))N.call(a,o)&&m(t,o,a[o]);return t},d=(t,a)=>z(t,D(a));import{useData as V}from"./hook-C-2VKI_q.js";import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as H}from"./index-CnAi1QxJ.js";import{d as F,x as M,r as f,o as O,c as $,b as n,u as e,e as u,h as r,T as j,f as q,R as g,a8 as h}from"./index-CRmU-Qpi.js";import"./xlsx-DaVhO591.js";import"./statistics-Cc1WE90b.js";import"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const A={class:"main"},G={style:{display:"inline-flex","align-items":"center"},class:"mr-10"},te=F({name:"giftRecord",__name:"index",setup(t){const{searchLabel:a,searchForm:o,onSearch:l,isShow:_,tableList:b,total_price:C,pagination:x,tableLabel:v,exportExcel:w,handleSizeChange:y,handleCurrentChange:S,loading:L}=V();return M(()=>{l(o.value)}),(I,s)=>{const k=f("el-button"),P=f("pure-table");return O(),$("div",A,[n(E,{class:"pb-2",LabelList:e(a),formData:e(o),onHandleSearch:e(l)},null,8,["LabelList","formData","onHandleSearch"]),u("div",{ref:"contentRef",class:g(["flex",e(h)()?"flex-wrap":""])},[n(e(H),{title:"收礼排行统计",class:g([e(_)&&!e(h)()?"!w-[60vw]":"w-full"]),columns:e(v),onRefresh:e(l)},{buttons:r(()=>[u("div",G,"总计:"+j(e(C)),1),n(k,{type:"primary",onClick:e(w)},{default:r(()=>s[0]||(s[0]=[q(" 导出 ")])),_:1},8,["onClick"])]),default:r(({size:i,dynamicColumns:R})=>[n(P,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(L),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(b),columns:R,pagination:d(p({},e(x)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(S),onPageSizeChange:e(y)},null,8,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{te as default}; diff --git a/dist/static/js/index-BeiEvCn3.js b/dist/static/js/index-BeiEvCn3.js new file mode 100644 index 0000000..b187dfd --- /dev/null +++ b/dist/static/js/index-BeiEvCn3.js @@ -0,0 +1 @@ +var F=Object.defineProperty,H=Object.defineProperties;var $=Object.getOwnPropertyDescriptors;var _=Object.getOwnPropertySymbols;var I=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var h=(o,a,t)=>a in o?F(o,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[a]=t,g=(o,a)=>{for(var t in a||(a={}))I.call(a,t)&&h(o,t,a[t]);if(_)for(var t of _(a))M.call(a,t)&&h(o,t,a[t]);return o},b=(o,a)=>H(o,$(a));import{useData as O}from"./hook-BmZBh1OK.js";import{_ as Q}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as U}from"./index-CnAi1QxJ.js";import{d as W,x as j,r as p,o as i,c as d,e as C,P as q,Q as A,b as s,u as e,h as l,f as v,g as G,U as J,R as x,a8 as w,_ as K}from"./index-CRmU-Qpi.js";import"./form.vue_vue_type_script_setup_true_lang-CBlDgxjt.js";import"./xlsx-DaVhO591.js";import"./Financial-DLXohchJ.js";import"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const X={class:"main"},Y={class:"content"},Z={class:"box"},ee=W({name:"Withdrawal",__name:"index",setup(o){const{searchLabel:a,searchForm:t,onSearch:c,isShow:k,tableList:y,pagination:L,tableLabel:P,handleSizeChange:S,handleCurrentChange:B,loading:D,exportExcel:R,statisticsList:z,statisticsData:N,withdrawalData:V}=O();return j(()=>{c(t.value)}),(ae,r)=>{const T=p("el-statistic"),m=p("el-button"),E=p("pure-table");return i(),d("div",X,[C("div",Y,[(i(!0),d(q,null,A(e(z),(n,u)=>(i(),d("div",Z,[s(T,{"group-separator":",",precision:2,value:e(N)[n.prop],title:n.label},null,8,["value","title"])]))),256))]),s(Q,{class:"pb-2",LabelList:e(a),formData:e(t),onHandleSearch:e(c)},null,8,["LabelList","formData","onHandleSearch"]),C("div",{ref:"contentRef",class:x(["flex",e(w)()?"flex-wrap":""])},[s(e(U),{title:"充值列表",class:x([e(k)&&!e(w)()?"!w-[60vw]":"w-full"]),columns:e(P),onRefresh:e(c)},{buttons:l(()=>[s(m,{type:"primary",onClick:e(R)},{default:l(()=>r[0]||(r[0]=[v(" 导出 ")])),_:1},8,["onClick"])]),default:l(({size:n,dynamicColumns:u})=>[s(E,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(D),size:n,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(y),columns:u,pagination:b(g({},e(L)),{size:n}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(B),onPageSizeChange:e(S)},{operation:l(({row:f})=>[f.status===1?(i(),G(m,{key:0,link:"",type:"primary",size:n,onClick:te=>e(V)(f)},{default:l(()=>r[1]||(r[1]=[v(" 审批 ")])),_:2},1032,["size","onClick"])):J("",!0)]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}}),_e=K(ee,[["__scopeId","data-v-fe3c7a3e"]]);export{_e as default}; diff --git a/dist/static/js/index-BfXqD2Z-.js b/dist/static/js/index-BfXqD2Z-.js new file mode 100644 index 0000000..180d7d3 --- /dev/null +++ b/dist/static/js/index-BfXqD2Z-.js @@ -0,0 +1 @@ +var B=Object.defineProperty,z=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var m=(t,a,o)=>a in t?B(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,p=(t,a)=>{for(var o in a||(a={}))T.call(a,o)&&m(t,o,a[o]);if(c)for(var o of c(a))N.call(a,o)&&m(t,o,a[o]);return t},d=(t,a)=>z(t,D(a));import{useData as V}from"./hook-DOMvpZIW.js";import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as H}from"./index-CnAi1QxJ.js";import{d as F,x as M,r as f,o as O,c as $,b as n,u as e,e as u,h as r,T as j,f as q,R as g,a8 as h}from"./index-CRmU-Qpi.js";import"./statistics-Cc1WE90b.js";import"./xlsx-DaVhO591.js";import"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const A={class:"main"},G={style:{display:"inline-flex","align-items":"center"},class:"mr-10"},te=F({name:"giftRecord",__name:"index",setup(t){const{searchLabel:a,searchForm:o,onSearch:l,isShow:_,tableList:b,total_price:C,pagination:x,tableLabel:v,exportExcel:w,handleSizeChange:y,handleCurrentChange:S,loading:L}=V();return M(()=>{l(o.value)}),(I,s)=>{const k=f("el-button"),P=f("pure-table");return O(),$("div",A,[n(E,{class:"pb-2",LabelList:e(a),formData:e(o),onHandleSearch:e(l)},null,8,["LabelList","formData","onHandleSearch"]),u("div",{ref:"contentRef",class:g(["flex",e(h)()?"flex-wrap":""])},[n(e(H),{title:"送礼记录排行",class:g([e(_)&&!e(h)()?"!w-[60vw]":"w-full"]),columns:e(v),onRefresh:e(l)},{buttons:r(()=>[u("div",G,"总计:"+j(e(C)),1),n(k,{type:"primary",onClick:e(w)},{default:r(()=>s[0]||(s[0]=[q(" 导出 ")])),_:1},8,["onClick"])]),default:r(({size:i,dynamicColumns:R})=>[n(P,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(L),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(b),columns:R,pagination:d(p({},e(x)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(S),onPageSizeChange:e(y)},null,8,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{te as default}; diff --git a/dist/static/js/index-BhmpNw57.js b/dist/static/js/index-BhmpNw57.js new file mode 100644 index 0000000..8302e54 --- /dev/null +++ b/dist/static/js/index-BhmpNw57.js @@ -0,0 +1 @@ +var B=Object.defineProperty,z=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable;var p=(t,a,o)=>a in t?B(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,u=(t,a)=>{for(var o in a||(a={}))N.call(a,o)&&p(t,o,a[o]);if(c)for(var o of c(a))T.call(a,o)&&p(t,o,a[o]);return t},f=(t,a)=>z(t,D(a));import{useData as V}from"./hook-BjKxPh4y.js";import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as H}from"./index-CnAi1QxJ.js";import{d as F,x as M,r as d,o as O,c as $,b as n,u as e,e as j,h as r,f as h,R as g,a8 as C}from"./index-CRmU-Qpi.js";import"./xlsx-DaVhO591.js";import"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import"./ruleform.vue_vue_type_script_setup_true_lang-CpPLnSJP.js";import"./reward.vue_vue_type_script_setup_true_lang-7Tg4wqPi.js";import"./blindBox-BqHhL4EW.js";import"./activities-UkTzwAkp.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const q={class:"main"},ne=F({name:"hourlyChart",__name:"index",setup(t){const{searchLabel:a,searchForm:o,onSearch:s,isShow:_,tableList:b,pagination:x,tableLabel:v,handleSizeChange:w,handleCurrentChange:k,loading:y,exportExcel:L,settingRule:S}=V();return M(()=>{s(o.value)}),(A,l)=>{const i=d("el-button"),P=d("pure-table");return O(),$("div",q,[n(E,{class:"pb-2",LabelList:e(a),formData:e(o),onHandleSearch:e(s)},null,8,["LabelList","formData","onHandleSearch"]),j("div",{ref:"contentRef",class:g(["flex",e(C)()?"flex-wrap":""])},[n(e(H),{title:"小时榜数据列表",class:g([e(_)&&!e(C)()?"!w-[60vw]":"w-full"]),columns:e(v),onRefresh:e(s)},{buttons:r(()=>[n(i,{type:"primary",onClick:e(L)},{default:r(()=>l[0]||(l[0]=[h(" 导出 ")])),_:1},8,["onClick"]),n(i,{onClick:e(S)},{default:r(()=>l[1]||(l[1]=[h(" 设置规则 ")])),_:1},8,["onClick"])]),default:r(({size:m,dynamicColumns:R})=>[n(P,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(y),size:m,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(b),columns:R,pagination:f(u({},e(x)),{size:m}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(k),onPageSizeChange:e(w)},null,8,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{ne as default}; diff --git a/dist/static/js/index-BqQQwtyC.js b/dist/static/js/index-BqQQwtyC.js new file mode 100644 index 0000000..21653e8 --- /dev/null +++ b/dist/static/js/index-BqQQwtyC.js @@ -0,0 +1 @@ +var M=Object.defineProperty,O=Object.defineProperties;var Q=Object.getOwnPropertyDescriptors;var v=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var x=(l,t,o)=>t in l?M(l,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):l[t]=o,y=(l,t)=>{for(var o in t||(t={}))j.call(t,o)&&x(l,o,t[o]);if(v)for(var o of v(t))q.call(t,o)&&x(l,o,t[o]);return l},h=(l,t)=>O(l,Q(t));import{useData as A}from"./hook-Dh7wG1Je.js";import{_ as G}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as J}from"./index-CnAi1QxJ.js";import{d as K,x as U,r as m,o as u,c,b as n,u as e,e as _,P as W,Q as X,h as i,f as p,R as k,a8 as L,_ as Y}from"./index-CRmU-Qpi.js";import"./blindBox-BqHhL4EW.js";import"./form.vue_vue_type_script_setup_true_lang-BuSWUZQX.js";import"./settingRule-C5k_xNPq.js";import"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const Z={class:"main"},ee={class:"content-flex"},te={class:"box"},ae=K({name:"boxList",__name:"index",setup(l){const{searchLabel:t,searchForm:o,onSearch:f,isShow:w,tableList:S,pagination:P,tableLabel:D,handleSizeChange:B,handleCurrentChange:R,loading:$,statisticsList:z,statisticsData:N,openDialog:g,resetSetting:T,handleDelete:V,setting:F}=A();return U(()=>{f(o.value)}),(oe,a)=>{const H=m("el-statistic"),s=m("el-button"),C=m("el-popconfirm"),E=m("pure-table");return u(),c("div",Z,[n(G,{class:"pb-2",LabelList:e(t),formData:e(o),onHandleSearch:e(f)},null,8,["LabelList","formData","onHandleSearch"]),_("div",ee,[(u(!0),c(W,null,X(e(z),(r,b)=>(u(),c("div",te,[n(H,{precision:2,"decimal-separator":".",value:e(N)[r.prop],suffix:r.tip||"",title:r.label},null,8,["value","suffix","title"]),a[1]||(a[1]=_("span",null,null,-1))]))),256))]),_("div",{ref:"contentRef",class:k(["flex",e(L)()?"flex-wrap":""])},[n(e(J),{title:"巡乐会管理列表",class:k([e(w)&&!e(L)()?"!w-[60vw]":"w-full"]),columns:e(D),onRefresh:e(f)},{buttons:i(()=>[n(s,{type:"primary",onClick:a[0]||(a[0]=r=>e(g)("新增",{}))},{default:i(()=>a[2]||(a[2]=[p(" 添加 ")])),_:1}),n(C,{title:"是否重置当前巡乐会的规则数量吗?",onConfirm:e(T)},{reference:i(()=>[n(s,{type:"primary"},{default:i(()=>a[3]||(a[3]=[p(" 重置数量 ")])),_:1})]),_:1},8,["onConfirm"]),n(s,{type:"primary",onClick:e(F)},{default:i(()=>a[4]||(a[4]=[p(" 设置规则 ")])),_:1},8,["onClick"])]),default:i(({size:r,dynamicColumns:b})=>[n(E,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e($),size:r,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(S),columns:b,pagination:h(y({},e(P)),{size:r}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(R),onPageSizeChange:e(B)},{operation:i(({row:d})=>[n(s,{link:"",type:"primary",size:r,onClick:I=>e(g)("编辑",d)},{default:i(()=>a[5]||(a[5]=[p(" 编辑 ")])),_:2},1032,["size","onClick"]),n(C,{title:`是否确认删除礼物名称为【${d.gift_name}】的这条数据`,onConfirm:I=>e(V)(d)},{reference:i(()=>[n(s,{link:"",type:"primary",size:r},{default:i(()=>a[6]||(a[6]=[p(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["title","onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}}),ge=Y(ae,[["__scopeId","data-v-a0a787e2"]]);export{ge as default}; diff --git a/dist/static/js/index-C0LFxHqz.js b/dist/static/js/index-C0LFxHqz.js new file mode 100644 index 0000000..1c6dd67 --- /dev/null +++ b/dist/static/js/index-C0LFxHqz.js @@ -0,0 +1 @@ +var T=Object.defineProperty,$=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var c=(a,o,n)=>o in a?T(a,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[o]=n,g=(a,o)=>{for(var n in o||(o={}))N.call(o,n)&&c(a,n,o[n]);if(u)for(var n of u(o))V.call(o,n)&&c(a,n,o[n]);return a},C=(a,o)=>$(a,D(o));import{useData as L}from"./hook-Cmz51VBR.js";import{P as E}from"./index-CnAi1QxJ.js";import{d as I,x as M,r as m,o as O,c as j,e as q,b as r,h as l,u as e,f,R as _,a8 as b}from"./index-CRmU-Qpi.js";import{u as A}from"./hooks-ItYVRz1P.js";import{d as F}from"./add-circle-line-DOJqVT3s.js";import"./form.vue_vue_type_script_setup_true_lang-DOzyNmG6.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const G={class:"main"},oe=I({name:"newuserTag",__name:"index",setup(a){const{onSearch:o,isShow:n,tableList:h,pagination:v,tableLabel:x,handleSizeChange:y,handleCurrentChange:k,handleDelete:w,loading:P,openDialog:d}=L();return M(()=>{o()}),(H,t)=>{const s=m("el-button"),R=m("el-popconfirm"),B=m("pure-table");return O(),j("div",G,[q("div",{ref:"contentRef",class:_(["flex",e(b)()?"flex-wrap":""])},[r(e(E),{title:"标签列表",class:_([e(n)&&!e(b)()?"!w-[60vw]":"w-full"]),columns:e(x),onRefresh:e(o)},{buttons:l(()=>[r(s,{type:"primary",icon:e(A)(e(F)),onClick:t[0]||(t[0]=i=>e(d)("新增",{}))},{default:l(()=>t[1]||(t[1]=[f(" 新增标签 ")])),_:1},8,["icon"])]),default:l(({size:i,dynamicColumns:S})=>[r(B,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(P),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(h),columns:S,pagination:C(g({},e(v)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(k),onPageSizeChange:e(y)},{operation:l(({row:p})=>[r(s,{link:"",type:"primary",size:i,onClick:z=>e(d)("编辑",p)},{default:l(()=>t[2]||(t[2]=[f(" 编辑 ")])),_:2},1032,["size","onClick"]),r(R,{title:`是否确认删除标签名称为【${p.tag_name}】的这条数据`,onConfirm:z=>e(w)(p)},{reference:l(()=>[r(s,{link:"",type:"primary",size:i},{default:l(()=>t[3]||(t[3]=[f(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["title","onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{oe as default}; diff --git a/dist/static/js/index-C2Zdxys-.js b/dist/static/js/index-C2Zdxys-.js new file mode 100644 index 0000000..55aacf0 --- /dev/null +++ b/dist/static/js/index-C2Zdxys-.js @@ -0,0 +1 @@ +var T=Object.defineProperty,E=Object.defineProperties;var H=Object.getOwnPropertyDescriptors;var d=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable;var u=(t,a,o)=>a in t?T(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,f=(t,a)=>{for(var o in a||(a={}))$.call(a,o)&&u(t,o,a[o]);if(d)for(var o of d(a))F.call(a,o)&&u(t,o,a[o]);return t},g=(t,a)=>E(t,H(a));import{useData as M}from"./hook-zL8rQorN.js";import{_ as O}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as U}from"./index-CnAi1QxJ.js";import{d as j,x as q,r as h,o as C,c as A,b as r,u as e,e as G,h as l,f as m,g as I,U as J,R as b,a8 as _}from"./index-CRmU-Qpi.js";import"./form.vue_vue_type_script_setup_true_lang-CczCLyB5.js";import"./xlsx-DaVhO591.js";import"./room-3H8Bx0CI.js";import"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const K={class:"main"},ce=j({name:"roomSubsidy",__name:"index",setup(t){const{searchLabel:a,searchForm:o,onSearch:i,isShow:k,exportExcel:x,tableList:y,pagination:S,tableLabel:v,handleSizeChange:w,handleCurrentChange:L,loading:B,openDialog:P,handleSelectionChange:D,multipleSelection:R,batchDistribution:z}=M();return q(()=>{i(o.value)}),(Q,n)=>{const s=h("el-button"),N=h("pure-table");return C(),A("div",K,[r(O,{class:"pb-2",LabelList:e(a),formData:e(o),onHandleSearch:e(i)},null,8,["LabelList","formData","onHandleSearch"]),G("div",{ref:"contentRef",class:b(["flex",e(_)()?"flex-wrap":""])},[r(e(U),{title:"房间补贴发放",class:b([e(k)&&!e(_)()?"!w-[60vw]":"w-full"]),columns:e(v),onRefresh:e(i)},{buttons:l(()=>[r(s,{type:"primary",disabled:!e(R).length,onClick:e(z)},{default:l(()=>n[0]||(n[0]=[m(" 批量发放 ")])),_:1},8,["disabled","onClick"]),r(s,{type:"primary",onClick:e(x)},{default:l(()=>n[1]||(n[1]=[m("导出")])),_:1},8,["onClick"])]),default:l(({size:c,dynamicColumns:V})=>[r(N,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(B),size:c,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(y),columns:V,pagination:g(f({},e(S)),{size:c}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(L),onSelectionChange:e(D),onPageSizeChange:e(w)},{operation:l(({row:p})=>[p.status?J("",!0):(C(),I(s,{key:0,link:"",type:"primary",size:c,onClick:W=>e(P)("审核",p)},{default:l(()=>n[2]||(n[2]=[m(" 审核 ")])),_:2},1032,["size","onClick"]))]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onSelectionChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{ce as default}; diff --git a/dist/static/js/index-C4fBkUk7.js b/dist/static/js/index-C4fBkUk7.js new file mode 100644 index 0000000..7ae5e65 --- /dev/null +++ b/dist/static/js/index-C4fBkUk7.js @@ -0,0 +1 @@ +var N=Object.defineProperty,T=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var g=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var C=(t,o,a)=>o in t?N(t,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[o]=a,_=(t,o)=>{for(var a in o||(o={}))H.call(o,a)&&C(t,a,o[a]);if(g)for(var a of g(o))E.call(o,a)&&C(t,a,o[a]);return t},b=(t,o)=>T(t,V(o));import{useData as F}from"./hook-Ci9wOtdj.js";import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as M}from"./index-CnAi1QxJ.js";import{d as O,x as j,r as d,o as q,c as A,b as l,u as e,e as G,h as r,f as p,R as h,a8 as v}from"./index-CRmU-Qpi.js";import{u as J}from"./hooks-ItYVRz1P.js";import{d as K}from"./add-circle-line-DOJqVT3s.js";import"./form.vue_vue_type_script_setup_true_lang-BGJZIOyv.js";import"./index-An8nOBwL.js";import"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";import"./adolescent-Dk2B_RUL.js";import"./detail-Bv6_Xq4j.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const Q={class:"main"},me=O({name:"adolescentList",__name:"index",setup(t){const{searchLabel:o,searchForm:a,onSearch:m,isShow:k,tableList:y,pagination:x,tableLabel:w,handleSizeChange:L,handleCurrentChange:S,handleDelete:D,loading:P,openDialog:u,viewDetail:R}=F();return j(()=>{m(a.value)}),(U,n)=>{const s=d("el-button"),B=d("el-popconfirm"),$=d("pure-table");return q(),A("div",Q,[l(I,{class:"pb-2",LabelList:e(o),formData:e(a),onHandleSearch:e(m)},null,8,["LabelList","formData","onHandleSearch"]),G("div",{ref:"contentRef",class:h(["flex",e(v)()?"flex-wrap":""])},[l(e(M),{title:"青少年内容列表",class:h([e(k)&&!e(v)()?"!w-[60vw]":"w-full"]),columns:e(w),onRefresh:e(m)},{buttons:r(()=>[l(s,{type:"primary",icon:e(J)(e(K)),onClick:n[0]||(n[0]=i=>e(u)("新增",{}))},{default:r(()=>n[1]||(n[1]=[p(" 新增内容 ")])),_:1},8,["icon"])]),default:r(({size:i,dynamicColumns:z})=>[l($,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(P),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(y),columns:z,pagination:b(_({},e(x)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(S),onPageSizeChange:e(L)},{operation:r(({row:f})=>[l(s,{link:"",type:"primary",size:i,onClick:c=>e(R)("查看详情",f)},{default:r(()=>n[2]||(n[2]=[p(" 查看详情 ")])),_:2},1032,["size","onClick"]),l(s,{link:"",type:"primary",size:i,onClick:c=>e(u)("编辑",f)},{default:r(()=>n[3]||(n[3]=[p(" 编辑 ")])),_:2},1032,["size","onClick"]),l(B,{title:"是否确认删除这条数据",onConfirm:c=>e(D)(f)},{reference:r(()=>[l(s,{link:"",type:"primary",size:i},{default:r(()=>n[4]||(n[4]=[p(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{me as default}; diff --git a/dist/static/js/index-C4v5SHzn.js b/dist/static/js/index-C4v5SHzn.js new file mode 100644 index 0000000..2c3e592 --- /dev/null +++ b/dist/static/js/index-C4v5SHzn.js @@ -0,0 +1 @@ +var $=Object.defineProperty,D=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var d=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var c=(t,o,n)=>o in t?$(t,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[o]=n,g=(t,o)=>{for(var n in o||(o={}))T.call(o,n)&&c(t,n,o[n]);if(d)for(var n of d(o))V.call(o,n)&&c(t,n,o[n]);return t},C=(t,o)=>D(t,N(o));import{useData as L}from"./hook-DkPCSM4g.js";import{P as E}from"./index-CnAi1QxJ.js";import{d as I,x as M,r as m,o as O,c as j,e as q,b as r,h as l,u as e,f,R as _,a8 as b}from"./index-CRmU-Qpi.js";import{u as A}from"./hooks-ItYVRz1P.js";import{d as F}from"./add-circle-line-DOJqVT3s.js";import"./form.vue_vue_type_script_setup_true_lang-CMV64P_c.js";import"./union-ZelC57cN.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const G={class:"main"},ne=I({name:"unionRule",__name:"index",setup(t){const{onSearch:o,isShow:n,tableList:h,pagination:v,tableLabel:x,handleSizeChange:y,handleCurrentChange:k,handleDelete:w,loading:R,openDialog:u}=L();return M(()=>{o()}),(H,a)=>{const s=m("el-button"),P=m("el-popconfirm"),B=m("pure-table");return O(),j("div",G,[q("div",{ref:"contentRef",class:_(["flex",e(b)()?"flex-wrap":""])},[r(e(E),{title:"补贴奖励规则列表",class:_([e(n)&&!e(b)()?"!w-[60vw]":"w-full"]),columns:e(x),onRefresh:e(o)},{buttons:l(()=>[r(s,{type:"primary",icon:e(A)(e(F)),onClick:a[0]||(a[0]=i=>e(u)("新增",{}))},{default:l(()=>a[1]||(a[1]=[f(" 新增奖励规则 ")])),_:1},8,["icon"])]),default:l(({size:i,dynamicColumns:S})=>[r(B,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(R),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(h),columns:S,pagination:C(g({},e(v)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(k),onPageSizeChange:e(y)},{operation:l(({row:p})=>[r(s,{link:"",type:"primary",size:i,onClick:z=>e(u)("编辑",p)},{default:l(()=>a[2]||(a[2]=[f(" 编辑 ")])),_:2},1032,["size","onClick"]),r(P,{title:`您删除了规则名称为【${p.start_amount}】的这条数据`,onConfirm:z=>e(w)(p)},{reference:l(()=>[r(s,{link:"",type:"primary",size:i},{default:l(()=>a[3]||(a[3]=[f(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["title","onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{ne as default}; diff --git a/dist/static/js/index-C9op5LST.js b/dist/static/js/index-C9op5LST.js new file mode 100644 index 0000000..229aaa3 --- /dev/null +++ b/dist/static/js/index-C9op5LST.js @@ -0,0 +1 @@ +import{useColumns as g}from"./columns-Dy-3Rh5O.js";import{u as d}from"./hooks-ItYVRz1P.js";import{d as f,r as o,o as C,g as h,h as t,b as a,u as e,_ as b}from"./index-CRmU-Qpi.js";const x=f({__name:"index",setup(y){const{loading:i,columns:r,dataList:s,pagination:n,Empty:c,onCurrentChange:l}=g();return(k,w)=>{const p=o("el-empty"),m=o("el-button"),u=o("pure-table");return C(),h(u,{"row-key":"id",alignWhole:"center",showOverflowTooltip:"",loading:e(i),"loading-config":{background:"transparent"},data:e(s).slice((e(n).currentPage-1)*e(n).pageSize,e(n).currentPage*e(n).pageSize),columns:e(r),pagination:e(n),onPageCurrentChange:e(l)},{empty:t(()=>[a(p,{description:"暂无数据","image-size":60},{image:t(()=>[a(e(c))]),_:1})]),operation:t(({row:_})=>[a(m,{plain:"",circle:"",size:"small",title:`查看序号为${_.id}的详情`,icon:e(d)("ri:search-line")},null,8,["title","icon"])]),_:1},8,["loading","data","columns","pagination","onPageCurrentChange"])}}}),B=b(x,[["__scopeId","data-v-4d680a2b"]]);export{B as default}; diff --git a/dist/static/js/index-CH-QkARt.js b/dist/static/js/index-CH-QkARt.js new file mode 100644 index 0000000..f63ba6e --- /dev/null +++ b/dist/static/js/index-CH-QkARt.js @@ -0,0 +1 @@ +var y=Object.defineProperty;var _=Object.getOwnPropertySymbols;var w=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var f=(l,e,a)=>e in l?y(l,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):l[e]=a,h=(l,e)=>{for(var a in e||(e={}))w.call(e,a)&&f(l,a,e[a]);if(_)for(var a of _(e))x.call(e,a)&&f(l,a,e[a]);return l};var p=(l,e,a)=>new Promise((i,n)=>{var d=s=>{try{m(a.next(s))}catch(c){n(c)}},g=s=>{try{m(a.throw(s))}catch(c){n(c)}},m=s=>s.done?i(s.value):Promise.resolve(s.value).then(d,g);m((a=a.apply(l,e)).next())});import{d as v,ag as V,av as C,aw as b,al as B,n as N,c as k,b as t,h as o,U as D,r as $,o as q,u as r,e as E,_ as I}from"./index-CRmU-Qpi.js";import R from"./statistics-CvEV64pu.js";import H from"./todoVIew-C7ApMOSc.js";import M from"./chart-jUPx5-VX.js";import U from"./message-Dh5idbpX.js";import W from"./giftChart-CQVvbp7_.js";import j from"./member-BodyTTmW.js";import{_ as z}from"./map.vue_vue_type_script_setup_true_lang-DTNuIxRb.js";import"./index-Cu34JgMz.js";import"./ChartBar.vue_vue_type_script_setup_true_lang-BE_KgL2n.js";import"./ChartLine.vue_vue_type_script_setup_true_lang-CDrbWLFd.js";import"./ChartRound.vue_vue_type_script_setup_true_lang-BOvu6zMf.js";import"./mapChart-B1V9FHya.js";const u=v({name:"ReCol",props:{value:{type:Number,default:24}},render(){const l=this.$attrs,e=this.value;return V(C,h({xs:e,sm:e,md:e,lg:e,xl:e},l),{default:()=>this.$slots.default()})}}),A=l=>b.request("get","/adminapi/Index/index",{params:l}),F={key:0,style:{"padding-bottom":"20px"}},G={style:{height:"100%"}},J=v({name:"Welcome",__name:"index",setup(l){const e=()=>p(this,null,function*(){const{data:i,code:n}=yield A({});a.value=n?i:null});B(()=>{e()});const a=N(!1);return(i,n)=>{const d=$("el-row");return a.value?(q(),k("div",F,[t(d,{gutter:10,style:{"min-height":"62vh"}},{default:o(()=>[t(r(u),{value:19},{default:o(()=>[t(R,{"all-data":a.value},null,8,["all-data"]),t(d,{gutter:10},{default:o(()=>[t(r(u),{value:14},{default:o(()=>[t(M,{"all-data":a.value},null,8,["all-data"])]),_:1}),t(r(u),{value:10},{default:o(()=>[t(z,{"all-data":a.value},null,8,["all-data"])]),_:1})]),_:1}),t(d,{gutter:10,style:{height:"100%"}},{default:o(()=>[t(r(u),{value:14,style:{height:"100%"}},{default:o(()=>[t(j,{"all-data":a.value},null,8,["all-data"])]),_:1}),t(r(u),{value:10,style:{height:"100%"}},{default:o(()=>[t(W,{"all-data":a.value},null,8,["all-data"])]),_:1})]),_:1})]),_:1}),t(r(u),{value:5,style:{height:"100%"}},{default:o(()=>[E("div",G,[t(H,{style:{height:"20%"},"all-data":a.value},null,8,["all-data"]),t(U,{style:{height:"100%"},"all-data":a.value},null,8,["all-data"])])]),_:1})]),_:1})])):D("",!0)}}}),oa=I(J,[["__scopeId","data-v-647e2d22"]]);export{oa as default}; diff --git a/dist/static/js/index-CJx9PbaV.js b/dist/static/js/index-CJx9PbaV.js new file mode 100644 index 0000000..9cfc780 --- /dev/null +++ b/dist/static/js/index-CJx9PbaV.js @@ -0,0 +1 @@ +var $=Object.defineProperty,H=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var g=(n,o,a)=>o in n?$(n,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[o]=a,_=(n,o)=>{for(var a in o||(o={}))T.call(o,a)&&g(n,a,o[a]);if(u)for(var a of u(o))V.call(o,a)&&g(n,a,o[a]);return n},C=(n,o)=>H(n,N(o));import{useData as E}from"./hook-By6PN52u.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as I}from"./index-CnAi1QxJ.js";import{u as M}from"./hooks-ItYVRz1P.js";import{d as O}from"./add-circle-line-DOJqVT3s.js";import{d as j,x as q,r as p,o as A,c as G,b as r,u as e,e as J,h as l,f,R as b,a8 as h}from"./index-CRmU-Qpi.js";import"./form.vue_vue_type_script_setup_true_lang-Dd4jek5-.js";import"./selectUser.vue_vue_type_script_setup_true_lang-BPFKGfKn.js";import"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";import"./index-An8nOBwL.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const K={class:"main"},se=j({name:"grabHeadlines",__name:"index",setup(n){const{searchLabel:o,searchForm:a,onSearch:s,isShow:v,tableList:x,pagination:y,tableLabel:k,handleSizeChange:w,handleCurrentChange:L,openDialog:c,loading:S,handleDelete:P}=E();return q(()=>{s(a.value)}),(Q,t)=>{const m=p("el-button"),R=p("el-popconfirm"),B=p("pure-table");return A(),G("div",K,[r(F,{LabelList:e(o),formData:e(a),onHandleSearch:e(s)},null,8,["LabelList","formData","onHandleSearch"]),J("div",{ref:"contentRef",class:b(["flex",e(h)()?"flex-wrap":""])},[r(e(I),{title:"系统消息列表",class:b([e(v)&&!e(h)()?"!w-[60vw]":"w-full"]),columns:e(k),onRefresh:e(s)},{buttons:l(()=>[r(m,{type:"primary",icon:e(M)(e(O)),onClick:t[0]||(t[0]=i=>e(c)("新增",{}))},{default:l(()=>t[1]||(t[1]=[f(" 新增系统消息 ")])),_:1},8,["icon"])]),default:l(({size:i,dynamicColumns:D})=>[r(B,{ref:"tableRef",showOverflowTooltip:"","table-layout":"auto",loading:e(S),size:i,adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(x),columns:D,pagination:C(_({},e(y)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageSizeChange:e(w),onPageCurrentChange:e(L)},{operation:l(({row:d})=>[r(m,{link:"",type:"primary",size:i,onClick:z=>e(c)("编辑",d)},{default:l(()=>t[2]||(t[2]=[f(" 编辑 ")])),_:2},1032,["size","onClick"]),r(R,{title:"是否确认删除这条数据",onConfirm:z=>e(P)(d)},{reference:l(()=>[r(m,{link:"",type:"primary",size:i},{default:l(()=>t[3]||(t[3]=[f(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageSizeChange","onPageCurrentChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{se as default}; diff --git a/dist/static/js/index-CKpNtF5d.js b/dist/static/js/index-CKpNtF5d.js new file mode 100644 index 0000000..e07d01b --- /dev/null +++ b/dist/static/js/index-CKpNtF5d.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-1k8ze5BO.js";import"./hook-_9wHMMzO.js";import"./form.vue_vue_type_script_setup_true_lang-B5Zt0w7a.js";import"./activities-UkTzwAkp.js";import"./index-CRmU-Qpi.js";import"./index-CnAi1QxJ.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";export{o as default}; diff --git a/dist/static/js/index-CRmU-Qpi.js b/dist/static/js/index-CRmU-Qpi.js new file mode 100644 index 0000000..87e1984 --- /dev/null +++ b/dist/static/js/index-CRmU-Qpi.js @@ -0,0 +1,159 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static/js/index-i6U3xXNN.js","static/js/dark-DdIoJ4ZY.js","static/js/epTheme-Dbh1KLs6.js","static/js/hooks-ItYVRz1P.js","static/js/sortable.esm-7jaD_3Ar.js","static/css/index-vVk6sgu5.css","static/js/index-CH-QkARt.js","static/js/statistics-CvEV64pu.js","static/js/index-Cu34JgMz.js","static/css/index-CD87VaJl.css","static/css/statistics-BUn2wCLi.css","static/js/todoVIew-C7ApMOSc.js","static/css/todoVIew-DWGOajtX.css","static/js/chart-jUPx5-VX.js","static/js/ChartBar.vue_vue_type_script_setup_true_lang-BE_KgL2n.js","static/css/chart-DmHqcQdF.css","static/js/message-Dh5idbpX.js","static/css/message-p4uCyPL_.css","static/js/giftChart-CQVvbp7_.js","static/js/ChartLine.vue_vue_type_script_setup_true_lang-CDrbWLFd.js","static/css/giftChart-D2qWdBvJ.css","static/js/member-BodyTTmW.js","static/js/ChartRound.vue_vue_type_script_setup_true_lang-BOvu6zMf.js","static/css/member-CqAz6da2.css","static/js/map.vue_vue_type_script_setup_true_lang-DTNuIxRb.js","static/js/mapChart-B1V9FHya.js","static/css/index-8bVle4F9.css","static/js/frame-BxU_b3Ma.js","static/css/frame-C56j9Uki.css","static/js/form-Cf75gaCf.js","static/js/form.vue_vue_type_script_setup_true_lang-DBByDkeo.js","static/js/hook-D_OHMuaj.js","static/js/record.vue_vue_type_script_setup_true_lang-CPIKwi6k.js","static/js/activities-UkTzwAkp.js","static/js/index-CnAi1QxJ.js","static/js/index.vue_vue_type_script_setup_true_lang-1k8ze5BO.js","static/js/hook-_9wHMMzO.js","static/js/form.vue_vue_type_script_setup_true_lang-B5Zt0w7a.js","static/js/index-BBgU3-d3.js","static/js/add-circle-line-DOJqVT3s.js","static/js/record-ChS6cB6u.js","static/js/form-BNHnUU4s.js","static/js/index-CKpNtF5d.js","static/js/form-D2isGrIq.js","static/js/form.vue_vue_type_script_setup_true_lang-DMF49foQ.js","static/js/form-O2teWlyy.js","static/js/form.vue_vue_type_script_setup_true_lang-Bbwf4kUJ.js","static/js/hook-DB082g8o.js","static/js/index-BBYzeYsu.js","static/js/index.vue_vue_type_script_setup_true_lang-BmT-iFMK.js","static/js/hook-BON1Jb2T.js","static/js/record.vue_vue_type_script_setup_true_lang-Be7Z2604.js","static/js/index-D2bTTdRq.js","static/js/record-Cvl1NPJT.js","static/js/form-DUYXNDxS.js","static/js/form.vue_vue_type_script_setup_true_lang-D50B9usK.js","static/js/hook-DKoN1rt2.js","static/js/record.vue_vue_type_script_setup_true_lang-DDpuDBM8.js","static/js/index-BMZR6rHt.js","static/js/record-DNcfFVIz.js","static/js/form-yX7sXfaw.js","static/js/form.vue_vue_type_script_setup_true_lang-HMVJcCXl.js","static/js/permission-DJnI7MjS.js","static/js/hook-CJCd_xO4.js","static/js/admin-QtfaJQYK.js","static/js/password.vue_vue_type_script_setup_true_lang-BxW5V9xR.js","static/js/index-hikl-G13.js","static/js/password-7JxAT1cY.js","static/js/form-BnmMgVAT.js","static/js/form.vue_vue_type_script_setup_true_lang-BiFHMt8F.js","static/js/hook-C5HQCPQw.js","static/js/index-5Qt-ItvN.js","static/js/index.vue_vue_type_script_setup_true_lang-B9ljupwd.js","static/js/form-ygr4mpDG.js","static/js/form.vue_vue_type_script_setup_true_lang-C5Afdf2H.js","static/js/blindBox-BqHhL4EW.js","static/js/hook-B2DKEnNK.js","static/js/settingRule.vue_vue_type_script_setup_true_lang-DO9xMX7n.js","static/js/index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js","static/css/index-Bc0yn4dL.css","static/js/index-Oe2eME06.js","static/css/index-C_awioKq.css","static/js/settingRule-CtqkQ_ar.js","static/js/hook-BNdml3vY.js","static/js/xlsx-DaVhO591.js","static/js/index-Df_DWpRL.js","static/css/index-ljo_Sx4w.css","static/js/Turntable-BPqkB4cj.js","static/js/Turntable.vue_vue_type_script_setup_true_lang-B_gAyEw_.js","static/js/lotteryResults-DJYXQbLC.js","static/js/room-3H8Bx0CI.js","static/css/lotteryResults-BmBVMTZg.css","static/js/form-B9gWx11w.js","static/js/form.vue_vue_type_script_setup_true_lang-DgHrOfP6.js","static/js/hook-Bs2lJoDG.js","static/js/settingRule.vue_vue_type_script_setup_true_lang-DX7Hd4GC.js","static/js/index-DmN3DadU.js","static/css/index-CsoiJrbg.css","static/js/settingRule-BcZ5mArG.js","static/js/donateForm-BGq7Cfw9.js","static/js/donateForm.vue_vue_type_script_setup_true_lang-B3gVeo00.js","static/js/form-POVW6sL0.js","static/js/form.vue_vue_type_script_setup_true_lang-hEQYONMW.js","static/js/index-An8nOBwL.js","static/css/index-rgWhIoif.css","static/js/decorate-DdTDZW0a.js","static/js/hook-BrKWggcC.js","static/js/priceList.vue_vue_type_script_setup_true_lang-BsZbZjEf.js","static/js/priceForm.vue_vue_type_script_setup_true_lang-CvQgebEz.js","static/js/index-DrzyXp6g.js","static/js/priceForm-CsjgaOvP.js","static/js/priceList-Dq3qn4iM.js","static/js/hook-CB6HQ5Ga.js","static/js/index-DrJ0GYam.js","static/js/hook-BS06gPkL.js","static/js/index.vue_vue_type_script_setup_true_lang-Vno3adgp.js","static/js/Financial-DLXohchJ.js","static/js/index-rFDfxNzE.js","static/css/index-CapjNHYF.css","static/js/form-B9cDX7R8.js","static/js/form.vue_vue_type_script_setup_true_lang-CBlDgxjt.js","static/js/hook-BmZBh1OK.js","static/js/index-BeiEvCn3.js","static/css/index-DHBCqZE_.css","static/js/hook-BKhR1TsM.js","static/js/index-B2uAanJe.js","static/css/index-Cmq9fKXp.css","static/js/hook-DSIZoIz5.js","static/js/index-B0Qbphhm.js","static/js/form-D246VTjl.js","static/js/form.vue_vue_type_script_setup_true_lang-Di45cE4b.js","static/js/hook-D_nrE2eA.js","static/js/Inform-CWr9EIX8.js","static/js/index-Cvnzik25.js","static/js/form-CA_r-Szo.js","static/js/form.vue_vue_type_script_setup_true_lang-CjtOjwY0.js","static/js/hook-er-0LM8L.js","static/js/index-DHVF3Vzf.js","static/js/form-BjwbTjSP.js","static/js/form.vue_vue_type_script_setup_true_lang-B6o7fI6q.js","static/js/hook--onwngvW.js","static/js/index-BZ0jE3ZJ.js","static/js/hook-DkFMTKT0.js","static/js/invite-ZPZpvkxZ.js","static/js/index-DsNLkwti.js","static/js/hook-uIZx5iE-.js","static/js/index-CXEjGqxh.js","static/js/form-Cc2M_1qD.js","static/js/form.vue_vue_type_script_setup_true_lang-CeQi_z5K.js","static/js/hook-DIGAn0FT.js","static/js/level-CSC0PShd.js","static/js/index-B9NwEcnj.js","static/js/form-CU8EqV80.js","static/js/form.vue_vue_type_script_setup_true_lang-CiHdOBSE.js","static/js/hook-D_q42Z95.js","static/js/index-CgFJfKUe.js","static/js/hook-C-2VKI_q.js","static/js/statistics-Cc1WE90b.js","static/js/index-B_sG9_Dh.js","static/js/hook-BhTLTlo8.js","static/js/index-lFBSsz5R.js","static/js/hook-DOMvpZIW.js","static/js/index-BfXqD2Z-.js","static/js/hook-XPcsHtzL.js","static/js/index-CteCtjCE.js","static/css/index-CH7bv2s5.css","static/js/hook-DNFDkgGG.js","static/js/index-dYn4OuQ5.js","static/js/hook-Cu44oYHu.js","static/js/index-MWQ3JU8_.js","static/js/detail-Bv6_Xq4j.js","static/js/adolescent-Dk2B_RUL.js","static/css/detail-Cvn0KPTM.css","static/js/form-G3OBPRH4.js","static/js/form.vue_vue_type_script_setup_true_lang-BGJZIOyv.js","static/js/hook-Ci9wOtdj.js","static/js/index-C4fBkUk7.js","static/js/form-CUkJK272.js","static/js/form.vue_vue_type_script_setup_true_lang-CPgTaxRJ.js","static/js/hook-DpvhWbTb.js","static/js/index-DFwZ4E2_.js","static/js/form-CXsog6NK.js","static/js/form.vue_vue_type_script_setup_true_lang-De_iThI9.js","static/js/hook-CRyIzJir.js","static/js/index-D9JFsWL3.js","static/js/form-lFr5WlAf.js","static/js/form.vue_vue_type_script_setup_true_lang-Ch3nypJv.js","static/js/hook-Dh1L7jZK.js","static/js/index-BS7_oOYi.js","static/js/form-BmFIqB-O.js","static/js/form.vue_vue_type_script_setup_true_lang-BSrb17y8.js","static/js/hook-C9PUzCTc.js","static/js/settingRule.vue_vue_type_script_setup_true_lang-CJeQQ0t4.js","static/js/index-Ct0b-uer.js","static/css/index-B10ObC8o.css","static/js/settingRule-BOSvsGsW.js","static/js/detail-CLPQfK5X.js","static/css/detail-32G8NdXr.css","static/js/hook-CUSi51GM.js","static/js/dynamics-yhcp7wZB.js","static/js/index-D6W_sQFY.js","static/js/form-BQ-nIxbB.js","static/js/form.vue_vue_type_script_setup_true_lang-DxjpTHt9.js","static/js/hook-B10ePqPp.js","static/js/index-DKmufMq8.js","static/js/form-BHwZ36I5.js","static/js/form.vue_vue_type_script_setup_true_lang-BlmxE0Vv.js","static/js/hook-CjIFaqzN.js","static/js/gift-BjNBi56Q.js","static/js/index-CYcgSOAr.js","static/js/form-CkCLPV8z.js","static/js/form.vue_vue_type_script_setup_true_lang-CgloQVzt.js","static/js/hook-DvvFNjQd.js","static/js/index-WCTES6Qb.js","static/js/index-D_y0JdvO.js","static/css/index-Do8KbvHI.css","static/js/form-D02e1km0.js","static/js/form.vue_vue_type_script_setup_true_lang-Dd4jek5-.js","static/js/selectUser.vue_vue_type_script_setup_true_lang-BPFKGfKn.js","static/js/hook-By6PN52u.js","static/js/index-CJx9PbaV.js","static/js/selectUser-Baxbw5aN.js","static/js/hook-Cu2m7nUk.js","static/js/backpack-BEosm8mY.js","static/js/index-b2QGhSBk.js","static/js/form-PmvzrEjj.js","static/js/form.vue_vue_type_script_setup_true_lang-rMz_v8aN.js","static/js/hook-CHHiWwRk.js","static/js/newuserList-JxRjYKtu.js","static/js/index-Dj6n2UWl.js","static/js/banUser-CzmElq7T.js","static/js/banUser.vue_vue_type_script_setup_true_lang-C6NyfrKW.js","static/js/detail-CoKcup1p.js","static/css/detail-81IdFsv0.css","static/js/form-DKWZQSFz.js","static/js/form.vue_vue_type_script_setup_true_lang-DeQXcNsI.js","static/js/fundSetting-IrTyRv5s.js","static/js/fundSetting.vue_vue_type_script_setup_true_lang-B0HZiIqN.js","static/js/hook-7T2A1rw1.js","static/js/password.vue_vue_type_script_setup_true_lang-CWnP2x5O.js","static/js/searchMore.vue_vue_type_script_setup_true_lang-x7g0dVug.js","static/js/index-Cc_0L-Cy.js","static/css/index-BzsVZoWQ.css","static/js/password-B_UQtpXk.js","static/js/searchMore-CRjVM72Y.js","static/js/form-BZzRJel9.js","static/js/form.vue_vue_type_script_setup_true_lang-DOzyNmG6.js","static/js/hook-Cmz51VBR.js","static/js/index-C0LFxHqz.js","static/js/hook-CGQvpszg.js","static/js/index-rmU7m9kC.js","static/js/Results-CTbhkdbm.js","static/css/Results-CIaCk6ID.css","static/js/index-CzNuRbgv.js","static/js/statistics-CD2s0qhH.js","static/css/statistics-CEDBzmno.css","static/js/form-B4TnR98C.js","static/js/form.vue_vue_type_script_setup_true_lang-BuSWUZQX.js","static/js/hook-Dh7wG1Je.js","static/js/settingRule-C5k_xNPq.js","static/css/settingRule-CY_MS_Cx.css","static/js/index-BqQQwtyC.js","static/css/index-CLPKpxB9.css","static/js/form-D2R1oXbT.js","static/js/form.vue_vue_type_script_setup_true_lang-BoAlLsu7.js","static/js/hook-QVaAWfWn.js","static/js/index-C_Zp3d9X.js","static/js/form-DElwMeM_.js","static/js/form.vue_vue_type_script_setup_true_lang-DroLasXj.js","static/js/hook-CrUUUJJN.js","static/js/index-DyzFDIob.js","static/js/form-DXUOuedk.js","static/js/form.vue_vue_type_script_setup_true_lang-Cbivz3Ba.js","static/js/hook-D1E4JEIG.js","static/js/index-B2f9qT3k.js","static/js/form-BgAFnLOu.js","static/js/form.vue_vue_type_script_setup_true_lang-J4dbTMG5.js","static/js/index-BTQkAWUQ.js","static/js/expression-DA1ai6Y-.js","static/css/index-ETjYluae.css","static/js/form-jJLIPGwx.js","static/js/form.vue_vue_type_script_setup_true_lang-CD9wd64y.js","static/js/hook-Bpp-GyDv.js","static/js/index-CcSdTVq6.js","static/js/hook-BjKxPh4y.js","static/js/ruleform.vue_vue_type_script_setup_true_lang-CpPLnSJP.js","static/js/reward.vue_vue_type_script_setup_true_lang-7Tg4wqPi.js","static/js/index-BhmpNw57.js","static/js/reward-B2oumiHJ.js","static/js/ruleform-JLKhcDlj.js","static/js/demo-DDf_ewnH.js","static/css/demo-DoABRfIw.css","static/js/detail-Bwo4RQCm.js","static/js/detail.vue_vue_type_script_setup_true_lang-DwYwyiLJ.js","static/js/hook-rCjAVbXe.js","static/js/index-B3d3Ju_m.js","static/js/form-jK87XWm5.js","static/js/form.vue_vue_type_script_setup_true_lang-pYH7w3wd.js","static/js/hook-B3EaNBmR.js","static/js/index-B4RoZEnG.js","static/js/form-BtcpgtET.js","static/js/form.vue_vue_type_script_setup_true_lang-CjBoEdbv.js","static/js/hook-D3ivzqp-.js","static/js/index-2Igmpvq2.js","static/js/hook-CH1Mbh-O.js","static/js/index-EwQ01Ae3.js","static/js/Turntable-CE26Uy5Z.js","static/js/Turntable.vue_vue_type_script_setup_true_lang-LSWXEPtD.js","static/js/statistics-gtweHPF5.js","static/css/statistics-BBUe6U_B.css","static/js/Results-CDWDzDys.js","static/css/Results-C4S277kf.css","static/js/index-B1izZtpc.js","static/js/index.vue_vue_type_script_setup_true_lang-7qz1dg5T.js","static/js/statistics-B6YG3tm9.js","static/css/statistics-DIUkgvpT.css","static/js/detail-tHZGhNpK.js","static/css/detail-Df3WCLs6.css","static/js/form-vOGmFg76.js","static/css/form-GMiGL4tA.css","static/js/hook-D_VvVAo0.js","static/js/index-BYz_twjO.js","static/js/hook-sPkJBzMb.js","static/js/index-B2gtU51f.js","static/js/form-Dtdylii9.js","static/js/form.vue_vue_type_script_setup_true_lang-CHItqJrU.js","static/js/hook-B8dlrmJp.js","static/js/index-DwL6utlF.js","static/js/form-BWLS5Ow3.js","static/js/form.vue_vue_type_script_setup_true_lang-BTdh2pXv.js","static/js/hook-Cgu1CRpq.js","static/js/index-CcIJUKVI.js","static/js/form-CPcgeuLy.js","static/js/form.vue_vue_type_script_setup_true_lang-CczCLyB5.js","static/js/hook-zL8rQorN.js","static/js/index-C2Zdxys-.js","static/js/form-B3TNAD2z.js","static/js/form.vue_vue_type_script_setup_true_lang-DSh6_f4W.js","static/js/hook-D8f-8M1Z.js","static/js/index-ZJH550hN.js","static/js/form-Dydv0qVC.js","static/js/form.vue_vue_type_script_setup_true_lang-BmTzdXBw.js","static/js/hook-BP3Kkray.js","static/js/index-xIaISvWx.js","static/js/form-DfpZgn0P.js","static/js/form.vue_vue_type_script_setup_true_lang-DXbOk4OV.js","static/js/hook-HsyWGcg9.js","static/js/system-CqYheEHE.js","static/js/index-Gf7kgdIQ.js","static/js/hook-Cw4f7hxK.js","static/js/typeForm.vue_vue_type_script_setup_true_lang-DQr3mbVi.js","static/js/problemForm.vue_vue_type_script_setup_true_lang-CxLYiSAH.js","static/js/index-DTSPZmh0.js","static/css/index-nzVxZIjy.css","static/js/problemForm-DhCvb7rE.js","static/js/typeForm-kgA7NaMW.js","static/js/hook-nxxl-JO8.js","static/js/index-Dxv8yK_D.js","static/js/form-B3yIyDdM.js","static/js/form.vue_vue_type_script_setup_true_lang-B-fxyO5i.js","static/js/hook-DcGH6AK7.js","static/js/index-DbM4MTin.js","static/js/form-C0MZn3JX.js","static/js/form.vue_vue_type_script_setup_true_lang-DWbiX_hV.js","static/js/hook-BK0v_dXT.js","static/js/index-CSXUiThf.js","static/js/form-Y0OaDech.js","static/js/form.vue_vue_type_script_setup_true_lang-tv9ZrCTh.js","static/js/hook-B_Z2UEj_.js","static/js/index-DDJtvLE5.js","static/js/form-DL0yqwo3.js","static/js/form.vue_vue_type_script_setup_true_lang-DWkvuK7p.js","static/js/hook-BTAMor4e.js","static/js/memberList.vue_vue_type_script_setup_true_lang-BIA3qUx3.js","static/js/union-ZelC57cN.js","static/js/roomList.vue_vue_type_script_setup_true_lang-C3mqxAhb.js","static/js/mergeForm.vue_vue_type_script_setup_true_lang-CBC0VMWv.js","static/js/index-SWkJhadt.js","static/js/memberList-nyN3j1pZ.js","static/js/mergeForm-CNAcqCV3.js","static/js/roomList-vZAfCQ5p.js","static/js/form-CdcT1W8H.js","static/js/form.vue_vue_type_script_setup_true_lang-CMV64P_c.js","static/js/hook-DkPCSM4g.js","static/js/index-C4v5SHzn.js","static/js/form-Dm9Jh_9g.js","static/js/form.vue_vue_type_script_setup_true_lang-BIIr4FUi.js","static/js/hook-CvzxUpHj.js","static/js/index-BZ31fMr-.js","static/js/ChartBar-dEzbL1OS.js","static/js/ChartLine-DfOKTuMl.js","static/js/ChartRound-BaGFXPML.js","static/js/index-C9op5LST.js","static/js/columns-Dy-3Rh5O.js","static/css/index-D9LhvYuO.css","static/js/map-BdaFpA2n.js"])))=>i.map(i=>d[i]); +var JJ=Object.defineProperty,QJ=Object.defineProperties;var eQ=Object.getOwnPropertyDescriptors;var o0=Object.getOwnPropertySymbols;var HP=Object.prototype.hasOwnProperty,WP=Object.prototype.propertyIsEnumerable;var Mf=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),tQ=e=>{throw TypeError(e)},il=Math.pow,SS=(e,t,n)=>t in e?JJ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,X=(e,t)=>{for(var n in t||(t={}))HP.call(t,n)&&SS(e,n,t[n]);if(o0)for(var n of o0(t))WP.call(t,n)&&SS(e,n,t[n]);return e},_e=(e,t)=>QJ(e,eQ(t));var ja=(e,t)=>{var n={};for(var r in e)HP.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&o0)for(var r of o0(e))t.indexOf(r)<0&&WP.call(e,r)&&(n[r]=e[r]);return n};var Of=(e,t,n)=>SS(e,typeof t!="symbol"?t+"":t,n);var ut=(e,t,n)=>new Promise((r,a)=>{var o=l=>{try{s(n.next(l))}catch(u){a(u)}},i=l=>{try{s(n.throw(l))}catch(u){a(u)}},s=l=>l.done?r(l.value):Promise.resolve(l.value).then(o,i);s((n=n.apply(e,t)).next())}),Au=function(e,t){this[0]=e,this[1]=t},CS=(e,t,n)=>{var r=(i,s,l,u)=>{try{var c=n[i](s),f=(s=c.value)instanceof Au,h=c.done;Promise.resolve(f?s[0]:s).then(d=>f?r(i==="return"?i:"next",s[1]?{done:d.done,value:d.value}:d,l,u):l({value:d,done:h})).catch(d=>r("throw",d,l,u))}catch(d){u(d)}},a=i=>o[i]=s=>new Promise((l,u)=>r(i,s,l,u)),o={};return n=n.apply(e,t),o[Mf("asyncIterator")]=()=>o,a("next"),a("throw"),a("return"),o},sp=e=>{var t=e[Mf("asyncIterator")],n=!1,r,a={};return t==null?(t=e[Mf("iterator")](),r=o=>a[o]=i=>t[o](i)):(t=t.call(e),r=o=>a[o]=i=>{if(n){if(n=!1,o==="throw")throw i;return i}return n=!0,{done:!1,value:new Au(new Promise(s=>{var l=t[o](i);l instanceof Object||tQ("Object expected"),s(l)}),1)}}),a[Mf("iterator")]=()=>a,r("next"),"throw"in t?r("throw"):a.throw=o=>{throw o},"return"in t&&r("return"),a},UP=(e,t,n)=>(t=e[Mf("asyncIterator")])?t.call(e):(e=e[Mf("iterator")](),t={},n=(r,a)=>(a=e[r])&&(t[r]=o=>new Promise((i,s,l)=>(o=a.call(e,o),l=o.done,Promise.resolve(o.value).then(u=>i({value:u,done:l}),s)))),n("next"),n("return"),t);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const o of a)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(a){const o={};return a.integrity&&(o.integrity=a.integrity),a.referrerPolicy&&(o.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?o.credentials="include":a.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(a){if(a.ep)return;a.ep=!0;const o=n(a);fetch(a.href,o)}})();window.__VITE__PLUGIN__FAKE__SERVER__={meta:{name:"vite-plugin-fake-server",type:"module",version:"2.1.4",description:"A fake server plugin for Vite.",author:"Condor Hero",license:"MIT",homepage:"https://github.com/condorheroblog/vite-plugin-fake-server/blob/main/README.md",repository:{type:"git",url:"git+https://github.com/condorheroblog/vite-plugin-fake-server.git",directory:"packages/vite-plugin-fake-server"},bugs:{url:"https://github.com/condorheroblog/vite-plugin-fake-server/issues"},keywords:["vite-plugin-fake-server","vite-plugin-fake","vite-plugin-faker","vite-plugin-mock-server","vite-plugin-mock","faker-server"],exports:{".":{import:"./dist/index.mjs",require:"./dist/index.cjs"},"./client":{import:"./dist/client.mjs",require:"./dist/client.cjs"}},main:"dist/index.cjs",module:"dist/index.mjs",types:"dist/index.d.cts",typesVersions:{"*":{"*":["./dist/*","./dist/index.d.ts"]}},files:["dist"],scripts:{prepublishOnly:"nr build",test:"vitest",dev:"esno ./src/index.ts",build:"rimraf dist && rollup -c","build:watch":"rimraf dist && rollup -c -w",typecheck:"tsc --noEmit"},dependencies:{"bundle-import":"^0.0.2",chokidar:"^4.0.1","path-to-regexp":"^8.2.0",picocolors:"^1.1.1",tinyglobby:"^0.2.10"},devDependencies:{vite:"^6.0.3"},publishConfig:{access:"public",registry:"https://registry.npmjs.org"}},vitePluginFakeServerOptions:{include:["mock"],exclude:[],infixName:!1,extensions:["ts","js","mjs","cjs","cts","mts"],enableProd:!0,enableDev:!0,watch:!0,logger:!1,basename:"",headers:{},build:!1,http2:!0}};const nQ={path:"/permission",meta:{title:"权限管理",icon:"ep:lollipop",rank:10},children:[{path:"/permission/page/index",name:"PermissionPage",meta:{title:"页面权限",roles:["admin","common"]}},{path:"/permission/button",meta:{title:"按钮权限",roles:["admin","common"]},children:[{path:"/permission/button/router",component:"permission/button/index",name:"PermissionButtonRouter",meta:{title:"路由返回按钮权限",auths:["permission:btn:add","permission:btn:edit","permission:btn:delete"]}},{path:"/permission/button/login",component:"permission/button/perms",name:"PermissionButtonLogin",meta:{title:"登录接口返回按钮权限"}}]}]},rQ=[{url:"/get-async-routes",method:"get",response:()=>({success:!0,data:[nQ]})}],aQ=Object.freeze(Object.defineProperty({__proto__:null,default:rQ},Symbol.toStringTag,{value:"Module"})),oQ=[{url:"/login",method:"post",response:({body:e})=>e.username==="admin"?{success:!0,data:{avatar:"https://avatars.githubusercontent.com/u/44761321",username:"admin",nickname:"小铭",roles:["admin"],permissions:["*:*:*"],accessToken:"eyJhbGciOiJIUzUxMiJ9.admin",refreshToken:"eyJhbGciOiJIUzUxMiJ9.adminRefresh",expires:"2030/10/30 00:00:00"}}:{success:!0,data:{avatar:"https://avatars.githubusercontent.com/u/52823142",username:"common",nickname:"小林",roles:["common"],permissions:["permission:btn:add","permission:btn:edit"],accessToken:"eyJhbGciOiJIUzUxMiJ9.common",refreshToken:"eyJhbGciOiJIUzUxMiJ9.commonRefresh",expires:"2030/10/30 00:00:00"}}}],iQ=Object.freeze(Object.defineProperty({__proto__:null,default:oQ},Symbol.toStringTag,{value:"Module"})),sQ=[{url:"/refresh-token",method:"post",response:({body:e})=>e.refreshToken?{success:!0,data:{accessToken:"eyJhbGciOiJIUzUxMiJ9.newAdmin",refreshToken:"eyJhbGciOiJIUzUxMiJ9.newAdminRefresh",expires:"2030/10/30 23:59:59"}}:{success:!1,data:{}}}],lQ=Object.freeze(Object.defineProperty({__proto__:null,default:sQ},Symbol.toStringTag,{value:"Module"})),TS=Object.assign({"/mock/asyncRoutes.ts":aQ,"/mock/login.ts":iQ,"/mock/refreshToken.ts":lQ}),uQ=Object.keys(TS).reduce((e,t)=>{var r,a;const n=(r=TS[t])!=null?r:{};if(n.default)for(const o of Object.keys(n)){const i=(a=TS[t][o])!=null?a:[],s=Array.isArray(i)?[...i]:[i];return[...e,...s]}else return e},[]);window.__VITE__PLUGIN__FAKE__SERVER__.fakeModuleList=uQ;function cQ(){const e=I=>{try{return new URL(I),!0}catch(M){return!1}},t=(I,M)=>Array.prototype.slice.call(I,M);let n=null;typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?n=self:typeof global!="undefined"?n=global:window&&(n=window);const r=n,a=n.document,o=["load","loadend","loadstart"],i=["progress","abort","error","timeout"],s=I=>["returnValue","totalSize","position"].includes(I),l=function(I,M){for(let L in I){if(s(L))continue;const O=I[L];try{M[L]=O}catch(D){}}return M},u=function(I,M,L){const O=D=>function(z){const V={};for(let j in z){if(s(j))continue;const U=z[j];V[j]=U===M?L:U}return L.dispatchEvent(D,V)};for(let D of Array.from(I))L._has(D)&&(M[`on${D}`]=O(D))},c=function(I){if(a&&a.createEventObject!=null){const M=a.createEventObject();return M.type=I,M}try{return new Event(I)}catch(M){return{type:I}}},f=function(I){let M={};const L=D=>M[D]||[],O={};return O.addEventListener=function(D,z,V){M[D]=L(D),!(M[D].indexOf(z)>=0)&&(V=V===void 0?M[D].length:V,M[D].splice(V,0,z))},O.removeEventListener=function(D,z){if(D===void 0){M={};return}z===void 0&&(M[D]=[]);const V=L(D).indexOf(z);V!==-1&&L(D).splice(V,1)},O.dispatchEvent=function(){const D=t(arguments),z=D.shift();I||(D[0]=l(D[0],c(z)),Object.defineProperty(D[0],"target",{writable:!1,value:this}));const V=O[`on${z}`];V&&V.apply(O,D);const j=L(z).concat(L("*"));for(let U=0;U!!(M[D]||O[`on${D}`]),I&&(O.listeners=D=>t(L(D)),O.on=O.addEventListener,O.off=O.removeEventListener,O.fire=O.dispatchEvent,O.once=function(D,z){var V=function(){return O.off(D,V),z.apply(null,arguments)};return O.on(D,V)},O.destroy=()=>M={}),O},h=`\r +`,d=function(I){return Object.entries(I).map(([O,D])=>`${O.toLowerCase()}: ${D}`).join(h)},p=function(I,M){const L=I.split(h);M==null&&(M={});for(let O of L)if(/([^:]+):\s*(.+)/.test(O)){const D=RegExp.$1!=null?RegExp.$1.toLowerCase():void 0,z=RegExp.$2;M[D]==null&&(M[D]=z)}return M};var g={convert:function(I,M){switch(typeof I){case"object":return d(I);case"string":return p(I,M)}return[]}};const m=f(!0),w=I=>I===void 0?null:I,_=r.XMLHttpRequest,b=function(){const M=new _,L={};let O=null,D,z,V;var j=0;const U=function(){if(V.status=O||M.status,O!==-1&&(V.statusText=M.statusText),O!==-1){const ae=g.convert(M.getAllResponseHeaders());for(let K in ae){const Q=ae[K];if(!V.headers[K]){const pe=K.toLowerCase();V.headers[pe]=Q}}return}},ne=function(){if(!M.responseType||M.responseType==="text"){V.text=M.responseText,V.data=M.responseText;try{V.xml=M.responseXML}catch(ae){}}else M.responseType==="document"?(V.xml=M.responseXML,V.data=M.responseXML):V.data=M.response;"responseURL"in M&&(V.responseURL=M.responseURL)},ie=function(){ue.status=V.status,ue.statusText=V.statusText},fe=function(){var ae,K;if("text"in V&&(ue.responseText=V.text),"xml"in V&&(ue.responseXML=V.xml),"data"in V)ue.response=V.data;else{const Q={"":"",text:"",json:null,blob:new Blob([],{type:new Headers((ae=V.headers)!=null?ae:{}).get("content-type")}),arraybuffer:new ArrayBuffer};ue.response=Q[ue.responseType]}("responseURL"in V||L.url)&&(ue.responseURL=(K=V.responseURL)!=null?K:e(L.url)?L.url:new URL(location.href).origin+L.url)},G=function(){D||ue.dispatchEvent("load",{}),ue.dispatchEvent("loadend",{}),D&&(ue.readyState=0)},oe=function(ae){for(;ae>j&&j<4;)ue.readyState=++j,j===1&&ue.dispatchEvent("loadstart",{}),j===2&&ie(),j===4&&(ie(),fe()),ue.dispatchEvent("readystatechange",{}),j===4&&(L.async===!1?G():setTimeout(G,0))},se=function(ae){if(ae!==4){oe(ae);return}const K=m.listeners("after");var Q=function(){if(K.length>0){const pe=K.shift();pe.length===2?(pe(L,V),Q()):pe.length===3&&L.async?pe(L,V,Q):Q()}else oe(4)};Q()};var ue=f();L.xhr=ue,M.onreadystatechange=function(ae){try{M.readyState===2&&U()}catch(K){}M.readyState===4&&(z=!1,U(),ne()),se(M.readyState)};const he=function(){D=!0};ue.addEventListener("error",he),ue.addEventListener("timeout",he),ue.addEventListener("abort",he),ue.addEventListener("progress",function(ae){j<3?se(3):M.readyState<=3&&ue.dispatchEvent("readystatechange",{})}),"withCredentials"in M&&(ue.withCredentials=!1),ue.status=0;for(let ae of Array.from(i.concat(o)))ue[`on${ae}`]=null;if(ue.open=function(ae,K,Q,pe,we){j=0,D=!1,z=!1,L.headers={},L.headerNames={},L.status=0,L.method=ae,L.url=K,L.async=Q!==!1,L.user=pe,L.pass=we,V={},V.headers={},se(1)},ue.send=function(ae){let K,Q;for(K of["type","timeout","withCredentials"])Q=K==="type"?"responseType":K,Q in ue&&(L[K]=ue[Q]);L.body=ae;const pe=function(){u(i,M,ue),ue.upload&&u(i.concat(o),M.upload,ue.upload),z=!0,M.open(L.method,L.url,L.async,L.user,L.pass);for(K of["type","timeout","withCredentials"])Q=K==="type"?"responseType":K,K in L&&(M[Q]=L[K]);for(let be in L.headers){const Ce=L.headers[be];be&&M.setRequestHeader(be,Ce)}M.send(L.body)},we=m.listeners("before");var me=function(){if(!we.length)return pe();const be=function(ke){if(typeof ke=="object"&&(typeof ke.status=="number"||typeof V.status=="number")){l(ke,V),"data"in ke||(ke.data=ke.response||ke.text),se(4);return}me()};be.head=function(ke){l(ke,V),se(2)},be.progress=function(ke){l(ke,V),se(3)};const Ce=we.shift();Ce.length===1?be(Ce(L)):Ce.length===2&&L.async?Ce(L,be):be()};me()},ue.abort=function(){O=-1,z?M.abort():ue.dispatchEvent("abort",{})},ue.setRequestHeader=function(ae,K){const Q=ae!=null?ae.toLowerCase():void 0,pe=L.headerNames[Q]=L.headerNames[Q]||ae;L.headers[pe]&&(K=L.headers[pe]+", "+K),L.headers[pe]=K},ue.getResponseHeader=ae=>w(V.headers[ae?ae.toLowerCase():void 0]),ue.getAllResponseHeaders=()=>w(g.convert(V.headers)),M.overrideMimeType&&(ue.overrideMimeType=function(){M.overrideMimeType.apply(M,arguments)}),M.upload){let ae=f();ue.upload=ae,L.upload=ae}return ue.UNSENT=0,ue.OPENED=1,ue.HEADERS_RECEIVED=2,ue.LOADING=3,ue.DONE=4,ue.response="",ue.responseText="",ue.responseXML=null,ue.readyState=0,ue.statusText="",ue.responseType="",ue};b.UNSENT=0,b.OPENED=1,b.HEADERS_RECEIVED=2,b.LOADING=3,b.DONE=4;var S={patch(){_&&(r.XMLHttpRequest=b)},unpatch(){_&&(r.XMLHttpRequest=_)},Native:_,Xhook:b};function C(I,M){var L={};for(var O in I)Object.prototype.hasOwnProperty.call(I,O)&&M.indexOf(O)<0&&(L[O]=I[O]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,O=Object.getOwnPropertySymbols(I);DL[O]=I[O]),L}function k(I){return I instanceof Headers?A([...I.entries()]):Array.isArray(I)?A(I):I}function A(I){return I.reduce((M,[L,O])=>(M[L]=O,M),{})}const P=function(I,M={headers:{}}){let L=Object.assign(Object.assign({},M),{isFetch:!0});if(I instanceof Request){const z=E(I),V=Object.assign(Object.assign({},k(z.headers)),k(L.headers));L=Object.assign(Object.assign(Object.assign({},z),M),{headers:V,acceptedRequest:!0,isFetch:!0})}else L.url=I;const O=m.listeners("before"),D=m.listeners("after");return new Promise(function(z,V){let j=z;const U=function(G){if(!D.length)return j(G);const oe=D.shift();return oe.length===2?(oe(L,G),U(G)):oe.length===3?oe(L,G,U):U(G)},ne=function(G){if(G!==void 0){const oe=new Response(G.body||G.text,G);Object.defineProperty(oe,"url",{value:e(L.url)?L.url:new URL(location.href).origin+L.url}),z(oe),U(oe);return}ie()},ie=function(){if(!O.length){fe();return}const G=O.shift();if(G.length===1)return ne(G(L));if(G.length===2)return G(L,ne)},fe=()=>T(this,void 0,void 0,function*(){const{url:G,isFetch:oe,acceptedRequest:se}=L,ue=C(L,["url","isFetch","acceptedRequest"]);return I instanceof Request&&ue.body instanceof ReadableStream&&(ue.body=yield new Response(ue.body).text()),x(G,ue).then(he=>U(he)).catch(function(he){return j=V,U(he),V(he)})});ie()})};var $={patch(){x&&(r.fetch=P)},unpatch(){x&&(r.fetch=x)},Native:x,Xhook:P};const B=m;return B.EventEmitter=f,B.before=function(I,M){if(I.length<1||I.length>2)throw"invalid hook";return B.on("before",I,M)},B.after=function(I,M){if(I.length<2||I.length>3)throw"invalid hook";return B.on("after",I,M)},B.enable=function(){S.patch(),$.patch()},B.disable=function(){S.unpatch(),$.unpatch()},B.XMLHttpRequest=S.Native,B.fetch=$.Native,B.headers=g.convert,B.enable(),B}window.__VITE__PLUGIN__FAKE__SERVER__.xhook=cQ();window.__VITE__PLUGIN__FAKE__SERVER__.pathToRegexp=function(){return function(e){var t={};Object.defineProperty(t,"__esModule",{value:!0}),e.TokenData=t.TokenData=void 0;var n=t.parse=w,r=t.compile=_,a=t.match=C,o=t.pathToRegexp=T,i=t.stringify=A;const s="/",l=B=>B,u=/^[$_\p{ID_Start}]$/u,c=/^[$\u200c\u200d\p{ID_Continue}]$/u,f="https://git.new/pathToRegexpError",h={"{":"{","}":"}","(":"(",")":")","[":"[","]":"]","+":"+","?":"?","!":"!"};function d(B){return B.replace(/[{}()\[\]+?!:*]/g,"\\$&")}function p(B){return B.replace(/[.+*?^${}()[\]|/\\]/g,"\\$&")}function*v(B){const I=[...B];let M=0;function L(){let O="";if(u.test(I[++M]))for(O+=I[M];c.test(I[++M]);)O+=I[M];else if(I[M]==='"'){let D=M;for(;MS(O,I,M));return O=>{const D=[""];for(const z of L){const[V,...j]=z(O);D[0]+=V,D.push(...j)}return D}}function S(B,I,M){if(B.type==="text")return()=>[B.value];if(B.type==="group"){const O=b(B.tokens,I,M);return D=>{const[z,...V]=O(D);return V.length?[""]:[z]}}const L=M||l;return B.type==="wildcard"&&M!==!1?O=>{const D=O[B.name];if(D==null)return["",B.name];if(!Array.isArray(D)||D.length===0)throw new TypeError(`Expected "${B.name}" to be a non-empty array`);return[D.map((z,V)=>{if(typeof z!="string")throw new TypeError(`Expected "${B.name}/${V}" to be a string`);return L(z)}).join(I)]}:O=>{const D=O[B.name];if(D==null)return["",B.name];if(typeof D!="string")throw new TypeError(`Expected "${B.name}" to be a string`);return[L(D)]}}function C(B,I={}){const{decode:M=decodeURIComponent,delimiter:L=s}=I,{regexp:O,keys:D}=T(B,I),z=D.map(V=>M===!1?l:V.type==="param"?M:j=>j.split(L).map(M));return function(j){const U=O.exec(j);if(!U)return!1;const ne=U[0],ie=Object.create(null);for(let fe=1;feG instanceof m?G:w(G,I));for(const{tokens:G}of ne)for(const oe of x(G,0,[])){const se=E(oe,M,z);V.push(se)}let ie=`^(?:${V.join("|")})`;return D&&(ie+=`(?:${p(M)}$)?`),ie+=L?"$":`(?=${p(M)}|$)`,{regexp:new RegExp(ie,j),keys:z}}function*x(B,I,M){if(I===B.length)return yield M;const L=B[I];if(L.type==="group"){const O=M.slice();for(const D of x(L.tokens,0,O))yield*sp(x(B,I+1,D))}else M.push(L);yield*sp(x(B,I+1,M))}function E(B,I,M){let L="",O="",D=!0;for(let z=0;zc.test(L)):!1}function $(B){return(B==null?void 0:B.type)!=="text"?!0:!c.test(B.value[0])}e.compile=r,e.default=t,e.match=a,e.parse=n,e.pathToRegexp=o,e.stringify=i,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}(this.pathToRegexp=this.pathToRegexp||{}),this.pathToRegexp}.apply({});const fQ=window.__VITE__PLUGIN__FAKE__SERVER__.fakeModuleList,jP=window.__VITE__PLUGIN__FAKE__SERVER__.pathToRegexp;var sB;const dQ=(sB=jP.match)!=null?sB:jP.default.match;window.__VITE__PLUGIN__FAKE__SERVER__.xhook.before(function(e,t){return ut(this,null,function*(){function n(l){return new Promise(u=>{const c=setTimeout(()=>{u(c),clearTimeout(c)},l)})}function r(l){let u="";try{u=JSON.parse(l)}catch(c){u=l}return u}function a(){return ut(this,arguments,function*(l={},u=[],c={}){const{match:f,basename:h="",defaultTimeout:d=0,globalResponseHeaders:p={}}=c;function v(g,m){const w=new URL(g,"http://localhost:5173/").pathname,_=new URL(m,"http://localhost:5173/").pathname;return w.endsWith("/")?w.slice(0,-1)+_:w+_}if(l.url){const g=new URL(l.url,"http://localhost:5173/"),m=g.pathname,w=u.find(_=>{var T,x;if(!m||!_||!_.url)return!1;const b=(T=_.method)!=null?T:"GET",S=(x=l.method)!=null?x:"GET";if(b.toUpperCase()!==S.toUpperCase())return!1;const C=v(h,_.url);return!!f(C)(m)});if(w){const{response:_,rawResponse:b,timeout:S=d,statusCode:C,statusText:T,url:x,headers:E={}}=w;S&&(yield n(S));const k=v(h,x),A=f(k,{encode:encodeURI}),P=g.searchParams,$={};for(const[I,M]of P.entries())if(Object.prototype.hasOwnProperty.call($,I)){const L=$[I];Array.isArray(L)?L.push(M):$[I]=[L,M]}else $[I]=M;let B={};if(m){const I=A(m);I&&(B=I.params)}return{response:_,rawResponse:b,timeout:S,statusCode:C!=null?C:200,statusText:T,url:l.url,query:$,params:B,responseHeaders:new Headers(X(X({},p),E))}}}})}const o={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a Teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"};function i(l){const u={};for(const[c,f]of l.entries())u[c]=f;return u}const s=yield a(e,fQ,{match:dQ,basename:"",defaultTimeout:void 0,globalResponseHeaders:{}});if(s){const{response:l,statusCode:u,statusText:c=o[u],url:f,query:h,params:d,responseHeaders:p}=s!=null?s:{},v="",g=typeof l=="function",m={};for(const _ in e.headers)m[_.toLowerCase()]=e.headers[_];const w=!g||(yield Promise.resolve(l({url:f,body:r(e.body),rawBody:e.body,query:h,params:d,headers:m})));if(e.isFetch)typeof w=="string"?(p.get("Content-Type")||p.set("Content-Type","text/plain"),t(new Response(g?w:null,{statusText:v,status:u,headers:i(p)}))):(p.get("Content-Type")||p.set("Content-Type","application/json"),t(new Response(g?JSON.stringify(w,null,2):null,{statusText:v,status:u,headers:i(p)})));else{const _=g?{data:w}:{};if(!e.type||e.type.toLowerCase()==="text")p.get("Content-Type")||p.set("Content-Type","text/plain"),t(_e(X({statusText:v,status:u,text:w},_),{headers:i(p)}));else if(e.type.toLowerCase()==="json")p.get("Content-Type")||p.set("Content-Type","application/json"),t(_e(X({statusText:v,status:u},_),{headers:i(p)}));else if(e.type.toLowerCase()==="document"){p.get("Content-Type")||p.set("Content-Type","application/xml");const S=new DOMParser().parseFromString(w,"application/xml");t({statusText:v,status:u,xml:S,data:S,headers:i(p)})}else t(_e(X({statusText:v,status:u},_),{headers:i(p)}))}}else t()})});/** +* @vue/shared v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function w_(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const vn={},Cd=[],rn=()=>{},hQ=()=>!1,im=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),WA=e=>e.startsWith("onUpdate:"),$n=Object.assign,UA=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},pQ=Object.prototype.hasOwnProperty,Vt=(e,t)=>pQ.call(e,t),Me=Array.isArray,Td=e=>Rh(e)==="[object Map]",mf=e=>Rh(e)==="[object Set]",eu=e=>Rh(e)==="[object Date]",vQ=e=>Rh(e)==="[object RegExp]",Ge=e=>typeof e=="function",Ze=e=>typeof e=="string",pi=e=>typeof e=="symbol",_t=e=>e!==null&&typeof e=="object",jd=e=>(_t(e)||Ge(e))&&Ge(e.then)&&Ge(e.catch),lB=Object.prototype.toString,Rh=e=>lB.call(e),gQ=e=>Rh(e).slice(8,-1),qc=e=>Rh(e)==="[object Object]",jA=e=>Ze(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,xd=w_(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),S_=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},mQ=/-(\w)/g,gr=S_(e=>e.replace(mQ,(t,n)=>n?n.toUpperCase():"")),yQ=/\B([A-Z])/g,la=S_(e=>e.replace(yQ,"-$1").toLowerCase()),Ih=S_(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ed=S_(e=>e?`on${Ih(e)}`:""),aa=(e,t)=>!Object.is(e,t),kd=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},B1=e=>{const t=parseFloat(e);return isNaN(t)?e:t},F1=e=>{const t=Ze(e)?Number(e):NaN;return isNaN(t)?e:t};let KP;const C_=()=>KP||(KP=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{}),bQ="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",_Q=w_(bQ);function Xe(e){if(Me(e)){const t={};for(let n=0;n{if(n){const r=n.split(SQ);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function F(e){let t="";if(Ze(e))t=e;else if(Me(e))for(let n=0;ntu(n,t))}const fB=e=>!!(e&&e.__v_isRef===!0),Re=e=>Ze(e)?e:e==null?"":Me(e)||_t(e)&&(e.toString===lB||!Ge(e.toString))?fB(e)?Re(e.value):JSON.stringify(e,dB,2):String(e),dB=(e,t)=>fB(t)?dB(e,t.value):Td(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,a],o)=>(n[xS(r,o)+" =>"]=a,n),{})}:mf(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>xS(n))}:pi(t)?xS(t):_t(t)&&!Me(t)&&!qc(t)?String(t):t,xS=(e,t="")=>{var n;return pi(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let ea;class KA{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ea,!t&&ea&&(this.index=(ea.scopes||(ea.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(lv){let t=lv;for(lv=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;sv;){let t=sv;for(sv=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function vB(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function gB(e){let t,n=e.depsTail,r=n;for(;r;){const a=r.prevDep;r.version===-1?(r===n&&(n=a),YA(r),AQ(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=a}e.deps=t,e.depsTail=n}function tx(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(mB(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function mB(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Uv))return;e.globalVersion=Uv;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!tx(e)){e.flags&=-3;return}const n=Fn,r=li;Fn=e,li=!0;try{vB(e);const a=e.fn(e._value);(t.version===0||aa(a,e._value))&&(e._value=a,t.version++)}catch(a){throw t.version++,a}finally{Fn=n,li=r,gB(e),e.flags&=-3}}function YA(e,t=!1){const{dep:n,prevSub:r,nextSub:a}=e;if(r&&(r.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)YA(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function AQ(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function MQ(e,t){e.effect instanceof Wv&&(e=e.effect.fn);const n=new Wv(e);t&&$n(n,t);try{n.run()}catch(a){throw n.stop(),a}const r=n.run.bind(n);return r.effect=n,r}function OQ(e){e.effect.stop()}let li=!0;const yB=[];function pu(){yB.push(li),li=!1}function vu(){const e=yB.pop();li=e===void 0?!0:e}function GP(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Fn;Fn=void 0;try{t()}finally{Fn=n}}}let Uv=0,PQ=class{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}};class E_{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Fn||!li||Fn===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Fn)n=this.activeLink=new PQ(Fn,this),Fn.deps?(n.prevDep=Fn.depsTail,Fn.depsTail.nextDep=n,Fn.depsTail=n):Fn.deps=Fn.depsTail=n,bB(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Fn.depsTail,n.nextDep=void 0,Fn.depsTail.nextDep=n,Fn.depsTail=n,Fn.deps===n&&(Fn.deps=r)}return n}trigger(t){this.version++,Uv++,this.notify(t)}notify(t){GA();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{qA()}}}function bB(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)bB(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const V1=new WeakMap,Ac=Symbol(""),nx=Symbol(""),jv=Symbol("");function Br(e,t,n){if(li&&Fn){let r=V1.get(e);r||V1.set(e,r=new Map);let a=r.get(n);a||(r.set(n,a=new E_),a.map=r,a.key=n),a.track()}}function Ls(e,t,n,r,a,o){const i=V1.get(e);if(!i){Uv++;return}const s=l=>{l&&l.trigger()};if(GA(),t==="clear")i.forEach(s);else{const l=Me(e),u=l&&jA(n);if(l&&n==="length"){const c=Number(r);i.forEach((f,h)=>{(h==="length"||h===jv||!pi(h)&&h>=c)&&s(f)})}else switch((n!==void 0||i.has(void 0))&&s(i.get(n)),u&&s(i.get(jv)),t){case"add":l?u&&s(i.get("length")):(s(i.get(Ac)),Td(e)&&s(i.get(nx)));break;case"delete":l||(s(i.get(Ac)),Td(e)&&s(i.get(nx)));break;case"set":Td(e)&&s(i.get(Ac));break}}qA()}function RQ(e,t){const n=V1.get(e);return n&&n.get(t)}function Pf(e){const t=Xt(e);return t===e?t:(Br(t,"iterate",jv),eo(e)?t:t.map(Fr))}function k_(e){return Br(e=Xt(e),"iterate",jv),e}const IQ={__proto__:null,[Symbol.iterator](){return kS(this,Symbol.iterator,Fr)},concat(...e){return Pf(this).concat(...e.map(t=>Me(t)?Pf(t):t))},entries(){return kS(this,"entries",e=>(e[1]=Fr(e[1]),e))},every(e,t){return Ts(this,"every",e,t,void 0,arguments)},filter(e,t){return Ts(this,"filter",e,t,n=>n.map(Fr),arguments)},find(e,t){return Ts(this,"find",e,t,Fr,arguments)},findIndex(e,t){return Ts(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ts(this,"findLast",e,t,Fr,arguments)},findLastIndex(e,t){return Ts(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ts(this,"forEach",e,t,void 0,arguments)},includes(...e){return AS(this,"includes",e)},indexOf(...e){return AS(this,"indexOf",e)},join(e){return Pf(this).join(e)},lastIndexOf(...e){return AS(this,"lastIndexOf",e)},map(e,t){return Ts(this,"map",e,t,void 0,arguments)},pop(){return lp(this,"pop")},push(...e){return lp(this,"push",e)},reduce(e,...t){return qP(this,"reduce",e,t)},reduceRight(e,...t){return qP(this,"reduceRight",e,t)},shift(){return lp(this,"shift")},some(e,t){return Ts(this,"some",e,t,void 0,arguments)},splice(...e){return lp(this,"splice",e)},toReversed(){return Pf(this).toReversed()},toSorted(e){return Pf(this).toSorted(e)},toSpliced(...e){return Pf(this).toSpliced(...e)},unshift(...e){return lp(this,"unshift",e)},values(){return kS(this,"values",Fr)}};function kS(e,t,n){const r=k_(e),a=r[t]();return r!==e&&!eo(e)&&(a._next=a.next,a.next=()=>{const o=a._next();return o.value&&(o.value=n(o.value)),o}),a}const DQ=Array.prototype;function Ts(e,t,n,r,a,o){const i=k_(e),s=i!==e&&!eo(e),l=i[t];if(l!==DQ[t]){const f=l.apply(e,o);return s?Fr(f):f}let u=n;i!==e&&(s?u=function(f,h){return n.call(this,Fr(f),h,e)}:n.length>2&&(u=function(f,h){return n.call(this,f,h,e)}));const c=l.call(i,u,r);return s&&a?a(c):c}function qP(e,t,n,r){const a=k_(e);let o=n;return a!==e&&(eo(e)?n.length>3&&(o=function(i,s,l){return n.call(this,i,s,l,e)}):o=function(i,s,l){return n.call(this,i,Fr(s),l,e)}),a[t](o,...r)}function AS(e,t,n){const r=Xt(e);Br(r,"iterate",jv);const a=r[t](...n);return(a===-1||a===!1)&&Gd(n[0])?(n[0]=Xt(n[0]),r[t](...n)):a}function lp(e,t,n=[]){pu(),GA();const r=Xt(e)[t].apply(e,n);return qA(),vu(),r}const LQ=w_("__proto__,__v_isRef,__isVue"),_B=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(pi));function $Q(e){pi(e)||(e=String(e));const t=Xt(this);return Br(t,"has",e),t.hasOwnProperty(e)}class wB{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const a=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!a;if(n==="__v_isReadonly")return a;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(a?o?kB:EB:o?xB:TB).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=Me(t);if(!a){let l;if(i&&(l=IQ[n]))return l;if(n==="hasOwnProperty")return $Q}const s=Reflect.get(t,n,Gt(t)?t:r);return(pi(n)?_B.has(n):LQ(n))||(a||Br(t,"get",n),o)?s:Gt(s)?i&&jA(n)?s:s.value:_t(s)?a?gu(s):zt(s):s}}class SB extends wB{constructor(t=!1){super(!1,t)}set(t,n,r,a){let o=t[n];if(!this._isShallow){const l=nu(o);if(!eo(r)&&!nu(r)&&(o=Xt(o),r=Xt(r)),!Me(t)&&Gt(o)&&!Gt(r))return l?!1:(o.value=r,!0)}const i=Me(t)&&jA(n)?Number(n)e,i0=e=>Reflect.getPrototypeOf(e);function zQ(e,t,n){return function(...r){const a=this.__v_raw,o=Xt(a),i=Td(o),s=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=a[e](...r),c=n?rx:t?ax:Fr;return!t&&Br(o,"iterate",l?nx:Ac),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:s?[c(f[0]),c(f[1])]:c(f),done:h}},[Symbol.iterator](){return this}}}}function s0(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function HQ(e,t){const n={get(a){const o=this.__v_raw,i=Xt(o),s=Xt(a);e||(aa(a,s)&&Br(i,"get",a),Br(i,"get",s));const{has:l}=i0(i),u=t?rx:e?ax:Fr;if(l.call(i,a))return u(o.get(a));if(l.call(i,s))return u(o.get(s));o!==i&&o.get(a)},get size(){const a=this.__v_raw;return!e&&Br(Xt(a),"iterate",Ac),Reflect.get(a,"size",a)},has(a){const o=this.__v_raw,i=Xt(o),s=Xt(a);return e||(aa(a,s)&&Br(i,"has",a),Br(i,"has",s)),a===s?o.has(a):o.has(a)||o.has(s)},forEach(a,o){const i=this,s=i.__v_raw,l=Xt(s),u=t?rx:e?ax:Fr;return!e&&Br(l,"iterate",Ac),s.forEach((c,f)=>a.call(o,u(c),u(f),i))}};return $n(n,e?{add:s0("add"),set:s0("set"),delete:s0("delete"),clear:s0("clear")}:{add(a){!t&&!eo(a)&&!nu(a)&&(a=Xt(a));const o=Xt(this);return i0(o).has.call(o,a)||(o.add(a),Ls(o,"add",a,a)),this},set(a,o){!t&&!eo(o)&&!nu(o)&&(o=Xt(o));const i=Xt(this),{has:s,get:l}=i0(i);let u=s.call(i,a);u||(a=Xt(a),u=s.call(i,a));const c=l.call(i,a);return i.set(a,o),u?aa(o,c)&&Ls(i,"set",a,o):Ls(i,"add",a,o),this},delete(a){const o=Xt(this),{has:i,get:s}=i0(o);let l=i.call(o,a);l||(a=Xt(a),l=i.call(o,a)),s&&s.call(o,a);const u=o.delete(a);return l&&Ls(o,"delete",a,void 0),u},clear(){const a=Xt(this),o=a.size!==0,i=a.clear();return o&&Ls(a,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(a=>{n[a]=zQ(a,e,t)}),n}function A_(e,t){const n=HQ(e,t);return(r,a,o)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?r:Reflect.get(Vt(n,a)&&a in r?n:r,a,o)}const WQ={get:A_(!1,!1)},UQ={get:A_(!1,!0)},jQ={get:A_(!0,!1)},KQ={get:A_(!0,!0)},TB=new WeakMap,xB=new WeakMap,EB=new WeakMap,kB=new WeakMap;function GQ(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function qQ(e){return e.__v_skip||!Object.isExtensible(e)?0:GQ(gQ(e))}function zt(e){return nu(e)?e:O_(e,!1,NQ,WQ,TB)}function M_(e){return O_(e,!1,FQ,UQ,xB)}function gu(e){return O_(e,!0,BQ,jQ,EB)}function YQ(e){return O_(e,!0,VQ,KQ,kB)}function O_(e,t,n,r,a){if(!_t(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=a.get(e);if(o)return o;const i=qQ(e);if(i===0)return e;const s=new Proxy(e,i===2?r:n);return a.set(e,s),s}function Qa(e){return nu(e)?Qa(e.__v_raw):!!(e&&e.__v_isReactive)}function nu(e){return!!(e&&e.__v_isReadonly)}function eo(e){return!!(e&&e.__v_isShallow)}function Gd(e){return e?!!e.__v_raw:!1}function Xt(e){const t=e&&e.__v_raw;return t?Xt(t):e}function ui(e){return!Vt(e,"__v_skip")&&Object.isExtensible(e)&&uB(e,"__v_skip",!0),e}const Fr=e=>_t(e)?zt(e):e,ax=e=>_t(e)?gu(e):e;function Gt(e){return e?e.__v_isRef===!0:!1}function H(e){return AB(e,!1)}function gn(e){return AB(e,!0)}function AB(e,t){return Gt(e)?e:new XQ(e,t)}class XQ{constructor(t,n){this.dep=new E_,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Xt(t),this._value=n?t:Fr(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||eo(t)||nu(t);t=r?t:Xt(t),aa(t,n)&&(this._rawValue=t,this._value=r?t:Fr(t),this.dep.trigger())}}function ZQ(e){e.dep&&e.dep.trigger()}function y(e){return Gt(e)?e.value:e}function JQ(e){return Ge(e)?e():y(e)}const QQ={get:(e,t,n)=>t==="__v_raw"?e:y(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const a=e[t];return Gt(a)&&!Gt(n)?(a.value=n,!0):Reflect.set(e,t,n,r)}};function XA(e){return Qa(e)?e:new Proxy(e,QQ)}class eee{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new E_,{get:r,set:a}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=a}get value(){return this._value=this._get()}set value(t){this._set(t)}}function ZA(e){return new eee(e)}function rr(e){const t=Me(e)?new Array(e.length):{};for(const n in e)t[n]=MB(e,n);return t}class tee{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return RQ(Xt(this._object),this._key)}}class nee{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Jt(e,t,n){return Gt(e)?e:Ge(e)?new nee(e):_t(e)&&arguments.length>1?MB(e,t,n):H(e)}function MB(e,t,n){const r=e[t];return Gt(r)?r:new tee(e,t,n)}class ree{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new E_(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Uv-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Fn!==this)return pB(this,!0),!0}get value(){const t=this.dep.track();return mB(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function aee(e,t,n=!1){let r,a;return Ge(e)?r=e:(r=e.get,a=e.set),new ree(r,a,n)}const oee={GET:"get",HAS:"has",ITERATE:"iterate"},iee={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},l0={},z1=new WeakMap;let xl;function see(){return xl}function OB(e,t=!1,n=xl){if(n){let r=z1.get(n);r||z1.set(n,r=[]),r.push(e)}}function lee(e,t,n=vn){const{immediate:r,deep:a,once:o,scheduler:i,augmentJob:s,call:l}=n,u=b=>a?b:eo(b)||a===!1||a===0?$s(b,1):$s(b);let c,f,h,d,p=!1,v=!1;if(Gt(e)?(f=()=>e.value,p=eo(e)):Qa(e)?(f=()=>u(e),p=!0):Me(e)?(v=!0,p=e.some(b=>Qa(b)||eo(b)),f=()=>e.map(b=>{if(Gt(b))return b.value;if(Qa(b))return u(b);if(Ge(b))return l?l(b,2):b()})):Ge(e)?t?f=l?()=>l(e,2):e:f=()=>{if(h){pu();try{h()}finally{vu()}}const b=xl;xl=c;try{return l?l(e,3,[d]):e(d)}finally{xl=b}}:f=rn,t&&a){const b=f,S=a===!0?1/0:a;f=()=>$s(b(),S)}const g=Dh(),m=()=>{c.stop(),g&&g.active&&UA(g.effects,c)};if(o&&t){const b=t;t=(...S)=>{b(...S),m()}}let w=v?new Array(e.length).fill(l0):l0;const _=b=>{if(!(!(c.flags&1)||!c.dirty&&!b))if(t){const S=c.run();if(a||p||(v?S.some((C,T)=>aa(C,w[T])):aa(S,w))){h&&h();const C=xl;xl=c;try{const T=[S,w===l0?void 0:v&&w[0]===l0?[]:w,d];l?l(t,3,T):t(...T),w=S}finally{xl=C}}}else c.run()};return s&&s(_),c=new Wv(f),c.scheduler=i?()=>i(_,!1):_,d=b=>OB(b,!1,c),h=c.onStop=()=>{const b=z1.get(c);if(b){if(l)l(b,4);else for(const S of b)S();z1.delete(c)}},t?r?_(!0):w=c.run():i?i(_.bind(null,!0),!0):c.run(),m.pause=c.pause.bind(c),m.resume=c.resume.bind(c),m.stop=m,m}function $s(e,t=1/0,n){if(t<=0||!_t(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Gt(e))$s(e.value,t,n);else if(Me(e))for(let r=0;r{$s(r,t,n)});else if(qc(e)){for(const r in e)$s(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&$s(e[r],t,n)}return e}/** +* @vue/runtime-core v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const PB=[];function uee(e){PB.push(e)}function cee(){PB.pop()}function fee(e,t){}const dee={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},hee={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function $h(e,t,n,r){try{return r?e(...r):e()}catch(a){yf(a,t,n)}}function Mo(e,t,n,r){if(Ge(e)){const a=$h(e,t,n,r);return a&&jd(a)&&a.catch(o=>{yf(o,t,n)}),a}if(Me(e)){const a=[];for(let o=0;o>>1,a=oa[r],o=Gv(a);o=Gv(n)?oa.push(e):oa.splice(vee(t),0,e),e.flags|=1,IB()}}function IB(){H1||(H1=RB.then(DB))}function Kv(e){Me(e)?Ad.push(...e):El&&e.id===-1?El.splice(nd+1,0,e):e.flags&1||(Ad.push(e),e.flags|=1),IB()}function YP(e,t,n=ji+1){for(;nGv(n)-Gv(r));if(Ad.length=0,El){El.push(...t);return}for(El=t,nd=0;nde.id==null?e.flags&2?-1:1/0:e.id;function DB(e){try{for(ji=0;jird.emit(a,...o)),u0=[]):typeof window!="undefined"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{LB(o,t)}),setTimeout(()=>{rd||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,u0=[])},3e3)):u0=[]}let pr=null,P_=null;function qv(e){const t=pr;return pr=e,P_=e&&e.type.__scopeId||null,t}function gee(e){P_=e}function mee(){P_=null}const yee=e=>le;function le(e,t=pr,n){if(!t||e._n)return e;const r=(...a)=>{r._d&&dx(-1);const o=qv(t);let i;try{i=e(...a)}finally{qv(o),r._d&&dx(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function vt(e,t){if(pr===null)return e;const n=cm(pr),r=e.dirs||(e.dirs=[]);for(let a=0;ae.__isTeleport,uv=e=>e&&(e.disabled||e.disabled===""),XP=e=>e&&(e.defer||e.defer===""),ZP=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,JP=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ox=(e,t)=>{const n=e&&e.to;return Ze(n)?t?t(n):null:n},BB={name:"Teleport",__isTeleport:!0,process(e,t,n,r,a,o,i,s,l,u){const{mc:c,pc:f,pbc:h,o:{insert:d,querySelector:p,createText:v,createComment:g}}=u,m=uv(t.props);let{shapeFlag:w,children:_,dynamicChildren:b}=t;if(e==null){const S=t.el=v(""),C=t.anchor=v("");d(S,n,r),d(C,n,r);const T=(E,k)=>{w&16&&(a&&a.isCE&&(a.ce._teleportTarget=E),c(_,E,k,a,o,i,s,l))},x=()=>{const E=t.target=ox(t.props,p),k=VB(E,t,v,d);E&&(i!=="svg"&&ZP(E)?i="svg":i!=="mathml"&&JP(E)&&(i="mathml"),m||(T(E,k),Ry(t,!1)))};m&&(T(n,C),Ry(t,!0)),XP(t.props)?cr(()=>{x(),t.el.__isMounted=!0},o):x()}else{if(XP(t.props)&&!e.el.__isMounted){cr(()=>{BB.process(e,t,n,r,a,o,i,s,l,u),delete e.el.__isMounted},o);return}t.el=e.el,t.targetStart=e.targetStart;const S=t.anchor=e.anchor,C=t.target=e.target,T=t.targetAnchor=e.targetAnchor,x=uv(e.props),E=x?n:C,k=x?S:T;if(i==="svg"||ZP(C)?i="svg":(i==="mathml"||JP(C))&&(i="mathml"),b?(h(e.dynamicChildren,b,E,a,o,i,s),l3(e,t,!0)):l||f(e,t,E,k,a,o,i,s,!1),m)x?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):c0(t,n,S,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const A=t.target=ox(t.props,p);A&&c0(t,A,null,u,0)}else x&&c0(t,C,T,u,1);Ry(t,m)}},remove(e,t,n,{um:r,o:{remove:a}},o){const{shapeFlag:i,children:s,anchor:l,targetStart:u,targetAnchor:c,target:f,props:h}=e;if(f&&(a(u),a(c)),o&&a(l),i&16){const d=o||!uv(h);for(let p=0;p{e.isMounted=!0}),fn(()=>{e.isUnmounting=!0}),e}const lo=[Function,Array],e3={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:lo,onEnter:lo,onAfterEnter:lo,onEnterCancelled:lo,onBeforeLeave:lo,onLeave:lo,onAfterLeave:lo,onLeaveCancelled:lo,onBeforeAppear:lo,onAppear:lo,onAfterAppear:lo,onAppearCancelled:lo},zB=e=>{const t=e.subTree;return t.component?zB(t.component):t},_ee={name:"BaseTransition",props:e3,setup(e,{slots:t}){const n=st(),r=QA();return()=>{const a=t.default&&R_(t.default(),!0);if(!a||!a.length)return;const o=HB(a),i=Xt(e),{mode:s}=i;if(r.isLeaving)return MS(o);const l=QP(o);if(!l)return MS(o);let u=qd(l,i,r,n,f=>u=f);l.type!==Kn&&js(l,u);let c=n.subTree&&QP(n.subTree);if(c&&c.type!==Kn&&!ri(l,c)&&zB(n).type!==Kn){let f=qd(c,i,r,n);if(js(c,f),s==="out-in"&&l.type!==Kn)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},MS(o);s==="in-out"&&l.type!==Kn?f.delayLeave=(h,d,p)=>{const v=UB(r,c);v[String(c.key)]=c,h[kl]=()=>{d(),h[kl]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{p(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function HB(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Kn){t=n;break}}return t}const WB=_ee;function UB(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function qd(e,t,n,r,a){const{appear:o,mode:i,persisted:s=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:h,onLeave:d,onAfterLeave:p,onLeaveCancelled:v,onBeforeAppear:g,onAppear:m,onAfterAppear:w,onAppearCancelled:_}=t,b=String(e.key),S=UB(n,e),C=(E,k)=>{E&&Mo(E,r,9,k)},T=(E,k)=>{const A=k[1];C(E,k),Me(E)?E.every(P=>P.length<=1)&&A():E.length<=1&&A()},x={mode:i,persisted:s,beforeEnter(E){let k=l;if(!n.isMounted)if(o)k=g||l;else return;E[kl]&&E[kl](!0);const A=S[b];A&&ri(e,A)&&A.el[kl]&&A.el[kl](),C(k,[E])},enter(E){let k=u,A=c,P=f;if(!n.isMounted)if(o)k=m||u,A=w||c,P=_||f;else return;let $=!1;const B=E[f0]=I=>{$||($=!0,I?C(P,[E]):C(A,[E]),x.delayedLeave&&x.delayedLeave(),E[f0]=void 0)};k?T(k,[E,B]):B()},leave(E,k){const A=String(e.key);if(E[f0]&&E[f0](!0),n.isUnmounting)return k();C(h,[E]);let P=!1;const $=E[kl]=B=>{P||(P=!0,k(),B?C(v,[E]):C(p,[E]),E[kl]=void 0,S[A]===e&&delete S[A])};S[A]=e,d?T(d,[E,$]):$()},clone(E){const k=qd(E,t,n,r,a);return a&&a(k),k}};return x}function MS(e){if(sm(e))return e=vi(e),e.children=null,e}function QP(e){if(!sm(e))return NB(e.type)&&e.children?HB(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Ge(n.default))return n.default()}}function js(e,t){e.shapeFlag&6&&e.component?(e.transition=t,js(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function R_(e,t=!1,n){let r=[],a=0;for(let o=0;o1)for(let o=0;on.value,set:o=>n.value=o})}return n}function Yv(e,t,n,r,a=!1){if(Me(e)){e.forEach((p,v)=>Yv(p,t&&(Me(t)?t[v]:t),n,r,a));return}if(Ul(r)&&!a){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Yv(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?cm(r.component):r.el,i=a?null:o,{i:s,r:l}=e,u=t&&t.r,c=s.refs===vn?s.refs={}:s.refs,f=s.setupState,h=Xt(f),d=f===vn?()=>!1:p=>Vt(h,p);if(u!=null&&u!==l&&(Ze(u)?(c[u]=null,d(u)&&(f[u]=null)):Gt(u)&&(u.value=null)),Ge(l))$h(l,s,12,[i,c]);else{const p=Ze(l),v=Gt(l);if(p||v){const g=()=>{if(e.f){const m=p?d(l)?f[l]:c[l]:l.value;a?Me(m)&&UA(m,o):Me(m)?m.includes(o)||m.push(o):p?(c[l]=[o],d(l)&&(f[l]=c[l])):(l.value=[o],e.k&&(c[e.k]=l.value))}else p?(c[l]=i,d(l)&&(f[l]=i)):v&&(l.value=i,e.k&&(c[e.k]=i))};i?(g.id=-1,cr(g,n)):g()}}}let eR=!1;const Rf=()=>{eR||(console.error("Hydration completed but contains mismatches."),eR=!0)},Cee=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Tee=e=>e.namespaceURI.includes("MathML"),d0=e=>{if(e.nodeType===1){if(Cee(e))return"svg";if(Tee(e))return"mathml"}},hd=e=>e.nodeType===8;function xee(e){const{mt:t,p:n,o:{patchProp:r,createText:a,nextSibling:o,parentNode:i,remove:s,insert:l,createComment:u}}=e,c=(_,b)=>{if(!b.hasChildNodes()){n(null,_,b),W1(),b._vnode=_;return}f(b.firstChild,_,null,null,null),W1(),b._vnode=_},f=(_,b,S,C,T,x=!1)=>{x=x||!!b.dynamicChildren;const E=hd(_)&&_.data==="[",k=()=>v(_,b,S,C,T,E),{type:A,ref:P,shapeFlag:$,patchFlag:B}=b;let I=_.nodeType;b.el=_,B===-2&&(x=!1,b.dynamicChildren=null);let M=null;switch(A){case rs:I!==3?b.children===""?(l(b.el=a(""),i(_),_),M=_):M=k():(_.data!==b.children&&(Rf(),_.data=b.children),M=o(_));break;case Kn:w(_)?(M=o(_),m(b.el=_.content.firstChild,_,S)):I!==8||E?M=k():M=o(_);break;case Oc:if(E&&(_=o(_),I=_.nodeType),I===1||I===3){M=_;const L=!b.children.length;for(let O=0;O{x=x||!!b.dynamicChildren;const{type:E,props:k,patchFlag:A,shapeFlag:P,dirs:$,transition:B}=b,I=E==="input"||E==="option";if(I||A!==-1){$&&Ki(b,null,S,"created");let M=!1;if(w(_)){M=pF(null,B)&&S&&S.vnode.props&&S.vnode.props.appear;const O=_.content.firstChild;M&&B.beforeEnter(O),m(O,_,S),b.el=_=O}if(P&16&&!(k&&(k.innerHTML||k.textContent))){let O=d(_.firstChild,b,_,S,C,T,x);for(;O;){h0(_,1)||Rf();const D=O;O=O.nextSibling,s(D)}}else if(P&8){let O=b.children;O[0]===` +`&&(_.tagName==="PRE"||_.tagName==="TEXTAREA")&&(O=O.slice(1)),_.textContent!==O&&(h0(_,0)||Rf(),_.textContent=b.children)}if(k){if(I||!x||A&48){const O=_.tagName.includes("-");for(const D in k)(I&&(D.endsWith("value")||D==="indeterminate")||im(D)&&!xd(D)||D[0]==="."||O)&&r(_,D,null,k[D],void 0,S)}else if(k.onClick)r(_,"onClick",null,k.onClick,void 0,S);else if(A&4&&Qa(k.style))for(const O in k.style)k.style[O]}let L;(L=k&&k.onVnodeBeforeMount)&&Ea(L,S,b),$&&Ki(b,null,S,"beforeMount"),((L=k&&k.onVnodeMounted)||$||M)&&CF(()=>{L&&Ea(L,S,b),M&&B.enter(_),$&&Ki(b,null,S,"mounted")},C)}return _.nextSibling},d=(_,b,S,C,T,x,E)=>{E=E||!!b.dynamicChildren;const k=b.children,A=k.length;for(let P=0;P{const{slotScopeIds:E}=b;E&&(T=T?T.concat(E):E);const k=i(_),A=d(o(_),b,k,S,C,T,x);return A&&hd(A)&&A.data==="]"?o(b.anchor=A):(Rf(),l(b.anchor=u("]"),k,A),A)},v=(_,b,S,C,T,x)=>{if(h0(_.parentElement,1)||Rf(),b.el=null,x){const A=g(_);for(;;){const P=o(_);if(P&&P!==A)s(P);else break}}const E=o(_),k=i(_);return s(_),n(null,b,k,E,S,C,d0(k),T),S&&(S.vnode.el=b.el,N_(S,b.el)),E},g=(_,b="[",S="]")=>{let C=0;for(;_;)if(_=o(_),_&&hd(_)&&(_.data===b&&C++,_.data===S)){if(C===0)return o(_);C--}return _},m=(_,b,S)=>{const C=b.parentNode;C&&C.replaceChild(_,b);let T=S;for(;T;)T.vnode.el===b&&(T.vnode.el=T.subTree.el=_),T=T.parent},w=_=>_.nodeType===1&&_.tagName==="TEMPLATE";return[c,f]}const tR="data-allow-mismatch",Eee={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function h0(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(tR);)e=e.parentElement;const n=e&&e.getAttribute(tR);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(Eee[t])}}const kee=C_().requestIdleCallback||(e=>setTimeout(e,1)),Aee=C_().cancelIdleCallback||(e=>clearTimeout(e)),Mee=(e=1e4)=>t=>{const n=kee(t,{timeout:e});return()=>Aee(n)};function Oee(e){const{top:t,left:n,bottom:r,right:a}=e.getBoundingClientRect(),{innerHeight:o,innerWidth:i}=window;return(t>0&&t0&&r0&&n0&&a(t,n)=>{const r=new IntersectionObserver(a=>{for(const o of a)if(o.isIntersecting){r.disconnect(),t();break}},e);return n(a=>{if(a instanceof Element){if(Oee(a))return t(),r.disconnect(),!1;r.observe(a)}}),()=>r.disconnect()},Ree=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},Iee=(e=[])=>(t,n)=>{Ze(e)&&(e=[e]);let r=!1;const a=i=>{r||(r=!0,o(),t(),i.target.dispatchEvent(new i.constructor(i.type,i)))},o=()=>{n(i=>{for(const s of e)i.removeEventListener(s,a)})};return n(i=>{for(const s of e)i.addEventListener(s,a,{once:!0})}),o};function Dee(e,t){if(hd(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(hd(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const Ul=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Lee(e){Ge(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:a=200,hydrate:o,timeout:i,suspensible:s=!0,onError:l}=e;let u=null,c,f=0;const h=()=>(f++,u=null,d()),d=()=>{let p;return u||(p=u=t().catch(v=>{if(v=v instanceof Error?v:new Error(String(v)),l)return new Promise((g,m)=>{l(v,()=>g(h()),()=>m(v),f+1)});throw v}).then(v=>p!==u&&u?u:(v&&(v.__esModule||v[Symbol.toStringTag]==="Module")&&(v=v.default),c=v,v)))};return te({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(p,v,g){const m=o?()=>{const w=o(g,_=>Dee(p,_));w&&(v.bum||(v.bum=[])).push(w)}:g;c?m():d().then(()=>!v.isUnmounted&&m())},get __asyncResolved(){return c},setup(){const p=hr;if(t3(p),c)return()=>OS(c,p);const v=_=>{u=null,yf(_,p,13,!r)};if(s&&p.suspense||Xd)return d().then(_=>()=>OS(_,p)).catch(_=>(v(_),()=>r?ee(r,{error:_}):null));const g=H(!1),m=H(),w=H(!!a);return a&&setTimeout(()=>{w.value=!1},a),i!=null&&setTimeout(()=>{if(!g.value&&!m.value){const _=new Error(`Async component timed out after ${i}ms.`);v(_),m.value=_}},i),d().then(()=>{g.value=!0,p.parent&&sm(p.parent.vnode)&&p.parent.update()}).catch(_=>{v(_),m.value=_}),()=>{if(g.value&&c)return OS(c,p);if(m.value&&r)return ee(r,{error:m.value});if(n&&!w.value)return ee(n)}}})}function OS(e,t){const{ref:n,props:r,children:a,ce:o}=t.vnode,i=ee(e,r,a);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const sm=e=>e.type.__isKeepAlive,$ee={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=st(),r=n.ctx;if(!r.renderer)return()=>{const w=t.default&&t.default();return w&&w.length===1?w[0]:w};const a=new Map,o=new Set;let i=null;const s=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=r,h=f("div");r.activate=(w,_,b,S,C)=>{const T=w.component;u(w,_,b,0,s),l(T.vnode,w,_,b,T,s,S,w.slotScopeIds,C),cr(()=>{T.isDeactivated=!1,T.a&&kd(T.a);const x=w.props&&w.props.onVnodeMounted;x&&Ea(x,T.parent,w)},s)},r.deactivate=w=>{const _=w.component;j1(_.m),j1(_.a),u(w,h,null,1,s),cr(()=>{_.da&&kd(_.da);const b=w.props&&w.props.onVnodeUnmounted;b&&Ea(b,_.parent,w),_.isDeactivated=!0},s)};function d(w){PS(w),c(w,n,s,!0)}function p(w){a.forEach((_,b)=>{const S=mx(_.type);S&&!w(S)&&v(b)})}function v(w){const _=a.get(w);_&&(!i||!ri(_,i))?d(_):i&&PS(i),a.delete(w),o.delete(w)}xe(()=>[e.include,e.exclude],([w,_])=>{w&&p(b=>Gp(w,b)),_&&p(b=>!Gp(_,b))},{flush:"post",deep:!0});let g=null;const m=()=>{g!=null&&(K1(n.subTree.type)?cr(()=>{a.set(g,p0(n.subTree))},n.subTree.suspense):a.set(g,p0(n.subTree)))};return ft(m),oo(m),fn(()=>{a.forEach(w=>{const{subTree:_,suspense:b}=n,S=p0(_);if(w.type===S.type&&w.key===S.key){PS(S);const C=S.component.da;C&&cr(C,b);return}d(w)})}),()=>{if(g=null,!t.default)return i=null;const w=t.default(),_=w[0];if(w.length>1)return i=null,w;if(!yn(_)||!(_.shapeFlag&4)&&!(_.shapeFlag&128))return i=null,_;let b=p0(_);if(b.type===Kn)return i=null,b;const S=b.type,C=mx(Ul(b)?b.type.__asyncResolved||{}:S),{include:T,exclude:x,max:E}=e;if(T&&(!C||!Gp(T,C))||x&&C&&Gp(x,C))return b.shapeFlag&=-257,i=b,_;const k=b.key==null?S:b.key,A=a.get(k);return b.el&&(b=vi(b),_.shapeFlag&128&&(_.ssContent=b)),g=k,A?(b.el=A.el,b.component=A.component,b.transition&&js(b,b.transition),b.shapeFlag|=512,o.delete(k),o.add(k)):(o.add(k),E&&o.size>parseInt(E,10)&&v(o.values().next().value)),b.shapeFlag|=256,i=b,K1(_.type)?_:b}}},Nee=$ee;function Gp(e,t){return Me(e)?e.some(n=>Gp(n,t)):Ze(e)?e.split(",").includes(t):vQ(e)?(e.lastIndex=0,e.test(t)):!1}function I_(e,t){jB(e,"a",t)}function n3(e,t){jB(e,"da",t)}function jB(e,t,n=hr){const r=e.__wdc||(e.__wdc=()=>{let a=n;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(D_(t,r,n),n){let a=n.parent;for(;a&&a.parent;)sm(a.parent.vnode)&&Bee(r,t,n,a),a=a.parent}}function Bee(e,t,n,r){const a=D_(t,e,r,!0);Vo(()=>{UA(r[t],a)},n)}function PS(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function p0(e){return e.shapeFlag&128?e.ssContent:e}function D_(e,t,n=hr,r=!1){if(n){const a=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{pu();const s=Xc(n),l=Mo(t,n,e,i);return s(),vu(),l});return r?a.unshift(o):a.push(o),o}}const Js=e=>(t,n=hr)=>{(!Xd||e==="sp")&&D_(e,(...r)=>t(...r),n)},lm=Js("bm"),ft=Js("m"),L_=Js("bu"),oo=Js("u"),fn=Js("bum"),Vo=Js("um"),KB=Js("sp"),GB=Js("rtg"),qB=Js("rtc");function YB(e,t=hr){D_("ec",e,t)}const r3="components",Fee="directives";function gt(e,t){return a3(r3,e,!0,t)||e}const XB=Symbol.for("v-ndc");function bt(e){return Ze(e)?a3(r3,e,!1)||e:e||XB}function Nh(e){return a3(Fee,e)}function a3(e,t,n=!0,r=!1){const a=pr||hr;if(a){const o=a.type;if(e===r3){const s=mx(o,!1);if(s&&(s===t||s===gr(t)||s===Ih(gr(t))))return o}const i=nR(a[e]||o[e],t)||nR(a.appContext[e],t);return!i&&r?o:i}}function nR(e,t){return e&&(e[t]||e[gr(t)]||e[Ih(gr(t))])}function Rt(e,t,n,r){let a;const o=n&&n[r],i=Me(e);if(i||Ze(e)){const s=i&&Qa(e);let l=!1;s&&(l=!eo(e),e=k_(e)),a=new Array(e.length);for(let u=0,c=e.length;ut(s,l,void 0,o&&o[l]));else{const s=Object.keys(e);a=new Array(s.length);for(let l=0,u=s.length;l{const o=r.fn(...a);return o&&(o.key=r.key),o}:r.fn)}return e}function ve(e,t,n={},r,a){if(pr.ce||pr.parent&&Ul(pr.parent)&&pr.parent.ce)return t!=="default"&&(n.name=t),N(),ye(je,null,[ee("slot",n,r&&r())],64);let o=e[t];o&&o._c&&(o._d=!1),N();const i=o&&o3(o(n)),s=n.key||i&&i.key,l=ye(je,{key:(s&&!pi(s)?s:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!a&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function o3(e){return e.some(t=>yn(t)?!(t.type===Kn||t.type===je&&!o3(t.children)):!0)?e:null}function ZB(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Ed(r)]=e[r];return n}const ix=e=>e?AF(e)?cm(e):ix(e.parent):null,cv=$n(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ix(e.parent),$root:e=>ix(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>i3(e),$forceUpdate:e=>e.f||(e.f=()=>{JA(e.update)}),$nextTick:e=>e.n||(e.n=qe.bind(e.proxy)),$watch:e=>hte.bind(e)}),RS=(e,t)=>e!==vn&&!e.__isScriptSetup&&Vt(e,t),sx={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:a,props:o,accessCache:i,type:s,appContext:l}=e;let u;if(t[0]!=="$"){const d=i[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return a[t];case 4:return n[t];case 3:return o[t]}else{if(RS(r,t))return i[t]=1,r[t];if(a!==vn&&Vt(a,t))return i[t]=2,a[t];if((u=e.propsOptions[0])&&Vt(u,t))return i[t]=3,o[t];if(n!==vn&&Vt(n,t))return i[t]=4,n[t];lx&&(i[t]=0)}}const c=cv[t];let f,h;if(c)return t==="$attrs"&&Br(e.attrs,"get",""),c(e);if((f=s.__cssModules)&&(f=f[t]))return f;if(n!==vn&&Vt(n,t))return i[t]=4,n[t];if(h=l.config.globalProperties,Vt(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:a,ctx:o}=e;return RS(a,t)?(a[t]=n,!0):r!==vn&&Vt(r,t)?(r[t]=n,!0):Vt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:a,propsOptions:o}},i){let s;return!!n[i]||e!==vn&&Vt(e,i)||RS(t,i)||(s=o[0])&&Vt(s,i)||Vt(r,i)||Vt(cv,i)||Vt(a.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Vt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Vee=$n({},sx,{get(e,t){if(t!==Symbol.unscopables)return sx.get(e,t,e)},has(e,t){return t[0]!=="_"&&!_Q(t)}});function zee(){return null}function Hee(){return null}function Wee(e){}function Uee(e){}function jee(){return null}function Kee(){}function Gee(e,t){return null}function Yn(){return JB().slots}function mu(){return JB().attrs}function JB(){const e=st();return e.setupContext||(e.setupContext=PF(e))}function Xv(e){return Me(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function qee(e,t){const n=Xv(e);for(const r in t){if(r.startsWith("__skip"))continue;let a=n[r];a?Me(a)||Ge(a)?a=n[r]={type:a,default:t[r]}:a.default=t[r]:a===null&&(a=n[r]={default:t[r]}),a&&t[`__skip_${r}`]&&(a.skipFactory=!0)}return n}function Yee(e,t){return!e||!t?e||t:Me(e)&&Me(t)?e.concat(t):$n({},Xv(e),Xv(t))}function Xee(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Zee(e){const t=st();let n=e();return px(),jd(n)&&(n=n.catch(r=>{throw Xc(t),r})),[n,()=>Xc(t)]}let lx=!0;function Jee(e){const t=i3(e),n=e.proxy,r=e.ctx;lx=!1,t.beforeCreate&&rR(t.beforeCreate,e,"bc");const{data:a,computed:o,methods:i,watch:s,provide:l,inject:u,created:c,beforeMount:f,mounted:h,beforeUpdate:d,updated:p,activated:v,deactivated:g,beforeDestroy:m,beforeUnmount:w,destroyed:_,unmounted:b,render:S,renderTracked:C,renderTriggered:T,errorCaptured:x,serverPrefetch:E,expose:k,inheritAttrs:A,components:P,directives:$,filters:B}=t;if(u&&Qee(u,r,null),i)for(const L in i){const O=i[L];Ge(O)&&(r[L]=O.bind(n))}if(a){const L=a.call(n,n);_t(L)&&(e.data=zt(L))}if(lx=!0,o)for(const L in o){const O=o[L],D=Ge(O)?O.bind(n,n):Ge(O.get)?O.get.bind(n,n):rn,z=!Ge(O)&&Ge(O.set)?O.set.bind(n):rn,V=R({get:D,set:z});Object.defineProperty(r,L,{enumerable:!0,configurable:!0,get:()=>V.value,set:j=>V.value=j})}if(s)for(const L in s)QB(s[L],r,n,L);if(l){const L=Ge(l)?l.call(n):l;Reflect.ownKeys(L).forEach(O=>{kt(O,L[O])})}c&&rR(c,e,"c");function M(L,O){Me(O)?O.forEach(D=>L(D.bind(n))):O&&L(O.bind(n))}if(M(lm,f),M(ft,h),M(L_,d),M(oo,p),M(I_,v),M(n3,g),M(YB,x),M(qB,C),M(GB,T),M(fn,w),M(Vo,b),M(KB,E),Me(k))if(k.length){const L=e.exposed||(e.exposed={});k.forEach(O=>{Object.defineProperty(L,O,{get:()=>n[O],set:D=>n[O]=D})})}else e.exposed||(e.exposed={});S&&e.render===rn&&(e.render=S),A!=null&&(e.inheritAttrs=A),P&&(e.components=P),$&&(e.directives=$),E&&t3(e)}function Qee(e,t,n=rn){Me(e)&&(e=ux(e));for(const r in e){const a=e[r];let o;_t(a)?"default"in a?o=ze(a.from||r,a.default,!0):o=ze(a.from||r):o=ze(a),Gt(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function rR(e,t,n){Mo(Me(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function QB(e,t,n,r){let a=r.includes(".")?bF(n,r):()=>n[r];if(Ze(e)){const o=t[e];Ge(o)&&xe(a,o)}else if(Ge(e))xe(a,e.bind(n));else if(_t(e))if(Me(e))e.forEach(o=>QB(o,t,n,r));else{const o=Ge(e.handler)?e.handler.bind(n):t[e.handler];Ge(o)&&xe(a,o,e)}}function i3(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:a,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,s=o.get(t);let l;return s?l=s:!a.length&&!n&&!r?l=t:(l={},a.length&&a.forEach(u=>U1(l,u,i,!0)),U1(l,t,i)),_t(t)&&o.set(t,l),l}function U1(e,t,n,r=!1){const{mixins:a,extends:o}=t;o&&U1(e,o,n,!0),a&&a.forEach(i=>U1(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const s=ete[i]||n&&n[i];e[i]=s?s(e[i],t[i]):t[i]}return e}const ete={data:aR,props:oR,emits:oR,methods:qp,computed:qp,beforeCreate:Qr,created:Qr,beforeMount:Qr,mounted:Qr,beforeUpdate:Qr,updated:Qr,beforeDestroy:Qr,beforeUnmount:Qr,destroyed:Qr,unmounted:Qr,activated:Qr,deactivated:Qr,errorCaptured:Qr,serverPrefetch:Qr,components:qp,directives:qp,watch:nte,provide:aR,inject:tte};function aR(e,t){return t?e?function(){return $n(Ge(e)?e.call(this,this):e,Ge(t)?t.call(this,this):t)}:t:e}function tte(e,t){return qp(ux(e),ux(t))}function ux(e){if(Me(e)){const t={};for(let n=0;n1)return n&&Ge(t)?t.call(r&&r.proxy):t}}function tF(){return!!(hr||pr||Mc)}const nF={},rF=()=>Object.create(nF),aF=e=>Object.getPrototypeOf(e)===nF;function ote(e,t,n,r=!1){const a={},o=rF();e.propsDefaults=Object.create(null),oF(e,t,a,o);for(const i in e.propsOptions[0])i in a||(a[i]=void 0);n?e.props=r?a:M_(a):e.type.props?e.props=a:e.props=o,e.attrs=o}function ite(e,t,n,r){const{props:a,attrs:o,vnode:{patchFlag:i}}=e,s=Xt(a),[l]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[h,d]=iF(f,t,!0);$n(i,h),d&&s.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!l)return _t(e)&&r.set(e,Cd),Cd;if(Me(o))for(let c=0;ce[0]==="_"||e==="$stable",s3=e=>Me(e)?e.map(Aa):[Aa(e)],lte=(e,t,n)=>{if(t._n)return t;const r=le((...a)=>s3(t(...a)),n);return r._c=!1,r},lF=(e,t,n)=>{const r=e._ctx;for(const a in e){if(sF(a))continue;const o=e[a];if(Ge(o))t[a]=lte(a,o,r);else if(o!=null){const i=s3(o);t[a]=()=>i}}},uF=(e,t)=>{const n=s3(t);e.slots.default=()=>n},cF=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},ute=(e,t,n)=>{const r=e.slots=rF();if(e.vnode.shapeFlag&32){const a=t._;a?(cF(r,t,n),n&&uB(r,"_",a,!0)):lF(t,r)}else t&&uF(e,t)},cte=(e,t,n)=>{const{vnode:r,slots:a}=e;let o=!0,i=vn;if(r.shapeFlag&32){const s=t._;s?n&&s===1?o=!1:cF(a,t,n):(o=!t.$stable,lF(t,a)),i=t}else t&&(uF(e,t),i={default:1});if(o)for(const s in a)!sF(s)&&i[s]==null&&delete a[s]},cr=CF;function fF(e){return hF(e)}function dF(e){return hF(e,xee)}function hF(e,t){const n=C_();n.__VUE__=!0;const{insert:r,remove:a,patchProp:o,createElement:i,createText:s,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:h,setScopeId:d=rn,insertStaticContent:p}=e,v=(K,Q,pe,we=null,me=null,be=null,Ce=void 0,ke=null,Oe=!!Q.dynamicChildren)=>{if(K===Q)return;K&&!ri(K,Q)&&(we=G(K),j(K,me,be,!0),K=null),Q.patchFlag===-2&&(Oe=!1,Q.dynamicChildren=null);const{type:Pe,ref:He,shapeFlag:Te}=Q;switch(Pe){case rs:g(K,Q,pe,we);break;case Kn:m(K,Q,pe,we);break;case Oc:K==null&&w(Q,pe,we,Ce);break;case je:P(K,Q,pe,we,me,be,Ce,ke,Oe);break;default:Te&1?S(K,Q,pe,we,me,be,Ce,ke,Oe):Te&6?$(K,Q,pe,we,me,be,Ce,ke,Oe):(Te&64||Te&128)&&Pe.process(K,Q,pe,we,me,be,Ce,ke,Oe,ue)}He!=null&&me&&Yv(He,K&&K.ref,be,Q||K,!Q)},g=(K,Q,pe,we)=>{if(K==null)r(Q.el=s(Q.children),pe,we);else{const me=Q.el=K.el;Q.children!==K.children&&u(me,Q.children)}},m=(K,Q,pe,we)=>{K==null?r(Q.el=l(Q.children||""),pe,we):Q.el=K.el},w=(K,Q,pe,we)=>{[K.el,K.anchor]=p(K.children,Q,pe,we,K.el,K.anchor)},_=({el:K,anchor:Q},pe,we)=>{let me;for(;K&&K!==Q;)me=h(K),r(K,pe,we),K=me;r(Q,pe,we)},b=({el:K,anchor:Q})=>{let pe;for(;K&&K!==Q;)pe=h(K),a(K),K=pe;a(Q)},S=(K,Q,pe,we,me,be,Ce,ke,Oe)=>{Q.type==="svg"?Ce="svg":Q.type==="math"&&(Ce="mathml"),K==null?C(Q,pe,we,me,be,Ce,ke,Oe):E(K,Q,me,be,Ce,ke,Oe)},C=(K,Q,pe,we,me,be,Ce,ke)=>{let Oe,Pe;const{props:He,shapeFlag:Te,transition:Be,dirs:Je}=K;if(Oe=K.el=i(K.type,be,He&&He.is,He),Te&8?c(Oe,K.children):Te&16&&x(K.children,Oe,null,we,me,IS(K,be),Ce,ke),Je&&Ki(K,null,we,"created"),T(Oe,K,K.scopeId,Ce,we),He){for(const ct in He)ct!=="value"&&!xd(ct)&&o(Oe,ct,null,He[ct],be,we);"value"in He&&o(Oe,"value",null,He.value,be),(Pe=He.onVnodeBeforeMount)&&Ea(Pe,we,K)}Je&&Ki(K,null,we,"beforeMount");const dt=pF(me,Be);dt&&Be.beforeEnter(Oe),r(Oe,Q,pe),((Pe=He&&He.onVnodeMounted)||dt||Je)&&cr(()=>{Pe&&Ea(Pe,we,K),dt&&Be.enter(Oe),Je&&Ki(K,null,we,"mounted")},me)},T=(K,Q,pe,we,me)=>{if(pe&&d(K,pe),we)for(let be=0;be{for(let Pe=Oe;Pe{const ke=Q.el=K.el;let{patchFlag:Oe,dynamicChildren:Pe,dirs:He}=Q;Oe|=K.patchFlag&16;const Te=K.props||vn,Be=Q.props||vn;let Je;if(pe&&Mu(pe,!1),(Je=Be.onVnodeBeforeUpdate)&&Ea(Je,pe,Q,K),He&&Ki(Q,K,pe,"beforeUpdate"),pe&&Mu(pe,!0),(Te.innerHTML&&Be.innerHTML==null||Te.textContent&&Be.textContent==null)&&c(ke,""),Pe?k(K.dynamicChildren,Pe,ke,pe,we,IS(Q,me),be):Ce||O(K,Q,ke,null,pe,we,IS(Q,me),be,!1),Oe>0){if(Oe&16)A(ke,Te,Be,pe,me);else if(Oe&2&&Te.class!==Be.class&&o(ke,"class",null,Be.class,me),Oe&4&&o(ke,"style",Te.style,Be.style,me),Oe&8){const dt=Q.dynamicProps;for(let ct=0;ct{Je&&Ea(Je,pe,Q,K),He&&Ki(Q,K,pe,"updated")},we)},k=(K,Q,pe,we,me,be,Ce)=>{for(let ke=0;ke{if(Q!==pe){if(Q!==vn)for(const be in Q)!xd(be)&&!(be in pe)&&o(K,be,Q[be],null,me,we);for(const be in pe){if(xd(be))continue;const Ce=pe[be],ke=Q[be];Ce!==ke&&be!=="value"&&o(K,be,ke,Ce,me,we)}"value"in pe&&o(K,"value",Q.value,pe.value,me)}},P=(K,Q,pe,we,me,be,Ce,ke,Oe)=>{const Pe=Q.el=K?K.el:s(""),He=Q.anchor=K?K.anchor:s("");let{patchFlag:Te,dynamicChildren:Be,slotScopeIds:Je}=Q;Je&&(ke=ke?ke.concat(Je):Je),K==null?(r(Pe,pe,we),r(He,pe,we),x(Q.children||[],pe,He,me,be,Ce,ke,Oe)):Te>0&&Te&64&&Be&&K.dynamicChildren?(k(K.dynamicChildren,Be,pe,me,be,Ce,ke),(Q.key!=null||me&&Q===me.subTree)&&l3(K,Q,!0)):O(K,Q,pe,He,me,be,Ce,ke,Oe)},$=(K,Q,pe,we,me,be,Ce,ke,Oe)=>{Q.slotScopeIds=ke,K==null?Q.shapeFlag&512?me.ctx.activate(Q,pe,we,Ce,Oe):B(Q,pe,we,me,be,Ce,Oe):I(K,Q,Oe)},B=(K,Q,pe,we,me,be,Ce)=>{const ke=K.component=kF(K,we,me);if(sm(K)&&(ke.ctx.renderer=ue),MF(ke,!1,Ce),ke.asyncDep){if(me&&me.registerDep(ke,M,Ce),!K.el){const Oe=ke.subTree=ee(Kn);m(null,Oe,Q,pe)}}else M(ke,K,Q,pe,me,be,Ce)},I=(K,Q,pe)=>{const we=Q.component=K.component;if(bte(K,Q,pe))if(we.asyncDep&&!we.asyncResolved){L(we,Q,pe);return}else we.next=Q,we.update();else Q.el=K.el,we.vnode=Q},M=(K,Q,pe,we,me,be,Ce)=>{const ke=()=>{if(K.isMounted){let{next:Te,bu:Be,u:Je,parent:dt,vnode:ct}=K;{const Ne=vF(K);if(Ne){Te&&(Te.el=ct.el,L(K,Te,Ce)),Ne.asyncDep.then(()=>{K.isUnmounted||ke()});return}}let wt=Te,Mt;Mu(K,!1),Te?(Te.el=ct.el,L(K,Te,Ce)):Te=ct,Be&&kd(Be),(Mt=Te.props&&Te.props.onVnodeBeforeUpdate)&&Ea(Mt,dt,Te,ct),Mu(K,!0);const Zt=Iy(K),Se=K.subTree;K.subTree=Zt,v(Se,Zt,f(Se.el),G(Se),K,me,be),Te.el=Zt.el,wt===null&&N_(K,Zt.el),Je&&cr(Je,me),(Mt=Te.props&&Te.props.onVnodeUpdated)&&cr(()=>Ea(Mt,dt,Te,ct),me)}else{let Te;const{el:Be,props:Je}=Q,{bm:dt,m:ct,parent:wt,root:Mt,type:Zt}=K,Se=Ul(Q);if(Mu(K,!1),dt&&kd(dt),!Se&&(Te=Je&&Je.onVnodeBeforeMount)&&Ea(Te,wt,Q),Mu(K,!0),Be&&ae){const Ne=()=>{K.subTree=Iy(K),ae(Be,K.subTree,K,me,null)};Se&&Zt.__asyncHydrate?Zt.__asyncHydrate(Be,K,Ne):Ne()}else{Mt.ce&&Mt.ce._injectChildStyle(Zt);const Ne=K.subTree=Iy(K);v(null,Ne,pe,we,K,me,be),Q.el=Ne.el}if(ct&&cr(ct,me),!Se&&(Te=Je&&Je.onVnodeMounted)){const Ne=Q;cr(()=>Ea(Te,wt,Ne),me)}(Q.shapeFlag&256||wt&&Ul(wt.vnode)&&wt.vnode.shapeFlag&256)&&K.a&&cr(K.a,me),K.isMounted=!0,Q=pe=we=null}};K.scope.on();const Oe=K.effect=new Wv(ke);K.scope.off();const Pe=K.update=Oe.run.bind(Oe),He=K.job=Oe.runIfDirty.bind(Oe);He.i=K,He.id=K.uid,Oe.scheduler=()=>JA(He),Mu(K,!0),Pe()},L=(K,Q,pe)=>{Q.component=K;const we=K.vnode.props;K.vnode=Q,K.next=null,ite(K,Q.props,we,pe),cte(K,Q.children,pe),pu(),YP(K),vu()},O=(K,Q,pe,we,me,be,Ce,ke,Oe=!1)=>{const Pe=K&&K.children,He=K?K.shapeFlag:0,Te=Q.children,{patchFlag:Be,shapeFlag:Je}=Q;if(Be>0){if(Be&128){z(Pe,Te,pe,we,me,be,Ce,ke,Oe);return}else if(Be&256){D(Pe,Te,pe,we,me,be,Ce,ke,Oe);return}}Je&8?(He&16&&fe(Pe,me,be),Te!==Pe&&c(pe,Te)):He&16?Je&16?z(Pe,Te,pe,we,me,be,Ce,ke,Oe):fe(Pe,me,be,!0):(He&8&&c(pe,""),Je&16&&x(Te,pe,we,me,be,Ce,ke,Oe))},D=(K,Q,pe,we,me,be,Ce,ke,Oe)=>{K=K||Cd,Q=Q||Cd;const Pe=K.length,He=Q.length,Te=Math.min(Pe,He);let Be;for(Be=0;BeHe?fe(K,me,be,!0,!1,Te):x(Q,pe,we,me,be,Ce,ke,Oe,Te)},z=(K,Q,pe,we,me,be,Ce,ke,Oe)=>{let Pe=0;const He=Q.length;let Te=K.length-1,Be=He-1;for(;Pe<=Te&&Pe<=Be;){const Je=K[Pe],dt=Q[Pe]=Oe?Al(Q[Pe]):Aa(Q[Pe]);if(ri(Je,dt))v(Je,dt,pe,null,me,be,Ce,ke,Oe);else break;Pe++}for(;Pe<=Te&&Pe<=Be;){const Je=K[Te],dt=Q[Be]=Oe?Al(Q[Be]):Aa(Q[Be]);if(ri(Je,dt))v(Je,dt,pe,null,me,be,Ce,ke,Oe);else break;Te--,Be--}if(Pe>Te){if(Pe<=Be){const Je=Be+1,dt=JeBe)for(;Pe<=Te;)j(K[Pe],me,be,!0),Pe++;else{const Je=Pe,dt=Pe,ct=new Map;for(Pe=dt;Pe<=Be;Pe++){const W=Q[Pe]=Oe?Al(Q[Pe]):Aa(Q[Pe]);W.key!=null&&ct.set(W.key,Pe)}let wt,Mt=0;const Zt=Be-dt+1;let Se=!1,Ne=0;const Y=new Array(Zt);for(Pe=0;Pe=Zt){j(W,me,be,!0);continue}let Ee;if(W.key!=null)Ee=ct.get(W.key);else for(wt=dt;wt<=Be;wt++)if(Y[wt-dt]===0&&ri(W,Q[wt])){Ee=wt;break}Ee===void 0?j(W,me,be,!0):(Y[Ee-dt]=Pe+1,Ee>=Ne?Ne=Ee:Se=!0,v(W,Q[Ee],pe,null,me,be,Ce,ke,Oe),Mt++)}const J=Se?fte(Y):Cd;for(wt=J.length-1,Pe=Zt-1;Pe>=0;Pe--){const W=dt+Pe,Ee=Q[W],Fe=W+1{const{el:be,type:Ce,transition:ke,children:Oe,shapeFlag:Pe}=K;if(Pe&6){V(K.component.subTree,Q,pe,we);return}if(Pe&128){K.suspense.move(Q,pe,we);return}if(Pe&64){Ce.move(K,Q,pe,ue);return}if(Ce===je){r(be,Q,pe);for(let Te=0;Teke.enter(be),me);else{const{leave:Te,delayLeave:Be,afterLeave:Je}=ke,dt=()=>r(be,Q,pe),ct=()=>{Te(be,()=>{dt(),Je&&Je()})};Be?Be(be,dt,ct):ct()}else r(be,Q,pe)},j=(K,Q,pe,we=!1,me=!1)=>{const{type:be,props:Ce,ref:ke,children:Oe,dynamicChildren:Pe,shapeFlag:He,patchFlag:Te,dirs:Be,cacheIndex:Je}=K;if(Te===-2&&(me=!1),ke!=null&&Yv(ke,null,pe,K,!0),Je!=null&&(Q.renderCache[Je]=void 0),He&256){Q.ctx.deactivate(K);return}const dt=He&1&&Be,ct=!Ul(K);let wt;if(ct&&(wt=Ce&&Ce.onVnodeBeforeUnmount)&&Ea(wt,Q,K),He&6)ie(K.component,pe,we);else{if(He&128){K.suspense.unmount(pe,we);return}dt&&Ki(K,null,Q,"beforeUnmount"),He&64?K.type.remove(K,Q,pe,ue,we):Pe&&!Pe.hasOnce&&(be!==je||Te>0&&Te&64)?fe(Pe,Q,pe,!1,!0):(be===je&&Te&384||!me&&He&16)&&fe(Oe,Q,pe),we&&U(K)}(ct&&(wt=Ce&&Ce.onVnodeUnmounted)||dt)&&cr(()=>{wt&&Ea(wt,Q,K),dt&&Ki(K,null,Q,"unmounted")},pe)},U=K=>{const{type:Q,el:pe,anchor:we,transition:me}=K;if(Q===je){ne(pe,we);return}if(Q===Oc){b(K);return}const be=()=>{a(pe),me&&!me.persisted&&me.afterLeave&&me.afterLeave()};if(K.shapeFlag&1&&me&&!me.persisted){const{leave:Ce,delayLeave:ke}=me,Oe=()=>Ce(pe,be);ke?ke(K.el,be,Oe):Oe()}else be()},ne=(K,Q)=>{let pe;for(;K!==Q;)pe=h(K),a(K),K=pe;a(Q)},ie=(K,Q,pe)=>{const{bum:we,scope:me,job:be,subTree:Ce,um:ke,m:Oe,a:Pe}=K;j1(Oe),j1(Pe),we&&kd(we),me.stop(),be&&(be.flags|=8,j(Ce,K,Q,pe)),ke&&cr(ke,Q),cr(()=>{K.isUnmounted=!0},Q),Q&&Q.pendingBranch&&!Q.isUnmounted&&K.asyncDep&&!K.asyncResolved&&K.suspenseId===Q.pendingId&&(Q.deps--,Q.deps===0&&Q.resolve())},fe=(K,Q,pe,we=!1,me=!1,be=0)=>{for(let Ce=be;Ce{if(K.shapeFlag&6)return G(K.component.subTree);if(K.shapeFlag&128)return K.suspense.next();const Q=h(K.anchor||K.el),pe=Q&&Q[$B];return pe?h(pe):Q};let oe=!1;const se=(K,Q,pe)=>{K==null?Q._vnode&&j(Q._vnode,null,null,!0):v(Q._vnode||null,K,Q,null,null,null,pe),Q._vnode=K,oe||(oe=!0,YP(),W1(),oe=!1)},ue={p:v,um:j,m:V,r:U,mt:B,mc:x,pc:O,pbc:k,n:G,o:e};let he,ae;return t&&([he,ae]=t(ue)),{render:se,hydrate:he,createApp:ate(se,he)}}function IS({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Mu({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function pF(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function l3(e,t,n=!1){const r=e.children,a=t.children;if(Me(r)&&Me(a))for(let o=0;o>1,e[n[s]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function vF(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:vF(t)}function j1(e){if(e)for(let t=0;tze(gF);function Ar(e,t){return um(e,null,t)}function dte(e,t){return um(e,null,{flush:"post"})}function yF(e,t){return um(e,null,{flush:"sync"})}function xe(e,t,n){return um(e,t,n)}function um(e,t,n=vn){const{immediate:r,deep:a,flush:o,once:i}=n,s=$n({},n),l=t&&r||!t&&o!=="post";let u;if(Xd){if(o==="sync"){const d=mF();u=d.__watcherHandles||(d.__watcherHandles=[])}else if(!l){const d=()=>{};return d.stop=rn,d.resume=rn,d.pause=rn,d}}const c=hr;s.call=(d,p,v)=>Mo(d,c,p,v);let f=!1;o==="post"?s.scheduler=d=>{cr(d,c&&c.suspense)}:o!=="sync"&&(f=!0,s.scheduler=(d,p)=>{p?d():JA(d)}),s.augmentJob=d=>{t&&(d.flags|=4),f&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const h=lee(e,t,s);return Xd&&(u?u.push(h):l&&h()),h}function hte(e,t,n){const r=this.proxy,a=Ze(e)?e.includes(".")?bF(r,e):()=>r[e]:e.bind(r,r);let o;Ge(t)?o=t:(o=t.handler,n=t);const i=Xc(this),s=um(a,o.bind(r),n);return i(),s}function bF(e,t){const n=t.split(".");return()=>{let r=e;for(let a=0;a{let c,f=vn,h;return yF(()=>{const d=e[a];aa(c,d)&&(c=d,u())}),{get(){return l(),n.get?n.get(c):c},set(d){const p=n.set?n.set(d):d;if(!aa(p,c)&&!(f!==vn&&aa(d,f)))return;const v=r.vnode.props;v&&(t in v||a in v||o in v)&&(`onUpdate:${t}`in v||`onUpdate:${a}`in v||`onUpdate:${o}`in v)||(c=d,u()),r.emit(`update:${t}`,p),aa(d,p)&&aa(d,f)&&!aa(p,h)&&u(),f=d,h=p}}});return s[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?i||vn:s,done:!1}:{done:!0}}}},s}const _F=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${gr(t)}Modifiers`]||e[`${la(t)}Modifiers`];function vte(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||vn;let a=n;const o=t.startsWith("update:"),i=o&&_F(r,t.slice(7));i&&(i.trim&&(a=n.map(c=>Ze(c)?c.trim():c)),i.number&&(a=n.map(B1)));let s,l=r[s=Ed(t)]||r[s=Ed(gr(t))];!l&&o&&(l=r[s=Ed(la(t))]),l&&Mo(l,e,6,a);const u=r[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Mo(u,e,6,a)}}function wF(e,t,n=!1){const r=t.emitsCache,a=r.get(e);if(a!==void 0)return a;const o=e.emits;let i={},s=!1;if(!Ge(e)){const l=u=>{const c=wF(u,t,!0);c&&(s=!0,$n(i,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!s?(_t(e)&&r.set(e,null),null):(Me(o)?o.forEach(l=>i[l]=null):$n(i,o),_t(e)&&r.set(e,i),i)}function $_(e,t){return!e||!im(t)?!1:(t=t.slice(2).replace(/Once$/,""),Vt(e,t[0].toLowerCase()+t.slice(1))||Vt(e,la(t))||Vt(e,t))}function Iy(e){const{type:t,vnode:n,proxy:r,withProxy:a,propsOptions:[o],slots:i,attrs:s,emit:l,render:u,renderCache:c,props:f,data:h,setupState:d,ctx:p,inheritAttrs:v}=e,g=qv(e);let m,w;try{if(n.shapeFlag&4){const b=a||r,S=b;m=Aa(u.call(S,b,c,f,d,h,p)),w=s}else{const b=t;m=Aa(b.length>1?b(f,{attrs:s,slots:i,emit:l}):b(f,null)),w=t.props?s:mte(s)}}catch(b){fv.length=0,yf(b,e,1),m=ee(Kn)}let _=m;if(w&&v!==!1){const b=Object.keys(w),{shapeFlag:S}=_;b.length&&S&7&&(o&&b.some(WA)&&(w=yte(w,o)),_=vi(_,w,!1,!0))}return n.dirs&&(_=vi(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&js(_,n.transition),m=_,qv(g),m}function gte(e,t=!0){let n;for(let r=0;r{let t;for(const n in e)(n==="class"||n==="style"||im(n))&&((t||(t={}))[n]=e[n]);return t},yte=(e,t)=>{const n={};for(const r in e)(!WA(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function bte(e,t,n){const{props:r,children:a,component:o}=e,{props:i,children:s,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?sR(r,i,u):!!i;if(l&8){const c=t.dynamicProps;for(let f=0;fe.__isSuspense;let fx=0;const _te={name:"Suspense",__isSuspense:!0,process(e,t,n,r,a,o,i,s,l,u){if(e==null)Ste(t,n,r,a,o,i,s,l,u);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Cte(e,t,n,r,a,i,s,l,u)}},hydrate:Tte,normalize:xte},wte=_te;function Zv(e,t){const n=e.props&&e.props[t];Ge(n)&&n()}function Ste(e,t,n,r,a,o,i,s,l){const{p:u,o:{createElement:c}}=l,f=c("div"),h=e.suspense=SF(e,a,r,t,f,n,o,i,s,l);u(null,h.pendingBranch=e.ssContent,f,null,r,h,o,i),h.deps>0?(Zv(e,"onPending"),Zv(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,o,i),Md(h,e.ssFallback)):h.resolve(!1,!0)}function Cte(e,t,n,r,a,o,i,s,{p:l,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const h=t.ssContent,d=t.ssFallback,{activeBranch:p,pendingBranch:v,isInFallback:g,isHydrating:m}=f;if(v)f.pendingBranch=h,ri(h,v)?(l(v,h,f.hiddenContainer,null,a,f,o,i,s),f.deps<=0?f.resolve():g&&(m||(l(p,d,n,r,a,null,o,i,s),Md(f,d)))):(f.pendingId=fx++,m?(f.isHydrating=!1,f.activeBranch=v):u(v,a,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),g?(l(null,h,f.hiddenContainer,null,a,f,o,i,s),f.deps<=0?f.resolve():(l(p,d,n,r,a,null,o,i,s),Md(f,d))):p&&ri(h,p)?(l(p,h,n,r,a,f,o,i,s),f.resolve(!0)):(l(null,h,f.hiddenContainer,null,a,f,o,i,s),f.deps<=0&&f.resolve()));else if(p&&ri(h,p))l(p,h,n,r,a,f,o,i,s),Md(f,h);else if(Zv(t,"onPending"),f.pendingBranch=h,h.shapeFlag&512?f.pendingId=h.component.suspenseId:f.pendingId=fx++,l(null,h,f.hiddenContainer,null,a,f,o,i,s),f.deps<=0)f.resolve();else{const{timeout:w,pendingId:_}=f;w>0?setTimeout(()=>{f.pendingId===_&&f.fallback(d)},w):w===0&&f.fallback(d)}}function SF(e,t,n,r,a,o,i,s,l,u,c=!1){const{p:f,m:h,um:d,n:p,o:{parentNode:v,remove:g}}=u;let m;const w=Ete(e);w&&t&&t.pendingBranch&&(m=t.pendingId,t.deps++);const _=e.props?F1(e.props.timeout):void 0,b=o,S={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:a,deps:0,pendingId:fx++,timeout:typeof _=="number"?_:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(C=!1,T=!1){const{vnode:x,activeBranch:E,pendingBranch:k,pendingId:A,effects:P,parentComponent:$,container:B}=S;let I=!1;S.isHydrating?S.isHydrating=!1:C||(I=E&&k.transition&&k.transition.mode==="out-in",I&&(E.transition.afterLeave=()=>{A===S.pendingId&&(h(k,B,o===b?p(E):o,0),Kv(P))}),E&&(v(E.el)===B&&(o=p(E)),d(E,$,S,!0)),I||h(k,B,o,0)),Md(S,k),S.pendingBranch=null,S.isInFallback=!1;let M=S.parent,L=!1;for(;M;){if(M.pendingBranch){M.effects.push(...P),L=!0;break}M=M.parent}!L&&!I&&Kv(P),S.effects=[],w&&t&&t.pendingBranch&&m===t.pendingId&&(t.deps--,t.deps===0&&!T&&t.resolve()),Zv(x,"onResolve")},fallback(C){if(!S.pendingBranch)return;const{vnode:T,activeBranch:x,parentComponent:E,container:k,namespace:A}=S;Zv(T,"onFallback");const P=p(x),$=()=>{S.isInFallback&&(f(null,C,k,P,E,null,A,s,l),Md(S,C))},B=C.transition&&C.transition.mode==="out-in";B&&(x.transition.afterLeave=$),S.isInFallback=!0,d(x,E,null,!0),B||$()},move(C,T,x){S.activeBranch&&h(S.activeBranch,C,T,x),S.container=C},next(){return S.activeBranch&&p(S.activeBranch)},registerDep(C,T,x){const E=!!S.pendingBranch;E&&S.deps++;const k=C.vnode.el;C.asyncDep.catch(A=>{yf(A,C,0)}).then(A=>{if(C.isUnmounted||S.isUnmounted||S.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:P}=C;vx(C,A,!1),k&&(P.el=k);const $=!k&&C.subTree.el;T(C,P,v(k||C.subTree.el),k?null:p(C.subTree),S,i,x),$&&g($),N_(C,P.el),E&&--S.deps===0&&S.resolve()})},unmount(C,T){S.isUnmounted=!0,S.activeBranch&&d(S.activeBranch,n,C,T),S.pendingBranch&&d(S.pendingBranch,n,C,T)}};return S}function Tte(e,t,n,r,a,o,i,s,l){const u=t.suspense=SF(t,r,n,e.parentNode,document.createElement("div"),null,a,o,i,s,!0),c=l(e,u.pendingBranch=t.ssContent,n,u,o,i);return u.deps===0&&u.resolve(!1,!0),c}function xte(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=lR(r?n.default:n),e.ssFallback=r?lR(n.fallback):ee(Kn)}function lR(e){let t;if(Ge(e)){const n=Yc&&e._c;n&&(e._d=!1,N()),e=e(),n&&(e._d=!0,t=Wr,TF())}return Me(e)&&(e=gte(e)),e=Aa(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function CF(e,t){t&&t.pendingBranch?Me(e)?t.effects.push(...e):t.effects.push(e):Kv(e)}function Md(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let a=t.el;for(;!a&&t.component;)t=t.component.subTree,a=t.el;n.el=a,r&&r.subTree===n&&(r.vnode.el=a,N_(r,a))}function Ete(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const je=Symbol.for("v-fgt"),rs=Symbol.for("v-txt"),Kn=Symbol.for("v-cmt"),Oc=Symbol.for("v-stc"),fv=[];let Wr=null;function N(e=!1){fv.push(Wr=e?null:[])}function TF(){fv.pop(),Wr=fv[fv.length-1]||null}let Yc=1;function dx(e,t=!1){Yc+=e,e<0&&Wr&&t&&(Wr.hasOnce=!0)}function xF(e){return e.dynamicChildren=Yc>0?Wr||Cd:null,TF(),Yc>0&&Wr&&Wr.push(e),e}function q(e,t,n,r,a,o){return xF(Z(e,t,n,r,a,o,!0))}function ye(e,t,n,r,a){return xF(ee(e,t,n,r,a,!0))}function yn(e){return e?e.__v_isVNode===!0:!1}function ri(e,t){return e.type===t.type&&e.key===t.key}function kte(e){}const EF=({key:e})=>e!=null?e:null,Dy=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ze(e)||Gt(e)||Ge(e)?{i:pr,r:e,k:t,f:!!n}:e:null);function Z(e,t=null,n=null,r=0,a=null,o=e===je?0:1,i=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&EF(t),ref:t&&Dy(t),scopeId:P_,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:pr};return s?(u3(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Ze(n)?8:16),Yc>0&&!i&&Wr&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Wr.push(l),l}const ee=Ate;function Ate(e,t=null,n=null,r=0,a=null,o=!1){if((!e||e===XB)&&(e=Kn),yn(e)){const s=vi(e,t,!0);return n&&u3(s,n),Yc>0&&!o&&Wr&&(s.shapeFlag&6?Wr[Wr.indexOf(e)]=s:Wr.push(s)),s.patchFlag=-2,s}if($te(e)&&(e=e.__vccOpts),t){t=Yd(t);let{class:s,style:l}=t;s&&!Ze(s)&&(t.class=F(s)),_t(l)&&(Gd(l)&&!Me(l)&&(l=$n({},l)),t.style=Xe(l))}const i=Ze(e)?1:K1(e)?128:NB(e)?64:_t(e)?4:Ge(e)?2:0;return Z(e,t,n,r,a,i,o,!0)}function Yd(e){return e?Gd(e)||aF(e)?$n({},e):e:null}function vi(e,t,n=!1,r=!1){const{props:a,ref:o,patchFlag:i,children:s,transition:l}=e,u=t?Et(a||{},t):a,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&EF(u),ref:t&&t.ref?n&&o?Me(o)?o.concat(Dy(t)):[o,Dy(t)]:Dy(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==je?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&vi(e.ssContent),ssFallback:e.ssFallback&&vi(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&js(c,l.clone(c)),c}function At(e=" ",t=0){return ee(rs,null,e,t)}function Mte(e,t){const n=ee(Oc,null,e);return n.staticCount=t,n}function ge(e="",t=!1){return t?(N(),ye(Kn,null,e)):ee(Kn,null,e)}function Aa(e){return e==null||typeof e=="boolean"?ee(Kn):Me(e)?ee(je,null,e.slice()):yn(e)?Al(e):ee(rs,null,String(e))}function Al(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:vi(e)}function u3(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Me(t))n=16;else if(typeof t=="object")if(r&65){const a=t.default;a&&(a._c&&(a._d=!1),u3(e,a()),a._c&&(a._d=!0));return}else{n=32;const a=t._;!a&&!aF(t)?t._ctx=pr:a===3&&pr&&(pr.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ge(t)?(t={default:t,_ctx:pr},n=32):(t=String(t),r&64?(n=16,t=[At(t)]):n=8);e.children=t,e.shapeFlag|=n}function Et(...e){const t={};for(let n=0;nhr||pr;let G1,hx;{const e=C_(),t=(n,r)=>{let a;return(a=e[n])||(a=e[n]=[]),a.push(r),o=>{a.length>1?a.forEach(i=>i(o)):a[0](o)}};G1=t("__VUE_INSTANCE_SETTERS__",n=>hr=n),hx=t("__VUE_SSR_SETTERS__",n=>Xd=n)}const Xc=e=>{const t=hr;return G1(e),e.scope.on(),()=>{e.scope.off(),G1(t)}},px=()=>{hr&&hr.scope.off(),G1(null)};function AF(e){return e.vnode.shapeFlag&4}let Xd=!1;function MF(e,t=!1,n=!1){t&&hx(t);const{props:r,children:a}=e.vnode,o=AF(e);ote(e,r,o,t),ute(e,a,n);const i=o?Rte(e,t):void 0;return t&&hx(!1),i}function Rte(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,sx);const{setup:r}=n;if(r){pu();const a=e.setupContext=r.length>1?PF(e):null,o=Xc(e),i=$h(r,e,0,[e.props,a]),s=jd(i);if(vu(),o(),(s||e.sp)&&!Ul(e)&&t3(e),s){if(i.then(px,px),t)return i.then(l=>{vx(e,l,t)}).catch(l=>{yf(l,e,0)});e.asyncDep=i}else vx(e,i,t)}else OF(e,t)}function vx(e,t,n){Ge(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_t(t)&&(e.setupState=XA(t)),OF(e,n)}let q1,gx;function Ite(e){q1=e,gx=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Vee))}}const Dte=()=>!q1;function OF(e,t,n){const r=e.type;if(!e.render){if(!t&&q1&&!r.render){const a=r.template||i3(e).template;if(a){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:s,compilerOptions:l}=r,u=$n($n({isCustomElement:o,delimiters:s},i),l);r.render=q1(a,u)}}e.render=r.render||rn,gx&&gx(e)}{const a=Xc(e);pu();try{Jee(e)}finally{vu(),a()}}}const Lte={get(e,t){return Br(e,"get",""),e[t]}};function PF(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Lte),slots:e.slots,emit:e.emit,expose:t}}function cm(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(XA(ui(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in cv)return cv[n](e)},has(t,n){return n in t||n in cv}})):e.proxy}function mx(e,t=!0){return Ge(e)?e.displayName||e.name:e.name||t&&e.__name}function $te(e){return Ge(e)&&"__vccOpts"in e}const R=(e,t)=>aee(e,t,Xd);function We(e,t,n){const r=arguments.length;return r===2?_t(t)&&!Me(t)?yn(t)?ee(e,null,[t]):ee(e,t):ee(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&yn(n)&&(n=[n]),ee(e,t,n))}function Nte(){}function Bte(e,t,n,r){const a=n[r];if(a&&RF(a,e))return a;const o=t();return o.memo=e.slice(),o.cacheIndex=r,n[r]=o}function RF(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r0&&Wr&&Wr.push(e),!0}const IF="3.5.13",c3=rn,Fte=hee,Vte=rd,zte=LB,Hte={createComponentInstance:kF,setupComponent:MF,renderComponentRoot:Iy,setCurrentRenderingInstance:qv,isVNode:yn,normalizeVNode:Aa,getComponentPublicInstance:cm,ensureValidVNode:o3,pushWarningContext:uee,popWarningContext:cee},Wte=Hte,Ute=null,jte=null,Kte=null;/** +* @vue/runtime-dom v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let yx;const uR=typeof window!="undefined"&&window.trustedTypes;if(uR)try{yx=uR.createPolicy("vue",{createHTML:e=>e})}catch(e){}const DF=yx?e=>yx.createHTML(e):e=>e,Gte="http://www.w3.org/2000/svg",qte="http://www.w3.org/1998/Math/MathML",Os=typeof document!="undefined"?document:null,cR=Os&&Os.createElement("template"),Yte={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const a=t==="svg"?Os.createElementNS(Gte,e):t==="mathml"?Os.createElementNS(qte,e):n?Os.createElement(e,{is:n}):Os.createElement(e);return e==="select"&&r&&r.multiple!=null&&a.setAttribute("multiple",r.multiple),a},createText:e=>Os.createTextNode(e),createComment:e=>Os.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Os.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,a,o){const i=n?n.previousSibling:t.lastChild;if(a&&(a===o||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),n),!(a===o||!(a=a.nextSibling)););else{cR.innerHTML=DF(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const s=cR.content;if(r==="svg"||r==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},sl="transition",up="animation",Zd=Symbol("_vtc"),LF={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},$F=$n({},e3,LF),Xte=e=>(e.displayName="Transition",e.props=$F,e),yr=Xte((e,{slots:t})=>We(WB,NF(e),t)),Ou=(e,t=[])=>{Me(e)?e.forEach(n=>n(...t)):e&&e(...t)},fR=e=>e?Me(e)?e.some(t=>t.length>1):e.length>1:!1;function NF(e){const t={};for(const P in e)P in LF||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:r,duration:a,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:u=i,appearToClass:c=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,p=Zte(a),v=p&&p[0],g=p&&p[1],{onBeforeEnter:m,onEnter:w,onEnterCancelled:_,onLeave:b,onLeaveCancelled:S,onBeforeAppear:C=m,onAppear:T=w,onAppearCancelled:x=_}=t,E=(P,$,B,I)=>{P._enterCancelled=I,yl(P,$?c:s),yl(P,$?u:i),B&&B()},k=(P,$)=>{P._isLeaving=!1,yl(P,f),yl(P,d),yl(P,h),$&&$()},A=P=>($,B)=>{const I=P?T:w,M=()=>E($,P,B);Ou(I,[$,M]),dR(()=>{yl($,P?l:o),Hi($,P?c:s),fR(I)||hR($,r,v,M)})};return $n(t,{onBeforeEnter(P){Ou(m,[P]),Hi(P,o),Hi(P,i)},onBeforeAppear(P){Ou(C,[P]),Hi(P,l),Hi(P,u)},onEnter:A(!1),onAppear:A(!0),onLeave(P,$){P._isLeaving=!0;const B=()=>k(P,$);Hi(P,f),P._enterCancelled?(Hi(P,h),bx()):(bx(),Hi(P,h)),dR(()=>{P._isLeaving&&(yl(P,f),Hi(P,d),fR(b)||hR(P,r,g,B))}),Ou(b,[P,B])},onEnterCancelled(P){E(P,!1,void 0,!0),Ou(_,[P])},onAppearCancelled(P){E(P,!0,void 0,!0),Ou(x,[P])},onLeaveCancelled(P){k(P),Ou(S,[P])}})}function Zte(e){if(e==null)return null;if(_t(e))return[DS(e.enter),DS(e.leave)];{const t=DS(e);return[t,t]}}function DS(e){return F1(e)}function Hi(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Zd]||(e[Zd]=new Set)).add(t)}function yl(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Zd];n&&(n.delete(t),n.size||(e[Zd]=void 0))}function dR(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Jte=0;function hR(e,t,n,r){const a=e._endId=++Jte,o=()=>{a===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:s,propCount:l}=BF(e,t);if(!i)return r();const u=i+"end";let c=0;const f=()=>{e.removeEventListener(u,h),o()},h=d=>{d.target===e&&++c>=l&&f()};setTimeout(()=>{c(n[p]||"").split(", "),a=r(`${sl}Delay`),o=r(`${sl}Duration`),i=pR(a,o),s=r(`${up}Delay`),l=r(`${up}Duration`),u=pR(s,l);let c=null,f=0,h=0;t===sl?i>0&&(c=sl,f=i,h=o.length):t===up?u>0&&(c=up,f=u,h=l.length):(f=Math.max(i,u),c=f>0?i>u?sl:up:null,h=c?c===sl?o.length:l.length:0);const d=c===sl&&/\b(transform|all)(,|$)/.test(r(`${sl}Property`).toString());return{type:c,timeout:f,propCount:h,hasTransform:d}}function pR(e,t){for(;e.lengthvR(n)+vR(e[r])))}function vR(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function bx(){return document.body.offsetHeight}function Qte(e,t,n){const r=e[Zd];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Y1=Symbol("_vod"),FF=Symbol("_vsh"),Wt={beforeMount(e,{value:t},{transition:n}){e[Y1]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):cp(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),cp(e,!0),r.enter(e)):r.leave(e,()=>{cp(e,!1)}):cp(e,t))},beforeUnmount(e,{value:t}){cp(e,t)}};function cp(e,t){e.style.display=t?e[Y1]:"none",e[FF]=!t}function ene(){Wt.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const VF=Symbol("");function tne(e){const t=st();if(!t)return;const n=t.ut=(a=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>X1(o,a))},r=()=>{const a=e(t.proxy);t.ce?X1(t.ce,a):_x(t.subTree,a),n(a)};L_(()=>{Kv(r)}),ft(()=>{xe(r,rn,{flush:"post"});const a=new MutationObserver(r);a.observe(t.subTree.el.parentNode,{childList:!0}),Vo(()=>a.disconnect())})}function _x(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{_x(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)X1(e.el,t);else if(e.type===je)e.children.forEach(n=>_x(n,t));else if(e.type===Oc){let{el:n,anchor:r}=e;for(;n&&(X1(n,t),n!==r);)n=n.nextSibling}}function X1(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const a in t)n.setProperty(`--${a}`,t[a]),r+=`--${a}: ${t[a]};`;n[VF]=r}}const nne=/(^|;)\s*display\s*:/;function rne(e,t,n){const r=e.style,a=Ze(n);let o=!1;if(n&&!a){if(t)if(Ze(t))for(const i of t.split(";")){const s=i.slice(0,i.indexOf(":")).trim();n[s]==null&&Ly(r,s,"")}else for(const i in t)n[i]==null&&Ly(r,i,"");for(const i in n)i==="display"&&(o=!0),Ly(r,i,n[i])}else if(a){if(t!==n){const i=r[VF];i&&(n+=";"+i),r.cssText=n,o=nne.test(n)}}else t&&e.removeAttribute("style");Y1 in e&&(e[Y1]=o?r.display:"",e[FF]&&(r.display="none"))}const gR=/\s*!important$/;function Ly(e,t,n){if(Me(n))n.forEach(r=>Ly(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=ane(e,t);gR.test(n)?e.setProperty(la(r),n.replace(gR,""),"important"):e[r]=n}}const mR=["Webkit","Moz","ms"],LS={};function ane(e,t){const n=LS[t];if(n)return n;let r=gr(t);if(r!=="filter"&&r in e)return LS[t]=r;r=Ih(r);for(let a=0;a$S||(lne.then(()=>$S=0),$S=Date.now());function cne(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Mo(fne(r,n.value),t,5,[r])};return n.value=e,n.attached=une(),n}function fne(e,t){if(Me(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>a=>!a._stopped&&r&&r(a))}else return t}const CR=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,dne=(e,t,n,r,a,o)=>{const i=a==="svg";t==="class"?Qte(e,r,i):t==="style"?rne(e,n,r):im(t)?WA(t)||ine(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):hne(e,t,r,i))?(_R(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&bR(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ze(r))?_R(e,gr(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),bR(e,t,r,i))};function hne(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&CR(t)&&Ge(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return CR(t)&&Ze(n)?!1:t in e}const TR={};/*! #__NO_SIDE_EFFECTS__ */function zF(e,t,n){const r=te(e,t);qc(r)&&$n(r,t);class a extends B_{constructor(i){super(r,i,n)}}return a.def=r,a}/*! #__NO_SIDE_EFFECTS__ */const pne=(e,t)=>zF(e,t,JF),vne=typeof HTMLElement!="undefined"?HTMLElement:class{};class B_ extends vne{constructor(t,n={},r=Qc){super(),this._def=t,this._props=n,this._createApp=r,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&r!==Qc?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof B_){this._parent=t;break}this._instance||(this._resolved?(this._setParent(),this._update()):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._instance.provides=t._instance.provides)}disconnectedCallback(){this._connected=!1,qe(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let r=0;r{for(const a of r)this._setAttr(a.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,a=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:o,styles:i}=r;let s;if(o&&!Me(o))for(const l in o){const u=o[l];(u===Number||u&&u.type===Number)&&(l in this._props&&(this._props[l]=F1(this._props[l])),(s||(s=Object.create(null)))[gr(l)]=!0)}this._numberProps=s,a&&this._resolveProps(r),this.shadowRoot&&this._applyStyles(i),this._mount(r)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(r=>t(this._def=r,!0)):t(this._def)}_mount(t){this._app=this._createApp(t),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const r in n)Vt(this,r)||Object.defineProperty(this,r,{get:()=>y(n[r])})}_resolveProps(t){const{props:n}=t,r=Me(n)?n:Object.keys(n||{});for(const a of Object.keys(this))a[0]!=="_"&&r.includes(a)&&this._setProp(a,this[a]);for(const a of r.map(gr))Object.defineProperty(this,a,{get(){return this._getProp(a)},set(o){this._setProp(a,o,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let r=n?this.getAttribute(t):TR;const a=gr(t);n&&this._numberProps&&this._numberProps[a]&&(r=F1(r)),this._setProp(a,r,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,a=!1){if(n!==this._props[t]&&(n===TR?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),a&&this._instance&&this._update(),r)){const o=this._ob;o&&o.disconnect(),n===!0?this.setAttribute(la(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(la(t),n+""):n||this.removeAttribute(la(t)),o&&o.observe(this,{attributes:!0})}}_update(){ss(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=ee(this._def,$n(t,this._props));return this._instance||(n.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0;const a=(o,i)=>{this.dispatchEvent(new CustomEvent(o,qc(i[0])?$n({detail:i},i[0]):{detail:i}))};r.emit=(o,...i)=>{a(o,i),la(o)!==o&&a(la(o),i)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const r=this._nonce;for(let a=t.length-1;a>=0;a--){const o=document.createElement("style");r&&o.setAttribute("nonce",r),o.textContent=t[a],this.shadowRoot.prepend(o)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const r=n.nodeType===1&&n.getAttribute("slot")||"default";(t[r]||(t[r]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),n=this._instance.type.__scopeId;for(let r=0;r(delete e.props.mode,e),bne=yne({name:"TransitionGroup",props:$n({},$F,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=st(),r=QA();let a,o;return oo(()=>{if(!a.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Cne(a[0].el,n.vnode.el,i))return;a.forEach(_ne),a.forEach(wne);const s=a.filter(Sne);bx(),s.forEach(l=>{const u=l.el,c=u.style;Hi(u,i),c.transform=c.webkitTransform=c.transitionDuration="";const f=u[Z1]=h=>{h&&h.target!==u||(!h||/transform$/.test(h.propertyName))&&(u.removeEventListener("transitionend",f),u[Z1]=null,yl(u,i))};u.addEventListener("transitionend",f)})}),()=>{const i=Xt(e),s=NF(i);let l=i.tag||je;if(a=[],o)for(let u=0;u{s.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(s=>s&&r.classList.add(s)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:i}=BF(r);return o.removeChild(r),i}const ru=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Me(t)?n=>kd(t,n):t};function Tne(e){e.target.composing=!0}function ER(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const xo=Symbol("_assign"),Zc={created(e,{modifiers:{lazy:t,trim:n,number:r}},a){e[xo]=ru(a);const o=r||a.props&&a.props.type==="number";Ns(e,t?"change":"input",i=>{if(i.target.composing)return;let s=e.value;n&&(s=s.trim()),o&&(s=B1(s)),e[xo](s)}),n&&Ns(e,"change",()=>{e.value=e.value.trim()}),t||(Ns(e,"compositionstart",Tne),Ns(e,"compositionend",ER),Ns(e,"change",ER))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:a,number:o}},i){if(e[xo]=ru(i),e.composing)return;const s=(o||e.type==="number")&&!/^0\d/.test(e.value)?B1(e.value):e.value,l=t==null?"":t;s!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||a&&e.value.trim()===l)||(e.value=l))}},Jc={deep:!0,created(e,t,n){e[xo]=ru(n),Ns(e,"change",()=>{const r=e._modelValue,a=Jd(e),o=e.checked,i=e[xo];if(Me(r)){const s=T_(r,a),l=s!==-1;if(o&&!l)i(r.concat(a));else if(!o&&l){const u=[...r];u.splice(s,1),i(u)}}else if(mf(r)){const s=new Set(r);o?s.add(a):s.delete(a),i(s)}else i(KF(e,o))})},mounted:kR,beforeUpdate(e,t,n){e[xo]=ru(n),kR(e,t,n)}};function kR(e,{value:t,oldValue:n},r){e._modelValue=t;let a;if(Me(t))a=T_(t,r.props.value)>-1;else if(mf(t))a=t.has(r.props.value);else{if(t===n)return;a=tu(t,KF(e,!0))}e.checked!==a&&(e.checked=a)}const fm={created(e,{value:t},n){e.checked=tu(t,n.props.value),e[xo]=ru(n),Ns(e,"change",()=>{e[xo](Jd(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[xo]=ru(r),t!==n&&(e.checked=tu(t,r.props.value))}},jF={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const a=mf(t);Ns(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?B1(Jd(i)):Jd(i));e[xo](e.multiple?a?new Set(o):o:o[0]),e._assigning=!0,qe(()=>{e._assigning=!1})}),e[xo]=ru(r)},mounted(e,{value:t}){AR(e,t)},beforeUpdate(e,t,n){e[xo]=ru(n)},updated(e,{value:t}){e._assigning||AR(e,t)}};function AR(e,t){const n=e.multiple,r=Me(t);if(!(n&&!r&&!mf(t))){for(let a=0,o=e.options.length;aString(u)===String(s)):i.selected=T_(t,s)>-1}else i.selected=t.has(s);else if(tu(Jd(i),t)){e.selectedIndex!==a&&(e.selectedIndex=a);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Jd(e){return"_value"in e?e._value:e.value}function KF(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const GF={created(e,t,n){v0(e,t,n,null,"created")},mounted(e,t,n){v0(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){v0(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){v0(e,t,n,r,"updated")}};function qF(e,t){switch(e){case"SELECT":return jF;case"TEXTAREA":return Zc;default:switch(t){case"checkbox":return Jc;case"radio":return fm;default:return Zc}}}function v0(e,t,n,r,a){const i=qF(e.tagName,n.props&&n.props.type)[a];i&&i(e,t,n,r)}function xne(){Zc.getSSRProps=({value:e})=>({value:e}),fm.getSSRProps=({value:e},t)=>{if(t.props&&tu(t.props.value,e))return{checked:!0}},Jc.getSSRProps=({value:e},t)=>{if(Me(e)){if(t.props&&T_(e,t.props.value)>-1)return{checked:!0}}else if(mf(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},GF.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=qF(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const Ene=["ctrl","shift","alt","meta"],kne={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Ene.some(n=>e[`${n}Key`]&&!t.includes(n))},nt=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(a,...o)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=a=>{if(!("key"in a))return;const o=la(a.key);if(t.some(i=>i===o||Ane[i]===o))return e(a)})},YF=$n({patchProp:dne},Yte);let dv,MR=!1;function XF(){return dv||(dv=fF(YF))}function ZF(){return dv=MR?dv:dF(YF),MR=!0,dv}const ss=(...e)=>{XF().render(...e)},Mne=(...e)=>{ZF().hydrate(...e)},Qc=(...e)=>{const t=XF().createApp(...e),{mount:n}=t;return t.mount=r=>{const a=eV(r);if(!a)return;const o=t._component;!Ge(o)&&!o.render&&!o.template&&(o.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const i=n(a,!1,QF(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),i},t},JF=(...e)=>{const t=ZF().createApp(...e),{mount:n}=t;return t.mount=r=>{const a=eV(r);if(a)return n(a,!0,QF(a))},t};function QF(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function eV(e){return Ze(e)?document.querySelector(e):e}let OR=!1;const One=()=>{OR||(OR=!0,xne(),ene())};/** +* vue v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const Pne=()=>{},Qd=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:WB,BaseTransitionPropsValidators:e3,Comment:Kn,DeprecationTypes:Kte,EffectScope:KA,ErrorCodes:dee,ErrorTypeStrings:Fte,Fragment:je,KeepAlive:Nee,ReactiveEffect:Wv,Static:Oc,Suspense:wte,Teleport:FB,Text:rs,TrackOpTypes:oee,Transition:yr,TransitionGroup:f3,TriggerOpTypes:iee,VueElement:B_,assertNumber:fee,callWithAsyncErrorHandling:Mo,callWithErrorHandling:$h,camelize:gr,capitalize:Ih,cloneVNode:vi,compatUtils:jte,compile:Pne,computed:R,createApp:Qc,createBlock:ye,createCommentVNode:ge,createElementBlock:q,createElementVNode:Z,createHydrationRenderer:dF,createPropsRestProxy:Xee,createRenderer:fF,createSSRApp:JF,createSlots:Oo,createStaticVNode:Mte,createTextVNode:At,createVNode:ee,customRef:ZA,defineAsyncComponent:Lee,defineComponent:te,defineCustomElement:zF,defineEmits:Hee,defineExpose:Wee,defineModel:Kee,defineOptions:Uee,defineProps:zee,defineSSRCustomElement:pne,defineSlots:jee,devtools:Vte,effect:MQ,effectScope:x_,getCurrentInstance:st,getCurrentScope:Dh,getCurrentWatcher:see,getTransitionRawChildren:R_,guardReactiveProps:Yd,h:We,handleError:yf,hasInjectionContext:tF,hydrate:Mne,hydrateOnIdle:Mee,hydrateOnInteraction:Iee,hydrateOnMediaQuery:Ree,hydrateOnVisible:Pee,initCustomFormatter:Nte,initDirectivesForSSR:One,inject:ze,isMemoSame:RF,isProxy:Gd,isReactive:Qa,isReadonly:nu,isRef:Gt,isRuntimeOnly:Dte,isShallow:eo,isVNode:yn,markRaw:ui,mergeDefaults:qee,mergeModels:Yee,mergeProps:Et,nextTick:qe,normalizeClass:F,normalizeProps:Kd,normalizeStyle:Xe,onActivated:I_,onBeforeMount:lm,onBeforeUnmount:fn,onBeforeUpdate:L_,onDeactivated:n3,onErrorCaptured:YB,onMounted:ft,onRenderTracked:qB,onRenderTriggered:GB,onScopeDispose:Lh,onServerPrefetch:KB,onUnmounted:Vo,onUpdated:oo,onWatcherCleanup:OB,openBlock:N,popScopeId:mee,provide:kt,proxyRefs:XA,pushScopeId:gee,queuePostFlushCb:Kv,reactive:zt,readonly:gu,ref:H,registerRuntimeCompiler:Ite,render:ss,renderList:Rt,renderSlot:ve,resolveComponent:gt,resolveDirective:Nh,resolveDynamicComponent:bt,resolveFilter:Ute,resolveTransitionHooks:qd,setBlockTracking:dx,setDevtoolsHook:zte,setTransitionHooks:js,shallowReactive:M_,shallowReadonly:YQ,shallowRef:gn,ssrContextKey:gF,ssrUtils:Wte,stop:OQ,toDisplayString:Re,toHandlerKey:Ed,toHandlers:ZB,toRaw:Xt,toRef:Jt,toRefs:rr,toValue:JQ,transformVNodeArgs:kte,triggerRef:ZQ,unref:y,useAttrs:mu,useCssModule:mne,useCssVars:tne,useHost:HF,useId:wee,useModel:pte,useSSRContext:mF,useShadowRoot:gne,useSlots:Yn,useTemplateRef:See,useTransitionState:QA,vModelCheckbox:Jc,vModelDynamic:GF,vModelRadio:fm,vModelSelect:jF,vModelText:Zc,vShow:Wt,version:IF,warn:c3,watch:xe,watchEffect:Ar,watchPostEffect:dte,watchSyncEffect:yF,withAsyncContext:Zee,withCtx:le,withDefaults:Gee,withDirectives:vt,withKeys:un,withMemo:Bte,withModifiers:nt,withScopeId:yee},Symbol.toStringTag,{value:"Module"})),tV=Symbol(),hv="el",Rne="is-",Pu=(e,t,n,r,a)=>{let o=`${e}-${t}`;return n&&(o+=`-${n}`),r&&(o+=`__${r}`),a&&(o+=`--${a}`),o},nV=Symbol("namespaceContextKey"),d3=e=>{const t=e||(st()?ze(nV,H(hv)):H(hv));return R(()=>y(t)||hv)},Ae=(e,t)=>{const n=d3(t);return{namespace:n,b:(v="")=>Pu(n.value,e,v,"",""),e:v=>v?Pu(n.value,e,"",v,""):"",m:v=>v?Pu(n.value,e,"","",v):"",be:(v,g)=>v&&g?Pu(n.value,e,v,g,""):"",em:(v,g)=>v&&g?Pu(n.value,e,"",v,g):"",bm:(v,g)=>v&&g?Pu(n.value,e,v,"",g):"",bem:(v,g,m)=>v&&g&&m?Pu(n.value,e,v,g,m):"",is:(v,...g)=>{const m=g.length>=1?g[0]:!0;return v&&m?`${Rne}${v}`:""},cssVar:v=>{const g={};for(const m in v)v[m]&&(g[`--${n.value}-${m}`]=v[m]);return g},cssVarName:v=>`--${n.value}-${v}`,cssVarBlock:v=>{const g={};for(const m in v)v[m]&&(g[`--${n.value}-${e}-${m}`]=v[m]);return g},cssVarBlockName:v=>`--${n.value}-${e}-${v}`}};var rV=typeof global=="object"&&global&&global.Object===Object&&global,Ine=typeof self=="object"&&self&&self.Object===Object&&self,Si=rV||Ine||Function("return this")(),Po=Si.Symbol,aV=Object.prototype,Dne=aV.hasOwnProperty,Lne=aV.toString,fp=Po?Po.toStringTag:void 0;function $ne(e){var t=Dne.call(e,fp),n=e[fp];try{e[fp]=void 0;var r=!0}catch(o){}var a=Lne.call(e);return r&&(t?e[fp]=n:delete e[fp]),a}var Nne=Object.prototype,Bne=Nne.toString;function Fne(e){return Bne.call(e)}var Vne="[object Null]",zne="[object Undefined]",PR=Po?Po.toStringTag:void 0;function bf(e){return e==null?e===void 0?zne:Vne:PR&&PR in Object(e)?$ne(e):Fne(e)}function ls(e){return e!=null&&typeof e=="object"}var Hne="[object Symbol]";function F_(e){return typeof e=="symbol"||ls(e)&&bf(e)==Hne}function h3(e,t){for(var n=-1,r=e==null?0:e.length,a=Array(r);++n0){if(++t>=mre)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function wre(e){return function(){return e}}var J1=function(){try{var e=wf(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),Sre=J1?function(e,t){return J1(e,"toString",{configurable:!0,enumerable:!1,value:wre(t),writable:!0})}:p3,sV=_re(Sre);function Cre(e,t){for(var n=-1,r=e==null?0:e.length;++n-1}var Are=9007199254740991,Mre=/^(?:0|[1-9]\d*)$/;function V_(e,t){var n=typeof e;return t=t==null?Are:t,!!t&&(n=="number"||n!="symbol"&&Mre.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=Rre}function Fh(e){return e!=null&&y3(e.length)&&!v3(e)}function Ire(e,t,n){if(!_a(n))return!1;var r=typeof t;return(r=="number"?Fh(n)&&V_(t,n.length):r=="string"&&t in n)?dm(n[t],e):!1}function Dre(e){return cV(function(t,n){var r=-1,a=n.length,o=a>1?n[a-1]:void 0,i=a>2?n[2]:void 0;for(o=e.length>3&&typeof o=="function"?(a--,o):void 0,i&&Ire(n[0],n[1],i)&&(o=a<3?void 0:o,a=1),t=Object(t);++r-1}function Uae(e,t){var n=this.__data__,r=z_(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Qs(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t0&&n(s)?t>1?vm(s,t-1,n,r,a):C3(a,s):r||(a[a.length]=s)}return a}function gV(e){var t=e==null?0:e.length;return t?vm(e,1):[]}function mV(e){return sV(uV(e,void 0,gV),e+"")}var T3=vV(Object.getPrototypeOf,Object),ioe="[object Object]",soe=Function.prototype,loe=Object.prototype,yV=soe.toString,uoe=loe.hasOwnProperty,coe=yV.call(Object);function bV(e){if(!ls(e)||bf(e)!=ioe)return!1;var t=T3(e);if(t===null)return!0;var n=uoe.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&yV.call(n)==coe}function foe(e,t,n){var r=-1,a=e.length;t<0&&(t=-t>a?0:a+t),n=n>a?a:n,n<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(a);++rs))return!1;var u=o.get(e),c=o.get(t);if(u&&c)return u==t&&c==e;var f=-1,h=!0,d=n&Kie?new ng:void 0;for(o.set(e,t),o.set(t,e);++f=t||T<0||f&&x>=o}function m(){var C=VS();if(g(C))return w(C);s=setTimeout(m,v(C))}function w(C){return s=void 0,h&&r?d(C):(r=a=void 0,i)}function _(){s!==void 0&&clearTimeout(s),u=0,r=l=a=s=void 0}function b(){return s===void 0?i:w(VS())}function S(){var C=VS(),T=g(C);if(r=arguments,a=this,l=C,T){if(s===void 0)return p(l);if(f)return clearTimeout(s),s=setTimeout(m,t),d(l)}return s===void 0&&(s=setTimeout(m,t)),i}return S.cancel=_,S.flush=b,S}function Ex(e,t,n){(n!==void 0&&!dm(e[t],n)||n===void 0&&!(t in e))&&g3(e,t,n)}function BV(e){return ls(e)&&Fh(e)}function kx(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function Lse(e){return Bh(e,pm(e))}function $se(e,t,n,r,a,o,i){var s=kx(e,n),l=kx(t,n),u=i.get(l);if(u){Ex(e,n,u);return}var c=o?o(s,l,n+"",e,t,i):void 0,f=c===void 0;if(f){var h=ba(l),d=!h&&Qv(l),p=!h&&!d&&w3(l);c=l,h||d||p?ba(s)?c=s:BV(s)?c=iV(s):d?(f=!1,c=wV(l,!0)):p?(f=!1,c=EV(l,!0)):c=[]:bV(l)||Jv(l)?(c=s,Jv(s)?c=Lse(s):(!_a(s)||v3(s))&&(c=kV(l))):f=!1}f&&(i.set(l,c),a(c,l,r,o,i),i.delete(l)),Ex(e,n,c)}function FV(e,t,n,r,a){e!==t&&NV(t,function(o,i){if(a||(a=new ci),_a(o))$se(e,t,i,n,FV,r,a);else{var s=r?r(kx(e,i),o,i+"",e,t,a):void 0;s===void 0&&(s=o),Ex(e,i,s)}},pm)}function Nse(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function VV(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var a=r-1;return lV(e,$V(t),a,!0)}function Bse(e,t){var n=-1,r=Fh(e)?Array(e.length):[];return Pse(e,function(a,o,i){r[++n]=t(a,o,i)}),r}function Fse(e,t){var n=ba(e)?h3:Bse;return n(e,$V(t))}function Vse(e,t){return vm(Fse(e,t),1)}var zse=1/0;function Hse(e){var t=e==null?0:e.length;return t?vm(e,zse):[]}function rg(e){for(var t=-1,n=e==null?0:e.length,r={};++t1),o}),Bh(e,xV(e),n),r&&(n=Pd(n,Kse|Gse|qse,jse));for(var a=t.length;a--;)Use(n,t[a]);return n});function WV(e,t,n,r){if(!_a(e))return e;t=Vh(t,e);for(var a=-1,o=t.length,i=o-1,s=e;s!=null&&++a=nle){var u=tle(e);if(u)return k3(u);i=!1,a=PV,l=new ng}else l=s;e:for(;++re===void 0,hn=e=>typeof e=="boolean",et=e=>typeof e=="number",qa=e=>!e&&e!==0||Me(e)&&e.length===0||_t(e)&&!Object.keys(e).length,to=e=>typeof Element=="undefined"?!1:e instanceof Element,nh=e=>ur(e),ale=e=>Ze(e)?!Number.isNaN(Number(e)):!1,K_=e=>e===window;var ole=!1,ile=Object.defineProperty,sle=Object.defineProperties,lle=Object.getOwnPropertyDescriptors,lI=Object.getOwnPropertySymbols,ule=Object.prototype.hasOwnProperty,cle=Object.prototype.propertyIsEnumerable,uI=(e,t,n)=>t in e?ile(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,fle=(e,t)=>{for(var n in t||(t={}))ule.call(t,n)&&uI(e,n,t[n]);if(lI)for(var n of lI(t))cle.call(t,n)&&uI(e,n,t[n]);return e},dle=(e,t)=>sle(e,lle(t));function Ax(e,t){var n;const r=gn();return Ar(()=>{r.value=e()},dle(fle({},t),{flush:(n=void 0)!=null?n:"sync"})),gu(r)}var cI;const Bt=typeof window!="undefined",hle=e=>typeof e!="undefined",Mx=e=>typeof e=="function",ple=e=>typeof e=="string",rh=()=>{},Ox=Bt&&((cI=window==null?void 0:window.navigator)==null?void 0:cI.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function au(e){return typeof e=="function"?e():y(e)}function UV(e,t){function n(...r){return new Promise((a,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(a).catch(o)})}return n}function vle(e,t={}){let n,r,a=rh;const o=s=>{clearTimeout(s),a(),a=rh};return s=>{const l=au(e),u=au(t.maxWait);return n&&o(n),l<=0||u!==void 0&&u<=0?(r&&(o(r),r=null),Promise.resolve(s())):new Promise((c,f)=>{a=t.rejectOnCancel?f:c,u&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,c(s())},u)),n=setTimeout(()=>{r&&o(r),r=null,c(s())},l)})}}function gle(e,t=!0,n=!0,r=!1){let a=0,o,i=!0,s=rh,l;const u=()=>{o&&(clearTimeout(o),o=void 0,s(),s=rh)};return f=>{const h=au(e),d=Date.now()-a,p=()=>l=f();return u(),h<=0?(a=Date.now(),p()):(d>h&&(n||!i)?(a=Date.now(),p()):t&&(l=new Promise((v,g)=>{s=r?g:v,o=setTimeout(()=>{a=Date.now(),i=!0,v(p()),u()},Math.max(0,h-d))})),!n&&!o&&(o=setTimeout(()=>i=!0,h)),i=!1,l)}}function mle(e){return e}function yle(e,t){let n,r,a;const o=H(!0),i=()=>{o.value=!0,a()};xe(e,i,{flush:"sync"});const s=Mx(t)?t:t.get,l=Mx(t)?void 0:t.set,u=ZA((c,f)=>(r=c,a=f,{get(){return o.value&&(n=s(),o.value=!1),r(),n},set(h){l==null||l(h)}}));return Object.isExtensible(u)&&(u.trigger=i),u}function gm(e){return Dh()?(Lh(e),!0):!1}function ble(e,t=200,n={}){return UV(vle(t,n),e)}function _le(e,t=200,n={}){const r=H(e.value),a=ble(()=>{r.value=e.value},t,n);return xe(e,()=>a()),r}function jV(e,t=200,n=!1,r=!0,a=!1){return UV(gle(t,n,r,a),e)}function A3(e,t=!0){st()?ft(e):t?e():qe(e)}function ah(e,t,n={}){const{immediate:r=!0}=n,a=H(!1);let o=null;function i(){o&&(clearTimeout(o),o=null)}function s(){a.value=!1,i()}function l(...u){i(),a.value=!0,o=setTimeout(()=>{a.value=!1,o=null,e(...u)},au(t))}return r&&(a.value=!0,Bt&&l()),gm(s),{isPending:gu(a),start:l,stop:s}}function Xa(e){var t;const n=au(e);return(t=n==null?void 0:n.$el)!=null?t:n}const yu=Bt?window:void 0,wle=Bt?window.document:void 0;function sn(...e){let t,n,r,a;if(ple(e[0])||Array.isArray(e[0])?([n,r,a]=e,t=yu):[t,n,r,a]=e,!t)return rh;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(c=>c()),o.length=0},s=(c,f,h,d)=>(c.addEventListener(f,h,d),()=>c.removeEventListener(f,h,d)),l=xe(()=>[Xa(t),au(a)],([c,f])=>{i(),c&&o.push(...n.flatMap(h=>r.map(d=>s(c,h,d,f))))},{immediate:!0,flush:"post"}),u=()=>{l(),i()};return gm(u),u}let fI=!1;function M3(e,t,n={}){const{window:r=yu,ignore:a=[],capture:o=!0,detectIframe:i=!1}=n;if(!r)return;Ox&&!fI&&(fI=!0,Array.from(r.document.body.children).forEach(h=>h.addEventListener("click",rh)));let s=!0;const l=h=>a.some(d=>{if(typeof d=="string")return Array.from(r.document.querySelectorAll(d)).some(p=>p===h.target||h.composedPath().includes(p));{const p=Xa(d);return p&&(h.target===p||h.composedPath().includes(p))}}),c=[sn(r,"click",h=>{const d=Xa(e);if(!(!d||d===h.target||h.composedPath().includes(d))){if(h.detail===0&&(s=!l(h)),!s){s=!0;return}t(h)}},{passive:!0,capture:o}),sn(r,"pointerdown",h=>{const d=Xa(e);d&&(s=!h.composedPath().includes(d)&&!l(h))},{passive:!0}),i&&sn(r,"blur",h=>{var d;const p=Xa(e);((d=r.document.activeElement)==null?void 0:d.tagName)==="IFRAME"&&!(p!=null&&p.contains(r.document.activeElement))&&t(h)})].filter(Boolean);return()=>c.forEach(h=>h())}function Sle(e={}){var t;const{window:n=yu}=e,r=(t=e.document)!=null?t:n==null?void 0:n.document,a=yle(()=>null,()=>r==null?void 0:r.activeElement);return n&&(sn(n,"blur",o=>{o.relatedTarget===null&&a.trigger()},!0),sn(n,"focus",a.trigger,!0)),a}function KV(e,t=!1){const n=H(),r=()=>n.value=!!e();return r(),A3(r,t),n}function Cle(e){return JSON.parse(JSON.stringify(e))}const dI=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},hI="__vueuse_ssr_handlers__";dI[hI]=dI[hI]||{};function Tle(e,t,{window:n=yu,initialValue:r=""}={}){const a=H(r),o=R(()=>{var i;return Xa(t)||((i=n==null?void 0:n.document)==null?void 0:i.documentElement)});return xe([o,()=>au(e)],([i,s])=>{var l;if(i&&n){const u=(l=n.getComputedStyle(i).getPropertyValue(s))==null?void 0:l.trim();a.value=u||r}},{immediate:!0}),xe(a,i=>{var s;(s=o.value)!=null&&s.style&&o.value.style.setProperty(au(e),i)}),a}function xle({document:e=wle}={}){if(!e)return H("visible");const t=H(e.visibilityState);return sn(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var pI=Object.getOwnPropertySymbols,Ele=Object.prototype.hasOwnProperty,kle=Object.prototype.propertyIsEnumerable,Ale=(e,t)=>{var n={};for(var r in e)Ele.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&pI)for(var r of pI(e))t.indexOf(r)<0&&kle.call(e,r)&&(n[r]=e[r]);return n};function On(e,t,n={}){const r=n,{window:a=yu}=r,o=Ale(r,["window"]);let i;const s=KV(()=>a&&"ResizeObserver"in a),l=()=>{i&&(i.disconnect(),i=void 0)},u=xe(()=>Xa(e),f=>{l(),s.value&&a&&f&&(i=new ResizeObserver(t),i.observe(f,o))},{immediate:!0,flush:"post"}),c=()=>{l(),u()};return gm(c),{isSupported:s,stop:c}}function vI(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:a=!0,immediate:o=!0}=t,i=H(0),s=H(0),l=H(0),u=H(0),c=H(0),f=H(0),h=H(0),d=H(0);function p(){const v=Xa(e);if(!v){n&&(i.value=0,s.value=0,l.value=0,u.value=0,c.value=0,f.value=0,h.value=0,d.value=0);return}const g=v.getBoundingClientRect();i.value=g.height,s.value=g.bottom,l.value=g.left,u.value=g.right,c.value=g.top,f.value=g.width,h.value=g.x,d.value=g.y}return On(e,p),xe(()=>Xa(e),v=>!v&&p()),a&&sn("scroll",p,{capture:!0,passive:!0}),r&&sn("resize",p,{passive:!0}),A3(()=>{o&&p()}),{height:i,bottom:s,left:l,right:u,top:c,width:f,x:h,y:d,update:p}}var gI=Object.getOwnPropertySymbols,Mle=Object.prototype.hasOwnProperty,Ole=Object.prototype.propertyIsEnumerable,Ple=(e,t)=>{var n={};for(var r in e)Mle.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&gI)for(var r of gI(e))t.indexOf(r)<0&&Ole.call(e,r)&&(n[r]=e[r]);return n};function GV(e,t,n={}){const r=n,{window:a=yu}=r,o=Ple(r,["window"]);let i;const s=KV(()=>a&&"MutationObserver"in a),l=()=>{i&&(i.disconnect(),i=void 0)},u=xe(()=>Xa(e),f=>{l(),s.value&&a&&f&&(i=new MutationObserver(t),i.observe(f,o))},{immediate:!0}),c=()=>{l(),u()};return gm(c),{isSupported:s,stop:c}}var mI;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(mI||(mI={}));var Rle=Object.defineProperty,yI=Object.getOwnPropertySymbols,Ile=Object.prototype.hasOwnProperty,Dle=Object.prototype.propertyIsEnumerable,bI=(e,t,n)=>t in e?Rle(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Lle=(e,t)=>{for(var n in t||(t={}))Ile.call(t,n)&&bI(e,n,t[n]);if(yI)for(var n of yI(t))Dle.call(t,n)&&bI(e,n,t[n]);return e};const $le={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};Lle({linear:mle},$le);function qV(e,t,n,r={}){var a,o,i;const{clone:s=!1,passive:l=!1,eventName:u,deep:c=!1,defaultValue:f}=r,h=st(),d=n||(h==null?void 0:h.emit)||((a=h==null?void 0:h.$emit)==null?void 0:a.bind(h))||((i=(o=h==null?void 0:h.proxy)==null?void 0:o.$emit)==null?void 0:i.bind(h==null?void 0:h.proxy));let p=u;t||(t="modelValue"),p=u||p||`update:${t.toString()}`;const v=m=>s?Mx(s)?s(m):Cle(m):m,g=()=>hle(e[t])?v(e[t]):f;if(l){const m=g(),w=H(m);return xe(()=>e[t],_=>w.value=v(_)),xe(w,_=>{(_!==e[t]||c)&&d(p,_)},{deep:c}),w}else return R({get(){return g()},set(m){d(p,m)}})}function Nle({window:e=yu}={}){if(!e)return H(!1);const t=H(e.document.hasFocus());return sn(e,"blur",()=>{t.value=!1}),sn(e,"focus",()=>{t.value=!0}),t}function Ble(e={}){const{window:t=yu,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:a=!0,includeScrollbar:o=!0}=e,i=H(n),s=H(r),l=()=>{t&&(o?(i.value=t.innerWidth,s.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,s.value=t.document.documentElement.clientHeight))};return l(),A3(l),sn("resize",l,{passive:!0}),a&&sn("orientationchange",l,{passive:!0}),{width:i,height:s}}class Fle extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function ar(e,t){throw new Fle(`[${e}] ${t}`)}const _I={current:0},wI=H(0),YV=2e3,SI=Symbol("elZIndexContextKey"),XV=Symbol("zIndexContextKey"),mm=e=>{const t=st()?ze(SI,_I):_I,n=e||(st()?ze(XV,void 0):void 0),r=R(()=>{const i=y(n);return et(i)?i:YV}),a=R(()=>r.value+wI.value),o=()=>(t.current++,wI.value=t.current,a.value);return!Bt&&ze(SI),{initialZIndex:r,currentZIndex:a,nextZIndex:o}};var Vle={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tour:{next:"Next",previous:"Previous",finish:"Finish"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const zle=e=>(t,n)=>Hle(t,n,y(e)),Hle=(e,t,n)=>Gn(n,e,e).replace(/\{(\w+)\}/g,(r,a)=>{var o;return`${(o=t==null?void 0:t[a])!=null?o:`{${a}}`}`}),Wle=e=>{const t=R(()=>y(e).name),n=Gt(e)?e:H(e);return{lang:t,locale:n,t:zle(e)}},ZV=Symbol("localeContextKey"),$t=e=>{const t=e||ze(ZV,H());return Wle(R(()=>t.value||Vle))},JV="__epPropKey",ce=e=>e,Ule=e=>_t(e)&&!!e[JV],Ci=(e,t)=>{if(!_t(e)||Ule(e))return e;const{values:n,required:r,default:a,type:o,validator:i}=e,l={type:o,required:!!r,validator:n||i?u=>{let c=!1,f=[];if(n&&(f=Array.from(n),Vt(e,"default")&&f.push(a),c||(c=f.includes(u))),i&&(c||(c=i(u))),!c&&f.length>0){const h=[...new Set(f)].map(d=>JSON.stringify(d)).join(", ");c3(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${h}], got value ${JSON.stringify(u)}.`)}return c}:void 0,[JV]:!0};return Vt(e,"default")&&(l.default=a),l},Ie=e=>rg(Object.entries(e).map(([t,n])=>[t,Ci(n,t)])),ms=["","default","small","large"],or=Ci({type:String,values:ms,required:!1}),QV=Symbol("size"),ez=()=>{const e=ze(QV,{});return R(()=>y(e.size)||"")},tz=Symbol("emptyValuesContextKey"),jle=["",void 0,null],Kle=void 0,Hh=Ie({emptyValues:Array,valueOnClear:{type:[String,Number,Boolean,Function],default:void 0,validator:e=>Ge(e)?!e():!e}}),G_=(e,t)=>{const n=st()?ze(tz,H({})):H({}),r=R(()=>e.emptyValues||n.value.emptyValues||jle),a=R(()=>Ge(e.valueOnClear)?e.valueOnClear():e.valueOnClear!==void 0?e.valueOnClear:Ge(n.value.valueOnClear)?n.value.valueOnClear():n.value.valueOnClear!==void 0?n.value.valueOnClear:t!==void 0?t:Kle),o=i=>r.value.includes(i);return r.value.includes(a.value),{emptyValues:r,valueOnClear:a,isEmptyValue:o}},ag=e=>Object.keys(e),Gle=e=>Object.entries(e),$y=(e,t,n)=>({get value(){return Gn(e,t,n)},set value(r){Jse(e,t,r)}}),tb=H();function q_(e,t=void 0){const n=st()?ze(tV,tb):tb;return e?R(()=>{var r,a;return(a=(r=n.value)==null?void 0:r[e])!=null?a:t}):n}function Y_(e,t){const n=q_(),r=Ae(e,R(()=>{var s;return((s=n.value)==null?void 0:s.namespace)||hv})),a=$t(R(()=>{var s;return(s=n.value)==null?void 0:s.locale})),o=mm(R(()=>{var s;return((s=n.value)==null?void 0:s.zIndex)||YV})),i=R(()=>{var s;return y(t)||((s=n.value)==null?void 0:s.size)||""});return nz(R(()=>y(n)||{})),{ns:r,locale:a,zIndex:o,size:i}}const nz=(e,t,n=!1)=>{var r;const a=!!st(),o=a?q_():void 0,i=(r=void 0)!=null?r:a?kt:void 0;if(!i)return;const s=R(()=>{const l=y(e);return o!=null&&o.value?qle(o.value,l):l});return i(tV,s),i(ZV,R(()=>s.value.locale)),i(nV,R(()=>s.value.namespace)),i(XV,R(()=>s.value.zIndex)),i(QV,{size:R(()=>s.value.size||"")}),i(tz,R(()=>({emptyValues:s.value.emptyValues,valueOnClear:s.value.valueOnClear}))),(n||!tb.value)&&(tb.value=s.value),s},qle=(e,t)=>{const n=[...new Set([...ag(e),...ag(t)])],r={};for(const a of n)r[a]=t[a]!==void 0?t[a]:e[a];return r},St="update:modelValue",Sn="change",ha="input",Yle=Ie({zIndex:{type:ce([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"}}),Xle={scroll:({scrollTop:e,fixed:t})=>et(e)&&hn(t),[Sn]:e=>hn(e)};var De=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n};function Zle(e,t,n,r){const a=n-t;return e/=r/2,e<1?a/2*e*e*e+t:a/2*((e-=2)*e*e+2)+t}const ou=e=>Bt?window.requestAnimationFrame(e):setTimeout(e,16),tf=e=>Bt?window.cancelAnimationFrame(e):clearTimeout(e),rz=(e="")=>e.split(" ").filter(t=>!!t.trim()),Ra=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},Co=(e,t)=>{!e||!t.trim()||e.classList.add(...rz(t))},Ur=(e,t)=>{!e||!t.trim()||e.classList.remove(...rz(t))},Ol=(e,t)=>{var n;if(!Bt||!e||!t)return"";let r=gr(t);r==="float"&&(r="cssFloat");try{const a=e.style[r];if(a)return a;const o=(n=document.defaultView)==null?void 0:n.getComputedStyle(e,"");return o?o[r]:""}catch(a){return e.style[r]}};function Vn(e,t="px"){if(!e)return"";if(et(e)||ale(e))return`${e}${t}`;if(Ze(e))return e}const Jle=(e,t)=>{if(!Bt)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],r=Ol(e,n);return["scroll","auto","overlay"].some(a=>r.includes(a))},O3=(e,t)=>{if(!Bt)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(Jle(n,t))return n;n=n.parentNode}return n};let m0;const az=e=>{var t;if(!Bt)return 0;if(m0!==void 0)return m0;const n=document.createElement("div");n.className=`${e}-scrollbar__wrap`,n.style.visibility="hidden",n.style.width="100px",n.style.position="absolute",n.style.top="-9999px",document.body.appendChild(n);const r=n.offsetWidth;n.style.overflow="scroll";const a=document.createElement("div");a.style.width="100%",n.appendChild(a);const o=a.offsetWidth;return(t=n.parentNode)==null||t.removeChild(n),m0=r-o,m0};function oz(e,t){if(!Bt)return;if(!t){e.scrollTop=0;return}const n=[];let r=t.offsetParent;for(;r!==null&&e!==r&&e.contains(r);)n.push(r),r=r.offsetParent;const a=t.offsetTop+n.reduce((l,u)=>l+u.offsetTop,0),o=a+t.offsetHeight,i=e.scrollTop,s=i+e.clientHeight;as&&(e.scrollTop=o-e.clientHeight)}function Qle(e,t,n,r,a){const o=Date.now();let i;const s=()=>{const u=Date.now()-o,c=Zle(u>r?r:u,t,n,r);K_(e)?e.scrollTo(window.pageXOffset,c):e.scrollTop=c,u{i&&tf(i)}}const CI=(e,t)=>K_(t)?e.ownerDocument.documentElement:t,TI=e=>K_(e)?window.scrollY:e.scrollTop,iz="ElAffix",eue=te({name:iz}),tue=te(_e(X({},eue),{props:Yle,emits:Xle,setup(e,{expose:t,emit:n}){const r=e,a=Ae("affix"),o=gn(),i=gn(),s=gn(),{height:l}=Ble(),{height:u,width:c,top:f,bottom:h,update:d}=vI(i,{windowScroll:!1}),p=vI(o),v=H(!1),g=H(0),m=H(0),w=R(()=>({height:v.value?`${u.value}px`:"",width:v.value?`${c.value}px`:""})),_=R(()=>{if(!v.value)return{};const C=r.offset?Vn(r.offset):0;return{height:`${u.value}px`,width:`${c.value}px`,top:r.position==="top"?C:"",bottom:r.position==="bottom"?C:"",transform:m.value?`translateY(${m.value}px)`:"",zIndex:r.zIndex}}),b=()=>{if(!s.value)return;g.value=s.value instanceof Window?document.documentElement.scrollTop:s.value.scrollTop||0;const{position:C,target:T,offset:x}=r,E=x+u.value;if(C==="top")if(T){const k=p.bottom.value-E;v.value=x>f.value&&p.bottom.value>0,m.value=k<0?k:0}else v.value=x>f.value;else if(T){const k=l.value-p.top.value-E;v.value=l.value-xp.top.value,m.value=k<0?-k:0}else v.value=l.value-x{d(),n("scroll",{scrollTop:g.value,fixed:v.value})};return xe(v,C=>n("change",C)),ft(()=>{var C;r.target?(o.value=(C=document.querySelector(r.target))!=null?C:void 0,o.value||ar(iz,`Target does not exist: ${r.target}`)):o.value=document.documentElement,s.value=O3(i.value,!0),d()}),sn(s,"scroll",S),Ar(b),t({update:b,updateRoot:d}),(C,T)=>(N(),q("div",{ref_key:"root",ref:i,class:F(y(a).b()),style:Xe(y(w))},[Z("div",{class:F({[y(a).m("fixed")]:v.value}),style:Xe(y(_))},[ve(C.$slots,"default")],6)],6))}}));var nue=De(tue,[["__file","affix.vue"]]);const pt=(e,t)=>{if(e.install=n=>{for(const r of[e,...Object.values(t!=null?t:{})])n.component(r.name,r)},t)for(const[n,r]of Object.entries(t))e[n]=r;return e},sz=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),rue=(e,t)=>(e.install=n=>{n.directive(t,e)},e),Dn=e=>(e.install=rn,e),aue=pt(nue),oue=Ie({size:{type:ce([Number,String])},color:{type:String}}),iue=te({name:"ElIcon",inheritAttrs:!1}),sue=te(_e(X({},iue),{props:oue,setup(e){const t=e,n=Ae("icon"),r=R(()=>{const{size:a,color:o}=t;return!a&&!o?{}:{fontSize:_n(a)?void 0:Vn(a),"--color":o}});return(a,o)=>(N(),q("i",Et({class:y(n).b(),style:y(r)},a.$attrs),[ve(a.$slots,"default")],16))}}));var lue=De(sue,[["__file","icon.vue"]]);const Ke=pt(lue);/*! Element Plus Icons Vue v2.3.1 */var uue=te({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"})]))}}),tl=uue,cue=te({name:"ArrowLeft",__name:"arrow-left",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"})]))}}),iu=cue,fue=te({name:"ArrowRight",__name:"arrow-right",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),pa=fue,due=te({name:"ArrowUp",__name:"arrow-up",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),P3=due,hue=te({name:"Back",__name:"back",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),Z("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}}),pue=hue,vue=te({name:"Calendar",__name:"calendar",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),gue=vue,mue=te({name:"CaretRight",__name:"caret-right",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),lz=mue,yue=te({name:"CaretTop",__name:"caret-top",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),bue=yue,_ue=te({name:"Check",__name:"check",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),ym=_ue,wue=te({name:"CircleCheckFilled",__name:"circle-check-filled",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),Sue=wue,Cue=te({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),Z("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"})]))}}),R3=Cue,Tue=te({name:"CircleCloseFilled",__name:"circle-close-filled",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),I3=Tue,xue=te({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),Z("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),bu=xue,Eue=te({name:"Clock",__name:"clock",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),Z("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),Z("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),uz=Eue,kue=te({name:"Close",__name:"close",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),gi=kue,Aue=te({name:"DArrowLeft",__name:"d-arrow-left",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"})]))}}),su=Aue,Mue=te({name:"DArrowRight",__name:"d-arrow-right",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"})]))}}),lu=Mue,Oue=te({name:"Delete",__name:"delete",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),Pue=Oue,Rue=te({name:"Document",__name:"document",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),Iue=Rue,Due=te({name:"FullScreen",__name:"full-screen",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),Lue=Due,$ue=te({name:"Hide",__name:"hide",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"}),Z("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"})]))}}),Nue=$ue,Bue=te({name:"InfoFilled",__name:"info-filled",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),D3=Bue,Fue=te({name:"Loading",__name:"loading",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}}),us=Fue,Vue=te({name:"Minus",__name:"minus",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),zue=Vue,Hue=te({name:"MoreFilled",__name:"more-filled",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),xI=Hue,Wue=te({name:"More",__name:"more",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),Uue=Wue,jue=te({name:"PictureFilled",__name:"picture-filled",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),Kue=jue,Gue=te({name:"Plus",__name:"plus",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),cz=Gue,que=te({name:"QuestionFilled",__name:"question-filled",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"})]))}}),Yue=que,Xue=te({name:"RefreshLeft",__name:"refresh-left",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}}),Zue=Xue,Jue=te({name:"RefreshRight",__name:"refresh-right",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"})]))}}),Que=Jue,ece=te({name:"ScaleToOriginal",__name:"scale-to-original",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zm-361.412 0a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118M512 361.412a30.118 30.118 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.118 30.118 0 0 0 512 361.412M512 512a30.118 30.118 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.118 30.118 0 0 0 512 512"})]))}}),tce=ece,nce=te({name:"Search",__name:"search",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),rce=nce,ace=te({name:"SortDown",__name:"sort-down",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),oce=ace,ice=te({name:"SortUp",__name:"sort-up",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),sce=ice,lce=te({name:"StarFilled",__name:"star-filled",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M283.84 867.84 512 747.776l228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72z"})]))}}),y0=lce,uce=te({name:"Star",__name:"star",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),cce=uce,fce=te({name:"SuccessFilled",__name:"success-filled",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),fz=fce,dce=te({name:"View",__name:"view",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),hce=dce,pce=te({name:"WarningFilled",__name:"warning-filled",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),X_=pce,vce=te({name:"ZoomIn",__name:"zoom-in",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),dz=vce,gce=te({name:"ZoomOut",__name:"zoom-out",setup(e){return(t,n)=>(N(),q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Z("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),mce=gce;const cn=ce([String,Object,Function]),L3={Close:gi},$3={Close:gi,SuccessFilled:fz,InfoFilled:D3,WarningFilled:X_,CircleCloseFilled:I3},uu={success:fz,warning:X_,error:I3,info:D3},N3={validating:us,success:R3,error:bu},yce=["light","dark"],bce=Ie({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:ag(uu),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:yce,default:"light"}}),_ce={close:e=>e instanceof MouseEvent},wce=te({name:"ElAlert"}),Sce=te(_e(X({},wce),{props:bce,emits:_ce,setup(e,{emit:t}){const n=e,{Close:r}=$3,a=Yn(),o=Ae("alert"),i=H(!0),s=R(()=>uu[n.type]),l=R(()=>[o.e("icon"),{[o.is("big")]:!!n.description||!!a.default}]),u=R(()=>({"with-description":n.description||a.default})),c=f=>{i.value=!1,t("close",f)};return(f,h)=>(N(),ye(yr,{name:y(o).b("fade"),persisted:""},{default:le(()=>[vt(Z("div",{class:F([y(o).b(),y(o).m(f.type),y(o).is("center",f.center),y(o).is(f.effect)]),role:"alert"},[f.showIcon&&y(s)?(N(),ye(y(Ke),{key:0,class:F(y(l))},{default:le(()=>[(N(),ye(bt(y(s))))]),_:1},8,["class"])):ge("v-if",!0),Z("div",{class:F(y(o).e("content"))},[f.title||f.$slots.title?(N(),q("span",{key:0,class:F([y(o).e("title"),y(u)])},[ve(f.$slots,"title",{},()=>[At(Re(f.title),1)])],2)):ge("v-if",!0),f.$slots.default||f.description?(N(),q("p",{key:1,class:F(y(o).e("description"))},[ve(f.$slots,"default",{},()=>[At(Re(f.description),1)])],2)):ge("v-if",!0),f.closable?(N(),q(je,{key:2},[f.closeText?(N(),q("div",{key:0,class:F([y(o).e("close-btn"),y(o).is("customed")]),onClick:c},Re(f.closeText),3)):(N(),ye(y(Ke),{key:1,class:F(y(o).e("close-btn")),onClick:c},{default:le(()=>[ee(y(r))]),_:1},8,["class"]))],64)):ge("v-if",!0)],2)],2),[[Wt,i.value]])]),_:3},8,["name"]))}}));var Cce=De(Sce,[["__file","alert.vue"]]);const Tce=pt(Cce),B3=()=>Bt&&/firefox/i.test(window.navigator.userAgent);let Ko;const xce=` + height:0 !important; + visibility:hidden !important; + ${B3()?"":"overflow:hidden !important;"} + position:absolute !important; + z-index:-1000 !important; + top:0 !important; + right:0 !important; +`,Ece=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function kce(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),a=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:Ece.map(i=>`${i}:${t.getPropertyValue(i)}`).join(";"),paddingSize:r,borderSize:a,boxSizing:n}}function EI(e,t=1,n){var r;Ko||(Ko=document.createElement("textarea"),document.body.appendChild(Ko));const{paddingSize:a,borderSize:o,boxSizing:i,contextStyle:s}=kce(e);Ko.setAttribute("style",`${s};${xce}`),Ko.value=e.value||e.placeholder||"";let l=Ko.scrollHeight;const u={};i==="border-box"?l=l+o:i==="content-box"&&(l=l-a),Ko.value="";const c=Ko.scrollHeight-a;if(et(t)){let f=c*t;i==="border-box"&&(f=f+a+o),l=Math.max(f,l),u.minHeight=`${f}px`}if(et(n)){let f=c*n;i==="border-box"&&(f=f+a+o),l=Math.min(f,l)}return u.height=`${l}px`,(r=Ko.parentNode)==null||r.removeChild(Ko),Ko=void 0,u}const In=e=>e,Ace=Ie({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),Pr=e=>th(Ace,e),Mce=Ie(X({id:{type:String,default:void 0},size:or,disabled:Boolean,modelValue:{type:ce([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:ce([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:cn},prefixIcon:{type:cn},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:ce([Object,Array,String]),default:()=>In({})},autofocus:Boolean,rows:{type:Number,default:2}},Pr(["ariaLabel"]))),Oce={[St]:e=>Ze(e),input:e=>Ze(e),change:e=>Ze(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},Pce=["class","style"],Rce=/^on[A-Z]/,Z_=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,r=R(()=>((n==null?void 0:n.value)||[]).concat(Pce)),a=st();return R(a?()=>{var o;return rg(Object.entries((o=a.proxy)==null?void 0:o.$attrs).filter(([i])=>!r.value.includes(i)&&!(t&&Rce.test(i))))}:()=>({}))},Sf=Symbol("formContextKey"),cs=Symbol("formItemContextKey"),kI={prefix:Math.floor(Math.random()*1e4),current:0},Ice=Symbol("elIdInjection"),F3=()=>st()?ze(Ice,kI):kI,jr=e=>{const t=F3(),n=d3();return Ax(()=>y(e)||`${n.value}-id-${t.prefix}-${t.current++}`)},qr=()=>{const e=ze(Sf,void 0),t=ze(cs,void 0);return{form:e,formItem:t}},Ti=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:r})=>{n||(n=H(!1)),r||(r=H(!1));const a=H();let o;const i=R(()=>{var s;return!!(!(e.label||e.ariaLabel)&&t&&t.inputIds&&((s=t.inputIds)==null?void 0:s.length)<=1)});return ft(()=>{o=xe([Jt(e,"id"),n],([s,l])=>{const u=s!=null?s:l?void 0:jr().value;u!==a.value&&(t!=null&&t.removeInputId&&(a.value&&t.removeInputId(a.value),!(r!=null&&r.value)&&!l&&u&&t.addInputId(u)),a.value=u)},{immediate:!0})}),Vo(()=>{o&&o(),t!=null&&t.removeInputId&&a.value&&t.removeInputId(a.value)}),{isLabeledByFormItem:i,inputId:a}},hz=e=>{const t=st();return R(()=>{var n,r;return(r=(n=t==null?void 0:t.proxy)==null?void 0:n.$props)==null?void 0:r[e]})},Jn=(e,t={})=>{const n=H(void 0),r=t.prop?n:hz("size"),a=t.global?n:ez(),o=t.form?{size:void 0}:ze(Sf,void 0),i=t.formItem?{size:void 0}:ze(cs,void 0);return R(()=>r.value||y(e)||(i==null?void 0:i.size)||(o==null?void 0:o.size)||a.value||"")},Sa=e=>{const t=hz("disabled"),n=ze(Sf,void 0);return R(()=>t.value||y(e)||(n==null?void 0:n.disabled)||!1)};function Wh(e,{beforeFocus:t,afterFocus:n,beforeBlur:r,afterBlur:a}={}){const o=st(),{emit:i}=o,s=gn(),l=H(!1),u=h=>{Ge(t)&&t(h)||l.value||(l.value=!0,i("focus",h),n==null||n())},c=h=>{var d;Ge(r)&&r(h)||h.relatedTarget&&((d=s.value)!=null&&d.contains(h.relatedTarget))||(l.value=!1,i("blur",h),a==null||a())},f=()=>{var h,d;(h=s.value)!=null&&h.contains(document.activeElement)&&s.value!==document.activeElement||(d=e.value)==null||d.focus()};return xe(s,h=>{h&&h.setAttribute("tabindex","-1")}),sn(s,"focus",u,!0),sn(s,"blur",c,!0),sn(s,"click",f,!0),{isFocused:l,wrapperRef:s,handleFocus:u,handleBlur:c}}const Dce=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e);function J_({afterComposition:e,emit:t}){const n=H(!1),r=s=>{t==null||t("compositionstart",s),n.value=!0},a=s=>{var l;t==null||t("compositionupdate",s);const u=(l=s.target)==null?void 0:l.value,c=u[u.length-1]||"";n.value=!Dce(c)},o=s=>{t==null||t("compositionend",s),n.value&&(n.value=!1,qe(()=>e(s)))};return{isComposing:n,handleComposition:s=>{s.type==="compositionend"?o(s):a(s)},handleCompositionStart:r,handleCompositionUpdate:a,handleCompositionEnd:o}}function Lce(e){let t;function n(){if(e.value==null)return;const{selectionStart:a,selectionEnd:o,value:i}=e.value;if(a==null||o==null)return;const s=i.slice(0,Math.max(0,a)),l=i.slice(Math.max(0,o));t={selectionStart:a,selectionEnd:o,value:i,beforeTxt:s,afterTxt:l}}function r(){if(e.value==null||t==null)return;const{value:a}=e.value,{beforeTxt:o,afterTxt:i,selectionStart:s}=t;if(o==null||i==null||s==null)return;let l=a.length;if(a.endsWith(i))l=a.length-i.length;else if(a.startsWith(o))l=o.length;else{const u=o[s-1],c=a.indexOf(u,s-1);c!==-1&&(l=c+1)}e.value.setSelectionRange(l,l)}return[n,r]}const $ce=te({name:"ElInput",inheritAttrs:!1}),Nce=te(_e(X({},$ce),{props:Mce,emits:Oce,setup(e,{expose:t,emit:n}){const r=e,a=mu(),o=Z_(),i=Yn(),s=R(()=>[r.type==="textarea"?v.b():p.b(),p.m(h.value),p.is("disabled",d.value),p.is("exceed",j.value),{[p.b("group")]:i.prepend||i.append,[p.m("prefix")]:i.prefix||r.prefixIcon,[p.m("suffix")]:i.suffix||r.suffixIcon||r.clearable||r.showPassword,[p.bm("suffix","password-clear")]:O.value&&D.value,[p.b("hidden")]:r.type==="hidden"},a.class]),l=R(()=>[p.e("wrapper"),p.is("focus",x.value)]),{form:u,formItem:c}=qr(),{inputId:f}=Ti(r,{formItemContext:c}),h=Jn(),d=Sa(),p=Ae("input"),v=Ae("textarea"),g=gn(),m=gn(),w=H(!1),_=H(!1),b=H(),S=gn(r.inputStyle),C=R(()=>g.value||m.value),{wrapperRef:T,isFocused:x,handleFocus:E,handleBlur:k}=Wh(C,{beforeFocus(){return d.value},afterBlur(){var Te;r.validateEvent&&((Te=c==null?void 0:c.validate)==null||Te.call(c,"blur").catch(Be=>void 0))}}),A=R(()=>{var Te;return(Te=u==null?void 0:u.statusIcon)!=null?Te:!1}),P=R(()=>(c==null?void 0:c.validateState)||""),$=R(()=>P.value&&N3[P.value]),B=R(()=>_.value?hce:Nue),I=R(()=>[a.style]),M=R(()=>[r.inputStyle,S.value,{resize:r.resize}]),L=R(()=>ur(r.modelValue)?"":String(r.modelValue)),O=R(()=>r.clearable&&!d.value&&!r.readonly&&!!L.value&&(x.value||w.value)),D=R(()=>r.showPassword&&!d.value&&!!L.value&&(!!L.value||x.value)),z=R(()=>r.showWordLimit&&!!r.maxlength&&(r.type==="text"||r.type==="textarea")&&!d.value&&!r.readonly&&!r.showPassword),V=R(()=>L.value.length),j=R(()=>!!z.value&&V.value>Number(r.maxlength)),U=R(()=>!!i.suffix||!!r.suffixIcon||O.value||r.showPassword||z.value||!!P.value&&A.value),[ne,ie]=Lce(g);On(m,Te=>{if(oe(),!z.value||r.resize!=="both")return;const Be=Te[0],{width:Je}=Be.contentRect;b.value={right:`calc(100% - ${Je+15+6}px)`}});const fe=()=>{const{type:Te,autosize:Be}=r;if(!(!Bt||Te!=="textarea"||!m.value))if(Be){const Je=_t(Be)?Be.minRows:void 0,dt=_t(Be)?Be.maxRows:void 0,ct=EI(m.value,Je,dt);S.value=X({overflowY:"hidden"},ct),qe(()=>{m.value.offsetHeight,S.value=ct})}else S.value={minHeight:EI(m.value).minHeight}},oe=(Te=>{let Be=!1;return()=>{var Je;if(Be||!r.autosize)return;((Je=m.value)==null?void 0:Je.offsetParent)===null||(Te(),Be=!0)}})(fe),se=()=>{const Te=C.value,Be=r.formatter?r.formatter(L.value):L.value;!Te||Te.value===Be||(Te.value=Be)},ue=Te=>ut(this,null,function*(){ne();let{value:Be}=Te.target;if(r.formatter&&(Be=r.parser?r.parser(Be):Be),!ae.value){if(Be===L.value){se();return}n(St,Be),n("input",Be),yield qe(),se(),ie()}}),he=Te=>{n("change",Te.target.value)},{isComposing:ae,handleCompositionStart:K,handleCompositionUpdate:Q,handleCompositionEnd:pe}=J_({emit:n,afterComposition:ue}),we=()=>{ne(),_.value=!_.value,setTimeout(ie)},me=()=>{var Te;return(Te=C.value)==null?void 0:Te.focus()},be=()=>{var Te;return(Te=C.value)==null?void 0:Te.blur()},Ce=Te=>{w.value=!1,n("mouseleave",Te)},ke=Te=>{w.value=!0,n("mouseenter",Te)},Oe=Te=>{n("keydown",Te)},Pe=()=>{var Te;(Te=C.value)==null||Te.select()},He=()=>{n(St,""),n("change",""),n("clear"),n("input","")};return xe(()=>r.modelValue,()=>{var Te;qe(()=>fe()),r.validateEvent&&((Te=c==null?void 0:c.validate)==null||Te.call(c,"change").catch(Be=>void 0))}),xe(L,()=>se()),xe(()=>r.type,()=>ut(this,null,function*(){yield qe(),se(),fe()})),ft(()=>{!r.formatter&&r.parser,se(),qe(fe)}),t({input:g,textarea:m,ref:C,textareaStyle:M,autosize:Jt(r,"autosize"),isComposing:ae,focus:me,blur:be,select:Pe,clear:He,resizeTextarea:fe}),(Te,Be)=>(N(),q("div",{class:F([y(s),{[y(p).bm("group","append")]:Te.$slots.append,[y(p).bm("group","prepend")]:Te.$slots.prepend}]),style:Xe(y(I)),onMouseenter:ke,onMouseleave:Ce},[ge(" input "),Te.type!=="textarea"?(N(),q(je,{key:0},[ge(" prepend slot "),Te.$slots.prepend?(N(),q("div",{key:0,class:F(y(p).be("group","prepend"))},[ve(Te.$slots,"prepend")],2)):ge("v-if",!0),Z("div",{ref_key:"wrapperRef",ref:T,class:F(y(l))},[ge(" prefix slot "),Te.$slots.prefix||Te.prefixIcon?(N(),q("span",{key:0,class:F(y(p).e("prefix"))},[Z("span",{class:F(y(p).e("prefix-inner"))},[ve(Te.$slots,"prefix"),Te.prefixIcon?(N(),ye(y(Ke),{key:0,class:F(y(p).e("icon"))},{default:le(()=>[(N(),ye(bt(Te.prefixIcon)))]),_:1},8,["class"])):ge("v-if",!0)],2)],2)):ge("v-if",!0),Z("input",Et({id:y(f),ref_key:"input",ref:g,class:y(p).e("inner")},y(o),{minlength:Te.minlength,maxlength:Te.maxlength,type:Te.showPassword?_.value?"text":"password":Te.type,disabled:y(d),readonly:Te.readonly,autocomplete:Te.autocomplete,tabindex:Te.tabindex,"aria-label":Te.ariaLabel,placeholder:Te.placeholder,style:Te.inputStyle,form:Te.form,autofocus:Te.autofocus,role:Te.containerRole,onCompositionstart:y(K),onCompositionupdate:y(Q),onCompositionend:y(pe),onInput:ue,onChange:he,onKeydown:Oe}),null,16,["id","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus","role","onCompositionstart","onCompositionupdate","onCompositionend"]),ge(" suffix slot "),y(U)?(N(),q("span",{key:1,class:F(y(p).e("suffix"))},[Z("span",{class:F(y(p).e("suffix-inner"))},[!y(O)||!y(D)||!y(z)?(N(),q(je,{key:0},[ve(Te.$slots,"suffix"),Te.suffixIcon?(N(),ye(y(Ke),{key:0,class:F(y(p).e("icon"))},{default:le(()=>[(N(),ye(bt(Te.suffixIcon)))]),_:1},8,["class"])):ge("v-if",!0)],64)):ge("v-if",!0),y(O)?(N(),ye(y(Ke),{key:1,class:F([y(p).e("icon"),y(p).e("clear")]),onMousedown:nt(y(rn),["prevent"]),onClick:He},{default:le(()=>[ee(y(bu))]),_:1},8,["class","onMousedown"])):ge("v-if",!0),y(D)?(N(),ye(y(Ke),{key:2,class:F([y(p).e("icon"),y(p).e("password")]),onClick:we},{default:le(()=>[(N(),ye(bt(y(B))))]),_:1},8,["class"])):ge("v-if",!0),y(z)?(N(),q("span",{key:3,class:F(y(p).e("count"))},[Z("span",{class:F(y(p).e("count-inner"))},Re(y(V))+" / "+Re(Te.maxlength),3)],2)):ge("v-if",!0),y(P)&&y($)&&y(A)?(N(),ye(y(Ke),{key:4,class:F([y(p).e("icon"),y(p).e("validateIcon"),y(p).is("loading",y(P)==="validating")])},{default:le(()=>[(N(),ye(bt(y($))))]),_:1},8,["class"])):ge("v-if",!0)],2)],2)):ge("v-if",!0)],2),ge(" append slot "),Te.$slots.append?(N(),q("div",{key:1,class:F(y(p).be("group","append"))},[ve(Te.$slots,"append")],2)):ge("v-if",!0)],64)):(N(),q(je,{key:1},[ge(" textarea "),Z("textarea",Et({id:y(f),ref_key:"textarea",ref:m,class:[y(v).e("inner"),y(p).is("focus",y(x))]},y(o),{minlength:Te.minlength,maxlength:Te.maxlength,tabindex:Te.tabindex,disabled:y(d),readonly:Te.readonly,autocomplete:Te.autocomplete,style:y(M),"aria-label":Te.ariaLabel,placeholder:Te.placeholder,form:Te.form,autofocus:Te.autofocus,rows:Te.rows,role:Te.containerRole,onCompositionstart:y(K),onCompositionupdate:y(Q),onCompositionend:y(pe),onInput:ue,onFocus:y(E),onBlur:y(k),onChange:he,onKeydown:Oe}),null,16,["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","role","onCompositionstart","onCompositionupdate","onCompositionend","onFocus","onBlur"]),y(z)?(N(),q("span",{key:0,style:Xe(b.value),class:F(y(p).e("count"))},Re(y(V))+" / "+Re(Te.maxlength),7)):ge("v-if",!0)],64))],38))}}));var Bce=De(Nce,[["__file","input.vue"]]);const fa=pt(Bce),If=4,pz={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},Fce=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),V3=Symbol("scrollbarContextKey"),Vce=Ie({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),zce="Thumb",Hce=te({__name:"thumb",props:Vce,setup(e){const t=e,n=ze(V3),r=Ae("scrollbar");n||ar(zce,"can not inject scrollbar context");const a=H(),o=H(),i=H({}),s=H(!1);let l=!1,u=!1,c=Bt?document.onselectstart:null;const f=R(()=>pz[t.vertical?"vertical":"horizontal"]),h=R(()=>Fce({size:t.size,move:t.move,bar:f.value})),d=R(()=>il(a.value[f.value.offset],2)/n.wrapElement[f.value.scrollSize]/t.ratio/o.value[f.value.offset]),p=C=>{var T;if(C.stopPropagation(),C.ctrlKey||[1,2].includes(C.button))return;(T=window.getSelection())==null||T.removeAllRanges(),g(C);const x=C.currentTarget;x&&(i.value[f.value.axis]=x[f.value.offset]-(C[f.value.client]-x.getBoundingClientRect()[f.value.direction]))},v=C=>{if(!o.value||!a.value||!n.wrapElement)return;const T=Math.abs(C.target.getBoundingClientRect()[f.value.direction]-C[f.value.client]),x=o.value[f.value.offset]/2,E=(T-x)*100*d.value/a.value[f.value.offset];n.wrapElement[f.value.scroll]=E*n.wrapElement[f.value.scrollSize]/100},g=C=>{C.stopImmediatePropagation(),l=!0,document.addEventListener("mousemove",m),document.addEventListener("mouseup",w),c=document.onselectstart,document.onselectstart=()=>!1},m=C=>{if(!a.value||!o.value||l===!1)return;const T=i.value[f.value.axis];if(!T)return;const x=(a.value.getBoundingClientRect()[f.value.direction]-C[f.value.client])*-1,E=o.value[f.value.offset]-T,k=(x-E)*100*d.value/a.value[f.value.offset];n.wrapElement[f.value.scroll]=k*n.wrapElement[f.value.scrollSize]/100},w=()=>{l=!1,i.value[f.value.axis]=0,document.removeEventListener("mousemove",m),document.removeEventListener("mouseup",w),S(),u&&(s.value=!1)},_=()=>{u=!1,s.value=!!t.size},b=()=>{u=!0,s.value=l};fn(()=>{S(),document.removeEventListener("mouseup",w)});const S=()=>{document.onselectstart!==c&&(document.onselectstart=c)};return sn(Jt(n,"scrollbarElement"),"mousemove",_),sn(Jt(n,"scrollbarElement"),"mouseleave",b),(C,T)=>(N(),ye(yr,{name:y(r).b("fade"),persisted:""},{default:le(()=>[vt(Z("div",{ref_key:"instance",ref:a,class:F([y(r).e("bar"),y(r).is(y(f).key)]),onMousedown:v},[Z("div",{ref_key:"thumb",ref:o,class:F(y(r).e("thumb")),style:Xe(y(h)),onMousedown:p},null,38)],34),[[Wt,C.always||s.value]])]),_:1},8,["name"]))}});var AI=De(Hce,[["__file","thumb.vue"]]);const Wce=Ie({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),Uce=te({__name:"bar",props:Wce,setup(e,{expose:t}){const n=e,r=ze(V3),a=H(0),o=H(0),i=H(""),s=H(""),l=H(1),u=H(1);return t({handleScroll:h=>{if(h){const d=h.offsetHeight-If,p=h.offsetWidth-If;o.value=h.scrollTop*100/d*l.value,a.value=h.scrollLeft*100/p*u.value}},update:()=>{const h=r==null?void 0:r.wrapElement;if(!h)return;const d=h.offsetHeight-If,p=h.offsetWidth-If,v=il(d,2)/h.scrollHeight,g=il(p,2)/h.scrollWidth,m=Math.max(v,n.minSize),w=Math.max(g,n.minSize);l.value=v/(d-v)/(m/(d-m)),u.value=g/(p-g)/(w/(p-w)),s.value=m+If(N(),q(je,null,[ee(AI,{move:a.value,ratio:u.value,size:i.value,always:h.always},null,8,["move","ratio","size","always"]),ee(AI,{move:o.value,ratio:l.value,size:s.value,vertical:"",always:h.always},null,8,["move","ratio","size","always"])],64))}});var jce=De(Uce,[["__file","bar.vue"]]);const Kce=Ie(X({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:ce([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String},Pr(["ariaLabel","ariaOrientation"]))),Gce={scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(et)},qce="ElScrollbar",Yce=te({name:qce}),Xce=te(_e(X({},Yce),{props:Kce,emits:Gce,setup(e,{expose:t,emit:n}){const r=e,a=Ae("scrollbar");let o,i,s=0,l=0;const u=H(),c=H(),f=H(),h=H(),d=R(()=>{const S={};return r.height&&(S.height=Vn(r.height)),r.maxHeight&&(S.maxHeight=Vn(r.maxHeight)),[r.wrapStyle,S]}),p=R(()=>[r.wrapClass,a.e("wrap"),{[a.em("wrap","hidden-default")]:!r.native}]),v=R(()=>[a.e("view"),r.viewClass]),g=()=>{var S;c.value&&((S=h.value)==null||S.handleScroll(c.value),s=c.value.scrollTop,l=c.value.scrollLeft,n("scroll",{scrollTop:c.value.scrollTop,scrollLeft:c.value.scrollLeft}))};function m(S,C){_t(S)?c.value.scrollTo(S):et(S)&&et(C)&&c.value.scrollTo(S,C)}const w=S=>{et(S)&&(c.value.scrollTop=S)},_=S=>{et(S)&&(c.value.scrollLeft=S)},b=()=>{var S;(S=h.value)==null||S.update()};return xe(()=>r.noresize,S=>{S?(o==null||o(),i==null||i()):({stop:o}=On(f,b),i=sn("resize",b))},{immediate:!0}),xe(()=>[r.maxHeight,r.height],()=>{r.native||qe(()=>{var S;b(),c.value&&((S=h.value)==null||S.handleScroll(c.value))})}),kt(V3,zt({scrollbarElement:u,wrapElement:c})),I_(()=>{c.value&&(c.value.scrollTop=s,c.value.scrollLeft=l)}),ft(()=>{r.native||qe(()=>{b()})}),oo(()=>b()),t({wrapRef:c,update:b,scrollTo:m,setScrollTop:w,setScrollLeft:_,handleScroll:g}),(S,C)=>(N(),q("div",{ref_key:"scrollbarRef",ref:u,class:F(y(a).b())},[Z("div",{ref_key:"wrapRef",ref:c,class:F(y(p)),style:Xe(y(d)),tabindex:S.tabindex,onScroll:g},[(N(),ye(bt(S.tag),{id:S.id,ref_key:"resizeRef",ref:f,class:F(y(v)),style:Xe(S.viewStyle),role:S.role,"aria-label":S.ariaLabel,"aria-orientation":S.ariaOrientation},{default:le(()=>[ve(S.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,["tabindex"]),S.native?ge("v-if",!0):(N(),ye(jce,{key:0,ref_key:"barRef",ref:h,always:S.always,"min-size":S.minSize},null,8,["always","min-size"]))],2))}}));var Zce=De(Xce,[["__file","scrollbar.vue"]]);const nl=pt(Zce),z3=Symbol("popper"),vz=Symbol("popperContent"),Jce=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],gz=Ie({role:{type:String,values:Jce,default:"tooltip"}}),Qce=te({name:"ElPopper",inheritAttrs:!1}),efe=te(_e(X({},Qce),{props:gz,setup(e,{expose:t}){const n=e,r=H(),a=H(),o=H(),i=H(),s=R(()=>n.role),l={triggerRef:r,popperInstanceRef:a,contentRef:o,referenceRef:i,role:s};return t(l),kt(z3,l),(u,c)=>ve(u.$slots,"default")}}));var tfe=De(efe,[["__file","popper.vue"]]);const mz=Ie({arrowOffset:{type:Number,default:5}}),nfe=te({name:"ElPopperArrow",inheritAttrs:!1}),rfe=te(_e(X({},nfe),{props:mz,setup(e,{expose:t}){const n=e,r=Ae("popper"),{arrowOffset:a,arrowRef:o,arrowStyle:i}=ze(vz,void 0);return xe(()=>n.arrowOffset,s=>{a.value=s}),fn(()=>{o.value=void 0}),t({arrowRef:o}),(s,l)=>(N(),q("span",{ref_key:"arrowRef",ref:o,class:F(y(r).e("arrow")),style:Xe(y(i)),"data-popper-arrow":""},null,6))}}));var afe=De(rfe,[["__file","arrow.vue"]]);const yz=Ie({virtualRef:{type:ce(Object)},virtualTriggering:Boolean,onMouseenter:{type:ce(Function)},onMouseleave:{type:ce(Function)},onClick:{type:ce(Function)},onKeydown:{type:ce(Function)},onFocus:{type:ce(Function)},onBlur:{type:ce(Function)},onContextmenu:{type:ce(Function)},id:String,open:Boolean}),bz=Symbol("elForwardRef"),ofe=e=>{kt(bz,{setForwardRef:n=>{e.value=n}})},ife=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),sfe='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',lfe=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,MI=e=>Array.from(e.querySelectorAll(sfe)).filter(t=>Px(t)&&lfe(t)),Px=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.tabIndex<0||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true")return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},Ny=function(e,t,...n){let r;t.includes("mouse")||t.includes("click")?r="MouseEvents":t.includes("key")?r="KeyboardEvent":r="HTMLEvents";const a=document.createEvent(r);return a.initEvent(t,...n),e.dispatchEvent(a),e},_z=e=>!e.getAttribute("aria-owns"),wz=(e,t,n)=>{const{parentNode:r}=e;if(!r)return null;const a=r.querySelectorAll(n),o=Array.prototype.indexOf.call(a,e);return a[o+t]||null},By=e=>{e&&(e.focus(),!_z(e)&&e.click())},ufe="ElOnlyChild",Sz=te({name:ufe,setup(e,{slots:t,attrs:n}){var r;const a=ze(bz),o=ife((r=a==null?void 0:a.setForwardRef)!=null?r:rn);return()=>{var i;const s=(i=t.default)==null?void 0:i.call(t,n);if(!s||s.length>1)return null;const l=Cz(s);return l?vt(vi(l,n),[[o]]):null}}});function Cz(e){if(!e)return null;const t=e;for(const n of t){if(_t(n))switch(n.type){case Kn:continue;case rs:case"svg":return OI(n);case je:return Cz(n.children);default:return n}return OI(n)}return null}function OI(e){const t=Ae("only-child");return ee("span",{class:t.e("content")},[e])}const cfe=te({name:"ElPopperTrigger",inheritAttrs:!1}),ffe=te(_e(X({},cfe),{props:yz,setup(e,{expose:t}){const n=e,{role:r,triggerRef:a}=ze(z3,void 0);ofe(a);const o=R(()=>s.value?n.id:void 0),i=R(()=>{if(r&&r.value==="tooltip")return n.open&&n.id?n.id:void 0}),s=R(()=>{if(r&&r.value!=="tooltip")return r.value}),l=R(()=>s.value?`${n.open}`:void 0);let u;const c=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return ft(()=>{xe(()=>n.virtualRef,f=>{f&&(a.value=Xa(f))},{immediate:!0}),xe(a,(f,h)=>{u==null||u(),u=void 0,to(f)&&(c.forEach(d=>{var p;const v=n[d];v&&(f.addEventListener(d.slice(2).toLowerCase(),v),(p=h==null?void 0:h.removeEventListener)==null||p.call(h,d.slice(2).toLowerCase(),v))}),Px(f)&&(u=xe([o,i,s,l],d=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((p,v)=>{ur(d[v])?f.removeAttribute(p):f.setAttribute(p,d[v])})},{immediate:!0}))),to(h)&&Px(h)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(d=>h.removeAttribute(d))},{immediate:!0})}),fn(()=>{if(u==null||u(),u=void 0,a.value&&to(a.value)){const f=a.value;c.forEach(h=>{const d=n[h];d&&f.removeEventListener(h.slice(2).toLowerCase(),d)}),a.value=void 0}}),t({triggerRef:a}),(f,h)=>f.virtualTriggering?ge("v-if",!0):(N(),ye(y(Sz),Et({key:0},f.$attrs,{"aria-controls":y(o),"aria-describedby":y(i),"aria-expanded":y(l),"aria-haspopup":y(s)}),{default:le(()=>[ve(f.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}}));var dfe=De(ffe,[["__file","trigger.vue"]]);const HS="focus-trap.focus-after-trapped",WS="focus-trap.focus-after-released",hfe="focus-trap.focusout-prevented",PI={cancelable:!0,bubbles:!1},pfe={cancelable:!0,bubbles:!1},RI="focusAfterTrapped",II="focusAfterReleased",H3=Symbol("elFocusTrap"),W3=H(),Q_=H(0),U3=H(0);let b0=0;const Tz=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const a=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||a?NodeFilter.FILTER_SKIP:r.tabIndex>=0||r===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},DI=(e,t)=>{for(const n of e)if(!vfe(n,t))return n},vfe=(e,t)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},gfe=e=>{const t=Tz(e),n=DI(t,e),r=DI(t.reverse(),e);return[n,r]},mfe=e=>e instanceof HTMLInputElement&&"select"in e,bl=(e,t)=>{if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),U3.value=window.performance.now(),e!==n&&mfe(e)&&t&&e.select()}};function LI(e,t){const n=[...e],r=e.indexOf(t);return r!==-1&&n.splice(r,1),n}const yfe=()=>{let e=[];return{push:r=>{const a=e[0];a&&r!==a&&a.pause(),e=LI(e,r),e.unshift(r)},remove:r=>{var a,o;e=LI(e,r),(o=(a=e[0])==null?void 0:a.resume)==null||o.call(a)}}},bfe=(e,t=!1)=>{const n=document.activeElement;for(const r of e)if(bl(r,t),document.activeElement!==n)return},$I=yfe(),_fe=()=>Q_.value>U3.value,_0=()=>{W3.value="pointer",Q_.value=window.performance.now()},NI=()=>{W3.value="keyboard",Q_.value=window.performance.now()},wfe=()=>(ft(()=>{b0===0&&(document.addEventListener("mousedown",_0),document.addEventListener("touchstart",_0),document.addEventListener("keydown",NI)),b0++}),fn(()=>{b0--,b0<=0&&(document.removeEventListener("mousedown",_0),document.removeEventListener("touchstart",_0),document.removeEventListener("keydown",NI))}),{focusReason:W3,lastUserFocusTimestamp:Q_,lastAutomatedFocusTimestamp:U3}),w0=e=>new CustomEvent(hfe,_e(X({},pfe),{detail:e})),Ue={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"};let ad=[];const BI=e=>{e.code===Ue.esc&&ad.forEach(t=>t(e))},Sfe=e=>{ft(()=>{ad.length===0&&document.addEventListener("keydown",BI),Bt&&ad.push(e)}),fn(()=>{ad=ad.filter(t=>t!==e),ad.length===0&&Bt&&document.removeEventListener("keydown",BI)})},Cfe=te({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[RI,II,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=H();let r,a;const{focusReason:o}=wfe();Sfe(p=>{e.trapped&&!i.paused&&t("release-requested",p)});const i={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},s=p=>{if(!e.loop&&!e.trapped||i.paused)return;const{code:v,altKey:g,ctrlKey:m,metaKey:w,currentTarget:_,shiftKey:b}=p,{loop:S}=e,C=v===Ue.tab&&!g&&!m&&!w,T=document.activeElement;if(C&&T){const x=_,[E,k]=gfe(x);if(E&&k){if(!b&&T===k){const P=w0({focusReason:o.value});t("focusout-prevented",P),P.defaultPrevented||(p.preventDefault(),S&&bl(E,!0))}else if(b&&[E,x].includes(T)){const P=w0({focusReason:o.value});t("focusout-prevented",P),P.defaultPrevented||(p.preventDefault(),S&&bl(k,!0))}}else if(T===x){const P=w0({focusReason:o.value});t("focusout-prevented",P),P.defaultPrevented||p.preventDefault()}}};kt(H3,{focusTrapRef:n,onKeydown:s}),xe(()=>e.focusTrapEl,p=>{p&&(n.value=p)},{immediate:!0}),xe([n],([p],[v])=>{p&&(p.addEventListener("keydown",s),p.addEventListener("focusin",c),p.addEventListener("focusout",f)),v&&(v.removeEventListener("keydown",s),v.removeEventListener("focusin",c),v.removeEventListener("focusout",f))});const l=p=>{t(RI,p)},u=p=>t(II,p),c=p=>{const v=y(n);if(!v)return;const g=p.target,m=p.relatedTarget,w=g&&v.contains(g);e.trapped||m&&v.contains(m)||(r=m),w&&t("focusin",p),!i.paused&&e.trapped&&(w?a=g:bl(a,!0))},f=p=>{const v=y(n);if(!(i.paused||!v))if(e.trapped){const g=p.relatedTarget;!ur(g)&&!v.contains(g)&&setTimeout(()=>{if(!i.paused&&e.trapped){const m=w0({focusReason:o.value});t("focusout-prevented",m),m.defaultPrevented||bl(a,!0)}},0)}else{const g=p.target;g&&v.contains(g)||t("focusout",p)}};function h(){return ut(this,null,function*(){yield qe();const p=y(n);if(p){$I.push(i);const v=p.contains(document.activeElement)?r:document.activeElement;if(r=v,!p.contains(v)){const m=new Event(HS,PI);p.addEventListener(HS,l),p.dispatchEvent(m),m.defaultPrevented||qe(()=>{let w=e.focusStartEl;Ze(w)||(bl(w),document.activeElement!==w&&(w="first")),w==="first"&&bfe(Tz(p),!0),(document.activeElement===v||w==="container")&&bl(p)})}}})}function d(){const p=y(n);if(p){p.removeEventListener(HS,l);const v=new CustomEvent(WS,_e(X({},PI),{detail:{focusReason:o.value}}));p.addEventListener(WS,u),p.dispatchEvent(v),!v.defaultPrevented&&(o.value=="keyboard"||!_fe()||p.contains(document.activeElement))&&bl(r!=null?r:document.body),p.removeEventListener(WS,u),$I.remove(i)}}return ft(()=>{e.trapped&&h(),xe(()=>e.trapped,p=>{p?h():d()})}),fn(()=>{e.trapped&&d(),n.value&&(n.value.removeEventListener("keydown",s),n.value.removeEventListener("focusin",c),n.value.removeEventListener("focusout",f),n.value=void 0)}),{onKeydown:s}}});function Tfe(e,t,n,r,a,o){return ve(e.$slots,"default",{handleKeydown:e.onKeydown})}var Uh=De(Cfe,[["render",Tfe],["__file","focus-trap.vue"]]),Ia="top",Ro="bottom",Io="right",Da="left",j3="auto",bm=[Ia,Ro,Io,Da],oh="start",og="end",xfe="clippingParents",xz="viewport",dp="popper",Efe="reference",FI=bm.reduce(function(e,t){return e.concat([t+"-"+oh,t+"-"+og])},[]),rl=[].concat(bm,[j3]).reduce(function(e,t){return e.concat([t,t+"-"+oh,t+"-"+og])},[]),kfe="beforeRead",Afe="read",Mfe="afterRead",Ofe="beforeMain",Pfe="main",Rfe="afterMain",Ife="beforeWrite",Dfe="write",Lfe="afterWrite",$fe=[kfe,Afe,Mfe,Ofe,Pfe,Rfe,Ife,Dfe,Lfe];function fs(e){return e?(e.nodeName||"").toLowerCase():null}function xi(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ih(e){var t=xi(e).Element;return e instanceof t||e instanceof Element}function Eo(e){var t=xi(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function K3(e){if(typeof ShadowRoot=="undefined")return!1;var t=xi(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Nfe(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},a=t.attributes[n]||{},o=t.elements[n];!Eo(o)||!fs(o)||(Object.assign(o.style,r),Object.keys(a).forEach(function(i){var s=a[i];s===!1?o.removeAttribute(i):o.setAttribute(i,s===!0?"":s)}))})}function Bfe(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var a=t.elements[r],o=t.attributes[r]||{},i=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=i.reduce(function(l,u){return l[u]="",l},{});!Eo(a)||!fs(a)||(Object.assign(a.style,s),Object.keys(o).forEach(function(l){a.removeAttribute(l)}))})}}var Ez={name:"applyStyles",enabled:!0,phase:"write",fn:Nfe,effect:Bfe,requires:["computeStyles"]};function as(e){return e.split("-")[0]}var Rc=Math.max,nb=Math.min,sh=Math.round;function lh(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),r=1,a=1;if(Eo(e)&&t){var o=e.offsetHeight,i=e.offsetWidth;i>0&&(r=sh(n.width)/i||1),o>0&&(a=sh(n.height)/o||1)}return{width:n.width/r,height:n.height/a,top:n.top/a,right:n.right/r,bottom:n.bottom/a,left:n.left/r,x:n.left/r,y:n.top/a}}function G3(e){var t=lh(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function kz(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&K3(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ks(e){return xi(e).getComputedStyle(e)}function Ffe(e){return["table","td","th"].indexOf(fs(e))>=0}function _u(e){return((ih(e)?e.ownerDocument:e.document)||window.document).documentElement}function ew(e){return fs(e)==="html"?e:e.assignedSlot||e.parentNode||(K3(e)?e.host:null)||_u(e)}function VI(e){return!Eo(e)||Ks(e).position==="fixed"?null:e.offsetParent}function Vfe(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&Eo(e)){var r=Ks(e);if(r.position==="fixed")return null}var a=ew(e);for(K3(a)&&(a=a.host);Eo(a)&&["html","body"].indexOf(fs(a))<0;){var o=Ks(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function _m(e){for(var t=xi(e),n=VI(e);n&&Ffe(n)&&Ks(n).position==="static";)n=VI(n);return n&&(fs(n)==="html"||fs(n)==="body"&&Ks(n).position==="static")?t:n||Vfe(e)||t}function q3(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function vv(e,t,n){return Rc(e,nb(t,n))}function zfe(e,t,n){var r=vv(e,t,n);return r>n?n:r}function Az(){return{top:0,right:0,bottom:0,left:0}}function Mz(e){return Object.assign({},Az(),e)}function Oz(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Hfe=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Mz(typeof e!="number"?e:Oz(e,bm))};function Wfe(e){var t,n=e.state,r=e.name,a=e.options,o=n.elements.arrow,i=n.modifiersData.popperOffsets,s=as(n.placement),l=q3(s),u=[Da,Io].indexOf(s)>=0,c=u?"height":"width";if(!(!o||!i)){var f=Hfe(a.padding,n),h=G3(o),d=l==="y"?Ia:Da,p=l==="y"?Ro:Io,v=n.rects.reference[c]+n.rects.reference[l]-i[l]-n.rects.popper[c],g=i[l]-n.rects.reference[l],m=_m(o),w=m?l==="y"?m.clientHeight||0:m.clientWidth||0:0,_=v/2-g/2,b=f[d],S=w-h[c]-f[p],C=w/2-h[c]/2+_,T=vv(b,C,S),x=l;n.modifiersData[r]=(t={},t[x]=T,t.centerOffset=T-C,t)}}function Ufe(e){var t=e.state,n=e.options,r=n.element,a=r===void 0?"[data-popper-arrow]":r;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||!kz(t.elements.popper,a)||(t.elements.arrow=a))}var jfe={name:"arrow",enabled:!0,phase:"main",fn:Wfe,effect:Ufe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function uh(e){return e.split("-")[1]}var Kfe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Gfe(e){var t=e.x,n=e.y,r=window,a=r.devicePixelRatio||1;return{x:sh(t*a)/a||0,y:sh(n*a)/a||0}}function zI(e){var t,n=e.popper,r=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,h=i.x,d=h===void 0?0:h,p=i.y,v=p===void 0?0:p,g=typeof c=="function"?c({x:d,y:v}):{x:d,y:v};d=g.x,v=g.y;var m=i.hasOwnProperty("x"),w=i.hasOwnProperty("y"),_=Da,b=Ia,S=window;if(u){var C=_m(n),T="clientHeight",x="clientWidth";if(C===xi(n)&&(C=_u(n),Ks(C).position!=="static"&&s==="absolute"&&(T="scrollHeight",x="scrollWidth")),C=C,a===Ia||(a===Da||a===Io)&&o===og){b=Ro;var E=f&&C===S&&S.visualViewport?S.visualViewport.height:C[T];v-=E-r.height,v*=l?1:-1}if(a===Da||(a===Ia||a===Ro)&&o===og){_=Io;var k=f&&C===S&&S.visualViewport?S.visualViewport.width:C[x];d-=k-r.width,d*=l?1:-1}}var A=Object.assign({position:s},u&&Kfe),P=c===!0?Gfe({x:d,y:v}):{x:d,y:v};if(d=P.x,v=P.y,l){var $;return Object.assign({},A,($={},$[b]=w?"0":"",$[_]=m?"0":"",$.transform=(S.devicePixelRatio||1)<=1?"translate("+d+"px, "+v+"px)":"translate3d("+d+"px, "+v+"px, 0)",$))}return Object.assign({},A,(t={},t[b]=w?v+"px":"",t[_]=m?d+"px":"",t.transform="",t))}function qfe(e){var t=e.state,n=e.options,r=n.gpuAcceleration,a=r===void 0?!0:r,o=n.adaptive,i=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,u={placement:as(t.placement),variation:uh(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,zI(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,zI(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Pz={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:qfe,data:{}},S0={passive:!0};function Yfe(e){var t=e.state,n=e.instance,r=e.options,a=r.scroll,o=a===void 0?!0:a,i=r.resize,s=i===void 0?!0:i,l=xi(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(c){c.addEventListener("scroll",n.update,S0)}),s&&l.addEventListener("resize",n.update,S0),function(){o&&u.forEach(function(c){c.removeEventListener("scroll",n.update,S0)}),s&&l.removeEventListener("resize",n.update,S0)}}var Rz={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Yfe,data:{}},Xfe={left:"right",right:"left",bottom:"top",top:"bottom"};function Fy(e){return e.replace(/left|right|bottom|top/g,function(t){return Xfe[t]})}var Zfe={start:"end",end:"start"};function HI(e){return e.replace(/start|end/g,function(t){return Zfe[t]})}function Y3(e){var t=xi(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function X3(e){return lh(_u(e)).left+Y3(e).scrollLeft}function Jfe(e){var t=xi(e),n=_u(e),r=t.visualViewport,a=n.clientWidth,o=n.clientHeight,i=0,s=0;return r&&(a=r.width,o=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=r.offsetLeft,s=r.offsetTop)),{width:a,height:o,x:i+X3(e),y:s}}function Qfe(e){var t,n=_u(e),r=Y3(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=Rc(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=Rc(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-r.scrollLeft+X3(e),l=-r.scrollTop;return Ks(a||n).direction==="rtl"&&(s+=Rc(n.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:l}}function Z3(e){var t=Ks(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function Iz(e){return["html","body","#document"].indexOf(fs(e))>=0?e.ownerDocument.body:Eo(e)&&Z3(e)?e:Iz(ew(e))}function gv(e,t){var n;t===void 0&&(t=[]);var r=Iz(e),a=r===((n=e.ownerDocument)==null?void 0:n.body),o=xi(r),i=a?[o].concat(o.visualViewport||[],Z3(r)?r:[]):r,s=t.concat(i);return a?s:s.concat(gv(ew(i)))}function Rx(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ede(e){var t=lh(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function WI(e,t){return t===xz?Rx(Jfe(e)):ih(t)?ede(t):Rx(Qfe(_u(e)))}function tde(e){var t=gv(ew(e)),n=["absolute","fixed"].indexOf(Ks(e).position)>=0,r=n&&Eo(e)?_m(e):e;return ih(r)?t.filter(function(a){return ih(a)&&kz(a,r)&&fs(a)!=="body"}):[]}function nde(e,t,n){var r=t==="clippingParents"?tde(e):[].concat(t),a=[].concat(r,[n]),o=a[0],i=a.reduce(function(s,l){var u=WI(e,l);return s.top=Rc(u.top,s.top),s.right=nb(u.right,s.right),s.bottom=nb(u.bottom,s.bottom),s.left=Rc(u.left,s.left),s},WI(e,o));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function Dz(e){var t=e.reference,n=e.element,r=e.placement,a=r?as(r):null,o=r?uh(r):null,i=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(a){case Ia:l={x:i,y:t.y-n.height};break;case Ro:l={x:i,y:t.y+t.height};break;case Io:l={x:t.x+t.width,y:s};break;case Da:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=a?q3(a):null;if(u!=null){var c=u==="y"?"height":"width";switch(o){case oh:l[u]=l[u]-(t[c]/2-n[c]/2);break;case og:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function ig(e,t){t===void 0&&(t={});var n=t,r=n.placement,a=r===void 0?e.placement:r,o=n.boundary,i=o===void 0?xfe:o,s=n.rootBoundary,l=s===void 0?xz:s,u=n.elementContext,c=u===void 0?dp:u,f=n.altBoundary,h=f===void 0?!1:f,d=n.padding,p=d===void 0?0:d,v=Mz(typeof p!="number"?p:Oz(p,bm)),g=c===dp?Efe:dp,m=e.rects.popper,w=e.elements[h?g:c],_=nde(ih(w)?w:w.contextElement||_u(e.elements.popper),i,l),b=lh(e.elements.reference),S=Dz({reference:b,element:m,strategy:"absolute",placement:a}),C=Rx(Object.assign({},m,S)),T=c===dp?C:b,x={top:_.top-T.top+v.top,bottom:T.bottom-_.bottom+v.bottom,left:_.left-T.left+v.left,right:T.right-_.right+v.right},E=e.modifiersData.offset;if(c===dp&&E){var k=E[a];Object.keys(x).forEach(function(A){var P=[Io,Ro].indexOf(A)>=0?1:-1,$=[Ia,Ro].indexOf(A)>=0?"y":"x";x[A]+=k[$]*P})}return x}function rde(e,t){t===void 0&&(t={});var n=t,r=n.placement,a=n.boundary,o=n.rootBoundary,i=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?rl:l,c=uh(r),f=c?s?FI:FI.filter(function(p){return uh(p)===c}):bm,h=f.filter(function(p){return u.indexOf(p)>=0});h.length===0&&(h=f);var d=h.reduce(function(p,v){return p[v]=ig(e,{placement:v,boundary:a,rootBoundary:o,padding:i})[as(v)],p},{});return Object.keys(d).sort(function(p,v){return d[p]-d[v]})}function ade(e){if(as(e)===j3)return[];var t=Fy(e);return[HI(e),t,HI(t)]}function ode(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var a=n.mainAxis,o=a===void 0?!0:a,i=n.altAxis,s=i===void 0?!0:i,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,h=n.altBoundary,d=n.flipVariations,p=d===void 0?!0:d,v=n.allowedAutoPlacements,g=t.options.placement,m=as(g),w=m===g,_=l||(w||!p?[Fy(g)]:ade(g)),b=[g].concat(_).reduce(function(ne,ie){return ne.concat(as(ie)===j3?rde(t,{placement:ie,boundary:c,rootBoundary:f,padding:u,flipVariations:p,allowedAutoPlacements:v}):ie)},[]),S=t.rects.reference,C=t.rects.popper,T=new Map,x=!0,E=b[0],k=0;k=0,I=B?"width":"height",M=ig(t,{placement:A,boundary:c,rootBoundary:f,altBoundary:h,padding:u}),L=B?$?Io:Da:$?Ro:Ia;S[I]>C[I]&&(L=Fy(L));var O=Fy(L),D=[];if(o&&D.push(M[P]<=0),s&&D.push(M[L]<=0,M[O]<=0),D.every(function(ne){return ne})){E=A,x=!1;break}T.set(A,D)}if(x)for(var z=p?3:1,V=function(ne){var ie=b.find(function(fe){var G=T.get(fe);if(G)return G.slice(0,ne).every(function(oe){return oe})});if(ie)return E=ie,"break"},j=z;j>0;j--){var U=V(j);if(U==="break")break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}}var ide={name:"flip",enabled:!0,phase:"main",fn:ode,requiresIfExists:["offset"],data:{_skip:!1}};function UI(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function jI(e){return[Ia,Io,Ro,Da].some(function(t){return e[t]>=0})}function sde(e){var t=e.state,n=e.name,r=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=ig(t,{elementContext:"reference"}),s=ig(t,{altBoundary:!0}),l=UI(i,r),u=UI(s,a,o),c=jI(l),f=jI(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}var lde={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:sde};function ude(e,t,n){var r=as(e),a=[Da,Ia].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,i=o[0],s=o[1];return i=i||0,s=(s||0)*a,[Da,Io].indexOf(r)>=0?{x:s,y:i}:{x:i,y:s}}function cde(e){var t=e.state,n=e.options,r=e.name,a=n.offset,o=a===void 0?[0,0]:a,i=rl.reduce(function(c,f){return c[f]=ude(f,t.rects,o),c},{}),s=i[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=i}var fde={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:cde};function dde(e){var t=e.state,n=e.name;t.modifiersData[n]=Dz({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Lz={name:"popperOffsets",enabled:!0,phase:"read",fn:dde,data:{}};function hde(e){return e==="x"?"y":"x"}function pde(e){var t=e.state,n=e.options,r=e.name,a=n.mainAxis,o=a===void 0?!0:a,i=n.altAxis,s=i===void 0?!1:i,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,h=n.tether,d=h===void 0?!0:h,p=n.tetherOffset,v=p===void 0?0:p,g=ig(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),m=as(t.placement),w=uh(t.placement),_=!w,b=q3(m),S=hde(b),C=t.modifiersData.popperOffsets,T=t.rects.reference,x=t.rects.popper,E=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,k=typeof E=="number"?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(C){if(o){var $,B=b==="y"?Ia:Da,I=b==="y"?Ro:Io,M=b==="y"?"height":"width",L=C[b],O=L+g[B],D=L-g[I],z=d?-x[M]/2:0,V=w===oh?T[M]:x[M],j=w===oh?-x[M]:-T[M],U=t.elements.arrow,ne=d&&U?G3(U):{width:0,height:0},ie=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Az(),fe=ie[B],G=ie[I],oe=vv(0,T[M],ne[M]),se=_?T[M]/2-z-oe-fe-k.mainAxis:V-oe-fe-k.mainAxis,ue=_?-T[M]/2+z+oe+G+k.mainAxis:j+oe+G+k.mainAxis,he=t.elements.arrow&&_m(t.elements.arrow),ae=he?b==="y"?he.clientTop||0:he.clientLeft||0:0,K=($=A==null?void 0:A[b])!=null?$:0,Q=L+se-K-ae,pe=L+ue-K,we=vv(d?nb(O,Q):O,L,d?Rc(D,pe):D);C[b]=we,P[b]=we-L}if(s){var me,be=b==="x"?Ia:Da,Ce=b==="x"?Ro:Io,ke=C[S],Oe=S==="y"?"height":"width",Pe=ke+g[be],He=ke-g[Ce],Te=[Ia,Da].indexOf(m)!==-1,Be=(me=A==null?void 0:A[S])!=null?me:0,Je=Te?Pe:ke-T[Oe]-x[Oe]-Be+k.altAxis,dt=Te?ke+T[Oe]+x[Oe]-Be-k.altAxis:He,ct=d&&Te?zfe(Je,ke,dt):vv(d?Je:Pe,ke,d?dt:He);C[S]=ct,P[S]=ct-ke}t.modifiersData[r]=P}}var vde={name:"preventOverflow",enabled:!0,phase:"main",fn:pde,requiresIfExists:["offset"]};function gde(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function mde(e){return e===xi(e)||!Eo(e)?Y3(e):gde(e)}function yde(e){var t=e.getBoundingClientRect(),n=sh(t.width)/e.offsetWidth||1,r=sh(t.height)/e.offsetHeight||1;return n!==1||r!==1}function bde(e,t,n){n===void 0&&(n=!1);var r=Eo(t),a=Eo(t)&&yde(t),o=_u(t),i=lh(e,a),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((fs(t)!=="body"||Z3(o))&&(s=mde(t)),Eo(t)?(l=lh(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=X3(o))),{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}function _de(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function a(o){n.add(o.name);var i=[].concat(o.requires||[],o.requiresIfExists||[]);i.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&a(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||a(o)}),r}function wde(e){var t=_de(e);return $fe.reduce(function(n,r){return n.concat(t.filter(function(a){return a.phase===r}))},[])}function Sde(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Cde(e){var t=e.reduce(function(n,r){var a=n[r.name];return n[r.name]=a?Object.assign({},a,r,{options:Object.assign({},a.options,r.options),data:Object.assign({},a.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var KI={placement:"bottom",modifiers:[],strategy:"absolute"};function GI(){for(var e=arguments.length,t=new Array(e),n=0;n({})},strategy:{type:String,values:kde,default:"absolute"}}),$z=Ie(X(_e(X({},Ade),{id:String,style:{type:ce([String,Array,Object])},className:{type:ce([String,Array,Object])},effect:{type:ce(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:ce([String,Array,Object])},popperStyle:{type:ce([String,Array,Object])},referenceEl:{type:ce(Object)},triggerTargetEl:{type:ce(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number}),Pr(["ariaLabel"]))),Mde={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},Ode=(e,t)=>{const n=H(!1),r=H();return{focusStartRef:r,trapped:n,onFocusAfterReleased:u=>{var c;((c=u.detail)==null?void 0:c.focusReason)!=="pointer"&&(r.value="first",t("blur"))},onFocusAfterTrapped:()=>{t("focus")},onFocusInTrap:u=>{e.visible&&!n.value&&(u.target&&(r.value=u.target),n.value=!0)},onFocusoutPrevented:u=>{e.trapping||(u.detail.focusReason==="pointer"&&u.preventDefault(),n.value=!1)},onReleaseRequested:()=>{n.value=!1,t("close")}}},Pde=(e,t=[])=>{const{placement:n,strategy:r,popperOptions:a}=e,o=_e(X({placement:n,strategy:r},a),{modifiers:[...Ide(e),...t]});return Dde(o,a==null?void 0:a.modifiers),o},Rde=e=>{if(Bt)return Xa(e)};function Ide(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:r}=e;return[{name:"offset",options:{offset:[0,t!=null?t:12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:r}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function Dde(e,t){t&&(e.modifiers=[...e.modifiers,...t!=null?t:[]])}const Lde=(e,t,n={})=>{const r={name:"updateState",enabled:!0,phase:"write",fn:({state:l})=>{const u=$de(l);Object.assign(i.value,u)},requires:["computeStyles"]},a=R(()=>{const{onFirstUpdate:l,placement:u,strategy:c,modifiers:f}=y(n);return{onFirstUpdate:l,placement:u||"bottom",strategy:c||"absolute",modifiers:[...f||[],r,{name:"applyStyles",enabled:!1}]}}),o=gn(),i=H({styles:{popper:{position:y(a).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=()=>{o.value&&(o.value.destroy(),o.value=void 0)};return xe(a,l=>{const u=y(o);u&&u.setOptions(l)},{deep:!0}),xe([e,t],([l,u])=>{s(),!(!l||!u)&&(o.value=Ede(l,u,y(a)))}),fn(()=>{s()}),{state:R(()=>{var l;return X({},((l=y(o))==null?void 0:l.state)||{})}),styles:R(()=>y(i).styles),attributes:R(()=>y(i).attributes),update:()=>{var l;return(l=y(o))==null?void 0:l.update()},forceUpdate:()=>{var l;return(l=y(o))==null?void 0:l.forceUpdate()},instanceRef:R(()=>y(o))}};function $de(e){const t=Object.keys(e.elements),n=rg(t.map(a=>[a,e.styles[a]||{}])),r=rg(t.map(a=>[a,e.attributes[a]]));return{styles:n,attributes:r}}const Nde=0,Bde=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:r,role:a}=ze(z3,void 0),o=H(),i=H(),s=R(()=>({name:"eventListeners",enabled:!!e.visible})),l=R(()=>{var m;const w=y(o),_=(m=y(i))!=null?m:Nde;return{name:"arrow",enabled:!zV(w),options:{element:w,padding:_}}}),u=R(()=>X({onFirstUpdate:()=>{p()}},Pde(e,[y(l),y(s)]))),c=R(()=>Rde(e.referenceEl)||y(r)),{attributes:f,state:h,styles:d,update:p,forceUpdate:v,instanceRef:g}=Lde(c,n,u);return xe(g,m=>t.value=m),ft(()=>{xe(()=>{var m;return(m=y(c))==null?void 0:m.getBoundingClientRect()},()=>{p()})}),{attributes:f,arrowRef:o,contentRef:n,instanceRef:g,state:h,styles:d,role:a,forceUpdate:v,update:p}},Fde=(e,{attributes:t,styles:n,role:r})=>{const{nextZIndex:a}=mm(),o=Ae("popper"),i=R(()=>y(t).popper),s=H(et(e.zIndex)?e.zIndex:a()),l=R(()=>[o.b(),o.is("pure",e.pure),o.is(e.effect),e.popperClass]),u=R(()=>[{zIndex:y(s)},y(n).popper,e.popperStyle||{}]),c=R(()=>r.value==="dialog"?"false":void 0),f=R(()=>y(n).arrow||{});return{ariaModal:c,arrowStyle:f,contentAttrs:i,contentClass:l,contentStyle:u,contentZIndex:s,updateZIndex:()=>{s.value=et(e.zIndex)?e.zIndex:a()}}},Vde=te({name:"ElPopperContent"}),zde=te(_e(X({},Vde),{props:$z,emits:Mde,setup(e,{expose:t,emit:n}){const r=e,{focusStartRef:a,trapped:o,onFocusAfterReleased:i,onFocusAfterTrapped:s,onFocusInTrap:l,onFocusoutPrevented:u,onReleaseRequested:c}=Ode(r,n),{attributes:f,arrowRef:h,contentRef:d,styles:p,instanceRef:v,role:g,update:m}=Bde(r),{ariaModal:w,arrowStyle:_,contentAttrs:b,contentClass:S,contentStyle:C,updateZIndex:T}=Fde(r,{styles:p,attributes:f,role:g}),x=ze(cs,void 0),E=H();kt(vz,{arrowStyle:_,arrowRef:h,arrowOffset:E}),x&&kt(cs,_e(X({},x),{addInputId:rn,removeInputId:rn}));let k;const A=($=!0)=>{m(),$&&T()},P=()=>{A(!1),r.visible&&r.focusOnShow?o.value=!0:r.visible===!1&&(o.value=!1)};return ft(()=>{xe(()=>r.triggerTargetEl,($,B)=>{k==null||k(),k=void 0;const I=y($||d.value),M=y(B||d.value);to(I)&&(k=xe([g,()=>r.ariaLabel,w,()=>r.id],L=>{["role","aria-label","aria-modal","id"].forEach((O,D)=>{ur(L[D])?I.removeAttribute(O):I.setAttribute(O,L[D])})},{immediate:!0})),M!==I&&to(M)&&["role","aria-label","aria-modal","id"].forEach(L=>{M.removeAttribute(L)})},{immediate:!0}),xe(()=>r.visible,P,{immediate:!0})}),fn(()=>{k==null||k(),k=void 0}),t({popperContentRef:d,popperInstanceRef:v,updatePopper:A,contentStyle:C}),($,B)=>(N(),q("div",Et({ref_key:"contentRef",ref:d},y(b),{style:y(C),class:y(S),tabindex:"-1",onMouseenter:I=>$.$emit("mouseenter",I),onMouseleave:I=>$.$emit("mouseleave",I)}),[ee(y(Uh),{trapped:y(o),"trap-on-focus-in":!0,"focus-trap-el":y(d),"focus-start-el":y(a),onFocusAfterTrapped:y(s),onFocusAfterReleased:y(i),onFocusin:y(l),onFocusoutPrevented:y(u),onReleaseRequested:y(c)},{default:le(()=>[ve($.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16,["onMouseenter","onMouseleave"]))}}));var Hde=De(zde,[["__file","content.vue"]]);const Nz=pt(tfe),tw=Symbol("elTooltip");function qI(){let e;const t=(r,a)=>{n(),e=window.setTimeout(r,a)},n=()=>window.clearTimeout(e);return gm(()=>n()),{registerTimeout:t,cancelTimeout:n}}const Wde=Ie({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),Ude=({showAfter:e,hideAfter:t,autoClose:n,open:r,close:a})=>{const{registerTimeout:o}=qI(),{registerTimeout:i,cancelTimeout:s}=qI();return{onOpen:c=>{o(()=>{r(c);const f=y(n);et(f)&&f>0&&i(()=>{a(c)},f)},y(e))},onClose:c=>{s(),o(()=>{a(c)},y(t))}}},fr=Ie(X(_e(X(X({},Wde),$z),{appendTo:{type:ce([String,Object])},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:ce(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean}),Pr(["ariaLabel"]))),sg=Ie(_e(X({},yz),{disabled:Boolean,trigger:{type:ce([String,Array]),default:"hover"},triggerKeys:{type:ce(Array),default:()=>[Ue.enter,Ue.numpadEnter,Ue.space]}})),jde=Ci({type:ce(Boolean),default:null}),Kde=Ci({type:ce(Function)}),Gde=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,r=[t],a={[e]:jde,[n]:Kde};return{useModelToggle:({indicator:i,toggleReason:s,shouldHideWhenRouteChanges:l,shouldProceed:u,onShow:c,onHide:f})=>{const h=st(),{emit:d}=h,p=h.props,v=R(()=>Ge(p[n])),g=R(()=>p[e]===null),m=T=>{i.value!==!0&&(i.value=!0,s&&(s.value=T),Ge(c)&&c(T))},w=T=>{i.value!==!1&&(i.value=!1,s&&(s.value=T),Ge(f)&&f(T))},_=T=>{if(p.disabled===!0||Ge(u)&&!u())return;const x=v.value&&Bt;x&&d(t,!0),(g.value||!x)&&m(T)},b=T=>{if(p.disabled===!0||!Bt)return;const x=v.value&&Bt;x&&d(t,!1),(g.value||!x)&&w(T)},S=T=>{hn(T)&&(p.disabled&&T?v.value&&d(t,!1):i.value!==T&&(T?m():w()))},C=()=>{i.value?b():_()};return xe(()=>p[e],S),l&&h.appContext.config.globalProperties.$route!==void 0&&xe(()=>X({},h.proxy.$route),()=>{l.value&&i.value&&b()}),ft(()=>{S(p[e])}),{hide:b,show:_,toggle:C,hasUpdateHandler:v}},useModelToggleProps:a,useModelToggleEmits:r}},{useModelToggleProps:qde,useModelToggleEmits:Yde,useModelToggle:Xde}=Gde("visible"),Zde=Ie(_e(X(X(X(X(X({},gz),qde),fr),sg),mz),{showArrow:{type:Boolean,default:!0}})),Jde=[...Yde,"before-show","before-hide","show","hide","open","close"],Qde=(e,t)=>Me(e)?e.includes(t):e===t,Df=(e,t,n)=>r=>{Qde(y(e),t)&&n(r)},lr=(e,t,{checkForDefaultPrevented:n=!0}={})=>a=>{const o=e==null?void 0:e(a);if(n===!1||!o)return t==null?void 0:t(a)},YI=e=>t=>t.pointerType==="mouse"?e(t):void 0,ehe=te({name:"ElTooltipTrigger"}),the=te(_e(X({},ehe),{props:sg,setup(e,{expose:t}){const n=e,r=Ae("tooltip"),{controlled:a,id:o,open:i,onOpen:s,onClose:l,onToggle:u}=ze(tw,void 0),c=H(null),f=()=>{if(y(a)||n.disabled)return!0},h=Jt(n,"trigger"),d=lr(f,Df(h,"hover",s)),p=lr(f,Df(h,"hover",l)),v=lr(f,Df(h,"click",b=>{b.button===0&&u(b)})),g=lr(f,Df(h,"focus",s)),m=lr(f,Df(h,"focus",l)),w=lr(f,Df(h,"contextmenu",b=>{b.preventDefault(),u(b)})),_=lr(f,b=>{const{code:S}=b;n.triggerKeys.includes(S)&&(b.preventDefault(),u(b))});return t({triggerRef:c}),(b,S)=>(N(),ye(y(dfe),{id:y(o),"virtual-ref":b.virtualRef,open:y(i),"virtual-triggering":b.virtualTriggering,class:F(y(r).e("trigger")),onBlur:y(m),onClick:y(v),onContextmenu:y(w),onFocus:y(g),onMouseenter:y(d),onMouseleave:y(p),onKeydown:y(_)},{default:le(()=>[ve(b.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}}));var nhe=De(the,[["__file","trigger.vue"]]);const rhe=Ie({to:{type:ce([String,Object]),required:!0},disabled:Boolean}),ahe=te({__name:"teleport",props:rhe,setup(e){return(t,n)=>t.disabled?ve(t.$slots,"default",{key:0}):(N(),ye(FB,{key:1,to:t.to},[ve(t.$slots,"default")],8,["to"]))}});var ohe=De(ahe,[["__file","teleport.vue"]]);const wm=pt(ohe),Bz=()=>{const e=d3(),t=F3(),n=R(()=>`${e.value}-popper-container-${t.prefix}`),r=R(()=>`#${n.value}`);return{id:n,selector:r}},ihe=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},she=()=>{const{id:e,selector:t}=Bz();return lm(()=>{Bt&&(document.body.querySelector(t.value)||ihe(e.value))}),{id:e,selector:t}},lhe=te({name:"ElTooltipContent",inheritAttrs:!1}),uhe=te(_e(X({},lhe),{props:fr,setup(e,{expose:t}){const n=e,{selector:r}=Bz(),a=Ae("tooltip"),o=H();let i;const{controlled:s,id:l,open:u,trigger:c,onClose:f,onOpen:h,onShow:d,onHide:p,onBeforeShow:v,onBeforeHide:g}=ze(tw,void 0),m=R(()=>n.transition||`${a.namespace.value}-fade-in-linear`),w=R(()=>n.persistent);fn(()=>{i==null||i()});const _=R(()=>y(w)?!0:y(u)),b=R(()=>n.disabled?!1:y(u)),S=R(()=>n.appendTo||r.value),C=R(()=>{var M;return(M=n.style)!=null?M:{}}),T=H(!0),x=()=>{p(),T.value=!0},E=()=>{if(y(s))return!0},k=lr(E,()=>{n.enterable&&y(c)==="hover"&&h()}),A=lr(E,()=>{y(c)==="hover"&&f()}),P=()=>{var M,L;(L=(M=o.value)==null?void 0:M.updatePopper)==null||L.call(M),v==null||v()},$=()=>{g==null||g()},B=()=>{d(),i=M3(R(()=>{var M;return(M=o.value)==null?void 0:M.popperContentRef}),()=>{if(y(s))return;y(c)!=="hover"&&f()})},I=()=>{n.virtualTriggering||f()};return xe(()=>y(u),M=>{M?T.value=!1:i==null||i()},{flush:"post"}),xe(()=>n.content,()=>{var M,L;(L=(M=o.value)==null?void 0:M.updatePopper)==null||L.call(M)}),t({contentRef:o}),(M,L)=>(N(),ye(y(wm),{disabled:!M.teleported,to:y(S)},{default:le(()=>[ee(yr,{name:y(m),onAfterLeave:x,onBeforeEnter:P,onAfterEnter:B,onBeforeLeave:$},{default:le(()=>[y(_)?vt((N(),ye(y(Hde),Et({key:0,id:y(l),ref_key:"contentRef",ref:o},M.$attrs,{"aria-label":M.ariaLabel,"aria-hidden":T.value,"boundaries-padding":M.boundariesPadding,"fallback-placements":M.fallbackPlacements,"gpu-acceleration":M.gpuAcceleration,offset:M.offset,placement:M.placement,"popper-options":M.popperOptions,strategy:M.strategy,effect:M.effect,enterable:M.enterable,pure:M.pure,"popper-class":M.popperClass,"popper-style":[M.popperStyle,y(C)],"reference-el":M.referenceEl,"trigger-target-el":M.triggerTargetEl,visible:y(b),"z-index":M.zIndex,onMouseenter:y(k),onMouseleave:y(A),onBlur:I,onClose:y(f)}),{default:le(()=>[ve(M.$slots,"default")]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[Wt,y(b)]]):ge("v-if",!0)]),_:3},8,["name"])]),_:3},8,["disabled","to"]))}}));var che=De(uhe,[["__file","content.vue"]]);const fhe=te({name:"ElTooltip"}),dhe=te(_e(X({},fhe),{props:Zde,emits:Jde,setup(e,{expose:t,emit:n}){const r=e;she();const a=jr(),o=H(),i=H(),s=()=>{var m;const w=y(o);w&&((m=w.popperInstanceRef)==null||m.update())},l=H(!1),u=H(),{show:c,hide:f,hasUpdateHandler:h}=Xde({indicator:l,toggleReason:u}),{onOpen:d,onClose:p}=Ude({showAfter:Jt(r,"showAfter"),hideAfter:Jt(r,"hideAfter"),autoClose:Jt(r,"autoClose"),open:c,close:f}),v=R(()=>hn(r.visible)&&!h.value);kt(tw,{controlled:v,id:a,open:gu(l),trigger:Jt(r,"trigger"),onOpen:m=>{d(m)},onClose:m=>{p(m)},onToggle:m=>{y(l)?p(m):d(m)},onShow:()=>{n("show",u.value)},onHide:()=>{n("hide",u.value)},onBeforeShow:()=>{n("before-show",u.value)},onBeforeHide:()=>{n("before-hide",u.value)},updatePopper:s}),xe(()=>r.disabled,m=>{m&&l.value&&(l.value=!1)});const g=m=>{var w,_;const b=(_=(w=i.value)==null?void 0:w.contentRef)==null?void 0:_.popperContentRef,S=(m==null?void 0:m.relatedTarget)||document.activeElement;return b&&b.contains(S)};return n3(()=>l.value&&f()),t({popperRef:o,contentRef:i,isFocusInsideContent:g,updatePopper:s,onOpen:d,onClose:p,hide:f}),(m,w)=>(N(),ye(y(Nz),{ref_key:"popperRef",ref:o,role:m.role},{default:le(()=>[ee(nhe,{disabled:m.disabled,trigger:m.trigger,"trigger-keys":m.triggerKeys,"virtual-ref":m.virtualRef,"virtual-triggering":m.virtualTriggering},{default:le(()=>[m.$slots.default?ve(m.$slots,"default",{key:0}):ge("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),ee(che,{ref_key:"contentRef",ref:i,"aria-label":m.ariaLabel,"boundaries-padding":m.boundariesPadding,content:m.content,disabled:m.disabled,effect:m.effect,enterable:m.enterable,"fallback-placements":m.fallbackPlacements,"hide-after":m.hideAfter,"gpu-acceleration":m.gpuAcceleration,offset:m.offset,persistent:m.persistent,"popper-class":m.popperClass,"popper-style":m.popperStyle,placement:m.placement,"popper-options":m.popperOptions,pure:m.pure,"raw-content":m.rawContent,"reference-el":m.referenceEl,"trigger-target-el":m.triggerTargetEl,"show-after":m.showAfter,strategy:m.strategy,teleported:m.teleported,transition:m.transition,"virtual-triggering":m.virtualTriggering,"z-index":m.zIndex,"append-to":m.appendTo},{default:le(()=>[ve(m.$slots,"content",{},()=>[m.rawContent?(N(),q("span",{key:0,innerHTML:m.content},null,8,["innerHTML"])):(N(),q("span",{key:1},Re(m.content),1))]),m.showArrow?(N(),ye(y(afe),{key:0,"arrow-offset":m.arrowOffset},null,8,["arrow-offset"])):ge("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])]),_:3},8,["role"]))}}));var hhe=De(dhe,[["__file","tooltip.vue"]]);const Kr=pt(hhe),phe=Ie(X({valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:ce(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:ce([Function,Array]),default:rn},popperClass:{type:String,default:""},triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:{type:Boolean,default:!1},hideLoading:{type:Boolean,default:!1},teleported:fr.teleported,highlightFirstItem:{type:Boolean,default:!1},fitInputWidth:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},name:String},Pr(["ariaLabel"]))),vhe={[St]:e=>Ze(e),[ha]:e=>Ze(e),[Sn]:e=>Ze(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,select:e=>_t(e)},Fz="ElAutocomplete",ghe=te({name:Fz,inheritAttrs:!1}),mhe=te(_e(X({},ghe),{props:phe,emits:vhe,setup(e,{expose:t,emit:n}){const r=e,a=Z_(),o=mu(),i=Sa(),s=Ae("autocomplete"),l=H(),u=H(),c=H(),f=H();let h=!1,d=!1;const p=H([]),v=H(-1),g=H(""),m=H(!1),w=H(!1),_=H(!1),b=jr(),S=R(()=>o.style),C=R(()=>(p.value.length>0||_.value)&&m.value),T=R(()=>!r.hideLoading&&_.value),x=R(()=>l.value?Array.from(l.value.$el.querySelectorAll("input")):[]),E=()=>{C.value&&(g.value=`${l.value.$el.offsetWidth}px`)},k=()=>{v.value=-1},A=G=>ut(this,null,function*(){if(w.value)return;const oe=se=>{_.value=!1,!w.value&&(Me(se)?(p.value=se,v.value=r.highlightFirstItem?0:-1):ar(Fz,"autocomplete suggestions must be an array"))};if(_.value=!0,Me(r.fetchSuggestions))oe(r.fetchSuggestions);else{const se=yield r.fetchSuggestions(G,oe);Me(se)&&oe(se)}}),P=Fa(A,r.debounce),$=G=>{const oe=!!G;if(n(ha,G),n(St,G),w.value=!1,m.value||(m.value=oe),!r.triggerOnFocus&&!G){w.value=!0,p.value=[];return}P(G)},B=G=>{var oe;i.value||(((oe=G.target)==null?void 0:oe.tagName)!=="INPUT"||x.value.includes(document.activeElement))&&(m.value=!0)},I=G=>{n(Sn,G)},M=G=>{d?d=!1:(m.value=!0,n("focus",G),r.triggerOnFocus&&!h&&P(String(r.modelValue)))},L=G=>{setTimeout(()=>{var oe;if((oe=c.value)!=null&&oe.isFocusInsideContent()){d=!0;return}m.value&&V(),n("blur",G)})},O=()=>{m.value=!1,n(St,""),n("clear")},D=()=>ut(this,null,function*(){C.value&&v.value>=0&&v.value{C.value&&(G.preventDefault(),G.stopPropagation(),V())},V=()=>{m.value=!1},j=()=>{var G;(G=l.value)==null||G.focus()},U=()=>{var G;(G=l.value)==null||G.blur()},ne=G=>ut(this,null,function*(){n(ha,G[r.valueKey]),n(St,G[r.valueKey]),n("select",G),p.value=[],v.value=-1}),ie=G=>{if(!C.value||_.value)return;if(G<0){v.value=-1;return}G>=p.value.length&&(G=p.value.length-1);const oe=u.value.querySelector(`.${s.be("suggestion","wrap")}`),ue=oe.querySelectorAll(`.${s.be("suggestion","list")} li`)[G],he=oe.scrollTop,{offsetTop:ae,scrollHeight:K}=ue;ae+K>he+oe.clientHeight&&(oe.scrollTop+=K),ae{C.value&&V()});return fn(()=>{fe==null||fe()}),ft(()=>{l.value.ref.setAttribute("role","textbox"),l.value.ref.setAttribute("aria-autocomplete","list"),l.value.ref.setAttribute("aria-controls","id"),l.value.ref.setAttribute("aria-activedescendant",`${b.value}-item-${v.value}`),h=l.value.ref.hasAttribute("readonly")}),t({highlightedIndex:v,activated:m,loading:_,inputRef:l,popperRef:c,suggestions:p,handleSelect:ne,handleKeyEnter:D,focus:j,blur:U,close:V,highlight:ie,getData:A}),(G,oe)=>(N(),ye(y(Kr),{ref_key:"popperRef",ref:c,visible:y(C),placement:G.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[y(s).e("popper"),G.popperClass],teleported:G.teleported,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${y(s).namespace.value}-zoom-in-top`,persistent:"",role:"listbox",onBeforeShow:E,onHide:k},{content:le(()=>[Z("div",{ref_key:"regionRef",ref:u,class:F([y(s).b("suggestion"),y(s).is("loading",y(T))]),style:Xe({[G.fitInputWidth?"width":"minWidth"]:g.value,outline:"none"}),role:"region"},[ee(y(nl),{id:y(b),tag:"ul","wrap-class":y(s).be("suggestion","wrap"),"view-class":y(s).be("suggestion","list"),role:"listbox"},{default:le(()=>[y(T)?(N(),q("li",{key:0},[ve(G.$slots,"loading",{},()=>[ee(y(Ke),{class:F(y(s).is("loading"))},{default:le(()=>[ee(y(us))]),_:1},8,["class"])])])):(N(!0),q(je,{key:1},Rt(p.value,(se,ue)=>(N(),q("li",{id:`${y(b)}-item-${ue}`,key:ue,class:F({highlighted:v.value===ue}),role:"option","aria-selected":v.value===ue,onClick:he=>ne(se)},[ve(G.$slots,"default",{item:se},()=>[At(Re(se[G.valueKey]),1)])],10,["id","aria-selected","onClick"]))),128))]),_:3},8,["id","wrap-class","view-class"])],6)]),default:le(()=>[Z("div",{ref_key:"listboxRef",ref:f,class:F([y(s).b(),G.$attrs.class]),style:Xe(y(S)),role:"combobox","aria-haspopup":"listbox","aria-expanded":y(C),"aria-owns":y(b)},[ee(y(fa),Et({ref_key:"inputRef",ref:l},y(a),{clearable:G.clearable,disabled:y(i),name:G.name,"model-value":G.modelValue,"aria-label":G.ariaLabel,onInput:$,onChange:I,onFocus:M,onBlur:L,onClear:O,onKeydown:[un(nt(se=>ie(v.value-1),["prevent"]),["up"]),un(nt(se=>ie(v.value+1),["prevent"]),["down"]),un(D,["enter"]),un(V,["tab"]),un(z,["esc"])],onMousedown:B}),Oo({_:2},[G.$slots.prepend?{name:"prepend",fn:le(()=>[ve(G.$slots,"prepend")])}:void 0,G.$slots.append?{name:"append",fn:le(()=>[ve(G.$slots,"append")])}:void 0,G.$slots.prefix?{name:"prefix",fn:le(()=>[ve(G.$slots,"prefix")])}:void 0,G.$slots.suffix?{name:"suffix",fn:le(()=>[ve(G.$slots,"suffix")])}:void 0]),1040,["clearable","disabled","name","model-value","aria-label","onKeydown"])],14,["aria-expanded","aria-owns"])]),_:3},8,["visible","placement","popper-class","teleported","transition"]))}}));var yhe=De(mhe,[["__file","autocomplete.vue"]]);const bhe=pt(yhe),_he=Ie({size:{type:[Number,String],values:ms,default:"",validator:e=>et(e)},shape:{type:String,values:["circle","square"],default:"circle"},icon:{type:cn},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:ce(String),default:"cover"}}),whe={error:e=>e instanceof Event},She=te({name:"ElAvatar"}),Che=te(_e(X({},She),{props:_he,emits:whe,setup(e,{emit:t}){const n=e,r=Ae("avatar"),a=H(!1),o=R(()=>{const{size:u,icon:c,shape:f}=n,h=[r.b()];return Ze(u)&&h.push(r.m(u)),c&&h.push(r.m("icon")),f&&h.push(r.m(f)),h}),i=R(()=>{const{size:u}=n;return et(u)?r.cssVarBlock({size:Vn(u)||""}):void 0}),s=R(()=>({objectFit:n.fit}));xe(()=>n.src,()=>a.value=!1);function l(u){a.value=!0,t("error",u)}return(u,c)=>(N(),q("span",{class:F(y(o)),style:Xe(y(i))},[(u.src||u.srcSet)&&!a.value?(N(),q("img",{key:0,src:u.src,alt:u.alt,srcset:u.srcSet,style:Xe(y(s)),onError:l},null,44,["src","alt","srcset"])):u.icon?(N(),ye(y(Ke),{key:1},{default:le(()=>[(N(),ye(bt(u.icon)))]),_:1})):ve(u.$slots,"default",{key:2})],6))}}));var The=De(Che,[["__file","avatar.vue"]]);const xhe=pt(The),Ehe={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},khe={click:e=>e instanceof MouseEvent},Ahe=(e,t,n)=>{const r=gn(),a=gn(),o=H(!1),i=()=>{r.value&&(o.value=r.value.scrollTop>=e.visibilityHeight)},s=u=>{var c;(c=r.value)==null||c.scrollTo({top:0,behavior:"smooth"}),t("click",u)},l=jV(i,300,!0);return sn(a,"scroll",l),ft(()=>{var u;a.value=document,r.value=document.documentElement,e.target&&(r.value=(u=document.querySelector(e.target))!=null?u:void 0,r.value||ar(n,`target does not exist: ${e.target}`),a.value=r.value),i()}),{visible:o,handleClick:s}},Vz="ElBacktop",Mhe=te({name:Vz}),Ohe=te(_e(X({},Mhe),{props:Ehe,emits:khe,setup(e,{emit:t}){const n=e,r=Ae("backtop"),{handleClick:a,visible:o}=Ahe(n,t,Vz),i=R(()=>({right:`${n.right}px`,bottom:`${n.bottom}px`}));return(s,l)=>(N(),ye(yr,{name:`${y(r).namespace.value}-fade-in`},{default:le(()=>[y(o)?(N(),q("div",{key:0,style:Xe(y(i)),class:F(y(r).b()),onClick:nt(y(a),["stop"])},[ve(s.$slots,"default",{},()=>[ee(y(Ke),{class:F(y(r).e("icon"))},{default:le(()=>[ee(y(bue))]),_:1},8,["class"])])],14,["onClick"])):ge("v-if",!0)]),_:3},8,["name"]))}}));var Phe=De(Ohe,[["__file","backtop.vue"]]);const Rhe=pt(Phe),Ihe=Ie({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,badgeStyle:{type:ce([String,Object,Array])},offset:{type:ce(Array),default:[0,0]},badgeClass:{type:String}}),Dhe=te({name:"ElBadge"}),Lhe=te(_e(X({},Dhe),{props:Ihe,setup(e,{expose:t}){const n=e,r=Ae("badge"),a=R(()=>n.isDot?"":et(n.value)&&et(n.max)?n.max{var i,s,l,u,c;return[{backgroundColor:n.color,marginRight:Vn(-((s=(i=n.offset)==null?void 0:i[0])!=null?s:0)),marginTop:Vn((u=(l=n.offset)==null?void 0:l[1])!=null?u:0)},(c=n.badgeStyle)!=null?c:{}]});return t({content:a}),(i,s)=>(N(),q("div",{class:F(y(r).b())},[ve(i.$slots,"default"),ee(yr,{name:`${y(r).namespace.value}-zoom-in-center`,persisted:""},{default:le(()=>[vt(Z("sup",{class:F([y(r).e("content"),y(r).em("content",i.type),y(r).is("fixed",!!i.$slots.default),y(r).is("dot",i.isDot),y(r).is("hide-zero",!i.showZero&&n.value===0),i.badgeClass]),style:Xe(y(o)),textContent:Re(y(a))},null,14,["textContent"]),[[Wt,!i.hidden&&(y(a)||i.isDot)]])]),_:1},8,["name"])],2))}}));var $he=De(Lhe,[["__file","badge.vue"]]);const zz=pt($he),Hz=Symbol("breadcrumbKey"),Nhe=Ie({separator:{type:String,default:"/"},separatorIcon:{type:cn}}),Bhe=te({name:"ElBreadcrumb"}),Fhe=te(_e(X({},Bhe),{props:Nhe,setup(e){const t=e,{t:n}=$t(),r=Ae("breadcrumb"),a=H();return kt(Hz,t),ft(()=>{const o=a.value.querySelectorAll(`.${r.e("item")}`);o.length&&o[o.length-1].setAttribute("aria-current","page")}),(o,i)=>(N(),q("div",{ref_key:"breadcrumb",ref:a,class:F(y(r).b()),"aria-label":y(n)("el.breadcrumb.label"),role:"navigation"},[ve(o.$slots,"default")],10,["aria-label"]))}}));var Vhe=De(Fhe,[["__file","breadcrumb.vue"]]);const zhe=Ie({to:{type:ce([String,Object]),default:""},replace:Boolean}),Hhe=te({name:"ElBreadcrumbItem"}),Whe=te(_e(X({},Hhe),{props:zhe,setup(e){const t=e,n=st(),r=ze(Hz,void 0),a=Ae("breadcrumb"),o=n.appContext.config.globalProperties.$router,i=H(),s=()=>{!t.to||!o||(t.replace?o.replace(t.to):o.push(t.to))};return(l,u)=>{var c,f;return N(),q("span",{class:F(y(a).e("item"))},[Z("span",{ref_key:"link",ref:i,class:F([y(a).e("inner"),y(a).is("link",!!l.to)]),role:"link",onClick:s},[ve(l.$slots,"default")],2),(c=y(r))!=null&&c.separatorIcon?(N(),ye(y(Ke),{key:0,class:F(y(a).e("separator"))},{default:le(()=>[(N(),ye(bt(y(r).separatorIcon)))]),_:1},8,["class"])):(N(),q("span",{key:1,class:F(y(a).e("separator")),role:"presentation"},Re((f=y(r))==null?void 0:f.separator),3))],2)}}}));var Wz=De(Whe,[["__file","breadcrumb-item.vue"]]);const Uhe=pt(Vhe,{BreadcrumbItem:Wz}),jhe=Dn(Wz),Uz=Symbol("buttonGroupContextKey"),jl=({from:e,replacement:t,scope:n,version:r,ref:a,type:o="API"},i)=>{xe(()=>y(i),s=>{},{immediate:!0})},Khe=(e,t)=>{jl({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},R(()=>e.type==="text"));const n=ze(Uz,void 0),r=q_("button"),{form:a}=qr(),o=Jn(R(()=>n==null?void 0:n.size)),i=Sa(),s=H(),l=Yn(),u=R(()=>e.type||(n==null?void 0:n.type)||""),c=R(()=>{var p,v,g;return(g=(v=e.autoInsertSpace)!=null?v:(p=r.value)==null?void 0:p.autoInsertSpace)!=null?g:!1}),f=R(()=>e.tag==="button"?{ariaDisabled:i.value||e.loading,disabled:i.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),h=R(()=>{var p;const v=(p=l.default)==null?void 0:p.call(l);if(c.value&&(v==null?void 0:v.length)===1){const g=v[0];if((g==null?void 0:g.type)===rs){const m=g.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(m.trim())}}return!1});return{_disabled:i,_size:o,_type:u,_ref:s,_props:f,shouldAddSpace:h,handleClick:p=>{if(i.value||e.loading){p.stopPropagation();return}e.nativeType==="reset"&&(a==null||a.resetFields()),t("click",p)}}},Ix=["default","primary","success","warning","info","danger","text",""],Ghe=["button","submit","reset"],Dx=Ie({size:or,disabled:Boolean,type:{type:String,values:Ix,default:""},icon:{type:cn},nativeType:{type:String,values:Ghe,default:"button"},loading:Boolean,loadingIcon:{type:cn,default:()=>us},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:ce([String,Object]),default:"button"}}),qhe={click:e=>e instanceof MouseEvent};function Mr(e,t){Yhe(e)&&(e="100%");var n=Xhe(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function C0(e){return Math.min(1,Math.max(0,e))}function Yhe(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Xhe(e){return typeof e=="string"&&e.indexOf("%")!==-1}function jz(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function T0(e){return e<=1?"".concat(Number(e)*100,"%"):e}function pc(e){return e.length===1?"0"+e:String(e)}function Zhe(e,t,n){return{r:Mr(e,255)*255,g:Mr(t,255)*255,b:Mr(n,255)*255}}function XI(e,t,n){e=Mr(e,255),t=Mr(t,255),n=Mr(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),o=0,i=0,s=(r+a)/2;if(r===a)i=0,o=0;else{var l=r-a;switch(i=s>.5?l/(2-r-a):l/(r+a),r){case e:o=(t-n)/l+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Jhe(e,t,n){var r,a,o;if(e=Mr(e,360),t=Mr(t,100),n=Mr(n,100),t===0)a=n,o=n,r=n;else{var i=n<.5?n*(1+t):n+t-n*t,s=2*n-i;r=US(s,i,e+1/3),a=US(s,i,e),o=US(s,i,e-1/3)}return{r:r*255,g:a*255,b:o*255}}function ZI(e,t,n){e=Mr(e,255),t=Mr(t,255),n=Mr(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),o=0,i=r,s=r-a,l=r===0?0:s/r;if(r===a)o=0;else{switch(r){case e:o=(t-n)/s+(t>16,g:(e&65280)>>8,b:e&255}}var Lx={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function rpe(e){var t={r:0,g:0,b:0},n=1,r=null,a=null,o=null,i=!1,s=!1;return typeof e=="string"&&(e=ipe(e)),typeof e=="object"&&(xs(e.r)&&xs(e.g)&&xs(e.b)?(t=Zhe(e.r,e.g,e.b),i=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):xs(e.h)&&xs(e.s)&&xs(e.v)?(r=T0(e.s),a=T0(e.v),t=Qhe(e.h,r,a),i=!0,s="hsv"):xs(e.h)&&xs(e.s)&&xs(e.l)&&(r=T0(e.s),o=T0(e.l),t=Jhe(e.h,r,o),i=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=jz(n),{ok:i,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var ape="[-\\+]?\\d+%?",ope="[-\\+]?\\d*\\.\\d+%?",Pl="(?:".concat(ope,")|(?:").concat(ape,")"),jS="[\\s|\\(]+(".concat(Pl,")[,|\\s]+(").concat(Pl,")[,|\\s]+(").concat(Pl,")\\s*\\)?"),KS="[\\s|\\(]+(".concat(Pl,")[,|\\s]+(").concat(Pl,")[,|\\s]+(").concat(Pl,")[,|\\s]+(").concat(Pl,")\\s*\\)?"),Yo={CSS_UNIT:new RegExp(Pl),rgb:new RegExp("rgb"+jS),rgba:new RegExp("rgba"+KS),hsl:new RegExp("hsl"+jS),hsla:new RegExp("hsla"+KS),hsv:new RegExp("hsv"+jS),hsva:new RegExp("hsva"+KS),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function ipe(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Lx[e])e=Lx[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Yo.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Yo.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Yo.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Yo.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Yo.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Yo.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Yo.hex8.exec(e),n?{r:Ka(n[1]),g:Ka(n[2]),b:Ka(n[3]),a:QI(n[4]),format:t?"name":"hex8"}:(n=Yo.hex6.exec(e),n?{r:Ka(n[1]),g:Ka(n[2]),b:Ka(n[3]),format:t?"name":"hex"}:(n=Yo.hex4.exec(e),n?{r:Ka(n[1]+n[1]),g:Ka(n[2]+n[2]),b:Ka(n[3]+n[3]),a:QI(n[4]+n[4]),format:t?"name":"hex8"}:(n=Yo.hex3.exec(e),n?{r:Ka(n[1]+n[1]),g:Ka(n[2]+n[2]),b:Ka(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function xs(e){return!!Yo.CSS_UNIT.exec(String(e))}var Kz=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=npe(t)),this.originalInput=t;var a=rpe(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,a,o=t.r/255,i=t.g/255,s=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),i<=.03928?r=i/12.92:r=Math.pow((i+.055)/1.055,2.4),s<=.03928?a=s/12.92:a=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*r+.0722*a},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=jz(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=ZI(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=ZI(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),a=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(a,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=XI(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=XI(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),a=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(a,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),JI(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),epe(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Mr(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(Mr(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+JI(this.r,this.g,this.b,!1),n=0,r=Object.entries(Lx);n=0,o=!n&&a&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=C0(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=C0(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=C0(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=C0(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),a=new e(t).toRgb(),o=n/100,i={r:(a.r-r.r)*o+r.r,g:(a.g-r.g)*o+r.g,b:(a.b-r.b)*o+r.b,a:(a.a-r.a)*o+r.a};return new e(i)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),a=360/n,o=[this];for(r.h=(r.h-(a*t>>1)+720)%360;--t;)r.h=(r.h+a)%360,o.push(new e(r));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,a=n.s,o=n.v,i=[],s=1/t;t--;)i.push(new e({h:r,s:a,v:o})),o=(o+s)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),a=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/a,g:(n.g*n.a+r.g*r.a*(1-n.a))/a,b:(n.b*n.a+r.b*r.a*(1-n.a))/a,a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,a=[this],o=360/t,i=1;i{let r={},a=e.color;if(a){const o=a.match(/var\((.*?)\)/);o&&(a=window.getComputedStyle(window.document.documentElement).getPropertyValue(o[1]));const i=new Kz(a),s=e.dark?i.tint(20).toString():ll(i,20);if(e.plain)r=n.cssVarBlock({"bg-color":e.dark?ll(i,90):i.tint(90).toString(),"text-color":a,"border-color":e.dark?ll(i,50):i.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":a,"hover-border-color":a,"active-bg-color":s,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":s}),t.value&&(r[n.cssVarBlockName("disabled-bg-color")]=e.dark?ll(i,90):i.tint(90).toString(),r[n.cssVarBlockName("disabled-text-color")]=e.dark?ll(i,50):i.tint(50).toString(),r[n.cssVarBlockName("disabled-border-color")]=e.dark?ll(i,80):i.tint(80).toString());else{const l=e.dark?ll(i,30):i.tint(30).toString(),u=i.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(r=n.cssVarBlock({"bg-color":a,"text-color":u,"border-color":a,"hover-bg-color":l,"hover-text-color":u,"hover-border-color":l,"active-bg-color":s,"active-border-color":s}),t.value){const c=e.dark?ll(i,50):i.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]=c,r[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,r[n.cssVarBlockName("disabled-border-color")]=c}}}return r})}const lpe=te({name:"ElButton"}),upe=te(_e(X({},lpe),{props:Dx,emits:qhe,setup(e,{expose:t,emit:n}){const r=e,a=spe(r),o=Ae("button"),{_ref:i,_size:s,_type:l,_disabled:u,_props:c,shouldAddSpace:f,handleClick:h}=Khe(r,n),d=R(()=>[o.b(),o.m(l.value),o.m(s.value),o.is("disabled",u.value),o.is("loading",r.loading),o.is("plain",r.plain),o.is("round",r.round),o.is("circle",r.circle),o.is("text",r.text),o.is("link",r.link),o.is("has-bg",r.bg)]);return t({ref:i,size:s,type:l,disabled:u,shouldAddSpace:f}),(p,v)=>(N(),ye(bt(p.tag),Et({ref_key:"_ref",ref:i},y(c),{class:y(d),style:y(a),onClick:y(h)}),{default:le(()=>[p.loading?(N(),q(je,{key:0},[p.$slots.loading?ve(p.$slots,"loading",{key:0}):(N(),ye(y(Ke),{key:1,class:F(y(o).is("loading"))},{default:le(()=>[(N(),ye(bt(p.loadingIcon)))]),_:1},8,["class"]))],64)):p.icon||p.$slots.icon?(N(),ye(y(Ke),{key:1},{default:le(()=>[p.icon?(N(),ye(bt(p.icon),{key:0})):ve(p.$slots,"icon",{key:1})]),_:3})):ge("v-if",!0),p.$slots.default?(N(),q("span",{key:2,class:F({[y(o).em("text","expand")]:y(f)})},[ve(p.$slots,"default")],2)):ge("v-if",!0)]),_:3},16,["class","style","onClick"]))}}));var cpe=De(upe,[["__file","button.vue"]]);const fpe={size:Dx.size,type:Dx.type},dpe=te({name:"ElButtonGroup"}),hpe=te(_e(X({},dpe),{props:fpe,setup(e){const t=e;kt(Uz,zt({size:Jt(t,"size"),type:Jt(t,"type")}));const n=Ae("button");return(r,a)=>(N(),q("div",{class:F(y(n).b("group"))},[ve(r.$slots,"default")],2))}}));var Gz=De(hpe,[["__file","button-group.vue"]]);const mr=pt(cpe,{ButtonGroup:Gz}),qz=Dn(Gz);var e6=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function ys(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ppe(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}),n}var Vy={exports:{}},vpe=Vy.exports,t6;function gpe(){return t6||(t6=1,function(e,t){(function(n,r){e.exports=r()})(vpe,function(){var n=1e3,r=6e4,a=36e5,o="millisecond",i="second",s="minute",l="hour",u="day",c="week",f="month",h="quarter",d="year",p="date",v="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,w={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(B){var I=["th","st","nd","rd"],M=B%100;return"["+B+(I[(M-20)%10]||I[M]||I[0])+"]"}},_=function(B,I,M){var L=String(B);return!L||L.length>=I?B:""+Array(I+1-L.length).join(M)+B},b={s:_,z:function(B){var I=-B.utcOffset(),M=Math.abs(I),L=Math.floor(M/60),O=M%60;return(I<=0?"+":"-")+_(L,2,"0")+":"+_(O,2,"0")},m:function B(I,M){if(I.date()1)return B(z[0])}else{var V=I.name;C[V]=I,O=V}return!L&&O&&(S=O),O||!L&&S},k=function(B,I){if(x(B))return B.clone();var M=typeof I=="object"?I:{};return M.date=B,M.args=arguments,new P(M)},A=b;A.l=E,A.i=x,A.w=function(B,I){return k(B,{locale:I.$L,utc:I.$u,x:I.$x,$offset:I.$offset})};var P=function(){function B(M){this.$L=E(M.locale,null,!0),this.parse(M),this.$x=this.$x||M.x||{},this[T]=!0}var I=B.prototype;return I.parse=function(M){this.$d=function(L){var O=L.date,D=L.utc;if(O===null)return new Date(NaN);if(A.u(O))return new Date;if(O instanceof Date)return new Date(O);if(typeof O=="string"&&!/Z$/i.test(O)){var z=O.match(g);if(z){var V=z[2]-1||0,j=(z[7]||"0").substring(0,3);return D?new Date(Date.UTC(z[1],V,z[3]||1,z[4]||0,z[5]||0,z[6]||0,j)):new Date(z[1],V,z[3]||1,z[4]||0,z[5]||0,z[6]||0,j)}}return new Date(O)}(M),this.init()},I.init=function(){var M=this.$d;this.$y=M.getFullYear(),this.$M=M.getMonth(),this.$D=M.getDate(),this.$W=M.getDay(),this.$H=M.getHours(),this.$m=M.getMinutes(),this.$s=M.getSeconds(),this.$ms=M.getMilliseconds()},I.$utils=function(){return A},I.isValid=function(){return this.$d.toString()!==v},I.isSame=function(M,L){var O=k(M);return this.startOf(L)<=O&&O<=this.endOf(L)},I.isAfter=function(M,L){return k(M)[e>0?e-1:void 0,e,eArray.from(Array.from({length:e}).keys()),Yz=e=>e.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),Xz=e=>e.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),n6=function(e,t){const n=eu(e),r=eu(t);return n&&r?e.getTime()===t.getTime():!n&&!r?e===t:!1},r6=function(e,t){const n=Me(e),r=Me(t);return n&&r?e.length!==t.length?!1:e.every((a,o)=>n6(a,t[o])):!n&&!r?n6(e,t):!1},a6=function(e,t,n){const r=qa(t)||t==="x"?it(e).locale(n):it(e,t).locale(n);return r.isValid()?r:void 0},o6=function(e,t,n){return qa(t)?e:t==="x"?+e:it(e).locale(n).format(t)},qS=(e,t)=>{var n;const r=[],a=t==null?void 0:t();for(let o=0;oMe(e)?e.map(t=>t.toDate()):e.toDate(),ype=(e,t)=>{const n=e.subtract(1,"month").endOf("month").date();return Kl(t).map((r,a)=>n-(t-a-1))},bpe=e=>{const t=e.daysInMonth();return Kl(t).map((n,r)=>r+1)},_pe=e=>Kl(e.length/7).map(t=>{const n=t*7;return e.slice(n,n+7)}),wpe=Ie({selectedDay:{type:ce(Object)},range:{type:ce(Array)},date:{type:ce(Object),required:!0},hideHeader:{type:Boolean}}),Spe={pick:e=>_t(e)};var zy={exports:{}},Cpe=zy.exports,i6;function Tpe(){return i6||(i6=1,function(e,t){(function(n,r){e.exports=r()})(Cpe,function(){return function(n,r,a){var o=r.prototype,i=function(f){return f&&(f.indexOf?f:f.s)},s=function(f,h,d,p,v){var g=f.name?f:f.$locale(),m=i(g[h]),w=i(g[d]),_=m||w.map(function(S){return S.slice(0,p)});if(!v)return _;var b=g.weekStart;return _.map(function(S,C){return _[(C+(b||0))%7]})},l=function(){return a.Ls[a.locale()]},u=function(f,h){return f.formats[h]||function(d){return d.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(p,v,g){return v||g.slice(1)})}(f.formats[h.toUpperCase()])},c=function(){var f=this;return{months:function(h){return h?h.format("MMMM"):s(f,"months")},monthsShort:function(h){return h?h.format("MMM"):s(f,"monthsShort","months",3)},firstDayOfWeek:function(){return f.$locale().weekStart||0},weekdays:function(h){return h?h.format("dddd"):s(f,"weekdays")},weekdaysMin:function(h){return h?h.format("dd"):s(f,"weekdaysMin","weekdays",2)},weekdaysShort:function(h){return h?h.format("ddd"):s(f,"weekdaysShort","weekdays",3)},longDateFormat:function(h){return u(f.$locale(),h)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};o.localeData=function(){return c.bind(this)()},a.localeData=function(){var f=l();return{firstDayOfWeek:function(){return f.weekStart||0},weekdays:function(){return a.weekdays()},weekdaysShort:function(){return a.weekdaysShort()},weekdaysMin:function(){return a.weekdaysMin()},months:function(){return a.months()},monthsShort:function(){return a.monthsShort()},longDateFormat:function(h){return u(f,h)},meridiem:f.meridiem,ordinal:f.ordinal}},a.months=function(){return s(l(),"months")},a.monthsShort=function(){return s(l(),"monthsShort","months",3)},a.weekdays=function(f){return s(l(),"weekdays",null,null,f)},a.weekdaysShort=function(f){return s(l(),"weekdaysShort","weekdays",3,f)},a.weekdaysMin=function(f){return s(l(),"weekdaysMin","weekdays",2,f)}}})}(zy)),zy.exports}var xpe=Tpe();const Zz=ys(xpe),Epe=["year","years","month","months","date","dates","week","datetime","datetimerange","daterange","monthrange","yearrange"],YS=["sun","mon","tue","wed","thu","fri","sat"],kpe=(e,t)=>{it.extend(Zz);const n=it.localeData().firstDayOfWeek(),{t:r,lang:a}=$t(),o=it().locale(a.value),i=R(()=>!!e.range&&!!e.range.length),s=R(()=>{let h=[];if(i.value){const[d,p]=e.range,v=Kl(p.date()-d.date()+1).map(w=>({text:d.date()+w,type:"current"}));let g=v.length%7;g=g===0?0:7-g;const m=Kl(g).map((w,_)=>({text:_+1,type:"next"}));h=v.concat(m)}else{const d=e.date.startOf("month").day(),p=ype(e.date,(d-n+7)%7).map(w=>({text:w,type:"prev"})),v=bpe(e.date).map(w=>({text:w,type:"current"}));h=[...p,...v];const g=7-(h.length%7||7),m=Kl(g).map((w,_)=>({text:_+1,type:"next"}));h=h.concat(m)}return _pe(h)}),l=R(()=>{const h=n;return h===0?YS.map(d=>r(`el.datepicker.weeks.${d}`)):YS.slice(h).concat(YS.slice(0,h)).map(d=>r(`el.datepicker.weeks.${d}`))}),u=(h,d)=>{switch(d){case"prev":return e.date.startOf("month").subtract(1,"month").date(h);case"next":return e.date.startOf("month").add(1,"month").date(h);case"current":return e.date.date(h)}};return{now:o,isInRange:i,rows:s,weekDays:l,getFormattedDate:u,handlePickDay:({text:h,type:d})=>{const p=u(h,d);t("pick",p)},getSlotData:({text:h,type:d})=>{const p=u(h,d);return{isSelected:p.isSame(e.selectedDay),type:`${d}-month`,day:p.format("YYYY-MM-DD"),date:p.toDate()}}}},Ape=te({name:"DateTable"}),Mpe=te(_e(X({},Ape),{props:wpe,emits:Spe,setup(e,{expose:t,emit:n}){const r=e,{isInRange:a,now:o,rows:i,weekDays:s,getFormattedDate:l,handlePickDay:u,getSlotData:c}=kpe(r,n),f=Ae("calendar-table"),h=Ae("calendar-day"),d=({text:p,type:v})=>{const g=[v];if(v==="current"){const m=l(p,v);m.isSame(r.selectedDay,"day")&&g.push(h.is("selected")),m.isSame(o,"day")&&g.push(h.is("today"))}return g};return t({getFormattedDate:l}),(p,v)=>(N(),q("table",{class:F([y(f).b(),y(f).is("range",y(a))]),cellspacing:"0",cellpadding:"0"},[p.hideHeader?ge("v-if",!0):(N(),q("thead",{key:0},[Z("tr",null,[(N(!0),q(je,null,Rt(y(s),g=>(N(),q("th",{key:g,scope:"col"},Re(g),1))),128))])])),Z("tbody",null,[(N(!0),q(je,null,Rt(y(i),(g,m)=>(N(),q("tr",{key:m,class:F({[y(f).e("row")]:!0,[y(f).em("row","hide-border")]:m===0&&p.hideHeader})},[(N(!0),q(je,null,Rt(g,(w,_)=>(N(),q("td",{key:_,class:F(d(w)),onClick:b=>y(u)(w)},[Z("div",{class:F(y(h).b())},[ve(p.$slots,"date-cell",{data:y(c)(w)},()=>[Z("span",null,Re(w.text),1)])],2)],10,["onClick"]))),128))],2))),128))])],2))}}));var s6=De(Mpe,[["__file","date-table.vue"]]);const Ope=(e,t)=>{const n=e.endOf("month"),r=t.startOf("month"),o=n.isSame(r,"week")?r.add(1,"week"):r;return[[e,n],[o.startOf("week"),t]]},Ppe=(e,t)=>{const n=e.endOf("month"),r=e.add(1,"month").startOf("month"),a=n.isSame(r,"week")?r.add(1,"week"):r,o=a.endOf("month"),i=t.startOf("month"),s=o.isSame(i,"week")?i.add(1,"week"):i;return[[e,n],[a.startOf("week"),o],[s.startOf("week"),t]]},Rpe=(e,t,n)=>{const{lang:r}=$t(),a=H(),o=it().locale(r.value),i=R({get(){return e.modelValue?l.value:a.value},set(g){if(!g)return;a.value=g;const m=g.toDate();t(ha,m),t(St,m)}}),s=R(()=>{if(!e.range||!Me(e.range)||e.range.length!==2||e.range.some(_=>!eu(_)))return[];const g=e.range.map(_=>it(_).locale(r.value)),[m,w]=g;return m.isAfter(w)?[]:m.isSame(w,"month")?d(m,w):m.add(1,"month").month()!==w.month()?[]:d(m,w)}),l=R(()=>e.modelValue?it(e.modelValue).locale(r.value):i.value||(s.value.length?s.value[0][0]:o)),u=R(()=>l.value.subtract(1,"month").date(1)),c=R(()=>l.value.add(1,"month").date(1)),f=R(()=>l.value.subtract(1,"year").date(1)),h=R(()=>l.value.add(1,"year").date(1)),d=(g,m)=>{const w=g.startOf("week"),_=m.endOf("week"),b=w.get("month"),S=_.get("month");return b===S?[[w,_]]:(b+1)%12===S?Ope(w,_):b+2===S||(b+1)%11===S?Ppe(w,_):[]},p=g=>{i.value=g};return{calculateValidatedDateRange:d,date:l,realSelectedDay:i,pickDay:p,selectDate:g=>{const w={"prev-month":u.value,"next-month":c.value,"prev-year":f.value,"next-year":h.value,today:o}[g];w.isSame(l.value,"day")||p(w)},validatedRange:s}},Ipe=e=>Me(e)&&e.length===2&&e.every(t=>eu(t)),Dpe=Ie({modelValue:{type:Date},range:{type:ce(Array),validator:Ipe}}),Lpe={[St]:e=>eu(e),[ha]:e=>eu(e)},$pe="ElCalendar",Npe=te({name:$pe}),Bpe=te(_e(X({},Npe),{props:Dpe,emits:Lpe,setup(e,{expose:t,emit:n}){const r=e,a=Ae("calendar"),{calculateValidatedDateRange:o,date:i,pickDay:s,realSelectedDay:l,selectDate:u,validatedRange:c}=Rpe(r,n),{t:f}=$t(),h=R(()=>{const d=`el.datepicker.month${i.value.format("M")}`;return`${i.value.year()} ${f("el.datepicker.year")} ${f(d)}`});return t({selectedDay:l,pickDay:s,selectDate:u,calculateValidatedDateRange:o}),(d,p)=>(N(),q("div",{class:F(y(a).b())},[Z("div",{class:F(y(a).e("header"))},[ve(d.$slots,"header",{date:y(h)},()=>[Z("div",{class:F(y(a).e("title"))},Re(y(h)),3),y(c).length===0?(N(),q("div",{key:0,class:F(y(a).e("button-group"))},[ee(y(qz),null,{default:le(()=>[ee(y(mr),{size:"small",onClick:v=>y(u)("prev-month")},{default:le(()=>[At(Re(y(f)("el.datepicker.prevMonth")),1)]),_:1},8,["onClick"]),ee(y(mr),{size:"small",onClick:v=>y(u)("today")},{default:le(()=>[At(Re(y(f)("el.datepicker.today")),1)]),_:1},8,["onClick"]),ee(y(mr),{size:"small",onClick:v=>y(u)("next-month")},{default:le(()=>[At(Re(y(f)("el.datepicker.nextMonth")),1)]),_:1},8,["onClick"])]),_:1})],2)):ge("v-if",!0)])],2),y(c).length===0?(N(),q("div",{key:0,class:F(y(a).e("body"))},[ee(s6,{date:y(i),"selected-day":y(l),onPick:y(s)},Oo({_:2},[d.$slots["date-cell"]?{name:"date-cell",fn:le(v=>[ve(d.$slots,"date-cell",Kd(Yd(v)))])}:void 0]),1032,["date","selected-day","onPick"])],2)):(N(),q("div",{key:1,class:F(y(a).e("body"))},[(N(!0),q(je,null,Rt(y(c),(v,g)=>(N(),ye(s6,{key:g,date:v[0],"selected-day":y(l),range:v,"hide-header":g!==0,onPick:y(s)},Oo({_:2},[d.$slots["date-cell"]?{name:"date-cell",fn:le(m=>[ve(d.$slots,"date-cell",Kd(Yd(m)))])}:void 0]),1032,["date","selected-day","range","hide-header","onPick"]))),128))],2))],2))}}));var Fpe=De(Bpe,[["__file","calendar.vue"]]);const Vpe=pt(Fpe),zpe=Ie({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:ce([String,Object,Array]),default:""},bodyClass:String,shadow:{type:String,values:["always","hover","never"],default:"always"}}),Hpe=te({name:"ElCard"}),Wpe=te(_e(X({},Hpe),{props:zpe,setup(e){const t=Ae("card");return(n,r)=>(N(),q("div",{class:F([y(t).b(),y(t).is(`${n.shadow}-shadow`)])},[n.$slots.header||n.header?(N(),q("div",{key:0,class:F(y(t).e("header"))},[ve(n.$slots,"header",{},()=>[At(Re(n.header),1)])],2)):ge("v-if",!0),Z("div",{class:F([y(t).e("body"),n.bodyClass]),style:Xe(n.bodyStyle)},[ve(n.$slots,"default")],6),n.$slots.footer||n.footer?(N(),q("div",{key:1,class:F(y(t).e("footer"))},[ve(n.$slots,"footer",{},()=>[At(Re(n.footer),1)])],2)):ge("v-if",!0)],2))}}));var Upe=De(Wpe,[["__file","card.vue"]]);const jpe=pt(Upe),Kpe=Ie({initialIndex:{type:Number,default:0},height:{type:String,default:""},trigger:{type:String,values:["hover","click"],default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:{type:String,values:["","none","outside"],default:""},arrow:{type:String,values:["always","hover","never"],default:"hover"},type:{type:String,values:["","card"],default:""},cardScale:{type:Number,default:.83},loop:{type:Boolean,default:!0},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:Boolean}),Gpe={change:(e,t)=>[e,t].every(et)},Jz=Symbol("carouselContextKey"),$x="ElCarouselItem";var go=(e=>(e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL",e))(go||{});function Nx(e){return yn(e)&&e.type===je}function qpe(e){return yn(e)&&e.type===Kn}function Ype(e){return yn(e)&&!Nx(e)&&!qpe(e)}const Xpe=e=>{if(!yn(e))return{};const t=e.props||{},n=(yn(e.type)?e.type.props:void 0)||{},r={};return Object.keys(n).forEach(a=>{Vt(n[a],"default")&&(r[a]=n[a].default)}),Object.keys(t).forEach(a=>{r[gr(a)]=t[a]}),r},Gl=e=>{const t=Me(e)?e:[e],n=[];return t.forEach(r=>{var a;Me(r)?n.push(...Gl(r)):yn(r)&&((a=r.component)!=null&&a.subTree)?n.push(r,...Gl(r.component.subTree)):yn(r)&&Me(r.children)?n.push(...Gl(r.children)):n.push(r)}),n},Zpe=(e,t,n)=>Gl(e.subTree).filter(o=>{var i;return yn(o)&&((i=o.type)==null?void 0:i.name)===t&&!!o.component}).map(o=>o.component.uid).map(o=>n[o]).filter(o=>!!o),Q3=(e,t)=>{const n={},r=gn([]);return{children:r,addChild:i=>{n[i.uid]=i,r.value=Zpe(e,t,n)},removeChild:i=>{delete n[i],r.value=r.value.filter(s=>s.uid!==i)}}},l6=300,Jpe=(e,t,n)=>{const{children:r,addChild:a,removeChild:o}=Q3(st(),$x),i=Yn(),s=H(-1),l=H(null),u=H(!1),c=H(),f=H(0),h=H(!0),d=H(!0),p=H(!1),v=R(()=>e.arrow!=="never"&&!y(w)),g=R(()=>r.value.some(fe=>fe.props.label.toString().length>0)),m=R(()=>e.type==="card"),w=R(()=>e.direction==="vertical"),_=R(()=>e.height!=="auto"?{height:e.height}:{height:`${f.value}px`,overflow:"hidden"}),b=Pc(fe=>{k(fe)},l6,{trailing:!0}),S=Pc(fe=>{D(fe)},l6),C=fe=>h.value?s.value<=1?fe<=1:fe>1:!0;function T(){l.value&&(clearInterval(l.value),l.value=null)}function x(){e.interval<=0||!e.autoplay||l.value||(l.value=setInterval(()=>E(),e.interval))}const E=()=>{d.value||(p.value=!0),d.value=!1,s.valueue.props.name===fe);se.length>0&&(fe=r.value.indexOf(se[0]))}if(fe=Number(fe),Number.isNaN(fe)||fe!==Math.floor(fe))return;const G=r.value.length,oe=s.value;fe<0?s.value=e.loop?G-1:0:fe>=G?s.value=e.loop?0:G-1:s.value=fe,oe===s.value&&A(oe),j()}function A(fe){r.value.forEach((G,oe)=>{G.translateItem(oe,s.value,fe)})}function P(fe,G){var oe,se,ue,he;const ae=y(r),K=ae.length;if(K===0||!fe.states.inStage)return!1;const Q=G+1,pe=G-1,we=K-1,me=ae[we].states.active,be=ae[0].states.active,Ce=(se=(oe=ae[Q])==null?void 0:oe.states)==null?void 0:se.active,ke=(he=(ue=ae[pe])==null?void 0:ue.states)==null?void 0:he.active;return G===we&&be||Ce?"left":G===0&&me||ke?"right":!1}function $(){u.value=!0,e.pauseOnHover&&T()}function B(){u.value=!1,x()}function I(){p.value=!1}function M(fe){y(w)||r.value.forEach((G,oe)=>{fe===P(G,oe)&&(G.states.hover=!0)})}function L(){y(w)||r.value.forEach(fe=>{fe.states.hover=!1})}function O(fe){fe!==s.value&&(d.value||(p.value=!0)),s.value=fe}function D(fe){e.trigger==="hover"&&fe!==s.value&&(s.value=fe,d.value||(p.value=!0))}function z(){k(s.value-1)}function V(){k(s.value+1)}function j(){T(),e.pauseOnHover||x()}function U(fe){e.height==="auto"&&(f.value=fe)}function ne(){var fe;const G=(fe=i.default)==null?void 0:fe.call(i);if(!G)return null;const se=Gl(G).filter(ue=>yn(ue)&&ue.type.name===$x);return(se==null?void 0:se.length)===2&&e.loop&&!m.value?(h.value=!0,se):(h.value=!1,null)}xe(()=>s.value,(fe,G)=>{A(G),h.value&&(fe=fe%2,G=G%2),G>-1&&t("change",fe,G)}),xe(()=>e.autoplay,fe=>{fe?x():T()}),xe(()=>e.loop,()=>{k(s.value)}),xe(()=>e.interval,()=>{j()});const ie=gn();return ft(()=>{xe(()=>r.value,()=>{r.value.length>0&&k(e.initialIndex)},{immediate:!0}),ie.value=On(c.value,()=>{A()}),x()}),fn(()=>{T(),c.value&&ie.value&&ie.value.stop()}),kt(Jz,{root:c,isCardType:m,isVertical:w,items:r,loop:e.loop,cardScale:e.cardScale,addItem:a,removeItem:o,setActiveItem:k,setContainerHeight:U}),{root:c,activeIndex:s,arrowDisplay:v,hasLabel:g,hover:u,isCardType:m,isTransitioning:p,items:r,isVertical:w,containerStyle:_,isItemsTwoLength:h,handleButtonEnter:M,handleTransitionEnd:I,handleButtonLeave:L,handleIndicatorClick:O,handleMouseEnter:$,handleMouseLeave:B,setActiveItem:k,prev:z,next:V,PlaceholderItem:ne,isTwoLengthShow:C,throttledArrowClick:b,throttledIndicatorHover:S}},Qpe="ElCarousel",eve=te({name:Qpe}),tve=te(_e(X({},eve),{props:Kpe,emits:Gpe,setup(e,{expose:t,emit:n}){const r=e,{root:a,activeIndex:o,arrowDisplay:i,hasLabel:s,hover:l,isCardType:u,items:c,isVertical:f,containerStyle:h,handleButtonEnter:d,handleButtonLeave:p,isTransitioning:v,handleIndicatorClick:g,handleMouseEnter:m,handleMouseLeave:w,handleTransitionEnd:_,setActiveItem:b,prev:S,next:C,PlaceholderItem:T,isTwoLengthShow:x,throttledArrowClick:E,throttledIndicatorHover:k}=Jpe(r,n),A=Ae("carousel"),{t:P}=$t(),$=R(()=>{const M=[A.b(),A.m(r.direction)];return y(u)&&M.push(A.m("card")),M}),B=R(()=>{const M=[A.e("container")];return r.motionBlur&&y(v)&&c.value.length>1&&M.push(y(f)?`${A.namespace.value}-transitioning-vertical`:`${A.namespace.value}-transitioning`),M}),I=R(()=>{const M=[A.e("indicators"),A.em("indicators",r.direction)];return y(s)&&M.push(A.em("indicators","labels")),r.indicatorPosition==="outside"&&M.push(A.em("indicators","outside")),y(f)&&M.push(A.em("indicators","right")),M});return t({activeIndex:o,setActiveItem:b,prev:S,next:C}),(M,L)=>(N(),q("div",{ref_key:"root",ref:a,class:F(y($)),onMouseenter:nt(y(m),["stop"]),onMouseleave:nt(y(w),["stop"])},[y(i)?(N(),ye(yr,{key:0,name:"carousel-arrow-left",persisted:""},{default:le(()=>[vt(Z("button",{type:"button",class:F([y(A).e("arrow"),y(A).em("arrow","left")]),"aria-label":y(P)("el.carousel.leftArrow"),onMouseenter:O=>y(d)("left"),onMouseleave:y(p),onClick:nt(O=>y(E)(y(o)-1),["stop"])},[ee(y(Ke),null,{default:le(()=>[ee(y(iu))]),_:1})],42,["aria-label","onMouseenter","onMouseleave","onClick"]),[[Wt,(M.arrow==="always"||y(l))&&(r.loop||y(o)>0)]])]),_:1})):ge("v-if",!0),y(i)?(N(),ye(yr,{key:1,name:"carousel-arrow-right",persisted:""},{default:le(()=>[vt(Z("button",{type:"button",class:F([y(A).e("arrow"),y(A).em("arrow","right")]),"aria-label":y(P)("el.carousel.rightArrow"),onMouseenter:O=>y(d)("right"),onMouseleave:y(p),onClick:nt(O=>y(E)(y(o)+1),["stop"])},[ee(y(Ke),null,{default:le(()=>[ee(y(pa))]),_:1})],42,["aria-label","onMouseenter","onMouseleave","onClick"]),[[Wt,(M.arrow==="always"||y(l))&&(r.loop||y(o)vt((N(),q("li",{key:D,class:F([y(A).e("indicator"),y(A).em("indicator",M.direction),y(A).is("active",D===y(o))]),onMouseenter:z=>y(k)(D),onClick:nt(z=>y(g)(D),["stop"])},[Z("button",{class:F(y(A).e("button")),"aria-label":y(P)("el.carousel.indicator",{index:D+1})},[y(s)?(N(),q("span",{key:0},Re(O.props.label),1)):ge("v-if",!0)],10,["aria-label"])],42,["onMouseenter","onClick"])),[[Wt,y(x)(D)]])),128))],2)):ge("v-if",!0),r.motionBlur?(N(),q("svg",{key:3,xmlns:"http://www.w3.org/2000/svg",version:"1.1",style:{display:"none"}},[Z("defs",null,[Z("filter",{id:"elCarouselHorizontal"},[Z("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"12,0"})]),Z("filter",{id:"elCarouselVertical"},[Z("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"0,10"})])])])):ge("v-if",!0)],42,["onMouseenter","onMouseleave"]))}}));var nve=De(tve,[["__file","carousel.vue"]]);const rve=Ie({name:{type:String,default:""},label:{type:[String,Number],default:""}}),ave=e=>{const t=ze(Jz),n=st(),r=H(),a=H(!1),o=H(0),i=H(1),s=H(!1),l=H(!1),u=H(!1),c=H(!1),{isCardType:f,isVertical:h,cardScale:d}=t;function p(_,b,S){const C=S-1,T=b-1,x=b+1,E=S/2;return b===0&&_===C?-1:b===C&&_===0?S:_=E?S+1:_>x&&_-b>=E?-2:_}function v(_,b){var S,C;const T=y(h)?((S=t.root.value)==null?void 0:S.offsetHeight)||0:((C=t.root.value)==null?void 0:C.offsetWidth)||0;return u.value?T*((2-d)*(_-b)+1)/4:_{var C;const T=y(f),x=(C=t.items.value.length)!=null?C:Number.NaN,E=_===b;!T&&!_n(S)&&(c.value=E||_===S),!E&&x>2&&t.loop&&(_=p(_,b,x));const k=y(h);s.value=E,T?(u.value=Math.round(Math.abs(_-b))<=1,o.value=v(_,b),i.value=y(s)?1:d):o.value=g(_,b,k),l.value=!0,E&&r.value&&t.setContainerHeight(r.value.offsetHeight)};function w(){if(t&&y(f)){const _=t.items.value.findIndex(({uid:b})=>b===n.uid);t.setActiveItem(_)}}return ft(()=>{t.addItem({props:e,states:zt({hover:a,translate:o,scale:i,active:s,ready:l,inStage:u,animating:c}),uid:n.uid,translateItem:m})}),Vo(()=>{t.removeItem(n.uid)}),{carouselItemRef:r,active:s,animating:c,hover:a,inStage:u,isVertical:h,translate:o,isCardType:f,scale:i,ready:l,handleItemClick:w}},ove=te({name:$x}),ive=te(_e(X({},ove),{props:rve,setup(e){const t=e,n=Ae("carousel"),{carouselItemRef:r,active:a,animating:o,hover:i,inStage:s,isVertical:l,translate:u,isCardType:c,scale:f,ready:h,handleItemClick:d}=ave(t),p=R(()=>[n.e("item"),n.is("active",a.value),n.is("in-stage",s.value),n.is("hover",i.value),n.is("animating",o.value),{[n.em("item","card")]:c.value,[n.em("item","card-vertical")]:c.value&&l.value}]),v=R(()=>{const m=`${`translate${y(l)?"Y":"X"}`}(${y(u)}px)`,w=`scale(${y(f)})`;return{transform:[m,w].join(" ")}});return(g,m)=>vt((N(),q("div",{ref_key:"carouselItemRef",ref:r,class:F(y(p)),style:Xe(y(v)),onClick:y(d)},[y(c)?vt((N(),q("div",{key:0,class:F(y(n).e("mask"))},null,2)),[[Wt,!y(a)]]):ge("v-if",!0),ve(g.$slots,"default")],14,["onClick"])),[[Wt,y(h)]])}}));var Qz=De(ive,[["__file","carousel-item.vue"]]);const sve=pt(nve,{CarouselItem:Qz}),lve=Dn(Qz),eH=X({modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:or,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0}},Pr(["ariaControls"])),tH={[St]:e=>Ze(e)||et(e)||hn(e),change:e=>Ze(e)||et(e)||hn(e)},jh=Symbol("checkboxGroupContextKey"),uve=({model:e,isChecked:t})=>{const n=ze(jh,void 0),r=R(()=>{var o,i;const s=(o=n==null?void 0:n.max)==null?void 0:o.value,l=(i=n==null?void 0:n.min)==null?void 0:i.value;return!_n(s)&&e.value.length>=s&&!t.value||!_n(l)&&e.value.length<=l&&t.value});return{isDisabled:Sa(R(()=>(n==null?void 0:n.disabled.value)||r.value)),isLimitDisabled:r}},cve=(e,{model:t,isLimitExceeded:n,hasOwnLabel:r,isDisabled:a,isLabeledByFormItem:o})=>{const i=ze(jh,void 0),{formItem:s}=qr(),{emit:l}=st();function u(p){var v,g,m,w;return[!0,e.trueValue,e.trueLabel].includes(p)?(g=(v=e.trueValue)!=null?v:e.trueLabel)!=null?g:!0:(w=(m=e.falseValue)!=null?m:e.falseLabel)!=null?w:!1}function c(p,v){l("change",u(p),v)}function f(p){if(n.value)return;const v=p.target;l("change",u(v.checked),p)}function h(p){return ut(this,null,function*(){n.value||!r.value&&!a.value&&o.value&&(p.composedPath().some(m=>m.tagName==="LABEL")||(t.value=u([!1,e.falseValue,e.falseLabel].includes(t.value)),yield qe(),c(t.value,p)))})}const d=R(()=>(i==null?void 0:i.validateEvent)||e.validateEvent);return xe(()=>e.modelValue,()=>{d.value&&(s==null||s.validate("change").catch(p=>void 0))}),{handleChange:f,onClickRoot:h}},fve=e=>{const t=H(!1),{emit:n}=st(),r=ze(jh,void 0),a=R(()=>_n(r)===!1),o=H(!1),i=R({get(){var s,l;return a.value?(s=r==null?void 0:r.modelValue)==null?void 0:s.value:(l=e.modelValue)!=null?l:t.value},set(s){var l,u;a.value&&Me(s)?(o.value=((l=r==null?void 0:r.max)==null?void 0:l.value)!==void 0&&s.length>(r==null?void 0:r.max.value)&&s.length>i.value.length,o.value===!1&&((u=r==null?void 0:r.changeEvent)==null||u.call(r,s))):(n(St,s),t.value=s)}});return{model:i,isGroup:a,isLimitExceeded:o}},dve=(e,t,{model:n})=>{const r=ze(jh,void 0),a=H(!1),o=R(()=>nh(e.value)?e.label:e.value),i=R(()=>{const c=n.value;return hn(c)?c:Me(c)?_t(o.value)?c.map(Xt).some(f=>Cr(f,o.value)):c.map(Xt).includes(o.value):c!=null?c===e.trueValue||c===e.trueLabel:!!c}),s=Jn(R(()=>{var c;return(c=r==null?void 0:r.size)==null?void 0:c.value}),{prop:!0}),l=Jn(R(()=>{var c;return(c=r==null?void 0:r.size)==null?void 0:c.value})),u=R(()=>!!t.default||!nh(o.value));return{checkboxButtonSize:s,isChecked:i,isFocused:a,checkboxSize:l,hasOwnLabel:u,actualValue:o}},nH=(e,t)=>{const{formItem:n}=qr(),{model:r,isGroup:a,isLimitExceeded:o}=fve(e),{isFocused:i,isChecked:s,checkboxButtonSize:l,checkboxSize:u,hasOwnLabel:c,actualValue:f}=dve(e,t,{model:r}),{isDisabled:h}=uve({model:r,isChecked:s}),{inputId:d,isLabeledByFormItem:p}=Ti(e,{formItemContext:n,disableIdGeneration:c,disableIdManagement:a}),{handleChange:v,onClickRoot:g}=cve(e,{model:r,isLimitExceeded:o,hasOwnLabel:c,isDisabled:h,isLabeledByFormItem:p});return(()=>{function w(){var _,b;Me(r.value)&&!r.value.includes(f.value)?r.value.push(f.value):r.value=(b=(_=e.trueValue)!=null?_:e.trueLabel)!=null?b:!0}e.checked&&w()})(),jl({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},R(()=>a.value&&nh(e.value))),jl({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},R(()=>!!e.trueLabel)),jl({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},R(()=>!!e.falseLabel)),{inputId:d,isLabeledByFormItem:p,isChecked:s,isDisabled:h,isFocused:i,checkboxButtonSize:l,checkboxSize:u,hasOwnLabel:c,model:r,actualValue:f,handleChange:v,onClickRoot:g}},hve=te({name:"ElCheckbox"}),pve=te(_e(X({},hve),{props:eH,emits:tH,setup(e){const t=e,n=Yn(),{inputId:r,isLabeledByFormItem:a,isChecked:o,isDisabled:i,isFocused:s,checkboxSize:l,hasOwnLabel:u,model:c,actualValue:f,handleChange:h,onClickRoot:d}=nH(t,n),p=Ae("checkbox"),v=R(()=>[p.b(),p.m(l.value),p.is("disabled",i.value),p.is("bordered",t.border),p.is("checked",o.value)]),g=R(()=>[p.e("input"),p.is("disabled",i.value),p.is("checked",o.value),p.is("indeterminate",t.indeterminate),p.is("focus",s.value)]);return(m,w)=>(N(),ye(bt(!y(u)&&y(a)?"span":"label"),{class:F(y(v)),"aria-controls":m.indeterminate?m.ariaControls:null,onClick:y(d)},{default:le(()=>{var _,b,S,C;return[Z("span",{class:F(y(g))},[m.trueValue||m.falseValue||m.trueLabel||m.falseLabel?vt((N(),q("input",{key:0,id:y(r),"onUpdate:modelValue":T=>Gt(c)?c.value=T:null,class:F(y(p).e("original")),type:"checkbox",indeterminate:m.indeterminate,name:m.name,tabindex:m.tabindex,disabled:y(i),"true-value":(b=(_=m.trueValue)!=null?_:m.trueLabel)!=null?b:!0,"false-value":(C=(S=m.falseValue)!=null?S:m.falseLabel)!=null?C:!1,onChange:y(h),onFocus:T=>s.value=!0,onBlur:T=>s.value=!1,onClick:nt(()=>{},["stop"])},null,42,["id","onUpdate:modelValue","indeterminate","name","tabindex","disabled","true-value","false-value","onChange","onFocus","onBlur","onClick"])),[[Jc,y(c)]]):vt((N(),q("input",{key:1,id:y(r),"onUpdate:modelValue":T=>Gt(c)?c.value=T:null,class:F(y(p).e("original")),type:"checkbox",indeterminate:m.indeterminate,disabled:y(i),value:y(f),name:m.name,tabindex:m.tabindex,onChange:y(h),onFocus:T=>s.value=!0,onBlur:T=>s.value=!1,onClick:nt(()=>{},["stop"])},null,42,["id","onUpdate:modelValue","indeterminate","disabled","value","name","tabindex","onChange","onFocus","onBlur","onClick"])),[[Jc,y(c)]]),Z("span",{class:F(y(p).e("inner"))},null,2)],2),y(u)?(N(),q("span",{key:0,class:F(y(p).e("label"))},[ve(m.$slots,"default"),m.$slots.default?ge("v-if",!0):(N(),q(je,{key:0},[At(Re(m.label),1)],64))],2)):ge("v-if",!0)]}),_:3},8,["class","aria-controls","onClick"]))}}));var vve=De(pve,[["__file","checkbox.vue"]]);const gve=te({name:"ElCheckboxButton"}),mve=te(_e(X({},gve),{props:eH,emits:tH,setup(e){const t=e,n=Yn(),{isFocused:r,isChecked:a,isDisabled:o,checkboxButtonSize:i,model:s,actualValue:l,handleChange:u}=nH(t,n),c=ze(jh,void 0),f=Ae("checkbox"),h=R(()=>{var p,v,g,m;const w=(v=(p=c==null?void 0:c.fill)==null?void 0:p.value)!=null?v:"";return{backgroundColor:w,borderColor:w,color:(m=(g=c==null?void 0:c.textColor)==null?void 0:g.value)!=null?m:"",boxShadow:w?`-1px 0 0 0 ${w}`:void 0}}),d=R(()=>[f.b("button"),f.bm("button",i.value),f.is("disabled",o.value),f.is("checked",a.value),f.is("focus",r.value)]);return(p,v)=>{var g,m,w,_;return N(),q("label",{class:F(y(d))},[p.trueValue||p.falseValue||p.trueLabel||p.falseLabel?vt((N(),q("input",{key:0,"onUpdate:modelValue":b=>Gt(s)?s.value=b:null,class:F(y(f).be("button","original")),type:"checkbox",name:p.name,tabindex:p.tabindex,disabled:y(o),"true-value":(m=(g=p.trueValue)!=null?g:p.trueLabel)!=null?m:!0,"false-value":(_=(w=p.falseValue)!=null?w:p.falseLabel)!=null?_:!1,onChange:y(u),onFocus:b=>r.value=!0,onBlur:b=>r.value=!1,onClick:nt(()=>{},["stop"])},null,42,["onUpdate:modelValue","name","tabindex","disabled","true-value","false-value","onChange","onFocus","onBlur","onClick"])),[[Jc,y(s)]]):vt((N(),q("input",{key:1,"onUpdate:modelValue":b=>Gt(s)?s.value=b:null,class:F(y(f).be("button","original")),type:"checkbox",name:p.name,tabindex:p.tabindex,disabled:y(o),value:y(l),onChange:y(u),onFocus:b=>r.value=!0,onBlur:b=>r.value=!1,onClick:nt(()=>{},["stop"])},null,42,["onUpdate:modelValue","name","tabindex","disabled","value","onChange","onFocus","onBlur","onClick"])),[[Jc,y(s)]]),p.$slots.default||p.label?(N(),q("span",{key:2,class:F(y(f).be("button","inner")),style:Xe(y(a)?y(h):void 0)},[ve(p.$slots,"default",{},()=>[At(Re(p.label),1)])],6)):ge("v-if",!0)],2)}}}));var rH=De(mve,[["__file","checkbox-button.vue"]]);const yve=Ie(X({modelValue:{type:ce(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:or,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0}},Pr(["ariaLabel"]))),bve={[St]:e=>Me(e),change:e=>Me(e)},_ve=te({name:"ElCheckboxGroup"}),wve=te(_e(X({},_ve),{props:yve,emits:bve,setup(e,{emit:t}){const n=e,r=Ae("checkbox"),{formItem:a}=qr(),{inputId:o,isLabeledByFormItem:i}=Ti(n,{formItemContext:a}),s=u=>ut(this,null,function*(){t(St,u),yield qe(),t("change",u)}),l=R({get(){return n.modelValue},set(u){s(u)}});return kt(jh,_e(X({},th(rr(n),["size","min","max","disabled","validateEvent","fill","textColor"])),{modelValue:l,changeEvent:s})),xe(()=>n.modelValue,()=>{n.validateEvent&&(a==null||a.validate("change").catch(u=>void 0))}),(u,c)=>{var f;return N(),ye(bt(u.tag),{id:y(o),class:F(y(r).b("group")),role:"group","aria-label":y(i)?void 0:u.ariaLabel||"checkbox-group","aria-labelledby":y(i)?(f=y(a))==null?void 0:f.labelId:void 0},{default:le(()=>[ve(u.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}}));var aH=De(wve,[["__file","checkbox-group.vue"]]);const Do=pt(vve,{CheckboxButton:rH,CheckboxGroup:aH}),Sve=Dn(rH),oH=Dn(aH),iH=Ie({modelValue:{type:[String,Number,Boolean],default:void 0},size:or,disabled:Boolean,label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),Cve=Ie(_e(X({},iH),{border:Boolean})),sH={[St]:e=>Ze(e)||et(e)||hn(e),[Sn]:e=>Ze(e)||et(e)||hn(e)},lH=Symbol("radioGroupKey"),uH=(e,t)=>{const n=H(),r=ze(lH,void 0),a=R(()=>!!r),o=R(()=>nh(e.value)?e.label:e.value),i=R({get(){return a.value?r.modelValue:e.modelValue},set(f){a.value?r.changeEvent(f):t&&t(St,f),n.value.checked=e.modelValue===o.value}}),s=Jn(R(()=>r==null?void 0:r.size)),l=Sa(R(()=>r==null?void 0:r.disabled)),u=H(!1),c=R(()=>l.value||a.value&&i.value!==o.value?-1:0);return jl({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},R(()=>a.value&&nh(e.value))),{radioRef:n,isGroup:a,radioGroup:r,focus:u,size:s,disabled:l,tabIndex:c,modelValue:i,actualValue:o}},Tve=te({name:"ElRadio"}),xve=te(_e(X({},Tve),{props:Cve,emits:sH,setup(e,{emit:t}){const n=e,r=Ae("radio"),{radioRef:a,radioGroup:o,focus:i,size:s,disabled:l,modelValue:u,actualValue:c}=uH(n,t);function f(){qe(()=>t("change",u.value))}return(h,d)=>{var p;return N(),q("label",{class:F([y(r).b(),y(r).is("disabled",y(l)),y(r).is("focus",y(i)),y(r).is("bordered",h.border),y(r).is("checked",y(u)===y(c)),y(r).m(y(s))])},[Z("span",{class:F([y(r).e("input"),y(r).is("disabled",y(l)),y(r).is("checked",y(u)===y(c))])},[vt(Z("input",{ref_key:"radioRef",ref:a,"onUpdate:modelValue":v=>Gt(u)?u.value=v:null,class:F(y(r).e("original")),value:y(c),name:h.name||((p=y(o))==null?void 0:p.name),disabled:y(l),checked:y(u)===y(c),type:"radio",onFocus:v=>i.value=!0,onBlur:v=>i.value=!1,onChange:f,onClick:nt(()=>{},["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","checked","onFocus","onBlur","onClick"]),[[fm,y(u)]]),Z("span",{class:F(y(r).e("inner"))},null,2)],2),Z("span",{class:F(y(r).e("label")),onKeydown:nt(()=>{},["stop"])},[ve(h.$slots,"default",{},()=>[At(Re(h.label),1)])],42,["onKeydown"])],2)}}}));var Eve=De(xve,[["__file","radio.vue"]]);const kve=Ie(X({},iH)),Ave=te({name:"ElRadioButton"}),Mve=te(_e(X({},Ave),{props:kve,setup(e){const t=e,n=Ae("radio"),{radioRef:r,focus:a,size:o,disabled:i,modelValue:s,radioGroup:l,actualValue:u}=uH(t),c=R(()=>({backgroundColor:(l==null?void 0:l.fill)||"",borderColor:(l==null?void 0:l.fill)||"",boxShadow:l!=null&&l.fill?`-1px 0 0 0 ${l.fill}`:"",color:(l==null?void 0:l.textColor)||""}));return(f,h)=>{var d;return N(),q("label",{class:F([y(n).b("button"),y(n).is("active",y(s)===y(u)),y(n).is("disabled",y(i)),y(n).is("focus",y(a)),y(n).bm("button",y(o))])},[vt(Z("input",{ref_key:"radioRef",ref:r,"onUpdate:modelValue":p=>Gt(s)?s.value=p:null,class:F(y(n).be("button","original-radio")),value:y(u),type:"radio",name:f.name||((d=y(l))==null?void 0:d.name),disabled:y(i),onFocus:p=>a.value=!0,onBlur:p=>a.value=!1,onClick:nt(()=>{},["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","onFocus","onBlur","onClick"]),[[fm,y(s)]]),Z("span",{class:F(y(n).be("button","inner")),style:Xe(y(s)===y(u)?y(c):{}),onKeydown:nt(()=>{},["stop"])},[ve(f.$slots,"default",{},()=>[At(Re(f.label),1)])],46,["onKeydown"])],2)}}}));var cH=De(Mve,[["__file","radio-button.vue"]]);const Ove=Ie(X({id:{type:String,default:void 0},size:or,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0}},Pr(["ariaLabel"]))),Pve=sH,Rve=te({name:"ElRadioGroup"}),Ive=te(_e(X({},Rve),{props:Ove,emits:Pve,setup(e,{emit:t}){const n=e,r=Ae("radio"),a=jr(),o=H(),{formItem:i}=qr(),{inputId:s,isLabeledByFormItem:l}=Ti(n,{formItemContext:i}),u=f=>{t(St,f),qe(()=>t("change",f))};ft(()=>{const f=o.value.querySelectorAll("[type=radio]"),h=f[0];!Array.from(f).some(d=>d.checked)&&h&&(h.tabIndex=0)});const c=R(()=>n.name||a.value);return kt(lH,zt(_e(X({},rr(n)),{changeEvent:u,name:c}))),xe(()=>n.modelValue,()=>{n.validateEvent&&(i==null||i.validate("change").catch(f=>void 0))}),(f,h)=>(N(),q("div",{id:y(s),ref_key:"radioGroupRef",ref:o,class:F(y(r).b("group")),role:"radiogroup","aria-label":y(l)?void 0:f.ariaLabel||"radio-group","aria-labelledby":y(l)?y(i).labelId:void 0},[ve(f.$slots,"default")],10,["id","aria-label","aria-labelledby"]))}}));var fH=De(Ive,[["__file","radio-group.vue"]]);const dH=pt(Eve,{RadioButton:cH,RadioGroup:fH}),Dve=Dn(fH),Lve=Dn(cH);var $ve=te({name:"NodeContent",setup(){return{ns:Ae("cascader-node")}},render(){const{ns:e}=this,{node:t,panel:n}=this.$parent,{data:r,label:a}=t,{renderLabelFn:o}=n;return We("span",{class:e.e("label")},o?o({node:t,data:r}):a)}});const e5=Symbol(),Nve=te({name:"ElCascaderNode",components:{ElCheckbox:Do,ElRadio:dH,NodeContent:$ve,ElIcon:Ke,Check:ym,Loading:us,ArrowRight:pa},props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(e,{emit:t}){const n=ze(e5),r=Ae("cascader-node"),a=R(()=>n.isHoverMenu),o=R(()=>n.config.multiple),i=R(()=>n.config.checkStrictly),s=R(()=>{var C;return(C=n.checkedNodes[0])==null?void 0:C.uid}),l=R(()=>e.node.isDisabled),u=R(()=>e.node.isLeaf),c=R(()=>i.value&&!u.value||!l.value),f=R(()=>d(n.expandingNode)),h=R(()=>i.value&&n.checkedNodes.some(d)),d=C=>{var T;const{level:x,uid:E}=e.node;return((T=C==null?void 0:C.pathNodes[x-1])==null?void 0:T.uid)===E},p=()=>{f.value||n.expandNode(e.node)},v=C=>{const{node:T}=e;C!==T.checked&&n.handleCheckChange(T,C)},g=()=>{n.lazyLoad(e.node,()=>{u.value||p()})},m=C=>{a.value&&(w(),!u.value&&t("expand",C))},w=()=>{const{node:C}=e;!c.value||C.loading||(C.loaded?p():g())},_=()=>{a.value&&!u.value||(u.value&&!l.value&&!i.value&&!o.value?S(!0):w())},b=C=>{i.value?(v(C),e.node.loaded&&p()):S(C)},S=C=>{e.node.loaded?(v(C),!i.value&&p()):g()};return{panel:n,isHoverMenu:a,multiple:o,checkStrictly:i,checkedNodeId:s,isDisabled:l,isLeaf:u,expandable:c,inExpandingPath:f,inCheckedPath:h,ns:r,handleHoverExpand:m,handleExpand:w,handleClick:_,handleCheck:S,handleSelectCheck:b}}});function Bve(e,t,n,r,a,o){const i=gt("el-checkbox"),s=gt("el-radio"),l=gt("check"),u=gt("el-icon"),c=gt("node-content"),f=gt("loading"),h=gt("arrow-right");return N(),q("li",{id:`${e.menuId}-${e.node.uid}`,role:"menuitem","aria-haspopup":!e.isLeaf,"aria-owns":e.isLeaf?null:e.menuId,"aria-expanded":e.inExpandingPath,tabindex:e.expandable?-1:void 0,class:F([e.ns.b(),e.ns.is("selectable",e.checkStrictly),e.ns.is("active",e.node.checked),e.ns.is("disabled",!e.expandable),e.inExpandingPath&&"in-active-path",e.inCheckedPath&&"in-checked-path"]),onMouseenter:e.handleHoverExpand,onFocus:e.handleHoverExpand,onClick:e.handleClick},[ge(" prefix "),e.multiple?(N(),ye(i,{key:0,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:e.isDisabled,onClick:nt(()=>{},["stop"]),"onUpdate:modelValue":e.handleSelectCheck},null,8,["model-value","indeterminate","disabled","onClick","onUpdate:modelValue"])):e.checkStrictly?(N(),ye(s,{key:1,"model-value":e.checkedNodeId,label:e.node.uid,disabled:e.isDisabled,"onUpdate:modelValue":e.handleSelectCheck,onClick:nt(()=>{},["stop"])},{default:le(()=>[ge(` + Add an empty element to avoid render label, + do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485 + `),Z("span")]),_:1},8,["model-value","label","disabled","onUpdate:modelValue","onClick"])):e.isLeaf&&e.node.checked?(N(),ye(u,{key:2,class:F(e.ns.e("prefix"))},{default:le(()=>[ee(l)]),_:1},8,["class"])):ge("v-if",!0),ge(" content "),ee(c),ge(" postfix "),e.isLeaf?ge("v-if",!0):(N(),q(je,{key:3},[e.node.loading?(N(),ye(u,{key:0,class:F([e.ns.is("loading"),e.ns.e("postfix")])},{default:le(()=>[ee(f)]),_:1},8,["class"])):(N(),ye(u,{key:1,class:F(["arrow-right",e.ns.e("postfix")])},{default:le(()=>[ee(h)]),_:1},8,["class"]))],64))],42,["id","aria-haspopup","aria-owns","aria-expanded","tabindex","onMouseenter","onFocus","onClick"])}var Fve=De(Nve,[["render",Bve],["__file","node.vue"]]);const Vve=te({name:"ElCascaderMenu",components:{Loading:us,ElIcon:Ke,ElScrollbar:nl,ElCascaderNode:Fve},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=st(),n=Ae("cascader-menu"),{t:r}=$t(),a=jr();let o=null,i=null;const s=ze(e5),l=H(null),u=R(()=>!e.nodes.length),c=R(()=>!s.initialLoaded),f=R(()=>`${a.value}-${e.index}`),h=g=>{o=g.target},d=g=>{if(!(!s.isHoverMenu||!o||!l.value))if(o.contains(g.target)){p();const m=t.vnode.el,{left:w}=m.getBoundingClientRect(),{offsetWidth:_,offsetHeight:b}=m,S=g.clientX-w,C=o.offsetTop,T=C+o.offsetHeight;l.value.innerHTML=` + + + `}else i||(i=window.setTimeout(v,s.config.hoverThreshold))},p=()=>{i&&(clearTimeout(i),i=null)},v=()=>{l.value&&(l.value.innerHTML="",p())};return{ns:n,panel:s,hoverZone:l,isEmpty:u,isLoading:c,menuId:f,t:r,handleExpand:h,handleMouseMove:d,clearHoverZone:v}}});function zve(e,t,n,r,a,o){const i=gt("el-cascader-node"),s=gt("loading"),l=gt("el-icon"),u=gt("el-scrollbar");return N(),ye(u,{key:e.menuId,tag:"ul",role:"menu",class:F(e.ns.b()),"wrap-class":e.ns.e("wrap"),"view-class":[e.ns.e("list"),e.ns.is("empty",e.isEmpty)],onMousemove:e.handleMouseMove,onMouseleave:e.clearHoverZone},{default:le(()=>{var c;return[(N(!0),q(je,null,Rt(e.nodes,f=>(N(),ye(i,{key:f.uid,node:f,"menu-id":e.menuId,onExpand:e.handleExpand},null,8,["node","menu-id","onExpand"]))),128)),e.isLoading?(N(),q("div",{key:0,class:F(e.ns.e("empty-text"))},[ee(l,{size:"14",class:F(e.ns.is("loading"))},{default:le(()=>[ee(s)]),_:1},8,["class"]),At(" "+Re(e.t("el.cascader.loading")),1)],2)):e.isEmpty?(N(),q("div",{key:1,class:F(e.ns.e("empty-text"))},[ve(e.$slots,"empty",{},()=>[At(Re(e.t("el.cascader.noData")),1)])],2)):(c=e.panel)!=null&&c.isHoverMenu?(N(),q("svg",{key:2,ref:"hoverZone",class:F(e.ns.e("hover-zone"))},null,2)):ge("v-if",!0)]}),_:3},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}var Hve=De(Vve,[["render",zve],["__file","menu.vue"]]);const t5=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),Yi=e=>Ih(e);let Wve=0;const Uve=e=>{const t=[e];let{parent:n}=e;for(;n;)t.unshift(n),n=n.parent;return t};let Bx=class Fx{constructor(t,n,r,a=!1){this.data=t,this.config=n,this.parent=r,this.root=a,this.uid=Wve++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:o,label:i,children:s}=n,l=t[s],u=Uve(this);this.level=a?0:r?r.level+1:1,this.value=t[o],this.label=t[i],this.pathNodes=u,this.pathValues=u.map(c=>c.value),this.pathLabels=u.map(c=>c.label),this.childrenData=l,this.children=(l||[]).map(c=>new Fx(c,n,this)),this.loaded=!n.lazy||this.isLeaf||!qa(l)}get isDisabled(){const{data:t,parent:n,config:r}=this,{disabled:a,checkStrictly:o}=r;return(Ge(a)?a(t,this):!!t[a])||!o&&(n==null?void 0:n.isDisabled)}get isLeaf(){const{data:t,config:n,childrenData:r,loaded:a}=this,{lazy:o,leaf:i}=n,s=Ge(i)?i(t,this):t[i];return _n(s)?o&&!a?!1:!(Me(r)&&r.length):!!s}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:n,children:r}=this,a=new Fx(t,this.config,this);return Me(n)?n.push(t):this.childrenData=[t],r.push(a),a}calcText(t,n){const r=t?this.pathLabels.join(n):this.label;return this.text=r,r}broadcast(t,...n){const r=`onParent${Yi(t)}`;this.children.forEach(a=>{a&&(a.broadcast(t,...n),a[r]&&a[r](...n))})}emit(t,...n){const{parent:r}=this,a=`onChild${Yi(t)}`;r&&(r[a]&&r[a](...n),r.emit(t,...n))}onParentCheck(t){this.isDisabled||this.setCheckState(t)}onChildCheck(){const{children:t}=this,n=t.filter(a=>!a.isDisabled),r=n.length?n.every(a=>a.checked):!1;this.setCheckState(r)}setCheckState(t){const n=this.children.length,r=this.children.reduce((a,o)=>{const i=o.checked?1:o.indeterminate?.5:0;return a+i},0);this.checked=this.loaded&&this.children.filter(a=>!a.isDisabled).every(a=>a.loaded&&a.checked)&&t,this.indeterminate=this.loaded&&r!==n&&r>0}doCheck(t){if(this.checked===t)return;const{checkStrictly:n,multiple:r}=this.config;n||!r?this.checked=t:(this.broadcast("check",t),this.setCheckState(t),this.emit("check"))}};const Vx=(e,t)=>e.reduce((n,r)=>(r.isLeaf?n.push(r):(!t&&n.push(r),n=n.concat(Vx(r.children,t))),n),[]);class u6{constructor(t,n){this.config=n;const r=(t||[]).map(a=>new Bx(a,this.config));this.nodes=r,this.allNodes=Vx(r,!1),this.leafNodes=Vx(r,!0)}getNodes(){return this.nodes}getFlattedNodes(t){return t?this.leafNodes:this.allNodes}appendNode(t,n){const r=n?n.appendChild(t):new Bx(t,this.config);n||this.nodes.push(r),this.allNodes.push(r),r.isLeaf&&this.leafNodes.push(r)}appendNodes(t,n){t.forEach(r=>this.appendNode(r,n))}getNodeByValue(t,n=!1){return!t&&t!==0?null:this.getFlattedNodes(n).find(a=>Cr(a.value,t)||Cr(a.pathValues,t))||null}getSameNode(t){return t&&this.getFlattedNodes(!1).find(({value:r,level:a})=>Cr(t.value,r)&&t.level===a)||null}}const hH=Ie({modelValue:{type:ce([Number,String,Array])},options:{type:ce(Array),default:()=>[]},props:{type:ce(Object),default:()=>({})}}),jve={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:rn,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},Kve=e=>R(()=>X(X({},jve),e.props)),c6=e=>{if(!e)return 0;const t=e.id.split("-");return Number(t[t.length-2])},Gve=e=>{if(!e)return;const t=e.querySelector("input");t?t.click():_z(e)&&e.click()},qve=(e,t)=>{const n=t.slice(0),r=n.map(o=>o.uid),a=e.reduce((o,i)=>{const s=r.indexOf(i.uid);return s>-1&&(o.push(i),n.splice(s,1),r.splice(s,1)),o},[]);return a.push(...n),a},f6=e=>[...new Set(e)],ca=e=>!e&&e!==0?[]:Me(e)?e:[e],Yve=te({name:"ElCascaderPanel",components:{ElCascaderMenu:Hve},props:_e(X({},hH),{border:{type:Boolean,default:!0},renderLabel:Function}),emits:[St,Sn,"close","expand-change"],setup(e,{emit:t,slots:n}){let r=!1;const a=Ae("cascader"),o=Kve(e);let i=null;const s=H(!0),l=H([]),u=H(null),c=H([]),f=H(null),h=H([]),d=R(()=>o.value.expandTrigger==="hover"),p=R(()=>e.renderLabel||n.default),v=()=>{const{options:P}=e,$=o.value;r=!1,i=new u6(P,$),c.value=[i.getNodes()],$.lazy&&qa(e.options)?(s.value=!1,g(void 0,B=>{B&&(i=new u6(B,$),c.value=[i.getNodes()]),s.value=!0,x(!1,!0)})):x(!1,!0)},g=(P,$)=>{const B=o.value;P=P||new Bx({},B,void 0,!0),P.loading=!0;const I=M=>{const L=P,O=L.root?null:L;M&&(i==null||i.appendNodes(M,O)),L.loading=!1,L.loaded=!0,L.childrenData=L.childrenData||[],$&&$(M)};B.lazyLoad(P,I)},m=(P,$)=>{var B;const{level:I}=P,M=c.value.slice(0,I);let L;P.isLeaf?L=P.pathNodes[I-2]:(L=P,M.push(P.children)),((B=f.value)==null?void 0:B.uid)!==(L==null?void 0:L.uid)&&(f.value=P,c.value=M,!$&&t("expand-change",(P==null?void 0:P.pathValues)||[]))},w=(P,$,B=!0)=>{const{checkStrictly:I,multiple:M}=o.value,L=h.value[0];r=!0,!M&&(L==null||L.doCheck(!1)),P.doCheck($),T(),B&&!M&&!I&&t("close"),!B&&!M&&!I&&_(P)},_=P=>{P&&(P=P.parent,_(P),P&&m(P))},b=P=>i==null?void 0:i.getFlattedNodes(P),S=P=>{var $;return($=b(P))==null?void 0:$.filter(B=>B.checked!==!1)},C=()=>{h.value.forEach(P=>P.doCheck(!1)),T(),c.value=c.value.slice(0,1),f.value=null,t("expand-change",[])},T=()=>{var P;const{checkStrictly:$,multiple:B}=o.value,I=h.value,M=S(!$),L=qve(I,M),O=L.map(D=>D.valueByOption);h.value=L,u.value=B?O:(P=O[0])!=null?P:null},x=(P=!1,$=!1)=>{const{modelValue:B}=e,{lazy:I,multiple:M,checkStrictly:L}=o.value,O=!L;if(!(!s.value||r||!$&&Cr(B,u.value)))if(I&&!P){const z=f6(Hse(ca(B))).map(V=>i==null?void 0:i.getNodeByValue(V)).filter(V=>!!V&&!V.loaded&&!V.loading);z.length?z.forEach(V=>{g(V,()=>x(!1,$))}):x(!0,$)}else{const D=M?ca(B):[B],z=f6(D.map(V=>i==null?void 0:i.getNodeByValue(V,O)));E(z,$),u.value=eb(B)}},E=(P,$=!0)=>{const{checkStrictly:B}=o.value,I=h.value,M=P.filter(D=>!!D&&(B||D.isLeaf)),L=i==null?void 0:i.getSameNode(f.value),O=$&&L||M[0];O?O.pathNodes.forEach(D=>m(D,!0)):f.value=null,I.forEach(D=>D.doCheck(!1)),zt(M).forEach(D=>D.doCheck(!0)),h.value=M,qe(k)},k=()=>{Bt&&l.value.forEach(P=>{const $=P==null?void 0:P.$el;if($){const B=$.querySelector(`.${a.namespace.value}-scrollbar__wrap`),I=$.querySelector(`.${a.b("node")}.${a.is("active")}`)||$.querySelector(`.${a.b("node")}.in-active-path`);oz(B,I)}})},A=P=>{const $=P.target,{code:B}=P;switch(B){case Ue.up:case Ue.down:{P.preventDefault();const I=B===Ue.up?-1:1;By(wz($,I,`.${a.b("node")}[tabindex="-1"]`));break}case Ue.left:{P.preventDefault();const I=l.value[c6($)-1],M=I==null?void 0:I.$el.querySelector(`.${a.b("node")}[aria-expanded="true"]`);By(M);break}case Ue.right:{P.preventDefault();const I=l.value[c6($)+1],M=I==null?void 0:I.$el.querySelector(`.${a.b("node")}[tabindex="-1"]`);By(M);break}case Ue.enter:case Ue.numpadEnter:Gve($);break}};return kt(e5,zt({config:o,expandingNode:f,checkedNodes:h,isHoverMenu:d,initialLoaded:s,renderLabelFn:p,lazyLoad:g,expandNode:m,handleCheckChange:w})),xe([o,()=>e.options],v,{deep:!0,immediate:!0}),xe(()=>e.modelValue,()=>{r=!1,x()},{deep:!0}),xe(()=>u.value,P=>{Cr(P,e.modelValue)||(t(St,P),t(Sn,P))}),L_(()=>l.value=[]),ft(()=>!qa(e.modelValue)&&x()),{ns:a,menuList:l,menus:c,checkedNodes:h,handleKeyDown:A,handleCheckChange:w,getFlattedNodes:b,getCheckedNodes:S,clearCheckedNodes:C,calculateCheckedValue:T,scrollToExpandingNode:k}}});function Xve(e,t,n,r,a,o){const i=gt("el-cascader-menu");return N(),q("div",{class:F([e.ns.b("panel"),e.ns.is("bordered",e.border)]),onKeydown:e.handleKeyDown},[(N(!0),q(je,null,Rt(e.menus,(s,l)=>(N(),ye(i,{key:l,ref_for:!0,ref:u=>e.menuList[l]=u,index:l,nodes:[...s]},{empty:le(()=>[ve(e.$slots,"empty")]),_:2},1032,["index","nodes"]))),128))],42,["onKeydown"])}var Zve=De(Yve,[["render",Xve],["__file","index.vue"]]);const pH=pt(Zve),nf=Ie({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:ms},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),Jve={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},Qve=te({name:"ElTag"}),ege=te(_e(X({},Qve),{props:nf,emits:Jve,setup(e,{emit:t}){const n=e,r=Jn(),a=Ae("tag"),o=R(()=>{const{type:u,hit:c,effect:f,closable:h,round:d}=n;return[a.b(),a.is("closable",h),a.m(u||"primary"),a.m(r.value),a.m(f),a.is("hit",c),a.is("round",d)]}),i=u=>{t("close",u)},s=u=>{t("click",u)},l=u=>{var c,f,h;(h=(f=(c=u==null?void 0:u.component)==null?void 0:c.subTree)==null?void 0:f.component)!=null&&h.bum&&(u.component.subTree.component.bum=null)};return(u,c)=>u.disableTransitions?(N(),q("span",{key:0,class:F(y(o)),style:Xe({backgroundColor:u.color}),onClick:s},[Z("span",{class:F(y(a).e("content"))},[ve(u.$slots,"default")],2),u.closable?(N(),ye(y(Ke),{key:0,class:F(y(a).e("close")),onClick:nt(i,["stop"])},{default:le(()=>[ee(y(gi))]),_:1},8,["class","onClick"])):ge("v-if",!0)],6)):(N(),ye(yr,{key:1,name:`${y(a).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:l},{default:le(()=>[Z("span",{class:F(y(o)),style:Xe({backgroundColor:u.color}),onClick:s},[Z("span",{class:F(y(a).e("content"))},[ve(u.$slots,"default")],2),u.closable?(N(),ye(y(Ke),{key:0,class:F(y(a).e("close")),onClick:nt(i,["stop"])},{default:le(()=>[ee(y(gi))]),_:1},8,["class","onClick"])):ge("v-if",!0)],6)]),_:3},8,["name"]))}}));var tge=De(ege,[["__file","tag.vue"]]);const lg=pt(tge),nge=Ie(X(_e(X({},hH),{size:or,placeholder:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:{type:ce(Function),default:(e,t)=>e.text.includes(t)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:{type:Boolean,default:!1},debounce:{type:Number,default:300},beforeFilter:{type:ce(Function),default:()=>!0},placement:{type:ce(String),values:rl,default:"bottom-start"},fallbackPlacements:{type:ce(Array),default:["bottom-start","bottom","top-start","top","right","left"]},popperClass:{type:String,default:""},teleported:fr.teleported,tagType:_e(X({},nf.type),{default:"info"}),tagEffect:_e(X({},nf.effect),{default:"light"}),validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0}}),Hh)),rge={[St]:e=>!0,[Sn]:e=>!0,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,visibleChange:e=>hn(e),expandChange:e=>!!e,removeTag:e=>!!e},_l=new Map;if(Bt){let e;document.addEventListener("mousedown",t=>e=t),document.addEventListener("mouseup",t=>{if(e){for(const n of _l.values())for(const{documentHandler:r}of n)r(t,e);e=void 0}})}function d6(e,t){let n=[];return Me(t.arg)?n=t.arg:to(t.arg)&&n.push(t.arg),function(r,a){const o=t.instance.popperRef,i=r.target,s=a==null?void 0:a.target,l=!t||!t.instance,u=!i||!s,c=e.contains(i)||e.contains(s),f=e===i,h=n.length&&n.some(p=>p==null?void 0:p.contains(i))||n.length&&n.includes(s),d=o&&(o.contains(i)||o.contains(s));l||u||c||f||h||d||t.value(r,a)}}const Gs={beforeMount(e,t){_l.has(e)||_l.set(e,[]),_l.get(e).push({documentHandler:d6(e,t),bindingFn:t.value})},updated(e,t){_l.has(e)||_l.set(e,[]);const n=_l.get(e),r=n.findIndex(o=>o.bindingFn===t.oldValue),a={documentHandler:d6(e,t),bindingFn:t.value};r>=0?n.splice(r,1,a):n.push(a)},unmounted(e){_l.delete(e)}},age="ElCascader",oge=te({name:age}),ige=te(_e(X({},oge),{props:nge,emits:rge,setup(e,{expose:t,emit:n}){const r=e,a={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:Y})=>{const{modifiersData:J,placement:W}=Y;["right","left","bottom","top"].includes(W)||(J.arrow.x=35)},requires:["arrow"]}]},o=mu();let i=0,s=0;const l=Ae("cascader"),u=Ae("input"),{t:c}=$t(),{form:f,formItem:h}=qr(),{valueOnClear:d}=G_(r),{isComposing:p,handleComposition:v}=J_({afterComposition(Y){var J;const W=(J=Y.target)==null?void 0:J.value;Se(W)}}),g=H(null),m=H(null),w=H(null),_=H(null),b=H(null),S=H(!1),C=H(!1),T=H(!1),x=H(!1),E=H(""),k=H(""),A=H([]),P=H([]),$=H([]),B=R(()=>o.style),I=R(()=>r.disabled||(f==null?void 0:f.disabled)),M=R(()=>r.placeholder||c("el.cascader.placeholder")),L=R(()=>k.value||A.value.length>0||p.value?"":M.value),O=Jn(),D=R(()=>O.value==="small"?"small":"default"),z=R(()=>!!r.props.multiple),V=R(()=>!r.filterable||z.value),j=R(()=>z.value?k.value:E.value),U=R(()=>{var Y;return((Y=_.value)==null?void 0:Y.checkedNodes)||[]}),ne=R(()=>!r.clearable||I.value||T.value||!C.value?!1:!!U.value.length),ie=R(()=>{const{showAllLevels:Y,separator:J}=r,W=U.value;return W.length?z.value?"":W[0].calcText(Y,J):""}),fe=R(()=>(h==null?void 0:h.validateState)||""),G=R({get(){return eb(r.modelValue)},set(Y){const J=Y!=null?Y:d.value;n(St,J),n(Sn,J),r.validateEvent&&(h==null||h.validate("change").catch(W=>void 0))}}),oe=R(()=>[l.b(),l.m(O.value),l.is("disabled",I.value),o.class]),se=R(()=>[u.e("icon"),"icon-arrow-down",l.is("reverse",S.value)]),ue=R(()=>l.is("focus",S.value||x.value)),he=R(()=>{var Y,J;return(J=(Y=g.value)==null?void 0:Y.popperRef)==null?void 0:J.contentRef}),ae=Y=>{var J,W,Ee;I.value||(Y=Y!=null?Y:!S.value,Y!==S.value&&(S.value=Y,(W=(J=m.value)==null?void 0:J.input)==null||W.setAttribute("aria-expanded",`${Y}`),Y?(K(),qe((Ee=_.value)==null?void 0:Ee.scrollToExpandingNode)):r.filterable&&Be(),n("visibleChange",Y)))},K=()=>{qe(()=>{var Y;(Y=g.value)==null||Y.updatePopper()})},Q=()=>{T.value=!1},pe=Y=>{const{showAllLevels:J,separator:W}=r;return{node:Y,key:Y.uid,text:Y.calcText(J,W),hitState:!1,closable:!I.value&&!Y.isDisabled,isCollapseTag:!1}},we=Y=>{var J;const W=Y.node;W.doCheck(!1),(J=_.value)==null||J.calculateCheckedValue(),n("removeTag",W.valueByOption)},me=()=>{if(!z.value)return;const Y=U.value,J=[],W=[];if(Y.forEach(Ee=>W.push(pe(Ee))),P.value=W,Y.length){Y.slice(0,r.maxCollapseTags).forEach(tt=>J.push(pe(tt)));const Ee=Y.slice(r.maxCollapseTags),Fe=Ee.length;Fe&&(r.collapseTags?J.push({key:-1,text:`+ ${Fe}`,closable:!1,isCollapseTag:!0}):Ee.forEach(tt=>J.push(pe(tt))))}A.value=J},be=()=>{var Y,J;const{filterMethod:W,showAllLevels:Ee,separator:Fe}=r,tt=(J=(Y=_.value)==null?void 0:Y.getFlattedNodes(!r.props.checkStrictly))==null?void 0:J.filter(at=>at.isDisabled?!1:(at.calcText(Ee,Fe),W(at,j.value)));z.value&&(A.value.forEach(at=>{at.hitState=!1}),P.value.forEach(at=>{at.hitState=!1})),T.value=!0,$.value=tt,K()},Ce=()=>{var Y;let J;T.value&&b.value?J=b.value.$el.querySelector(`.${l.e("suggestion-item")}`):J=(Y=_.value)==null?void 0:Y.$el.querySelector(`.${l.b("node")}[tabindex="-1"]`),J&&(J.focus(),!T.value&&J.click())},ke=()=>{var Y,J;const W=(Y=m.value)==null?void 0:Y.input,Ee=w.value,Fe=(J=b.value)==null?void 0:J.$el;if(!(!Bt||!W)){if(Fe){const tt=Fe.querySelector(`.${l.e("suggestion-list")}`);tt.style.minWidth=`${W.offsetWidth}px`}if(Ee){const{offsetHeight:tt}=Ee,at=A.value.length>0?`${Math.max(tt,i)-2}px`:`${i}px`;W.style.height=at,K()}}},Oe=Y=>{var J;return(J=_.value)==null?void 0:J.getCheckedNodes(Y)},Pe=Y=>{K(),n("expandChange",Y)},He=Y=>{if(!p.value)switch(Y.code){case Ue.enter:case Ue.numpadEnter:ae();break;case Ue.down:ae(!0),qe(Ce),Y.preventDefault();break;case Ue.esc:S.value===!0&&(Y.preventDefault(),Y.stopPropagation(),ae(!1));break;case Ue.tab:ae(!1);break}},Te=()=>{var Y;(Y=_.value)==null||Y.clearCheckedNodes(),!S.value&&r.filterable&&Be(),ae(!1),n("clear")},Be=()=>{const{value:Y}=ie;E.value=Y,k.value=Y},Je=Y=>{var J,W;const{checked:Ee}=Y;z.value?(J=_.value)==null||J.handleCheckChange(Y,!Ee,!1):(!Ee&&((W=_.value)==null||W.handleCheckChange(Y,!0,!1)),ae(!1))},dt=Y=>{const J=Y.target,{code:W}=Y;switch(W){case Ue.up:case Ue.down:{const Ee=W===Ue.up?-1:1;By(wz(J,Ee,`.${l.e("suggestion-item")}[tabindex="-1"]`));break}case Ue.enter:case Ue.numpadEnter:J.click();break}},ct=()=>{const Y=A.value,J=Y[Y.length-1];s=k.value?0:s+1,!(!J||!s||r.collapseTags&&Y.length>1)&&(J.hitState?we(J):J.hitState=!0)},wt=Y=>{const J=Y.target,W=l.e("search-input");J.className===W&&(x.value=!0),n("focus",Y)},Mt=Y=>{x.value=!1,n("blur",Y)},Zt=Fa(()=>{const{value:Y}=j;if(!Y)return;const J=r.beforeFilter(Y);jd(J)?J.then(be).catch(()=>{}):J!==!1?be():Q()},r.debounce),Se=(Y,J)=>{!S.value&&ae(!0),!(J!=null&&J.isComposing)&&(Y?Zt():Q())},Ne=Y=>Number.parseFloat(Tle(u.cssVarName("input-height"),Y).value)-2;return xe(T,K),xe([U,I,()=>r.collapseTags],me),xe(A,()=>{qe(()=>ke())}),xe(O,()=>ut(this,null,function*(){yield qe();const Y=m.value.input;i=Ne(Y)||i,ke()})),xe(ie,Be,{immediate:!0}),ft(()=>{const Y=m.value.input,J=Ne(Y);i=Y.offsetHeight||J,On(Y,ke)}),t({getCheckedNodes:Oe,cascaderPanelRef:_,togglePopperVisible:ae,contentRef:he,presentText:ie}),(Y,J)=>(N(),ye(y(Kr),{ref_key:"tooltipRef",ref:g,visible:S.value,teleported:Y.teleported,"popper-class":[y(l).e("dropdown"),Y.popperClass],"popper-options":a,"fallback-placements":Y.fallbackPlacements,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:Y.placement,transition:`${y(l).namespace.value}-zoom-in-top`,effect:"light",pure:"",persistent:Y.persistent,onHide:Q},{default:le(()=>[vt((N(),q("div",{class:F(y(oe)),style:Xe(y(B)),onClick:()=>ae(y(V)?void 0:!0),onKeydown:He,onMouseenter:W=>C.value=!0,onMouseleave:W=>C.value=!1},[ee(y(fa),{ref_key:"input",ref:m,modelValue:E.value,"onUpdate:modelValue":W=>E.value=W,placeholder:y(L),readonly:y(V),disabled:y(I),"validate-event":!1,size:y(O),class:F(y(ue)),tabindex:y(z)&&Y.filterable&&!y(I)?-1:void 0,onCompositionstart:y(v),onCompositionupdate:y(v),onCompositionend:y(v),onFocus:wt,onBlur:Mt,onInput:Se},{suffix:le(()=>[y(ne)?(N(),ye(y(Ke),{key:"clear",class:F([y(u).e("icon"),"icon-circle-close"]),onClick:nt(Te,["stop"])},{default:le(()=>[ee(y(bu))]),_:1},8,["class","onClick"])):(N(),ye(y(Ke),{key:"arrow-down",class:F(y(se)),onClick:nt(W=>ae(),["stop"])},{default:le(()=>[ee(y(tl))]),_:1},8,["class","onClick"]))]),_:1},8,["modelValue","onUpdate:modelValue","placeholder","readonly","disabled","size","class","tabindex","onCompositionstart","onCompositionupdate","onCompositionend"]),y(z)?(N(),q("div",{key:0,ref_key:"tagWrapper",ref:w,class:F([y(l).e("tags"),y(l).is("validate",!!y(fe))])},[(N(!0),q(je,null,Rt(A.value,W=>(N(),ye(y(lg),{key:W.key,type:Y.tagType,size:y(D),effect:Y.tagEffect,hit:W.hitState,closable:W.closable,"disable-transitions":"",onClose:Ee=>we(W)},{default:le(()=>[W.isCollapseTag===!1?(N(),q("span",{key:0},Re(W.text),1)):(N(),ye(y(Kr),{key:1,disabled:S.value||!Y.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:le(()=>[Z("span",null,Re(W.text),1)]),content:le(()=>[Z("div",{class:F(y(l).e("collapse-tags"))},[(N(!0),q(je,null,Rt(P.value.slice(Y.maxCollapseTags),(Ee,Fe)=>(N(),q("div",{key:Fe,class:F(y(l).e("collapse-tag"))},[(N(),ye(y(lg),{key:Ee.key,class:"in-tooltip",type:Y.tagType,size:y(D),effect:Y.tagEffect,hit:Ee.hitState,closable:Ee.closable,"disable-transitions":"",onClose:tt=>we(Ee)},{default:le(()=>[Z("span",null,Re(Ee.text),1)]),_:2},1032,["type","size","effect","hit","closable","onClose"]))],2))),128))],2)]),_:2},1032,["disabled"]))]),_:2},1032,["type","size","effect","hit","closable","onClose"]))),128)),Y.filterable&&!y(I)?vt((N(),q("input",{key:0,"onUpdate:modelValue":W=>k.value=W,type:"text",class:F(y(l).e("search-input")),placeholder:y(ie)?"":y(M),onInput:W=>Se(k.value,W),onClick:nt(W=>ae(!0),["stop"]),onKeydown:un(ct,["delete"]),onCompositionstart:y(v),onCompositionupdate:y(v),onCompositionend:y(v),onFocus:wt,onBlur:Mt},null,42,["onUpdate:modelValue","placeholder","onInput","onClick","onKeydown","onCompositionstart","onCompositionupdate","onCompositionend"])),[[Zc,k.value]]):ge("v-if",!0)],2)):ge("v-if",!0)],46,["onClick","onMouseenter","onMouseleave"])),[[y(Gs),()=>ae(!1),y(he)]])]),content:le(()=>[vt(ee(y(pH),{ref_key:"cascaderPanelRef",ref:_,modelValue:y(G),"onUpdate:modelValue":W=>Gt(G)?G.value=W:null,options:Y.options,props:r.props,border:!1,"render-label":Y.$slots.default,onExpandChange:Pe,onClose:W=>Y.$nextTick(()=>ae(!1))},{empty:le(()=>[ve(Y.$slots,"empty")]),_:3},8,["modelValue","onUpdate:modelValue","options","props","render-label","onClose"]),[[Wt,!T.value]]),Y.filterable?vt((N(),ye(y(nl),{key:0,ref_key:"suggestionPanel",ref:b,tag:"ul",class:F(y(l).e("suggestion-panel")),"view-class":y(l).e("suggestion-list"),onKeydown:dt},{default:le(()=>[$.value.length?(N(!0),q(je,{key:0},Rt($.value,W=>(N(),q("li",{key:W.uid,class:F([y(l).e("suggestion-item"),y(l).is("checked",W.checked)]),tabindex:-1,onClick:Ee=>Je(W)},[Z("span",null,Re(W.text),1),W.checked?(N(),ye(y(Ke),{key:0},{default:le(()=>[ee(y(ym))]),_:1})):ge("v-if",!0)],10,["onClick"]))),128)):ve(Y.$slots,"empty",{key:1},()=>[Z("li",{class:F(y(l).e("empty-text"))},Re(y(c)("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class"])),[[Wt,T.value]]):ge("v-if",!0)]),_:3},8,["visible","teleported","popper-class","fallback-placements","placement","transition","persistent"]))}}));var sge=De(ige,[["__file","cascader.vue"]]);const lge=pt(sge),uge=Ie({checked:Boolean,disabled:Boolean,type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"}}),cge={"update:checked":e=>hn(e),[Sn]:e=>hn(e)},fge=te({name:"ElCheckTag"}),dge=te(_e(X({},fge),{props:uge,emits:cge,setup(e,{emit:t}){const n=e,r=Ae("check-tag"),a=R(()=>n.disabled),o=R(()=>[r.b(),r.is("checked",n.checked),r.is("disabled",a.value),r.m(n.type||"primary")]),i=()=>{if(a.value)return;const s=!n.checked;t(Sn,s),t("update:checked",s)};return(s,l)=>(N(),q("span",{class:F(y(o)),onClick:i},[ve(s.$slots,"default")],2))}}));var hge=De(dge,[["__file","check-tag.vue"]]);const pge=pt(hge),vge=Ie({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:ce([Number,Object]),default:()=>In({})},sm:{type:ce([Number,Object]),default:()=>In({})},md:{type:ce([Number,Object]),default:()=>In({})},lg:{type:ce([Number,Object]),default:()=>In({})},xl:{type:ce([Number,Object]),default:()=>In({})}}),vH=Symbol("rowContextKey"),gge=te({name:"ElCol"}),mge=te(_e(X({},gge),{props:vge,setup(e){const t=e,{gutter:n}=ze(vH,{gutter:R(()=>0)}),r=Ae("col"),a=R(()=>{const i={};return n.value&&(i.paddingLeft=i.paddingRight=`${n.value/2}px`),i}),o=R(()=>{const i=[];return["span","offset","pull","push"].forEach(u=>{const c=t[u];et(c)&&(u==="span"?i.push(r.b(`${t[u]}`)):c>0&&i.push(r.b(`${u}-${t[u]}`)))}),["xs","sm","md","lg","xl"].forEach(u=>{et(t[u])?i.push(r.b(`${u}-${t[u]}`)):_t(t[u])&&Object.entries(t[u]).forEach(([c,f])=>{i.push(c!=="span"?r.b(`${u}-${c}-${f}`):r.b(`${u}-${f}`))})}),n.value&&i.push(r.is("guttered")),[r.b(),i]});return(i,s)=>(N(),ye(bt(i.tag),{class:F(y(o)),style:Xe(y(a))},{default:le(()=>[ve(i.$slots,"default")]),_:3},8,["class","style"]))}}));var yge=De(mge,[["__file","col.vue"]]);const bge=pt(yge),h6=e=>et(e)||Ze(e)||Me(e),_ge=Ie({accordion:Boolean,modelValue:{type:ce([Array,String,Number]),default:()=>In([])}}),wge={[St]:h6,[Sn]:h6},gH=Symbol("collapseContextKey"),Sge=(e,t)=>{const n=H(ua(e.modelValue)),r=o=>{n.value=o;const i=e.accordion?n.value[0]:n.value;t(St,i),t(Sn,i)},a=o=>{if(e.accordion)r([n.value[0]===o?"":o]);else{const i=[...n.value],s=i.indexOf(o);s>-1?i.splice(s,1):i.push(o),r(i)}};return xe(()=>e.modelValue,()=>n.value=ua(e.modelValue),{deep:!0}),kt(gH,{activeNames:n,handleItemClick:a}),{activeNames:n,setActiveNames:r}},Cge=()=>{const e=Ae("collapse");return{rootKls:R(()=>e.b())}},Tge=te({name:"ElCollapse"}),xge=te(_e(X({},Tge),{props:_ge,emits:wge,setup(e,{expose:t,emit:n}){const r=e,{activeNames:a,setActiveNames:o}=Sge(r,n),{rootKls:i}=Cge();return t({activeNames:a,setActiveNames:o}),(s,l)=>(N(),q("div",{class:F(y(i))},[ve(s.$slots,"default")],2))}}));var Ege=De(xge,[["__file","collapse.vue"]]);const kge=te({name:"ElCollapseTransition"}),Age=te(_e(X({},kge),{setup(e){const t=Ae("collapse-transition"),n=a=>{a.style.maxHeight="",a.style.overflow=a.dataset.oldOverflow,a.style.paddingTop=a.dataset.oldPaddingTop,a.style.paddingBottom=a.dataset.oldPaddingBottom},r={beforeEnter(a){a.dataset||(a.dataset={}),a.dataset.oldPaddingTop=a.style.paddingTop,a.dataset.oldPaddingBottom=a.style.paddingBottom,a.style.height&&(a.dataset.elExistsHeight=a.style.height),a.style.maxHeight=0,a.style.paddingTop=0,a.style.paddingBottom=0},enter(a){requestAnimationFrame(()=>{a.dataset.oldOverflow=a.style.overflow,a.dataset.elExistsHeight?a.style.maxHeight=a.dataset.elExistsHeight:a.scrollHeight!==0?a.style.maxHeight=`${a.scrollHeight}px`:a.style.maxHeight=0,a.style.paddingTop=a.dataset.oldPaddingTop,a.style.paddingBottom=a.dataset.oldPaddingBottom,a.style.overflow="hidden"})},afterEnter(a){a.style.maxHeight="",a.style.overflow=a.dataset.oldOverflow},enterCancelled(a){n(a)},beforeLeave(a){a.dataset||(a.dataset={}),a.dataset.oldPaddingTop=a.style.paddingTop,a.dataset.oldPaddingBottom=a.style.paddingBottom,a.dataset.oldOverflow=a.style.overflow,a.style.maxHeight=`${a.scrollHeight}px`,a.style.overflow="hidden"},leave(a){a.scrollHeight!==0&&(a.style.maxHeight=0,a.style.paddingTop=0,a.style.paddingBottom=0)},afterLeave(a){n(a)},leaveCancelled(a){n(a)}};return(a,o)=>(N(),ye(yr,Et({name:y(t).b()},ZB(r)),{default:le(()=>[ve(a.$slots,"default")]),_:3},16,["name"]))}}));var Mge=De(Age,[["__file","collapse-transition.vue"]]);const nw=pt(Mge),Oge=Ie({title:{type:String,default:""},name:{type:ce([String,Number]),default:void 0},icon:{type:cn,default:pa},disabled:Boolean}),Pge=e=>{const t=ze(gH),{namespace:n}=Ae("collapse"),r=H(!1),a=H(!1),o=F3(),i=R(()=>o.current++),s=R(()=>{var h;return(h=e.name)!=null?h:`${n.value}-id-${o.prefix}-${y(i)}`}),l=R(()=>t==null?void 0:t.activeNames.value.includes(y(s)));return{focusing:r,id:i,isActive:l,handleFocus:()=>{setTimeout(()=>{a.value?a.value=!1:r.value=!0},50)},handleHeaderClick:()=>{e.disabled||(t==null||t.handleItemClick(y(s)),r.value=!1,a.value=!0)},handleEnterClick:()=>{t==null||t.handleItemClick(y(s))}}},Rge=(e,{focusing:t,isActive:n,id:r})=>{const a=Ae("collapse"),o=R(()=>[a.b("item"),a.is("active",y(n)),a.is("disabled",e.disabled)]),i=R(()=>[a.be("item","header"),a.is("active",y(n)),{focusing:y(t)&&!e.disabled}]),s=R(()=>[a.be("item","arrow"),a.is("active",y(n))]),l=R(()=>a.be("item","wrap")),u=R(()=>a.be("item","content")),c=R(()=>a.b(`content-${y(r)}`)),f=R(()=>a.b(`head-${y(r)}`));return{arrowKls:s,headKls:i,rootKls:o,itemWrapperKls:l,itemContentKls:u,scopedContentId:c,scopedHeadId:f}},Ige=te({name:"ElCollapseItem"}),Dge=te(_e(X({},Ige),{props:Oge,setup(e,{expose:t}){const n=e,{focusing:r,id:a,isActive:o,handleFocus:i,handleHeaderClick:s,handleEnterClick:l}=Pge(n),{arrowKls:u,headKls:c,rootKls:f,itemWrapperKls:h,itemContentKls:d,scopedContentId:p,scopedHeadId:v}=Rge(n,{focusing:r,isActive:o,id:a});return t({isActive:o}),(g,m)=>(N(),q("div",{class:F(y(f))},[Z("button",{id:y(v),class:F(y(c)),"aria-expanded":y(o),"aria-controls":y(p),"aria-describedby":y(p),tabindex:g.disabled?-1:0,type:"button",onClick:y(s),onKeydown:un(nt(y(l),["stop","prevent"]),["space","enter"]),onFocus:y(i),onBlur:w=>r.value=!1},[ve(g.$slots,"title",{},()=>[At(Re(g.title),1)]),ve(g.$slots,"icon",{isActive:y(o)},()=>[ee(y(Ke),{class:F(y(u))},{default:le(()=>[(N(),ye(bt(g.icon)))]),_:1},8,["class"])])],42,["id","aria-expanded","aria-controls","aria-describedby","tabindex","onClick","onKeydown","onFocus","onBlur"]),ee(y(nw),null,{default:le(()=>[vt(Z("div",{id:y(p),role:"region",class:F(y(h)),"aria-hidden":!y(o),"aria-labelledby":y(v)},[Z("div",{class:F(y(d))},[ve(g.$slots,"default")],2)],10,["id","aria-hidden","aria-labelledby"]),[[Wt,y(o)]])]),_:3})],2))}}));var mH=De(Dge,[["__file","collapse-item.vue"]]);const Lge=pt(Ege,{CollapseItem:mH}),$ge=Dn(mH),Nge=Ie({color:{type:ce(Object),required:!0},vertical:{type:Boolean,default:!1}});let XS=!1;function ug(e,t){if(!Bt)return;const n=function(o){var i;(i=t.drag)==null||i.call(t,o)},r=function(o){var i;document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",r),document.removeEventListener("touchmove",n),document.removeEventListener("touchend",r),document.onselectstart=null,document.ondragstart=null,XS=!1,(i=t.end)==null||i.call(t,o)},a=function(o){var i;XS||(o.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",n),document.addEventListener("mouseup",r),document.addEventListener("touchmove",n),document.addEventListener("touchend",r),XS=!0,(i=t.start)==null||i.call(t,o))};e.addEventListener("mousedown",a),e.addEventListener("touchstart",a,{passive:!1})}const Bge=(e,t)=>{if(!Bt||!e||!t)return!1;const n=e.getBoundingClientRect();let r;return t instanceof Element?r=t.getBoundingClientRect():r={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},n.topr.top&&n.right>r.left&&n.left{let t=0,n=e;for(;n;)t+=n.offsetTop,n=n.offsetParent;return t},zx=(e,t)=>Math.abs(p6(e)-p6(t)),n5=e=>{let t,n;return e.type==="touchend"?(n=e.changedTouches[0].clientY,t=e.changedTouches[0].clientX):e.type.startsWith("touch")?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}},Fge=e=>{const t=st(),{t:n}=$t(),r=gn(),a=gn(),o=R(()=>e.color.get("alpha")),i=R(()=>n("el.colorpicker.alphaLabel"));function s(f){var h;f.target!==r.value&&l(f),(h=r.value)==null||h.focus()}function l(f){if(!a.value||!r.value)return;const d=t.vnode.el.getBoundingClientRect(),{clientX:p,clientY:v}=n5(f);if(e.vertical){let g=v-d.top;g=Math.max(r.value.offsetHeight/2,g),g=Math.min(g,d.height-r.value.offsetHeight/2),e.color.set("alpha",Math.round((g-r.value.offsetHeight/2)/(d.height-r.value.offsetHeight)*100))}else{let g=p-d.left;g=Math.max(r.value.offsetWidth/2,g),g=Math.min(g,d.width-r.value.offsetWidth/2),e.color.set("alpha",Math.round((g-r.value.offsetWidth/2)/(d.width-r.value.offsetWidth)*100))}}function u(f){const{code:h,shiftKey:d}=f,p=d?10:1;switch(h){case Ue.left:case Ue.down:f.preventDefault(),f.stopPropagation(),c(-p);break;case Ue.right:case Ue.up:f.preventDefault(),f.stopPropagation(),c(p);break}}function c(f){let h=o.value+f;h=h<0?0:h>100?100:h,e.color.set("alpha",h)}return{thumb:r,bar:a,alpha:o,alphaLabel:i,handleDrag:l,handleClick:s,handleKeydown:u}},Vge=(e,{bar:t,thumb:n,handleDrag:r})=>{const a=st(),o=Ae("color-alpha-slider"),i=H(0),s=H(0),l=H();function u(){if(!n.value||e.vertical)return 0;const w=a.vnode.el,_=e.color.get("alpha");return w?Math.round(_*(w.offsetWidth-n.value.offsetWidth/2)/100):0}function c(){if(!n.value)return 0;const w=a.vnode.el;if(!e.vertical)return 0;const _=e.color.get("alpha");return w?Math.round(_*(w.offsetHeight-n.value.offsetHeight/2)/100):0}function f(){if(e.color&&e.color.value){const{r:w,g:_,b}=e.color.toRgb();return`linear-gradient(to right, rgba(${w}, ${_}, ${b}, 0) 0%, rgba(${w}, ${_}, ${b}, 1) 100%)`}return""}function h(){i.value=u(),s.value=c(),l.value=f()}ft(()=>{if(!t.value||!n.value)return;const w={drag:_=>{r(_)},end:_=>{r(_)}};ug(t.value,w),ug(n.value,w),h()}),xe(()=>e.color.get("alpha"),()=>h()),xe(()=>e.color.value,()=>h());const d=R(()=>[o.b(),o.is("vertical",e.vertical)]),p=R(()=>o.e("bar")),v=R(()=>o.e("thumb")),g=R(()=>({background:l.value})),m=R(()=>({left:Vn(i.value),top:Vn(s.value)}));return{rootKls:d,barKls:p,barStyle:g,thumbKls:v,thumbStyle:m,update:h}},zge="ElColorAlphaSlider",Hge=te({name:zge}),Wge=te(_e(X({},Hge),{props:Nge,setup(e,{expose:t}){const n=e,{alpha:r,alphaLabel:a,bar:o,thumb:i,handleDrag:s,handleClick:l,handleKeydown:u}=Fge(n),{rootKls:c,barKls:f,barStyle:h,thumbKls:d,thumbStyle:p,update:v}=Vge(n,{bar:o,thumb:i,handleDrag:s});return t({update:v,bar:o,thumb:i}),(g,m)=>(N(),q("div",{class:F(y(c))},[Z("div",{ref_key:"bar",ref:o,class:F(y(f)),style:Xe(y(h)),onClick:y(l)},null,14,["onClick"]),Z("div",{ref_key:"thumb",ref:i,class:F(y(d)),style:Xe(y(p)),"aria-label":y(a),"aria-valuenow":y(r),"aria-orientation":g.vertical?"vertical":"horizontal","aria-valuemin":"0","aria-valuemax":"100",role:"slider",tabindex:"0",onKeydown:y(u)},null,46,["aria-label","aria-valuenow","aria-orientation","onKeydown"])],2))}}));var Uge=De(Wge,[["__file","alpha-slider.vue"]]);const jge=te({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean},setup(e){const t=Ae("color-hue-slider"),n=st(),r=H(),a=H(),o=H(0),i=H(0),s=R(()=>e.color.get("hue"));xe(()=>s.value,()=>{h()});function l(d){d.target!==r.value&&u(d)}function u(d){if(!a.value||!r.value)return;const v=n.vnode.el.getBoundingClientRect(),{clientX:g,clientY:m}=n5(d);let w;if(e.vertical){let _=m-v.top;_=Math.min(_,v.height-r.value.offsetHeight/2),_=Math.max(r.value.offsetHeight/2,_),w=Math.round((_-r.value.offsetHeight/2)/(v.height-r.value.offsetHeight)*360)}else{let _=g-v.left;_=Math.min(_,v.width-r.value.offsetWidth/2),_=Math.max(r.value.offsetWidth/2,_),w=Math.round((_-r.value.offsetWidth/2)/(v.width-r.value.offsetWidth)*360)}e.color.set("hue",w)}function c(){if(!r.value)return 0;const d=n.vnode.el;if(e.vertical)return 0;const p=e.color.get("hue");return d?Math.round(p*(d.offsetWidth-r.value.offsetWidth/2)/360):0}function f(){if(!r.value)return 0;const d=n.vnode.el;if(!e.vertical)return 0;const p=e.color.get("hue");return d?Math.round(p*(d.offsetHeight-r.value.offsetHeight/2)/360):0}function h(){o.value=c(),i.value=f()}return ft(()=>{if(!a.value||!r.value)return;const d={drag:p=>{u(p)},end:p=>{u(p)}};ug(a.value,d),ug(r.value,d),h()}),{bar:a,thumb:r,thumbLeft:o,thumbTop:i,hueValue:s,handleClick:l,update:h,ns:t}}});function Kge(e,t,n,r,a,o){return N(),q("div",{class:F([e.ns.b(),e.ns.is("vertical",e.vertical)])},[Z("div",{ref:"bar",class:F(e.ns.e("bar")),onClick:e.handleClick},null,10,["onClick"]),Z("div",{ref:"thumb",class:F(e.ns.e("thumb")),style:Xe({left:e.thumbLeft+"px",top:e.thumbTop+"px"})},null,6)],2)}var Gge=De(jge,[["render",Kge],["__file","hue-slider.vue"]]);const qge=Ie(X({modelValue:String,id:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:or,popperClass:{type:String,default:""},tabindex:{type:[String,Number],default:0},teleported:fr.teleported,predefine:{type:ce(Array)},validateEvent:{type:Boolean,default:!0}},Pr(["ariaLabel"]))),Yge={[St]:e=>Ze(e)||ur(e),[Sn]:e=>Ze(e)||ur(e),activeChange:e=>Ze(e)||ur(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},yH=Symbol("colorPickerContextKey"),v6=function(e,t,n){return[e,t*n/((e=(2-t)*n)<1?e:2-e)||0,e/2]},Xge=function(e){return Ze(e)&&e.includes(".")&&Number.parseFloat(e)===1},Zge=function(e){return Ze(e)&&e.includes("%")},Rd=function(e,t){Xge(e)&&(e="100%");const n=Zge(e);return e=Math.min(t,Math.max(0,Number.parseFloat(`${e}`))),n&&(e=Number.parseInt(`${e*t}`,10)/100),Math.abs(e-t)<1e-6?1:e%t/Number.parseFloat(t)},g6={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},Hy=e=>{e=Math.min(Math.round(e),255);const t=Math.floor(e/16),n=e%16;return`${g6[t]||t}${g6[n]||n}`},m6=function({r:e,g:t,b:n}){return Number.isNaN(+e)||Number.isNaN(+t)||Number.isNaN(+n)?"":`#${Hy(e)}${Hy(t)}${Hy(n)}`},ZS={A:10,B:11,C:12,D:13,E:14,F:15},Ru=function(e){return e.length===2?(ZS[e[0].toUpperCase()]||+e[0])*16+(ZS[e[1].toUpperCase()]||+e[1]):ZS[e[1].toUpperCase()]||+e[1]},Jge=function(e,t,n){t=t/100,n=n/100;let r=t;const a=Math.max(n,.01);n*=2,t*=n<=1?n:2-n,r*=a<=1?a:2-a;const o=(n+t)/2,i=n===0?2*r/(a+r):2*t/(n+t);return{h:e,s:i*100,v:o*100}},y6=(e,t,n)=>{e=Rd(e,255),t=Rd(t,255),n=Rd(n,255);const r=Math.max(e,t,n),a=Math.min(e,t,n);let o;const i=r,s=r-a,l=r===0?0:s/r;if(r===a)o=0;else{switch(r){case e:{o=(t-n)/s+(t{this._hue=Math.max(0,Math.min(360,r)),this._saturation=Math.max(0,Math.min(100,a)),this._value=Math.max(0,Math.min(100,o)),this.doOnChange()};if(t.includes("hsl")){const r=t.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(a=>a!=="").map((a,o)=>o>2?Number.parseFloat(a):Number.parseInt(a,10));if(r.length===4?this._alpha=Number.parseFloat(r[3])*100:r.length===3&&(this._alpha=100),r.length>=3){const{h:a,s:o,v:i}=Jge(r[0],r[1],r[2]);n(a,o,i)}}else if(t.includes("hsv")){const r=t.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(a=>a!=="").map((a,o)=>o>2?Number.parseFloat(a):Number.parseInt(a,10));r.length===4?this._alpha=Number.parseFloat(r[3])*100:r.length===3&&(this._alpha=100),r.length>=3&&n(r[0],r[1],r[2])}else if(t.includes("rgb")){const r=t.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(a=>a!=="").map((a,o)=>o>2?Number.parseFloat(a):Number.parseInt(a,10));if(r.length===4?this._alpha=Number.parseFloat(r[3])*100:r.length===3&&(this._alpha=100),r.length>=3){const{h:a,s:o,v:i}=y6(r[0],r[1],r[2]);n(a,o,i)}}else if(t.includes("#")){const r=t.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(r))return;let a,o,i;r.length===3?(a=Ru(r[0]+r[0]),o=Ru(r[1]+r[1]),i=Ru(r[2]+r[2])):(r.length===6||r.length===8)&&(a=Ru(r.slice(0,2)),o=Ru(r.slice(2,4)),i=Ru(r.slice(4,6))),r.length===8?this._alpha=Ru(r.slice(6))/255*100:(r.length===3||r.length===6)&&(this._alpha=100);const{h:s,s:l,v:u}=y6(a,o,i);n(s,l,u)}}compare(t){return Math.abs(t._hue-this._hue)<2&&Math.abs(t._saturation-this._saturation)<1&&Math.abs(t._value-this._value)<1&&Math.abs(t._alpha-this._alpha)<1}doOnChange(){const{_hue:t,_saturation:n,_value:r,_alpha:a,format:o}=this;if(this.enableAlpha)switch(o){case"hsl":{const i=v6(t,n/100,r/100);this.value=`hsla(${t}, ${Math.round(i[1]*100)}%, ${Math.round(i[2]*100)}%, ${this.get("alpha")/100})`;break}case"hsv":{this.value=`hsva(${t}, ${Math.round(n)}%, ${Math.round(r)}%, ${this.get("alpha")/100})`;break}case"hex":{this.value=`${m6(hp(t,n,r))}${Hy(a*255/100)}`;break}default:{const{r:i,g:s,b:l}=hp(t,n,r);this.value=`rgba(${i}, ${s}, ${l}, ${this.get("alpha")/100})`}}else switch(o){case"hsl":{const i=v6(t,n/100,r/100);this.value=`hsl(${t}, ${Math.round(i[1]*100)}%, ${Math.round(i[2]*100)}%)`;break}case"hsv":{this.value=`hsv(${t}, ${Math.round(n)}%, ${Math.round(r)}%)`;break}case"rgb":{const{r:i,g:s,b:l}=hp(t,n,r);this.value=`rgb(${i}, ${s}, ${l})`;break}default:this.value=m6(hp(t,n,r))}}}const Qge=te({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0},enableAlpha:{type:Boolean,required:!0}},setup(e){const t=Ae("color-predefine"),{currentColor:n}=ze(yH),r=H(o(e.colors,e.color));xe(()=>n.value,i=>{const s=new mv;s.fromString(i),r.value.forEach(l=>{l.selected=s.compare(l)})}),Ar(()=>{r.value=o(e.colors,e.color)});function a(i){e.color.fromString(e.colors[i])}function o(i,s){return i.map(l=>{const u=new mv;return u.enableAlpha=e.enableAlpha,u.format="rgba",u.fromString(l),u.selected=u.value===s.value,u})}return{rgbaColors:r,handleSelect:a,ns:t}}});function eme(e,t,n,r,a,o){return N(),q("div",{class:F(e.ns.b())},[Z("div",{class:F(e.ns.e("colors"))},[(N(!0),q(je,null,Rt(e.rgbaColors,(i,s)=>(N(),q("div",{key:e.colors[s],class:F([e.ns.e("color-selector"),e.ns.is("alpha",i._alpha<100),{selected:i.selected}]),onClick:l=>e.handleSelect(s)},[Z("div",{style:Xe({backgroundColor:i.value})},null,4)],10,["onClick"]))),128))],2)],2)}var tme=De(Qge,[["render",eme],["__file","predefine.vue"]]);const nme=te({name:"ElSlPanel",props:{color:{type:Object,required:!0}},setup(e){const t=Ae("color-svpanel"),n=st(),r=H(0),a=H(0),o=H("hsl(0, 100%, 50%)"),i=R(()=>{const u=e.color.get("hue"),c=e.color.get("value");return{hue:u,value:c}});function s(){const u=e.color.get("saturation"),c=e.color.get("value"),f=n.vnode.el,{clientWidth:h,clientHeight:d}=f;a.value=u*h/100,r.value=(100-c)*d/100,o.value=`hsl(${e.color.get("hue")}, 100%, 50%)`}function l(u){const f=n.vnode.el.getBoundingClientRect(),{clientX:h,clientY:d}=n5(u);let p=h-f.left,v=d-f.top;p=Math.max(0,p),p=Math.min(p,f.width),v=Math.max(0,v),v=Math.min(v,f.height),a.value=p,r.value=v,e.color.set({saturation:p/f.width*100,value:100-v/f.height*100})}return xe(()=>i.value,()=>{s()}),ft(()=>{ug(n.vnode.el,{drag:u=>{l(u)},end:u=>{l(u)}}),s()}),{cursorTop:r,cursorLeft:a,background:o,colorValue:i,handleDrag:l,update:s,ns:t}}});function rme(e,t,n,r,a,o){return N(),q("div",{class:F(e.ns.b()),style:Xe({backgroundColor:e.background})},[Z("div",{class:F(e.ns.e("white"))},null,2),Z("div",{class:F(e.ns.e("black"))},null,2),Z("div",{class:F(e.ns.e("cursor")),style:Xe({top:e.cursorTop+"px",left:e.cursorLeft+"px"})},[Z("div")],6)],6)}var ame=De(nme,[["render",rme],["__file","sv-panel.vue"]]);const ome=te({name:"ElColorPicker"}),ime=te(_e(X({},ome),{props:qge,emits:Yge,setup(e,{expose:t,emit:n}){const r=e,{t:a}=$t(),o=Ae("color"),{formItem:i}=qr(),s=Jn(),l=Sa(),{inputId:u,isLabeledByFormItem:c}=Ti(r,{formItemContext:i}),f=H(),h=H(),d=H(),p=H(),v=H(),g=H(),{isFocused:m,handleFocus:w,handleBlur:_}=Wh(v,{beforeFocus(){return l.value},beforeBlur(se){var ue;return(ue=p.value)==null?void 0:ue.isFocusInsideContent(se)},afterBlur(){I(!1),D()}});let b=!0;const S=zt(new mv({enableAlpha:r.showAlpha,format:r.colorFormat||"",value:r.modelValue})),C=H(!1),T=H(!1),x=H(""),E=R(()=>!r.modelValue&&!T.value?"transparent":B(S,r.showAlpha)),k=R(()=>!r.modelValue&&!T.value?"":S.value),A=R(()=>c.value?void 0:r.ariaLabel||a("el.colorpicker.defaultLabel")),P=R(()=>c.value?i==null?void 0:i.labelId:void 0),$=R(()=>[o.b("picker"),o.is("disabled",l.value),o.bm("picker",s.value),o.is("focused",m.value)]);function B(se,ue){if(!(se instanceof mv))throw new TypeError("color should be instance of _color Class");const{r:he,g:ae,b:K}=se.toRgb();return ue?`rgba(${he}, ${ae}, ${K}, ${se.get("alpha")/100})`:`rgb(${he}, ${ae}, ${K})`}function I(se){C.value=se}const M=Fa(I,100,{leading:!0});function L(){l.value||I(!0)}function O(){M(!1),D()}function D(){qe(()=>{r.modelValue?S.fromString(r.modelValue):(S.value="",qe(()=>{T.value=!1}))})}function z(){l.value||M(!C.value)}function V(){S.fromString(x.value)}function j(){const se=S.value;n(St,se),n("change",se),r.validateEvent&&(i==null||i.validate("change").catch(ue=>void 0)),M(!1),qe(()=>{const ue=new mv({enableAlpha:r.showAlpha,format:r.colorFormat||"",value:r.modelValue});S.compare(ue)||D()})}function U(){M(!1),n(St,null),n("change",null),r.modelValue!==null&&r.validateEvent&&(i==null||i.validate("change").catch(se=>void 0)),D()}function ne(){C.value&&(O(),m.value&&G())}function ie(se){se.preventDefault(),se.stopPropagation(),I(!1),D()}function fe(se){switch(se.code){case Ue.enter:case Ue.numpadEnter:case Ue.space:se.preventDefault(),se.stopPropagation(),L(),g.value.focus();break;case Ue.esc:ie(se);break}}function G(){v.value.focus()}function oe(){v.value.blur()}return ft(()=>{r.modelValue&&(x.value=k.value)}),xe(()=>r.modelValue,se=>{se?se&&se!==S.value&&(b=!1,S.fromString(se)):T.value=!1}),xe(()=>[r.colorFormat,r.showAlpha],()=>{S.enableAlpha=r.showAlpha,S.format=r.colorFormat||S.format,S.doOnChange(),n(St,S.value)}),xe(()=>k.value,se=>{x.value=se,b&&n("activeChange",se),b=!0}),xe(()=>S.value,()=>{!r.modelValue&&!T.value&&(T.value=!0)}),xe(()=>C.value,()=>{qe(()=>{var se,ue,he;(se=f.value)==null||se.update(),(ue=h.value)==null||ue.update(),(he=d.value)==null||he.update()})}),kt(yH,{currentColor:k}),t({color:S,show:L,hide:O,focus:G,blur:oe}),(se,ue)=>(N(),ye(y(Kr),{ref_key:"popper",ref:p,visible:C.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[y(o).be("picker","panel"),y(o).b("dropdown"),se.popperClass],"stop-popper-mouse-event":!1,effect:"light",trigger:"click",teleported:se.teleported,transition:`${y(o).namespace.value}-zoom-in-top`,persistent:"",onHide:he=>I(!1)},{content:le(()=>[vt((N(),q("div",{onKeydown:un(ie,["esc"])},[Z("div",{class:F(y(o).be("dropdown","main-wrapper"))},[ee(Gge,{ref_key:"hue",ref:f,class:"hue-slider",color:y(S),vertical:""},null,8,["color"]),ee(ame,{ref_key:"sv",ref:h,color:y(S)},null,8,["color"])],2),se.showAlpha?(N(),ye(Uge,{key:0,ref_key:"alpha",ref:d,color:y(S)},null,8,["color"])):ge("v-if",!0),se.predefine?(N(),ye(tme,{key:1,ref:"predefine","enable-alpha":se.showAlpha,color:y(S),colors:se.predefine},null,8,["enable-alpha","color","colors"])):ge("v-if",!0),Z("div",{class:F(y(o).be("dropdown","btns"))},[Z("span",{class:F(y(o).be("dropdown","value"))},[ee(y(fa),{ref_key:"inputRef",ref:g,modelValue:x.value,"onUpdate:modelValue":he=>x.value=he,"validate-event":!1,size:"small",onKeyup:un(V,["enter"]),onBlur:V},null,8,["modelValue","onUpdate:modelValue","onKeyup"])],2),ee(y(mr),{class:F(y(o).be("dropdown","link-btn")),text:"",size:"small",onClick:U},{default:le(()=>[At(Re(y(a)("el.colorpicker.clear")),1)]),_:1},8,["class"]),ee(y(mr),{plain:"",size:"small",class:F(y(o).be("dropdown","btn")),onClick:j},{default:le(()=>[At(Re(y(a)("el.colorpicker.confirm")),1)]),_:1},8,["class"])],2)],40,["onKeydown"])),[[y(Gs),ne]])]),default:le(()=>[Z("div",Et({id:y(u),ref_key:"triggerRef",ref:v},se.$attrs,{class:y($),role:"button","aria-label":y(A),"aria-labelledby":y(P),"aria-description":y(a)("el.colorpicker.description",{color:se.modelValue||""}),"aria-disabled":y(l),tabindex:y(l)?-1:se.tabindex,onKeydown:fe,onFocus:y(w),onBlur:y(_)}),[y(l)?(N(),q("div",{key:0,class:F(y(o).be("picker","mask"))},null,2)):ge("v-if",!0),Z("div",{class:F(y(o).be("picker","trigger")),onClick:z},[Z("span",{class:F([y(o).be("picker","color"),y(o).is("alpha",se.showAlpha)])},[Z("span",{class:F(y(o).be("picker","color-inner")),style:Xe({backgroundColor:y(E)})},[vt(ee(y(Ke),{class:F([y(o).be("picker","icon"),y(o).is("icon-arrow-down")])},{default:le(()=>[ee(y(tl))]),_:1},8,["class"]),[[Wt,se.modelValue||T.value]]),vt(ee(y(Ke),{class:F([y(o).be("picker","empty"),y(o).is("icon-close")])},{default:le(()=>[ee(y(gi))]),_:1},8,["class"]),[[Wt,!se.modelValue&&!T.value]])],6)],2)],2)],16,["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex","onFocus","onBlur"])]),_:1},8,["visible","popper-class","teleported","transition","onHide"]))}}));var sme=De(ime,[["__file","color-picker.vue"]]);const lme=pt(sme),ume=Ie(X({a11y:{type:Boolean,default:!0},locale:{type:ce(Object)},size:or,button:{type:ce(Object)},experimentalFeatures:{type:ce(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:ce(Object)},zIndex:Number,namespace:{type:String,default:"el"}},Hh)),Qo={},cme=te({name:"ElConfigProvider",props:ume,setup(e,{slots:t}){xe(()=>e.message,r=>{Object.assign(Qo,r!=null?r:{})},{immediate:!0,deep:!0});const n=nz(e);return()=>ve(t,"default",{config:n==null?void 0:n.value})}}),rb=pt(cme),fme=te({name:"ElContainer"}),dme=te(_e(X({},fme),{props:{direction:{type:String}},setup(e){const t=e,n=Yn(),r=Ae("container"),a=R(()=>t.direction==="vertical"?!0:t.direction==="horizontal"?!1:n&&n.default?n.default().some(i=>{const s=i.type.name;return s==="ElHeader"||s==="ElFooter"}):!1);return(o,i)=>(N(),q("section",{class:F([y(r).b(),y(r).is("vertical",y(a))])},[ve(o.$slots,"default")],2))}}));var hme=De(dme,[["__file","container.vue"]]);const pme=te({name:"ElAside"}),vme=te(_e(X({},pme),{props:{width:{type:String,default:null}},setup(e){const t=e,n=Ae("aside"),r=R(()=>t.width?n.cssVarBlock({width:t.width}):{});return(a,o)=>(N(),q("aside",{class:F(y(n).b()),style:Xe(y(r))},[ve(a.$slots,"default")],6))}}));var bH=De(vme,[["__file","aside.vue"]]);const gme=te({name:"ElFooter"}),mme=te(_e(X({},gme),{props:{height:{type:String,default:null}},setup(e){const t=e,n=Ae("footer"),r=R(()=>t.height?n.cssVarBlock({height:t.height}):{});return(a,o)=>(N(),q("footer",{class:F(y(n).b()),style:Xe(y(r))},[ve(a.$slots,"default")],6))}}));var _H=De(mme,[["__file","footer.vue"]]);const yme=te({name:"ElHeader"}),bme=te(_e(X({},yme),{props:{height:{type:String,default:null}},setup(e){const t=e,n=Ae("header"),r=R(()=>t.height?n.cssVarBlock({height:t.height}):{});return(a,o)=>(N(),q("header",{class:F(y(n).b()),style:Xe(y(r))},[ve(a.$slots,"default")],6))}}));var wH=De(bme,[["__file","header.vue"]]);const _me=te({name:"ElMain"}),wme=te(_e(X({},_me),{setup(e){const t=Ae("main");return(n,r)=>(N(),q("main",{class:F(y(t).b())},[ve(n.$slots,"default")],2))}}));var SH=De(wme,[["__file","main.vue"]]);const Sme=pt(hme,{Aside:bH,Footer:_H,Header:wH,Main:SH}),Cme=Dn(bH),Tme=Dn(_H),xme=Dn(wH),Eme=Dn(SH);var Wy={exports:{}},kme=Wy.exports,b6;function Ame(){return b6||(b6=1,function(e,t){(function(n,r){e.exports=r()})(kme,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,o=/\d\d/,i=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,l={},u=function(g){return(g=+g)+(g>68?1900:2e3)},c=function(g){return function(m){this[g]=+m}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=function(m){if(!m||m==="Z")return 0;var w=m.match(/([+-]|\d\d)/g),_=60*w[1]+(+w[2]||0);return _===0?0:w[0]==="+"?-_:_}(g)}],h=function(g){var m=l[g];return m&&(m.indexOf?m:m.s.concat(m.f))},d=function(g,m){var w,_=l.meridiem;if(_){for(var b=1;b<=24;b+=1)if(g.indexOf(_(b,0,m))>-1){w=b>12;break}}else w=g===(m?"pm":"PM");return w},p={A:[s,function(g){this.afternoon=d(g,!1)}],a:[s,function(g){this.afternoon=d(g,!0)}],Q:[a,function(g){this.month=3*(g-1)+1}],S:[a,function(g){this.milliseconds=100*+g}],SS:[o,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[i,c("seconds")],ss:[i,c("seconds")],m:[i,c("minutes")],mm:[i,c("minutes")],H:[i,c("hours")],h:[i,c("hours")],HH:[i,c("hours")],hh:[i,c("hours")],D:[i,c("day")],DD:[o,c("day")],Do:[s,function(g){var m=l.ordinal,w=g.match(/\d+/);if(this.day=w[0],m)for(var _=1;_<=31;_+=1)m(_).replace(/\[|\]/g,"")===g&&(this.day=_)}],w:[i,c("week")],ww:[o,c("week")],M:[i,c("month")],MM:[o,c("month")],MMM:[s,function(g){var m=h("months"),w=(h("monthsShort")||m.map(function(_){return _.slice(0,3)})).indexOf(g)+1;if(w<1)throw new Error;this.month=w%12||w}],MMMM:[s,function(g){var m=h("months").indexOf(g)+1;if(m<1)throw new Error;this.month=m%12||m}],Y:[/[+-]?\d+/,c("year")],YY:[o,function(g){this.year=u(g)}],YYYY:[/\d{4}/,c("year")],Z:f,ZZ:f};function v(g){var m,w;m=g,w=l&&l.formats;for(var _=(g=m.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(k,A,P){var $=P&&P.toUpperCase();return A||w[P]||n[P]||w[$].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(B,I,M){return I||M.slice(1)})})).match(r),b=_.length,S=0;S-1)return new Date((O==="X"?1e3:1)*L);var V=v(O)(L),j=V.year,U=V.month,ne=V.day,ie=V.hours,fe=V.minutes,G=V.seconds,oe=V.milliseconds,se=V.zone,ue=V.week,he=new Date,ae=ne||(j||U?1:he.getDate()),K=j||he.getFullYear(),Q=0;j&&!U||(Q=U>0?U-1:he.getMonth());var pe,we=ie||0,me=fe||0,be=G||0,Ce=oe||0;return se?new Date(Date.UTC(K,Q,ae,we,me,be,Ce+60*se.offset*1e3)):D?new Date(Date.UTC(K,Q,ae,we,me,be,Ce)):(pe=new Date(K,Q,ae,we,me,be,Ce),ue&&(pe=z(pe).week(ue).toDate()),pe)}catch(ke){return new Date("")}}(C,E,T,w),this.init(),$&&$!==!0&&(this.$L=this.locale($).$L),P&&C!=this.format(E)&&(this.$d=new Date("")),l={}}else if(E instanceof Array)for(var B=E.length,I=1;I<=B;I+=1){x[1]=E[I-1];var M=w.apply(this,x);if(M.isValid()){this.$d=M.$d,this.$L=M.$L,this.init();break}I===B&&(this.$d=new Date(""))}else b.call(this,S)}}})}(Wy)),Wy.exports}var Mme=Ame();const r5=ys(Mme);var Uy={exports:{}},Ome=Uy.exports,_6;function Pme(){return _6||(_6=1,function(e,t){(function(n,r){e.exports=r()})(Ome,function(){return function(n,r){var a=r.prototype,o=a.format;a.format=function(i){var s=this,l=this.$locale();if(!this.isValid())return o.bind(this)(i);var u=this.$utils(),c=(i||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(f){switch(f){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return l.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return l.ordinal(s.week(),"W");case"w":case"ww":return u.s(s.week(),f==="w"?1:2,"0");case"W":case"WW":return u.s(s.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return u.s(String(s.$H===0?24:s.$H),f==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return f}});return o.bind(this)(c)}}})}(Uy)),Uy.exports}var Rme=Pme();const Ime=ys(Rme);var jy={exports:{}},Dme=jy.exports,w6;function Lme(){return w6||(w6=1,function(e,t){(function(n,r){e.exports=r()})(Dme,function(){var n="week",r="year";return function(a,o,i){var s=o.prototype;s.week=function(l){if(l===void 0&&(l=null),l!==null)return this.add(7*(l-this.week()),"day");var u=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var c=i(this).startOf(r).add(1,r).date(u),f=i(this).endOf(n);if(c.isBefore(f))return 1}var h=i(this).startOf(r).date(u).startOf(n).subtract(1,"millisecond"),d=this.diff(h,n,!0);return d<0?i(this).startOf("week").week():Math.ceil(d)},s.weeks=function(l){return l===void 0&&(l=null),this.week(l)}}})}(jy)),jy.exports}var $me=Lme();const Nme=ys($me);var Ky={exports:{}},Bme=Ky.exports,S6;function Fme(){return S6||(S6=1,function(e,t){(function(n,r){e.exports=r()})(Bme,function(){return function(n,r){r.prototype.weekYear=function(){var a=this.month(),o=this.week(),i=this.year();return o===1&&a===11?i+1:a===0&&o>=52?i-1:i}}})}(Ky)),Ky.exports}var Vme=Fme();const zme=ys(Vme);var Gy={exports:{}},Hme=Gy.exports,C6;function Wme(){return C6||(C6=1,function(e,t){(function(n,r){e.exports=r()})(Hme,function(){return function(n,r,a){r.prototype.dayOfYear=function(o){var i=Math.round((a(this).startOf("day")-a(this).startOf("year"))/864e5)+1;return o==null?i:this.add(o-i,"day")}}})}(Gy)),Gy.exports}var Ume=Wme();const jme=ys(Ume);var qy={exports:{}},Kme=qy.exports,T6;function Gme(){return T6||(T6=1,function(e,t){(function(n,r){e.exports=r()})(Kme,function(){return function(n,r){r.prototype.isSameOrAfter=function(a,o){return this.isSame(a,o)||this.isAfter(a,o)}}})}(qy)),qy.exports}var qme=Gme();const Yme=ys(qme);var Yy={exports:{}},Xme=Yy.exports,x6;function Zme(){return x6||(x6=1,function(e,t){(function(n,r){e.exports=r()})(Xme,function(){return function(n,r){r.prototype.isSameOrBefore=function(a,o){return this.isSame(a,o)||this.isBefore(a,o)}}})}(Yy)),Yy.exports}var Jme=Zme();const Qme=ys(Jme),E6=["hours","minutes","seconds"],Hx="HH:mm:ss",od="YYYY-MM-DD",e0e={date:od,dates:od,week:"gggg[w]ww",year:"YYYY",years:"YYYY",month:"YYYY-MM",months:"YYYY-MM",datetime:`${od} ${Hx}`,monthrange:"YYYY-MM",yearrange:"YYYY",daterange:od,datetimerange:`${od} ${Hx}`},CH=Ie({disabledHours:{type:ce(Function)},disabledMinutes:{type:ce(Function)},disabledSeconds:{type:ce(Function)}}),TH=Ie({visible:Boolean,actualVisible:{type:Boolean,default:void 0},format:{type:String,default:""}}),a5=Ie(_e(X(X(_e(X({id:{type:ce([Array,String])},name:{type:ce([Array,String])},popperClass:{type:String,default:""},format:String,valueFormat:String,dateFormat:String,timeFormat:String,type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:ce([String,Object]),default:bu},editable:{type:Boolean,default:!0},prefixIcon:{type:ce([String,Object]),default:""},size:or,readonly:Boolean,disabled:Boolean,placeholder:{type:String,default:""},popperOptions:{type:ce(Object),default:()=>({})},modelValue:{type:ce([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:ce([Date,Array])},defaultTime:{type:ce([Date,Array])},isRange:Boolean},CH),{disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,tabindex:{type:ce([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean,placement:{type:ce(String),values:rl,default:"bottom"},fallbackPlacements:{type:ce(Array),default:["bottom","top","right","left"]}}),Hh),Pr(["ariaLabel"])),{showNow:{type:Boolean,default:!0}})),t0e=Ie({id:{type:ce(Array)},name:{type:ce(Array)},modelValue:{type:ce([Array,String])},startPlaceholder:String,endPlaceholder:String}),n0e=te({name:"PickerRangeTrigger",inheritAttrs:!1}),r0e=te(_e(X({},n0e),{props:t0e,emits:["mouseenter","mouseleave","click","touchstart","focus","blur","startInput","endInput","startChange","endChange"],setup(e,{expose:t,emit:n}){const r=Z_(),a=Ae("date"),o=Ae("range"),i=H(),s=H(),{wrapperRef:l,isFocused:u}=Wh(i),c=b=>{n("click",b)},f=b=>{n("mouseenter",b)},h=b=>{n("mouseleave",b)},d=b=>{n("mouseenter",b)},p=b=>{n("startInput",b)},v=b=>{n("endInput",b)},g=b=>{n("startChange",b)},m=b=>{n("endChange",b)};return t({focus:()=>{var b;(b=i.value)==null||b.focus()},blur:()=>{var b,S;(b=i.value)==null||b.blur(),(S=s.value)==null||S.blur()}}),(b,S)=>(N(),q("div",{ref_key:"wrapperRef",ref:l,class:F([y(a).is("active",y(u)),b.$attrs.class]),style:Xe(b.$attrs.style),onClick:c,onMouseenter:f,onMouseleave:h,onTouchstartPassive:d},[ve(b.$slots,"prefix"),Z("input",Et(y(r),{id:b.id&&b.id[0],ref_key:"inputRef",ref:i,name:b.name&&b.name[0],placeholder:b.startPlaceholder,value:b.modelValue&&b.modelValue[0],class:y(o).b("input"),onInput:p,onChange:g}),null,16,["id","name","placeholder","value"]),ve(b.$slots,"range-separator"),Z("input",Et(y(r),{id:b.id&&b.id[1],ref_key:"endInputRef",ref:s,name:b.name&&b.name[1],placeholder:b.endPlaceholder,value:b.modelValue&&b.modelValue[1],class:y(o).b("input"),onInput:v,onChange:m}),null,16,["id","name","placeholder","value"]),ve(b.$slots,"suffix")],38))}}));var a0e=De(r0e,[["__file","picker-range-trigger.vue"]]);const o0e=te({name:"Picker"}),i0e=te(_e(X({},o0e),{props:a5,emits:["update:modelValue","change","focus","blur","clear","calendar-change","panel-change","visible-change","keydown"],setup(e,{expose:t,emit:n}){const r=e,a=mu(),{lang:o}=$t(),i=Ae("date"),s=Ae("input"),l=Ae("range"),{form:u,formItem:c}=qr(),f=ze("ElPopperOptions",{}),{valueOnClear:h}=G_(r,null),d=H(),p=H(),v=H(!1),g=H(!1),m=H(null);let w=!1;const{isFocused:_,handleFocus:b,handleBlur:S}=Wh(p,{beforeFocus(){return r.readonly||D.value},afterFocus(){v.value=!0},beforeBlur(W){var Ee;return!w&&((Ee=d.value)==null?void 0:Ee.isFocusInsideContent(W))},afterBlur(){ke(),v.value=!1,w=!1,r.validateEvent&&(c==null||c.validate("blur").catch(W=>void 0))}}),C=R(()=>[i.b("editor"),i.bm("editor",r.type),s.e("wrapper"),i.is("disabled",D.value),i.is("active",v.value),l.b("editor"),we?l.bm("editor",we.value):"",a.class]),T=R(()=>[s.e("icon"),l.e("close-icon"),oe.value?"":l.e("close-icon--hidden")]);xe(v,W=>{W?qe(()=>{W&&(m.value=r.modelValue)}):(Ce.value=null,qe(()=>{x(r.modelValue)}))});const x=(W,Ee)=>{(Ee||!r6(W,m.value))&&(n("change",W),r.validateEvent&&(c==null||c.validate("change").catch(Fe=>void 0)))},E=W=>{if(!r6(r.modelValue,W)){let Ee;Me(W)?Ee=W.map(Fe=>o6(Fe,r.valueFormat,o.value)):W&&(Ee=o6(W,r.valueFormat,o.value)),n("update:modelValue",W&&Ee,o.value)}},k=W=>{n("keydown",W)},A=R(()=>p.value?Array.from(p.value.$el.querySelectorAll("input")):[]),P=(W,Ee,Fe)=>{const tt=A.value;tt.length&&(!Fe||Fe==="min"?(tt[0].setSelectionRange(W,Ee),tt[0].focus()):Fe==="max"&&(tt[1].setSelectionRange(W,Ee),tt[1].focus()))},$=(W="",Ee=!1)=>{v.value=Ee;let Fe;Me(W)?Fe=W.map(tt=>tt.toDate()):Fe=W&&W.toDate(),Ce.value=null,E(Fe)},B=()=>{g.value=!0},I=()=>{n("visible-change",!0)},M=()=>{g.value=!1,v.value=!1,n("visible-change",!1)},L=()=>{v.value=!0},O=()=>{v.value=!1},D=R(()=>r.disabled||(u==null?void 0:u.disabled)),z=R(()=>{let W;if(ue.value?Mt.value.getDefaultValue&&(W=Mt.value.getDefaultValue()):Me(r.modelValue)?W=r.modelValue.map(Ee=>a6(Ee,r.valueFormat,o.value)):W=a6(r.modelValue,r.valueFormat,o.value),Mt.value.getRangeAvailableTime){const Ee=Mt.value.getRangeAvailableTime(W);Cr(Ee,W)||(W=Ee,ue.value||E(x0(W)))}return Me(W)&&W.some(Ee=>!Ee)&&(W=[]),W}),V=R(()=>{if(!Mt.value.panelReady)return"";const W=Pe(z.value);return Me(Ce.value)?[Ce.value[0]||W&&W[0]||"",Ce.value[1]||W&&W[1]||""]:Ce.value!==null?Ce.value:!U.value&&ue.value||!v.value&&ue.value?"":W?ne.value||ie.value||fe.value?W.join(", "):W:""}),j=R(()=>r.type.includes("time")),U=R(()=>r.type.startsWith("time")),ne=R(()=>r.type==="dates"),ie=R(()=>r.type==="months"),fe=R(()=>r.type==="years"),G=R(()=>r.prefixIcon||(j.value?uz:gue)),oe=H(!1),se=W=>{r.readonly||D.value||(oe.value&&(W.stopPropagation(),Mt.value.handleClear?Mt.value.handleClear():E(h.value),x(h.value,!0),oe.value=!1,M()),n("clear"))},ue=R(()=>{const{modelValue:W}=r;return!W||Me(W)&&!W.filter(Boolean).length}),he=W=>ut(this,null,function*(){var Ee;r.readonly||D.value||(((Ee=W.target)==null?void 0:Ee.tagName)!=="INPUT"||_.value)&&(v.value=!0)}),ae=()=>{r.readonly||D.value||!ue.value&&r.clearable&&(oe.value=!0)},K=()=>{oe.value=!1},Q=W=>{var Ee;r.readonly||D.value||(((Ee=W.touches[0].target)==null?void 0:Ee.tagName)!=="INPUT"||_.value)&&(v.value=!0)},pe=R(()=>r.type.includes("range")),we=Jn(),me=R(()=>{var W,Ee;return(Ee=(W=y(d))==null?void 0:W.popperRef)==null?void 0:Ee.contentRef}),be=M3(p,W=>{const Ee=y(me),Fe=Xa(p);Ee&&(W.target===Ee||W.composedPath().includes(Ee))||W.target===Fe||Fe&&W.composedPath().includes(Fe)||(v.value=!1)});fn(()=>{be==null||be()});const Ce=H(null),ke=()=>{if(Ce.value){const W=Oe(V.value);W&&He(W)&&(E(x0(W)),Ce.value=null)}Ce.value===""&&(E(h.value),x(h.value),Ce.value=null)},Oe=W=>W?Mt.value.parseUserInput(W):null,Pe=W=>W?Mt.value.formatToString(W):null,He=W=>Mt.value.isValidValue(W),Te=W=>ut(this,null,function*(){if(r.readonly||D.value)return;const{code:Ee}=W;if(k(W),Ee===Ue.esc){v.value===!0&&(v.value=!1,W.preventDefault(),W.stopPropagation());return}if(Ee===Ue.down&&(Mt.value.handleFocusPicker&&(W.preventDefault(),W.stopPropagation()),v.value===!1&&(v.value=!0,yield qe()),Mt.value.handleFocusPicker)){Mt.value.handleFocusPicker();return}if(Ee===Ue.tab){w=!0;return}if(Ee===Ue.enter||Ee===Ue.numpadEnter){(Ce.value===null||Ce.value===""||He(Oe(V.value)))&&(ke(),v.value=!1),W.stopPropagation();return}if(Ce.value){W.stopPropagation();return}Mt.value.handleKeydownInput&&Mt.value.handleKeydownInput(W)}),Be=W=>{Ce.value=W,v.value||(v.value=!0)},Je=W=>{const Ee=W.target;Ce.value?Ce.value=[Ee.value,Ce.value[1]]:Ce.value=[Ee.value,null]},dt=W=>{const Ee=W.target;Ce.value?Ce.value=[Ce.value[0],Ee.value]:Ce.value=[null,Ee.value]},ct=()=>{var W;const Ee=Ce.value,Fe=Oe(Ee&&Ee[0]),tt=y(z);if(Fe&&Fe.isValid()){Ce.value=[Pe(Fe),((W=V.value)==null?void 0:W[1])||null];const at=[Fe,tt&&(tt[1]||null)];He(at)&&(E(x0(at)),Ce.value=null)}},wt=()=>{var W;const Ee=y(Ce),Fe=Oe(Ee&&Ee[1]),tt=y(z);if(Fe&&Fe.isValid()){Ce.value=[((W=y(V))==null?void 0:W[0])||null,Pe(Fe)];const at=[tt&&tt[0],Fe];He(at)&&(E(x0(at)),Ce.value=null)}},Mt=H({}),Zt=W=>{Mt.value[W[0]]=W[1],Mt.value.panelReady=!0},Se=W=>{n("calendar-change",W)},Ne=(W,Ee,Fe)=>{n("panel-change",W,Ee,Fe)},Y=()=>{var W;(W=p.value)==null||W.focus()},J=()=>{var W;(W=p.value)==null||W.blur()};return kt("EP_PICKER_BASE",{props:r}),t({focus:Y,blur:J,handleOpen:L,handleClose:O,onPick:$}),(W,Ee)=>(N(),ye(y(Kr),Et({ref_key:"refPopper",ref:d,visible:v.value,effect:"light",pure:"",trigger:"click"},W.$attrs,{role:"dialog",teleported:"",transition:`${y(i).namespace.value}-zoom-in-top`,"popper-class":[`${y(i).namespace.value}-picker__popper`,W.popperClass],"popper-options":y(f),"fallback-placements":W.fallbackPlacements,"gpu-acceleration":!1,placement:W.placement,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:B,onShow:I,onHide:M}),{default:le(()=>[y(pe)?(N(),ye(a0e,{key:1,id:W.id,ref_key:"inputRef",ref:p,"model-value":y(V),name:W.name,disabled:y(D),readonly:!W.editable||W.readonly,"start-placeholder":W.startPlaceholder,"end-placeholder":W.endPlaceholder,class:F(y(C)),style:Xe(W.$attrs.style),"aria-label":W.ariaLabel,tabindex:W.tabindex,autocomplete:"off",role:"combobox",onClick:he,onFocus:y(b),onBlur:y(S),onStartInput:Je,onStartChange:ct,onEndInput:dt,onEndChange:wt,onMousedown:he,onMouseenter:ae,onMouseleave:K,onTouchstartPassive:Q,onKeydown:Te},{prefix:le(()=>[y(G)?(N(),ye(y(Ke),{key:0,class:F([y(s).e("icon"),y(l).e("icon")])},{default:le(()=>[(N(),ye(bt(y(G))))]),_:1},8,["class"])):ge("v-if",!0)]),"range-separator":le(()=>[ve(W.$slots,"range-separator",{},()=>[Z("span",{class:F(y(l).b("separator"))},Re(W.rangeSeparator),3)])]),suffix:le(()=>[W.clearIcon?(N(),ye(y(Ke),{key:0,class:F(y(T)),onMousedown:nt(y(rn),["prevent"]),onClick:se},{default:le(()=>[(N(),ye(bt(W.clearIcon)))]),_:1},8,["class","onMousedown"])):ge("v-if",!0)]),_:3},8,["id","model-value","name","disabled","readonly","start-placeholder","end-placeholder","class","style","aria-label","tabindex","onFocus","onBlur"])):(N(),ye(y(fa),{key:0,id:W.id,ref_key:"inputRef",ref:p,"container-role":"combobox","model-value":y(V),name:W.name,size:y(we),disabled:y(D),placeholder:W.placeholder,class:F([y(i).b("editor"),y(i).bm("editor",W.type),W.$attrs.class]),style:Xe(W.$attrs.style),readonly:!W.editable||W.readonly||y(ne)||y(ie)||y(fe)||W.type==="week","aria-label":W.ariaLabel,tabindex:W.tabindex,"validate-event":!1,onInput:Be,onFocus:y(b),onBlur:y(S),onKeydown:Te,onChange:ke,onMousedown:he,onMouseenter:ae,onMouseleave:K,onTouchstartPassive:Q,onClick:nt(()=>{},["stop"])},{prefix:le(()=>[y(G)?(N(),ye(y(Ke),{key:0,class:F(y(s).e("icon")),onMousedown:nt(he,["prevent"]),onTouchstartPassive:Q},{default:le(()=>[(N(),ye(bt(y(G))))]),_:1},8,["class","onMousedown"])):ge("v-if",!0)]),suffix:le(()=>[oe.value&&W.clearIcon?(N(),ye(y(Ke),{key:0,class:F(`${y(s).e("icon")} clear-icon`),onMousedown:nt(y(rn),["prevent"]),onClick:se},{default:le(()=>[(N(),ye(bt(W.clearIcon)))]),_:1},8,["class","onMousedown"])):ge("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","aria-label","tabindex","onFocus","onBlur","onClick"]))]),content:le(()=>[ve(W.$slots,"default",{visible:v.value,actualVisible:g.value,parsedValue:y(z),format:W.format,dateFormat:W.dateFormat,timeFormat:W.timeFormat,unlinkPanels:W.unlinkPanels,type:W.type,defaultValue:W.defaultValue,showNow:W.showNow,onPick:$,onSelectRange:P,onSetPickerOption:Zt,onCalendarChange:Se,onPanelChange:Ne,onMousedown:nt(()=>{},["stop"])})]),_:3},16,["visible","transition","popper-class","popper-options","fallback-placements","placement"]))}}));var xH=De(i0e,[["__file","picker.vue"]]);const s0e=Ie(_e(X({},TH),{datetimeRole:String,parsedValue:{type:ce(Object)}})),EH=({getAvailableHours:e,getAvailableMinutes:t,getAvailableSeconds:n})=>{const r=(i,s,l,u)=>{const c={hour:e,minute:t,second:n};let f=i;return["hour","minute","second"].forEach(h=>{if(c[h]){let d;const p=c[h];switch(h){case"minute":{d=p(f.hour(),s,u);break}case"second":{d=p(f.hour(),f.minute(),s,u);break}default:{d=p(s,u);break}}if(d!=null&&d.length&&!d.includes(f[h]())){const v=l?0:d.length-1;f=f[h](d[v])}}}),f},a={};return{timePickerOptions:a,getAvailableTime:r,onSetOption:([i,s])=>{a[i]=s}}},JS=e=>{const t=(r,a)=>r||a,n=r=>r!==!0;return e.map(t).filter(n)},kH=(e,t,n)=>({getHoursList:(i,s)=>qS(24,e&&(()=>e==null?void 0:e(i,s))),getMinutesList:(i,s,l)=>qS(60,t&&(()=>t==null?void 0:t(i,s,l))),getSecondsList:(i,s,l,u)=>qS(60,n&&(()=>n==null?void 0:n(i,s,l,u)))}),AH=(e,t,n)=>{const{getHoursList:r,getMinutesList:a,getSecondsList:o}=kH(e,t,n);return{getAvailableHours:(u,c)=>JS(r(u,c)),getAvailableMinutes:(u,c,f)=>JS(a(u,c,f)),getAvailableSeconds:(u,c,f,h)=>JS(o(u,c,f,h))}},MH=e=>{const t=H(e.parsedValue);return xe(()=>e.visible,n=>{n||(t.value=e.parsedValue)}),t},l0e=Ie(X({role:{type:String,required:!0},spinnerDate:{type:ce(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:ce(String),default:""}},CH)),u0e=100,c0e=600,ab={beforeMount(e,t){const n=t.value,{interval:r=u0e,delay:a=c0e}=Ge(n)?{}:n;let o,i;const s=()=>Ge(n)?n():n.handler(),l=()=>{i&&(clearTimeout(i),i=void 0),o&&(clearInterval(o),o=void 0)};e.addEventListener("mousedown",u=>{u.button===0&&(l(),s(),document.addEventListener("mouseup",()=>l(),{once:!0}),i=setTimeout(()=>{o=setInterval(()=>{s()},r)},a))})}},f0e=te({__name:"basic-time-spinner",props:l0e,emits:["change","select-range","set-option"],setup(e,{emit:t}){const n=e,r=ze("EP_PICKER_BASE"),{isRange:a}=r.props,o=Ae("time"),{getHoursList:i,getMinutesList:s,getSecondsList:l}=kH(n.disabledHours,n.disabledMinutes,n.disabledSeconds);let u=!1;const c=H(),f=H(),h=H(),d=H(),p={hours:f,minutes:h,seconds:d},v=R(()=>n.showSeconds?E6:E6.slice(0,2)),g=R(()=>{const{spinnerDate:V}=n,j=V.hour(),U=V.minute(),ne=V.second();return{hours:j,minutes:U,seconds:ne}}),m=R(()=>{const{hours:V,minutes:j}=y(g),{role:U,spinnerDate:ne}=n,ie=a?void 0:ne;return{hours:i(U,ie),minutes:s(V,U,ie),seconds:l(V,j,U,ie)}}),w=R(()=>{const{hours:V,minutes:j,seconds:U}=y(g);return{hours:GS(V,23),minutes:GS(j,59),seconds:GS(U,59)}}),_=Fa(V=>{u=!1,C(V)},200),b=V=>{if(!!!n.amPmMode)return"";const U=n.amPmMode==="A";let ne=V<12?" am":" pm";return U&&(ne=ne.toUpperCase()),ne},S=V=>{let j;switch(V){case"hours":j=[0,2];break;case"minutes":j=[3,5];break;case"seconds":j=[6,8];break}const[U,ne]=j;t("select-range",U,ne),c.value=V},C=V=>{E(V,y(g)[V])},T=()=>{C("hours"),C("minutes"),C("seconds")},x=V=>V.querySelector(`.${o.namespace.value}-scrollbar__wrap`),E=(V,j)=>{if(n.arrowControl)return;const U=y(p[V]);U&&U.$el&&(x(U.$el).scrollTop=Math.max(0,j*k(V)))},k=V=>{const j=y(p[V]),U=j==null?void 0:j.$el.querySelector("li");return U&&Number.parseFloat(Ol(U,"height"))||0},A=()=>{$(1)},P=()=>{$(-1)},$=V=>{c.value||S("hours");const j=c.value,U=y(g)[j],ne=c.value==="hours"?24:60,ie=B(j,U,V,ne);I(j,ie),E(j,ie),qe(()=>S(j))},B=(V,j,U,ne)=>{let ie=(j+U+ne)%ne;const fe=y(m)[V];for(;fe[ie]&&ie!==j;)ie=(ie+U+ne)%ne;return ie},I=(V,j)=>{if(y(m)[V][j])return;const{hours:ie,minutes:fe,seconds:G}=y(g);let oe;switch(V){case"hours":oe=n.spinnerDate.hour(j).minute(fe).second(G);break;case"minutes":oe=n.spinnerDate.hour(ie).minute(j).second(G);break;case"seconds":oe=n.spinnerDate.hour(ie).minute(fe).second(j);break}t("change",oe)},M=(V,{value:j,disabled:U})=>{U||(I(V,j),S(V),E(V,j))},L=V=>{const j=y(p[V]);if(!j)return;u=!0,_(V);const U=Math.min(Math.round((x(j.$el).scrollTop-(O(V)*.5-10)/k(V)+3)/k(V)),V==="hours"?23:59);I(V,U)},O=V=>y(p[V]).$el.offsetHeight,D=()=>{const V=j=>{const U=y(p[j]);U&&U.$el&&(x(U.$el).onscroll=()=>{L(j)})};V("hours"),V("minutes"),V("seconds")};ft(()=>{qe(()=>{!n.arrowControl&&D(),T(),n.role==="start"&&S("hours")})});const z=(V,j)=>{p[j].value=V!=null?V:void 0};return t("set-option",[`${n.role}_scrollDown`,$]),t("set-option",[`${n.role}_emitSelectRange`,S]),xe(()=>n.spinnerDate,()=>{u||T()}),(V,j)=>(N(),q("div",{class:F([y(o).b("spinner"),{"has-seconds":V.showSeconds}])},[V.arrowControl?ge("v-if",!0):(N(!0),q(je,{key:0},Rt(y(v),U=>(N(),ye(y(nl),{key:U,ref_for:!0,ref:ne=>z(ne,U),class:F(y(o).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":y(o).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:ne=>S(U),onMousemove:ne=>C(U)},{default:le(()=>[(N(!0),q(je,null,Rt(y(m)[U],(ne,ie)=>(N(),q("li",{key:ie,class:F([y(o).be("spinner","item"),y(o).is("active",ie===y(g)[U]),y(o).is("disabled",ne)]),onClick:fe=>M(U,{value:ie,disabled:ne})},[U==="hours"?(N(),q(je,{key:0},[At(Re(("0"+(V.amPmMode?ie%12||12:ie)).slice(-2))+Re(b(ie)),1)],64)):(N(),q(je,{key:1},[At(Re(("0"+ie).slice(-2)),1)],64))],10,["onClick"]))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),V.arrowControl?(N(!0),q(je,{key:1},Rt(y(v),U=>(N(),q("div",{key:U,class:F([y(o).be("spinner","wrapper"),y(o).is("arrow")]),onMouseenter:ne=>S(U)},[vt((N(),ye(y(Ke),{class:F(["arrow-up",y(o).be("spinner","arrow")])},{default:le(()=>[ee(y(P3))]),_:1},8,["class"])),[[y(ab),P]]),vt((N(),ye(y(Ke),{class:F(["arrow-down",y(o).be("spinner","arrow")])},{default:le(()=>[ee(y(tl))]),_:1},8,["class"])),[[y(ab),A]]),Z("ul",{class:F(y(o).be("spinner","list"))},[(N(!0),q(je,null,Rt(y(w)[U],(ne,ie)=>(N(),q("li",{key:ie,class:F([y(o).be("spinner","item"),y(o).is("active",ne===y(g)[U]),y(o).is("disabled",y(m)[U][ne])])},[y(et)(ne)?(N(),q(je,{key:0},[U==="hours"?(N(),q(je,{key:0},[At(Re(("0"+(V.amPmMode?ne%12||12:ne)).slice(-2))+Re(b(ne)),1)],64)):(N(),q(je,{key:1},[At(Re(("0"+ne).slice(-2)),1)],64))],64)):ge("v-if",!0)],2))),128))],2)],42,["onMouseenter"]))),128)):ge("v-if",!0)],2))}});var Wx=De(f0e,[["__file","basic-time-spinner.vue"]]);const d0e=te({__name:"panel-time-pick",props:s0e,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,r=ze("EP_PICKER_BASE"),{arrowControl:a,disabledHours:o,disabledMinutes:i,disabledSeconds:s,defaultValue:l}=r.props,{getAvailableHours:u,getAvailableMinutes:c,getAvailableSeconds:f}=AH(o,i,s),h=Ae("time"),{t:d,lang:p}=$t(),v=H([0,2]),g=MH(n),m=R(()=>_n(n.actualVisible)?`${h.namespace.value}-zoom-in-top`:""),w=R(()=>n.format.includes("ss")),_=R(()=>n.format.includes("A")?"A":n.format.includes("a")?"a":""),b=O=>{const D=it(O).locale(p.value),z=B(D);return D.isSame(z)},S=()=>{t("pick",g.value,!1)},C=(O=!1,D=!1)=>{D||t("pick",n.parsedValue,O)},T=O=>{if(!n.visible)return;const D=B(O).millisecond(0);t("pick",D,!0)},x=(O,D)=>{t("select-range",O,D),v.value=[O,D]},E=O=>{const D=[0,3].concat(w.value?[6]:[]),z=["hours","minutes"].concat(w.value?["seconds"]:[]),j=(D.indexOf(v.value[0])+O+D.length)%D.length;A.start_emitSelectRange(z[j])},k=O=>{const D=O.code,{left:z,right:V,up:j,down:U}=Ue;if([z,V].includes(D)){E(D===z?-1:1),O.preventDefault();return}if([j,U].includes(D)){const ne=D===j?-1:1;A.start_scrollDown(ne),O.preventDefault();return}},{timePickerOptions:A,onSetOption:P,getAvailableTime:$}=EH({getAvailableHours:u,getAvailableMinutes:c,getAvailableSeconds:f}),B=O=>$(O,n.datetimeRole||"",!0),I=O=>O?it(O,n.format).locale(p.value):null,M=O=>O?O.format(n.format):null,L=()=>it(l).locale(p.value);return t("set-picker-option",["isValidValue",b]),t("set-picker-option",["formatToString",M]),t("set-picker-option",["parseUserInput",I]),t("set-picker-option",["handleKeydownInput",k]),t("set-picker-option",["getRangeAvailableTime",B]),t("set-picker-option",["getDefaultValue",L]),(O,D)=>(N(),ye(yr,{name:y(m)},{default:le(()=>[O.actualVisible||O.visible?(N(),q("div",{key:0,class:F(y(h).b("panel"))},[Z("div",{class:F([y(h).be("panel","content"),{"has-seconds":y(w)}])},[ee(Wx,{ref:"spinner",role:O.datetimeRole||"start","arrow-control":y(a),"show-seconds":y(w),"am-pm-mode":y(_),"spinner-date":O.parsedValue,"disabled-hours":y(o),"disabled-minutes":y(i),"disabled-seconds":y(s),onChange:T,onSetOption:y(P),onSelectRange:x},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),Z("div",{class:F(y(h).be("panel","footer"))},[Z("button",{type:"button",class:F([y(h).be("panel","btn"),"cancel"]),onClick:S},Re(y(d)("el.datepicker.cancel")),3),Z("button",{type:"button",class:F([y(h).be("panel","btn"),"confirm"]),onClick:z=>C()},Re(y(d)("el.datepicker.confirm")),11,["onClick"])],2)],2)):ge("v-if",!0)]),_:1},8,["name"]))}});var ob=De(d0e,[["__file","panel-time-pick.vue"]]);const h0e=Ie(_e(X({},TH),{parsedValue:{type:ce(Array)}})),p0e=te({__name:"panel-time-range",props:h0e,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,r=(he,ae)=>{const K=[];for(let Q=he;Q<=ae;Q++)K.push(Q);return K},{t:a,lang:o}=$t(),i=Ae("time"),s=Ae("picker"),l=ze("EP_PICKER_BASE"),{arrowControl:u,disabledHours:c,disabledMinutes:f,disabledSeconds:h,defaultValue:d}=l.props,p=R(()=>[i.be("range-picker","body"),i.be("panel","content"),i.is("arrow",u),b.value?"has-seconds":""]),v=R(()=>[i.be("range-picker","body"),i.be("panel","content"),i.is("arrow",u),b.value?"has-seconds":""]),g=R(()=>n.parsedValue[0]),m=R(()=>n.parsedValue[1]),w=MH(n),_=()=>{t("pick",w.value,!1)},b=R(()=>n.format.includes("ss")),S=R(()=>n.format.includes("A")?"A":n.format.includes("a")?"a":""),C=(he=!1)=>{t("pick",[g.value,m.value],he)},T=he=>{k(he.millisecond(0),m.value)},x=he=>{k(g.value,he.millisecond(0))},E=he=>{const ae=he.map(Q=>it(Q).locale(o.value)),K=V(ae);return ae[0].isSame(K[0])&&ae[1].isSame(K[1])},k=(he,ae)=>{n.visible&&t("pick",[he,ae],!0)},A=R(()=>g.value>m.value),P=H([0,2]),$=(he,ae)=>{t("select-range",he,ae,"min"),P.value=[he,ae]},B=R(()=>b.value?11:8),I=(he,ae)=>{t("select-range",he,ae,"max");const K=y(B);P.value=[he+K,ae+K]},M=he=>{const ae=b.value?[0,3,6,11,14,17]:[0,3,8,11],K=["hours","minutes"].concat(b.value?["seconds"]:[]),pe=(ae.indexOf(P.value[0])+he+ae.length)%ae.length,we=ae.length/2;pe{const ae=he.code,{left:K,right:Q,up:pe,down:we}=Ue;if([K,Q].includes(ae)){M(ae===K?-1:1),he.preventDefault();return}if([pe,we].includes(ae)){const me=ae===pe?-1:1,be=P.value[0]{const K=c?c(he):[],Q=he==="start",we=(ae||(Q?m.value:g.value)).hour(),me=Q?r(we+1,23):r(0,we-1);return zS(K,me)},D=(he,ae,K)=>{const Q=f?f(he,ae):[],pe=ae==="start",we=K||(pe?m.value:g.value),me=we.hour();if(he!==me)return Q;const be=we.minute(),Ce=pe?r(be+1,59):r(0,be-1);return zS(Q,Ce)},z=(he,ae,K,Q)=>{const pe=h?h(he,ae,K):[],we=K==="start",me=Q||(we?m.value:g.value),be=me.hour(),Ce=me.minute();if(he!==be||ae!==Ce)return pe;const ke=me.second(),Oe=we?r(ke+1,59):r(0,ke-1);return zS(pe,Oe)},V=([he,ae])=>[fe(he,"start",!0,ae),fe(ae,"end",!1,he)],{getAvailableHours:j,getAvailableMinutes:U,getAvailableSeconds:ne}=AH(O,D,z),{timePickerOptions:ie,getAvailableTime:fe,onSetOption:G}=EH({getAvailableHours:j,getAvailableMinutes:U,getAvailableSeconds:ne}),oe=he=>he?Me(he)?he.map(ae=>it(ae,n.format).locale(o.value)):it(he,n.format).locale(o.value):null,se=he=>he?Me(he)?he.map(ae=>ae.format(n.format)):he.format(n.format):null,ue=()=>{if(Me(d))return d.map(ae=>it(ae).locale(o.value));const he=it(d).locale(o.value);return[he,he.add(60,"m")]};return t("set-picker-option",["formatToString",se]),t("set-picker-option",["parseUserInput",oe]),t("set-picker-option",["isValidValue",E]),t("set-picker-option",["handleKeydownInput",L]),t("set-picker-option",["getDefaultValue",ue]),t("set-picker-option",["getRangeAvailableTime",V]),(he,ae)=>he.actualVisible?(N(),q("div",{key:0,class:F([y(i).b("range-picker"),y(s).b("panel")])},[Z("div",{class:F(y(i).be("range-picker","content"))},[Z("div",{class:F(y(i).be("range-picker","cell"))},[Z("div",{class:F(y(i).be("range-picker","header"))},Re(y(a)("el.datepicker.startTime")),3),Z("div",{class:F(y(p))},[ee(Wx,{ref:"minSpinner",role:"start","show-seconds":y(b),"am-pm-mode":y(S),"arrow-control":y(u),"spinner-date":y(g),"disabled-hours":O,"disabled-minutes":D,"disabled-seconds":z,onChange:T,onSetOption:y(G),onSelectRange:$},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),Z("div",{class:F(y(i).be("range-picker","cell"))},[Z("div",{class:F(y(i).be("range-picker","header"))},Re(y(a)("el.datepicker.endTime")),3),Z("div",{class:F(y(v))},[ee(Wx,{ref:"maxSpinner",role:"end","show-seconds":y(b),"am-pm-mode":y(S),"arrow-control":y(u),"spinner-date":y(m),"disabled-hours":O,"disabled-minutes":D,"disabled-seconds":z,onChange:x,onSetOption:y(G),onSelectRange:I},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),Z("div",{class:F(y(i).be("panel","footer"))},[Z("button",{type:"button",class:F([y(i).be("panel","btn"),"cancel"]),onClick:K=>_()},Re(y(a)("el.datepicker.cancel")),11,["onClick"]),Z("button",{type:"button",class:F([y(i).be("panel","btn"),"confirm"]),disabled:y(A),onClick:K=>C()},Re(y(a)("el.datepicker.confirm")),11,["disabled","onClick"])],2)],2)):ge("v-if",!0)}});var v0e=De(p0e,[["__file","panel-time-range.vue"]]);it.extend(r5);var g0e=te({name:"ElTimePicker",install:null,props:_e(X({},a5),{isRange:{type:Boolean,default:!1}}),emits:["update:modelValue"],setup(e,t){const n=H(),[r,a]=e.isRange?["timerange",v0e]:["time",ob],o=i=>t.emit("update:modelValue",i);return kt("ElPopperOptions",e.popperOptions),t.expose({focus:()=>{var i;(i=n.value)==null||i.focus()},blur:()=>{var i;(i=n.value)==null||i.blur()},handleOpen:()=>{var i;(i=n.value)==null||i.handleOpen()},handleClose:()=>{var i;(i=n.value)==null||i.handleClose()}}),()=>{var i;const s=(i=e.format)!=null?i:Hx;return ee(xH,Et(e,{ref:n,type:r,format:s,"onUpdate:modelValue":o}),{default:l=>ee(a,l,null)})}}});const m0e=pt(g0e),rw=Symbol(),y0e=Ie(_e(X({},a5),{type:{type:ce(String),default:"date"}})),b0e=["date","dates","year","years","month","months","week","range"],o5=Ie({disabledDate:{type:ce(Function)},date:{type:ce(Object),required:!0},minDate:{type:ce(Object)},maxDate:{type:ce(Object)},parsedValue:{type:ce([Object,Array])},rangeState:{type:ce(Object),default:()=>({endDate:null,selecting:!1})}}),OH=Ie({type:{type:ce(String),required:!0,values:Epe},dateFormat:String,timeFormat:String,showNow:{type:Boolean,default:!0}}),i5=Ie({unlinkPanels:Boolean,parsedValue:{type:ce(Array)}}),s5=e=>({type:String,values:b0e,default:e}),_0e=Ie(_e(X({},OH),{parsedValue:{type:ce([Object,Array])},visible:{type:Boolean},format:{type:String,default:""}})),ch=e=>{if(!Me(e))return!1;const[t,n]=e;return it.isDayjs(t)&&it.isDayjs(n)&&t.isSameOrBefore(n)},l5=(e,{lang:t,unit:n,unlinkPanels:r})=>{let a;if(Me(e)){let[o,i]=e.map(s=>it(s).locale(t));return r||(i=o.add(1,n)),[o,i]}else e?a=it(e):a=it();return a=a.locale(t),[a,a.add(1,n)]},w0e=(e,t,{columnIndexOffset:n,startDate:r,nextEndDate:a,now:o,unit:i,relativeDateGetter:s,setCellMetadata:l,setRowMetadata:u})=>{for(let c=0;c{const r=it().locale(n).startOf("month").month(t).year(e),a=r.daysInMonth();return Kl(a).map(o=>r.add(o,"day").toDate())},cg=(e,t,n,r)=>{const a=it().year(e).month(t).startOf("month"),o=ib(e,t,n).find(i=>!(r!=null&&r(i)));return o?it(o).locale(n):a.locale(n)},Ux=(e,t,n)=>{const r=e.year();if(!(n!=null&&n(e.toDate())))return e.locale(t);const a=e.month();if(!ib(r,a,t).every(n))return cg(r,a,t,n);for(let o=0;o<12;o++)if(!ib(r,o,t).every(n))return cg(r,o,t,n);return e},S0e=Ie(_e(X({},o5),{cellClassName:{type:ce(Function)},showWeekNumber:Boolean,selectionMode:s5("date")})),C0e=["changerange","pick","select"],jx=(e="")=>["normal","today"].includes(e),T0e=(e,t)=>{const{lang:n}=$t(),r=H(),a=H(),o=H(),i=H(),s=H([[],[],[],[],[],[]]);let l=!1;const u=e.date.$locale().weekStart||7,c=e.date.locale("en").localeData().weekdaysShort().map(D=>D.toLowerCase()),f=R(()=>u>3?7-u:-u),h=R(()=>{const D=e.date.startOf("month");return D.subtract(D.day()||7,"day")}),d=R(()=>c.concat(c).slice(u,u+7)),p=R(()=>gV(y(b)).some(D=>D.isCurrent)),v=R(()=>{const D=e.date.startOf("month"),z=D.day()||7,V=D.daysInMonth(),j=D.subtract(1,"month").daysInMonth();return{startOfMonthDay:z,dateCountOfMonth:V,dateCountOfLastMonth:j}}),g=R(()=>e.selectionMode==="dates"?ca(e.parsedValue):[]),m=(D,{count:z,rowIndex:V,columnIndex:j})=>{const{startOfMonthDay:U,dateCountOfMonth:ne,dateCountOfLastMonth:ie}=y(v),fe=y(f);if(V>=0&&V<=1){const G=U+fe<0?7+U+fe:U+fe;if(j+V*7>=G)return D.text=z,!0;D.text=ie-(G-j%7)+1+V*7,D.type="prev-month"}else return z<=ne?D.text=z:(D.text=z-ne,D.type="next-month"),!0;return!1},w=(D,{columnIndex:z,rowIndex:V},j)=>{const{disabledDate:U,cellClassName:ne}=e,ie=y(g),fe=m(D,{count:j,rowIndex:V,columnIndex:z}),G=D.dayjs.toDate();return D.selected=ie.find(oe=>oe.isSame(D.dayjs,"day")),D.isSelected=!!D.selected,D.isCurrent=C(D),D.disabled=U==null?void 0:U(G),D.customClass=ne==null?void 0:ne(G),fe},_=D=>{if(e.selectionMode==="week"){const[z,V]=e.showWeekNumber?[1,7]:[0,6],j=O(D[z+1]);D[z].inRange=j,D[z].start=j,D[V].inRange=j,D[V].end=j}},b=R(()=>{const{minDate:D,maxDate:z,rangeState:V,showWeekNumber:j}=e,U=y(f),ne=y(s),ie="day";let fe=1;if(j)for(let G=0;G<6;G++)ne[G][0]||(ne[G][0]={type:"week",text:y(h).add(G*7+1,ie).week()});return w0e({row:6,column:7},ne,{startDate:D,columnIndexOffset:j?1:0,nextEndDate:V.endDate||z||V.selecting&&D||null,now:it().locale(y(n)).startOf(ie),unit:ie,relativeDateGetter:G=>y(h).add(G-U,ie),setCellMetadata:(...G)=>{w(...G,fe)&&(fe+=1)},setRowMetadata:_}),ne});xe(()=>e.date,()=>ut(void 0,null,function*(){var D;(D=y(r))!=null&&D.contains(document.activeElement)&&(yield qe(),yield S())}));const S=()=>ut(void 0,null,function*(){var D;return(D=y(a))==null?void 0:D.focus()}),C=D=>e.selectionMode==="date"&&jx(D.type)&&T(D,e.parsedValue),T=(D,z)=>z?it(z).locale(y(n)).isSame(e.date.date(Number(D.text)),"day"):!1,x=(D,z)=>{const V=D*7+(z-(e.showWeekNumber?1:0))-y(f);return y(h).add(V,"day")},E=D=>{var z;if(!e.rangeState.selecting)return;let V=D.target;if(V.tagName==="SPAN"&&(V=(z=V.parentNode)==null?void 0:z.parentNode),V.tagName==="DIV"&&(V=V.parentNode),V.tagName!=="TD")return;const j=V.parentNode.rowIndex-1,U=V.cellIndex;y(b)[j][U].disabled||(j!==y(o)||U!==y(i))&&(o.value=j,i.value=U,t("changerange",{selecting:!0,endDate:x(j,U)}))},k=D=>!y(p)&&(D==null?void 0:D.text)===1&&D.type==="normal"||D.isCurrent,A=D=>{l||y(p)||e.selectionMode!=="date"||L(D,!0)},P=D=>{D.target.closest("td")&&(l=!0)},$=D=>{D.target.closest("td")&&(l=!1)},B=D=>{!e.rangeState.selecting||!e.minDate?(t("pick",{minDate:D,maxDate:null}),t("select",!0)):(D>=e.minDate?t("pick",{minDate:e.minDate,maxDate:D}):t("pick",{minDate:D,maxDate:e.minDate}),t("select",!1))},I=D=>{const z=D.week(),V=`${D.year()}w${z}`;t("pick",{year:D.year(),week:z,value:V,date:D.startOf("week")})},M=(D,z)=>{const V=z?ca(e.parsedValue).filter(j=>(j==null?void 0:j.valueOf())!==D.valueOf()):ca(e.parsedValue).concat([D]);t("pick",V)},L=(D,z=!1)=>{const V=D.target.closest("td");if(!V)return;const j=V.parentNode.rowIndex-1,U=V.cellIndex,ne=y(b)[j][U];if(ne.disabled||ne.type==="week")return;const ie=x(j,U);switch(e.selectionMode){case"range":{B(ie);break}case"date":{t("pick",ie,z);break}case"week":{I(ie);break}case"dates":{M(ie,!!ne.selected);break}}},O=D=>{if(e.selectionMode!=="week")return!1;let z=e.date.startOf("day");if(D.type==="prev-month"&&(z=z.subtract(1,"month")),D.type==="next-month"&&(z=z.add(1,"month")),z=z.date(Number.parseInt(D.text,10)),e.parsedValue&&!Me(e.parsedValue)){const V=(e.parsedValue.day()-u+7)%7-1;return e.parsedValue.subtract(V,"day").isSame(z,"day")}return!1};return{WEEKS:d,rows:b,tbodyRef:r,currentCellRef:a,focus:S,isCurrent:C,isWeekActive:O,isSelectedCell:k,handlePickDate:L,handleMouseUp:$,handleMouseDown:P,handleMouseMove:E,handleFocus:A}},x0e=(e,{isCurrent:t,isWeekActive:n})=>{const r=Ae("date-table"),{t:a}=$t(),o=R(()=>[r.b(),{"is-week-mode":e.selectionMode==="week"}]),i=R(()=>a("el.datepicker.dateTablePrompt")),s=R(()=>a("el.datepicker.week"));return{tableKls:o,tableLabel:i,weekLabel:s,getCellClasses:c=>{const f=[];return jx(c.type)&&!c.disabled?(f.push("available"),c.type==="today"&&f.push("today")):f.push(c.type),t(c)&&f.push("current"),c.inRange&&(jx(c.type)||e.selectionMode==="week")&&(f.push("in-range"),c.start&&f.push("start-date"),c.end&&f.push("end-date")),c.disabled&&f.push("disabled"),c.selected&&f.push("selected"),c.customClass&&f.push(c.customClass),f.join(" ")},getRowKls:c=>[r.e("row"),{current:n(c)}],t:a}},E0e=Ie({cell:{type:ce(Object)}});var u5=te({name:"ElDatePickerCell",props:E0e,setup(e){const t=Ae("date-table-cell"),{slots:n}=ze(rw);return()=>{const{cell:r}=e;return ve(n,"default",X({},r),()=>{var a;return[ee("div",{class:t.b()},[ee("span",{class:t.e("text")},[(a=r==null?void 0:r.renderText)!=null?a:r==null?void 0:r.text])])]})}}});const k0e=te({__name:"basic-date-table",props:S0e,emits:C0e,setup(e,{expose:t,emit:n}){const r=e,{WEEKS:a,rows:o,tbodyRef:i,currentCellRef:s,focus:l,isCurrent:u,isWeekActive:c,isSelectedCell:f,handlePickDate:h,handleMouseUp:d,handleMouseDown:p,handleMouseMove:v,handleFocus:g}=T0e(r,n),{tableLabel:m,tableKls:w,weekLabel:_,getCellClasses:b,getRowKls:S,t:C}=x0e(r,{isCurrent:u,isWeekActive:c});return t({focus:l}),(T,x)=>(N(),q("table",{"aria-label":y(m),class:F(y(w)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:y(h),onMousemove:y(v),onMousedown:nt(y(p),["prevent"]),onMouseup:y(d)},[Z("tbody",{ref_key:"tbodyRef",ref:i},[Z("tr",null,[T.showWeekNumber?(N(),q("th",{key:0,scope:"col"},Re(y(_)),1)):ge("v-if",!0),(N(!0),q(je,null,Rt(y(a),(E,k)=>(N(),q("th",{key:k,"aria-label":y(C)("el.datepicker.weeksFull."+E),scope:"col"},Re(y(C)("el.datepicker.weeks."+E)),9,["aria-label"]))),128))]),(N(!0),q(je,null,Rt(y(o),(E,k)=>(N(),q("tr",{key:k,class:F(y(S)(E[1]))},[(N(!0),q(je,null,Rt(E,(A,P)=>(N(),q("td",{key:`${k}.${P}`,ref_for:!0,ref:$=>y(f)(A)&&(s.value=$),class:F(y(b)(A)),"aria-current":A.isCurrent?"date":void 0,"aria-selected":A.isCurrent,tabindex:y(f)(A)?0:-1,onFocus:y(g)},[ee(y(u5),{cell:A},null,8,["cell"])],42,["aria-current","aria-selected","tabindex","onFocus"]))),128))],2))),128))],512)],42,["aria-label","onClick","onMousemove","onMousedown","onMouseup"]))}});var Kx=De(k0e,[["__file","basic-date-table.vue"]]);const A0e=Ie(_e(X({},o5),{selectionMode:s5("month")})),M0e=te({__name:"basic-month-table",props:A0e,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const r=e,a=Ae("month-table"),{t:o,lang:i}=$t(),s=H(),l=H(),u=H(r.date.locale("en").localeData().monthsShort().map(_=>_.toLowerCase())),c=H([[],[],[]]),f=H(),h=H(),d=R(()=>{var _,b;const S=c.value,C=it().locale(i.value).startOf("month");for(let T=0;T<3;T++){const x=S[T];for(let E=0;E<4;E++){const k=x[E]||(x[E]={row:T,column:E,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1});k.type="normal";const A=T*4+E,P=r.date.startOf("year").month(A),$=r.rangeState.endDate||r.maxDate||r.rangeState.selecting&&r.minDate||null;k.inRange=!!(r.minDate&&P.isSameOrAfter(r.minDate,"month")&&$&&P.isSameOrBefore($,"month"))||!!(r.minDate&&P.isSameOrBefore(r.minDate,"month")&&$&&P.isSameOrAfter($,"month")),(_=r.minDate)!=null&&_.isSameOrAfter($)?(k.start=!!($&&P.isSame($,"month")),k.end=r.minDate&&P.isSame(r.minDate,"month")):(k.start=!!(r.minDate&&P.isSame(r.minDate,"month")),k.end=!!($&&P.isSame($,"month"))),C.isSame(P)&&(k.type="today"),k.text=A,k.disabled=((b=r.disabledDate)==null?void 0:b.call(r,P.toDate()))||!1}}return S}),p=()=>{var _;(_=l.value)==null||_.focus()},v=_=>{const b={},S=r.date.year(),C=new Date,T=_.text;return b.disabled=r.disabledDate?ib(S,T,i.value).every(r.disabledDate):!1,b.current=ca(r.parsedValue).findIndex(x=>it.isDayjs(x)&&x.year()===S&&x.month()===T)>=0,b.today=C.getFullYear()===S&&C.getMonth()===T,_.inRange&&(b["in-range"]=!0,_.start&&(b["start-date"]=!0),_.end&&(b["end-date"]=!0)),b},g=_=>{const b=r.date.year(),S=_.text;return ca(r.date).findIndex(C=>C.year()===b&&C.month()===S)>=0},m=_=>{var b;if(!r.rangeState.selecting)return;let S=_.target;if(S.tagName==="SPAN"&&(S=(b=S.parentNode)==null?void 0:b.parentNode),S.tagName==="DIV"&&(S=S.parentNode),S.tagName!=="TD")return;const C=S.parentNode.rowIndex,T=S.cellIndex;d.value[C][T].disabled||(C!==f.value||T!==h.value)&&(f.value=C,h.value=T,n("changerange",{selecting:!0,endDate:r.date.startOf("year").month(C*4+T)}))},w=_=>{var b;const S=(b=_.target)==null?void 0:b.closest("td");if((S==null?void 0:S.tagName)!=="TD"||Ra(S,"disabled"))return;const C=S.cellIndex,x=S.parentNode.rowIndex*4+C,E=r.date.startOf("year").month(x);if(r.selectionMode==="months"){if(_.type==="keydown"){n("pick",ca(r.parsedValue),!1);return}const k=cg(r.date.year(),x,i.value,r.disabledDate),A=Ra(S,"current")?ca(r.parsedValue).filter(P=>(P==null?void 0:P.month())!==k.month()):ca(r.parsedValue).concat([it(k)]);n("pick",A)}else r.selectionMode==="range"?r.rangeState.selecting?(r.minDate&&E>=r.minDate?n("pick",{minDate:r.minDate,maxDate:E}):n("pick",{minDate:E,maxDate:r.minDate}),n("select",!1)):(n("pick",{minDate:E,maxDate:null}),n("select",!0)):n("pick",x)};return xe(()=>r.date,()=>ut(this,null,function*(){var _,b;(_=s.value)!=null&&_.contains(document.activeElement)&&(yield qe(),(b=l.value)==null||b.focus())})),t({focus:p}),(_,b)=>(N(),q("table",{role:"grid","aria-label":y(o)("el.datepicker.monthTablePrompt"),class:F(y(a).b()),onClick:w,onMousemove:m},[Z("tbody",{ref_key:"tbodyRef",ref:s},[(N(!0),q(je,null,Rt(y(d),(S,C)=>(N(),q("tr",{key:C},[(N(!0),q(je,null,Rt(S,(T,x)=>(N(),q("td",{key:x,ref_for:!0,ref:E=>g(T)&&(l.value=E),class:F(v(T)),"aria-selected":`${g(T)}`,"aria-label":y(o)(`el.datepicker.month${+T.text+1}`),tabindex:g(T)?0:-1,onKeydown:[un(nt(w,["prevent","stop"]),["space"]),un(nt(w,["prevent","stop"]),["enter"])]},[ee(y(u5),{cell:_e(X({},T),{renderText:y(o)("el.datepicker.months."+u.value[T.text])})},null,8,["cell"])],42,["aria-selected","aria-label","tabindex","onKeydown"]))),128))]))),128))],512)],42,["aria-label"]))}});var Gx=De(M0e,[["__file","basic-month-table.vue"]]);const O0e=Ie(_e(X({},o5),{selectionMode:s5("year")})),P0e=te({__name:"basic-year-table",props:O0e,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const r=e,a=(b,S)=>{const C=it(String(b)).locale(S).startOf("year"),x=C.endOf("year").dayOfYear();return Kl(x).map(E=>C.add(E,"day").toDate())},o=Ae("year-table"),{t:i,lang:s}=$t(),l=H(),u=H(),c=R(()=>Math.floor(r.date.year()/10)*10),f=H([[],[],[]]),h=H(),d=H(),p=R(()=>{var b;const S=f.value,C=it().locale(s.value).startOf("year");for(let T=0;T<3;T++){const x=S[T];for(let E=0;E<4&&!(T*4+E>=10);E++){let k=x[E];k||(k={row:T,column:E,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1}),k.type="normal";const A=T*4+E+c.value,P=it().year(A),$=r.rangeState.endDate||r.maxDate||r.rangeState.selecting&&r.minDate||null;k.inRange=!!(r.minDate&&P.isSameOrAfter(r.minDate,"year")&&$&&P.isSameOrBefore($,"year"))||!!(r.minDate&&P.isSameOrBefore(r.minDate,"year")&&$&&P.isSameOrAfter($,"year")),(b=r.minDate)!=null&&b.isSameOrAfter($)?(k.start=!!($&&P.isSame($,"year")),k.end=!!(r.minDate&&P.isSame(r.minDate,"year"))):(k.start=!!(r.minDate&&P.isSame(r.minDate,"year")),k.end=!!($&&P.isSame($,"year"))),C.isSame(P)&&(k.type="today"),k.text=A;const I=P.toDate();k.disabled=r.disabledDate&&r.disabledDate(I)||!1,x[E]=k}}return S}),v=()=>{var b;(b=u.value)==null||b.focus()},g=b=>{const S={},C=it().locale(s.value),T=b.text;return S.disabled=r.disabledDate?a(T,s.value).every(r.disabledDate):!1,S.today=C.year()===T,S.current=ca(r.parsedValue).findIndex(x=>x.year()===T)>=0,b.inRange&&(S["in-range"]=!0,b.start&&(S["start-date"]=!0),b.end&&(S["end-date"]=!0)),S},m=b=>{const S=b.text;return ca(r.date).findIndex(C=>C.year()===S)>=0},w=b=>{var S;const C=(S=b.target)==null?void 0:S.closest("td");if(!C||!C.textContent||Ra(C,"disabled"))return;const T=C.cellIndex,E=C.parentNode.rowIndex*4+T+c.value,k=it().year(E);if(r.selectionMode==="range")r.rangeState.selecting?(r.minDate&&k>=r.minDate?n("pick",{minDate:r.minDate,maxDate:k}):n("pick",{minDate:k,maxDate:r.minDate}),n("select",!1)):(n("pick",{minDate:k,maxDate:null}),n("select",!0));else if(r.selectionMode==="years"){if(b.type==="keydown"){n("pick",ca(r.parsedValue),!1);return}const A=Ux(k.startOf("year"),s.value,r.disabledDate),P=Ra(C,"current")?ca(r.parsedValue).filter($=>($==null?void 0:$.year())!==E):ca(r.parsedValue).concat([A]);n("pick",P)}else n("pick",E)},_=b=>{var S;if(!r.rangeState.selecting)return;const C=(S=b.target)==null?void 0:S.closest("td");if(!C)return;const T=C.parentNode.rowIndex,x=C.cellIndex;p.value[T][x].disabled||(T!==h.value||x!==d.value)&&(h.value=T,d.value=x,n("changerange",{selecting:!0,endDate:it().year(c.value).add(T*4+x,"year")}))};return xe(()=>r.date,()=>ut(this,null,function*(){var b,S;(b=l.value)!=null&&b.contains(document.activeElement)&&(yield qe(),(S=u.value)==null||S.focus())})),t({focus:v}),(b,S)=>(N(),q("table",{role:"grid","aria-label":y(i)("el.datepicker.yearTablePrompt"),class:F(y(o).b()),onClick:w,onMousemove:_},[Z("tbody",{ref_key:"tbodyRef",ref:l},[(N(!0),q(je,null,Rt(y(p),(C,T)=>(N(),q("tr",{key:T},[(N(!0),q(je,null,Rt(C,(x,E)=>(N(),q("td",{key:`${T}_${E}`,ref_for:!0,ref:k=>m(x)&&(u.value=k),class:F(["available",g(x)]),"aria-selected":m(x),"aria-label":String(x.text),tabindex:m(x)?0:-1,onKeydown:[un(nt(w,["prevent","stop"]),["space"]),un(nt(w,["prevent","stop"]),["enter"])]},[ee(y(u5),{cell:x},null,8,["cell"])],42,["aria-selected","aria-label","tabindex","onKeydown"]))),128))]))),128))],512)],42,["aria-label"]))}});var qx=De(P0e,[["__file","basic-year-table.vue"]]);const R0e=te({__name:"panel-date-pick",props:_0e,emits:["pick","set-picker-option","panel-change"],setup(e,{emit:t}){const n=e,r=(Se,Ne,Y)=>!0,a=Ae("picker-panel"),o=Ae("date-picker"),i=mu(),s=Yn(),{t:l,lang:u}=$t(),c=ze("EP_PICKER_BASE"),f=ze(tw),{shortcuts:h,disabledDate:d,cellClassName:p,defaultTime:v}=c.props,g=Jt(c.props,"defaultValue"),m=H(),w=H(it().locale(u.value)),_=H(!1);let b=!1;const S=R(()=>it(v).locale(u.value)),C=R(()=>w.value.month()),T=R(()=>w.value.year()),x=H([]),E=H(null),k=H(null),A=Se=>x.value.length>0?r(Se,x.value,n.format||"HH:mm:ss"):!0,P=Se=>v&&!pe.value&&!_.value&&!b?S.value.year(Se.year()).month(Se.month()).date(Se.date()):G.value?Se.millisecond(0):Se.startOf("day"),$=(Se,...Ne)=>{if(!Se)t("pick",Se,...Ne);else if(Me(Se)){const Y=Se.map(P);t("pick",Y,...Ne)}else t("pick",P(Se),...Ne);E.value=null,k.value=null,_.value=!1,b=!1},B=(Se,Ne)=>ut(this,null,function*(){if(z.value==="date"){Se=Se;let Y=n.parsedValue?n.parsedValue.year(Se.year()).month(Se.month()).date(Se.date()):Se;A(Y)||(Y=x.value[0][0].year(Se.year()).month(Se.month()).date(Se.date())),w.value=Y,$(Y,G.value||Ne),n.type==="datetime"&&(yield qe(),ct())}else z.value==="week"?$(Se.date):z.value==="dates"&&$(Se,!0)}),I=Se=>{const Ne=Se?"add":"subtract";w.value=w.value[Ne](1,"month"),Zt("month")},M=Se=>{const Ne=w.value,Y=Se?"add":"subtract";w.value=L.value==="year"?Ne[Y](10,"year"):Ne[Y](1,"year"),Zt("year")},L=H("date"),O=R(()=>{const Se=l("el.datepicker.year");if(L.value==="year"){const Ne=Math.floor(T.value/10)*10;return Se?`${Ne} ${Se} - ${Ne+9} ${Se}`:`${Ne} - ${Ne+9}`}return`${T.value} ${Se}`}),D=Se=>{const Ne=Ge(Se.value)?Se.value():Se.value;if(Ne){b=!0,$(it(Ne).locale(u.value));return}Se.onClick&&Se.onClick({attrs:i,slots:s,emit:t})},z=R(()=>{const{type:Se}=n;return["week","month","months","year","years","dates"].includes(Se)?Se:"date"}),V=R(()=>z.value==="dates"||z.value==="months"||z.value==="years"),j=R(()=>z.value==="date"?L.value:z.value),U=R(()=>!!h.length),ne=(Se,Ne)=>ut(this,null,function*(){z.value==="month"?(w.value=cg(w.value.year(),Se,u.value,d),$(w.value,!1)):z.value==="months"?$(Se,Ne!=null?Ne:!0):(w.value=cg(w.value.year(),Se,u.value,d),L.value="date",["month","year","date","week"].includes(z.value)&&($(w.value,!0),yield qe(),ct())),Zt("month")}),ie=(Se,Ne)=>ut(this,null,function*(){if(z.value==="year"){const Y=w.value.startOf("year").year(Se);w.value=Ux(Y,u.value,d),$(w.value,!1)}else if(z.value==="years")$(Se,Ne!=null?Ne:!0);else{const Y=w.value.year(Se);w.value=Ux(Y,u.value,d),L.value="month",["month","year","date","week"].includes(z.value)&&($(w.value,!0),yield qe(),ct())}Zt("year")}),fe=Se=>ut(this,null,function*(){L.value=Se,yield qe(),ct()}),G=R(()=>n.type==="datetime"||n.type==="datetimerange"),oe=R(()=>{const Se=G.value||z.value==="dates",Ne=z.value==="years",Y=z.value==="months",J=L.value==="date",W=L.value==="year",Ee=L.value==="month";return Se&&J||Ne&&W||Y&&Ee}),se=R(()=>d?n.parsedValue?Me(n.parsedValue)?d(n.parsedValue[0].toDate()):d(n.parsedValue.toDate()):!0:!1),ue=()=>{if(V.value)$(n.parsedValue);else{let Se=n.parsedValue;if(!Se){const Ne=it(v).locale(u.value),Y=dt();Se=Ne.year(Y.year()).month(Y.month()).date(Y.date())}w.value=Se,$(Se)}},he=R(()=>d?d(it().locale(u.value).toDate()):!1),ae=()=>{const Ne=it().locale(u.value).toDate();_.value=!0,(!d||!d(Ne))&&A(Ne)&&(w.value=it().locale(u.value),$(w.value))},K=R(()=>n.timeFormat||Xz(n.format)),Q=R(()=>n.dateFormat||Yz(n.format)),pe=R(()=>{if(k.value)return k.value;if(!(!n.parsedValue&&!g.value))return(n.parsedValue||w.value).format(K.value)}),we=R(()=>{if(E.value)return E.value;if(!(!n.parsedValue&&!g.value))return(n.parsedValue||w.value).format(Q.value)}),me=H(!1),be=()=>{me.value=!0},Ce=()=>{me.value=!1},ke=Se=>({hour:Se.hour(),minute:Se.minute(),second:Se.second(),year:Se.year(),month:Se.month(),date:Se.date()}),Oe=(Se,Ne,Y)=>{const{hour:J,minute:W,second:Ee}=ke(Se),Fe=n.parsedValue?n.parsedValue.hour(J).minute(W).second(Ee):Se;w.value=Fe,$(w.value,!0),Y||(me.value=Ne)},Pe=Se=>{const Ne=it(Se,K.value).locale(u.value);if(Ne.isValid()&&A(Ne)){const{year:Y,month:J,date:W}=ke(w.value);w.value=Ne.year(Y).month(J).date(W),k.value=null,me.value=!1,$(w.value,!0)}},He=Se=>{const Ne=it(Se,Q.value).locale(u.value);if(Ne.isValid()){if(d&&d(Ne.toDate()))return;const{hour:Y,minute:J,second:W}=ke(w.value);w.value=Ne.hour(Y).minute(J).second(W),E.value=null,$(w.value,!0)}},Te=Se=>it.isDayjs(Se)&&Se.isValid()&&(d?!d(Se.toDate()):!0),Be=Se=>Me(Se)?Se.map(Ne=>Ne.format(n.format)):Se.format(n.format),Je=Se=>it(Se,n.format).locale(u.value),dt=()=>{const Se=it(g.value).locale(u.value);if(!g.value){const Ne=S.value;return it().hour(Ne.hour()).minute(Ne.minute()).second(Ne.second()).locale(u.value)}return Se},ct=()=>ut(this,null,function*(){var Se;["week","month","year","date"].includes(z.value)&&((Se=m.value)==null||Se.focus(),z.value==="week"&&Mt(Ue.down))}),wt=Se=>{const{code:Ne}=Se;[Ue.up,Ue.down,Ue.left,Ue.right,Ue.home,Ue.end,Ue.pageUp,Ue.pageDown].includes(Ne)&&(Mt(Ne),Se.stopPropagation(),Se.preventDefault()),[Ue.enter,Ue.space,Ue.numpadEnter].includes(Ne)&&E.value===null&&k.value===null&&(Se.preventDefault(),$(w.value,!1))},Mt=Se=>{var Ne;const{up:Y,down:J,left:W,right:Ee,home:Fe,end:tt,pageUp:at,pageDown:kn}=Ue,bn={year:{[Y]:-4,[J]:4,[W]:-1,[Ee]:1,offset:(Ct,jn)=>Ct.setFullYear(Ct.getFullYear()+jn)},month:{[Y]:-4,[J]:4,[W]:-1,[Ee]:1,offset:(Ct,jn)=>Ct.setMonth(Ct.getMonth()+jn)},week:{[Y]:-1,[J]:1,[W]:-1,[Ee]:1,offset:(Ct,jn)=>Ct.setDate(Ct.getDate()+jn*7)},date:{[Y]:-7,[J]:7,[W]:-1,[Ee]:1,[Fe]:Ct=>-Ct.getDay(),[tt]:Ct=>-Ct.getDay()+6,[at]:Ct=>-new Date(Ct.getFullYear(),Ct.getMonth(),0).getDate(),[kn]:Ct=>new Date(Ct.getFullYear(),Ct.getMonth()+1,0).getDate(),offset:(Ct,jn)=>Ct.setDate(Ct.getDate()+jn)}},Nt=w.value.toDate();for(;Math.abs(w.value.diff(Nt,"year",!0))<1;){const Ct=bn[j.value];if(!Ct)return;if(Ct.offset(Nt,Ge(Ct[Se])?Ct[Se](Nt):(Ne=Ct[Se])!=null?Ne:0),d&&d(Nt))break;const jn=it(Nt).locale(u.value);w.value=jn,t("pick",jn,!0);break}},Zt=Se=>{t("panel-change",w.value.toDate(),Se,L.value)};return xe(()=>z.value,Se=>{if(["month","year"].includes(Se)){L.value=Se;return}else if(Se==="years"){L.value="year";return}else if(Se==="months"){L.value="month";return}L.value="date"},{immediate:!0}),xe(()=>L.value,()=>{f==null||f.updatePopper()}),xe(()=>g.value,Se=>{Se&&(w.value=dt())},{immediate:!0}),xe(()=>n.parsedValue,Se=>{if(Se){if(V.value||Me(Se))return;w.value=Se}else w.value=dt()},{immediate:!0}),t("set-picker-option",["isValidValue",Te]),t("set-picker-option",["formatToString",Be]),t("set-picker-option",["parseUserInput",Je]),t("set-picker-option",["handleFocusPicker",ct]),(Se,Ne)=>(N(),q("div",{class:F([y(a).b(),y(o).b(),{"has-sidebar":Se.$slots.sidebar||y(U),"has-time":y(G)}])},[Z("div",{class:F(y(a).e("body-wrapper"))},[ve(Se.$slots,"sidebar",{class:F(y(a).e("sidebar"))}),y(U)?(N(),q("div",{key:0,class:F(y(a).e("sidebar"))},[(N(!0),q(je,null,Rt(y(h),(Y,J)=>(N(),q("button",{key:J,type:"button",class:F(y(a).e("shortcut")),onClick:W=>D(Y)},Re(Y.text),11,["onClick"]))),128))],2)):ge("v-if",!0),Z("div",{class:F(y(a).e("body"))},[y(G)?(N(),q("div",{key:0,class:F(y(o).e("time-header"))},[Z("span",{class:F(y(o).e("editor-wrap"))},[ee(y(fa),{placeholder:y(l)("el.datepicker.selectDate"),"model-value":y(we),size:"small","validate-event":!1,onInput:Y=>E.value=Y,onChange:He},null,8,["placeholder","model-value","onInput"])],2),vt((N(),q("span",{class:F(y(o).e("editor-wrap"))},[ee(y(fa),{placeholder:y(l)("el.datepicker.selectTime"),"model-value":y(pe),size:"small","validate-event":!1,onFocus:be,onInput:Y=>k.value=Y,onChange:Pe},null,8,["placeholder","model-value","onInput"]),ee(y(ob),{visible:me.value,format:y(K),"parsed-value":w.value,onPick:Oe},null,8,["visible","format","parsed-value"])],2)),[[y(Gs),Ce]])],2)):ge("v-if",!0),vt(Z("div",{class:F([y(o).e("header"),(L.value==="year"||L.value==="month")&&y(o).e("header--bordered")])},[Z("span",{class:F(y(o).e("prev-btn"))},[Z("button",{type:"button","aria-label":y(l)("el.datepicker.prevYear"),class:F(["d-arrow-left",y(a).e("icon-btn")]),onClick:Y=>M(!1)},[ve(Se.$slots,"prev-year",{},()=>[ee(y(Ke),null,{default:le(()=>[ee(y(su))]),_:1})])],10,["aria-label","onClick"]),vt(Z("button",{type:"button","aria-label":y(l)("el.datepicker.prevMonth"),class:F([y(a).e("icon-btn"),"arrow-left"]),onClick:Y=>I(!1)},[ve(Se.$slots,"prev-month",{},()=>[ee(y(Ke),null,{default:le(()=>[ee(y(iu))]),_:1})])],10,["aria-label","onClick"]),[[Wt,L.value==="date"]])],2),Z("span",{role:"button",class:F(y(o).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:un(Y=>fe("year"),["enter"]),onClick:Y=>fe("year")},Re(y(O)),43,["onKeydown","onClick"]),vt(Z("span",{role:"button","aria-live":"polite",tabindex:"0",class:F([y(o).e("header-label"),{active:L.value==="month"}]),onKeydown:un(Y=>fe("month"),["enter"]),onClick:Y=>fe("month")},Re(y(l)(`el.datepicker.month${y(C)+1}`)),43,["onKeydown","onClick"]),[[Wt,L.value==="date"]]),Z("span",{class:F(y(o).e("next-btn"))},[vt(Z("button",{type:"button","aria-label":y(l)("el.datepicker.nextMonth"),class:F([y(a).e("icon-btn"),"arrow-right"]),onClick:Y=>I(!0)},[ve(Se.$slots,"next-month",{},()=>[ee(y(Ke),null,{default:le(()=>[ee(y(pa))]),_:1})])],10,["aria-label","onClick"]),[[Wt,L.value==="date"]]),Z("button",{type:"button","aria-label":y(l)("el.datepicker.nextYear"),class:F([y(a).e("icon-btn"),"d-arrow-right"]),onClick:Y=>M(!0)},[ve(Se.$slots,"next-year",{},()=>[ee(y(Ke),null,{default:le(()=>[ee(y(lu))]),_:1})])],10,["aria-label","onClick"])],2)],2),[[Wt,L.value!=="time"]]),Z("div",{class:F(y(a).e("content")),onKeydown:wt},[L.value==="date"?(N(),ye(Kx,{key:0,ref_key:"currentViewRef",ref:m,"selection-mode":y(z),date:w.value,"parsed-value":Se.parsedValue,"disabled-date":y(d),"cell-class-name":y(p),onPick:B},null,8,["selection-mode","date","parsed-value","disabled-date","cell-class-name"])):ge("v-if",!0),L.value==="year"?(N(),ye(qx,{key:1,ref_key:"currentViewRef",ref:m,"selection-mode":y(z),date:w.value,"disabled-date":y(d),"parsed-value":Se.parsedValue,onPick:ie},null,8,["selection-mode","date","disabled-date","parsed-value"])):ge("v-if",!0),L.value==="month"?(N(),ye(Gx,{key:2,ref_key:"currentViewRef",ref:m,"selection-mode":y(z),date:w.value,"parsed-value":Se.parsedValue,"disabled-date":y(d),onPick:ne},null,8,["selection-mode","date","parsed-value","disabled-date"])):ge("v-if",!0)],34)],2)],2),vt(Z("div",{class:F(y(a).e("footer"))},[vt(ee(y(mr),{text:"",size:"small",class:F(y(a).e("link-btn")),disabled:y(he),onClick:ae},{default:le(()=>[At(Re(y(l)("el.datepicker.now")),1)]),_:1},8,["class","disabled"]),[[Wt,!y(V)&&Se.showNow]]),ee(y(mr),{plain:"",size:"small",class:F(y(a).e("link-btn")),disabled:y(se),onClick:ue},{default:le(()=>[At(Re(y(l)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2),[[Wt,y(oe)]])],2))}});var I0e=De(R0e,[["__file","panel-date-pick.vue"]]);const D0e=Ie(_e(X(X({},OH),i5),{visible:Boolean})),PH=e=>{const{emit:t}=st(),n=mu(),r=Yn();return o=>{const i=Ge(o.value)?o.value():o.value;if(i){t("pick",[it(i[0]).locale(e.value),it(i[1]).locale(e.value)]);return}o.onClick&&o.onClick({attrs:n,slots:r,emit:t})}},RH=(e,{defaultValue:t,leftDate:n,rightDate:r,unit:a,onParsedValueChanged:o})=>{const{emit:i}=st(),{pickerNs:s}=ze(rw),l=Ae("date-range-picker"),{t:u,lang:c}=$t(),f=PH(c),h=H(),d=H(),p=H({endDate:null,selecting:!1}),v=b=>{p.value=b},g=(b=!1)=>{const S=y(h),C=y(d);ch([S,C])&&i("pick",[S,C],b)},m=b=>{p.value.selecting=b,b||(p.value.endDate=null)},w=b=>{if(Me(b)&&b.length===2){const[S,C]=b;h.value=S,n.value=S,d.value=C,o(y(h),y(d))}else _()},_=()=>{const[b,S]=l5(y(t),{lang:y(c),unit:a,unlinkPanels:e.unlinkPanels});h.value=void 0,d.value=void 0,n.value=b,r.value=S};return xe(t,b=>{b&&_()},{immediate:!0}),xe(()=>e.parsedValue,w,{immediate:!0}),{minDate:h,maxDate:d,rangeState:p,lang:c,ppNs:s,drpNs:l,handleChangeRange:v,handleRangeConfirm:g,handleShortcutClick:f,onSelect:m,onReset:w,t:u}},E0="month",L0e=te({__name:"panel-date-range",props:D0e,emits:["pick","set-picker-option","calendar-change","panel-change"],setup(e,{emit:t}){const n=e,r=ze("EP_PICKER_BASE"),{disabledDate:a,cellClassName:o,defaultTime:i,clearable:s}=r.props,l=Jt(r.props,"format"),u=Jt(r.props,"shortcuts"),c=Jt(r.props,"defaultValue"),{lang:f}=$t(),h=H(it().locale(f.value)),d=H(it().locale(f.value).add(1,E0)),{minDate:p,maxDate:v,rangeState:g,ppNs:m,drpNs:w,handleChangeRange:_,handleRangeConfirm:b,handleShortcutClick:S,onSelect:C,onReset:T,t:x}=RH(n,{defaultValue:c,leftDate:h,rightDate:d,unit:E0,onParsedValueChanged:Ne});xe(()=>n.visible,Y=>{!Y&&g.value.selecting&&(T(n.parsedValue),C(!1))});const E=H({min:null,max:null}),k=H({min:null,max:null}),A=R(()=>`${h.value.year()} ${x("el.datepicker.year")} ${x(`el.datepicker.month${h.value.month()+1}`)}`),P=R(()=>`${d.value.year()} ${x("el.datepicker.year")} ${x(`el.datepicker.month${d.value.month()+1}`)}`),$=R(()=>h.value.year()),B=R(()=>h.value.month()),I=R(()=>d.value.year()),M=R(()=>d.value.month()),L=R(()=>!!u.value.length),O=R(()=>E.value.min!==null?E.value.min:p.value?p.value.format(U.value):""),D=R(()=>E.value.max!==null?E.value.max:v.value||p.value?(v.value||p.value).format(U.value):""),z=R(()=>k.value.min!==null?k.value.min:p.value?p.value.format(j.value):""),V=R(()=>k.value.max!==null?k.value.max:v.value||p.value?(v.value||p.value).format(j.value):""),j=R(()=>n.timeFormat||Xz(l.value)),U=R(()=>n.dateFormat||Yz(l.value)),ne=Y=>ch(Y)&&(a?!a(Y[0].toDate())&&!a(Y[1].toDate()):!0),ie=()=>{h.value=h.value.subtract(1,"year"),n.unlinkPanels||(d.value=h.value.add(1,"month")),K("year")},fe=()=>{h.value=h.value.subtract(1,"month"),n.unlinkPanels||(d.value=h.value.add(1,"month")),K("month")},G=()=>{n.unlinkPanels?d.value=d.value.add(1,"year"):(h.value=h.value.add(1,"year"),d.value=h.value.add(1,"month")),K("year")},oe=()=>{n.unlinkPanels?d.value=d.value.add(1,"month"):(h.value=h.value.add(1,"month"),d.value=h.value.add(1,"month")),K("month")},se=()=>{h.value=h.value.add(1,"year"),K("year")},ue=()=>{h.value=h.value.add(1,"month"),K("month")},he=()=>{d.value=d.value.subtract(1,"year"),K("year")},ae=()=>{d.value=d.value.subtract(1,"month"),K("month")},K=Y=>{t("panel-change",[h.value.toDate(),d.value.toDate()],Y)},Q=R(()=>{const Y=(B.value+1)%12,J=B.value+1>=12?1:0;return n.unlinkPanels&&new Date($.value+J,Y)n.unlinkPanels&&I.value*12+M.value-($.value*12+B.value+1)>=12),we=R(()=>!(p.value&&v.value&&!g.value.selecting&&ch([p.value,v.value]))),me=R(()=>n.type==="datetime"||n.type==="datetimerange"),be=(Y,J)=>{if(Y)return i?it(i[J]||i).locale(f.value).year(Y.year()).month(Y.month()).date(Y.date()):Y},Ce=(Y,J=!0)=>{const W=Y.minDate,Ee=Y.maxDate,Fe=be(W,0),tt=be(Ee,1);v.value===tt&&p.value===Fe||(t("calendar-change",[W.toDate(),Ee&&Ee.toDate()]),v.value=tt,p.value=Fe,!(!J||me.value)&&b())},ke=H(!1),Oe=H(!1),Pe=()=>{ke.value=!1},He=()=>{Oe.value=!1},Te=(Y,J)=>{E.value[J]=Y;const W=it(Y,U.value).locale(f.value);if(W.isValid()){if(a&&a(W.toDate()))return;J==="min"?(h.value=W,p.value=(p.value||h.value).year(W.year()).month(W.month()).date(W.date()),!n.unlinkPanels&&(!v.value||v.value.isBefore(p.value))&&(d.value=W.add(1,"month"),v.value=p.value.add(1,"month"))):(d.value=W,v.value=(v.value||d.value).year(W.year()).month(W.month()).date(W.date()),!n.unlinkPanels&&(!p.value||p.value.isAfter(v.value))&&(h.value=W.subtract(1,"month"),p.value=v.value.subtract(1,"month")))}},Be=(Y,J)=>{E.value[J]=null},Je=(Y,J)=>{k.value[J]=Y;const W=it(Y,j.value).locale(f.value);W.isValid()&&(J==="min"?(ke.value=!0,p.value=(p.value||h.value).hour(W.hour()).minute(W.minute()).second(W.second())):(Oe.value=!0,v.value=(v.value||d.value).hour(W.hour()).minute(W.minute()).second(W.second()),d.value=v.value))},dt=(Y,J)=>{k.value[J]=null,J==="min"?(h.value=p.value,ke.value=!1,(!v.value||v.value.isBefore(p.value))&&(v.value=p.value)):(d.value=v.value,Oe.value=!1,v.value&&v.value.isBefore(p.value)&&(p.value=v.value))},ct=(Y,J,W)=>{k.value.min||(Y&&(h.value=Y,p.value=(p.value||h.value).hour(Y.hour()).minute(Y.minute()).second(Y.second())),W||(ke.value=J),(!v.value||v.value.isBefore(p.value))&&(v.value=p.value,d.value=Y))},wt=(Y,J,W)=>{k.value.max||(Y&&(d.value=Y,v.value=(v.value||d.value).hour(Y.hour()).minute(Y.minute()).second(Y.second())),W||(Oe.value=J),v.value&&v.value.isBefore(p.value)&&(p.value=v.value))},Mt=()=>{h.value=l5(y(c),{lang:y(f),unit:"month",unlinkPanels:n.unlinkPanels})[0],d.value=h.value.add(1,"month"),v.value=void 0,p.value=void 0,t("pick",null)},Zt=Y=>Me(Y)?Y.map(J=>J.format(l.value)):Y.format(l.value),Se=Y=>Me(Y)?Y.map(J=>it(J,l.value).locale(f.value)):it(Y,l.value).locale(f.value);function Ne(Y,J){if(n.unlinkPanels&&J){const W=(Y==null?void 0:Y.year())||0,Ee=(Y==null?void 0:Y.month())||0,Fe=J.year(),tt=J.month();d.value=W===Fe&&Ee===tt?J.add(1,E0):J}else d.value=h.value.add(1,E0),J&&(d.value=d.value.hour(J.hour()).minute(J.minute()).second(J.second()))}return t("set-picker-option",["isValidValue",ne]),t("set-picker-option",["parseUserInput",Se]),t("set-picker-option",["formatToString",Zt]),t("set-picker-option",["handleClear",Mt]),(Y,J)=>(N(),q("div",{class:F([y(m).b(),y(w).b(),{"has-sidebar":Y.$slots.sidebar||y(L),"has-time":y(me)}])},[Z("div",{class:F(y(m).e("body-wrapper"))},[ve(Y.$slots,"sidebar",{class:F(y(m).e("sidebar"))}),y(L)?(N(),q("div",{key:0,class:F(y(m).e("sidebar"))},[(N(!0),q(je,null,Rt(y(u),(W,Ee)=>(N(),q("button",{key:Ee,type:"button",class:F(y(m).e("shortcut")),onClick:Fe=>y(S)(W)},Re(W.text),11,["onClick"]))),128))],2)):ge("v-if",!0),Z("div",{class:F(y(m).e("body"))},[y(me)?(N(),q("div",{key:0,class:F(y(w).e("time-header"))},[Z("span",{class:F(y(w).e("editors-wrap"))},[Z("span",{class:F(y(w).e("time-picker-wrap"))},[ee(y(fa),{size:"small",disabled:y(g).selecting,placeholder:y(x)("el.datepicker.startDate"),class:F(y(w).e("editor")),"model-value":y(O),"validate-event":!1,onInput:W=>Te(W,"min"),onChange:W=>Be(W,"min")},null,8,["disabled","placeholder","class","model-value","onInput","onChange"])],2),vt((N(),q("span",{class:F(y(w).e("time-picker-wrap"))},[ee(y(fa),{size:"small",class:F(y(w).e("editor")),disabled:y(g).selecting,placeholder:y(x)("el.datepicker.startTime"),"model-value":y(z),"validate-event":!1,onFocus:W=>ke.value=!0,onInput:W=>Je(W,"min"),onChange:W=>dt(W,"min")},null,8,["class","disabled","placeholder","model-value","onFocus","onInput","onChange"]),ee(y(ob),{visible:ke.value,format:y(j),"datetime-role":"start","parsed-value":h.value,onPick:ct},null,8,["visible","format","parsed-value"])],2)),[[y(Gs),Pe]])],2),Z("span",null,[ee(y(Ke),null,{default:le(()=>[ee(y(pa))]),_:1})]),Z("span",{class:F([y(w).e("editors-wrap"),"is-right"])},[Z("span",{class:F(y(w).e("time-picker-wrap"))},[ee(y(fa),{size:"small",class:F(y(w).e("editor")),disabled:y(g).selecting,placeholder:y(x)("el.datepicker.endDate"),"model-value":y(D),readonly:!y(p),"validate-event":!1,onInput:W=>Te(W,"max"),onChange:W=>Be(W,"max")},null,8,["class","disabled","placeholder","model-value","readonly","onInput","onChange"])],2),vt((N(),q("span",{class:F(y(w).e("time-picker-wrap"))},[ee(y(fa),{size:"small",class:F(y(w).e("editor")),disabled:y(g).selecting,placeholder:y(x)("el.datepicker.endTime"),"model-value":y(V),readonly:!y(p),"validate-event":!1,onFocus:W=>y(p)&&(Oe.value=!0),onInput:W=>Je(W,"max"),onChange:W=>dt(W,"max")},null,8,["class","disabled","placeholder","model-value","readonly","onFocus","onInput","onChange"]),ee(y(ob),{"datetime-role":"end",visible:Oe.value,format:y(j),"parsed-value":d.value,onPick:wt},null,8,["visible","format","parsed-value"])],2)),[[y(Gs),He]])],2)],2)):ge("v-if",!0),Z("div",{class:F([[y(m).e("content"),y(w).e("content")],"is-left"])},[Z("div",{class:F(y(w).e("header"))},[Z("button",{type:"button",class:F([y(m).e("icon-btn"),"d-arrow-left"]),"aria-label":y(x)("el.datepicker.prevYear"),onClick:ie},[ve(Y.$slots,"prev-year",{},()=>[ee(y(Ke),null,{default:le(()=>[ee(y(su))]),_:1})])],10,["aria-label"]),Z("button",{type:"button",class:F([y(m).e("icon-btn"),"arrow-left"]),"aria-label":y(x)("el.datepicker.prevMonth"),onClick:fe},[ve(Y.$slots,"prev-month",{},()=>[ee(y(Ke),null,{default:le(()=>[ee(y(iu))]),_:1})])],10,["aria-label"]),Y.unlinkPanels?(N(),q("button",{key:0,type:"button",disabled:!y(pe),class:F([[y(m).e("icon-btn"),{"is-disabled":!y(pe)}],"d-arrow-right"]),"aria-label":y(x)("el.datepicker.nextYear"),onClick:se},[ve(Y.$slots,"next-year",{},()=>[ee(y(Ke),null,{default:le(()=>[ee(y(lu))]),_:1})])],10,["disabled","aria-label"])):ge("v-if",!0),Y.unlinkPanels?(N(),q("button",{key:1,type:"button",disabled:!y(Q),class:F([[y(m).e("icon-btn"),{"is-disabled":!y(Q)}],"arrow-right"]),"aria-label":y(x)("el.datepicker.nextMonth"),onClick:ue},[ve(Y.$slots,"next-month",{},()=>[ee(y(Ke),null,{default:le(()=>[ee(y(pa))]),_:1})])],10,["disabled","aria-label"])):ge("v-if",!0),Z("div",null,Re(y(A)),1)],2),ee(Kx,{"selection-mode":"range",date:h.value,"min-date":y(p),"max-date":y(v),"range-state":y(g),"disabled-date":y(a),"cell-class-name":y(o),onChangerange:y(_),onPick:Ce,onSelect:y(C)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2),Z("div",{class:F([[y(m).e("content"),y(w).e("content")],"is-right"])},[Z("div",{class:F(y(w).e("header"))},[Y.unlinkPanels?(N(),q("button",{key:0,type:"button",disabled:!y(pe),class:F([[y(m).e("icon-btn"),{"is-disabled":!y(pe)}],"d-arrow-left"]),"aria-label":y(x)("el.datepicker.prevYear"),onClick:he},[ve(Y.$slots,"prev-year",{},()=>[ee(y(Ke),null,{default:le(()=>[ee(y(su))]),_:1})])],10,["disabled","aria-label"])):ge("v-if",!0),Y.unlinkPanels?(N(),q("button",{key:1,type:"button",disabled:!y(Q),class:F([[y(m).e("icon-btn"),{"is-disabled":!y(Q)}],"arrow-left"]),"aria-label":y(x)("el.datepicker.prevMonth"),onClick:ae},[ve(Y.$slots,"prev-month",{},()=>[ee(y(Ke),null,{default:le(()=>[ee(y(iu))]),_:1})])],10,["disabled","aria-label"])):ge("v-if",!0),Z("button",{type:"button","aria-label":y(x)("el.datepicker.nextYear"),class:F([y(m).e("icon-btn"),"d-arrow-right"]),onClick:G},[ve(Y.$slots,"next-year",{},()=>[ee(y(Ke),null,{default:le(()=>[ee(y(lu))]),_:1})])],10,["aria-label"]),Z("button",{type:"button",class:F([y(m).e("icon-btn"),"arrow-right"]),"aria-label":y(x)("el.datepicker.nextMonth"),onClick:oe},[ve(Y.$slots,"next-month",{},()=>[ee(y(Ke),null,{default:le(()=>[ee(y(pa))]),_:1})])],10,["aria-label"]),Z("div",null,Re(y(P)),1)],2),ee(Kx,{"selection-mode":"range",date:d.value,"min-date":y(p),"max-date":y(v),"range-state":y(g),"disabled-date":y(a),"cell-class-name":y(o),onChangerange:y(_),onPick:Ce,onSelect:y(C)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2)],2)],2),y(me)?(N(),q("div",{key:0,class:F(y(m).e("footer"))},[y(s)?(N(),ye(y(mr),{key:0,text:"",size:"small",class:F(y(m).e("link-btn")),onClick:Mt},{default:le(()=>[At(Re(y(x)("el.datepicker.clear")),1)]),_:1},8,["class"])):ge("v-if",!0),ee(y(mr),{plain:"",size:"small",class:F(y(m).e("link-btn")),disabled:y(we),onClick:W=>y(b)(!1)},{default:le(()=>[At(Re(y(x)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled","onClick"])],2)):ge("v-if",!0)],2))}});var $0e=De(L0e,[["__file","panel-date-range.vue"]]);const N0e=Ie(X({},i5)),B0e=["pick","set-picker-option","calendar-change"],F0e=({unlinkPanels:e,leftDate:t,rightDate:n})=>{const{t:r}=$t(),a=()=>{t.value=t.value.subtract(1,"year"),e.value||(n.value=n.value.subtract(1,"year"))},o=()=>{e.value||(t.value=t.value.add(1,"year")),n.value=n.value.add(1,"year")},i=()=>{t.value=t.value.add(1,"year")},s=()=>{n.value=n.value.subtract(1,"year")},l=R(()=>`${t.value.year()} ${r("el.datepicker.year")}`),u=R(()=>`${n.value.year()} ${r("el.datepicker.year")}`),c=R(()=>t.value.year()),f=R(()=>n.value.year()===t.value.year()?t.value.year()+1:n.value.year());return{leftPrevYear:a,rightNextYear:o,leftNextYear:i,rightPrevYear:s,leftLabel:l,rightLabel:u,leftYear:c,rightYear:f}},k0="year",V0e=te({name:"DatePickerMonthRange"}),z0e=te(_e(X({},V0e),{props:N0e,emits:B0e,setup(e,{emit:t}){const n=e,{lang:r}=$t(),a=ze("EP_PICKER_BASE"),{shortcuts:o,disabledDate:i}=a.props,s=Jt(a.props,"format"),l=Jt(a.props,"defaultValue"),u=H(it().locale(r.value)),c=H(it().locale(r.value).add(1,k0)),{minDate:f,maxDate:h,rangeState:d,ppNs:p,drpNs:v,handleChangeRange:g,handleRangeConfirm:m,handleShortcutClick:w,onSelect:_}=RH(n,{defaultValue:l,leftDate:u,rightDate:c,unit:k0,onParsedValueChanged:O}),b=R(()=>!!o.length),{leftPrevYear:S,rightNextYear:C,leftNextYear:T,rightPrevYear:x,leftLabel:E,rightLabel:k,leftYear:A,rightYear:P}=F0e({unlinkPanels:Jt(n,"unlinkPanels"),leftDate:u,rightDate:c}),$=R(()=>n.unlinkPanels&&P.value>A.value+1),B=(D,z=!0)=>{const V=D.minDate,j=D.maxDate;h.value===j&&f.value===V||(t("calendar-change",[V.toDate(),j&&j.toDate()]),h.value=j,f.value=V,z&&m())},I=()=>{u.value=l5(y(l),{lang:y(r),unit:"year",unlinkPanels:n.unlinkPanels})[0],c.value=u.value.add(1,"year"),t("pick",null)},M=D=>Me(D)?D.map(z=>z.format(s.value)):D.format(s.value),L=D=>Me(D)?D.map(z=>it(z,s.value).locale(r.value)):it(D,s.value).locale(r.value);function O(D,z){if(n.unlinkPanels&&z){const V=(D==null?void 0:D.year())||0,j=z.year();c.value=V===j?z.add(1,k0):z}else c.value=u.value.add(1,k0)}return t("set-picker-option",["isValidValue",ch]),t("set-picker-option",["formatToString",M]),t("set-picker-option",["parseUserInput",L]),t("set-picker-option",["handleClear",I]),(D,z)=>(N(),q("div",{class:F([y(p).b(),y(v).b(),{"has-sidebar":!!D.$slots.sidebar||y(b)}])},[Z("div",{class:F(y(p).e("body-wrapper"))},[ve(D.$slots,"sidebar",{class:F(y(p).e("sidebar"))}),y(b)?(N(),q("div",{key:0,class:F(y(p).e("sidebar"))},[(N(!0),q(je,null,Rt(y(o),(V,j)=>(N(),q("button",{key:j,type:"button",class:F(y(p).e("shortcut")),onClick:U=>y(w)(V)},Re(V.text),11,["onClick"]))),128))],2)):ge("v-if",!0),Z("div",{class:F(y(p).e("body"))},[Z("div",{class:F([[y(p).e("content"),y(v).e("content")],"is-left"])},[Z("div",{class:F(y(v).e("header"))},[Z("button",{type:"button",class:F([y(p).e("icon-btn"),"d-arrow-left"]),onClick:y(S)},[ve(D.$slots,"prev-year",{},()=>[ee(y(Ke),null,{default:le(()=>[ee(y(su))]),_:1})])],10,["onClick"]),D.unlinkPanels?(N(),q("button",{key:0,type:"button",disabled:!y($),class:F([[y(p).e("icon-btn"),{[y(p).is("disabled")]:!y($)}],"d-arrow-right"]),onClick:y(T)},[ve(D.$slots,"next-year",{},()=>[ee(y(Ke),null,{default:le(()=>[ee(y(lu))]),_:1})])],10,["disabled","onClick"])):ge("v-if",!0),Z("div",null,Re(y(E)),1)],2),ee(Gx,{"selection-mode":"range",date:u.value,"min-date":y(f),"max-date":y(h),"range-state":y(d),"disabled-date":y(i),onChangerange:y(g),onPick:B,onSelect:y(_)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2),Z("div",{class:F([[y(p).e("content"),y(v).e("content")],"is-right"])},[Z("div",{class:F(y(v).e("header"))},[D.unlinkPanels?(N(),q("button",{key:0,type:"button",disabled:!y($),class:F([[y(p).e("icon-btn"),{"is-disabled":!y($)}],"d-arrow-left"]),onClick:y(x)},[ve(D.$slots,"prev-year",{},()=>[ee(y(Ke),null,{default:le(()=>[ee(y(su))]),_:1})])],10,["disabled","onClick"])):ge("v-if",!0),Z("button",{type:"button",class:F([y(p).e("icon-btn"),"d-arrow-right"]),onClick:y(C)},[ve(D.$slots,"next-year",{},()=>[ee(y(Ke),null,{default:le(()=>[ee(y(lu))]),_:1})])],10,["onClick"]),Z("div",null,Re(y(k)),1)],2),ee(Gx,{"selection-mode":"range",date:c.value,"min-date":y(f),"max-date":y(h),"range-state":y(d),"disabled-date":y(i),onChangerange:y(g),onPick:B,onSelect:y(_)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2)],2)],2)],2))}}));var H0e=De(z0e,[["__file","panel-month-range.vue"]]);const W0e=Ie(X({},i5)),U0e=["pick","set-picker-option","calendar-change"],j0e=({unlinkPanels:e,leftDate:t,rightDate:n})=>{const r=()=>{t.value=t.value.subtract(10,"year"),e.value||(n.value=n.value.subtract(10,"year"))},a=()=>{e.value||(t.value=t.value.add(10,"year")),n.value=n.value.add(10,"year")},o=()=>{t.value=t.value.add(10,"year")},i=()=>{n.value=n.value.subtract(10,"year")},s=R(()=>{const f=Math.floor(t.value.year()/10)*10;return`${f}-${f+9}`}),l=R(()=>{const f=Math.floor(n.value.year()/10)*10;return`${f}-${f+9}`}),u=R(()=>Math.floor(t.value.year()/10)*10+9),c=R(()=>Math.floor(n.value.year()/10)*10);return{leftPrevYear:r,rightNextYear:a,leftNextYear:o,rightPrevYear:i,leftLabel:s,rightLabel:l,leftYear:u,rightYear:c}},k6="year",K0e=te({name:"DatePickerYearRange"}),G0e=te(_e(X({},K0e),{props:W0e,emits:U0e,setup(e,{emit:t}){const n=e,{lang:r}=$t(),a=H(it().locale(r.value)),o=H(a.value.add(10,"year")),{pickerNs:i}=ze(rw),s=Ae("date-range-picker"),l=R(()=>!!B.length),u=R(()=>[i.b(),s.b(),{"has-sidebar":!!Yn().sidebar||l.value}]),c=R(()=>({content:[i.e("content"),s.e("content"),"is-left"],arrowLeftBtn:[i.e("icon-btn"),"d-arrow-left"],arrowRightBtn:[i.e("icon-btn"),{[i.is("disabled")]:!S.value},"d-arrow-right"]})),f=R(()=>({content:[i.e("content"),s.e("content"),"is-right"],arrowLeftBtn:[i.e("icon-btn"),{"is-disabled":!S.value},"d-arrow-left"],arrowRightBtn:[i.e("icon-btn"),"d-arrow-right"]})),h=PH(r),{leftPrevYear:d,rightNextYear:p,leftNextYear:v,rightPrevYear:g,leftLabel:m,rightLabel:w,leftYear:_,rightYear:b}=j0e({unlinkPanels:Jt(n,"unlinkPanels"),leftDate:a,rightDate:o}),S=R(()=>n.unlinkPanels&&b.value>_.value+1),C=H(),T=H(),x=H({endDate:null,selecting:!1}),E=U=>{x.value=U},k=(U,ne=!0)=>{const ie=U.minDate,fe=U.maxDate;T.value===fe&&C.value===ie||(t("calendar-change",[ie.toDate(),fe&&fe.toDate()]),T.value=fe,C.value=ie,ne&&A())},A=(U=!1)=>{ch([C.value,T.value])&&t("pick",[C.value,T.value],U)},P=U=>{x.value.selecting=U,U||(x.value.endDate=null)},$=ze("EP_PICKER_BASE"),{shortcuts:B,disabledDate:I}=$.props,M=Jt($.props,"format"),L=Jt($.props,"defaultValue"),O=()=>{let U;if(Me(L.value)){const ne=it(L.value[0]);let ie=it(L.value[1]);return n.unlinkPanels||(ie=ne.add(10,k6)),[ne,ie]}else L.value?U=it(L.value):U=it();return U=U.locale(r.value),[U,U.add(10,k6)]};xe(()=>L.value,U=>{if(U){const ne=O();a.value=ne[0],o.value=ne[1]}},{immediate:!0}),xe(()=>n.parsedValue,U=>{if(U&&U.length===2)if(C.value=U[0],T.value=U[1],a.value=C.value,n.unlinkPanels&&T.value){const ne=C.value.year(),ie=T.value.year();o.value=ne===ie?T.value.add(10,"year"):T.value}else o.value=a.value.add(10,"year");else{const ne=O();C.value=void 0,T.value=void 0,a.value=ne[0],o.value=ne[1]}},{immediate:!0});const D=U=>Me(U)?U.map(ne=>it(ne,M.value).locale(r.value)):it(U,M.value).locale(r.value),z=U=>Me(U)?U.map(ne=>ne.format(M.value)):U.format(M.value),V=U=>ch(U)&&(I?!I(U[0].toDate())&&!I(U[1].toDate()):!0),j=()=>{const U=O();a.value=U[0],o.value=U[1],T.value=void 0,C.value=void 0,t("pick",null)};return t("set-picker-option",["isValidValue",V]),t("set-picker-option",["parseUserInput",D]),t("set-picker-option",["formatToString",z]),t("set-picker-option",["handleClear",j]),(U,ne)=>(N(),q("div",{class:F(y(u))},[Z("div",{class:F(y(i).e("body-wrapper"))},[ve(U.$slots,"sidebar",{class:F(y(i).e("sidebar"))}),y(l)?(N(),q("div",{key:0,class:F(y(i).e("sidebar"))},[(N(!0),q(je,null,Rt(y(B),(ie,fe)=>(N(),q("button",{key:fe,type:"button",class:F(y(i).e("shortcut")),onClick:G=>y(h)(ie)},Re(ie.text),11,["onClick"]))),128))],2)):ge("v-if",!0),Z("div",{class:F(y(i).e("body"))},[Z("div",{class:F(y(c).content)},[Z("div",{class:F(y(s).e("header"))},[Z("button",{type:"button",class:F(y(c).arrowLeftBtn),onClick:y(d)},[ve(U.$slots,"prev-year",{},()=>[ee(y(Ke),null,{default:le(()=>[ee(y(su))]),_:1})])],10,["onClick"]),U.unlinkPanels?(N(),q("button",{key:0,type:"button",disabled:!y(S),class:F(y(c).arrowRightBtn),onClick:y(v)},[ve(U.$slots,"next-year",{},()=>[ee(y(Ke),null,{default:le(()=>[ee(y(lu))]),_:1})])],10,["disabled","onClick"])):ge("v-if",!0),Z("div",null,Re(y(m)),1)],2),ee(qx,{"selection-mode":"range",date:a.value,"min-date":C.value,"max-date":T.value,"range-state":x.value,"disabled-date":y(I),onChangerange:E,onPick:k,onSelect:P},null,8,["date","min-date","max-date","range-state","disabled-date"])],2),Z("div",{class:F(y(f).content)},[Z("div",{class:F(y(s).e("header"))},[U.unlinkPanels?(N(),q("button",{key:0,type:"button",disabled:!y(S),class:F(y(f).arrowLeftBtn),onClick:y(g)},[ve(U.$slots,"prev-year",{},()=>[ee(y(Ke),null,{default:le(()=>[ee(y(su))]),_:1})])],10,["disabled","onClick"])):ge("v-if",!0),Z("button",{type:"button",class:F(y(f).arrowRightBtn),onClick:y(p)},[ve(U.$slots,"next-year",{},()=>[ee(y(Ke),null,{default:le(()=>[ee(y(lu))]),_:1})])],10,["onClick"]),Z("div",null,Re(y(w)),1)],2),ee(qx,{"selection-mode":"range",date:o.value,"min-date":C.value,"max-date":T.value,"range-state":x.value,"disabled-date":y(I),onChangerange:E,onPick:k,onSelect:P},null,8,["date","min-date","max-date","range-state","disabled-date"])],2)],2)],2)],2))}}));var q0e=De(G0e,[["__file","panel-year-range.vue"]]);const Y0e=function(e){switch(e){case"daterange":case"datetimerange":return $0e;case"monthrange":return H0e;case"yearrange":return q0e;default:return I0e}};it.extend(Zz);it.extend(Ime);it.extend(r5);it.extend(Nme);it.extend(zme);it.extend(jme);it.extend(Yme);it.extend(Qme);var X0e=te({name:"ElDatePicker",install:null,props:y0e,emits:["update:modelValue"],setup(e,{expose:t,emit:n,slots:r}){const a=Ae("picker-panel");kt("ElPopperOptions",zt(Jt(e,"popperOptions"))),kt(rw,{slots:r,pickerNs:a});const o=H();t({focus:()=>{var l;(l=o.value)==null||l.focus()},blur:()=>{var l;(l=o.value)==null||l.blur()},handleOpen:()=>{var l;(l=o.value)==null||l.handleOpen()},handleClose:()=>{var l;(l=o.value)==null||l.handleClose()}});const s=l=>{n("update:modelValue",l)};return()=>{var l;const u=(l=e.format)!=null?l:e0e[e.type]||od,c=Y0e(e.type);return ee(xH,Et(e,{format:u,type:e.type,ref:o,"onUpdate:modelValue":s}),{default:f=>ee(c,f,{"prev-month":r["prev-month"],"next-month":r["next-month"],"prev-year":r["prev-year"],"next-year":r["next-year"]}),"range-separator":r["range-separator"]})}}});const Z0e=pt(X0e),c5=Symbol("elDescriptions");var pp=te({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){return{descriptions:ze(c5,{})}},render(){var e;const t=Xpe(this.cell),n=(((e=this.cell)==null?void 0:e.dirs)||[]).map(m=>{const{dir:w,arg:_,modifiers:b,value:S}=m;return[w,S,_,b]}),{border:r,direction:a}=this.descriptions,o=a==="vertical",i=()=>{var m,w,_;return((_=(w=(m=this.cell)==null?void 0:m.children)==null?void 0:w.label)==null?void 0:_.call(w))||t.label},s=()=>{var m,w,_;return(_=(w=(m=this.cell)==null?void 0:m.children)==null?void 0:w.default)==null?void 0:_.call(w)},l=t.span,u=t.rowspan,c=t.align?`is-${t.align}`:"",f=t.labelAlign?`is-${t.labelAlign}`:c,h=t.className,d=t.labelClassName,p=this.type==="label"&&(t.labelWidth||this.descriptions.labelWidth)||t.width,v={width:Vn(p),minWidth:Vn(t.minWidth)},g=Ae("descriptions");switch(this.type){case"label":return vt(We(this.tag,{style:v,class:[g.e("cell"),g.e("label"),g.is("bordered-label",r),g.is("vertical-label",o),f,d],colSpan:o?l:1,rowspan:o?1:u},i()),n);case"content":return vt(We(this.tag,{style:v,class:[g.e("cell"),g.e("content"),g.is("bordered-content",r),g.is("vertical-content",o),c,h],colSpan:o?l:l*2-1,rowspan:o?u*2-1:u},s()),n);default:{const m=i();return vt(We("td",{style:v,class:[g.e("cell"),c],colSpan:l,rowspan:u},[ur(m)?void 0:We("span",{class:[g.e("label"),d]},m),We("span",{class:[g.e("content"),h]},s())]),n)}}}});const J0e=Ie({row:{type:ce(Array),default:()=>[]}}),Q0e=te({name:"ElDescriptionsRow"}),eye=te(_e(X({},Q0e),{props:J0e,setup(e){const t=ze(c5,{});return(n,r)=>y(t).direction==="vertical"?(N(),q(je,{key:0},[Z("tr",null,[(N(!0),q(je,null,Rt(n.row,(a,o)=>(N(),ye(y(pp),{key:`tr1-${o}`,cell:a,tag:"th",type:"label"},null,8,["cell"]))),128))]),Z("tr",null,[(N(!0),q(je,null,Rt(n.row,(a,o)=>(N(),ye(y(pp),{key:`tr2-${o}`,cell:a,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(N(),q("tr",{key:1},[(N(!0),q(je,null,Rt(n.row,(a,o)=>(N(),q(je,{key:`tr3-${o}`},[y(t).border?(N(),q(je,{key:0},[ee(y(pp),{cell:a,tag:"td",type:"label"},null,8,["cell"]),ee(y(pp),{cell:a,tag:"td",type:"content"},null,8,["cell"])],64)):(N(),ye(y(pp),{key:1,cell:a,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}}));var tye=De(eye,[["__file","descriptions-row.vue"]]);const nye=Ie({border:Boolean,column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:or,title:{type:String,default:""},extra:{type:String,default:""},labelWidth:{type:[String,Number],default:""}}),rye=te({name:"ElDescriptions"}),aye=te(_e(X({},rye),{props:nye,setup(e){const t=e,n=Ae("descriptions"),r=Jn(),a=Yn();kt(c5,t);const o=R(()=>[n.b(),n.m(r.value)]),i=(l,u,c,f=!1)=>(l.props||(l.props={}),u>c&&(l.props.span=c),f&&(l.props.span=u),l),s=()=>{if(!a.default)return[];const l=Gl(a.default()).filter(p=>{var v;return((v=p==null?void 0:p.type)==null?void 0:v.name)==="ElDescriptionsItem"}),u=[];let c=[],f=t.column,h=0;const d=[];return l.forEach((p,v)=>{var g,m,w;const _=((g=p.props)==null?void 0:g.span)||1,b=((m=p.props)==null?void 0:m.rowspan)||1,S=u.length;if(d[S]||(d[S]=0),b>1)for(let C=1;C0&&(f-=d[S],d[S]=0),vf?f:_),v===l.length-1){const C=t.column-h%t.column;c.push(i(p,C,f,!0)),u.push(c);return}_(N(),q("div",{class:F(y(o))},[l.title||l.extra||l.$slots.title||l.$slots.extra?(N(),q("div",{key:0,class:F(y(n).e("header"))},[Z("div",{class:F(y(n).e("title"))},[ve(l.$slots,"title",{},()=>[At(Re(l.title),1)])],2),Z("div",{class:F(y(n).e("extra"))},[ve(l.$slots,"extra",{},()=>[At(Re(l.extra),1)])],2)],2)):ge("v-if",!0),Z("div",{class:F(y(n).e("body"))},[Z("table",{class:F([y(n).e("table"),y(n).is("bordered",l.border)])},[Z("tbody",null,[(N(!0),q(je,null,Rt(s(),(c,f)=>(N(),ye(tye,{key:f,row:c},null,8,["row"]))),128))])],2)],2)],2))}}));var oye=De(aye,[["__file","description.vue"]]);const iye=Ie({label:{type:String,default:""},span:{type:Number,default:1},rowspan:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},labelWidth:{type:[String,Number],default:""},align:{type:String,default:"left"},labelAlign:{type:String,default:""},className:{type:String,default:""},labelClassName:{type:String,default:""}}),IH=te({name:"ElDescriptionsItem",props:iye}),sye=pt(oye,{DescriptionsItem:IH}),lye=Dn(IH),f5=e=>{if(!e)return{onClick:rn,onMousedown:rn,onMouseup:rn};let t=!1,n=!1;return{onClick:i=>{t&&n&&e(i),t=n=!1},onMousedown:i=>{t=i.target===i.currentTarget},onMouseup:i=>{n=i.target===i.currentTarget}}},uye=Ie({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:ce([String,Array,Object])},zIndex:{type:ce([String,Number])}}),cye={click:e=>e instanceof MouseEvent},fye="overlay";var dye=te({name:"ElOverlay",props:uye,emits:cye,setup(e,{slots:t,emit:n}){const r=Ae(fye),a=l=>{n("click",l)},{onClick:o,onMousedown:i,onMouseup:s}=f5(e.customMaskEvent?void 0:a);return()=>e.mask?ee("div",{class:[r.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:o,onMousedown:i,onMouseup:s},[ve(t,"default")],go.STYLE|go.CLASS|go.PROPS,["onClick","onMouseup","onMousedown"]):We("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[ve(t,"default")])}});const d5=dye,DH=Symbol("dialogInjectionKey"),LH=Ie({center:Boolean,alignCenter:Boolean,closeIcon:{type:cn},draggable:Boolean,overflow:Boolean,fullscreen:Boolean,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),hye={close:()=>!0},$H=(e,t,n,r)=>{let a={offsetX:0,offsetY:0};const o=u=>{const c=u.clientX,f=u.clientY,{offsetX:h,offsetY:d}=a,p=e.value.getBoundingClientRect(),v=p.left,g=p.top,m=p.width,w=p.height,_=document.documentElement.clientWidth,b=document.documentElement.clientHeight,S=-v+h,C=-g+d,T=_-v-m+h,x=b-g-w+d,E=A=>{let P=h+A.clientX-c,$=d+A.clientY-f;r!=null&&r.value||(P=Math.min(Math.max(P,S),T),$=Math.min(Math.max($,C),x)),a={offsetX:P,offsetY:$},e.value&&(e.value.style.transform=`translate(${Vn(P)}, ${Vn($)})`)},k=()=>{document.removeEventListener("mousemove",E),document.removeEventListener("mouseup",k)};document.addEventListener("mousemove",E),document.addEventListener("mouseup",k)},i=()=>{t.value&&e.value&&t.value.addEventListener("mousedown",o)},s=()=>{t.value&&e.value&&t.value.removeEventListener("mousedown",o)},l=()=>{a={offsetX:0,offsetY:0},e.value&&(e.value.style.transform="none")};return ft(()=>{Ar(()=>{n.value?i():s()})}),fn(()=>{s()}),{resetPosition:l}},h5=(...e)=>t=>{e.forEach(n=>{Ge(n)?n(t):n.value=t})},pye=te({name:"ElDialogContent"}),vye=te(_e(X({},pye),{props:LH,emits:hye,setup(e,{expose:t}){const n=e,{t:r}=$t(),{Close:a}=L3,{dialogRef:o,headerRef:i,bodyId:s,ns:l,style:u}=ze(DH),{focusTrapRef:c}=ze(H3),f=R(()=>[l.b(),l.is("fullscreen",n.fullscreen),l.is("draggable",n.draggable),l.is("align-center",n.alignCenter),{[l.m("center")]:n.center}]),h=h5(c,o),d=R(()=>n.draggable),p=R(()=>n.overflow),{resetPosition:v}=$H(o,i,d,p);return t({resetPosition:v}),(g,m)=>(N(),q("div",{ref:y(h),class:F(y(f)),style:Xe(y(u)),tabindex:"-1"},[Z("header",{ref_key:"headerRef",ref:i,class:F([y(l).e("header"),{"show-close":g.showClose}])},[ve(g.$slots,"header",{},()=>[Z("span",{role:"heading","aria-level":g.ariaLevel,class:F(y(l).e("title"))},Re(g.title),11,["aria-level"])]),g.showClose?(N(),q("button",{key:0,"aria-label":y(r)("el.dialog.close"),class:F(y(l).e("headerbtn")),type:"button",onClick:w=>g.$emit("close")},[ee(y(Ke),{class:F(y(l).e("close"))},{default:le(()=>[(N(),ye(bt(g.closeIcon||y(a))))]),_:1},8,["class"])],10,["aria-label","onClick"])):ge("v-if",!0)],2),Z("div",{id:y(s),class:F(y(l).e("body"))},[ve(g.$slots,"default")],10,["id"]),g.$slots.footer?(N(),q("footer",{key:0,class:F(y(l).e("footer"))},[ve(g.$slots,"footer")],2)):ge("v-if",!0)],6))}}));var gye=De(vye,[["__file","dialog-content.vue"]]);const NH=Ie(_e(X({},LH),{appendToBody:Boolean,appendTo:{type:ce([String,Object]),default:"body"},beforeClose:{type:ce(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:Boolean,headerAriaLevel:{type:String,default:"2"}})),BH={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[St]:e=>hn(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},p5=(e,t={})=>{Gt(e)||ar("[useLockscreen]","You need to pass a ref param to this function");const n=t.ns||Ae("popup"),r=R(()=>n.bm("parent","hidden"));if(!Bt||Ra(document.body,r.value))return;let a=0,o=!1,i="0";const s=()=>{setTimeout(()=>{typeof document!="undefined"&&(Ur(document==null?void 0:document.body,r.value),o&&document&&(document.body.style.width=i))},200)};xe(e,l=>{if(!l){s();return}o=!Ra(document.body,r.value),o&&(i=document.body.style.width),a=az(n.namespace.value);const u=document.documentElement.clientHeight0&&(u||c==="scroll")&&o&&(document.body.style.width=`calc(100% - ${a}px)`),Co(document.body,r.value)}),Lh(()=>s())},FH=(e,t)=>{var n;const a=st().emit,{nextZIndex:o}=mm();let i="";const s=jr(),l=jr(),u=H(!1),c=H(!1),f=H(!1),h=H((n=e.zIndex)!=null?n:o());let d,p;const v=q_("namespace",hv),g=R(()=>{const I={},M=`--${v.value}-dialog`;return e.fullscreen||(e.top&&(I[`${M}-margin-top`]=e.top),e.width&&(I[`${M}-width`]=Vn(e.width))),I}),m=R(()=>e.alignCenter?{display:"flex"}:{});function w(){a("opened")}function _(){a("closed"),a(St,!1),e.destroyOnClose&&(f.value=!1)}function b(){a("close")}function S(){p==null||p(),d==null||d(),e.openDelay&&e.openDelay>0?{stop:d}=ah(()=>E(),e.openDelay):E()}function C(){d==null||d(),p==null||p(),e.closeDelay&&e.closeDelay>0?{stop:p}=ah(()=>k(),e.closeDelay):k()}function T(){function I(M){M||(c.value=!0,u.value=!1)}e.beforeClose?e.beforeClose(I):C()}function x(){e.closeOnClickModal&&T()}function E(){Bt&&(u.value=!0)}function k(){u.value=!1}function A(){a("openAutoFocus")}function P(){a("closeAutoFocus")}function $(I){var M;((M=I.detail)==null?void 0:M.focusReason)==="pointer"&&I.preventDefault()}e.lockScroll&&p5(u);function B(){e.closeOnPressEscape&&T()}return xe(()=>e.modelValue,I=>{I?(c.value=!1,S(),f.value=!0,h.value=zV(e.zIndex)?o():h.value++,qe(()=>{a("open"),t.value&&(t.value.scrollTop=0)})):u.value&&C()}),xe(()=>e.fullscreen,I=>{t.value&&(I?(i=t.value.style.transform,t.value.style.transform=""):t.value.style.transform=i)}),ft(()=>{e.modelValue&&(u.value=!0,f.value=!0,S())}),{afterEnter:w,afterLeave:_,beforeLeave:b,handleClose:T,onModalClick:x,close:C,doClose:k,onOpenAutoFocus:A,onCloseAutoFocus:P,onCloseRequested:B,onFocusoutPrevented:$,titleId:s,bodyId:l,closed:c,style:g,overlayDialogStyle:m,rendered:f,visible:u,zIndex:h}},mye=te({name:"ElDialog",inheritAttrs:!1}),yye=te(_e(X({},mye),{props:NH,emits:BH,setup(e,{expose:t}){const n=e,r=Yn();jl({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},R(()=>!!r.title));const a=Ae("dialog"),o=H(),i=H(),s=H(),{visible:l,titleId:u,bodyId:c,style:f,overlayDialogStyle:h,rendered:d,zIndex:p,afterEnter:v,afterLeave:g,beforeLeave:m,handleClose:w,onModalClick:_,onOpenAutoFocus:b,onCloseAutoFocus:S,onCloseRequested:C,onFocusoutPrevented:T}=FH(n,o);kt(DH,{dialogRef:o,headerRef:i,bodyId:c,ns:a,rendered:d,style:f});const x=f5(_),E=R(()=>n.draggable&&!n.fullscreen);return t({visible:l,dialogContentRef:s,resetPosition:()=>{var A;(A=s.value)==null||A.resetPosition()}}),(A,P)=>(N(),ye(y(wm),{to:A.appendTo,disabled:A.appendTo!=="body"?!1:!A.appendToBody},{default:le(()=>[ee(yr,{name:"dialog-fade",onAfterEnter:y(v),onAfterLeave:y(g),onBeforeLeave:y(m),persisted:""},{default:le(()=>[vt(ee(y(d5),{"custom-mask-event":"",mask:A.modal,"overlay-class":A.modalClass,"z-index":y(p)},{default:le(()=>[Z("div",{role:"dialog","aria-modal":"true","aria-label":A.title||void 0,"aria-labelledby":A.title?void 0:y(u),"aria-describedby":y(c),class:F(`${y(a).namespace.value}-overlay-dialog`),style:Xe(y(h)),onClick:y(x).onClick,onMousedown:y(x).onMousedown,onMouseup:y(x).onMouseup},[ee(y(Uh),{loop:"",trapped:y(l),"focus-start-el":"container",onFocusAfterTrapped:y(b),onFocusAfterReleased:y(S),onFocusoutPrevented:y(T),onReleaseRequested:y(C)},{default:le(()=>[y(d)?(N(),ye(gye,Et({key:0,ref_key:"dialogContentRef",ref:s},A.$attrs,{center:A.center,"align-center":A.alignCenter,"close-icon":A.closeIcon,draggable:y(E),overflow:A.overflow,fullscreen:A.fullscreen,"show-close":A.showClose,title:A.title,"aria-level":A.headerAriaLevel,onClose:y(w)}),Oo({header:le(()=>[A.$slots.title?ve(A.$slots,"title",{key:1}):ve(A.$slots,"header",{key:0,close:y(w),titleId:y(u),titleClass:y(a).e("title")})]),default:le(()=>[ve(A.$slots,"default")]),_:2},[A.$slots.footer?{name:"footer",fn:le(()=>[ve(A.$slots,"footer")])}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","show-close","title","aria-level","onClose"])):ge("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,["aria-label","aria-labelledby","aria-describedby","onClick","onMousedown","onMouseup"])]),_:3},8,["mask","overlay-class","z-index"]),[[Wt,y(l)]])]),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])]),_:3},8,["to","disabled"]))}}));var bye=De(yye,[["__file","dialog.vue"]]);const _ye=pt(bye),wye=Ie({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:ce(String),default:"solid"}}),Sye=te({name:"ElDivider"}),Cye=te(_e(X({},Sye),{props:wye,setup(e){const t=e,n=Ae("divider"),r=R(()=>n.cssVar({"border-style":t.borderStyle}));return(a,o)=>(N(),q("div",{class:F([y(n).b(),y(n).m(a.direction)]),style:Xe(y(r)),role:"separator"},[a.$slots.default&&a.direction!=="vertical"?(N(),q("div",{key:0,class:F([y(n).e("text"),y(n).is(a.contentPosition)])},[ve(a.$slots,"default")],2)):ge("v-if",!0)],6))}}));var Tye=De(Cye,[["__file","divider.vue"]]);const VH=pt(Tye),xye=Ie(_e(X({},NH),{direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}})),Eye=BH,kye=te({name:"ElDrawer",inheritAttrs:!1}),Aye=te(_e(X({},kye),{props:xye,emits:Eye,setup(e,{expose:t}){const n=e,r=Yn();jl({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},R(()=>!!r.title));const a=H(),o=H(),i=Ae("drawer"),{t:s}=$t(),{afterEnter:l,afterLeave:u,beforeLeave:c,visible:f,rendered:h,titleId:d,bodyId:p,zIndex:v,onModalClick:g,onOpenAutoFocus:m,onCloseAutoFocus:w,onFocusoutPrevented:_,onCloseRequested:b,handleClose:S}=FH(n,a),C=R(()=>n.direction==="rtl"||n.direction==="ltr"),T=R(()=>Vn(n.size));return t({handleClose:S,afterEnter:l,afterLeave:u}),(x,E)=>(N(),ye(y(wm),{to:x.appendTo,disabled:x.appendTo!=="body"?!1:!x.appendToBody},{default:le(()=>[ee(yr,{name:y(i).b("fade"),onAfterEnter:y(l),onAfterLeave:y(u),onBeforeLeave:y(c),persisted:""},{default:le(()=>[vt(ee(y(d5),{mask:x.modal,"overlay-class":x.modalClass,"z-index":y(v),onClick:y(g)},{default:le(()=>[ee(y(Uh),{loop:"",trapped:y(f),"focus-trap-el":a.value,"focus-start-el":o.value,onFocusAfterTrapped:y(m),onFocusAfterReleased:y(w),onFocusoutPrevented:y(_),onReleaseRequested:y(b)},{default:le(()=>[Z("div",Et({ref_key:"drawerRef",ref:a,"aria-modal":"true","aria-label":x.title||void 0,"aria-labelledby":x.title?void 0:y(d),"aria-describedby":y(p)},x.$attrs,{class:[y(i).b(),x.direction,y(f)&&"open"],style:y(C)?"width: "+y(T):"height: "+y(T),role:"dialog",onClick:nt(()=>{},["stop"])}),[Z("span",{ref_key:"focusStartRef",ref:o,class:F(y(i).e("sr-focus")),tabindex:"-1"},null,2),x.withHeader?(N(),q("header",{key:0,class:F(y(i).e("header"))},[x.$slots.title?ve(x.$slots,"title",{key:1},()=>[ge(" DEPRECATED SLOT ")]):ve(x.$slots,"header",{key:0,close:y(S),titleId:y(d),titleClass:y(i).e("title")},()=>[x.$slots.title?ge("v-if",!0):(N(),q("span",{key:0,id:y(d),role:"heading","aria-level":x.headerAriaLevel,class:F(y(i).e("title"))},Re(x.title),11,["id","aria-level"]))]),x.showClose?(N(),q("button",{key:2,"aria-label":y(s)("el.drawer.close"),class:F(y(i).e("close-btn")),type:"button",onClick:y(S)},[ee(y(Ke),{class:F(y(i).e("close"))},{default:le(()=>[ee(y(gi))]),_:1},8,["class"])],10,["aria-label","onClick"])):ge("v-if",!0)],2)):ge("v-if",!0),y(h)?(N(),q("div",{key:1,id:y(p),class:F(y(i).e("body"))},[ve(x.$slots,"default")],10,["id"])):ge("v-if",!0),x.$slots.footer?(N(),q("div",{key:2,class:F(y(i).e("footer"))},[ve(x.$slots,"footer")],2)):ge("v-if",!0)],16,["aria-label","aria-labelledby","aria-describedby","onClick"])]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[Wt,y(f)]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])]),_:3},8,["to","disabled"]))}}));var Mye=De(Aye,[["__file","drawer.vue"]]);const Oye=pt(Mye),Pye=te({inheritAttrs:!1});function Rye(e,t,n,r,a,o){return ve(e.$slots,"default")}var Iye=De(Pye,[["render",Rye],["__file","collection.vue"]]);const Dye=te({name:"ElCollectionItem",inheritAttrs:!1});function Lye(e,t,n,r,a,o){return ve(e.$slots,"default")}var $ye=De(Dye,[["render",Lye],["__file","collection-item.vue"]]);const zH="data-el-collection-item",HH=e=>{const t=`El${e}Collection`,n=`${t}Item`,r=Symbol(t),a=Symbol(n),o=_e(X({},Iye),{name:t,setup(){const s=H(null),l=new Map;kt(r,{itemMap:l,getItems:()=>{const c=y(s);if(!c)return[];const f=Array.from(c.querySelectorAll(`[${zH}]`));return[...l.values()].sort((d,p)=>f.indexOf(d.ref)-f.indexOf(p.ref))},collectionRef:s})}}),i=_e(X({},$ye),{name:n,setup(s,{attrs:l}){const u=H(null),c=ze(r,void 0);kt(a,{collectionItemRef:u}),ft(()=>{const f=y(u);f&&c.itemMap.set(f,X({ref:f},l))}),fn(()=>{const f=y(u);c.itemMap.delete(f)})}});return{COLLECTION_INJECTION_KEY:r,COLLECTION_ITEM_INJECTION_KEY:a,ElCollection:o,ElCollectionItem:i}},Nye=Ie({style:{type:ce([String,Array,Object])},currentTabId:{type:ce(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:ce(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:Bye,ElCollectionItem:Fye,COLLECTION_INJECTION_KEY:v5,COLLECTION_ITEM_INJECTION_KEY:Vye}=HH("RovingFocusGroup"),g5=Symbol("elRovingFocusGroup"),WH=Symbol("elRovingFocusGroupItem"),zye={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},Hye=(e,t)=>e,Wye=(e,t,n)=>{const r=Hye(e.code);return zye[r]},Uye=(e,t)=>e.map((n,r)=>e[(r+t)%e.length]),m5=e=>{const{activeElement:t}=document;for(const n of e)if(n===t||(n.focus(),t!==document.activeElement))return},A6="currentTabIdChange",M6="rovingFocusGroup.entryFocus",jye={bubbles:!1,cancelable:!0},Kye=te({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:Nye,emits:[A6,"entryFocus"],setup(e,{emit:t}){var n;const r=H((n=e.currentTabId||e.defaultCurrentTabId)!=null?n:null),a=H(!1),o=H(!1),i=H(null),{getItems:s}=ze(v5,void 0),l=R(()=>[{outline:"none"},e.style]),u=v=>{t(A6,v)},c=()=>{a.value=!0},f=lr(v=>{var g;(g=e.onMousedown)==null||g.call(e,v)},()=>{o.value=!0}),h=lr(v=>{var g;(g=e.onFocus)==null||g.call(e,v)},v=>{const g=!y(o),{target:m,currentTarget:w}=v;if(m===w&&g&&!y(a)){const _=new Event(M6,jye);if(w==null||w.dispatchEvent(_),!_.defaultPrevented){const b=s().filter(E=>E.focusable),S=b.find(E=>E.active),C=b.find(E=>E.id===y(r)),x=[S,C,...b].filter(Boolean).map(E=>E.ref);m5(x)}}o.value=!1}),d=lr(v=>{var g;(g=e.onBlur)==null||g.call(e,v)},()=>{a.value=!1}),p=(...v)=>{t("entryFocus",...v)};kt(g5,{currentTabbedId:gu(r),loop:Jt(e,"loop"),tabIndex:R(()=>y(a)?-1:0),rovingFocusGroupRef:i,rovingFocusGroupRootStyle:l,orientation:Jt(e,"orientation"),dir:Jt(e,"dir"),onItemFocus:u,onItemShiftTab:c,onBlur:d,onFocus:h,onMousedown:f}),xe(()=>e.currentTabId,v=>{r.value=v!=null?v:null}),sn(i,M6,p)}});function Gye(e,t,n,r,a,o){return ve(e.$slots,"default")}var qye=De(Kye,[["render",Gye],["__file","roving-focus-group-impl.vue"]]);const Yye=te({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:Bye,ElRovingFocusGroupImpl:qye}});function Xye(e,t,n,r,a,o){const i=gt("el-roving-focus-group-impl"),s=gt("el-focus-group-collection");return N(),ye(s,null,{default:le(()=>[ee(i,Kd(Yd(e.$attrs)),{default:le(()=>[ve(e.$slots,"default")]),_:3},16)]),_:3})}var Zye=De(Yye,[["render",Xye],["__file","roving-focus-group.vue"]]);const Xy=Ie({trigger:sg.trigger,effect:_e(X({},fr.effect),{default:"light"}),type:{type:ce(String)},placement:{type:ce(String),default:"bottom"},popperOptions:{type:ce(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:ce([Number,String]),default:0},maxHeight:{type:ce([Number,String]),default:""},popperClass:{type:String,default:""},disabled:Boolean,role:{type:String,default:"menu"},buttonProps:{type:ce(Object)},teleported:fr.teleported}),UH=Ie({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:cn}}),Jye=Ie({onKeydown:{type:ce(Function)}}),Qye=[Ue.down,Ue.pageDown,Ue.home],jH=[Ue.up,Ue.pageUp,Ue.end],e1e=[...Qye,...jH],{ElCollection:t1e,ElCollectionItem:n1e,COLLECTION_INJECTION_KEY:r1e,COLLECTION_ITEM_INJECTION_KEY:a1e}=HH("Dropdown"),aw=Symbol("elDropdown"),{ButtonGroup:o1e}=mr,i1e=te({name:"ElDropdown",components:{ElButton:mr,ElButtonGroup:o1e,ElScrollbar:nl,ElDropdownCollection:t1e,ElTooltip:Kr,ElRovingFocusGroup:Zye,ElOnlyChild:Sz,ElIcon:Ke,ArrowDown:tl},props:Xy,emits:["visible-change","click","command"],setup(e,{emit:t}){const n=st(),r=Ae("dropdown"),{t:a}=$t(),o=H(),i=H(),s=H(null),l=H(null),u=H(null),c=H(null),f=H(!1),h=[Ue.enter,Ue.numpadEnter,Ue.space,Ue.down],d=R(()=>({maxHeight:Vn(e.maxHeight)})),p=R(()=>[r.m(S.value)]),v=R(()=>ua(e.trigger)),g=jr().value,m=R(()=>e.id||g);xe([o,v],([L,O],[D])=>{var z,V,j;(z=D==null?void 0:D.$el)!=null&&z.removeEventListener&&D.$el.removeEventListener("pointerenter",T),(V=L==null?void 0:L.$el)!=null&&V.removeEventListener&&L.$el.removeEventListener("pointerenter",T),(j=L==null?void 0:L.$el)!=null&&j.addEventListener&&O.includes("hover")&&L.$el.addEventListener("pointerenter",T)},{immediate:!0}),fn(()=>{var L,O;(O=(L=o.value)==null?void 0:L.$el)!=null&&O.removeEventListener&&o.value.$el.removeEventListener("pointerenter",T)});function w(){_()}function _(){var L;(L=s.value)==null||L.onClose()}function b(){var L;(L=s.value)==null||L.onOpen()}const S=Jn();function C(...L){t("command",...L)}function T(){var L,O;(O=(L=o.value)==null?void 0:L.$el)==null||O.focus()}function x(){}function E(){const L=y(l);v.value.includes("hover")&&(L==null||L.focus()),c.value=null}function k(L){c.value=L}function A(L){f.value||(L.preventDefault(),L.stopImmediatePropagation())}function P(){t("visible-change",!0)}function $(L){(L==null?void 0:L.type)==="keydown"&&l.value.focus()}function B(){t("visible-change",!1)}return kt(aw,{contentRef:l,role:R(()=>e.role),triggerId:m,isUsingKeyboard:f,onItemEnter:x,onItemLeave:E}),kt("elDropdown",{instance:n,dropdownSize:S,handleClick:w,commandHandler:C,trigger:Jt(e,"trigger"),hideOnClick:Jt(e,"hideOnClick")}),{t:a,ns:r,scrollbar:u,wrapStyle:d,dropdownTriggerKls:p,dropdownSize:S,triggerId:m,triggerKeys:h,currentTabId:c,handleCurrentTabIdChange:k,handlerMainButtonClick:L=>{t("click",L)},handleEntryFocus:A,handleClose:_,handleOpen:b,handleBeforeShowTooltip:P,handleShowTooltip:$,handleBeforeHideTooltip:B,onFocusAfterTrapped:L=>{var O,D;L.preventDefault(),(D=(O=l.value)==null?void 0:O.focus)==null||D.call(O,{preventScroll:!0})},popperRef:s,contentRef:l,triggeringElementRef:o,referenceElementRef:i}}});function s1e(e,t,n,r,a,o){var i;const s=gt("el-dropdown-collection"),l=gt("el-roving-focus-group"),u=gt("el-scrollbar"),c=gt("el-only-child"),f=gt("el-tooltip"),h=gt("el-button"),d=gt("arrow-down"),p=gt("el-icon"),v=gt("el-button-group");return N(),q("div",{class:F([e.ns.b(),e.ns.is("disabled",e.disabled)])},[ee(f,{ref:"popperRef",role:e.role,effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,"hide-after":e.trigger==="hover"?e.hideTimeout:0,"manual-mode":!0,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"reference-element":(i=e.referenceElementRef)==null?void 0:i.$el,trigger:e.trigger,"trigger-keys":e.triggerKeys,"trigger-target-el":e.contentRef,"show-after":e.trigger==="hover"?e.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":e.triggeringElementRef,"virtual-triggering":e.splitButton,disabled:e.disabled,transition:`${e.ns.namespace.value}-zoom-in-top`,teleported:e.teleported,pure:"",persistent:"",onBeforeShow:e.handleBeforeShowTooltip,onShow:e.handleShowTooltip,onBeforeHide:e.handleBeforeHideTooltip},Oo({content:le(()=>[ee(u,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:le(()=>[ee(l,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange,onEntryFocus:e.handleEntryFocus},{default:le(()=>[ee(s,null,{default:le(()=>[ve(e.$slots,"dropdown")]),_:3})]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])]),_:3},8,["wrap-style","view-class"])]),_:2},[e.splitButton?void 0:{name:"default",fn:le(()=>[ee(c,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:le(()=>[ve(e.$slots,"default")]),_:3},8,["id","tabindex"])])}]),1032,["role","effect","popper-options","hide-after","placement","popper-class","reference-element","trigger","trigger-keys","trigger-target-el","show-after","virtual-ref","virtual-triggering","disabled","transition","teleported","onBeforeShow","onShow","onBeforeHide"]),e.splitButton?(N(),ye(v,{key:0},{default:le(()=>[ee(h,Et({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:le(()=>[ve(e.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),ee(h,Et({id:e.triggerId,ref:"triggeringElementRef"},e.buttonProps,{role:"button",size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled,tabindex:e.tabindex,"aria-label":e.t("el.dropdown.toggleDropdown")}),{default:le(()=>[ee(p,{class:F(e.ns.e("icon"))},{default:le(()=>[ee(d)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):ge("v-if",!0)],2)}var l1e=De(i1e,[["render",s1e],["__file","dropdown.vue"]]);const u1e=te({components:{ElRovingFocusCollectionItem:Fye},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup(e,{emit:t}){const{currentTabbedId:n,loop:r,onItemFocus:a,onItemShiftTab:o}=ze(g5,void 0),{getItems:i}=ze(v5,void 0),s=jr(),l=H(null),u=lr(d=>{t("mousedown",d)},d=>{e.focusable?a(y(s)):d.preventDefault()}),c=lr(d=>{t("focus",d)},()=>{a(y(s))}),f=lr(d=>{t("keydown",d)},d=>{const{code:p,shiftKey:v,target:g,currentTarget:m}=d;if(p===Ue.tab&&v){o();return}if(g!==m)return;const w=Wye(d);if(w){d.preventDefault();let b=i().filter(S=>S.focusable).map(S=>S.ref);switch(w){case"last":{b.reverse();break}case"prev":case"next":{w==="prev"&&b.reverse();const S=b.indexOf(m);b=r.value?Uye(b,S+1):b.slice(S+1);break}}qe(()=>{m5(b)})}}),h=R(()=>n.value===y(s));return kt(WH,{rovingFocusGroupItemRef:l,tabIndex:R(()=>y(h)?0:-1),handleMousedown:u,handleFocus:c,handleKeydown:f}),{id:s,handleKeydown:f,handleFocus:c,handleMousedown:u}}});function c1e(e,t,n,r,a,o){const i=gt("el-roving-focus-collection-item");return N(),ye(i,{id:e.id,focusable:e.focusable,active:e.active},{default:le(()=>[ve(e.$slots,"default")]),_:3},8,["id","focusable","active"])}var f1e=De(u1e,[["render",c1e],["__file","roving-focus-item.vue"]]);const d1e=te({name:"DropdownItemImpl",components:{ElIcon:Ke},props:UH,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:t}){const n=Ae("dropdown"),{role:r}=ze(aw,void 0),{collectionItemRef:a}=ze(a1e,void 0),{collectionItemRef:o}=ze(Vye,void 0),{rovingFocusGroupItemRef:i,tabIndex:s,handleFocus:l,handleKeydown:u,handleMousedown:c}=ze(WH,void 0),f=h5(a,o,i),h=R(()=>r.value==="menu"?"menuitem":r.value==="navigation"?"link":"button"),d=lr(p=>{if([Ue.enter,Ue.numpadEnter,Ue.space].includes(p.code))return p.preventDefault(),p.stopImmediatePropagation(),t("clickimpl",p),!0},u);return{ns:n,itemRef:f,dataset:{[zH]:""},role:h,tabIndex:s,handleFocus:l,handleKeydown:d,handleMousedown:c}}});function h1e(e,t,n,r,a,o){const i=gt("el-icon");return N(),q(je,null,[e.divided?(N(),q("li",{key:0,role:"separator",class:F(e.ns.bem("menu","item","divided"))},null,2)):ge("v-if",!0),Z("li",Et({ref:e.itemRef},X(X({},e.dataset),e.$attrs),{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:e.role,onClick:s=>e.$emit("clickimpl",s),onFocus:e.handleFocus,onKeydown:nt(e.handleKeydown,["self"]),onMousedown:e.handleMousedown,onPointermove:s=>e.$emit("pointermove",s),onPointerleave:s=>e.$emit("pointerleave",s)}),[e.icon?(N(),ye(i,{key:0},{default:le(()=>[(N(),ye(bt(e.icon)))]),_:1})):ge("v-if",!0),ve(e.$slots,"default")],16,["aria-disabled","tabindex","role","onClick","onFocus","onKeydown","onMousedown","onPointermove","onPointerleave"])],64)}var p1e=De(d1e,[["render",h1e],["__file","dropdown-item-impl.vue"]]);const KH=()=>{const e=ze("elDropdown",{}),t=R(()=>e==null?void 0:e.dropdownSize);return{elDropdown:e,_elDropdownSize:t}},v1e=te({name:"ElDropdownItem",components:{ElDropdownCollectionItem:n1e,ElRovingFocusItem:f1e,ElDropdownItemImpl:p1e},inheritAttrs:!1,props:UH,emits:["pointermove","pointerleave","click"],setup(e,{emit:t,attrs:n}){const{elDropdown:r}=KH(),a=st(),o=H(null),i=R(()=>{var d,p;return(p=(d=y(o))==null?void 0:d.textContent)!=null?p:""}),{onItemEnter:s,onItemLeave:l}=ze(aw,void 0),u=lr(d=>(t("pointermove",d),d.defaultPrevented),YI(d=>{if(e.disabled){l(d);return}const p=d.currentTarget;p===document.activeElement||p.contains(document.activeElement)||(s(d),d.defaultPrevented||p==null||p.focus())})),c=lr(d=>(t("pointerleave",d),d.defaultPrevented),YI(l)),f=lr(d=>{if(!e.disabled)return t("click",d),d.type!=="keydown"&&d.defaultPrevented},d=>{var p,v,g;if(e.disabled){d.stopImmediatePropagation();return}(p=r==null?void 0:r.hideOnClick)!=null&&p.value&&((v=r.handleClick)==null||v.call(r)),(g=r.commandHandler)==null||g.call(r,e.command,a,d)}),h=R(()=>X(X({},e),n));return{handleClick:f,handlePointerMove:u,handlePointerLeave:c,textContent:i,propsAndAttrs:h}}});function g1e(e,t,n,r,a,o){var i;const s=gt("el-dropdown-item-impl"),l=gt("el-roving-focus-item"),u=gt("el-dropdown-collection-item");return N(),ye(u,{disabled:e.disabled,"text-value":(i=e.textValue)!=null?i:e.textContent},{default:le(()=>[ee(l,{focusable:!e.disabled},{default:le(()=>[ee(s,Et(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),{default:le(()=>[ve(e.$slots,"default")]),_:3},16,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])]),_:3},8,["disabled","text-value"])}var GH=De(v1e,[["render",g1e],["__file","dropdown-item.vue"]]);const m1e=te({name:"ElDropdownMenu",props:Jye,setup(e){const t=Ae("dropdown"),{_elDropdownSize:n}=KH(),r=n.value,{focusTrapRef:a,onKeydown:o}=ze(H3,void 0),{contentRef:i,role:s,triggerId:l}=ze(aw,void 0),{collectionRef:u,getItems:c}=ze(r1e,void 0),{rovingFocusGroupRef:f,rovingFocusGroupRootStyle:h,tabIndex:d,onBlur:p,onFocus:v,onMousedown:g}=ze(g5,void 0),{collectionRef:m}=ze(v5,void 0),w=R(()=>[t.b("menu"),t.bm("menu",r==null?void 0:r.value)]),_=h5(i,u,a,f,m),b=lr(C=>{var T;(T=e.onKeydown)==null||T.call(e,C)},C=>{const{currentTarget:T,code:x,target:E}=C;if(T.contains(E),Ue.tab===x&&C.stopImmediatePropagation(),C.preventDefault(),E!==y(i)||!e1e.includes(x))return;const A=c().filter(P=>!P.disabled).map(P=>P.ref);jH.includes(x)&&A.reverse(),m5(A)});return{size:r,rovingFocusGroupRootStyle:h,tabIndex:d,dropdownKls:w,role:s,triggerId:l,dropdownListWrapperRef:_,handleKeydown:C=>{b(C),o(C)},onBlur:p,onFocus:v,onMousedown:g}}});function y1e(e,t,n,r,a,o){return N(),q("ul",{ref:e.dropdownListWrapperRef,class:F(e.dropdownKls),style:Xe(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onBlur:e.onBlur,onFocus:e.onFocus,onKeydown:nt(e.handleKeydown,["self"]),onMousedown:nt(e.onMousedown,["self"])},[ve(e.$slots,"default")],46,["role","aria-labelledby","onBlur","onFocus","onKeydown","onMousedown"])}var qH=De(m1e,[["render",y1e],["__file","dropdown-menu.vue"]]);const b1e=pt(l1e,{DropdownItem:GH,DropdownMenu:qH}),_1e=Dn(GH),w1e=Dn(qH),S1e=te({name:"ImgEmpty"}),C1e=te(_e(X({},S1e),{setup(e){const t=Ae("empty"),n=jr();return(r,a)=>(N(),q("svg",{viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[Z("defs",null,[Z("linearGradient",{id:`linearGradient-1-${y(n)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[Z("stop",{"stop-color":`var(${y(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,["stop-color"]),Z("stop",{"stop-color":`var(${y(t).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,["stop-color"])],8,["id"]),Z("linearGradient",{id:`linearGradient-2-${y(n)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[Z("stop",{"stop-color":`var(${y(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,["stop-color"]),Z("stop",{"stop-color":`var(${y(t).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,["stop-color"])],8,["id"]),Z("rect",{id:`path-3-${y(n)}`,x:"0",y:"0",width:"17",height:"36"},null,8,["id"])]),Z("g",{id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[Z("g",{id:"B-type",transform:"translate(-1268.000000, -535.000000)"},[Z("g",{id:"Group-2",transform:"translate(1268.000000, 535.000000)"},[Z("path",{id:"Oval-Copy-2",d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${y(t).cssVarBlockName("fill-color-3")})`},null,8,["fill"]),Z("polygon",{id:"Rectangle-Copy-14",fill:`var(${y(t).cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,["fill"]),Z("g",{id:"Group-Copy",transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},[Z("polygon",{id:"Rectangle-Copy-10",fill:`var(${y(t).cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,["fill"]),Z("polygon",{id:"Rectangle-Copy-11",fill:`var(${y(t).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,["fill"]),Z("rect",{id:"Rectangle-Copy-12",fill:`url(#linearGradient-1-${y(n)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,["fill"]),Z("polygon",{id:"Rectangle-Copy-13",fill:`var(${y(t).cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,["fill"])]),Z("rect",{id:"Rectangle-Copy-15",fill:`url(#linearGradient-2-${y(n)})`,x:"13",y:"45",width:"40",height:"36"},null,8,["fill"]),Z("g",{id:"Rectangle-Copy-17",transform:"translate(53.000000, 45.000000)"},[Z("use",{id:"Mask",fill:`var(${y(t).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${y(n)}`},null,8,["fill","xlink:href"]),Z("polygon",{id:"Rectangle-Copy",fill:`var(${y(t).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${y(n)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,["fill","mask"])]),Z("polygon",{id:"Rectangle-Copy-18",fill:`var(${y(t).cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,["fill"])])])])]))}}));var T1e=De(C1e,[["__file","img-empty.vue"]]);const x1e=Ie({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),E1e=te({name:"ElEmpty"}),k1e=te(_e(X({},E1e),{props:x1e,setup(e){const t=e,{t:n}=$t(),r=Ae("empty"),a=R(()=>t.description||n("el.table.emptyText")),o=R(()=>({width:Vn(t.imageSize)}));return(i,s)=>(N(),q("div",{class:F(y(r).b())},[Z("div",{class:F(y(r).e("image")),style:Xe(y(o))},[i.image?(N(),q("img",{key:0,src:i.image,ondragstart:"return false"},null,8,["src"])):ve(i.$slots,"image",{key:1},()=>[ee(T1e)])],6),Z("div",{class:F(y(r).e("description"))},[i.$slots.description?ve(i.$slots,"description",{key:0}):(N(),q("p",{key:1},Re(y(a)),1))],2),i.$slots.default?(N(),q("div",{key:0,class:F(y(r).e("bottom"))},[ve(i.$slots,"default")],2)):ge("v-if",!0)],2))}}));var A1e=De(k1e,[["__file","empty.vue"]]);const YH=pt(A1e),M1e=Ie({size:{type:String,values:ms},disabled:Boolean}),O1e=Ie(_e(X({},M1e),{model:Object,rules:{type:ce(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}})),P1e={validate:(e,t,n)=>(Me(e)||Ze(e))&&hn(t)&&Ze(n)};function R1e(){const e=H([]),t=R(()=>{if(!e.value.length)return"0";const o=Math.max(...e.value);return o?`${o}px`:""});function n(o){const i=e.value.indexOf(o);return i===-1&&t.value,i}function r(o,i){if(o&&i){const s=n(i);e.value.splice(s,1,o)}else o&&e.value.push(o)}function a(o){const i=n(o);i>-1&&e.value.splice(i,1)}return{autoLabelWidth:t,registerLabelWidth:r,deregisterLabelWidth:a}}const A0=(e,t)=>{const n=ua(t);return n.length>0?e.filter(r=>r.prop&&n.includes(r.prop)):e},I1e="ElForm",D1e=te({name:I1e}),L1e=te(_e(X({},D1e),{props:O1e,emits:P1e,setup(e,{expose:t,emit:n}){const r=e,a=[],o=Jn(),i=Ae("form"),s=R(()=>{const{labelPosition:_,inline:b}=r;return[i.b(),i.m(o.value||"default"),{[i.m(`label-${_}`)]:_,[i.m("inline")]:b}]}),l=_=>a.find(b=>b.prop===_),u=_=>{a.push(_)},c=_=>{_.prop&&a.splice(a.indexOf(_),1)},f=(_=[])=>{r.model&&A0(a,_).forEach(b=>b.resetField())},h=(_=[])=>{A0(a,_).forEach(b=>b.clearValidate())},d=R(()=>!!r.model),p=_=>{if(a.length===0)return[];const b=A0(a,_);return b.length?b:[]},v=_=>ut(this,null,function*(){return m(void 0,_)}),g=(...b)=>ut(this,[...b],function*(_=[]){if(!d.value)return!1;const S=p(_);if(S.length===0)return!0;let C={};for(const T of S)try{yield T.validate("")}catch(x){C=X(X({},C),x)}return Object.keys(C).length===0?!0:Promise.reject(C)}),m=(...S)=>ut(this,[...S],function*(_=[],b){const C=!Ge(b);try{const T=yield g(_);return T===!0&&(yield b==null?void 0:b(T)),T}catch(T){if(T instanceof Error)throw T;const x=T;return r.scrollToError&&w(Object.keys(x)[0]),yield b==null?void 0:b(!1,x),C&&Promise.reject(x)}}),w=_=>{var b;const S=A0(a,_)[0];S&&((b=S.$el)==null||b.scrollIntoView(r.scrollIntoViewOptions))};return xe(()=>r.rules,()=>{r.validateOnRuleChange&&v().catch(_=>void 0)},{deep:!0}),kt(Sf,zt(X(_e(X({},rr(r)),{emit:n,resetFields:f,clearValidate:h,validateField:m,getField:l,addField:u,removeField:c}),R1e()))),t({validate:v,validateField:m,resetFields:f,clearValidate:h,scrollToField:w,fields:a}),(_,b)=>(N(),q("form",{class:F(y(s))},[ve(_.$slots,"default")],2))}}));var $1e=De(L1e,[["__file","form.vue"]]);function vc(){return vc=Object.assign?Object.assign.bind():function(e){for(var t=1;t1?t-1:0),r=1;r=o)return s;switch(s){case"%s":return String(n[a++]);case"%d":return Number(n[a++]);case"%j":try{return JSON.stringify(n[a++])}catch(l){return"[Circular]"}break;default:return s}});return i}return e}function H1e(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function br(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||H1e(t)&&typeof e=="string"&&!e)}function W1e(e,t,n){var r=[],a=0,o=e.length;function i(s){r.push.apply(r,s||[]),a++,a===o&&n(r)}e.forEach(function(s){t(s,i)})}function O6(e,t,n){var r=0,a=e.length;function o(i){if(i&&i.length){n(i);return}var s=r;r=r+1,s()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Yp={integer:function(t){return Yp.number(t)&&parseInt(t,10)===t},float:function(t){return Yp.number(t)&&!Yp.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Yp.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(D6.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(Y1e())},hex:function(t){return typeof t=="string"&&!!t.match(D6.hex)}},X1e=function(t,n,r,a,o){if(t.required&&n===void 0){XH(t,n,r,a,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;i.indexOf(s)>-1?Yp[s](n)||a.push(Za(o.messages.types[s],t.fullField,t.type)):s&&typeof n!==t.type&&a.push(Za(o.messages.types[s],t.fullField,t.type))},Z1e=function(t,n,r,a,o){var i=typeof t.len=="number",s=typeof t.min=="number",l=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=n,f=null,h=typeof n=="number",d=typeof n=="string",p=Array.isArray(n);if(h?f="number":d?f="string":p&&(f="array"),!f)return!1;p&&(c=n.length),d&&(c=n.replace(u,"_").length),i?c!==t.len&&a.push(Za(o.messages[f].len,t.fullField,t.len)):s&&!l&&ct.max?a.push(Za(o.messages[f].max,t.fullField,t.max)):s&&l&&(ct.max)&&a.push(Za(o.messages[f].range,t.fullField,t.min,t.max))},Lf="enum",J1e=function(t,n,r,a,o){t[Lf]=Array.isArray(t[Lf])?t[Lf]:[],t[Lf].indexOf(n)===-1&&a.push(Za(o.messages[Lf],t.fullField,t[Lf].join(", ")))},Q1e=function(t,n,r,a,o){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||a.push(Za(o.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(n)||a.push(Za(o.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},pn={required:XH,whitespace:q1e,type:X1e,range:Z1e,enum:J1e,pattern:Q1e},ebe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(br(n,"string")&&!t.required)return r();pn.required(t,n,a,i,o,"string"),br(n,"string")||(pn.type(t,n,a,i,o),pn.range(t,n,a,i,o),pn.pattern(t,n,a,i,o),t.whitespace===!0&&pn.whitespace(t,n,a,i,o))}r(i)},tbe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(br(n)&&!t.required)return r();pn.required(t,n,a,i,o),n!==void 0&&pn.type(t,n,a,i,o)}r(i)},nbe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),br(n)&&!t.required)return r();pn.required(t,n,a,i,o),n!==void 0&&(pn.type(t,n,a,i,o),pn.range(t,n,a,i,o))}r(i)},rbe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(br(n)&&!t.required)return r();pn.required(t,n,a,i,o),n!==void 0&&pn.type(t,n,a,i,o)}r(i)},abe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(br(n)&&!t.required)return r();pn.required(t,n,a,i,o),br(n)||pn.type(t,n,a,i,o)}r(i)},obe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(br(n)&&!t.required)return r();pn.required(t,n,a,i,o),n!==void 0&&(pn.type(t,n,a,i,o),pn.range(t,n,a,i,o))}r(i)},ibe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(br(n)&&!t.required)return r();pn.required(t,n,a,i,o),n!==void 0&&(pn.type(t,n,a,i,o),pn.range(t,n,a,i,o))}r(i)},sbe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return r();pn.required(t,n,a,i,o,"array"),n!=null&&(pn.type(t,n,a,i,o),pn.range(t,n,a,i,o))}r(i)},lbe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(br(n)&&!t.required)return r();pn.required(t,n,a,i,o),n!==void 0&&pn.type(t,n,a,i,o)}r(i)},ube="enum",cbe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(br(n)&&!t.required)return r();pn.required(t,n,a,i,o),n!==void 0&&pn[ube](t,n,a,i,o)}r(i)},fbe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(br(n,"string")&&!t.required)return r();pn.required(t,n,a,i,o),br(n,"string")||pn.pattern(t,n,a,i,o)}r(i)},dbe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(br(n,"date")&&!t.required)return r();if(pn.required(t,n,a,i,o),!br(n,"date")){var l;n instanceof Date?l=n:l=new Date(n),pn.type(t,l,a,i,o),l&&pn.range(t,l.getTime(),a,i,o)}}r(i)},hbe=function(t,n,r,a,o){var i=[],s=Array.isArray(n)?"array":typeof n;pn.required(t,n,a,i,o,s),r(i)},QS=function(t,n,r,a,o){var i=t.type,s=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(br(n,i)&&!t.required)return r();pn.required(t,n,a,s,o,i),br(n,i)||pn.type(t,n,a,s,o)}r(s)},pbe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(br(n)&&!t.required)return r();pn.required(t,n,a,i,o)}r(i)},yv={string:ebe,method:tbe,number:nbe,boolean:rbe,regexp:abe,integer:obe,float:ibe,array:sbe,object:lbe,enum:cbe,pattern:fbe,date:dbe,url:QS,hex:QS,email:QS,required:hbe,any:pbe};function Jx(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var Qx=Jx(),Sm=function(){function e(n){this.rules=null,this._messages=Qx,this.define(n)}var t=e.prototype;return t.define=function(r){var a=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(o){var i=r[o];a.rules[o]=Array.isArray(i)?i:[i]})},t.messages=function(r){return r&&(this._messages=I6(Jx(),r)),this._messages},t.validate=function(r,a,o){var i=this;a===void 0&&(a={}),o===void 0&&(o=function(){});var s=r,l=a,u=o;if(typeof l=="function"&&(u=l,l={}),!this.rules||Object.keys(this.rules).length===0)return u&&u(null,s),Promise.resolve(s);function c(v){var g=[],m={};function w(b){if(Array.isArray(b)){var S;g=(S=g).concat.apply(S,b)}else g.push(b)}for(var _=0;_");const a=Ae("form"),o=H(),i=H(0),s=()=>{var c;if((c=o.value)!=null&&c.firstElementChild){const f=window.getComputedStyle(o.value.firstElementChild).width;return Math.ceil(Number.parseFloat(f))}else return 0},l=(c="update")=>{qe(()=>{t.default&&e.isAutoWidth&&(c==="update"?i.value=s():c==="remove"&&(n==null||n.deregisterLabelWidth(i.value)))})},u=()=>l("update");return ft(()=>{u()}),fn(()=>{l("remove")}),oo(()=>u()),xe(i,(c,f)=>{e.updateAll&&(n==null||n.registerLabelWidth(c,f))}),On(R(()=>{var c,f;return(f=(c=o.value)==null?void 0:c.firstElementChild)!=null?f:null}),u),()=>{var c,f;if(!t)return null;const{isAutoWidth:h}=e;if(h){const d=n==null?void 0:n.autoLabelWidth,p=r==null?void 0:r.hasLabel,v={};if(p&&d&&d!=="auto"){const g=Math.max(0,Number.parseInt(d,10)-i.value),w=(r.labelPosition||n.labelPosition)==="left"?"marginRight":"marginLeft";g&&(v[w]=`${g}px`)}return ee("div",{ref:o,class:[a.be("item","label-wrap")],style:v},[(c=t.default)==null?void 0:c.call(t)])}else return ee(je,{ref:o},[(f=t.default)==null?void 0:f.call(t)])}}});const ybe=te({name:"ElFormItem"}),bbe=te(_e(X({},ybe),{props:gbe,setup(e,{expose:t}){const n=e,r=Yn(),a=ze(Sf,void 0),o=ze(cs,void 0),i=Jn(void 0,{formItem:!1}),s=Ae("form-item"),l=jr().value,u=H([]),c=H(""),f=_le(c,100),h=H(""),d=H();let p,v=!1;const g=R(()=>n.labelPosition||(a==null?void 0:a.labelPosition)),m=R(()=>{if(g.value==="top")return{};const oe=Vn(n.labelWidth||(a==null?void 0:a.labelWidth)||"");return oe?{width:oe}:{}}),w=R(()=>{if(g.value==="top"||a!=null&&a.inline)return{};if(!n.label&&!n.labelWidth&&k)return{};const oe=Vn(n.labelWidth||(a==null?void 0:a.labelWidth)||"");return!n.label&&!r.label?{marginLeft:oe}:{}}),_=R(()=>[s.b(),s.m(i.value),s.is("error",c.value==="error"),s.is("validating",c.value==="validating"),s.is("success",c.value==="success"),s.is("required",I.value||n.required),s.is("no-asterisk",a==null?void 0:a.hideRequiredAsterisk),(a==null?void 0:a.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[s.m("feedback")]:a==null?void 0:a.statusIcon,[s.m(`label-${g.value}`)]:g.value}]),b=R(()=>hn(n.inlineMessage)?n.inlineMessage:(a==null?void 0:a.inlineMessage)||!1),S=R(()=>[s.e("error"),{[s.em("error","inline")]:b.value}]),C=R(()=>n.prop?Ze(n.prop)?n.prop:n.prop.join("."):""),T=R(()=>!!(n.label||r.label)),x=R(()=>n.for||(u.value.length===1?u.value[0]:void 0)),E=R(()=>!x.value&&T.value),k=!!o,A=R(()=>{const oe=a==null?void 0:a.model;if(!(!oe||!n.prop))return $y(oe,n.prop).value}),P=R(()=>{const{required:oe}=n,se=[];n.rules&&se.push(...ua(n.rules));const ue=a==null?void 0:a.rules;if(ue&&n.prop){const he=$y(ue,n.prop).value;he&&se.push(...ua(he))}if(oe!==void 0){const he=se.map((ae,K)=>[ae,K]).filter(([ae])=>Object.keys(ae).includes("required"));if(he.length>0)for(const[ae,K]of he)ae.required!==oe&&(se[K]=_e(X({},ae),{required:oe}));else se.push({required:oe})}return se}),$=R(()=>P.value.length>0),B=oe=>P.value.filter(ue=>!ue.trigger||!oe?!0:Me(ue.trigger)?ue.trigger.includes(oe):ue.trigger===oe).map(ae=>{var K=ae,{trigger:ue}=K,he=ja(K,["trigger"]);return he}),I=R(()=>P.value.some(oe=>oe.required)),M=R(()=>{var oe;return f.value==="error"&&n.showMessage&&((oe=a==null?void 0:a.showMessage)!=null?oe:!0)}),L=R(()=>`${n.label||""}${(a==null?void 0:a.labelSuffix)||""}`),O=oe=>{c.value=oe},D=oe=>{var se,ue;const{errors:he,fields:ae}=oe;(!he||!ae)&&console.error(oe),O("error"),h.value=he?(ue=(se=he==null?void 0:he[0])==null?void 0:se.message)!=null?ue:`${n.prop} is required`:"",a==null||a.emit("validate",n.prop,!1,h.value)},z=()=>{O("success"),a==null||a.emit("validate",n.prop,!0,"")},V=oe=>ut(this,null,function*(){const se=C.value;return new Sm({[se]:oe}).validate({[se]:A.value},{firstFields:!0}).then(()=>(z(),!0)).catch(he=>(D(he),Promise.reject(he)))}),j=(oe,se)=>ut(this,null,function*(){if(v||!n.prop)return!1;const ue=Ge(se);if(!$.value)return se==null||se(!1),!1;const he=B(oe);return he.length===0?(se==null||se(!0),!0):(O("validating"),V(he).then(()=>(se==null||se(!0),!0)).catch(ae=>{const{fields:K}=ae;return se==null||se(!1,K),ue?!1:Promise.reject(K)}))}),U=()=>{O(""),h.value="",v=!1},ne=()=>ut(this,null,function*(){const oe=a==null?void 0:a.model;if(!oe||!n.prop)return;const se=$y(oe,n.prop);v=!0,se.value=rI(p),yield qe(),U(),v=!1}),ie=oe=>{u.value.includes(oe)||u.value.push(oe)},fe=oe=>{u.value=u.value.filter(se=>se!==oe)};xe(()=>n.error,oe=>{h.value=oe||"",O(oe?"error":"")},{immediate:!0}),xe(()=>n.validateStatus,oe=>O(oe||""));const G=zt(_e(X({},rr(n)),{$el:d,size:i,validateState:c,labelId:l,inputIds:u,isGroup:E,hasLabel:T,fieldValue:A,addInputId:ie,removeInputId:fe,resetField:ne,clearValidate:U,validate:j}));return kt(cs,G),ft(()=>{n.prop&&(a==null||a.addField(G),p=rI(A.value))}),fn(()=>{a==null||a.removeField(G)}),t({size:i,validateMessage:h,validateState:c,validate:j,clearValidate:U,resetField:ne}),(oe,se)=>{var ue;return N(),q("div",{ref_key:"formItemRef",ref:d,class:F(y(_)),role:y(E)?"group":void 0,"aria-labelledby":y(E)?y(l):void 0},[ee(y(mbe),{"is-auto-width":y(m).width==="auto","update-all":((ue=y(a))==null?void 0:ue.labelWidth)==="auto"},{default:le(()=>[y(T)?(N(),ye(bt(y(x)?"label":"div"),{key:0,id:y(l),for:y(x),class:F(y(s).e("label")),style:Xe(y(m))},{default:le(()=>[ve(oe.$slots,"label",{label:y(L)},()=>[At(Re(y(L)),1)])]),_:3},8,["id","for","class","style"])):ge("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),Z("div",{class:F(y(s).e("content")),style:Xe(y(w))},[ve(oe.$slots,"default"),ee(f3,{name:`${y(s).namespace.value}-zoom-in-top`},{default:le(()=>[y(M)?ve(oe.$slots,"error",{key:0,error:h.value},()=>[Z("div",{class:F(y(S))},Re(h.value),3)]):ge("v-if",!0)]),_:3},8,["name"])],6)],10,["role","aria-labelledby"])}}}));var ZH=De(bbe,[["__file","form-item.vue"]]);const _be=pt($1e,{FormItem:ZH}),wbe=Dn(ZH),Sbe=Ie({urlList:{type:ce(Array),default:()=>In([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},crossorigin:{type:ce(String)}}),Cbe={close:()=>!0,switch:e=>et(e),rotate:e=>et(e)},Tbe=te({name:"ElImageViewer"}),xbe=te(_e(X({},Tbe),{props:Sbe,emits:Cbe,setup(e,{expose:t,emit:n}){var r;const a=e,o={CONTAIN:{name:"contain",icon:ui(Lue)},ORIGINAL:{name:"original",icon:ui(tce)}},{t:i}=$t(),s=Ae("image-viewer"),{nextZIndex:l}=mm(),u=H(),c=H([]),f=x_(),h=H(!0),d=H(a.initialIndex),p=gn(o.CONTAIN),v=H({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),g=H((r=a.zIndex)!=null?r:l()),m=R(()=>{const{urlList:j}=a;return j.length<=1}),w=R(()=>d.value===0),_=R(()=>d.value===a.urlList.length-1),b=R(()=>a.urlList[d.value]),S=R(()=>[s.e("btn"),s.e("prev"),s.is("disabled",!a.infinite&&w.value)]),C=R(()=>[s.e("btn"),s.e("next"),s.is("disabled",!a.infinite&&_.value)]),T=R(()=>{const{scale:j,deg:U,offsetX:ne,offsetY:ie,enableTransition:fe}=v.value;let G=ne/j,oe=ie/j;const se=U*Math.PI/180,ue=Math.cos(se),he=Math.sin(se);G=G*ue+oe*he,oe=oe*ue-ne/j*he;const ae={transform:`scale(${j}) rotate(${U}deg) translate(${G}px, ${oe}px)`,transition:fe?"transform .3s":""};return p.value.name===o.CONTAIN.name&&(ae.maxWidth=ae.maxHeight="100%"),ae});function x(){k(),n("close")}function E(){const j=Pc(ne=>{switch(ne.code){case Ue.esc:a.closeOnPressEscape&&x();break;case Ue.space:I();break;case Ue.left:L();break;case Ue.up:D("zoomIn");break;case Ue.right:O();break;case Ue.down:D("zoomOut");break}}),U=Pc(ne=>{const ie=ne.deltaY||ne.deltaX;D(ie<0?"zoomIn":"zoomOut",{zoomRate:a.zoomRate,enableTransition:!1})});f.run(()=>{sn(document,"keydown",j),sn(document,"wheel",U)})}function k(){f.stop()}function A(){h.value=!1}function P(j){h.value=!1,j.target.alt=i("el.image.error")}function $(j){if(h.value||j.button!==0||!u.value)return;v.value.enableTransition=!1;const{offsetX:U,offsetY:ne}=v.value,ie=j.pageX,fe=j.pageY,G=Pc(se=>{v.value=_e(X({},v.value),{offsetX:U+se.pageX-ie,offsetY:ne+se.pageY-fe})}),oe=sn(document,"mousemove",G);sn(document,"mouseup",()=>{oe()}),j.preventDefault()}function B(){v.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function I(){if(h.value)return;const j=ag(o),U=Object.values(o),ne=p.value.name,fe=(U.findIndex(G=>G.name===ne)+1)%j.length;p.value=o[j[fe]],B()}function M(j){const U=a.urlList.length;d.value=(j+U)%U}function L(){w.value&&!a.infinite||M(d.value-1)}function O(){_.value&&!a.infinite||M(d.value+1)}function D(j,U={}){if(h.value)return;const{minScale:ne,maxScale:ie}=a,{zoomRate:fe,rotateDeg:G,enableTransition:oe}=X({zoomRate:a.zoomRate,rotateDeg:90,enableTransition:!0},U);switch(j){case"zoomOut":v.value.scale>ne&&(v.value.scale=Number.parseFloat((v.value.scale/fe).toFixed(3)));break;case"zoomIn":v.value.scale{qe(()=>{const j=c.value[0];j!=null&&j.complete||(h.value=!0)})}),xe(d,j=>{B(),n("switch",j)}),ft(()=>{E()}),t({setActiveItem:M}),(j,U)=>(N(),ye(y(wm),{to:"body",disabled:!j.teleported},{default:le(()=>[ee(yr,{name:"viewer-fade",appear:""},{default:le(()=>[Z("div",{ref_key:"wrapper",ref:u,tabindex:-1,class:F(y(s).e("wrapper")),style:Xe({zIndex:g.value})},[ee(y(Uh),{loop:"",trapped:"","focus-trap-el":u.value,"focus-start-el":"container",onFocusoutPrevented:z,onReleaseRequested:V},{default:le(()=>[Z("div",{class:F(y(s).e("mask")),onClick:nt(ne=>j.hideOnClickModal&&x(),["self"])},null,10,["onClick"]),ge(" CLOSE "),Z("span",{class:F([y(s).e("btn"),y(s).e("close")]),onClick:x},[ee(y(Ke),null,{default:le(()=>[ee(y(gi))]),_:1})],2),ge(" ARROW "),y(m)?ge("v-if",!0):(N(),q(je,{key:0},[Z("span",{class:F(y(S)),onClick:L},[ee(y(Ke),null,{default:le(()=>[ee(y(iu))]),_:1})],2),Z("span",{class:F(y(C)),onClick:O},[ee(y(Ke),null,{default:le(()=>[ee(y(pa))]),_:1})],2)],64)),ge(" ACTIONS "),Z("div",{class:F([y(s).e("btn"),y(s).e("actions")])},[Z("div",{class:F(y(s).e("actions__inner"))},[ee(y(Ke),{onClick:ne=>D("zoomOut")},{default:le(()=>[ee(y(mce))]),_:1},8,["onClick"]),ee(y(Ke),{onClick:ne=>D("zoomIn")},{default:le(()=>[ee(y(dz))]),_:1},8,["onClick"]),Z("i",{class:F(y(s).e("actions__divider"))},null,2),ee(y(Ke),{onClick:I},{default:le(()=>[(N(),ye(bt(y(p).icon)))]),_:1}),Z("i",{class:F(y(s).e("actions__divider"))},null,2),ee(y(Ke),{onClick:ne=>D("anticlockwise")},{default:le(()=>[ee(y(Zue))]),_:1},8,["onClick"]),ee(y(Ke),{onClick:ne=>D("clockwise")},{default:le(()=>[ee(y(Que))]),_:1},8,["onClick"])],2)],2),ge(" CANVAS "),Z("div",{class:F(y(s).e("canvas"))},[(N(!0),q(je,null,Rt(j.urlList,(ne,ie)=>vt((N(),q("img",{ref_for:!0,ref:fe=>c.value[ie]=fe,key:ne,src:ne,style:Xe(y(T)),class:F(y(s).e("img")),crossorigin:j.crossorigin,onLoad:A,onError:P,onMousedown:$},null,46,["src","crossorigin"])),[[Wt,ie===d.value]])),128))],2),ve(j.$slots,"default")]),_:3},8,["focus-trap-el"])],6)]),_:3})]),_:3},8,["disabled"]))}}));var Ebe=De(xbe,[["__file","image-viewer.vue"]]);const JH=pt(Ebe),kbe=Ie({hideOnClickModal:Boolean,src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:Boolean,scrollContainer:{type:ce([String,Object])},previewSrcList:{type:ce(Array),default:()=>In([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},crossorigin:{type:ce(String)}}),Abe={load:e=>e instanceof Event,error:e=>e instanceof Event,switch:e=>et(e),close:()=>!0,show:()=>!0},Mbe=te({name:"ElImage",inheritAttrs:!1}),Obe=te(_e(X({},Mbe),{props:kbe,emits:Abe,setup(e,{emit:t}){const n=e;let r="";const{t:a}=$t(),o=Ae("image"),i=mu(),s=R(()=>rg(Object.entries(i).filter(([O])=>/^(data-|on[A-Z])/i.test(O)||["id","style"].includes(O)))),l=Z_({excludeListeners:!0,excludeKeys:R(()=>Object.keys(s.value))}),u=H(),c=H(!1),f=H(!0),h=H(!1),d=H(),p=H(),v=Bt&&"loading"in HTMLImageElement.prototype;let g,m;const w=R(()=>[o.e("inner"),b.value&&o.e("preview"),f.value&&o.is("loading")]),_=R(()=>{const{fit:O}=n;return Bt&&O?{objectFit:O}:{}}),b=R(()=>{const{previewSrcList:O}=n;return Me(O)&&O.length>0}),S=R(()=>{const{previewSrcList:O,initialIndex:D}=n;let z=D;return D>O.length-1&&(z=0),z}),C=R(()=>n.loading==="eager"?!1:!v&&n.loading==="lazy"||n.lazy),T=()=>{Bt&&(f.value=!0,c.value=!1,u.value=n.src)};function x(O){f.value=!1,c.value=!1,t("load",O)}function E(O){f.value=!1,c.value=!0,t("error",O)}function k(){Bge(d.value,p.value)&&(T(),$())}const A=jV(k,200,!0);function P(){return ut(this,null,function*(){var O;if(!Bt)return;yield qe();const{scrollContainer:D}=n;to(D)?p.value=D:Ze(D)&&D!==""?p.value=(O=document.querySelector(D))!=null?O:void 0:d.value&&(p.value=O3(d.value)),p.value&&(g=sn(p,"scroll",A),setTimeout(()=>k(),100))})}function $(){!Bt||!p.value||!A||(g==null||g(),p.value=void 0)}function B(O){if(O.ctrlKey){if(O.deltaY<0)return O.preventDefault(),!1;if(O.deltaY>0)return O.preventDefault(),!1}}function I(){b.value&&(m=sn("wheel",B,{passive:!1}),r=document.body.style.overflow,document.body.style.overflow="hidden",h.value=!0,t("show"))}function M(){m==null||m(),document.body.style.overflow=r,h.value=!1,t("close")}function L(O){t("switch",O)}return xe(()=>n.src,()=>{C.value?(f.value=!0,c.value=!1,$(),P()):T()}),ft(()=>{C.value?P():T()}),(O,D)=>(N(),q("div",Et({ref_key:"container",ref:d},y(s),{class:[y(o).b(),O.$attrs.class]}),[c.value?ve(O.$slots,"error",{key:0},()=>[Z("div",{class:F(y(o).e("error"))},Re(y(a)("el.image.error")),3)]):(N(),q(je,{key:1},[u.value!==void 0?(N(),q("img",Et({key:0},y(l),{src:u.value,loading:O.loading,style:y(_),class:y(w),crossorigin:O.crossorigin,onClick:I,onLoad:x,onError:E}),null,16,["src","loading","crossorigin"])):ge("v-if",!0),f.value?(N(),q("div",{key:1,class:F(y(o).e("wrapper"))},[ve(O.$slots,"placeholder",{},()=>[Z("div",{class:F(y(o).e("placeholder"))},null,2)])],2)):ge("v-if",!0)],64)),y(b)?(N(),q(je,{key:2},[h.value?(N(),ye(y(JH),{key:0,"z-index":O.zIndex,"initial-index":y(S),infinite:O.infinite,"zoom-rate":O.zoomRate,"min-scale":O.minScale,"max-scale":O.maxScale,"url-list":O.previewSrcList,crossorigin:O.crossorigin,"hide-on-click-modal":O.hideOnClickModal,teleported:O.previewTeleported,"close-on-press-escape":O.closeOnPressEscape,onClose:M,onSwitch:L},{default:le(()=>[O.$slots.viewer?(N(),q("div",{key:0},[ve(O.$slots,"viewer")])):ge("v-if",!0)]),_:3},8,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","url-list","crossorigin","hide-on-click-modal","teleported","close-on-press-escape"])):ge("v-if",!0)],64)):ge("v-if",!0)],16))}}));var Pbe=De(Obe,[["__file","image.vue"]]);const Rbe=pt(Pbe),Ibe=Ie(X({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.POSITIVE_INFINITY},min:{type:Number,default:Number.NEGATIVE_INFINITY},modelValue:Number,readonly:Boolean,disabled:Boolean,size:or,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:e=>e===null||et(e)||["min","max"].includes(e),default:null},name:String,placeholder:String,precision:{type:Number,validator:e=>e>=0&&e===Number.parseInt(`${e}`,10)},validateEvent:{type:Boolean,default:!0}},Pr(["ariaLabel"]))),Dbe={[Sn]:(e,t)=>t!==e,blur:e=>e instanceof FocusEvent,focus:e=>e instanceof FocusEvent,[ha]:e=>et(e)||ur(e),[St]:e=>et(e)||ur(e)},Lbe=te({name:"ElInputNumber"}),$be=te(_e(X({},Lbe),{props:Ibe,emits:Dbe,setup(e,{expose:t,emit:n}){const r=e,{t:a}=$t(),o=Ae("input-number"),i=H(),s=zt({currentValue:r.modelValue,userInput:null}),{formItem:l}=qr(),u=R(()=>et(r.modelValue)&&r.modelValue<=r.min),c=R(()=>et(r.modelValue)&&r.modelValue>=r.max),f=R(()=>{const I=m(r.step);return _n(r.precision)?Math.max(m(r.modelValue),I):(I>r.precision,r.precision)}),h=R(()=>r.controls&&r.controlsPosition==="right"),d=Jn(),p=Sa(),v=R(()=>{if(s.userInput!==null)return s.userInput;let I=s.currentValue;if(ur(I))return"";if(et(I)){if(Number.isNaN(I))return"";_n(r.precision)||(I=I.toFixed(r.precision))}return I}),g=(I,M)=>{if(_n(M)&&(M=f.value),M===0)return Math.round(I);let L=String(I);const O=L.indexOf(".");if(O===-1||!L.replace(".","").split("")[O+M])return I;const V=L.length;return L.charAt(V-1)==="5"&&(L=`${L.slice(0,Math.max(0,V-1))}6`),Number.parseFloat(Number(L).toFixed(M))},m=I=>{if(ur(I))return 0;const M=I.toString(),L=M.indexOf(".");let O=0;return L!==-1&&(O=M.length-L-1),O},w=(I,M=1)=>et(I)?g(I+r.step*M):s.currentValue,_=()=>{if(r.readonly||p.value||c.value)return;const I=Number(v.value)||0,M=w(I);C(M),n(ha,s.currentValue),$()},b=()=>{if(r.readonly||p.value||u.value)return;const I=Number(v.value)||0,M=w(I,-1);C(M),n(ha,s.currentValue),$()},S=(I,M)=>{const{max:L,min:O,step:D,precision:z,stepStrictly:V,valueOnClear:j}=r;LL||UL?L:O,M&&n(St,U)),U},C=(I,M=!0)=>{var L;const O=s.currentValue,D=S(I);if(!M){n(St,D);return}O===D&&I||(s.userInput=null,n(St,D),O!==D&&n(Sn,D,O),r.validateEvent&&((L=l==null?void 0:l.validate)==null||L.call(l,"change").catch(z=>void 0)),s.currentValue=D)},T=I=>{s.userInput=I;const M=I===""?null:Number(I);n(ha,M),C(M,!1)},x=I=>{const M=I!==""?Number(I):"";(et(M)&&!Number.isNaN(M)||I==="")&&C(M),$(),s.userInput=null},E=()=>{var I,M;(M=(I=i.value)==null?void 0:I.focus)==null||M.call(I)},k=()=>{var I,M;(M=(I=i.value)==null?void 0:I.blur)==null||M.call(I)},A=I=>{n("focus",I)},P=I=>{var M,L;s.userInput=null,B3()&&s.currentValue===null&&((M=i.value)!=null&&M.input)&&(i.value.input.value=""),n("blur",I),r.validateEvent&&((L=l==null?void 0:l.validate)==null||L.call(l,"blur").catch(O=>void 0))},$=()=>{s.currentValue!==r.modelValue&&(s.currentValue=r.modelValue)},B=I=>{document.activeElement===I.target&&I.preventDefault()};return xe(()=>r.modelValue,(I,M)=>{const L=S(I,!0);s.userInput===null&&L!==M&&(s.currentValue=L)},{immediate:!0}),ft(()=>{var I;const{min:M,max:L,modelValue:O}=r,D=(I=i.value)==null?void 0:I.input;if(D.setAttribute("role","spinbutton"),Number.isFinite(L)?D.setAttribute("aria-valuemax",String(L)):D.removeAttribute("aria-valuemax"),Number.isFinite(M)?D.setAttribute("aria-valuemin",String(M)):D.removeAttribute("aria-valuemin"),D.setAttribute("aria-valuenow",s.currentValue||s.currentValue===0?String(s.currentValue):""),D.setAttribute("aria-disabled",String(p.value)),!et(O)&&O!=null){let z=Number(O);Number.isNaN(z)&&(z=null),n(St,z)}D.addEventListener("wheel",B,{passive:!1})}),oo(()=>{var I,M;const L=(I=i.value)==null?void 0:I.input;L==null||L.setAttribute("aria-valuenow",`${(M=s.currentValue)!=null?M:""}`)}),t({focus:E,blur:k}),(I,M)=>(N(),q("div",{class:F([y(o).b(),y(o).m(y(d)),y(o).is("disabled",y(p)),y(o).is("without-controls",!I.controls),y(o).is("controls-right",y(h))]),onDragstart:nt(()=>{},["prevent"])},[I.controls?vt((N(),q("span",{key:0,role:"button","aria-label":y(a)("el.inputNumber.decrease"),class:F([y(o).e("decrease"),y(o).is("disabled",y(u))]),onKeydown:un(b,["enter"])},[ve(I.$slots,"decrease-icon",{},()=>[ee(y(Ke),null,{default:le(()=>[y(h)?(N(),ye(y(tl),{key:0})):(N(),ye(y(zue),{key:1}))]),_:1})])],42,["aria-label","onKeydown"])),[[y(ab),b]]):ge("v-if",!0),I.controls?vt((N(),q("span",{key:1,role:"button","aria-label":y(a)("el.inputNumber.increase"),class:F([y(o).e("increase"),y(o).is("disabled",y(c))]),onKeydown:un(_,["enter"])},[ve(I.$slots,"increase-icon",{},()=>[ee(y(Ke),null,{default:le(()=>[y(h)?(N(),ye(y(P3),{key:0})):(N(),ye(y(cz),{key:1}))]),_:1})])],42,["aria-label","onKeydown"])),[[y(ab),_]]):ge("v-if",!0),ee(y(fa),{id:I.id,ref_key:"input",ref:i,type:"number",step:I.step,"model-value":y(v),placeholder:I.placeholder,readonly:I.readonly,disabled:y(p),size:y(d),max:I.max,min:I.min,name:I.name,"aria-label":I.ariaLabel,"validate-event":!1,onKeydown:[un(nt(_,["prevent"]),["up"]),un(nt(b,["prevent"]),["down"])],onBlur:P,onFocus:A,onInput:T,onChange:x},Oo({_:2},[I.$slots.prefix?{name:"prefix",fn:le(()=>[ve(I.$slots,"prefix")])}:void 0,I.$slots.suffix?{name:"suffix",fn:le(()=>[ve(I.$slots,"suffix")])}:void 0]),1032,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","onKeydown"])],42,["onDragstart"]))}}));var Nbe=De($be,[["__file","input-number.vue"]]);const QH=pt(Nbe),Bbe=Ie({type:{type:String,values:["primary","success","warning","info","danger","default"],default:"default"},underline:{type:Boolean,default:!0},disabled:Boolean,href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:cn}}),Fbe={click:e=>e instanceof MouseEvent},Vbe=te({name:"ElLink"}),zbe=te(_e(X({},Vbe),{props:Bbe,emits:Fbe,setup(e,{emit:t}){const n=e,r=Ae("link"),a=R(()=>[r.b(),r.m(n.type),r.is("disabled",n.disabled),r.is("underline",n.underline&&!n.disabled)]);function o(i){n.disabled||t("click",i)}return(i,s)=>(N(),q("a",{class:F(y(a)),href:i.disabled||!i.href?void 0:i.href,target:i.disabled||!i.href?void 0:i.target,onClick:o},[i.icon?(N(),ye(y(Ke),{key:0},{default:le(()=>[(N(),ye(bt(i.icon)))]),_:1})):ge("v-if",!0),i.$slots.default?(N(),q("span",{key:1,class:F(y(r).e("inner"))},[ve(i.$slots,"default")],2)):ge("v-if",!0),i.$slots.icon?ve(i.$slots,"icon",{key:2}):ge("v-if",!0)],10,["href","target"]))}}));var Hbe=De(zbe,[["__file","link.vue"]]);const Wbe=pt(Hbe);let Ube=class{constructor(t,n){this.parent=t,this.domNode=n,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(t){t===this.subMenuItems.length?t=0:t<0&&(t=this.subMenuItems.length-1),this.subMenuItems[t].focus(),this.subIndex=t}addListeners(){const t=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,n=>{n.addEventListener("keydown",r=>{let a=!1;switch(r.code){case Ue.down:{this.gotoSubIndex(this.subIndex+1),a=!0;break}case Ue.up:{this.gotoSubIndex(this.subIndex-1),a=!0;break}case Ue.tab:{Ny(t,"mouseleave");break}case Ue.enter:case Ue.numpadEnter:case Ue.space:{a=!0,r.currentTarget.click();break}}return a&&(r.preventDefault(),r.stopPropagation()),!1})})}},jbe=class{constructor(t,n){this.domNode=t,this.submenu=null,this.submenu=null,this.init(n)}init(t){this.domNode.setAttribute("tabindex","0");const n=this.domNode.querySelector(`.${t}-menu`);n&&(this.submenu=new Ube(this,n)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",t=>{let n=!1;switch(t.code){case Ue.down:{Ny(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),n=!0;break}case Ue.up:{Ny(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),n=!0;break}case Ue.tab:{Ny(t.currentTarget,"mouseleave");break}case Ue.enter:case Ue.numpadEnter:case Ue.space:{n=!0,t.currentTarget.click();break}}n&&t.preventDefault()})}},Kbe=class{constructor(t,n){this.domNode=t,this.init(n)}init(t){const n=this.domNode.childNodes;Array.from(n).forEach(r=>{r.nodeType===1&&new jbe(r,t)})}};const Gbe=te({name:"ElMenuCollapseTransition",setup(){const e=Ae("menu");return{listeners:{onBeforeEnter:n=>n.style.opacity="0.2",onEnter(n,r){Co(n,`${e.namespace.value}-opacity-transition`),n.style.opacity="1",r()},onAfterEnter(n){Ur(n,`${e.namespace.value}-opacity-transition`),n.style.opacity=""},onBeforeLeave(n){n.dataset||(n.dataset={}),Ra(n,e.m("collapse"))?(Ur(n,e.m("collapse")),n.dataset.oldOverflow=n.style.overflow,n.dataset.scrollWidth=n.clientWidth.toString(),Co(n,e.m("collapse"))):(Co(n,e.m("collapse")),n.dataset.oldOverflow=n.style.overflow,n.dataset.scrollWidth=n.clientWidth.toString(),Ur(n,e.m("collapse"))),n.style.width=`${n.scrollWidth}px`,n.style.overflow="hidden"},onLeave(n){Co(n,"horizontal-collapse-transition"),n.style.width=`${n.dataset.scrollWidth}px`}}}}});function qbe(e,t,n,r,a,o){return N(),ye(yr,Et({mode:"out-in"},e.listeners),{default:le(()=>[ve(e.$slots,"default")]),_:3},16)}var Ybe=De(Gbe,[["render",qbe],["__file","menu-collapse-transition.vue"]]);function eW(e,t){const n=R(()=>{let a=e.parent;const o=[t.value];for(;a.type.name!=="ElMenu";)a.props.index&&o.unshift(a.props.index),a=a.parent;return o});return{parentMenu:R(()=>{let a=e.parent;for(;a&&!["ElMenu","ElSubMenu"].includes(a.type.name);)a=a.parent;return a}),indexPath:n}}function Xbe(e){return R(()=>{const n=e.backgroundColor;return n?new Kz(n).shade(20).toString():""})}const tW=(e,t)=>{const n=Ae("menu");return R(()=>n.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":Xbe(e).value||"","active-color":e.activeTextColor||"",level:`${t}`}))},Zbe=Ie({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:cn},expandOpenIcon:{type:cn},collapseCloseIcon:{type:cn},collapseOpenIcon:{type:cn}}),e2="ElSubMenu";var y5=te({name:e2,props:Zbe,setup(e,{slots:t,expose:n}){const r=st(),{indexPath:a,parentMenu:o}=eW(r,R(()=>e.index)),i=Ae("menu"),s=Ae("sub-menu"),l=ze("rootMenu");l||ar(e2,"can not inject root menu");const u=ze(`subMenu:${o.value.uid}`);u||ar(e2,"can not inject sub menu");const c=H({}),f=H({});let h;const d=H(!1),p=H(),v=H(null),g=R(()=>x.value==="horizontal"&&w.value?"bottom-start":"right-start"),m=R(()=>x.value==="horizontal"&&w.value||x.value==="vertical"&&!l.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?C.value?e.expandOpenIcon:e.expandCloseIcon:tl:e.collapseCloseIcon&&e.collapseOpenIcon?C.value?e.collapseOpenIcon:e.collapseCloseIcon:pa),w=R(()=>u.level===0),_=R(()=>{const z=e.teleported;return z===void 0?w.value:z}),b=R(()=>l.props.collapse?`${i.namespace.value}-zoom-in-left`:`${i.namespace.value}-zoom-in-top`),S=R(()=>x.value==="horizontal"&&w.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),C=R(()=>l.openedMenus.includes(e.index)),T=R(()=>{let z=!1;return Object.values(c.value).forEach(V=>{V.active&&(z=!0)}),Object.values(f.value).forEach(V=>{V.active&&(z=!0)}),z}),x=R(()=>l.props.mode),E=zt({index:e.index,indexPath:a,active:T}),k=tW(l.props,u.level+1),A=R(()=>{var z;return(z=e.popperOffset)!=null?z:l.props.popperOffset}),P=R(()=>{var z;return(z=e.popperClass)!=null?z:l.props.popperClass}),$=R(()=>{var z;return(z=e.showTimeout)!=null?z:l.props.showTimeout}),B=R(()=>{var z;return(z=e.hideTimeout)!=null?z:l.props.hideTimeout}),I=()=>{var z,V,j;return(j=(V=(z=v.value)==null?void 0:z.popperRef)==null?void 0:V.popperInstanceRef)==null?void 0:j.destroy()},M=z=>{z||I()},L=()=>{l.props.menuTrigger==="hover"&&l.props.mode==="horizontal"||l.props.collapse&&l.props.mode==="vertical"||e.disabled||l.handleSubMenuClick({index:e.index,indexPath:a.value,active:T.value})},O=(z,V=$.value)=>{var j;if(z.type!=="focus"){if(l.props.menuTrigger==="click"&&l.props.mode==="horizontal"||!l.props.collapse&&l.props.mode==="vertical"||e.disabled){u.mouseInChild.value=!0;return}u.mouseInChild.value=!0,h==null||h(),{stop:h}=ah(()=>{l.openMenu(e.index,a.value)},V),_.value&&((j=o.value.vnode.el)==null||j.dispatchEvent(new MouseEvent("mouseenter")))}},D=(z=!1)=>{var V;if(l.props.menuTrigger==="click"&&l.props.mode==="horizontal"||!l.props.collapse&&l.props.mode==="vertical"){u.mouseInChild.value=!1;return}h==null||h(),u.mouseInChild.value=!1,{stop:h}=ah(()=>!d.value&&l.closeMenu(e.index,a.value),B.value),_.value&&z&&((V=u.handleMouseleave)==null||V.call(u,!0))};xe(()=>l.props.collapse,z=>M(!!z));{const z=j=>{f.value[j.index]=j},V=j=>{delete f.value[j.index]};kt(`subMenu:${r.uid}`,{addSubMenu:z,removeSubMenu:V,handleMouseleave:D,mouseInChild:d,level:u.level+1})}return n({opened:C}),ft(()=>{l.addSubMenu(E),u.addSubMenu(E)}),fn(()=>{u.removeSubMenu(E),l.removeSubMenu(E)}),()=>{var z;const V=[(z=t.title)==null?void 0:z.call(t),We(Ke,{class:s.e("icon-arrow"),style:{transform:C.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&l.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>Ze(m.value)?We(r.appContext.components[m.value]):We(m.value)})],j=l.isMenuPopup?We(Kr,{ref:v,visible:C.value,effect:"light",pure:!0,offset:A.value,showArrow:!1,persistent:!0,popperClass:P.value,placement:g.value,teleported:_.value,fallbackPlacements:S.value,transition:b.value,gpuAcceleration:!1},{content:()=>{var U;return We("div",{class:[i.m(x.value),i.m("popup-container"),P.value],onMouseenter:ne=>O(ne,100),onMouseleave:()=>D(!0),onFocus:ne=>O(ne,100)},[We("ul",{class:[i.b(),i.m("popup"),i.m(`popup-${g.value}`)],style:k.value},[(U=t.default)==null?void 0:U.call(t)])])},default:()=>We("div",{class:s.e("title"),onClick:L},V)}):We(je,{},[We("div",{class:s.e("title"),ref:p,onClick:L},V),We(nw,{},{default:()=>{var U;return vt(We("ul",{role:"menu",class:[i.b(),i.m("inline")],style:k.value},[(U=t.default)==null?void 0:U.call(t)]),[[Wt,C.value]])}})]);return We("li",{class:[s.b(),s.is("active",T.value),s.is("opened",C.value),s.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:C.value,onMouseenter:O,onMouseleave:()=>D(),onFocus:O},[j])}}});const Jbe=Ie({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:ce(Array),default:()=>In([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:cn,default:()=>Uue},popperEffect:{type:ce(String),default:"dark"},popperClass:String,showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300}}),t2=e=>Me(e)&&e.every(t=>Ze(t)),Qbe={close:(e,t)=>Ze(e)&&t2(t),open:(e,t)=>Ze(e)&&t2(t),select:(e,t,n,r)=>Ze(e)&&t2(t)&&_t(n)&&(r===void 0||r instanceof Promise)};var e_e=te({name:"ElMenu",props:Jbe,emits:Qbe,setup(e,{emit:t,slots:n,expose:r}){const a=st(),o=a.appContext.config.globalProperties.$router,i=H(),s=Ae("menu"),l=Ae("sub-menu"),u=H(-1),c=H(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),f=H(e.defaultActive),h=H({}),d=H({}),p=R(()=>e.mode==="horizontal"||e.mode==="vertical"&&e.collapse),v=()=>{const I=f.value&&h.value[f.value];if(!I||e.mode==="horizontal"||e.collapse)return;I.indexPath.forEach(L=>{const O=d.value[L];O&&g(L,O.indexPath)})},g=(I,M)=>{c.value.includes(I)||(e.uniqueOpened&&(c.value=c.value.filter(L=>M.includes(L))),c.value.push(I),t("open",I,M))},m=I=>{const M=c.value.indexOf(I);M!==-1&&c.value.splice(M,1)},w=(I,M)=>{m(I),t("close",I,M)},_=({index:I,indexPath:M})=>{c.value.includes(I)?w(I,M):g(I,M)},b=I=>{(e.mode==="horizontal"||e.collapse)&&(c.value=[]);const{index:M,indexPath:L}=I;if(!(ur(M)||ur(L)))if(e.router&&o){const O=I.route||M,D=o.push(O).then(z=>(z||(f.value=M),z));t("select",M,L,{index:M,indexPath:L,route:O},D)}else f.value=M,t("select",M,L,{index:M,indexPath:L})},S=I=>{const M=h.value,L=M[I]||f.value&&M[f.value]||M[e.defaultActive];L?f.value=L.index:f.value=I},C=I=>{const M=getComputedStyle(I),L=Number.parseInt(M.marginLeft,10),O=Number.parseInt(M.marginRight,10);return I.offsetWidth+L+O||0},T=()=>{var I,M;if(!i.value)return-1;const L=Array.from((M=(I=i.value)==null?void 0:I.childNodes)!=null?M:[]).filter(ie=>ie.nodeName!=="#comment"&&(ie.nodeName!=="#text"||ie.nodeValue)),O=64,D=getComputedStyle(i.value),z=Number.parseInt(D.paddingLeft,10),V=Number.parseInt(D.paddingRight,10),j=i.value.clientWidth-z-V;let U=0,ne=0;return L.forEach((ie,fe)=>{U+=C(ie),U<=j-O&&(ne=fe+1)}),ne===L.length?-1:ne},x=I=>d.value[I].indexPath,E=(I,M=33.34)=>{let L;return()=>{L&&clearTimeout(L),L=setTimeout(()=>{I()},M)}};let k=!0;const A=()=>{if(u.value===T())return;const I=()=>{u.value=-1,qe(()=>{u.value=T()})};k?I():E(I)(),k=!1};xe(()=>e.defaultActive,I=>{h.value[I]||(f.value=""),S(I)}),xe(()=>e.collapse,I=>{I&&(c.value=[])}),xe(h.value,v);let P;Ar(()=>{e.mode==="horizontal"&&e.ellipsis?P=On(i,A).stop:P==null||P()});const $=H(!1);{const I=D=>{d.value[D.index]=D},M=D=>{delete d.value[D.index]};kt("rootMenu",zt({props:e,openedMenus:c,items:h,subMenus:d,activeIndex:f,isMenuPopup:p,addMenuItem:D=>{h.value[D.index]=D},removeMenuItem:D=>{delete h.value[D.index]},addSubMenu:I,removeSubMenu:M,openMenu:g,closeMenu:w,handleMenuItemClick:b,handleSubMenuClick:_})),kt(`subMenu:${a.uid}`,{addSubMenu:I,removeSubMenu:M,mouseInChild:$,level:0})}ft(()=>{e.mode==="horizontal"&&new Kbe(a.vnode.el,s.namespace.value)}),r({open:M=>{const{indexPath:L}=d.value[M];L.forEach(O=>g(O,L))},close:m,handleResize:A});const B=tW(e,0);return()=>{var I,M;let L=(M=(I=n.default)==null?void 0:I.call(n))!=null?M:[];const O=[];if(e.mode==="horizontal"&&i.value){const V=Gl(L),j=u.value===-1?V:V.slice(0,u.value),U=u.value===-1?[]:V.slice(u.value);U!=null&&U.length&&e.ellipsis&&(L=j,O.push(We(y5,{index:"sub-menu-more",class:l.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>We(Ke,{class:l.e("icon-more")},{default:()=>We(e.ellipsisIcon)}),default:()=>U})))}const D=e.closeOnClickOutside?[[Gs,()=>{c.value.length&&($.value||(c.value.forEach(V=>t("close",V,x(V))),c.value=[]))}]]:[],z=vt(We("ul",{key:String(e.collapse),role:"menubar",ref:i,style:B.value,class:{[s.b()]:!0,[s.m(e.mode)]:!0,[s.m("collapse")]:e.collapse}},[...L,...O]),D);return e.collapseTransition&&e.mode==="vertical"?We(Ybe,()=>z):z}}});const t_e=Ie({index:{type:ce([String,null]),default:null},route:{type:ce([String,Object])},disabled:Boolean}),n_e={click:e=>Ze(e.index)&&Me(e.indexPath)},n2="ElMenuItem",r_e=te({name:n2,components:{ElTooltip:Kr},props:t_e,emits:n_e,setup(e,{emit:t}){const n=st(),r=ze("rootMenu"),a=Ae("menu"),o=Ae("menu-item");r||ar(n2,"can not inject root menu");const{parentMenu:i,indexPath:s}=eW(n,Jt(e,"index")),l=ze(`subMenu:${i.value.uid}`);l||ar(n2,"can not inject sub menu");const u=R(()=>e.index===r.activeIndex),c=zt({index:e.index,indexPath:s,active:u}),f=()=>{e.disabled||(r.handleMenuItemClick({index:e.index,indexPath:s.value,route:e.route}),t("click",c))};return ft(()=>{l.addSubMenu(c),r.addMenuItem(c)}),fn(()=>{l.removeSubMenu(c),r.removeMenuItem(c)}),{parentMenu:i,rootMenu:r,active:u,nsMenu:a,nsMenuItem:o,handleClick:f}}});function a_e(e,t,n,r,a,o){const i=gt("el-tooltip");return N(),q("li",{class:F([e.nsMenuItem.b(),e.nsMenuItem.is("active",e.active),e.nsMenuItem.is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:e.handleClick},[e.parentMenu.type.name==="ElMenu"&&e.rootMenu.props.collapse&&e.$slots.title?(N(),ye(i,{key:0,effect:e.rootMenu.props.popperEffect,placement:"right","fallback-placements":["left"],persistent:""},{content:le(()=>[ve(e.$slots,"title")]),default:le(()=>[Z("div",{class:F(e.nsMenu.be("tooltip","trigger"))},[ve(e.$slots,"default")],2)]),_:3},8,["effect"])):(N(),q(je,{key:1},[ve(e.$slots,"default"),ve(e.$slots,"title")],64))],10,["onClick"])}var nW=De(r_e,[["render",a_e],["__file","menu-item.vue"]]);const o_e={title:String},i_e="ElMenuItemGroup",s_e=te({name:i_e,props:o_e,setup(){return{ns:Ae("menu-item-group")}}});function l_e(e,t,n,r,a,o){return N(),q("li",{class:F(e.ns.b())},[Z("div",{class:F(e.ns.e("title"))},[e.$slots.title?ve(e.$slots,"title",{key:1}):(N(),q(je,{key:0},[At(Re(e.title),1)],64))],2),Z("ul",null,[ve(e.$slots,"default")])],2)}var rW=De(s_e,[["render",l_e],["__file","menu-item-group.vue"]]);const u_e=pt(e_e,{MenuItem:nW,MenuItemGroup:rW,SubMenu:y5}),c_e=Dn(nW),f_e=Dn(rW),d_e=Dn(y5),h_e=Ie({icon:{type:cn,default:()=>pue},title:String,content:{type:String,default:""}}),p_e={back:()=>!0},v_e=te({name:"ElPageHeader"}),g_e=te(_e(X({},v_e),{props:h_e,emits:p_e,setup(e,{emit:t}){const n=Yn(),{t:r}=$t(),a=Ae("page-header"),o=R(()=>[a.b(),{[a.m("has-breadcrumb")]:!!n.breadcrumb,[a.m("has-extra")]:!!n.extra,[a.is("contentful")]:!!n.default}]);function i(){t("back")}return(s,l)=>(N(),q("div",{class:F(y(o))},[s.$slots.breadcrumb?(N(),q("div",{key:0,class:F(y(a).e("breadcrumb"))},[ve(s.$slots,"breadcrumb")],2)):ge("v-if",!0),Z("div",{class:F(y(a).e("header"))},[Z("div",{class:F(y(a).e("left"))},[Z("div",{class:F(y(a).e("back")),role:"button",tabindex:"0",onClick:i},[s.icon||s.$slots.icon?(N(),q("div",{key:0,"aria-label":s.title||y(r)("el.pageHeader.title"),class:F(y(a).e("icon"))},[ve(s.$slots,"icon",{},()=>[s.icon?(N(),ye(y(Ke),{key:0},{default:le(()=>[(N(),ye(bt(s.icon)))]),_:1})):ge("v-if",!0)])],10,["aria-label"])):ge("v-if",!0),Z("div",{class:F(y(a).e("title"))},[ve(s.$slots,"title",{},()=>[At(Re(s.title||y(r)("el.pageHeader.title")),1)])],2)],2),ee(y(VH),{direction:"vertical"}),Z("div",{class:F(y(a).e("content"))},[ve(s.$slots,"content",{},()=>[At(Re(s.content),1)])],2)],2),s.$slots.extra?(N(),q("div",{key:0,class:F(y(a).e("extra"))},[ve(s.$slots,"extra")],2)):ge("v-if",!0)],2),s.$slots.default?(N(),q("div",{key:1,class:F(y(a).e("main"))},[ve(s.$slots,"default")],2)):ge("v-if",!0)],2))}}));var m_e=De(g_e,[["__file","page-header.vue"]]);const y_e=pt(m_e),aW=Symbol("elPaginationKey"),b_e=Ie({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:cn}}),__e={click:e=>e instanceof MouseEvent},w_e=te({name:"ElPaginationPrev"}),S_e=te(_e(X({},w_e),{props:b_e,emits:__e,setup(e){const t=e,{t:n}=$t(),r=R(()=>t.disabled||t.currentPage<=1);return(a,o)=>(N(),q("button",{type:"button",class:"btn-prev",disabled:y(r),"aria-label":a.prevText||y(n)("el.pagination.prev"),"aria-disabled":y(r),onClick:i=>a.$emit("click",i)},[a.prevText?(N(),q("span",{key:0},Re(a.prevText),1)):(N(),ye(y(Ke),{key:1},{default:le(()=>[(N(),ye(bt(a.prevIcon)))]),_:1}))],8,["disabled","aria-label","aria-disabled","onClick"]))}}));var C_e=De(S_e,[["__file","prev.vue"]]);const T_e=Ie({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:cn}}),x_e=te({name:"ElPaginationNext"}),E_e=te(_e(X({},x_e),{props:T_e,emits:["click"],setup(e){const t=e,{t:n}=$t(),r=R(()=>t.disabled||t.currentPage===t.pageCount||t.pageCount===0);return(a,o)=>(N(),q("button",{type:"button",class:"btn-next",disabled:y(r),"aria-label":a.nextText||y(n)("el.pagination.next"),"aria-disabled":y(r),onClick:i=>a.$emit("click",i)},[a.nextText?(N(),q("span",{key:0},Re(a.nextText),1)):(N(),ye(y(Ke),{key:1},{default:le(()=>[(N(),ye(bt(a.nextIcon)))]),_:1}))],8,["disabled","aria-label","aria-disabled","onClick"]))}}));var k_e=De(E_e,[["__file","next.vue"]]);const oW=Symbol("ElSelectGroup"),Kh=Symbol("ElSelect");function A_e(e,t){const n=ze(Kh),r=ze(oW,{disabled:!1}),a=R(()=>c(ua(n.props.modelValue),e.value)),o=R(()=>{var d;if(n.props.multiple){const p=ua((d=n.props.modelValue)!=null?d:[]);return!a.value&&p.length>=n.props.multipleLimit&&n.props.multipleLimit>0}else return!1}),i=R(()=>e.label||(_t(e.value)?"":e.value)),s=R(()=>e.value||e.label||""),l=R(()=>e.disabled||t.groupDisabled||o.value),u=st(),c=(d=[],p)=>{if(_t(e.value)){const v=n.props.valueKey;return d&&d.some(g=>Xt(Gn(g,v))===Gn(p,v))}else return d&&d.includes(p)},f=()=>{!e.disabled&&!r.disabled&&(n.states.hoveringIndex=n.optionsArray.indexOf(u.proxy))},h=d=>{const p=new RegExp(t5(d),"i");t.visible=p.test(i.value)||e.created};return xe(()=>i.value,()=>{!e.created&&!n.props.remote&&n.setSelected()}),xe(()=>e.value,(d,p)=>{const{remote:v,valueKey:g}=n.props;if(d!==p&&(n.onOptionDestroy(p,u.proxy),n.onOptionCreate(u.proxy)),!e.created&&!v){if(g&&_t(d)&&_t(p)&&d[g]===p[g])return;n.setSelected()}}),xe(()=>r.disabled,()=>{t.groupDisabled=r.disabled},{immediate:!0}),{select:n,currentLabel:i,currentValue:s,itemSelected:a,isDisabled:l,hoverItem:f,updateOption:h}}const M_e=te({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:Boolean},setup(e){const t=Ae("select"),n=jr(),r=R(()=>[t.be("dropdown","item"),t.is("disabled",y(s)),t.is("selected",y(i)),t.is("hovering",y(h))]),a=zt({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:o,itemSelected:i,isDisabled:s,select:l,hoverItem:u,updateOption:c}=A_e(e,a),{visible:f,hover:h}=rr(a),d=st().proxy;l.onOptionCreate(d),fn(()=>{const v=d.value,{selected:g}=l.states,m=g.some(w=>w.value===d.value);qe(()=>{l.states.cachedOptions.get(v)===d&&!m&&l.states.cachedOptions.delete(v)}),l.onOptionDestroy(v,d)});function p(){s.value||l.handleOptionSelect(d)}return{ns:t,id:n,containerKls:r,currentLabel:o,itemSelected:i,isDisabled:s,select:l,hoverItem:u,updateOption:c,visible:f,hover:h,selectOptionClick:p,states:a}}});function O_e(e,t,n,r,a,o){return vt((N(),q("li",{id:e.id,class:F(e.containerKls),role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected,onMousemove:e.hoverItem,onClick:nt(e.selectOptionClick,["stop"])},[ve(e.$slots,"default",{},()=>[Z("span",null,Re(e.currentLabel),1)])],42,["id","aria-disabled","aria-selected","onMousemove","onClick"])),[[Wt,e.visible]])}var b5=De(M_e,[["render",O_e],["__file","option.vue"]]);const P_e=te({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=ze(Kh),t=Ae("select"),n=R(()=>e.props.popperClass),r=R(()=>e.props.multiple),a=R(()=>e.props.fitInputWidth),o=H("");function i(){var s;o.value=`${(s=e.selectRef)==null?void 0:s.offsetWidth}px`}return ft(()=>{i(),On(e.selectRef,i)}),{ns:t,minWidth:o,popperClass:n,isMultiple:r,isFitInputWidth:a}}});function R_e(e,t,n,r,a,o){return N(),q("div",{class:F([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:Xe({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[e.$slots.header?(N(),q("div",{key:0,class:F(e.ns.be("dropdown","header"))},[ve(e.$slots,"header")],2)):ge("v-if",!0),ve(e.$slots,"default"),e.$slots.footer?(N(),q("div",{key:1,class:F(e.ns.be("dropdown","footer"))},[ve(e.$slots,"footer")],2)):ge("v-if",!0)],6)}var I_e=De(P_e,[["render",R_e],["__file","select-dropdown.vue"]]);const D_e=11,L_e=(e,t)=>{const{t:n}=$t(),r=jr(),a=Ae("select"),o=Ae("input"),i=zt({inputValue:"",options:new Map,cachedOptions:new Map,optionValues:[],selected:[],selectionWidth:0,calculatorWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),s=H(null),l=H(null),u=H(null),c=H(null),f=H(null),h=H(null),d=H(null),p=H(null),v=H(null),g=H(null),m=H(null),w=H(null),{isComposing:_,handleCompositionStart:b,handleCompositionUpdate:S,handleCompositionEnd:C}=J_({afterComposition:Le=>wt(Le)}),{wrapperRef:T,isFocused:x,handleBlur:E}=Wh(f,{beforeFocus(){return L.value},afterFocus(){e.automaticDropdown&&!k.value&&(k.value=!0,i.menuVisibleOnFocus=!0)},beforeBlur(Le){var rt,Yt;return((rt=u.value)==null?void 0:rt.isFocusInsideContent(Le))||((Yt=c.value)==null?void 0:Yt.isFocusInsideContent(Le))},afterBlur(){k.value=!1,i.menuVisibleOnFocus=!1}}),k=H(!1),A=H(),{form:P,formItem:$}=qr(),{inputId:B}=Ti(e,{formItemContext:$}),{valueOnClear:I,isEmptyValue:M}=G_(e),L=R(()=>e.disabled||(P==null?void 0:P.disabled)),O=R(()=>Me(e.modelValue)?e.modelValue.length>0:!M(e.modelValue)),D=R(()=>{var Le;return(Le=P==null?void 0:P.statusIcon)!=null?Le:!1}),z=R(()=>e.clearable&&!L.value&&i.inputHovering&&O.value),V=R(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),j=R(()=>a.is("reverse",V.value&&k.value)),U=R(()=>($==null?void 0:$.validateState)||""),ne=R(()=>N3[U.value]),ie=R(()=>e.remote?300:0),fe=R(()=>e.loading?e.loadingText||n("el.select.loading"):e.remote&&!i.inputValue&&i.options.size===0?!1:e.filterable&&i.inputValue&&i.options.size>0&&G.value===0?e.noMatchText||n("el.select.noMatch"):i.options.size===0?e.noDataText||n("el.select.noData"):null),G=R(()=>oe.value.filter(Le=>Le.visible).length),oe=R(()=>{const Le=Array.from(i.options.values()),rt=[];return i.optionValues.forEach(Yt=>{const qn=Le.findIndex(ir=>ir.value===Yt);qn>-1&&rt.push(Le[qn])}),rt.length>=Le.length?rt:Le}),se=R(()=>Array.from(i.cachedOptions.values())),ue=R(()=>{const Le=oe.value.filter(rt=>!rt.created).some(rt=>rt.currentLabel===i.inputValue);return e.filterable&&e.allowCreate&&i.inputValue!==""&&!Le}),he=()=>{e.filterable&&Ge(e.filterMethod)||e.filterable&&e.remote&&Ge(e.remoteMethod)||oe.value.forEach(Le=>{var rt;(rt=Le.updateOption)==null||rt.call(Le,i.inputValue)})},ae=Jn(),K=R(()=>["small"].includes(ae.value)?"small":"default"),Q=R({get(){return k.value&&fe.value!==!1},set(Le){k.value=Le}}),pe=R(()=>{if(e.multiple&&!_n(e.modelValue))return ua(e.modelValue).length===0&&!i.inputValue;const Le=Me(e.modelValue)?e.modelValue[0]:e.modelValue;return e.filterable||_n(Le)?!i.inputValue:!0}),we=R(()=>{var Le;const rt=(Le=e.placeholder)!=null?Le:n("el.select.placeholder");return e.multiple||!O.value?rt:i.selectedLabel}),me=R(()=>Ox?null:"mouseenter");xe(()=>e.modelValue,(Le,rt)=>{e.multiple&&e.filterable&&!e.reserveKeyword&&(i.inputValue="",be("")),ke(),!Cr(Le,rt)&&e.validateEvent&&($==null||$.validate("change").catch(Yt=>void 0))},{flush:"post",deep:!0}),xe(()=>k.value,Le=>{Le?be(i.inputValue):(i.inputValue="",i.previousQuery=null,i.isBeforeHide=!0),t("visible-change",Le)}),xe(()=>i.options.entries(),()=>{var Le;if(!Bt)return;const rt=((Le=s.value)==null?void 0:Le.querySelectorAll("input"))||[];(!e.filterable&&!e.defaultFirstOption&&!_n(e.modelValue)||!Array.from(rt).includes(document.activeElement))&&ke(),e.defaultFirstOption&&(e.filterable||e.remote)&&G.value&&Ce()},{flush:"post"}),xe(()=>i.hoveringIndex,Le=>{et(Le)&&Le>-1?A.value=oe.value[Le]||{}:A.value={},oe.value.forEach(rt=>{rt.hover=A.value===rt})}),Ar(()=>{i.isBeforeHide||he()});const be=Le=>{i.previousQuery===Le||_.value||(i.previousQuery=Le,e.filterable&&Ge(e.filterMethod)?e.filterMethod(Le):e.filterable&&e.remote&&Ge(e.remoteMethod)&&e.remoteMethod(Le),e.defaultFirstOption&&(e.filterable||e.remote)&&G.value?qe(Ce):qe(Pe))},Ce=()=>{const Le=oe.value.filter(ir=>ir.visible&&!ir.disabled&&!ir.states.groupDisabled),rt=Le.find(ir=>ir.created),Yt=Le[0],qn=oe.value.map(ir=>ir.value);i.hoveringIndex=Ee(qn,rt||Yt)},ke=()=>{if(e.multiple)i.selectedLabel="";else{const rt=Me(e.modelValue)?e.modelValue[0]:e.modelValue,Yt=Oe(rt);i.selectedLabel=Yt.currentLabel,i.selected=[Yt];return}const Le=[];_n(e.modelValue)||ua(e.modelValue).forEach(rt=>{Le.push(Oe(rt))}),i.selected=Le},Oe=Le=>{let rt;const Yt=qc(Le);for(let Yr=i.cachedOptions.size-1;Yr>=0;Yr--){const Xr=se.value[Yr];if(Yt?Gn(Xr.value,e.valueKey)===Gn(Le,e.valueKey):Xr.value===Le){rt={value:Le,currentLabel:Xr.currentLabel,get isDisabled(){return Xr.isDisabled}};break}}if(rt)return rt;const qn=Yt?Le.label:Le!=null?Le:"";return{value:Le,currentLabel:qn}},Pe=()=>{i.hoveringIndex=oe.value.findIndex(Le=>i.selected.some(rt=>Pi(rt)===Pi(Le)))},He=()=>{i.selectionWidth=l.value.getBoundingClientRect().width},Te=()=>{i.calculatorWidth=h.value.getBoundingClientRect().width},Be=()=>{i.collapseItemWidth=m.value.getBoundingClientRect().width},Je=()=>{var Le,rt;(rt=(Le=u.value)==null?void 0:Le.updatePopper)==null||rt.call(Le)},dt=()=>{var Le,rt;(rt=(Le=c.value)==null?void 0:Le.updatePopper)==null||rt.call(Le)},ct=()=>{i.inputValue.length>0&&!k.value&&(k.value=!0),be(i.inputValue)},wt=Le=>{if(i.inputValue=Le.target.value,e.remote)Mt();else return ct()},Mt=Fa(()=>{ct()},ie.value),Zt=Le=>{Cr(e.modelValue,Le)||t(Sn,Le)},Se=Le=>VV(Le,rt=>{const Yt=i.cachedOptions.get(rt);return Yt&&!Yt.disabled&&!Yt.states.groupDisabled}),Ne=Le=>{if(e.multiple&&Le.code!==Ue.delete&&Le.target.value.length<=0){const rt=ua(e.modelValue).slice(),Yt=Se(rt);if(Yt<0)return;const qn=rt[Yt];rt.splice(Yt,1),t(St,rt),Zt(rt),t("remove-tag",qn)}},Y=(Le,rt)=>{const Yt=i.selected.indexOf(rt);if(Yt>-1&&!L.value){const qn=ua(e.modelValue).slice();qn.splice(Yt,1),t(St,qn),Zt(qn),t("remove-tag",rt.value)}Le.stopPropagation(),Nt()},J=Le=>{Le.stopPropagation();const rt=e.multiple?[]:I.value;if(e.multiple)for(const Yt of i.selected)Yt.isDisabled&&rt.push(Yt.value);t(St,rt),Zt(rt),i.hoveringIndex=-1,k.value=!1,t("clear"),Nt()},W=Le=>{var rt;if(e.multiple){const Yt=ua((rt=e.modelValue)!=null?rt:[]).slice(),qn=Ee(Yt,Le);qn>-1?Yt.splice(qn,1):(e.multipleLimit<=0||Yt.length{Fe(Le)})},Ee=(Le=[],rt)=>_n(rt)?-1:_t(rt.value)?Le.findIndex(Yt=>Cr(Gn(Yt,e.valueKey),Pi(rt))):Le.indexOf(rt.value),Fe=Le=>{var rt,Yt,qn,ir,Yr;const Xr=Me(Le)?Le[0]:Le;let Ii=null;if(Xr!=null&&Xr.value){const Di=oe.value.filter(ip=>ip.value===Xr.value);Di.length>0&&(Ii=Di[0].$el)}if(u.value&&Ii){const Di=(ir=(qn=(Yt=(rt=u.value)==null?void 0:rt.popperRef)==null?void 0:Yt.contentRef)==null?void 0:qn.querySelector)==null?void 0:ir.call(qn,`.${a.be("dropdown","wrap")}`);Di&&oz(Di,Ii)}(Yr=w.value)==null||Yr.handleScroll()},tt=Le=>{i.options.set(Le.value,Le),i.cachedOptions.set(Le.value,Le)},at=(Le,rt)=>{i.options.get(Le)===rt&&i.options.delete(Le)},kn=R(()=>{var Le,rt;return(rt=(Le=u.value)==null?void 0:Le.popperRef)==null?void 0:rt.contentRef}),bn=()=>{i.isBeforeHide=!1,qe(()=>Fe(i.selected))},Nt=()=>{var Le;(Le=f.value)==null||Le.focus()},Ct=()=>{var Le;if(k.value){k.value=!1,qe(()=>{var rt;return(rt=f.value)==null?void 0:rt.blur()});return}(Le=f.value)==null||Le.blur()},jn=Le=>{J(Le)},wr=Le=>{if(k.value=!1,x.value){const rt=new FocusEvent("focus",Le);qe(()=>E(rt))}},Sr=()=>{i.inputValue.length>0?i.inputValue="":k.value=!1},Uo=()=>{L.value||(Ox&&(i.inputHovering=!0),i.menuVisibleOnFocus?i.menuVisibleOnFocus=!1:k.value=!k.value)},Ua=()=>{if(!k.value)Uo();else{const Le=oe.value[i.hoveringIndex];Le&&!Le.disabled&&!Le.states.groupDisabled&&W(Le)}},Pi=Le=>_t(Le.value)?Gn(Le.value,e.valueKey):Le.value,Ri=R(()=>oe.value.filter(Le=>Le.visible).every(Le=>Le.disabled)),xu=R(()=>e.multiple?e.collapseTags?i.selected.slice(0,e.maxCollapseTags):i.selected:[]),jo=R(()=>e.multiple?e.collapseTags?i.selected.slice(e.maxCollapseTags):[]:[]),ol=Le=>{if(!k.value){k.value=!0;return}if(!(i.options.size===0||G.value===0||_.value)&&!Ri.value){Le==="next"?(i.hoveringIndex++,i.hoveringIndex===i.options.size&&(i.hoveringIndex=0)):Le==="prev"&&(i.hoveringIndex--,i.hoveringIndex<0&&(i.hoveringIndex=i.options.size-1));const rt=oe.value[i.hoveringIndex];(rt.disabled===!0||rt.states.groupDisabled===!0||!rt.visible)&&ol(Le),qe(()=>Fe(A.value))}},Eu=()=>{if(!l.value)return 0;const Le=window.getComputedStyle(l.value);return Number.parseFloat(Le.gap||"6px")},kf=R(()=>{const Le=Eu();return{maxWidth:`${m.value&&e.maxCollapseTags===1?i.selectionWidth-i.collapseItemWidth-Le:i.selectionWidth}px`}}),Af=R(()=>({maxWidth:`${i.selectionWidth}px`})),ku=R(()=>({width:`${Math.max(i.calculatorWidth,D_e)}px`}));return On(l,He),On(h,Te),On(v,Je),On(T,Je),On(g,dt),On(m,Be),ft(()=>{ke()}),{inputId:B,contentId:r,nsSelect:a,nsInput:o,states:i,isFocused:x,expanded:k,optionsArray:oe,hoverOption:A,selectSize:ae,filteredOptionsCount:G,resetCalculatorWidth:Te,updateTooltip:Je,updateTagTooltip:dt,debouncedOnInputChange:Mt,onInput:wt,deletePrevTag:Ne,deleteTag:Y,deleteSelected:J,handleOptionSelect:W,scrollToOption:Fe,hasModelValue:O,shouldShowPlaceholder:pe,currentPlaceholder:we,mouseEnterEventName:me,needStatusIcon:D,showClose:z,iconComponent:V,iconReverse:j,validateState:U,validateIcon:ne,showNewOption:ue,updateOptions:he,collapseTagSize:K,setSelected:ke,selectDisabled:L,emptyText:fe,handleCompositionStart:b,handleCompositionUpdate:S,handleCompositionEnd:C,onOptionCreate:tt,onOptionDestroy:at,handleMenuEnter:bn,focus:Nt,blur:Ct,handleClearClick:jn,handleClickOutside:wr,handleEsc:Sr,toggleMenu:Uo,selectOption:Ua,getValueKey:Pi,navigateOptions:ol,dropdownMenuVisible:Q,showTagList:xu,collapseTagList:jo,tagStyle:kf,collapseTagStyle:Af,inputStyle:ku,popperRef:kn,inputRef:f,tooltipRef:u,tagTooltipRef:c,calculatorRef:h,prefixRef:d,suffixRef:p,selectRef:s,wrapperRef:T,selectionRef:l,scrollbarRef:w,menuRef:v,tagMenuRef:g,collapseItemRef:m}};var $_e=te({name:"ElOptions",setup(e,{slots:t}){const n=ze(Kh);let r=[];return()=>{var a,o;const i=(a=t.default)==null?void 0:a.call(t),s=[];function l(u){Me(u)&&u.forEach(c=>{var f,h,d,p;const v=(f=(c==null?void 0:c.type)||{})==null?void 0:f.name;v==="ElOptionGroup"?l(!Ze(c.children)&&!Me(c.children)&&Ge((h=c.children)==null?void 0:h.default)?(d=c.children)==null?void 0:d.default():c.children):v==="ElOption"?s.push((p=c.props)==null?void 0:p.value):Me(c.children)&&l(c.children)})}return i.length&&l((o=i[0])==null?void 0:o.children),Cr(s,r)||(r=s,n&&(n.states.optionValues=s)),i}}});const N_e=Ie(X(X({name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:or,effect:{type:ce(String),default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:ce(Object),default:()=>({})},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},teleported:fr.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:cn,default:bu},fitInputWidth:Boolean,suffixIcon:{type:cn,default:tl},tagType:_e(X({},nf.type),{default:"info"}),tagEffect:_e(X({},nf.effect),{default:"light"}),validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:ce(String),values:rl,default:"bottom-start"},fallbackPlacements:{type:ce(Array),default:["bottom-start","top-start","right","left"]},tabindex:{type:[String,Number],default:0},appendTo:String},Hh),Pr(["ariaLabel"]))),$6="ElSelect",B_e=te({name:$6,componentName:$6,components:{ElSelectMenu:I_e,ElOption:b5,ElOptions:$_e,ElTag:lg,ElScrollbar:nl,ElTooltip:Kr,ElIcon:Ke},directives:{ClickOutside:Gs},props:N_e,emits:[St,Sn,"remove-tag","clear","visible-change","focus","blur"],setup(e,{emit:t}){const n=R(()=>{const{modelValue:i,multiple:s}=e,l=s?[]:void 0;return Me(i)?s?i:l:s?l:i}),r=zt(_e(X({},rr(e)),{modelValue:n})),a=L_e(r,t);kt(Kh,zt({props:r,states:a.states,optionsArray:a.optionsArray,handleOptionSelect:a.handleOptionSelect,onOptionCreate:a.onOptionCreate,onOptionDestroy:a.onOptionDestroy,selectRef:a.selectRef,setSelected:a.setSelected}));const o=R(()=>e.multiple?a.states.selected.map(i=>i.currentLabel):a.states.selectedLabel);return _e(X({},a),{modelValue:n,selectedLabel:o})}});function F_e(e,t,n,r,a,o){const i=gt("el-tag"),s=gt("el-tooltip"),l=gt("el-icon"),u=gt("el-option"),c=gt("el-options"),f=gt("el-scrollbar"),h=gt("el-select-menu"),d=Nh("click-outside");return vt((N(),q("div",{ref:"selectRef",class:F([e.nsSelect.b(),e.nsSelect.m(e.selectSize)]),[Ed(e.mouseEnterEventName)]:p=>e.states.inputHovering=!0,onMouseleave:p=>e.states.inputHovering=!1},[ee(s,{ref:"tooltipRef",visible:e.dropdownMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,pure:"",trigger:"click",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:p=>e.states.isBeforeHide=!1},{default:le(()=>{var p;return[Z("div",{ref:"wrapperRef",class:F([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:nt(e.toggleMenu,["prevent"])},[e.$slots.prefix?(N(),q("div",{key:0,ref:"prefixRef",class:F(e.nsSelect.e("prefix"))},[ve(e.$slots,"prefix")],2)):ge("v-if",!0),Z("div",{ref:"selectionRef",class:F([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.states.selected.length)])},[e.multiple?ve(e.$slots,"tag",{key:0},()=>[(N(!0),q(je,null,Rt(e.showTagList,v=>(N(),q("div",{key:e.getValueKey(v),class:F(e.nsSelect.e("selected-item"))},[ee(i,{closable:!e.selectDisabled&&!v.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:Xe(e.tagStyle),onClose:g=>e.deleteTag(g,v)},{default:le(()=>[Z("span",{class:F(e.nsSelect.e("tags-text"))},[ve(e.$slots,"label",{label:v.currentLabel,value:v.value},()=>[At(Re(v.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.states.selected.length>e.maxCollapseTags?(N(),ye(s,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom",teleported:e.teleported},{default:le(()=>[Z("div",{ref:"collapseItemRef",class:F(e.nsSelect.e("selected-item"))},[ee(i,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:Xe(e.collapseTagStyle)},{default:le(()=>[Z("span",{class:F(e.nsSelect.e("tags-text"))}," + "+Re(e.states.selected.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:le(()=>[Z("div",{ref:"tagMenuRef",class:F(e.nsSelect.e("selection"))},[(N(!0),q(je,null,Rt(e.collapseTagList,v=>(N(),q("div",{key:e.getValueKey(v),class:F(e.nsSelect.e("selected-item"))},[ee(i,{class:"in-tooltip",closable:!e.selectDisabled&&!v.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:g=>e.deleteTag(g,v)},{default:le(()=>[Z("span",{class:F(e.nsSelect.e("tags-text"))},[ve(e.$slots,"label",{label:v.currentLabel,value:v.value},()=>[At(Re(v.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","teleported"])):ge("v-if",!0)]):ge("v-if",!0),Z("div",{class:F([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable)])},[vt(Z("input",{id:e.inputId,ref:"inputRef","onUpdate:modelValue":v=>e.states.inputValue=v,type:"text",name:e.name,class:F([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:Xe(e.inputStyle),tabindex:e.tabindex,role:"combobox",readonly:!e.filterable,spellcheck:"false","aria-activedescendant":((p=e.hoverOption)==null?void 0:p.id)||"","aria-controls":e.contentId,"aria-expanded":e.dropdownMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onKeydown:[un(nt(v=>e.navigateOptions("next"),["stop","prevent"]),["down"]),un(nt(v=>e.navigateOptions("prev"),["stop","prevent"]),["up"]),un(nt(e.handleEsc,["stop","prevent"]),["esc"]),un(nt(e.selectOption,["stop","prevent"]),["enter"]),un(nt(e.deletePrevTag,["stop"]),["delete"])],onCompositionstart:e.handleCompositionStart,onCompositionupdate:e.handleCompositionUpdate,onCompositionend:e.handleCompositionEnd,onInput:e.onInput,onClick:nt(e.toggleMenu,["stop"])},null,46,["id","onUpdate:modelValue","name","disabled","autocomplete","tabindex","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label","onKeydown","onCompositionstart","onCompositionupdate","onCompositionend","onInput","onClick"]),[[Zc,e.states.inputValue]]),e.filterable?(N(),q("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:F(e.nsSelect.e("input-calculator")),textContent:Re(e.states.inputValue)},null,10,["textContent"])):ge("v-if",!0)],2),e.shouldShowPlaceholder?(N(),q("div",{key:1,class:F([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?ve(e.$slots,"label",{key:0,label:e.currentPlaceholder,value:e.modelValue},()=>[Z("span",null,Re(e.currentPlaceholder),1)]):(N(),q("span",{key:1},Re(e.currentPlaceholder),1))],2)):ge("v-if",!0)],2),Z("div",{ref:"suffixRef",class:F(e.nsSelect.e("suffix"))},[e.iconComponent&&!e.showClose?(N(),ye(l,{key:0,class:F([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:le(()=>[(N(),ye(bt(e.iconComponent)))]),_:1},8,["class"])):ge("v-if",!0),e.showClose&&e.clearIcon?(N(),ye(l,{key:1,class:F([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.nsSelect.e("clear")]),onClick:e.handleClearClick},{default:le(()=>[(N(),ye(bt(e.clearIcon)))]),_:1},8,["class","onClick"])):ge("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(N(),ye(l,{key:2,class:F([e.nsInput.e("icon"),e.nsInput.e("validateIcon")])},{default:le(()=>[(N(),ye(bt(e.validateIcon)))]),_:1},8,["class"])):ge("v-if",!0)],2)],10,["onClick"])]}),content:le(()=>[ee(h,{ref:"menuRef"},{default:le(()=>[e.$slots.header?(N(),q("div",{key:0,class:F(e.nsSelect.be("dropdown","header")),onClick:nt(()=>{},["stop"])},[ve(e.$slots,"header")],10,["onClick"])):ge("v-if",!0),vt(ee(f,{id:e.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:F([e.nsSelect.is("empty",e.filteredOptionsCount===0)]),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},{default:le(()=>[e.showNewOption?(N(),ye(u,{key:0,value:e.states.inputValue,created:!0},null,8,["value"])):ge("v-if",!0),ee(c,null,{default:le(()=>[ve(e.$slots,"default")]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label"]),[[Wt,e.states.options.size>0&&!e.loading]]),e.$slots.loading&&e.loading?(N(),q("div",{key:1,class:F(e.nsSelect.be("dropdown","loading"))},[ve(e.$slots,"loading")],2)):e.loading||e.filteredOptionsCount===0?(N(),q("div",{key:2,class:F(e.nsSelect.be("dropdown","empty"))},[ve(e.$slots,"empty",{},()=>[Z("span",null,Re(e.emptyText),1)])],2)):ge("v-if",!0),e.$slots.footer?(N(),q("div",{key:3,class:F(e.nsSelect.be("dropdown","footer")),onClick:nt(()=>{},["stop"])},[ve(e.$slots,"footer")],10,["onClick"])):ge("v-if",!0)]),_:3},512)]),_:3},8,["visible","placement","teleported","popper-class","popper-options","fallback-placements","effect","transition","persistent","append-to","show-arrow","offset","onBeforeShow","onHide"])],16,["onMouseleave"])),[[d,e.handleClickOutside,e.popperRef]])}var V_e=De(B_e,[["render",F_e],["__file","select.vue"]]);const z_e=te({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const t=Ae("select"),n=H(null),r=st(),a=H([]);kt(oW,zt(X({},rr(e))));const o=R(()=>a.value.some(u=>u.visible===!0)),i=u=>{var c,f;return((c=u.type)==null?void 0:c.name)==="ElOption"&&!!((f=u.component)!=null&&f.proxy)},s=u=>{const c=ua(u),f=[];return c.forEach(h=>{var d,p;i(h)?f.push(h.component.proxy):(d=h.children)!=null&&d.length?f.push(...s(h.children)):(p=h.component)!=null&&p.subTree&&f.push(...s(h.component.subTree))}),f},l=()=>{a.value=s(r.subTree)};return ft(()=>{l()}),GV(n,l,{attributes:!0,subtree:!0,childList:!0}),{groupRef:n,visible:o,ns:t}}});function H_e(e,t,n,r,a,o){return vt((N(),q("ul",{ref:"groupRef",class:F(e.ns.be("group","wrap"))},[Z("li",{class:F(e.ns.be("group","title"))},Re(e.label),3),Z("li",null,[Z("ul",{class:F(e.ns.b("group"))},[ve(e.$slots,"default")],2)])],2)),[[Wt,e.visible]])}var iW=De(z_e,[["render",H_e],["__file","option-group.vue"]]);const rf=pt(V_e,{Option:b5,OptionGroup:iW}),sb=Dn(b5),W_e=Dn(iW),_5=()=>ze(aW,{}),U_e=Ie({pageSize:{type:Number,required:!0},pageSizes:{type:ce(Array),default:()=>In([10,20,30,40,50,100])},popperClass:{type:String},disabled:Boolean,teleported:Boolean,size:{type:String,values:ms},appendSizeTo:String}),j_e=te({name:"ElPaginationSizes"}),K_e=te(_e(X({},j_e),{props:U_e,emits:["page-size-change"],setup(e,{emit:t}){const n=e,{t:r}=$t(),a=Ae("pagination"),o=_5(),i=H(n.pageSize);xe(()=>n.pageSizes,(u,c)=>{if(!Cr(u,c)&&Me(u)){const f=u.includes(n.pageSize)?n.pageSize:n.pageSizes[0];t("page-size-change",f)}}),xe(()=>n.pageSize,u=>{i.value=u});const s=R(()=>n.pageSizes);function l(u){var c;u!==i.value&&(i.value=u,(c=o.handleSizeChange)==null||c.call(o,Number(u)))}return(u,c)=>(N(),q("span",{class:F(y(a).e("sizes"))},[ee(y(rf),{"model-value":i.value,disabled:u.disabled,"popper-class":u.popperClass,size:u.size,teleported:u.teleported,"validate-event":!1,"append-to":u.appendSizeTo,onChange:l},{default:le(()=>[(N(!0),q(je,null,Rt(y(s),f=>(N(),ye(y(sb),{key:f,value:f,label:f+y(r)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","size","teleported","append-to"])],2))}}));var G_e=De(K_e,[["__file","sizes.vue"]]);const q_e=Ie({size:{type:String,values:ms}}),Y_e=te({name:"ElPaginationJumper"}),X_e=te(_e(X({},Y_e),{props:q_e,setup(e){const{t}=$t(),n=Ae("pagination"),{pageCount:r,disabled:a,currentPage:o,changeEvent:i}=_5(),s=H(),l=R(()=>{var f;return(f=s.value)!=null?f:o==null?void 0:o.value});function u(f){s.value=f?+f:""}function c(f){f=Math.trunc(+f),i==null||i(f),s.value=void 0}return(f,h)=>(N(),q("span",{class:F(y(n).e("jump")),disabled:y(a)},[Z("span",{class:F([y(n).e("goto")])},Re(y(t)("el.pagination.goto")),3),ee(y(fa),{size:f.size,class:F([y(n).e("editor"),y(n).is("in-pagination")]),min:1,max:y(r),disabled:y(a),"model-value":y(l),"validate-event":!1,"aria-label":y(t)("el.pagination.page"),type:"number","onUpdate:modelValue":u,onChange:c},null,8,["size","class","max","disabled","model-value","aria-label"]),Z("span",{class:F([y(n).e("classifier")])},Re(y(t)("el.pagination.pageClassifier")),3)],10,["disabled"]))}}));var Z_e=De(X_e,[["__file","jumper.vue"]]);const J_e=Ie({total:{type:Number,default:1e3}}),Q_e=te({name:"ElPaginationTotal"}),ewe=te(_e(X({},Q_e),{props:J_e,setup(e){const{t}=$t(),n=Ae("pagination"),{disabled:r}=_5();return(a,o)=>(N(),q("span",{class:F(y(n).e("total")),disabled:y(r)},Re(y(t)("el.pagination.total",{total:a.total})),11,["disabled"]))}}));var twe=De(ewe,[["__file","total.vue"]]);const nwe=Ie({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),rwe=te({name:"ElPaginationPager"}),awe=te(_e(X({},rwe),{props:nwe,emits:["change"],setup(e,{emit:t}){const n=e,r=Ae("pager"),a=Ae("icon"),{t:o}=$t(),i=H(!1),s=H(!1),l=H(!1),u=H(!1),c=H(!1),f=H(!1),h=R(()=>{const b=n.pagerCount,S=(b-1)/2,C=Number(n.currentPage),T=Number(n.pageCount);let x=!1,E=!1;T>b&&(C>b-S&&(x=!0),C["more","btn-quickprev",a.b(),r.is("disabled",n.disabled)]),p=R(()=>["more","btn-quicknext",a.b(),r.is("disabled",n.disabled)]),v=R(()=>n.disabled?-1:0);Ar(()=>{const b=(n.pagerCount-1)/2;i.value=!1,s.value=!1,n.pageCount>n.pagerCount&&(n.currentPage>n.pagerCount-b&&(i.value=!0),n.currentPageT&&(C=T)),C!==x&&t("change",C)}return(b,S)=>(N(),q("ul",{class:F(y(r).b()),onClick:_,onKeyup:un(w,["enter"])},[b.pageCount>0?(N(),q("li",{key:0,class:F([[y(r).is("active",b.currentPage===1),y(r).is("disabled",b.disabled)],"number"]),"aria-current":b.currentPage===1,"aria-label":y(o)("el.pagination.currentPage",{pager:1}),tabindex:y(v)}," 1 ",10,["aria-current","aria-label","tabindex"])):ge("v-if",!0),i.value?(N(),q("li",{key:1,class:F(y(d)),tabindex:y(v),"aria-label":y(o)("el.pagination.prevPages",{pager:b.pagerCount-2}),onMouseenter:C=>g(!0),onMouseleave:C=>l.value=!1,onFocus:C=>m(!0),onBlur:C=>c.value=!1},[(l.value||c.value)&&!b.disabled?(N(),ye(y(su),{key:0})):(N(),ye(y(xI),{key:1}))],42,["tabindex","aria-label","onMouseenter","onMouseleave","onFocus","onBlur"])):ge("v-if",!0),(N(!0),q(je,null,Rt(y(h),C=>(N(),q("li",{key:C,class:F([[y(r).is("active",b.currentPage===C),y(r).is("disabled",b.disabled)],"number"]),"aria-current":b.currentPage===C,"aria-label":y(o)("el.pagination.currentPage",{pager:C}),tabindex:y(v)},Re(C),11,["aria-current","aria-label","tabindex"]))),128)),s.value?(N(),q("li",{key:2,class:F(y(p)),tabindex:y(v),"aria-label":y(o)("el.pagination.nextPages",{pager:b.pagerCount-2}),onMouseenter:C=>g(),onMouseleave:C=>u.value=!1,onFocus:C=>m(),onBlur:C=>f.value=!1},[(u.value||f.value)&&!b.disabled?(N(),ye(y(lu),{key:0})):(N(),ye(y(xI),{key:1}))],42,["tabindex","aria-label","onMouseenter","onMouseleave","onFocus","onBlur"])):ge("v-if",!0),b.pageCount>1?(N(),q("li",{key:3,class:F([[y(r).is("active",b.currentPage===b.pageCount),y(r).is("disabled",b.disabled)],"number"]),"aria-current":b.currentPage===b.pageCount,"aria-label":y(o)("el.pagination.currentPage",{pager:b.pageCount}),tabindex:y(v)},Re(b.pageCount),11,["aria-current","aria-label","tabindex"])):ge("v-if",!0)],42,["onKeyup"]))}}));var owe=De(awe,[["__file","pager.vue"]]);const Jr=e=>typeof e!="number",iwe=Ie({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>et(e)&&Math.trunc(e)===e&&e>4&&e<22&&e%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:ce(Array),default:()=>In([10,20,30,40,50,100])},popperClass:{type:String,default:""},prevText:{type:String,default:""},prevIcon:{type:cn,default:()=>iu},nextText:{type:String,default:""},nextIcon:{type:cn,default:()=>pa},teleported:{type:Boolean,default:!0},small:Boolean,size:or,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean,appendSizeTo:String}),swe={"update:current-page":e=>et(e),"update:page-size":e=>et(e),"size-change":e=>et(e),change:(e,t)=>et(e)&&et(t),"current-change":e=>et(e),"prev-click":e=>et(e),"next-click":e=>et(e)},N6="ElPagination";var lwe=te({name:N6,props:iwe,emits:swe,setup(e,{emit:t,slots:n}){const{t:r}=$t(),a=Ae("pagination"),o=st().vnode.props||{},i=ez(),s=R(()=>{var S;return e.small?"small":(S=e.size)!=null?S:i.value});jl({from:"small",replacement:"size",version:"3.0.0",scope:"el-pagination",ref:"https://element-plus.org/zh-CN/component/pagination.html"},R(()=>!!e.small));const l="onUpdate:currentPage"in o||"onUpdate:current-page"in o||"onCurrentChange"in o,u="onUpdate:pageSize"in o||"onUpdate:page-size"in o||"onSizeChange"in o,c=R(()=>{if(Jr(e.total)&&Jr(e.pageCount)||!Jr(e.currentPage)&&!l)return!1;if(e.layout.includes("sizes")){if(Jr(e.pageCount)){if(!Jr(e.total)&&!Jr(e.pageSize)&&!u)return!1}else if(!u)return!1}return!0}),f=H(Jr(e.defaultPageSize)?10:e.defaultPageSize),h=H(Jr(e.defaultCurrentPage)?1:e.defaultCurrentPage),d=R({get(){return Jr(e.pageSize)?f.value:e.pageSize},set(S){Jr(e.pageSize)&&(f.value=S),u&&(t("update:page-size",S),t("size-change",S))}}),p=R(()=>{let S=0;return Jr(e.pageCount)?Jr(e.total)||(S=Math.max(1,Math.ceil(e.total/d.value))):S=e.pageCount,S}),v=R({get(){return Jr(e.currentPage)?h.value:e.currentPage},set(S){let C=S;S<1?C=1:S>p.value&&(C=p.value),Jr(e.currentPage)&&(h.value=C),l&&(t("update:current-page",C),t("current-change",C))}});xe(p,S=>{v.value>S&&(v.value=S)}),xe([v,d],S=>{t("change",...S)},{flush:"post"});function g(S){v.value=S}function m(S){d.value=S;const C=p.value;v.value>C&&(v.value=C)}function w(){e.disabled||(v.value-=1,t("prev-click",v.value))}function _(){e.disabled||(v.value+=1,t("next-click",v.value))}function b(S,C){S&&(S.props||(S.props={}),S.props.class=[S.props.class,C].join(" "))}return kt(aW,{pageCount:p,disabled:R(()=>e.disabled),currentPage:v,changeEvent:g,handleSizeChange:m}),()=>{var S,C;if(!c.value)return r("el.pagination.deprecationWarning"),null;if(!e.layout||e.hideOnSinglePage&&p.value<=1)return null;const T=[],x=[],E=We("div",{class:a.e("rightwrapper")},x),k={prev:We(C_e,{disabled:e.disabled,currentPage:v.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:w}),jumper:We(Z_e,{size:s.value}),pager:We(owe,{currentPage:v.value,pageCount:p.value,pagerCount:e.pagerCount,onChange:g,disabled:e.disabled}),next:We(k_e,{disabled:e.disabled,currentPage:v.value,pageCount:p.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:_}),sizes:We(G_e,{pageSize:d.value,pageSizes:e.pageSizes,popperClass:e.popperClass,disabled:e.disabled,teleported:e.teleported,size:s.value,appendSizeTo:e.appendSizeTo}),slot:(C=(S=n==null?void 0:n.default)==null?void 0:S.call(n))!=null?C:null,total:We(twe,{total:Jr(e.total)?0:e.total})},A=e.layout.split(",").map($=>$.trim());let P=!1;return A.forEach($=>{if($==="->"){P=!0;return}P?x.push(k[$]):T.push(k[$])}),b(T[0],a.is("first")),b(T[T.length-1],a.is("last")),P&&x.length>0&&(b(x[0],a.is("first")),b(x[x.length-1],a.is("last")),T.push(E)),We("div",{class:[a.b(),a.is("background",e.background),a.m(s.value)]},T)}}});const sW=pt(lwe),uwe=Ie({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:Ix,default:"primary"},cancelButtonType:{type:String,values:Ix,default:"text"},icon:{type:cn,default:()=>Yue},iconColor:{type:String,default:"#f90"},hideIcon:{type:Boolean,default:!1},hideAfter:{type:Number,default:200},teleported:fr.teleported,persistent:fr.persistent,width:{type:[String,Number],default:150}}),cwe={confirm:e=>e instanceof MouseEvent,cancel:e=>e instanceof MouseEvent},fwe=te({name:"ElPopconfirm"}),dwe=te(_e(X({},fwe),{props:uwe,emits:cwe,setup(e,{emit:t}){const n=e,{t:r}=$t(),a=Ae("popconfirm"),o=H(),i=()=>{var h,d;(d=(h=o.value)==null?void 0:h.onClose)==null||d.call(h)},s=R(()=>({width:Vn(n.width)})),l=h=>{t("confirm",h),i()},u=h=>{t("cancel",h),i()},c=R(()=>n.confirmButtonText||r("el.popconfirm.confirmButtonText")),f=R(()=>n.cancelButtonText||r("el.popconfirm.cancelButtonText"));return(h,d)=>(N(),ye(y(Kr),Et({ref_key:"tooltipRef",ref:o,trigger:"click",effect:"light"},h.$attrs,{"popper-class":`${y(a).namespace.value}-popover`,"popper-style":y(s),teleported:h.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":h.hideAfter,persistent:h.persistent}),{content:le(()=>[Z("div",{class:F(y(a).b())},[Z("div",{class:F(y(a).e("main"))},[!h.hideIcon&&h.icon?(N(),ye(y(Ke),{key:0,class:F(y(a).e("icon")),style:Xe({color:h.iconColor})},{default:le(()=>[(N(),ye(bt(h.icon)))]),_:1},8,["class","style"])):ge("v-if",!0),At(" "+Re(h.title),1)],2),Z("div",{class:F(y(a).e("action"))},[ve(h.$slots,"actions",{confirm:l,cancel:u},()=>[ee(y(mr),{size:"small",type:h.cancelButtonType==="text"?"":h.cancelButtonType,text:h.cancelButtonType==="text",onClick:u},{default:le(()=>[At(Re(y(f)),1)]),_:1},8,["type","text"]),ee(y(mr),{size:"small",type:h.confirmButtonType==="text"?"":h.confirmButtonType,text:h.confirmButtonType==="text",onClick:l},{default:le(()=>[At(Re(y(c)),1)]),_:1},8,["type","text"])])],2)],2)]),default:le(()=>[h.$slots.reference?ve(h.$slots,"reference",{key:0}):ge("v-if",!0)]),_:3},16,["popper-class","popper-style","teleported","hide-after","persistent"]))}}));var hwe=De(dwe,[["__file","popconfirm.vue"]]);const pwe=pt(hwe),vwe=Ie({trigger:sg.trigger,placement:Xy.placement,disabled:sg.disabled,visible:fr.visible,transition:fr.transition,popperOptions:Xy.popperOptions,tabindex:Xy.tabindex,content:fr.content,popperStyle:fr.popperStyle,popperClass:fr.popperClass,enterable:_e(X({},fr.enterable),{default:!0}),effect:_e(X({},fr.effect),{default:"light"}),teleported:fr.teleported,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),gwe={"update:visible":e=>hn(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},mwe="onUpdate:visible",ywe=te({name:"ElPopover"}),bwe=te(_e(X({},ywe),{props:vwe,emits:gwe,setup(e,{expose:t,emit:n}){const r=e,a=R(()=>r[mwe]),o=Ae("popover"),i=H(),s=R(()=>{var g;return(g=y(i))==null?void 0:g.popperRef}),l=R(()=>[{width:Vn(r.width)},r.popperStyle]),u=R(()=>[o.b(),r.popperClass,{[o.m("plain")]:!!r.content}]),c=R(()=>r.transition===`${o.namespace.value}-fade-in-linear`),f=()=>{var g;(g=i.value)==null||g.hide()},h=()=>{n("before-enter")},d=()=>{n("before-leave")},p=()=>{n("after-enter")},v=()=>{n("update:visible",!1),n("after-leave")};return t({popperRef:s,hide:f}),(g,m)=>(N(),ye(y(Kr),Et({ref_key:"tooltipRef",ref:i},g.$attrs,{trigger:g.trigger,placement:g.placement,disabled:g.disabled,visible:g.visible,transition:g.transition,"popper-options":g.popperOptions,tabindex:g.tabindex,content:g.content,offset:g.offset,"show-after":g.showAfter,"hide-after":g.hideAfter,"auto-close":g.autoClose,"show-arrow":g.showArrow,"aria-label":g.title,effect:g.effect,enterable:g.enterable,"popper-class":y(u),"popper-style":y(l),teleported:g.teleported,persistent:g.persistent,"gpu-acceleration":y(c),"onUpdate:visible":y(a),onBeforeShow:h,onBeforeHide:d,onShow:p,onHide:v}),{content:le(()=>[g.title?(N(),q("div",{key:0,class:F(y(o).e("title")),role:"title"},Re(g.title),3)):ge("v-if",!0),ve(g.$slots,"default",{},()=>[At(Re(g.content),1)])]),default:le(()=>[g.$slots.reference?ve(g.$slots,"reference",{key:0}):ge("v-if",!0)]),_:3},16,["trigger","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","persistent","gpu-acceleration","onUpdate:visible"]))}}));var _we=De(bwe,[["__file","popover.vue"]]);const B6=(e,t)=>{const n=t.arg||t.value,r=n==null?void 0:n.popperRef;r&&(r.triggerRef=e)};var wwe={mounted(e,t){B6(e,t)},updated(e,t){B6(e,t)}};const Swe="popover",lW=rue(wwe,Swe),Cwe=pt(_we,{directive:lW}),Twe=Ie({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:e=>e>=0&&e<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:ce(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:ce([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:ce(Function),default:e=>`${e}%`}}),xwe=te({name:"ElProgress"}),Ewe=te(_e(X({},xwe),{props:Twe,setup(e){const t=e,n={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},r=Ae("progress"),a=R(()=>{const _={width:`${t.percentage}%`,animationDuration:`${t.duration}s`},b=w(t.percentage);return b.includes("gradient")?_.background=b:_.backgroundColor=b,_}),o=R(()=>(t.strokeWidth/t.width*100).toFixed(1)),i=R(()=>["circle","dashboard"].includes(t.type)?Number.parseInt(`${50-Number.parseFloat(o.value)/2}`,10):0),s=R(()=>{const _=i.value,b=t.type==="dashboard";return` + M 50 50 + m 0 ${b?"":"-"}${_} + a ${_} ${_} 0 1 1 0 ${b?"-":""}${_*2} + a ${_} ${_} 0 1 1 0 ${b?"":"-"}${_*2} + `}),l=R(()=>2*Math.PI*i.value),u=R(()=>t.type==="dashboard"?.75:1),c=R(()=>`${-1*l.value*(1-u.value)/2}px`),f=R(()=>({strokeDasharray:`${l.value*u.value}px, ${l.value}px`,strokeDashoffset:c.value})),h=R(()=>({strokeDasharray:`${l.value*u.value*(t.percentage/100)}px, ${l.value}px`,strokeDashoffset:c.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),d=R(()=>{let _;return t.color?_=w(t.percentage):_=n[t.status]||n.default,_}),p=R(()=>t.status==="warning"?X_:t.type==="line"?t.status==="success"?R3:bu:t.status==="success"?ym:gi),v=R(()=>t.type==="line"?12+t.strokeWidth*.4:t.width*.111111+2),g=R(()=>t.format(t.percentage));function m(_){const b=100/_.length;return _.map((C,T)=>Ze(C)?{color:C,percentage:(T+1)*b}:C).sort((C,T)=>C.percentage-T.percentage)}const w=_=>{var b;const{color:S}=t;if(Ge(S))return S(_);if(Ze(S))return S;{const C=m(S);for(const T of C)if(T.percentage>_)return T.color;return(b=C[C.length-1])==null?void 0:b.color}};return(_,b)=>(N(),q("div",{class:F([y(r).b(),y(r).m(_.type),y(r).is(_.status),{[y(r).m("without-text")]:!_.showText,[y(r).m("text-inside")]:_.textInside}]),role:"progressbar","aria-valuenow":_.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[_.type==="line"?(N(),q("div",{key:0,class:F(y(r).b("bar"))},[Z("div",{class:F(y(r).be("bar","outer")),style:Xe({height:`${_.strokeWidth}px`})},[Z("div",{class:F([y(r).be("bar","inner"),{[y(r).bem("bar","inner","indeterminate")]:_.indeterminate},{[y(r).bem("bar","inner","striped")]:_.striped},{[y(r).bem("bar","inner","striped-flow")]:_.stripedFlow}]),style:Xe(y(a))},[(_.showText||_.$slots.default)&&_.textInside?(N(),q("div",{key:0,class:F(y(r).be("bar","innerText"))},[ve(_.$slots,"default",{percentage:_.percentage},()=>[Z("span",null,Re(y(g)),1)])],2)):ge("v-if",!0)],6)],6)],2)):(N(),q("div",{key:1,class:F(y(r).b("circle")),style:Xe({height:`${_.width}px`,width:`${_.width}px`})},[(N(),q("svg",{viewBox:"0 0 100 100"},[Z("path",{class:F(y(r).be("circle","track")),d:y(s),stroke:`var(${y(r).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":_.strokeLinecap,"stroke-width":y(o),fill:"none",style:Xe(y(f))},null,14,["d","stroke","stroke-linecap","stroke-width"]),Z("path",{class:F(y(r).be("circle","path")),d:y(s),stroke:y(d),fill:"none",opacity:_.percentage?1:0,"stroke-linecap":_.strokeLinecap,"stroke-width":y(o),style:Xe(y(h))},null,14,["d","stroke","opacity","stroke-linecap","stroke-width"])]))],6)),(_.showText||_.$slots.default)&&!_.textInside?(N(),q("div",{key:2,class:F(y(r).e("text")),style:Xe({fontSize:`${y(v)}px`})},[ve(_.$slots,"default",{percentage:_.percentage},()=>[_.status?(N(),ye(y(Ke),{key:1},{default:le(()=>[(N(),ye(bt(y(p))))]),_:1})):(N(),q("span",{key:0},Re(y(g)),1))])],6)):ge("v-if",!0)],10,["aria-valuenow"]))}}));var kwe=De(Ewe,[["__file","progress.vue"]]);const uW=pt(kwe),Awe=Ie(X({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:ce([Array,Object]),default:()=>In(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:ce([Array,Object]),default:()=>[y0,y0,y0]},voidIcon:{type:cn,default:()=>cce},disabledVoidIcon:{type:cn,default:()=>y0},disabled:Boolean,allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:ce(Array),default:()=>In(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:or,clearable:Boolean},Pr(["ariaLabel"]))),Mwe={[Sn]:e=>et(e),[St]:e=>et(e)},Owe=te({name:"ElRate"}),Pwe=te(_e(X({},Owe),{props:Awe,emits:Mwe,setup(e,{expose:t,emit:n}){const r=e;function a(M,L){const O=V=>_t(V),D=Object.keys(L).map(V=>+V).filter(V=>{const j=L[V];return(O(j)?j.excluded:!1)?MV-j),z=L[D[0]];return O(z)&&z.value||z}const o=ze(Sf,void 0),i=ze(cs,void 0),s=Jn(),l=Ae("rate"),{inputId:u,isLabeledByFormItem:c}=Ti(r,{formItemContext:i}),f=H(r.modelValue),h=H(-1),d=H(!0),p=R(()=>[l.b(),l.m(s.value)]),v=R(()=>r.disabled||(o==null?void 0:o.disabled)),g=R(()=>l.cssVarBlock({"void-color":r.voidColor,"disabled-void-color":r.disabledVoidColor,"fill-color":b.value})),m=R(()=>{let M="";return r.showScore?M=r.scoreTemplate.replace(/\{\s*value\s*\}/,v.value?`${r.modelValue}`:`${f.value}`):r.showText&&(M=r.texts[Math.ceil(f.value)-1]),M}),w=R(()=>r.modelValue*100-Math.floor(r.modelValue)*100),_=R(()=>Me(r.colors)?{[r.lowThreshold]:r.colors[0],[r.highThreshold]:{value:r.colors[1],excluded:!0},[r.max]:r.colors[2]}:r.colors),b=R(()=>{const M=a(f.value,_.value);return _t(M)?"":M}),S=R(()=>{let M="";return v.value?M=`${w.value}%`:r.allowHalf&&(M="50%"),{color:b.value,width:M}}),C=R(()=>{let M=Me(r.icons)?[...r.icons]:X({},r.icons);return M=ui(M),Me(M)?{[r.lowThreshold]:M[0],[r.highThreshold]:{value:M[1],excluded:!0},[r.max]:M[2]}:M}),T=R(()=>a(r.modelValue,C.value)),x=R(()=>v.value?Ze(r.disabledVoidIcon)?r.disabledVoidIcon:ui(r.disabledVoidIcon):Ze(r.voidIcon)?r.voidIcon:ui(r.voidIcon)),E=R(()=>a(f.value,C.value));function k(M){const L=v.value&&w.value>0&&M-1r.modelValue,O=r.allowHalf&&d.value&&M-.5<=f.value&&M>f.value;return L||O}function A(M){r.clearable&&M===r.modelValue&&(M=0),n(St,M),r.modelValue!==M&&n("change",M)}function P(M){v.value||(r.allowHalf&&d.value?A(f.value):A(M))}function $(M){if(v.value)return;let L=f.value;const O=M.code;return O===Ue.up||O===Ue.right?(r.allowHalf?L+=.5:L+=1,M.stopPropagation(),M.preventDefault()):(O===Ue.left||O===Ue.down)&&(r.allowHalf?L-=.5:L-=1,M.stopPropagation(),M.preventDefault()),L=L<0?0:L,L=L>r.max?r.max:L,n(St,L),n("change",L),L}function B(M,L){if(!v.value){if(r.allowHalf&&L){let O=L.target;Ra(O,l.e("item"))&&(O=O.querySelector(`.${l.e("icon")}`)),(O.clientWidth===0||Ra(O,l.e("decimal")))&&(O=O.parentNode),d.value=L.offsetX*2<=O.clientWidth,f.value=d.value?M-.5:M}else f.value=M;h.value=M}}function I(){v.value||(r.allowHalf&&(d.value=r.modelValue!==Math.floor(r.modelValue)),f.value=r.modelValue,h.value=-1)}return xe(()=>r.modelValue,M=>{f.value=M,d.value=r.modelValue!==Math.floor(r.modelValue)}),r.modelValue||n(St,0),t({setCurrentValue:B,resetCurrentValue:I}),(M,L)=>{var O;return N(),q("div",{id:y(u),class:F([y(p),y(l).is("disabled",y(v))]),role:"slider","aria-label":y(c)?void 0:M.ariaLabel||"rating","aria-labelledby":y(c)?(O=y(i))==null?void 0:O.labelId:void 0,"aria-valuenow":f.value,"aria-valuetext":y(m)||void 0,"aria-valuemin":"0","aria-valuemax":M.max,tabindex:"0",style:Xe(y(g)),onKeydown:$},[(N(!0),q(je,null,Rt(M.max,(D,z)=>(N(),q("span",{key:z,class:F(y(l).e("item")),onMousemove:V=>B(D,V),onMouseleave:I,onClick:V=>P(D)},[ee(y(Ke),{class:F([y(l).e("icon"),{hover:h.value===D},y(l).is("active",D<=f.value)])},{default:le(()=>[k(D)?ge("v-if",!0):(N(),q(je,{key:0},[vt((N(),ye(bt(y(E)),null,null,512)),[[Wt,D<=f.value]]),vt((N(),ye(bt(y(x)),null,null,512)),[[Wt,!(D<=f.value)]])],64)),k(D)?(N(),q(je,{key:1},[(N(),ye(bt(y(x)),{class:F([y(l).em("decimal","box")])},null,8,["class"])),ee(y(Ke),{style:Xe(y(S)),class:F([y(l).e("icon"),y(l).e("decimal")])},{default:le(()=>[(N(),ye(bt(y(T))))]),_:1},8,["style","class"])],64)):ge("v-if",!0)]),_:2},1032,["class"])],42,["onMousemove","onClick"]))),128)),M.showText||M.showScore?(N(),q("span",{key:0,class:F(y(l).e("text")),style:Xe({color:M.textColor})},Re(y(m)),7)):ge("v-if",!0)],46,["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"])}}}));var Rwe=De(Pwe,[["__file","rate.vue"]]);const Iwe=pt(Rwe),pd={success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},F6={[pd.success]:Sue,[pd.warning]:X_,[pd.error]:I3,[pd.info]:D3},Dwe=Ie({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{type:String,values:["success","warning","info","error"],default:"info"}}),Lwe=te({name:"ElResult"}),$we=te(_e(X({},Lwe),{props:Dwe,setup(e){const t=e,n=Ae("result"),r=R(()=>{const a=t.icon,o=a&&pd[a]?pd[a]:"icon-info",i=F6[o]||F6["icon-info"];return{class:o,component:i}});return(a,o)=>(N(),q("div",{class:F(y(n).b())},[Z("div",{class:F(y(n).e("icon"))},[ve(a.$slots,"icon",{},()=>[y(r).component?(N(),ye(bt(y(r).component),{key:0,class:F(y(r).class)},null,8,["class"])):ge("v-if",!0)])],2),a.title||a.$slots.title?(N(),q("div",{key:0,class:F(y(n).e("title"))},[ve(a.$slots,"title",{},()=>[Z("p",null,Re(a.title),1)])],2)):ge("v-if",!0),a.subTitle||a.$slots["sub-title"]?(N(),q("div",{key:1,class:F(y(n).e("subtitle"))},[ve(a.$slots,"sub-title",{},()=>[Z("p",null,Re(a.subTitle),1)])],2)):ge("v-if",!0),a.$slots.extra?(N(),q("div",{key:2,class:F(y(n).e("extra"))},[ve(a.$slots,"extra")],2)):ge("v-if",!0)],2))}}));var Nwe=De($we,[["__file","result.vue"]]);const Bwe=pt(Nwe),Fwe=["start","center","end","space-around","space-between","space-evenly"],Vwe=["top","middle","bottom"],zwe=Ie({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:Fwe,default:"start"},align:{type:String,values:Vwe}}),Hwe=te({name:"ElRow"}),Wwe=te(_e(X({},Hwe),{props:zwe,setup(e){const t=e,n=Ae("row"),r=R(()=>t.gutter);kt(vH,{gutter:r});const a=R(()=>{const i={};return t.gutter&&(i.marginRight=i.marginLeft=`-${t.gutter/2}px`),i}),o=R(()=>[n.b(),n.is(`justify-${t.justify}`,t.justify!=="start"),n.is(`align-${t.align}`,!!t.align)]);return(i,s)=>(N(),ye(bt(i.tag),{class:F(y(o)),style:Xe(y(a))},{default:le(()=>[ve(i.$slots,"default")]),_:3},8,["class","style"]))}}));var Uwe=De(Wwe,[["__file","row.vue"]]);const jwe=pt(Uwe),Kwe=te({props:{item:{type:Object,required:!0},style:{type:Object},height:Number},setup(){return{ns:Ae("select")}}});function Gwe(e,t,n,r,a,o){return N(),q("div",{class:F(e.ns.be("group","title")),style:Xe(_e(X({},e.style),{lineHeight:`${e.height}px`}))},Re(e.item.label),7)}var qwe=De(Kwe,[["render",Gwe],["__file","group-item.vue"]]);function Ywe(e,{emit:t}){return{hoverItem:()=>{e.disabled||t("hover",e.index)},selectOptionClick:()=>{e.disabled||t("select",e.item,e.index)}}}const cW={label:"label",value:"value",disabled:"disabled",options:"options"};function ow(e){const t=R(()=>X(X({},cW),e.props));return{aliasProps:t,getLabel:i=>Gn(i,t.value.label),getValue:i=>Gn(i,t.value.value),getDisabled:i=>Gn(i,t.value.disabled),getOptions:i=>Gn(i,t.value.options)}}const Xwe=Ie(X(X({allowCreate:Boolean,autocomplete:{type:ce(String),default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:cn,default:bu},effect:{type:ce(String),default:"light"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:Boolean,estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:Function,height:{type:Number,default:274},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,modelValue:{type:ce([Array,String,Number,Boolean,Object])},multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:Function,reserveKeyword:{type:Boolean,default:!0},options:{type:ce(Array),required:!0},placeholder:{type:String},teleported:fr.teleported,persistent:{type:Boolean,default:!0},popperClass:{type:String,default:""},popperOptions:{type:ce(Object),default:()=>({})},remote:Boolean,size:or,props:{type:ce(Object),default:()=>cW},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:Boolean,validateEvent:{type:Boolean,default:!0},offset:{type:Number,default:12},showArrow:{type:Boolean,default:!0},placement:{type:ce(String),values:rl,default:"bottom-start"},fallbackPlacements:{type:ce(Array),default:["bottom-start","top-start","right","left"]},tagType:_e(X({},nf.type),{default:"info"}),tagEffect:_e(X({},nf.effect),{default:"light"}),tabindex:{type:[String,Number],default:0},appendTo:String},Hh),Pr(["ariaLabel"]))),Zwe=Ie({data:Array,disabled:Boolean,hovering:Boolean,item:{type:ce(Object),required:!0},index:Number,style:Object,selected:Boolean,created:Boolean}),Jwe={[St]:e=>!0,[Sn]:e=>!0,"remove-tag":e=>!0,"visible-change":e=>!0,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0},Qwe={hover:e=>et(e),select:(e,t)=>!0},w5=Symbol("ElSelectV2Injection"),eSe=te({props:Zwe,emits:Qwe,setup(e,{emit:t}){const n=ze(w5),r=Ae("select"),{hoverItem:a,selectOptionClick:o}=Ywe(e,{emit:t}),{getLabel:i}=ow(n.props);return{ns:r,hoverItem:a,selectOptionClick:o,getLabel:i}}});function tSe(e,t,n,r,a,o){return N(),q("li",{"aria-selected":e.selected,style:Xe(e.style),class:F([e.ns.be("dropdown","item"),e.ns.is("selected",e.selected),e.ns.is("disabled",e.disabled),e.ns.is("created",e.created),e.ns.is("hovering",e.hovering)]),onMousemove:e.hoverItem,onClick:nt(e.selectOptionClick,["stop"])},[ve(e.$slots,"default",{item:e.item,index:e.index,disabled:e.disabled},()=>[Z("span",null,Re(e.getLabel(e.item)),1)])],46,["aria-selected","onMousemove","onClick"])}var nSe=De(eSe,[["render",tSe],["__file","option-item.vue"]]),V6=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function rSe(e,t){return!!(e===t||V6(e)&&V6(t))}function aSe(e,t){if(e.length!==t.length)return!1;for(var n=0;n{const t=st().proxy.$props;return R(()=>{const n=(r,a,o)=>({});return t.perfMode?W_(n):oSe(n)})},eE=50,lb="itemRendered",ub="scroll",vd="forward",cb="backward",To="auto",iw="smart",dg="start",Qi="center",hg="end",fh="horizontal",S5="vertical",iSe="ltr",Id="rtl",pg="negative",C5="positive-ascending",T5="positive-descending",sSe={[fh]:"left",[S5]:"top"},lSe=20,uSe={[fh]:"deltaX",[S5]:"deltaY"},cSe=({atEndEdge:e,atStartEdge:t,layout:n},r)=>{let a,o=0;const i=l=>l<0&&t.value||l>0&&e.value;return{hasReachedEdge:i,onWheel:l=>{tf(a);const u=l[uSe[n.value]];i(o)&&i(o+u)||(o+=u,B3()||l.preventDefault(),a=ou(()=>{r(o),o=0}))}}},tE=Ci({type:ce([Number,Function]),required:!0}),nE=Ci({type:Number}),rE=Ci({type:Number,default:2}),fSe=Ci({type:String,values:["ltr","rtl"],default:"ltr"}),aE=Ci({type:Number,default:0}),fb=Ci({type:Number,required:!0}),dW=Ci({type:String,values:["horizontal","vertical"],default:S5}),hW=Ie({className:{type:String,default:""},containerElement:{type:ce([String,Object]),default:"div"},data:{type:ce(Array),default:()=>In([])},direction:fSe,height:{type:[String,Number],required:!0},innerElement:{type:[String,Object],default:"div"},style:{type:ce([Object,String,Array])},useIsScrolling:{type:Boolean,default:!1},width:{type:[Number,String],required:!1},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:{type:Boolean,default:!1}}),pW=Ie(X({cache:rE,estimatedItemSize:nE,layout:dW,initScrollOffset:aE,total:fb,itemSize:tE},hW)),oE={type:Number,default:6},vW={type:Number,default:0},gW={type:Number,default:2},Ic=Ie(X({columnCache:rE,columnWidth:tE,estimatedColumnWidth:nE,estimatedRowHeight:nE,initScrollLeft:aE,initScrollTop:aE,itemKey:{type:ce(Function),default:({columnIndex:e,rowIndex:t})=>`${t}:${e}`},rowCache:rE,rowHeight:tE,totalColumn:fb,totalRow:fb,hScrollbarSize:oE,vScrollbarSize:oE,scrollbarStartGap:vW,scrollbarEndGap:gW,role:String},hW)),mW=Ie({alwaysOn:Boolean,class:String,layout:dW,total:fb,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize:oE,startGap:vW,endGap:gW,visible:Boolean}),gc=(e,t)=>ee===iSe||e===Id||e===fh,z6=e=>e===Id;let $f=null;function db(e=!1){if($f===null||e){const t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";const r=document.createElement("div"),a=r.style;return a.width="100px",a.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?$f=T5:(t.scrollLeft=1,t.scrollLeft===0?$f=pg:$f=C5),document.body.removeChild(t),$f}return $f}function dSe({move:e,size:t,bar:n},r){const a={},o=`translate${n.axis}(${e}px)`;return a[n.size]=t,a.transform=o,a.msTransform=o,a.webkitTransform=o,r==="horizontal"?a.height="100%":a.width="100%",a}const iE=te({name:"ElVirtualScrollBar",props:mW,emits:["scroll","start-move","stop-move"],setup(e,{emit:t}){const n=R(()=>e.startGap+e.endGap),r=Ae("virtual-scrollbar"),a=Ae("scrollbar"),o=H(),i=H();let s=null,l=null;const u=zt({isDragging:!1,traveled:0}),c=R(()=>pz[e.layout]),f=R(()=>e.clientSize-y(n)),h=R(()=>({position:"absolute",width:`${fh===e.layout?f.value:e.scrollbarSize}px`,height:`${fh===e.layout?e.scrollbarSize:f.value}px`,[sSe[e.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),d=R(()=>{const C=e.ratio,T=e.clientSize;if(C>=100)return Number.POSITIVE_INFINITY;if(C>=50)return C*T/100;const x=T/3;return Math.floor(Math.min(Math.max(C*T,lSe),x))}),p=R(()=>{if(!Number.isFinite(d.value))return{display:"none"};const C=`${d.value}px`;return dSe({bar:c.value,size:C,move:u.traveled},e.layout)}),v=R(()=>Math.floor(e.clientSize-d.value-y(n))),g=()=>{window.addEventListener("mousemove",b),window.addEventListener("mouseup",_);const C=y(i);C&&(l=document.onselectstart,document.onselectstart=()=>!1,C.addEventListener("touchmove",b,{passive:!0}),C.addEventListener("touchend",_))},m=()=>{window.removeEventListener("mousemove",b),window.removeEventListener("mouseup",_),document.onselectstart=l,l=null;const C=y(i);C&&(C.removeEventListener("touchmove",b),C.removeEventListener("touchend",_))},w=C=>{C.stopImmediatePropagation(),!(C.ctrlKey||[1,2].includes(C.button))&&(u.isDragging=!0,u[c.value.axis]=C.currentTarget[c.value.offset]-(C[c.value.client]-C.currentTarget.getBoundingClientRect()[c.value.direction]),t("start-move"),g())},_=()=>{u.isDragging=!1,u[c.value.axis]=0,t("stop-move"),m()},b=C=>{const{isDragging:T}=u;if(!T||!i.value||!o.value)return;const x=u[c.value.axis];if(!x)return;tf(s);const E=(o.value.getBoundingClientRect()[c.value.direction]-C[c.value.client])*-1,k=i.value[c.value.offset]-x,A=E-k;s=ou(()=>{u.traveled=Math.max(e.startGap,Math.min(A,v.value)),t("scroll",A,v.value)})},S=C=>{const T=Math.abs(C.target.getBoundingClientRect()[c.value.direction]-C[c.value.client]),x=i.value[c.value.offset]/2,E=T-x;u.traveled=Math.max(0,Math.min(E,v.value)),t("scroll",E,v.value)};return xe(()=>e.scrollFrom,C=>{u.isDragging||(u.traveled=Math.ceil(C*v.value))}),fn(()=>{m()}),()=>We("div",{role:"presentation",ref:o,class:[r.b(),e.class,(e.alwaysOn||u.isDragging)&&"always-on"],style:h.value,onMousedown:nt(S,["stop","prevent"]),onTouchstartPrevent:w},We("div",{ref:i,class:a.e("thumb"),style:p.value,onMousedown:w},[]))}}),yW=({name:e,getOffset:t,getItemSize:n,getItemOffset:r,getEstimatedTotalSize:a,getStartIndexForOffset:o,getStopIndexForStartIndex:i,initCache:s,clearCache:l,validateProps:u})=>te({name:e!=null?e:"ElVirtualList",props:pW,emits:[lb,ub],setup(c,{emit:f,expose:h}){u(c);const d=st(),p=Ae("vl"),v=H(s(c,d)),g=fW(),m=H(),w=H(),_=H(),b=H({isScrolling:!1,scrollDir:"forward",scrollOffset:et(c.initScrollOffset)?c.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:c.scrollbarAlwaysOn}),S=R(()=>{const{total:U,cache:ne}=c,{isScrolling:ie,scrollDir:fe,scrollOffset:G}=y(b);if(U===0)return[0,0,0,0];const oe=o(c,G,y(v)),se=i(c,oe,G,y(v)),ue=!ie||fe===cb?Math.max(1,ne):1,he=!ie||fe===vd?Math.max(1,ne):1;return[Math.max(0,oe-ue),Math.max(0,Math.min(U-1,se+he)),oe,se]}),C=R(()=>a(c,y(v))),T=R(()=>vg(c.layout)),x=R(()=>[{position:"relative",[`overflow-${T.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:c.direction,height:et(c.height)?`${c.height}px`:c.height,width:et(c.width)?`${c.width}px`:c.width},c.style]),E=R(()=>{const U=y(C),ne=y(T);return{height:ne?"100%":`${U}px`,pointerEvents:y(b).isScrolling?"none":void 0,width:ne?`${U}px`:"100%"}}),k=R(()=>T.value?c.width:c.height),{onWheel:A}=cSe({atStartEdge:R(()=>b.value.scrollOffset<=0),atEndEdge:R(()=>b.value.scrollOffset>=C.value),layout:R(()=>c.layout)},U=>{var ne,ie;(ie=(ne=_.value).onMouseUp)==null||ie.call(ne),L(Math.min(b.value.scrollOffset+U,C.value-k.value))});sn(m,"wheel",A,{passive:!1});const P=()=>{const{total:U}=c;if(U>0){const[G,oe,se,ue]=y(S);f(lb,G,oe,se,ue)}const{scrollDir:ne,scrollOffset:ie,updateRequested:fe}=y(b);f(ub,ne,ie,fe)},$=U=>{const{clientHeight:ne,scrollHeight:ie,scrollTop:fe}=U.currentTarget,G=y(b);if(G.scrollOffset===fe)return;const oe=Math.max(0,Math.min(fe,ie-ne));b.value=_e(X({},G),{isScrolling:!0,scrollDir:gc(G.scrollOffset,oe),scrollOffset:oe,updateRequested:!1}),qe(z)},B=U=>{const{clientWidth:ne,scrollLeft:ie,scrollWidth:fe}=U.currentTarget,G=y(b);if(G.scrollOffset===ie)return;const{direction:oe}=c;let se=ie;if(oe===Id)switch(db()){case pg:{se=-ie;break}case T5:{se=fe-ne-ie;break}}se=Math.max(0,Math.min(se,fe-ne)),b.value=_e(X({},G),{isScrolling:!0,scrollDir:gc(G.scrollOffset,se),scrollOffset:se,updateRequested:!1}),qe(z)},I=U=>{y(T)?B(U):$(U),P()},M=(U,ne)=>{const ie=(C.value-k.value)/ne*U;L(Math.min(C.value-k.value,ie))},L=U=>{U=Math.max(U,0),U!==y(b).scrollOffset&&(b.value=_e(X({},y(b)),{scrollOffset:U,scrollDir:gc(y(b).scrollOffset,U),updateRequested:!0}),qe(z))},O=(U,ne=To)=>{const{scrollOffset:ie}=y(b);U=Math.max(0,Math.min(U,c.total-1)),L(t(c,U,ne,ie,y(v)))},D=U=>{const{direction:ne,itemSize:ie,layout:fe}=c,G=g.value(l&&ie,l&&fe,l&&ne);let oe;if(Vt(G,String(U)))oe=G[U];else{const se=r(c,U,y(v)),ue=n(c,U,y(v)),he=y(T),ae=ne===Id,K=he?se:0;G[U]=oe={position:"absolute",left:ae?void 0:`${K}px`,right:ae?`${K}px`:void 0,top:he?0:`${se}px`,height:he?"100%":`${ue}px`,width:he?`${ue}px`:"100%"}}return oe},z=()=>{b.value.isScrolling=!1,qe(()=>{g.value(-1,null,null)})},V=()=>{const U=m.value;U&&(U.scrollTop=0)};ft(()=>{if(!Bt)return;const{initScrollOffset:U}=c,ne=y(m);et(U)&&ne&&(y(T)?ne.scrollLeft=U:ne.scrollTop=U),P()}),oo(()=>{const{direction:U,layout:ne}=c,{scrollOffset:ie,updateRequested:fe}=y(b),G=y(m);if(fe&&G)if(ne===fh)if(U===Id)switch(db()){case pg:{G.scrollLeft=-ie;break}case C5:{G.scrollLeft=ie;break}default:{const{clientWidth:oe,scrollWidth:se}=G;G.scrollLeft=se-oe-ie;break}}else G.scrollLeft=ie;else G.scrollTop=ie}),I_(()=>{y(m).scrollTop=y(b).scrollOffset});const j={ns:p,clientSize:k,estimatedTotalSize:C,windowStyle:x,windowRef:m,innerRef:w,innerStyle:E,itemsToRender:S,scrollbarRef:_,states:b,getItemStyle:D,onScroll:I,onScrollbarScroll:M,onWheel:A,scrollTo:L,scrollToItem:O,resetScrollTop:V};return h({windowRef:m,innerRef:w,getItemStyleCache:g,scrollTo:L,scrollToItem:O,resetScrollTop:V,states:b}),j},render(c){var f;const{$slots:h,className:d,clientSize:p,containerElement:v,data:g,getItemStyle:m,innerElement:w,itemsToRender:_,innerStyle:b,layout:S,total:C,onScroll:T,onScrollbarScroll:x,states:E,useIsScrolling:k,windowStyle:A,ns:P}=c,[$,B]=_,I=bt(v),M=bt(w),L=[];if(C>0)for(let V=$;V<=B;V++)L.push(We(je,{key:V},(f=h.default)==null?void 0:f.call(h,{data:g,index:V,isScrolling:k?E.isScrolling:void 0,style:m(V)})));const O=[We(M,{style:b,ref:"innerRef"},Ze(M)?L:{default:()=>L})],D=We(iE,{ref:"scrollbarRef",clientSize:p,layout:S,onScroll:x,ratio:p*100/this.estimatedTotalSize,scrollFrom:E.scrollOffset/(this.estimatedTotalSize-p),total:C}),z=We(I,{class:[P.e("window"),d],style:A,onScroll:T,ref:"windowRef",key:0},Ze(I)?[O]:{default:()=>[O]});return We("div",{key:0,class:[P.e("wrapper"),E.scrollbarAlwaysOn?"always-on":""]},[z,D])}}),bW=yW({name:"ElFixedSizeList",getItemOffset:({itemSize:e},t)=>t*e,getItemSize:({itemSize:e})=>e,getEstimatedTotalSize:({total:e,itemSize:t})=>t*e,getOffset:({height:e,total:t,itemSize:n,layout:r,width:a},o,i,s)=>{const l=vg(r)?a:e,u=Math.max(0,t*n-l),c=Math.min(u,o*n),f=Math.max(0,(o+1)*n-l);switch(i===iw&&(s>=f-l&&s<=c+l?i=To:i=Qi),i){case dg:return c;case hg:return f;case Qi:{const h=Math.round(f+(c-f)/2);return hu+Math.floor(l/2)?u:h}case To:default:return s>=f&&s<=c?s:sMath.max(0,Math.min(e-1,Math.floor(n/t))),getStopIndexForStartIndex:({height:e,total:t,itemSize:n,layout:r,width:a},o,i)=>{const s=o*n,l=vg(r)?a:e,u=Math.ceil((l+i-s)/n);return Math.max(0,Math.min(t-1,o+u-1))},initCache(){},clearCache:!0,validateProps(){}}),gd=(e,t,n)=>{const{itemSize:r}=e,{items:a,lastVisitedIndex:o}=n;if(t>o){let i=0;if(o>=0){const s=a[o];i=s.offset+s.size}for(let s=o+1;s<=t;s++){const l=r(s);a[s]={offset:i,size:l},i+=l}n.lastVisitedIndex=t}return a[t]},hSe=(e,t,n)=>{const{items:r,lastVisitedIndex:a}=t;return(a>0?r[a].offset:0)>=n?_W(e,t,0,a,n):pSe(e,t,Math.max(0,a),n)},_W=(e,t,n,r,a)=>{for(;n<=r;){const o=n+Math.floor((r-n)/2),i=gd(e,o,t).offset;if(i===a)return o;ia&&(r=o-1)}return Math.max(0,n-1)},pSe=(e,t,n,r)=>{const{total:a}=e;let o=1;for(;n{let a=0;if(r>=e&&(r=e-1),r>=0){const s=t[r];a=s.offset+s.size}const i=(e-r-1)*n;return a+i},vSe=yW({name:"ElDynamicSizeList",getItemOffset:(e,t,n)=>gd(e,t,n).offset,getItemSize:(e,t,{items:n})=>n[t].size,getEstimatedTotalSize:H6,getOffset:(e,t,n,r,a)=>{const{height:o,layout:i,width:s}=e,l=vg(i)?s:o,u=gd(e,t,a),c=H6(e,a),f=Math.max(0,Math.min(c-l,u.offset)),h=Math.max(0,u.offset-l+u.size);switch(n===iw&&(r>=h-l&&r<=f+l?n=To:n=Qi),n){case dg:return f;case hg:return h;case Qi:return Math.round(h+(f-h)/2);case To:default:return r>=h&&r<=f?r:rhSe(e,n,t),getStopIndexForStartIndex:(e,t,n,r)=>{const{height:a,total:o,layout:i,width:s}=e,l=vg(i)?s:a,u=gd(e,t,r),c=n+l;let f=u.offset+u.size,h=t;for(;h{var o,i;n.lastVisitedIndex=Math.min(n.lastVisitedIndex,r-1),(o=t.exposed)==null||o.getItemStyleCache(-1),a&&((i=t.proxy)==null||i.$forceUpdate())},n},clearCache:!1,validateProps:({itemSize:e})=>{}}),gSe={loading:Boolean,data:{type:Array,required:!0},hoveringIndex:Number,width:Number};var mSe=te({name:"ElSelectDropdown",props:gSe,setup(e,{slots:t,expose:n}){const r=ze(w5),a=Ae("select"),{getLabel:o,getValue:i,getDisabled:s}=ow(r.props),l=H([]),u=H(),c=R(()=>e.data.length);xe(()=>c.value,()=>{var A,P;(P=(A=r.tooltipRef.value).updatePopper)==null||P.call(A)});const f=R(()=>_n(r.props.estimatedOptionHeight)),h=R(()=>f.value?{itemSize:r.props.itemHeight}:{estimatedSize:r.props.estimatedOptionHeight,itemSize:A=>l.value[A]}),d=(A=[],P)=>{const{props:{valueKey:$}}=r;return _t(P)?A&&A.some(B=>Xt(Gn(B,$))===Gn(P,$)):A.includes(P)},p=(A,P)=>{if(_t(P)){const{valueKey:$}=r.props;return Gn(A,$)===Gn(P,$)}else return A===P},v=(A,P)=>r.props.multiple?d(A,i(P)):p(A,i(P)),g=(A,P)=>{const{disabled:$,multiple:B,multipleLimit:I}=r.props;return $||!P&&(B?I>0&&A.length>=I:!1)},m=A=>e.hoveringIndex===A;n({listRef:u,isSized:f,isItemDisabled:g,isItemHovering:m,isItemSelected:v,scrollToItem:A=>{const P=u.value;P&&P.scrollToItem(A)},resetScrollTop:()=>{const A=u.value;A&&A.resetScrollTop()}});const S=A=>{const{index:P,data:$,style:B}=A,I=y(f),{itemSize:M,estimatedSize:L}=y(h),{modelValue:O}=r.props,{onSelect:D,onHover:z}=r,V=$[P];if(V.type==="Group")return ee(qwe,{item:V,style:B,height:I?M:L},null);const j=v(O,V),U=g(O,j),ne=m(P);return ee(nSe,Et(A,{selected:j,disabled:s(V)||U,created:!!V.created,hovering:ne,item:V,onSelect:D,onHover:z}),{default:ie=>{var fe;return((fe=t.default)==null?void 0:fe.call(t,ie))||ee("span",null,[o(V)])}})},{onKeyboardNavigate:C,onKeyboardSelect:T}=r,x=()=>{C("forward")},E=()=>{C("backward")},k=A=>{const{code:P}=A,{tab:$,esc:B,down:I,up:M,enter:L,numpadEnter:O}=Ue;switch(P!==$&&(A.preventDefault(),A.stopPropagation()),P){case $:case B:break;case I:x();break;case M:E();break;case L:case O:T();break}};return()=>{var A,P,$,B;const{data:I,width:M}=e,{height:L,multiple:O,scrollbarAlwaysOn:D}=r.props,z=y(f)?bW:vSe;return ee("div",{class:[a.b("dropdown"),a.is("multiple",O)],style:{width:`${M}px`}},[(A=t.header)==null?void 0:A.call(t),((P=t.loading)==null?void 0:P.call(t))||(($=t.empty)==null?void 0:$.call(t))||ee(z,Et({ref:u},y(h),{className:a.be("dropdown","list"),scrollbarAlwaysOn:D,data:I,height:L,width:M,total:I.length,onKeydown:k}),{default:V=>ee(S,V,null)}),(B=t.footer)==null?void 0:B.call(t)])}}});function ySe(e,t){const{aliasProps:n,getLabel:r,getValue:a}=ow(e),o=H(0),i=H(),s=R(()=>e.allowCreate&&e.filterable);function l(d){const p=v=>r(v)===d;return e.options&&e.options.some(p)||t.createdOptions.some(p)}function u(d){s.value&&(e.multiple&&d.created?o.value++:i.value=d)}function c(d){if(s.value)if(d&&d.length>0){if(l(d))return;const p={[n.value.value]:d,[n.value.label]:d,created:!0,[n.value.disabled]:!1};t.createdOptions.length>=o.value?t.createdOptions[o.value]=p:t.createdOptions.push(p)}else if(e.multiple)t.createdOptions.length=o.value;else{const p=i.value;t.createdOptions.length=0,p&&p.created&&t.createdOptions.push(p)}}function f(d){if(!s.value||!d||!d.created||d.created&&e.reserveKeyword&&t.inputValue===r(d))return;const p=t.createdOptions.findIndex(v=>a(v)===a(d));~p&&(t.createdOptions.splice(p,1),o.value--)}function h(){s.value&&(t.createdOptions.length=0,o.value=0)}return{createNewOption:c,removeNewOption:f,selectNewOption:u,clearAllNewOption:h}}const bSe=11,_Se=(e,t)=>{const{t:n}=$t(),r=Ae("select"),a=Ae("input"),{form:o,formItem:i}=qr(),{inputId:s}=Ti(e,{formItemContext:i}),{aliasProps:l,getLabel:u,getValue:c,getDisabled:f,getOptions:h}=ow(e),{valueOnClear:d,isEmptyValue:p}=G_(e),v=zt({inputValue:"",cachedOptions:[],createdOptions:[],hoveringIndex:-1,inputHovering:!1,selectionWidth:0,calculatorWidth:0,collapseItemWidth:0,previousQuery:null,previousValue:void 0,selectedLabel:"",menuVisibleOnFocus:!1,isBeforeHide:!1}),g=H(-1),m=H(),w=H(),_=H(),b=H(),S=H(),C=H(),T=H(),x=H(),E=H(),k=H(),A=H(),{isComposing:P,handleCompositionStart:$,handleCompositionEnd:B,handleCompositionUpdate:I}=J_({afterComposition:$e=>ir($e)}),{wrapperRef:M,isFocused:L,handleBlur:O}=Wh(S,{beforeFocus(){return j.value},afterFocus(){e.automaticDropdown&&!V.value&&(V.value=!0,v.menuVisibleOnFocus=!0)},beforeBlur($e){var ht,It;return((ht=_.value)==null?void 0:ht.isFocusInsideContent($e))||((It=b.value)==null?void 0:It.isFocusInsideContent($e))},afterBlur(){V.value=!1,v.menuVisibleOnFocus=!1}}),D=H([]),z=H([]),V=H(!1),j=R(()=>e.disabled||(o==null?void 0:o.disabled)),U=R(()=>{var $e;return($e=o==null?void 0:o.statusIcon)!=null?$e:!1}),ne=R(()=>{const $e=z.value.length*e.itemHeight;return $e>e.height?e.height:$e}),ie=R(()=>e.multiple?Me(e.modelValue)&&e.modelValue.length>0:!p(e.modelValue)),fe=R(()=>e.clearable&&!j.value&&v.inputHovering&&ie.value),G=R(()=>e.remote&&e.filterable?"":tl),oe=R(()=>G.value&&r.is("reverse",V.value)),se=R(()=>(i==null?void 0:i.validateState)||""),ue=R(()=>{if(se.value)return N3[se.value]}),he=R(()=>e.remote?300:0),ae=R(()=>e.loading?e.loadingText||n("el.select.loading"):e.remote&&!v.inputValue&&D.value.length===0?!1:e.filterable&&v.inputValue&&D.value.length>0&&z.value.length===0?e.noMatchText||n("el.select.noMatch"):D.value.length===0?e.noDataText||n("el.select.noData"):null),K=$e=>{const ht=It=>{if(e.filterable&&Ge(e.filterMethod)||e.filterable&&e.remote&&Ge(e.remoteMethod))return!0;const Kt=new RegExp(t5($e),"i");return $e?Kt.test(u(It)||""):!0};return e.loading?[]:[...v.createdOptions,...e.options].reduce((It,Kt)=>{const Zr=h(Kt);if(Me(Zr)){const Cs=Zr.filter(ht);Cs.length>0&&It.push({label:u(Kt),type:"Group"},...Cs)}else(e.remote||ht(Kt))&&It.push(Kt);return It},[])},Q=()=>{D.value=K(""),z.value=K(v.inputValue)},pe=R(()=>{const $e=new Map;return D.value.forEach((ht,It)=>{$e.set(Ct(c(ht)),{option:ht,index:It})}),$e}),we=R(()=>{const $e=new Map;return z.value.forEach((ht,It)=>{$e.set(Ct(c(ht)),{option:ht,index:It})}),$e}),me=R(()=>z.value.every($e=>f($e))),be=Jn(),Ce=R(()=>be.value==="small"?"small":"default"),ke=()=>{var $e;g.value=(($e=m.value)==null?void 0:$e.offsetWidth)||200},Oe=()=>{if(!w.value)return 0;const $e=window.getComputedStyle(w.value);return Number.parseFloat($e.gap||"6px")},Pe=R(()=>{const $e=Oe();return{maxWidth:`${A.value&&e.maxCollapseTags===1?v.selectionWidth-v.collapseItemWidth-$e:v.selectionWidth}px`}}),He=R(()=>({maxWidth:`${v.selectionWidth}px`})),Te=R(()=>({width:`${Math.max(v.calculatorWidth,bSe)}px`})),Be=R(()=>Me(e.modelValue)?e.modelValue.length===0&&!v.inputValue:e.filterable?!v.inputValue:!0),Je=R(()=>{var $e;const ht=($e=e.placeholder)!=null?$e:n("el.select.placeholder");return e.multiple||!ie.value?ht:v.selectedLabel}),dt=R(()=>{var $e,ht;return(ht=($e=_.value)==null?void 0:$e.popperRef)==null?void 0:ht.contentRef}),ct=R(()=>{if(e.multiple){const $e=e.modelValue.length;if(e.modelValue.length>0&&we.value.has(e.modelValue[$e-1])){const{index:ht}=we.value.get(e.modelValue[$e-1]);return ht}}else if(e.modelValue&&we.value.has(e.modelValue)){const{index:$e}=we.value.get(e.modelValue);return $e}return-1}),wt=R({get(){return V.value&&ae.value!==!1},set($e){V.value=$e}}),Mt=R(()=>e.multiple?e.collapseTags?v.cachedOptions.slice(0,e.maxCollapseTags):v.cachedOptions:[]),Zt=R(()=>e.multiple?e.collapseTags?v.cachedOptions.slice(e.maxCollapseTags):[]:[]),{createNewOption:Se,removeNewOption:Ne,selectNewOption:Y,clearAllNewOption:J}=ySe(e,v),W=()=>{j.value||(v.menuVisibleOnFocus?v.menuVisibleOnFocus=!1:V.value=!V.value)},Ee=()=>{v.inputValue.length>0&&!V.value&&(V.value=!0),Se(v.inputValue),tt(v.inputValue)},Fe=Fa(Ee,he.value),tt=$e=>{v.previousQuery===$e||P.value||(v.previousQuery=$e,e.filterable&&Ge(e.filterMethod)?e.filterMethod($e):e.filterable&&e.remote&&Ge(e.remoteMethod)&&e.remoteMethod($e),e.defaultFirstOption&&(e.filterable||e.remote)&&z.value.length?qe(at):qe(qn))},at=()=>{const $e=z.value.filter(Kt=>!Kt.disabled&&Kt.type!=="Group"),ht=$e.find(Kt=>Kt.created),It=$e[0];v.hoveringIndex=Nt(z.value,ht||It)},kn=$e=>{Cr(e.modelValue,$e)||t(Sn,$e)},bn=$e=>{t(St,$e),kn($e),v.previousValue=e.multiple?String($e):$e},Nt=($e=[],ht)=>{if(!_t(ht))return $e.indexOf(ht);const It=e.valueKey;let Kt=-1;return $e.some((Zr,Cs)=>Gn(Zr,It)===Gn(ht,It)?(Kt=Cs,!0):!1),Kt},Ct=$e=>_t($e)?Gn($e,e.valueKey):$e,jn=()=>{ke()},wr=()=>{v.selectionWidth=w.value.getBoundingClientRect().width},Sr=()=>{v.calculatorWidth=C.value.getBoundingClientRect().width},Uo=()=>{v.collapseItemWidth=A.value.getBoundingClientRect().width},Ua=()=>{var $e,ht;(ht=($e=_.value)==null?void 0:$e.updatePopper)==null||ht.call($e)},Pi=()=>{var $e,ht;(ht=($e=b.value)==null?void 0:$e.updatePopper)==null||ht.call($e)},Ri=$e=>{if(e.multiple){let ht=e.modelValue.slice();const It=Nt(ht,c($e));It>-1?(ht=[...ht.slice(0,It),...ht.slice(It+1)],v.cachedOptions.splice(It,1),Ne($e)):(e.multipleLimit<=0||ht.length{let It=e.modelValue.slice();const Kt=Nt(It,c(ht));Kt>-1&&!j.value&&(It=[...e.modelValue.slice(0,Kt),...e.modelValue.slice(Kt+1)],v.cachedOptions.splice(Kt,1),bn(It),t("remove-tag",c(ht)),Ne(ht)),$e.stopPropagation(),jo()},jo=()=>{var $e;($e=S.value)==null||$e.focus()},ol=()=>{var $e;if(V.value){V.value=!1,qe(()=>{var ht;return(ht=S.value)==null?void 0:ht.blur()});return}($e=S.value)==null||$e.blur()},Eu=()=>{v.inputValue.length>0?v.inputValue="":V.value=!1},kf=$e=>VV($e,ht=>!v.cachedOptions.some(It=>c(It)===ht&&f(It))),Af=$e=>{if(e.multiple&&$e.code!==Ue.delete&&v.inputValue.length===0){$e.preventDefault();const ht=e.modelValue.slice(),It=kf(ht);if(It<0)return;const Kt=ht[It];ht.splice(It,1);const Zr=v.cachedOptions[It];v.cachedOptions.splice(It,1),Ne(Zr),bn(ht),t("remove-tag",Kt)}},ku=()=>{let $e;Me(e.modelValue)?$e=[]:$e=d.value,e.multiple?v.cachedOptions=[]:v.selectedLabel="",V.value=!1,bn($e),t("clear"),J(),jo()},Le=($e,ht=void 0)=>{const It=z.value;if(!["forward","backward"].includes($e)||j.value||It.length<=0||me.value||P.value)return;if(!V.value)return W();ht===void 0&&(ht=v.hoveringIndex);let Kt=-1;$e==="forward"?(Kt=ht+1,Kt>=It.length&&(Kt=0)):$e==="backward"&&(Kt=ht-1,(Kt<0||Kt>=It.length)&&(Kt=It.length-1));const Zr=It[Kt];if(f(Zr)||Zr.type==="Group")return Le($e,Kt);v.hoveringIndex=Kt,Ii(Kt)},rt=()=>{if(V.value)~v.hoveringIndex&&z.value[v.hoveringIndex]&&Ri(z.value[v.hoveringIndex]);else return W()},Yt=$e=>{v.hoveringIndex=$e!=null?$e:-1},qn=()=>{e.multiple?v.hoveringIndex=z.value.findIndex($e=>e.modelValue.some(ht=>Ct(ht)===Ct($e))):v.hoveringIndex=z.value.findIndex($e=>Ct($e)===Ct(e.modelValue))},ir=$e=>{if(v.inputValue=$e.target.value,e.remote)Fe();else return Ee()},Yr=$e=>{if(V.value=!1,L.value){const ht=new FocusEvent("focus",$e);O(ht)}},Xr=()=>(v.isBeforeHide=!1,qe(()=>{~ct.value&&Ii(v.hoveringIndex)})),Ii=$e=>{E.value.scrollToItem($e)},Di=($e,ht)=>{const It=Ct($e);if(pe.value.has(It)){const{option:Kt}=pe.value.get(It);return Kt}if(ht&&ht.length){const Kt=ht.find(Zr=>Ct(c(Zr))===It);if(Kt)return Kt}return{[l.value.value]:$e,[l.value.label]:$e}},ip=($e=!1)=>{if(e.multiple)if(e.modelValue.length>0){const ht=v.cachedOptions.slice();v.cachedOptions.length=0,v.previousValue=e.modelValue.toString();for(const It of e.modelValue){const Kt=Di(It,ht);v.cachedOptions.push(Kt)}}else v.cachedOptions=[],v.previousValue=void 0;else if(ie.value){v.previousValue=e.modelValue;const ht=z.value,It=ht.findIndex(Kt=>Ct(c(Kt))===Ct(e.modelValue));~It?v.selectedLabel=u(ht[It]):(!v.selectedLabel||$e)&&(v.selectedLabel=Ct(e.modelValue))}else v.selectedLabel="",v.previousValue=void 0;J(),ke()};return xe(V,$e=>{$e?tt(""):(v.inputValue="",v.previousQuery=null,v.isBeforeHide=!0,Se("")),t("visible-change",$e)}),xe(()=>e.modelValue,($e,ht)=>{var It;(!$e||Me($e)&&$e.length===0||e.multiple&&!Cr($e.toString(),v.previousValue)||!e.multiple&&Ct($e)!==Ct(v.previousValue))&&ip(!0),!Cr($e,ht)&&e.validateEvent&&((It=i==null?void 0:i.validate)==null||It.call(i,"change").catch(Zr=>void 0))},{deep:!0}),xe(()=>e.options,()=>{const $e=S.value;(!$e||$e&&document.activeElement!==$e)&&ip()},{deep:!0,flush:"post"}),xe(()=>z.value,()=>E.value&&qe(E.value.resetScrollTop)),Ar(()=>{v.isBeforeHide||Q()}),Ar(()=>{const{valueKey:$e,options:ht}=e,It=new Map;for(const Kt of ht){const Zr=c(Kt);let Cs=Zr;if(_t(Cs)&&(Cs=Gn(Zr,$e)),It.get(Cs))break;It.set(Cs,!0)}}),ft(()=>{ip()}),On(m,jn),On(w,wr),On(C,Sr),On(E,Ua),On(M,Ua),On(k,Pi),On(A,Uo),{inputId:s,collapseTagSize:Ce,currentPlaceholder:Je,expanded:V,emptyText:ae,popupHeight:ne,debounce:he,allOptions:D,filteredOptions:z,iconComponent:G,iconReverse:oe,tagStyle:Pe,collapseTagStyle:He,inputStyle:Te,popperSize:g,dropdownMenuVisible:wt,hasModelValue:ie,shouldShowPlaceholder:Be,selectDisabled:j,selectSize:be,needStatusIcon:U,showClearBtn:fe,states:v,isFocused:L,nsSelect:r,nsInput:a,calculatorRef:C,inputRef:S,menuRef:E,tagMenuRef:k,tooltipRef:_,tagTooltipRef:b,selectRef:m,wrapperRef:M,selectionRef:w,prefixRef:T,suffixRef:x,collapseItemRef:A,popperRef:dt,validateState:se,validateIcon:ue,showTagList:Mt,collapseTagList:Zt,debouncedOnInputChange:Fe,deleteTag:xu,getLabel:u,getValue:c,getDisabled:f,getValueKey:Ct,handleClear:ku,handleClickOutside:Yr,handleDel:Af,handleEsc:Eu,focus:jo,blur:ol,handleMenuEnter:Xr,handleResize:jn,resetSelectionWidth:wr,resetCalculatorWidth:Sr,updateTooltip:Ua,updateTagTooltip:Pi,updateOptions:Q,toggleMenu:W,scrollTo:Ii,onInput:ir,onKeyboardNavigate:Le,onKeyboardSelect:rt,onSelect:Ri,onHover:Yt,handleCompositionStart:$,handleCompositionEnd:B,handleCompositionUpdate:I}},wSe=te({name:"ElSelectV2",components:{ElSelectMenu:mSe,ElTag:lg,ElTooltip:Kr,ElIcon:Ke},directives:{ClickOutside:Gs},props:Xwe,emits:Jwe,setup(e,{emit:t}){const n=R(()=>{const{modelValue:o,multiple:i}=e,s=i?[]:void 0;return Me(o)?i?o:s:i?s:o}),r=_Se(zt(_e(X({},rr(e)),{modelValue:n})),t);kt(w5,{props:zt(_e(X({},rr(e)),{height:r.popupHeight,modelValue:n})),expanded:r.expanded,tooltipRef:r.tooltipRef,onSelect:r.onSelect,onHover:r.onHover,onKeyboardNavigate:r.onKeyboardNavigate,onKeyboardSelect:r.onKeyboardSelect});const a=R(()=>e.multiple?r.states.cachedOptions.map(o=>o.label):r.states.selectedLabel);return _e(X({},r),{modelValue:n,selectedLabel:a})}});function SSe(e,t,n,r,a,o){const i=gt("el-tag"),s=gt("el-tooltip"),l=gt("el-icon"),u=gt("el-select-menu"),c=Nh("click-outside");return vt((N(),q("div",{ref:"selectRef",class:F([e.nsSelect.b(),e.nsSelect.m(e.selectSize)]),onMouseenter:f=>e.states.inputHovering=!0,onMouseleave:f=>e.states.inputHovering=!1},[ee(s,{ref:"tooltipRef",visible:e.dropdownMenuVisible,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,placement:e.placement,pure:"",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,trigger:"click",persistent:e.persistent,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:f=>e.states.isBeforeHide=!1},{default:le(()=>[Z("div",{ref:"wrapperRef",class:F([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:nt(e.toggleMenu,["prevent"])},[e.$slots.prefix?(N(),q("div",{key:0,ref:"prefixRef",class:F(e.nsSelect.e("prefix"))},[ve(e.$slots,"prefix")],2)):ge("v-if",!0),Z("div",{ref:"selectionRef",class:F([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.modelValue.length)])},[e.multiple?ve(e.$slots,"tag",{key:0},()=>[(N(!0),q(je,null,Rt(e.showTagList,f=>(N(),q("div",{key:e.getValueKey(e.getValue(f)),class:F(e.nsSelect.e("selected-item"))},[ee(i,{closable:!e.selectDisabled&&!e.getDisabled(f),size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:Xe(e.tagStyle),onClose:h=>e.deleteTag(h,f)},{default:le(()=>[Z("span",{class:F(e.nsSelect.e("tags-text"))},[ve(e.$slots,"label",{label:e.getLabel(f),value:e.getValue(f)},()=>[At(Re(e.getLabel(f)),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.modelValue.length>e.maxCollapseTags?(N(),ye(s,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom",teleported:e.teleported},{default:le(()=>[Z("div",{ref:"collapseItemRef",class:F(e.nsSelect.e("selected-item"))},[ee(i,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,style:Xe(e.collapseTagStyle),"disable-transitions":""},{default:le(()=>[Z("span",{class:F(e.nsSelect.e("tags-text"))}," + "+Re(e.modelValue.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:le(()=>[Z("div",{ref:"tagMenuRef",class:F(e.nsSelect.e("selection"))},[(N(!0),q(je,null,Rt(e.collapseTagList,f=>(N(),q("div",{key:e.getValueKey(e.getValue(f)),class:F(e.nsSelect.e("selected-item"))},[ee(i,{class:"in-tooltip",closable:!e.selectDisabled&&!e.getDisabled(f),size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:h=>e.deleteTag(h,f)},{default:le(()=>[Z("span",{class:F(e.nsSelect.e("tags-text"))},[ve(e.$slots,"label",{label:e.getLabel(f),value:e.getValue(f)},()=>[At(Re(e.getLabel(f)),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","teleported"])):ge("v-if",!0)]):ge("v-if",!0),Z("div",{class:F([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable)])},[vt(Z("input",{id:e.inputId,ref:"inputRef","onUpdate:modelValue":f=>e.states.inputValue=f,style:Xe(e.inputStyle),autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-autocomplete":"list","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":e.expanded,"aria-label":e.ariaLabel,class:F([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,role:"combobox",readonly:!e.filterable,spellcheck:"false",type:"text",name:e.name,onInput:e.onInput,onCompositionstart:e.handleCompositionStart,onCompositionupdate:e.handleCompositionUpdate,onCompositionend:e.handleCompositionEnd,onKeydown:[un(nt(f=>e.onKeyboardNavigate("backward"),["stop","prevent"]),["up"]),un(nt(f=>e.onKeyboardNavigate("forward"),["stop","prevent"]),["down"]),un(nt(e.onKeyboardSelect,["stop","prevent"]),["enter"]),un(nt(e.handleEsc,["stop","prevent"]),["esc"]),un(nt(e.handleDel,["stop"]),["delete"])],onClick:nt(e.toggleMenu,["stop"])},null,46,["id","onUpdate:modelValue","autocomplete","tabindex","aria-expanded","aria-label","disabled","readonly","name","onInput","onCompositionstart","onCompositionupdate","onCompositionend","onKeydown","onClick"]),[[Zc,e.states.inputValue]]),e.filterable?(N(),q("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:F(e.nsSelect.e("input-calculator")),textContent:Re(e.states.inputValue)},null,10,["textContent"])):ge("v-if",!0)],2),e.shouldShowPlaceholder?(N(),q("div",{key:1,class:F([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?ve(e.$slots,"label",{key:0,label:e.currentPlaceholder,value:e.modelValue},()=>[Z("span",null,Re(e.currentPlaceholder),1)]):(N(),q("span",{key:1},Re(e.currentPlaceholder),1))],2)):ge("v-if",!0)],2),Z("div",{ref:"suffixRef",class:F(e.nsSelect.e("suffix"))},[e.iconComponent?vt((N(),ye(l,{key:0,class:F([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.iconReverse])},{default:le(()=>[(N(),ye(bt(e.iconComponent)))]),_:1},8,["class"])),[[Wt,!e.showClearBtn]]):ge("v-if",!0),e.showClearBtn&&e.clearIcon?(N(),ye(l,{key:1,class:F([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.nsSelect.e("clear")]),onClick:nt(e.handleClear,["prevent","stop"])},{default:le(()=>[(N(),ye(bt(e.clearIcon)))]),_:1},8,["class","onClick"])):ge("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(N(),ye(l,{key:2,class:F([e.nsInput.e("icon"),e.nsInput.e("validateIcon")])},{default:le(()=>[(N(),ye(bt(e.validateIcon)))]),_:1},8,["class"])):ge("v-if",!0)],2)],10,["onClick"])]),content:le(()=>[ee(u,{ref:"menuRef",data:e.filteredOptions,width:e.popperSize,"hovering-index":e.states.hoveringIndex,"scrollbar-always-on":e.scrollbarAlwaysOn},Oo({default:le(f=>[ve(e.$slots,"default",Kd(Yd(f)))]),_:2},[e.$slots.header?{name:"header",fn:le(()=>[Z("div",{class:F(e.nsSelect.be("dropdown","header"))},[ve(e.$slots,"header")],2)])}:void 0,e.$slots.loading&&e.loading?{name:"loading",fn:le(()=>[Z("div",{class:F(e.nsSelect.be("dropdown","loading"))},[ve(e.$slots,"loading")],2)])}:e.loading||e.filteredOptions.length===0?{name:"empty",fn:le(()=>[Z("div",{class:F(e.nsSelect.be("dropdown","empty"))},[ve(e.$slots,"empty",{},()=>[Z("span",null,Re(e.emptyText),1)])],2)])}:void 0,e.$slots.footer?{name:"footer",fn:le(()=>[Z("div",{class:F(e.nsSelect.be("dropdown","footer"))},[ve(e.$slots,"footer")],2)])}:void 0]),1032,["data","width","hovering-index","scrollbar-always-on"])]),_:3},8,["visible","teleported","popper-class","popper-options","fallback-placements","effect","placement","transition","persistent","append-to","show-arrow","offset","onBeforeShow","onHide"])],42,["onMouseenter","onMouseleave"])),[[c,e.handleClickOutside,e.popperRef]])}var CSe=De(wSe,[["render",SSe],["__file","select.vue"]]);const TSe=pt(CSe),xSe=Ie({animated:{type:Boolean,default:!1},count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:ce([Number,Object])}}),ESe=Ie({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}}),kSe=te({name:"ElSkeletonItem"}),ASe=te(_e(X({},kSe),{props:ESe,setup(e){const t=Ae("skeleton");return(n,r)=>(N(),q("div",{class:F([y(t).e("item"),y(t).e(n.variant)])},[n.variant==="image"?(N(),ye(y(Kue),{key:0})):ge("v-if",!0)],2))}}));var hb=De(ASe,[["__file","skeleton-item.vue"]]);const MSe=(e,t=0)=>{if(t===0)return e;const n=_t(t)&&!!t.initVal,r=H(n);let a=null;const o=s=>{if(_n(s)){r.value=e.value;return}a&&clearTimeout(a),a=setTimeout(()=>{r.value=e.value},s)},i=s=>{s==="leading"?et(t)?o(t):o(t.leading):_t(t)?o(t.trailing):r.value=!1};return ft(()=>i("leading")),xe(()=>e.value,s=>{i(s?"leading":"trailing")}),r},OSe=te({name:"ElSkeleton"}),PSe=te(_e(X({},OSe),{props:xSe,setup(e,{expose:t}){const n=e,r=Ae("skeleton"),a=MSe(Jt(n,"loading"),n.throttle);return t({uiLoading:a}),(o,i)=>y(a)?(N(),q("div",Et({key:0,class:[y(r).b(),y(r).is("animated",o.animated)]},o.$attrs),[(N(!0),q(je,null,Rt(o.count,s=>(N(),q(je,{key:s},[y(a)?ve(o.$slots,"template",{key:s},()=>[ee(hb,{class:F(y(r).is("first")),variant:"p"},null,8,["class"]),(N(!0),q(je,null,Rt(o.rows,l=>(N(),ye(hb,{key:l,class:F([y(r).e("paragraph"),y(r).is("last",l===o.rows&&o.rows>1)]),variant:"p"},null,8,["class"]))),128))]):ge("v-if",!0)],64))),128))],16)):ve(o.$slots,"default",Kd(Et({key:1},o.$attrs)))}}));var RSe=De(PSe,[["__file","skeleton.vue"]]);const ISe=pt(RSe,{SkeletonItem:hb}),DSe=Dn(hb),wW=Symbol("sliderContextKey"),LSe=Ie(X({modelValue:{type:ce([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:or,inputSize:or,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:ce(Function),default:void 0},disabled:Boolean,range:Boolean,vertical:Boolean,height:String,debounce:{type:Number,default:300},rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:ce(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:rl,default:"top"},marks:{type:ce(Object)},validateEvent:{type:Boolean,default:!0}},Pr(["ariaLabel"]))),r2=e=>et(e)||Me(e)&&e.every(et),$Se={[St]:r2,[ha]:r2,[Sn]:r2},NSe=Ie({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:rl,default:"top"}}),BSe={[St]:e=>et(e)},FSe=(e,t,n)=>{const r=H(),a=H(!1),o=R(()=>t.value instanceof Function),i=R(()=>o.value&&t.value(e.modelValue)||e.modelValue),s=Fa(()=>{n.value&&(a.value=!0)},50),l=Fa(()=>{n.value&&(a.value=!1)},50);return{tooltip:r,tooltipVisible:a,formatValue:i,displayTooltip:s,hideTooltip:l}},VSe=(e,t,n)=>{const{disabled:r,min:a,max:o,step:i,showTooltip:s,precision:l,sliderSize:u,formatTooltip:c,emitChange:f,resetSize:h,updateDragging:d}=ze(wW),{tooltip:p,tooltipVisible:v,formatValue:g,displayTooltip:m,hideTooltip:w}=FSe(e,c,s),_=H(),b=R(()=>`${(e.modelValue-a.value)/(o.value-a.value)*100}%`),S=R(()=>e.vertical?{bottom:b.value}:{left:b.value}),C=()=>{t.hovering=!0,m()},T=()=>{t.hovering=!1,t.dragging||w()},x=j=>{r.value||(j.preventDefault(),O(j),window.addEventListener("mousemove",D),window.addEventListener("touchmove",D),window.addEventListener("mouseup",z),window.addEventListener("touchend",z),window.addEventListener("contextmenu",z),_.value.focus())},E=j=>{r.value||(t.newPosition=Number.parseFloat(b.value)+j/(o.value-a.value)*100,V(t.newPosition),f())},k=()=>{E(-i.value)},A=()=>{E(i.value)},P=()=>{E(-i.value*4)},$=()=>{E(i.value*4)},B=()=>{r.value||(V(0),f())},I=()=>{r.value||(V(100),f())},M=j=>{let U=!0;switch(j.code){case Ue.left:case Ue.down:k();break;case Ue.right:case Ue.up:A();break;case Ue.home:B();break;case Ue.end:I();break;case Ue.pageDown:P();break;case Ue.pageUp:$();break;default:U=!1;break}U&&j.preventDefault()},L=j=>{let U,ne;return j.type.startsWith("touch")?(ne=j.touches[0].clientY,U=j.touches[0].clientX):(ne=j.clientY,U=j.clientX),{clientX:U,clientY:ne}},O=j=>{t.dragging=!0,t.isClick=!0;const{clientX:U,clientY:ne}=L(j);e.vertical?t.startY=ne:t.startX=U,t.startPosition=Number.parseFloat(b.value),t.newPosition=t.startPosition},D=j=>{if(t.dragging){t.isClick=!1,m(),h();let U;const{clientX:ne,clientY:ie}=L(j);e.vertical?(t.currentY=ie,U=(t.startY-t.currentY)/u.value*100):(t.currentX=ne,U=(t.currentX-t.startX)/u.value*100),t.newPosition=t.startPosition+U,V(t.newPosition)}},z=()=>{t.dragging&&(setTimeout(()=>{t.dragging=!1,t.hovering||w(),t.isClick||V(t.newPosition),f()},0),window.removeEventListener("mousemove",D),window.removeEventListener("touchmove",D),window.removeEventListener("mouseup",z),window.removeEventListener("touchend",z),window.removeEventListener("contextmenu",z))},V=j=>ut(void 0,null,function*(){if(j===null||Number.isNaN(+j))return;j<0?j=0:j>100&&(j=100);const U=100/((o.value-a.value)/i.value);let ie=Math.round(j/U)*U*(o.value-a.value)*.01+a.value;ie=Number.parseFloat(ie.toFixed(l.value)),ie!==e.modelValue&&n(St,ie),!t.dragging&&e.modelValue!==t.oldValue&&(t.oldValue=e.modelValue),yield qe(),t.dragging&&m(),p.value.updatePopper()});return xe(()=>t.dragging,j=>{d(j)}),sn(_,"touchstart",x,{passive:!1}),{disabled:r,button:_,tooltip:p,tooltipVisible:v,showTooltip:s,wrapperStyle:S,formatValue:g,handleMouseEnter:C,handleMouseLeave:T,onButtonDown:x,onKeyDown:M,setPosition:V}},zSe=te({name:"ElSliderButton"}),HSe=te(_e(X({},zSe),{props:NSe,emits:BSe,setup(e,{expose:t,emit:n}){const r=e,a=Ae("slider"),o=zt({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:r.modelValue}),{disabled:i,button:s,tooltip:l,showTooltip:u,tooltipVisible:c,wrapperStyle:f,formatValue:h,handleMouseEnter:d,handleMouseLeave:p,onButtonDown:v,onKeyDown:g,setPosition:m}=VSe(r,o,n),{hovering:w,dragging:_}=rr(o);return t({onButtonDown:v,onKeyDown:g,setPosition:m,hovering:w,dragging:_}),(b,S)=>(N(),q("div",{ref_key:"button",ref:s,class:F([y(a).e("button-wrapper"),{hover:y(w),dragging:y(_)}]),style:Xe(y(f)),tabindex:y(i)?-1:0,onMouseenter:y(d),onMouseleave:y(p),onMousedown:y(v),onFocus:y(d),onBlur:y(p),onKeydown:y(g)},[ee(y(Kr),{ref_key:"tooltip",ref:l,visible:y(c),placement:b.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":b.tooltipClass,disabled:!y(u),persistent:y(u)},{content:le(()=>[Z("span",null,Re(y(h)),1)]),default:le(()=>[Z("div",{class:F([y(a).e("button"),{hover:y(w),dragging:y(_)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled","persistent"])],46,["tabindex","onMouseenter","onMouseleave","onMousedown","onFocus","onBlur","onKeydown"]))}}));var W6=De(HSe,[["__file","button.vue"]]);const WSe=Ie({mark:{type:ce([String,Object]),default:void 0}});var USe=te({name:"ElSliderMarker",props:WSe,setup(e){const t=Ae("slider"),n=R(()=>Ze(e.mark)?e.mark:e.mark.label),r=R(()=>Ze(e.mark)?void 0:e.mark.style);return()=>We("div",{class:t.e("marks-text"),style:r.value},n.value)}});const jSe=(e,t,n)=>{const{form:r,formItem:a}=qr(),o=gn(),i=H(),s=H(),l={firstButton:i,secondButton:s},u=R(()=>e.disabled||(r==null?void 0:r.disabled)||!1),c=R(()=>Math.min(t.firstValue,t.secondValue)),f=R(()=>Math.max(t.firstValue,t.secondValue)),h=R(()=>e.range?`${100*(f.value-c.value)/(e.max-e.min)}%`:`${100*(t.firstValue-e.min)/(e.max-e.min)}%`),d=R(()=>e.range?`${100*(c.value-e.min)/(e.max-e.min)}%`:"0%"),p=R(()=>e.vertical?{height:e.height}:{}),v=R(()=>e.vertical?{height:h.value,bottom:d.value}:{width:h.value,left:d.value}),g=()=>{o.value&&(t.sliderSize=o.value[`client${e.vertical?"Height":"Width"}`])},m=P=>{const $=e.min+P*(e.max-e.min)/100;if(!e.range)return i;let B;return Math.abs(c.value-$)t.secondValue?"firstButton":"secondButton",l[B]},w=P=>{const $=m(P);return $.value.setPosition(P),$},_=P=>{t.firstValue=P!=null?P:e.min,S(e.range?[c.value,f.value]:P!=null?P:e.min)},b=P=>{t.secondValue=P,e.range&&S([c.value,f.value])},S=P=>{n(St,P),n(ha,P)},C=()=>ut(void 0,null,function*(){yield qe(),n(Sn,e.range?[c.value,f.value]:e.modelValue)}),T=P=>{var $,B,I,M,L,O;if(u.value||t.dragging)return;g();let D=0;if(e.vertical){const z=(I=(B=($=P.touches)==null?void 0:$.item(0))==null?void 0:B.clientY)!=null?I:P.clientY;D=(o.value.getBoundingClientRect().bottom-z)/t.sliderSize*100}else{const z=(O=(L=(M=P.touches)==null?void 0:M.item(0))==null?void 0:L.clientX)!=null?O:P.clientX,V=o.value.getBoundingClientRect().left;D=(z-V)/t.sliderSize*100}if(!(D<0||D>100))return w(D)};return{elFormItem:a,slider:o,firstButton:i,secondButton:s,sliderDisabled:u,minValue:c,maxValue:f,runwayStyle:p,barStyle:v,resetSize:g,setPosition:w,emitChange:C,onSliderWrapperPrevent:P=>{var $,B;(($=l.firstButton.value)!=null&&$.dragging||(B=l.secondButton.value)!=null&&B.dragging)&&P.preventDefault()},onSliderClick:P=>{T(P)&&C()},onSliderDown:P=>ut(void 0,null,function*(){const $=T(P);$&&(yield qe(),$.value.onButtonDown(P))}),onSliderMarkerDown:P=>{u.value||t.dragging||w(P)},setFirstValue:_,setSecondValue:b}},KSe=(e,t,n,r)=>({stops:R(()=>{if(!e.showStops||e.min>e.max)return[];if(e.step===0)return[];const i=(e.max-e.min)/e.step,s=100*e.step/(e.max-e.min),l=Array.from({length:i-1}).map((u,c)=>(c+1)*s);return e.range?l.filter(u=>u<100*(n.value-e.min)/(e.max-e.min)||u>100*(r.value-e.min)/(e.max-e.min)):l.filter(u=>u>100*(t.firstValue-e.min)/(e.max-e.min))}),getStopStyle:i=>e.vertical?{bottom:`${i}%`}:{left:`${i}%`}}),GSe=e=>R(()=>e.marks?Object.keys(e.marks).map(Number.parseFloat).sort((n,r)=>n-r).filter(n=>n<=e.max&&n>=e.min).map(n=>({point:n,position:(n-e.min)*100/(e.max-e.min),mark:e.marks[n]})):[]),qSe=(e,t,n,r,a,o)=>{const i=u=>{a(St,u),a(ha,u)},s=()=>e.range?![n.value,r.value].every((u,c)=>u===t.oldValue[c]):e.modelValue!==t.oldValue,l=()=>{var u,c;e.min>e.max&&ar("Slider","min should not be greater than max.");const f=e.modelValue;e.range&&Me(f)?f[1]e.max?i([e.max,e.max]):f[0]e.max?i([f[0],e.max]):(t.firstValue=f[0],t.secondValue=f[1],s()&&(e.validateEvent&&((u=o==null?void 0:o.validate)==null||u.call(o,"change").catch(h=>void 0)),t.oldValue=f.slice())):!e.range&&et(f)&&!Number.isNaN(f)&&(fe.max?i(e.max):(t.firstValue=f,s()&&(e.validateEvent&&((c=o==null?void 0:o.validate)==null||c.call(o,"change").catch(h=>void 0)),t.oldValue=f)))};l(),xe(()=>t.dragging,u=>{u||l()}),xe(()=>e.modelValue,(u,c)=>{t.dragging||Me(u)&&Me(c)&&u.every((f,h)=>f===c[h])&&t.firstValue===u[0]&&t.secondValue===u[1]||l()},{deep:!0}),xe(()=>[e.min,e.max],()=>{l()})},YSe=(e,t,n)=>{const r=H();return ft(()=>ut(void 0,null,function*(){e.range?(Me(e.modelValue)?(t.firstValue=Math.max(e.min,e.modelValue[0]),t.secondValue=Math.min(e.max,e.modelValue[1])):(t.firstValue=e.min,t.secondValue=e.max),t.oldValue=[t.firstValue,t.secondValue]):(!et(e.modelValue)||Number.isNaN(e.modelValue)?t.firstValue=e.min:t.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),t.oldValue=t.firstValue),sn(window,"resize",n),yield qe(),n()})),{sliderWrapper:r}},XSe=te({name:"ElSlider"}),ZSe=te(_e(X({},XSe),{props:LSe,emits:$Se,setup(e,{expose:t,emit:n}){const r=e,a=Ae("slider"),{t:o}=$t(),i=zt({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:s,slider:l,firstButton:u,secondButton:c,sliderDisabled:f,minValue:h,maxValue:d,runwayStyle:p,barStyle:v,resetSize:g,emitChange:m,onSliderWrapperPrevent:w,onSliderClick:_,onSliderDown:b,onSliderMarkerDown:S,setFirstValue:C,setSecondValue:T}=jSe(r,i,n),{stops:x,getStopStyle:E}=KSe(r,i,h,d),{inputId:k,isLabeledByFormItem:A}=Ti(r,{formItemContext:s}),P=Jn(),$=R(()=>r.inputSize||P.value),B=R(()=>r.ariaLabel||o("el.slider.defaultLabel",{min:r.min,max:r.max})),I=R(()=>r.range?r.rangeStartLabel||o("el.slider.defaultRangeStartLabel"):B.value),M=R(()=>r.formatValueText?r.formatValueText(U.value):`${U.value}`),L=R(()=>r.rangeEndLabel||o("el.slider.defaultRangeEndLabel")),O=R(()=>r.formatValueText?r.formatValueText(ne.value):`${ne.value}`),D=R(()=>[a.b(),a.m(P.value),a.is("vertical",r.vertical),{[a.m("with-input")]:r.showInput}]),z=GSe(r);qSe(r,i,h,d,n,s);const V=R(()=>{const G=[r.min,r.max,r.step].map(oe=>{const se=`${oe}`.split(".")[1];return se?se.length:0});return Math.max.apply(null,G)}),{sliderWrapper:j}=YSe(r,i,g),{firstValue:U,secondValue:ne,sliderSize:ie}=rr(i),fe=G=>{i.dragging=G};return sn(j,"touchstart",w,{passive:!1}),sn(j,"touchmove",w,{passive:!1}),kt(wW,_e(X({},rr(r)),{sliderSize:ie,disabled:f,precision:V,emitChange:m,resetSize:g,updateDragging:fe})),t({onSliderClick:_}),(G,oe)=>{var se,ue;return N(),q("div",{id:G.range?y(k):void 0,ref_key:"sliderWrapper",ref:j,class:F(y(D)),role:G.range?"group":void 0,"aria-label":G.range&&!y(A)?y(B):void 0,"aria-labelledby":G.range&&y(A)?(se=y(s))==null?void 0:se.labelId:void 0},[Z("div",{ref_key:"slider",ref:l,class:F([y(a).e("runway"),{"show-input":G.showInput&&!G.range},y(a).is("disabled",y(f))]),style:Xe(y(p)),onMousedown:y(b),onTouchstartPassive:y(b)},[Z("div",{class:F(y(a).e("bar")),style:Xe(y(v))},null,6),ee(W6,{id:G.range?void 0:y(k),ref_key:"firstButton",ref:u,"model-value":y(U),vertical:G.vertical,"tooltip-class":G.tooltipClass,placement:G.placement,role:"slider","aria-label":G.range||!y(A)?y(I):void 0,"aria-labelledby":!G.range&&y(A)?(ue=y(s))==null?void 0:ue.labelId:void 0,"aria-valuemin":G.min,"aria-valuemax":G.range?y(ne):G.max,"aria-valuenow":y(U),"aria-valuetext":y(M),"aria-orientation":G.vertical?"vertical":"horizontal","aria-disabled":y(f),"onUpdate:modelValue":y(C)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),G.range?(N(),ye(W6,{key:0,ref_key:"secondButton",ref:c,"model-value":y(ne),vertical:G.vertical,"tooltip-class":G.tooltipClass,placement:G.placement,role:"slider","aria-label":y(L),"aria-valuemin":y(U),"aria-valuemax":G.max,"aria-valuenow":y(ne),"aria-valuetext":y(O),"aria-orientation":G.vertical?"vertical":"horizontal","aria-disabled":y(f),"onUpdate:modelValue":y(T)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):ge("v-if",!0),G.showStops?(N(),q("div",{key:1},[(N(!0),q(je,null,Rt(y(x),(he,ae)=>(N(),q("div",{key:ae,class:F(y(a).e("stop")),style:Xe(y(E)(he))},null,6))),128))])):ge("v-if",!0),y(z).length>0?(N(),q(je,{key:2},[Z("div",null,[(N(!0),q(je,null,Rt(y(z),(he,ae)=>(N(),q("div",{key:ae,style:Xe(y(E)(he.position)),class:F([y(a).e("stop"),y(a).e("marks-stop")])},null,6))),128))]),Z("div",{class:F(y(a).e("marks"))},[(N(!0),q(je,null,Rt(y(z),(he,ae)=>(N(),ye(y(USe),{key:ae,mark:he.mark,style:Xe(y(E)(he.position)),onMousedown:nt(K=>y(S)(he.position),["stop"])},null,8,["mark","style","onMousedown"]))),128))],2)],64)):ge("v-if",!0)],46,["onMousedown","onTouchstartPassive"]),G.showInput&&!G.range?(N(),ye(y(QH),{key:0,ref:"input","model-value":y(U),class:F(y(a).e("input")),step:G.step,disabled:y(f),controls:G.showInputControls,min:G.min,max:G.max,precision:y(V),debounce:G.debounce,size:y($),"onUpdate:modelValue":y(C),onChange:y(m)},null,8,["model-value","class","step","disabled","controls","min","max","precision","debounce","size","onUpdate:modelValue","onChange"])):ge("v-if",!0)],10,["id","role","aria-label","aria-labelledby"])}}}));var JSe=De(ZSe,[["__file","slider.vue"]]);const QSe=pt(JSe),e2e=Ie({prefixCls:{type:String}}),U6=te({name:"ElSpaceItem",props:e2e,setup(e,{slots:t}){const n=Ae("space"),r=R(()=>`${e.prefixCls||n.b()}__item`);return()=>We("div",{class:r.value},ve(t,"default"))}}),j6={small:8,default:12,large:16};function t2e(e){const t=Ae("space"),n=R(()=>[t.b(),t.m(e.direction),e.class]),r=H(0),a=H(0),o=R(()=>{const s=e.wrap||e.fill?{flexWrap:"wrap"}:{},l={alignItems:e.alignment},u={rowGap:`${a.value}px`,columnGap:`${r.value}px`};return[s,l,u,e.style]}),i=R(()=>e.fill?{flexGrow:1,minWidth:`${e.fillRatio}%`}:{});return Ar(()=>{const{size:s="small",wrap:l,direction:u,fill:c}=e;if(Me(s)){const[f=0,h=0]=s;r.value=f,a.value=h}else{let f;et(s)?f=s:f=j6[s||"small"]||j6.small,(l||c)&&u==="horizontal"?r.value=a.value=f:u==="horizontal"?(r.value=f,a.value=0):(a.value=f,r.value=0)}}),{classes:n,containerStyle:o,itemStyle:i}}const n2e=Ie({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:ce([String,Object,Array]),default:""},style:{type:ce([String,Array,Object]),default:""},alignment:{type:ce(String),default:"center"},prefixCls:{type:String},spacer:{type:ce([Object,String,Number,Array]),default:null,validator:e=>yn(e)||et(e)||Ze(e)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:ms,validator:e=>et(e)||Me(e)&&e.length===2&&e.every(et)}}),r2e=te({name:"ElSpace",props:n2e,setup(e,{slots:t}){const{classes:n,containerStyle:r,itemStyle:a}=t2e(e);function o(i,s="",l=[]){const{prefixCls:u}=e;return i.forEach((c,f)=>{Nx(c)?Me(c.children)&&c.children.forEach((h,d)=>{Nx(h)&&Me(h.children)?o(h.children,`${s+d}-`,l):l.push(ee(U6,{style:a.value,prefixCls:u,key:`nested-${s+d}`},{default:()=>[h]},go.PROPS|go.STYLE,["style","prefixCls"]))}):Ype(c)&&l.push(ee(U6,{style:a.value,prefixCls:u,key:`LoopKey${s+f}`},{default:()=>[c]},go.PROPS|go.STYLE,["style","prefixCls"]))}),l}return()=>{var i;const{spacer:s,direction:l}=e,u=ve(t,"default",{key:0},()=>[]);if(((i=u.children)!=null?i:[]).length===0)return null;if(Me(u.children)){let c=o(u.children);if(s){const f=c.length-1;c=c.reduce((h,d,p)=>{const v=[...h,d];return p!==f&&v.push(ee("span",{style:[a.value,l==="vertical"?"width: 100%":null],key:p},[yn(s)?s:At(s,go.TEXT)],go.STYLE)),v},[])}return ee("div",{class:n.value,style:r.value},c,go.STYLE|go.CLASS)}return u.children}}}),a2e=pt(r2e),o2e=Ie({decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:","},precision:{type:Number,default:0},formatter:Function,value:{type:ce([Number,Object]),default:0},prefix:String,suffix:String,title:String,valueStyle:{type:ce([String,Object,Array])}}),i2e=te({name:"ElStatistic"}),s2e=te(_e(X({},i2e),{props:o2e,setup(e,{expose:t}){const n=e,r=Ae("statistic"),a=R(()=>{const{value:o,formatter:i,precision:s,decimalSeparator:l,groupSeparator:u}=n;if(Ge(i))return i(o);if(!et(o)||Number.isNaN(o))return o;let[c,f=""]=String(o).split(".");return f=f.padEnd(s,"0").slice(0,s>0?s:0),c=c.replace(/\B(?=(\d{3})+(?!\d))/g,u),[c,f].join(f?l:"")});return t({displayValue:a}),(o,i)=>(N(),q("div",{class:F(y(r).b())},[o.$slots.title||o.title?(N(),q("div",{key:0,class:F(y(r).e("head"))},[ve(o.$slots,"title",{},()=>[At(Re(o.title),1)])],2)):ge("v-if",!0),Z("div",{class:F(y(r).e("content"))},[o.$slots.prefix||o.prefix?(N(),q("div",{key:0,class:F(y(r).e("prefix"))},[ve(o.$slots,"prefix",{},()=>[Z("span",null,Re(o.prefix),1)])],2)):ge("v-if",!0),Z("span",{class:F(y(r).e("number")),style:Xe(o.valueStyle)},Re(y(a)),7),o.$slots.suffix||o.suffix?(N(),q("div",{key:1,class:F(y(r).e("suffix"))},[ve(o.$slots,"suffix",{},()=>[Z("span",null,Re(o.suffix),1)])],2)):ge("v-if",!0)],2)],2))}}));var l2e=De(s2e,[["__file","statistic.vue"]]);const SW=pt(l2e),u2e=Ie({format:{type:String,default:"HH:mm:ss"},prefix:String,suffix:String,title:String,value:{type:ce([Number,Object]),default:0},valueStyle:{type:ce([String,Object,Array])}}),c2e={finish:()=>!0,[Sn]:e=>et(e)},f2e=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]],K6=e=>et(e)?new Date(e).getTime():e.valueOf(),G6=(e,t)=>{let n=e;const r=/\[([^\]]*)]/g;return f2e.reduce((o,[i,s])=>{const l=new RegExp(`${i}+(?![^\\[\\]]*\\])`,"g");if(l.test(o)){const u=Math.floor(n/s);return n-=u*s,o.replace(l,c=>String(u).padStart(c.length,"0"))}return o},t).replace(r,"$1")},d2e=te({name:"ElCountdown"}),h2e=te(_e(X({},d2e),{props:u2e,emits:c2e,setup(e,{expose:t,emit:n}){const r=e;let a;const o=H(0),i=R(()=>G6(o.value,r.format)),s=c=>G6(c,r.format),l=()=>{a&&(tf(a),a=void 0)},u=()=>{const c=K6(r.value),f=()=>{let h=c-Date.now();n("change",h),h<=0?(h=0,l(),n("finish")):a=ou(f),o.value=h};a=ou(f)};return ft(()=>{o.value=K6(r.value)-Date.now(),xe(()=>[r.value,r.format],()=>{l(),u()},{immediate:!0})}),fn(()=>{l()}),t({displayValue:i}),(c,f)=>(N(),ye(y(SW),{value:o.value,title:c.title,prefix:c.prefix,suffix:c.suffix,"value-style":c.valueStyle,formatter:s},Oo({_:2},[Rt(c.$slots,(h,d)=>({name:d,fn:le(()=>[ve(c.$slots,d)])}))]),1032,["value","title","prefix","suffix","value-style"]))}}));var p2e=De(h2e,[["__file","countdown.vue"]]);const v2e=pt(p2e),g2e=Ie({space:{type:[Number,String],default:""},active:{type:Number,default:0},direction:{type:String,default:"horizontal",values:["horizontal","vertical"]},alignCenter:{type:Boolean},simple:{type:Boolean},finishStatus:{type:String,values:["wait","process","finish","error","success"],default:"finish"},processStatus:{type:String,values:["wait","process","finish","error","success"],default:"process"}}),m2e={[Sn]:(e,t)=>[e,t].every(et)},y2e=te({name:"ElSteps"}),b2e=te(_e(X({},y2e),{props:g2e,emits:m2e,setup(e,{emit:t}){const n=e,r=Ae("steps"),{children:a,addChild:o,removeChild:i}=Q3(st(),"ElStep");return xe(a,()=>{a.value.forEach((s,l)=>{s.setIndex(l)})}),kt("ElSteps",{props:n,steps:a,addStep:o,removeStep:i}),xe(()=>n.active,(s,l)=>{t(Sn,s,l)}),(s,l)=>(N(),q("div",{class:F([y(r).b(),y(r).m(s.simple?"simple":s.direction)])},[ve(s.$slots,"default")],2))}}));var _2e=De(b2e,[["__file","steps.vue"]]);const w2e=Ie({title:{type:String,default:""},icon:{type:cn},description:{type:String,default:""},status:{type:String,values:["","wait","process","finish","error","success"],default:""}}),S2e=te({name:"ElStep"}),C2e=te(_e(X({},S2e),{props:w2e,setup(e){const t=e,n=Ae("step"),r=H(-1),a=H({}),o=H(""),i=ze("ElSteps"),s=st();ft(()=>{xe([()=>i.props.active,()=>i.props.processStatus,()=>i.props.finishStatus],([C])=>{b(C)},{immediate:!0})}),fn(()=>{i.removeStep(S.uid)});const l=R(()=>t.status||o.value),u=R(()=>{const C=i.steps.value[r.value-1];return C?C.currentStatus:"wait"}),c=R(()=>i.props.alignCenter),f=R(()=>i.props.direction==="vertical"),h=R(()=>i.props.simple),d=R(()=>i.steps.value.length),p=R(()=>{var C;return((C=i.steps.value[d.value-1])==null?void 0:C.uid)===(s==null?void 0:s.uid)}),v=R(()=>h.value?"":i.props.space),g=R(()=>[n.b(),n.is(h.value?"simple":i.props.direction),n.is("flex",p.value&&!v.value&&!c.value),n.is("center",c.value&&!f.value&&!h.value)]),m=R(()=>{const C={flexBasis:et(v.value)?`${v.value}px`:v.value?v.value:`${100/(d.value-(c.value?0:1))}%`};return f.value||p.value&&(C.maxWidth=`${100/d.value}%`),C}),w=C=>{r.value=C},_=C=>{const T=C==="wait",x={transitionDelay:`${T?"-":""}${150*r.value}ms`},E=C===i.props.processStatus||T?0:100;x.borderWidth=E&&!h.value?"1px":0,x[i.props.direction==="vertical"?"height":"width"]=`${E}%`,a.value=x},b=C=>{C>r.value?o.value=i.props.finishStatus:C===r.value&&u.value!=="error"?o.value=i.props.processStatus:o.value="wait";const T=i.steps.value[r.value-1];T&&T.calcProgress(o.value)},S=zt({uid:s.uid,currentStatus:l,setIndex:w,calcProgress:_});return i.addStep(S),(C,T)=>(N(),q("div",{style:Xe(y(m)),class:F(y(g))},[ge(" icon & line "),Z("div",{class:F([y(n).e("head"),y(n).is(y(l))])},[y(h)?ge("v-if",!0):(N(),q("div",{key:0,class:F(y(n).e("line"))},[Z("i",{class:F(y(n).e("line-inner")),style:Xe(a.value)},null,6)],2)),Z("div",{class:F([y(n).e("icon"),y(n).is(C.icon||C.$slots.icon?"icon":"text")])},[ve(C.$slots,"icon",{},()=>[C.icon?(N(),ye(y(Ke),{key:0,class:F(y(n).e("icon-inner"))},{default:le(()=>[(N(),ye(bt(C.icon)))]),_:1},8,["class"])):y(l)==="success"?(N(),ye(y(Ke),{key:1,class:F([y(n).e("icon-inner"),y(n).is("status")])},{default:le(()=>[ee(y(ym))]),_:1},8,["class"])):y(l)==="error"?(N(),ye(y(Ke),{key:2,class:F([y(n).e("icon-inner"),y(n).is("status")])},{default:le(()=>[ee(y(gi))]),_:1},8,["class"])):y(h)?ge("v-if",!0):(N(),q("div",{key:3,class:F(y(n).e("icon-inner"))},Re(r.value+1),3))])],2)],2),ge(" title & description "),Z("div",{class:F(y(n).e("main"))},[Z("div",{class:F([y(n).e("title"),y(n).is(y(l))])},[ve(C.$slots,"title",{},()=>[At(Re(C.title),1)])],2),y(h)?(N(),q("div",{key:0,class:F(y(n).e("arrow"))},null,2)):(N(),q("div",{key:1,class:F([y(n).e("description"),y(n).is(y(l))])},[ve(C.$slots,"description",{},()=>[At(Re(C.description),1)])],2))],2)],6))}}));var CW=De(C2e,[["__file","item.vue"]]);const T2e=pt(_2e,{Step:CW}),x2e=Dn(CW),TW=e=>["",...ms].includes(e),E2e=Ie(X({modelValue:{type:[Boolean,String,Number],default:!1},disabled:Boolean,loading:Boolean,size:{type:String,validator:TW},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:cn},activeActionIcon:{type:cn},activeIcon:{type:cn},inactiveIcon:{type:cn},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:ce(Function)},id:String,tabindex:{type:[String,Number]}},Pr(["ariaLabel"]))),k2e={[St]:e=>hn(e)||Ze(e)||et(e),[Sn]:e=>hn(e)||Ze(e)||et(e),[ha]:e=>hn(e)||Ze(e)||et(e)},xW="ElSwitch",A2e=te({name:xW}),M2e=te(_e(X({},A2e),{props:E2e,emits:k2e,setup(e,{expose:t,emit:n}){const r=e,{formItem:a}=qr(),o=Jn(),i=Ae("switch"),{inputId:s}=Ti(r,{formItemContext:a}),l=Sa(R(()=>r.loading)),u=H(r.modelValue!==!1),c=H(),f=H(),h=R(()=>[i.b(),i.m(o.value),i.is("disabled",l.value),i.is("checked",m.value)]),d=R(()=>[i.e("label"),i.em("label","left"),i.is("active",!m.value)]),p=R(()=>[i.e("label"),i.em("label","right"),i.is("active",m.value)]),v=R(()=>({width:Vn(r.width)}));xe(()=>r.modelValue,()=>{u.value=!0});const g=R(()=>u.value?r.modelValue:!1),m=R(()=>g.value===r.activeValue);[r.activeValue,r.inactiveValue].includes(g.value)||(n(St,r.inactiveValue),n(Sn,r.inactiveValue),n(ha,r.inactiveValue)),xe(m,S=>{var C;c.value.checked=S,r.validateEvent&&((C=a==null?void 0:a.validate)==null||C.call(a,"change").catch(T=>void 0))});const w=()=>{const S=m.value?r.inactiveValue:r.activeValue;n(St,S),n(Sn,S),n(ha,S),qe(()=>{c.value.checked=m.value})},_=()=>{if(l.value)return;const{beforeChange:S}=r;if(!S){w();return}const C=S();[jd(C),hn(C)].includes(!0)||ar(xW,"beforeChange must return type `Promise` or `boolean`"),jd(C)?C.then(x=>{x&&w()}).catch(x=>{}):C&&w()},b=()=>{var S,C;(C=(S=c.value)==null?void 0:S.focus)==null||C.call(S)};return ft(()=>{c.value.checked=m.value}),t({focus:b,checked:m}),(S,C)=>(N(),q("div",{class:F(y(h)),onClick:nt(_,["prevent"])},[Z("input",{id:y(s),ref_key:"input",ref:c,class:F(y(i).e("input")),type:"checkbox",role:"switch","aria-checked":y(m),"aria-disabled":y(l),"aria-label":S.ariaLabel,name:S.name,"true-value":S.activeValue,"false-value":S.inactiveValue,disabled:y(l),tabindex:S.tabindex,onChange:w,onKeydown:un(_,["enter"])},null,42,["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"]),!S.inlinePrompt&&(S.inactiveIcon||S.inactiveText)?(N(),q("span",{key:0,class:F(y(d))},[S.inactiveIcon?(N(),ye(y(Ke),{key:0},{default:le(()=>[(N(),ye(bt(S.inactiveIcon)))]),_:1})):ge("v-if",!0),!S.inactiveIcon&&S.inactiveText?(N(),q("span",{key:1,"aria-hidden":y(m)},Re(S.inactiveText),9,["aria-hidden"])):ge("v-if",!0)],2)):ge("v-if",!0),Z("span",{ref_key:"core",ref:f,class:F(y(i).e("core")),style:Xe(y(v))},[S.inlinePrompt?(N(),q("div",{key:0,class:F(y(i).e("inner"))},[S.activeIcon||S.inactiveIcon?(N(),ye(y(Ke),{key:0,class:F(y(i).is("icon"))},{default:le(()=>[(N(),ye(bt(y(m)?S.activeIcon:S.inactiveIcon)))]),_:1},8,["class"])):S.activeText||S.inactiveText?(N(),q("span",{key:1,class:F(y(i).is("text")),"aria-hidden":!y(m)},Re(y(m)?S.activeText:S.inactiveText),11,["aria-hidden"])):ge("v-if",!0)],2)):ge("v-if",!0),Z("div",{class:F(y(i).e("action"))},[S.loading?(N(),ye(y(Ke),{key:0,class:F(y(i).is("loading"))},{default:le(()=>[ee(y(us))]),_:1},8,["class"])):y(m)?ve(S.$slots,"active-action",{key:1},()=>[S.activeActionIcon?(N(),ye(y(Ke),{key:0},{default:le(()=>[(N(),ye(bt(S.activeActionIcon)))]),_:1})):ge("v-if",!0)]):y(m)?ge("v-if",!0):ve(S.$slots,"inactive-action",{key:2},()=>[S.inactiveActionIcon?(N(),ye(y(Ke),{key:0},{default:le(()=>[(N(),ye(bt(S.inactiveActionIcon)))]),_:1})):ge("v-if",!0)])],2)],6),!S.inlinePrompt&&(S.activeIcon||S.activeText)?(N(),q("span",{key:1,class:F(y(p))},[S.activeIcon?(N(),ye(y(Ke),{key:0},{default:le(()=>[(N(),ye(bt(S.activeIcon)))]),_:1})):ge("v-if",!0),!S.activeIcon&&S.activeText?(N(),q("span",{key:1,"aria-hidden":!y(m)},Re(S.activeText),9,["aria-hidden"])):ge("v-if",!0)],2)):ge("v-if",!0)],10,["onClick"]))}}));var O2e=De(M2e,[["__file","switch.vue"]]);const P2e=pt(O2e),a2=function(e){var t;return(t=e.target)==null?void 0:t.closest("td")},R2e=function(e,t,n,r,a){if(!t&&!r&&(!a||Me(a)&&!a.length))return e;Ze(n)?n=n==="descending"?-1:1:n=n&&n<0?-1:1;const o=r?null:function(s,l){return a?(Me(a)||(a=[a]),a.map(u=>Ze(u)?Gn(s,u):u(s,l,e))):(t!=="$key"&&_t(s)&&"$value"in s&&(s=s.$value),[_t(s)?Gn(s,t):s])},i=function(s,l){if(r)return r(s.value,l.value);for(let u=0,c=s.key.length;ul.key[u])return 1}return 0};return e.map((s,l)=>({value:s,index:l,key:o?o(s,l):null})).sort((s,l)=>{let u=i(s,l);return u||(u=s.index-l.index),u*+n}).map(s=>s.value)},EW=function(e,t){let n=null;return e.columns.forEach(r=>{r.id===t&&(n=r)}),n},I2e=function(e,t){let n=null;for(let r=0;r{if(!e)throw new Error("Row is required when get row identity");if(Ze(t)){if(!t.includes("."))return`${e[t]}`;const n=t.split(".");let r=e;for(const a of n)r=r[a];return`${r}`}else if(Ge(t))return t.call(null,e)},mc=function(e,t){const n={};return(e||[]).forEach((r,a)=>{n[zr(r,t)]={row:r,index:a}}),n};function D2e(e,t){const n={};let r;for(r in e)n[r]=e[r];for(r in t)if(Vt(t,r)){const a=t[r];typeof a!="undefined"&&(n[r]=a)}return n}function x5(e){return e===""||e!==void 0&&(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function kW(e){return e===""||e!==void 0&&(e=x5(e),Number.isNaN(e)&&(e=80)),e}function L2e(e){return et(e)?e:Ze(e)?/^\d+(?:px)?$/.test(e)?Number.parseInt(e,10):e:null}function $2e(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function pb(e,t,n,r,a,o){let i=o!=null?o:0,s=!1;const l=e.indexOf(t),u=l!==-1,c=a==null?void 0:a.call(null,t,o),f=d=>{d==="add"?e.push(t):e.splice(l,1),s=!0},h=d=>{let p=0;const v=(r==null?void 0:r.children)&&d[r.children];return v&&Me(v)&&(p+=v.length,v.forEach(g=>{p+=h(g)})),p};return(!a||c)&&(hn(n)?n&&!u?f("add"):!n&&u&&f("remove"):f(u?"remove":"add")),!(r!=null&&r.checkStrictly)&&(r!=null&&r.children)&&Me(t[r.children])&&t[r.children].forEach(d=>{pb(e,d,n!=null?n:!u,r,a,i+1),i+=h(d)+1}),s}function N2e(e,t,n="children",r="hasChildren"){const a=i=>!(Me(i)&&i.length);function o(i,s,l){t(i,s,l),s.forEach(u=>{if(u[r]){t(u,null,l+1);return}const c=u[n];a(c)||o(u,c,l+1)})}e.forEach(i=>{if(i[r]){t(i,null,0);return}const s=i[n];a(s)||o(i,s,0)})}const Y6=(e,t)=>_e(X({content:t},e),{popperOptions:X({strategy:"fixed"},e.popperOptions)});let fo=null;function B2e(e,t,n,r){if((fo==null?void 0:fo.trigger)===n){HV(fo.vm.component.props,Y6(e,t));return}fo==null||fo();const a=r==null?void 0:r.refs.tableWrapper,o=a==null?void 0:a.dataset.prefix,i=ee(Kr,X({virtualTriggering:!0,virtualRef:n,appendTo:a,placement:"top",transition:"none",offset:0,hideAfter:0},Y6(e,t)));i.appContext=X(X({},r.appContext),r);const s=document.createElement("div");ss(i,s),i.component.exposed.onOpen();const l=a==null?void 0:a.querySelector(`.${o}-scrollbar__wrap`);fo=()=>{ss(null,s),l==null||l.removeEventListener("scroll",fo),fo=null},fo.trigger=n,fo.vm=i,l==null||l.addEventListener("scroll",fo)}function AW(e){return e.children?Vse(e.children,AW):[e]}function X6(e,t){return e+t.colSpan}const MW=(e,t,n,r)=>{let a=0,o=e;const i=n.states.columns.value;if(r){const l=AW(r[e]);a=i.slice(0,i.indexOf(l[0])).reduce(X6,0),o=a+l.reduce(X6,0)-1}else a=e;let s;switch(t){case"left":o=i.length-n.states.rightFixedLeafColumnsLength.value&&(s="right");break;default:o=i.length-n.states.rightFixedLeafColumnsLength.value&&(s="right")}return s?{direction:s,start:a,after:o}:{}},E5=(e,t,n,r,a,o=0)=>{const i=[],{direction:s,start:l,after:u}=MW(t,n,r,a);if(s){const c=s==="left";i.push(`${e}-fixed-column--${s}`),c&&u+o===r.states.fixedLeafColumnsLength.value-1?i.push("is-last-column"):!c&&l-o===r.states.columns.value.length-r.states.rightFixedLeafColumnsLength.value&&i.push("is-first-column")}return i};function Z6(e,t){return e+(t.realWidth===null||Number.isNaN(t.realWidth)?Number(t.width):t.realWidth)}const k5=(e,t,n,r)=>{const{direction:a,start:o=0,after:i=0}=MW(e,t,n,r);if(!a)return;const s={},l=a==="left",u=n.states.columns.value;return l?s.left=u.slice(0,o).reduce(Z6,0):s.right=u.slice(i+1).reverse().reduce(Z6,0),s},dh=(e,t)=>{e&&(Number.isNaN(e[t])||(e[t]=`${e[t]}px`))};function F2e(e){const t=st(),n=H(!1),r=H([]);return{updateExpandRows:()=>{const l=e.data.value||[],u=e.rowKey.value;if(n.value)r.value=l.slice();else if(u){const c=mc(r.value,u);r.value=l.reduce((f,h)=>{const d=zr(h,u);return c[d]&&f.push(h),f},[])}else r.value=[]},toggleRowExpansion:(l,u)=>{pb(r.value,l,u)&&t.emit("expand-change",l,r.value.slice())},setExpandRowKeys:l=>{t.store.assertRowKey();const u=e.data.value||[],c=e.rowKey.value,f=mc(u,c);r.value=l.reduce((h,d)=>{const p=f[d];return p&&h.push(p.row),h},[])},isRowExpanded:l=>{const u=e.rowKey.value;return u?!!mc(r.value,u)[zr(l,u)]:r.value.includes(l)},states:{expandRows:r,defaultExpandAll:n}}}function V2e(e){const t=st(),n=H(null),r=H(null),a=u=>{t.store.assertRowKey(),n.value=u,i(u)},o=()=>{n.value=null},i=u=>{const{data:c,rowKey:f}=e;let h=null;f.value&&(h=(y(c)||[]).find(d=>zr(d,f.value)===u)),r.value=h,t.emit("current-change",r.value,null)};return{setCurrentRowKey:a,restoreCurrentRowKey:o,setCurrentRowByKey:i,updateCurrentRow:u=>{const c=r.value;if(u&&u!==c){r.value=u,t.emit("current-change",r.value,c);return}!u&&c&&(r.value=null,t.emit("current-change",null,c))},updateCurrentRowData:()=>{const u=e.rowKey.value,c=e.data.value||[],f=r.value;if(!c.includes(f)&&f){if(u){const h=zr(f,u);i(h)}else r.value=null;r.value===null&&t.emit("current-change",null,f)}else n.value&&(i(n.value),o())},states:{_currentRowKey:n,currentRow:r}}}function z2e(e){const t=H([]),n=H({}),r=H(16),a=H(!1),o=H({}),i=H("hasChildren"),s=H("children"),l=H(!1),u=st(),c=R(()=>{if(!e.rowKey.value)return{};const _=e.data.value||[];return h(_)}),f=R(()=>{const _=e.rowKey.value,b=Object.keys(o.value),S={};return b.length&&b.forEach(C=>{if(o.value[C].length){const T={children:[]};o.value[C].forEach(x=>{const E=zr(x,_);T.children.push(E),x[i.value]&&!S[E]&&(S[E]={children:[]})}),S[C]=T}}),S}),h=_=>{const b=e.rowKey.value,S={};return N2e(_,(C,T,x)=>{const E=zr(C,b);Me(T)?S[E]={children:T.map(k=>zr(k,b)),level:x}:a.value&&(S[E]={children:[],lazy:!0,level:x})},s.value,i.value),S},d=(_=!1,b=(S=>(S=u.store)==null?void 0:S.states.defaultExpandAll.value)())=>{var S;const C=c.value,T=f.value,x=Object.keys(C),E={};if(x.length){const k=y(n),A=[],P=(B,I)=>{if(_)return t.value?b||t.value.includes(I):!!(b||B!=null&&B.expanded);{const M=b||t.value&&t.value.includes(I);return!!(B!=null&&B.expanded||M)}};x.forEach(B=>{const I=k[B],M=X({},C[B]);if(M.expanded=P(I,B),M.lazy){const{loaded:L=!1,loading:O=!1}=I||{};M.loaded=!!L,M.loading=!!O,A.push(B)}E[B]=M});const $=Object.keys(T);a.value&&$.length&&A.length&&$.forEach(B=>{const I=k[B],M=T[B].children;if(A.includes(B)){if(E[B].children.length!==0)throw new Error("[ElTable]children must be an empty array.");E[B].children=M}else{const{loaded:L=!1,loading:O=!1}=I||{};E[B]={lazy:!0,loaded:!!L,loading:!!O,expanded:P(I,B),children:M,level:""}}})}n.value=E,(S=u.store)==null||S.updateTableScrollY()};xe(()=>t.value,()=>{d(!0)}),xe(()=>c.value,()=>{d()}),xe(()=>f.value,()=>{d()});const p=_=>{t.value=_,d()},v=(_,b)=>{u.store.assertRowKey();const S=e.rowKey.value,C=zr(_,S),T=C&&n.value[C];if(C&&T&&"expanded"in T){const x=T.expanded;b=_n(b)?!T.expanded:b,n.value[C].expanded=b,x!==b&&u.emit("expand-change",_,b),u.store.updateTableScrollY()}},g=_=>{u.store.assertRowKey();const b=e.rowKey.value,S=zr(_,b),C=n.value[S];a.value&&C&&"loaded"in C&&!C.loaded?m(_,S,C):v(_,void 0)},m=(_,b,S)=>{const{load:C}=u.props;C&&!n.value[b].loaded&&(n.value[b].loading=!0,C(_,S,T=>{if(!Me(T))throw new TypeError("[ElTable] data must be an array");n.value[b].loading=!1,n.value[b].loaded=!0,n.value[b].expanded=!0,T.length&&(o.value[b]=T),u.emit("expand-change",_,!0)}))};return{loadData:m,loadOrToggle:g,toggleTreeExpansion:v,updateTreeExpandKeys:p,updateTreeData:d,updateKeyChildren:(_,b)=>{const{lazy:S,rowKey:C}=u.props;if(S){if(!C)throw new Error("[Table] rowKey is required in updateKeyChild");o.value[_]&&(o.value[_]=b)}},normalize:h,states:{expandRowKeys:t,treeData:n,indent:r,lazy:a,lazyTreeNodeMap:o,lazyColumnIdentifier:i,childrenColumnName:s,checkStrictly:l}}}const H2e=(e,t)=>{const n=t.sortingColumn;return!n||Ze(n.sortable)?e:R2e(e,t.sortProp,t.sortOrder,n.sortMethod,n.sortBy)},Jy=e=>{const t=[];return e.forEach(n=>{n.children&&n.children.length>0?t.push.apply(t,Jy(n.children)):t.push(n)}),t};function W2e(){var e;const t=st(),{size:n}=rr((e=t.proxy)==null?void 0:e.$props),r=H(null),a=H([]),o=H([]),i=H(!1),s=H([]),l=H([]),u=H([]),c=H([]),f=H([]),h=H([]),d=H([]),p=H([]),v=[],g=H(0),m=H(0),w=H(0),_=H(!1),b=H([]),S=H(!1),C=H(!1),T=H(null),x=H({}),E=H(null),k=H(null),A=H(null),P=H(null),$=H(null);xe(a,()=>{var Se;t.state&&(O(!1),t.props.tableLayout==="auto"&&((Se=t.refs.tableHeaderRef)==null||Se.updateFixedColumnStyle()))},{deep:!0});const B=()=>{if(!r.value)throw new Error("[ElTable] prop row-key is required")},I=Se=>{var Ne;(Ne=Se.children)==null||Ne.forEach(Y=>{Y.fixed=Se.fixed,I(Y)})};let M;const L=()=>{s.value.forEach(W=>{I(W)}),c.value=s.value.filter(W=>W.fixed===!0||W.fixed==="left"),f.value=s.value.filter(W=>W.fixed==="right"),_n(M)&&s.value[0]&&s.value[0].type==="selection"&&(M=!!s.value[0].fixed),c.value.length>0&&s.value[0]&&s.value[0].type==="selection"&&(s.value[0].fixed?c.value.some(Ee=>Ee.type!=="selection")?M=void 0:(s.value[0].fixed=M,M||c.value.shift()):(s.value[0].fixed=!0,c.value.unshift(s.value[0])));const Se=s.value.filter(W=>!W.fixed);l.value=[].concat(c.value).concat(Se).concat(f.value);const Ne=Jy(Se),Y=Jy(c.value),J=Jy(f.value);g.value=Ne.length,m.value=Y.length,w.value=J.length,u.value=[].concat(Y).concat(Ne).concat(J),i.value=c.value.length>0||f.value.length>0},O=(Se,Ne=!1)=>{Se&&L(),Ne?t.state.doLayout():t.state.debouncedUpdateLayout()},D=Se=>b.value.some(Ne=>Cr(Ne,Se)),z=()=>{_.value=!1;const Se=b.value;b.value=[],Se.length&&t.emit("selection-change",[])},V=()=>{let Se;if(r.value){Se=[];const Ne=mc(b.value,r.value),Y=mc(a.value,r.value);for(const J in Ne)Vt(Ne,J)&&!Y[J]&&Se.push(Ne[J].row)}else Se=b.value.filter(Ne=>!a.value.includes(Ne));if(Se.length){const Ne=b.value.filter(Y=>!Se.includes(Y));b.value=Ne,t.emit("selection-change",Ne.slice())}},j=()=>(b.value||[]).slice(),U=(Se,Ne,Y=!0,J=!1)=>{var W,Ee,Fe,tt;const at={children:(Ee=(W=t==null?void 0:t.store)==null?void 0:W.states)==null?void 0:Ee.childrenColumnName.value,checkStrictly:(tt=(Fe=t==null?void 0:t.store)==null?void 0:Fe.states)==null?void 0:tt.checkStrictly.value};if(pb(b.value,Se,Ne,at,J?void 0:T.value)){const bn=(b.value||[]).slice();Y&&t.emit("select",bn,Se),t.emit("selection-change",bn)}},ne=()=>{var Se,Ne;const Y=C.value?!_.value:!(_.value||b.value.length);_.value=Y;let J=!1,W=0;const Ee=(Ne=(Se=t==null?void 0:t.store)==null?void 0:Se.states)==null?void 0:Ne.rowKey.value,{childrenColumnName:Fe}=t.store.states,tt={children:Fe.value,checkStrictly:!1};a.value.forEach((at,kn)=>{const bn=kn+W;pb(b.value,at,Y,tt,T.value,bn)&&(J=!0),W+=G(zr(at,Ee))}),J&&t.emit("selection-change",b.value?b.value.slice():[]),t.emit("select-all",(b.value||[]).slice())},ie=()=>{const Se=mc(b.value,r.value);a.value.forEach(Ne=>{const Y=zr(Ne,r.value),J=Se[Y];J&&(b.value[J.index]=Ne)})},fe=()=>{var Se;if(((Se=a.value)==null?void 0:Se.length)===0){_.value=!1;return}const{childrenColumnName:Ne}=t.store.states,Y=r.value?mc(b.value,r.value):void 0;let J=0,W=0;const Ee=at=>Y?!!Y[zr(at,r.value)]:b.value.includes(at),Fe=at=>{var kn;for(const bn of at){const Nt=T.value&&T.value.call(null,bn,J);if(Ee(bn))W++;else if(!T.value||Nt)return!1;if(J++,(kn=bn[Ne.value])!=null&&kn.length&&!Fe(bn[Ne.value]))return!1}return!0},tt=Fe(a.value||[]);_.value=W===0?!1:tt},G=Se=>{var Ne;if(!t||!t.store)return 0;const{treeData:Y}=t.store.states;let J=0;const W=(Ne=Y.value[Se])==null?void 0:Ne.children;return W&&(J+=W.length,W.forEach(Ee=>{J+=G(Ee)})),J},oe=(Se,Ne)=>{Me(Se)||(Se=[Se]);const Y={};return Se.forEach(J=>{x.value[J.id]=Ne,Y[J.columnKey||J.id]=Ne}),Y},se=(Se,Ne,Y)=>{k.value&&k.value!==Se&&(k.value.order=null),k.value=Se,A.value=Ne,P.value=Y},ue=()=>{let Se=y(o);Object.keys(x.value).forEach(Ne=>{const Y=x.value[Ne];if(!Y||Y.length===0)return;const J=EW({columns:u.value},Ne);J&&J.filterMethod&&(Se=Se.filter(W=>Y.some(Ee=>J.filterMethod.call(null,Ee,W,J))))}),E.value=Se},he=()=>{a.value=H2e(E.value,{sortingColumn:k.value,sortProp:A.value,sortOrder:P.value})},ae=(Se=void 0)=>{Se&&Se.filter||ue(),he()},K=Se=>{const{tableHeaderRef:Ne}=t.refs;if(!Ne)return;const Y=Object.assign({},Ne.filterPanels),J=Object.keys(Y);if(J.length)if(Ze(Se)&&(Se=[Se]),Me(Se)){const W=Se.map(Ee=>I2e({columns:u.value},Ee));J.forEach(Ee=>{const Fe=W.find(tt=>tt.id===Ee);Fe&&(Fe.filteredValue=[])}),t.store.commit("filterChange",{column:W,values:[],silent:!0,multi:!0})}else J.forEach(W=>{const Ee=u.value.find(Fe=>Fe.id===W);Ee&&(Ee.filteredValue=[])}),x.value={},t.store.commit("filterChange",{column:{},values:[],silent:!0})},Q=()=>{k.value&&(se(null,null,null),t.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:pe,toggleRowExpansion:we,updateExpandRows:me,states:be,isRowExpanded:Ce}=F2e({data:a,rowKey:r}),{updateTreeExpandKeys:ke,toggleTreeExpansion:Oe,updateTreeData:Pe,updateKeyChildren:He,loadOrToggle:Te,states:Be}=z2e({data:a,rowKey:r}),{updateCurrentRowData:Je,updateCurrentRow:dt,setCurrentRowKey:ct,states:wt}=V2e({data:a,rowKey:r});return{assertRowKey:B,updateColumns:L,scheduleLayout:O,isSelected:D,clearSelection:z,cleanSelection:V,getSelectionRows:j,toggleRowSelection:U,_toggleAllSelection:ne,toggleAllSelection:null,updateSelectionByRowKey:ie,updateAllSelected:fe,updateFilters:oe,updateCurrentRow:dt,updateSort:se,execFilter:ue,execSort:he,execQuery:ae,clearFilter:K,clearSort:Q,toggleRowExpansion:we,setExpandRowKeysAdapter:Se=>{pe(Se),ke(Se)},setCurrentRowKey:ct,toggleRowExpansionAdapter:(Se,Ne)=>{u.value.some(({type:J})=>J==="expand")?we(Se,Ne):Oe(Se,Ne)},isRowExpanded:Ce,updateExpandRows:me,updateCurrentRowData:Je,loadOrToggle:Te,updateTreeData:Pe,updateKeyChildren:He,states:X(X(X({tableSize:n,rowKey:r,data:a,_data:o,isComplex:i,_columns:s,originColumns:l,columns:u,fixedColumns:c,rightFixedColumns:f,leafColumns:h,fixedLeafColumns:d,rightFixedLeafColumns:p,updateOrderFns:v,leafColumnsLength:g,fixedLeafColumnsLength:m,rightFixedLeafColumnsLength:w,isAllSelected:_,selection:b,reserveSelection:S,selectOnIndeterminate:C,selectable:T,filters:x,filteredData:E,sortingColumn:k,sortProp:A,sortOrder:P,hoverRow:$},be),Be),wt)}}function sE(e,t){return e.map(n=>{var r;return n.id===t.id?t:((r=n.children)!=null&&r.length&&(n.children=sE(n.children,t)),n)})}function lE(e){e.forEach(t=>{var n,r;t.no=(n=t.getColumnIndex)==null?void 0:n.call(t),(r=t.children)!=null&&r.length&&lE(t.children)}),e.sort((t,n)=>t.no-n.no)}function U2e(){const e=st(),t=W2e(),n=Ae("table"),r={setData(i,s){const l=y(i._data)!==s;i.data.value=s,i._data.value=s,e.store.execQuery(),e.store.updateCurrentRowData(),e.store.updateExpandRows(),e.store.updateTreeData(e.store.states.defaultExpandAll.value),y(i.reserveSelection)?(e.store.assertRowKey(),e.store.updateSelectionByRowKey()):l?e.store.clearSelection():e.store.cleanSelection(),e.store.updateAllSelected(),e.$ready&&e.store.scheduleLayout()},insertColumn(i,s,l,u){const c=y(i._columns);let f=[];l?(l&&!l.children&&(l.children=[]),l.children.push(s),f=sE(c,l)):(c.push(s),f=c),lE(f),i._columns.value=f,i.updateOrderFns.push(u),s.type==="selection"&&(i.selectable.value=s.selectable,i.reserveSelection.value=s.reserveSelection),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},updateColumnOrder(i,s){var l;((l=s.getColumnIndex)==null?void 0:l.call(s))!==s.no&&(lE(i._columns.value),e.$ready&&e.store.updateColumns())},removeColumn(i,s,l,u){const c=y(i._columns)||[];if(l)l.children.splice(l.children.findIndex(h=>h.id===s.id),1),qe(()=>{var h;((h=l.children)==null?void 0:h.length)===0&&delete l.children}),i._columns.value=sE(c,l);else{const h=c.indexOf(s);h>-1&&(c.splice(h,1),i._columns.value=c)}const f=i.updateOrderFns.indexOf(u);f>-1&&i.updateOrderFns.splice(f,1),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},sort(i,s){const{prop:l,order:u,init:c}=s;if(l){const f=y(i.columns).find(h=>h.property===l);f&&(f.order=u,e.store.updateSort(f,l,u),e.store.commit("changeSortCondition",{init:c}))}},changeSortCondition(i,s){const{sortingColumn:l,sortProp:u,sortOrder:c}=i,f=y(l),h=y(u),d=y(c);d===null&&(i.sortingColumn.value=null,i.sortProp.value=null);const p={filter:!0};e.store.execQuery(p),(!s||!(s.silent||s.init))&&e.emit("sort-change",{column:f,prop:h,order:d}),e.store.updateTableScrollY()},filterChange(i,s){const{column:l,values:u,silent:c}=s,f=e.store.updateFilters(l,u);e.store.execQuery(),c||e.emit("filter-change",f),e.store.updateTableScrollY()},toggleAllSelection(){e.store.toggleAllSelection()},rowSelectedChanged(i,s){e.store.toggleRowSelection(s),e.store.updateAllSelected()},setHoverRow(i,s){i.hoverRow.value=s},setCurrentRow(i,s){e.store.updateCurrentRow(s)}},a=function(i,...s){const l=e.store.mutations;if(l[i])l[i].apply(e,[e.store.states].concat(s));else throw new Error(`Action not found: ${i}`)},o=function(){qe(()=>e.layout.updateScrollY.apply(e.layout))};return _e(X({ns:n},t),{mutations:r,commit:a,updateTableScrollY:o})}const bv={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy",data:"data","treeProps.hasChildren":{key:"lazyColumnIdentifier",default:"hasChildren"},"treeProps.children":{key:"childrenColumnName",default:"children"},"treeProps.checkStrictly":{key:"checkStrictly",default:!1}};function j2e(e,t){if(!e)throw new Error("Table is required.");const n=U2e();return n.toggleAllSelection=Fa(n._toggleAllSelection,10),Object.keys(bv).forEach(r=>{OW(PW(t,r),r,n)}),K2e(n,t),n}function K2e(e,t){Object.keys(bv).forEach(n=>{xe(()=>PW(t,n),r=>{OW(r,n,e)})})}function OW(e,t,n){let r=e,a=bv[t];typeof bv[t]=="object"&&(a=a.key,r=r||bv[t].default),n.states[a].value=r}function PW(e,t){if(t.includes(".")){const n=t.split(".");let r=e;return n.forEach(a=>{r=r[a]}),r}else return e[t]}class G2e{constructor(t){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=H(null),this.scrollX=H(!1),this.scrollY=H(!1),this.bodyWidth=H(null),this.fixedWidth=H(null),this.rightFixedWidth=H(null),this.gutterWidth=0;for(const n in t)Vt(t,n)&&(Gt(this[n])?this[n].value=t[n]:this[n]=t[n]);if(!this.table)throw new Error("Table is required for Table Layout");if(!this.store)throw new Error("Store is required for Table Layout")}updateScrollY(){if(this.height.value===null)return!1;const n=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(n!=null&&n.wrapRef)){let r=!0;const a=this.scrollY.value;return r=n.wrapRef.scrollHeight>n.wrapRef.clientHeight,this.scrollY.value=r,a!==r}return!1}setHeight(t,n="height"){if(!Bt)return;const r=this.table.vnode.el;if(t=L2e(t),this.height.value=Number(t),!r&&(t||t===0))return qe(()=>this.setHeight(t,n));et(t)?(r.style[n]=`${t}px`,this.updateElsHeight()):Ze(t)&&(r.style[n]=t,this.updateElsHeight())}setMaxHeight(t){this.setHeight(t,"max-height")}getFlattenColumns(){const t=[];return this.table.store.states.columns.value.forEach(r=>{r.isColumnGroup?t.push.apply(t,r.columns):t.push(r)}),t}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(t){if(!t)return!0;let n=t;for(;n.tagName!=="DIV";){if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}updateColumnsWidth(){if(!Bt)return;const t=this.fit,n=this.table.vnode.el.clientWidth;let r=0;const a=this.getFlattenColumns(),o=a.filter(l=>!et(l.width));if(a.forEach(l=>{et(l.width)&&l.realWidth&&(l.realWidth=null)}),o.length>0&&t){if(a.forEach(l=>{r+=Number(l.width||l.minWidth||80)}),r<=n){this.scrollX.value=!1;const l=n-r;if(o.length===1)o[0].realWidth=Number(o[0].minWidth||80)+l;else{const u=o.reduce((h,d)=>h+Number(d.minWidth||80),0),c=l/u;let f=0;o.forEach((h,d)=>{if(d===0)return;const p=Math.floor(Number(h.minWidth||80)*c);f+=p,h.realWidth=Number(h.minWidth||80)+p}),o[0].realWidth=Number(o[0].minWidth||80)+l-f}}else this.scrollX.value=!0,o.forEach(l=>{l.realWidth=Number(l.minWidth)});this.bodyWidth.value=Math.max(r,n),this.table.state.resizeState.value.width=this.bodyWidth.value}else a.forEach(l=>{!l.width&&!l.minWidth?l.realWidth=80:l.realWidth=Number(l.width||l.minWidth),r+=l.realWidth}),this.scrollX.value=r>n,this.bodyWidth.value=r;const i=this.store.states.fixedColumns.value;if(i.length>0){let l=0;i.forEach(u=>{l+=Number(u.realWidth||u.width)}),this.fixedWidth.value=l}const s=this.store.states.rightFixedColumns.value;if(s.length>0){let l=0;s.forEach(u=>{l+=Number(u.realWidth||u.width)}),this.rightFixedWidth.value=l}this.notifyObservers("columns")}addObserver(t){this.observers.push(t)}removeObserver(t){const n=this.observers.indexOf(t);n!==-1&&this.observers.splice(n,1)}notifyObservers(t){this.observers.forEach(r=>{var a,o;switch(t){case"columns":(a=r.state)==null||a.onColumnsChange(this);break;case"scrollable":(o=r.state)==null||o.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${t}.`)}})}}const{CheckboxGroup:q2e}=Do,Y2e=te({name:"ElTableFilterPanel",components:{ElCheckbox:Do,ElCheckboxGroup:q2e,ElScrollbar:nl,ElTooltip:Kr,ElIcon:Ke,ArrowDown:tl,ArrowUp:P3},directives:{ClickOutside:Gs},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function},appendTo:{type:String}},setup(e){const t=st(),{t:n}=$t(),r=Ae("table-filter"),a=t==null?void 0:t.parent;a.filterPanels.value[e.column.id]||(a.filterPanels.value[e.column.id]=t);const o=H(!1),i=H(null),s=R(()=>e.column&&e.column.filters),l=R(()=>e.column.filterClassName?`${r.b()} ${e.column.filterClassName}`:r.b()),u=R({get:()=>{var S;return(((S=e.column)==null?void 0:S.filteredValue)||[])[0]},set:S=>{c.value&&(typeof S!="undefined"&&S!==null?c.value.splice(0,1,S):c.value.splice(0,1))}}),c=R({get(){return e.column?e.column.filteredValue||[]:[]},set(S){e.column&&e.upDataColumn("filteredValue",S)}}),f=R(()=>e.column?e.column.filterMultiple:!0),h=S=>S.value===u.value,d=()=>{o.value=!1},p=S=>{S.stopPropagation(),o.value=!o.value},v=()=>{o.value=!1},g=()=>{_(c.value),d()},m=()=>{c.value=[],_(c.value),d()},w=S=>{u.value=S,_(typeof S!="undefined"&&S!==null?c.value:[]),d()},_=S=>{e.store.commit("filterChange",{column:e.column,values:S}),e.store.updateAllSelected()};xe(o,S=>{e.column&&e.upDataColumn("filterOpened",S)},{immediate:!0});const b=R(()=>{var S,C;return(C=(S=i.value)==null?void 0:S.popperRef)==null?void 0:C.contentRef});return{tooltipVisible:o,multiple:f,filterClassName:l,filteredValue:c,filterValue:u,filters:s,handleConfirm:g,handleReset:m,handleSelect:w,isActive:h,t:n,ns:r,showFilterPanel:p,hideFilterPanel:v,popperPaneRef:b,tooltip:i}}});function X2e(e,t,n,r,a,o){const i=gt("el-checkbox"),s=gt("el-checkbox-group"),l=gt("el-scrollbar"),u=gt("arrow-up"),c=gt("arrow-down"),f=gt("el-icon"),h=gt("el-tooltip"),d=Nh("click-outside");return N(),ye(h,{ref:"tooltip",visible:e.tooltipVisible,offset:0,placement:e.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,teleported:"",effect:"light",pure:"","popper-class":e.filterClassName,persistent:"","append-to":e.appendTo},{content:le(()=>[e.multiple?(N(),q("div",{key:0},[Z("div",{class:F(e.ns.e("content"))},[ee(l,{"wrap-class":e.ns.e("wrap")},{default:le(()=>[ee(s,{modelValue:e.filteredValue,"onUpdate:modelValue":p=>e.filteredValue=p,class:F(e.ns.e("checkbox-group"))},{default:le(()=>[(N(!0),q(je,null,Rt(e.filters,p=>(N(),ye(i,{key:p.value,value:p.value},{default:le(()=>[At(Re(p.text),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue","class"])]),_:1},8,["wrap-class"])],2),Z("div",{class:F(e.ns.e("bottom"))},[Z("button",{class:F({[e.ns.is("disabled")]:e.filteredValue.length===0}),disabled:e.filteredValue.length===0,type:"button",onClick:e.handleConfirm},Re(e.t("el.table.confirmFilter")),11,["disabled","onClick"]),Z("button",{type:"button",onClick:e.handleReset},Re(e.t("el.table.resetFilter")),9,["onClick"])],2)])):(N(),q("ul",{key:1,class:F(e.ns.e("list"))},[Z("li",{class:F([e.ns.e("list-item"),{[e.ns.is("active")]:e.filterValue===void 0||e.filterValue===null}]),onClick:p=>e.handleSelect(null)},Re(e.t("el.table.clearFilter")),11,["onClick"]),(N(!0),q(je,null,Rt(e.filters,p=>(N(),q("li",{key:p.value,class:F([e.ns.e("list-item"),e.ns.is("active",e.isActive(p))]),label:p.value,onClick:v=>e.handleSelect(p.value)},Re(p.text),11,["label","onClick"]))),128))],2))]),default:le(()=>[vt((N(),q("span",{class:F([`${e.ns.namespace.value}-table__column-filter-trigger`,`${e.ns.namespace.value}-none-outline`]),onClick:e.showFilterPanel},[ee(f,null,{default:le(()=>[ve(e.$slots,"filter-icon",{},()=>[e.column.filterOpened?(N(),ye(u,{key:0})):(N(),ye(c,{key:1}))])]),_:3})],10,["onClick"])),[[d,e.hideFilterPanel,e.popperPaneRef]])]),_:3},8,["visible","placement","popper-class","append-to"])}var Z2e=De(Y2e,[["render",X2e],["__file","filter-panel.vue"]]);function RW(e){const t=st();lm(()=>{n.value.addObserver(t)}),ft(()=>{r(n.value),a(n.value)}),oo(()=>{r(n.value),a(n.value)}),Vo(()=>{n.value.removeObserver(t)});const n=R(()=>{const o=e.layout;if(!o)throw new Error("Can not find table layout.");return o}),r=o=>{var i;const s=((i=e.vnode.el)==null?void 0:i.querySelectorAll("colgroup > col"))||[];if(!s.length)return;const l=o.getFlattenColumns(),u={};l.forEach(c=>{u[c.id]=c});for(let c=0,f=s.length;c{var i,s;const l=((i=e.vnode.el)==null?void 0:i.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let c=0,f=l.length;c{v.stopPropagation()},o=(v,g)=>{!g.filters&&g.sortable?p(v,g,!1):g.filterable&&!g.sortable&&a(v),r==null||r.emit("header-click",g,v)},i=(v,g)=>{r==null||r.emit("header-contextmenu",g,v)},s=H(null),l=H(!1),u=H({}),c=(v,g)=>{if(Bt&&!(g.children&&g.children.length>0)&&s.value&&e.border){l.value=!0;const m=r;t("set-drag-visible",!0);const _=(m==null?void 0:m.vnode.el).getBoundingClientRect().left,b=n.vnode.el.querySelector(`th.${g.id}`),S=b.getBoundingClientRect(),C=S.left-_+30;Co(b,"noclick"),u.value={startMouseLeft:v.clientX,startLeft:S.right-_,startColumnLeft:S.left-_,tableLeft:_};const T=m==null?void 0:m.refs.resizeProxy;T.style.left=`${u.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const x=k=>{const A=k.clientX-u.value.startMouseLeft,P=u.value.startLeft+A;T.style.left=`${Math.max(C,P)}px`},E=()=>{if(l.value){const{startColumnLeft:k,startLeft:A}=u.value,$=Number.parseInt(T.style.left,10)-k;g.width=g.realWidth=$,m==null||m.emit("header-dragend",g.width,A-k,g,v),requestAnimationFrame(()=>{e.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",l.value=!1,s.value=null,u.value={},t("set-drag-visible",!1)}document.removeEventListener("mousemove",x),document.removeEventListener("mouseup",E),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{Ur(b,"noclick")},0)};document.addEventListener("mousemove",x),document.addEventListener("mouseup",E)}},f=(v,g)=>{var m;if(g.children&&g.children.length>0)return;const w=v.target;if(!to(w))return;const _=w==null?void 0:w.closest("th");if(!(!g||!g.resizable||!_)&&!l.value&&e.border){const b=_.getBoundingClientRect(),S=document.body.style,C=((m=_.parentNode)==null?void 0:m.lastElementChild)===_;b.width>12&&b.right-v.pageX<8&&!C?(S.cursor="col-resize",Ra(_,"is-sortable")&&(_.style.cursor="col-resize"),s.value=g):l.value||(S.cursor="",Ra(_,"is-sortable")&&(_.style.cursor="pointer"),s.value=null)}},h=()=>{Bt&&(document.body.style.cursor="")},d=({order:v,sortOrders:g})=>{if(v==="")return g[0];const m=g.indexOf(v||null);return g[m>g.length-2?0:m+1]},p=(v,g,m)=>{var w;v.stopPropagation();const _=g.order===m?null:m||d(g),b=(w=v.target)==null?void 0:w.closest("th");if(b&&Ra(b,"noclick")){Ur(b,"noclick");return}if(!g.sortable)return;const S=v.currentTarget;if(["ascending","descending"].some(k=>Ra(S,k)&&!g.sortOrders.includes(k)))return;const C=e.store.states;let T=C.sortProp.value,x;const E=C.sortingColumn.value;(E!==g||E===g&&E.order===null)&&(E&&(E.order=null),C.sortingColumn.value=g,T=g.property),_?x=g.order=_:x=g.order=null,C.sortProp.value=T,C.sortOrder.value=x,r==null||r.store.commit("changeSortCondition")};return{handleHeaderClick:o,handleHeaderContextMenu:i,handleMouseDown:c,handleMouseMove:f,handleMouseOut:h,handleSortClick:p,handleFilterClick:a}}function Q2e(e){const t=ze(bs),n=Ae("table");return{getHeaderRowStyle:s=>{const l=t==null?void 0:t.props.headerRowStyle;return Ge(l)?l.call(null,{rowIndex:s}):l},getHeaderRowClass:s=>{const l=[],u=t==null?void 0:t.props.headerRowClassName;return Ze(u)?l.push(u):Ge(u)&&l.push(u.call(null,{rowIndex:s})),l.join(" ")},getHeaderCellStyle:(s,l,u,c)=>{var f;let h=(f=t==null?void 0:t.props.headerCellStyle)!=null?f:{};Ge(h)&&(h=h.call(null,{rowIndex:s,columnIndex:l,row:u,column:c}));const d=k5(l,c.fixed,e.store,u);return dh(d,"left"),dh(d,"right"),Object.assign({},h,d)},getHeaderCellClass:(s,l,u,c)=>{const f=E5(n.b(),l,c.fixed,e.store,u),h=[c.id,c.order,c.headerAlign,c.className,c.labelClassName,...f];c.children||h.push("is-leaf"),c.sortable&&h.push("is-sortable");const d=t==null?void 0:t.props.headerCellClassName;return Ze(d)?h.push(d):Ge(d)&&h.push(d.call(null,{rowIndex:s,columnIndex:l,row:u,column:c})),h.push(n.e("cell")),h.filter(p=>!!p).join(" ")}}}const IW=e=>{const t=[];return e.forEach(n=>{n.children?(t.push(n),t.push.apply(t,IW(n.children))):t.push(n)}),t},DW=e=>{let t=1;const n=(o,i)=>{if(i&&(o.level=i.level+1,t{n(l,o),s+=l.colSpan}),o.colSpan=s}else o.colSpan=1};e.forEach(o=>{o.level=1,n(o,void 0)});const r=[];for(let o=0;o{o.children?(o.rowSpan=1,o.children.forEach(i=>i.isSubColumn=!0)):o.rowSpan=t-o.level+1,r[o.level-1].push(o)}),r};function eCe(e){const t=ze(bs),n=R(()=>DW(e.store.states.originColumns.value));return{isGroup:R(()=>{const o=n.value.length>1;return o&&t&&(t.state.isGroup.value=!0),o}),toggleAllSelection:o=>{o.stopPropagation(),t==null||t.store.commit("toggleAllSelection")},columnRows:n}}var tCe=te({name:"ElTableHeader",components:{ElCheckbox:Do},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})},appendFilterPanelTo:{type:String}},setup(e,{emit:t}){const n=st(),r=ze(bs),a=Ae("table"),o=H({}),{onColumnsChange:i,onScrollableChange:s}=RW(r),l=(r==null?void 0:r.props.tableLayout)==="auto",u=zt(new Map),c=H(),f=()=>{setTimeout(()=>{u.size>0&&(u.forEach((k,A)=>{const P=c.value.querySelector(`.${A.replace(/\s/g,".")}`);if(P){const $=P.getBoundingClientRect().width;k.width=$}}),u.clear())})};xe(u,f),ft(()=>ut(this,null,function*(){yield qe(),yield qe();const{prop:k,order:A}=e.defaultSort;r==null||r.store.commit("sort",{prop:k,order:A,init:!0}),f()}));const{handleHeaderClick:h,handleHeaderContextMenu:d,handleMouseDown:p,handleMouseMove:v,handleMouseOut:g,handleSortClick:m,handleFilterClick:w}=J2e(e,t),{getHeaderRowStyle:_,getHeaderRowClass:b,getHeaderCellStyle:S,getHeaderCellClass:C}=Q2e(e),{isGroup:T,toggleAllSelection:x,columnRows:E}=eCe(e);return n.state={onColumnsChange:i,onScrollableChange:s},n.filterPanels=o,{ns:a,filterPanels:o,onColumnsChange:i,onScrollableChange:s,columnRows:E,getHeaderRowClass:b,getHeaderRowStyle:_,getHeaderCellClass:C,getHeaderCellStyle:S,handleHeaderClick:h,handleHeaderContextMenu:d,handleMouseDown:p,handleMouseMove:v,handleMouseOut:g,handleSortClick:m,handleFilterClick:w,isGroup:T,toggleAllSelection:x,saveIndexSelection:u,isTableLayoutAuto:l,theadRef:c,updateFixedColumnStyle:f}},render(){const{ns:e,isGroup:t,columnRows:n,getHeaderCellStyle:r,getHeaderCellClass:a,getHeaderRowClass:o,getHeaderRowStyle:i,handleHeaderClick:s,handleHeaderContextMenu:l,handleMouseDown:u,handleMouseMove:c,handleSortClick:f,handleMouseOut:h,store:d,$parent:p,saveIndexSelection:v,isTableLayoutAuto:g}=this;let m=1;return We("thead",{ref:"theadRef",class:{[e.is("group")]:t}},n.map((w,_)=>We("tr",{class:o(_),key:_,style:i(_)},w.map((b,S)=>{b.rowSpan>m&&(m=b.rowSpan);const C=a(_,S,w,b);return g&&b.fixed&&v.set(C,b),We("th",{class:C,colspan:b.colSpan,key:`${b.id}-thead`,rowspan:b.rowSpan,style:r(_,S,w,b),onClick:T=>{T.currentTarget.classList.contains("noclick")||s(T,b)},onContextmenu:T=>l(T,b),onMousedown:T=>u(T,b),onMousemove:T=>c(T,b),onMouseout:h},[We("div",{class:["cell",b.filteredValue&&b.filteredValue.length>0?"highlight":""]},[b.renderHeader?b.renderHeader({column:b,$index:S,store:d,_self:p}):b.label,b.sortable&&We("span",{onClick:T=>f(T,b),class:"caret-wrapper"},[We("i",{onClick:T=>f(T,b,"ascending"),class:"sort-caret ascending"}),We("i",{onClick:T=>f(T,b,"descending"),class:"sort-caret descending"})]),b.filterable&&We(Z2e,{store:d,placement:b.filterPlacement||"bottom-start",appendTo:p.appendFilterPanelTo,column:b,upDataColumn:(T,x)=>{b[T]=x}},{"filter-icon":()=>b.renderFilterIcon?b.renderFilterIcon({filterOpened:b.filterOpened}):null})])])}))))}});function o2(e,t,n=.03){return e-t>n}function nCe(e){const t=ze(bs),n=H(""),r=H(We("div")),a=(p,v,g)=>{var m;const w=t,_=a2(p);let b;const S=(m=w==null?void 0:w.vnode.el)==null?void 0:m.dataset.prefix;_&&(b=q6({columns:e.store.states.columns.value},_,S),b&&(w==null||w.emit(`cell-${g}`,v,b,_,p))),w==null||w.emit(`row-${g}`,v,b,p)},o=(p,v)=>{a(p,v,"dblclick")},i=(p,v)=>{e.store.commit("setCurrentRow",v),a(p,v,"click")},s=(p,v)=>{a(p,v,"contextmenu")},l=Fa(p=>{e.store.commit("setHoverRow",p)},30),u=Fa(()=>{e.store.commit("setHoverRow",null)},30),c=p=>{const v=window.getComputedStyle(p,null),g=Number.parseInt(v.paddingLeft,10)||0,m=Number.parseInt(v.paddingRight,10)||0,w=Number.parseInt(v.paddingTop,10)||0,_=Number.parseInt(v.paddingBottom,10)||0;return{left:g,right:m,top:w,bottom:_}},f=(p,v,g)=>{let m=v.target.parentNode;for(;p>1&&(m=m==null?void 0:m.nextSibling,!(!m||m.nodeName!=="TR"));)g(m,"hover-row hover-fixed-row"),p--};return{handleDoubleClick:o,handleClick:i,handleContextMenu:s,handleMouseEnter:l,handleMouseLeave:u,handleCellMouseEnter:(p,v,g)=>{var m;const w=t,_=a2(p),b=(m=w==null?void 0:w.vnode.el)==null?void 0:m.dataset.prefix;if(_){const L=q6({columns:e.store.states.columns.value},_,b);_.rowSpan>1&&f(_.rowSpan,p,Co);const O=w.hoverState={cell:_,column:L,row:v};w==null||w.emit("cell-mouse-enter",O.row,O.column,O.cell,p)}if(!g)return;const S=p.target.querySelector(".cell");if(!(Ra(S,`${b}-tooltip`)&&S.childNodes.length))return;const C=document.createRange();C.setStart(S,0),C.setEnd(S,S.childNodes.length);const{width:T,height:x}=C.getBoundingClientRect(),{width:E,height:k}=S.getBoundingClientRect(),{top:A,left:P,right:$,bottom:B}=c(S),I=P+$,M=A+B;(o2(T+I,E)||o2(x+M,k)||o2(S.scrollWidth,E))&&B2e(g,_.innerText||_.textContent,_,w)},handleCellMouseLeave:p=>{const v=a2(p);if(!v)return;v.rowSpan>1&&f(v.rowSpan,p,Ur);const g=t==null?void 0:t.hoverState;t==null||t.emit("cell-mouse-leave",g==null?void 0:g.row,g==null?void 0:g.column,g==null?void 0:g.cell,p)},tooltipContent:n,tooltipTrigger:r}}function rCe(e){const t=ze(bs),n=Ae("table");return{getRowStyle:(u,c)=>{const f=t==null?void 0:t.props.rowStyle;return Ge(f)?f.call(null,{row:u,rowIndex:c}):f||null},getRowClass:(u,c)=>{const f=[n.e("row")];t!=null&&t.props.highlightCurrentRow&&u===e.store.states.currentRow.value&&f.push("current-row"),e.stripe&&c%2===1&&f.push(n.em("row","striped"));const h=t==null?void 0:t.props.rowClassName;return Ze(h)?f.push(h):Ge(h)&&f.push(h.call(null,{row:u,rowIndex:c})),f},getCellStyle:(u,c,f,h)=>{const d=t==null?void 0:t.props.cellStyle;let p=d!=null?d:{};Ge(d)&&(p=d.call(null,{rowIndex:u,columnIndex:c,row:f,column:h}));const v=k5(c,e==null?void 0:e.fixed,e.store);return dh(v,"left"),dh(v,"right"),Object.assign({},p,v)},getCellClass:(u,c,f,h,d)=>{const p=E5(n.b(),c,e==null?void 0:e.fixed,e.store,void 0,d),v=[h.id,h.align,h.className,...p],g=t==null?void 0:t.props.cellClassName;return Ze(g)?v.push(g):Ge(g)&&v.push(g.call(null,{rowIndex:u,columnIndex:c,row:f,column:h})),v.push(n.e("cell")),v.filter(m=>!!m).join(" ")},getSpan:(u,c,f,h)=>{let d=1,p=1;const v=t==null?void 0:t.props.spanMethod;if(Ge(v)){const g=v({row:u,column:c,rowIndex:f,columnIndex:h});Me(g)?(d=g[0],p=g[1]):typeof g=="object"&&(d=g.rowspan,p=g.colspan)}return{rowspan:d,colspan:p}},getColspanRealWidth:(u,c,f)=>{if(c<1)return u[f].realWidth;const h=u.map(({realWidth:d,width:p})=>d||p).slice(f,f+c);return Number(h.reduce((d,p)=>Number(d)+Number(p),-1))}}}const aCe=te({name:"TableTdWrapper"}),oCe=te(_e(X({},aCe),{props:{colspan:{type:Number,default:1},rowspan:{type:Number,default:1}},setup(e){return(t,n)=>(N(),q("td",{colspan:e.colspan,rowspan:e.rowspan},[ve(t.$slots,"default")],8,["colspan","rowspan"]))}}));var iCe=De(oCe,[["__file","td-wrapper.vue"]]);function sCe(e){const t=ze(bs),n=Ae("table"),{handleDoubleClick:r,handleClick:a,handleContextMenu:o,handleMouseEnter:i,handleMouseLeave:s,handleCellMouseEnter:l,handleCellMouseLeave:u,tooltipContent:c,tooltipTrigger:f}=nCe(e),{getRowStyle:h,getRowClass:d,getCellStyle:p,getCellClass:v,getSpan:g,getColspanRealWidth:m}=rCe(e),w=R(()=>e.store.states.columns.value.findIndex(({type:T})=>T==="default")),_=(T,x)=>{const E=t.props.rowKey;return E?zr(T,E):x},b=(T,x,E,k=!1)=>{const{tooltipEffect:A,tooltipOptions:P,store:$}=e,{indent:B,columns:I}=$.states,M=d(T,x);let L=!0;return E&&(M.push(n.em("row",`level-${E.level}`)),L=E.display),We("tr",{style:[L?null:{display:"none"},h(T,x)],class:M,key:_(T,x),onDblclick:D=>r(D,T),onClick:D=>a(D,T),onContextmenu:D=>o(D,T),onMouseenter:()=>i(x),onMouseleave:s},I.value.map((D,z)=>{const{rowspan:V,colspan:j}=g(T,D,x,z);if(!V||!j)return null;const U=Object.assign({},D);U.realWidth=m(I.value,j,z);const ne={store:e.store,_self:e.context||t,column:U,row:T,$index:x,cellIndex:z,expanded:k};z===w.value&&E&&(ne.treeNode={indent:E.level*B.value,level:E.level},hn(E.expanded)&&(ne.treeNode.expanded=E.expanded,"loading"in E&&(ne.treeNode.loading=E.loading),"noLazyChildren"in E&&(ne.treeNode.noLazyChildren=E.noLazyChildren)));const ie=`${_(T,x)},${z}`,fe=U.columnKey||U.rawColumnKey||"",G=D.showOverflowTooltip&&HV({effect:A},P,D.showOverflowTooltip);return We(iCe,{style:p(x,z,T,D),class:v(x,z,T,D,j-1),key:`${fe}${ie}`,rowspan:V,colspan:j,onMouseenter:oe=>l(oe,T,G),onMouseleave:u},{default:()=>S(z,D,ne)})}))},S=(T,x,E)=>x.renderCell(E);return{wrappedRowRender:(T,x)=>{const E=e.store,{isRowExpanded:k,assertRowKey:A}=E,{treeData:P,lazyTreeNodeMap:$,childrenColumnName:B,rowKey:I}=E.states,M=E.states.columns.value;if(M.some(({type:O})=>O==="expand")){const O=k(T),D=b(T,x,void 0,O),z=t.renderExpanded;return O?z?[[D,We("tr",{key:`expanded-row__${D.key}`},[We("td",{colspan:M.length,class:`${n.e("cell")} ${n.e("expanded-cell")}`},[z({row:T,$index:x,store:E,expanded:O})])])]]:(console.error("[Element Error]renderExpanded is required."),D):[[D]]}else if(Object.keys(P.value).length){A();const O=zr(T,I.value);let D=P.value[O],z=null;D&&(z={expanded:D.expanded,level:D.level,display:!0},hn(D.lazy)&&(hn(D.loaded)&&D.loaded&&(z.noLazyChildren=!(D.children&&D.children.length)),z.loading=D.loading));const V=[b(T,x,z)];if(D){let j=0;const U=(ie,fe)=>{ie&&ie.length&&fe&&ie.forEach(G=>{const oe={display:fe.display&&fe.expanded,level:fe.level+1,expanded:!1,noLazyChildren:!1,loading:!1},se=zr(G,I.value);if(se==null)throw new Error("For nested data item, row-key is required.");if(D=X({},P.value[se]),D&&(oe.expanded=D.expanded,D.level=D.level||oe.level,D.display=!!(D.expanded&&oe.display),hn(D.lazy)&&(hn(D.loaded)&&D.loaded&&(oe.noLazyChildren=!(D.children&&D.children.length)),oe.loading=D.loading)),j++,V.push(b(G,x+j,oe)),D){const ue=$.value[se]||G[B.value];U(ue,D)}})};D.display=!0;const ne=$.value[O]||T[B.value];U(ne,D)}return V}else return b(T,x,void 0)},tooltipContent:c,tooltipTrigger:f}}const lCe={store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,tooltipOptions:{type:Object},context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean};var uCe=te({name:"ElTableBody",props:lCe,setup(e){const t=st(),n=ze(bs),r=Ae("table"),{wrappedRowRender:a,tooltipContent:o,tooltipTrigger:i}=sCe(e),{onColumnsChange:s,onScrollableChange:l}=RW(n),u=[];return xe(e.store.states.hoverRow,(c,f)=>{var h;const d=t==null?void 0:t.vnode.el,p=Array.from((d==null?void 0:d.children)||[]).filter(m=>m==null?void 0:m.classList.contains(`${r.e("row")}`));let v=c;const g=(h=p[v])==null?void 0:h.childNodes;if(g!=null&&g.length){let m=0;Array.from(g).reduce((_,b,S)=>{var C,T;return((C=g[S])==null?void 0:C.colSpan)>1&&(m=(T=g[S])==null?void 0:T.colSpan),b.nodeName!=="TD"&&m===0&&_.push(S),m>0&&m--,_},[]).forEach(_=>{var b;for(v=c;v>0;){const S=(b=p[v-1])==null?void 0:b.childNodes;if(S[_]&&S[_].nodeName==="TD"&&S[_].rowSpan>1){Co(S[_],"hover-cell"),u.push(S[_]);break}v--}})}else u.forEach(m=>Ur(m,"hover-cell")),u.length=0;!e.store.states.isComplex.value||!Bt||ou(()=>{const m=p[f],w=p[c];m&&!m.classList.contains("hover-fixed-row")&&Ur(m,"hover-row"),w&&Co(w,"hover-row")})}),Vo(()=>{var c;(c=fo)==null||c()}),{ns:r,onColumnsChange:s,onScrollableChange:l,wrappedRowRender:a,tooltipContent:o,tooltipTrigger:i}},render(){const{wrappedRowRender:e,store:t}=this,n=t.states.data.value||[];return We("tbody",{tabIndex:-1},[n.reduce((r,a)=>r.concat(e(a,r.length)),[])])}});function cCe(){const e=ze(bs),t=e==null?void 0:e.store,n=R(()=>t.states.fixedLeafColumnsLength.value),r=R(()=>t.states.rightFixedColumns.value.length),a=R(()=>t.states.columns.value.length),o=R(()=>t.states.fixedColumns.value.length),i=R(()=>t.states.rightFixedColumns.value.length);return{leftFixedLeafCount:n,rightFixedLeafCount:r,columnsCount:a,leftFixedCount:o,rightFixedCount:i,columns:t.states.columns}}function fCe(e){const{columns:t}=cCe(),n=Ae("table");return{getCellClasses:(o,i)=>{const s=o[i],l=[n.e("cell"),s.id,s.align,s.labelClassName,...E5(n.b(),i,s.fixed,e.store)];return s.className&&l.push(s.className),s.children||l.push(n.is("leaf")),l},getCellStyles:(o,i)=>{const s=k5(i,o.fixed,e.store);return dh(s,"left"),dh(s,"right"),s},columns:t}}var dCe=te({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(e){const{getCellClasses:t,getCellStyles:n,columns:r}=fCe(e);return{ns:Ae("table"),getCellClasses:t,getCellStyles:n,columns:r}},render(){const{columns:e,getCellStyles:t,getCellClasses:n,summaryMethod:r,sumText:a}=this,o=this.store.states.data.value;let i=[];return r?i=r({columns:e,data:o}):e.forEach((s,l)=>{if(l===0){i[l]=a;return}const u=o.map(d=>Number(d[s.property])),c=[];let f=!0;u.forEach(d=>{if(!Number.isNaN(+d)){f=!1;const p=`${d}`.split(".")[1];c.push(p?p.length:0)}});const h=Math.max.apply(null,c);f?i[l]="":i[l]=u.reduce((d,p)=>{const v=Number(p);return Number.isNaN(+v)?d:Number.parseFloat((d+p).toFixed(Math.min(h,20)))},0)}),We(We("tfoot",[We("tr",{},[...e.map((s,l)=>We("td",{key:l,colspan:s.colSpan,rowspan:s.rowSpan,class:n(e,l),style:t(s,l)},[We("div",{class:["cell",s.labelClassName]},[i[l]])]))])]))}});function hCe(e){return{setCurrentRow:f=>{e.commit("setCurrentRow",f)},getSelectionRows:()=>e.getSelectionRows(),toggleRowSelection:(f,h,d=!0)=>{e.toggleRowSelection(f,h,!1,d),e.updateAllSelected()},clearSelection:()=>{e.clearSelection()},clearFilter:f=>{e.clearFilter(f)},toggleAllSelection:()=>{e.commit("toggleAllSelection")},toggleRowExpansion:(f,h)=>{e.toggleRowExpansionAdapter(f,h)},clearSort:()=>{e.clearSort()},sort:(f,h)=>{e.commit("sort",{prop:f,order:h})},updateKeyChildren:(f,h)=>{e.updateKeyChildren(f,h)}}}function pCe(e,t,n,r){const a=H(!1),o=H(null),i=H(!1),s=O=>{i.value=O},l=H({width:null,height:null,headerHeight:null}),u=H(!1),c={display:"inline-block",verticalAlign:"middle"},f=H(),h=H(0),d=H(0),p=H(0),v=H(0),g=H(0);Ar(()=>{t.setHeight(e.height)}),Ar(()=>{t.setMaxHeight(e.maxHeight)}),xe(()=>[e.currentRowKey,n.states.rowKey],([O,D])=>{!y(D)||!y(O)||n.setCurrentRowKey(`${O}`)},{immediate:!0}),xe(()=>e.data,O=>{r.store.commit("setData",O)},{immediate:!0,deep:!0}),Ar(()=>{e.expandRowKeys&&n.setExpandRowKeysAdapter(e.expandRowKeys)});const m=()=>{r.store.commit("setHoverRow",null),r.hoverState&&(r.hoverState=null)},w=(O,D)=>{const{pixelX:z,pixelY:V}=D;Math.abs(z)>=Math.abs(V)&&(r.refs.bodyWrapper.scrollLeft+=D.pixelX/5)},_=R(()=>e.height||e.maxHeight||n.states.fixedColumns.value.length>0||n.states.rightFixedColumns.value.length>0),b=R(()=>({width:t.bodyWidth.value?`${t.bodyWidth.value}px`:""})),S=()=>{_.value&&t.updateElsHeight(),t.updateColumnsWidth(),requestAnimationFrame(E)};ft(()=>ut(this,null,function*(){yield qe(),n.updateColumns(),k(),requestAnimationFrame(S);const O=r.vnode.el,D=r.refs.headerWrapper;e.flexible&&O&&O.parentElement&&(O.parentElement.style.minWidth="0"),l.value={width:f.value=O.offsetWidth,height:O.offsetHeight,headerHeight:e.showHeader&&D?D.offsetHeight:null},n.states.columns.value.forEach(z=>{z.filteredValue&&z.filteredValue.length&&r.store.commit("filterChange",{column:z,values:z.filteredValue,silent:!0})}),r.$ready=!0}));const C=(O,D)=>{if(!O)return;const z=Array.from(O.classList).filter(V=>!V.startsWith("is-scrolling-"));z.push(t.scrollX.value?D:"is-scrolling-none"),O.className=z.join(" ")},T=O=>{const{tableWrapper:D}=r.refs;C(D,O)},x=O=>{const{tableWrapper:D}=r.refs;return!!(D&&D.classList.contains(O))},E=function(){if(!r.refs.scrollBarRef)return;if(!t.scrollX.value){const ie="is-scrolling-none";x(ie)||T(ie);return}const O=r.refs.scrollBarRef.wrapRef;if(!O)return;const{scrollLeft:D,offsetWidth:z,scrollWidth:V}=O,{headerWrapper:j,footerWrapper:U}=r.refs;j&&(j.scrollLeft=D),U&&(U.scrollLeft=D);const ne=V-z-1;D>=ne?T("is-scrolling-right"):T(D===0?"is-scrolling-left":"is-scrolling-middle")},k=()=>{r.refs.scrollBarRef&&(r.refs.scrollBarRef.wrapRef&&sn(r.refs.scrollBarRef.wrapRef,"scroll",E,{passive:!0}),e.fit?On(r.vnode.el,A):sn(window,"resize",A),On(r.refs.bodyWrapper,()=>{var O,D;A(),(D=(O=r.refs)==null?void 0:O.scrollBarRef)==null||D.update()}))},A=()=>{var O,D,z,V;const j=r.vnode.el;if(!r.$ready||!j)return;let U=!1;const{width:ne,height:ie,headerHeight:fe}=l.value,G=f.value=j.offsetWidth;ne!==G&&(U=!0);const oe=j.offsetHeight;(e.height||_.value)&&ie!==oe&&(U=!0);const se=e.tableLayout==="fixed"?r.refs.headerWrapper:(O=r.refs.tableHeaderRef)==null?void 0:O.$el;e.showHeader&&(se==null?void 0:se.offsetHeight)!==fe&&(U=!0),h.value=((D=r.refs.tableWrapper)==null?void 0:D.scrollHeight)||0,p.value=(se==null?void 0:se.scrollHeight)||0,v.value=((z=r.refs.footerWrapper)==null?void 0:z.offsetHeight)||0,g.value=((V=r.refs.appendWrapper)==null?void 0:V.offsetHeight)||0,d.value=h.value-p.value-v.value-g.value,U&&(l.value={width:G,height:oe,headerHeight:e.showHeader&&(se==null?void 0:se.offsetHeight)||0},S())},P=Jn(),$=R(()=>{const{bodyWidth:O,scrollY:D,gutterWidth:z}=t;return O.value?`${O.value-(D.value?z:0)}px`:""}),B=R(()=>e.maxHeight?"fixed":e.tableLayout),I=R(()=>{if(e.data&&e.data.length)return null;let O="100%";e.height&&d.value&&(O=`${d.value}px`);const D=f.value;return{width:D?`${D}px`:"",height:O}}),M=R(()=>e.height?{height:"100%"}:e.maxHeight?Number.isNaN(Number(e.maxHeight))?{maxHeight:`calc(${e.maxHeight} - ${p.value+v.value}px)`}:{maxHeight:`${e.maxHeight-p.value-v.value}px`}:{});return{isHidden:a,renderExpanded:o,setDragVisible:s,isGroup:u,handleMouseLeave:m,handleHeaderFooterMousewheel:w,tableSize:P,emptyBlockStyle:I,handleFixedMousewheel:(O,D)=>{const z=r.refs.bodyWrapper;if(Math.abs(D.spinY)>0){const V=z.scrollTop;D.pixelY<0&&V!==0&&O.preventDefault(),D.pixelY>0&&z.scrollHeight-z.clientHeight>V&&O.preventDefault(),z.scrollTop+=Math.ceil(D.pixelY/5)}else z.scrollLeft+=Math.ceil(D.pixelX/5)},resizeProxyVisible:i,bodyWidth:$,resizeState:l,doLayout:S,tableBodyStyles:b,tableLayout:B,scrollbarViewStyle:c,scrollbarStyle:M}}function vCe(e){const t=H(),n=()=>{const a=e.vnode.el.querySelector(".hidden-columns"),o={childList:!0,subtree:!0},i=e.store.states.updateOrderFns;t.value=new MutationObserver(()=>{i.forEach(s=>s())}),t.value.observe(a,o)};ft(()=>{n()}),Vo(()=>{var r;(r=t.value)==null||r.disconnect()})}var gCe={data:{type:Array,default:()=>[]},size:or,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children",checkStrictly:!1})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:Boolean,flexible:Boolean,showOverflowTooltip:[Boolean,Object],appendFilterPanelTo:String,scrollbarTabindex:{type:[Number,String],default:void 0}};function LW(e){const t=e.tableLayout==="auto";let n=e.columns||[];t&&n.every(a=>a.width===void 0)&&(n=[]);const r=a=>{const o={key:`${e.tableLayout}_${a.id}`,style:{},name:void 0};return t?o.style={width:`${a.width}px`}:o.name=a.id,o};return We("colgroup",{},n.map(a=>We("col",r(a))))}LW.props=["columns","tableLayout"];const mCe=()=>{const e=H(),t=(o,i)=>{const s=e.value;s&&s.scrollTo(o,i)},n=(o,i)=>{const s=e.value;s&&et(i)&&["Top","Left"].includes(o)&&s[`setScroll${o}`](i)};return{scrollBarRef:e,scrollTo:t,setScrollTop:o=>n("Top",o),setScrollLeft:o=>n("Left",o)}};var J6=!1,lc,uE,cE,Qy,e1,$W,t1,fE,dE,hE,NW,pE,vE,BW,FW;function Ca(){if(!J6){J6=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(pE=/\b(iPhone|iP[ao]d)/.exec(e),vE=/\b(iP[ao]d)/.exec(e),hE=/Android/i.exec(e),BW=/FBAN\/\w+;/i.exec(e),FW=/Mobile/i.exec(e),NW=!!/Win64/.exec(e),t){lc=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,lc&&document&&document.documentMode&&(lc=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(e);$W=r?parseFloat(r[1])+4:lc,uE=t[2]?parseFloat(t[2]):NaN,cE=t[3]?parseFloat(t[3]):NaN,Qy=t[4]?parseFloat(t[4]):NaN,Qy?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),e1=t&&t[1]?parseFloat(t[1]):NaN):e1=NaN}else lc=uE=cE=e1=Qy=NaN;if(n){if(n[1]){var a=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);t1=a?parseFloat(a[1].replace("_",".")):!0}else t1=!1;fE=!!n[2],dE=!!n[3]}else t1=fE=dE=!1}}var gE={ie:function(){return Ca()||lc},ieCompatibilityMode:function(){return Ca()||$W>lc},ie64:function(){return gE.ie()&&NW},firefox:function(){return Ca()||uE},opera:function(){return Ca()||cE},webkit:function(){return Ca()||Qy},safari:function(){return gE.webkit()},chrome:function(){return Ca()||e1},windows:function(){return Ca()||fE},osx:function(){return Ca()||t1},linux:function(){return Ca()||dE},iphone:function(){return Ca()||pE},mobile:function(){return Ca()||pE||vE||hE||FW},nativeApp:function(){return Ca()||BW},android:function(){return Ca()||hE},ipad:function(){return Ca()||vE}},yCe=gE,O0=!!(typeof window<"u"&&window.document&&window.document.createElement),bCe={canUseDOM:O0,canUseWorkers:typeof Worker<"u",canUseEventListeners:O0&&!!(window.addEventListener||window.attachEvent),canUseViewport:O0&&!!window.screen,isInWorker:!O0},VW=bCe,zW;VW.canUseDOM&&(zW=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function _Ce(e,t){if(!VW.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var a=document.createElement("div");a.setAttribute(n,"return;"),r=typeof a[n]=="function"}return!r&&zW&&e==="wheel"&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var wCe=_Ce,Q6=10,e8=40,t8=800;function HW(e){var t=0,n=0,r=0,a=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=t*Q6,a=n*Q6,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||a)&&e.deltaMode&&(e.deltaMode==1?(r*=e8,a*=e8):(r*=t8,a*=t8)),r&&!t&&(t=r<1?-1:1),a&&!n&&(n=a<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:a}}HW.getEventType=function(){return yCe.firefox()?"DOMMouseScroll":wCe("wheel")?"wheel":"mousewheel"};var SCe=HW;/** +* Checks if an event is supported in the current execution environment. +* +* NOTE: This will not work correctly for non-generic events such as `change`, +* `reset`, `load`, `error`, and `select`. +* +* Borrows from Modernizr. +* +* @param {string} eventNameSuffix Event name, e.g. "click". +* @param {?boolean} capture Check if the capture phase is supported. +* @return {boolean} True if the event is supported. +* @internal +* @license Modernizr 3.0.0pre (Custom Build) | MIT +*/const CCe=function(e,t){if(e&&e.addEventListener){const n=function(r){const a=SCe(r);t&&Reflect.apply(t,this,[r,a])};e.addEventListener("wheel",n,{passive:!0})}},TCe={beforeMount(e,t){CCe(e,t.value)}};let xCe=1;const ECe=te({name:"ElTable",directives:{Mousewheel:TCe},components:{TableHeader:tCe,TableBody:uCe,TableFooter:dCe,ElScrollbar:nl,hColgroup:LW},props:gCe,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-contextmenu","cell-click","cell-dblclick","row-click","row-contextmenu","row-dblclick","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change","scroll"],setup(e){const{t}=$t(),n=Ae("table"),r=st();kt(bs,r);const a=j2e(r,e);r.store=a;const o=new G2e({store:r.store,table:r,fit:e.fit,showHeader:e.showHeader});r.layout=o;const i=R(()=>(a.states.data.value||[]).length===0),{setCurrentRow:s,getSelectionRows:l,toggleRowSelection:u,clearSelection:c,clearFilter:f,toggleAllSelection:h,toggleRowExpansion:d,clearSort:p,sort:v,updateKeyChildren:g}=hCe(a),{isHidden:m,renderExpanded:w,setDragVisible:_,isGroup:b,handleMouseLeave:S,handleHeaderFooterMousewheel:C,tableSize:T,emptyBlockStyle:x,handleFixedMousewheel:E,resizeProxyVisible:k,bodyWidth:A,resizeState:P,doLayout:$,tableBodyStyles:B,tableLayout:I,scrollbarViewStyle:M,scrollbarStyle:L}=pCe(e,o,a,r),{scrollBarRef:O,scrollTo:D,setScrollLeft:z,setScrollTop:V}=mCe(),j=Fa($,50),U=`${n.namespace.value}-table_${xCe++}`;r.tableId=U,r.state={isGroup:b,resizeState:P,doLayout:$,debouncedUpdateLayout:j};const ne=R(()=>{var G;return(G=e.sumText)!=null?G:t("el.table.sumText")}),ie=R(()=>{var G;return(G=e.emptyText)!=null?G:t("el.table.emptyText")}),fe=R(()=>DW(a.states.originColumns.value)[0]);return vCe(r),fn(()=>{j.cancel()}),{ns:n,layout:o,store:a,columns:fe,handleHeaderFooterMousewheel:C,handleMouseLeave:S,tableId:U,tableSize:T,isHidden:m,isEmpty:i,renderExpanded:w,resizeProxyVisible:k,resizeState:P,isGroup:b,bodyWidth:A,tableBodyStyles:B,emptyBlockStyle:x,debouncedUpdateLayout:j,handleFixedMousewheel:E,setCurrentRow:s,getSelectionRows:l,toggleRowSelection:u,clearSelection:c,clearFilter:f,toggleAllSelection:h,toggleRowExpansion:d,clearSort:p,doLayout:$,sort:v,updateKeyChildren:g,t,setDragVisible:_,context:r,computedSumText:ne,computedEmptyText:ie,tableLayout:I,scrollbarViewStyle:M,scrollbarStyle:L,scrollBarRef:O,scrollTo:D,setScrollLeft:z,setScrollTop:V}}});function kCe(e,t,n,r,a,o){const i=gt("hColgroup"),s=gt("table-header"),l=gt("table-body"),u=gt("table-footer"),c=gt("el-scrollbar"),f=Nh("mousewheel");return N(),q("div",{ref:"tableWrapper",class:F([{[e.ns.m("fit")]:e.fit,[e.ns.m("striped")]:e.stripe,[e.ns.m("border")]:e.border||e.isGroup,[e.ns.m("hidden")]:e.isHidden,[e.ns.m("group")]:e.isGroup,[e.ns.m("fluid-height")]:e.maxHeight,[e.ns.m("scrollable-x")]:e.layout.scrollX.value,[e.ns.m("scrollable-y")]:e.layout.scrollY.value,[e.ns.m("enable-row-hover")]:!e.store.states.isComplex.value,[e.ns.m("enable-row-transition")]:(e.store.states.data.value||[]).length!==0&&(e.store.states.data.value||[]).length<100,"has-footer":e.showSummary},e.ns.m(e.tableSize),e.className,e.ns.b(),e.ns.m(`layout-${e.tableLayout}`)]),style:Xe(e.style),"data-prefix":e.ns.namespace.value,onMouseleave:e.handleMouseLeave},[Z("div",{class:F(e.ns.e("inner-wrapper"))},[Z("div",{ref:"hiddenColumns",class:"hidden-columns"},[ve(e.$slots,"default")],512),e.showHeader&&e.tableLayout==="fixed"?vt((N(),q("div",{key:0,ref:"headerWrapper",class:F(e.ns.e("header-wrapper"))},[Z("table",{ref:"tableHeader",class:F(e.ns.e("header")),style:Xe(e.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[ee(i,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),ee(s,{ref:"tableHeaderRef",border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,onSetDragVisible:e.setDragVisible},null,8,["border","default-sort","store","append-filter-panel-to","onSetDragVisible"])],6)],2)),[[f,e.handleHeaderFooterMousewheel]]):ge("v-if",!0),Z("div",{ref:"bodyWrapper",class:F(e.ns.e("body-wrapper"))},[ee(c,{ref:"scrollBarRef","view-style":e.scrollbarViewStyle,"wrap-style":e.scrollbarStyle,always:e.scrollbarAlwaysOn,tabindex:e.scrollbarTabindex,onScroll:h=>e.$emit("scroll",h)},{default:le(()=>[Z("table",{ref:"tableBody",class:F(e.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:Xe({width:e.bodyWidth,tableLayout:e.tableLayout})},[ee(i,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),e.showHeader&&e.tableLayout==="auto"?(N(),ye(s,{key:0,ref:"tableHeaderRef",class:F(e.ns.e("body-header")),border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,onSetDragVisible:e.setDragVisible},null,8,["class","border","default-sort","store","append-filter-panel-to","onSetDragVisible"])):ge("v-if",!0),ee(l,{context:e.context,highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"tooltip-effect":e.tooltipEffect,"tooltip-options":e.tooltipOptions,"row-style":e.rowStyle,store:e.store,stripe:e.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"]),e.showSummary&&e.tableLayout==="auto"?(N(),ye(u,{key:1,class:F(e.ns.e("body-footer")),border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["class","border","default-sort","store","sum-text","summary-method"])):ge("v-if",!0)],6),e.isEmpty?(N(),q("div",{key:0,ref:"emptyBlock",style:Xe(e.emptyBlockStyle),class:F(e.ns.e("empty-block"))},[Z("span",{class:F(e.ns.e("empty-text"))},[ve(e.$slots,"empty",{},()=>[At(Re(e.computedEmptyText),1)])],2)],6)):ge("v-if",!0),e.$slots.append?(N(),q("div",{key:1,ref:"appendWrapper",class:F(e.ns.e("append-wrapper"))},[ve(e.$slots,"append")],2)):ge("v-if",!0)]),_:3},8,["view-style","wrap-style","always","tabindex","onScroll"])],2),e.showSummary&&e.tableLayout==="fixed"?vt((N(),q("div",{key:1,ref:"footerWrapper",class:F(e.ns.e("footer-wrapper"))},[Z("table",{class:F(e.ns.e("footer")),cellspacing:"0",cellpadding:"0",border:"0",style:Xe(e.tableBodyStyles)},[ee(i,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),ee(u,{border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["border","default-sort","store","sum-text","summary-method"])],6)],2)),[[Wt,!e.isEmpty],[f,e.handleHeaderFooterMousewheel]]):ge("v-if",!0),e.border||e.isGroup?(N(),q("div",{key:2,class:F(e.ns.e("border-left-patch"))},null,2)):ge("v-if",!0)],2),vt(Z("div",{ref:"resizeProxy",class:F(e.ns.e("column-resize-proxy"))},null,2),[[Wt,e.resizeProxyVisible]])],46,["data-prefix","onMouseleave"])}var ACe=De(ECe,[["render",kCe],["__file","table.vue"]]);const MCe={selection:"table-column--selection",expand:"table__expand-column"},OCe={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},PCe=e=>MCe[e]||"",RCe={selection:{renderHeader({store:e,column:t}){function n(){return e.states.data.value&&e.states.data.value.length===0}return We(Do,{disabled:n(),size:e.states.tableSize.value,indeterminate:e.states.selection.value.length>0&&!e.states.isAllSelected.value,"onUpdate:modelValue":e.toggleAllSelection,modelValue:e.states.isAllSelected.value,ariaLabel:t.label})},renderCell({row:e,column:t,store:n,$index:r}){return We(Do,{disabled:t.selectable?!t.selectable.call(null,e,r):!1,size:n.states.tableSize.value,onChange:()=>{n.commit("rowSelectedChanged",e)},onClick:a=>a.stopPropagation(),modelValue:n.isSelected(e),ariaLabel:t.label})},sortable:!1,resizable:!1},index:{renderHeader({column:e}){return e.label||"#"},renderCell({column:e,$index:t}){let n=t+1;const r=e.index;return et(r)?n=t+r:Ge(r)&&(n=r(t)),We("div",{},[n])},sortable:!1},expand:{renderHeader({column:e}){return e.label||""},renderCell({row:e,store:t,expanded:n}){const{ns:r}=t,a=[r.e("expand-icon")];return n&&a.push(r.em("expand-icon","expanded")),We("div",{class:a,onClick:function(i){i.stopPropagation(),t.toggleRowExpansion(e)}},{default:()=>[We(Ke,null,{default:()=>[We(pa)]})]})},sortable:!1,resizable:!1}};function ICe({row:e,column:t,$index:n}){var r;const a=t.property,o=a&&$y(e,a).value;return t&&t.formatter?t.formatter(e,t,o,n):((r=o==null?void 0:o.toString)==null?void 0:r.call(o))||""}function DCe({row:e,treeNode:t,store:n},r=!1){const{ns:a}=n;if(!t)return r?[We("span",{class:a.e("placeholder")})]:null;const o=[],i=function(s){s.stopPropagation(),!t.loading&&n.loadOrToggle(e)};if(t.indent&&o.push(We("span",{class:a.e("indent"),style:{"padding-left":`${t.indent}px`}})),hn(t.expanded)&&!t.noLazyChildren){const s=[a.e("expand-icon"),t.expanded?a.em("expand-icon","expanded"):""];let l=pa;t.loading&&(l=us),o.push(We("div",{class:s,onClick:i},{default:()=>[We(Ke,{class:{[a.is("loading")]:t.loading}},{default:()=>[We(l)]})]}))}else o.push(We("span",{class:a.e("placeholder")}));return o}function n8(e,t){return e.reduce((n,r)=>(n[r]=r,n),t)}function LCe(e,t){const n=st();return{registerComplexWatchers:()=>{const o=["fixed"],i={realWidth:"width",realMinWidth:"minWidth"},s=n8(o,i);Object.keys(s).forEach(l=>{const u=i[l];Vt(t,u)&&xe(()=>t[u],c=>{let f=c;u==="width"&&l==="realWidth"&&(f=x5(c)),u==="minWidth"&&l==="realMinWidth"&&(f=kW(c)),n.columnConfig.value[u]=f,n.columnConfig.value[l]=f;const h=u==="fixed";e.value.store.scheduleLayout(h)})})},registerNormalWatchers:()=>{const o=["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","filterClassName","showOverflowTooltip"],i={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},s=n8(o,i);Object.keys(s).forEach(l=>{const u=i[l];Vt(t,u)&&xe(()=>t[u],c=>{n.columnConfig.value[l]=c})})}}}function $Ce(e,t,n){const r=st(),a=H(""),o=H(!1),i=H(),s=H(),l=Ae("table");Ar(()=>{i.value=e.align?`is-${e.align}`:null,i.value}),Ar(()=>{s.value=e.headerAlign?`is-${e.headerAlign}`:i.value,s.value});const u=R(()=>{let b=r.vnode.vParent||r.parent;for(;b&&!b.tableId&&!b.columnId;)b=b.vnode.vParent||b.parent;return b}),c=R(()=>{const{store:b}=r.parent;if(!b)return!1;const{treeData:S}=b.states,C=S.value;return C&&Object.keys(C).length>0}),f=H(x5(e.width)),h=H(kW(e.minWidth)),d=b=>(f.value&&(b.width=f.value),h.value&&(b.minWidth=h.value),!f.value&&h.value&&(b.width=void 0),b.minWidth||(b.minWidth=80),b.realWidth=Number(b.width===void 0?b.minWidth:b.width),b),p=b=>{const S=b.type,C=RCe[S]||{};Object.keys(C).forEach(x=>{const E=C[x];x!=="className"&&E!==void 0&&(b[x]=E)});const T=PCe(S);if(T){const x=`${y(l.namespace)}-${T}`;b.className=b.className?`${b.className} ${x}`:x}return b},v=b=>{Me(b)?b.forEach(C=>S(C)):S(b);function S(C){var T;((T=C==null?void 0:C.type)==null?void 0:T.name)==="ElTableColumn"&&(C.vParent=r)}};return{columnId:a,realAlign:i,isSubColumn:o,realHeaderAlign:s,columnOrTableParent:u,setColumnWidth:d,setColumnForcedProps:p,setColumnRenders:b=>{e.renderHeader||b.type!=="selection"&&(b.renderHeader=C=>(r.columnConfig.value.label,ve(t,"header",C,()=>[b.label]))),t["filter-icon"]&&(b.renderFilterIcon=C=>ve(t,"filter-icon",C));let S=b.renderCell;return b.type==="expand"?(b.renderCell=C=>We("div",{class:"cell"},[S(C)]),n.value.renderExpanded=C=>t.default?t.default(C):t.default):(S=S||ICe,b.renderCell=C=>{let T=null;if(t.default){const $=t.default(C);T=$.some(B=>B.type!==Kn)?$:S(C)}else T=S(C);const{columns:x}=n.value.store.states,E=x.value.findIndex($=>$.type==="default"),k=c.value&&C.cellIndex===E,A=DCe(C,k),P={class:"cell",style:{}};return b.showOverflowTooltip&&(P.class=`${P.class} ${y(l.namespace)}-tooltip`,P.style={width:`${(C.column.realWidth||Number(C.column.width))-1}px`}),v(T),We("div",P,[A,T])}),b},getPropsData:(...b)=>b.reduce((S,C)=>(Me(C)&&C.forEach(T=>{S[T]=e[T]}),S),{}),getColumnElIndex:(b,S)=>Array.prototype.indexOf.call(b,S),updateColumnOrder:()=>{n.value.store.commit("updateColumnOrder",r.columnConfig.value)}}}var NCe={type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showOverflowTooltip:{type:[Boolean,Object],default:void 0},fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},filterClassName:String,index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:e=>e.every(t=>["ascending","descending",null].includes(t))}};let BCe=1;var WW=te({name:"ElTableColumn",components:{ElCheckbox:Do},props:NCe,setup(e,{slots:t}){const n=st(),r=H({}),a=R(()=>{let _=n.parent;for(;_&&!_.tableId;)_=_.parent;return _}),{registerNormalWatchers:o,registerComplexWatchers:i}=LCe(a,e),{columnId:s,isSubColumn:l,realHeaderAlign:u,columnOrTableParent:c,setColumnWidth:f,setColumnForcedProps:h,setColumnRenders:d,getPropsData:p,getColumnElIndex:v,realAlign:g,updateColumnOrder:m}=$Ce(e,t,a),w=c.value;s.value=`${w.tableId||w.columnId}_column_${BCe++}`,lm(()=>{l.value=a.value!==w;const _=e.type||"default",b=e.sortable===""?!0:e.sortable,S=_n(e.showOverflowTooltip)?w.props.showOverflowTooltip:e.showOverflowTooltip,C=_e(X({},OCe[_]),{id:s.value,type:_,property:e.prop||e.property,align:g,headerAlign:u,showOverflowTooltip:S,filterable:e.filters||e.filterMethod,filteredValue:[],filterPlacement:"",filterClassName:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:b,index:e.index,rawColumnKey:n.vnode.key});let A=p(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement","filterClassName"]);A=D2e(C,A),A=$2e(d,f,h)(A),r.value=A,o(),i()}),ft(()=>{var _;const b=c.value,S=l.value?b.vnode.el.children:(_=b.refs.hiddenColumns)==null?void 0:_.children,C=()=>v(S||[],n.vnode.el);r.value.getColumnIndex=C,C()>-1&&a.value.store.commit("insertColumn",r.value,l.value?b.columnConfig.value:null,m)}),fn(()=>{const _=r.value.getColumnIndex;(_?_():-1)>-1&&a.value.store.commit("removeColumn",r.value,l.value?w.columnConfig.value:null,m)}),n.columnId=s.value,n.columnConfig=r},render(){var e,t,n;try{const r=(t=(e=this.$slots).default)==null?void 0:t.call(e,{row:{},column:{},$index:-1}),a=[];if(Me(r))for(const i of r)((n=i.type)==null?void 0:n.name)==="ElTableColumn"||i.shapeFlag&2?a.push(i):i.type===je&&Me(i.children)&&i.children.forEach(s=>{(s==null?void 0:s.patchFlag)!==1024&&!Ze(s==null?void 0:s.children)&&a.push(s)});return We("div",a)}catch(r){return We("div",[])}}});const UW=pt(ACe,{TableColumn:WW}),jW=Dn(WW);var gg=(e=>(e.ASC="asc",e.DESC="desc",e))(gg||{}),mg=(e=>(e.CENTER="center",e.RIGHT="right",e))(mg||{}),KW=(e=>(e.LEFT="left",e.RIGHT="right",e))(KW||{});const mE={asc:"desc",desc:"asc"},yg=Symbol("placeholder"),FCe=(e,t,n)=>{var r;const a=X({flexGrow:0,flexShrink:0},n?{}:{flexGrow:e.flexGrow||0,flexShrink:e.flexShrink||1});n||(a.flexShrink=1);const o=_e(X(X({},(r=e.style)!=null?r:{}),a),{flexBasis:"auto",width:e.width});return t||(e.maxWidth&&(o.maxWidth=e.maxWidth),e.minWidth&&(o.minWidth=e.minWidth)),o};function VCe(e,t,n){const r=R(()=>y(t).map((g,m)=>{var w,_;return _e(X({},g),{key:(_=(w=g.key)!=null?w:g.dataKey)!=null?_:m})})),a=R(()=>y(r).filter(g=>!g.hidden)),o=R(()=>y(a).filter(g=>g.fixed==="left"||g.fixed===!0)),i=R(()=>y(a).filter(g=>g.fixed==="right")),s=R(()=>y(a).filter(g=>!g.fixed)),l=R(()=>{const g=[];return y(o).forEach(m=>{g.push(_e(X({},m),{placeholderSign:yg}))}),y(s).forEach(m=>{g.push(m)}),y(i).forEach(m=>{g.push(_e(X({},m),{placeholderSign:yg}))}),g}),u=R(()=>y(o).length||y(i).length),c=R(()=>y(r).reduce((g,m)=>(g[m.key]=FCe(m,y(n),e.fixed),g),{})),f=R(()=>y(a).reduce((g,m)=>g+m.width,0)),h=g=>y(r).find(m=>m.key===g),d=g=>y(c)[g],p=(g,m)=>{g.width=m};function v(g){var m;const{key:w}=g.currentTarget.dataset;if(!w)return;const{sortState:_,sortBy:b}=e;let S=gg.ASC;_t(_)?S=mE[_[w]]:S=mE[b.order],(m=e.onColumnSort)==null||m.call(e,{column:h(w),key:w,order:S})}return{columns:r,columnsStyles:c,columnsTotalWidth:f,fixedColumnsOnLeft:o,fixedColumnsOnRight:i,hasFixedColumns:u,mainColumns:l,normalColumns:s,visibleColumns:a,getColumn:h,getColumnStyle:d,updateColumnWidth:p,onColumnSorted:v}}const zCe=(e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,onMaybeEndReached:a})=>{const o=H({scrollLeft:0,scrollTop:0});function i(d){var p,v,g;const{scrollTop:m}=d;(p=t.value)==null||p.scrollTo(d),(v=n.value)==null||v.scrollToTop(m),(g=r.value)==null||g.scrollToTop(m)}function s(d){o.value=d,i(d)}function l(d){o.value.scrollTop=d,i(y(o))}function u(d){var p,v;o.value.scrollLeft=d,(v=(p=t.value)==null?void 0:p.scrollTo)==null||v.call(p,y(o))}function c(d){var p;s(d),(p=e.onScroll)==null||p.call(e,d)}function f({scrollTop:d}){const{scrollTop:p}=y(o);d!==p&&l(d)}function h(d,p="auto"){var v;(v=t.value)==null||v.scrollToRow(d,p)}return xe(()=>y(o).scrollTop,(d,p)=>{d>p&&a()}),{scrollPos:o,scrollTo:s,scrollToLeft:u,scrollToTop:l,scrollToRow:h,onScroll:c,onVerticalScroll:f}},HCe=(e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,tableInstance:a,ns:o,isScrolling:i})=>{const s=st(),{emit:l}=s,u=gn(!1),c=H(e.defaultExpandedRowKeys||[]),f=H(-1),h=gn(null),d=H({}),p=H({}),v=gn({}),g=gn({}),m=gn({}),w=R(()=>et(e.estimatedRowHeight));function _(k){var A;(A=e.onRowsRendered)==null||A.call(e,k),k.rowCacheEnd>y(f)&&(f.value=k.rowCacheEnd)}function b({hovered:k,rowKey:A}){if(i.value)return;a.vnode.el.querySelectorAll(`[rowkey="${String(A)}"]`).forEach(B=>{k?B.classList.add(o.is("hovered")):B.classList.remove(o.is("hovered"))})}function S({expanded:k,rowData:A,rowIndex:P,rowKey:$}){var B,I;const M=[...y(c)],L=M.indexOf($);k?L===-1&&M.push($):L>-1&&M.splice(L,1),c.value=M,l("update:expandedRowKeys",M),(B=e.onRowExpand)==null||B.call(e,{expanded:k,rowData:A,rowIndex:P,rowKey:$}),(I=e.onExpandedRowsChange)==null||I.call(e,M)}const C=Fa(()=>{var k,A,P,$;u.value=!0,d.value=X(X({},y(d)),y(p)),T(y(h),!1),p.value={},h.value=null,(k=t.value)==null||k.forceUpdate(),(A=n.value)==null||A.forceUpdate(),(P=r.value)==null||P.forceUpdate(),($=s.proxy)==null||$.$forceUpdate(),u.value=!1},0);function T(k,A=!1){y(w)&&[t,n,r].forEach(P=>{const $=y(P);$&&$.resetAfterRowIndex(k,A)})}function x(k,A,P){const $=y(h);($===null||$>P)&&(h.value=P),p.value[k]=A}function E({rowKey:k,height:A,rowIndex:P},$){$?$===KW.RIGHT?m.value[k]=A:v.value[k]=A:g.value[k]=A;const B=Math.max(...[v,m,g].map(I=>I.value[k]||0));y(d)[k]!==B&&(x(k,B,P),C())}return{expandedRowKeys:c,lastRenderedRowIndex:f,isDynamic:w,isResetting:u,rowHeights:d,resetAfterIndex:T,onRowExpanded:S,onRowHovered:b,onRowsRendered:_,onRowHeightChange:E}},WCe=(e,{expandedRowKeys:t,lastRenderedRowIndex:n,resetAfterIndex:r})=>{const a=H({}),o=R(()=>{const s={},{data:l,rowKey:u}=e,c=y(t);if(!c||!c.length)return l;const f=[],h=new Set;c.forEach(p=>h.add(p));let d=l.slice();for(d.forEach(p=>s[p[u]]=0);d.length>0;){const p=d.shift();f.push(p),h.has(p[u])&&Me(p.children)&&p.children.length>0&&(d=[...p.children,...d],p.children.forEach(v=>s[v[u]]=s[p[u]]+1))}return a.value=s,f}),i=R(()=>{const{data:s,expandColumnKey:l}=e;return l?y(o):s});return xe(i,(s,l)=>{s!==l&&(n.value=-1,r(0,!0))}),{data:i,depthMap:a}},UCe=(e,t)=>e+t,n1=e=>Me(e)?e.reduce(UCe,0):e,af=(e,t,n={})=>Ge(e)?e(t):e!=null?e:n,Rl=e=>(["width","maxWidth","minWidth","height"].forEach(t=>{e[t]=Vn(e[t])}),e),GW=e=>yn(e)?t=>We(e,t):e,jCe=(e,{columnsTotalWidth:t,data:n,fixedColumnsOnLeft:r,fixedColumnsOnRight:a})=>{const o=R(()=>{const{fixed:_,width:b,vScrollbarSize:S}=e,C=b-S;return _?Math.max(Math.round(y(t)),C):C}),i=R(()=>y(o)+e.vScrollbarSize),s=R(()=>{const{height:_=0,maxHeight:b=0,footerHeight:S,hScrollbarSize:C}=e;if(b>0){const T=y(p),x=y(l),k=y(d)+T+x+C;return Math.min(k,b-S)}return _-S}),l=R(()=>{const{rowHeight:_,estimatedRowHeight:b}=e,S=y(n);return et(b)?S.length*b:S.length*_}),u=R(()=>{const{maxHeight:_}=e,b=y(s);if(et(_)&&_>0)return b;const S=y(l)+y(d)+y(p);return Math.min(b,S)}),c=_=>_.width,f=R(()=>n1(y(r).map(c))),h=R(()=>n1(y(a).map(c))),d=R(()=>n1(e.headerHeight)),p=R(()=>{var _;return(((_=e.fixedData)==null?void 0:_.length)||0)*e.rowHeight}),v=R(()=>y(s)-y(d)-y(p)),g=R(()=>{const{style:_={},height:b,width:S}=e;return Rl(_e(X({},_),{height:b,width:S}))}),m=R(()=>Rl({height:e.footerHeight})),w=R(()=>({top:Vn(y(d)),bottom:Vn(e.footerHeight),width:Vn(e.width)}));return{bodyWidth:o,fixedTableHeight:u,mainTableHeight:s,leftTableWidth:f,rightTableWidth:h,headerWidth:i,rowsHeight:l,windowHeight:v,footerHeight:m,emptyStyle:w,rootStyle:g,headerHeight:d}};function KCe(e){const t=H(),n=H(),r=H(),{columns:a,columnsStyles:o,columnsTotalWidth:i,fixedColumnsOnLeft:s,fixedColumnsOnRight:l,hasFixedColumns:u,mainColumns:c,onColumnSorted:f}=VCe(e,Jt(e,"columns"),Jt(e,"fixed")),{scrollTo:h,scrollToLeft:d,scrollToTop:p,scrollToRow:v,onScroll:g,onVerticalScroll:m,scrollPos:w}=zCe(e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,onMaybeEndReached:K}),_=Ae("table-v2"),b=st(),S=gn(!1),{expandedRowKeys:C,lastRenderedRowIndex:T,isDynamic:x,isResetting:E,rowHeights:k,resetAfterIndex:A,onRowExpanded:P,onRowHeightChange:$,onRowHovered:B,onRowsRendered:I}=HCe(e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,tableInstance:b,ns:_,isScrolling:S}),{data:M,depthMap:L}=WCe(e,{expandedRowKeys:C,lastRenderedRowIndex:T,resetAfterIndex:A}),{bodyWidth:O,fixedTableHeight:D,mainTableHeight:z,leftTableWidth:V,rightTableWidth:j,headerWidth:U,rowsHeight:ne,windowHeight:ie,footerHeight:fe,emptyStyle:G,rootStyle:oe,headerHeight:se}=jCe(e,{columnsTotalWidth:i,data:M,fixedColumnsOnLeft:s,fixedColumnsOnRight:l}),ue=H(),he=R(()=>{const Q=y(M).length===0;return Me(e.fixedData)?e.fixedData.length===0&&Q:Q});function ae(Q){const{estimatedRowHeight:pe,rowHeight:we,rowKey:me}=e;return pe?y(k)[y(M)[Q][me]]||pe:we}function K(){const{onEndReached:Q}=e;if(!Q)return;const{scrollTop:pe}=y(w),we=y(ne),me=y(ie),be=we-(pe+me)+e.hScrollbarSize;y(T)>=0&&we===pe+y(z)-y(se)&&Q(be)}return xe(()=>e.expandedRowKeys,Q=>C.value=Q,{deep:!0}),{columns:a,containerRef:ue,mainTableRef:t,leftTableRef:n,rightTableRef:r,isDynamic:x,isResetting:E,isScrolling:S,hasFixedColumns:u,columnsStyles:o,columnsTotalWidth:i,data:M,expandedRowKeys:C,depthMap:L,fixedColumnsOnLeft:s,fixedColumnsOnRight:l,mainColumns:c,bodyWidth:O,emptyStyle:G,rootStyle:oe,headerWidth:U,footerHeight:fe,mainTableHeight:z,fixedTableHeight:D,leftTableWidth:V,rightTableWidth:j,showEmpty:he,getRowHeight:ae,onColumnSorted:f,onRowHovered:B,onRowExpanded:P,onRowsRendered:I,onRowHeightChange:$,scrollTo:h,scrollToLeft:d,scrollToTop:p,scrollToRow:v,onScroll:g,onVerticalScroll:m}}const A5=Symbol("tableV2"),qW=String,Cm={type:ce(Array),required:!0},M5={type:ce(Array)},YW=_e(X({},M5),{required:!0}),GCe=String,r8={type:ce(Array),default:()=>In([])},uc={type:Number,required:!0},XW={type:ce([String,Number,Symbol]),default:"id"},a8={type:ce(Object)},yc=Ie({class:String,columns:Cm,columnsStyles:{type:ce(Object),required:!0},depth:Number,expandColumnKey:GCe,estimatedRowHeight:_e(X({},Ic.estimatedRowHeight),{default:void 0}),isScrolling:Boolean,onRowExpand:{type:ce(Function)},onRowHover:{type:ce(Function)},onRowHeightChange:{type:ce(Function)},rowData:{type:ce(Object),required:!0},rowEventHandlers:{type:ce(Object)},rowIndex:{type:Number,required:!0},rowKey:XW,style:{type:ce(Object)}}),i2={type:Number,required:!0},O5=Ie({class:String,columns:Cm,fixedHeaderData:{type:ce(Array)},headerData:{type:ce(Array),required:!0},headerHeight:{type:ce([Number,Array]),default:50},rowWidth:i2,rowHeight:{type:Number,default:50},height:i2,width:i2}),r1=Ie({columns:Cm,data:YW,fixedData:M5,estimatedRowHeight:yc.estimatedRowHeight,width:uc,height:uc,headerWidth:uc,headerHeight:O5.headerHeight,bodyWidth:uc,rowHeight:uc,cache:pW.cache,useIsScrolling:Boolean,scrollbarAlwaysOn:Ic.scrollbarAlwaysOn,scrollbarStartGap:Ic.scrollbarStartGap,scrollbarEndGap:Ic.scrollbarEndGap,class:qW,style:a8,containerStyle:a8,getRowHeight:{type:ce(Function),required:!0},rowKey:yc.rowKey,onRowsRendered:{type:ce(Function)},onScroll:{type:ce(Function)}}),qCe=Ie({cache:r1.cache,estimatedRowHeight:yc.estimatedRowHeight,rowKey:XW,headerClass:{type:ce([String,Function])},headerProps:{type:ce([Object,Function])},headerCellProps:{type:ce([Object,Function])},headerHeight:O5.headerHeight,footerHeight:{type:Number,default:0},rowClass:{type:ce([String,Function])},rowProps:{type:ce([Object,Function])},rowHeight:{type:Number,default:50},cellProps:{type:ce([Object,Function])},columns:Cm,data:YW,dataGetter:{type:ce(Function)},fixedData:M5,expandColumnKey:yc.expandColumnKey,expandedRowKeys:r8,defaultExpandedRowKeys:r8,class:qW,fixed:Boolean,style:{type:ce(Object)},width:uc,height:uc,maxHeight:Number,useIsScrolling:Boolean,indentSize:{type:Number,default:12},iconSize:{type:Number,default:12},hScrollbarSize:Ic.hScrollbarSize,vScrollbarSize:Ic.vScrollbarSize,scrollbarAlwaysOn:mW.alwaysOn,sortBy:{type:ce(Object),default:()=>({})},sortState:{type:ce(Object),default:void 0},onColumnSort:{type:ce(Function)},onExpandedRowsChange:{type:ce(Function)},onEndReached:{type:ce(Function)},onRowExpand:yc.onRowExpand,onScroll:r1.onScroll,onRowsRendered:r1.onRowsRendered,rowEventHandlers:yc.rowEventHandlers}),YCe="ElTableV2Header",XCe=te({name:YCe,props:O5,setup(e,{slots:t,expose:n}){const r=Ae("table-v2"),a=ze("tableV2GridScrollLeft"),o=H(),i=R(()=>Rl({width:e.width,height:e.height})),s=R(()=>Rl({width:e.rowWidth,height:e.height})),l=R(()=>ua(y(e.headerHeight))),u=h=>{const d=y(o);qe(()=>{d!=null&&d.scroll&&d.scroll({left:h})})},c=()=>{const h=r.e("fixed-header-row"),{columns:d,fixedHeaderData:p,rowHeight:v}=e;return p==null?void 0:p.map((g,m)=>{var w;const _=Rl({height:v,width:"100%"});return(w=t.fixed)==null?void 0:w.call(t,{class:h,columns:d,rowData:g,rowIndex:-(m+1),style:_})})},f=()=>{const h=r.e("dynamic-header-row"),{columns:d}=e;return y(l).map((p,v)=>{var g;const m=Rl({width:"100%",height:p});return(g=t.dynamic)==null?void 0:g.call(t,{class:h,columns:d,headerIndex:v,style:m})})};return oo(()=>{a!=null&&a.value&&u(a.value)}),n({scrollToLeft:u}),()=>{if(!(e.height<=0))return ee("div",{ref:o,class:e.class,style:y(i),role:"rowgroup"},[ee("div",{style:y(s),class:r.e("header")},[f(),c()])])}}});var ZCe=XCe;const JCe=({atXEndEdge:e,atXStartEdge:t,atYEndEdge:n,atYStartEdge:r},a)=>{let o=null,i=0,s=0;const l=(c,f)=>{const h=c<=0&&t.value||c>=0&&e.value,d=f<=0&&r.value||f>=0&&n.value;return h&&d};return{hasReachedEdge:l,onWheel:c=>{tf(o);let f=c.deltaX,h=c.deltaY;Math.abs(f)>Math.abs(h)?h=0:f=0,c.shiftKey&&h!==0&&(f=h,h=0),!(l(i,s)&&l(i+f,s+h))&&(i+=f,s+=h,c.preventDefault(),o=ou(()=>{a(i,s),i=0,s=0}))}}},ZW=({name:e,clearCache:t,getColumnPosition:n,getColumnStartIndexForOffset:r,getColumnStopIndexForStartIndex:a,getEstimatedTotalHeight:o,getEstimatedTotalWidth:i,getColumnOffset:s,getRowOffset:l,getRowPosition:u,getRowStartIndexForOffset:c,getRowStopIndexForStartIndex:f,initCache:h,injectToInstance:d,validateProps:p})=>te({name:e!=null?e:"ElVirtualList",props:Ic,emits:[lb,ub],setup(v,{emit:g,expose:m,slots:w}){const _=Ae("vl");p(v);const b=st(),S=H(h(v,b));d==null||d(b,S);const C=H(),T=H(),x=H(),E=H(null),k=H({isScrolling:!1,scrollLeft:et(v.initScrollLeft)?v.initScrollLeft:0,scrollTop:et(v.initScrollTop)?v.initScrollTop:0,updateRequested:!1,xAxisScrollDir:vd,yAxisScrollDir:vd}),A=fW(),P=R(()=>Number.parseInt(`${v.height}`,10)),$=R(()=>Number.parseInt(`${v.width}`,10)),B=R(()=>{const{totalColumn:me,totalRow:be,columnCache:Ce}=v,{isScrolling:ke,xAxisScrollDir:Oe,scrollLeft:Pe}=y(k);if(me===0||be===0)return[0,0,0,0];const He=r(v,Pe,y(S)),Te=a(v,He,Pe,y(S)),Be=!ke||Oe===cb?Math.max(1,Ce):1,Je=!ke||Oe===vd?Math.max(1,Ce):1;return[Math.max(0,He-Be),Math.max(0,Math.min(me-1,Te+Je)),He,Te]}),I=R(()=>{const{totalColumn:me,totalRow:be,rowCache:Ce}=v,{isScrolling:ke,yAxisScrollDir:Oe,scrollTop:Pe}=y(k);if(me===0||be===0)return[0,0,0,0];const He=c(v,Pe,y(S)),Te=f(v,He,Pe,y(S)),Be=!ke||Oe===cb?Math.max(1,Ce):1,Je=!ke||Oe===vd?Math.max(1,Ce):1;return[Math.max(0,He-Be),Math.max(0,Math.min(be-1,Te+Je)),He,Te]}),M=R(()=>o(v,y(S))),L=R(()=>i(v,y(S))),O=R(()=>{var me;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:v.direction,height:et(v.height)?`${v.height}px`:v.height,width:et(v.width)?`${v.width}px`:v.width},(me=v.style)!=null?me:{}]}),D=R(()=>{const me=`${y(L)}px`;return{height:`${y(M)}px`,pointerEvents:y(k).isScrolling?"none":void 0,width:me}}),z=()=>{const{totalColumn:me,totalRow:be}=v;if(me>0&&be>0){const[Te,Be,Je,dt]=y(B),[ct,wt,Mt,Zt]=y(I);g(lb,{columnCacheStart:Te,columnCacheEnd:Be,rowCacheStart:ct,rowCacheEnd:wt,columnVisibleStart:Je,columnVisibleEnd:dt,rowVisibleStart:Mt,rowVisibleEnd:Zt})}const{scrollLeft:Ce,scrollTop:ke,updateRequested:Oe,xAxisScrollDir:Pe,yAxisScrollDir:He}=y(k);g(ub,{xAxisScrollDir:Pe,scrollLeft:Ce,yAxisScrollDir:He,scrollTop:ke,updateRequested:Oe})},V=me=>{const{clientHeight:be,clientWidth:Ce,scrollHeight:ke,scrollLeft:Oe,scrollTop:Pe,scrollWidth:He}=me.currentTarget,Te=y(k);if(Te.scrollTop===Pe&&Te.scrollLeft===Oe)return;let Be=Oe;if(z6(v.direction))switch(db()){case pg:Be=-Oe;break;case T5:Be=He-Ce-Oe;break}k.value=_e(X({},Te),{isScrolling:!0,scrollLeft:Be,scrollTop:Math.max(0,Math.min(Pe,ke-be)),updateRequested:!0,xAxisScrollDir:gc(Te.scrollLeft,Be),yAxisScrollDir:gc(Te.scrollTop,Pe)}),qe(()=>oe()),se(),z()},j=(me,be)=>{const Ce=y(P),ke=(M.value-Ce)/be*me;ie({scrollTop:Math.min(M.value-Ce,ke)})},U=(me,be)=>{const Ce=y($),ke=(L.value-Ce)/be*me;ie({scrollLeft:Math.min(L.value-Ce,ke)})},{onWheel:ne}=JCe({atXStartEdge:R(()=>k.value.scrollLeft<=0),atXEndEdge:R(()=>k.value.scrollLeft>=L.value-y($)),atYStartEdge:R(()=>k.value.scrollTop<=0),atYEndEdge:R(()=>k.value.scrollTop>=M.value-y(P))},(me,be)=>{var Ce,ke,Oe,Pe;(ke=(Ce=T.value)==null?void 0:Ce.onMouseUp)==null||ke.call(Ce),(Pe=(Oe=x.value)==null?void 0:Oe.onMouseUp)==null||Pe.call(Oe);const He=y($),Te=y(P);ie({scrollLeft:Math.min(k.value.scrollLeft+me,L.value-He),scrollTop:Math.min(k.value.scrollTop+be,M.value-Te)})});sn(C,"wheel",ne,{passive:!1});const ie=({scrollLeft:me=k.value.scrollLeft,scrollTop:be=k.value.scrollTop})=>{me=Math.max(me,0),be=Math.max(be,0);const Ce=y(k);be===Ce.scrollTop&&me===Ce.scrollLeft||(k.value=_e(X({},Ce),{xAxisScrollDir:gc(Ce.scrollLeft,me),yAxisScrollDir:gc(Ce.scrollTop,be),scrollLeft:me,scrollTop:be,updateRequested:!0}),qe(()=>oe()),se(),z())},fe=(me=0,be=0,Ce=To)=>{const ke=y(k);be=Math.max(0,Math.min(be,v.totalColumn-1)),me=Math.max(0,Math.min(me,v.totalRow-1));const Oe=az(_.namespace.value),Pe=y(S),He=o(v,Pe),Te=i(v,Pe);ie({scrollLeft:s(v,be,Ce,ke.scrollLeft,Pe,Te>v.width?Oe:0),scrollTop:l(v,me,Ce,ke.scrollTop,Pe,He>v.height?Oe:0)})},G=(me,be)=>{const{columnWidth:Ce,direction:ke,rowHeight:Oe}=v,Pe=A.value(t&&Ce,t&&Oe,t&&ke),He=`${me},${be}`;if(Vt(Pe,He))return Pe[He];{const[,Te]=n(v,be,y(S)),Be=y(S),Je=z6(ke),[dt,ct]=u(v,me,Be),[wt]=n(v,be,Be);return Pe[He]={position:"absolute",left:Je?void 0:`${Te}px`,right:Je?`${Te}px`:void 0,top:`${ct}px`,height:`${dt}px`,width:`${wt}px`},Pe[He]}},oe=()=>{k.value.isScrolling=!1,qe(()=>{A.value(-1,null,null)})};ft(()=>{if(!Bt)return;const{initScrollLeft:me,initScrollTop:be}=v,Ce=y(C);Ce&&(et(me)&&(Ce.scrollLeft=me),et(be)&&(Ce.scrollTop=be)),z()});const se=()=>{const{direction:me}=v,{scrollLeft:be,scrollTop:Ce,updateRequested:ke}=y(k),Oe=y(C);if(ke&&Oe){if(me===Id)switch(db()){case pg:{Oe.scrollLeft=-be;break}case C5:{Oe.scrollLeft=be;break}default:{const{clientWidth:Pe,scrollWidth:He}=Oe;Oe.scrollLeft=He-Pe-be;break}}else Oe.scrollLeft=Math.max(0,be);Oe.scrollTop=Math.max(0,Ce)}},{resetAfterColumnIndex:ue,resetAfterRowIndex:he,resetAfter:ae}=b.proxy;m({windowRef:C,innerRef:E,getItemStyleCache:A,scrollTo:ie,scrollToItem:fe,states:k,resetAfterColumnIndex:ue,resetAfterRowIndex:he,resetAfter:ae});const K=()=>{const{scrollbarAlwaysOn:me,scrollbarStartGap:be,scrollbarEndGap:Ce,totalColumn:ke,totalRow:Oe}=v,Pe=y($),He=y(P),Te=y(L),Be=y(M),{scrollLeft:Je,scrollTop:dt}=y(k),ct=We(iE,{ref:T,alwaysOn:me,startGap:be,endGap:Ce,class:_.e("horizontal"),clientSize:Pe,layout:"horizontal",onScroll:U,ratio:Pe*100/Te,scrollFrom:Je/(Te-Pe),total:Oe,visible:!0}),wt=We(iE,{ref:x,alwaysOn:me,startGap:be,endGap:Ce,class:_.e("vertical"),clientSize:He,layout:"vertical",onScroll:j,ratio:He*100/Be,scrollFrom:dt/(Be-He),total:ke,visible:!0});return{horizontalScrollbar:ct,verticalScrollbar:wt}},Q=()=>{var me;const[be,Ce]=y(B),[ke,Oe]=y(I),{data:Pe,totalColumn:He,totalRow:Te,useIsScrolling:Be,itemKey:Je}=v,dt=[];if(Te>0&&He>0)for(let ct=ke;ct<=Oe;ct++)for(let wt=be;wt<=Ce;wt++){const Mt=Je({columnIndex:wt,data:Pe,rowIndex:ct});dt.push(We(je,{key:Mt},(me=w.default)==null?void 0:me.call(w,{columnIndex:wt,data:Pe,isScrolling:Be?y(k).isScrolling:void 0,style:G(ct,wt),rowIndex:ct})))}return dt},pe=()=>{const me=bt(v.innerElement),be=Q();return[We(me,{style:y(D),ref:E},Ze(me)?be:{default:()=>be})]};return()=>{const me=bt(v.containerElement),{horizontalScrollbar:be,verticalScrollbar:Ce}=K(),ke=pe();return We("div",{key:0,class:_.e("wrapper"),role:v.role},[We(me,{class:v.className,style:y(O),onScroll:V,ref:C},Ze(me)?ke:{default:()=>ke}),be,Ce])}}}),{max:vb,min:JW,floor:QW}=Math,QCe={column:"columnWidth",row:"rowHeight"},yE={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},Is=(e,t,n,r)=>{const[a,o,i]=[n[r],e[QCe[r]],n[yE[r]]];if(t>i){let s=0;if(i>=0){const l=a[i];s=l.offset+l.size}for(let l=i+1;l<=t;l++){const u=o(l);a[l]={offset:s,size:u},s+=u}n[yE[r]]=t}return a[t]},eU=(e,t,n,r,a,o)=>{for(;n<=r;){const i=n+QW((r-n)/2),s=Is(e,i,t,o).offset;if(s===a)return i;s{const o=a==="column"?e.totalColumn:e.totalRow;let i=1;for(;n{const[a,o]=[t[r],t[yE[r]]];return(o>0?a[o].offset:0)>=n?eU(e,t,0,o,n,r):eTe(e,t,vb(0,o),n,r)},tU=({totalRow:e},{estimatedRowHeight:t,lastVisitedRowIndex:n,row:r})=>{let a=0;if(n>=e&&(n=e-1),n>=0){const s=r[n];a=s.offset+s.size}const i=(e-n-1)*t;return a+i},nU=({totalColumn:e},{column:t,estimatedColumnWidth:n,lastVisitedColumnIndex:r})=>{let a=0;if(r>e&&(r=e-1),r>=0){const s=t[r];a=s.offset+s.size}const i=(e-r-1)*n;return a+i},tTe={column:nU,row:tU},i8=(e,t,n,r,a,o,i)=>{const[s,l]=[o==="row"?e.height:e.width,tTe[o]],u=Is(e,t,a,o),c=l(e,a),f=vb(0,JW(c-s,u.offset)),h=vb(0,u.offset-s+i+u.size);switch(n===iw&&(r>=h-s&&r<=f+s?n=To:n=Qi),n){case dg:return f;case hg:return h;case Qi:return Math.round(h+(f-h)/2);case To:default:return r>=h&&r<=f?r:h>f||r{const r=Is(e,t,n,"column");return[r.size,r.offset]},getRowPosition:(e,t,n)=>{const r=Is(e,t,n,"row");return[r.size,r.offset]},getColumnOffset:(e,t,n,r,a,o)=>i8(e,t,n,r,a,"column",o),getRowOffset:(e,t,n,r,a,o)=>i8(e,t,n,r,a,"row",o),getColumnStartIndexForOffset:(e,t,n)=>o8(e,n,t,"column"),getColumnStopIndexForStartIndex:(e,t,n,r)=>{const a=Is(e,t,r,"column"),o=n+e.width;let i=a.offset+a.size,s=t;for(;so8(e,n,t,"row"),getRowStopIndexForStartIndex:(e,t,n,r)=>{const{totalRow:a,height:o}=e,i=Is(e,t,r,"row"),s=n+o;let l=i.size+i.offset,u=t;for(;u{const n=({columnIndex:o,rowIndex:i},s)=>{var l,u;s=_n(s)?!0:s,et(o)&&(t.value.lastVisitedColumnIndex=Math.min(t.value.lastVisitedColumnIndex,o-1)),et(i)&&(t.value.lastVisitedRowIndex=Math.min(t.value.lastVisitedRowIndex,i-1)),(l=e.exposed)==null||l.getItemStyleCache.value(-1,null,null),s&&((u=e.proxy)==null||u.$forceUpdate())},r=(o,i)=>{n({columnIndex:o},i)},a=(o,i)=>{n({rowIndex:o},i)};Object.assign(e.proxy,{resetAfterColumnIndex:r,resetAfterRowIndex:a,resetAfter:n})},initCache:({estimatedColumnWidth:e=eE,estimatedRowHeight:t=eE})=>({column:{},estimatedColumnWidth:e,estimatedRowHeight:t,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:e,rowHeight:t})=>{}}),rTe=ZW({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:e},t)=>[e,t*e],getRowPosition:({rowHeight:e},t)=>[e,t*e],getEstimatedTotalHeight:({totalRow:e,rowHeight:t})=>t*e,getEstimatedTotalWidth:({totalColumn:e,columnWidth:t})=>t*e,getColumnOffset:({totalColumn:e,columnWidth:t,width:n},r,a,o,i,s)=>{n=Number(n);const l=Math.max(0,e*t-n),u=Math.min(l,r*t),c=Math.max(0,r*t-n+s+t);switch(a==="smart"&&(o>=c-n&&o<=u+n?a=To:a=Qi),a){case dg:return u;case hg:return c;case Qi:{const f=Math.round(c+(u-c)/2);return fl+Math.floor(n/2)?l:f}case To:default:return o>=c&&o<=u?o:c>u||o{t=Number(t);const l=Math.max(0,n*e-t),u=Math.min(l,r*e),c=Math.max(0,r*e-t+s+e);switch(a===iw&&(o>=c-t&&o<=u+t?a=To:a=Qi),a){case dg:return u;case hg:return c;case Qi:{const f=Math.round(c+(u-c)/2);return fl+Math.floor(t/2)?l:f}case To:default:return o>=c&&o<=u?o:c>u||oMath.max(0,Math.min(t-1,Math.floor(n/e))),getColumnStopIndexForStartIndex:({columnWidth:e,totalColumn:t,width:n},r,a)=>{const o=r*e,i=Math.ceil((n+a-o)/e);return Math.max(0,Math.min(t-1,r+i-1))},getRowStartIndexForOffset:({rowHeight:e,totalRow:t},n)=>Math.max(0,Math.min(t-1,Math.floor(n/e))),getRowStopIndexForStartIndex:({rowHeight:e,totalRow:t,height:n},r,a)=>{const o=r*e,i=Math.ceil((n+a-o)/e);return Math.max(0,Math.min(t-1,r+i-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:e,rowHeight:t})=>{}}),aTe="ElTableV2Grid",oTe=e=>{const t=H(),n=H(),r=H(0),a=R(()=>{const{data:g,rowHeight:m,estimatedRowHeight:w}=e;if(!w)return g.length*m}),o=R(()=>{const{fixedData:g,rowHeight:m}=e;return((g==null?void 0:g.length)||0)*m}),i=R(()=>n1(e.headerHeight)),s=R(()=>{const{height:g}=e;return Math.max(0,g-y(i)-y(o))}),l=R(()=>y(i)+y(o)>0),u=({data:g,rowIndex:m})=>g[m][e.rowKey];function c({rowCacheStart:g,rowCacheEnd:m,rowVisibleStart:w,rowVisibleEnd:_}){var b;(b=e.onRowsRendered)==null||b.call(e,{rowCacheStart:g,rowCacheEnd:m,rowVisibleStart:w,rowVisibleEnd:_})}function f(g,m){var w;(w=n.value)==null||w.resetAfterRowIndex(g,m)}function h(g,m){const w=y(t),_=y(n);_t(g)?(w==null||w.scrollToLeft(g.scrollLeft),r.value=g.scrollLeft,_==null||_.scrollTo(g)):(w==null||w.scrollToLeft(g),r.value=g,_==null||_.scrollTo({scrollLeft:g,scrollTop:m}))}function d(g){var m;(m=y(n))==null||m.scrollTo({scrollTop:g})}function p(g,m){var w;(w=y(n))==null||w.scrollToItem(g,1,m)}function v(){var g,m;(g=y(n))==null||g.$forceUpdate(),(m=y(t))==null||m.$forceUpdate()}return{bodyRef:n,forceUpdate:v,fixedRowHeight:o,gridHeight:s,hasHeader:l,headerHeight:i,headerRef:t,totalHeight:a,itemKey:u,onItemRendered:c,resetAfterRowIndex:f,scrollTo:h,scrollToTop:d,scrollToRow:p,scrollLeft:r}},iTe=te({name:aTe,props:r1,setup(e,{slots:t,expose:n}){const{ns:r}=ze(A5),{bodyRef:a,fixedRowHeight:o,gridHeight:i,hasHeader:s,headerRef:l,headerHeight:u,totalHeight:c,forceUpdate:f,itemKey:h,onItemRendered:d,resetAfterRowIndex:p,scrollTo:v,scrollToTop:g,scrollToRow:m,scrollLeft:w}=oTe(e);kt("tableV2GridScrollLeft",w),n({forceUpdate:f,totalHeight:c,scrollTo:v,scrollToTop:g,scrollToRow:m,resetAfterRowIndex:p});const _=()=>e.bodyWidth;return()=>{const{cache:b,columns:S,data:C,fixedData:T,useIsScrolling:x,scrollbarAlwaysOn:E,scrollbarEndGap:k,scrollbarStartGap:A,style:P,rowHeight:$,bodyWidth:B,estimatedRowHeight:I,headerWidth:M,height:L,width:O,getRowHeight:D,onScroll:z}=e,V=et(I),j=V?nTe:rTe,U=y(u);return ee("div",{role:"table",class:[r.e("table"),e.class],style:P},[ee(j,{ref:a,data:C,useIsScrolling:x,itemKey:h,columnCache:0,columnWidth:V?_:B,totalColumn:1,totalRow:C.length,rowCache:b,rowHeight:V?D:$,width:O,height:y(i),class:r.e("body"),role:"rowgroup",scrollbarStartGap:A,scrollbarEndGap:k,scrollbarAlwaysOn:E,onScroll:z,onItemRendered:d,perfMode:!1},{default:ne=>{var ie;const fe=C[ne.rowIndex];return(ie=t.row)==null?void 0:ie.call(t,_e(X({},ne),{columns:S,rowData:fe}))}}),y(s)&&ee(ZCe,{ref:l,class:r.e("header-wrapper"),columns:S,headerData:C,headerHeight:e.headerHeight,fixedHeaderData:T,rowWidth:M,rowHeight:$,width:O,height:Math.min(U+y(o),L)},{dynamic:t.header,fixed:t.row})])}}});var P5=iTe;function sTe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!yn(e)}const lTe=(e,{slots:t})=>{const a=e,{mainTableRef:n}=a,r=ja(a,["mainTableRef"]);return ee(P5,Et({ref:n},r),sTe(t)?t:{default:()=>[t]})};var uTe=lTe;function cTe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!yn(e)}const fTe=(e,{slots:t})=>{if(!e.columns.length)return;const a=e,{leftTableRef:n}=a,r=ja(a,["leftTableRef"]);return ee(P5,Et({ref:n},r),cTe(t)?t:{default:()=>[t]})};var dTe=fTe;function hTe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!yn(e)}const pTe=(e,{slots:t})=>{if(!e.columns.length)return;const a=e,{rightTableRef:n}=a,r=ja(a,["rightTableRef"]);return ee(P5,Et({ref:n},r),hTe(t)?t:{default:()=>[t]})};var vTe=pTe;const gTe=e=>{const{isScrolling:t}=ze(A5),n=H(!1),r=H(),a=R(()=>et(e.estimatedRowHeight)&&e.rowIndex>=0),o=(l=!1)=>{const u=y(r);if(!u)return;const{columns:c,onRowHeightChange:f,rowKey:h,rowIndex:d,style:p}=e,{height:v}=u.getBoundingClientRect();n.value=!0,qe(()=>{if(l||v!==Number.parseInt(p.height)){const g=c[0],m=(g==null?void 0:g.placeholderSign)===yg;f==null||f({rowKey:h,height:v,rowIndex:d},g&&!m&&g.fixed)}})},i=R(()=>{const{rowData:l,rowIndex:u,rowKey:c,onRowHover:f}=e,h=e.rowEventHandlers||{},d={};return Object.entries(h).forEach(([p,v])=>{Ge(v)&&(d[p]=g=>{v({event:g,rowData:l,rowIndex:u,rowKey:c})})}),f&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach(({name:p,hovered:v})=>{const g=d[p];d[p]=m=>{f({event:m,hovered:v,rowData:l,rowIndex:u,rowKey:c}),g==null||g(m)}}),d}),s=l=>{const{onRowExpand:u,rowData:c,rowIndex:f,rowKey:h}=e;u==null||u({expanded:l,rowData:c,rowIndex:f,rowKey:h})};return ft(()=>{y(a)&&o(!0)}),{isScrolling:t,measurable:a,measured:n,rowRef:r,eventHandlers:i,onExpand:s}},mTe="ElTableV2TableRow",yTe=te({name:mTe,props:yc,setup(e,{expose:t,slots:n,attrs:r}){const{eventHandlers:a,isScrolling:o,measurable:i,measured:s,rowRef:l,onExpand:u}=gTe(e);return t({onExpand:u}),()=>{const{columns:c,columnsStyles:f,expandColumnKey:h,depth:d,rowData:p,rowIndex:v,style:g}=e;let m=c.map((_,b)=>{const S=Me(p.children)&&p.children.length>0&&_.key===h;return n.cell({column:_,columns:c,columnIndex:b,depth:d,style:f[_.key],rowData:p,rowIndex:v,isScrolling:y(o),expandIconProps:S?{rowData:p,rowIndex:v,onExpand:u}:void 0})});if(n.row&&(m=n.row({cells:m.map(_=>Me(_)&&_.length===1?_[0]:_),style:g,columns:c,depth:d,rowData:p,rowIndex:v,isScrolling:y(o)})),y(i)){const w=g||{},{height:_}=w,b=ja(w,["height"]),S=y(s);return ee("div",Et({ref:l,class:e.class,style:S?g:b,role:"row"},r,y(a)),[m])}return ee("div",Et(r,{ref:l,class:e.class,style:g,role:"row"},y(a)),[m])}}});var bTe=yTe;function _Te(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!yn(e)}const wTe=(e,{slots:t})=>{const{columns:n,columnsStyles:r,depthMap:a,expandColumnKey:o,expandedRowKeys:i,estimatedRowHeight:s,hasFixedColumns:l,rowData:u,rowIndex:c,style:f,isScrolling:h,rowProps:d,rowClass:p,rowKey:v,rowEventHandlers:g,ns:m,onRowHovered:w,onRowExpanded:_}=e,b=af(p,{columns:n,rowData:u,rowIndex:c},""),S=af(d,{columns:n,rowData:u,rowIndex:c}),C=u[v],T=a[C]||0,x=!!o,E=c<0,k=[m.e("row"),b,{[m.e(`row-depth-${T}`)]:x&&c>=0,[m.is("expanded")]:x&&i.includes(C),[m.is("fixed")]:!T&&E,[m.is("customized")]:!!t.row}],A=l?w:void 0,P=_e(X({},S),{columns:n,columnsStyles:r,class:k,depth:T,expandColumnKey:o,estimatedRowHeight:E?void 0:s,isScrolling:h,rowIndex:c,rowData:u,rowKey:C,rowEventHandlers:g,style:f});return ee(bTe,Et(P,{onRowExpand:_,onMouseenter:I=>{A==null||A({hovered:!0,rowKey:C,event:I,rowData:u,rowIndex:c})},onMouseleave:I=>{A==null||A({hovered:!1,rowKey:C,event:I,rowData:u,rowIndex:c})},rowkey:C}),_Te(t)?t:{default:()=>[t]})};var STe=wTe;const R5=(e,{slots:t})=>{var n;const{cellData:r,style:a}=e,o=((n=r==null?void 0:r.toString)==null?void 0:n.call(r))||"",i=ve(t,"default",e,()=>[o]);return ee("div",{class:e.class,title:o,style:a},[i])};R5.displayName="ElTableV2Cell";R5.inheritAttrs=!1;var CTe=R5;const TTe=e=>{const{expanded:t,expandable:n,onExpand:r,style:a,size:o}=e,i={onClick:n?()=>r(!t):void 0,class:e.class};return ee(Ke,Et(i,{size:o,style:a}),{default:()=>[ee(pa,null,null)]})};var xTe=TTe;const rU=({columns:e,column:t,columnIndex:n,depth:r,expandIconProps:a,isScrolling:o,rowData:i,rowIndex:s,style:l,expandedRowKeys:u,ns:c,cellProps:f,expandColumnKey:h,indentSize:d,iconSize:p,rowKey:v},{slots:g})=>{const m=Rl(l);if(t.placeholderSign===yg)return ee("div",{class:c.em("row-cell","placeholder"),style:m},null);const{cellRenderer:w,dataKey:_,dataGetter:b}=t,S=Ge(b)?b({columns:e,column:t,columnIndex:n,rowData:i,rowIndex:s}):Gn(i,_!=null?_:""),C=af(f,{cellData:S,columns:e,column:t,columnIndex:n,rowIndex:s,rowData:i}),T={class:c.e("cell-text"),columns:e,column:t,columnIndex:n,cellData:S,isScrolling:o,rowData:i,rowIndex:s},x=GW(w),E=x?x(T):ve(g,"default",T,()=>[ee(CTe,T,null)]),k=[c.e("row-cell"),t.class,t.align===mg.CENTER&&c.is("align-center"),t.align===mg.RIGHT&&c.is("align-right")],A=s>=0&&h&&t.key===h,P=s>=0&&u.includes(i[v]);let $;const B=`margin-inline-start: ${r*d}px;`;return A&&(_t(a)?$=ee(xTe,Et(a,{class:[c.e("expand-icon"),c.is("expanded",P)],size:p,expanded:P,style:B,expandable:!0}),null):$=ee("div",{style:[B,`width: ${p}px; height: ${p}px;`].join(" ")},null)),ee("div",Et({class:k,style:m},C,{role:"cell"}),[$,E])};rU.inheritAttrs=!1;var s8=rU;const ETe=Ie({class:String,columns:Cm,columnsStyles:{type:ce(Object),required:!0},headerIndex:Number,style:{type:ce(Object)}}),kTe=te({name:"ElTableV2HeaderRow",props:ETe,setup(e,{slots:t}){return()=>{const{columns:n,columnsStyles:r,headerIndex:a,style:o}=e;let i=n.map((s,l)=>t.cell({columns:n,column:s,columnIndex:l,headerIndex:a,style:r[s.key]}));return t.header&&(i=t.header({cells:i.map(s=>Me(s)&&s.length===1?s[0]:s),columns:n,headerIndex:a})),ee("div",{class:e.class,style:o,role:"row"},[i])}}});var ATe=kTe;function MTe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!yn(e)}const OTe=({columns:e,columnsStyles:t,headerIndex:n,style:r,headerClass:a,headerProps:o,ns:i},{slots:s})=>{const l={columns:e,headerIndex:n},u=[i.e("header-row"),af(a,l,""),{[i.is("customized")]:!!s.header}],c=_e(X({},af(o,l)),{columnsStyles:t,class:u,columns:e,headerIndex:n,style:r});return ee(ATe,c,MTe(s)?s:{default:()=>[s]})};var PTe=OTe;const I5=(e,{slots:t})=>ve(t,"default",e,()=>{var n,r;return[ee("div",{class:e.class,title:(n=e.column)==null?void 0:n.title},[(r=e.column)==null?void 0:r.title])]});I5.displayName="ElTableV2HeaderCell";I5.inheritAttrs=!1;var RTe=I5;const ITe=e=>{const{sortOrder:t}=e;return ee(Ke,{size:14,class:e.class},{default:()=>[t===gg.ASC?ee(sce,null,null):ee(oce,null,null)]})};var DTe=ITe;const LTe=(e,{slots:t})=>{const{column:n,ns:r,style:a,onColumnSorted:o}=e,i=Rl(a);if(n.placeholderSign===yg)return ee("div",{class:r.em("header-row-cell","placeholder"),style:i},null);const{headerCellRenderer:s,headerClass:l,sortable:u}=n,c=_e(X({},e),{class:r.e("header-cell-text")}),f=GW(s),h=f?f(c):ve(t,"default",c,()=>[ee(RTe,c,null)]),{sortBy:d,sortState:p,headerCellProps:v}=e;let g,m;if(p){const b=p[n.key];g=!!mE[b],m=g?b:gg.ASC}else g=n.key===d.key,m=g?d.order:gg.ASC;const w=[r.e("header-cell"),af(l,e,""),n.align===mg.CENTER&&r.is("align-center"),n.align===mg.RIGHT&&r.is("align-right"),u&&r.is("sortable")],_=_e(X({},af(v,e)),{onClick:n.sortable?o:void 0,class:w,style:i,"data-key":n.key});return ee("div",Et(_,{role:"columnheader"}),[h,u&&ee(DTe,{class:[r.e("sort-icon"),g&&r.is("sorting")],sortOrder:m},null)])};var l8=LTe;const aU=(e,{slots:t})=>{var n;return ee("div",{class:e.class,style:e.style},[(n=t.default)==null?void 0:n.call(t)])};aU.displayName="ElTableV2Footer";var $Te=aU;const oU=(e,{slots:t})=>{const n=ve(t,"default",{},()=>[ee(YH,null,null)]);return ee("div",{class:e.class,style:e.style},[n])};oU.displayName="ElTableV2Empty";var NTe=oU;const iU=(e,{slots:t})=>{var n;return ee("div",{class:e.class,style:e.style},[(n=t.default)==null?void 0:n.call(t)])};iU.displayName="ElTableV2Overlay";var BTe=iU;function vp(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!yn(e)}const FTe="ElTableV2",VTe=te({name:FTe,props:qCe,setup(e,{slots:t,expose:n}){const r=Ae("table-v2"),{columnsStyles:a,fixedColumnsOnLeft:o,fixedColumnsOnRight:i,mainColumns:s,mainTableHeight:l,fixedTableHeight:u,leftTableWidth:c,rightTableWidth:f,data:h,depthMap:d,expandedRowKeys:p,hasFixedColumns:v,mainTableRef:g,leftTableRef:m,rightTableRef:w,isDynamic:_,isResetting:b,isScrolling:S,bodyWidth:C,emptyStyle:T,rootStyle:x,headerWidth:E,footerHeight:k,showEmpty:A,scrollTo:P,scrollToLeft:$,scrollToTop:B,scrollToRow:I,getRowHeight:M,onColumnSorted:L,onRowHeightChange:O,onRowHovered:D,onRowExpanded:z,onRowsRendered:V,onScroll:j,onVerticalScroll:U}=KCe(e);return n({scrollTo:P,scrollToLeft:$,scrollToTop:B,scrollToRow:I}),kt(A5,{ns:r,isResetting:b,isScrolling:S}),()=>{const{cache:ne,cellProps:ie,estimatedRowHeight:fe,expandColumnKey:G,fixedData:oe,headerHeight:se,headerClass:ue,headerProps:he,headerCellProps:ae,sortBy:K,sortState:Q,rowHeight:pe,rowClass:we,rowEventHandlers:me,rowKey:be,rowProps:Ce,scrollbarAlwaysOn:ke,indentSize:Oe,iconSize:Pe,useIsScrolling:He,vScrollbarSize:Te,width:Be}=e,Je=y(h),dt={cache:ne,class:r.e("main"),columns:y(s),data:Je,fixedData:oe,estimatedRowHeight:fe,bodyWidth:y(C)+Te,headerHeight:se,headerWidth:y(E),height:y(l),mainTableRef:g,rowKey:be,rowHeight:pe,scrollbarAlwaysOn:ke,scrollbarStartGap:2,scrollbarEndGap:Te,useIsScrolling:He,width:Be,getRowHeight:M,onRowsRendered:V,onScroll:j},ct=y(c),wt=y(u),Mt={cache:ne,class:r.e("left"),columns:y(o),data:Je,estimatedRowHeight:fe,leftTableRef:m,rowHeight:pe,bodyWidth:ct,headerWidth:ct,headerHeight:se,height:wt,rowKey:be,scrollbarAlwaysOn:ke,scrollbarStartGap:2,scrollbarEndGap:Te,useIsScrolling:He,width:ct,getRowHeight:M,onScroll:U},Se=y(f)+Te,Ne={cache:ne,class:r.e("right"),columns:y(i),data:Je,estimatedRowHeight:fe,rightTableRef:w,rowHeight:pe,bodyWidth:Se,headerWidth:Se,headerHeight:se,height:wt,rowKey:be,scrollbarAlwaysOn:ke,scrollbarStartGap:2,scrollbarEndGap:Te,width:Se,style:`--${y(r.namespace)}-table-scrollbar-size: ${Te}px`,useIsScrolling:He,getRowHeight:M,onScroll:U},Y=y(a),J={ns:r,depthMap:y(d),columnsStyles:Y,expandColumnKey:G,expandedRowKeys:y(p),estimatedRowHeight:fe,hasFixedColumns:y(v),rowProps:Ce,rowClass:we,rowKey:be,rowEventHandlers:me,onRowHovered:D,onRowExpanded:z,onRowHeightChange:O},W={cellProps:ie,expandColumnKey:G,indentSize:Oe,iconSize:Pe,rowKey:be,expandedRowKeys:y(p),ns:r},Ee={ns:r,headerClass:ue,headerProps:he,columnsStyles:Y},Fe={ns:r,sortBy:K,sortState:Q,headerCellProps:ae,onColumnSorted:L},tt={row:bn=>ee(STe,Et(bn,J),{row:t.row,cell:Nt=>{let Ct;return t.cell?ee(s8,Et(Nt,W,{style:Y[Nt.column.key]}),vp(Ct=t.cell(Nt))?Ct:{default:()=>[Ct]}):ee(s8,Et(Nt,W,{style:Y[Nt.column.key]}),null)}}),header:bn=>ee(PTe,Et(bn,Ee),{header:t.header,cell:Nt=>{let Ct;return t["header-cell"]?ee(l8,Et(Nt,Fe,{style:Y[Nt.column.key]}),vp(Ct=t["header-cell"](Nt))?Ct:{default:()=>[Ct]}):ee(l8,Et(Nt,Fe,{style:Y[Nt.column.key]}),null)}})},at=[e.class,r.b(),r.e("root"),{[r.is("dynamic")]:y(_)}],kn={class:r.e("footer"),style:y(k)};return ee("div",{class:at,style:y(x)},[ee(uTe,dt,vp(tt)?tt:{default:()=>[tt]}),ee(dTe,Mt,vp(tt)?tt:{default:()=>[tt]}),ee(vTe,Ne,vp(tt)?tt:{default:()=>[tt]}),t.footer&&ee($Te,kn,{default:t.footer}),y(A)&&ee(NTe,{class:r.e("empty"),style:y(T)},{default:t.empty}),t.overlay&&ee(BTe,{class:r.e("overlay")},{default:t.overlay})])}}});var zTe=VTe;const HTe=Ie({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:ce(Function)}}),WTe=e=>{const t=H(),n=H(0),r=H(0);let a;return ft(()=>{a=On(t,([o])=>{const{width:i,height:s}=o.contentRect,{paddingLeft:l,paddingRight:u,paddingTop:c,paddingBottom:f}=getComputedStyle(o.target),h=Number.parseInt(l)||0,d=Number.parseInt(u)||0,p=Number.parseInt(c)||0,v=Number.parseInt(f)||0;n.value=i-h-d,r.value=s-p-v}).stop}),fn(()=>{a==null||a()}),xe([n,r],([o,i])=>{var s;(s=e.onResize)==null||s.call(e,{width:o,height:i})}),{sizer:t,width:n,height:r}},UTe=te({name:"ElAutoResizer",props:HTe,setup(e,{slots:t}){const n=Ae("auto-resizer"),{height:r,width:a,sizer:o}=WTe(e),i={width:"100%",height:"100%"};return()=>{var s;return ee("div",{ref:o,class:n.b(),style:i},[(s=t.default)==null?void 0:s.call(t,{height:r.value,width:a.value})])}}});var jTe=UTe;const KTe=pt(zTe),GTe=pt(jTe),sw=Symbol("tabsRootContextKey"),qTe=Ie({tabs:{type:ce(Array),default:()=>In([])}}),sU="ElTabBar",YTe=te({name:sU}),XTe=te(_e(X({},YTe),{props:qTe,setup(e,{expose:t}){const n=e,r=st(),a=ze(sw);a||ar(sU,"");const o=Ae("tabs"),i=H(),s=H(),l=()=>{let d=0,p=0;const v=["top","bottom"].includes(a.props.tabPosition)?"width":"height",g=v==="width"?"x":"y",m=g==="x"?"left":"top";return n.tabs.every(w=>{var _,b;const S=(b=(_=r.parent)==null?void 0:_.refs)==null?void 0:b[`tab-${w.uid}`];if(!S)return!1;if(!w.active)return!0;d=S[`offset${Yi(m)}`],p=S[`client${Yi(v)}`];const C=window.getComputedStyle(S);return v==="width"&&(p-=Number.parseFloat(C.paddingLeft)+Number.parseFloat(C.paddingRight),d+=Number.parseFloat(C.paddingLeft)),!1}),{[v]:`${p}px`,transform:`translate${Yi(g)}(${d}px)`}},u=()=>s.value=l(),c=[],f=()=>{var d;c.forEach(v=>v.stop()),c.length=0;const p=(d=r.parent)==null?void 0:d.refs;if(p){for(const v in p)if(v.startsWith("tab-")){const g=p[v];g&&c.push(On(g,u))}}};xe(()=>n.tabs,()=>ut(this,null,function*(){yield qe(),u(),f()}),{immediate:!0});const h=On(i,()=>u());return fn(()=>{c.forEach(d=>d.stop()),c.length=0,h.stop()}),t({ref:i,update:u}),(d,p)=>(N(),q("div",{ref_key:"barRef",ref:i,class:F([y(o).e("active-bar"),y(o).is(y(a).props.tabPosition)]),style:Xe(s.value)},null,6))}}));var ZTe=De(XTe,[["__file","tab-bar.vue"]]);const JTe=Ie({panes:{type:ce(Array),default:()=>In([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),QTe={tabClick:(e,t,n)=>n instanceof Event,tabRemove:(e,t)=>t instanceof Event},u8="ElTabNav",exe=te({name:u8,props:JTe,emits:QTe,setup(e,{expose:t,emit:n}){const r=ze(sw);r||ar(u8,"");const a=Ae("tabs"),o=xle(),i=Nle(),s=H(),l=H(),u=H(),c=H(),f=H(!1),h=H(0),d=H(!1),p=H(!0),v=R(()=>["top","bottom"].includes(r.props.tabPosition)?"width":"height"),g=R(()=>({transform:`translate${v.value==="width"?"X":"Y"}(-${h.value}px)`})),m=()=>{if(!s.value)return;const x=s.value[`offset${Yi(v.value)}`],E=h.value;if(!E)return;const k=E>x?E-x:0;h.value=k},w=()=>{if(!s.value||!l.value)return;const x=l.value[`offset${Yi(v.value)}`],E=s.value[`offset${Yi(v.value)}`],k=h.value;if(x-k<=E)return;const A=x-k>E*2?k+E:x-E;h.value=A},_=()=>ut(this,null,function*(){const x=l.value;if(!f.value||!u.value||!s.value||!x)return;yield qe();const E=u.value.querySelector(".is-active");if(!E)return;const k=s.value,A=["top","bottom"].includes(r.props.tabPosition),P=E.getBoundingClientRect(),$=k.getBoundingClientRect(),B=A?x.offsetWidth-$.width:x.offsetHeight-$.height,I=h.value;let M=I;A?(P.left<$.left&&(M=I-($.left-P.left)),P.right>$.right&&(M=I+P.right-$.right)):(P.top<$.top&&(M=I-($.top-P.top)),P.bottom>$.bottom&&(M=I+(P.bottom-$.bottom))),M=Math.max(M,0),h.value=Math.min(M,B)}),b=()=>{var x;if(!l.value||!s.value)return;e.stretch&&((x=c.value)==null||x.update());const E=l.value[`offset${Yi(v.value)}`],k=s.value[`offset${Yi(v.value)}`],A=h.value;k0&&(h.value=0))},S=x=>{let E=0;switch(x.code){case Ue.left:case Ue.up:E=-1;break;case Ue.right:case Ue.down:E=1;break;default:return}const k=Array.from(x.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));let P=k.indexOf(x.target)+E;P<0?P=k.length-1:P>=k.length&&(P=0),k[P].focus({preventScroll:!0}),k[P].click(),C()},C=()=>{p.value&&(d.value=!0)},T=()=>d.value=!1;return xe(o,x=>{x==="hidden"?p.value=!1:x==="visible"&&setTimeout(()=>p.value=!0,50)}),xe(i,x=>{x?setTimeout(()=>p.value=!0,50):p.value=!1}),On(u,b),ft(()=>setTimeout(()=>_(),0)),oo(()=>b()),t({scrollToActiveTab:_,removeFocus:T}),()=>{const x=f.value?[ee("span",{class:[a.e("nav-prev"),a.is("disabled",!f.value.prev)],onClick:m},[ee(Ke,null,{default:()=>[ee(iu,null,null)]})]),ee("span",{class:[a.e("nav-next"),a.is("disabled",!f.value.next)],onClick:w},[ee(Ke,null,{default:()=>[ee(pa,null,null)]})])]:null,E=e.panes.map((k,A)=>{var P,$,B,I;const M=k.uid,L=k.props.disabled,O=($=(P=k.props.name)!=null?P:k.index)!=null?$:`${A}`,D=!L&&(k.isClosable||e.editable);k.index=`${A}`;const z=D?ee(Ke,{class:"is-icon-close",onClick:U=>n("tabRemove",k,U)},{default:()=>[ee(gi,null,null)]}):null,V=((I=(B=k.slots).label)==null?void 0:I.call(B))||k.props.label,j=!L&&k.active?0:-1;return ee("div",{ref:`tab-${M}`,class:[a.e("item"),a.is(r.props.tabPosition),a.is("active",k.active),a.is("disabled",L),a.is("closable",D),a.is("focus",d.value)],id:`tab-${O}`,key:`tab-${M}`,"aria-controls":`pane-${O}`,role:"tab","aria-selected":k.active,tabindex:j,onFocus:()=>C(),onBlur:()=>T(),onClick:U=>{T(),n("tabClick",k,O,U)},onKeydown:U=>{D&&(U.code===Ue.delete||U.code===Ue.backspace)&&n("tabRemove",k,U)}},[V,z])});return ee("div",{ref:u,class:[a.e("nav-wrap"),a.is("scrollable",!!f.value),a.is(r.props.tabPosition)]},[x,ee("div",{class:a.e("nav-scroll"),ref:s},[ee("div",{class:[a.e("nav"),a.is(r.props.tabPosition),a.is("stretch",e.stretch&&["top","bottom"].includes(r.props.tabPosition))],ref:l,style:g.value,role:"tablist",onKeydown:S},[e.type?null:ee(ZTe,{ref:c,tabs:[...e.panes]},null),E])])])}}}),txe=Ie({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:ce(Function),default:()=>!0},stretch:Boolean}),s2=e=>Ze(e)||et(e),nxe={[St]:e=>s2(e),tabClick:(e,t)=>t instanceof Event,tabChange:e=>s2(e),edit:(e,t)=>["remove","add"].includes(t),tabRemove:e=>s2(e),tabAdd:()=>!0},rxe=te({name:"ElTabs",props:txe,emits:nxe,setup(e,{emit:t,slots:n,expose:r}){var a;const o=Ae("tabs"),i=R(()=>["left","right"].includes(e.tabPosition)),{children:s,addChild:l,removeChild:u}=Q3(st(),"ElTabPane"),c=H(),f=H((a=e.modelValue)!=null?a:"0"),h=(m,w=!1)=>ut(this,null,function*(){var _,b,S;if(!(f.value===m||_n(m)))try{(yield(_=e.beforeLeave)==null?void 0:_.call(e,m,f.value))!==!1&&(f.value=m,w&&(t(St,m),t("tabChange",m)),(S=(b=c.value)==null?void 0:b.removeFocus)==null||S.call(b))}catch(C){}}),d=(m,w,_)=>{m.props.disabled||(h(w,!0),t("tabClick",m,_))},p=(m,w)=>{m.props.disabled||_n(m.props.name)||(w.stopPropagation(),t("edit",m.props.name,"remove"),t("tabRemove",m.props.name))},v=()=>{t("edit",void 0,"add"),t("tabAdd")};xe(()=>e.modelValue,m=>h(m)),xe(f,()=>ut(this,null,function*(){var m;yield qe(),(m=c.value)==null||m.scrollToActiveTab()})),kt(sw,{props:e,currentName:f,registerPane:m=>{s.value.push(m)},sortPane:l,unregisterPane:u}),r({currentName:f});const g=({render:m})=>m();return()=>{const m=n["add-icon"],w=e.editable||e.addable?ee("div",{class:[o.e("new-tab"),i.value&&o.e("new-tab-vertical")],tabindex:"0",onClick:v,onKeydown:S=>{[Ue.enter,Ue.numpadEnter].includes(S.code)&&v()}},[m?ve(n,"add-icon"):ee(Ke,{class:o.is("icon-plus")},{default:()=>[ee(cz,null,null)]})]):null,_=ee("div",{class:[o.e("header"),i.value&&o.e("header-vertical"),o.is(e.tabPosition)]},[ee(g,{render:()=>{const S=s.value.some(C=>C.slots.label);return ee(exe,{ref:c,currentName:f.value,editable:e.editable,type:e.type,panes:s.value,stretch:e.stretch,onTabClick:d,onTabRemove:p},{$stable:!S})}},null),w]),b=ee("div",{class:o.e("content")},[ve(n,"default")]);return ee("div",{class:[o.b(),o.m(e.tabPosition),{[o.m("card")]:e.type==="card",[o.m("border-card")]:e.type==="border-card"}]},[b,_])}}});var axe=rxe;const oxe=Ie({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),lU="ElTabPane",ixe=te({name:lU}),sxe=te(_e(X({},ixe),{props:oxe,setup(e){const t=e,n=st(),r=Yn(),a=ze(sw);a||ar(lU,"usage: ");const o=Ae("tab-pane"),i=H(),s=R(()=>t.closable||a.props.closable),l=Ax(()=>{var d;return a.currentName.value===((d=t.name)!=null?d:i.value)}),u=H(l.value),c=R(()=>{var d;return(d=t.name)!=null?d:i.value}),f=Ax(()=>!t.lazy||u.value||l.value);xe(l,d=>{d&&(u.value=!0)});const h=zt({uid:n.uid,slots:r,props:t,paneName:c,active:l,index:i,isClosable:s});return a.registerPane(h),ft(()=>{a.sortPane(h)}),Vo(()=>{a.unregisterPane(h.uid)}),(d,p)=>y(f)?vt((N(),q("div",{key:0,id:`pane-${y(c)}`,class:F(y(o).b()),role:"tabpanel","aria-hidden":!y(l),"aria-labelledby":`tab-${y(c)}`},[ve(d.$slots,"default")],10,["id","aria-hidden","aria-labelledby"])),[[Wt,y(l)]]):ge("v-if",!0)}}));var uU=De(sxe,[["__file","tab-pane.vue"]]);const lxe=pt(axe,{TabPane:uU}),uxe=Dn(uU),cxe=Ie({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:ms,default:""},truncated:Boolean,lineClamp:{type:[String,Number]},tag:{type:String,default:"span"}}),fxe=te({name:"ElText"}),dxe=te(_e(X({},fxe),{props:cxe,setup(e){const t=e,n=Jn(),r=Ae("text"),a=R(()=>[r.b(),r.m(t.type),r.m(n.value),r.is("truncated",t.truncated),r.is("line-clamp",!_n(t.lineClamp))]);return(o,i)=>(N(),ye(bt(o.tag),{class:F(y(a)),style:Xe({"-webkit-line-clamp":o.lineClamp})},{default:le(()=>[ve(o.$slots,"default")]),_:3},8,["class","style"]))}}));var hxe=De(dxe,[["__file","text.vue"]]);const pxe=pt(hxe),vxe=Ie(X({format:{type:String,default:"HH:mm"},modelValue:String,disabled:Boolean,editable:{type:Boolean,default:!0},effect:{type:ce(String),default:"light"},clearable:{type:Boolean,default:!0},size:or,placeholder:String,start:{type:String,default:"09:00"},end:{type:String,default:"18:00"},step:{type:String,default:"00:30"},minTime:String,maxTime:String,name:String,prefixIcon:{type:ce([String,Object]),default:()=>uz},clearIcon:{type:ce([String,Object]),default:()=>bu}},Hh)),Bs=e=>{const t=(e||"").split(":");if(t.length>=2){let n=Number.parseInt(t[0],10);const r=Number.parseInt(t[1],10),a=e.toUpperCase();return a.includes("AM")&&n===12?n=0:a.includes("PM")&&n!==12&&(n+=12),{hours:n,minutes:r}}return null},l2=(e,t)=>{const n=Bs(e);if(!n)return-1;const r=Bs(t);if(!r)return-1;const a=n.minutes+n.hours*60,o=r.minutes+r.hours*60;return a===o?0:a>o?1:-1},c8=e=>`${e}`.padStart(2,"0"),id=e=>`${c8(e.hours)}:${c8(e.minutes)}`,gxe=(e,t)=>{const n=Bs(e);if(!n)return"";const r=Bs(t);if(!r)return"";const a={hours:n.hours,minutes:n.minutes};return a.minutes+=r.minutes,a.hours+=r.hours,a.hours+=Math.floor(a.minutes/60),a.minutes=a.minutes%60,id(a)},mxe=te({name:"ElTimeSelect"}),yxe=te(_e(X({},mxe),{props:vxe,emits:["change","blur","focus","clear","update:modelValue"],setup(e,{expose:t}){const n=e;it.extend(r5);const{Option:r}=rf,a=Ae("input"),o=H(),i=Sa(),{lang:s}=$t(),l=R(()=>n.modelValue),u=R(()=>{const m=Bs(n.start);return m?id(m):null}),c=R(()=>{const m=Bs(n.end);return m?id(m):null}),f=R(()=>{const m=Bs(n.step);return m?id(m):null}),h=R(()=>{const m=Bs(n.minTime||"");return m?id(m):null}),d=R(()=>{const m=Bs(n.maxTime||"");return m?id(m):null}),p=R(()=>{const m=[];if(n.start&&n.end&&n.step){let w=u.value,_;for(;w&&c.value&&l2(w,c.value)<=0;)_=it(w,"HH:mm").locale(s.value).format(n.format),m.push({value:_,disabled:l2(w,h.value||"-1:-1")<=0||l2(w,d.value||"100:100")>=0}),w=gxe(w,f.value)}return m});return t({blur:()=>{var m,w;(w=(m=o.value)==null?void 0:m.blur)==null||w.call(m)},focus:()=>{var m,w;(w=(m=o.value)==null?void 0:m.focus)==null||w.call(m)}}),(m,w)=>(N(),ye(y(rf),{ref_key:"select",ref:o,"model-value":y(l),disabled:y(i),clearable:m.clearable,"clear-icon":m.clearIcon,size:m.size,effect:m.effect,placeholder:m.placeholder,"default-first-option":"",filterable:m.editable,"empty-values":m.emptyValues,"value-on-clear":m.valueOnClear,"onUpdate:modelValue":_=>m.$emit("update:modelValue",_),onChange:_=>m.$emit("change",_),onBlur:_=>m.$emit("blur",_),onFocus:_=>m.$emit("focus",_),onClear:()=>m.$emit("clear")},{prefix:le(()=>[m.prefixIcon?(N(),ye(y(Ke),{key:0,class:F(y(a).e("prefix-icon"))},{default:le(()=>[(N(),ye(bt(m.prefixIcon)))]),_:1},8,["class"])):ge("v-if",!0)]),default:le(()=>[(N(!0),q(je,null,Rt(y(p),_=>(N(),ye(y(r),{key:_.value,label:_.value,value:_.value,disabled:_.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable","empty-values","value-on-clear","onUpdate:modelValue","onChange","onBlur","onFocus","onClear"]))}}));var bxe=De(yxe,[["__file","time-select.vue"]]);const _xe=pt(bxe),wxe=te({name:"ElTimeline",setup(e,{slots:t}){const n=Ae("timeline");return kt("timeline",t),()=>We("ul",{class:[n.b()]},[ve(t,"default")])}}),Sxe=Ie({timestamp:{type:String,default:""},hideTimestamp:Boolean,center:Boolean,placement:{type:String,values:["top","bottom"],default:"bottom"},type:{type:String,values:["primary","success","warning","danger","info"],default:""},color:{type:String,default:""},size:{type:String,values:["normal","large"],default:"normal"},icon:{type:cn},hollow:Boolean}),Cxe=te({name:"ElTimelineItem"}),Txe=te(_e(X({},Cxe),{props:Sxe,setup(e){const t=e,n=Ae("timeline-item"),r=R(()=>[n.e("node"),n.em("node",t.size||""),n.em("node",t.type||""),n.is("hollow",t.hollow)]);return(a,o)=>(N(),q("li",{class:F([y(n).b(),{[y(n).e("center")]:a.center}])},[Z("div",{class:F(y(n).e("tail"))},null,2),a.$slots.dot?ge("v-if",!0):(N(),q("div",{key:0,class:F(y(r)),style:Xe({backgroundColor:a.color})},[a.icon?(N(),ye(y(Ke),{key:0,class:F(y(n).e("icon"))},{default:le(()=>[(N(),ye(bt(a.icon)))]),_:1},8,["class"])):ge("v-if",!0)],6)),a.$slots.dot?(N(),q("div",{key:1,class:F(y(n).e("dot"))},[ve(a.$slots,"dot")],2)):ge("v-if",!0),Z("div",{class:F(y(n).e("wrapper"))},[!a.hideTimestamp&&a.placement==="top"?(N(),q("div",{key:0,class:F([y(n).e("timestamp"),y(n).is("top")])},Re(a.timestamp),3)):ge("v-if",!0),Z("div",{class:F(y(n).e("content"))},[ve(a.$slots,"default")],2),!a.hideTimestamp&&a.placement==="bottom"?(N(),q("div",{key:1,class:F([y(n).e("timestamp"),y(n).is("bottom")])},Re(a.timestamp),3)):ge("v-if",!0)],2)],2))}}));var cU=De(Txe,[["__file","timeline-item.vue"]]);const xxe=pt(wxe,{TimelineItem:cU}),Exe=Dn(cU),hh=Math.min,Dc=Math.max,gb=Math.round,P0=Math.floor,os=e=>({x:e,y:e}),kxe={left:"right",right:"left",bottom:"top",top:"bottom"},Axe={start:"end",end:"start"};function bE(e,t,n){return Dc(e,hh(t,n))}function Tm(e,t){return typeof e=="function"?e(t):e}function of(e){return e.split("-")[0]}function xm(e){return e.split("-")[1]}function fU(e){return e==="x"?"y":"x"}function D5(e){return e==="y"?"height":"width"}function ph(e){return["top","bottom"].includes(of(e))?"y":"x"}function L5(e){return fU(ph(e))}function Mxe(e,t,n){n===void 0&&(n=!1);const r=xm(e),a=L5(e),o=D5(a);let i=a==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=mb(i)),[i,mb(i)]}function Oxe(e){const t=mb(e);return[_E(e),t,_E(t)]}function _E(e){return e.replace(/start|end/g,t=>Axe[t])}function Pxe(e,t,n){const r=["left","right"],a=["right","left"],o=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?a:r:t?r:a;case"left":case"right":return t?o:i;default:return[]}}function Rxe(e,t,n,r){const a=xm(e);let o=Pxe(of(e),n==="start",r);return a&&(o=o.map(i=>i+"-"+a),t&&(o=o.concat(o.map(_E)))),o}function mb(e){return e.replace(/left|right|bottom|top/g,t=>kxe[t])}function Ixe(e){return X({top:0,right:0,bottom:0,left:0},e)}function dU(e){return typeof e!="number"?Ixe(e):{top:e,right:e,bottom:e,left:e}}function yb(e){const{x:t,y:n,width:r,height:a}=e;return{width:r,height:a,top:n,left:t,right:t+r,bottom:n+a,x:t,y:n}}function f8(e,t,n){let{reference:r,floating:a}=e;const o=ph(t),i=L5(t),s=D5(i),l=of(t),u=o==="y",c=r.x+r.width/2-a.width/2,f=r.y+r.height/2-a.height/2,h=r[s]/2-a[s]/2;let d;switch(l){case"top":d={x:c,y:r.y-a.height};break;case"bottom":d={x:c,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-a.width,y:f};break;default:d={x:r.x,y:r.y}}switch(xm(t)){case"start":d[i]-=h*(n&&u?-1:1);break;case"end":d[i]+=h*(n&&u?-1:1);break}return d}const Dxe=(e,t,n)=>ut(void 0,null,function*(){const{placement:r="bottom",strategy:a="absolute",middleware:o=[],platform:i}=n,s=o.filter(Boolean),l=yield i.isRTL==null?void 0:i.isRTL(t);let u=yield i.getElementRects({reference:e,floating:t,strategy:a}),{x:c,y:f}=f8(u,r,l),h=r,d={},p=0;for(let v=0;v({name:"arrow",options:e,fn(n){return ut(this,null,function*(){const{x:r,y:a,placement:o,rects:i,platform:s,elements:l,middlewareData:u}=n,{element:c,padding:f=0}=Tm(e,n)||{};if(c==null)return{};const h=dU(f),d={x:r,y:a},p=L5(o),v=D5(p),g=yield s.getDimensions(c),m=p==="y",w=m?"top":"left",_=m?"bottom":"right",b=m?"clientHeight":"clientWidth",S=i.reference[v]+i.reference[p]-d[p]-i.floating[v],C=d[p]-i.reference[p],T=yield s.getOffsetParent==null?void 0:s.getOffsetParent(c);let x=T?T[b]:0;(!x||!(yield s.isElement==null?void 0:s.isElement(T)))&&(x=l.floating[b]||i.floating[v]);const E=S/2-C/2,k=x/2-g[v]/2-1,A=hh(h[w],k),P=hh(h[_],k),$=A,B=x-g[v]-P,I=x/2-g[v]/2+E,M=bE($,I,B),L=!u.arrow&&xm(o)!=null&&I!==M&&i.reference[v]/2-(I<$?A:P)-g[v]/2<0,O=L?I<$?I-$:I-B:0;return{[p]:d[p]+O,data:X({[p]:M,centerOffset:I-M-O},L&&{alignmentOffset:O}),reset:L}})}}),$xe=function(e){return e===void 0&&(e={}),{name:"flip",options:e,fn(n){return ut(this,null,function*(){var r,a;const{placement:o,middlewareData:i,rects:s,initialPlacement:l,platform:u,elements:c}=n,I=Tm(e,n),{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:g=!0}=I,m=ja(I,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const w=of(o),_=ph(l),b=of(l)===l,S=yield u.isRTL==null?void 0:u.isRTL(c.floating),C=d||(b||!g?[mb(l)]:Oxe(l)),T=v!=="none";!d&&T&&C.push(...Rxe(l,g,v,S));const x=[l,...C],E=yield $5(n,m),k=[];let A=((a=i.flip)==null?void 0:a.overflows)||[];if(f&&k.push(E[w]),h){const M=Mxe(o,s,S);k.push(E[M[0]],E[M[1]])}if(A=[...A,{placement:o,overflows:k}],!k.every(M=>M<=0)){var P,$;const M=(((P=i.flip)==null?void 0:P.index)||0)+1,L=x[M];if(L)return{data:{index:M,overflows:A},reset:{placement:L}};let O=($=A.filter(D=>D.overflows[0]<=0).sort((D,z)=>D.overflows[1]-z.overflows[1])[0])==null?void 0:$.placement;if(!O)switch(p){case"bestFit":{var B;const D=(B=A.filter(z=>{if(T){const V=ph(z.placement);return V===_||V==="y"}return!0}).map(z=>[z.placement,z.overflows.filter(V=>V>0).reduce((V,j)=>V+j,0)]).sort((z,V)=>z[1]-V[1])[0])==null?void 0:B[0];D&&(O=D);break}case"initialPlacement":O=l;break}if(o!==O)return{reset:{placement:O}}}return{}})}}};function Nxe(e,t){return ut(this,null,function*(){const{placement:n,platform:r,elements:a}=e,o=yield r.isRTL==null?void 0:r.isRTL(a.floating),i=of(n),s=xm(n),l=ph(n)==="y",u=["left","top"].includes(i)?-1:1,c=o&&l?-1:1,f=Tm(t,e);let{mainAxis:h,crossAxis:d,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return s&&typeof p=="number"&&(d=s==="end"?p*-1:p),l?{x:d*c,y:h*u}:{x:h*u,y:d*c}})}const Bxe=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn(n){return ut(this,null,function*(){var r,a;const{x:o,y:i,placement:s,middlewareData:l}=n,u=yield Nxe(n,e);return s===((r=l.offset)==null?void 0:r.placement)&&(a=l.arrow)!=null&&a.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:_e(X({},u),{placement:s})}})}}},Fxe=function(e){return e===void 0&&(e={}),{name:"shift",options:e,fn(n){return ut(this,null,function*(){const{x:r,y:a,placement:o}=n,m=Tm(e,n),{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:w=>{let{x:_,y:b}=w;return{x:_,y:b}}}}=m,u=ja(m,["mainAxis","crossAxis","limiter"]),c={x:r,y:a},f=yield $5(n,u),h=ph(of(o)),d=fU(h);let p=c[d],v=c[h];if(i){const w=d==="y"?"top":"left",_=d==="y"?"bottom":"right",b=p+f[w],S=p-f[_];p=bE(b,p,S)}if(s){const w=h==="y"?"top":"left",_=h==="y"?"bottom":"right",b=v+f[w],S=v-f[_];v=bE(b,v,S)}const g=l.fn(_e(X({},n),{[d]:p,[h]:v}));return _e(X({},g),{data:{x:g.x-r,y:g.y-a,enabled:{[d]:i,[h]:s}}})})}}};function lw(){return typeof window!="undefined"}function Gh(e){return hU(e)?(e.nodeName||"").toLowerCase():"#document"}function no(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function _s(e){var t;return(t=(hU(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function hU(e){return lw()?e instanceof Node||e instanceof no(e).Node:!1}function mi(e){return lw()?e instanceof Element||e instanceof no(e).Element:!1}function ds(e){return lw()?e instanceof HTMLElement||e instanceof no(e).HTMLElement:!1}function d8(e){return!lw()||typeof ShadowRoot=="undefined"?!1:e instanceof ShadowRoot||e instanceof no(e).ShadowRoot}function Em(e){const{overflow:t,overflowX:n,overflowY:r,display:a}=yi(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(a)}function Vxe(e){return["table","td","th"].includes(Gh(e))}function uw(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(n){return!1}})}function N5(e){const t=B5(),n=mi(e)?yi(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function zxe(e){let t=cu(e);for(;ds(t)&&!vh(t);){if(N5(t))return t;if(uw(t))return null;t=cu(t)}return null}function B5(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function vh(e){return["html","body","#document"].includes(Gh(e))}function yi(e){return no(e).getComputedStyle(e)}function cw(e){return mi(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function cu(e){if(Gh(e)==="html")return e;const t=e.assignedSlot||e.parentNode||d8(e)&&e.host||_s(e);return d8(t)?t.host:t}function pU(e){const t=cu(e);return vh(t)?e.ownerDocument?e.ownerDocument.body:e.body:ds(t)&&Em(t)?t:pU(t)}function bg(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const a=pU(e),o=a===((r=e.ownerDocument)==null?void 0:r.body),i=no(a);if(o){const s=wE(i);return t.concat(i,i.visualViewport||[],Em(a)?a:[],s&&n?bg(s):[])}return t.concat(a,bg(a,[],n))}function wE(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function vU(e){const t=yi(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const a=ds(e),o=a?e.offsetWidth:n,i=a?e.offsetHeight:r,s=gb(n)!==o||gb(r)!==i;return s&&(n=o,r=i),{width:n,height:r,$:s}}function F5(e){return mi(e)?e:e.contextElement}function Dd(e){const t=F5(e);if(!ds(t))return os(1);const n=t.getBoundingClientRect(),{width:r,height:a,$:o}=vU(t);let i=(o?gb(n.width):n.width)/r,s=(o?gb(n.height):n.height)/a;return(!i||!Number.isFinite(i))&&(i=1),(!s||!Number.isFinite(s))&&(s=1),{x:i,y:s}}const Hxe=os(0);function gU(e){const t=no(e);return!B5()||!t.visualViewport?Hxe:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Wxe(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==no(e)?!1:t}function sf(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),o=F5(e);let i=os(1);t&&(r?mi(r)&&(i=Dd(r)):i=Dd(e));const s=Wxe(o,n,r)?gU(o):os(0);let l=(a.left+s.x)/i.x,u=(a.top+s.y)/i.y,c=a.width/i.x,f=a.height/i.y;if(o){const h=no(o),d=r&&mi(r)?no(r):r;let p=h,v=wE(p);for(;v&&r&&d!==p;){const g=Dd(v),m=v.getBoundingClientRect(),w=yi(v),_=m.left+(v.clientLeft+parseFloat(w.paddingLeft))*g.x,b=m.top+(v.clientTop+parseFloat(w.paddingTop))*g.y;l*=g.x,u*=g.y,c*=g.x,f*=g.y,l+=_,u+=b,p=no(v),v=wE(p)}}return yb({width:c,height:f,x:l,y:u})}function V5(e,t){const n=cw(e).scrollLeft;return t?t.left+n:sf(_s(e)).left+n}function mU(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),a=r.left+t.scrollLeft-(n?0:V5(e,r)),o=r.top+t.scrollTop;return{x:a,y:o}}function Uxe(e){let{elements:t,rect:n,offsetParent:r,strategy:a}=e;const o=a==="fixed",i=_s(r),s=t?uw(t.floating):!1;if(r===i||s&&o)return n;let l={scrollLeft:0,scrollTop:0},u=os(1);const c=os(0),f=ds(r);if((f||!f&&!o)&&((Gh(r)!=="body"||Em(i))&&(l=cw(r)),ds(r))){const d=sf(r);u=Dd(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}const h=i&&!f&&!o?mU(i,l,!0):os(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+h.x,y:n.y*u.y-l.scrollTop*u.y+c.y+h.y}}function jxe(e){return Array.from(e.getClientRects())}function Kxe(e){const t=_s(e),n=cw(e),r=e.ownerDocument.body,a=Dc(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=Dc(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+V5(e);const s=-n.scrollTop;return yi(r).direction==="rtl"&&(i+=Dc(t.clientWidth,r.clientWidth)-a),{width:a,height:o,x:i,y:s}}function Gxe(e,t){const n=no(e),r=_s(e),a=n.visualViewport;let o=r.clientWidth,i=r.clientHeight,s=0,l=0;if(a){o=a.width,i=a.height;const u=B5();(!u||u&&t==="fixed")&&(s=a.offsetLeft,l=a.offsetTop)}return{width:o,height:i,x:s,y:l}}function qxe(e,t){const n=sf(e,!0,t==="fixed"),r=n.top+e.clientTop,a=n.left+e.clientLeft,o=ds(e)?Dd(e):os(1),i=e.clientWidth*o.x,s=e.clientHeight*o.y,l=a*o.x,u=r*o.y;return{width:i,height:s,x:l,y:u}}function h8(e,t,n){let r;if(t==="viewport")r=Gxe(e,n);else if(t==="document")r=Kxe(_s(e));else if(mi(t))r=qxe(t,n);else{const a=gU(e);r={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return yb(r)}function yU(e,t){const n=cu(e);return n===t||!mi(n)||vh(n)?!1:yi(n).position==="fixed"||yU(n,t)}function Yxe(e,t){const n=t.get(e);if(n)return n;let r=bg(e,[],!1).filter(s=>mi(s)&&Gh(s)!=="body"),a=null;const o=yi(e).position==="fixed";let i=o?cu(e):e;for(;mi(i)&&!vh(i);){const s=yi(i),l=N5(i);!l&&s.position==="fixed"&&(a=null),(o?!l&&!a:!l&&s.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Em(i)&&!l&&yU(e,i))?r=r.filter(c=>c!==i):a=s,i=cu(i)}return t.set(e,r),r}function Xxe(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e;const i=[...n==="clippingAncestors"?uw(t)?[]:Yxe(t,this._c):[].concat(n),r],s=i[0],l=i.reduce((u,c)=>{const f=h8(t,c,a);return u.top=Dc(f.top,u.top),u.right=hh(f.right,u.right),u.bottom=hh(f.bottom,u.bottom),u.left=Dc(f.left,u.left),u},h8(t,s,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Zxe(e){const{width:t,height:n}=vU(e);return{width:t,height:n}}function Jxe(e,t,n){const r=ds(t),a=_s(t),o=n==="fixed",i=sf(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const l=os(0);if(r||!r&&!o)if((Gh(t)!=="body"||Em(a))&&(s=cw(t)),r){const h=sf(t,!0,o,t);l.x=h.x+t.clientLeft,l.y=h.y+t.clientTop}else a&&(l.x=V5(a));const u=a&&!r&&!o?mU(a,s):os(0),c=i.left+s.scrollLeft-l.x-u.x,f=i.top+s.scrollTop-l.y-u.y;return{x:c,y:f,width:i.width,height:i.height}}function u2(e){return yi(e).position==="static"}function p8(e,t){if(!ds(e)||yi(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return _s(e)===n&&(n=n.ownerDocument.body),n}function bU(e,t){const n=no(e);if(uw(e))return n;if(!ds(e)){let a=cu(e);for(;a&&!vh(a);){if(mi(a)&&!u2(a))return a;a=cu(a)}return n}let r=p8(e,t);for(;r&&Vxe(r)&&u2(r);)r=p8(r,t);return r&&vh(r)&&u2(r)&&!N5(r)?n:r||zxe(e)||n}const Qxe=function(e){return ut(this,null,function*(){const t=this.getOffsetParent||bU,n=this.getDimensions,r=yield n(e.floating);return{reference:Jxe(e.reference,yield t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}})};function eEe(e){return yi(e).direction==="rtl"}const tEe={convertOffsetParentRelativeRectToViewportRelativeRect:Uxe,getDocumentElement:_s,getClippingRect:Xxe,getOffsetParent:bU,getElementRects:Qxe,getClientRects:jxe,getDimensions:Zxe,getScale:Dd,isElement:mi,isRTL:eEe};function nEe(e,t){let n=null,r;const a=_s(e);function o(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function i(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),o();const{left:u,top:c,width:f,height:h}=e.getBoundingClientRect();if(s||t(),!f||!h)return;const d=P0(c),p=P0(a.clientWidth-(u+f)),v=P0(a.clientHeight-(c+h)),g=P0(u),w={rootMargin:-d+"px "+-p+"px "+-v+"px "+-g+"px",threshold:Dc(0,hh(1,l))||1};let _=!0;function b(S){const C=S[0].intersectionRatio;if(C!==l){if(!_)return i();C?i(!1,C):r=setTimeout(()=>{i(!1,1e-7)},1e3)}_=!1}try{n=new IntersectionObserver(b,_e(X({},w),{root:a.ownerDocument}))}catch(S){n=new IntersectionObserver(b,w)}n.observe(e)}return i(!0),o}function rEe(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:o=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=F5(e),c=a||o?[...u?bg(u):[],...bg(t)]:[];c.forEach(m=>{a&&m.addEventListener("scroll",n,{passive:!0}),o&&m.addEventListener("resize",n)});const f=u&&s?nEe(u,n):null;let h=-1,d=null;i&&(d=new ResizeObserver(m=>{let[w]=m;w&&w.target===u&&d&&(d.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var _;(_=d)==null||_.observe(t)})),n()}),u&&!l&&d.observe(u),d.observe(t));let p,v=l?sf(e):null;l&&g();function g(){const m=sf(e);v&&(m.x!==v.x||m.y!==v.y||m.width!==v.width||m.height!==v.height)&&n(),v=m,p=requestAnimationFrame(g)}return n(),()=>{var m;c.forEach(w=>{a&&w.removeEventListener("scroll",n),o&&w.removeEventListener("resize",n)}),f==null||f(),(m=d)==null||m.disconnect(),d=null,l&&cancelAnimationFrame(p)}}const aEe=$5,oEe=Bxe,iEe=Fxe,sEe=$xe,lEe=Lxe,uEe=(e,t,n)=>{const r=new Map,a=X({platform:tEe},n),o=_e(X({},a.platform),{_c:r});return Dxe(e,t,_e(X({},a),{platform:o}))},_U="left-check-change",wU="right-check-change",sd=Ie({data:{type:ce(Array),default:()=>[]},titles:{type:ce(Array),default:()=>[]},buttonTexts:{type:ce(Array),default:()=>[]},filterPlaceholder:String,filterMethod:{type:ce(Function)},leftDefaultChecked:{type:ce(Array),default:()=>[]},rightDefaultChecked:{type:ce(Array),default:()=>[]},renderContent:{type:ce(Function)},modelValue:{type:ce(Array),default:()=>[]},format:{type:ce(Object),default:()=>({})},filterable:Boolean,props:{type:ce(Object),default:()=>In({label:"label",key:"key",disabled:"disabled"})},targetOrder:{type:String,values:["original","push","unshift"],default:"original"},validateEvent:{type:Boolean,default:!0}}),SE=(e,t)=>[e,t].every(Me)||Me(e)&&ur(t),cEe={[Sn]:(e,t,n)=>[e,n].every(Me)&&["left","right"].includes(t),[St]:e=>Me(e),[_U]:SE,[wU]:SE},CE="checked-change",fEe=Ie({data:sd.data,optionRender:{type:ce(Function)},placeholder:String,title:String,filterable:Boolean,format:sd.format,filterMethod:sd.filterMethod,defaultChecked:sd.leftDefaultChecked,props:sd.props}),dEe={[CE]:SE},km=e=>{const t={label:"label",key:"key",disabled:"disabled"};return R(()=>X(X({},t),e.props))},hEe=(e,t,n)=>{const r=km(e),a=R(()=>e.data.filter(c=>Ge(e.filterMethod)?e.filterMethod(t.query,c):String(c[r.value.label]||c[r.value.key]).toLowerCase().includes(t.query.toLowerCase()))),o=R(()=>a.value.filter(c=>!c[r.value.disabled])),i=R(()=>{const c=t.checked.length,f=e.data.length,{noChecked:h,hasChecked:d}=e.format;return h&&d?c>0?d.replace(/\${checked}/g,c.toString()).replace(/\${total}/g,f.toString()):h.replace(/\${total}/g,f.toString()):`${c}/${f}`}),s=R(()=>{const c=t.checked.length;return c>0&&c{const c=o.value.map(f=>f[r.value.key]);t.allChecked=c.length>0&&c.every(f=>t.checked.includes(f))},u=c=>{t.checked=c?o.value.map(f=>f[r.value.key]):[]};return xe(()=>t.checked,(c,f)=>{if(l(),t.checkChangeByUser){const h=c.concat(f).filter(d=>!c.includes(d)||!f.includes(d));n(CE,c,h)}else n(CE,c),t.checkChangeByUser=!0}),xe(o,()=>{l()}),xe(()=>e.data,()=>{const c=[],f=a.value.map(h=>h[r.value.key]);t.checked.forEach(h=>{f.includes(h)&&c.push(h)}),t.checkChangeByUser=!1,t.checked=c}),xe(()=>e.defaultChecked,(c,f)=>{if(f&&c.length===f.length&&c.every(p=>f.includes(p)))return;const h=[],d=o.value.map(p=>p[r.value.key]);c.forEach(p=>{d.includes(p)&&h.push(p)}),t.checkChangeByUser=!1,t.checked=h},{immediate:!0}),{filteredData:a,checkableData:o,checkedSummary:i,isIndeterminate:s,updateAllChecked:l,handleAllCheckedChange:u}},pEe=te({name:"ElTransferPanel"}),vEe=te(_e(X({},pEe),{props:fEe,emits:dEe,setup(e,{expose:t,emit:n}){const r=e,a=Yn(),o=({option:_})=>_,{t:i}=$t(),s=Ae("transfer"),l=zt({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),u=km(r),{filteredData:c,checkedSummary:f,isIndeterminate:h,handleAllCheckedChange:d}=hEe(r,l,n),p=R(()=>!qa(l.query)&&qa(c.value)),v=R(()=>!qa(a.default()[0].children)),{checked:g,allChecked:m,query:w}=rr(l);return t({query:w}),(_,b)=>(N(),q("div",{class:F(y(s).b("panel"))},[Z("p",{class:F(y(s).be("panel","header"))},[ee(y(Do),{modelValue:y(m),"onUpdate:modelValue":S=>Gt(m)?m.value=S:null,indeterminate:y(h),"validate-event":!1,onChange:y(d)},{default:le(()=>[At(Re(_.title)+" ",1),Z("span",null,Re(y(f)),1)]),_:1},8,["modelValue","onUpdate:modelValue","indeterminate","onChange"])],2),Z("div",{class:F([y(s).be("panel","body"),y(s).is("with-footer",y(v))])},[_.filterable?(N(),ye(y(fa),{key:0,modelValue:y(w),"onUpdate:modelValue":S=>Gt(w)?w.value=S:null,class:F(y(s).be("panel","filter")),size:"default",placeholder:_.placeholder,"prefix-icon":y(rce),clearable:"","validate-event":!1},null,8,["modelValue","onUpdate:modelValue","class","placeholder","prefix-icon"])):ge("v-if",!0),vt(ee(y(oH),{modelValue:y(g),"onUpdate:modelValue":S=>Gt(g)?g.value=S:null,"validate-event":!1,class:F([y(s).is("filterable",_.filterable),y(s).be("panel","list")])},{default:le(()=>[(N(!0),q(je,null,Rt(y(c),S=>(N(),ye(y(Do),{key:S[y(u).key],class:F(y(s).be("panel","item")),value:S[y(u).key],disabled:S[y(u).disabled],"validate-event":!1},{default:le(()=>{var C;return[ee(o,{option:(C=_.optionRender)==null?void 0:C.call(_,S)},null,8,["option"])]}),_:2},1032,["class","value","disabled"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue","class"]),[[Wt,!y(p)&&!y(qa)(_.data)]]),vt(Z("div",{class:F(y(s).be("panel","empty"))},[ve(_.$slots,"empty",{},()=>[At(Re(y(p)?y(i)("el.transfer.noMatch"):y(i)("el.transfer.noData")),1)])],2),[[Wt,y(p)||y(qa)(_.data)]])],2),y(v)?(N(),q("p",{key:0,class:F(y(s).be("panel","footer"))},[ve(_.$slots,"default")],2)):ge("v-if",!0)],2))}}));var v8=De(vEe,[["__file","transfer-panel.vue"]]);const gEe=e=>{const t=km(e),n=R(()=>e.data.reduce((o,i)=>(o[i[t.value.key]]=i)&&o,{})),r=R(()=>e.data.filter(o=>!e.modelValue.includes(o[t.value.key]))),a=R(()=>e.targetOrder==="original"?e.data.filter(o=>e.modelValue.includes(o[t.value.key])):e.modelValue.reduce((o,i)=>{const s=n.value[i];return s&&o.push(s),o},[]));return{sourceData:r,targetData:a}},mEe=(e,t,n)=>{const r=km(e),a=(s,l,u)=>{n(St,s),n(Sn,s,l,u)};return{addToLeft:()=>{const s=e.modelValue.slice();t.rightChecked.forEach(l=>{const u=s.indexOf(l);u>-1&&s.splice(u,1)}),a(s,"left",t.rightChecked)},addToRight:()=>{let s=e.modelValue.slice();const l=e.data.filter(u=>{const c=u[r.value.key];return t.leftChecked.includes(c)&&!e.modelValue.includes(c)}).map(u=>u[r.value.key]);s=e.targetOrder==="unshift"?l.concat(s):s.concat(l),e.targetOrder==="original"&&(s=e.data.filter(u=>s.includes(u[r.value.key])).map(u=>u[r.value.key])),a(s,"right",t.leftChecked)}}},yEe=(e,t)=>({onSourceCheckedChange:(a,o)=>{e.leftChecked=a,o&&t(_U,a,o)},onTargetCheckedChange:(a,o)=>{e.rightChecked=a,o&&t(wU,a,o)}}),bEe=te({name:"ElTransfer"}),_Ee=te(_e(X({},bEe),{props:sd,emits:cEe,setup(e,{expose:t,emit:n}){const r=e,a=Yn(),{t:o}=$t(),i=Ae("transfer"),{formItem:s}=qr(),l=zt({leftChecked:[],rightChecked:[]}),u=km(r),{sourceData:c,targetData:f}=gEe(r),{onSourceCheckedChange:h,onTargetCheckedChange:d}=yEe(l,n),{addToLeft:p,addToRight:v}=mEe(r,l,n),g=H(),m=H(),w=x=>{switch(x){case"left":g.value.query="";break;case"right":m.value.query="";break}},_=R(()=>r.buttonTexts.length===2),b=R(()=>r.titles[0]||o("el.transfer.titles.0")),S=R(()=>r.titles[1]||o("el.transfer.titles.1")),C=R(()=>r.filterPlaceholder||o("el.transfer.filterPlaceholder"));xe(()=>r.modelValue,()=>{var x;r.validateEvent&&((x=s==null?void 0:s.validate)==null||x.call(s,"change").catch(E=>void 0))});const T=R(()=>x=>{var E;if(r.renderContent)return r.renderContent(We,x);const k=(((E=a.default)==null?void 0:E.call(a,{option:x}))||[]).filter(A=>A.type!==Kn);return k.length?k:We("span",x[u.value.label]||x[u.value.key])});return t({clearQuery:w,leftPanel:g,rightPanel:m}),(x,E)=>(N(),q("div",{class:F(y(i).b())},[ee(v8,{ref_key:"leftPanel",ref:g,data:y(c),"option-render":y(T),placeholder:y(C),title:y(b),filterable:x.filterable,format:x.format,"filter-method":x.filterMethod,"default-checked":x.leftDefaultChecked,props:r.props,onCheckedChange:y(h)},{empty:le(()=>[ve(x.$slots,"left-empty")]),default:le(()=>[ve(x.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),Z("div",{class:F(y(i).e("buttons"))},[ee(y(mr),{type:"primary",class:F([y(i).e("button"),y(i).is("with-texts",y(_))]),disabled:y(qa)(l.rightChecked),onClick:y(p)},{default:le(()=>[ee(y(Ke),null,{default:le(()=>[ee(y(iu))]),_:1}),y(_n)(x.buttonTexts[0])?ge("v-if",!0):(N(),q("span",{key:0},Re(x.buttonTexts[0]),1))]),_:1},8,["class","disabled","onClick"]),ee(y(mr),{type:"primary",class:F([y(i).e("button"),y(i).is("with-texts",y(_))]),disabled:y(qa)(l.leftChecked),onClick:y(v)},{default:le(()=>[y(_n)(x.buttonTexts[1])?ge("v-if",!0):(N(),q("span",{key:0},Re(x.buttonTexts[1]),1)),ee(y(Ke),null,{default:le(()=>[ee(y(pa))]),_:1})]),_:1},8,["class","disabled","onClick"])],2),ee(v8,{ref_key:"rightPanel",ref:m,data:y(f),"option-render":y(T),placeholder:y(C),filterable:x.filterable,format:x.format,"filter-method":x.filterMethod,title:y(S),"default-checked":x.rightDefaultChecked,props:r.props,onCheckedChange:y(d)},{empty:le(()=>[ve(x.$slots,"right-empty")]),default:le(()=>[ve(x.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2))}}));var wEe=De(_Ee,[["__file","transfer.vue"]]);const SEe=pt(wEe),Ld="$treeNodeId",g8=function(e,t){!t||t[Ld]||Object.defineProperty(t,Ld,{value:e.id,enumerable:!1,configurable:!1,writable:!1})},z5=function(e,t){return e?t[e]:t[Ld]},TE=(e,t,n)=>{const r=e.value.currentNode;n();const a=e.value.currentNode;r!==a&&t("current-change",a?a.data:null,a)},xE=e=>{let t=!0,n=!0,r=!0;for(let a=0,o=e.length;a0&&t.lazy&&t.defaultExpandAll&&!this.isLeafByUser&&this.expand(),Me(this.data)||g8(this,this.data),!this.data)return;const r=t.defaultExpandedKeys,a=t.key;a&&r&&r.includes(this.key)&&this.expand(null,t.autoExpandParent),a&&t.currentNodeKey!==void 0&&this.key===t.currentNodeKey&&(t.currentNode=this,t.currentNode.isCurrent=!0),t.lazy&&t._initDefaultCheckedNode(this),this.updateLeafState(),this.parent&&(this.level===1||this.parent.expanded===!0)&&(this.canFocus=!0)}setData(t){Me(t)||g8(this,t),this.data=t,this.childNodes=[];let n;this.level===0&&Me(this.data)?n=this.data:n=R0(this,"children")||[];for(let r=0,a=n.length;r-1)return t.childNodes[n+1]}return null}get previousSibling(){const t=this.parent;if(t){const n=t.childNodes.indexOf(this);if(n>-1)return n>0?t.childNodes[n-1]:null}return null}contains(t,n=!0){return(this.childNodes||[]).some(r=>r===t||n&&r.contains(t))}remove(){const t=this.parent;t&&t.removeChild(this)}insertChild(t,n,r){if(!t)throw new Error("InsertChild error: child is required.");if(!(t instanceof a1)){if(!r){const a=this.getChildren(!0);a.includes(t.data)||(_n(n)||n<0?a.push(t.data):a.splice(n,0,t.data))}Object.assign(t,{parent:this,store:this.store}),t=zt(new a1(t)),t instanceof a1&&t.initialize()}t.level=this.level+1,_n(n)||n<0?this.childNodes.push(t):this.childNodes.splice(n,0,t),this.updateLeafState()}insertBefore(t,n){let r;n&&(r=this.childNodes.indexOf(n)),this.insertChild(t,r)}insertAfter(t,n){let r;n&&(r=this.childNodes.indexOf(n),r!==-1&&(r+=1)),this.insertChild(t,r)}removeChild(t){const n=this.getChildren()||[],r=n.indexOf(t.data);r>-1&&n.splice(r,1);const a=this.childNodes.indexOf(t);a>-1&&(this.store&&this.store.deregisterNode(t),t.parent=null,this.childNodes.splice(a,1)),this.updateLeafState()}removeChildByData(t){let n=null;for(let r=0;r{if(n){let a=this.parent;for(;a.level>0;)a.expanded=!0,a=a.parent}this.expanded=!0,t&&t(),this.childNodes.forEach(a=>{a.canFocus=!0})};this.shouldLoadData()?this.loadData(a=>{Me(a)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||Xp(this),r())}):r()}doCreateChildren(t,n={}){t.forEach(r=>{this.insertChild(Object.assign({data:r},n),void 0,!0)})}collapse(){this.expanded=!1,this.childNodes.forEach(t=>{t.canFocus=!1})}shouldLoadData(){return this.store.lazy===!0&&this.store.load&&!this.loaded}updateLeafState(){if(this.store.lazy===!0&&this.loaded!==!0&&typeof this.isLeafByUser!="undefined"){this.isLeaf=this.isLeafByUser;return}const t=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!t||t.length===0;return}this.isLeaf=!1}setChecked(t,n,r,a){if(this.indeterminate=t==="half",this.checked=t===!0,this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const{all:i,allWithoutDisable:s}=xE(this.childNodes);!this.isLeaf&&!i&&s&&(this.checked=!1,t=!1);const l=()=>{if(n){const u=this.childNodes;for(let h=0,d=u.length;h{l(),Xp(this)},{checked:t!==!1});return}else l()}const o=this.parent;!o||o.level===0||r||Xp(o)}getChildren(t=!1){if(this.level===0)return this.data;const n=this.data;if(!n)return null;const r=this.store.props;let a="children";return r&&(a=r.children||"children"),n[a]===void 0&&(n[a]=null),t&&!n[a]&&(n[a]=[]),n[a]}updateChildren(){const t=this.getChildren()||[],n=this.childNodes.map(o=>o.data),r={},a=[];t.forEach((o,i)=>{const s=o[Ld];!!s&&n.findIndex(u=>u[Ld]===s)>=0?r[s]={index:i,data:o}:a.push({index:i,data:o})}),this.store.lazy||n.forEach(o=>{r[o[Ld]]||this.removeChildByData(o)}),a.forEach(({index:o,data:i})=>{this.insertChild({data:i},o)}),this.updateLeafState()}loadData(t,n={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(n).length)){this.loading=!0;const r=o=>{this.childNodes=[],this.doCreateChildren(o,n),this.loaded=!0,this.loading=!1,this.updateLeafState(),t&&t.call(this,o)},a=()=>{this.loading=!1};this.store.load(this,r,a)}else t&&t.call(this)}eachNode(t){const n=[this];for(;n.length;){const r=n.shift();n.unshift(...r.childNodes),t(r)}}reInitChecked(){this.store.checkStrictly||Xp(this)}};class TEe{constructor(t){this.currentNode=null,this.currentNodeKey=null;for(const n in t)Vt(t,n)&&(this[n]=t[n]);this.nodesMap={}}initialize(){if(this.root=new EE({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const t=this.load;t(this.root,n=>{this.root.doCreateChildren(n),this._initDefaultCheckedNodes()})}else this._initDefaultCheckedNodes()}filter(t){const n=this.filterNodeMethod,r=this.lazy,a=function(o){const i=o.root?o.root.childNodes:o.childNodes;if(i.forEach(s=>{s.visible=n.call(s,t,s.data,s),a(s)}),!o.visible&&i.length){let s=!0;s=!i.some(l=>l.visible),o.root?o.root.visible=s===!1:o.visible=s===!1}t&&o.visible&&!o.isLeaf&&(!r||o.loaded)&&o.expand()};a(this)}setData(t){t!==this.root.data?(this.nodesMap={},this.root.setData(t),this._initDefaultCheckedNodes(),this.setCurrentNodeKey(this.currentNodeKey)):this.root.updateChildren()}getNode(t){if(t instanceof EE)return t;const n=_t(t)?z5(this.key,t):t;return this.nodesMap[n]||null}insertBefore(t,n){const r=this.getNode(n);r.parent.insertBefore({data:t},r)}insertAfter(t,n){const r=this.getNode(n);r.parent.insertAfter({data:t},r)}remove(t){const n=this.getNode(t);n&&n.parent&&(n===this.currentNode&&(this.currentNode=null),n.parent.removeChild(n))}append(t,n){const r=nh(n)?this.root:this.getNode(n);r&&r.insertChild({data:t})}_initDefaultCheckedNodes(){const t=this.defaultCheckedKeys||[],n=this.nodesMap;t.forEach(r=>{const a=n[r];a&&a.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(t){(this.defaultCheckedKeys||[]).includes(t.key)&&t.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(t){t!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=t,this._initDefaultCheckedNodes())}registerNode(t){const n=this.key;!t||!t.data||(n?t.key!==void 0&&(this.nodesMap[t.key]=t):this.nodesMap[t.id]=t)}deregisterNode(t){!this.key||!t||!t.data||(t.childNodes.forEach(r=>{this.deregisterNode(r)}),delete this.nodesMap[t.key])}getCheckedNodes(t=!1,n=!1){const r=[],a=function(o){(o.root?o.root.childNodes:o.childNodes).forEach(s=>{(s.checked||n&&s.indeterminate)&&(!t||t&&s.isLeaf)&&r.push(s.data),a(s)})};return a(this),r}getCheckedKeys(t=!1){return this.getCheckedNodes(t).map(n=>(n||{})[this.key])}getHalfCheckedNodes(){const t=[],n=function(r){(r.root?r.root.childNodes:r.childNodes).forEach(o=>{o.indeterminate&&t.push(o.data),n(o)})};return n(this),t}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(t=>(t||{})[this.key])}_getAllNodes(){const t=[],n=this.nodesMap;for(const r in n)Vt(n,r)&&t.push(n[r]);return t}updateChildren(t,n){const r=this.nodesMap[t];if(!r)return;const a=r.childNodes;for(let o=a.length-1;o>=0;o--){const i=a[o];this.remove(i.data)}for(let o=0,i=n.length;ol.level-u.level),o=Object.create(null),i=Object.keys(r);a.forEach(l=>l.setChecked(!1,!1));const s=l=>{l.childNodes.forEach(u=>{var c;o[u.data[t]]=!0,(c=u.childNodes)!=null&&c.length&&s(u)})};for(let l=0,u=a.length;l{g.isLeaf||g.setChecked(!1,!1),d(g)})};d(c)}}}setCheckedNodes(t,n=!1){const r=this.key,a={};t.forEach(o=>{a[(o||{})[r]]=!0}),this._setCheckedKeys(r,n,a)}setCheckedKeys(t,n=!1){this.defaultCheckedKeys=t;const r=this.key,a={};t.forEach(o=>{a[o]=!0}),this._setCheckedKeys(r,n,a)}setDefaultExpandedKeys(t){t=t||[],this.defaultExpandedKeys=t,t.forEach(n=>{const r=this.getNode(n);r&&r.expand(null,this.autoExpandParent)})}setChecked(t,n,r){const a=this.getNode(t);a&&a.setChecked(!!n,r)}getCurrentNode(){return this.currentNode}setCurrentNode(t){const n=this.currentNode;n&&(n.isCurrent=!1),this.currentNode=t,this.currentNode.isCurrent=!0}setUserCurrentNode(t,n=!0){const r=t[this.key],a=this.nodesMap[r];this.setCurrentNode(a),n&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0)}setCurrentNodeKey(t,n=!0){if(this.currentNodeKey=t,t==null){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const r=this.getNode(t);r&&(this.setCurrentNode(r),n&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0))}}const xEe=te({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(e){const t=Ae("tree"),n=ze("NodeInstance"),r=ze("RootTree");return()=>{const a=e.node,{data:o,store:i}=a;return e.renderContent?e.renderContent(We,{_self:n,node:a,data:o,store:i}):ve(r.ctx.slots,"default",{node:a,data:o},()=>[We("span",{class:t.be("node","label")},[a.label])])}}});var EEe=De(xEe,[["__file","tree-node-content.vue"]]);function SU(e){const t=ze("TreeNodeMap",null),n={treeNodeExpand:r=>{e.node!==r&&e.node.collapse()},children:[]};return t&&t.children.push(n),kt("TreeNodeMap",n),{broadcastExpanded:r=>{if(e.accordion)for(const a of n.children)a.treeNodeExpand(r)}}}const CU=Symbol("dragEvents");function kEe({props:e,ctx:t,el$:n,dropIndicator$:r,store:a}){const o=Ae("tree"),i=H({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return kt(CU,{treeNodeDragStart:({event:c,treeNode:f})=>{if(Ge(e.allowDrag)&&!e.allowDrag(f.node))return c.preventDefault(),!1;c.dataTransfer.effectAllowed="move";try{c.dataTransfer.setData("text/plain","")}catch(h){}i.value.draggingNode=f,t.emit("node-drag-start",f.node,c)},treeNodeDragOver:({event:c,treeNode:f})=>{const h=f,d=i.value.dropNode;d&&d.node.id!==h.node.id&&Ur(d.$el,o.is("drop-inner"));const p=i.value.draggingNode;if(!p||!h)return;let v=!0,g=!0,m=!0,w=!0;Ge(e.allowDrop)&&(v=e.allowDrop(p.node,h.node,"prev"),w=g=e.allowDrop(p.node,h.node,"inner"),m=e.allowDrop(p.node,h.node,"next")),c.dataTransfer.dropEffect=g||v||m?"move":"none",(v||g||m)&&(d==null?void 0:d.node.id)!==h.node.id&&(d&&t.emit("node-drag-leave",p.node,d.node,c),t.emit("node-drag-enter",p.node,h.node,c)),v||g||m?i.value.dropNode=h:i.value.dropNode=null,h.node.nextSibling===p.node&&(m=!1),h.node.previousSibling===p.node&&(v=!1),h.node.contains(p.node,!1)&&(g=!1),(p.node===h.node||p.node.contains(h.node))&&(v=!1,g=!1,m=!1);const _=h.$el.querySelector(`.${o.be("node","content")}`).getBoundingClientRect(),b=n.value.getBoundingClientRect();let S;const C=v?g?.25:m?.45:1:-1,T=m?g?.75:v?.55:0:1;let x=-9999;const E=c.clientY-_.top;E<_.height*C?S="before":E>_.height*T?S="after":g?S="inner":S="none";const k=h.$el.querySelector(`.${o.be("node","expand-icon")}`).getBoundingClientRect(),A=r.value;S==="before"?x=k.top-b.top:S==="after"&&(x=k.bottom-b.top),A.style.top=`${x}px`,A.style.left=`${k.right-b.left}px`,S==="inner"?Co(h.$el,o.is("drop-inner")):Ur(h.$el,o.is("drop-inner")),i.value.showDropIndicator=S==="before"||S==="after",i.value.allowDrop=i.value.showDropIndicator||w,i.value.dropType=S,t.emit("node-drag-over",p.node,h.node,c)},treeNodeDragEnd:c=>{const{draggingNode:f,dropType:h,dropNode:d}=i.value;if(c.preventDefault(),c.dataTransfer&&(c.dataTransfer.dropEffect="move"),f&&d){const p={data:f.node.data};h!=="none"&&f.node.remove(),h==="before"?d.node.parent.insertBefore(p,d.node):h==="after"?d.node.parent.insertAfter(p,d.node):h==="inner"&&d.node.insertChild(p),h!=="none"&&(a.value.registerNode(p),a.value.key&&f.node.eachNode(v=>{var g;(g=a.value.nodesMap[v.data[a.value.key]])==null||g.setChecked(v.checked,!a.value.checkStrictly)})),Ur(d.$el,o.is("drop-inner")),t.emit("node-drag-end",f.node,d.node,h,c),h!=="none"&&t.emit("node-drop",f.node,d.node,h,c)}f&&!d&&t.emit("node-drag-end",f.node,null,h,c),i.value.showDropIndicator=!1,i.value.draggingNode=null,i.value.dropNode=null,i.value.allowDrop=!0}}),{dragState:i}}const AEe=te({name:"ElTreeNode",components:{ElCollapseTransition:nw,ElCheckbox:Do,NodeContent:EEe,ElIcon:Ke,Loading:us},props:{node:{type:EE,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:{type:Boolean,default:!1}},emits:["node-expand"],setup(e,t){const n=Ae("tree"),{broadcastExpanded:r}=SU(e),a=ze("RootTree"),o=H(!1),i=H(!1),s=H(null),l=H(null),u=H(null),c=ze(CU),f=st();kt("NodeInstance",f),e.node.expanded&&(o.value=!0,i.value=!0);const h=a.props.props.children||"children";xe(()=>{const E=e.node.data[h];return E&&[...E]},()=>{e.node.updateChildren()}),xe(()=>e.node.indeterminate,E=>{v(e.node.checked,E)}),xe(()=>e.node.checked,E=>{v(E,e.node.indeterminate)}),xe(()=>e.node.childNodes.length,()=>e.node.reInitChecked()),xe(()=>e.node.expanded,E=>{qe(()=>o.value=E),E&&(i.value=!0)});const d=E=>z5(a.props.nodeKey,E.data),p=E=>{const k=e.props.class;if(!k)return{};let A;if(Ge(k)){const{data:P}=E;A=k(P,E)}else A=k;return Ze(A)?{[A]:!0}:A},v=(E,k)=>{(s.value!==E||l.value!==k)&&a.ctx.emit("check-change",e.node.data,E,k),s.value=E,l.value=k},g=E=>{TE(a.store,a.ctx.emit,()=>{var k;if((k=a==null?void 0:a.props)==null?void 0:k.nodeKey){const P=d(e.node);a.store.value.setCurrentNodeKey(P)}else a.store.value.setCurrentNode(e.node)}),a.currentNode.value=e.node,a.props.expandOnClickNode&&w(),a.props.checkOnClickNode&&!e.node.disabled&&_(null,{target:{checked:!e.node.checked}}),a.ctx.emit("node-click",e.node.data,e.node,f,E)},m=E=>{a.instance.vnode.props.onNodeContextmenu&&(E.stopPropagation(),E.preventDefault()),a.ctx.emit("node-contextmenu",E,e.node.data,e.node,f)},w=()=>{e.node.isLeaf||(o.value?(a.ctx.emit("node-collapse",e.node.data,e.node,f),e.node.collapse()):e.node.expand(()=>{t.emit("node-expand",e.node.data,e.node,f)}))},_=(E,k)=>{e.node.setChecked(k.target.checked,!a.props.checkStrictly),qe(()=>{const A=a.store.value;a.ctx.emit("check",e.node.data,{checkedNodes:A.getCheckedNodes(),checkedKeys:A.getCheckedKeys(),halfCheckedNodes:A.getHalfCheckedNodes(),halfCheckedKeys:A.getHalfCheckedKeys()})})};return{ns:n,node$:u,tree:a,expanded:o,childNodeRendered:i,oldChecked:s,oldIndeterminate:l,getNodeKey:d,getNodeClass:p,handleSelectChange:v,handleClick:g,handleContextMenu:m,handleExpandIconClick:w,handleCheckChange:_,handleChildNodeExpand:(E,k,A)=>{r(k),a.ctx.emit("node-expand",E,k,A)},handleDragStart:E=>{a.props.draggable&&c.treeNodeDragStart({event:E,treeNode:e})},handleDragOver:E=>{E.preventDefault(),a.props.draggable&&c.treeNodeDragOver({event:E,treeNode:{$el:u.value,node:e.node}})},handleDrop:E=>{E.preventDefault()},handleDragEnd:E=>{a.props.draggable&&c.treeNodeDragEnd(E)},CaretRight:lz}}});function MEe(e,t,n,r,a,o){const i=gt("el-icon"),s=gt("el-checkbox"),l=gt("loading"),u=gt("node-content"),c=gt("el-tree-node"),f=gt("el-collapse-transition");return vt((N(),q("div",{ref:"node$",class:F([e.ns.b("node"),e.ns.is("expanded",e.expanded),e.ns.is("current",e.node.isCurrent),e.ns.is("hidden",!e.node.visible),e.ns.is("focusable",!e.node.disabled),e.ns.is("checked",!e.node.disabled&&e.node.checked),e.getNodeClass(e.node)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.node.disabled,"aria-checked":e.node.checked,draggable:e.tree.props.draggable,"data-key":e.getNodeKey(e.node),onClick:nt(e.handleClick,["stop"]),onContextmenu:e.handleContextMenu,onDragstart:nt(e.handleDragStart,["stop"]),onDragover:nt(e.handleDragOver,["stop"]),onDragend:nt(e.handleDragEnd,["stop"]),onDrop:nt(e.handleDrop,["stop"])},[Z("div",{class:F(e.ns.be("node","content")),style:Xe({paddingLeft:(e.node.level-1)*e.tree.props.indent+"px"})},[e.tree.props.icon||e.CaretRight?(N(),ye(i,{key:0,class:F([e.ns.be("node","expand-icon"),e.ns.is("leaf",e.node.isLeaf),{expanded:!e.node.isLeaf&&e.expanded}]),onClick:nt(e.handleExpandIconClick,["stop"])},{default:le(()=>[(N(),ye(bt(e.tree.props.icon||e.CaretRight)))]),_:1},8,["class","onClick"])):ge("v-if",!0),e.showCheckbox?(N(),ye(s,{key:1,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:!!e.node.disabled,onClick:nt(()=>{},["stop"]),onChange:e.handleCheckChange},null,8,["model-value","indeterminate","disabled","onClick","onChange"])):ge("v-if",!0),e.node.loading?(N(),ye(i,{key:2,class:F([e.ns.be("node","loading-icon"),e.ns.is("loading")])},{default:le(()=>[ee(l)]),_:1},8,["class"])):ge("v-if",!0),ee(u,{node:e.node,"render-content":e.renderContent},null,8,["node","render-content"])],6),ee(f,null,{default:le(()=>[!e.renderAfterExpand||e.childNodeRendered?vt((N(),q("div",{key:0,class:F(e.ns.be("node","children")),role:"group","aria-expanded":e.expanded},[(N(!0),q(je,null,Rt(e.node.childNodes,h=>(N(),ye(c,{key:e.getNodeKey(h),"render-content":e.renderContent,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,node:h,accordion:e.accordion,props:e.props,onNodeExpand:e.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,["aria-expanded"])),[[Wt,e.expanded]]):ge("v-if",!0)]),_:1})],42,["aria-expanded","aria-disabled","aria-checked","draggable","data-key","onClick","onContextmenu","onDragstart","onDragover","onDragend","onDrop"])),[[Wt,e.node.visible]])}var OEe=De(AEe,[["render",MEe],["__file","tree-node.vue"]]);function PEe({el$:e},t){const n=Ae("tree"),r=gn([]),a=gn([]);ft(()=>{i()}),oo(()=>{r.value=Array.from(e.value.querySelectorAll("[role=treeitem]")),a.value=Array.from(e.value.querySelectorAll("input[type=checkbox]"))}),xe(a,s=>{s.forEach(l=>{l.setAttribute("tabindex","-1")})}),sn(e,"keydown",s=>{const l=s.target;if(!l.className.includes(n.b("node")))return;const u=s.code;r.value=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`));const c=r.value.indexOf(l);let f;if([Ue.up,Ue.down].includes(u)){if(s.preventDefault(),u===Ue.up){f=c===-1?0:c!==0?c-1:r.value.length-1;const d=f;for(;!t.value.getNode(r.value[f].dataset.key).canFocus;){if(f--,f===d){f=-1;break}f<0&&(f=r.value.length-1)}}else{f=c===-1?0:c=r.value.length&&(f=0)}}f!==-1&&r.value[f].focus()}[Ue.left,Ue.right].includes(u)&&(s.preventDefault(),l.click());const h=l.querySelector('[type="checkbox"]');[Ue.enter,Ue.numpadEnter,Ue.space].includes(u)&&h&&(s.preventDefault(),h.click())});const i=()=>{var s;r.value=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`)),a.value=Array.from(e.value.querySelectorAll("input[type=checkbox]"));const l=e.value.querySelectorAll(`.${n.is("checked")}[role=treeitem]`);if(l.length){l[0].setAttribute("tabindex","0");return}(s=r.value[0])==null||s.setAttribute("tabindex","0")}}const REe=te({name:"ElTree",components:{ElTreeNode:OEe},props:{data:{type:Array,default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkDescendants:{type:Boolean,default:!1},autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,currentNodeKey:[String,Number],renderContent:Function,showCheckbox:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},allowDrag:Function,allowDrop:Function,props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:{type:Boolean,default:!1},highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},icon:{type:cn}},emits:["check-change","current-change","node-click","node-contextmenu","node-collapse","node-expand","check","node-drag-start","node-drag-end","node-drop","node-drag-leave","node-drag-enter","node-drag-over"],setup(e,t){const{t:n}=$t(),r=Ae("tree"),a=ze(Kh,null),o=H(new TEe({key:e.nodeKey,data:e.data,lazy:e.lazy,props:e.props,load:e.load,currentNodeKey:e.currentNodeKey,checkStrictly:e.checkStrictly,checkDescendants:e.checkDescendants,defaultCheckedKeys:e.defaultCheckedKeys,defaultExpandedKeys:e.defaultExpandedKeys,autoExpandParent:e.autoExpandParent,defaultExpandAll:e.defaultExpandAll,filterNodeMethod:e.filterNodeMethod}));o.value.initialize();const i=H(o.value.root),s=H(null),l=H(null),u=H(null),{broadcastExpanded:c}=SU(e),{dragState:f}=kEe({props:e,ctx:t,el$:l,dropIndicator$:u,store:o});PEe({el$:l},o);const h=R(()=>{const{childNodes:O}=i.value,D=a?a.hasFilteredOptions!==0:!1;return(!O||O.length===0||O.every(({visible:z})=>!z))&&!D});xe(()=>e.currentNodeKey,O=>{o.value.setCurrentNodeKey(O)}),xe(()=>e.defaultCheckedKeys,O=>{o.value.setDefaultCheckedKey(O)}),xe(()=>e.defaultExpandedKeys,O=>{o.value.setDefaultExpandedKeys(O)}),xe(()=>e.data,O=>{o.value.setData(O)},{deep:!0}),xe(()=>e.checkStrictly,O=>{o.value.checkStrictly=O});const d=O=>{if(!e.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");o.value.filter(O)},p=O=>z5(e.nodeKey,O.data),v=O=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");const D=o.value.getNode(O);if(!D)return[];const z=[D.data];let V=D.parent;for(;V&&V!==i.value;)z.push(V.data),V=V.parent;return z.reverse()},g=(O,D)=>o.value.getCheckedNodes(O,D),m=O=>o.value.getCheckedKeys(O),w=()=>{const O=o.value.getCurrentNode();return O?O.data:null},_=()=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");const O=w();return O?O[e.nodeKey]:null},b=(O,D)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");o.value.setCheckedNodes(O,D)},S=(O,D)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");o.value.setCheckedKeys(O,D)},C=(O,D,z)=>{o.value.setChecked(O,D,z)},T=()=>o.value.getHalfCheckedNodes(),x=()=>o.value.getHalfCheckedKeys(),E=(O,D=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");TE(o,t.emit,()=>{c(O),o.value.setUserCurrentNode(O,D)})},k=(O,D=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");TE(o,t.emit,()=>{c(),o.value.setCurrentNodeKey(O,D)})},A=O=>o.value.getNode(O),P=O=>{o.value.remove(O)},$=(O,D)=>{o.value.append(O,D)},B=(O,D)=>{o.value.insertBefore(O,D)},I=(O,D)=>{o.value.insertAfter(O,D)},M=(O,D,z)=>{c(D),t.emit("node-expand",O,D,z)},L=(O,D)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");o.value.updateChildren(O,D)};return kt("RootTree",{ctx:t,props:e,store:o,root:i,currentNode:s,instance:st()}),kt(cs,void 0),{ns:r,store:o,root:i,currentNode:s,dragState:f,el$:l,dropIndicator$:u,isEmpty:h,filter:d,getNodeKey:p,getNodePath:v,getCheckedNodes:g,getCheckedKeys:m,getCurrentNode:w,getCurrentKey:_,setCheckedNodes:b,setCheckedKeys:S,setChecked:C,getHalfCheckedNodes:T,getHalfCheckedKeys:x,setCurrentNode:E,setCurrentKey:k,t:n,getNode:A,remove:P,append:$,insertBefore:B,insertAfter:I,handleNodeExpand:M,updateKeyChildren:L}}});function IEe(e,t,n,r,a,o){const i=gt("el-tree-node");return N(),q("div",{ref:"el$",class:F([e.ns.b(),e.ns.is("dragging",!!e.dragState.draggingNode),e.ns.is("drop-not-allow",!e.dragState.allowDrop),e.ns.is("drop-inner",e.dragState.dropType==="inner"),{[e.ns.m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[(N(!0),q(je,null,Rt(e.root.childNodes,s=>(N(),ye(i,{key:e.getNodeKey(s),node:s,props:e.props,accordion:e.accordion,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,"render-content":e.renderContent,onNodeExpand:e.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),e.isEmpty?(N(),q("div",{key:0,class:F(e.ns.e("empty-block"))},[ve(e.$slots,"empty",{},()=>{var s;return[Z("span",{class:F(e.ns.e("empty-text"))},Re((s=e.emptyText)!=null?s:e.t("el.tree.emptyText")),3)]})],2)):ge("v-if",!0),vt(Z("div",{ref:"dropIndicator$",class:F(e.ns.e("drop-indicator"))},null,2),[[Wt,e.dragState.showDropIndicator]])],2)}var DEe=De(REe,[["render",IEe],["__file","tree.vue"]]);const bb=pt(DEe),LEe=(e,{attrs:t,emit:n},{select:r,tree:a,key:o})=>{const i=Ae("tree-select");return xe(()=>e.data,()=>{e.filterable&&qe(()=>{var l,u;(u=a.value)==null||u.filter((l=r.value)==null?void 0:l.states.inputValue)})},{flush:"post"}),_e(X(X({},th(rr(e),Object.keys(rf.props))),t),{"onUpdate:modelValue":l=>n(St,l),valueKey:o,popperClass:R(()=>{const l=[i.e("popper")];return e.popperClass&&l.push(e.popperClass),l.join(" ")}),filterMethod:(l="")=>{var u;e.filterMethod?e.filterMethod(l):e.remoteMethod?e.remoteMethod(l):(u=a.value)==null||u.filter(l)}})},$Ee=te({extends:sb,setup(e,t){const n=sb.setup(e,t);delete n.selectOptionClick;const r=st().proxy;return qe(()=>{n.select.states.cachedOptions.get(r.value)||n.select.onOptionCreate(r)}),xe(()=>t.attrs.visible,a=>{n.states.visible=a},{immediate:!0}),n},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function kE(e){return e||e===0}function H5(e){return Me(e)&&e.length}function Nf(e){return Me(e)?e:kE(e)?[e]:[]}function o1(e,t,n,r,a){for(let o=0;o{xe(()=>e.modelValue,()=>{e.showCheckbox&&qe(()=>{const h=o.value;h&&!Cr(h.getCheckedKeys(),Nf(e.modelValue))&&h.setCheckedKeys(Nf(e.modelValue))})},{immediate:!0,deep:!0});const s=R(()=>X({value:i.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf"},e.props)),l=(h,d)=>{var p;const v=s.value[h];return Ge(v)?v(d,(p=o.value)==null?void 0:p.getNode(l("value",d))):d[v]},u=Nf(e.modelValue).map(h=>o1(e.data||[],d=>l("value",d)===h,d=>l("children",d),(d,p,v,g)=>g&&l("value",g))).filter(h=>kE(h)),c=R(()=>{if(!e.renderAfterExpand&&!e.lazy)return[];const h=[];return i1(e.data.concat(e.cacheData),d=>{const p=l("value",d);h.push({value:p,currentLabel:l("label",d),isDisabled:l("disabled",d)})},d=>l("children",d)),h}),f=()=>{var h;return(h=o.value)==null?void 0:h.getCheckedKeys().filter(d=>{var p;const v=(p=o.value)==null?void 0:p.getNode(d);return!ur(v)&&qa(v.childNodes)})};return _e(X(X({},th(rr(e),Object.keys(bb.props))),t),{nodeKey:i,expandOnClickNode:R(()=>!e.checkStrictly&&e.expandOnClickNode),defaultExpandedKeys:R(()=>e.defaultExpandedKeys?e.defaultExpandedKeys.concat(u):u),renderContent:(h,{node:d,data:p,store:v})=>h($Ee,{value:l("value",p),label:l("label",p),disabled:l("disabled",p),visible:d.visible},e.renderContent?()=>e.renderContent(h,{node:d,data:p,store:v}):n.default?()=>n.default({node:d,data:p,store:v}):void 0),filterNodeMethod:(h,d,p)=>e.filterNodeMethod?e.filterNodeMethod(h,d,p):h?new RegExp(t5(h),"i").test(l("label",d)||""):!0,onNodeClick:(h,d,p)=>{var v,g,m,w;if((v=t.onNodeClick)==null||v.call(t,h,d,p),!(e.showCheckbox&&e.checkOnClickNode)){if(!e.showCheckbox&&(e.checkStrictly||d.isLeaf)){if(!l("disabled",h)){const _=(g=a.value)==null?void 0:g.states.options.get(l("value",h));(m=a.value)==null||m.handleOptionSelect(_)}}else e.expandOnClickNode&&p.proxy.handleExpandIconClick();(w=a.value)==null||w.focus()}},onCheck:(h,d)=>{var p;if(!e.showCheckbox)return;const v=l("value",h),g={};i1([o.value.store.root],b=>g[b.key]=b,b=>b.childNodes);const m=d.checkedKeys,w=e.multiple?Nf(e.modelValue).filter(b=>!(b in g)&&!m.includes(b)):[],_=w.concat(m);if(e.checkStrictly)r(St,e.multiple?_:_.includes(v)?v:void 0);else if(e.multiple){const b=f();r(St,w.concat(b))}else{const b=o1([h],T=>!H5(l("children",T))&&!l("disabled",T),T=>l("children",T)),S=b?l("value",b):void 0,C=kE(e.modelValue)&&!!o1([h],T=>l("value",T)===e.modelValue,T=>l("children",T));r(St,S===e.modelValue||C?void 0:S)}qe(()=>{var b;const S=Nf(e.modelValue);o.value.setCheckedKeys(S),(b=t.onCheck)==null||b.call(t,h,{checkedKeys:o.value.getCheckedKeys(),checkedNodes:o.value.getCheckedNodes(),halfCheckedKeys:o.value.getHalfCheckedKeys(),halfCheckedNodes:o.value.getHalfCheckedNodes()})}),(p=a.value)==null||p.focus()},onNodeExpand:(h,d,p)=>{var v;(v=t.onNodeExpand)==null||v.call(t,h,d,p),qe(()=>{if(!e.checkStrictly&&e.lazy&&e.multiple&&d.checked){const g={},m=o.value.getCheckedKeys();i1([o.value.store.root],b=>g[b.key]=b,b=>b.childNodes);const w=Nf(e.modelValue).filter(b=>!(b in g)&&!m.includes(b)),_=f();r(St,w.concat(_))}})},cacheOptions:c})};var BEe=te({props:{data:{type:Array,default:()=>[]}},setup(e){const t=ze(Kh);return xe(()=>e.data,()=>{var n;e.data.forEach(a=>{t.states.cachedOptions.has(a.value)||t.states.cachedOptions.set(a.value,a)});const r=((n=t.selectRef)==null?void 0:n.querySelectorAll("input"))||[];Bt&&!Array.from(r).includes(document.activeElement)&&t.setSelected()},{flush:"post",immediate:!0}),()=>{}}});const FEe=te({name:"ElTreeSelect",inheritAttrs:!1,props:_e(X(X({},rf.props),bb.props),{cacheData:{type:Array,default:()=>[]}}),setup(e,t){const{slots:n,expose:r}=t,a=H(),o=H(),i=R(()=>e.nodeKey||e.valueKey||"value"),s=LEe(e,t,{select:a,tree:o,key:i}),f=NEe(e,t,{select:a,tree:o,key:i}),{cacheOptions:l}=f,u=ja(f,["cacheOptions"]),c=zt({});return r(c),ft(()=>{Object.assign(c,X(X({},th(o.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"])),th(a.value,["focus","blur","selectedLabel"])))}),()=>We(rf,zt(_e(X({},s),{ref:h=>a.value=h})),_e(X({},n),{default:()=>[We(BEe,{data:l.value}),We(bb,zt(_e(X({},u),{ref:h=>o.value=h})))]}))}});var VEe=De(FEe,[["__file","tree-select.vue"]]);const zEe=pt(VEe),W5=Symbol(),HEe={key:-1,level:-1,data:{}};var Zp=(e=>(e.KEY="id",e.LABEL="label",e.CHILDREN="children",e.DISABLED="disabled",e.CLASS="",e))(Zp||{}),AE=(e=>(e.ADD="add",e.DELETE="delete",e))(AE||{});const TU={type:Number,default:26},WEe=Ie({data:{type:ce(Array),default:()=>In([])},emptyText:{type:String},height:{type:Number,default:200},props:{type:ce(Object),default:()=>In({children:"children",label:"label",disabled:"disabled",value:"id",class:""})},highlightCurrent:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},defaultCheckedKeys:{type:ce(Array),default:()=>In([])},checkStrictly:{type:Boolean,default:!1},defaultExpandedKeys:{type:ce(Array),default:()=>In([])},indent:{type:Number,default:16},itemSize:TU,icon:{type:cn},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:{type:Boolean,default:!1},currentNodeKey:{type:ce([String,Number])},accordion:{type:Boolean,default:!1},filterMethod:{type:ce(Function)},perfMode:{type:Boolean,default:!0}}),UEe=Ie({node:{type:ce(Object),default:()=>In(HEe)},expanded:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},current:{type:Boolean,default:!1},hiddenExpandIcon:{type:Boolean,default:!1},itemSize:TU}),jEe=Ie({node:{type:ce(Object),required:!0}}),xU="node-click",EU="node-drop",kU="node-expand",AU="node-collapse",MU="current-change",OU="check",PU="check-change",RU="node-contextmenu",KEe={[xU]:(e,t,n)=>e&&t&&n,[EU]:(e,t,n)=>e&&t&&n,[kU]:(e,t)=>e&&t,[AU]:(e,t)=>e&&t,[MU]:(e,t)=>e&&t,[OU]:(e,t)=>e&&t,[PU]:(e,t)=>e&&hn(t),[RU]:(e,t,n)=>e&&t&&n},GEe={click:(e,t)=>!!(e&&t),drop:(e,t)=>!!(e&&t),toggle:e=>!!e,check:(e,t)=>e&&hn(t)};function qEe(e,t){const n=H(new Set),r=H(new Set),{emit:a}=st();xe([()=>t.value,()=>e.defaultCheckedKeys],()=>qe(()=>{w(e.defaultCheckedKeys)}),{immediate:!0});const o=()=>{if(!t.value||!e.showCheckbox||e.checkStrictly)return;const{levelTreeNodeMap:_,maxLevel:b}=t.value,S=n.value,C=new Set;for(let T=b-1;T>=1;--T){const x=_.get(T);x&&x.forEach(E=>{const k=E.children;if(k){let A=!0,P=!1;for(const $ of k){const B=$.key;if(S.has(B))P=!0;else if(C.has(B)){A=!1,P=!0;break}else A=!1}A?S.add(E.key):P?(C.add(E.key),S.delete(E.key)):(S.delete(E.key),C.delete(E.key))}})}r.value=C},i=_=>n.value.has(_.key),s=_=>r.value.has(_.key),l=(_,b,S=!0)=>{const C=n.value,T=(x,E)=>{C[E?AE.ADD:AE.DELETE](x.key);const k=x.children;!e.checkStrictly&&k&&k.forEach(A=>{A.disabled||T(A,E)})};T(_,b),o(),S&&u(_,b)},u=(_,b)=>{const{checkedNodes:S,checkedKeys:C}=p(),{halfCheckedNodes:T,halfCheckedKeys:x}=v();a(OU,_.data,{checkedKeys:C,checkedNodes:S,halfCheckedKeys:x,halfCheckedNodes:T}),a(PU,_.data,b)};function c(_=!1){return p(_).checkedKeys}function f(_=!1){return p(_).checkedNodes}function h(){return v().halfCheckedKeys}function d(){return v().halfCheckedNodes}function p(_=!1){const b=[],S=[];if(t!=null&&t.value&&e.showCheckbox){const{treeNodeMap:C}=t.value;n.value.forEach(T=>{const x=C.get(T);x&&(!_||_&&x.isLeaf)&&(S.push(T),b.push(x.data))})}return{checkedKeys:S,checkedNodes:b}}function v(){const _=[],b=[];if(t!=null&&t.value&&e.showCheckbox){const{treeNodeMap:S}=t.value;r.value.forEach(C=>{const T=S.get(C);T&&(b.push(C),_.push(T.data))})}return{halfCheckedNodes:_,halfCheckedKeys:b}}function g(_){n.value.clear(),r.value.clear(),qe(()=>{w(_)})}function m(_,b){if(t!=null&&t.value&&e.showCheckbox){const S=t.value.treeNodeMap.get(_);S&&l(S,b,!1)}}function w(_){if(t!=null&&t.value){const{treeNodeMap:b}=t.value;if(e.showCheckbox&&b&&_)for(const S of _){const C=b.get(S);C&&!i(C)&&l(C,!0,!1)}}}return{updateCheckedKeys:o,toggleCheckbox:l,isChecked:i,isIndeterminate:s,getCheckedKeys:c,getCheckedNodes:f,getHalfCheckedKeys:h,getHalfCheckedNodes:d,setChecked:m,setCheckedKeys:g}}function YEe(e,t){const n=H(new Set([])),r=H(new Set([])),a=R(()=>Ge(e.filterMethod));function o(s){var l;if(!a.value)return;const u=new Set,c=r.value,f=n.value,h=[],d=((l=t.value)==null?void 0:l.treeNodes)||[],p=e.filterMethod;f.clear();function v(g){g.forEach(m=>{h.push(m),p!=null&&p(s,m.data)?h.forEach(_=>{u.add(_.key)}):m.isLeaf&&f.add(m.key);const w=m.children;if(w&&v(w),!m.isLeaf){if(!u.has(m.key))f.add(m.key);else if(w){let _=!0;for(const b of w)if(!f.has(b.key)){_=!1;break}_?c.add(m.key):c.delete(m.key)}}h.pop()})}return v(d),u}function i(s){return r.value.has(s.key)}return{hiddenExpandIconKeySet:r,hiddenNodeKeySet:n,doFilter:o,isForceHiddenExpandIcon:i}}function XEe(e,t){const n=H(new Set(e.defaultExpandedKeys)),r=H(),a=gn(),o=H();xe(()=>e.currentNodeKey,ae=>{r.value=ae},{immediate:!0}),xe(()=>e.data,ae=>{oe(ae)},{immediate:!0});const{isIndeterminate:i,isChecked:s,toggleCheckbox:l,getCheckedKeys:u,getCheckedNodes:c,getHalfCheckedKeys:f,getHalfCheckedNodes:h,setChecked:d,setCheckedKeys:p}=qEe(e,a),{doFilter:v,hiddenNodeKeySet:g,isForceHiddenExpandIcon:m}=YEe(e,a),w=R(()=>{var ae;return((ae=e.props)==null?void 0:ae.value)||Zp.KEY}),_=R(()=>{var ae;return((ae=e.props)==null?void 0:ae.children)||Zp.CHILDREN}),b=R(()=>{var ae;return((ae=e.props)==null?void 0:ae.disabled)||Zp.DISABLED}),S=R(()=>{var ae;return((ae=e.props)==null?void 0:ae.label)||Zp.LABEL}),C=R(()=>{var ae;const K=n.value,Q=g.value,pe=[],we=((ae=a.value)==null?void 0:ae.treeNodes)||[],me=[];for(let be=we.length-1;be>=0;--be)me.push(we[be]);for(;me.length;){const be=me.pop();if(!Q.has(be.key)&&(pe.push(be),be.children&&K.has(be.key)))for(let Ce=be.children.length-1;Ce>=0;--Ce)me.push(be.children[Ce])}return pe}),T=R(()=>C.value.length>0);function x(ae){const K=new Map,Q=new Map;let pe=1;function we(be,Ce=1,ke=void 0){var Oe;const Pe=[];for(const He of be){const Te=A(He),Be={level:Ce,key:Te,data:He};Be.label=$(He),Be.parent=ke;const Je=k(He);Be.disabled=P(He),Be.isLeaf=!Je||Je.length===0,Je&&Je.length&&(Be.children=we(Je,Ce+1,Be)),Pe.push(Be),K.set(Te,Be),Q.has(Ce)||Q.set(Ce,[]),(Oe=Q.get(Ce))==null||Oe.push(Be)}return Ce>pe&&(pe=Ce),Pe}const me=we(ae);return{treeNodeMap:K,levelTreeNodeMap:Q,maxLevel:pe,treeNodes:me}}function E(ae){const K=v(ae);K&&(n.value=K)}function k(ae){return ae[_.value]}function A(ae){return ae?ae[w.value]:""}function P(ae){return ae[b.value]}function $(ae){return ae[S.value]}function B(ae){n.value.has(ae.key)?V(ae):z(ae)}function I(ae){const K=new Set,Q=a.value.treeNodeMap;ae.forEach(pe=>{let we=Q.get(pe);for(;we&&!K.has(we.key);)K.add(we.key),we=we.parent}),n.value=K}function M(ae,K){t(xU,ae.data,ae,K),O(ae),e.expandOnClickNode&&B(ae),e.showCheckbox&&e.checkOnClickNode&&!ae.disabled&&l(ae,!s(ae),!0)}function L(ae,K){t(EU,ae.data,ae,K)}function O(ae){ne(ae)||(r.value=ae.key,t(MU,ae.data,ae))}function D(ae,K){l(ae,K)}function z(ae){const K=n.value;if(a.value&&e.accordion){const{treeNodeMap:Q}=a.value;K.forEach(pe=>{const we=Q.get(pe);ae&&ae.level===(we==null?void 0:we.level)&&K.delete(pe)})}K.add(ae.key),t(kU,ae.data,ae)}function V(ae){n.value.delete(ae.key),t(AU,ae.data,ae)}function j(ae){return n.value.has(ae.key)}function U(ae){return!!ae.disabled}function ne(ae){const K=r.value;return K!==void 0&&K===ae.key}function ie(){var ae,K;if(r.value)return(K=(ae=a.value)==null?void 0:ae.treeNodeMap.get(r.value))==null?void 0:K.data}function fe(){return r.value}function G(ae){r.value=ae}function oe(ae){qe(()=>a.value=x(ae))}function se(ae){var K;const Q=_t(ae)?A(ae):ae;return(K=a.value)==null?void 0:K.treeNodeMap.get(Q)}function ue(ae,K="auto"){const Q=se(ae);Q&&o.value&&o.value.scrollToItem(C.value.indexOf(Q),K)}function he(ae){var K;(K=o.value)==null||K.scrollTo(ae)}return{tree:a,flattenTree:C,isNotEmpty:T,listRef:o,getKey:A,getChildren:k,toggleExpand:B,toggleCheckbox:l,isExpanded:j,isChecked:s,isIndeterminate:i,isDisabled:U,isCurrent:ne,isForceHiddenExpandIcon:m,handleNodeClick:M,handleNodeDrop:L,handleNodeCheck:D,getCurrentNode:ie,getCurrentKey:fe,setCurrentKey:G,getCheckedKeys:u,getCheckedNodes:c,getHalfCheckedKeys:f,getHalfCheckedNodes:h,setChecked:d,setCheckedKeys:p,filter:E,setData:oe,getNode:se,expandNode:z,collapseNode:V,setExpandedKeys:I,scrollToNode:ue,scrollTo:he}}var ZEe=te({name:"ElTreeNodeContent",props:jEe,setup(e){const t=ze(W5),n=Ae("tree");return()=>{const r=e.node,{data:a}=r;return t!=null&&t.ctx.slots.default?t.ctx.slots.default({node:r,data:a}):We("span",{class:n.be("node","label")},[r==null?void 0:r.label])}}});const JEe=te({name:"ElTreeNode"}),QEe=te(_e(X({},JEe),{props:UEe,emits:GEe,setup(e,{emit:t}){const n=e,r=ze(W5),a=Ae("tree"),o=R(()=>{var d;return(d=r==null?void 0:r.props.indent)!=null?d:16}),i=R(()=>{var d;return(d=r==null?void 0:r.props.icon)!=null?d:lz}),s=d=>{const p=r==null?void 0:r.props.props.class;if(!p)return{};let v;if(Ge(p)){const{data:g}=d;v=p(g,d)}else v=p;return Ze(v)?{[v]:!0}:v},l=d=>{t("click",n.node,d)},u=d=>{t("drop",n.node,d)},c=()=>{t("toggle",n.node)},f=d=>{t("check",n.node,d)},h=d=>{var p,v,g,m;(g=(v=(p=r==null?void 0:r.instance)==null?void 0:p.vnode)==null?void 0:v.props)!=null&&g.onNodeContextmenu&&(d.stopPropagation(),d.preventDefault()),r==null||r.ctx.emit(RU,d,(m=n.node)==null?void 0:m.data,n.node)};return(d,p)=>{var v,g,m;return N(),q("div",{ref:"node$",class:F([y(a).b("node"),y(a).is("expanded",d.expanded),y(a).is("current",d.current),y(a).is("focusable",!d.disabled),y(a).is("checked",!d.disabled&&d.checked),s(d.node)]),role:"treeitem",tabindex:"-1","aria-expanded":d.expanded,"aria-disabled":d.disabled,"aria-checked":d.checked,"data-key":(v=d.node)==null?void 0:v.key,onClick:nt(l,["stop"]),onContextmenu:h,onDragover:nt(()=>{},["prevent"]),onDragenter:nt(()=>{},["prevent"]),onDrop:nt(u,["stop"])},[Z("div",{class:F(y(a).be("node","content")),style:Xe({paddingLeft:`${(d.node.level-1)*y(o)}px`,height:d.itemSize+"px"})},[y(i)?(N(),ye(y(Ke),{key:0,class:F([y(a).is("leaf",!!((g=d.node)!=null&&g.isLeaf)),y(a).is("hidden",d.hiddenExpandIcon),{expanded:!((m=d.node)!=null&&m.isLeaf)&&d.expanded},y(a).be("node","expand-icon")]),onClick:nt(c,["stop"])},{default:le(()=>[(N(),ye(bt(y(i))))]),_:1},8,["class","onClick"])):ge("v-if",!0),d.showCheckbox?(N(),ye(y(Do),{key:1,"model-value":d.checked,indeterminate:d.indeterminate,disabled:d.disabled,onChange:f,onClick:nt(()=>{},["stop"])},null,8,["model-value","indeterminate","disabled","onClick"])):ge("v-if",!0),ee(y(ZEe),{node:d.node},null,8,["node"])],6)],42,["aria-expanded","aria-disabled","aria-checked","data-key","onClick","onDragover","onDragenter","onDrop"])}}}));var eke=De(QEe,[["__file","tree-node.vue"]]);const tke=te({name:"ElTreeV2"}),nke=te(_e(X({},tke),{props:WEe,emits:KEe,setup(e,{expose:t,emit:n}){const r=e,a=Yn(),o=R(()=>r.itemSize);kt(W5,{ctx:{emit:n,slots:a},props:r,instance:st()}),kt(cs,void 0);const{t:i}=$t(),s=Ae("tree"),{flattenTree:l,isNotEmpty:u,listRef:c,toggleExpand:f,isExpanded:h,isIndeterminate:d,isChecked:p,isDisabled:v,isCurrent:g,isForceHiddenExpandIcon:m,handleNodeClick:w,handleNodeDrop:_,handleNodeCheck:b,toggleCheckbox:S,getCurrentNode:C,getCurrentKey:T,setCurrentKey:x,getCheckedKeys:E,getCheckedNodes:k,getHalfCheckedKeys:A,getHalfCheckedNodes:P,setChecked:$,setCheckedKeys:B,filter:I,setData:M,getNode:L,expandNode:O,collapseNode:D,setExpandedKeys:z,scrollToNode:V,scrollTo:j}=XEe(r,n);return t({toggleCheckbox:S,getCurrentNode:C,getCurrentKey:T,setCurrentKey:x,getCheckedKeys:E,getCheckedNodes:k,getHalfCheckedKeys:A,getHalfCheckedNodes:P,setChecked:$,setCheckedKeys:B,filter:I,setData:M,getNode:L,expandNode:O,collapseNode:D,setExpandedKeys:z,scrollToNode:V,scrollTo:j}),(U,ne)=>(N(),q("div",{class:F([y(s).b(),{[y(s).m("highlight-current")]:U.highlightCurrent}]),role:"tree"},[y(u)?(N(),ye(y(bW),{key:0,ref_key:"listRef",ref:c,"class-name":y(s).b("virtual-list"),data:y(l),total:y(l).length,height:U.height,"item-size":y(o),"perf-mode":U.perfMode},{default:le(({data:ie,index:fe,style:G})=>[(N(),ye(eke,{key:ie[fe].key,style:Xe(G),node:ie[fe],expanded:y(h)(ie[fe]),"show-checkbox":U.showCheckbox,checked:y(p)(ie[fe]),indeterminate:y(d)(ie[fe]),"item-size":y(o),disabled:y(v)(ie[fe]),current:y(g)(ie[fe]),"hidden-expand-icon":y(m)(ie[fe]),onClick:y(w),onToggle:y(f),onCheck:y(b),onDrop:y(_)},null,8,["style","node","expanded","show-checkbox","checked","indeterminate","item-size","disabled","current","hidden-expand-icon","onClick","onToggle","onCheck","onDrop"]))]),_:1},8,["class-name","data","total","height","item-size","perf-mode"])):(N(),q("div",{key:1,class:F(y(s).e("empty-block"))},[ve(U.$slots,"empty",{},()=>{var ie;return[Z("span",{class:F(y(s).e("empty-text"))},Re((ie=U.emptyText)!=null?ie:y(i)("el.tree.emptyText")),3)]})],2))],2))}}));var rke=De(nke,[["__file","tree.vue"]]);const ake=pt(rke),IU=Symbol("uploadContextKey"),oke="ElUpload";class ike extends Error{constructor(t,n,r,a){super(t),this.name="UploadAjaxError",this.status=n,this.method=r,this.url=a}}function m8(e,t,n){let r;return n.response?r=`${n.response.error||n.response}`:n.responseText?r=`${n.responseText}`:r=`fail to ${t.method} ${e} ${n.status}`,new ike(r,n.status,t.method,e)}function ske(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(n){return t}}const lke=e=>{typeof XMLHttpRequest=="undefined"&&ar(oke,"XMLHttpRequest is undefined");const t=new XMLHttpRequest,n=e.action;t.upload&&t.upload.addEventListener("progress",o=>{const i=o;i.percent=o.total>0?o.loaded/o.total*100:0,e.onProgress(i)});const r=new FormData;if(e.data)for(const[o,i]of Object.entries(e.data))Me(i)&&i.length?r.append(o,...i):r.append(o,i);r.append(e.filename,e.file,e.file.name),t.addEventListener("error",()=>{e.onError(m8(n,e,t))}),t.addEventListener("load",()=>{if(t.status<200||t.status>=300)return e.onError(m8(n,e,t));e.onSuccess(ske(t))}),t.open(e.method,n,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const a=e.headers||{};if(a instanceof Headers)a.forEach((o,i)=>t.setRequestHeader(i,o));else for(const[o,i]of Object.entries(a))ur(i)||t.setRequestHeader(o,String(i));return t.send(r),t},DU=["text","picture","picture-card"];let uke=1;const ME=()=>Date.now()+uke++,LU=Ie({action:{type:String,default:"#"},headers:{type:ce(Object)},method:{type:String,default:"post"},data:{type:ce([Object,Function,Promise]),default:()=>In({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:ce(Array),default:()=>In([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:DU,default:"text"},httpRequest:{type:ce(Function),default:lke},disabled:Boolean,limit:Number}),cke=Ie(_e(X({},LU),{beforeUpload:{type:ce(Function),default:rn},beforeRemove:{type:ce(Function)},onRemove:{type:ce(Function),default:rn},onChange:{type:ce(Function),default:rn},onPreview:{type:ce(Function),default:rn},onSuccess:{type:ce(Function),default:rn},onProgress:{type:ce(Function),default:rn},onError:{type:ce(Function),default:rn},onExceed:{type:ce(Function),default:rn},crossorigin:{type:ce(String)}})),fke=Ie({files:{type:ce(Array),default:()=>In([])},disabled:{type:Boolean,default:!1},handlePreview:{type:ce(Function),default:rn},listType:{type:String,values:DU,default:"text"},crossorigin:{type:ce(String)}}),dke={remove:e=>!!e},hke=te({name:"ElUploadList"}),pke=te(_e(X({},hke),{props:fke,emits:dke,setup(e,{emit:t}){const n=e,{t:r}=$t(),a=Ae("upload"),o=Ae("icon"),i=Ae("list"),s=Sa(),l=H(!1),u=R(()=>[a.b("list"),a.bm("list",n.listType),a.is("disabled",n.disabled)]),c=f=>{t("remove",f)};return(f,h)=>(N(),ye(f3,{tag:"ul",class:F(y(u)),name:y(i).b()},{default:le(()=>[(N(!0),q(je,null,Rt(f.files,(d,p)=>(N(),q("li",{key:d.uid||d.name,class:F([y(a).be("list","item"),y(a).is(d.status),{focusing:l.value}]),tabindex:"0",onKeydown:un(v=>!y(s)&&c(d),["delete"]),onFocus:v=>l.value=!0,onBlur:v=>l.value=!1,onClick:v=>l.value=!1},[ve(f.$slots,"default",{file:d,index:p},()=>[f.listType==="picture"||d.status!=="uploading"&&f.listType==="picture-card"?(N(),q("img",{key:0,class:F(y(a).be("list","item-thumbnail")),src:d.url,crossorigin:f.crossorigin,alt:""},null,10,["src","crossorigin"])):ge("v-if",!0),d.status==="uploading"||f.listType!=="picture-card"?(N(),q("div",{key:1,class:F(y(a).be("list","item-info"))},[Z("a",{class:F(y(a).be("list","item-name")),onClick:nt(v=>f.handlePreview(d),["prevent"])},[ee(y(Ke),{class:F(y(o).m("document"))},{default:le(()=>[ee(y(Iue))]),_:1},8,["class"]),Z("span",{class:F(y(a).be("list","item-file-name")),title:d.name},Re(d.name),11,["title"])],10,["onClick"]),d.status==="uploading"?(N(),ye(y(uW),{key:0,type:f.listType==="picture-card"?"circle":"line","stroke-width":f.listType==="picture-card"?6:2,percentage:Number(d.percentage),style:Xe(f.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):ge("v-if",!0)],2)):ge("v-if",!0),Z("label",{class:F(y(a).be("list","item-status-label"))},[f.listType==="text"?(N(),ye(y(Ke),{key:0,class:F([y(o).m("upload-success"),y(o).m("circle-check")])},{default:le(()=>[ee(y(R3))]),_:1},8,["class"])):["picture-card","picture"].includes(f.listType)?(N(),ye(y(Ke),{key:1,class:F([y(o).m("upload-success"),y(o).m("check")])},{default:le(()=>[ee(y(ym))]),_:1},8,["class"])):ge("v-if",!0)],2),y(s)?ge("v-if",!0):(N(),ye(y(Ke),{key:2,class:F(y(o).m("close")),onClick:v=>c(d)},{default:le(()=>[ee(y(gi))]),_:2},1032,["class","onClick"])),ge(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),ge(" This is a bug which needs to be fixed "),ge(" TODO: Fix the incorrect navigation interaction "),y(s)?ge("v-if",!0):(N(),q("i",{key:3,class:F(y(o).m("close-tip"))},Re(y(r)("el.upload.deleteTip")),3)),f.listType==="picture-card"?(N(),q("span",{key:4,class:F(y(a).be("list","item-actions"))},[Z("span",{class:F(y(a).be("list","item-preview")),onClick:v=>f.handlePreview(d)},[ee(y(Ke),{class:F(y(o).m("zoom-in"))},{default:le(()=>[ee(y(dz))]),_:1},8,["class"])],10,["onClick"]),y(s)?ge("v-if",!0):(N(),q("span",{key:0,class:F(y(a).be("list","item-delete")),onClick:v=>c(d)},[ee(y(Ke),{class:F(y(o).m("delete"))},{default:le(()=>[ee(y(Pue))]),_:1},8,["class"])],10,["onClick"]))],2)):ge("v-if",!0)])],42,["onKeydown","onFocus","onBlur","onClick"]))),128)),ve(f.$slots,"append")]),_:3},8,["class","name"]))}}));var y8=De(pke,[["__file","upload-list.vue"]]);const vke=Ie({disabled:{type:Boolean,default:!1}}),gke={file:e=>Me(e)},$U="ElUploadDrag",mke=te({name:$U}),yke=te(_e(X({},mke),{props:vke,emits:gke,setup(e,{emit:t}){ze(IU)||ar($U,"usage: ");const r=Ae("upload"),a=H(!1),o=Sa(),i=l=>{if(o.value)return;a.value=!1,l.stopPropagation();const u=Array.from(l.dataTransfer.files);t("file",u)},s=()=>{o.value||(a.value=!0)};return(l,u)=>(N(),q("div",{class:F([y(r).b("dragger"),y(r).is("dragover",a.value)]),onDrop:nt(i,["prevent"]),onDragover:nt(s,["prevent"]),onDragleave:nt(c=>a.value=!1,["prevent"])},[ve(l.$slots,"default")],42,["onDrop","onDragover","onDragleave"]))}}));var bke=De(yke,[["__file","upload-dragger.vue"]]);const _ke=Ie(_e(X({},LU),{beforeUpload:{type:ce(Function),default:rn},onRemove:{type:ce(Function),default:rn},onStart:{type:ce(Function),default:rn},onSuccess:{type:ce(Function),default:rn},onProgress:{type:ce(Function),default:rn},onError:{type:ce(Function),default:rn},onExceed:{type:ce(Function),default:rn}})),wke=te({name:"ElUploadContent",inheritAttrs:!1}),Ske=te(_e(X({},wke),{props:_ke,setup(e,{expose:t}){const n=e,r=Ae("upload"),a=Sa(),o=gn({}),i=gn(),s=v=>{if(v.length===0)return;const{autoUpload:g,limit:m,fileList:w,multiple:_,onStart:b,onExceed:S}=n;if(m&&w.length+v.length>m){S(v,w);return}_||(v=v.slice(0,1));for(const C of v){const T=C;T.uid=ME(),b(T),g&&l(T)}},l=v=>ut(this,null,function*(){if(i.value.value="",!n.beforeUpload)return c(v);let g,m={};try{const _=n.data,b=n.beforeUpload(v);m=qc(n.data)?eb(n.data):n.data,g=yield b,qc(n.data)&&Cr(_,m)&&(m=eb(n.data))}catch(_){g=!1}if(g===!1){n.onRemove(v);return}let w=v;g instanceof Blob&&(g instanceof File?w=g:w=new File([g],v.name,{type:v.type})),c(Object.assign(w,{uid:v.uid}),m)}),u=(v,g)=>ut(this,null,function*(){return Ge(v)?v(g):v}),c=(v,g)=>ut(this,null,function*(){const{headers:m,data:w,method:_,withCredentials:b,name:S,action:C,onProgress:T,onSuccess:x,onError:E,httpRequest:k}=n;try{g=yield u(g!=null?g:w,v)}catch(B){n.onRemove(v);return}const{uid:A}=v,P={headers:m||{},withCredentials:b,file:v,data:g,method:_,filename:S,action:C,onProgress:B=>{T(B,v)},onSuccess:B=>{x(B,v),delete o.value[A]},onError:B=>{E(B,v),delete o.value[A]}},$=k(P);o.value[A]=$,$ instanceof Promise&&$.then(P.onSuccess,P.onError)}),f=v=>{const g=v.target.files;g&&s(Array.from(g))},h=()=>{a.value||(i.value.value="",i.value.click())},d=()=>{h()};return t({abort:v=>{Gle(o.value).filter(v?([m])=>String(v.uid)===m:()=>!0).forEach(([m,w])=>{w instanceof XMLHttpRequest&&w.abort(),delete o.value[m]})},upload:l}),(v,g)=>(N(),q("div",{class:F([y(r).b(),y(r).m(v.listType),y(r).is("drag",v.drag),y(r).is("disabled",y(a))]),tabindex:y(a)?"-1":"0",onClick:h,onKeydown:un(nt(d,["self"]),["enter","space"])},[v.drag?(N(),ye(bke,{key:0,disabled:y(a),onFile:s},{default:le(()=>[ve(v.$slots,"default")]),_:3},8,["disabled"])):ve(v.$slots,"default",{key:1}),Z("input",{ref_key:"inputRef",ref:i,class:F(y(r).e("input")),name:v.name,disabled:y(a),multiple:v.multiple,accept:v.accept,type:"file",onChange:f,onClick:nt(()=>{},["stop"])},null,42,["name","disabled","multiple","accept","onClick"])],42,["tabindex","onKeydown"]))}}));var b8=De(Ske,[["__file","upload-content.vue"]]);const _8="ElUpload",w8=e=>{var t;(t=e.url)!=null&&t.startsWith("blob:")&&URL.revokeObjectURL(e.url)},Cke=(e,t)=>{const n=qV(e,"fileList",void 0,{passive:!0}),r=d=>n.value.find(p=>p.uid===d.uid);function a(d){var p;(p=t.value)==null||p.abort(d)}function o(d=["ready","uploading","success","fail"]){n.value=n.value.filter(p=>!d.includes(p.status))}function i(d){n.value=n.value.filter(p=>p!==d)}const s=(d,p)=>{const v=r(p);v&&(console.error(d),v.status="fail",i(v),e.onError(d,v,n.value),e.onChange(v,n.value))},l=(d,p)=>{const v=r(p);v&&(e.onProgress(d,v,n.value),v.status="uploading",v.percentage=Math.round(d.percent))},u=(d,p)=>{const v=r(p);v&&(v.status="success",v.response=d,e.onSuccess(d,v,n.value),e.onChange(v,n.value))},c=d=>{ur(d.uid)&&(d.uid=ME());const p={name:d.name,percentage:0,status:"ready",size:d.size,raw:d,uid:d.uid};if(e.listType==="picture-card"||e.listType==="picture")try{p.url=URL.createObjectURL(d)}catch(v){v.message,e.onError(v,p,n.value)}n.value=[...n.value,p],e.onChange(p,n.value)},f=d=>ut(void 0,null,function*(){const p=d instanceof File?r(d):d;p||ar(_8,"file to be removed not found");const v=g=>{a(g),i(g),e.onRemove(g,n.value),w8(g)};e.beforeRemove?(yield e.beforeRemove(p,n.value))!==!1&&v(p):v(p)});function h(){n.value.filter(({status:d})=>d==="ready").forEach(({raw:d})=>{var p;return d&&((p=t.value)==null?void 0:p.upload(d))})}return xe(()=>e.listType,d=>{d!=="picture-card"&&d!=="picture"||(n.value=n.value.map(p=>{const{raw:v,url:g}=p;if(!g&&v)try{p.url=URL.createObjectURL(v)}catch(m){e.onError(m,p,n.value)}return p}))}),xe(n,d=>{for(const p of d)p.uid||(p.uid=ME()),p.status||(p.status="success")},{immediate:!0,deep:!0}),{uploadFiles:n,abort:a,clearFiles:o,handleError:s,handleProgress:l,handleStart:c,handleSuccess:u,handleRemove:f,submit:h,revokeFileObjectURL:w8}},Tke=te({name:"ElUpload"}),xke=te(_e(X({},Tke),{props:cke,setup(e,{expose:t}){const n=e,r=Sa(),a=gn(),{abort:o,submit:i,clearFiles:s,uploadFiles:l,handleStart:u,handleError:c,handleRemove:f,handleSuccess:h,handleProgress:d,revokeFileObjectURL:p}=Cke(n,a),v=R(()=>n.listType==="picture-card"),g=R(()=>_e(X({},n),{fileList:l.value,onStart:u,onProgress:d,onSuccess:h,onError:c,onRemove:f}));return fn(()=>{l.value.forEach(p)}),kt(IU,{accept:Jt(n,"accept")}),t({abort:o,submit:i,clearFiles:s,handleStart:u,handleRemove:f}),(m,w)=>(N(),q("div",null,[y(v)&&m.showFileList?(N(),ye(y8,{key:0,disabled:y(r),"list-type":m.listType,files:y(l),crossorigin:m.crossorigin,"handle-preview":m.onPreview,onRemove:y(f)},Oo({append:le(()=>[ee(b8,Et({ref_key:"uploadRef",ref:a},y(g)),{default:le(()=>[m.$slots.trigger?ve(m.$slots,"trigger",{key:0}):ge("v-if",!0),!m.$slots.trigger&&m.$slots.default?ve(m.$slots,"default",{key:1}):ge("v-if",!0)]),_:3},16)]),_:2},[m.$slots.file?{name:"default",fn:le(({file:_,index:b})=>[ve(m.$slots,"file",{file:_,index:b})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):ge("v-if",!0),!y(v)||y(v)&&!m.showFileList?(N(),ye(b8,Et({key:1,ref_key:"uploadRef",ref:a},y(g)),{default:le(()=>[m.$slots.trigger?ve(m.$slots,"trigger",{key:0}):ge("v-if",!0),!m.$slots.trigger&&m.$slots.default?ve(m.$slots,"default",{key:1}):ge("v-if",!0)]),_:3},16)):ge("v-if",!0),m.$slots.trigger?ve(m.$slots,"default",{key:2}):ge("v-if",!0),ve(m.$slots,"tip"),!y(v)&&m.showFileList?(N(),ye(y8,{key:3,disabled:y(r),"list-type":m.listType,files:y(l),crossorigin:m.crossorigin,"handle-preview":m.onPreview,onRemove:y(f)},Oo({_:2},[m.$slots.file?{name:"default",fn:le(({file:_,index:b})=>[ve(m.$slots,"file",{file:_,index:b})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):ge("v-if",!0)]))}}));var Eke=De(xke,[["__file","upload.vue"]]);const kke=pt(Eke),Ake=Ie({zIndex:{type:Number,default:9},rotate:{type:Number,default:-22},width:Number,height:Number,image:String,content:{type:ce([String,Array]),default:"Element Plus"},font:{type:ce(Object)},gap:{type:ce(Array),default:()=>[100,100]},offset:{type:ce(Array)}});function Mke(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function Oke(e){return Object.keys(e).map(t=>`${Mke(t)}: ${e[t]};`).join(" ")}function Pke(){return window.devicePixelRatio||1}const Rke=(e,t)=>{let n=!1;return e.removedNodes.length&&t&&(n=Array.from(e.removedNodes).includes(t)),e.type==="attributes"&&e.target===t&&(n=!0),n},NU=3;function c2(e,t,n=1){const r=document.createElement("canvas"),a=r.getContext("2d"),o=e*n,i=t*n;return r.setAttribute("width",`${o}px`),r.setAttribute("height",`${i}px`),a.save(),[a,r,o,i]}function Ike(){function e(t,n,r,a,o,i,s,l){const[u,c,f,h]=c2(a,o,r);if(t instanceof HTMLImageElement)u.drawImage(t,0,0,f,h);else{const{color:V,fontSize:j,fontStyle:U,fontWeight:ne,fontFamily:ie,textAlign:fe,textBaseline:G}=i,oe=Number(j)*r;u.font=`${U} normal ${ne} ${oe}px/${o}px ${ie}`,u.fillStyle=V,u.textAlign=fe,u.textBaseline=G;const se=Me(t)?t:[t];se==null||se.forEach((ue,he)=>{u.fillText(ue!=null?ue:"",f/2,he*(oe+NU*r))})}const d=Math.PI/180*Number(n),p=Math.max(a,o),[v,g,m]=c2(p,p,r);v.translate(m/2,m/2),v.rotate(d),f>0&&h>0&&v.drawImage(c,-f/2,-h/2);function w(V,j){const U=V*Math.cos(d)-j*Math.sin(d),ne=V*Math.sin(d)+j*Math.cos(d);return[U,ne]}let _=0,b=0,S=0,C=0;const T=f/2,x=h/2;[[0-T,0-x],[0+T,0-x],[0+T,0+x],[0-T,0+x]].forEach(([V,j])=>{const[U,ne]=w(V,j);_=Math.min(_,U),b=Math.max(b,U),S=Math.min(S,ne),C=Math.max(C,ne)});const k=_+m/2,A=S+m/2,P=b-_,$=C-S,B=s*r,I=l*r,M=(P+B)*2,L=$+I,[O,D]=c2(M,L);function z(V=0,j=0){O.drawImage(g,k,A,P,$,V,j,P,$)}return z(),z(P+B,-$/2-I/2),z(P+B,+$/2+I/2),[D.toDataURL(),M/r,L/r]}return e}const Dke=te({name:"ElWatermark"}),Lke=te(_e(X({},Dke),{props:Ake,setup(e){const t=e,n={position:"relative"},r=R(()=>{var k,A;return(A=(k=t.font)==null?void 0:k.color)!=null?A:"rgba(0,0,0,.15)"}),a=R(()=>{var k,A;return(A=(k=t.font)==null?void 0:k.fontSize)!=null?A:16}),o=R(()=>{var k,A;return(A=(k=t.font)==null?void 0:k.fontWeight)!=null?A:"normal"}),i=R(()=>{var k,A;return(A=(k=t.font)==null?void 0:k.fontStyle)!=null?A:"normal"}),s=R(()=>{var k,A;return(A=(k=t.font)==null?void 0:k.fontFamily)!=null?A:"sans-serif"}),l=R(()=>{var k,A;return(A=(k=t.font)==null?void 0:k.textAlign)!=null?A:"center"}),u=R(()=>{var k,A;return(A=(k=t.font)==null?void 0:k.textBaseline)!=null?A:"hanging"}),c=R(()=>t.gap[0]),f=R(()=>t.gap[1]),h=R(()=>c.value/2),d=R(()=>f.value/2),p=R(()=>{var k,A;return(A=(k=t.offset)==null?void 0:k[0])!=null?A:h.value}),v=R(()=>{var k,A;return(A=(k=t.offset)==null?void 0:k[1])!=null?A:d.value}),g=()=>{const k={zIndex:t.zIndex,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let A=p.value-h.value,P=v.value-d.value;return A>0&&(k.left=`${A}px`,k.width=`calc(100% - ${A}px)`,A=0),P>0&&(k.top=`${P}px`,k.height=`calc(100% - ${P}px)`,P=0),k.backgroundPosition=`${A}px ${P}px`,k},m=gn(null),w=gn(),_=H(!1),b=()=>{w.value&&(w.value.remove(),w.value=void 0)},S=(k,A)=>{var P;m.value&&w.value&&(_.value=!0,w.value.setAttribute("style",Oke(_e(X({},g()),{backgroundImage:`url('${k}')`,backgroundSize:`${Math.floor(A)}px`}))),(P=m.value)==null||P.append(w.value),setTimeout(()=>{_.value=!1}))},C=k=>{let A=120,P=64;const $=t.image,B=t.content,I=t.width,M=t.height;if(!$&&k.measureText){k.font=`${Number(a.value)}px ${s.value}`;const L=Me(B)?B:[B],O=L.map(D=>{const z=k.measureText(D);return[z.width,z.fontBoundingBoxAscent!==void 0?z.fontBoundingBoxAscent+z.fontBoundingBoxDescent:z.actualBoundingBoxAscent+z.actualBoundingBoxDescent]});A=Math.ceil(Math.max(...O.map(D=>D[0]))),P=Math.ceil(Math.max(...O.map(D=>D[1])))*L.length+(L.length-1)*NU}return[I!=null?I:A,M!=null?M:P]},T=Ike(),x=()=>{const A=document.createElement("canvas").getContext("2d"),P=t.image,$=t.content,B=t.rotate;if(A){w.value||(w.value=document.createElement("div"));const I=Pke(),[M,L]=C(A),O=D=>{const[z,V]=T(D||"",B,I,M,L,{color:r.value,fontSize:a.value,fontStyle:i.value,fontWeight:o.value,fontFamily:s.value,textAlign:l.value,textBaseline:u.value},c.value,f.value);S(z,V)};if(P){const D=new Image;D.onload=()=>{O(D)},D.onerror=()=>{O($)},D.crossOrigin="anonymous",D.referrerPolicy="no-referrer",D.src=P}else O($)}};return ft(()=>{x()}),xe(()=>t,()=>{x()},{deep:!0,flush:"post"}),fn(()=>{b()}),GV(m,k=>{_.value||k.forEach(A=>{Rke(A,w.value)&&(b(),x())})},{attributes:!0,subtree:!0,childList:!0}),(k,A)=>(N(),q("div",{ref_key:"containerRef",ref:m,style:Xe([n])},[ve(k.$slots,"default")],4))}}));var $ke=De(Lke,[["__file","watermark.vue"]]);const Nke=pt($ke),Bke=Ie({zIndex:{type:Number,default:1001},visible:Boolean,fill:{type:String,default:"rgba(0,0,0,0.5)"},pos:{type:ce(Object)},targetAreaClickable:{type:Boolean,default:!0}}),Fke=(e,t,n,r,a)=>{const o=H(null),i=()=>{let f;return Ze(e.value)?f=document.querySelector(e.value):Ge(e.value)?f=e.value():f=e.value,f},s=()=>{const f=i();if(!f||!t.value){o.value=null;return}Vke(f)||f.scrollIntoView(a.value);const{left:h,top:d,width:p,height:v}=f.getBoundingClientRect();o.value={left:h,top:d,width:p,height:v,radius:0}};ft(()=>{xe([t,e],()=>{s()},{immediate:!0}),window.addEventListener("resize",s)}),fn(()=>{window.removeEventListener("resize",s)});const l=f=>{var h;return(h=Me(n.value.offset)?n.value.offset[f]:n.value.offset)!=null?h:6},u=R(()=>{var f;if(!o.value)return o.value;const h=l(0),d=l(1),p=((f=n.value)==null?void 0:f.radius)||2;return{left:o.value.left-h,top:o.value.top-d,width:o.value.width+h*2,height:o.value.height+d*2,radius:p}}),c=R(()=>{const f=i();return!r.value||!f||!window.DOMRect?f||void 0:{getBoundingClientRect(){var h,d,p,v;return window.DOMRect.fromRect({width:((h=u.value)==null?void 0:h.width)||0,height:((d=u.value)==null?void 0:d.height)||0,x:((p=u.value)==null?void 0:p.left)||0,y:((v=u.value)==null?void 0:v.top)||0})}}});return{mergedPosInfo:u,triggerTarget:c}},fw=Symbol("ElTour");function Vke(e){const t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,{top:r,right:a,bottom:o,left:i}=e.getBoundingClientRect();return r>=0&&i>=0&&a<=t&&o<=n}const zke=(e,t,n,r,a,o,i,s)=>{const l=H(),u=H(),c=H({}),f={x:l,y:u,placement:r,strategy:a,middlewareData:c},h=R(()=>{const m=[oEe(y(o)),sEe(),iEe(),Hke()];return y(s)&&y(n)&&m.push(lEe({element:y(n)})),m}),d=()=>ut(void 0,null,function*(){if(!Bt)return;const m=y(e),w=y(t);if(!m||!w)return;const _=yield uEe(m,w,{placement:y(r),strategy:y(a),middleware:y(h)});ag(f).forEach(b=>{f[b].value=_[b]})}),p=R(()=>{if(!y(e))return{position:"fixed",top:"50%",left:"50%",transform:"translate3d(-50%, -50%, 0)",maxWidth:"100vw",zIndex:y(i)};const{overflow:m}=y(c);return{position:y(a),zIndex:y(i),top:y(u)!=null?`${y(u)}px`:"",left:y(l)!=null?`${y(l)}px`:"",maxWidth:m!=null&&m.maxWidth?`${m==null?void 0:m.maxWidth}px`:""}}),v=R(()=>{if(!y(s))return{};const{arrow:m}=y(c);return{left:(m==null?void 0:m.x)!=null?`${m==null?void 0:m.x}px`:"",top:(m==null?void 0:m.y)!=null?`${m==null?void 0:m.y}px`:""}});let g;return ft(()=>{const m=y(e),w=y(t);m&&w&&(g=rEe(m,w,d)),Ar(()=>{d()})}),fn(()=>{g&&g()}),{update:d,contentStyle:p,arrowStyle:v}},Hke=()=>({name:"overflow",fn(t){return ut(this,null,function*(){const n=yield aEe(t);let r=0;return n.left>0&&(r=n.left),n.right>0&&(r=n.right),{data:{maxWidth:t.rects.floating.width-r}}})}}),Wke=te({name:"ElTourMask",inheritAttrs:!1}),Uke=te(_e(X({},Wke),{props:Bke,setup(e){const t=e,{ns:n}=ze(fw),r=R(()=>{var s,l;return(l=(s=t.pos)==null?void 0:s.radius)!=null?l:2}),a=R(()=>{const s=r.value,l=`a${s},${s} 0 0 1`;return{topRight:`${l} ${s},${s}`,bottomRight:`${l} ${-s},${s}`,bottomLeft:`${l} ${-s},${-s}`,topLeft:`${l} ${s},${-s}`}}),o=R(()=>{const s=window.innerWidth,l=window.innerHeight,u=a.value,c=`M${s},0 L0,0 L0,${l} L${s},${l} L${s},0 Z`,f=r.value;return t.pos?`${c} M${t.pos.left+f},${t.pos.top} h${t.pos.width-f*2} ${u.topRight} v${t.pos.height-f*2} ${u.bottomRight} h${-t.pos.width+f*2} ${u.bottomLeft} v${-t.pos.height+f*2} ${u.topLeft} z`:c}),i=R(()=>({fill:t.fill,pointerEvents:"auto",cursor:"auto"}));return p5(Jt(t,"visible"),{ns:n}),(s,l)=>s.visible?(N(),q("div",Et({key:0,class:y(n).e("mask"),style:{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:s.zIndex,pointerEvents:s.pos&&s.targetAreaClickable?"none":"auto"}},s.$attrs),[(N(),q("svg",{style:{width:"100%",height:"100%"}},[Z("path",{class:F(y(n).e("hollow")),style:Xe(y(i)),d:y(o)},null,14,["d"])]))],16)):ge("v-if",!0)}}));var jke=De(Uke,[["__file","mask.vue"]]);const Kke=["absolute","fixed"],Gke=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],U5=Ie({placement:{type:ce(String),values:Gke,default:"bottom"},reference:{type:ce(Object),default:null},strategy:{type:ce(String),values:Kke,default:"absolute"},offset:{type:Number,default:10},showArrow:Boolean,zIndex:{type:Number,default:2001}}),qke={close:()=>!0},Yke=te({name:"ElTourContent"}),Xke=te(_e(X({},Yke),{props:U5,emits:qke,setup(e,{emit:t}){const n=e,r=H(n.placement),a=H(n.strategy),o=H(null),i=H(null);xe(()=>n.placement,()=>{r.value=n.placement});const{contentStyle:s,arrowStyle:l}=zke(Jt(n,"reference"),o,i,r,a,Jt(n,"offset"),Jt(n,"zIndex"),Jt(n,"showArrow")),u=R(()=>r.value.split("-")[0]),{ns:c}=ze(fw),f=()=>{t("close")},h=d=>{d.detail.focusReason==="pointer"&&d.preventDefault()};return(d,p)=>(N(),q("div",{ref_key:"contentRef",ref:o,style:Xe(y(s)),class:F(y(c).e("content")),"data-side":y(u),tabindex:"-1"},[ee(y(Uh),{loop:"",trapped:"","focus-start-el":"container","focus-trap-el":o.value||void 0,onReleaseRequested:f,onFocusoutPrevented:h},{default:le(()=>[ve(d.$slots,"default")]),_:3},8,["focus-trap-el"]),d.showArrow?(N(),q("span",{key:0,ref_key:"arrowRef",ref:i,style:Xe(y(l)),class:F(y(c).e("arrow"))},null,6)):ge("v-if",!0)],14,["data-side"]))}}));var Zke=De(Xke,[["__file","content.vue"]]),Jke=te({name:"ElTourSteps",props:{current:{type:Number,default:0}},emits:["update-total"],setup(e,{slots:t,emit:n}){let r=0;return()=>{var a,o;const i=(a=t.default)==null?void 0:a.call(t),s=[];let l=0;function u(c){Me(c)&&c.forEach(f=>{var h;((h=(f==null?void 0:f.type)||{})==null?void 0:h.name)==="ElTourStep"&&(s.push(f),l+=1)})}return i.length&&u(Gl((o=i[0])==null?void 0:o.children)),r!==l&&(r=l,n("update-total",l)),s.length?s[e.current]:null}}});const Qke=Ie({modelValue:Boolean,current:{type:Number,default:0},showArrow:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeIcon:{type:cn},placement:U5.placement,contentStyle:{type:ce([Object])},mask:{type:ce([Boolean,Object]),default:!0},gap:{type:ce(Object),default:()=>({offset:6,radius:2})},zIndex:{type:Number},scrollIntoViewOptions:{type:ce([Boolean,Object]),default:()=>({block:"center"})},type:{type:ce(String)},appendTo:{type:ce([String,Object]),default:"body"},closeOnPressEscape:{type:Boolean,default:!0},targetAreaClickable:{type:Boolean,default:!0}}),eAe={[St]:e=>hn(e),"update:current":e=>et(e),close:e=>et(e),finish:()=>!0,change:e=>et(e)},tAe=te({name:"ElTour"}),nAe=te(_e(X({},tAe),{props:Qke,emits:eAe,setup(e,{emit:t}){const n=e,r=Ae("tour"),a=H(0),o=H(),i=qV(n,"current",t,{passive:!0}),s=R(()=>{var E;return(E=o.value)==null?void 0:E.target}),l=R(()=>[r.b(),g.value==="primary"?r.m("primary"):""]),u=R(()=>{var E;return((E=o.value)==null?void 0:E.placement)||n.placement}),c=R(()=>{var E,k;return(k=(E=o.value)==null?void 0:E.contentStyle)!=null?k:n.contentStyle}),f=R(()=>{var E,k;return(k=(E=o.value)==null?void 0:E.mask)!=null?k:n.mask}),h=R(()=>!!f.value&&n.modelValue),d=R(()=>hn(f.value)?void 0:f.value),p=R(()=>{var E,k;return!!s.value&&((k=(E=o.value)==null?void 0:E.showArrow)!=null?k:n.showArrow)}),v=R(()=>{var E,k;return(k=(E=o.value)==null?void 0:E.scrollIntoViewOptions)!=null?k:n.scrollIntoViewOptions}),g=R(()=>{var E,k;return(k=(E=o.value)==null?void 0:E.type)!=null?k:n.type}),{nextZIndex:m}=mm(),w=m(),_=R(()=>{var E;return(E=n.zIndex)!=null?E:w}),{mergedPosInfo:b,triggerTarget:S}=Fke(s,Jt(n,"modelValue"),Jt(n,"gap"),f,v);xe(()=>n.modelValue,E=>{E||(i.value=0)});const C=()=>{n.closeOnPressEscape&&(t("update:modelValue",!1),t("close",i.value))},T=E=>{a.value=E},x=Yn();return kt(fw,{currentStep:o,current:i,total:a,showClose:Jt(n,"showClose"),closeIcon:Jt(n,"closeIcon"),mergedType:g,ns:r,slots:x,updateModelValue(E){t("update:modelValue",E)},onClose(){t("close",i.value)},onFinish(){t("finish")},onChange(){t("change",i.value)}}),(E,k)=>(N(),q(je,null,[ee(y(wm),{to:E.appendTo},{default:le(()=>{var A,P;return[Z("div",Et({class:y(l)},E.$attrs),[ee(jke,{visible:y(h),fill:(A=y(d))==null?void 0:A.color,style:Xe((P=y(d))==null?void 0:P.style),pos:y(b),"z-index":y(_),"target-area-clickable":E.targetAreaClickable},null,8,["visible","fill","style","pos","z-index","target-area-clickable"]),E.modelValue?(N(),ye(Zke,{key:y(i),reference:y(S),placement:y(u),"show-arrow":y(p),"z-index":y(_),style:Xe(y(c)),onClose:C},{default:le(()=>[ee(y(Jke),{current:y(i),onUpdateTotal:T},{default:le(()=>[ve(E.$slots,"default")]),_:3},8,["current"])]),_:3},8,["reference","placement","show-arrow","z-index","style"])):ge("v-if",!0)],16)]}),_:3},8,["to"]),ge(" just for IDE "),ge("v-if",!0)],64))}}));var rAe=De(nAe,[["__file","tour.vue"]]);const aAe=Ie({target:{type:ce([String,Object,Function])},title:String,description:String,showClose:{type:Boolean,default:void 0},closeIcon:{type:cn},showArrow:{type:Boolean,default:void 0},placement:U5.placement,mask:{type:ce([Boolean,Object]),default:void 0},contentStyle:{type:ce([Object])},prevButtonProps:{type:ce(Object)},nextButtonProps:{type:ce(Object)},scrollIntoViewOptions:{type:ce([Boolean,Object]),default:void 0},type:{type:ce(String)}}),oAe={close:()=>!0},iAe=te({name:"ElTourStep"}),sAe=te(_e(X({},iAe),{props:aAe,emits:oAe,setup(e,{emit:t}){const n=e,{Close:r}=L3,{t:a}=$t(),{currentStep:o,current:i,total:s,showClose:l,closeIcon:u,mergedType:c,ns:f,slots:h,updateModelValue:d,onClose:p,onFinish:v,onChange:g}=ze(fw);xe(n,x=>{o.value=x},{immediate:!0});const m=R(()=>{var x;return(x=n.showClose)!=null?x:l.value}),w=R(()=>{var x,E;return(E=(x=n.closeIcon)!=null?x:u.value)!=null?E:r}),_=x=>{if(x)return Yse(x,["children","onClick"])},b=()=>{var x,E;i.value-=1,(x=n.prevButtonProps)!=null&&x.onClick&&((E=n.prevButtonProps)==null||E.onClick()),g()},S=()=>{var x;i.value>=s.value-1?C():i.value+=1,(x=n.nextButtonProps)!=null&&x.onClick&&n.nextButtonProps.onClick(),g()},C=()=>{T(),v()},T=()=>{d(!1),p(),t("close")};return(x,E)=>(N(),q(je,null,[y(m)?(N(),q("button",{key:0,"aria-label":"Close",class:F(y(f).e("closebtn")),type:"button",onClick:T},[ee(y(Ke),{class:F(y(f).e("close"))},{default:le(()=>[(N(),ye(bt(y(w))))]),_:1},8,["class"])],2)):ge("v-if",!0),Z("header",{class:F([y(f).e("header"),{"show-close":y(l)}])},[ve(x.$slots,"header",{},()=>[Z("span",{role:"heading",class:F(y(f).e("title"))},Re(x.title),3)])],2),Z("div",{class:F(y(f).e("body"))},[ve(x.$slots,"default",{},()=>[Z("span",null,Re(x.description),1)])],2),Z("footer",{class:F(y(f).e("footer"))},[Z("div",{class:F(y(f).b("indicators"))},[y(h).indicators?(N(),ye(bt(y(h).indicators),{key:0,current:y(i),total:y(s)},null,8,["current","total"])):(N(!0),q(je,{key:1},Rt(y(s),(k,A)=>(N(),q("span",{key:k,class:F([y(f).b("indicator"),A===y(i)?"is-active":""])},null,2))),128))],2),Z("div",{class:F(y(f).b("buttons"))},[y(i)>0?(N(),ye(y(mr),Et({key:0,size:"small",type:y(c)},_(x.prevButtonProps),{onClick:b}),{default:le(()=>{var k,A;return[At(Re((A=(k=x.prevButtonProps)==null?void 0:k.children)!=null?A:y(a)("el.tour.previous")),1)]}),_:1},16,["type"])):ge("v-if",!0),y(i)<=y(s)-1?(N(),ye(y(mr),Et({key:1,size:"small",type:y(c)==="primary"?"default":"primary"},_(x.nextButtonProps),{onClick:S}),{default:le(()=>{var k,A;return[At(Re((A=(k=x.nextButtonProps)==null?void 0:k.children)!=null?A:y(i)===y(s)-1?y(a)("el.tour.finish"):y(a)("el.tour.next")),1)]}),_:1},16,["type"])):ge("v-if",!0)],2)],2)],64))}}));var BU=De(sAe,[["__file","step.vue"]]);const lAe=pt(rAe,{TourStep:BU}),uAe=Dn(BU),cAe=Ie({container:{type:ce([String,Object])},offset:{type:Number,default:0},bound:{type:Number,default:15},duration:{type:Number,default:300},marker:{type:Boolean,default:!0},type:{type:ce(String),default:"default"},direction:{type:ce(String),default:"vertical"}}),fAe={change:e=>Ze(e),click:(e,t)=>e instanceof MouseEvent&&(Ze(t)||_n(t))},FU=Symbol("anchor"),I0=e=>{if(!Bt||e==="")return null;if(Ze(e))try{return document.querySelector(e)}catch(t){return null}return e};function dAe(e){let t=0;const n=(...r)=>{t&&tf(t),t=ou(()=>{e(...r),t=0})};return n.cancel=()=>{tf(t),t=0},n}const hAe=te({name:"ElAnchor"}),pAe=te(_e(X({},hAe),{props:cAe,emits:fAe,setup(e,{expose:t,emit:n}){const r=e,a=H(""),o=H(null),i=H(null),s=H(),l={};let u=!1,c=0;const f=Ae("anchor"),h=R(()=>[f.b(),r.type==="underline"?f.m("underline"):"",f.m(r.direction)]),d=x=>{l[x.href]=x.el},p=x=>{delete l[x]},v=x=>{a.value!==x&&(a.value=x,n("change",x))};let g=null;const m=x=>{if(!s.value)return;const E=I0(x);if(!E)return;g&&g(),u=!0;const k=CI(E,s.value),A=zx(E,k),P=k.scrollHeight-k.clientHeight,$=Math.min(A-r.offset,P);g=Qle(s.value,c,$,r.duration,()=>{setTimeout(()=>{u=!1},20)})},w=x=>{x&&(v(x),m(x))},_=(x,E)=>{n("click",x,E),w(E)},b=dAe(()=>{s.value&&(c=TI(s.value));const x=S();u||_n(x)||v(x)}),S=()=>{if(!s.value)return;const x=TI(s.value),E=[];for(const k of Object.keys(l)){const A=I0(k);if(!A)continue;const P=CI(A,s.value),$=zx(A,P);E.push({top:$-r.offset-r.bound,href:k})}E.sort((k,A)=>k.top-A.top);for(let k=0;kx))return A.href}},C=()=>{const x=I0(r.container);!x||K_(x)?s.value=window:s.value=x};sn(s,"scroll",b);const T=R(()=>{if(!o.value||!i.value||!a.value)return{};const x=l[a.value];if(!x)return{};const E=o.value.getBoundingClientRect(),k=i.value.getBoundingClientRect(),A=x.getBoundingClientRect();return r.direction==="horizontal"?{left:`${A.left-E.left}px`,width:`${A.width}px`,opacity:1}:{top:`${A.top-E.top+(A.height-k.height)/2}px`,opacity:1}});return ft(()=>{C();const x=decodeURIComponent(window.location.hash);I0(x)?w(x):b()}),xe(()=>r.container,()=>{C()}),kt(FU,{ns:f,direction:r.direction,currentAnchor:a,addLink:d,removeLink:p,handleClick:_}),t({scrollTo:w}),(x,E)=>(N(),q("div",{ref_key:"anchorRef",ref:o,class:F(y(h))},[x.marker?(N(),q("div",{key:0,ref_key:"markerRef",ref:i,class:F(y(f).e("marker")),style:Xe(y(T))},null,6)):ge("v-if",!0),Z("div",{class:F(y(f).e("list"))},[ve(x.$slots,"default")],2)],2))}}));var vAe=De(pAe,[["__file","anchor.vue"]]);const gAe=Ie({title:String,href:String}),mAe=te({name:"ElAnchorLink"}),yAe=te(_e(X({},mAe),{props:gAe,setup(e){const t=e,n=H(null),{ns:r,direction:a,currentAnchor:o,addLink:i,removeLink:s,handleClick:l}=ze(FU),u=R(()=>[r.e("link"),r.is("active",o.value===t.href)]),c=f=>{l(f,t.href)};return xe(()=>t.href,(f,h)=>{qe(()=>{h&&s(h),f&&i({href:f,el:n.value})})}),ft(()=>{const{href:f}=t;f&&i({href:f,el:n.value})}),fn(()=>{const{href:f}=t;f&&s(f)}),(f,h)=>(N(),q("div",{class:F(y(r).e("item"))},[Z("a",{ref_key:"linkRef",ref:n,class:F(y(u)),href:f.href,onClick:c},[ve(f.$slots,"default",{},()=>[At(Re(f.title),1)])],10,["href"]),f.$slots["sub-link"]&&y(a)==="vertical"?(N(),q("div",{key:0,class:F(y(r).e("list"))},[ve(f.$slots,"sub-link")],2)):ge("v-if",!0)],2))}}));var VU=De(yAe,[["__file","anchor-link.vue"]]);const bAe=pt(vAe,{AnchorLink:VU}),_Ae=Dn(VU),wAe=Ie(X({direction:{type:ce(String),default:"horizontal"},options:{type:ce(Array),default:()=>[]},modelValue:{type:[String,Number,Boolean],default:void 0},block:Boolean,size:or,disabled:Boolean,validateEvent:{type:Boolean,default:!0},id:String,name:String},Pr(["ariaLabel"]))),SAe={[St]:e=>Ze(e)||et(e)||hn(e),[Sn]:e=>Ze(e)||et(e)||hn(e)},CAe=te({name:"ElSegmented"}),TAe=te(_e(X({},CAe),{props:wAe,emits:SAe,setup(e,{emit:t}){const n=e,r=Ae("segmented"),a=jr(),o=Jn(),i=Sa(),{formItem:s}=qr(),{inputId:l,isLabeledByFormItem:u}=Ti(n,{formItemContext:s}),c=H(null),f=Sle(),h=zt({isInit:!1,width:0,height:0,translateX:0,translateY:0,focusVisible:!1}),d=E=>{const k=p(E);t(St,k),t(Sn,k)},p=E=>_t(E)?E.value:E,v=E=>_t(E)?E.label:E,g=E=>!!(i.value||_t(E)&&E.disabled),m=E=>n.modelValue===p(E),w=E=>n.options.find(k=>p(k)===E),_=E=>[r.e("item"),r.is("selected",m(E)),r.is("disabled",g(E))],b=()=>{if(!c.value)return;const E=c.value.querySelector(".is-selected"),k=c.value.querySelector(".is-selected input");if(!E||!k){h.width=0,h.height=0,h.translateX=0,h.translateY=0,h.focusVisible=!1;return}const A=E.getBoundingClientRect();h.isInit=!0,n.direction==="vertical"?(h.height=A.height,h.translateY=E.offsetTop):(h.width=A.width,h.translateX=E.offsetLeft);try{h.focusVisible=k.matches(":focus-visible")}catch(P){}},S=R(()=>[r.b(),r.m(o.value),r.is("block",n.block)]),C=R(()=>({width:n.direction==="vertical"?"100%":`${h.width}px`,height:n.direction==="vertical"?`${h.height}px`:"100%",transform:n.direction==="vertical"?`translateY(${h.translateY}px)`:`translateX(${h.translateX}px)`,display:h.isInit?"block":"none"})),T=R(()=>[r.e("item-selected"),r.is("disabled",g(w(n.modelValue))),r.is("focus-visible",h.focusVisible)]),x=R(()=>n.name||a.value);return On(c,b),xe(f,b),xe(()=>n.modelValue,()=>{var E;b(),n.validateEvent&&((E=s==null?void 0:s.validate)==null||E.call(s,"change").catch(k=>void 0))},{flush:"post"}),(E,k)=>E.options.length?(N(),q("div",{key:0,id:y(l),ref_key:"segmentedRef",ref:c,class:F(y(S)),role:"radiogroup","aria-label":y(u)?void 0:E.ariaLabel||"segmented","aria-labelledby":y(u)?y(s).labelId:void 0},[Z("div",{class:F([y(r).e("group"),y(r).m(n.direction)])},[Z("div",{style:Xe(y(C)),class:F(y(T))},null,6),(N(!0),q(je,null,Rt(E.options,(A,P)=>(N(),q("label",{key:P,class:F(_(A))},[Z("input",{class:F(y(r).e("item-input")),type:"radio",name:y(x),disabled:g(A),checked:m(A),onChange:$=>d(A)},null,42,["name","disabled","checked","onChange"]),Z("div",{class:F(y(r).e("item-label"))},[ve(E.$slots,"default",{item:A},()=>[At(Re(v(A)),1)])],2)],2))),128))],2)],10,["id","aria-label","aria-labelledby"])):ge("v-if",!0)}}));var xAe=De(TAe,[["__file","segmented.vue"]]);const EAe=pt(xAe),bo="ElInfiniteScroll",kAe=50,AAe=200,MAe=0,OAe={delay:{type:Number,default:AAe},distance:{type:Number,default:MAe},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},j5=(e,t)=>Object.entries(OAe).reduce((n,[r,a])=>{var o,i;const{type:s,default:l}=a,u=e.getAttribute(`infinite-scroll-${r}`);let c=(i=(o=t[u])!=null?o:u)!=null?i:l;return c=c==="false"?!1:c,c=s(c),n[r]=Number.isNaN(c)?l:c,n},{}),zU=e=>{const{observer:t}=e[bo];t&&(t.disconnect(),delete e[bo].observer)},PAe=(e,t)=>{const{container:n,containerEl:r,instance:a,observer:o,lastScrollTop:i}=e[bo],{disabled:s,distance:l}=j5(e,a),{clientHeight:u,scrollHeight:c,scrollTop:f}=r,h=f-i;if(e[bo].lastScrollTop=f,o||s||h<0)return;let d=!1;if(n===e)d=c-(u+f)<=l;else{const{clientTop:p,scrollHeight:v}=e,g=zx(e,r);d=f+u>=g+p+v-l}d&&t.call(a)};function f2(e,t){const{containerEl:n,instance:r}=e[bo],{disabled:a}=j5(e,r);a||n.clientHeight===0||(n.scrollHeight<=n.clientHeight?t.call(r):zU(e))}const RAe={mounted(e,t){return ut(this,null,function*(){const{instance:n,value:r}=t;Ge(r)||ar(bo,"'v-infinite-scroll' binding value must be a function"),yield qe();const{delay:a,immediate:o}=j5(e,n),i=O3(e,!0),s=i===window?document.documentElement:i,l=Pc(PAe.bind(null,e,r),a);if(i){if(e[bo]={instance:n,container:i,containerEl:s,delay:a,cb:r,onScroll:l,lastScrollTop:s.scrollTop},o){const u=new MutationObserver(Pc(f2.bind(null,e,r),kAe));e[bo].observer=u,u.observe(e,{childList:!0,subtree:!0}),f2(e,r)}i.addEventListener("scroll",l)}})},unmounted(e){if(!e[bo])return;const{container:t,onScroll:n}=e[bo];t==null||t.removeEventListener("scroll",n),zU(e)},updated(e){return ut(this,null,function*(){if(!e[bo])yield qe();else{const{containerEl:t,cb:n,observer:r}=e[bo];t.clientHeight&&r&&f2(e,n)}})}},OE=RAe;OE.install=e=>{e.directive("InfiniteScroll",OE)};const IAe=OE;function DAe(e){let t;const n=H(!1),r=zt(_e(X({},e),{originalPosition:"",originalOverflow:"",visible:!1}));function a(h){r.text=h}function o(){const h=r.parent,d=f.ns;if(!h.vLoadingAddClassList){let p=h.getAttribute("loading-number");p=Number.parseInt(p)-1,p?h.setAttribute("loading-number",p.toString()):(Ur(h,d.bm("parent","relative")),h.removeAttribute("loading-number")),Ur(h,d.bm("parent","hidden"))}i(),c.unmount()}function i(){var h,d;(d=(h=f.$el)==null?void 0:h.parentNode)==null||d.removeChild(f.$el)}function s(){var h;e.beforeClose&&!e.beforeClose()||(n.value=!0,clearTimeout(t),t=setTimeout(l,400),r.visible=!1,(h=e.closed)==null||h.call(e))}function l(){if(!n.value)return;const h=r.parent;n.value=!1,h.vLoadingAddClassList=void 0,o()}const c=Qc(te({name:"ElLoading",setup(h,{expose:d}){const{ns:p,zIndex:v}=Y_("loading");return d({ns:p,zIndex:v}),()=>{const g=r.spinner||r.svg,m=We("svg",X({class:"circular",viewBox:r.svgViewBox?r.svgViewBox:"0 0 50 50"},g?{innerHTML:g}:{}),[We("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),w=r.text?We("p",{class:p.b("text")},[r.text]):void 0;return We(yr,{name:p.b("fade"),onAfterLeave:l},{default:le(()=>[vt(ee("div",{style:{backgroundColor:r.background||""},class:[p.b("mask"),r.customClass,r.fullscreen?"is-fullscreen":""]},[We("div",{class:p.b("spinner")},[m,w])]),[[Wt,r.visible]])])})}}})),f=c.mount(document.createElement("div"));return _e(X({},rr(r)),{setText:a,removeElLoadingChild:i,close:s,handleAfterLeave:l,vm:f,get $el(){return f.$el}})}let D0;const PE=function(e={}){if(!Bt)return;const t=LAe(e);if(t.fullscreen&&D0)return D0;const n=DAe(_e(X({},t),{closed:()=>{var a;(a=t.closed)==null||a.call(t),t.fullscreen&&(D0=void 0)}}));$Ae(t,t.parent,n),S8(t,t.parent,n),t.parent.vLoadingAddClassList=()=>S8(t,t.parent,n);let r=t.parent.getAttribute("loading-number");return r?r=`${Number.parseInt(r)+1}`:r="1",t.parent.setAttribute("loading-number",r),t.parent.appendChild(n.$el),qe(()=>n.visible.value=t.visible),t.fullscreen&&(D0=n),n},LAe=e=>{var t,n,r,a;let o;return Ze(e.target)?o=(t=document.querySelector(e.target))!=null?t:document.body:o=e.target||document.body,{parent:o===document.body||e.body?document.body:o,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:o===document.body&&((n=e.fullscreen)!=null?n:!0),lock:(r=e.lock)!=null?r:!1,customClass:e.customClass||"",visible:(a=e.visible)!=null?a:!0,beforeClose:e.beforeClose,closed:e.closed,target:o}},$Ae=(e,t,n)=>ut(void 0,null,function*(){const{nextZIndex:r}=n.vm.zIndex||n.vm._.exposed.zIndex,a={};if(e.fullscreen)n.originalPosition.value=Ol(document.body,"position"),n.originalOverflow.value=Ol(document.body,"overflow"),a.zIndex=r();else if(e.parent===document.body){n.originalPosition.value=Ol(document.body,"position"),yield qe();for(const o of["top","left"]){const i=o==="top"?"scrollTop":"scrollLeft";a[o]=`${e.target.getBoundingClientRect()[o]+document.body[i]+document.documentElement[i]-Number.parseInt(Ol(document.body,`margin-${o}`),10)}px`}for(const o of["height","width"])a[o]=`${e.target.getBoundingClientRect()[o]}px`}else n.originalPosition.value=Ol(t,"position");for(const[o,i]of Object.entries(a))n.$el.style[o]=i}),S8=(e,t,n)=>{const r=n.vm.ns||n.vm._.exposed.ns;["absolute","fixed","sticky"].includes(n.originalPosition.value)?Ur(t,r.bm("parent","relative")):Co(t,r.bm("parent","relative")),e.fullscreen&&e.lock?Co(t,r.bm("parent","hidden")):Ur(t,r.bm("parent","hidden"))},s1=Symbol("ElLoading"),C8=(e,t)=>{var n,r,a,o;const i=t.instance,s=h=>_t(t.value)?t.value[h]:void 0,l=h=>{const d=Ze(h)&&(i==null?void 0:i[h])||h;return d&&H(d)},u=h=>l(s(h)||e.getAttribute(`element-loading-${la(h)}`)),c=(n=s("fullscreen"))!=null?n:t.modifiers.fullscreen,f={text:u("text"),svg:u("svg"),svgViewBox:u("svgViewBox"),spinner:u("spinner"),background:u("background"),customClass:u("customClass"),fullscreen:c,target:(r=s("target"))!=null?r:c?void 0:e,body:(a=s("body"))!=null?a:t.modifiers.body,lock:(o=s("lock"))!=null?o:t.modifiers.lock};e[s1]={options:f,instance:PE(f)}},NAe=(e,t)=>{for(const n of Object.keys(t))Gt(t[n])&&(t[n].value=e[n])},RE={mounted(e,t){t.value&&C8(e,t)},updated(e,t){const n=e[s1];t.oldValue!==t.value&&(t.value&&!t.oldValue?C8(e,t):t.value&&t.oldValue?_t(t.value)&&NAe(t.value,n.options):n==null||n.instance.close())},unmounted(e){var t;(t=e[s1])==null||t.instance.close(),e[s1]=null}},BAe={install(e){e.directive("loading",RE),e.config.globalProperties.$loading=PE},directive:RE,service:PE},HU=["success","info","warning","error"],Dr=In({customClass:"",center:!1,dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:Bt?document.body:void 0}),FAe=Ie({customClass:{type:String,default:Dr.customClass},center:{type:Boolean,default:Dr.center},dangerouslyUseHTMLString:{type:Boolean,default:Dr.dangerouslyUseHTMLString},duration:{type:Number,default:Dr.duration},icon:{type:cn,default:Dr.icon},id:{type:String,default:Dr.id},message:{type:ce([String,Object,Function]),default:Dr.message},onClose:{type:ce(Function),default:Dr.onClose},showClose:{type:Boolean,default:Dr.showClose},type:{type:String,values:HU,default:Dr.type},plain:{type:Boolean,default:Dr.plain},offset:{type:Number,default:Dr.offset},zIndex:{type:Number,default:Dr.zIndex},grouping:{type:Boolean,default:Dr.grouping},repeatNum:{type:Number,default:Dr.repeatNum}}),VAe={destroy:()=>!0},ai=M_([]),zAe=e=>{const t=ai.findIndex(a=>a.id===e),n=ai[t];let r;return t>0&&(r=ai[t-1]),{current:n,prev:r}},HAe=e=>{const{prev:t}=zAe(e);return t?t.vm.exposed.bottom.value:0},WAe=(e,t)=>ai.findIndex(r=>r.id===e)>0?16:t,UAe=te({name:"ElMessage"}),jAe=te(_e(X({},UAe),{props:FAe,emits:VAe,setup(e,{expose:t}){const n=e,{Close:r}=$3,{ns:a,zIndex:o}=Y_("message"),{currentZIndex:i,nextZIndex:s}=o,l=H(),u=H(!1),c=H(0);let f;const h=R(()=>n.type?n.type==="error"?"danger":n.type:"info"),d=R(()=>{const T=n.type;return{[a.bm("icon",T)]:T&&uu[T]}}),p=R(()=>n.icon||uu[n.type]||""),v=R(()=>HAe(n.id)),g=R(()=>WAe(n.id,n.offset)+v.value),m=R(()=>c.value+g.value),w=R(()=>({top:`${g.value}px`,zIndex:i.value}));function _(){n.duration!==0&&({stop:f}=ah(()=>{S()},n.duration))}function b(){f==null||f()}function S(){u.value=!1}function C({code:T}){T===Ue.esc&&S()}return ft(()=>{_(),s(),u.value=!0}),xe(()=>n.repeatNum,()=>{b(),_()}),sn(document,"keydown",C),On(l,()=>{c.value=l.value.getBoundingClientRect().height}),t({visible:u,bottom:m,close:S}),(T,x)=>(N(),ye(yr,{name:y(a).b("fade"),onBeforeLeave:T.onClose,onAfterLeave:E=>T.$emit("destroy"),persisted:""},{default:le(()=>[vt(Z("div",{id:T.id,ref_key:"messageRef",ref:l,class:F([y(a).b(),{[y(a).m(T.type)]:T.type},y(a).is("center",T.center),y(a).is("closable",T.showClose),y(a).is("plain",T.plain),T.customClass]),style:Xe(y(w)),role:"alert",onMouseenter:b,onMouseleave:_},[T.repeatNum>1?(N(),ye(y(zz),{key:0,value:T.repeatNum,type:y(h),class:F(y(a).e("badge"))},null,8,["value","type","class"])):ge("v-if",!0),y(p)?(N(),ye(y(Ke),{key:1,class:F([y(a).e("icon"),y(d)])},{default:le(()=>[(N(),ye(bt(y(p))))]),_:1},8,["class"])):ge("v-if",!0),ve(T.$slots,"default",{},()=>[T.dangerouslyUseHTMLString?(N(),q(je,{key:1},[ge(" Caution here, message could've been compromised, never use user's input as message "),Z("p",{class:F(y(a).e("content")),innerHTML:T.message},null,10,["innerHTML"])],2112)):(N(),q("p",{key:0,class:F(y(a).e("content"))},Re(T.message),3))]),T.showClose?(N(),ye(y(Ke),{key:2,class:F(y(a).e("closeBtn")),onClick:nt(S,["stop"])},{default:le(()=>[ee(y(r))]),_:1},8,["class","onClick"])):ge("v-if",!0)],46,["id"]),[[Wt,u.value]])]),_:3},8,["name","onBeforeLeave","onAfterLeave"]))}}));var KAe=De(jAe,[["__file","message.vue"]]);let GAe=1;const WU=e=>{const t=!e||Ze(e)||yn(e)||Ge(e)?{message:e}:e,n=X(X({},Dr),t);if(!n.appendTo)n.appendTo=document.body;else if(Ze(n.appendTo)){let r=document.querySelector(n.appendTo);to(r)||(r=document.body),n.appendTo=r}return hn(Qo.grouping)&&!n.grouping&&(n.grouping=Qo.grouping),et(Qo.duration)&&n.duration===3e3&&(n.duration=Qo.duration),et(Qo.offset)&&n.offset===16&&(n.offset=Qo.offset),hn(Qo.showClose)&&!n.showClose&&(n.showClose=Qo.showClose),n},qAe=e=>{const t=ai.indexOf(e);if(t===-1)return;ai.splice(t,1);const{handler:n}=e;n.close()},YAe=(r,n)=>{var a=r,{appendTo:e}=a,t=ja(a,["appendTo"]);const o=`message_${GAe++}`,i=t.onClose,s=document.createElement("div"),l=_e(X({},t),{id:o,onClose:()=>{i==null||i(),qAe(h)},onDestroy:()=>{ss(null,s)}}),u=ee(KAe,l,Ge(l.message)||yn(l.message)?{default:Ge(l.message)?l.message:()=>l.message}:null);u.appContext=n||gh._context,ss(u,s),e.appendChild(s.firstElementChild);const c=u.component,h={id:o,vnode:u,vm:c,handler:{close:()=>{c.exposed.visible.value=!1}},props:u.component.props};return h},gh=(e={},t)=>{if(!Bt)return{close:()=>{}};const n=WU(e);if(n.grouping&&ai.length){const a=ai.find(({vnode:o})=>{var i;return((i=o.props)==null?void 0:i.message)===n.message});if(a)return a.props.repeatNum+=1,a.props.type=n.type,a.handler}if(et(Qo.max)&&ai.length>=Qo.max)return{close:()=>{}};const r=YAe(n,t);return ai.push(r),r.handler};HU.forEach(e=>{gh[e]=(t={},n)=>{const r=WU(t);return gh(_e(X({},r),{type:e}),n)}});function XAe(e){for(const t of ai)(!e||e===t.props.type)&&t.handler.close()}gh.closeAll=XAe;gh._context=null;const IE=sz(gh,"$message"),DE="_trap-focus-children",bc=[],T8=e=>{if(bc.length===0)return;const t=bc[bc.length-1][DE];if(t.length>0&&e.code===Ue.tab){if(t.length===1){e.preventDefault(),document.activeElement!==t[0]&&t[0].focus();return}const n=e.shiftKey,r=e.target===t[0],a=e.target===t[t.length-1];r&&n&&(e.preventDefault(),t[t.length-1].focus()),a&&!n&&(e.preventDefault(),t[0].focus())}},ZAe={beforeMount(e){e[DE]=MI(e),bc.push(e),bc.length<=1&&document.addEventListener("keydown",T8)},updated(e){qe(()=>{e[DE]=MI(e)})},unmounted(){bc.shift(),bc.length===0&&document.removeEventListener("keydown",T8)}},JAe=te({name:"ElMessageBox",directives:{TrapFocus:ZAe},components:X({ElButton:mr,ElFocusTrap:Uh,ElInput:fa,ElOverlay:d5,ElIcon:Ke},$3),inheritAttrs:!1,props:{buttonSize:{type:String,validator:TW},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(e,{emit:t}){const{locale:n,zIndex:r,ns:a,size:o}=Y_("message-box",R(()=>e.buttonSize)),{t:i}=n,{nextZIndex:s}=r,l=H(!1),u=zt({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:null,inputValidator:null,inputErrorMessage:"",message:null,modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:ui(us),cancelButtonLoadingIcon:ui(us),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:s()}),c=R(()=>{const M=u.type;return{[a.bm("icon",M)]:M&&uu[M]}}),f=jr(),h=jr(),d=R(()=>u.icon||uu[u.type]||""),p=R(()=>!!u.message),v=H(),g=H(),m=H(),w=H(),_=H(),b=R(()=>u.confirmButtonClass);xe(()=>u.inputValue,M=>ut(this,null,function*(){yield qe(),e.boxType==="prompt"&&M!==null&&P()}),{immediate:!0}),xe(()=>l.value,M=>{var L,O;M&&(e.boxType!=="prompt"&&(u.autofocus?m.value=(O=(L=_.value)==null?void 0:L.$el)!=null?O:v.value:m.value=v.value),u.zIndex=s()),e.boxType==="prompt"&&(M?qe().then(()=>{var D;w.value&&w.value.$el&&(u.autofocus?m.value=(D=$())!=null?D:v.value:m.value=v.value)}):(u.editorErrorMessage="",u.validateError=!1))});const S=R(()=>e.draggable),C=R(()=>e.overflow);$H(v,g,S,C),ft(()=>ut(this,null,function*(){yield qe(),e.closeOnHashChange&&window.addEventListener("hashchange",T)})),fn(()=>{e.closeOnHashChange&&window.removeEventListener("hashchange",T)});function T(){l.value&&(l.value=!1,qe(()=>{u.action&&t("action",u.action)}))}const x=()=>{e.closeOnClickModal&&A(u.distinguishCancelAndClose?"close":"cancel")},E=f5(x),k=M=>{if(u.inputType!=="textarea")return M.preventDefault(),A("confirm")},A=M=>{var L;e.boxType==="prompt"&&M==="confirm"&&!P()||(u.action=M,u.beforeClose?(L=u.beforeClose)==null||L.call(u,M,u,T):T())},P=()=>{if(e.boxType==="prompt"){const M=u.inputPattern;if(M&&!M.test(u.inputValue||""))return u.editorErrorMessage=u.inputErrorMessage||i("el.messagebox.error"),u.validateError=!0,!1;const L=u.inputValidator;if(Ge(L)){const O=L(u.inputValue);if(O===!1)return u.editorErrorMessage=u.inputErrorMessage||i("el.messagebox.error"),u.validateError=!0,!1;if(Ze(O))return u.editorErrorMessage=O,u.validateError=!0,!1}}return u.editorErrorMessage="",u.validateError=!1,!0},$=()=>{const M=w.value.$refs;return M.input||M.textarea},B=()=>{A("close")},I=()=>{e.closeOnPressEscape&&B()};return e.lockScroll&&p5(l),_e(X({},rr(u)),{ns:a,overlayEvent:E,visible:l,hasMessage:p,typeClass:c,contentId:f,inputId:h,btnSize:o,iconComponent:d,confirmButtonClasses:b,rootRef:v,focusStartRef:m,headerRef:g,inputRef:w,confirmRef:_,doClose:T,handleClose:B,onCloseRequested:I,handleWrapperClick:x,handleInputEnter:k,handleAction:A,t:i})}});function QAe(e,t,n,r,a,o){const i=gt("el-icon"),s=gt("close"),l=gt("el-input"),u=gt("el-button"),c=gt("el-focus-trap"),f=gt("el-overlay");return N(),ye(yr,{name:"fade-in-linear",onAfterLeave:h=>e.$emit("vanish"),persisted:""},{default:le(()=>[vt(ee(f,{"z-index":e.zIndex,"overlay-class":[e.ns.is("message-box"),e.modalClass],mask:e.modal},{default:le(()=>[Z("div",{role:"dialog","aria-label":e.title,"aria-modal":"true","aria-describedby":e.showInput?void 0:e.contentId,class:F(`${e.ns.namespace.value}-overlay-message-box`),onClick:e.overlayEvent.onClick,onMousedown:e.overlayEvent.onMousedown,onMouseup:e.overlayEvent.onMouseup},[ee(c,{loop:"",trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:le(()=>[Z("div",{ref:"rootRef",class:F([e.ns.b(),e.customClass,e.ns.is("draggable",e.draggable),{[e.ns.m("center")]:e.center}]),style:Xe(e.customStyle),tabindex:"-1",onClick:nt(()=>{},["stop"])},[e.title!==null&&e.title!==void 0?(N(),q("div",{key:0,ref:"headerRef",class:F([e.ns.e("header"),{"show-close":e.showClose}])},[Z("div",{class:F(e.ns.e("title"))},[e.iconComponent&&e.center?(N(),ye(i,{key:0,class:F([e.ns.e("status"),e.typeClass])},{default:le(()=>[(N(),ye(bt(e.iconComponent)))]),_:1},8,["class"])):ge("v-if",!0),Z("span",null,Re(e.title),1)],2),e.showClose?(N(),q("button",{key:0,type:"button",class:F(e.ns.e("headerbtn")),"aria-label":e.t("el.messagebox.close"),onClick:h=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),onKeydown:un(nt(h=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"])},[ee(i,{class:F(e.ns.e("close"))},{default:le(()=>[ee(s)]),_:1},8,["class"])],42,["aria-label","onClick","onKeydown"])):ge("v-if",!0)],2)):ge("v-if",!0),Z("div",{id:e.contentId,class:F(e.ns.e("content"))},[Z("div",{class:F(e.ns.e("container"))},[e.iconComponent&&!e.center&&e.hasMessage?(N(),ye(i,{key:0,class:F([e.ns.e("status"),e.typeClass])},{default:le(()=>[(N(),ye(bt(e.iconComponent)))]),_:1},8,["class"])):ge("v-if",!0),e.hasMessage?(N(),q("div",{key:1,class:F(e.ns.e("message"))},[ve(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(N(),ye(bt(e.showInput?"label":"p"),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,["for","innerHTML"])):(N(),ye(bt(e.showInput?"label":"p"),{key:0,for:e.showInput?e.inputId:void 0},{default:le(()=>[At(Re(e.dangerouslyUseHTMLString?"":e.message),1)]),_:1},8,["for"]))])],2)):ge("v-if",!0)],2),vt(Z("div",{class:F(e.ns.e("input"))},[ee(l,{id:e.inputId,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":h=>e.inputValue=h,type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:F({invalid:e.validateError}),onKeydown:un(e.handleInputEnter,["enter"])},null,8,["id","modelValue","onUpdate:modelValue","type","placeholder","aria-invalid","class","onKeydown"]),Z("div",{class:F(e.ns.e("errormsg")),style:Xe({visibility:e.editorErrorMessage?"visible":"hidden"})},Re(e.editorErrorMessage),7)],2),[[Wt,e.showInput]])],10,["id"]),Z("div",{class:F(e.ns.e("btns"))},[e.showCancelButton?(N(),ye(u,{key:0,loading:e.cancelButtonLoading,"loading-icon":e.cancelButtonLoadingIcon,class:F([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:h=>e.handleAction("cancel"),onKeydown:un(nt(h=>e.handleAction("cancel"),["prevent"]),["enter"])},{default:le(()=>[At(Re(e.cancelButtonText||e.t("el.messagebox.cancel")),1)]),_:1},8,["loading","loading-icon","class","round","size","onClick","onKeydown"])):ge("v-if",!0),vt(ee(u,{ref:"confirmRef",type:"primary",loading:e.confirmButtonLoading,"loading-icon":e.confirmButtonLoadingIcon,class:F([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:h=>e.handleAction("confirm"),onKeydown:un(nt(h=>e.handleAction("confirm"),["prevent"]),["enter"])},{default:le(()=>[At(Re(e.confirmButtonText||e.t("el.messagebox.confirm")),1)]),_:1},8,["loading","loading-icon","class","round","disabled","size","onClick","onKeydown"]),[[Wt,e.showConfirmButton]])],2)],14,["onClick"])]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,["aria-label","aria-describedby","onClick","onMousedown","onMouseup"])]),_:3},8,["z-index","overlay-class","mask"]),[[Wt,e.visible]])]),_:3},8,["onAfterLeave"])}var e3e=De(JAe,[["render",QAe],["__file","index.vue"]]);const _g=new Map,t3e=e=>{let t=document.body;return e.appendTo&&(Ze(e.appendTo)&&(t=document.querySelector(e.appendTo)),to(e.appendTo)&&(t=e.appendTo),to(t)||(t=document.body)),t},n3e=(e,t,n=null)=>{const r=ee(e3e,e,Ge(e.message)||yn(e.message)?{default:Ge(e.message)?e.message:()=>e.message}:null);return r.appContext=n,ss(r,t),t3e(e).appendChild(t.firstElementChild),r.component},r3e=()=>document.createElement("div"),a3e=(e,t)=>{const n=r3e();e.onVanish=()=>{ss(null,n),_g.delete(a)},e.onAction=o=>{const i=_g.get(a);let s;e.showInput?s={value:a.inputValue,action:o}:s=o,e.callback?e.callback(s,r.proxy):o==="cancel"||o==="close"?e.distinguishCancelAndClose&&o!=="cancel"?i.reject("close"):i.reject("cancel"):i.resolve(s)};const r=n3e(e,n,t),a=r.proxy;for(const o in e)Vt(e,o)&&!Vt(a.$props,o)&&(a[o]=e[o]);return a.visible=!0,a};function qh(e,t=null){if(!Bt)return Promise.reject();let n;return Ze(e)||yn(e)?e={message:e}:n=e.callback,new Promise((r,a)=>{const o=a3e(e,t!=null?t:qh._context);_g.set(o,{options:e,callback:n,resolve:r,reject:a})})}const o3e=["alert","confirm","prompt"],i3e={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};o3e.forEach(e=>{qh[e]=s3e(e)});function s3e(e){return(t,n,r,a)=>{let o="";return _t(n)?(r=n,o=""):_n(n)?o="":o=n,qh(Object.assign(X({title:o,message:t,type:""},i3e[e]),r,{boxType:e}),a)}}qh.close=()=>{_g.forEach((e,t)=>{t.doClose()}),_g.clear()};qh._context=null;const wl=qh;wl.install=e=>{wl._context=e._context,e.config.globalProperties.$msgbox=wl,e.config.globalProperties.$messageBox=wl,e.config.globalProperties.$alert=wl.alert,e.config.globalProperties.$confirm=wl.confirm,e.config.globalProperties.$prompt=wl.prompt};const l3e=wl,UU=["success","info","warning","error"],u3e=Ie({customClass:{type:String,default:""},dangerouslyUseHTMLString:Boolean,duration:{type:Number,default:4500},icon:{type:cn},id:{type:String,default:""},message:{type:ce([String,Object,Function]),default:""},offset:{type:Number,default:0},onClick:{type:ce(Function),default:()=>{}},onClose:{type:ce(Function),required:!0},position:{type:String,values:["top-right","top-left","bottom-right","bottom-left"],default:"top-right"},showClose:{type:Boolean,default:!0},title:{type:String,default:""},type:{type:String,values:[...UU,""],default:""},zIndex:Number}),c3e={destroy:()=>!0},f3e=te({name:"ElNotification"}),d3e=te(_e(X({},f3e),{props:u3e,emits:c3e,setup(e,{expose:t}){const n=e,{ns:r,zIndex:a}=Y_("notification"),{nextZIndex:o,currentZIndex:i}=a,{Close:s}=L3,l=H(!1);let u;const c=R(()=>{const _=n.type;return _&&uu[n.type]?r.m(_):""}),f=R(()=>n.type&&uu[n.type]||n.icon),h=R(()=>n.position.endsWith("right")?"right":"left"),d=R(()=>n.position.startsWith("top")?"top":"bottom"),p=R(()=>{var _;return{[d.value]:`${n.offset}px`,zIndex:(_=n.zIndex)!=null?_:i.value}});function v(){n.duration>0&&({stop:u}=ah(()=>{l.value&&m()},n.duration))}function g(){u==null||u()}function m(){l.value=!1}function w({code:_}){_===Ue.delete||_===Ue.backspace?g():_===Ue.esc?l.value&&m():v()}return ft(()=>{v(),o(),l.value=!0}),sn(document,"keydown",w),t({visible:l,close:m}),(_,b)=>(N(),ye(yr,{name:y(r).b("fade"),onBeforeLeave:_.onClose,onAfterLeave:S=>_.$emit("destroy"),persisted:""},{default:le(()=>[vt(Z("div",{id:_.id,class:F([y(r).b(),_.customClass,y(h)]),style:Xe(y(p)),role:"alert",onMouseenter:g,onMouseleave:v,onClick:_.onClick},[y(f)?(N(),ye(y(Ke),{key:0,class:F([y(r).e("icon"),y(c)])},{default:le(()=>[(N(),ye(bt(y(f))))]),_:1},8,["class"])):ge("v-if",!0),Z("div",{class:F(y(r).e("group"))},[Z("h2",{class:F(y(r).e("title")),textContent:Re(_.title)},null,10,["textContent"]),vt(Z("div",{class:F(y(r).e("content")),style:Xe(_.title?void 0:{margin:0})},[ve(_.$slots,"default",{},()=>[_.dangerouslyUseHTMLString?(N(),q(je,{key:1},[ge(" Caution here, message could've been compromised, never use user's input as message "),Z("p",{innerHTML:_.message},null,8,["innerHTML"])],2112)):(N(),q("p",{key:0},Re(_.message),1))])],6),[[Wt,_.message]]),_.showClose?(N(),ye(y(Ke),{key:0,class:F(y(r).e("closeBtn")),onClick:nt(m,["stop"])},{default:le(()=>[ee(y(s))]),_:1},8,["class","onClick"])):ge("v-if",!0)],2)],46,["id","onClick"]),[[Wt,l.value]])]),_:3},8,["name","onBeforeLeave","onAfterLeave"]))}}));var h3e=De(d3e,[["__file","notification.vue"]]);const _b={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},LE=16;let p3e=1;const mh=function(e={},t){if(!Bt)return{close:()=>{}};(Ze(e)||yn(e))&&(e={message:e});const n=e.position||"top-right";let r=e.offset||0;_b[n].forEach(({vm:c})=>{var f;r+=(((f=c.el)==null?void 0:f.offsetHeight)||0)+LE}),r+=LE;const a=`notification_${p3e++}`,o=e.onClose,i=_e(X({},e),{offset:r,id:a,onClose:()=>{v3e(a,n,o)}});let s=document.body;to(e.appendTo)?s=e.appendTo:Ze(e.appendTo)&&(s=document.querySelector(e.appendTo)),to(s)||(s=document.body);const l=document.createElement("div"),u=ee(h3e,i,Ge(i.message)?i.message:()=>i.message);return u.appContext=_n(t)?mh._context:t,u.props.onDestroy=()=>{ss(null,l)},ss(u,l),_b[n].push({vm:u}),s.appendChild(l.firstElementChild),{close:()=>{u.component.exposed.visible.value=!1}}};UU.forEach(e=>{mh[e]=(t={},n)=>((Ze(t)||yn(t))&&(t={message:t}),mh(_e(X({},t),{type:e}),n))});function v3e(e,t,n){const r=_b[t],a=r.findIndex(({vm:u})=>{var c;return((c=u.component)==null?void 0:c.props.id)===e});if(a===-1)return;const{vm:o}=r[a];if(!o)return;n==null||n(o);const i=o.el.offsetHeight,s=t.split("-")[0];r.splice(a,1);const l=r.length;if(!(l<1))for(let u=a;u{t.component.exposed.visible.value=!1})}mh.closeAll=g3e;mh._context=null;const m3e=sz(mh,"$notify");var jU=Object.defineProperty,y3e=Object.getOwnPropertyDescriptor,b3e=Object.getOwnPropertyNames,_3e=Object.prototype.hasOwnProperty,w3e=(e,t)=>{for(var n in t)jU(e,n,{get:t[n],enumerable:!0})},S3e=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of b3e(t))!_3e.call(e,a)&&a!==n&&jU(e,a,{get:()=>t[a],enumerable:!(r=y3e(t,a))||r.enumerable});return e},C3e=(e,t,n)=>(S3e(e,t,"default"),n),T3e=Object.prototype.toString;function dw(e,t){return T3e.call(e)===`[object ${t}]`}function wb(e){return e!==null&&dw(e,"Object")}function x3e(e){return typeof e<"u"}function E3e(e){return!x3e(e)}function k3e(e){return e===null}function A3e(e){return k3e(e)||E3e(e)}function M3e(e){return Sb(e)||Am(e)?e.length===0:e instanceof Map||e instanceof Set?e.size===0:wb(e)?Object.keys(e).length===0:!1}function Il(e){return!!(M3e(e)||A3e(e))}function O3e(e){return dw(e,"Number")}function Am(e){return dw(e,"String")}function $d(e){return typeof e=="function"}function P3e(e){return dw(e,"Boolean")}function Sb(e){return e&&Array.isArray(e)}var R3e=typeof window>"u",I3e=!R3e,fu=typeof document<"u";function K5(e){let t="^(?:(https?|ftp|rtsp|mms|ws|wss):\\/\\/)?(?:\\S+(?::\\S*)?@)?(?:(?:localhost)|(?:[1-9]\\d{0,2}(?:\\.\\d{1,3}){3})|(?:$[0-9a-fA-F:]+$)|(?:(?:[a-zA-Z0-9-_]+\\.)+[a-zA-Z]{2,63}))(?::\\d{1,5})?(?:[/?#]\\S*)?$";return new RegExp(t,"i").test(e)}var tXe=(e,t)=>fu?!!(e!=null&&e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))):!1,nXe=(e,t,n)=>{if(!fu)return;let r=n||document.body,{className:a}=r,o=a.replace(t,"").trim().split(/\s+/).join(" ");r.className=e?`${o} ${t}`:o},D3e=Object.prototype.toString;function L3e(e,t){return e&&e.hasOwnProperty?e.hasOwnProperty(t):!1}function $3e(e,t,n){if(e)if(e.forEach)e.forEach(t,n);else for(let r=0,a=e.length;r{let t=e.replace("#","").match(/../g);for(let n=0;n<3;n++)t[n]=parseInt(t[n],16);return t},qU=(e,t,n)=>{let r=[e.toString(16),t.toString(16),n.toString(16)];for(let a=0;a<3;a++)r[a].length==1&&(r[a]=`0${r[a]}`);return`#${r.join("")}`},rXe=(e,t)=>{let n=GU(e);for(let r=0;r<3;r++)n[r]=Math.floor(n[r]*(1-t));return qU(n[0],n[1],n[2])},aXe=(e,t)=>{let n=GU(e);for(let r=0;r<3;r++)n[r]=Math.floor((255-n[r])*t+n[r]);return qU(n[0],n[1],n[2])},h2=(e=20)=>new Promise(t=>setTimeout(t,e)),G5=(e,t=200,n=!1)=>{let r,a=t,o;return function(){r&&clearTimeout(r),n?(r||e.call(o,...arguments),r=setTimeout(()=>r=null,a)):r=setTimeout(()=>e.call(o,...arguments),a)}},B3e=(e,t=1e3)=>{let n;return function(){n||(n=setTimeout(()=>{e.call(void 0,...arguments),n=null},t))}},oXe=()=>{if(!fu)return;let e=navigator.userAgent.toLowerCase(),t=e.match(/midp/i)=="midp",n=e.match(/ucweb/i)=="ucweb",r=e.match(/android/i)=="android",a=e.match(/iphone os/i)=="iphone os",o=e.match(/windows ce/i)=="windows ce",i=e.match(/rv:1.2.3.4/i)=="rv:1.2.3.4",s=e.match(/windows mobile/i)=="windows mobile";return t||n||r||a||o||i||s},F3e=(e,t="_blank")=>{if(!fu)return;let n=document.createElement("a");n.setAttribute("href",e),n.setAttribute("target",t),n.setAttribute("rel","noreferrer noopener"),n.setAttribute("id","external");let r=document.getElementById("external");r&&document.body.removeChild(r),document.body.appendChild(n),n.click(),n.remove()};function YU(e,t){if(e===t)return!0;if(typeof e!="object"||typeof t!="object"||e==null||t==null)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let a of n)if(!r.includes(a)||!YU(e[a],t[a]))return!1;return!0}function V3e(e,t){if(!e||!t)return!1;let{length:n}=e;if(n!==t.length)return!1;for(let r=0;r(e.install=n=>{for(let r of[e,...Object.values({})])n.component(r.name,r)},e),H3e=class{constructor(e){Of(this,"storage");this.storage=e}setItem(e,t){Il(this.storage)||this.storage.setItem(e,JSON.stringify(t))}getItem(e){if(!Il(this.storage))return JSON.parse(this.storage.getItem(e))}removeItem(e){Il(this.storage)||this.storage.removeItem(e)}clear(){Il(this.storage)||this.storage.clear()}},x8=class extends H3e{constructor(t){super(t)}},Wn=()=>I3e?new x8(window.localStorage):new x8("");function XU(e,t){return Am(t)?e.substring(0,e.indexOf(t)):""}function W3e(e,t){return Am(t)?e.substring(e.lastIndexOf(t)+t.length,e.length):""}function U3e(e){if(!K5(e))return console.error(`${e}不符合超链接规范`),{};let t=e.indexOf("?"),n=e.slice(t+1).split("&"),r={};for(let a=0;at.some(r=>r===n))}var j3e=(...e)=>[...e].reduce((t,n)=>t.filter(r=>n.includes(r)));function K3e(e,t,n=!0){let r=[];for(let a of e)a[t]!==void 0&&a[t]!==null&&r.push(a[t]);return n?Array.from(new Set(r)):r}var G3e=(e,t)=>{if(!Sb(e)||!Sb(t))return!1;let n=new Set(e);return t.some(r=>n.has(r))},An={};w3e(An,{Vue:()=>Qd});C3e(An,Qd);function q3e(e,{target:t=fu?document.body:void 0}={}){let n=document.createElement("textarea"),r=document.activeElement;n.value=e,n.setAttribute("readonly",""),n.style.contain="strict",n.style.position="absolute",n.style.left="-9999px",n.style.fontSize="12pt";let a=document.getSelection(),o;a&&a.rangeCount>0&&(o=a.getRangeAt(0)),t==null||t.append(n),n.select(),n.selectionStart=0,n.selectionEnd=e.length;let i=!1;try{i=document.execCommand("copy")}catch(s){throw new Error(s.message)}return n.remove(),o&&a&&(a.removeAllRanges(),a.addRange(o)),r instanceof HTMLElement&&r.focus(),i}function JU(e){(0,An.getCurrentInstance)()&&(0,An.onUnmounted)(e)}function Y3e(e){return(0,An.getCurrentScope)()?((0,An.onScopeDispose)(e),!0):!1}function E8(e){var n;let t=(0,An.toValue)(e);return(n=t==null?void 0:t.$el)!=null?n:t}var sXe=e=>{let t="dark",n=(0,An.shallowRef)(!1),r,a=()=>{let i=document.documentElement;n.value=i.classList.contains(t)},o=()=>{document.documentElement.classList.toggle(t)};return JU(()=>{r&&(r.takeRecords(),r.disconnect())}),(0,An.onBeforeMount)(()=>{let i=document.documentElement;a(),r=new MutationObserver(a),r.observe(i,{attributes:!0,attributeFilter:["class"]})}),{isDark:n,toggleDark:o}};function X3e(e,t,n={}){let{time:r=40,box:a="content-box",immediate:o=!0}=n,i,s=!o,l=G5((g,m)=>{s?t(g,m):s=!0},r),u=()=>{i&&(i.disconnect(),i=null)},c=g=>typeof g=="string",f=g=>fu?Array.from(document.querySelectorAll(g)):[],h=(0,An.computed)(()=>c(e)?f(e):Array.isArray(e)?e.map(g=>c(g)?f(g):E8(g)).flat():[E8(e)]),d,p=()=>{fu&&(u(),d==null||d(),d=(0,An.watch)(h,(g,m,w)=>{window&&g.length&&(i=new ResizeObserver(l),g.forEach(_=>{if(_&&(i.observe(_,{box:a}),!s)){let b=_.getBoundingClientRect(),S={target:_,contentRect:b,borderBoxSize:[{inlineSize:b.width,blockSize:b.height}],contentBoxSize:[{inlineSize:b.width,blockSize:b.height}],devicePixelContentBoxSize:[{inlineSize:b.width,blockSize:b.height}]};t([S],i)}})),w(u)},{immediate:!0,flush:"post",deep:!0}))};(0,An.nextTick)(()=>{p()});let v=()=>{u(),d&&d()};return Y3e(v),{stop:v,restart:p}}function gp(){let{appContext:{config:{globalProperties:e}}}=(0,An.getCurrentInstance)();return e}var lXe=(e,t)=>{var $;let n="$echarts",r=t!=null&&t.theme?(0,An.isProxy)(t.theme)||(0,An.isRef)(t.theme)?t.theme:(0,An.ref)(t.theme):(0,An.ref)("default"),a=($=t==null?void 0:t.tooltipId)!=null?$:"tooltipElement",o=gp().$echarts;o||Object.keys(gp()).forEach(B=>{var I,M,L,O,D;(M=(I=gp())==null?void 0:I[B])!=null&&M.Axis&&((O=(L=gp())==null?void 0:L[B])!=null&&O.ChartView)&&(o=(D=gp())==null?void 0:D[B],n=B)});let i=!0,s=!1,l=null,u=(0,An.ref)({}),c=(0,An.ref)(),f=(0,An.computed)(()=>r.value!=="dark"?u.value:X({backgroundColor:"transparent"},u.value));function h(B){let I=(0,An.unref)(e);if(!(!I||!(0,An.unref)(I))){if(!o)throw new Error("useECharts: echarts未绑定到globalProperties");l=o.init(I,B,t)}}function d(B,...I){var M;if(u.value=B,c.value=I,((M=(0,An.unref)(e))==null?void 0:M.offsetHeight)===0){h2().then(()=>d((0,An.unref)(f),...I));return}(0,An.nextTick)(()=>{h2().then(()=>{var L;!l&&h(r.value),((L=B.clear)==null||L)&&p(),l==null||l.setOption((0,An.unref)(f)),I&&I.map(O=>{(O==null?void 0:O.type)!=="zrender"&&typeof(O==null?void 0:O.callback)=="function"&&(l==null||l.on(O==null?void 0:O.name,O!=null&&O.query?O==null?void 0:O.query:"",D=>{O==null||O.callback(D)})),(O==null?void 0:O.type)==="zrender"&&typeof(O==null?void 0:O.callback)=="function"&&(l==null||l.getZr().on(O==null?void 0:O.name,D=>{D.target||(O==null||O.callback(D))}))}),B!=null&&B.addTooltip&&k(B.addTooltip)})})}function p(){l&&l.clear()}function v(){l&&l.resize()}function g(B){var L,O;let I=(L=B==null?void 0:B.type)!=null?L:"default",M=(O=B==null?void 0:B.opts)!=null?O:{};l.showLoading(I,M)}function m(){l.hideLoading()}function w(B){l.appendData(B)}function _(){return l.getWidth()}function b(){return l.getHeight()}function S(){return l||h(r.value),l}function C(){return l.getDom()}function T(){return l.getOption()}function x(B){return l.getDataURL(B)}function E(B){return l.getConnectedDataURL(B)}function k(B){if(!B||!fu)return;let I=document.querySelector("html");if(!document.getElementById(a)){let O=document.createElement("div");O.setAttribute("id",a),O.style.display="block",I.appendChild(O)}let M=document.querySelector(`#${a}`),L=O=>{if((O==null?void 0:O.targetType)!=="axisLabel")return;let D=` + padding: 5px; + font-size: 12px; + display: inline; + border-radius: 4px; + position: absolute; + background-color: #303133; + z-index: 99999;color: #fff; + box-shadow: rgba(0, 0, 0, 0.3) 2px 2px 8px; + `;M.style.cssText=D,M.innerHTML=O==null?void 0:O.value,I.onmousemove=z=>{let V=z.pageX-10,j=z.pageY+15;M.style.top=j+"px",M.style.left=V+"px"}};l==null||l.on("mouseover",O=>{(B==="x"&&O.componentType=="xAxis"||B==="y"&&O.componentType=="yAxis"||B.toString()==="true"&&O.componentType.includes("Axis"))&&L(O)}),l==null||l.on("mouseout",()=>{I.onmousemove=null,M.style.cssText="display:none"})}function A(){return{name:n,value:o}}(0,An.watch)(()=>r.value,B=>{l&&(l.dispose(),h(B),d(u.value,...c.value))});function P(){var B,I;l&&h2((I=(B=u.value)==null?void 0:B.delay)!=null?I:300).then(()=>{v()})}return(0,An.onMounted)(()=>{(0,An.nextTick)(()=>{var B,I,M,L,O;if((B=u.value)!=null&&B.container){let D=(M=(I=u.value)==null?void 0:I.delay)!=null?M:40;X3e(u.value.container,v,{time:D}),s=G3e(["body","html","document"],Array.of(u.value.container).flat()),s&&window.addEventListener("resize",P)}else i=(O=(L=u.value)==null?void 0:L.resize)!=null?O:!0,i&&window.addEventListener("resize",P)})}),JU(()=>{var B,I,M;!((B=u.value)!=null&&B.container)&&i&&window.removeEventListener("resize",P),(I=u.value)!=null&&I.container&&s&&window.removeEventListener("resize",P),l&&(l.dispose(),l=null,(M=document.querySelector(`#${a}`))==null||M.remove())}),{echarts:o,setOptions:d,getInstance:S,showLoading:g,hideLoading:m,clear:p,resize:v,getGlobalProperties:A,getDom:C,getWidth:_,getHeight:b,getOption:T,appendData:w,getDataURL:x,getConnectedDataURL:E,addTooltip:k}};const Z3e={width:24,height:24,body:''},k8={width:24,height:24,body:''},J3e={key:0,class:"flex items-center justify-between"},Q3e=["id"],e5e=["onClick"],t5e={key:1},n5e=te({name:"ReDialog",__name:"index",setup(e){const t=H({}),n=H(!1),r=R(()=>s=>{var l;return((l=s==null?void 0:s.footerButtons)==null?void 0:l.length)>0?s.footerButtons:[{label:"取消",text:!0,bg:!0,btnClick:({dialog:{options:u,index:c}})=>{const f=()=>p2(u,c,{command:"cancel"});u!=null&&u.beforeCancel&&$d(u==null?void 0:u.beforeCancel)?u.beforeCancel(f,{options:u,index:c}):f()}},{label:"确定",type:"primary",text:!0,bg:!0,popconfirm:s==null?void 0:s.popconfirm,btnClick:({dialog:{options:u,index:c}})=>{u!=null&&u.sureBtnLoading&&(t.value[c]=Object.assign({},t.value[c],{loading:!0}));const f=()=>{u!=null&&u.sureBtnLoading&&(t.value[c].loading=!1)},h=()=>{f(),p2(u,c,{command:"sure"})};u!=null&&u.beforeSure&&$d(u==null?void 0:u.beforeSure)?u.beforeSure(h,{options:u,index:c,closeLoading:f}):h()}}]}),a=R(()=>["el-icon","el-dialog__close","-translate-x-2","cursor-pointer","hover:!text-[red]"]);function o(s,l,u,c=!1){var f;if(c||(n.value=(f=l==null?void 0:l.fullscreen)!=null?f:!1),l!=null&&l[s]&&$d(l==null?void 0:l[s]))return l==null?void 0:l[s]({options:l,index:u})}function i(s,l,u={command:"close"}){p2(s,l,u),o("close",s,l)}return(s,l)=>{const u=gt("IconifyIconOffline"),c=gt("el-button"),f=gt("el-popconfirm"),h=gt("el-dialog");return N(!0),q(je,null,Rt(y(Cb),(d,p)=>(N(),ye(h,Et({key:p,ref_for:!0},d,{modelValue:d.visible,"onUpdate:modelValue":v=>d.visible=v,class:"pure-dialog",fullscreen:n.value?!0:!!(d!=null&&d.fullscreen),onClosed:v=>i(d,p),onOpened:v=>o("open",d,p),onOpenAutoFocus:v=>o("openAutoFocus",d,p),onCloseAutoFocus:v=>o("closeAutoFocus",d,p)}),Oo({default:le(()=>[(N(),ye(bt(d.contentRenderer({options:d,index:p})),Et({ref_for:!0},d==null?void 0:d.props,{onClose:v=>i(d,p,v)}),null,16,["onClose"]))]),_:2},[d!=null&&d.fullscreenIcon||d!=null&&d.headerRenderer?{name:"header",fn:le(({close:v,titleId:g,titleClass:m})=>[d!=null&&d.fullscreenIcon?(N(),q("div",J3e,[Z("span",{id:g,class:F(m)},Re(d==null?void 0:d.title),11,Q3e),d!=null&&d.fullscreen?ge("",!0):(N(),q("i",{key:0,class:F(a.value),onClick:()=>{n.value=!n.value,o("fullscreenCallBack",_e(X({},d),{fullscreen:n.value}),p,!0)}},[ee(u,{class:"pure-dialog-svg",icon:d!=null&&d.fullscreen||n.value?y(k8):y(Z3e)},null,8,["icon"])],10,e5e))])):(N(),ye(bt(d==null?void 0:d.headerRenderer({close:v,titleId:g,titleClass:m})),{key:1}))]),key:"0"}:void 0,d!=null&&d.hideFooter?void 0:{name:"footer",fn:le(()=>[d!=null&&d.footerRenderer?(N(),ye(bt(d==null?void 0:d.footerRenderer({options:d,index:p})),{key:0})):(N(),q("span",t5e,[(N(!0),q(je,null,Rt(r.value(d),(v,g)=>{var m;return N(),q(je,{key:g},[v.popconfirm?(N(),ye(f,Et({key:0,ref_for:!0},v.popconfirm,{onConfirm:w=>v.btnClick({dialog:{options:d,index:p},button:{btn:v,index:g}})}),{reference:le(()=>[ee(c,Et({ref_for:!0},v),{default:le(()=>[At(Re(v==null?void 0:v.label),1)]),_:2},1040)]),_:2},1040,["onConfirm"])):(N(),ye(c,Et({key:1,ref_for:!0},v,{loading:g===1&&((m=t.value[p])==null?void 0:m.loading),onClick:w=>v.btnClick({dialog:{options:d,index:p},button:{btn:v,index:g}})}),{default:le(()=>[At(Re(v==null?void 0:v.label),1)]),_:2},1040,["loading","onClick"]))],64)}),128))]))]),key:"1"}]),1040,["modelValue","onUpdate:modelValue","fullscreen","onClosed","onOpened","onOpenAutoFocus","onCloseAutoFocus"]))),128)}}});function q5(e){return Dh()?(Lh(e),!0):!1}function zs(e){return typeof e=="function"?e():y(e)}const hw=typeof window!="undefined"&&typeof document!="undefined";typeof WorkerGlobalScope!="undefined"&&globalThis instanceof WorkerGlobalScope;const r5e=Object.prototype.toString,a5e=e=>r5e.call(e)==="[object Object]",Nd=()=>{},o5e=i5e();function i5e(){var e,t;return hw&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function s5e(e,t){function n(...r){return new Promise((a,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(a).catch(o)})}return n}function l5e(e,t={}){let n,r,a=Nd;const o=s=>{clearTimeout(s),a(),a=Nd};return s=>{const l=zs(e),u=zs(t.maxWait);return n&&o(n),l<=0||u!==void 0&&u<=0?(r&&(o(r),r=null),Promise.resolve(s())):new Promise((c,f)=>{a=t.rejectOnCancel?f:c,u&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,c(s())},u)),n=setTimeout(()=>{r&&o(r),r=null,c(s())},l)})}}function uXe(e,t=200,n={}){return s5e(l5e(t,n),e)}function Y5(e,t,n={}){const{immediate:r=!0}=n,a=H(!1);let o=null;function i(){o&&(clearTimeout(o),o=null)}function s(){a.value=!1,i()}function l(...u){i(),a.value=!0,o=setTimeout(()=>{a.value=!1,o=null,e(...u)},zs(t))}return r&&(a.value=!0,hw&&l()),q5(s),{isPending:gu(a),start:l,stop:s}}const X5=hw?window:void 0,u5e=hw?window.document:void 0;function _c(e){var t;const n=zs(e);return(t=n==null?void 0:n.$el)!=null?t:n}function fi(...e){let t,n,r,a;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,a]=e,t=X5):[t,n,r,a]=e,!t)return Nd;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(c=>c()),o.length=0},s=(c,f,h,d)=>(c.addEventListener(f,h,d),()=>c.removeEventListener(f,h,d)),l=xe(()=>[_c(t),zs(a)],([c,f])=>{if(i(),!c)return;const h=a5e(f)?X({},f):f;o.push(...n.flatMap(d=>r.map(p=>s(c,d,p,h))))},{immediate:!0,flush:"post"}),u=()=>{l(),i()};return q5(u),u}let A8=!1;function cXe(e,t,n={}){const{window:r=X5,ignore:a=[],capture:o=!0,detectIframe:i=!1}=n;if(!r)return Nd;o5e&&!A8&&(A8=!0,Array.from(r.document.body.children).forEach(v=>v.addEventListener("click",Nd)),r.document.documentElement.addEventListener("click",Nd));let s=!0;const l=v=>zs(a).some(g=>{if(typeof g=="string")return Array.from(r.document.querySelectorAll(g)).some(m=>m===v.target||v.composedPath().includes(m));{const m=_c(g);return m&&(v.target===m||v.composedPath().includes(m))}});function u(v){const g=zs(v);return g&&g.$.subTree.shapeFlag===16}function c(v,g){const m=zs(v),w=m.$.subTree&&m.$.subTree.children;return w==null||!Array.isArray(w)?!1:w.some(_=>_.el===g.target||g.composedPath().includes(_.el))}const f=v=>{const g=_c(e);if(v.target!=null&&!(!(g instanceof Element)&&u(e)&&c(e,v))&&!(!g||g===v.target||v.composedPath().includes(g))){if(v.detail===0&&(s=!l(v)),!s){s=!0;return}t(v)}};let h=!1;const d=[fi(r,"click",v=>{h||(h=!0,setTimeout(()=>{h=!1},0),f(v))},{passive:!0,capture:o}),fi(r,"pointerdown",v=>{const g=_c(e);s=!l(v)&&!!(g&&!v.composedPath().includes(g))},{passive:!0}),i&&fi(r,"blur",v=>{setTimeout(()=>{var g;const m=_c(e);((g=r.document.activeElement)==null?void 0:g.tagName)==="IFRAME"&&!(m!=null&&m.contains(r.document.activeElement))&&t(v)},0)})].filter(Boolean);return()=>d.forEach(v=>v())}function c5e(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function fXe(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:a=X5,eventName:o="keydown",passive:i=!1,dedupe:s=!1}=r,l=c5e(t);return fi(a,o,c=>{c.repeat&&zs(s)||l(c)&&n(c)},i)}function f5e(){const e=H(!1),t=st();return t&&ft(()=>{e.value=!0},t),e}function d5e(e){const t=f5e();return R(()=>(t.value,!!e()))}const M8=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function dXe(e,t={}){const{document:n=u5e,autoExit:r=!1}=t,a=R(()=>{var m;return(m=_c(e))!=null?m:n==null?void 0:n.querySelector("html")}),o=H(!1),i=R(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(m=>n&&m in n||a.value&&m in a.value)),s=R(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(m=>n&&m in n||a.value&&m in a.value)),l=R(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(m=>n&&m in n||a.value&&m in a.value)),u=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(m=>n&&m in n),c=d5e(()=>a.value&&n&&i.value!==void 0&&s.value!==void 0&&l.value!==void 0),f=()=>u?(n==null?void 0:n[u])===a.value:!1,h=()=>{if(l.value){if(n&&n[l.value]!=null)return n[l.value];{const m=a.value;if((m==null?void 0:m[l.value])!=null)return!!m[l.value]}}return!1};function d(){return ut(this,null,function*(){if(!(!c.value||!o.value)){if(s.value)if((n==null?void 0:n[s.value])!=null)yield n[s.value]();else{const m=a.value;(m==null?void 0:m[s.value])!=null&&(yield m[s.value]())}o.value=!1}})}function p(){return ut(this,null,function*(){if(!c.value||o.value)return;h()&&(yield d());const m=a.value;i.value&&(m==null?void 0:m[i.value])!=null&&(yield m[i.value](),o.value=!0)})}function v(){return ut(this,null,function*(){yield o.value?d():p()})}const g=()=>{const m=h();(!m||m&&f())&&(o.value=m)};return fi(n,M8,g,!1),fi(()=>_c(a),M8,g,!1),r&&q5(d),{isSupported:c,isFullscreen:o,enter:p,exit:d,toggle:v}}const Cb=H([]),hXe=e=>{const t=()=>Cb.value.push(Object.assign(e,{visible:!0}));e!=null&&e.openDelay?Y5(()=>{t()},e.openDelay):t()},p2=(e,t,n)=>{var a;Cb.value[t].visible=!1,e.closeCallBack&&e.closeCallBack({options:e,index:t,args:n});const r=(a=e==null?void 0:e.closeDelay)!=null?a:200;Y5(()=>{Cb.value.splice(t,1)},r)},h5e=z3e(n5e);var p5e={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空",defaultLabel:"颜色选择器",description:"当前颜色 {color},按 Enter 键选择新颜色",alphaLabel:"选择透明度的值"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",dateTablePrompt:"使用方向键与 Enter 键可选择日期",monthTablePrompt:"使用方向键与 Enter 键可选择月份",yearTablePrompt:"使用方向键与 Enter 键可选择年份",selectedDate:"已选日期",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},weeksFull:{sun:"星期日",mon:"星期一",tue:"星期二",wed:"星期三",thu:"星期四",fri:"星期五",sat:"星期六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},inputNumber:{decrease:"减少数值",increase:"增加数值"},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},dropdown:{toggleDropdown:"切换下拉选项"},mention:{loading:"加载中"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},dialog:{close:"关闭此对话框"},drawer:{close:"关闭此对话框"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!",close:"关闭此对话框"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},slider:{defaultLabel:"滑块介于 {min} 至 {max}",defaultRangeStartLabel:"选择起始值",defaultRangeEndLabel:"选择结束值"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tour:{next:"下一步",previous:"上一步",finish:"结束导览"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"}}};const v5e=te({name:"app",components:{[rb.name]:rb,ReDialog:h5e},computed:{currentLocale(){return p5e}}}),g5e=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n};function m5e(e,t,n,r,a,o){const i=gt("router-view"),s=gt("ReDialog"),l=gt("el-config-provider");return N(),ye(l,{locale:e.currentLocale},{default:le(()=>[ee(i),ee(s)]),_:1},8,["locale"])}const y5e=g5e(v5e,[["render",m5e]]),b5e=[],_5e=Object.freeze(Object.defineProperty({__proto__:null,default:b5e},Symbol.toStringTag,{value:"Module"})),w5e="modulepreload",S5e=function(e){return"/"+e},O8={},de=function(t,n,r){let a=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),s=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));a=Promise.allSettled(n.map(l=>{if(l=S5e(l),l in O8)return;O8[l]=!0;const u=l.endsWith(".css"),c=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${c}`))return;const f=document.createElement("link");if(f.rel=u?"stylesheet":w5e,u||(f.as="script"),f.crossOrigin="",f.href=l,s&&f.setAttribute("nonce",s),document.head.appendChild(f),u)return new Promise((h,d)=>{f.addEventListener("load",h),f.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${l}`)))})}))}function o(i){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i}return a.then(i=>{for(const s of i||[])s.status==="rejected"&&o(s.reason);return t().catch(o)})},C5e={path:"/error",redirect:"/error/403",meta:{icon:"ri:information-line",showLink:!1,title:"异常页面",rank:9},children:[{path:"/error/403",name:"403",component:()=>de(()=>import("./403-CQMSgVWN.js"),[]),meta:{title:"403"}},{path:"/error/404",name:"404",component:()=>de(()=>import("./404-BAzhlHxi.js"),[]),meta:{title:"404"}},{path:"/error/500",name:"500",component:()=>de(()=>import("./500-b-pxYusG.js"),[]),meta:{title:"500"}}]},T5e=Object.freeze(Object.defineProperty({__proto__:null,default:C5e},Symbol.toStringTag,{value:"Module"})),x5e={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_CDN:"false",VITE_COMPRESSION:"none",VITE_HIDE_HOME:"false",VITE_PORT:"8848",VITE_PUBLIC_PATH:"/",VITE_ROUTER_HISTORY:"hash"},{VITE_HIDE_HOME:E5e}=x5e,k5e=()=>de(()=>import("./index-i6U3xXNN.js"),__vite__mapDeps([0,1,2,3,4,5])),A5e={path:"/",name:"Home",component:k5e,redirect:"/welcome",meta:{icon:"ep:home-filled",title:"首页",rank:0},children:[{path:"/welcome",name:"Welcome",component:()=>de(()=>import("./index-CH-QkARt.js"),__vite__mapDeps([6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26])),meta:{title:"首页",showLink:E5e!=="true"}}]},M5e=Object.freeze(Object.defineProperty({__proto__:null,default:A5e},Symbol.toStringTag,{value:"Module"}));/*! js-cookie v3.0.5 | MIT */function $0(e){for(var t=1;tQU=e,ej=Symbol();function P8(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var _v;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(_v||(_v={}));function P5e(){const e=x_(!0),t=e.run(()=>H({}));let n=[],r=[];const a=ui({install(o){pw(a),a._a=o,o.provide(ej,a),o.config.globalProperties.$pinia=a,r.forEach(i=>n.push(i)),r=[]},use(o){return!this._a&&!ole?r.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return a}const R5e=()=>{};function R8(e,t,n,r=R5e){e.push(t);const a=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&Dh()&&Lh(a),a}function Bf(e,...t){e.slice().forEach(n=>{n(...t)})}const I5e=e=>e(),I8=Symbol(),v2=Symbol();function tj(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],a=e[n];P8(a)&&P8(r)&&e.hasOwnProperty(n)&&!Gt(r)&&!Qa(r)?e[n]=tj(a,r):e[n]=r}return e}const{assign:Sl}=Object;function D5e(e){return!!(Gt(e)&&e.effect)}function L5e(e,t,n,r){const{state:a,actions:o,getters:i}=t,s=n.state.value[e];let l;function u(){s||(n.state.value[e]=a?a():{});const c=rr(n.state.value[e]);return Sl(c,o,Object.keys(i||{}).reduce((f,h)=>(f[h]=ui(R(()=>{pw(n);const d=n._s.get(e);return i[h].call(d,d)})),f),{}))}return l=$5e(e,u,t,n,r,!0),l}function $5e(e,t,n={},r,a,o){let i;const s=Sl({actions:{}},n),l={deep:!0};let u,c,f=[],h=[],d;const p=r.state.value[e];H({});let v;function g(x){let E;u=c=!1,typeof x=="function"?(x(r.state.value[e]),E={type:_v.patchFunction,storeId:e,events:d}):(tj(r.state.value[e],x),E={type:_v.patchObject,payload:x,storeId:e,events:d});const k=v=Symbol();qe().then(()=>{v===k&&(u=!0)}),c=!0,Bf(f,E,r.state.value[e])}const m=function(){const{state:E}=n,k=E?E():{};this.$patch(A=>{Sl(A,k)})};function w(){i.stop(),f=[],h=[],r._s.delete(e)}const _=(x,E="")=>{if(I8 in x)return x[v2]=E,x;const k=function(){pw(r);const A=Array.from(arguments),P=[],$=[];function B(L){P.push(L)}function I(L){$.push(L)}Bf(h,{args:A,name:k[v2],store:S,after:B,onError:I});let M;try{M=x.apply(this&&this.$id===e?this:S,A)}catch(L){throw Bf($,L),L}return M instanceof Promise?M.then(L=>(Bf(P,L),L)).catch(L=>(Bf($,L),Promise.reject(L))):(Bf(P,M),M)};return k[I8]=!0,k[v2]=E,k},b={_p:r,$id:e,$onAction:R8.bind(null,h),$patch:g,$reset:m,$subscribe(x,E={}){const k=R8(f,x,E.detached,()=>A()),A=i.run(()=>xe(()=>r.state.value[e],P=>{(E.flush==="sync"?c:u)&&x({storeId:e,type:_v.direct,events:d},P)},Sl({},l,E)));return k},$dispose:w},S=zt(b);r._s.set(e,S);const T=(r._a&&r._a.runWithContext||I5e)(()=>r._e.run(()=>(i=x_()).run(()=>t({action:_}))));for(const x in T){const E=T[x];if(!(Gt(E)&&!D5e(E)||Qa(E))){if(typeof E=="function"){const k=_(E,x);T[x]=k,s.actions[x]=E}}}return Sl(S,T),Sl(Xt(S),T),Object.defineProperty(S,"$state",{get:()=>r.state.value[e],set:x=>{g(E=>{Sl(E,x)})}}),r._p.forEach(x=>{Sl(S,i.run(()=>x({store:S,app:r._a,pinia:r,options:s})))}),p&&o&&n.hydrate&&n.hydrate(S.$state,p),u=!0,c=!0,S}/*! #__NO_SIDE_EFFECTS__ */function Z5(e,t,n){let r,a;typeof e=="string"?(r=e,a=t):(a=e,r=e.id);function o(i,s){const l=tF();return i=i||(l?ze(ej,null):null),i&&pw(i),i=QU,i._s.has(r)||L5e(r,a,i),i._s.get(r)}return o.$id=r,o}function pXe(e){{const t=Xt(e),n={};for(const r in t){const a=t[r];a.effect?n[r]=R({get:()=>e[r],set(o){e[r]=o}}):(Gt(a)||Qa(a))&&(n[r]=Jt(e,r))}return n}}const vw=P5e();function N5e(e){e.use(vw)}const B5e={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_CDN:"false",VITE_COMPRESSION:"none",VITE_HIDE_HOME:"false",VITE_PORT:"8848",VITE_PUBLIC_PATH:"/",VITE_ROUTER_HISTORY:"hash"},{VITE_HIDE_HOME:F5e}=B5e,gw=F5e==="false"?[{path:"/welcome",meta:{title:"首页",icon:"ep:home-filled"}}]:[];function nj(e,t){return function(){return e.apply(t,arguments)}}const{toString:V5e}=Object.prototype,{getPrototypeOf:J5}=Object,mw=(e=>t=>{const n=V5e.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ei=e=>(e=e.toLowerCase(),t=>mw(t)===e),yw=e=>t=>typeof t===e,{isArray:Yh}=Array,Sg=yw("undefined");function z5e(e){return e!==null&&!Sg(e)&&e.constructor!==null&&!Sg(e.constructor)&&ro(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const rj=Ei("ArrayBuffer");function H5e(e){let t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&rj(e.buffer),t}const W5e=yw("string"),ro=yw("function"),aj=yw("number"),bw=e=>e!==null&&typeof e=="object",U5e=e=>e===!0||e===!1,l1=e=>{if(mw(e)!=="object")return!1;const t=J5(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},j5e=Ei("Date"),K5e=Ei("File"),G5e=Ei("Blob"),q5e=Ei("FileList"),Y5e=e=>bw(e)&&ro(e.pipe),X5e=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ro(e.append)&&((t=mw(e))==="formdata"||t==="object"&&ro(e.toString)&&e.toString()==="[object FormData]"))},Z5e=Ei("URLSearchParams"),[J5e,Q5e,eMe,tMe]=["ReadableStream","Request","Response","Headers"].map(Ei),nMe=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Mm(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e=="undefined")return;let r,a;if(typeof e!="object"&&(e=[e]),Yh(e))for(r=0,a=e.length;r0;)if(a=n[r],t===a.toLowerCase())return a;return null}const wc=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global,ij=e=>!Sg(e)&&e!==wc;function BE(){const{caseless:e}=ij(this)&&this||{},t={},n=(r,a)=>{const o=e&&oj(t,a)||a;l1(t[o])&&l1(r)?t[o]=BE(t[o],r):l1(r)?t[o]=BE({},r):Yh(r)?t[o]=r.slice():t[o]=r};for(let r=0,a=arguments.length;r(Mm(t,(a,o)=>{n&&ro(a)?e[o]=nj(a,n):e[o]=a},{allOwnKeys:r}),e),aMe=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),oMe=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},iMe=(e,t,n,r)=>{let a,o,i;const s={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),o=a.length;o-- >0;)i=a[o],(!r||r(i,e,t))&&!s[i]&&(t[i]=e[i],s[i]=!0);e=n!==!1&&J5(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},sMe=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},lMe=e=>{if(!e)return null;if(Yh(e))return e;let t=e.length;if(!aj(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},uMe=(e=>t=>e&&t instanceof e)(typeof Uint8Array!="undefined"&&J5(Uint8Array)),cMe=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let a;for(;(a=r.next())&&!a.done;){const o=a.value;t.call(e,o[0],o[1])}},fMe=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},dMe=Ei("HTMLFormElement"),hMe=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,a){return r.toUpperCase()+a}),D8=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),pMe=Ei("RegExp"),sj=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Mm(n,(a,o)=>{let i;(i=t(a,o,e))!==!1&&(r[o]=i||a)}),Object.defineProperties(e,r)},vMe=e=>{sj(e,(t,n)=>{if(ro(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ro(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},gMe=(e,t)=>{const n={},r=a=>{a.forEach(o=>{n[o]=!0})};return Yh(e)?r(e):r(String(e).split(t)),n},mMe=()=>{},yMe=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,g2="abcdefghijklmnopqrstuvwxyz",L8="0123456789",lj={DIGIT:L8,ALPHA:g2,ALPHA_DIGIT:g2+g2.toUpperCase()+L8},bMe=(e=16,t=lj.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function _Me(e){return!!(e&&ro(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const wMe=e=>{const t=new Array(10),n=(r,a)=>{if(bw(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[a]=r;const o=Yh(r)?[]:{};return Mm(r,(i,s)=>{const l=n(i,a+1);!Sg(l)&&(o[s]=l)}),t[a]=void 0,o}}return r};return n(e,0)},SMe=Ei("AsyncFunction"),CMe=e=>e&&(bw(e)||ro(e))&&ro(e.then)&&ro(e.catch),uj=((e,t)=>e?setImmediate:t?((n,r)=>(wc.addEventListener("message",({source:a,data:o})=>{a===wc&&o===n&&r.length&&r.shift()()},!1),a=>{r.push(a),wc.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",ro(wc.postMessage)),TMe=typeof queueMicrotask!="undefined"?queueMicrotask.bind(wc):typeof process!="undefined"&&process.nextTick||uj,Ve={isArray:Yh,isArrayBuffer:rj,isBuffer:z5e,isFormData:X5e,isArrayBufferView:H5e,isString:W5e,isNumber:aj,isBoolean:U5e,isObject:bw,isPlainObject:l1,isReadableStream:J5e,isRequest:Q5e,isResponse:eMe,isHeaders:tMe,isUndefined:Sg,isDate:j5e,isFile:K5e,isBlob:G5e,isRegExp:pMe,isFunction:ro,isStream:Y5e,isURLSearchParams:Z5e,isTypedArray:uMe,isFileList:q5e,forEach:Mm,merge:BE,extend:rMe,trim:nMe,stripBOM:aMe,inherits:oMe,toFlatObject:iMe,kindOf:mw,kindOfTest:Ei,endsWith:sMe,toArray:lMe,forEachEntry:cMe,matchAll:fMe,isHTMLForm:dMe,hasOwnProperty:D8,hasOwnProp:D8,reduceDescriptors:sj,freezeMethods:vMe,toObjectSet:gMe,toCamelCase:hMe,noop:mMe,toFiniteNumber:yMe,findKey:oj,global:wc,isContextDefined:ij,ALPHABET:lj,generateString:bMe,isSpecCompliantForm:_Me,toJSONObject:wMe,isAsyncFn:SMe,isThenable:CMe,setImmediate:uj,asap:TMe};function Qt(e,t,n,r,a){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),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a,this.status=a.status?a.status:null)}Ve.inherits(Qt,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:Ve.toJSONObject(this.config),code:this.code,status:this.status}}});const cj=Qt.prototype,fj={};["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=>{fj[e]={value:e}});Object.defineProperties(Qt,fj);Object.defineProperty(cj,"isAxiosError",{value:!0});Qt.from=(e,t,n,r,a,o)=>{const i=Object.create(cj);return Ve.toFlatObject(e,i,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),Qt.call(i,e.message,t,n,r,a),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const xMe=null;function FE(e){return Ve.isPlainObject(e)||Ve.isArray(e)}function dj(e){return Ve.endsWith(e,"[]")?e.slice(0,-2):e}function $8(e,t,n){return e?e.concat(t).map(function(a,o){return a=dj(a),!n&&o?"["+a+"]":a}).join(n?".":""):t}function EMe(e){return Ve.isArray(e)&&!e.some(FE)}const kMe=Ve.toFlatObject(Ve,{},null,function(t){return/^is[A-Z]/.test(t)});function _w(e,t,n){if(!Ve.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Ve.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,g){return!Ve.isUndefined(g[v])});const r=n.metaTokens,a=n.visitor||c,o=n.dots,i=n.indexes,l=(n.Blob||typeof Blob!="undefined"&&Blob)&&Ve.isSpecCompliantForm(t);if(!Ve.isFunction(a))throw new TypeError("visitor must be a function");function u(p){if(p===null)return"";if(Ve.isDate(p))return p.toISOString();if(!l&&Ve.isBlob(p))throw new Qt("Blob is not supported. Use a Buffer instead.");return Ve.isArrayBuffer(p)||Ve.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function c(p,v,g){let m=p;if(p&&!g&&typeof p=="object"){if(Ve.endsWith(v,"{}"))v=r?v:v.slice(0,-2),p=JSON.stringify(p);else if(Ve.isArray(p)&&EMe(p)||(Ve.isFileList(p)||Ve.endsWith(v,"[]"))&&(m=Ve.toArray(p)))return v=dj(v),m.forEach(function(_,b){!(Ve.isUndefined(_)||_===null)&&t.append(i===!0?$8([v],b,o):i===null?v:v+"[]",u(_))}),!1}return FE(p)?!0:(t.append($8(g,v,o),u(p)),!1)}const f=[],h=Object.assign(kMe,{defaultVisitor:c,convertValue:u,isVisitable:FE});function d(p,v){if(!Ve.isUndefined(p)){if(f.indexOf(p)!==-1)throw Error("Circular reference detected in "+v.join("."));f.push(p),Ve.forEach(p,function(m,w){(!(Ve.isUndefined(m)||m===null)&&a.call(t,m,Ve.isString(w)?w.trim():w,v,h))===!0&&d(m,v?v.concat(w):[w])}),f.pop()}}if(!Ve.isObject(e))throw new TypeError("data must be an object");return d(e),t}function N8(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Q5(e,t){this._pairs=[],e&&_w(e,this,t)}const hj=Q5.prototype;hj.append=function(t,n){this._pairs.push([t,n])};hj.toString=function(t){const n=t?function(r){return t.call(this,r,N8)}:N8;return this._pairs.map(function(a){return n(a[0])+"="+n(a[1])},"").join("&")};function AMe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function pj(e,t,n){if(!t)return e;const r=n&&n.encode||AMe;Ve.isFunction(n)&&(n={serialize:n});const a=n&&n.serialize;let o;if(a?o=a(t,n):o=Ve.isURLSearchParams(t)?t.toString():new Q5(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class B8{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Ve.forEach(this.handlers,function(r){r!==null&&t(r)})}}const vj={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},MMe=typeof URLSearchParams!="undefined"?URLSearchParams:Q5,OMe=typeof FormData!="undefined"?FormData:null,PMe=typeof Blob!="undefined"?Blob:null,RMe={isBrowser:!0,classes:{URLSearchParams:MMe,FormData:OMe,Blob:PMe},protocols:["http","https","file","blob","url","data"]},eM=typeof window!="undefined"&&typeof document!="undefined",VE=typeof navigator=="object"&&navigator||void 0,IMe=eM&&(!VE||["ReactNative","NativeScript","NS"].indexOf(VE.product)<0),DMe=typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",LMe=eM&&window.location.href||"http://localhost",$Me=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:eM,hasStandardBrowserEnv:IMe,hasStandardBrowserWebWorkerEnv:DMe,navigator:VE,origin:LMe},Symbol.toStringTag,{value:"Module"})),Hr=X(X({},$Me),RMe);function NMe(e,t){return _w(e,new Hr.classes.URLSearchParams,Object.assign({visitor:function(n,r,a,o){return Hr.isNode&&Ve.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function BMe(e){return Ve.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function FMe(e){const t={},n=Object.keys(e);let r;const a=n.length;let o;for(r=0;r=n.length;return i=!i&&Ve.isArray(a)?a.length:i,l?(Ve.hasOwnProp(a,i)?a[i]=[a[i],r]:a[i]=r,!s):((!a[i]||!Ve.isObject(a[i]))&&(a[i]=[]),t(n,r,a[i],o)&&Ve.isArray(a[i])&&(a[i]=FMe(a[i])),!s)}if(Ve.isFormData(e)&&Ve.isFunction(e.entries)){const n={};return Ve.forEachEntry(e,(r,a)=>{t(BMe(r),a,n,0)}),n}return null}function VMe(e,t,n){if(Ve.isString(e))try{return(t||JSON.parse)(e),Ve.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const Om={transitional:vj,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",a=r.indexOf("application/json")>-1,o=Ve.isObject(t);if(o&&Ve.isHTMLForm(t)&&(t=new FormData(t)),Ve.isFormData(t))return a?JSON.stringify(gj(t)):t;if(Ve.isArrayBuffer(t)||Ve.isBuffer(t)||Ve.isStream(t)||Ve.isFile(t)||Ve.isBlob(t)||Ve.isReadableStream(t))return t;if(Ve.isArrayBufferView(t))return t.buffer;if(Ve.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return NMe(t,this.formSerializer).toString();if((s=Ve.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return _w(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||a?(n.setContentType("application/json",!1),VMe(t)):t}],transformResponse:[function(t){const n=this.transitional||Om.transitional,r=n&&n.forcedJSONParsing,a=this.responseType==="json";if(Ve.isResponse(t)||Ve.isReadableStream(t))return t;if(t&&Ve.isString(t)&&(r&&!this.responseType||a)){const i=!(n&&n.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(s){if(i)throw s.name==="SyntaxError"?Qt.from(s,Qt.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Hr.classes.FormData,Blob:Hr.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ve.forEach(["delete","get","head","post","put","patch"],e=>{Om.headers[e]={}});const zMe=Ve.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"]),HMe=e=>{const t={};let n,r,a;return e&&e.split(` +`).forEach(function(i){a=i.indexOf(":"),n=i.substring(0,a).trim().toLowerCase(),r=i.substring(a+1).trim(),!(!n||t[n]&&zMe[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},F8=Symbol("internals");function mp(e){return e&&String(e).trim().toLowerCase()}function u1(e){return e===!1||e==null?e:Ve.isArray(e)?e.map(u1):String(e)}function WMe(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const UMe=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function m2(e,t,n,r,a){if(Ve.isFunction(r))return r.call(this,t,n);if(a&&(t=n),!!Ve.isString(t)){if(Ve.isString(r))return t.indexOf(r)!==-1;if(Ve.isRegExp(r))return r.test(t)}}function jMe(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function KMe(e,t){const n=Ve.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(a,o,i){return this[r].call(this,t,a,o,i)},configurable:!0})})}class La{constructor(t){t&&this.set(t)}set(t,n,r){const a=this;function o(s,l,u){const c=mp(l);if(!c)throw new Error("header name must be a non-empty string");const f=Ve.findKey(a,c);(!f||a[f]===void 0||u===!0||u===void 0&&a[f]!==!1)&&(a[f||l]=u1(s))}const i=(s,l)=>Ve.forEach(s,(u,c)=>o(u,c,l));if(Ve.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(Ve.isString(t)&&(t=t.trim())&&!UMe(t))i(HMe(t),n);else if(Ve.isHeaders(t))for(const[s,l]of t.entries())o(l,s,r);else t!=null&&o(n,t,r);return this}get(t,n){if(t=mp(t),t){const r=Ve.findKey(this,t);if(r){const a=this[r];if(!n)return a;if(n===!0)return WMe(a);if(Ve.isFunction(n))return n.call(this,a,r);if(Ve.isRegExp(n))return n.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=mp(t),t){const r=Ve.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||m2(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let a=!1;function o(i){if(i=mp(i),i){const s=Ve.findKey(r,i);s&&(!n||m2(r,r[s],s,n))&&(delete r[s],a=!0)}}return Ve.isArray(t)?t.forEach(o):o(t),a}clear(t){const n=Object.keys(this);let r=n.length,a=!1;for(;r--;){const o=n[r];(!t||m2(this,this[o],o,t,!0))&&(delete this[o],a=!0)}return a}normalize(t){const n=this,r={};return Ve.forEach(this,(a,o)=>{const i=Ve.findKey(r,o);if(i){n[i]=u1(a),delete n[o];return}const s=t?jMe(o):String(o).trim();s!==o&&delete n[o],n[s]=u1(a),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Ve.forEach(this,(r,a)=>{r!=null&&r!==!1&&(n[a]=t&&Ve.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(a=>r.set(a)),r}static accessor(t){const r=(this[F8]=this[F8]={accessors:{}}).accessors,a=this.prototype;function o(i){const s=mp(i);r[s]||(KMe(a,i),r[s]=!0)}return Ve.isArray(t)?t.forEach(o):o(t),this}}La.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Ve.reduceDescriptors(La.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});Ve.freezeMethods(La);function y2(e,t){const n=this||Om,r=t||n,a=La.from(r.headers);let o=r.data;return Ve.forEach(e,function(s){o=s.call(n,o,a.normalize(),t?t.status:void 0)}),a.normalize(),o}function mj(e){return!!(e&&e.__CANCEL__)}function Xh(e,t,n){Qt.call(this,e==null?"canceled":e,Qt.ERR_CANCELED,t,n),this.name="CanceledError"}Ve.inherits(Xh,Qt,{__CANCEL__:!0});function yj(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Qt("Request failed with status code "+n.status,[Qt.ERR_BAD_REQUEST,Qt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function GMe(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function qMe(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a=0,o=0,i;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[o];i||(i=u),n[a]=l,r[a]=u;let f=o,h=0;for(;f!==a;)h+=n[f++],f=f%e;if(a=(a+1)%e,a===o&&(o=(o+1)%e),u-i{n=c,a=null,o&&(clearTimeout(o),o=null),e.apply(null,u)};return[(...u)=>{const c=Date.now(),f=c-n;f>=r?i(u,c):(a=u,o||(o=setTimeout(()=>{o=null,i(a)},r-f)))},()=>a&&i(a)]}const Tb=(e,t,n=3)=>{let r=0;const a=qMe(50,250);return YMe(o=>{const i=o.loaded,s=o.lengthComputable?o.total:void 0,l=i-r,u=a(l),c=i<=s;r=i;const f={loaded:i,total:s,progress:s?i/s:void 0,bytes:l,rate:u||void 0,estimated:u&&s&&c?(s-i)/u:void 0,event:o,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(f)},n)},V8=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},z8=e=>(...t)=>Ve.asap(()=>e(...t)),XMe=Hr.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Hr.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Hr.origin),Hr.navigator&&/(msie|trident)/i.test(Hr.navigator.userAgent)):()=>!0,ZMe=Hr.hasStandardBrowserEnv?{write(e,t,n,r,a,o){const i=[e+"="+encodeURIComponent(t)];Ve.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),Ve.isString(r)&&i.push("path="+r),Ve.isString(a)&&i.push("domain="+a),o===!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 JMe(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function QMe(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function bj(e,t){return e&&!JMe(t)?QMe(e,t):t}const H8=e=>e instanceof La?X({},e):e;function lf(e,t){t=t||{};const n={};function r(u,c,f,h){return Ve.isPlainObject(u)&&Ve.isPlainObject(c)?Ve.merge.call({caseless:h},u,c):Ve.isPlainObject(c)?Ve.merge({},c):Ve.isArray(c)?c.slice():c}function a(u,c,f,h){if(Ve.isUndefined(c)){if(!Ve.isUndefined(u))return r(void 0,u,f,h)}else return r(u,c,f,h)}function o(u,c){if(!Ve.isUndefined(c))return r(void 0,c)}function i(u,c){if(Ve.isUndefined(c)){if(!Ve.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function s(u,c,f){if(f in t)return r(u,c);if(f in e)return r(void 0,u)}const l={url:o,method:o,data:o,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:s,headers:(u,c,f)=>a(H8(u),H8(c),f,!0)};return Ve.forEach(Object.keys(Object.assign({},e,t)),function(c){const f=l[c]||a,h=f(e[c],t[c],c);Ve.isUndefined(h)&&f!==s||(n[c]=h)}),n}const _j=e=>{const t=lf({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:a,xsrfCookieName:o,headers:i,auth:s}=t;t.headers=i=La.from(i),t.url=pj(bj(t.baseURL,t.url),e.params,e.paramsSerializer),s&&i.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let l;if(Ve.isFormData(n)){if(Hr.hasStandardBrowserEnv||Hr.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((l=i.getContentType())!==!1){const[u,...c]=l?l.split(";").map(f=>f.trim()).filter(Boolean):[];i.setContentType([u||"multipart/form-data",...c].join("; "))}}if(Hr.hasStandardBrowserEnv&&(r&&Ve.isFunction(r)&&(r=r(t)),r||r!==!1&&XMe(t.url))){const u=a&&o&&ZMe.read(o);u&&i.set(a,u)}return t},eOe=typeof XMLHttpRequest!="undefined",tOe=eOe&&function(e){return new Promise(function(n,r){const a=_j(e);let o=a.data;const i=La.from(a.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:u}=a,c,f,h,d,p;function v(){d&&d(),p&&p(),a.cancelToken&&a.cancelToken.unsubscribe(c),a.signal&&a.signal.removeEventListener("abort",c)}let g=new XMLHttpRequest;g.open(a.method.toUpperCase(),a.url,!0),g.timeout=a.timeout;function m(){if(!g)return;const _=La.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),S={data:!s||s==="text"||s==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:_,config:e,request:g};yj(function(T){n(T),v()},function(T){r(T),v()},S),g=null}"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(m)},g.onabort=function(){g&&(r(new Qt("Request aborted",Qt.ECONNABORTED,e,g)),g=null)},g.onerror=function(){r(new Qt("Network Error",Qt.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let b=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const S=a.transitional||vj;a.timeoutErrorMessage&&(b=a.timeoutErrorMessage),r(new Qt(b,S.clarifyTimeoutError?Qt.ETIMEDOUT:Qt.ECONNABORTED,e,g)),g=null},o===void 0&&i.setContentType(null),"setRequestHeader"in g&&Ve.forEach(i.toJSON(),function(b,S){g.setRequestHeader(S,b)}),Ve.isUndefined(a.withCredentials)||(g.withCredentials=!!a.withCredentials),s&&s!=="json"&&(g.responseType=a.responseType),u&&([h,p]=Tb(u,!0),g.addEventListener("progress",h)),l&&g.upload&&([f,d]=Tb(l),g.upload.addEventListener("progress",f),g.upload.addEventListener("loadend",d)),(a.cancelToken||a.signal)&&(c=_=>{g&&(r(!_||_.type?new Xh(null,e,g):_),g.abort(),g=null)},a.cancelToken&&a.cancelToken.subscribe(c),a.signal&&(a.signal.aborted?c():a.signal.addEventListener("abort",c)));const w=GMe(a.url);if(w&&Hr.protocols.indexOf(w)===-1){r(new Qt("Unsupported protocol "+w+":",Qt.ERR_BAD_REQUEST,e));return}g.send(o||null)})},nOe=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,a;const o=function(u){if(!a){a=!0,s();const c=u instanceof Error?u:this.reason;r.abort(c instanceof Qt?c:new Xh(c instanceof Error?c.message:c))}};let i=t&&setTimeout(()=>{i=null,o(new Qt(`timeout ${t} of ms exceeded`,Qt.ETIMEDOUT))},t);const s=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>u.addEventListener("abort",o));const{signal:l}=r;return l.unsubscribe=()=>Ve.asap(s),l}},rOe=function*(e,t){let n=e.byteLength;if(n{const a=aOe(e,t);let o=0,i,s=u=>{i||(i=!0,r&&r(u))};return new ReadableStream({pull(u){return ut(this,null,function*(){try{const{done:c,value:f}=yield a.next();if(c){s(),u.close();return}let h=f.byteLength;if(n){let d=o+=h;n(d)}u.enqueue(new Uint8Array(f))}catch(c){throw s(c),c}})},cancel(u){return s(u),a.return()}},{highWaterMark:2})},ww=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",wj=ww&&typeof ReadableStream=="function",iOe=ww&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):e=>ut(void 0,null,function*(){return new Uint8Array(yield new Response(e).arrayBuffer())})),Sj=(e,...t)=>{try{return!!e(...t)}catch(n){return!1}},sOe=wj&&Sj(()=>{let e=!1;const t=new Request(Hr.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),U8=64*1024,zE=wj&&Sj(()=>Ve.isReadableStream(new Response("").body)),xb={stream:zE&&(e=>e.body)};ww&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!xb[t]&&(xb[t]=Ve.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new Qt(`Response type '${t}' is not supported`,Qt.ERR_NOT_SUPPORT,r)})})})(new Response);const lOe=e=>ut(void 0,null,function*(){if(e==null)return 0;if(Ve.isBlob(e))return e.size;if(Ve.isSpecCompliantForm(e))return(yield new Request(Hr.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(Ve.isArrayBufferView(e)||Ve.isArrayBuffer(e))return e.byteLength;if(Ve.isURLSearchParams(e)&&(e=e+""),Ve.isString(e))return(yield iOe(e)).byteLength}),uOe=(e,t)=>ut(void 0,null,function*(){const n=Ve.toFiniteNumber(e.getContentLength());return n==null?lOe(t):n}),cOe=ww&&(e=>ut(void 0,null,function*(){let{url:t,method:n,data:r,signal:a,cancelToken:o,timeout:i,onDownloadProgress:s,onUploadProgress:l,responseType:u,headers:c,withCredentials:f="same-origin",fetchOptions:h}=_j(e);u=u?(u+"").toLowerCase():"text";let d=nOe([a,o&&o.toAbortSignal()],i),p;const v=d&&d.unsubscribe&&(()=>{d.unsubscribe()});let g;try{if(l&&sOe&&n!=="get"&&n!=="head"&&(g=yield uOe(c,r))!==0){let S=new Request(t,{method:"POST",body:r,duplex:"half"}),C;if(Ve.isFormData(r)&&(C=S.headers.get("content-type"))&&c.setContentType(C),S.body){const[T,x]=V8(g,Tb(z8(l)));r=W8(S.body,U8,T,x)}}Ve.isString(f)||(f=f?"include":"omit");const m="credentials"in Request.prototype;p=new Request(t,_e(X({},h),{signal:d,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:m?f:void 0}));let w=yield fetch(p);const _=zE&&(u==="stream"||u==="response");if(zE&&(s||_&&v)){const S={};["status","statusText","headers"].forEach(E=>{S[E]=w[E]});const C=Ve.toFiniteNumber(w.headers.get("content-length")),[T,x]=s&&V8(C,Tb(z8(s),!0))||[];w=new Response(W8(w.body,U8,T,()=>{x&&x(),v&&v()}),S)}u=u||"text";let b=yield xb[Ve.findKey(xb,u)||"text"](w,e);return!_&&v&&v(),yield new Promise((S,C)=>{yj(S,C,{data:b,headers:La.from(w.headers),status:w.status,statusText:w.statusText,config:e,request:p})})}catch(m){throw v&&v(),m&&m.name==="TypeError"&&/fetch/i.test(m.message)?Object.assign(new Qt("Network Error",Qt.ERR_NETWORK,e,p),{cause:m.cause||m}):Qt.from(m,m&&m.code,e,p)}})),HE={http:xMe,xhr:tOe,fetch:cOe};Ve.forEach(HE,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}});const j8=e=>`- ${e}`,fOe=e=>Ve.isFunction(e)||e===null||e===!1,Cj={getAdapter:e=>{e=Ve.isArray(e)?e:[e];const{length:t}=e;let n,r;const a={};for(let o=0;o`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since : +`+o.map(j8).join(` +`):" "+j8(o[0]):"as no adapter specified";throw new Qt("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:HE};function b2(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Xh(null,e)}function K8(e){return b2(e),e.headers=La.from(e.headers),e.data=y2.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Cj.getAdapter(e.adapter||Om.adapter)(e).then(function(r){return b2(e),r.data=y2.call(e,e.transformResponse,r),r.headers=La.from(r.headers),r},function(r){return mj(r)||(b2(e),r&&r.response&&(r.response.data=y2.call(e,e.transformResponse,r.response),r.response.headers=La.from(r.response.headers))),Promise.reject(r)})}const Tj="1.7.9",Sw={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Sw[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const G8={};Sw.transitional=function(t,n,r){function a(o,i){return"[Axios v"+Tj+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,s)=>{if(t===!1)throw new Qt(a(i," has been removed"+(n?" in "+n:"")),Qt.ERR_DEPRECATED);return n&&!G8[i]&&(G8[i]=!0,console.warn(a(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,s):!0}};Sw.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function dOe(e,t,n){if(typeof e!="object")throw new Qt("options must be an object",Qt.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const o=r[a],i=t[o];if(i){const s=e[o],l=s===void 0||i(s,o,e);if(l!==!0)throw new Qt("option "+o+" must be "+l,Qt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Qt("Unknown option "+o,Qt.ERR_BAD_OPTION)}}const c1={assertOptions:dOe,validators:Sw},Li=c1.validators;class Lc{constructor(t){this.defaults=t,this.interceptors={request:new B8,response:new B8}}request(t,n){return ut(this,null,function*(){try{return yield this._request(t,n)}catch(r){if(r instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const o=a.stack?a.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=` +`+o):r.stack=o}catch(i){}}throw r}})}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=lf(this.defaults,n);const{transitional:r,paramsSerializer:a,headers:o}=n;r!==void 0&&c1.assertOptions(r,{silentJSONParsing:Li.transitional(Li.boolean),forcedJSONParsing:Li.transitional(Li.boolean),clarifyTimeoutError:Li.transitional(Li.boolean)},!1),a!=null&&(Ve.isFunction(a)?n.paramsSerializer={serialize:a}:c1.assertOptions(a,{encode:Li.function,serialize:Li.function},!0)),c1.assertOptions(n,{baseUrl:Li.spelling("baseURL"),withXsrfToken:Li.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&Ve.merge(o.common,o[n.method]);o&&Ve.forEach(["delete","get","head","post","put","patch","common"],p=>{delete o[p]}),n.headers=La.concat(i,o);const s=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(l=l&&v.synchronous,s.unshift(v.fulfilled,v.rejected))});const u=[];this.interceptors.response.forEach(function(v){u.push(v.fulfilled,v.rejected)});let c,f=0,h;if(!l){const p=[K8.bind(this),void 0];for(p.unshift.apply(p,s),p.push.apply(p,u),h=p.length,c=Promise.resolve(n);f{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](a);r._listeners=null}),this.promise.then=a=>{let o;const i=new Promise(s=>{r.subscribe(s),o=s}).then(a);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,s){r.reason||(r.reason=new Xh(o,i,s),n(r.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 n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new tM(function(a){t=a}),cancel:t}}}function hOe(e){return function(n){return e.apply(null,n)}}function pOe(e){return Ve.isObject(e)&&e.isAxiosError===!0}const WE={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(WE).forEach(([e,t])=>{WE[t]=e});function xj(e){const t=new Lc(e),n=nj(Lc.prototype.request,t);return Ve.extend(n,Lc.prototype,t,{allOwnKeys:!0}),Ve.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return xj(lf(e,a))},n}const Qn=xj(Om);Qn.Axios=Lc;Qn.CanceledError=Xh;Qn.CancelToken=tM;Qn.isCancel=mj;Qn.VERSION=Tj;Qn.toFormData=_w;Qn.AxiosError=Qt;Qn.Cancel=Qn.CanceledError;Qn.all=function(t){return Promise.all(t)};Qn.spread=hOe;Qn.isAxiosError=pOe;Qn.mergeConfig=lf;Qn.AxiosHeaders=La;Qn.formToJSON=e=>gj(Ve.isHTMLForm(e)?new FormData(e):e);Qn.getAdapter=Cj.getAdapter;Qn.HttpStatusCode=WE;Qn.default=Qn;const vOe={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_CDN:"false",VITE_COMPRESSION:"none",VITE_HIDE_HOME:"false",VITE_PORT:"8848",VITE_PUBLIC_PATH:"/",VITE_ROUTER_HISTORY:"hash"};let Eb={};const{VITE_PUBLIC_PATH:gOe}=vOe,mOe=e=>{Eb=Object.assign(Eb,e)},$c=e=>{if(typeof e=="string"){const t=e.split(".");if(t&&t.length){let n=Eb;return t.forEach(r=>{n&&typeof n[r]!="undefined"?n=n[r]:n=null}),n}}return Eb},yOe=e=>ut(void 0,null,function*(){return e.config.globalProperties.$config=$c(),Qn({method:"get",url:`${gOe}platform-config.json`}).then(({data:t})=>{let n=e.config.globalProperties.$config;return e&&n&&typeof t=="object"&&(n=Object.assign(n,t),e.config.globalProperties.$config=n,mOe(n)),n}).catch(()=>{throw"请在public文件夹下添加platform-config.json配置文件"})}),ac=()=>$c().ResponsiveStorageNameSpace,_2=(e,t,n)=>{const r=e[t];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((a,o)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(o.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})};/*! + * vue-router v4.5.0 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */const ld=typeof document!="undefined";function Ej(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function bOe(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Ej(e.default)}const En=Object.assign;function w2(e,t){const n={};for(const r in t){const a=t[r];n[r]=bi(a)?a.map(e):e(a)}return n}const wv=()=>{},bi=Array.isArray,kj=/#/g,_Oe=/&/g,wOe=/\//g,SOe=/=/g,COe=/\?/g,Aj=/\+/g,TOe=/%5B/g,xOe=/%5D/g,Mj=/%5E/g,EOe=/%60/g,Oj=/%7B/g,kOe=/%7C/g,Pj=/%7D/g,AOe=/%20/g;function nM(e){return encodeURI(""+e).replace(kOe,"|").replace(TOe,"[").replace(xOe,"]")}function MOe(e){return nM(e).replace(Oj,"{").replace(Pj,"}").replace(Mj,"^")}function UE(e){return nM(e).replace(Aj,"%2B").replace(AOe,"+").replace(kj,"%23").replace(_Oe,"%26").replace(EOe,"`").replace(Oj,"{").replace(Pj,"}").replace(Mj,"^")}function OOe(e){return UE(e).replace(SOe,"%3D")}function POe(e){return nM(e).replace(kj,"%23").replace(COe,"%3F")}function ROe(e){return e==null?"":POe(e).replace(wOe,"%2F")}function Cg(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const IOe=/\/$/,DOe=e=>e.replace(IOe,"");function S2(e,t,n="/"){let r,a={},o="",i="";const s=t.indexOf("#");let l=t.indexOf("?");return s=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,s>-1?s:t.length),a=e(o)),s>-1&&(r=r||t.slice(0,s),i=t.slice(s,t.length)),r=BOe(r!=null?r:t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:a,hash:Cg(i)}}function LOe(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function q8(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function $Oe(e,t,n){const r=t.matched.length-1,a=n.matched.length-1;return r>-1&&r===a&&yh(t.matched[r],n.matched[a])&&Rj(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function yh(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Rj(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!NOe(e[n],t[n]))return!1;return!0}function NOe(e,t){return bi(e)?Y8(e,t):bi(t)?Y8(t,e):e===t}function Y8(e,t){return bi(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function BOe(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),a=r[r.length-1];(a===".."||a===".")&&r.push("");let o=n.length-1,i,s;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const ul={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Tg;(function(e){e.pop="pop",e.push="push"})(Tg||(Tg={}));var Sv;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Sv||(Sv={}));function FOe(e){if(!e)if(ld){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),DOe(e)}const VOe=/^[^#]+#/;function zOe(e,t){return e.replace(VOe,"#")+t}function HOe(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Cw=()=>({left:window.scrollX,top:window.scrollY});function WOe(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),a=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!a)return;t=HOe(a,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 X8(e,t){return(history.state?history.state.position-t:-1)+e}const jE=new Map;function UOe(e,t){jE.set(e,t)}function jOe(e){const t=jE.get(e);return jE.delete(e),t}let KOe=()=>location.protocol+"//"+location.host;function Ij(e,t){const{pathname:n,search:r,hash:a}=t,o=e.indexOf("#");if(o>-1){let s=a.includes(e.slice(o))?e.slice(o).length:1,l=a.slice(s);return l[0]!=="/"&&(l="/"+l),q8(l,"")}return q8(n,e)+r+a}function GOe(e,t,n,r){let a=[],o=[],i=null;const s=({state:h})=>{const d=Ij(e,location),p=n.value,v=t.value;let g=0;if(h){if(n.value=d,t.value=h,i&&i===p){i=null;return}g=v?h.position-v.position:0}else r(d);a.forEach(m=>{m(n.value,p,{delta:g,type:Tg.pop,direction:g?g>0?Sv.forward:Sv.back:Sv.unknown})})};function l(){i=n.value}function u(h){a.push(h);const d=()=>{const p=a.indexOf(h);p>-1&&a.splice(p,1)};return o.push(d),d}function c(){const{history:h}=window;h.state&&h.replaceState(En({},h.state,{scroll:Cw()}),"")}function f(){for(const h of o)h();o=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function Z8(e,t,n,r=!1,a=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:a?Cw():null}}function qOe(e){const{history:t,location:n}=window,r={value:Ij(e,n)},a={value:t.state};a.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,u,c){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:KOe()+e+l;try{t[c?"replaceState":"pushState"](u,"",h),a.value=u}catch(d){console.error(d),n[c?"replace":"assign"](h)}}function i(l,u){const c=En({},t.state,Z8(a.value.back,l,a.value.forward,!0),u,{position:a.value.position});o(l,c,!0),r.value=l}function s(l,u){const c=En({},a.value,t.state,{forward:l,scroll:Cw()});o(c.current,c,!0);const f=En({},Z8(r.value,l,null),{position:c.position+1},u);o(l,f,!1),r.value=l}return{location:r,state:a,push:s,replace:i}}function KE(e){e=FOe(e);const t=qOe(e),n=GOe(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const a=En({location:"",base:e,go:r,createHref:zOe.bind(null,e)},t,n);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>t.state.value}),a}function J8(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),KE(e)}function YOe(e){return typeof e=="string"||e&&typeof e=="object"}function Dj(e){return typeof e=="string"||typeof e=="symbol"}const Lj=Symbol("");var Q8;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Q8||(Q8={}));function bh(e,t){return En(new Error,{type:e,[Lj]:!0},t)}function Es(e,t){return e instanceof Error&&Lj in e&&(t==null||!!(e.type&t))}const e4="[^/]+?",XOe={sensitive:!1,strict:!1,start:!0,end:!0},ZOe=/[.+*?^${}()[\]/\\]/g;function JOe(e,t){const n=En({},XOe,t),r=[];let a=n.start?"^":"";const o=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(a+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function $j(e,t){let n=0;const r=e.score,a=t.score;for(;n0&&t[t.length-1]<0}const ePe={type:0,value:""},tPe=/[a-zA-Z0-9_]/;function nPe(e){if(!e)return[[]];if(e==="/")return[[ePe]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${u}": ${d}`)}let n=0,r=n;const a=[];let o;function i(){o&&a.push(o),o=[]}let s=0,l,u="",c="";function f(){u&&(n===0?o.push({type:0,value:u}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function h(){u+=l}for(;s{i(_)}:wv}function i(f){if(Dj(f)){const h=r.get(f);h&&(r.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function s(){return n}function l(f){const h=sPe(f,n);n.splice(h,0,f),f.record.name&&!a4(f)&&r.set(f.record.name,f)}function u(f,h){let d,p={},v,g;if("name"in f&&f.name){if(d=r.get(f.name),!d)throw bh(1,{location:f});g=d.record.name,p=En(n4(h.params,d.keys.filter(_=>!_.optional).concat(d.parent?d.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),f.params&&n4(f.params,d.keys.map(_=>_.name))),v=d.stringify(p)}else if(f.path!=null)v=f.path,d=n.find(_=>_.re.test(v)),d&&(p=d.parse(v),g=d.record.name);else{if(d=h.name?r.get(h.name):n.find(_=>_.re.test(h.path)),!d)throw bh(1,{location:f,currentLocation:h});g=d.record.name,p=En({},h.params,f.params),v=d.stringify(p)}const m=[];let w=d;for(;w;)m.unshift(w.record),w=w.parent;return{name:g,path:v,params:p,matched:m,meta:iPe(m)}}e.forEach(f=>o(f));function c(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:c,getRoutes:s,getRecordMatcher:a}}function n4(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function r4(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:oPe(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function oPe(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function a4(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function iPe(e){return e.reduce((t,n)=>En(t,n.meta),{})}function o4(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function sPe(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;$j(e,t[o])<0?r=o:n=o+1}const a=lPe(e);return a&&(r=t.lastIndexOf(a,r-1)),r}function lPe(e){let t=e;for(;t=t.parent;)if(Nj(t)&&$j(e,t)===0)return t}function Nj({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function uPe(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let a=0;ao&&UE(o)):[r&&UE(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function cPe(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=bi(r)?r.map(a=>a==null?null:""+a):r==null?r:""+r)}return t}const fPe=Symbol(""),s4=Symbol(""),Tw=Symbol(""),rM=Symbol(""),GE=Symbol("");function yp(){let e=[];function t(r){return e.push(r),()=>{const a=e.indexOf(r);a>-1&&e.splice(a,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ml(e,t,n,r,a,o=i=>i()){const i=r&&(r.enterCallbacks[a]=r.enterCallbacks[a]||[]);return()=>new Promise((s,l)=>{const u=h=>{h===!1?l(bh(4,{from:n,to:t})):h instanceof Error?l(h):YOe(h)?l(bh(2,{from:t,to:h})):(i&&r.enterCallbacks[a]===i&&typeof h=="function"&&i.push(h),s())},c=o(()=>e.call(r&&r.instances[a],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(h=>l(h))})}function C2(e,t,n,r,a=o=>o()){const o=[];for(const i of e)for(const s in i.components){let l=i.components[s];if(!(t!=="beforeRouteEnter"&&!i.instances[s]))if(Ej(l)){const c=(l.__vccOpts||l)[t];c&&o.push(Ml(c,n,r,i,s,a))}else{let u=l();o.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${s}" at "${i.path}"`);const f=bOe(c)?c.default:c;i.mods[s]=c,i.components[s]=f;const d=(f.__vccOpts||f)[t];return d&&Ml(d,n,r,i,s,a)()}))}}return o}function l4(e){const t=ze(Tw),n=ze(rM),r=R(()=>{const l=y(e.to);return t.resolve(l)}),a=R(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const h=f.findIndex(yh.bind(null,c));if(h>-1)return h;const d=u4(l[u-2]);return u>1&&u4(c)===d&&f[f.length-1].path!==d?f.findIndex(yh.bind(null,l[u-2])):h}),o=R(()=>a.value>-1&&gPe(n.params,r.value.params)),i=R(()=>a.value>-1&&a.value===n.matched.length-1&&Rj(n.params,r.value.params));function s(l={}){if(vPe(l)){const u=t[y(e.replace)?"replace":"push"](y(e.to)).catch(wv);return e.viewTransition&&typeof document!="undefined"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:R(()=>r.value.href),isActive:o,isExactActive:i,navigate:s}}function dPe(e){return e.length===1?e[0]:e}const hPe=te({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:l4,setup(e,{slots:t}){const n=zt(l4(e)),{options:r}=ze(Tw),a=R(()=>({[c4(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[c4(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&dPe(t.default(n));return e.custom?o:We("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:a.value},o)}}}),pPe=hPe;function vPe(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 gPe(e,t){for(const n in t){const r=t[n],a=e[n];if(typeof r=="string"){if(r!==a)return!1}else if(!bi(a)||a.length!==r.length||r.some((o,i)=>o!==a[i]))return!1}return!0}function u4(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const c4=(e,t,n)=>e!=null?e:t!=null?t:n,mPe=te({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=ze(GE),a=R(()=>e.route||r.value),o=ze(s4,0),i=R(()=>{let u=y(o);const{matched:c}=a.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),s=R(()=>a.value.matched[i.value]);kt(s4,R(()=>i.value+1)),kt(fPe,s),kt(GE,a);const l=H();return xe(()=>[l.value,s.value,e.name],([u,c,f],[h,d,p])=>{c&&(c.instances[f]=u,d&&d!==c&&u&&u===h&&(c.leaveGuards.size||(c.leaveGuards=d.leaveGuards),c.updateGuards.size||(c.updateGuards=d.updateGuards))),u&&c&&(!d||!yh(c,d)||!h)&&(c.enterCallbacks[f]||[]).forEach(v=>v(u))},{flush:"post"}),()=>{const u=a.value,c=e.name,f=s.value,h=f&&f.components[c];if(!h)return f4(n.default,{Component:h,route:u});const d=f.props[c],p=d?d===!0?u.params:typeof d=="function"?d(u):d:null,g=We(h,En({},p,t,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return f4(n.default,{Component:g,route:u})||g}}});function f4(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const yPe=mPe;function bPe(e){const t=aPe(e.routes,e),n=e.parseQuery||uPe,r=e.stringifyQuery||i4,a=e.history,o=yp(),i=yp(),s=yp(),l=gn(ul);let u=ul;ld&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=w2.bind(null,G=>""+G),f=w2.bind(null,ROe),h=w2.bind(null,Cg);function d(G,oe){let se,ue;return Dj(G)?(se=t.getRecordMatcher(G),ue=oe):ue=G,t.addRoute(ue,se)}function p(G){const oe=t.getRecordMatcher(G);oe&&t.removeRoute(oe)}function v(){return t.getRoutes().map(G=>G.record)}function g(G){return!!t.getRecordMatcher(G)}function m(G,oe){if(oe=En({},oe||l.value),typeof G=="string"){const Q=S2(n,G,oe.path),pe=t.resolve({path:Q.path},oe),we=a.createHref(Q.fullPath);return En(Q,pe,{params:h(pe.params),hash:Cg(Q.hash),redirectedFrom:void 0,href:we})}let se;if(G.path!=null)se=En({},G,{path:S2(n,G.path,oe.path).path});else{const Q=En({},G.params);for(const pe in Q)Q[pe]==null&&delete Q[pe];se=En({},G,{params:f(Q)}),oe.params=f(oe.params)}const ue=t.resolve(se,oe),he=G.hash||"";ue.params=c(h(ue.params));const ae=LOe(r,En({},G,{hash:MOe(he),path:ue.path})),K=a.createHref(ae);return En({fullPath:ae,hash:he,query:r===i4?cPe(G.query):G.query||{}},ue,{redirectedFrom:void 0,href:K})}function w(G){return typeof G=="string"?S2(n,G,l.value.path):En({},G)}function _(G,oe){if(u!==G)return bh(8,{from:oe,to:G})}function b(G){return T(G)}function S(G){return b(En(w(G),{replace:!0}))}function C(G){const oe=G.matched[G.matched.length-1];if(oe&&oe.redirect){const{redirect:se}=oe;let ue=typeof se=="function"?se(G):se;return typeof ue=="string"&&(ue=ue.includes("?")||ue.includes("#")?ue=w(ue):{path:ue},ue.params={}),En({query:G.query,hash:G.hash,params:ue.path!=null?{}:G.params},ue)}}function T(G,oe){const se=u=m(G),ue=l.value,he=G.state,ae=G.force,K=G.replace===!0,Q=C(se);if(Q)return T(En(w(Q),{state:typeof Q=="object"?En({},he,Q.state):he,force:ae,replace:K}),oe||se);const pe=se;pe.redirectedFrom=oe;let we;return!ae&&$Oe(r,ue,se)&&(we=bh(16,{to:pe,from:ue}),V(ue,ue,!0,!1)),(we?Promise.resolve(we):k(pe,ue)).catch(me=>Es(me)?Es(me,2)?me:z(me):O(me,pe,ue)).then(me=>{if(me){if(Es(me,2))return T(En({replace:K},w(me.to),{state:typeof me.to=="object"?En({},he,me.to.state):he,force:ae}),oe||pe)}else me=P(pe,ue,!0,K,he);return A(pe,ue,me),me})}function x(G,oe){const se=_(G,oe);return se?Promise.reject(se):Promise.resolve()}function E(G){const oe=ne.values().next().value;return oe&&typeof oe.runWithContext=="function"?oe.runWithContext(G):G()}function k(G,oe){let se;const[ue,he,ae]=_Pe(G,oe);se=C2(ue.reverse(),"beforeRouteLeave",G,oe);for(const Q of ue)Q.leaveGuards.forEach(pe=>{se.push(Ml(pe,G,oe))});const K=x.bind(null,G,oe);return se.push(K),fe(se).then(()=>{se=[];for(const Q of o.list())se.push(Ml(Q,G,oe));return se.push(K),fe(se)}).then(()=>{se=C2(he,"beforeRouteUpdate",G,oe);for(const Q of he)Q.updateGuards.forEach(pe=>{se.push(Ml(pe,G,oe))});return se.push(K),fe(se)}).then(()=>{se=[];for(const Q of ae)if(Q.beforeEnter)if(bi(Q.beforeEnter))for(const pe of Q.beforeEnter)se.push(Ml(pe,G,oe));else se.push(Ml(Q.beforeEnter,G,oe));return se.push(K),fe(se)}).then(()=>(G.matched.forEach(Q=>Q.enterCallbacks={}),se=C2(ae,"beforeRouteEnter",G,oe,E),se.push(K),fe(se))).then(()=>{se=[];for(const Q of i.list())se.push(Ml(Q,G,oe));return se.push(K),fe(se)}).catch(Q=>Es(Q,8)?Q:Promise.reject(Q))}function A(G,oe,se){s.list().forEach(ue=>E(()=>ue(G,oe,se)))}function P(G,oe,se,ue,he){const ae=_(G,oe);if(ae)return ae;const K=oe===ul,Q=ld?history.state:{};se&&(ue||K?a.replace(G.fullPath,En({scroll:K&&Q&&Q.scroll},he)):a.push(G.fullPath,he)),l.value=G,V(G,oe,se,K),z()}let $;function B(){$||($=a.listen((G,oe,se)=>{if(!ie.listening)return;const ue=m(G),he=C(ue);if(he){T(En(he,{replace:!0,force:!0}),ue).catch(wv);return}u=ue;const ae=l.value;ld&&UOe(X8(ae.fullPath,se.delta),Cw()),k(ue,ae).catch(K=>Es(K,12)?K:Es(K,2)?(T(En(w(K.to),{force:!0}),ue).then(Q=>{Es(Q,20)&&!se.delta&&se.type===Tg.pop&&a.go(-1,!1)}).catch(wv),Promise.reject()):(se.delta&&a.go(-se.delta,!1),O(K,ue,ae))).then(K=>{K=K||P(ue,ae,!1),K&&(se.delta&&!Es(K,8)?a.go(-se.delta,!1):se.type===Tg.pop&&Es(K,20)&&a.go(-1,!1)),A(ue,ae,K)}).catch(wv)}))}let I=yp(),M=yp(),L;function O(G,oe,se){z(G);const ue=M.list();return ue.length?ue.forEach(he=>he(G,oe,se)):console.error(G),Promise.reject(G)}function D(){return L&&l.value!==ul?Promise.resolve():new Promise((G,oe)=>{I.add([G,oe])})}function z(G){return L||(L=!G,B(),I.list().forEach(([oe,se])=>G?se(G):oe()),I.reset()),G}function V(G,oe,se,ue){const{scrollBehavior:he}=e;if(!ld||!he)return Promise.resolve();const ae=!se&&jOe(X8(G.fullPath,0))||(ue||!se)&&history.state&&history.state.scroll||null;return qe().then(()=>he(G,oe,ae)).then(K=>K&&WOe(K)).catch(K=>O(K,G,oe))}const j=G=>a.go(G);let U;const ne=new Set,ie={currentRoute:l,listening:!0,addRoute:d,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:v,resolve:m,options:e,push:b,replace:S,go:j,back:()=>j(-1),forward:()=>j(1),beforeEach:o.add,beforeResolve:i.add,afterEach:s.add,onError:M.add,isReady:D,install(G){const oe=this;G.component("RouterLink",pPe),G.component("RouterView",yPe),G.config.globalProperties.$router=oe,Object.defineProperty(G.config.globalProperties,"$route",{enumerable:!0,get:()=>y(l)}),ld&&!U&&l.value===ul&&(U=!0,b(a.location).catch(he=>{}));const se={};for(const he in ul)Object.defineProperty(se,he,{get:()=>l.value[he],enumerable:!0});G.provide(Tw,oe),G.provide(rM,M_(se)),G.provide(GE,l);const ue=G.unmount;ne.add(G),G.unmount=function(){ne.delete(G),ne.size<1&&(u=ul,$&&$(),$=null,l.value=ul,U=!1,L=!1),ue()}}};function fe(G){return G.reduce((oe,se)=>oe.then(()=>E(se)),Promise.resolve())}return ie}function _Pe(e,t){const n=[],r=[],a=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iyh(u,s))?r.push(s):n.push(s));const l=e.matched[i];l&&(t.matched.find(u=>yh(u,l))||a.push(l))}return[n,r,a]}function vXe(){return ze(Tw)}function gXe(e){return ze(rM)}const xw=(e,t=[])=>{if(!Array.isArray(e))return console.warn("tree must be an array"),[];if(!e||e.length===0)return[];for(const[n,r]of e.entries())r.id=n,r.parentId=t.length?t[t.length-1]:null,r.pathList=[...t,r.id],r.children&&r.children.length>0&&xw(r.children,r.pathList);return e},wPe=Z5({id:"pure-permission",state:()=>({constantMenus:_Re,wholeMenus:[],flatteningRoutes:[],cachePageList:[]}),actions:{handleWholeMenus(e){this.wholeMenus=Wj(lM(Dm(this.constantMenus.concat(e)))),this.flatteningRoutes=Aw(this.constantMenus.concat(e))},cacheOperate({mode:e,name:t}){const n=this.cachePageList.findIndex(r=>r===t);switch(e){case"refresh":this.cachePageList=this.cachePageList.filter(r=>r!==t);break;case"add":this.cachePageList.push(t);break;case"delete":n!==-1&&this.cachePageList.splice(n,1);break}G5(()=>{let r=this.cachePageList.length;const a=K3e(Yl().multiTags,"name");for(;r>0;)a.findIndex(o=>o===this.cachePageList[r-1])===-1&&this.cachePageList.splice(this.cachePageList.indexOf(this.cachePageList[r-1]),1),r--})()},clearAllCachePage(){this.wholeMenus=[],this.cachePageList=[]}}});function wo(){return wPe(vw)}const SPe=Z5({id:"pure-multiTags",state:()=>{var e,t;return{multiTags:(e=Wn().getItem(`${ac()}configure`))!=null&&e.multiTagsCache?Wn().getItem(`${ac()}tags`):[...gw,...wo().flatteningRoutes.filter(n=>{var r;return(r=n==null?void 0:n.meta)==null?void 0:r.fixedTag})],multiTagsCache:(t=Wn().getItem(`${ac()}configure`))==null?void 0:t.multiTagsCache}},getters:{getMultiTagsCache(e){return e.multiTagsCache}},actions:{multiTagsCacheChange(e){this.multiTagsCache=e,e?Wn().setItem(`${ac()}tags`,this.multiTags):Wn().removeItem(`${ac()}tags`)},tagsCache(e){this.getMultiTagsCache&&Wn().setItem(`${ac()}tags`,e)},handleTags(e,t,n){var r,a,o,i,s,l,u;switch(e){case"equal":this.multiTags=t,this.tagsCache(this.multiTags);break;case"push":{const c=t;if((r=c==null?void 0:c.meta)!=null&&r.hiddenTag||K5(c==null?void 0:c.name)||((a=c==null?void 0:c.meta)==null?void 0:a.title.length)===0||P3e((o=c==null?void 0:c.meta)==null?void 0:o.showLink)&&!((i=c==null?void 0:c.meta)!=null&&i.showLink))return;const f=c.path,h=this.multiTags.some(g=>g.path===f),d=this.multiTags.some(g=>$E(g==null?void 0:g.query,c==null?void 0:c.query)),p=this.multiTags.some(g=>$E(g==null?void 0:g.params,c==null?void 0:c.params));if(h&&d&&p)return;const v=(l=(s=c==null?void 0:c.meta)==null?void 0:s.dynamicLevel)!=null?l:-1;if(v>0&&this.multiTags.filter(g=>(g==null?void 0:g.path)===f).length>=v){const g=this.multiTags.findIndex(m=>(m==null?void 0:m.path)===f);g!==-1&&this.multiTags.splice(g,1)}this.multiTags.push(t),this.tagsCache(this.multiTags),(u=$c())!=null&&u.MaxTagsLevel&&O3e($c().MaxTagsLevel)&&this.multiTags.length>$c().MaxTagsLevel&&this.multiTags.splice(1,1)}break;case"splice":if(n)this.multiTags.splice(n==null?void 0:n.startIndex,n==null?void 0:n.length);else{const c=this.multiTags.findIndex(f=>f.path===t);if(c===-1)return;this.multiTags.splice(c,1)}return this.tagsCache(this.multiTags),this.multiTags;case"slice":return this.multiTags.slice(-1)}}}});function Yl(){return SPe(vw)}var T2,d4;function CPe(){return d4||(d4=1,T2=Error),T2}var x2,h4;function TPe(){return h4||(h4=1,x2=EvalError),x2}var E2,p4;function xPe(){return p4||(p4=1,E2=RangeError),E2}var k2,v4;function EPe(){return v4||(v4=1,k2=ReferenceError),k2}var A2,g4;function Bj(){return g4||(g4=1,A2=SyntaxError),A2}var M2,m4;function Pm(){return m4||(m4=1,M2=TypeError),M2}var O2,y4;function kPe(){return y4||(y4=1,O2=URIError),O2}var P2,b4;function APe(){return b4||(b4=1,P2=Object.getOwnPropertyDescriptor),P2}var R2,_4;function Ew(){if(_4)return R2;_4=1;var e=APe();if(e)try{e([],"length")}catch(t){e=null}return R2=e,R2}var I2,w4;function kw(){if(w4)return I2;w4=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch(t){e=!1}return I2=e,I2}var D2,S4;function MPe(){return S4||(S4=1,D2=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},n=Symbol("test"),r=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var a=42;t[n]=a;for(var o in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var i=Object.getOwnPropertySymbols(t);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,n);if(s.value!==a||s.enumerable!==!0)return!1}return!0}),D2}var L2,C4;function OPe(){if(C4)return L2;C4=1;var e=typeof Symbol!="undefined"&&Symbol,t=MPe();return L2=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},L2}var $2,T4;function PPe(){if(T4)return $2;T4=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,n=Math.max,r="[object Function]",a=function(l,u){for(var c=[],f=0;f1&&typeof j!="boolean")throw new i('"allowMissing" argument must be a boolean');if(I(/^%?[^%]*%?$/,V)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var U=O(V),ne=U.length>0?U[0]:"",ie=D("%"+ne+"%",j),fe=ie.name,G=ie.value,oe=!1,se=ie.alias;se&&(ne=se[0],P(U,A([0,1],se)));for(var ue=1,he=!0;ue=U.length){var pe=c(G,ae);he=!!pe,he&&"get"in pe&&!("originalValue"in pe.get)?G=pe.get:G=G[ae]}else he=k(G,ae),G=G[ae];he&&!oe&&(S[fe]=G)}}return G},j2}var K2={exports:{}},G2,D4;function LPe(){if(D4)return G2;D4=1;var e=kw(),t=Bj(),n=Pm(),r=Ew();return G2=function(o,i,s){if(!o||typeof o!="object"&&typeof o!="function")throw new n("`obj` must be an object or a function`");if(typeof i!="string"&&typeof i!="symbol")throw new n("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new n("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new n("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new n("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new n("`loose`, if provided, must be a boolean");var l=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,f=arguments.length>6?arguments[6]:!1,h=!!r&&r(o,i);if(e)e(o,i,{configurable:c===null&&h?h.configurable:!c,enumerable:l===null&&h?h.enumerable:!l,value:s,writable:u===null&&h?h.writable:!u});else if(f||!l&&!u&&!c)o[i]=s;else throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},G2}var q2,L4;function $Pe(){if(L4)return q2;L4=1;var e=kw(),t=function(){return!!e};return t.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch(r){return!0}},q2=t,q2}var Y2,$4;function NPe(){if($4)return Y2;$4=1;var e=iM(),t=LPe(),n=$Pe()(),r=Ew(),a=Pm(),o=e("%Math.floor%");return Y2=function(s,l){if(typeof s!="function")throw new a("`fn` is not a function");if(typeof l!="number"||l<0||l>4294967295||o(l)!==l)throw new a("`length` must be a positive 32-bit integer");var u=arguments.length>2&&!!arguments[2],c=!0,f=!0;if("length"in s&&r){var h=r(s,"length");h&&!h.configurable&&(c=!1),h&&!h.writable&&(f=!1)}return(c||f||!u)&&(n?t(s,"length",l,!0,!0):t(s,"length",l)),s},Y2}var X2,N4;function BPe(){if(N4)return X2;N4=1;var e=Rm(),t=oM(),n=Fj();return X2=function(){return n(e,t,arguments)},X2}var B4;function FPe(){return B4||(B4=1,function(e){var t=NPe(),n=kw(),r=Vj(),a=BPe();e.exports=function(i){var s=r(arguments),l=i.length-(arguments.length-1);return t(s,1+(l>0?l:0),!0)},n?n(e.exports,"apply",{value:a}):e.exports.apply=a}(K2)),K2.exports}var Z2,F4;function VPe(){if(F4)return Z2;F4=1;var e=iM(),t=FPe(),n=t(e("String.prototype.indexOf"));return Z2=function(a,o){var i=e(a,!!o);return typeof i=="function"&&n(a,".prototype.")>-1?t(i):i},Z2}const zPe={},HPe=Object.freeze(Object.defineProperty({__proto__:null,default:zPe},Symbol.toStringTag,{value:"Module"})),WPe=ppe(HPe);var J2,V4;function UPe(){if(V4)return J2;V4=1;var e=typeof Map=="function"&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,n=e&&t&&typeof t.get=="function"?t.get:null,r=e&&Map.prototype.forEach,a=typeof Set=="function"&&Set.prototype,o=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,i=a&&o&&typeof o.get=="function"?o.get:null,s=a&&Set.prototype.forEach,l=typeof WeakMap=="function"&&WeakMap.prototype,u=l?WeakMap.prototype.has:null,c=typeof WeakSet=="function"&&WeakSet.prototype,f=c?WeakSet.prototype.has:null,h=typeof WeakRef=="function"&&WeakRef.prototype,d=h?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,v=Object.prototype.toString,g=Function.prototype.toString,m=String.prototype.match,w=String.prototype.slice,_=String.prototype.replace,b=String.prototype.toUpperCase,S=String.prototype.toLowerCase,C=RegExp.prototype.test,T=Array.prototype.concat,x=Array.prototype.join,E=Array.prototype.slice,k=Math.floor,A=typeof BigInt=="function"?BigInt.prototype.valueOf:null,P=Object.getOwnPropertySymbols,$=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,B=typeof Symbol=="function"&&typeof Symbol.iterator=="object",I=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===B||!0)?Symbol.toStringTag:null,M=Object.prototype.propertyIsEnumerable,L=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(J){return J.__proto__}:null);function O(J,W){if(J===1/0||J===-1/0||J!==J||J&&J>-1e3&&J<1e3||C.call(/e/,W))return W;var Ee=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof J=="number"){var Fe=J<0?-k(-J):k(J);if(Fe!==J){var tt=String(Fe),at=w.call(W,tt.length+1);return _.call(tt,Ee,"$&_")+"."+_.call(_.call(at,/([0-9]{3})/g,"$&_"),/_$/,"")}}return _.call(W,Ee,"$&_")}var D=WPe,z=D.custom,V=K(z)?z:null,j={__proto__:null,double:'"',single:"'"},U={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};J2=function J(W,Ee,Fe,tt){var at=Ee||{};if(we(at,"quoteStyle")&&!we(j,at.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(we(at,"maxStringLength")&&(typeof at.maxStringLength=="number"?at.maxStringLength<0&&at.maxStringLength!==1/0:at.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var kn=we(at,"customInspect")?at.customInspect:!0;if(typeof kn!="boolean"&&kn!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(we(at,"indent")&&at.indent!==null&&at.indent!==" "&&!(parseInt(at.indent,10)===at.indent&&at.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(we(at,"numericSeparator")&&typeof at.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var bn=at.numericSeparator;if(typeof W=="undefined")return"undefined";if(W===null)return"null";if(typeof W=="boolean")return W?"true":"false";if(typeof W=="string")return Je(W,at);if(typeof W=="number"){if(W===0)return 1/0/W>0?"0":"-0";var Nt=String(W);return bn?O(W,Nt):Nt}if(typeof W=="bigint"){var Ct=String(W)+"n";return bn?O(W,Ct):Ct}var jn=typeof at.depth=="undefined"?5:at.depth;if(typeof Fe=="undefined"&&(Fe=0),Fe>=jn&&jn>0&&typeof W=="object")return fe(W)?"[Array]":"[Object]";var wr=Se(at,Fe);if(typeof tt=="undefined")tt=[];else if(Ce(tt,W)>=0)return"[Circular]";function Sr(Yr,Xr,Ii){if(Xr&&(tt=E.call(tt),tt.push(Xr)),Ii){var Di={depth:at.depth};return we(at,"quoteStyle")&&(Di.quoteStyle=at.quoteStyle),J(Yr,Di,Fe+1,tt)}return J(Yr,at,Fe+1,tt)}if(typeof W=="function"&&!oe(W)){var Uo=be(W),Ua=Y(W,Sr);return"[Function"+(Uo?": "+Uo:" (anonymous)")+"]"+(Ua.length>0?" { "+x.call(Ua,", ")+" }":"")}if(K(W)){var Pi=B?_.call(String(W),/^(Symbol\(.*\))_[^)]*$/,"$1"):$.call(W);return typeof W=="object"&&!B?ct(Pi):Pi}if(Be(W)){for(var Ri="<"+S.call(String(W.nodeName)),xu=W.attributes||[],jo=0;jo",Ri}if(fe(W)){if(W.length===0)return"[]";var ol=Y(W,Sr);return wr&&!Zt(ol)?"["+Ne(ol,wr)+"]":"[ "+x.call(ol,", ")+" ]"}if(se(W)){var Eu=Y(W,Sr);return!("cause"in Error.prototype)&&"cause"in W&&!M.call(W,"cause")?"{ ["+String(W)+"] "+x.call(T.call("[cause]: "+Sr(W.cause),Eu),", ")+" }":Eu.length===0?"["+String(W)+"]":"{ ["+String(W)+"] "+x.call(Eu,", ")+" }"}if(typeof W=="object"&&kn){if(V&&typeof W[V]=="function"&&D)return D(W,{depth:jn-Fe});if(kn!=="symbol"&&typeof W.inspect=="function")return W.inspect()}if(ke(W)){var kf=[];return r&&r.call(W,function(Yr,Xr){kf.push(Sr(Xr,W,!0)+" => "+Sr(Yr,W))}),Mt("Map",n.call(W),kf,wr)}if(He(W)){var Af=[];return s&&s.call(W,function(Yr){Af.push(Sr(Yr,W))}),Mt("Set",i.call(W),Af,wr)}if(Oe(W))return wt("WeakMap");if(Te(W))return wt("WeakSet");if(Pe(W))return wt("WeakRef");if(he(W))return ct(Sr(Number(W)));if(Q(W))return ct(Sr(A.call(W)));if(ae(W))return ct(p.call(W));if(ue(W))return ct(Sr(String(W)));if(typeof window!="undefined"&&W===window)return"{ [object Window] }";if(typeof globalThis!="undefined"&&W===globalThis||typeof e6!="undefined"&&W===e6)return"{ [object globalThis] }";if(!G(W)&&!oe(W)){var ku=Y(W,Sr),Le=L?L(W)===Object.prototype:W instanceof Object||W.constructor===Object,rt=W instanceof Object?"":"null prototype",Yt=!Le&&I&&Object(W)===W&&I in W?w.call(me(W),8,-1):rt?"Object":"",qn=Le||typeof W.constructor!="function"?"":W.constructor.name?W.constructor.name+" ":"",ir=qn+(Yt||rt?"["+x.call(T.call([],Yt||[],rt||[]),": ")+"] ":"");return ku.length===0?ir+"{}":wr?ir+"{"+Ne(ku,wr)+"}":ir+"{ "+x.call(ku,", ")+" }"}return String(W)};function ne(J,W,Ee){var Fe=Ee.quoteStyle||W,tt=j[Fe];return tt+J+tt}function ie(J){return _.call(String(J),/"/g,""")}function fe(J){return me(J)==="[object Array]"&&(!I||!(typeof J=="object"&&I in J))}function G(J){return me(J)==="[object Date]"&&(!I||!(typeof J=="object"&&I in J))}function oe(J){return me(J)==="[object RegExp]"&&(!I||!(typeof J=="object"&&I in J))}function se(J){return me(J)==="[object Error]"&&(!I||!(typeof J=="object"&&I in J))}function ue(J){return me(J)==="[object String]"&&(!I||!(typeof J=="object"&&I in J))}function he(J){return me(J)==="[object Number]"&&(!I||!(typeof J=="object"&&I in J))}function ae(J){return me(J)==="[object Boolean]"&&(!I||!(typeof J=="object"&&I in J))}function K(J){if(B)return J&&typeof J=="object"&&J instanceof Symbol;if(typeof J=="symbol")return!0;if(!J||typeof J!="object"||!$)return!1;try{return $.call(J),!0}catch(W){}return!1}function Q(J){if(!J||typeof J!="object"||!A)return!1;try{return A.call(J),!0}catch(W){}return!1}var pe=Object.prototype.hasOwnProperty||function(J){return J in this};function we(J,W){return pe.call(J,W)}function me(J){return v.call(J)}function be(J){if(J.name)return J.name;var W=m.call(g.call(J),/^function\s*([\w$]+)/);return W?W[1]:null}function Ce(J,W){if(J.indexOf)return J.indexOf(W);for(var Ee=0,Fe=J.length;EeW.maxStringLength){var Ee=J.length-W.maxStringLength,Fe="... "+Ee+" more character"+(Ee>1?"s":"");return Je(w.call(J,0,W.maxStringLength),W)+Fe}var tt=U[W.quoteStyle||"single"];tt.lastIndex=0;var at=_.call(_.call(J,tt,"\\$1"),/[\x00-\x1f]/g,dt);return ne(at,"single",W)}function dt(J){var W=J.charCodeAt(0),Ee={8:"b",9:"t",10:"n",12:"f",13:"r"}[W];return Ee?"\\"+Ee:"\\x"+(W<16?"0":"")+b.call(W.toString(16))}function ct(J){return"Object("+J+")"}function wt(J){return J+" { ? }"}function Mt(J,W,Ee,Fe){var tt=Fe?Ne(Ee,Fe):x.call(Ee,", ");return J+" ("+W+") {"+tt+"}"}function Zt(J){for(var W=0;W=0)return!1;return!0}function Se(J,W){var Ee;if(J.indent===" ")Ee=" ";else if(typeof J.indent=="number"&&J.indent>0)Ee=x.call(Array(J.indent+1)," ");else return null;return{base:Ee,prev:x.call(Array(W+1),Ee)}}function Ne(J,W){if(J.length===0)return"";var Ee=` +`+W.prev+W.base;return Ee+x.call(J,","+Ee)+` +`+W.prev}function Y(J,W){var Ee=fe(J),Fe=[];if(Ee){Fe.length=J.length;for(var tt=0;tt1;){var w=m.pop(),_=w.obj[w.prop];if(n(_)){for(var b=[],S=0;S<_.length;++S)typeof _[S]!="undefined"&&b.push(_[S]);w.obj[w.prop]=b}}},o=function(m,w){for(var _=w&&w.plainObjects?{__proto__:null}:{},b=0;b=u?C.slice(x,x+u):C,k=[],A=0;A=48&&P<=57||P>=65&&P<=90||P>=97&&P<=122||S===e.RFC1738&&(P===40||P===41)){k[k.length]=E.charAt(A);continue}if(P<128){k[k.length]=r[P];continue}if(P<2048){k[k.length]=r[192|P>>6]+r[128|P&63];continue}if(P<55296||P>=57344){k[k.length]=r[224|P>>12]+r[128|P>>6&63]+r[128|P&63];continue}A+=1,P=65536+((P&1023)<<10|E.charCodeAt(A)&1023),k[k.length]=r[240|P>>18]+r[128|P>>12&63]+r[128|P>>6&63]+r[128|P&63]}T+=k.join("")}return T},f=function(m){for(var w=[{obj:{o:m},prop:"o"}],_=[],b=0;b0?O.join(",")||null:void 0}];else if(o(E))ie=E;else{var fe=Object.keys(O);ie=k?fe.sort(k):fe}var G=T?String(m).replace(/\./g,"%2E"):String(m),oe=_&&o(O)&&O.length===1?G+"[]":G;if(b&&o(O)&&O.length===0)return oe+"[]";for(var se=0;se0?$+P:""},nC}var rC,j4;function GPe(){if(j4)return rC;j4=1;var e=zj(),t=Object.prototype.hasOwnProperty,n=Array.isArray,r={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:e.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},a=function(h){return h.replace(/&#(\d+);/g,function(d,p){return String.fromCharCode(parseInt(p,10))})},o=function(h,d){return h&&typeof h=="string"&&d.comma&&h.indexOf(",")>-1?h.split(","):h},i="utf8=%26%2310003%3B",s="utf8=%E2%9C%93",l=function(d,p){var v={__proto__:null},g=p.ignoreQueryPrefix?d.replace(/^\?/,""):d;g=g.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var m=p.parameterLimit===1/0?void 0:p.parameterLimit,w=g.split(p.delimiter,m),_=-1,b,S=p.charset;if(p.charsetSentinel)for(b=0;b-1&&(k=n(k)?[k]:k);var A=t.call(v,E);A&&p.duplicates==="combine"?v[E]=e.combine(v[E],k):(!A||p.duplicates==="last")&&(v[E]=k)}return v},u=function(h,d,p,v){for(var g=v?d:o(d,p),m=h.length-1;m>=0;--m){var w,_=h[m];if(_==="[]"&&p.parseArrays)w=p.allowEmptyArrays&&(g===""||p.strictNullHandling&&g===null)?[]:[].concat(g);else{w=p.plainObjects?{__proto__:null}:{};var b=_.charAt(0)==="["&&_.charAt(_.length-1)==="]"?_.slice(1,-1):_,S=p.decodeDotInKeys?b.replace(/%2E/g,"."):b,C=parseInt(S,10);!p.parseArrays&&S===""?w={0:g}:!isNaN(C)&&_!==S&&String(C)===S&&C>=0&&p.parseArrays&&C<=p.arrayLimit?(w=[],w[C]=g):S!=="__proto__"&&(w[S]=g)}g=w}return g},c=function(d,p,v,g){if(d){var m=v.allowDots?d.replace(/\.([^.[]+)/g,"[$1]"):d,w=/(\[[^[\]]*])/,_=/(\[[^[\]]*])/g,b=v.depth>0&&w.exec(m),S=b?m.slice(0,b.index):m,C=[];if(S){if(!v.plainObjects&&t.call(Object.prototype,S)&&!v.allowPrototypes)return;C.push(S)}for(var T=0;v.depth>0&&(b=_.exec(m))!==null&&T
'};n.configure=function(p){var v,g;for(v in p)g=p[v],g!==void 0&&p.hasOwnProperty(v)&&(r[v]=g);return this},n.status=null,n.set=function(p){var v=n.isStarted();p=a(p,r.minimum,1),n.status=p===1?null:p;var g=n.render(!v),m=g.querySelector(r.barSelector),w=r.speed,_=r.easing;return g.offsetWidth,s(function(b){r.positionUsing===""&&(r.positionUsing=n.getPositioningCSS()),l(m,i(p,w,_)),p===1?(l(g,{transition:"none",opacity:1}),g.offsetWidth,setTimeout(function(){l(g,{transition:"all "+w+"ms linear",opacity:0}),setTimeout(function(){n.remove(),b()},w)},w)):setTimeout(b,w)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var p=function(){setTimeout(function(){n.status&&(n.trickle(),p())},r.trickleSpeed)};return r.trickle&&p(),this},n.done=function(p){return!p&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(p){var v=n.status;return v?(typeof p!="number"&&(p=(1-v)*a(Math.random()*v,.1,.95)),v=a(v+p,0,.994),n.set(v)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},function(){var p=0,v=0;n.promise=function(g){return!g||g.state()==="resolved"?this:(v===0&&n.start(),p++,v++,g.always(function(){v--,v===0?(p=0,n.done()):n.set((p-v)/p)}),this)}}(),n.render=function(p){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var v=document.createElement("div");v.id="nprogress",v.innerHTML=r.template;var g=v.querySelector(r.barSelector),m=p?"-100":o(n.status||0),w=document.querySelector(r.parent),_;return l(g,{transition:"all 0 linear",transform:"translate3d("+m+"%,0,0)"}),r.showSpinner||(_=v.querySelector(r.spinnerSelector),_&&d(_)),w!=document.body&&c(w,"nprogress-custom-parent"),w.appendChild(v),v},n.remove=function(){f(document.documentElement,"nprogress-busy"),f(document.querySelector(r.parent),"nprogress-custom-parent");var p=document.getElementById("nprogress");p&&d(p)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var p=document.body.style,v="WebkitTransform"in p?"Webkit":"MozTransform"in p?"Moz":"msTransform"in p?"ms":"OTransform"in p?"O":"";return v+"Perspective"in p?"translate3d":v+"Transform"in p?"translate":"margin"};function a(p,v,g){return pg?g:p}function o(p){return(-1+p)*100}function i(p,v,g){var m;return r.positionUsing==="translate3d"?m={transform:"translate3d("+o(p)+"%,0,0)"}:r.positionUsing==="translate"?m={transform:"translate("+o(p)+"%,0)"}:m={"margin-left":o(p)+"%"},m.transition="all "+v+"ms "+g,m}var s=function(){var p=[];function v(){var g=p.shift();g&&g(v)}return function(g){p.push(g),p.length==1&&v()}}(),l=function(){var p=["Webkit","O","Moz","ms"],v={};function g(b){return b.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(S,C){return C.toUpperCase()})}function m(b){var S=document.body.style;if(b in S)return b;for(var C=p.length,T=b.charAt(0).toUpperCase()+b.slice(1),x;C--;)if(x=p[C]+T,x in S)return x;return b}function w(b){return b=g(b),v[b]||(v[b]=m(b))}function _(b,S,C){S=w(S),b.style[S]=C}return function(b,S){var C=arguments,T,x;if(C.length==2)for(T in S)x=S[T],x!==void 0&&S.hasOwnProperty(T)&&_(b,T,x);else _(b,C[1],C[2])}}();function u(p,v){var g=typeof p=="string"?p:h(p);return g.indexOf(" "+v+" ")>=0}function c(p,v){var g=h(p),m=g+v;u(g,v)||(p.className=m.substring(1))}function f(p,v){var g=h(p),m;u(p,v)&&(m=g.replace(" "+v+" "," "),p.className=m.substring(1,m.length-1))}function h(p){return(" "+(p.className||"")+" ").replace(/\s+/gi," ")}function d(p){p&&p.parentNode&&p.parentNode.removeChild(p)}return n})}(f1)),f1.exports}var JPe=ZPe();const Nc=ys(JPe);Nc.configure({easing:"ease",speed:500,showSpinner:!1,trickleSpeed:200,minimum:.3});const QPe="https://vespa.qxyushen.top",eRe=e=>`${QPe}${e}`,qE=(e,t)=>{if(t){const{icon:n,type:r="info",dangerouslyUseHTMLString:a=!1,customClass:o="antd",duration:i=2e3,showClose:s=!1,center:l=!1,offset:u=20,appendTo:c=document.body,grouping:f=!1,onClose:h}=t;return IE({message:e,type:r,icon:n,dangerouslyUseHTMLString:a,duration:i,showClose:s,center:l,offset:u,appendTo:c,grouping:f,customClass:o==="antd"?"pure-message":"",onClose:()=>$d(h)?h():null})}else return IE({message:e,customClass:"pure-message"})},tRe={timeout:1e4,headers:{Accept:"application/json, text/plain, */*","Content-Type":"multipart/form-data","X-Requested-With":"XMLHttpRequest"},paramsSerializer:{serialize:YPe.stringify}},sr=class sr{constructor(){this.httpInterceptorsRequest(),this.httpInterceptorsResponse()}static retryOriginalRequest(t){return new Promise(n=>{sr.requests.push(r=>{t.headers.Authorization=iC(r),n(t)})})}httpInterceptorsRequest(){sr.axiosInstance.interceptors.request.use(t=>ut(this,null,function*(){return Nc.start(),typeof t.beforeRequestCallback=="function"?(t.beforeRequestCallback(t),t):sr.initConfig.beforeRequestCallback?(sr.initConfig.beforeRequestCallback(t),t):["/refresh-token","/login"].some(r=>t.url.endsWith(r))?t:new Promise(r=>{const a=gRe();if(a){const o=new Date().getTime();parseInt(a.expires)-o<=0?(sr.isRefreshing||(sr.isRefreshing=!0,Ds().handRefreshToken({refreshToken:a.refreshToken}).then(s=>{const l=s.data.accessToken;t.headers.Authorization=iC(l),sr.requests.forEach(u=>u(l)),sr.requests=[]}).finally(()=>{sr.isRefreshing=!1})),r(sr.retryOriginalRequest(t))):(t.headers.Authorization=iC(a.accessToken),r(t))}else r(t)})}),t=>Promise.reject(t))}httpInterceptorsResponse(){sr.axiosInstance.interceptors.response.use(n=>{const r=n.config;return Nc.done(),typeof r.beforeResponseCallback=="function"?(r.beforeResponseCallback(n),n.data):(sr.initConfig.beforeResponseCallback&&sr.initConfig.beforeResponseCallback(n),n.data)},n=>{const r=n;return r.isCancelRequest=Qn.isCancel(r),Nc.done(),Promise.reject(r)})}request(t,n,r,a){const o=X(X({method:t,url:eRe(n)},r),a);return new Promise((i,s)=>{sr.axiosInstance.request(o).then(l=>{if([301,302].includes(l.code)){qE(l.msg,"error"),Ds().logOut();return}i(l)}).catch(l=>{s(l)})})}post(t,n,r){return this.request("post",t,n,r)}get(t,n,r){return this.request("get",t,n,r)}};Of(sr,"requests",[]),Of(sr,"isRefreshing",!1),Of(sr,"initConfig",{}),Of(sr,"axiosInstance",Qn.create(tRe));let YE=sr;const Im=new YE,q4=()=>Im.request("get","/adminapi/Rule/menus"),nRe=()=>de(()=>import("./frame-BxU_b3Ma.js"),__vite__mapDeps([27,28])),Y4=Object.assign({"/src/views/Activities/RechargeList/form.vue":()=>de(()=>import("./form-Cf75gaCf.js"),__vite__mapDeps([29,30])),"/src/views/Activities/RechargeList/hook.tsx":()=>de(()=>import("./hook-D_OHMuaj.js"),__vite__mapDeps([31,30,32,33,34,4,2,35,36,37])),"/src/views/Activities/RechargeList/index.vue":()=>de(()=>import("./index-BBgU3-d3.js"),__vite__mapDeps([38,31,30,32,33,34,4,2,35,36,37,3,39])),"/src/views/Activities/RechargeList/record.vue":()=>de(()=>import("./record-ChS6cB6u.js"),__vite__mapDeps([40,32,33,34,4,2])),"/src/views/Activities/giftPack/form.vue":()=>de(()=>import("./form-BNHnUU4s.js"),__vite__mapDeps([41,37,33])),"/src/views/Activities/giftPack/hook.tsx":()=>de(()=>import("./hook-_9wHMMzO.js"),__vite__mapDeps([36,37,33])),"/src/views/Activities/giftPack/index.vue":()=>de(()=>import("./index-CKpNtF5d.js"),__vite__mapDeps([42,35,36,37,33,34,4,2])),"/src/views/Activities/goodGift/form.vue":()=>de(()=>import("./form-D2isGrIq.js"),__vite__mapDeps([43,44])),"/src/views/Activities/goodGift/giftPack/form.vue":()=>de(()=>import("./form-O2teWlyy.js"),__vite__mapDeps([45,46,33])),"/src/views/Activities/goodGift/giftPack/hook.tsx":()=>de(()=>import("./hook-DB082g8o.js"),__vite__mapDeps([47,46,33])),"/src/views/Activities/goodGift/giftPack/index.vue":()=>de(()=>import("./index-BBYzeYsu.js"),__vite__mapDeps([48,49,47,46,33,34,4,2])),"/src/views/Activities/goodGift/hook.tsx":()=>de(()=>import("./hook-BON1Jb2T.js"),__vite__mapDeps([50,44,51,33,34,4,2,49,47,46])),"/src/views/Activities/goodGift/index.vue":()=>de(()=>import("./index-D2bTTdRq.js"),__vite__mapDeps([52,50,44,51,33,34,4,2,49,47,46])),"/src/views/Activities/goodGift/record.vue":()=>de(()=>import("./record-Cvl1NPJT.js"),__vite__mapDeps([53,51,33,34,4,2])),"/src/views/Activities/newcomer/form.vue":()=>de(()=>import("./form-DUYXNDxS.js"),__vite__mapDeps([54,55])),"/src/views/Activities/newcomer/hook.tsx":()=>de(()=>import("./hook-DKoN1rt2.js"),__vite__mapDeps([56,55,57,33,34,4,2,35,36,37])),"/src/views/Activities/newcomer/index.vue":()=>de(()=>import("./index-BMZR6rHt.js"),__vite__mapDeps([58,56,55,57,33,34,4,2,35,36,37])),"/src/views/Activities/newcomer/record.vue":()=>de(()=>import("./record-DNcfFVIz.js"),__vite__mapDeps([59,57,33,34,4,2])),"/src/views/Admin/userList/form.vue":()=>de(()=>import("./form-yX7sXfaw.js"),__vite__mapDeps([60,61,62])),"/src/views/Admin/userList/hook.tsx":()=>de(()=>import("./hook-CJCd_xO4.js"),__vite__mapDeps([63,61,62,64,65])),"/src/views/Admin/userList/index.vue":()=>de(()=>import("./index-hikl-G13.js"),__vite__mapDeps([66,63,61,62,64,65,34,4,2,3,39])),"/src/views/Admin/userList/password.vue":()=>de(()=>import("./password-7JxAT1cY.js"),__vite__mapDeps([67,65])),"/src/views/Admin/userLog/form.vue":()=>de(()=>import("./form-BnmMgVAT.js"),__vite__mapDeps([68,69,64])),"/src/views/Admin/userLog/hook.tsx":()=>de(()=>import("./hook-C5HQCPQw.js"),__vite__mapDeps([70,69,64])),"/src/views/Admin/userLog/index.vue":()=>de(()=>import("./index-5Qt-ItvN.js"),__vite__mapDeps([71,70,69,64,72,3,34,4,2])),"/src/views/BlindBox/boxList/form.vue":()=>de(()=>import("./form-ygr4mpDG.js"),__vite__mapDeps([73,74,75])),"/src/views/BlindBox/boxList/hook.tsx":()=>de(()=>import("./hook-B2DKEnNK.js"),__vite__mapDeps([76,75,74,77,78,79])),"/src/views/BlindBox/boxList/index.vue":()=>de(()=>import("./index-Oe2eME06.js"),__vite__mapDeps([80,76,75,74,77,78,79,72,3,34,4,2,39,81])),"/src/views/BlindBox/boxList/settingRule.vue":()=>de(()=>import("./settingRule-CtqkQ_ar.js"),__vite__mapDeps([82,77,78,79,75])),"/src/views/BlindBox/openRecord/hook.tsx":()=>de(()=>import("./hook-BNdml3vY.js"),__vite__mapDeps([83,75,84])),"/src/views/BlindBox/openRecord/index.vue":()=>de(()=>import("./index-Df_DWpRL.js"),__vite__mapDeps([85,83,75,84,72,3,34,4,2,86])),"/src/views/BlindBox/turntable/Turntable.vue":()=>de(()=>import("./Turntable-BPqkB4cj.js"),__vite__mapDeps([87,88,89,72,3,75,90,91])),"/src/views/BlindBox/turntable/form.vue":()=>de(()=>import("./form-B9gWx11w.js"),__vite__mapDeps([92,93,75])),"/src/views/BlindBox/turntable/hook.tsx":()=>de(()=>import("./hook-Bs2lJoDG.js"),__vite__mapDeps([94,75,88,89,72,3,90,91,93,95,78,79])),"/src/views/BlindBox/turntable/index.vue":()=>de(()=>import("./index-DmN3DadU.js"),__vite__mapDeps([96,94,75,88,89,72,3,90,91,93,95,78,79,34,4,2,97])),"/src/views/BlindBox/turntable/settingRule.vue":()=>de(()=>import("./settingRule-BcZ5mArG.js"),__vite__mapDeps([98,95,78,79,75])),"/src/views/Decorate/decorateList/donateForm.vue":()=>de(()=>import("./donateForm-BGq7Cfw9.js"),__vite__mapDeps([99,100])),"/src/views/Decorate/decorateList/form.vue":()=>de(()=>import("./form-POVW6sL0.js"),__vite__mapDeps([101,102,103,104,105])),"/src/views/Decorate/decorateList/hook.tsx":()=>de(()=>import("./hook-BrKWggcC.js"),__vite__mapDeps([106,102,103,104,105,107,34,4,2,3,39,108,100])),"/src/views/Decorate/decorateList/index.vue":()=>de(()=>import("./index-DrzyXp6g.js"),__vite__mapDeps([109,106,102,103,104,105,107,34,4,2,3,39,108,100,72])),"/src/views/Decorate/decorateList/priceForm.vue":()=>de(()=>import("./priceForm-CsjgaOvP.js"),__vite__mapDeps([110,108])),"/src/views/Decorate/decorateList/priceList.vue":()=>de(()=>import("./priceList-Dq3qn4iM.js"),__vite__mapDeps([111,107,105,34,4,2,3,39,108])),"/src/views/Decorate/decorateUser/hook.tsx":()=>de(()=>import("./hook-CB6HQ5Ga.js"),__vite__mapDeps([112,105])),"/src/views/Decorate/decorateUser/index.vue":()=>de(()=>import("./index-DrJ0GYam.js"),__vite__mapDeps([113,112,105,72,3,34,4,2])),"/src/views/Financial/Recharge/hook.tsx":()=>de(()=>import("./hook-BS06gPkL.js"),__vite__mapDeps([114,84,115,116])),"/src/views/Financial/Recharge/index.vue":()=>de(()=>import("./index-rFDfxNzE.js"),__vite__mapDeps([117,114,84,115,116,72,3,34,4,2,118])),"/src/views/Financial/Withdrawal/form.vue":()=>de(()=>import("./form-B9cDX7R8.js"),__vite__mapDeps([119,120])),"/src/views/Financial/Withdrawal/hook.tsx":()=>de(()=>import("./hook-BmZBh1OK.js"),__vite__mapDeps([121,120,84,116,115])),"/src/views/Financial/Withdrawal/index.vue":()=>de(()=>import("./index-BeiEvCn3.js"),__vite__mapDeps([122,121,120,84,116,115,72,3,34,4,2,123])),"/src/views/Financial/backRecharge/hook.tsx":()=>de(()=>import("./hook-BKhR1TsM.js"),__vite__mapDeps([124,84,116,115])),"/src/views/Financial/backRecharge/index.vue":()=>de(()=>import("./index-B2uAanJe.js"),__vite__mapDeps([125,124,84,116,115,72,3,34,4,2,126])),"/src/views/Financial/exchange/hook.tsx":()=>de(()=>import("./hook-DSIZoIz5.js"),__vite__mapDeps([127,84,115,116])),"/src/views/Financial/exchange/index.vue":()=>de(()=>import("./index-B0Qbphhm.js"),__vite__mapDeps([128,127,84,115,116,72,3,34,4,2])),"/src/views/Inform/feedback/form.vue":()=>de(()=>import("./form-D246VTjl.js"),__vite__mapDeps([129,130])),"/src/views/Inform/feedback/hook.tsx":()=>de(()=>import("./hook-D_nrE2eA.js"),__vite__mapDeps([131,130,132])),"/src/views/Inform/feedback/index.vue":()=>de(()=>import("./index-Cvnzik25.js"),__vite__mapDeps([133,131,130,132,72,3,34,4,2])),"/src/views/Inform/reportLIst/form.vue":()=>de(()=>import("./form-CA_r-Szo.js"),__vite__mapDeps([134,135])),"/src/views/Inform/reportLIst/hook.tsx":()=>de(()=>import("./hook-er-0LM8L.js"),__vite__mapDeps([136,135,132])),"/src/views/Inform/reportLIst/index.vue":()=>de(()=>import("./index-DHVF3Vzf.js"),__vite__mapDeps([137,136,135,132,72,3,34,4,2])),"/src/views/Inform/reportType/form.vue":()=>de(()=>import("./form-BjwbTjSP.js"),__vite__mapDeps([138,139])),"/src/views/Inform/reportType/hook.tsx":()=>de(()=>import("./hook--onwngvW.js"),__vite__mapDeps([140,139,132])),"/src/views/Inform/reportType/index.vue":()=>de(()=>import("./index-BZ0jE3ZJ.js"),__vite__mapDeps([141,140,139,132,72,3,34,4,2,39])),"/src/views/Invited/incomeList/hook.tsx":()=>de(()=>import("./hook-DkFMTKT0.js"),__vite__mapDeps([142,143])),"/src/views/Invited/incomeList/index.vue":()=>de(()=>import("./index-DsNLkwti.js"),__vite__mapDeps([144,142,143,34,4,2])),"/src/views/Invited/inviteList/hook.tsx":()=>de(()=>import("./hook-uIZx5iE-.js"),__vite__mapDeps([145,143])),"/src/views/Invited/inviteList/index.vue":()=>de(()=>import("./index-CXEjGqxh.js"),__vite__mapDeps([146,145,143,34,4,2])),"/src/views/Level/charmGrade/form.vue":()=>de(()=>import("./form-Cc2M_1qD.js"),__vite__mapDeps([147,148,103,104])),"/src/views/Level/charmGrade/hook.tsx":()=>de(()=>import("./hook-DIGAn0FT.js"),__vite__mapDeps([149,148,103,104,150])),"/src/views/Level/charmGrade/index.vue":()=>de(()=>import("./index-B9NwEcnj.js"),__vite__mapDeps([151,149,148,103,104,150,34,4,2,3,39])),"/src/views/Level/wealthGrade/form.vue":()=>de(()=>import("./form-CU8EqV80.js"),__vite__mapDeps([152,153,103,104,150])),"/src/views/Level/wealthGrade/hook.tsx":()=>de(()=>import("./hook-D_q42Z95.js"),__vite__mapDeps([154,153,103,104,150])),"/src/views/Level/wealthGrade/index.vue":()=>de(()=>import("./index-CgFJfKUe.js"),__vite__mapDeps([155,154,153,103,104,150,34,4,2,3,39])),"/src/views/Statistical/acceptGiftsRank/hook.tsx":()=>de(()=>import("./hook-C-2VKI_q.js"),__vite__mapDeps([156,84,157,115])),"/src/views/Statistical/acceptGiftsRank/index.vue":()=>de(()=>import("./index-B_sG9_Dh.js"),__vite__mapDeps([158,156,84,157,115,72,3,34,4,2])),"/src/views/Statistical/consumerRank/hook.tsx":()=>de(()=>import("./hook-BhTLTlo8.js"),__vite__mapDeps([159,84,115,157])),"/src/views/Statistical/consumerRank/index.vue":()=>de(()=>import("./index-lFBSsz5R.js"),__vite__mapDeps([160,159,84,115,157,72,3,34,4,2])),"/src/views/Statistical/giftRank/hook.tsx":()=>de(()=>import("./hook-DOMvpZIW.js"),__vite__mapDeps([161,157,84,115])),"/src/views/Statistical/giftRank/index.vue":()=>de(()=>import("./index-BfXqD2Z-.js"),__vite__mapDeps([162,161,157,84,115,72,3,34,4,2])),"/src/views/Statistical/giftRecord/hook.tsx":()=>de(()=>import("./hook-XPcsHtzL.js"),__vite__mapDeps([163,157,84,115])),"/src/views/Statistical/giftRecord/index.vue":()=>de(()=>import("./index-CteCtjCE.js"),__vite__mapDeps([164,163,157,84,115,72,3,34,4,2,165])),"/src/views/Statistical/rechargeRank/hook.tsx":()=>de(()=>import("./hook-DNFDkgGG.js"),__vite__mapDeps([166,157,84,115])),"/src/views/Statistical/rechargeRank/index.vue":()=>de(()=>import("./index-dYn4OuQ5.js"),__vite__mapDeps([167,166,157,84,115,72,3,34,4,2])),"/src/views/Statistical/roomFlowRank/hook.tsx":()=>de(()=>import("./hook-Cu44oYHu.js"),__vite__mapDeps([168,84,115,157])),"/src/views/Statistical/roomFlowRank/index.vue":()=>de(()=>import("./index-MWQ3JU8_.js"),__vite__mapDeps([169,168,84,115,157,72,3,34,4,2])),"/src/views/Underage/adolescentList/detail.vue":()=>de(()=>import("./detail-Bv6_Xq4j.js"),__vite__mapDeps([170,171,172])),"/src/views/Underage/adolescentList/form.vue":()=>de(()=>import("./form-G3OBPRH4.js"),__vite__mapDeps([173,174,103,104,78,79,171])),"/src/views/Underage/adolescentList/hook.tsx":()=>de(()=>import("./hook-Ci9wOtdj.js"),__vite__mapDeps([175,174,103,104,78,79,171,170,172])),"/src/views/Underage/adolescentList/index.vue":()=>de(()=>import("./index-C4fBkUk7.js"),__vite__mapDeps([176,175,174,103,104,78,79,171,170,172,72,3,34,4,2,39])),"/src/views/Underage/adolescentType/form.vue":()=>de(()=>import("./form-CUkJK272.js"),__vite__mapDeps([177,178])),"/src/views/Underage/adolescentType/hook.tsx":()=>de(()=>import("./hook-DpvhWbTb.js"),__vite__mapDeps([179,178,171])),"/src/views/Underage/adolescentType/index.vue":()=>de(()=>import("./index-DFwZ4E2_.js"),__vite__mapDeps([180,179,178,171,72,3,34,4,2,39])),"/src/views/Version/form.vue":()=>de(()=>import("./form-CXsog6NK.js"),__vite__mapDeps([181,182,78,79])),"/src/views/Version/hook.tsx":()=>de(()=>import("./hook-CRyIzJir.js"),__vite__mapDeps([183,182,78,79])),"/src/views/Version/index.vue":()=>de(()=>import("./index-D9JFsWL3.js"),__vite__mapDeps([184,183,182,78,79,72,3,34,4,2,39])),"/src/views/advertisement/form.vue":()=>de(()=>import("./form-lFr5WlAf.js"),__vite__mapDeps([185,186,78,79,103,104])),"/src/views/advertisement/hook.tsx":()=>de(()=>import("./hook-Dh1L7jZK.js"),__vite__mapDeps([187,186,78,79,103,104])),"/src/views/advertisement/index.vue":()=>de(()=>import("./index-BS7_oOYi.js"),__vite__mapDeps([188,187,186,78,79,103,104,72,3,34,4,2,39])),"/src/views/dailyTasksBox/ActivitiesList/form.vue":()=>de(()=>import("./form-BmFIqB-O.js"),__vite__mapDeps([189,190,33])),"/src/views/dailyTasksBox/ActivitiesList/hook.tsx":()=>de(()=>import("./hook-C9PUzCTc.js"),__vite__mapDeps([191,75,33,190,192,78,79])),"/src/views/dailyTasksBox/ActivitiesList/index.vue":()=>de(()=>import("./index-Ct0b-uer.js"),__vite__mapDeps([193,191,75,33,190,192,78,79,72,3,34,4,2,39,194])),"/src/views/dailyTasksBox/ActivitiesList/settingRule.vue":()=>de(()=>import("./settingRule-BOSvsGsW.js"),__vite__mapDeps([195,192,78,79])),"/src/views/dynamics/dynamicsList/detail.vue":()=>de(()=>import("./detail-CLPQfK5X.js"),__vite__mapDeps([196,197])),"/src/views/dynamics/dynamicsList/form.vue":()=>de(()=>import("./form-DJRqznZ-.js"),[]),"/src/views/dynamics/dynamicsList/hook.tsx":()=>de(()=>import("./hook-CUSi51GM.js"),__vite__mapDeps([198,196,197,199])),"/src/views/dynamics/dynamicsList/index.vue":()=>de(()=>import("./index-D6W_sQFY.js"),__vite__mapDeps([200,198,196,197,199,72,3,34,4,2])),"/src/views/dynamics/dynamicsTopic/form.vue":()=>de(()=>import("./form-BQ-nIxbB.js"),__vite__mapDeps([201,202,103,104])),"/src/views/dynamics/dynamicsTopic/hook.tsx":()=>de(()=>import("./hook-B10ePqPp.js"),__vite__mapDeps([203,202,103,104,199])),"/src/views/dynamics/dynamicsTopic/index.vue":()=>de(()=>import("./index-DKmufMq8.js"),__vite__mapDeps([204,203,202,103,104,199,72,3,34,4,2,39])),"/src/views/error/403.vue":()=>de(()=>import("./403-CQMSgVWN.js"),[]),"/src/views/error/404.vue":()=>de(()=>import("./404-BAzhlHxi.js"),[]),"/src/views/error/500.vue":()=>de(()=>import("./500-b-pxYusG.js"),[]),"/src/views/gift/giftClassif/form.vue":()=>de(()=>import("./form-BHwZ36I5.js"),__vite__mapDeps([205,206])),"/src/views/gift/giftClassif/hook.tsx":()=>de(()=>import("./hook-CjIFaqzN.js"),__vite__mapDeps([207,206,208])),"/src/views/gift/giftClassif/index.vue":()=>de(()=>import("./index-CYcgSOAr.js"),__vite__mapDeps([209,207,206,208,72,3,34,4,2,39])),"/src/views/gift/giftList/form.vue":()=>de(()=>import("./form-CkCLPV8z.js"),__vite__mapDeps([210,211,103,104,208])),"/src/views/gift/giftList/hook.tsx":()=>de(()=>import("./hook-DvvFNjQd.js"),__vite__mapDeps([212,211,103,104,208])),"/src/views/gift/giftList/index.vue":()=>de(()=>import("./index-WCTES6Qb.js"),__vite__mapDeps([213,212,211,103,104,208,72,3,34,4,2,39])),"/src/views/login/index.vue":()=>de(()=>import("./index-D_y0JdvO.js"),__vite__mapDeps([214,1,2,3,215])),"/src/views/message/form.vue":()=>de(()=>import("./form-D02e1km0.js"),__vite__mapDeps([216,217,218,72,3,39,78,79,103,104])),"/src/views/message/hook.tsx":()=>de(()=>import("./hook-By6PN52u.js"),__vite__mapDeps([219,217,218,72,3,39,78,79,103,104])),"/src/views/message/index.vue":()=>de(()=>import("./index-CJx9PbaV.js"),__vite__mapDeps([220,219,217,218,72,3,39,78,79,103,104,34,4,2])),"/src/views/message/selectUser.vue":()=>de(()=>import("./selectUser-Baxbw5aN.js"),__vite__mapDeps([221,218,72,3])),"/src/views/newuser/backpackList/hook.tsx":()=>de(()=>import("./hook-Cu2m7nUk.js"),__vite__mapDeps([222,223,84,115])),"/src/views/newuser/backpackList/index.vue":()=>de(()=>import("./index-b2QGhSBk.js"),__vite__mapDeps([224,222,223,84,115,72,3,34,4,2])),"/src/views/newuser/disableUser/form.vue":()=>de(()=>import("./form-PmvzrEjj.js"),__vite__mapDeps([225,226])),"/src/views/newuser/disableUser/hook.tsx":()=>de(()=>import("./hook-CHHiWwRk.js"),__vite__mapDeps([227,226,228])),"/src/views/newuser/disableUser/index.vue":()=>de(()=>import("./index-Dj6n2UWl.js"),__vite__mapDeps([229,227,226,228,72,3,34,4,2,39])),"/src/views/newuser/newuserList/banUser.vue":()=>de(()=>import("./banUser-CzmElq7T.js"),__vite__mapDeps([230,231])),"/src/views/newuser/newuserList/detail.vue":()=>de(()=>import("./detail-CoKcup1p.js"),__vite__mapDeps([232,115,84,228,233])),"/src/views/newuser/newuserList/form.vue":()=>de(()=>import("./form-DKWZQSFz.js"),__vite__mapDeps([234,235])),"/src/views/newuser/newuserList/fundSetting.vue":()=>de(()=>import("./fundSetting-IrTyRv5s.js"),__vite__mapDeps([236,237])),"/src/views/newuser/newuserList/hook.tsx":()=>de(()=>import("./hook-7T2A1rw1.js"),__vite__mapDeps([238,235,232,115,84,228,233,231,239,237,240])),"/src/views/newuser/newuserList/index.vue":()=>de(()=>import("./index-Cc_0L-Cy.js"),__vite__mapDeps([241,238,235,232,115,84,228,233,231,239,237,240,72,3,34,4,2,242])),"/src/views/newuser/newuserList/password.vue":()=>de(()=>import("./password-B_UQtpXk.js"),__vite__mapDeps([243,239])),"/src/views/newuser/newuserList/searchMore.vue":()=>de(()=>import("./searchMore-CRjVM72Y.js"),__vite__mapDeps([244,240])),"/src/views/newuser/newuserTag/form.vue":()=>de(()=>import("./form-BZzRJel9.js"),__vite__mapDeps([245,246])),"/src/views/newuser/newuserTag/hook.tsx":()=>de(()=>import("./hook-Cmz51VBR.js"),__vite__mapDeps([247,246])),"/src/views/newuser/newuserTag/index.vue":()=>de(()=>import("./index-C0LFxHqz.js"),__vite__mapDeps([248,247,246,34,4,2,3,39])),"/src/views/newuser/robotList/hook.tsx":()=>de(()=>import("./hook-CGQvpszg.js"),__vite__mapDeps([249,223])),"/src/views/newuser/robotList/index.vue":()=>de(()=>import("./index-rmU7m9kC.js"),__vite__mapDeps([250,249,223,72,3,34,4,2])),"/src/views/paradise/drawOrlockList/Results.vue":()=>de(()=>import("./Results-CTbhkdbm.js"),__vite__mapDeps([251,72,3,90,252])),"/src/views/paradise/drawOrlockList/index.vue":()=>de(()=>import("./index-CzNuRbgv.js"),__vite__mapDeps([253,254,72,3,75,90,255,251,252])),"/src/views/paradise/drawOrlockList/statistics.vue":()=>de(()=>import("./statistics-CD2s0qhH.js"),__vite__mapDeps([254,72,3,75,90,255])),"/src/views/paradise/paradiseList/form.vue":()=>de(()=>import("./form-B4TnR98C.js"),__vite__mapDeps([256,257,75])),"/src/views/paradise/paradiseList/hook.tsx":()=>de(()=>import("./hook-Dh7wG1Je.js"),__vite__mapDeps([258,75,257,259,78,79,260])),"/src/views/paradise/paradiseList/index.vue":()=>de(()=>import("./index-BqQQwtyC.js"),__vite__mapDeps([261,258,75,257,259,78,79,260,72,3,34,4,2,262])),"/src/views/paradise/paradiseList/settingRule.vue":()=>de(()=>import("./settingRule-C5k_xNPq.js"),__vite__mapDeps([259,78,79,75,260])),"/src/views/permission/permissionList/form.vue":()=>de(()=>import("./form-D2R1oXbT.js"),__vite__mapDeps([263,264])),"/src/views/permission/permissionList/hook.tsx":()=>de(()=>import("./hook-QVaAWfWn.js"),__vite__mapDeps([265,264,62])),"/src/views/permission/permissionList/index.vue":()=>de(()=>import("./index-C_Zp3d9X.js"),__vite__mapDeps([266,265,264,62,34,4,2,3,39])),"/src/views/permission/roleList/form.vue":()=>de(()=>import("./form-DElwMeM_.js"),__vite__mapDeps([267,268])),"/src/views/permission/roleList/hook.tsx":()=>de(()=>import("./hook-CrUUUJJN.js"),__vite__mapDeps([269,268,62])),"/src/views/permission/roleList/index.vue":()=>de(()=>import("./index-DyzFDIob.js"),__vite__mapDeps([270,269,268,62,34,4,2,3,39])),"/src/views/room/RedEnvelope/form.vue":()=>de(()=>import("./form-DXUOuedk.js"),__vite__mapDeps([271,272])),"/src/views/room/RedEnvelope/hook.tsx":()=>de(()=>import("./hook-D1E4JEIG.js"),__vite__mapDeps([273,272,84,90,115])),"/src/views/room/RedEnvelope/index.vue":()=>de(()=>import("./index-B2f9qT3k.js"),__vite__mapDeps([274,273,272,84,90,115,72,3,34,4,2])),"/src/views/room/expression/TypeList/form.vue":()=>de(()=>import("./form-BgAFnLOu.js"),__vite__mapDeps([275,276])),"/src/views/room/expression/TypeList/index.vue":()=>de(()=>import("./index-BTQkAWUQ.js"),__vite__mapDeps([277,276,278,279])),"/src/views/room/expression/form.vue":()=>de(()=>import("./form-jJLIPGwx.js"),__vite__mapDeps([280,281,103,104,278])),"/src/views/room/expression/hook.tsx":()=>de(()=>import("./hook-Bpp-GyDv.js"),__vite__mapDeps([282,281,103,104,278,277,276,279])),"/src/views/room/expression/index.vue":()=>de(()=>import("./index-CcSdTVq6.js"),__vite__mapDeps([283,282,281,103,104,278,277,276,279,72,3,34,4,2,39])),"/src/views/room/hourlyChart/hook.tsx":()=>de(()=>import("./hook-BjKxPh4y.js"),__vite__mapDeps([284,84,115,285,286,75,33])),"/src/views/room/hourlyChart/index.vue":()=>de(()=>import("./index-BhmpNw57.js"),__vite__mapDeps([287,284,84,115,285,286,75,33,72,3,34,4,2])),"/src/views/room/hourlyChart/reward.vue":()=>de(()=>import("./reward-B2oumiHJ.js"),__vite__mapDeps([288,286,75,33])),"/src/views/room/hourlyChart/ruleform.vue":()=>de(()=>import("./ruleform-JLKhcDlj.js"),__vite__mapDeps([289,285,286,75,33])),"/src/views/room/movieRoom/demo.vue":()=>de(()=>import("./demo-DDf_ewnH.js"),__vite__mapDeps([290,291])),"/src/views/room/movieRoom/detail.vue":()=>de(()=>import("./detail-Bwo4RQCm.js"),__vite__mapDeps([292,293,90,290,291])),"/src/views/room/movieRoom/hook.tsx":()=>de(()=>import("./hook-rCjAVbXe.js"),__vite__mapDeps([294,293,90,290,291,84,115])),"/src/views/room/movieRoom/index.vue":()=>de(()=>import("./index-B3d3Ju_m.js"),__vite__mapDeps([295,294,293,90,290,291,84,115,72,3,34,4,2])),"/src/views/room/roomBackground/form.vue":()=>de(()=>import("./form-jK87XWm5.js"),__vite__mapDeps([296,297,103,104])),"/src/views/room/roomBackground/hook.tsx":()=>de(()=>import("./hook-B3EaNBmR.js"),__vite__mapDeps([298,297,103,104,90])),"/src/views/room/roomBackground/index.vue":()=>de(()=>import("./index-B4RoZEnG.js"),__vite__mapDeps([299,298,297,103,104,90,72,3,34,4,2,39])),"/src/views/room/roomExamine/form.vue":()=>de(()=>import("./form-BtcpgtET.js"),__vite__mapDeps([300,301])),"/src/views/room/roomExamine/hook.tsx":()=>de(()=>import("./hook-D3ivzqp-.js"),__vite__mapDeps([302,301,90])),"/src/views/room/roomExamine/index.vue":()=>de(()=>import("./index-2Igmpvq2.js"),__vite__mapDeps([303,302,301,90,72,3,34,4,2])),"/src/views/room/roomHeadlines/hook.tsx":()=>de(()=>import("./hook-CH1Mbh-O.js"),__vite__mapDeps([304,90])),"/src/views/room/roomHeadlines/index.vue":()=>de(()=>import("./index-EwQ01Ae3.js"),__vite__mapDeps([305,304,90,72,3,34,4,2])),"/src/views/room/roomList/Turntable/Turntable.vue":()=>de(()=>import("./Turntable-CE26Uy5Z.js"),__vite__mapDeps([306,307,308,72,3,75,90,309])),"/src/views/room/roomList/Turntable/lotteryResults.vue":()=>de(()=>import("./lotteryResults-DJYXQbLC.js"),__vite__mapDeps([89,72,3,75,90,91])),"/src/views/room/roomList/Turntable/statistics.vue":()=>de(()=>import("./statistics-gtweHPF5.js"),__vite__mapDeps([308,72,3,75,90,309])),"/src/views/room/roomList/XunLeHui/Results.vue":()=>de(()=>import("./Results-CDWDzDys.js"),__vite__mapDeps([310,72,3,90,311])),"/src/views/room/roomList/XunLeHui/index.vue":()=>de(()=>import("./index-B1izZtpc.js"),__vite__mapDeps([312,313,314,72,3,75,90,315,310,311])),"/src/views/room/roomList/XunLeHui/statistics.vue":()=>de(()=>import("./statistics-B6YG3tm9.js"),__vite__mapDeps([314,72,3,75,90,315])),"/src/views/room/roomList/detail.vue":()=>de(()=>import("./detail-tHZGhNpK.js"),__vite__mapDeps([316,90,317])),"/src/views/room/roomList/form.vue":()=>de(()=>import("./form-vOGmFg76.js"),__vite__mapDeps([318,90,103,104,319])),"/src/views/room/roomList/hook.tsx":()=>de(()=>import("./hook-D_VvVAo0.js"),__vite__mapDeps([320,318,90,103,104,319,316,317,307,308,72,3,75,309,313,314,315,310,311,84,115])),"/src/views/room/roomList/index.vue":()=>de(()=>import("./index-BYz_twjO.js"),__vite__mapDeps([321,320,318,90,103,104,319,316,317,307,308,72,3,75,309,313,314,315,310,311,84,115,34,4,2])),"/src/views/room/roomLog/hook.tsx":()=>de(()=>import("./hook-sPkJBzMb.js"),__vite__mapDeps([322,90])),"/src/views/room/roomLog/index.vue":()=>de(()=>import("./index-B2gtU51f.js"),__vite__mapDeps([323,322,90,72,3,34,4,2])),"/src/views/room/roomRelation/form.vue":()=>de(()=>import("./form-Dtdylii9.js"),__vite__mapDeps([324,325,103,104])),"/src/views/room/roomRelation/hook.tsx":()=>de(()=>import("./hook-B8dlrmJp.js"),__vite__mapDeps([326,325,103,104,90])),"/src/views/room/roomRelation/index.vue":()=>de(()=>import("./index-DwL6utlF.js"),__vite__mapDeps([327,326,325,103,104,90,72,3,34,4,2,39])),"/src/views/room/roomRules/form.vue":()=>de(()=>import("./form-BWLS5Ow3.js"),__vite__mapDeps([328,329])),"/src/views/room/roomRules/hook.tsx":()=>de(()=>import("./hook-Cgu1CRpq.js"),__vite__mapDeps([330,329,90])),"/src/views/room/roomRules/index.vue":()=>de(()=>import("./index-CcIJUKVI.js"),__vite__mapDeps([331,330,329,90,34,4,2,3,39])),"/src/views/room/roomSubsidy/form.vue":()=>de(()=>import("./form-CPcgeuLy.js"),__vite__mapDeps([332,333])),"/src/views/room/roomSubsidy/hook.tsx":()=>de(()=>import("./hook-zL8rQorN.js"),__vite__mapDeps([334,333,84,90,115])),"/src/views/room/roomSubsidy/index.vue":()=>de(()=>import("./index-C2Zdxys-.js"),__vite__mapDeps([335,334,333,84,90,115,72,3,34,4,2])),"/src/views/room/roomTag/form.vue":()=>de(()=>import("./form-B3TNAD2z.js"),__vite__mapDeps([336,337,103,104])),"/src/views/room/roomTag/hook.tsx":()=>de(()=>import("./hook-D8f-8M1Z.js"),__vite__mapDeps([338,337,103,104,90])),"/src/views/room/roomTag/index.vue":()=>de(()=>import("./index-ZJH550hN.js"),__vite__mapDeps([339,338,337,103,104,90,72,3,34,4,2,39])),"/src/views/room/roomType/form.vue":()=>de(()=>import("./form-Dydv0qVC.js"),__vite__mapDeps([340,341])),"/src/views/room/roomType/hook.tsx":()=>de(()=>import("./hook-BP3Kkray.js"),__vite__mapDeps([342,341,90])),"/src/views/room/roomType/index.vue":()=>de(()=>import("./index-xIaISvWx.js"),__vite__mapDeps([343,342,341,90,72,3,34,4,2,39])),"/src/views/system/Tasks/form.vue":()=>de(()=>import("./form-DfpZgn0P.js"),__vite__mapDeps([344,345])),"/src/views/system/Tasks/hook.tsx":()=>de(()=>import("./hook-HsyWGcg9.js"),__vite__mapDeps([346,345,347])),"/src/views/system/Tasks/index.vue":()=>de(()=>import("./index-Gf7kgdIQ.js"),__vite__mapDeps([348,346,345,347,72,3,34,4,2])),"/src/views/system/helpCenter/hook.tsx":()=>de(()=>import("./hook-Cw4f7hxK.js"),__vite__mapDeps([349,347,350,351])),"/src/views/system/helpCenter/index.vue":()=>de(()=>import("./index-DTSPZmh0.js"),__vite__mapDeps([352,34,4,2,3,39,349,347,350,351,353])),"/src/views/system/helpCenter/problemForm.vue":()=>de(()=>import("./problemForm-DhCvb7rE.js"),__vite__mapDeps([354,351])),"/src/views/system/helpCenter/typeForm.vue":()=>de(()=>import("./typeForm-kgA7NaMW.js"),__vite__mapDeps([355,350])),"/src/views/system/private/hook.tsx":()=>de(()=>import("./hook-nxxl-JO8.js"),__vite__mapDeps([356,347])),"/src/views/system/private/index.vue":()=>de(()=>import("./index-Dxv8yK_D.js"),__vite__mapDeps([357,356,347])),"/src/views/system/rechargeRules/form.vue":()=>de(()=>import("./form-B3yIyDdM.js"),__vite__mapDeps([358,359])),"/src/views/system/rechargeRules/hook.tsx":()=>de(()=>import("./hook-DcGH6AK7.js"),__vite__mapDeps([360,359,347])),"/src/views/system/rechargeRules/index.vue":()=>de(()=>import("./index-DbM4MTin.js"),__vite__mapDeps([361,360,359,347,34,4,2,3,39])),"/src/views/system/singlePage/form.vue":()=>de(()=>import("./form-C0MZn3JX.js"),__vite__mapDeps([362,363,78,79])),"/src/views/system/singlePage/hook.tsx":()=>de(()=>import("./hook-BK0v_dXT.js"),__vite__mapDeps([364,363,78,79,347])),"/src/views/system/singlePage/index.vue":()=>de(()=>import("./index-CSXUiThf.js"),__vite__mapDeps([365,364,363,78,79,347,72,3,34,4,2,39])),"/src/views/system/themeManage/form.vue":()=>de(()=>import("./form-Y0OaDech.js"),__vite__mapDeps([366,367])),"/src/views/system/themeManage/hook.tsx":()=>de(()=>import("./hook-B_Z2UEj_.js"),__vite__mapDeps([368,367,347])),"/src/views/system/themeManage/index.vue":()=>de(()=>import("./index-DDJtvLE5.js"),__vite__mapDeps([369,368,367,347,34,4,2,3,39])),"/src/views/union/unionList/form.vue":()=>de(()=>import("./form-DL0yqwo3.js"),__vite__mapDeps([370,371,103,104])),"/src/views/union/unionList/hook.tsx":()=>de(()=>import("./hook-BTAMor4e.js"),__vite__mapDeps([372,371,103,104,373,72,3,374,375,84,376])),"/src/views/union/unionList/index.vue":()=>de(()=>import("./index-SWkJhadt.js"),__vite__mapDeps([377,372,371,103,104,373,72,3,374,375,84,376,34,4,2,39])),"/src/views/union/unionList/memberList.vue":()=>de(()=>import("./memberList-nyN3j1pZ.js"),__vite__mapDeps([378,373,72,3,374])),"/src/views/union/unionList/mergeForm.vue":()=>de(()=>import("./mergeForm-CNAcqCV3.js"),__vite__mapDeps([379,376])),"/src/views/union/unionList/roomList.vue":()=>de(()=>import("./roomList-vZAfCQ5p.js"),__vite__mapDeps([380,375,72,3,84,374])),"/src/views/union/unionRule/form.vue":()=>de(()=>import("./form-CdcT1W8H.js"),__vite__mapDeps([381,382])),"/src/views/union/unionRule/hook.tsx":()=>de(()=>import("./hook-DkPCSM4g.js"),__vite__mapDeps([383,382,374])),"/src/views/union/unionRule/index.vue":()=>de(()=>import("./index-C4v5SHzn.js"),__vite__mapDeps([384,383,382,374,34,4,2,3,39])),"/src/views/union/unionSubsidy/form.vue":()=>de(()=>import("./form-Dm9Jh_9g.js"),__vite__mapDeps([385,386])),"/src/views/union/unionSubsidy/hook.tsx":()=>de(()=>import("./hook-CvzxUpHj.js"),__vite__mapDeps([387,386,84,374,115])),"/src/views/union/unionSubsidy/index.vue":()=>de(()=>import("./index-BZ31fMr-.js"),__vite__mapDeps([388,387,386,84,374,115,72,3,34,4,2])),"/src/views/welcome/components/charts/ChartBar.vue":()=>de(()=>import("./ChartBar-dEzbL1OS.js"),__vite__mapDeps([389,14])),"/src/views/welcome/components/charts/ChartLine.vue":()=>de(()=>import("./ChartLine-DfOKTuMl.js"),__vite__mapDeps([390,19])),"/src/views/welcome/components/charts/ChartRound.vue":()=>de(()=>import("./ChartRound-BaGFXPML.js"),__vite__mapDeps([391,22])),"/src/views/welcome/components/charts/lineSmall.vue":()=>de(()=>import("./lineSmall-BouZHAHB.js"),[]),"/src/views/welcome/components/charts/mapChart.vue":()=>de(()=>import("./mapChart-B1V9FHya.js"),[]),"/src/views/welcome/components/table/columns.tsx":()=>de(()=>import("./columns-Dy-3Rh5O.js"),[]),"/src/views/welcome/components/table/index.vue":()=>de(()=>import("./index-C9op5LST.js"),__vite__mapDeps([392,393,3,394])),"/src/views/welcome/index.vue":()=>de(()=>import("./index-CH-QkARt.js"),__vite__mapDeps([6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26])),"/src/views/welcome/modules/chart.vue":()=>de(()=>import("./chart-jUPx5-VX.js"),__vite__mapDeps([13,14,15])),"/src/views/welcome/modules/giftChart.vue":()=>de(()=>import("./giftChart-CQVvbp7_.js"),__vite__mapDeps([18,19,20])),"/src/views/welcome/modules/map.vue":()=>de(()=>import("./map-BdaFpA2n.js"),__vite__mapDeps([395,24,25])),"/src/views/welcome/modules/member.vue":()=>de(()=>import("./member-BodyTTmW.js"),__vite__mapDeps([21,22,8,9,23])),"/src/views/welcome/modules/message.vue":()=>de(()=>import("./message-Dh5idbpX.js"),__vite__mapDeps([16,17])),"/src/views/welcome/modules/statistics.vue":()=>de(()=>import("./statistics-CvEV64pu.js"),__vite__mapDeps([7,8,9,10])),"/src/views/welcome/modules/todoVIew.vue":()=>de(()=>import("./todoVIew-C7ApMOSc.js"),__vite__mapDeps([11,8,9,12]))});function rRe(e){const{name:t,path:n,parentId:r,meta:a}=e;return Il(r)?!!(Il(a==null?void 0:a.rank)||(a==null?void 0:a.rank)===0&&t!=="Home"&&n!=="/"):!1}function Dm(e){return e.forEach((t,n)=>{rRe(t)&&(t.meta.rank=n+2)}),e.sort((t,n)=>(t==null?void 0:t.meta.rank)-(n==null?void 0:n.meta.rank))}function lM(e){const t=wg(e).filter(n=>{var r;return((r=n.meta)==null?void 0:r.showLink)!==!1});return t.forEach(n=>n.children&&(n.children=lM(n.children))),t}function aRe(e){const t=wg(e).filter(n=>{var r;return((r=n==null?void 0:n.children)==null?void 0:r.length)!==0});return t.forEach(n=>n.children&&(n.children=lM(n.children))),t}function Hj(e,t){return Array.isArray(e)&&Array.isArray(t)?j3e(e,t).length>0:!0}function Wj(e){var r,a;const t=(a=(r=Wn().getItem(ia))==null?void 0:r.roles)!=null?a:[],n=wg(e).filter(o=>{var i;return Hj((i=o.meta)==null?void 0:i.roles,t)});return n.forEach(o=>o.children&&(o.children=Wj(o.children))),aRe(n)}function mXe(e,t,n="path"){function r(a,o,i){for(let s=0;sr.path==e);if(n)return Gd(n)?Xt(n):n;for(let r=0;r0&&(n=Uj(e,t[r].children),n))return Gd(n)?Xt(n):n;return null}function oRe(){Zn.hasRoute("pathMatch")||Zn.addRoute({path:"/:pathMatch(.*)",name:"pathMatch",redirect:"/error/404"})}function oC(e){e.length===0||Aw(Kj(e)).map(t=>{if(Zn.options.routes[0].children.findIndex(n=>n.path===t.path)===-1){Zn.options.routes[0].children.push(t),Dm(Zn.options.routes[0].children),Zn.hasRoute(t==null?void 0:t.name)||Zn.addRoute(t);const n=Zn.getRoutes().find(r=>r.path==="/");Zn.addRoute(n)}}),wo().handleWholeMenus(e),Yl().getMultiTagsCache||Yl().handleTags("equal",[...gw,...wo().flatteningRoutes.filter(t=>{var n;return(n=t==null?void 0:t.meta)==null?void 0:n.fixedTag})]),oRe()}function iRe(){var e;if((e=$c())!=null&&e.CachingAsyncRoutes){const t="async-routes",n=Wn().getItem(t);return n&&(n==null?void 0:n.length)>0?new Promise(r=>{oC(n),r(Zn)}):new Promise(r=>{q4().then(({data:a})=>{let o=[...a],i=[];o.forEach(s=>{`${s.name}`,s.name,s.title;const l={path:`/${s.name}`,meta:{title:s.title,icon:s.icon},children:s.childlist?s.childlist.map(u=>({path:`/${s.name}/${u.extend}/index`,name:u.extend,componentName:`@/views/${s.name}/${u.extend}/index.vue`,meta:{icon:u.icon,title:u.title,showParent:!0}})):[{path:`/${s.extend}/index`,name:s.extend,component:()=>_2(Object.assign({"../views/Version/index.vue":()=>de(()=>import("./index-D9JFsWL3.js"),__vite__mapDeps([184,183,182,78,79,72,3,34,4,2,39])),"../views/advertisement/index.vue":()=>de(()=>import("./index-BS7_oOYi.js"),__vite__mapDeps([188,187,186,78,79,103,104,72,3,34,4,2,39])),"../views/login/index.vue":()=>de(()=>import("./index-D_y0JdvO.js"),__vite__mapDeps([214,1,2,3,215])),"../views/message/index.vue":()=>de(()=>import("./index-CJx9PbaV.js"),__vite__mapDeps([220,219,217,218,72,3,39,78,79,103,104,34,4,2])),"../views/welcome/index.vue":()=>de(()=>import("./index-CH-QkARt.js"),__vite__mapDeps([6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]))}),`../views/${s.extend}/index.vue`,4),meta:{title:s.title}}]};i.push(l)}),oC(wg(i)),Wn().setItem(t,i),r(Zn)})})}else return new Promise(t=>{q4().then(({data:n})=>{let r=[...n],a=[];r.forEach(o=>{const i=[{path:`/${o.name}`,name:o.name,component:()=>_2(Object.assign({"../views/Version/index.vue":()=>de(()=>import("./index-D9JFsWL3.js"),__vite__mapDeps([184,183,182,78,79,72,3,34,4,2,39])),"../views/advertisement/index.vue":()=>de(()=>import("./index-BS7_oOYi.js"),__vite__mapDeps([188,187,186,78,79,103,104,72,3,34,4,2,39])),"../views/login/index.vue":()=>de(()=>import("./index-D_y0JdvO.js"),__vite__mapDeps([214,1,2,3,215])),"../views/message/index.vue":()=>de(()=>import("./index-CJx9PbaV.js"),__vite__mapDeps([220,219,217,218,72,3,39,78,79,103,104,34,4,2])),"../views/welcome/index.vue":()=>de(()=>import("./index-CH-QkARt.js"),__vite__mapDeps([6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]))}),`../views/${o.name}/index.vue`,4),meta:{title:o.title}}],s={path:`/${o.name}`,meta:{title:o.title,icon:o.icon},children:o.childlist?o.childlist.map(l=>({path:`/${o.name}/${l.extend}/index`,name:l.extend,meta:{icon:l.icon,title:l.title,showParent:!0}})):i};a.push(s)}),oC(wg(a)),t(Zn)})})}function Aw(e){if(e.length===0)return e;let t=xw(e);for(let n=0;n{var r;n.path==="/"?t.push({component:n.component,name:n.name,path:n.path,redirect:n.redirect,meta:n.meta,children:[]}):(r=t[0])==null||r.children.push(X({},n))}),t}function X4({name:e},t){switch(t){case"add":wo().cacheOperate({mode:"add",name:e});break;case"delete":wo().cacheOperate({mode:"delete",name:e});break;case"refresh":wo().cacheOperate({mode:"refresh",name:e});break;default:wo().cacheOperate({mode:"delete",name:e}),Y5(()=>{wo().cacheOperate({mode:"add",name:e})},100)}}function Kj(e){if(!e||!e.length)return;const t=Object.keys(Y4);return e.forEach(n=>{var r;if(n.meta.backstage=!0,n!=null&&n.children&&n.children.length&&!n.redirect&&(n.redirect=n.children[0].path),n!=null&&n.children&&n.children.length&&!n.name&&(n.name=n.children[0].name+"Parent"),(r=n.meta)!=null&&r.frameSrc)n.component=nRe;else{const a=n!=null&&n.component?t.findIndex(o=>o.includes(n.component)):t.findIndex(o=>o.includes(n.path));n.component=Y4[t[a]]}n!=null&&n.children&&n.children.length&&Kj(n.children)}),e}function sRe(e){const t=e.split(","),n=t[0],r=t[1];if(t.length===1){if(n==="hash")return J8("");if(n==="h5")return KE("")}else if(t.length===2){if(n==="hash")return J8(r);if(n==="h5")return KE(r)}}function lRe(){return Zn.currentRoute.value.meta.auths}function Gj(e){if(!e)return!1;const t=lRe();return t?!!(Am(e)?t.includes(e):ZU(e,t)):!1}function uRe(e){return e!=null&&e.children&&e.children.length>1?e.redirect?e.children.filter(t=>t.path===e.redirect)[0]:e.children[0]:e}function cRe(e=!1){var n;const t=uRe((n=wo().wholeMenus[0])==null?void 0:n.children[0]);return e&&Yl().handleTags("push",t),t}const fRe=e=>Im.request("post","/adminapi/Index/login",{data:e}),dRe=e=>Im.request("post","/adminapi/Index/logout",{data:e}),hRe=e=>Im.request("post","/adminapi/Rule/menus",{data:e}),pRe=e=>Im.request("post","/refresh-token",{data:e}),vRe=Z5({id:"pure-user",state:()=>{var e,t,n,r,a,o,i,s,l,u;return{avatar:(t=(e=Wn().getItem(ia))==null?void 0:e.avatar)!=null?t:"",username:(r=(n=Wn().getItem(ia))==null?void 0:n.username)!=null?r:"",nickname:(o=(a=Wn().getItem(ia))==null?void 0:a.nickname)!=null?o:"",roles:(s=(i=Wn().getItem(ia))==null?void 0:i.roles)!=null?s:[],permissions:(u=(l=Wn().getItem(ia))==null?void 0:l.permissions)!=null?u:[],isRemembered:!1,loginDay:7}},actions:{SET_AVATAR(e){this.avatar=e},SET_USERNAME(e){this.username=e},SET_NICKNAME(e){this.nickname=e},SET_ROLES(e){this.roles=e},SET_PERMS(e){this.permissions=e},SET_ISREMEMBERED(e){this.isRemembered=e},SET_LOGINDAY(e){this.loginDay=Number(e)},loginByUsername(e){return ut(this,null,function*(){return new Promise((t,n)=>{fRe(e).then(r=>{r!=null&&r.code&&XE(r.data),t(r)}).catch(r=>{n(r)})})})},loginOutUsername(){return ut(this,null,function*(){return new Promise((e,t)=>{dRe().then(n=>{e(n)}).catch(n=>{t(n)})})})},getMenuList(e){return ut(this,null,function*(){return new Promise((t,n)=>{hRe(e).then(r=>{t(r)}).catch(r=>{n(r)})})})},logOut(){this.username="",this.roles=[],this.permissions=[],cM(),Yl().handleTags("equal",[...gw]),wRe(),Zn.push("/login")},handRefreshToken(e){return ut(this,null,function*(){return new Promise((t,n)=>{pRe(e).then(r=>{r&&(XE(r.data),t(r))}).catch(r=>{n(r)})})})}}});function Ds(){return vRe(vw)}const ia="user-info",xg="authorized-token",uM="multiple-tabs";function gRe(){return ql.get(xg)?JSON.parse(ql.get(xg)):Wn().getItem(ia)}function XE(e){var l,u,c,f,h,d,p,v,g,m,w,_,b;let t=0;const{accessToken:n,refreshToken:r}=e,{isRemembered:a,loginDay:o}=Ds();t=new Date(e.expires).getTime();const i=JSON.stringify({accessToken:n,expires:t,refreshToken:r});t>0?ql.set(xg,i,{expires:(t-Date.now())/864e5}):ql.set(xg,i),ql.set(uM,"true",a?{expires:o}:{});function s({avatar:S,username:C,nickname:T,roles:x,permissions:E}){Ds().SET_AVATAR(S),Ds().SET_USERNAME(C),Ds().SET_NICKNAME(T),Ds().SET_ROLES(x),Ds().SET_PERMS(E),Wn().setItem(ia,{refreshToken:r,expires:t,avatar:S,username:C,nickname:T,roles:x,permissions:E})}if(e.username&&e.roles){const{username:S,roles:C}=e;s({avatar:(l=e==null?void 0:e.avatar)!=null?l:"",username:S,nickname:(u=e==null?void 0:e.nickname)!=null?u:"",roles:C,permissions:(c=e==null?void 0:e.permissions)!=null?c:[]})}else{const S=(h=(f=Wn().getItem(ia))==null?void 0:f.avatar)!=null?h:"",C=(p=(d=Wn().getItem(ia))==null?void 0:d.username)!=null?p:"",T=(g=(v=Wn().getItem(ia))==null?void 0:v.nickname)!=null?g:"",x=(w=(m=Wn().getItem(ia))==null?void 0:m.roles)!=null?w:[],E=(b=(_=Wn().getItem(ia))==null?void 0:_.permissions)!=null?b:[];s({avatar:S,username:C,nickname:T,roles:x,permissions:E})}}function cM(){ql.remove(xg),ql.remove(uM),Wn().removeItem(ia),Wn().removeItem("async-routes"),Wn().removeItem("permissions")}const iC=e=>e,qj=e=>{if(!e)return!1;const t="*:*:*",{permissions:n}=Ds();return n?n.length===1&&n[0]===t?!0:!!(Am(e)?n.includes(e):ZU(e,n)):!1};(function(){const e=U3e(location.href),t=["username","roles","accessToken"],n=t.length;if(Object.keys(e).length!==n)return;let r=[],a=0;for(;ade(()=>import("./index-i6U3xXNN.js"),__vite__mapDeps([0,1,2,3,4,5])),kb=[{path:"/login",name:"Login",component:()=>de(()=>import("./index-D_y0JdvO.js"),__vite__mapDeps([214,1,2,3,215])),meta:{title:"登录",showLink:!1,rank:101}},{path:"/redirect",component:mRe,meta:{title:"加载中...",showLink:!1,rank:102},children:[{path:"/redirect/:path(.*)",name:"Redirect",component:()=>de(()=>import("./redirect-BPjKVNKz.js"),[])}]}],yRe={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_CDN:"false",VITE_COMPRESSION:"none",VITE_HIDE_HOME:"false",VITE_PORT:"8848",VITE_PUBLIC_PATH:"/",VITE_ROUTER_HISTORY:"hash"},Z4=Object.assign({"./modules/add.ts":_5e,"./modules/error.ts":T5e,"./modules/home.ts":M5e}),Mw=[];Object.keys(Z4).forEach(e=>{Mw.push(Z4[e].default)});const bRe=jj(Aw(xw(Dm(Mw.flat(1/0))))),_Re=Dm(Mw.flat(1/0)).concat(...kb),yXe=Object.keys(kb).map(e=>kb[e].path),Zn=bPe({history:sRe("hash"),routes:bRe.concat(...kb),strict:!0,scrollBehavior(e,t,n){return new Promise(r=>{if(n)return n;if(t.meta.saveSrollTop){const a=document.documentElement.scrollTop||document.body.scrollTop;r({left:0,top:a})}})}});function wRe(){Zn.getRoutes().forEach(e=>{const{name:t,meta:n}=e;t&&Zn.hasRoute(t)&&(n!=null&&n.backstage)&&(Zn.removeRoute(t),Zn.options.routes=jj(Aw(xw(Dm(Mw.flat(1/0))))))}),wo().clearAllCachePage()}const J4=["/login"],{VITE_HIDE_HOME:SRe}=yRe;Zn.beforeEach((e,t,n)=>{var i,s,l;(i=e.meta)!=null&&i.keepAlive&&(X4(e,"add"),(t.name===void 0||t.name==="Redirect")&&X4(e));const r=Wn().getItem(ia);Nc.start();const a=K5(e==null?void 0:e.name);a||e.matched.some(u=>{if(!u.meta.title)return"";$c().Title});function o(){J4.includes(e.fullPath)?n(t.fullPath):n()}ql.get(uM)&&r?((s=e.meta)!=null&&s.roles&&!Hj((l=e.meta)==null?void 0:l.roles,r==null?void 0:r.roles)&&n({path:"/error/403"}),SRe==="true"&&e.fullPath==="/welcome"&&n({path:"/error/404"}),t!=null&&t.name?a?(F3e(e==null?void 0:e.name),Nc.done()):o():(wo().wholeMenus.length===0&&e.path!=="/login"&&iRe().then(u=>{var c,f;if(!Yl().getMultiTagsCache){const{path:h}=e,d=Uj(h,u.options.routes[0].children);if(cRe(!0),d&&((c=d.meta)!=null&&c.title))if(Il(d.parentId)&&((f=d.meta)!=null&&f.backstage)){const{path:p,name:v,meta:g}=d.children[0];Yl().handleTags("push",{path:p,name:v,meta:g})}else{const{path:p,name:v,meta:g}=d;Yl().handleTags("push",{path:p,name:v,meta:g})}}Il(e.name)&&u.push(e.fullPath)}),o())):e.path!=="/login"?J4.indexOf(e.path)!==-1?n():(cM(),n({path:"/login"})):n()});Zn.afterEach(()=>{Nc.done()});function sC(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function ZE(e,t,n=".",r){if(!sC(t))return ZE(e,{},n,r);const a=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(a,o,i,n)||(Array.isArray(i)&&Array.isArray(a[o])?a[o]=[...i,...a[o]]:sC(i)&&sC(a[o])?a[o]=ZE(i,a[o],(n?`${n}.`:"")+o.toString(),r):a[o]=i))}return a}function CRe(e){return(...t)=>t.reduce((n,r)=>ZE(n,r,"",e),{})}const Yj=CRe();function Xj(e){return Dh()?(Lh(e),!0):!1}function fM(e){return typeof e=="function"?e():y(e)}const TRe=typeof window!="undefined"&&typeof document!="undefined";typeof WorkerGlobalScope!="undefined"&&globalThis instanceof WorkerGlobalScope;const xRe=e=>e!=null,ERe=Object.prototype.toString,Ab=e=>ERe.call(e)==="[object Object]",d1=()=>{};function kRe(e){return st()}function ARe(e,t){kRe()&&Vo(e,t)}function Cv(e){var t;const n=fM(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Zj=TRe?window:void 0;function $i(...e){let t,n,r,a;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,a]=e,t=Zj):[t,n,r,a]=e,!t)return d1;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(c=>c()),o.length=0},s=(c,f,h,d)=>(c.addEventListener(f,h,d),()=>c.removeEventListener(f,h,d)),l=xe(()=>[Cv(t),fM(a)],([c,f])=>{if(i(),!c)return;const h=Ab(f)?X({},f):f;o.push(...n.flatMap(d=>r.map(p=>s(c,d,p,h))))},{immediate:!0,flush:"post"}),u=()=>{l(),i()};return Xj(u),u}function MRe(){const e=H(!1),t=st();return t&&ft(()=>{e.value=!0},t),e}function ORe(e){const t=MRe();return R(()=>(t.value,!!e()))}function PRe(e,t,n={}){const{root:r,rootMargin:a="0px",threshold:o=.1,window:i=Zj,immediate:s=!0}=n,l=ORe(()=>i&&"IntersectionObserver"in i),u=R(()=>{const p=fM(e);return(Array.isArray(p)?p:[p]).map(Cv).filter(xRe)});let c=d1;const f=H(s),h=l.value?xe(()=>[u.value,Cv(r),f.value],([p,v])=>{if(c(),!f.value||!p.length)return;const g=new IntersectionObserver(t,{root:Cv(v),rootMargin:a,threshold:o});p.forEach(m=>m&&g.observe(m)),c=()=>{g.disconnect(),c=d1}},{immediate:s,flush:"post"}):d1,d=()=>{c(),h(),f.value=!1};return Xj(d),{isSupported:l,isActive:f,pause(){c(),f.value=!1},resume(){f.value=!0},stop:d}}const Jj=1/60*1e3,RRe=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),Qj=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(RRe()),Jj);function IRe(e){let t=[],n=[],r=0,a=!1,o=!1;const i=new WeakSet,s={schedule:(l,u=!1,c=!1)=>{const f=c&&a,h=f?t:n;return u&&i.add(l),h.indexOf(l)===-1&&(h.push(l),f&&a&&(r=t.length)),l},cancel:l=>{const u=n.indexOf(l);u!==-1&&n.splice(u,1),i.delete(l)},process:l=>{if(a){o=!0;return}if(a=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let u=0;u(e[t]=IRe(()=>Eg=!0),e),{}),ek=Lm.reduce((e,t)=>{const n=Ow[t];return e[t]=(r,a=!1,o=!1)=>(Eg||NRe(),n.schedule(r,a,o)),e},{}),LRe=Lm.reduce((e,t)=>(e[t]=Ow[t].cancel,e),{});Lm.reduce((e,t)=>(e[t]=()=>Ow[t].process(Bd),e),{});const $Re=e=>Ow[e].process(Bd),eK=e=>{Eg=!1,Bd.delta=JE?Jj:Math.max(Math.min(e-Bd.timestamp,DRe),1),Bd.timestamp=e,QE=!0,Lm.forEach($Re),QE=!1,Eg&&(JE=!1,Qj(eK))},NRe=()=>{Eg=!0,JE=!0,QE||Qj(eK)},tK=()=>Bd;function nK(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);aMath.min(Math.max(n,e),t),lC=.001,BRe=.01,FRe=10,VRe=.05,zRe=1;function HRe({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let a,o,i=1-t;i=tk(VRe,zRe,i),e=tk(BRe,FRe,e/1e3),i<1?(a=u=>{const c=u*i,f=c*e,h=c-n,d=nk(u,i),p=Math.exp(-f);return lC-h/d*p},o=u=>{const f=u*i*e,h=f*n+n,d=Math.pow(i,2)*Math.pow(u,2)*e,p=Math.exp(-f),v=nk(Math.pow(u,2),i);return(-a(u)+lC>0?-1:1)*((h-d)*p)/v}):(a=u=>{const c=Math.exp(-u*e),f=(u-n)*e+1;return-lC+c*f},o=u=>{const c=Math.exp(-u*e),f=(n-u)*(e*e);return c*f});const s=5/e,l=URe(a,o,s);if(e=e*1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:i*2*Math.sqrt(r*u),duration:e}}}const WRe=12;function URe(e,t,n){let r=n;for(let a=1;ae[n]!==void 0)}function GRe(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!eD(e,KRe)&&eD(e,jRe)){const n=HRe(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function dM(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:a}=e,o=nK(e,["from","to","restSpeed","restDelta"]);const i={done:!1,value:t};let{stiffness:s,damping:l,mass:u,velocity:c,duration:f,isResolvedFromDuration:h}=GRe(o),d=tD,p=tD;function v(){const g=c?-(c/1e3):0,m=n-t,w=l/(2*Math.sqrt(s*u)),_=Math.sqrt(s/u)/1e3;if(a===void 0&&(a=Math.min(Math.abs(n-t)/100,.4)),w<1){const b=nk(_,w);d=S=>{const C=Math.exp(-w*_*S);return n-C*((g+w*_*m)/b*Math.sin(b*S)+m*Math.cos(b*S))},p=S=>{const C=Math.exp(-w*_*S);return w*_*C*(Math.sin(b*S)*(g+w*_*m)/b+m*Math.cos(b*S))-C*(Math.cos(b*S)*(g+w*_*m)-b*m*Math.sin(b*S))}}else if(w===1)d=b=>n-Math.exp(-_*b)*(m+(g+_*m)*b);else{const b=_*Math.sqrt(w*w-1);d=S=>{const C=Math.exp(-w*_*S),T=Math.min(b*S,300);return n-C*((g+w*_*m)*Math.sinh(T)+b*m*Math.cosh(T))/b}}}return v(),{next:g=>{const m=d(g);if(h)i.done=g>=f;else{const w=p(g)*1e3,_=Math.abs(w)<=r,b=Math.abs(n-m)<=a;i.done=_&&b}return i.value=i.done?n:m,i},flipTarget:()=>{c=-c,[t,n]=[n,t],v()}}}dM.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const tD=e=>0,rK=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},hM=(e,t,n)=>-n*e+n*t+e,aK=(e,t)=>n=>Math.max(Math.min(n,t),e),Tv=e=>e%1?Number(e.toFixed(5)):e,kg=/(-)?([\d]*\.?[\d])+/g,rk=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,qRe=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function $m(e){return typeof e=="string"}const Nm={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},xv=Object.assign(Object.assign({},Nm),{transform:aK(0,1)}),N0=Object.assign(Object.assign({},Nm),{default:1}),pM=e=>({test:t=>$m(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Iu=pM("deg"),Ev=pM("%"),en=pM("px"),nD=Object.assign(Object.assign({},Ev),{parse:e=>Ev.parse(e)/100,transform:e=>Ev.transform(e*100)}),vM=(e,t)=>n=>!!($m(n)&&qRe.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),oK=(e,t,n)=>r=>{if(!$m(r))return r;const[a,o,i,s]=r.match(kg);return{[e]:parseFloat(a),[t]:parseFloat(o),[n]:parseFloat(i),alpha:s!==void 0?parseFloat(s):1}},Sc={test:vM("hsl","hue"),parse:oK("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Ev.transform(Tv(t))+", "+Ev.transform(Tv(n))+", "+Tv(xv.transform(r))+")"},YRe=aK(0,255),uC=Object.assign(Object.assign({},Nm),{transform:e=>Math.round(YRe(e))}),Dl={test:vM("rgb","red"),parse:oK("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+uC.transform(e)+", "+uC.transform(t)+", "+uC.transform(n)+", "+Tv(xv.transform(r))+")"};function XRe(e){let t="",n="",r="",a="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),a=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),a=e.substr(4,1),t+=t,n+=n,r+=r,a+=a),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:a?parseInt(a,16)/255:1}}const ak={test:vM("#"),parse:XRe,transform:Dl.transform},ka={test:e=>Dl.test(e)||ak.test(e)||Sc.test(e),parse:e=>Dl.test(e)?Dl.parse(e):Sc.test(e)?Sc.parse(e):ak.parse(e),transform:e=>$m(e)?e:e.hasOwnProperty("red")?Dl.transform(e):Sc.transform(e)},iK="${c}",sK="${n}";function ZRe(e){var t,n,r,a;return isNaN(e)&&$m(e)&&((n=(t=e.match(kg))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((a=(r=e.match(rk))===null||r===void 0?void 0:r.length)!==null&&a!==void 0?a:0)>0}function lK(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(rk);r&&(n=r.length,e=e.replace(rk,iK),t.push(...r.map(ka.parse)));const a=e.match(kg);return a&&(e=e.replace(kg,sK),t.push(...a.map(Nm.parse))),{values:t,numColors:n,tokenised:e}}function uK(e){return lK(e).values}function cK(e){const{values:t,numColors:n,tokenised:r}=lK(e),a=t.length;return o=>{let i=r;for(let s=0;stypeof e=="number"?0:e;function QRe(e){const t=uK(e);return cK(e)(t.map(JRe))}const Bm={test:ZRe,parse:uK,createTransformer:cK,getAnimatableNone:QRe},eIe=new Set(["brightness","contrast","saturate","opacity"]);function tIe(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(kg)||[];if(!r)return e;const a=n.replace(r,"");let o=eIe.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+a+")"}const nIe=/([a-z-]*)\(.*?\)/g,ok=Object.assign(Object.assign({},Bm),{getAnimatableNone:e=>{const t=e.match(nIe);return t?t.map(tIe).join(" "):e}});function cC(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function rD({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let a=0,o=0,i=0;if(!t)a=o=i=n;else{const s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;a=cC(l,s,e+1/3),o=cC(l,s,e),i=cC(l,s,e-1/3)}return{red:Math.round(a*255),green:Math.round(o*255),blue:Math.round(i*255),alpha:r}}const rIe=(e,t,n)=>{const r=e*e,a=t*t;return Math.sqrt(Math.max(0,n*(a-r)+r))},aIe=[ak,Dl,Sc],aD=e=>aIe.find(t=>t.test(e)),fK=(e,t)=>{let n=aD(e),r=aD(t),a=n.parse(e),o=r.parse(t);n===Sc&&(a=rD(a),n=Dl),r===Sc&&(o=rD(o),r=Dl);const i=Object.assign({},a);return s=>{for(const l in i)l!=="alpha"&&(i[l]=rIe(a[l],o[l],s));return i.alpha=hM(a.alpha,o.alpha,s),n.transform(i)}},oIe=e=>typeof e=="number",iIe=(e,t)=>n=>t(e(n)),dK=(...e)=>e.reduce(iIe);function hK(e,t){return oIe(e)?n=>hM(e,t,n):ka.test(e)?fK(e,t):vK(e,t)}const pK=(e,t)=>{const n=[...e],r=n.length,a=e.map((o,i)=>hK(o,t[i]));return o=>{for(let i=0;i{const n=Object.assign(Object.assign({},e),t),r={};for(const a in n)e[a]!==void 0&&t[a]!==void 0&&(r[a]=hK(e[a],t[a]));return a=>{for(const o in r)n[o]=r[o](a);return n}};function oD(e){const t=Bm.parse(e),n=t.length;let r=0,a=0,o=0;for(let i=0;i{const n=Bm.createTransformer(t),r=oD(e),a=oD(t);return r.numHSL===a.numHSL&&r.numRGB===a.numRGB&&r.numNumbers>=a.numNumbers?dK(pK(r.parsed,a.parsed),n):i=>`${i>0?t:e}`},lIe=(e,t)=>n=>hM(e,t,n);function uIe(e){if(typeof e=="number")return lIe;if(typeof e=="string")return ka.test(e)?fK:vK;if(Array.isArray(e))return pK;if(typeof e=="object")return sIe}function cIe(e,t,n){const r=[],a=n||uIe(e[0]),o=e.length-1;for(let i=0;in(rK(e,t,r))}function dIe(e,t){const n=e.length,r=n-1;return a=>{let o=0,i=!1;if(a<=e[0]?i=!0:a>=e[r]&&(o=r-1,i=!0),!i){let l=1;for(;la||l===r);l++);o=l-1}const s=rK(e[o],e[o+1],a);return t[o](s)}}function gK(e,t,{clamp:n=!0,ease:r,mixer:a}={}){const o=e.length;Q4(o===t.length),Q4(!r||!Array.isArray(r)||r.length===o-1),e[0]>e[o-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const i=cIe(t,r,a),s=o===2?fIe(e,i):dIe(e,i);return n?l=>s(tk(e[0],e[o-1],l)):s}const Pw=e=>t=>1-e(1-t),gM=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,hIe=e=>t=>Math.pow(t,e),mK=e=>t=>t*t*((e+1)*t-e),pIe=e=>{const t=mK(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},yK=1.525,vIe=4/11,gIe=8/11,mIe=9/10,bK=e=>e,mM=hIe(2),yIe=Pw(mM),_K=gM(mM),wK=e=>1-Math.sin(Math.acos(e)),SK=Pw(wK),bIe=gM(SK),yM=mK(yK),_Ie=Pw(yM),wIe=gM(yM),SIe=pIe(yK),CIe=4356/361,TIe=35442/1805,xIe=16061/1805,Mb=e=>{if(e===1||e===0)return e;const t=e*e;return ee<.5?.5*(1-Mb(1-e*2)):.5*Mb(e*2-1)+.5;function AIe(e,t){return e.map(()=>t||_K).splice(0,e.length-1)}function MIe(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function OIe(e,t){return e.map(n=>n*t)}function h1({from:e=0,to:t=1,ease:n,offset:r,duration:a=300}){const o={done:!1,value:e},i=Array.isArray(t)?t:[e,t],s=OIe(r&&r.length===i.length?r:MIe(i),a);function l(){return gK(s,i,{ease:Array.isArray(n)?n:AIe(i,n)})}let u=l();return{next:c=>(o.value=u(c),o.done=c>=a,o),flipTarget:()=>{i.reverse(),u=l()}}}function PIe({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:a=.5,modifyTarget:o}){const i={done:!1,value:t};let s=n*e;const l=t+s,u=o===void 0?l:o(l);return u!==l&&(s=u-t),{next:c=>{const f=-s*Math.exp(-c/r);return i.done=!(f>a||f<-a),i.value=i.done?u:u+f,i},flipTarget:()=>{}}}const iD={keyframes:h1,spring:dM,decay:PIe};function RIe(e){if(Array.isArray(e.to))return h1;if(iD[e.type])return iD[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?h1:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?dM:h1}function CK(e,t,n=0){return e-t-n}function IIe(e,t,n=0,r=!0){return r?CK(t+-e,t,n):t-(e-t)+n}function DIe(e,t,n,r){return r?e>=t+n:e<=-n}const LIe=e=>{const t=({delta:n})=>e(n);return{start:()=>ek.update(t,!0),stop:()=>LRe.update(t)}};function TK(e){var t,n,{from:r,autoplay:a=!0,driver:o=LIe,elapsed:i=0,repeat:s=0,repeatType:l="loop",repeatDelay:u=0,onPlay:c,onStop:f,onComplete:h,onRepeat:d,onUpdate:p}=e,v=nK(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:g}=v,m,w=0,_=v.duration,b,S=!1,C=!0,T;const x=RIe(v);!((n=(t=x).needsInterpolation)===null||n===void 0)&&n.call(t,r,g)&&(T=gK([0,100],[r,g],{clamp:!1}),r=0,g=100);const E=x(Object.assign(Object.assign({},v),{from:r,to:g}));function k(){w++,l==="reverse"?(C=w%2===0,i=IIe(i,_,u,C)):(i=CK(i,_,u),l==="mirror"&&E.flipTarget()),S=!1,d&&d()}function A(){m.stop(),h&&h()}function P(B){if(C||(B=-B),i+=B,!S){const I=E.next(Math.max(0,i));b=I.value,T&&(b=T(b)),S=C?I.done:i<=0}p==null||p(b),S&&(w===0&&(_!=null||(_=i)),w{f==null||f(),m.stop()}}}function xK(e,t){return t?e*(1e3/t):0}function $Ie({from:e=0,velocity:t=0,min:n,max:r,power:a=.8,timeConstant:o=750,bounceStiffness:i=500,bounceDamping:s=10,restDelta:l=1,modifyTarget:u,driver:c,onUpdate:f,onComplete:h,onStop:d}){let p;function v(_){return n!==void 0&&_r}function g(_){return n===void 0?r:r===void 0||Math.abs(n-_){var S;f==null||f(b),(S=_.onUpdate)===null||S===void 0||S.call(_,b)},onComplete:h,onStop:d}))}function w(_){m(Object.assign({type:"spring",stiffness:i,damping:s,restDelta:l},_))}if(v(e))w({from:e,velocity:t,to:g(e)});else{let _=a*t+e;typeof u!="undefined"&&(_=u(_));const b=g(_),S=b===n?-1:1;let C,T;const x=E=>{C=T,T=E,t=xK(E-C,tK().delta),(S===1&&E>b||S===-1&&Ep==null?void 0:p.stop()}}const EK=(e,t)=>1-3*t+3*e,kK=(e,t)=>3*t-6*e,AK=e=>3*e,Ob=(e,t,n)=>((EK(t,n)*e+kK(t,n))*e+AK(t))*e,MK=(e,t,n)=>3*EK(t,n)*e*e+2*kK(t,n)*e+AK(t),NIe=1e-7,BIe=10;function FIe(e,t,n,r,a){let o,i,s=0;do i=t+(n-t)/2,o=Ob(i,r,a)-e,o>0?n=i:t=i;while(Math.abs(o)>NIe&&++s=zIe?HIe(i,f,e,n):h===0?f:FIe(i,s,s+B0,e,n)}return i=>i===0||i===1?i:Ob(o(i),t,r)}const fC={};var UIe=Object.defineProperty,jIe=(e,t,n)=>t in e?UIe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,KIe=(e,t,n)=>(jIe(e,t+"",n),n);class GIe{constructor(){KIe(this,"subscriptions",new Set)}add(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}notify(t,n,r){if(this.subscriptions.size)for(const a of this.subscriptions)a(t,n,r)}clear(){this.subscriptions.clear()}}var qIe=Object.defineProperty,YIe=(e,t,n)=>t in e?qIe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ni=(e,t,n)=>(YIe(e,typeof t!="symbol"?t+"":t,n),n);function sD(e){return!Number.isNaN(Number.parseFloat(e))}class XIe{constructor(t){Ni(this,"current"),Ni(this,"prev"),Ni(this,"timeDelta",0),Ni(this,"lastUpdated",0),Ni(this,"updateSubscribers",new GIe),Ni(this,"stopAnimation"),Ni(this,"canTrackVelocity",!1),Ni(this,"updateAndNotify",n=>{this.prev=this.current,this.current=n;const{delta:r,timestamp:a}=tK();this.lastUpdated!==a&&(this.timeDelta=r,this.lastUpdated=a),ek.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)}),Ni(this,"scheduleVelocityCheck",()=>ek.postRender(this.velocityCheck)),Ni(this,"velocityCheck",({timestamp:n})=>{this.canTrackVelocity||(this.canTrackVelocity=sD(this.current)),n!==this.lastUpdated&&(this.prev=this.current)}),this.prev=this.current=t,this.canTrackVelocity=sD(this.current)}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}set(t){this.updateAndNotify(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?xK(Number.parseFloat(this.current)-Number.parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{const{stop:r}=t(n);this.stopAnimation=r}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}}function ZIe(e){return new XIe(e)}const{isArray:JIe}=Array;function QIe(){const e=H({}),t=r=>{const a=o=>{e.value[o]&&(e.value[o].stop(),e.value[o].destroy(),delete e.value[o])};r?JIe(r)?r.forEach(a):a(r):Object.keys(e.value).forEach(a)},n=(r,a,o)=>{if(e.value[r])return e.value[r];const i=ZIe(a);return i.onChange(s=>o[r]=s),e.value[r]=i,i};return ARe(t),{motionValues:e,get:n,stop:t}}function e6e(e){return Array.isArray(e)}function Du(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function dC(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function t6e(e){return{type:"spring",stiffness:550,damping:e===0?100:30,restDelta:.01,restSpeed:10}}function hC(){return{type:"keyframes",ease:"linear",duration:300}}function n6e(e){return{type:"keyframes",duration:800,values:e}}const lD={default:t6e,x:Du,y:Du,z:Du,rotate:Du,rotateX:Du,rotateY:Du,rotateZ:Du,scaleX:dC,scaleY:dC,scale:dC,backgroundColor:hC,color:hC,opacity:hC};function OK(e,t){let n;return e6e(t)?n=n6e:n=lD[e]||lD.default,X({to:t},n(t))}const uD=_e(X({},Nm),{transform:Math.round}),PK={color:ka,backgroundColor:ka,outlineColor:ka,fill:ka,stroke:ka,borderColor:ka,borderTopColor:ka,borderRightColor:ka,borderBottomColor:ka,borderLeftColor:ka,borderWidth:en,borderTopWidth:en,borderRightWidth:en,borderBottomWidth:en,borderLeftWidth:en,borderRadius:en,radius:en,borderTopLeftRadius:en,borderTopRightRadius:en,borderBottomRightRadius:en,borderBottomLeftRadius:en,width:en,maxWidth:en,height:en,maxHeight:en,size:en,top:en,right:en,bottom:en,left:en,padding:en,paddingTop:en,paddingRight:en,paddingBottom:en,paddingLeft:en,margin:en,marginTop:en,marginRight:en,marginBottom:en,marginLeft:en,rotate:Iu,rotateX:Iu,rotateY:Iu,rotateZ:Iu,scale:N0,scaleX:N0,scaleY:N0,scaleZ:N0,skew:Iu,skewX:Iu,skewY:Iu,distance:en,translateX:en,translateY:en,translateZ:en,x:en,y:en,z:en,perspective:en,transformPerspective:en,opacity:xv,originX:nD,originY:nD,originZ:en,zIndex:uD,filter:ok,WebkitFilter:ok,fillOpacity:xv,strokeOpacity:xv,numOctaves:uD},bM=e=>PK[e];function ik(e,t){return t&&typeof e=="number"&&t.transform?t.transform(e):e}function r6e(e,t){let n=bM(e);return n!==ok&&(n=Bm),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const a6e={linear:bK,easeIn:mM,easeInOut:_K,easeOut:yIe,circIn:wK,circInOut:bIe,circOut:SK,backIn:yM,backInOut:wIe,backOut:_Ie,anticipate:SIe,bounceIn:EIe,bounceInOut:kIe,bounceOut:Mb};function cD(e){if(Array.isArray(e)){const[t,n,r,a]=e;return WIe(t,n,r,a)}else if(typeof e=="string")return a6e[e];return e}function o6e(e){return Array.isArray(e)&&typeof e[0]!="number"}function fD(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&Bm.test(t)&&!t.startsWith("url("))}function i6e(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function s6e(a){var o=a,{ease:e,times:t,delay:n}=o,r=ja(o,["ease","times","delay"]);const i=X({},r);return t&&(i.offset=t),e&&(i.ease=o6e(e)?e.map(cD):cD(e)),n&&(i.elapsed=-n),i}function l6e(e,t,n){return Array.isArray(t.to)&&(e.duration||(e.duration=800)),i6e(t),u6e(e)||(e=X(X({},e),OK(n,t.to))),X(X({},t),s6e(e))}function u6e(i){var s=i,{delay:e,repeat:t,repeatType:n,repeatDelay:r,from:a}=s,o=ja(s,["delay","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(o).length}function c6e(e,t){return e[t]||e.default||e}function f6e(e,t,n,r,a){const o=c6e(r,e);let i=o.from===null||o.from===void 0?t.get():o.from;const s=fD(e,n);i==="none"&&s&&typeof n=="string"&&(i=r6e(e,n));const l=fD(e,i);function u(f){const h={from:i,to:n,velocity:r.velocity?r.velocity:t.getVelocity(),onUpdate:d=>t.set(d)};return o.type==="inertia"||o.type==="decay"?$Ie(X(X({},h),o)):TK(_e(X({},l6e(o,h,e)),{onUpdate:d=>{h.onUpdate(d),o.onUpdate&&o.onUpdate(d)},onComplete:()=>{a&&a(),f&&f()}}))}function c(f){return t.set(n),a&&a(),f&&f(),{stop:()=>{}}}return!l||!s||o.type===!1?c:u}function d6e(){const{motionValues:e,stop:t,get:n}=QIe();return{motionValues:e,stop:t,push:(a,o,i,s={},l)=>{const u=i[a],c=n(a,u,i);if(s&&s.immediate){c.set(o);return}const f=f6e(a,c,o,s,l);c.start(f)}}}function h6e(e,t={},{motionValues:n,push:r,stop:a}=d6e()){const o=y(t),i=H(!1);xe(n,f=>{i.value=Object.values(f).filter(h=>h.isAnimating()).length>0},{immediate:!0,deep:!0});const s=f=>{if(!o||!o[f])throw new Error(`The variant ${f} does not exist.`);return o[f]},l=f=>{typeof f=="string"&&(f=s(f));const h=Object.entries(f).map(([p,v])=>{if(p!=="transition")return new Promise(g=>r(p,v,e,f.transition||OK(p,f[p]),g))}).filter(Boolean);function d(){return ut(this,null,function*(){var p,v;yield Promise.all(h),(v=(p=f.transition)==null?void 0:p.onComplete)==null||v.call(p)})}return Promise.all([d()])};return{isAnimating:i,apply:l,set:f=>{const h=Ab(f)?f:s(f);Object.entries(h).forEach(([d,p])=>{d!=="transition"&&r(d,p,e,{immediate:!0})})},leave:f=>ut(this,null,function*(){let h;if(o&&(o.leave&&(h=o.leave),!o.leave&&o.initial&&(h=o.initial)),!h){f();return}yield l(h),f()}),stop:a}}const _M=typeof window!="undefined",p6e=()=>_M&&(window.onpointerdown===null||void 0),v6e=()=>_M&&(window.ontouchstart===null||void 0),g6e=()=>_M&&(window.onmousedown===null||void 0);function m6e({target:e,state:t,variants:n,apply:r}){const a=y(n),o=H(!1),i=H(!1),s=H(!1),l=R(()=>{let c=[...Object.keys(t.value||{})];return a&&(a.hovered&&(c=[...c,...Object.keys(a.hovered)]),a.tapped&&(c=[...c,...Object.keys(a.tapped)]),a.focused&&(c=[...c,...Object.keys(a.focused)])),c}),u=R(()=>{const c={};Object.assign(c,t.value),o.value&&a.hovered&&Object.assign(c,a.hovered),i.value&&a.tapped&&Object.assign(c,a.tapped),s.value&&a.focused&&Object.assign(c,a.focused);for(const f in c)l.value.includes(f)||delete c[f];return c});a.hovered&&($i(e,"mouseenter",()=>o.value=!0),$i(e,"mouseleave",()=>{o.value=!1,i.value=!1})),a.tapped&&(g6e()&&($i(e,"mousedown",()=>i.value=!0),$i(e,"mouseup",()=>i.value=!1)),p6e()&&($i(e,"pointerdown",()=>i.value=!0),$i(e,"pointerup",()=>i.value=!1)),v6e()&&($i(e,"touchstart",()=>i.value=!0),$i(e,"touchend",()=>i.value=!1))),a.focused&&($i(e,"focus",()=>s.value=!0),$i(e,"blur",()=>s.value=!1)),xe([o,i,s],()=>{r(u.value)})}function y6e({set:e,target:t,variants:n,variant:r}){const a=y(n);xe(()=>t,()=>{a&&(a.initial&&(e("initial"),r.value="initial"),a.enter&&(r.value="enter"))},{immediate:!0,flush:"pre"})}function b6e({state:e,apply:t}){xe(e,n=>{n&&t(n)},{immediate:!0})}function RK({target:e,variants:t,variant:n}){const r=y(t);r&&(r.visible||r.visibleOnce)&&PRe(e,([{isIntersecting:a}])=>{r.visible?a?n.value="visible":n.value="initial":r.visibleOnce&&(a&&n.value!=="visibleOnce"?n.value="visibleOnce":n.value||(n.value="initial"))})}function _6e(e,t={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){t.lifeCycleHooks&&y6e(e),t.syncVariants&&b6e(e),t.visibilityHooks&&RK(e),t.eventListeners&&m6e(e)}function IK(e={}){const t=zt(X({},e)),n=H({});return xe(t,()=>{const r={};for(const[a,o]of Object.entries(t)){const i=bM(a),s=ik(o,i);r[a]=s}n.value=r},{immediate:!0,deep:!0}),{state:t,style:n}}function wM(e,t){xe(()=>Cv(e),n=>{n&&t(n)},{immediate:!0})}const w6e={x:"translateX",y:"translateY",z:"translateZ"};function DK(e={},t=!0){const n=zt(X({},e)),r=H("");return xe(n,a=>{let o="",i=!1;if(t&&(a.x||a.y||a.z)){const s=[a.x||0,a.y||0,a.z||0].map(l=>ik(l,en)).join(",");o+=`translate3d(${s}) `,i=!0}for(const[s,l]of Object.entries(a)){if(t&&(s==="x"||s==="y"||s==="z"))continue;const u=bM(s),c=ik(l,u);o+=`${w6e[s]||s}(${c}) `}t&&!i&&(o+="translateZ(0px) "),r.value=o.trim()},{immediate:!0,deep:!0}),{state:n,transform:r}}const S6e=["","X","Y","Z"],C6e=["perspective","translate","scale","rotate","skew"],LK=["transformPerspective","x","y","z"];C6e.forEach(e=>{S6e.forEach(t=>{const n=e+t;LK.push(n)})});const T6e=new Set(LK);function SM(e){return T6e.has(e)}const x6e=new Set(["originX","originY","originZ"]);function $K(e){return x6e.has(e)}function E6e(e){const t={},n={};return Object.entries(e).forEach(([r,a])=>{SM(r)||$K(r)?t[r]=a:n[r]=a}),{transform:t,style:n}}function Rw(e){const{transform:t,style:n}=E6e(e),{transform:r}=DK(t),{style:a}=IK(n);return r.value&&(a.value.transform=r.value),a.value}function k6e(e,t){let n,r;const{state:a,style:o}=IK();return wM(e,i=>{r=i;for(const s of Object.keys(PK))i.style[s]===null||i.style[s]===""||SM(s)||$K(s)||(a[s]=i.style[s]);n&&Object.entries(n).forEach(([s,l])=>i.style[s]=l),t&&t(a)}),xe(o,i=>{if(!r){n=i;return}for(const s in i)r.style[s]=i[s]},{immediate:!0}),{style:a}}function A6e(e){const t=e.trim().split(/\) |\)/);if(t.length===1)return{};const n=r=>r.endsWith("px")||r.endsWith("deg")?Number.parseFloat(r):Number.isNaN(Number(r))?Number(r):r;return t.reduce((r,a)=>{if(!a)return r;const[o,i]=a.split("("),l=i.split(",").map(c=>n(c.endsWith(")")?c.replace(")",""):c.trim())),u=l.length===1?l[0]:l;return _e(X({},r),{[o]:u})},{})}function M6e(e,t){Object.entries(A6e(t)).forEach(([n,r])=>{const a=["x","y","z"];if(n==="translate3d"){if(r===0){a.forEach(o=>e[o]=0);return}r.forEach((o,i)=>e[a[i]]=o);return}if(r=Number.parseFloat(`${r}`),n==="translateX"){e.x=r;return}if(n==="translateY"){e.y=r;return}if(n==="translateZ"){e.z=r;return}e[n]=r})}function O6e(e,t){let n,r;const{state:a,transform:o}=DK();return wM(e,i=>{r=i,i.style.transform&&M6e(a,i.style.transform),n&&(i.style.transform=n),t&&t(a)}),xe(o,i=>{if(!r){n=i;return}r.style.transform=i},{immediate:!0}),{transform:a}}function P6e(e){return Object.entries(e)}function R6e(e,t){const n=zt({}),r=i=>Object.entries(i).forEach(([s,l])=>n[s]=l),{style:a}=k6e(e,r),{transform:o}=O6e(e,r);return xe(n,i=>{P6e(i).forEach(([s,l])=>{const u=SM(s)?o:a;u[s]&&u[s]===l||(u[s]=l)})},{immediate:!0,deep:!0}),wM(e,()=>t),{motionProperties:n,style:a,transform:o}}function I6e(e={}){const t=y(e),n=H();return{state:R(()=>{if(n.value)return t[n.value]}),variant:n}}function NK(e,t={},n){const{motionProperties:r}=R6e(e),{variant:a,state:o}=I6e(t),i=h6e(r,t),s=X({target:e,variant:a,variants:t,state:o,motionProperties:r},i);return _6e(s,n),s}const BK=["delay","duration"],D6e=["initial","enter","leave","visible","visible-once","visibleOnce","hovered","tapped","focused",...BK];function L6e(e){return BK.includes(e)}function $6e(e,t){var r;const n=e.props?e.props:e.data&&e.data.attrs?e.data.attrs:{};if(n){n.variants&&Ab(n.variants)&&(t.value=X(X({},t.value),n.variants));for(let a of D6e)if(!(!n||!n[a])){if(L6e(a)&&typeof n[a]=="number"){for(const o of["enter","visible","visibleOnce"]){const i=t.value[o];i!=null&&((r=i.transition)!=null||(i.transition={}),i.transition[a]=n[a])}continue}if(Ab(n[a])){const o=n[a];a==="visible-once"&&(a="visibleOnce"),t.value[a]=o}}}}function pC(e,t=!1){return{created:(a,o,i)=>{const s=o.value&&typeof o.value=="string"?o.value:i.key;s&&fC[s]&&fC[s].stop();const l=t?structuredClone(Xt(e)||{}):e||{},u=H(l);typeof o.value=="object"&&(u.value=o.value),$6e(i,u);const f=NK(a,u,{eventListeners:!0,lifeCycleHooks:!0,syncVariants:!0,visibilityHooks:!1});a.motionInstance=f,s&&(fC[s]=f)},mounted:(a,o,i)=>{a.motionInstance&&RK(a.motionInstance)},getSSRProps(a,o){let{initial:i}=a.value||o&&(o==null?void 0:o.props)||{};i=y(i);const s=Yj({},(e==null?void 0:e.initial)||{},i||{});return!s||Object.keys(s).length===0?void 0:{style:Rw(s)}}}}const N6e={initial:{opacity:0},enter:{opacity:1}},B6e={initial:{opacity:0},visible:{opacity:1}},F6e={initial:{opacity:0},visibleOnce:{opacity:1}},V6e={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},z6e={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},H6e={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},W6e={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},U6e={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},j6e={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},K6e={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},G6e={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},q6e={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},Y6e={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},X6e={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},Z6e={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},J6e={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},Q6e={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},e8e={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},t8e={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},n8e={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},r8e={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},a8e={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},o8e={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},i8e={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},s8e={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},l8e={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},u8e={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},c8e={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},f8e={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},d8e={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},cc={__proto__:null,fade:N6e,fadeVisible:B6e,fadeVisibleOnce:F6e,pop:V6e,popVisible:z6e,popVisibleOnce:H6e,rollBottom:J6e,rollLeft:W6e,rollRight:K6e,rollTop:Y6e,rollVisibleBottom:Q6e,rollVisibleLeft:U6e,rollVisibleOnceBottom:e8e,rollVisibleOnceLeft:j6e,rollVisibleOnceRight:q6e,rollVisibleOnceTop:Z6e,rollVisibleRight:G6e,rollVisibleTop:X6e,slideBottom:c8e,slideLeft:t8e,slideRight:a8e,slideTop:s8e,slideVisibleBottom:f8e,slideVisibleLeft:n8e,slideVisibleOnceBottom:d8e,slideVisibleOnceLeft:r8e,slideVisibleOnceRight:i8e,slideVisibleOnceTop:u8e,slideVisibleRight:o8e,slideVisibleTop:l8e};function h8e(e){const t="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",n="aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------",r=new RegExp(t.split("").join("|"),"g");return e.toString().replace(/[A-Z]/g,a=>`-${a}`).toLowerCase().replace(/\s+/g,"-").replace(r,a=>n.charAt(t.indexOf(a))).replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/-{2,}/g,"-").replace(/^-+/,"").replace(/-+$/,"")}const FK=Symbol(import.meta.dev?"motionCustomPresets":""),VK={preset:{type:String,required:!1},instance:{type:Object,required:!1},variants:{type:Object,required:!1},initial:{type:Object,required:!1},enter:{type:Object,required:!1},leave:{type:Object,required:!1},visible:{type:Object,required:!1},visibleOnce:{type:Object,required:!1},hovered:{type:Object,required:!1},tapped:{type:Object,required:!1},focused:{type:Object,required:!1},delay:{type:[Number,String],required:!1},duration:{type:[Number,String],required:!1}};function p8e(e){return Object.prototype.toString.call(e)==="[object Object]"}function sk(e){if(Array.isArray(e))return e.map(sk);if(p8e(e)){const t={};for(const n in e)t[n]=sk(e[n]);return t}return e}function zK(e){const t=zt({}),n=ze(FK,{}),r=R(()=>e.preset==null?{}:n!=null&&e.preset in n?structuredClone(Xt(n)[e.preset]):e.preset in cc?structuredClone(cc[e.preset]):{}),a=R(()=>({initial:e.initial,enter:e.enter,leave:e.leave,visible:e.visible,visibleOnce:e.visibleOnce,hovered:e.hovered,tapped:e.tapped,focused:e.focused}));function o(l,u){var c;for(const f of["delay","duration"]){if(u[f]==null)continue;const h=Number.parseInt(u[f]);for(const d of["enter","visible","visibleOnce"]){const p=l[d];p!=null&&((c=p.transition)!=null||(p.transition={}),p.transition[f]=h)}}return l}const i=R(()=>{const l=Yj({},a.value,r.value,e.variants||{});return o(X({},l),e)});if(import.meta.dev){e.preset!=null&&(cc==null?void 0:cc[e.preset])==null&&(n==null?void 0:n[e.preset])==null&&console.warn(`[@vueuse/motion]: Preset \`${e.preset}\` not found.`);const l=u=>{var c;(c=u.variants)!=null&&c.initial&&u.set("initial"),qe(()=>{var f,h,d;(f=u.variants)!=null&&f.enter&&u.apply("enter"),(h=u.variants)!=null&&h.visible&&u.apply("visible"),(d=u.variants)!=null&&d.visibleOnce&&u.apply("visibleOnce")})};oo(()=>{for(const u in t)l(t[u])})}function s(l,u,c){var d,p;var f;(d=l.props)!=null||(l.props={}),(p=(f=l.props).style)!=null||(f.style={}),l.props.style=X(X({},l.props.style),c);const h=o(sk(i.value),l.props);return l.props.onVnodeMounted=({el:v})=>{t[u]=NK(v,h)},l.props.onVnodeUpdated=({el:v})=>{const g=Rw(t[u].state);for(const[m,w]of Object.entries(g))v.style[m]=w},l}return{motionConfig:i,setNodeInstance:s}}const v8e=te({name:"Motion",props:_e(X({},VK),{is:{type:[String,Object],default:"div"}}),setup(e){const t=Yn(),{motionConfig:n,setNodeInstance:r}=zK(e);return()=>{const a=Rw(n.value.initial||{}),o=We(e.is,void 0,t);return r(o,0,a),o}}}),g8e=te({name:"MotionGroup",props:_e(X({},VK),{is:{type:[String,Object],required:!1}}),setup(e){const t=Yn(),{motionConfig:n,setNodeInstance:r}=zK(e);return()=>{var i;const a=Rw(n.value.initial||{}),o=((i=t.default)==null?void 0:i.call(t))||[];for(let s=0;s18),i&&(n.weChat=!0),t.svgSupported=typeof SVGRect!="undefined",t.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,t.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),t.domSupported=typeof document!="undefined";var s=document.documentElement.style;t.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||n.ie&&+n.version>=9}var CM=12,HK="sans-serif",du=CM+"px "+HK,w8e=20,S8e=100,C8e="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function T8e(e){var t={};if(typeof JSON=="undefined")return t;for(var n=0;n=0)s=i*n.length;else for(var l=0;l>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[l]+":0",a[u]+":0",r[1-l]+":auto",a[1-u]+":auto",""].join("!important;"),e.appendChild(i),n.push(i)}return n}function J8e(e,t,n){for(var r=n?"invTrans":"trans",a=t[r],o=t.srcCoords,i=[],s=[],l=!0,u=0;u<4;u++){var c=e[u].getBoundingClientRect(),f=2*u,h=c.left,d=c.top;i.push(h,d),l=l&&o&&h===o[f]&&d===o[f+1],s.push(e[u].offsetLeft,e[u].offsetTop)}return l&&a?a:(t.srcCoords=i,t[r]=n?hD(s,i):hD(i,s))}function tG(e){return e.nodeName.toUpperCase()==="CANVAS"}var Q8e=/([&<>"'])/g,e4e={"&":"&","<":"<",">":">",'"':""","'":"'"};function Vr(e){return e==null?"":(e+"").replace(Q8e,function(t,n){return e4e[n]})}var t4e=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,gC=[],n4e=Ht.browser.firefox&&+Ht.browser.version.split(".")[0]<39;function hk(e,t,n,r){return n=n||{},r?vD(e,t,n):n4e&&t.layerX!=null&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):t.offsetX!=null?(n.zrX=t.offsetX,n.zrY=t.offsetY):vD(e,t,n),n}function vD(e,t,n){if(Ht.domSupported&&e.getBoundingClientRect){var r=t.clientX,a=t.clientY;if(tG(e)){var o=e.getBoundingClientRect();n.zrX=r-o.left,n.zrY=a-o.top;return}else if(dk(gC,e,r,a)){n.zrX=gC[0],n.zrY=gC[1];return}}n.zrX=n.zrY=0}function RM(e){return e||window.event}function po(e,t,n){if(t=RM(t),t.zrX!=null)return t;var r=t.type,a=r&&r.indexOf("touch")>=0;if(a){var i=r!=="touchend"?t.targetTouches[0]:t.changedTouches[0];i&&hk(e,i,t,n)}else{hk(e,t,t,n);var o=r4e(t);t.zrDelta=o?o/120:-(t.detail||0)/3}var s=t.button;return t.which==null&&s!==void 0&&t4e.test(t.type)&&(t.which=s&1?1:s&2?3:s&4?2:0),t}function r4e(e){var t=e.wheelDelta;if(t)return t;var n=e.deltaX,r=e.deltaY;if(n==null||r==null)return t;var a=Math.abs(r!==0?r:n),o=r>0?-1:r<0?1:n>0?-1:1;return 3*a*o}function pk(e,t,n,r){e.addEventListener(t,n,r)}function a4e(e,t,n,r){e.removeEventListener(t,n,r)}var Ys=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function gD(e){return e.which===2||e.which===3}var o4e=function(){function e(){this._track=[]}return e.prototype.recognize=function(t,n,r){return this._doTrack(t,n,r),this._recognize(t)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(t,n,r){var a=t.touches;if(a){for(var o={points:[],touches:[],target:n,event:t},i=0,s=a.length;i1&&r&&r.length>1){var o=mD(r)/mD(a);!isFinite(o)&&(o=1),t.pinchScale=o;var i=i4e(r);return t.pinchX=i[0],t.pinchY=i[1],{type:"pinch",target:e[0].target,event:t}}}}};function Hs(){return[1,0,0,1,0,0]}function zm(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function IM(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function Xl(e,t,n){var r=t[0]*n[0]+t[2]*n[1],a=t[1]*n[0]+t[3]*n[1],o=t[0]*n[2]+t[2]*n[3],i=t[1]*n[2]+t[3]*n[3],s=t[0]*n[4]+t[2]*n[5]+t[4],l=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=r,e[1]=a,e[2]=o,e[3]=i,e[4]=s,e[5]=l,e}function Og(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e}function Hm(e,t,n,r){r===void 0&&(r=[0,0]);var a=t[0],o=t[2],i=t[4],s=t[1],l=t[3],u=t[5],c=Math.sin(n),f=Math.cos(n);return e[0]=a*f+s*c,e[1]=-a*c+s*f,e[2]=o*f+l*c,e[3]=-o*c+f*l,e[4]=f*(i-r[0])+c*(u-r[1])+r[0],e[5]=f*(u-r[1])-c*(i-r[0])+r[1],e}function nG(e,t,n){var r=n[0],a=n[1];return e[0]=t[0]*r,e[1]=t[1]*a,e[2]=t[2]*r,e[3]=t[3]*a,e[4]=t[4]*r,e[5]=t[5]*a,e}function Jh(e,t){var n=t[0],r=t[2],a=t[4],o=t[1],i=t[3],s=t[5],l=n*i-o*r;return l?(l=1/l,e[0]=i*l,e[1]=-o*l,e[2]=-r*l,e[3]=n*l,e[4]=(r*s-i*a)*l,e[5]=(o*a-n*s)*l,e):null}function s4e(e){var t=Hs();return IM(t,e),t}const l4e=Object.freeze(Object.defineProperty({__proto__:null,clone:s4e,copy:IM,create:Hs,identity:zm,invert:Jh,mul:Xl,rotate:Hm,scale:nG,translate:Og},Symbol.toStringTag,{value:"Module"}));var jt=function(){function e(t,n){this.x=t||0,this.y=n||0}return e.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(t,n){return this.x=t,this.y=n,this},e.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},e.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},e.prototype.scale=function(t){this.x*=t,this.y*=t},e.prototype.scaleAndAdd=function(t,n){this.x+=t.x*n,this.y+=t.y*n},e.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},e.prototype.dot=function(t){return this.x*t.x+this.y*t.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},e.prototype.distance=function(t){var n=this.x-t.x,r=this.y-t.y;return Math.sqrt(n*n+r*r)},e.prototype.distanceSquare=function(t){var n=this.x-t.x,r=this.y-t.y;return n*n+r*r},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(t){if(t){var n=this.x,r=this.y;return this.x=t[0]*n+t[2]*r+t[4],this.y=t[1]*n+t[3]*r+t[5],this}},e.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},e.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},e.set=function(t,n,r){t.x=n,t.y=r},e.copy=function(t,n){t.x=n.x,t.y=n.y},e.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},e.lenSquare=function(t){return t.x*t.x+t.y*t.y},e.dot=function(t,n){return t.x*n.x+t.y*n.y},e.add=function(t,n,r){t.x=n.x+r.x,t.y=n.y+r.y},e.sub=function(t,n,r){t.x=n.x-r.x,t.y=n.y-r.y},e.scale=function(t,n,r){t.x=n.x*r,t.y=n.y*r},e.scaleAndAdd=function(t,n,r,a){t.x=n.x+r.x*a,t.y=n.y+r.y*a},e.lerp=function(t,n,r,a){var o=1-a;t.x=o*n.x+a*r.x,t.y=o*n.y+a*r.y},e}(),V0=Math.min,z0=Math.max,Lu=new jt,$u=new jt,Nu=new jt,Bu=new jt,bp=new jt,_p=new jt,mn=function(){function e(t,n,r,a){r<0&&(t=t+r,r=-r),a<0&&(n=n+a,a=-a),this.x=t,this.y=n,this.width=r,this.height=a}return e.prototype.union=function(t){var n=V0(t.x,this.x),r=V0(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=z0(t.x+t.width,this.x+this.width)-n:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=z0(t.y+t.height,this.y+this.height)-r:this.height=t.height,this.x=n,this.y=r},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(t){var n=this,r=t.width/n.width,a=t.height/n.height,o=Hs();return Og(o,o,[-n.x,-n.y]),nG(o,o,[r,a]),Og(o,o,[t.x,t.y]),o},e.prototype.intersect=function(t,n){if(!t)return!1;t instanceof e||(t=e.create(t));var r=this,a=r.x,o=r.x+r.width,i=r.y,s=r.y+r.height,l=t.x,u=t.x+t.width,c=t.y,f=t.y+t.height,h=!(op&&(p=_,vp&&(p=b,m=r.x&&t<=r.x+r.width&&n>=r.y&&n<=r.y+r.height},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return this.width===0||this.height===0},e.create=function(t){return new e(t.x,t.y,t.width,t.height)},e.copy=function(t,n){t.x=n.x,t.y=n.y,t.width=n.width,t.height=n.height},e.applyTransform=function(t,n,r){if(!r){t!==n&&e.copy(t,n);return}if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var a=r[0],o=r[3],i=r[4],s=r[5];t.x=n.x*a+i,t.y=n.y*o+s,t.width=n.width*a,t.height=n.height*o,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}Lu.x=Nu.x=n.x,Lu.y=Bu.y=n.y,$u.x=Bu.x=n.x+n.width,$u.y=Nu.y=n.y+n.height,Lu.transform(r),Bu.transform(r),$u.transform(r),Nu.transform(r),t.x=V0(Lu.x,$u.x,Nu.x,Bu.x),t.y=V0(Lu.y,$u.y,Nu.y,Bu.y);var l=z0(Lu.x,$u.x,Nu.x,Bu.x),u=z0(Lu.y,$u.y,Nu.y,Bu.y);t.width=l-t.x,t.height=u-t.y},e}(),rG="silent";function u4e(e,t,n){return{type:e,event:n,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:c4e}}function c4e(){Ys(this.event)}var f4e=function(e){Ye(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.handler=null,n}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(zo),wp=function(){function e(t,n){this.x=t,this.y=n}return e}(),d4e=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],yC=new mn(0,0,0,0),aG=function(e){Ye(t,e);function t(n,r,a,o,i){var s=e.call(this)||this;return s._hovered=new wp(0,0),s.storage=n,s.painter=r,s.painterRoot=o,s._pointerSize=i,a=a||new f4e,s.proxy=null,s.setHandlerProxy(a),s._draggingMgr=new q8e(s),s}return t.prototype.setHandlerProxy=function(n){this.proxy&&this.proxy.dispose(),n&&(re(d4e,function(r){n.on&&n.on(r,this[r],this)},this),n.handler=this),this.proxy=n},t.prototype.mousemove=function(n){var r=n.zrX,a=n.zrY,o=oG(this,r,a),i=this._hovered,s=i.target;s&&!s.__zr&&(i=this.findHover(i.x,i.y),s=i.target);var l=this._hovered=o?new wp(r,a):this.findHover(r,a),u=l.target,c=this.proxy;c.setCursor&&c.setCursor(u?u.cursor:"default"),s&&u!==s&&this.dispatchToElement(i,"mouseout",n),this.dispatchToElement(l,"mousemove",n),u&&u!==s&&this.dispatchToElement(l,"mouseover",n)},t.prototype.mouseout=function(n){var r=n.zrEventControl;r!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",n),r!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:n})},t.prototype.resize=function(){this._hovered=new wp(0,0)},t.prototype.dispatch=function(n,r){var a=this[n];a&&a.call(this,r)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(n){var r=this.proxy;r.setCursor&&r.setCursor(n)},t.prototype.dispatchToElement=function(n,r,a){n=n||{};var o=n.target;if(!(o&&o.silent)){for(var i="on"+r,s=u4e(r,n,a);o&&(o[i]&&(s.cancelBubble=!!o[i].call(o,s)),o.trigger(r,s),o=o.__hostTarget?o.__hostTarget:o.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(r,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(l){typeof l[i]=="function"&&l[i].call(l,s),l.trigger&&l.trigger(r,s)}))}},t.prototype.findHover=function(n,r,a){var o=this.storage.getDisplayList(),i=new wp(n,r);if(yD(o,i,n,r,a),this._pointerSize&&!i.target){for(var s=[],l=this._pointerSize,u=l/2,c=new mn(n-u,r-u,l,l),f=o.length-1;f>=0;f--){var h=o[f];h!==a&&!h.ignore&&!h.ignoreCoarsePointer&&(!h.parent||!h.parent.ignoreCoarsePointer)&&(yC.copy(h.getBoundingRect()),h.transform&&yC.applyTransform(h.transform),yC.intersect(c)&&s.push(h))}if(s.length)for(var d=4,p=Math.PI/12,v=Math.PI*2,g=0;g4)return;this._downPoint=null}this.dispatchToElement(o,e,t)}});function h4e(e,t,n){if(e[e.rectHover?"rectContain":"contain"](t,n)){for(var r=e,a=void 0,o=!1;r;){if(r.ignoreClip&&(o=!0),!o){var i=r.getClipPath();if(i&&!i.contain(t,n))return!1}r.silent&&(a=!0);var s=r.__hostTarget;r=s||r.parent}return a?rG:!0}return!1}function yD(e,t,n,r,a){for(var o=e.length-1;o>=0;o--){var i=e[o],s=void 0;if(i!==a&&!i.ignore&&(s=h4e(i,n,r))&&(!t.topTarget&&(t.topTarget=i),s!==rG)){t.target=i;break}}}function oG(e,t,n){var r=e.painter;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}var iG=32,Sp=7;function p4e(e){for(var t=0;e>=iG;)t|=e&1,e>>=1;return e+t}function bD(e,t,n,r){var a=t+1;if(a===n)return 1;if(r(e[a++],e[t])<0){for(;a=0;)a++;return a-t}function v4e(e,t,n){for(n--;t>>1,a(o,e[l])<0?s=l:i=l+1;var u=r-i;switch(u){case 3:e[i+3]=e[i+2];case 2:e[i+2]=e[i+1];case 1:e[i+1]=e[i];break;default:for(;u>0;)e[i+u]=e[i+u-1],u--}e[i]=o}}function bC(e,t,n,r,a,o){var i=0,s=0,l=1;if(o(e,t[n+a])>0){for(s=r-a;l0;)i=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),i+=a,l+=a}else{for(s=a+1;ls&&(l=s);var u=i;i=a-l,l=a-u}for(i++;i>>1);o(e,t[n+c])>0?i=c+1:l=c}return l}function _C(e,t,n,r,a,o){var i=0,s=0,l=1;if(o(e,t[n+a])<0){for(s=a+1;ls&&(l=s);var u=i;i=a-l,l=a-u}else{for(s=r-a;l=0;)i=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),i+=a,l+=a}for(i++;i>>1);o(e,t[n+c])<0?l=c:i=c+1}return l}function g4e(e,t){var n=Sp,r,a,o=0,i=[];r=[],a=[];function s(d,p){r[o]=d,a[o]=p,o+=1}function l(){for(;o>1;){var d=o-2;if(d>=1&&a[d-1]<=a[d]+a[d+1]||d>=2&&a[d-2]<=a[d]+a[d-1])a[d-1]a[d+1])break;c(d)}}function u(){for(;o>1;){var d=o-2;d>0&&a[d-1]=Sp||T>=Sp);if(x)break;S<0&&(S=0),S+=2}if(n=S,n<1&&(n=1),p===1){for(m=0;m=0;m--)e[C+m]=e[S+m];e[b]=i[_];return}for(var T=n;;){var x=0,E=0,k=!1;do if(t(i[_],e[w])<0){if(e[b--]=e[w--],x++,E=0,--p===0){k=!0;break}}else if(e[b--]=i[_--],E++,x=0,--g===1){k=!0;break}while((x|E)=0;m--)e[C+m]=e[S+m];if(p===0){k=!0;break}}if(e[b--]=i[_--],--g===1){k=!0;break}if(E=g-bC(e[w],i,0,g,g-1,t),E!==0){for(b-=E,_-=E,g-=E,C=b+1,S=_+1,m=0;m=Sp||E>=Sp);if(k)break;T<0&&(T=0),T+=2}if(n=T,n<1&&(n=1),g===1){for(b-=p,w-=p,C=b+1,S=w+1,m=p-1;m>=0;m--)e[C+m]=e[S+m];e[b]=i[_]}else{if(g===0)throw new Error;for(S=b-(g-1),m=0;ms&&(l=s),_D(e,n,n+l,n+o,t),o=l}i.pushRun(n,o),i.mergeRuns(),a-=o,n+=o}while(a!==0);i.forceMergeRuns()}}var Ya=1,Jp=2,ud=4,wD=!1;function wC(){wD||(wD=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function SD(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var m4e=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=SD}return e.prototype.traverse=function(t,n){for(var r=0;r0&&(c.__clipPaths=[]),isNaN(c.z)&&(wC(),c.z=0),isNaN(c.z2)&&(wC(),c.z2=0),isNaN(c.zlevel)&&(wC(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var f=t.getDecalElement&&t.getDecalElement();f&&this._updateAndAddDisplayable(f,n,r);var h=t.getTextGuideLine();h&&this._updateAndAddDisplayable(h,n,r);var d=t.getTextContent();d&&this._updateAndAddDisplayable(d,n,r)}},e.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},e.prototype.delRoot=function(t){if(t instanceof Array){for(var n=0,r=t.length;n=0&&this._roots.splice(a,1)},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e}(),Db;Db=Ht.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};var Av={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return .5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return e===0?0:Math.pow(1024,e-1)},exponentialOut:function(e){return e===1?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),-(n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)))},elasticOut:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/r)+1)},elasticInOut:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?-.5*(n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)):n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-Av.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?Av.bounceIn(e*2)*.5:Av.bounceOut(e*2-1)*.5+.5}},H0=Math.pow,Zl=Math.sqrt,Lb=1e-8,sG=1e-4,CD=Zl(3),W0=1/3,Xi=Cf(),_o=Cf(),zd=Cf();function Nl(e){return e>-Lb&&eLb||e<-Lb}function dr(e,t,n,r,a){var o=1-a;return o*o*(o*e+3*a*t)+a*a*(a*r+3*o*n)}function TD(e,t,n,r,a){var o=1-a;return 3*(((t-e)*o+2*(n-t)*a)*o+(r-n)*a*a)}function $b(e,t,n,r,a,o){var i=r+3*(t-n)-e,s=3*(n-t*2+e),l=3*(t-e),u=e-a,c=s*s-3*i*l,f=s*l-9*i*u,h=l*l-3*s*u,d=0;if(Nl(c)&&Nl(f))if(Nl(s))o[0]=0;else{var p=-l/s;p>=0&&p<=1&&(o[d++]=p)}else{var v=f*f-4*c*h;if(Nl(v)){var g=f/c,p=-s/i+g,m=-g/2;p>=0&&p<=1&&(o[d++]=p),m>=0&&m<=1&&(o[d++]=m)}else if(v>0){var w=Zl(v),_=c*s+1.5*i*(-f+w),b=c*s+1.5*i*(-f-w);_<0?_=-H0(-_,W0):_=H0(_,W0),b<0?b=-H0(-b,W0):b=H0(b,W0);var p=(-s-(_+b))/(3*i);p>=0&&p<=1&&(o[d++]=p)}else{var S=(2*c*s-3*i*f)/(2*Zl(c*c*c)),C=Math.acos(S)/3,T=Zl(c),x=Math.cos(C),p=(-s-2*T*x)/(3*i),m=(-s+T*(x+CD*Math.sin(C)))/(3*i),E=(-s+T*(x-CD*Math.sin(C)))/(3*i);p>=0&&p<=1&&(o[d++]=p),m>=0&&m<=1&&(o[d++]=m),E>=0&&E<=1&&(o[d++]=E)}}return d}function uG(e,t,n,r,a){var o=6*n-12*t+6*e,i=9*t+3*r-3*e-9*n,s=3*t-3*e,l=0;if(Nl(i)){if(lG(o)){var u=-s/o;u>=0&&u<=1&&(a[l++]=u)}}else{var c=o*o-4*i*s;if(Nl(c))a[0]=-o/(2*i);else if(c>0){var f=Zl(c),u=(-o+f)/(2*i),h=(-o-f)/(2*i);u>=0&&u<=1&&(a[l++]=u),h>=0&&h<=1&&(a[l++]=h)}}return l}function Nb(e,t,n,r,a,o){var i=(t-e)*a+e,s=(n-t)*a+t,l=(r-n)*a+n,u=(s-i)*a+i,c=(l-s)*a+s,f=(c-u)*a+u;o[0]=e,o[1]=i,o[2]=u,o[3]=f,o[4]=f,o[5]=c,o[6]=l,o[7]=r}function cG(e,t,n,r,a,o,i,s,l,u,c){var f,h=.005,d=1/0,p,v,g,m;Xi[0]=l,Xi[1]=u;for(var w=0;w<1;w+=.05)_o[0]=dr(e,n,a,i,w),_o[1]=dr(t,r,o,s,w),g=Bc(Xi,_o),g=0&&g=0&&u<=1&&(a[l++]=u)}}else{var c=i*i-4*o*s;if(Nl(c)){var u=-i/(2*o);u>=0&&u<=1&&(a[l++]=u)}else if(c>0){var f=Zl(c),u=(-i+f)/(2*o),h=(-i-f)/(2*o);u>=0&&u<=1&&(a[l++]=u),h>=0&&h<=1&&(a[l++]=h)}}return l}function fG(e,t,n){var r=e+n-2*t;return r===0?.5:(e-t)/r}function Bb(e,t,n,r,a){var o=(t-e)*r+e,i=(n-t)*r+t,s=(i-o)*r+o;a[0]=e,a[1]=o,a[2]=s,a[3]=s,a[4]=i,a[5]=n}function dG(e,t,n,r,a,o,i,s,l){var u,c=.005,f=1/0;Xi[0]=i,Xi[1]=s;for(var h=0;h<1;h+=.05){_o[0]=$r(e,n,a,h),_o[1]=$r(t,r,o,h);var d=Bc(Xi,_o);d=0&&d=1?1:$b(0,r,o,1,l,s)&&dr(0,a,i,1,s[0])}}}var S4e=function(){function e(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||Tr,this.ondestroy=t.ondestroy||Tr,this.onrestart=t.onrestart||Tr,t.easing&&this.setEasing(t.easing)}return e.prototype.step=function(t,n){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=n;return}var r=this._life,a=t-this._startTime-this._pausedTime,o=a/r;o<0&&(o=0),o=Math.min(o,1);var i=this.easingFunc,s=i?i(o):o;if(this.onframe(s),o===1)if(this.loop){var l=a%r;this._startTime=t-l,this._pausedTime=0,this.onrestart()}else return!0;return!1},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(t){this.easing=t,this.easingFunc=Lt(t)?t:Av[t]||DM(t)},e}(),hG=function(){function e(t){this.value=t}return e}(),C4e=function(){function e(){this._len=0}return e.prototype.insert=function(t){var n=new hG(t);return this.insertEntry(n),n},e.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},e.prototype.remove=function(t){var n=t.prev,r=t.next;n?n.next=r:this.head=r,r?r.prev=n:this.tail=n,t.next=t.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e}(),Wm=function(){function e(t){this._list=new C4e,this._maxSize=10,this._map={},this._maxSize=t}return e.prototype.put=function(t,n){var r=this._list,a=this._map,o=null;if(a[t]==null){var i=r.len(),s=this._lastRemovedEntry;if(i>=this._maxSize&&i>0){var l=r.head;r.remove(l),delete a[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=n:s=new hG(n),s.key=t,r.insertEntry(s),a[t]=s}return o},e.prototype.get=function(t){var n=this._map[t],r=this._list;if(n!=null)return n!==r.tail&&(r.remove(n),r.insertEntry(n)),n.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}(),ED={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function di(e){return e=Math.round(e),e<0?0:e>255?255:e}function T4e(e){return e=Math.round(e),e<0?0:e>360?360:e}function Pg(e){return e<0?0:e>1?1:e}function SC(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?di(parseFloat(t)/100*255):di(parseInt(t,10))}function Fc(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?Pg(parseFloat(t)/100):Pg(parseFloat(t))}function CC(e,t,n){return n<0?n+=1:n>1&&(n-=1),n*6<1?e+(t-e)*n*6:n*2<1?t:n*3<2?e+(t-e)*(2/3-n)*6:e}function Bl(e,t,n){return e+(t-e)*n}function ho(e,t,n,r,a){return e[0]=t,e[1]=n,e[2]=r,e[3]=a,e}function vk(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var pG=new Wm(20),U0=null;function Vf(e,t){U0&&vk(U0,t),U0=pG.put(e,U0||t.slice())}function ga(e,t){if(e){t=t||[];var n=pG.get(e);if(n)return vk(t,n);e=e+"";var r=e.replace(/ /g,"").toLowerCase();if(r in ED)return vk(t,ED[r]),Vf(e,t),t;var a=r.length;if(r.charAt(0)==="#"){if(a===4||a===5){var o=parseInt(r.slice(1,4),16);if(!(o>=0&&o<=4095)){ho(t,0,0,0,1);return}return ho(t,(o&3840)>>4|(o&3840)>>8,o&240|(o&240)>>4,o&15|(o&15)<<4,a===5?parseInt(r.slice(4),16)/15:1),Vf(e,t),t}else if(a===7||a===9){var o=parseInt(r.slice(1,7),16);if(!(o>=0&&o<=16777215)){ho(t,0,0,0,1);return}return ho(t,(o&16711680)>>16,(o&65280)>>8,o&255,a===9?parseInt(r.slice(7),16)/255:1),Vf(e,t),t}return}var i=r.indexOf("("),s=r.indexOf(")");if(i!==-1&&s+1===a){var l=r.substr(0,i),u=r.substr(i+1,s-(i+1)).split(","),c=1;switch(l){case"rgba":if(u.length!==4)return u.length===3?ho(t,+u[0],+u[1],+u[2],1):ho(t,0,0,0,1);c=Fc(u.pop());case"rgb":if(u.length>=3)return ho(t,SC(u[0]),SC(u[1]),SC(u[2]),u.length===3?c:Fc(u[3])),Vf(e,t),t;ho(t,0,0,0,1);return;case"hsla":if(u.length!==4){ho(t,0,0,0,1);return}return u[3]=Fc(u[3]),gk(u,t),Vf(e,t),t;case"hsl":if(u.length!==3){ho(t,0,0,0,1);return}return gk(u,t),Vf(e,t),t;default:return}}ho(t,0,0,0,1)}}function gk(e,t){var n=(parseFloat(e[0])%360+360)%360/360,r=Fc(e[1]),a=Fc(e[2]),o=a<=.5?a*(r+1):a+r-a*r,i=a*2-o;return t=t||[],ho(t,di(CC(i,o,n+1/3)*255),di(CC(i,o,n)*255),di(CC(i,o,n-1/3)*255),1),e.length===4&&(t[3]=e[3]),t}function x4e(e){if(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,a=Math.min(t,n,r),o=Math.max(t,n,r),i=o-a,s=(o+a)/2,l,u;if(i===0)l=0,u=0;else{s<.5?u=i/(o+a):u=i/(2-o-a);var c=((o-t)/6+i/2)/i,f=((o-n)/6+i/2)/i,h=((o-r)/6+i/2)/i;t===o?l=h-f:n===o?l=1/3+c-h:r===o&&(l=2/3+f-c),l<0&&(l+=1),l>1&&(l-=1)}var d=[l*360,u,s];return e[3]!=null&&d.push(e[3]),d}}function mk(e,t){var n=ga(e);if(n){for(var r=0;r<3;r++)t<0?n[r]=n[r]*(1-t)|0:n[r]=(255-n[r])*t+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return hi(n,n.length===4?"rgba":"rgb")}}function E4e(e){var t=ga(e);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)}function Mv(e,t,n){if(!(!(t&&t.length)||!(e>=0&&e<=1))){n=n||[];var r=e*(t.length-1),a=Math.floor(r),o=Math.ceil(r),i=t[a],s=t[o],l=r-a;return n[0]=di(Bl(i[0],s[0],l)),n[1]=di(Bl(i[1],s[1],l)),n[2]=di(Bl(i[2],s[2],l)),n[3]=Pg(Bl(i[3],s[3],l)),n}}var k4e=Mv;function LM(e,t,n){if(!(!(t&&t.length)||!(e>=0&&e<=1))){var r=e*(t.length-1),a=Math.floor(r),o=Math.ceil(r),i=ga(t[a]),s=ga(t[o]),l=r-a,u=hi([di(Bl(i[0],s[0],l)),di(Bl(i[1],s[1],l)),di(Bl(i[2],s[2],l)),Pg(Bl(i[3],s[3],l))],"rgba");return n?{color:u,leftIndex:a,rightIndex:o,value:r}:u}}var A4e=LM;function y1(e,t,n,r){var a=ga(e);if(e)return a=x4e(a),t!=null&&(a[0]=T4e(t)),n!=null&&(a[1]=Fc(n)),r!=null&&(a[2]=Fc(r)),hi(gk(a),"rgba")}function vG(e,t){var n=ga(e);if(n&&t!=null)return n[3]=Pg(t),hi(n,"rgba")}function hi(e,t){if(!(!e||!e.length)){var n=e[0]+","+e[1]+","+e[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(n+=","+e[3]),t+"("+n+")"}}function Rg(e,t){var n=ga(e);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*t:0}function M4e(){return hi([Math.round(Math.random()*255),Math.round(Math.random()*255),Math.round(Math.random()*255)],"rgb")}var kD=new Wm(100);function Fb(e){if(yt(e)){var t=kD.get(e);return t||(t=mk(e,-.1),kD.put(e,t)),t}else if(Fm(e)){var n=Qe({},e);return n.colorStops=lt(e.colorStops,function(r){return{offset:r.offset,color:mk(r.color,-.1)}}),n}return e}const O4e=Object.freeze(Object.defineProperty({__proto__:null,fastLerp:Mv,fastMapToColor:k4e,lerp:LM,lift:mk,liftColor:Fb,lum:Rg,mapToColor:A4e,modifyAlpha:vG,modifyHSL:y1,parse:ga,random:M4e,stringify:hi,toHex:E4e},Symbol.toStringTag,{value:"Module"}));var Vb=Math.round;function Ig(e){var t;if(!e||e==="transparent")e="none";else if(typeof e=="string"&&e.indexOf("rgba")>-1){var n=ga(e);n&&(e="rgb("+n[0]+","+n[1]+","+n[2]+")",t=n[3])}return{color:e,opacity:t==null?1:t}}var AD=1e-4;function Fl(e){return e-AD}function j0(e){return Vb(e*1e3)/1e3}function yk(e){return Vb(e*1e4)/1e4}function P4e(e){return"matrix("+j0(e[0])+","+j0(e[1])+","+j0(e[2])+","+j0(e[3])+","+yk(e[4])+","+yk(e[5])+")"}var R4e={left:"start",right:"end",center:"middle",middle:"middle"};function I4e(e,t,n){return n==="top"?e+=t/2:n==="bottom"&&(e-=t/2),e}function D4e(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}function L4e(e){var t=e.style,n=e.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}function gG(e){return e&&!!e.image}function $4e(e){return e&&!!e.svgElement}function $M(e){return gG(e)||$4e(e)}function mG(e){return e.type==="linear"}function yG(e){return e.type==="radial"}function bG(e){return e&&(e.type==="linear"||e.type==="radial")}function $w(e){return"url(#"+e+")"}function _G(e){var t=e.getGlobalScale(),n=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function wG(e){var t=e.x||0,n=e.y||0,r=(e.rotation||0)*kv,a=Ft(e.scaleX,1),o=Ft(e.scaleY,1),i=e.skewX||0,s=e.skewY||0,l=[];return(t||n)&&l.push("translate("+t+"px,"+n+"px)"),r&&l.push("rotate("+r+")"),(a!==1||o!==1)&&l.push("scale("+a+","+o+")"),(i||s)&&l.push("skew("+Vb(i*kv)+"deg, "+Vb(s*kv)+"deg)"),l.join(" ")}var N4e=function(){return Ht.hasGlobalWindow&&Lt(window.btoa)?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:typeof Buffer!="undefined"?function(e){return Buffer.from(e).toString("base64")}:function(e){return null}}(),bk=Array.prototype.slice;function Ps(e,t,n){return(t-e)*n+e}function TC(e,t,n,r){for(var a=t.length,o=0;or?t:e,o=Math.min(n,r),i=a[o-1]||{color:[0,0,0,0],offset:0},s=o;si;if(s)r.length=i;else for(var l=o;l=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(t,n,r){this._needsSort=!0;var a=this.keyframes,o=a.length,i=!1,s=OD,l=n;if(Gr(n)){var u=z4e(n);s=u,(u===1&&!Cn(n[0])||u===2&&!Cn(n[0][0]))&&(i=!0)}else if(Cn(n)&&!Ag(n))s=G0;else if(yt(n))if(!isNaN(+n))s=G0;else{var c=ga(n);c&&(l=c,s=Qp)}else if(Fm(n)){var f=Qe({},l);f.colorStops=lt(n.colorStops,function(d){return{offset:d.offset,color:ga(d.color)}}),mG(n)?s=_k:yG(n)&&(s=wk),l=f}o===0?this.valType=s:(s!==this.valType||s===OD)&&(i=!0),this.discrete=this.discrete||i;var h={time:t,value:l,rawValue:n,percent:0};return r&&(h.easing=r,h.easingFunc=Lt(r)?r:Av[r]||DM(r)),a.push(h),h},e.prototype.prepare=function(t,n){var r=this.keyframes;this._needsSort&&r.sort(function(v,g){return v.time-g.time});for(var a=this.valType,o=r.length,i=r[o-1],s=this.discrete,l=q0(a),u=PD(a),c=0;c=0&&!(i[c].percent<=n);c--);c=h(c,s-2)}else{for(c=f;cn);c++);c=h(c-1,s-2)}p=i[c+1],d=i[c]}if(d&&p){this._lastFr=c,this._lastFrP=n;var g=p.percent-d.percent,m=g===0?1:h((n-d.percent)/g,1);p.easingFunc&&(m=p.easingFunc(m));var w=r?this._additiveValue:u?Cp:t[l];if((q0(o)||u)&&!w&&(w=this._additiveValue=[]),this.discrete)t[l]=m<1?d.rawValue:p.rawValue;else if(q0(o))o===_1?TC(w,d[a],p[a],m):B4e(w,d[a],p[a],m);else if(PD(o)){var _=d[a],b=p[a],S=o===_k;t[l]={type:S?"linear":"radial",x:Ps(_.x,b.x,m),y:Ps(_.y,b.y,m),colorStops:lt(_.colorStops,function(T,x){var E=b.colorStops[x];return{offset:Ps(T.offset,E.offset,m),color:b1(TC([],T.color,E.color,m))}}),global:b.global},S?(t[l].x2=Ps(_.x2,b.x2,m),t[l].y2=Ps(_.y2,b.y2,m)):t[l].r=Ps(_.r,b.r,m)}else if(u)TC(w,d[a],p[a],m),r||(t[l]=b1(w));else{var C=Ps(d[a],p[a],m);r?this._additiveValue=C:t[l]=C}r&&this._addToTarget(t)}}},e.prototype._addToTarget=function(t){var n=this.valType,r=this.propName,a=this._additiveValue;n===G0?t[r]=t[r]+a:n===Qp?(ga(t[r],Cp),K0(Cp,Cp,a,1),t[r]=b1(Cp)):n===_1?K0(t[r],t[r],a,1):n===SG&&MD(t[r],t[r],a,1)},e}(),NM=function(){function e(t,n,r,a){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=n,n&&a){Dw("Can' use additive animation on looped animation.");return}this._additiveAnimators=a,this._allowDiscrete=r}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(t){this._target=t},e.prototype.when=function(t,n,r){return this.whenWithKeys(t,n,nn(n),r)},e.prototype.whenWithKeys=function(t,n,r,a){for(var o=this._tracks,i=0;i0&&l.addKeyframe(0,Ov(u),a),this._trackKeys.push(s)}l.addKeyframe(t,Ov(n[s]),a)}return this._maxTime=Math.max(this._maxTime,t),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var n=t.length,r=0;r0)){this._started=1;for(var n=this,r=[],a=this._maxTime||0,o=0;o1){var s=i.pop();o.addKeyframe(s.time,t[a]),o.prepare(this._maxTime,o.getAdditiveTrack())}}}},e}();function md(){return new Date().getTime()}var W4e=function(e){Ye(t,e);function t(n){var r=e.call(this)||this;return r._running=!1,r._time=0,r._pausedTime=0,r._pauseStart=0,r._paused=!1,n=n||{},r.stage=n.stage||{},r}return t.prototype.addClip=function(n){n.animation&&this.removeClip(n),this._head?(this._tail.next=n,n.prev=this._tail,n.next=null,this._tail=n):this._head=this._tail=n,n.animation=this},t.prototype.addAnimator=function(n){n.animation=this;var r=n.getClip();r&&this.addClip(r)},t.prototype.removeClip=function(n){if(n.animation){var r=n.prev,a=n.next;r?r.next=a:this._head=a,a?a.prev=r:this._tail=r,n.next=n.prev=n.animation=null}},t.prototype.removeAnimator=function(n){var r=n.getClip();r&&this.removeClip(r),n.animation=null},t.prototype.update=function(n){for(var r=md()-this._pausedTime,a=r-this._time,o=this._head;o;){var i=o.next,s=o.step(r,a);s&&(o.ondestroy(),this.removeClip(o)),o=i}this._time=r,n||(this.trigger("frame",a),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var n=this;this._running=!0;function r(){n._running&&(Db(r),!n._paused&&n.update())}Db(r)},t.prototype.start=function(){this._running||(this._time=md(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=md(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=md()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var n=this._head;n;){var r=n.next;n.prev=n.next=n.animation=null,n=r}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(n,r){r=r||{},this.start();var a=new NM(n,r.loop);return this.addAnimator(a),a},t}(zo),U4e=300,xC=Ht.domSupported,EC=function(){var e=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},r=lt(e,function(a){var o=a.replace("mouse","pointer");return n.hasOwnProperty(o)?o:a});return{mouse:e,touch:t,pointer:r}}(),RD={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},ID=!1;function Sk(e){var t=e.pointerType;return t==="pen"||t==="touch"}function j4e(e){e.touching=!0,e.touchTimer!=null&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout(function(){e.touching=!1,e.touchTimer=null},700)}function kC(e){e&&(e.zrByTouch=!0)}function K4e(e,t){return po(e.dom,new G4e(e,t),!0)}function CG(e,t){for(var n=t,r=!1;n&&n.nodeType!==9&&!(r=n.domBelongToZr||n!==t&&n===e.painterRoot);)n=n.parentNode;return r}var G4e=function(){function e(t,n){this.stopPropagation=Tr,this.stopImmediatePropagation=Tr,this.preventDefault=Tr,this.type=n.type,this.target=this.currentTarget=t.dom,this.pointerType=n.pointerType,this.clientX=n.clientX,this.clientY=n.clientY}return e}(),Zo={mousedown:function(e){e=po(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=po(this.dom,e);var t=this.__mayPointerCapture;t&&(e.zrX!==t[0]||e.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=po(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=po(this.dom,e);var t=e.toElement||e.relatedTarget;CG(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){ID=!0,e=po(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){ID||(e=po(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=po(this.dom,e),kC(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),Zo.mousemove.call(this,e),Zo.mousedown.call(this,e)},touchmove:function(e){e=po(this.dom,e),kC(e),this.handler.processGesture(e,"change"),Zo.mousemove.call(this,e)},touchend:function(e){e=po(this.dom,e),kC(e),this.handler.processGesture(e,"end"),Zo.mouseup.call(this,e),+new Date-+this.__lastTouchMoment$D||e<-$D}var Vu=[],zf=[],MC=Hs(),OC=Math.abs,BM=function(){function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return Fu(this.rotation)||Fu(this.x)||Fu(this.y)||Fu(this.scaleX-1)||Fu(this.scaleY-1)||Fu(this.skewX)||Fu(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,n=this.needLocalTransform(),r=this.transform;if(!(n||t)){r&&(LD(r),this.invTransform=null);return}r=r||Hs(),n?this.getLocalTransform(r):LD(r),t&&(n?Xl(r,t,r):IM(r,t)),this.transform=r,this._resolveGlobalScaleRatio(r)},e.prototype._resolveGlobalScaleRatio=function(t){var n=this.globalScaleRatio;if(n!=null&&n!==1){this.getGlobalScale(Vu);var r=Vu[0]<0?-1:1,a=Vu[1]<0?-1:1,o=((Vu[0]-r)*n+r)/Vu[0]||0,i=((Vu[1]-a)*n+a)/Vu[1]||0;t[0]*=o,t[1]*=o,t[2]*=i,t[3]*=i}this.invTransform=this.invTransform||Hs(),Jh(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,n=[];t;)n.push(t),t=t.parent;for(;t=n.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var n=t[0]*t[0]+t[1]*t[1],r=t[2]*t[2]+t[3]*t[3],a=Math.atan2(t[1],t[0]),o=Math.PI/2+a-Math.atan2(t[3],t[2]);r=Math.sqrt(r)*Math.cos(o),n=Math.sqrt(n),this.skewX=o,this.skewY=0,this.rotation=-a,this.x=+t[4],this.y=+t[5],this.scaleX=n,this.scaleY=r,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,n=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||Hs(),Xl(zf,t.invTransform,n),n=zf);var r=this.originX,a=this.originY;(r||a)&&(MC[4]=r,MC[5]=a,Xl(zf,n,MC),zf[4]-=r,zf[5]-=a,n=zf),this.setLocalTransform(n)}},e.prototype.getGlobalScale=function(t){var n=this.transform;return t=t||[],n?(t[0]=Math.sqrt(n[0]*n[0]+n[1]*n[1]),t[1]=Math.sqrt(n[2]*n[2]+n[3]*n[3]),n[0]<0&&(t[0]=-t[0]),n[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},e.prototype.transformCoordToLocal=function(t,n){var r=[t,n],a=this.invTransform;return a&&va(r,r,a),r},e.prototype.transformCoordToGlobal=function(t,n){var r=[t,n],a=this.transform;return a&&va(r,r,a),r},e.prototype.getLineScale=function(){var t=this.transform;return t&&OC(t[0]-1)>1e-10&&OC(t[3]-1)>1e-10?Math.sqrt(OC(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){xG(this,t)},e.getLocalTransform=function(t,n){n=n||[];var r=t.originX||0,a=t.originY||0,o=t.scaleX,i=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,c=t.x,f=t.y,h=t.skewX?Math.tan(t.skewX):0,d=t.skewY?Math.tan(-t.skewY):0;if(r||a||s||l){var p=r+s,v=a+l;n[4]=-p*o-h*v*i,n[5]=-v*i-d*p*o}else n[4]=n[5]=0;return n[0]=o,n[3]=i,n[1]=d*o,n[2]=h*i,u&&Hm(n,n,u),n[4]+=r+c,n[5]+=a+f,n},e.initDefaultProps=function(){var t=e.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0}(),e}(),hs=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function xG(e,t){for(var n=0;n=0?parseFloat(e)/100*t:parseFloat(e):e}function Hb(e,t,n){var r=t.position||"inside",a=t.distance!=null?t.distance:5,o=n.height,i=n.width,s=o/2,l=n.x,u=n.y,c="left",f="top";if(r instanceof Array)l+=ps(r[0],n.width),u+=ps(r[1],n.height),c=null,f=null;else switch(r){case"left":l-=a,u+=s,c="right",f="middle";break;case"right":l+=a+i,u+=s,f="middle";break;case"top":l+=i/2,u-=a,c="center",f="bottom";break;case"bottom":l+=i/2,u+=o+a,c="center";break;case"inside":l+=i/2,u+=s,c="center",f="middle";break;case"insideLeft":l+=a,u+=s,f="middle";break;case"insideRight":l+=i-a,u+=s,c="right",f="middle";break;case"insideTop":l+=i/2,u+=a,c="center";break;case"insideBottom":l+=i/2,u+=o-a,c="center",f="bottom";break;case"insideTopLeft":l+=a,u+=a;break;case"insideTopRight":l+=i-a,u+=a,c="right";break;case"insideBottomLeft":l+=a,u+=o-a,f="bottom";break;case"insideBottomRight":l+=i-a,u+=o-a,c="right",f="bottom";break}return e=e||{},e.x=l,e.y=u,e.align=c,e.verticalAlign=f,e}var PC="__zr_normal__",RC=hs.concat(["ignore"]),J4e=_i(hs,function(e,t){return e[t]=!0,e},{ignore:!1}),Hf={},Q4e=new mn(0,0,0,0),Bw=function(){function e(t){this.id=EM(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,n,r){switch(this.draggable){case"horizontal":n=0;break;case"vertical":t=0;break}var a=this.transform;a||(a=this.transform=[1,0,0,1,0,0]),a[4]+=t,a[5]+=n,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var n=this._textContent;if(n&&(!n.ignore||t)){this.textConfig||(this.textConfig={});var r=this.textConfig,a=r.local,o=n.innerTransformable,i=void 0,s=void 0,l=!1;o.parent=a?this:null;var u=!1;if(o.copyTransform(n),r.position!=null){var c=Q4e;r.layoutRect?c.copy(r.layoutRect):c.copy(this.getBoundingRect()),a||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Hf,r,c):Hb(Hf,r,c),o.x=Hf.x,o.y=Hf.y,i=Hf.align,s=Hf.verticalAlign;var f=r.origin;if(f&&r.rotation!=null){var h=void 0,d=void 0;f==="center"?(h=c.width*.5,d=c.height*.5):(h=ps(f[0],c.width),d=ps(f[1],c.height)),u=!0,o.originX=-o.x+h+(a?0:c.x),o.originY=-o.y+d+(a?0:c.y)}}r.rotation!=null&&(o.rotation=r.rotation);var p=r.offset;p&&(o.x+=p[0],o.y+=p[1],u||(o.originX=-p[0],o.originY=-p[1]));var v=r.inside==null?typeof r.position=="string"&&r.position.indexOf("inside")>=0:r.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,w=void 0,_=void 0;v&&this.canBeInsideText()?(m=r.insideFill,w=r.insideStroke,(m==null||m==="auto")&&(m=this.getInsideTextFill()),(w==null||w==="auto")&&(w=this.getInsideTextStroke(m),_=!0)):(m=r.outsideFill,w=r.outsideStroke,(m==null||m==="auto")&&(m=this.getOutsideFill()),(w==null||w==="auto")&&(w=this.getOutsideStroke(m),_=!0)),m=m||"#000",(m!==g.fill||w!==g.stroke||_!==g.autoStroke||i!==g.align||s!==g.verticalAlign)&&(l=!0,g.fill=m,g.stroke=w,g.autoStroke=_,g.align=i,g.verticalAlign=s,n.setDefaultTextStyle(g)),n.__dirty|=Ya,l&&n.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Ek:xk},e.prototype.getOutsideStroke=function(t){var n=this.__zr&&this.__zr.getBackgroundColor(),r=typeof n=="string"&&ga(n);r||(r=[255,255,255,1]);for(var a=r[3],o=this.__zr.isDarkMode(),i=0;i<3;i++)r[i]=r[i]*a+(o?0:255)*(1-a);return r[3]=1,hi(r,"rgba")},e.prototype.traverse=function(t,n){},e.prototype.attrKV=function(t,n){t==="textConfig"?this.setTextConfig(n):t==="textContent"?this.setTextContent(n):t==="clipPath"?this.setClipPath(n):t==="extra"?(this.extra=this.extra||{},Qe(this.extra,n)):this[t]=n},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(t,n){if(typeof t=="string")this.attrKV(t,n);else if(xt(t))for(var r=t,a=nn(r),o=0;o0},e.prototype.getState=function(t){return this.states[t]},e.prototype.ensureState=function(t){var n=this.states;return n[t]||(n[t]={}),n[t]},e.prototype.clearStates=function(t){this.useState(PC,!1,t)},e.prototype.useState=function(t,n,r,a){var o=t===PC,i=this.hasState();if(!(!i&&o)){var s=this.currentStates,l=this.stateTransition;if(!(tn(s,t)>=0&&(n||s.length===1))){var u;if(this.stateProxy&&!o&&(u=this.stateProxy(t)),u||(u=this.states&&this.states[t]),!u&&!o){Dw("State "+t+" not exists.");return}o||this.saveCurrentToNormalState(u);var c=!!(u&&u.hoverLayer||a);c&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,u,this._normalState,n,!r&&!this.__inHover&&l&&l.duration>0,l);var f=this._textContent,h=this._textGuide;return f&&f.useState(t,n,r,c),h&&h.useState(t,n,r,c),o?(this.currentStates=[],this._normalState={}):n?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Ya),u}}},e.prototype.useStates=function(t,n,r){if(!t.length)this.clearStates();else{var a=[],o=this.currentStates,i=t.length,s=i===o.length;if(s){for(var l=0;l0,p);var v=this._textContent,g=this._textGuide;v&&v.useStates(t,n,h),g&&g.useStates(t,n,h),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Ya)}},e.prototype.isSilent=function(){for(var t=this.silent,n=this.parent;!t&&n;){if(n.silent){t=!0;break}n=n.parent}return t},e.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var r=this.currentStates.slice();r.splice(n,1),this.useStates(r)}},e.prototype.replaceState=function(t,n,r){var a=this.currentStates.slice(),o=tn(a,t),i=tn(a,n)>=0;o>=0?i?a.splice(o,1):a[o]=n:r&&!i&&a.push(n),this.useStates(a)},e.prototype.toggleState=function(t,n){n?this.useState(t,!0):this.removeState(t)},e.prototype._mergeStates=function(t){for(var n={},r,a=0;a=0&&o.splice(i,1)}),this.animators.push(t),r&&r.animation.addAnimator(t),r&&r.wakeUp()},e.prototype.updateDuringAnimation=function(t){this.markRedraw()},e.prototype.stopAnimation=function(t,n){for(var r=this.animators,a=r.length,o=[],i=0;i0&&n.during&&o[0].during(function(p,v){n.during(v)});for(var h=0;h0||a.force&&!i.length){var x=void 0,E=void 0,k=void 0;if(s){E={},h&&(x={});for(var b=0;b<_;b++){var m=v[b];E[m]=n[m],h?x[m]=r[m]:n[m]=r[m]}}else if(h){k={};for(var b=0;b<_;b++){var m=v[b];k[m]=Ov(n[m]),tDe(n,r,m)}}var S=new NM(n,!1,!1,f?Un(p,function(P){return P.targetName===t}):null);S.targetName=t,a.scope&&(S.scope=a.scope),h&&x&&S.whenWithKeys(0,x,v),k&&S.whenWithKeys(0,k,v),S.whenWithKeys(u==null?500:u,s?E:r,v).delay(c||0),e.addAnimator(S,t),i.push(S)}}var Rn=function(e){Ye(t,e);function t(n){var r=e.call(this)||this;return r.isGroup=!0,r._children=[],r.attr(n),r}return t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(n){return this._children[n]},t.prototype.childOfName=function(n){for(var r=this._children,a=0;a=0&&(a.splice(o,0,n),this._doAdd(n))}return this},t.prototype.replace=function(n,r){var a=tn(this._children,n);return a>=0&&this.replaceAt(r,a),this},t.prototype.replaceAt=function(n,r){var a=this._children,o=a[r];if(n&&n!==this&&n.parent!==this&&n!==o){a[r]=n,o.parent=null;var i=this.__zr;i&&o.removeSelfFromZr(i),this._doAdd(n)}return this},t.prototype._doAdd=function(n){n.parent&&n.parent.remove(n),n.parent=this;var r=this.__zr;r&&r!==n.__zr&&n.addSelfToZr(r),r&&r.refresh()},t.prototype.remove=function(n){var r=this.__zr,a=this._children,o=tn(a,n);return o<0?this:(a.splice(o,1),n.parent=null,r&&n.removeSelfFromZr(r),r&&r.refresh(),this)},t.prototype.removeAll=function(){for(var n=this._children,r=this.__zr,a=0;a0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},e.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},e.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},e.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},e.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},e.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,n){if(!this._disposed)return this.handler.findHover(t,n)},e.prototype.on=function(t,n,r){return this._disposed||this.handler.on(t,n,r),this},e.prototype.off=function(t,n){this._disposed||this.handler.off(t,n)},e.prototype.trigger=function(t,n){this._disposed||this.handler.trigger(t,n)},e.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),n=0;n0){if(e<=a)return i;if(e>=o)return s}else{if(e>=a)return i;if(e<=o)return s}else{if(e===a)return i;if(e===o)return s}return(e-a)/l*u+i}function an(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return yt(e)?dDe(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):e==null?NaN:+e}function tr(e,t,n){return t==null&&(t=10),t=Math.min(Math.max(0,t),OG),e=(+e).toFixed(t),n?e:+e}function Vl(e){return e.sort(function(t,n){return t-n}),e}function es(e){if(e=+e,isNaN(e))return 0;if(e>1e-14){for(var t=1,n=0;n<15;n++,t*=10)if(Math.round(e*t)/t===e)return n}return PG(e)}function PG(e){var t=e.toString().toLowerCase(),n=t.indexOf("e"),r=n>0?+t.slice(n+1):0,a=n>0?n:t.length,o=t.indexOf("."),i=o<0?0:a-1-o;return Math.max(0,i-r)}function FM(e,t){var n=Math.log,r=Math.LN10,a=Math.floor(n(e[1]-e[0])/r),o=Math.round(n(Math.abs(t[1]-t[0]))/r),i=Math.min(Math.max(-a+o,0),20);return isFinite(i)?i:20}function hDe(e,t,n){if(!e[t])return 0;var r=RG(e,n);return r[t]||0}function RG(e,t){var n=_i(e,function(d,p){return d+(isNaN(p)?0:p)},0);if(n===0)return[];for(var r=Math.pow(10,t),a=lt(e,function(d){return(isNaN(d)?0:d)/n*r*100}),o=r*100,i=lt(a,function(d){return Math.floor(d)}),s=_i(i,function(d,p){return d+p},0),l=lt(a,function(d,p){return d-i[p]});su&&(u=l[f],c=f);++i[c],l[c]=0,++s}return lt(i,function(d){return d/r})}function pDe(e,t){var n=Math.max(es(e),es(t)),r=e+t;return n>OG?r:tr(r,n)}var vDe=9007199254740991;function VM(e){var t=Math.PI*2;return(e%t+t)%t}function Dg(e){return e>-FD&&e=10&&t++,t}function zM(e,t){var n=Fw(e),r=Math.pow(10,n),a=e/r,o;return t?a<1.5?o=1:a<2.5?o=2:a<4?o=3:a<7?o=5:o=10:a<1?o=1:a<2?o=2:a<3?o=3:a<5?o=5:o=10,e=o*r,n>=-20?+e.toFixed(n<0?-n:0):e}function mDe(e,t){var n=(e.length-1)*t+1,r=Math.floor(n),a=+e[r-1],o=n-r;return o?a+o*(e[r]-a):a}function Mk(e){e.sort(function(l,u){return s(l,u,0)?-1:1});for(var t=-1/0,n=1,r=0;r=0||o&&tn(o,l)<0)){var u=r.getShallow(l,t);u!=null&&(i[e[s][0]]=u)}}return i}}var zDe=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],HDe=$g(zDe),WDe=function(){function e(){}return e.prototype.getAreaStyle=function(t,n){return HDe(this,t,n)},e}(),Pk=new Wm(50);function UDe(e){if(typeof e=="string"){var t=Pk.get(e);return t&&t.image}else return e}function jM(e,t,n,r,a){if(e)if(typeof e=="string"){if(t&&t.__zrImageSrc===e||!n)return t;var o=Pk.get(e),i={hostEl:n,cb:r,cbPayload:a};return o?(t=o.image,!zw(t)&&o.pending.push(i)):(t=qs.loadImage(e,WD,WD),t.__zrImageSrc=e,Pk.put(e,t.__cachedImgObj={image:t,pending:[i]})),t}else return e;else return t}function WD(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t=i;l++)s-=i;var u=ao(n,t);return u>s&&(n="",u=0),s=e-u,a.ellipsis=n,a.ellipsisWidth=u,a.contentWidth=s,a.containerWidth=e,a}function GG(e,t,n){var r=n.containerWidth,a=n.font,o=n.contentWidth;if(!r){e.textLine="",e.isTruncated=!1;return}var i=ao(t,a);if(i<=r){e.textLine=t,e.isTruncated=!1;return}for(var s=0;;s++){if(i<=o||s>=n.maxIterations){t+=n.ellipsis;break}var l=s===0?KDe(t,o,n.ascCharWidth,n.cnCharWidth):i>0?Math.floor(t.length*o/i):0;t=t.substr(0,l),i=ao(t,a)}t===""&&(t=n.placeholder),e.textLine=t,e.isTruncated=!0}function KDe(e,t,n,r){for(var a=0,o=0,i=e.length;op&&u){var v=Math.floor(p/s);c=c||h.length>v,h=h.slice(0,v)}if(e&&o&&f!=null)for(var g=KG(f,a,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),m={},w=0;ws&&$C(n,e.substring(s,u),t,i),$C(n,l[2],t,i,l[1]),s=LC.lastIndex}sa){var $=n.lines.length;C>0?(_.tokens=_.tokens.slice(0,C),m(_,S,b),n.lines=n.lines.slice(0,w+1)):n.lines=n.lines.slice(0,w),n.isTruncated=n.isTruncated||n.lines.length<$;break e}var B=x.width,I=B==null||B==="auto";if(typeof B=="string"&&B.charAt(B.length-1)==="%")T.percentWidth=B,c.push(T),T.contentWidth=ao(T.text,A);else{if(I){var M=x.backgroundColor,L=M&&M.image;L&&(L=UDe(L),zw(L)&&(T.width=Math.max(T.width,L.width*P/L.height)))}var O=p&&r!=null?r-S:null;O!=null&&O0&&p+r.accumWidth>r.width&&(c=t.split(` +`),u=!0),r.accumWidth=p}else{var v=qG(t,l,r.width,r.breakAll,r.accumWidth);r.accumWidth=v.accumWidth+d,f=v.linesWidths,c=v.lines}}else c=t.split(` +`);for(var g=0;g=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var JDe=_i(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function QDe(e){return ZDe(e)?!!JDe[e]:!0}function qG(e,t,n,r,a){for(var o=[],i=[],s="",l="",u=0,c=0,f=0;fn:a+c+d>n){c?(s||l)&&(p?(s||(s=l,l="",u=0,c=u),o.push(s),i.push(c-u),l+=h,u+=d,s="",c=u):(l&&(s+=l,l="",u=0),o.push(s),i.push(c),s=h,c=d)):p?(o.push(l),i.push(u),l=h,u=d):(o.push(h),i.push(d));continue}c+=d,p?(l+=h,u+=d):(l&&(s+=l,l="",u=0),s+=h)}return!o.length&&!s&&(s=e,l="",u=0),l&&(s+=l),s&&(o.push(s),i.push(c)),o.length===1&&(c+=a),{accumWidth:c,lines:o,linesWidths:i}}var Rk="__zr_style_"+Math.round(Math.random()*10),Vc={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Hw={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Vc[Rk]=!0;var jD=["z","z2","invisible"],eLe=["invisible"],Tf=function(e){Ye(t,e);function t(n){return e.call(this,n)||this}return t.prototype._init=function(n){for(var r=nn(n),a=0;a1e-4){s[0]=e-n,s[1]=t-r,l[0]=e+n,l[1]=t+r;return}if(Y0[0]=VC(a)*n+e,Y0[1]=FC(a)*r+t,X0[0]=VC(o)*n+e,X0[1]=FC(o)*r+t,u(s,Y0,X0),c(l,Y0,X0),a=a%Hu,a<0&&(a=a+Hu),o=o%Hu,o<0&&(o=o+Hu),a>o&&!i?o+=Hu:aa&&(Z0[0]=VC(d)*n+e,Z0[1]=FC(d)*r+t,u(s,Z0,s),c(l,Z0,l))}var xn={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Wu=[],Uu=[],Bi=[],cl=[],Fi=[],Vi=[],zC=Math.min,HC=Math.max,ju=Math.cos,Ku=Math.sin,ks=Math.abs,Ik=Math.PI,Cl=Ik*2,WC=typeof Float32Array!="undefined",Tp=[];function UC(e){var t=Math.round(e/Ik*1e8)/1e8;return t%2*Ik}function YG(e,t){var n=UC(e[0]);n<0&&(n+=Cl);var r=n-e[0],a=e[1];a+=r,!t&&a-n>=Cl?a=n+Cl:t&&n-a>=Cl?a=n-Cl:!t&&n>a?a=n+(Cl-UC(n-a)):t&&n0&&(this._ux=ks(r/zb/t)||0,this._uy=ks(r/zb/n)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,n){return this._drawPendingPt(),this.addData(xn.M,t,n),this._ctx&&this._ctx.moveTo(t,n),this._x0=t,this._y0=n,this._xi=t,this._yi=n,this},e.prototype.lineTo=function(t,n){var r=ks(t-this._xi),a=ks(n-this._yi),o=r>this._ux||a>this._uy;if(this.addData(xn.L,t,n),this._ctx&&o&&this._ctx.lineTo(t,n),o)this._xi=t,this._yi=n,this._pendingPtDist=0;else{var i=r*r+a*a;i>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=n,this._pendingPtDist=i)}return this},e.prototype.bezierCurveTo=function(t,n,r,a,o,i){return this._drawPendingPt(),this.addData(xn.C,t,n,r,a,o,i),this._ctx&&this._ctx.bezierCurveTo(t,n,r,a,o,i),this._xi=o,this._yi=i,this},e.prototype.quadraticCurveTo=function(t,n,r,a){return this._drawPendingPt(),this.addData(xn.Q,t,n,r,a),this._ctx&&this._ctx.quadraticCurveTo(t,n,r,a),this._xi=r,this._yi=a,this},e.prototype.arc=function(t,n,r,a,o,i){this._drawPendingPt(),Tp[0]=a,Tp[1]=o,YG(Tp,i),a=Tp[0],o=Tp[1];var s=o-a;return this.addData(xn.A,t,n,r,r,a,s,0,i?0:1),this._ctx&&this._ctx.arc(t,n,r,a,o,i),this._xi=ju(o)*r+t,this._yi=Ku(o)*r+n,this},e.prototype.arcTo=function(t,n,r,a,o){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,n,r,a,o),this},e.prototype.rect=function(t,n,r,a){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,n,r,a),this.addData(xn.R,t,n,r,a),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(xn.Z);var t=this._ctx,n=this._x0,r=this._y0;return t&&t.closePath(),this._xi=n,this._yi=r,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){var n=t.length;!(this.data&&this.data.length===n)&&WC&&(this.data=new Float32Array(n));for(var r=0;rc.length&&(this._expandData(),c=this.data);for(var f=0;f0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],n=0;n11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){Bi[0]=Bi[1]=Fi[0]=Fi[1]=Number.MAX_VALUE,cl[0]=cl[1]=Vi[0]=Vi[1]=-Number.MAX_VALUE;var t=this.data,n=0,r=0,a=0,o=0,i;for(i=0;ir||ks(_)>a||h===n-1)&&(v=Math.sqrt(w*w+_*_),o=g,i=m);break}case xn.C:{var b=t[h++],S=t[h++],g=t[h++],m=t[h++],C=t[h++],T=t[h++];v=y4e(o,i,b,S,g,m,C,T,10),o=C,i=T;break}case xn.Q:{var b=t[h++],S=t[h++],g=t[h++],m=t[h++];v=_4e(o,i,b,S,g,m,10),o=g,i=m;break}case xn.A:var x=t[h++],E=t[h++],k=t[h++],A=t[h++],P=t[h++],$=t[h++],B=$+P;h+=1,p&&(s=ju(P)*k+x,l=Ku(P)*A+E),v=HC(k,A)*zC(Cl,Math.abs($)),o=ju(B)*k+x,i=Ku(B)*A+E;break;case xn.R:{s=o=t[h++],l=i=t[h++];var I=t[h++],M=t[h++];v=I*2+M*2;break}case xn.Z:{var w=s-o,_=l-i;v=Math.sqrt(w*w+_*_),o=s,i=l;break}}v>=0&&(u[f++]=v,c+=v)}return this._pathLen=c,c},e.prototype.rebuildPath=function(t,n){var r=this.data,a=this._ux,o=this._uy,i=this._len,s,l,u,c,f,h,d=n<1,p,v,g=0,m=0,w,_=0,b,S;if(!(d&&(this._pathSegLen||this._calculateLength(),p=this._pathSegLen,v=this._pathLen,w=n*v,!w)))e:for(var C=0;C0&&(t.lineTo(b,S),_=0),T){case xn.M:s=u=r[C++],l=c=r[C++],t.moveTo(u,c);break;case xn.L:{f=r[C++],h=r[C++];var E=ks(f-u),k=ks(h-c);if(E>a||k>o){if(d){var A=p[m++];if(g+A>w){var P=(w-g)/A;t.lineTo(u*(1-P)+f*P,c*(1-P)+h*P);break e}g+=A}t.lineTo(f,h),u=f,c=h,_=0}else{var $=E*E+k*k;$>_&&(b=f,S=h,_=$)}break}case xn.C:{var B=r[C++],I=r[C++],M=r[C++],L=r[C++],O=r[C++],D=r[C++];if(d){var A=p[m++];if(g+A>w){var P=(w-g)/A;Nb(u,B,M,O,P,Wu),Nb(c,I,L,D,P,Uu),t.bezierCurveTo(Wu[1],Uu[1],Wu[2],Uu[2],Wu[3],Uu[3]);break e}g+=A}t.bezierCurveTo(B,I,M,L,O,D),u=O,c=D;break}case xn.Q:{var B=r[C++],I=r[C++],M=r[C++],L=r[C++];if(d){var A=p[m++];if(g+A>w){var P=(w-g)/A;Bb(u,B,M,P,Wu),Bb(c,I,L,P,Uu),t.quadraticCurveTo(Wu[1],Uu[1],Wu[2],Uu[2]);break e}g+=A}t.quadraticCurveTo(B,I,M,L),u=M,c=L;break}case xn.A:var z=r[C++],V=r[C++],j=r[C++],U=r[C++],ne=r[C++],ie=r[C++],fe=r[C++],G=!r[C++],oe=j>U?j:U,se=ks(j-U)>.001,ue=ne+ie,he=!1;if(d){var A=p[m++];g+A>w&&(ue=ne+ie*(w-g)/A,he=!0),g+=A}if(se&&t.ellipse?t.ellipse(z,V,j,U,fe,ne,ue,G):t.arc(z,V,oe,ne,ue,G),he)break e;x&&(s=ju(ne)*j+z,l=Ku(ne)*U+V),u=ju(ue)*j+z,c=Ku(ue)*U+V;break;case xn.R:s=u=r[C],l=c=r[C+1],f=r[C++],h=r[C++];var ae=r[C++],K=r[C++];if(d){var A=p[m++];if(g+A>w){var Q=w-g;t.moveTo(f,h),t.lineTo(f+zC(Q,ae),h),Q-=ae,Q>0&&t.lineTo(f+ae,h+zC(Q,K)),Q-=K,Q>0&&t.lineTo(f+HC(ae-Q,0),h+K),Q-=ae,Q>0&&t.lineTo(f,h+HC(K-Q,0));break e}g+=A}t.rect(f,h,ae,K);break;case xn.Z:if(d){var A=p[m++];if(g+A>w){var P=(w-g)/A;t.lineTo(u*(1-P)+s*P,c*(1-P)+l*P);break e}g+=A}t.closePath(),u=s,c=l}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.CMD=xn,e.initDefaultProps=function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),e}();function Wf(e,t,n,r,a,o,i){if(a===0)return!1;var s=a,l=0,u=e;if(i>t+s&&i>r+s||ie+s&&o>n+s||ot+f&&c>r+f&&c>o+f&&c>s+f||ce+f&&u>n+f&&u>a+f&&u>i+f||ut+u&&l>r+u&&l>o+u||le+u&&s>n+u&&s>a+u||sn||c+ua&&(a+=xp);var h=Math.atan2(l,s);return h<0&&(h+=xp),h>=r&&h<=a||h+xp>=r&&h+xp<=a}function Rs(e,t,n,r,a,o){if(o>t&&o>r||oa?s:0}var fl=Zs.CMD,Gu=Math.PI*2,lLe=1e-4;function uLe(e,t){return Math.abs(e-t)t&&u>r&&u>o&&u>s||u1&&cLe(),d=dr(t,r,o,s,mo[0]),h>1&&(p=dr(t,r,o,s,mo[1]))),h===2?gt&&s>r&&s>o||s=0&&u<=1){for(var c=0,f=$r(t,r,o,u),h=0;hn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);ta[0]=-l,ta[1]=l;var u=Math.abs(r-a);if(u<1e-4)return 0;if(u>=Gu-1e-4){r=0,a=Gu;var c=o?1:-1;return i>=ta[0]+e&&i<=ta[1]+e?c:0}if(r>a){var f=r;r=a,a=f}r<0&&(r+=Gu,a+=Gu);for(var h=0,d=0;d<2;d++){var p=ta[d];if(p+e>i){var v=Math.atan2(s,p),c=o?1:-1;v<0&&(v=Gu+v),(v>=r&&v<=a||v+Gu>=r&&v+Gu<=a)&&(v>Math.PI/2&&v1&&(n||(s+=Rs(l,u,c,f,r,a))),g&&(l=o[p],u=o[p+1],c=l,f=u),v){case fl.M:c=o[p++],f=o[p++],l=c,u=f;break;case fl.L:if(n){if(Wf(l,u,o[p],o[p+1],t,r,a))return!0}else s+=Rs(l,u,o[p],o[p+1],r,a)||0;l=o[p++],u=o[p++];break;case fl.C:if(n){if(oLe(l,u,o[p++],o[p++],o[p++],o[p++],o[p],o[p+1],t,r,a))return!0}else s+=fLe(l,u,o[p++],o[p++],o[p++],o[p++],o[p],o[p+1],r,a)||0;l=o[p++],u=o[p++];break;case fl.Q:if(n){if(iLe(l,u,o[p++],o[p++],o[p],o[p+1],t,r,a))return!0}else s+=dLe(l,u,o[p++],o[p++],o[p],o[p+1],r,a)||0;l=o[p++],u=o[p++];break;case fl.A:var m=o[p++],w=o[p++],_=o[p++],b=o[p++],S=o[p++],C=o[p++];p+=1;var T=!!(1-o[p++]);h=Math.cos(S)*_+m,d=Math.sin(S)*b+w,g?(c=h,f=d):s+=Rs(l,u,h,d,r,a);var x=(r-m)*b/_+m;if(n){if(sLe(m,w,b,S,S+C,T,t,x,a))return!0}else s+=hLe(m,w,b,S,S+C,T,x,a);l=Math.cos(S+C)*_+m,u=Math.sin(S+C)*b+w;break;case fl.R:c=l=o[p++],f=u=o[p++];var E=o[p++],k=o[p++];if(h=c+E,d=f+k,n){if(Wf(c,f,h,f,t,r,a)||Wf(h,f,h,d,t,r,a)||Wf(h,d,c,d,t,r,a)||Wf(c,d,c,f,t,r,a))return!0}else s+=Rs(h,f,h,d,r,a),s+=Rs(c,d,c,f,r,a);break;case fl.Z:if(n){if(Wf(l,u,c,f,t,r,a))return!0}else s+=Rs(l,u,c,f,r,a);l=c,u=f;break}}return!n&&!uLe(u,f)&&(s+=Rs(l,u,c,f,r,a)||0),s!==0}function pLe(e,t,n){return XG(e,0,!1,t,n)}function vLe(e,t,n,r){return XG(e,t,!0,n,r)}var Wb=Ut({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Vc),gLe={style:Ut({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Hw.style)},jC=hs.concat(["invisible","culling","z","z2","zlevel","parent"]),wn=function(e){Ye(t,e);function t(n){return e.call(this,n)||this}return t.prototype.update=function(){var n=this;e.prototype.update.call(this);var r=this.style;if(r.decal){var a=this._decalEl=this._decalEl||new t;a.buildPath===t.prototype.buildPath&&(a.buildPath=function(l){n.buildPath(l,n.shape)}),a.silent=!0;var o=a.style;for(var i in r)o[i]!==r[i]&&(o[i]=r[i]);o.fill=r.fill?r.decal:null,o.decal=null,o.shadowColor=null,r.strokeFirst&&(o.stroke=null);for(var s=0;s.5?xk:r>.2?Z4e:Ek}else if(n)return Ek}return xk},t.prototype.getInsideTextStroke=function(n){var r=this.style.fill;if(yt(r)){var a=this.__zr,o=!!(a&&a.isDarkMode()),i=Rg(n,0)0))},t.prototype.hasFill=function(){var n=this.style,r=n.fill;return r!=null&&r!=="none"},t.prototype.getBoundingRect=function(){var n=this._rect,r=this.style,a=!n;if(a){var o=!1;this.path||(o=!0,this.createPathProxy());var i=this.path;(o||this.__dirty&ud)&&(i.beginPath(),this.buildPath(i,this.shape,!1),this.pathUpdated()),n=i.getBoundingRect()}if(this._rect=n,this.hasStroke()&&this.path&&this.path.len()>0){var s=this._rectStroke||(this._rectStroke=n.clone());if(this.__dirty||a){s.copy(n);var l=r.strokeNoScale?this.getLineScale():1,u=r.lineWidth;if(!this.hasFill()){var c=this.strokeContainThreshold;u=Math.max(u,c==null?4:c)}l>1e-10&&(s.width+=u/l,s.height+=u/l,s.x-=u/l/2,s.y-=u/l/2)}return s}return n},t.prototype.contain=function(n,r){var a=this.transformCoordToLocal(n,r),o=this.getBoundingRect(),i=this.style;if(n=a[0],r=a[1],o.contain(n,r)){var s=this.path;if(this.hasStroke()){var l=i.lineWidth,u=i.strokeNoScale?this.getLineScale():1;if(u>1e-10&&(this.hasFill()||(l=Math.max(l,this.strokeContainThreshold)),vLe(s,l/u,n,r)))return!0}if(this.hasFill())return pLe(s,n,r)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=ud,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(n){return this.animate("shape",n)},t.prototype.updateDuringAnimation=function(n){n==="style"?this.dirtyStyle():n==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(n,r){n==="shape"?this.setShape(r):e.prototype.attrKV.call(this,n,r)},t.prototype.setShape=function(n,r){var a=this.shape;return a||(a=this.shape={}),typeof n=="string"?a[n]=r:Qe(a,n),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&ud)},t.prototype.createStyle=function(n){return Vm(Wb,n)},t.prototype._innerSaveToNormal=function(n){e.prototype._innerSaveToNormal.call(this,n);var r=this._normalState;n.shape&&!r.shape&&(r.shape=Qe({},this.shape))},t.prototype._applyStateObj=function(n,r,a,o,i,s){e.prototype._applyStateObj.call(this,n,r,a,o,i,s);var l=!(r&&o),u;if(r&&r.shape?i?o?u=r.shape:(u=Qe({},a.shape),Qe(u,r.shape)):(u=Qe({},o?this.shape:a.shape),Qe(u,r.shape)):l&&(u=a.shape),u)if(i){this.shape=Qe({},this.shape);for(var c={},f=nn(u),h=0;h0},t.prototype.hasFill=function(){var n=this.style,r=n.fill;return r!=null&&r!=="none"},t.prototype.createStyle=function(n){return Vm(mLe,n)},t.prototype.setBoundingRect=function(n){this._rect=n},t.prototype.getBoundingRect=function(){var n=this.style;if(!this._rect){var r=n.text;r!=null?r+="":r="";var a=Um(r,n.font,n.textAlign,n.textBaseline);if(a.x+=n.x||0,a.y+=n.y||0,this.hasStroke()){var o=n.lineWidth;a.x-=o/2,a.y-=o/2,a.width+=o,a.height+=o}this._rect=a}return this._rect},t.initDefaultProps=function(){var n=t.prototype;n.dirtyRectTolerance=10}(),t}(Tf);Ng.prototype.type="tspan";var yLe=Ut({x:0,y:0},Vc),bLe={style:Ut({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Hw.style)};function _Le(e){return!!(e&&typeof e!="string"&&e.width&&e.height)}var so=function(e){Ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.createStyle=function(n){return Vm(yLe,n)},t.prototype._getSize=function(n){var r=this.style,a=r[n];if(a!=null)return a;var o=_Le(r.image)?r.image:this.__image;if(!o)return 0;var i=n==="width"?"height":"width",s=r[i];return s==null?o[n]:o[n]/o[i]*s},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return bLe},t.prototype.getBoundingRect=function(){var n=this.style;return this._rect||(this._rect=new mn(n.x||0,n.y||0,this.getWidth(),this.getHeight())),this._rect},t}(Tf);so.prototype.type="image";function wLe(e,t){var n=t.x,r=t.y,a=t.width,o=t.height,i=t.r,s,l,u,c;a<0&&(n=n+a,a=-a),o<0&&(r=r+o,o=-o),typeof i=="number"?s=l=u=c=i:i instanceof Array?i.length===1?s=l=u=c=i[0]:i.length===2?(s=u=i[0],l=c=i[1]):i.length===3?(s=i[0],l=c=i[1],u=i[2]):(s=i[0],l=i[1],u=i[2],c=i[3]):s=l=u=c=0;var f;s+l>a&&(f=s+l,s*=a/f,l*=a/f),u+c>a&&(f=u+c,u*=a/f,c*=a/f),l+u>o&&(f=l+u,l*=o/f,u*=o/f),s+c>o&&(f=s+c,s*=o/f,c*=o/f),e.moveTo(n+s,r),e.lineTo(n+a-l,r),l!==0&&e.arc(n+a-l,r+l,l,-Math.PI/2,0),e.lineTo(n+a,r+o-u),u!==0&&e.arc(n+a-u,r+o-u,u,0,Math.PI/2),e.lineTo(n+c,r+o),c!==0&&e.arc(n+c,r+o-c,c,Math.PI/2,Math.PI),e.lineTo(n,r+s),s!==0&&e.arc(n+s,r+s,s,Math.PI,Math.PI*1.5)}var yd=Math.round;function ZG(e,t,n){if(t){var r=t.x1,a=t.x2,o=t.y1,i=t.y2;e.x1=r,e.x2=a,e.y1=o,e.y2=i;var s=n&&n.lineWidth;return s&&(yd(r*2)===yd(a*2)&&(e.x1=e.x2=Tc(r,s,!0)),yd(o*2)===yd(i*2)&&(e.y1=e.y2=Tc(o,s,!0))),e}}function JG(e,t,n){if(t){var r=t.x,a=t.y,o=t.width,i=t.height;e.x=r,e.y=a,e.width=o,e.height=i;var s=n&&n.lineWidth;return s&&(e.x=Tc(r,s,!0),e.y=Tc(a,s,!0),e.width=Math.max(Tc(r+o,s,!1)-e.x,o===0?0:1),e.height=Math.max(Tc(a+i,s,!1)-e.y,i===0?0:1)),e}}function Tc(e,t,n){if(!t)return e;var r=yd(e*2);return(r+yd(t))%2===0?r/2:(r+(n?1:-1))/2}var SLe=function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e}(),CLe={},Pn=function(e){Ye(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new SLe},t.prototype.buildPath=function(n,r){var a,o,i,s;if(this.subPixelOptimize){var l=JG(CLe,r,this.style);a=l.x,o=l.y,i=l.width,s=l.height,l.r=r.r,r=l}else a=r.x,o=r.y,i=r.width,s=r.height;r.r?wLe(n,r):n.rect(a,o,i,s)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(wn);Pn.prototype.type="rect";var XD={fill:"#000"},ZD=2,TLe={style:Ut({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Hw.style)},Tn=function(e){Ye(t,e);function t(n){var r=e.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=XD,r.attr(n),r}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var n=0;n0,P=n.width!=null&&(n.overflow==="truncate"||n.overflow==="break"||n.overflow==="breakAll"),$=i.calculatedLineHeight,B=0;B=0&&(B=C[$],B.align==="right");)this._placeToken(B,n,x,m,P,"right",_),E-=B.width,P-=B.width,$--;for(A+=(o-(A-g)-(w-P)-E)/2;k<=$;)B=C[k],this._placeToken(B,n,x,m,A+B.width/2,"center",_),A+=B.width,k++;m+=x}},t.prototype._placeToken=function(n,r,a,o,i,s,l){var u=r.rich[n.styleName]||{};u.text=n.text;var c=n.verticalAlign,f=o+a/2;c==="top"?f=o+n.height/2:c==="bottom"&&(f=o+a-n.height/2);var h=!n.isLineHolder&&KC(u);h&&this._renderBackground(u,r,s==="right"?i-n.width:s==="center"?i-n.width/2:i,f-n.height/2,n.width,n.height);var d=!!u.backgroundColor,p=n.textPadding;p&&(i=rL(i,s,p),f-=n.height/2-p[0]-n.innerHeight/2);var v=this._getOrCreateChild(Ng),g=v.createStyle();v.useStyle(g);var m=this._defaultStyle,w=!1,_=0,b=nL("fill"in u?u.fill:"fill"in r?r.fill:(w=!0,m.fill)),S=tL("stroke"in u?u.stroke:"stroke"in r?r.stroke:!d&&!l&&(!m.autoStroke||w)?(_=ZD,m.stroke):null),C=u.textShadowBlur>0||r.textShadowBlur>0;g.text=n.text,g.x=i,g.y=f,C&&(g.shadowBlur=u.textShadowBlur||r.textShadowBlur||0,g.shadowColor=u.textShadowColor||r.textShadowColor||"transparent",g.shadowOffsetX=u.textShadowOffsetX||r.textShadowOffsetX||0,g.shadowOffsetY=u.textShadowOffsetY||r.textShadowOffsetY||0),g.textAlign=s,g.textBaseline="middle",g.font=n.font||du,g.opacity=Fd(u.opacity,r.opacity,1),QD(g,u),S&&(g.lineWidth=Fd(u.lineWidth,r.lineWidth,_),g.lineDash=Ft(u.lineDash,r.lineDash),g.lineDashOffset=r.lineDashOffset||0,g.stroke=S),b&&(g.fill=b);var T=n.contentWidth,x=n.contentHeight;v.setBoundingRect(new mn(ev(g.x,T,g.textAlign),cd(g.y,x,g.textBaseline),T,x))},t.prototype._renderBackground=function(n,r,a,o,i,s){var l=n.backgroundColor,u=n.borderWidth,c=n.borderColor,f=l&&l.image,h=l&&!f,d=n.borderRadius,p=this,v,g;if(h||n.lineHeight||u&&c){v=this._getOrCreateChild(Pn),v.useStyle(v.createStyle()),v.style.fill=null;var m=v.shape;m.x=a,m.y=o,m.width=i,m.height=s,m.r=d,v.dirtyShape()}if(h){var w=v.style;w.fill=l||null,w.fillOpacity=Ft(n.fillOpacity,1)}else if(f){g=this._getOrCreateChild(so),g.onload=function(){p.dirtyStyle()};var _=g.style;_.image=l.image,_.x=a,_.y=o,_.width=i,_.height=s}if(u&&c){var w=v.style;w.lineWidth=u,w.stroke=c,w.strokeOpacity=Ft(n.strokeOpacity,1),w.lineDash=n.borderDash,w.lineDashOffset=n.borderDashOffset||0,v.strokeContainThreshold=0,v.hasFill()&&v.hasStroke()&&(w.strokeFirst=!0,w.lineWidth*=2)}var b=(v||g).style;b.shadowBlur=n.shadowBlur||0,b.shadowColor=n.shadowColor||"transparent",b.shadowOffsetX=n.shadowOffsetX||0,b.shadowOffsetY=n.shadowOffsetY||0,b.opacity=Fd(n.opacity,r.opacity,1)},t.makeFont=function(n){var r="";return eq(n)&&(r=[n.fontStyle,n.fontWeight,QG(n.fontSize),n.fontFamily||"sans-serif"].join(" ")),r&&oi(r)||n.textFont||n.font},t}(Tf),xLe={left:!0,right:1,center:1},ELe={top:1,bottom:1,middle:1},JD=["fontStyle","fontWeight","fontSize","fontFamily"];function QG(e){return typeof e=="string"&&(e.indexOf("px")!==-1||e.indexOf("rem")!==-1||e.indexOf("em")!==-1)?e:isNaN(+e)?CM+"px":e+"px"}function QD(e,t){for(var n=0;n=0,o=!1;if(e instanceof wn){var i=tq(e),s=a&&i.selectFill||i.normalFill,l=a&&i.selectStroke||i.normalStroke;if(Uf(s)||Uf(l)){r=r||{};var u=r.style||{};u.fill==="inherit"?(o=!0,r=Qe({},r),u=Qe({},u),u.fill=s):!Uf(u.fill)&&Uf(s)?(o=!0,r=Qe({},r),u=Qe({},u),u.fill=Fb(s)):!Uf(u.stroke)&&Uf(l)&&(o||(r=Qe({},r),u=Qe({},u)),u.stroke=Fb(l)),r.style=u}}if(r&&r.z2==null){o||(r=Qe({},r));var c=e.z2EmphasisLift;r.z2=e.z2+(c!=null?c:MLe)}return r}function LLe(e,t,n){if(n&&n.z2==null){n=Qe({},n);var r=e.z2SelectLift;n.z2=e.z2+(r!=null?r:OLe)}return n}function $Le(e,t,n){var r=tn(e.currentStates,t)>=0,a=e.style.opacity,o=r?null:ILe(e,["opacity"],t,{opacity:1});n=n||{};var i=n.style||{};return i.opacity==null&&(n=Qe({},n),i=Qe({opacity:r?a:o.opacity*.1},i),n.style=i),n}function GC(e,t){var n=this.states[e];if(this.style){if(e==="emphasis")return DLe(this,e,t,n);if(e==="blur")return $Le(this,e,n);if(e==="select")return LLe(this,e,n)}return n}function NLe(e){e.stateProxy=GC;var t=e.getTextContent(),n=e.getTextGuideLine();t&&(t.stateProxy=GC),n&&(n.stateProxy=GC)}function uL(e,t){!lq(e,t)&&!e.__highByOuter&&al(e,nq)}function cL(e,t){!lq(e,t)&&!e.__highByOuter&&al(e,rq)}function _h(e,t){e.__highByOuter|=1<<(t||0),al(e,nq)}function wh(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&al(e,rq)}function BLe(e){al(e,qM)}function oq(e){al(e,aq)}function iq(e){al(e,PLe)}function sq(e){al(e,RLe)}function lq(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function uq(e){var t=e.getModel(),n=[],r=[];t.eachComponent(function(a,o){var i=KM(o),s=a==="series",l=s?e.getViewOfSeriesModel(o):e.getViewOfComponentModel(o);!s&&r.push(l),i.isBlured&&(l.group.traverse(function(u){aq(u)}),s&&n.push(o)),i.isBlured=!1}),re(r,function(a){a&&a.toggleBlurSeries&&a.toggleBlurSeries(n,!1,t)})}function Dk(e,t,n,r){var a=r.getModel();n=n||"coordinateSystem";function o(u,c){for(var f=0;f0){var s={dataIndex:i,seriesIndex:n.seriesIndex};o!=null&&(s.dataType=o),t.push(s)}})}),t}function Bg(e,t,n){XM(e,!0),al(e,NLe),jLe(e,t,n)}function ULe(e){XM(e,!1)}function Fg(e,t,n,r){r?ULe(e):Bg(e,t,n)}function jLe(e,t,n){var r=on(e);t!=null?(r.focus=t,r.blurScope=n):r.focus&&(r.focus=null)}var dL=["emphasis","blur","select"],KLe={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function jb(e,t,n,r){n=n||"itemStyle";for(var a=0;a1&&(i*=qC(p),s*=qC(p));var v=(a===o?-1:1)*qC((i*i*(s*s)-i*i*(d*d)-s*s*(h*h))/(i*i*(d*d)+s*s*(h*h)))||0,g=v*i*d/s,m=v*-s*h/i,w=(e+n)/2+Q0(f)*g-J0(f)*m,_=(t+r)/2+J0(f)*g+Q0(f)*m,b=gL([1,0],[(h-g)/i,(d-m)/s]),S=[(h-g)/i,(d-m)/s],C=[(-1*h-g)/i,(-1*d-m)/s],T=gL(S,C);if(Bk(S,C)<=-1&&(T=Ep),Bk(S,C)>=1&&(T=0),T<0){var x=Math.round(T/Ep*1e6)/1e6;T=Ep*2+x%2*Ep}c.addData(u,w,_,i,s,b,T,f,o)}var ZLe=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,JLe=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function QLe(e){var t=new Zs;if(!e)return t;var n=0,r=0,a=n,o=r,i,s=Zs.CMD,l=e.match(ZLe);if(!l)return t;for(var u=0;uB*B+I*I&&(x=k,E=A),{cx:x,cy:E,x0:-c,y0:-f,x1:x*(a/S-1),y1:E*(a/S-1)}}function s$e(e){var t;if(ot(e)){var n=e.length;if(!n)return e;n===1?t=[e[0],e[0],0,0]:n===2?t=[e[0],e[0],e[1],e[1]]:n===3?t=e.concat(e[2]):t=e}else t=[e,e,e,e];return t}function l$e(e,t){var n,r=tv(t.r,0),a=tv(t.r0||0,0),o=r>0,i=a>0;if(!(!o&&!i)){if(o||(r=a,a=0),a>r){var s=r;r=a,a=s}var l=t.startAngle,u=t.endAngle;if(!(isNaN(l)||isNaN(u))){var c=t.cx,f=t.cy,h=!!t.clockwise,d=yL(u-l),p=d>YC&&d%YC;if(p>Xo&&(d=p),!(r>Xo))e.moveTo(c,f);else if(d>YC-Xo)e.moveTo(c+r*Kf(l),f+r*qu(l)),e.arc(c,f,r,l,u,!h),a>Xo&&(e.moveTo(c+a*Kf(u),f+a*qu(u)),e.arc(c,f,a,u,l,h));else{var v=void 0,g=void 0,m=void 0,w=void 0,_=void 0,b=void 0,S=void 0,C=void 0,T=void 0,x=void 0,E=void 0,k=void 0,A=void 0,P=void 0,$=void 0,B=void 0,I=r*Kf(l),M=r*qu(l),L=a*Kf(u),O=a*qu(u),D=d>Xo;if(D){var z=t.cornerRadius;z&&(n=s$e(z),v=n[0],g=n[1],m=n[2],w=n[3]);var V=yL(r-a)/2;if(_=zi(V,m),b=zi(V,w),S=zi(V,v),C=zi(V,g),E=T=tv(_,b),k=x=tv(S,C),(T>Xo||x>Xo)&&(A=r*Kf(u),P=r*qu(u),$=a*Kf(l),B=a*qu(l),dXo){var se=zi(m,E),ue=zi(w,E),he=ey($,B,I,M,r,se,h),ae=ey(A,P,L,O,r,ue,h);e.moveTo(c+he.cx+he.x0,f+he.cy+he.y0),E0&&e.arc(c+he.cx,f+he.cy,se,Rr(he.y0,he.x0),Rr(he.y1,he.x1),!h),e.arc(c,f,r,Rr(he.cy+he.y1,he.cx+he.x1),Rr(ae.cy+ae.y1,ae.cx+ae.x1),!h),ue>0&&e.arc(c+ae.cx,f+ae.cy,ue,Rr(ae.y1,ae.x1),Rr(ae.y0,ae.x0),!h))}else e.moveTo(c+I,f+M),e.arc(c,f,r,l,u,!h);if(!(a>Xo)||!D)e.lineTo(c+L,f+O);else if(k>Xo){var se=zi(v,k),ue=zi(g,k),he=ey(L,O,A,P,a,-ue,h),ae=ey(I,M,$,B,a,-se,h);e.lineTo(c+he.cx+he.x0,f+he.cy+he.y0),k0&&e.arc(c+he.cx,f+he.cy,ue,Rr(he.y0,he.x0),Rr(he.y1,he.x1),!h),e.arc(c,f,a,Rr(he.cy+he.y1,he.cx+he.x1),Rr(ae.cy+ae.y1,ae.cx+ae.x1),h),se>0&&e.arc(c+ae.cx,f+ae.cy,se,Rr(ae.y1,ae.x1),Rr(ae.y0,ae.x0),!h))}else e.lineTo(c+L,f+O),e.arc(c,f,a,u,l,h)}e.closePath()}}}var u$e=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return e}(),ki=function(e){Ye(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new u$e},t.prototype.buildPath=function(n,r){l$e(n,r)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(wn);ki.prototype.type="sector";var c$e=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e}(),Gm=function(e){Ye(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new c$e},t.prototype.buildPath=function(n,r){var a=r.cx,o=r.cy,i=Math.PI*2;n.moveTo(a+r.r,o),n.arc(a,o,r.r,0,i,!1),n.moveTo(a+r.r0,o),n.arc(a,o,r.r0,0,i,!0)},t}(wn);Gm.prototype.type="ring";function f$e(e,t,n,r){var a=[],o=[],i=[],s=[],l,u,c,f;if(r){c=[1/0,1/0],f=[-1/0,-1/0];for(var h=0,d=e.length;h=2){if(r){var o=f$e(a,r,n,t.smoothConstraint);e.moveTo(a[0][0],a[0][1]);for(var i=a.length,s=0;s<(n?i:i-1);s++){var l=o[s*2],u=o[s*2+1],c=a[(s+1)%i];e.bezierCurveTo(l[0],l[1],u[0],u[1],c[0],c[1])}}else{e.moveTo(a[0][0],a[0][1]);for(var s=1,f=a.length;sXu[1]){if(s=!1,o)return s;var c=Math.abs(Xu[0]-Yu[1]),f=Math.abs(Yu[0]-Xu[1]);Math.min(c,f)>a.len()&&(c0){var f=c.duration,h=c.delay,d=c.easing,p={duration:f,delay:h||0,easing:d,done:o,force:!!o||!!i,setToFinal:!u,scope:e,during:i};s?t.animateFrom(n,p):t.animateTo(n,p)}else t.stopAnimation(),!s&&t.attr(n),i&&i(1),o&&o()}function xr(e,t,n,r,a,o){QM("update",e,t,n,r,a,o)}function $a(e,t,n,r,a,o){QM("enter",e,t,n,r,a,o)}function $v(e){if(!e.__zr)return!0;for(var t=0;tMath.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function wL(e){return!e.isGroup}function S$e(e){return e.shape!=null}function aO(e,t,n){if(!e||!t)return;function r(i){var s={};return i.traverse(function(l){wL(l)&&l.anid&&(s[l.anid]=l)}),s}function a(i){var s={x:i.x,y:i.y,rotation:i.rotation};return S$e(i)&&(s.shape=Qe({},i.shape)),s}var o=r(e);t.traverse(function(i){if(wL(i)&&i.anid){var s=o[i.anid];if(s){var l=a(i);i.attr(a(s)),xr(i,l,n,on(i).dataIndex)}}})}function oO(e,t){return lt(e,function(n){var r=n[0];r=Yb(r,t.x),r=Xb(r,t.x+t.width);var a=n[1];return a=Yb(a,t.y),a=Xb(a,t.y+t.height),[r,a]})}function Cq(e,t){var n=Yb(e.x,t.x),r=Xb(e.x+e.width,t.x+t.width),a=Yb(e.y,t.y),o=Xb(e.y+e.height,t.y+t.height);if(r>=n&&o>=a)return{x:n,y:a,width:r-n,height:o-a}}function Ym(e,t,n){var r=Qe({rectHover:!0},t),a=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return e.indexOf("image://")===0?(a.image=e.slice(8),Ut(a,n),new so(r)):Yw(e.replace("path://",""),r,n,"center")}function C$e(e,t,n,r,a){for(var o=0,i=a[a.length-1];o1)return!1;var g=XC(d,p,c,f)/h;return!(g<0||g>1)}function XC(e,t,n,r){return e*r-n*t}function T$e(e){return e<=1e-6&&e>=-1e-6}function ep(e){var t=e.itemTooltipOption,n=e.componentModel,r=e.itemName,a=yt(t)?{formatter:t}:t,o=n.mainType,i=n.componentIndex,s={componentType:o,name:r,$vars:["name"]};s[o+"Index"]=i;var l=e.formatterParamsExtra;l&&re(nn(l),function(c){mt(s,c)||(s[c]=l[c],s.$vars.push(c))});var u=on(e.el);u.componentMainType=o,u.componentIndex=i,u.tooltipConfig={name:r,option:Ut({content:r,encodeHTMLContent:!0,formatterParams:s},a)}}function SL(e,t){var n;e.isGroup&&(n=t(e)),n||e.traverse(t)}function Zw(e,t){if(e)if(ot(e))for(var n=0;n=0&&s.push(l)}),s}}function tp(e,t){return qt(qt({},e,!0),t,!0)}const N$e={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},B$e={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var Zb="ZH",sO="EN",Hd=sO,x1={},lO={},Mq=Ht.domSupported?function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage||Hd).toUpperCase();return e.indexOf(Zb)>-1?Zb:Hd}():Hd;function uO(e,t){e=e.toUpperCase(),lO[e]=new Ln(t),x1[e]=t}function F$e(e){if(yt(e)){var t=x1[e.toUpperCase()]||{};return e===Zb||e===sO?Pt(t):qt(Pt(t),Pt(x1[Hd]),!1)}else return qt(Pt(e),Pt(x1[Hd]),!1)}function V$e(e){return lO[e]}function z$e(){return lO[Hd]}uO(sO,N$e);uO(Zb,B$e);var cO=1e3,fO=cO*60,Nv=fO*60,So=Nv*24,AL=So*365,nv={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},ry="{yyyy}-{MM}-{dd}",ML={year:"{yyyy}",month:"{yyyy}-{MM}",day:ry,hour:ry+" "+nv.hour,minute:ry+" "+nv.minute,second:ry+" "+nv.second,millisecond:nv.none},QC=["year","month","day","hour","minute","second","millisecond"],Oq=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function na(e,t){return e+="","0000".substr(0,t-e.length)+e}function Wd(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function H$e(e){return e===Wd(e)}function W$e(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function e0(e,t,n,r){var a=Lo(e),o=a[dO(n)](),i=a[Ud(n)]()+1,s=Math.floor((i-1)/3)+1,l=a[Qw(n)](),u=a["get"+(n?"UTC":"")+"Day"](),c=a[zg(n)](),f=(c-1)%12+1,h=a[eS(n)](),d=a[tS(n)](),p=a[nS(n)](),v=c>=12?"pm":"am",g=v.toUpperCase(),m=r instanceof Ln?r:V$e(r||Mq)||z$e(),w=m.getModel("time"),_=w.get("month"),b=w.get("monthAbbr"),S=w.get("dayOfWeek"),C=w.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,v+"").replace(/{A}/g,g+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,na(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,_[i-1]).replace(/{MMM}/g,b[i-1]).replace(/{MM}/g,na(i,2)).replace(/{M}/g,i+"").replace(/{dd}/g,na(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,S[u]).replace(/{ee}/g,C[u]).replace(/{e}/g,u+"").replace(/{HH}/g,na(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,na(f+"",2)).replace(/{h}/g,f+"").replace(/{mm}/g,na(h,2)).replace(/{m}/g,h+"").replace(/{ss}/g,na(d,2)).replace(/{s}/g,d+"").replace(/{SSS}/g,na(p,3)).replace(/{S}/g,p+"")}function U$e(e,t,n,r,a){var o=null;if(yt(n))o=n;else if(Lt(n))o=n(e.value,t,{level:e.level});else{var i=Qe({},nv);if(e.level>0)for(var s=0;s=0;--s)if(l[u]){o=l[u];break}o=o||i.none}if(ot(o)){var f=e.level==null?0:e.level>=0?e.level:o.length+e.level;f=Math.min(f,o.length-1),o=o[f]}}return e0(new Date(e.value),o,a,r)}function Pq(e,t){var n=Lo(e),r=n[Ud(t)]()+1,a=n[Qw(t)](),o=n[zg(t)](),i=n[eS(t)](),s=n[tS(t)](),l=n[nS(t)](),u=l===0,c=u&&s===0,f=c&&i===0,h=f&&o===0,d=h&&a===1,p=d&&r===1;return p?"year":d?"month":h?"day":f?"hour":c?"minute":u?"second":"millisecond"}function OL(e,t,n){var r=Cn(e)?Lo(e):e;switch(t=t||Pq(e,n),t){case"year":return r[dO(n)]();case"half-year":return r[Ud(n)]()>=6?1:0;case"quarter":return Math.floor((r[Ud(n)]()+1)/4);case"month":return r[Ud(n)]();case"day":return r[Qw(n)]();case"half-day":return r[zg(n)]()/24;case"hour":return r[zg(n)]();case"minute":return r[eS(n)]();case"second":return r[tS(n)]();case"millisecond":return r[nS(n)]()}}function dO(e){return e?"getUTCFullYear":"getFullYear"}function Ud(e){return e?"getUTCMonth":"getMonth"}function Qw(e){return e?"getUTCDate":"getDate"}function zg(e){return e?"getUTCHours":"getHours"}function eS(e){return e?"getUTCMinutes":"getMinutes"}function tS(e){return e?"getUTCSeconds":"getSeconds"}function nS(e){return e?"getUTCMilliseconds":"getMilliseconds"}function j$e(e){return e?"setUTCFullYear":"setFullYear"}function Rq(e){return e?"setUTCMonth":"setMonth"}function Iq(e){return e?"setUTCDate":"setDate"}function Dq(e){return e?"setUTCHours":"setHours"}function Lq(e){return e?"setUTCMinutes":"setMinutes"}function $q(e){return e?"setUTCSeconds":"setSeconds"}function Nq(e){return e?"setUTCMilliseconds":"setMilliseconds"}function K$e(e,t,n,r,a,o,i,s){var l=new Tn({style:{text:e,font:t,align:n,verticalAlign:r,padding:a,rich:o,overflow:i?"truncate":null,lineHeight:s}});return l.getBoundingRect()}function hO(e){if(!DG(e))return yt(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function pO(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,function(n,r){return r.toUpperCase()}),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var Ef=AM;function zk(e,t,n){var r="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function a(c){return c&&oi(c)?c:"-"}function o(c){return!!(c!=null&&!isNaN(c)&&isFinite(c))}var i=t==="time",s=e instanceof Date;if(i||s){var l=i?Lo(e):e;if(isNaN(+l)){if(s)return"-"}else return e0(l,r,n)}if(t==="ordinal")return Pb(e)?a(e):Cn(e)&&o(e)?e+"":"-";var u=Xs(e);return o(u)?hO(u):Pb(e)?a(e):typeof e=="boolean"?e+"":"-"}var PL=["a","b","c","d","e","f","g"],eT=function(e,t){return"{"+e+(t==null?"":t)+"}"};function vO(e,t,n){ot(t)||(t=[t]);var r=t.length;if(!r)return"";for(var a=t[0].$vars||[],o=0;o':'';var i=n.markerId||"markerX";return{renderMode:o,content:"{"+i+"|} ",style:a==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:r}:{width:10,height:10,borderRadius:5,backgroundColor:r}}}function G$e(e,t,n){(e==="week"||e==="month"||e==="quarter"||e==="half-year"||e==="year")&&(e=`MM-dd +yyyy`);var r=Lo(t),a=n?"getUTC":"get",o=r[a+"FullYear"](),i=r[a+"Month"]()+1,s=r[a+"Date"](),l=r[a+"Hours"](),u=r[a+"Minutes"](),c=r[a+"Seconds"](),f=r[a+"Milliseconds"]();return e=e.replace("MM",na(i,2)).replace("M",i).replace("yyyy",o).replace("yy",na(o%100+"",2)).replace("dd",na(s,2)).replace("d",s).replace("hh",na(l,2)).replace("h",l).replace("mm",na(u,2)).replace("m",u).replace("ss",na(c,2)).replace("s",c).replace("SSS",na(f,3)),e}function q$e(e){return e&&e.charAt(0).toUpperCase()+e.substr(1)}function df(e,t){return t=t||"transparent",yt(e)?e:xt(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function RL(e,t){if(t==="_blank"||t==="blank"){var n=window.open();n.opener=null,n.location.href=e}else window.open(e,t)}var E1=re,Fq=["left","right","top","bottom","width","height"],xc=[["width","left","right"],["height","top","bottom"]];function gO(e,t,n,r,a){var o=0,i=0;r==null&&(r=1/0),a==null&&(a=1/0);var s=0;t.eachChild(function(l,u){var c=l.getBoundingRect(),f=t.childAt(u+1),h=f&&f.getBoundingRect(),d,p;if(e==="horizontal"){var v=c.width+(h?-h.x+c.x:0);d=o+v,d>r||l.newline?(o=0,d=v,i+=s+n,s=c.height):s=Math.max(s,c.height)}else{var g=c.height+(h?-h.y+c.y:0);p=i+g,p>a||l.newline?(o+=s+n,i=0,p=g,s=c.width):s=Math.max(s,c.width)}l.newline||(l.x=o,l.y=i,l.markRedraw(),e==="horizontal"?o=d+n:i=p+n)})}var Hc=gO;dn(gO,"vertical");dn(gO,"horizontal");function EXe(e,t,n){var r=t.width,a=t.height,o=an(e.left,r),i=an(e.top,a),s=an(e.right,r),l=an(e.bottom,a);return(isNaN(o)||isNaN(parseFloat(e.left)))&&(o=0),(isNaN(s)||isNaN(parseFloat(e.right)))&&(s=r),(isNaN(i)||isNaN(parseFloat(e.top)))&&(i=0),(isNaN(l)||isNaN(parseFloat(e.bottom)))&&(l=a),n=Ef(n||0),{width:Math.max(s-o-n[1]-n[3],0),height:Math.max(l-i-n[0]-n[2],0)}}function wi(e,t,n){n=Ef(n||0);var r=t.width,a=t.height,o=an(e.left,r),i=an(e.top,a),s=an(e.right,r),l=an(e.bottom,a),u=an(e.width,r),c=an(e.height,a),f=n[2]+n[0],h=n[1]+n[3],d=e.aspect;switch(isNaN(u)&&(u=r-s-h-o),isNaN(c)&&(c=a-l-f-i),d!=null&&(isNaN(u)&&isNaN(c)&&(d>r/a?u=r*.8:c=a*.8),isNaN(u)&&(u=d*c),isNaN(c)&&(c=u/d)),isNaN(o)&&(o=r-s-u-h),isNaN(i)&&(i=a-l-c-f),e.left||e.right){case"center":o=r/2-u/2-n[3];break;case"right":o=r-u-h;break}switch(e.top||e.bottom){case"middle":case"center":i=a/2-c/2-n[0];break;case"bottom":i=a-c-f;break}o=o||0,i=i||0,isNaN(u)&&(u=r-h-o-(s||0)),isNaN(c)&&(c=a-f-i-(l||0));var p=new mn(o+n[3],i+n[0],u,c);return p.margin=n,p}function mO(e,t,n,r,a,o){var i=!a||!a.hv||a.hv[0],s=!a||!a.hv||a.hv[1],l=a&&a.boundingMode||"all";if(o=o||e,o.x=e.x,o.y=e.y,!i&&!s)return!1;var u;if(l==="raw")u=e.type==="group"?new mn(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(u=e.getBoundingRect(),e.needLocalTransform()){var c=e.getLocalTransform();u=u.clone(),u.applyTransform(c)}var f=wi(Ut({width:u.width,height:u.height},t),n,r),h=i?f.x-u.x:0,d=s?f.y-u.y:0;return l==="raw"?(o.x=h,o.y=d):(o.x+=h,o.y+=d),o===e&&e.markRedraw(),!0}function kXe(e,t){return e[xc[t][0]]!=null||e[xc[t][1]]!=null&&e[xc[t][2]]!=null}function Hg(e){var t=e.layoutMode||e.constructor.layoutMode;return xt(t)?t:t?{type:t}:null}function hf(e,t,n){var r=n&&n.ignoreSize;!ot(r)&&(r=[r,r]);var a=i(xc[0],0),o=i(xc[1],1);u(xc[0],e,a),u(xc[1],e,o);function i(c,f){var h={},d=0,p={},v=0,g=2;if(E1(c,function(_){p[_]=e[_]}),E1(c,function(_){s(t,_)&&(h[_]=p[_]=t[_]),l(h,_)&&d++,l(p,_)&&v++}),r[f])return l(t,c[1])?p[c[2]]=null:l(t,c[2])&&(p[c[1]]=null),p;if(v===g||!d)return p;if(d>=g)return h;for(var m=0;m=0;l--)s=qt(s,a[l],!0);r.defaultOption=s}return r.defaultOption},t.prototype.getReferringComponents=function(n,r){var a=n+"Index",o=n+"Id";return Km(this.ecModel,n,{index:this.get(a,!0),id:this.get(o,!0)},r)},t.prototype.getBoxLayoutParams=function(){var n=this;return{left:n.get("left"),top:n.get("top"),right:n.get("right"),bottom:n.get("bottom"),width:n.get("width"),height:n.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(n){this.option.zlevel=n},t.protoInitialize=function(){var n=t.prototype;n.type="component",n.id="",n.name="",n.mainType="",n.subType="",n.componentIndex=0}(),t}(Ln);UG(ln,Ln);Vw(ln);L$e(ln);$$e(ln,X$e);function X$e(e){var t=[];return re(ln.getClassesByMainType(e),function(n){t=t.concat(n.dependencies||n.prototype.dependencies||[])}),t=lt(t,function(n){return ts(n).main}),e!=="dataset"&&tn(t,"dataset")<=0&&t.unshift("dataset"),t}var zq="";typeof navigator!="undefined"&&(zq=navigator.platform||"");var Gf="rgba(0, 0, 0, 0.2)";const Z$e={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Gf,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Gf,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Gf,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Gf,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Gf,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Gf,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:zq.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var Hq=Dt(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),Wo="original",za="arrayRows",Ai="objectRows",ws="keyedColumns",Ql="typedArray",Wq="unknown",Us="column",np="row",Er={Must:1,Might:2,Not:3},Uq=Nn();function J$e(e){Uq(e).datasetMap=Dt()}function Q$e(e,t,n){var r={},a=yO(t);if(!a||!e)return r;var o=[],i=[],s=t.ecModel,l=Uq(s).datasetMap,u=a.uid+"_"+n.seriesLayoutBy,c,f;e=e.slice(),re(e,function(v,g){var m=xt(v)?v:e[g]={name:v};m.type==="ordinal"&&c==null&&(c=g,f=p(m)),r[m.name]=[]});var h=l.get(u)||l.set(u,{categoryWayDim:f,valueWayDim:0});re(e,function(v,g){var m=v.name,w=p(v);if(c==null){var _=h.valueWayDim;d(r[m],_,w),d(i,_,w),h.valueWayDim+=w}else if(c===g)d(r[m],0,w),d(o,0,w);else{var _=h.categoryWayDim;d(r[m],_,w),d(i,_,w),h.categoryWayDim+=w}});function d(v,g,m){for(var w=0;wt)return e[r];return e[n-1]}function Gq(e,t,n,r,a,o,i){o=o||e;var s=t(o),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(a))return u[a];var c=i==null||!r?n:oNe(r,i);if(c=c||n,!(!c||!c.length)){var f=c[l];return a&&(u[a]=f),s.paletteIdx=(l+1)%c.length,f}}function iNe(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var ay,kp,DL,LL="\0_ec_inner",sNe=1,_O=function(e){Ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(n,r,a,o,i,s){o=o||{},this.option=null,this._theme=new Ln(o),this._locale=new Ln(i),this._optionManager=s},t.prototype.setOption=function(n,r,a){var o=BL(r);this._optionManager.setOption(n,a,o),this._resetOption(null,o)},t.prototype.resetOption=function(n,r){return this._resetOption(n,BL(r))},t.prototype._resetOption=function(n,r){var a=!1,o=this._optionManager;if(!n||n==="recreate"){var i=o.mountOption(n==="recreate");!this.option||n==="recreate"?DL(this,i):(this.restoreData(),this._mergeOption(i,r)),a=!0}if((n==="timeline"||n==="media")&&this.restoreData(),!n||n==="recreate"||n==="timeline"){var s=o.getTimelineOption(this);s&&(a=!0,this._mergeOption(s,r))}if(!n||n==="recreate"||n==="media"){var l=o.getMediaOption(this);l.length&&re(l,function(u){a=!0,this._mergeOption(u,r)},this)}return a},t.prototype.mergeOption=function(n){this._mergeOption(n,null)},t.prototype._mergeOption=function(n,r){var a=this.option,o=this._componentsMap,i=this._componentsCount,s=[],l=Dt(),u=r&&r.replaceMergeMainTypeMap;J$e(this),re(n,function(f,h){f!=null&&(ln.hasClass(h)?h&&(s.push(h),l.set(h,!0)):a[h]=a[h]==null?Pt(f):qt(a[h],f,!0))}),u&&u.each(function(f,h){ln.hasClass(h)&&!l.get(h)&&(s.push(h),l.set(h,!0))}),ln.topologicalTravel(s,ln.getAllClassMainTypes(),c,this);function c(f){var h=rNe(this,f,nr(n[f])),d=o.get(f),p=d?u&&u.get(f)?"replaceMerge":"normalMerge":"replaceAll",v=FG(d,h,p);EDe(v,f,ln),a[f]=null,o.set(f,null),i.set(f,0);var g=[],m=[],w=0,_;re(v,function(b,S){var C=b.existing,T=b.newOption;if(!T)C&&(C.mergeOption({},this),C.optionUpdated({},!1));else{var x=f==="series",E=ln.getClass(f,b.keyInfo.subType,!x);if(!E)return;if(f==="tooltip"){if(_)return;_=!0}if(C&&C.constructor===E)C.name=b.keyInfo.name,C.mergeOption(T,this),C.optionUpdated(T,!1);else{var k=Qe({componentIndex:S},b.keyInfo);C=new E(T,this,this,k),Qe(C,k),b.brandNew&&(C.__requireNewView=!0),C.init(T,this,this),C.optionUpdated(null,!0)}}C?(g.push(C.option),m.push(C),w++):(g.push(void 0),m.push(void 0))},this),a[f]=g,o.set(f,m),i.set(f,w),f==="series"&&ay(this)}this._seriesIndices||ay(this)},t.prototype.getOption=function(){var n=Pt(this.option);return re(n,function(r,a){if(ln.hasClass(a)){for(var o=nr(r),i=o.length,s=!1,l=i-1;l>=0;l--)o[l]&&!Lg(o[l])?s=!0:(o[l]=null,!s&&i--);o.length=i,n[a]=o}}),delete n[LL],n},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(n){this._payload=n},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(n,r){var a=this._componentsMap.get(n);if(a){var o=a[r||0];if(o)return o;if(r==null){for(var i=0;i=t:n==="max"?e<=t:e===t}function gNe(e,t){return e.join(",")===t.join(",")}var Go=re,Wg=xt,FL=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function nT(e){var t=e&&e.itemStyle;if(t)for(var n=0,r=FL.length;n=0;g--){var m=e[g];if(s||(p=m.data.rawIndexOf(m.stackedByDimension,d)),p>=0){var w=m.data.getByRawIndex(m.stackResultDimension,p);if(l==="all"||l==="positive"&&w>0||l==="negative"&&w<0||l==="samesign"&&h>=0&&w>0||l==="samesign"&&h<=0&&w<0){h=pDe(h,w),v=w;break}}}return r[0]=h,r[1]=v,r})})}var aS=function(){function e(t){this.data=t.data||(t.sourceFormat===ws?{}:[]),this.sourceFormat=t.sourceFormat||Wq,this.seriesLayoutBy=t.seriesLayoutBy||Us,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var n=this.dimensionsDefine=t.dimensionsDefine;if(n)for(var r=0;rv&&(v=_)}d[0]=p,d[1]=v}},a=function(){return this._data?this._data.length/this._dimSize:0};KL=(t={},t[za+"_"+Us]={pure:!0,appendData:o},t[za+"_"+np]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[Ai]={pure:!0,appendData:o},t[ws]={pure:!0,appendData:function(i){var s=this._data;re(i,function(l,u){for(var c=s[u]||(s[u]=[]),f=0;f<(l||[]).length;f++)c.push(l[f])})}},t[Wo]={appendData:o},t[Ql]={persistent:!1,pure:!0,appendData:function(i){this._data=i},clean:function(){this._offset+=this.count(),this._data=null}},t);function o(i){for(var s=0;s=0&&(v=i.interpolatedValue[g])}return v!=null?v+"":""})}},e.prototype.getRawValue=function(t,n){return Sh(this.getData(n),t)},e.prototype.formatTooltip=function(t,n,r){},e}();function XL(e){var t,n;return xt(e)?e.type&&(n=e):t=e,{text:t,frag:n}}function Bv(e){return new DNe(e)}var DNe=function(){function e(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return e.prototype.perform=function(t){var n=this._upstream,r=t&&t.skip;if(this._dirty&&n){var a=this.context;a.data=a.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var o;this._plan&&!r&&(o=this._plan(this.context));var i=c(this._modBy),s=this._modDataCount||0,l=c(t&&t.modBy),u=t&&t.modDataCount||0;(i!==l||s!==u)&&(o="reset");function c(w){return!(w>=1)&&(w=1),w}var f;(this._dirty||o==="reset")&&(this._dirty=!1,f=this._doReset(r)),this._modBy=l,this._modDataCount=u;var h=t&&t.step;if(n?this._dueEnd=n._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var d=this._dueIndex,p=Math.min(h!=null?this._dueIndex+h:1/0,this._dueEnd);if(!r&&(f||d1&&r>0?s:i}};return o;function i(){return t=e?null:lt},gte:function(e,t){return e>=t}},$Ne=function(){function e(t,n){if(!Cn(n)){var r="";sa(r)}this._opFn=rY[t],this._rvalFloat=Xs(n)}return e.prototype.evaluate=function(t){return Cn(t)?this._opFn(t,this._rvalFloat):this._opFn(Xs(t),this._rvalFloat)},e}(),NNe=function(){function e(t,n){var r=t==="desc";this._resultLT=r?1:-1,n==null&&(n=r?"min":"max"),this._incomparable=n==="min"?-1/0:1/0}return e.prototype.evaluate=function(t,n){var r=Cn(t)?t:Xs(t),a=Cn(n)?n:Xs(n),o=isNaN(r),i=isNaN(a);if(o&&(r=this._incomparable),i&&(a=this._incomparable),o&&i){var s=yt(t),l=yt(n);s&&(r=l?t:0),l&&(a=s?n:0)}return ra?-this._resultLT:0},e}(),BNe=function(){function e(t,n){this._rval=n,this._isEQ=t,this._rvalTypeof=typeof n,this._rvalFloat=Xs(n)}return e.prototype.evaluate=function(t){var n=t===this._rval;if(!n){var r=typeof t;r!==this._rvalTypeof&&(r==="number"||this._rvalTypeof==="number")&&(n=Xs(t)===this._rvalFloat)}return this._isEQ?n:!n},e}();function OXe(e,t){return e==="eq"||e==="ne"?new BNe(e==="eq",t):mt(rY,e)?new $Ne(e,t):null}var FNe=function(){function e(){}return e.prototype.getRawData=function(){throw new Error("not supported")},e.prototype.getRawDataItem=function(t){throw new Error("not supported")},e.prototype.cloneRawData=function(){},e.prototype.getDimensionInfo=function(t){},e.prototype.cloneAllDimensionInfo=function(){},e.prototype.count=function(){},e.prototype.retrieveValue=function(t,n){},e.prototype.retrieveValueFromItem=function(t,n){},e.prototype.convertValue=function(t,n){return k1(t,n)},e}();function VNe(e,t){var n=new FNe,r=e.data,a=n.sourceFormat=e.sourceFormat,o=e.startIndex,i="";e.seriesLayoutBy!==Us&&sa(i);var s=[],l={},u=e.dimensionsDefine;if(u)re(u,function(v,g){var m=v.name,w={index:g,name:m,displayName:v.displayName};if(s.push(w),m!=null){var _="";mt(l,m)&&sa(_),l[m]=w}});else for(var c=0;c65535?qNe:YNe}function Yf(){return[1/0,-1/0]}function XNe(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function QL(e,t,n,r,a){var o=iY[n||"float"];if(a){var i=e[t],s=i&&i.length;if(s!==r){for(var l=new o(r),u=0;ug[1]&&(g[1]=v)}return this._rawCount=this._count=l,{start:s,end:l}},e.prototype._initDataFromProvider=function(t,n,r){for(var a=this._provider,o=this._chunks,i=this._dimensions,s=i.length,l=this._rawExtent,u=lt(i,function(w){return w.property}),c=0;cm[1]&&(m[1]=g)}}!a.persistent&&a.clean&&a.clean(),this._rawCount=this._count=n,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(t,n){if(!(n>=0&&n=0&&n=this._rawCount||t<0)return-1;if(!this._indices)return t;var n=this._indices,r=n[t];if(r!=null&&rt)o=i-1;else return i}return-1},e.prototype.indicesOfNearest=function(t,n,r){var a=this._chunks,o=a[t],i=[];if(!o)return i;r==null&&(r=1/0);for(var s=1/0,l=-1,u=0,c=0,f=this.count();c=0&&l<0)&&(s=p,l=d,u=0),d===l&&(i[u++]=c))}return i.length=u,i},e.prototype.getIndices=function(){var t,n=this._indices;if(n){var r=n.constructor,a=this._count;if(r===Array){t=new r(a);for(var o=0;o=f&&w<=h||isNaN(w))&&(l[u++]=v),v++}p=!0}else if(o===2){for(var g=d[a[0]],_=d[a[1]],b=t[a[1]][0],S=t[a[1]][1],m=0;m=f&&w<=h||isNaN(w))&&(C>=b&&C<=S||isNaN(C))&&(l[u++]=v),v++}p=!0}}if(!p)if(o===1)for(var m=0;m=f&&w<=h||isNaN(w))&&(l[u++]=T)}else for(var m=0;mt[k][1])&&(x=!1)}x&&(l[u++]=n.getRawIndex(m))}return um[1]&&(m[1]=g)}}}},e.prototype.lttbDownSample=function(t,n){var r=this.clone([t],!0),a=r._chunks,o=a[t],i=this.count(),s=0,l=Math.floor(1/n),u=this.getRawIndex(0),c,f,h,d=new(qf(this._rawCount))(Math.min((Math.ceil(i/l)+2)*2,i));d[s++]=u;for(var p=1;pc&&(c=f,h=b)}A>0&&As&&(v=s-c);for(var g=0;gp&&(p=w,d=c+g)}var _=this.getRawIndex(f),b=this.getRawIndex(d);fc-p&&(l=c-p,s.length=l);for(var v=0;vf[1]&&(f[1]=m),h[d++]=w}return o._count=d,o._indices=h,o._updateGetRawIdx(),o},e.prototype.each=function(t,n){if(this._count)for(var r=t.length,a=this._chunks,o=0,i=this.count();ol&&(l=f)}return i=[s,l],this._extent[t]=i,i},e.prototype.getRawDataItem=function(t){var n=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(n);for(var r=[],a=this._chunks,o=0;o=0?this._indices[t]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function t(n,r,a,o){return k1(n[o],this._dimensions[o])}oT={arrayRows:t,objectRows:function(n,r,a,o){return k1(n[r],this._dimensions[o])},keyedColumns:t,original:function(n,r,a,o){var i=n&&(n.value==null?n:n.value);return k1(i instanceof Array?i[o]:i,this._dimensions[o])},typedArray:function(n,r,a,o){return n[o]}}}(),e}(),ZNe=function(){function e(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(t,n){this._sourceList=t,this._upstreamSignList=n,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,n=this._getUpstreamSourceManagers(),r=!!n.length,a,o;if(oy(t)){var i=t,s=void 0,l=void 0,u=void 0;if(r){var c=n[0];c.prepareSource(),u=c.getSource(),s=u.data,l=u.sourceFormat,o=[c._getVersionSign()]}else s=i.get("data",!0),l=wa(s)?Ql:Wo,o=[];var f=this._getSourceMetaRawOption()||{},h=u&&u.metaRawOption||{},d=Ft(f.seriesLayoutBy,h.seriesLayoutBy)||null,p=Ft(f.sourceHeader,h.sourceHeader),v=Ft(f.dimensions,h.dimensions),g=d!==h.seriesLayoutBy||!!p!=!!h.sourceHeader||v;a=g?[Wk(s,{seriesLayoutBy:d,sourceHeader:p,dimensions:v},l)]:[]}else{var m=t;if(r){var w=this._applyTransform(n);a=w.sourceList,o=w.upstreamSignList}else{var _=m.get("source",!0);a=[Wk(_,this._getSourceMetaRawOption(),null)],o=[]}}this._setLocalSource(a,o)},e.prototype._applyTransform=function(t){var n=this._sourceHost,r=n.get("transform",!0),a=n.get("fromTransformResult",!0);if(a!=null){var o="";t.length!==1&&e$(o)}var i,s=[],l=[];return re(t,function(u){u.prepareSource();var c=u.getSource(a||0),f="";a!=null&&!c&&e$(f),s.push(c),l.push(u._getVersionSign())}),r?i=KNe(r,s,{datasetIndex:n.componentIndex}):a!=null&&(i=[ENe(s[0])]),{sourceList:i,upstreamSignList:l}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),n=0;n1||n>0&&!e.noHeader;return re(e.blocks,function(a){var o=cY(a);o>=t&&(t=o+ +(r&&(!o||jk(a)&&!a.noHeader)))}),t}return 0}function t7e(e,t,n,r){var a=t.noHeader,o=r7e(cY(t)),i=[],s=t.blocks||[];Va(!s||ot(s)),s=s||[];var l=e.orderMode;if(t.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(mt(u,l)){var c=new NNe(u[l],null);s.sort(function(v,g){return c.evaluate(v.sortParam,g.sortParam)})}else l==="seriesDesc"&&s.reverse()}re(s,function(v,g){var m=t.valueFormatter,w=uY(v)(m?Qe(Qe({},e),{valueFormatter:m}):e,v,g>0?o.html:0,r);w!=null&&i.push(w)});var f=e.renderMode==="richText"?i.join(o.richText):Kk(r,i.join(""),a?n:o.html);if(a)return f;var h=zk(t.header,"ordinal",e.useUTC),d=lY(r,e.renderMode).nameStyle,p=sY(r);return e.renderMode==="richText"?fY(e,h,d)+o.richText+f:Kk(r,'
'+Vr(h)+"
"+f,n)}function n7e(e,t,n,r){var a=e.renderMode,o=t.noName,i=t.noValue,s=!t.markerType,l=t.name,u=e.useUTC,c=t.valueFormatter||e.valueFormatter||function(b){return b=ot(b)?b:[b],lt(b,function(S,C){return zk(S,ot(d)?d[C]:d,u)})};if(!(o&&i)){var f=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",a),h=o?"":zk(l,"ordinal",u),d=t.valueType,p=i?[]:c(t.value,t.dataIndex),v=!s||!o,g=!s&&o,m=lY(r,a),w=m.nameStyle,_=m.valueStyle;return a==="richText"?(s?"":f)+(o?"":fY(e,h,w))+(i?"":i7e(e,p,v,g,_)):Kk(r,(s?"":f)+(o?"":a7e(h,!s,w))+(i?"":o7e(p,v,g,_)),n)}}function t$(e,t,n,r,a,o){if(e){var i=uY(e),s={useUTC:a,renderMode:n,orderMode:r,markupStyleCreator:t,valueFormatter:e.valueFormatter};return i(s,e,0,o)}}function r7e(e){return{html:QNe[e],richText:e7e[e]}}function Kk(e,t,n){var r='
',a="margin: "+n+"px 0 0",o=sY(e);return'
'+t+r+"
"}function a7e(e,t,n){var r=t?"margin-left:2px":"";return''+Vr(e)+""}function o7e(e,t,n,r){var a=n?"10px":"20px",o=t?"float:right;margin-left:"+a:"";return e=ot(e)?e:[e],''+lt(e,function(i){return Vr(i)}).join("  ")+""}function fY(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function i7e(e,t,n,r,a){var o=[a],i=r?10:20;return n&&o.push({padding:[0,0,0,i],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(ot(t)?t.join(" "):t,o)}function s7e(e,t){var n=e.getData().getItemVisual(t,"style"),r=n[e.visualDrawType];return df(r)}function dY(e,t){var n=e.get("padding");return n!=null?n:t==="richText"?[8,10]:10}var iT=function(){function e(){this.richTextStyles={},this._nextStyleNameId=LG()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(t,n,r){var a=r==="richText"?this._generateStyleName():null,o=Bq({color:n,type:t,renderMode:r,markerId:a});return yt(o)?o:(this.richTextStyles[a]=o.style,o.content)},e.prototype.wrapRichTextStyle=function(t,n){var r={};ot(n)?re(n,function(o){return Qe(r,o)}):Qe(r,n);var a=this._generateStyleName();return this.richTextStyles[a]=r,"{"+a+"|"+t+"}"},e}();function l7e(e){var t=e.series,n=e.dataIndex,r=e.multipleSeries,a=t.getData(),o=a.mapDimensionsAll("defaultedTooltip"),i=o.length,s=t.getRawValue(n),l=ot(s),u=s7e(t,n),c,f,h,d;if(i>1||l&&!i){var p=u7e(s,t,n,o,u);c=p.inlineValues,f=p.inlineValueTypes,h=p.blocks,d=p.inlineValues[0]}else if(i){var v=a.getDimensionInfo(o[0]);d=c=Sh(a,n,o[0]),f=v.type}else d=c=l?s[0]:s;var g=HM(t),m=g&&t.name||"",w=a.getName(n),_=r?m:w;return Ug("section",{header:m,noHeader:r||!g,sortParam:d,blocks:[Ug("nameValue",{markerType:"item",markerColor:u,name:_,noName:!oi(_),value:c,valueType:f,dataIndex:n})].concat(h||[])})}function u7e(e,t,n,r,a){var o=t.getData(),i=_i(e,function(f,h,d){var p=o.getDimensionInfo(d);return f=f||p&&p.tooltip!==!1&&p.displayName!=null},!1),s=[],l=[],u=[];r.length?re(r,function(f){c(Sh(o,n,f),f)}):re(e,c);function c(f,h){var d=o.getDimensionInfo(h);!d||d.otherDims.tooltip===!1||(i?u.push(Ug("nameValue",{markerType:"subItem",markerColor:a,name:d.displayName,value:f,valueType:d.type})):(s.push(f),l.push(d.type)))}return{inlineValues:s,inlineValueTypes:l,blocks:u}}var dl=Nn();function iy(e,t){return e.getName(t)||e.getId(t)}var c7e="__universalTransitionEnabled",Ha=function(e){Ye(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n._selectedDataIndicesMap={},n}return t.prototype.init=function(n,r,a){this.seriesIndex=this.componentIndex,this.dataTask=Bv({count:d7e,reset:h7e}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(n,a);var o=dl(this).sourceManager=new ZNe(this);o.prepareSource();var i=this.getInitialData(n,a);r$(i,this),this.dataTask.context.data=i,dl(this).dataBeforeProcessed=i,n$(this),this._initSelectedMapFromData(i)},t.prototype.mergeDefaultAndTheme=function(n,r){var a=Hg(this),o=a?t0(n):{},i=this.subType;ln.hasClass(i)&&(i+="Series"),qt(n,r.getTheme().get(this.subType)),qt(n,this.getDefaultOption()),Ok(n,"label",["show"]),this.fillDataTextStyle(n.data),a&&hf(n,o,a)},t.prototype.mergeOption=function(n,r){n=qt(this.option,n,!0),this.fillDataTextStyle(n.data);var a=Hg(this);a&&hf(this.option,n,a);var o=dl(this).sourceManager;o.dirty(),o.prepareSource();var i=this.getInitialData(n,r);r$(i,this),this.dataTask.dirty(),this.dataTask.context.data=i,dl(this).dataBeforeProcessed=i,n$(this),this._initSelectedMapFromData(i)},t.prototype.fillDataTextStyle=function(n){if(n&&!wa(n))for(var r=["show"],a=0;athis.getShallow("animationThreshold")&&(r=!1),!!r},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(n,r,a){var o=this.ecModel,i=bO.prototype.getColorFromPalette.call(this,n,r,a);return i||(i=o.getColorFromPalette(n,r,a)),i},t.prototype.coordDimToDataDim=function(n){return this.getRawData().mapDimensionsAll(n)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(n,r){this._innerSelect(this.getData(r),n)},t.prototype.unselect=function(n,r){var a=this.option.selectedMap;if(a){var o=this.option.selectedMode,i=this.getData(r);if(o==="series"||a==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var s=0;s=0&&a.push(i)}return a},t.prototype.isSelected=function(n,r){var a=this.option.selectedMap;if(!a)return!1;var o=this.getData(r);return(a==="all"||a[iy(o,n)])&&!o.getItemModel(n).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[c7e])return!0;var n=this.option.universalTransition;return n?n===!0?!0:n&&n.enabled:!1},t.prototype._innerSelect=function(n,r){var a,o,i=this.option,s=i.selectedMode,l=r.length;if(!(!s||!l)){if(s==="series")i.selectedMap="all";else if(s==="multiple"){xt(i.selectedMap)||(i.selectedMap={});for(var u=i.selectedMap,c=0;c0&&this._innerSelect(n,r)}},t.registerClass=function(n){return ln.registerClass(n)},t.protoInitialize=function(){var n=t.prototype;n.type="series.__base__",n.seriesIndex=0,n.ignoreStyleOnData=!1,n.hasSymbolVisual=!1,n.defaultSymbol="circle",n.visualStyleAccessPath="itemStyle",n.visualDrawType="fill"}(),t}(ln);io(Ha,INe);io(Ha,bO);UG(Ha,ln);function n$(e){var t=e.name;HM(e)||(e.name=f7e(e)||t)}function f7e(e){var t=e.getRawData(),n=t.mapDimensionsAll("seriesName"),r=[];return re(n,function(a){var o=t.getDimensionInfo(a);o.displayName&&r.push(o.displayName)}),r.join(" ")}function d7e(e){return e.model.getRawData().count()}function h7e(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),p7e}function p7e(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function r$(e,t){re(XK(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(n){e.wrapMethod(n,dn(v7e,t))})}function v7e(e,t){var n=Gk(e);return n&&n.setOutputEnd((t||this).count()),t}function Gk(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var a=r.agentStubMap;a&&(r=a.get(e.uid))}return r}}var _r=function(){function e(){this.group=new Rn,this.uid=Qm("viewComponent")}return e.prototype.init=function(t,n){},e.prototype.render=function(t,n,r,a){},e.prototype.dispose=function(t,n){},e.prototype.updateView=function(t,n,r,a){},e.prototype.updateLayout=function(t,n,r,a){},e.prototype.updateVisual=function(t,n,r,a){},e.prototype.toggleBlurSeries=function(t,n,r){},e.prototype.eachRendered=function(t){var n=this.group;n&&n.traverse(t)},e}();UM(_r);Vw(_r);function xO(){var e=Nn();return function(t){var n=e(t),r=t.pipelineContext,a=!!n.large,o=!!n.progressiveRender,i=n.large=!!(r&&r.large),s=n.progressiveRender=!!(r&&r.progressiveRender);return(a!==i||o!==s)&&"reset"}}var hY=Nn(),g7e=xO(),ya=function(){function e(){this.group=new Rn,this.uid=Qm("viewChart"),this.renderTask=Bv({plan:m7e,reset:y7e}),this.renderTask.context={view:this}}return e.prototype.init=function(t,n){},e.prototype.render=function(t,n,r,a){},e.prototype.highlight=function(t,n,r,a){var o=t.getData(a&&a.dataType);o&&o$(o,a,"emphasis")},e.prototype.downplay=function(t,n,r,a){var o=t.getData(a&&a.dataType);o&&o$(o,a,"normal")},e.prototype.remove=function(t,n){this.group.removeAll()},e.prototype.dispose=function(t,n){},e.prototype.updateView=function(t,n,r,a){this.render(t,n,r,a)},e.prototype.updateLayout=function(t,n,r,a){this.render(t,n,r,a)},e.prototype.updateVisual=function(t,n,r,a){this.render(t,n,r,a)},e.prototype.eachRendered=function(t){Zw(this.group,t)},e.markUpdateMethod=function(t,n){hY(t).updateMethod=n},e.protoInitialize=function(){var t=e.prototype;t.type="chart"}(),e}();function a$(e,t,n){e&&$k(e)&&(t==="emphasis"?_h:wh)(e,n)}function o$(e,t,n){var r=ff(e,t),a=t&&t.highlightKey!=null?GLe(t.highlightKey):null;r!=null?re(nr(r),function(o){a$(e.getItemGraphicEl(o),n,a)}):e.eachItemGraphicEl(function(o){a$(o,n,a)})}UM(ya);Vw(ya);function m7e(e){return g7e(e.model)}function y7e(e){var t=e.model,n=e.ecModel,r=e.api,a=e.payload,o=t.pipelineContext.progressiveRender,i=e.view,s=a&&hY(a).updateMethod,l=o?"incrementalPrepareRender":s&&i[s]?s:"render";return l!=="render"&&i[l](t,n,r,a),b7e[l]}var b7e={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},Jb="\0__throttleOriginMethod",i$="\0__throttleRate",s$="\0__throttleType";function iS(e,t,n){var r,a=0,o=0,i=null,s,l,u,c;t=t||0;function f(){o=new Date().getTime(),i=null,e.apply(l,u||[])}var h=function(){for(var d=[],p=0;p=0?f():i=setTimeout(f,-s),a=r};return h.clear=function(){i&&(clearTimeout(i),i=null)},h.debounceNextCall=function(d){c=d},h}function sS(e,t,n,r){var a=e[t];if(a){var o=a[Jb]||a,i=a[s$],s=a[i$];if(s!==n||i!==r){if(n==null||!r)return e[t]=o;a=e[t]=iS(o,n,r==="debounce"),a[Jb]=o,a[s$]=r,a[i$]=n}return a}}function Qb(e,t){var n=e[t];n&&n[Jb]&&(n.clear&&n.clear(),e[t]=n[Jb])}var l$=Nn(),u$={itemStyle:$g(Aq,!0),lineStyle:$g(kq,!0)},_7e={lineStyle:"stroke",itemStyle:"fill"};function pY(e,t){var n=e.visualStyleMapper||u$[t];return n||(console.warn("Unknown style type '"+t+"'."),u$.itemStyle)}function vY(e,t){var n=e.visualDrawType||_7e[t];return n||(console.warn("Unknown style type '"+t+"'."),"fill")}var w7e={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",a=e.getModel(r),o=pY(e,r),i=o(a),s=a.getShallow("decal");s&&(n.setVisual("decal",s),s.dirty=!0);var l=vY(e,r),u=i[l],c=Lt(u)?u:null,f=i.fill==="auto"||i.stroke==="auto";if(!i[l]||c||f){var h=e.getColorFromPalette(e.name,null,t.getSeriesCount());i[l]||(i[l]=h,n.setVisual("colorFromPalette",!0)),i.fill=i.fill==="auto"||Lt(i.fill)?h:i.fill,i.stroke=i.stroke==="auto"||Lt(i.stroke)?h:i.stroke}if(n.setVisual("style",i),n.setVisual("drawType",l),!t.isSeriesFiltered(e)&&c)return n.setVisual("colorFromPalette",!1),{dataEach:function(d,p){var v=e.getDataParams(p),g=Qe({},i);g[l]=c(v),d.setItemVisual(p,"style",g)}}}},Mp=new Ln,S7e={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!(e.ignoreStyleOnData||t.isSeriesFiltered(e))){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",a=pY(e,r),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(i,s){var l=i.getRawDataItem(s);if(l&&l[r]){Mp.option=l[r];var u=a(Mp),c=i.ensureUniqueItemVisual(s,"style");Qe(c,u),Mp.option.decal&&(i.setItemVisual(s,"decal",Mp.option.decal),Mp.option.decal.dirty=!0),o in u&&i.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},C7e={performRawSeries:!0,overallReset:function(e){var t=Dt();e.eachSeries(function(n){var r=n.getColorBy();if(!n.isColorBySeries()){var a=n.type+"-"+r,o=t.get(a);o||(o={},t.set(a,o)),l$(n).scope=o}}),e.eachSeries(function(n){if(!(n.isColorBySeries()||e.isSeriesFiltered(n))){var r=n.getRawData(),a={},o=n.getData(),i=l$(n).scope,s=n.visualStyleAccessPath||"itemStyle",l=vY(n,s);o.each(function(u){var c=o.getRawIndex(u);a[c]=u}),r.each(function(u){var c=a[u],f=o.getItemVisual(c,"colorFromPalette");if(f){var h=o.ensureUniqueItemVisual(c,"style"),d=r.getName(u)||u+"",p=r.count();h[l]=n.getColorFromPalette(d,i,p)}})}})}},sy=Math.PI;function T7e(e,t){t=t||{},Ut(t,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Rn,r=new Pn({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});n.add(r);var a=new Tn({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),o=new Pn({style:{fill:"none"},textContent:a,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});n.add(o);var i;return t.showSpinner&&(i=new qm({shape:{startAngle:-sy/2,endAngle:-sy/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),i.animateShape(!0).when(1e3,{endAngle:sy*3/2}).start("circularInOut"),i.animateShape(!0).when(1e3,{startAngle:sy*3/2}).delay(300).start("circularInOut"),n.add(i)),n.resize=function(){var s=a.getBoundingRect().width,l=t.showSpinner?t.spinnerRadius:0,u=(e.getWidth()-l*2-(t.showSpinner&&s?10:0)-s)/2-(t.showSpinner&&s?0:5+s/2)+(t.showSpinner?0:s/2)+(s?0:l),c=e.getHeight()/2;t.showSpinner&&i.setShape({cx:u,cy:c}),o.setShape({x:u-l,y:c-l,width:l*2,height:l*2}),r.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},n.resize(),n}var gY=function(){function e(t,n,r,a){this._stageTaskMap=Dt(),this.ecInstance=t,this.api=n,r=this._dataProcessorHandlers=r.slice(),a=this._visualHandlers=a.slice(),this._allHandlers=r.concat(a)}return e.prototype.restoreData=function(t,n){t.restoreData(n),this._stageTaskMap.each(function(r){var a=r.overallTask;a&&a.dirty()})},e.prototype.getPerformArgs=function(t,n){if(t.__pipeline){var r=this._pipelineMap.get(t.__pipeline.id),a=r.context,o=!n&&r.progressiveEnabled&&(!a||a.progressiveRender)&&t.__idxInPipeline>r.blockIndex,i=o?r.step:null,s=a&&a.modDataCount,l=s!=null?Math.ceil(s/i):null;return{step:i,modBy:l,modDataCount:s}}},e.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},e.prototype.updateStreamModes=function(t,n){var r=this._pipelineMap.get(t.uid),a=t.getData(),o=a.count(),i=r.progressiveEnabled&&n.incrementalPrepareRender&&o>=r.threshold,s=t.get("large")&&o>=t.get("largeThreshold"),l=t.get("progressiveChunkMode")==="mod"?o:null;t.pipelineContext=r.context={progressiveRender:i,modDataCount:l,large:s}},e.prototype.restorePipelines=function(t){var n=this,r=n._pipelineMap=Dt();t.eachSeries(function(a){var o=a.getProgressive(),i=a.uid;r.set(i,{id:i,head:null,tail:null,threshold:a.getProgressiveThreshold(),progressiveEnabled:o&&!(a.preventIncremental&&a.preventIncremental()),blockIndex:-1,step:Math.round(o||700),count:0}),n._pipe(a,a.dataTask)})},e.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,n=this.api.getModel(),r=this.api;re(this._allHandlers,function(a){var o=t.get(a.uid)||t.set(a.uid,{}),i="";Va(!(a.reset&&a.overallReset),i),a.reset&&this._createSeriesStageTask(a,o,n,r),a.overallReset&&this._createOverallStageTask(a,o,n,r)},this)},e.prototype.prepareView=function(t,n,r,a){var o=t.renderTask,i=o.context;i.model=n,i.ecModel=r,i.api=a,o.__block=!t.incrementalPrepareRender,this._pipe(n,o)},e.prototype.performDataProcessorTasks=function(t,n){this._performStageTasks(this._dataProcessorHandlers,t,n,{block:!0})},e.prototype.performVisualTasks=function(t,n,r){this._performStageTasks(this._visualHandlers,t,n,r)},e.prototype._performStageTasks=function(t,n,r,a){a=a||{};var o=!1,i=this;re(t,function(l,u){if(!(a.visualType&&a.visualType!==l.visualType)){var c=i._stageTaskMap.get(l.uid),f=c.seriesTaskMap,h=c.overallTask;if(h){var d,p=h.agentStubMap;p.each(function(g){s(a,g)&&(g.dirty(),d=!0)}),d&&h.dirty(),i.updatePayload(h,r);var v=i.getPerformArgs(h,a.block);p.each(function(g){g.perform(v)}),h.perform(v)&&(o=!0)}else f&&f.each(function(g,m){s(a,g)&&g.dirty();var w=i.getPerformArgs(g,a.block);w.skip=!l.performRawSeries&&n.isSeriesFiltered(g.context.model),i.updatePayload(g,r),g.perform(w)&&(o=!0)})}});function s(l,u){return l.setDirty&&(!l.dirtyMap||l.dirtyMap.get(u.__pipeline.id))}this.unfinished=o||this.unfinished},e.prototype.performSeriesTasks=function(t){var n;t.eachSeries(function(r){n=r.dataTask.perform()||n}),this.unfinished=n||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each(function(t){var n=t.tail;do{if(n.__block){t.blockIndex=n.__idxInPipeline;break}n=n.getUpstream()}while(n)})},e.prototype.updatePayload=function(t,n){n!=="remain"&&(t.context.payload=n)},e.prototype._createSeriesStageTask=function(t,n,r,a){var o=this,i=n.seriesTaskMap,s=n.seriesTaskMap=Dt(),l=t.seriesType,u=t.getTargetSeries;t.createOnAllSeries?r.eachRawSeries(c):l?r.eachRawSeriesByType(l,c):u&&u(r,a).each(c);function c(f){var h=f.uid,d=s.set(h,i&&i.get(h)||Bv({plan:M7e,reset:O7e,count:R7e}));d.context={model:f,ecModel:r,api:a,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:o},o._pipe(f,d)}},e.prototype._createOverallStageTask=function(t,n,r,a){var o=this,i=n.overallTask=n.overallTask||Bv({reset:x7e});i.context={ecModel:r,api:a,overallReset:t.overallReset,scheduler:o};var s=i.agentStubMap,l=i.agentStubMap=Dt(),u=t.seriesType,c=t.getTargetSeries,f=!0,h=!1,d="";Va(!t.createOnAllSeries,d),u?r.eachRawSeriesByType(u,p):c?c(r,a).each(p):(f=!1,re(r.getSeries(),p));function p(v){var g=v.uid,m=l.set(g,s&&s.get(g)||(h=!0,Bv({reset:E7e,onDirty:A7e})));m.context={model:v,overallProgress:f},m.agent=i,m.__block=f,o._pipe(v,m)}h&&i.dirty()},e.prototype._pipe=function(t,n){var r=t.uid,a=this._pipelineMap.get(r);!a.head&&(a.head=n),a.tail&&a.tail.pipe(n),a.tail=n,n.__idxInPipeline=a.count++,n.__pipeline=a},e.wrapStageHandler=function(t,n){return Lt(t)&&(t={overallReset:t,seriesType:I7e(t)}),t.uid=Qm("stageHandler"),n&&(t.visualType=n),t},e}();function x7e(e){e.overallReset(e.ecModel,e.api,e.payload)}function E7e(e){return e.overallProgress&&k7e}function k7e(){this.agent.dirty(),this.getDownstream().dirty()}function A7e(){this.agent&&this.agent.dirty()}function M7e(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function O7e(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=nr(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?lt(t,function(n,r){return mY(r)}):P7e}var P7e=mY(0);function mY(e){return function(t,n){var r=n.data,a=n.resetDefines[e];if(a&&a.dataEach)for(var o=t.start;o0&&d===u.length-h.length){var p=u.slice(0,d);p!=="data"&&(n.mainType=p,n[h.toLowerCase()]=l,c=!0)}}s.hasOwnProperty(u)&&(r[u]=l,c=!0),c||(a[u]=l)})}return{cptQuery:n,dataQuery:r,otherQuery:a}},e.prototype.filter=function(t,n){var r=this.eventInfo;if(!r)return!0;var a=r.targetEl,o=r.packedEvent,i=r.model,s=r.view;if(!i||!s)return!0;var l=n.cptQuery,u=n.dataQuery;return c(l,i,"mainType")&&c(l,i,"subType")&&c(l,i,"index","componentIndex")&&c(l,i,"name")&&c(l,i,"id")&&c(u,o,"name")&&c(u,o,"dataIndex")&&c(u,o,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,n.otherQuery,a,o));function c(f,h,d,p){return f[d]==null||h[p||d]===f[d]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),qk=["symbol","symbolSize","symbolRotate","symbolOffset"],h$=qk.concat(["symbolKeepAspect"]),$7e={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData();if(e.legendIcon&&n.setVisual("legendIcon",e.legendIcon),!e.hasSymbolVisual)return;for(var r={},a={},o=!1,i=0;i=0&&Ec(l)?l:.5;var u=e.createRadialGradient(i,s,0,i,s,l);return u}function Yk(e,t,n){for(var r=t.type==="radial"?Q7e(e,t,n):J7e(e,t,n),a=t.colorStops,o=0;o0)?null:e==="dashed"?[4*t,2*t]:e==="dotted"?[t]:Cn(e)?[e]:ot(e)?e:null}function kO(e){var t=e.style,n=t.lineDash&&t.lineWidth>0&&t9e(t.lineDash,t.lineWidth),r=t.lineDashOffset;if(n){var a=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;a&&a!==1&&(n=lt(n,function(o){return o/a}),r/=a)}return[n,r]}var n9e=new Zs(!0);function n_(e){var t=e.stroke;return!(t==null||t==="none"||!(e.lineWidth>0))}function p$(e){return typeof e=="string"&&e!=="none"}function r_(e){var t=e.fill;return t!=null&&t!=="none"}function v$(e,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var n=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=n}else e.fill()}function g$(e,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var n=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=n}else e.stroke()}function Xk(e,t,n){var r=jM(t.image,t.__image,n);if(zw(r)){var a=e.createPattern(r,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&a&&a.setTransform){var o=new DOMMatrix;o.translateSelf(t.x||0,t.y||0),o.rotateSelf(0,0,(t.rotation||0)*kv),o.scaleSelf(t.scaleX||1,t.scaleY||1),a.setTransform(o)}return a}}function r9e(e,t,n,r){var a,o=n_(n),i=r_(n),s=n.strokePercent,l=s<1,u=!t.path;(!t.silent||l)&&u&&t.createPathProxy();var c=t.path||n9e,f=t.__dirty;if(!r){var h=n.fill,d=n.stroke,p=i&&!!h.colorStops,v=o&&!!d.colorStops,g=i&&!!h.image,m=o&&!!d.image,w=void 0,_=void 0,b=void 0,S=void 0,C=void 0;(p||v)&&(C=t.getBoundingRect()),p&&(w=f?Yk(e,h,C):t.__canvasFillGradient,t.__canvasFillGradient=w),v&&(_=f?Yk(e,d,C):t.__canvasStrokeGradient,t.__canvasStrokeGradient=_),g&&(b=f||!t.__canvasFillPattern?Xk(e,h,t):t.__canvasFillPattern,t.__canvasFillPattern=b),m&&(S=f||!t.__canvasStrokePattern?Xk(e,d,t):t.__canvasStrokePattern,t.__canvasStrokePattern=b),p?e.fillStyle=w:g&&(b?e.fillStyle=b:i=!1),v?e.strokeStyle=_:m&&(S?e.strokeStyle=S:o=!1)}var T=t.getGlobalScale();c.setScale(T[0],T[1],t.segmentIgnoreThreshold);var x,E;e.setLineDash&&n.lineDash&&(a=kO(t),x=a[0],E=a[1]);var k=!0;(u||f&ud)&&(c.setDPR(e.dpr),l?c.setContext(null):(c.setContext(e),k=!1),c.reset(),t.buildPath(c,t.shape,r),c.toStatic(),t.pathUpdated()),k&&c.rebuildPath(e,l?s:1),x&&(e.setLineDash(x),e.lineDashOffset=E),r||(n.strokeFirst?(o&&g$(e,n),i&&v$(e,n)):(i&&v$(e,n),o&&g$(e,n))),x&&e.setLineDash([])}function a9e(e,t,n){var r=t.__image=jM(n.image,t.__image,t,t.onload);if(!(!r||!zw(r))){var a=n.x||0,o=n.y||0,i=t.getWidth(),s=t.getHeight(),l=r.width/r.height;if(i==null&&s!=null?i=s*l:s==null&&i!=null?s=i/l:i==null&&s==null&&(i=r.width,s=r.height),n.sWidth&&n.sHeight){var u=n.sx||0,c=n.sy||0;e.drawImage(r,u,c,n.sWidth,n.sHeight,a,o,i,s)}else if(n.sx&&n.sy){var u=n.sx,c=n.sy,f=i-u,h=s-c;e.drawImage(r,u,c,f,h,a,o,i,s)}else e.drawImage(r,a,o,i,s)}}function o9e(e,t,n){var r,a=n.text;if(a!=null&&(a+=""),a){e.font=n.font||du,e.textAlign=n.textAlign,e.textBaseline=n.textBaseline;var o=void 0,i=void 0;e.setLineDash&&n.lineDash&&(r=kO(t),o=r[0],i=r[1]),o&&(e.setLineDash(o),e.lineDashOffset=i),n.strokeFirst?(n_(n)&&e.strokeText(a,n.x,n.y),r_(n)&&e.fillText(a,n.x,n.y)):(r_(n)&&e.fillText(a,n.x,n.y),n_(n)&&e.strokeText(a,n.x,n.y)),o&&e.setLineDash([])}}var m$=["shadowBlur","shadowOffsetX","shadowOffsetY"],y$=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function TY(e,t,n,r,a){var o=!1;if(!r&&(n=n||{},t===n))return!1;if(r||t.opacity!==n.opacity){Pa(e,a),o=!0;var i=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(i)?Vc.opacity:i}(r||t.blend!==n.blend)&&(o||(Pa(e,a),o=!0),e.globalCompositeOperation=t.blend||Vc.blend);for(var s=0;s0&&n.unfinished);n.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(n,r,a){if(!this[Ir]){if(this._disposed){this.id;return}var o,i,s;if(xt(r)&&(a=r.lazyUpdate,o=r.silent,i=r.replaceMerge,s=r.transition,r=r.notMerge),this[Ir]=!0,!this._model||r){var l=new dNe(this._api),u=this._theme,c=this._model=new _O;c.scheduler=this._scheduler,c.ssr=this._ssr,c.init(null,null,null,u,this._locale,l)}this._model.setOption(n,{replaceMerge:i},Qk);var f={seriesTransition:s,optionChanged:!0};if(a)this[xa]={silent:o,updateParams:f},this[Ir]=!1,this.getZr().wakeUp();else{try{Zf(this),hl.update.call(this,null,f)}catch(h){throw this[xa]=null,this[Ir]=!1,h}this._ssr||this._zr.flush(),this[xa]=null,this[Ir]=!1,Op.call(this,o),Pp.call(this,o)}}},t.prototype.setTheme=function(){},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||Ht.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(n){return this.renderToCanvas(n)},t.prototype.renderToCanvas=function(n){n=n||{};var r=this._zr.painter;return r.getRenderedCanvas({backgroundColor:n.backgroundColor||this._model.get("backgroundColor"),pixelRatio:n.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(n){n=n||{};var r=this._zr.painter;return r.renderToString({useViewBox:n.useViewBox})},t.prototype.getSvgDataURL=function(){if(Ht.svgSupported){var n=this._zr,r=n.storage.getDisplayList();return re(r,function(a){a.stopAnimation(null,!0)}),n.painter.toDataURL()}},t.prototype.getDataURL=function(n){if(this._disposed){this.id;return}n=n||{};var r=n.excludeComponents,a=this._model,o=[],i=this;re(r,function(l){a.eachComponent({mainType:l},function(u){var c=i._componentsMap[u.__viewId];c.group.ignore||(o.push(c),c.group.ignore=!0)})});var s=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(n).toDataURL("image/"+(n&&n.type||"png"));return re(o,function(l){l.group.ignore=!1}),s},t.prototype.getConnectedDataURL=function(n){if(this._disposed){this.id;return}var r=n.type==="svg",a=this.group,o=Math.min,i=Math.max,s=1/0;if(s_[a]){var l=s,u=s,c=-s,f=-s,h=[],d=n&&n.pixelRatio||this.getDevicePixelRatio();re(Wc,function(_,b){if(_.group===a){var S=r?_.getZr().painter.getSvgDom().innerHTML:_.renderToCanvas(Pt(n)),C=_.getDom().getBoundingClientRect();l=o(C.left,l),u=o(C.top,u),c=i(C.right,c),f=i(C.bottom,f),h.push({dom:S,left:C.left,top:C.top})}}),l*=d,u*=d,c*=d,f*=d;var p=c-l,v=f-u,g=qs.createCanvas(),m=kk(g,{renderer:r?"svg":"canvas"});if(m.resize({width:p,height:v}),r){var w="";return re(h,function(_){var b=_.left-l,S=_.top-u;w+=''+_.dom+""}),m.painter.getSvgRoot().innerHTML=w,n.connectedBackgroundColor&&m.painter.setBackgroundColor(n.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}else return n.connectedBackgroundColor&&m.add(new Pn({shape:{x:0,y:0,width:p,height:v},style:{fill:n.connectedBackgroundColor}})),re(h,function(_){var b=new so({style:{x:_.left*d-l,y:_.top*d-u,image:_.dom}});m.add(b)}),m.refreshImmediately(),g.toDataURL("image/"+(n&&n.type||"png"))}else return this.getDataURL(n)},t.prototype.convertToPixel=function(n,r){return fT(this,"convertToPixel",n,r)},t.prototype.convertFromPixel=function(n,r){return fT(this,"convertFromPixel",n,r)},t.prototype.containPixel=function(n,r){if(this._disposed){this.id;return}var a=this._model,o,i=Rv(a,n);return re(i,function(s,l){l.indexOf("Models")>=0&&re(s,function(u){var c=u.coordinateSystem;if(c&&c.containPoint)o=o||!!c.containPoint(r);else if(l==="seriesModels"){var f=this._chartsMap[u.__viewId];f&&f.containPoint&&(o=o||f.containPoint(r,u))}},this)},this),!!o},t.prototype.getVisual=function(n,r){var a=this._model,o=Rv(a,n,{defaultMainType:"series"}),i=o.seriesModel,s=i.getData(),l=o.hasOwnProperty("dataIndexInside")?o.dataIndexInside:o.hasOwnProperty("dataIndex")?s.indexOfRawIndex(o.dataIndex):null;return l!=null?EO(s,l,r):wY(s,r)},t.prototype.getViewOfComponentModel=function(n){return this._componentsMap[n.__viewId]},t.prototype.getViewOfSeriesModel=function(n){return this._chartsMap[n.__viewId]},t.prototype._initEvents=function(){var n=this;re(O9e,function(r){var a=function(o){var i=n.getModel(),s=o.target,l,u=r==="globalout";if(u?l={}:s&&bd(s,function(p){var v=on(p);if(v&&v.dataIndex!=null){var g=v.dataModel||i.getSeriesByIndex(v.seriesIndex);return l=g&&g.getDataParams(v.dataIndex,v.dataType,s)||{},!0}else if(v.eventData)return l=Qe({},v.eventData),!0},!0),l){var c=l.componentType,f=l.componentIndex;(c==="markLine"||c==="markPoint"||c==="markArea")&&(c="series",f=l.seriesIndex);var h=c&&f!=null&&i.getComponent(c,f),d=h&&n[h.mainType==="series"?"_chartsMap":"_componentsMap"][h.__viewId];l.event=o,l.type=r,n._$eventProcessor.eventInfo={targetEl:s,packedEvent:l,model:h,view:d},n.trigger(r,l)}};a.zrEventfulCallAtLast=!0,n._zr.on(r,a,n)}),re(Fv,function(r,a){n._messageCenter.on(a,function(o){this.trigger(a,o)},n)}),re(["selectchanged"],function(r){n._messageCenter.on(r,function(a){this.trigger(r,a)},n)}),F7e(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var n=this.getDom();n&&zG(this.getDom(),PO,"");var r=this,a=r._api,o=r._model;re(r._componentsViews,function(i){i.dispose(o,a)}),re(r._chartsViews,function(i){i.dispose(o,a)}),r._zr.dispose(),r._dom=r._model=r._chartsMap=r._componentsMap=r._chartsViews=r._componentsViews=r._scheduler=r._api=r._zr=r._throttledZrFlush=r._theme=r._coordSysMgr=r._messageCenter=null,delete Wc[r.id]},t.prototype.resize=function(n){if(!this[Ir]){if(this._disposed){this.id;return}this._zr.resize(n);var r=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!r){var a=r.resetOption("media"),o=n&&n.silent;this[xa]&&(o==null&&(o=this[xa].silent),a=!0,this[xa]=null),this[Ir]=!0;try{a&&Zf(this),hl.update.call(this,{type:"resize",animation:Qe({duration:0},n&&n.animation)})}catch(i){throw this[Ir]=!1,i}this[Ir]=!1,Op.call(this,o),Pp.call(this,o)}}},t.prototype.showLoading=function(n,r){if(this._disposed){this.id;return}if(xt(n)&&(r=n,n=""),n=n||"default",this.hideLoading(),!!eA[n]){var a=eA[n](this._api,r),o=this._zr;this._loadingFX=a,o.add(a)}},t.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(n){var r=Qe({},n);return r.type=Fv[n.type],r},t.prototype.dispatchAction=function(n,r){if(this._disposed){this.id;return}if(xt(r)||(r={silent:!!r}),!!o_[n.type]&&this._model){if(this[Ir]){this._pendingActions.push(n);return}var a=r.silent;hT.call(this,n,a);var o=r.flush;o?this._zr.flush():o!==!1&&Ht.browser.weChat&&this._throttledZrFlush(),Op.call(this,a),Pp.call(this,a)}},t.prototype.updateLabelLayout=function(){Jo.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(n){if(this._disposed){this.id;return}var r=n.seriesIndex,a=this.getModel(),o=a.getSeriesByIndex(r);o.appendData(n),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=function(){Zf=function(f){var h=f._scheduler;h.restorePipelines(f._model),h.prepareStageTasks(),cT(f,!0),cT(f,!1),h.plan()},cT=function(f,h){for(var d=f._model,p=f._scheduler,v=h?f._componentsViews:f._chartsViews,g=h?f._componentsMap:f._chartsMap,m=f._zr,w=f._api,_=0;_h.get("hoverLayerThreshold")&&!Ht.node&&!Ht.worker&&h.eachSeries(function(g){if(!g.preventUsingHoverLayer){var m=f._chartsMap[g.__viewId];m.__alive&&m.eachRendered(function(w){w.states.emphasis&&(w.states.emphasis.hoverLayer=!0)})}})}function i(f,h){var d=f.get("blendMode")||null;h.eachRendered(function(p){p.isGroup||(p.style.blend=d)})}function s(f,h){if(!f.preventAutoZ){var d=f.get("z")||0,p=f.get("zlevel")||0;h.eachRendered(function(v){return l(v,d,p,-1/0),!0})}}function l(f,h,d,p){var v=f.getTextContent(),g=f.getTextGuideLine(),m=f.isGroup;if(m)for(var w=f.childrenRef(),_=0;_0?{duration:v,delay:d.get("delay"),easing:d.get("easing")}:null;h.eachRendered(function(m){if(m.states&&m.states.emphasis){if($v(m))return;if(m instanceof wn&&qLe(m),m.__dirty){var w=m.prevStates;w&&m.useStates(w)}if(p){m.stateTransition=g;var _=m.getTextContent(),b=m.getTextGuideLine();_&&(_.stateTransition=g),b&&(b.stateTransition=g)}m.__dirty&&a(m)}})}P$=function(f){return new(function(h){Ye(d,h);function d(){return h!==null&&h.apply(this,arguments)||this}return d.prototype.getCoordinateSystems=function(){return f._coordSysMgr.getCoordinateSystems()},d.prototype.getComponentByElement=function(p){for(;p;){var v=p.__ecComponentInfo;if(v!=null)return f._model.getComponent(v.mainType,v.index);p=p.parent}},d.prototype.enterEmphasis=function(p,v){_h(p,v),uo(f)},d.prototype.leaveEmphasis=function(p,v){wh(p,v),uo(f)},d.prototype.enterBlur=function(p){BLe(p),uo(f)},d.prototype.leaveBlur=function(p){oq(p),uo(f)},d.prototype.enterSelect=function(p){iq(p),uo(f)},d.prototype.leaveSelect=function(p){sq(p),uo(f)},d.prototype.getModel=function(){return f.getModel()},d.prototype.getViewOfComponentModel=function(p){return f.getViewOfComponentModel(p)},d.prototype.getViewOfSeriesModel=function(p){return f.getViewOfSeriesModel(p)},d}(qq))(f)},VY=function(f){function h(d,p){for(var v=0;v=0)){I$.push(n);var o=gY.wrapStageHandler(n,a);o.__prio=t,o.__raw=n,e.push(o)}}function NO(e,t){eA[e]=t}function F9e(e){WK({createCanvas:e})}function GY(e,t,n){var r=OY("registerMap");r&&r(e,t,n)}function V9e(e){var t=OY("getMap");return t&&t(e)}var qY=jNe;Su(MO,w7e);Su(lS,S7e);Su(lS,C7e);Su(MO,$7e);Su(lS,N7e);Su(IY,h9e);DO(Xq);LO(b9e,TNe);NO("default",T7e);Mi({type:zc,event:zc,update:zc},Tr);Mi({type:C1,event:C1,update:C1},Tr);Mi({type:Iv,event:Iv,update:Iv},Tr);Mi({type:T1,event:T1,update:T1},Tr);Mi({type:Dv,event:Dv,update:Dv},Tr);IO("light",D7e);IO("dark",_Y);var z9e={};function Rp(e){return e==null?0:e.length||1}function D$(e){return e}var BO=function(){function e(t,n,r,a,o,i){this._old=t,this._new=n,this._oldKeyGetter=r||D$,this._newKeyGetter=a||D$,this.context=o,this._diffModeMultiple=i==="multiple"}return e.prototype.add=function(t){return this._add=t,this},e.prototype.update=function(t){return this._update=t,this},e.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},e.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},e.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},e.prototype.remove=function(t){return this._remove=t,this},e.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},e.prototype._executeOneToOne=function(){var t=this._old,n=this._new,r={},a=new Array(t.length),o=new Array(n.length);this._initIndexMap(t,null,a,"_oldKeyGetter"),this._initIndexMap(n,r,o,"_newKeyGetter");for(var i=0;i1){var c=l.shift();l.length===1&&(r[s]=l[0]),this._update&&this._update(c,i)}else u===1?(r[s]=null,this._update&&this._update(l,i)):this._remove&&this._remove(i)}this._performRestAdd(o,r)},e.prototype._executeMultiple=function(){var t=this._old,n=this._new,r={},a={},o=[],i=[];this._initIndexMap(t,r,o,"_oldKeyGetter"),this._initIndexMap(n,a,i,"_newKeyGetter");for(var s=0;s1&&h===1)this._updateManyToOne&&this._updateManyToOne(c,u),a[l]=null;else if(f===1&&h>1)this._updateOneToMany&&this._updateOneToMany(c,u),a[l]=null;else if(f===1&&h===1)this._update&&this._update(c,u),a[l]=null;else if(f>1&&h>1)this._updateManyToMany&&this._updateManyToMany(c,u),a[l]=null;else if(f>1)for(var d=0;d1)for(var s=0;s30}var Ip=xt,pl=lt,q9e=typeof Int32Array=="undefined"?Array:Int32Array,Y9e="e\0\0",L$=-1,X9e=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],Z9e=["_approximateExtent"],$$,dy,Dp,Lp,gT,$p,mT,FO=function(){function e(t,n){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var r,a=!1;XY(t)?(r=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(a=!0,r=t),r=r||["x","y"];for(var o={},i=[],s={},l=!1,u={},c=0;c=n)){var r=this._store,a=r.getProvider();this._updateOrdinalMeta();var o=this._nameList,i=this._idList,s=a.getSource().sourceFormat,l=s===Wo;if(l&&!a.pure)for(var u=[],c=t;c0},e.prototype.ensureUniqueItemVisual=function(t,n){var r=this._itemVisuals,a=r[t];a||(a=r[t]={});var o=a[n];return o==null&&(o=this.getVisual(n),ot(o)?o=o.slice():Ip(o)&&(o=Qe({},o)),a[n]=o),o},e.prototype.setItemVisual=function(t,n,r){var a=this._itemVisuals[t]||{};this._itemVisuals[t]=a,Ip(n)?Qe(a,n):a[n]=r},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(t,n){Ip(t)?Qe(this._layout,t):this._layout[t]=n},e.prototype.getLayout=function(t){return this._layout[t]},e.prototype.getItemLayout=function(t){return this._itemLayouts[t]},e.prototype.setItemLayout=function(t,n,r){this._itemLayouts[t]=r?Qe(this._itemLayouts[t]||{},n):n},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(t,n){var r=this.hostModel&&this.hostModel.seriesIndex;ALe(r,this.dataType,t,n),this._graphicEls[t]=n},e.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},e.prototype.eachItemGraphicEl=function(t,n){re(this._graphicEls,function(r,a){r&&t&&t.call(n,r,a)})},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:pl(this.dimensions,this._getDimInfo,this),this.hostModel)),gT(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(t,n){var r=this[t];Lt(r)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var a=r.apply(this,arguments);return n.apply(this,[a].concat(Lw(arguments)))})},e.internalField=function(){$$=function(t){var n=t._invertedIndicesMap;re(n,function(r,a){var o=t._dimInfos[a],i=o.ordinalMeta,s=t._store;if(i){r=n[a]=new q9e(i.categories.length);for(var l=0;l1&&(l+="__ec__"+c),a[n]=l}}}(),e}();function J9e(e,t){return VO(e,t).dimensions}function VO(e,t){wO(e)||(e=SO(e)),t=t||{};var n=t.coordDimensions||[],r=t.dimensionsDefine||e.dimensionsDefine||[],a=Dt(),o=[],i=eBe(e,n,r,t.dimensionsCount),s=t.canOmitUnusedDimensions&&QY(i),l=r===e.dimensionsDefine,u=l?JY(e):ZY(r),c=t.encodeDefine;!c&&t.encodeDefaulter&&(c=t.encodeDefaulter(e,i));for(var f=Dt(c),h=new oY(i),d=0;d0&&(r.name=a+(o-1)),o++,t.set(a,o)}}function eBe(e,t,n,r){var a=Math.max(e.dimensionsDetectedCount||1,t.length,n.length,r||0);return re(t,function(o){var i;xt(o)&&(i=o.dimsDef)&&(a=Math.max(a,i.length))}),a}function tBe(e,t,n){if(n||t.hasKey(e)){for(var r=0;t.hasKey(e+r);)r++;e+=r}return t.set(e,!0),e}var nBe=function(){function e(t){this.coordSysDims=[],this.axisMap=Dt(),this.categoryAxisMap=Dt(),this.coordSysName=t}return e}();function rBe(e){var t=e.get("coordinateSystem"),n=new nBe(t),r=aBe[t];if(r)return r(e,n,n.axisMap,n.categoryAxisMap),n}var aBe={cartesian2d:function(e,t,n,r){var a=e.getReferringComponents("xAxis",kr).models[0],o=e.getReferringComponents("yAxis",kr).models[0];t.coordSysDims=["x","y"],n.set("x",a),n.set("y",o),Jf(a)&&(r.set("x",a),t.firstCategoryDimIndex=0),Jf(o)&&(r.set("y",o),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,n,r){var a=e.getReferringComponents("singleAxis",kr).models[0];t.coordSysDims=["single"],n.set("single",a),Jf(a)&&(r.set("single",a),t.firstCategoryDimIndex=0)},polar:function(e,t,n,r){var a=e.getReferringComponents("polar",kr).models[0],o=a.findAxisModel("radiusAxis"),i=a.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",i),Jf(o)&&(r.set("radius",o),t.firstCategoryDimIndex=0),Jf(i)&&(r.set("angle",i),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},geo:function(e,t,n,r){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,r){var a=e.ecModel,o=a.getComponent("parallel",e.get("parallelIndex")),i=t.coordSysDims=o.dimensions.slice();re(o.parallelAxisIndex,function(s,l){var u=a.getComponent("parallelAxis",s),c=i[l];n.set(c,u),Jf(u)&&(r.set(c,u),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=l))})}};function Jf(e){return e.get("type")==="category"}function eX(e,t,n){n=n||{};var r=n.byIndex,a=n.stackedCoordDimension,o,i,s;oBe(t)?o=t:(i=t.schema,o=i.dimensions,s=t.store);var l=!!(e&&e.get("stack")),u,c,f,h;if(re(o,function(w,_){yt(w)&&(o[_]=w={name:w}),l&&!w.isExtraCoord&&(!r&&!u&&w.ordinalMeta&&(u=w),!c&&w.type!=="ordinal"&&w.type!=="time"&&(!a||a===w.coordDim)&&(c=w))}),c&&!r&&!u&&(r=!0),c){f="__\0ecstackresult_"+e.id,h="__\0ecstackedover_"+e.id,u&&(u.createInvertedIndices=!0);var d=c.coordDim,p=c.type,v=0;re(o,function(w){w.coordDim===d&&v++});var g={name:f,coordDim:d,coordDimIndex:v,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:o.length},m={name:h,coordDim:h,coordDimIndex:v+1,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:o.length+1};i?(s&&(g.storeDimIndex=s.ensureCalculationDimension(h,p),m.storeDimIndex=s.ensureCalculationDimension(f,p)),i.appendCalculationDimension(g),i.appendCalculationDimension(m)):(o.push(g),o.push(m))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:r,stackedOverDimension:h,stackResultDimension:f}}function oBe(e){return!XY(e.schema)}function hu(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function tX(e,t){return hu(e,t)?e.getCalculationInfo("stackResultDimension"):t}function iBe(e,t){var n=e.get("coordinateSystem"),r=rS.get(n),a;return t&&t.coordSysDims&&(a=lt(t.coordSysDims,function(o){var i={name:o},s=t.axisMap.get(o);if(s){var l=s.get("type");i.type=U9e(l)}return i})),a||(a=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),a}function sBe(e,t,n){var r,a;return n&&re(e,function(o,i){var s=o.coordDim,l=n.categoryAxisMap.get(s);l&&(r==null&&(r=i),o.ordinalMeta=l.getOrdinalMeta(),t&&(o.createInvertedIndices=!0)),o.otherDims.itemName!=null&&(a=!0)}),!a&&r!=null&&(e[r].otherDims.itemName=0),r}function cS(e,t,n){n=n||{};var r=t.getSourceManager(),a,o=!1;e?(o=!0,a=SO(e)):(a=r.getSource(),o=a.sourceFormat===Wo);var i=rBe(t),s=iBe(t,i),l=n.useEncodeDefaulter,u=Lt(l)?l:l?dn(Q$e,s,t):null,c={coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o},f=VO(a,c),h=sBe(f.dimensions,n.createInvertedIndices,i),d=o?null:r.getSharedDataStore(f),p=eX(t,{schema:f,store:d}),v=new FO(f,t);v.setCalculationInfo(p);var g=h!=null&&lBe(a)?function(m,w,_,b){return b===h?_:this.defaultDimValueGetter(m,w,_,b)}:null;return v.hasItemOption=!1,v.initData(o?a:d,null,g),v}function lBe(e){if(e.sourceFormat===Wo){var t=uBe(e.data||[]);return!ot(jm(t))}}function uBe(e){for(var t=0;tn[1]&&(n[1]=t[1])},e.prototype.unionExtentFromData=function(t,n){this.unionExtent(t.getApproximateExtent(n))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(t,n){var r=this._extent;isNaN(t)||(r[0]=t),isNaN(n)||(r[1]=n)},e.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(t){this._isBlank=t},e}();Vw(Ss);var cBe=0,tA=function(){function e(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++cBe}return e.createByAxisModel=function(t){var n=t.option,r=n.data,a=r&<(r,fBe);return new e({categories:a,needCollect:!a,deduplication:n.dedplication!==!1})},e.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},e.prototype.parseAndCollect=function(t){var n,r=this._needCollect;if(!yt(t)&&!r)return t;if(r&&!this._deduplication)return n=this.categories.length,this.categories[n]=t,n;var a=this._getOrCreateMap();return n=a.get(t),n==null&&(r?(n=this.categories.length,this.categories[n]=t,a.set(t,n)):n=NaN),n},e.prototype._getOrCreateMap=function(){return this._map||(this._map=Dt(this.categories))},e}();function fBe(e){return xt(e)&&e.value!=null?e.value:e+""}function nA(e){return e.type==="interval"||e.type==="log"}function dBe(e,t,n,r){var a={},o=e[1]-e[0],i=a.interval=zM(o/t,!0);n!=null&&ir&&(i=a.interval=r);var s=a.intervalPrecision=nX(i),l=a.niceTickExtent=[tr(Math.ceil(e[0]/i)*i,s),tr(Math.floor(e[1]/i)*i,s)];return hBe(l,e),a}function yT(e){var t=Math.pow(10,Fw(e)),n=e/t;return n?n===2?n=3:n===3?n=5:n*=2:n=1,tr(n*t)}function nX(e){return es(e)+2}function N$(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function hBe(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),N$(e,0,t),N$(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function fS(e,t){return e>=t[0]&&e<=t[1]}function dS(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function hS(e,t){return e*(t[1]-t[0])+t[0]}var zO=function(e){Ye(t,e);function t(n){var r=e.call(this,n)||this;r.type="ordinal";var a=r.getSetting("ordinalMeta");return a||(a=new tA({})),ot(a)&&(a=new tA({categories:lt(a,function(o){return xt(o)?o.value:o})})),r._ordinalMeta=a,r._extent=r.getSetting("extent")||[0,a.categories.length-1],r}return t.prototype.parse=function(n){return n==null?NaN:yt(n)?this._ordinalMeta.getOrdinal(n):Math.round(n)},t.prototype.contain=function(n){return n=this.parse(n),fS(n,this._extent)&&this._ordinalMeta.categories[n]!=null},t.prototype.normalize=function(n){return n=this._getTickNumber(this.parse(n)),dS(n,this._extent)},t.prototype.scale=function(n){return n=Math.round(hS(n,this._extent)),this.getRawOrdinalNumber(n)},t.prototype.getTicks=function(){for(var n=[],r=this._extent,a=r[0];a<=r[1];)n.push({value:a}),a++;return n},t.prototype.getMinorTicks=function(n){},t.prototype.setSortInfo=function(n){if(n==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var r=n.ordinalNumbers,a=this._ordinalNumbersByTick=[],o=this._ticksByOrdinalNumber=[],i=0,s=this._ordinalMeta.categories.length,l=Math.min(s,r.length);i=0&&n=0&&n=n},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(Ss);Ss.registerClass(zO);var ec=tr,rp=function(e){Ye(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="interval",n._interval=0,n._intervalPrecision=2,n}return t.prototype.parse=function(n){return n},t.prototype.contain=function(n){return fS(n,this._extent)},t.prototype.normalize=function(n){return dS(n,this._extent)},t.prototype.scale=function(n){return hS(n,this._extent)},t.prototype.setExtent=function(n,r){var a=this._extent;isNaN(n)||(a[0]=parseFloat(n)),isNaN(r)||(a[1]=parseFloat(r))},t.prototype.unionExtent=function(n){var r=this._extent;n[0]r[1]&&(r[1]=n[1]),this.setExtent(r[0],r[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(n){this._interval=n,this._niceExtent=this._extent.slice(),this._intervalPrecision=nX(n)},t.prototype.getTicks=function(n){var r=this._interval,a=this._extent,o=this._niceExtent,i=this._intervalPrecision,s=[];if(!r)return s;var l=1e4;a[0]l)return[];var c=s.length?s[s.length-1].value:o[1];return a[1]>c&&(n?s.push({value:ec(c+r,i)}):s.push({value:a[1]})),s},t.prototype.getMinorTicks=function(n){for(var r=this.getTicks(!0),a=[],o=this.getExtent(),i=1;io[0]&&d0&&(o=o===null?s:Math.min(o,s))}n[r]=o}}return n}function oX(e){var t=vBe(e),n=[];return re(e,function(r){var a=r.coordinateSystem,o=a.getBaseAxis(),i=o.getExtent(),s;if(o.type==="category")s=o.getBandWidth();else if(o.type==="value"||o.type==="time"){var l=o.dim+"_"+o.index,u=t[l],c=Math.abs(i[1]-i[0]),f=o.scale.getExtent(),h=Math.abs(f[1]-f[0]);s=u?c/h*u:c}else{var d=r.getData();s=Math.abs(i[1]-i[0])/d.count()}var p=an(r.get("barWidth"),s),v=an(r.get("barMaxWidth"),s),g=an(r.get("barMinWidth")||(lX(r)?.5:1),s),m=r.get("barGap"),w=r.get("barCategoryGap");n.push({bandWidth:s,barWidth:p,barMaxWidth:v,barMinWidth:g,barGap:m,barCategoryGap:w,axisKey:WO(o),stackId:HO(r)})}),iX(n)}function iX(e){var t={};re(e,function(r,a){var o=r.axisKey,i=r.bandWidth,s=t[o]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},l=s.stacks;t[o]=s;var u=r.stackId;l[u]||s.autoWidthCount++,l[u]=l[u]||{width:0,maxWidth:0};var c=r.barWidth;c&&!l[u].width&&(l[u].width=c,c=Math.min(s.remainedWidth,c),s.remainedWidth-=c);var f=r.barMaxWidth;f&&(l[u].maxWidth=f);var h=r.barMinWidth;h&&(l[u].minWidth=h);var d=r.barGap;d!=null&&(s.gap=d);var p=r.barCategoryGap;p!=null&&(s.categoryGap=p)});var n={};return re(t,function(r,a){n[a]={};var o=r.stacks,i=r.bandWidth,s=r.categoryGap;if(s==null){var l=nn(o).length;s=Math.max(35-l*4,15)+"%"}var u=an(s,i),c=an(r.gap,1),f=r.remainedWidth,h=r.autoWidthCount,d=(f-u)/(h+(h-1)*c);d=Math.max(d,0),re(o,function(m){var w=m.maxWidth,_=m.minWidth;if(m.width){var b=m.width;w&&(b=Math.min(b,w)),_&&(b=Math.max(b,_)),m.width=b,f-=b+c*b,h--}else{var b=d;w&&wb&&(b=_),b!==d&&(m.width=b,f-=b+c*b,h--)}}),d=(f-u)/(h+(h-1)*c),d=Math.max(d,0);var p=0,v;re(o,function(m,w){m.width||(m.width=d),v=m,p+=m.width*(1+c)}),v&&(p-=v.width*c);var g=-p/2;re(o,function(m,w){n[a][w]=n[a][w]||{bandWidth:i,offset:g,width:m.width},g+=m.width*(1+c)})}),n}function gBe(e,t,n){if(e&&t){var r=e[WO(t)];return r!=null&&n!=null?r[HO(n)]:r}}function mBe(e,t){var n=aX(e,t),r=oX(n);re(n,function(a){var o=a.getData(),i=a.coordinateSystem,s=i.getBaseAxis(),l=HO(a),u=r[WO(s)][l],c=u.offset,f=u.width;o.setLayout({bandWidth:u.bandWidth,offset:c,size:f})})}function yBe(e){return{seriesType:e,plan:xO(),reset:function(t){if(sX(t)){var n=t.getData(),r=t.coordinateSystem,a=r.getBaseAxis(),o=r.getOtherAxis(a),i=n.getDimensionIndex(n.mapDimension(o.dim)),s=n.getDimensionIndex(n.mapDimension(a.dim)),l=t.get("showBackground",!0),u=n.mapDimension(o.dim),c=n.getCalculationInfo("stackResultDimension"),f=hu(n,u)&&!!n.getCalculationInfo("stackedOnSeries"),h=o.isHorizontal(),d=bBe(a,o),p=lX(t),v=t.get("barMinHeight")||0,g=c&&n.getDimensionIndex(c),m=n.getLayout("size"),w=n.getLayout("offset");return{progress:function(_,b){for(var S=_.count,C=p&&Fs(S*3),T=p&&l&&Fs(S*3),x=p&&Fs(S),E=r.master.getRect(),k=h?E.width:E.height,A,P=b.getStore(),$=0;(A=_.next())!=null;){var B=P.get(f?g:i,A),I=P.get(s,A),M=d,L=void 0;f&&(L=+B-P.get(i,A));var O=void 0,D=void 0,z=void 0,V=void 0;if(h){var j=r.dataToPoint([B,I]);if(f){var U=r.dataToPoint([L,I]);M=U[0]}O=M,D=j[1]+w,z=j[0]-M,V=m,Math.abs(z)0?n:1:n))}var _Be=function(e,t,n,r){for(;n>>1;e[a][1]a&&(this._approxInterval=a);var s=hy.length,l=Math.min(_Be(hy,this._approxInterval,0,s),s-1);this._interval=hy[l][1],this._minLevelUnit=hy[Math.max(l-1,0)][0]},t.prototype.parse=function(n){return Cn(n)?n:+Lo(n)},t.prototype.contain=function(n){return fS(this.parse(n),this._extent)},t.prototype.normalize=function(n){return dS(this.parse(n),this._extent)},t.prototype.scale=function(n){return hS(n,this._extent)},t.type="time",t}(rp),hy=[["second",cO],["minute",fO],["hour",Nv],["quarter-day",Nv*6],["half-day",Nv*12],["day",So*1.2],["half-week",So*3.5],["week",So*7],["month",So*31],["quarter",So*95],["half-year",AL/2],["year",AL]];function wBe(e,t,n,r){var a=Lo(t),o=Lo(n),i=function(p){return OL(a,p,r)===OL(o,p,r)},s=function(){return i("year")},l=function(){return s()&&i("month")},u=function(){return l()&&i("day")},c=function(){return u()&&i("hour")},f=function(){return c()&&i("minute")},h=function(){return f()&&i("second")},d=function(){return h()&&i("millisecond")};switch(e){case"year":return s();case"month":return l();case"day":return u();case"hour":return c();case"minute":return f();case"second":return h();case"millisecond":return d()}}function SBe(e,t){return e/=So,e>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function CBe(e){var t=30*So;return e/=t,e>6?6:e>3?3:e>2?2:1}function TBe(e){return e/=Nv,e>12?12:e>6?6:e>3.5?4:e>2?2:1}function B$(e,t){return e/=t?fO:cO,e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function xBe(e){return zM(e,!0)}function EBe(e,t,n){var r=new Date(e);switch(Wd(t)){case"year":case"month":r[Rq(n)](0);case"day":r[Iq(n)](1);case"hour":r[Dq(n)](0);case"minute":r[Lq(n)](0);case"second":r[$q(n)](0),r[Nq(n)](0)}return r.getTime()}function kBe(e,t,n,r){var a=1e4,o=Oq,i=0;function s(k,A,P,$,B,I,M){for(var L=new Date(A),O=A,D=L[$]();O1&&I===0&&P.unshift({value:P[0].value-O})}}for(var I=0;I<$.length;I++)P.push($[I]);return $}}for(var u=[],c=[],f=0,h=0,d=0;d=r[0]&&w<=r[1]&&f++)}var _=(r[1]-r[0])/t;if(f>_*1.5&&h>_/1.5||(u.push(g),f>_||e===o[d]))break}c=[]}}}for(var b=Un(lt(u,function(k){return Un(k,function(A){return A.value>=r[0]&&A.value<=r[1]&&!A.notAdd})}),function(k){return k.length>0}),S=[],C=b.length-1,d=0;d0;)o*=10;var s=[tr(OBe(r[0]/o)*o),tr(MBe(r[1]/o)*o)];this._interval=o,this._niceExtent=s}},t.prototype.calcNiceExtent=function(n){Vv.calcNiceExtent.call(this,n),this._fixMin=n.fixMin,this._fixMax=n.fixMax},t.prototype.parse=function(n){return n},t.prototype.contain=function(n){return n=qo(n)/qo(this.base),fS(n,this._extent)},t.prototype.normalize=function(n){return n=qo(n)/qo(this.base),dS(n,this._extent)},t.prototype.scale=function(n){return n=hS(n,this._extent),py(this.base,n)},t.type="log",t}(Ss),cX=UO.prototype;cX.getMinorTicks=Vv.getMinorTicks;cX.getLabel=Vv.getLabel;function vy(e,t){return ABe(e,es(t))}Ss.registerClass(UO);var PBe=function(){function e(t,n,r){this._prepareParams(t,n,r)}return e.prototype._prepareParams=function(t,n,r){r[1]0&&l>0&&!u&&(s=0),s<0&&l<0&&!c&&(l=0));var h=this._determinedMin,d=this._determinedMax;return h!=null&&(s=h,u=!0),d!=null&&(l=d,c=!0),{min:s,max:l,minFixed:u,maxFixed:c,isBlank:f}},e.prototype.modifyDataMinMax=function(t,n){this[IBe[t]]=n},e.prototype.setDeterminedMinMax=function(t,n){var r=RBe[t];this[r]=n},e.prototype.freeze=function(){this.frozen=!0},e}(),RBe={min:"_determinedMin",max:"_determinedMax"},IBe={min:"_dataMin",max:"_dataMax"};function fX(e,t,n){var r=e.rawExtentInfo;return r||(r=new PBe(e,t,n),e.rawExtentInfo=r,r)}function gy(e,t){return t==null?null:Ag(t)?NaN:e.parse(t)}function dX(e,t){var n=e.type,r=fX(e,t,e.getExtent()).calculate();e.setBlank(r.isBlank);var a=r.min,o=r.max,i=t.ecModel;if(i&&n==="time"){var s=aX("bar",i),l=!1;if(re(s,function(f){l=l||f.getBaseAxis()===t.axis}),l){var u=oX(s),c=DBe(a,o,t,u);a=c.min,o=c.max}}return{extent:[a,o],fixMin:r.minFixed,fixMax:r.maxFixed}}function DBe(e,t,n,r){var a=n.axis.getExtent(),o=Math.abs(a[1]-a[0]),i=gBe(r,n.axis);if(i===void 0)return{min:e,max:t};var s=1/0;re(i,function(d){s=Math.min(d.offset,s)});var l=-1/0;re(i,function(d){l=Math.max(d.offset+d.width,l)}),s=Math.abs(s),l=Math.abs(l);var u=s+l,c=t-e,f=1-(s+l)/o,h=c/f-c;return t+=h*(l/u),e-=h*(s/u),{min:e,max:t}}function Gg(e,t){var n=t,r=dX(e,n),a=r.extent,o=n.get("splitNumber");e instanceof UO&&(e.base=n.get("logBase"));var i=e.type,s=n.get("interval"),l=i==="interval"||i==="time";e.setExtent(a[0],a[1]),e.calcNiceExtent({splitNumber:o,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),s!=null&&e.setInterval&&e.setInterval(s)}function jO(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new zO({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new uX({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(Ss.getClass(t)||rp)}}function LBe(e){var t=e.scale.getExtent(),n=t[0],r=t[1];return!(n>0&&r>0||n<0&&r<0)}function ap(e){var t=e.getLabelModel().get("formatter"),n=e.type==="category"?e.scale.getExtent()[0]:null;return e.scale.type==="time"?function(r){return function(a,o){return e.scale.getFormattedLabel(a,o,r)}}(t):yt(t)?function(r){return function(a){var o=e.scale.getLabel(a),i=r.replace("{value}",o!=null?o:"");return i}}(t):Lt(t)?function(r){return function(a,o){return n!=null&&(o=a.value-n),r(KO(e,a),o,a.level!=null?{level:a.level}:null)}}(t):function(r){return e.scale.getLabel(r)}}function KO(e,t){return e.type==="category"?e.scale.getLabel(t):t.value}function $Be(e){var t=e.model,n=e.scale;if(!(!t.get(["axisLabel","show"])||n.isBlank())){var r,a,o=n.getExtent();n instanceof zO?a=n.count():(r=n.getTicks(),a=r.length);var i=e.getLabelModel(),s=ap(e),l,u=1;a>40&&(u=Math.ceil(a/40));for(var c=0;ce[1]&&(e[1]=a[1])})}var qO=function(){function e(){}return e.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},e.prototype.getCoordSysModel=function(){},e}();function FBe(e){return cS(null,e)}var VBe={isDimensionStacked:hu,enableDataStack:eX,getStackedDimension:tX};function zBe(e,t){var n=t;t instanceof Ln||(n=new Ln(t));var r=jO(n);return r.setExtent(e[0],e[1]),Gg(r,n),r}function HBe(e){io(e,qO)}function WBe(e,t){return t=t||{},ma(e,null,null,t.state!=="normal")}const UBe=Object.freeze(Object.defineProperty({__proto__:null,createDimensions:J9e,createList:FBe,createScale:zBe,createSymbol:No,createTextStyle:WBe,dataStack:VBe,enableHoverEmphasis:Bg,getECData:on,getLayoutRect:wi,mixinAxisModelCommonMethods:HBe},Symbol.toStringTag,{value:"Module"}));var V$=[],jBe={registerPreprocessor:DO,registerProcessor:LO,registerPostInit:WY,registerPostUpdate:UY,registerUpdateLifecycle:uS,registerAction:Mi,registerCoordinateSystem:jY,registerLayout:KY,registerVisual:Su,registerTransform:qY,registerLoading:NO,registerMap:GY,registerImpl:p9e,PRIORITY:DY,ComponentModel:ln,ComponentView:_r,SeriesModel:Ha,ChartView:ya,registerComponentModel:function(e){ln.registerClass(e)},registerComponentView:function(e){_r.registerClass(e)},registerSeriesModel:function(e){Ha.registerClass(e)},registerChartView:function(e){ya.registerClass(e)},registerSubTypeDefaulter:function(e,t){ln.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){kG(e,t)}};function Wa(e){if(ot(e)){re(e,function(t){Wa(t)});return}tn(V$,e)>=0||(V$.push(e),Lt(e)&&(e={install:e}),e.install(jBe))}var KBe=1e-8;function z$(e,t){return Math.abs(e-t)a&&(r=i,a=l)}if(r)return qBe(r.exterior);var u=this.getBoundingRect();return[u.x+u.width/2,u.y+u.height/2]},t.prototype.getBoundingRect=function(n){var r=this._rect;if(r&&!n)return r;var a=[1/0,1/0],o=[-1/0,-1/0],i=this.geometries;return re(i,function(s){s.type==="polygon"?W$(s.exterior,a,o,n):re(s.points,function(l){W$(l,a,o,n)})}),isFinite(a[0])&&isFinite(a[1])&&isFinite(o[0])&&isFinite(o[1])||(a[0]=a[1]=o[0]=o[1]=0),r=new mn(a[0],a[1],o[0]-a[0],o[1]-a[1]),n||(this._rect=r),r},t.prototype.contain=function(n){var r=this.getBoundingRect(),a=this.geometries;if(!r.contain(n[0],n[1]))return!1;e:for(var o=0,i=a.length;o>1^-(s&1),l=l>>1^-(l&1),s+=a,l+=o,a=s,o=l,r.push([s/n,l/n])}return r}function K$(e,t){return e=XBe(e),lt(Un(e.features,function(n){return n.geometry&&n.properties&&n.geometry.coordinates.length>0}),function(n){var r=n.properties,a=n.geometry,o=[];switch(a.type){case"Polygon":var i=a.coordinates;o.push(new U$(i[0],i.slice(1)));break;case"MultiPolygon":re(a.coordinates,function(l){l[0]&&o.push(new U$(l[0],l.slice(1)))});break;case"LineString":o.push(new j$([a.coordinates]));break;case"MultiLineString":o.push(new j$(a.coordinates))}var s=new YBe(r[t||"name"],o,r.cp);return s.properties=r,s})}const ZBe=Object.freeze(Object.defineProperty({__proto__:null,MAX_SAFE_INTEGER:vDe,asc:Vl,getPercentWithPrecision:hDe,getPixelPrecision:FM,getPrecision:es,getPrecisionSafe:PG,isNumeric:DG,isRadianAroundZero:Dg,linearMap:Hn,nice:zM,numericToNumber:Xs,parseDate:Lo,quantile:mDe,quantity:IG,quantityExponent:Fw,reformIntervals:Mk,remRadian:VM,round:tr},Symbol.toStringTag,{value:"Module"})),JBe=Object.freeze(Object.defineProperty({__proto__:null,format:e0,parse:Lo},Symbol.toStringTag,{value:"Module"})),QBe=Object.freeze(Object.defineProperty({__proto__:null,Arc:qm,BezierCurve:Gw,BoundingRect:mn,Circle:Qh,CompoundPath:ZM,Ellipse:Kw,Group:Rn,Image:so,IncrementalDisplayable:yq,Line:Ja,LinearGradient:qw,Polygon:xf,Polyline:wu,RadialGradient:mq,Rect:Pn,Ring:Gm,Sector:ki,Text:Tn,clipPointsByRect:oO,clipRectByRect:Cq,createIcon:Ym,extendPath:wq,extendShape:_q,getShapeClass:tO,getTransform:Jl,initProps:$a,makeImage:nO,makePath:Yw,mergePath:Zi,registerShape:Ho,resizePath:rO,updateProps:xr},Symbol.toStringTag,{value:"Module"})),eFe=Object.freeze(Object.defineProperty({__proto__:null,addCommas:hO,capitalFirst:q$e,encodeHTML:Vr,formatTime:G$e,formatTpl:vO,getTextRect:K$e,getTooltipMarker:Bq,normalizeCssArray:Ef,toCamelCase:pO,truncateText:jDe},Symbol.toStringTag,{value:"Module"})),tFe=Object.freeze(Object.defineProperty({__proto__:null,bind:Tt,clone:Pt,curry:dn,defaults:Ut,each:re,extend:Qe,filter:Un,indexOf:tn,inherits:kM,isArray:ot,isFunction:Lt,isObject:xt,isString:yt,map:lt,merge:qt,reduce:_i},Symbol.toStringTag,{value:"Module"}));var qg=Nn();function gX(e,t){var n=lt(t,function(r){return e.scale.parse(r)});return e.type==="time"&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function nFe(e){var t=e.getLabelModel().get("customValues");if(t){var n=ap(e),r=e.scale.getExtent(),a=gX(e,t),o=Un(a,function(i){return i>=r[0]&&i<=r[1]});return{labels:lt(o,function(i){var s={value:i};return{formattedLabel:n(s),rawLabel:e.scale.getLabel(s),tickValue:i}})}}return e.type==="category"?aFe(e):iFe(e)}function rFe(e,t){var n=e.getTickModel().get("customValues");if(n){var r=e.scale.getExtent(),a=gX(e,n);return{ticks:Un(a,function(o){return o>=r[0]&&o<=r[1]})}}return e.type==="category"?oFe(e,t):{ticks:lt(e.scale.getTicks(),function(o){return o.value})}}function aFe(e){var t=e.getLabelModel(),n=mX(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function mX(e,t){var n=yX(e,"labels"),r=GO(t),a=bX(n,r);if(a)return a;var o,i;return Lt(r)?o=SX(e,r):(i=r==="auto"?sFe(e):r,o=wX(e,i)),_X(n,r,{labels:o,labelCategoryInterval:i})}function oFe(e,t){var n=yX(e,"ticks"),r=GO(t),a=bX(n,r);if(a)return a;var o,i;if((!t.get("show")||e.scale.isBlank())&&(o=[]),Lt(r))o=SX(e,r,!0);else if(r==="auto"){var s=mX(e,e.getLabelModel());i=s.labelCategoryInterval,o=lt(s.labels,function(l){return l.tickValue})}else i=r,o=wX(e,i,!0);return _X(n,r,{ticks:o,tickCategoryInterval:i})}function iFe(e){var t=e.scale.getTicks(),n=ap(e);return{labels:lt(t,function(r,a){return{level:r.level,formattedLabel:n(r,a),rawLabel:e.scale.getLabel(r),tickValue:r.value}})}}function yX(e,t){return qg(e)[t]||(qg(e)[t]=[])}function bX(e,t){for(var n=0;n40&&(s=Math.max(1,Math.floor(i/40)));for(var l=o[0],u=e.dataToCoord(l+1)-e.dataToCoord(l),c=Math.abs(u*Math.cos(r)),f=Math.abs(u*Math.sin(r)),h=0,d=0;l<=o[1];l+=s){var p=0,v=0,g=Um(n({value:l}),t.font,"center","top");p=g.width*1.3,v=g.height*1.3,h=Math.max(h,p,7),d=Math.max(d,v,7)}var m=h/c,w=d/f;isNaN(m)&&(m=1/0),isNaN(w)&&(w=1/0);var _=Math.max(0,Math.floor(Math.min(m,w))),b=qg(e.model),S=e.getExtent(),C=b.lastAutoInterval,T=b.lastTickCount;return C!=null&&T!=null&&Math.abs(C-_)<=1&&Math.abs(T-i)<=1&&C>_&&b.axisExtent0===S[0]&&b.axisExtent1===S[1]?_=C:(b.lastTickCount=i,b.lastAutoInterval=_,b.axisExtent0=S[0],b.axisExtent1=S[1]),_}function uFe(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function wX(e,t,n){var r=ap(e),a=e.scale,o=a.getExtent(),i=e.getLabelModel(),s=[],l=Math.max((t||0)+1,1),u=o[0],c=a.count();u!==0&&l>1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var f=hX(e),h=i.get("showMinLabel")||f,d=i.get("showMaxLabel")||f;h&&u!==o[0]&&v(o[0]);for(var p=u;p<=o[1];p+=l)v(p);d&&p-l!==o[1]&&v(o[1]);function v(g){var m={value:g};s.push(n?g:{formattedLabel:r(m),rawLabel:a.getLabel(m),tickValue:g})}return s}function SX(e,t,n){var r=e.scale,a=ap(e),o=[];return re(r.getTicks(),function(i){var s=r.getLabel(i),l=i.value;t(i.value,s)&&o.push(n?l:{formattedLabel:a(i),rawLabel:s,tickValue:l})}),o}var G$=[0,1],Cu=function(){function e(t,n,r){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=n,this._extent=r||[0,0]}return e.prototype.contain=function(t){var n=this._extent,r=Math.min(n[0],n[1]),a=Math.max(n[0],n[1]);return t>=r&&t<=a},e.prototype.containData=function(t){return this.scale.contain(t)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(t){return FM(t||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(t,n){var r=this._extent;r[0]=t,r[1]=n},e.prototype.dataToCoord=function(t,n){var r=this._extent,a=this.scale;return t=a.normalize(t),this.onBand&&a.type==="ordinal"&&(r=r.slice(),q$(r,a.count())),Hn(t,G$,r,n)},e.prototype.coordToData=function(t,n){var r=this._extent,a=this.scale;this.onBand&&a.type==="ordinal"&&(r=r.slice(),q$(r,a.count()));var o=Hn(t,r,G$,n);return this.scale.scale(o)},e.prototype.pointToData=function(t,n){},e.prototype.getTicksCoords=function(t){t=t||{};var n=t.tickModel||this.getTickModel(),r=rFe(this,n),a=r.ticks,o=lt(a,function(s){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(s):s),tickValue:s}},this),i=n.get("alignWithLabel");return cFe(this,o,i,t.clamp),o},e.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),n=t.get("splitNumber");n>0&&n<100||(n=5);var r=this.scale.getMinorTicks(n),a=lt(r,function(o){return lt(o,function(i){return{coord:this.dataToCoord(i),tickValue:i}},this)},this);return a},e.prototype.getViewLabels=function(){return nFe(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var t=this._extent,n=this.scale.getExtent(),r=n[1]-n[0]+(this.onBand?1:0);r===0&&(r=1);var a=Math.abs(t[1]-t[0]);return Math.abs(a)/r},e.prototype.calculateCategoryInterval=function(){return lFe(this)},e}();function q$(e,t){var n=e[1]-e[0],r=t,a=n/r/2;e[0]+=a,e[1]-=a}function cFe(e,t,n,r){var a=t.length;if(!e.onBand||n||!a)return;var o=e.getExtent(),i,s;if(a===1)t[0].coord=o[0],i=t[1]={coord:o[1],tickValue:t[0].tickValue};else{var l=t[a-1].tickValue-t[0].tickValue,u=(t[a-1].coord-t[0].coord)/l;re(t,function(d){d.coord-=u/2});var c=e.scale.getExtent();s=1+c[1]-t[a-1].tickValue,i={coord:t[a-1].coord+u*s,tickValue:c[1]+1},t.push(i)}var f=o[0]>o[1];h(t[0].coord,o[0])&&(r?t[0].coord=o[0]:t.shift()),r&&h(o[0],t[0].coord)&&t.unshift({coord:o[0]}),h(o[1],i.coord)&&(r?i.coord=o[1]:t.pop()),r&&h(i.coord,o[1])&&t.push({coord:o[1]});function h(d,p){return d=tr(d),p=tr(p),f?d>p:da&&(a+=Np);var d=Math.atan2(s,i);if(d<0&&(d+=Np),d>=r&&d<=a||d+Np>=r&&d+Np<=a)return l[0]=c,l[1]=f,u-n;var p=n*Math.cos(r)+e,v=n*Math.sin(r)+t,g=n*Math.cos(a)+e,m=n*Math.sin(a)+t,w=(p-i)*(p-i)+(v-s)*(v-s),_=(g-i)*(g-i)+(m-s)*(m-s);return w<_?(l[0]=p,l[1]=v,Math.sqrt(w)):(l[0]=g,l[1]=m,Math.sqrt(_))}function u_(e,t,n,r,a,o,i,s){var l=a-e,u=o-t,c=n-e,f=r-t,h=Math.sqrt(c*c+f*f);c/=h,f/=h;var d=l*c+u*f,p=d/h;s&&(p=Math.min(Math.max(p,0),1)),p*=h;var v=i[0]=e+p*c,g=i[1]=t+p*f;return Math.sqrt((v-a)*(v-a)+(g-o)*(g-o))}function CX(e,t,n,r,a,o,i){n<0&&(e=e+n,n=-n),r<0&&(t=t+r,r=-r);var s=e+n,l=t+r,u=i[0]=Math.min(Math.max(a,e),s),c=i[1]=Math.min(Math.max(o,t),l);return Math.sqrt((u-a)*(u-a)+(c-o)*(c-o))}var ei=[];function yFe(e,t,n){var r=CX(t.x,t.y,t.width,t.height,e.x,e.y,ei);return n.set(ei[0],ei[1]),r}function bFe(e,t,n){for(var r=0,a=0,o=0,i=0,s,l,u=1/0,c=t.data,f=e.x,h=e.y,d=0;d0){t=t/180*Math.PI,ii.fromArray(e[0]),Mn.fromArray(e[1]),Xn.fromArray(e[2]),jt.sub(ns,ii,Mn),jt.sub(Ji,Xn,Mn);var n=ns.len(),r=Ji.len();if(!(n<.001||r<.001)){ns.scale(1/n),Ji.scale(1/r);var a=ns.dot(Ji),o=Math.cos(t);if(o1&&jt.copy(ra,Xn),ra.toArray(e[1])}}}}function _Fe(e,t,n){if(n<=180&&n>0){n=n/180*Math.PI,ii.fromArray(e[0]),Mn.fromArray(e[1]),Xn.fromArray(e[2]),jt.sub(ns,Mn,ii),jt.sub(Ji,Xn,Mn);var r=ns.len(),a=Ji.len();if(!(r<.001||a<.001)){ns.scale(1/r),Ji.scale(1/a);var o=ns.dot(t),i=Math.cos(n);if(o=l)jt.copy(ra,Xn);else{ra.scaleAndAdd(Ji,s/Math.tan(Math.PI/2-c));var f=Xn.x!==Mn.x?(ra.x-Mn.x)/(Xn.x-Mn.x):(ra.y-Mn.y)/(Xn.y-Mn.y);if(isNaN(f))return;f<0?jt.copy(ra,Mn):f>1&&jt.copy(ra,Xn)}ra.toArray(e[1])}}}}function wT(e,t,n,r){var a=n==="normal",o=a?e:e.ensureState(n);o.ignore=t;var i=r.get("smooth");i&&i===!0&&(i=.3),o.shape=o.shape||{},i>0&&(o.shape.smooth=i);var s=r.getModel("lineStyle").getLineStyle();a?e.useStyle(s):o.style=s}function wFe(e,t){var n=t.smooth,r=t.points;if(r)if(e.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var a=Ib(r[0],r[1]),o=Ib(r[1],r[2]);if(!a||!o){e.lineTo(r[1][0],r[1][1]),e.lineTo(r[2][0],r[2][1]);return}var i=Math.min(a,o)*n,s=g1([],r[1],r[0],i/a),l=g1([],r[1],r[2],i/o),u=g1([],s,l,.5);e.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),e.bezierCurveTo(l[0],l[1],l[0],l[1],r[2][0],r[2][1])}else for(var c=1;c0&&o&&S(-c/i,0,i);var v=e[0],g=e[i-1],m,w;_(),m<0&&C(-m,.8),w<0&&C(w,.8),_(),b(m,w,1),b(w,m,-1),_(),m<0&&T(-m),w<0&&T(w);function _(){m=v.rect[t]-r,w=a-g.rect[t]-g.rect[n]}function b(x,E,k){if(x<0){var A=Math.min(E,-x);if(A>0){S(A*k,0,i);var P=A+x;P<0&&C(-P*k,1)}else C(-x*k,1)}}function S(x,E,k){x!==0&&(u=!0);for(var A=E;A0)for(var P=0;P0;P--){var M=k[P-1]*I;S(-M,P,i)}}}function T(x){var E=x<0?-1:1;x=Math.abs(x);for(var k=Math.ceil(x/(i-1)),A=0;A0?S(k,0,A+1):S(-k,i-A-1,i),x-=k,x<=0)return}return u}function LXe(e,t,n,r){return xX(e,"x","width",t,n,r)}function xFe(e,t,n,r){return xX(e,"y","height",t,n,r)}function EFe(e){var t=[];e.sort(function(v,g){return g.priority-v.priority});var n=new mn(0,0,0,0);function r(v){if(!v.ignore){var g=v.ensureState("emphasis");g.ignore==null&&(g.ignore=!1)}v.ignore=!0}for(var a=0;a-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.style.lineWidth=2),r},t.type="series.line",t.dependencies=["grid","polar"],t.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},t}(Ha);function YO(e,t){var n=e.mapDimensionsAll("defaultedLabel"),r=n.length;if(r===1){var a=Sh(e,t,n[0]);return a!=null?a+"":null}else if(r){for(var o=[],i=0;i=0&&r.push(t[o])}return r.join(" ")}var XO=function(e){Ye(t,e);function t(n,r,a,o){var i=e.call(this)||this;return i.updateData(n,r,a,o),i}return t.prototype._createSymbol=function(n,r,a,o,i){this.removeAll();var s=No(n,-1,-1,2,2,null,i);s.attr({z2:100,culling:!0,scaleX:o[0]/2,scaleY:o[1]/2}),s.drift=AFe,this._symbolType=n,this.add(s)},t.prototype.stopSymbolAnimation=function(n){this.childAt(0).stopAnimation(null,n)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){_h(this.childAt(0))},t.prototype.downplay=function(){wh(this.childAt(0))},t.prototype.setZ=function(n,r){var a=this.childAt(0);a.zlevel=n,a.z=r},t.prototype.setDraggable=function(n,r){var a=this.childAt(0);a.draggable=n,a.cursor=!r&&n?"move":a.cursor},t.prototype.updateData=function(n,r,a,o){this.silent=!1;var i=n.getItemVisual(r,"symbol")||"circle",s=n.hostModel,l=t.getSymbolSize(n,r),u=i!==this._symbolType,c=o&&o.disableAnimation;if(u){var f=n.getItemVisual(r,"symbolKeepAspect");this._createSymbol(i,n,r,l,f)}else{var h=this.childAt(0);h.silent=!1;var d={scaleX:l[0]/2,scaleY:l[1]/2};c?h.attr(d):xr(h,d,s,r),eO(h)}if(this._updateCommon(n,r,l,a,o),u){var h=this.childAt(0);if(!c){var d={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:h.style.opacity}};h.scaleX=h.scaleY=0,h.style.opacity=0,$a(h,d,s,r)}}c&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(n,r,a,o,i){var s=this.childAt(0),l=n.hostModel,u,c,f,h,d,p,v,g,m;if(o&&(u=o.emphasisItemStyle,c=o.blurItemStyle,f=o.selectItemStyle,h=o.focus,d=o.blurScope,v=o.labelStatesModels,g=o.hoverScale,m=o.cursorStyle,p=o.emphasisDisabled),!o||n.hasItemOption){var w=o&&o.itemModel?o.itemModel:n.getItemModel(r),_=w.getModel("emphasis");u=_.getModel("itemStyle").getItemStyle(),f=w.getModel(["select","itemStyle"]).getItemStyle(),c=w.getModel(["blur","itemStyle"]).getItemStyle(),h=_.get("focus"),d=_.get("blurScope"),p=_.get("disabled"),v=Zm(w),g=_.getShallow("scale"),m=w.getShallow("cursor")}var b=n.getItemVisual(r,"symbolRotate");s.attr("rotation",(b||0)*Math.PI/180||0);var S=CY(n.getItemVisual(r,"symbolOffset"),a);S&&(s.x=S[0],s.y=S[1]),m&&s.attr("cursor",m);var C=n.getItemVisual(r,"style"),T=C.fill;if(s instanceof so){var x=s.style;s.useStyle(Qe({image:x.image,x:x.x,y:x.y,width:x.width,height:x.height},C))}else s.__isEmptyBrush?s.useStyle(Qe({},C)):s.useStyle(C),s.style.decal=null,s.setColor(T,i&&i.symbolInnerColor),s.style.strokeNoScale=!0;var E=n.getItemVisual(r,"liftZ"),k=this._z2;E!=null?k==null&&(this._z2=s.z2,s.z2+=E):k!=null&&(s.z2=k,this._z2=null);var A=i&&i.useNameLabel;Xm(s,v,{labelFetcher:l,labelDataIndex:r,defaultText:P,inheritColor:T,defaultOpacity:C.opacity});function P(I){return A?n.getName(I):YO(n,I)}this._sizeX=a[0]/2,this._sizeY=a[1]/2;var $=s.ensureState("emphasis");$.style=u,s.ensureState("select").style=f,s.ensureState("blur").style=c;var B=g==null||g===!0?Math.max(1.1,3/this._sizeY):isFinite(g)&&g>0?+g:1;$.scaleX=this._sizeX*B,$.scaleY=this._sizeY*B,this.setSymbolScale(1),Fg(this,h,d,p)},t.prototype.setSymbolScale=function(n){this.scaleX=this.scaleY=n},t.prototype.fadeOut=function(n,r,a){var o=this.childAt(0),i=on(this).dataIndex,s=a&&a.animation;if(this.silent=o.silent=!0,a&&a.fadeLabel){var l=o.getTextContent();l&&Gb(l,{style:{opacity:0}},r,{dataIndex:i,removeOpt:s,cb:function(){o.removeTextContent()}})}else o.removeTextContent();Gb(o,{style:{opacity:0},scaleX:0,scaleY:0},r,{dataIndex:i,cb:n,removeOpt:s})},t.getSymbolSize=function(n,r){return Z7e(n.getItemVisual(r,"symbolSize"))},t}(Rn);function AFe(e,t){this.parent.drift(e,t)}function ST(e,t,n,r){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(r.isIgnore&&r.isIgnore(n))&&!(r.clipShape&&!r.clipShape.contain(t[0],t[1]))&&e.getItemVisual(n,"symbol")!=="none"}function Y$(e){return e!=null&&!xt(e)&&(e={isIgnore:e}),e||{}}function X$(e){var t=e.hostModel,n=t.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:Zm(t),cursorStyle:t.get("cursor")}}var MFe=function(){function e(t){this.group=new Rn,this._SymbolCtor=t||XO}return e.prototype.updateData=function(t,n){this._progressiveEls=null,n=Y$(n);var r=this.group,a=t.hostModel,o=this._data,i=this._SymbolCtor,s=n.disableAnimation,l=X$(t),u={disableAnimation:s},c=n.getSymbolPoint||function(f){return t.getItemLayout(f)};o||r.removeAll(),t.diff(o).add(function(f){var h=c(f);if(ST(t,h,f,n)){var d=new i(t,f,l,u);d.setPosition(h),t.setItemGraphicEl(f,d),r.add(d)}}).update(function(f,h){var d=o.getItemGraphicEl(h),p=c(f);if(!ST(t,p,f,n)){r.remove(d);return}var v=t.getItemVisual(f,"symbol")||"circle",g=d&&d.getSymbolType&&d.getSymbolType();if(!d||g&&g!==v)r.remove(d),d=new i(t,f,l,u),d.setPosition(p);else{d.updateData(t,f,l,u);var m={x:p[0],y:p[1]};s?d.attr(m):xr(d,m,a)}r.add(d),t.setItemGraphicEl(f,d)}).remove(function(f){var h=o.getItemGraphicEl(f);h&&h.fadeOut(function(){r.remove(h)},a)}).execute(),this._getSymbolPoint=c,this._data=t},e.prototype.updateLayout=function(){var t=this,n=this._data;n&&n.eachItemGraphicEl(function(r,a){var o=t._getSymbolPoint(a);r.setPosition(o),r.markRedraw()})},e.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=X$(t),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(t,n,r){this._progressiveEls=[],r=Y$(r);function a(l){l.isGroup||(l.incremental=!0,l.ensureState("emphasis").hoverLayer=!0)}for(var o=t.start;o0?n=r[0]:r[1]<0&&(n=r[1]),n}function MX(e,t,n,r){var a=NaN;e.stacked&&(a=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(a)&&(a=e.valueStart);var o=e.baseDataOffset,i=[];return i[o]=n.get(e.baseDim,r),i[1-o]=a,t.dataToPoint(i)}function PFe(e,t){var n=[];return t.diff(e).add(function(r){n.push({cmd:"+",idx:r})}).update(function(r,a){n.push({cmd:"=",idx:a,idx1:r})}).remove(function(r){n.push({cmd:"-",idx:r})}).execute(),n}function RFe(e,t,n,r,a,o,i,s){for(var l=PFe(e,t),u=[],c=[],f=[],h=[],d=[],p=[],v=[],g=AX(a,t,i),m=e.getLayout("points")||[],w=t.getLayout("points")||[],_=0;_=a||v<0)break;if(Uc(m,w)){if(l){v+=o;continue}break}if(v===n)e[o>0?"moveTo":"lineTo"](m,w),f=m,h=w;else{var _=m-u,b=w-c;if(_*_+b*b<.5){v+=o;continue}if(i>0){for(var S=v+o,C=t[S*2],T=t[S*2+1];C===m&&T===w&&g=r||Uc(C,T))d=m,p=w;else{k=C-u,A=T-c;var B=m-u,I=C-m,M=w-c,L=T-w,O=void 0,D=void 0;if(s==="x"){O=Math.abs(B),D=Math.abs(I);var z=k>0?1:-1;d=m-z*O*i,p=w,P=m+z*D*i,$=w}else if(s==="y"){O=Math.abs(M),D=Math.abs(L);var V=A>0?1:-1;d=m,p=w-V*O*i,P=m,$=w+V*D*i}else O=Math.sqrt(B*B+M*M),D=Math.sqrt(I*I+L*L),E=D/(D+O),d=m-k*i*(1-E),p=w-A*i*(1-E),P=m+k*i*E,$=w+A*i*E,P=vl(P,gl(C,m)),$=vl($,gl(T,w)),P=gl(P,vl(C,m)),$=gl($,vl(T,w)),k=P-m,A=$-w,d=m-k*O/D,p=w-A*O/D,d=vl(d,gl(u,m)),p=vl(p,gl(c,w)),d=gl(d,vl(u,m)),p=gl(p,vl(c,w)),k=m-d,A=w-p,P=m+k*D/O,$=w+A*D/O}e.bezierCurveTo(f,h,d,p,m,w),f=P,h=$}else e.lineTo(m,w)}u=m,c=w,v+=o}return g}var OX=function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e}(),IFe=function(e){Ye(t,e);function t(n){var r=e.call(this,n)||this;return r.type="ec-polyline",r}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new OX},t.prototype.buildPath=function(n,r){var a=r.points,o=0,i=a.length/2;if(r.connectNulls){for(;i>0&&Uc(a[i*2-2],a[i*2-1]);i--);for(;o=0){var b=u?(p-l)*_+l:(d-s)*_+s;return u?[n,b]:[b,n]}s=d,l=p;break;case i.C:d=o[f++],p=o[f++],v=o[f++],g=o[f++],m=o[f++],w=o[f++];var S=u?$b(s,d,v,m,n,c):$b(l,p,g,w,n,c);if(S>0)for(var C=0;C=0){var b=u?dr(l,p,g,w,T):dr(s,d,v,m,T);return u?[n,b]:[b,n]}}s=m,l=w;break}}},t}(wn),DFe=function(e){Ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(OX),LFe=function(e){Ye(t,e);function t(n){var r=e.call(this,n)||this;return r.type="ec-polygon",r}return t.prototype.getDefaultShape=function(){return new DFe},t.prototype.buildPath=function(n,r){var a=r.points,o=r.stackedOnPoints,i=0,s=a.length/2,l=r.smoothMonotone;if(r.connectNulls){for(;s>0&&Uc(a[s*2-2],a[s*2-1]);s--);for(;it){o?n.push(i(o,l,t)):a&&n.push(i(a,l,0),i(a,l,t));break}else a&&(n.push(i(a,l,0)),a=null),n.push(l),o=l}return n}function FFe(e,t,n){var r=e.getVisual("visualMeta");if(!(!r||!r.length||!e.count())&&t.type==="cartesian2d"){for(var a,o,i=r.length-1;i>=0;i--){var s=e.getDimensionInfo(r[i].dimension);if(a=s&&s.coordDim,a==="x"||a==="y"){o=r[i];break}}if(o){var l=t.getAxis(a),u=lt(o.stops,function(_){return{coord:l.toGlobalCoord(l.dataToCoord(_.value)),color:_.color}}),c=u.length,f=o.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),f.reverse());var h=BFe(u,a==="x"?n.getWidth():n.getHeight()),d=h.length;if(!d&&c)return u[0].coord<0?f[1]?f[1]:u[c-1].color:f[0]?f[0]:u[0].color;var p=10,v=h[0].coord-p,g=h[d-1].coord+p,m=g-v;if(m<.001)return"transparent";re(h,function(_){_.offset=(_.coord-v)/m}),h.push({offset:d?h[d-1].offset:.5,color:f[1]||"transparent"}),h.unshift({offset:d?h[0].offset:.5,color:f[0]||"transparent"});var w=new qw(0,0,0,0,h,!0);return w[a]=v,w[a+"2"]=g,w}}}function VFe(e,t,n){var r=e.get("showAllSymbol"),a=r==="auto";if(!(r&&!a)){var o=n.getAxesByScale("ordinal")[0];if(o&&!(a&&zFe(o,t))){var i=t.mapDimension(o.dim),s={};return re(o.getViewLabels(),function(l){var u=o.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(t.get(i,l))}}}}function zFe(e,t){var n=e.getExtent(),r=Math.abs(n[1]-n[0])/e.scale.count();isNaN(r)&&(r=0);for(var a=t.count(),o=Math.max(1,Math.round(a/5)),i=0;ir)return!1;return!0}function HFe(e,t){return isNaN(e)||isNaN(t)}function WFe(e){for(var t=e.length/2;t>0&&HFe(e[t*2-2],e[t*2-1]);t--);return t-1}function tN(e,t){return[e[t*2],e[t*2+1]]}function UFe(e,t,n){for(var r=e.length/2,a=n==="x"?0:1,o,i,s=0,l=-1,u=0;u=t||o>=t&&i<=t){l=u;break}s=u,o=i}return{range:[s,l],t:(t-o)/(i-o)}}function IX(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t<$o.length;t++)if(e.get([$o[t],"endLabel","show"]))return!0;return!1}function CT(e,t,n,r){if(ZO(t,"cartesian2d")){var a=r.getModel("endLabel"),o=a.get("valueAnimation"),i=r.getData(),s={lastFrameIndex:0},l=IX(r)?function(d,p){e._endLabelOnDuring(d,p,i,s,o,a,t)}:null,u=t.getBaseAxis().isHorizontal(),c=PX(t,n,r,function(){var d=e._endLabel;d&&n&&s.originalX!=null&&d.attr({x:s.originalX,y:s.originalY})},l);if(!r.get("clip",!0)){var f=c.shape,h=Math.max(f.width,f.height);u?(f.y-=h,f.height+=h*2):(f.x-=h,f.width+=h*2)}return l&&l(1,c),c}else return RX(t,n,r)}function jFe(e,t){var n=t.getBaseAxis(),r=n.isHorizontal(),a=n.inverse,o=r?a?"right":"left":"center",i=r?"middle":a?"top":"bottom";return{normal:{align:e.get("align")||o,verticalAlign:e.get("verticalAlign")||i}}}var KFe=function(e){Ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(){var n=new Rn,r=new MFe;this.group.add(r.group),this._symbolDraw=r,this._lineGroup=n,this._changePolyState=Tt(this._changePolyState,this)},t.prototype.render=function(n,r,a){var o=n.coordinateSystem,i=this.group,s=n.getData(),l=n.getModel("lineStyle"),u=n.getModel("areaStyle"),c=s.getLayout("points")||[],f=o.type==="polar",h=this._coordSys,d=this._symbolDraw,p=this._polyline,v=this._polygon,g=this._lineGroup,m=!r.ssr&&n.get("animation"),w=!u.isEmpty(),_=u.get("origin"),b=AX(o,s,_),S=w&&NFe(o,s,b),C=n.get("showSymbol"),T=n.get("connectNulls"),x=C&&!f&&VFe(n,s,o),E=this._data;E&&E.eachItemGraphicEl(function(ie,fe){ie.__temp&&(i.remove(ie),E.setItemGraphicEl(fe,null))}),C||d.remove(),i.add(g);var k=f?!1:n.get("step"),A;o&&o.getArea&&n.get("clip",!0)&&(A=o.getArea(),A.width!=null?(A.x-=.1,A.y-=.1,A.width+=.2,A.height+=.2):A.r0&&(A.r0-=.5,A.r+=.5)),this._clipShapeForSymbol=A;var P=FFe(s,o,a)||s.getVisual("style")[s.getVisual("drawType")];if(!(p&&h.type===o.type&&k===this._step))C&&d.updateData(s,{isIgnore:x,clipShape:A,disableAnimation:!0,getSymbolPoint:function(ie){return[c[ie*2],c[ie*2+1]]}}),m&&this._initSymbolLabelAnimation(s,o,A),k&&(S&&(S=ml(S,c,o,k,T)),c=ml(c,null,o,k,T)),p=this._newPolyline(c),w?v=this._newPolygon(c,S):v&&(g.remove(v),v=this._polygon=null),f||this._initOrUpdateEndLabel(n,o,df(P)),g.setClipPath(CT(this,o,!0,n));else{w&&!v?v=this._newPolygon(c,S):v&&!w&&(g.remove(v),v=this._polygon=null),f||this._initOrUpdateEndLabel(n,o,df(P));var $=g.getClipPath();if($){var B=CT(this,o,!1,n);$a($,{shape:B.shape},n)}else g.setClipPath(CT(this,o,!0,n));C&&d.updateData(s,{isIgnore:x,clipShape:A,disableAnimation:!0,getSymbolPoint:function(ie){return[c[ie*2],c[ie*2+1]]}}),(!Z$(this._stackedOnPoints,S)||!Z$(this._points,c))&&(m?this._doUpdateAnimation(s,S,o,a,k,_,T):(k&&(S&&(S=ml(S,c,o,k,T)),c=ml(c,null,o,k,T)),p.setShape({points:c}),v&&v.setShape({points:c,stackedOnPoints:S})))}var I=n.getModel("emphasis"),M=I.get("focus"),L=I.get("blurScope"),O=I.get("disabled");if(p.useStyle(Ut(l.getLineStyle(),{fill:"none",stroke:P,lineJoin:"bevel"})),jb(p,n,"lineStyle"),p.style.lineWidth>0&&n.get(["emphasis","lineStyle","width"])==="bolder"){var D=p.getState("emphasis").style;D.lineWidth=+p.style.lineWidth+1}on(p).seriesIndex=n.seriesIndex,Fg(p,M,L,O);var z=eN(n.get("smooth")),V=n.get("smoothMonotone");if(p.setShape({smooth:z,smoothMonotone:V,connectNulls:T}),v){var j=s.getCalculationInfo("stackedOnSeries"),U=0;v.useStyle(Ut(u.getAreaStyle(),{fill:P,opacity:.7,lineJoin:"bevel",decal:s.getVisual("style").decal})),j&&(U=eN(j.get("smooth"))),v.setShape({smooth:z,stackedOnSmooth:U,smoothMonotone:V,connectNulls:T}),jb(v,n,"areaStyle"),on(v).seriesIndex=n.seriesIndex,Fg(v,M,L,O)}var ne=this._changePolyState;s.eachItemGraphicEl(function(ie){ie&&(ie.onHoverStateChange=ne)}),this._polyline.onHoverStateChange=ne,this._data=s,this._coordSys=o,this._stackedOnPoints=S,this._points=c,this._step=k,this._valueOrigin=_,n.get("triggerLineEvent")&&(this.packEventData(n,p),v&&this.packEventData(n,v))},t.prototype.packEventData=function(n,r){on(r).eventData={componentType:"series",componentSubType:"line",componentIndex:n.componentIndex,seriesIndex:n.seriesIndex,seriesName:n.name,seriesType:"line"}},t.prototype.highlight=function(n,r,a,o){var i=n.getData(),s=ff(i,o);if(this._changePolyState("emphasis"),!(s instanceof Array)&&s!=null&&s>=0){var l=i.getLayout("points"),u=i.getItemGraphicEl(s);if(!u){var c=l[s*2],f=l[s*2+1];if(isNaN(c)||isNaN(f)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(c,f))return;var h=n.get("zlevel")||0,d=n.get("z")||0;u=new XO(i,s),u.x=c,u.y=f,u.setZ(h,d);var p=u.getSymbolPath().getTextContent();p&&(p.zlevel=h,p.z=d,p.z2=this._polyline.z2+1),u.__temp=!0,i.setItemGraphicEl(s,u),u.stopSymbolAnimation(!0),this.group.add(u)}u.highlight()}else ya.prototype.highlight.call(this,n,r,a,o)},t.prototype.downplay=function(n,r,a,o){var i=n.getData(),s=ff(i,o);if(this._changePolyState("normal"),s!=null&&s>=0){var l=i.getItemGraphicEl(s);l&&(l.__temp?(i.setItemGraphicEl(s,null),this.group.remove(l)):l.downplay())}else ya.prototype.downplay.call(this,n,r,a,o)},t.prototype._changePolyState=function(n){var r=this._polygon;lL(this._polyline,n),r&&lL(r,n)},t.prototype._newPolyline=function(n){var r=this._polyline;return r&&this._lineGroup.remove(r),r=new IFe({shape:{points:n},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(r),this._polyline=r,r},t.prototype._newPolygon=function(n,r){var a=this._polygon;return a&&this._lineGroup.remove(a),a=new LFe({shape:{points:n,stackedOnPoints:r},segmentIgnoreThreshold:2}),this._lineGroup.add(a),this._polygon=a,a},t.prototype._initSymbolLabelAnimation=function(n,r,a){var o,i,s=r.getBaseAxis(),l=s.inverse;r.type==="cartesian2d"?(o=s.isHorizontal(),i=!1):r.type==="polar"&&(o=s.dim==="angle",i=!0);var u=n.hostModel,c=u.get("animationDuration");Lt(c)&&(c=c(null));var f=u.get("animationDelay")||0,h=Lt(f)?f(null):f;n.eachItemGraphicEl(function(d,p){var v=d;if(v){var g=[d.x,d.y],m=void 0,w=void 0,_=void 0;if(a)if(i){var b=a,S=r.pointToCoord(g);o?(m=b.startAngle,w=b.endAngle,_=-S[1]/180*Math.PI):(m=b.r0,w=b.r,_=S[0])}else{var C=a;o?(m=C.x,w=C.x+C.width,_=d.x):(m=C.y+C.height,w=C.y,_=d.y)}var T=w===m?0:(_-m)/(w-m);l&&(T=1-T);var x=Lt(f)?f(p):c*T+h,E=v.getSymbolPath(),k=E.getTextContent();v.attr({scaleX:0,scaleY:0}),v.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:x}),k&&k.animateFrom({style:{opacity:0}},{duration:300,delay:x}),E.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(n,r,a){var o=n.getModel("endLabel");if(IX(n)){var i=n.getData(),s=this._polyline,l=i.getLayout("points");if(!l){s.removeTextContent(),this._endLabel=null;return}var u=this._endLabel;u||(u=this._endLabel=new Tn({z2:200}),u.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var c=WFe(l);c>=0&&(Xm(s,Zm(n,"endLabel"),{inheritColor:a,labelFetcher:n,labelDataIndex:c,defaultText:function(f,h,d){return d!=null?kX(i,d):YO(i,f)},enableTextSetter:!0},jFe(o,r)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(n,r,a,o,i,s,l){var u=this._endLabel,c=this._polyline;if(u){n<1&&o.originalX==null&&(o.originalX=u.x,o.originalY=u.y);var f=a.getLayout("points"),h=a.hostModel,d=h.get("connectNulls"),p=s.get("precision"),v=s.get("distance")||0,g=l.getBaseAxis(),m=g.isHorizontal(),w=g.inverse,_=r.shape,b=w?m?_.x:_.y+_.height:m?_.x+_.width:_.y,S=(m?v:0)*(w?-1:1),C=(m?0:-v)*(w?-1:1),T=m?"x":"y",x=UFe(f,b,T),E=x.range,k=E[1]-E[0],A=void 0;if(k>=1){if(k>1&&!d){var P=tN(f,E[0]);u.attr({x:P[0]+S,y:P[1]+C}),i&&(A=h.getRawValue(E[0]))}else{var P=c.getPointOn(b,T);P&&u.attr({x:P[0]+S,y:P[1]+C});var $=h.getRawValue(E[0]),B=h.getRawValue(E[1]);i&&(A=HG(a,p,$,B,x.t))}o.lastFrameIndex=E[0]}else{var I=n===1||o.lastFrameIndex>0?E[0]:0,P=tN(f,I);i&&(A=h.getRawValue(I)),u.attr({x:P[0]+S,y:P[1]+C})}if(i){var M=Jm(u);typeof M.setLabelText=="function"&&M.setLabelText(A)}}},t.prototype._doUpdateAnimation=function(n,r,a,o,i,s,l){var u=this._polyline,c=this._polygon,f=n.hostModel,h=RFe(this._data,n,this._stackedOnPoints,r,this._coordSys,a,this._valueOrigin),d=h.current,p=h.stackedOnCurrent,v=h.next,g=h.stackedOnNext;if(i&&(p=ml(h.stackedOnCurrent,h.current,a,i,l),d=ml(h.current,null,a,i,l),g=ml(h.stackedOnNext,h.next,a,i,l),v=ml(h.next,null,a,i,l)),Q$(d,v)>3e3||c&&Q$(p,g)>3e3){u.stopAnimation(),u.setShape({points:v}),c&&(c.stopAnimation(),c.setShape({points:v,stackedOnPoints:g}));return}u.shape.__points=h.current,u.shape.points=d;var m={shape:{points:v}};h.current!==d&&(m.shape.__points=h.next),u.stopAnimation(),xr(u,m,f),c&&(c.setShape({points:d,stackedOnPoints:p}),c.stopAnimation(),xr(c,{shape:{stackedOnPoints:g}},f),u.shape.points!==c.shape.points&&(c.shape.points=u.shape.points));for(var w=[],_=h.status,b=0;b<_.length;b++){var S=_[b].cmd;if(S==="="){var C=n.getItemGraphicEl(_[b].idx1);C&&w.push({el:C,ptIdx:b})}}u.animators&&u.animators.length&&u.animators[0].during(function(){c&&c.dirtyShape();for(var T=u.shape.__points,x=0;xt&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n10&&i.type==="cartesian2d"&&o){var l=i.getBaseAxis(),u=i.getOtherAxis(l),c=l.getExtent(),f=r.getDevicePixelRatio(),h=Math.abs(c[1]-c[0])*(f||1),d=Math.round(s/h);if(isFinite(d)&&d>1){o==="lttb"?t.setData(a.lttbDownSample(a.mapDimension(u.dim),1/d)):o==="minmax"&&t.setData(a.minmaxDownSample(a.mapDimension(u.dim),1/d));var p=void 0;yt(o)?p=qFe[o]:Lt(o)&&(p=o),p&&t.setData(a.downSample(a.mapDimension(u.dim),1/d,p,YFe))}}}}}function XFe(e){e.registerChartView(KFe),e.registerSeriesModel(kFe),e.registerLayout(GFe("line",!0)),e.registerVisual({seriesType:"line",reset:function(t){var n=t.getData(),r=t.getModel("lineStyle").getLineStyle();r&&!r.stroke&&(r.stroke=n.getVisual("style").fill),n.setVisual("legendLineStyle",r)}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,DX("line"))}var oA=function(e){Ye(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(n,r){return cS(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(n,r,a){var o=this.coordinateSystem;if(o&&o.clampData){var i=o.clampData(n),s=o.dataToPoint(i);if(a)re(o.getAxes(),function(h,d){if(h.type==="category"&&r!=null){var p=h.getTicksCoords(),v=h.getTickModel().get("alignWithLabel"),g=i[d],m=r[d]==="x1"||r[d]==="y1";if(m&&!v&&(g+=1),p.length<2)return;if(p.length===2){s[d]=h.toGlobalCoord(h.getExtent()[m?1:0]);return}for(var w=void 0,_=void 0,b=1,S=0;Sg){_=(C+w)/2;break}S===1&&(b=T-p[0].tickValue)}_==null&&(w?w&&(_=p[p.length-1].coord):_=p[0].coord),s[d]=h.toGlobalCoord(_)}});else{var l=this.getData(),u=l.getLayout("offset"),c=l.getLayout("size"),f=o.getBaseAxis().isHorizontal()?0:1;s[f]+=u+c/2}return s}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t}(Ha);Ha.registerClass(oA);var ZFe=function(e){Ye(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(){return cS(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},t.prototype.getProgressiveThreshold=function(){var n=this.get("progressiveThreshold"),r=this.get("largeThreshold");return r>n&&(n=r),n},t.prototype.brushSelector=function(n,r,a){return a.rect(r.getItemLayout(n))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=tp(oA.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),t}(oA),JFe=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return e}(),nN=function(e){Ye(t,e);function t(n){var r=e.call(this,n)||this;return r.type="sausage",r}return t.prototype.getDefaultShape=function(){return new JFe},t.prototype.buildPath=function(n,r){var a=r.cx,o=r.cy,i=Math.max(r.r0||0,0),s=Math.max(r.r,0),l=(s-i)*.5,u=i+l,c=r.startAngle,f=r.endAngle,h=r.clockwise,d=Math.PI*2,p=h?f-cMath.PI/2&&cs)return!0;s=f}return!1},t.prototype._isOrderDifferentInView=function(n,r){for(var a=r.scale,o=a.getExtent(),i=Math.max(0,o[0]),s=Math.min(o[1],a.getOrdinalMeta().categories.length-1);i<=s;++i)if(n.ordinalNumbers[i]!==a.getRawOrdinalNumber(i))return!0},t.prototype._updateSortWithinSameData=function(n,r,a,o){if(this._isOrderChangedWithinSameData(n,r,a)){var i=this._dataSort(n,a,r);this._isOrderDifferentInView(i,a)&&(this._removeOnRenderedListener(o),o.dispatchAction({type:"changeAxisOrder",componentType:a.dim+"Axis",axisId:a.index,sortInfo:i}))}},t.prototype._dispatchInitSort=function(n,r,a){var o=r.baseAxis,i=this._dataSort(n,o,function(s){return n.get(n.mapDimension(r.otherAxis.dim),s)});a.dispatchAction({type:"changeAxisOrder",componentType:o.dim+"Axis",isInitSort:!0,axisId:o.index,sortInfo:i})},t.prototype.remove=function(n,r){this._clear(this._model),this._removeOnRenderedListener(r)},t.prototype.dispose=function(n,r){this._removeOnRenderedListener(r)},t.prototype._removeOnRenderedListener=function(n){this._onRendered&&(n.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(n){var r=this.group,a=this._data;n&&n.isAnimationEnabled()&&a&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],a.eachItemGraphicEl(function(o){qb(o,n,on(o).dataIndex)})):r.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t}(ya),rN={cartesian2d:function(e,t){var n=t.width<0?-1:1,r=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height);var a=e.x+e.width,o=e.y+e.height,i=TT(t.x,e.x),s=xT(t.x+t.width,a),l=TT(t.y,e.y),u=xT(t.y+t.height,o),c=sa?s:i,t.y=f&&l>o?u:l,t.width=c?0:s-i,t.height=f?0:u-l,n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height),c||f},polar:function(e,t){var n=t.r0<=t.r?1:-1;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}var a=xT(t.r,e.r),o=TT(t.r0,e.r0);t.r=a,t.r0=o;var i=a-o<0;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}return i}},aN={cartesian2d:function(e,t,n,r,a,o,i,s,l){var u=new Pn({shape:Qe({},r),z2:1});if(u.__dataIndex=n,u.name="item",o){var c=u.shape,f=a?"height":"width";c[f]=0}return u},polar:function(e,t,n,r,a,o,i,s,l){var u=!a&&l?nN:ki,c=new u({shape:r,z2:1});c.name="item";var f=LX(a);if(c.calculateTextPosition=QFe(f,{isRoundCap:u===nN}),o){var h=c.shape,d=a?"r":"endAngle",p={};h[d]=a?r.r0:r.startAngle,p[d]=r[d],(s?xr:$a)(c,{shape:p},o)}return c}};function rVe(e,t){var n=e.get("realtimeSort",!0),r=t.getBaseAxis();if(n&&r.type==="category"&&t.type==="cartesian2d")return{baseAxis:r,otherAxis:t.getOtherAxis(r)}}function oN(e,t,n,r,a,o,i,s){var l,u;o?(u={x:r.x,width:r.width},l={y:r.y,height:r.height}):(u={y:r.y,height:r.height},l={x:r.x,width:r.width}),s||(i?xr:$a)(n,{shape:l},t,a,null);var c=t?e.baseAxis.model:null;(i?xr:$a)(n,{shape:u},c,a)}function iN(e,t){for(var n=0;n0?1:-1,i=r.height>0?1:-1;return{x:r.x+o*a/2,y:r.y+i*a/2,width:r.width-o*a,height:r.height-i*a}},polar:function(e,t,n){var r=e.getItemLayout(t);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function iVe(e){return e.startAngle!=null&&e.endAngle!=null&&e.startAngle===e.endAngle}function LX(e){return function(t){var n=t?"Arc":"Angle";return function(r){switch(r){case"start":case"insideStart":case"end":case"insideEnd":return r+n;default:return r}}}(e)}function lN(e,t,n,r,a,o,i,s){var l=t.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var c=e.shape,f=av(r.getModel("itemStyle"),c,!0);Qe(c,f),e.setShape(c)}}else{var u=r.get(["itemStyle","borderRadius"])||0;e.setShape("r",u)}e.useStyle(l);var h=r.getShallow("cursor");h&&e.attr("cursor",h);var d=s?i?a.r>=a.r0?"endArc":"startArc":a.endAngle>=a.startAngle?"endAngle":"startAngle":i?a.height>=0?"bottom":"top":a.width>=0?"right":"left",p=Zm(r);Xm(e,p,{labelFetcher:o,labelDataIndex:n,defaultText:YO(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:d});var v=e.getTextContent();if(s&&v){var g=r.get(["label","position"]);e.textConfig.inside=g==="middle"?!0:null,eVe(e,g==="outside"?d:g,LX(i),r.get(["label","rotate"]))}k$e(v,p,o.getRawValue(n),function(w){return kX(t,w)});var m=r.getModel(["emphasis"]);Fg(e,m.get("focus"),m.get("blurScope"),m.get("disabled")),jb(e,r),iVe(a)&&(e.style.fill="none",e.style.stroke="none",re(e.states,function(w){w.style&&(w.style.fill=w.style.stroke="none")}))}function sVe(e,t){var n=e.get(["itemStyle","borderColor"]);if(!n||n==="none")return 0;var r=e.get(["itemStyle","borderWidth"])||0,a=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),o=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(r,a,o)}var lVe=function(){function e(){}return e}(),uN=function(e){Ye(t,e);function t(n){var r=e.call(this,n)||this;return r.type="largeBar",r}return t.prototype.getDefaultShape=function(){return new lVe},t.prototype.buildPath=function(n,r){for(var a=r.points,o=this.baseDimIdx,i=1-this.baseDimIdx,s=[],l=[],u=this.barWidth,c=0;c=0?n:null},30,!1);function uVe(e,t,n){for(var r=e.baseDimIdx,a=1-r,o=e.shape.points,i=e.largeDataIndices,s=[],l=[],u=e.barWidth,c=0,f=o.length/3;c=s[0]&&t<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return i[c]}return-1}function $X(e,t,n){if(ZO(n,"cartesian2d")){var r=t,a=n.getArea();return{x:e?r.x:a.x,y:e?a.y:r.y,width:e?r.width:a.width,height:e?a.height:r.height}}else{var a=n.getArea(),o=t;return{cx:a.cx,cy:a.cy,r0:e?a.r0:o.r0,r:e?a.r:o.r,startAngle:e?o.startAngle:0,endAngle:e?o.endAngle:Math.PI*2}}}function cVe(e,t,n){var r=e.type==="polar"?ki:Pn;return new r({shape:$X(t,n,e),silent:!0,z2:0})}function fVe(e){e.registerChartView(nVe),e.registerSeriesModel(ZFe),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,dn(mBe,"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,yBe("bar")),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,DX("bar")),e.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,n){var r=t.componentType||"series";n.eachComponent({mainType:r,query:t},function(a){t.sortInfo&&a.axis.setCategorySortInfo(t.sortInfo)})})}var dN=Math.PI*2,_y=Math.PI/180;function NX(e,t){return wi(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function BX(e,t){var n=NX(e,t),r=e.get("center"),a=e.get("radius");ot(a)||(a=[0,a]);var o=an(n.width,t.getWidth()),i=an(n.height,t.getHeight()),s=Math.min(o,i),l=an(a[0],s/2),u=an(a[1],s/2),c,f,h=e.coordinateSystem;if(h){var d=h.dataToPoint(r);c=d[0]||0,f=d[1]||0}else ot(r)||(r=[r,r]),c=an(r[0],o)+n.x,f=an(r[1],i)+n.y;return{cx:c,cy:f,r0:l,r:u}}function dVe(e,t,n){t.eachSeriesByType(e,function(r){var a=r.getData(),o=a.mapDimension("value"),i=NX(r,n),s=BX(r,n),l=s.cx,u=s.cy,c=s.r,f=s.r0,h=-r.get("startAngle")*_y,d=r.get("endAngle"),p=r.get("padAngle")*_y;d=d==="auto"?h-dN:-d*_y;var v=r.get("minAngle")*_y,g=v+p,m=0;a.each(o,function(L){!isNaN(L)&&m++});var w=a.getSum(o),_=Math.PI/(w||m)*2,b=r.get("clockwise"),S=r.get("roseType"),C=r.get("stillShowZeroSum"),T=a.getDataExtent(o);T[0]=0;var x=b?1:-1,E=[h,d],k=x*p/2;YG(E,!b),h=E[0],d=E[1];var A=FX(r);A.startAngle=h,A.endAngle=d,A.clockwise=b;var P=Math.abs(d-h),$=P,B=0,I=h;if(a.setLayout({viewRect:i,r:c}),a.each(o,function(L,O){var D;if(isNaN(L)){a.setItemLayout(O,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:b,cx:l,cy:u,r0:f,r:S?NaN:c});return}S!=="area"?D=w===0&&C?_:L*_:D=P/m,DD?(V=I+x*D/2,j=V):(V=I+k,j=z-k),a.setItemLayout(O,{angle:D,startAngle:V,endAngle:j,clockwise:b,cx:l,cy:u,r0:f,r:S?Hn(L,T,[f,c]):c}),I=z}),$n?m:g,S=Math.abs(_.label.y-n);if(S>=b.maxY){var C=_.label.x-t-_.len2*a,T=r+_.len,x=Math.abs(C)e.unconstrainedWidth?null:d:null;r.setStyle("width",p)}var v=r.getBoundingRect();o.width=v.width;var g=(r.style.margin||0)+2.1;o.height=v.height+g,o.y-=(o.height-f)/2}}}function ET(e){return e.position==="center"}function gVe(e){var t=e.getData(),n=[],r,a,o=!1,i=(e.get("minShowLabelAngle")||0)*pVe,s=t.getLayout("viewRect"),l=t.getLayout("r"),u=s.width,c=s.x,f=s.y,h=s.height;function d(C){C.ignore=!0}function p(C){if(!C.ignore)return!0;for(var T in C.states)if(C.states[T].ignore===!1)return!0;return!1}t.each(function(C){var T=t.getItemGraphicEl(C),x=T.shape,E=T.getTextContent(),k=T.getTextGuideLine(),A=t.getItemModel(C),P=A.getModel("label"),$=P.get("position")||A.get(["emphasis","label","position"]),B=P.get("distanceToLabelLine"),I=P.get("alignTo"),M=an(P.get("edgeDistance"),u),L=P.get("bleedMargin"),O=A.getModel("labelLine"),D=O.get("length");D=an(D,u);var z=O.get("length2");if(z=an(z,u),Math.abs(x.endAngle-x.startAngle)0?"right":"left":j>0?"left":"right"}var pe=Math.PI,we=0,me=P.get("rotate");if(Cn(me))we=me*(pe/180);else if($==="center")we=0;else if(me==="radial"||me===!0){var be=j<0?-V+pe:-V;we=be}else if(me==="tangential"&&$!=="outside"&&$!=="outer"){var Ce=Math.atan2(j,U);Ce<0&&(Ce=pe*2+Ce);var ke=U>0;ke&&(Ce=pe+Ce),we=Ce-pe}if(o=!!we,E.x=ne,E.y=ie,E.rotation=we,E.setStyle({verticalAlign:"middle"}),oe){E.setStyle({align:G});var He=E.states.select;He&&(He.x+=E.x,He.y+=E.y)}else{var Oe=E.getBoundingRect().clone();Oe.applyTransform(E.getComputedTransform());var Pe=(E.style.margin||0)+2.1;Oe.y-=Pe/2,Oe.height+=Pe,n.push({label:E,labelLine:k,position:$,len:D,len2:z,minTurnAngle:O.get("minTurnAngle"),maxSurfaceAngle:O.get("maxSurfaceAngle"),surfaceNormal:new jt(j,U),linePoints:fe,textAlign:G,labelDistance:B,labelAlignTo:I,edgeDistance:M,bleedMargin:L,rect:Oe,unconstrainedWidth:Oe.width,labelStyleWidth:E.style.width})}T.setTextConfig({inside:oe})}}),!o&&e.get("avoidLabelOverlap")&&vVe(n,r,a,l,u,h,c,f);for(var v=0;v0){for(var c=i.getItemLayout(0),f=1;isNaN(c&&c.startAngle)&&f=o.r0}},t.type="pie",t}(ya);function bVe(e,t,n){t=ot(t)&&{coordDimensions:t}||Qe({encodeDefine:e.getEncode()},t);var r=e.getSource(),a=VO(r,t).dimensions,o=new FO(a,e);return o.initData(r,n),o}var _Ve=function(){function e(t,n){this._getDataWithEncodedVisual=t,this._getRawData=n}return e.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},e.prototype.containName=function(t){var n=this._getRawData();return n.indexOfName(t)>=0},e.prototype.indexOfName=function(t){var n=this._getDataWithEncodedVisual();return n.indexOfName(t)},e.prototype.getItemVisual=function(t,n){var r=this._getDataWithEncodedVisual();return r.getItemVisual(t,n)},e}(),wVe=Nn(),SVe=function(e){Ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(n){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new _Ve(Tt(this.getData,this),Tt(this.getRawData,this)),this._defaultLabelLine(n)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return bVe(this,{coordDimensions:["value"],encodeDefaulter:dn(eNe,this)})},t.prototype.getDataParams=function(n){var r=this.getData(),a=wVe(r),o=a.seats;if(!o){var i=[];r.each(r.mapDimension("value"),function(l){i.push(l)}),o=a.seats=RG(i,r.hostModel.get("percentPrecision"))}var s=e.prototype.getDataParams.call(this,n);return s.percent=o[n]||0,s.$vars.push("percent"),s},t.prototype._defaultLabelLine=function(n){Ok(n,"labelLine",["show"]);var r=n.labelLine,a=n.emphasis.labelLine;r.show=r.show&&n.label.show,a.show=a.show&&n.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},t}(Ha);function CVe(e){return{seriesType:e,reset:function(t,n){var r=t.getData();r.filterSelf(function(a){var o=r.mapDimension("value"),i=r.get(o,a);return!(Cn(i)&&!isNaN(i)&&i<0)})}}}function TVe(e){e.registerChartView(yVe),e.registerSeriesModel(SVe),B7e("pie",e.registerAction),e.registerLayout(dn(dVe,"pie")),e.registerProcessor(hVe("pie")),e.registerProcessor(CVe("pie"))}var xVe=function(e){Ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},t}(ln),iA=function(e){Ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",kr).models[0]},t.type="cartesian2dAxis",t}(ln);io(iA,qO);var zX={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},EVe=qt({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},zX),JO=qt({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},zX),kVe=qt({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},JO),AVe=Ut({logBase:10},JO);const MVe={category:EVe,value:JO,time:kVe,log:AVe};var OVe={value:1,category:1,time:1,log:1};function f_(e,t,n,r){re(OVe,function(a,o){var i=qt(qt({},MVe[o],!0),r,!0),s=function(l){Ye(u,l);function u(){var c=l!==null&&l.apply(this,arguments)||this;return c.type=t+"Axis."+o,c}return u.prototype.mergeDefaultAndTheme=function(c,f){var h=Hg(this),d=h?t0(c):{},p=f.getTheme();qt(c,p.get(o+"Axis")),qt(c,this.getDefaultOption()),c.type=pN(c),h&&hf(c,d,h)},u.prototype.optionUpdated=function(){var c=this.option;c.type==="category"&&(this.__ordinalMeta=tA.createByAxisModel(this))},u.prototype.getCategories=function(c){var f=this.option;if(f.type==="category")return c?f.data:this.__ordinalMeta.categories},u.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},u.type=t+"Axis."+o,u.defaultOption=i,u}(n);e.registerComponentModel(s)}),e.registerSubTypeDefaulter(t+"Axis",pN)}function pN(e){return e.type||(e.data?"category":"value")}var PVe=function(){function e(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return e.prototype.getAxis=function(t){return this._axes[t]},e.prototype.getAxes=function(){return lt(this._dimList,function(t){return this._axes[t]},this)},e.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),Un(this.getAxes(),function(n){return n.scale.type===t})},e.prototype.addAxis=function(t){var n=t.dim;this._axes[n]=t,this._dimList.push(n)},e}(),sA=["x","y"];function vN(e){return e.type==="interval"||e.type==="time"}var RVe=function(e){Ye(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="cartesian2d",n.dimensions=sA,n}return t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var n=this.getAxis("x").scale,r=this.getAxis("y").scale;if(!(!vN(n)||!vN(r))){var a=n.getExtent(),o=r.getExtent(),i=this.dataToPoint([a[0],o[0]]),s=this.dataToPoint([a[1],o[1]]),l=a[1]-a[0],u=o[1]-o[0];if(!(!l||!u)){var c=(s[0]-i[0])/l,f=(s[1]-i[1])/u,h=i[0]-a[0]*c,d=i[1]-o[0]*f,p=this._transform=[c,0,0,f,h,d];this._invTransform=Jh([],p)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(n){var r=this.getAxis("x"),a=this.getAxis("y");return r.contain(r.toLocalCoord(n[0]))&&a.contain(a.toLocalCoord(n[1]))},t.prototype.containData=function(n){return this.getAxis("x").containData(n[0])&&this.getAxis("y").containData(n[1])},t.prototype.containZone=function(n,r){var a=this.dataToPoint(n),o=this.dataToPoint(r),i=this.getArea(),s=new mn(a[0],a[1],o[0]-a[0],o[1]-a[1]);return i.intersect(s)},t.prototype.dataToPoint=function(n,r,a){a=a||[];var o=n[0],i=n[1];if(this._transform&&o!=null&&isFinite(o)&&i!=null&&isFinite(i))return va(a,n,this._transform);var s=this.getAxis("x"),l=this.getAxis("y");return a[0]=s.toGlobalCoord(s.dataToCoord(o,r)),a[1]=l.toGlobalCoord(l.dataToCoord(i,r)),a},t.prototype.clampData=function(n,r){var a=this.getAxis("x").scale,o=this.getAxis("y").scale,i=a.getExtent(),s=o.getExtent(),l=a.parse(n[0]),u=o.parse(n[1]);return r=r||[],r[0]=Math.min(Math.max(Math.min(i[0],i[1]),l),Math.max(i[0],i[1])),r[1]=Math.min(Math.max(Math.min(s[0],s[1]),u),Math.max(s[0],s[1])),r},t.prototype.pointToData=function(n,r){var a=[];if(this._invTransform)return va(a,n,this._invTransform);var o=this.getAxis("x"),i=this.getAxis("y");return a[0]=o.coordToData(o.toLocalCoord(n[0]),r),a[1]=i.coordToData(i.toLocalCoord(n[1]),r),a},t.prototype.getOtherAxis=function(n){return this.getAxis(n.dim==="x"?"y":"x")},t.prototype.getArea=function(n){n=n||0;var r=this.getAxis("x").getGlobalExtent(),a=this.getAxis("y").getGlobalExtent(),o=Math.min(r[0],r[1])-n,i=Math.min(a[0],a[1])-n,s=Math.max(r[0],r[1])-o+n,l=Math.max(a[0],a[1])-i+n;return new mn(o,i,s,l)},t}(PVe),IVe=function(e){Ye(t,e);function t(n,r,a,o,i){var s=e.call(this,n,r,a)||this;return s.index=0,s.type=o||"value",s.position=i||"bottom",s}return t.prototype.isHorizontal=function(){var n=this.position;return n==="top"||n==="bottom"},t.prototype.getGlobalExtent=function(n){var r=this.getExtent();return r[0]=this.toGlobalCoord(r[0]),r[1]=this.toGlobalCoord(r[1]),n&&r[0]>r[1]&&r.reverse(),r},t.prototype.pointToData=function(n,r){return this.coordToData(this.toLocalCoord(n[this.dim==="x"?0:1]),r)},t.prototype.setCategorySortInfo=function(n){if(this.type!=="category")return!1;this.model.option.categorySortInfo=n,this.scale.setSortInfo(n)},t}(Cu);function lA(e,t,n){n=n||{};var r=e.coordinateSystem,a=t.axis,o={},i=a.getAxesOnZeroOf()[0],s=a.position,l=i?"onZero":s,u=a.dim,c=r.getRect(),f=[c.x,c.x+c.width,c.y,c.y+c.height],h={left:0,right:1,top:0,bottom:1,onZero:2},d=t.get("offset")||0,p=u==="x"?[f[2]-d,f[3]+d]:[f[0]-d,f[1]+d];if(i){var v=i.toGlobalCoord(i.dataToCoord(0));p[h.onZero]=Math.max(Math.min(v,p[1]),p[0])}o.position=[u==="y"?p[h[l]]:f[0],u==="x"?p[h[l]]:f[3]],o.rotation=Math.PI/2*(u==="x"?0:1);var g={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=g[s],o.labelOffset=i?p[h[s]]-p[h.onZero]:0,t.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),cf(n.labelInside,t.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var m=t.get(["axisLabel","rotate"]);return o.labelRotate=l==="top"?-m:m,o.z2=1,o}function gN(e){return e.get("coordinateSystem")==="cartesian2d"}function mN(e){var t={xAxisModel:null,yAxisModel:null};return re(t,function(n,r){var a=r.replace(/Model$/,""),o=e.getReferringComponents(a,kr).models[0];t[r]=o}),t}var kT=Math.log;function DVe(e,t,n){var r=rp.prototype,a=r.getTicks.call(n),o=r.getTicks.call(n,!0),i=a.length-1,s=r.getInterval.call(n),l=dX(e,t),u=l.extent,c=l.fixMin,f=l.fixMax;if(e.type==="log"){var h=kT(e.base);u=[kT(u[0])/h,kT(u[1])/h]}e.setExtent(u[0],u[1]),e.calcNiceExtent({splitNumber:i,fixMin:c,fixMax:f});var d=r.getExtent.call(e);c&&(u[0]=d[0]),f&&(u[1]=d[1]);var p=r.getInterval.call(e),v=u[0],g=u[1];if(c&&f)p=(g-v)/i;else if(c)for(g=u[0]+p*i;gu[0]&&isFinite(v)&&isFinite(u[0]);)p=yT(p),v=u[1]-p*i;else{var m=e.getTicks().length-1;m>i&&(p=yT(p));var w=p*i;g=Math.ceil(u[1]/p)*p,v=tr(g-w),v<0&&u[0]>=0?(v=0,g=tr(w)):g>0&&u[1]<=0&&(g=0,v=-tr(w))}var _=(a[0].value-o[0].value)/s,b=(a[i].value-o[i].value)/s;r.setExtent.call(e,v+p*_,g+p*b),r.setInterval.call(e,p),(_||b)&&r.setNiceExtent.call(e,v+p,g-p)}var LVe=function(){function e(t,n,r){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=sA,this._initCartesian(t,n,r),this.model=t}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(t,n){var r=this._axesMap;this._updateScale(t,this.model);function a(i){var s,l=nn(i),u=l.length;if(u){for(var c=[],f=u-1;f>=0;f--){var h=+l[f],d=i[h],p=d.model,v=d.scale;nA(v)&&p.get("alignTicks")&&p.get("interval")==null?c.push(d):(Gg(v,p),nA(v)&&(s=d))}c.length&&(s||(s=c.pop(),Gg(s.scale,s.model)),re(c,function(g){DVe(g.scale,g.model,s.scale)}))}}a(r.x),a(r.y);var o={};re(r.x,function(i){yN(r,"y",i,o)}),re(r.y,function(i){yN(r,"x",i,o)}),this.resize(this.model,n)},e.prototype.resize=function(t,n,r){var a=t.getBoxLayoutParams(),o=!r&&t.get("containLabel"),i=wi(a,{width:n.getWidth(),height:n.getHeight()});this._rect=i;var s=this._axesList;l(),o&&(re(s,function(u){if(!u.model.get(["axisLabel","inside"])){var c=$Be(u);if(c){var f=u.isHorizontal()?"height":"width",h=u.model.get(["axisLabel","margin"]);i[f]-=c[f]+h,u.position==="top"?i.y+=c.height+h:u.position==="left"&&(i.x+=c.width+h)}}}),l()),re(this._coordsList,function(u){u.calcAffineTransform()});function l(){re(s,function(u){var c=u.isHorizontal(),f=c?[0,i.width]:[0,i.height],h=u.inverse?1:0;u.setExtent(f[h],f[1-h]),$Ve(u,c?i.x:i.y)})}},e.prototype.getAxis=function(t,n){var r=this._axesMap[t];if(r!=null)return r[n||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(t,n){if(t!=null&&n!=null){var r="x"+t+"y"+n;return this._coordsMap[r]}xt(t)&&(n=t.yAxisIndex,t=t.xAxisIndex);for(var a=0,o=this._coordsList;a0?"top":"bottom",o="center"):Dg(a-Hl)?(i=r>0?"bottom":"top",o="center"):(i="middle",a>0&&a0?"right":"left":o=r>0?"left":"right"),{rotation:a,textAlign:o,textVerticalAlign:i}},e.makeAxisEventDataBase=function(t){var n={componentType:t.mainType,componentIndex:t.componentIndex};return n[t.mainType+"Index"]=t.componentIndex,n},e.isLabelSilent=function(t){var n=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||n&&n.show)},e}(),_N={axisLine:function(e,t,n,r){var a=t.get(["axisLine","show"]);if(a==="auto"&&e.handleAutoShown&&(a=e.handleAutoShown("axisLine")),!!a){var o=t.axis.getExtent(),i=r.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];i&&(va(s,s,i),va(l,l,i));var c=Qe({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),f=new Ja({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:c,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});Vg(f.shape,f.style.lineWidth),f.anid="line",n.add(f);var h=t.get(["axisLine","symbol"]);if(h!=null){var d=t.get(["axisLine","symbolSize"]);yt(h)&&(h=[h,h]),(yt(d)||Cn(d))&&(d=[d,d]);var p=CY(t.get(["axisLine","symbolOffset"])||0,d),v=d[0],g=d[1];re([{rotate:e.rotation+Math.PI/2,offset:p[0],r:0},{rotate:e.rotation-Math.PI/2,offset:p[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],function(m,w){if(h[w]!=="none"&&h[w]!=null){var _=No(h[w],-v/2,-g/2,v,g,c.stroke,!0),b=m.r+m.offset,S=u?l:s;_.attr({rotation:m.rotate,x:S[0]+b*Math.cos(e.rotation),y:S[1]-b*Math.sin(e.rotation),silent:!0,z2:11}),n.add(_)}})}}},axisTickLabel:function(e,t,n,r){var a=FVe(n,r,t,e),o=zVe(n,r,t,e);if(BVe(t,o,a),VVe(n,r,t,e.tickDirection),t.get(["axisLabel","hideOverlap"])){var i=TFe(lt(o,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}}));EFe(i)}},axisName:function(e,t,n,r){var a=cf(e.axisName,t.get("name"));if(a){var o=t.get("nameLocation"),i=e.nameDirection,s=t.getModel("nameTextStyle"),l=t.get("nameGap")||0,u=t.axis.getExtent(),c=u[0]>u[1]?-1:1,f=[o==="start"?u[0]-c*l:o==="end"?u[1]+c*l:(u[0]+u[1])/2,SN(o)?e.labelOffset+i*l:0],h,d=t.get("nameRotate");d!=null&&(d=d*Hl/180);var p;SN(o)?h=ko.innerTextLayout(e.rotation,d!=null?d:e.rotation,i):(h=NVe(e.rotation,o,d||0,u),p=e.axisNameAvailableWidth,p!=null&&(p=Math.abs(p/Math.sin(h.rotation)),!isFinite(p)&&(p=null)));var v=s.getFont(),g=t.get("nameTruncate",!0)||{},m=g.ellipsis,w=cf(e.nameTruncateMaxWidth,g.maxWidth,p),_=new Tn({x:f[0],y:f[1],rotation:h.rotation,silent:ko.isLabelSilent(t),style:ma(s,{text:a,font:v,overflow:"truncate",width:w,ellipsis:m,fill:s.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:s.get("align")||h.textAlign,verticalAlign:s.get("verticalAlign")||h.textVerticalAlign}),z2:1});if(ep({el:_,componentModel:t,itemName:a}),_.__fullText=a,_.anid="name",t.get("triggerEvent")){var b=ko.makeAxisEventDataBase(t);b.targetType="axisName",b.name=a,on(_).eventData=b}r.add(_),_.updateTransform(),n.add(_),_.decomposeTransform()}}};function NVe(e,t,n,r){var a=VM(n-e),o,i,s=r[0]>r[1],l=t==="start"&&!s||t!=="start"&&s;return Dg(a-Hl/2)?(i=l?"bottom":"top",o="center"):Dg(a-Hl*1.5)?(i=l?"top":"bottom",o="center"):(i="middle",aHl/2?o=l?"left":"right":o=l?"right":"left"),{rotation:a,textAlign:o,textVerticalAlign:i}}function BVe(e,t,n){if(!hX(e.axis)){var r=e.get(["axisLabel","showMinLabel"]),a=e.get(["axisLabel","showMaxLabel"]);t=t||[],n=n||[];var o=t[0],i=t[1],s=t[t.length-1],l=t[t.length-2],u=n[0],c=n[1],f=n[n.length-1],h=n[n.length-2];r===!1?(co(o),co(u)):wN(o,i)&&(r?(co(i),co(c)):(co(o),co(u))),a===!1?(co(s),co(f)):wN(l,s)&&(a?(co(l),co(h)):(co(s),co(f)))}}function co(e){e&&(e.ignore=!0)}function wN(e,t){var n=e&&e.getBoundingRect().clone(),r=t&&t.getBoundingRect().clone();if(!(!n||!r)){var a=zm([]);return Hm(a,a,-e.rotation),n.applyTransform(Xl([],a,e.getLocalTransform())),r.applyTransform(Xl([],a,t.getLocalTransform())),n.intersect(r)}}function SN(e){return e==="middle"||e==="center"}function HX(e,t,n,r,a){for(var o=[],i=[],s=[],l=0;l=0||e===t}function GVe(e){var t=QO(e);if(t){var n=t.axisPointerModel,r=t.axis.scale,a=n.option,o=n.get("status"),i=n.get("value");i!=null&&(i=r.parse(i));var s=uA(n);o==null&&(a.status=s?"show":"hide");var l=r.getExtent().slice();l[0]>l[1]&&l.reverse(),(i==null||i>l[1])&&(i=l[1]),i3?1.4:i>1?1.2:1.1,c=o>0?u:1/u;OT(this,"zoom","zoomOnMouseWheel",n,{scale:c,originX:s,originY:l,isAvailableBehavior:null})}if(a){var f=Math.abs(o),h=(o>0?1:-1)*(f>3?.4:f>1?.15:.05);OT(this,"scrollMove","moveOnMouseWheel",n,{scrollDelta:h,originX:s,originY:l,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(n){if(!EN(this._zr,"globalPan")){var r=n.pinchScale>1?1.1:1/1.1;OT(this,"zoom",null,n,{scale:r,originX:n.pinchX,originY:n.pinchY,isAvailableBehavior:null})}},t}(zo);function OT(e,t,n,r,a){e.pointerChecker&&e.pointerChecker(r,a.originX,a.originY)&&(Ys(r.event),jX(e,t,n,r,a))}function jX(e,t,n,r,a){a.isAvailableBehavior=Tt(M1,null,n,r),e.trigger(t,a)}function M1(e,t,n){var r=n[e];return!e||r&&(!yt(r)||t.event[r+"Key"])}var ize={axisPointer:1,tooltip:1,brush:1};function sze(e,t,n){var r=t.getComponentByElement(e.topTarget),a=r&&r.coordinateSystem;return r&&r!==n&&!ize.hasOwnProperty(r.mainType)&&a&&a.model!==n}var Xg=re,lze=xt,d_=-1,Or=function(){function e(t){var n=t.mappingMethod,r=t.type,a=this.option=Pt(t);this.type=r,this.mappingMethod=n,this._normalizeData=fze[n];var o=e.visualHandlers[r];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],n==="piecewise"?(PT(a),uze(a)):n==="category"?a.categories?cze(a):PT(a,!0):(Va(n!=="linear"||a.dataExtent),PT(a))}return e.prototype.mapValueToVisual=function(t){var n=this._normalizeData(t);return this._normalizedToVisual(n,t)},e.prototype.getNormalizer=function(){return Tt(this._normalizeData,this)},e.listVisualTypes=function(){return nn(e.visualHandlers)},e.isValidType=function(t){return e.visualHandlers.hasOwnProperty(t)},e.eachVisual=function(t,n,r){xt(t)?re(t,n,r):n.call(r,t)},e.mapVisual=function(t,n,r){var a,o=ot(t)?[]:xt(t)?{}:(a=!0,null);return e.eachVisual(t,function(i,s){var l=n.call(r,i,s);a?o=l:o[s]=l}),o},e.retrieveVisuals=function(t){var n={},r;return t&&Xg(e.visualHandlers,function(a,o){t.hasOwnProperty(o)&&(n[o]=t[o],r=!0)}),r?n:null},e.prepareVisualTypes=function(t){if(ot(t))t=t.slice();else if(lze(t)){var n=[];Xg(t,function(r,a){n.push(a)}),t=n}else return[];return t.sort(function(r,a){return a==="color"&&r!=="color"&&r.indexOf("color")===0?1:-1}),t},e.dependsOn=function(t,n){return n==="color"?!!(t&&t.indexOf(n)===0):t===n},e.findPieceIndex=function(t,n,r){for(var a,o=1/0,i=0,s=n.length;i=0;o--)r[o]==null&&(delete n[t[o]],t.pop())}function PT(e,t){var n=e.visual,r=[];xt(n)?Xg(n,function(o){r.push(o)}):n!=null&&r.push(n);var a={color:1,symbol:1};!t&&r.length===1&&!a.hasOwnProperty(e.type)&&(r[1]=r[0]),KX(e,r)}function wy(e){return{applyVisual:function(t,n,r){var a=this.mapValueToVisual(t);r("color",e(n("color"),a))},_normalizedToVisual:fA([0,1])}}function kN(e){var t=this.option.visual;return t[Math.round(Hn(e,[0,1],[0,t.length-1],!0))]||{}}function Bp(e){return function(t,n,r){r(e,this.mapValueToVisual(t))}}function ov(e){var t=this.option.visual;return t[this.option.loop&&e!==d_?e%t.length:e]}function oc(){return this.option.visual[0]}function fA(e){return{linear:function(t){return Hn(t,e,this.option.visual,!0)},category:ov,piecewise:function(t,n){var r=dA.call(this,n);return r==null&&(r=Hn(t,e,this.option.visual,!0)),r},fixed:oc}}function dA(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var r=Or.findPieceIndex(e,n),a=n[r];if(a&&a.visual)return a.visual[this.type]}}function KX(e,t){return e.visual=t,e.type==="color"&&(e.parsedVisual=lt(t,function(n){var r=ga(n);return r||[0,0,0,1]})),t}var fze={linear:function(e){return Hn(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,n=Or.findPieceIndex(e,t,!0);if(n!=null)return Hn(n,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return t==null?d_:t},fixed:Tr};function Sy(e,t,n){return e?t<=n:to&&(t[1-r]=t[r]+f.sign*o),t}function RT(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function Qf(e,t){return Math.min(t[1]!=null?t[1]:1/0,Math.max(t[0]!=null?t[0]:-1/0,e))}var pf=!0,Zg=Math.min,Ch=Math.max,dze=Math.pow,hze=1e4,pze=6,vze=6,AN="globalPan",gze={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},mze={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},MN={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},yze=0,bze=function(e){Ye(t,e);function t(n){var r=e.call(this)||this;return r._track=[],r._covers=[],r._handlers={},r._zr=n,r.group=new Rn,r._uid="brushController_"+yze++,re(Eze,function(a,o){this._handlers[o]=Tt(a,this)},r),r}return t.prototype.enableBrush=function(n){return this._brushType&&this._doDisableBrush(),n.brushType&&this._doEnableBrush(n),this},t.prototype._doEnableBrush=function(n){var r=this._zr;this._enableGlobalPan||rze(r,AN,this._uid),re(this._handlers,function(a,o){r.on(o,a)}),this._brushType=n.brushType,this._brushOption=qt(Pt(MN),n,!0)},t.prototype._doDisableBrush=function(){var n=this._zr;aze(n,AN,this._uid),re(this._handlers,function(r,a){n.off(a,r)}),this._brushType=this._brushOption=null},t.prototype.setPanels=function(n){if(n&&n.length){var r=this._panels={};re(n,function(a){r[a.panelId]=Pt(a)})}else this._panels=null;return this},t.prototype.mount=function(n){n=n||{},this._enableGlobalPan=n.enableGlobalPan;var r=this.group;return this._zr.add(r),r.attr({x:n.x||0,y:n.y||0,rotation:n.rotation||0,scaleX:n.scaleX||1,scaleY:n.scaleY||1}),this._transform=r.getLocalTransform(),this},t.prototype.updateCovers=function(n){n=lt(n,function(h){return qt(Pt(MN),h,!0)});var r="\0-brush-index-",a=this._covers,o=this._covers=[],i=this,s=this._creatingCover;return new BO(a,n,u,l).add(c).update(c).remove(f).execute(),this;function l(h,d){return(h.id!=null?h.id:r+d)+"-"+h.brushType}function u(h,d){return l(h.__brushOption,d)}function c(h,d){var p=n[h];if(d!=null&&a[d]===s)o[h]=a[d];else{var v=o[h]=d!=null?(a[d].__brushOption=p,a[d]):qX(i,GX(i,p));tP(i,v)}}function f(h){a[h]!==s&&i.group.remove(a[h])}},t.prototype.unmount=function(){return this.enableBrush(!1),hA(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t}(zo);function GX(e,t){var n=pS[t.brushType].createCover(e,t);return n.__brushOption=t,XX(n,t),e.group.add(n),n}function qX(e,t){var n=nP(t);return n.endCreating&&(n.endCreating(e,t),XX(t,t.__brushOption)),t}function YX(e,t){var n=t.__brushOption;nP(t).updateCoverShape(e,t,n.range,n)}function XX(e,t){var n=t.z;n==null&&(n=hze),e.traverse(function(r){r.z=n,r.z2=n})}function tP(e,t){nP(t).updateCommon(e,t),YX(e,t)}function nP(e){return pS[e.__brushOption.brushType]}function rP(e,t,n){var r=e._panels;if(!r)return pf;var a,o=e._transform;return re(r,function(i){i.isTargetByCursor(t,n,o)&&(a=i)}),a}function ZX(e,t){var n=e._panels;if(!n)return pf;var r=t.__brushOption.panelId;return r!=null?n[r]:pf}function hA(e){var t=e._covers,n=t.length;return re(t,function(r){e.group.remove(r)},e),t.length=0,!!n}function vf(e,t){var n=lt(e._covers,function(r){var a=r.__brushOption,o=Pt(a.range);return{brushType:a.brushType,panelId:a.panelId,range:o}});e.trigger("brush",{areas:n,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function _ze(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],r=t[0],a=n[0]-r[0],o=n[1]-r[1],i=dze(a*a+o*o,.5);return i>pze}function JX(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function QX(e,t,n,r){var a=new Rn;return a.add(new Pn({name:"main",style:aP(n),silent:!0,draggable:!0,cursor:"move",drift:dn(ON,e,t,a,["n","s","w","e"]),ondragend:dn(vf,t,{isEnd:!0})})),re(r,function(o){a.add(new Pn({name:o.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:dn(ON,e,t,a,o),ondragend:dn(vf,t,{isEnd:!0})}))}),a}function eZ(e,t,n,r){var a=r.brushStyle.lineWidth||0,o=Ch(a,vze),i=n[0][0],s=n[1][0],l=i-a/2,u=s-a/2,c=n[0][1],f=n[1][1],h=c-o+a/2,d=f-o+a/2,p=c-i,v=f-s,g=p+a,m=v+a;Ms(e,t,"main",i,s,p,v),r.transformable&&(Ms(e,t,"w",l,u,o,m),Ms(e,t,"e",h,u,o,m),Ms(e,t,"n",l,u,g,o),Ms(e,t,"s",l,d,g,o),Ms(e,t,"nw",l,u,o,o),Ms(e,t,"ne",h,u,o,o),Ms(e,t,"sw",l,d,o,o),Ms(e,t,"se",h,d,o,o))}function pA(e,t){var n=t.__brushOption,r=n.transformable,a=t.childAt(0);a.useStyle(aP(n)),a.attr({silent:!r,cursor:r?"move":"default"}),re([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(o){var i=t.childOfName(o.join("")),s=o.length===1?vA(e,o[0]):Sze(e,o);i&&i.attr({silent:!r,invisible:!r,cursor:r?mze[s]+"-resize":null})})}function Ms(e,t,n,r,a,o,i){var s=t.childOfName(n);s&&s.setShape(Tze(oP(e,t,[[r,a],[r+o,a+i]])))}function aP(e){return Ut({strokeNoScale:!0},e.brushStyle)}function tZ(e,t,n,r){var a=[Zg(e,n),Zg(t,r)],o=[Ch(e,n),Ch(t,r)];return[[a[0],o[0]],[a[1],o[1]]]}function wze(e){return Jl(e.group)}function vA(e,t){var n={w:"left",e:"right",n:"top",s:"bottom"},r={left:"w",right:"e",top:"n",bottom:"s"},a=Xw(n[t],wze(e));return r[a]}function Sze(e,t){var n=[vA(e,t[0]),vA(e,t[1])];return(n[0]==="e"||n[0]==="w")&&n.reverse(),n.join("")}function ON(e,t,n,r,a,o){var i=n.__brushOption,s=e.toRectRange(i.range),l=nZ(t,a,o);re(r,function(u){var c=gze[u];s[c[0]][c[1]]+=l[c[0]]}),i.range=e.fromRectRange(tZ(s[0][0],s[1][0],s[0][1],s[1][1])),tP(t,n),vf(t,{isEnd:!1})}function Cze(e,t,n,r){var a=t.__brushOption.range,o=nZ(e,n,r);re(a,function(i){i[0]+=o[0],i[1]+=o[1]}),tP(e,t),vf(e,{isEnd:!1})}function nZ(e,t,n){var r=e.group,a=r.transformCoordToLocal(t,n),o=r.transformCoordToLocal(0,0);return[a[0]-o[0],a[1]-o[1]]}function oP(e,t,n){var r=ZX(e,t);return r&&r!==pf?r.clipPath(n,e._transform):Pt(n)}function Tze(e){var t=Zg(e[0][0],e[1][0]),n=Zg(e[0][1],e[1][1]),r=Ch(e[0][0],e[1][0]),a=Ch(e[0][1],e[1][1]);return{x:t,y:n,width:r-t,height:a-n}}function xze(e,t,n){if(!(!e._brushType||kze(e,t.offsetX,t.offsetY))){var r=e._zr,a=e._covers,o=rP(e,t,n);if(!e._dragging)for(var i=0;ir.getWidth()||n<0||n>r.getHeight()}var pS={lineX:IN(0),lineY:IN(1),rect:{createCover:function(e,t){function n(r){return r}return QX({toRectRange:n,fromRectRange:n},e,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(e){var t=JX(e);return tZ(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,r){eZ(e,t,n,r)},updateCommon:pA,contain:mA},polygon:{createCover:function(e,t){var n=new Rn;return n.add(new wu({name:"main",style:aP(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new xf({name:"main",draggable:!0,drift:dn(Cze,e,t),ondragend:dn(vf,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,r){t.childAt(0).setShape({points:oP(e,t,n)})},updateCommon:pA,contain:mA}};function IN(e){return{createCover:function(t,n){return QX({toRectRange:function(r){var a=[r,[0,100]];return e&&a.reverse(),a},fromRectRange:function(r){return r[e]}},t,n,[[["w"],["e"]],[["n"],["s"]]][e])},getCreatingRange:function(t){var n=JX(t),r=Zg(n[0][e],n[1][e]),a=Ch(n[0][e],n[1][e]);return[r,a]},updateCoverShape:function(t,n,r,a){var o,i=ZX(t,n);if(i!==pf&&i.getLinearBrushOtherExtent)o=i.getLinearBrushOtherExtent(e);else{var s=t._zr;o=[0,[s.getWidth(),s.getHeight()][1-e]]}var l=[r,o];e&&l.reverse(),eZ(t,n,l,a)},updateCommon:pA,contain:mA}}function Aze(e){return e=iP(e),function(t){return oO(t,e)}}function Mze(e,t){return e=iP(e),function(n){var r=t!=null?t:n,a=r?e.width:e.height,o=r?e.x:e.y;return[o,o+(a||0)]}}function Oze(e,t,n){var r=iP(e);return function(a,o){return r.contain(o[0],o[1])&&!sze(a,t,n)}}function iP(e){return mn.create(e)}function Pze(e,t,n,r){return e&&(e.legacy||e.legacy!==!1&&!n&&!r&&t!=="tspan"&&(t==="text"||mt(e,"text")))}function Rze(e,t,n){var r=e,a,o,i;if(t==="text")i=r;else{i={},mt(r,"text")&&(i.text=r.text),mt(r,"rich")&&(i.rich=r.rich),mt(r,"textFill")&&(i.fill=r.textFill),mt(r,"textStroke")&&(i.stroke=r.textStroke),mt(r,"fontFamily")&&(i.fontFamily=r.fontFamily),mt(r,"fontSize")&&(i.fontSize=r.fontSize),mt(r,"fontStyle")&&(i.fontStyle=r.fontStyle),mt(r,"fontWeight")&&(i.fontWeight=r.fontWeight),o={type:"text",style:i,silent:!0},a={};var s=mt(r,"textPosition");n?a.position=s?r.textPosition:"inside":s&&(a.position=r.textPosition),mt(r,"textPosition")&&(a.position=r.textPosition),mt(r,"textOffset")&&(a.offset=r.textOffset),mt(r,"textRotation")&&(a.rotation=r.textRotation),mt(r,"textDistance")&&(a.distance=r.textDistance)}return DN(i,e),re(i.rich,function(l){DN(l,l)}),{textConfig:a,textContent:o}}function DN(e,t){t&&(t.font=t.textFont||t.font,mt(t,"textStrokeWidth")&&(e.lineWidth=t.textStrokeWidth),mt(t,"textAlign")&&(e.align=t.textAlign),mt(t,"textVerticalAlign")&&(e.verticalAlign=t.textVerticalAlign),mt(t,"textLineHeight")&&(e.lineHeight=t.textLineHeight),mt(t,"textWidth")&&(e.width=t.textWidth),mt(t,"textHeight")&&(e.height=t.textHeight),mt(t,"textBackgroundColor")&&(e.backgroundColor=t.textBackgroundColor),mt(t,"textPadding")&&(e.padding=t.textPadding),mt(t,"textBorderColor")&&(e.borderColor=t.textBorderColor),mt(t,"textBorderWidth")&&(e.borderWidth=t.textBorderWidth),mt(t,"textBorderRadius")&&(e.borderRadius=t.textBorderRadius),mt(t,"textBoxShadowColor")&&(e.shadowColor=t.textBoxShadowColor),mt(t,"textBoxShadowBlur")&&(e.shadowBlur=t.textBoxShadowBlur),mt(t,"textBoxShadowOffsetX")&&(e.shadowOffsetX=t.textBoxShadowOffsetX),mt(t,"textBoxShadowOffsetY")&&(e.shadowOffsetY=t.textBoxShadowOffsetY))}function $Xe(e,t,n){var r=e;r.textPosition=r.textPosition||n.position||"inside",n.offset!=null&&(r.textOffset=n.offset),n.rotation!=null&&(r.textRotation=n.rotation),n.distance!=null&&(r.textDistance=n.distance);var a=r.textPosition.indexOf("inside")>=0,o=e.fill||"#000";LN(r,t);var i=r.textFill==null;return a?i&&(r.textFill=n.insideFill||"#fff",!r.textStroke&&n.insideStroke&&(r.textStroke=n.insideStroke),!r.textStroke&&(r.textStroke=o),r.textStrokeWidth==null&&(r.textStrokeWidth=2)):(i&&(r.textFill=e.fill||n.outsideFill||"#000"),!r.textStroke&&n.outsideStroke&&(r.textStroke=n.outsideStroke)),r.text=t.text,r.rich=t.rich,re(t.rich,function(s){LN(s,s)}),r}function LN(e,t){t&&(mt(t,"fill")&&(e.textFill=t.fill),mt(t,"stroke")&&(e.textStroke=t.fill),mt(t,"lineWidth")&&(e.textStrokeWidth=t.lineWidth),mt(t,"font")&&(e.font=t.font),mt(t,"fontStyle")&&(e.fontStyle=t.fontStyle),mt(t,"fontWeight")&&(e.fontWeight=t.fontWeight),mt(t,"fontSize")&&(e.fontSize=t.fontSize),mt(t,"fontFamily")&&(e.fontFamily=t.fontFamily),mt(t,"align")&&(e.textAlign=t.align),mt(t,"verticalAlign")&&(e.textVerticalAlign=t.verticalAlign),mt(t,"lineHeight")&&(e.textLineHeight=t.lineHeight),mt(t,"width")&&(e.textWidth=t.width),mt(t,"height")&&(e.textHeight=t.height),mt(t,"backgroundColor")&&(e.textBackgroundColor=t.backgroundColor),mt(t,"padding")&&(e.textPadding=t.padding),mt(t,"borderColor")&&(e.textBorderColor=t.borderColor),mt(t,"borderWidth")&&(e.textBorderWidth=t.borderWidth),mt(t,"borderRadius")&&(e.textBorderRadius=t.borderRadius),mt(t,"shadowColor")&&(e.textBoxShadowColor=t.shadowColor),mt(t,"shadowBlur")&&(e.textBoxShadowBlur=t.shadowBlur),mt(t,"shadowOffsetX")&&(e.textBoxShadowOffsetX=t.shadowOffsetX),mt(t,"shadowOffsetY")&&(e.textBoxShadowOffsetY=t.shadowOffsetY),mt(t,"textShadowColor")&&(e.textShadowColor=t.textShadowColor),mt(t,"textShadowBlur")&&(e.textShadowBlur=t.textShadowBlur),mt(t,"textShadowOffsetX")&&(e.textShadowOffsetX=t.textShadowOffsetX),mt(t,"textShadowOffsetY")&&(e.textShadowOffsetY=t.textShadowOffsetY))}var aZ={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},$N=nn(aZ);_i(hs,function(e,t){return e[t]=1,e},{});hs.join(", ");var h_=["","style","shape","extra"],Th=Nn();function sP(e,t,n,r,a){var o=e+"Animation",i=JM(e,r,a)||{},s=Th(t).userDuring;return i.duration>0&&(i.during=s?Tt(Bze,{el:t,userDuring:s}):null,i.setToFinal=!0,i.scope=e),Qe(i,n[o]),i}function IT(e,t,n,r){r=r||{};var a=r.dataIndex,o=r.isInit,i=r.clearStyle,s=n.isAnimationEnabled(),l=Th(e),u=t.style;l.userDuring=t.during;var c={},f={};if(Vze(e,t,f),BN("shape",t,f),BN("extra",t,f),!o&&s&&(Fze(e,t,c),NN("shape",e,t,c),NN("extra",e,t,c),zze(e,t,u,c)),f.style=u,Dze(e,f,i),$ze(e,t),s)if(o){var h={};re(h_,function(p){var v=p?t[p]:t;v&&v.enterFrom&&(p&&(h[p]=h[p]||{}),Qe(p?h[p]:h,v.enterFrom))});var d=sP("enter",e,t,n,a);d.duration>0&&e.animateFrom(h,d)}else Lze(e,t,a||0,n,c);oZ(e,t),u?e.dirty():e.markRedraw()}function oZ(e,t){for(var n=Th(e).leaveToProps,r=0;r0&&e.animateFrom(a,o)}}function $ze(e,t){mt(t,"silent")&&(e.silent=t.silent),mt(t,"ignore")&&(e.ignore=t.ignore),e instanceof Tf&&mt(t,"invisible")&&(e.invisible=t.invisible),e instanceof wn&&mt(t,"autoBatch")&&(e.autoBatch=t.autoBatch)}var Wi={},Nze={setTransform:function(e,t){return Wi.el[e]=t,this},getTransform:function(e){return Wi.el[e]},setShape:function(e,t){var n=Wi.el,r=n.shape||(n.shape={});return r[e]=t,n.dirtyShape&&n.dirtyShape(),this},getShape:function(e){var t=Wi.el.shape;if(t)return t[e]},setStyle:function(e,t){var n=Wi.el,r=n.style;return r&&(r[e]=t,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(e){var t=Wi.el.style;if(t)return t[e]},setExtra:function(e,t){var n=Wi.el.extra||(Wi.el.extra={});return n[e]=t,this},getExtra:function(e){var t=Wi.el.extra;if(t)return t[e]}};function Bze(){var e=this,t=e.el;if(t){var n=Th(t).userDuring,r=e.userDuring;if(n!==r){e.el=e.userDuring=null;return}Wi.el=t,r(Nze)}}function NN(e,t,n,r){var a=n[e];if(a){var o=t[e],i;if(o){var s=n.transition,l=a.transition;if(l)if(!i&&(i=r[e]={}),jc(l))Qe(i,o);else for(var u=nr(l),c=0;c=0){!i&&(i=r[e]={});for(var d=nn(o),c=0;c=0)){var h=e.getAnimationStyleProps(),d=h?h.style:null;if(d){!o&&(o=r.style={});for(var p=nn(n),u=0;u=nc:-u>=nc),d=u>0?u%nc:u%nc+nc,p=!1;h?p=!0:Fl(f)?p=!1:p=d>=sZ==!!c;var v=t+r*LT(i),g=n+a*DT(i);this._start&&this._add("M",v,g);var m=Math.round(o*jze);if(h){var w=1/this._p,_=(c?1:-1)*(nc-w);this._add("A",r,a,m,1,+c,t+r*LT(i+_),n+a*DT(i+_)),w>.01&&this._add("A",r,a,m,0,+c,v,g)}else{var b=t+r*LT(s),S=n+a*DT(s);this._add("A",r,a,m,+p,+c,b,S)}},e.prototype.rect=function(t,n,r,a){this._add("M",t,n),this._add("l",r,0),this._add("l",0,a),this._add("l",-r,0),this._add("Z")},e.prototype.closePath=function(){this._d.length>0&&this._add("Z")},e.prototype._add=function(t,n,r,a,o,i,s,l,u){for(var c=[],f=this._p,h=1;h"}function eHe(e){return""}function uP(e,t){t=t||{};var n=t.newline?` +`:"";function r(a){var o=a.children,i=a.tag,s=a.attrs,l=a.text;return Qze(i,s)+(i!=="style"?Vr(l):l||"")+(o?""+n+lt(o,function(u){return r(u)}).join(n)+n:"")+eHe(i)}return r(e)}function tHe(e,t,n){n=n||{};var r=n.newline?` +`:"",a=" {"+r,o=r+"}",i=lt(nn(e),function(l){return l+a+lt(nn(e[l]),function(u){return u+":"+e[l][u]+";"}).join(r)+o}).join(r),s=lt(nn(t),function(l){return"@keyframes "+l+a+lt(nn(t[l]),function(u){return u+a+lt(nn(t[l][u]),function(c){var f=t[l][u][c];return c==="d"&&(f='path("'+f+'")'),c+":"+f+";"}).join(r)+o}).join(r)+o}).join(r);return!i&&!s?"":[""].join(r)}function _A(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function VN(e,t,n,r){return vr("svg","root",{width:e,height:t,xmlns:uZ,"xmlns:xlink":cZ,version:"1.1",baseProfile:"full",viewBox:r?"0 0 "+e+" "+t:!1},n)}var nHe=0;function dZ(){return nHe++}var zN={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},ic="transform-origin";function rHe(e,t,n){var r=Qe({},e.shape);Qe(r,t),e.buildPath(n,r);var a=new lZ;return a.reset(_G(e)),n.rebuildPath(a,1),a.generateStr(),a.getStr()}function aHe(e,t){var n=t.originX,r=t.originY;(n||r)&&(e[ic]=n+"px "+r+"px")}var oHe={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function hZ(e,t){var n=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[n]=e,n}function iHe(e,t,n){var r=e.shape.paths,a={},o,i;if(re(r,function(l){var u=_A(n.zrId);u.animation=!0,vS(l,{},u,!0);var c=u.cssAnims,f=u.cssNodes,h=nn(c),d=h.length;if(d){i=h[d-1];var p=c[i];for(var v in p){var g=p[v];a[v]=a[v]||{d:""},a[v].d+=g.d||""}for(var m in f){var w=f[m].animation;w.indexOf(i)>=0&&(o=w)}}}),!!o){t.d=!1;var s=hZ(a,n);return o.replace(i,s)}}function HN(e){return yt(e)?zN[e]?"cubic-bezier("+zN[e]+")":DM(e)?e:"":""}function vS(e,t,n,r){var a=e.animators,o=a.length,i=[];if(e instanceof ZM){var s=iHe(e,t,n);if(s)i.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u0}).length){var G=hZ(T,n);return G+" "+w[0]+" both"}}for(var g in l){var s=v(l[g]);s&&i.push(s)}if(i.length){var m=n.zrId+"-cls-"+dZ();n.cssNodes["."+m]={animation:i.join(",")},t.class=m}}function sHe(e,t,n){if(!e.ignore)if(e.isSilent()){var r={"pointer-events":"none"};WN(r,t,n)}else{var a=e.states.emphasis&&e.states.emphasis.style?e.states.emphasis.style:{},o=a.fill;if(!o){var i=e.style&&e.style.fill,s=e.states.select&&e.states.select.style&&e.states.select.style.fill,l=e.currentStates.indexOf("select")>=0&&s||i;l&&(o=Fb(l))}var u=a.lineWidth;if(u){var c=!a.strokeNoScale&&e.transform?e.transform[0]:1;u=u/c}var r={cursor:"pointer"};o&&(r.fill=o),a.stroke&&(r.stroke=a.stroke),u&&(r["stroke-width"]=u),WN(r,t,n)}}function WN(e,t,n,r){var a=JSON.stringify(e),o=n.cssStyleCache[a];o||(o=n.zrId+"-cls-"+dZ(),n.cssStyleCache[a]=o,n.cssNodes["."+o+":hover"]=e),t.class=t.class?t.class+" "+o:o}var Jg=Math.round;function pZ(e){return e&&yt(e.src)}function vZ(e){return e&&Lt(e.toDataURL)}function cP(e,t,n,r){Xze(function(a,o){var i=a==="fill"||a==="stroke";i&&bG(o)?mZ(t,e,a,r):i&&$M(o)?yZ(n,e,a,r):e[a]=o,i&&r.ssr&&o==="none"&&(e["pointer-events"]="visible")},t,n,!1),pHe(n,e,r)}function fP(e,t){var n=AG(t);n&&(n.each(function(r,a){r!=null&&(e[(FN+a).toLowerCase()]=r+"")}),t.isSilent()&&(e[FN+"silent"]="true"))}function UN(e){return Fl(e[0]-1)&&Fl(e[1])&&Fl(e[2])&&Fl(e[3]-1)}function lHe(e){return Fl(e[4])&&Fl(e[5])}function dP(e,t,n){if(t&&!(lHe(t)&&UN(t))){var r=1e4;e.transform=UN(t)?"translate("+Jg(t[4]*r)/r+" "+Jg(t[5]*r)/r+")":P4e(t)}}function jN(e,t,n){for(var r=e.points,a=[],o=0;oo?(p=n[l+1]==null?null:n[l+1].elm,wZ(e,p,n,a,l)):p_(e,t,r,o))}function fd(e,t){var n=t.elm=e.elm,r=e.children,a=t.children;e!==t&&(hP(e,t),wA(t.text)?Gi(r)&&Gi(a)?r!==a&&bHe(n,r,a):Gi(a)?(Gi(e.text)&&$T(n,""),wZ(n,null,a,0,a.length-1)):Gi(r)?p_(n,r,0,r.length-1):Gi(e.text)&&$T(n,""):e.text!==t.text&&(Gi(r)&&p_(n,r,0,r.length-1),$T(n,t.text)))}function _He(e,t){if(iv(e,t))fd(e,t);else{var n=e.elm,r=bZ(n);Qg(t),r!==null&&(fc(r,t.elm,_Z(n)),p_(r,[e],0,0))}return t}var wHe=0,SHe=function(){function e(t,n,r){if(this.type="svg",this.refreshHover=JN(),this.configLayer=JN(),this.storage=n,this._opts=r=Qe({},r),this.root=t,this._id="zr"+wHe++,this._oldVNode=VN(r.width,r.height),t&&!r.ssr){var a=this._viewport=document.createElement("div");a.style.cssText="position:relative;overflow:hidden";var o=this._svgDom=this._oldVNode.elm=fZ("svg");hP(null,this._oldVNode),a.appendChild(o),t.appendChild(a)}this.resize(r.width,r.height)}return e.prototype.getType=function(){return this.type},e.prototype.getViewportRoot=function(){return this._viewport},e.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},e.prototype.getSvgDom=function(){return this._svgDom},e.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",_He(this._oldVNode,t),this._oldVNode=t}},e.prototype.renderOneToVNode=function(t){return GN(t,_A(this._id))},e.prototype.renderToVNode=function(t){t=t||{};var n=this.storage.getDisplayList(!0),r=this._width,a=this._height,o=_A(this._id);o.animation=t.animation,o.willUpdate=t.willUpdate,o.compress=t.compress,o.emphasis=t.emphasis,o.ssr=this._opts.ssr;var i=[],s=this._bgVNode=CHe(r,a,this._backgroundColor,o);s&&i.push(s);var l=t.compress?null:this._mainVNode=vr("g","main",{},[]);this._paintList(n,o,l?l.children:i),l&&i.push(l);var u=lt(nn(o.defs),function(h){return o.defs[h]});if(u.length&&i.push(vr("defs","defs",{},u)),t.animation){var c=tHe(o.cssNodes,o.cssAnims,{newline:!0});if(c){var f=vr("style","stl",{},[],c);i.push(f)}}return VN(r,a,i,t.useViewBox)},e.prototype.renderToString=function(t){return t=t||{},uP(this.renderToVNode({animation:Ft(t.cssAnimation,!0),emphasis:Ft(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:Ft(t.useViewBox,!0)}),{newline:!0})},e.prototype.setBackgroundColor=function(t){this._backgroundColor=t},e.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},e.prototype._paintList=function(t,n,r){for(var a=t.length,o=[],i=0,s,l,u=0,c=0;c=0&&!(h&&l&&h[v]===l[v]);v--);for(var g=p-1;g>v;g--)i--,s=o[i-1];for(var m=v+1;m=s)}}for(var f=this.__startIndex;f15)break}}B.prevElClipPaths&&m.restore()};if(w)if(w.length===0)x=g.__endIndex;else for(var k=d.dpr,A=0;A0&&t>a[0]){for(l=0;lt);l++);s=r[a[l]]}if(a.splice(l+1,0,t),r[t]=n,!n.virtual)if(s){var u=s.dom;u.nextSibling?i.insertBefore(n.dom,u.nextSibling):i.appendChild(n.dom)}else i.firstChild?i.insertBefore(n.dom,i.firstChild):i.appendChild(n.dom);n.painter||(n.painter=this)}},e.prototype.eachLayer=function(t,n){for(var r=this._zlevelList,a=0;a0?Cy:0),this._needsManuallyCompositing),c.__builtin__||Dw("ZLevel "+u+" has been used by unkown layer "+c.id),c!==o&&(c.__used=!0,c.__startIndex!==l&&(c.__dirty=!0),c.__startIndex=l,c.incremental?c.__drawIndex=-1:c.__drawIndex=l,n(l),o=c),a.__dirty&Ya&&!a.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=l))}n(l),this.eachBuiltinLayer(function(f,h){!f.__used&&f.getElementCount()>0&&(f.__dirty=!0,f.__startIndex=f.__endIndex=f.__drawIndex=0),f.__dirty&&f.__drawIndex<0&&(f.__drawIndex=f.__startIndex)})},e.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},e.prototype._clearLayer=function(t){t.clear()},e.prototype.setBackgroundColor=function(t){this._backgroundColor=t,re(this._layers,function(n){n.setUnpainted()})},e.prototype.configLayer=function(t,n){if(n){var r=this._layerConfig;r[t]?qt(r[t],n,!0):r[t]=n;for(var a=0;as)return!0;if(i){var l=QO(t).seriesDataCount,u=a.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return r===!0},e.prototype.makeElOption=function(t,n,r,a,o){},e.prototype.createPointerEl=function(t,n,r,a){var o=n.pointer;if(o){var i=dc(t).pointerEl=new iO[o.type](t7(n.pointer));t.add(i)}},e.prototype.createLabelEl=function(t,n,r,a){if(n.label){var o=dc(t).labelEl=new Tn(t7(n.label));t.add(o),r7(o,a)}},e.prototype.updatePointerEl=function(t,n,r){var a=dc(t).pointerEl;a&&n.pointer&&(a.setStyle(n.pointer.style),r(a,{shape:n.pointer.shape}))},e.prototype.updateLabelEl=function(t,n,r,a){var o=dc(t).labelEl;o&&(o.setStyle(n.label.style),r(o,{x:n.label.x,y:n.label.y}),r7(o,a))},e.prototype._renderHandle=function(t){if(!(this._dragging||!this.updateHandleTransform)){var n=this._axisPointerModel,r=this._api.getZr(),a=this._handle,o=n.getModel("handle"),i=n.get("status");if(!o.get("show")||!i||i==="hide"){a&&r.remove(a),this._handle=null;return}var s;this._handle||(s=!0,a=this._handle=Ym(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(u){Ys(u.event)},onmousedown:BT(this._onHandleDragMove,this,0,0),drift:BT(this._onHandleDragMove,this),ondragend:BT(this._onHandleDragEnd,this)}),r.add(a)),a7(a,n,!1),a.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=o.get("size");ot(l)||(l=[l,l]),a.scaleX=l[0]/2,a.scaleY=l[1]/2,sS(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,s)}},e.prototype._moveHandleToValue=function(t,n){n7(this._axisPointerModel,!n&&this._moveAnimation,this._handle,FT(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(t,n){var r=this._handle;if(r){this._dragging=!0;var a=this.updateHandleTransform(FT(r),[t,n],this._axisModel,this._axisPointerModel);this._payloadInfo=a,r.stopAnimation(),r.attr(FT(a)),dc(r).lastProp=null,this._doDispatchAxisPointer()}},e.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var n=this._payloadInfo,r=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:n.cursorPoint[0],y:n.cursorPoint[1],tooltipOption:n.tooltipOption,axesInfo:[{axisDim:r.axis.dim,axisIndex:r.componentIndex}]})}},e.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var n=this._axisPointerModel.get("value");this._moveHandleToValue(n),this._api.dispatchAction({type:"hideTip"})}},e.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var n=t.getZr(),r=this._group,a=this._handle;n&&r&&(this._lastGraphicKey=null,r&&n.remove(r),a&&n.remove(a),this._group=null,this._handle=null,this._payloadInfo=null),Qb(this,"_doDispatchAxisPointer")},e.prototype.doClear=function(){},e.prototype.buildLabel=function(t,n,r){return r=r||0,{x:t[r],y:t[1-r],width:n[r],height:n[1-r]}},e}();function n7(e,t,n,r){CZ(dc(n).lastProp,r)||(dc(n).lastProp=r,t?xr(n,r,e):(n.stopAnimation(),n.attr(r)))}function CZ(e,t){if(xt(e)&&xt(t)){var n=!0;return re(t,function(r,a){n=n&&CZ(e[a],r)}),!!n}else return e===t}function r7(e,t){e[t.get(["label","show"])?"show":"hide"]()}function FT(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function a7(e,t,n){var r=t.get("z"),a=t.get("zlevel");e&&e.traverse(function(o){o.type!=="group"&&(r!=null&&(o.z=r),a!=null&&(o.zlevel=a),o.silent=n)})}function TZ(e){var t=e.get("type"),n=e.getModel(t+"Style"),r;return t==="line"?(r=n.getLineStyle(),r.fill=null):t==="shadow"&&(r=n.getAreaStyle(),r.stroke=null),r}function xZ(e,t,n,r,a){var o=n.get("value"),i=EZ(o,t.axis,t.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),s=n.getModel("label"),l=Ef(s.get("padding")||0),u=s.getFont(),c=Um(i,u),f=a.position,h=c.width+l[1]+l[3],d=c.height+l[0]+l[2],p=a.align;p==="right"&&(f[0]-=h),p==="center"&&(f[0]-=h/2);var v=a.verticalAlign;v==="bottom"&&(f[1]-=d),v==="middle"&&(f[1]-=d/2),OHe(f,h,d,r);var g=s.get("backgroundColor");(!g||g==="auto")&&(g=t.get(["axisLine","lineStyle","color"])),e.label={x:f[0],y:f[1],style:ma(s,{text:i,font:u,fill:s.getTextColor(),padding:l,backgroundColor:g}),z2:10}}function OHe(e,t,n,r){var a=r.getWidth(),o=r.getHeight();e[0]=Math.min(e[0]+t,a)-t,e[1]=Math.min(e[1]+n,o)-n,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function EZ(e,t,n,r,a){e=t.scale.parse(e);var o=t.scale.getLabel({value:e},{precision:a.precision}),i=a.formatter;if(i){var s={value:KO(t,{value:e}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};re(r,function(l){var u=n.getSeriesByIndex(l.seriesIndex),c=l.dataIndexInside,f=u&&u.getDataParams(c);f&&s.seriesData.push(f)}),yt(i)?o=i.replace("{value}",o):Lt(i)&&(o=i(s))}return o}function kZ(e,t,n){var r=Hs();return Hm(r,r,n.rotation),Og(r,r,n.position),Ws([e.dataToCoord(t),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function PHe(e,t,n,r,a,o){var i=ko.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=a.get(["label","margin"]),xZ(t,r,a,o,{position:kZ(r.axis,e,n),align:i.textAlign,verticalAlign:i.textVerticalAlign})}function AZ(e,t,n){return n=n||0,{x1:e[n],y1:e[1-n],x2:t[n],y2:t[1-n]}}function RHe(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}}function o7(e,t,n,r,a,o){return{cx:e,cy:t,r0:n,r,startAngle:a,endAngle:o,clockwise:!0}}var IHe=function(e){Ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(n,r,a,o,i){var s=a.axis,l=s.grid,u=o.get("type"),c=i7(l,s).getOtherAxis(s).getGlobalExtent(),f=s.toGlobalCoord(s.dataToCoord(r,!0));if(u&&u!=="none"){var h=TZ(o),d=DHe[u](s,f,c);d.style=h,n.graphicKey=d.type,n.pointer=d}var p=lA(l.model,a);PHe(r,n,p,a,o,i)},t.prototype.getHandleTransform=function(n,r,a){var o=lA(r.axis.grid.model,r,{labelInside:!1});o.labelMargin=a.get(["handle","margin"]);var i=kZ(r.axis,n,o);return{x:i[0],y:i[1],rotation:o.rotation+(o.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(n,r,a,o){var i=a.axis,s=i.grid,l=i.getGlobalExtent(!0),u=i7(s,i).getOtherAxis(i).getGlobalExtent(),c=i.dim==="x"?0:1,f=[n.x,n.y];f[c]+=r[c],f[c]=Math.min(l[1],f[c]),f[c]=Math.max(l[0],f[c]);var h=(u[1]+u[0])/2,d=[h,h];d[c]=f[c];var p=[{verticalAlign:"middle"},{align:"center"}];return{x:f[0],y:f[1],rotation:n.rotation,cursorPoint:d,tooltipOption:p[c]}},t}(SZ);function i7(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}var DHe={line:function(e,t,n){var r=AZ([t,n[0]],[t,n[1]],s7(e));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(e,t,n){var r=Math.max(1,e.getBandWidth()),a=n[1]-n[0];return{type:"Rect",shape:RHe([t-r/2,n[0]],[r,a],s7(e))}}};function s7(e){return e.dim==="x"?0:1}var LHe=function(e){Ye(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},t}(ln),Vs=Nn(),$He=re;function MZ(e,t,n){if(!Ht.node){var r=t.getZr();Vs(r).records||(Vs(r).records={}),NHe(r,t);var a=Vs(r).records[e]||(Vs(r).records[e]={});a.handler=n}}function NHe(e,t){if(Vs(e).initialized)return;Vs(e).initialized=!0,n("click",dn(l7,"click")),n("mousemove",dn(l7,"mousemove")),n("globalout",FHe);function n(r,a){e.on(r,function(o){var i=VHe(t);$He(Vs(e).records,function(s){s&&a(s,o,i.dispatchAction)}),BHe(i.pendings,t)})}}function BHe(e,t){var n=e.showTip.length,r=e.hideTip.length,a;n?a=e.showTip[n-1]:r&&(a=e.hideTip[r-1]),a&&(a.dispatchAction=null,t.dispatchAction(a))}function FHe(e,t,n){e.handler("leave",null,n)}function l7(e,t,n,r){t.handler(e,n,r)}function VHe(e){var t={showTip:[],hideTip:[]},n=function(r){var a=t[r.type];a?a.push(r):(r.dispatchAction=n,e.dispatchAction(r))};return{dispatchAction:n,pendings:t}}function SA(e,t){if(!Ht.node){var n=t.getZr(),r=(Vs(n).records||{})[e];r&&(Vs(n).records[e]=null)}}var zHe=function(e){Ye(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,a){var o=r.getComponent("tooltip"),i=n.get("triggerOn")||o&&o.get("triggerOn")||"mousemove|click";MZ("axisPointer",a,function(s,l,u){i!=="none"&&(s==="leave"||i.indexOf(s)>=0)&&u({type:"updateAxisPointer",currTrigger:s,x:l&&l.offsetX,y:l&&l.offsetY})})},t.prototype.remove=function(n,r){SA("axisPointer",r)},t.prototype.dispose=function(n,r){SA("axisPointer",r)},t.type="axisPointer",t}(_r);function OZ(e,t){var n=[],r=e.seriesIndex,a;if(r==null||!(a=t.getSeriesByIndex(r)))return{point:[]};var o=a.getData(),i=ff(o,e);if(i==null||i<0||ot(i))return{point:[]};var s=o.getItemGraphicEl(i),l=a.coordinateSystem;if(a.getTooltipPosition)n=a.getTooltipPosition(i)||[];else if(l&&l.dataToPoint)if(e.isStacked){var u=l.getBaseAxis(),c=l.getOtherAxis(u),f=c.dim,h=u.dim,d=f==="x"||f==="radius"?1:0,p=o.mapDimension(h),v=[];v[d]=o.get(p,i),v[1-d]=o.get(o.getCalculationInfo("stackResultDimension"),i),n=l.dataToPoint(v)||[]}else n=l.dataToPoint(o.getValues(lt(l.dimensions,function(m){return o.mapDimension(m)}),i))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),n=[g.x+g.width/2,g.y+g.height/2]}return{point:n,el:s}}var u7=Nn();function HHe(e,t,n){var r=e.currTrigger,a=[e.x,e.y],o=e,i=e.dispatchAction||Tt(n.dispatchAction,n),s=t.getComponent("axisPointer").coordSysAxesInfo;if(s){O1(a)&&(a=OZ({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},t).point);var l=O1(a),u=o.axesInfo,c=s.axesInfo,f=r==="leave"||O1(a),h={},d={},p={list:[],map:{}},v={showPointer:dn(UHe,d),showTooltip:dn(jHe,p)};re(s.coordSysMap,function(m,w){var _=l||m.containPoint(a);re(s.coordSysAxesInfo[w],function(b,S){var C=b.axis,T=YHe(u,b);if(!f&&_&&(!u||T)){var x=T&&T.value;x==null&&!l&&(x=C.pointToData(a)),x!=null&&c7(b,x,v,!1,h)}})});var g={};return re(c,function(m,w){var _=m.linkGroup;_&&!d[w]&&re(_.axesInfo,function(b,S){var C=d[S];if(b!==m&&C){var T=C.value;_.mapper&&(T=m.axis.scale.parse(_.mapper(T,f7(b),f7(m)))),g[m.key]=T}})}),re(g,function(m,w){c7(c[w],m,v,!0,h)}),KHe(d,c,h),GHe(p,a,e,i),qHe(c,i,n),h}}function c7(e,t,n,r,a){var o=e.axis;if(!(o.scale.isBlank()||!o.containData(t))){if(!e.involveSeries){n.showPointer(e,t);return}var i=WHe(t,e),s=i.payloadBatch,l=i.snapToValue;s[0]&&a.seriesIndex==null&&Qe(a,s[0]),!r&&e.snap&&o.containData(l)&&l!=null&&(t=l),n.showPointer(e,t,s),n.showTooltip(e,i,l)}}function WHe(e,t){var n=t.axis,r=n.dim,a=e,o=[],i=Number.MAX_VALUE,s=-1;return re(t.seriesModels,function(l,u){var c=l.getData().mapDimensionsAll(r),f,h;if(l.getAxisTooltipData){var d=l.getAxisTooltipData(c,e,n);h=d.dataIndices,f=d.nestestValue}else{if(h=l.getData().indicesOfNearest(c[0],e,n.type==="category"?.5:null),!h.length)return;f=l.getData().get(c[0],h[0])}if(!(f==null||!isFinite(f))){var p=e-f,v=Math.abs(p);v<=i&&((v=0&&s<0)&&(i=v,s=p,a=f,o.length=0),re(h,function(g){o.push({seriesIndex:l.seriesIndex,dataIndexInside:g,dataIndex:l.getData().getRawIndex(g)})}))}}),{payloadBatch:o,snapToValue:a}}function UHe(e,t,n,r){e[t.key]={value:n,payloadBatch:r}}function jHe(e,t,n,r){var a=n.payloadBatch,o=t.axis,i=o.model,s=t.axisPointerModel;if(!(!t.triggerTooltip||!a.length)){var l=t.coordSys.model,u=Yg(l),c=e.map[u];c||(c=e.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},e.list.push(c)),c.dataByAxis.push({axisDim:o.dim,axisIndex:i.componentIndex,axisType:i.type,axisId:i.id,value:r,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:a.slice()})}}function KHe(e,t,n){var r=n.axesInfo=[];re(t,function(a,o){var i=a.axisPointerModel.option,s=e[o];s?(!a.useHandle&&(i.status="show"),i.value=s.value,i.seriesDataIndices=(s.payloadBatch||[]).slice()):!a.useHandle&&(i.status="hide"),i.status==="show"&&r.push({axisDim:a.axis.dim,axisIndex:a.axis.model.componentIndex,value:i.value})})}function GHe(e,t,n,r){if(O1(t)||!e.list.length){r({type:"hideTip"});return}var a=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:a.dataIndexInside,dataIndex:a.dataIndex,seriesIndex:a.seriesIndex,dataByCoordSys:e.list})}function qHe(e,t,n){var r=n.getZr(),a="axisPointerLastHighlights",o=u7(r)[a]||{},i=u7(r)[a]={};re(e,function(u,c){var f=u.axisPointerModel.option;f.status==="show"&&u.triggerEmphasis&&re(f.seriesDataIndices,function(h){var d=h.seriesIndex+" | "+h.dataIndex;i[d]=h})});var s=[],l=[];re(o,function(u,c){!i[c]&&l.push(u)}),re(i,function(u,c){!o[c]&&s.push(u)}),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function YHe(e,t){for(var n=0;n<(e||[]).length;n++){var r=e[n];if(t.axis.dim===r.axisDim&&t.axis.model.componentIndex===r.axisIndex)return r}}function f7(e){var t=e.axis.model,n={},r=n.axisDim=e.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=t.componentIndex,n.axisName=n[r+"AxisName"]=t.name,n.axisId=n[r+"AxisId"]=t.id,n}function O1(e){return!e||e[0]==null||isNaN(e[0])||e[1]==null||isNaN(e[1])}function pP(e){n0.registerAxisPointerClass("CartesianAxisPointer",IHe),e.registerComponentModel(LHe),e.registerComponentView(zHe),e.registerPreprocessor(function(t){if(t){(!t.axisPointer||t.axisPointer.length===0)&&(t.axisPointer={});var n=t.axisPointer.link;n&&!ot(n)&&(t.axisPointer.link=[n])}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,function(t,n){t.getComponent("axisPointer").coordSysAxesInfo=HVe(t,n)}),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},HHe)}function XHe(e){Wa(nze),Wa(pP)}var ZHe=function(e){Ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(n,r,a,o,i){var s=a.axis;s.dim==="angle"&&(this.animationThreshold=Math.PI/18);var l=s.polar,u=l.getOtherAxis(s),c=u.getExtent(),f=s.dataToCoord(r),h=o.get("type");if(h&&h!=="none"){var d=TZ(o),p=QHe[h](s,l,f,c);p.style=d,n.graphicKey=p.type,n.pointer=p}var v=o.get(["label","margin"]),g=JHe(r,a,o,l,v);xZ(n,a,o,i,g)},t}(SZ);function JHe(e,t,n,r,a){var o=t.axis,i=o.dataToCoord(e),s=r.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l=r.getRadiusAxis().getExtent(),u,c,f;if(o.dim==="radius"){var h=Hs();Hm(h,h,s),Og(h,h,[r.cx,r.cy]),u=Ws([i,-a],h);var d=t.getModel("axisLabel").get("rotate")||0,p=ko.innerTextLayout(s,d*Math.PI/180,-1);c=p.textAlign,f=p.textVerticalAlign}else{var v=l[1];u=r.coordToPoint([v+a,i]);var g=r.cx,m=r.cy;c=Math.abs(u[0]-g)/v<.3?"center":u[0]>g?"left":"right",f=Math.abs(u[1]-m)/v<.3?"middle":u[1]>m?"top":"bottom"}return{position:u,align:c,verticalAlign:f}}var QHe={line:function(e,t,n,r){return e.dim==="angle"?{type:"Line",shape:AZ(t.coordToPoint([r[0],n]),t.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:n}}},shadow:function(e,t,n,r){var a=Math.max(1,e.getBandWidth()),o=Math.PI/180;return e.dim==="angle"?{type:"Sector",shape:o7(t.cx,t.cy,r[0],r[1],(-n-a/2)*o,(-n+a/2)*o)}:{type:"Sector",shape:o7(t.cx,t.cy,n-a/2,n+a/2,0,Math.PI*2)}}},eWe=function(e){Ye(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.findAxisModel=function(n){var r,a=this.ecModel;return a.eachComponent(n,function(o){o.getCoordSysModel()===this&&(r=o)},this),r},t.type="polar",t.dependencies=["radiusAxis","angleAxis"],t.defaultOption={z:0,center:["50%","50%"],radius:"80%"},t}(ln),vP=function(e){Ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",kr).models[0]},t.type="polarAxis",t}(ln);io(vP,qO);var tWe=function(e){Ye(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="angleAxis",t}(vP),nWe=function(e){Ye(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="radiusAxis",t}(vP),gP=function(e){Ye(t,e);function t(n,r){return e.call(this,"radius",n,r)||this}return t.prototype.pointToData=function(n,r){return this.polar.pointToData(n,r)[this.dim==="radius"?0:1]},t}(Cu);gP.prototype.dataToRadius=Cu.prototype.dataToCoord;gP.prototype.radiusToData=Cu.prototype.coordToData;var rWe=Nn(),mP=function(e){Ye(t,e);function t(n,r){return e.call(this,"angle",n,r||[0,360])||this}return t.prototype.pointToData=function(n,r){return this.polar.pointToData(n,r)[this.dim==="radius"?0:1]},t.prototype.calculateCategoryInterval=function(){var n=this,r=n.getLabelModel(),a=n.scale,o=a.getExtent(),i=a.count();if(o[1]-o[0]<1)return 0;var s=o[0],l=n.dataToCoord(s+1)-n.dataToCoord(s),u=Math.abs(l),c=Um(s==null?"":s+"",r.getFont(),"center","top"),f=Math.max(c.height,7),h=f/u;isNaN(h)&&(h=1/0);var d=Math.max(0,Math.floor(h)),p=rWe(n.model),v=p.lastAutoInterval,g=p.lastTickCount;return v!=null&&g!=null&&Math.abs(v-d)<=1&&Math.abs(g-i)<=1&&v>d?d=v:(p.lastTickCount=i,p.lastAutoInterval=d),d},t}(Cu);mP.prototype.dataToAngle=Cu.prototype.dataToCoord;mP.prototype.angleToData=Cu.prototype.coordToData;var PZ=["radius","angle"],aWe=function(){function e(t){this.dimensions=PZ,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new gP,this._angleAxis=new mP,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return e.prototype.containPoint=function(t){var n=this.pointToCoord(t);return this._radiusAxis.contain(n[0])&&this._angleAxis.contain(n[1])},e.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},e.prototype.getAxis=function(t){var n="_"+t+"Axis";return this[n]},e.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},e.prototype.getAxesByScale=function(t){var n=[],r=this._angleAxis,a=this._radiusAxis;return r.scale.type===t&&n.push(r),a.scale.type===t&&n.push(a),n},e.prototype.getAngleAxis=function(){return this._angleAxis},e.prototype.getRadiusAxis=function(){return this._radiusAxis},e.prototype.getOtherAxis=function(t){var n=this._angleAxis;return t===n?this._radiusAxis:n},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},e.prototype.getTooltipAxes=function(t){var n=t!=null&&t!=="auto"?this.getAxis(t):this.getBaseAxis();return{baseAxes:[n],otherAxes:[this.getOtherAxis(n)]}},e.prototype.dataToPoint=function(t,n){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],n),this._angleAxis.dataToAngle(t[1],n)])},e.prototype.pointToData=function(t,n){var r=this.pointToCoord(t);return[this._radiusAxis.radiusToData(r[0],n),this._angleAxis.angleToData(r[1],n)]},e.prototype.pointToCoord=function(t){var n=t[0]-this.cx,r=t[1]-this.cy,a=this.getAngleAxis(),o=a.getExtent(),i=Math.min(o[0],o[1]),s=Math.max(o[0],o[1]);a.inverse?i=s-360:s=i+360;var l=Math.sqrt(n*n+r*r);n/=l,r/=l;for(var u=Math.atan2(-r,n)/Math.PI*180,c=us;)u+=c*360;return[l,u]},e.prototype.coordToPoint=function(t){var n=t[0],r=t[1]/180*Math.PI,a=Math.cos(r)*n+this.cx,o=-Math.sin(r)*n+this.cy;return[a,o]},e.prototype.getArea=function(){var t=this.getAngleAxis(),n=this.getRadiusAxis(),r=n.getExtent().slice();r[0]>r[1]&&r.reverse();var a=t.getExtent(),o=Math.PI/180,i=1e-4;return{cx:this.cx,cy:this.cy,r0:r[0],r:r[1],startAngle:-a[0]*o,endAngle:-a[1]*o,clockwise:t.inverse,contain:function(s,l){var u=s-this.cx,c=l-this.cy,f=u*u+c*c,h=this.r,d=this.r0;return h!==d&&f-i<=h*h&&f+i>=d*d}}},e.prototype.convertToPixel=function(t,n,r){var a=d7(n);return a===this?this.dataToPoint(r):null},e.prototype.convertFromPixel=function(t,n,r){var a=d7(n);return a===this?this.pointToData(r):null},e}();function d7(e){var t=e.seriesModel,n=e.polarModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}function oWe(e,t,n){var r=t.get("center"),a=n.getWidth(),o=n.getHeight();e.cx=an(r[0],a),e.cy=an(r[1],o);var i=e.getRadiusAxis(),s=Math.min(a,o)/2,l=t.get("radius");l==null?l=[0,"100%"]:ot(l)||(l=[0,l]);var u=[an(l[0],s),an(l[1],s)];i.inverse?i.setExtent(u[1],u[0]):i.setExtent(u[0],u[1])}function iWe(e,t){var n=this,r=n.getAngleAxis(),a=n.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),a.scale.setExtent(1/0,-1/0),e.eachSeries(function(s){if(s.coordinateSystem===n){var l=s.getData();re(l_(l,"radius"),function(u){a.scale.unionExtentFromData(l,u)}),re(l_(l,"angle"),function(u){r.scale.unionExtentFromData(l,u)})}}),Gg(r.scale,r.model),Gg(a.scale,a.model),r.type==="category"&&!r.onBand){var o=r.getExtent(),i=360/r.scale.count();r.inverse?o[1]+=i:o[1]-=i,r.setExtent(o[0],o[1])}}function sWe(e){return e.mainType==="angleAxis"}function h7(e,t){var n;if(e.type=t.get("type"),e.scale=jO(t),e.onBand=t.get("boundaryGap")&&e.type==="category",e.inverse=t.get("inverse"),sWe(t)){e.inverse=e.inverse!==t.get("clockwise");var r=t.get("startAngle"),a=(n=t.get("endAngle"))!==null&&n!==void 0?n:r+(e.inverse?-360:360);e.setExtent(r,a)}t.axis=e,e.model=t}var lWe={dimensions:PZ,create:function(e,t){var n=[];return e.eachComponent("polar",function(r,a){var o=new aWe(a+"");o.update=iWe;var i=o.getRadiusAxis(),s=o.getAngleAxis(),l=r.findAxisModel("radiusAxis"),u=r.findAxisModel("angleAxis");h7(i,l),h7(s,u),oWe(o,r,t),n.push(o),r.coordinateSystem=o,o.model=r}),e.eachSeries(function(r){if(r.get("coordinateSystem")==="polar"){var a=r.getReferringComponents("polar",kr).models[0];r.coordinateSystem=a.coordinateSystem}}),n}},uWe=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function Ty(e,t,n){t[1]>t[0]&&(t=t.slice().reverse());var r=e.coordToPoint([t[0],n]),a=e.coordToPoint([t[1],n]);return{x1:r[0],y1:r[1],x2:a[0],y2:a[1]}}function xy(e){var t=e.getRadiusAxis();return t.inverse?0:1}function p7(e){var t=e[0],n=e[e.length-1];t&&n&&Math.abs(Math.abs(t.coord-n.coord)-360)<1e-4&&e.pop()}var cWe=function(e){Ye(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="PolarAxisPointer",n}return t.prototype.render=function(n,r){if(this.group.removeAll(),!!n.get("show")){var a=n.axis,o=a.polar,i=o.getRadiusAxis().getExtent(),s=a.getTicksCoords(),l=a.getMinorTicksCoords(),u=lt(a.getViewLabels(),function(c){c=Pt(c);var f=a.scale,h=f.type==="ordinal"?f.getRawOrdinalNumber(c.tickValue):c.tickValue;return c.coord=a.dataToCoord(h),c});p7(u),p7(s),re(uWe,function(c){n.get([c,"show"])&&(!a.scale.isBlank()||c==="axisLine")&&fWe[c](this.group,n,o,s,l,i,u)},this)}},t.type="angleAxis",t}(n0),fWe={axisLine:function(e,t,n,r,a,o){var i=t.getModel(["axisLine","lineStyle"]),s=n.getAngleAxis(),l=Math.PI/180,u=s.getExtent(),c=xy(n),f=c?0:1,h,d=Math.abs(u[1]-u[0])===360?"Circle":"Arc";o[f]===0?h=new iO[d]({shape:{cx:n.cx,cy:n.cy,r:o[c],startAngle:-u[0]*l,endAngle:-u[1]*l,clockwise:s.inverse},style:i.getLineStyle(),z2:1,silent:!0}):h=new Gm({shape:{cx:n.cx,cy:n.cy,r:o[c],r0:o[f]},style:i.getLineStyle(),z2:1,silent:!0}),h.style.fill=null,e.add(h)},axisTick:function(e,t,n,r,a,o){var i=t.getModel("axisTick"),s=(i.get("inside")?-1:1)*i.get("length"),l=o[xy(n)],u=lt(r,function(c){return new Ja({shape:Ty(n,[l,l+s],c.coord)})});e.add(Zi(u,{style:Ut(i.getModel("lineStyle").getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])})}))},minorTick:function(e,t,n,r,a,o){if(a.length){for(var i=t.getModel("axisTick"),s=t.getModel("minorTick"),l=(i.get("inside")?-1:1)*s.get("length"),u=o[xy(n)],c=[],f=0;fm?"left":"right",b=Math.abs(g[1]-w)/v<.3?"middle":g[1]>w?"top":"bottom";if(s&&s[p]){var S=s[p];xt(S)&&S.textStyle&&(d=new Ln(S.textStyle,l,l.ecModel))}var C=new Tn({silent:ko.isLabelSilent(t),style:ma(d,{x:g[0],y:g[1],fill:d.getTextColor()||t.get(["axisLine","lineStyle","color"]),text:f.formattedLabel,align:_,verticalAlign:b})});if(e.add(C),c){var T=ko.makeAxisEventDataBase(t);T.targetType="axisLabel",T.value=f.rawLabel,on(C).eventData=T}},this)},splitLine:function(e,t,n,r,a,o){var i=t.getModel("splitLine"),s=i.getModel("lineStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var c=[],f=0;f=0?"p":"n",I=E;S&&(r[c][$]||(r[c][$]={p:E,n:E}),I=r[c][$][B]);var M=void 0,L=void 0,O=void 0,D=void 0;if(p.dim==="radius"){var z=p.dataToCoord(P)-E,V=l.dataToCoord($);Math.abs(z)=D})}}})}function yWe(e){var t={};re(e,function(r,a){var o=r.getData(),i=r.coordinateSystem,s=i.getBaseAxis(),l=IZ(i,s),u=s.getExtent(),c=s.type==="category"?s.getBandWidth():Math.abs(u[1]-u[0])/o.count(),f=t[l]||{bandWidth:c,remainedWidth:c,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},h=f.stacks;t[l]=f;var d=RZ(r);h[d]||f.autoWidthCount++,h[d]=h[d]||{width:0,maxWidth:0};var p=an(r.get("barWidth"),c),v=an(r.get("barMaxWidth"),c),g=r.get("barGap"),m=r.get("barCategoryGap");p&&!h[d].width&&(p=Math.min(f.remainedWidth,p),h[d].width=p,f.remainedWidth-=p),v&&(h[d].maxWidth=v),g!=null&&(f.gap=g),m!=null&&(f.categoryGap=m)});var n={};return re(t,function(r,a){n[a]={};var o=r.stacks,i=r.bandWidth,s=an(r.categoryGap,i),l=an(r.gap,1),u=r.remainedWidth,c=r.autoWidthCount,f=(u-s)/(c+(c-1)*l);f=Math.max(f,0),re(o,function(v,g){var m=v.maxWidth;m&&m=0;c--){var f=a[c],h=da(f.id,null),d=h!=null?i.get(h):null;if(d){var p=d.parent,m=yo(p),w=p===o?{width:s,height:l}:{width:m.width,height:m.height},_={},b=mO(d,f,w,null,{hv:f.hv,boundingMode:f.bounding},_);if(!yo(d).isNew&&b){for(var S=f.transition,C={},T=0;T=0)?C[x]=E:d[x]=E}xr(d,C,n,0)}else d.attr(_)}}},t.prototype._clear=function(){var n=this,r=this._elMap;r.each(function(a){P1(a,yo(a).option,r,n._lastGraphicModel)}),this._elMap=Dt()},t.prototype.dispose=function(){this._clear()},t.type="graphic",t}(_r);function CA(e){var t=mt(g7,e)?g7[e]:tO(e),n=new t({});return yo(n).type=e,n}function m7(e,t,n,r){var a=CA(n);return t.add(a),r.set(e,a),yo(a).id=e,yo(a).isNew=!0,a}function P1(e,t,n,r){var a=e&&e.parent;a&&(e.type==="group"&&e.traverse(function(o){P1(o,t,n,r)}),Ize(e,t,r),n.removeKey(yo(e).id))}function y7(e,t,n,r){e.isGroup||re([["cursor",Tf.prototype.cursor],["zlevel",r||0],["z",n||0],["z2",0]],function(a){var o=a[0];mt(t,o)?e[o]=Ft(t[o],a[1]):e[o]==null&&(e[o]=a[1])}),re(nn(t),function(a){if(a.indexOf("on")===0){var o=t[a];e[a]=Lt(o)?o:null}}),mt(t,"draggable")&&(e.draggable=t.draggable),t.name!=null&&(e.name=t.name),t.id!=null&&(e.id=t.id)}function MWe(e){return e=Qe({},e),re(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(Fq),function(t){delete e[t]}),e}function OWe(e,t,n){var r=on(e).eventData;!e.silent&&!e.ignore&&!r&&(r=on(e).eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name}),r&&(r.info=n.info)}function PWe(e){e.registerComponentModel(kWe),e.registerComponentView(AWe),e.registerPreprocessor(function(t){var n=t.graphic;ot(n)?!n[0]||!n[0].elements?t.graphic=[{elements:n}]:t.graphic=[t.graphic[0]]:n&&!n.elements&&(t.graphic=[{elements:[n]}])})}var b7=["x","y","radius","angle","single"],RWe=["cartesian2d","polar","singleAxis"];function IWe(e){var t=e.get("coordinateSystem");return tn(RWe,t)>=0}function Wl(e){return e+"Axis"}function DWe(e,t){var n=Dt(),r=[],a=Dt();e.eachComponent({mainType:"dataZoom",query:t},function(c){a.get(c.uid)||s(c)});var o;do o=!1,e.eachComponent("dataZoom",i);while(o);function i(c){!a.get(c.uid)&&l(c)&&(s(c),o=!0)}function s(c){a.set(c.uid,!0),r.push(c),u(c)}function l(c){var f=!1;return c.eachTargetAxis(function(h,d){var p=n.get(h);p&&p[d]&&(f=!0)}),f}function u(c){c.eachTargetAxis(function(f,h){(n.get(f)||n.set(f,[]))[h]=!0})}return r}function LZ(e){var t=e.ecModel,n={infoList:[],infoMap:Dt()};return e.eachTargetAxis(function(r,a){var o=t.getComponent(Wl(r),a);if(o){var i=o.getCoordSysModel();if(i){var s=i.uid,l=n.infoMap.get(s);l||(l={model:i,axisModels:[]},n.infoList.push(l),n.infoMap.set(s,l)),l.axisModels.push(o)}}}),n}var VT=function(){function e(){this.indexList=[],this.indexMap=[]}return e.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},e}(),em=function(e){Ye(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return t.prototype.init=function(n,r,a){var o=_7(n);this.settledOption=o,this.mergeDefaultAndTheme(n,a),this._doInit(o)},t.prototype.mergeOption=function(n){var r=_7(n);qt(this.option,n,!0),qt(this.settledOption,r,!0),this._doInit(r)},t.prototype._doInit=function(n){var r=this.option;this._setDefaultThrottle(n),this._updateRangeUse(n);var a=this.settledOption;re([["start","startValue"],["end","endValue"]],function(o,i){this._rangePropMode[i]==="value"&&(r[o[0]]=a[o[0]]=null)},this),this._resetTarget()},t.prototype._resetTarget=function(){var n=this.get("orient",!0),r=this._targetAxisInfoMap=Dt(),a=this._fillSpecifiedTargetAxis(r);a?this._orient=n||this._makeAutoOrientByTargetAxis():(this._orient=n||"horizontal",this._fillAutoTargetAxisByOrient(r,this._orient)),this._noTarget=!0,r.each(function(o){o.indexList.length&&(this._noTarget=!1)},this)},t.prototype._fillSpecifiedTargetAxis=function(n){var r=!1;return re(b7,function(a){var o=this.getReferringComponents(Wl(a),ODe);if(o.specified){r=!0;var i=new VT;re(o.models,function(s){i.add(s.componentIndex)}),n.set(a,i)}},this),r},t.prototype._fillAutoTargetAxisByOrient=function(n,r){var a=this.ecModel,o=!0;if(o){var i=r==="vertical"?"y":"x",s=a.findComponents({mainType:i+"Axis"});l(s,i)}if(o){var s=a.findComponents({mainType:"singleAxis",filter:function(c){return c.get("orient",!0)===r}});l(s,"single")}function l(u,c){var f=u[0];if(f){var h=new VT;if(h.add(f.componentIndex),n.set(c,h),o=!1,c==="x"||c==="y"){var d=f.getReferringComponents("grid",kr).models[0];d&&re(u,function(p){f.componentIndex!==p.componentIndex&&d===p.getReferringComponents("grid",kr).models[0]&&h.add(p.componentIndex)})}}}o&&re(b7,function(u){if(o){var c=a.findComponents({mainType:Wl(u),filter:function(h){return h.get("type",!0)==="category"}});if(c[0]){var f=new VT;f.add(c[0].componentIndex),n.set(u,f),o=!1}}},this)},t.prototype._makeAutoOrientByTargetAxis=function(){var n;return this.eachTargetAxis(function(r){!n&&(n=r)},this),n==="y"?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(n){if(n.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var r=this.ecModel.option;this.option.throttle=r.animation&&r.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(n){var r=this._rangePropMode,a=this.get("rangeMode");re([["start","startValue"],["end","endValue"]],function(o,i){var s=n[o[0]]!=null,l=n[o[1]]!=null;s&&!l?r[i]="percent":!s&&l?r[i]="value":a?r[i]=a[i]:s&&(r[i]="percent")})},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var n;return this.eachTargetAxis(function(r,a){n==null&&(n=this.ecModel.getComponent(Wl(r),a))},this),n},t.prototype.eachTargetAxis=function(n,r){this._targetAxisInfoMap.each(function(a,o){re(a.indexList,function(i){n.call(r,o,i)})})},t.prototype.getAxisProxy=function(n,r){var a=this.getAxisModel(n,r);if(a)return a.__dzAxisProxy},t.prototype.getAxisModel=function(n,r){var a=this._targetAxisInfoMap.get(n);if(a&&a.indexMap[r])return this.ecModel.getComponent(Wl(n),r)},t.prototype.setRawRange=function(n){var r=this.option,a=this.settledOption;re([["start","startValue"],["end","endValue"]],function(o){(n[o[0]]!=null||n[o[1]]!=null)&&(r[o[0]]=a[o[0]]=n[o[0]],r[o[1]]=a[o[1]]=n[o[1]])},this),this._updateRangeUse(n)},t.prototype.setCalculatedRange=function(n){var r=this.option;re(["start","startValue","end","endValue"],function(a){r[a]=n[a]})},t.prototype.getPercentRange=function(){var n=this.findRepresentativeAxisProxy();if(n)return n.getDataPercentWindow()},t.prototype.getValueRange=function(n,r){if(n==null&&r==null){var a=this.findRepresentativeAxisProxy();if(a)return a.getDataValueWindow()}else return this.getAxisProxy(n,r).getDataValueWindow()},t.prototype.findRepresentativeAxisProxy=function(n){if(n)return n.__dzAxisProxy;for(var r,a=this._targetAxisInfoMap.keys(),o=0;oi[1];if(_&&!b&&!S)return!0;_&&(g=!0),b&&(p=!0),S&&(v=!0)}return g&&p&&v})}else dd(c,function(d){if(o==="empty")l.setData(u=u.map(d,function(v){return s(v)?v:NaN}));else{var p={};p[d]=i,u.selectRange(p)}});dd(c,function(d){u.setApproximateExtent(i,d)})}});function s(l){return l>=i[0]&&l<=i[1]}},e.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},n=this._dataZoomModel,r=this._dataExtent;dd(["min","max"],function(a){var o=n.get(a+"Span"),i=n.get(a+"ValueSpan");i!=null&&(i=this.getAxisModel().axis.scale.parse(i)),i!=null?o=Hn(r[0]+i,r,[0,100],!0):o!=null&&(i=Hn(o,[0,100],r,!0)-r[0]),t[a+"Span"]=o,t[a+"ValueSpan"]=i},this)},e.prototype._setAxisModel=function(){var t=this.getAxisModel(),n=this._percentWindow,r=this._valueWindow;if(n){var a=FM(r,[0,500]);a=Math.min(a,20);var o=t.axis.scale.rawExtentInfo;n[0]!==0&&o.setDeterminedMinMax("min",+r[0].toFixed(a)),n[1]!==100&&o.setDeterminedMinMax("max",+r[1].toFixed(a)),o.freeze()}},e}();function BWe(e,t,n){var r=[1/0,-1/0];dd(n,function(i){BBe(r,i.getData(),t)});var a=e.getAxisModel(),o=fX(a.axis.scale,a,r).calculate();return[o.min,o.max]}var FWe={getTargetSeries:function(e){function t(a){e.eachComponent("dataZoom",function(o){o.eachTargetAxis(function(i,s){var l=e.getComponent(Wl(i),s);a(i,s,l,o)})})}t(function(a,o,i,s){i.__dzAxisProxy=null});var n=[];t(function(a,o,i,s){i.__dzAxisProxy||(i.__dzAxisProxy=new NWe(a,o,s,e),n.push(i.__dzAxisProxy))});var r=Dt();return re(n,function(a){re(a.getTargetSeriesModels(),function(o){r.set(o.uid,o)})}),r},overallReset:function(e,t){e.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(r,a){n.getAxisProxy(r,a).reset(n)}),n.eachTargetAxis(function(r,a){n.getAxisProxy(r,a).filterData(n,t)})}),e.eachComponent("dataZoom",function(n){var r=n.findRepresentativeAxisProxy();if(r){var a=r.getDataPercentWindow(),o=r.getDataValueWindow();n.setCalculatedRange({start:a[0],end:a[1],startValue:o[0],endValue:o[1]})}})}};function VWe(e){e.registerAction("dataZoom",function(t,n){var r=DWe(n,t);re(r,function(a){a.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}var S7=!1;function bP(e){S7||(S7=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,FWe),VWe(e),e.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function zWe(e){e.registerComponentModel(LWe),e.registerComponentView($We),bP(e)}var ni=function(){function e(){}return e}(),$Z={};function Fp(e,t){$Z[e]=t}function NZ(e){return $Z[e]}var HWe=function(e){Ye(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.optionUpdated=function(){e.prototype.optionUpdated.apply(this,arguments);var n=this.ecModel;re(this.option.feature,function(r,a){var o=NZ(a);o&&(o.getDefaultOption&&(o.defaultOption=o.getDefaultOption(n)),qt(r,o.defaultOption))})},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},t}(ln);function WWe(e,t,n){var r=t.getBoxLayoutParams(),a=t.get("padding"),o={width:n.getWidth(),height:n.getHeight()},i=wi(r,o,a);Hc(t.get("orient"),e,t.get("itemGap"),i.width,i.height),mO(e,r,o,a)}function BZ(e,t){var n=Ef(t.get("padding")),r=t.getItemStyle(["color","opacity"]);return r.fill=t.get("backgroundColor"),e=new Pn({shape:{x:e.x-n[3],y:e.y-n[0],width:e.width+n[1]+n[3],height:e.height+n[0]+n[2],r:t.get("borderRadius")},style:r,silent:!0,z2:-1}),e}var UWe=function(e){Ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(n,r,a,o){var i=this.group;if(i.removeAll(),!n.get("show"))return;var s=+n.get("itemSize"),l=n.get("orient")==="vertical",u=n.get("feature")||{},c=this._features||(this._features={}),f=[];re(u,function(p,v){f.push(v)}),new BO(this._featureNames||[],f).add(h).update(h).remove(dn(h,null)).execute(),this._featureNames=f;function h(p,v){var g=f[p],m=f[v],w=u[g],_=new Ln(w,n,n.ecModel),b;if(o&&o.newTitle!=null&&o.featureName===g&&(w.title=o.newTitle),g&&!m){if(jWe(g))b={onclick:_.option.onclick,featureName:g};else{var S=NZ(g);if(!S)return;b=new S}c[g]=b}else if(b=c[m],!b)return;b.uid=Qm("toolbox-feature"),b.model=_,b.ecModel=r,b.api=a;var C=b instanceof ni;if(!g&&m){C&&b.dispose&&b.dispose(r,a);return}if(!_.get("show")||C&&b.unusable){C&&b.remove&&b.remove(r,a);return}d(_,b,g),_.setIconStatus=function(T,x){var E=this.option,k=this.iconPaths;E.iconStatus=E.iconStatus||{},E.iconStatus[T]=x,k[T]&&(x==="emphasis"?_h:wh)(k[T])},b instanceof ni&&b.render&&b.render(_,r,a,o)}function d(p,v,g){var m=p.getModel("iconStyle"),w=p.getModel(["emphasis","iconStyle"]),_=v instanceof ni&&v.getIcons?v.getIcons():p.get("icon"),b=p.get("title")||{},S,C;yt(_)?(S={},S[g]=_):S=_,yt(b)?(C={},C[g]=b):C=b;var T=p.iconPaths={};re(S,function(x,E){var k=Ym(x,{},{x:-s/2,y:-s/2,width:s,height:s});k.setStyle(m.getItemStyle());var A=k.ensureState("emphasis");A.style=w.getItemStyle();var P=new Tn({style:{text:C[E],align:w.get("textAlign"),borderRadius:w.get("textBorderRadius"),padding:w.get("textPadding"),fill:null,font:Eq({fontStyle:w.get("textFontStyle"),fontFamily:w.get("textFontFamily"),fontSize:w.get("textFontSize"),fontWeight:w.get("textFontWeight")},r)},ignore:!0});k.setTextContent(P),ep({el:k,componentModel:n,itemName:E,formatterParamsExtra:{title:C[E]}}),k.__title=C[E],k.on("mouseover",function(){var $=w.getItemStyle(),B=l?n.get("right")==null&&n.get("left")!=="right"?"right":"left":n.get("bottom")==null&&n.get("top")!=="bottom"?"bottom":"top";P.setStyle({fill:w.get("textFill")||$.fill||$.stroke||"#000",backgroundColor:w.get("textBackgroundColor")}),k.setTextConfig({position:w.get("textPosition")||B}),P.ignore=!n.get("showTitle"),a.enterEmphasis(this)}).on("mouseout",function(){p.get(["iconStatus",E])!=="emphasis"&&a.leaveEmphasis(this),P.hide()}),(p.get(["iconStatus",E])==="emphasis"?_h:wh)(k),i.add(k),k.on("click",Tt(v.onclick,v,r,a,E)),T[E]=k})}WWe(i,n,a),i.add(BZ(i.getBoundingRect(),n)),l||i.eachChild(function(p){var v=p.__title,g=p.ensureState("emphasis"),m=g.textConfig||(g.textConfig={}),w=p.getTextContent(),_=w&&w.ensureState("emphasis");if(_&&!Lt(_)&&v){var b=_.style||(_.style={}),S=Um(v,Tn.makeFont(b)),C=p.x+i.x,T=p.y+i.y+s,x=!1;T+S.height>a.getHeight()&&(m.position="top",x=!0);var E=x?-5-S.height:s+10;C+S.width/2>a.getWidth()?(m.position=["100%",E],b.align="right"):C-S.width/2<0&&(m.position=[0,E],b.align="left")}})},t.prototype.updateView=function(n,r,a,o){re(this._features,function(i){i instanceof ni&&i.updateView&&i.updateView(i.model,r,a,o)})},t.prototype.remove=function(n,r){re(this._features,function(a){a instanceof ni&&a.remove&&a.remove(n,r)}),this.group.removeAll()},t.prototype.dispose=function(n,r){re(this._features,function(a){a instanceof ni&&a.dispose&&a.dispose(n,r)})},t.type="toolbox",t}(_r);function jWe(e){return e.indexOf("my")===0}var KWe=function(e){Ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(n,r){var a=this.model,o=a.get("name")||n.get("title.0.text")||"echarts",i=r.getZr().painter.getType()==="svg",s=i?"svg":a.get("type",!0)||"png",l=r.getConnectedDataURL({type:s,backgroundColor:a.get("backgroundColor",!0)||n.get("backgroundColor")||"#fff",connectedBackgroundColor:a.get("connectedBackgroundColor"),excludeComponents:a.get("excludeComponents"),pixelRatio:a.get("pixelRatio")}),u=Ht.browser;if(typeof MouseEvent=="function"&&(u.newEdge||!u.ie&&!u.edge)){var c=document.createElement("a");c.download=o+"."+s,c.target="_blank",c.href=l;var f=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});c.dispatchEvent(f)}else if(window.navigator.msSaveOrOpenBlob||i){var h=l.split(","),d=h[0].indexOf("base64")>-1,p=i?decodeURIComponent(h[1]):h[1];d&&(p=window.atob(p));var v=o+"."+s;if(window.navigator.msSaveOrOpenBlob){for(var g=p.length,m=new Uint8Array(g);g--;)m[g]=p.charCodeAt(g);var w=new Blob([m]);window.navigator.msSaveOrOpenBlob(w,v)}else{var _=document.createElement("iframe");document.body.appendChild(_);var b=_.contentWindow,S=b.document;S.open("image/svg+xml","replace"),S.write(p),S.close(),b.focus(),S.execCommand("SaveAs",!0,v),document.body.removeChild(_)}}else{var C=a.get("lang"),T='',x=window.open();x.document.write(T),x.document.title=o}},t.getDefaultOption=function(n){var r={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:n.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:n.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return r},t}(ni),C7="__ec_magicType_stack__",GWe=[["line","bar"],["stack"]],qWe=function(e){Ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getIcons=function(){var n=this.model,r=n.get("icon"),a={};return re(n.get("type"),function(o){r[o]&&(a[o]=r[o])}),a},t.getDefaultOption=function(n){var r={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:n.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return r},t.prototype.onclick=function(n,r,a){var o=this.model,i=o.get(["seriesIndex",a]);if(T7[a]){var s={series:[]},l=function(f){var h=f.subType,d=f.id,p=T7[a](h,d,f,o);p&&(Ut(p,f.option),s.series.push(p));var v=f.coordinateSystem;if(v&&v.type==="cartesian2d"&&(a==="line"||a==="bar")){var g=v.getAxesByScale("ordinal")[0];if(g){var m=g.dim,w=m+"Axis",_=f.getReferringComponents(w,kr).models[0],b=_.componentIndex;s[w]=s[w]||[];for(var S=0;S<=b;S++)s[w][b]=s[w][b]||{};s[w][b].boundaryGap=a==="bar"}}};re(GWe,function(f){tn(f,a)>=0&&re(f,function(h){o.setIconStatus(h,"normal")})}),o.setIconStatus(a,"emphasis"),n.eachComponent({mainType:"series",query:i==null?null:{seriesIndex:i}},l);var u,c=a;a==="stack"&&(u=qt({stack:o.option.title.tiled,tiled:o.option.title.stack},o.option.title),o.get(["iconStatus",a])!=="emphasis"&&(c="tiled")),r.dispatchAction({type:"changeMagicType",currentType:c,newOption:s,newTitle:u,featureName:"magicType"})}},t}(ni),T7={line:function(e,t,n,r){if(e==="bar")return qt({id:t,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","line"])||{},!0)},bar:function(e,t,n,r){if(e==="line")return qt({id:t,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","bar"])||{},!0)},stack:function(e,t,n,r){var a=n.get("stack")===C7;if(e==="line"||e==="bar")return r.setIconStatus("stack",a?"normal":"emphasis"),qt({id:t,stack:a?"":C7},r.get(["option","stack"])||{},!0)}};Mi({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(e,t){t.mergeOption(e.newOption)});var gS=new Array(60).join("-"),xh=" ";function YWe(e){var t={},n=[],r=[];return e.eachRawSeries(function(a){var o=a.coordinateSystem;if(o&&(o.type==="cartesian2d"||o.type==="polar")){var i=o.getBaseAxis();if(i.type==="category"){var s=i.dim+"_"+i.index;t[s]||(t[s]={categoryAxis:i,valueAxis:o.getOtherAxis(i),series:[]},r.push({axisDim:i.dim,axisIndex:i.index})),t[s].series.push(a)}else n.push(a)}else n.push(a)}),{seriesGroupByCategoryAxis:t,other:n,meta:r}}function XWe(e){var t=[];return re(e,function(n,r){var a=n.categoryAxis,o=n.valueAxis,i=o.dim,s=[" "].concat(lt(n.series,function(d){return d.name})),l=[a.model.getCategories()];re(n.series,function(d){var p=d.getRawData();l.push(d.getRawData().mapArray(p.mapDimension(i),function(v){return v}))});for(var u=[s.join(xh)],c=0;c=0)return!0}var TA=new RegExp("["+xh+"]+","g");function eUe(e){for(var t=e.split(/\n+/g),n=v_(t.shift()).split(TA),r=[],a=lt(n,function(l){return{name:l,data:[]}}),o=0;o=0;o--){var i=n[o];if(i[a])break}if(o<0){var s=e.queryComponents({mainType:"dataZoom",subType:"select",id:a})[0];if(s){var l=s.getPercentRange();n[0][a]={dataZoomId:a,start:l[0],end:l[1]}}}}),n.push(t)}function iUe(e){var t=_P(e),n=t[t.length-1];t.length>1&&t.pop();var r={};return FZ(n,function(a,o){for(var i=t.length-1;i>=0;i--)if(a=t[i][o],a){r[o]=a;break}}),r}function sUe(e){VZ(e).snapshots=null}function lUe(e){return _P(e).length}function _P(e){var t=VZ(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var uUe=function(e){Ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(n,r){sUe(n),r.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(n){var r={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:n.getLocaleModel().get(["toolbox","restore","title"])};return r},t}(ni);Mi({type:"restore",event:"restore",update:"prepareAndUpdate"},function(e,t){t.resetOption("recreate")});var cUe=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],zZ=function(){function e(t,n,r){var a=this;this._targetInfoList=[];var o=x7(n,t);re(fUe,function(i,s){(!r||!r.include||tn(r.include,s)>=0)&&i(o,a._targetInfoList)})}return e.prototype.setOutputRanges=function(t,n){return this.matchOutputRanges(t,n,function(r,a,o){if((r.coordRanges||(r.coordRanges=[])).push(a),!r.coordRange){r.coordRange=a;var i=zT[r.brushType](0,o,a);r.__rangeOffset={offset:M7[r.brushType](i.values,r.range,[1,1]),xyMinMax:i.xyMinMax}}}),t},e.prototype.matchOutputRanges=function(t,n,r){re(t,function(a){var o=this.findTargetInfo(a,n);o&&o!==!0&&re(o.coordSyses,function(i){var s=zT[a.brushType](1,i,a.range,!0);r(a,s.values,i,n)})},this)},e.prototype.setInputRanges=function(t,n){re(t,function(r){var a=this.findTargetInfo(r,n);if(r.range=r.range||[],a&&a!==!0){r.panelId=a.panelId;var o=zT[r.brushType](0,a.coordSys,r.coordRange),i=r.__rangeOffset;r.range=i?M7[r.brushType](o.values,i.offset,dUe(o.xyMinMax,i.xyMinMax)):o.values}},this)},e.prototype.makePanelOpts=function(t,n){return lt(this._targetInfoList,function(r){var a=r.getPanelRect();return{panelId:r.panelId,defaultBrushType:n?n(r):null,clipPath:Aze(a),isTargetByCursor:Oze(a,t,r.coordSysModel),getLinearBrushOtherExtent:Mze(a)}})},e.prototype.controlSeries=function(t,n,r){var a=this.findTargetInfo(t,r);return a===!0||a&&tn(a.coordSyses,n.coordinateSystem)>=0},e.prototype.findTargetInfo=function(t,n){for(var r=this._targetInfoList,a=x7(n,t),o=0;oe[1]&&e.reverse(),e}function x7(e,t){return Rv(e,t,{includeMainTypes:cUe})}var fUe={grid:function(e,t){var n=e.xAxisModels,r=e.yAxisModels,a=e.gridModels,o=Dt(),i={},s={};!n&&!r&&!a||(re(n,function(l){var u=l.axis.grid.model;o.set(u.id,u),i[u.id]=!0}),re(r,function(l){var u=l.axis.grid.model;o.set(u.id,u),s[u.id]=!0}),re(a,function(l){o.set(l.id,l),i[l.id]=!0,s[l.id]=!0}),o.each(function(l){var u=l.coordinateSystem,c=[];re(u.getCartesians(),function(f,h){(tn(n,f.getAxis("x").model)>=0||tn(r,f.getAxis("y").model)>=0)&&c.push(f)}),t.push({panelId:"grid--"+l.id,gridModel:l,coordSysModel:l,coordSys:c[0],coordSyses:c,getPanelRect:k7.grid,xAxisDeclared:i[l.id],yAxisDeclared:s[l.id]})}))},geo:function(e,t){re(e.geoModels,function(n){var r=n.coordinateSystem;t.push({panelId:"geo--"+n.id,geoModel:n,coordSysModel:n,coordSys:r,coordSyses:[r],getPanelRect:k7.geo})})}},E7=[function(e,t){var n=e.xAxisModel,r=e.yAxisModel,a=e.gridModel;return!a&&n&&(a=n.axis.grid.model),!a&&r&&(a=r.axis.grid.model),a&&a===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],k7={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(Jl(e)),t}},zT={lineX:dn(A7,0),lineY:dn(A7,1),rect:function(e,t,n,r){var a=e?t.pointToData([n[0][0],n[1][0]],r):t.dataToPoint([n[0][0],n[1][0]],r),o=e?t.pointToData([n[0][1],n[1][1]],r):t.dataToPoint([n[0][1],n[1][1]],r),i=[xA([a[0],o[0]]),xA([a[1],o[1]])];return{values:i,xyMinMax:i}},polygon:function(e,t,n,r){var a=[[1/0,-1/0],[1/0,-1/0]],o=lt(n,function(i){var s=e?t.pointToData(i,r):t.dataToPoint(i,r);return a[0][0]=Math.min(a[0][0],s[0]),a[1][0]=Math.min(a[1][0],s[1]),a[0][1]=Math.max(a[0][1],s[0]),a[1][1]=Math.max(a[1][1],s[1]),s});return{values:o,xyMinMax:a}}};function A7(e,t,n,r){var a=n.getAxis(["x","y"][e]),o=xA(lt([0,1],function(s){return t?a.coordToData(a.toLocalCoord(r[s]),!0):a.toGlobalCoord(a.dataToCoord(r[s]))})),i=[];return i[e]=o,i[1-e]=[NaN,NaN],{values:o,xyMinMax:i}}var M7={lineX:dn(O7,0),lineY:dn(O7,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return lt(e,function(r,a){return[r[0]-n[0]*t[a][0],r[1]-n[1]*t[a][1]]})}};function O7(e,t,n,r){return[t[0]-r[e]*n[0],t[1]-r[e]*n[1]]}function dUe(e,t){var n=P7(e),r=P7(t),a=[n[0]/r[0],n[1]/r[1]];return isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a}function P7(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var EA=re,hUe=xDe("toolbox-dataZoom_"),pUe=function(e){Ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(n,r,a,o){this._brushController||(this._brushController=new bze(a.getZr()),this._brushController.on("brush",Tt(this._onBrush,this)).mount()),mUe(n,r,this,o,a),gUe(n,r)},t.prototype.onclick=function(n,r,a){vUe[a].call(this)},t.prototype.remove=function(n,r){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(n,r){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(n){var r=n.areas;if(!n.isEnd||!r.length)return;var a={},o=this.ecModel;this._brushController.updateCovers([]);var i=new zZ(wP(this.model),o,{include:["grid"]});i.matchOutputRanges(r,o,function(u,c,f){if(f.type==="cartesian2d"){var h=u.brushType;h==="rect"?(s("x",f,c[0]),s("y",f,c[1])):s({lineX:"x",lineY:"y"}[h],f,c)}}),oUe(o,a),this._dispatchZoomAction(a);function s(u,c,f){var h=c.getAxis(u),d=h.model,p=l(u,d,o),v=p.findRepresentativeAxisProxy(d).getMinMaxSpan();(v.minValueSpan!=null||v.maxValueSpan!=null)&&(f=op(0,f.slice(),h.scale.getExtent(),0,v.minValueSpan,v.maxValueSpan)),p&&(a[p.id]={dataZoomId:p.id,startValue:f[0],endValue:f[1]})}function l(u,c,f){var h;return f.eachComponent({mainType:"dataZoom",subType:"select"},function(d){var p=d.getAxisModel(u,c.componentIndex);p&&(h=d)}),h}},t.prototype._dispatchZoomAction=function(n){var r=[];EA(n,function(a,o){r.push(Pt(a))}),r.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:r})},t.getDefaultOption=function(n){var r={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:n.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return r},t}(ni),vUe={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(iUe(this.ecModel))}};function wP(e){var t={xAxisIndex:e.get("xAxisIndex",!0),yAxisIndex:e.get("yAxisIndex",!0),xAxisId:e.get("xAxisId",!0),yAxisId:e.get("yAxisId",!0)};return t.xAxisIndex==null&&t.xAxisId==null&&(t.xAxisIndex="all"),t.yAxisIndex==null&&t.yAxisId==null&&(t.yAxisIndex="all"),t}function gUe(e,t){e.setIconStatus("back",lUe(t)>1?"emphasis":"normal")}function mUe(e,t,n,r,a){var o=n._isZoomActive;r&&r.type==="takeGlobalCursor"&&(o=r.key==="dataZoomSelect"?r.dataZoomSelectActive:!1),n._isZoomActive=o,e.setIconStatus("zoom",o?"emphasis":"normal");var i=new zZ(wP(e),t,{include:["grid"]}),s=i.makePanelOpts(a,function(l){return l.xAxisDeclared&&!l.yAxisDeclared?"lineX":!l.xAxisDeclared&&l.yAxisDeclared?"lineY":"rect"});n._brushController.setPanels(s).enableBrush(o&&s.length?{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()}:!1)}nNe("dataZoom",function(e){var t=e.getComponent("toolbox",0),n=["feature","dataZoom"];if(!t||t.get(n)==null)return;var r=t.getModel(n),a=[],o=wP(r),i=Rv(e,o);EA(i.xAxisModels,function(l){return s(l,"xAxis","xAxisIndex")}),EA(i.yAxisModels,function(l){return s(l,"yAxis","yAxisIndex")});function s(l,u,c){var f=l.componentIndex,h={type:"select",$fromToolbox:!0,filterMode:r.get("filterMode",!0)||"filter",id:hUe+u+f};h[c]=f,a.push(h)}return a});function yUe(e){e.registerComponentModel(HWe),e.registerComponentView(UWe),Fp("saveAsImage",KWe),Fp("magicType",qWe),Fp("dataView",rUe),Fp("dataZoom",pUe),Fp("restore",uUe),Wa(zWe)}var bUe=function(e){Ye(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="tooltip",t.dependencies=["axisPointer"],t.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},t}(ln);function HZ(e){var t=e.get("confine");return t!=null?!!t:e.get("renderMode")==="richText"}function WZ(e){if(Ht.domSupported){for(var t=document.documentElement.style,n=0,r=e.length;n-1?(s+="top:50%",l+="translateY(-50%) rotate("+(u=o==="left"?-225:-45)+"deg)"):(s+="left:50%",l+="translateX(-50%) rotate("+(u=o==="top"?225:45)+"deg)");var c=u*Math.PI/180,f=i+a,h=f*Math.abs(Math.cos(c))+f*Math.abs(Math.sin(c)),d=Math.round(((h-Math.SQRT2*a)/2+Math.SQRT2*a-(h-f)/2)*100)/100;s+=";"+o+":-"+d+"px";var p=t+" solid "+a+"px;",v=["position:absolute;width:"+i+"px;height:"+i+"px;z-index:-1;",s+";"+l+";","border-bottom:"+p,"border-right:"+p,"background-color:"+r+";"];return'
'}function EUe(e,t){var n="cubic-bezier(0.23,1,0.32,1)",r=" "+e/2+"s "+n,a="opacity"+r+",visibility"+r;return t||(r=" "+e+"s "+n,a+=Ht.transformSupported?","+SP+r:",left"+r+",top"+r),SUe+":"+a}function R7(e,t,n){var r=e.toFixed(0)+"px",a=t.toFixed(0)+"px";if(!Ht.transformSupported)return n?"top:"+a+";left:"+r+";":[["top",a],["left",r]];var o=Ht.transform3dSupported,i="translate"+(o?"3d":"")+"("+r+","+a+(o?",0":"")+")";return n?"top:0;left:0;"+SP+":"+i+";":[["top",0],["left",0],[UZ,i]]}function kUe(e){var t=[],n=e.get("fontSize"),r=e.getTextColor();r&&t.push("color:"+r),t.push("font:"+e.getFont());var a=Ft(e.get("lineHeight"),Math.round(n*3/2));n&&t.push("line-height:"+a+"px");var o=e.get("textShadowColor"),i=e.get("textShadowBlur")||0,s=e.get("textShadowOffsetX")||0,l=e.get("textShadowOffsetY")||0;return o&&i&&t.push("text-shadow:"+s+"px "+l+"px "+i+"px "+o),re(["decoration","align"],function(u){var c=e.get(u);c&&t.push("text-"+u+":"+c)}),t.join(";")}function AUe(e,t,n){var r=[],a=e.get("transitionDuration"),o=e.get("backgroundColor"),i=e.get("shadowBlur"),s=e.get("shadowColor"),l=e.get("shadowOffsetX"),u=e.get("shadowOffsetY"),c=e.getModel("textStyle"),f=dY(e,"html"),h=l+"px "+u+"px "+i+"px "+s;return r.push("box-shadow:"+h),t&&a&&r.push(EUe(a,n)),o&&r.push("background-color:"+o),re(["width","color","radius"],function(d){var p="border-"+d,v=pO(p),g=e.get(v);g!=null&&r.push(p+":"+g+(d==="color"?"":"px"))}),r.push(kUe(c)),f!=null&&r.push("padding:"+Ef(f).join("px ")+"px"),r.join(";")+";"}function I7(e,t,n,r,a){var o=t&&t.painter;if(n){var i=o&&o.getViewportRoot();i&&X8e(e,i,n,r,a)}else{e[0]=r,e[1]=a;var s=o&&o.getViewportRootOffset();s&&(e[0]+=s.offsetLeft,e[1]+=s.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var MUe=function(){function e(t,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,Ht.wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var a=this._zr=t.getZr(),o=n.appendTo,i=o&&(yt(o)?document.querySelector(o):uf(o)?o:Lt(o)&&o(t.getDom()));I7(this._styleCoord,a,i,t.getWidth()/2,t.getHeight()/2),(i||t.getDom()).appendChild(r),this._api=t,this._container=i;var s=this;r.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},r.onmousemove=function(l){if(l=l||window.event,!s._enterable){var u=a.handler,c=a.painter.getViewportRoot();po(c,l,!0),u.dispatch("mousemove",l)}},r.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return e.prototype.update=function(t){if(!this._container){var n=this._api.getDom(),r=wUe(n,"position"),a=n.style;a.position!=="absolute"&&r!=="absolute"&&(a.position="relative")}var o=t.get("alwaysShowContent");o&&this._moveIfResized(),this._alwaysShowContent=o,this.el.className=t.get("className")||""},e.prototype.show=function(t,n){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var r=this.el,a=r.style,o=this._styleCoord;r.innerHTML?a.cssText=CUe+AUe(t,!this._firstShow,this._longHide)+R7(o[0],o[1],!0)+("border-color:"+df(n)+";")+(t.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):a.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},e.prototype.setContent=function(t,n,r,a,o){var i=this.el;if(t==null){i.innerHTML="";return}var s="";if(yt(o)&&r.get("trigger")==="item"&&!HZ(r)&&(s=xUe(r,a,o)),yt(t))i.innerHTML=t+s;else if(t){i.innerHTML="",ot(t)||(t=[t]);for(var l=0;l=0?this._tryShow(o,i):a==="leave"&&this._hide(i))},this))},t.prototype._keepShow=function(){var n=this._tooltipModel,r=this._ecModel,a=this._api,o=n.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&o!=="none"&&o!=="click"){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!a.isDisposed()&&i.manuallyShowTip(n,r,a,{x:i._lastX,y:i._lastY,dataByCoordSys:i._lastDataByCoordSys})})}},t.prototype.manuallyShowTip=function(n,r,a,o){if(!(o.from===this.uid||Ht.node||!a.getDom())){var i=$7(o,a);this._ticket="";var s=o.dataByCoordSys,l=$Ue(o,r,a);if(l){var u=l.el.getBoundingRect().clone();u.applyTransform(l.el.transform),this._tryShow({offsetX:u.x+u.width/2,offsetY:u.y+u.height/2,target:l.el,position:o.position,positionDefault:"bottom"},i)}else if(o.tooltip&&o.x!=null&&o.y!=null){var c=PUe;c.x=o.x,c.y=o.y,c.update(),on(c).tooltipConfig={name:null,option:o.tooltip},this._tryShow({offsetX:o.x,offsetY:o.y,target:c},i)}else if(s)this._tryShow({offsetX:o.x,offsetY:o.y,position:o.position,dataByCoordSys:s,tooltipOption:o.tooltipOption},i);else if(o.seriesIndex!=null){if(this._manuallyAxisShowTip(n,r,a,o))return;var f=OZ(o,r),h=f.point[0],d=f.point[1];h!=null&&d!=null&&this._tryShow({offsetX:h,offsetY:d,target:f.el,position:o.position,positionDefault:"bottom"},i)}else o.x!=null&&o.y!=null&&(a.dispatchAction({type:"updateAxisPointer",x:o.x,y:o.y}),this._tryShow({offsetX:o.x,offsetY:o.y,position:o.position,target:a.getZr().findHover(o.x,o.y).target},i))}},t.prototype.manuallyHideTip=function(n,r,a,o){var i=this._tooltipContent;this._tooltipModel&&i.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,o.from!==this.uid&&this._hide($7(o,a))},t.prototype._manuallyAxisShowTip=function(n,r,a,o){var i=o.seriesIndex,s=o.dataIndex,l=r.getComponent("axisPointer").coordSysAxesInfo;if(!(i==null||s==null||l==null)){var u=r.getSeriesByIndex(i);if(u){var c=u.getData(),f=Vp([c.getItemModel(s),u,(u.coordinateSystem||{}).model],this._tooltipModel);if(f.get("trigger")==="axis")return a.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:s,position:o.position}),!0}}},t.prototype._tryShow=function(n,r){var a=n.target,o=this._tooltipModel;if(o){this._lastX=n.offsetX,this._lastY=n.offsetY;var i=n.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,n);else if(a){var s=on(a);if(s.ssrType==="legend")return;this._lastDataByCoordSys=null;var l,u;bd(a,function(c){if(on(c).dataIndex!=null)return l=c,!0;if(on(c).tooltipConfig!=null)return u=c,!0},!0),l?this._showSeriesItemTooltip(n,l,r):u?this._showComponentItemTooltip(n,u,r):this._hide(r)}else this._lastDataByCoordSys=null,this._hide(r)}},t.prototype._showOrMove=function(n,r){var a=n.get("showDelay");r=Tt(r,this),clearTimeout(this._showTimout),a>0?this._showTimout=setTimeout(r,a):r()},t.prototype._showAxisTooltip=function(n,r){var a=this._ecModel,o=this._tooltipModel,i=[r.offsetX,r.offsetY],s=Vp([r.tooltipOption],o),l=this._renderMode,u=[],c=Ug("section",{blocks:[],noHeader:!0}),f=[],h=new iT;re(n,function(w){re(w.dataByAxis,function(_){var b=a.getComponent(_.axisDim+"Axis",_.axisIndex),S=_.value;if(!(!b||S==null)){var C=EZ(S,b.axis,a,_.seriesDataIndices,_.valueLabelOpt),T=Ug("section",{header:C,noHeader:!oi(C),sortBlocks:!0,blocks:[]});c.blocks.push(T),re(_.seriesDataIndices,function(x){var E=a.getSeriesByIndex(x.seriesIndex),k=x.dataIndexInside,A=E.getDataParams(k);if(!(A.dataIndex<0)){A.axisDim=_.axisDim,A.axisIndex=_.axisIndex,A.axisType=_.axisType,A.axisId=_.axisId,A.axisValue=KO(b.axis,{value:S}),A.axisValueLabel=C,A.marker=h.makeTooltipMarker("item",df(A.color),l);var P=XL(E.formatTooltip(k,!0,null)),$=P.frag;if($){var B=Vp([E],o).get("valueFormatter");T.blocks.push(B?Qe({valueFormatter:B},$):$)}P.text&&f.push(P.text),u.push(A)}})}})}),c.blocks.reverse(),f.reverse();var d=r.position,p=s.get("order"),v=t$(c,h,l,p,a.get("useUTC"),s.get("textStyle"));v&&f.unshift(v);var g=l==="richText"?` + +`:"
",m=f.join(g);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(n,u)?this._updatePosition(s,d,i[0],i[1],this._tooltipContent,u):this._showTooltipContent(s,m,u,Math.random()+"",i[0],i[1],d,null,h)})},t.prototype._showSeriesItemTooltip=function(n,r,a){var o=this._ecModel,i=on(r),s=i.seriesIndex,l=o.getSeriesByIndex(s),u=i.dataModel||l,c=i.dataIndex,f=i.dataType,h=u.getData(f),d=this._renderMode,p=n.positionDefault,v=Vp([h.getItemModel(c),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),g=v.get("trigger");if(!(g!=null&&g!=="item")){var m=u.getDataParams(c,f),w=new iT;m.marker=w.makeTooltipMarker("item",df(m.color),d);var _=XL(u.formatTooltip(c,!1,f)),b=v.get("order"),S=v.get("valueFormatter"),C=_.frag,T=C?t$(S?Qe({valueFormatter:S},C):C,w,d,b,o.get("useUTC"),v.get("textStyle")):_.text,x="item_"+u.name+"_"+c;this._showOrMove(v,function(){this._showTooltipContent(v,T,m,x,n.offsetX,n.offsetY,n.position,n.target,w)}),a({type:"showTip",dataIndexInside:c,dataIndex:h.getRawIndex(c),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(n,r,a){var o=this._renderMode==="html",i=on(r),s=i.tooltipConfig,l=s.option||{},u=l.encodeHTMLContent;if(yt(l)){var c=l;l={content:c,formatter:c},u=!0}u&&o&&l.content&&(l=Pt(l),l.content=Vr(l.content));var f=[l],h=this._ecModel.getComponent(i.componentMainType,i.componentIndex);h&&f.push(h),f.push({formatter:l.content});var d=n.positionDefault,p=Vp(f,this._tooltipModel,d?{position:d}:null),v=p.get("content"),g=Math.random()+"",m=new iT;this._showOrMove(p,function(){var w=Pt(p.get("formatterParams")||{});this._showTooltipContent(p,v,w,g,n.offsetX,n.offsetY,n.position,r,m)}),a({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(n,r,a,o,i,s,l,u,c){if(this._ticket="",!(!n.get("showContent")||!n.get("show"))){var f=this._tooltipContent;f.setEnterable(n.get("enterable"));var h=n.get("formatter");l=l||n.get("position");var d=r,p=this._getNearestPoint([i,s],a,n.get("trigger"),n.get("borderColor")),v=p.color;if(h)if(yt(h)){var g=n.ecModel.get("useUTC"),m=ot(a)?a[0]:a,w=m&&m.axisType&&m.axisType.indexOf("time")>=0;d=h,w&&(d=e0(m.axisValue,d,g)),d=vO(d,a,!0)}else if(Lt(h)){var _=Tt(function(b,S){b===this._ticket&&(f.setContent(S,c,n,v,l),this._updatePosition(n,l,i,s,f,a,u))},this);this._ticket=o,d=h(a,o,_)}else d=h;f.setContent(d,c,n,v,l),f.show(n,v),this._updatePosition(n,l,i,s,f,a,u)}},t.prototype._getNearestPoint=function(n,r,a,o){if(a==="axis"||ot(r))return{color:o||(this._renderMode==="html"?"#fff":"none")};if(!ot(r))return{color:o||r.color||r.borderColor}},t.prototype._updatePosition=function(n,r,a,o,i,s,l){var u=this._api.getWidth(),c=this._api.getHeight();r=r||n.get("position");var f=i.getSize(),h=n.get("align"),d=n.get("verticalAlign"),p=l&&l.getBoundingRect().clone();if(l&&p.applyTransform(l.transform),Lt(r)&&(r=r([a,o],s,i.el,p,{viewSize:[u,c],contentSize:f.slice()})),ot(r))a=an(r[0],u),o=an(r[1],c);else if(xt(r)){var v=r;v.width=f[0],v.height=f[1];var g=wi(v,{width:u,height:c});a=g.x,o=g.y,h=null,d=null}else if(yt(r)&&l){var m=LUe(r,p,f,n.get("borderWidth"));a=m[0],o=m[1]}else{var m=IUe(a,o,i,u,c,h?null:20,d?null:20);a=m[0],o=m[1]}if(h&&(a-=N7(h)?f[0]/2:h==="right"?f[0]:0),d&&(o-=N7(d)?f[1]/2:d==="bottom"?f[1]:0),HZ(n)){var m=DUe(a,o,i,u,c);a=m[0],o=m[1]}i.moveTo(a,o)},t.prototype._updateContentNotChangedOnAxis=function(n,r){var a=this._lastDataByCoordSys,o=this._cbParamsList,i=!!a&&a.length===n.length;return i&&re(a,function(s,l){var u=s.dataByAxis||[],c=n[l]||{},f=c.dataByAxis||[];i=i&&u.length===f.length,i&&re(u,function(h,d){var p=f[d]||{},v=h.seriesDataIndices||[],g=p.seriesDataIndices||[];i=i&&h.value===p.value&&h.axisType===p.axisType&&h.axisId===p.axisId&&v.length===g.length,i&&re(v,function(m,w){var _=g[w];i=i&&m.seriesIndex===_.seriesIndex&&m.dataIndex===_.dataIndex}),o&&re(h.seriesDataIndices,function(m){var w=m.seriesIndex,_=r[w],b=o[w];_&&b&&b.data!==_.data&&(i=!1)})})}),this._lastDataByCoordSys=n,this._cbParamsList=r,!!i},t.prototype._hide=function(n){this._lastDataByCoordSys=null,n({type:"hideTip",from:this.uid})},t.prototype.dispose=function(n,r){Ht.node||!r.getDom()||(Qb(this,"_updatePosition"),this._tooltipContent.dispose(),SA("itemTooltip",r))},t.type="tooltip",t}(_r);function Vp(e,t,n){var r=t.ecModel,a;n?(a=new Ln(n,r,r),a=new Ln(t.option,a,r)):a=t;for(var o=e.length-1;o>=0;o--){var i=e[o];i&&(i instanceof Ln&&(i=i.get("tooltip",!0)),yt(i)&&(i={formatter:i}),i&&(a=new Ln(i,a,r)))}return a}function $7(e,t){return e.dispatchAction||Tt(t.dispatchAction,t)}function IUe(e,t,n,r,a,o,i){var s=n.getSize(),l=s[0],u=s[1];return o!=null&&(e+l+o+2>r?e-=l+o:e+=o),i!=null&&(t+u+i>a?t-=u+i:t+=i),[e,t]}function DUe(e,t,n,r,a){var o=n.getSize(),i=o[0],s=o[1];return e=Math.min(e+i,r)-i,t=Math.min(t+s,a)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function LUe(e,t,n,r){var a=n[0],o=n[1],i=Math.ceil(Math.SQRT2*r)+8,s=0,l=0,u=t.width,c=t.height;switch(e){case"inside":s=t.x+u/2-a/2,l=t.y+c/2-o/2;break;case"top":s=t.x+u/2-a/2,l=t.y-o-i;break;case"bottom":s=t.x+u/2-a/2,l=t.y+c+i;break;case"left":s=t.x-a-i,l=t.y+c/2-o/2;break;case"right":s=t.x+u+i,l=t.y+c/2-o/2}return[s,l]}function N7(e){return e==="center"||e==="middle"}function $Ue(e,t,n){var r=WM(e).queryOptionMap,a=r.keys()[0];if(!(!a||a==="series")){var o=Km(t,a,r.get(a),{useDefault:!1,enableAll:!1,enableNone:!1}),i=o.models[0];if(i){var s=n.getViewOfComponentModel(i),l;if(s.group.traverse(function(u){var c=on(u).tooltipConfig;if(c&&c.name===e.name)return l=u,!0}),l)return{componentMainType:a,componentIndex:i.componentIndex,el:l}}}}function NUe(e){Wa(pP),e.registerComponentModel(bUe),e.registerComponentView(RUe),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},Tr),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},Tr)}var B7=re;function F7(e){if(e){for(var t in e)if(e.hasOwnProperty(t))return!0}}function V7(e,t,n){var r={};return B7(t,function(o){var i=r[o]=a();B7(e[o],function(s,l){if(Or.isValidType(l)){var u={type:l,visual:s};n&&n(u,o),i[l]=new Or(u),l==="opacity"&&(u=Pt(u),u.type="colorAlpha",i.__hidden.__alphaForOpacity=new Or(u))}})}),r;function a(){var o=function(){};o.prototype.__hidden=o.prototype;var i=new o;return i}}function BUe(e,t,n){var r;re(n,function(a){t.hasOwnProperty(a)&&F7(t[a])&&(r=!0)}),r&&re(n,function(a){t.hasOwnProperty(a)&&F7(t[a])?e[a]=Pt(t[a]):delete e[a]})}function NXe(e,t,n,r,a,o){var i={};re(e,function(f){var h=Or.prepareVisualTypes(t[f]);i[f]=h});var s;function l(f){return EO(n,s,f)}function u(f,h){SY(n,s,f,h)}n.each(c);function c(f,h){s=f;var d=n.getRawDataItem(s);if(!(d&&d.visualMap===!1))for(var p=r.call(a,f),v=t[p],g=i[p],m=0,w=g.length;m=0},t.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.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}},t}(ln),ed=dn,AA=re,ky=Rn,KZ=function(e){Ye(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!1,n}return t.prototype.init=function(){this.group.add(this._contentGroup=new ky),this.group.add(this._selectorGroup=new ky),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(n,r,a){var o=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!n.get("show",!0)){var i=n.get("align"),s=n.get("orient");(!i||i==="auto")&&(i=n.get("left")==="right"&&s==="vertical"?"right":"left");var l=n.get("selector",!0),u=n.get("selectorPosition",!0);l&&(!u||u==="auto")&&(u=s==="horizontal"?"end":"start"),this.renderInner(i,n,r,a,l,s,u);var c=n.getBoxLayoutParams(),f={width:a.getWidth(),height:a.getHeight()},h=n.get("padding"),d=wi(c,f,h),p=this.layoutInner(n,i,d,o,l,u),v=wi(Ut({width:p.width,height:p.height},c),f,h);this.group.x=v.x-p.x,this.group.y=v.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=BZ(p,n))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(n,r,a,o,i,s,l){var u=this.getContentGroup(),c=Dt(),f=r.get("selectedMode"),h=[];a.eachRawSeries(function(d){!d.get("legendHoverLink")&&h.push(d.id)}),AA(r.getData(),function(d,p){var v=d.get("name");if(!this.newlineDisabled&&(v===""||v===` +`)){var g=new ky;g.newline=!0,u.add(g);return}var m=a.getSeriesByName(v)[0];if(!c.get(v))if(m){var w=m.getData(),_=w.getVisual("legendLineStyle")||{},b=w.getVisual("legendIcon"),S=w.getVisual("style"),C=this._createItem(m,v,p,d,r,n,_,S,b,f,o);C.on("click",ed(z7,v,null,o,h)).on("mouseover",ed(MA,m.name,null,o,h)).on("mouseout",ed(OA,m.name,null,o,h)),a.ssr&&C.eachChild(function(T){var x=on(T);x.seriesIndex=m.seriesIndex,x.dataIndex=p,x.ssrType="legend"}),c.set(v,!0)}else a.eachRawSeries(function(T){if(!c.get(v)&&T.legendVisualProvider){var x=T.legendVisualProvider;if(!x.containName(v))return;var E=x.indexOfName(v),k=x.getItemVisual(E,"style"),A=x.getItemVisual(E,"legendIcon"),P=ga(k.fill);P&&P[3]===0&&(P[3]=.2,k=Qe(Qe({},k),{fill:hi(P,"rgba")}));var $=this._createItem(T,v,p,d,r,n,{},k,A,f,o);$.on("click",ed(z7,null,v,o,h)).on("mouseover",ed(MA,null,v,o,h)).on("mouseout",ed(OA,null,v,o,h)),a.ssr&&$.eachChild(function(B){var I=on(B);I.seriesIndex=T.seriesIndex,I.dataIndex=p,I.ssrType="legend"}),c.set(v,!0)}},this)},this),i&&this._createSelector(i,r,o,s,l)},t.prototype._createSelector=function(n,r,a,o,i){var s=this.getSelectorGroup();AA(n,function(u){var c=u.type,f=new Tn({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){a.dispatchAction({type:c==="all"?"legendAllSelect":"legendInverseSelect",legendId:r.id})}});s.add(f);var h=r.getModel("selectorLabel"),d=r.getModel(["emphasis","selectorLabel"]);Xm(f,{normal:h,emphasis:d},{defaultText:u.title}),Bg(f)})},t.prototype._createItem=function(n,r,a,o,i,s,l,u,c,f,h){var d=n.visualDrawType,p=i.get("itemWidth"),v=i.get("itemHeight"),g=i.isSelected(r),m=o.get("symbolRotate"),w=o.get("symbolKeepAspect"),_=o.get("icon");c=_||c||"roundRect";var b=UUe(c,o,l,u,d,g,h),S=new ky,C=o.getModel("textStyle");if(Lt(n.getLegendIcon)&&(!_||_==="inherit"))S.add(n.getLegendIcon({itemWidth:p,itemHeight:v,icon:c,iconRotate:m,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:w}));else{var T=_==="inherit"&&n.getData().getVisual("symbol")?m==="inherit"?n.getData().getVisual("symbolRotate"):m:0;S.add(jUe({itemWidth:p,itemHeight:v,icon:c,iconRotate:T,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:w}))}var x=s==="left"?p+5:-5,E=s,k=i.get("formatter"),A=r;yt(k)&&k?A=k.replace("{name}",r!=null?r:""):Lt(k)&&(A=k(r));var P=g?C.getTextColor():o.get("inactiveColor");S.add(new Tn({style:ma(C,{text:A,x,y:v/2,fill:P,align:E,verticalAlign:"middle"},{inheritColor:P})}));var $=new Pn({shape:S.getBoundingRect(),style:{fill:"transparent"}}),B=o.getModel("tooltip");return B.get("show")&&ep({el:$,componentModel:i,itemName:r,itemTooltipOption:B.option}),S.add($),S.eachChild(function(I){I.silent=!0}),$.silent=!f,this.getContentGroup().add(S),Bg(S),S.__legendDataIndex=a,S},t.prototype.layoutInner=function(n,r,a,o,i,s){var l=this.getContentGroup(),u=this.getSelectorGroup();Hc(n.get("orient"),l,n.get("itemGap"),a.width,a.height);var c=l.getBoundingRect(),f=[-c.x,-c.y];if(u.markRedraw(),l.markRedraw(),i){Hc("horizontal",u,n.get("selectorItemGap",!0));var h=u.getBoundingRect(),d=[-h.x,-h.y],p=n.get("selectorButtonGap",!0),v=n.getOrient().index,g=v===0?"width":"height",m=v===0?"height":"width",w=v===0?"y":"x";s==="end"?d[v]+=c[g]+p:f[v]+=h[g]+p,d[1-v]+=c[m]/2-h[m]/2,u.x=d[0],u.y=d[1],l.x=f[0],l.y=f[1];var _={x:0,y:0};return _[g]=c[g]+p+h[g],_[m]=Math.max(c[m],h[m]),_[w]=Math.min(0,h[w]+d[1-v]),_}else return l.x=f[0],l.y=f[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(_r);function UUe(e,t,n,r,a,o,i){function s(g,m){g.lineWidth==="auto"&&(g.lineWidth=m.lineWidth>0?2:0),AA(g,function(w,_){g[_]==="inherit"&&(g[_]=m[_])})}var l=t.getModel("itemStyle"),u=l.getItemStyle(),c=e.lastIndexOf("empty",0)===0?"fill":"stroke",f=l.getShallow("decal");u.decal=!f||f==="inherit"?r.decal:Zk(f,i),u.fill==="inherit"&&(u.fill=r[a]),u.stroke==="inherit"&&(u.stroke=r[c]),u.opacity==="inherit"&&(u.opacity=(a==="fill"?r:n).opacity),s(u,r);var h=t.getModel("lineStyle"),d=h.getLineStyle();if(s(d,n),u.fill==="auto"&&(u.fill=r.fill),u.stroke==="auto"&&(u.stroke=r.fill),d.stroke==="auto"&&(d.stroke=r.fill),!o){var p=t.get("inactiveBorderWidth"),v=u[c];u.lineWidth=p==="auto"?r.lineWidth>0&&v?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),d.stroke=h.get("inactiveColor"),d.lineWidth=h.get("inactiveWidth")}return{itemStyle:u,lineStyle:d}}function jUe(e){var t=e.icon||"roundRect",n=No(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return n.setStyle(e.itemStyle),n.rotation=(e.iconRotate||0)*Math.PI/180,n.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n}function z7(e,t,n,r){OA(e,t,n,r),n.dispatchAction({type:"legendToggleSelect",name:e!=null?e:t}),MA(e,t,n,r)}function GZ(e){for(var t=e.getZr().storage.getDisplayList(),n,r=0,a=t.length;ra[i],g=[-d.x,-d.y];r||(g[o]=c[u]);var m=[0,0],w=[-p.x,-p.y],_=Ft(n.get("pageButtonGap",!0),n.get("itemGap",!0));if(v){var b=n.get("pageButtonPosition",!0);b==="end"?w[o]+=a[i]-p[i]:m[o]+=p[i]+_}w[1-o]+=d[s]/2-p[s]/2,c.setPosition(g),f.setPosition(m),h.setPosition(w);var S={x:0,y:0};if(S[i]=v?a[i]:d[i],S[s]=Math.max(d[s],p[s]),S[l]=Math.min(0,p[l]+w[1-o]),f.__rectSize=a[i],v){var C={x:0,y:0};C[i]=Math.max(a[i]-p[i]-_,0),C[s]=S[s],f.setClipPath(new Pn({shape:C})),f.__rectSize=C[i]}else h.eachChild(function(x){x.attr({invisible:!0,silent:!0})});var T=this._getPageInfo(n);return T.pageIndex!=null&&xr(c,{x:T.contentPosition[0],y:T.contentPosition[1]},v?n:null),this._updatePageInfoView(n,T),S},t.prototype._pageGo=function(n,r,a){var o=this._getPageInfo(r)[n];o!=null&&a.dispatchAction({type:"legendScroll",scrollDataIndex:o,legendId:r.id})},t.prototype._updatePageInfoView=function(n,r){var a=this._controllerGroup;re(["pagePrev","pageNext"],function(c){var f=c+"DataIndex",h=r[f]!=null,d=a.childOfName(c);d&&(d.setStyle("fill",h?n.get("pageIconColor",!0):n.get("pageIconInactiveColor",!0)),d.cursor=h?"pointer":"default")});var o=a.childOfName("pageText"),i=n.get("pageFormatter"),s=r.pageIndex,l=s!=null?s+1:0,u=r.pageCount;o&&i&&o.setStyle("text",yt(i)?i.replace("{current}",l==null?"":l+"").replace("{total}",u==null?"":u+""):i({current:l,total:u}))},t.prototype._getPageInfo=function(n){var r=n.get("scrollDataIndex",!0),a=this.getContentGroup(),o=this._containerGroup.__rectSize,i=n.getOrient().index,s=HT[i],l=WT[i],u=this._findTargetItemIndex(r),c=a.children(),f=c[u],h=c.length,d=h?1:0,p={contentPosition:[a.x,a.y],pageCount:d,pageIndex:d-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!f)return p;var v=b(f);p.contentPosition[i]=-v.s;for(var g=u+1,m=v,w=v,_=null;g<=h;++g)_=b(c[g]),(!_&&w.e>m.s+o||_&&!S(_,m.s))&&(w.i>m.i?m=w:m=_,m&&(p.pageNextDataIndex==null&&(p.pageNextDataIndex=m.i),++p.pageCount)),w=_;for(var g=u-1,m=v,w=v,_=null;g>=-1;--g)_=b(c[g]),(!_||!S(w,_.s))&&m.i=T&&C.s<=T+o}},t.prototype._findTargetItemIndex=function(n){if(!this._showController)return 0;var r,a=this.getContentGroup(),o;return a.eachChild(function(i,s){var l=i.__legendDataIndex;o==null&&l!=null&&(o=s),l===n&&(r=s)}),r!=null?r:o},t.type="legend.scroll",t}(KZ);function XUe(e){e.registerAction("legendScroll","legendscroll",function(t,n){var r=t.scrollDataIndex;r!=null&&n.eachComponent({mainType:"legend",subType:"scroll",query:t},function(a){a.setScrollDataIndex(r)})})}function ZUe(e){Wa(qZ),e.registerComponentModel(qUe),e.registerComponentView(YUe),XUe(e)}function JUe(e){Wa(qZ),Wa(ZUe)}var QUe=function(e){Ye(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="dataZoom.inside",t.defaultOption=tp(em.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t}(em),CP=Nn();function eje(e,t,n){CP(e).coordSysRecordMap.each(function(r){var a=r.dataZoomInfoMap.get(t.uid);a&&(a.getRange=n)})}function tje(e,t){for(var n=CP(e).coordSysRecordMap,r=n.keys(),a=0;ar[n+t]&&(t=s),a=a&&i.get("preventDefaultMouseMove",!0)}),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!a}}}function ije(e){e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,function(t,n){var r=CP(n),a=r.coordSysRecordMap||(r.coordSysRecordMap=Dt());a.each(function(o){o.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(o){var i=LZ(o);re(i.infoList,function(s){var l=s.model.uid,u=a.get(l)||a.set(l,nje(n,s.model)),c=u.dataZoomInfoMap||(u.dataZoomInfoMap=Dt());c.set(o.uid,{dzReferCoordSysInfo:s,model:o,getRange:null})})}),a.each(function(o){var i=o.controller,s,l=o.dataZoomInfoMap;if(l){var u=l.keys()[0];u!=null&&(s=l.get(u))}if(!s){YZ(a,o);return}var c=oje(l);i.enable(c.controlType,c.opt),i.setPointerChecker(o.containsPoint),sS(o,"dispatchAction",s.model.get("throttle",!0),"fixRate")})})}var sje=function(e){Ye(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="dataZoom.inside",n}return t.prototype.render=function(n,r,a){if(e.prototype.render.apply(this,arguments),n.noTarget()){this._clear();return}this.range=n.getPercentRange(),eje(a,n,{pan:Tt(UT.pan,this),zoom:Tt(UT.zoom,this),scrollMove:Tt(UT.scrollMove,this)})},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){tje(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t}(yP),UT={zoom:function(e,t,n,r){var a=this.range,o=a.slice(),i=e.axisModels[0];if(i){var s=jT[t](null,[r.originX,r.originY],i,n,e),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/r.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(op(0,o,[0,100],0,c.minSpan,c.maxSpan),this.range=o,a[0]!==o[0]||a[1]!==o[1])return o}},pan:j7(function(e,t,n,r,a,o){var i=jT[r]([o.oldX,o.oldY],[o.newX,o.newY],t,a,n);return i.signal*(e[1]-e[0])*i.pixel/i.pixelLength}),scrollMove:j7(function(e,t,n,r,a,o){var i=jT[r]([0,0],[o.scrollDelta,o.scrollDelta],t,a,n);return i.signal*(e[1]-e[0])*o.scrollDelta})};function j7(e){return function(t,n,r,a){var o=this.range,i=o.slice(),s=t.axisModels[0];if(s){var l=e(i,s,t,n,r,a);if(op(l,i,[0,100],"all"),this.range=i,o[0]!==i[0]||o[1]!==i[1])return i}}}var jT={grid:function(e,t,n,r,a){var o=n.axis,i={},s=a.model.coordinateSystem.getRect();return e=e||[0,0],o.dim==="x"?(i.pixel=t[0]-e[0],i.pixelLength=s.width,i.pixelStart=s.x,i.signal=o.inverse?1:-1):(i.pixel=t[1]-e[1],i.pixelLength=s.height,i.pixelStart=s.y,i.signal=o.inverse?-1:1),i},polar:function(e,t,n,r,a){var o=n.axis,i={},s=a.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),n.mainType==="radiusAxis"?(i.pixel=t[0]-e[0],i.pixelLength=l[1]-l[0],i.pixelStart=l[0],i.signal=o.inverse?1:-1):(i.pixel=t[1]-e[1],i.pixelLength=u[1]-u[0],i.pixelStart=u[0],i.signal=o.inverse?-1:1),i},singleAxis:function(e,t,n,r,a){var o=n.axis,i=a.model.coordinateSystem.getRect(),s={};return e=e||[0,0],o.orient==="horizontal"?(s.pixel=t[0]-e[0],s.pixelLength=i.width,s.pixelStart=i.x,s.signal=o.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=i.height,s.pixelStart=i.y,s.signal=o.inverse?-1:1),s}};function lje(e){bP(e),e.registerComponentModel(QUe),e.registerComponentView(sje),ije(e)}var uje=function(e){Ye(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=tp(em.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:{handleLabel:{show:!0},handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),t}(em),Hp=Pn,K7=7,cje=1,KT=30,fje=7,Wp="horizontal",G7="vertical",dje=5,hje=["line","bar","candlestick","scatter"],pje={easing:"cubicOut",duration:100,delay:0},vje=function(e){Ye(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._displayables={},n}return t.prototype.init=function(n,r){this.api=r,this._onBrush=Tt(this._onBrush,this),this._onBrushEnd=Tt(this._onBrushEnd,this)},t.prototype.render=function(n,r,a,o){if(e.prototype.render.apply(this,arguments),sS(this,"_dispatchZoomAction",n.get("throttle"),"fixRate"),this._orient=n.getOrient(),n.get("show")===!1){this.group.removeAll();return}if(n.noTarget()){this._clear(),this.group.removeAll();return}(!o||o.type!=="dataZoom"||o.from!==this.uid)&&this._buildView(),this._updateView()},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){Qb(this,"_dispatchZoomAction");var n=this.api.getZr();n.off("mousemove",this._onBrush),n.off("mouseup",this._onBrushEnd)},t.prototype._buildView=function(){var n=this.group;n.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var r=this._displayables.sliderGroup=new Rn;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),n.add(r),this._positionGroup()},t.prototype._resetLocation=function(){var n=this.dataZoomModel,r=this.api,a=n.get("brushSelect"),o=a?fje:0,i=this._findCoordRect(),s={width:r.getWidth(),height:r.getHeight()},l=this._orient===Wp?{right:s.width-i.x-i.width,top:s.height-KT-K7-o,width:i.width,height:KT}:{right:K7,top:i.y,width:KT,height:i.height},u=t0(n.option);re(["right","top","width","height"],function(f){u[f]==="ph"&&(u[f]=l[f])});var c=wi(u,s);this._location={x:c.x,y:c.y},this._size=[c.width,c.height],this._orient===G7&&this._size.reverse()},t.prototype._positionGroup=function(){var n=this.group,r=this._location,a=this._orient,o=this.dataZoomModel.getFirstTargetAxisModel(),i=o&&o.get("inverse"),s=this._displayables.sliderGroup,l=(this._dataShadowInfo||{}).otherAxisInverse;s.attr(a===Wp&&!i?{scaleY:l?1:-1,scaleX:1}:a===Wp&&i?{scaleY:l?1:-1,scaleX:-1}:a===G7&&!i?{scaleY:l?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:l?-1:1,scaleX:-1,rotation:Math.PI/2});var u=n.getBoundingRect([s]);n.x=r.x-u.x,n.y=r.y-u.y,n.markRedraw()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var n=this.dataZoomModel,r=this._size,a=this._displayables.sliderGroup,o=n.get("brushSelect");a.add(new Hp({silent:!0,shape:{x:0,y:0,width:r[0],height:r[1]},style:{fill:n.get("backgroundColor")},z2:-40}));var i=new Hp({shape:{x:0,y:0,width:r[0],height:r[1]},style:{fill:"transparent"},z2:0,onclick:Tt(this._onClickPanel,this)}),s=this.api.getZr();o?(i.on("mousedown",this._onBrushStart,this),i.cursor="crosshair",s.on("mousemove",this._onBrush),s.on("mouseup",this._onBrushEnd)):(s.off("mousemove",this._onBrush),s.off("mouseup",this._onBrushEnd)),a.add(i)},t.prototype._renderDataShadow=function(){var n=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!n)return;var r=this._size,a=this._shadowSize||[],o=n.series,i=o.getRawData(),s=o.getShadowDim&&o.getShadowDim(),l=s&&i.getDimensionInfo(s)?o.getShadowDim():n.otherDim;if(l==null)return;var u=this._shadowPolygonPts,c=this._shadowPolylinePts;if(i!==this._shadowData||l!==this._shadowDim||r[0]!==a[0]||r[1]!==a[1]){var f=i.getDataExtent(l),h=(f[1]-f[0])*.3;f=[f[0]-h,f[1]+h];var d=[0,r[1]],p=[0,r[0]],v=[[r[0],0],[0,0]],g=[],m=p[1]/(i.count()-1),w=0,_=Math.round(i.count()/r[0]),b;i.each([l],function(E,k){if(_>0&&k%_){w+=m;return}var A=E==null||isNaN(E)||E==="",P=A?0:Hn(E,f,d,!0);A&&!b&&k?(v.push([v[v.length-1][0],0]),g.push([g[g.length-1][0],0])):!A&&b&&(v.push([w,0]),g.push([w,0])),v.push([w,P]),g.push([w,P]),w+=m,b=A}),u=this._shadowPolygonPts=v,c=this._shadowPolylinePts=g}this._shadowData=i,this._shadowDim=l,this._shadowSize=[r[0],r[1]];var S=this.dataZoomModel;function C(E){var k=S.getModel(E?"selectedDataBackground":"dataBackground"),A=new Rn,P=new xf({shape:{points:u},segmentIgnoreThreshold:1,style:k.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),$=new wu({shape:{points:c},segmentIgnoreThreshold:1,style:k.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return A.add(P),A.add($),A}for(var T=0;T<3;T++){var x=C(T===1);this._displayables.sliderGroup.add(x),this._displayables.dataShadowSegs.push(x)}},t.prototype._prepareDataShadowInfo=function(){var n=this.dataZoomModel,r=n.get("showDataShadow");if(r!==!1){var a,o=this.ecModel;return n.eachTargetAxis(function(i,s){var l=n.getAxisProxy(i,s).getTargetSeriesModels();re(l,function(u){if(!a&&!(r!==!0&&tn(hje,u.get("type"))<0)){var c=o.getComponent(Wl(i),s).axis,f=gje(i),h,d=u.coordinateSystem;f!=null&&d.getOtherAxis&&(h=d.getOtherAxis(c).inverse),f=u.getData().mapDimension(f),a={thisAxis:c,series:u,thisDim:i,otherDim:f,otherAxisInverse:h}}},this)},this),a}},t.prototype._renderHandle=function(){var n=this.group,r=this._displayables,a=r.handles=[null,null],o=r.handleLabels=[null,null],i=this._displayables.sliderGroup,s=this._size,l=this.dataZoomModel,u=this.api,c=l.get("borderRadius")||0,f=l.get("brushSelect"),h=r.filler=new Hp({silent:f,style:{fill:l.get("fillerColor")},textConfig:{position:"inside"}});i.add(h),i.add(new Hp({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:s[0],height:s[1],r:c},style:{stroke:l.get("dataBackgroundColor")||l.get("borderColor"),lineWidth:cje,fill:"rgba(0,0,0,0)"}})),re([0,1],function(_){var b=l.get("handleIcon");!t_[b]&&b.indexOf("path://")<0&&b.indexOf("image://")<0&&(b="path://"+b);var S=No(b,-1,0,2,2,null,!0);S.attr({cursor:q7(this._orient),draggable:!0,drift:Tt(this._onDragMove,this,_),ondragend:Tt(this._onDragEnd,this),onmouseover:Tt(this._showDataInfo,this,!0),onmouseout:Tt(this._showDataInfo,this,!1),z2:5});var C=S.getBoundingRect(),T=l.get("handleSize");this._handleHeight=an(T,this._size[1]),this._handleWidth=C.width/C.height*this._handleHeight,S.setStyle(l.getModel("handleStyle").getItemStyle()),S.style.strokeNoScale=!0,S.rectHover=!0,S.ensureState("emphasis").style=l.getModel(["emphasis","handleStyle"]).getItemStyle(),Bg(S);var x=l.get("handleColor");x!=null&&(S.style.fill=x),i.add(a[_]=S);var E=l.getModel("textStyle"),k=l.get("handleLabel")||{},A=k.show||!1;n.add(o[_]=new Tn({silent:!0,invisible:!A,style:ma(E,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:E.getTextColor(),font:E.getFont()}),z2:10}))},this);var d=h;if(f){var p=an(l.get("moveHandleSize"),s[1]),v=r.moveHandle=new Pn({style:l.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:s[1]-.5,height:p}}),g=p*.8,m=r.moveHandleIcon=No(l.get("moveHandleIcon"),-g/2,-g/2,g,g,"#fff",!0);m.silent=!0,m.y=s[1]+p/2-.5,v.ensureState("emphasis").style=l.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var w=Math.min(s[1]/2,Math.max(p,10));d=r.moveZone=new Pn({invisible:!0,shape:{y:s[1]-w,height:p+w}}),d.on("mouseover",function(){u.enterEmphasis(v)}).on("mouseout",function(){u.leaveEmphasis(v)}),i.add(v),i.add(m),i.add(d)}d.attr({draggable:!0,cursor:q7(this._orient),drift:Tt(this._onDragMove,this,"all"),ondragstart:Tt(this._showDataInfo,this,!0),ondragend:Tt(this._onDragEnd,this),onmouseover:Tt(this._showDataInfo,this,!0),onmouseout:Tt(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var n=this._range=this.dataZoomModel.getPercentRange(),r=this._getViewExtent();this._handleEnds=[Hn(n[0],[0,100],r,!0),Hn(n[1],[0,100],r,!0)]},t.prototype._updateInterval=function(n,r){var a=this.dataZoomModel,o=this._handleEnds,i=this._getViewExtent(),s=a.findRepresentativeAxisProxy().getMinMaxSpan(),l=[0,100];op(r,o,i,a.get("zoomLock")?"all":n,s.minSpan!=null?Hn(s.minSpan,l,i,!0):null,s.maxSpan!=null?Hn(s.maxSpan,l,i,!0):null);var u=this._range,c=this._range=Vl([Hn(o[0],i,l,!0),Hn(o[1],i,l,!0)]);return!u||u[0]!==c[0]||u[1]!==c[1]},t.prototype._updateView=function(n){var r=this._displayables,a=this._handleEnds,o=Vl(a.slice()),i=this._size;re([0,1],function(d){var p=r.handles[d],v=this._handleHeight;p.attr({scaleX:v/2,scaleY:v/2,x:a[d]+(d?-1:1),y:i[1]/2-v/2})},this),r.filler.setShape({x:o[0],y:0,width:o[1]-o[0],height:i[1]});var s={x:o[0],width:o[1]-o[0]};r.moveHandle&&(r.moveHandle.setShape(s),r.moveZone.setShape(s),r.moveZone.getBoundingRect(),r.moveHandleIcon&&r.moveHandleIcon.attr("x",s.x+s.width/2));for(var l=r.dataShadowSegs,u=[0,o[0],o[1],i[0]],c=0;cr[0]||a[1]<0||a[1]>r[1])){var o=this._handleEnds,i=(o[0]+o[1])/2,s=this._updateInterval("all",a[0]-i);this._updateView(),s&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(n){var r=n.offsetX,a=n.offsetY;this._brushStart=new jt(r,a),this._brushing=!0,this._brushStartTime=+new Date},t.prototype._onBrushEnd=function(n){if(this._brushing){var r=this._displayables.brushRect;if(this._brushing=!1,!!r){r.attr("ignore",!0);var a=r.shape,o=+new Date;if(!(o-this._brushStartTime<200&&Math.abs(a.width)<5)){var i=this._getViewExtent(),s=[0,100];this._range=Vl([Hn(a.x,i,s,!0),Hn(a.x+a.width,i,s,!0)]),this._handleEnds=[a.x,a.x+a.width],this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(n){this._brushing&&(Ys(n.event),this._updateBrushRect(n.offsetX,n.offsetY))},t.prototype._updateBrushRect=function(n,r){var a=this._displayables,o=this.dataZoomModel,i=a.brushRect;i||(i=a.brushRect=new Hp({silent:!0,style:o.getModel("brushStyle").getItemStyle()}),a.sliderGroup.add(i)),i.attr("ignore",!1);var s=this._brushStart,l=this._displayables.sliderGroup,u=l.transformCoordToLocal(n,r),c=l.transformCoordToLocal(s.x,s.y),f=this._size;u[0]=Math.max(Math.min(f[0],u[0]),0),i.setShape({x:c[0],y:0,width:u[0]-c[0],height:f[1]})},t.prototype._dispatchZoomAction=function(n){var r=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:n?pje:null,start:r[0],end:r[1]})},t.prototype._findCoordRect=function(){var n,r=LZ(this.dataZoomModel).infoList;if(!n&&r.length){var a=r[0].model.coordinateSystem;n=a.getRect&&a.getRect()}if(!n){var o=this.api.getWidth(),i=this.api.getHeight();n={x:o*.2,y:i*.2,width:o*.6,height:i*.6}}return n},t.type="dataZoom.slider",t}(yP);function gje(e){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[e]}function q7(e){return e==="vertical"?"ns-resize":"ew-resize"}function mje(e){e.registerComponentModel(uje),e.registerComponentView(vje),bP(e)}function yje(e){Wa(lje),Wa(mje)}var XZ={get:function(e,t,n){var r=Pt((bje[e]||{})[t]);return n&&ot(r)?r[r.length-1]:r}},bje={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]}},Y7=Or.mapVisual,_je=Or.eachVisual,wje=ot,X7=re,Sje=Vl,Cje=Hn,g_=function(e){Ye(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return t.prototype.init=function(n,r,a){this.mergeDefaultAndTheme(n,a)},t.prototype.optionUpdated=function(n,r){var a=this.option;!r&&BUe(a,n,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(n){var r=this.stateList;n=Tt(n,this),this.controllerVisuals=V7(this.option.controller,r,n),this.targetVisuals=V7(this.option.target,r,n)},t.prototype.getItemSymbol=function(){return null},t.prototype.getTargetSeriesIndices=function(){var n=this.option.seriesIndex,r=[];return n==null||n==="all"?this.ecModel.eachSeries(function(a,o){r.push(o)}):r=nr(n),r},t.prototype.eachTargetSeries=function(n,r){re(this.getTargetSeriesIndices(),function(a){var o=this.ecModel.getSeriesByIndex(a);o&&n.call(r,o)},this)},t.prototype.isTargetSeries=function(n){var r=!1;return this.eachTargetSeries(function(a){a===n&&(r=!0)}),r},t.prototype.formatValueText=function(n,r,a){var o=this.option,i=o.precision,s=this.dataBound,l=o.formatter,u;a=a||["<",">"],ot(n)&&(n=n.slice(),u=!0);var c=r?n:u?[f(n[0]),f(n[1])]:f(n);if(yt(l))return l.replace("{value}",u?c[0]:c).replace("{value2}",u?c[1]:c);if(Lt(l))return u?l(n[0],n[1]):l(n);if(u)return n[0]===s[0]?a[0]+" "+c[1]:n[1]===s[1]?a[1]+" "+c[0]:c[0]+" - "+c[1];return c;function f(h){return h===s[0]?"min":h===s[1]?"max":(+h).toFixed(Math.min(i,20))}},t.prototype.resetExtent=function(){var n=this.option,r=Sje([n.min,n.max]);this._dataExtent=r},t.prototype.getDataDimensionIndex=function(n){var r=this.option.dimension;if(r!=null)return n.getDimensionIndex(r);for(var a=n.dimensions,o=a.length-1;o>=0;o--){var i=a[o],s=n.getDimensionInfo(i);if(!s.isCalculationCoord)return s.storeDimIndex}},t.prototype.getExtent=function(){return this._dataExtent.slice()},t.prototype.completeVisualOption=function(){var n=this.ecModel,r=this.option,a={inRange:r.inRange,outOfRange:r.outOfRange},o=r.target||(r.target={}),i=r.controller||(r.controller={});qt(o,a),qt(i,a);var s=this.isCategory();l.call(this,o),l.call(this,i),u.call(this,o,"inRange","outOfRange"),c.call(this,i);function l(f){wje(r.color)&&!f.inRange&&(f.inRange={color:r.color.slice().reverse()}),f.inRange=f.inRange||{color:n.get("gradientColor")}}function u(f,h,d){var p=f[h],v=f[d];p&&!v&&(v=f[d]={},X7(p,function(g,m){if(Or.isValidType(m)){var w=XZ.get(m,"inactive",s);w!=null&&(v[m]=w,m==="color"&&!v.hasOwnProperty("opacity")&&!v.hasOwnProperty("colorAlpha")&&(v.opacity=[0,0]))}}))}function c(f){var h=(f.inRange||{}).symbol||(f.outOfRange||{}).symbol,d=(f.inRange||{}).symbolSize||(f.outOfRange||{}).symbolSize,p=this.get("inactiveColor"),v=this.getItemSymbol(),g=v||"roundRect";X7(this.stateList,function(m){var w=this.itemSize,_=f[m];_||(_=f[m]={color:s?p:[p]}),_.symbol==null&&(_.symbol=h&&Pt(h)||(s?g:[g])),_.symbolSize==null&&(_.symbolSize=d&&Pt(d)||(s?w[0]:[w[0],w[0]])),_.symbol=Y7(_.symbol,function(C){return C==="none"?g:C});var b=_.symbolSize;if(b!=null){var S=-1/0;_je(b,function(C){C>S&&(S=C)}),_.symbolSize=Y7(b,function(C){return Cje(C,[0,S],[0,w[0]],!0)})}},this)}},t.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},t.prototype.isCategory=function(){return!!this.option.categories},t.prototype.setSelected=function(n){},t.prototype.getSelected=function(){return null},t.prototype.getValueState=function(n){return null},t.prototype.getVisualMeta=function(n){return null},t.type="visualMap",t.dependencies=["series"],t.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"}},t}(ln),Z7=[20,140],Tje=function(e){Ye(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.optionUpdated=function(n,r){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(a){a.mappingMethod="linear",a.dataExtent=this.getExtent()}),this._resetRange()},t.prototype.resetItemSize=function(){e.prototype.resetItemSize.apply(this,arguments);var n=this.itemSize;(n[0]==null||isNaN(n[0]))&&(n[0]=Z7[0]),(n[1]==null||isNaN(n[1]))&&(n[1]=Z7[1])},t.prototype._resetRange=function(){var n=this.getExtent(),r=this.option.range;!r||r.auto?(n.auto=1,this.option.range=n):ot(r)&&(r[0]>r[1]&&r.reverse(),r[0]=Math.max(r[0],n[0]),r[1]=Math.min(r[1],n[1]))},t.prototype.completeVisualOption=function(){e.prototype.completeVisualOption.apply(this,arguments),re(this.stateList,function(n){var r=this.option.controller[n].symbolSize;r&&r[0]!==r[1]&&(r[0]=r[1]/3)},this)},t.prototype.setSelected=function(n){this.option.range=n.slice(),this._resetRange()},t.prototype.getSelected=function(){var n=this.getExtent(),r=Vl((this.get("range")||[]).slice());return r[0]>n[1]&&(r[0]=n[1]),r[1]>n[1]&&(r[1]=n[1]),r[0]=a[1]||n<=r[1])?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(n){var r=[];return this.eachTargetSeries(function(a){var o=[],i=a.getData();i.each(this.getDataDimensionIndex(i),function(s,l){n[0]<=s&&s<=n[1]&&o.push(l)},this),r.push({seriesId:a.id,dataIndex:o})},this),r},t.prototype.getVisualMeta=function(n){var r=J7(this,"outOfRange",this.getExtent()),a=J7(this,"inRange",this.option.range.slice()),o=[];function i(d,p){o.push({value:d,color:n(d,p)})}for(var s=0,l=0,u=a.length,c=r.length;ln[1])break;o.push({color:this.getControllerVisual(l,"color",r),offset:s/a})}return o.push({color:this.getControllerVisual(n[1],"color",r),offset:1}),o},t.prototype._createBarPoints=function(n,r){var a=this.visualMapModel.itemSize;return[[a[0]-r[0],n[0]],[a[0],n[0]],[a[0],n[1]],[a[0]-r[1],n[1]]]},t.prototype._createBarGroup=function(n){var r=this._orient,a=this.visualMapModel.get("inverse");return new Rn(r==="horizontal"&&!a?{scaleX:n==="bottom"?1:-1,rotation:Math.PI/2}:r==="horizontal"&&a?{scaleX:n==="bottom"?-1:1,rotation:-Math.PI/2}:r==="vertical"&&!a?{scaleX:n==="left"?1:-1,scaleY:-1}:{scaleX:n==="left"?1:-1})},t.prototype._updateHandle=function(n,r){if(this._useHandle){var a=this._shapes,o=this.visualMapModel,i=a.handleThumbs,s=a.handleLabels,l=o.itemSize,u=o.getExtent(),c=this._applyTransform("left",a.mainGroup);xje([0,1],function(f){var h=i[f];h.setStyle("fill",r.handlesColor[f]),h.y=n[f];var d=Ui(n[f],[0,l[1]],u,!0),p=this.getControllerVisual(d,"symbolSize");h.scaleX=h.scaleY=p/l[0],h.x=l[0]-p/2;var v=Ws(a.handleLabelPoints[f],Jl(h,this.group));if(this._orient==="horizontal"){var g=c==="left"||c==="top"?(l[0]-p)/2:(l[0]-p)/-2;v[1]+=g}s[f].setStyle({x:v[0],y:v[1],text:o.formatValueText(this._dataInterval[f]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",a.mainGroup):"center"})},this)}},t.prototype._showIndicator=function(n,r,a,o){var i=this.visualMapModel,s=i.getExtent(),l=i.itemSize,u=[0,l[1]],c=this._shapes,f=c.indicator;if(f){f.attr("invisible",!1);var h={convertOpacityToAlpha:!0},d=this.getControllerVisual(n,"color",h),p=this.getControllerVisual(n,"symbolSize"),v=Ui(n,s,u,!0),g=l[0]-p/2,m={x:f.x,y:f.y};f.y=v,f.x=g;var w=Ws(c.indicatorLabelPoint,Jl(f,this.group)),_=c.indicatorLabel;_.attr("invisible",!1);var b=this._applyTransform("left",c.mainGroup),S=this._orient,C=S==="horizontal";_.setStyle({text:(a||"")+i.formatValueText(r),verticalAlign:C?b:"middle",align:C?"center":b});var T={x:g,y:v,style:{fill:d}},x={style:{x:w[0],y:w[1]}};if(i.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var E={duration:100,easing:"cubicInOut",additive:!0};f.x=m.x,f.y=m.y,f.animateTo(T,E),_.animateTo(x,E)}else f.attr(T),_.attr(x);this._firstShowIndicator=!1;var k=this._shapes.handleLabels;if(k)for(var A=0;Ai[1]&&(f[1]=1/0),r&&(f[0]===-1/0?this._showIndicator(c,f[1],"< ",l):f[1]===1/0?this._showIndicator(c,f[0],"> ",l):this._showIndicator(c,c,"≈ ",l));var h=this._hoverLinkDataIndices,d=[];(r||n9(a))&&(d=this._hoverLinkDataIndices=a.findTargetDataIndices(f));var p=ADe(h,d);this._dispatchHighDown("downplay",R1(p[0],a)),this._dispatchHighDown("highlight",R1(p[1],a))}},t.prototype._hoverLinkFromSeriesMouseOver=function(n){var r;if(bd(n.target,function(l){var u=on(l);if(u.dataIndex!=null)return r=u,!0},!0),!!r){var a=this.ecModel.getSeriesByIndex(r.seriesIndex),o=this.visualMapModel;if(o.isTargetSeries(a)){var i=a.getData(r.dataType),s=i.getStore().get(o.getDataDimensionIndex(i),r.dataIndex);isNaN(s)||this._showIndicator(s,s)}}},t.prototype._hideIndicator=function(){var n=this._shapes;n.indicator&&n.indicator.attr("invisible",!0),n.indicatorLabel&&n.indicatorLabel.attr("invisible",!0);var r=this._shapes.handleLabels;if(r)for(var a=0;a=0&&(o.dimension=i,r.push(o))}}),e.getData().setVisual("visualMeta",r)}}];function Ije(e,t,n,r){for(var a=t.targetVisuals[r],o=Or.prepareVisualTypes(a),i={color:wY(e.getData(),"color")},s=0,l=o.length;s0:t.splitNumber>0)||t.calculable)?"continuous":"piecewise"}),e.registerAction(Oje,Pje),re(Rje,function(t){e.registerVisual(e.PRIORITY.VISUAL.COMPONENT,t)}),e.registerPreprocessor(Dje))}function Lje(e){e.registerComponentModel(Tje),e.registerComponentView(Aje),QZ(e)}var $je=function(e){Ye(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._pieceList=[],n}return t.prototype.optionUpdated=function(n,r){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var a=this._mode=this._determineMode();this._pieceList=[],Nje[this._mode].call(this,this._pieceList),this._resetSelected(n,r);var o=this.option.categories;this.resetVisual(function(i,s){a==="categories"?(i.mappingMethod="category",i.categories=Pt(o)):(i.dataExtent=this.getExtent(),i.mappingMethod="piecewise",i.pieceList=lt(this._pieceList,function(l){return l=Pt(l),s!=="inRange"&&(l.visual=null),l}))})},t.prototype.completeVisualOption=function(){var n=this.option,r={},a=Or.listVisualTypes(),o=this.isCategory();re(n.pieces,function(s){re(a,function(l){s.hasOwnProperty(l)&&(r[l]=1)})}),re(r,function(s,l){var u=!1;re(this.stateList,function(c){u=u||i(n,c,l)||i(n.target,c,l)},this),!u&&re(this.stateList,function(c){(n[c]||(n[c]={}))[l]=XZ.get(l,c==="inRange"?"active":"inactive",o)})},this);function i(s,l,u){return s&&s[l]&&s[l].hasOwnProperty(u)}e.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(n,r){var a=this.option,o=this._pieceList,i=(r?a:n).selected||{};if(a.selected=i,re(o,function(l,u){var c=this.getSelectedMapKey(l);i.hasOwnProperty(c)||(i[c]=!0)},this),a.selectedMode==="single"){var s=!1;re(o,function(l,u){var c=this.getSelectedMapKey(l);i[c]&&(s?i[c]=!1:s=!0)},this)}},t.prototype.getItemSymbol=function(){return this.get("itemSymbol")},t.prototype.getSelectedMapKey=function(n){return this._mode==="categories"?n.value+"":n.index+""},t.prototype.getPieceList=function(){return this._pieceList},t.prototype._determineMode=function(){var n=this.option;return n.pieces&&n.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},t.prototype.setSelected=function(n){this.option.selected=Pt(n)},t.prototype.getValueState=function(n){var r=Or.findPieceIndex(n,this._pieceList);return r!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[r])]?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(n){var r=[],a=this._pieceList;return this.eachTargetSeries(function(o){var i=[],s=o.getData();s.each(this.getDataDimensionIndex(s),function(l,u){var c=Or.findPieceIndex(l,a);c===n&&i.push(u)},this),r.push({seriesId:o.id,dataIndex:i})},this),r},t.prototype.getRepresentValue=function(n){var r;if(this.isCategory())r=n.value;else if(n.value!=null)r=n.value;else{var a=n.interval||[];r=a[0]===-1/0&&a[1]===1/0?0:(a[0]+a[1])/2}return r},t.prototype.getVisualMeta=function(n){if(this.isCategory())return;var r=[],a=["",""],o=this;function i(c,f){var h=o.getRepresentValue({interval:c});f||(f=o.getValueState(h));var d=n(h,f);c[0]===-1/0?a[0]=d:c[1]===1/0?a[1]=d:r.push({value:c[0],color:d},{value:c[1],color:d})}var s=this._pieceList.slice();if(!s.length)s.push({interval:[-1/0,1/0]});else{var l=s[0].interval[0];l!==-1/0&&s.unshift({interval:[-1/0,l]}),l=s[s.length-1].interval[1],l!==1/0&&s.push({interval:[l,1/0]})}var u=-1/0;return re(s,function(c){var f=c.interval;f&&(f[0]>u&&i([u,f[0]],"outOfRange"),i(f.slice()),u=f[1])},this),{stops:r,outerColors:a}},t.type="visualMap.piecewise",t.defaultOption=tp(g_.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}),t}(g_),Nje={splitNumber:function(e){var t=this.option,n=Math.min(t.precision,20),r=this.getExtent(),a=t.splitNumber;a=Math.max(parseInt(a,10),1),t.splitNumber=a;for(var o=(r[1]-r[0])/a;+o.toFixed(n)!==o&&n<5;)n++;t.precision=n,o=+o.toFixed(n),t.minOpen&&e.push({interval:[-1/0,r[0]],close:[0,0]});for(var i=0,s=r[0];i","≥"][r[0]]];n.text=n.text||this.formatValueText(n.value!=null?n.value:n.interval,!1,a)},this)}};function i9(e,t){var n=e.inverse;(e.orient==="vertical"?!n:n)&&t.reverse()}var Bje=function(e){Ye(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.doRender=function(){var n=this.group;n.removeAll();var r=this.visualMapModel,a=r.get("textGap"),o=r.textStyleModel,i=o.getFont(),s=o.getTextColor(),l=this._getItemAlign(),u=r.itemSize,c=this._getViewData(),f=c.endsText,h=cf(r.get("showLabel",!0),!f),d=!r.get("selectedMode");f&&this._renderEndsText(n,f[0],u,h,l),re(c.viewPieceList,function(p){var v=p.piece,g=new Rn;g.onclick=Tt(this._onItemClick,this,v),this._enableHoverLink(g,p.indexInModelPieceList);var m=r.getRepresentValue(v);if(this._createItemSymbol(g,m,[0,0,u[0],u[1]],d),h){var w=this.visualMapModel.getValueState(m);g.add(new Tn({style:{x:l==="right"?-a:u[0]+a,y:u[1]/2,text:v.text,verticalAlign:"middle",align:l,font:i,fill:s,opacity:w==="outOfRange"?.5:1},silent:d}))}n.add(g)},this),f&&this._renderEndsText(n,f[1],u,h,l),Hc(r.get("orient"),n,r.get("itemGap")),this.renderBackground(n),this.positionGroup(n)},t.prototype._enableHoverLink=function(n,r){var a=this;n.on("mouseover",function(){return o("highlight")}).on("mouseout",function(){return o("downplay")});var o=function(i){var s=a.visualMapModel;s.option.hoverLink&&a.api.dispatchAction({type:i,batch:R1(s.findTargetDataIndices(r),s)})}},t.prototype._getItemAlign=function(){var n=this.visualMapModel,r=n.option;if(r.orient==="vertical")return JZ(n,this.api,n.itemSize);var a=r.align;return(!a||a==="auto")&&(a="left"),a},t.prototype._renderEndsText=function(n,r,a,o,i){if(r){var s=new Rn,l=this.visualMapModel.textStyleModel;s.add(new Tn({style:ma(l,{x:o?i==="right"?a[0]:0:a[0]/2,y:a[1]/2,verticalAlign:"middle",align:o?i:"center",text:r})})),n.add(s)}},t.prototype._getViewData=function(){var n=this.visualMapModel,r=lt(n.getPieceList(),function(s,l){return{piece:s,indexInModelPieceList:l}}),a=n.get("text"),o=n.get("orient"),i=n.get("inverse");return(o==="horizontal"?i:!i)?r.reverse():a&&(a=a.slice().reverse()),{viewPieceList:r,endsText:a}},t.prototype._createItemSymbol=function(n,r,a,o){var i=No(this.getControllerVisual(r,"symbol"),a[0],a[1],a[2],a[3],this.getControllerVisual(r,"color"));i.silent=o,n.add(i)},t.prototype._onItemClick=function(n){var r=this.visualMapModel,a=r.option,o=a.selectedMode;if(o){var i=Pt(a.selected),s=r.getSelectedMapKey(n);o==="single"||o===!0?(i[s]=!0,re(i,function(l,u){i[u]=u===s})):i[s]=!i[s],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:i})}},t.type="visualMap.piecewise",t}(ZZ);function Fje(e){e.registerComponentModel($je),e.registerComponentView(Bje),QZ(e)}function Vje(e){Wa(Lje),Wa(Fje)}const{use:zje}=EX;zje([TVe,fVe,XFe,MHe,THe,XHe,HUe,SWe,JUe,PWe,yUe,NUe,yje,Vje]);function Hje(e){e.config.globalProperties.$echarts=EX}const Wje=[aue,Tce,bhe,GTe,xhe,bAe,_Ae,Rhe,zz,Uhe,jhe,mr,qz,Vpe,jpe,sve,lve,lge,pH,pge,Do,Sve,oH,bge,Lge,$ge,nw,lme,rb,Sme,Cme,Tme,xme,Eme,Z0e,sye,lye,_ye,VH,Oye,b1e,_1e,w1e,YH,_be,wbe,Ke,Rbe,JH,fa,QH,Wbe,u_e,c_e,f_e,d_e,y_e,sW,pwe,Cwe,Nz,uW,dH,Lve,Dve,Iwe,Bwe,jwe,nl,rf,sb,W_e,TSe,ISe,DSe,QSe,a2e,SW,v2e,T2e,x2e,P2e,UW,jW,KTe,lxe,uxe,lg,pxe,m0e,_xe,xxe,Exe,Kr,SEe,bb,zEe,ake,kke,Nke,lAe,uAe,EAe],Uje=[BAe,IAe,lW,IE,l3e,m3e];function jje(e){Wje.forEach(t=>{e.component(t.name,t)}),Uje.forEach(t=>{e.use(t)})}var TP=Object.defineProperty,Kje=Object.getOwnPropertyDescriptor,Gje=Object.getOwnPropertyNames,qje=Object.prototype.hasOwnProperty,Yje=(e,t,n)=>t in e?TP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xje=(e,t)=>{for(var n in t)TP(e,n,{get:t[n],enumerable:!0})},Zje=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Gje(t))!qje.call(e,a)&&a!==n&&TP(e,a,{get:()=>t[a],enumerable:!(r=Kje(t,a))||r.enumerable});return e},Jje=(e,t,n)=>(Zje(e,t,"default"),n),s9=(e,t,n)=>(Yje(e,typeof t!="symbol"?t+"":t,n),n),xP={};Xje(xP,{Vue:()=>Qd});Jje(xP,Qd);var m_=class{static install(e,t){let{nameSpace:n=this._nameSpace,memory:r}=t;return r&&this.clearAll(n,r),new m_(e,t)}static clearAll(e,t){Object.keys(t).forEach(n=>{let r=e+n;Object.prototype.hasOwnProperty.call(window.localStorage,r)&&window.localStorage.removeItem(r)})}static get(e){return JSON.parse(window.localStorage.getItem(e))}static set(e,t){t=typeof t=="object"?JSON.stringify(t):t,window.localStorage.setItem(e,t)}static getData(e,t){if(Object.prototype.hasOwnProperty.call(window.localStorage,this._getStaticKey(t,e)))return JSON.parse(window.localStorage.getItem(this._getStaticKey(t,e)))}constructor(e,t){let n=m_,{version:r=3,nameSpace:a=n._nameSpace,memory:o}=t,i=u=>a+u,s=r===3?(0,xP.reactive)(o):o;Object.keys(s).length===0&&console.warn("key cannot be empty"),Object.keys(s).forEach(u=>{let c=s[u];n.set(i(u),c),Reflect.defineProperty(s,u,{get:()=>n.get(i(u)),set:f=>n.set(i(u),f),configurable:!0}),r===2&&e.util.defineReactive(s,u,s[u])});let l=r===3?e.config.globalProperties:e.prototype;Reflect.defineProperty(l,"$storage",{get:()=>s})}},wd=m_;s9(wd,"_nameSpace","rs-"),s9(wd,"_getStaticKey",(e,t)=>`${e!=null?e:m_._nameSpace}${t}`);const Qje=(e,t)=>{var a,o,i,s,l,u,c,f,h,d,p,v,g,m,w,_,b,S;const n=ac(),r=Object.assign({layout:(f=wd.getData("layout",n))!=null?f:{layout:(a=t.Layout)!=null?a:"vertical",theme:(o=t.Theme)!=null?o:"light",darkMode:(i=t.DarkMode)!=null?i:!1,sidebarStatus:(s=t.SidebarStatus)!=null?s:!0,epThemeColor:(l=t.EpThemeColor)!=null?l:"#409EFF",themeColor:(u=t.Theme)!=null?u:"light",overallStyle:(c=t.OverallStyle)!=null?c:"light"},configure:(b=wd.getData("configure",n))!=null?b:{grey:(h=t.Grey)!=null?h:!1,weak:(d=t.Weak)!=null?d:!1,hideTabs:(p=t.HideTabs)!=null?p:!1,hideFooter:(v=t.HideFooter)!=null?v:!0,showLogo:(g=t.ShowLogo)!=null?g:!0,showModel:(m=t.ShowModel)!=null?m:"smart",multiTagsCache:(w=t.MultiTagsCache)!=null?w:!1,stretch:(_=t.Stretch)!=null?_:!1}},t.MultiTagsCache?{tags:(S=wd.getData("tags",n))!=null?S:gw}:{});e.use(wd,{nameSpace:n,memory:r})};/** +* @vue/shared v3.4.37 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const eKe=Object.prototype.hasOwnProperty,l9=(e,t)=>eKe.call(e,t),u9=e=>e!==null&&typeof e=="object",c9="__epPropKey",tKe=((e,t)=>{if(!u9(e)||u9(n=e)&&n[c9])return e;var n;const{values:r,required:a,default:o,type:i,validator:s}=e,l=r||s?c=>{let f=!1,h=[];if(r&&(h=Array.from(r),l9(e,"default")&&h.push(o),f||(f=h.includes(c))),s&&(f||(f=s(c))),!f&&h.length>0){const d=[...new Set(h)].map(p=>JSON.stringify(p)).join(", ");c3(`Invalid prop: validation failed. Expected one of [${d}], got value ${JSON.stringify(c)}.`)}return f}:void 0,u={type:i,required:!!a,validator:l,[c9]:!0};return l9(e,"default")&&(u.default=o),u})({type:String,values:["","default","small","large"],required:!1});var nKe={data:{type:Array,default:()=>[]},size:tKe,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children",checkStrictly:!1})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:Boolean,flexible:Boolean,showOverflowTooltip:[Boolean,Object]};const rKe=X({tableKey:{type:[String,Number],default:"0"},columns:{type:Array,default:[]},loading:{type:Boolean,default:!1},loadingConfig:{type:Object,default:()=>{}},alignWhole:{type:String,default:"left"},headerAlign:{type:String,default:""},showOverflowTooltip:{type:Boolean,default:!1},rowHoverBgColor:{type:String,default:""},pagination:{type:Object,default:{total:0,pageSize:5,align:"right",size:"default",background:!1,pageSizes:[5,10,15,20],layout:"total, sizes, prev, pager, next, jumper"}},adaptive:{type:Boolean,default:!1},adaptiveConfig:{type:Object,default:{offsetBottom:96,fixHeader:!0,timeout:60,zIndex:3}},locale:{type:[String,Object],default:""}},nKe),f9=te({name:"Renderer",props:{render:{type:Function},params:{type:Object}},setup:e=>()=>ee(je,null,[e.render(e.params)])}),d9={name:"en",el:{select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"}}},h9={name:"zh-cn",el:{select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"}}},p9={name:"zh-tw",el:{select:{loading:"載入中",noMatch:"無相符資料",noData:"無資料",placeholder:"請選擇"},pagination:{goto:"前往",pagesize:"項/頁",total:"共 {total} 項",pageClassifier:"頁",page:"頁",prev:"上一頁",next:"下一頁",currentPage:"第 {pager} 頁",prevPages:"向前 {pager} 頁",nextPages:"向后 {pager} 頁",deprecationWarning:"偵測到已過時的使用方式,請參閱 el-pagination 說明文件以了解更多資訊"},table:{emptyText:"暫無資料",confirmFilter:"篩選",resetFilter:"重置",clearFilter:"全部",sumText:"合計"}}};var eJ=Object.defineProperty,aKe=Object.getOwnPropertyDescriptor,oKe=Object.getOwnPropertyNames,iKe=Object.prototype.hasOwnProperty,sKe=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of oKe(t))!iKe.call(e,a)&&a!==n&&eJ(e,a,{get:()=>t[a],enumerable:!(r=aKe(t,a))||r.enumerable});return e},lKe=Object.prototype.toString;function tJ(e,t){return lKe.call(e)===`[object ${t}]`}function v9(e){return tJ(e,"String")}function g9(e){return typeof e=="function"}var m9=e=>e.replace(/\B([A-Z])/g,"-$1").toLowerCase(),Sd={};((e,t)=>{for(var n in t)eJ(e,n,{get:t[n],enumerable:!0})})(Sd,{Vue:()=>Qd}),sKe(Sd,Qd,"default");var uKe=e=>{let t,n="dark",r=(0,Sd.shallowRef)(!1),a=()=>{let o=document.documentElement;r.value=o.classList.contains(n)};return function(o){(0,Sd.getCurrentInstance)()&&(0,Sd.onUnmounted)(o)}(()=>{t&&(t.takeRecords(),t.disconnect())}),(0,Sd.onBeforeMount)(()=>{let o=document.documentElement;a(),t=new MutationObserver(a),t.observe(o,{attributes:!0,attributeFilter:["class"]})}),{isDark:r,toggleDark:()=>{document.documentElement.classList.toggle(n)}}};function y9(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!yn(e)}const qT=te({name:"PureTable",props:rKe,directives:{Loading:RE},emits:["page-size-change","page-current-change"],setup(e,{slots:t,attrs:n,emit:r,expose:a}){var j;const{locale:o,i18n:i,ssr:s}=ze("locale",{locale:null,i18n:null,ssr:!1}),{locale:l,columns:u,loading:c,tableKey:f,adaptive:h,pagination:d,alignWhole:p,headerAlign:v,loadingConfig:g,adaptiveConfig:m,rowHoverBgColor:w,showOverflowTooltip:_}=rr(e),b=H(!1),{isDark:S}=uKe(),C=st();let T=y(d)&&y(d).currentPage&&y(d).pageSize,x=R(()=>{var U,ne,ie,fe;if(!y(i))return;const G=((ie=(ne=i==null?void 0:i.global)==null?void 0:ne.getLocaleMessage(y((U=i==null?void 0:i.global)==null?void 0:U.locale)))==null?void 0:ie.el)||((fe=i==null?void 0:i.getLocaleMessage(y(i==null?void 0:i.locale)))==null?void 0:fe.el);return G?{el:G}:null}),E=R(()=>v9(o)?[d9,h9,p9].filter(U=>U.name===m9(o))[0]:o),k=R(()=>{if(y(l))return v9(y(l))?[d9,h9,p9].filter(U=>U.name===m9(y(l)))[0]:y(l)}),A=R(()=>{if(!y(g))return;let{text:U,spinner:ne,svg:ie,viewBox:fe}=y(g);return{"element-loading-text":U,"element-loading-spinner":ne,"element-loading-svg":ie,"element-loading-svg-view-box":fe}});const P=R(()=>{var U,ne;if(y(c))return{"element-loading-background":(U=y(g))!=null&&U.background?(ne=y(g))==null?void 0:ne.background:S.value?"rgba(0, 0, 0, 0.45)":"rgba(255, 255, 255, 0.45)"}}),$=R(()=>{var U;return Object.assign({width:"100%",margin:"16px 0",display:"flex",flexWrap:"wrap",justifyContent:y(d).align==="left"?"flex-start":y(d).align==="center"?"center":"flex-end"},(U=y(d).style)!=null?U:{})}),B=(U,ne)=>{const pe=U,{cellRenderer:ie,slot:fe,headerRenderer:G,headerSlot:oe,hide:se,children:ue,prop:he}=pe,ae=ja(pe,["cellRenderer","slot","headerRenderer","headerSlot","hide","children","prop"]);if(g9(se)&&se(n))return se(n);if(function(we){return tJ(we,"Boolean")}(se)&&se)return se;const K={default:we=>{var me;return ie?ee(f9,{render:ie,params:Object.assign(we,{index:we.$index,props:e,attrs:n})},null):fe?(me=t==null?void 0:t[fe])==null?void 0:me.call(t,Object.assign(we,{index:we.$index,props:e,attrs:n})):void 0}};let Q=G?X({header:we=>ee(f9,{render:G,params:Object.assign(we,{index:we.$index,props:e,attrs:n})},null)},K):t!=null&&t[oe]?X({header:we=>{var me;return(me=t==null?void 0:t[oe])==null?void 0:me.call(t,Object.assign(we,{index:we.$index,props:e,attrs:n}))}},K):K;return(ue==null?void 0:ue.length)>0&&(Q.default=()=>ue.map(B)),ee(jW,Et({key:ne},ae,{prop:g9(he)&&he(ne)?he(ne):he,align:U!=null&&U.align?U.align:y(p),headerAlign:U!=null&&U.headerAlign?U.headerAlign:y(v),showOverflowTooltip:U!=null&&U.showOverflowTooltip?U.showOverflowTooltip:y(_)}),y9(Q)?Q:{default:()=>[Q]})},I=()=>{var U;return(U=C==null?void 0:C.proxy)==null?void 0:U.$refs[`TableRef${y(f)}`]},M=()=>I().$refs,L=()=>ut(this,null,function*(){var ie;yield qe();const U=M().tableWrapper,ne=(ie=y(m).offsetBottom)!=null?ie:96;U.style.height=window.innerHeight-U.getBoundingClientRect().top-ne+"px"}),O=((U,ne=200,ie=!1)=>{let fe,G,oe=ne;return function(){fe&&clearTimeout(fe),ie?(fe||U.call(G,...arguments),fe=setTimeout(()=>fe=null,oe)):fe=setTimeout(()=>U.call(G,...arguments),oe)}})(L,(j=y(m).timeout)!=null?j:60),D=(U=3)=>ut(this,null,function*(){yield qe();const ne=M().tableHeaderRef.$el.style;ne.position="sticky",ne.top=0,ne.zIndex=U});ft(()=>{b.value=!0,qe(()=>{var U;if(y(w)&&M().tableWrapper.style.setProperty("--el-table-row-hover-bg-color",y(w),"important"),y(h)){if(L(),window.addEventListener("resize",O),Reflect.has(y(m),"fixHeader")&&!y(m).fixHeader)return;D((U=y(m).zIndex)!=null?U:3)}})}),fn(()=>{y(h)&&window.removeEventListener("resize",O)}),a({getTableRef:I,getTableDoms:M,setAdaptive:L,setHeaderSticky:D});let z=()=>{var U,ne;return ee(je,null,[ee(UW,Et(e,n,{ref:`TableRef${y(f)}`}),{default:()=>y(u).map(B),append:()=>t.append&&t.append(),empty:()=>t.empty&&t.empty()}),T?ee(sW,Et(n,{class:"pure-pagination",style:y($)},y(d),{layout:(U=y(d).layout)!=null?U:"total, sizes, prev, pager, next, jumper",pageSizes:(ne=y(d).pageSizes)!=null?ne:[5,10,15,20],onSizeChange:ie=>(fe=>{y(d).pageSize=fe,r("page-size-change",fe)})(ie),onCurrentChange:ie=>(fe=>{y(d).currentPage=fe,r("page-current-change",fe)})(ie)}),null):null])},V=()=>{let U;return vt(ee("div",Et({class:"pure-table",style:"width:100%"},y(P),y(A)),[y(x)||y(E)||y(k)?ee(rb,{locale:y(k)?y(k):y(x)||y(E)},y9(U=z())?U:{default:()=>[U]}):z()]),[[Nh("loading"),y(c)]])};return()=>s?b.value&&V():V()}}),cKe=Object.assign(qT,{install:(e,t)=>{e.component(qT.name,qT),e.provide("locale",t!=null?t:{locale:null,i18n:null,ssr:!1})}});window._iconfont_svg_string_2208059='',function(e){var n=(n=document.getElementsByTagName("script"))[n.length-1],t=n.getAttribute("data-injectcss"),n=n.getAttribute("data-disable-injectsvg");if(!n){var r,a,o,i,s,l=function(f,h){h.parentNode.insertBefore(f,h)};if(t&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(f){}}r=function(){var f,h=document.createElement("div");h.innerHTML=e._iconfont_svg_string_2208059,(h=h.getElementsByTagName("svg")[0])&&(h.setAttribute("aria-hidden","true"),h.style.position="absolute",h.style.width=0,h.style.height=0,h.style.overflow="hidden",h=h,(f=document.body).firstChild?l(h,f.firstChild):f.appendChild(h))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(r,0):(a=function(){document.removeEventListener("DOMContentLoaded",a,!1),r()},document.addEventListener("DOMContentLoaded",a,!1)):document.attachEvent&&(o=r,i=e.document,s=!1,c(),i.onreadystatechange=function(){i.readyState=="complete"&&(i.onreadystatechange=null,u())})}function u(){s||(s=!0,o())}function c(){try{i.documentElement.doScroll("left")}catch(f){return void setTimeout(c,50)}u()}}(window);const fKe={mounted(e,t){var r;const{value:n}=t;if(n)!Gj(n)&&((r=e.parentNode)==null||r.removeChild(e));else throw new Error(`[Directive: auth]: need auths! Like v-auth="['btn.add','btn.edit']"`)}},dKe={mounted(e,t){var r;const{value:n}=t;if(n){e.copyValue=n;const a=(r=t.arg)!=null?r:"dblclick";fi(e,a,()=>{q3e(e.copyValue)?qE("复制成功",{type:"success"}):qE("复制失败",{type:"error"})})}else throw new Error('[Directive: copy]: need value! Like v-copy="modelValue"')},updated(e,t){e.copyValue=t.value}},hKe={mounted(e,t){var r,a;const n=t.value;if(n&&$d(n)){let o=null,i=null,s=500,l=null;const u=(a=(r=t==null?void 0:t.arg)==null?void 0:r.includes(":"))!=null?a:!1;u?(s=Number(XU(t.arg,":")),l=Number(W3e(t.arg,":"))):t.arg&&(s=Number(t.arg));const c=()=>{o&&(clearTimeout(o),o=null),i&&(clearInterval(i),i=null)},f=d=>{d.preventDefault(),i===null&&(i=setInterval(()=>n(),l))};fi(e,"pointerdown",d=>{c(),d.preventDefault(),o===null&&(o=setTimeout(u?()=>{n(),f(d)}:()=>n(),s))}),fi(e,"pointerup",c),fi(e,"pointerleave",c)}else throw new Error('[Directive: longpress]: need callback and callback must be a function! Like v-longpress="callback"')}},pKe={mounted(e,t){var o,i,s,l;const{value:n}=t,r=(o=t.arg)!=null?o:"debounce",a=["debounce","throttle"].find(u=>u===r);if(a)if(n&&n.event&&$d(n.fn)){let u=n==null?void 0:n.params;if(u)if(Sb(u)||wb(u))u=wb(u)?Array.of(u):u;else throw new Error("[Directive: optimize]: `params` must be an array or object");fi(e,n.event,a==="debounce"?G5(u?()=>n.fn(...u):n.fn,(i=n==null?void 0:n.timeout)!=null?i:200,(s=n==null?void 0:n.immediate)!=null?s:!1):B3e(u?()=>n.fn(...u):n.fn,(l=n==null?void 0:n.timeout)!=null?l:1e3))}else throw new Error("[Directive: optimize]: `event` and `fn` are required, and `fn` must be a function");else throw new Error("[Directive: optimize]: only `debounce` and `throttle` are supported")}},vKe={mounted(e,t){var r;const{value:n}=t;if(n)!qj(n)&&((r=e.parentNode)==null||r.removeChild(e));else throw new Error(`[Directive: perms]: need perms! Like v-perms="['btn.add','btn.edit']"`)}};function b9(e,t){e.style.transform=t,e.style.webkitTransform=t}const gKe=(e,t,n={})=>{var h;const r=t.getBoundingClientRect();let a=e.clientX-r.left,o=e.clientY-r.top,i=0,s=.3;(h=t._ripple)!=null&&h.circle?(s=.15,i=t.clientWidth/2,i=n.center?i:i+Math.sqrt(il(a-i,2)+il(o-i,2))/4):i=Math.sqrt(il(t.clientWidth,2)+il(t.clientHeight,2))/2;const l=`${(t.clientWidth-i*2)/2}px`,u=`${(t.clientHeight-i*2)/2}px`,c=n.center?l:`${a-i}px`,f=n.center?u:`${o-i}px`;return{radius:i,scale:s,x:c,y:f,centerX:l,centerY:u}},EP={show(e,t,n={}){var d;if(!((d=t==null?void 0:t._ripple)!=null&&d.enabled))return;const r=document.createElement("span"),a=document.createElement("span");r.appendChild(a),r.className="v-ripple__container",n.class&&(r.className+=` ${n.class}`);const{radius:o,scale:i,x:s,y:l,centerX:u,centerY:c}=gKe(e,t,n),f=`${o*2}px`;a.className="v-ripple__animation",a.style.width=f,a.style.height=f,t.appendChild(r);const h=window.getComputedStyle(t);h&&h.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),a.classList.add("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--visible"),b9(a,`translate(${s}, ${l}) scale3d(${i},${i},${i})`),a.dataset.activated=String(performance.now()),setTimeout(()=>{a.classList.remove("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--in"),b9(a,`translate(${u}, ${c}) scale3d(1,1,1)`)},0)},hide(e){var o;if(!((o=e==null?void 0:e._ripple)!=null&&o.enabled))return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const n=t[t.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const r=performance.now()-Number(n.dataset.activated),a=Math.max(250-r,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{var s;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((s=n.parentNode)==null?void 0:s.parentNode)===e&&e.removeChild(n.parentNode)},300)},a)}};function nJ(e){return typeof e=="undefined"||!!e}function rJ(e){const t={},n=e.currentTarget;!(n!=null&&n._ripple)||n._ripple.touched||(t.center=n._ripple.centered,n._ripple.class&&(t.class=n._ripple.class),EP.show(e,n,t))}function aJ(e){const t=e.currentTarget;t!=null&&t._ripple&&(window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),EP.hide(t))}function oJ(e,t,n){var i;const{value:r,modifiers:a}=t,o=nJ(r);o||EP.hide(e),e._ripple=(i=e._ripple)!=null?i:{},e._ripple.enabled=o,e._ripple.centered=a.center,e._ripple.circle=a.circle,wb(r)&&r.class&&(e._ripple.class=r.class),o&&!n?(e.addEventListener("pointerdown",rJ),e.addEventListener("pointerup",aJ)):!o&&n&&iJ(e)}function iJ(e){e.removeEventListener("pointerdown",rJ),e.removeEventListener("pointerup",aJ)}function mKe(e,t){oJ(e,t,!1)}function yKe(e){delete e._ripple,iJ(e)}function bKe(e,t){if(t.value===t.oldValue)return;const n=nJ(t.oldValue);oJ(e,t,n)}const _Ke={mounted:mKe,unmounted:yKe,updated:bKe},_9=Object.freeze(Object.defineProperty({__proto__:null,Ripple:_Ke,auth:fKe,copy:dKe,longpress:hKe,optimize:pKe,perms:vKe},Symbol.toStringTag,{value:"Module"})),sJ=Object.freeze({left:0,top:0,width:16,height:16}),lJ=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),kP=Object.freeze(X(X({},sJ),lJ));Object.freeze(_e(X({},kP),{body:"",hidden:!1}));X({provider:"",aliases:{},not_found:{}},sJ);const uJ=Object.freeze({width:null,height:null}),cJ=Object.freeze(X(X({},uJ),lJ));function wKe(e,t){const n=X({},e);for(const r in t){const a=t[r],o=typeof a;r in uJ?(a===null||a&&(o==="string"||o==="number"))&&(n[r]=a):o===typeof n[r]&&(n[r]=r==="rotate"?a%4:a)}return n}const SKe=/[\s,]+/;function CKe(e,t){t.split(SKe).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function TKe(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(a){for(;a<0;)a+=4;return a%4}if(n===""){const a=parseInt(e);return isNaN(a)?0:r(a)}else if(n!==e){let a=0;switch(n){case"%":a=25;break;case"deg":a=90}if(a){let o=parseFloat(e.slice(0,e.length-n.length));return isNaN(o)?0:(o=o/a,o%1===0?r(o):0)}}return t}const xKe=/(-?[0-9.]*[0-9]+[0-9.]*)/g,EKe=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function w9(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(xKe);if(r===null||!r.length)return e;const a=[];let o=r.shift(),i=EKe.test(o);for(;;){if(i){const s=parseFloat(o);isNaN(s)?a.push(o):a.push(Math.ceil(s*t*n)/n)}else a.push(o);if(o=r.shift(),o===void 0)return a.join("");i=!i}}function kKe(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const a=e.indexOf(">",r),o=e.indexOf("",o);if(i===-1)break;n+=e.slice(a+1,o).trim(),e=e.slice(0,r).trim()+e.slice(i+1)}return{defs:n,content:e}}function AKe(e,t){return e?""+e+""+t:t}function MKe(e,t,n){const r=kKe(e);return AKe(r.defs,t+r.content+n)}const OKe=e=>e==="unset"||e==="undefined"||e==="none";function PKe(e,t){const n=X(X({},kP),e),r=X(X({},cJ),t),a={left:n.left,top:n.top,width:n.width,height:n.height};let o=n.body;[n,r].forEach(v=>{const g=[],m=v.hFlip,w=v.vFlip;let _=v.rotate;m?w?_+=2:(g.push("translate("+(a.width+a.left).toString()+" "+(0-a.top).toString()+")"),g.push("scale(-1 1)"),a.top=a.left=0):w&&(g.push("translate("+(0-a.left).toString()+" "+(a.height+a.top).toString()+")"),g.push("scale(1 -1)"),a.top=a.left=0);let b;switch(_<0&&(_-=Math.floor(_/4)*4),_=_%4,_){case 1:b=a.height/2+a.top,g.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:g.unshift("rotate(180 "+(a.width/2+a.left).toString()+" "+(a.height/2+a.top).toString()+")");break;case 3:b=a.width/2+a.left,g.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}_%2===1&&(a.left!==a.top&&(b=a.left,a.left=a.top,a.top=b),a.width!==a.height&&(b=a.width,a.width=a.height,a.height=b)),g.length&&(o=MKe(o,'',""))});const i=r.width,s=r.height,l=a.width,u=a.height;let c,f;i===null?(f=s===null?"1em":s==="auto"?u:s,c=w9(f,l/u)):(c=i==="auto"?l:i,f=s===null?w9(c,u/l):s==="auto"?u:s);const h={},d=(v,g)=>{OKe(g)||(h[v]=g.toString())};d("width",c),d("height",f);const p=[a.left,a.top,l,u];return h.viewBox=p.join(" "),{attributes:h,viewBox:p,body:o}}const RKe=/\sid="(\S+)"/g,IKe="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let DKe=0;function LKe(e,t=IKe){const n=[];let r;for(;r=RKe.exec(e);)n.push(r[1]);if(!n.length)return e;const a="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(o=>{const i=typeof t=="function"?t(o):t+(DKe++).toString(),s=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+i+a+"$3")}),e=e.replace(new RegExp(a,"g"),""),e}function $Ke(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'"+e+""}function NKe(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function BKe(e){return"data:image/svg+xml,"+NKe(e)}function FKe(e){return'url("'+BKe(e)+'")'}const S9=_e(X({},cJ),{inline:!1}),VKe={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},zKe={display:"inline-block"},PA={backgroundColor:"currentColor"},fJ={backgroundColor:"transparent"},C9={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},T9={webkitMask:PA,mask:PA,background:fJ};for(const e in T9){const t=T9[e];for(const n in C9)t[e+n]=C9[n]}const I1={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";I1[e+"-flip"]=t,I1[e.slice(0,1)+"-flip"]=t,I1[e+"Flip"]=t});function x9(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const HKe=(e,t)=>{const n=wKe(S9,t),r=X({},VKe),a=t.mode||"svg",o={},i=t.style,s=typeof i=="object"&&!(i instanceof Array)?i:{};for(let v in t){const g=t[v];if(g!==void 0)switch(v){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[v]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&CKe(n,g);break;case"color":o.color=g;break;case"rotate":typeof g=="string"?n[v]=TKe(g):typeof g=="number"&&(n[v]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const m=I1[v];m?(g===!0||g==="true"||g===1)&&(n[m]=!0):S9[v]===void 0&&(r[v]=g)}}}const l=PKe(e,n),u=l.attributes;if(n.inline&&(o.verticalAlign="-0.125em"),a==="svg"){r.style=X(X({},o),s),Object.assign(r,u);let v=0,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=LKe(l.body,g?()=>g+"ID"+v++:"iconifyVue"),We("svg",r)}const{body:c,width:f,height:h}=e,d=a==="mask"||(a==="bg"?!1:c.indexOf("currentColor")!==-1),p=$Ke(c,_e(X({},u),{width:f+"",height:h+""}));return r.style=X(X(X(_e(X({},o),{"--svg":FKe(p),width:x9(u.width),height:x9(u.height)}),zKe),d?PA:fJ),s),We("span",r)},dJ=Object.create(null);function WKe(e,t){dJ[e]=t}const E9=te({inheritAttrs:!1,render(){const e=this.$attrs,t=e.icon,n=typeof t=="string"?dJ[t]:typeof t=="object"?t:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:HKe(X(X({},kP),n),e)}}),UKe=te({name:"IconifyIconOffline",components:{IconifyIcon:E9},props:{icon:{default:null}},render(){typeof this.icon=="object"&&WKe(this.icon,this.icon);const e=this.$attrs;return We(E9,X({icon:this.icon,style:e!=null&&e.style?Object.assign(e.style,{outline:"none"}):{outline:"none"}},e),{default:()=>[]})}}),hJ=/^[a-z0-9]+(-[a-z0-9]+)*$/,mS=(e,t,n,r="")=>{const a=e.split(":");if(e.slice(0,1)==="@"){if(a.length<2||a.length>3)return null;r=a.shift().slice(1)}if(a.length>3||!a.length)return null;if(a.length>1){const s=a.pop(),l=a.pop(),u={provider:a.length>0?a[0]:r,prefix:l,name:s};return t&&!D1(u)?null:u}const o=a[0],i=o.split("-");if(i.length>1){const s={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!D1(s)?null:s}if(n&&r===""){const s={provider:r,prefix:"",name:o};return t&&!D1(s,n)?null:s}return null},D1=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,pJ=Object.freeze({left:0,top:0,width:16,height:16}),y_=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),yS=Object.freeze(X(X({},pJ),y_)),RA=Object.freeze(_e(X({},yS),{body:"",hidden:!1}));function jKe(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function k9(e,t){const n=jKe(e,t);for(const r in RA)r in y_?r in e&&!(r in n)&&(n[r]=y_[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function KKe(e,t){const n=e.icons,r=e.aliases||Object.create(null),a=Object.create(null);function o(i){if(n[i])return a[i]=[];if(!(i in a)){a[i]=null;const s=r[i]&&r[i].parent,l=s&&o(s);l&&(a[i]=[s].concat(l))}return a[i]}return Object.keys(n).concat(Object.keys(r)).forEach(o),a}function GKe(e,t,n){const r=e.icons,a=e.aliases||Object.create(null);let o={};function i(s){o=k9(r[s]||a[s],o)}return i(t),n.forEach(i),k9(e,o)}function vJ(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(a=>{t(a,null),n.push(a)});const r=KKe(e);for(const a in r){const o=r[a];o&&(t(a,GKe(e,a,o)),n.push(a))}return n}const qKe=X({provider:"",aliases:{},not_found:{}},pJ);function YT(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function gJ(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!YT(e,qKe))return null;const n=t.icons;for(const a in n){const o=n[a];if(!a||typeof o.body!="string"||!YT(o,RA))return null}const r=t.aliases||Object.create(null);for(const a in r){const o=r[a],i=o.parent;if(!a||typeof i!="string"||!n[i]&&!r[i]||!YT(o,RA))return null}return t}const A9=Object.create(null);function YKe(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function gf(e,t){const n=A9[e]||(A9[e]=Object.create(null));return n[t]||(n[t]=YKe(e,t))}function AP(e,t){return gJ(t)?vJ(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function XKe(e,t,n){try{if(typeof n.body=="string")return e.icons[t]=X({},n),!0}catch(r){}return!1}let tm=!1;function mJ(e){return typeof e=="boolean"&&(tm=e),tm}function ZKe(e){const t=typeof e=="string"?mS(e,!0,tm):e;if(t){const n=gf(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function JKe(e,t){const n=mS(e,!0,tm);if(!n)return!1;const r=gf(n.provider,n.prefix);return t?XKe(r,n.name,t):(r.missing.add(n.name),!0)}function QKe(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),tm&&!t&&!e.prefix){let a=!1;return gJ(e)&&(e.prefix="",vJ(e,(o,i)=>{JKe(o,i)&&(a=!0)})),a}const n=e.prefix;if(!D1({provider:t,prefix:n,name:"a"}))return!1;const r=gf(t,n);return!!AP(r,e)}const yJ=Object.freeze({width:null,height:null}),bJ=Object.freeze(X(X({},yJ),y_)),eGe=/(-?[0-9.]*[0-9]+[0-9.]*)/g,tGe=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function M9(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(eGe);if(r===null||!r.length)return e;const a=[];let o=r.shift(),i=tGe.test(o);for(;;){if(i){const s=parseFloat(o);isNaN(s)?a.push(o):a.push(Math.ceil(s*t*n)/n)}else a.push(o);if(o=r.shift(),o===void 0)return a.join("");i=!i}}function nGe(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const a=e.indexOf(">",r),o=e.indexOf("",o);if(i===-1)break;n+=e.slice(a+1,o).trim(),e=e.slice(0,r).trim()+e.slice(i+1)}return{defs:n,content:e}}function rGe(e,t){return e?""+e+""+t:t}function aGe(e,t,n){const r=nGe(e);return rGe(r.defs,t+r.content+n)}const oGe=e=>e==="unset"||e==="undefined"||e==="none";function iGe(e,t){const n=X(X({},yS),e),r=X(X({},bJ),t),a={left:n.left,top:n.top,width:n.width,height:n.height};let o=n.body;[n,r].forEach(v=>{const g=[],m=v.hFlip,w=v.vFlip;let _=v.rotate;m?w?_+=2:(g.push("translate("+(a.width+a.left).toString()+" "+(0-a.top).toString()+")"),g.push("scale(-1 1)"),a.top=a.left=0):w&&(g.push("translate("+(0-a.left).toString()+" "+(a.height+a.top).toString()+")"),g.push("scale(1 -1)"),a.top=a.left=0);let b;switch(_<0&&(_-=Math.floor(_/4)*4),_=_%4,_){case 1:b=a.height/2+a.top,g.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:g.unshift("rotate(180 "+(a.width/2+a.left).toString()+" "+(a.height/2+a.top).toString()+")");break;case 3:b=a.width/2+a.left,g.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}_%2===1&&(a.left!==a.top&&(b=a.left,a.left=a.top,a.top=b),a.width!==a.height&&(b=a.width,a.width=a.height,a.height=b)),g.length&&(o=aGe(o,'',""))});const i=r.width,s=r.height,l=a.width,u=a.height;let c,f;i===null?(f=s===null?"1em":s==="auto"?u:s,c=M9(f,l/u)):(c=i==="auto"?l:i,f=s===null?M9(c,u/l):s==="auto"?u:s);const h={},d=(v,g)=>{oGe(g)||(h[v]=g.toString())};d("width",c),d("height",f);const p=[a.left,a.top,l,u];return h.viewBox=p.join(" "),{attributes:h,viewBox:p,body:o}}const sGe=/\sid="(\S+)"/g,lGe="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let uGe=0;function cGe(e,t=lGe){const n=[];let r;for(;r=sGe.exec(e);)n.push(r[1]);if(!n.length)return e;const a="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(o=>{const i=typeof t=="function"?t(o):t+(uGe++).toString(),s=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+i+a+"$3")}),e=e.replace(new RegExp(a,"g"),""),e}const IA=Object.create(null);function fGe(e,t){IA[e]=t}function DA(e){return IA[e]||IA[""]}function MP(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 OP=Object.create(null),Up=["https://api.simplesvg.com","https://api.unisvg.com"],L1=[];for(;Up.length>0;)Up.length===1||Math.random()>.5?L1.push(Up.shift()):L1.push(Up.pop());OP[""]=MP({resources:["https://api.iconify.design"].concat(L1)});function dGe(e,t){const n=MP(t);return n===null?!1:(OP[e]=n,!0)}function PP(e){return OP[e]}const hGe=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch(t){}};let O9=hGe();function pGe(e,t){const n=PP(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let a=0;n.resources.forEach(i=>{a=Math.max(a,i.length)});const o=t+".json?icons=";r=n.maxURL-a-n.path.length-o.length}return r}function vGe(e){return e===404}const gGe=(e,t,n)=>{const r=[],a=pGe(e,t),o="icons";let i={type:o,provider:e,prefix:t,icons:[]},s=0;return n.forEach((l,u)=>{s+=l.length+1,s>=a&&u>0&&(r.push(i),i={type:o,provider:e,prefix:t,icons:[]},s=l.length),i.icons.push(l)}),r.push(i),r};function mGe(e){if(typeof e=="string"){const t=PP(e);if(t)return t.path}return"/"}const yGe=(e,t,n)=>{if(!O9){n("abort",424);return}let r=mGe(t.provider);switch(t.type){case"icons":{const o=t.prefix,s=t.icons.join(","),l=new URLSearchParams({icons:s});r+=o+".json?"+l.toString();break}case"custom":{const o=t.uri;r+=o.slice(0,1)==="/"?o.slice(1):o;break}default:n("abort",400);return}let a=503;O9(e+r).then(o=>{const i=o.status;if(i!==200){setTimeout(()=>{n(vGe(i)?"abort":"next",i)});return}return a=501,o.json()}).then(o=>{if(typeof o!="object"||o===null){setTimeout(()=>{o===404?n("abort",o):n("next",a)});return}setTimeout(()=>{n("success",o)})}).catch(()=>{n("next",a)})},bGe={prepare:gGe,send:yGe};function _Ge(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((a,o)=>a.provider!==o.provider?a.provider.localeCompare(o.provider):a.prefix!==o.prefix?a.prefix.localeCompare(o.prefix):a.name.localeCompare(o.name));let r={provider:"",prefix:"",name:""};return e.forEach(a=>{if(r.name===a.name&&r.prefix===a.prefix&&r.provider===a.provider)return;r=a;const o=a.provider,i=a.prefix,s=a.name,l=n[o]||(n[o]=Object.create(null)),u=l[i]||(l[i]=gf(o,i));let c;s in u.icons?c=t.loaded:i===""||u.missing.has(s)?c=t.missing:c=t.pending;const f={provider:o,prefix:i,name:s};c.push(f)}),t}function _J(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(a=>a.id!==t))})}function wGe(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,a=e.prefix;t.forEach(o=>{const i=o.icons,s=i.pending.length;i.pending=i.pending.filter(l=>{if(l.prefix!==a)return!0;const u=l.name;if(e.icons[u])i.loaded.push({provider:r,prefix:a,name:u});else if(e.missing.has(u))i.missing.push({provider:r,prefix:a,name:u});else return n=!0,!0;return!1}),i.pending.length!==s&&(n||_J([e],o.id),o.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),o.abort))})}))}let SGe=0;function CGe(e,t,n){const r=SGe++,a=_J.bind(null,n,r);if(!t.pending.length)return a;const o={id:r,icons:t,callback:e,abort:a};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(o)}),a}function TGe(e,t=!0,n=!1){const r=[];return e.forEach(a=>{const o=typeof a=="string"?mS(a,t,n):a;o&&r.push(o)}),r}var xGe={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function EGe(e,t,n,r){const a=e.resources.length,o=e.random?Math.floor(Math.random()*a):e.index;let i;if(e.random){let C=e.resources.slice(0);for(i=[];C.length>1;){const T=Math.floor(Math.random()*C.length);i.push(C[T]),C=C.slice(0,T).concat(C.slice(T+1))}i=i.concat(C)}else i=e.resources.slice(o).concat(e.resources.slice(0,o));const s=Date.now();let l="pending",u=0,c,f=null,h=[],d=[];typeof r=="function"&&d.push(r);function p(){f&&(clearTimeout(f),f=null)}function v(){l==="pending"&&(l="aborted"),p(),h.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),h=[]}function g(C,T){T&&(d=[]),typeof C=="function"&&d.push(C)}function m(){return{startTime:s,payload:t,status:l,queriesSent:u,queriesPending:h.length,subscribe:g,abort:v}}function w(){l="failed",d.forEach(C=>{C(void 0,c)})}function _(){h.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),h=[]}function b(C,T,x){const E=T!=="success";switch(h=h.filter(k=>k!==C),l){case"pending":break;case"failed":if(E||!e.dataAfterTimeout)return;break;default:return}if(T==="abort"){c=x,w();return}if(E){c=x,h.length||(i.length?S():w());return}if(p(),_(),!e.random){const k=e.resources.indexOf(C.resource);k!==-1&&k!==e.index&&(e.index=k)}l="completed",d.forEach(k=>{k(x)})}function S(){if(l!=="pending")return;p();const C=i.shift();if(C===void 0){if(h.length){f=setTimeout(()=>{p(),l==="pending"&&(_(),w())},e.timeout);return}w();return}const T={status:"pending",resource:C,callback:(x,E)=>{b(T,x,E)}};h.push(T),u++,f=setTimeout(S,e.rotate),n(C,t,T.callback)}return setTimeout(S),m}function wJ(e){const t=X(X({},xGe),e);let n=[];function r(){n=n.filter(s=>s().status==="pending")}function a(s,l,u){const c=EGe(t,s,l,(f,h)=>{r(),u&&u(f,h)});return n.push(c),c}function o(s){return n.find(l=>s(l))||null}return{query:a,find:o,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:r}}function P9(){}const XT=Object.create(null);function kGe(e){if(!XT[e]){const t=PP(e);if(!t)return;const n=wJ(t),r={config:t,redundancy:n};XT[e]=r}return XT[e]}function AGe(e,t,n){let r,a;if(typeof e=="string"){const o=DA(e);if(!o)return n(void 0,424),P9;a=o.send;const i=kGe(e);i&&(r=i.redundancy)}else{const o=MP(e);if(o){r=wJ(o);const i=e.resources?e.resources[0]:"",s=DA(i);s&&(a=s.send)}}return!r||!a?(n(void 0,424),P9):r.query(t,a,n)().abort}const R9="iconify2",nm="iconify",SJ=nm+"-count",I9=nm+"-version",CJ=36e5,MGe=168,OGe=50;function LA(e,t){try{return e.getItem(t)}catch(n){}}function RP(e,t,n){try{return e.setItem(t,n),!0}catch(r){}}function D9(e,t){try{e.removeItem(t)}catch(n){}}function $A(e,t){return RP(e,SJ,t.toString())}function NA(e){return parseInt(LA(e,SJ))||0}const bS={local:!0,session:!0},TJ={local:new Set,session:new Set};let IP=!1;function PGe(e){IP=e}let Ay=typeof window=="undefined"?{}:window;function xJ(e){const t=e+"Storage";try{if(Ay&&Ay[t]&&typeof Ay[t].length=="number")return Ay[t]}catch(n){}bS[e]=!1}function EJ(e,t){const n=xJ(e);if(!n)return;const r=LA(n,I9);if(r!==R9){if(r){const s=NA(n);for(let l=0;l{const l=nm+s.toString(),u=LA(n,l);if(typeof u=="string"){try{const c=JSON.parse(u);if(typeof c=="object"&&typeof c.cached=="number"&&c.cached>a&&typeof c.provider=="string"&&typeof c.data=="object"&&typeof c.data.prefix=="string"&&t(c,s))return!0}catch(c){}D9(n,l)}};let i=NA(n);for(let s=i-1;s>=0;s--)o(s)||(s===i-1?(i--,$A(n,i)):TJ[e].add(s))}function kJ(){if(!IP){PGe(!0);for(const e in bS)EJ(e,t=>{const n=t.data,r=t.provider,a=n.prefix,o=gf(r,a);if(!AP(o,n).length)return!1;const i=n.lastModified||-1;return o.lastModifiedCached=o.lastModifiedCached?Math.min(o.lastModifiedCached,i):i,!0})}}function RGe(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in bS)EJ(r,a=>{const o=a.data;return a.provider!==e.provider||o.prefix!==e.prefix||o.lastModified===t});return!0}function IGe(e,t){IP||kJ();function n(r){let a;if(!bS[r]||!(a=xJ(r)))return;const o=TJ[r];let i;if(o.size)o.delete(i=Array.from(o).shift());else if(i=NA(a),i>=OGe||!$A(a,i+1))return;const s={cached:Math.floor(Date.now()/CJ),provider:e.provider,data:t};return RP(a,nm+i.toString(),JSON.stringify(s))}t.lastModified&&!RGe(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function L9(){}function DGe(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,wGe(e)}))}function LGe(e){const t=[],n=[];return e.forEach(r=>{(r.match(hJ)?t:n).push(r)}),{valid:t,invalid:n}}function jp(e,t,n,r){function a(){const o=e.pendingIcons;t.forEach(i=>{o&&o.delete(i),e.icons[i]||e.missing.add(i)})}if(n&&typeof n=="object")try{if(!AP(e,n).length){a();return}r&&IGe(e,n)}catch(o){console.error(o)}a(),DGe(e)}function $9(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function $Ge(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:n,prefix:r}=e,a=e.iconsToLoad;if(delete e.iconsToLoad,!a||!a.length)return;const o=e.loadIcon;if(e.loadIcons&&(a.length>1||!o)){$9(e.loadIcons(a,r,n),c=>{jp(e,a,c,!1)});return}if(o){a.forEach(c=>{const f=o(c,r,n);$9(f,h=>{const d=h?{prefix:r,icons:{[c]:h}}:null;jp(e,[c],d,!1)})});return}const{valid:i,invalid:s}=LGe(a);if(s.length&&jp(e,s,null,!1),!i.length)return;const l=r.match(hJ)?DA(n):null;if(!l){jp(e,i,null,!1);return}l.prepare(n,r,i).forEach(c=>{AGe(n,c,f=>{jp(e,c.icons,f,!0)})})}))}const NGe=(e,t)=>{const n=TGe(e,!0,mJ()),r=_Ge(n);if(!r.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(r.loaded,r.missing,r.pending,L9)}),()=>{l=!1}}const a=Object.create(null),o=[];let i,s;return r.pending.forEach(l=>{const{provider:u,prefix:c}=l;if(c===s&&u===i)return;i=u,s=c,o.push(gf(u,c));const f=a[u]||(a[u]=Object.create(null));f[c]||(f[c]=[])}),r.pending.forEach(l=>{const{provider:u,prefix:c,name:f}=l,h=gf(u,c),d=h.pendingIcons||(h.pendingIcons=new Set);d.has(f)||(d.add(f),a[u][c].push(f))}),o.forEach(l=>{const u=a[l.provider][l.prefix];u.length&&$Ge(l,u)}),t?CGe(t,r,o):L9};function BGe(e,t){const n=X({},e);for(const r in t){const a=t[r],o=typeof a;r in yJ?(a===null||a&&(o==="string"||o==="number"))&&(n[r]=a):o===typeof n[r]&&(n[r]=r==="rotate"?a%4:a)}return n}const FGe=/[\s,]+/;function VGe(e,t){t.split(FGe).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function zGe(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(a){for(;a<0;)a+=4;return a%4}if(n===""){const a=parseInt(e);return isNaN(a)?0:r(a)}else if(n!==e){let a=0;switch(n){case"%":a=25;break;case"deg":a=90}if(a){let o=parseFloat(e.slice(0,e.length-n.length));return isNaN(o)?0:(o=o/a,o%1===0?r(o):0)}}return t}function HGe(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'"+e+""}function WGe(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function UGe(e){return"data:image/svg+xml,"+WGe(e)}function jGe(e){return'url("'+UGe(e)+'")'}const N9=_e(X({},bJ),{inline:!1}),KGe={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},GGe={display:"inline-block"},BA={backgroundColor:"currentColor"},AJ={backgroundColor:"transparent"},B9={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},F9={webkitMask:BA,mask:BA,background:AJ};for(const e in F9){const t=F9[e];for(const n in B9)t[e+n]=B9[n]}const $1={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";$1[e+"-flip"]=t,$1[e.slice(0,1)+"-flip"]=t,$1[e+"Flip"]=t});function V9(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const z9=(e,t)=>{const n=BGe(N9,t),r=X({},KGe),a=t.mode||"svg",o={},i=t.style,s=typeof i=="object"&&!(i instanceof Array)?i:{};for(let v in t){const g=t[v];if(g!==void 0)switch(v){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[v]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&VGe(n,g);break;case"color":o.color=g;break;case"rotate":typeof g=="string"?n[v]=zGe(g):typeof g=="number"&&(n[v]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const m=$1[v];m?(g===!0||g==="true"||g===1)&&(n[m]=!0):N9[v]===void 0&&(r[v]=g)}}}const l=iGe(e,n),u=l.attributes;if(n.inline&&(o.verticalAlign="-0.125em"),a==="svg"){r.style=X(X({},o),s),Object.assign(r,u);let v=0,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=cGe(l.body,g?()=>g+"ID"+v++:"iconifyVue"),We("svg",r)}const{body:c,width:f,height:h}=e,d=a==="mask"||(a==="bg"?!1:c.indexOf("currentColor")!==-1),p=HGe(c,_e(X({},u),{width:f+"",height:h+""}));return r.style=X(X(X(_e(X({},o),{"--svg":jGe(p),width:V9(u.width),height:V9(u.height)}),GGe),d?BA:AJ),s),We("span",r)};mJ(!0);fGe("",bGe);if(typeof document!="undefined"&&typeof window!="undefined"){kJ();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!QKe(r))&&console.error(n)}catch(a){console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const a=t[n];if(typeof a!="object"||!a||a.resources===void 0)continue;dGe(n,a)||console.error(r)}catch(a){console.error(r)}}}}const qGe=_e(X({},yS),{body:""}),H9=te({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t,n){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let r;if(typeof e!="string"||(r=mS(e,!1,!0))===null)return this.abortLoading(),null;let a=ZKe(r);if(!a)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",a!==null&&(this._loadingIcon={name:e,abort:NGe([r],()=>{this.counter++})})),null;if(this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e)),n){a=Object.assign({},a);const i=n(a.body,r.name,r.prefix,r.provider);typeof i=="string"&&(a.body=i)}const o=["iconify"];return r.prefix!==""&&o.push("iconify--"+r.prefix),r.provider!==""&&o.push("iconify--"+r.provider),{data:a,classes:o}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted||e.ssr?this.getIcon(e.icon,e.onLoad,e.customise):null;if(!t)return z9(qGe,e);let n=e;return t.classes&&(n=_e(X({},e),{class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")})),z9(X(X({},yS),t.data),n)}}),YGe=te({name:"IconifyIconOnline",components:{IconifyIcon:H9},props:{icon:{type:String,default:""}},render(){const e=this.$attrs;return We(H9,X({icon:`${this.icon}`,style:e!=null&&e.style?Object.assign(e.style,{outline:"none"}):{outline:"none"}},e),{default:()=>[]})}}),XGe=te({name:"FontIcon",props:{icon:{type:String,default:""}},render(){const e=this.$attrs;return Object.keys(e).includes("uni")||(e==null?void 0:e.iconType)==="uni"?We("i",X({class:"iconfont"},e),this.icon):Object.keys(e).includes("svg")||(e==null?void 0:e.iconType)==="svg"?We("svg",{class:"icon-svg","aria-hidden":!0},{default:()=>[We("use",{"xlink:href":`#${this.icon}`})]}):We("i",X({class:`iconfont ${this.icon}`},e))}}),ZGe=UKe,JGe=YGe,QGe=XGe,eqe=te({name:"Auth",props:{value:{type:void 0,default:[]}},setup(e,{slots:t}){return()=>{var n;return t&&Gj(e.value)?ee(je,null,[(n=t.default)==null?void 0:n.call(t)]):null}}}),tqe=eqe,nqe=te({name:"Perms",props:{value:{type:void 0,default:[]}},setup(e,{slots:t}){return()=>{var n;return t&&qj(e.value)?ee(je,null,[(n=t.default)==null?void 0:n.call(t)]):null}}}),rqe=nqe;/*! + * vue-tippy v6.5.0 + * (c) 2024 + * @license MIT + */var Na="top",Bo="bottom",Fo="right",Ba="left",DP="auto",r0=[Na,Bo,Fo,Ba],Eh="start",rm="end",aqe="clippingParents",MJ="viewport",Kp="popper",oqe="reference",W9=r0.reduce(function(e,t){return e.concat([t+"-"+Eh,t+"-"+rm])},[]),OJ=[].concat(r0,[DP]).reduce(function(e,t){return e.concat([t,t+"-"+Eh,t+"-"+rm])},[]),iqe="beforeRead",sqe="read",lqe="afterRead",uqe="beforeMain",cqe="main",fqe="afterMain",dqe="beforeWrite",hqe="write",pqe="afterWrite",vqe=[iqe,sqe,lqe,uqe,cqe,fqe,dqe,hqe,pqe];function vs(e){return e?(e.nodeName||"").toLowerCase():null}function Oi(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function kh(e){var t=Oi(e).Element;return e instanceof t||e instanceof Element}function Ao(e){var t=Oi(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function PJ(e){if(typeof ShadowRoot=="undefined")return!1;var t=Oi(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function gqe(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},a=t.attributes[n]||{},o=t.elements[n];!Ao(o)||!vs(o)||(Object.assign(o.style,r),Object.keys(a).forEach(function(i){var s=a[i];s===!1?o.removeAttribute(i):o.setAttribute(i,s===!0?"":s)}))})}function mqe(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var a=t.elements[r],o=t.attributes[r]||{},i=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=i.reduce(function(l,u){return l[u]="",l},{});!Ao(a)||!vs(a)||(Object.assign(a.style,s),Object.keys(o).forEach(function(l){a.removeAttribute(l)}))})}}var RJ={name:"applyStyles",enabled:!0,phase:"write",fn:gqe,effect:mqe,requires:["computeStyles"]};function is(e){return e.split("-")[0]}var Kc=Math.max,b_=Math.min,Ah=Math.round;function Mh(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),r=1,a=1;if(Ao(e)&&t){var o=e.offsetHeight,i=e.offsetWidth;i>0&&(r=Ah(n.width)/i||1),o>0&&(a=Ah(n.height)/o||1)}return{width:n.width/r,height:n.height/a,top:n.top/a,right:n.right/r,bottom:n.bottom/a,left:n.left/r,x:n.left/r,y:n.top/a}}function LP(e){var t=Mh(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function IJ(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&PJ(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function gs(e){return Oi(e).getComputedStyle(e)}function yqe(e){return["table","td","th"].indexOf(vs(e))>=0}function Tu(e){return((kh(e)?e.ownerDocument:e.document)||window.document).documentElement}function _S(e){return vs(e)==="html"?e:e.assignedSlot||e.parentNode||(PJ(e)?e.host:null)||Tu(e)}function U9(e){return!Ao(e)||gs(e).position==="fixed"?null:e.offsetParent}function bqe(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&Ao(e)){var r=gs(e);if(r.position==="fixed")return null}for(var a=_S(e);Ao(a)&&["html","body"].indexOf(vs(a))<0;){var o=gs(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function a0(e){for(var t=Oi(e),n=U9(e);n&&yqe(n)&&gs(n).position==="static";)n=U9(n);return n&&(vs(n)==="html"||vs(n)==="body"&&gs(n).position==="static")?t:n||bqe(e)||t}function $P(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function zv(e,t,n){return Kc(e,b_(t,n))}function _qe(e,t,n){var r=zv(e,t,n);return r>n?n:r}function DJ(){return{top:0,right:0,bottom:0,left:0}}function LJ(e){return Object.assign({},DJ(),e)}function $J(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var wqe=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,LJ(typeof t!="number"?t:$J(t,r0))};function Sqe(e){var t,n=e.state,r=e.name,a=e.options,o=n.elements.arrow,i=n.modifiersData.popperOffsets,s=is(n.placement),l=$P(s),u=[Ba,Fo].indexOf(s)>=0,c=u?"height":"width";if(!(!o||!i)){var f=wqe(a.padding,n),h=LP(o),d=l==="y"?Na:Ba,p=l==="y"?Bo:Fo,v=n.rects.reference[c]+n.rects.reference[l]-i[l]-n.rects.popper[c],g=i[l]-n.rects.reference[l],m=a0(o),w=m?l==="y"?m.clientHeight||0:m.clientWidth||0:0,_=v/2-g/2,b=f[d],S=w-h[c]-f[p],C=w/2-h[c]/2+_,T=zv(b,C,S),x=l;n.modifiersData[r]=(t={},t[x]=T,t.centerOffset=T-C,t)}}function Cqe(e){var t=e.state,n=e.options,r=n.element,a=r===void 0?"[data-popper-arrow]":r;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||IJ(t.elements.popper,a)&&(t.elements.arrow=a))}var Tqe={name:"arrow",enabled:!0,phase:"main",fn:Sqe,effect:Cqe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Oh(e){return e.split("-")[1]}var xqe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Eqe(e){var t=e.x,n=e.y,r=window,a=r.devicePixelRatio||1;return{x:Ah(t*a)/a||0,y:Ah(n*a)/a||0}}function j9(e){var t,n=e.popper,r=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,h=c===!0?Eqe(i):typeof c=="function"?c(i):i,d=h.x,p=d===void 0?0:d,v=h.y,g=v===void 0?0:v,m=i.hasOwnProperty("x"),w=i.hasOwnProperty("y"),_=Ba,b=Na,S=window;if(u){var C=a0(n),T="clientHeight",x="clientWidth";if(C===Oi(n)&&(C=Tu(n),gs(C).position!=="static"&&s==="absolute"&&(T="scrollHeight",x="scrollWidth")),C=C,a===Na||(a===Ba||a===Fo)&&o===rm){b=Bo;var E=f&&S.visualViewport?S.visualViewport.height:C[T];g-=E-r.height,g*=l?1:-1}if(a===Ba||(a===Na||a===Bo)&&o===rm){_=Fo;var k=f&&S.visualViewport?S.visualViewport.width:C[x];p-=k-r.width,p*=l?1:-1}}var A=Object.assign({position:s},u&&xqe);if(l){var P;return Object.assign({},A,(P={},P[b]=w?"0":"",P[_]=m?"0":"",P.transform=(S.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",P))}return Object.assign({},A,(t={},t[b]=w?g+"px":"",t[_]=m?p+"px":"",t.transform="",t))}function kqe(e){var t=e.state,n=e.options,r=n.gpuAcceleration,a=r===void 0?!0:r,o=n.adaptive,i=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,u={placement:is(t.placement),variation:Oh(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,j9(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,j9(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Aqe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:kqe,data:{}},My={passive:!0};function Mqe(e){var t=e.state,n=e.instance,r=e.options,a=r.scroll,o=a===void 0?!0:a,i=r.resize,s=i===void 0?!0:i,l=Oi(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(c){c.addEventListener("scroll",n.update,My)}),s&&l.addEventListener("resize",n.update,My),function(){o&&u.forEach(function(c){c.removeEventListener("scroll",n.update,My)}),s&&l.removeEventListener("resize",n.update,My)}}var Oqe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Mqe,data:{}},Pqe={left:"right",right:"left",bottom:"top",top:"bottom"};function N1(e){return e.replace(/left|right|bottom|top/g,function(t){return Pqe[t]})}var Rqe={start:"end",end:"start"};function K9(e){return e.replace(/start|end/g,function(t){return Rqe[t]})}function NP(e){var t=Oi(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function BP(e){return Mh(Tu(e)).left+NP(e).scrollLeft}function Iqe(e){var t=Oi(e),n=Tu(e),r=t.visualViewport,a=n.clientWidth,o=n.clientHeight,i=0,s=0;return r&&(a=r.width,o=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=r.offsetLeft,s=r.offsetTop)),{width:a,height:o,x:i+BP(e),y:s}}function Dqe(e){var t,n=Tu(e),r=NP(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=Kc(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=Kc(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-r.scrollLeft+BP(e),l=-r.scrollTop;return gs(a||n).direction==="rtl"&&(s+=Kc(n.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:l}}function FP(e){var t=gs(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function NJ(e){return["html","body","#document"].indexOf(vs(e))>=0?e.ownerDocument.body:Ao(e)&&FP(e)?e:NJ(_S(e))}function Hv(e,t){var n;t===void 0&&(t=[]);var r=NJ(e),a=r===((n=e.ownerDocument)==null?void 0:n.body),o=Oi(r),i=a?[o].concat(o.visualViewport||[],FP(r)?r:[]):r,s=t.concat(i);return a?s:s.concat(Hv(_S(i)))}function FA(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Lqe(e){var t=Mh(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function G9(e,t){return t===MJ?FA(Iqe(e)):kh(t)?Lqe(t):FA(Dqe(Tu(e)))}function $qe(e){var t=Hv(_S(e)),n=["absolute","fixed"].indexOf(gs(e).position)>=0,r=n&&Ao(e)?a0(e):e;return kh(r)?t.filter(function(a){return kh(a)&&IJ(a,r)&&vs(a)!=="body"&&(n?gs(a).position!=="static":!0)}):[]}function Nqe(e,t,n){var r=t==="clippingParents"?$qe(e):[].concat(t),a=[].concat(r,[n]),o=a[0],i=a.reduce(function(s,l){var u=G9(e,l);return s.top=Kc(u.top,s.top),s.right=b_(u.right,s.right),s.bottom=b_(u.bottom,s.bottom),s.left=Kc(u.left,s.left),s},G9(e,o));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function BJ(e){var t=e.reference,n=e.element,r=e.placement,a=r?is(r):null,o=r?Oh(r):null,i=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(a){case Na:l={x:i,y:t.y-n.height};break;case Bo:l={x:i,y:t.y+t.height};break;case Fo:l={x:t.x+t.width,y:s};break;case Ba:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=a?$P(a):null;if(u!=null){var c=u==="y"?"height":"width";switch(o){case Eh:l[u]=l[u]-(t[c]/2-n[c]/2);break;case rm:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function am(e,t){t===void 0&&(t={});var n=t,r=n.placement,a=r===void 0?e.placement:r,o=n.boundary,i=o===void 0?aqe:o,s=n.rootBoundary,l=s===void 0?MJ:s,u=n.elementContext,c=u===void 0?Kp:u,f=n.altBoundary,h=f===void 0?!1:f,d=n.padding,p=d===void 0?0:d,v=LJ(typeof p!="number"?p:$J(p,r0)),g=c===Kp?oqe:Kp,m=e.rects.popper,w=e.elements[h?g:c],_=Nqe(kh(w)?w:w.contextElement||Tu(e.elements.popper),i,l),b=Mh(e.elements.reference),S=BJ({reference:b,element:m,strategy:"absolute",placement:a}),C=FA(Object.assign({},m,S)),T=c===Kp?C:b,x={top:_.top-T.top+v.top,bottom:T.bottom-_.bottom+v.bottom,left:_.left-T.left+v.left,right:T.right-_.right+v.right},E=e.modifiersData.offset;if(c===Kp&&E){var k=E[a];Object.keys(x).forEach(function(A){var P=[Fo,Bo].indexOf(A)>=0?1:-1,$=[Na,Bo].indexOf(A)>=0?"y":"x";x[A]+=k[$]*P})}return x}function Bqe(e,t){t===void 0&&(t={});var n=t,r=n.placement,a=n.boundary,o=n.rootBoundary,i=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?OJ:l,c=Oh(r),f=c?s?W9:W9.filter(function(p){return Oh(p)===c}):r0,h=f.filter(function(p){return u.indexOf(p)>=0});h.length===0&&(h=f);var d=h.reduce(function(p,v){return p[v]=am(e,{placement:v,boundary:a,rootBoundary:o,padding:i})[is(v)],p},{});return Object.keys(d).sort(function(p,v){return d[p]-d[v]})}function Fqe(e){if(is(e)===DP)return[];var t=N1(e);return[K9(e),t,K9(t)]}function Vqe(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var a=n.mainAxis,o=a===void 0?!0:a,i=n.altAxis,s=i===void 0?!0:i,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,h=n.altBoundary,d=n.flipVariations,p=d===void 0?!0:d,v=n.allowedAutoPlacements,g=t.options.placement,m=is(g),w=m===g,_=l||(w||!p?[N1(g)]:Fqe(g)),b=[g].concat(_).reduce(function(ne,ie){return ne.concat(is(ie)===DP?Bqe(t,{placement:ie,boundary:c,rootBoundary:f,padding:u,flipVariations:p,allowedAutoPlacements:v}):ie)},[]),S=t.rects.reference,C=t.rects.popper,T=new Map,x=!0,E=b[0],k=0;k=0,I=B?"width":"height",M=am(t,{placement:A,boundary:c,rootBoundary:f,altBoundary:h,padding:u}),L=B?$?Fo:Ba:$?Bo:Na;S[I]>C[I]&&(L=N1(L));var O=N1(L),D=[];if(o&&D.push(M[P]<=0),s&&D.push(M[L]<=0,M[O]<=0),D.every(function(ne){return ne})){E=A,x=!1;break}T.set(A,D)}if(x)for(var z=p?3:1,V=function(ie){var fe=b.find(function(G){var oe=T.get(G);if(oe)return oe.slice(0,ie).every(function(se){return se})});if(fe)return E=fe,"break"},j=z;j>0;j--){var U=V(j);if(U==="break")break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}}var zqe={name:"flip",enabled:!0,phase:"main",fn:Vqe,requiresIfExists:["offset"],data:{_skip:!1}};function q9(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Y9(e){return[Na,Fo,Bo,Ba].some(function(t){return e[t]>=0})}function Hqe(e){var t=e.state,n=e.name,r=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=am(t,{elementContext:"reference"}),s=am(t,{altBoundary:!0}),l=q9(i,r),u=q9(s,a,o),c=Y9(l),f=Y9(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}var Wqe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Hqe};function Uqe(e,t,n){var r=is(e),a=[Ba,Na].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,i=o[0],s=o[1];return i=i||0,s=(s||0)*a,[Ba,Fo].indexOf(r)>=0?{x:s,y:i}:{x:i,y:s}}function jqe(e){var t=e.state,n=e.options,r=e.name,a=n.offset,o=a===void 0?[0,0]:a,i=OJ.reduce(function(c,f){return c[f]=Uqe(f,t.rects,o),c},{}),s=i[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=i}var Kqe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:jqe};function Gqe(e){var t=e.state,n=e.name;t.modifiersData[n]=BJ({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var qqe={name:"popperOffsets",enabled:!0,phase:"read",fn:Gqe,data:{}};function Yqe(e){return e==="x"?"y":"x"}function Xqe(e){var t=e.state,n=e.options,r=e.name,a=n.mainAxis,o=a===void 0?!0:a,i=n.altAxis,s=i===void 0?!1:i,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,h=n.tether,d=h===void 0?!0:h,p=n.tetherOffset,v=p===void 0?0:p,g=am(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),m=is(t.placement),w=Oh(t.placement),_=!w,b=$P(m),S=Yqe(b),C=t.modifiersData.popperOffsets,T=t.rects.reference,x=t.rects.popper,E=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,k=typeof E=="number"?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(C){if(o){var $,B=b==="y"?Na:Ba,I=b==="y"?Bo:Fo,M=b==="y"?"height":"width",L=C[b],O=L+g[B],D=L-g[I],z=d?-x[M]/2:0,V=w===Eh?T[M]:x[M],j=w===Eh?-x[M]:-T[M],U=t.elements.arrow,ne=d&&U?LP(U):{width:0,height:0},ie=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:DJ(),fe=ie[B],G=ie[I],oe=zv(0,T[M],ne[M]),se=_?T[M]/2-z-oe-fe-k.mainAxis:V-oe-fe-k.mainAxis,ue=_?-T[M]/2+z+oe+G+k.mainAxis:j+oe+G+k.mainAxis,he=t.elements.arrow&&a0(t.elements.arrow),ae=he?b==="y"?he.clientTop||0:he.clientLeft||0:0,K=($=A==null?void 0:A[b])!=null?$:0,Q=L+se-K-ae,pe=L+ue-K,we=zv(d?b_(O,Q):O,L,d?Kc(D,pe):D);C[b]=we,P[b]=we-L}if(s){var me,be=b==="x"?Na:Ba,Ce=b==="x"?Bo:Fo,ke=C[S],Oe=S==="y"?"height":"width",Pe=ke+g[be],He=ke-g[Ce],Te=[Na,Ba].indexOf(m)!==-1,Be=(me=A==null?void 0:A[S])!=null?me:0,Je=Te?Pe:ke-T[Oe]-x[Oe]-Be+k.altAxis,dt=Te?ke+T[Oe]+x[Oe]-Be-k.altAxis:He,ct=d&&Te?_qe(Je,ke,dt):zv(d?Je:Pe,ke,d?dt:He);C[S]=ct,P[S]=ct-ke}t.modifiersData[r]=P}}var Zqe={name:"preventOverflow",enabled:!0,phase:"main",fn:Xqe,requiresIfExists:["offset"]};function Jqe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Qqe(e){return e===Oi(e)||!Ao(e)?NP(e):Jqe(e)}function eYe(e){var t=e.getBoundingClientRect(),n=Ah(t.width)/e.offsetWidth||1,r=Ah(t.height)/e.offsetHeight||1;return n!==1||r!==1}function tYe(e,t,n){n===void 0&&(n=!1);var r=Ao(t),a=Ao(t)&&eYe(t),o=Tu(t),i=Mh(e,a),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((vs(t)!=="body"||FP(o))&&(s=Qqe(t)),Ao(t)?(l=Mh(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=BP(o))),{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}function nYe(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function a(o){n.add(o.name);var i=[].concat(o.requires||[],o.requiresIfExists||[]);i.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&a(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||a(o)}),r}function rYe(e){var t=nYe(e);return vqe.reduce(function(n,r){return n.concat(t.filter(function(a){return a.phase===r}))},[])}function aYe(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function oYe(e){var t=e.reduce(function(n,r){var a=n[r.name];return n[r.name]=a?Object.assign({},a,r,{options:Object.assign({},a.options,r.options),data:Object.assign({},a.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var X9={placement:"bottom",modifiers:[],strategy:"absolute"};function Z9(){for(var e=arguments.length,t=new Array(e),n=0;n-1}function UJ(e,t){return typeof e=="function"?e.apply(void 0,t):e}function J9(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function cYe(e,t){var n=Object.assign({},e);return t.forEach(function(r){delete n[r]}),n}function fYe(e){return e.split(/\s+/).filter(Boolean)}function hc(e){return[].concat(e)}function Q9(e,t){e.indexOf(t)===-1&&e.push(t)}function dYe(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function jJ(e){return e.split("-")[0]}function Ph(e){return[].slice.call(e)}function eB(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function Gc(){return document.createElement("div")}function wS(e){return["Element","Fragment"].some(function(t){return VP(e,t)})}function hYe(e){return VP(e,"NodeList")}function zP(e){return VP(e,"MouseEvent")}function pYe(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function vYe(e){return wS(e)?[e]:hYe(e)?Ph(e):Array.isArray(e)?e:Ph(document.querySelectorAll(e))}function JT(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function om(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function KJ(e){var t,n=hc(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function gYe(e,t){var n=t.clientX,r=t.clientY;return e.every(function(a){var o=a.popperRect,i=a.popperState,s=a.props,l=s.interactiveBorder,u=jJ(i.placement),c=i.modifiersData.offset;if(!c)return!0;var f=u==="bottom"?c.top.y:0,h=u==="top"?c.bottom.y:0,d=u==="right"?c.left.x:0,p=u==="left"?c.right.x:0,v=o.top-r+f>l,g=r-o.bottom-h>l,m=o.left-n+d>l,w=n-o.right-p>l;return v||g||m||w})}function QT(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(a){e[r](a,n)})}function tB(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var qi={isTouch:!1},nB=0;function mYe(){qi.isTouch||(qi.isTouch=!0,window.performance&&document.addEventListener("mousemove",GJ))}function GJ(){var e=performance.now();e-nB<20&&(qi.isTouch=!1,document.removeEventListener("mousemove",GJ)),nB=e}function yYe(){var e=document.activeElement;if(pYe(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function bYe(){document.addEventListener("touchstart",mYe,sc),window.addEventListener("blur",yYe)}var _Ye=typeof window!="undefined"&&typeof document!="undefined",wYe=_Ye?!!window.msCrypto:!1,SYe={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},CYe={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},si=Object.assign({appendTo:WJ,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},SYe,CYe),TYe=Object.keys(si),xYe=function(t){var n=Object.keys(t);n.forEach(function(r){si[r]=t[r]})};function qJ(e){var t=e.plugins||[],n=t.reduce(function(r,a){var o=a.name,i=a.defaultValue;if(o){var s;r[o]=e[o]!==void 0?e[o]:(s=si[o])!=null?s:i}return r},{});return Object.assign({},e,n)}function EYe(e,t){var n=t?Object.keys(qJ(Object.assign({},si,{plugins:t}))):TYe,r=n.reduce(function(a,o){var i=(e.getAttribute("data-tippy-"+o)||"").trim();if(!i)return a;if(o==="content")a[o]=i;else try{a[o]=JSON.parse(i)}catch(s){a[o]=i}return a},{});return r}function rB(e,t){var n=Object.assign({},t,{content:UJ(t.content,[e])},t.ignoreAttributes?{}:EYe(e,t.plugins));return n.aria=Object.assign({},si.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}var kYe=function(){return"innerHTML"};function VA(e,t){e[kYe()]=t}function aB(e){var t=Gc();return e===!0?t.className=zJ:(t.className=HJ,wS(e)?t.appendChild(e):VA(t,e)),t}function oB(e,t){wS(t.content)?(VA(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?VA(e,t.content):e.textContent=t.content)}function __(e){var t=e.firstElementChild,n=Ph(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(FJ)}),arrow:n.find(function(r){return r.classList.contains(zJ)||r.classList.contains(HJ)}),backdrop:n.find(function(r){return r.classList.contains(VJ)})}}function YJ(e){var t=Gc(),n=Gc();n.className=uYe,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Gc();r.className=FJ,r.setAttribute("data-state","hidden"),oB(r,e.props),t.appendChild(n),n.appendChild(r),a(e.props,e.props);function a(o,i){var s=__(t),l=s.box,u=s.content,c=s.arrow;i.theme?l.setAttribute("data-theme",i.theme):l.removeAttribute("data-theme"),typeof i.animation=="string"?l.setAttribute("data-animation",i.animation):l.removeAttribute("data-animation"),i.inertia?l.setAttribute("data-inertia",""):l.removeAttribute("data-inertia"),l.style.maxWidth=typeof i.maxWidth=="number"?i.maxWidth+"px":i.maxWidth,i.role?l.setAttribute("role",i.role):l.removeAttribute("role"),(o.content!==i.content||o.allowHTML!==i.allowHTML)&&oB(u,e.props),i.arrow?c?o.arrow!==i.arrow&&(l.removeChild(c),l.appendChild(aB(i.arrow))):l.appendChild(aB(i.arrow)):c&&l.removeChild(c)}return{popper:t,onUpdate:a}}YJ.$$tippy=!0;var AYe=1,Oy=[],ex=[];function MYe(e,t){var n=rB(e,Object.assign({},si,qJ(eB(t)))),r,a,o,i=!1,s=!1,l=!1,u=!1,c,f,h,d=[],p=J9(Q,n.interactiveDebounce),v,g=AYe++,m=null,w=dYe(n.plugins),_={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},b={id:g,reference:e,popper:Gc(),popperInstance:m,props:n,state:_,plugins:w,clearDelayTimeouts:Je,setProps:dt,setContent:ct,show:wt,hide:Mt,hideWithInteractivity:Zt,enable:Te,disable:Be,unmount:Se,destroy:Ne};if(!n.render)return b;var S=n.render(b),C=S.popper,T=S.onUpdate;C.setAttribute("data-tippy-root",""),C.id="tippy-"+b.id,b.popper=C,e._tippy=b,C._tippy=b;var x=w.map(function(Y){return Y.fn(b)}),E=e.hasAttribute("aria-expanded");return he(),z(),L(),O("onCreate",[b]),n.showOnCreate&&Pe(),C.addEventListener("mouseenter",function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()}),C.addEventListener("mouseleave",function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&B().addEventListener("mousemove",p)}),b;function k(){var Y=b.props.touch;return Array.isArray(Y)?Y:[Y,0]}function A(){return k()[0]==="hold"}function P(){var Y;return!!((Y=b.props.render)!=null&&Y.$$tippy)}function $(){return v||e}function B(){var Y=$().parentNode;return Y?KJ(Y):document}function I(){return __(C)}function M(Y){return b.state.isMounted&&!b.state.isVisible||qi.isTouch||c&&c.type==="focus"?0:ZT(b.props.delay,Y?0:1,si.delay)}function L(Y){Y===void 0&&(Y=!1),C.style.pointerEvents=b.props.interactive&&!Y?"":"none",C.style.zIndex=""+b.props.zIndex}function O(Y,J,W){if(W===void 0&&(W=!0),x.forEach(function(Fe){Fe[Y]&&Fe[Y].apply(Fe,J)}),W){var Ee;(Ee=b.props)[Y].apply(Ee,J)}}function D(){var Y=b.props.aria;if(Y.content){var J="aria-"+Y.content,W=C.id,Ee=hc(b.props.triggerTarget||e);Ee.forEach(function(Fe){var tt=Fe.getAttribute(J);if(b.state.isVisible)Fe.setAttribute(J,tt?tt+" "+W:W);else{var at=tt&&tt.replace(W,"").trim();at?Fe.setAttribute(J,at):Fe.removeAttribute(J)}})}}function z(){if(!(E||!b.props.aria.expanded)){var Y=hc(b.props.triggerTarget||e);Y.forEach(function(J){b.props.interactive?J.setAttribute("aria-expanded",b.state.isVisible&&J===$()?"true":"false"):J.removeAttribute("aria-expanded")})}}function V(){B().removeEventListener("mousemove",p),Oy=Oy.filter(function(Y){return Y!==p})}function j(Y){if(!(qi.isTouch&&(l||Y.type==="mousedown"))){var J=Y.composedPath&&Y.composedPath()[0]||Y.target;if(!(b.props.interactive&&tB(C,J))){if(hc(b.props.triggerTarget||e).some(function(W){return tB(W,J)})){if(qi.isTouch||b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else O("onClickOutside",[b,Y]);b.props.hideOnClick===!0&&(b.clearDelayTimeouts(),b.hide(),s=!0,setTimeout(function(){s=!1}),b.state.isMounted||fe())}}}function U(){l=!0}function ne(){l=!1}function ie(){var Y=B();Y.addEventListener("mousedown",j,!0),Y.addEventListener("touchend",j,sc),Y.addEventListener("touchstart",ne,sc),Y.addEventListener("touchmove",U,sc)}function fe(){var Y=B();Y.removeEventListener("mousedown",j,!0),Y.removeEventListener("touchend",j,sc),Y.removeEventListener("touchstart",ne,sc),Y.removeEventListener("touchmove",U,sc)}function G(Y,J){se(Y,function(){!b.state.isVisible&&C.parentNode&&C.parentNode.contains(C)&&J()})}function oe(Y,J){se(Y,J)}function se(Y,J){var W=I().box;function Ee(Fe){Fe.target===W&&(QT(W,"remove",Ee),J())}if(Y===0)return J();QT(W,"remove",f),QT(W,"add",Ee),f=Ee}function ue(Y,J,W){W===void 0&&(W=!1);var Ee=hc(b.props.triggerTarget||e);Ee.forEach(function(Fe){Fe.addEventListener(Y,J,W),d.push({node:Fe,eventType:Y,handler:J,options:W})})}function he(){A()&&(ue("touchstart",K,{passive:!0}),ue("touchend",pe,{passive:!0})),fYe(b.props.trigger).forEach(function(Y){if(Y!=="manual")switch(ue(Y,K),Y){case"mouseenter":ue("mouseleave",pe);break;case"focus":ue(wYe?"focusout":"blur",we);break;case"focusin":ue("focusout",we);break}})}function ae(){d.forEach(function(Y){var J=Y.node,W=Y.eventType,Ee=Y.handler,Fe=Y.options;J.removeEventListener(W,Ee,Fe)}),d=[]}function K(Y){var J,W=!1;if(!(!b.state.isEnabled||me(Y)||s)){var Ee=((J=c)==null?void 0:J.type)==="focus";c=Y,v=Y.currentTarget,z(),!b.state.isVisible&&zP(Y)&&Oy.forEach(function(Fe){return Fe(Y)}),Y.type==="click"&&(b.props.trigger.indexOf("mouseenter")<0||i)&&b.props.hideOnClick!==!1&&b.state.isVisible?W=!0:Pe(Y),Y.type==="click"&&(i=!W),W&&!Ee&&He(Y)}}function Q(Y){var J=Y.target,W=$().contains(J)||C.contains(J);if(!(Y.type==="mousemove"&&W)){var Ee=Oe().concat(C).map(function(Fe){var tt,at=Fe._tippy,kn=(tt=at.popperInstance)==null?void 0:tt.state;return kn?{popperRect:Fe.getBoundingClientRect(),popperState:kn,props:n}:null}).filter(Boolean);gYe(Ee,Y)&&(V(),He(Y))}}function pe(Y){var J=me(Y)||b.props.trigger.indexOf("click")>=0&&i;if(!J){if(b.props.interactive){b.hideWithInteractivity(Y);return}He(Y)}}function we(Y){b.props.trigger.indexOf("focusin")<0&&Y.target!==$()||b.props.interactive&&Y.relatedTarget&&C.contains(Y.relatedTarget)||He(Y)}function me(Y){return qi.isTouch?A()!==Y.type.indexOf("touch")>=0:!1}function be(){Ce();var Y=b.props,J=Y.popperOptions,W=Y.placement,Ee=Y.offset,Fe=Y.getReferenceClientRect,tt=Y.moveTransition,at=P()?__(C).arrow:null,kn=Fe?{getBoundingClientRect:Fe,contextElement:Fe.contextElement||$()}:e,bn={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(jn){var wr=jn.state;if(P()){var Sr=I(),Uo=Sr.box;["placement","reference-hidden","escaped"].forEach(function(Ua){Ua==="placement"?Uo.setAttribute("data-placement",wr.placement):wr.attributes.popper["data-popper-"+Ua]?Uo.setAttribute("data-"+Ua,""):Uo.removeAttribute("data-"+Ua)}),wr.attributes.popper={}}}},Nt=[{name:"offset",options:{offset:Ee}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!tt}},bn];P()&&at&&Nt.push({name:"arrow",options:{element:at,padding:3}}),Nt.push.apply(Nt,(J==null?void 0:J.modifiers)||[]),b.popperInstance=lYe(kn,C,Object.assign({},J,{placement:W,onFirstUpdate:h,modifiers:Nt}))}function Ce(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function ke(){var Y=b.props.appendTo,J,W=$();b.props.interactive&&Y===WJ||Y==="parent"?J=W.parentNode:J=UJ(Y,[W]),J.contains(C)||J.appendChild(C),b.state.isMounted=!0,be()}function Oe(){return Ph(C.querySelectorAll("[data-tippy-root]"))}function Pe(Y){b.clearDelayTimeouts(),Y&&O("onTrigger",[b,Y]),ie();var J=M(!0),W=k(),Ee=W[0],Fe=W[1];qi.isTouch&&Ee==="hold"&&Fe&&(J=Fe),J?r=setTimeout(function(){b.show()},J):b.show()}function He(Y){if(b.clearDelayTimeouts(),O("onUntrigger",[b,Y]),!b.state.isVisible){fe();return}if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(Y.type)>=0&&i)){var J=M(!1);J?a=setTimeout(function(){b.state.isVisible&&b.hide()},J):o=requestAnimationFrame(function(){b.hide()})}}function Te(){b.state.isEnabled=!0}function Be(){b.hide(),b.state.isEnabled=!1}function Je(){clearTimeout(r),clearTimeout(a),cancelAnimationFrame(o)}function dt(Y){if(!b.state.isDestroyed){O("onBeforeUpdate",[b,Y]),ae();var J=b.props,W=rB(e,Object.assign({},J,eB(Y),{ignoreAttributes:!0}));b.props=W,he(),J.interactiveDebounce!==W.interactiveDebounce&&(V(),p=J9(Q,W.interactiveDebounce)),J.triggerTarget&&!W.triggerTarget?hc(J.triggerTarget).forEach(function(Ee){Ee.removeAttribute("aria-expanded")}):W.triggerTarget&&e.removeAttribute("aria-expanded"),z(),L(),T&&T(J,W),b.popperInstance&&(be(),Oe().forEach(function(Ee){requestAnimationFrame(Ee._tippy.popperInstance.forceUpdate)})),O("onAfterUpdate",[b,Y])}}function ct(Y){b.setProps({content:Y})}function wt(){var Y=b.state.isVisible,J=b.state.isDestroyed,W=!b.state.isEnabled,Ee=qi.isTouch&&!b.props.touch,Fe=ZT(b.props.duration,0,si.duration);if(!(Y||J||W||Ee)&&!$().hasAttribute("disabled")&&(O("onShow",[b],!1),b.props.onShow(b)!==!1)){if(b.state.isVisible=!0,P()&&(C.style.visibility="visible"),L(),ie(),b.state.isMounted||(C.style.transition="none"),P()){var tt=I(),at=tt.box,kn=tt.content;JT([at,kn],0)}h=function(){var Nt;if(!(!b.state.isVisible||u)){if(u=!0,C.offsetHeight,C.style.transition=b.props.moveTransition,P()&&b.props.animation){var Ct=I(),jn=Ct.box,wr=Ct.content;JT([jn,wr],Fe),om([jn,wr],"visible")}D(),z(),Q9(ex,b),(Nt=b.popperInstance)==null||Nt.forceUpdate(),O("onMount",[b]),b.props.animation&&P()&&oe(Fe,function(){b.state.isShown=!0,O("onShown",[b])})}},ke()}}function Mt(){var Y=!b.state.isVisible,J=b.state.isDestroyed,W=!b.state.isEnabled,Ee=ZT(b.props.duration,1,si.duration);if(!(Y||J||W)&&(O("onHide",[b],!1),b.props.onHide(b)!==!1)){if(b.state.isVisible=!1,b.state.isShown=!1,u=!1,i=!1,P()&&(C.style.visibility="hidden"),V(),fe(),L(!0),P()){var Fe=I(),tt=Fe.box,at=Fe.content;b.props.animation&&(JT([tt,at],Ee),om([tt,at],"hidden"))}D(),z(),b.props.animation?P()&&G(Ee,b.unmount):b.unmount()}}function Zt(Y){B().addEventListener("mousemove",p),Q9(Oy,p),p(Y)}function Se(){b.state.isVisible&&b.hide(),b.state.isMounted&&(Ce(),Oe().forEach(function(Y){Y._tippy.unmount()}),C.parentNode&&C.parentNode.removeChild(C),ex=ex.filter(function(Y){return Y!==b}),b.state.isMounted=!1,O("onHidden",[b]))}function Ne(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),ae(),delete e._tippy,b.state.isDestroyed=!0,O("onDestroy",[b]))}}function Ot(e,t){t===void 0&&(t={});var n=si.plugins.concat(t.plugins||[]);bYe();var r=Object.assign({},t,{plugins:n}),a=vYe(e),o=a.reduce(function(i,s){var l=s&&MYe(s,r);return l&&i.push(l),i},[]);return wS(e)?o[0]:o}Ot.defaultProps=si;Ot.setDefaultProps=xYe;Ot.currentInput=qi;var OYe=Object.assign({},RJ,{effect:function(t){var n=t.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}}),PYe=function(t,n){var r;n===void 0&&(n={});var a=t,o=[],i=[],s,l=n.overrides,u=[],c=!1;function f(){i=a.map(function(b){return hc(b.props.triggerTarget||b.reference)}).reduce(function(b,S){return b.concat(S)},[])}function h(){o=a.map(function(b){return b.reference})}function d(b){a.forEach(function(S){b?S.enable():S.disable()})}function p(b){return a.map(function(S){var C=S.setProps;return S.setProps=function(T){C(T),S.reference===s&&b.setProps(T)},function(){S.setProps=C}})}function v(b,S){var C=i.indexOf(S);if(S!==s){s=S;var T=(l||[]).concat("content").reduce(function(x,E){return x[E]=a[C].props[E],x},{});b.setProps(Object.assign({},T,{getReferenceClientRect:typeof T.getReferenceClientRect=="function"?T.getReferenceClientRect:function(){var x;return(x=o[C])==null?void 0:x.getBoundingClientRect()}}))}}d(!1),h(),f();var g={fn:function(){return{onDestroy:function(){d(!0)},onHidden:function(){s=null},onClickOutside:function(C){C.props.showOnCreate&&!c&&(c=!0,s=null)},onShow:function(C){C.props.showOnCreate&&!c&&(c=!0,v(C,o[0]))},onTrigger:function(C,T){v(C,T.currentTarget)}}}},m=Ot(Gc(),Object.assign({},cYe(n,["overrides"]),{plugins:[g].concat(n.plugins||[]),triggerTarget:i,popperOptions:Object.assign({},n.popperOptions,{modifiers:[].concat(((r=n.popperOptions)==null?void 0:r.modifiers)||[],[OYe])})})),w=m.show;m.show=function(b){if(w(),!s&&b==null)return v(m,o[0]);if(!(s&&b==null)){if(typeof b=="number")return o[b]&&v(m,o[b]);if(a.indexOf(b)>=0){var S=b.reference;return v(m,S)}if(o.indexOf(b)>=0)return v(m,b)}},m.showNext=function(){var b=o[0];if(!s)return m.show(0);var S=o.indexOf(s);m.show(o[S+1]||b)},m.showPrevious=function(){var b=o[o.length-1];if(!s)return m.show(b);var S=o.indexOf(s),C=o[S-1]||b;m.show(C)};var _=m.setProps;return m.setProps=function(b){l=b.overrides||l,_(b)},m.setInstances=function(b){d(!0),u.forEach(function(S){return S()}),a=b,d(!1),h(),f(),u=p(m),m.setProps({triggerTarget:i})},u=p(m),m},RYe={name:"animateFill",defaultValue:!1,fn:function(t){var n;if(!((n=t.props.render)!=null&&n.$$tippy))return{};var r=__(t.popper),a=r.box,o=r.content,i=t.props.animateFill?IYe():null;return{onCreate:function(){i&&(a.insertBefore(i,a.firstElementChild),a.setAttribute("data-animatefill",""),a.style.overflow="hidden",t.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(i){var l=a.style.transitionDuration,u=Number(l.replace("ms",""));o.style.transitionDelay=Math.round(u/10)+"ms",i.style.transitionDuration=l,om([i],"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&om([i],"hidden")}}}};function IYe(){var e=Gc();return e.className=VJ,om([e],"hidden"),e}var zA={clientX:0,clientY:0},Py=[];function XJ(e){var t=e.clientX,n=e.clientY;zA={clientX:t,clientY:n}}function DYe(e){e.addEventListener("mousemove",XJ)}function LYe(e){e.removeEventListener("mousemove",XJ)}var $Ye={name:"followCursor",defaultValue:!1,fn:function(t){var n=t.reference,r=KJ(t.props.triggerTarget||n),a=!1,o=!1,i=!0,s=t.props;function l(){return t.props.followCursor==="initial"&&t.state.isVisible}function u(){r.addEventListener("mousemove",h)}function c(){r.removeEventListener("mousemove",h)}function f(){a=!0,t.setProps({getReferenceClientRect:null}),a=!1}function h(v){var g=v.target?n.contains(v.target):!0,m=t.props.followCursor,w=v.clientX,_=v.clientY,b=n.getBoundingClientRect(),S=w-b.left,C=_-b.top;(g||!t.props.interactive)&&t.setProps({getReferenceClientRect:function(){var x=n.getBoundingClientRect(),E=w,k=_;m==="initial"&&(E=x.left+S,k=x.top+C);var A=m==="horizontal"?x.top:k,P=m==="vertical"?x.right:E,$=m==="horizontal"?x.bottom:k,B=m==="vertical"?x.left:E;return{width:P-B,height:$-A,top:A,right:P,bottom:$,left:B}}})}function d(){t.props.followCursor&&(Py.push({instance:t,doc:r}),DYe(r))}function p(){Py=Py.filter(function(v){return v.instance!==t}),Py.filter(function(v){return v.doc===r}).length===0&&LYe(r)}return{onCreate:d,onDestroy:p,onBeforeUpdate:function(){s=t.props},onAfterUpdate:function(g,m){var w=m.followCursor;a||w!==void 0&&s.followCursor!==w&&(p(),w?(d(),t.state.isMounted&&!o&&!l()&&u()):(c(),f()))},onMount:function(){t.props.followCursor&&!o&&(i&&(h(zA),i=!1),l()||u())},onTrigger:function(g,m){zP(m)&&(zA={clientX:m.clientX,clientY:m.clientY}),o=m.type==="focus"},onHidden:function(){t.props.followCursor&&(f(),c(),i=!0)}}}};function NYe(e,t){var n;return{popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat((((n=e.popperOptions)==null?void 0:n.modifiers)||[]).filter(function(r){var a=r.name;return a!==t.name}),[t])})}}var BYe={name:"inlinePositioning",defaultValue:!1,fn:function(t){var n=t.reference;function r(){return!!t.props.inlinePositioning}var a,o=-1,i=!1,s=[],l={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(d){var p=d.state;r()&&(s.indexOf(p.placement)!==-1&&(s=[]),a!==p.placement&&s.indexOf(p.placement)===-1&&(s.push(p.placement),t.setProps({getReferenceClientRect:function(){return u(p.placement)}})),a=p.placement)}};function u(h){return FYe(jJ(h),n.getBoundingClientRect(),Ph(n.getClientRects()),o)}function c(h){i=!0,t.setProps(h),i=!1}function f(){i||c(NYe(t.props,l))}return{onCreate:f,onAfterUpdate:f,onTrigger:function(d,p){if(zP(p)){var v=Ph(t.reference.getClientRects()),g=v.find(function(w){return w.left-2<=p.clientX&&w.right+2>=p.clientX&&w.top-2<=p.clientY&&w.bottom+2>=p.clientY}),m=v.indexOf(g);o=m>-1?m:o}},onHidden:function(){o=-1}}}};function FYe(e,t,n,r){if(n.length<2||e===null)return t;if(n.length===2&&r>=0&&n[0].left>n[1].right)return n[r]||t;switch(e){case"top":case"bottom":{var a=n[0],o=n[n.length-1],i=e==="top",s=a.top,l=o.bottom,u=i?a.left:o.left,c=i?a.right:o.right,f=c-u,h=l-s;return{top:s,bottom:l,left:u,right:c,width:f,height:h}}case"left":case"right":{var d=Math.min.apply(Math,n.map(function(C){return C.left})),p=Math.max.apply(Math,n.map(function(C){return C.right})),v=n.filter(function(C){return e==="left"?C.left===d:C.right===p}),g=v[0].top,m=v[v.length-1].bottom,w=d,_=p,b=_-w,S=m-g;return{top:g,bottom:m,left:w,right:_,width:b,height:S}}default:return t}}var VYe={name:"sticky",defaultValue:!1,fn:function(t){var n=t.reference,r=t.popper;function a(){return t.popperInstance?t.popperInstance.state.elements.reference:n}function o(u){return t.props.sticky===!0||t.props.sticky===u}var i=null,s=null;function l(){var u=o("reference")?a().getBoundingClientRect():null,c=o("popper")?r.getBoundingClientRect():null;(u&&iB(i,u)||c&&iB(s,c))&&t.popperInstance&&t.popperInstance.update(),i=u,s=c,t.state.isMounted&&requestAnimationFrame(l)}return{onMount:function(){t.props.sticky&&l()}}}};function iB(e,t){return e&&t?e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left:!0}Ot.setDefaultProps({render:YJ});Ot.setDefaultProps({onShow:e=>{if(!e.props.content)return!1}});function ZJ(e,t={},n={mount:!0,appName:"Tippy"}){n=Object.assign({mount:!0,appName:"Tippy"},n);const r=st(),a=H(),o=H({isEnabled:!1,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1}),i=gn();let s=null;const l=()=>s||(s=document.createDocumentFragment(),s),u=T=>{let x,E=Gt(T)?T.value:T;return yn(E)?(i.value||(i.value=Qc({name:n.appName,setup:()=>()=>Gt(T)?T.value:T}),r&&Object.assign(i.value._context,r.appContext),i.value.mount(l())),x=()=>l()):typeof E=="object"?(i.value||(i.value=Qc({name:n.appName,setup:()=>()=>We(Gt(T)?T.value:T)}),r&&Object.assign(i.value._context,r.appContext),i.value.mount(l())),x=()=>l()):x=E,x},c=T=>{let x={};return Gt(T)?x=T.value||{}:Qa(T)?x=X({},T):x=X({},T),x.content&&(x.content=u(x.content)),x.triggerTarget&&(x.triggerTarget=Gt(x.triggerTarget)?x.triggerTarget.value:x.triggerTarget),(!x.plugins||!Array.isArray(x.plugins))&&(x.plugins=[]),x.plugins=x.plugins.filter(E=>E.name!=="vueTippyReactiveState"),x.plugins.push({name:"vueTippyReactiveState",fn:()=>({onCreate(){o.value.isEnabled=!0},onMount(){o.value.isMounted=!0},onShow(){o.value.isMounted=!0,o.value.isVisible=!0},onShown(){o.value.isShown=!0},onHide(){o.value.isMounted=!1,o.value.isVisible=!1},onHidden(){o.value.isShown=!1},onUnmounted(){o.value.isMounted=!1},onDestroy(){o.value.isDestroyed=!0}})}),x},f=()=>{a.value&&a.value.setProps(c(t))},h=()=>{!a.value||!t.content||a.value.setContent(u(t.content))},d=T=>{var x;(x=a.value)===null||x===void 0||x.setContent(u(T))},p=T=>{var x;(x=a.value)===null||x===void 0||x.setProps(c(T))},v=()=>{var T;a.value&&(a.value.destroy(),a.value=void 0),s=null,(T=i.value)===null||T===void 0||T.unmount(),i.value=void 0},g=()=>{var T;(T=a.value)===null||T===void 0||T.show()},m=()=>{var T;(T=a.value)===null||T===void 0||T.hide()},w=()=>{var T;(T=a.value)===null||T===void 0||T.disable(),o.value.isEnabled=!1},_=()=>{var T;(T=a.value)===null||T===void 0||T.enable(),o.value.isEnabled=!0},b=()=>{var T;(T=a.value)===null||T===void 0||T.unmount()},S=()=>{if(!e)return;let T=Gt(e)?e.value:e;typeof T=="function"&&(T=T()),T&&(a.value=Ot(T,c(t)),T.$tippy=C)},C={tippy:a,refresh:f,refreshContent:h,setContent:d,setProps:p,destroy:v,hide:m,show:g,disable:w,enable:_,unmount:b,mount:S,state:o};return n.mount&&(r?r.isMounted?S():ft(S):S()),r&&Vo(()=>{v()}),Gt(t)||Qa(t)?xe(t,f,{immediate:!1}):Gt(t.content)&&xe(t.content,h,{immediate:!1}),C}function zYe(e,t){const n=H();return ft(()=>{const a=(Array.isArray(e)?e.map(o=>o.value):typeof e=="function"?e():e.value).map(o=>o instanceof Element?o._tippy:o).filter(Boolean);n.value=PYe(a,t?X({allowHTML:!0},t):{allowHTML:!0})}),{singleton:n}}function HYe(e){return typeof e=="function"?e():y(e)}function WYe(e){var t,n;const r=HYe(e);return(n=(t=r)===null||t===void 0?void 0:t.$el)!==null&&n!==void 0?n:r}const UYe=te({props:{to:{type:[String,Function]},tag:{type:[String,Object],default:"span"},contentTag:{type:[String,Object],default:"span"},contentClass:{type:String,default:null},appendTo:{default:()=>Ot.defaultProps.appendTo},aria:{default:()=>Ot.defaultProps.aria},delay:{default:()=>Ot.defaultProps.delay},duration:{default:()=>Ot.defaultProps.duration},getReferenceClientRect:{default:()=>Ot.defaultProps.getReferenceClientRect},hideOnClick:{type:[Boolean,String],default:()=>Ot.defaultProps.hideOnClick},ignoreAttributes:{type:Boolean,default:()=>Ot.defaultProps.ignoreAttributes},interactive:{type:Boolean,default:()=>Ot.defaultProps.interactive},interactiveBorder:{default:()=>Ot.defaultProps.interactiveBorder},interactiveDebounce:{default:()=>Ot.defaultProps.interactiveDebounce},moveTransition:{default:()=>Ot.defaultProps.moveTransition},offset:{default:()=>Ot.defaultProps.offset},onAfterUpdate:{default:()=>Ot.defaultProps.onAfterUpdate},onBeforeUpdate:{default:()=>Ot.defaultProps.onBeforeUpdate},onCreate:{default:()=>Ot.defaultProps.onCreate},onDestroy:{default:()=>Ot.defaultProps.onDestroy},onHidden:{default:()=>Ot.defaultProps.onHidden},onHide:{default:()=>Ot.defaultProps.onHide},onMount:{default:()=>Ot.defaultProps.onMount},onShow:{default:()=>Ot.defaultProps.onShow},onShown:{default:()=>Ot.defaultProps.onShown},onTrigger:{default:()=>Ot.defaultProps.onTrigger},onUntrigger:{default:()=>Ot.defaultProps.onUntrigger},onClickOutside:{default:()=>Ot.defaultProps.onClickOutside},placement:{default:()=>Ot.defaultProps.placement},plugins:{default:()=>Ot.defaultProps.plugins},popperOptions:{default:()=>Ot.defaultProps.popperOptions},render:{default:()=>Ot.defaultProps.render},showOnCreate:{type:Boolean,default:()=>Ot.defaultProps.showOnCreate},touch:{type:[Boolean,String,Array],default:()=>Ot.defaultProps.touch},trigger:{default:()=>Ot.defaultProps.trigger},triggerTarget:{default:()=>Ot.defaultProps.triggerTarget},animateFill:{type:Boolean,default:()=>Ot.defaultProps.animateFill},followCursor:{type:[Boolean,String],default:()=>Ot.defaultProps.followCursor},inlinePositioning:{type:Boolean,default:()=>Ot.defaultProps.inlinePositioning},sticky:{type:[Boolean,String],default:()=>Ot.defaultProps.sticky},allowHTML:{type:Boolean,default:()=>Ot.defaultProps.allowHTML},animation:{default:()=>Ot.defaultProps.animation},arrow:{default:()=>Ot.defaultProps.arrow},content:{default:()=>Ot.defaultProps.content},inertia:{default:()=>Ot.defaultProps.inertia},maxWidth:{default:()=>Ot.defaultProps.maxWidth},role:{default:()=>Ot.defaultProps.role},theme:{default:()=>Ot.defaultProps.theme},zIndex:{default:()=>Ot.defaultProps.zIndex}},emits:["state"],setup(e,{slots:t,emit:n,expose:r}){const a=H(),o=H(),i=H(),s=H(!1),l=()=>{let d=X({},e);for(const p of["to","tag","contentTag","contentClass"])d.hasOwnProperty(p)&&delete d[p];return d};let u=()=>WYe(a);e.to&&(typeof Element!="undefined"&&e.to instanceof Element?u=()=>e.to:e.to==="parent"?u=()=>{let d=a.value;return d||(d=a.value=o.value.parentElement),d}:(typeof e.to=="string"||e.to instanceof String)&&(u=()=>document.querySelector(e.to)));const c=ZJ(u,l());let f=t.content;!f&&e.to==="parent"&&(f=t.default),ft(()=>{s.value=!0,qe(()=>{f&&c.setContent(()=>i.value)})}),xe(c.state,()=>{n("state",y(c.state))},{immediate:!0,deep:!0}),xe(()=>e,()=>{c.setProps(l()),f&&c.setContent(()=>i.value)},{deep:!0});let h=zt(X({elem:a,contentElem:i,mounted:s},c));return r(h),()=>{const d=(typeof e.contentTag=="string",e.contentTag),p=f?We(d,{ref:i,style:{display:s.value?"inherit":"none"},class:e.contentClass},f(h)):null;if(e.to==="parent"){const m=[];if(!a.value){const w=We("span",{ref:o,"data-v-tippy":"",style:{display:"none"}});m.push(w)}return p&&m.push(p),m}const v=t.default?t.default(h):[];if(!e.tag){const m=We(v[0],{ref:a,"data-v-tippy":""});return p?[m,p]:m}const g=(typeof e.tag=="string",e.tag);return We(g,{ref:a,"data-v-tippy":""},p?[v,p]:v)}}}),jYe=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let HA={};Object.keys(Ot.defaultProps).forEach(e=>{jYe.includes(e)?HA[e]={type:Boolean,default:function(){return Ot.defaultProps[e]}}:HA[e]={default:function(){return Ot.defaultProps[e]}}});const KYe=te({props:HA,setup(e){const t=H([]),{singleton:n}=zYe(t,e);return{instances:t,singleton:n}},mounted(){var e;const n=this.$el.parentElement.querySelectorAll("[data-v-tippy]");this.instances=Array.from(n).map(r=>r._tippy).filter(Boolean),(e=this.singleton)===null||e===void 0||e.setInstances(this.instances)},render(){let e=this.$slots.default?this.$slots.default():[];return We(()=>e)}}),GYe={mounted(e,t,n){const r=typeof t.value=="string"?{content:t.value}:t.value||{},a=Object.keys(t.modifiers||{}),o=a.find(s=>s!=="arrow"),i=a.findIndex(s=>s==="arrow")!==-1;o&&(r.placement=r.placement||o),i&&(r.arrow=r.arrow!==void 0?r.arrow:!0),n.props&&n.props.onTippyShow&&(r.onShow=function(...s){var l;return(l=n.props)===null||l===void 0?void 0:l.onTippyShow(...s)}),n.props&&n.props.onTippyShown&&(r.onShown=function(...s){var l;return(l=n.props)===null||l===void 0?void 0:l.onTippyShown(...s)}),n.props&&n.props.onTippyHidden&&(r.onHidden=function(...s){var l;return(l=n.props)===null||l===void 0?void 0:l.onTippyHidden(...s)}),n.props&&n.props.onTippyHide&&(r.onHide=function(...s){var l;return(l=n.props)===null||l===void 0?void 0:l.onTippyHide(...s)}),n.props&&n.props.onTippyMount&&(r.onMount=function(...s){var l;return(l=n.props)===null||l===void 0?void 0:l.onTippyMount(...s)}),e.getAttribute("title")&&!r.content&&(r.content=e.getAttribute("title"),e.removeAttribute("title")),e.getAttribute("content")&&!r.content&&(r.content=e.getAttribute("content")),ZJ(e,r)},unmounted(e){e.$tippy?e.$tippy.destroy():e._tippy&&e._tippy.destroy()},updated(e,t){const n=typeof t.value=="string"?{content:t.value}:t.value||{};e.getAttribute("title")&&!n.content&&(n.content=e.getAttribute("title"),e.removeAttribute("title")),e.getAttribute("content")&&!n.content&&(n.content=e.getAttribute("content")),e.$tippy?e.$tippy.setProps(n||{}):e._tippy&&e._tippy.setProps(n||{})}},qYe={install(e,t={}){Ot.setDefaultProps(t.defaultProps||{}),e.directive(t.directive||"tippy",GYe),e.component(t.component||"tippy",UYe),e.component(t.componentSingleton||"tippy-singleton",KYe)}},YYe=Ot.setDefaultProps;YYe({ignoreAttributes:!0,plugins:[VYe,BYe,$Ye,RYe]});const Ga=Qc(y5e);Object.keys(_9).forEach(e=>{Ga.directive(e,_9[e])});Ga.component("IconifyIconOffline",ZGe);Ga.component("IconifyIconOnline",JGe);Ga.component("FontIcon",QGe);Ga.component("Auth",tqe);Ga.component("Perms",rqe);Ga.use(qYe);yOe(Ga).then(e=>ut(void 0,null,function*(){N5e(Ga),Ga.use(Zn),yield Zn.isReady(),Qje(Ga,e),Ga.use(m8e).use(jje).use(cKe).use(Hje),Ga.mount("#app")}));export{k8 as $,tXe as A,Yl as B,P3e as C,$E as D,cRe as E,gw as F,wo as G,cXe as H,xe as I,h2 as J,fn as K,Wt as L,nXe as M,Wn as N,Xe as O,je as P,Rt as Q,F as R,nt as S,Re as T,ge as U,yr as V,qe as W,X3e as X,Il as Y,X4 as Z,g5e as _,Mte as a,SFe as a$,Xt as a0,bt as a1,Sb as a2,gn as a3,uXe as a4,wg as a5,fXe as a6,Gt as a7,oXe as a8,mXe as a9,qE as aA,SPe as aB,cM as aC,Zn as aD,wRe as aE,rXe as aF,aXe as aG,dXe as aH,pXe as aI,yXe as aJ,hXe as aK,QGe as aL,ZGe as aM,JGe as aN,Nn as aO,mn as aP,zl as aQ,Lt as aR,nn as aS,on as aT,an as aU,TFe as aV,Un as aW,LXe as aX,xFe as aY,EFe as aZ,re as a_,Uj as aa,f3 as ab,ve as ac,gp as ad,Nee as ae,O3e as af,We as ag,sXe as ah,Jt as ai,$d as aj,z3e as ak,lm as al,Vo as am,G5 as an,Yn as ao,ZJ as ap,Et as aq,Kd as ar,Yd as as,K5 as at,mu as au,bge as av,Im as aw,Ds as ax,XE as ay,iRe as az,ee as b,Kw as b$,CFe as b0,DXe as b1,$v as b2,Jm as b3,Ft as b4,$a as b5,tn as b6,xr as b7,TXe as b8,BM as b9,Z7e as bA,_Ve as bB,Tt as bC,bVe as bD,s7e as bE,Ug as bF,qt as bG,yt as bH,Ln as bI,io as bJ,qO as bK,ln as bL,MVe as bM,ko as bN,Qh as bO,Gm as bP,Zi as bQ,_r as bR,Cu as bS,rp as bT,DVe as bU,Cn as bV,hVe as bW,Pn as bX,mt as bY,Ng as bZ,Ja as b_,Ye as ba,cS as bb,Ha as bc,wn as bd,Rn as be,No as bf,GFe as bg,MFe as bh,ya as bi,Wa as bj,nze as bk,R8e as bl,ot as bm,xf as bn,wu as bo,eO as bp,Ut as bq,jb as br,so as bs,Qe as bt,Pt as bu,Xm as bv,Zm as bw,Fg as bx,iO as by,lt as bz,q as c,AM as c$,e$e as c0,qw as c1,mq as c2,oi as c3,Xl as c4,Hm as c5,nG as c6,Og as c7,Hs as c8,Dt as c9,$l as cA,Ok as cB,_i as cC,bd as cD,B7e as cE,_Xe as cF,XO as cG,XK as cH,Ww as cI,Gw as cJ,Gb as cK,da as cL,VO as cM,FO as cN,Tr as cO,AXe as cP,nr as cQ,mO as cR,EXe as cS,Tn as cT,ma as cU,$g as cV,BO as cW,RL as cX,$k as cY,XM as cZ,jLe as c_,Va as ca,IXe as cb,YBe as cc,K$ as cd,Qm as ce,oze as cf,Tf as cg,NLe as ch,sze as ci,Zk as cj,ep as ck,wXe as cl,ZM as cm,MLe as cn,lL as co,dn as cp,eNe as cq,va as cr,IM as cs,Jh as ct,B8e as cu,kr as cv,O8e as cw,cf as cx,wi as cy,Ll as cz,te as d,iLe as d$,y1 as d0,vG as d1,Or as d2,vDe as d3,Fd as d4,ZK as d5,QK as d6,v1 as d7,Cf as d8,JK as d9,sS as dA,Qb as dB,jO as dC,Gg as dD,Ws as dE,op as dF,Vl as dG,bze as dH,aO as dI,Aze as dJ,Oze as dK,Mze as dL,f_ as dM,bXe as dN,U9e as dO,Q$e as dP,mDe as dQ,za as dR,sa as dS,xO as dT,$Fe as dU,w$e as dV,Fs as dW,s4e as dX,Ib as dY,xD as dZ,Wf as d_,OM as da,F8e as db,V8e as dc,Hn as dd,$o as de,tr as df,_h as dg,wh as dh,CY as di,Zw as dj,Bb as dk,$r as dl,Bc as dm,rS as dn,l7e as dp,YG as dq,ALe as dr,k$e as ds,nN as dt,ki as du,jt as dv,qb as dw,Xs as dx,Ag as dy,xt as dz,Z as e,wY as e$,qs as e0,ZO as e1,DG as e2,YO as e3,tp as e4,oA as e5,mBe as e6,yBe as e7,LFe as e8,av as e9,t0 as eA,kXe as eB,hf as eC,xXe as eD,V$e as eE,Lo as eF,H$ as eG,C$e as eH,V7 as eI,NXe as eJ,zZ as eK,BUe as eL,ni as eM,Fp as eN,jm as eO,INe as eP,Bg as eQ,ps as eR,uX as eS,zO as eT,Ym as eU,Ht as eV,hu as eW,es as eX,k1 as eY,BLe as eZ,oq as e_,Ub as ea,Dg as eb,mk as ec,Ize as ed,CL as ee,$Xe as ef,RXe as eg,Eq as eh,Pze as ei,Rze as ej,Yw as ek,tO as el,Uze as em,IT as en,yA as eo,XVe as ep,n0 as eq,Vg as er,YVe as es,TZ as et,PHe as eu,kZ as ev,SZ as ew,AZ as ex,RHe as ey,pP as ez,At as f,tX as f0,MXe as f1,OXe as f2,Gr as f3,D8e as f4,NNe as f5,Ai as f6,ZNe as f7,PXe as f8,Us as f9,GY as fA,V9e as fB,lXe as fC,K3e as fD,yn as fE,Ar as fF,QPe as fG,gRe as fH,l3e as fI,e6 as fJ,ys as fK,it as fL,Zs as fa,Nb as fb,SXe as fc,g1 as fd,JM as fe,c7e as ff,CXe as fg,MHe as fh,THe as fi,XFe as fj,fVe as fk,TVe as fl,XHe as fm,SWe as fn,PWe as fo,yUe as fp,NUe as fq,HUe as fr,JUe as fs,yje as ft,lje as fu,mje as fv,Vje as fw,Lje as fx,Fje as fy,I9e as fz,ye as g,le as h,vXe as i,Nh as j,WKe as k,Z5 as l,$c as m,H as n,N as o,ac as p,R as q,gt as r,vw as s,zt as t,y as u,Z3e as v,vt as w,ft as x,gXe as y,st as z}; diff --git a/dist/static/js/index-CSXUiThf.js b/dist/static/js/index-CSXUiThf.js new file mode 100644 index 0000000..836b327 --- /dev/null +++ b/dist/static/js/index-CSXUiThf.js @@ -0,0 +1 @@ +var T=Object.defineProperty,$=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var g=(n,o,a)=>o in n?T(n,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[o]=a,_=(n,o)=>{for(var a in o||(o={}))V.call(o,a)&&g(n,a,o[a]);if(u)for(var a of u(o))H.call(o,a)&&g(n,a,o[a]);return n},C=(n,o)=>$(n,N(o));import{useData as E}from"./hook-BK0v_dXT.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as I}from"./index-CnAi1QxJ.js";import{d as M,x as O,r as m,o as j,c as q,b as r,u as e,e as A,h as l,f,R as b,a8 as h}from"./index-CRmU-Qpi.js";import{u as G}from"./hooks-ItYVRz1P.js";import{d as J}from"./add-circle-line-DOJqVT3s.js";import"./form.vue_vue_type_script_setup_true_lang-DWbiX_hV.js";import"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";import"./system-CqYheEHE.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const K={class:"main"},ie=M({name:"adolescentType",__name:"index",setup(n){const{searchLabel:o,searchForm:a,onSearch:s,isShow:v,tableList:y,pagination:x,tableLabel:k,handleSizeChange:w,handleCurrentChange:L,handleDelete:S,loading:P,openDialog:c}=E();return O(()=>{s(a.value)}),(Q,t)=>{const p=m("el-button"),R=m("el-popconfirm"),B=m("pure-table");return j(),q("div",K,[r(F,{class:"pb-2",LabelList:e(o),formData:e(a),onHandleSearch:e(s)},null,8,["LabelList","formData","onHandleSearch"]),A("div",{ref:"contentRef",class:b(["flex",e(h)()?"flex-wrap":""])},[r(e(I),{title:"单页列表",class:b([e(v)&&!e(h)()?"!w-[60vw]":"w-full"]),columns:e(k),onRefresh:e(s)},{buttons:l(()=>[r(p,{type:"primary",icon:e(G)(e(J)),onClick:t[0]||(t[0]=i=>e(c)("新增",{}))},{default:l(()=>t[1]||(t[1]=[f(" 新增单页 ")])),_:1},8,["icon"])]),default:l(({size:i,dynamicColumns:D})=>[r(B,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(P),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(y),columns:D,pagination:C(_({},e(x)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(L),onPageSizeChange:e(w)},{operation:l(({row:d})=>[r(p,{link:"",type:"primary",size:i,onClick:z=>e(c)("编辑",d)},{default:l(()=>t[2]||(t[2]=[f(" 编辑 ")])),_:2},1032,["size","onClick"]),r(R,{title:"是否确认删除这条数据",onConfirm:z=>e(S)(d)},{reference:l(()=>[r(p,{link:"",type:"primary",size:i},{default:l(()=>t[3]||(t[3]=[f(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{ie as default}; diff --git a/dist/static/js/index-CXEjGqxh.js b/dist/static/js/index-CXEjGqxh.js new file mode 100644 index 0000000..544f749 --- /dev/null +++ b/dist/static/js/index-CXEjGqxh.js @@ -0,0 +1 @@ +var w=Object.defineProperty,v=Object.defineProperties;var x=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertySymbols;var P=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var r=(n,e,a)=>e in n?w(n,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[e]=a,s=(n,e)=>{for(var a in e||(e={}))P.call(e,a)&&r(n,a,e[a]);if(l)for(var a of l(e))R.call(e,a)&&r(n,a,e[a]);return n},i=(n,e)=>v(n,x(e));import{useData as B}from"./hook-uIZx5iE-.js";import{P as S}from"./index-CnAi1QxJ.js";import{d as k,x as y,r as z,o as L,c as N,e as T,b as c,h as V,u as o,R as d,a8 as f}from"./index-CRmU-Qpi.js";import"./invite-ZPZpvkxZ.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const D={class:"main"},I=k({name:"giftRecord",__name:"index",setup(n){const{onSearch:e,isShow:a,tableList:p,pagination:u,tableLabel:m,handleSizeChange:g,handleCurrentChange:h,loading:C}=B();return y(()=>{e()}),(E,M)=>{const _=z("pure-table");return L(),N("div",D,[T("div",{ref:"contentRef",class:d(["flex",o(f)()?"flex-wrap":""])},[c(o(S),{title:"邀请列表",class:d([o(a)&&!o(f)()?"!w-[60vw]":"w-full"]),columns:o(m),onRefresh:o(e)},{default:V(({size:t,dynamicColumns:b})=>[c(_,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:o(C),size:t,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:o(p),columns:b,pagination:i(s({},o(u)),{size:t}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:o(h),onPageSizeChange:o(g)},null,8,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{I as default}; diff --git a/dist/static/js/index-CYcgSOAr.js b/dist/static/js/index-CYcgSOAr.js new file mode 100644 index 0000000..2aac85f --- /dev/null +++ b/dist/static/js/index-CYcgSOAr.js @@ -0,0 +1 @@ +var z=Object.defineProperty,T=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var g=(n,o,a)=>o in n?z(n,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[o]=a,_=(n,o)=>{for(var a in o||(o={}))V.call(o,a)&&g(n,a,o[a]);if(u)for(var a of u(o))H.call(o,a)&&g(n,a,o[a]);return n},C=(n,o)=>T(n,N(o));import{useData as E}from"./hook-CjIFaqzN.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as I}from"./index-CnAi1QxJ.js";import{d as M,x as O,r as f,o as j,c as q,b as l,u as e,e as A,h as r,f as c,R as b,a8 as h}from"./index-CRmU-Qpi.js";import{u as G}from"./hooks-ItYVRz1P.js";import{d as J}from"./add-circle-line-DOJqVT3s.js";import"./form.vue_vue_type_script_setup_true_lang-BlmxE0Vv.js";import"./gift-BjNBi56Q.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const K={class:"main"},re=M({name:"roomType",__name:"index",setup(n){const{searchLabel:o,searchForm:a,onSearch:s,isShow:v,tableList:y,pagination:x,tableLabel:k,handleSizeChange:w,handleCurrentChange:L,handleDelete:S,loading:P,openDialog:d}=E();return O(()=>{s(a.value)}),(Q,t)=>{const m=f("el-button"),R=f("el-popconfirm"),B=f("pure-table");return j(),q("div",K,[l(F,{class:"pb-2",LabelList:e(o),formData:e(a),onHandleSearch:e(s)},null,8,["LabelList","formData","onHandleSearch"]),A("div",{ref:"contentRef",class:b(["flex",e(h)()?"flex-wrap":""])},[l(e(I),{title:"标签列表",class:b([e(v)&&!e(h)()?"!w-[60vw]":"w-full"]),columns:e(k),onRefresh:e(s)},{buttons:r(()=>[l(m,{type:"primary",icon:e(G)(e(J)),onClick:t[0]||(t[0]=i=>e(d)("新增",{}))},{default:r(()=>t[1]||(t[1]=[c(" 新增礼物标签 ")])),_:1},8,["icon"])]),default:r(({size:i,dynamicColumns:D})=>[l(B,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(P),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(y),columns:D,pagination:C(_({},e(x)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(L),onPageSizeChange:e(w)},{operation:r(({row:p})=>[l(m,{link:"",type:"primary",size:i,onClick:$=>e(d)("编辑",p)},{default:r(()=>t[2]||(t[2]=[c(" 编辑 ")])),_:2},1032,["size","onClick"]),l(R,{title:`是否确认删除标签名称为${p.name}的这条数据`,onConfirm:$=>e(S)(p)},{reference:r(()=>[l(m,{link:"",type:"primary",size:i},{default:r(()=>t[3]||(t[3]=[c(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["title","onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{re as default}; diff --git a/dist/static/js/index-C_Zp3d9X.js b/dist/static/js/index-C_Zp3d9X.js new file mode 100644 index 0000000..7af5bf9 --- /dev/null +++ b/dist/static/js/index-C_Zp3d9X.js @@ -0,0 +1 @@ +var S=Object.defineProperty,T=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var _=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable;var C=(n,e,t)=>e in n?S(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,b=(n,e)=>{for(var t in e||(e={}))$.call(e,t)&&C(n,t,e[t]);if(_)for(var t of _(e))P.call(e,t)&&C(n,t,e[t]);return n},g=(n,e)=>T(n,V(e));import{useData as E}from"./hook-QVaAWfWn.js";import{P as F}from"./index-CnAi1QxJ.js";import{u as I}from"./hooks-ItYVRz1P.js";import{d as M}from"./add-circle-line-DOJqVT3s.js";import{d as j,x as q,r as p,o as A,c as G,e as H,b as l,h as r,u as o,f as d,R as y,a8 as v}from"./index-CRmU-Qpi.js";import"./form.vue_vue_type_script_setup_true_lang-BoAlLsu7.js";import"./permission-DJnI7MjS.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const J={class:"main"},re=j({name:"permissionList",__name:"index",setup(n){const{searchLabel:e,searchForm:t,onSearch:c,isShow:k,tableList:x,pagination:K,tableLabel:w,handleSizeChange:O,handleCurrentChange:Q,openDialog:f,loading:B,handleDelete:R}=E(),z=(u,a,s)=>{setTimeout(()=>{s(u.childlist.map(i=>g(b({},i),{hasChildren:!!i.childlist.length})))},500)};return q(()=>{c()}),(u,a)=>{const s=p("el-button"),i=p("el-popconfirm"),L=p("pure-table");return A(),G("div",J,[H("div",{ref:"contentRef",class:y(["flex",o(v)()?"flex-wrap":""])},[l(o(F),{title:"权限列表",class:y([o(k)&&!o(v)()?"!w-[60vw]":"w-full"]),columns:o(w),onRefresh:o(c)},{buttons:r(()=>[l(s,{type:"primary",icon:o(I)(o(M)),onClick:a[0]||(a[0]=m=>o(f)("新增",{}))},{default:r(()=>a[1]||(a[1]=[d(" 新增 ")])),_:1},8,["icon"])]),default:r(({size:m,dynamicColumns:N})=>[l(L,{"table-layout":"auto",adaptiveConfig:{offsetBottom:108},border:"",data:o(x),columns:N,"row-key":"id",lazy:"",load:z,loading:o(B),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},"tree-props":{hasChildren:"hasChildren",children:"childlist"}},{operation:r(({row:h})=>[l(s,{link:"",type:"primary",size:m,onClick:D=>o(f)("编辑",h)},{default:r(()=>a[2]||(a[2]=[d(" 编辑 ")])),_:2},1032,["size","onClick"]),l(i,{title:"是否确认删除",onConfirm:D=>o(R)(h)},{reference:r(()=>[l(s,{link:"",type:"primary",size:m},{default:r(()=>a[3]||(a[3]=[d(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["onConfirm"])]),_:2},1032,["data","columns","loading"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{re as default}; diff --git a/dist/static/js/index-CcIJUKVI.js b/dist/static/js/index-CcIJUKVI.js new file mode 100644 index 0000000..cf06372 --- /dev/null +++ b/dist/static/js/index-CcIJUKVI.js @@ -0,0 +1 @@ +var $=Object.defineProperty,D=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var d=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var c=(n,o,t)=>o in n?$(n,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[o]=t,g=(n,o)=>{for(var t in o||(o={}))T.call(o,t)&&c(n,t,o[t]);if(d)for(var t of d(o))V.call(o,t)&&c(n,t,o[t]);return n},C=(n,o)=>D(n,N(o));import{useData as L}from"./hook-Cgu1CRpq.js";import{P as E}from"./index-CnAi1QxJ.js";import{d as I,x as M,r as m,o as O,c as j,e as q,b as r,h as l,u as e,f,R as _,a8 as b}from"./index-CRmU-Qpi.js";import{u as A}from"./hooks-ItYVRz1P.js";import{d as F}from"./add-circle-line-DOJqVT3s.js";import"./form.vue_vue_type_script_setup_true_lang-BTdh2pXv.js";import"./room-3H8Bx0CI.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const G={class:"main"},te=I({name:"roomRules",__name:"index",setup(n){const{onSearch:o,isShow:t,tableList:h,pagination:v,tableLabel:x,handleSizeChange:y,handleCurrentChange:k,handleDelete:w,loading:R,openDialog:u}=L();return M(()=>{o()}),(H,a)=>{const s=m("el-button"),P=m("el-popconfirm"),B=m("pure-table");return O(),j("div",G,[q("div",{ref:"contentRef",class:_(["flex",e(b)()?"flex-wrap":""])},[r(e(E),{title:"补贴奖励规则列表",class:_([e(t)&&!e(b)()?"!w-[60vw]":"w-full"]),columns:e(x),onRefresh:e(o)},{buttons:l(()=>[r(s,{type:"primary",icon:e(A)(e(F)),onClick:a[0]||(a[0]=i=>e(u)("新增",{}))},{default:l(()=>a[1]||(a[1]=[f(" 新增奖励规则 ")])),_:1},8,["icon"])]),default:l(({size:i,dynamicColumns:S})=>[r(B,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(R),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(h),columns:S,pagination:C(g({},e(v)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(k),onPageSizeChange:e(y)},{operation:l(({row:p})=>[r(s,{link:"",type:"primary",size:i,onClick:z=>e(u)("编辑",p)},{default:l(()=>a[2]||(a[2]=[f(" 编辑 ")])),_:2},1032,["size","onClick"]),r(P,{title:`您删除了规则名称为【${p.start_amount}】的这条数据`,onConfirm:z=>e(w)(p)},{reference:l(()=>[r(s,{link:"",type:"primary",size:i},{default:l(()=>a[3]||(a[3]=[f(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["title","onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{te as default}; diff --git a/dist/static/js/index-CcSdTVq6.js b/dist/static/js/index-CcSdTVq6.js new file mode 100644 index 0000000..fc33e5f --- /dev/null +++ b/dist/static/js/index-CcSdTVq6.js @@ -0,0 +1 @@ +var T=Object.defineProperty,N=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var g=(t,o,a)=>o in t?T(t,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[o]=a,C=(t,o)=>{for(var a in o||(o={}))H.call(o,a)&&g(t,a,o[a]);if(c)for(var a of c(o))E.call(o,a)&&g(t,a,o[a]);return t},_=(t,o)=>N(t,V(o));import{useData as F}from"./hook-Bpp-GyDv.js";import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as M}from"./index-CnAi1QxJ.js";import{d as O,x as j,r as d,o as q,c as A,b as l,u as e,e as G,h as r,f as p,R as b,a8 as h}from"./index-CRmU-Qpi.js";import{u as J}from"./hooks-ItYVRz1P.js";import{d as K}from"./add-circle-line-DOJqVT3s.js";import"./form.vue_vue_type_script_setup_true_lang-CD9wd64y.js";import"./index-An8nOBwL.js";import"./expression-DA1ai6Y-.js";import"./index-BTQkAWUQ.js";import"./form.vue_vue_type_script_setup_true_lang-J4dbTMG5.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const Q={class:"main"},me=O({name:"giftList",__name:"index",setup(t){const{searchLabel:o,searchForm:a,onSearch:m,isShow:v,tableList:y,pagination:k,tableLabel:x,handleSizeChange:w,handleCurrentChange:L,loading:S,handleDelete:D,openTypeDialog:P,openDialog:u}=F();return j(()=>{m(a.value)}),(U,n)=>{const s=d("el-button"),R=d("el-popconfirm"),B=d("pure-table");return q(),A("div",Q,[l(I,{class:"pb-2",LabelList:e(o),formData:e(a),onHandleSearch:e(m)},null,8,["LabelList","formData","onHandleSearch"]),G("div",{ref:"contentRef",class:b(["flex",e(h)()?"flex-wrap":""])},[l(e(M),{title:"表情包列表",class:b([e(v)&&!e(h)()?"!w-[60vw]":"w-full"]),columns:e(x),onRefresh:e(m)},{buttons:r(()=>[l(s,{type:"text",onClick:e(P)},{default:r(()=>n[1]||(n[1]=[p("表情分类列表")])),_:1},8,["onClick"]),l(s,{type:"primary",icon:e(J)(e(K)),onClick:n[0]||(n[0]=i=>e(u)("新增",{}))},{default:r(()=>n[2]||(n[2]=[p(" 新增表情包 ")])),_:1},8,["icon"])]),default:r(({size:i,dynamicColumns:$})=>[l(B,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(S),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(y),columns:$,pagination:_(C({},e(k)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(L),onPageSizeChange:e(w)},{operation:r(({row:f})=>[l(s,{link:"",type:"primary",size:i,onClick:z=>e(u)("编辑",f)},{default:r(()=>n[3]||(n[3]=[p(" 编辑 ")])),_:2},1032,["size","onClick"]),l(R,{title:`是否确认删除表情名称为【${f.name}】的这条数据`,onConfirm:z=>e(D)(f)},{reference:r(()=>[l(s,{link:"",type:"primary",size:i},{default:r(()=>n[4]||(n[4]=[p(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["title","onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{me as default}; diff --git a/dist/static/js/index-Cc_0L-Cy.js b/dist/static/js/index-Cc_0L-Cy.js new file mode 100644 index 0000000..4d74898 --- /dev/null +++ b/dist/static/js/index-Cc_0L-Cy.js @@ -0,0 +1 @@ +var U=Object.defineProperty,I=Object.defineProperties;var M=Object.getOwnPropertyDescriptors;var C=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var _=(l,n,o)=>n in l?U(l,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):l[n]=o,k=(l,n)=>{for(var o in n||(n={}))j.call(n,o)&&_(l,o,n[o]);if(C)for(var o of C(n))q.call(n,o)&&_(l,o,n[o]);return l},g=(l,n)=>I(l,M(n));import{useData as A}from"./hook-7T2A1rw1.js";import{_ as G}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as J}from"./index-CnAi1QxJ.js";import{d as K,x as Q,r as c,o as W,c as X,b as a,u as e,e as Y,h as i,f as p,T as Z,R as y,a8 as v,_ as ee}from"./index-CRmU-Qpi.js";import"./form.vue_vue_type_script_setup_true_lang-DeQXcNsI.js";import"./detail-CoKcup1p.js";import"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import"./xlsx-DaVhO591.js";import"./newuserList-JxRjYKtu.js";import"./banUser.vue_vue_type_script_setup_true_lang-C6NyfrKW.js";import"./password.vue_vue_type_script_setup_true_lang-CWnP2x5O.js";import"./fundSetting.vue_vue_type_script_setup_true_lang-B0HZiIqN.js";import"./searchMore.vue_vue_type_script_setup_true_lang-x7g0dVug.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const ne={class:"main"},te=K({name:"newuserList",__name:"index",setup(l){const{searchLabel:n,searchForm:o,onSearch:d,isShow:b,tableList:h,pagination:S,tableLabel:x,handleSizeChange:$,handleCurrentChange:D,loading:L,openDialog:P,handleDelete:R,viewDetail:B,handleBanData:F,setOfficialUser:z,changePassword:O,setUserFund:T,onSeniorSearch:w,resetFieldsSearch:N,exportExcel:V}=A();return Q(()=>{d(o.value)}),(oe,t)=>{const s=c("el-button"),u=c("el-popconfirm"),E=c("pure-table");return W(),X("div",ne,[a(G,{class:"pb-2",LabelList:e(n),formData:e(o),onHandleSearch:e(d),onOpenSearch:e(w),onResetFields:e(N),isSenior:!0},null,8,["LabelList","formData","onHandleSearch","onOpenSearch","onResetFields"]),Y("div",{ref:"contentRef",class:y(["flex",e(v)()?"flex-wrap":""])},[a(e(J),{title:"会员列表",class:y([e(b)&&!e(v)()?"!w-[60vw]":"w-full"]),columns:e(x),onRefresh:e(d)},{buttons:i(()=>[a(s,{type:"primary",onClick:e(V)},{default:i(()=>t[0]||(t[0]=[p(" 导出 ")])),_:1},8,["onClick"])]),default:i(({size:f,dynamicColumns:H})=>[a(E,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto",loading:e(L),size:f,adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(h),columns:H,pagination:g(k({},e(S)),{size:f}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageSizeChange:e($),onPageCurrentChange:e(D)},{operation:i(({row:r})=>[a(s,{onClick:m=>e(P)("编辑",r),link:"",type:"primary",size:f},{default:i(()=>t[1]||(t[1]=[p(" 编辑 ")])),_:2},1032,["onClick","size"]),a(s,{link:"",type:"primary",onClick:m=>e(B)(r)},{default:i(()=>t[2]||(t[2]=[p(" 查看 ")])),_:2},1032,["onClick"]),a(s,{link:"",type:"primary",onClick:m=>e(F)(r)},{default:i(()=>[p(Z(r.status==2?"解封":"禁用"),1)]),_:2},1032,["onClick"]),a(u,{title:`是否删除${r.nickname}的会员`,onConfirm:m=>e(R)(r)},{reference:i(()=>[a(s,{link:"",type:"primary",size:f},{default:i(()=>t[3]||(t[3]=[p(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["title","onConfirm"]),a(u,{title:`是否设置${r.nickname}的会员为官方账号`,onConfirm:m=>e(z)(r)},{reference:i(()=>[a(s,{link:"",type:"primary"},{default:i(()=>t[4]||(t[4]=[p(" 设置官方账号 ")])),_:1})]),_:2},1032,["title","onConfirm"]),a(s,{link:"",type:"primary",onClick:m=>e(O)(r)},{default:i(()=>t[5]||(t[5]=[p(" 修改密码 ")])),_:2},1032,["onClick"]),a(s,{link:"",type:"primary",onClick:m=>e(T)(r)},{default:i(()=>t[6]||(t[6]=[p(" 资金 ")])),_:2},1032,["onClick"])]),_:2},1032,["loading","size","data","columns","pagination","onPageSizeChange","onPageCurrentChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}}),be=ee(te,[["__scopeId","data-v-42dac008"]]);export{be as default}; diff --git a/dist/static/js/index-CgFJfKUe.js b/dist/static/js/index-CgFJfKUe.js new file mode 100644 index 0000000..a344ffb --- /dev/null +++ b/dist/static/js/index-CgFJfKUe.js @@ -0,0 +1 @@ +var N=Object.defineProperty,T=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var g=(n,o,a)=>o in n?N(n,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[o]=a,C=(n,o)=>{for(var a in o||(o={}))$.call(o,a)&&g(n,a,o[a]);if(c)for(var a of c(o))E.call(o,a)&&g(n,a,o[a]);return n},_=(n,o)=>T(n,V(o));import{useData as F}from"./hook-D_q42Z95.js";import{P as G}from"./index-CnAi1QxJ.js";import{d as I,x as M,r as p,o as O,c as j,e as q,b as l,h as r,u as e,f as m,R as h,a8 as b}from"./index-CRmU-Qpi.js";import{u as A}from"./hooks-ItYVRz1P.js";import{d as H}from"./add-circle-line-DOJqVT3s.js";import"./form.vue_vue_type_script_setup_true_lang-CiHdOBSE.js";import"./index-An8nOBwL.js";import"./level-CSC0PShd.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const J={class:"main"},re=I({name:"wealthGrade",__name:"index",setup(n){const{searchLabel:o,searchForm:a,onSearch:f,isShow:v,tableList:w,pagination:x,tableLabel:y,handleSizeChange:k,handleCurrentChange:P,handleDelete:R,loading:B,openDialog:d}=F();return M(()=>{f(a.value)}),(K,t)=>{const s=p("el-button"),S=p("el-popconfirm"),z=p("pure-table");return O(),j("div",J,[q("div",{ref:"contentRef",class:h(["flex",e(b)()?"flex-wrap":""])},[l(e(G),{title:"财富等级列表",class:h([e(v)&&!e(b)()?"!w-[60vw]":"w-full"]),columns:e(y),onRefresh:e(f)},{buttons:r(()=>[l(s,{type:"primary",icon:e(A)(e(H)),onClick:t[0]||(t[0]=i=>e(d)("新增",{}))},{default:r(()=>t[1]||(t[1]=[m(" 新增财富等级 ")])),_:1},8,["icon"])]),default:r(({size:i,dynamicColumns:D})=>[l(z,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(B),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(w),columns:D,pagination:_(C({},e(x)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(P),onPageSizeChange:e(k)},{operation:r(({row:u})=>[l(s,{link:"",type:"primary",size:i,onClick:L=>e(d)("编辑",u)},{default:r(()=>t[2]||(t[2]=[m(" 编辑 ")])),_:2},1032,["size","onClick"]),l(S,{title:"是否确认删除这条数据",onConfirm:L=>e(R)(u)},{reference:r(()=>[l(s,{link:"",type:"primary",size:i},{default:r(()=>t[3]||(t[3]=[m(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{re as default}; diff --git a/dist/static/js/index-CnAi1QxJ.js b/dist/static/js/index-CnAi1QxJ.js new file mode 100644 index 0000000..a674fb7 --- /dev/null +++ b/dist/static/js/index-CnAi1QxJ.js @@ -0,0 +1 @@ +var ie=Object.defineProperty;var H=Object.getOwnPropertySymbols;var ue=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable;var I=(e,a,n)=>a in e?ie(e,a,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[a]=n,N=(e,a)=>{for(var n in a||(a={}))ue.call(a,n)&&I(e,n,a[n]);if(H)for(var n of H(a))ce.call(a,n)&&I(e,n,a[n]);return e};var K=(e,a,n)=>new Promise((j,d)=>{var p=u=>{try{c(n.next(u))}catch(h){d(h)}},x=u=>{try{c(n.throw(u))}catch(h){d(h)}},c=u=>u.done?j(u.value):Promise.resolve(u.value).then(p,x);c((n=n.apply(e,a)).next())});import{S as de}from"./sortable.esm-7jaD_3Ar.js";import{u as se}from"./epTheme-Dbh1KLs6.js";import{o as A,c as E,e as B,d as fe,n as v,a5 as g,C as ve,aj as he,fD as D,q as P,b as t,aq as ge,P as L,w as y,j as k,r as i,f as R,u as G,$ as xe,v as be,fE as pe,J as me,W as Ce,z as we,ak as ye}from"./index-CRmU-Qpi.js";const ke={width:"32",height:"32",fill:"currentColor","aria-hidden":"true","data-icon":"holder",viewBox:"64 64 896 896"};function Ae(e,a){return A(),E("svg",ke,a[0]||(a[0]=[B("path",{d:"M300 276.5a56 56 0 1 0 56-97 56 56 0 0 0-56 97m0 284a56 56 0 1 0 56-97 56 56 0 0 0-56 97M640 228a56 56 0 1 0 112 0 56 56 0 0 0-112 0m0 284a56 56 0 1 0 112 0 56 56 0 0 0-112 0M300 844.5a56 56 0 1 0 56-97 56 56 0 0 0-56 97M640 796a56 56 0 1 0 112 0 56 56 0 0 0-112 0"},null,-1)]))}const Ee={render:Ae},Be={width:"32",height:"32",viewBox:"0 0 24 24"};function _e(e,a){return A(),E("svg",Be,a[0]||(a[0]=[B("path",{fill:"currentColor",d:"M22 4V2H2v2h9v14.17l-5.5-5.5-1.42 1.41L12 22l7.92-7.92-1.42-1.41-5.5 5.5V4z"},null,-1)]))}const Me={render:_e},$e={width:"32",height:"32",viewBox:"0 0 24 24"};function De(e,a){return A(),E("svg",$e,a[0]||(a[0]=[B("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M20 11A8.1 8.1 0 0 0 4.5 9M4 5v4h4m-4 4a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"},null,-1)]))}const Re={render:De},je={width:"32",height:"32",viewBox:"0 0 24 24"};function Se(e,a){return A(),E("svg",je,a[0]||(a[0]=[B("path",{fill:"currentColor",d:"M3.34 17a10 10 0 0 1-.978-2.326 3 3 0 0 0 .002-5.347A10 10 0 0 1 4.865 4.99a3 3 0 0 0 4.631-2.674 10 10 0 0 1 5.007.002 3 3 0 0 0 4.632 2.672A10 10 0 0 1 20.66 7c.433.749.757 1.53.978 2.326a3 3 0 0 0-.002 5.347 10 10 0 0 1-2.501 4.337 3 3 0 0 0-4.631 2.674 10 10 0 0 1-5.007-.002 3 3 0 0 0-4.632-2.672A10 10 0 0 1 3.34 17m5.66.196a5 5 0 0 1 2.25 2.77q.75.071 1.499.001A5 5 0 0 1 15 17.197a5 5 0 0 1 3.525-.565q.435-.614.748-1.298A5 5 0 0 1 18 12c0-1.26.47-2.437 1.273-3.334a8 8 0 0 0-.75-1.298A5 5 0 0 1 15 6.804a5 5 0 0 1-2.25-2.77q-.75-.071-1.499-.001A5 5 0 0 1 9 6.803a5 5 0 0 1-3.525.565 8 8 0 0 0-.748 1.298A5 5 0 0 1 6 12a5 5 0 0 1-1.273 3.334 8 8 0 0 0 .75 1.298A5 5 0 0 1 9 17.196M12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6m0-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1)]))}const Te={render:Se},Ve={width:"32",height:"32",viewBox:"0 0 24 24"};function ze(e,a){return A(),E("svg",Ve,a[0]||(a[0]=[B("path",{fill:"currentColor",d:"M13.79 10.21a1 1 0 0 0 1.42 0 1 1 0 0 0 0-1.42l-2.5-2.5a1 1 0 0 0-.33-.21 1 1 0 0 0-.76 0 1 1 0 0 0-.33.21l-2.5 2.5a1 1 0 0 0 1.42 1.42l.79-.8v5.18l-.79-.8a1 1 0 0 0-1.42 1.42l2.5 2.5a1 1 0 0 0 .33.21.94.94 0 0 0 .76 0 1 1 0 0 0 .33-.21l2.5-2.5a1 1 0 0 0-1.42-1.42l-.79.8V9.41ZM7 4h10a1 1 0 0 0 0-2H7a1 1 0 0 0 0 2m10 16H7a1 1 0 0 0 0 2h10a1 1 0 0 0 0-2"},null,-1)]))}const Fe={render:ze};function Ne(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!pe(e)}const Pe={title:{type:String,default:"列表"},tableRef:{type:Object},columns:{type:Array,default:()=>[]},isExpandAll:{type:Boolean,default:!0},tableKey:{type:[String,Number],default:"0"}},qe=fe({name:"PureTableBar",props:Pe,emits:["refresh","fullscreen"],setup(e,{emit:a,slots:n,attrs:j}){const d=v("default"),p=v(!1),x=v(!0),c=v(!1),u=v(!1),h=we(),m=v(e.isExpandAll),q=g(e==null?void 0:e.columns).filter(l=>ve(l==null?void 0:l.hide)?!l.hide:!(he(l==null?void 0:l.hide)&&(l!=null&&l.hide())));let b=D(g(e==null?void 0:e.columns),"label");const _=v(D(g(q),"label")),s=v(g(e==null?void 0:e.columns)),S=P(()=>l=>({background:l===d.value?se().epThemeColor:"",color:l===d.value?"#fff":"var(--el-text-color-primary)"})),C=P(()=>["text-black","dark:text-white","duration-100","hover:!text-primary","cursor-pointer","outline-none"]),J=P(()=>["flex","justify-between","pt-[3px]","px-[11px]","border-b-[1px]","border-solid","border-[#dcdfe6]","dark:border-[#303030]"]);function U(){p.value=!0,a("refresh"),me(500).then(()=>p.value=!1)}function W(){m.value=!m.value,O(e.tableRef.data,m.value)}function Z(){c.value=!c.value,a("fullscreen",c.value)}function O(l,o){l.forEach(r=>{e.tableRef.toggleRowExpansion(r,o),r.children!==void 0&&r.children!==null&&O(r.children,o)})}function Q(l){_.value=l?b:[],u.value=!1,s.value.map(o=>l?o.hide=!1:o.hide=!0)}function X(l){_.value=l;const o=l.length;x.value=o===b.length,u.value=o>0&&or.label===o)[0].hide=!l}function ee(){return K(this,null,function*(){x.value=!0,u.value=!1,s.value=g(e==null?void 0:e.columns),b=[],b=yield D(g(e==null?void 0:e.columns),"label"),_.value=D(g(q),"label")})}const le={dropdown:()=>t(i("el-dropdown-menu"),{class:"translation"},{default:()=>[t(i("el-dropdown-item"),{style:S.value("large"),onClick:()=>d.value="large"},{default:()=>[R("宽松")]}),t(i("el-dropdown-item"),{style:S.value("default"),onClick:()=>d.value="default"},{default:()=>[R("默认")]}),t(i("el-dropdown-item"),{style:S.value("small"),onClick:()=>d.value="small"},{default:()=>[R("紧凑")]})]})},te=l=>{l.preventDefault(),Ce(()=>{var r;const o=((r=h==null?void 0:h.proxy)==null?void 0:r.$refs[`GroupRef${G(e.tableKey)}`]).$el.firstElementChild;de.create(o,{animation:300,handle:".drag-btn",onEnd:({newIndex:w,oldIndex:f,item:re})=>{const T=re,V=T.parentNode,z=s.value[f],F=s.value[w];if(z!=null&&z.fixed||F!=null&&F.fixed){const $=V.children[f];w>f?V.insertBefore(T,$):V.insertBefore(T,$&&$.nextElementSibling);return}const oe=s.value.splice(f,1)[0];s.value.splice(w,0,oe)}})})},ae=l=>!!s.value.filter(o=>o.label===l)[0].fixed,M=l=>({content:l,offset:[0,18],duration:[300,0],followCursor:!0,hideOnClick:"toggle"}),ne={reference:()=>y(t(Te,{class:["w-[16px]",C.value]},null),[[k("tippy"),M("列设置")]])};return()=>{var o;let l;return t(L,null,[t("div",ge(j,{class:["w-[99/100]","px-2","pb-2","bg-bg_color",c.value?["!w-full","!h-full","z-[2002]","fixed","inset-0"]:"mt-2"]}),[t("div",{class:"flex justify-between w-full h-[60px] p-4"},[n!=null&&n.title?n.title():t("p",{class:"font-bold truncate"},[e.title]),t("div",{class:"flex items-center justify-around"},[n!=null&&n.buttons?t("div",{class:"flex mr-4"},[n.buttons()]):null,(o=e.tableRef)!=null&&o.size?t(L,null,[y(t(Me,{class:["w-[16px]",C.value],style:{transform:m.value?"none":"rotate(-90deg)"},onClick:()=>W()},null),[[k("tippy"),M(m.value?"折叠":"展开")]]),t(i("el-divider"),{direction:"vertical"},null)]):null,y(t(Re,{class:["w-[16px]",C.value,p.value?"animate-spin":""],onClick:()=>U()},null),[[k("tippy"),M("刷新")]]),t(i("el-divider"),{direction:"vertical"},null),y(t(i("el-dropdown"),{trigger:"click"},N({default:()=>[t(Fe,{class:["w-[16px]",C.value]},null)]},le)),[[k("tippy"),M("密度")]]),t(i("el-divider"),{direction:"vertical"},null),t(i("el-popover"),{placement:"bottom-start","popper-style":{padding:0},width:"200",trigger:"click"},N({default:()=>[t("div",{class:[J.value]},[t(i("el-checkbox"),{class:"!-mr-1",label:"列展示",modelValue:x.value,"onUpdate:modelValue":r=>x.value=r,indeterminate:u.value,onChange:r=>Q(r)},null),t(i("el-button"),{type:"primary",link:!0,onClick:()=>ee()},{default:()=>[R("重置")]})]),t("div",{class:"pt-[6px] pl-[11px]"},[t(i("el-scrollbar"),{"max-height":"36vh"},{default:()=>[t(i("el-checkbox-group"),{ref:`GroupRef${G(e.tableKey)}`,modelValue:_.value,onChange:r=>X(r)},{default:()=>[t(i("el-space"),{direction:"vertical",alignment:"flex-start",size:0},Ne(l=b.map((r,w)=>t("div",{class:"flex items-center"},[t(Ee,{class:["drag-btn w-[16px] mr-2",ae(r)?"!cursor-no-drop":"!cursor-grab"],onMouseenter:f=>te(f)},null),t(i("el-checkbox"),{key:w,label:r,value:r,onChange:f=>Y(f,r)},{default:()=>[t("span",{title:r,class:"inline-block w-[120px] truncate hover:text-text_color_primary"},[r])]})])))?l:{default:()=>[l]})]})]})])]},ne)),t(i("el-divider"),{direction:"vertical"},null),y(t(i("iconifyIconOffline"),{class:["w-[16px]",C.value],icon:c.value?xe:be,onClick:()=>Z()},null),[[k("tippy"),c.value?"退出全屏":"全屏"]])])]),n.default({size:d.value,dynamicColumns:s.value})])])}}}),Le=ye(qe);export{Le as P}; diff --git a/dist/static/js/index-Ct0b-uer.js b/dist/static/js/index-Ct0b-uer.js new file mode 100644 index 0000000..0d8157a --- /dev/null +++ b/dist/static/js/index-Ct0b-uer.js @@ -0,0 +1 @@ +var A=Object.defineProperty,G=Object.defineProperties;var J=Object.getOwnPropertyDescriptors;var v=Object.getOwnPropertySymbols;var K=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var C=(l,a,o)=>a in l?A(l,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):l[a]=o,y=(l,a)=>{for(var o in a||(a={}))K.call(a,o)&&C(l,o,a[o]);if(v)for(var o of v(a))W.call(a,o)&&C(l,o,a[o]);return l},h=(l,a)=>G(l,J(a));import{useData as X}from"./hook-C9PUzCTc.js";import{_ as Y}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as Z}from"./index-CnAi1QxJ.js";import{d as ee,x as te,r as d,o as i,c as m,u as e,P as k,Q as x,g as ae,h as r,f as c,T as oe,U as ne,b as s,e as L,R as w,a8 as S,_ as le}from"./index-CRmU-Qpi.js";import{u as re}from"./hooks-ItYVRz1P.js";import{d as se}from"./add-circle-line-DOJqVT3s.js";import"./blindBox-BqHhL4EW.js";import"./activities-UkTzwAkp.js";import"./form.vue_vue_type_script_setup_true_lang-BSrb17y8.js";import"./settingRule.vue_vue_type_script_setup_true_lang-CJeQQ0t4.js";import"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const ie={class:"main"},pe={key:0,class:"content"},me={class:"content-flex"},ce={class:"box"},de=ee({name:"boxList",__name:"index",setup(l){const{searchLabel:a,searchForm:o,onSearch:f,isShow:D,tableList:P,pagination:B,tableLabel:R,handleSizeChange:$,handleCurrentChange:N,loading:T,getType:z,typeList:_,activeName:V,statisticsList:F,statisticsData:H,handleClick:I,openDialog:g,resetSetting:ue,handleDelete:E,setting:M}=X();return te(()=>{z()}),(O,n)=>{const p=d("el-button"),Q=d("el-statistic"),U=d("el-popconfirm"),j=d("pure-table");return i(),m("div",ie,[e(_).length?(i(),m("div",pe,[(i(!0),m(k,null,x(e(_),t=>(i(),ae(p,{key:t.value,label:t.label,name:t.value,type:e(V)===t.value?"primary":"",onClick:u=>e(I)(t.value)},{default:r(()=>[c(oe(t.label),1)]),_:2},1032,["label","name","type","onClick"]))),128))])):ne("",!0),s(Y,{class:"pb-2",LabelList:e(a),formData:e(o),onHandleSearch:e(f)},null,8,["LabelList","formData","onHandleSearch"]),L("div",me,[(i(!0),m(k,null,x(e(F),(t,u)=>(i(),m("div",ce,[s(Q,{"group-separator":",",value:e(H)[t.prop],title:t.label},null,8,["value","title"])]))),256))]),L("div",{ref:"contentRef",class:w(["flex",e(S)()?"flex-wrap":""])},[s(e(Z),{title:"礼盒列表",class:w([e(D)&&!e(S)()?"!w-[60vw]":"w-full"]),columns:e(R),onRefresh:e(f)},{buttons:r(()=>[s(p,{type:"primary",onClick:n[0]||(n[0]=t=>e(M)(O.row))},{default:r(()=>n[2]||(n[2]=[c(" 设置规则 ")])),_:1}),s(p,{type:"primary",icon:e(re)(e(se)),onClick:n[1]||(n[1]=t=>e(g)("新增",{}))},{default:r(()=>n[3]||(n[3]=[c(" 添加 ")])),_:1},8,["icon"])]),default:r(({size:t,dynamicColumns:u})=>[s(j,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(T),size:t,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(P),columns:u,pagination:h(y({},e(B)),{size:t}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(N),onPageSizeChange:e($)},{operation:r(({row:b})=>[s(p,{link:"",type:"primary",size:t,onClick:q=>e(g)("编辑",b)},{default:r(()=>n[4]||(n[4]=[c(" 编辑 ")])),_:2},1032,["size","onClick"]),s(U,{title:"是否确认删除这条数据",onConfirm:q=>e(E)(b)},{reference:r(()=>[s(p,{link:"",type:"primary",size:t},{default:r(()=>n[5]||(n[5]=[c(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}}),Pe=le(de,[["__scopeId","data-v-1bf4be40"]]);export{Pe as default}; diff --git a/dist/static/js/index-CteCtjCE.js b/dist/static/js/index-CteCtjCE.js new file mode 100644 index 0000000..0554bf1 --- /dev/null +++ b/dist/static/js/index-CteCtjCE.js @@ -0,0 +1 @@ +var V=Object.defineProperty,T=Object.defineProperties;var E=Object.getOwnPropertyDescriptors;var _=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var g=(o,a,t)=>a in o?V(o,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[a]=t,h=(o,a)=>{for(var t in a||(a={}))F.call(a,t)&&g(o,t,a[t]);if(_)for(var t of _(a))H.call(a,t)&&g(o,t,a[t]);return o},b=(o,a)=>T(o,E(a));import{useData as I}from"./hook-XPcsHtzL.js";import{_ as M}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as O}from"./index-CnAi1QxJ.js";import{d as Q,al as U,r as c,o as l,c as s,b as r,u as e,P as $,Q as j,U as x,e as q,g as A,h as p,f as G,R as C,a8 as v,_ as J}from"./index-CRmU-Qpi.js";import"./statistics-Cc1WE90b.js";import"./xlsx-DaVhO591.js";import"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const K={class:"main"},W={key:0,class:"content-flex"},X={class:"box"},Y=Q({name:"giftRecord",__name:"index",setup(o){const{searchLabel:a,searchForm:t,onSearch:i,isShow:w,tableList:k,pagination:L,tableLabel:y,exportExcel:B,handleSizeChange:P,handleCurrentChange:S,totalData:u,statisticsList:R,loading:d}=I();return U(()=>{i(t.value)}),(Z,m)=>{const z=c("el-statistic"),D=c("el-button"),N=c("pure-table");return l(),s("div",K,[r(M,{class:"pb-2",LabelList:e(a),formData:e(t),onHandleSearch:e(i)},null,8,["LabelList","formData","onHandleSearch"]),e(u)?(l(),s("div",W,[(l(!0),s($,null,j(e(R),(n,f)=>(l(),s("div",X,[r(z,{"group-separator":",",value:e(u)[n.prop],suffix:n.tip||"",title:n.label},null,8,["value","suffix","title"])]))),256))])):x("",!0),q("div",{ref:"contentRef",class:C(["flex",e(v)()?"flex-wrap":""])},[e(d)?x("",!0):(l(),A(e(O),{key:0,title:"礼物统计列表",class:C([e(w)&&!e(v)()?"!w-[60vw]":"w-full"]),columns:e(y),onRefresh:e(i)},{buttons:p(()=>[r(D,{type:"primary",onClick:e(B)},{default:p(()=>m[0]||(m[0]=[G(" 导出 ")])),_:1},8,["onClick"])]),default:p(({size:n,dynamicColumns:f})=>[r(N,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(d),size:n,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(k),columns:f,pagination:b(h({},e(L)),{size:n}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(S),onPageSizeChange:e(P)},null,8,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"]))],2)])}}}),ue=J(Y,[["__scopeId","data-v-49748b52"]]);export{ue as default}; diff --git a/dist/static/js/index-Cu34JgMz.js b/dist/static/js/index-Cu34JgMz.js new file mode 100644 index 0000000..8084698 --- /dev/null +++ b/dist/static/js/index-Cu34JgMz.js @@ -0,0 +1,16 @@ +import{d as E,t as J,q as K,I as X,af as H,x as Q,b as d,P as k,u as x,n as N,al as W,K as Z,f as b,ak as z}from"./index-CRmU-Qpi.js";/*! + * is-plain-object + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */function D(t){return Object.prototype.toString.call(t)==="[object Object]"}function tt(t){var n,e;return D(t)===!1?!1:(n=t.constructor,n===void 0?!0:(e=n.prototype,!(D(e)===!1||e.hasOwnProperty("isPrototypeOf")===!1)))}function T(){return T=Object.assign?Object.assign.bind():function(t){for(var n=1;n=0)continue;e[r]=t[r]}return e}const et={silent:!1,logLevel:"warn"},rt=["validator"],R=Object.prototype,L=R.toString,nt=R.hasOwnProperty,M=/^\s*function (\w+)/;function F(t){var n;const e=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:t;if(e){const r=e.toString().match(M);return r?r[1]:""}return""}const m=tt;function at(){}let f=at;const O=(t,n)=>nt.call(t,n),it=Number.isInteger||function(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t},j=Array.isArray||function(t){return L.call(t)==="[object Array]"},V=t=>L.call(t)==="[object Function]",_=(t,n)=>m(t)&&O(t,"_vueTypes_name")&&(!n||t._vueTypes_name===n),Y=t=>m(t)&&(O(t,"type")||["_vueTypes_name","validator","default","required"].some(n=>O(t,n)));function P(t,n){return Object.defineProperty(t.bind(n),"__original",{value:t})}function h(t,n,e=!1){let r,a=!0,o="";r=m(t)?t:{type:t};const i=_(r)?r._vueTypes_name+" - ":"";if(Y(r)&&r.type!==null){if(r.type===void 0||r.type===!0||!r.required&&n==null)return a;j(r.type)?(a=r.type.some(l=>h(l,n,!0)===!0),o=r.type.map(l=>F(l)).join(" or ")):(o=F(r),a=o==="Array"?j(n):o==="Object"?m(n):o==="String"||o==="Number"||o==="Boolean"||o==="Function"?function(l){if(l==null)return"";const s=l.constructor.toString().match(M);return s?s[1].replace(/^Async/,""):""}(n)===o:n instanceof r.type)}if(!a){const l=`${i}value "${n}" should be of type "${o}"`;return e===!1?(f(l),!1):l}if(O(r,"validator")&&V(r.validator)){const l=f,s=[];if(f=u=>{s.push(u)},a=r.validator(n),f=l,!a){const u=(s.length>1?"* ":"")+s.join(` +* `);return s.length=0,e===!1?(f(u),a):u}}return a}function y(t,n){const e=Object.defineProperties(n,{_vueTypes_name:{value:t,writable:!0},isRequired:{get(){return this.required=!0,this}},def:{value(a){return a===void 0?this.type===Boolean||Array.isArray(this.type)&&this.type.includes(Boolean)?void(this.default=void 0):(O(this,"default")&&delete this.default,this):V(a)||h(this,a,!0)===!0?(this.default=j(a)?()=>[...a]:m(a)?()=>Object.assign({},a):a,this):(f(`${this._vueTypes_name} - invalid default value: "${a}"`),this)}}}),{validator:r}=e;return V(r)&&(e.validator=P(r,e)),e}function v(t,n){const e=y(t,n);return Object.defineProperty(e,"validate",{value(r){return V(this.validator)&&f(`${this._vueTypes_name} - calling .validate() will overwrite the current custom validator function. Validator info: +${JSON.stringify(this)}`),this.validator=P(r,this),this}})}function q(t,n,e){const r=function(s){const u={};return Object.getOwnPropertyNames(s).forEach(c=>{u[c]=Object.getOwnPropertyDescriptor(s,c)}),Object.defineProperties({},u)}(n);if(r._vueTypes_name=t,!m(e))return r;const{validator:a}=e,o=B(e,rt);if(V(a)){let{validator:s}=r;s&&(s=(l=(i=s).__original)!==null&&l!==void 0?l:i),r.validator=P(s?function(u){return s.call(this,u)&&a.call(this,u)}:a,r)}var i,l;return Object.assign(r,o)}function w(t){return t.replace(/^(?!\s*$)/gm," ")}const ot=()=>v("any",{}),lt=()=>v("function",{type:Function}),C=()=>v("boolean",{type:Boolean}),st=()=>v("string",{type:String}),ut=()=>v("number",{type:Number}),ct=()=>v("array",{type:Array}),ft=()=>v("object",{type:Object}),dt=()=>y("integer",{type:Number,validator(t){const n=it(t);return n===!1&&f(`integer - "${t}" is not an integer`),n}}),pt=()=>y("symbol",{validator(t){const n=typeof t=="symbol";return n===!1&&f(`symbol - invalid value "${t}"`),n}}),yt=()=>Object.defineProperty({type:null,validator(t){const n=t===null;return n===!1&&f("nullable - value should be null"),n}},"_vueTypes_name",{value:"nullable"});function vt(t,n="custom validation failed"){if(typeof t!="function")throw new TypeError("[VueTypes error]: You must provide a function as argument");return y(t.name||"<>",{type:null,validator(e){const r=t(e);return r||f(`${this._vueTypes_name} - ${n}`),r}})}function bt(t){if(!j(t))throw new TypeError("[VueTypes error]: You must provide an array as argument.");const n=`oneOf - value should be one of "${t.map(r=>typeof r=="symbol"?r.toString():r).join('", "')}".`,e={validator(r){const a=t.indexOf(r)!==-1;return a||f(n),a}};if(t.indexOf(null)===-1){const r=t.reduce((a,o)=>{if(o!=null){const i=o.constructor;a.indexOf(i)===-1&&a.push(i)}return a},[]);r.length>0&&(e.type=r)}return y("oneOf",e)}function gt(t){if(!j(t))throw new TypeError("[VueTypes error]: You must provide an array as argument");let n=!1,e=!1,r=[];for(let o=0;or.indexOf(o)===i);const a=e===!1&&r.length>0?r:null;return y("oneOfType",n?{type:a,validator(o){const i=[],l=t.some(s=>{const u=h(s,o,!0);return typeof u=="string"&&i.push(u),u===!0});return l||f(`oneOfType - provided value does not match any of the ${i.length} passed-in validators: +${w(i.join(` +`))}`),l}}:{type:a})}function mt(t){return y("arrayOf",{type:Array,validator(n){let e="";const r=n.every(a=>(e=h(t,a,!0),e===!0));return r||f(`arrayOf - value validation error: +${w(e)}`),r}})}function ht(t){return y("instanceOf",{type:t})}function Ot(t){return y("objectOf",{type:Object,validator(n){let e="";const r=Object.keys(n).every(a=>(e=h(t,n[a],!0),e===!0));return r||f(`objectOf - value validation error: +${w(e)}`),r}})}function jt(t){const n=Object.keys(t),e=n.filter(a=>{var o;return!((o=t[a])===null||o===void 0||!o.required)}),r=y("shape",{type:Object,validator(a){if(!m(a))return!1;const o=Object.keys(a);if(e.length>0&&e.some(i=>o.indexOf(i)===-1)){const i=e.filter(l=>o.indexOf(l)===-1);return f(i.length===1?`shape - required property "${i[0]}" is not defined.`:`shape - required properties "${i.join('", "')}" are not defined.`),!1}return o.every(i=>{if(n.indexOf(i)===-1)return this._vueTypes_isLoose===!0||(f(`shape - shape definition does not include a "${i}" property. Allowed keys: "${n.join('", "')}".`),!1);const l=h(t[i],a[i],!0);return typeof l=="string"&&f(`shape - "${i}" property validation error: + ${w(l)}`),l===!0})}});return Object.defineProperty(r,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(r,"loose",{get(){return this._vueTypes_isLoose=!0,this}}),r}const Vt=["name","validate","getter"],Tt=(t=>((t=class{static get any(){return ot()}static get func(){return lt().def(this.defaults.func)}static get bool(){return this.defaults.bool===void 0?C():C().def(this.defaults.bool)}static get string(){return st().def(this.defaults.string)}static get number(){return ut().def(this.defaults.number)}static get array(){return ct().def(this.defaults.array)}static get object(){return ft().def(this.defaults.object)}static get integer(){return dt().def(this.defaults.integer)}static get symbol(){return pt()}static get nullable(){return yt()}static extend(n){if(f("VueTypes.extend is deprecated. Use the ES6+ method instead. See https://dwightjack.github.io/vue-types/advanced/extending-vue-types.html#extending-namespaced-validators-in-es6 for details."),j(n))return n.forEach(s=>this.extend(s)),this;const{name:e,validate:r=!1,getter:a=!1}=n,o=B(n,Vt);if(O(this,e))throw new TypeError(`[VueTypes error]: Type "${e}" already defined`);const{type:i}=o;if(_(i))return delete o.type,Object.defineProperty(this,e,a?{get:()=>q(e,i,o)}:{value(...s){const u=q(e,i,o);return u.validator&&(u.validator=u.validator.bind(u,...s)),u}});let l;return l=a?{get(){const s=Object.assign({},o);return r?v(e,s):y(e,s)},enumerable:!0}:{value(...s){const u=Object.assign({},o);let c;return c=r?v(e,u):y(e,u),u.validator&&(c.validator=u.validator.bind(c,...s)),c},enumerable:!0},Object.defineProperty(this,e,l)}}).defaults={},t.sensibleDefaults=void 0,t.config=et,t.custom=vt,t.oneOf=bt,t.instanceOf=ht,t.oneOfType=gt,t.arrayOf=mt,t.objectOf=Ot,t.shape=jt,t.utils={validate:(n,e)=>h(e,n,!0)===!0,toType:(n,e,r=!1)=>r?v(n,e):y(n,e)},t))();function I(t={func:()=>{},bool:!0,string:"",number:0,array:()=>[],object:()=>({}),integer:0}){var n;return(n=class extends Tt{static get sensibleDefaults(){return T({},this.defaults)}static set sensibleDefaults(e){this.defaults=e!==!1?T({},e!==!0?e:t):{}}}).defaults=T({},t),n}class At extends I(){}const St=I({func:void 0,bool:void 0,string:void 0,number:void 0,object:void 0,integer:void 0});class p extends St{static get style(){return v("style",{type:[String,Object]})}static get VNodeChild(){return v("VNodeChild",{type:void 0})}}const xt={startVal:p.number.def(0),endVal:p.number.def(2020),duration:p.number.def(1300),autoplay:p.bool.def(!0),decimals:{type:Number,required:!1,default:0,validator(t){return t>=0}},color:p.string.def(),fontSize:p.string.def(),decimal:p.string.def("."),separator:p.string.def(","),prefix:p.string.def(""),suffix:p.string.def(""),useEasing:p.bool.def(!0),easingFn:{type:Function,default(t,n,e,r){return e*(-Math.pow(2,-10*t/r)+1)*1024/1023+n}}},_t=E({name:"ReNormalCountTo",props:xt,emits:["mounted","callback"],setup(t,{emit:n}){const e=J({localStartVal:t.startVal,displayValue:i(t.startVal),printVal:null,paused:!1,localDuration:t.duration,startTime:null,timestamp:null,remaining:null,rAF:null,color:null,fontSize:"16px"}),r=K(()=>t.startVal>t.endVal);X([()=>t.startVal,()=>t.endVal],()=>{t.autoplay&&a()});function a(){const{startVal:l,duration:s,color:u,fontSize:c}=t;e.localStartVal=l,e.startTime=null,e.localDuration=s,e.paused=!1,e.color=u,e.fontSize=c,e.rAF=requestAnimationFrame(o)}function o(l){const{useEasing:s,easingFn:u,endVal:c}=t;e.startTime||(e.startTime=l),e.timestamp=l;const g=l-e.startTime;e.remaining=e.localDuration-g,s?x(r)?e.printVal=e.localStartVal-u(g,0,e.localStartVal-c,e.localDuration):e.printVal=u(g,e.localStartVal,c-e.localStartVal,e.localDuration):x(r)?e.printVal=e.localStartVal-(e.localStartVal-c)*(g/e.localDuration):e.printVal=e.localStartVal+(c-e.localStartVal)*(g/e.localDuration),x(r)?e.printVal=e.printValc?c:e.printVal,e.displayValue=i(e.printVal),g1?u+$[1]:"",A=/(\d+)(\d{3})/;if(c&&!H(c))for(;A.test(S);)S=S.replace(A,"$1"+c+"$2");return U+S+G+g}return Q(()=>{t.autoplay&&a(),n("mounted")}),()=>d(k,null,[d("span",{style:{color:t.color,fontSize:t.fontSize}},[e.displayValue])])}}),wt={delay:p.number.def(1),blur:p.number.def(2),i:{type:Number,required:!1,default:0,validator(t){return t<10&&t>=0&&Number.isInteger(t)}}},$t=E({name:"ReboundCountTo",props:wt,setup(t){const n=N(),e=N(null);return W(()=>{const r=navigator.userAgent.toLowerCase(),a=i=>i.test(r);a(/safari/g)&&!a(/chrome/g)&&(e.value=setTimeout(()=>{n.value.setAttribute("style",` + animation: none; + transform: translateY(calc(var(--i) * -9.09%)) + `)},t.delay*1e3))}),Z(()=>{clearTimeout(x(e))}),()=>d(k,null,[d("div",{class:"scroll-num",style:{"--i":t.i,"--delay":t.delay}},[d("ul",{ref:"ulRef",style:{fontSize:"32px"}},[d("li",null,[b("0")]),d("li",null,[b("1")]),d("li",null,[b("2")]),d("li",null,[b("3")]),d("li",null,[b("4")]),d("li",null,[b("5")]),d("li",null,[b("6")]),d("li",null,[b("7")]),d("li",null,[b("8")]),d("li",null,[b("9")]),d("li",null,[b("0")])]),d("svg",{width:"0",height:"0"},[d("filter",{id:"blur"},[d("feGaussianBlur",{in:"SourceGraphic",stdDeviation:`0 ${t.blur}`},null)])])])])}}),Nt=z(_t);z($t);export{Nt as R}; diff --git a/dist/static/js/index-Cvnzik25.js b/dist/static/js/index-Cvnzik25.js new file mode 100644 index 0000000..fe9341f --- /dev/null +++ b/dist/static/js/index-Cvnzik25.js @@ -0,0 +1 @@ +var R=Object.defineProperty,z=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var p=(t,a,o)=>a in t?R(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,d=(t,a)=>{for(var o in a||(a={}))N.call(a,o)&&p(t,o,a[o]);if(m)for(var o of m(a))V.call(a,o)&&p(t,o,a[o]);return t},f=(t,a)=>z(t,D(a));import{useData as H}from"./hook-D_nrE2eA.js";import{_ as T}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as $}from"./index-CnAi1QxJ.js";import{d as E,x as F,r as u,o as g,c as M,b as l,u as e,e as O,h as s,g as U,f as j,U as q,R as h,a8 as _}from"./index-CRmU-Qpi.js";import"./form.vue_vue_type_script_setup_true_lang-Di45cE4b.js";import"./Inform-CWr9EIX8.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const A={class:"main"},te=E({name:"grabHeadlines",__name:"index",setup(t){const{searchLabel:a,searchForm:o,onSearch:n,isShow:C,tableList:b,pagination:v,tableLabel:x,handleSizeChange:k,handleCurrentChange:w,openDialog:L,loading:S}=H();return F(()=>{n(o.value)}),(G,i)=>{const y=u("el-button"),B=u("pure-table");return g(),M("div",A,[l(T,{LabelList:e(a),formData:e(o),onHandleSearch:e(n)},null,8,["LabelList","formData","onHandleSearch"]),O("div",{ref:"contentRef",class:h(["flex",e(_)()?"flex-wrap":""])},[l(e($),{title:"用户反馈列表",class:h([e(C)&&!e(_)()?"!w-[60vw]":"w-full"]),columns:e(x),onRefresh:e(n)},{default:s(({size:r,dynamicColumns:P})=>[l(B,{ref:"tableRef",showOverflowTooltip:"","table-layout":"auto",loading:e(S),size:r,adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(b),columns:P,pagination:f(d({},e(v)),{size:r}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageSizeChange:e(k),onPageCurrentChange:e(w)},{operation:s(({row:c})=>[c.is_deal===1?(g(),U(y,{key:0,link:"",type:"primary",size:r,onClick:I=>e(L)("处理",c)},{default:s(()=>i[0]||(i[0]=[j(" 处理 ")])),_:2},1032,["size","onClick"])):q("",!0)]),_:2},1032,["loading","size","data","columns","pagination","onPageSizeChange","onPageCurrentChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{te as default}; diff --git a/dist/static/js/index-CzNuRbgv.js b/dist/static/js/index-CzNuRbgv.js new file mode 100644 index 0000000..a755883 --- /dev/null +++ b/dist/static/js/index-CzNuRbgv.js @@ -0,0 +1 @@ +import _ from"./statistics-CD2s0qhH.js";import u from"./Results-CTbhkdbm.js";import{d as f,n as s,r,o as e,c as i,b as x,h as c,P as v,Q as h,g as o,f as k,T as y,e as g}from"./index-CRmU-Qpi.js";import"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import"./hooks-ItYVRz1P.js";import"./blindBox-BqHhL4EW.js";import"./room-3H8Bx0CI.js";const w={class:"viewPage",style:{"background-color":"#fff",padding:"20px","min-height":"83vh"}},C={class:"mt-5"},F=f({__name:"index",setup(V){const l=s([{index:0,name:"开奖统计"},{index:1,name:"锁定记录"}]),n=s(0),d=a=>{n.value=a.index};return(a,b)=>{const m=r("el-button"),p=r("el-row");return e(),i("div",w,[x(p,null,{default:c(()=>[(e(!0),i(v,null,h(l.value,t=>(e(),o(m,{onClick:B=>d(t),type:n.value===t.index?"primary":"",key:t.index},{default:c(()=>[k(y(t.name),1)]),_:2},1032,["onClick","type"]))),128))]),_:1}),g("div",C,[n.value===0?(e(),o(_,{key:0})):(e(),o(u,{key:1}))])])}}});export{F as default}; diff --git a/dist/static/js/index-D2bTTdRq.js b/dist/static/js/index-D2bTTdRq.js new file mode 100644 index 0000000..2708fdb --- /dev/null +++ b/dist/static/js/index-D2bTTdRq.js @@ -0,0 +1 @@ +var z=Object.defineProperty,L=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var u=(a,e,t)=>e in a?z(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,c=(a,e)=>{for(var t in e||(e={}))T.call(e,t)&&u(a,t,e[t]);if(m)for(var t of m(e))V.call(e,t)&&u(a,t,e[t]);return a},d=(a,e)=>L(a,N(e));import{useData as D}from"./hook-BON1Jb2T.js";import{P as E}from"./index-CnAi1QxJ.js";import{d as G,x as M,r as f,o as O,c as $,e as j,b as l,h as r,u as o,f as p,R as g,a8 as C}from"./index-CRmU-Qpi.js";import"./form.vue_vue_type_script_setup_true_lang-DMF49foQ.js";import"./record.vue_vue_type_script_setup_true_lang-Be7Z2604.js";import"./activities-UkTzwAkp.js";import"./index.vue_vue_type_script_setup_true_lang-BmT-iFMK.js";import"./hook-DB082g8o.js";import"./form.vue_vue_type_script_setup_true_lang-Bbwf4kUJ.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const q={class:"main"},te=G({name:"RechargeList",__name:"index",setup(a){const{setConfig:e,onSearch:t,isShow:h,tableList:_,pagination:b,tableLabel:k,handleSizeChange:v,handleCurrentChange:w,DistributionRecord:x,openGiftPark:y,loading:P}=D();return M(()=>{t()}),(A,n)=>{const i=f("el-button"),R=f("pure-table");return O(),$("div",q,[j("div",{ref:"contentRef",class:g(["flex",o(C)()?"flex-wrap":""])},[l(o(E),{title:"天降好礼",class:g([o(h)&&!o(C)()?"!w-[60vw]":"w-full"]),columns:o(k),onRefresh:o(t)},{buttons:r(()=>[l(i,{link:"",type:"primary",onClick:o(x)},{default:r(()=>n[0]||(n[0]=[p(" 发放记录 ")])),_:1},8,["onClick"]),l(i,{type:"primary",onClick:o(e)},{default:r(()=>n[1]||(n[1]=[p(" 设置配置 ")])),_:1},8,["onClick"])]),default:r(({size:s,dynamicColumns:B})=>[l(R,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:o(P),size:s,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:o(_),columns:B,pagination:d(c({},o(b)),{size:s}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:o(w),onPageSizeChange:o(v)},{operation:r(({row:S})=>[l(i,{link:"",type:"primary",size:s,onClick:F=>o(y)(S)},{default:r(()=>n[2]||(n[2]=[p(" 查看礼包列表 ")])),_:2},1032,["size","onClick"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{te as default}; diff --git a/dist/static/js/index-D6W_sQFY.js b/dist/static/js/index-D6W_sQFY.js new file mode 100644 index 0000000..e52196d --- /dev/null +++ b/dist/static/js/index-D6W_sQFY.js @@ -0,0 +1 @@ +var N=Object.defineProperty,T=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var f=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var d=(n,a,o)=>a in n?N(n,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[a]=o,u=(n,a)=>{for(var o in a||(a={}))$.call(a,o)&&d(n,o,a[o]);if(f)for(var o of f(a))H.call(a,o)&&d(n,o,a[o]);return n},_=(n,a)=>T(n,V(a));import{useData as E}from"./hook-CUSi51GM.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as M}from"./index-CnAi1QxJ.js";import{d as O,x as j,r as m,o as q,c as A,b as t,u as e,e as G,h as l,f as h,R as g,a8 as C}from"./index-CRmU-Qpi.js";import"./detail-CLPQfK5X.js";import"./dynamics-yhcp7wZB.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const I={class:"main"},ne=O({name:"dynamicsList",__name:"index",setup(n){const{searchLabel:a,searchForm:o,onSearch:s,isShow:b,tableList:v,pagination:w,tableLabel:x,handleSizeChange:y,handleCurrentChange:k,handleDelete:L,loading:S,viewDetial:P}=E();return j(()=>{s(o.value)}),(J,r)=>{const c=m("el-button"),B=m("el-popconfirm"),D=m("pure-table");return q(),A("div",I,[t(F,{class:"pb-2",LabelList:e(a),formData:e(o),onHandleSearch:e(s)},null,8,["LabelList","formData","onHandleSearch"]),G("div",{ref:"contentRef",class:g(["flex",e(C)()?"flex-wrap":""])},[t(e(M),{title:"动态列表",class:g([e(b)&&!e(C)()?"!w-[60vw]":"w-full"]),columns:e(x),onRefresh:e(s)},{default:l(({size:i,dynamicColumns:R})=>[t(D,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(S),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(v),columns:R,pagination:_(u({},e(w)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(k),onPageSizeChange:e(y)},{operation:l(({row:p})=>[t(c,{link:"",type:"primary",size:i,onClick:z=>e(P)(p)},{default:l(()=>r[0]||(r[0]=[h(" 详情 ")])),_:2},1032,["size","onClick"]),t(B,{title:"是否确认删除这条动态",onConfirm:z=>e(L)(p)},{reference:l(()=>[t(c,{link:"",type:"primary",size:i},{default:l(()=>r[1]||(r[1]=[h(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{ne as default}; diff --git a/dist/static/js/index-D9JFsWL3.js b/dist/static/js/index-D9JFsWL3.js new file mode 100644 index 0000000..d7d9b18 --- /dev/null +++ b/dist/static/js/index-D9JFsWL3.js @@ -0,0 +1 @@ +var $=Object.defineProperty,H=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var g=(n,o,a)=>o in n?$(n,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[o]=a,_=(n,o)=>{for(var a in o||(o={}))T.call(o,a)&&g(n,a,o[a]);if(u)for(var a of u(o))V.call(o,a)&&g(n,a,o[a]);return n},C=(n,o)=>H(n,N(o));import{useData as E}from"./hook-CRyIzJir.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as I}from"./index-CnAi1QxJ.js";import{u as M}from"./hooks-ItYVRz1P.js";import{d as O}from"./add-circle-line-DOJqVT3s.js";import{d as j,x as q,r as p,o as A,c as G,b as r,u as e,e as J,h as l,f,R as b,a8 as h}from"./index-CRmU-Qpi.js";import"./form.vue_vue_type_script_setup_true_lang-De_iThI9.js";import"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const K={class:"main"},le=j({name:"grabHeadlines",__name:"index",setup(n){const{searchLabel:o,searchForm:a,onSearch:s,isShow:v,tableList:x,pagination:y,tableLabel:k,handleSizeChange:w,handleCurrentChange:L,openDialog:c,loading:S,handleDelete:P}=E();return q(()=>{s(a.value)}),(Q,t)=>{const m=p("el-button"),R=p("el-popconfirm"),B=p("pure-table");return A(),G("div",K,[r(F,{LabelList:e(o),formData:e(a),onHandleSearch:e(s)},null,8,["LabelList","formData","onHandleSearch"]),J("div",{ref:"contentRef",class:b(["flex",e(h)()?"flex-wrap":""])},[r(e(I),{title:"版本列表",class:b([e(v)&&!e(h)()?"!w-[60vw]":"w-full"]),columns:e(k),onRefresh:e(s)},{buttons:l(()=>[r(m,{type:"primary",icon:e(M)(e(O)),onClick:t[0]||(t[0]=i=>e(c)("新增",{}))},{default:l(()=>t[1]||(t[1]=[f(" 新增版本 ")])),_:1},8,["icon"])]),default:l(({size:i,dynamicColumns:D})=>[r(B,{ref:"tableRef",showOverflowTooltip:"","table-layout":"auto",loading:e(S),size:i,adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(x),columns:D,pagination:C(_({},e(y)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageSizeChange:e(w),onPageCurrentChange:e(L)},{operation:l(({row:d})=>[r(m,{link:"",type:"primary",size:i,onClick:z=>e(c)("编辑",d)},{default:l(()=>t[2]||(t[2]=[f(" 编辑 ")])),_:2},1032,["size","onClick"]),r(R,{title:"是否确认删除这条数据",onConfirm:z=>e(P)(d)},{reference:l(()=>[r(m,{link:"",type:"primary",size:i},{default:l(()=>t[3]||(t[3]=[f(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageSizeChange","onPageCurrentChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{le as default}; diff --git a/dist/static/js/index-DDJtvLE5.js b/dist/static/js/index-DDJtvLE5.js new file mode 100644 index 0000000..cc322dc --- /dev/null +++ b/dist/static/js/index-DDJtvLE5.js @@ -0,0 +1 @@ +var N=Object.defineProperty,V=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var g=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var _=(t,o,n)=>o in t?N(t,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[o]=n,v=(t,o)=>{for(var n in o||(o={}))L.call(o,n)&&_(t,n,o[n]);if(g)for(var n of g(o))E.call(o,n)&&_(t,n,o[n]);return t},k=(t,o)=>V(t,D(o));import{useData as I}from"./hook-B_Z2UEj_.js";import{P as M}from"./index-CnAi1QxJ.js";import{d as O,x as U,r as d,o as y,c as j,e as q,b as r,h as l,u as e,f as m,g as A,U as F,R as b,a8 as h}from"./index-CRmU-Qpi.js";import{u as G}from"./hooks-ItYVRz1P.js";import{d as H}from"./add-circle-line-DOJqVT3s.js";import"./form.vue_vue_type_script_setup_true_lang-tv9ZrCTh.js";import"./system-CqYheEHE.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const J={class:"main"},le=O({name:"adolescentType",__name:"index",setup(t){const{onSearch:o,isShow:n,tableList:x,pagination:w,tableLabel:B,handleSizeChange:P,handleCurrentChange:R,handleDelete:u,loading:S,useTheme:T,openDialog:c}=I();return U(()=>{o()}),(K,a)=>{const p=d("el-button"),C=d("el-popconfirm"),$=d("pure-table");return y(),j("div",J,[q("div",{ref:"contentRef",class:b(["flex",e(h)()?"flex-wrap":""])},[r(e(M),{title:"主题设置",class:b([e(n)&&!e(h)()?"!w-[60vw]":"w-full"]),columns:e(B),onRefresh:e(o)},{buttons:l(()=>[r(p,{type:"primary",icon:e(G)(e(H)),onClick:a[0]||(a[0]=i=>e(c)("新增",{}))},{default:l(()=>a[1]||(a[1]=[m(" 新增主题 ")])),_:1},8,["icon"])]),default:l(({size:i,dynamicColumns:z})=>[r($,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(S),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(x),columns:z,pagination:k(v({},e(w)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(R),onPageSizeChange:e(P)},{operation:l(({row:s})=>[r(C,{title:"是否应用这条主题",onConfirm:f=>e(u)(s)},{reference:l(()=>[s.is_active===0?(y(),A(p,{key:0,link:"",type:"primary",size:i,onClick:f=>e(T)(s)},{default:l(()=>a[2]||(a[2]=[m(" 应用 ")])),_:2},1032,["size","onClick"])):F("",!0)]),_:2},1032,["onConfirm"]),r(p,{link:"",type:"primary",size:i,onClick:f=>e(c)("编辑",s)},{default:l(()=>a[3]||(a[3]=[m(" 编辑 ")])),_:2},1032,["size","onClick"]),r(C,{title:"是否确认删除这条数据",onConfirm:f=>e(u)(s)},{reference:l(()=>[r(p,{link:"",type:"primary",size:i},{default:l(()=>a[4]||(a[4]=[m(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{le as default}; diff --git a/dist/static/js/index-DFwZ4E2_.js b/dist/static/js/index-DFwZ4E2_.js new file mode 100644 index 0000000..3c42ba3 --- /dev/null +++ b/dist/static/js/index-DFwZ4E2_.js @@ -0,0 +1 @@ +var z=Object.defineProperty,T=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var g=(n,a,o)=>a in n?z(n,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[a]=o,_=(n,a)=>{for(var o in a||(a={}))V.call(a,o)&&g(n,o,a[o]);if(u)for(var o of u(a))H.call(a,o)&&g(n,o,a[o]);return n},C=(n,a)=>T(n,N(a));import{useData as E}from"./hook-DpvhWbTb.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as I}from"./index-CnAi1QxJ.js";import{d as M,x as O,r as f,o as j,c as q,b as l,u as e,e as A,h as r,f as c,R as b,a8 as h}from"./index-CRmU-Qpi.js";import{u as G}from"./hooks-ItYVRz1P.js";import{d as J}from"./add-circle-line-DOJqVT3s.js";import"./form.vue_vue_type_script_setup_true_lang-CPgTaxRJ.js";import"./adolescent-Dk2B_RUL.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const K={class:"main"},re=M({name:"adolescentType",__name:"index",setup(n){const{searchLabel:a,searchForm:o,onSearch:s,isShow:v,tableList:y,pagination:x,tableLabel:k,handleSizeChange:w,handleCurrentChange:L,handleDelete:S,loading:P,openDialog:d}=E();return O(()=>{s(o.value)}),(Q,t)=>{const m=f("el-button"),R=f("el-popconfirm"),B=f("pure-table");return j(),q("div",K,[l(F,{class:"pb-2",LabelList:e(a),formData:e(o),onHandleSearch:e(s)},null,8,["LabelList","formData","onHandleSearch"]),A("div",{ref:"contentRef",class:b(["flex",e(h)()?"flex-wrap":""])},[l(e(I),{title:"分类列表",class:b([e(v)&&!e(h)()?"!w-[60vw]":"w-full"]),columns:e(k),onRefresh:e(s)},{buttons:r(()=>[l(m,{type:"primary",icon:e(G)(e(J)),onClick:t[0]||(t[0]=i=>e(d)("新增",{}))},{default:r(()=>t[1]||(t[1]=[c(" 新增分类 ")])),_:1},8,["icon"])]),default:r(({size:i,dynamicColumns:D})=>[l(B,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(P),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(y),columns:D,pagination:C(_({},e(x)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(L),onPageSizeChange:e(w)},{operation:r(({row:p})=>[l(m,{link:"",type:"primary",size:i,onClick:$=>e(d)("编辑",p)},{default:r(()=>t[2]||(t[2]=[c(" 编辑 ")])),_:2},1032,["size","onClick"]),l(R,{title:`是否确认删除分类名称为${p.name}的这条数据`,onConfirm:$=>e(S)(p)},{reference:r(()=>[l(m,{link:"",type:"primary",size:i},{default:r(()=>t[3]||(t[3]=[c(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["title","onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{re as default}; diff --git a/dist/static/js/index-DHVF3Vzf.js b/dist/static/js/index-DHVF3Vzf.js new file mode 100644 index 0000000..9a565b3 --- /dev/null +++ b/dist/static/js/index-DHVF3Vzf.js @@ -0,0 +1 @@ +var R=Object.defineProperty,z=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var p=(t,a,o)=>a in t?R(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,d=(t,a)=>{for(var o in a||(a={}))N.call(a,o)&&p(t,o,a[o]);if(m)for(var o of m(a))V.call(a,o)&&p(t,o,a[o]);return t},u=(t,a)=>z(t,D(a));import{useData as H}from"./hook-er-0LM8L.js";import{_ as T}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as $}from"./index-CnAi1QxJ.js";import{d as E,x as F,r as f,o as g,c as M,b as r,u as e,e as O,h as s,g as U,f as j,U as q,R as h,a8 as _}from"./index-CRmU-Qpi.js";import"./form.vue_vue_type_script_setup_true_lang-CjtOjwY0.js";import"./Inform-CWr9EIX8.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const A={class:"main"},te=E({name:"grabHeadlines",__name:"index",setup(t){const{searchLabel:a,searchForm:o,onSearch:n,isShow:b,tableList:C,pagination:v,tableLabel:x,handleSizeChange:k,handleCurrentChange:w,openDialog:y,loading:L}=H();return F(()=>{n(o.value)}),(G,i)=>{const S=f("el-button"),B=f("pure-table");return g(),M("div",A,[r(T,{class:"pb-2",LabelList:e(a),formData:e(o),onHandleSearch:e(n)},null,8,["LabelList","formData","onHandleSearch"]),O("div",{ref:"contentRef",class:h(["flex",e(_)()?"flex-wrap":""])},[r(e($),{title:"举报列表",class:h([e(b)&&!e(_)()?"!w-[60vw]":"w-full"]),columns:e(x),onRefresh:e(n)},{default:s(({size:l,dynamicColumns:P})=>[r(B,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(L),size:l,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(C),columns:P,pagination:u(d({},e(v)),{size:l}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(w),onPageSizeChange:e(k)},{operation:s(({row:c})=>[c.status===1?(g(),U(S,{key:0,link:"",type:"primary",size:l,onClick:I=>e(y)("处理",c)},{default:s(()=>i[0]||(i[0]=[j(" 处理 ")])),_:2},1032,["size","onClick"])):q("",!0)]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{te as default}; diff --git a/dist/static/js/index-DKmufMq8.js b/dist/static/js/index-DKmufMq8.js new file mode 100644 index 0000000..162d7aa --- /dev/null +++ b/dist/static/js/index-DKmufMq8.js @@ -0,0 +1 @@ +var z=Object.defineProperty,T=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var g=(t,o,a)=>o in t?z(t,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[o]=a,_=(t,o)=>{for(var a in o||(o={}))V.call(o,a)&&g(t,a,o[a]);if(u)for(var a of u(o))H.call(o,a)&&g(t,a,o[a]);return t},C=(t,o)=>T(t,N(o));import{useData as E}from"./hook-B10ePqPp.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as I}from"./index-CnAi1QxJ.js";import{d as M,x as O,r as f,o as j,c as q,b as l,u as e,e as A,h as r,f as c,R as b,a8 as h}from"./index-CRmU-Qpi.js";import{u as G}from"./hooks-ItYVRz1P.js";import{d as J}from"./add-circle-line-DOJqVT3s.js";import"./form.vue_vue_type_script_setup_true_lang-DxjpTHt9.js";import"./index-An8nOBwL.js";import"./dynamics-yhcp7wZB.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const K={class:"main"},ie=M({name:"dynamicsTopic",__name:"index",setup(t){const{searchLabel:o,searchForm:a,onSearch:s,isShow:v,tableList:y,pagination:x,tableLabel:k,handleSizeChange:w,handleCurrentChange:L,handleDelete:S,loading:P,openDialog:d}=E();return O(()=>{s(a.value)}),(Q,n)=>{const m=f("el-button"),R=f("el-popconfirm"),B=f("pure-table");return j(),q("div",K,[l(F,{class:"pb-2",LabelList:e(o),formData:e(a),onHandleSearch:e(s)},null,8,["LabelList","formData","onHandleSearch"]),A("div",{ref:"contentRef",class:b(["flex",e(h)()?"flex-wrap":""])},[l(e(I),{title:"话题列表",class:b([e(v)&&!e(h)()?"!w-[60vw]":"w-full"]),columns:e(k),onRefresh:e(s)},{buttons:r(()=>[l(m,{type:"primary",icon:e(G)(e(J)),onClick:n[0]||(n[0]=i=>e(d)("新增",{}))},{default:r(()=>n[1]||(n[1]=[c(" 新增话题 ")])),_:1},8,["icon"])]),default:r(({size:i,dynamicColumns:D})=>[l(B,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(P),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(y),columns:D,pagination:C(_({},e(x)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(L),onPageSizeChange:e(w)},{operation:r(({row:p})=>[l(m,{link:"",type:"primary",size:i,onClick:$=>e(d)("编辑",p)},{default:r(()=>n[2]||(n[2]=[c(" 编辑 ")])),_:2},1032,["size","onClick"]),l(R,{title:`是否确认删除话题为【${p.title}】的这条数据`,onConfirm:$=>e(S)(p)},{reference:r(()=>[l(m,{link:"",type:"primary",size:i},{default:r(()=>n[3]||(n[3]=[c(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["title","onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{ie as default}; diff --git a/dist/static/js/index-DTSPZmh0.js b/dist/static/js/index-DTSPZmh0.js new file mode 100644 index 0000000..df15ec8 --- /dev/null +++ b/dist/static/js/index-DTSPZmh0.js @@ -0,0 +1 @@ +var M=Object.defineProperty,O=Object.defineProperties;var Q=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var U=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var b=(i,o,r)=>o in i?M(i,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):i[o]=r,k=(i,o)=>{for(var r in o||(o={}))U.call(o,r)&&b(i,r,o[r]);if(x)for(var r of x(o))j.call(o,r)&&b(i,r,o[r]);return i},w=(i,o)=>O(i,Q(o));import{P as q}from"./index-CnAi1QxJ.js";import{d as A,x as G,r as p,o as f,c as _,b as l,h as n,e as m,u as e,f as d,P as H,Q as J,R as D,T as K,g as W,a8 as X,U as Y,_ as Z}from"./index-CRmU-Qpi.js";import{u as ee}from"./hooks-ItYVRz1P.js";import{d as te}from"./add-circle-line-DOJqVT3s.js";import{useData as oe}from"./hook-Cw4f7hxK.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";import"./system-CqYheEHE.js";import"./typeForm.vue_vue_type_script_setup_true_lang-DQr3mbVi.js";import"./problemForm.vue_vue_type_script_setup_true_lang-CxLYiSAH.js";const ne={class:"main",style:{height:"95%"}},ae={slot:"header",class:"clearfix"},le={style:{"margin-top":"10px"}},re=["onClick"],ie=A({name:"private",__name:"index",setup(i){const{onSearch:o,loading:r,activeData:c,problemList:P,tableList:$,openTypeDialog:g,handleDelete:B,DeleteProblem:R,tableLabel:S,changeData:T,pagination:z,handleSizeChange:L,handleCurrentChange:N,openDialog:y}=oe();return G(()=>{o()}),(se,t)=>{const s=p("el-button"),C=p("el-popconfirm"),V=p("el-card"),v=p("el-col"),I=p("pure-table"),E=p("el-row");return f(),_("div",ne,[l(E,{gutter:20,style:{height:"100%"}},{default:n(()=>[l(v,{span:6,style:{height:"100%"}},{default:n(()=>[l(V,{shadow:"never",class:"box-card",style:{height:"100%"}},{default:n(()=>[m("div",ae,[t[3]||(t[3]=m("span",null,"问题分类",-1)),l(s,{onClick:t[0]||(t[0]=a=>e(g)("新增",{})),style:{float:"right",padding:"3px 0"},type:"text"},{default:n(()=>t[2]||(t[2]=[d("新增分类")])),_:1})]),m("div",le,[(f(!0),_(H,null,J(e($),a=>(f(),_("div",{class:D(["type_box",a.id===e(c).id?"active":""]),onClick:u=>e(T)(a),key:a.id},[m("div",null,K(a.type_name),1),m("div",null,[l(s,{type:"text",onClick:u=>e(g)("编辑",a)},{default:n(()=>t[4]||(t[4]=[d("编辑")])),_:2},1032,["onClick"]),l(C,{title:"是否确认删除这条数据",onConfirm:u=>e(B)(a)},{reference:n(()=>[l(s,{type:"text"},{default:n(()=>t[5]||(t[5]=[d("删除")])),_:1})]),_:2},1032,["onConfirm"])])],10,re))),128))])]),_:1})]),_:1}),e(c)?(f(),W(v,{key:0,span:18,style:{height:"100%"}},{default:n(()=>[l(e(q),{title:`${e(c).type_name}问题列表`,class:D([e(X)()?"w-full":"!w-[60vw]"]),columns:e(S),onRefresh:e(o)},{buttons:n(()=>[l(s,{type:"primary",icon:e(ee)(e(te)),onClick:t[1]||(t[1]=a=>e(y)("新增",{}))},{default:n(()=>t[6]||(t[6]=[d(" 新增问题 ")])),_:1},8,["icon"])]),default:n(({size:a,dynamicColumns:u})=>[l(I,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(r),size:a,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(P),columns:u,pagination:w(k({},e(z)),{size:a}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(N),onPageSizeChange:e(L)},{operation:n(({row:h})=>[l(s,{link:"",type:"primary",size:a,onClick:F=>e(y)("编辑",h)},{default:n(()=>t[7]||(t[7]=[d(" 编辑 ")])),_:2},1032,["size","onClick"]),l(C,{title:"是否确认删除这条数据",onConfirm:F=>e(R)(h)},{reference:n(()=>[l(s,{link:"",type:"primary",size:a},{default:n(()=>t[8]||(t[8]=[d(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["title","class","columns","onRefresh"])]),_:1})):Y("",!0)]),_:1})])}}}),he=Z(ie,[["__scopeId","data-v-e7905f4a"]]);export{he as default}; diff --git a/dist/static/js/index-D_y0JdvO.js b/dist/static/js/index-D_y0JdvO.js new file mode 100644 index 0000000..b7cdb16 --- /dev/null +++ b/dist/static/js/index-D_y0JdvO.js @@ -0,0 +1 @@ +var B=(f,e,t)=>new Promise((h,_)=>{var p=n=>{try{d(t.next(n))}catch(l){_(l)}},x=n=>{try{d(t.throw(n))}catch(l){_(l)}},d=n=>n.done?h(n.value):Promise.resolve(n.value).then(p,x);d((t=t.apply(f,e)).next())});import{d as T,j as F,w as N,ag as z,t as E,o as w,c as V,e as i,a as I,n as D,x as S,K as U,u as a,b as o,a7 as $,g as L,a1 as A,a0 as q,h as r,i as j,r as v,T as K,f as Y,ax as G,ay as J,az as O,E as P,aA as H,_ as Q}from"./index-CRmU-Qpi.js";import{f as W,a as X,u as a0,d as e0,c as t0}from"./dark-DdIoJ4ZY.js";import{u as R}from"./hooks-ItYVRz1P.js";import"./epTheme-Dbh1KLs6.js";const y=T({name:"Motion",props:{delay:{type:Number,default:50}},render(){const{delay:f}=this,e=F("motion");return N(z("div",{},{default:()=>[this.$slots.default()]}),[[e,{initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:f}}}]])}}),l0=E({password:[{validator:(f,e,t)=>{e===""?t(new Error("请输入密码")):t()},trigger:"blur"}]}),s0="/static/png/bg-oEDCYcDF.png",o0={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",class:"icon",viewBox:"0 0 1024 1024"};function i0(f,e){return w(),V("svg",o0,e[0]||(e[0]=[i("path",{fill:"#386BF3",d:"M410.558.109c0 210.974-300.876 361.752-300.876 633.548 0 174.943 134.704 316.787 300.876 316.787s300.877-141.817 300.877-316.787C711.408 361.752 410.558 210.974 410.558.109"},null,-1),i("path",{fill:"#C3D2FB",d:"M613.469 73.665c0 211.055-300.877 361.914-300.877 633.547C312.592 882.156 447.296 1024 613.47 1024s300.876-141.817 300.876-316.788C914.29 435.58 613.469 284.72 613.469 73.665"},null,-1),i("path",{fill:"#303F5B",d:"M312.592 707.212c0-183.713 137.636-312.171 226.723-441.39 81.702 106.112 172.12 218.74 172.12 367.726A309.755 309.755 0 0 1 420.36 950.064a323.1 323.1 0 0 1-107.769-242.852z"},null,-1)]))}const n0={render:i0},r0={xmlns:"http://www.w3.org/2000/svg",width:"500",height:"380",viewBox:"0 0 897.318 556.975"};function f0(f,e){return w(),V("svg",r0,e[0]||(e[0]=[I('',37)]))}const c0={render:f0},d0={width:24,height:24,body:''},h0={width:24,height:24,body:''},p0={class:"select-none"},u0=["src"],m0={class:"flex-c absolute right-5 top-3"},v0={class:"login-container"},_0={class:"img"},g0={class:"login-box"},y0={class:"login-form"},w0={class:"outline-none"},x0=T({name:"Login",__name:"index",setup(f){const e=j(),t=D(!1),h=D(),{initStorage:_}=W();_();const{dataTheme:p,overallStyle:x,dataThemeChange:d}=X();d(x.value);const{title:n}=a0(),l=E({username:"",password:""}),C=u=>B(this,null,function*(){u&&(yield u.validate((s,Z)=>{s&&(t.value=!0,G().loginByUsername({username:l.username,password:l.password,keeplogin:1}).then(g=>{const{data:m,code:M,msg:b}=g;if(M)return sessionStorage.setItem("key-Id",m.admin.id),J({username:l.username,accessToken:m.admin.token,roles:["admin"]}),O().then(c=>{e.push(P(!0).path).then(()=>{H("登录成功",{type:"success"}),t.value=!1})});H(b,{type:"error"})}).finally(()=>t.value=!1))}))});function k({code:u}){["Enter","NumpadEnter"].includes(u)&&C(h.value)}return S(()=>{window.document.addEventListener("keypress",k)}),U(()=>{window.document.removeEventListener("keypress",k)}),(u,s)=>{const Z=v("el-switch"),g=v("el-input"),m=v("el-form-item"),M=v("el-button"),b=v("el-form");return w(),V("div",p0,[i("img",{src:a(s0),class:"wave"},null,8,u0),i("div",m0,[o(Z,{modelValue:a(p),"onUpdate:modelValue":s[0]||(s[0]=c=>$(p)?p.value=c:null),"inline-prompt":"","active-icon":a(e0),"inactive-icon":a(t0),onChange:a(d)},null,8,["modelValue","active-icon","inactive-icon","onChange"])]),i("div",v0,[i("div",_0,[(w(),L(A(q(a(c0)))))]),i("div",g0,[i("div",y0,[o(a(n0),{class:"avatar"}),o(a(y),null,{default:r(()=>[i("h2",w0,K(a(n)),1)]),_:1}),o(b,{ref_key:"ruleFormRef",ref:h,model:l,rules:a(l0),size:"large"},{default:r(()=>[o(a(y),{delay:100},{default:r(()=>[o(m,{rules:[{required:!0,message:"请输入账号",trigger:"blur"}],prop:"username"},{default:r(()=>[o(g,{modelValue:l.username,"onUpdate:modelValue":s[1]||(s[1]=c=>l.username=c),clearable:"",placeholder:"账号","prefix-icon":a(R)(a(h0))},null,8,["modelValue","prefix-icon"])]),_:1})]),_:1}),o(a(y),{delay:150},{default:r(()=>[o(m,{prop:"password"},{default:r(()=>[o(g,{modelValue:l.password,"onUpdate:modelValue":s[2]||(s[2]=c=>l.password=c),clearable:"","show-password":"",placeholder:"密码","prefix-icon":a(R)(a(d0))},null,8,["modelValue","prefix-icon"])]),_:1})]),_:1}),o(a(y),{delay:250},{default:r(()=>[o(M,{class:"w-full mt-4",size:"default",type:"primary",loading:t.value,onClick:s[3]||(s[3]=c=>C(h.value))},{default:r(()=>s[4]||(s[4]=[Y(" 登录 ")])),_:1},8,["loading"])]),_:1})]),_:1},8,["model","rules"])])])])])}}}),Z0=Q(x0,[["__scopeId","data-v-85183bc4"]]);export{Z0 as default}; diff --git a/dist/static/js/index-DbM4MTin.js b/dist/static/js/index-DbM4MTin.js new file mode 100644 index 0000000..9a92132 --- /dev/null +++ b/dist/static/js/index-DbM4MTin.js @@ -0,0 +1 @@ +var L=Object.defineProperty,N=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var g=(n,o,a)=>o in n?L(n,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[o]=a,C=(n,o)=>{for(var a in o||(o={}))$.call(o,a)&&g(n,a,o[a]);if(c)for(var a of c(o))E.call(o,a)&&g(n,a,o[a]);return n},_=(n,o)=>N(n,V(o));import{useData as F}from"./hook-DcGH6AK7.js";import{P as I}from"./index-CnAi1QxJ.js";import{d as M,x as O,r as p,o as j,c as q,e as A,b as l,h as r,u as e,f as m,R as h,a8 as b}from"./index-CRmU-Qpi.js";import{u as G}from"./hooks-ItYVRz1P.js";import{d as H}from"./add-circle-line-DOJqVT3s.js";import"./form.vue_vue_type_script_setup_true_lang-B-fxyO5i.js";import"./system-CqYheEHE.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const J={class:"main"},te=M({name:"adolescentType",__name:"index",setup(n){const{searchLabel:o,searchForm:a,onSearch:f,isShow:v,tableList:y,pagination:x,tableLabel:k,handleSizeChange:w,handleCurrentChange:P,handleDelete:R,loading:B,openDialog:d}=F();return O(()=>{f(a.value)}),(K,t)=>{const s=p("el-button"),S=p("el-popconfirm"),z=p("pure-table");return j(),q("div",J,[A("div",{ref:"contentRef",class:h(["flex",e(b)()?"flex-wrap":""])},[l(e(I),{title:"充值规则列表",class:h([e(v)&&!e(b)()?"!w-[60vw]":"w-full"]),columns:e(k),onRefresh:e(f)},{buttons:r(()=>[l(s,{type:"primary",icon:e(G)(e(H)),onClick:t[0]||(t[0]=i=>e(d)("新增",{}))},{default:r(()=>t[1]||(t[1]=[m(" 新增规则 ")])),_:1},8,["icon"])]),default:r(({size:i,dynamicColumns:T})=>[l(z,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(B),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(y),columns:T,pagination:_(C({},e(x)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(P),onPageSizeChange:e(w)},{operation:r(({row:u})=>[l(s,{link:"",type:"primary",size:i,onClick:D=>e(d)("编辑",u)},{default:r(()=>t[2]||(t[2]=[m(" 编辑 ")])),_:2},1032,["size","onClick"]),l(S,{title:"是否确认删除这条数据",onConfirm:D=>e(R)(u)},{reference:r(()=>[l(s,{link:"",type:"primary",size:i},{default:r(()=>t[3]||(t[3]=[m(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{te as default}; diff --git a/dist/static/js/index-Df_DWpRL.js b/dist/static/js/index-Df_DWpRL.js new file mode 100644 index 0000000..2b201a2 --- /dev/null +++ b/dist/static/js/index-Df_DWpRL.js @@ -0,0 +1 @@ +var V=Object.defineProperty,E=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable;var f=(o,a,t)=>a in o?V(o,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[a]=t,_=(o,a)=>{for(var t in a||(a={}))H.call(a,t)&&f(o,t,a[t]);if(m)for(var t of m(a))I.call(a,t)&&f(o,t,a[t]);return o},h=(o,a)=>E(o,F(a));import{useData as M}from"./hook-BNdml3vY.js";import{_ as O}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as Q}from"./index-CnAi1QxJ.js";import{d as $,x as j,r,o as i,c,b as s,u as e,e as g,P as q,Q as A,h as p,f as G,R as b,a8 as x,_ as J}from"./index-CRmU-Qpi.js";import"./blindBox-BqHhL4EW.js";import"./xlsx-DaVhO591.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const K={class:"main"},U={class:"content"},W={class:"box"},X=$({name:"openRecord",__name:"index",setup(o){const{searchLabel:a,searchForm:t,onSearch:l,isShow:C,tableList:v,pagination:w,tableLabel:L,handleSizeChange:y,handleCurrentChange:P,loading:S,getType:k,exportExcel:R,statisticsList:B,statisticsData:z}=M();return j(()=>{k(),l(t.value)}),(Y,d)=>{const D=r("el-statistic"),T=r("el-button"),N=r("pure-table");return i(),c("div",K,[s(O,{class:"pb-2",LabelList:e(a),formData:e(t),onHandleSearch:e(l)},null,8,["LabelList","formData","onHandleSearch"]),g("div",U,[(i(!0),c(q,null,A(e(B),(n,u)=>(i(),c("div",W,[s(D,{"group-separator":",",precision:2,value:e(z)[n.prop],title:n.label},null,8,["value","title"])]))),256))]),g("div",{ref:"contentRef",class:b(["flex",e(x)()?"flex-wrap":""])},[s(e(Q),{title:"开奖记录列表",class:b([e(C)&&!e(x)()?"!w-[60vw]":"w-full"]),columns:e(L),onRefresh:e(l)},{buttons:p(()=>[s(T,{type:"primary",onClick:e(R)},{default:p(()=>d[0]||(d[0]=[G(" 导出 ")])),_:1},8,["onClick"])]),default:p(({size:n,dynamicColumns:u})=>[s(N,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(S),size:n,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(v),columns:u,pagination:h(_({},e(w)),{size:n}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(P),onPageSizeChange:e(y)},null,8,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}}),ce=J(X,[["__scopeId","data-v-fc201834"]]);export{ce as default}; diff --git a/dist/static/js/index-Dj6n2UWl.js b/dist/static/js/index-Dj6n2UWl.js new file mode 100644 index 0000000..df62547 --- /dev/null +++ b/dist/static/js/index-Dj6n2UWl.js @@ -0,0 +1 @@ +var z=Object.defineProperty,N=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var f=(n,a,o)=>a in n?z(n,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[a]=o,d=(n,a)=>{for(var o in a||(a={}))V.call(a,o)&&f(n,o,a[o]);if(c)for(var o of c(a))$.call(a,o)&&f(n,o,a[o]);return n},u=(n,a)=>N(n,T(a));import{useData as H}from"./hook-CHHiWwRk.js";import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as F}from"./index-CnAi1QxJ.js";import{d as I,x as M,r as m,o as O,c as j,b as r,u as e,e as q,h as l,f as g,R as _,a8 as h}from"./index-CRmU-Qpi.js";import{u as A}from"./hooks-ItYVRz1P.js";import{d as G}from"./add-circle-line-DOJqVT3s.js";import"./form.vue_vue_type_script_setup_true_lang-rMz_v8aN.js";import"./newuserList-JxRjYKtu.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const J={class:"main"},ie=I({name:"backpackList",__name:"index",setup(n){const{searchLabel:a,searchForm:o,detailData:K,onSearch:s,isShow:b,tableList:C,pagination:v,tableLabel:w,handleSizeChange:x,openDialog:k,handleBanData:y,handleCurrentChange:L,loading:S}=H();return M(()=>{s(o.value)}),(Q,t)=>{const p=m("el-button"),B=m("el-popconfirm"),D=m("pure-table");return O(),j("div",J,[r(E,{class:"pb-2",LabelList:e(a),formData:e(o),onHandleSearch:e(s)},null,8,["LabelList","formData","onHandleSearch"]),q("div",{ref:"contentRef",class:_(["flex",e(h)()?"flex-wrap":""])},[r(e(F),{title:"禁用列表",class:_([e(b)&&!e(h)()?"!w-[60vw]":"w-full"]),columns:e(w),onRefresh:e(s)},{buttons:l(()=>[r(p,{type:"primary",icon:e(A)(e(G)),onClick:t[0]||(t[0]=i=>e(k)("新增",{}))},{default:l(()=>t[1]||(t[1]=[g(" 新增 ")])),_:1},8,["icon"])]),default:l(({size:i,dynamicColumns:P})=>[r(D,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(S),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(C),columns:P,pagination:u(d({},e(v)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(L),onPageSizeChange:e(x)},{operation:l(({row:R})=>[r(B,{title:"是否确认解封",onConfirm:U=>e(y)(R)},{reference:l(()=>[r(p,{link:"",type:"primary",size:i},{default:l(()=>t[2]||(t[2]=[g(" 解封 ")])),_:2},1032,["size"])]),_:2},1032,["onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{ie as default}; diff --git a/dist/static/js/index-DmN3DadU.js b/dist/static/js/index-DmN3DadU.js new file mode 100644 index 0000000..007ebf3 --- /dev/null +++ b/dist/static/js/index-DmN3DadU.js @@ -0,0 +1 @@ +var A=Object.defineProperty,G=Object.defineProperties;var J=Object.getOwnPropertyDescriptors;var v=Object.getOwnPropertySymbols;var K=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var C=(l,a,n)=>a in l?A(l,a,{enumerable:!0,configurable:!0,writable:!0,value:n}):l[a]=n,y=(l,a)=>{for(var n in a||(a={}))K.call(a,n)&&C(l,n,a[n]);if(v)for(var n of v(a))W.call(a,n)&&C(l,n,a[n]);return l},x=(l,a)=>G(l,J(a));import{useData as X}from"./hook-Bs2lJoDG.js";import{_ as Y}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as Z}from"./index-CnAi1QxJ.js";import{d as ee,x as te,r as d,o as s,c as m,u as e,P as h,Q as k,g as ae,h as r,f as u,T as oe,U as ne,b as i,e as f,R as w,a8 as L,_ as le}from"./index-CRmU-Qpi.js";import"./blindBox-BqHhL4EW.js";import"./Turntable.vue_vue_type_script_setup_true_lang-B_gAyEw_.js";import"./lotteryResults-DJYXQbLC.js";import"./room-3H8Bx0CI.js";import"./hooks-ItYVRz1P.js";import"./form.vue_vue_type_script_setup_true_lang-DgHrOfP6.js";import"./settingRule.vue_vue_type_script_setup_true_lang-DX7Hd4GC.js";import"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const re={class:"main"},ie={key:0,class:"content"},se={class:"content-flex"},pe={class:"box"},me=ee({name:"boxList",__name:"index",setup(l){const{searchLabel:a,searchForm:n,onSearch:g,isShow:S,tableList:D,pagination:P,tableLabel:B,handleSizeChange:R,handleCurrentChange:N,loading:T,getType:$,typeList:_,activeName:z,statisticsList:V,statisticsData:F,handleClick:H,openDialog:E,resetSetting:I,handleDelete:ue,openLotteryRecord:M,setting:O}=X();return te(()=>{$()}),(b,o)=>{const p=d("el-button"),Q=d("el-statistic"),U=d("el-popconfirm"),j=d("pure-table");return s(),m("div",re,[e(_).length?(s(),m("div",ie,[(s(!0),m(h,null,k(e(_),t=>(s(),ae(p,{key:t.value,label:t.label,name:t.value,type:e(z)===t.value?"primary":"",onClick:c=>e(H)(t.value)},{default:r(()=>[u(oe(t.label),1)]),_:2},1032,["label","name","type","onClick"]))),128))])):ne("",!0),i(Y,{class:"pb-2",LabelList:e(a),formData:e(n),onHandleSearch:e(g)},null,8,["LabelList","formData","onHandleSearch"]),f("div",se,[(s(!0),m(h,null,k(e(V),(t,c)=>(s(),m("div",pe,[i(Q,{precision:2,"decimal-separator":".",value:e(F)[t.prop],suffix:t.tip||"",title:t.label},null,8,["value","suffix","title"]),o[2]||(o[2]=f("span",null,null,-1))]))),256))]),f("div",{ref:"contentRef",class:w(["flex",e(L)()?"flex-wrap":""])},[i(e(Z),{title:"盲盒转盘列表",class:w([e(S)&&!e(L)()?"!w-[60vw]":"w-full"]),columns:e(B),onRefresh:e(g)},{buttons:r(()=>[i(p,{type:"text",onClick:e(M)},{default:r(()=>o[3]||(o[3]=[u("开奖记录")])),_:1},8,["onClick"]),i(U,{title:"是否重置当前盲盒转盘的规则数量",onConfirm:o[0]||(o[0]=t=>e(I)(b.row))},{reference:r(()=>[i(p,{type:"primary"},{default:r(()=>o[4]||(o[4]=[u(" 重置数量 ")])),_:1})]),_:1}),i(p,{type:"primary",onClick:o[1]||(o[1]=t=>e(O)(b.row))},{default:r(()=>o[5]||(o[5]=[u(" 设置规则 ")])),_:1})]),default:r(({size:t,dynamicColumns:c})=>[i(j,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(T),size:t,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(D),columns:c,pagination:x(y({},e(P)),{size:t}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(N),onPageSizeChange:e(R)},{operation:r(({row:q})=>[i(p,{link:"",type:"primary",size:t,onClick:de=>e(E)("编辑",q)},{default:r(()=>o[6]||(o[6]=[u(" 编辑 ")])),_:2},1032,["size","onClick"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}}),Pe=le(me,[["__scopeId","data-v-2ca9ab69"]]);export{Pe as default}; diff --git a/dist/static/js/index-DrJ0GYam.js b/dist/static/js/index-DrJ0GYam.js new file mode 100644 index 0000000..37aa164 --- /dev/null +++ b/dist/static/js/index-DrJ0GYam.js @@ -0,0 +1 @@ +var S=Object.defineProperty,P=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var R=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var c=(n,e,o)=>e in n?S(n,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[e]=o,m=(n,e)=>{for(var o in e||(e={}))R.call(e,o)&&c(n,o,e[o]);if(i)for(var o of i(e))k.call(e,o)&&c(n,o,e[o]);return n},p=(n,e)=>P(n,B(e));import{useData as y}from"./hook-CB6HQ5Ga.js";import{_ as z}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as D}from"./index-CnAi1QxJ.js";import{d as H,x as N,r as T,o as V,c as E,b as r,u as a,e as F,h as d,R as f,a8 as u}from"./index-CRmU-Qpi.js";import"./decorate-DdTDZW0a.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const M={class:"main"},X=H({name:"decorateUser",__name:"index",setup(n){const{searchLabel:e,searchForm:o,onSearch:t,isShow:h,tableList:g,pagination:_,tableLabel:b,handleSizeChange:C,handleCurrentChange:w,loading:v,openDialog:O}=y();return N(()=>{t(o.value)}),(U,l)=>{const x=T("pure-table");return V(),E("div",M,[r(z,{class:"pb-2",LabelList:a(e),formData:a(o),onHandleSearch:a(t)},null,8,["LabelList","formData","onHandleSearch"]),F("div",{ref:"contentRef",class:f(["flex",a(u)()?"flex-wrap":""])},[r(a(D),{title:"用户装扮列表",class:f([a(h)&&!a(u)()?"!w-[60vw]":"w-full"]),columns:a(b),onRefresh:a(t)},{default:d(({size:s,dynamicColumns:L})=>[r(x,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:a(v),size:s,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:a(g),columns:L,pagination:p(m({},a(_)),{size:s}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:a(w),onPageSizeChange:a(C)},{operation:d(({row:$})=>l[0]||(l[0]=[])),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{X as default}; diff --git a/dist/static/js/index-DrzyXp6g.js b/dist/static/js/index-DrzyXp6g.js new file mode 100644 index 0000000..cdaec9e --- /dev/null +++ b/dist/static/js/index-DrzyXp6g.js @@ -0,0 +1 @@ +var T=Object.defineProperty,V=Object.defineProperties;var H=Object.getOwnPropertyDescriptors;var C=Object.getOwnPropertySymbols;var E=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable;var g=(n,o,t)=>o in n?T(n,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[o]=t,_=(n,o)=>{for(var t in o||(o={}))E.call(o,t)&&g(n,t,o[t]);if(C)for(var t of C(o))F.call(o,t)&&g(n,t,o[t]);return n},b=(n,o)=>V(n,H(o));import{useData as G}from"./hook-BrKWggcC.js";import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as M}from"./index-CnAi1QxJ.js";import{d as O,x as j,r as u,o as q,c as A,b as l,u as e,e as J,h as r,f as m,R as k,a8 as v}from"./index-CRmU-Qpi.js";import{u as K}from"./hooks-ItYVRz1P.js";import{d as Q}from"./add-circle-line-DOJqVT3s.js";import"./form.vue_vue_type_script_setup_true_lang-hEQYONMW.js";import"./index-An8nOBwL.js";import"./decorate-DdTDZW0a.js";import"./priceList.vue_vue_type_script_setup_true_lang-BsZbZjEf.js";import"./priceForm.vue_vue_type_script_setup_true_lang-CvQgebEz.js";import"./donateForm.vue_vue_type_script_setup_true_lang-B3gVeo00.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const U={class:"main"},de=O({name:"decorateList",__name:"index",setup(n){const{searchLabel:o,searchForm:t,onSearch:f,isShow:y,tableList:h,pagination:x,tableLabel:L,handleSizeChange:P,handleCurrentChange:S,loading:$,openDialog:c,handleDelete:w,settingPrice:R,sendGift:B}=G();return j(()=>{f(t.value)}),(W,a)=>{const s=u("el-button"),D=u("el-popconfirm"),z=u("pure-table");return q(),A("div",U,[l(I,{class:"pb-2",LabelList:e(o),formData:e(t),onHandleSearch:e(f)},null,8,["LabelList","formData","onHandleSearch"]),J("div",{ref:"contentRef",class:k(["flex",e(v)()?"flex-wrap":""])},[l(e(M),{title:"道具列表",class:k([e(y)&&!e(v)()?"!w-[60vw]":"w-full"]),columns:e(L),onRefresh:e(f)},{buttons:r(()=>[l(s,{type:"primary",icon:e(K)(e(Q)),onClick:a[0]||(a[0]=i=>e(c)("新增",{}))},{default:r(()=>a[1]||(a[1]=[m(" 新增道具 ")])),_:1},8,["icon"])]),default:r(({size:i,dynamicColumns:N})=>[l(z,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e($),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(h),columns:N,pagination:b(_({},e(x)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(S),onPageSizeChange:e(P)},{operation:r(({row:p})=>[l(s,{link:"",type:"primary",size:i,onClick:d=>e(c)("编辑",p)},{default:r(()=>a[2]||(a[2]=[m(" 编辑 ")])),_:2},1032,["size","onClick"]),l(s,{link:"",type:"primary",size:i,onClick:d=>e(R)(p)},{default:r(()=>a[3]||(a[3]=[m(" 价格设置 ")])),_:2},1032,["size","onClick"]),l(s,{link:"",type:"primary",size:i,onClick:d=>e(B)(p)},{default:r(()=>a[4]||(a[4]=[m(" 赠送 ")])),_:2},1032,["size","onClick"]),l(D,{title:`是否删除道具为【${p.name}】的道具`,onConfirm:d=>e(w)(p)},{reference:r(()=>[l(s,{link:"",type:"primary",size:i},{default:r(()=>a[5]||(a[5]=[m(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["title","onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{de as default}; diff --git a/dist/static/js/index-DsNLkwti.js b/dist/static/js/index-DsNLkwti.js new file mode 100644 index 0000000..854fcad --- /dev/null +++ b/dist/static/js/index-DsNLkwti.js @@ -0,0 +1 @@ +var w=Object.defineProperty,v=Object.defineProperties;var x=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertySymbols;var P=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var r=(n,e,a)=>e in n?w(n,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[e]=a,s=(n,e)=>{for(var a in e||(e={}))P.call(e,a)&&r(n,a,e[a]);if(l)for(var a of l(e))R.call(e,a)&&r(n,a,e[a]);return n},i=(n,e)=>v(n,x(e));import{useData as B}from"./hook-DkFMTKT0.js";import{P as S}from"./index-CnAi1QxJ.js";import{d as k,x as y,r as z,o as L,c as N,e as T,b as c,h as V,u as o,R as d,a8 as f}from"./index-CRmU-Qpi.js";import"./invite-ZPZpvkxZ.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const D={class:"main"},I=k({name:"giftRecord",__name:"index",setup(n){const{onSearch:e,isShow:a,tableList:p,pagination:u,tableLabel:m,handleSizeChange:g,handleCurrentChange:h,loading:C}=B();return y(()=>{e()}),(E,M)=>{const _=z("pure-table");return L(),N("div",D,[T("div",{ref:"contentRef",class:d(["flex",o(f)()?"flex-wrap":""])},[c(o(S),{title:"邀请收益列表",class:d([o(a)&&!o(f)()?"!w-[60vw]":"w-full"]),columns:o(m),onRefresh:o(e)},{default:V(({size:t,dynamicColumns:b})=>[c(_,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:o(C),size:t,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:o(p),columns:b,pagination:i(s({},o(u)),{size:t}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:o(h),onPageSizeChange:o(g)},null,8,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{I as default}; diff --git a/dist/static/js/index-DwL6utlF.js b/dist/static/js/index-DwL6utlF.js new file mode 100644 index 0000000..0a0f5c9 --- /dev/null +++ b/dist/static/js/index-DwL6utlF.js @@ -0,0 +1 @@ +var V=Object.defineProperty,$=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var g=(t,o,a)=>o in t?V(t,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[o]=a,C=(t,o)=>{for(var a in o||(o={}))H.call(o,a)&&g(t,a,o[a]);if(u)for(var a of u(o))E.call(o,a)&&g(t,a,o[a]);return t},_=(t,o)=>$(t,T(o));import{useData as F}from"./hook-B8dlrmJp.js";import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as M}from"./index-CnAi1QxJ.js";import{d as O,x as U,r as f,o as b,c as j,b as l,u as e,e as q,h as r,f as c,g as A,U as G,R as h,a8 as v}from"./index-CRmU-Qpi.js";import{u as J}from"./hooks-ItYVRz1P.js";import{d as K}from"./add-circle-line-DOJqVT3s.js";import"./form.vue_vue_type_script_setup_true_lang-CHItqJrU.js";import"./index-An8nOBwL.js";import"./room-3H8Bx0CI.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const Q={class:"main"},me=O({name:"roomRelation",__name:"index",setup(t){const{searchLabel:o,searchForm:a,onSearch:s,isShow:k,tableList:y,pagination:x,tableLabel:w,handleSizeChange:L,handleCurrentChange:R,handleDelete:S,loading:B,openDialog:d}=F();return U(()=>{s(a.value)}),(W,n)=>{const m=f("el-button"),P=f("el-popconfirm"),D=f("pure-table");return b(),j("div",Q,[l(I,{class:"pb-2",LabelList:e(o),formData:e(a),onHandleSearch:e(s)},null,8,["LabelList","formData","onHandleSearch"]),q("div",{ref:"contentRef",class:h(["flex",e(v)()?"flex-wrap":""])},[l(e(M),{title:"房间关系列表",class:h([e(k)&&!e(v)()?"!w-[60vw]":"w-full"]),columns:e(w),onRefresh:e(s)},{buttons:r(()=>[l(m,{type:"primary",icon:e(J)(e(K)),onClick:n[0]||(n[0]=i=>e(d)("新增",{}))},{default:r(()=>n[1]||(n[1]=[c(" 新增房间关系 ")])),_:1},8,["icon"])]),default:r(({size:i,dynamicColumns:z})=>[l(D,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(B),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(y),columns:z,pagination:_(C({},e(x)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(R),onPageSizeChange:e(L)},{operation:r(({row:p})=>[l(m,{link:"",type:"primary",size:i,onClick:N=>e(d)("编辑",p)},{default:r(()=>n[2]||(n[2]=[c(" 编辑 ")])),_:2},1032,["size","onClick"]),p.id!==0?(b(),A(P,{key:0,title:"是否确认删除这条数据",onConfirm:N=>e(S)(p)},{reference:r(()=>[l(m,{link:"",type:"primary",size:i},{default:r(()=>n[3]||(n[3]=[c(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["onConfirm"])):G("",!0)]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{me as default}; diff --git a/dist/static/js/index-Dxv8yK_D.js b/dist/static/js/index-Dxv8yK_D.js new file mode 100644 index 0000000..c96c8f2 --- /dev/null +++ b/dist/static/js/index-Dxv8yK_D.js @@ -0,0 +1 @@ +import{useData as T}from"./hook-nxxl-JO8.js";import{d as U,x as D,r as t,o,c as r,e as d,b as i,h as l,f as L,u as e,R,a8 as S,P as c,Q as p,g as u,T as z,a7 as E,U as F}from"./index-CRmU-Qpi.js";import"./system-CqYheEHE.js";const I={class:"main"},M={style:{"margin-bottom":"20px","text-align":"right"}},P={style:{width:"100%",display:"inline-flex"}},Q={style:{width:"20%"}},j={style:{width:"70%","margin-left":"20px",color:"#666"}},K=U({name:"private",__name:"index",setup(q){const{onSearch:f,loading:b,tableList:y,activeId:m,formLabel:h,formData:_,tabClick:k,saveConfig:x}=T();return D(()=>{f()}),(A,n)=>{const v=t("el-button"),w=t("el-input"),C=t("el-form-item"),V=t("el-form"),g=t("el-tab-pane"),B=t("el-tabs");return o(),r("div",I,[d("div",M,[i(v,{type:"primary",onClick:e(x)},{default:l(()=>n[1]||(n[1]=[L("保存当前配置")])),_:1},8,["onClick"])]),e(b)?F("",!0):(o(),r("div",{key:0,ref:"contentRef",class:R(["flex",e(S)()?"flex-wrap":""])},[i(B,{onTabClick:e(k),type:"border-card",modelValue:e(m),"onUpdate:modelValue":n[0]||(n[0]=a=>E(m)?m.value=a:null),style:{width:"100%"}},{default:l(()=>[(o(!0),r(c,null,p(e(y),a=>(o(),u(g,{label:a.name,name:a.id},{default:l(()=>[i(V,{ref_for:!0,ref:"form",model:e(_),"label-width":"200px"},{default:l(()=>[(o(!0),r(c,null,p(e(h),s=>(o(),u(C,{label:s.key_name},{default:l(()=>[d("div",P,[d("div",Q,[i(w,{modelValue:e(_)[s.key_title],"onUpdate:modelValue":N=>e(_)[s.key_title]=N,"show-password":a.id===11},null,8,["modelValue","onUpdate:modelValue","show-password"])]),d("div",j,z(s.key_desc),1)])]),_:2},1032,["label"]))),256))]),_:2},1032,["model"])]),_:2},1032,["label","name"]))),256))]),_:1},8,["onTabClick","modelValue"])],2))])}}});export{K as default}; diff --git a/dist/static/js/index-DyzFDIob.js b/dist/static/js/index-DyzFDIob.js new file mode 100644 index 0000000..492bb02 --- /dev/null +++ b/dist/static/js/index-DyzFDIob.js @@ -0,0 +1 @@ +var V=Object.defineProperty,D=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var c=(a,o,t)=>o in a?V(a,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[o]=t,g=(a,o)=>{for(var t in o||(o={}))T.call(o,t)&&c(a,t,o[t]);if(u)for(var t of u(o))$.call(o,t)&&c(a,t,o[t]);return a},C=(a,o)=>D(a,L(o));import{useData as E}from"./hook-CrUUUJJN.js";import{P as I}from"./index-CnAi1QxJ.js";import{u as M}from"./hooks-ItYVRz1P.js";import{d as O}from"./add-circle-line-DOJqVT3s.js";import{d as U,x as j,r as m,o as _,c as q,e as A,b as i,h as r,u as e,f,g as F,U as G,R as b,a8 as h}from"./index-CRmU-Qpi.js";import"./form.vue_vue_type_script_setup_true_lang-DroLasXj.js";import"./permission-DJnI7MjS.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const H={class:"main"},ne=U({name:"roleList",__name:"index",setup(a){const{onSearch:o,isShow:t,tableList:v,pagination:k,tableLabel:y,handleSizeChange:x,handleCurrentChange:w,openDialog:d,loading:B,handleDelete:P}=E();return j(()=>{o()}),(J,n)=>{const s=m("el-button"),R=m("el-popconfirm"),S=m("pure-table");return _(),q("div",H,[A("div",{ref:"contentRef",class:b(["flex",e(h)()?"flex-wrap":""])},[i(e(I),{title:"角色列表",class:b([e(t)&&!e(h)()?"!w-[60vw]":"w-full"]),columns:e(y),onRefresh:e(o)},{buttons:r(()=>[i(s,{type:"primary",icon:e(M)(e(O)),onClick:n[0]||(n[0]=l=>e(d)("新增",{}))},{default:r(()=>n[1]||(n[1]=[f(" 新增 ")])),_:1},8,["icon"])]),default:r(({size:l,dynamicColumns:z})=>[i(S,{ref:"tableRef",showOverflowTooltip:"","table-layout":"auto",loading:e(B),size:l,adaptive:"",adaptiveConfig:{offsetBottom:108},"row-key":"id",data:e(v),columns:z,pagination:C(g({},e(k)),{size:l}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageSizeChange:e(x),onPageCurrentChange:e(w)},{operation:r(({row:p})=>[i(s,{link:"",type:"primary",size:l,onClick:N=>e(d)("编辑",p)},{default:r(()=>n[2]||(n[2]=[f(" 编辑 ")])),_:2},1032,["size","onClick"]),p.pid?(_(),F(R,{key:0,title:"是否确认删除",onConfirm:N=>e(P)(p)},{reference:r(()=>[i(s,{link:"",type:"primary",size:l},{default:r(()=>n[3]||(n[3]=[f(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["onConfirm"])):G("",!0)]),_:2},1032,["loading","size","data","columns","pagination","onPageSizeChange","onPageCurrentChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{ne as default}; diff --git a/dist/static/js/index-EwQ01Ae3.js b/dist/static/js/index-EwQ01Ae3.js new file mode 100644 index 0000000..43a34e9 --- /dev/null +++ b/dist/static/js/index-EwQ01Ae3.js @@ -0,0 +1 @@ +var R=Object.defineProperty,z=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var p=(n,a,o)=>a in n?R(n,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[a]=o,f=(n,a)=>{for(var o in a||(a={}))H.call(a,o)&&p(n,o,a[o]);if(m)for(var o of m(a))N.call(a,o)&&p(n,o,a[o]);return n},d=(n,a)=>z(n,D(a));import{useData as T}from"./hook-CH1Mbh-O.js";import{_ as V}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as $}from"./index-CnAi1QxJ.js";import{d as E,x as F,r as i,o as M,c as O,b as t,u as e,e as j,h as l,f as q,R as u,a8 as _}from"./index-CRmU-Qpi.js";import"./room-3H8Bx0CI.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const A={class:"main"},ae=E({name:"roomHeadlines",__name:"index",setup(n){const{searchLabel:a,searchForm:o,onSearch:r,isShow:h,tableList:g,pagination:b,tableLabel:C,handleSizeChange:v,handleCurrentChange:w,handleDetele:x,loading:L}=T();return F(()=>{r(o.value)}),(G,c)=>{const S=i("el-button"),y=i("el-popconfirm"),P=i("pure-table");return M(),O("div",A,[t(V,{class:"pb-2",LabelList:e(a),formData:e(o),onHandleSearch:e(r)},null,8,["LabelList","formData","onHandleSearch"]),j("div",{ref:"contentRef",class:u(["flex",e(_)()?"flex-wrap":""])},[t(e($),{title:"房间头条列表",class:u([e(h)&&!e(_)()?"!w-[60vw]":"w-full"]),columns:e(C),onRefresh:e(r)},{default:l(({size:s,dynamicColumns:k})=>[t(P,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(L),size:s,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(g),columns:k,pagination:d(f({},e(b)),{size:s}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(w),onPageSizeChange:e(v)},{operation:l(({row:B})=>[t(y,{title:"是否确认删除当前数据",onConfirm:I=>e(x)(B)},{reference:l(()=>[t(S,{link:"",type:"primary",size:s},{default:l(()=>c[0]||(c[0]=[q(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{ae as default}; diff --git a/dist/static/js/index-Gf7kgdIQ.js b/dist/static/js/index-Gf7kgdIQ.js new file mode 100644 index 0000000..9ae47cd --- /dev/null +++ b/dist/static/js/index-Gf7kgdIQ.js @@ -0,0 +1 @@ +var B=Object.defineProperty,D=Object.defineProperties;var R=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable;var m=(t,a,o)=>a in t?B(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,p=(t,a)=>{for(var o in a||(a={}))z.call(a,o)&&m(t,o,a[o]);if(c)for(var o of c(a))T.call(a,o)&&m(t,o,a[o]);return t},d=(t,a)=>D(t,R(a));import{useData as N}from"./hook-HsyWGcg9.js";import{_ as V}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as H}from"./index-CnAi1QxJ.js";import{d as $,x as E,r as f,o as F,c as M,b as n,u as e,e as O,h as s,f as j,R as u,a8 as h}from"./index-CRmU-Qpi.js";import"./form.vue_vue_type_script_setup_true_lang-DXbOk4OV.js";import"./system-CqYheEHE.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const q={class:"main"},oe=$({name:"Tasks",__name:"index",setup(t){const{searchLabel:a,searchForm:o,onSearch:l,isShow:g,tableList:_,pagination:b,tableLabel:C,handleSizeChange:v,handleCurrentChange:w,handleDelete:A,loading:x,openDialog:k}=N();return E(()=>{l(o.value)}),(G,i)=>{const L=f("el-button"),S=f("pure-table");return F(),M("div",q,[n(V,{class:"pb-2",LabelList:e(a),formData:e(o),onHandleSearch:e(l)},null,8,["LabelList","formData","onHandleSearch"]),O("div",{ref:"contentRef",class:u(["flex",e(h)()?"flex-wrap":""])},[n(e(H),{title:"任务列表",class:u([e(g)&&!e(h)()?"!w-[60vw]":"w-full"]),columns:e(C),onRefresh:e(l)},{default:s(({size:r,dynamicColumns:y})=>[n(S,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(x),size:r,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(_),columns:y,pagination:d(p({},e(b)),{size:r}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(w),onPageSizeChange:e(v)},{operation:s(({row:P})=>[n(L,{link:"",type:"primary",size:r,onClick:I=>e(k)("编辑",P)},{default:s(()=>i[0]||(i[0]=[j(" 编辑 ")])),_:2},1032,["size","onClick"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{oe as default}; diff --git a/dist/static/js/index-MWQ3JU8_.js b/dist/static/js/index-MWQ3JU8_.js new file mode 100644 index 0000000..3f7357e --- /dev/null +++ b/dist/static/js/index-MWQ3JU8_.js @@ -0,0 +1 @@ +var B=Object.defineProperty,z=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var m=(t,a,o)=>a in t?B(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,p=(t,a)=>{for(var o in a||(a={}))T.call(a,o)&&m(t,o,a[o]);if(c)for(var o of c(a))N.call(a,o)&&m(t,o,a[o]);return t},d=(t,a)=>z(t,D(a));import{useData as V}from"./hook-Cu44oYHu.js";import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as H}from"./index-CnAi1QxJ.js";import{d as F,x as M,r as f,o as O,c as $,b as n,u as e,e as u,h as r,T as j,f as q,R as g,a8 as h}from"./index-CRmU-Qpi.js";import"./xlsx-DaVhO591.js";import"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import"./statistics-Cc1WE90b.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const A={class:"main"},G={style:{display:"inline-flex","align-items":"center"},class:"mr-10"},te=F({name:"giftRecord",__name:"index",setup(t){const{searchLabel:a,searchForm:o,total_price:_,onSearch:l,isShow:b,tableList:C,pagination:x,tableLabel:v,exportExcel:w,handleSizeChange:y,handleCurrentChange:S,loading:L}=V();return M(()=>{l(o.value)}),(I,s)=>{const k=f("el-button"),P=f("pure-table");return O(),$("div",A,[n(E,{class:"pb-2",LabelList:e(a),formData:e(o),onHandleSearch:e(l)},null,8,["LabelList","formData","onHandleSearch"]),u("div",{ref:"contentRef",class:g(["flex",e(h)()?"flex-wrap":""])},[n(e(H),{title:"房间流水统计",class:g([e(b)&&!e(h)()?"!w-[60vw]":"w-full"]),columns:e(v),onRefresh:e(l)},{buttons:r(()=>[u("div",G,"总计:"+j(e(_)),1),n(k,{type:"primary",onClick:e(w)},{default:r(()=>s[0]||(s[0]=[q(" 导出 ")])),_:1},8,["onClick"])]),default:r(({size:i,dynamicColumns:R})=>[n(P,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(L),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(C),columns:R,pagination:d(p({},e(x)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(S),onPageSizeChange:e(y)},null,8,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{te as default}; diff --git a/dist/static/js/index-Oe2eME06.js b/dist/static/js/index-Oe2eME06.js new file mode 100644 index 0000000..e683c57 --- /dev/null +++ b/dist/static/js/index-Oe2eME06.js @@ -0,0 +1 @@ +var G=Object.defineProperty,J=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var W=Object.prototype.hasOwnProperty,X=Object.prototype.propertyIsEnumerable;var x=(i,n,o)=>n in i?G(i,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):i[n]=o,h=(i,n)=>{for(var o in n||(n={}))W.call(n,o)&&x(i,o,n[o]);if(k)for(var o of k(n))X.call(n,o)&&x(i,o,n[o]);return i},L=(i,n)=>J(i,K(n));import{useData as Y}from"./hook-B2DKEnNK.js";import{_ as Z}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as ee}from"./index-CnAi1QxJ.js";import{d as te,x as ae,r as d,o as p,c as u,u as e,P as w,Q as S,g as ne,h as l,f as m,T as oe,U as le,b as r,e as g,R as $,a8 as D,_ as re}from"./index-CRmU-Qpi.js";import{u as ie}from"./hooks-ItYVRz1P.js";import{d as se}from"./add-circle-line-DOJqVT3s.js";import"./blindBox-BqHhL4EW.js";import"./form.vue_vue_type_script_setup_true_lang-C5Afdf2H.js";import"./settingRule.vue_vue_type_script_setup_true_lang-DO9xMX7n.js";import"./index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const pe={class:"main"},me={key:0,class:"content"},ue={class:"content-flex"},de={class:"box"},fe=te({name:"boxList",__name:"index",setup(i){const{searchLabel:n,searchForm:o,onSearch:_,isShow:P,tableList:B,pagination:R,tableLabel:N,handleSizeChange:T,handleCurrentChange:z,loading:V,getType:F,typeList:v,activeName:H,statisticsList:I,statisticsData:E,handleClick:M,openDialog:C,resetSetting:O,handleDelete:Q,setting:U}=Y();return ae(()=>{F()}),(b,t)=>{const s=d("el-button"),j=d("el-statistic"),y=d("el-popconfirm"),q=d("pure-table");return p(),u("div",pe,[e(v).length?(p(),u("div",me,[(p(!0),u(w,null,S(e(v),a=>(p(),ne(s,{key:a.value,label:a.label,name:a.value,type:e(H)===a.value?"primary":"",onClick:f=>e(M)(a.value)},{default:l(()=>[m(oe(a.label),1)]),_:2},1032,["label","name","type","onClick"]))),128))])):le("",!0),r(Z,{class:"pb-2",LabelList:e(n),formData:e(o),onHandleSearch:e(_)},null,8,["LabelList","formData","onHandleSearch"]),g("div",ue,[(p(!0),u(w,null,S(e(I),(a,f)=>(p(),u("div",de,[r(j,{precision:2,"decimal-separator":".",value:e(E)[a.prop],suffix:a.tip||"",title:a.label},null,8,["value","suffix","title"]),t[3]||(t[3]=g("span",null,null,-1))]))),256))]),g("div",{ref:"contentRef",class:$(["flex",e(D)()?"flex-wrap":""])},[r(e(ee),{title:"盲盒列表",class:$([e(P)&&!e(D)()?"!w-[60vw]":"w-full"]),columns:e(N),onRefresh:e(_)},{buttons:l(()=>[r(y,{title:"是否重置当前盲盒的规则设置",onConfirm:t[0]||(t[0]=a=>e(O)(b.row))},{reference:l(()=>[r(s,{type:"primary"},{default:l(()=>t[4]||(t[4]=[m(" 重置规则 ")])),_:1})]),_:1}),r(s,{type:"primary",onClick:t[1]||(t[1]=a=>e(U)(b.row))},{default:l(()=>t[5]||(t[5]=[m(" 设置规则 ")])),_:1}),r(s,{type:"primary",icon:e(ie)(e(se)),onClick:t[2]||(t[2]=a=>e(C)("新增",{}))},{default:l(()=>t[6]||(t[6]=[m(" 添加 ")])),_:1},8,["icon"])]),default:l(({size:a,dynamicColumns:f})=>[r(q,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(V),size:a,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(B),columns:f,pagination:L(h({},e(R)),{size:a}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(z),onPageSizeChange:e(T)},{operation:l(({row:c})=>[r(s,{link:"",type:"primary",size:a,onClick:A=>e(C)("编辑",c)},{default:l(()=>t[7]||(t[7]=[m(" 编辑 ")])),_:2},1032,["size","onClick"]),r(y,{title:`是否确认删除礼物名称为【${c.gift_name}】的这条数据`,onConfirm:A=>e(Q)(c)},{reference:l(()=>[r(s,{link:"",type:"primary",size:a},{default:l(()=>t[8]||(t[8]=[m(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["title","onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}}),$e=re(fe,[["__scopeId","data-v-5ad16545"]]);export{$e as default}; diff --git a/dist/static/js/index-SWkJhadt.js b/dist/static/js/index-SWkJhadt.js new file mode 100644 index 0000000..c8f4b1b --- /dev/null +++ b/dist/static/js/index-SWkJhadt.js @@ -0,0 +1 @@ +var F=Object.defineProperty,I=Object.defineProperties;var O=Object.getOwnPropertyDescriptors;var _=Object.getOwnPropertySymbols;var U=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var k=(l,t,a)=>t in l?F(l,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):l[t]=a,y=(l,t)=>{for(var a in t||(t={}))U.call(t,a)&&k(l,a,t[a]);if(_)for(var a of _(t))j.call(t,a)&&k(l,a,t[a]);return l},b=(l,t)=>I(l,O(t));import{useData as q}from"./hook-BTAMor4e.js";import{_ as A}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as G}from"./index-CnAi1QxJ.js";import{d as J,x as K,r as d,o as c,c as Q,b as i,u as e,e as W,h as n,f as p,g as v,T as X,U as h,R as x,a8 as S}from"./index-CRmU-Qpi.js";import{u as Y}from"./hooks-ItYVRz1P.js";import{d as Z}from"./add-circle-line-DOJqVT3s.js";import"./form.vue_vue_type_script_setup_true_lang-DWkvuK7p.js";import"./index-An8nOBwL.js";import"./memberList.vue_vue_type_script_setup_true_lang-BIA3qUx3.js";import"./union-ZelC57cN.js";import"./roomList.vue_vue_type_script_setup_true_lang-C3mqxAhb.js";import"./xlsx-DaVhO591.js";import"./mergeForm.vue_vue_type_script_setup_true_lang-CBC0VMWv.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const ee={class:"main"},ke=J({name:"unionList",__name:"index",setup(l){const{searchLabel:t,searchForm:a,onSearch:u,isShow:L,tableList:$,pagination:D,tableLabel:R,handleSizeChange:w,handleCurrentChange:B,handleDelete:P,loading:z,openDialog:C,viewMember:N,viewRoomList:T,mergeData:V,changeShowStatus:H}=q();return K(()=>{u(a.value)}),(te,o)=>{const m=d("el-button"),g=d("el-popconfirm"),M=d("pure-table");return c(),Q("div",ee,[i(A,{class:"pb-2",LabelList:e(t),formData:e(a),onHandleSearch:e(u)},null,8,["LabelList","formData","onHandleSearch"]),W("div",{ref:"contentRef",class:x(["flex",e(S)()?"flex-wrap":""])},[i(e(G),{title:"公会列表",class:x([e(L)&&!e(S)()?"!w-[60vw]":"w-full"]),columns:e(R),onRefresh:e(u)},{buttons:n(()=>[i(m,{type:"primary",onClick:e(V)},{default:n(()=>o[1]||(o[1]=[p(" 合并公会 ")])),_:1},8,["onClick"]),i(m,{type:"primary",icon:e(Y)(e(Z)),onClick:o[0]||(o[0]=s=>e(C)("新增",{}))},{default:n(()=>o[2]||(o[2]=[p(" 新增公会 ")])),_:1},8,["icon"])]),default:n(({size:s,dynamicColumns:E})=>[i(M,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(z),size:s,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e($),columns:E,pagination:b(y({},e(D)),{size:s}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(B),onPageSizeChange:e(w)},{operation:n(({row:r})=>[i(m,{link:"",type:"primary",size:s,onClick:f=>e(N)(r)},{default:n(()=>o[3]||(o[3]=[p(" 查看成员 ")])),_:2},1032,["size","onClick"]),i(m,{link:"",type:"primary",size:s,onClick:f=>e(T)(r)},{default:n(()=>o[4]||(o[4]=[p(" 查看房间 ")])),_:2},1032,["size","onClick"]),i(m,{link:"",type:"primary",size:s,onClick:f=>e(C)("编辑",r)},{default:n(()=>o[5]||(o[5]=[p(" 编辑 ")])),_:2},1032,["size","onClick"]),r.status_str==="正常"?(c(),v(g,{key:0,title:`是否【${r.is_show?"隐藏":"显示"}】当前公会`,onConfirm:f=>e(H)(r)},{reference:n(()=>[i(m,{link:"",type:"primary",size:s},{default:n(()=>[p(X(r.is_show?"隐藏":"显示"),1)]),_:2},1032,["size"])]),_:2},1032,["title","onConfirm"])):h("",!0),r.status_str==="正常"?(c(),v(g,{key:1,title:`是否确认解散名称为【${r.guild_name}】的公会`,onConfirm:f=>e(P)(r)},{reference:n(()=>[i(m,{link:"",type:"primary",size:s},{default:n(()=>o[6]||(o[6]=[p(" 解散 ")])),_:2},1032,["size"])]),_:2},1032,["title","onConfirm"])):h("",!0)]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{ke as default}; diff --git a/dist/static/js/index-WCTES6Qb.js b/dist/static/js/index-WCTES6Qb.js new file mode 100644 index 0000000..dbb758c --- /dev/null +++ b/dist/static/js/index-WCTES6Qb.js @@ -0,0 +1 @@ +var z=Object.defineProperty,N=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var g=(t,a,o)=>a in t?z(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,_=(t,a)=>{for(var o in a||(a={}))V.call(a,o)&&g(t,o,a[o]);if(u)for(var o of u(a))H.call(a,o)&&g(t,o,a[o]);return t},C=(t,a)=>N(t,T(a));import{useData as E}from"./hook-DvvFNjQd.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as I}from"./index-CnAi1QxJ.js";import{d as M,x as O,r as f,o as j,c as q,b as l,u as e,e as A,h as r,f as c,R as b,a8 as h}from"./index-CRmU-Qpi.js";import{u as G}from"./hooks-ItYVRz1P.js";import{d as J}from"./add-circle-line-DOJqVT3s.js";import"./form.vue_vue_type_script_setup_true_lang-CgloQVzt.js";import"./index-An8nOBwL.js";import"./gift-BjNBi56Q.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const K={class:"main"},ie=M({name:"giftList",__name:"index",setup(t){const{searchLabel:a,searchForm:o,onSearch:s,isShow:v,tableList:x,pagination:y,tableLabel:k,handleSizeChange:w,handleCurrentChange:L,handleDelete:S,loading:P,openDialog:d}=E();return O(()=>{s(o.value)}),(Q,n)=>{const m=f("el-button"),R=f("el-popconfirm"),B=f("pure-table");return j(),q("div",K,[l(F,{class:"pb-2",LabelList:e(a),formData:e(o),onHandleSearch:e(s)},null,8,["LabelList","formData","onHandleSearch"]),A("div",{ref:"contentRef",class:b(["flex",e(h)()?"flex-wrap":""])},[l(e(I),{title:"礼物列表",class:b([e(v)&&!e(h)()?"!w-[60vw]":"w-full"]),columns:e(k),onRefresh:e(s)},{buttons:r(()=>[l(m,{type:"primary",icon:e(G)(e(J)),onClick:n[0]||(n[0]=i=>e(d)("新增",{}))},{default:r(()=>n[1]||(n[1]=[c(" 新增礼物 ")])),_:1},8,["icon"])]),default:r(({size:i,dynamicColumns:D})=>[l(B,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(P),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(x),columns:D,pagination:C(_({},e(y)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(L),onPageSizeChange:e(w)},{operation:r(({row:p})=>[l(m,{link:"",type:"primary",size:i,onClick:$=>e(d)("编辑",p)},{default:r(()=>n[2]||(n[2]=[c(" 编辑 ")])),_:2},1032,["size","onClick"]),l(R,{title:`是否确认删除礼物名称为【${p.gift_name}】的这条数据`,onConfirm:$=>e(S)(p)},{reference:r(()=>[l(m,{link:"",type:"primary",size:i},{default:r(()=>n[3]||(n[3]=[c(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["title","onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{ie as default}; diff --git a/dist/static/js/index-ZJH550hN.js b/dist/static/js/index-ZJH550hN.js new file mode 100644 index 0000000..7acb912 --- /dev/null +++ b/dist/static/js/index-ZJH550hN.js @@ -0,0 +1 @@ +var z=Object.defineProperty,T=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var g=(n,a,o)=>a in n?z(n,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[a]=o,_=(n,a)=>{for(var o in a||(a={}))V.call(a,o)&&g(n,o,a[o]);if(u)for(var o of u(a))H.call(a,o)&&g(n,o,a[o]);return n},C=(n,a)=>T(n,N(a));import{useData as E}from"./hook-D8f-8M1Z.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as I}from"./index-CnAi1QxJ.js";import{d as M,x as O,r as f,o as j,c as q,b as l,u as e,e as A,h as r,f as c,R as b,a8 as h}from"./index-CRmU-Qpi.js";import{u as G}from"./hooks-ItYVRz1P.js";import{d as J}from"./add-circle-line-DOJqVT3s.js";import"./form.vue_vue_type_script_setup_true_lang-DSh6_f4W.js";import"./index-An8nOBwL.js";import"./room-3H8Bx0CI.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const K={class:"main"},ie=M({name:"roomTag",__name:"index",setup(n){const{searchLabel:a,searchForm:o,onSearch:s,isShow:v,tableList:x,pagination:y,tableLabel:k,handleSizeChange:w,handleCurrentChange:L,handleDelete:S,loading:P,openDialog:d}=E();return O(()=>{s(o.value)}),(Q,t)=>{const m=f("el-button"),R=f("el-popconfirm"),B=f("pure-table");return j(),q("div",K,[l(F,{class:"pb-2",LabelList:e(a),formData:e(o),onHandleSearch:e(s)},null,8,["LabelList","formData","onHandleSearch"]),A("div",{ref:"contentRef",class:b(["flex",e(h)()?"flex-wrap":""])},[l(e(I),{title:"标签列表",class:b([e(v)&&!e(h)()?"!w-[60vw]":"w-full"]),columns:e(k),onRefresh:e(s)},{buttons:r(()=>[l(m,{type:"primary",icon:e(G)(e(J)),onClick:t[0]||(t[0]=i=>e(d)("新增",{}))},{default:r(()=>t[1]||(t[1]=[c(" 新增标签 ")])),_:1},8,["icon"])]),default:r(({size:i,dynamicColumns:D})=>[l(B,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(P),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(x),columns:D,pagination:C(_({},e(y)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(L),onPageSizeChange:e(w)},{operation:r(({row:p})=>[l(m,{link:"",type:"primary",size:i,onClick:$=>e(d)("编辑",p)},{default:r(()=>t[2]||(t[2]=[c(" 编辑 ")])),_:2},1032,["size","onClick"]),l(R,{title:`是否确认删除标签名称为【${p.label_name}】的这条数据`,onConfirm:$=>e(S)(p)},{reference:r(()=>[l(m,{link:"",type:"primary",size:i},{default:r(()=>t[3]||(t[3]=[c(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["title","onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{ie as default}; diff --git a/dist/static/js/index-b2QGhSBk.js b/dist/static/js/index-b2QGhSBk.js new file mode 100644 index 0000000..34f360e --- /dev/null +++ b/dist/static/js/index-b2QGhSBk.js @@ -0,0 +1 @@ +var z=Object.defineProperty,N=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var p=(o,a,t)=>a in o?z(o,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[a]=t,d=(o,a)=>{for(var t in a||(a={}))V.call(a,t)&&p(o,t,a[t]);if(m)for(var t of m(a))E.call(a,t)&&p(o,t,a[t]);return o},f=(o,a)=>N(o,T(a));import{useData as H}from"./hook-Cu2m7nUk.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as M}from"./index-CnAi1QxJ.js";import{d as O,x as U,r as u,o as g,c as h,b as n,u as e,e as $,h as s,T as _,U as j,f as q,R as b,a8 as C}from"./index-CRmU-Qpi.js";import"./backpack-BEosm8mY.js";import"./xlsx-DaVhO591.js";import"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const A={class:"main"},G={key:0,style:{display:"inline-flex","align-items":"center"},class:"mr-5"},ne=O({name:"backpackList",__name:"index",setup(o){const{searchLabel:a,searchForm:t,detailData:l,onSearch:r,isShow:x,tableList:v,pagination:w,tableLabel:y,exportExcel:k,handleSizeChange:L,handleCurrentChange:S,loading:P}=H();return U(()=>{r(t.value)}),(I,i)=>{const B=u("el-button"),D=u("pure-table");return g(),h("div",A,[n(F,{class:"pb-2",LabelList:e(a),formData:e(t),onHandleSearch:e(r)},null,8,["LabelList","formData","onHandleSearch"]),$("div",{ref:"contentRef",class:b(["flex",e(C)()?"flex-wrap":""])},[n(e(M),{title:"背包列表",class:b([e(x)&&!e(C)()?"!w-[60vw]":"w-full"]),columns:e(y),onRefresh:e(r)},{buttons:s(()=>[e(l)?(g(),h("div",G,"总计:礼物 "+_(e(l).gift_count)+" 个,价值 "+_(e(l).gift_total)+" 金币",1)):j("",!0),n(B,{type:"primary",onClick:e(k)},{default:s(()=>i[0]||(i[0]=[q(" 导出 ")])),_:1},8,["onClick"])]),default:s(({size:c,dynamicColumns:R})=>[n(D,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(P),size:c,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(v),columns:R,pagination:f(d({},e(w)),{size:c}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(S),onPageSizeChange:e(L)},null,8,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{ne as default}; diff --git a/dist/static/js/index-dYn4OuQ5.js b/dist/static/js/index-dYn4OuQ5.js new file mode 100644 index 0000000..b392a56 --- /dev/null +++ b/dist/static/js/index-dYn4OuQ5.js @@ -0,0 +1 @@ +var B=Object.defineProperty,z=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var m=(t,a,o)=>a in t?B(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,p=(t,a)=>{for(var o in a||(a={}))T.call(a,o)&&m(t,o,a[o]);if(c)for(var o of c(a))N.call(a,o)&&m(t,o,a[o]);return t},d=(t,a)=>z(t,D(a));import{useData as V}from"./hook-DNFDkgGG.js";import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as H}from"./index-CnAi1QxJ.js";import{d as F,x as M,r as f,o as O,c as $,b as n,u as e,e as u,h as r,T as j,f as q,R as g,a8 as h}from"./index-CRmU-Qpi.js";import"./statistics-Cc1WE90b.js";import"./xlsx-DaVhO591.js";import"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const A={class:"main"},G={style:{display:"inline-flex","align-items":"center"},class:"mr-10"},te=F({name:"giftRecord",__name:"index",setup(t){const{searchLabel:a,searchForm:o,onSearch:l,isShow:_,tableList:b,total_price:C,pagination:x,tableLabel:v,exportExcel:w,handleSizeChange:y,handleCurrentChange:S,loading:L}=V();return M(()=>{l(o.value)}),(I,s)=>{const k=f("el-button"),P=f("pure-table");return O(),$("div",A,[n(E,{class:"pb-2",LabelList:e(a),formData:e(o),onHandleSearch:e(l)},null,8,["LabelList","formData","onHandleSearch"]),u("div",{ref:"contentRef",class:g(["flex",e(h)()?"flex-wrap":""])},[n(e(H),{title:"充值排行统计列表",class:g([e(_)&&!e(h)()?"!w-[60vw]":"w-full"]),columns:e(v),onRefresh:e(l)},{buttons:r(()=>[u("div",G,"总计:"+j(e(C)),1),n(k,{type:"primary",onClick:e(w)},{default:r(()=>s[0]||(s[0]=[q(" 导出 ")])),_:1},8,["onClick"])]),default:r(({size:i,dynamicColumns:R})=>[n(P,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(L),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(b),columns:R,pagination:d(p({},e(x)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(S),onPageSizeChange:e(y)},null,8,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{te as default}; diff --git a/dist/static/js/index-hikl-G13.js b/dist/static/js/index-hikl-G13.js new file mode 100644 index 0000000..6a4b50d --- /dev/null +++ b/dist/static/js/index-hikl-G13.js @@ -0,0 +1 @@ +var D=Object.defineProperty,N=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable;var g=(t,o,n)=>o in t?D(t,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[o]=n,C=(t,o)=>{for(var n in o||(o={}))V.call(o,n)&&g(t,n,o[n]);if(c)for(var n of c(o))L.call(o,n)&&g(t,n,o[n]);return t},_=(t,o)=>N(t,T(o));import{useData as E}from"./hook-CJCd_xO4.js";import{P as H}from"./index-CnAi1QxJ.js";import{u as I}from"./hooks-ItYVRz1P.js";import{d as M}from"./add-circle-line-DOJqVT3s.js";import{d as O,x as W,r as f,o as j,c as q,e as A,b as l,h as r,u as e,f as p,R as b,a8 as v}from"./index-CRmU-Qpi.js";import"./form.vue_vue_type_script_setup_true_lang-HMVJcCXl.js";import"./permission-DJnI7MjS.js";import"./admin-QtfaJQYK.js";import"./password.vue_vue_type_script_setup_true_lang-BxW5V9xR.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const F={class:"main"},re=O({name:"grabHeadlines",__name:"index",setup(t){const{onSearch:o,isShow:n,tableList:k,pagination:y,tableLabel:h,handleSizeChange:x,handleCurrentChange:P,openDialog:d,loading:w,settingPassWord:R,handleDelete:B}=E();return W(()=>{o()}),(G,a)=>{const s=f("el-button"),S=f("el-popconfirm"),z=f("pure-table");return j(),q("div",F,[A("div",{ref:"contentRef",class:b(["flex",e(v)()?"flex-wrap":""])},[l(e(H),{title:"管理员列表",class:b([e(n)&&!e(v)()?"!w-[60vw]":"w-full"]),columns:e(h),onRefresh:e(o)},{buttons:r(()=>[l(s,{type:"primary",icon:e(I)(e(M)),onClick:a[0]||(a[0]=i=>e(d)("新增",{}))},{default:r(()=>a[1]||(a[1]=[p(" 新增管理员 ")])),_:1},8,["icon"])]),default:r(({size:i,dynamicColumns:$})=>[l(z,{ref:"tableRef",showOverflowTooltip:"","table-layout":"auto",loading:e(w),size:i,adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(k),columns:$,pagination:_(C({},e(y)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageSizeChange:e(x),onPageCurrentChange:e(P)},{operation:r(({row:m})=>[l(s,{link:"",type:"primary",size:i,onClick:u=>e(R)("设置密码",m)},{default:r(()=>a[2]||(a[2]=[p(" 设置密码 ")])),_:2},1032,["size","onClick"]),l(s,{link:"",type:"primary",size:i,onClick:u=>e(d)("编辑",m)},{default:r(()=>a[3]||(a[3]=[p(" 编辑 ")])),_:2},1032,["size","onClick"]),l(S,{title:"是否确认删除这条数据",onConfirm:u=>e(B)(m)},{reference:r(()=>[l(s,{link:"",type:"primary",size:i},{default:r(()=>a[4]||(a[4]=[p(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageSizeChange","onPageCurrentChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{re as default}; diff --git a/dist/static/js/index-i6U3xXNN.js b/dist/static/js/index-i6U3xXNN.js new file mode 100644 index 0000000..1ef20ca --- /dev/null +++ b/dist/static/js/index-i6U3xXNN.js @@ -0,0 +1 @@ +var We=Object.defineProperty,Ue=Object.defineProperties;var Ye=Object.getOwnPropertyDescriptors;var ne=Object.getOwnPropertySymbols;var Ke=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable;var ie=(n,i,e)=>i in n?We(n,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[i]=e,ni=(n,i)=>{for(var e in i||(i={}))Ke.call(i,e)&&ie(n,e,i[e]);if(ne)for(var e of ne(i))Xe.call(i,e)&&ie(n,e,i[e]);return n},_i=(n,i)=>Ue(n,Ye(i));var ui=(n,i,e)=>new Promise((g,u)=>{var h=s=>{try{o(e.next(s))}catch(a){u(a)}},t=s=>{try{o(e.throw(s))}catch(a){u(a)}},o=s=>s.done?g(s.value):Promise.resolve(s.value).then(h,t);o((e=e.apply(n,i)).next())});import{k as xi,s as Ge,l as Qe,m as Xn,n as T,N as An,p as ei,q as P,t as Hi,v as Ie,x as Pn,y as Oi,i as Zi,z as wi,u as l,A as fi,M as Fn,B as Ln,C as ee,D as Gn,_ as gn,o as d,c as v,a as Je,d as F,E as mi,F as nh,G as bn,H as Se,I as vn,X as ri,J as Te,K as Ni,r as _,w as tn,L as On,e as p,b as z,O as on,P as sn,Q as dn,R as K,S as _n,T as G,U as B,h as I,f as jn,V as Bi,g as V,W as Tn,Y as Qn,Z as Ci,$ as ih,a0 as mn,a1 as Sn,a2 as eh,a3 as $i,a4 as hh,a5 as th,a6 as Ii,a7 as gh,a8 as Me,j as Zn,a9 as Fi,aa as pi,ab as uh,ac as li,ad as ai,ae as he,af as ci,ag as Un,ah as Wi,ai as sh,aj as te,ak as $e,al as Le,am as oh,an as ii,ao as lh,ap as ch,aq as Li,ar as rh,as as ah,at as dh,au as yh}from"./index-CRmU-Qpi.js";import{e as pn,u as kn,a as Ui,b as Hn,d as fh,c as zh,f as mh}from"./dark-DdIoJ4ZY.js";import{u as Ai}from"./epTheme-Dbh1KLs6.js";import{u as Cn}from"./hooks-ItYVRz1P.js";import{S as ph}from"./sortable.esm-7jaD_3Ar.js";const bh={width:1024,height:1024,body:''},jh={width:1024,height:1024,body:''},Ae={width:24,height:24,body:''},xh={width:24,height:24,body:''};xi("ep:lollipop",bh);xi("ep:home-filled",jh);xi("ri:search-line",Ae);xi("ri:information-line",xh);const wh=Qe({id:"pure-setting",state:()=>({title:Xn().Title,fixedHeader:Xn().FixedHeader,hiddenSideBar:Xn().HiddenSideBar}),getters:{getTitle(n){return n.title},getFixedHeader(n){return n.fixedHeader},getHiddenSideBar(n){return n.hiddenSideBar}},actions:{CHANGE_SETTING({key:n,value:i}){Reflect.has(this,n)&&(this[n]=i)},changeSetting(n){this.CHANGE_SETTING(n)}}});function Yi(){return wh(Ge)}const vh={width:24,height:24,body:''},qh={width:24,height:24,body:''},kh={width:24,height:24,body:''},_h={width:24,height:24,body:''},Ch={width:1024,height:1024,body:''},bi={width:1024,height:1024,body:''};function Pe(){var fn,xn;const n=Oi(),i=Zi(),e=wi(),g=Yi(),u=T(0),h=T(0),t=T(0),o=T(!1),s=T(-1),a=T({}),c=T(!1),r=T(((fn=An().getItem(`${ei()}configure`))==null?void 0:fn.showModel)||"smart"),y=(xn=T(An().getItem(`${ei()}configure`).hideTabs))!=null?xn:T("false"),m=P(()=>Ln().multiTags),j=Hi([{icon:Ch,text:"重新加载",divided:!1,disabled:!1,show:!0},{icon:bi,text:"关闭当前标签页",divided:!1,disabled:!(m.value.length>1),show:!0},{icon:_h,text:"关闭左侧标签页",divided:!0,disabled:!(m.value.length>1),show:!0},{icon:kh,text:"关闭右侧标签页",divided:!1,disabled:!(m.value.length>1),show:!0},{icon:qh,text:"关闭其他标签页",divided:!0,disabled:!(m.value.length>2),show:!0},{icon:vh,text:"关闭全部标签页",divided:!1,disabled:!(m.value.length>1),show:!0},{icon:Ie,text:"内容区全屏",divided:!0,disabled:!1,show:!0}]);function b(R,un,ln){var Vn,cn;return ee((Vn=n==null?void 0:n.meta)==null?void 0:Vn.showLink)&&((cn=n==null?void 0:n.meta)==null?void 0:cn.showLink)===!1?Object.keys(n.query).length>0?Gn(n.query,R.query)?un:ln:Gn(n.params,R.params)?un:ln:n.path===R.path?un:ln}const f=P(()=>R=>{var un,ln;return ee((un=R==null?void 0:R.meta)==null?void 0:un.fixedTag)&&((ln=R==null?void 0:R.meta)==null?void 0:ln.fixedTag)===!0}),k=P(()=>(R,un)=>{if(un!==0)return b(R,!0,!1)}),C=P(()=>R=>b(R,"is-active","")),D=P(()=>R=>b(R,"schedule-active","")),U=P(()=>({transform:`translateX(${t.value}px)`,transition:c.value?"none":"transform 0.5s ease-in-out"})),X=P(()=>({left:h.value+"px",top:u.value+"px"})),q=()=>{o.value=!1};function Z(R){if(R&&(s.value=R),l(r)==="smart"){if(fi(e.refs["schedule"+R][0],"schedule-active"))return;Fn(!0,"schedule-in",e.refs["schedule"+R][0]),Fn(!1,"schedule-out",e.refs["schedule"+R][0])}else{if(fi(e.refs["dynamic"+R][0],"is-active"))return;Fn(!0,"card-in",e.refs["dynamic"+R][0]),Fn(!1,"card-out",e.refs["dynamic"+R][0])}}function J(R){if(s.value=-1,l(r)==="smart"){if(fi(e.refs["schedule"+R][0],"schedule-active"))return;Fn(!1,"schedule-in",e.refs["schedule"+R][0]),Fn(!0,"schedule-out",e.refs["schedule"+R][0])}else{if(fi(e.refs["dynamic"+R][0],"is-active"))return;Fn(!1,"card-in",e.refs["dynamic"+R][0]),Fn(!0,"card-out",e.refs["dynamic"+R][0])}}function yn(){g.hiddenSideBar?g.changeSetting({key:"hiddenSideBar",value:!1}):g.changeSetting({key:"hiddenSideBar",value:!0})}return Pn(()=>{if(!r.value){const R=An().getItem(`${ei()}configure`);R.showModel="card",An().setItem(`${ei()}configure`,R)}}),{Close:bi,route:n,router:i,visible:o,showTags:y,instance:e,multiTags:m,showModel:r,tagsViews:j,buttonTop:u,buttonLeft:h,translateX:t,isFixedTag:f,pureSetting:g,activeIndex:s,getTabStyle:U,isScrolling:c,iconIsActive:k,linkIsActive:C,currentSelect:a,scheduleIsActive:D,getContextMenuStyle:X,closeMenu:q,onMounted:Pn,onMouseenter:Z,onMouseleave:J,onContentFullScreen:yn}}const Ih={},Sh={class:"w-full h-full"};function Th(n,i){return d(),v("svg",Sh,i[0]||(i[0]=[Je('',3)]))}const Mh=gn(Ih,[["render",Th]]),$h={width:24,height:24,body:''},Pi={width:24,height:24,body:''},Vi={width:24,height:24,body:''},Lh={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_CDN:"false",VITE_COMPRESSION:"none",VITE_HIDE_HOME:"false",VITE_PORT:"8848",VITE_PUBLIC_PATH:"/",VITE_ROUTER_HISTORY:"hash"},Ah={class:"arrow-left"},Ph=["onContextmenu","onMouseenter","onMouseleave","onClick"],Vh={class:"tag-title dark:!text-text_color_primary dark:hover:!text-primary"},Dh=["onClick"],Rh={key:1,class:"chrome-tab"},Eh={class:"chrome-tab__bg"},Hh={class:"tag-title"},Oh=["onClick"],Zh={class:"arrow-right"},Nh=["onClick"],Bh={class:"arrow-down"},Fh=F({__name:"index",setup(n){var di;const{Close:i,route:e,router:g,visible:u,showTags:h,instance:t,multiTags:o,tagsViews:s,buttonTop:a,buttonLeft:c,showModel:r,translateX:y,isFixedTag:m,pureSetting:j,activeIndex:b,getTabStyle:f,isScrolling:k,iconIsActive:C,linkIsActive:D,currentSelect:U,scheduleIsActive:X,getContextMenuStyle:q,closeMenu:Z,onMounted:J,onMouseenter:yn,onMouseleave:fn,onContentFullScreen:xn}=Pe(),R=T(),un=T(),ln=T(),Vn=T(),cn=T(!1),Kn=(di=mi())==null?void 0:di.path,{VITE_HIDE_HOME:ti}=Lh,Mn=[...nh,...bn().flatteningRoutes.filter(w=>{var $;return($=w==null?void 0:w.meta)==null?void 0:$.fixedTag})],$n=()=>ui(this,null,function*(){yield Tn();const w=o.value.findIndex($=>Qn(e.query)?Qn(e.params)?e.path===$.path:Gn(e.params,$.params):Gn(e.query,$.query));Dn(w)}),Dn=w=>ui(this,null,function*(){var Y,rn;yield Tn();const $=10;if(!t.refs["dynamic"+w])return;const A=t.refs["dynamic"+w][0],N=A==null?void 0:A.offsetLeft,nn=A==null?void 0:A.offsetWidth,H=ln.value?(Y=ln.value)==null?void 0:Y.offsetWidth:0,O=R.value?(rn=R.value)==null?void 0:rn.offsetWidth:0;H<=O?cn.value=!0:cn.value=!1,O-y.value&&N+nn<-y.value+H?y.value=Math.min(0,H-nn-N-$):y.value=-(N-(H-$-nn))}),Nn=w=>{var N;const $=ln.value?(N=ln.value)==null?void 0:N.offsetWidth:0,A=R.value?R.value.offsetWidth:0;w>0?y.value=Math.min(0,y.value+w):$=-(A-$)&&(y.value=Math.max(y.value+w,$-A)):y.value=0,k.value=!1},S=w=>{k.value=!0;const $=Math.abs(w.deltaX)+Math.abs(w.deltaY);let A=0;w.deltaX<0?A=$>0?$:100:A=$>0?-$:-100,L(A)},L=w=>{let A=Math.abs(w);const N=()=>{const nn=Math.sign(w)*Math.min(20,A);Nn(nn),A-=Math.abs(nn),A>0&&requestAnimationFrame(N)};requestAnimationFrame(N)};function E(w){const $=o.value.some(N=>N.path===w);function A(N,nn){$||N.forEach(H=>{H.path===nn?Ln().handleTags("push",{path:nn,meta:H.meta,name:H.name}):H.children&&H.children.length>0&&A(H.children,nn)})}A(g.options.routes,w)}function Q(){const{fullPath:w,query:$}=l(e);g.replace({path:"/redirect"+w,query:$}),Ci(e,"refresh")}function en(w,$,A){var O,Y,rn,gi;const N=o.value.findIndex(zn=>{if(zn.query){if(zn.path===w.path)return zn.query===w.query}else if(zn.params){if(zn.path===w.path)return zn.params===w.params}else return zn.path===w.path}),nn=(zn,an,yi)=>{yi?Ln().handleTags("equal",[ti==="false"?Mn:mn(mi()),w].flat()):Ln().handleTags("splice","",{startIndex:zn,length:an}),$n()};A==="other"?nn(1,1,!0):A==="left"?nn(Mn.length,N-1,!0):A==="right"?nn(N+1,o.value.length):nn(N,1);const H=Ln().handleTags("slice");if($===e.path){if(A==="left")return;(O=H[0])!=null&&O.query?g.push({name:H[0].name,query:H[0].query}):(Y=H[0])!=null&&Y.params?g.push({name:H[0].name,params:H[0].params}):g.push({path:H[0].path})}else{if(!o.value.length||o.value.some(zn=>zn.path===e.path))return;(rn=H[0])!=null&&rn.query?g.push({name:H[0].name,query:H[0].query}):(gi=H[0])!=null&&gi.params?g.push({name:H[0].name,params:H[0].params}):g.push({path:H[0].path})}}function M(w,$){en(w,w.path,$),Ci(e)}function x(w,$,A){if($&&$.disabled)return;let N;switch(A?N={path:A.path,meta:A.meta,name:A.name,query:A==null?void 0:A.query,params:A==null?void 0:A.params}:N={path:e.path,meta:e.meta},w){case 0:Q();break;case 1:M(N);break;case 2:M(N,"left");break;case 3:M(N,"right");break;case 4:M(N,"other");break;case 5:Ln().handleTags("splice","",{startIndex:Mn.length,length:o.value.length}),g.push(Kn),Ci(e);break;case 6:xn(),setTimeout(()=>{j.hiddenSideBar?(s[6].icon=ih,s[6].text="内容区退出全屏"):(s[6].icon=Ie,s[6].text="内容区全屏")},100);break}setTimeout(()=>{Rn(e.fullPath,e.query)})}function hn(w){const{key:$,item:A}=w;x($,A)}function Jn(w,$){Z(),x(w,$,U.value)}function Bn(w){Array.of(1,2,3,4,5).forEach($=>{s[$].show=w})}function wn(w,$=!1){Array.of(1,2,3,4,5).forEach(A=>{s[A].disabled=w}),$&&(s[2].show=!1,s[2].disabled=!0)}function Rn(w,$={},A=!1){var Y,rn,gi,zn;const N=o.value,nn=o.value.length;let H=-1;Qn($)?H=N.findIndex(an=>an.path===w):H=N.findIndex(an=>Gn(an.query,$));function O(){var an,yi;(yi=(an=N[H])==null?void 0:an.meta)!=null&&yi.fixedTag&&Array.of(1,2,3,4,5).forEach(Fe=>{s[Fe].disabled=!0})}Bn(!0),A&&(s[0].show=!0),H===1&&nn!==2?(s[2].show=!1,Array.of(1,3,4,5).forEach(an=>{s[an].disabled=!1}),s[2].disabled=!0,O()):H===1&&nn===2?(wn(!1),Array.of(2,3,4).forEach(an=>{s[an].show=!1,s[an].disabled=!0}),O()):nn-1===H&&H!==0?(s[3].show=!1,Array.of(1,2,4,5).forEach(an=>{s[an].disabled=!1}),s[3].disabled=!0,(rn=(Y=N[H-1])==null?void 0:Y.meta)!=null&&rn.fixedTag&&(s[2].show=!1,s[2].disabled=!0),O()):H===0||w===`/redirect${Kn}`?wn(!0):(wn(!1,(zn=(gi=N[H-1])==null?void 0:gi.meta)==null?void 0:zn.fixedTag),O())}function ki(w,$){var Y;Z(),w.path===Kn||(Y=w==null?void 0:w.meta)!=null&&Y.fixedTag?(Bn(!1),s[0].show=!0):e.path!==w.path&&e.name!==w.name?(s[0].show=!1,Rn(w.path,w.query)):o.value.length===2&&e.path!==w.path?(Bn(!0),s[4].show=!1):e.path===w.path&&Rn(w.path,w.query,!0),U.value=w;const A=140,N=l(un).getBoundingClientRect().left,H=l(un).offsetWidth-A,O=$.clientX-N+5;O>H?c.value=H:c.value=O,Yi().hiddenSideBar?a.value=$.clientY:a.value=$.clientY-40,Tn(()=>{u.value=!0})}function W(w){const{name:$,path:A}=w;$?w.query?g.push({name:$,query:w.query}):w.params?g.push({name:$,params:w.params}):g.push({name:$}):g.push({path:A})}return Se(Vn,Z,{detectIframe:!0}),vn(e,()=>{b.value=-1,$n()}),J(()=>{t&&(Rn(e.fullPath),pn.on("tagViewsChange",w=>{l(h)!==w&&(h.value=w)}),pn.on("tagViewsShowModel",w=>{r.value=w}),pn.on("changLayoutRoute",w=>{E(w),setTimeout(()=>{Rn(w)})}),ri(ln,$n),Te().then(()=>$n()))}),Ni(()=>{pn.off("tagViewsChange"),pn.off("tagViewsShowModel"),pn.off("changLayoutRoute")}),(w,$)=>{const A=_("IconifyIconOffline"),N=_("el-dropdown-item"),nn=_("el-dropdown-menu"),H=_("el-dropdown");return l(h)?B("",!0):(d(),v("div",{key:0,ref_key:"containerDom",ref:un,class:"tags-view"},[tn(p("span",Ah,[z(A,{icon:l(Vi),onClick:$[0]||($[0]=O=>Nn(200))},null,8,["icon"])],512),[[On,cn.value]]),p("div",{ref_key:"scrollbarDom",ref:ln,class:K(["scroll-container",l(r)==="chrome"&&"chrome-scroll-container"]),onWheel:_n(S,["prevent"])},[p("div",{ref_key:"tabDom",ref:R,class:"tab select-none",style:on(l(f))},[(d(!0),v(sn,null,dn(l(o),(O,Y)=>(d(),v("div",{ref_for:!0,ref:"dynamic"+Y,key:Y,class:K(["scroll-item is-closable",l(D)(O),l(r)==="chrome"&&"chrome-item",l(m)(O)&&"fixed-tag"]),onContextmenu:_n(rn=>ki(O,rn),["prevent"]),onMouseenter:_n(rn=>l(yn)(Y),["prevent"]),onMouseleave:_n(rn=>l(fn)(Y),["prevent"]),onClick:rn=>W(O)},[l(r)!=="chrome"?(d(),v(sn,{key:0},[p("span",Vh,G(O.meta.title),1),!l(m)(O)&&(l(C)(O,Y)||Y===l(b)&&Y!==0)?(d(),v("span",{key:0,class:"el-icon-close",onClick:_n(rn=>M(O),["stop"])},[z(A,{icon:l(i)},null,8,["icon"])],8,Dh)):B("",!0),l(r)!=="card"?(d(),v("span",{key:1,ref_for:!0,ref:"schedule"+Y,class:K([l(X)(O)])},null,2)):B("",!0)],64)):(d(),v("div",Rh,[p("div",Eh,[z(Mh)]),p("span",Hh,G(O.meta.title),1),!l(m)(O)&&Y!==0?(d(),v("span",{key:0,class:"chrome-close-btn",onClick:_n(rn=>M(O),["stop"])},[z(A,{icon:l(i)},null,8,["icon"])],8,Oh)):B("",!0),$[2]||($[2]=p("span",{class:"chrome-tab-divider"},null,-1))]))],42,Ph))),128))],4)],34),tn(p("span",Zh,[z(A,{icon:l(Pi),onClick:$[1]||($[1]=O=>Nn(-200))},null,8,["icon"])],512),[[On,cn.value]]),z(Bi,{name:"el-zoom-in-top"},{default:I(()=>[tn((d(),v("ul",{ref_key:"contextmenuRef",ref:Vn,key:Math.random(),style:on(l(q)),class:"contextmenu"},[(d(!0),v(sn,null,dn(l(s).slice(0,6),(O,Y)=>(d(),v("div",{key:Y,style:{display:"flex","align-items":"center"}},[O.show?(d(),v("li",{key:0,onClick:rn=>Jn(Y,O)},[z(A,{icon:O.icon},null,8,["icon"]),jn(" "+G(O.text),1)],8,Nh)):B("",!0)]))),128))],4)),[[On,l(u)]])]),_:1}),z(H,{trigger:"click",placement:"bottom-end",onCommand:hn},{dropdown:I(()=>[z(nn,null,{default:I(()=>[(d(!0),v(sn,null,dn(l(s),(O,Y)=>(d(),V(N,{key:Y,command:{key:Y,item:O},divided:O.divided,disabled:O.disabled},{default:I(()=>[z(A,{icon:O.icon},null,8,["icon"]),jn(" "+G(O.text),1)]),_:2},1032,["command","divided","disabled"]))),128))]),_:1})]),default:I(()=>[p("span",Bh,[z(A,{icon:l($h),class:"dark:text-white"},null,8,["icon"])])]),_:1})],512))}}}),Wh=gn(Fh,[["__scopeId","data-v-be18c229"]]);function Uh(n=!1){const i=T(n);function e(t){i.value=t}function g(){e(!0)}function u(){e(!1)}function h(){e(!i.value)}return{bool:i,setBool:e,setTrue:g,setFalse:u,toggle:h}}const Yh=/^[\uD800-\uDBFF]$/,Kh=/^[\uDC00-\uDFFF]$/,Xh=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;var ge;(function(n){n[n.Unknown=1e-13]="Unknown",n[n.Rule=1e-12]="Rule",n[n.DICT=2e-8]="DICT",n[n.Surname=1]="Surname",n[n.Custom=1]="Custom"})(ge||(ge={}));const qn={Normal:1,Surname:10,Custom:100};function In(n){var i;return n.length-(((i=n.match(Xh))===null||i===void 0?void 0:i.length)||0)}function hi(n){const i=[];let e=0;for(;e1)return this.StringDICT.get(i);{const e=i.charCodeAt(0);return this.NumberDICT[e]}}set(i,e){if(i.length>1)this.StringDICT.set(i,e);else{const g=i.charCodeAt(0);this.NumberDICT[g]=e}}clear(){this.NumberDICT=[],this.StringDICT.clear()}}const ue={"bǎng páng pāng":["膀"],líng:["〇","伶","凌","刢","囹","坽","夌","姈","婈","孁","岺","彾","掕","昤","朎","柃","棂","櫺","欞","泠","淩","澪","灵","燯","爧","狑","玲","琌","瓴","皊","砱","祾","秢","竛","笭","紷","綾","绫","羐","羚","翎","聆","舲","苓","菱","蓤","蔆","蕶","蛉","衑","裬","詅","跉","軨","輘","酃","醽","鈴","錂","铃","閝","陵","零","霊","霗","霛","霝","靈","駖","魿","鯪","鲮","鴒","鸰","鹷","麢","齡","齢","龄","龗","㥄"],yī:["一","乊","伊","依","医","吚","咿","噫","壱","壹","夁","嫛","嬄","弌","揖","撎","檹","毉","洢","渏","漪","瑿","畩","祎","禕","稦","繄","蛜","衤","譩","辷","郼","醫","銥","铱","鷖","鹥","黟","黳"],"dīng zhēng":["丁"],"kǎo qiǎo yú":["丂"],qī:["七","倛","僛","凄","嘁","墄","娸","悽","慼","慽","戚","捿","柒","桤","桼","棲","榿","欺","沏","淒","漆","紪","緀","萋","褄","諆","迉","郪","鏚","霋","魌","鶈"],shàng:["丄","尙","尚","恦","緔","绱"],xià:["丅","下","乤","圷","夏","夓","懗","梺","疜","睱","罅","鎼","鏬"],hǎn:["丆","喊","浫","罕","豃","㘎"],"wàn mò":["万"],zhàng:["丈","仗","墇","嶂","帐","帳","幛","扙","杖","涱","痮","瘬","瘴","瞕","粀","胀","脹","賬","账","障"],sān:["三","厁","叁","弎","毵","毶","毿","犙","鬖"],"shàng shǎng shang":["上"],"qí jī":["丌","其","奇"],"bù fǒu":["不"],"yǔ yù yú":["与"],miǎn:["丏","偭","免","冕","勉","勔","喕","娩","愐","汅","沔","湎","睌","緬","缅","腼","葂","靦","鮸","𩾃"],gài:["丐","乢","匃","匄","戤","概","槩","槪","溉","漑","瓂","葢","鈣","钙","𬮿"],chǒu:["丑","丒","侴","吜","杽","瞅","矁","醜","魗"],zhuān:["专","叀","嫥","専","專","瑼","甎","砖","磗","磚","蟤","諯","鄟","顓","颛","鱄","䏝"],"qiě jū":["且"],pī:["丕","伓","伾","噼","坯","岯","憵","批","披","炋","狉","狓","砒","磇","礔","礕","秛","秠","耚","豾","邳","鈚","鉟","銔","錃","錍","霹","駓","髬","魾","𬳵"],shì:["世","丗","亊","事","仕","侍","冟","势","勢","卋","呩","嗜","噬","士","奭","嬕","室","市","式","弑","弒","恀","恃","戺","拭","揓","是","昰","枾","柿","栻","澨","烒","煶","眂","眎","眡","睗","示","礻","筮","簭","舐","舓","襫","視","视","觢","試","誓","諡","謚","试","谥","貰","贳","軾","轼","逝","遾","釈","释","釋","鈰","鉃","鉽","铈","飾","餙","餝","饰","鰘","䏡","𬤊"],qiū:["丘","丠","坵","媝","恘","恷","楸","秋","秌","穐","篍","緧","萩","蘒","蚯","蝵","蟗","蠤","趥","邱","鞦","鞧","鰌","鰍","鳅","鶖","鹙","龝"],bǐng:["丙","屛","怲","抦","昞","昺","柄","棅","炳","禀","秉","稟","苪","蛃","邴","鈵","陃","鞆","餅","餠","饼"],yè:["业","亱","僷","墷","夜","嶪","嶫","抴","捙","擛","擪","擫","晔","曄","曅","曗","曳","曵","枼","枽","業","洂","液","澲","烨","燁","爗","璍","皣","瞱","瞸","礏","腋","葉","謁","谒","邺","鄴","鍱","鐷","靥","靨","頁","页","餣","饁","馌","驜","鵺","鸈"],cóng:["丛","从","叢","婃","孮","従","徔","徖","悰","樷","欉","淙","灇","爜","琮","藂","誴","賨","賩","錝"],dōng:["东","倲","冬","咚","埬","岽","崬","徚","昸","東","氡","氭","涷","笗","苳","菄","蝀","鮗","鯟","鶇","鶫","鸫","鼕","𬟽"],sī:["丝","俬","凘","厮","司","咝","嘶","噝","媤","廝","恖","撕","斯","楒","泀","澌","燍","禗","禠","私","糹","絲","緦","纟","缌","罳","蕬","虒","蛳","蜤","螄","蟖","蟴","鉰","銯","鍶","鐁","锶","颸","飔","騦","鷥","鸶","鼶","㟃"],chéng:["丞","呈","城","埕","堘","塍","塖","宬","峸","惩","懲","成","承","挰","掁","揨","枨","棖","橙","檙","洆","溗","澂","珵","珹","畻","程","窚","筬","絾","脭","荿","誠","诚","郕","酲","鋮","铖","騬","鯎"],diū:["丟","丢","銩","铥"],liǎng:["両","两","兩","唡","啢","掚","緉","脼","蜽","裲","魉","魎","𬜯"],yǒu:["丣","卣","友","梄","湵","牖","禉","羑","聈","苃","莠","蜏","酉","銪","铕","黝"],yán:["严","厳","啱","喦","嚴","塩","壛","壧","妍","姸","娫","娮","岩","嵒","嵓","巌","巖","巗","延","揅","昖","楌","檐","櫩","欕","沿","炎","炏","狿","琂","盐","碞","筵","簷","莚","蔅","虤","蜒","言","訁","訮","詽","讠","郔","閆","閻","闫","阎","顏","顔","颜","鹽","麣","𫄧"],bìng:["並","併","倂","傡","垪","摒","栤","病","窉","竝","誁","靐","鮩"],"sàng sāng":["丧"],gǔn:["丨","惃","滚","滾","磙","緄","绲","蓘","蔉","衮","袞","輥","辊","鮌","鯀","鲧"],jiū:["丩","勼","啾","揪","揫","朻","究","糾","纠","萛","赳","阄","鬏","鬮","鳩","鸠"],"gè gě":["个","個","各"],yā:["丫","圧","孲","庘","押","枒","桠","椏","錏","鐚","鴉","鴨","鵶","鸦","鸭"],pán:["丬","媻","幋","槃","洀","瀊","爿","盘","盤","磐","縏","蒰","蟠","蹒","蹣","鎜","鞶"],"zhōng zhòng":["中"],jǐ:["丮","妀","己","戟","挤","掎","撠","擠","橶","泲","犱","脊","虮","蟣","魢","鱾","麂"],jiè:["丯","介","借","唶","堺","屆","届","岕","庎","徣","戒","楐","犗","玠","琾","界","畍","疥","砎","蚧","蛶","衸","褯","誡","诫","鎅","骱","魪"],fēng:["丰","仹","偑","僼","凨","凬","凮","妦","寷","封","峯","峰","崶","枫","楓","檒","沣","沨","渢","灃","烽","犎","猦","琒","疯","瘋","盽","砜","碸","篈","蘴","蜂","蠭","豐","鄷","酆","鋒","鎽","鏠","锋","霻","靊","飌","麷"],"guàn kuàng":["丱"],chuàn:["串","汌","玔","賗","釧","钏"],chǎn:["丳","产","冁","剷","囅","嵼","旵","浐","滻","灛","產","産","簅","蒇","蕆","諂","譂","讇","谄","鏟","铲","閳","闡","阐","骣","𬊤"],lín:["临","冧","壣","崊","嶙","斴","晽","暽","林","潾","瀶","燐","琳","璘","瞵","碄","磷","粦","粼","繗","翷","臨","轔","辚","遴","邻","鄰","鏻","阾","隣","霖","驎","鱗","鳞","麐","麟","𬴊","𬭸"],zhuó:["丵","劅","卓","啄","圴","妰","娺","撯","擆","擢","斫","斮","斱","斲","斵","晫","椓","浊","浞","濁","灼","烵","琸","硺","禚","窡","籗","籱","罬","茁","蠗","蠿","諁","諑","謶","诼","酌","鐲","镯","鵫","鷟","䓬","𬸦"],zhǔ:["丶","主","劯","嘱","囑","宔","帾","拄","渚","濐","煑","煮","燝","瞩","矚","罜","詝","陼","鸀","麈","𬣞"],bā:["丷","仈","八","叭","哵","夿","岜","巴","捌","朳","玐","疤","笆","粑","羓","芭","蚆","豝","釟"],wán:["丸","刓","完","岏","抏","捖","汍","烷","玩","琓","笂","紈","纨","翫","芄","貦","頑","顽"],dān:["丹","勯","匰","単","妉","媅","殚","殫","甔","眈","砃","箪","簞","耼","耽","聃","聸","褝","襌","躭","郸","鄲","酖","頕"],"wèi wéi":["为"],"jǐng dǎn":["丼"],"lì lí":["丽"],jǔ:["举","弆","挙","擧","椇","榉","榘","櫸","欅","矩","筥","聥","舉","莒","蒟","襷","踽","齟","龃"],piě:["丿","苤","鐅","𬭯"],fú:["乀","伏","俘","凫","刜","匐","咈","哹","垘","孚","岪","巿","帗","幅","幞","弗","彿","怫","扶","柫","栿","桴","氟","泭","浮","涪","澓","炥","玸","甶","畉","癁","祓","福","稪","符","箙","紱","紼","絥","綍","绂","绋","罘","罦","翇","艀","芙","芣","苻","茀","茯","菔","葍","虙","蚨","蜉","蝠","袚","袱","襆","襥","諨","豧","踾","輻","辐","郛","鉘","鉜","韍","韨","颫","髴","鮄","鮲","鳧","鳬","鴔","鵩","黻"],"yí jí":["乁"],yì:["乂","义","亄","亦","亿","伇","伿","佾","俋","億","兿","刈","劓","劮","勚","勩","匇","呓","呭","呹","唈","囈","圛","坄","垼","埸","奕","嫕","嬑","寱","屹","峄","嶧","帟","帠","幆","廙","异","弈","弋","役","忆","怈","怿","悒","意","憶","懌","懿","抑","挹","敡","易","晹","曀","曎","杙","枍","棭","榏","槸","檍","歝","殔","殪","殹","毅","浂","浥","浳","湙","溢","潩","澺","瀷","炈","焲","熠","熤","熼","燚","燡","燱","獈","玴","異","疫","痬","瘗","瘞","瘱","癔","益","瞖","穓","竩","篒","縊","繶","繹","绎","缢","義","羿","翊","翌","翳","翼","耴","肄","肊","膉","臆","艗","艺","芅","苅","萟","蓺","薏","藙","藝","蘙","虉","蜴","螠","衪","袣","裔","裛","褹","襼","訲","訳","詍","詣","誼","譯","議","讛","议","译","诣","谊","豙","豛","豷","貖","贀","跇","轶","逸","邑","鄓","醷","釴","鈠","鎰","鐿","镒","镱","阣","隿","霬","饐","駅","驛","驿","骮","鮨","鶂","鶃","鶍","鷁","鷊","鷧","鷾","鸃","鹝","鹢","黓","齸","𬬩","㑊","𫄷","𬟁"],nǎi:["乃","倷","奶","嬭","廼","氖","疓","艿","迺","釢"],wǔ:["乄","五","仵","伍","侮","倵","儛","午","啎","妩","娬","嫵","庑","廡","忤","怃","憮","摀","武","潕","熓","牾","玝","珷","瑦","甒","碔","舞","躌","迕","逜","陚","鵡","鹉","𣲘"],jiǔ:["久","乆","九","乣","奺","杦","汣","灸","玖","紤","舏","酒","镹","韭","韮"],"tuō zhé":["乇","杔","馲"],"me mó ma yāo":["么"],zhī:["之","倁","卮","巵","搘","支","栀","梔","椥","榰","汁","泜","疷","祗","祬","秓","稙","綕","肢","胑","胝","脂","芝","蘵","蜘","衼","隻","鳷","鴲","鼅","𦭜"],"wū wù":["乌"],zhà:["乍","咤","宱","搾","榨","溠","痄","蚱","詐","诈","醡","霅","䃎"],hū:["乎","乯","匢","匫","呼","唿","嘑","垀","寣","幠","忽","惚","昒","歑","泘","淴","滹","烀","苸","虍","虖","謼","軤","轷","雐"],fá:["乏","伐","傠","坺","垡","墢","姂","栰","浌","瞂","笩","筏","罚","罰","罸","藅","閥","阀"],"lè yuè yào lào":["乐","樂"],yín:["乑","吟","噖","嚚","圁","垠","夤","婬","寅","峾","崟","崯","檭","殥","泿","淫","滛","烎","犾","狺","璌","硍","碒","荶","蔩","訔","訚","訡","誾","鄞","鈝","銀","银","霪","鷣","齦"],pīng:["乒","俜","娉","涄","甹","砯","聠","艵","頩"],pāng:["乓","滂","胮","膖","雱","霶"],qiáo:["乔","侨","僑","嫶","憔","桥","槗","樵","橋","櫵","犞","瞧","硚","礄","荍","荞","蕎","藮","譙","趫","鐈","鞒","鞽","顦"],hǔ:["乕","琥","萀","虎","虝","錿","鯱"],guāi:["乖"],"chéng shèng":["乗","乘","娍"],yǐ:["乙","乛","以","倚","偯","嬟","崺","已","庡","扆","攺","敼","旑","旖","檥","矣","礒","笖","舣","艤","苡","苢","蚁","螘","蟻","裿","踦","輢","轙","逘","酏","釔","鈘","鉯","钇","顗","鳦","齮","𫖮","𬺈"],"háo yǐ":["乚"],"niè miē":["乜"],qǐ:["乞","企","启","唘","啓","啔","啟","婍","屺","杞","棨","玘","盀","綺","绮","芑","諬","起","邔","闙"],yě:["也","冶","嘢","埜","壄","漜","野"],xí:["习","喺","媳","嶍","席","椺","檄","漝","習","蓆","袭","襲","覡","觋","謵","趘","郋","鎴","隰","霫","飁","騱","騽","驨","鰼","鳛","𠅤","𫘬"],xiāng:["乡","厢","廂","忀","楿","欀","湘","瓖","稥","箱","緗","缃","膷","芗","萫","葙","薌","襄","郷","鄉","鄊","鄕","鑲","镶","香","驤","骧","鱜","麘","𬙋"],shū:["书","倏","倐","儵","叔","姝","尗","抒","掓","摅","攄","書","枢","梳","樞","殊","殳","毹","毺","淑","瀭","焂","疎","疏","紓","綀","纾","舒","菽","蔬","踈","軗","輸","输","鄃","陎","鮛","鵨"],dǒu:["乧","抖","枓","蚪","鈄","阧","陡"],shǐ:["乨","使","兘","史","始","宩","屎","榁","矢","笶","豕","鉂","駛","驶"],jī:["乩","僟","击","刉","刏","剞","叽","唧","喞","嗘","嘰","圾","基","墼","姬","屐","嵆","嵇","撃","擊","朞","机","枅","樭","機","毄","激","犄","玑","璣","畸","畿","癪","矶","磯","积","積","笄","筓","箕","簊","緁","羁","羇","羈","耭","肌","芨","虀","覉","覊","譏","譤","讥","賫","賷","赍","跻","踑","躋","躸","銈","錤","鐖","鑇","鑙","隮","雞","鞿","韲","飢","饑","饥","魕","鳮","鶏","鶺","鷄","鸄","鸡","齎","齏","齑","𬯀","𫓯","𫓹","𫌀"],náng:["乪","嚢","欜","蠰","饢"],jiā:["乫","佳","傢","加","嘉","抸","枷","梜","毠","泇","浃","浹","犌","猳","珈","痂","笳","糘","耞","腵","葭","袈","豭","貑","跏","迦","鉫","鎵","镓","鴐","麚","𬂩"],jù:["乬","倨","倶","具","剧","劇","勮","埧","埾","壉","姖","屦","屨","岠","巨","巪","怇","惧","愳","懅","懼","拒","拠","昛","歫","洰","澽","炬","烥","犋","秬","窭","窶","簴","粔","耟","聚","虡","蚷","詎","讵","豦","距","踞","躆","遽","邭","醵","鉅","鐻","钜","颶","飓","駏","鮔"],shí:["乭","十","埘","塒","姼","实","実","寔","實","峕","嵵","时","旹","時","榯","湜","溡","炻","祏","竍","蚀","蝕","辻","遈","鉐","飠","饣","鮖","鰣","鲥","鼫","鼭"],mǎo:["乮","冇","卯","峁","戼","昴","泖","笷","蓩","鉚","铆"],mǎi:["买","嘪","荬","蕒","買","鷶"],luàn:["乱","亂","釠"],rǔ:["乳","擩","汝","肗","辱","鄏"],xué:["乴","学","學","峃","嶨","斈","泶","澩","燢","穴","茓","袕","踅","鷽","鸴"],yǎn:["䶮","乵","俨","偃","儼","兖","兗","厣","厴","噞","孍","嵃","巘","巚","弇","愝","戭","扊","抁","掩","揜","曮","椼","檿","沇","渷","演","琰","甗","眼","罨","萒","蝘","衍","褗","躽","遃","郾","隒","顩","魇","魘","鰋","鶠","黡","黤","黬","黭","黶","鼴","鼹","齴","龑","𬸘","𬙂","𪩘"],fǔ:["乶","俌","俛","俯","府","弣","抚","拊","撫","斧","椨","滏","焤","甫","盙","簠","腐","腑","蜅","輔","辅","郙","釜","釡","阝","頫","鬴","黼","㕮","𫖯"],shā:["乷","唦","杀","桬","殺","毮","猀","痧","砂","硰","紗","繺","纱","蔱","裟","鎩","铩","閷","髿","魦","鯊","鯋","鲨"],nǎ:["乸","雫"],qián:["乹","亁","仱","偂","前","墘","媊","岒","拑","掮","榩","橬","歬","潛","潜","濳","灊","箝","葥","虔","軡","鈐","鉗","銭","錢","鎆","钤","钱","钳","靬","騚","騝","鰬","黔","黚"],suǒ:["乺","唢","嗩","所","暛","溑","溹","琐","琑","瑣","索","褨","鎖","鎻","鏁","锁"],yú:["乻","于","亐","伃","余","堣","堬","妤","娛","娯","娱","嬩","崳","嵎","嵛","愚","扵","揄","旟","楡","楰","榆","欤","歈","歟","歶","渔","渝","湡","漁","澞","牏","狳","玗","玙","瑜","璵","盂","睮","窬","竽","籅","羭","腴","臾","舁","舆","艅","茰","萮","萸","蕍","蘛","虞","虶","蝓","螸","衧","褕","覦","觎","諛","謣","谀","踰","輿","轝","逾","邘","酑","鍝","隅","雓","雩","餘","馀","騟","骬","髃","魚","魣","鮽","鯲","鰅","鱼","鷠","鸆","齵"],zhù:["乼","伫","佇","住","坾","墸","壴","嵀","拀","杼","柱","樦","殶","注","炷","疰","眝","祝","祩","竚","筯","箸","篫","簗","紵","紸","纻","羜","翥","苎","莇","蛀","註","貯","贮","跓","軴","鉒","鋳","鑄","铸","馵","駐","驻"],zhě:["乽","者","褶","襵","赭","踷","鍺","锗"],"qián gān":["乾"],"zhì luàn":["乿"],guī:["亀","圭","妫","媯","嫢","嬀","帰","归","摫","椝","槻","槼","櫷","歸","珪","瑰","璝","瓌","皈","瞡","硅","茥","蘬","規","规","邽","郌","閨","闺","騩","鬶","鬹"],"lǐn lìn":["亃"],jué:["亅","决","刔","劂","匷","厥","噊","孒","孓","崛","崫","嶥","彏","憠","憰","戄","抉","挗","掘","攫","桷","橛","橜","欮","氒","決","灍","焳","熦","爑","爴","爵","獗","玃","玦","玨","珏","瑴","瘚","矍","矡","砄","絕","絶","绝","臄","芵","蕝","蕨","虳","蟨","蟩","觖","觮","觼","訣","譎","诀","谲","貜","赽","趉","蹷","躩","鈌","鐍","鐝","钁","镢","鴂","鴃","鷢","𫘝","㵐","𫔎"],"le liǎo":["了"],"gè mā":["亇"],"yǔ yú":["予","懙"],zhēng:["争","佂","凧","姃","媜","峥","崝","崢","征","徰","炡","烝","爭","狰","猙","癥","眐","睁","睜","筝","箏","篜","聇","脀","蒸","踭","鉦","錚","鏳","鬇"],èr:["二","刵","咡","弍","弐","樲","誀","貮","貳","贰","髶"],chù:["亍","傗","儊","怵","憷","搐","斶","歜","珿","琡","矗","竌","絀","绌","臅","触","觸","豖","鄐","閦","黜"],kuī:["亏","刲","岿","巋","盔","窥","窺","聧","虧","闚","顝"],yún:["云","伝","勻","匀","囩","妘","愪","抣","昀","橒","沄","涢","溳","澐","熉","畇","秐","筼","篔","紜","縜","纭","耘","芸","蒷","蕓","郧","鄖","鋆","雲"],hù:["互","冱","嗀","嚛","婟","嫭","嫮","岵","帍","弖","怙","戶","户","戸","戽","扈","护","昈","槴","沍","沪","滬","熩","瓠","祜","笏","簄","粐","綔","蔰","護","豰","鄠","鍙","頀","鱯","鳠","鳸","鸌","鹱"],qí:["亓","剘","埼","岐","岓","崎","嵜","愭","掑","斉","斊","旂","旗","棊","棋","檱","櫀","歧","淇","濝","猉","玂","琦","琪","璂","畦","疧","碁","碕","祁","祈","祺","禥","竒","簯","簱","籏","粸","綥","綦","肵","脐","臍","艩","芪","萁","萕","蕲","藄","蘄","蚑","蚚","蛴","蜝","蜞","螧","蠐","褀","軝","鄿","釮","錡","锜","陭","頎","颀","騎","騏","騹","骐","骑","鬐","鬿","鯕","鰭","鲯","鳍","鵸","鶀","麒","麡","𨙸","𬨂","䓫"],jǐng:["井","儆","刭","剄","坓","宑","幜","憬","暻","殌","汫","汬","澋","璄","璟","璥","穽","肼","蟼","警","阱","頚","頸"],sì:["亖","佀","価","儩","兕","嗣","四","姒","娰","孠","寺","巳","柶","榹","汜","泗","泤","洍","洠","涘","瀃","牭","祀","禩","竢","笥","耜","肂","肆","蕼","覗","貄","釲","鈶","鈻","飤","飼","饲","駟","騃","驷"],suì:["亗","嬘","岁","嵗","旞","檖","歲","歳","澻","煫","燧","璲","砕","碎","祟","禭","穂","穗","穟","繀","繐","繸","襚","誶","譢","谇","賥","邃","鐆","鐩","隧","韢","𫟦","𬭼"],gèn:["亘","亙","揯","搄","茛"],yà:["亚","亜","俹","冴","劜","圔","圠","埡","娅","婭","揠","氩","氬","犽","砑","稏","聐","襾","覀","訝","讶","迓","齾"],"xiē suò":["些"],"qí zhāi":["亝","齊"],"yā yà":["亞","压","垭","壓","铔"],"jí qì":["亟","焏"],tóu:["亠","投","頭","骰"],"wáng wú":["亡"],"kàng háng gāng":["亢"],dà:["亣","眔"],jiāo:["交","僬","娇","嬌","峧","嶕","嶣","憍","椒","浇","澆","焦","礁","穚","簥","胶","膠","膲","茭","茮","蕉","虠","蛟","蟭","跤","轇","郊","鐎","驕","骄","鮫","鲛","鵁","鷦","鷮","鹪","䴔"],hài:["亥","嗐","害","氦","餀","饚","駭","駴","骇"],"hēng pēng":["亨"],mǔ:["亩","姆","峔","拇","母","牡","牳","畂","畆","畒","畝","畞","畮","砪","胟","踇","鉧","𬭁","𧿹"],ye:["亪"],xiǎng:["享","亯","响","想","晑","蚃","蠁","響","飨","餉","饗","饷","鮝","鯗","鱶","鲞"],jīng:["京","亰","兢","坕","坙","婛","惊","旌","旍","晶","橸","泾","涇","猄","睛","秔","稉","粳","精","経","經","綡","聙","腈","茎","荆","荊","菁","葏","驚","鯨","鲸","鶁","鶄","麖","麠","鼱","䴖"],tíng:["亭","停","婷","嵉","庭","廷","楟","榳","筳","聤","莛","葶","蜓","蝏","諪","邒","霆","鼮","䗴"],liàng:["亮","喨","悢","晾","湸","諒","谅","輌","輛","辆","鍄"],"qīn qìng":["亲","親"],bó:["亳","仢","侼","僰","博","帛","愽","懪","挬","搏","欂","浡","淿","渤","煿","牔","狛","瓝","礴","秡","箔","簙","糪","胉","脖","膊","舶","艊","萡","葧","袯","襏","襮","謈","踣","郣","鈸","鉑","鋍","鎛","鑮","钹","铂","镈","餺","馎","馛","馞","駁","駮","驳","髆","鵓","鹁"],yòu:["亴","佑","佦","侑","又","右","哊","唀","囿","姷","宥","峟","幼","狖","祐","蚴","誘","诱","貁","迶","酭","釉","鼬"],xiè:["亵","伳","偞","偰","僁","卨","卸","噧","塮","夑","媟","屑","屧","廨","徢","懈","暬","械","榍","榭","泻","洩","渫","澥","瀉","瀣","灺","炧","炨","燮","爕","獬","祄","禼","糏","紲","絏","絬","繲","纈","绁","缷","薢","薤","蟹","蠏","褉","褻","謝","谢","躞","邂","靾","韰","齂","齘","齛","齥","𬹼","𤫉"],"dǎn dàn":["亶","馾"],lián:["亷","劆","匲","匳","嗹","噒","奁","奩","嫾","帘","廉","怜","憐","涟","漣","濂","濓","瀮","熑","燫","簾","籢","籨","縺","翴","联","聨","聫","聮","聯","臁","莲","蓮","薕","螊","蠊","裢","褳","覝","謰","蹥","连","連","鎌","鐮","镰","鬑","鰱","鲢"],duǒ:["亸","哚","嚲","埵","崜","朵","朶","綞","缍","趓","躱","躲","軃"],"wěi mén":["亹","斖"],rén:["人","亻","仁","壬","忈","忎","朲","秂","芢","魜","鵀"],jí:["亼","亽","伋","佶","偮","卙","即","卽","及","叝","吉","堲","塉","姞","嫉","岌","嵴","嶯","彶","忣","急","愱","戢","揤","极","棘","楫","極","槉","檝","殛","汲","湒","潗","疾","瘠","皍","笈","箿","籍","級","级","膌","艥","蒺","蕀","蕺","蝍","螏","襋","觙","谻","踖","蹐","躤","輯","轚","辑","郆","銡","鍓","鏶","集","雧","霵","鹡","㴔"],wáng:["亾","仼","兦","莣","蚟"],"shén shí":["什"],lè:["仂","叻","忇","氻","泐","玏","砳","簕","艻","阞","韷","餎","鰳","鱳","鳓"],dīng:["仃","叮","帄","玎","疔","盯","耵","虰","靪"],zè:["仄","崱","庂","捑","昃","昗","汄"],"jǐn jìn":["仅","僅","嫤"],"pú pū":["仆"],"chóu qiú":["仇"],zhǎng:["仉","幥","掌","礃"],jīn:["今","堻","巾","惍","斤","津","珒","琻","璡","砛","筋","荕","衿","襟","觔","金","釒","釿","钅","鹶","黅","𬬱"],bīng:["仌","仒","兵","冫","冰","掤","氷","鋲"],réng:["仍","礽","芿","辸","陾"],fó:["仏","坲","梻"],"jīn sǎn":["仐"],lún:["仑","伦","侖","倫","囵","圇","婨","崘","崙","棆","沦","淪","磮","腀","菕","蜦","踚","輪","轮","錀","陯","鯩","𬬭"],cāng:["仓","仺","倉","凔","嵢","沧","滄","濸","獊","舱","艙","苍","蒼","螥","鸧"],"zǎi zǐ zī":["仔"],tā:["他","塌","它","榙","溻","牠","祂","褟","趿","遢","闧"],fù:["付","偩","傅","冨","副","咐","坿","复","妇","婦","媍","嬔","富","復","椱","祔","禣","竎","緮","縛","缚","腹","萯","蕧","蚹","蛗","蝜","蝮","袝","複","覄","覆","訃","詂","讣","負","賦","賻","负","赋","赙","赴","輹","鍑","鍢","阜","附","馥","駙","驸","鮒","鰒","鲋","鳆","㳇"],xiān:["仙","仚","佡","僊","僲","先","嘕","奾","屳","廯","忺","憸","掀","暹","杴","氙","珗","祆","秈","籼","繊","纎","纖","苮","褼","襳","跹","蹮","躚","酰","鍁","锨","韯","韱","馦","鱻","鶱","𬸣"],"tuō chà duó":["仛"],hóng:["仜","吰","垬","妅","娂","宏","宖","弘","彋","汯","泓","洪","浤","渱","潂","玒","玜","竑","竤","篊","粠","紘","紭","綋","纮","翃","翝","耾","苰","荭","葒","葓","谹","谼","鈜","鉷","鋐","閎","闳","霐","霟","鞃","魟","鴻","鸿","黉","黌","𫟹","𬭎"],tóng:["仝","佟","哃","峂","峝","庝","彤","晍","曈","桐","氃","浵","潼","犝","獞","眮","瞳","砼","秱","童","粡","膧","茼","蚒","詷","赨","酮","鉖","鉵","銅","铜","餇","鮦","鲖","𫍣","𦒍"],rèn:["仞","仭","刃","刄","妊","姙","屻","岃","扨","牣","祍","紉","紝","絍","纫","纴","肕","腍","衽","袵","訒","認","认","讱","軔","轫","鈓","靭","靱","韌","韧","飪","餁","饪"],qiān:["仟","佥","僉","千","圲","奷","孯","岍","悭","愆","慳","扦","拪","搴","撁","攐","攑","攓","杄","櫏","汘","汧","牵","牽","竏","签","簽","籖","籤","粁","芊","茾","蚈","褰","諐","謙","谦","谸","迁","遷","釺","鈆","鉛","鏲","钎","阡","韆","顅","騫","骞","鬜","鬝","鵮","鹐"],"gǎn hàn":["仠"],"yì gē":["仡"],dài:["代","侢","叇","垈","埭","岱","帒","带","帯","帶","廗","怠","戴","曃","柋","殆","瀻","玳","瑇","甙","簤","紿","緿","绐","艜","蝳","袋","襶","貣","贷","蹛","軑","軚","軩","轪","迨","霴","靆","鴏","黛","黱"],"lìng líng lǐng":["令"],chào:["仦","耖","觘"],"cháng zhǎng":["仧","兏","長","长"],sā:["仨"],cháng:["仩","偿","償","嘗","嚐","嫦","尝","常","徜","瑺","瓺","甞","肠","腸","膓","苌","萇","镸","鱨","鲿"],yí:["仪","侇","儀","冝","匜","咦","圯","夷","姨","宐","宜","宧","寲","峓","嶬","嶷","巸","彛","彜","彝","彞","怡","恞","扅","暆","栘","椬","椸","沂","洟","熪","瓵","痍","移","簃","籎","羠","胰","萓","蛦","螔","觺","謻","貽","贻","跠","迻","遺","鏔","頉","頤","頥","顊","颐","饴","鮧","鴺"],mù:["仫","凩","募","墓","幕","幙","慔","慕","暮","暯","木","楘","毣","沐","炑","牧","狇","目","睦","穆","艒","苜","莯","蚞","鉬","钼","雮","霂"],"men mén":["们"],fǎn:["仮","反","橎","返"],"chào miǎo":["仯"],"yǎng áng":["仰"],zhòng:["仲","众","堹","妕","媑","狆","眾","祌","筗","茽","蚛","衆","衶","諥"],"pǐ pí":["仳"],wò:["仴","偓","卧","媉","幄","握","楃","沃","渥","濣","瓁","瞃","硪","肟","腛","臥","齷","龌"],jiàn:["件","俴","健","僭","剑","剣","剱","劍","劎","劒","劔","墹","寋","建","徤","擶","旔","楗","毽","洊","涧","澗","牮","珔","瞷","磵","礀","箭","糋","繝","腱","臶","舰","艦","荐","薦","覸","諓","諫","譛","谏","賎","賤","贱","趝","践","踐","踺","轞","鉴","鍳","鍵","鐱","鑑","鑒","鑬","鑳","键","間","餞","饯","𬣡"],"jià jiè jie":["价"],"yǎo fó":["仸"],"rèn rén":["任"],"fèn bīn":["份"],dī:["仾","低","啲","埞","堤","岻","彽","樀","滴","磾","秪","羝","袛","趆","隄","鞮","䃅"],fǎng:["仿","倣","旊","昉","昘","瓬","眆","紡","纺","舫","訪","访","髣","鶭"],zhōng:["伀","刣","妐","幒","彸","忠","柊","汷","泈","炂","盅","籦","終","终","舯","蔠","蜙","螤","螽","衳","衷","蹱","鈡","鍾","鐘","钟","锺","鴤","鼨"],pèi:["伂","佩","姵","帔","斾","旆","沛","浿","珮","蓜","轡","辔","配","霈","馷"],diào:["伄","吊","弔","掉","瘹","盄","窎","窵","竨","訋","釣","鈟","銱","鋽","鑃","钓","铞","雿","魡"],dùn:["伅","潡","炖","燉","盾","砘","碷","踲","逇","遁","遯","鈍","钝"],wěn:["伆","刎","吻","呅","抆","桽","稳","穏","穩","紊","肳","脗"],xǐn:["伈"],kàng:["伉","匟","囥","抗","炕","鈧","钪"],ài:["伌","僾","塧","壒","嫒","嬡","愛","懓","暧","曖","爱","瑷","璦","皧","瞹","砹","硋","碍","礙","薆","譺","賹","鑀","隘","靉","餲","馤","鱫","鴱"],"jì qí":["伎","薺"],"xiū xǔ":["休"],"jìn yín":["伒"],dǎn:["伔","刐","撢","玬","瓭","紞","胆","膽","衴","賧","赕","黕","𬘘"],fū:["伕","呋","娐","孵","尃","怤","懯","敷","旉","玞","砆","稃","筟","糐","綒","肤","膚","荂","荴","衭","趺","跗","邞","鄜","酜","鈇","麩","麬","麱","麸","𫓧"],tǎng:["伖","傥","儻","埫","戃","曭","爣","矘","躺","鎲","钂","镋"],yōu:["优","優","呦","嚘","峳","幽","忧","悠","憂","攸","櫌","滺","瀀","纋","羪","耰","逌","鄾","麀"],huǒ:["伙","夥","火","煷","邩","鈥","钬"],"huì kuài":["会","會","浍","璯"],yǔ:["伛","俁","俣","偊","傴","匬","噳","圄","圉","宇","寙","屿","嶼","庾","挧","敔","斞","楀","瑀","瘐","祤","禹","穥","窳","羽","與","萭","貐","鄅","頨","麌","齬","龉","㺄"],cuì:["伜","啛","忰","悴","毳","淬","焠","疩","瘁","竁","粋","粹","紣","綷","翆","翠","脃","脆","脺","膬","膵","臎","萃","襊","顇"],sǎn:["伞","傘","糤","繖","饊","馓"],wěi:["伟","伪","偉","偽","僞","儰","娓","寪","屗","崣","嶉","徫","愇","捤","暐","梶","洧","浘","渨","炜","煒","猥","玮","瑋","痿","緯","纬","腲","艉","芛","苇","荱","萎","葦","蒍","蔿","蜼","諉","诿","踓","鍡","韑","韙","韡","韪","頠","颹","骩","骪","骫","鮪","鲔","𫇭","𬀩","𬱟"],"chuán zhuàn":["传","傳"],"chē jū":["伡","俥","车"],"jū chē":["車"],yá:["伢","厑","厓","堐","岈","崕","崖","涯","漄","牙","玡","琊","睚","笌","芽","蚜","衙","齖"],qiàn:["伣","俔","倩","儙","刋","壍","嬱","悓","棈","椠","槧","欠","歉","皘","篏","篟","縴","芡","蒨","蔳","輤","𬘬"],shāng:["伤","傷","商","墒","慯","殇","殤","滳","漡","熵","蔏","螪","觞","觴","謪","鬺"],chāng:["伥","倀","娼","昌","椙","淐","猖","琩","菖","裮","錩","锠","閶","阊","鯧","鲳","鼚"],"chen cāng":["伧"],xùn:["伨","侚","卂","噀","巺","巽","徇","愻","殉","殾","汛","潠","狥","蕈","訊","訓","訙","训","讯","迅","迿","逊","遜","鑂","顨","馴","驯"],xìn:["伩","囟","孞","脪","舋","衅","訫","釁","阠","顖"],chǐ:["伬","侈","卶","叺","呎","垑","恥","歯","耻","肔","胣","蚇","裭","褫","豉","鉹","齒","齿"],"xián xuán":["伭"],"nú nǔ":["伮"],"bó bǎi":["伯"],"gū gù":["估"],nǐ:["伱","你","儞","孴","拟","擬","旎","晲","狔","苨","薿","隬"],"nì ní":["伲"],bàn:["伴","办","半","姅","怑","扮","瓣","秚","絆","绊","辦","鉡","靽"],xù:["伵","侐","勖","勗","卹","叙","垿","壻","婿","序","恤","敍","敘","旭","昫","朂","槒","欰","殈","汿","沀","洫","溆","漵","潊","烅","烼","煦","獝","珬","盢","瞁","稸","絮","続","緒","緖","續","绪","续","聓","聟","蓄","藚","訹","賉","酗","頊","鱮","㳚"],zhòu:["伷","僽","冑","呪","咒","咮","宙","昼","晝","甃","皱","皺","籀","籒","籕","粙","紂","縐","纣","绉","胄","荮","葤","詋","酎","駎","驟","骤","㤘","㑇"],shēn:["伸","侁","兟","呻","堔","妽","娠","屾","峷","扟","敒","曑","柛","氠","深","燊","珅","甡","甧","申","眒","砷","穼","籶","籸","糂","紳","绅","罙","罧","葠","蓡","蔘","薓","裑","訷","詵","诜","身","駪","鯓","鯵","鰺","鲹","鵢","𬳽"],qū:["伹","佉","匤","呿","坥","屈","岖","岴","嶇","憈","抾","敺","浀","煀","祛","筁","粬","胠","蛆","蛐","袪","覻","詘","诎","趍","躯","軀","阹","駆","駈","驅","驱","髷","魼","鰸","鱋","鶌","麯","麴","麹","黢","㭕","𪨰","䓛"],"sì cì":["伺"],bēng:["伻","嘣","奟","崩","嵭","閍"],"sì shì":["似"],"jiā qié gā":["伽"],"yǐ chì":["佁"],"diàn tián":["佃","钿"],"hān gàn":["佄"],mài:["佅","劢","勱","卖","唛","売","脈","衇","賣","迈","邁","霡","霢","麥","麦","鿏"],dàn:["但","僤","啖","啗","啿","噉","嚪","帎","憺","旦","柦","氮","沊","泹","淡","狚","疍","癚","禫","窞","腅","萏","蓞","蛋","蜑","觛","訑","誕","诞","贉","霮","餤","饏","駳","髧","鴠","𫢸"],bù:["佈","勏","吥","咘","埗","埠","布","廍","怖","悑","步","歨","歩","瓿","篰","荹","蔀","踄","部","郶","鈈","钚","餢"],bǐ:["佊","俾","匕","夶","妣","彼","朼","柀","比","毞","沘","疕","秕","笔","筆","粃","聛","舭","貏","鄙"],"zhāo shào":["佋"],cǐ:["佌","此","泚","皉","𫚖"],wèi:["位","卫","味","喂","墛","媦","慰","懀","未","渭","煟","熭","犚","猬","畏","緭","罻","胃","苿","菋","藯","蘶","蝟","螱","衛","衞","褽","謂","讆","讏","谓","躗","躛","軎","轊","鏏","霨","餧","餵","饖","魏","鮇","鳚"],zuǒ:["佐","左","繓"],yǎng:["佒","傟","养","坱","岟","慃","懩","攁","氧","氱","炴","痒","癢","礢","紻","蝆","軮","養","駚"],"tǐ tī":["体","體"],zhàn:["佔","偡","嶘","战","戦","戰","栈","桟","棧","湛","站","綻","绽","菚","蘸","虥","虦","譧","轏","驏"],"hé hē hè":["何"],bì:["佖","咇","哔","嗶","坒","堛","壁","奰","妼","婢","嬖","币","幣","幤","庇","庳","廦","弊","弻","弼","彃","必","怭","愊","愎","敝","斃","梐","毕","毖","毙","湢","滗","滭","潷","煏","熚","狴","獘","獙","珌","璧","畀","畢","疪","痹","痺","皕","睤","碧","筚","箅","箆","篦","篳","粊","綼","縪","繴","罼","腷","苾","荜","萆","萞","蓖","蓽","蔽","薜","蜌","袐","襅","襞","襣","觱","詖","诐","貱","贔","赑","跸","蹕","躃","躄","避","邲","鄨","鄪","鉍","鏎","鐴","铋","閇","閉","閟","闭","陛","韠","飶","饆","馝","駜","驆","髀","魓","鮅","鷝","鷩","鼊"],tuó:["佗","坨","堶","岮","槖","橐","沱","砣","砤","碢","紽","詑","跎","酡","阤","陀","陁","駝","駞","騨","驒","驝","驼","鮀","鴕","鸵","鼉","鼍","鼧","𬶍"],shé:["佘","舌","虵","蛥"],"yì dié":["佚","昳","泆","軼"],"fó fú bì bó":["佛"],"zuò zuō":["作"],gōu:["佝","沟","溝","痀","篝","簼","緱","缑","袧","褠","鈎","鉤","钩","鞲","韝"],nìng:["佞","侫","倿","寕","泞","澝","濘"],qú:["佢","劬","戵","斪","欋","欔","氍","淭","灈","爠","璖","璩","癯","磲","籧","絇","胊","臞","菃","葋","蕖","蘧","蟝","蠷","蠼","衐","衢","躣","軥","鑺","鴝","鸜","鸲","鼩"],"yōng yòng":["佣"],wǎ:["佤","咓","砙","邷"],kǎ:["佧","垰","胩","裃","鉲"],bāo:["佨","勹","包","孢","煲","笣","胞","苞","蕔","裦","褒","襃","闁","齙","龅"],"huái huí":["佪"],"gé hè":["佫"],lǎo:["佬","咾","恅","栳","狫","珯","硓","老","耂","荖","蛯","轑","銠","铑","鮱"],xiáng:["佭","庠","栙","祥","絴","翔","詳","跭"],gé:["佮","匌","呄","嗝","塥","愅","挌","搿","槅","櫊","滆","膈","臵","茖","觡","諽","輵","轕","閣","阁","隔","鞷","韐","韚","騔","骼","鮯"],yáng:["佯","劷","垟","崸","徉","扬","揚","敭","旸","昜","暘","杨","楊","洋","炀","珜","疡","瘍","眻","蛘","諹","輰","鍚","钖","阦","阳","陽","霷","颺","飏","鰑","鴹","鸉"],bǎi:["佰","捭","摆","擺","栢","百","竡","粨","襬"],fǎ:["佱","峜","法","灋","砝","鍅"],mǐng:["佲","凕","姳","慏","酩"],"èr nài":["佴"],hěn:["佷","很","狠","詪","𬣳"],huó:["佸","活"],guǐ:["佹","匦","匭","厬","垝","姽","宄","庋","庪","恑","晷","湀","癸","祪","簋","蛫","蟡","觤","詭","诡","軌","轨","陒","鬼"],quán:["佺","全","啳","埢","姾","峑","巏","拳","搼","权","楾","権","權","泉","洤","湶","牷","犈","瑔","痊","硂","筌","縓","荃","葲","蜷","蠸","觠","詮","诠","跧","踡","輇","辁","醛","銓","铨","闎","顴","颧","駩","騡","鬈","鰁","鳈","齤"],tiāo:["佻","庣","旫","祧","聎"],jiǎo:["佼","儌","孂","挢","搅","撟","撹","攪","敫","敽","敿","晈","暞","曒","灚","燞","狡","璬","皎","皦","絞","纐","绞","腳","臫","蟜","譑","賋","踋","鉸","铰","餃","饺","鱎","龣"],cì:["佽","刾","庛","朿","栨","次","絘","茦","莿","蛓","螆","賜","赐"],xíng:["侀","刑","哘","型","娙","形","洐","硎","蛵","邢","郉","鈃","鉶","銒","钘","铏","陉","陘","餳","𫰛"],tuō:["侂","咃","咜","圫","托","拕","拖","汑","脫","脱","莌","袥","託","讬","飥","饦","魠","鮵"],kǎn:["侃","偘","冚","坎","惂","砍","莰","輡","轗","顑"],zhí:["侄","値","值","埴","執","姪","嬂","戠","执","摭","植","樴","淔","漐","直","禃","絷","縶","聀","职","職","膱","蟙","跖","踯","蹠","躑","軄","釞","馽"],gāi:["侅","垓","姟","峐","晐","畡","祴","荄","該","该","豥","賅","賌","赅","陔"],lái:["來","俫","倈","崃","崍","庲","来","梾","棶","涞","淶","猍","琜","筙","箂","莱","萊","逨","郲","錸","铼","騋","鯠","鶆","麳"],kuǎ:["侉","咵","垮","銙"],gōng:["侊","公","功","匑","匔","塨","宫","宮","工","幊","弓","恭","攻","杛","碽","糼","糿","肱","觥","觵","躬","躳","髸","龔","龚","䢼"],lì:["例","俐","俪","傈","儮","儷","凓","利","力","励","勵","历","厉","厤","厯","厲","叓","吏","呖","唎","唳","嚦","囇","坜","塛","壢","娳","婯","屴","岦","悧","悷","慄","戾","搮","暦","曆","曞","朸","枥","栃","栗","栛","檪","櫔","櫪","欐","歴","歷","沥","沴","涖","溧","濿","瀝","爏","犡","猁","珕","瑮","瓅","瓑","瓥","疬","痢","癧","盭","睙","砅","砺","砾","磿","礪","礫","礰","禲","秝","立","笠","篥","粒","粝","糲","脷","苈","茘","荔","莅","莉","蒚","蒞","藶","蚸","蛎","蛠","蜧","蝷","蠇","蠣","詈","讈","赲","轢","轣","轹","酈","鉝","隶","隷","雳","靂","靋","鬁","鳨","鴗","鷅","麜","𫵷","𬍛"],yīn:["侌","凐","喑","噾","囙","因","垔","堙","姻","婣","愔","慇","栶","氤","洇","溵","濦","瘖","禋","秵","筃","絪","緸","茵","蒑","蔭","裀","諲","銦","铟","闉","阥","阴","陰","陻","隂","霒","霠","鞇","音","韾","駰","骃","齗","𬘡","𬤇","𬮱"],mǐ:["侎","孊","弭","敉","洣","渳","灖","米","粎","羋","脒","芈","葞","蔝","銤"],zhū:["侏","株","槠","橥","櫧","櫫","洙","潴","瀦","猪","珠","硃","秼","絑","茱","蕏","蛛","蝫","蠩","袾","誅","諸","诛","诸","豬","跦","邾","銖","铢","駯","鮢","鯺","鴸","鼄"],ān:["侒","偣","媕","安","峖","庵","桉","氨","盦","盫","腤","菴","萻","葊","蓭","誝","諳","谙","鞌","鞍","韽","馣","鮟","鵪","鶕","鹌","𩽾"],lù:["侓","僇","勎","勠","圥","坴","塶","娽","峍","廘","彔","录","戮","摝","椂","樚","淕","淥","渌","漉","潞","琭","璐","甪","盝","睩","硉","祿","禄","稑","穋","箓","簏","簬","簵","簶","籙","粶","蔍","蕗","虂","螰","賂","赂","趢","路","踛","蹗","輅","轆","辂","辘","逯","醁","錄","録","錴","鏴","陸","騄","騼","鯥","鴼","鵦","鵱","鷺","鹭","鹿","麓","𫘧"],móu:["侔","劺","恈","眸","蛑","謀","谋","踎","鍪","鴾","麰"],ér:["侕","儿","児","兒","峏","栭","洏","粫","而","胹","荋","袻","輀","轜","陑","隭","髵","鮞","鲕","鴯","鸸"],"dòng tǒng tóng":["侗"],chà:["侘","奼","姹","岔","汊","詫","诧"],chì:["侙","傺","勅","勑","叱","啻","彳","恜","慗","憏","懘","抶","敕","斥","杘","湁","灻","炽","烾","熾","痓","痸","瘛","翄","翅","翤","翨","腟","赤","趩","遫","鉓","雴","飭","饬","鶒","鷘"],"gòng gōng":["供","共"],zhōu:["侜","周","喌","州","徟","洲","淍","炿","烐","珘","矪","舟","謅","譸","诌","賙","赒","輈","輖","辀","週","郮","銂","霌","駲","騆","鵃","鸼"],rú:["侞","儒","嚅","如","嬬","孺","帤","曘","桇","渪","濡","筎","茹","蕠","薷","蝡","蠕","袽","襦","邚","醹","銣","铷","顬","颥","鱬","鴑","鴽"],"jiàn cún":["侟"],xiá:["侠","俠","匣","峡","峽","敮","暇","柙","炠","烚","狎","狭","狹","珨","瑕","硖","硤","碬","祫","筪","縖","翈","舝","舺","蕸","赮","轄","辖","遐","鍜","鎋","陜","陿","霞","騢","魻","鶷","黠"],lǚ:["侣","侶","儢","吕","呂","屡","屢","履","挔","捛","旅","梠","焒","祣","稆","穭","絽","縷","缕","膂","膐","褛","褸","郘","鋁","铝"],ta:["侤"],"jiǎo yáo":["侥","僥","徺"],zhēn:["侦","偵","寊","帧","帪","幀","搸","斟","桢","楨","榛","樼","殝","浈","湞","潧","澵","獉","珍","珎","瑧","甄","眞","真","砧","碪","祯","禎","禛","箴","胗","臻","葴","蒖","蓁","薽","貞","贞","轃","遉","酙","針","鉁","錱","鍼","针","鱵"],"cè zè zhāi":["侧","側"],kuài:["侩","儈","凷","哙","噲","圦","块","塊","巜","廥","快","旝","欳","狯","獪","筷","糩","脍","膾","郐","鄶","鱠","鲙"],chái:["侪","儕","喍","柴","犲","祡","豺"],nóng:["侬","儂","农","哝","噥","檂","欁","浓","濃","燶","禯","秾","穠","脓","膿","蕽","襛","譨","農","辳","醲","鬞","𬪩"],jǐn:["侭","儘","卺","厪","巹","槿","漌","瑾","紧","緊","菫","蓳","謹","谨","錦","锦","饉","馑"],"hóu hòu":["侯","矦"],jiǒng:["侰","僒","冏","囧","泂","澃","炯","烱","煚","煛","熲","燛","窘","綗","褧","迥","逈","顈","颎","䌹"],"chěng tǐng":["侱"],"zhèn zhēn":["侲","揕"],zuò:["侳","做","唑","坐","岝","岞","座","祚","糳","胙","葃","葄","蓙","袏","阼"],qīn:["侵","兓","媇","嵚","嶔","欽","衾","誛","钦","顉","駸","骎","鮼"],jú:["侷","啹","婅","局","巈","椈","橘","泦","淗","湨","焗","犑","狊","粷","菊","蘜","趜","跼","蹫","輂","郹","閰","駶","驧","鵙","鵴","鶪","鼰","鼳","䴗"],"shù dōu":["侸"],tǐng:["侹","圢","娗","挺","涏","烶","珽","脡","艇","誔","頲","颋"],shèn:["侺","愼","慎","昚","涁","渗","滲","瘆","瘮","眘","祳","肾","胂","脤","腎","蜃","蜄","鋠"],"tuì tuó":["侻"],nán:["侽","喃","娚","抩","暔","枏","柟","楠","男","畘","莮","萳","遖"],xiāo:["侾","哓","嘵","嚻","囂","婋","宯","宵","庨","彇","揱","枭","枵","梟","櫹","歊","毊","消","潇","瀟","灱","灲","烋","焇","猇","獢","痚","痟","硝","硣","窙","箫","簘","簫","綃","绡","翛","膮","萧","蕭","虈","虓","蟂","蟏","蟰","蠨","踃","逍","銷","销","霄","颵","驍","骁","髇","髐","魈","鴞","鴵","鷍","鸮"],"biàn pián":["便","緶","缏"],tuǐ:["俀","腿","蹆","骽"],xì:["係","匸","卌","呬","墍","屃","屓","屭","忥","怬","恄","椞","潝","潟","澙","熂","犔","磶","禊","細","綌","縘","细","绤","舃","舄","蕮","虩","衋","覤","赩","趇","郤","釳","阋","隙","隟","霼","餼","饩","鬩","黖"],cù:["促","媨","憱","猝","瘄","瘯","簇","縬","脨","蔟","誎","趗","踧","踿","蹙","蹴","蹵","醋","顣","鼀"],é:["俄","囮","娥","峉","峨","峩","涐","珴","皒","睋","磀","莪","訛","誐","譌","讹","迗","鈋","鋨","锇","頟","額","额","魤","鵝","鵞","鹅"],qiú:["俅","叴","唒","囚","崷","巯","巰","扏","梂","殏","毬","求","汓","泅","浗","湭","煪","犰","玌","球","璆","皳","盚","紌","絿","肍","芁","莍","虬","虯","蛷","裘","觓","觩","訄","訅","賕","赇","逎","逑","遒","酋","釚","釻","銶","頄","鮂","鯄","鰽","鼽","𨱇"],xú:["俆","徐","禑"],"guàng kuāng":["俇"],kù:["俈","喾","嚳","库","庫","廤","瘔","絝","绔","袴","裤","褲","酷"],wù:["俉","务","務","勿","卼","坞","塢","奦","婺","寤","屼","岉","嵨","忢","悞","悟","悮","戊","扤","晤","杌","溩","焐","熃","物","痦","矹","窹","粅","蘁","誤","误","鋈","阢","隖","雾","霚","霧","靰","騖","骛","鶩","鹜","鼿","齀"],jùn:["俊","儁","呁","埈","寯","峻","懏","捃","攟","晙","棞","燇","珺","畯","竣","箟","蜠","賐","郡","陖","餕","馂","駿","骏","鵔","鵕","鵘","䐃"],liáng:["俍","墚","梁","椋","樑","粮","粱","糧","良","輬","辌","𫟅"],zǔ:["俎","唨","爼","祖","組","组","詛","诅","鎺","阻","靻"],"qiào xiào":["俏"],yǒng:["俑","勇","勈","咏","埇","塎","嵱","彮","怺","恿","悀","惥","愑","愹","慂","柡","栐","永","泳","湧","甬","蛹","詠","踊","踴","鯒","鲬"],hùn:["俒","倱","圂","尡","慁","掍","溷","焝","睴","觨","諢","诨"],jìng:["俓","傹","境","妌","婙","婧","弪","弳","径","徑","敬","曔","桱","梷","浄","瀞","獍","痉","痙","竞","竟","竫","競","竸","胫","脛","莖","誩","踁","迳","逕","鏡","镜","靖","静","靜","鵛"],sàn:["俕","閐"],pěi:["俖"],sú:["俗"],xī:["俙","僖","兮","凞","卥","厀","吸","唏","唽","嘻","噏","嚱","夕","奚","嬆","嬉","屖","嵠","巇","希","徆","徯","息","悉","悕","惁","惜","昔","晞","晰","晳","曦","析","桸","榽","樨","橀","欷","氥","汐","浠","淅","渓","溪","烯","焁","焈","焟","熄","熈","熙","熹","熺","熻","燨","爔","牺","犀","犠","犧","琋","瘜","皙","睎","瞦","矽","硒","磎","礂","稀","穸","窸","粞","糦","緆","繥","羲","翕","翖","肸","肹","膝","舾","莃","菥","蒠","蜥","螅","蟋","蠵","西","觹","觽","觿","譆","谿","豀","豨","豯","貕","赥","邜","鄎","酅","醯","釸","錫","鏭","鐊","鑴","锡","隵","餏","饎","饻","鯑","鵗","鸂","鼷"],lǐ:["俚","娌","峢","峲","李","欚","浬","澧","理","礼","禮","粴","裏","裡","豊","逦","邐","醴","鋰","锂","鯉","鱧","鱱","鲤","鳢"],bǎo:["保","堢","媬","宝","寚","寳","寶","珤","緥","葆","藵","褓","賲","靌","飹","飽","饱","駂","鳵","鴇","鸨"],"yú shù yù":["俞"],"sì qí":["俟"],"xìn shēn":["信"],xiū:["俢","修","咻","庥","樇","烌","羞","脙","脩","臹","貅","銝","鎀","飍","饈","馐","髤","髹","鮴","鱃","鵂","鸺","䗛"],dì:["俤","偙","僀","埊","墑","墬","娣","帝","怟","旳","梊","焍","玓","甋","眱","睇","碲","祶","禘","第","締","缔","腣","菂","蒂","蔕","蝃","蝭","螮","諦","谛","踶","递","逓","遞","遰","鉪","𤧛","䗖"],chóu:["俦","儔","嬦","惆","愁","懤","栦","燽","畴","疇","皗","稠","筹","籌","絒","綢","绸","菗","詶","讎","讐","踌","躊","酧","酬","醻","雔","雠","雦"],zhì:["俧","偫","儨","制","劕","垁","娡","寘","帙","帜","幟","庢","庤","廌","彘","徏","徝","志","忮","懥","懫","挃","挚","掷","摯","擲","旘","晊","智","栉","桎","梽","櫍","櫛","治","洷","滍","滞","滯","潌","瀄","炙","熫","狾","猘","璏","瓆","痔","痣","礩","祑","秩","秷","稚","稺","穉","窒","紩","緻","置","翐","膣","至","致","芖","蛭","袟","袠","製","覟","觗","觯","觶","誌","豑","豒","貭","質","贄","质","贽","跱","踬","躓","輊","轾","郅","銍","鋕","鑕","铚","锧","陟","隲","雉","駤","騭","騺","驇","骘","鯯","鴙","鷙","鸷","𬃊"],"liǎ liǎng":["俩"],jiǎn:["俭","倹","儉","减","剪","堿","弿","彅","戩","戬","拣","挸","捡","揀","撿","枧","柬","梘","检","検","檢","減","湕","瀽","瑐","睑","瞼","硷","碱","礆","笕","筧","简","簡","絸","繭","翦","茧","藆","蠒","裥","襇","襉","襺","詃","謇","謭","譾","谫","趼","蹇","鐗","鬋","鰎","鹸","鹻","鹼"],huò:["俰","咟","嚯","嚿","奯","彠","惑","或","擭","旤","曤","檴","沎","湱","瀖","獲","癨","眓","矐","祸","禍","穫","窢","耯","臛","艧","获","蒦","藿","蠖","謋","貨","货","鍃","鑊","镬","雘","霍","靃","韄","㸌"],"jù jū":["俱","据","鋸","锯"],xiào:["俲","傚","効","咲","哮","啸","嘋","嘨","嘯","孝","效","斅","斆","歗","涍","熽","笑","詨","誟"],pái:["俳","徘","牌","犤","猅","簰","簲","輫"],biào:["俵","鰾","鳔"],"chù tì":["俶"],fèi:["俷","剕","厞","吠","屝","废","廃","廢","昲","曊","櫠","沸","濷","狒","癈","肺","萉","費","费","鐨","镄","陫","靅","鼣"],fèng:["俸","凤","奉","湗","焨","煈","賵","赗","鳯","鳳","鴌"],ǎn:["俺","唵","埯","揞","罯","銨","铵"],bèi:["俻","倍","偝","偹","備","僃","备","悖","惫","愂","憊","昁","梖","焙","牬","犕","狈","狽","珼","琲","碚","禙","糒","苝","蓓","蛽","褙","貝","贝","軰","輩","辈","邶","郥","鄁","鋇","鐾","钡","鞁","鞴","𬇙"],yù:["俼","儥","喅","喩","喻","域","堉","妪","嫗","寓","峪","嶎","庽","彧","御","愈","慾","戫","昱","棛","棜","棫","櫲","欎","欝","欲","毓","浴","淯","滪","潏","澦","灪","焴","煜","燏","燠","爩","狱","獄","玉","琙","瘉","癒","砡","硢","硲","礇","礖","礜","禦","秗","稢","稶","篽","籞","籲","粖","緎","罭","聿","肀","艈","芋","芌","茟","蒮","蓣","蓹","蕷","蘌","蜟","蜮","袬","裕","誉","諭","譽","谕","豫","軉","輍","逳","遇","遹","郁","醧","鈺","鋊","錥","鐭","钰","閾","阈","雤","霱","預","预","飫","饇","饫","馭","驈","驭","鬰","鬱","鬻","魊","鱊","鳿","鴥","鴧","鴪","鵒","鷸","鸒","鹆","鹬"],xīn:["俽","噺","妡","嬜","廞","心","忄","忻","惞","新","昕","杺","欣","歆","炘","盺","薪","訢","辛","邤","鈊","鋅","鑫","锌","馨","馫","䜣","𫷷"],"hǔ chí":["俿"],jiù:["倃","僦","匓","匛","匶","厩","咎","就","廄","廏","廐","慦","捄","救","旧","柩","柾","桕","欍","殧","疚","臼","舅","舊","鯦","鷲","鹫","麔","齨","㠇"],yáo:["倄","傜","嗂","垚","堯","姚","媱","尧","尭","峣","嶢","嶤","徭","揺","搖","摇","摿","暚","榣","烑","爻","猺","珧","瑤","瑶","磘","窑","窯","窰","肴","蘨","謠","謡","谣","軺","轺","遙","遥","邎","顤","颻","飖","餆","餚","鰩","鱙","鳐"],"cuì zú":["倅"],"liǎng liǎ":["倆"],wǎn:["倇","唍","婉","惋","挽","晚","晥","晩","晼","梚","椀","琬","畹","皖","盌","碗","綩","綰","绾","脘","萖","踠","輓","鋔"],zǒng:["倊","偬","傯","嵸","总","惣","捴","搃","摠","燪","総","緫","縂","總","蓗"],guān:["倌","关","官","棺","瘝","癏","窤","蒄","関","闗","關","鰥","鱞","鳏"],tiǎn:["倎","唺","忝","悿","晪","殄","淟","睓","腆","舔","覥","觍","賟","錪","餂"],mén:["們","扪","捫","璊","菛","虋","鍆","钔","門","閅","门","𫞩"],"dǎo dào":["倒"],"tán tàn":["倓","埮"],"juè jué":["倔"],chuí:["倕","垂","埀","捶","搥","桘","棰","槌","箠","腄","菙","錘","鎚","锤","陲","顀"],xìng:["倖","姓","婞","嬹","幸","性","悻","杏","涬","緈","臖","荇","莕","葕"],péng:["倗","傰","塜","塳","弸","憉","捀","朋","棚","椖","樥","硼","稝","竼","篷","纄","膨","芃","蓬","蘕","蟚","蟛","袶","輣","錋","鑝","韸","韼","騯","髼","鬅","鬔","鵬","鹏"],"tǎng cháng":["倘"],hòu:["候","厚","后","垕","堠","後","洉","茩","豞","逅","郈","鮜","鱟","鲎","鲘"],tì:["倜","剃","嚏","嚔","屉","屜","悌","悐","惕","惖","戻","掦","替","朑","歒","殢","涕","瓋","笹","籊","薙","褅","逖","逷","髰","鬀","鬄"],gàn:["倝","凎","幹","榦","檊","淦","灨","盰","紺","绀","詌","贑","赣","骭","㽏"],"liàng jìng":["倞","靓"],suī:["倠","哸","夊","滖","濉","眭","睢","芕","荽","荾","虽","雖","鞖"],"chàng chāng":["倡"],jié:["倢","偼","傑","刦","刧","刼","劫","劼","卩","卪","婕","媫","孑","岊","崨","嵥","嶻","巀","幯","截","捷","掶","擮","昅","杢","杰","桀","桝","楬","楶","榤","洁","滐","潔","狤","睫","礍","竭","節","羯","莭","蓵","蛣","蜐","蠘","蠞","蠽","衱","袺","訐","詰","誱","讦","踕","迼","鉣","鍻","镼","頡","鮚","鲒","㛃"],"kǒng kōng":["倥"],juàn:["倦","劵","奆","慻","桊","淃","狷","獧","眷","睊","睠","絭","絹","绢","罥","羂","腃","蔨","鄄","餋"],zōng:["倧","堫","宗","嵏","嵕","惾","朡","棕","椶","熧","猣","磫","緃","翪","腙","葼","蝬","豵","踨","踪","蹤","鍐","鑁","騌","騣","骔","鬃","鬉","鬷","鯮","鯼"],ní:["倪","坭","埿","尼","屔","怩","淣","猊","籾","聣","蚭","蜺","觬","貎","跜","輗","郳","鈮","铌","霓","馜","鯢","鲵","麑","齯","𫐐","𫠜"],zhuō:["倬","拙","捉","桌","梲","棁","棳","槕","涿","窧","鐯","䦃"],"wō wēi":["倭"],luǒ:["倮","剆","曪","瘰","癳","臝","蓏","蠃","裸","躶"],sōng:["倯","凇","娀","崧","嵩","庺","憽","松","枀","枩","柗","梥","檧","淞","濍","硹","菘","鬆"],lèng:["倰","堎","愣","睖","踜"],zì:["倳","剚","字","恣","渍","漬","牸","眥","眦","胔","胾","自","茡","荢"],bèn:["倴","坌","捹","撪","渀","笨","逩"],cǎi:["倸","啋","婇","彩","採","棌","毝","睬","綵","跴","踩"],zhài:["债","債","寨","瘵","砦"],yē:["倻","吔","噎","擨","暍","椰","歋","潱","蠮"],shà:["倽","唼","喢","歃","箑","翜","翣","萐","閯","霎"],qīng:["倾","傾","卿","圊","寈","氢","氫","淸","清","蜻","軽","輕","轻","郬","錆","鑋","靑","青","鯖"],yīng:["偀","嘤","噟","嚶","婴","媖","嫈","嬰","孆","孾","愥","撄","攖","朠","桜","樱","櫻","渶","煐","珱","瑛","璎","瓔","甇","甖","碤","礯","緓","纓","绬","缨","罂","罃","罌","膺","英","莺","蘡","蝧","蠳","褮","譻","賏","軈","鑍","锳","霙","韺","鴬","鶑","鶧","鶯","鷪","鷹","鸎","鸚","鹦","鹰","䓨"],"chēng chèn":["偁","爯"],ruǎn:["偄","朊","瑌","瓀","碝","礝","腝","軟","輭","软","阮"],"zhòng tóng":["偅"],chǔn:["偆","惷","睶","萶","蠢","賰"],"jiǎ jià":["假"],"jì jié":["偈"],"bǐng bìng":["偋"],ruò:["偌","叒","嵶","弱","楉","焫","爇","箬","篛","蒻","鄀","鰙","鰯","鶸"],tí:["偍","厗","啼","嗁","崹","漽","瑅","睼","禵","稊","緹","缇","罤","蕛","褆","謕","趧","蹄","蹏","醍","鍗","題","题","騠","鮷","鯷","鳀","鵜","鷤","鹈","𫘨"],wēi:["偎","危","喴","威","媙","嶶","巍","微","愄","揋","揻","椳","楲","溦","烓","煨","燰","癓","縅","葨","葳","薇","蜲","蝛","覣","詴","逶","隇","隈","霺","鰃","鰄","鳂"],piān:["偏","囨","媥","楄","犏","篇","翩","鍂"],yàn:["偐","厌","厭","唁","喭","嚈","嚥","堰","妟","姲","嬊","嬿","宴","彥","彦","敥","晏","暥","曕","曣","滟","灎","灔","灧","灩","焔","焰","焱","熖","燄","牪","猒","砚","硯","艳","艶","艷","覎","觃","觾","諺","讌","讞","谚","谳","豓","豔","贋","贗","赝","軅","酀","酽","醼","釅","雁","餍","饜","騐","験","騴","驗","驠","验","鬳","鳫","鴈","鴳","鷃","鷰","齞"],"tǎng dàng":["偒"],è:["偔","匎","卾","厄","呝","咢","噩","垩","堊","堮","岋","崿","廅","悪","愕","戹","扼","搤","搹","擜","櫮","歞","歺","湂","琧","砈","砐","硆","腭","苊","萼","蕚","蚅","蝁","覨","諤","讍","谔","豟","軛","軶","轭","遌","遏","遻","鄂","鈪","鍔","鑩","锷","阨","阸","頞","顎","颚","餓","餩","饿","鰐","鰪","鱷","鳄","鶚","鹗","齃","齶","𫫇","𥔲"],xié:["偕","勰","协","協","嗋","垥","奊","恊","愶","拹","携","撷","擕","擷","攜","斜","旪","熁","燲","綊","緳","縀","缬","翓","胁","脅","脇","脋","膎","蝢","衺","襭","諧","讗","谐","鞋","鞵","龤","㙦"],chě:["偖","扯","撦"],shěng:["偗","渻","眚"],chā:["偛","嗏","扠","挿","插","揷","疀","臿","艖","銟","鍤","锸","餷"],huáng:["偟","凰","喤","堭","墴","媓","崲","徨","惶","楻","湟","煌","獚","瑝","璜","癀","皇","磺","穔","篁","簧","艎","葟","蝗","蟥","諻","趪","遑","鍠","鐄","锽","隍","韹","餭","騜","鰉","鱑","鳇","鷬","黃","黄","𨱑"],yǎo:["偠","咬","婹","宎","岆","杳","柼","榚","溔","狕","窅","窈","舀","苭","闄","騕","鷕","齩"],"chǒu qiào":["偢"],yóu:["偤","尤","庮","怣","沋","油","浟","游","犹","猶","猷","由","疣","秞","肬","莜","莸","蕕","蚰","蝣","訧","輏","輶","逰","遊","邮","郵","鈾","铀","駀","魷","鮋","鱿","鲉","𬨎"],xū:["偦","墟","媭","嬃","楈","欨","歔","燸","疞","盱","綇","縃","繻","胥","蕦","虗","虚","虛","蝑","裇","訏","許","諝","譃","谞","鑐","需","須","须","顼","驉","鬚","魆","魖","𬣙","𦈡"],zhā:["偧","哳","抯","挓","揸","摣","樝","渣","皶","觰","譇","齄","齇"],cī:["偨","疵","蠀","趀","骴","髊","齹"],bī:["偪","屄","楅","毴","豍","逼","鰏","鲾","鵖"],xún:["偱","噚","寻","尋","峋","巡","廵","循","恂","揗","攳","旬","杊","栒","桪","樳","洵","浔","潯","燅","燖","珣","璕","畃","紃","荀","蟳","詢","询","鄩","鱏","鱘","鲟","𬘓","𬩽","𬍤","𬊈"],"cāi sī":["偲"],duān:["偳","媏","端","褍","鍴"],ǒu:["偶","吘","嘔","耦","腢","蕅","藕","𬉼","𠙶"],tōu:["偷","偸","鍮"],"zán zá zǎ":["偺"],"lǚ lóu":["偻","僂"],fèn:["偾","僨","奋","奮","弅","忿","愤","憤","瀵","瞓","秎","粪","糞","膹","鱝","鲼"],"kuǐ guī":["傀"],sǒu:["傁","叜","叟","嗾","櫢","瞍","薮","藪"],"zhì sī tí":["傂"],sù:["傃","僳","嗉","塐","塑","夙","嫊","愫","憟","榡","樎","樕","殐","泝","涑","溯","溸","潚","潥","玊","珟","璛","簌","粛","粟","素","縤","肃","肅","膆","蔌","藗","觫","訴","謖","诉","谡","趚","蹜","速","遡","遬","鋉","餗","驌","骕","鱐","鷫","鹔","𫗧"],xiā:["傄","煆","瞎","虲","谺","颬","鰕"],"yuàn yuán":["傆","媛"],rǒng:["傇","冗","宂","氄","軵"],nù:["傉","怒"],yùn:["傊","孕","恽","惲","愠","慍","枟","腪","蕴","薀","藴","蘊","褞","貟","运","運","郓","鄆","酝","醖","醞","韗","韞","韵","韻","餫"],"gòu jiǎng":["傋"],mà:["傌","嘜","榪","睰","祃","禡","罵","閁","駡","骂","鬕"],bàng:["傍","塝","棒","玤","稖","艕","蒡","蜯","謗","谤","鎊","镑"],diān:["傎","厧","嵮","巅","巓","巔","掂","攧","敁","槇","滇","癫","癲","蹎","顚","顛","颠","齻"],táng:["傏","唐","啺","坣","堂","塘","搪","棠","榶","溏","漟","煻","瑭","磄","禟","篖","糃","糖","糛","膅","膛","蓎","螗","螳","赯","踼","鄌","醣","鎕","隚","餹","饄","鶶","䣘"],hào:["傐","哠","恏","昊","昦","晧","暠","暤","暭","曍","浩","淏","澔","灏","灝","皓","皜","皞","皡","皥","耗","聕","薃","號","鄗","顥","颢","鰝"],"xī xì":["傒"],shān:["傓","删","刪","剼","圸","山","挻","搧","柵","檆","潸","澘","煽","狦","珊","笘","縿","羴","羶","脠","舢","芟","衫","跚","軕","邖","閊","鯅"],"qiàn jiān":["傔"],"què jué":["傕","埆"],"cāng chen":["傖"],róng:["傛","媶","嫆","嬫","容","峵","嵘","嶸","戎","搈","曧","栄","榕","榮","榵","毧","溶","瀜","烿","熔","狨","瑢","穁","絨","绒","羢","肜","茙","茸","荣","蓉","蝾","融","螎","蠑","褣","鎔","镕","駥"],"tà tàn":["傝"],suō:["傞","唆","嗍","嗦","娑","摍","桫","梭","睃","簑","簔","羧","莏","蓑","趖","鮻"],dǎi:["傣","歹"],zài:["傤","儎","再","在","扗","洅","載","酨"],gǔ:["傦","古","啒","尳","愲","榖","榾","汩","淈","濲","瀔","牯","皷","皼","盬","瞽","穀","罟","羖","股","脵","臌","薣","蛊","蠱","詁","诂","轂","逧","鈷","钴","餶","馉","鼓","鼔","𦙶"],bīn:["傧","宾","彬","斌","椕","滨","濒","濱","濵","瀕","繽","缤","虨","豩","豳","賓","賔","邠","鑌","镔","霦","顮"],chǔ:["储","儲","杵","椘","楚","楮","檚","濋","璴","础","礎","禇","處","齭","齼","𬺓"],nuó:["傩","儺","挪","梛","橠"],"cān càn":["傪"],lěi:["傫","儡","厽","垒","塁","壘","壨","櫐","灅","癗","矋","磊","礨","耒","蕌","蕾","藟","蘽","蠝","誄","讄","诔","鑸","鸓"],cuī:["催","凗","墔","崔","嵟","慛","摧","榱","獕","磪","鏙"],yōng:["傭","嗈","墉","壅","嫞","庸","廱","慵","拥","擁","滽","灉","牅","痈","癕","癰","臃","邕","郺","鄘","鏞","镛","雍","雝","饔","鱅","鳙","鷛"],"zāo cáo":["傮"],sǒng:["傱","嵷","怂","悚","愯","慫","竦","耸","聳","駷","㧐"],ào:["傲","坳","垇","墺","奡","嫯","岙","岰","嶴","懊","擙","澳","鏊","驁","骜"],"qī còu":["傶"],chuǎng:["傸","磢","闖","闯"],shǎ:["傻","儍"],hàn:["傼","垾","悍","憾","扞","捍","撖","撼","旱","晘","暵","汉","涆","漢","瀚","焊","猂","皔","睅","翰","莟","菡","蛿","蜭","螒","譀","輚","釬","銲","鋎","雗","頷","顄","颔","駻","鶾"],zhāng:["傽","嫜","张","張","彰","慞","暲","樟","漳","獐","璋","章","粻","蔁","蟑","遧","鄣","鏱","餦","騿","鱆","麞"],"yān yàn":["傿","墕","嬮"],"piào biāo":["僄","骠"],liàn:["僆","堜","媡","恋","戀","楝","殓","殮","湅","潋","澰","瀲","炼","煉","瑓","練","纞","练","萰","錬","鍊","鏈","链","鰊","𬶠"],màn:["㵘","僈","墁","幔","慢","曼","漫","澷","熳","獌","縵","缦","蔄","蘰","鄤","鏝","镘","𬜬"],"tàn tǎn":["僋"],yíng:["僌","営","塋","嬴","攍","楹","櫿","溁","溋","滢","潆","濙","濚","濴","瀅","瀛","瀠","瀯","灐","灜","熒","營","瑩","盁","盈","禜","籝","籯","縈","茔","荧","莹","萤","营","萦","萾","蓥","藀","蛍","蝇","蝿","螢","蠅","謍","贏","赢","迎","鎣"],dòng:["働","冻","凍","动","動","姛","戙","挏","栋","棟","湩","硐","胨","胴","腖","迵","霘","駧"],zhuàn:["僎","啭","囀","堟","撰","灷","瑑","篆","腞","蒃","襈","譔","饌","馔"],xiàng:["像","勨","向","嚮","姠","嶑","曏","橡","珦","缿","蟓","衖","襐","象","鐌","項","项","鱌"],shàn:["僐","善","墠","墡","嬗","擅","敾","椫","樿","歚","汕","灗","疝","磰","繕","缮","膳","蟮","蟺","訕","謆","譱","讪","贍","赡","赸","鄯","鐥","饍","騸","骟","鱓","鱔","鳝","𫮃"],"tuí tuǐ":["僓"],zǔn:["僔","噂","撙","譐"],pú:["僕","匍","圤","墣","濮","獛","璞","瞨","穙","莆","菐","菩","葡","蒱","蒲","贌","酺","鏷","镤"],láo:["僗","劳","労","勞","哰","崂","嶗","憥","朥","浶","牢","痨","癆","窂","簩","醪","鐒","铹","顟","髝","𫭼"],chǎng:["僘","厰","廠","敞","昶","氅","鋹","𬬮"],guāng:["僙","光","咣","垙","姯","洸","灮","炗","炚","炛","烡","珖","胱","茪","輄","銧","黆","𨐈"],liáo:["僚","嘹","嫽","寥","寮","尞","屪","嵺","嶚","嶛","廫","憀","敹","暸","橑","獠","璙","疗","療","竂","簝","繚","缭","聊","膋","膫","藔","蟟","豂","賿","蹘","辽","遼","飉","髎","鷯","鹩"],dèng:["僜","凳","墱","嶝","櫈","瞪","磴","覴","邓","鄧","隥"],"chán zhàn zhuàn":["僝"],bō:["僠","嶓","拨","撥","播","波","溊","玻","癶","盋","砵","碆","礡","缽","菠","袰","蹳","鉢","钵","餑","饽","驋","鱍","𬭛"],huì:["僡","匯","卉","喙","嘒","嚖","圚","嬒","寭","屶","屷","彗","彙","彚","徻","恚","恵","惠","慧","憓","懳","晦","暳","槥","橞","檅","櫘","汇","泋","滙","潓","烩","燴","獩","璤","瞺","硊","秽","穢","篲","絵","繪","绘","翙","翽","荟","蔧","蕙","薈","薉","蟪","詯","誨","諱","譓","譿","讳","诲","賄","贿","鐬","闠","阓","靧","頮","顪","颒","餯","𬤝","𬭬"],chuǎn:["僢","喘","舛","荈","踳"],"tiě jiàn":["僣"],sēng:["僧","鬙"],xiàn:["僩","僴","哯","垷","塪","姭","娊","宪","岘","峴","憲","撊","晛","橌","橺","涀","瀗","献","獻","现","現","県","睍","粯","糮","絤","綫","線","线","缐","羡","羨","腺","臔","臽","苋","莧","誢","豏","鋧","錎","限","陥","陷","霰","餡","馅","麲","鼸","𬀪","𪾢"],"yù jú":["僪"],"è wū":["僫"],"tóng zhuàng":["僮"],lǐn:["僯","凛","凜","廩","廪","懍","懔","撛","檁","檩","澟","癛","癝"],gù:["僱","凅","固","堌","崓","崮","故","梏","棝","牿","痼","祻","錮","锢","雇","顧","顾","鯝","鲴"],jiāng:["僵","壃","姜","橿","殭","江","畕","疅","礓","繮","缰","翞","茳","葁","薑","螀","螿","豇","韁","鱂","鳉"],mǐn:["僶","冺","刡","勄","悯","惽","愍","慜","憫","抿","敃","敏","敯","泯","潣","皿","笢","笽","簢","蠠","閔","閩","闵","闽","鰵","鳘","黽"],jìn:["僸","凚","噤","嚍","墐","壗","妗","嬧","搢","晉","晋","枃","殣","浕","浸","溍","濅","濜","烬","煡","燼","琎","瑨","璶","盡","祲","縉","缙","荩","藎","覲","觐","賮","贐","赆","近","进","進","靳","齽"],"jià jie":["價"],qiào:["僺","峭","帩","撬","殻","窍","竅","誚","诮","躈","陗","鞩","韒","髚"],pì:["僻","媲","嫓","屁","澼","甓","疈","譬","闢","鷿","鸊","䴙"],sài:["僿","簺","賽","赛"],"chán tǎn shàn":["儃"],"dāng dàng":["儅","当","闣"],xuān:["儇","喧","塇","媗","宣","愃","愋","揎","昍","暄","煊","煖","瑄","睻","矎","禤","箮","翧","翾","萱","萲","蓒","蕿","藼","蘐","蝖","蠉","諠","諼","譞","谖","軒","轩","鍹","駽","鰚","𫓶","𫍽"],"dān dàn":["儋","擔","瘅"],càn:["儏","澯","灿","燦","璨","粲","薒","謲"],"bīn bìn":["儐"],"án àn":["儑"],tái:["儓","坮","嬯","抬","擡","檯","炱","炲","籉","臺","薹","跆","邰","颱","鮐","鲐"],lán:["儖","兰","囒","婪","岚","嵐","幱","拦","攔","斓","斕","栏","欄","欗","澜","瀾","灆","灡","燣","燷","璼","篮","籃","籣","繿","葻","蓝","藍","蘫","蘭","褴","襕","襤","襴","襽","譋","讕","谰","躝","鑭","镧","闌","阑","韊","𬒗"],"nǐ yì ài yí":["儗"],méng:["儚","幪","曚","朦","橗","檬","氋","溕","濛","甍","甿","盟","礞","艨","莔","萌","蕄","虻","蝱","鄳","鄸","霿","靀","顭","饛","鯍","鸏","鹲","𫑡","㠓"],níng:["儜","凝","咛","嚀","嬣","柠","橣","檸","狞","獰","聍","聹","薴","鑏","鬡","鸋"],qióng:["儝","卭","宆","惸","憌","桏","橩","焪","焭","煢","熍","琼","瓊","睘","穷","穹","窮","竆","笻","筇","舼","茕","藑","藭","蛩","蛬","赹","跫","邛","銎","䓖"],liè:["儠","冽","列","劣","劽","埒","埓","姴","峛","巤","挒","捩","栵","洌","浖","烈","烮","煭","犣","猎","猟","獵","聗","脟","茢","蛚","趔","躐","迾","颲","鬛","鬣","鮤","鱲","鴷","䴕","𫚭"],kuǎng:["儣","夼","懭"],bào:["儤","勽","報","忁","报","抱","曓","爆","犦","菢","虣","蚫","豹","鉋","鑤","铇","骲","髱","鮑","鲍"],biāo:["儦","墂","幖","彪","标","標","滮","瀌","熛","爂","猋","瘭","磦","膘","臕","謤","贆","鏢","鑣","镖","镳","颮","颷","飆","飇","飈","飊","飑","飙","飚","驫","骉","髟"],zǎn:["儧","儹","噆","攅","昝","趱","趲"],háo:["儫","嗥","嘷","噑","嚎","壕","椃","毜","毫","濠","獆","獔","竓","籇","蚝","蠔","譹","豪"],qìng:["儬","凊","庆","慶","櫦","濪","碃","磬","罄","靘"],chèn:["儭","嚫","榇","櫬","疢","衬","襯","讖","谶","趁","趂","齓","齔","龀"],téng:["儯","幐","滕","漛","疼","籐","籘","縢","腾","藤","虅","螣","誊","謄","邆","駦","騰","驣","鰧","䲢"],"lǒng lóng lòng":["儱"],"chán chàn":["儳"],"ráng xiāng":["儴","勷"],"huì xié":["儶"],luó:["儸","攞","椤","欏","猡","玀","箩","籮","罗","羅","脶","腡","萝","蘿","螺","覼","逻","邏","鏍","鑼","锣","镙","饠","騾","驘","骡","鸁"],léi:["儽","嫘","檑","欙","瓃","畾","縲","纍","纝","缧","罍","羸","蔂","蘲","虆","轠","鐳","鑘","镭","雷","靁","鱩","鼺"],"nàng nāng":["儾"],"wù wū":["兀"],yǔn:["允","喗","夽","抎","殒","殞","狁","磒","荺","賱","鈗","阭","陨","隕","霣","馻","齫","齳"],zān:["兂","橵","簪","簮","糌","鐕","鐟","鵤"],yuán:["元","円","原","厡","厵","园","圆","圎","園","圓","垣","塬","媴","嫄","援","榞","榬","橼","櫞","沅","湲","源","溒","爰","猨","猿","笎","緣","縁","缘","羱","茒","薗","蝝","蝯","螈","袁","褤","謜","轅","辕","邍","邧","酛","鈨","鎱","騵","魭","鶢","鶰","黿","鼋","𫘪"],xiōng:["兄","兇","凶","匂","匈","哅","忷","恟","汹","洶","胷","胸","芎","訩","詾","讻"],chōng:["充","嘃","忡","憃","憧","摏","沖","浺","珫","罿","翀","舂","艟","茺","衝","蹖","㳘"],zhào:["兆","垗","旐","曌","枛","櫂","照","燳","狣","瞾","笊","罀","罩","羄","肁","肇","肈","詔","诏","赵","趙","鮡","𬶐"],"duì ruì yuè":["兊","兌","兑"],kè:["克","刻","勀","勊","堁","娔","客","恪","愙","氪","溘","碦","緙","缂","艐","衉","課","课","錁","锞","騍","骒"],tù:["兎","兔","堍","迌","鵵"],dǎng:["党","攩","欓","譡","讜","谠","黨","𣗋"],dōu:["兜","兠","唗","橷","篼","蔸"],huǎng:["兤","奛","幌","怳","恍","晄","炾","熀","縨","詤","謊","谎"],rù:["入","嗕","媷","扖","杁","洳","溽","縟","缛","蓐","褥","鳰"],nèi:["內","氝","氞","錗"],"yú shù":["兪"],"liù lù":["六"],han:["兯","爳"],tiān:["兲","天","婖","添","酟","靔","靝","黇"],"xīng xìng":["兴"],diǎn:["典","嚸","奌","婰","敟","椣","点","碘","蒧","蕇","踮","點"],"zī cí":["兹"],jiān:["兼","冿","囏","坚","堅","奸","姦","姧","尖","幵","惤","戋","戔","搛","椾","樫","櫼","歼","殱","殲","湔","瀐","瀸","煎","熞","熸","牋","瑊","睷","礛","礷","笺","箋","緘","縑","缄","缣","肩","艰","艱","菅","菺","葌","蒹","蔪","蕑","蕳","虃","譼","豜","鑯","雃","鞯","韀","韉","餰","馢","鰔","鰜","鰹","鲣","鳒","鵑","鵳","鶼","鹣","麉"],shòu:["兽","受","售","壽","夀","寿","授","狩","獣","獸","痩","瘦","綬","绶","膄"],jì:["兾","冀","剂","剤","劑","勣","坖","垍","塈","妓","季","寂","寄","廭","彑","徛","忌","悸","惎","懻","技","旡","既","旣","暨","暩","曁","梞","檕","檵","洎","漃","漈","瀱","痵","癠","禝","稩","稷","穄","穊","穧","紀","継","績","繋","繼","继","绩","罽","臮","芰","茍","茤","葪","蓟","蔇","薊","蘎","蘮","蘻","裚","襀","覬","觊","計","記","誋","计","记","跡","跽","蹟","迹","际","際","霁","霽","驥","骥","髻","鬾","魝","魥","鯚","鯽","鰶","鰿","鱀","鱭","鲚","鲫","鵋","鷑","齌","𪟝","𬶨","𬶭"],jiōng:["冂","冋","坰","埛","扃","蘏","蘔","駉","駫","𬳶"],mào:["冃","冐","媢","帽","愗","懋","暓","柕","楙","毷","瑁","皃","眊","瞀","耄","茂","萺","蝐","袤","覒","貌","貿","贸","鄚","鄮"],rǎn:["冄","冉","姌","媣","染","珃","苒","蒅","䎃"],"nèi nà":["内"],gāng:["冈","冮","刚","剛","堈","堽","岡","掆","摃","棡","牨","犅","疘","綱","纲","缸","罁","罡","肛","釭","鎠","㭎"],cè:["冊","册","厕","厠","夨","廁","恻","惻","憡","敇","测","測","笧","策","筞","筴","箣","荝","萗","萴","蓛"],guǎ:["冎","剐","剮","叧","寡"],"mào mò":["冒"],gòu:["冓","啂","坸","垢","够","夠","媾","彀","搆","撀","构","構","煹","覯","觏","訽","詬","诟","購","购","遘","雊"],xǔ:["冔","喣","暊","栩","珝","盨","糈","詡","諿","诩","鄦","醑"],mì:["冖","冪","嘧","塓","宻","密","峚","幂","幎","幦","怽","榓","樒","櫁","汨","淧","滵","漞","濗","熐","羃","蔤","蜜","覓","覔","覛","觅","謐","谧","鼏"],"yóu yín":["冘"],xiě:["写","冩","藛"],jūn:["军","君","均","桾","汮","皲","皸","皹","碅","莙","蚐","袀","覠","軍","鈞","銁","銞","鍕","钧","頵","鮶","鲪","麏"],mí:["冞","擟","瀰","爢","猕","獼","祢","禰","縻","蒾","藌","蘪","蘼","袮","詸","謎","迷","醚","醾","醿","釄","镾","鸍","麊","麋","麛"],"guān guàn":["冠","覌","観","觀","观"],měng:["冡","勐","懵","掹","猛","獴","艋","蜢","蠓","錳","锰","鯭","鼆"],zhǒng:["冢","塚","尰","歱","煄","瘇","肿","腫","踵"],zuì:["冣","嶵","晬","最","栬","槜","檇","檌","祽","絊","罪","蕞","辠","酔","酻","醉","錊"],yuān:["冤","剈","囦","嬽","寃","棩","淵","渁","渆","渊","渕","灁","眢","肙","葾","蒬","蜎","蜵","駌","鳶","鴛","鵷","鸢","鸳","鹓","鼘","鼝"],míng:["冥","名","明","暝","朙","榠","洺","溟","猽","眀","眳","瞑","茗","螟","覭","詺","鄍","銘","铭","鳴","鸣"],kòu:["冦","叩","宼","寇","扣","敂","滱","窛","筘","簆","蔲","蔻","釦","鷇"],tài:["冭","太","夳","忲","态","態","汰","汱","泰","溙","肽","舦","酞","鈦","钛"],"féng píng":["冯","馮"],"chōng chòng":["冲"],kuàng:["况","圹","壙","岲","懬","旷","昿","曠","框","況","爌","眖","眶","矿","砿","礦","穬","絋","絖","纊","纩","貺","贶","軦","邝","鄺","鉱","鋛","鑛","黋"],lěng:["冷"],pàn:["冸","判","叛","沜","泮","溿","炍","牉","畔","盼","聁","袢","襻","詊","鋬","鑻","頖","鵥"],fā:["冹","彂","沷","発","發"],xiǎn:["冼","尟","尠","崄","嶮","幰","攇","显","櫶","毨","灦","烍","燹","狝","猃","獫","獮","玁","禒","筅","箲","藓","蘚","蚬","蜆","譣","赻","跣","鍌","险","険","險","韅","顕","顯","㬎"],qià:["冾","圶","帢","恰","殎","洽","硈","胢","髂"],"jìng chēng":["净","凈","淨"],sōu:["凁","嗖","廀","廋","捜","搜","摉","溲","獀","艘","蒐","螋","鄋","醙","鎪","锼","颼","飕","餿","馊","騪"],měi:["凂","媄","媺","嬍","嵄","挴","毎","每","浼","渼","燘","美","躾","鎂","镁","黣"],tú:["凃","図","图","圖","圗","塗","屠","峹","嵞","庩","廜","徒","悇","揬","涂","瘏","筡","腯","荼","蒤","跿","途","酴","鈯","鍎","馟","駼","鵌","鶟","鷋","鷵","𬳿"],zhǔn:["准","凖","埻","準","𬘯"],"liáng liàng":["凉","涼","量"],diāo:["凋","刁","刟","叼","奝","弴","彫","汈","琱","碉","簓","虭","蛁","貂","錭","雕","鮉","鯛","鲷","鵰","鼦"],còu:["凑","湊","腠","輳","辏"],ái:["凒","啀","嘊","捱","溰","癌","皑","皚"],duó:["凙","剫","夺","奪","痥","踱","鈬","鐸","铎"],dú:["凟","匵","嬻","椟","櫝","殰","涜","牍","牘","犊","犢","独","獨","瓄","皾","裻","読","讀","讟","豄","贕","錖","鑟","韇","韣","韥","騳","髑","黩","黷"],"jǐ jī":["几"],fán:["凡","凢","凣","匥","墦","杋","柉","棥","樊","瀿","烦","煩","燔","璠","矾","礬","笲","籵","緐","羳","舤","舧","薠","蘩","蠜","襎","蹯","釩","鐇","鐢","钒","鷭","𫔍","𬸪"],jū:["凥","匊","娵","婮","居","崌","抅","挶","掬","梮","椐","檋","毩","毱","泃","涺","狙","琚","疽","砠","罝","腒","艍","蜛","裾","諊","跔","踘","躹","陱","雎","鞠","鞫","駒","驹","鮈","鴡","鶋","𬶋"],"chù chǔ":["処","处"],zhǐ:["凪","劧","咫","址","坧","帋","恉","扺","指","旨","枳","止","汦","沚","洔","淽","疻","砋","祉","秖","紙","纸","芷","藢","衹","襧","訨","趾","軹","轵","酯","阯","黹"],píng:["凭","凴","呯","坪","塀","岼","帡","帲","幈","平","慿","憑","枰","洴","焩","玶","瓶","甁","竮","箳","簈","缾","荓","萍","蓱","蚲","蛢","評","评","軿","輧","郱","鮃","鲆"],kǎi:["凯","凱","剀","剴","垲","塏","恺","愷","慨","暟","蒈","輆","鍇","鎧","铠","锴","闓","闿","颽"],gān:["凲","坩","尲","尴","尶","尷","柑","泔","漧","玕","甘","疳","矸","竿","筸","粓","肝","苷","迀","酐","魐"],"kǎn qiǎn":["凵"],tū:["凸","堗","嶀","捸","涋","湥","痜","禿","秃","突","葖","鋵","鵚","鼵","㻬"],"āo wā":["凹"],chū:["出","初","岀","摴","榋","樗","貙","齣","䢺","䝙"],dàng:["凼","圵","垱","壋","档","檔","氹","璗","瓽","盪","瞊","砀","碭","礑","簜","荡","菪","蕩","蘯","趤","逿","雼","𬍡"],hán:["函","凾","含","圅","娢","寒","崡","晗","梒","浛","涵","澏","焓","琀","甝","筨","蜬","邗","邯","鋡","韓","韩"],záo:["凿","鑿"],dāo:["刀","刂","忉","氘","舠","螩","釖","魛","鱽"],chuāng:["刅","摐","牎","牕","疮","瘡","窓","窗","窻"],"fēn fèn":["分"],"qiè qiē":["切"],kān:["刊","勘","堪","戡","栞","龕","龛"],cǔn:["刌","忖"],chú:["刍","厨","幮","廚","橱","櫉","櫥","滁","犓","篨","耡","芻","蒢","蒭","蜍","蟵","豠","趎","蹰","躇","躕","鉏","鋤","锄","除","雏","雛","鶵"],"huà huá":["划"],lí:["刕","剓","剺","劙","厘","喱","嚟","囄","嫠","孷","廲","悡","梨","梸","棃","漓","灕","犁","犂","狸","琍","璃","瓈","盠","睝","离","穲","竰","筣","篱","籬","糎","縭","缡","罹","艃","荲","菞","蓠","蔾","藜","蘺","蜊","蟍","蟸","蠫","褵","謧","貍","醨","鋫","錅","鏫","鑗","離","驪","骊","鯏","鯬","鱺","鲡","鵹","鸝","鹂","黎","黧","㰀"],yuè:["刖","嬳","岄","岳","嶽","恱","悅","悦","戉","抈","捳","月","樾","瀹","爚","玥","礿","禴","篗","籆","籥","籰","粤","粵","蘥","蚎","蚏","説","越","跀","跃","躍","軏","鈅","鉞","鑰","钺","閱","閲","阅","鸑","鸙","黦","龠","𫐄","𬸚"],liú:["刘","劉","嚠","媹","嵧","旈","旒","榴","橊","流","浏","瀏","琉","瑠","瑬","璢","畄","留","畱","疁","瘤","癅","硫","蒥","蓅","蟉","裗","鎏","鏐","鐂","镠","飀","飅","飗","駠","駵","騮","驑","骝","鰡","鶹","鹠","麍"],zé:["则","則","啧","嘖","嫧","帻","幘","択","樍","歵","沢","泎","溭","皟","瞔","矠","礋","箦","簀","舴","蔶","蠌","襗","謮","賾","赜","迮","鸅","齚","齰"],"chuàng chuāng":["创","創"],qù:["刞","厺","去","閴","闃","阒","麮","鼁"],"bié biè":["別","别"],"páo bào":["刨"],"chǎn chàn":["刬","剗","幝"],guā:["刮","劀","桰","歄","煱","瓜","胍","踻","颪","颳","騧","鴰","鸹"],gēng:["刯","庚","椩","浭","焿","畊","絚","羮","羹","耕","菮","賡","赓","鶊","鹒"],dào:["到","噵","悼","椡","檤","燾","瓙","盗","盜","稲","稻","纛","翿","艔","菿","衜","衟","軇","道"],chuàng:["刱","剏","剙","怆","愴"],kū:["刳","哭","圐","堀","枯","桍","矻","窟","跍","郀","骷","鮬"],duò:["刴","剁","墯","尮","惰","憜","挅","桗","舵","跥","跺","陊","陏","飿","饳","鵽"],"shuā shuà":["刷"],"quàn xuàn":["券"],"chà shā":["刹","剎"],"cì cī":["刺"],guì:["刽","刿","劊","劌","撌","攰","昋","桂","椢","槶","樻","櫃","猤","禬","筀","蓕","襘","貴","贵","跪","鐀","鑎","鞼","鱖","鱥"],lóu:["剅","娄","婁","廔","楼","樓","溇","漊","熡","耧","耬","艛","蒌","蔞","蝼","螻","謱","軁","遱","鞻","髅","髏","𪣻"],cuò:["剉","剒","厝","夎","挫","措","棤","莝","莡","蓌","逪","銼","錯","锉","错"],"xiāo xuē":["削"],"kēi kè":["剋","尅"],"là lá":["剌"],tī:["剔","梯","踢","銻","锑","鷈","鷉","䏲","䴘"],pōu:["剖"],wān:["剜","塆","壪","帵","弯","彎","湾","潫","灣","睕","蜿","豌"],"bāo bō":["剝","剥"],duō:["剟","咄","哆","嚉","多","夛","掇","毲","畓","裰","㙍"],qíng:["剠","勍","夝","情","擎","晴","暒","棾","樈","檠","氰","甠","硘","葝","黥"],"yǎn shàn":["剡"],"dū zhuó":["剢"],yān:["剦","嫣","崦","嶖","恹","懕","懨","樮","淊","淹","漹","烟","焉","焑","煙","珚","篶","胭","臙","菸","鄢","醃","閹","阉","黫"],huō:["剨","劐","吙","攉","秴","耠","锪","騞","𬴃"],shèng:["剩","剰","勝","圣","墭","嵊","晠","榺","橳","琞","聖","蕂","貹","賸"],"duān zhì":["剬"],wū:["剭","呜","嗚","圬","屋","巫","弙","杇","歍","汙","汚","污","洿","烏","窏","箼","螐","誈","誣","诬","邬","鄔","鎢","钨","鰞","鴮"],gē:["割","哥","圪","彁","戈","戓","戨","歌","滒","犵","肐","袼","謌","鎶","鴚","鴿","鸽"],"dá zhá":["剳"],chuán:["剶","暷","椽","篅","舡","舩","船","輲","遄"],"tuán zhuān":["剸","漙","篿"],"lù jiū":["剹"],pēng:["剻","匉","嘭","怦","恲","抨","梈","烹","砰","軯","駍"],piāo:["剽","勡","慓","旚","犥","翲","螵","飃","飄","飘","魒"],kōu:["剾","彄","抠","摳","眍","瞘","芤","𫸩"],"jiǎo chāo":["剿","劋","勦","摷"],qiāo:["劁","勪","墝","幧","敲","橇","毃","燆","硗","磽","繑","趬","跷","踍","蹺","蹻","郻","鄡","鄥","鍫","鍬","鐰","锹","頝"],"huá huà":["劃"],"zhā zhá":["劄"],"pī pǐ":["劈","悂"],tāng:["劏","嘡","羰","薚","蝪","蹚","鞺","鼞"],chán:["劖","嚵","壥","婵","嬋","巉","廛","棎","毚","湹","潹","潺","澶","瀍","瀺","煘","獑","磛","緾","纏","纒","缠","艬","蝉","蟐","蟬","蟾","誗","讒","谗","躔","鄽","酁","鋋","鑱","镵","饞","馋"],zuān:["劗","躜","躦","鉆","鑚"],mó:["劘","嫫","嬤","嬷","尛","摹","擵","橅","糢","膜","藦","蘑","謨","謩","谟","饃","饝","馍","髍","魔","魹"],zhú:["劚","斸","曯","欘","灟","炢","烛","燭","爥","瘃","竹","笁","笜","舳","茿","蓫","蠋","蠾","躅","逐","逫","钃","鱁"],quàn:["劝","勧","勸","牶","韏"],"jìn jìng":["劤","劲","勁"],kēng:["劥","坑","牼","硁","硜","誙","銵","鍞","鏗","铿","阬"],"xié liè":["劦"],"zhù chú":["助"],nǔ:["努","弩","砮","胬"],shào:["劭","卲","哨","潲","紹","綤","绍","袑","邵"],miǎo:["劰","杪","淼","渺","眇","秒","篎","緲","缈","藐","邈"],kǒu:["劶","口"],wā:["劸","娲","媧","屲","挖","攨","洼","溛","漥","瓾","畖","穵","窊","窪","蛙","韈","鼃"],kuāng:["劻","匡","匩","哐","恇","洭","筐","筺","誆","诓","軭","邼"],hé:["劾","咊","啝","姀","峆","敆","曷","柇","楁","毼","河","涸","渮","澕","熆","皬","盇","盉","盍","盒","禾","篕","籺","粭","翮","菏","萂","覈","訸","詥","郃","釛","鉌","鑉","閡","闔","阂","阖","鞨","頜","餄","饸","魺","鹖","麧","齕","龁","龢","𬌗"],gào:["勂","吿","告","峼","祮","祰","禞","筶","誥","诰","郜","鋯","锆"],"bó bèi":["勃"],láng:["勆","嫏","廊","斏","桹","榔","樃","欴","狼","琅","瑯","硠","稂","艆","蓈","蜋","螂","躴","郒","郞","鋃","鎯","锒"],xūn:["勋","勛","勲","勳","嚑","坃","埙","塤","壎","壦","曛","燻","獯","矄","纁","臐","薫","薰","蘍","醺","𫄸"],"juàn juān":["勌","瓹"],"lè lēi":["勒"],kài:["勓","炌","烗","鎎"],"wěng yǎng":["勜"],qín:["勤","嗪","噙","嶜","庈","懃","懄","捦","擒","斳","檎","澿","珡","琴","琹","瘽","禽","秦","耹","芩","芹","菦","螓","蠄","鈙","鈫","雂","靲","鳹","鵭"],jiàng:["勥","匞","匠","嵹","弜","弶","摾","櫤","洚","滰","犟","糡","糨","絳","绛","謽","酱","醤","醬"],fān:["勫","嬏","帆","幡","忛","憣","旙","旛","繙","翻","藩","轓","颿","飜","鱕"],juān:["勬","姢","娟","捐","涓","蠲","裐","鎸","鐫","镌","鹃"],"tóng dòng":["勭","烔","燑","狪"],lǜ:["勴","垏","嵂","律","慮","氯","滤","濾","爈","箻","綠","繂","膟","葎","虑","鑢"],chè:["勶","坼","彻","徹","掣","撤","澈","烢","爡","瞮","硩","聅","迠","頙","㬚"],sháo:["勺","玿","韶"],"gōu gòu":["勾"],cōng:["匆","囪","囱","忩","怱","悤","暰","樬","漗","瑽","璁","瞛","篵","繱","聡","聦","聪","聰","苁","茐","葱","蓯","蔥","蟌","鍯","鏓","鏦","騘","驄","骢"],"táo yáo":["匋","陶"],páo:["匏","咆","垉","庖","爮","狍","袍","褜","軳","鞄","麅"],dá:["匒","妲","怛","炟","燵","畣","笪","羍","荙","薘","蟽","詚","达","迏","迖","迚","逹","達","鐽","靼","鞑","韃","龖","龘","𫟼"],"huà huā":["化"],"běi bèi":["北"],nǎo:["匘","垴","堖","嫐","恼","悩","惱","瑙","碯","脑","脳","腦"],"chí shi":["匙"],fāng:["匚","堏","方","淓","牥","芳","邡","鈁","錺","钫","鴋"],zā:["匝","咂","帀","沞","臜","臢","迊","鉔","魳"],qiè:["匧","厒","妾","怯","悏","惬","愜","挈","穕","窃","竊","笡","箧","篋","籡","踥","鍥","锲","鯜"],"zāng cáng":["匨"],fěi:["匪","奜","悱","棐","榧","篚","翡","蕜","誹","诽"],"kuì guì":["匮","匱"],suǎn:["匴"],pǐ:["匹","噽","嚭","圮","庀","痞","癖","脴","苉","銢","鴄"],"qū ōu":["区","區"],"kē qià":["匼"],"yǎn yàn":["匽","棪"],biǎn:["匾","惼","揙","碥","稨","窆","藊","褊","貶","贬","鴘"],nì:["匿","堄","嫟","嬺","惄","愵","昵","暱","氼","眤","睨","縌","胒","腻","膩","逆","𨺙"],niàn:["卄","唸","埝","廿","念","惗","艌"],sà:["卅","櫒","脎","萨","蕯","薩","鈒","隡","颯","飒","馺"],zú:["卆","哫","崪","族","箤","足","踤","镞"],shēng:["升","呏","声","斘","昇","曻","枡","殅","泩","湦","焺","牲","珄","生","甥","竔","笙","聲","鉎","鍟","阩","陞","陹","鵿","鼪"],wàn:["卍","卐","忨","杤","瞣","脕","腕","萬","蟃","贎","輐","錽","𬇕"],"huá huà huā":["华","華"],bēi:["卑","悲","揹","杯","桮","盃","碑","藣","鵯","鹎"],"zú cù":["卒"],"dān shàn chán":["单","單"],"nán nā":["南"],"shuài lǜ":["卛"],"bǔ bo pú":["卜"],"kuàng guàn":["卝"],biàn:["卞","变","変","峅","弁","徧","忭","抃","昪","汳","汴","玣","艑","苄","覍","諚","變","辡","辧","辨","辩","辫","辮","辯","遍","釆","𨚕"],bǔ:["卟","哺","捕","补","補","鸔","𬷕"],"zhàn zhān":["占","覱"],"kǎ qiǎ":["卡"],lú:["卢","嚧","垆","壚","庐","廬","曥","枦","栌","櫨","泸","瀘","炉","爐","獹","玈","瓐","盧","矑","籚","纑","罏","胪","臚","舮","舻","艫","芦","蘆","蠦","轤","轳","鈩","鑪","顱","颅","馿","髗","魲","鱸","鲈","鸕","鸬","黸","𬬻"],lǔ:["卤","塷","掳","擄","樐","橹","櫓","氌","滷","澛","瀂","硵","磠","穞","艣","艪","蓾","虏","虜","鏀","鐪","鑥","镥","魯","鲁","鹵"],guà:["卦","啩","挂","掛","罣","褂","詿","诖"],"áng yǎng":["卬"],yìn:["印","垽","堷","廕","慭","憖","憗","懚","洕","湚","猌","癊","胤","茚","酳","鮣","䲟"],què:["却","卻","塙","崅","悫","愨","慤","搉","榷","燩","琷","皵","确","確","礭","闋","阕","鵲","鹊","𬒈"],luǎn:["卵"],"juàn juǎn":["卷","巻"],"chǎng ān hàn":["厂"],"wěi yán":["厃"],tīng:["厅","厛","听","庁","廰","廳","汀","烃","烴","綎","耓","聴","聼","聽","鞓","𬘩"],"zhé zhái":["厇"],"hàn àn":["厈","屽"],yǎ:["厊","唖","庌","痖","瘂","蕥"],shè:["厍","厙","弽","慑","慴","懾","摂","欇","涉","涻","渉","滠","灄","社","舎","蔎","蠂","設","设","赦","騇","麝"],dǐ:["厎","呧","坘","弤","抵","拞","掋","牴","砥","菧","觝","詆","诋","軧","邸","阺","骶","鯳"],"zhǎ zhǎi":["厏"],páng:["厐","嫎","庞","徬","舽","螃","逄","鰟","鳑","龎","龐"],"zhì shī":["厔"],máng:["厖","吂","哤","娏","忙","恾","杗","杧","汒","浝","牻","痝","盲","硭","笀","芒","茫","蘉","邙","釯","鋩","铓","駹"],zuī:["厜","樶","纗","蟕"],"shà xià":["厦","廈"],áo:["厫","嗷","嗸","廒","敖","滶","獒","獓","璈","翱","翶","翺","聱","蔜","螯","謷","謸","遨","鏖","隞","鰲","鳌","鷔","鼇"],"lán qiān":["厱"],"sī mǒu":["厶"],"gōng hóng":["厷"],"lín miǎo":["厸"],"qiú róu":["厹"],dū:["厾","嘟","督","醏"],"xiàn xuán":["县","縣"],"cān shēn cēn sān":["参","參","叄","叅"],"ài yǐ":["叆"],"chā chà chǎ chá":["叉"],shuāng:["双","孀","孇","欆","礵","艭","雙","霜","騻","驦","骦","鷞","鸘","鹴"],shōu:["収","收"],guái:["叏"],bá:["叐","妭","抜","拔","炦","癹","胈","茇","菝","詙","跋","軷","魃","鼥"],"fā fà":["发"],"zhuó yǐ lì jué":["叕"],qǔ:["取","娶","竬","蝺","詓","齲","龋"],"jiǎ xiá":["叚","徦"],"wèi yù":["叞","尉","蔚"],dié:["叠","垤","堞","峌","幉","恎","惵","戜","曡","殜","氎","牃","牒","瓞","畳","疂","疉","疊","碟","絰","绖","耊","耋","胅","艓","苵","蜨","蝶","褋","詄","諜","谍","跮","蹀","迭","镻","鰈","鲽","鴩","𫶇"],ruì:["叡","枘","汭","瑞","睿","芮","蚋","蜹","銳","鋭","锐"],"jù gōu":["句"],lìng:["另","呤","炩","蘦"],"dāo dáo tāo":["叨"],"zhī zhǐ":["只"],jiào:["叫","呌","嘂","嘦","噍","嬓","斍","斠","滘","漖","獥","珓","皭","窖","藠","訆","譥","趭","較","轎","轿","较","酵","醮","釂"],"zhào shào":["召"],"kě kè":["可"],"tái tāi":["台","苔"],pǒ:["叵","尀","笸","箥","鉕","钷","駊"],"yè xié":["叶"],"hào háo":["号"],tàn:["叹","嘆","探","歎","湠","炭","碳","舕"],"hōng hóng":["叿"],miē:["吀","咩","哶","孭"],"xū yū yù":["吁"],chī:["吃","哧","喫","嗤","噄","妛","媸","彨","彲","摛","攡","殦","瓻","痴","癡","眵","瞝","笞","粚","胵","蚩","螭","訵","魑","鴟","鵄","鸱","黐","齝","𫄨"],"xuān sòng":["吅"],yāo:["吆","喓","夭","妖","幺","楆","殀","祅","腰","葽","訞","邀","鴁","鴢","㙘"],zǐ:["吇","姉","姊","子","杍","梓","榟","橴","滓","矷","秭","笫","籽","紫","耔","虸","訿","釨"],"hé gě":["合","鲄"],"cùn dòu":["吋"],"tóng tòng":["同"],"tǔ tù":["吐","唋"],"zhà zhā":["吒","奓"],"xià hè":["吓"],"ā yā":["吖"],"ma má mǎ":["吗"],lìn:["吝","恡","悋","橉","焛","甐","膦","蔺","藺","賃","赁","蹸","躏","躙","躪","轥","閵"],tūn:["吞","暾","朜","焞"],"bǐ pǐ":["吡"],qìn:["吢","吣","唚","抋","揿","搇","撳","沁","瀙","菣","藽"],"jiè gè":["吤"],"fǒu pǐ":["否"],"ba bā":["吧"],dūn:["吨","噸","墩","墪","惇","撉","撴","犜","獤","礅","蜳","蹾","驐"],fēn:["吩","帉","昐","朆","梤","棻","氛","竕","紛","纷","翂","芬","衯","訜","躮","酚","鈖","雰","餴","饙","馚"],"é huā":["吪"],"kēng háng":["吭","妔"],shǔn:["吮"],"zhī zī":["吱"],"yǐn shěn":["吲"],wú:["吳","吴","呉","墲","峿","梧","橆","毋","洖","浯","無","珸","璑","祦","芜","茣","莁","蕪","蜈","蟱","譕","郚","鋙","铻","鯃","鵐","鷡","鹀","鼯"],"chǎo chāo":["吵"],"nà nè":["吶"],"xuè chuò jué":["吷"],chuī:["吹","炊","龡"],"dōu rú":["吺"],hǒu:["吼","犼"],"hōng hǒu ōu":["吽"],"wú yù":["吾"],"ya yā":["呀"],"è e":["呃"],dāi:["呆","懛","獃"],"mèn qǐ":["呇"],hōng:["呍","嚝","揈","灴","烘","焢","硡","薨","訇","谾","軣","輷","轟","轰","鍧"],nà:["呐","捺","笝","納","纳","肭","蒳","衲","豽","貀","軜","郍","鈉","钠","靹","魶"],"tūn tiān":["呑"],"fǔ ḿ":["呒","嘸"],"dāi tǎi":["呔"],"ǒu ōu òu":["呕"],"bài bei":["呗"],"yuán yún yùn":["员","員"],guō:["呙","啯","嘓","埚","堝","墎","崞","彉","彍","懖","猓","瘑","聒","蝈","蟈","郭","鈛","鍋","锅"],"huá qì":["呚"],"qiàng qiāng":["呛","跄"],shī:["呞","失","尸","屍","师","師","施","浉","湤","湿","溮","溼","濕","狮","獅","瑡","絁","葹","蒒","蓍","虱","蝨","褷","襹","詩","诗","邿","釃","鉇","鍦","鯴","鰤","鲺","鳲","鳾","鶳","鸤","䴓","𫚕"],juǎn:["呟","埍","臇","菤","錈","锩"],pěn:["呠","翸"],"wěn mǐn":["呡"],"ne ní":["呢"],"ḿ m̀ móu":["呣"],rán:["呥","嘫","然","燃","繎","肰","蚦","蚺","衻","袇","袡","髥","髯"],"tiè chè":["呫"],"qì zhī":["呮"],"zǐ cī":["呰"],"guā gū guǎ":["呱"],"cī zī":["呲"],"hǒu xǔ gòu":["呴"],"hē ā á ǎ à a":["呵"],náo:["呶","夒","峱","嶩","巎","挠","撓","猱","硇","蛲","蟯","詉","譊","鐃","铙"],"xiā gā":["呷"],pēi:["呸","怌","肧","胚","衃","醅"],"háo xiāo":["呺"],mìng:["命","掵"],"dá dàn":["呾"],"zuǐ jǔ":["咀"],"xián gān":["咁"],pǒu:["咅","哣","犃"],"yǎng yāng":["咉"],"zǎ zé zhā":["咋"],"hé hè huó huò hú":["和"],hāi:["咍"],dā:["咑","哒","噠","墶","搭","撘","耷","褡","鎝","𨱏"],"kǎ kā":["咔"],gū:["咕","唂","唃","姑","嫴","孤","巬","巭","柧","橭","沽","泒","稒","笟","箍","箛","篐","罛","苽","菇","菰","蓇","觚","軱","軲","轱","辜","酤","鈲","鮕","鴣","鸪"],"kā gā":["咖"],zuo:["咗"],lóng:["咙","嚨","嶐","巃","巄","昽","曨","朧","栊","槞","櫳","湰","滝","漋","爖","珑","瓏","癃","眬","矓","砻","礱","礲","窿","竜","聋","聾","胧","茏","蘢","蠪","蠬","襱","豅","鏧","鑨","霳","靇","驡","鸗","龍","龒","龙"],"xiàn xián":["咞"],qì:["咠","唭","噐","器","夡","弃","憇","憩","暣","棄","欫","气","気","氣","汔","汽","泣","湆","湇","炁","甈","盵","矵","碛","碶","磜","磧","罊","芞","葺","藒","蟿","訖","讫","迄","鐑"],"xì dié":["咥"],"liē liě lié lie":["咧"],zī:["咨","嗞","姕","姿","孜","孳","孶","崰","嵫","栥","椔","淄","湽","滋","澬","玆","禌","秶","粢","紎","緇","緕","纃","缁","茊","茲","葘","諮","谘","貲","資","赀","资","赼","趑","趦","輜","輺","辎","鄑","鈭","錙","鍿","鎡","锱","镃","頾","頿","髭","鯔","鰦","鲻","鶅","鼒","齍","齜","龇"],mī:["咪"],"jī xī qià":["咭"],"gē luò kǎ lo":["咯"],"shù xún":["咰"],"zán zá zǎ zan":["咱"],"hāi ké":["咳"],huī:["咴","噅","噕","婎","媈","幑","徽","恢","拻","挥","揮","晖","暉","楎","洃","瀈","灰","灳","烣","睳","禈","翚","翬","蘳","袆","褘","詼","诙","豗","輝","辉","鰴","麾","㧑"],"huài shì":["咶"],táo:["咷","啕","桃","檮","洮","淘","祹","綯","绹","萄","蜪","裪","迯","逃","醄","鋾","鞀","鞉","饀","駣","騊","鼗","𫘦"],xián:["咸","啣","娴","娹","婱","嫌","嫺","嫻","弦","挦","撏","涎","湺","澖","甉","痫","癇","癎","絃","胘","舷","藖","蚿","蛝","衔","衘","誸","諴","賢","贒","贤","輱","醎","銜","鑦","閑","闲","鷳","鷴","鷼","鹇","鹹","麙","𫍯"],"è àn":["咹"],"xuān xuǎn":["咺","烜"],"wāi hé wǒ guǎ guō":["咼"],"yàn yè yān":["咽"],āi:["哀","哎","埃","溾","銰","鎄","锿"],pǐn:["品","榀"],shěn:["哂","婶","嬸","审","宷","審","弞","曋","渖","瀋","瞫","矤","矧","覾","訠","諗","讅","谂","谉","邥","頣","魫"],"hǒng hōng hòng":["哄"],"wā wa":["哇"],"hā hǎ hà":["哈"],zāi:["哉","栽","渽","溨","災","灾","烖","睵","賳"],"dì diè":["哋"],pài:["哌","沠","派","渒","湃","蒎","鎃"],"gén hěn":["哏"],"yǎ yā":["哑","雅"],"yuě huì":["哕","噦"],nián:["哖","年","秊","秥","鮎","鯰","鲇","鲶","鵇","黏"],"huá huā":["哗","嘩"],"jì jiē zhāi":["哜","嚌"],mōu:["哞"],"yō yo":["哟","喲"],lòng:["哢","梇","贚"],"ò ó é":["哦"],"lī lǐ li":["哩"],"nǎ na nǎi né něi":["哪"],hè:["哬","垎","壑","寉","惒","焃","煂","燺","爀","癋","碋","翯","褐","謞","賀","贺","赫","靍","靎","靏","鶴","鸖","鹤"],"bō pò bā":["哱"],zhé:["哲","啠","喆","嚞","埑","悊","摺","晢","晣","歽","矺","砓","磔","籷","粍","虴","蛰","蟄","袩","詟","謫","謺","讁","讋","谪","輒","輙","轍","辄","辙","鮿"],"liàng láng":["哴"],"liè lǜ":["哷"],hān:["哻","憨","蚶","谽","酣","頇","顸","馠","魽","鼾"],"hēng hng":["哼"],gěng:["哽","埂","峺","挭","梗","綆","绠","耿","莄","郠","骾","鯁","鲠","𬒔"],"chuò yuè":["哾"],"gě jiā":["哿"],"bei bài":["唄"],"hán hàn":["唅"],chún:["唇","浱","湻","滣","漘","犉","純","纯","脣","莼","蒓","蓴","醇","醕","錞","陙","鯙","鶉","鹑","𬭚"],"ài āi":["唉"],"jiá qiǎn":["唊"],"yán dàn xián":["唌"],chē:["唓","砗","硨","莗","蛼"],"wú ńg ń":["唔"],zào:["唕","唣","噪","慥","梍","灶","煰","燥","皁","皂","竃","竈","簉","艁","譟","趮","躁","造","𥖨"],dí:["唙","啇","嘀","嚁","嫡","廸","敌","敵","梑","涤","滌","狄","笛","籴","糴","苖","荻","蔋","蔐","藡","覿","觌","豴","迪","靮","頔","馰","髢","鸐","𬱖"],"gòng hǒng gǒng":["唝","嗊"],dóu:["唞"],"lào láo":["唠","嘮","憦"],huàn:["唤","喚","奂","奐","宦","嵈","幻","患","愌","换","換","擐","攌","梙","槵","浣","涣","渙","漶","澣","烉","焕","煥","瑍","痪","瘓","睆","肒","藧","豢","轘","逭","鯇","鯶","鰀","鲩"],léng:["唥","塄","楞","碐","薐"],"wō wěi":["唩"],fěng:["唪","覂","諷","讽"],"yín jìn":["唫"],"hǔ xià":["唬"],wéi:["唯","围","圍","壝","峗","峞","嵬","帏","帷","幃","惟","桅","沩","洈","涠","湋","溈","潍","潙","潿","濰","犩","矀","維","维","蓶","覹","违","違","鄬","醀","鍏","闈","闱","韋","韦","鮠","𣲗","𬶏"],shuā:["唰"],chàng:["唱","怅","悵","暢","焻","畅","畼","誯","韔","鬯"],"ér wā":["唲"],qiàng:["唴","炝","熗","羻"],yō:["唷"],yū:["唹","淤","瘀","盓","箊","紆","纡","込","迂","迃","陓"],lài:["唻","濑","瀨","瀬","癞","癩","睐","睞","籁","籟","藾","賚","賴","赉","赖","頼","顂","鵣"],tuò:["唾","嶞","柝","毤","毻","箨","籜","萚","蘀","跅"],"zhōu zhāo tiào":["啁"],kěn:["啃","垦","墾","恳","懇","肎","肯","肻","豤","錹"],"zhuó zhào":["啅","濯"],"hēng hèng":["啈","悙"],"lín lán":["啉"],"a ā á ǎ à":["啊"],qiāng:["啌","嗴","嶈","戕","摤","斨","枪","槍","溬","牄","猐","獇","羌","羗","腔","蜣","謒","鏘","锖","锵"],"tūn zhūn xiāng duǐ":["啍"],wèn:["問","妏","揾","搵","璺","问","顐"],"cuì qi":["啐"],"dié shà jié tì":["啑"],"yuē wā":["啘"],"zǐ cǐ":["啙"],"bǐ tú":["啚"],"chuò chuài":["啜"],"yǎ yā è":["啞"],fēi:["啡","婓","婔","扉","暃","渄","猆","緋","绯","裶","霏","非","靟","飛","飝","飞","餥","馡","騑","騛","鯡","鲱","𬴂"],pí:["啤","壀","枇","毗","毘","焷","琵","疲","皮","篺","罴","羆","脾","腗","膍","蚍","蚽","蜱","螷","蠯","豼","貔","郫","鈹","阰","陴","隦","魮","鮍","鲏","鵧","鼙"],shá:["啥"],"lā la":["啦"],"yīng qíng":["啨"],pā:["啪","妑","舥","葩","趴"],"zhě shì":["啫"],sè:["啬","嗇","懎","擌","栜","歮","涩","渋","澀","澁","濇","濏","瀒","瑟","璱","瘷","穑","穡","穯","繬","譅","轖","銫","鏼","铯","飋"],niè:["啮","嗫","噛","嚙","囁","囓","圼","孼","孽","嵲","嶭","巕","帇","敜","枿","槷","櫱","涅","湼","痆","篞","籋","糱","糵","聂","聶","臬","臲","蘖","蠥","讘","踂","踗","踙","蹑","躡","錜","鎳","鑈","鑷","钀","镊","镍","闑","陧","隉","顳","颞","齧","𫔶"],"luō luó luo":["啰","囉"],"tān chǎn tuō":["啴"],bo:["啵","蔔"],dìng:["啶","定","椗","矴","碇","碠","磸","聢","腚","萣","蝊","訂","订","錠","锭","顁","飣","饤"],lāng:["啷"],"án ān":["啽"],kā:["喀","擖"],"yóng yú":["喁"],"lā lá lǎ":["喇"],jiē:["喈","喼","嗟","堦","媘","接","掲","擑","湝","煯","疖","痎","癤","皆","秸","稭","脻","蝔","街","謯","阶","階","鞂","鶛"],hóu:["喉","帿","猴","瘊","睺","篌","糇","翭","葔","鄇","鍭","餱","骺","鯸","𬭤"],"dié zhá":["喋"],wāi:["喎","歪","竵"],"nuò rě":["喏"],"xù huò guó":["喐"],zán:["喒"],"wō ō":["喔"],hú:["喖","嘝","囫","壶","壷","壺","媩","弧","搰","斛","楜","槲","湖","瀫","焀","煳","狐","猢","瑚","瓳","箶","絗","縠","胡","葫","蔛","蝴","螜","衚","觳","醐","鍸","頶","餬","鬍","魱","鰗","鵠","鶘","鶦","鹕"],"huàn yuán xuǎn hé":["喛"],xǐ:["喜","囍","壐","屣","徙","憙","枲","橲","歖","漇","玺","璽","矖","禧","縰","葈","葸","蓰","蟢","謑","蹝","躧","鈢","鉨","鉩","鱚","𬭳","𬶮"],"hē hè yè":["喝"],kuì:["喟","嘳","媿","嬇","愦","愧","憒","篑","簣","籄","聩","聭","聵","膭","蕢","謉","餽","饋","馈"],"zhǒng chuáng":["喠"],"wéi wèi":["喡","為","爲"],"duó zhà":["喥"],"sāng sàng":["喪"],"qiáo jiāo":["喬"],"pèn bēn":["喯"],"cān sūn qī":["喰"],"zhā chā":["喳"],miāo:["喵"],"pēn pèn":["喷"],kuí:["喹","夔","奎","巙","戣","揆","晆","暌","楏","楑","櫆","犪","睽","葵","藈","蘷","虁","蝰","躨","逵","鄈","鍨","鍷","頯","馗","騤","骙","魁"],"lou lóu":["喽"],"zào qiāo":["喿"],"hè xiāo xiào hù":["嗃"],"á shà":["嗄"],xiù:["嗅","岫","峀","溴","珛","琇","璓","秀","綉","繍","繡","绣","螑","袖","褎","褏","銹","鏥","鏽","锈","齅"],"qiāng qiàng":["嗆","戗","戧","蹌","蹡"],"ài yì":["嗌","艾"],"má mǎ ma":["嗎"],"kè kē":["嗑"],"dā tà":["嗒","鎉"],sǎng:["嗓","搡","磉","褬","鎟","顙","颡"],chēn:["嗔","抻","琛","瞋","諃","謓","賝","郴","𬘭"],"wā gǔ":["嗗"],"pǎng bēng":["嗙"],"xián qiǎn qiān":["嗛"],lào:["嗠","嫪","橯","涝","澇","耢","耮","躼","軂","酪"],wēng:["嗡","翁","聬","螉","鎓","鶲","鹟","𬭩"],wà:["嗢","腽","膃","袜","襪","韤"],"hēi hāi":["嗨"],hē:["嗬","欱","蠚","訶","诃"],zi:["嗭"],sǎi:["嗮"],"ǹg ńg ňg":["嗯"],gě:["嗰","舸"],ná:["嗱","拏","拿","鎿","镎"],diǎ:["嗲"],"ài ǎi āi":["嗳"],tōng:["嗵","樋","炵","蓪"],"zuī suī":["嗺"],"zhē zhè zhù zhe":["嗻"],mò:["嗼","圽","塻","墨","妺","嫼","寞","帞","昩","末","枺","歿","殁","沫","漠","爅","獏","瘼","皌","眽","眿","瞐","瞙","砞","礳","秣","絈","纆","耱","茉","莈","蓦","蛨","蟔","貃","貊","貘","銆","鏌","镆","陌","靺","驀","魩","默","黙","𬙊"],sòu:["嗽","瘶"],tǎn:["嗿","坦","忐","憳","憻","暺","毯","璮","菼","袒","襢","醓","鉭","钽"],"jiào dǎo":["嘄"],"kǎi gě":["嘅"],"shān càn":["嘇"],cáo:["嘈","嶆","曹","曺","槽","漕","艚","蓸","螬","褿","鏪","𥕢"],piào:["嘌","徱","蔈","驃"],"lóu lou":["嘍"],gǎ:["尕","玍"],"gǔ jiǎ":["嘏"],"jiāo xiāo":["嘐"],"xū shī":["嘘","噓"],pó:["嘙","嚩","婆","櫇","皤","鄱"],"dē dēi":["嘚"],"ma má":["嘛"],"lē lei":["嘞"],"gā gá gǎ":["嘠"],sāi:["嘥","噻","毢","腮","顋","鰓"],"zuō chuài":["嘬"],"cháo zhāo":["嘲","朝","鼂"],zuǐ:["嘴","噿","嶊","璻"],"qiáo qiào":["嘺","翹","谯"],"chù xù shòu":["嘼"],"tān chǎn":["嘽"],"dàn tán":["嘾","弾","彈","惔","澹"],"hēi mò":["嘿"],ě:["噁","砨","頋","騀","鵈"],"fān bo":["噃"],chuáng:["噇","床","牀"],"cù zā hé":["噈"],"tūn kuò":["噋"],"cēng chēng":["噌"],dēng:["噔","嬁","灯","燈","璒","登","竳","簦","艠","豋"],pū:["噗","扑","撲","攴","攵","潽","炇","陠"],juē:["噘","屩","屫","撧"],lū:["噜","嚕","撸","擼","謢"],zhān:["噡","岾","惉","旃","旜","枬","栴","毡","氈","氊","沾","瞻","薝","蛅","詀","詹","譫","谵","趈","邅","閚","霑","飦","饘","驙","魙","鱣","鸇","鹯","𫗴"],ō:["噢"],"zhòu zhuó":["噣"],"jiào qiào chī":["噭"],yuàn:["噮","妴","怨","愿","掾","瑗","禐","苑","衏","裫","褑","院","願"],"ǎi ài āi":["噯"],"yōng yǒng":["噰","澭"],"jué xué":["噱"],"pēn pèn fèn":["噴"],gá:["噶","尜","釓","錷","钆"],"xīn hěn hèn":["噷"],dāng:["噹","澢","珰","璫","筜","簹","艡","蟷","裆","襠"],làn:["嚂","滥","濫","烂","燗","爁","爛","爤","瓓","糷","钄"],tà:["嚃","嚺","崉","挞","搨","撻","榻","橽","毾","涾","澾","濌","禢","粏","誻","譶","蹋","蹹","躂","躢","遝","錔","闒","闥","闼","阘","鞜","鞳"],"huō huò ǒ":["嚄"],hāo:["嚆","茠","蒿","薅"],"hè xià":["嚇"],"xiù pì":["嚊"],"zhōu chóu":["嚋","盩","诪"],mē:["嚒"],"chā cā":["嚓"],"bó pào bào":["嚗"],"me mèi mò":["嚜"],"xié hái":["嚡"],"áo xiāo":["嚣"],mō:["嚤","摸"],pín:["嚬","娦","嫔","嬪","玭","矉","薲","蠙","貧","贫","顰","颦","𬞟"],mè:["嚰","濹"],"rǎng rāng":["嚷"],lá:["嚹","旯"],"jiáo jué jiào":["嚼"],chuò:["嚽","娖","擉","歠","涰","磭","踀","輟","辍","辵","辶","酫","鑡","餟","齪","龊"],"huān huàn":["嚾"],"zá cà":["囃"],chài:["囆","虿","蠆","袃","訍"],"náng nāng":["囊"],"zá zàn cān":["囋"],sū:["囌","櫯","甦","稣","穌","窣","蘇","蘓","酥","鯂"],zèng:["囎","熷","甑","贈","赠","鋥","锃"],"zá niè yàn":["囐"],nāng:["囔"],"luó luō luo":["囖"],"wéi guó":["囗"],huí:["囘","回","囬","廻","廽","恛","洄","痐","茴","蚘","蛔","蛕","蜖","迴","逥","鮰"],nín:["囜","您","脌"],"jiǎn nān":["囝"],nān:["囡"],tuán:["团","団","團","慱","抟","摶","檲","糰","鏄","鷒","鷻"],"tún dùn":["囤","坉"],guó:["囯","囶","囻","国","圀","國","帼","幗","慖","摑","漍","聝","腘","膕","蔮","虢","馘","𬇹"],kùn:["困","涃","睏"],"wéi tōng":["囲"],qūn:["囷","夋","逡"],rì:["囸","日","衵","鈤","馹","驲"],tāi:["囼","孡","胎"],pǔ:["圃","圑","擈","普","暜","樸","檏","氆","浦","溥","烳","諩","譜","谱","蹼","鐠","镨"],"quān juàn juān":["圈","圏"],"chuí chuán":["圌"],tuǎn:["圕","畽","疃"],lüè:["圙","掠","略","畧","稤","鋝","鋢","锊","䂮"],"huán yuán":["圜"],luán:["圝","圞","奱","娈","孌","孪","孿","峦","巒","挛","攣","曫","栾","欒","滦","灤","癴","癵","羉","脔","臠","虊","銮","鑾","鵉","鸞","鸾"],tǔ:["土","圡","釷","钍"],"xū wéi":["圩"],"dì de":["地","嶳"],"qiān sú":["圱"],zhèn:["圳","塦","挋","振","朕","栚","甽","眹","紖","絼","纼","誫","賑","赈","鋴","鎭","鎮","镇","阵","陣","震","鴆","鸩"],"chǎng cháng":["场","場","塲"],"qí yín":["圻"],jiá:["圿","忦","恝","戞","扴","脥","荚","莢","蛱","蛺","裌","跲","郏","郟","鋏","铗","頬","頰","颊","鴶","鵊"],"zhǐ zhì":["坁"],bǎn:["坂","岅","昄","板","版","瓪","粄","舨","蝂","鈑","钣","阪","魬"],qǐn:["坅","寑","寝","寢","昑","梫","笉","螼","赾","鋟","锓"],"méi fén":["坆"],"rǒng kēng":["坈"],"fāng fáng":["坊"],"fèn bèn":["坋"],tān:["坍","怹","摊","擹","攤","滩","灘","瘫","癱","舑","貪","贪"],"huài pēi pī péi":["坏"],"dì làn":["坔"],tán:["坛","墰","墵","壇","壜","婒","憛","昙","曇","榃","檀","潭","燂","痰","磹","罈","罎","藫","談","譚","譠","谈","谭","貚","郯","醰","錟","顃"],bà:["坝","垻","壩","弝","欛","灞","爸","矲","覇","霸","鮁","鲅"],fén:["坟","墳","妢","岎","幩","枌","棼","汾","焚","燌","燓","羒","羵","蒶","蕡","蚠","蚡","豮","豶","轒","鐼","隫","馩","魵","黂","鼖","鼢","𣸣"],zhuì:["坠","墜","惴","甀","畷","礈","綴","縋","缀","缒","腏","膇","諈","贅","赘","醊","錣","鑆"],pō:["坡","岥","泼","溌","潑","釙","鏺","钋","頗","颇","䥽"],"pǎn bàn":["坢"],kūn:["坤","堃","堒","崐","崑","昆","晜","潉","焜","熴","猑","琨","瑻","菎","蜫","裈","裩","褌","醌","錕","锟","騉","髠","髡","髨","鯤","鲲","鵾","鶤","鹍"],diàn:["坫","垫","墊","壂","奠","婝","店","惦","扂","橂","殿","淀","澱","玷","琔","电","癜","簟","蜔","鈿","電","靛","驔"],"mù mǔ":["坶"],"kē kě":["坷","軻"],xuè:["坹","岤","桖","瀥","狘","瞲","謔","谑","趐"],"dǐ chí":["坻","柢"],lā:["垃","柆","菈","邋"],lǒng:["垄","垅","壟","壠","拢","攏","竉","陇","隴","𬕂"],mín:["垊","姄","岷","崏","捪","旻","旼","民","珉","琘","琝","瑉","痻","盿","砇","緍","緡","缗","罠","苠","鈱","錉","鍲","鴖"],"dòng tóng":["垌","峒","洞"],cí:["垐","嬨","慈","柌","濨","珁","瓷","甆","磁","礠","祠","糍","茨","詞","词","辝","辞","辤","辭","雌","飺","餈","鴜","鶿","鷀","鹚"],duī:["垖","堆","塠","痽","磓","鐓","鐜","鴭"],"duò duǒ":["垛"],"duǒ duò":["垜","挆"],chá:["垞","察","嵖","搽","槎","檫","猹","茬","茶","詧","靫","𥻗"],shǎng:["垧","晌","樉","賞","贘","赏","鋿","鏛","鑜"],shǒu:["垨","守","手","扌","艏","首"],da:["垯","繨","跶"],háng:["垳","斻","杭","筕","絎","绗","航","苀","蚢","裄","貥","迒","頏","颃","魧"],"ān ǎn":["垵"],xīng:["垶","惺","星","曐","煋","猩","瑆","皨","篂","腥","興","觪","觲","謃","騂","骍","鮏","鯹"],"yuàn huán":["垸"],bāng:["垹","帮","幇","幚","幫","捠","梆","浜","邦","邫","鞤","𠳐"],"póu fú":["垺"],cén:["埁","岑","涔"],"běng fēng":["埄"],"dì fáng":["埅"],"xiá jiā":["埉"],"mái mán":["埋"],làng:["埌","崀","浪","蒗","閬","㫰"],"shān yán":["埏"],"qín jīn":["埐"],"pǔ bù":["埔"],huā:["埖","婲","椛","硴","糀","花","蒊","蘤","誮","錵"],"suì sù":["埣"],"pí pì":["埤"],"qīng zhēng":["埥","鲭"],"wǎn wān":["埦"],lǔn:["埨","稐","𫭢"],"zhēng chéng":["埩"],kōng:["埪","崆","箜","躻","錓","鵼"],"cǎi cài":["埰","寀","采"],"chù tòu":["埱"],běng:["埲","琫","菶","鞛"],"kǎn xiàn":["埳"],"yì shì":["埶","醳"],péi:["培","毰","裴","裵","賠","赔","錇","锫","阫","陪"],"sào sǎo":["埽"],"jǐn qīn jìn":["堇"],"péng bèng":["堋"],"qiàn zàn jiàn":["堑"],àn:["堓","屵","岸","按","暗","案","胺","荌","豻","貋","錌","闇","隌","黯"],"duò huī":["堕","墮"],huán:["堚","寏","寰","峘","桓","洹","澴","獂","环","環","糫","繯","缳","羦","荁","萈","萑","豲","鍰","鐶","锾","镮","闤","阛","雈","鬟","鹮","𬘫","𤩽"],"bǎo bǔ pù":["堡"],"máo móu wǔ":["堥"],ruán:["堧","壖","撋"],"ài è yè":["堨"],gèng:["堩","暅"],méi:["堳","塺","媒","嵋","徾","攗","枚","栂","梅","楣","楳","槑","湄","湈","煤","猸","玫","珻","瑂","眉","睂","禖","脄","脢","腜","苺","莓","葿","郿","酶","鎇","镅","霉","鶥","鹛","黴"],dǔ:["堵","琽","睹","笃","篤","覩","賭","赌"],féng:["堸","綘","艂","逢"],hèng:["堼"],chūn:["堾","媋","旾","春","暙","杶","椿","槆","橁","櫄","瑃","箺","萅","蝽","輴","鰆","鶞","䲠"],jiǎng:["塂","奖","奨","奬","桨","槳","獎","耩","膙","蒋","蔣","講","讲","顜"],huāng:["塃","巟","慌","肓","荒","衁"],duàn:["塅","断","斷","椴","段","毈","煅","瑖","碫","簖","籪","緞","缎","腶","葮","躖","鍛","锻"],tǎ:["塔","墖","獭","獺","鮙","鰨","鳎"],wěng:["塕","奣","嵡","攚","暡","瞈","蓊"],"sāi sài sè":["塞"],zàng:["塟","弉","臓","臟","葬","蔵","銺"],tián:["塡","屇","恬","沺","湉","璳","甛","甜","田","畋","畑","碵","磌","胋","闐","阗","鴫","鷆","鷏"],zhèng:["塣","幁","政","証","諍","證","证","诤","郑","鄭","靕","鴊"],"tián zhèn":["填"],wēn:["塭","昷","榲","殟","温","溫","瑥","瘟","蕰","豱","輼","轀","辒","鎾","饂","鰛","鰮","鳁"],liù:["塯","廇","磟","翏","雡","霤","餾","鬸","鷚","鹨"],hǎi:["塰","海","烸","酼","醢"],lǎng:["塱","朖","朗","朤","烺","蓢","㮾"],bèng:["塴","揼","泵","甏","綳","蹦","迸","逬","鏰","镚"],chén:["塵","宸","尘","忱","敐","敶","晨","曟","栕","樄","沉","煁","瘎","臣","茞","莀","莐","蔯","薼","螴","訦","諶","軙","辰","迧","鈂","陈","陳","霃","鷐","麎"],"ōu qiū":["塸"],"qiàn jiàn":["塹"],"zhuān tuán":["塼"],shuǎng:["塽","慡","漺","爽","縔","鏯"],shú:["塾","婌","孰","璹","秫","贖","赎"],lǒu:["塿","嵝","嶁","甊","篓","簍"],chí:["墀","弛","持","池","漦","竾","筂","箎","篪","茌","荎","蚳","謘","貾","赿","踟","迟","迡","遅","遟","遲","鍉","馳","驰"],shù:["墅","庶","庻","怷","恕","戍","束","树","樹","沭","漱","潄","濖","竖","竪","絉","腧","荗","蒁","虪","術","裋","豎","述","鉥","錰","鏣","霔","鶐","𬬸"],"dì zhì":["墆","疐"],kàn:["墈","崁","瞰","矙","磡","衎","鬫"],chěn:["墋","夦","硶","碜","磣","贂","趻","踸","鍖"],"zhǐ zhuó":["墌"],qiǎng:["墏","繈","繦","羥","襁"],zēng:["増","增","憎","璔","矰","磳","罾","譄","鄫","鱛","䎖"],qiáng:["墙","墻","嫱","嬙","樯","檣","漒","牆","艢","蔃","蔷","蘠"],"kuài tuí":["墤"],"tuǎn dǒng":["墥"],"qiáo què":["墧"],"zūn dūn":["墫"],"qiāo áo":["墽"],"yì tú":["墿"],"xué bó jué":["壆"],lǎn:["壈","嬾","孄","孏","懒","懶","揽","擥","攬","榄","欖","浨","漤","灠","纜","缆","罱","覧","覽","览","醂","顲"],huài:["壊","壞","蘾"],rǎng:["壌","壤","攘","爙"],"làn xiàn":["壏"],dǎo:["壔","导","導","岛","島","嶋","嶌","嶹","捣","搗","擣","槝","祷","禂","禱","蹈","陦","隝","隯"],ruǐ:["壡","桵","橤","繠","蕊","蕋","蘂","蘃"],san:["壭"],zhuàng:["壮","壯","壵","撞","焋","状","狀"],"ké qiào":["壳","殼"],kǔn:["壸","壼","悃","捆","梱","硱","祵","稇","稛","綑","裍","閫","閸","阃"],mǎng:["壾","漭","茻","莽","莾","蠎"],cún:["壿","存"],"zhǐ zhōng":["夂"],"gǔ yíng":["夃"],"jiàng xiáng":["夅","降"],"páng féng fēng":["夆"],zhāi:["夈","捚","摘","斋","斎","榸","粂","齋"],"xuàn xiòng":["夐"],wài:["外","顡"],"wǎn yuàn wān yuān":["夗"],"mǎo wǎn":["夘"],mèng:["夢","夣","孟","梦","癦","霥"],"dà dài":["大"],"fū fú":["夫","姇","枎","粰"],guài:["夬","怪","恠"],yāng:["央","姎","抰","殃","泱","秧","胦","鉠","鍈","雵","鴦","鸯"],"hāng bèn":["夯"],gǎo:["夰","搞","杲","槀","槁","檺","稁","稾","稿","縞","缟","菒","藁","藳"],"tāo běn":["夲"],"tóu tou":["头"],"yǎn tāo":["夵"],"kuā kuà":["夸","誇"],"jiá jiā gā xiá":["夹"],huà:["夻","婳","嫿","嬅","崋","摦","杹","枠","桦","槬","樺","澅","画","畫","畵","繣","舙","話","諙","譮","话","黊"],"jiā jiá gā xiá":["夾"],ēn:["奀","恩","蒽"],"dī tì":["奃"],"yǎn yān":["奄","渰"],pào:["奅","疱","皰","砲","礟","礮","靤","麭"],nài:["奈","柰","渿","耐","萘","褦","錼","鼐"],"quān juàn":["奍","弮","棬"],zòu:["奏","揍"],"qì qiè xiè":["契"],kāi:["奒","开","揩","鐦","锎","開"],"bēn bèn":["奔","泍"],tào:["套"],"zàng zhuǎng":["奘"],běn:["奙","本","楍","畚","翉","苯"],"xùn zhuì":["奞"],shē:["奢","檨","猞","畭","畲","賒","賖","赊","輋","𪨶"],"hǎ pò tǎi":["奤"],"ào yù":["奥","奧","澚"],yūn:["奫","氲","氳","蒀","蒕","蝹","贇","赟","𫖳"],"duǒ chě":["奲"],"nǚ rǔ":["女"],nú:["奴","孥","笯","駑","驽"],"dīng dǐng tiǎn":["奵"],"tā jiě":["她"],nuán:["奻"],"hǎo hào":["好"],fàn:["奿","嬎","梵","汎","泛","滼","瀪","犯","畈","盕","笵","範","范","訉","販","贩","軬","輽","飯","飰","饭"],shuò:["妁","搠","朔","槊","烁","爍","矟","蒴","鎙","鑠","铄"],"fēi pèi":["妃"],wàng:["妄","忘","旺","望","朢"],zhuāng:["妆","妝","娤","庄","庒","桩","梉","樁","粧","糚","荘","莊","装","裝"],mā:["妈","媽"],"fū yōu":["妋"],"hài jiè":["妎"],dù:["妒","妬","杜","殬","渡","秺","芏","荰","螙","蠧","蠹","鍍","镀","靯","𬭊"],miào:["妙","庙","庿","廟","玅","竗"],"fǒu pēi pī":["妚"],"yuè jué":["妜"],niū:["妞"],"nà nàn":["妠"],tuǒ:["妥","嫷","庹","椭","楕","橢","鬌","鰖","鵎"],"wàn yuán":["妧"],fáng:["妨","房","肪","防","魴","鲂"],nī:["妮"],zhóu:["妯","碡"],zhāo:["妱","巶","招","昭","釗","鉊","鍣","钊","駋","𬬿"],"nǎi nǐ":["妳"],tǒu:["妵","敨","紏","蘣","黈"],"xián xuán xù":["妶"],"zhí yì":["妷","秇"],ē:["妸","妿","婀","屙"],mèi:["妹","媚","寐","抺","旀","昧","沬","煝","痗","眛","睸","祙","篃","蝞","袂","跊","鬽","魅"],"qī qì":["妻"],"xū xǔ":["姁","稰"],"shān shàn":["姍","姗","苫","釤","钐"],mán:["姏","慲","樠","蛮","蠻","謾","饅","馒","鬗","鬘","鰻","鳗"],jiě:["姐","媎","檞","毑","飷"],"wěi wēi":["委"],pīn:["姘","拼","礗","穦","馪","驞"],"huá huó":["姡"],"jiāo xiáo":["姣"],"gòu dù":["姤"],"lǎo mǔ":["姥"],"nián niàn":["姩"],zhěn:["姫","屒","弫","抮","昣","枕","畛","疹","眕","稹","縝","縥","缜","聄","萙","袗","裖","覙","診","诊","軫","轸","辴","駗","鬒"],héng:["姮","恆","恒","烆","珩","胻","蘅","衡","鑅","鴴","鵆","鸻"],"jūn xún":["姰"],"kuā hù":["姱"],"è yà":["姶"],"xiān shēn":["姺"],wá:["娃"],"ráo rǎo":["娆","嬈"],"shào shāo":["娋"],xiē:["娎","揳","楔","歇","蝎","蠍"],"wǔ méi mǔ":["娒"],"chuò lài":["娕"],niáng:["娘","嬢","孃"],"nà nuó":["娜","𦰡"],"pōu bǐ":["娝"],"něi suī":["娞"],tuì:["娧","煺","蛻","蜕","退","駾"],mǎn:["娨","屘","満","满","滿","螨","蟎","襔","鏋"],"wú wù yú":["娪"],"xī āi":["娭"],"zhuì shuì":["娷"],"dōng dòng":["娻"],"ǎi ái è":["娾"],"ē ě":["娿"],mián:["婂","嬵","宀","杣","棉","檰","櫋","眠","矈","矊","矏","綿","緜","绵","芇","蝒"],"pǒu péi bù":["婄"],biǎo:["婊","脿","表","裱","褾","諘","錶"],"fù fàn":["婏"],wǒ:["婐","婑","我"],"ní nǐ":["婗","棿"],"quán juàn":["婘","惓"],hūn:["婚","昏","昬","棔","涽","睧","睯","碈","荤","葷","蔒","轋","閽","阍"],"qiān jǐn":["婜"],"wān wà":["婠"],"lái lài":["婡","徕","徠"],"zhōu chōu":["婤"],"chuò nào":["婥"],"nüè àn":["婩"],"hùn kūn":["婫"],"dàng yáng":["婸"],nàn:["婻"],"ruò chuò":["婼"],jiǎ:["婽","岬","斚","斝","榎","槚","檟","玾","甲","胛","鉀","钾"],"tōu yú":["婾","媮"],"yù yú":["媀"],"wéi wěi":["媁"],"dì tí":["媂","珶","苐"],róu:["媃","揉","柔","渘","煣","瑈","瓇","禸","粈","糅","脜","腬","葇","蝚","蹂","輮","鍒","鞣","騥","鰇","鶔","𫐓"],"ruǎn nèn":["媆"],miáo:["媌","嫹","描","瞄","苗","鶓","鹋"],"yí pèi":["媐"],"mián miǎn":["媔"],"tí shì":["媞","惿"],"duò tuó":["媠","沲"],ǎo:["媪","媼","艹","芺","袄","襖","镺"],"chú zòu":["媰"],yìng:["媵","映","暎","硬","膡","鱦"],"qín shēn":["嫀"],jià:["嫁","幏","架","榢","稼","駕","驾"],sǎo:["嫂"],"zhēn zhěn":["嫃"],"jiē suǒ":["嫅"],"míng mǐng":["嫇"],niǎo:["嫋","嬝","嬲","茑","蔦","袅","裊","褭","鸟"],tāo:["嫍","幍","弢","慆","掏","搯","槄","涛","滔","濤","瑫","絛","縚","縧","绦","詜","謟","轁","鞱","韜","韬","飸","饕"],biáo:["嫑"],"piáo piāo":["嫖","薸"],xuán:["嫙","悬","懸","暶","檈","漩","玄","璇","璿","痃","蜁","𫠊"],"màn mān":["嫚"],kāng:["嫝","嵻","康","慷","槺","漮","砊","穅","糠","躿","鏮","鱇","𡐓","𩾌"],"hān nǎn":["嫨"],nèn:["嫩","嫰"],zhē:["嫬","遮"],"mā má":["嫲"],piè:["嫳"],zhǎn:["嫸","展","搌","斩","斬","琖","盏","盞","輾","醆","颭","飐"],"xiān yǎn jìn":["嬐"],liǎn:["嬚","敛","斂","琏","璉","羷","脸","臉","蔹","蘝","蘞","裣","襝","鄻"],"qióng huán xuān":["嬛"],dǒng:["嬞","懂","箽","董","蕫","諌"],cān:["嬠","湌","爘","飡","餐","驂","骖"],tiǎo:["嬥","宨","晀","朓","窱","脁"],bí:["嬶","荸","鼻"],liǔ:["嬼","柳","栁","桞","桺","橮","熮","珋","綹","绺","罶","羀","鋶","锍"],"qiān xiān":["孅","欦"],"xié huī":["孈"],"huān quán":["孉"],"lí lì":["孋","麗"],"zhú chuò":["孎"],kǒng:["孔","恐"],"mā zī":["孖"],"sūn xùn":["孙","孫"],"bèi bó":["孛","誖"],"yòu niū":["孧"],zhuǎn:["孨","竱","轉"],hái:["孩","骸"],nāo:["孬"],"chán càn":["孱"],bò:["孹","檗","蘗","譒"],nái:["孻","腉"],"níng nìng":["宁","寍","寗","寜","寧","甯"],zhái:["宅"],"tū jiā":["宊"],sòng:["宋","訟","誦","讼","诵","送","鎹","頌","颂","餸"],ròu:["宍","肉","譳"],zhūn:["宒","窀","衠","諄","谆","迍"],"mì fú":["宓"],"dàng tàn":["宕"],"wǎn yuān":["宛"],chǒng:["宠","寵"],qún:["宭","峮","帬","羣","群","裙","裠"],zǎi:["宰","崽"],"bǎo shí":["宲"],"jiā jia jie":["家"],"huāng huǎng":["宺"],kuān:["宽","寛","寬","臗","鑧","髋","髖"],"sù xiǔ xiù":["宿"],"jié zǎn":["寁"],"bìng bǐng":["寎"],"jìn qǐn":["寖"],"lóu jù":["寠"],"xiě xiè":["寫"],"qīn qìn":["寴"],cùn:["寸","籿"],duì:["对","対","對","怼","憝","懟","濧","瀩","碓","祋","綐","薱","譈","譵","轛","队","陮"],"lüè luó":["寽"],"shè yè yì":["射"],"jiāng jiàng qiāng":["将"],"jiāng jiàng":["將","浆","漿","畺"],zūn:["尊","嶟","樽","罇","遵","鐏","鱒","鳟","鶎","鷷","𨱔"],"shù zhù":["尌","澍"],xiǎo:["小","晓","暁","曉","皛","皢","筱","筿","篠","謏","𫍲"],"jié jí":["尐","诘","鞊"],"shǎo shào":["少"],ěr:["尒","尓","尔","栮","毦","洱","爾","珥","耳","薾","衈","趰","迩","邇","鉺","铒","餌","饵","駬"],"wāng yóu":["尢"],wāng:["尣","尩","尪","尫","汪"],liào:["尥","尦","廖","撂","料","炓","窷","鐐","镣","𪤗"],"méng máng lóng páng":["尨"],gà:["尬","魀"],"kuì kuǐ":["尯"],tuí:["尵","弚","穨","蘈","蹪","隤","頹","頺","頽","颓","魋","𬯎"],yǐn:["尹","嶾","引","朄","檃","檼","櫽","淾","濥","瘾","癮","粌","蘟","蚓","螾","讔","赺","趛","輑","鈏","靷"],"chǐ chě":["尺"],kāo:["尻","髛"],"jìn jǐn":["尽"],"wěi yǐ":["尾"],"niào suī":["尿"],céng:["层","層","嶒","驓"],diǎo:["屌"],"píng bǐng bīng":["屏"],lòu:["屚","漏","瘘","瘺","瘻","鏤","镂","陋"],"shǔ zhǔ":["属","屬"],"xiè tì":["屟"],"chè cǎo":["屮"],"tún zhūn":["屯"],"nì jǐ":["屰"],"hóng lóng":["屸"],"qǐ kǎi":["岂","豈"],áng:["岇","昂","昻"],"gǎng gāng":["岗","崗"],kě:["岢","敤","渇","渴","炣"],gǒu:["岣","狗","玽","笱","耇","耈","耉","苟","豿"],tiáo:["岧","岹","樤","祒","笤","芀","萔","蓚","蓨","蜩","迢","鋚","鎥","鞗","髫","鯈","鰷","鲦","齠","龆"],"qū jū":["岨"],lǐng:["岭","嶺","領","领"],pò:["岶","敀","洦","湐","烞","珀","破","砶","粕","蒪","魄"],"bā kè":["峇"],luò:["峈","摞","洛","洜","犖","珞","笿","纙","荦","詻","雒","駱","骆","鵅"],"fù niè":["峊"],ěn:["峎"],"zhì shì":["峙","崻"],qiǎ:["峠","跒","酠","鞐"],"qiáo jiào":["峤","癄"],"xié yé":["峫"],bū:["峬","庯","晡","誧","逋","鈽","錻","钸","餔","鵏"],chóng:["崇","崈","爞","虫","蝩","蟲","褈","隀"],"zú cuì":["崒","椊"],"líng léng":["崚"],"dòng dōng":["崠"],xiáo:["崤","洨","淆","訤","誵"],"pí bǐ":["崥","芘"],"zhǎn chán":["崭","嶃","嶄"],"wǎi wēi":["崴"],"yáng dàng":["崵"],"shì dié":["崼"],yào:["崾","曜","熎","燿","矅","穾","窔","筄","耀","艞","药","葯","薬","藥","袎","覞","詏","讑","靿","鷂","鹞","鼼"],"kān zhàn":["嵁"],"hán dǎng":["嵅"],"qiàn kàn":["嵌"],"wù máo":["嵍"],"kě jié":["嵑","嶱"],"wēi wěi":["嵔"],kē:["嵙","柯","棵","榼","樖","牁","牱","犐","珂","疴","瞌","磕","礚","科","稞","窠","萪","薖","蚵","蝌","趷","轲","醘","鈳","钶","頦","顆","颗","髁"],"dàng táng":["嵣"],"róng yíng":["嵤","爃"],"ái kǎi":["嵦"],"kāo qiāo":["嵪"],cuó:["嵯","嵳","痤","矬","蒫","蔖","虘","鹺","鹾"],"qiǎn qīn":["嵰"],"dì dié":["嵽"],cēn:["嵾"],dǐng:["嵿","艼","薡","鐤","頂","顶","鼎","鼑"],"áo ào":["嶅"],"pǐ pèi":["嶏"],"jiào qiáo":["嶠","潐"],"jué guì":["嶡","鳜"],"zhān shàn":["嶦","鳣"],"xiè jiè":["嶰"],"guī xī juàn":["嶲"],rū:["嶿"],"lì liè":["巁","棙","爄","綟"],"xī guī juàn":["巂"],"yíng hōng":["巆"],yǐng:["巊","廮","影","摬","梬","潁","瘿","癭","矨","穎","郢","鐛","頴","颍","颕","颖"],chǎo:["巐","炒","煼","眧","麨"],cuán:["巑","櫕","欑"],chuān:["巛","川","氚","瑏","穿"],"jīng xíng":["巠"],cháo:["巢","巣","晁","漅","潮","牊","窲","罺","謿","轈","鄛","鼌"],qiǎo:["巧","愀","髜"],gǒng:["巩","廾","拱","拲","栱","汞","珙","輁","鞏"],"chà chā chāi cī":["差"],"xiàng hàng":["巷"],shuài:["帅","帥","蟀"],pà:["帊","帕","怕","袙"],"tǎng nú":["帑"],"mò wà":["帓"],"tiē tiě tiè":["帖"],zhǒu:["帚","晭","疛","睭","箒","肘","菷","鯞"],"juǎn juàn":["帣"],shuì:["帨","涗","涚","睡","稅","税","裞"],"chóu dào":["帱","幬"],"jiǎn jiān sàn":["帴"],"shà qiè":["帹"],"qí jì":["帺","荠"],"shān qiāo shēn":["幓"],"zhuàng chuáng":["幢"],"chān chàn":["幨"],miè:["幭","懱","搣","滅","灭","烕","礣","篾","蔑","薎","蠛","衊","鑖","鱴","鴓"],"gān gàn":["干"],"bìng bīng":["并","幷"],"jī jǐ":["幾"],"guǎng ān":["广"],guǎng:["広","廣","犷","獷"],me:["庅"],"dùn tún":["庉"],"bài tīng":["庍"],"yìng yīng":["应"],"dǐ de":["底"],"dù duó":["度"],"máng méng páng":["庬"],"bìng píng":["庰"],chěng:["庱","悜","睈","逞","騁","骋"],"jī cuò":["庴"],qǐng:["庼","廎","檾","漀","苘","請","謦","请","頃","顷"],"guī wěi huì":["廆"],"jǐn qín":["廑"],kuò:["廓","扩","拡","擴","濶","筈","萿","葀","蛞","闊","阔","霩","鞟","鞹","韕","頢","鬠"],"qiáng sè":["廧","薔"],"yǐn yìn":["廴","隐","隠","隱","飮","飲","饮"],"pò pǎi":["廹","迫"],"nòng lòng":["弄"],"dì tì tuí":["弟"],"jué zhāng":["弡"],"mí mǐ":["弥","彌","靡"],chāo:["弨","怊","抄","欩","訬","超","鈔","钞"],yi:["弬"],shāo:["弰","旓","烧","焼","燒","筲","艄","萷","蕱","輎","髾","鮹"],"xuān yuān":["弲"],"qiáng qiǎng jiàng":["強","强"],"tán dàn":["弹","醈"],biè:["彆"],"qiáng jiàng qiǎng":["彊"],"jì xuě":["彐"],tuàn:["彖","褖"],yuē:["彟","曰","曱","矱"],"shān xiǎn":["彡"],wén:["彣","文","炆","珳","瘒","繧","聞","芠","蚉","蚊","螡","蟁","閺","閿","闅","闦","闻","阌","雯","馼","駇","魰","鳼","鴍","鼤","𫘜"],"péng bāng":["彭"],"piāo piào":["彯"],"zhuó bó":["彴"],"tuǒ yí":["彵"],"páng fǎng":["彷"],wǎng:["彺","往","徃","惘","枉","棢","網","网","罒","罓","罔","罖","菵","蛧","蝄","誷","輞","辋","魍"],cú:["徂","殂"],"dài dāi":["待"],huái:["徊","怀","懐","懷","槐","淮","耲","蘹","褢","褱","踝"],"wā wàng jiā":["徍"],"chěng zhèng":["徎"],"dé děi de":["得"],"cóng zòng":["從"],"shì tǐ":["徥"],"tí chí":["徲","鶗","鶙"],dé:["徳","德","恴","悳","惪","淂","鍀","锝"],"zhǐ zhēng":["徴","徵"],bié:["徶","癿","莂","蛂","襒","蹩"],"chōng zhǒng":["徸"],"jiǎo jiào":["徼","笅","筊"],"lòng lǒng":["徿"],"qú jù":["忂","渠","瞿","螶"],"dìng tìng":["忊"],gǎi:["忋","改"],rěn:["忍","栠","栣","秹","稔","綛","荏","荵","躵"],chàn:["忏","懴","懺","硟","羼","韂","顫"],tè:["忑","慝","特","蟘","鋱","铽"],"tè tēi tuī":["忒"],"gān hàn":["忓","攼"],"yì qì":["忔"],"tài shì":["忕"],"xī liě":["忚"],"yīng yìng":["応","應","譍"],"mǐn wěn mín":["忞","忟"],"sōng zhōng":["忪"],"yù shū":["忬","悆"],"qí shì":["忯","耆"],"tún zhūn dùn":["忳"],"qián qín":["忴","扲"],hún:["忶","浑","渾","餛","馄","魂","鼲"],niǔ:["忸","扭","炄","狃","紐","纽","莥","鈕","钮","靵"],"kuáng wǎng":["忹"],"kāng hàng":["忼"],"kài xì":["忾","愾"],òu:["怄","慪"],"bǎo bào":["怉"],"mín mén":["怋"],"zuò zhà":["怍"],zěn:["怎"],yàng:["怏","恙","样","様","樣","漾","羕","詇"],"kòu jù":["怐"],"náo niú":["怓"],"zhēng zhèng":["怔","掙","钲","铮"],"tiē zhān":["怗"],"hù gù":["怘"],"cū jù zū":["怚"],"sī sāi":["思"],"yóu chóu":["怞"],"tū dié":["怢"],"yōu yào":["怮"],xuàn:["怰","昡","楦","泫","渲","炫","琄","眩","碹","絢","縼","繏","绚","蔙","衒","袨","贙","鉉","鏇","铉","镟","颴"],"xù xuè":["怴"],"bì pī":["怶"],"xī shù":["怸"],"nèn nín":["恁"],"tiāo yáo":["恌"],"xī qī xù":["恓"],"xiào jiǎo":["恔"],"hū kuā":["恗"],nǜ:["恧","朒","衂","衄"],hèn:["恨"],"dòng tōng":["恫"],"quán zhuān":["恮"],"è wù ě wū":["恶","惡"],tòng:["恸","慟","憅","痛","衕"],"yuān juàn":["悁"],"qiāo qiǎo":["悄"],"jiè kè":["悈"],"hào jiào":["悎"],huǐ:["悔","檓","毀","毁","毇","燬","譭"],"mán mèn":["悗","鞔"],"yī yì":["悘","衣"],quān:["悛","箞","鐉","𨟠"],"kuī lǐ":["悝"],"yì niàn":["悥"],"mèn mēn":["悶"],guàn:["悹","悺","惯","慣","掼","摜","樌","欟","泴","涫","潅","灌","爟","瓘","盥","礶","祼","罆","罐","貫","贯","躀","遦","鏆","鑵","鱹","鸛","鹳"],"kōng kǒng":["悾"],"lǔn lùn":["惀"],guǒ:["惈","果","椁","槨","粿","綶","菓","蜾","裹","褁","輠","餜","馃"],"yuān wǎn":["惌","箢"],"lán lín":["惏"],"yù xù":["惐","淢"],"chuò chuì":["惙"],"hūn mèn":["惛"],"chǎng tǎng":["惝"],"suǒ ruǐ":["惢"],cǎn:["惨","慘","憯","黪","黲","䅟"],cán:["惭","慙","慚","残","殘","蚕","蝅","蠶","蠺"],"dàn dá":["惮","憚"],rě:["惹"],"yú tōu":["愉"],"kài qì":["愒"],"dàng táng shāng yáng":["愓"],"chén xìn dān":["愖"],"kè qià":["愘"],nuò:["愞","懦","懧","掿","搦","榒","稬","穤","糑","糥","糯","諾","诺","蹃","逽","鍩","锘"],gǎn:["感","擀","敢","桿","橄","澉","澸","皯","秆","稈","笴","芉","衦","赶","趕","鱤","鳡"],"còng sōng":["愡"],"sāi sī sǐ":["愢"],"gōng gòng hǒng":["愩","慐"],"shuò sù":["愬","洬"],"yáo yào":["愮"],huàng:["愰","曂","榥","滉","皝","皩","鎤","㿠"],zhěng:["愸","抍","拯","整","晸"],cǎo:["愺","艸","草","騲"],"xì xié":["慀"],"cǎo sāo":["慅"],"xù chù":["慉"],"qiè qiàn":["慊"],"cáo cóng":["慒"],"ào áo":["慠"],"lián liǎn":["慩","梿","槤","櫣"],"jìn qín jǐn":["慬"],"dì chì":["慸"],"zhí zhé":["慹"],"lóu lǚ":["慺","鷜"],còng:["憁","謥"],"zhī zhì":["憄","知","織","织"],chēng:["憆","摚","撐","撑","晿","柽","棦","橕","檉","泟","浾","琤","瞠","碀","緽","罉","蛏","蟶","赪","赬","鏿","鐣","阷","靗","頳","饓"],biē:["憋","虌","鱉","鳖","鼈","龞"],"chéng dèng zhèng":["憕"],"xǐ xī":["憘"],"duì dùn tūn":["憞"],"xiāo jiāo":["憢"],"xián xiàn":["憪"],"liáo liǎo":["憭","燎","爎","爒"],shéng:["憴","縄","繉","繩","绳","譝"],"náo nǎo náng":["憹"],"jǐng jìng":["憼"],"jǐ jiǎo":["憿"],"xuān huān":["懁"],"cǎo sāo sào":["懆"],mèn:["懑","懣","暪","焖","燜"],"mèng méng měng":["懜"],"ài yì nǐ":["懝"],"méng měng":["懞","瞢","矒"],"qí jī jì":["懠"],mǒ:["懡"],"lán xiàn":["懢"],"yōu yǒu":["懮"],"liú liǔ":["懰","藰"],ràng:["懹","譲","讓","让"],huān:["懽","欢","歓","歡","獾","讙","貛","酄","驩","鴅","鵍"],nǎn:["戁","揇","湳","煵","腩","蝻","赧"],"mí mó":["戂"],"gàng zhuàng":["戅","戆"],"zhuàng gàng":["戇"],"xū qu":["戌"],"xì hū":["戏","戯","戲"],"jiá gā":["戛"],zéi:["戝","蠈","賊","贼","鰂","鱡","鲗"],děng:["戥","等"],"hū xì":["戱"],chuō:["戳","踔","逴"],"biǎn piān":["扁"],"shǎng jiōng":["扄"],"shàn shān":["扇"],cái:["才","材","纔","裁","財","财"],"zhā zā zhá":["扎"],"lè lì cái":["扐"],"bā pá":["扒"],"dǎ dá":["打"],rēng:["扔"],"fǎn fú":["払"],"diǎo dí yuē lì":["扚"],"káng gāng":["扛"],"yū wū":["扜"],"yū wū kū":["扝"],"tuō chǐ yǐ":["扡"],"gǔ jié xì gē":["扢"],dèn:["扥","扽"],"sǎo sào":["扫","掃"],rǎo:["扰","擾","隢"],"xī chā qì":["扱"],"bān pān":["扳"],"bā ào":["扷"],"xī zhé":["扸"],"zhì sǔn kǎn":["扻"],zhǎo:["找","沼","瑵"],"kuáng wǎng zài":["抂"],"hú gǔ":["抇","鹄","鹘"],"bǎ bà":["把"],"dǎn shěn":["抌"],"nè nì ruì nà":["抐"],zhuā:["抓","檛","簻","膼","髽"],póu:["抔","裒"],"zhé shé zhē":["折"],"póu pōu fū":["抙","捊"],pāo:["抛","拋","脬","萢"],"ǎo ào niù":["抝"],"lūn lún":["抡","掄"],"qiǎng qiāng chēng":["抢"],"zhǐ zhǎi":["抧"],"bù pū":["抪","柨"],"yǎo tāo":["抭"],"hē hè qiā":["抲"],"nǐ ní":["抳"],"pī pēi":["抷"],"mǒ mò mā":["抹"],chōu:["抽","犨","犫","瘳","篘"],"jiā yá":["拁"],"fú bì":["拂","畐","鶝"],zhǎ:["拃","眨","砟","鮺","鲝"],"dān dàn dǎn":["担"],"chāi cā":["拆"],niān:["拈","蔫"],"lā lá lǎ là":["拉"],"bàn pàn":["拌"],pāi:["拍"],līn:["拎"],guǎi:["拐","枴","柺"],"tuò tà zhí":["拓"],"ào ǎo niù":["拗"],"jū gōu":["拘"],"pīn pàn fān":["拚"],"bài bái":["拜"],bài:["拝","敗","稗","粺","薭","贁","败","韛"],qiá:["拤"],"nǐng níng nìng":["拧"],"zé zhái":["择","擇"],hén:["拫","痕","鞎"],"kuò guā":["括"],"jié jiá":["拮"],nǐn:["拰"],shuān:["拴","栓","閂","闩"],"cún zùn":["拵"],"zā zǎn":["拶","桚"],kǎo:["拷","攷","栲","烤","考"],"yí chǐ hài":["拸"],"cè sè chuò":["拺"],"zhuài zhuāi yè":["拽"],"shí shè":["拾"],bāi:["挀","掰"],"kuò guāng":["挄"],nòng:["挊","挵","齈"],"jiào jiāo":["挍","敎","教"],"kuà kū":["挎"],"ná rú":["挐"],"tiāo tiǎo":["挑"],"dié shè":["挕"],liě:["挘","毟"],"yà yǎ":["挜","掗"],"wō zhuā":["挝"],"xié jiā":["挟","挾"],"dǎng dàng":["挡","擋"],"zhèng zhēng":["挣","正","症"],"āi ái":["挨"],"tuō shuì":["挩","捝"],"tǐ tì":["挮"],"suō shā":["挱"],"sā shā suō":["挲"],"kēng qiān":["挳","摼"],"bàng péng":["挷"],"ruó ruá":["挼"],"jiǎo kù":["捁"],"wǔ wú":["捂"],tǒng:["捅","桶","筒","筩","統","綂","统","㛚"],"huò chì":["捇"],"tú shū chá":["捈"],"lǚ luō":["捋"],"shāo shào":["捎","稍"],niē:["捏","揑"],"shù sǒng sōu":["捒"],"yé yú":["捓"],"jué zhuó":["捔"],"bù pú zhì":["捗"],zùn:["捘","銌"],lāo:["捞","撈","粩"],sǔn:["损","損","榫","笋","筍","箰","鎨","隼"],"wàn wǎn wān yù":["捥"],pěng:["捧","淎","皏"],shě:["捨"],"fǔ fù bǔ":["捬"],dáo:["捯"],"luò luǒ wǒ":["捰"],"juǎn quán":["捲"],"chēn tiǎn":["捵"],"niǎn niē":["捻"],"ruó wěi ré":["捼"],zuó:["捽","昨","秨","稓","筰","莋","鈼"],"wò xiá":["捾"],"qìng qiàn":["掅"],"póu pǒu":["掊"],qiā:["掐","葜"],"pái pǎi":["排"],"qiān wàn":["掔"],"yè yē":["掖"],"niè nǐ yì":["掜"],"huò xù":["掝"],"yàn shàn yǎn":["掞"],"zhěng dìng":["掟"],kòng:["控","鞚"],tuī:["推","蓷","藬"],"zōu zhōu chōu":["掫"],tiàn:["掭","舚"],kèn:["掯","裉","褃"],pá:["掱","杷","潖","爬","琶","筢"],"guó guāi":["掴"],"dǎn shàn":["掸","撣"],"chān xiān càn shǎn":["掺"],sāo:["掻","搔","溞","繅","缫","螦","騒","騷","鰠","鱢","鳋"],pèng:["掽","椪","槰","碰","踫"],"zhēng kēng":["揁"],"jiū yóu":["揂"],"jiān jiǎn":["揃","籛"],"pì chè":["揊"],"sāi zǒng cāi":["揌"],"tí dī dǐ":["提"],"zǒng sōng":["揔"],"huáng yóng":["揘"],"zǎn zuàn":["揝"],"xū jū":["揟"],"ké qiā":["揢"],"chuāi chuǎi chuài tuán zhuī":["揣"],"dì tì":["揥"],"lá là":["揦"],là:["揧","楋","溂","瓎","瘌","翋","臘","蝋","蝲","蠟","辢","辣","鑞","镴","鬎","鯻","𬶟"],"jiē qì":["揭"],"chòng dǒng":["揰"],"dié shé yè":["揲"],"jiàn qián jiǎn":["揵"],yé:["揶","爷","爺","瑘","鋣","鎁","铘"],chān:["搀","摻","攙","裧","襜","覘","觇","辿","鋓"],"gē gé":["搁","擱"],"lǒu lōu":["搂","摟"],"chōu zǒu":["搊"],chuāi:["搋"],sūn:["搎","槂","狲","猻","荪","蓀","蕵","薞","飧","飱"],"róng náng nǎng":["搑"],"péng bàng":["搒"],cuō:["搓","瑳","磋","蹉","遳","醝"],"kē è":["搕"],"nù nuò nòu":["搙"],"lā xié xiàn":["搚"],qiǔ:["搝","糗"],"xiǎn xiān":["搟"],"jié zhé":["搩"],"pán bān pó":["搫"],bān:["搬","攽","斑","斒","班","瘢","癍","肦","螁","螌","褩","辬","頒","颁","𨭉"],"zhì nái":["搱"],"wā wǎ wà":["搲"],huá:["搳","撶","滑","猾","蕐","螖","譁","鏵","铧","驊","骅","鷨"],"qiāng qiǎng chēng":["搶"],"tián shēn":["搷"],"ná nuò":["搻"],èn:["摁"],"shè niè":["摄","攝"],bìn:["摈","擯","殡","殯","膑","臏","髌","髕","髩","鬂","鬓","鬢"],"shā sà shǎi":["摋"],"chǎn sùn":["摌"],"jiū liú liáo jiǎo náo":["摎"],"féng pěng":["摓"],shuāi:["摔"],"dì tú zhí":["摕"],"qì jì chá":["摖"],"sōu sǒng":["摗"],"liǎn liàn":["摙"],"gài xì":["摡"],"hù chū":["摢"],tàng:["摥","烫","燙","鐋"],"nái zhì":["摨"],"mó mā":["摩"],"jiāng qiàng":["摪"],"áo qiáo":["摮"],"niè chè":["摰"],"mán màn":["摱"],"chàn cán":["摲"],"sè mí sù":["摵"],"biāo biào":["摽"],"juē jué":["撅"],piē:["撆","暼","氕","瞥"],"piě piē":["撇"],"zǎn zān zēn qián":["撍"],"sā sǎ":["撒"],hòng:["撔","訌","讧","闀","鬨"],"héng guàng":["撗"],niǎn:["撚","撵","攆","涊","焾","碾","簐","蹍","蹨","躎","輦","辇"],"chéng zhěng":["撜"],"huī wéi":["撝"],cāo:["撡","操","糙"],"xiāo sōu":["撨"],"liáo liāo":["撩"],"cuō zuǒ":["撮"],"wěi tuǒ":["撱"],cuān:["撺","攛","汆","蹿","躥","鑹","镩"],"qiào yāo jī":["撽"],"zhuā wō":["撾"],"lèi léi":["擂"],nǎng:["擃","攮","曩","灢"],"qíng jǐng":["擏"],kuǎi:["擓","蒯","㧟"],"pǐ bò":["擗"],"bò bāi":["擘"],"jù jǐ":["據"],mēng:["擝"],"sǒu sòu":["擞"],xǐng:["擤","箵","醒"],cā:["擦"],"níng nǐng nìng":["擰"],"zhì jié":["擳"],"là liè":["擸","爉"],"sòu sǒu":["擻"],"lì luò yuè":["擽"],"tī zhāi zhì":["擿"],pān:["攀","潘","眅","萠"],lèi:["攂","泪","涙","淚","禷","类","纇","蘱","酹","銇","錑","頛","頪","類","颣"],"cā sǎ":["攃"],"jùn pèi":["攈"],"lì luò":["攊","躒"],"là lài":["攋","櫴"],"lú luó":["攎"],"zǎn cuán":["攒"],"xiān jiān":["攕"],"mí mǐ mó":["攠"],"zǎn cuán zàn zuān":["攢"],zuàn:["攥"],"lì shài":["攦"],"lì luǒ":["攭"],"guǐ guì":["攱"],"jī qī yǐ":["攲"],fàng:["放"],"wù móu":["敄"],"chù shōu":["敊"],"gé guó è":["敋"],"duó duì":["敓","敚"],"duō què":["敠","敪"],"sàn sǎn":["散"],"dūn duì":["敦","镦"],"qī yǐ jī":["敧"],"xiào xué":["敩"],"shù shǔ shuò":["数","數"],"ái zhú":["敱","敳"],"xiòng xuàn":["敻"],"zhuó zhú":["斀"],"yì dù":["斁"],"lí tái":["斄"],"fěi fēi":["斐"],"yǔ zhōng":["斔"],"dòu dǒu":["斗"],"wò guǎn":["斡"],"tǒu tiǎo":["斢"],dòu:["斣","梪","浢","痘","窦","竇","脰","荳","豆","逗","郖","酘","閗","闘","餖","饾","鬥","鬦","鬪","鬬","鬭"],"yín zhì":["斦"],"chǎn jiè":["斺"],"wū yū yú":["於"],"yóu liú":["斿"],"páng bàng":["旁"],"máo mào":["旄"],"pī bì":["旇"],"xuán xuàn":["旋"],"wú mó":["无"],zǎo:["早","枣","栆","棗","澡","璪","薻","藻","蚤"],gā:["旮"],"gàn hàn":["旰"],"tái yīng":["旲"],"xū xù":["旴"],"tūn zhùn":["旽"],"wù wǔ":["旿"],"pò pèi":["昢"],zòng:["昮","猔","疭","瘲","粽","糉","糭","縦"],ǎi:["昹","毐","矮","蔼","藹","譪","躷","霭","靄"],"huàng huǎng":["晃"],xuǎn:["晅","癣","癬","选","選"],"xù kuā":["晇"],hǒng:["晎"],shài:["晒","曬"],"yūn yùn":["晕","煴"],"shèng chéng":["晟","椉","盛"],"jǐng yǐng":["景"],shǎn:["晱","熌","睒","覢","閃","闪","陕","陝"],"qǐ dù":["晵"],"ǎn àn yǎn":["晻"],"wǎng wàng":["暀"],zàn:["暂","暫","瓉","瓒","瓚","禶","襸","讃","讚","賛","贊","赞","蹔","鄼","錾","鏨","饡"],"yùn yūn":["暈"],"mín mǐn":["暋"],"dǔ shǔ":["暏"],shǔ:["暑","曙","潻","癙","糬","署","薥","薯","藷","蜀","蠴","襡","襩","鱪","鱰","黍","鼠","鼡"],"jiǎn lán":["暕"],nuǎn:["暖","煗","餪"],"bào pù":["暴"],"xī xǐ":["暿"],"pù bào":["曝","瀑"],"qū qǔ":["紶"],"qǔ qū":["曲"],"gèng gēng":["更"],"hū hù":["曶","雽"],"zēng céng":["曽","橧"],"céng zēng":["曾","竲"],"cǎn qián jiàn":["朁"],"qiè hé":["朅"],"bì pí":["朇","禆","笓","裨"],"yǒu yòu":["有"],"bān fén":["朌","鳻"],"fú fù":["服","洑"],"fěi kū":["朏","胐"],"qú xù chǔn":["朐"],"juān zuī":["朘"],"huāng máng wáng":["朚"],"qī jī":["期"],"tóng chuáng":["朣","橦"],zhá:["札","牐","箚","蚻","譗","鍘","铡","閘","闸"],"zhú shù shú":["朮"],"shù shú zhú":["术"],"zhū shú":["朱"],"pǔ pò pō piáo":["朴"],"dāo tiáo mù":["朷"],"guǐ qiú":["朹"],xiǔ:["朽","滫","潃","糔"],"chéng chēng":["朾"],zá:["杂","沯","砸","襍","雑","雜","雥","韴"],"yú wū":["杅"],"gān gǎn":["杆"],"chā chà":["杈"],"shān shā":["杉"],cūn:["村","皴","竴","膥","踆","邨"],"rèn ér":["杒","梕"],"sháo biāo":["杓"],"dì duò":["杕","枤"],"gū gài":["杚"],"yí zhì lí duò":["杝"],"gàng gāng":["杠"],"tiáo tiāo":["条","條"],"mà mǎ":["杩"],"sì zhǐ xǐ":["杫"],"yuán wán":["杬","蚖"],"bèi fèi":["杮"],"shū duì":["杸"],"niǔ chǒu":["杻"],"wò yuè":["枂","臒"],máo:["枆","毛","氂","渵","牦","矛","罞","茅","茆","蝥","蟊","軞","酕","鉾","錨","锚","髦","鶜"],"pī mì":["枈"],àng:["枊","盎","醠"],"fāng bìng":["枋"],"hù dǐ":["枑"],xín:["枔","襑","鐔","鬵"],"yāo yǎo":["枖"],"ě è":["枙"],"zhī qí":["枝"],"cōng zōng":["枞","樅"],"xiān zhēn":["枮"],"tái sì":["枱"],"gǒu jǔ gōu":["枸"],"bāo fú":["枹"],"yì xiè":["枻","栧"],"tuó duò":["柁","馱","駄","驮"],"yí duò lí":["柂"],"nǐ chì":["柅"],"pán bàn":["柈","跘"],"yǎng yàng yāng yīng":["柍"],"fù fū fǔ":["柎"],"bǎi bó bò":["柏"],mǒu:["某"],"sháo shào":["柖"],zhè:["柘","樜","浙","淛","蔗","蟅","這","鷓","鹧","䗪"],"yòu yóu":["柚","櫾"],"guì jǔ":["柜"],"zhà zuò":["柞"],"dié zhì":["柣","眰"],"zhā zǔ zū":["柤"],"chá zhā":["查","査"],"āo ào":["柪","軪"],"bā fú pèi bó biē":["柭"],"duò zuó wù":["柮"],"bì bié":["柲"],"zhù chù":["柷"],"bēi pēi":["柸"],"shì fèi":["柹"],"shān zhà shi cè":["栅"],"lì yuè":["栎","櫟"],"qì qiè":["栔","砌"],"qī xī":["栖","蹊"],"guā kuò":["栝"],"bīng bēn":["栟"],"xiào jiào":["校"],"jiàn zùn":["栫","袸"],"yǒu yù":["栯"],"hé hú":["核"],gēn:["根","跟"],"zhī yì":["栺"],"gé gē":["格"],"héng háng":["桁"],"guàng guāng":["桄"],"yí tí":["桋","荑"],sāng:["桑","桒","槡"],"jú jié":["桔"],"yú móu":["桙"],"ráo náo":["桡","橈"],"guì huì":["桧","檜"],"chén zhèn":["桭"],"tīng yíng":["桯"],"bó po":["桲"],"bèn fàn":["桳"],"fēng fèng":["桻","葑"],"sù yìn":["梀"],"tǐng tìng":["梃"],"xuān juān xié":["梋"],"tú chá":["梌"],"āo yòu":["梎"],kuǎn:["梡","欵","款","歀"],"shāo sào":["梢"],"qín chén cén":["梣"],"lí sì qǐ":["梩"],"chān yán":["梴"],"bīn bīng":["梹","槟","檳"],"táo chóu dào":["梼"],"cōng sōng":["棇"],"gùn hùn":["棍"],"dé zhé":["棏"],"pái bèi pèi":["棑"],"bàng pǒu bèi bēi":["棓"],"dì dài tì":["棣"],sēn:["森","椮","槮","襂"],"rěn shěn":["棯"],"léng lēng líng":["棱"],"fú sù":["棴"],"zōu sǒu":["棷"],zōu:["棸","箃","緅","諏","诹","邹","郰","鄒","鄹","陬","騶","驺","鯫","鲰","黀","齱","齺"],"zhào zhuō":["棹"],"chēn shēn":["棽"],"jiē qiè":["椄"],"yǐ yī":["椅"],"chóu zhòu diāo":["椆"],"qiāng kōng":["椌"],"zhuī chuí":["椎"],"bēi pí":["椑"],mēn:["椚"],"quān juàn quán":["椦"],"duǒ chuán":["椯"],"wěi huī":["椲"],"jiǎ jiā":["椵"],"hán jiān":["椷"],"shèn zhēn":["椹"],"yàn yà":["椻"],"zhā chá":["楂"],"guō kuǎ":["楇"],"jí zhì":["楖"],"kǔ hù":["楛"],"yóu yǒu":["楢"],"sǒng cōng":["楤"],"yuán xuàn":["楥"],"yǎng yàng yīng":["楧"],pián:["楩","胼","腁","賆","蹁","駢","騈","骈","骿","㛹"],"dié yè":["楪"],"dùn shǔn":["楯"],"còu zòu":["楱"],"dì dǐ shì":["楴"],"kǎi jiē":["楷"],"róu ròu":["楺"],"lè yuè":["楽"],"wēn yùn":["榅","鞰"],lǘ:["榈","櫚","氀","膢","藘","閭","闾","驢","驴"],shén:["榊","神","鉮","鰰","𬬹"],"bī pi":["榌"],"zhǎn niǎn zhèn":["榐"],"fú fù bó":["榑"],"jiàn jìn":["榗"],"bǎng bàng":["榜"],"shā xiè":["榝","樧"],nòu:["槈","耨","鎒","鐞"],"qiǎn lián xiàn":["槏"],gàng:["槓","焵","焹","筻","鿍"],gāo:["槔","槹","橰","櫜","睾","篙","糕","羔","臯","韟","餻","高","髙","鷎","鷱","鼛"],"diān zhěn zhēn":["槙"],"kǎn jiàn":["槛"],"xí dié":["槢"],"jī guī":["槣"],"róng yōng":["槦"],"tuán shuàn quán":["槫"],"qì sè":["槭"],"cuī zhǐ":["槯"],"yǒu chǎo":["槱"],"màn wàn":["槾"],"lí chī":["樆"],"léi lěi":["樏","櫑","礌"],"cháo jiǎo chāo":["樔"],"chēng táng":["樘"],"jiū liáo":["樛"],"mó mú":["模"],"niǎo mù":["樢"],"héng hèng":["横","橫"],xuě:["樰","膤","艝","轌","雪","鱈","鳕"],"fá fèi":["橃"],rùn:["橍","润","潤","膶","閏","閠","闰"],"zhǎn jiǎn":["橏"],shùn:["橓","瞚","瞬","舜","蕣","順","顺","鬊"],"tuí dūn":["橔"],"táng chēng":["橖"],"sù qiū":["橚"],"tán diàn":["橝"],"fén fèn fèi":["橨"],"rǎn yān":["橪"],"cū chu":["橻"],"shū qiāo":["橾"],"píng bò":["檘"],"zhái shì tú":["檡"],"biǎo biāo":["檦"],"qiān lián":["檶"],"nǐ mí":["檷"],"jiàn kǎn":["檻"],"nòu ruǎn rú":["檽"],"jī jì":["櫅","禨"],"huǎng guǒ gǔ":["櫎"],"lǜ chū":["櫖"],"miè mèi":["櫗"],ōu:["櫙","欧","歐","殴","毆","瓯","甌","膒","藲","謳","讴","鏂","鴎","鷗","鸥"],"zhù zhuó":["櫡"],"jué jì":["櫭"],"huái guī":["櫰"],"chán zhàn":["欃"],"wéi zuì":["欈"],cáng:["欌","鑶"],"yù yì":["欥"],"chù qù xì":["欪"],"kài ài":["欬"],"yì yīn":["欭"],"xì kài":["欯"],"shuò sòu":["欶"],"ǎi ēi éi ěi èi ê̄ ế ê̌ ề":["欸"],"qī yī":["欹"],"chuā xū":["欻"],"chǐ chuài":["欼"],"kǎn qiàn":["欿"],"kǎn kè":["歁"],"chuǎn chuán":["歂"],"yīn yān":["歅"],"jìn qūn":["歏"],pēn:["歕"],"xū chuā":["歘"],"xī shè":["歙"],"liǎn hān":["歛"],"zhì chí":["歭"],"sè shà":["歰"],sǐ:["死"],"wěn mò":["歾"],piǎo:["殍","皫","瞟","醥","顠"],"qíng jìng":["殑"],"fǒu bó":["殕"],"zhí shi":["殖"],"yè yān yàn":["殗"],"hūn mèi":["殙"],chòu:["殠","臰","遚"],"kuì huì":["殨","溃","潰"],cuàn:["殩","熶","爨","窜","竄","篡","簒"],"yīn yān yǐn":["殷"],"qìng kēng shēng":["殸"],"yáo xiáo xiào":["殽"],"gū gǔ":["毂","蛄"],"guàn wān":["毌"],"dú dài":["毒"],"xún xùn":["毥"],mú:["毪","氁"],"dòu nuò":["毭"],"sāi suī":["毸"],lu:["氇"],sào:["氉","瘙","矂","髞"],"shì zhī":["氏"],"dī dǐ":["氐"],"máng méng":["氓"],"yáng rì":["氜"],shuǐ:["水","氵","氺","閖"],"zhěng chéng zhèng":["氶"],tǔn:["氽"],"fán fàn":["氾"],"guǐ jiǔ":["氿"],"bīn pà pā":["汃"],"zhuó què":["汋"],"dà tài":["汏"],pìn:["汖","牝","聘"],"hàn hán":["汗","馯"],tu:["汢"],"tāng shāng":["汤","湯"],"zhī jì":["汥"],"gàn hán cén":["汵"],"wèn mén":["汶"],"fāng pāng":["汸"],"hǔ huǎng":["汻"],"niú yóu":["汼"],hàng:["沆"],"shěn chén":["沈"],"dùn zhuàn":["沌"],"nǜ niǔ":["沑"],"méi mò":["沒","没"],"tà dá":["沓"],"mì wù":["沕"],"hóng pāng":["沗"],"shā shà":["沙"],"zhuǐ zǐ":["沝"],"ōu òu":["沤","漚"],"jǔ jù":["沮"],"tuō duó":["沰"],"mǐ lì":["沵"],"yí chí":["沶"],"xiè yì":["泄"],"bó pō":["泊"],"mì bì":["泌","秘"],"chù shè":["泏"],"yōu yòu āo":["泑"],"pēng píng":["泙","硑"],"pào pāo":["泡"],"ní nì":["泥","秜"],"yuè sà":["泧"],"jué xuè":["泬","疦"],"lóng shuāng":["泷","瀧"],"luò pō":["泺","濼"],"zé shì":["泽","澤"],"sǎ xǐ":["洒"],"sè qì zì":["洓"],"xǐ xiǎn":["洗"],"kǎo kào":["洘"],"àn yàn è":["洝"],"lěi lèi":["洡"],"qiè jié":["洯"],"qiǎn jiān":["浅"],"jì jǐ":["济","済","濟","纪"],"hǔ xǔ":["浒","滸"],"jùn xùn":["浚","濬"],"yǐng chéng yíng":["浧"],"liàn lì":["浰"],"féng hóng":["浲","溄"],"jiǒng jiōng":["浻"],"suī něi":["浽"],"yǒng chōng":["涌"],"tūn yūn":["涒"],"wō guō":["涡","渦"],hēng:["涥","脝"],"zhǎng zhàng":["涨","漲"],"shòu tāo":["涭"],shuàn:["涮","腨"],"kōng náng":["涳"],"wò wǎn yuān":["涴"],"tuō tuò":["涶"],wō:["涹","猧","窝","窩","莴","萵","蜗","蝸","踒"],"qiè jí":["淁"],"guǒ guàn":["淉"],"lín lìn":["淋","獜","疄"],"tǎng chǎng":["淌"],"nào chuò zhuō":["淖"],"péng píng":["淜"],féi:["淝","肥","腓","蜰"],"pì pèi":["淠"],"niǎn shěn":["淰"],"biāo hǔ":["淲"],"chún zhūn":["淳"],"hùn hún":["混"],qiǎn:["淺","繾","缱","肷","膁","蜸","譴","谴","遣","鑓"],"wèn mín":["渂"],"rè ruò luò":["渃"],"dú dòu":["渎","瀆","读"],"jiàn jiān":["渐","溅","漸","濺"],"miǎn shéng":["渑","澠"],"nuǎn nuán":["渜"],"qiú wù":["渞"],"tíng tīng":["渟"],"dì tí dī":["渧"],"gǎng jiǎng":["港"],"hōng qìng":["渹"],tuān:["湍","煓"],"huì mǐn xū":["湏"],"xǔ xù":["湑"],pén:["湓","瓫","盆","葐"],"mǐn hūn":["湣"],"tuàn nuǎn":["湪"],"qiū jiǎo":["湫","湬"],"yān yīn":["湮"],"bàn pán":["湴"],"zhuāng hún":["湷"],"yàn guì":["溎"],"lián liǎn nián xián xiàn":["溓"],"dá tǎ":["溚","鿎"],"liū liù":["溜","澑","蹓"],lùn:["溣"],mǎ:["溤","犸","獁","玛","瑪","码","碼","遤","鎷","馬","马","鰢","鷌"],"zhēn qín":["溱"],"nì niào":["溺"],"chù xù":["滀","畜"],"wěng wēng":["滃"],"hào xuè":["滈"],"qì xì xiē":["滊"],"xíng yíng":["滎"],"zé hào":["滜"],"piāo piào piǎo":["漂"],"cóng sǒng":["漎"],"féng péng":["漨"],"luò tà":["漯"],"pēng bēn":["漰"],"chóng shuāng":["漴"],"huǒ kuò huò":["漷"],"liáo liú":["漻"],"cuǐ cuī":["漼"],"cóng zǒng":["潀"],"cóng zōng":["潈"],"pì piē":["潎"],"dàng xiàng":["潒"],"huáng guāng":["潢"],"liáo lào lǎo":["潦"],"cōng zòng":["潨"],"zhí zhì":["潪"],"tān shàn":["潬"],"tú zhā":["潳"],"sàn sǎ":["潵"],hēi:["潶","黑","黒","𬭶"],"chéng dèng":["澄","瀓"],"cūn cún":["澊"],"péng pēng":["澎"],"hòng gǒng":["澒","銾"],"wàn màn":["澫"],"kuài huì":["澮"],"guō wō":["濄"],"pēn fén":["濆"],"jí shà":["濈"],"huì huò":["濊"],"dǐng tìng":["濎"],"mǐ nǐ":["濔"],"bì pì":["濞"],"cuì zuǐ":["濢"],"hù huò":["濩"],"ǎi kài kè":["濭"],"wěi duì":["濻","瀢"],"zàn cuán":["濽","灒"],"yǎng yàng":["瀁"],"wǎng wāng":["瀇"],"mò miè":["瀎","眜"],suǐ:["瀡","膸","髓"],"huái wāi":["瀤"],"zùn jiàn":["瀳"],"yīng yǐng yìng":["瀴"],"ráng ràng":["瀼"],shuàng:["灀"],"zhuó jiào zé":["灂"],sǎ:["灑","訯","靸"],"luán luàn":["灓"],"dǎng tǎng":["灙"],"xún quán quàn":["灥"],"huǒ biāo":["灬"],"zhà yù":["灹"],"fén bèn":["炃"],"jiǒng guì":["炅"],"pàng fēng":["炐"],quē:["炔","缺","缼","蒛"],biān:["炞","煸","甂","砭","笾","箯","籩","編","编","蝙","邉","邊","鍽","鞭","鯾","鯿","鳊"],"zhāo zhào":["炤"],"zhuō chù":["炪"],"pào páo bāo":["炮"],"páo fǒu":["炰"],"shǎn qián shān":["炶"],"zhà zhá":["炸"],"jiǎo yào":["烄"],quǎn:["烇","犬","犭","畎","綣","绻","虇"],"yàng yáng":["烊"],"lào luò":["烙"],"huí huǐ":["烠"],rè:["热","熱"],"fú páo":["烰"],"xiè chè":["烲","焎"],"yàn shān":["烻"],"hūn xūn":["焄"],kào:["焅","犒","銬","铐","靠","鮳","鯌","鲓","㸆"],"juān yè":["焆"],"jùn qū":["焌"],"tāo dào":["焘"],"chǎo jù":["焣"],"wò ài":["焥"],"zǒng cōng":["焧"],"xī yì":["焬"],"xìn xīn":["焮"],"chāo zhuō":["焯"],"xiǒng yīng":["焸","焽"],kuǐ:["煃","跬","蹞","頍","𫠆"],"huī yùn xūn":["煇"],"jiǎo qiāo":["煍"],"qián shǎn shān":["煔"],"xī yí":["煕"],"shà shā":["煞"],"yè zhá":["煠"],"yáng yàng":["煬"],"ēn yūn":["煾"],"yūn yǔn":["熅"],"hè xiāo":["熇"],xióng:["熊","熋","雄"],"xūn xùn":["熏","爋"],gòng:["熕","貢","贡"],liū:["熘"],"cōng zǒng":["熜"],"lù āo":["熝"],"shú shóu":["熟"],"fēng péng":["熢"],"cuǐ suī":["熣"],tēng:["熥","膯","鼟"],"yùn yù":["熨"],"áo āo":["熬"],"hàn rǎn":["熯"],"ōu ǒu":["熰"],"huáng huǎng":["熿"],"chǎn dǎn chàn":["燀"],"jiāo zhuó qiáo jué":["燋"],"yàn yān":["燕"],"tài liè":["燤"],āo:["爊"],"yàn xún":["爓"],"jué jiào":["爝","覐","覚","覺","觉"],"lǎn làn":["爦"],"zhuǎ zhǎo":["爪"],"zhǎo zhuǎ":["爫"],"fù fǔ":["父"],diē:["爹","褺","跌"],zāng:["牂","羘","臧","賍","賘","贓","贜","赃","髒"],"piàn piān":["片"],"biān miàn":["牑"],bǎng:["牓","綁","绑"],"yǒu yōng":["牗"],"chēng chèng":["牚","竀"],niú:["牛","牜"],"jiū lè":["牞"],"mù móu":["牟"],māng:["牤"],"gē qiú":["牫"],"yòu chōu":["牰"],"tè zhí":["犆"],bēn:["犇","錛","锛"],"jiān qián":["犍","玪"],má:["犘","痲","蔴","蟇","麻"],"máo lí":["犛"],"bá quǎn":["犮"],"zhuó bào":["犳"],"àn hān":["犴"],"kàng gǎng":["犺"],"pèi fèi":["犻"],"fān huān":["犿"],kuáng:["狂","狅","誑","诳","軖","軠","鵟","𫛭"],"yí quán chí":["狋"],"xīng shēng":["狌"],"tuó yí":["狏"],kǔ:["狜","苦"],"huán huān":["狟"],"hé mò":["狢"],"tà shì":["狧"],"máng dòu":["狵"],"xī shǐ":["狶"],suān:["狻","痠","酸"],"bài pí":["猈"],"jiān yàn":["猏","豣"],"yī yǐ":["猗"],"yá wèi":["猚"],cāi:["猜"],"māo máo":["猫","貓"],"chuàn chuān":["猭"],"tuān tuàn":["猯","貒"],"yà jiá qiè":["猰"],"hè xiē gé hài":["猲"],"biān piàn":["猵","獱"],"bó pò":["猼"],"háo gāo":["獋"],"fén fèn":["獖"],"yào xiāo":["獟"],"shuò xī":["獡"],"gé liè xiē":["獦"],"nòu rú":["獳"],"náo nǎo yōu":["獶"],ráng:["獽","瓤","禳","穣","穰","蘘","躟","鬤"],"náo yōu":["獿"],"lǜ shuài":["率"],"wáng wàng":["王"],"yáng chàng":["玚"],"mín wén":["玟"],"bīn fēn":["玢"],"mén yǔn":["玧"],"qiāng cāng":["玱","瑲","篬"],"án gān":["玵"],"xuán xián":["玹"],"cī cǐ":["玼","跐"],"yí tāi":["珆"],"zǔ jù":["珇"],fà:["珐","琺","蕟","髪","髮"],"yín kèn":["珢"],"huī hún":["珲"],"xuán qióng":["琁"],"fú fū":["琈"],"bǐng pín":["琕"],"cuì sè":["琗"],"yù wéi":["琟"],"tiǎn tiàn":["琠"],"zhuó zuó":["琢"],"běng pěi":["琣"],guǎn:["琯","璭","痯","筦","管","舘","輨","錧","館","馆","鳤"],"hún huī":["琿"],"xié jiē":["瑎"],"chàng dàng yáng":["瑒"],"tiàn zhèn":["瑱"],"bīn pián":["瑸","璸"],"tú shū":["瑹"],cuǐ:["璀","皠","趡"],"zǎo suǒ":["璅"],"jué qióng":["璚"],"lú fū":["璷"],"jì zī":["璾"],suí:["瓍","綏","绥","遀","随","隨","髄"],"mí xǐ":["瓕"],"qióng wěi wèi":["瓗"],"huán yè yà":["瓛"],"bó páo":["瓟"],"zhí hú":["瓡"],piáo:["瓢","闝"],"wǎ wà":["瓦"],"xiáng hóng":["瓨"],wèng:["瓮","甕","罋","蕹","齆"],"shèn shén":["甚"],ruí:["甤","緌","蕤"],yòng:["用","砽","苚","蒏","醟","㶲"],shuǎi:["甩"],béng:["甭","甮"],"yóu zhá":["甴"],"diàn tián shèng":["甸"],"tǐng dīng":["町","甼"],"zāi zī":["甾"],"bì qí":["畁"],"dá fú":["畗"],"cè jì":["畟"],"zāi zī tián":["畠"],"zhì chóu shì":["畤"],"fān pān":["畨","番"],"shē yú":["畬"],"dāng dàng dǎng":["當"],"jiāng qiáng":["疆"],"pǐ yǎ shū":["疋"],"jié qiè":["疌"],"yí nǐ":["疑"],nè:["疒","眲","訥","讷"],"gē yì":["疙"],"nüè yào":["疟","瘧"],"lì lài":["疠","癘"],"yǎ xiā":["疨"],xuē:["疶","蒆","薛","辥","辪","靴","鞾"],"dǎn da":["疸"],"fá biǎn":["疺"],"fèi féi":["疿","痱"],"shān diàn":["痁"],"téng chóng":["痋"],"tōng tóng":["痌"],"wěi yòu yù":["痏"],"tān shǐ":["痑"],"pū pù":["痡","鋪"],"bēng péng":["痭"],"má lìn":["痳"],"tiǎn diàn":["痶"],"ān yè è":["痷"],"kē ē":["痾"],"zhì chì":["瘈"],"jiǎ xiá xiā":["瘕"],"lěi huì":["瘣"],"chài cuó":["瘥"],"diān chēn":["瘨"],"da dá":["瘩"],"biě biē":["瘪"],qué:["瘸"],"dàn dān":["癉"],"guì wēi":["癐"],"nòng nóng":["癑"],"biē biě":["癟"],"bō bǒ":["癷"],bái:["白"],"jí bī":["皀"],"de dì dí dī":["的"],"pā bà":["皅"],"gāo háo":["皋"],"gāo yáo":["皐"],"lì luò bō":["皪"],"zhā cǔ":["皻"],"zhāo zhǎn dǎn":["皽"],"jiān jiàn":["监","監","鋻","间","鞬"],"gài gě hé":["盖"],"máng wàng":["盳"],yuǎn:["盶","逺","遠"],"tián xián":["盷"],"xiāng xiàng":["相"],dǔn:["盹","趸","躉"],"xì pǎn":["盻"],"shěng xǐng":["省"],"yún hùn":["眃"],"miǎn miàn":["眄"],"kàn kān":["看"],"yìng yāng yǎng":["眏"],"yǎo āo ǎo":["眑"],"jū xū kōu":["眗"],"yí chì":["眙"],"dié tì":["眣"],"bǐng fǎng":["眪"],"pàng pán":["眫"],"mī mí":["眯","瞇"],"xuàn shùn xún":["眴"],tiào:["眺","粜","糶","覜","趒"],"zhe zhuó zháo zhāo":["着"],"qiáo shào xiāo":["睄"],"cuó zhuài":["睉"],gùn:["睔","謴"],"suì zuì":["睟"],"pì bì":["睥","稫","辟"],"yì zé gāo":["睪"],"xǐng xìng":["睲"],"guì wèi kuì":["瞆"],"kòu jì":["瞉"],"qióng huán":["瞏"],"mán mén":["瞒","瞞"],"diāo dōu":["瞗"],"lou lóu lǘ":["瞜"],"shùn rún":["瞤"],"liào liǎo":["瞭","钌"],"jiàn xián":["瞯"],"wǔ mí":["瞴"],"guì kuì":["瞶"],"nǐng chēng":["矃"],"huò yuè":["矆"],"mēng méng":["矇"],"kuàng guō":["矌"],"guàn quán":["矔"],"mǎn mán":["矕"],"jīn guān qín":["矜"],"jīn qín guān":["矝"],"yù xù jué":["矞"],"jiǎo jiáo":["矫","矯"],duǎn:["短"],"shí dàn":["石"],"gāng qiāng kòng":["矼"],"huā xū":["砉"],"pīn bīn fēn":["砏"],"yán yàn":["研","硏"],"luǒ kē":["砢"],"fú fèi":["砩","笰"],"zhǔ zhù":["砫"],"lá lì lā":["砬"],"kuāng guāng":["硄"],"gè luò":["硌"],"shuò shí":["硕","碩"],"wèi wéi ái":["硙"],"què kè kù":["硞"],"mǎng bàng":["硥"],"luò lòng":["硦"],"yǒng tóng":["硧"],nüè:["硸","虐"],"kēng kěng":["硻"],"yān yǎn":["硽"],"zhuì chuí duǒ":["硾"],"kōng kòng":["硿"],"zòng cóng":["碂"],"jiān zhàn":["碊"],"lù liù":["碌","陆"],"què xī":["碏"],"lún lǔn lùn":["碖"],"náo gāng":["碙"],"jié yà":["碣"],"wèi wěi":["碨"],"tí dī":["碮"],"chá chā":["碴"],"qiāo què":["碻"],"sù xiè":["碿"],"liú liù":["磂","遛","鎦","馏"],"sī tí":["磃"],"bàng páng":["磅"],"huá kě gū":["磆"],"wěi kuǐ":["磈"],"xiá qià yà":["磍"],"lián qiān":["磏"],"wèi ái gài":["磑"],"lá lā":["磖"],"áo qiāo":["磝"],"pēng pèng":["磞","閛"],"yīn yǐn":["磤"],"lěi léi":["磥"],"mó mò":["磨"],"qì zhú":["磩"],"láo luò":["磱"],"pán bō":["磻"],"jí shé":["磼"],"hé qiāo qiào":["礉"],"kè huò":["礊"],"què hú":["礐"],"è qì":["礘"],cǎ:["礤","礸"],"xián xín":["礥"],"léi lěi lèi":["礧"],"yán yǎn":["礹"],"qí zhǐ":["祇","蚔"],"bēng fāng":["祊"],"bì mì":["祕"],suàn:["祘","笇","筭","算","蒜"],"piào piāo":["票"],"jì zhài":["祭"],"shuì lèi":["祱"],"jìn jīn":["禁"],"chán shàn":["禅"],"yáng shāng":["禓"],"zhī zhǐ tí":["禔"],"shàn chán":["禪"],"yú yù ǒu":["禺"],"zǐ zì":["秄"],"chá ná":["秅"],"zhǒng zhòng chóng":["种"],"hào mào":["秏"],"kù kū":["秙"],zū:["租","葅"],chèng:["秤","穪"],"huó kuò":["秮","秳"],"chēng chèn chèng":["称","稱"],"shì zhì":["秲","銴"],"fù pū":["秿"],"xùn zè":["稄"],"tú shǔ":["稌"],"zhùn zhǔn":["稕"],"jī qí":["稘","綨","觭"],"léng líng":["稜"],"zuì zú sū":["稡"],"xì qiè":["稧","郄"],"zhǒng zhòng":["種"],"zōng zǒng":["稯"],"xián jiān liàn":["稴"],"zī jiū":["稵"],"jī qǐ":["稽"],ròng:["穃"],"shān cǎn cēn":["穇"],"mén méi":["穈"],"jǐ jì":["穖"],"xiāo rào":["穘"],"zhuō bó":["穛"],"tóng zhǒng zhòng":["穜"],zuō:["穝"],"biāo pāo":["穮","藨"],"zhuō jué":["穱"],"cuán zàn":["穳"],"kōng kòng kǒng":["空"],"yū yǔ":["穻"],zhǎi:["窄","鉙"],báo:["窇","雹"],"kū zhú":["窋"],"jiào liáo liù":["窌"],"wā guī":["窐"],"tiǎo yáo":["窕"],"xūn yìn":["窨"],"yà yē":["窫"],"tián diān yǎn":["窴"],"chāo kē":["窼"],"kuǎn cuàn":["窽","窾"],"chù qì":["竐"],"qǔ kǒu":["竘"],"jìng zhěn":["竧"],"kǎn kàn":["竷"],"zhú dǔ":["竺"],"lè jīn":["竻"],"zhuì ruì":["笍"],"háng hàng":["笐"],"cén jìn hán":["笒"],"dā xiá nà":["笚"],"zé zuó":["笮"],"lóng lǒng":["笼","篭","籠","躘","龓"],"zhù zhú":["筑","築"],"dá dā":["答","荅"],shāi:["筛","篩","簁","籭"],"yún jūn":["筠"],"láng làng":["筤","郎","阆"],"zhì zhǐ":["筫"],o:["筽"],"póu bù fú pú":["箁"],"pái bēi":["箄"],gè:["箇","虼","鉻","铬"],"tái chí":["箈"],"guǎi dài":["箉"],"zhào dào":["箌"],"jīng qìng":["箐"],"lín lǐn":["箖"],"jùn qūn":["箘"],"shī yí":["箷","釶"],"yuē yào chuò":["箹"],"xiāo shuò qiào":["箾"],"gōng gǎn lǒng":["篢"],"páng péng":["篣"],"zhuó huò":["篧"],"jiǎn jiān":["篯"],"dí zhú":["篴"],"zān cēn cǎn":["篸"],"zhuàn suǎn zuàn":["篹"],"piǎo biāo":["篻"],"guó guì":["簂"],"cè jí":["簎"],"mì miè":["簚"],"shāi sī":["簛"],"sǔn zhuàn":["簨"],"gàn gǎn":["簳"],"bò bǒ":["簸"],"bó bù":["簿"],shi:["籂"],"zhēn jiān":["籈"],"zhuàn zuǎn":["籑"],"fān pān biān":["籓"],"sǒu shǔ":["籔"],zuǎn:["籫","繤","纂","纉","纘","缵"],nǚ:["籹","釹","钕"],"shā chǎo":["粆"],"kāng jīng":["粇"],fěn:["粉","黺"],cū:["粗","觕","麁","麄","麤"],"nián zhān":["粘"],"cè sè":["粣"],"zhōu yù":["粥"],"shēn sǎn":["糁"],"biān biǎn":["糄","萹"],miàn:["糆","面","靣","麪","麫","麵","麺"],"hú hū hù":["糊"],"gǔ gòu":["糓"],"mí méi":["糜"],"sǎn shēn":["糝","糣"],zāo:["糟","蹧","遭","醩"],"mì sī":["糸"],"jiū jiǔ":["糺"],"xì jì":["系","繫"],"zhēng zhěng":["糽"],"chà chǎ":["紁","衩"],"yuē yāo":["約","约"],"hóng gōng":["紅","红"],"hé gē":["紇","纥"],"wén wèn":["紋","纹"],fóu:["紑"],"jì jié jiè":["紒"],"pī pí bǐ":["紕","纰"],"jīn jìn":["紟"],"zhā zā":["紥","紮"],hā:["紦"],"fū fù":["紨"],"chōu chóu":["紬"],"lèi léi lěi":["累"],"bō bì":["紴"],"tiǎn zhěn":["紾"],"jiōng jiǒng":["絅"],"jié jiē":["結","结","节"],"guà kuā":["絓"],"bǎi mò":["絔"],"gēng huán":["絙"],"jié xié":["絜"],"quán shuān":["絟"],"gǎi ǎi":["絠"],"luò lào":["絡","络"],"bīng bēng pēng":["絣"],"gěi jǐ":["給","给"],"tóng tōng dòng":["絧"],"tiào diào dào":["絩"],"lěi lèi léi":["絫"],"gāi hài":["絯"],"chī zhǐ":["絺"],"wèn miǎn mán wàn":["絻"],"huán huàn wàn":["綄"],"qīn xiān":["綅"],"tì tí":["綈"],"yán xiàn":["綖"],"zōng zèng zòng":["綜"],"chēn lín":["綝"],"zhǔn zhùn":["綧"],"qiàn qīng zhēng":["綪"],"qìng qǐ":["綮"],"lún guān":["綸","纶"],"chuò chāo":["綽","绰"],"tián tǎn chān":["緂"],"lǜ lù":["緑","绿"],"ruǎn ruàn":["緛"],"jí qī":["緝"],"zhòng chóng":["緟","重"],"miáo máo":["緢"],"xiè yè":["緤"],huǎn:["緩","缓","㬊"],"gēng gèng":["緪","縆"],"tōu xū shū":["緰"],"zōng zòng":["緵","繌"],"yùn gǔn":["緷"],"guā wō":["緺"],"yùn yūn wēn":["緼","縕"],"bāng bàng":["縍"],"gǔ hú":["縎","鶻"],"cī cuò suǒ":["縒"],"cuī shuāi":["縗"],"róng rǒng ròng":["縙"],"zài zēng":["縡"],cài:["縩","菜","蔡"],"féng fèng":["縫"],"suō sù":["縮","缩"],"yǎn yǐn":["縯","酓"],"zòng zǒng":["縱","纵"],"zhuàn juàn":["縳"],"mò mù":["縸","莫"],"piǎo piāo":["縹","缥"],"fán pó":["繁"],"bēng bèng":["繃"],"móu miù miào liǎo":["繆"],"yáo yóu zhòu":["繇"],"zēng zèng":["繒","缯"],"jú jué":["繘"],"chuō chuò":["繛"],"zūn zǔn":["繜"],rào:["繞","绕","遶"],"chǎn chán":["繟"],"huì huí":["繢","缋","藱"],"qiāo sāo zǎo":["繰"],"jiǎo zhuó":["繳","缴"],"dàn tán chán":["繵"],nǒng:["繷"],"pú fú":["纀"],"yào lì":["纅"],"rǎng xiāng":["纕"],"lí sǎ xǐ lǐ":["纚"],"xiān qiàn":["纤"],"jīng jìng":["经"],"tí tì":["绨"],"bēng běng bèng":["绷"],"zōng zèng":["综"],"jī qī":["缉"],"wēn yùn yūn":["缊"],"fèng féng":["缝"],"shuāi cuī suī":["缞"],"miù móu liáo miào mù":["缪"],"qiāo sāo":["缲"],fǒu:["缶","缹","缻","雬","鴀"],"bà ba pí":["罢","罷"],"guà guǎi":["罫"],"yáng xiáng":["羊","羏"],"měi gāo":["羙"],"yì xī":["羛"],"qiǎng qiān":["羟"],"qiāng kòng":["羫"],"qián xián yán":["羬"],nóu:["羺"],"hóng gòng":["羾"],"pī bì pō":["翍"],"qú yù":["翑"],ké:["翗"],"qiào qiáo":["翘"],"zhái dí":["翟"],"dào zhōu":["翢"],"hóu qú":["翵"],shuǎ:["耍"],"ruǎn nuò":["耎"],"ér nài":["耏"],"zhuān duān":["耑"],"pá bà":["耙"],"chí sì":["耛"],"qù chú":["耝"],"lún lǔn":["耣"],"jí jiè":["耤"],"tāng tǎng":["耥"],pǎng:["耪","覫"],"zhá zé":["耫"],"yē yé":["耶"],"yún yíng":["耺"],"wà tuǐ zhuó":["聉"],"ér nǜ":["聏"],"tiē zhé":["聑"],"dǐ zhì":["聜"],qié:["聺"],"nǐ jiàn":["聻"],"lèi lē":["肋"],cào:["肏","襙","鄵","鼜"],"bó dí":["肑"],"xiào xiāo":["肖"],"dù dǔ":["肚"],chāi:["肞","釵","钗"],"hán qín hàn":["肣"],"pàng pán pàn":["肨","胖"],"zhūn chún":["肫"],āng:["肮","骯"],"yù yō":["育"],"pí bǐ bì":["肶"],"fèi bì":["胇"],"bèi bēi":["背"],"fèi zǐ":["胏"],"píng pēng":["胓","苹"],"fū fú zhǒu":["胕"],"shèng shēng":["胜"],kuà:["胯","跨","骻"],"gǎi hǎi":["胲"],"gē gé gā":["胳"],"néng nài":["能"],"guī kuì":["胿"],"mài mò":["脉"],"zāng zàng":["脏"],"jiǎo jué":["脚","角"],cuǒ:["脞"],"de te":["脦"],"zuī juān":["脧"],něi:["脮","腇","餒","馁","鮾","鯘"],"pú fǔ":["脯"],niào:["脲"],shuí:["脽"],guò:["腂","過","鐹"],"là xī":["腊"],"yān ā":["腌"],"gāo gào":["膏"],"lù biāo":["膔"],chuái:["膗"],"zhuān chuán chún zhuǎn":["膞"],chuài:["膪","踹"],"fán pán":["膰"],"wǔ hū":["膴"],"shān dàn":["膻"],tún:["臀","臋","蛌","豘","豚","軘","霕","飩","饨","魨","鲀","黗"],"bì bei":["臂"],"là gé":["臈"],"sào sāo":["臊"],nào:["臑","閙","闹","鬧"],"ní luán":["臡"],"qiān xián":["臤"],"guàng jiǒng":["臦"],"guǎng jiǒng":["臩"],"chòu xiù":["臭"],"mián biān":["臱"],"dié zhí":["臷"],"zhī jìn":["臸"],"shè shě":["舍"],pù:["舖","舗"],"bān bō pán":["般"],kuā:["舿"],"gèn gěn":["艮"],"sè shǎi":["色"],"fú bó":["艴"],"jiāo qiú":["艽"],"chāi chā":["芆"],"sháo què":["芍"],"hù xià":["芐"],"zì zǐ":["芓"],"huì hū":["芔"],"tún chūn":["芚"],"jiè gài":["芥"],"xù zhù":["芧"],"yuán yán":["芫"],"xīn xìn":["芯"],"lún huā":["芲"],"wù hū":["芴"],"gōu gǒu":["芶"],"mào máo":["芼"],"fèi fú":["芾"],"chán yín":["苂"],qiē:["苆"],"sū sù":["苏"],"tiáo sháo":["苕"],"lì jī":["苙"],"kē hē":["苛"],"jù qǔ":["苣"],"ruò rě":["若"],"zhù níng":["苧"],"pā bó":["苩"],xiú:["苬"],"zhǎ zuó":["苲"],"jū chá":["苴"],nié:["苶"],"shēng ruí":["苼"],"qié jiā":["茄"],"zǐ cí":["茈"],"qiàn xī":["茜"],chǎi:["茝"],"fá pèi":["茷"],ráo:["荛","蕘","襓","饒","饶"],"yíng xíng":["荥"],"qián xún":["荨","蕁"],"yìn yīn":["荫"],"hé hè":["荷"],"shā suō":["莎"],"péng fēng":["莑"],"shēn xīn":["莘"],"wǎn guān guǎn":["莞"],"yóu sù":["莤"],"shāo xiāo":["莦","蛸"],"làng liáng":["莨"],"piǎo fú":["莩"],"wèn wǎn miǎn":["莬"],"shì shí":["莳","蒔"],"tù tú":["莵"],"xiān liǎn":["莶","薟"],"wǎn yù":["菀"],"zōu chù":["菆"],"lù lǜ":["菉"],"jūn jùn":["菌"],"niè rěn":["菍"],"zī zì zāi":["菑"],"tú tù":["菟"],"jiē shà":["菨"],"qiáo zhǎo":["菬"],"tái zhī chí":["菭"],"fēi fěi":["菲","蜚"],"qín qīn jīn":["菳"],"zū jù":["菹","蒩"],"lǐn má":["菻"],"tián tiàn":["菾"],tiē:["萜","貼","贴"],"luò là lào luō":["落"],"zhù zhuó zhe":["著"],"shèn rèn":["葚"],"gě gé":["葛"],"jùn suǒ":["葰"],"kuì kuài":["蒉"],"rú ná":["蒘"],"méng mēng měng":["蒙"],"yuán huán":["蒝"],"xú shú":["蒣"],"xí xì":["蒵"],"mì míng":["蓂"],"sōu sǒu":["蓃"],"gài gě hé hài":["蓋"],"yǎo zhuó":["蓔"],"diào tiáo dí":["蓧"],"xū qiū fū":["蓲"],"zí jú":["蓻"],"liǎo lù":["蓼"],xu:["蓿"],"hàn hǎn":["蔊"],"màn wàn mán":["蔓"],"pó bò":["蔢"],"fān fán bō":["蕃"],"hóng hòng":["蕻"],"yù ào":["薁","隩"],"xí xiào":["薂"],"báo bó bò":["薄"],"cí zī":["薋"],"wàn luàn":["薍"],"kǎo hāo":["薧"],"yuǎn wěi":["薳"],"zhòu chóu":["薵"],"wō mái":["薶"],"xiāo hào":["藃"],"yù xù xū":["藇"],"jiè jí":["藉"],"diào zhuó":["藋"],"cáng zàng":["藏"],lǎ:["藞"],"chú zhū":["藸"],"pín píng":["蘋"],"gān hán":["虷"],"hóng jiàng":["虹"],"huī huǐ":["虺"],"xiā há":["虾"],"mǎ mà mā":["蚂"],"fāng bàng":["蚄"],"bàng bèng":["蚌"],"jué quē":["蚗"],"qín qián":["蚙"],"gōng zhōng":["蚣"],"fǔ fù":["蚥"],"dài dé":["蚮"],"gǒu qú xù":["蚼"],"bǒ pí":["蚾"],"shé yí":["蛇"],tiě:["蛈","鉄","銕","鐡","鐵","铁","驖"],"gé luò":["蛒"],"máng bàng":["蛖"],"yì xǔ":["蛡"],"há gé":["蛤"],"qiè ní":["蛪"],"é yǐ":["蛾"],"zhē zhé":["蜇"],"là zhà":["蜡"],suò:["蜶","逤"],"yóu qiú":["蝤"],"xiā hā":["蝦"],"xī qī":["螇"],"bī pí":["螕"],"nài něng":["螚"],"hé xiá":["螛"],"guì huǐ":["螝"],"mǎ mā mà":["螞"],"shì zhē":["螫"],"zhì dié":["螲"],"jiàn chán":["螹"],"ma má mò":["蟆"],"mǎng měng":["蟒"],"biē bié":["蟞"],"bēn fèi":["蟦"],"láo liáo":["蟧"],"yín xún":["蟫"],"lí lǐ":["蠡"],"xuè xiě":["血"],"xíng háng hàng héng":["行"],"shuāi cuī":["衰"],"tuó tuō":["袉"],"lǐng líng":["袊"],"bào páo pào":["袌"],"jù jiē":["袓"],"hè kè":["袔"],"yí yì":["袘","貤"],"nà jué":["袦"],"bèi pī":["被"],"chǐ nuǒ":["袲"],"chǐ qǐ duǒ nuǒ":["袳"],"jiá qiā jié":["袷"],"bó mò":["袹"],"guī guà":["袿"],"liè liě":["裂"],"chéng chěng":["裎"],"jiē gé":["裓"],"dāo chóu":["裯"],"shang cháng":["裳"],"yuān gǔn":["裷"],"yǎn ān":["裺"],"tì xī":["裼"],"fù fú":["褔"],"chǔ zhǔ":["褚"],"tuì tùn":["褪"],lǎi:["襰"],"yào yāo":["要"],"qín tán":["覃"],"jiàn xiàn":["見","见"],piǎn:["覑","諞","谝","貵","𡎚"],"piē miè":["覕"],"yíng yǐng":["覮"],"qù qū":["覰","覷","觑"],"jiàn biǎn":["覵"],"luó luǎn":["覶"],"zī zuǐ":["觜"],"huà xiè":["觟"],"jiě jiè xiè":["解","觧"],"xué hù":["觷"],"lì lù":["觻"],tǎo:["討","讨"],zhùn:["訰"],"zī zǐ":["訾"],"yí dài":["詒","诒"],xiòng:["詗","诇"],"diào tiǎo":["誂"],"yí chǐ chì":["誃"],"lǎng làng":["誏"],"ēi éi ěi èi xī":["誒","诶"],shuà:["誜"],"yǔ yù":["語","语","雨"],"shuō shuì yuè":["說","说"],"shuí shéi":["誰","谁"],"qū juè":["誳"],"chī lài":["誺"],"nì ná":["誽"],"diào tiáo":["調"],"pǐ bēi":["諀"],"jì jī":["諅"],"zé zuò zhǎ cuò":["諎"],"chù jí":["諔"],"háo xià":["諕"],"lùn lún":["論","论"],"shì dì":["諟"],"huà guā":["諣"],"xǐ shāi āi":["諰"],"nán nàn":["諵","難"],miù:["謬","谬"],zèn:["譖","谮"],"shí zhì":["識","识"],"juàn xuān":["讂"],"yí tuī":["讉"],zhán:["讝"],"xǔ hǔ":["许"],"xiáng yáng":["详"],"tiáo diào zhōu":["调"],"chén shèn":["谌"],"mí mèi":["谜"],"màn mán":["谩"],"gǔ yù":["谷"],"huō huò huá":["豁"],"zhì zhài":["豸"],"huān huán":["貆"],"kěn kūn":["貇"],"mò hé":["貈"],"mò hé háo":["貉"],"jù lóu":["貗"],"zé zhài":["責","责"],"dài tè":["貸"],"bì bēn":["賁"],"jiǎ gǔ jià":["賈"],"xiōng mín":["賯"],càng:["賶"],"zhuàn zuàn":["賺","赚"],"wàn zhuàn":["贃"],"gàn gòng zhuàng":["贛"],"yuán yùn":["贠"],"bēn bì":["贲"],"jiǎ gǔ":["贾"],zǒu:["走","赱","鯐"],"dié tú":["趃"],"jū qiè":["趄"],"qū cù":["趋","趨"],"jí jié":["趌"],"guā huó":["趏"],"què qì jí":["趞"],"tàng tāng":["趟"],"chuō zhuó":["趠"],"qù cù":["趣"],"yuè tì":["趯"],"bō bào":["趵"],"kuà wù":["趶"],"guì jué":["趹"],"fāng fàng páng":["趽"],"páo bà":["跁"],"qí qǐ":["跂"],"jiàn chén":["跈"],"pǎo páo":["跑"],"diǎn diē tiē":["跕"],"jū jù qiè":["跙"],bǒ:["跛"],"luò lì":["跞"],"dài duò duō chí":["跢"],zhuǎi:["跩"],"bèng pián":["跰"],"tiào táo":["跳"],"shū chōu":["跾"],"liàng liáng":["踉"],"tà tā":["踏"],chǎ:["蹅","鑔","镲"],"dí zhí":["蹢"],"dēng dèng":["蹬","鐙","镫"],cèng:["蹭"],"dūn cún":["蹲"],"juě jué":["蹶"],liāo:["蹽"],"xiè sǎ":["躠"],tǐ:["躰","軆","骵"],"yà zhá gá":["轧","軋"],"xìn xiàn":["軐"],"fàn guǐ":["軓"],"zhuàn zhuǎn":["転"],"zhóu zhòu":["軸","轴"],bú:["轐","醭","鳪"],"zhuǎn zhuàn zhuǎi":["转"],"zǎi zài":["载"],"niǎn zhǎn":["辗"],"biān bian":["边"],"dào biān":["辺"],"yǐ yí":["迆","迤","迱"],"guò guo guō":["过"],"wàng kuāng":["迋"],"hái huán":["还"],"zhè zhèi":["这"],"yuǎn yuàn":["远"],"zhì lì":["迣"],"zhù wǎng":["迬"],"zhuī duī":["追"],"shì kuò":["适"],tòu:["透"],"tōng tòng":["通"],guàng:["逛"],"dǎi dài":["逮"],"suì suí":["遂"],"tí dì":["遆"],"yí wèi":["遗"],"shì dí zhé":["適"],cà:["遪"],"huán hái":["還"],"lí chí":["邌"],"kàng háng":["邟"],"nà nèi nā":["那"],"xié yá yé yú xú":["邪"],"gāi hái":["郂"],"huán xún":["郇"],"chī xī":["郗"],hǎo:["郝"],"lì zhí":["郦"],"xiáo ǎo":["郩"],"dōu dū":["都"],liǎo:["曢","鄝","镽"],"zàn cuán cuó":["酂","酇"],"dīng dǐng":["酊"],"cù zuò":["酢"],"fā pō":["酦"],"shāi shī":["酾"],niàng:["酿","醸"],"qiú chōu":["醔"],"pō fā":["醗","醱"],"chǎn chěn":["醦"],"yàn liǎn xiān":["醶"],"niàng niáng":["釀"],"lǐ li":["里"],"lí xǐ xī":["釐"],"liǎo liào":["釕"],"dīng dìng":["釘","钉"],"qiǎo jiǎo":["釥"],"yú huá":["釪"],"huá wū":["釫"],"rì rèn jiàn":["釰","釼"],"dì dài":["釱"],"pī zhāo":["釽"],"yá yé":["釾"],"bǎ pá":["鈀","钯"],"tā tuó":["鉈","铊"],běi:["鉳"],"bǐng píng":["鉼"],"hā kē":["鉿","铪"],chòng:["銃","铳"],"xiǎng jiōng":["銄"],"yù sì":["銉"],"xù huì":["銊"],"rén rěn":["銋"],"shàn shuò":["銏"],"chì lì":["銐"],"xiǎn xǐ":["銑","铣"],"hóu xiàng":["銗"],"diào tiáo yáo":["銚"],"xiān kuò tiǎn guā":["銛","銽","铦"],"zhé niè":["銸"],"zhōng yōng":["銿"],"tōu tù dòu":["鋀"],"méi méng":["鋂"],"wàn jiǎn":["鋄","鎫"],"tǐng dìng":["鋌","铤"],"juān jiān cuān":["鋑"],"sī tuó":["鋖"],"juān xuān juàn":["鋗"],"wú huá wū":["鋘"],"zhuó chuò":["鋜"],"xíng xìng jīng":["鋞"],"jū jú":["鋦","锔"],"zuì niè":["鋷"],"yuān yuǎn wǎn wān":["鋺"],"gāng gàng":["鋼","钢"],zhuī:["錐","锥","騅","骓","鵻"],ā:["錒","锕"],"cuō chā":["鎈"],"suǒ sè":["鎍"],"yáo zú":["鎐"],"yè tà gé":["鎑"],"qiāng chēng":["鎗"],"gé lì":["鎘","镉","鬲"],"bī pī bì":["鎞"],"gǎo hào":["鎬"],"zú chuò":["鏃"],"xiū xiù":["鏅"],"shòu sōu":["鏉"],"dí dī":["鏑","镝"],"qiāo sǎn càn":["鏒"],"lù áo":["鏕"],"tāng táng":["鏜"],"jiàn zàn":["鏩"],"huì suì ruì":["鏸"],"qiǎng qiāng":["鏹","镪"],"sǎn xiàn sà":["鏾"],"jiǎn jiàn":["鐧","锏"],"dāng chēng":["鐺","铛"],"zuān zuàn":["鑽"],"sà xì":["钑"],"yào yuè":["钥"],"tǒu dǒu":["钭"],"zuàn zuān":["钻"],"qiān yán":["铅"],"pí pī":["铍"],"yáo diào tiáo":["铫"],"tāng tàng":["铴"],"pù pū":["铺"],"tán xiān":["锬"],"liù liú":["镏"],"hào gǎo":["镐"],"táng tāng":["镗"],"tán chán xín":["镡"],"huò shǎn":["閄"],"hàn bì":["閈","闬"],"kāng kàng":["閌","闶"],"xián jiàn jiān jiǎn":["閒"],"xiā xiǎ":["閕"],"xiǎ kě":["閜"],"biàn guān":["閞"],"hé gé":["閤","颌"],"hòng xiàng":["閧"],"sē xī":["閪"],"tíng tǐng":["閮"],"è yān":["閼","阏"],"hòng juǎn xiàng":["闂"],"bǎn pàn":["闆"],"dū shé":["闍","阇"],"què quē":["闕"],"tāng táng chāng":["闛"],"kàn hǎn":["闞","阚"],"xì sè tà":["闟"],"mēn mèn":["闷"],"quē què":["阙"],"yán diàn":["阽"],"ā ē":["阿"],"bēi pō pí":["陂"],"yàn yǎn":["隁"],"yú yáo shù":["隃"],"lóng lōng":["隆"],"duì zhuì":["隊"],"suí duò":["隋"],"gāi qí ái":["隑"],"huī duò":["隓","隳"],"wěi kuí":["隗"],"lì dài":["隸"],"zhuī cuī wéi":["隹"],"hè hú":["隺","鶮"],"jùn juàn":["隽","雋"],"nán nàn nuó":["难"],"què qiāo qiǎo":["雀"],"guàn huán":["雚"],"guī xī":["雟"],"sè xí":["雭"],án:["雸"],"wù méng":["雺"],tèng:["霯"],"lù lòu":["露"],mái:["霾"],"jìng liàng":["靚"],"gé jí":["革"],bǎ:["靶"],"yāng yàng":["鞅"],"gé tà sǎ":["鞈"],"biān yìng":["鞕"],"qiào shāo":["鞘"],"juān xuān":["鞙"],"shàng zhǎng":["鞝"],"pí bǐng bì bēi":["鞞"],la:["鞡"],"xiè dié":["鞢"],ēng:["鞥"],"móu mù":["鞪"],"bì bǐng":["鞸"],"mèi wà":["韎"],rǒu:["韖"],"shè xiè":["韘"],"yùn wēn":["韫"],"dùn dú":["頓","顿"],duǐ:["頧"],luō:["頱"],"bīn pín":["頻"],yóng:["顒","颙","鰫"],mān:["顢","颟"],"jǐng gěng":["颈"],"jié xié jiá":["颉"],"kē ké":["颏"],"pín bīn":["频"],"chàn zhàn":["颤"],"fēng fěng":["風","风"],"biāo diū":["颩"],"bá fú":["颰"],"sāo sōu":["颾"],"liù liáo":["飂"],"shí sì yì":["食"],"yǎng juàn":["飬"],"zhù tǒu":["飳"],"yí sì":["飴"],"zuò zé zhā":["飵"],tiè:["飻","餮"],"xiǎng náng":["饟"],"táng xíng":["饧"],"gē le":["饹"],"chā zha":["馇"],"náng nǎng":["馕"],"yūn wò":["馧"],"zhī shì":["馶"],"xìn jìn":["馸"],"kuài jué":["駃"],zǎng:["駔","驵"],"tái dài":["駘"],"xún xuān":["駨"],"liáng láng":["駺"],piàn:["騗","騙","骗","魸"],"dài tái":["骀"],"sāo sǎo":["骚"],"gǔ gū":["骨"],"bèi mó":["骳"],"xiāo qiāo":["骹"],"bǎng pǎng":["髈"],"bó jué":["髉"],"bì pǒ":["髲"],"máo méng":["髳"],"kuò yuè":["髺"],"bā bà":["魞","鲃"],"jì cǐ":["鮆"],"bó bà":["鮊"],"zhǎ zhà":["鮓","鲊"],"chóu dài":["鮘"],"luò gé":["鮥"],"guī xié wā kuí":["鮭"],"xiān xiǎn":["鮮","鲜"],"pū bū":["鯆"],"yì sī":["鯣"],"bà bó":["鲌"],"guī xié":["鲑"],"sāi xǐ":["鳃"],"niǎo diǎo":["鳥"],"diāo zhāo":["鳭"],"gān hàn yàn":["鳱"],"fū guī":["鳺"],"jiān qiān zhān":["鳽"],"hé jiè":["鶡"],"piān biǎn":["鶣"],"chuàn zhì":["鶨"],"cāng qiāng":["鶬"],"sǔn xùn":["鶽"],"biāo páo":["麃"],"zhù cū":["麆"],"jūn qún":["麇","麕"],chi:["麶"],"mó me":["麼"],"mó me ma":["麽"],"mí mǒ":["麿"],"dàn shèn":["黮"],"zhěn yān":["黰"],"dǎn zhǎn":["黵"],"miǎn mǐn měng":["黾"],hōu:["齁"],nàng:["齉"],"qí jì zī zhāi":["齐"],"yín kěn yǎn":["龂"],"yín kěn":["龈"],"gōng wò":["龏"],"guī jūn qiū":["龜","龟"],"kuí wā":["䖯"],lōu:["䁖"],"ōu qū":["𫭟"],"lóu lǘ":["𦝼"],"gǎ gā gá":["嘎"],"wā guà":["坬"],"zhǐ dǐ":["茋"],"gǒng hóng":["硔"],"yáo xiào":["滧"]},Yn=new Ve;Object.keys(ue).forEach(n=>{const i=ue[n];for(let e of i)Yn.set(e,n)});const Gh=["zh","ch","sh","z","c","s","b","p","m","f","d","t","n","l","g","k","h","j","q","x","r","y","w",""],Qh=["j","q","x"],Jh=["uān","uán","uǎn","uàn","uan","uē","ué","uě","uè","ue","ūn","ún","ǔn","ùn","un","ū","ú","ǔ","ù","u"],nt={uān:"üān",uán:"üán",uǎn:"üǎn",uàn:"üàn",uan:"üan",uē:"üē",ué:"üé",uě:"üě",uè:"üè",ue:"üe",ūn:"ǖn",ún:"ǘn",ǔn:"ǚn",ùn:"ǜn",un:"ün",ū:"ǖ",ú:"ǘ",ǔ:"ǚ",ù:"ǜ",u:"ü"},it=["ia","ian","iang","iao","ie","iu","iong","ua","uai","uan","uang","ue","ui","uo","üan","üe","van","ve"],se={一:"yì",二:"èr",三:"sān",四:"sì",五:"wǔ",六:"liù",七:"qī",八:"bā",九:"jiǔ",十:"shí",百:"bǎi",千:"qiān",万:"wàn",亿:"yì",单:"dān",两:"liǎng",双:"shuāng",多:"duō",几:"jǐ",十一:"shí yī",零一:"líng yī",第一:"dì yī",一十:"yī shí",一十一:"yī shí yī"},oe={重:"chóng",行:"háng",斗:"dǒu",更:"gēng"};function et(){const n={零一:"líng yī","〇一":"líng yī",十一:"shí yī",一十:"yī shí",第一:"dì yī",一十一:"yī shí yī"};for(let i in se)for(let e in oe){const g=`${i}${e}`,u=`${se[i]} ${oe[e]}`;n[g]=u}return n}const le=et(),ht=Object.keys(le).map(n=>({zh:n,pinyin:le[n],probability:1e-12,length:In(n),priority:qn.Normal,dict:Symbol("rule")})),De={不:{bú:[4]},一:{yí:[4],yì:[1,2,3]}},tt={不:["的","而","之","后","也","还","地"],一:["的","而","之","后","也","还","是"]},gt=Object.keys(De);function ut(n,i,e){if(gt.indexOf(n)===-1)return oi(n);if(i===e&&i&&oi(i)!==i)return vi(oi(n));if(e&&!tt[n].includes(e)){const g=oi(e);if(g!==e){const u=qi(g),h=De[n];for(let t in h)if(h[t].indexOf(Number(u))!==-1)return t}}}function st(n,i){if(n==="了"&&(!i||!Yn.get(i)))return"liǎo"}function ot(n,i){if(n==="々")return!i||!Yn.get(i)?"tóng":Yn.get(i).split(" ")[0]}function ce(n,i,e){return ot(n,i)||st(n,i)||ut(n,i,e)||oi(n)}const Di={南宫:"nán gōng",第五:"dì wǔ",万俟:"mò qí",司马:"sī mǎ",上官:"shàng guān",欧阳:"ōu yáng",夏侯:"xià hóu",诸葛:"zhū gě",闻人:"wén rén",东方:"dōng fāng",赫连:"hè lián",皇甫:"huáng fǔ",尉迟:"yù chí",公羊:"gōng yáng",澹台:"tán tái",公冶:"gōng yě",宗政:"zōng zhèng",濮阳:"pú yáng",淳于:"chún yú",太叔:"tài shū",申屠:"shēn tú",公孙:"gōng sūn",仲孙:"zhòng sūn",轩辕:"xuān yuán",令狐:"líng hú",钟离:"zhōng lí",宇文:"yǔ wén",长孙:"zhǎng sūn",慕容:"mù róng",鲜于:"xiān yú",闾丘:"lǘ qiū",司徒:"sī tú",司空:"sī kōng",亓官:"qí guān",司寇:"sī kòu",仉督:"zhǎng dū",子车:"zǐ jū",颛孙:"zhuān sūn",端木:"duān mù",巫马:"wū mǎ",公西:"gōng xī",漆雕:"qī diāo",乐正:"yuè zhèng",壤驷:"rǎng sì",公良:"gōng liáng",拓跋:"tuò bá",夹谷:"jiá gǔ",宰父:"zǎi fǔ",榖梁:"gǔ liáng",段干:"duàn gān",百里:"bǎi lǐ",东郭:"dōng guō",南门:"nán mén",呼延:"hū yán",羊舌:"yáng shé",梁丘:"liáng qiū",左丘:"zuǒ qiū",东门:"dōng mén",西门:"xī mén",句龙:"gōu lóng",毌丘:"guàn qiū",赵:"zhào",钱:"qián",孙:"sūn",李:"lǐ",周:"zhōu",吴:"wú",郑:"zhèng",王:"wáng",冯:"féng",陈:"chén",褚:"chǔ",卫:"wèi",蒋:"jiǎng",沈:"shěn",韩:"hán",杨:"yáng",朱:"zhū",秦:"qín",尤:"yóu",许:"xǔ",何:"hé",吕:"lǚ",施:"shī",张:"zhāng",孔:"kǒng",曹:"cáo",严:"yán",华:"huà",金:"jīn",魏:"wèi",陶:"táo",姜:"jiāng",戚:"qī",谢:"xiè",邹:"zōu",喻:"yù",柏:"bǎi",水:"shuǐ",窦:"dòu",章:"zhāng",云:"yún",苏:"sū",潘:"pān",葛:"gě",奚:"xī",范:"fàn",彭:"péng",郎:"láng",鲁:"lǔ",韦:"wéi",昌:"chāng",马:"mǎ",苗:"miáo",凤:"fèng",花:"huā",方:"fāng",俞:"yú",任:"rén",袁:"yuán",柳:"liǔ",酆:"fēng",鲍:"bào",史:"shǐ",唐:"táng",费:"fèi",廉:"lián",岑:"cén",薛:"xuē",雷:"léi",贺:"hè",倪:"ní",汤:"tāng",滕:"téng",殷:"yīn",罗:"luó",毕:"bì",郝:"hǎo",邬:"wū",安:"ān",常:"cháng",乐:"yuè",于:"yú",时:"shí",傅:"fù",皮:"pí",卞:"biàn",齐:"qí",康:"kāng",伍:"wǔ",余:"yú",元:"yuán",卜:"bǔ",顾:"gù",孟:"mèng",平:"píng",黄:"huáng",和:"hé",穆:"mù",萧:"xiāo",尹:"yǐn",姚:"yáo",邵:"shào",湛:"zhàn",汪:"wāng",祁:"qí",毛:"máo",禹:"yǔ",狄:"dí",米:"mǐ",贝:"bèi",明:"míng",臧:"zāng",计:"jì",伏:"fú",成:"chéng",戴:"dài",谈:"tán",宋:"sòng",茅:"máo",庞:"páng",熊:"xióng",纪:"jǐ",舒:"shū",屈:"qū",项:"xiàng",祝:"zhù",董:"dǒng",梁:"liáng",杜:"dù",阮:"ruǎn",蓝:"lán",闵:"mǐn",席:"xí",季:"jì",麻:"má",强:"qiáng",贾:"jiǎ",路:"lù",娄:"lóu",危:"wēi",江:"jiāng",童:"tóng",颜:"yán",郭:"guō",梅:"méi",盛:"shèng",林:"lín",刁:"diāo",钟:"zhōng",徐:"xú",邱:"qiū",骆:"luò",高:"gāo",夏:"xià",蔡:"cài",田:"tián",樊:"fán",胡:"hú",凌:"líng",霍:"huò",虞:"yú",万:"wàn",支:"zhī",柯:"kē",昝:"zǎn",管:"guǎn",卢:"lú",莫:"mò",经:"jīng",房:"fáng",裘:"qiú",缪:"miào",干:"gān",解:"xiè",应:"yīng",宗:"zōng",丁:"dīng",宣:"xuān",贲:"bēn",邓:"dèng",郁:"yù",单:"shàn",杭:"háng",洪:"hóng",包:"bāo",诸:"zhū",左:"zuǒ",石:"shí",崔:"cuī",吉:"jí",钮:"niǔ",龚:"gōng",程:"chéng",嵇:"jī",邢:"xíng",滑:"huá",裴:"péi",陆:"lù",荣:"róng",翁:"wēng",荀:"xún",羊:"yáng",於:"yū",惠:"huì",甄:"zhēn",曲:"qū",家:"jiā",封:"fēng",芮:"ruì",羿:"yì",储:"chǔ",靳:"jìn",汲:"jí",邴:"bǐng",糜:"mí",松:"sōng",井:"jǐng",段:"duàn",富:"fù",巫:"wū",乌:"wū",焦:"jiāo",巴:"bā",弓:"gōng",牧:"mù",隗:"wěi",山:"shān",谷:"gǔ",车:"chē",侯:"hóu",宓:"mì",蓬:"péng",全:"quán",郗:"xī",班:"bān",仰:"yǎng",秋:"qiū",仲:"zhòng",伊:"yī",宫:"gōng",宁:"nìng",仇:"qiú",栾:"luán",暴:"bào",甘:"gān",钭:"tǒu",厉:"lì",戎:"róng",祖:"zǔ",武:"wǔ",符:"fú",刘:"liú",景:"jǐng",詹:"zhān",束:"shù",龙:"lóng",叶:"yè",幸:"xìng",司:"sī",韶:"sháo",郜:"gào",黎:"lí",蓟:"jì",薄:"bó",印:"yìn",宿:"sù",白:"bái",怀:"huái",蒲:"pú",邰:"tái",从:"cóng",鄂:"è",索:"suǒ",咸:"xián",籍:"jí",赖:"lài",卓:"zhuó",蔺:"lìn",屠:"tú",蒙:"méng",池:"chí",乔:"qiáo",阴:"yīn",鬱:"yù",胥:"xū",能:"nài",苍:"cāng",双:"shuāng",闻:"wén",莘:"shēn",党:"dǎng",翟:"zhái",谭:"tán",贡:"gòng",劳:"láo",逄:"páng",姬:"jī",申:"shēn",扶:"fú",堵:"dǔ",冉:"rǎn",宰:"zǎi",郦:"lì",雍:"yōng",郤:"xì",璩:"qú",桑:"sāng",桂:"guì",濮:"pú",牛:"niú",寿:"shòu",通:"tōng",边:"biān",扈:"hù",燕:"yān",冀:"jì",郏:"jiá",浦:"pǔ",尚:"shàng",农:"nóng",温:"wēn",别:"bié",庄:"zhuāng",晏:"yàn",柴:"chái",瞿:"qú",阎:"yán",充:"chōng",慕:"mù",连:"lián",茹:"rú",习:"xí",宦:"huàn",艾:"ài",鱼:"yú",容:"róng",向:"xiàng",古:"gǔ",易:"yì",慎:"shèn",戈:"gē",廖:"liào",庾:"yǔ",终:"zhōng",暨:"jì",居:"jū",衡:"héng",步:"bù",都:"dū",耿:"gěng",满:"mǎn",弘:"hóng",匡:"kuāng",国:"guó",文:"wén",寇:"kòu",广:"guǎng",禄:"lù",阙:"quē",东:"dōng",欧:"ōu",殳:"shū",沃:"wò",利:"lì",蔚:"wèi",越:"yuè",夔:"kuí",隆:"lóng",师:"shī",巩:"gǒng",厍:"shè",聂:"niè",晁:"cháo",勾:"gōu",敖:"áo",融:"róng",冷:"lěng",訾:"zī",辛:"xīn",阚:"kàn",那:"nā",简:"jiǎn",饶:"ráo",空:"kōng",曾:"zēng",母:"mǔ",沙:"shā",乜:"niè",养:"yǎng",鞠:"jū",须:"xū",丰:"fēng",巢:"cháo",关:"guān",蒯:"kuǎi",相:"xiàng",查:"zhā",后:"hòu",荆:"jīng",红:"hóng",游:"yóu",竺:"zhú",权:"quán",逯:"lù",盖:"gě",益:"yì",桓:"huán",公:"gōng",牟:"móu",哈:"hǎ",言:"yán",福:"fú",肖:"xiāo",区:"ōu",覃:"qín",朴:"piáo",繁:"pó",员:"yùn",句:"gōu",要:"yāo",过:"guō",钻:"zuān",谌:"chén",折:"shé",召:"shào",郄:"qiè",撒:"sǎ",甯:"nìng",六:"lù",啜:"chuài",行:"xíng"},lt=Object.keys(Di).map(n=>({zh:n,pinyin:Di[n],probability:1+In(n),length:In(n),priority:qn.Surname,dict:Symbol("surname")})),re={这个:"zhè ge",成为:"chéng wéi",认为:"rèn wéi",作为:"zuò wéi",部分:"bù fen",要求:"yāo qiú",应该:"yīng gāi",增长:"zēng zhǎng",提供:"tí gōng",觉得:"jué de",任务:"rèn wu",那个:"nà ge",称为:"chēng wéi",为主:"wéi zhǔ",了解:"liǎo jiě",处理:"chǔ lǐ",皇上:"huáng shang",只要:"zhǐ yào",大量:"dà liàng",力量:"lì liàng",几乎:"jī hū",干部:"gàn bù",目的:"mù dì",行为:"xíng wéi",只见:"zhǐ jiàn",认识:"rèn shi",市长:"shì zhǎng",师父:"shī fu",调查:"diào chá",重新:"chóng xīn",分为:"fēn wéi",知识:"zhī shi",导弹:"dǎo dàn",质量:"zhì liàng",行款:"háng kuǎn",行列:"háng liè",行话:"háng huà",行业:"háng yè",隔行:"gé háng",在行:"zài háng",行家:"háng jia",内行:"nèi háng",外行:"wài háng",同行:"tóng háng",本行:"běn háng",行伍:"háng wǔ",洋行:"yáng háng",银行:"yín háng",商行:"shāng háng",支行:"zhī háng",总行:"zǒng háng",行情:"háng qíng",懂行:"dǒng háng",行规:"háng guī",行当:"háng dang",行货:"háng huò",太行:"tài háng",入行:"rù háng",中行:"zhōng háng",农行:"nóng háng",工行:"gōng háng",建行:"jiàn háng",各行:"gè háng",行号:"háng hào",行高:"háng gāo",行首:"háng shǒu",行尾:"háng wěi",行末:"háng mò",行长:"háng cháng",行距:"háng jù",换行:"huàn háng",行会:"háng huì",行辈:"háng bèi",行道:"háng dào",道行:"dào heng",参与:"cān yù",充分:"chōng fèn",尽管:"jǐn guǎn",生长:"shēng zhǎng",数量:"shù liàng",应当:"yīng dāng",院长:"yuàn zhǎng",强调:"qiáng diào",只能:"zhǐ néng",音乐:"yīn yuè",以为:"yǐ wéi",处于:"chǔ yú",部长:"bù zhǎng",蒙古:"měng gǔ",只有:"zhǐ yǒu",适当:"shì dàng",只好:"zhǐ hǎo",成长:"chéng zhǎng",高兴:"gāo xìng",不了:"bù liǎo",产量:"chǎn liàng",胖子:"pàng zi",显得:"xiǎn de",只是:"zhǐ shì",似的:"shì de",率领:"shuài lǐng",改为:"gǎi wéi",不禁:"bù jīn",成分:"chéng fèn",答应:"dā ying",少年:"shào nián",兴趣:"xìng qù",太监:"tài jian",休息:"xiū xi",校长:"xiào zhǎng",更新:"gēng xīn",合同:"hé tong",喝道:"hè dào",重庆:"chóng qìng",重建:"chóng jiàn",使得:"shǐ de",审查:"shěn chá",累计:"lěi jì",给予:"jǐ yǔ",极为:"jí wéi",冠军:"guàn jūn",仿佛:"fǎng fú",头发:"tóu fa",投降:"tóu xiáng",家长:"jiā zhǎng",仔细:"zǐ xì",要是:"yào shi",将领:"jiàng lǐng",含量:"hán liàng",更为:"gèng wéi",积累:"jī lěi",地处:"dì chǔ",县长:"xiàn zhǎng",少女:"shào nǚ",路上:"lù shang",只怕:"zhǐ pà",能量:"néng liàng",储量:"chǔ liàng",供应:"gōng yìng",挑战:"tiǎo zhàn",西藏:"xī zàng",记得:"jì de",总量:"zǒng liàng",当真:"dàng zhēn",将士:"jiàng shì",差别:"chā bié",较为:"jiào wéi",长老:"zhǎng lǎo",大夫:"dài fu",差异:"chā yì",懂得:"dǒng de",尽量:"jǐn liàng",模样:"mú yàng",的确:"dí què",为首:"wéi shǒu",便宜:"pián yi",更名:"gēng míng",石头:"shí tou",州长:"zhōu zhǎng",为止:"wéi zhǐ",漂亮:"piào liang",炮弹:"pào dàn",藏族:"zàng zú",角色:"jué sè",当作:"dàng zuò",尽快:"jǐn kuài",人为:"rén wéi",重复:"chóng fù",胡同:"hú tòng",差距:"chā jù",弟兄:"dì xiong",大将:"dà jiàng",睡觉:"shuì jiào",一觉:"yí jiào",团长:"tuán zhǎng",队长:"duì zhǎng",区长:"qū zhǎng",难得:"nán dé",丫头:"yā tou",会长:"huì zhǎng",弟弟:"dì di",王爷:"wáng ye",重量:"zhòng liàng",誉为:"yù wéi",家伙:"jiā huo",华山:"huà shān",椅子:"yǐ zi",流量:"liú liàng",长大:"zhǎng dà",勉强:"miǎn qiǎng",会计:"kuài jì",过分:"guò fèn",济南:"jǐ nán",调动:"diào dòng",燕京:"yān jīng",少将:"shào jiàng",中毒:"zhòng dú",晓得:"xiǎo de",变更:"biàn gēng",打更:"dǎ gēng",认得:"rèn de",苹果:"píng guǒ",念头:"niàn tou",挣扎:"zhēng zhá",三藏:"sān zàng",剥削:"bō xuē",丞相:"chéng xiàng",少量:"shǎo liàng",寻思:"xún si",夺得:"duó dé",干线:"gàn xiàn",呼吁:"hū yù",处罚:"chǔ fá",长官:"zhǎng guān",柏林:"bó lín",亲戚:"qīn qi",身分:"shēn fèn",胳膊:"gē bo",着手:"zhuó shǒu",炸弹:"zhà dàn",咳嗽:"ké sou",叶子:"yè zi",外长:"wài zhǎng",供给:"gōng jǐ",师长:"shī zhǎng",变量:"biàn liàng",应有:"yīng yǒu",下载:"xià zài",乐器:"yuè qì",间接:"jiàn jiē",底下:"dǐ xià",打扮:"dǎ bàn",子弹:"zǐ dàn",弹药:"dàn yào",热量:"rè liàng",削弱:"xuē ruò",骨干:"gǔ gàn",容量:"róng liàng",模糊:"mó hu",转动:"zhuàn dòng",称呼:"chēng hu",科长:"kē zhǎng",处置:"chǔ zhì",着重:"zhuó zhòng",着急:"zháo jí",强迫:"qiǎng pò",庭长:"tíng zhǎng",首相:"shǒu xiàng",喇嘛:"lǎ ma",镇长:"zhèn zhǎng",只管:"zhǐ guǎn",重重:"chóng chóng",免得:"miǎn de",着实:"zhuó shí",度假:"dù jià",真相:"zhēn xiàng",相貌:"xiàng mào",处分:"chǔ fèn",委屈:"wěi qu",为期:"wéi qī",伯伯:"bó bo",伯子:"bǎi zi",圈子:"quān zi",见识:"jiàn shi",笼罩:"lǒng zhào",与会:"yù huì",都督:"dū du",都市:"dū shì",成都:"chéng dū",首都:"shǒu dū",帝都:"dì dū",王都:"wáng dū",东都:"dōng dū",都护:"dū hù",都城:"dū chéng",建都:"jiàn dū",迁都:"qiān dū",故都:"gù dū",定都:"dìng dū",中都:"zhōng dū",六安:"lù ān",宰相:"zǎi xiàng",较量:"jiào liàng",对称:"duì chèn",总长:"zǒng zhǎng",相公:"xiàng gong",空白:"kòng bái",打量:"dǎ liang",水分:"shuǐ fèn",舌头:"shé tou",没收:"mò shōu",行李:"xíng li",判处:"pàn chǔ",散文:"sǎn wén",处境:"chǔ jìng",孙子:"sūn zi",拳头:"quán tou",打发:"dǎ fā",组长:"zǔ zhǎng",骨头:"gǔ tou",宁可:"nìng kě",更换:"gēng huàn",薄弱:"bó ruò",还原:"huán yuán",重修:"chóng xiū",重来:"chóng lái",只顾:"zhǐ gù",爱好:"ài hào",馒头:"mán tou",军长:"jūn zhǎng",首长:"shǒu zhǎng",厂长:"chǎng zhǎng",司长:"sī zhǎng",长子:"zhǎng zǐ",强劲:"qiáng jìng",恰当:"qià dàng",头儿:"tóu er",站长:"zhàn zhǎng",折腾:"zhē teng",相处:"xiāng chǔ",统率:"tǒng shuài",中将:"zhōng jiàng",命中:"mìng zhòng",名将:"míng jiàng",木头:"mù tou",动弹:"dòng tan",地壳:"dì qiào",干活:"gàn huó",少爷:"shào ye",水量:"shuǐ liàng",补给:"bǔ jǐ",尾巴:"wěi ba",来得:"lái de",好奇:"hào qí",钥匙:"yào shi",当做:"dàng zuò",沉着:"chén zhuó",哑巴:"yǎ ba",车子:"chē zi",上将:"shàng jiàng",恶心:"ě xīn",担子:"dàn zi",应届:"yīng jiè",主角:"zhǔ jué",运转:"yùn zhuǎn",兄长:"xiōng zhǎng",格式:"gé shì",正月:"zhēng yuè",营长:"yíng zhǎng",当成:"dàng chéng",女婿:"nǚ xu",咽喉:"yān hóu",重阳:"chóng yáng",化为:"huà wéi",吐蕃:"tǔ bō",钻进:"zuān jìn",乐队:"yuè duì",亮相:"liàng xiàng",被子:"bèi zi",舍得:"shě de",杉木:"shā mù",击中:"jī zhòng",排长:"pái zhǎng",假期:"jià qī",分量:"fèn liàng",数次:"shù cì",提防:"dī fáng",吆喝:"yāo he",查处:"chá chǔ",量子:"liàng zǐ",里头:"lǐ tou",调研:"diào yán",伺候:"cì hou",重申:"chóng shēn",枕头:"zhěn tou",拚命:"pīn mìng",社长:"shè zhǎng",归还:"guī huán",批量:"pī liàng",畜牧:"xù mù",点着:"diǎn zháo",甚为:"shèn wéi",小将:"xiǎo jiàng",着眼:"zhuó yǎn",处死:"chǔ sǐ",厌恶:"yàn wù",鼓乐:"gǔ yuè",树干:"shù gàn",秘鲁:"bì lǔ",大方:"dà fāng",外头:"wài tou",班长:"bān zhǎng",星宿:"xīng xiù",宁愿:"nìng yuàn",钦差:"qīn chāi",为数:"wéi shù",勾当:"gòu dàng",削减:"xuē jiǎn",间谍:"jiàn dié",埋怨:"mán yuàn",结实:"jiē shi",计量:"jì liáng",淹没:"yān mò",村长:"cūn zhǎng",连长:"lián zhǎng",自给:"zì jǐ",武将:"wǔ jiàng",温差:"wēn chā",直奔:"zhí bèn",供求:"gōng qiú",剂量:"jì liàng",道长:"dào zhǎng",泄露:"xiè lòu",王八:"wáng ba",切割:"qiē gē",间隔:"jiàn gé",一晃:"yì huǎng",长假:"cháng jià",令狐:"líng hú",为害:"wéi hài",句子:"jù zi",偿还:"cháng huán",疙瘩:"gē da",燕山:"yān shān",堵塞:"dǔ sè",夺冠:"duó guàn",扎实:"zhā shi",电荷:"diàn hè",看守:"kān shǒu",复辟:"fù bì",郁闷:"yù mèn",尽早:"jǐn zǎo",切断:"qiē duàn",指头:"zhǐ tou",为生:"wéi shēng",畜生:"chù sheng",切除:"qiē chú",着力:"zhuó lì",着想:"zhuó xiǎng",级差:"jí chā",投奔:"tóu bèn",棍子:"gùn zi",含糊:"hán hu",少妇:"shào fù",兴致:"xìng zhì",纳闷:"nà mèn",干流:"gàn liú",卷起:"juǎn qǐ",扇子:"shàn zi",更改:"gēng gǎi",笼络:"lǒng luò",喇叭:"lǎ ba",载荷:"zài hè",妥当:"tuǒ dàng",为难:"wéi nán",着陆:"zhuó lù",燕子:"yàn zi",干吗:"gàn má",白发:"bái fà",总得:"zǒng děi",夹击:"jiā jī",曝光:"bào guāng",曲调:"qǔ diào",相机:"xiàng jī",叫化:"jiào huà",角逐:"jué zhú",啊哟:"ā yō",载重:"zài zhòng",长辈:"zhǎng bèi",出差:"chū chāi",垛口:"duǒ kǒu",撇开:"piē kāi",厅长:"tīng zhǎng",组分:"zǔ fèn",误差:"wù chā",家当:"jiā dàng",传记:"zhuàn jì",个子:"gè zi",铺设:"pū shè",干事:"gàn shì",杆菌:"gǎn jūn",定量:"dìng liàng",运载:"yùn zài",会儿:"huì er",酋长:"qiú zhǎng",重返:"chóng fǎn",差额:"chā é",露面:"lòu miàn",钻研:"zuān yán",大城:"dài chéng",上当:"shàng dàng",销量:"xiāo liàng",作坊:"zuō fang",照相:"zhào xiàng",哎呀:"āi yā",调集:"diào jí",看中:"kàn zhòng",议长:"yì zhǎng",风筝:"fēng zheng",辟邪:"bì xié",空隙:"kòng xì",更迭:"gēng dié",偏差:"piān chā",声调:"shēng diào",适量:"shì liàng",屯子:"tún zi",无量:"wú liàng",空地:"kòng dì",调度:"diào dù",散射:"sǎn shè",创伤:"chuāng shāng",海参:"hǎi shēn",满载:"mǎn zài",重叠:"chóng dié",落差:"luò chā",单调:"dān diào",老将:"lǎo jiàng",人参:"rén shēn",间断:"jiàn duàn",重现:"chóng xiàn",夹杂:"jiā zá",调用:"diào yòng",萝卜:"luó bo",附着:"fù zhuó",应声:"yìng shēng",主将:"zhǔ jiàng",罪过:"zuì guo",咀嚼:"jǔ jué",为政:"wéi zhèng",过量:"guò liàng",乐曲:"yuè qǔ",负荷:"fù hè",枪弹:"qiāng dàn",悄然:"qiǎo rán",处方:"chǔ fāng",悄声:"qiǎo shēng",曲子:"qǔ zi",情调:"qíng diào",挑衅:"tiǎo xìn",代为:"dài wéi",了结:"liǎo jié",打中:"dǎ zhòng",酒吧:"jiǔ bā",懒得:"lǎn de",增量:"zēng liàng",衣着:"yī zhuó",部将:"bù jiàng",要塞:"yào sài",茶几:"chá jī",杠杆:"gàng gǎn",出没:"chū mò",鲜有:"xiǎn yǒu",间隙:"jiàn xì",重担:"zhòng dàn",重演:"chóng yǎn",重试:"chóng shì",应酬:"yìng chou",只当:"zhǐ dāng",毋宁:"wú nìng",包扎:"bāo zā",前头:"qián tou",卷烟:"juǎn yān",非得:"fēi děi",弹道:"dàn dào",杆子:"gān zi",门将:"mén jiàng",后头:"hòu tou",喝彩:"hè cǎi",暖和:"nuǎn huo",累积:"lěi jī",调遣:"diào qiǎn",倔强:"jué jiàng",宝藏:"bǎo zàng",丧事:"sāng shì",约莫:"yuē mo",纤夫:"qiàn fū",更替:"gēng tì",装载:"zhuāng zài",背包:"bēi bāo",帖子:"tiě zi",松散:"sōng sǎn",呼喝:"hū hè",可恶:"kě wù",自转:"zì zhuàn",供电:"gōng diàn",反省:"fǎn xǐng",坦率:"tǎn shuài",苏打:"sū dá",本分:"běn fèn",落得:"luò de",鄙薄:"bǐ bó",相间:"xiāng jiàn",单薄:"dān bó",混蛋:"hún dàn",贞观:"zhēn guān",附和:"fù hè",能耐:"néng nài",吓唬:"xià hu",未了:"wèi liǎo",引着:"yǐn zháo",抽调:"chōu diào",沙子:"shā zi",席卷:"xí juǎn",标的:"biāo dì",别扭:"biè niu",思量:"sī liang",喝采:"hè cǎi",论语:"lún yǔ",盖子:"gài zi",分外:"fèn wài",弄堂:"lòng táng",乐舞:"yuè wǔ",雨量:"yǔ liàng",毛发:"máo fà",差遣:"chāi qiǎn",背负:"bēi fù",转速:"zhuàn sù",声乐:"shēng yuè",夹攻:"jiā gōng",供水:"gōng shuǐ",主干:"zhǔ gàn",惩处:"chéng chǔ",长相:"zhǎng xiàng",公差:"gōng chāi",榴弹:"liú dàn",省得:"shěng de",条子:"tiáo zi",重围:"chóng wéi",阻塞:"zǔ sè",劲风:"jìng fēng",纠葛:"jiū gé",颠簸:"diān bǒ",点中:"diǎn zhòng",重创:"zhòng chuāng",姥姥:"lǎo lao",迷糊:"mí hu",公家:"gōng jia",几率:"jī lǜ",苦闷:"kǔ mèn",度量:"dù liàng",差错:"chā cuò",暑假:"shǔ jià",参差:"cēn cī",搭载:"dā zài",助长:"zhù zhǎng",相称:"xiāng chèn",红晕:"hóng yùn",舍命:"shě mìng",喜好:"xǐ hào",列传:"liè zhuàn",劲敌:"jìng dí",蛤蟆:"há ma",请假:"qǐng jià",钉子:"dīng zi",沉没:"chén mò",高丽:"gāo lí",休假:"xiū jià",无为:"wú wéi",巴结:"bā jie",了得:"liǎo dé",变相:"biàn xiàng",核弹:"hé dàn",亲家:"qìng jia",承载:"chéng zài",喝问:"hè wèn",还击:"huán jī",交还:"jiāo huán",将令:"jiàng lìng",单于:"chán yú",空缺:"kòng quē",绿林:"lù lín",胆量:"dǎn liàng",执着:"zhí zhuó",低调:"dī diào",闭塞:"bì sè",轻薄:"qīng bó",得当:"dé dàng",占卜:"zhān bǔ",扫帚:"sào zhou",龟兹:"qiū cí",年长:"nián zhǎng",外传:"wài zhuàn",头子:"tóu zi",裁缝:"cái feng",礼乐:"lǐ yuè",血泊:"xuè pō",散乱:"sǎn luàn",动量:"dòng liàng",倒腾:"dǎo teng",取舍:"qǔ shě",咱家:"zán jiā",长发:"cháng fà",爪哇:"zhǎo wā",弹壳:"dàn ké",省悟:"xǐng wù",嚷嚷:"rāng rang",连累:"lián lèi",应得:"yīng dé",族长:"zú zhǎng",柜子:"guì zi",擂鼓:"léi gǔ",眩晕:"xuàn yùn",调配:"tiáo pèi",躯干:"qū gàn",差役:"chāi yì",坎坷:"kǎn kě",少儿:"shào ér",乐团:"yuè tuán",养分:"yǎng fèn",退还:"tuì huán",格调:"gé diào",语调:"yǔ diào",音调:"yīn diào",乐府:"yuè fǔ",古朴:"gǔ pǔ",打点:"dǎ diǎn",差使:"chāi shǐ",匀称:"yún chèn",瘦削:"shòu xuē",膏药:"gāo yao",吞没:"tūn mò",调任:"diào rèn",散居:"sǎn jū",上头:"shàng tóu",风靡:"fēng mǐ",放假:"fàng jià",估量:"gū liang",失当:"shī dàng",中弹:"zhòng dàn",妄为:"wàng wéi",长者:"zhǎng zhě",起哄:"qǐ hòng",末了:"mò liǎo",相声:"xiàng sheng",校正:"jiào zhèng",劝降:"quàn xiáng",矢量:"shǐ liàng",沉闷:"chén mèn",给与:"jǐ yǔ",解法:"jiě fǎ",塞外:"sài wài",将校:"jiàng xiào",嗜好:"shì hào",没落:"mò luò",朴刀:"pō dāo",片子:"piān zi",切削:"qiē xiāo",弹丸:"dàn wán",稀薄:"xī bó",亏得:"kuī dé",间歇:"jiàn xiē",翘首:"qiáo shǒu",色调:"sè diào",处决:"chǔ jué",表率:"biǎo shuài",尺子:"chǐ zi",招降:"zhāo xiáng",称职:"chèn zhí",斗篷:"dǒu peng",铺子:"pù zi",底子:"dǐ zi",负载:"fù zài",干警:"gàn jǐng",倒数:"dào shǔ",将官:"jiàng guān",锄头:"chú tou",归降:"guī xiáng",疟疾:"nüè ji",唠叨:"láo dao",限量:"xiàn liàng",屏息:"bǐng xī",重逢:"chóng féng",器乐:"qì yuè",氢弹:"qīng dàn",脖颈:"bó gěng",妃子:"fēi zi",处事:"chǔ shì",参量:"cān liàng",轻率:"qīng shuài",缥缈:"piāo miǎo",中奖:"zhòng jiǎng",才干:"cái gàn",施舍:"shī shě",卷子:"juàn zi",游说:"yóu shuì",巷子:"xiàng zi",膀胱:"páng guāng",切勿:"qiè wù",看管:"kān guǎn",风头:"fēng tou",精干:"jīng gàn",高差:"gāo chā",恐吓:"kǒng hè",扁担:"biǎn dàn",给养:"jǐ yǎng",格子:"gé zi",供需:"gōng xū",反差:"fǎn chā",飞弹:"fēi dàn",微薄:"wēi bó",发型:"fà xíng",即兴:"jí xìng",攒动:"cuán dòng",间或:"jiàn huò",浅薄:"qiǎn bó",乐章:"yuè zhāng",顺差:"shùn chā",调子:"diào zi",相位:"xiàng wèi",转子:"zhuàn zǐ",劲旅:"jìng lǚ",咔嚓:"kā chā",了事:"liǎo shì",转悠:"zhuàn you",当铺:"dàng pù",爪子:"zhuǎ zi",单子:"dān zi",好战:"hào zhàn",燕麦:"yàn mài",只许:"zhǐ xǔ",干练:"gàn liàn",女将:"nǚ jiàng",酒量:"jiǔ liàng",划船:"huá chuán",伎俩:"jì liǎng",挑拨:"tiǎo bō",少校:"shào xiào",着落:"zhuó luò",憎恶:"zēng wù",刻薄:"kè bó",要挟:"yāo xié",用处:"yòng chu",还手:"huán shǒu",模具:"mú jù",执著:"zhí zhuó",喝令:"hè lìng",保长:"bǎo zhǎng",吸着:"xī zhe",症结:"zhēng jié",公转:"gōng zhuàn",校勘:"jiào kān",重提:"chóng tí",扫兴:"sǎo xìng",铺盖:"pū gài",长史:"zhǎng shǐ",差价:"chā jià",压根:"yà gēn",怔住:"zhèng zhù",应允:"yīng yǔn",切入:"qiē rù",战将:"zhàn jiàng",年少:"nián shào",舍身:"shě shēn",执拗:"zhí niù",处世:"chǔ shì",中风:"zhòng fēng",等量:"děng liàng",放量:"fàng liàng",腔调:"qiāng diào",老少:"lǎo shào",没入:"mò rù",瓜葛:"guā gé",将帅:"jiàng shuài",车载:"chē zài",窝囊:"wō nang",长进:"zhǎng jìn",可汗:"kè hán",并州:"bīng zhōu",供销:"gōng xiāo",切片:"qiē piàn",差事:"chāi shì",知会:"zhī hui",鹰爪:"yīng zhǎo",处女:"chǔ nǚ",切磋:"qiē cuō",日头:"rì tou",押解:"yā jiè",滋长:"zī zhǎng",道观:"dào guàn",脚色:"jué sè",当量:"dāng liàng",婆家:"pó jia",缘分:"yuán fèn",空闲:"kòng xián",好色:"hào sè",怒喝:"nù hè",笼统:"lǒng tǒng",边塞:"biān sài",何曾:"hé céng",重合:"chóng hé",零散:"líng sǎn",轰隆:"hōng lōng",化子:"huà zi",内蒙:"nèi měng",数落:"shǔ luò",逆差:"nì chā",牟利:"móu lì",栅栏:"zhà lan",中标:"zhòng biāo",调档:"diào dàng",佝偻:"gōu lóu",场子:"chǎng zi",甲壳:"jiǎ qiào",重温:"chóng wēn",炮制:"páo zhì",返还:"fǎn huán",自传:"zì zhuàn",高调:"gāo diào",殷红:"yān hóng",固着:"gù zhuó",强求:"qiǎng qiú",本相:"běn xiàng",骄横:"jiāo hèng",草率:"cǎo shuài",气闷:"qì mèn",着色:"zhuó sè",宁肯:"nìng kěn",兴头:"xìng tou",拘泥:"jū nì",夹角:"jiā jiǎo",发髻:"fà jì",猛将:"měng jiàng",约摸:"yuē mo",拖累:"tuō lěi",呢绒:"ní róng",钻探:"zuān tàn",夹层:"jiā céng",落魄:"luò pò",巷道:"hàng dào",运量:"yùn liàng",解闷:"jiě mèn",空儿:"kòng er",估摸:"gū mo",好客:"hào kè",钻孔:"zuān kǒng",糊弄:"hù nòng",荥阳:"xíng yáng",烦闷:"fán mèn",仓卒:"cāng cù",分叉:"fēn chà",厂子:"chǎng zi",小调:"xiǎo diào",少阳:"shào yáng",受降:"shòu xiáng",染坊:"rǎn fáng",胳臂:"gē bei",将门:"jiàng mén",模板:"mú bǎn",配给:"pèi jǐ",为伍:"wéi wǔ",跟头:"gēn tou",划算:"huá suàn",累赘:"léi zhui",哄笑:"hōng xiào",晕眩:"yūn xuàn",干掉:"gàn diào",缝制:"féng zhì",难处:"nán chù",着意:"zhuó yì",蛮横:"mán hèng",奇数:"jī shù",短发:"duǎn fà",生还:"shēng huán",还清:"huán qīng",看护:"kān hù",直率:"zhí shuài",奏乐:"zòu yuè",载客:"zài kè",专横:"zhuān hèng",湮没:"yān mò",空格:"kòng gé",铺垫:"pū diàn",良将:"liáng jiàng",哗啦:"huā lā",散漫:"sǎn màn",脱发:"tuō fà",送还:"sòng huán",埋没:"mái mò",累及:"lěi jí",薄雾:"bó wù",调离:"diào lí",舌苔:"shé tāi",机长:"jī zhǎng",栓塞:"shuān sè",配角:"pèi jué",切口:"qiē kǒu",创口:"chuāng kǒu",哈欠:"hā qian",实弹:"shí dàn",铺平:"pū píng",哈达:"hǎ dá",懒散:"lǎn sǎn",实干:"shí gàn",填空:"tián kòng",刁钻:"diāo zuān",乐师:"yuè shī",量变:"liàng biàn",诱降:"yòu xiáng",搪塞:"táng sè",征调:"zhēng diào",夹道:"jiā dào",干咳:"gān ké",止咳:"zhǐ ké",乐工:"yuè gōng",划过:"huá guò",着火:"zháo huǒ",更正:"gēng zhèng",给付:"jǐ fù",空子:"kòng zi",哪吒:"né zhā",正着:"zhèng zháo",刷子:"shuā zi",丧葬:"sāng zàng",夹带:"jiā dài",安分:"ān fèn",中意:"zhòng yì",长孙:"zhǎng sūn",校订:"jiào dìng",卷曲:"juǎn qū",载运:"zài yùn",投弹:"tóu dàn",柞蚕:"zuò cán",份量:"fèn liàng",调换:"diào huàn",了然:"liǎo rán",咧嘴:"liě zuǐ",典当:"diǎn dàng",寒假:"hán jià",长兄:"zhǎng xiōng",给水:"jǐ shuǐ",须发:"xū fà",枝干:"zhī gàn",属相:"shǔ xiàng",哄抢:"hōng qiǎng",刻划:"kè huà",塞子:"sāi zi",单干:"dān gàn",还乡:"huán xiāng",兆头:"zhào tou",寺观:"sì guàn",督率:"dū shuài",啊哈:"ā ha",割舍:"gē shě",抹布:"mā bù",好恶:"hào wù",下处:"xià chǔ",消长:"xiāo zhǎng",离间:"lí jiàn",准头:"zhǔn tou",校对:"jiào duì",什物:"shí wù",番禺:"pān yú",佛爷:"fó ye",吗啡:"mǎ fēi",盐分:"yán fèn",虎将:"hǔ jiàng",薄荷:"bò he",独处:"dú chǔ",空位:"kòng wèi",铺路:"pū lù",乌拉:"wū lā",调回:"diào huí",来头:"lái tou",闲散:"xián sǎn",胶卷:"jiāo juǎn",冒失:"mào shi",干劲:"gàn jìn",弦乐:"xián yuè",相国:"xiàng guó",丹参:"dān shēn",助兴:"zhù xìng",铺开:"pū kāi",次长:"cì zhǎng",发卡:"fà qiǎ",拮据:"jié jū",刹车:"shā chē",生发:"shēng fà",重播:"chóng bō",缝合:"féng hé",音量:"yīn liàng",少尉:"shào wèi",冲压:"chòng yā",苍劲:"cāng jìng",厚薄:"hòu báo",威吓:"wēi hè",外相:"wài xiàng",呼号:"hū háo",着迷:"zháo mí",挑担:"tiāo dàn",纹路:"wén lù",还俗:"huán sú",强横:"qiáng hèng",着数:"zhāo shù",降顺:"xiáng shùn",挑明:"tiǎo míng",眯缝:"mī feng",分内:"fèn nèi",更衣:"gēng yī",软和:"ruǎn huo",尽兴:"jìn xìng",号子:"hào zi",爪牙:"zhǎo yá",败将:"bài jiàng",猜中:"cāi zhòng",结扎:"jié zā",没空:"méi kòng",夹缝:"jiā fèng",拾掇:"shí duo",掺和:"chān huo",簸箕:"bò ji",电量:"diàn liàng",荷载:"hè zǎi",调式:"diào shì",处身:"chǔ shēn",打手:"dǎ shǒu",弹弓:"dàn gōng",横蛮:"hèng mán",能干:"néng gàn",校点:"jiào diǎn",加载:"jiā zài",干校:"gàn xiào",哄传:"hōng chuán",校注:"jiào zhù",淤塞:"yū sè",马扎:"mǎ zhá",月氏:"yuè zhī",高干:"gāo gàn",经传:"jīng zhuàn",曾孙:"zēng sūn",好斗:"hào dòu",关卡:"guān qiǎ",逃奔:"táo bèn",磨蹭:"mó ceng",牟取:"móu qǔ",颤栗:"zhàn lì",蚂蚱:"mà zha",撮合:"cuō he",趔趄:"liè qie",摔打:"shuāi dǎ",台子:"tái zi",分得:"fēn de",粘着:"nián zhuó",采邑:"cài yì",散装:"sǎn zhuāng",婀娜:"ē nuó",兴味:"xìng wèi",行头:"xíng tou",气量:"qì liàng",调运:"diào yùn",处治:"chǔ zhì",乐音:"yuè yīn",充塞:"chōng sè",恫吓:"dòng hè",论调:"lùn diào",相中:"xiāng zhòng",民乐:"mín yuè",炮仗:"pào zhang",丧服:"sāng fú",骁将:"xiāo jiàng",量刑:"liàng xíng",缝补:"féng bǔ",财会:"cái kuài",大干:"dà gàn",历数:"lì shǔ",校场:"jiào chǎng",塞北:"sài běi",识相:"shí xiàng",辱没:"rǔ mò",鲜亮:"xiān liàng",语塞:"yǔ sè",露脸:"lòu liǎn",凉快:"liáng kuai",腰杆:"yāo gǎn",溜达:"liū da",嘎嘎:"gā gā",公干:"gōng gàn",桔梗:"jié gěng",挑逗:"tiǎo dòu",看门:"kān mén",乐歌:"yuè gē",拓片:"tà piàn",挑动:"tiǎo dòng",准将:"zhǔn jiàng",遒劲:"qiú jìng",磨坊:"mò fáng",逶迤:"wēi yí",搅和:"jiǎo huo",摩挲:"mó suō",作弄:"zuò nòng",苗头:"miáo tou",打颤:"dǎ zhàn",大藏:"dà zàng",畜牲:"chù shēng",勾搭:"gōu da",树荫:"shù yīn",树杈:"shù chà",铁杆:"tiě gǎn",将相:"jiàng xiàng",份子:"fèn zi",视差:"shì chā",绿荫:"lǜ yīn",枪杆:"qiāng gǎn",缝纫:"féng rèn",愁闷:"chóu mèn",点将:"diǎn jiàng",华佗:"huà tuó",劲射:"jìng shè",箱笼:"xiāng lǒng",终了:"zhōng liǎo",鬓发:"bìn fà",结巴:"jiē ba",苦干:"kǔ gàn",看家:"kān jiā",正旦:"zhēng dàn",中肯:"zhòng kěn",厦门:"xià mén",东莞:"dōng guǎn",食量:"shí liàng",宫调:"gōng diào",间作:"jiàn zuò",弹片:"dàn piàn",差池:"chā chí",漂白:"piǎo bái",杠子:"gàng zi",调处:"tiáo chǔ",好动:"hào dòng",转炉:"zhuàn lú",屏气:"bǐng qì",夹板:"jiā bǎn",哀乐:"āi yuè",干道:"gàn dào",苦处:"kǔ chù",劈柴:"pǐ chái",长势:"zhǎng shì",天华:"tiān huá",共处:"gòng chǔ",校验:"jiào yàn",出塞:"chū sài",磨盘:"mò pán",萎靡:"wěi mǐ",奔丧:"bēn sāng",唱和:"chàng hè",大调:"dà diào",非分:"fēi fèn",钻营:"zuān yíng",夹子:"jiā zi",超载:"chāo zài",更始:"gēng shǐ",铃铛:"líng dang",披散:"pī sàn",发还:"fā huán",转轮:"zhuàn lún",横财:"hèng cái",泡桐:"pāo tóng",抛撒:"pāo sǎ",天呀:"tiān yā",糊糊:"hū hu",躯壳:"qū qiào",通量:"tōng liàng",奉还:"fèng huán",午觉:"wǔ jiào",闷棍:"mèn gùn",浪头:"làng tou",砚台:"yàn tái",油坊:"yóu fáng",学长:"xué zhǎng",过载:"guò zài",笔调:"bǐ diào",衣被:"yī bèi",畜产:"xù chǎn",调阅:"diào yuè",蛮干:"mán gàn",曾祖:"zēng zǔ",提干:"tí gàn",变调:"biàn diào",覆没:"fù mò",模子:"mú zi",乐律:"yuè lǜ",称心:"chèn xīn",木杆:"mù gān",重印:"chóng yìn",自省:"zì xǐng",提调:"tí diào",看相:"kàn xiàng",芋头:"yù tou",下切:"xià qiē",塞上:"sài shàng",铺张:"pū zhāng",藤蔓:"téng wàn",薄幸:"bó xìng",解数:"xiè shù",褪去:"tuì qù",霰弹:"xiàn dàn",柚木:"yóu mù",痕量:"hén liàng",雅乐:"yǎ yuè",号哭:"háo kū",诈降:"zhà xiáng",猪圈:"zhū juàn",咋舌:"zé shé",铣床:"xǐ chuáng",防弹:"fáng dàn",健将:"jiàn jiàng",丽水:"lí shuǐ",削发:"xuē fà",空当:"kòng dāng",多相:"duō xiàng",鲜见:"xiǎn jiàn",划桨:"huá jiǎng",载波:"zài bō",跳蚤:"tiào zao",俏皮:"qiào pí",吧嗒:"bā dā",结发:"jié fà",了断:"liǎo duàn",同调:"tóng diào",石磨:"shí mò",时差:"shí chā",鼻塞:"bí sè",挑子:"tiāo zi",推磨:"tuī mò",武侯:"wǔ hóu",抹煞:"mǒ shā",调转:"diào zhuǎn",籍没:"jí mò",还债:"huán zhài",调演:"diào yǎn",分划:"fēn huá",奇偶:"jī ǒu",断喝:"duàn hè",闷雷:"mèn léi",狼藉:"láng jí",饭量:"fàn liàng",还礼:"huán lǐ",转调:"zhuǎn diào",星相:"xīng xiàng",手相:"shǒu xiàng",配乐:"pèi yuè",盖头:"gài tou",连杆:"lián gǎn",簿记:"bù jì",刀把:"dāo bà",量词:"liàng cí",名角:"míng jué",步调:"bù diào",校本:"jiào běn",账簿:"zhàng bù",隽永:"juàn yǒng",稍为:"shāo wéi",易传:"yì zhuàn",乐谱:"yuè pǔ",牵累:"qiān lěi",答理:"dā li",喝斥:"hè chì",吟哦:"yín é",干渠:"gàn qú",海量:"hǎi liàng",精当:"jīng dàng",着床:"zhuó chuáng",月相:"yuè xiàng",庶几:"shù jī",宫观:"gōng guàn",论处:"lùn chǔ",征辟:"zhēng bì",厚朴:"hòu pò",介壳:"jiè qiào",吭哧:"kēng chī",咯血:"kǎ xiě",铺陈:"pū chén",重生:"chóng shēng",乐理:"yuè lǐ",哀号:"āi háo",藏历:"zàng lì",刚劲:"gāng jìng",削平:"xuē píng",浓荫:"nóng yīn",城垛:"chéng duǒ",当差:"dāng chāi",正传:"zhèng zhuàn",并处:"bìng chǔ",创面:"chuāng miàn",旦角:"dàn jué",薄礼:"bó lǐ",晃荡:"huàng dang",臊子:"sào zi",家什:"jiā shí",闷头:"mēn tóu",美发:"měi fà",度数:"dù shu",着凉:"zháo liáng",闯将:"chuǎng jiàng",几案:"jī àn",姘头:"pīn tou",差数:"chā shù",散碎:"sǎn suì",壅塞:"yōng sè",寒颤:"hán zhàn",牵强:"qiān qiǎng",无间:"wú jiàn",轮转:"lún zhuàn",号叫:"háo jiào",铺排:"pū pái",降伏:"xiáng fú",轧钢:"zhá gāng",东阿:"dōng ē",病假:"bìng jià",累加:"lěi jiā",梗塞:"gěng sè",弹夹:"dàn jiā",钻心:"zuān xīn",晃眼:"huǎng yǎn",魔爪:"mó zhǎo",标量:"biāo liàng",憋闷:"biē mèn",猜度:"cāi duó",处士:"chǔ shì",官差:"guān chāi",讨还:"tǎo huán",长门:"cháng mén",馏分:"liú fēn",里弄:"lǐ lòng",色相:"sè xiàng",雅兴:"yǎ xìng",角力:"jué lì",弹坑:"dàn kēng",枝杈:"zhī chà",夹具:"jiā jù",处刑:"chǔ xíng",悍将:"hàn jiàng",好学:"hào xué",好好:"hǎo hǎo",银发:"yín fà",扫把:"sào bǎ",法相:"fǎ xiàng",贵干:"guì gàn",供气:"gōng qì",空余:"kòng yú",捆扎:"kǔn zā",瘠薄:"jí bó",浆糊:"jiàng hu",嘎吱:"gā zhī",调令:"diào lìng",法帖:"fǎ tiè",淋病:"lìn bìng",调派:"diào pài",转盘:"zhuàn pán",供稿:"gōng gǎo",差官:"chāi guān",忧闷:"yōu mèn",教长:"jiào zhǎng",重唱:"chóng chàng",酒兴:"jiǔ xìng",乐坛:"yuè tán",花呢:"huā ní",叱喝:"chì hè",膀臂:"bǎng bì",得空:"dé kòng",转圈:"zhuàn quān",横暴:"hèng bào",哄抬:"hōng tái",引吭:"yǐn háng",载货:"zài huò",中计:"zhòng jì",官长:"guān zhǎng",相面:"xiàng miàn",看头:"kàn tou",盼头:"pàn tou",意兴:"yì xìng",军乐:"jūn yuè",累次:"lěi cì",骨嘟:"gǔ dū",燕赵:"yān zhào",报丧:"bào sāng",弥撒:"mí sa",挨斗:"ái dòu",扁舟:"piān zhōu",丑角:"chǒu jué",吊丧:"diào sāng",强将:"qiáng jiàng",重奏:"chóng zòu",发辫:"fà biàn",着魔:"zháo mó",着法:"zhāo fǎ",盛放:"shèng fàng",填塞:"tián sè",凶横:"xiōng hèng",稽首:"qǐ shǒu",碑帖:"bēi tiè",冲量:"chōng liàng",发菜:"fà cài",假发:"jiǎ fà",翻卷:"fān juǎn",小量:"xiǎo liàng",胶着:"jiāo zhuó",里子:"lǐ zi",调调:"diào diao",散兵:"sǎn bīng",高挑:"gāo tiǎo",播撒:"bō sǎ",夹心:"jiā xīn",扇动:"shān dòng",叨扰:"tāo rǎo",霓裳:"ní cháng",捻子:"niǎn zi",弥缝:"mí féng",撒布:"sǎ bù",场院:"cháng yuàn",省亲:"xǐng qīn",提拉:"tí lā",惯量:"guàn liàng",强逼:"qiáng bī",强征:"qiáng zhēng",晕车:"yùn chē",数道:"shù dào",带累:"dài lèi",拓本:"tà běn",嫌恶:"xián wù",宿将:"sù jiàng",龟裂:"jūn liè",缠夹:"chán jiā",发式:"fà shì",隔扇:"gé shàn",天分:"tiān fèn",癖好:"pǐ hào",四通:"sì tōng",白术:"bái zhú",划伤:"huá shāng",角斗:"jué dòu",听差:"tīng chāi",岁差:"suì chā",丧礼:"sāng lǐ",脉脉:"mò mò",削瘦:"xuē shòu",撒播:"sǎ bō",莎草:"suō cǎo",犍为:"qián wéi",调头:"diào tóu",龙卷:"lóng juǎn",外调:"wài diào",字帖:"zì tiè",卷发:"juǎn fà",揣度:"chuǎi duó",洋相:"yáng xiàng",散光:"sǎn guāng",骨碌:"gū lu",薄命:"bó mìng",笼头:"lóng tóu",咽炎:"yān yán",碌碡:"liù zhou",片儿:"piàn er",纤手:"qiàn shǒu",散体:"sǎn tǐ",内省:"nèi xǐng",强留:"qiáng liú",解送:"jiè sòng",反间:"fǎn jiàn",少壮:"shào zhuàng",留空:"liú kōng",告假:"gào jià",咳血:"ké xuè",薄暮:"bó mù",铺轨:"pū guǐ",磨削:"mó xuē",治丧:"zhì sāng",叉子:"chā zi",哄动:"hōng dòng",蛾子:"é zi",出落:"chū luò",股长:"gǔ zhǎng",贵处:"guì chù",还魂:"huán hún",例假:"lì jià",刹住:"shā zhù",身量:"shēn liàng",同好:"tóng hào",模量:"mó liàng",更生:"gēng shēng",服丧:"fú sāng",率直:"shuài zhí",字模:"zì mú",散架:"sǎn jià",答腔:"dā qiāng",交恶:"jiāo wù",薄情:"bó qíng",眼泡:"yǎn pāo",袅娜:"niǎo nuó",草垛:"cǎo duò",冲劲:"chòng jìn",呢喃:"ní nán",切中:"qiè zhòng",挑灯:"tiǎo dēng",还愿:"huán yuàn",激将:"jī jiàng",更鼓:"gēng gǔ",没药:"mò yào",败兴:"bài xìng",切面:"qiē miàn",散户:"sǎn hù",累进:"lěi jìn",背带:"bēi dài",秤杆:"chèng gǎn",碾坊:"niǎn fáng",簿子:"bù zi",扳手:"bān shǒu",铅山:"yán shān",儒将:"rú jiàng",重光:"chóng guāng",剪发:"jiǎn fà",长上:"zhǎng shàng",小传:"xiǎo zhuàn",压轴:"yā zhòu",弱冠:"ruò guàn",花卷:"huā juǎn",横祸:"hèng huò",夹克:"jiā kè",光晕:"guāng yùn",披靡:"pī mǐ",对调:"duì diào",夹持:"jiā chí",空额:"kòng é",平调:"píng diào",铺床:"pū chuáng",丧钟:"sāng zhōng",作乐:"zuò lè",少府:"shào fǔ",数数:"shuò shuò",奔头:"bèn tou",进给:"jìn jǐ",率性:"shuài xìng",乐子:"lè zi",绑扎:"bǎng zā",挑唆:"tiǎo suō",漂洗:"piǎo xǐ",夹墙:"jiā qiáng",咳喘:"ké chuǎn",乜斜:"miē xie",错处:"cuò chù",闷酒:"mèn jiǔ",时调:"shí diào",重孙:"chóng sūn",经幢:"jīng chuáng",圩场:"xū chǎng",调门:"diào mén",花头:"huā tóu",划拉:"huá la",套色:"tào shǎi",粗率:"cū shuài",相率:"xiāng shuài",款识:"kuǎn zhì",吁请:"yù qǐng",荫蔽:"yīn bì",文蛤:"wén gé",嘀嗒:"dī dā",调取:"diào qǔ",交差:"jiāo chāi",落子:"luò zǐ",相册:"xiàng cè",絮叨:"xù dao",落发:"luò fà",异相:"yì xiàng",浸没:"jìn mò",角抵:"jué dǐ",卸载:"xiè zài",春卷:"chūn juǎn",扎挣:"zhá zheng",畜养:"xù yǎng",吡咯:"bǐ luò",垛子:"duò zi",恶少:"è shào",发际:"fà jì",红苕:"hóng sháo",糨糊:"jiàng hu",哭丧:"kū sāng",稍息:"shào xī",晕船:"yùn chuán",校样:"jiào yàng",外差:"wài chā",脚爪:"jiǎo zhǎo",铺展:"pū zhǎn",芫荽:"yán sui",夹紧:"jiā jǐn",尿泡:"suī pào",丧乱:"sāng luàn",凶相:"xiōng xiàng",华发:"huá fà",打场:"dǎ cháng",云量:"yún liàng",正切:"zhèng qiē",划拳:"huá quán",划艇:"huá tǐng",评传:"píng zhuàn",拉纤:"lā qiàn",句读:"jù dòu",散剂:"sǎn jì",骨殖:"gǔ shi",塞音:"sè yīn",铺叙:"pū xù",阏氏:"yān zhī",冷颤:"lěng zhàn",煞住:"shā zhù",少男:"shào nán",管乐:"guǎn yuè",号啕:"háo táo",纳降:"nà xiáng",拥塞:"yōng sè",万乘:"wàn shèng",杆儿:"gǎn ér",葛藤:"gé téng",簿籍:"bù jí",皮夹:"pí jiā",校准:"jiào zhǔn",允当:"yǔn dàng",器量:"qì liàng",选调:"xuǎn diào",扮相:"bàn xiàng",干才:"gàn cái",基干:"jī gàn",割切:"gē qiē",国乐:"guó yuè",卡壳:"qiǎ ké",辟谷:"bì gǔ",磨房:"mò fáng",咿呀:"yī yā",芥末:"jiè mo",薄技:"bó jì",产假:"chǎn jià",诗兴:"shī xìng",重出:"chóng chū",转椅:"zhuàn yǐ",酌量:"zhuó liang",簿册:"bù cè",藏青:"zàng qīng",的士:"dī shì",调人:"diào rén",解元:"jiè yuán",茎干:"jīng gàn",巨量:"jù liàng",榔头:"láng tou",率真:"shuài zhēn",喷香:"pèn xiāng",锁钥:"suǒ yuè",虾蟆:"há má",相图:"xiàng tú",兴会:"xìng huì",灶头:"zào tóu",重婚:"chóng hūn",钻洞:"zuān dòng",忖度:"cǔn duó",党参:"dǎng shēn",调温:"diào wēn",杆塔:"gān tǎ",葛布:"gé bù",拱券:"gǒng xuàn",夹生:"jiā shēng",露馅:"lòu xiàn",恰切:"qià qiè",散见:"sǎn jiàn",哨卡:"shào qiǎ",烫发:"tàng fà",体量:"tǐ liàng",挺括:"tǐng kuò",系带:"jì dài",相士:"xiàng shì",羊圈:"yáng juàn",转矩:"zhuàn jǔ",吧台:"bā tái",苍术:"cāng zhú",菲薄:"fěi bó",蛤蚧:"gé jiè",蛤蜊:"gé lí",瓜蔓:"guā wàn",怪相:"guài xiàng",临帖:"lín tiè",女红:"nǚ gōng",刨床:"bào chuáng",翘楚:"qiáo chǔ",数九:"shǔ jiǔ",谈兴:"tán xìng",雄劲:"xióng jìng",扎染:"zā rǎn",遮荫:"zhē yīn",周正:"zhōu zhèng",赚头:"zhuàn tou",扒手:"pá shǒu",搀和:"chān huo",诚朴:"chéng pǔ",肚量:"dù liàng",干结:"gān jié",工尺:"gōng chě",家累:"jiā lěi",曲水:"qū shuǐ",沙参:"shā shēn",挑花:"tiǎo huā",阿门:"ā mén",背篓:"bēi lǒu",瘪三:"biē sān",裁处:"cái chǔ",创痛:"chuāng tòng",福相:"fú xiàng",更动:"gēng dòng",豪兴:"háo xìng",还阳:"huán yáng",还嘴:"huán zuǐ",借调:"jiè diào",卷云:"juǎn yún",流弹:"liú dàn",想头:"xiǎng tou",削价:"xuē jià",校阅:"jiào yuè",雅量:"yǎ liàng",别传:"bié zhuàn",薄酒:"bó jiǔ",春假:"chūn jià",发妻:"fà qī",哗哗:"huā huā",宽绰:"kuān chuo",了悟:"liǎo wù",切花:"qiē huā",审度:"shěn duó",应许:"yīng xǔ",转台:"zhuàn tái",仔猪:"zǐ zhū",裁量:"cái liáng",藏戏:"zàng xì",乘兴:"chéng xìng",绸缪:"chóu móu",摧折:"cuī zhé",调经:"tiáo jīng",调职:"diào zhí",缝缀:"féng zhuì",骨朵:"gū duǒ",核儿:"hú er",恒量:"héng liàng",还价:"huán jià",浑朴:"hún pǔ",苦差:"kǔ chāi",面糊:"miàn hù",煞车:"shā chē",省视:"xǐng shì",什锦:"shí jǐn",信差:"xìn chāi",余切:"yú qiē",攒眉:"cuán méi",炸糕:"zhá gāo",钻杆:"zuàn gǎn",扒灰:"pá huī",拌和:"bàn huò",长调:"cháng diào",大溜:"dà liù",抖搂:"dǒu lōu",飞转:"fēi zhuàn",干仗:"gàn zhàng",好胜:"hào shèng",画片:"huà piàn",搅混:"jiǎo hún",螺杆:"luó gǎn",木模:"mù mú",怒号:"nù háo",频数:"pín shù",无宁:"wú níng",遗少:"yí shào",邮差:"yóu chāi",占卦:"zhān guà",占星:"zhān xīng",重审:"chóng shěn",自量:"zì liàng",调防:"diào fáng",发廊:"fà láng",反调:"fǎn diào",缝子:"fèng zi",更夫:"gēng fū",骨子:"gǔ zi",光杆:"guāng gǎn",夹棍:"jiā gùn",居丧:"jū sāng",巨贾:"jù gǔ",看押:"kān yā",空转:"kōng zhuàn",量力:"liàng lì",炮烙:"páo luò",赔还:"péi huán",扑扇:"pū shān",散记:"sǎn jì",散件:"sǎn jiàn",删削:"shān xuē",射干:"shè gàn",条几:"tiáo jī",偷空:"tōu kòng",削壁:"xuē bì",校核:"jiào hé",阴干:"yīn gān",择菜:"zhái cài",重九:"chóng jiǔ",主调:"zhǔ diào",自禁:"zì jīn",吧唧:"bā jī",便溺:"biàn niào",词调:"cí diào",叨咕:"dáo gu",落枕:"lào zhěn",铺砌:"pū qì",刷白:"shuà bái",委靡:"wěi mǐ",系泊:"xì bó",相马:"xiàng mǎ",熨帖:"yù tiē",转筋:"zhuàn jīn",棒喝:"bàng hè",傧相:"bīn xiàng",镐头:"gǎo tóu",间苗:"jiàn miáo",乐池:"yuè chí",卖相:"mài xiàng",屏弃:"bǐng qì",铅弹:"qiān dàn",切变:"qiē biàn",请调:"qǐng diào",群氓:"qún méng",散板:"sǎn bǎn",省察:"xǐng chá",事假:"shì jià",纤绳:"qiàn shéng",重影:"chóng yǐng",耕种:"gēng zhòng",种地:"zhòng dì",种菜:"zhòng cài",栽种:"zāi zhòng",接种:"jiē zhòng",垦种:"kěn zhòng",种殖:"zhòng zhí",种瓜:"zhòng guā",种豆:"zhòng dòu",种树:"zhòng shù",睡着:"shuì zháo",笼子:"lóng zi",重启:"chóng qǐ",重整:"chóng zhěng",重弹:"chóng tán",重足:"chóng zú",重山:"chóng shān",重游:"chóng yóu",重峦:"chóng luán",爷爷:"yé ye",奶奶:"nǎi nai",姥爷:"lǎo ye",爸爸:"bà ba",妈妈:"mā ma",婶婶:"shěn shen",舅舅:"jiù jiu",姑姑:"gū gu",叔叔:"shū shu",姨夫:"yí fu",舅母:"jiù mu",姑父:"gū fu",姐夫:"jiě fu",婆婆:"pó po",公公:"gōng gong",舅子:"jiù zi",姐姐:"jiě jie",哥哥:"gē ge",妹妹:"mèi mei",妹夫:"mèi fu",姨子:"yí zi",宝宝:"bǎo bao",娃娃:"wá wa",孩子:"hái zi",日子:"rì zi",样子:"yàng zi",狮子:"shī zi",身子:"shēn zi",架子:"jià zi",嫂子:"sǎo zi",鼻子:"bí zi",亭子:"tíng zi",折子:"zhé zi",面子:"miàn zi",脖子:"bó zi",辈子:"bèi zi",帽子:"mào zi",拍子:"pāi zi",柱子:"zhù zi",辫子:"biàn zi",鸽子:"gē zi",房子:"fáng zi",丸子:"wán zi",摊子:"tān zi",牌子:"pái zi",胡子:"hú zi",鬼子:"guǐ zi",矮子:"ǎi zi",鸭子:"yā zi",小子:"xiǎo zi",影子:"yǐng zi",屋子:"wū zi",对子:"duì zi",点子:"diǎn zi",本子:"běn zi",种子:"zhǒng zi",儿子:"ér zi",兔子:"tù zi",骗子:"piàn zi",院子:"yuàn zi",猴子:"hóu zi",嗓子:"sǎng zi",侄子:"zhí zi",柿子:"shì zi",钳子:"qián zi",虱子:"shī zi",瓶子:"píng zi",豹子:"bào zi",筷子:"kuài zi",篮子:"lán zi",绳子:"shéng zi",嘴巴:"zuǐ ba",耳朵:"ěr duo",茄子:"qié zi",蚌埠:"bèng bù",崆峒:"kōng tóng",琵琶:"pí pa",蘑菇:"mó gu",葫芦:"hú lu",狐狸:"hú li",桔子:"jú zi",盒子:"hé zi",桌子:"zhuō zi",竹子:"zhú zi",师傅:"shī fu",衣服:"yī fu",袜子:"wà zi",杯子:"bēi zi",刺猬:"cì wei",麦子:"mài zi",队伍:"duì wu",知了:"zhī liǎo",鱼儿:"yú er",馄饨:"hún tun",灯笼:"dēng long",庄稼:"zhuāng jia",聪明:"cōng ming",镜子:"jìng zi",银子:"yín zi",盘子:"pán zi",了却:"liǎo què",力气:"lì qi",席子:"xí zi",林子:"lín zi",朝霞:"zhāo xiá",朝夕:"zhāo xī",朝气:"zhāo qì",翅膀:"chì bǎng",省长:"shěng zhǎng",臧否:"zāng pǐ",否泰:"pǐ tài",变得:"biàn de",丈夫:"zhàng fu",豆腐:"dòu fu",笔杆:"bǐ gǎn",枞阳:"zōng yáng",行人:"xíng rén",打着:"dǎ zhe",第一:"dì yī",万一:"wàn yī",之一:"zhī yī",得之:"dé zhī",统一:"tǒng yī",唯一:"wéi yī",专一:"zhuān yī",单一:"dān yī",如一:"rú yī",其一:"qí yī",合一:"hé yī",逐一:"zhú yī",周一:"zhōu yī",初一:"chū yī",研一:"yán yī",归一:"guī yī",假一:"jiǎ yī",闻一:"wén yī",了了:"liǎo liǎo",公了:"gōng liǎo",私了:"sī liǎo",一月:"yī yuè",一号:"yī hào",一级:"yī jí",一等:"yī děng",一哥:"yī gē",月一:"yuè yī",一一:"yī yī",二一:"èr yī",三一:"sān yī",四一:"sì yī",五一:"wǔ yī",六一:"liù yī",七一:"qī yī",八一:"bā yī",九一:"jiǔ yī","一〇":"yī líng",一零:"yī líng",一二:"yī èr",一三:"yī sān",一四:"yī sì",一五:"yī wǔ",一六:"yī liù",一七:"yī qī",一八:"yī bā",一九:"yī jiǔ",一又:"yī yòu",一饼:"yī bǐng",一楼:"yī lóu",为例:"wéi lì",为准:"wéi zhǔn",沧海:"cāng hǎi",难为:"nán wéi",责难:"zé nàn",患难:"huàn nàn",磨难:"mó nàn",大难:"dà nàn",刁难:"diāo nàn",殉难:"xùn nàn",落难:"luò nàn",罹难:"lí nàn",灾难:"zāi nàn",难民:"nàn mín",苦难:"kǔ nàn",危难:"wēi nàn",发难:"fā nàn",逃难:"táo nàn",避难:"bì nàn",遇难:"yù nàn",阻难:"zǔ nàn",厄难:"è nàn",徇难:"xùn nàn",空难:"kōng nàn",喜欢:"xǐ huan",朝朝:"zhāo zhāo",不行:"bù xíng",轧轧:"yà yà",弯曲:"wān qū",扭曲:"niǔ qū",曲直:"qū zhí",委曲:"wěi qū",酒曲:"jiǔ qū",曲径:"qū jìng",曲解:"qū jiě",歪曲:"wāi qū",曲线:"qū xiàn",曲阜:"qū fù",九曲:"jiǔ qū",曲折:"qū zhé",曲肱:"qū gōng",曲意:"qū yì",仡佬:"gē lǎo"},ct=Object.keys(re).map(n=>({zh:n,pinyin:re[n],probability:2e-8,length:2,priority:qn.Normal,dict:Symbol("dict2")})),ae={为什么:"wèi shén me",实际上:"shí jì shang",检察长:"jiǎn chá zhǎng",干什么:"gàn shén me",这会儿:"zhè huì er",尽可能:"jǐn kě néng",董事长:"dǒng shì zhǎng",了不起:"liǎo bù qǐ",参谋长:"cān móu zhǎng",朝鲜族:"cháo xiǎn zú",海内外:"hǎi nèi wài",禁不住:"jīn bú zhù",柏拉图:"bó lā tú",不在乎:"bú zài hu",洛杉矶:"luò shān jī",有点儿:"yǒu diǎn er",迫击炮:"pǎi jī pào",不得了:"bù dé liǎo",马尾松:"mǎ wěi sōng",运输量:"yùn shū liàng",发脾气:"fā pí qi",士大夫:"shì dà fū",鸭绿江:"yā lù jiāng",压根儿:"yà gēn er",对得起:"duì de qǐ",那会儿:"nà huì er",自个儿:"zì gě er",物理量:"wù lǐ liàng",怎么着:"zěn me zhāo",明晃晃:"míng huǎng huǎng",节假日:"jié jià rì",心里话:"xīn lǐ huà",发行量:"fā xíng liàng",兴冲冲:"xìng chōng chōng",分子量:"fēn zǐ liàng",国子监:"guó zǐ jiàn",老大难:"lǎo dà nán",党内外:"dǎng nèi wài",这么着:"zhè me zhāo",少奶奶:"shào nǎi nai",暗地里:"àn dì lǐ",更年期:"gēng nián qī",工作量:"gōng zuò liàng",背地里:"bèi dì lǐ",山里红:"shān li hóng",好好儿:"hǎo hāo er",交响乐:"jiāo xiǎng yuè",好意思:"hǎo yì si",吐谷浑:"tǔ yù hún",没意思:"méi yì si",理发师:"lǐ fà shī",塔什干:"tǎ shí gān",充其量:"chōng qí liàng",靠得住:"kào de zhù",车行道:"chē xíng dào",人行道:"rén xíng dào",中郎将:"zhōng láng jiàng",照明弹:"zhào míng dàn",烟幕弹:"yān mù dàn",没奈何:"mò nài hé",乱哄哄:"luàn hōng hōng",惠更斯:"huì gēng sī",载重量:"zài zhòng liàng",瞧得起:"qiáo de qǐ",纪传体:"jì zhuàn tǐ",阿房宫:"ē páng gōng",卷心菜:"juǎn xīn cài",戏班子:"xì bān zi",过得去:"guò de qù",花岗石:"huā gāng shí",外甥女:"wài sheng nǚ",团团转:"tuán tuán zhuàn",大堡礁:"dà bǎo jiāo",燃烧弹:"rán shāo dàn",劳什子:"láo shí zi",摇滚乐:"yáo gǔn yuè",夹竹桃:"jiā zhú táo",闹哄哄:"nào hōng hōng",三连冠:"sān lián guàn",重头戏:"zhòng tóu xì",二人转:"èr rén zhuàn",节骨眼:"jiē gǔ yǎn",知识面:"zhī shi miàn",护士长:"hù shi zhǎng",信号弹:"xìn hào dàn",干电池:"gān diàn chí",枪杆子:"qiāng gǎn zi",哭丧棒:"kū sāng bàng",鼻咽癌:"bí yān ái",瓦岗军:"wǎ gāng jūn",买得起:"mǎi de qǐ",癞蛤蟆:"lài há ma",脊梁骨:"jǐ liang gǔ",子母弹:"zǐ mǔ dàn",开小差:"kāi xiǎo chāi",女强人:"nǚ qiáng rén",英雄传:"yīng xióng zhuàn",爵士乐:"jué shì yuè",说笑话:"shuō xiào hua",碰头会:"pèng tóu huì",玻璃钢:"bō li gāng",曳光弹:"yè guāng dàn",少林拳:"shào lín quán",咏叹调:"yǒng tàn diào",少先队:"shào xiān duì",灵长目:"líng zhǎng mù",对着干:"duì zhe gàn",蒙蒙亮:"méng méng liàng",软骨头:"ruǎn gǔ tou",铺盖卷:"pū gài juǎn",和稀泥:"huò xī ní",背黑锅:"bēi hēi guō",红彤彤:"hóng tōng tōng",武侯祠:"wǔ hóu cí",打哆嗦:"dǎ duō suo",户口簿:"hù kǒu bù",马尾藻:"mǎ wěi zǎo",夜猫子:"yè māo zi",打手势:"dǎ shǒu shì",龙王爷:"lóng wáng yé",气头上:"qì tóu shang",糊涂虫:"hú tu chóng",笔杆子:"bǐ gǎn zi",占便宜:"zhàn pián yi",打主意:"dǎ zhǔ yì",多弹头:"duō dàn tóu",露一手:"lòu yì shǒu",堰塞湖:"yàn sè hú",保得住:"bǎo de zhù",趵突泉:"bào tū quán",奥得河:"ào de hé",司务长:"sī wù zhǎng",禁不起:"jīn bù qǐ",什刹海:"shí chà hǎi",莲花落:"lián huā lào",见世面:"jiàn shì miàn",豁出去:"huō chū qù",电位差:"diàn wèi chā",挨个儿:"āi gè er",那阵儿:"nà zhèn er",肺活量:"fèi huó liàng",大师傅:"dà shī fu",掷弹筒:"zhì dàn tǒng",打呼噜:"dǎ hū lu",广渠门:"ān qú mén",未见得:"wèi jiàn dé",大婶儿:"dà shěn er",谈得来:"tán de lái",脚丫子:"jiǎo yā zi",空包弹:"kōng bāo dàn",窝里斗:"wō li dòu",弹着点:"dàn zhuó diǎn",个头儿:"gè tóu er",看得起:"kàn de qǐ",糊涂账:"hú tu zhàng",大猩猩:"dà xīng xing",禁得起:"jīn de qǐ",法相宗:"fǎ xiàng zōng",可怜相:"kě lián xiàng",吃得下:"chī de xià",汉堡包:"hàn bǎo bāo",闹嚷嚷:"nào rāng rāng",数来宝:"shǔ lái bǎo",合得来:"hé de lái",干性油:"gān xìng yóu",闷葫芦:"mèn hú lu",呱呱叫:"guā guā jiào",西洋参:"xī yáng shēn",林荫道:"lín yīn dào",拉家常:"lā jiā cháng",卷铺盖:"juǎn pū gài",过得硬:"guò de yìng",飞将军:"fēi jiāng jūn",挑大梁:"tiǎo dà liáng",哈巴狗:"hǎ ba gǒu",过家家:"guò jiā jiā",催泪弹:"cuī lèi dàn",雨夹雪:"yǔ jiā xuě",敲竹杠:"qiāo zhú gàng",列车长:"liè chē zhǎng",华达呢:"huá dá ní",犯得着:"fàn de zháo",土疙瘩:"tǔ gē da",煞风景:"shā fēng jǐng",轻量级:"qīng liàng jí",羞答答:"xiū dā dā",石子儿:"shí zǐ er",达姆弹:"dá mǔ dàn",科教片:"kē jiào piān",侃大山:"kǎn dà shān",丁点儿:"dīng diǎn er",吃得消:"chī de xiāo",捋虎须:"luō hǔ xū",高丽参:"gāo lí shēn",众生相:"zhòng shēng xiàng",咽峡炎:"yān xiá yán",禁得住:"jīn de zhù",吃得开:"chī de kāi",柞丝绸:"zuò sī chóu",应声虫:"yìng shēng chóng",数得着:"shǔ de zháo",傻劲儿:"shǎ jìn er",铅玻璃:"qiān bō li",可的松:"kě dì sōng",划得来:"huá de lái",晕乎乎:"yūn hū hū",屎壳郎:"shǐ ke làng",尥蹶子:"liào juě zi",藏红花:"zàng hóng huā",闷罐车:"mèn guàn chē",卡脖子:"qiǎ bó zi",红澄澄:"hóng deng deng",赶得及:"gǎn de jí",当间儿:"dāng jiàn er",露马脚:"lòu mǎ jiǎo",鸡内金:"jī nèi jīn",犯得上:"fàn de shàng",钉齿耙:"dīng chǐ bà",饱和点:"bǎo hé diǎn",龙爪槐:"lóng zhǎo huái",喝倒彩:"hè dào cǎi",定冠词:"dìng guàn cí",担担面:"dàn dan miàn",吃得住:"chī de zhù",爪尖儿:"zhuǎ jiān er",支着儿:"zhī zhāo er",折跟头:"zhē gēn tou",阴着儿:"yīn zhāo er",烟卷儿:"yān juǎn er",宣传弹:"xuān chuán dàn",信皮儿:"xìn pí er",弦切角:"xián qiē jiǎo",缩砂密:"sù shā mì",说得来:"shuō de lái",水漂儿:"shuǐ piāo er",耍笔杆:"shuǎ bǐ gǎn",数得上:"shǔ de shàng",数不着:"shǔ bù zháo",数不清:"shǔ bù qīng",什件儿:"shí jiàn er",生死簿:"shēng sǐ bù",扇风机:"shān fēng jī",撒呓挣:"sā yì zheng",日记簿:"rì jì bù",热得快:"rè de kuài",亲家公:"qìng jia gōng",奇函数:"jī hán shù",拍纸簿:"pāi zhǐ bù",努劲儿:"nǔ jìn er",泥娃娃:"ní wá wa",内切圆:"nèi qiē yuán",哪会儿:"nǎ huì er",闷头儿:"mēn tóu er",没谱儿:"méi pǔ er",铆劲儿:"mǎo jìn er",溜肩膀:"liū jiān bǎng",了望台:"liào wàng tái",老来少:"lǎo lái shào",坤角儿:"kūn jué er",考勤簿:"kǎo qín bù",卷笔刀:"juǎn bǐ dāo",进给量:"jìn jǐ liàng",划不来:"huá bù lái",汗褂儿:"hàn guà er",鼓囊囊:"gǔ nāng nāng",够劲儿:"gòu jìn er",公切线:"gōng qiē xiàn",搁得住:"gé de zhù",赶浪头:"gǎn làng tóu",赶得上:"gǎn de shàng",干酵母:"gān jiào mǔ",嘎渣儿:"gā zhā er",嘎嘣脆:"gā bēng cuì",对得住:"duì de zhù",逗闷子:"dòu mèn zi",顶呱呱:"dǐng guā guā",滴溜儿:"dī liù er",大轴子:"dà zhòu zi",打板子:"dǎ bǎn zi",寸劲儿:"cùn jìn er",醋劲儿:"cù jìn er",揣手儿:"chuāi shǒu er",冲劲儿:"chòng jìn er",吃得来:"chī de lái",不更事:"bù gēng shì",奔头儿:"bèn tou er",百夫长:"bǎi fū zhǎng",娃娃亲:"wá wa qīn",死劲儿:"sǐ jìn er",骨朵儿:"gū duǒ er",功劳簿:"gōng láo bù",都江堰:"dū jiāng yàn",一担水:"yí dàn shuǐ",否极泰:"pǐ jí tài",泰来否:"tài lái pǐ",咳特灵:"ké tè líng",开户行:"kāi hù háng",郦食其:"lì yì jī",花事了:"huā shì liǎo",一更更:"yì gēng gēng",一重山:"yì chóng shān",风一更:"fēng yì gēng",雪一更:"xuě yì gēng",归一码:"guī yì mǎ",星期一:"xīng qī yī",礼拜一:"lǐ bài yī",一季度:"yī jì dù",一月一:"yī yuè yī",一字马:"yī zì mǎ",一是一:"yī shì yī",一次方:"yī cì fāng",一阳指:"yī yáng zhǐ",一字决:"yī zì jué",一年级:"yī nián jí",一不做:"yī bú zuò",屈戌儿:"qū qu ér",难为水:"nán wéi shuǐ",难为情:"nán wéi qíng",行一行:"xíng yì háng",别别的:"biè bié de",干哪行:"gàn nǎ háng",干一行:"gàn yì háng",曲别针:"qū bié zhēn"},rt=Object.keys(ae).map(n=>({zh:n,pinyin:ae[n],probability:2e-8,length:3,priority:qn.Normal,dict:Symbol("dict3")})),de={成吉思汗:"chéng jí sī hán",四通八达:"sì tōng bā dá",一模一样:"yì mú yí yàng",青藏高原:"qīng zàng gāo yuán",阿弥陀佛:"ē mí tuó fó",解放思想:"jiè fàng sī xiǎng",所作所为:"suǒ zuò suǒ wéi",迷迷糊糊:"mí mí hu hū",荷枪实弹:"hè qiāng shí dàn",兴高采烈:"xìng gāo cǎi liè",无能为力:"wú néng wéi lì",布鲁塞尔:"bù lǔ sài ěr",为所欲为:"wéi suǒ yù wéi",克什米尔:"kè shí mǐ ěr",没完没了:"méi wán méi liǎo",不为人知:"bù wéi rén zhī",结结巴巴:"jiē jiē bā bā",前仆后继:"qián pū hòu jì",铺天盖地:"pū tiān gài dì",直截了当:"zhí jié liǎo dàng",供不应求:"gōng bú yìng qiú",御史大夫:"yù shǐ dà fū",不为瓦全:"bù wéi wǎ quán",不可收拾:"bù kě shōu shi",胡作非为:"hú zuò fēi wéi",分毫不差:"fēn háo bú chà",模模糊糊:"mó mó hu hū",不足为奇:"bù zú wéi qí",悄无声息:"qiǎo wú shēng xī",了如指掌:"liǎo rú zhǐ zhǎng",深恶痛绝:"shēn wù tòng jué",高高兴兴:"gāo gāo xìng xìng",唉声叹气:"āi shēng tàn qì",汉藏语系:"hàn zàng yǔ xì",处心积虑:"chǔ xīn jī lǜ",泣不成声:"qì bù chéng shēng",半夜三更:"bàn yè sān gēng",失魂落魄:"shī hún luò pò",二十八宿:"èr shí bā xiù",转来转去:"zhuàn lái zhuàn qù",数以万计:"shǔ yǐ wàn jì",相依为命:"xiāng yī wéi mìng",恋恋不舍:"liàn liàn bù shě",屈指可数:"qū zhǐ kě shǔ",神出鬼没:"shén chū guǐ mò",结结实实:"jiē jiē shí shí",有的放矢:"yǒu dì fàng shǐ",叽哩咕噜:"jī lǐ gū lū",调兵遣将:"diào bīng qiǎn jiàng",载歌载舞:"zài gē zài wǔ",转危为安:"zhuǎn wēi wéi ān",踏踏实实:"tā tā shi shí",桑给巴尔:"sāng jǐ bā ěr",装模作样:"zhuāng mú zuò yàng",见义勇为:"jiàn yì yǒng wéi",相差无几:"xiāng chā wú jǐ",叹为观止:"tàn wéi guān zhǐ",闷闷不乐:"mèn mèn bú lè",喜怒哀乐:"xǐ nù āi lè",鲜为人知:"xiǎn wéi rén zhī",张牙舞爪:"zhāng yá wǔ zhǎo",为非作歹:"wéi fēi zuò dǎi",含糊其辞:"hán hú qí cí",疲于奔命:"pí yú bēn mìng",勉为其难:"miǎn wéi qí nán",依依不舍:"yī yī bù shě",顶头上司:"dǐng tóu shàng si",不着边际:"bù zhuó biān jì",大模大样:"dà mú dà yàng",寻欢作乐:"xún huān zuò lè",一走了之:"yì zǒu liǎo zhī",字里行间:"zì lǐ háng jiān",含含糊糊:"hán hán hu hū",恰如其分:"qià rú qí fèn",破涕为笑:"pò tì wéi xiào",深更半夜:"shēn gēng bàn yè",千差万别:"qiān chā wàn bié",数不胜数:"shǔ bú shèng shǔ",据为己有:"jù wéi jǐ yǒu",天旋地转:"tiān xuán dì zhuàn",养尊处优:"yǎng zūn chǔ yōu",玻璃纤维:"bō li xiān wéi",吵吵闹闹:"chāo chao nào nào",晕头转向:"yūn tóu zhuàn xiàng",土生土长:"tǔ shēng tǔ zhǎng",宁死不屈:"nìng sǐ bù qū",不省人事:"bù xǐng rén shì",尽力而为:"jìn lì ér wéi",精明强干:"jīng míng qiáng gàn",唠唠叨叨:"láo lao dāo dāo",叽叽喳喳:"jī ji zhā zhā",功不可没:"gōng bù kě mò",锲而不舍:"qiè ér bù shě",排忧解难:"pái yōu jiě nàn",稀里糊涂:"xī li hú tú",各有所长:"gè yǒu suǒ cháng",的的确确:"dí dí què què",哄堂大笑:"hōng táng dà xiào",听而不闻:"tīng ér bù wén",刀耕火种:"dāo gēng huǒ zhòng",内分泌腺:"nèi fèn mì xiàn",化险为夷:"huà xiǎn wéi yí",百发百中:"bǎi fā bǎi zhòng",重见天日:"chóng jiàn tiān rì",反败为胜:"fǎn bài wéi shèng",一了百了:"yì liǎo bǎi liǎo",大大咧咧:"dà da liē liē",心急火燎:"xīn jí huǒ liǎo",粗心大意:"cū xīn dà yi",鸡皮疙瘩:"jī pí gē da",夷为平地:"yí wéi píng dì",日积月累:"rì jī yuè lěi",设身处地:"shè shēn chǔ dì",投其所好:"tóu qí suǒ hào",间不容发:"jiān bù róng fà",人满为患:"rén mǎn wéi huàn",穷追不舍:"qióng zhuī bù shě",为时已晚:"wéi shí yǐ wǎn",如数家珍:"rú shǔ jiā zhēn",心里有数:"xīn lǐ yǒu shù",以牙还牙:"yǐ yá huán yá",神不守舍:"shén bù shǒu shě",孟什维克:"mèng shí wéi kè",各自为战:"gè zì wéi zhàn",怨声载道:"yuàn shēng zài dào",救苦救难:"jiù kǔ jiù nàn",好好先生:"hǎo hǎo xiān sheng",怪模怪样:"guài mú guài yàng",抛头露面:"pāo tóu lù miàn",游手好闲:"yóu shǒu hào xián",无所不为:"wú suǒ bù wéi",调虎离山:"diào hǔ lí shān",步步为营:"bù bù wéi yíng",好大喜功:"hào dà xǐ gōng",众矢之的:"zhòng shǐ zhī dì",长生不死:"cháng shēng bù sǐ",蔚为壮观:"wèi wéi zhuàng guān",不可胜数:"bù kě shèng shǔ",鬼使神差:"guǐ shǐ shén chāi",洁身自好:"jié shēn zì hào",敢作敢为:"gǎn zuò gǎn wéi",茅塞顿开:"máo sè dùn kāi",走马换将:"zǒu mǎ huàn jiàng",为时过早:"wéi shí guò zǎo",为人师表:"wéi rén shī biǎo",阴差阳错:"yīn chā yáng cuò",油腔滑调:"yóu qiāng huá diào",重蹈覆辙:"chóng dǎo fù zhé",骂骂咧咧:"mà ma liē liē",絮絮叨叨:"xù xù dāo dāo",如履薄冰:"rú lǚ bó bīng",损兵折将:"sǔn bīng zhé jiàng",拐弯抹角:"guǎi wān mò jiǎo",像模像样:"xiàng mú xiàng yàng",供过于求:"gōng guò yú qiú",开花结果:"kāi huā jiē guǒ",仔仔细细:"zǐ zǐ xì xì",川藏公路:"chuān zàng gōng lù",河北梆子:"hé běi bāng zi",长年累月:"cháng nián lěi yuè",正儿八经:"zhèng er bā jīng",不识抬举:"bù shí tái ju",重振旗鼓:"chóng zhèn qí gǔ",气息奄奄:"qì xī yān yān",紧追不舍:"jǐn zhuī bù shě",服服帖帖:"fú fu tiē tiē",强词夺理:"qiǎng cí duó lǐ",噼里啪啦:"pī li pā lā",人才济济:"rén cái jǐ jǐ",发人深省:"fā rén shēn xǐng",不足为凭:"bù zú wéi píng",为富不仁:"wéi fù bù rén",连篇累牍:"lián piān lěi dú",呼天抢地:"hū tiān qiāng dì",落落大方:"luò luò dà fāng",自吹自擂:"zì chuī zì léi",乐善好施:"lè shàn hào shī",以攻为守:"yǐ gōng wéi shǒu",磨磨蹭蹭:"mó mó cèng cèng",削铁如泥:"xuē tiě rú ní",助纣为虐:"zhù zhòu wéi nüè",以退为进:"yǐ tuì wéi jìn",嘁嘁喳喳:"qī qī chā chā",枪林弹雨:"qiāng lín dàn yǔ",令人发指:"lìng rén fà zhǐ",转败为胜:"zhuǎn bài wéi shèng",转弯抹角:"zhuǎn wān mò jiǎo",在劫难逃:"zài jié nán táo",正当防卫:"zhèng dàng fáng wèi",不足为怪:"bù zú wéi guài",难兄难弟:"nàn xiōng nàn dì",咿咿呀呀:"yī yī yā yā",弹尽粮绝:"dàn jìn liáng jué",阿谀奉承:"ē yú fèng chéng",稀里哗啦:"xī li huā lā",返老还童:"fǎn lǎo huán tóng",好高骛远:"hào gāo wù yuǎn",鹿死谁手:"lù sǐ shéi shǒu",差强人意:"chā qiáng rén yì",大吹大擂:"dà chuī dà léi",成家立业:"chéng jiā lì yè",自怨自艾:"zì yuàn zì yì",负债累累:"fù zhài lěi lěi",古为今用:"gǔ wéi jīn yòng",入土为安:"rù tǔ wéi ān",下不为例:"xià bù wéi lì",一哄而上:"yì hōng ér shàng",没头苍蝇:"méi tóu cāng ying",天差地远:"tiān chā dì yuǎn",风卷残云:"fēng juǎn cán yún",多灾多难:"duō zāi duō nàn",乳臭未干:"rǔ xiù wèi gān",行家里手:"háng jiā lǐ shǒu",狼狈为奸:"láng bèi wéi jiān",处变不惊:"chǔ biàn bù jīng",一唱一和:"yí chàng yí hè",一念之差:"yí niàn zhī chā",金蝉脱壳:"jīn chán tuō qiào",滴滴答答:"dī dī dā dā",硕果累累:"shuò guǒ léi léi",好整以暇:"hào zhěng yǐ xiá",红得发紫:"hóng de fā zǐ",传为美谈:"chuán wéi měi tán",富商大贾:"fù shāng dà gǔ",四海为家:"sì hǎi wéi jiā",了若指掌:"liǎo ruò zhǐ zhǎng",大有可为:"dà yǒu kě wéi",出头露面:"chū tóu lù miàn",鼓鼓囊囊:"gǔ gu nāng nāng",窗明几净:"chuāng míng jī jìng",泰然处之:"tài rán chǔ zhī",怒发冲冠:"nù fà chōng guān",有机玻璃:"yǒu jī bō li",骨头架子:"gǔ tou jià zi",义薄云天:"yì bó yún tiān",一丁点儿:"yī dīng diǎn er",时来运转:"shí lái yùn zhuǎn",陈词滥调:"chén cí làn diào",化整为零:"huà zhěng wéi líng",火烧火燎:"huǒ shāo huǒ liǎo",干脆利索:"gàn cuì lì suǒ",吊儿郎当:"diào er láng dāng",广种薄收:"guǎng zhòng bó shōu",种瓜得瓜:"zhòng guā dé guā",种豆得豆:"zhòng dòu dé dòu",难舍难分:"nán shě nán fēn",歃血为盟:"shà xuè wéi méng",奋发有为:"fèn fā yǒu wéi",阴错阳差:"yīn cuò yáng chā",东躲西藏:"dōng duǒ xī cáng",烟熏火燎:"yān xūn huǒ liǎo",钻牛角尖:"zuān niú jiǎo jiān",乔装打扮:"qiáo zhuāng dǎ bàn",改弦更张:"gǎi xián gēng zhāng",河南梆子:"hé nán bāng zi",好吃懒做:"hào chī lǎn zuò",何乐不为:"hé lè bù wéi",大出风头:"dà chū fēng tóu",攻城掠地:"gōng chéng lüè dì",漂漂亮亮:"piào piào liang liang",折衷主义:"zhé zhōng zhǔ yì",大马哈鱼:"dà mǎ hǎ yú",绿树成荫:"lǜ shù chéng yīn",率先垂范:"shuài xiān chuí fàn",家长里短:"jiā cháng lǐ duǎn",宽大为怀:"kuān dà wéi huái",左膀右臂:"zuǒ bǎng yòu bì",一笑了之:"yí xiào liǎo zhī",天下为公:"tiān xià wéi gōng",还我河山:"huán wǒ hé shān",何足为奇:"hé zú wéi qí",好自为之:"hǎo zì wéi zhī",风姿绰约:"fēng zī chuò yuē",大雨滂沱:"dà yǔ pāng tuó",传为佳话:"chuán wéi jiā huà",吃里扒外:"chī lǐ pá wài",重操旧业:"chóng cāo jiù yè",小家子气:"xiǎo jiā zi qì",少不更事:"shào bù gēng shì",难分难舍:"nán fēn nán shě",添砖加瓦:"tiān zhuān jiā wǎ",是非分明:"shì fēi fēn míng",舍我其谁:"shě wǒ qí shuí",偏听偏信:"piān tīng piān xìn",量入为出:"liàng rù wéi chū",降龙伏虎:"xiáng lóng fú hǔ",钢化玻璃:"gāng huà bō li",正中下怀:"zhèng zhòng xià huái",以身许国:"yǐ shēn xǔ guó",一语中的:"yì yǔ zhòng dì",丧魂落魄:"sàng hún luò pò",三座大山:"sān zuò dà shān",济济一堂:"jǐ jǐ yì táng",好事之徒:"hào shì zhī tú",干净利索:"gàn jìng lì suǒ",出将入相:"chū jiàng rù xiàng",袅袅娜娜:"niǎo niǎo nuó nuó",狐狸尾巴:"hú li wěi ba",好逸恶劳:"hào yì wù láo",大而无当:"dà ér wú dàng",打马虎眼:"dǎ mǎ hu yǎn",板上钉钉:"bǎn shàng dìng dīng",吆五喝六:"yāo wǔ hè liù",虾兵蟹将:"xiā bīng xiè jiàng",水调歌头:"shuǐ diào gē tóu",数典忘祖:"shǔ diǎn wàng zǔ",人事不省:"rén shì bù xǐng",曲高和寡:"qǔ gāo hè guǎ",屡教不改:"lǚ jiào bù gǎi",互为因果:"hù wéi yīn guǒ",互为表里:"hù wéi biǎo lǐ",厚此薄彼:"hòu cǐ bó bǐ",过关斩将:"guò guān zhǎn jiàng",疙疙瘩瘩:"gē ge dā dā",大腹便便:"dà fù pián pián",走为上策:"zǒu wéi shàng cè",冤家对头:"yuān jia duì tóu",有隙可乘:"yǒu xì kě chèng",一鳞半爪:"yì lín bàn zhǎo",片言只语:"piàn yán zhǐ yǔ",开花结实:"kāi huā jié shí",经年累月:"jīng nián lěi yuè",含糊其词:"hán hú qí cí",寡廉鲜耻:"guǎ lián xiǎn chǐ",成年累月:"chéng nián lěi yuè",不徇私情:"bú xùn sī qíng",不当人子:"bù dāng rén zǐ",膀大腰圆:"bǎng dà yāo yuán",指腹为婚:"zhǐ fù wéi hūn",这么点儿:"zhè me diǎn er",意兴索然:"yì xīng suǒ rán",绣花枕头:"xiù huā zhěn tou",无的放矢:"wú dì fàng shǐ",望闻问切:"wàng wén wèn qiè",舍己为人:"shě jǐ wèi rén",穷年累月:"qióng nián lěi yuè",排难解纷:"pái nàn jiě fēn",处之泰然:"chǔ zhī tài rán",指鹿为马:"zhǐ lù wéi mǎ",危如累卵:"wēi rú lěi luǎn",天兵天将:"tiān bīng tiān jiàng",舍近求远:"shě jìn qiú yuǎn",南腔北调:"nán qiāng běi diào",苦中作乐:"kǔ zhōng zuò lè",厚积薄发:"hòu jī bó fā",臭味相投:"xiù wèi xiāng tóu",长幼有序:"zhǎng yòu yǒu xù",逼良为娼:"bī liáng wéi chāng",悲悲切切:"bēi bēi qiè qiē",败军之将:"bài jūn zhī jiàng",欺行霸市:"qī háng bà shì",削足适履:"xuē zú shì lǚ",先睹为快:"xiān dǔ wéi kuài",啼饥号寒:"tí jī háo hán",疏不间亲:"shū bú jiàn qīn",神差鬼使:"shén chāi guǐ shǐ",敲敲打打:"qiāo qiāo dǎ dǎ",平铺直叙:"píng pū zhí xù",没头没尾:"méi tóu mò wěi",寥寥可数:"liáo liáo kě shǔ",哼哈二将:"hēng hā èr jiàng",鹤发童颜:"hè fà tóng yán",各奔前程:"gè bèn qián chéng",弹无虚发:"dàn wú xū fā",大人先生:"dà rén xiān sheng",与民更始:"yǔ mín gēng shǐ",树碑立传:"shù bēi lì zhuàn",是非得失:"shì fēi dé shī",实逼处此:"shí bī chǔ cǐ",塞翁失马:"sài wēng shī mǎ",日薄西山:"rì bó xī shān",切身体会:"qiè shēn tǐ huì",片言只字:"piàn yán zhǐ zì",跑马卖解:"pǎo mǎ mài xiè",宁折不弯:"nìng zhé bù wān",零零散散:"líng líng sǎn sǎn",量体裁衣:"liàng tǐ cái yī",连中三元:"lián zhòng sān yuán",礼崩乐坏:"lǐ bēng yuè huài",不为已甚:"bù wéi yǐ shèn",转悲为喜:"zhuǎn bēi wéi xǐ",以眼还眼:"yǐ yǎn huán yǎn",蔚为大观:"wèi wéi dà guān",未为不可:"wèi wéi bù kě",童颜鹤发:"tóng yán hè fà",朋比为奸:"péng bǐ wéi jiān",莫此为甚:"mò cǐ wéi shèn",夹枪带棒:"jiā qiāng dài bàng",富商巨贾:"fù shāng jù jiǎ",淡然处之:"dàn rán chǔ zhī",箪食壶浆:"dān shí hú jiāng",创巨痛深:"chuāng jù tòng shēn",草长莺飞:"cǎo zhǎng yīng fēi",坐视不救:"zuò shī bú jiù",以己度人:"yǐ jǐ duó rén",随行就市:"suí háng jiù shì",文以载道:"wén yǐ zài dào",文不对题:"wén bú duì tí",铁板钉钉:"tiě bǎn dìng dīng",身体发肤:"shēn tǐ fà fū",缺吃少穿:"quē chī shǎo chuān",目无尊长:"mù wú zūn zhǎng",吉人天相:"jí rén tiān xiàng",毁家纾难:"huǐ jiā shū nàn",钢筋铁骨:"gāng jīn tiě gǔ",丢卒保车:"diū zú bǎo jū",丢三落四:"diū sān là sì",闭目塞听:"bì mù sè tīng",削尖脑袋:"xuē jiān nǎo dài",为非作恶:"wéi fēi zuò è",人才难得:"rén cái nán dé",情非得已:"qíng fēi dé yǐ",切中要害:"qiè zhòng yào hài",火急火燎:"huǒ jí huǒ liǎo",画地为牢:"huà dì wéi láo",好酒贪杯:"hào jiǔ tān bēi",长歌当哭:"cháng gē dàng kū",载沉载浮:"zài chén zài fú",遇难呈祥:"yù nàn chéng xiáng",榆木疙瘩:"yú mù gē da",以邻为壑:"yǐ lín wéi hè",洋为中用:"yáng wéi zhōng yòng",言为心声:"yán wéi xīn shēng",言必有中:"yán bì yǒu zhòng",图穷匕见:"tú qióng bǐ xiàn",滂沱大雨:"páng tuó dà yǔ",目不暇给:"mù bù xiá jǐ",量才录用:"liàng cái lù yòng",教学相长:"jiào xué xiāng zhǎng",悔不当初:"huǐ bù dāng chū",呼幺喝六:"hū yāo hè liù",不足为训:"bù zú wéi xùn",不拘形迹:"bù jū xíng jī",傍若无人:"páng ruò wú rén",罪责难逃:"zuì zé nán táo",自我吹嘘:"zì wǒ chuī xū",转祸为福:"zhuǎn huò wéi fú",勇冠三军:"yǒng guàn sān jūn",易地而处:"yì dì ér chǔ",卸磨杀驴:"xiè mò shā lǘ",玩儿不转:"wán ér bú zhuàn",天道好还:"tiān dào hǎo huán",身单力薄:"shēn dān lì bó",撒豆成兵:"sǎ dòu chéng bīng",片纸只字:"piàn zhǐ zhī zì",宁缺毋滥:"nìng quē wú làn",没没无闻:"mò mò wú wén",量力而为:"liàng lì ér wéi",历历可数:"lì lì kě shǔ",口碑载道:"kǒu bēi zài dào",君子好逑:"jūn zǐ hǎo qiú",好为人师:"hào wéi rén shī",豪商巨贾:"háo shāng jù jiǎ",各有所好:"gè yǒu suǒ hào",度德量力:"duó dé liàng lì",指天为誓:"zhǐ tiān wéi shì",逸兴遄飞:"yì xìng chuán fēi",心宽体胖:"xīn kuān tǐ pán",为德不卒:"wéi dé bù zú",天下为家:"tiān xià wéi jiā",视为畏途:"shì wéi wèi tú",三灾八难:"sān zāi bā nàn",沐猴而冠:"mù hóu ér guàn",哩哩啦啦:"lī li lā lā",见缝就钻:"jiàn fèng jiù zuān",夹层玻璃:"jiā céng bō li",急公好义:"jí gōng hào yì",积年累月:"jī nián lěi yuè",划地为牢:"huá dì wéi láo",更名改姓:"gēng míng gǎi xìng",奉为圭臬:"fèng wéi guī niè",多难兴邦:"duō nàn xīng bāng",不破不立:"bú pò bú lì",坐地自划:"zuò dì zì huá",坐不重席:"zuò bù chóng xí",坐不窥堂:"zuò bù kuī táng",作嫁衣裳:"zuò jià yī shang",左枝右梧:"zuǒ zhī yòu wú",左宜右有:"zuǒ yí yòu yǒu",钻头觅缝:"zuān tóu mì fèng",钻天打洞:"zuān tiān dǎ dòng",钻皮出羽:"zuān pí chū yǔ",钻火得冰:"zuān huǒ dé bīng",钻洞觅缝:"zuàn dòng mì féng",钻冰求火:"zuān bīng qiú huǒ",子为父隐:"zǐ wéi fù yǐn",擢发难数:"zhuó fà nán shǔ",着人先鞭:"zhuó rén xiān biān",斫雕为朴:"zhuó diāo wéi pǔ",锥处囊中:"zhuī chǔ náng zhōng",椎心饮泣:"chuí xīn yǐn qì",椎心泣血:"chuí xīn qì xuè",椎牛飨士:"chuí niú xiǎng shì",椎牛歃血:"chuí niú shà xuè",椎牛发冢:"chuí niú fà zhǒng",椎埋屠狗:"chuí mái tú gǒu",椎埋狗窃:"chuí mái gǒu qiè",壮发冲冠:"zhuàng fā chōng guàn",庄严宝相:"zhuāng yán bǎo xiàng",转愁为喜:"zhuǎn chóu wéi xǐ",转嗔为喜:"zhuǎn chēn wéi xǐ",拽巷啰街:"zhuài xiàng luó jiē",拽耙扶犁:"zhuāi pá fú lí",拽布拖麻:"zhuài bù tuō má",箸长碗短:"zhù cháng wǎn duǎn",铸剑为犁:"zhù jiàn wéi lí",杼柚其空:"zhù yòu qí kōng",杼柚空虚:"zhù yòu kōng xū",助天为虐:"zhù tiān wéi nüè",属垣有耳:"zhǔ yuán yǒu ěr",属毛离里:"zhǔ máo lí lǐ",属辞比事:"zhǔ cí bǐ shì",逐物不还:"zhú wù bù huán",铢量寸度:"zhū liáng cùn duó",铢两悉称:"zhū liǎng xī chèn",侏儒观戏:"zhū rú guān xì",朱轓皁盖:"zhū fān zào gài",昼度夜思:"zhòu duó yè sī",诪张为幻:"zhōu zhāng wéi huàn",重明继焰:"chóng míng jì yàn",众啄同音:"zhòng zhuó tóng yīn",众毛攒裘:"zhòng máo cuán qiú",众好众恶:"zhòng hào zhòng wù",擿埴索涂:"zhāi zhí suǒ tú",稚齿婑媠:"zhì chǐ wǒ tuó",至当不易:"zhì dàng bú yì",指皂为白:"zhǐ zào wéi bái",指雁为羹:"zhǐ yàn wéi gēng",指树为姓:"zhǐ shù wéi xìng",指山说磨:"zhǐ shān shuō mò",止戈为武:"zhǐ gē wéi wǔ",枝干相持:"zhī gàn xiāng chí",枝大于本:"zh dà yú běn",支吾其词:"zhī wú qí cí",正身率下:"zhèng shēn shuài xià",正冠李下:"zhèng guàn lǐ xià",整冠纳履:"zhěng guān nà lǚ",整躬率物:"zhěng gōng shuài wù",整顿干坤:"zhěng dùn gàn kūn",针头削铁:"zhēn tóu xuē tiě",贞松劲柏:"zhēn sōng jìng bǎi",赭衣塞路:"zhě yī sè lù",折箭为誓:"shé jiàn wéi shì",折而族之:"zhé ér zú zhī",昭德塞违:"zhāo dé sè wéi",章句小儒:"zhāng jù xiǎo rú",湛恩汪濊:"zhàn ēn wāng huì",占风望气:"zhān fēng wàng qì",斩将搴旗:"zhǎn jiàng qiān qí",曾母投杼:"zēng mǔ tóu zhù",曾参杀人:"zēng shēn shā rén",造谣中伤:"zào yáo zhòng shāng",早占勿药:"zǎo zhān wù yào",凿龟数策:"záo guī shǔ cè",攒三聚五:"cuán sān jù wǔ",攒眉蹙额:"cuán mei cù é",攒零合整:"cuán líng hé zhěng",攒锋聚镝:"cuán fēng jù dí",载笑载言:"zài xiào zài yán",载酒问字:"zài jiǔ wèn zì",殒身不恤:"yǔn shēn bú xù",云舒霞卷:"yún shū xiá juǎn",月中折桂:"yuè zhōng shé guì",月落参横:"yuè luò shēn héng",鬻驽窃价:"yù nú qiè jià",鬻鸡为凤:"yù jī wéi fèng",遇难成祥:"yù nàn chéng xiáng",郁郁累累:"yù yù lěi lěi",玉卮无当:"yù zhī wú dàng",语笑喧阗:"yǔ xiào xuān tián",与世沉浮:"yǔ shì chén fú",与时消息:"yǔ shí xiāo xi",逾墙钻隙:"yú qiáng zuān xì",渔夺侵牟:"yú duó qīn móu",杅穿皮蠹:"yú chuān pí dù",余勇可贾:"yú yǒng kě gǔ",予智予雄:"yú zhì yú xióng",予取予求:"yú qǔ yú qiú",于家为国:"yú jiā wéi guó",有借无还:"yǒu jiè wú huán",有加无已:"yǒu jiā wú yǐ",有国难投:"yǒu guó nán tóu",游必有方:"yóu bì yǒu fāng",油干灯尽:"yóu gàn dēng jìn",尤云殢雨:"yóu yún tì yǔ",庸中皦皦:"yōng zhōng jiǎo jiǎo",郢书燕说:"yǐng shū yān shuō",营蝇斐锦:"yíng yíng fēi jǐn",鹰心雁爪:"yīng xīn yàn zhǎo",莺吟燕儛:"yīng yín yàn wǔ",应天顺时:"yīng tiān shùn shí",印累绶若:"yìn léi shòu ruò",隐占身体:"yǐn zhàn shēn tǐ",饮犊上流:"yìn dú shàng liú",引绳切墨:"yǐn shéng qiē mò",龈齿弹舌:"yín chǐ dàn shé",因缘为市:"yīn yuán wéi shì",因树为屋:"yīn shù wéi wū",溢美溢恶:"yì měi yì wù",抑塞磊落:"yì sè lěi luò",倚闾望切:"yǐ lǘ wàng qiē",以意为之:"yǐ yì wéi zhī",以言为讳:"yǐ yán wéi huì",以疏间亲:"yǐ shū jiàn qīn",以水济水:"yǐ shuǐ jǐ shuǐ",以书为御:"yǐ shū wéi yù",以守为攻:"yǐ shǒu wéi gōng",以升量石:"yǐ shēng liáng dàn",以慎为键:"yǐ shèn wéi jiàn",以筌为鱼:"yǐ quán wéi yú",以利累形:"yǐ lì lěi xíng",以毁为罚:"yǐ huǐ wéi fá",以黑为白:"yǐ hēi wéi bái",以规为瑱:"yǐ guī wéi tiàn",以古为鉴:"yǐ gǔ wéi jiàn",以宫笑角:"yǐ gōng xiào jué",以法为教:"yǐ fǎ wéi jiào",以大恶细:"yǐ dà wù xì",遗世忘累:"yí shì wàng lěi",遗寝载怀:"yí qǐn zài huái",移的就箭:"yí dì jiù jiàn",依头缕当:"yī tóu lǚ dàng",衣租食税:"yì zū shí shuì",衣轻乘肥:"yì qīng chéng féi",衣裳之会:"yī shang zhī huì",衣单食薄:"yī dān shí bó",一还一报:"yì huán yí bào",叶公好龙:"yè gōng hào lóng",野调无腔:"yě diào wú qiāng",瑶池女使:"yáo chí nǚ shǐ",幺麽小丑:"yāo mó xiǎo chǒu",养精畜锐:"yǎng jīng xù ruì",卬首信眉:"áng shǒu shēn méi",洋洋纚纚:"yáng yáng sǎ sǎ",羊羔美酒:"yáng gāo měi jiǔ",扬风扢雅:"yáng fēng jié yǎ",燕昭市骏:"yān zhāo shì jùn",燕昭好马:"yān zhāo hǎo mǎ",燕石妄珍:"yān shí wàng zhēn",燕骏千金:"yān jùn qiān jīn",燕金募秀:"yān jīn mù xiù",燕驾越毂:"yān jià yuè gǔ",燕歌赵舞:"yān gē zhào wǔ",燕岱之石:"yān dài zhī shí",燕处危巢:"yàn chǔ wēi cháo",掞藻飞声:"shàn zǎo fēi shēng",偃革为轩:"yǎn gé wéi xuān",妍蚩好恶:"yán chī hǎo è",压良为贱:"yā liáng wéi jiàn",搀行夺市:"chān háng duó shì",泣数行下:"qì shù háng xià",当行出色:"dāng háng chū sè",秀出班行:"xiù chū bān háng",儿女成行:"ér nǚ chéng háng",大行大市:"dà háng dà shì",寻行数墨:"xún háng shǔ mò",埙篪相和:"xūn chí xiāng hè",血债累累:"xuè zhài lěi lěi",炫玉贾石:"xuàn yù gǔ shí",炫石为玉:"xuàn shí wéi yù",悬石程书:"xuán dàn chéng shū",悬狟素飡:"xuán huán sù cān",悬龟系鱼:"xuán guī xì yú",揎拳捋袖:"xuān quán luō xiù",轩鹤冠猴:"xuān hè guàn hóu",畜妻养子:"xù qī yǎng zǐ",羞人答答:"xiū rén dā dā",修鳞养爪:"xiū lín yǎng zhǎo",熊据虎跱:"xióng jù hǔ zhì",兄死弟及:"xiōng sǐ dì jí",腥闻在上:"xīng wén zài shàng",兴文匽武:"xīng wén yǎn wǔ",兴观群怨:"xìng guān qún yuàn",兴高彩烈:"xìng gāo cǎi liè",心手相应:"xīn shǒu xiāng yìng",心口相应:"xīn kǒu xiāng yīng",挟势弄权:"xié shì nòng quán",胁肩累足:"xié jiān lěi zú",校短量长:"jiào duǎn liáng cháng",小眼薄皮:"xiǎo yǎn bó pí",硝云弹雨:"xiāo yún dàn yǔ",鸮鸣鼠暴:"xiāo míng shǔ bào",削株掘根:"xuē zhū jué gēn",削铁无声:"xuē tiě wú shēng",削职为民:"xuē zhí wéi mín",削木为吏:"xuē mù wéi lì",想望风褱:"xiǎng wàng fēng huái",香培玉琢:"xiang pei yu zhuó",相鼠有皮:"xiàng shǔ yǒu pí",相时而动:"xiàng shí ér dòng",相切相磋:"xiāng qiē xiāng cuō",相女配夫:"xiàng nǚ pèi fū",相门有相:"xiàng mén yǒu xiàng",挦章撦句:"xián zhāng chě jù",先我着鞭:"xiān wǒ zhuó biān",习焉不察:"xí yān bù chá",歙漆阿胶:"shè qī ē jiāo",晰毛辨发:"xī máo biàn fà",悉索薄赋:"xī suǒ bó fù",雾鳞云爪:"wù lín yún zhǎo",物稀为贵:"wù xī wéi guì",碔砆混玉:"wǔ fū hùn yù",武断专横:"wǔ duàn zhuān héng",五石六鹢:"wǔ shí liù yì",五色相宣:"wǔ sè xiāng xuān",五侯七贵:"wǔ hóu qī guì",五侯蜡烛:"wǔ hòu là zhú",五羖大夫:"wǔ gǔ dà fū",吾自有处:"wú zì yǒu chǔ",无下箸处:"wú xià zhù chǔ",无伤无臭:"wú shāng wú xiù",无能为役:"wú néng wéi yì",无寇暴死:"wú kòu bào sǐ",无孔不钻:"wú kǒng bú zuàn",无间可乘:"wú jiān kě chéng",无间冬夏:"wú jiān dōng xià",无恶不为:"wú è bù wéi",无动为大:"wú dòng wéi dà",诬良为盗:"wū liáng wéi dào",握拳透爪:"wò quán tòu zhǎo",文武差事:"wén wǔ chāi shì",委委佗佗:"wēi wēi tuó tuó",惟日为岁:"wéi rì wéi suì",帷薄不修:"wéi bó bù xiū",为善最乐:"wéi shàn zuì lè",为山止篑:"wéi shān zhǐ kuì",为仁不富:"wéi rén bú fù",为裘为箕:"wéi qiú wéi jī",为民父母:"wéi mín fù mǔ",为虺弗摧:"wéi huǐ fú cuī",为好成歉:"wéi hǎo chéng qiàn",为鬼为蜮:"wéi guǐ wéi yù",望风响应:"wàng fēng xiǎng yīng",望尘僄声:"wàng chén piào shēng",往渚还汀:"wǎng zhǔ huán tīng",王贡弹冠:"wáng gòng dàn guàn",亡国大夫:"wáng guó dà fū",万贯家私:"wàn guàn jiā sī",晚食当肉:"wǎn shí dàng ròu",晚节不保:"wǎn jié bù bǎo",玩岁愒时:"wán suì kài shí",蛙蟆胜负:"wā má shèng fù",吞言咽理:"tūn yán yàn lǐ",颓垣断堑:"tuí yuán duàn qiàn",推干就湿:"tuī gàn jiù shī",剸繁决剧:"tuán fán jué jù",团头聚面:"tuán tóu jù miàn",兔丝燕麦:"tù sī yàn mài",兔头麞脑:"tù tóu zhāng nǎo",兔葵燕麦:"tù kuí yàn mài",吐哺握发:"tǔ bǔ wò fà",投传而去:"tóu zhuàn ér qù",头没杯案:"tóu mò bēi àn",头昏脑闷:"tóu hūn nǎo mèn",头会箕敛:"tóu kuài jī liǎn",头出头没:"tóu chū tóu mò",痛自创艾:"tòng zì chuāng yì",同恶相助:"tóng wù xiāng zhù",同恶相恤:"tóng wù xiāng xù",痌瘝在抱:"tōng guān zài bào",通文调武:"tōng wén diào wǔ",停留长智:"tíng liú zhǎng zhì",铁树开华:"tiě shù kāi huā",条贯部分:"tiáo guàn bù fēn",挑牙料唇:"tiǎo yá liào chún",挑么挑六:"tiāo yāo tiāo liù",挑唇料嘴:"tiǎo chún liào zuǐ",恬不为意:"tián bù wéi yì",恬不为怪:"tián bù wéi guài",天下为笼:"tiān xià wéi lóng",天台路迷:"tiān tái lù mí",天年不遂:"tiān nián bú suì",探囊胠箧:"tàn náng qū qiè",谭言微中:"tán yán wēi zhòng",谈言微中:"tán yán wēi zhòng",狧穅及米:"shì kāng jí mǐ",随物应机:"suí wù yīng jī",搜岩采干:"sōu yán cǎi gàn",宋斤鲁削:"sòng jīn lǔ xuē",松筠之节:"sōng yún zhī jié",四亭八当:"sì tíng bā dàng",四马攒蹄:"sì mǎ cuán tí",四不拗六:"sì bú niù liù",思所逐之:"sī suǒ zhú zhī",丝恩发怨:"sī ēn fà yuàn",硕望宿德:"shuò wàng xiǔ dé",铄古切今:"shuò gǔ qiē jīn",顺风而呼:"shùn fēng ér hū",顺风吹火:"shùn fēng chuī huǒ",水中著盐:"shuǐ zhōng zhuó yán",双柑斗酒:"shuāng gān dǒu jiǔ",数米而炊:"shǔ mǐ ér chuī",数米量柴:"shǔ mǐ liáng chái",数理逻辑:"shù lǐ luó ji",数黑论黄:"shǔ hēi lùn huáng",数白论黄:"shǔ bái lùn huáng",束缊还妇:"shù yūn huán fù",束蒲为脯:"shù pú wéi pú",束椽为柱:"shù chuán wéi zhù",书缺有间:"shū quē yǒu jiàn",手足重茧:"shǒu zú chóng jiǎn",手足异处:"shǒu zú yì chǔ",手脚干净:"shǒu jiǎo gàn jìng",手不应心:"shǒu bù yīng xīn",螫手解腕:"shì shǒu jiě wàn",释知遗形:"shì zhī yí xíng",适时应务:"shì shí yīng wù",适情率意:"shì qíng shuài yì",适当其冲:"shì dāng qí chōng",视为知己:"shì wéi zhī jǐ",使羊将狼:"shǐ yáng jiàng láng",食为民天:"shí wéi mín tiān",拾掇无遗:"shí duō wú yí",实与有力:"shí yù yǒu lì",石英玻璃:"shí yīng bō li",石室金匮:"shí shì jīn guì",什袭珍藏:"shí xí zhēn cáng",什伍东西:"shí wǔ dōng xī",什围伍攻:"shí wéi wǔ gōng",十魔九难:"shí mó jiǔ nàn",诗书发冢:"shī shū fà zhǒng",虱处裈中:"shī chǔ kūn zhōng",师直为壮:"shī zhí wéi zhuàng",尸居龙见:"shī jū lóng xiàn",圣经贤传:"shèng jīng xián zhuàn",圣君贤相:"shèng jūn xián xiàng",生拖死拽:"shēng tuō sǐ zhuài",审己度人:"shěn jǐ duó rén",神武挂冠:"shén wǔ guà guàn",神龙失埶:"shén lóng shī shì",深文曲折:"shēn wén qǔ shé",深厉浅揭:"shēn lì qiǎn qì",深谷为陵:"shēn gǔ wéi líng",深恶痛疾:"shēn wù tòng jí",深仇宿怨:"shēn chóu xiǔ yuàn",舍己为公:"shě jǐ wèi gōng",舍短取长:"shě duǎn qǔ cháng",舍策追羊:"shě cè zhuī yáng",蛇蝎为心:"shé xiē wéi xīn",少成若性:"shào chéng ruò xìng",上当学乖:"shàng dàng xué guāi",赏不当功:"shǎng bù dāng gōng",善自为谋:"shàn zì wéi móu",善为说辞:"shàn wéi shuō cí",善善恶恶:"shàn shàn wù è",善财难舍:"shàn cái nán shě",苫眼铺眉:"shān yǎn pū méi",讪牙闲嗑:"shàn yá xián kē",山阴乘兴:"shān yīn chéng xīng",山殽野湋:"shān yáo yě wéi",山溜穿石:"shān liù chuān shí",山节藻棁:"shān jié zǎo zhuō",杀鸡为黍:"shā jī wéi shǔ",色厉胆薄:"sè lì dǎn bó",桑荫未移:"sāng yīn wèi yí",桑荫不徙:"sāng yīn bù xǐ",桑土绸缪:"sāng tǔ chóu miù",桑户棬枢:"sāng hù juàn shū",三战三北:"sān zhàn sān běi",三瓦两舍:"sān wǎ liǎng shě",三人为众:"sān rén wèi zhòng",三差两错:"sān chā liǎng cuò",塞井焚舍:"sāi jǐng fén shě",洒心更始:"sǎ xīn gèng shǐ",洒扫应对:"sǎ sǎo yìng duì",软红香土:"ruǎn hóng xiāng tǔ",入吾彀中:"rù wú gòu zhōng",入铁主簿:"rù tiě zhǔ bù",入理切情:"rù lǐ qiē qíng",汝成人耶:"rǔ chéng rén yé",如水投石:"rú shuǐ tóu shí",如切如磋:"rú qiē rú cuō",如登春台:"rú dēng chūn tái",肉薄骨并:"ròu bó gǔ bìng",柔情绰态:"róu qíng chuò tài",戎马劻勷:"róng mǎ kuāng ráng",日中为市:"rì zhōng wéi shì",日月参辰:"rì yuè shēn chén",日省月修:"rì xǐng yuè xiū",日削月割:"rì xuē yuè gē",日省月试:"rì xǐng yuè shì",任达不拘:"rèn dá bù jū",人言藉藉:"rén yán jí jí",人模狗样:"rén mú gǒu yàng",人莫予毒:"rén mò yú dú",热熬翻饼:"rè áo fān bǐng",圈牢养物:"juàn láo yǎng wù",取予有节:"qǔ yǔ yǒu jié",诎要桡腘:"qū yāo ráo guó",穷形尽相:"qióng xíng jìn xiàng",情凄意切:"qíng qī yì qiè",情见势屈:"qíng xiàn shì qū",情见乎辞:"qíng xiàn hū cí",清都绛阙:"qīng dōu jiàng què",倾肠倒肚:"qīng cháng dào dǔ",青紫被体:"qīng zǐ pī tǐ",青林黑塞:"qīng lín hēi sài",螓首蛾眉:"qín shǒu é méi",琴瑟之好:"qín sè zhī hào",且住为佳:"qiě zhù wéi jiā",切树倒根:"qiē shù dǎo gēn",切理餍心:"qiē lǐ yàn xīn",切近的当:"qiē jìn de dāng",翘足引领:"qiáo zú yǐn lǐng",巧发奇中:"qiǎo fā qí zhòng",强嘴拗舌:"jiàng zuǐ niù shé",强直自遂:"qiáng zhí zì suí",强死强活:"qiǎng sǐ qiǎng huó",强食自爱:"qiǎng shí zì ài",强食靡角:"qiǎng shí mí jiǎo",强弓劲弩:"qiáng gōng jìng nǔ",强聒不舍:"qiǎng guō bù shě",强凫变鹤:"qiáng fú biàn hè",强而后可:"qiǎng ér hòu kě",强得易贫:"qiǎng dé yì pín",遣兴陶情:"qiǎn xìng táo qíng",牵羊担酒:"qiān yáng dān jiǔ",千了百当:"qiān liǎo bǎi dàng",泣下如雨:"qì xià rú yǔ",起偃为竖:"qǐ yǎn wéi shù",岂弟君子:"kǎi tì jūn zǐ",綦溪利跂:"qí xī lì qí",棋输先著:"qí shū xiān zhuó",齐王舍牛:"qí wáng shě niú",欺天诳地:"qī tiān kuáng dì",普天率土:"pǔ tiān shuài tǔ",铺胸纳地:"pū xiōng nà dì",铺锦列绣:"pū jǐn liè xiù",破家为国:"pò jiā wèi guó",破觚为圜:"pò gū wéi yuán",萍飘蓬转:"píng piāo péng zhuàn",帡天极地:"píng tiān jí dì",屏声息气:"bǐng shēng xī qì",凭几据杖:"píng jī jù zhàng",贫嘴薄舌:"pín zuǐ bó shé",片语只辞:"piàn yǔ zhī cí",披发文身:"pī fà wén shēn",烹龙炮凤:"pēng lóng páo fèng",炰鳖脍鲤:"fǒu biē kuài lǐ",庞眉皓发:"páng méi hào fà",攀花折柳:"pān huā zhé liǔ",攀蟾折桂:"pān chán shé guì",女大难留:"nǚ dà nán liú",弄玉吹箫:"nòng yù chuī xiāo",弄管调弦:"nòng guǎn tiáo xián",弄粉调朱:"nòng fěn diào zhū",浓抹淡妆:"nóng mò dàn zhuāng",捻土为香:"niǎn tǔ wéi xiāng",年谊世好:"nián yì shì hǎo",年华垂暮:"nián huá chuí mù",儗不于伦:"nǐ bù yú lún",泥而不滓:"ní ér bù zǐ",能者为师:"néng zhě wéi shī",能不称官:"néng bú chèn guān",挠直为曲:"náo zhí wéi qū",难进易退:"nán jìn yì tuì",难得糊涂:"nán dé hú tú",南蛮鴂舌:"nán mán jué shé",南贩北贾:"nán fàn běi gǔ",牧猪奴戏:"mù zhū nú xì",目眢心忳:"mù yuān xīn tún",目挑心招:"mù tiǎo xīn zhāo",目量意营:"mù liàng yì yíng",木头木脑:"mù tóu mù nǎo",木干鸟栖:"mù gàn niǎo qī",侔色揣称:"móu sè chuǎi chèn",莫予毒也:"mò yú dú yě",抹粉施脂:"mò fěn shī zhī",磨砻镌切:"mó lóng juān qiē",磨棱刓角:"mó léng wán jiǎo",摸门不着:"mō mén bù zháo",摸不着边:"mō bù zhuó biān",命中注定:"mìng zhōng zhù dìng",鸣鹤之应:"míng hè zhī yìng",明效大验:"míng xiào dà yàn",名我固当:"míng wǒ gù dāng",邈处欿视:"miǎo chǔ kǎn shì",黾穴鸲巢:"měng xué qú cháo",绵里薄材:"mián lǐ bó cái",靡有孑遗:"mǐ yǒu jié yí",靡衣偷食:"mǐ yī tōu shí",迷恋骸骨:"mí liàn hái gǔ",扪参历井:"mén shēn lì jǐng",门单户薄:"mén dān hù bó",昧旦晨兴:"mèi dàn chén xīng",冒名接脚:"mào míng jiē jiǎo",毛遂堕井:"máo suí duò jǐng",毛发倒竖:"máo fā dǎo shù",卖文为生:"mài wén wéi shēng",卖李钻核:"mài lǐ zuān hé",买椟还珠:"mǎi dú huán zhū",埋三怨四:"mán sān yuàn sì",马入华山:"mǎ rù huá shān",落魄江湖:"luò pò jiāng hú",落落难合:"luò luò nán hé",落草为寇:"luò cǎo wéi kòu",罗织构陷:"luó zhī gòu xiàn",鸾凤和鸣:"luán fèng hè míng",率由旧章:"shuài yóu jiù zhāng",率土同庆:"shuài tǔ tóng qìng",率兽食人:"shuài shòu shí rén",率土归心:"shuài tǔ guī xīn",率马以骥:"shuài mǎ yǐ jì",率尔成章:"shuài ěr chéng zhāng",鲁斤燕削:"lǔ jīn yàn xuē",漏尽更阑:"lòu jìn gēng lán",笼鸟槛猿:"lóng niǎo jiàn yuán",笼鸟池鱼:"lóng niǎo chí yú",龙游曲沼:"lóng yóu qū zhǎo",龙血玄黄:"lóng xuè xuán huáng",龙雕凤咀:"lóng diāo fèng jǔ",六尺之讬:"liù chǐ zhī tuō",令原之戚:"líng yuán zhī qī",令人捧腹:"lìng rén pěng fù",陵劲淬砺:"líng jìng cuì lì",临敌易将:"lín dí yì jiàng",裂裳衣疮:"liè shang yī chuāng",裂冠毁冕:"liè guàn huǐ miǎn",了无惧色:"liǎo wú jù sè",了身达命:"liǎo shēn dá mìng",了然无闻:"liǎo rán wú wén",了不可见:"liǎo bù kě jiàn",了不长进:"liǎo bù zhǎng jìn",燎发摧枯:"liǎo fà cuī kū",审时度势:"shěn shí duó shì",量小力微:"liàng xiǎo lì wēi",相时度力:"xiāng shí duó lì",量枘制凿:"liàng ruì zhì záo",量如江海:"liàng rú jiāng hǎi",量金买赋:"liàng jīn mǎi fù",量己审分:"liàng jǐ shěn fēn",敛骨吹魂:"liǎn gǔ chuī hún",詈夷为跖:"lì yí wéi zhí",利令志惛:"lì lìng zhì hūn",李广不侯:"lǐ guǎng bú hòu",礼为情貌:"lǐ wéi qíng mào",礼让为国:"lǐ ràng wéi guó",犁生骍角:"lí shēng xīng jiǎo",离本徼末:"lí běn jiǎo mò",楞眉横眼:"léng méi hèng yǎn",擂天倒地:"léi tiān dǎo dì",累足成步:"lěi zú chéng bù",累瓦结绳:"lěi wǎ jié shéng",累土至山:"lěi tǔ zhì shān",累土聚沙:"lěi tǔ jù shā",累卵之危:"lěi luǎn zhī wēi",累累如珠:"lěi lěi rú zhū",累块积苏:"lěi kuài jī sū",乐山乐水:"lè shān lè shuǐ",潦原浸天:"lǎo yuán jìn tiān",老师宿儒:"lǎo shī xiǔ rú",牢什古子:"láo shí gǔ zi",琅嬛福地:"láng huán fú dì",揆情度理:"kuí qíng duó lǐ",旷日累时:"kuàng rì lěi shí",匡救弥缝:"kuāng jiù mí fèng",枯树生华:"kū shù shēng huā",口轻舌薄:"kǒu qīng shé bó",口角生风:"kǒu jiǎo shēng fēng",口角春风:"kǒu jiǎo chūn fēng",口角风情:"kǒu jiǎo fēng qíng",口干舌焦:"kǒu gān shé jiāo",口腹之累:"kǒu fù zhī lěi",空腹便便:"kōng fù pián pián",嗑牙料嘴:"kē yá liào zuǐ",刻木为鹄:"kè mù wéi hú",咳珠唾玉:"ké zhū tuò yù",咳唾成珠:"ké tuò chéng zhū",抗颜为师:"kàng yán wéi shī",开华结果:"kāi huā jié guǒ",峻阪盐车:"jùn bǎn yán chē",嚼铁咀金:"jiáo tiě jǔ jīn",嚼墨喷纸:"jué mò pēn zhǐ",倔头强脑:"juè tóu jiàng nǎo",倔头倔脑:"juè tóu juè nǎo",倦鸟知还:"juàn niǎo zhī huán",卷席而葬:"juǎn xí ér zàng",卷甲倍道:"juǎn jiǎ bèi dào",聚米为山:"jù mǐ wéi shān",举手相庆:"jǔ shǒu xiāng qìng",举世混浊:"jǔ shì hún zhuó",鞠为茂草:"jū wéi mào cǎo",拘神遣将:"jū shén qiǎn jiàng",居下讪上:"jū xià shàn shàng",久要不忘:"jiǔ yāo bú wàng",九转功成:"jiǔ zhuǎn gōng chéng",九蒸三熯:"jiǔ zhēng sān hàn",敬业乐群:"jìng yè lè qún",井底虾蟆:"jǐng dǐ xiā má",旌旗卷舒:"jīng qí juǎn shū",荆棘载途:"jīng jí zài tú",禁舍开塞:"jìn shě kāi sāi",祲威盛容:"jìn wēi shèng róng",进退消长:"jìn tuì xiāo cháng",进退应矩:"jìn tuì yīng jǔ",进退触籓:"jìn tuì chù fān",进退跋疐:"jìn tuì bá zhì",尽多尽少:"jǐn duō jǐn shǎo",锦囊还矢:"jǐn náng huán shǐ",矜己自饰:"jīn jǐ zì shì",矜功负气:"jīn gōng fù qì",津关险塞:"jīn guān xiǎn sài",金吾不禁:"jīn wú bú jìn",金翅擘海:"jīn chì bāi hǎi",解衣衣人:"jiě yī yī rén",解人难得:"jiě rén nán dé",解铃系铃:"jiě líng xì líng",解发佯狂:"jiě fà yáng kuáng",诘屈磝碻:"jié qū áo qiāo",教猱升木:"jiāo náo shēng mù",较瘦量肥:"jiào shòu liàng féi",角立杰出:"jiǎo lì jié chū",焦沙烂石:"jiāo shā làn shí",骄儿騃女:"jiāo ér sì nǚ",浇风薄俗:"jiāo fēng bó sú",降妖捉怪:"xiáng yāo zhuō guài",将取固予:"jiāng qǔ gù yǔ",将门有将:"jiàng mén yǒu jiàng",将夺固与:"jiāng duó gù yǔ",槛花笼鹤:"jiàn huā lóng hè",鉴影度形:"jiàn yǐng duó xíng",渐不可长:"jiàn bù kě zhǎng",见素抱朴:"xiàn sù bào pǔ",见弃于人:"jiàn qì yú rén",简丝数米:"jiǎn sī shǔ mǐ",俭不中礼:"jiǎn bú zhòng lǐ",间见层出:"jiàn xiàn céng chū",尖嘴薄舌:"jiān zuǐ bó shé",甲冠天下:"jiǎ guàn tiān xià",葭莩之亲:"jiā fú zhī qīn",家累千金:"jiā lèi qiān jīn",家给人足:"jiā jǐ rén zú",家道从容:"jiā dào cóng róng",夹袋人物:"jiā dài rén wù",霁风朗月:"jì fēng lǎng yuè",寄兴寓情:"jì xìng yù qíng",计深虑远:"jì shēn lǜ yuǎn",计功量罪:"jì gōng liàng zuì",掎裳连襼:"jǐ shang lián yì",虮虱相吊:"jǐ shī xiāng diào",疾不可为:"jí bù kě wéi",极深研几:"jí shēn yán jī",及宾有鱼:"jí bīn yǒu yú",激薄停浇:"jī bó tíng jiāo",积素累旧:"jī sù lěi jiù",积时累日:"jī shí lěi rì",积露为波:"jī lù wéi bō",积德累功:"jī dé lěi gōng",积谗糜骨:"jī chán méi gǔ",击排冒没:"jī pái mào mò",祸为福先:"huò wéi fú xiān",祸福相依:"huò fú xiāng yī",获隽公车:"huò jùn gōng chē",混应滥应:"hùn yīng làn yīng",毁舟为杕:"huǐ zhōu wéi duò",毁钟为铎:"huǐ zhōng wéi duó",毁冠裂裳:"huǐ guān liè cháng",晦盲否塞:"huì máng pǐ sè",回船转舵:"huí chuán zhuàn duò",潢池盗弄:"huáng chí dào nòng",黄冠草履:"huáng guàn cǎo lǚ",黄发儿齿:"huáng fà ér chǐ",黄发垂髫:"huáng fà chuí tiáo",还珠返璧:"huán zhū fǎn bì",还年驻色:"huán nián zhù sè",还年却老:"huán nián què lǎo",坏裳为裤:"huài shang wéi kù",画荻和丸:"huà dí huò wán",化枭为鸠:"huà xiāo wéi jiū",化腐为奇:"huà fǔ wéi qí",化鸱为凤:"huà chī wéi fèng",花不棱登:"huā bu lēng dēng",户限为穿:"hù xiàn wéi chuān",呼卢喝雉:"hū lú hè zhì",呼来喝去:"hū lái hè qù",呼不给吸:"hū bù jǐ xī",厚味腊毒:"hòu wèi xī dú",厚德载物:"hòu dé zài wù",鸿渐于干:"hóng jiàn yú gàn",洪炉燎发:"hóng lú liáo fà",红绳系足:"hóng shéng jì zú",红不棱登:"hóng bu lēng dēng",横抢硬夺:"hèng qiǎng yìng duó",横恩滥赏:"hèng ēn làn shǎng",恨海难填:"hèn hǎi nán tián",鹤发鸡皮:"hè fà jī pí",涸思干虑:"hé sī gān lǜ",河涸海干:"hé hé hǎi gān",和颜说色:"hé yán yuè sè",合从连衡:"hé zòng lián héng",浩浩汤汤:"hào hào shāng shāng",好勇斗狠:"hào yǒng dòu hěn",好问则裕:"hào wèn zé yù",好为事端:"hào wéi shì duān",好问决疑:"hào wèn jué yí",好生之德:"hào shēng zhī dé",好奇尚异:"hǎo qí shàng yì",好恶不同:"hǎo è bù tóng",好丹非素:"hào dān fēi sù",豪干暴取:"háo gàn bào qǔ",毫发不爽:"háo fà bù shuǎng",寒酸落魄:"hán suān luò pò",含英咀华:"hán yīng jǔ huá",含糊不明:"hán hú bù míng",过为已甚:"guò wéi yǐ shèn",桂折兰摧:"guì shé lán cuī",规旋矩折:"guī xuán jǔ shé",广文先生:"guǎng wén xiān sheng",广陵散绝:"guǎng líng sǎn jué",冠山戴粒:"guàn shān dài lì",冠屦倒施:"guàn jù dǎo shī",挂席为门:"guà xí wéi mén",寡见鲜闻:"guǎ jiàn xiǎn wén",瓜葛相连:"guā gé xiāng lián",鼓吻奋爪:"gǔ wěn fèn zhǎo",古调单弹:"gǔ diào dān tán",古调不弹:"gǔ diào bù tán",姑射神人:"gū yè shén rén",苟合取容:"gǒu hé qǔ róng",狗续侯冠:"gǒu xù hòu guàn",钩爪锯牙:"gōu zhǎo jù yá",共枝别干:"gòng zhī bié gàn",共为唇齿:"gòng wéi chún chǐ",拱手而降:"gǒng shǒu ér xiáng",拱肩缩背:"gǒng jiān suō bèi",功薄蝉翼:"gōng bó chán yì",弓调马服:"gōng diào mǎ fú",更姓改物:"gēng xìng gǎi wù",更仆难数:"gēng pú nán shǔ",更令明号:"gēng lìng míng hào",更待干罢:"gèng dài gàn bà",更唱迭和:"gēng chàng dié hé",更长梦短:"gēng cháng mèng duǎn",各色名样:"gè sè míng yàng",格格不纳:"gé gé bú nà",格格不吐:"gé gé bù tǔ",告朔饩羊:"gù shuò xì yáng",膏车秣马:"gào chē mò mǎ",高义薄云:"gāo yì bó yún",岗头泽底:"gāng tóu zé dǐ",敢为敢做:"gǎn wéi gǎn zuò",甘分随时:"gān fèn suí shí",甘处下流:"gān chǔ xià liú",干啼湿哭:"gàn tí shī kū",干名犯义:"gàn míng fàn yì",干将莫邪:"gān jiāng mò yé",干城之将:"gān chéng zhī jiàng",腹载五车:"fù zài wǔ chē",父债子还:"fù zhài zǐ huán",父为子隐:"fù wéi zǐ yǐn",辅世长民:"fǔ shì zhǎng mín",福为祸始:"fú wéi huò shǐ",符号逻辑:"fú hào luó jí",浮收勒折:"fú shōu lè shé",肤受之愬:"fū shòu zhī sù",否终则泰:"pǐ zhōng zé tài",佛头著粪:"fó tóu zhuó fèn",奉为楷模:"fèng wéi kǎi mó",凤靡鸾吪:"fèng mǐ luán é",封豨修蛇:"fēng xī xiū shé",风影敷衍:"fēng yǐng fū yǎn",丰屋蔀家:"fēng wū bù jiā",粪土不如:"fèn tǔ bù rú",分风劈流:"fēn fēng pǐ liú",沸沸汤汤:"fèi fèi shāng shāng",菲食薄衣:"fěi shí bó yī",飞将数奇:"fēi jiàng shù qí",放辟邪侈:"fàng pì xié chǐ",方领圆冠:"fāng lǐng yuán guàn",犯而不校:"fàn ér bú jiào",返本还源:"fǎn běn huán yuán",反劳为逸:"fǎn láo wéi yì",法轮常转:"fǎ lún cháng zhuàn",罚不当罪:"fá bù dāng zuì",发引千钧:"fà yǐn qiān jūn",发奸擿伏:"fā jiān tī fú",发短心长:"fà duǎn xīn cháng",二竖为虐:"èr shù wéi nüè",儿女心肠:"ér nǚ xīn cháng",儿女亲家:"ér nǚ qìng jiā",遏恶扬善:"è wù yáng shàn",饿殍枕藉:"è piǎo zhěn jí",饿殍载道:"è piǎo zài dào",恶醉强酒:"wù zuì qiǎng jiǔ",恶意中伤:"è yì zhòng shāng",恶湿居下:"wù shī jū xià",恶居下流:"wù jū xià liú",恶不去善:"wù bú qù shàn",扼吭夺食:"è háng duó shí",扼襟控咽:"è jīn kòng yān",峨峨汤汤:"é é shāng shāng",屙金溺银:"ē jīn niào yín",朵颐大嚼:"duǒ yí dà jiáo",夺人所好:"duó rén suǒ hào",多言数穷:"duō yán shuò qióng",多文为富:"duō wén wéi fù",多端寡要:"duō duān guǎ yào",多财善贾:"duō cái shàn gǔ",遁世无闷:"dùn shì wú mèn",遁迹黄冠:"dùn jì huáng guàn",堆案盈几:"duī àn yíng jī",断还归宗:"duàn huán guī zōng",短见薄识:"duǎn jiàn bó shí",蠹居棊处:"dù jū qí chǔ",度己以绳:"duó jǐ yǐ shéng",杜默为诗:"dù mò wéi shī",杜鹃啼血:"dù juān tí xuè",笃近举远:"dǔ jìn jǔ yuǎn",独有千秋:"dú yǒu qiān qiū",读书得间:"dú shū dé jiàn",斗转参横:"dǒu zhuǎn shēn héng",兜肚连肠:"dōu dǔ lián cháng",洞见症结:"dòng jiàn zhèng jié",恫疑虚喝:"dòng yí xū hè",动中窾要:"dòng zhōng kuǎn yào",东鸣西应:"dōng míng xī yīng",东鳞西爪:"dōng lín xī zhǎo",东量西折:"dōng liàng xī shé",东家西舍:"dōng jiā xī shè",东扯西拽:"dōng chě xī zhuāi",鼎铛有耳:"dǐng chēng yǒu ěr",鼎铛玉石:"dǐng chēng yù shí",钉头磷磷:"dīng tóu lín lín",跌宕不羁:"diē dàng bù jī",跌弹斑鸠:"diē dàn bān jiū",雕心雁爪:"diāo xīn yàn zhǎo",颠倒衣裳:"diān dǎo yī cháng",德薄能鲜:"dé bó néng xiǎn",得马折足:"dé mǎ shé zú",蹈其覆辙:"dǎo qí fù zhé",捣虚撇抗:"dǎo xū piē kàng",倒载干戈:"dào zài gān gē",倒裳索领:"dào cháng suǒ lǐng",倒果为因:"dào guǒ wéi yīn",叨在知己:"tāo zài zhī jǐ",叨陪末座:"tāo péi mò zuò",党豺为虐:"dǎng chái wéi nüè",当轴处中:"dāng zhóu chǔ zhōng",当着不着:"dāng zhuó bù zhuó",当务始终:"dāng wù shǐ zhōng",淡汝浓抹:"dàn rǔ nóng mǒ",弹丸脱手:"tán wán tuō shǒu",弹铗无鱼:"dàn jiá wú yú",箪食瓢饮:"dān sì piáo yǐn",大璞不完:"dà pú bù wán",大明法度:"dà míng fǎ dù",大车以载:"dà chē yǐ zài",打闷葫芦:"dǎ mèn hú lu",沓来踵至:"tà lái zhǒng zhì",厝火燎原:"cuò huǒ liǎo yuán",撮科打哄:"cuō kē dǎ hòng",寸积铢累:"cùn jī zhū lěi",啛啛喳喳:"cuì cuì chā chā",摧折豪强:"cuī zhé háo qiáng",摧刚为柔:"cuī gāng wéi róu",从俗就简:"cóng sú jiù jiǎn",此发彼应:"cǐ fā bǐ yīng",此唱彼和:"cǐ chàng bǐ hè",慈悲为本:"cí bēi wéi běn",纯属骗局:"chún shǔ piàn jú",春笋怒发:"chūn sǔn nù fā",垂头搨翼:"chuí tóu tà yì",传为笑谈:"chuán wéi xiào tán",传风扇火:"chuán fēng shān huǒ",穿红着绿:"chuān hóng zhuó lǜ",触处机来:"chù chǔ jī lái",处尊居显:"chǔ zūn jū xiǎn",处堂燕雀:"chǔ táng yàn què",处实效功:"chǔ shí xiào gōng",处高临深:"chǔ gāo lín shēn",出入无间:"chū rù wú jiān",出门应辙:"chū mén yīng zhé",出处语默:"chū chǔ yǔ mò",出处殊途:"chū chǔ shū tú",出处进退:"chū chǔ jìn tuì",愁山闷海:"chóu shān mèn hǎi",冲冠眦裂:"chōng guàn zì liè",齿牙为祸:"chǐ yá wéi huò",尺二冤家:"chǐ èr yuān jia",尺短寸长:"chǐ duǎn cùn cháng",尺寸之功:"chǐ cùn zhī gōng",城北徐公:"chéng běi xú gōng",成败兴废:"chéng bài xīng fèi",趁水和泥:"chèn shuǐ huò ní",称雨道晴:"chēng yǔ dào qíng",称体载衣:"chēng tǐ zài yī",称体裁衣:"chèn tǐ cái yī",称家有无:"chèn jiā yǒu wú",称德度功:"chēng dé duó gōng",沉吟章句:"chén yín zhāng jù",沉吟不决:"chén yín bù jué",沉疴宿疾:"chén kē sù jí",扯纤拉烟:"chě qiàn lā yān",扯顺风旗:"chě shùn fēng qí",车载船装:"chē zǎi chuán zhuāng",朝升暮合:"zhāo shēng mù gě",朝攀暮折:"zhāo pān mù shé",超今冠古:"chāo jīn guàn gǔ",倡而不和:"chàng ér bú hè",畅所欲为:"chàng suǒ yù wéi",苌弘碧血:"cháng hóng bì xiě",长幼尊卑:"zhǎng yòu zūn bēi",长绳系日:"cháng shéng jì rì",长年三老:"zhǎng nián sān lǎo",长春不老:"cháng chūn bù lǎo",长傲饰非:"zhǎng ào shì fēi",昌亭旅食:"chāng tíng lǚ shí",禅絮沾泥:"chán xù zhān ní",差三错四:"chā sān cuò sì",层台累榭:"céng tái lěi xiè",层见迭出:"céng xiàn dié chū",藏踪蹑迹:"cáng zōng niè jì",苍蝇见血:"cāng yíng jiàn xiě",餐松啖柏:"cān sōng dàn bó",骖风驷霞:"cān fēng sì xiá",参伍错综:"cēn wǔ cuò zōng",参辰卯酉:"shēn chén mǎo yǒu",材优干济:"cái yōu gān jǐ",材薄质衰:"cái bó zhì shuāi",才大难用:"cái dà nán yòng",才薄智浅:"cái bó zhì qiǎn",不足为意:"bù zú wéi yì",不足为据:"bù zú wéi jù",不足为法:"bù zú wéi fǎ",不足齿数:"bù zú chǐ shǔ",不着疼热:"bù zhuó téng rè",不知薡蕫:"bù zhī dǐng dǒng",不越雷池:"bú yuè léi chí",不相为谋:"bù xiāng wéi móu",不贪为宝:"bù tān wéi bǎo",不了而了:"bù liǎo ér liǎo",不可揆度:"bù kě kuí duó",不遑启处:"bù huáng qǐ chǔ",不当不正:"bù dāng bú zhèng",不差什么:"bú chà shén me",不差累黍:"bù chā lěi shǔ",擘两分星:"bò liǎng fēn xīng",簸土扬沙:"bǒ tǔ yáng shā",薄物细故:"bó wù xì gù",薄寒中人:"bó hán zhòng rén",博文约礼:"bó wén yuē lǐ",播糠眯目:"bō kāng mí mù",剥皮抽筋:"bō pí chōu jīn",剥肤椎髓:"bō fū chuí suǐ",波属云委:"bō zhǔ yún wěi",波骇云属:"bō hài yún zhǔ",兵微将寡:"bīng wēi jiàng guǎ",兵强将勇:"bīng qiáng jiàng yǒng",兵多将广:"bīng duō jiàng guǎng",兵不由将:"bīng bù yóu jiàng",冰解的破:"bīng jiě dì pò",彬彬济济:"bīn bīn jǐ jǐ",摽梅之年:"biào méi zhī nián",表里为奸:"biǎo lǐ wéi jiān",飙发电举:"biāo fā diàn jǔ",变贪厉薄:"biàn tān lì bó",敝盖不弃:"bì gài bú qì",秕言谬说:"bǐ yán miù shuō",比物属事:"bǐ wù zhǔ shì",被山带河:"pī shān dài hé",被甲枕戈:"pī jiǎ zhěn gē",被甲据鞍:"pī jiǎ jù ān",被褐怀玉:"pī hè huái yù",被发缨冠:"pī fà yīng guàn",背曲腰躬:"bèi qǔ yāo gōng",北窗高卧:"běi chuāng gāo wò",北辰星拱:"běi chén xīng gǒng",北鄙之音:"běi bǐ zhī yīn",卑宫菲食:"bēi gōng fěi shí",暴衣露冠:"pù yī lù guàn",暴腮龙门:"pù sāi lóng mén",暴露文学:"bào lù wén xué",暴虎冯河:"bào hǔ píng hé",抱蔓摘瓜:"bào wàn zhāi guā",抱法处势:"bào fǎ chǔ shì",褒贬与夺:"bāo biǎn yǔ duó",帮闲钻懒:"bāng xián zuān lǎn",拜将封侯:"bài jiàng fēng hóu",百兽率舞:"bǎi shòu shuài wǔ",百孔千创:"bǎi kǒng qiān chuāng",白衣卿相:"bái yī qīng xiàng",白首为郎:"bái shǒu wéi láng",白首相知:"bái shǒu xiāng zhī",把玩无厌:"bǎ wán wú yàn",拔锅卷席:"bá guō juǎn xí",拔本塞源:"bá běn sè yuán",傲不可长:"ào bù kě zhǎng",熬更守夜:"áo gēng shǒu yè",安时处顺:"ān shí chǔ shùn",安身为乐:"ān shēn wéi lè",安老怀少:"ān lǎo huái shào",安步当车:"ān bù dàng chē",爱人好士:"ài rén hào shì",矮人观场:"ǎi rén guān chǎng",捱风缉缝:"ái fēng jī fèng",挨山塞海:"āi shān sè hǎi",阿家阿翁:"ā jiā ā wēng",阿党相为:"ē dǎng xiāng wéi",追亡逐北:"zhuī wáng zhú běi",竹篮打水:"zhú lán dá shuǐ",知疼着热:"zhī téng zháo rè",语不惊人:"yǔ bù jīng rén",于今为烈:"yú jīn wéi liè",一日三省:"yí rì sān xǐng",穴居野处:"xué jū yě chǔ",五脊六兽:"wǔ jǐ liù shòu",无声无臭:"wú shēng wú xiù",谓予不信:"wèi yú bú xìn",舍身为国:"shě shēn wéi guó",杀妻求将:"shā qī qiú jiàng",强作解人:"qiǎng zuò jiě rén",气冲斗牛:"qì chōng dǒu niú",临深履薄:"lín shēn lǚ bó",钧天广乐:"jūn tiān guǎng yuè",艰难竭蹶:"jiān nán jié jué",夹七夹八:"jiā qī jiā bā",混混噩噩:"hún hún è è",厚古薄今:"hòu gǔ bó jīn",鬼怕恶人:"guǐ pà è rén",伽马射线:"gā mǎ shè xiàn",佛头着粪:"fó tóu zhuó fèn",奉为至宝:"fèng wéi zhì bǎo",登坛拜将:"dēng tán bài jiàng",晨昏定省:"chén hūn dìng xǐng",察察为明:"chá chá wéi míng",博闻强识:"bó wén qiáng zhì",避难就易:"bì nán jiù yì",了无生机:"liǎo wú shēng jī",有一说一:"yǒu yī shuō yī",独一无二:"dú yī wú èr",说一不二:"shuō yī bù èr",举一反三:"jǔ yī fǎn sān",数一数二:"shǔ yī shǔ èr",杀一儆百:"shā yī jǐng bǎi",丁一卯二:"dīng yī mǎo èr",丁一确二:"dīng yī què èr",不一而止:"bù yī ér zhǐ",无一幸免:"wú yī xìng miǎn",表里不一:"biǎo lǐ bù yī",良莠不一:"liáng yǒu bù yī",心口不一:"xīn kǒu bù yī",言行不一:"yán xíng bù yī",政令不一:"zhèng lìng bù yī",参差不一:"cēn cī bù yī",纷纷不一:"fēn fēn bù yī",毁誉不一:"huǐ yù bù yī",不一而三:"bù yī ér sān",百不一遇:"bǎi bù yī yù",言行抱一:"yán xíng bào yī",瑜百瑕一:"yú bǎi xiá yī",背城借一:"bèi chéng jiè yī",凭城借一:"píng chéng jiè yī",劝百讽一:"quàn bǎi fěng yī",群居和一:"qún jū hé yī",百不获一:"bǎi bù huò yī",百不失一:"bǎi bù shī yī",百无失一:"bǎi wú shī yī",万不失一:"wàn bù shī yī",万无失一:"wàn wú shī yī",合而为一:"hé ér wéi yī",合两为一:"hé liǎng wéi yī",合二为一:"hé èr wéi yī",天下为一:"tiān xià wéi yī",相与为一:"xiāng yǔ wéi yī",较若画一:"jiào ruò huà yī",较如画一:"jiào rú huà yī",斠若画一:"jiào ruò huà yī",言行若一:"yán xíng ruò yī",始终若一:"shǐ zhōng ruò yī",终始若一:"zhōng shǐ ruò yī",惟精惟一:"wéi jīng wéi yī",众多非一:"zhòng duō fēi yī",不能赞一:"bù néng zàn yī",问一答十:"wèn yī dá shí",一不扭众:"yī bù niǔ zhòng",一以贯之:"yī yǐ guàn zhī",一以当百:"yī yǐ dāng bǎi",百不当一:"bǎi bù dāng yī",十不当一:"shí bù dāng yī",以一警百:"yǐ yī jǐng bǎi",以一奉百:"yǐ yī fèng bǎi",以一持万:"yǐ yī chí wàn",以一知万:"yǐ yī zhī wàn",百里挑一:"bǎi lǐ tiāo yī",整齐划一:"zhěng qí huà yī",一来二去:"yī lái èr qù",一路公交:"yī lù gōng jiāo",一路汽车:"yī lù qì chē",一路巴士:"yī lù bā shì",朝朝朝落:"zhāo cháo zhāo luò",曲意逢迎:"qū yì féng yíng",一行不行:"yì háng bù xíng",行行不行:"háng háng bù xíng"},at=Object.keys(de).map(n=>({zh:n,pinyin:de[n],probability:2e-8,length:4,priority:qn.Normal,dict:Symbol("dict4")})),ye={巴尔干半岛:"bā ěr gàn bàn dǎo",巴尔喀什湖:"bā ěr kā shí hú",不幸而言中:"bú xìng ér yán zhòng",布尔什维克:"bù ěr shí wéi kè",何乐而不为:"hé lè ér bù wéi",苛政猛于虎:"kē zhèng měng yú hǔ",蒙得维的亚:"méng dé wéi dì yà",民以食为天:"mín yǐ shí wéi tiān",事后诸葛亮:"shì hòu zhū gě liàng",物以稀为贵:"wù yǐ xī wéi guì",先下手为强:"xiān xià shǒu wéi qiáng",行行出状元:"háng háng chū zhuàng yuan",亚得里亚海:"yà dé lǐ yà hǎi",眼不见为净:"yǎn bú jiàn wéi jìng",竹筒倒豆子:"zhú tǒng dào dòu zi"},dt=Object.keys(ye).map(n=>({zh:n,pinyin:ye[n],probability:2e-8,length:5,priority:qn.Normal,dict:Symbol("dict5")}));function fe(n,i){return n&&(n.decimali.probability)?n:i}function ze(n){n.probability<1e-300&&(n.probability*=1e300,n.decimal+=1)}function yt(n){return n.priority===qn.Custom?-(n.length*n.length*100):n.priority===qn.Surname?-(n.length*n.length*10):0}function ft(n,i){const e=[];let g=n.length-1,u=n[g];for(let h=i-1;h>=0;h--){const t=h+1>=i?{probability:1,decimal:0,patterns:[]}:e[h+1];for(;u&&u.index+u.length-1===h;){const s=u.index,a={probability:u.probability*t.probability,decimal:t.decimal+yt(u),patterns:t.patterns,concatPattern:u};ze(a),e[s]=fe(e[s],a),u=n[--g]}const o={probability:1e-13*t.probability,decimal:0,patterns:t.patterns};ze(o),e[h]=fe(e[h],o),e[h].concatPattern&&(e[h].patterns=e[h].patterns.concat(e[h].concatPattern),e[h].concatPattern=void 0,delete e[h+1])}return e[0].patterns.reverse()}function me(n,i){return n&&n.count<=i.count?n:i}function zt(n){return n.priority===qn.Custom?-(n.length*n.length*1e5):n.priority===qn.Surname?-(n.length*n.length*100):1}function mt(n,i){const e=[];let g=n.length-1,u=n[g];for(let h=i-1;h>=0;h--){const t=h+1>=i?{count:0,patterns:[]}:e[h+1];for(;u&&u.index+u.length-1===h;){const s=u.index,a={count:zt(u)+t.count,patterns:t.patterns,concatPattern:u};e[s]=me(e[s],a),u=n[--g]}const o={count:1+t.count,patterns:t.patterns};e[h]=me(e[h],o),e[h].concatPattern&&(e[h].patterns=e[h].patterns.concat(e[h].concatPattern),e[h].concatPattern=void 0,delete e[h+1])}return e[0].patterns.reverse()}function pt(n,i){return!(i.index+i.length<=n.index||i.priority>n.priority||i.priority===n.priority&&i.length>n.length)}function bt(n){const i=[];for(let e=n.length-1;e>=0;){const{index:g}=n[e];let u=e-1;for(;u>=0&&pt(n[e],n[u]);)u--;(u<0||n[u].index+n[u].length<=g)&&i.push(n[e]),e=u}return i.reverse()}var pe;(function(n){n[n.ReverseMaxMatch=1]="ReverseMaxMatch",n[n.MaxProbability=2]="MaxProbability",n[n.MinTokenization=3]="MinTokenization"})(pe||(pe={}));class be{constructor(i,e="",g=""){this.children=new Map,this.fail=null,this.patterns=[],this.parent=i,this.prefix=e,this.key=g}}class jt{constructor(){this.dictMap=new Map,this.queues=[],this.root=new be(null)}build(i){this.buildTrie(i),this.buildFailPointer()}buildTrie(i){for(let e of i){const g=hi(e.zh);let u=this.root;for(let h=0;h{i=i.concat(g)}),this.queues=[];i.length>e;){let g=i[e++],u=g.parent&&g.parent.fail,h=g.key;for(;u&&!u.children.has(h);)u=u.fail;u?g.fail=u.children.get(h):g.fail=this.root}}addPatternToDictMap(i){this.dictMap.has(i.dict)||this.dictMap.set(i.dict,new Set),this.dictMap.get(i.dict).add(i)}addNodeToQueues(i){this.queues[In(i.prefix)]||(this.queues[In(i.prefix)]=[]),this.queues[In(i.prefix)].push(i)}insertPattern(i,e){for(let g=i.length-1;g>=0;g--){const u=i[g];if(e.priority===u.priority&&e.probability>=u.probability)i[g+1]=u;else if(e.priority>u.priority)i[g+1]=u;else{i[g+1]=e;return}}i[0]=e}removeDict(i){this.dictMap.has(i)&&(this.dictMap.get(i).forEach(g=>{g.node.patterns=g.node.patterns.filter(u=>u!==g)}),this.dictMap.delete(i))}match(i,e){let g=this.root,u=[];const h=hi(i);for(let t=0;te==="off"?c.priority!==qn.Surname:e==="head"?c.length-1-t===0:!0);s&&u.push(Object.assign(Object.assign({},s),{index:t-s.length+1}));let a=g.fail;for(;a!==null;){const c=a.patterns.find(r=>e==="off"?r.priority!==qn.Surname:e==="head"?r.length-1-t===0:!0);c&&u.push(Object.assign(Object.assign({},c),{index:t-c.length+1})),a=a.fail}}}return u}search(i,e,g=2){const u=this.match(i,e);return g===1?bt(u):g===3?mt(u,In(i)):ft(u,In(i))}}const xt=[...dt,...at,...rt,...ct,...ht,...lt],Re=new jt;Re.build(xt);const wt=new Ve,vt=()=>wt,oi=n=>{const i=Yn.get(n);return i?i.split(" ")[0]:n},qt=(n,i,e,g)=>{const u=Re.search(n,e,g);let h=0;const t=hi(n);for(let o=0;on.replace(/(ā|á|ǎ|à)/g,"a").replace(/(ō|ó|ǒ|ò)/g,"o").replace(/(ē|é|ě|è)/g,"e").replace(/(ī|í|ǐ|ì)/g,"i").replace(/(ū|ú|ǔ|ù)/g,"u").replace(/(ǖ|ǘ|ǚ|ǜ)/g,"ü").replace(/(n̄|ń|ň|ǹ)/g,"n").replace(/(m̄|ḿ|m̌|m̀)/g,"m").replace(/(ê̄|ế|ê̌|ề)/g,"ê"),Ee=(n,i="off")=>{const e=vt();let g=Yn.get(n)?Yn.get(n).split(" "):[];if(e.get(n))g=e.get(n).split(" ");else if(i!=="off"){const u=Di[n];u&&(g=[u].concat(g.filter(h=>h!==u)))}return g},kt=(n,i="off")=>{let e=Ee(n,i);return e.length>0?e.map(g=>({origin:n,result:g,isZh:!0,originPinyin:g})):[{origin:n,result:n,isZh:!1,originPinyin:n}]},ji=n=>{const i=n.split(" "),e=[],g=[];for(let u of i)for(let h of Gh)if(u.startsWith(h)){let t=u.slice(h.length);Qh.indexOf(h)!==-1&&Jh.indexOf(t)!==-1&&(t=nt[t]),e.push(h),g.push(t);break}return{final:g.join(" "),initial:e.join(" ")}},zi=n=>{const{final:i}=ji(n);let e="",g="",u="";return it.indexOf(vi(i))!==-1?(e=i[0],g=i[1],u=i.slice(2)):(g=i[0]||"",u=i.slice(1)||""),{head:e,body:g,tail:u}},qi=n=>{const i=/(ā|ō|ē|ī|ū|ǖ|n̄|m̄|ê̄)/,e=/(á|ó|é|í|ú|ǘ|ń|ḿ|ế)/,g=/(ǎ|ǒ|ě|ǐ|ǔ|ǚ|ň|m̌|ê̌)/,u=/(à|ò|è|ì|ù|ǜ|ǹ|m̀|ề)/,h=/(a|o|e|i|u|ü|ê)/,t=/(n|m)$/,o=[];return n.split(" ").forEach(a=>{i.test(a)?o.push("1"):e.test(a)?o.push("2"):g.test(a)?o.push("3"):u.test(a)?o.push("4"):h.test(a)||t.test(a)?o.push("0"):o.push("")}),o.join(" ")},_t=(n,i)=>{const e=vi(n).split(" "),g=qi(i).split(" "),u=[];return e.forEach((h,t)=>{u.push(`${h}${g[t]}`)}),u.join(" ")},He=(n,i)=>{const e=[];return n.split(" ").forEach(u=>{e.push(i?u[0]:u)}),e.join(" ")},Ct=n=>typeof n!="string"?(console.error("The first param of pinyin is error: "+n+' is not assignable to type "string".'),!1):!0;function Si(n,i){return i instanceof RegExp?i.test(n):!0}const It=(n,i)=>{let e=i.nonZh;if(e==="removed")return n.filter(g=>g.isZh||!Si(g.origin,i.nonZhScope));if(e==="consecutive"){for(let g=n.length-2;g>=0;g--){const u=n[g],h=n[g+1];!u.isZh&&!h.isZh&&Si(u.origin,i.nonZhScope)&&Si(h.origin,i.nonZhScope)&&(u.origin+=h.origin,u.result+=h.result,h.delete=!0)}return n.filter(g=>!g.delete)}else return n},je=(n,i)=>In(n)===1&&i.multiple?kt(n,i.surname):!1,St=(n,i)=>{switch(i.pattern){case"pinyin":break;case"num":n.forEach(e=>{e.result=e.isZh?qi(e.result):""});break;case"initial":n.forEach(e=>{e.result=e.isZh?ji(e.result).initial:""});break;case"final":n.forEach(e=>{e.result=e.isZh?ji(e.result).final:""});break;case"first":n.forEach(e=>{e.result=He(e.result,e.isZh)});break;case"finalHead":n.forEach(e=>{e.result=e.isZh?zi(e.result).head:""});break;case"finalBody":n.forEach(e=>{e.result=e.isZh?zi(e.result).body:""});break;case"finalTail":n.forEach(e=>{e.result=e.isZh?zi(e.result).tail:""});break}},Tt=(n,i)=>{switch(i.toneType){case"symbol":break;case"none":n.forEach(e=>{e.isZh&&(e.result=vi(e.result))});break;case"num":{n.forEach(e=>{e.isZh&&(e.result=_t(e.result,e.originPinyin))});break}}},Mt=(n,i)=>{i.v&&n.forEach(e=>{e.isZh&&(e.result=e.result.replace(/ü/g,"v"))})},$t=(n,i,e)=>{if(i.multiple&&In(e)===1){let g="";n=n.filter(u=>{const h=u.result!==g;return g=u.result,h})}return i.type==="array"?n.map(g=>g.result):i.type==="all"?n.map(g=>{const u=g.isZh?g.result:"",{initial:h,final:t}=ji(u),{head:o,body:s,tail:a}=zi(u);let c=[];return u!==""&&(c=[u].concat(Ee(g.origin,i.surname).filter(r=>r!==u))),{origin:g.origin,pinyin:u,initial:h,final:t,first:He(g.result,g.isZh),finalHead:o,finalBody:s,finalTail:a,num:Number(qi(g.originPinyin)),isZh:g.isZh,polyphonic:c,inZhRange:!!Yn.get(g.origin),result:g.result}}):n.map(g=>g.result).join(i.separator)},Lt=(n,i)=>(i===!1&&n.forEach(e=>{e.origin==="一"?e.result=e.originPinyin="yī":e.origin==="不"&&(e.result=e.originPinyin="bù")}),n),At={pattern:"pinyin",toneType:"symbol",type:"string",multiple:!1,mode:"normal",removeNonZh:!1,nonZh:"spaced",v:!1,separator:" ",toneSandhi:!0,segmentit:2};function Pt(n,i){if(i=Object.assign(Object.assign({},At),i||{}),!Ct(n))return n;if(n==="")return i.type==="array"||i.type==="all"?[]:"";i.surname===void 0&&(i.mode==="surname"?i.surname="all":i.surname="off"),i.type==="all"&&(i.pattern="pinyin"),i.pattern==="num"&&(i.toneType="none"),i.removeNonZh&&(i.nonZh="removed");let g=Array(In(n)),{list:u}=qt(n,g,i.surname,i.segmentit);return u=Lt(u,i.toneSandhi),u=It(u,i),je(n,i)&&(u=je(n,i)),St(u,i),Tt(u,i),Mt(u,i),$t(u,i,n)}const Vt={precision:"first",continuous:!1,space:"ignore",lastPrecision:"start",insensitive:!0,v:!1},Dt=6,Rt=(n,i,e)=>{const g=Object.assign(Object.assign({},Vt),{});g.insensitive!==!1&&(n=n.toLowerCase(),i=i.toLowerCase()),g.space==="ignore"&&(i=i.replace(/\s/g,""));const u=Et(n,i,g);return Ht(n,u)},Et=(n,i,e)=>{const g=hi(n),u=Array(g.length+1);for(let h=0;hu[h][t].length)&&(u[h][t]=c),t===i.length)return u[h][t]}if(i.length-t<=Dt&&o.some(r=>e.lastPrecision==="any"?r.includes(i.slice(t-1,i.length)):e.lastPrecision==="start"?r.startsWith(i.slice(t-1,i.length)):e.lastPrecision==="first"?r[0]===i.slice(t-1,i.length):e.lastPrecision==="every"?r===i.slice(t-1,i.length):!1))return[...u[h-1][t-1],h-1];const s=e.precision;if(s==="start"&&o.forEach(c=>{let r=t;const y=[...u[h-1][t-1],h-1];for(;r<=i.length&&c.startsWith(i.slice(t-1,r));)(!u[h][r]||y.length>u[h][r].length)&&(u[h][r]=y),r++}),s==="first"&&o.some(c=>c[0]===i[t-1])){const c=[...u[h-1][t-1],h-1];(!u[h][t]||c.length>u[h][t].length)&&(u[h][t]=c)}const a=o.find(c=>c===i.slice(t-1,t-1+c.length));if(a){const c=[...u[h-1][t-1],h-1],r=t-1+a.length;(!u[h][r]||c.length>u[h][r].length)&&(u[h][r]=c)}}}else continue}return null};function Ht(n,i){if(!i)return null;const e=[];let g=0;const u=hi(n);let h=0;for(let t=0;tj=>({background:(j==null?void 0:j.path)===a.value?Ai().epThemeColor:"",color:j.path===a.value?"#fff":"",fontSize:j.path===a.value?"16px":"14px"})),a=P({get(){return o.value},set(j){h("update:value",j)}});function c(j){return ui(this,null,function*(){a.value=j.path})}function r(){h("enter")}function y(){u.value=window.innerHeight-window.innerHeight/10-140}ri(g,y);function m(j){var C;const b=(C=t==null?void 0:t.proxy)==null?void 0:C.$refs[`resultItemRef${j}`];if(!b)return 0;const k=b[0].offsetTop+128;return k>u.value?k-u.value:0}return Pn(()=>{y()}),i({handleScroll:m}),(j,b)=>(d(),v("div",{ref_key:"resultRef",ref:g,class:"result"},[(d(!0),v(sn,null,dn(j.options,(f,k)=>{var C,D;return d(),v("div",{key:f.path,ref_for:!0,ref:"resultItemRef"+k,class:"result-item dark:bg-[#1d1d1d]",style:on(s.value(f)),onClick:r,onMouseenter:U=>c(f)},[(d(),V(Sn(l(Cn)((C=f.meta)==null?void 0:C.icon)))),p("span",Bt,G((D=f.meta)==null?void 0:D.title),1),z(l(Oe))],44,Nt)}),128))],512))}}),Wt=gn(Ft,[["__scopeId","data-v-5fefeac0"]]),Ut={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20","aria-hidden":"true",class:"iconify iconify--mdi",viewBox:"0 0 24 24"};function Yt(n,i){return d(),v("svg",Ut,i[0]||(i[0]=[p("path",{fill:"currentColor",d:"M1 7h6v2H3v2h4v2H3v2h4v2H1zm10 0h4v2h-4v2h2a2 2 0 0 1 2 2v2c0 1.11-.89 2-2 2H9v-2h4v-2h-2a2 2 0 0 1-2-2V9c0-1.1.9-2 2-2m8 0h2a2 2 0 0 1 2 2v1h-2V9h-2v6h2v-1h2v1c0 1.11-.89 2-2 2h-2a2 2 0 0 1-2-2V9c0-1.1.9-2 2-2"},null,-1)]))}const Kt={render:Yt},Xt={width:24,height:24,body:''},Gt={width:24,height:24,body:''},Qt={class:"search-footer text-[#333] dark:text-white"},Jt={class:"search-footer-item"},ng={class:"search-footer-item"},ig={class:"search-footer-item"},eg={key:0,class:"search-footer-total"},hg=F({__name:"SearchFooter",props:{total:{default:0}},setup(n){const{device:i}=kn();return(e,g)=>{const u=_("IconifyIconOffline");return d(),v("div",Qt,[p("span",Jt,[z(l(Oe),{class:"icon"}),g[0]||(g[0]=jn(" 确认 "))]),p("span",ng,[z(u,{icon:l(Xt),class:"icon"},null,8,["icon"]),z(u,{icon:l(Gt),class:"icon"},null,8,["icon"]),g[1]||(g[1]=jn(" 切换 "))]),p("span",ig,[z(l(Kt),{class:"icon"}),g[2]||(g[2]=jn(" 关闭 "))]),l(i)!=="mobile"&&e.total>0?(d(),v("p",eg,G(`共 ${e.total} 项`),1)):B("",!0)])}}}),tg=gn(hg,[["__scopeId","data-v-a70151cd"]]),gg={width:1024,height:1024,body:''},ug={class:"history-item-title"},sg=F({__name:"SearchHistoryItem",props:{item:{}},emits:["collectItem","deleteItem"],setup(n,{emit:i}){const e=i;function g(h){e("collectItem",h)}function u(h){e("deleteItem",h)}return(h,t)=>{var s,a;const o=_("IconifyIconOffline");return d(),v(sn,null,[(d(),V(Sn(l(Cn)((s=h.item.meta)==null?void 0:s.icon)))),p("span",ug,G((a=h.item.meta)==null?void 0:a.title),1),tn(z(o,{icon:l(gg),class:"w-[18px] h-[18px] mr-2 hover:text-[#d7d5d4]",onClick:t[0]||(t[0]=_n(c=>g(h.item),["stop"]))},null,8,["icon"]),[[On,h.item.type==="history"]]),z(o,{icon:l(bi),class:"w-[18px] h-[18px] hover:text-[#d7d5d4] cursor-pointer",onClick:t[1]||(t[1]=_n(c=>u(h.item),["stop"]))},null,8,["icon"])],64)}}}),xe=gn(sg,[["__scopeId","data-v-090af28a"]]),og=["onMouseenter"],lg={class:"collect-container"},cg=["onMouseenter"],rg=F({__name:"SearchHistory",props:{value:{},options:{}},emits:["update:value","enter","collect","delete","drag"],setup(n,{expose:i,emit:e}){const g=T(),u=T(),h=T(!1),t=e,o=wi(),s=n,a=P(()=>q=>({background:(q==null?void 0:q.path)===r.value?Ai().epThemeColor:"",color:q.path===r.value?"#fff":"",fontSize:q.path===r.value?"16px":"14px"})),c=P(()=>({color:Ai().epThemeColor,fontWeight:500})),r=P({get(){return s.value},set(q){t("update:value",q)}});vn(()=>s.value,q=>{q&&h.value&&Te(100).then(()=>h.value=!1)});const y=P(()=>s.options.filter(q=>q.type==="history")),m=P(()=>s.options.filter(q=>q.type==="collect"));function j(q){t("collect",q)}function b(q){h.value=!0,t("delete",q)}function f(q){return ui(this,null,function*(){h.value||(r.value=q.path)})}function k(){t("enter")}function C(){u.value=window.innerHeight-window.innerHeight/10-140}ri(g,C);function D(q){var fn;const Z=(fn=o==null?void 0:o.proxy)==null?void 0:fn.$refs[`historyItemRef${q}`];if(!Z)return 0;const yn=(eh(Z)?Z[0]:Z).offsetTop+128;return yn>u.value?yn-u.value:0}const U=q=>{t("drag",{oldIndex:q.oldIndex,newIndex:q.newIndex})};let X=null;return vn(m,q=>{q.length>1&&Tn(()=>{const Z=document.querySelector(".collect-container");!Z||X||(X=ph.create(Z,{animation:160,onStart:J=>{J.item.style.cursor="move"},onEnd:J=>{J.item.style.cursor="pointer"},onUpdate:U}),C())})},{deep:!0,immediate:!0}),i({handleScroll:D}),(q,Z)=>(d(),v("div",{ref_key:"historyRef",ref:g,class:"history"},[y.value.length?(d(),v(sn,{key:0},[p("div",{style:on(c.value)},"搜索历史",4),(d(!0),v(sn,null,dn(y.value,(J,yn)=>(d(),v("div",{key:J.path,ref_for:!0,ref:"historyItemRef"+yn,class:"history-item dark:bg-[#1d1d1d]",style:on(a.value(J)),onClick:k,onMouseenter:fn=>f(J)},[z(xe,{item:J,onDeleteItem:b,onCollectItem:j},null,8,["item"])],44,og))),128))],64)):B("",!0),m.value.length?(d(),v(sn,{key:1},[p("div",{style:on(c.value)},G(`收藏${m.value.length>1?"(可拖拽排序)":""}`),5),p("div",lg,[(d(!0),v(sn,null,dn(m.value,(J,yn)=>(d(),v("div",{key:J.path,ref_for:!0,ref:"historyItemRef"+(yn+y.value.length),class:"history-item dark:bg-[#1d1d1d]",style:on(a.value(J)),onClick:k,onMouseenter:fn=>f(J)},[z(xe,{item:J,onDeleteItem:b},null,8,["item"])],44,cg))),128))])],64)):B("",!0)],512))}}),ag=gn(rg,[["__scopeId","data-v-a22eeabf"]]),dg={class:"search-content"},we="history",yg="collect",En="menu-search-history",Wn="menu-search-collect",fg=F({__name:"SearchModal",props:{value:{type:Boolean}},emits:["update:value"],setup(n,{emit:i}){const{device:e}=kn(),g=i,u=n,h=Zi(),t=T(""),o=T(),s=T(),a=T(),c=T(""),r=T(""),y=$i([]),m=$i([]),j=hh(yn,300),b=Xn().MenuSearchHistory,f=T(null),k=P(()=>th(bn().wholeMenus)),C=P({get(){return u.value},set(S){g("update:value",S)}});vn(()=>u.value,S=>{S&&Dn()});const D=P(()=>t.value&&y.value.length>0),U=P(()=>!t.value&&m.value.length>0),X=P(()=>!t.value&&m.value.length===0||t.value&&y.value.length===0);function q(S){return An().getItem(S)||[]}function Z(S,L){An().setItem(S,L)}function J(S){const L=[];function E(Q){Q.forEach(en=>{L.push(en),en.children&&E(en.children)})}return E(S),L}function yn(){var L;const S=J(k.value);y.value=S.filter(E=>{var Q,en;return t.value?((Q=E.meta)==null?void 0:Q.title.toLocaleLowerCase().includes(t.value.toLocaleLowerCase().trim()))||!Qn(Rt((en=E.meta)==null?void 0:en.title.toLocaleLowerCase(),t.value.toLocaleLowerCase().trim())):!1}),c.value=((L=y.value)==null?void 0:L.length)>0?y.value[0].path:""}function fn(){C.value=!1,setTimeout(()=>{y.value=[],r.value="",t.value=""},200)}function xn(S){const E=(y.value.length?o.value:s.value).handleScroll(S);a.value.setScrollTop(E)}function R(){const S=y.value.length>0,L=S?y.value:m.value,E=S?c.value:r.value;return{options:L,currentPath:E,isResultOptions:S}}function un(S,L){L?c.value=y.value[S].path:r.value=m.value[S].path,xn(S)}function ln(){const{options:S,currentPath:L,isResultOptions:E}=R();if(S.length===0)return;const en=(S.findIndex(M=>M.path===L)-1+S.length)%S.length;un(en,E)}function Vn(){const{options:S,currentPath:L,isResultOptions:E}=R();if(S.length===0)return;const en=(S.findIndex(M=>M.path===L)+1)%S.length;un(en,E)}function cn(){const{options:S,currentPath:L,isResultOptions:E}=R();if(S.length===0||L==="")return;const Q=S.findIndex(en=>en.path===L);Q!==-1&&(E?Mn():$n(),h.push(S[Q].path),fn())}function Kn(S){const L=S.type===we?En:Wn;let E=q(L);E=E.filter(Q=>Q.path!==S.path),Z(L,E),Dn()}function ti(S){let L=q(En),E=q(Wn);L=L.filter(Q=>Q.path!==S.path),Z(En,L),E.some(Q=>Q.path===S.path)||(E.unshift(_i(ni({},S),{type:yg})),Z(Wn,E)),Dn()}function Mn(){const{path:S,meta:L}=y.value.find(x=>x.path===c.value),E=q(En),en=q(Wn).some(x=>x.path===S),M=E.findIndex(x=>x.path===S);en||(M!==-1&&E.splice(M,1),E.length>=b&&E.pop(),E.unshift({path:S,meta:L,type:we}),An().setItem(En,E))}function $n(){let S=q(En);const L=S.findIndex(E=>E.path===r.value);if(L!==-1){const[E]=S.splice(L,1);S.unshift(E),Z(En,S)}}function Dn(){var E;const S=q(En),L=q(Wn);m.value=[...S,...L],r.value=(E=m.value[0])==null?void 0:E.path}function Nn(S){const L=q(Wn),[E]=L.splice(S.oldIndex,1);L.splice(S.newIndex,0,E),An().setItem(Wn,L),m.value=[...q(En),...q(Wn)],r.value=E.path}return Ii("Enter",cn),Ii("ArrowUp",ln),Ii("ArrowDown",Vn),(S,L)=>{const E=_("IconifyIconOffline"),Q=_("el-input"),en=_("el-empty"),M=_("el-scrollbar"),x=_("el-dialog");return d(),V(x,{modelValue:C.value,"onUpdate:modelValue":L[3]||(L[3]=hn=>C.value=hn),top:"5vh",class:"pure-search-dialog","show-close":!1,width:l(e)==="mobile"?"80vw":"40vw","before-close":fn,style:{borderRadius:"6px"},"append-to-body":"",onOpened:L[4]||(L[4]=hn=>f.value.focus()),onClosed:L[5]||(L[5]=hn=>f.value.blur())},{footer:I(()=>[z(tg,{total:y.value.length},null,8,["total"])]),default:I(()=>[z(Q,{ref_key:"inputRef",ref:f,modelValue:t.value,"onUpdate:modelValue":L[0]||(L[0]=hn=>t.value=hn),size:"large",clearable:"",placeholder:"搜索菜单(支持拼音搜索)",onInput:l(j)},{prefix:I(()=>[z(E,{icon:l(Ae),class:"text-primary w-[24px] h-[24px]"},null,8,["icon"])]),_:1},8,["modelValue","onInput"]),p("div",dg,[z(M,{ref_key:"scrollbarRef",ref:a,"max-height":"calc(90vh - 140px)"},{default:I(()=>[X.value?(d(),V(en,{key:0,description:"暂无搜索结果"})):B("",!0),U.value?(d(),V(ag,{key:1,ref_key:"historyRef",ref:s,value:r.value,"onUpdate:value":L[1]||(L[1]=hn=>r.value=hn),options:m.value,onClick:cn,onDelete:Kn,onCollect:ti,onDrag:Nn},null,8,["value","options"])):B("",!0),D.value?(d(),V(Wt,{key:2,ref_key:"resultRef",ref:o,value:c.value,"onUpdate:value":L[2]||(L[2]=hn=>c.value=hn),options:y.value,onClick:cn},null,8,["value","options"])):B("",!0)]),_:1},512)])]),_:1},8,["modelValue","width"])}}}),zg=gn(fg,[["__scopeId","data-v-668a3991"]]),Ki=F({__name:"index",setup(n){const{bool:i,toggle:e}=Uh();function g(){e()}return(u,h)=>{const t=_("IconifyIconOffline");return d(),v("div",null,[p("div",{class:"search-container w-[40px] h-[48px] flex-c cursor-pointer navbar-bg-hover",onClick:g},[z(t,{icon:"ri:search-line"})]),z(zg,{value:l(i),"onUpdate:value":h[0]||(h[0]=o=>gh(i)?i.value=o:null)},null,8,["value"])])}}}),ve=[{key:"1",name:"通知",list:[],emptyText:"暂无通知"},{key:"2",name:"消息",list:[{avatar:"https://xiaoxian521.github.io/hyperlink/svg/smile1.svg",title:"小铭 评论了你",description:"诚在于心,信在于行,诚信在于心行合一。",datetime:"今天",type:"2"},{avatar:"https://xiaoxian521.github.io/hyperlink/svg/smile2.svg",title:"李白 回复了你",description:"长风破浪会有时,直挂云帆济沧海。",datetime:"昨天",type:"2"},{avatar:"https://xiaoxian521.github.io/hyperlink/svg/smile5.svg",title:"标题",description:"请将鼠标移动到此处,以便测试超长的消息在此处将如何处理。本例中设置的描述最大行数为2,超过2行的描述内容将被省略并且可以通过tooltip查看完整内容",datetime:"时间",type:"2"}],emptyText:"暂无消息"},{key:"3",name:"待办",list:[{avatar:"",title:"第三方紧急代码变更",description:"小林提交于 2024-05-10,需在 2024-05-11 前完成代码变更任务",datetime:"",extra:"马上到期",status:"danger",type:"3"},{avatar:"",title:"版本发布",description:"指派小铭于 2024-06-18 前完成更新并发布",datetime:"",extra:"已耗时 8 天",status:"warning",type:"3"},{avatar:"",title:"新功能开发",description:"开发多租户管理",datetime:"",extra:"进行中",type:"3"},{avatar:"",title:"任务名称",description:"任务需要在 2030-10-30 10:00 前启动",datetime:"",extra:"未开始",status:"info",type:"3"}],emptyText:"暂无待办"}],mg={class:"notice-container border-b-[1px] border-solid border-[#f0f0f0] dark:border-[#303030]"},pg={class:"notice-container-text"},bg={class:"notice-text-title text-[#000000d9] dark:text-white"},jg={class:"notice-text-datetime text-[#00000073] dark:text-white"},xg=F({__name:"NoticeItem",props:{noticeItem:{type:Object,default:()=>{}}},setup(n){const i=T(null),e=T(!1),g=T(null),u=T(!1),{tooltipEffect:h}=kn(),t=Me();function o(){Tn(()=>{var a,c;((a=i.value)==null?void 0:a.scrollWidth)>((c=i.value)==null?void 0:c.clientWidth)?e.value=!0:e.value=!1})}function s(a,c){const r=document.createElement("span");r.innerText=c,r.className="getDescriptionWidth",document.querySelector("body").appendChild(r);const y=document.querySelector(".getDescriptionWidth").offsetWidth;document.querySelector(".getDescriptionWidth").remove();const m=a.target.offsetWidth;y>2*m?u.value=!0:u.value=!1}return(a,c)=>{var j,b;const r=_("el-avatar"),y=_("el-tooltip"),m=_("el-tag");return d(),v("div",mg,[n.noticeItem.avatar?(d(),V(r,{key:0,size:30,src:n.noticeItem.avatar,class:"notice-container-avatar"},null,8,["src"])):B("",!0),p("div",pg,[p("div",bg,[z(y,{"popper-class":"notice-title-popper",effect:l(h),disabled:!e.value,content:n.noticeItem.title,placement:"top-start",enterable:!l(t)},{default:I(()=>[p("div",{ref_key:"titleRef",ref:i,class:"notice-title-content",onMouseover:o},G(n.noticeItem.title),545)]),_:1},8,["effect","disabled","content","enterable"]),(j=n.noticeItem)!=null&&j.extra?(d(),V(m,{key:0,type:(b=n.noticeItem)==null?void 0:b.status,size:"small",class:"notice-title-extra"},{default:I(()=>{var f;return[jn(G((f=n.noticeItem)==null?void 0:f.extra),1)]}),_:1},8,["type"])):B("",!0)]),z(y,{"popper-class":"notice-title-popper",effect:l(h),disabled:!u.value,content:n.noticeItem.description,placement:"top-start"},{default:I(()=>[p("div",{ref_key:"descriptionRef",ref:g,class:"notice-text-description",onMouseover:c[0]||(c[0]=f=>s(f,n.noticeItem.description))},G(n.noticeItem.description),545)]),_:1},8,["effect","disabled","content"]),p("div",jg,G(n.noticeItem.datetime),1)])])}}}),wg=gn(xg,[["__scopeId","data-v-cd76a765"]]),vg={key:0},qg=F({__name:"NoticeList",props:{list:{type:Array,default:()=>[]},emptyText:{type:String,default:""}},setup(n){return(i,e)=>{const g=_("el-empty");return n.list.length?(d(),v("div",vg,[(d(!0),v(sn,null,dn(n.list,(u,h)=>(d(),V(wg,{key:h,noticeItem:u},null,8,["noticeItem"]))),128))])):(d(),V(g,{key:1,description:n.emptyText},null,8,["description"]))}}}),kg={width:1024,height:1024,body:''},_g={class:"header-notice-icon"},Cg={key:1},Ig={class:"noticeList-container"},Sg=F({__name:"index",setup(n){var h;const i=T(0),e=T(ve),g=T((h=ve[0])==null?void 0:h.key);e.value.map(t=>i.value+=t.list.length);const u=P(()=>t=>t.name+(t.list.length>0?`(${t.list.length})`:""));return(t,o)=>{const s=_("IconifyIconOffline"),a=_("el-badge"),c=_("el-empty"),r=_("el-scrollbar"),y=_("el-tab-pane"),m=_("el-tabs"),j=_("el-dropdown-menu"),b=_("el-dropdown");return d(),V(b,{trigger:"click",placement:"bottom-end"},{dropdown:I(()=>[z(j,null,{default:I(()=>[z(m,{modelValue:g.value,"onUpdate:modelValue":o[0]||(o[0]=f=>g.value=f),stretch:!0,class:"dropdown-tabs",style:on({width:e.value.length===0?"200px":"330px"})},{default:I(()=>[e.value.length===0?(d(),V(c,{key:0,description:"暂无消息","image-size":60})):(d(),v("span",Cg,[(d(!0),v(sn,null,dn(e.value,f=>(d(),V(y,{key:f.key,label:u.value(f),name:`${f.key}`},{default:I(()=>[z(r,{"max-height":"330px"},{default:I(()=>[p("div",Ig,[z(qg,{list:f.list,emptyText:f.emptyText},null,8,["list","emptyText"])])]),_:2},1024)]),_:2},1032,["label","name"]))),128))]))]),_:1},8,["modelValue","style"])]),_:1})]),default:I(()=>[p("span",{class:K(["dropdown-badge","navbar-bg-hover","select-none",Number(i.value)!==0&&"mr-[10px]"])},[z(a,{value:Number(i.value)===0?"":i.value,max:99},{default:I(()=>[p("span",_g,[z(s,{icon:l(kg)},null,8,["icon"])])]),_:1},8,["value"])],2)]),_:1})}}}),Xi=gn(Sg,[["__scopeId","data-v-dd7cf61f"]]),Tg={key:0,class:"flex justify-center items-center"},Ei=F({__name:"SidebarExtraIcon",props:{extraIcon:{type:String,default:""}},setup(n){return(i,e)=>n.extraIcon?(d(),v("div",Tg,[(d(),V(Sn(l(Cn)(mn(n.extraIcon))),{class:"w-[30px] h-[30px]"}))])):B("",!0)}}),Gi=F({__name:"SidebarFullScreen",setup(n){const i=T(),{toggle:e,isFullscreen:g,Fullscreen:u,ExitFullscreen:h}=kn();return g.value=!!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement),vn(g,t=>{i.value=t?h:u},{immediate:!0}),(t,o)=>{const s=_("IconifyIconOffline");return d(),v("span",{class:"fullscreen-icon navbar-bg-hover",onClick:o[0]||(o[0]=(...a)=>l(e)&&l(e)(...a))},[z(s,{icon:i.value},null,8,["icon"])])}}}),Qi={width:24,height:24,body:''},Ji={width:24,height:24,body:''},Mg={key:0,class:"horizontal-header"},$g={class:"select-none"},Lg={class:"horizontal-header-right"},Ag={class:"el-dropdown-link navbar-bg-hover select-none"},Pg=["src"],Vg={key:0,class:"dark:text-white"},Dg=F({__name:"NavMix",setup(n){const i=T(),e=T(null),{route:g,device:u,logout:h,onPanel:t,resolvePath:o,username:s,userAvatar:a,getDivStyle:c,avatarsStyle:r}=kn();function y(m){var f,k,C;const j=bn().wholeMenus,b=Fi(m,j)[0];e.value=Qn((f=g.meta)==null?void 0:f.activePath)?(C=(k=pi(b,j))==null?void 0:k.children[0])==null?void 0:C.path:g.meta.activePath}return Pn(()=>{y(g.path)}),Tn(()=>{var m;(m=i.value)==null||m.handleResize()}),vn(()=>[g.path,bn().wholeMenus],()=>{y(g.path)}),(m,j)=>{const b=_("el-menu-item"),f=_("el-menu"),k=_("IconifyIconOffline"),C=_("el-dropdown-item"),D=_("el-dropdown-menu"),U=_("el-dropdown"),X=Zn("loading");return l(u)!=="mobile"?tn((d(),v("div",Mg,[z(f,{ref_key:"menuRef",ref:i,router:"",mode:"horizontal","popper-class":"pure-scrollbar",class:"horizontal-header-menu","default-active":e.value},{default:I(()=>[(d(!0),v(sn,null,dn(l(bn)().wholeMenus,q=>(d(),V(b,{key:q.path,index:l(o)(q)||q.redirect},{title:I(()=>[mn(q.meta.icon)?(d(),v("div",{key:0,class:K(["sub-menu-icon",q.meta.icon])},[(d(),V(Sn(l(Cn)(q.meta&&mn(q.meta.icon)))))],2)):B("",!0),p("div",{style:on(l(c))},[p("span",$g,G(q.meta.title),1),z(Ei,{extraIcon:q.meta.extraIcon},null,8,["extraIcon"])],4)]),_:2},1032,["index"]))),128))]),_:1},8,["default-active"]),p("div",Lg,[z(Ki,{id:"header-search"}),z(Gi,{id:"full-screen"}),z(Xi,{id:"header-notice"}),z(U,{trigger:"click"},{dropdown:I(()=>[z(D,{class:"logout"},{default:I(()=>[z(C,{onClick:l(h)},{default:I(()=>[z(k,{icon:l(Qi),style:{margin:"5px"}},null,8,["icon"]),j[1]||(j[1]=jn(" 退出系统 "))]),_:1},8,["onClick"])]),_:1})]),default:I(()=>[p("span",Ag,[p("img",{src:l(a),style:on(l(r))},null,12,Pg),l(s)?(d(),v("p",Vg,G(l(s)),1)):B("",!0)])]),_:1}),p("span",{class:"set-icon navbar-bg-hover",title:"打开系统配置",onClick:j[0]||(j[0]=(...q)=>l(t)&&l(t)(...q))},[z(k,{icon:l(Ji)},null,8,["icon"])])])])),[[X,l(bn)().wholeMenus.length===0]]):B("",!0)}}}),Rg=gn(Dg,[["__scopeId","data-v-1055af37"]]),Eg=["onClick"],Hg=F({__name:"SidebarBreadCrumb",setup(n){const i=Oi(),e=T([]),g=Zi(),u=g.options.routes,h=Ln().multiTags,t=()=>{let s;Object.keys(i.query).length>0?h.forEach(r=>{Gn(i.query,r==null?void 0:r.query)&&(s=mn(r))}):Object.keys(i.params).length>0?h.forEach(r=>{Gn(i.params,r==null?void 0:r.params)&&(s=mn(r))}):s=pi(g.currentRoute.value.path,u);const a=Fi(g.currentRoute.value.name,u,"name"),c=[];a.forEach(r=>{r!=="/"&&c.push(pi(r,u))}),c.push(s),c.forEach((r,y)=>{s!=null&&s.query||s!=null&&s.params||r!=null&&r.children&&r.children.forEach(m=>{var j,b;((j=m==null?void 0:m.meta)==null?void 0:j.title)===((b=r==null?void 0:r.meta)==null?void 0:b.title)&&c.splice(y,1)})}),e.value=c.filter(r=>(r==null?void 0:r.meta)&&(r==null?void 0:r.meta.title)!==!1)},o=s=>{const{redirect:a,name:c,path:r}=s;a?g.push(a):c?s.query?g.push({name:c,query:s.query}):s.params?g.push({name:c,params:s.params}):g.push({name:c}):g.push({path:r})};return Pn(()=>{t()}),vn(()=>i.path,()=>{t()},{deep:!0}),(s,a)=>{const c=_("el-breadcrumb-item"),r=_("el-breadcrumb");return d(),V(r,{class:"!leading-[50px] select-none",separator:"/"},{default:I(()=>[z(uh,{name:"breadcrumb"},{default:I(()=>[(d(!0),v(sn,null,dn(e.value,y=>(d(),V(c,{key:y.path,class:"!inline !items-stretch"},{default:I(()=>[p("a",{onClick:_n(m=>o(y),["prevent"])},G(y.meta.title),9,Eg)]),_:2},1024))),128))]),_:1})]),_:1})}}}),Ze={width:24,height:24,body:''},Og={width:24,height:24,body:''},Zg=["title"],Ng=F({__name:"SidebarTopCollapse",props:{isActive:{type:Boolean,default:!1}},emits:["toggleClick"],setup(n,{emit:i}){const e=i,g=()=>{e("toggleClick")};return(u,h)=>{const t=_("IconifyIconOffline");return d(),v("div",{class:"px-3 mr-1 navbar-bg-hover",title:u.isActive?"点击折叠":"点击展开",onClick:g},[z(t,{icon:u.isActive?l(Ze):l(Og),class:"inline-block align-middle hover:text-primary dark:hover:!text-white"},null,8,["icon"])],8,Zg)}}}),Bg={class:"navbar bg-[#fff] shadow-sm shadow-[rgba(0,21,41,0.08)]"},Fg={key:3,class:"vertical-header-right"},Wg={class:"el-dropdown-link navbar-bg-hover select-none"},Ug=["src"],Yg={key:0,class:"dark:text-white"},Kg=F({__name:"index",setup(n){const{layout:i,device:e,logout:g,onPanel:u,pureApp:h,username:t,userAvatar:o,avatarsStyle:s,toggleSideBar:a}=kn();return(c,r)=>{const y=_("IconifyIconOffline"),m=_("el-dropdown-item"),j=_("el-dropdown-menu"),b=_("el-dropdown");return d(),v("div",Bg,[l(e)==="mobile"?(d(),V(Ng,{key:0,class:"hamburger-container","is-active":l(h).sidebar.opened,onToggleClick:l(a)},null,8,["is-active","onToggleClick"])):B("",!0),l(i)!=="mix"&&l(e)!=="mobile"?(d(),V(Hg,{key:1,class:"breadcrumb-container"})):B("",!0),l(i)==="mix"?(d(),V(Rg,{key:2})):B("",!0),l(i)==="vertical"?(d(),v("div",Fg,[z(Ki,{id:"header-search"}),z(Gi,{id:"full-screen"}),z(Xi,{id:"header-notice"}),z(b,{trigger:"click"},{dropdown:I(()=>[z(j,{class:"logout"},{default:I(()=>[z(m,{onClick:l(g)},{default:I(()=>[z(y,{icon:l(Qi),style:{margin:"5px"}},null,8,["icon"]),r[1]||(r[1]=jn(" 退出系统 "))]),_:1},8,["onClick"])]),_:1})]),default:I(()=>[p("span",Wg,[p("img",{src:l(o),style:on(l(s))},null,12,Ug),l(t)?(d(),v("p",Yg,G(l(t)),1)):B("",!0)])]),_:1}),p("span",{class:"set-icon navbar-bg-hover",title:"打开系统配置",onClick:r[0]||(r[0]=(...f)=>l(u)&&l(u)(...f))},[z(y,{icon:l(Ji)},null,8,["icon"])])])):B("",!0)])}}}),Xg=gn(Kg,[["__scopeId","data-v-5fb1115a"]]),si=new Map,Gg=()=>{function n(g,u){si.set(g,u)}function i(g){return g?si.get(g):[...si.entries()]}function e(g){si.delete(g)}return{setMap:n,getMap:i,delMap:e,MAP:si}},Qg={class:"w-full h-full"},Jg=F({__name:"index",props:{currRoute:{},currComp:{}},setup(n){const i=n,e=$i([]),{setMap:g,getMap:u,MAP:h,delMap:t}=Gg(),o=P(()=>{var a,c;return Xn().KeepAlive&&((a=i.currRoute.meta)==null?void 0:a.keepAlive)&&!!((c=i.currRoute.meta)!=null&&c.frameSrc)}),s=P(()=>!o.value&&i.currComp);return vn(Ln().multiTags,a=>{if(!Array.isArray(a)||!o.value)return;if(a.filter(r=>{var y;return(y=r.meta)==null?void 0:y.frameSrc}).lengthy.path===r)||(t(r),e.value=u())}),vn(()=>i.currRoute.fullPath,a=>{const r=Ln().multiTags.filter(y=>{var m;return(m=y.meta)==null?void 0:m.frameSrc});o.value&&r.length!==h.size&&([...h.keys()].find(m=>a===m)||g(a,i.currComp)),h.size>0&&(e.value=u())},{immediate:!0}),(a,c)=>(d(),v(sn,null,[(d(!0),v(sn,null,dn(e.value,([r,y])=>{var m;return tn((d(),v("div",{key:r,class:"w-full h-full"},[li(a.$slots,"default",{fullPath:r,Comp:y,frameInfo:{frameSrc:(m=a.currRoute.meta)==null?void 0:m.frameSrc,fullPath:r}})],512)),[[On,r===a.currRoute.fullPath]])}),128)),tn(p("div",Qg,[li(a.$slots,"default",{Comp:s.value,fullPath:a.currRoute.fullPath})],512),[[On,!o.value]])],64))}}),nu={class:"layout-footer text-[rgba(0,0,0,0.6)] dark:text-[rgba(220,220,242,0.8)]"},iu={class:"hover:text-primary",href:"https://github.com/pure-admin",target:"_blank"},eu=F({__name:"index",setup(n){const i=Xn("Title");return(e,g)=>(d(),v("footer",nu,[g[0]||(g[0]=jn(" Copyright © 2020-present ")),p("a",iu,"  "+G(l(i)),1)]))}}),qe=gn(eu,[["__scopeId","data-v-6296148a"]]),hu={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"};function tu(n,i){return d(),v("svg",hu,i[0]||(i[0]=[p("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),p("path",{d:"M2.88 18.054a35.9 35.9 0 0 1 8.531-16.32.8.8 0 0 1 1.178 0q.25.27.413.455a35.9 35.9 0 0 1 8.118 15.865c-2.141.451-4.34.747-6.584.874l-2.089 4.178a.5.5 0 0 1-.894 0l-2.089-4.178a44 44 0 0 1-6.584-.874m6.698-1.123 1.157.066L12 19.527l1.265-2.53 1.157-.066a42 42 0 0 0 4.227-.454A33.9 33.9 0 0 0 12 4.09a33.9 33.9 0 0 0-6.649 12.387q2.093.334 4.227.454M12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6m0-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1)]))}const Ne={render:tu},gu={class:"grow"},uu={key:1,class:"grow"},su=F({__name:"index",props:{fixedHeader:Boolean},setup(n){const i=n,{showModel:e}=Pe(),{$storage:g,$config:u}=ai(),h=P(()=>u==null?void 0:u.KeepAlive),t=P(()=>j=>j.meta.transition),o=P(()=>g==null?void 0:g.configure.hideTabs),s=P(()=>g==null?void 0:g.configure.hideFooter),a=P(()=>g==null?void 0:g.configure.stretch),c=P(()=>(g==null?void 0:g.layout.layout)==="vertical"),r=P(()=>ci(a.value)?a.value+"px":a.value?"1440px":"100%"),y=P(()=>[o.value&&c?"padding-top: 48px;":"",!o.value&&c?e.value=="chrome"?"padding-top: 85px;":"padding-top: 81px;":"",o.value&&!c.value?"padding-top: 48px;":"",!o.value&&!c.value?e.value=="chrome"?"padding-top: 85px;":"padding-top: 81px;":"",i.fixedHeader?"":`padding-top: 0;${o.value?"min-height: calc(100vh - 48px);":"min-height: calc(100vh - 86px);"}`]),m=F({props:{route:{type:void 0,required:!0}},render(){var k,C,D;const j=((k=t.value(this.route))==null?void 0:k.name)||"fade-transform",b=(C=t.value(this.route))==null?void 0:C.enterTransition,f=(D=t.value(this.route))==null?void 0:D.leaveTransition;return Un(Bi,{name:b?"pure-classes-transition":j,enterActiveClass:b?`animate__animated ${b}`:void 0,leaveActiveClass:f?`animate__animated ${f}`:void 0,mode:"out-in",appear:!0},{default:()=>[this.$slots.default()]})}});return(j,b)=>{const f=_("el-backtop"),k=_("el-scrollbar"),C=_("router-view");return d(),v("section",{class:K([n.fixedHeader?"app-main":"app-main-nofixed-header"]),style:on(y.value)},[z(C,null,{default:I(({Component:D,route:U})=>[z(Jg,{currComp:D,currRoute:U},{default:I(({Comp:X,fullPath:q,frameInfo:Z})=>[n.fixedHeader?(d(),V(k,{key:0,"wrap-style":{display:"flex","flex-wrap":"wrap","max-width":r.value,margin:"0 auto",transition:"all 300ms cubic-bezier(0.4, 0, 0.2, 1)"},"view-style":{display:"flex",flex:"auto",overflow:"hidden","flex-direction":"column"}},{default:I(()=>[z(f,{title:"回到顶部",target:".app-main .el-scrollbar__wrap"},{default:I(()=>[z(l(Ne))]),_:1}),p("div",gu,[z(l(m),{route:U},{default:I(()=>[h.value?(d(),V(he,{key:0,include:l(bn)().cachePageList},[(d(),V(Sn(X),{key:q,frameInfo:Z,class:"main-content"},null,8,["frameInfo"]))],1032,["include"])):(d(),V(Sn(X),{key:q,frameInfo:Z,class:"main-content"},null,8,["frameInfo"]))]),_:2},1032,["route"])]),s.value?B("",!0):(d(),V(qe,{key:0}))]),_:2},1032,["wrap-style"])):(d(),v("div",uu,[z(l(m),{route:U},{default:I(()=>[h.value?(d(),V(he,{key:0,include:l(bn)().cachePageList},[(d(),V(Sn(X),{key:q,frameInfo:Z,class:"main-content"},null,8,["frameInfo"]))],1032,["include"])):(d(),V(Sn(X),{key:q,frameInfo:Z,class:"main-content"},null,8,["frameInfo"]))]),_:2},1032,["route"])]))]),_:2},1032,["currComp","currRoute"])]),_:1}),!s.value&&!n.fixedHeader?(d(),V(qe,{key:0})):B("",!0)],6)}}}),ke=gn(su,[["__scopeId","data-v-ac3eedc7"]]),ou={class:"project-configuration border-b-[1px] border-solid border-[var(--pure-border-color)]"},lu={class:"flex justify-end p-3 border-t-[1px] border-solid border-[var(--pure-border-color)]"},cu=F({__name:"index",setup(n){const i=T(null),e=T(!1),g=P(()=>["w-[22px]","h-[22px]","flex","justify-center","items-center","outline-none","rounded-[4px]","cursor-pointer","transition-colors","hover:bg-[#0000000f]","dark:hover:bg-[#ffffff1f]","dark:hover:text-[#ffffffd9]"]),{onReset:u}=Ui();return Se(i,h=>{h.clientX>i.value.offsetLeft||(e.value=!1)}),Pn(()=>{pn.on("openPanel",()=>{e.value=!0})}),Ni(()=>{pn.off("openPanel")}),(h,t)=>{const o=_("IconifyIconOffline"),s=_("el-scrollbar"),a=_("el-button"),c=Zn("tippy");return d(),v("div",{class:K({show:e.value})},[t[3]||(t[3]=p("div",{class:"right-panel-background"},null,-1)),p("div",{ref_key:"target",ref:i,class:"right-panel bg-bg_color"},[p("div",ou,[t[1]||(t[1]=p("h4",{class:"dark:text-white"},"系统配置",-1)),tn((d(),v("span",{class:K(g.value)},[z(o,{class:"dark:text-white",width:"18px",height:"18px",icon:l(bi),onClick:t[0]||(t[0]=r=>e.value=!e.value)},null,8,["icon"])],2)),[[c,{content:"关闭配置",placement:"bottom-start",zIndex:41e3}]])]),z(s,null,{default:I(()=>[li(h.$slots,"default",{},void 0,!0)]),_:3}),p("div",lu,[tn((d(),V(a,{type:"danger",text:"",bg:"",onClick:l(u)},{default:I(()=>t[2]||(t[2]=[jn(" 清空缓存 ")])),_:1},8,["onClick"])),[[c,{content:"清空缓存并返回登录页",placement:"left-start",zIndex:41e3}]])])],512)],2)}}}),ru=gn(cu,[["__scopeId","data-v-7aae9f4d"]]),au={options:{type:Array,default:()=>[]},modelValue:{type:void 0,require:!1,default:"0"},block:{type:Boolean,default:!1},size:{type:String},disabled:{type:Boolean,default:!1},resize:{type:Boolean,default:!1}},du=F({name:"ReSegmented",props:au,emits:["change","update:modelValue"],setup(n,{emit:i}){const e=T(0),g=T(0),{isDark:u}=Wi(),h=T(!1),t=T(-1),o=T(""),s=wi(),a=ci(n.modelValue)?sh(n,"modelValue"):T(0);function c({option:f,index:k},C){n.disabled||f.disabled||(C.preventDefault(),ci(n.modelValue)?i("update:modelValue",k):a.value=k,o.value="",i("change",{index:k,option:f}))}function r({option:f,index:k},C){n.disabled||(C.preventDefault(),t.value=k,f.disabled||a.value===k?o.value="":o.value=u.value?"#1f1f1f":"rgba(0, 0, 0, 0.06)")}function y(f,k){n.disabled||(k.preventDefault(),t.value=-1)}function m(f=a.value){Tn(()=>{var C;const k=(C=s==null?void 0:s.proxy)==null?void 0:C.$refs[`labelRef${f}`];k&&(e.value=k.clientWidth,g.value=k.offsetLeft,h.value=!0)})}function j(){ri(".pure-segmented",()=>{Tn(()=>{m(a.value)})})}(n.block||n.resize)&&j(),vn(()=>a.value,f=>{Tn(()=>{m(f)})},{immediate:!0}),vn(()=>n.size,j,{immediate:!0});const b=()=>n.options.map((f,k)=>z("label",{ref:`labelRef${k}`,class:["pure-segmented-item",(n.disabled||(f==null?void 0:f.disabled))&&"pure-segmented-item-disabled"],style:{background:t.value===k?o.value:"",color:n.disabled?null:!f.disabled&&(a.value===k||t.value===k)?u.value?"rgba(255, 255, 255, 0.85)":"rgba(0,0,0,.88)":""},onMouseenter:C=>r({option:f,index:k},C),onMouseleave:C=>y({option:f,index:k},C),onClick:C=>c({option:f,index:k},C)},[z("input",{type:"radio",name:"segmented"},null),tn(z("div",{class:"pure-segmented-item-label"},[f.icon&&!te(f.label)?z("span",{class:"pure-segmented-item-icon",style:{marginRight:f.label?"6px":0}},[Un(Cn(f.icon,ni({},f==null?void 0:f.iconAttrs)))]):null,f.label?te(f.label)?Un(f.label):z("span",null,[f.label]):null]),[[Zn("tippy"),{content:f==null?void 0:f.tip,zIndex:41e3}]])]));return()=>z("div",{class:{"pure-segmented":!0,"pure-segmented-block":n.block,"pure-segmented--large":n.size==="large","pure-segmented--small":n.size==="small"}},[z("div",{class:"pure-segmented-group"},[z("div",{class:"pure-segmented-item-selected",style:{width:`${e.value}px`,transform:`translateX(${g.value}px)`,display:h.value?"block":"none"}},null),b()])])}}),Ti=$e(du),yu={width:1024,height:1024,body:''},fu={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",class:"icon",viewBox:"0 0 1024 1024"};function zu(n,i){return d(),v("svg",fu,i[0]||(i[0]=[p("path",{d:"M554 849.574c0 23.365-18.635 42.307-42 42.307s-42-18.941-42-42.307V662.719c0-23.365 18.635-42.307 42-42.307v-7.051c23.365 0 42 25.993 42 49.358z"},null,-1),p("path",{d:"M893 888.5c0 17.397-14.103 31.5-31.5 31.5h-700c-17.397 0-31.5-14.103-31.5-31.5s14.103-31.5 31.5-31.5h700c17.397 0 31.5 14.103 31.5 31.5m33-714.074C926 135.484 894.686 105 855.744 105H168.256C129.314 105 98 135.484 98 174.426V533h828zM98 630.988C98 669.931 129.314 702 168.256 702h687.488C894.686 702 926 669.931 926 630.988V596H98z"},null,-1)]))}const mu={render:zu},pu={class:"p-5"},bu={class:"theme-color"},ju=["onClick"],xu={class:"pure-theme"},wu={key:0},vu={class:"setting"},qu=F({__name:"index",setup(n){var L,E,Q,en;const{device:i}=kn(),{isDark:e}=Wi(),{$storage:g}=ai(),u=T(),h=T(),t=T(),{dataTheme:o,overallStyle:s,layoutTheme:a,themeColors:c,toggleClass:r,dataThemeChange:y,setLayoutThemeColor:m}=Ui();if(l(a)){const M=l(a).layout,x=l(a).theme;document.documentElement.setAttribute("data-theme",x),Mn(M)}const j=T((E=(L=g.configure)==null?void 0:L.showModel)!=null?E:"smart"),b=T((en=(Q=g.configure)==null?void 0:Q.showLogo)!=null?en:!0),f=Hi({greyVal:g.configure.grey,weakVal:g.configure.weak,tabsVal:g.configure.hideTabs,showLogo:g.configure.showLogo,showModel:g.configure.showModel,hideFooter:g.configure.hideFooter,multiTagsCache:g.configure.multiTagsCache,stretch:g.configure.stretch}),k=P(()=>M=>({background:M})),C=P(()=>M=>!(M==="light"&&e.value));function D(M,x){const hn=g.configure;hn[M]=x,g.configure=hn}const U=M=>{const x=document.querySelector("html");r(f.greyVal,"html-grey",x),D("grey",M)},X=M=>{const x=document.querySelector("html");r(f.weakVal,"html-weakness",x),D("weak",M)},q=()=>{const M=f.tabsVal;D("hideTabs",M),pn.emit("tagViewsChange",M)},Z=()=>{const M=f.hideFooter;D("hideFooter",M)},J=()=>{const M=f.multiTagsCache;D("multiTagsCache",M),Ln().multiTagsCacheChange(M)};function yn({option:M}){const{value:x}=M;j.value=x,D("showModel",x),pn.emit("tagViewsShowModel",x)}function fn(){l(b)?D("showLogo",!0):D("showLogo",!1),pn.emit("logoChange",l(b))}function xn(M){M.forEach(x=>{r(!1,"is-select",l(x))})}const R=P(()=>[{label:"固定",tip:"紧凑页面,轻松找到所需信息",value:"fixed"},{label:"自定义",tip:"最小1280、最大1600",value:"custom"}]),un=M=>{f.stretch=M,D("stretch",M)},ln=({option:M})=>{const{value:x}=M;un(x==="custom"?1440:!1)},Vn=P(()=>M=>M===a.value.theme&&a.value.theme!=="light"?"#fff":M===a.value.theme&&a.value.theme==="light"?"#1d2b45":"transparent"),cn=P(()=>["mb-[12px]","font-medium","text-sm","dark:text-white"]),Kn=P(()=>[{label:"浅色",icon:fh,theme:"light",tip:"清新启航,点亮舒适的工作界面",iconAttrs:{fill:e.value?"#fff":"#000"}},{label:"深色",icon:zh,theme:"dark",tip:"月光序曲,沉醉于夜的静谧雅致",iconAttrs:{fill:e.value?"#fff":"#000"}},{label:"自动",icon:mu,theme:"system",tip:"同步时光,界面随晨昏自然呼应",iconAttrs:{fill:e.value?"#fff":"#000"}}]),ti=P(()=>[{label:"灵动",tip:"灵动标签,添趣生辉",value:"smart"},{label:"卡片",tip:"卡片标签,高效浏览",value:"card"},{label:"谷歌",tip:"谷歌风格,经典美观",value:"chrome"}]);function Mn(M){var x,hn,Jn,Bn,wn;a.value.layout=M,window.document.body.setAttribute("layout",M),g.layout={layout:M,theme:a.value.theme,darkMode:(x=g.layout)==null?void 0:x.darkMode,sidebarStatus:(hn=g.layout)==null?void 0:hn.sidebarStatus,epThemeColor:(Jn=g.layout)==null?void 0:Jn.epThemeColor,themeColor:(Bn=g.layout)==null?void 0:Bn.themeColor,overallStyle:(wn=g.layout)==null?void 0:wn.overallStyle},Hn().setLayout(M)}vn(g,({layout:M})=>{switch(M.layout){case"vertical":r(!0,"is-select",l(h)),ii(xn([t]),50),ii(xn([u]),50);break;case"horizontal":r(!0,"is-select",l(t)),ii(xn([h]),50),ii(xn([u]),50);break;case"mix":r(!0,"is-select",l(u)),ii(xn([h]),50),ii(xn([t]),50);break}});const $n=window.matchMedia("(prefers-color-scheme: dark)");function Dn(){s.value==="system"&&($n.matches?o.value=!0:o.value=!1,y(s.value))}function Nn(){$n.removeEventListener("change",Dn)}function S(){Dn(),Nn(),$n.addEventListener("change",Dn)}return Le(()=>{Tn(()=>{var M,x;S(),f.greyVal&&((M=document.querySelector("html"))==null||M.classList.add("html-grey")),f.weakVal&&((x=document.querySelector("html"))==null||x.classList.add("html-weakness")),f.tabsVal&&q(),f.hideFooter&&Z()})}),oh(()=>Nn),(M,x)=>{const hn=_("IconifyIconOffline"),Jn=_("el-icon"),Bn=_("el-input-number"),wn=_("el-switch"),Rn=Zn("tippy"),ki=Zn("ripple");return d(),V(ru,null,{default:I(()=>[p("div",pu,[p("p",{class:K(cn.value)},"整体风格",2),z(l(Ti),{resize:"",class:"select-none",modelValue:l(s)==="system"?2:l(o)?1:0,options:Kn.value,onChange:x[0]||(x[0]=W=>{W.index===1&&W.index!==2?o.value=!0:o.value=!1,s.value=W.option.theme,l(y)(W.option.theme),W.index===2&&S()})},null,8,["modelValue","options"]),p("p",{class:K(["mt-5",cn.value])},"主题色",2),p("ul",bu,[(d(!0),v(sn,null,dn(l(c),(W,di)=>tn((d(),v("li",{key:di,style:on(k.value(W.color)),onClick:w=>l(m)(W.themeColor)},[z(Jn,{style:{margin:"0.1em 0.1em 0 0"},size:17,color:Vn.value(W.themeColor)},{default:I(()=>[z(hn,{icon:l(yu)},null,8,["icon"])]),_:2},1032,["color"])],12,ju)),[[On,C.value(W.themeColor)]])),128))]),p("p",{class:K(["mt-5",cn.value])},"导航模式",2),p("ul",xu,[tn((d(),v("li",{ref_key:"verticalRef",ref:h,class:K(l(a).layout==="vertical"?"is-select":""),onClick:x[1]||(x[1]=W=>Mn("vertical"))},x[13]||(x[13]=[p("div",null,null,-1),p("div",null,null,-1)]),2)),[[Rn,{content:"左侧菜单,亲切熟悉",zIndex:41e3}]]),l(i)!=="mobile"?tn((d(),v("li",{key:0,ref_key:"horizontalRef",ref:t,class:K(l(a).layout==="horizontal"?"is-select":""),onClick:x[2]||(x[2]=W=>Mn("horizontal"))},x[14]||(x[14]=[p("div",null,null,-1),p("div",null,null,-1)]),2)),[[Rn,{content:"顶部菜单,简洁概览",zIndex:41e3}]]):B("",!0),l(i)!=="mobile"?tn((d(),v("li",{key:1,ref_key:"mixRef",ref:u,class:K(l(a).layout==="mix"?"is-select":""),onClick:x[3]||(x[3]=W=>Mn("mix"))},x[15]||(x[15]=[p("div",null,null,-1),p("div",null,null,-1)]),2)),[[Rn,{content:"混合菜单,灵活多变",zIndex:41e3}]]):B("",!0)]),l(Hn)().getViewportWidth>1280?(d(),v("span",wu,[p("p",{class:K(["mt-5",cn.value])},"页宽",2),z(l(Ti),{resize:"",class:"mb-2 select-none",modelValue:l(ci)(f.stretch)?1:0,options:R.value,onChange:ln},null,8,["modelValue","options"]),l(ci)(f.stretch)?(d(),V(Bn,{key:0,modelValue:f.stretch,"onUpdate:modelValue":x[4]||(x[4]=W=>f.stretch=W),min:1280,max:1600,"controls-position":"right",onChange:x[5]||(x[5]=W=>un(W))},null,8,["modelValue"])):tn((d(),v("button",{key:1,class:"bg-transparent flex-c w-full h-20 rounded-md border border-[var(--pure-border-color)]",onClick:x[6]||(x[6]=W=>un(!f.stretch))},[p("div",{class:K(["flex-bc transition-all duration-300",[f.stretch?"w-[24%]":"w-[50%]"]]),style:{color:"var(--el-color-primary)"}},[z(hn,{icon:f.stretch?l(Pi):l(Vi),height:"20"},null,8,["icon"]),x[16]||(x[16]=p("div",{class:"flex-grow border-b border-dashed",style:{"border-color":"var(--el-color-primary)"}},null,-1)),z(hn,{icon:f.stretch?l(Vi):l(Pi),height:"20"},null,8,["icon"])],2)])),[[ki,{class:"text-gray-300"}]])])):B("",!0),p("p",{class:K(["mt-4",cn.value])},"页签风格",2),z(l(Ti),{resize:"",class:"select-none",modelValue:j.value==="smart"?0:j.value==="card"?1:2,options:ti.value,onChange:yn},null,8,["modelValue","options"]),x[23]||(x[23]=p("p",{class:"mt-5 font-medium text-sm dark:text-white"},"界面显示",-1)),p("ul",vu,[p("li",null,[x[17]||(x[17]=p("span",{class:"dark:text-white"},"灰色模式",-1)),z(wn,{modelValue:f.greyVal,"onUpdate:modelValue":x[7]||(x[7]=W=>f.greyVal=W),"inline-prompt":"","active-text":"开","inactive-text":"关",onChange:U},null,8,["modelValue"])]),p("li",null,[x[18]||(x[18]=p("span",{class:"dark:text-white"},"色弱模式",-1)),z(wn,{modelValue:f.weakVal,"onUpdate:modelValue":x[8]||(x[8]=W=>f.weakVal=W),"inline-prompt":"","active-text":"开","inactive-text":"关",onChange:X},null,8,["modelValue"])]),p("li",null,[x[19]||(x[19]=p("span",{class:"dark:text-white"},"隐藏标签页",-1)),z(wn,{modelValue:f.tabsVal,"onUpdate:modelValue":x[9]||(x[9]=W=>f.tabsVal=W),"inline-prompt":"","active-text":"开","inactive-text":"关",onChange:q},null,8,["modelValue"])]),p("li",null,[x[20]||(x[20]=p("span",{class:"dark:text-white"},"隐藏页脚",-1)),z(wn,{modelValue:f.hideFooter,"onUpdate:modelValue":x[10]||(x[10]=W=>f.hideFooter=W),"inline-prompt":"","active-text":"开","inactive-text":"关",onChange:Z},null,8,["modelValue"])]),p("li",null,[x[21]||(x[21]=p("span",{class:"dark:text-white"},"Logo",-1)),z(wn,{modelValue:b.value,"onUpdate:modelValue":x[11]||(x[11]=W=>b.value=W),"inline-prompt":"","active-value":!0,"inactive-value":!1,"active-text":"开","inactive-text":"关",onChange:fn},null,8,["modelValue"])]),p("li",null,[x[22]||(x[22]=p("span",{class:"dark:text-white"},"页签持久化",-1)),z(wn,{modelValue:f.multiTagsCache,"onUpdate:modelValue":x[12]||(x[12]=W=>f.multiTagsCache=W),"inline-prompt":"","active-text":"开","inactive-text":"关",onChange:J},null,8,["modelValue"])])])])]),_:1})}}}),ku=gn(qu,[["__scopeId","data-v-cb0bf10c"]]),_u=["src"],Cu={class:"sidebar-title"},Iu=["src"],Su={class:"sidebar-title"},Tu=F({__name:"SidebarLogo",props:{collapse:Boolean},setup(n){const{title:i,getLogo:e}=kn();return(g,u)=>{const h=_("router-link");return d(),v("div",{class:K(["sidebar-logo-container",{collapses:n.collapse}])},[z(Bi,{name:"sidebarLogoFade"},{default:I(()=>{var t,o,s,a;return[n.collapse?(d(),V(h,{key:"collapse",title:l(i),class:"sidebar-logo-link",to:(o=(t=l(mi)())==null?void 0:t.path)!=null?o:"/"},{default:I(()=>[p("img",{src:l(e)(),alt:"logo"},null,8,_u),p("span",Cu,G(l(i)),1)]),_:1},8,["title","to"])):(d(),V(h,{key:"expand",title:l(i),class:"sidebar-logo-link",to:(a=(s=l(mi)())==null?void 0:s.path)!=null?a:"/"},{default:I(()=>[p("img",{src:l(e)(),alt:"logo"},null,8,Iu),p("span",Su,G(l(i)),1)]),_:1},8,["title","to"]))]}),_:1})],2)}}}),Mu=gn(Tu,[["__scopeId","data-v-ceee93c2"]]);var Mi,_e;function $u(){if(_e)return Mi;_e=1;function n(u){if(typeof u!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(u))}function i(u,h){for(var t="",o=0,s=-1,a=0,c,r=0;r<=u.length;++r){if(r2){var y=t.lastIndexOf("/");if(y!==t.length-1){y===-1?(t="",o=0):(t=t.slice(0,y),o=t.length-1-t.lastIndexOf("/")),s=r,a=0;continue}}else if(t.length===2||t.length===1){t="",o=0,s=r,a=0;continue}}h&&(t.length>0?t+="/..":t="..",o=2)}else t.length>0?t+="/"+u.slice(s+1,r):t=u.slice(s+1,r),o=r-s-1;s=r,a=0}else c===46&&a!==-1?++a:a=-1}return t}function e(u,h){var t=h.dir||h.root,o=h.base||(h.name||"")+(h.ext||"");return t?t===h.root?t+o:t+u+o:o}var g={resolve:function(){for(var h="",t=!1,o,s=arguments.length-1;s>=-1&&!t;s--){var a;s>=0?a=arguments[s]:(o===void 0&&(o=process.cwd()),a=o),n(a),a.length!==0&&(h=a+"/"+h,t=a.charCodeAt(0)===47)}return h=i(h,!t),t?h.length>0?"/"+h:"/":h.length>0?h:"."},normalize:function(h){if(n(h),h.length===0)return".";var t=h.charCodeAt(0)===47,o=h.charCodeAt(h.length-1)===47;return h=i(h,!t),h.length===0&&!t&&(h="."),h.length>0&&o&&(h+="/"),t?"/"+h:h},isAbsolute:function(h){return n(h),h.length>0&&h.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var h,t=0;t0&&(h===void 0?h=o:h+="/"+o)}return h===void 0?".":g.normalize(h)},relative:function(h,t){if(n(h),n(t),h===t||(h=g.resolve(h),t=g.resolve(t),h===t))return"";for(var o=1;om){if(t.charCodeAt(c+b)===47)return t.slice(c+b+1);if(b===0)return t.slice(c+b)}else a>m&&(h.charCodeAt(o+b)===47?j=b:b===0&&(j=0));break}var f=h.charCodeAt(o+b),k=t.charCodeAt(c+b);if(f!==k)break;f===47&&(j=b)}var C="";for(b=o+j+1;b<=s;++b)(b===s||h.charCodeAt(b)===47)&&(C.length===0?C+="..":C+="/..");return C.length>0?C+t.slice(c+j):(c+=j,t.charCodeAt(c)===47&&++c,t.slice(c))},_makeLong:function(h){return h},dirname:function(h){if(n(h),h.length===0)return".";for(var t=h.charCodeAt(0),o=t===47,s=-1,a=!0,c=h.length-1;c>=1;--c)if(t=h.charCodeAt(c),t===47){if(!a){s=c;break}}else a=!1;return s===-1?o?"/":".":o&&s===1?"//":h.slice(0,s)},basename:function(h,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');n(h);var o=0,s=-1,a=!0,c;if(t!==void 0&&t.length>0&&t.length<=h.length){if(t.length===h.length&&t===h)return"";var r=t.length-1,y=-1;for(c=h.length-1;c>=0;--c){var m=h.charCodeAt(c);if(m===47){if(!a){o=c+1;break}}else y===-1&&(a=!1,y=c+1),r>=0&&(m===t.charCodeAt(r)?--r===-1&&(s=c):(r=-1,s=y))}return o===s?s=y:s===-1&&(s=h.length),h.slice(o,s)}else{for(c=h.length-1;c>=0;--c)if(h.charCodeAt(c)===47){if(!a){o=c+1;break}}else s===-1&&(a=!1,s=c+1);return s===-1?"":h.slice(o,s)}},extname:function(h){n(h);for(var t=-1,o=0,s=-1,a=!0,c=0,r=h.length-1;r>=0;--r){var y=h.charCodeAt(r);if(y===47){if(!a){o=r+1;break}continue}s===-1&&(a=!1,s=r+1),y===46?t===-1?t=r:c!==1&&(c=1):t!==-1&&(c=-1)}return t===-1||s===-1||c===0||c===1&&t===s-1&&t===o+1?"":h.slice(t,s)},format:function(h){if(h===null||typeof h!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof h);return e("/",h)},parse:function(h){n(h);var t={root:"",dir:"",base:"",ext:"",name:""};if(h.length===0)return t;var o=h.charCodeAt(0),s=o===47,a;s?(t.root="/",a=1):a=0;for(var c=-1,r=0,y=-1,m=!0,j=h.length-1,b=0;j>=a;--j){if(o=h.charCodeAt(j),o===47){if(!m){r=j+1;break}continue}y===-1&&(m=!1,y=j+1),o===46?c===-1?c=j:b!==1&&(b=1):c!==-1&&(b=-1)}return c===-1||y===-1||b===0||b===1&&c===y-1&&c===r+1?y!==-1&&(r===0&&s?t.base=t.name=h.slice(1,y):t.base=t.name=h.slice(r,y)):(r===0&&s?(t.name=h.slice(1,c),t.base=h.slice(1,y)):(t.name=h.slice(r,c),t.base=h.slice(r,y)),t.ext=h.slice(c,y)),r>0?t.dir=h.slice(0,r-1):s&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};return g.posix=g,Mi=g,Mi}var Lu=$u();const Au=F({name:"ReText",__name:"index",props:{lineClamp:{type:[String,Number]},tippyProps:{type:Object,default:()=>({})}},setup(n){const i=n,e=lh(),g=T(),u=T(),h=s=>i.lineClamp?s.scrollHeight>s.clientHeight:s.scrollWidth>s.clientWidth,t=()=>ni({content:Un(e.content||e.default)},i.tippyProps);function o(s){h(s.target)?(u.value.setProps(t()),u.value.enable()):u.value.disable()}return Pn(()=>{var s;u.value=ch((s=g.value)==null?void 0:s.$el,t())}),(s,a)=>{const c=_("el-text");return d(),V(c,Li(ni({truncated:!n.lineClamp,lineClamp:n.lineClamp},s.$attrs),{ref_key:"textRef",ref:g,onMouseover:_n(o,["self"])}),{default:I(()=>[li(s.$slots,"default")]),_:3},16)}}}),Ce=$e(Au),Pu=F({__name:"SidebarLinkItem",props:{to:{}},setup(n){const i=n,e=P(()=>dh(i.to.name)),g=u=>e.value?{href:u.name,target:"_blank",rel:"noopener"}:{to:u};return(u,h)=>(d(),V(Sn(e.value?"a":"router-link"),rh(ah(g(u.to))),{default:I(()=>[li(u.$slots,"default")]),_:3},16))}}),Vu={width:1024,height:1024,body:''},Du={width:1024,height:1024,body:''},Ru={width:1024,height:1024,body:''},Eu={width:1024,height:1024,body:''},Be=F({__name:"SidebarItem",props:{item:{type:Object},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},setup(n){const i=yh(),{layout:e,isCollapse:g,tooltipEffect:u,getDivStyle:h}=kn(),t=n,o=P(()=>({width:"100%",display:"flex",alignItems:"center"})),s=P(()=>({display:"flex",justifyContent:"center",alignItems:"center",margin:e.value==="horizontal"?"0 5px 0 0":g.value?"0 auto":"0 5px 0 0"})),a=P(()=>{var m;return(m=Xn())!=null&&m.MenuArrowIconNoTransition?{"expand-close-icon":Cn(Du),"expand-open-icon":Cn(Vu),"collapse-close-icon":Cn(Eu),"collapse-open-icon":Cn(Ru)}:""}),c=T(null);function r(m=[],j){var f,k;const b=m.filter(C=>(c.value=C,!0));return(k=(f=b[0])==null?void 0:f.meta)!=null&&k.showParent?!1:b.length===1?!0:b.length===0?(c.value=_i(ni({},j),{path:"",noShowingChildren:!0}),!0):!1}function y(m){const j=/^http(s?):\/\//;return j.test(m)||j.test(t.basePath)?m||t.basePath:Lu.posix.resolve(t.basePath,m)}return(m,j)=>{const b=_("el-text"),f=_("el-menu-item"),k=_("sidebar-item",!0),C=_("el-sub-menu");return r(n.item.children,n.item)&&(!c.value.children||c.value.noShowingChildren)?(d(),V(Pu,{key:0,to:n.item},{default:I(()=>[z(f,Li({index:y(c.value.path),class:{"submenu-title-noDropdown":!n.isNest},style:o.value},l(i)),{title:I(()=>[p("div",{style:on(l(h))},[z(l(Ce),{tippyProps:{offset:[0,-10],theme:l(u)},class:"!w-full !text-inherit"},{default:I(()=>[jn(G(c.value.meta.title),1)]),_:1},8,["tippyProps"]),z(Ei,{extraIcon:c.value.meta.extraIcon},null,8,["extraIcon"])],4)]),default:I(()=>{var D,U,X,q,Z;return[mn(n.item.meta.icon)?(d(),v("div",{key:0,class:"sub-menu-icon",style:on(s.value)},[(d(),V(Sn(l(Cn)(mn(c.value.meta.icon)||n.item.meta&&mn(n.item.meta.icon)))))],4)):B("",!0),!((D=n.item)!=null&&D.meta.icon)&&l(g)&&l(e)==="vertical"&&((X=(U=n.item)==null?void 0:U.pathList)==null?void 0:X.length)===1||!c.value.meta.icon&&l(g)&&l(e)==="mix"&&((Z=(q=n.item)==null?void 0:q.pathList)==null?void 0:Z.length)===2?(d(),V(b,{key:1,truncated:"",class:"!w-full !pl-4 !text-inherit"},{default:I(()=>[jn(G(c.value.meta.title),1)]),_:1})):B("",!0)]}),_:1},16,["index","class","style"])]),_:1},8,["to"])):(d(),V(C,Li({key:1,ref:"subMenu",teleported:"",index:y(n.item.path)},a.value),{title:I(()=>{var D,U;return[mn(n.item.meta.icon)?(d(),v("div",{key:0,style:on(s.value),class:"sub-menu-icon"},[(d(),V(Sn(l(Cn)(n.item.meta&&mn(n.item.meta.icon)))))],4)):B("",!0),(l(e)==="mix"&&mn(n.item.meta.icon)?!l(g)||((U=(D=n.item)==null?void 0:D.pathList)==null?void 0:U.length)!==2:!(l(e)==="vertical"&&l(g)&&mn(n.item.meta.icon)&&n.item.parentId===null))?(d(),V(l(Ce),{key:1,tippyProps:{offset:[0,-10],theme:l(u)},class:K({"!w-full":!0,"!text-inherit":!0,"!pl-4":l(e)!=="horizontal"&&l(g)&&!mn(n.item.meta.icon)&&n.item.parentId===null})},{default:I(()=>[jn(G(n.item.meta.title),1)]),_:1},8,["tippyProps","class"])):B("",!0),l(g)?B("",!0):(d(),V(Ei,{key:2,extraIcon:n.item.meta.extraIcon},null,8,["extraIcon"]))]}),default:I(()=>[(d(!0),v(sn,null,dn(n.item.children,D=>(d(),V(k,{key:D.path,"is-nest":!0,item:D,"base-path":y(D.path),class:"nest-menu"},null,8,["item","base-path"]))),128))]),_:1},16,["index"]))}}}),Hu={class:"left-collapse"},Ou=F({__name:"SidebarLeftCollapse",props:{isActive:{type:Boolean,default:!1}},emits:["toggleClick"],setup(n,{emit:i}){const{tooltipEffect:e}=kn(),g=P(()=>["ml-4","mb-1","w-[16px]","h-[16px]","inline-block","align-middle","cursor-pointer","duration-[100ms]"]),{$storage:u}=ai(),h=P(()=>{var s;return(s=u.layout)==null?void 0:s.themeColor}),t=i,o=()=>{t("toggleClick")};return(s,a)=>{const c=_("IconifyIconOffline"),r=Zn("tippy");return d(),v("div",Hu,[tn(z(c,{icon:l(Ze),class:K([g.value,h.value==="light"?"":"text-primary"]),style:on({transform:s.isActive?"none":"rotateY(180deg)"}),onClick:o},null,8,["icon","class","style"]),[[r,{content:s.isActive?"点击折叠":"点击展开",theme:l(e),hideOnClick:"toggle",placement:"right"}]])])}}}),Zu=gn(Ou,[["__scopeId","data-v-02edc35f"]]),Nu={width:24,height:24,body:''},Bu=F({__name:"SidebarCenterCollapse",props:{isActive:{type:Boolean,default:!1}},emits:["toggleClick"],setup(n,{emit:i}){const{tooltipEffect:e}=kn(),g=P(()=>["w-[16px]","h-[16px]"]),{$storage:u}=ai(),h=P(()=>{var s;return(s=u.layout)==null?void 0:s.themeColor}),t=i,o=()=>{t("toggleClick")};return(s,a)=>{const c=_("IconifyIconOffline"),r=Zn("tippy");return tn((d(),v("div",{class:"center-collapse",onClick:o},[z(c,{icon:l(Nu),class:K([g.value,h.value==="light"?"":"text-primary"]),style:on({transform:s.isActive?"none":"rotateY(180deg)"})},null,8,["icon","class","style"])])),[[r,{content:s.isActive?"点击折叠":"点击展开",theme:l(e),hideOnClick:"toggle",placement:"right"}]])}}}),Fu=gn(Bu,[["__scopeId","data-v-5c964c29"]]),Wu=F({__name:"NavVertical",setup(n){var b,f;const i=Oi(),e=T(!1),g=T((f=(b=An().getItem(`${ei()}configure`))==null?void 0:b.showLogo)!=null?f:!0),{device:u,pureApp:h,isCollapse:t,tooltipEffect:o,menuSelect:s,toggleSideBar:a}=kn(),c=T([]),r=P(()=>h.layout==="mix"&&u.value!=="mobile"?c.value:bn().wholeMenus),y=P(()=>h.layout==="mix"?!1:r.value.length===0),m=P(()=>{var k;return Qn((k=i.meta)==null?void 0:k.activePath)?i.path:i.meta.activePath});function j(){let k="";k=m.value,c.value=[];const C=Fi(k,bn().wholeMenus),D=pi(C[0]||k,bn().wholeMenus);D!=null&&D.children&&(c.value=D==null?void 0:D.children)}return vn(()=>[i.path,bn().wholeMenus],()=>{i.path.includes("/redirect")||(j(),s(i.path))}),Pn(()=>{j(),pn.on("logoChange",k=>{g.value=k})}),Ni(()=>{pn.off("logoChange")}),(k,C)=>{const D=_("el-menu"),U=_("el-scrollbar"),X=Zn("loading");return tn((d(),v("div",{class:K(["sidebar-container",g.value?"has-logo":"no-logo"]),onMouseenter:C[0]||(C[0]=_n(q=>e.value=!0,["prevent"])),onMouseleave:C[1]||(C[1]=_n(q=>e.value=!1,["prevent"]))},[g.value?(d(),V(Mu,{key:0,collapse:l(t)},null,8,["collapse"])):B("",!0),z(U,{"wrap-class":"scrollbar-wrapper",class:K([l(u)==="mobile"?"mobile":"pc"])},{default:I(()=>[z(D,{"unique-opened":"",mode:"vertical","popper-class":"pure-scrollbar",class:"outer-most select-none",collapse:l(t),"collapse-transition":!1,"popper-effect":l(o),"default-active":m.value},{default:I(()=>[(d(!0),v(sn,null,dn(r.value,q=>(d(),V(Be,{key:q.path,item:q,"base-path":q.path,class:"outer-most select-none"},null,8,["item","base-path"]))),128))]),_:1},8,["collapse","popper-effect","default-active"])]),_:1},8,["class"]),l(u)!=="mobile"&&(e.value||l(t))?(d(),V(Fu,{key:1,"is-active":l(h).sidebar.opened,onToggleClick:l(a)},null,8,["is-active","onToggleClick"])):B("",!0),l(u)!=="mobile"?(d(),V(Zu,{key:2,"is-active":l(h).sidebar.opened,onToggleClick:l(a)},null,8,["is-active","onToggleClick"])):B("",!0)],34)),[[X,y.value]])}}}),Uu=gn(Wu,[["__scopeId","data-v-42d87f32"]]),Yu={class:"horizontal-header"},Ku=["src"],Xu={class:"horizontal-header-right"},Gu={class:"el-dropdown-link navbar-bg-hover"},Qu=["src"],Ju={key:0,class:"dark:text-white"},ns=F({__name:"NavHorizontal",setup(n){var m,j;const i=T(),e=T((j=(m=An().getItem(`${ei()}configure`))==null?void 0:m.showLogo)!=null?j:!0),{route:g,title:u,logout:h,onPanel:t,getLogo:o,username:s,userAvatar:a,backTopMenu:c,avatarsStyle:r}=kn(),y=P(()=>{var b;return Qn((b=g.meta)==null?void 0:b.activePath)?g.path:g.meta.activePath});return Tn(()=>{var b;(b=i.value)==null||b.handleResize()}),Pn(()=>{pn.on("logoChange",b=>{e.value=b})}),(b,f)=>{const k=_("el-menu"),C=_("IconifyIconOffline"),D=_("el-dropdown-item"),U=_("el-dropdown-menu"),X=_("el-dropdown"),q=Zn("loading");return tn((d(),v("div",Yu,[e.value?(d(),v("div",{key:0,class:"horizontal-header-left",onClick:f[0]||(f[0]=(...Z)=>l(c)&&l(c)(...Z))},[p("img",{src:l(o)(),alt:"logo"},null,8,Ku),p("span",null,G(l(u)),1)])):B("",!0),z(k,{ref_key:"menuRef",ref:i,mode:"horizontal","popper-class":"pure-scrollbar",class:"horizontal-header-menu","default-active":y.value},{default:I(()=>[(d(!0),v(sn,null,dn(l(bn)().wholeMenus,Z=>(d(),V(Be,{key:Z.path,item:Z,"base-path":Z.path},null,8,["item","base-path"]))),128))]),_:1},8,["default-active"]),p("div",Xu,[z(Ki,{id:"header-search"}),z(Gi,{id:"full-screen"}),z(Xi,{id:"header-notice"}),z(X,{trigger:"click"},{dropdown:I(()=>[z(U,{class:"logout"},{default:I(()=>[z(D,{onClick:l(h)},{default:I(()=>[z(C,{icon:l(Qi),style:{margin:"5px"}},null,8,["icon"]),f[2]||(f[2]=jn(" 退出系统 "))]),_:1},8,["onClick"])]),_:1})]),default:I(()=>[p("span",Gu,[p("img",{src:l(a),style:on(l(r))},null,12,Qu),l(s)?(d(),v("p",Ju,G(l(s)),1)):B("",!0)])]),_:1}),p("span",{class:"set-icon navbar-bg-hover",title:"打开系统配置",onClick:f[1]||(f[1]=(...Z)=>l(t)&&l(t)(...Z))},[z(C,{icon:l(Ji)},null,8,["icon"])])])])),[[q,l(bn)().wholeMenus.length===0]])}}}),is=gn(ns,[["__scopeId","data-v-c8441a0f"]]),es={key:0},hs=F({__name:"index",setup(n){const i=T(),{isDark:e}=Wi(),{layout:g}=mh(),u=Me(),h=Yi(),{$storage:t}=ai(),o=Hi({sidebar:P(()=>Hn().sidebar),device:P(()=>Hn().device),fixedHeader:P(()=>h.fixedHeader),classes:P(()=>({hideSidebar:!o.sidebar.opened,openSidebar:o.sidebar.opened,withoutAnimation:o.sidebar.withoutAnimation,mobile:o.device==="mobile"})),hideTabs:P(()=>t==null?void 0:t.configure.hideTabs)});function s(y){var m,j,b,f,k,C;window.document.body.setAttribute("layout",y),t.layout={layout:`${y}`,theme:(m=t.layout)==null?void 0:m.theme,darkMode:(j=t.layout)==null?void 0:j.darkMode,sidebarStatus:(b=t.layout)==null?void 0:b.sidebarStatus,epThemeColor:(f=t.layout)==null?void 0:f.epThemeColor,themeColor:(k=t.layout)==null?void 0:k.themeColor,overallStyle:(C=t.layout)==null?void 0:C.overallStyle}}function a(y,m){Hn().toggleDevice(y),Hn().toggleSideBar(m,"resize")}let c=!0;ri(i,y=>{if(u)return;const m=y[0],[{inlineSize:j,blockSize:b}]=m.borderBoxSize;Hn().setViewportSize({width:j,height:b}),j<=760?s("vertical"):s(Hn().layout),j>0&&j<=760?(a("mobile",!1),c=!0):j>760&&j<=990?c&&(a("desktop",!1),c=!1):j>990&&!o.sidebar.isClickCollapse?(a("desktop",!0),c=!0):(a("desktop",!1),c=!1)}),Pn(()=>{u&&a("mobile",!1)}),Le(()=>{var y;Ui().dataThemeChange((y=t.layout)==null?void 0:y.overallStyle)});const r=F({name:"LayHeader",render(){return Un("div",{class:{"fixed-header":o.fixedHeader},style:[o.hideTabs&&g.value.includes("horizontal")?e.value?"box-shadow: 0 1px 4px #0d0d0d":"box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08)":""]},{default:()=>[!h.hiddenSideBar&&(g.value.includes("vertical")||g.value.includes("mix"))?Un(Xg):null,!h.hiddenSideBar&&g.value.includes("horizontal")?Un(is):null,Un(Wh)]})}});return(y,m)=>{const j=_("el-backtop"),b=_("el-scrollbar");return d(),v("div",{ref_key:"appWrapperRef",ref:i,class:K(["app-wrapper",o.classes])},[tn(p("div",{class:"app-mask",onClick:m[0]||(m[0]=f=>l(Hn)().toggleSideBar())},null,512),[[On,o.device==="mobile"&&o.sidebar.opened&&l(g).includes("vertical")]]),tn(z(Uu,null,null,512),[[On,!l(h).hiddenSideBar&&(l(g).includes("vertical")||l(g).includes("mix"))]]),p("div",{class:K(["main-container",l(h).hiddenSideBar?"main-hidden":""])},[o.fixedHeader?(d(),v("div",es,[z(l(r)),z(ke,{"fixed-header":o.fixedHeader},null,8,["fixed-header"])])):(d(),V(b,{key:1},{default:I(()=>[z(j,{title:"回到顶部",target:".main-container .el-scrollbar__wrap"},{default:I(()=>[z(l(Ne))]),_:1}),z(l(r)),z(ke,{"fixed-header":o.fixedHeader},null,8,["fixed-header"])]),_:1}))],2),z(ku)],2)}}}),cs=gn(hs,[["__scopeId","data-v-44c67fa2"]]);export{cs as default}; diff --git a/dist/static/js/index-lFBSsz5R.js b/dist/static/js/index-lFBSsz5R.js new file mode 100644 index 0000000..176e105 --- /dev/null +++ b/dist/static/js/index-lFBSsz5R.js @@ -0,0 +1 @@ +var B=Object.defineProperty,z=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var m=(t,a,o)=>a in t?B(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,p=(t,a)=>{for(var o in a||(a={}))T.call(a,o)&&m(t,o,a[o]);if(c)for(var o of c(a))N.call(a,o)&&m(t,o,a[o]);return t},d=(t,a)=>z(t,D(a));import{useData as V}from"./hook-BhTLTlo8.js";import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as H}from"./index-CnAi1QxJ.js";import{d as F,x as M,r as f,o as O,c as $,b as n,u as e,e as u,h as r,T as j,f as q,R as g,a8 as h}from"./index-CRmU-Qpi.js";import"./xlsx-DaVhO591.js";import"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import"./statistics-Cc1WE90b.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const A={class:"main"},G={style:{display:"inline-flex","align-items":"center"},class:"mr-10"},te=F({name:"giftRecord",__name:"index",setup(t){const{searchLabel:a,searchForm:o,onSearch:l,total_price:_,isShow:b,tableList:C,pagination:x,exportExcel:v,tableLabel:w,handleSizeChange:y,handleCurrentChange:S,loading:L}=V();return M(()=>{l(o.value)}),(I,s)=>{const k=f("el-button"),P=f("pure-table");return O(),$("div",A,[n(E,{class:"pb-2",LabelList:e(a),formData:e(o),onHandleSearch:e(l)},null,8,["LabelList","formData","onHandleSearch"]),u("div",{ref:"contentRef",class:g(["flex",e(h)()?"flex-wrap":""])},[n(e(H),{title:"消费排行流水",class:g([e(b)&&!e(h)()?"!w-[60vw]":"w-full"]),columns:e(w),onRefresh:e(l)},{buttons:r(()=>[u("div",G,"总计:"+j(e(_)),1),n(k,{type:"primary",onClick:e(v)},{default:r(()=>s[0]||(s[0]=[q(" 导出 ")])),_:1},8,["onClick"])]),default:r(({size:i,dynamicColumns:R})=>[n(P,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(L),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(C),columns:R,pagination:d(p({},e(x)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(S),onPageSizeChange:e(y)},null,8,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{te as default}; diff --git a/dist/static/js/index-rFDfxNzE.js b/dist/static/js/index-rFDfxNzE.js new file mode 100644 index 0000000..48372e3 --- /dev/null +++ b/dist/static/js/index-rFDfxNzE.js @@ -0,0 +1 @@ +var T=Object.defineProperty,V=Object.defineProperties;var E=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var f=(o,a,t)=>a in o?T(o,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[a]=t,_=(o,a)=>{for(var t in a||(a={}))F.call(a,t)&&f(o,t,a[t]);if(m)for(var t of m(a))H.call(a,t)&&f(o,t,a[t]);return o},h=(o,a)=>V(o,E(a));import{useData as I}from"./hook-BS06gPkL.js";import{_ as M}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as O}from"./index-CnAi1QxJ.js";import{d as Q,x as $,r,o as i,c,e as g,P as j,Q as q,b as s,u as e,h as p,f as A,R as b,a8 as x,_ as G}from"./index-CRmU-Qpi.js";import"./xlsx-DaVhO591.js";import"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import"./Financial-DLXohchJ.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const J={class:"main"},K={class:"content"},U={class:"box"},W=Q({name:"Recharge",__name:"index",setup(o){const{searchLabel:a,searchForm:t,onSearch:l,isShow:C,tableList:v,pagination:w,tableLabel:L,handleSizeChange:P,handleCurrentChange:S,loading:k,exportExcel:y,statisticsList:R,statisticsData:B}=I();return $(()=>{l(t.value)}),(X,d)=>{const z=r("el-statistic"),D=r("el-button"),N=r("pure-table");return i(),c("div",J,[g("div",K,[(i(!0),c(j,null,q(e(R),(n,u)=>(i(),c("div",U,[s(z,{"group-separator":",",precision:2,value:e(B)[n.prop],title:n.label},null,8,["value","title"])]))),256))]),s(M,{class:"pb-2",LabelList:e(a),formData:e(t),onHandleSearch:e(l)},null,8,["LabelList","formData","onHandleSearch"]),g("div",{ref:"contentRef",class:b(["flex",e(x)()?"flex-wrap":""])},[s(e(O),{title:"充值列表",class:b([e(C)&&!e(x)()?"!w-[60vw]":"w-full"]),columns:e(L),onRefresh:e(l)},{buttons:p(()=>[s(D,{type:"primary",onClick:e(y)},{default:p(()=>d[0]||(d[0]=[A(" 导出 ")])),_:1},8,["onClick"])]),default:p(({size:n,dynamicColumns:u})=>[s(N,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(k),size:n,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(v),columns:u,pagination:h(_({},e(w)),{size:n}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(S),onPageSizeChange:e(P)},null,8,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}}),ce=G(W,[["__scopeId","data-v-d2841cb8"]]);export{ce as default}; diff --git a/dist/static/js/index-rmU7m9kC.js b/dist/static/js/index-rmU7m9kC.js new file mode 100644 index 0000000..4b01875 --- /dev/null +++ b/dist/static/js/index-rmU7m9kC.js @@ -0,0 +1 @@ +var z=Object.defineProperty,N=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var f=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var d=(t,a,o)=>a in t?z(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,u=(t,a)=>{for(var o in a||(a={}))V.call(a,o)&&d(t,o,a[o]);if(f)for(var o of f(a))$.call(a,o)&&d(t,o,a[o]);return t},_=(t,a)=>N(t,T(a));import{useData as H}from"./hook-CGQvpszg.js";import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as F}from"./index-CnAi1QxJ.js";import{d as M,x as O,r as c,o as j,c as q,b as n,u as e,e as A,h as l,f as g,R as h,a8 as b}from"./index-CRmU-Qpi.js";import"./backpack-BEosm8mY.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const G={class:"main"},oe=M({name:"robotList",__name:"index",setup(t){const{searchLabel:a,searchForm:o,onSearch:i,isShow:C,tableList:v,pagination:x,tableLabel:w,handleSizeChange:k,handleCurrentChange:y,generateData:L,loading:S,handleDelete:P}=H();return O(()=>{i(o.value)}),(I,r)=>{const m=c("el-button"),B=c("el-popconfirm"),D=c("pure-table");return j(),q("div",G,[n(E,{class:"pb-2",LabelList:e(a),formData:e(o),onHandleSearch:e(i)},null,8,["LabelList","formData","onHandleSearch"]),A("div",{ref:"contentRef",class:h(["flex",e(b)()?"flex-wrap":""])},[n(e(F),{title:"机器人列表",class:h([e(C)&&!e(b)()?"!w-[60vw]":"w-full"]),columns:e(w),onRefresh:e(i)},{buttons:l(()=>[n(m,{type:"primary",onClick:e(L)},{default:l(()=>r[0]||(r[0]=[g(" 自动生成 ")])),_:1},8,["onClick"])]),default:l(({size:s,dynamicColumns:R})=>[n(D,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(S),size:s,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(v),columns:R,pagination:_(u({},e(x)),{size:s}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(y),onPageSizeChange:e(k)},{operation:l(({row:p})=>[n(B,{title:`是否确认删除${p.nickname}的这条数据`,onConfirm:J=>e(P)(p)},{reference:l(()=>[n(m,{link:"",type:"primary",size:s},{default:l(()=>r[1]||(r[1]=[g(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["title","onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{oe as default}; diff --git a/dist/static/js/index-xIaISvWx.js b/dist/static/js/index-xIaISvWx.js new file mode 100644 index 0000000..9b0df5a --- /dev/null +++ b/dist/static/js/index-xIaISvWx.js @@ -0,0 +1 @@ +var z=Object.defineProperty,T=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var g=(n,o,a)=>o in n?z(n,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[o]=a,_=(n,o)=>{for(var a in o||(o={}))V.call(o,a)&&g(n,a,o[a]);if(u)for(var a of u(o))H.call(o,a)&&g(n,a,o[a]);return n},C=(n,o)=>T(n,N(o));import{useData as E}from"./hook-BP3Kkray.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as I}from"./index-CnAi1QxJ.js";import{d as M,x as O,r as f,o as j,c as q,b as l,u as e,e as A,h as r,f as c,R as b,a8 as h}from"./index-CRmU-Qpi.js";import{u as G}from"./hooks-ItYVRz1P.js";import{d as J}from"./add-circle-line-DOJqVT3s.js";import"./form.vue_vue_type_script_setup_true_lang-BmTzdXBw.js";import"./room-3H8Bx0CI.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const K={class:"main"},re=M({name:"roomType",__name:"index",setup(n){const{searchLabel:o,searchForm:a,onSearch:s,isShow:v,tableList:y,pagination:x,tableLabel:k,handleSizeChange:w,handleCurrentChange:L,handleDelete:S,loading:P,openDialog:d}=E();return O(()=>{s(a.value)}),(Q,t)=>{const m=f("el-button"),R=f("el-popconfirm"),B=f("pure-table");return j(),q("div",K,[l(F,{class:"pb-2",LabelList:e(o),formData:e(a),onHandleSearch:e(s)},null,8,["LabelList","formData","onHandleSearch"]),A("div",{ref:"contentRef",class:b(["flex",e(h)()?"flex-wrap":""])},[l(e(I),{title:"分类列表",class:b([e(v)&&!e(h)()?"!w-[60vw]":"w-full"]),columns:e(k),onRefresh:e(s)},{buttons:r(()=>[l(m,{type:"primary",icon:e(G)(e(J)),onClick:t[0]||(t[0]=i=>e(d)("新增",{}))},{default:r(()=>t[1]||(t[1]=[c(" 新增分类 ")])),_:1},8,["icon"])]),default:r(({size:i,dynamicColumns:D})=>[l(B,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(P),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(y),columns:D,pagination:C(_({},e(x)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(L),onPageSizeChange:e(w)},{operation:r(({row:p})=>[l(m,{link:"",type:"primary",size:i,onClick:$=>e(d)("编辑",p)},{default:r(()=>t[2]||(t[2]=[c(" 编辑 ")])),_:2},1032,["size","onClick"]),l(R,{title:`是否确认删除分类名称为【${p.type_name}】的这条数据`,onConfirm:$=>e(S)(p)},{reference:r(()=>[l(m,{link:"",type:"primary",size:i},{default:r(()=>t[3]||(t[3]=[c(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["title","onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{re as default}; diff --git a/dist/static/js/index.vue_vue_type_script_setup_true_lang-1k8ze5BO.js b/dist/static/js/index.vue_vue_type_script_setup_true_lang-1k8ze5BO.js new file mode 100644 index 0000000..c6f35d0 --- /dev/null +++ b/dist/static/js/index.vue_vue_type_script_setup_true_lang-1k8ze5BO.js @@ -0,0 +1 @@ +var L=Object.defineProperty,N=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var c=(n,e,a)=>e in n?L(n,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[e]=a,g=(n,e)=>{for(var a in e||(e={}))V.call(e,a)&&c(n,a,e[a]);if(u)for(var a of u(e))$.call(e,a)&&c(n,a,e[a]);return n},C=(n,e)=>N(n,T(e));import{useData as E}from"./hook-_9wHMMzO.js";import{P as M}from"./index-CnAi1QxJ.js";import{d as O,x as j,r as p,o as q,c as A,e as F,b as r,h as l,u as o,f,R as _,a8 as h}from"./index-CRmU-Qpi.js";const G={class:"main"},U=O({name:"RechargeList",__name:"index",props:["rowData"],setup(n){const e=n,{onSearch:a,isShow:b,tableList:v,pagination:w,tableLabel:x,handleSizeChange:y,handleCurrentChange:k,openDialog:m,handleDelete:P,loading:R}=E();return j(()=>{a(e.rowData)}),(H,t)=>{const s=p("el-button"),B=p("el-popconfirm"),D=p("pure-table");return q(),A("div",G,[F("div",{ref:"contentRef",class:_(["flex",o(h)()?"flex-wrap":""])},[r(o(M),{title:"",class:_([o(b)&&!o(h)()?"!w-[60vw]":"w-full"]),columns:o(x),onRefresh:o(a)},{buttons:l(()=>[r(s,{type:"primary",onClick:t[0]||(t[0]=i=>o(m)("新增",{}))},{default:l(()=>t[1]||(t[1]=[f(" 添加礼物 ")])),_:1})]),default:l(({size:i,dynamicColumns:S})=>[r(D,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:o(R),size:i,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:o(v),columns:S,pagination:C(g({},o(w)),{size:i}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:o(k),onPageSizeChange:o(y)},{operation:l(({row:d})=>[r(s,{link:"",type:"primary",size:i,onClick:z=>o(m)("编辑",d)},{default:l(()=>t[2]||(t[2]=[f(" 编辑 ")])),_:2},1032,["size","onClick"]),r(B,{title:"是否确认删除这条数据",onConfirm:z=>o(P)(d)},{reference:l(()=>[r(s,{link:"",type:"primary",size:i},{default:l(()=>t[3]||(t[3]=[f(" 删除 ")])),_:2},1032,["size"])]),_:2},1032,["onConfirm"])]),_:2},1032,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{U as _}; diff --git a/dist/static/js/index.vue_vue_type_script_setup_true_lang-7qz1dg5T.js b/dist/static/js/index.vue_vue_type_script_setup_true_lang-7qz1dg5T.js new file mode 100644 index 0000000..a2e0101 --- /dev/null +++ b/dist/static/js/index.vue_vue_type_script_setup_true_lang-7qz1dg5T.js @@ -0,0 +1 @@ +import x from"./statistics-B6YG3tm9.js";import v from"./Results-CDWDzDys.js";import{d as f,n as s,r as i,o as e,c,b as k,h as l,P as y,Q as w,g as n,f as I,T as g,e as h}from"./index-CRmU-Qpi.js";const C={class:"viewPage"},L=f({__name:"index",props:["roomDetail"],setup(m){const a=m,d=s([{index:0,name:"开奖统计"},{index:1,name:"锁定记录"}]),t=s(0),_=r=>{t.value=r.index};return(r,V)=>{const p=i("el-button"),u=i("el-row");return e(),c("div",C,[k(u,null,{default:l(()=>[(e(!0),c(y,null,w(d.value,o=>(e(),n(p,{onClick:B=>_(o),type:t.value===o.index?"primary":"",key:o.index},{default:l(()=>[I(g(o.name),1)]),_:2},1032,["onClick","type"]))),128))]),_:1}),h("div",null,[t.value===0?(e(),n(x,{key:0,roomId:a.roomDetail.room_id},null,8,["roomId"])):(e(),n(v,{key:1,roomId:a.roomDetail.room_id},null,8,["roomId"]))])])}}});export{L as _}; diff --git a/dist/static/js/index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js b/dist/static/js/index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js new file mode 100644 index 0000000..4a381a0 --- /dev/null +++ b/dist/static/js/index.vue_vue_type_script_setup_true_lang-8Iz1Oohf.js @@ -0,0 +1,186 @@ +var d$=Object.defineProperty,p$=Object.defineProperties;var h$=Object.getOwnPropertyDescriptors;var mx=Object.getOwnPropertySymbols;var g$=Object.prototype.hasOwnProperty,v$=Object.prototype.propertyIsEnumerable;var Ry=(t,e)=>(e=Symbol[t])?e:Symbol.for("Symbol."+t),y$=t=>{throw TypeError(t)};var bx=(t,e,n)=>e in t?d$(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Z=(t,e)=>{for(var n in e||(e={}))g$.call(e,n)&&bx(t,n,e[n]);if(mx)for(var n of mx(e))v$.call(e,n)&&bx(t,n,e[n]);return t},Zt=(t,e)=>p$(t,h$(e));var My=(t,e,n)=>new Promise((r,o)=>{var i=s=>{try{u(n.next(s))}catch(l){o(l)}},a=s=>{try{u(n.throw(s))}catch(l){o(l)}},u=s=>s.done?r(s.value):Promise.resolve(s.value).then(i,a);u((n=n.apply(t,e)).next())}),m$=function(t,e){this[0]=t,this[1]=e};var zy=t=>{var e=t[Ry("asyncIterator")],n=!1,r,o={};return e==null?(e=t[Ry("iterator")](),r=i=>o[i]=a=>e[i](a)):(e=e.call(t),r=i=>o[i]=a=>{if(n){if(n=!1,i==="throw")throw a;return a}return n=!0,{done:!1,value:new m$(new Promise(u=>{var s=e[i](a);s instanceof Object||y$("Object expected"),u(s)}),1)}}),o[Ry("iterator")]=()=>o,r("next"),"throw"in e?r("throw"):o.throw=i=>{throw i},"return"in e&&r("return"),o};import{d as t5,n as hg,a3 as hP,x as gP,I as vP,o as e5,c as n5,fF as b$,a0 as w$,K as E$,b as wx,u as Ex,fG as D$}from"./index-CRmU-Qpi.js";var se=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function C$(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function ss(t){var e={exports:{}};return t(e,e.exports),e.exports}var bi,j0,Bh=function(t){return t&&t.Math==Math&&t},Bt=Bh(typeof globalThis=="object"&&globalThis)||Bh(typeof window=="object"&&window)||Bh(typeof self=="object"&&self)||Bh(typeof se=="object"&&se)||function(){return this}()||Function("return this")(),r5=Function.prototype,Dx=r5.apply,x$=r5.bind,Cx=r5.call,yP=typeof Reflect=="object"&&Reflect.apply||(x$?Cx.bind(Dx):function(){return Cx.apply(Dx,arguments)}),mP=Function.prototype,y4=mP.bind,m4=mP.call,S$=y4&&y4.bind(m4),ge=y4?function(t){return t&&S$(m4,t)}:function(t){return t&&function(){return m4.apply(t,arguments)}},gn=function(t){return typeof t=="function"},qn=function(t){try{return!!t()}catch(e){return!0}},Vn=!qn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Oc=Function.prototype.call,nr=Oc.bind?Oc.bind(Oc):function(){return Oc.apply(Oc,arguments)},xx={}.propertyIsEnumerable,Sx=Object.getOwnPropertyDescriptor,A$=Sx&&!xx.call({1:2},1)?function(t){var e=Sx(this,t);return!!e&&e.enumerable}:xx,o5={f:A$},Kr=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},O$=ge({}.toString),k$=ge("".slice),Du=function(t){return k$(O$(t),8,-1)},$y=Bt.Object,B$=ge("".split),bP=qn(function(){return!$y("z").propertyIsEnumerable(0)})?function(t){return Du(t)=="String"?B$(t,""):$y(t)}:$y,F$=Bt.TypeError,i5=function(t){if(t==null)throw F$("Can't call method on "+t);return t},jo=function(t){return bP(i5(t))},Dr=function(t){return typeof t=="object"?t!==null:gn(t)},tr={},Ax=function(t){return gn(t)?t:void 0},rc=function(t,e){return arguments.length<2?Ax(tr[t])||Ax(Bt[t]):tr[t]&&tr[t][e]||Bt[t]&&Bt[t][e]},Td=ge({}.isPrototypeOf),Hy=rc("navigator","userAgent")||"",Ox=Bt.process,kx=Bt.Deno,Bx=Ox&&Ox.versions||kx&&kx.version,Fx=Bx&&Bx.v8;Fx&&(j0=(bi=Fx.split("."))[0]>0&&bi[0]<4?1:+(bi[0]+bi[1])),!j0&&Hy&&(!(bi=Hy.match(/Edge\/(\d+)/))||bi[1]>=74)&&(bi=Hy.match(/Chrome\/(\d+)/))&&(j0=+bi[1]);var Fh,gg=j0,fo=!!Object.getOwnPropertySymbols&&!qn(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&gg&&gg<41}),a5=fo&&!Symbol.sham&&typeof Symbol.iterator=="symbol",T$=Bt.Object,gl=a5?function(t){return typeof t=="symbol"}:function(t){var e=rc("Symbol");return gn(e)&&Td(e.prototype,T$(t))},_$=Bt.String,b4=function(t){try{return _$(t)}catch(e){return"Object"}},P$=Bt.TypeError,u5=function(t){if(gn(t))return t;throw P$(b4(t)+" is not a function")},vg=function(t,e){var n=t[e];return n==null?void 0:u5(n)},j$=Bt.TypeError,N$=Object.defineProperty,na=Bt["__core-js_shared__"]||function(t,e){try{N$(Bt,t,{value:e,configurable:!0,writable:!0})}catch(n){Bt[t]=e}return e}("__core-js_shared__",{}),ls=ss(function(t){(t.exports=function(e,n){return na[e]||(na[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),I$=Bt.Object,Bp=function(t){return I$(i5(t))},L$=ge({}.hasOwnProperty),Ut=Object.hasOwn||function(t,e){return L$(Bp(t),e)},R$=0,M$=Math.random(),z$=ge(1 .toString),yg=function(t){return"Symbol("+(t===void 0?"":t)+")_"+z$(++R$+M$,36)},kc=ls("wks"),Cu=Bt.Symbol,Tx=Cu&&Cu.for,$$=a5?Cu:Cu&&Cu.withoutSetter||yg,Fn=function(t){if(!Ut(kc,t)||!fo&&typeof kc[t]!="string"){var e="Symbol."+t;fo&&Ut(Cu,t)?kc[t]=Cu[t]:kc[t]=a5&&Tx?Tx(e):$$(e)}return kc[t]},H$=Bt.TypeError,V$=Fn("toPrimitive"),U$=function(t,e){if(!Dr(t)||gl(t))return t;var n,r=vg(t,V$);if(r){if(n=nr(r,t,e),!Dr(n)||gl(n))return n;throw H$("Can't convert object to primitive value")}return function(o,i){var a,u;if(gn(a=o.toString)&&!Dr(u=nr(a,o))||gn(a=o.valueOf)&&!Dr(u=nr(a,o)))return u;throw j$("Can't convert object to primitive value")}(t)},oc=function(t){var e=U$(t,"string");return gl(e)?e:e+""},w4=Bt.document,W$=Dr(w4)&&Dr(w4.createElement),wP=function(t){return W$?w4.createElement(t):{}},EP=!Vn&&!qn(function(){return Object.defineProperty(wP("div"),"a",{get:function(){return 7}}).a!=7}),_x=Object.getOwnPropertyDescriptor,G$=Vn?_x:function(t,e){if(t=jo(t),e=oc(e),EP)try{return _x(t,e)}catch(n){}if(Ut(t,e))return Kr(!nr(o5.f,t,e),t[e])},B1={f:G$},q$=/#|\.prototype\./,Fp=function(t,e){var n=Y$[K$(t)];return n==Z$||n!=X$&&(gn(e)?qn(e):!!e)},K$=Fp.normalize=function(t){return String(t).replace(q$,".").toLowerCase()},Y$=Fp.data={},X$=Fp.NATIVE="N",Z$=Fp.POLYFILL="P",J$=Fp,Px=ge(ge.bind),s5=function(t,e){return u5(t),e===void 0?t:Px?Px(t,e):function(){return t.apply(e,arguments)}},Q$=Bt.String,tH=Bt.TypeError,ir=function(t){if(Dr(t))return t;throw tH(Q$(t)+" is not an object")},eH=Bt.TypeError,jx=Object.defineProperty,nH=Vn?jx:function(t,e,n){if(ir(t),e=oc(e),ir(n),EP)try{return jx(t,e,n)}catch(r){}if("get"in n||"set"in n)throw eH("Accessors not supported");return"value"in n&&(t[e]=n.value),t},Na={f:nH},Pn=Vn?function(t,e,n){return Na.f(t,e,Kr(1,n))}:function(t,e,n){return t[e]=n,t},rH=B1.f,oH=function(t){var e=function(n,r,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,o)}return yP(t,this,arguments)};return e.prototype=t.prototype,e},Ko=function(t,e){var n,r,o,i,a,u,s,l,c=t.target,f=t.global,d=t.stat,p=t.proto,v=f?Bt:d?Bt[c]:(Bt[c]||{}).prototype,y=f?tr:tr[c]||Pn(tr,c,{})[c],g=y.prototype;for(o in e)n=!J$(f?o:c+(d?".":"#")+o,t.forced)&&v&&Ut(v,o),a=y[o],n&&(u=t.noTargetGet?(l=rH(v,o))&&l.value:v[o]),i=n&&u?u:e[o],n&&typeof a==typeof i||(s=t.bind&&n?s5(i,Bt):t.wrap&&n?oH(i):p&&gn(i)?ge(i):i,(t.sham||i&&i.sham||a&&a.sham)&&Pn(s,"sham",!0),Pn(y,o,s),p&&(Ut(tr,r=c+"Prototype")||Pn(tr,r,{}),Pn(tr[r],o,i),t.real&&g&&!g[o]&&Pn(g,o,i)))},Nx=ls("keys"),F1=function(t){return Nx[t]||(Nx[t]=yg(t))},iH=!qn(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),Ix=F1("IE_PROTO"),E4=Bt.Object,aH=E4.prototype,mg=iH?E4.getPrototypeOf:function(t){var e=Bp(t);if(Ut(e,Ix))return e[Ix];var n=e.constructor;return gn(n)&&e instanceof n?n.prototype:e instanceof E4?aH:null},uH=Bt.String,sH=Bt.TypeError,bg=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=ge(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(r){}return function(r,o){return ir(r),function(i){if(typeof i=="object"||gn(i))return i;throw sH("Can't set "+uH(i)+" as a prototype")}(o),e?t(r,o):r.__proto__=o,r}}():void 0),lH=Math.ceil,cH=Math.floor,l5=function(t){var e=+t;return e!=e||e===0?0:(e>0?cH:lH)(e)},fH=Math.max,dH=Math.min,D4=function(t,e){var n=l5(t);return n<0?fH(n+e,0):dH(n,e)},pH=Math.min,Tp=function(t){return(e=t.length)>0?pH(l5(e),9007199254740991):0;var e},Lx=function(t){return function(e,n,r){var o,i=jo(e),a=Tp(i),u=D4(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},hH={includes:Lx(!0),indexOf:Lx(!1)},_p={},gH=hH.indexOf,Rx=ge([].push),DP=function(t,e){var n,r=jo(t),o=0,i=[];for(n in r)!Ut(_p,n)&&Ut(r,n)&&Rx(i,n);for(;e.length>o;)Ut(r,n=e[o++])&&(~gH(i,n)||Rx(i,n));return i},wg=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],vH=wg.concat("length","prototype"),yH=Object.getOwnPropertyNames||function(t){return DP(t,vH)},c5={f:yH},N0={f:Object.getOwnPropertySymbols},mH=ge([].concat),bH=rc("Reflect","ownKeys")||function(t){var e=c5.f(ir(t)),n=N0.f;return n?mH(e,n(t)):e},f5=Object.keys||function(t){return DP(t,wg)},wH=Vn?Object.defineProperties:function(t,e){ir(t);for(var n,r=jo(e),o=f5(e),i=o.length,a=0;i>a;)Na.f(t,n=o[a++],r[n]);return t},EH=rc("document","documentElement"),CP=F1("IE_PROTO"),Vy=function(){},xP=function(t){return"