From d543538e44c6a5594d35a1705d4769bcbc468212 Mon Sep 17 00:00:00 2001 From: linlu Date: Thu, 5 Mar 2026 10:42:57 +0800 Subject: [PATCH] Archive: dev_local_v8_kedashiyanshi_admins squashed history --- .DS_Store | Bin 0 -> 124932 bytes 1053.6f06420e.async.js | 1 + 1084.cc852cbb.async.js | 1 + 1390.10392c5c.async.js | 2 + 1414.4fe5ed28.async.js | 9 + 1446.94925180.async.js | 1 + 1524.d8a0a443.async.js | 58 +++ 1639.f2847651.async.js | 1 + 1650.a65c34d5.async.js | 1 + 1651.f8619ea1.async.js | 16 + 1660.503a6d49.async.js | 1 + 1706.39b1cdd1.async.js | 1 + 177.db7eb3a9.async.js | 1 + 1770.1bb612b0.async.js | 1 + 1873.07cc722d.async.js | 1 + 1920.32fd4f70.async.js | 1 + 2040.405dea60.async.js | 1 + 2119.c6bd2e3d.async.js | 1 + 2136.b706c7fd.async.js | 1 + 2200.1577ffdd.async.js | 1 + 228.caff6748.async.js | 1 + 2314.8840fb6b.async.js | 1 + 2386.8f6d8070.async.js | 1 + 2406.44bbe905.async.js | 1 + 2427.7cb29136.async.js | 1 + 2517.4822cb32.async.js | 14 + 2542.1174e314.async.js | 1 + 2554.979d991d.async.js | 1 + 2602.596d9708.async.js | 1 + 2675.dc6973c1.async.js | 1 + 2877.555f02f2.async.js | 1 + 3014.995570cc.async.js | 85 +++++ 305.81fb0537.async.js | 1 + 310.415837ba.async.js | 1 + 3127.4cc2c42d.async.js | 1 + 3203.edcdf85c.async.js | 1 + 3236.e8b071bc.async.js | 3 + 3283.f6b63521.async.js | 1 + 3314.5b617c65.async.js | 1 + 3465.f527bf04.async.js | 1 + 3471.6aaf281a.async.js | 1 + 3482.bb0baee2.async.js | 1 + 3509.4a22931e.async.js | 1 + 3519.7b9143ba.async.js | 1 + 368.d311c97a.async.js | 209 +++++++++++ 370.2996a58c.async.js | 1 + 3725.f2bc4aff.async.js | 8 + 3747.58d7269f.async.js | 1 + 3863.30b7f165.async.js | 29 ++ 3883.6c521ca9.async.js | 1 + 3993.91b47ce9.async.js | 1 + 402.bcd5782d.async.js | 1 + 4144.62792909.async.js | 1 + 4212.2c646e7b.async.js | 1 + 4293.1817728b.async.js | 1 + 4323.3fbc1c4d.async.js | 1 + 44.346a4bd5.async.js | 71 ++++ 4439.6c9314f0.async.js | 1 + 4511.3b2d1393.async.js | 1 + 4654.6a2cf9eb.async.js | 7 + 4796.089b4ee6.async.js | 1 + 4812.ea63ac14.async.js | 1 + 4879.563e4adf.async.js | 1 + 4988.1a74489a.async.js | 1 + 5134.ac4c5d92.async.js | 1 + 520.5ead1ed0.async.js | 1 + 5372.a8ce2f11.async.js | 1 + 5648.568eba5d.async.js | 1 + 5742.f857eb0b.async.js | 2 + 5753.8bb95fa6.async.js | 1 + 5815.b3ff0e31.async.js | 1 + 5819.c90c6bb1.async.js | 1 + 5879.3525ea43.async.js | 1 + 590.14c44e22.async.js | 1 + 6062.ee672398.async.js | 1 + 6092.9ce63da5.async.js | 1 + 6121.3e8f74fa.async.js | 1 + 617.9d506370.async.js | 1 + 6365.04b5d571.async.js | 12 + 6390.4a729fd0.async.js | 1 + 6395.395c75b7.async.js | 1 + 6443.4bf08463.async.js | 1 + 6471.c64b9efd.async.js | 1 + 6665.bcc6b022.async.js | 1 + 6692.5a4da5c9.async.js | 1 + 673.342322df.async.js | 1 + 6732.ef34d743.async.js | 1 + 6991.28f9561b.async.js | 1 + 7001.e07fe66a.async.js | 1 + 7213.5b3b2eb2.async.js | 1 + 7224.f60a04d6.async.js | 109 ++++++ 7315.d0dff392.async.js | 1 + 7365.e910f562.async.js | 1 + 7370.4e6718da.async.js | 1 + 7421.7b903b65.async.js | 1 + 7475.0964998b.async.js | 1 + 7482.cfc2a864.async.js | 27 ++ 7525.d9bbebe7.async.js | 1 + 755.23be05b2.async.js | 3 + 758.ce404205.async.js | 1 + 7590.55c5cd2d.async.js | 1 + 7601.23579a16.async.js | 1 + 7650.394e351f.async.js | 42 +++ 7663.078a046a.async.js | 1 + 7673.589aa50e.async.js | 16 + 772.e255a86a.async.js | 1 + 7762.56e92821.async.js | 1 + 7917.a0d18c02.async.js | 1 + 7988.f8614718.async.js | 1 + 8007.d927e8c9.async.js | 1 + 8029.e8f5ec11.async.js | 1 + 8142.729273dc.async.js | 1 + 8171.380cfcab.async.js | 1 + 8211.03f86053.async.js | 113 ++++++ 8211.d1b67c7c.chunk.css | 1 + 8283.a6ea35b7.async.js | 1 + 8393.06ae0e31.async.js | 1 + 8561.d7484e21.async.js | 1 + 870.b38c1fc5.async.js | 1 + 8703.228c22a3.async.js | 2 + 8770.a92b6409.async.js | 1 + 8813.124c03de.async.js | 1 + 889.beff9c88.async.js | 1 + 89.6b81c89b.async.js | 1 + 8910.29872783.async.js | 1 + 8915.118da73e.async.js | 1 + 9071.1dfcc0a8.async.js | 1 + 9121.ca79bcfb.async.js | 1 + 9155.77d09dca.async.js | 1 + 9232.b273f525.async.js | 1 + 9296.ddaba291.async.js | 1 + 9558.ebeebbdc.async.js | 1 + 9607.36d8d4dc.async.js | 1 + 9651.04ef4834.async.js | 1 + 9713.d4da23c0.async.js | 1 + 972.0d089059.async.js | 29 ++ 973.f4502590.async.js | 1 + 9781.181cb6fe.async.js | 1 + 9831.76b23222.async.js | 1 + 9905.2b263b54.async.js | 1 + 9972.0c9316d1.async.js | 1 + CNAME | 1 + favicon.ico | Bin 0 -> 137750 bytes icons/icon-128x128.png | Bin 0 -> 1329 bytes icons/icon-192x192.png | Bin 0 -> 1856 bytes icons/icon-512x512.png | Bin 0 -> 5082 bytes index.html | 14 + p__404.dc5be021.async.js | 1 + ...lege__CollegeList__index.a61d6ab5.async.js | 1 + ...ege__CollegeList__index.a849af0e.chunk.css | 1 + ...llege__Laboratory__index.4bf78dd5.async.js | 1 + ...lege__Laboratory__index.a3c7e1ff.chunk.css | 1 + ...ne__AuditSettings__index.2595fca1.async.js | 7 + ...ne__CourseReview__index.7a5f3f0d.chunk.css | 1 + ...ine__CourseReview__index.e6b6397f.async.js | 1 + ...ne__ShixunRelease__index.51d0c1b2.async.js | 1 + ...e__ShixunRelease__index.b31f8c39.chunk.css | 1 + p__Index__index.26202ce8.chunk.css | 1 + p__Index__index.70e2f42f.async.js | 1 + p__Login__index.97f8fabe.chunk.css | 1 + p__Login__index.cd4a9466.async.js | 1 + ...nfoList__Details__index.c75719a4.chunk.css | 1 + ...InfoList__Details__index.d82c5a38.async.js | 9 + ...__InfoList__Edit__index.6dc5363f.chunk.css | 1 + ...o__InfoList__Edit__index.8ae101d8.async.js | 1 + ...__ReservationInfo__index.3f63356e.async.js | 1 + ..._ReservationInfo__index.57d88702.chunk.css | 1 + ...evice__DeviceInfo__index.46ffe6aa.async.js | 9 + ...vice__DeviceInfo__index.70c8b906.chunk.css | 1 + ...ice__DeviceLabel__index.9362537a.chunk.css | 1 + ...vice__DeviceLabel__index.d10e0bc4.async.js | 1 + ...viceType__Details__index.9ec669a8.async.js | 1 + ...iceType__Details__index.cfdf31e6.chunk.css | 1 + ...evice__DeviceType__index.899d5433.async.js | 1 + ...vice__DeviceType__index.d1772d13.chunk.css | 1 + ...ce__DigitalSigns__index.3eabb273.chunk.css | 1 + ...ice__DigitalSigns__index.a71b6672.async.js | 1 + ...ce__FaultLibrary__index.26c2c57f.chunk.css | 1 + ...ice__FaultLibrary__index.d0c27f1f.async.js | 1 + ...ssageCenterManage__index.0af2d459.async.js | 1 + ...sageCenterManage__index.ef9ee4cd.chunk.css | 1 + ...r__OffSiteConfig__index.667a3adb.chunk.css | 1 + ...er__OffSiteConfig__index.f5503807.async.js | 1 + ..._ReservationInfo__index.46941396.chunk.css | 1 + ...__ReservationInfo__index.5d66dc23.async.js | 1 + ...entLibrary__Edit__index.bc149329.chunk.css | 1 + ...mentLibrary__Edit__index.d1318c43.async.js | 1 + ..._ScriptList__Edit__index.9c95c2cb.async.js | 1 + ...ScriptList__Edit__index.a4d49c88.chunk.css | 1 + ...rary__ScriptList__index.c07ebee3.chunk.css | 1 + ...brary__ScriptList__index.d69bd3c4.async.js | 1 + ...nvironmentLibrary__index.42d5e16f.async.js | 1 + ...vironmentLibrary__index.a9b8b5a9.chunk.css | 1 + ...nvironment__Edit__index.c423340b.chunk.css | 1 + ...Environment__Edit__index.d8239dcf.async.js | 1 + ...irrorEnvironment__index.331123c2.chunk.css | 1 + ...MirrorEnvironment__index.c0cb34fc.async.js | 1 + ...ts__ProjectsList__index.785e4412.chunk.css | 1 + ...cts__ProjectsList__index.fb2a0031.async.js | 1 + ...jects__RecycleBin__index.319164c7.async.js | 1 + ...ects__RecycleBin__index.87344f6b.chunk.css | 1 + ...plateRecommended__index.869247a6.chunk.css | 1 + ...mplateRecommended__index.9795aa6f.async.js | 1 + ...rty__Procurement__index.1427999a.chunk.css | 1 + ...erty__Procurement__index.beaf0ae5.async.js | 1 + p__Property__index.42879f36.chunk.css | 1 + p__Property__index.a6a41594.async.js | 1 + ...__CourseDirection__index.844c7693.async.js | 1 + ..._CourseDirection__index.ef6f8fd8.chunk.css | 1 + ...__CourseKnowledge__index.908914fb.async.js | 1 + ..._CourseKnowledge__index.bf5af65a.chunk.css | 1 + ...em__CourseSystem__index.5821c7dd.chunk.css | 1 + ...tem__CourseSystem__index.c1d4052f.async.js | 1 + ...stem__EnvirSystem__index.28518c23.async.js | 1 + ...tem__EnvirSystem__index.96807739.chunk.css | 1 + ...serList__Details__index.beb61ad5.chunk.css | 1 + ...UserList__Details__index.de9b6d83.async.js | 1 + ...r__UserList__Edit__index.443e927f.async.js | 7 + ...__UserList__Edit__index.5a343776.chunk.css | 1 + p__User__UserList__index.36e3f339.chunk.css | 1 + p__User__UserList__index.70f72bee.async.js | 1 + scripts/loading.js | 202 +++++++++++ static/analysis_background.a44e2841.png | Bin 0 -> 33057 bytes static/behavior_background.8c74c7df.png | Bin 0 -> 28506 bytes static/caigou_background.fdade189.png | Bin 0 -> 70233 bytes static/device_kongxian.fdd72819.png | Bin 0 -> 65848 bytes .../device_list_info_background.f1fda469.png | Bin 0 -> 38546 bytes static/device_yichang.3c21d5b7.png | Bin 0 -> 65873 bytes static/device_yunxing.8582f0fb.png | Bin 0 -> 61543 bytes static/device_zongshu.11de2e0b.png | Bin 0 -> 65766 bytes static/go_back.2b7d46d8.png | Bin 0 -> 16702 bytes static/go_back_hover.0880f1f9.png | Bin 0 -> 16659 bytes static/incomplete_img.747b6144.png | Bin 0 -> 89444 bytes static/index_header.c630f3c3.png | Bin 0 -> 630936 bytes static/index_title_device.2098490b.png | Bin 0 -> 54607 bytes static/index_title_time.b29a1e19.png | Bin 0 -> 52176 bytes static/left_device.55a5c135.png | Bin 0 -> 93005 bytes static/left_message.654c0aad.png | Bin 0 -> 139208 bytes static/login_bj_img.4d39c0fb.png | Bin 0 -> 2656950 bytes static/nodata_1.ca33aea4.png | Bin 0 -> 10969 bytes static/nodata_2.667eb393.png | Bin 0 -> 11982 bytes static/nodata_3.ecb7893b.png | Bin 0 -> 14361 bytes static/right_device.931449e1.png | Bin 0 -> 284768 bytes static/right_info.b3021056.png | Bin 0 -> 185488 bytes static/sidebar_bkimg.ea81cde8.png | Bin 0 -> 140974 bytes static/statistics_background.a08c6eb4.png | Bin 0 -> 34704 bytes static/table_background.688c9c76.png | Bin 0 -> 69076 bytes static/warning_img.35d7ec9a.png | Bin 0 -> 98373 bytes static/weitu.472ce9a4.png | Bin 0 -> 30547 bytes static/用户导入模版.1704e55b.xlsx | Bin 0 -> 9173 bytes t__plugin-layout__Layout.20d7a02d.async.js | 1 + t__plugin-layout__Layout.8f39539f.chunk.css | 1 + umi.2e44a63a.css | 1 + umi.4b24c464.js | 329 ++++++++++++++++++ 254 files changed, 1635 insertions(+) create mode 100644 .DS_Store create mode 100644 1053.6f06420e.async.js create mode 100644 1084.cc852cbb.async.js create mode 100644 1390.10392c5c.async.js create mode 100644 1414.4fe5ed28.async.js create mode 100644 1446.94925180.async.js create mode 100644 1524.d8a0a443.async.js create mode 100644 1639.f2847651.async.js create mode 100644 1650.a65c34d5.async.js create mode 100644 1651.f8619ea1.async.js create mode 100644 1660.503a6d49.async.js create mode 100644 1706.39b1cdd1.async.js create mode 100644 177.db7eb3a9.async.js create mode 100644 1770.1bb612b0.async.js create mode 100644 1873.07cc722d.async.js create mode 100644 1920.32fd4f70.async.js create mode 100644 2040.405dea60.async.js create mode 100644 2119.c6bd2e3d.async.js create mode 100644 2136.b706c7fd.async.js create mode 100644 2200.1577ffdd.async.js create mode 100644 228.caff6748.async.js create mode 100644 2314.8840fb6b.async.js create mode 100644 2386.8f6d8070.async.js create mode 100644 2406.44bbe905.async.js create mode 100644 2427.7cb29136.async.js create mode 100644 2517.4822cb32.async.js create mode 100644 2542.1174e314.async.js create mode 100644 2554.979d991d.async.js create mode 100644 2602.596d9708.async.js create mode 100644 2675.dc6973c1.async.js create mode 100644 2877.555f02f2.async.js create mode 100644 3014.995570cc.async.js create mode 100644 305.81fb0537.async.js create mode 100644 310.415837ba.async.js create mode 100644 3127.4cc2c42d.async.js create mode 100644 3203.edcdf85c.async.js create mode 100644 3236.e8b071bc.async.js create mode 100644 3283.f6b63521.async.js create mode 100644 3314.5b617c65.async.js create mode 100644 3465.f527bf04.async.js create mode 100644 3471.6aaf281a.async.js create mode 100644 3482.bb0baee2.async.js create mode 100644 3509.4a22931e.async.js create mode 100644 3519.7b9143ba.async.js create mode 100644 368.d311c97a.async.js create mode 100644 370.2996a58c.async.js create mode 100644 3725.f2bc4aff.async.js create mode 100644 3747.58d7269f.async.js create mode 100644 3863.30b7f165.async.js create mode 100644 3883.6c521ca9.async.js create mode 100644 3993.91b47ce9.async.js create mode 100644 402.bcd5782d.async.js create mode 100644 4144.62792909.async.js create mode 100644 4212.2c646e7b.async.js create mode 100644 4293.1817728b.async.js create mode 100644 4323.3fbc1c4d.async.js create mode 100644 44.346a4bd5.async.js create mode 100644 4439.6c9314f0.async.js create mode 100644 4511.3b2d1393.async.js create mode 100644 4654.6a2cf9eb.async.js create mode 100644 4796.089b4ee6.async.js create mode 100644 4812.ea63ac14.async.js create mode 100644 4879.563e4adf.async.js create mode 100644 4988.1a74489a.async.js create mode 100644 5134.ac4c5d92.async.js create mode 100644 520.5ead1ed0.async.js create mode 100644 5372.a8ce2f11.async.js create mode 100644 5648.568eba5d.async.js create mode 100644 5742.f857eb0b.async.js create mode 100644 5753.8bb95fa6.async.js create mode 100644 5815.b3ff0e31.async.js create mode 100644 5819.c90c6bb1.async.js create mode 100644 5879.3525ea43.async.js create mode 100644 590.14c44e22.async.js create mode 100644 6062.ee672398.async.js create mode 100644 6092.9ce63da5.async.js create mode 100644 6121.3e8f74fa.async.js create mode 100644 617.9d506370.async.js create mode 100644 6365.04b5d571.async.js create mode 100644 6390.4a729fd0.async.js create mode 100644 6395.395c75b7.async.js create mode 100644 6443.4bf08463.async.js create mode 100644 6471.c64b9efd.async.js create mode 100644 6665.bcc6b022.async.js create mode 100644 6692.5a4da5c9.async.js create mode 100644 673.342322df.async.js create mode 100644 6732.ef34d743.async.js create mode 100644 6991.28f9561b.async.js create mode 100644 7001.e07fe66a.async.js create mode 100644 7213.5b3b2eb2.async.js create mode 100644 7224.f60a04d6.async.js create mode 100644 7315.d0dff392.async.js create mode 100644 7365.e910f562.async.js create mode 100644 7370.4e6718da.async.js create mode 100644 7421.7b903b65.async.js create mode 100644 7475.0964998b.async.js create mode 100644 7482.cfc2a864.async.js create mode 100644 7525.d9bbebe7.async.js create mode 100644 755.23be05b2.async.js create mode 100644 758.ce404205.async.js create mode 100644 7590.55c5cd2d.async.js create mode 100644 7601.23579a16.async.js create mode 100644 7650.394e351f.async.js create mode 100644 7663.078a046a.async.js create mode 100644 7673.589aa50e.async.js create mode 100644 772.e255a86a.async.js create mode 100644 7762.56e92821.async.js create mode 100644 7917.a0d18c02.async.js create mode 100644 7988.f8614718.async.js create mode 100644 8007.d927e8c9.async.js create mode 100644 8029.e8f5ec11.async.js create mode 100644 8142.729273dc.async.js create mode 100644 8171.380cfcab.async.js create mode 100644 8211.03f86053.async.js create mode 100644 8211.d1b67c7c.chunk.css create mode 100644 8283.a6ea35b7.async.js create mode 100644 8393.06ae0e31.async.js create mode 100644 8561.d7484e21.async.js create mode 100644 870.b38c1fc5.async.js create mode 100644 8703.228c22a3.async.js create mode 100644 8770.a92b6409.async.js create mode 100644 8813.124c03de.async.js create mode 100644 889.beff9c88.async.js create mode 100644 89.6b81c89b.async.js create mode 100644 8910.29872783.async.js create mode 100644 8915.118da73e.async.js create mode 100644 9071.1dfcc0a8.async.js create mode 100644 9121.ca79bcfb.async.js create mode 100644 9155.77d09dca.async.js create mode 100644 9232.b273f525.async.js create mode 100644 9296.ddaba291.async.js create mode 100644 9558.ebeebbdc.async.js create mode 100644 9607.36d8d4dc.async.js create mode 100644 9651.04ef4834.async.js create mode 100644 9713.d4da23c0.async.js create mode 100644 972.0d089059.async.js create mode 100644 973.f4502590.async.js create mode 100644 9781.181cb6fe.async.js create mode 100644 9831.76b23222.async.js create mode 100644 9905.2b263b54.async.js create mode 100644 9972.0c9316d1.async.js create mode 100644 CNAME create mode 100644 favicon.ico create mode 100644 icons/icon-128x128.png create mode 100644 icons/icon-192x192.png create mode 100644 icons/icon-512x512.png create mode 100644 index.html create mode 100644 p__404.dc5be021.async.js create mode 100644 p__College__CollegeList__index.a61d6ab5.async.js create mode 100644 p__College__CollegeList__index.a849af0e.chunk.css create mode 100644 p__College__Laboratory__index.4bf78dd5.async.js create mode 100644 p__College__Laboratory__index.a3c7e1ff.chunk.css create mode 100644 p__Examine__AuditSettings__index.2595fca1.async.js create mode 100644 p__Examine__CourseReview__index.7a5f3f0d.chunk.css create mode 100644 p__Examine__CourseReview__index.e6b6397f.async.js create mode 100644 p__Examine__ShixunRelease__index.51d0c1b2.async.js create mode 100644 p__Examine__ShixunRelease__index.b31f8c39.chunk.css create mode 100644 p__Index__index.26202ce8.chunk.css create mode 100644 p__Index__index.70e2f42f.async.js create mode 100644 p__Login__index.97f8fabe.chunk.css create mode 100644 p__Login__index.cd4a9466.async.js create mode 100644 p__OnlineDevice__DeviceInfo__InfoList__Details__index.c75719a4.chunk.css create mode 100644 p__OnlineDevice__DeviceInfo__InfoList__Details__index.d82c5a38.async.js create mode 100644 p__OnlineDevice__DeviceInfo__InfoList__Edit__index.6dc5363f.chunk.css create mode 100644 p__OnlineDevice__DeviceInfo__InfoList__Edit__index.8ae101d8.async.js create mode 100644 p__OnlineDevice__DeviceInfo__InfoList__ReservationInfo__index.3f63356e.async.js create mode 100644 p__OnlineDevice__DeviceInfo__InfoList__ReservationInfo__index.57d88702.chunk.css create mode 100644 p__OnlineDevice__DeviceInfo__index.46ffe6aa.async.js create mode 100644 p__OnlineDevice__DeviceInfo__index.70c8b906.chunk.css create mode 100644 p__OnlineDevice__DeviceLabel__index.9362537a.chunk.css create mode 100644 p__OnlineDevice__DeviceLabel__index.d10e0bc4.async.js create mode 100644 p__OnlineDevice__DeviceType__Details__index.9ec669a8.async.js create mode 100644 p__OnlineDevice__DeviceType__Details__index.cfdf31e6.chunk.css create mode 100644 p__OnlineDevice__DeviceType__index.899d5433.async.js create mode 100644 p__OnlineDevice__DeviceType__index.d1772d13.chunk.css create mode 100644 p__OnlineDevice__DigitalSigns__index.3eabb273.chunk.css create mode 100644 p__OnlineDevice__DigitalSigns__index.a71b6672.async.js create mode 100644 p__OnlineDevice__FaultLibrary__index.26c2c57f.chunk.css create mode 100644 p__OnlineDevice__FaultLibrary__index.d0c27f1f.async.js create mode 100644 p__OnlineMessageCenter__MessageCenterManage__index.0af2d459.async.js create mode 100644 p__OnlineMessageCenter__MessageCenterManage__index.ef9ee4cd.chunk.css create mode 100644 p__OnlineMessageCenter__OffSiteConfig__index.667a3adb.chunk.css create mode 100644 p__OnlineMessageCenter__OffSiteConfig__index.f5503807.async.js create mode 100644 p__OnlineReservation__ReservationInfo__index.46941396.chunk.css create mode 100644 p__OnlineReservation__ReservationInfo__index.5d66dc23.async.js create mode 100644 p__PilotProjects__EnvironmentLibrary__Edit__index.bc149329.chunk.css create mode 100644 p__PilotProjects__EnvironmentLibrary__Edit__index.d1318c43.async.js create mode 100644 p__PilotProjects__EnvironmentLibrary__ScriptList__Edit__index.9c95c2cb.async.js create mode 100644 p__PilotProjects__EnvironmentLibrary__ScriptList__Edit__index.a4d49c88.chunk.css create mode 100644 p__PilotProjects__EnvironmentLibrary__ScriptList__index.c07ebee3.chunk.css create mode 100644 p__PilotProjects__EnvironmentLibrary__ScriptList__index.d69bd3c4.async.js create mode 100644 p__PilotProjects__EnvironmentLibrary__index.42d5e16f.async.js create mode 100644 p__PilotProjects__EnvironmentLibrary__index.a9b8b5a9.chunk.css create mode 100644 p__PilotProjects__MirrorEnvironment__Edit__index.c423340b.chunk.css create mode 100644 p__PilotProjects__MirrorEnvironment__Edit__index.d8239dcf.async.js create mode 100644 p__PilotProjects__MirrorEnvironment__index.331123c2.chunk.css create mode 100644 p__PilotProjects__MirrorEnvironment__index.c0cb34fc.async.js create mode 100644 p__PilotProjects__ProjectsList__index.785e4412.chunk.css create mode 100644 p__PilotProjects__ProjectsList__index.fb2a0031.async.js create mode 100644 p__PilotProjects__RecycleBin__index.319164c7.async.js create mode 100644 p__PilotProjects__RecycleBin__index.87344f6b.chunk.css create mode 100644 p__PilotProjects__TemplateRecommended__index.869247a6.chunk.css create mode 100644 p__PilotProjects__TemplateRecommended__index.9795aa6f.async.js create mode 100644 p__Property__Procurement__index.1427999a.chunk.css create mode 100644 p__Property__Procurement__index.beaf0ae5.async.js create mode 100644 p__Property__index.42879f36.chunk.css create mode 100644 p__Property__index.a6a41594.async.js create mode 100644 p__System__CourseDirection__index.844c7693.async.js create mode 100644 p__System__CourseDirection__index.ef6f8fd8.chunk.css create mode 100644 p__System__CourseKnowledge__index.908914fb.async.js create mode 100644 p__System__CourseKnowledge__index.bf5af65a.chunk.css create mode 100644 p__System__CourseSystem__index.5821c7dd.chunk.css create mode 100644 p__System__CourseSystem__index.c1d4052f.async.js create mode 100644 p__System__EnvirSystem__index.28518c23.async.js create mode 100644 p__System__EnvirSystem__index.96807739.chunk.css create mode 100644 p__User__UserList__Details__index.beb61ad5.chunk.css create mode 100644 p__User__UserList__Details__index.de9b6d83.async.js create mode 100644 p__User__UserList__Edit__index.443e927f.async.js create mode 100644 p__User__UserList__Edit__index.5a343776.chunk.css create mode 100644 p__User__UserList__index.36e3f339.chunk.css create mode 100644 p__User__UserList__index.70f72bee.async.js create mode 100644 scripts/loading.js create mode 100644 static/analysis_background.a44e2841.png create mode 100644 static/behavior_background.8c74c7df.png create mode 100644 static/caigou_background.fdade189.png create mode 100644 static/device_kongxian.fdd72819.png create mode 100644 static/device_list_info_background.f1fda469.png create mode 100644 static/device_yichang.3c21d5b7.png create mode 100644 static/device_yunxing.8582f0fb.png create mode 100644 static/device_zongshu.11de2e0b.png create mode 100644 static/go_back.2b7d46d8.png create mode 100644 static/go_back_hover.0880f1f9.png create mode 100644 static/incomplete_img.747b6144.png create mode 100644 static/index_header.c630f3c3.png create mode 100644 static/index_title_device.2098490b.png create mode 100644 static/index_title_time.b29a1e19.png create mode 100644 static/left_device.55a5c135.png create mode 100644 static/left_message.654c0aad.png create mode 100644 static/login_bj_img.4d39c0fb.png create mode 100644 static/nodata_1.ca33aea4.png create mode 100644 static/nodata_2.667eb393.png create mode 100644 static/nodata_3.ecb7893b.png create mode 100644 static/right_device.931449e1.png create mode 100644 static/right_info.b3021056.png create mode 100644 static/sidebar_bkimg.ea81cde8.png create mode 100644 static/statistics_background.a08c6eb4.png create mode 100644 static/table_background.688c9c76.png create mode 100644 static/warning_img.35d7ec9a.png create mode 100644 static/weitu.472ce9a4.png create mode 100644 static/用户导入模版.1704e55b.xlsx create mode 100644 t__plugin-layout__Layout.20d7a02d.async.js create mode 100644 t__plugin-layout__Layout.8f39539f.chunk.css create mode 100644 umi.2e44a63a.css create mode 100644 umi.4b24c464.js diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..e1359d90ab8533e044fa9bee2b7c5bebf92b5535 GIT binary patch literal 124932 zcmeI5Ta2C8b>GkEN?Q^w+mdYgBGZ;F-^aXDj2%W2Dcg)CiWV8EN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FlitLx{^uCAYz zcik&5@sRF((|r04`B|;O_)b@-srxko8!=jWGe6n5?MN| z<7ao8F+OT2@}zLK?v29p!8_;wj97KD%IoPOAN*F|p;oX;4e#%hXr!4~k3LPO=X8}l`!Xzo_pB(DEGKgP3F;m-xfPm$X(HaL$ng$ z!dG*5PdzBOYObT&GN{s~CRF1*3c4@IDGZ$hPE3cCp^X#WaIEw0w~dT{N-$OJGlWTb zujwI;PjS;K6_r19P`FnFYVCc`AR}t3QSlJ6=R{+#$O!cufv)}PtgGJ}jyFK|CB2s( z%I$y4;QNf=tGdDB%W4Kan}&*%-qjjfe&RUSfh&B!MWHbvehkfxP}iUVkpHzm(U{<@LAn`Um;^ zL|*sGYnQwplh;Xk{a9XC<@LI}{y<)TBCkJ}*I&wKZvMGRftwWgfGMza+p$x}o)8dA zJwQkl?vmG!<;5S~_qu*9ACZ4}3qL29$bTeHwe)cTQ literal 0 HcmV?d00001 diff --git a/1053.6f06420e.async.js b/1053.6f06420e.async.js new file mode 100644 index 0000000000..81c14fd142 --- /dev/null +++ b/1053.6f06420e.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[1053],{21053:function(p,l,c){c.r(l),c.d(l,{ez80:function(){return s},z80:function(){return f}});function u(d){var i,t;d?(i=/^(exx?|(ld|cp)([di]r?)?|[lp]ea|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|[de]i|halt|im|in([di]mr?|ir?|irx|2r?)|ot(dmr?|[id]rx|imr?)|out(0?|[di]r?|[di]2r?)|tst(io)?|slp)(\.([sl]?i)?[sl])?\b/i,t=/^(((call|j[pr]|rst|ret[in]?)(\.([sl]?i)?[sl])?)|(rs|st)mix)\b/i):(i=/^(exx?|(ld|cp|in)([di]r?)?|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|rst|[de]i|halt|im|ot[di]r|out[di]?)\b/i,t=/^(call|j[pr]|ret[in]?|b_?(call|jump))\b/i);var a=/^(af?|bc?|c|de?|e|hl?|l|i[xy]?|r|sp)\b/i,b=/^(n?[zc]|p[oe]?|m)\b/i,x=/^([hl][xy]|i[xy][hl]|slia|sll)\b/i,o=/^([\da-f]+h|[0-7]+o|[01]+b|\d+d?)\b/i;return{name:"z80",startState:function(){return{context:0}},token:function(e,n){if(e.column()||(n.context=0),e.eatSpace())return null;var r;if(e.eatWhile(/\w/))if(d&&e.eat(".")&&e.eatWhile(/\w/),r=e.current(),e.indentation()){if((n.context==1||n.context==4)&&a.test(r))return n.context=4,"variable";if(n.context==2&&b.test(r))return n.context=4,"variableName.special";if(i.test(r))return n.context=1,"keyword";if(t.test(r))return n.context=2,"keyword";if(n.context==4&&o.test(r))return"number";if(x.test(r))return"error"}else return e.match(o)?"number":null;else{if(e.eat(";"))return e.skipToEnd(),"comment";if(e.eat('"')){for(;(r=e.next())&&r!='"';)r=="\\"&&e.next();return"string"}else if(e.eat("'")){if(e.match(/\\?.'/))return"number"}else if(e.eat(".")||e.sol()&&e.eat("#")){if(n.context=5,e.eatWhile(/\w/))return"def"}else if(e.eat("$")){if(e.eatWhile(/[\da-f]/i))return"number"}else if(e.eat("%")){if(e.eatWhile(/[01]/))return"number"}else e.next()}return null}}}const f=u(!1),s=u(!0)}}]); diff --git a/1084.cc852cbb.async.js b/1084.cc852cbb.async.js new file mode 100644 index 0000000000..008f9ba247 --- /dev/null +++ b/1084.cc852cbb.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[1084],{41084:function(b,c,f){f.r(c),f.d(c,{jinja2:function(){return d}});var l=["and","as","block","endblock","by","cycle","debug","else","elif","extends","filter","endfilter","firstof","do","for","endfor","if","endif","ifchanged","endifchanged","ifequal","endifequal","ifnotequal","set","raw","endraw","endifnotequal","in","include","load","not","now","or","parsed","regroup","reversed","spaceless","call","endcall","macro","endmacro","endspaceless","ssi","templatetag","openblock","closeblock","openvariable","closevariable","without","context","openbrace","closebrace","opencomment","closecomment","widthratio","url","with","endwith","get_current_language","trans","endtrans","noop","blocktrans","endblocktrans","get_available_languages","get_current_language_bidi","pluralize","autoescape","endautoescape"],u=/^[+\-*&%=<>!?|~^]/,a=/^[:\[\(\{]/,o=["true","false"],r=/^(\d[+\-\*\/])?\d+(\.\d+)?/;l=new RegExp("(("+l.join(")|(")+"))\\b"),o=new RegExp("(("+o.join(")|(")+"))\\b");function g(n,e){var i=n.peek();if(e.incomment)return n.skipTo("#}")?(n.eatWhile(/\#|}/),e.incomment=!1):n.skipToEnd(),"comment";if(e.intag){if(e.operator){if(e.operator=!1,n.match(o))return"atom";if(n.match(r))return"number"}if(e.sign){if(e.sign=!1,n.match(o))return"atom";if(n.match(r))return"number"}if(e.instring)return i==e.instring&&(e.instring=!1),n.next(),"string";if(i=="'"||i=='"')return e.instring=i,n.next(),"string";if(e.inbraces>0&&i==")")n.next(),e.inbraces--;else if(i=="(")n.next(),e.inbraces++;else if(e.inbrackets>0&&i=="]")n.next(),e.inbrackets--;else if(i=="[")n.next(),e.inbrackets++;else{if(!e.lineTag&&(n.match(e.intag+"}")||n.eat("-")&&n.match(e.intag+"}")))return e.intag=!1,"tag";if(n.match(u))return e.operator=!0,"operator";if(n.match(a))e.sign=!0;else{if(n.column()==1&&e.lineTag&&n.match(l))return"keyword";if(n.eat(" ")||n.sol()){if(n.match(l))return"keyword";if(n.match(o))return"atom";if(n.match(r))return"number";n.sol()&&n.next()}else n.next()}}return"variable"}else if(n.eat("{")){if(n.eat("#"))return e.incomment=!0,n.skipTo("#}")?(n.eatWhile(/\#|}/),e.incomment=!1):n.skipToEnd(),"comment";if(i=n.eat(/\{|%/))return e.intag=i,e.inbraces=0,e.inbrackets=0,i=="{"&&(e.intag="}"),n.eat("-"),"tag"}else if(n.eat("#")){if(n.peek()=="#")return n.skipToEnd(),"comment";if(!n.eol())return e.intag=!0,e.lineTag=!0,e.inbraces=0,e.inbrackets=0,"tag"}n.next()}const d={name:"jinja2",startState:function(){return{tokenize:g,inbrackets:0,inbraces:0}},token:function(n,e){var i=e.tokenize(n,e);return n.eol()&&e.lineTag&&!e.instring&&e.inbraces==0&&e.inbrackets==0&&(e.intag=!1,e.lineTag=!1),i},languageData:{commentTokens:{block:{open:"{#",close:"#}",line:"##"}}}}}}]); diff --git a/1390.10392c5c.async.js b/1390.10392c5c.async.js new file mode 100644 index 0000000000..24d5d46af2 --- /dev/null +++ b/1390.10392c5c.async.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[1390],{21390:function(Ge,X,v){v.r(X),v.d(X,{Cassandra:function(){return Ae},MSSQL:function(){return Ve},MariaSQL:function(){return Ze},MySQL:function(){return Me},PLSQL:function(){return $e},PostgreSQL:function(){return je},SQLDialect:function(){return c},SQLite:function(){return We},StandardSQL:function(){return S},keywordCompletion:function(){return ee},keywordCompletionSource:function(){return H},schemaCompletion:function(){return re},schemaCompletionSource:function(){return te},sql:function(){return Je}});var y=v(59119),i=v(35524),R=v(53105),E=v(34790);const oe=36,I=1,se=2,k=3,q=4,le=5,ce=6,de=7,me=8,ue=9,fe=10,pe=11,ge=12,he=13,_e=14,be=15,ve=16,ye=17,J=18,Oe=19,j=20,M=21,Z=22,ke=23,xe=24;function T(t){return t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57}function we(t){return t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=70}function g(t,e,a){for(let r=!1;;){if(t.next<0)return;if(t.next==e&&!r){t.advance();return}r=a&&!r&&t.next==92,t.advance()}}function Qe(t){for(;;){if(t.next<0||t.peek(1)<0)return;if(t.next==36&&t.peek(1)==36){t.advance(2);return}t.advance()}}function Se(t,e){let a="[{<(".indexOf(String.fromCharCode(e)),r=a<0?e:"]}>)".charCodeAt(a);for(;;){if(t.next<0)return;if(t.next==r&&t.peek(1)==39){t.advance(2);return}t.advance()}}function V(t,e){for(;!(t.next!=95&&!T(t.next));)e!=null&&(e+=String.fromCharCode(t.next)),t.advance();return e}function Ce(t){if(t.next==39||t.next==34||t.next==96){let e=t.next;t.advance(),g(t,e,!1)}else V(t)}function W(t,e){for(;t.next==48||t.next==49;)t.advance();e&&t.next==e&&t.advance()}function A(t,e){for(;;){if(t.next==46){if(e)break;e=!0}else if(t.next<48||t.next>57)break;t.advance()}if(t.next==69||t.next==101)for(t.advance(),(t.next==43||t.next==45)&&t.advance();t.next>=48&&t.next<=57;)t.advance()}function $(t){for(;!(t.next<0||t.next==10);)t.advance()}function h(t,e){for(let a=0;a!=&|~^/",specialVar:"?",identifierQuotes:'"',words:K(b,_)};function Pe(t,e,a,r){let n={};for(let s in L)n[s]=(t.hasOwnProperty(s)?t:L)[s];return e&&(n.words=K(e,a||"",r)),n}function N(t){return new R.Jq(e=>{var a;let{next:r}=e;if(e.advance(),h(r,U)){for(;h(e.next,U);)e.advance();e.acceptToken(oe)}else if(r==36&&e.next==36&&t.doubleDollarQuotedStrings)Qe(e),e.acceptToken(k);else if(r==39||r==34&&t.doubleQuotedStrings)g(e,r,t.backslashEscapes),e.acceptToken(k);else if(r==35&&t.hashComments||r==47&&e.next==47&&t.slashComments)$(e),e.acceptToken(I);else if(r==45&&e.next==45&&(!t.spaceAfterDashes||e.peek(1)==32))$(e),e.acceptToken(I);else if(r==47&&e.next==42){e.advance();for(let n=1;;){let s=e.next;if(e.next<0)break;if(e.advance(),s==42&&e.next==47){if(n--,e.advance(),!n)break}else s==47&&e.next==42&&(n++,e.advance())}e.acceptToken(se)}else if((r==101||r==69)&&e.next==39)e.advance(),g(e,39,!0);else if((r==110||r==78)&&e.next==39&&t.charSetCasts)e.advance(),g(e,39,t.backslashEscapes),e.acceptToken(k);else if(r==95&&t.charSetCasts)for(let n=0;;n++){if(e.next==39&&n>1){e.advance(),g(e,39,t.backslashEscapes),e.acceptToken(k);break}if(!T(e.next))break;e.advance()}else if(t.plsqlQuotingMechanism&&(r==113||r==81)&&e.next==39&&e.peek(1)>0&&!h(e.peek(1),U)){let n=e.peek(1);e.advance(2),Se(e,n),e.acceptToken(k)}else if(r==40)e.acceptToken(de);else if(r==41)e.acceptToken(me);else if(r==123)e.acceptToken(ue);else if(r==125)e.acceptToken(fe);else if(r==91)e.acceptToken(pe);else if(r==93)e.acceptToken(ge);else if(r==59)e.acceptToken(he);else if(t.unquotedBitLiterals&&r==48&&e.next==98)e.advance(),W(e),e.acceptToken(Z);else if((r==98||r==66)&&(e.next==39||e.next==34)){const n=e.next;e.advance(),t.treatBitsAsBytes?(g(e,n,t.backslashEscapes),e.acceptToken(ke)):(W(e,n),e.acceptToken(Z))}else if(r==48&&(e.next==120||e.next==88)||(r==120||r==88)&&e.next==39){let n=e.next==39;for(e.advance();we(e.next);)e.advance();n&&e.next==39&&e.advance(),e.acceptToken(q)}else if(r==46&&e.next>=48&&e.next<=57)A(e,!0),e.acceptToken(q);else if(r==46)e.acceptToken(_e);else if(r>=48&&r<=57)A(e,!1),e.acceptToken(q);else if(h(r,t.operatorChars)){for(;h(e.next,t.operatorChars);)e.advance();e.acceptToken(be)}else if(h(r,t.specialVar))e.next==r&&e.advance(),Ce(e),e.acceptToken(ye);else if(h(r,t.identifierQuotes))g(e,r,!1),e.acceptToken(Oe);else if(r==58||r==44)e.acceptToken(ve);else if(T(r)){let n=V(e,String.fromCharCode(r));e.acceptToken(e.next==46?J:(a=t.words[n.toLowerCase()])!==null&&a!==void 0?a:J)}})}const G=N(L),qe=R.WQ.deserialize({version:14,states:"%vQ]QQOOO#wQRO'#DSO$OQQO'#CwO%eQQO'#CxO%lQQO'#CyO%sQQO'#CzOOQQ'#DS'#DSOOQQ'#C}'#C}O'UQRO'#C{OOQQ'#Cv'#CvOOQQ'#C|'#C|Q]QQOOQOQQOOO'`QQO'#DOO(xQRO,59cO)PQQO,59cO)UQQO'#DSOOQQ,59d,59dO)cQQO,59dOOQQ,59e,59eO)jQQO,59eOOQQ,59f,59fO)qQQO,59fOOQQ-E6{-E6{OOQQ,59b,59bOOQQ-E6z-E6zOOQQ,59j,59jOOQQ-E6|-E6|O+VQRO1G.}O+^QQO,59cOOQQ1G/O1G/OOOQQ1G/P1G/POOQQ1G/Q1G/QP+kQQO'#C}O+rQQO1G.}O)PQQO,59cO,PQQO'#Cw",stateData:",[~OtOSPOSQOS~ORUOSUOTUOUUOVROXSOZTO]XO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O^]ORvXSvXTvXUvXVvXXvXZvX]vX_vX`vXavXbvXcvXdvXevXfvXgvXhvX~OsvX~P!jOa_Ob_Oc_O~ORUOSUOTUOUUOVROXSOZTO^tO_UO`UOa`Ob`Oc`OdUOeUOfUOgUOhUO~OWaO~P$ZOYcO~P$ZO[eO~P$ZORUOSUOTUOUUOVROXSOZTO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O]hOsoX~P%zOajObjOcjO~O^]ORkaSkaTkaUkaVkaXkaZka]ka_ka`kaakabkackadkaekafkagkahka~Oska~P'kO^]O~OWvXYvX[vX~P!jOWnO~P$ZOYoO~P$ZO[pO~P$ZO^]ORkiSkiTkiUkiVkiXkiZki]ki_ki`kiakibkickidkiekifkigkihki~Oski~P)xOWkaYka[ka~P'kO]hO~P$ZOWkiYki[ki~P)xOasObsOcsO~O",goto:"#hwPPPPPPPPPPPPPPPPPPPPPPPPPPx||||!Y!^!d!xPPP#[TYOZeUORSTWZbdfqT[OZQZORiZSWOZQbRQdSQfTZgWbdfqQ^PWk^lmrQl_Qm`RrseVORSTWZbdfq",nodeNames:"\u26A0 LineComment BlockComment String Number Bool Null ( ) { } [ ] ; . Operator Punctuation SpecialVar Identifier QuotedIdentifier Keyword Type Bits Bytes Builtin Script Statement CompositeIdentifier Parens Braces Brackets Statement",maxTerm:38,skippedNodes:[0,1,2],repeatNodeCount:3,tokenData:"RORO",tokenizers:[0,G],topRules:{Script:[0,25]},tokenPrec:0});function B(t){let e=t.cursor().moveTo(t.from,-1);for(;/Comment/.test(e.name);)e.moveTo(e.from,-1);return e.node}function x(t,e){let a=t.sliceString(e.from,e.to),r=/^([`'"])(.*)\1$/.exec(a);return r?r[2]:a}function Q(t){return t&&(t.name=="Identifier"||t.name=="QuotedIdentifier")}function Te(t,e){if(e.name=="CompositeIdentifier"){let a=[];for(let r=e.firstChild;r;r=r.nextSibling)Q(r)&&a.push(x(t,r));return a}return[x(t,e)]}function F(t,e){for(let a=[];;){if(!e||e.name!=".")return a;let r=B(e);if(!Q(r))return a;a.unshift(x(t,r)),e=B(r)}}function Ue(t,e){let a=(0,y.qz)(t).resolveInner(e,-1),r=Be(t.doc,a);return a.name=="Identifier"||a.name=="QuotedIdentifier"||a.name=="Keyword"?{from:a.from,quoted:a.name=="QuotedIdentifier"?t.doc.sliceString(a.from,a.from+1):null,parents:F(t.doc,B(a)),aliases:r}:a.name=="."?{from:e,quoted:null,parents:F(t.doc,a),aliases:r}:{from:e,quoted:null,parents:[],empty:!0,aliases:r}}const Le=new Set("where group having order union intersect except all distinct limit offset fetch for".split(" "));function Be(t,e){let a;for(let n=e;!a;n=n.parent){if(!n)return null;n.name=="Statement"&&(a=n)}let r=null;for(let n=a.firstChild,s=!1,f=null;n;n=n.nextSibling){let l=n.name=="Keyword"?t.sliceString(n.from,n.to).toLowerCase():null,d=null;if(!s)s=l=="from";else if(l=="as"&&f&&Q(n.nextSibling))d=x(t,n.nextSibling);else{if(l&&Le.has(l))break;f&&Q(n)&&(d=x(t,n))}d&&(r||(r=Object.create(null)),r[d]=Te(t,f)),f=/Identifier$/.test(n.name)?n:null}return r}function ze(t,e){return t?e.map(a=>Object.assign(Object.assign({},a),{label:t+a.label+t,apply:void 0})):e}const De=/^\w*$/,Xe=/^[`'"]?\w*[`'"]?$/;class z{constructor(){this.list=[],this.children=void 0}child(e,a){let r=this.children||(this.children=Object.create(null)),n=r[e];return n||(e&&this.list.push(Y(e,"type",a)),r[e]=new z)}addCompletions(e){for(let a of e){let r=this.list.findIndex(n=>n.label==a.label);r>-1?this.list[r]=a:this.list.push(a)}}}function Y(t,e,a){return/[^\w\xb5-\uffff]/.test(t)?{label:t,type:e,apply:a+t+a}:{label:t,type:e}}function Re(t,e,a,r,n,s){var f;let l=new z,d=((f=s==null?void 0:s.spec.identifierQuotes)===null||f===void 0?void 0:f[0])||'"',O=l.child(n||"",d);for(let u in t){let p=u.replace(/\\?\./g,o=>o=="."?"\0":o).split("\0"),w=p.length==1?O:l;for(let o of p)w=w.child(o.replace(/\\\./g,"."),d);for(let o of t[u])o&&w.list.push(typeof o=="string"?Y(o,"property",d):o)}return e&&O.addCompletions(e),a&&l.addCompletions(a),l.addCompletions(O.list),r&&l.addCompletions(O.child(r,d).list),u=>{let{parents:p,from:w,quoted:o,empty:Ke,aliases:C}=Ue(u.state,u.pos);if(Ke&&!u.explicit)return null;C&&p.length==1&&(p=C[p[0]]||p);let m=l;for(let P of p){for(;!m.children||!m.children[P];)if(m==l)m=O;else if(m==O&&r)m=m.child(r,d);else return null;m=m.child(P,d)}let Ne=o&&u.state.sliceDoc(u.pos,u.pos+1)==o,D=m.list;return m==l&&C&&(D=D.concat(Object.keys(C).map(P=>({label:P,type:"constant"})))),{from:w,to:Ne?u.pos+1:void 0,options:ze(o,D),validFor:o?Xe:De}}}function Ee(t,e){let a=Object.keys(t).map(r=>({label:e?r.toUpperCase():r,type:t[r]==M?"type":t[r]==j?"keyword":"variable",boost:-1}));return(0,E.eC)(["QuotedIdentifier","SpecialVar","String","LineComment","BlockComment","."],(0,E.Mb)(a))}let Ie=qe.configure({props:[y.uj.add({Statement:(0,y.tC)()}),y.x0.add({Statement(t){return{from:t.firstChild.to,to:t.to}},BlockComment(t){return{from:t.from+2,to:t.to-2}}}),(0,i.Gv)({Keyword:i.pJ.keyword,Type:i.pJ.typeName,Builtin:i.pJ.standard(i.pJ.name),Bits:i.pJ.number,Bytes:i.pJ.string,Bool:i.pJ.bool,Null:i.pJ.null,Number:i.pJ.number,String:i.pJ.string,Identifier:i.pJ.name,QuotedIdentifier:i.pJ.special(i.pJ.string),SpecialVar:i.pJ.special(i.pJ.name),LineComment:i.pJ.lineComment,BlockComment:i.pJ.blockComment,Operator:i.pJ.operator,"Semi Punctuation":i.pJ.punctuation,"( )":i.pJ.paren,"{ }":i.pJ.brace,"[ ]":i.pJ.squareBracket})]});class c{constructor(e,a,r){this.dialect=e,this.language=a,this.spec=r}get extension(){return this.language.extension}static define(e){let a=Pe(e,e.keywords,e.types,e.builtin),r=y.qp.define({name:"sql",parser:Ie.configure({tokenizers:[{from:G,to:N(a)}]}),languageData:{commentTokens:{line:"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}});return new c(a,r,e)}}function H(t,e=!1){return Ee(t.dialect.words,e)}function ee(t,e=!1){return t.language.data.of({autocomplete:H(t,e)})}function te(t){return t.schema?Re(t.schema,t.tables,t.schemas,t.defaultTable,t.defaultSchema,t.dialect||S):()=>null}function re(t){return t.schema?(t.dialect||S).language.data.of({autocomplete:te(t)}):[]}function Je(t={}){let e=t.dialect||S;return new y.ri(e.language,[re(t),ee(e,!!t.upperCaseKeywords)])}const S=c.define({}),je=c.define({charSetCasts:!0,doubleDollarQuotedStrings:!0,operatorChars:"+-*/<>=~!@#%^&|`?",specialVar:"",keywords:b+"a abort abs absent access according ada admin aggregate alias also always analyse analyze array_agg array_max_cardinality asensitive assert assignment asymmetric atomic attach attribute attributes avg backward base64 begin_frame begin_partition bernoulli bit_length blocked bom c cache called cardinality catalog_name ceil ceiling chain char_length character_length character_set_catalog character_set_name character_set_schema characteristics characters checkpoint class class_origin cluster coalesce cobol collation_catalog collation_name collation_schema collect column_name columns command_function command_function_code comment comments committed concurrently condition_number configuration conflict connection_name constant constraint_catalog constraint_name constraint_schema contains content control conversion convert copy corr cost covar_pop covar_samp csv cume_dist current_catalog current_row current_schema cursor_name database datalink datatype datetime_interval_code datetime_interval_precision db debug defaults defined definer degree delimiter delimiters dense_rank depends derived detach detail dictionary disable discard dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue document dump dynamic_function dynamic_function_code element elsif empty enable encoding encrypted end_frame end_partition endexec enforced enum errcode error event every exclude excluding exclusive exp explain expression extension extract family file filter final first_value flag floor following force foreach fortran forward frame_row freeze fs functions fusion g generated granted greatest groups handler header hex hierarchy hint id ignore ilike immediately immutable implementation implicit import include including increment indent index indexes info inherit inherits inline insensitive instance instantiable instead integrity intersection invoker isnull k key_member key_type label lag last_value lead leakproof least length library like_regex link listen ln load location lock locked log logged lower m mapping matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text min minvalue mod mode more move multiset mumps name namespace nfc nfd nfkc nfkd nil normalize normalized nothing notice notify notnull nowait nth_value ntile nullable nullif nulls number occurrences_regex octet_length octets off offset oids operator options ordering others over overlay overriding owned owner p parallel parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partition pascal passing passthrough password percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding prepared print_strict_params procedural procedures program publication query quote raise range rank reassign recheck recovery refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex rename repeatable replace replica requiring reset respect restart restore result_oid returned_cardinality returned_length returned_octet_length returned_sqlstate returning reverse routine_catalog routine_name routine_schema routines row_count row_number rowtype rule scale schema_name schemas scope scope_catalog scope_name scope_schema security selective self sensitive sequence sequences serializable server server_name setof share show simple skip slice snapshot source specific_name sqlcode sqlerror sqrt stable stacked standalone statement statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time t table_name tables tablesample tablespace temp template ties token top_level_count transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex trigger_catalog trigger_name trigger_schema trim trim_array truncate trusted type types uescape unbounded uncommitted unencrypted unlink unlisten unlogged unnamed untyped upper uri use_column use_variable user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema vacuum valid validate validator value_of var_pop var_samp varbinary variable_conflict variadic verbose version versioning views volatile warning whitespace width_bucket window within wrapper xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate yes",types:_+"bigint int8 bigserial serial8 varbit bool box bytea cidr circle precision float8 inet int4 json jsonb line lseg macaddr macaddr8 money numeric pg_lsn point polygon float4 int2 smallserial serial2 serial serial4 text timetz timestamptz tsquery tsvector txid_snapshot uuid xml"}),ae="accessible algorithm analyze asensitive authors auto_increment autocommit avg avg_row_length binlog btree cache catalog_name chain change changed checkpoint checksum class_origin client_statistics coalesce code collations columns comment committed completion concurrent consistent contains contributors convert database databases day_hour day_microsecond day_minute day_second delay_key_write delayed delimiter des_key_file dev_pop dev_samp deviance directory disable discard distinctrow div dual dumpfile enable enclosed ends engine engines enum errors escaped even event events every explain extended fast field fields flush force found_rows fulltext grants handler hash high_priority hosts hour_microsecond hour_minute hour_second ignore ignore_server_ids import index index_statistics infile innodb insensitive insert_method install invoker iterate keys kill linear lines list load lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modify mutex mysql_errno no_write_to_binlog offline offset one online optimize optionally outfile pack_keys parser partition partitions password phase plugin plugins prev processlist profile profiles purge query quick range read_write rebuild recover regexp relaylog remove rename reorganize repair repeatable replace require resume rlike row_format rtree schedule schema_name schemas second_microsecond security sensitive separator serializable server share show slave slow snapshot soname spatial sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result ssl starting starts std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace terminated triggers truncate uncommitted uninstall unlock upgrade use use_frm user_resources user_statistics utc_date utc_time utc_timestamp variables views warnings xa xor year_month zerofill",ne=_+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int1 int2 int3 int4 int8 float4 float8 varbinary varcharacter precision datetime unsigned signed",ie="charset clear edit ego help nopager notee nowarning pager print prompt quit rehash source status system tee",Me=c.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:b+"group_concat "+ae,types:ne,builtin:ie}),Ze=c.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:b+"always generated groupby_concat hard persistent shutdown soft virtual "+ae,types:ne,builtin:ie}),Ve=c.define({keywords:b+"trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec go if use index holdlock nolock nowait paglock pivot readcommitted readcommittedlock readpast readuncommitted repeatableread rowlock serializable snapshot tablock tablockx unpivot updlock with",types:_+"bigint smallint smallmoney tinyint money real text nvarchar ntext varbinary image hierarchyid uniqueidentifier sql_variant xml",builtin:"binary_checksum checksum connectionproperty context_info current_request_id error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big xact_state object_id",operatorChars:"*+-%<>!=^&|/",specialVar:"@"}),We=c.define({keywords:b+"abort analyze attach autoincrement conflict database detach exclusive fail glob ignore index indexed instead isnull notnull offset plan pragma query raise regexp reindex rename replace temp vacuum virtual",types:_+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int2 int8 unsigned signed real",builtin:"auth backup bail changes clone databases dbinfo dump echo eqp explain fullschema headers help import imposter indexes iotrace lint load log mode nullvalue once print prompt quit restore save scanstats separator shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width",operatorChars:"*+-%<>!=&|/~",identifierQuotes:'`"',specialVar:"@:?$"}),Ae=c.define({keywords:"add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime infinity NaN",types:_+"ascii bigint blob counter frozen inet list map static text timeuuid tuple uuid varint",slashComments:!0}),$e=c.define({keywords:b+"abort accept access add all alter and any arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body by case cast char_base check close cluster clusters colauth column comment commit compress connected constant constraint crash create current currval cursor data_base database dba deallocate debugoff debugon declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry exception exception_init exchange exclusive exists external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base of off offline on online only option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw rebuild record ref references refresh rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work",builtin:"appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define echo editfile embedded feedback flagger flush heading headsep instance linesize lno loboffset logsource longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar repfooter repheader serveroutput shiftinout show showmode spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout timing trimout trimspool ttitle underline verify version wrap",types:_+"ascii bfile bfilename bigserial bit blob dec long number nvarchar nvarchar2 serial smallint string text uid varchar2 xml",operatorChars:"*/+-%<>!=~",doubleQuotedStrings:!0,charSetCasts:!0,plsqlQuotingMechanism:!0})}}]); diff --git a/1414.4fe5ed28.async.js b/1414.4fe5ed28.async.js new file mode 100644 index 0000000000..879e5ff76d --- /dev/null +++ b/1414.4fe5ed28.async.js @@ -0,0 +1,9 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[1414],{1414:function(Ue,he,i){i.d(he,{Z:function(){return _t}});var v=i(74902),ae=i(94184),D=i.n(ae),X=i(82225),o=i(67294),ne=i(33603),S=i(65223);function ie(e){const[t,n]=o.useState(e);return o.useEffect(()=>{const r=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(r)}},[e]),t}var m=i(14747),f=i(50438),s=i(33507),b=i(45503),c=i(67968),u=e=>{const{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, + opacity ${e.motionDurationSlow} ${e.motionEaseInOut}, + transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,["&-active"]:{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}};const y=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},label:{fontSize:e.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},[`input[type='file']:focus, + input[type='radio']:focus, + input[type='checkbox']:focus`]:{outline:0,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),P=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},te=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},(0,m.Wf)(e)),y(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},P(e,e.controlHeightSM)),"&-large":Object.assign({},P(e,e.controlHeightLG))})}},be=e=>{const{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:l,labelRequiredMarkColor:d,labelColor:p,labelFontSize:E,labelHeight:C,labelColonMarginInlineStart:x,labelColonMarginInlineEnd:M,itemMarginBottom:$}=e;return{[t]:Object.assign(Object.assign({},(0,m.Wf)(e)),{marginBottom:$,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, + &-hidden.${l}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${e.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:C,color:p,fontSize:E,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:d,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:x,marginInlineEnd:M},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{["--ant-display"]:"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${l}-col-'"]):not([class*="' ${l}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:f.kr,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},ve=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label[class$='-24'], ${n}-label[class*='-24 ']`]:{[`& + ${n}-control`]:{minWidth:"unset"}}}}},ce=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${n}-label, + > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},Z=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),V=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:Z(e),[t]:{[n]:{flexWrap:"wrap",[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},ye=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-vertical`]:{[n]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${t}-item-control`]:{width:"100%"}}},[`${t}-vertical ${n}-label, + .${r}-col-24${n}-label, + .${r}-col-xl-24${n}-label`]:Z(e),[`@media (max-width: ${e.screenXSMax}px)`]:[V(e),{[t]:{[`.${r}-col-xs-24${n}-label`]:Z(e)}}],[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{[`.${r}-col-sm-24${n}-label`]:Z(e)}},[`@media (max-width: ${e.screenMDMax}px)`]:{[t]:{[`.${r}-col-md-24${n}-label`]:Z(e)}},[`@media (max-width: ${e.screenLGMax}px)`]:{[t]:{[`.${r}-col-lg-24${n}-label`]:Z(e)}}}},re=(e,t)=>(0,b.TS)(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t});var oe=(0,c.Z)("Form",(e,t)=>{let{rootPrefixCls:n}=t;const r=re(e,n);return[te(r),be(r),u(r),ve(r),ce(r),ye(r),(0,s.Z)(r),f.kr]},e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const le=[];function O(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof e=="string"?e:`${t}-${r}`,error:e,errorStatus:n}}var de=e=>{let{help:t,helpStatus:n,errors:r=le,warnings:l=le,className:d,fieldId:p,onVisibleChanged:E}=e;const{prefixCls:C}=o.useContext(S.Rk),x=`${C}-item-explain`,[,M]=oe(C),$=(0,o.useMemo)(()=>(0,ne.Z)(C),[C]),B=ie(r),W=ie(l),z=o.useMemo(()=>t!=null?[O(t,"help",n)]:[].concat((0,v.Z)(B.map((K,N)=>O(K,"error","error",N))),(0,v.Z)(W.map((K,N)=>O(K,"warning","warning",N)))),[t,n,B,W]),G={};return p&&(G.id=`${p}_help`),o.createElement(X.ZP,{motionDeadline:$.motionDeadline,motionName:`${C}-show-help`,visible:!!z.length,onVisibleChanged:E},K=>{const{className:N,style:h}=K;return o.createElement("div",Object.assign({},G,{className:D()(x,N,d,M),style:h,role:"alert"}),o.createElement(X.V4,Object.assign({keys:z},(0,ne.Z)(C),{motionName:`${C}-show-help-item`,component:!1}),j=>{const{key:L,error:F,errorStatus:R,className:q,style:_}=j;return o.createElement("div",{key:L,className:D()(q,{[`${x}-${R}`]:R}),style:_},F)}))})},H=i(43589),Ce=i(53124),Y=i(98866),I=i(97647),g=i(98675),ue=i(17423);const Fe=["parentNode"],w="form_item";function fe(e){return e===void 0||e===!1?[]:Array.isArray(e)?e:[e]}function me(e,t){if(!e.length)return;const n=e.join("_");return t?`${t}_${n}`:Fe.includes(n)?`${w}_${n}`:n}function xe(e,t,n,r,l,d){let p=r;return d!==void 0?p=d:n.validating?p="validating":e.length?p="error":t.length?p="warning":(n.touched||l&&n.validated)&&(p="success"),p}function je(e){return fe(e).join("_")}function Re(e){const[t]=(0,H.cI)(),n=o.useRef({}),r=o.useMemo(()=>e!=null?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:l=>d=>{const p=je(l);d?n.current[p]=d:delete n.current[p]}},scrollToField:function(l){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const p=fe(l),E=me(p,r.__INTERNAL__.name),C=E?document.getElementById(E):null;C&&(0,ue.Z)(C,Object.assign({scrollMode:"if-needed",block:"nearest"},d))},getFieldInstance:l=>{const d=je(l);return n.current[d]}}),[e,t]);return[r]}var We=i(37920),ge=function(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 l=0,r=Object.getOwnPropertySymbols(e);l{const n=o.useContext(Y.Z),{getPrefixCls:r,direction:l,form:d}=o.useContext(Ce.E_),{prefixCls:p,className:E,rootClassName:C,size:x,disabled:M=n,form:$,colon:B,labelAlign:W,labelWrap:z,labelCol:G,wrapperCol:K,hideRequiredMark:N,layout:h="horizontal",scrollToFirstError:j,requiredMark:L,onFinishFailed:F,name:R,style:q,feedbackIcons:_}=e,Te=ge(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),pe=(0,g.Z)(x),Ze=o.useContext(We.Z),Ee=(0,o.useMemo)(()=>L!==void 0?L:d&&d.requiredMark!==void 0?d.requiredMark:!N,[N,L,d]),De=B!=null?B:d==null?void 0:d.colon,A=r("form",p),[Qe,k]=oe(A),Je=D()(A,`${A}-${h}`,{[`${A}-hide-required-mark`]:Ee===!1,[`${A}-rtl`]:l==="rtl",[`${A}-${pe}`]:pe},k,d==null?void 0:d.className,E,C),[we]=Re($),{__INTERNAL__:tt}=we;tt.name=R;const Ve=(0,o.useMemo)(()=>({name:R,labelAlign:W,labelCol:G,labelWrap:z,wrapperCol:K,vertical:h==="vertical",colon:De,requiredMark:Ee,itemRef:tt.itemRef,form:we,feedbackIcons:_}),[R,W,G,K,h,De,Ee,we,_]);o.useImperativeHandle(t,()=>we);const Ke=(Me,Pe)=>{if(Me){let T={block:"nearest"};typeof Me=="object"&&(T=Me),we.scrollToField(Pe,T)}},lt=Me=>{if(F==null||F(Me),Me.errorFields.length){const Pe=Me.errorFields[0].name;if(j!==void 0){Ke(j,Pe);return}d&&d.scrollToFirstError!==void 0&&Ke(d.scrollToFirstError,Pe)}};return Qe(o.createElement(Y.n,{disabled:M},o.createElement(I.q,{size:pe},o.createElement(S.RV,{validateMessages:Ze},o.createElement(S.q3.Provider,{value:Ve},o.createElement(H.ZP,Object.assign({id:R},Te,{name:R,onFinishFailed:lt,form:we,style:Object.assign(Object.assign({},d==null?void 0:d.style),q),className:Je})))))))};var Ne=o.forwardRef(Oe),Ie=i(30470),J=i(42550),$e=i(96159),ze=i(27288),Ge=i(50344);function ke(e){if(typeof e=="function")return e;const t=(0,Ge.Z)(e);return t.length<=1?t[0]:t}const Xe=()=>{const{status:e,errors:t=[],warnings:n=[]}=(0,o.useContext)(S.aM);return{status:e,errors:t,warnings:n}};Xe.Context=S.aM;var et=Xe,Ye=i(75164);function bt(e){const[t,n]=o.useState(e),r=(0,o.useRef)(null),l=(0,o.useRef)([]),d=(0,o.useRef)(!1);o.useEffect(()=>(d.current=!1,()=>{d.current=!0,Ye.Z.cancel(r.current),r.current=null}),[]);function p(E){d.current||(r.current===null&&(l.current=[],r.current=(0,Ye.Z)(()=>{r.current=null,n(C=>{let x=C;return l.current.forEach(M=>{x=M(x)}),x})})),l.current.push(E))}return[t,p]}function vt(){const{itemRef:e}=o.useContext(S.q3),t=o.useRef({});function n(r,l){const d=l&&typeof l=="object"&&l.ref,p=r.join("_");return(t.current.name!==p||t.current.originRef!==d)&&(t.current.name=p,t.current.originRef=d,t.current.ref=(0,J.sQ)(e(r),d)),t.current.ref}return n}var yt=i(5110),Ct=i(8410),xt=i(98423),$t=i(92820),ct=i(21584);const Et=e=>{const{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}};var St=(0,c.b)(["Form","item-item"],(e,t)=>{let{rootPrefixCls:n}=t;const r=re(e,n);return[Et(r)]}),Ot=e=>{const{prefixCls:t,status:n,wrapperCol:r,children:l,errors:d,warnings:p,_internalItemRender:E,extra:C,help:x,fieldId:M,marginBottom:$,onErrorVisibleChanged:B}=e,W=`${t}-item`,z=o.useContext(S.q3),G=r||z.wrapperCol||{},K=D()(`${W}-control`,G.className),N=o.useMemo(()=>Object.assign({},z),[z]);delete N.labelCol,delete N.wrapperCol;const h=o.createElement("div",{className:`${W}-control-input`},o.createElement("div",{className:`${W}-control-input-content`},l)),j=o.useMemo(()=>({prefixCls:t,status:n}),[t,n]),L=$!==null||d.length||p.length?o.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},o.createElement(S.Rk.Provider,{value:j},o.createElement(de,{fieldId:M,errors:d,warnings:p,help:x,helpStatus:n,className:`${W}-explain-connected`,onVisibleChanged:B})),!!$&&o.createElement("div",{style:{width:0,height:$}})):null,F={};M&&(F.id=`${M}_extra`);const R=C?o.createElement("div",Object.assign({},F,{className:`${W}-extra`}),C):null,q=E&&E.mark==="pro_table_render"&&E.render?E.render(e,{input:h,errorList:L,extra:R}):o.createElement(o.Fragment,null,h,L,R);return o.createElement(S.q3.Provider,{value:N},o.createElement(ct.Z,Object.assign({},G,{className:K}),q),o.createElement(St,{prefixCls:t}))},It=i(87462),wt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},Mt=wt,Pt=i(93771),Ft=function(t,n){return o.createElement(Pt.Z,(0,It.Z)({},t,{ref:n,icon:Mt}))},jt=o.forwardRef(Ft),Rt=i(40378),Nt=i(10110),Lt=i(83062),Tt=function(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 l=0,r=Object.getOwnPropertySymbols(e);l{let{prefixCls:t,label:n,htmlFor:r,labelCol:l,labelAlign:d,colon:p,required:E,requiredMark:C,tooltip:x}=e;var M;const[$]=(0,Nt.Z)("Form"),{vertical:B,labelAlign:W,labelCol:z,labelWrap:G,colon:K}=o.useContext(S.q3);if(!n)return null;const N=l||z||{},h=d||W,j=`${t}-item-label`,L=D()(j,h==="left"&&`${j}-left`,N.className,{[`${j}-wrap`]:!!G});let F=n;const R=p===!0||K!==!1&&p!==!1;R&&!B&&typeof n=="string"&&n.trim()!==""&&(F=n.replace(/[:|:]\s*$/,""));const _=Wt(x);if(_){const{icon:Ee=o.createElement(jt,null)}=_,De=Tt(_,["icon"]),A=o.createElement(Lt.Z,Object.assign({},De),o.cloneElement(Ee,{className:`${t}-item-tooltip`,title:""}));F=o.createElement(o.Fragment,null,F,A)}const Te=C==="optional",pe=typeof C=="function";pe?F=C(F,{required:!!E}):Te&&!E&&(F=o.createElement(o.Fragment,null,F,o.createElement("span",{className:`${t}-item-optional`,title:""},($==null?void 0:$.optional)||((M=Rt.Z.Form)===null||M===void 0?void 0:M.optional))));const Ze=D()({[`${t}-item-required`]:E,[`${t}-item-required-mark-optional`]:Te||pe,[`${t}-item-no-colon`]:!R});return o.createElement(ct.Z,Object.assign({},N,{className:L}),o.createElement("label",{htmlFor:r,className:Ze,title:typeof n=="string"?n:""},F))},At=i(76278),Zt=i(17012),Vt=i(26702),Ht=i(19267);const Bt={success:At.Z,warning:Vt.Z,error:Zt.Z,validating:Ht.Z};function dt(e){let{children:t,errors:n,warnings:r,hasFeedback:l,validateStatus:d,prefixCls:p,meta:E,noStyle:C}=e;const x=`${p}-item`,{feedbackIcons:M}=o.useContext(S.q3),$=xe(n,r,E,null,!!l,d),{isFormItemInput:B,status:W,hasFeedback:z,feedbackIcon:G}=o.useContext(S.aM),K=o.useMemo(()=>{var N;let h;if(l){const L=l!==!0&&l.icons||M,F=$&&((N=L==null?void 0:L({status:$,errors:n,warnings:r}))===null||N===void 0?void 0:N[$]),R=$&&Bt[$];h=F!==!1&&R?o.createElement("span",{className:D()(`${x}-feedback-icon`,`${x}-feedback-icon-${$}`)},F||o.createElement(R,null)):null}const j={status:$||"",errors:n,warnings:r,hasFeedback:!!l,feedbackIcon:h,isFormItemInput:!0};return C&&(j.status=($!=null?$:W)||"",j.isFormItemInput=B,j.hasFeedback=!!(l!=null?l:z),j.feedbackIcon=l!==void 0?j.feedbackIcon:G),j},[$,l,C,B,W]);return o.createElement(S.aM.Provider,{value:K},t)}var zt=function(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 l=0,r=Object.getOwnPropertySymbols(e);l{if(_&&L.current){const k=getComputedStyle(L.current);Ze(parseInt(k.marginBottom,10))}},[_,Te]);const Ee=k=>{k||Ze(null)},A=function(){let k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Je=k?F:x.errors,we=k?R:x.warnings;return xe(Je,we,x,"",!!M,C)}(),Qe=D()(h,n,r,{[`${h}-with-help`]:q||F.length||R.length,[`${h}-has-feedback`]:A&&M,[`${h}-has-success`]:A==="success",[`${h}-has-warning`]:A==="warning",[`${h}-has-error`]:A==="error",[`${h}-is-validating`]:A==="validating",[`${h}-hidden`]:$});return o.createElement("div",{className:Qe,style:l,ref:L},o.createElement($t.Z,Object.assign({className:`${h}-row`},(0,xt.Z)(N,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),o.createElement(Dt,Object.assign({htmlFor:W},e,{requiredMark:j,required:z!=null?z:G,prefixCls:t})),o.createElement(Ot,Object.assign({},e,x,{errors:F,warnings:R,prefixCls:t,status:A,help:d,marginBottom:pe,onErrorVisibleChanged:Ee}),o.createElement(S.qI.Provider,{value:K},o.createElement(dt,{prefixCls:t,meta:x,errors:x.errors,warnings:x.warnings,hasFeedback:M,validateStatus:A},B)))),!!pe&&o.createElement("div",{className:`${h}-margin-offset`,style:{marginBottom:-pe}}))}const Kt="__SPLIT__",nn=null,Ut=o.memo(e=>{let{children:t}=e;return t},(e,t)=>e.value===t.value&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((n,r)=>n===t.childProps[r]));function ut(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Xt(e){const{name:t,noStyle:n,className:r,dependencies:l,prefixCls:d,shouldUpdate:p,rules:E,children:C,required:x,label:M,messageVariables:$,trigger:B="onChange",validateTrigger:W,hidden:z,help:G}=e,{getPrefixCls:K}=o.useContext(Ce.E_),{name:N}=o.useContext(S.q3),h=ke(C),j=typeof h=="function",L=o.useContext(S.qI),{validateTrigger:F}=o.useContext(H.zb),R=W!==void 0?W:F,q=t!=null,_=K("form",d),[Te,pe]=oe(_),Ze=(0,ze.ln)("Form.Item"),Ee=o.useContext(H.ZM),De=o.useRef(),[A,Qe]=bt({}),[k,Je]=(0,Ie.Z)(()=>ut()),we=T=>{const se=Ee==null?void 0:Ee.getKey(T.name);if(Je(T.destroy?ut():T,!0),n&&G!==!1&&L){let ee=T.name;if(T.destroy)ee=De.current||ee;else if(se!==void 0){const[Ae,He]=se;ee=[Ae].concat((0,v.Z)(He)),De.current=ee}L(T,ee)}},tt=(T,se)=>{Qe(ee=>{const Ae=Object.assign({},ee),qe=[].concat((0,v.Z)(T.name.slice(0,-1)),(0,v.Z)(se)).join(Kt);return T.destroy?delete Ae[qe]:Ae[qe]=T,Ae})},[Ve,Ke]=o.useMemo(()=>{const T=(0,v.Z)(k.errors),se=(0,v.Z)(k.warnings);return Object.values(A).forEach(ee=>{T.push.apply(T,(0,v.Z)(ee.errors||[])),se.push.apply(se,(0,v.Z)(ee.warnings||[]))}),[T,se]},[A,k.errors,k.warnings]),lt=vt();function Me(T,se,ee){return n&&!z?o.createElement(dt,{prefixCls:_,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:k,errors:Ve,warnings:Ke,noStyle:!0},T):o.createElement(Gt,Object.assign({key:"row"},e,{className:D()(r,pe),prefixCls:_,fieldId:se,isRequired:ee,errors:Ve,warnings:Ke,meta:k,onSubItemMetaChange:tt}),T)}if(!q&&!j&&!l)return Te(Me(h));let Pe={};return typeof M=="string"?Pe.label=M:t&&(Pe.label=String(t)),$&&(Pe=Object.assign(Object.assign({},Pe),$)),Te(o.createElement(H.gN,Object.assign({},e,{messageVariables:Pe,trigger:B,validateTrigger:R,onMetaChange:we}),(T,se,ee)=>{const Ae=fe(t).length&&se?se.name:[],He=me(Ae,N),qe=x!==void 0?x:!!(E&&E.some(U=>{if(U&&typeof U=="object"&&U.required&&!U.warningOnly)return!0;if(typeof U=="function"){const rt=U(ee);return rt&&rt.required&&!rt.warningOnly}return!1})),nt=Object.assign({},T);let _e=null;if(Array.isArray(h)&&q)_e=h;else if(!(j&&(!(p||l)||q))){if(!(l&&!j&&!q))if((0,$e.l$)(h)){const U=Object.assign(Object.assign({},h.props),nt);if(U.id||(U.id=He),G||Ve.length>0||Ke.length>0||e.extra){const Be=[];(G||Ve.length>0)&&Be.push(`${He}_help`),e.extra&&Be.push(`${He}_extra`),U["aria-describedby"]=Be.join(" ")}Ve.length>0&&(U["aria-invalid"]="true"),qe&&(U["aria-required"]="true"),(0,J.Yr)(h)&&(U.ref=lt(Ae,h)),new Set([].concat((0,v.Z)(fe(B)),(0,v.Z)(fe(R)))).forEach(Be=>{U[Be]=function(){for(var mt,gt,st,pt,at,ht=arguments.length,it=new Array(ht),ot=0;ot{var{prefixCls:t,children:n}=e,r=Qt(e,["prefixCls","children"]);const{getPrefixCls:l}=o.useContext(Ce.E_),d=l("form",t),p=o.useMemo(()=>({prefixCls:d,status:"error"}),[d]);return o.createElement(H.aV,Object.assign({},r),(E,C,x)=>o.createElement(S.Rk.Provider,{value:p},n(E.map(M=>Object.assign(Object.assign({},M),{fieldKey:M.key})),C,{errors:x.errors,warnings:x.warnings})))};function qt(){const{form:e}=(0,o.useContext)(S.q3);return e}const Le=Ne;Le.Item=Yt,Le.List=Jt,Le.ErrorList=de,Le.useForm=Re,Le.useFormInstance=qt,Le.useWatch=H.qo,Le.Provider=S.RV,Le.create=()=>{};var _t=Le},99134:function(Ue,he,i){var v=i(67294);const ae=(0,v.createContext)({});he.Z=ae},21584:function(Ue,he,i){var v=i(67294),ae=i(94184),D=i.n(ae),X=i(53124),o=i(99134),ne=i(6999),S=function(s,b){var c={};for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&b.indexOf(a)<0&&(c[a]=s[a]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,a=Object.getOwnPropertySymbols(s);u{const{getPrefixCls:c,direction:a}=v.useContext(X.E_),{gutter:u,wrap:y}=v.useContext(o.Z),{prefixCls:P,span:te,order:be,offset:ve,push:ce,pull:Z,className:V,children:ye,flex:re,style:oe}=s,le=S(s,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),O=c("col",P),[Se,de]=(0,ne.c)(O);let H={};m.forEach(I=>{let g={};const ue=s[I];typeof ue=="number"?g.span=ue:typeof ue=="object"&&(g=ue||{}),delete le[I],H=Object.assign(Object.assign({},H),{[`${O}-${I}-${g.span}`]:g.span!==void 0,[`${O}-${I}-order-${g.order}`]:g.order||g.order===0,[`${O}-${I}-offset-${g.offset}`]:g.offset||g.offset===0,[`${O}-${I}-push-${g.push}`]:g.push||g.push===0,[`${O}-${I}-pull-${g.pull}`]:g.pull||g.pull===0,[`${O}-${I}-flex-${g.flex}`]:g.flex||g.flex==="auto",[`${O}-rtl`]:a==="rtl"})});const Ce=D()(O,{[`${O}-${te}`]:te!==void 0,[`${O}-order-${be}`]:be,[`${O}-offset-${ve}`]:ve,[`${O}-push-${ce}`]:ce,[`${O}-pull-${Z}`]:Z},V,H,de),Y={};if(u&&u[0]>0){const I=u[0]/2;Y.paddingLeft=I,Y.paddingRight=I}return re&&(Y.flex=ie(re),y===!1&&!Y.minWidth&&(Y.minWidth=0)),Se(v.createElement("div",Object.assign({},le,{style:Object.assign(Object.assign({},Y),oe),className:Ce,ref:b}),ye))});he.Z=f},92820:function(Ue,he,i){var v=i(67294),ae=i(94184),D=i.n(ae),X=i(74443),o=i(53124),ne=i(99134),S=i(6999),ie=function(c,a){var u={};for(var y in c)Object.prototype.hasOwnProperty.call(c,y)&&a.indexOf(y)<0&&(u[y]=c[y]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,y=Object.getOwnPropertySymbols(c);P{if(typeof c=="string"&&y(c),typeof c=="object")for(let te=0;te{P()},[JSON.stringify(c),a]),u}const b=v.forwardRef((c,a)=>{const{prefixCls:u,justify:y,align:P,className:te,style:be,children:ve,gutter:ce=0,wrap:Z}=c,V=ie(c,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:ye,direction:re}=v.useContext(o.E_),[oe,le]=v.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[O,Se]=v.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),de=s(P,O),H=s(y,O),Ce=v.useRef(ce),Y=(0,X.ZP)();v.useEffect(()=>{const ge=Y.subscribe(Oe=>{Se(Oe);const Q=Ce.current||0;(!Array.isArray(Q)&&typeof Q=="object"||Array.isArray(Q)&&(typeof Q[0]=="object"||typeof Q[1]=="object"))&&le(Oe)});return()=>Y.unsubscribe(ge)},[]);const I=()=>{const ge=[void 0,void 0];return(Array.isArray(ce)?ce:[ce,void 0]).forEach((Q,Ne)=>{if(typeof Q=="object")for(let Ie=0;Ie0?w[0]/-2:void 0;xe&&(me.marginLeft=xe,me.marginRight=xe),[,me.rowGap]=w;const[je,Re]=w,We=v.useMemo(()=>({gutter:[je,Re],wrap:Z}),[je,Re,Z]);return ue(v.createElement(ne.Z.Provider,{value:We},v.createElement("div",Object.assign({},V,{className:fe,style:Object.assign(Object.assign({},me),be),ref:a}),ve)))});he.Z=b},6999:function(Ue,he,i){i.d(he,{V:function(){return ie},c:function(){return m}});var v=i(67968),ae=i(45503);const D=f=>{const{componentCls:s}=f;return{[s]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},X=f=>{const{componentCls:s}=f;return{[s]:{position:"relative",maxWidth:"100%",minHeight:1}}},o=(f,s)=>{const{componentCls:b,gridColumns:c}=f,a={};for(let u=c;u>=0;u--)u===0?(a[`${b}${s}-${u}`]={display:"none"},a[`${b}-push-${u}`]={insetInlineStart:"auto"},a[`${b}-pull-${u}`]={insetInlineEnd:"auto"},a[`${b}${s}-push-${u}`]={insetInlineStart:"auto"},a[`${b}${s}-pull-${u}`]={insetInlineEnd:"auto"},a[`${b}${s}-offset-${u}`]={marginInlineStart:0},a[`${b}${s}-order-${u}`]={order:0}):(a[`${b}${s}-${u}`]=[{["--ant-display"]:"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${u/c*100}%`,maxWidth:`${u/c*100}%`}],a[`${b}${s}-push-${u}`]={insetInlineStart:`${u/c*100}%`},a[`${b}${s}-pull-${u}`]={insetInlineEnd:`${u/c*100}%`},a[`${b}${s}-offset-${u}`]={marginInlineStart:`${u/c*100}%`},a[`${b}${s}-order-${u}`]={order:u});return a},ne=(f,s)=>o(f,s),S=(f,s,b)=>({[`@media (min-width: ${s}px)`]:Object.assign({},ne(f,b))}),ie=(0,v.Z)("Grid",f=>[D(f)]),m=(0,v.Z)("Grid",f=>{const s=(0,ae.TS)(f,{gridColumns:24}),b={"-sm":s.screenSMMin,"-md":s.screenMDMin,"-lg":s.screenLGMin,"-xl":s.screenXLMin,"-xxl":s.screenXXLMin};return[X(s),ne(s,""),ne(s,"-xs"),Object.keys(b).map(c=>S(s,b[c],c)).reduce((c,a)=>Object.assign(Object.assign({},c),a),{})]})},17423:function(Ue,he,i){i.d(he,{Z:function(){return ie}});const v=m=>typeof m=="object"&&m!=null&&m.nodeType===1,ae=(m,f)=>(!f||m!=="hidden")&&m!=="visible"&&m!=="clip",D=(m,f)=>{if(m.clientHeight{const c=(a=>{if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch(u){return null}})(b);return!!c&&(c.clientHeightaf||a>m&&u=f&&y>=s?a-m-b:u>f&&ys?u-f+c:0,o=m=>{const f=m.parentElement;return f==null?m.getRootNode().host||null:f},ne=(m,f)=>{var s,b,c,a;if(typeof document=="undefined")return[];const{scrollMode:u,block:y,inline:P,boundary:te,skipOverflowHiddenElements:be}=f,ve=typeof te=="function"?te:Fe=>Fe!==te;if(!v(m))throw new TypeError("Invalid target");const ce=document.scrollingElement||document.documentElement,Z=[];let V=m;for(;v(V)&&ve(V);){if(V=o(V),V===ce){Z.push(V);break}V!=null&&V===document.body&&D(V)&&!D(document.documentElement)||V!=null&&D(V,be)&&Z.push(V)}const ye=(b=(s=window.visualViewport)==null?void 0:s.width)!=null?b:innerWidth,re=(a=(c=window.visualViewport)==null?void 0:c.height)!=null?a:innerHeight,{scrollX:oe,scrollY:le}=window,{height:O,width:Se,top:de,right:H,bottom:Ce,left:Y}=m.getBoundingClientRect();let I=y==="start"||y==="nearest"?de:y==="end"?Ce:de+O/2,g=P==="center"?Y+Se/2:P==="end"?H:Y;const ue=[];for(let Fe=0;Fe=0&&Y>=0&&Ce<=re&&H<=ye&&de>=xe&&Ce<=Re&&Y>=We&&H<=je)return ue;const ge=getComputedStyle(w),Oe=parseInt(ge.borderLeftWidth,10),Q=parseInt(ge.borderTopWidth,10),Ne=parseInt(ge.borderRightWidth,10),Ie=parseInt(ge.borderBottomWidth,10);let J=0,$e=0;const ze="offsetWidth"in w?w.offsetWidth-w.clientWidth-Oe-Ne:0,Ge="offsetHeight"in w?w.offsetHeight-w.clientHeight-Q-Ie:0,ke="offsetWidth"in w?w.offsetWidth===0?0:me/w.offsetWidth:0,Xe="offsetHeight"in w?w.offsetHeight===0?0:fe/w.offsetHeight:0;if(ce===w)J=y==="start"?I:y==="end"?I-re:y==="nearest"?X(le,le+re,re,Q,Ie,le+I,le+I+O,O):I-re/2,$e=P==="start"?g:P==="center"?g-ye/2:P==="end"?g-ye:X(oe,oe+ye,ye,Oe,Ne,oe+g,oe+g+Se,Se),J=Math.max(0,J+le),$e=Math.max(0,$e+oe);else{J=y==="start"?I-xe-Q:y==="end"?I-Re+Ie+Ge:y==="nearest"?X(xe,Re,fe,Q,Ie+Ge,I,I+O,O):I-(xe+fe/2)+Ge/2,$e=P==="start"?g-We-Oe:P==="center"?g-(We+me/2)+ze/2:P==="end"?g-je+Ne+ze:X(We,je,me,Oe,Ne+ze,g,g+Se,Se);const{scrollLeft:et,scrollTop:Ye}=w;J=Math.max(0,Math.min(Ye+J/Xe,w.scrollHeight-fe/Xe+Ge)),$e=Math.max(0,Math.min(et+$e/ke,w.scrollWidth-me/ke+ze)),I+=Ye-J,g+=et-$e}ue.push({el:w,top:J,left:$e})}return ue},S=m=>m===!1?{block:"end",inline:"nearest"}:(f=>f===Object(f)&&Object.keys(f).length!==0)(m)?m:{block:"start",inline:"nearest"};function ie(m,f){if(!m.isConnected||!(c=>{let a=c;for(;a&&a.parentNode;){if(a.parentNode===document)return!0;a=a.parentNode instanceof ShadowRoot?a.parentNode.host:a.parentNode}return!1})(m))return;const s=(c=>{const a=window.getComputedStyle(c);return{top:parseFloat(a.scrollMarginTop)||0,right:parseFloat(a.scrollMarginRight)||0,bottom:parseFloat(a.scrollMarginBottom)||0,left:parseFloat(a.scrollMarginLeft)||0}})(m);if((c=>typeof c=="object"&&typeof c.behavior=="function")(f))return f.behavior(ne(m,f));const b=typeof f=="boolean"||f==null?void 0:f.behavior;for(const{el:c,top:a,left:u}of ne(m,S(f))){const y=a-s.top+s.bottom,P=u-s.left+s.right;c.scroll({top:y,left:P,behavior:b})}}}}]); diff --git a/1446.94925180.async.js b/1446.94925180.async.js new file mode 100644 index 0000000000..c76a4e10db --- /dev/null +++ b/1446.94925180.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[1446],{61446:function(k,c,u){u.r(c),u.d(c,{commonLisp:function(){return b}});var d=/^(block|let*|return-from|catch|load-time-value|setq|eval-when|locally|symbol-macrolet|flet|macrolet|tagbody|function|multiple-value-call|the|go|multiple-value-prog1|throw|if|progn|unwind-protect|labels|progv|let|quote)$/,f=/^with|^def|^do|^prog|case$|^cond$|bind$|when$|unless$/,s=/^(?:[+\-]?(?:\d+|\d*\.\d+)(?:[efd][+\-]?\d+)?|[+\-]?\d+(?:\/[+\-]?\d+)?|#b[+\-]?[01]+|#o[+\-]?[0-7]+|#x[+\-]?[\da-f]+)/,p=/[^\s'`,@()\[\]";]/,l;function i(e){for(var n;n=e.next();)if(n=="\\")e.next();else if(!p.test(n)){e.backUp(1);break}return e.current()}function o(e,n){if(e.eatSpace())return l="ws",null;if(e.match(s))return"number";var t=e.next();if(t=="\\"&&(t=e.next()),t=='"')return(n.tokenize=a)(e,n);if(t=="(")return l="open","bracket";if(t==")"||t=="]")return l="close","bracket";if(t==";")return e.skipToEnd(),l="ws","comment";if(/['`,@]/.test(t))return null;if(t=="|")return e.skipTo("|")?(e.next(),"variableName"):(e.skipToEnd(),"error");if(t=="#"){var t=e.next();return t=="("?(l="open","bracket"):/[+\-=\.']/.test(t)||/\d/.test(t)&&e.match(/^\d*#/)?null:t=="|"?(n.tokenize=x)(e,n):t==":"?(i(e),"meta"):t=="\\"?(e.next(),i(e),"string.special"):"error"}else{var r=i(e);return r=="."?null:(l="symbol",r=="nil"||r=="t"||r.charAt(0)==":"?"atom":n.lastType=="open"&&(d.test(r)||f.test(r))?"keyword":r.charAt(0)=="&"?"variableName.special":"variableName")}}function a(e,n){for(var t=!1,r;r=e.next();){if(r=='"'&&!t){n.tokenize=o;break}t=!t&&r=="\\"}return"string"}function x(e,n){for(var t,r;t=e.next();){if(t=="#"&&r=="|"){n.tokenize=o;break}r=t}return l="ws","comment"}const b={name:"commonlisp",startState:function(){return{ctx:{prev:null,start:0,indentTo:0},lastType:null,tokenize:o}},token:function(e,n){e.sol()&&typeof n.ctx.indentTo!="number"&&(n.ctx.indentTo=n.ctx.start+1),l=null;var t=n.tokenize(e,n);return l!="ws"&&(n.ctx.indentTo==null?l=="symbol"&&f.test(e.current())?n.ctx.indentTo=n.ctx.start+e.indentUnit:n.ctx.indentTo="next":n.ctx.indentTo=="next"&&(n.ctx.indentTo=e.column()),n.lastType=l),l=="open"?n.ctx={prev:n.ctx,start:e.column(),indentTo:null}:l=="close"&&(n.ctx=n.ctx.prev||n.ctx),t},indent:function(e){var n=e.ctx.indentTo;return typeof n=="number"?n:e.ctx.start+1},languageData:{commentTokens:{line:";;",block:{open:"#|",close:"|#"}},closeBrackets:{brackets:["(","[","{",'"']}}}}}]); diff --git a/1524.d8a0a443.async.js b/1524.d8a0a443.async.js new file mode 100644 index 0000000000..cff1a069e7 --- /dev/null +++ b/1524.d8a0a443.async.js @@ -0,0 +1,58 @@ +(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[1524],{47356:function(q,b){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"};b.default=r},44149:function(q,b){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"};b.default=r},2236:function(q,b,r){"use strict";r.d(b,{S:function(){return y}});var o=r(1413),I=r(4942),s=r(71002),$=r(91),E=r(12044),A=r(94740),z=r(94184),W=r.n(z),U=r(97435),M=r(67294),N=r(73935),R=r(76509),n=r(98082),v=function(P){return(0,I.Z)({},P.componentCls,{position:"fixed",insetInlineEnd:0,bottom:0,zIndex:99,display:"flex",alignItems:"center",width:"100%",paddingInline:24,paddingBlock:0,boxSizing:"border-box",lineHeight:"64px",backgroundColor:(0,n.uK)(P.colorBgElevated,.6),borderBlockStart:"1px solid ".concat(P.colorSplit),"-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)",color:P.colorText,transition:"all 0.2s ease 0s","&-left":{flex:1,color:P.colorText},"&-right":{color:P.colorText,"> *":{marginInlineEnd:8,"&:last-child":{marginBlock:0,marginInline:0}}}})};function d(S){return(0,n.Xj)("ProLayoutFooterToolbar",function(P){var H=(0,o.Z)((0,o.Z)({},P),{},{componentCls:".".concat(S)});return[v(H)]})}function l(S,P){var H=P.stylish;return(0,n.Xj)("ProLayoutFooterToolbarStylish",function(m){var T=(0,o.Z)((0,o.Z)({},m),{},{componentCls:".".concat(S)});return H?[(0,I.Z)({},"".concat(T.componentCls),H==null?void 0:H(T))]:[]})}var h=r(85893),a=["children","className","extra","portalDom","style","renderContent"],y=function(P){var H=P.children,m=P.className,T=P.extra,t=P.portalDom,u=t===void 0?!0:t,f=P.style,c=P.renderContent,O=(0,$.Z)(P,a),j=(0,M.useContext)(A.ZP.ConfigContext),F=j.getPrefixCls,V=j.getTargetContainer,i=P.prefixCls||F("pro"),x="".concat(i,"-footer-bar"),Z=d(x),p=Z.wrapSSR,C=Z.hashId,D=(0,M.useContext)(R.X),ee=(0,M.useMemo)(function(){var ge=D.hasSiderMenu,Me=D.isMobile,xe=D.siderWidth;if(ge)return xe?Me?"100%":"calc(100% - ".concat(xe,"px)"):"100%"},[D.collapsed,D.hasSiderMenu,D.isMobile,D.siderWidth]),le=(0,M.useMemo)(function(){return(typeof window=="undefined"?"undefined":(0,s.Z)(window))===void 0||(typeof document=="undefined"?"undefined":(0,s.Z)(document))===void 0?null:(V==null?void 0:V())||document.body},[]),Ce=l("".concat(x,".").concat(x,"-stylish"),{stylish:P.stylish}),Se=(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:"".concat(x,"-left ").concat(C).trim(),children:T}),(0,h.jsx)("div",{className:"".concat(x,"-right ").concat(C).trim(),children:H})]});(0,M.useEffect)(function(){return!D||!(D!=null&&D.setHasFooterToolbar)?function(){}:(D==null||D.setHasFooterToolbar(!0),function(){var ge;D==null||(ge=D.setHasFooterToolbar)===null||ge===void 0||ge.call(D,!1)})},[]);var fe=(0,h.jsx)("div",(0,o.Z)((0,o.Z)({className:W()(m,C,x,(0,I.Z)({},"".concat(x,"-stylish"),!!P.stylish)),style:(0,o.Z)({width:ee},f)},(0,U.Z)(O,["prefixCls"])),{},{children:c?c((0,o.Z)((0,o.Z)((0,o.Z)({},P),D),{},{leftWidth:ee}),Se):Se})),we=!(0,E.j)()||!u||!le?fe:(0,N.createPortal)(fe,le,x);return Ce.wrapSSR(p((0,h.jsx)(M.Fragment,{children:we},x)))}},1524:function(q,b,r){"use strict";r.d(b,{_z:function(){return Je}});var o=r(4942),I=r(91),s=r(1413),$=r(71002),E=r(10915),A=r(48096),z=r(67159),W=r(94740),U=r(30291),M=r(94184),N=r.n(M),R=r(67294),n=r(76509),v=r(2236),d=r(98082),l=function(e){return(0,o.Z)({},e.componentCls,{width:"100%","&-wide":{maxWidth:1152,margin:"0 auto"}})};function h(_){return(0,d.Xj)("ProLayoutGridContent",function(e){var g=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(_)});return[l(g)]})}var a=r(85893),y=function(e){var g=(0,R.useContext)(n.X),w=e.children,B=e.contentWidth,G=e.className,k=e.style,K=(0,R.useContext)(W.ZP.ConfigContext),J=K.getPrefixCls,X=e.prefixCls||J("pro"),re=B||g.contentWidth,L="".concat(X,"-grid-content"),oe=h(L),ue=oe.wrapSSR,te=oe.hashId,ce=re==="Fixed"&&g.layout==="top";return ue((0,a.jsx)("div",{className:N()(L,te,G,(0,o.Z)({},"".concat(L,"-wide"),ce)),style:k,children:(0,a.jsx)("div",{className:"".concat(X,"-grid-content-children ").concat(te).trim(),children:w})}))},S=r(97685),P=r(3770),H=r.n(P),m=r(77059),T=r.n(m),t=r(85673),u=r(7134),f=r(78957),c=r(48555),O=function(){return{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},j=function(e){var g,w;return(0,o.Z)({},e.componentCls,(0,s.Z)((0,s.Z)({},d.Wf===null||d.Wf===void 0?void 0:(0,d.Wf)(e)),{},(w={position:"relative",backgroundColor:e.pageHeaderBgGhost,paddingBlock:e.pageHeaderPaddingVertical+2,paddingInline:e.pageHeaderPadding,"& &-has-breadcrumb":{paddingBlockStart:e.pageHeaderPaddingBreadCrumb},"& &-has-footer":{paddingBlockEnd:0},"& &-back":(0,o.Z)({marginInlineEnd:e.margin,fontSize:16,lineHeight:1,"&-button":(0,s.Z)((0,s.Z)({fontSize:16},d.Nd===null||d.Nd===void 0?void 0:(0,d.Nd)(e)),{},{color:e.pageHeaderColorBack,cursor:"pointer"})},"".concat(e.componentCls,"-rlt &"),{float:"right",marginInlineEnd:0,marginInlineStart:0})},(0,o.Z)(w,"& ".concat("ant","-divider-vertical"),{height:14,marginBlock:0,marginInline:e.marginSM,verticalAlign:"middle"}),(0,o.Z)(w,"& &-breadcrumb + &-heading",{marginBlockStart:e.marginXS}),(0,o.Z)(w,"& &-heading",{display:"flex",justifyContent:"space-between","&-left":{display:"flex",alignItems:"center",marginBlock:e.marginXS/2,marginInlineEnd:0,marginInlineStart:0,overflow:"hidden"},"&-title":(0,s.Z)((0,s.Z)({marginInlineEnd:e.marginSM,marginBlockEnd:0,color:e.colorTextHeading,fontWeight:600,fontSize:e.pageHeaderFontSizeHeaderTitle,lineHeight:e.controlHeight+"px"},O()),{},(0,o.Z)({},"".concat(e.componentCls,"-rlt &"),{marginInlineEnd:0,marginInlineStart:e.marginSM})),"&-avatar":(0,o.Z)({marginInlineEnd:e.marginSM},"".concat(e.componentCls,"-rlt &"),{float:"right",marginInlineEnd:0,marginInlineStart:e.marginSM}),"&-tags":(0,o.Z)({},"".concat(e.componentCls,"-rlt &"),{float:"right"}),"&-sub-title":(0,s.Z)((0,s.Z)({marginInlineEnd:e.marginSM,color:e.colorTextSecondary,fontSize:e.pageHeaderFontSizeHeaderSubTitle,lineHeight:e.lineHeight},O()),{},(0,o.Z)({},"".concat(e.componentCls,"-rlt &"),{float:"right",marginInlineEnd:0,marginInlineStart:12})),"&-extra":(g={marginBlock:e.marginXS/2,marginInlineEnd:0,marginInlineStart:0,whiteSpace:"nowrap","> *":(0,o.Z)({"white-space":"unset"},"".concat(e.componentCls,"-rlt &"),{marginInlineEnd:e.marginSM,marginInlineStart:0})},(0,o.Z)(g,"".concat(e.componentCls,"-rlt &"),{float:"left"}),(0,o.Z)(g,"*:first-child",(0,o.Z)({},"".concat(e.componentCls,"-rlt &"),{marginInlineEnd:0})),g)}),(0,o.Z)(w,"&-content",{paddingBlockStart:e.pageHeaderPaddingContentPadding}),(0,o.Z)(w,"&-footer",{marginBlockStart:e.margin}),(0,o.Z)(w,"&-compact &-heading",{flexWrap:"wrap"}),(0,o.Z)(w,"&-wide",{maxWidth:1152,margin:"0 auto"}),(0,o.Z)(w,"&-rtl",{direction:"rtl"}),w)))};function F(_){return(0,d.Xj)("ProLayoutPageHeader",function(e){var g=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(_),pageHeaderBgGhost:"transparent",pageHeaderPadding:16,pageHeaderPaddingVertical:4,pageHeaderPaddingBreadCrumb:e.paddingSM,pageHeaderColorBack:e.colorTextHeading,pageHeaderFontSizeHeaderTitle:e.fontSizeHeading4,pageHeaderFontSizeHeaderSubTitle:14,pageHeaderPaddingContentPadding:e.paddingSM});return[j(g)]})}var V=function(e,g,w,B){return!w||!B?null:(0,a.jsx)("div",{className:"".concat(e,"-back ").concat(g).trim(),children:(0,a.jsx)("div",{role:"button",onClick:function(k){B==null||B(k)},className:"".concat(e,"-back-button ").concat(g).trim(),"aria-label":"back",children:w})})},i=function(e,g){var w;return(w=e.items)!==null&&w!==void 0&&w.length?(0,a.jsx)(t.Z,(0,s.Z)((0,s.Z)({},e),{},{className:N()("".concat(g,"-breadcrumb"),e.className)})):null},x=function(e){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"ltr";return e.backIcon!==void 0?e.backIcon:g==="rtl"?(0,a.jsx)(T(),{}):(0,a.jsx)(H(),{})},Z=function(e,g){var w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"ltr",B=arguments.length>3?arguments[3]:void 0,G=g.title,k=g.avatar,K=g.subTitle,J=g.tags,X=g.extra,re=g.onBack,L="".concat(e,"-heading"),oe=G||K||J||X;if(!oe)return null;var ue=x(g,w),te=V(e,B,ue,re),ce=te||k||oe;return(0,a.jsxs)("div",{className:L+" "+B,children:[ce&&(0,a.jsxs)("div",{className:"".concat(L,"-left ").concat(B).trim(),children:[te,k&&(0,a.jsx)(u.C,(0,s.Z)({className:N()("".concat(L,"-avatar"),B,k.className)},k)),G&&(0,a.jsx)("span",{className:"".concat(L,"-title ").concat(B).trim(),title:typeof G=="string"?G:void 0,children:G}),K&&(0,a.jsx)("span",{className:"".concat(L,"-sub-title ").concat(B).trim(),title:typeof K=="string"?K:void 0,children:K}),J&&(0,a.jsx)("span",{className:"".concat(L,"-tags ").concat(B).trim(),children:J})]}),X&&(0,a.jsx)("span",{className:"".concat(L,"-extra ").concat(B).trim(),children:(0,a.jsx)(f.Z,{children:X})})]})},p=function(e,g,w){return g?(0,a.jsx)("div",{className:"".concat(e,"-footer ").concat(w).trim(),children:g}):null},C=function(e,g,w){return(0,a.jsx)("div",{className:"".concat(e,"-content ").concat(w).trim(),children:g})},D=function(e){var g,w,B=R.useState(!1),G=(0,S.Z)(B,2),k=G[0],K=G[1],J=function(Ye){var de=Ye.width;return K(de<768)},X=R.useContext(W.ZP.ConfigContext),re=X.getPrefixCls,L=X.direction,oe=e.prefixCls,ue=e.style,te=e.footer,ce=e.children,Y=e.breadcrumb,ve=e.breadcrumbRender,ae=e.className,Q=e.contentWidth,se=e.layout,ne=re("page-header",oe),be=F(ne),Ne=be.wrapSSR,Pe=be.hashId,ie=function(){return Y&&!(Y!=null&&Y.items)&&Y!==null&&Y!==void 0&&Y.routes&&(Y.items=Y.routes),Y!=null&&Y.items?i(Y,ne):null},Ze=ie(),Re=Y&&"props"in Y,me=(g=ve==null?void 0:ve((0,s.Z)((0,s.Z)({},e),{},{prefixCls:ne}),Ze))!==null&&g!==void 0?g:Ze,je=Re?Y:me,Be=N()(ne,Pe,ae,(w={},(0,o.Z)(w,"".concat(ne,"-has-breadcrumb"),!!je),(0,o.Z)(w,"".concat(ne,"-has-footer"),!!te),(0,o.Z)(w,"".concat(ne,"-rtl"),L==="rtl"),(0,o.Z)(w,"".concat(ne,"-compact"),k),(0,o.Z)(w,"".concat(ne,"-wide"),Q==="Fixed"&&se=="top"),(0,o.Z)(w,"".concat(ne,"-ghost"),!0),w)),Oe=Z(ne,e,L,Pe),pe=ce&&C(ne,ce,Pe),he=p(ne,te,Pe);return!je&&!Oe&&!he&&!pe?null:Ne((0,a.jsx)(c.Z,{onResize:J,children:(0,a.jsxs)("div",{className:Be,style:ue,children:[je,Oe,pe,he]})}))},ee=r(83832),le=function(e){if(!e)return 1;var g=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||1;return(window.devicePixelRatio||1)/g},Ce=function(e){var g=(0,d.dQ)(),w=g.token,B=e.children,G=e.style,k=e.className,K=e.markStyle,J=e.markClassName,X=e.zIndex,re=X===void 0?9:X,L=e.gapX,oe=L===void 0?212:L,ue=e.gapY,te=ue===void 0?222:ue,ce=e.width,Y=ce===void 0?120:ce,ve=e.height,ae=ve===void 0?64:ve,Q=e.rotate,se=Q===void 0?-22:Q,ne=e.image,be=e.offsetLeft,Ne=e.offsetTop,Pe=e.fontStyle,ie=Pe===void 0?"normal":Pe,Ze=e.fontWeight,Re=Ze===void 0?"normal":Ze,me=e.fontColor,je=me===void 0?w.colorFill:me,Be=e.fontSize,Oe=Be===void 0?16:Be,pe=e.fontFamily,he=pe===void 0?"sans-serif":pe,ye=e.prefixCls,Ye=(0,R.useContext)(W.ZP.ConfigContext),de=Ye.getPrefixCls,Ee=de("pro-layout-watermark",ye),qe=N()("".concat(Ee,"-wrapper"),k),lt=N()(Ee,J),ct=(0,R.useState)(""),nt=(0,S.Z)(ct,2),rt=nt[0],at=nt[1];return(0,R.useEffect)(function(){var Qe=document.createElement("canvas"),De=Qe.getContext("2d"),_e=le(De),ut="".concat((oe+Y)*_e,"px"),st="".concat((te+ae)*_e,"px"),dt=be||oe/2,ft=Ne||te/2;if(Qe.setAttribute("width",ut),Qe.setAttribute("height",st),!De){console.error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas");return}De.translate(dt*_e,ft*_e),De.rotate(Math.PI/180*Number(se));var vt=Y*_e,ot=ae*_e,it=function(Ve){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,tt=Number(Oe)*_e;De.font="".concat(ie," normal ").concat(Re," ").concat(tt,"px/").concat(ot,"px ").concat(he),De.fillStyle=je,Array.isArray(Ve)?Ve==null||Ve.forEach(function(gt,mt){return De.fillText(gt,0,mt*tt+et)}):De.fillText(Ve,0,et?et+tt:0),at(Qe.toDataURL())};if(ne){var Ue=new Image;Ue.crossOrigin="anonymous",Ue.referrerPolicy="no-referrer",Ue.src=ne,Ue.onload=function(){if(De.drawImage(Ue,0,0,vt,ot),at(Qe.toDataURL()),e.content){it(e.content,Ue.height+8);return}};return}if(e.content){it(e.content);return}},[oe,te,be,Ne,se,ie,Re,Y,ae,he,je,ne,e.content,Oe]),(0,a.jsxs)("div",{style:(0,s.Z)({position:"relative"},G),className:qe,children:[B,(0,a.jsx)("div",{className:lt,style:(0,s.Z)((0,s.Z)({zIndex:re,position:"absolute",left:0,top:0,width:"100%",height:"100%",backgroundSize:"".concat(oe+Y,"px"),pointerEvents:"none",backgroundRepeat:"repeat"},rt?{backgroundImage:"url('".concat(rt,"')")}:{}),K)})]})},Se=[576,768,992,1200].map(function(_){return"@media (max-width: ".concat(_,"px)")}),fe=(0,S.Z)(Se,4),we=fe[0],ge=fe[1],Me=fe[2],xe=fe[3],He=function(e){var g,w,B,G,k,K,J,X,re,L,oe,ue,te,ce,Y,ve,ae,Q,se,ne,be,Ne,Pe,ie,Ze,Re,me,je,Be,Oe,pe,he,ye;return(0,o.Z)({},e.componentCls,(ye={position:"relative","&-children-container":{paddingBlockStart:0,paddingBlockEnd:(g=e.layout)===null||g===void 0||(w=g.pageContainer)===null||w===void 0?void 0:w.paddingBlockPageContainerContent,paddingInline:(B=e.layout)===null||B===void 0||(G=B.pageContainer)===null||G===void 0?void 0:G.paddingInlinePageContainerContent},"&-children-container-no-header":{paddingBlockStart:(k=e.layout)===null||k===void 0||(K=k.pageContainer)===null||K===void 0?void 0:K.paddingBlockPageContainerContent},"&-affix":(0,o.Z)({},"".concat(e.antCls,"-affix"),(0,o.Z)({},"".concat(e.componentCls,"-warp"),{backgroundColor:(J=e.layout)===null||J===void 0||(X=J.pageContainer)===null||X===void 0?void 0:X.colorBgPageContainerFixed,transition:"background-color 0.3s",boxShadow:"0 2px 8px #f0f1f2"}))},(0,o.Z)(ye,"& &-warp-page-header",(pe={paddingBlockStart:((re=(L=e.layout)===null||L===void 0||(oe=L.pageContainer)===null||oe===void 0?void 0:oe.paddingBlockPageContainerContent)!==null&&re!==void 0?re:40)/4,paddingBlockEnd:((ue=(te=e.layout)===null||te===void 0||(ce=te.pageContainer)===null||ce===void 0?void 0:ce.paddingBlockPageContainerContent)!==null&&ue!==void 0?ue:40)/2,paddingInlineStart:(Y=e.layout)===null||Y===void 0||(ve=Y.pageContainer)===null||ve===void 0?void 0:ve.paddingInlinePageContainerContent,paddingInlineEnd:(ae=e.layout)===null||ae===void 0||(Q=ae.pageContainer)===null||Q===void 0?void 0:Q.paddingInlinePageContainerContent},(0,o.Z)(pe,"& ~ ".concat(e.proComponentsCls,"-grid-content"),(0,o.Z)({},"".concat(e.proComponentsCls,"-page-container-children-content"),{paddingBlock:((se=(ne=e.layout)===null||ne===void 0||(be=ne.pageContainer)===null||be===void 0?void 0:be.paddingBlockPageContainerContent)!==null&&se!==void 0?se:24)/3})),(0,o.Z)(pe,"".concat(e.antCls,"-page-header-breadcrumb"),{paddingBlockStart:((Ne=(Pe=e.layout)===null||Pe===void 0||(ie=Pe.pageContainer)===null||ie===void 0?void 0:ie.paddingBlockPageContainerContent)!==null&&Ne!==void 0?Ne:40)/4+10}),(0,o.Z)(pe,"".concat(e.antCls,"-page-header-heading"),{paddingBlockStart:((Ze=(Re=e.layout)===null||Re===void 0||(me=Re.pageContainer)===null||me===void 0?void 0:me.paddingBlockPageContainerContent)!==null&&Ze!==void 0?Ze:40)/4}),(0,o.Z)(pe,"".concat(e.antCls,"-page-header-footer"),{marginBlockStart:((je=(Be=e.layout)===null||Be===void 0||(Oe=Be.pageContainer)===null||Oe===void 0?void 0:Oe.paddingBlockPageContainerContent)!==null&&je!==void 0?je:40)/4}),pe)),(0,o.Z)(ye,"&-detail",(0,o.Z)({display:"flex"},we,{display:"block"})),(0,o.Z)(ye,"&-main",{width:"100%"}),(0,o.Z)(ye,"&-row",(0,o.Z)({display:"flex",width:"100%"},ge,{display:"block"})),(0,o.Z)(ye,"&-content",{flex:"auto",width:"100%"}),(0,o.Z)(ye,"&-extraContent",(he={flex:"0 1 auto",minWidth:"242px",marginInlineStart:88,textAlign:"end"},(0,o.Z)(he,xe,{marginInlineStart:44}),(0,o.Z)(he,Me,{marginInlineStart:20}),(0,o.Z)(he,ge,{marginInlineStart:0,textAlign:"start"}),(0,o.Z)(he,we,{marginInlineStart:0}),he)),ye))};function $e(_,e){return(0,d.Xj)("ProLayoutPageContainer",function(g){var w,B=(0,s.Z)((0,s.Z)({},g),{},{componentCls:".".concat(_),layout:(0,s.Z)((0,s.Z)({},g==null?void 0:g.layout),{},{pageContainer:(0,s.Z)((0,s.Z)({},g==null||(w=g.layout)===null||w===void 0?void 0:w.pageContainer),e)})});return[He(B)]})}function ze(_,e){var g=e.stylish;return(0,d.Xj)("ProLayoutPageContainerStylish",function(w){var B=(0,s.Z)((0,s.Z)({},w),{},{componentCls:".".concat(_)});return g?[(0,o.Z)({},"div".concat(B.componentCls),g==null?void 0:g(B))]:[]})}var ke=r(1977),Te=["title","content","pageHeaderRender","header","prefixedClassName","extraContent","childrenContentStyle","style","prefixCls","hashId","value","breadcrumbRender"],Fe=["children","loading","className","style","footer","affixProps","token","fixedHeader","breadcrumbRender","footerToolBarProps","childrenContentStyle"];function Ge(_){return(0,$.Z)(_)==="object"?_:{spinning:_}}var We=function(e){var g=e.tabList,w=e.tabActiveKey,B=e.onTabChange,G=e.hashId,k=e.tabBarExtraContent,K=e.tabProps,J=e.prefixedClassName;return Array.isArray(g)||k?(0,a.jsx)(A.Z,(0,s.Z)((0,s.Z)({className:"".concat(J,"-tabs ").concat(G).trim(),activeKey:w,onChange:function(re){B&&B(re)},tabBarExtraContent:k,items:g==null?void 0:g.map(function(X,re){var L;return(0,s.Z)((0,s.Z)({label:X.tab},X),{},{key:((L=X.key)===null||L===void 0?void 0:L.toString())||(re==null?void 0:re.toString())})})},K),{},{children:(0,ke.n)(z.Z,"4.23.0")<0?g==null?void 0:g.map(function(X,re){return(0,a.jsx)(A.Z.TabPane,(0,s.Z)({tab:X.tab},X),X.key||re)}):null})):null},Ae=function(e,g,w,B){return!e&&!g?null:(0,a.jsx)("div",{className:"".concat(w,"-detail ").concat(B).trim(),children:(0,a.jsx)("div",{className:"".concat(w,"-main ").concat(B).trim(),children:(0,a.jsxs)("div",{className:"".concat(w,"-row ").concat(B).trim(),children:[e&&(0,a.jsx)("div",{className:"".concat(w,"-content ").concat(B).trim(),children:e}),g&&(0,a.jsx)("div",{className:"".concat(w,"-extraContent ").concat(B).trim(),children:g})]})})})},Le=function(e){var g=useContext(RouteContext);return _jsx("div",{style:{height:"100%",display:"flex",alignItems:"center"},children:_jsx(Breadcrumb,_objectSpread(_objectSpread(_objectSpread({},g==null?void 0:g.breadcrumb),g==null?void 0:g.breadcrumbProps),e))})},Ie=function(e){var g,w=e.title,B=e.content,G=e.pageHeaderRender,k=e.header,K=e.prefixedClassName,J=e.extraContent,X=e.childrenContentStyle,re=e.style,L=e.prefixCls,oe=e.hashId,ue=e.value,te=e.breadcrumbRender,ce=(0,I.Z)(e,Te),Y=function(){if(te)return te};if(G===!1)return null;if(G)return(0,a.jsxs)(a.Fragment,{children:[" ",G((0,s.Z)((0,s.Z)({},e),ue))]});var ve=w;!w&&w!==!1&&(ve=ue.title);var ae=(0,s.Z)((0,s.Z)((0,s.Z)({},ue),{},{title:ve},ce),{},{footer:We((0,s.Z)((0,s.Z)({},ce),{},{hashId:oe,breadcrumbRender:te,prefixedClassName:K}))},k),Q=ae,se=Q.breadcrumb,ne=(!se||!(se!=null&&se.itemRender)&&!(se!=null&&(g=se.items)!==null&&g!==void 0&&g.length))&&!te;return["title","subTitle","extra","tags","footer","avatar","backIcon"].every(function(be){return!ae[be]})&&ne&&!B&&!J?null:(0,a.jsx)(D,(0,s.Z)((0,s.Z)({},ae),{},{className:"".concat(K,"-warp-page-header ").concat(oe).trim(),breadcrumb:te===!1?void 0:(0,s.Z)((0,s.Z)({},ae.breadcrumb),ue.breadcrumbProps),breadcrumbRender:Y(),prefixCls:L,children:(k==null?void 0:k.children)||Ae(B,J,K,oe)}))},Xe=function(e){var g,w,B,G,k=e.children,K=e.loading,J=K===void 0?!1:K,X=e.className,re=e.style,L=e.footer,oe=e.affixProps,ue=e.token,te=e.fixedHeader,ce=e.breadcrumbRender,Y=e.footerToolBarProps,ve=e.childrenContentStyle,ae=(0,I.Z)(e,Fe),Q=(0,R.useContext)(n.X);(0,R.useEffect)(function(){var de;return!Q||!(Q!=null&&Q.setHasPageContainer)?function(){}:(Q==null||(de=Q.setHasPageContainer)===null||de===void 0||de.call(Q,function(Ee){return Ee+1}),function(){var Ee;Q==null||(Ee=Q.setHasPageContainer)===null||Ee===void 0||Ee.call(Q,function(qe){return qe-1})})},[]);var se=(0,R.useContext)(E.L_),ne=se.token,be=(0,R.useContext)(W.ZP.ConfigContext),Ne=be.getPrefixCls,Pe=e.prefixCls||Ne("pro"),ie="".concat(Pe,"-page-container"),Ze=$e(ie,ue),Re=Ze.wrapSSR,me=Ze.hashId,je=ze("".concat(ie,".").concat(ie,"-stylish"),{stylish:e.stylish}),Be=(0,R.useMemo)(function(){var de;return ce==!1?!1:ce||(ae==null||(de=ae.header)===null||de===void 0?void 0:de.breadcrumbRender)},[ce,ae==null||(g=ae.header)===null||g===void 0?void 0:g.breadcrumbRender]),Oe=Ie((0,s.Z)((0,s.Z)({},ae),{},{breadcrumbRender:Be,ghost:!0,hashId:me,prefixCls:void 0,prefixedClassName:ie,value:Q})),pe=(0,R.useMemo)(function(){if(R.isValidElement(J))return J;if(typeof J=="boolean"&&!J)return null;var de=Ge(J);return de.spinning?(0,a.jsx)(ee.S,(0,s.Z)({},de)):null},[J]),he=(0,R.useMemo)(function(){return k?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:N()(me,"".concat(ie,"-children-container"),(0,o.Z)({},"".concat(ie,"-children-container-no-header"),!(e!=null&&e.header))),style:ve,children:k})}):null},[k,ie,ve,me]),ye=(0,R.useMemo)(function(){var de=pe||he;if(e.waterMarkProps||Q.waterMarkProps){var Ee=(0,s.Z)((0,s.Z)({},Q.waterMarkProps),e.waterMarkProps);return(0,a.jsx)(Ce,(0,s.Z)((0,s.Z)({},Ee),{},{children:de}))}return de},[e.waterMarkProps,Q.waterMarkProps,pe,he]),Ye=N()(ie,me,X,(w={},(0,o.Z)(w,"".concat(ie,"-with-footer"),L),(0,o.Z)(w,"".concat(ie,"-with-affix"),te&&Oe),(0,o.Z)(w,"".concat(ie,"-stylish"),!!ae.stylish),w));return Re(je.wrapSSR((0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{style:re,className:Ye,children:[te&&Oe?(0,a.jsx)(U.Z,(0,s.Z)((0,s.Z)({offsetTop:Q.hasHeader&&Q.fixedHeader?(B=ne.layout)===null||B===void 0||(G=B.header)===null||G===void 0?void 0:G.heightLayoutHeader:1},oe),{},{className:"".concat(ie,"-affix ").concat(me).trim(),children:(0,a.jsx)("div",{className:"".concat(ie,"-warp ").concat(me).trim(),children:Oe})})):Oe,ye&&(0,a.jsx)(y,{children:ye})]}),L&&(0,a.jsx)(v.S,(0,s.Z)((0,s.Z)({stylish:ae.footerStylish,prefixCls:Pe},Y),{},{children:L}))]})))},Je=function(e){return(0,a.jsx)(E._Y,{needDeps:!0,children:(0,a.jsx)(Xe,(0,s.Z)({},e))})},Ke=function(e){var g=useContext(RouteContext);return Ie(_objectSpread(_objectSpread({},e),{},{hashId:"",value:g}))}},3770:function(q,b,r){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=void 0;const o=I(r(27863));function I($){return $&&$.__esModule?$:{default:$}}const s=o;b.default=s,q.exports=s},77059:function(q,b,r){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=void 0;const o=I(r(21379));function I($){return $&&$.__esModule?$:{default:$}}const s=o;b.default=s,q.exports=s},33046:function(q,b,r){"use client";"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"default",{enumerable:!0,get:function(){return T}});var o=n(r(67294)),I=N(r(94184)),s=r(34853),$=N(r(61711)),E=N(r(27727)),A=r(26814),z=r(72014);function W(t,u){(u==null||u>t.length)&&(u=t.length);for(var f=0,c=new Array(u);f=0)&&Object.prototype.propertyIsEnumerable.call(t,c)&&(f[c]=t[c])}return f}function S(t,u){if(t==null)return{};var f={},c=Object.keys(t),O,j;for(j=0;j=0)&&(f[O]=t[O]);return f}function P(t,u){return U(t)||v(t,u)||H(t,u)||d()}function H(t,u){if(t){if(typeof t=="string")return W(t,u);var f=Object.prototype.toString.call(t).slice(8,-1);if(f==="Object"&&t.constructor&&(f=t.constructor.name),f==="Map"||f==="Set")return Array.from(f);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return W(t,u)}}(0,A.setTwoToneColor)(s.blue.primary);var m=o.forwardRef(function(t,u){var f=t.className,c=t.icon,O=t.spin,j=t.rotate,F=t.tabIndex,V=t.onClick,i=t.twoToneColor,x=y(t,["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"]),Z=o.useContext($.default),p=Z.prefixCls,C=p===void 0?"anticon":p,D=Z.rootClassName,ee,le=(0,I.default)(D,C,(ee={},M(ee,"".concat(C,"-").concat(c.name),!!c.name),M(ee,"".concat(C,"-spin"),!!O||c.name==="loading"),ee),f),Ce=F;Ce===void 0&&V&&(Ce=-1);var Se=j?{msTransform:"rotate(".concat(j,"deg)"),transform:"rotate(".concat(j,"deg)")}:void 0,fe=P((0,z.normalizeTwoToneColors)(i),2),we=fe[0],ge=fe[1];return o.createElement("span",a(l({role:"img","aria-label":c.name},x),{ref:u,tabIndex:Ce,onClick:V,className:le}),o.createElement(E.default,{icon:c,primaryColor:we,secondaryColor:ge,style:Se}))});m.displayName="AntdIcon",m.getTwoToneColor=A.getTwoToneColor,m.setTwoToneColor=A.setTwoToneColor;var T=m},61711:function(q,b,r){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"default",{enumerable:!0,get:function(){return s}});var o=r(67294),I=(0,o.createContext)({}),s=I},27727:function(q,b,r){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"default",{enumerable:!0,get:function(){return d}});var o=E(r(67294)),I=r(72014);function s(l,h,a){return h in l?Object.defineProperty(l,h,{value:a,enumerable:!0,configurable:!0,writable:!0}):l[h]=a,l}function $(l){if(typeof WeakMap!="function")return null;var h=new WeakMap,a=new WeakMap;return($=function(y){return y?a:h})(l)}function E(l,h){if(!h&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var a=$(h);if(a&&a.has(l))return a.get(l);var y={},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in l)if(P!=="default"&&Object.prototype.hasOwnProperty.call(l,P)){var H=S?Object.getOwnPropertyDescriptor(l,P):null;H&&(H.get||H.set)?Object.defineProperty(y,P,H):y[P]=l[P]}return y.default=l,a&&a.set(l,y),y}function A(l){for(var h=1;h=0)&&Object.prototype.propertyIsEnumerable.call(l,y)&&(a[y]=l[y])}return a}function M(l,h){if(l==null)return{};var a={},y=Object.keys(l),S,P;for(P=0;P=0)&&(a[S]=l[S]);return a}var N={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function R(l){var h=l.primaryColor,a=l.secondaryColor;N.primaryColor=h,N.secondaryColor=a||(0,I.getSecondaryColor)(h),N.calculated=!!a}function n(){return A({},N)}var v=function(l){var h=l.icon,a=l.className,y=l.onClick,S=l.style,P=l.primaryColor,H=l.secondaryColor,m=U(l,["icon","className","onClick","style","primaryColor","secondaryColor"]),T=o.useRef(),t=N;if(P&&(t={primaryColor:P,secondaryColor:H||(0,I.getSecondaryColor)(P)}),(0,I.useInsertStyles)(T),(0,I.warning)((0,I.isIconDefinition)(h),"icon should be icon definiton, but got ".concat(h)),!(0,I.isIconDefinition)(h))return null;var u=h;return u&&typeof u.icon=="function"&&(u=W(A({},u),{icon:u.icon(t.primaryColor,t.secondaryColor)})),(0,I.generate)(u.icon,"svg-".concat(u.name),W(A({className:a,onClick:y,style:S,"data-icon":u.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},m),{ref:T}))};v.displayName="IconReact",v.getTwoToneColors=n,v.setTwoToneColors=R;var d=v},26814:function(q,b,r){"use strict";Object.defineProperty(b,"__esModule",{value:!0});function o(n,v){for(var d in v)Object.defineProperty(n,d,{enumerable:!0,get:v[d]})}o(b,{setTwoToneColor:function(){return N},getTwoToneColor:function(){return R}});var I=A(r(27727)),s=r(72014);function $(n,v){(v==null||v>n.length)&&(v=n.length);for(var d=0,l=new Array(v);d0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(m).reduce(function(T,t){var u=m[t];switch(t){case"class":T.className=u,delete T.class;break;default:delete T[t],T[n(t)]=u}return T},{})}function h(m,T,t){return t?A.default.createElement(m.tag,R({key:T},l(m.attrs),t),(m.children||[]).map(function(u,f){return h(u,"".concat(T,"-").concat(m.tag,"-").concat(f))})):A.default.createElement(m.tag,R({key:T},l(m.attrs)),(m.children||[]).map(function(u,f){return h(u,"".concat(T,"-").concat(m.tag,"-").concat(f))}))}function a(m){return(0,I.generate)(m)[0]}function y(m){return m?Array.isArray(m)?m:[m]:[]}var S={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},P=` +.anticon { + display: inline-block; + color: inherit; + font-style: normal; + line-height: 0; + text-align: center; + text-transform: none; + vertical-align: -0.125em; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.anticon > * { + line-height: 1; +} + +.anticon svg { + display: inline-block; +} + +.anticon::before { + display: none; +} + +.anticon .anticon-icon { + display: block; +} + +.anticon[tabindex] { + cursor: pointer; +} + +.anticon-spin::before, +.anticon-spin { + display: inline-block; + -webkit-animation: loadingCircle 1s infinite linear; + animation: loadingCircle 1s infinite linear; +} + +@-webkit-keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +@keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +`,H=function(m){var T=(0,A.useContext)(z.default),t=T.csp,u=T.prefixCls,f=P;u&&(f=f.replace(/anticon/g,u)),(0,A.useEffect)(function(){var c=m.current,O=(0,$.getShadowRoot)(c);(0,s.updateCSS)(f,"@ant-design-icons",{prepend:!0,csp:t,attachTo:O})},[])}},48783:function(q,b,r){"use strict";var o=r(74902),I=r(75164);function s($){let E;const A=W=>()=>{E=null,$.apply(void 0,(0,o.Z)(W))},z=function(){if(E==null){for(var W=arguments.length,U=new Array(W),M=0;M{I.Z.cancel(E),E=null},z}b.Z=s},30291:function(q,b,r){"use strict";r.d(b,{Z:function(){return T}});var o=r(15671),I=r(43144),s=r(32531),$=r(73568),E=r(67294),A=r(94184),z=r.n(A),W=r(48555),U=r(98423),M=r(48783),N=r(53124),R=r(67968),n=r(45503);const v=t=>{const{componentCls:u}=t;return{[u]:{position:"fixed",zIndex:t.zIndexPopup}}};var d=(0,R.Z)("Affix",t=>{const u=(0,n.TS)(t,{zIndexPopup:t.zIndexBase+10});return[v(u)]});function l(t){return t!==window?t.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function h(t,u,f){if(f!==void 0&&u.top>t.top-f)return f+u.top}function a(t,u,f){if(f!==void 0&&u.bottom{const O=c.getTargetFunc(),j=O==null?void 0:O(),{prevTarget:F}=c.state;F!==j&&(y.forEach(V=>{F==null||F.removeEventListener(V,c.lazyUpdatePosition),j==null||j.addEventListener(V,c.lazyUpdatePosition)}),c.updatePosition(),c.setState({prevTarget:j}))},c.removeListeners=()=>{c.timer&&(clearTimeout(c.timer),c.timer=null);const{prevTarget:O}=c.state,j=c.getTargetFunc(),F=j==null?void 0:j();y.forEach(V=>{F==null||F.removeEventListener(V,c.lazyUpdatePosition),O==null||O.removeEventListener(V,c.lazyUpdatePosition)}),c.updatePosition.cancel(),c.lazyUpdatePosition.cancel()},c.getOffsetTop=()=>{const{offsetBottom:O,offsetTop:j}=c.props;return O===void 0&&j===void 0?0:j},c.getOffsetBottom=()=>c.props.offsetBottom,c.measure=()=>{const{status:O,lastAffix:j}=c.state,{onChange:F}=c.props,V=c.getTargetFunc();if(O!==P.Prepare||!c.fixedNodeRef.current||!c.placeholderNodeRef.current||!V)return;const i=c.getOffsetTop(),x=c.getOffsetBottom(),Z=V();if(Z){const p={status:P.None},C=l(c.placeholderNodeRef.current);if(C.top===0&&C.left===0&&C.width===0&&C.height===0)return;const D=l(Z),ee=h(C,D,i),le=a(C,D,x);ee!==void 0?(p.affixStyle={position:"fixed",top:ee,width:C.width,height:C.height},p.placeholderStyle={width:C.width,height:C.height}):le!==void 0&&(p.affixStyle={position:"fixed",bottom:le,width:C.width,height:C.height},p.placeholderStyle={width:C.width,height:C.height}),p.lastAffix=!!p.affixStyle,F&&j!==p.lastAffix&&F(p.lastAffix),c.setState(p)}},c.prepareMeasure=()=>{c.setState({status:P.Prepare,affixStyle:void 0,placeholderStyle:void 0})},c.updatePosition=(0,M.Z)(()=>{c.prepareMeasure()}),c.lazyUpdatePosition=(0,M.Z)(()=>{const O=c.getTargetFunc(),{affixStyle:j}=c.state;if(O&&j){const F=c.getOffsetTop(),V=c.getOffsetBottom(),i=O();if(i&&c.placeholderNodeRef.current){const x=l(i),Z=l(c.placeholderNodeRef.current),p=h(Z,x,F),C=a(Z,x,V);if(p!==void 0&&j.top===p||C!==void 0&&j.bottom===C)return}}c.prepareMeasure()}),c}return(0,I.Z)(f,[{key:"getTargetFunc",value:function(){const{getTargetContainer:O}=this.context,{target:j}=this.props;return j!==void 0?j:O!=null?O:S}},{key:"componentDidMount",value:function(){this.timer=setTimeout(this.addListeners)}},{key:"componentDidUpdate",value:function(O){this.addListeners(),(O.offsetTop!==this.props.offsetTop||O.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"render",value:function(){const{affixStyle:O,placeholderStyle:j}=this.state,{affixPrefixCls:F,rootClassName:V,children:i}=this.props,x=z()(O&&V,{[F]:!!O});let Z=(0,U.Z)(this.props,["prefixCls","offsetTop","offsetBottom","target","onChange","affixPrefixCls","rootClassName"]);return E.createElement(W.Z,{onResize:this.updatePosition},E.createElement("div",Object.assign({},Z,{ref:this.placeholderNodeRef}),O&&E.createElement("div",{style:j,"aria-hidden":"true"}),E.createElement("div",{className:x,ref:this.fixedNodeRef,style:O},E.createElement(W.Z,{onResize:this.updatePosition},i))))}}]),f}(E.Component);H.contextType=N.E_;var T=(0,E.forwardRef)((t,u)=>{const{prefixCls:f,rootClassName:c}=t,{getPrefixCls:O}=(0,E.useContext)(N.E_),j=O("affix",f),[F,V]=d(j),i=Object.assign(Object.assign({},t),{affixPrefixCls:j,rootClassName:z()(c,V)});return F(E.createElement(H,Object.assign({},i,{ref:u})))})},85673:function(q,b,r){"use strict";r.d(b,{Z:function(){return V}});var o=r(67294),I=r(94184),s=r.n(I),$=r(50344),E=r(64217),A=r(96159),z=r(53124),W=r(13622),U=r(29408);const M=i=>{let{children:x}=i;const{getPrefixCls:Z}=o.useContext(z.E_),p=Z("breadcrumb");return o.createElement("li",{className:`${p}-separator`,"aria-hidden":"true"},x===""?x:x||"/")};M.__ANT_BREADCRUMB_SEPARATOR=!0;var N=M,R=function(i,x){var Z={};for(var p in i)Object.prototype.hasOwnProperty.call(i,p)&&x.indexOf(p)<0&&(Z[p]=i[p]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,p=Object.getOwnPropertySymbols(i);Cx[C]||p)}function v(i,x,Z,p){if(Z==null)return null;const{className:C,onClick:D}=x,ee=R(x,["className","onClick"]),le=Object.assign(Object.assign({},(0,E.Z)(ee,{data:!0,aria:!0})),{onClick:D});return p!==void 0?o.createElement("a",Object.assign({},le,{className:s()(`${i}-link`,C),href:p}),Z):o.createElement("span",Object.assign({},le,{className:s()(`${i}-link`,C)}),Z)}function d(i,x){return(p,C,D,ee,le)=>{if(x)return x(p,C,D,ee);const Ce=n(p,C);return v(i,p,Ce,le)}}var l=function(i,x){var Z={};for(var p in i)Object.prototype.hasOwnProperty.call(i,p)&&x.indexOf(p)<0&&(Z[p]=i[p]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,p=Object.getOwnPropertySymbols(i);C{const{prefixCls:x,separator:Z="/",children:p,menu:C,overlay:D,dropdownProps:ee,href:le}=i,Se=(fe=>{if(C||D){const we=Object.assign({},ee);if(C){const ge=C||{},{items:Me}=ge,xe=l(ge,["items"]);we.menu=Object.assign(Object.assign({},xe),{items:Me==null?void 0:Me.map((He,$e)=>{var{key:ze,title:ke,label:Te,path:Fe}=He,Ge=l(He,["key","title","label","path"]);let We=Te!=null?Te:ke;return Fe&&(We=o.createElement("a",{href:`${le}${Fe}`},We)),Object.assign(Object.assign({},Ge),{key:ze!=null?ze:$e,label:We})})})}else D&&(we.overlay=D);return o.createElement(U.Z,Object.assign({placement:"bottom"},we),o.createElement("span",{className:`${x}-overlay-link`},fe,o.createElement(W.Z,null)))}return fe})(p);return Se!=null?o.createElement(o.Fragment,null,o.createElement("li",null,Se),Z&&o.createElement(N,null,Z)):null},a=i=>{const{prefixCls:x,children:Z,href:p}=i,C=l(i,["prefixCls","children","href"]),{getPrefixCls:D}=o.useContext(z.E_),ee=D("breadcrumb",x);return o.createElement(h,Object.assign({},C,{prefixCls:ee}),v(ee,C,Z,p))};a.__ANT_BREADCRUMB_ITEM=!0;var y=a,S=r(14747),P=r(67968),H=r(45503);const m=i=>{const{componentCls:x,iconCls:Z}=i;return{[x]:Object.assign(Object.assign({},(0,S.Wf)(i)),{color:i.itemColor,fontSize:i.fontSize,[Z]:{fontSize:i.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:i.linkColor,transition:`color ${i.motionDurationMid}`,padding:`0 ${i.paddingXXS}px`,borderRadius:i.borderRadiusSM,height:i.lineHeight*i.fontSize,display:"inline-block",marginInline:-i.marginXXS,"&:hover":{color:i.linkHoverColor,backgroundColor:i.colorBgTextHover}},(0,S.Qy)(i)),["li:last-child"]:{color:i.lastItemColor},[`${x}-separator`]:{marginInline:i.separatorMargin,color:i.separatorColor},[`${x}-link`]:{[` + > ${Z} + span, + > ${Z} + a + `]:{marginInlineStart:i.marginXXS}},[`${x}-overlay-link`]:{borderRadius:i.borderRadiusSM,height:i.lineHeight*i.fontSize,display:"inline-block",padding:`0 ${i.paddingXXS}px`,marginInline:-i.marginXXS,[`> ${Z}`]:{marginInlineStart:i.marginXXS,fontSize:i.fontSizeIcon},"&:hover":{color:i.linkHoverColor,backgroundColor:i.colorBgTextHover,a:{color:i.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${i.componentCls}-rtl`]:{direction:"rtl"}})}};var T=(0,P.Z)("Breadcrumb",i=>{const x=(0,H.TS)(i,{});return[m(x)]},i=>({itemColor:i.colorTextDescription,lastItemColor:i.colorText,iconFontSize:i.fontSize,linkColor:i.colorTextDescription,linkHoverColor:i.colorText,separatorColor:i.colorTextDescription,separatorMargin:i.marginXS})),t=function(i,x){var Z={};for(var p in i)Object.prototype.hasOwnProperty.call(i,p)&&x.indexOf(p)<0&&(Z[p]=i[p]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,p=Object.getOwnPropertySymbols(i);C{var{breadcrumbName:ee}=D,le=t(D,["breadcrumbName"]);return Object.assign(Object.assign({},le),{title:ee})})}),C}function f(i,x){return(0,o.useMemo)(()=>i||(x?x.map(u):null),[i,x])}var c=function(i,x){var Z={};for(var p in i)Object.prototype.hasOwnProperty.call(i,p)&&x.indexOf(p)<0&&(Z[p]=i[p]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,p=Object.getOwnPropertySymbols(i);C{if(x===void 0)return x;let Z=(x||"").replace(/^\//,"");return Object.keys(i).forEach(p=>{Z=Z.replace(`:${p}`,i[p])}),Z},j=i=>{const{prefixCls:x,separator:Z="/",style:p,className:C,rootClassName:D,routes:ee,items:le,children:Ce,itemRender:Se,params:fe={}}=i,we=c(i,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:ge,direction:Me,breadcrumb:xe}=o.useContext(z.E_);let He;const $e=ge("breadcrumb",x),[ze,ke]=T($e),Te=f(le,ee),Fe=d($e,Se);if(Te&&Te.length>0){const Ae=[],Le=le||ee;He=Te.map((Ie,Xe)=>{const{path:Je,key:Ke,type:_,menu:e,overlay:g,onClick:w,className:B,separator:G,dropdownProps:k}=Ie,K=O(fe,Je);K!==void 0&&Ae.push(K);const J=Ke!=null?Ke:Xe;if(_==="separator")return o.createElement(N,{key:J},G);const X={},re=Xe===Te.length-1;e?X.menu=e:g&&(X.overlay=g);let{href:L}=Ie;return Ae.length&&K!==void 0&&(L=`#/${Ae.join("/")}`),o.createElement(h,Object.assign({key:J},X,(0,E.Z)(Ie,{data:!0,aria:!0}),{className:B,dropdownProps:k,href:L,separator:re?"":Z,onClick:w,prefixCls:$e}),Fe(Ie,fe,Le,Ae,L))})}else if(Ce){const Ae=(0,$.Z)(Ce).length;He=(0,$.Z)(Ce).map((Le,Ie)=>{if(!Le)return Le;const Xe=Ie===Ae-1;return(0,A.Tm)(Le,{separator:Xe?"":Z,key:Ie})})}const Ge=s()($e,xe==null?void 0:xe.className,{[`${$e}-rtl`]:Me==="rtl"},C,D,ke),We=Object.assign(Object.assign({},xe==null?void 0:xe.style),p);return ze(o.createElement("nav",Object.assign({className:Ge,style:We},we),o.createElement("ol",null,He)))};j.Item=y,j.Separator=N;var F=j,V=F},19158:function(q,b){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=r;function r(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},32191:function(q,b){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=r;function r(o,I){if(!o)return!1;if(o.contains)return o.contains(I);for(var s=I;s;){if(s===o)return!0;s=s.parentNode}return!1}},93399:function(q,b,r){"use strict";var o=r(64836).default;Object.defineProperty(b,"__esModule",{value:!0}),b.clearContainerCache=l,b.injectCSS=R,b.removeCSS=v,b.updateCSS=h;var I=o(r(19158)),s=o(r(32191)),$="data-rc-order",E="data-rc-priority",A="rc-util-key",z=new Map;function W(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},y=a.mark;return y?y.startsWith("data-")?y:"data-".concat(y):A}function U(a){if(a.attachTo)return a.attachTo;var y=document.querySelector("head");return y||document.body}function M(a){return a==="queue"?"prependQueue":a?"prepend":"append"}function N(a){return Array.from((z.get(a)||a).children).filter(function(y){return y.tagName==="STYLE"})}function R(a){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,I.default)())return null;var S=y.csp,P=y.prepend,H=y.priority,m=H===void 0?0:H,T=M(P),t=T==="prependQueue",u=document.createElement("style");u.setAttribute($,T),t&&m&&u.setAttribute(E,"".concat(m)),S!=null&&S.nonce&&(u.nonce=S==null?void 0:S.nonce),u.innerHTML=a;var f=U(y),c=f.firstChild;if(P){if(t){var O=N(f).filter(function(j){if(!["prepend","prependQueue"].includes(j.getAttribute($)))return!1;var F=Number(j.getAttribute(E)||0);return m>=F});if(O.length)return f.insertBefore(u,O[O.length-1].nextSibling),u}f.insertBefore(u,c)}else f.appendChild(u);return u}function n(a){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},S=U(y);return N(S).find(function(P){return P.getAttribute(W(y))===a})}function v(a){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},S=n(a,y);if(S){var P=U(y);P.removeChild(S)}}function d(a,y){var S=z.get(a);if(!S||!(0,s.default)(document,S)){var P=R("",y),H=P.parentNode;z.set(a,H),a.removeChild(P)}}function l(){z.clear()}function h(a,y){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},P=U(S);d(P,S);var H=n(y,S);if(H){var m,T;if((m=S.csp)!==null&&m!==void 0&&m.nonce&&H.nonce!==((T=S.csp)===null||T===void 0?void 0:T.nonce)){var t;H.nonce=(t=S.csp)===null||t===void 0?void 0:t.nonce}return H.innerHTML!==a&&(H.innerHTML=a),H}var u=R(a,S);return u.setAttribute(W(S),y),u}},63298:function(q,b){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.getShadowRoot=I,b.inShadow=o;function r(s){var $;return s==null||($=s.getRootNode)===null||$===void 0?void 0:$.call(s)}function o(s){return r(s)instanceof ShadowRoot}function I(s){return o(s)?r(s):null}},45520:function(q,b){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.call=A,b.default=void 0,b.note=$,b.noteOnce=W,b.preMessage=void 0,b.resetWarned=E,b.warning=s,b.warningOnce=z;var r={},o=[],I=function(N){o.push(N)};b.preMessage=I;function s(M,N){if(!1)var R}function $(M,N){if(!1)var R}function E(){r={}}function A(M,N,R){!N&&!r[R]&&(M(!1,R),r[R]=!0)}function z(M,N){A(s,M,N)}function W(M,N){A($,M,N)}z.preMessage=I,z.resetWarned=E,z.noteOnce=W;var U=z;b.default=U},64836:function(q){function b(r){return r&&r.__esModule?r:{default:r}}q.exports=b,q.exports.__esModule=!0,q.exports.default=q.exports}}]); diff --git a/1639.f2847651.async.js b/1639.f2847651.async.js new file mode 100644 index 0000000000..866aaf53de --- /dev/null +++ b/1639.f2847651.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[1639],{31639:function(R,U,i){i.r(U),i.d(U,{cpp:function(){return g},cppLanguage:function(){return n}});var r=i(53105),O=i(35524);const t=1,W=2,o=3,s=82,c=76,f=117,x=85,Z=97,u=122,p=65,V=90,w=95,P=48,Y=34,q=40,S=41,T=32,l=62,y=new r.Jq(Q=>{if(Q.next==c||Q.next==x?Q.advance():Q.next==f&&(Q.advance(),Q.next==P+8&&Q.advance()),Q.next!=s||(Q.advance(),Q.next!=Y))return;Q.advance();let $="";for(;Q.next!=q;){if(Q.next==T||Q.next<=13||Q.next==S)return;$+=String.fromCharCode(Q.next),Q.advance()}for(Q.advance();;){if(Q.next<0)return Q.acceptToken(t);if(Q.next==S){let X=!0;for(let a=0;X&&a<$.length;a++)Q.peek(a+1)!=$.charCodeAt(a)&&(X=!1);if(X&&Q.peek($.length+1)==Y)return Q.acceptToken(t,2+$.length)}Q.advance()}}),z=new r.Jq(Q=>{if(Q.next==l)Q.peek(1)==l&&Q.acceptToken(W,1);else{let $=!1,X=0;for(;;X++){if(Q.next>=p&&Q.next<=V)$=!0;else{if(Q.next>=Z&&Q.next<=u)return;if(Q.next!=w&&!(Q.next>=P&&Q.next<=P+9))break}Q.advance()}$&&X>1&&Q.acceptToken(o)}},{extend:!0}),b=(0,O.Gv)({"typedef struct union enum class typename decltype auto template operator friend noexcept namespace using requires concept import export module __attribute__ __declspec __based":O.pJ.definitionKeyword,"extern MsCallModifier MsPointerModifier extern static register thread_local inline const volatile restrict _Atomic mutable constexpr constinit consteval virtual explicit VirtualSpecifier Access":O.pJ.modifier,"if else switch for while do case default return break continue goto throw try catch":O.pJ.controlKeyword,"co_return co_yield co_await":O.pJ.controlKeyword,"new sizeof delete static_assert":O.pJ.operatorKeyword,"NULL nullptr":O.pJ.null,this:O.pJ.self,"True False":O.pJ.bool,"TypeSize PrimitiveType":O.pJ.standard(O.pJ.typeName),TypeIdentifier:O.pJ.typeName,FieldIdentifier:O.pJ.propertyName,"CallExpression/FieldExpression/FieldIdentifier":O.pJ.function(O.pJ.propertyName),"ModuleName/Identifier":O.pJ.namespace,PartitionName:O.pJ.labelName,StatementIdentifier:O.pJ.labelName,"Identifier DestructorName":O.pJ.variableName,"CallExpression/Identifier":O.pJ.function(O.pJ.variableName),"CallExpression/ScopedIdentifier/Identifier":O.pJ.function(O.pJ.variableName),"FunctionDeclarator/Identifier FunctionDeclarator/DestructorName":O.pJ.function(O.pJ.definition(O.pJ.variableName)),NamespaceIdentifier:O.pJ.namespace,OperatorName:O.pJ.operator,ArithOp:O.pJ.arithmeticOperator,LogicOp:O.pJ.logicOperator,BitOp:O.pJ.bitwiseOperator,CompareOp:O.pJ.compareOperator,AssignOp:O.pJ.definitionOperator,UpdateOp:O.pJ.updateOperator,LineComment:O.pJ.lineComment,BlockComment:O.pJ.blockComment,Number:O.pJ.number,String:O.pJ.string,"RawString SystemLibString":O.pJ.special(O.pJ.string),CharLiteral:O.pJ.character,EscapeSequence:O.pJ.escape,"UserDefinedLiteral/Identifier":O.pJ.literal,PreProcArg:O.pJ.meta,"PreprocDirectiveName #include #ifdef #ifndef #if #define #else #endif #elif":O.pJ.processingInstruction,MacroName:O.pJ.special(O.pJ.name),"( )":O.pJ.paren,"[ ]":O.pJ.squareBracket,"{ }":O.pJ.brace,"< >":O.pJ.angleBracket,". ->":O.pJ.derefOperator,", ;":O.pJ.separator}),j={__proto__:null,bool:34,char:34,int:34,float:34,double:34,void:34,size_t:34,ssize_t:34,intptr_t:34,uintptr_t:34,charptr_t:34,int8_t:34,int16_t:34,int32_t:34,int64_t:34,uint8_t:34,uint16_t:34,uint32_t:34,uint64_t:34,char8_t:34,char16_t:34,char32_t:34,char64_t:34,const:68,volatile:70,restrict:72,_Atomic:74,mutable:76,constexpr:78,constinit:80,consteval:82,struct:86,__declspec:90,final:148,override:148,public:152,private:152,protected:152,virtual:154,extern:160,static:162,register:164,inline:166,thread_local:168,__attribute__:172,__based:178,__restrict:180,__uptr:180,__sptr:180,_unaligned:180,__unaligned:180,noexcept:194,requires:198,TRUE:784,true:784,FALSE:786,false:786,typename:218,class:220,template:234,throw:248,__cdecl:256,__clrcall:256,__stdcall:256,__fastcall:256,__thiscall:256,__vectorcall:256,try:260,catch:264,export:282,import:286,case:296,default:298,if:308,else:314,switch:318,do:322,while:324,for:330,return:334,break:338,continue:342,goto:346,co_return:350,co_yield:354,using:362,typedef:366,namespace:380,new:398,delete:400,co_await:402,concept:406,enum:410,static_assert:414,friend:422,union:424,explicit:430,operator:444,module:456,signed:518,unsigned:518,long:518,short:518,decltype:528,auto:530,sizeof:566,NULL:572,nullptr:586,this:588},v={__proto__:null,"<":131},d={__proto__:null,">":135},_={__proto__:null,operator:388,new:576,delete:582},m=r.WQ.deserialize({version:14,states:"$:|Q!QQVOOP'gOUOOO(XOWO'#CdO,RQUO'#CgO,]QUO'#FjO-sQbO'#CwO.UQUO'#CwO0TQUO'#KZO0[QUO'#CvO0gOpO'#DvO0oQ!dO'#D]OOQR'#JO'#JOO5XQVO'#GUO5fQUO'#JVOOQQ'#JV'#JVO8zQUO'#KmO{QVO'#E^O?]QUO'#E^OOQQ'#Ed'#EdOOQQ'#Ee'#EeO?bQVO'#EfO@XQVO'#EiOBUQUO'#FPOBvQUO'#FhOOQR'#Fj'#FjOB{QUO'#FjOOQR'#LQ'#LQOOQR'#LP'#LPOETQVO'#KQOFxQUO'#LVOGVQUO'#KqOGkQUO'#LVOH]QUO'#LXOOQR'#HU'#HUOOQR'#HV'#HVOOQR'#HW'#HWOOQR'#K|'#K|OOQR'#J_'#J_Q!QQVOOOH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.P.Q.U.}/Q/[/c/l/n/s/u0h0{1Q1a1b1l1p1z1|2c2f2i2u2z2}3i4O4R4W4a5Y5e5q6_6c6f6h6j6t6v6{7b7j7m8e8g8m8s8t9R9V9]9_9l9o9p9{:O:U:W:]:b:fU%om%p7QQ&m!`Q(j#]d0P)}/|/}0O0R4}5O5P5S8QR7Q3Tb}Oaewx{!g&S*q&v$i[!W!X!k!n!r!s!v!x#X#Y#[#g#i#l#q#r#s#t#u#v#w#x#y#z#{#}$U$W$Y$e$f$k%]%m&Q&W&b&f&x&y&|'O'P'b'i'j'y(`(b(i)l)r*h*i*l*r*v+W+Y+h+j+k,P,R,n,q,w-]-^-a-g.P.Q.U.}/Q/[/c/l/n/s/u0{1a1b1l1p1z1|2c2f2i2u2z2}3i4O4R4W4a5Y5e5q6_6c6f6h6j6t6v6{7b7j7m8e8g8m8s8t9R9V9]9_9l9o9p9{:O:U:W:]:b:fS%`f0h#d%jgnp|#O$g$|$}%S%d%h%i%w&s't'u(Q*Y*`*b*t+],l,v-_-p-w.f.m.o0]0y0z1O1S2_2j5a6g;W;X;Y;`;a;b;o;p;q;r;v;w;x;y MacroName LineComment BlockComment PreprocDirective #include String EscapeSequence SystemLibString Identifier ArgumentList ( ConditionalExpression AssignmentExpression CallExpression PrimitiveType FieldExpression FieldIdentifier DestructorName TemplateMethod ScopedFieldIdentifier NamespaceIdentifier TemplateType TypeIdentifier ScopedTypeIdentifier ScopedNamespaceIdentifier :: NamespaceIdentifier TypeIdentifier TemplateArgumentList < TypeDescriptor const volatile restrict _Atomic mutable constexpr constinit consteval StructSpecifier struct MsDeclspecModifier __declspec ) Attribute AttributeName Identifier AttributeArgs { } [ ] UpdateOp ArithOp ArithOp ArithOp LogicOp BitOp BitOp BitOp CompareOp CompareOp CompareOp > CompareOp BitOp UpdateOp , Number CharLiteral AttributeArgs VirtualSpecifier BaseClassClause Access virtual FieldDeclarationList FieldDeclaration extern static register inline thread_local AttributeSpecifier __attribute__ PointerDeclarator MsBasedModifier __based MsPointerModifier FunctionDeclarator ParameterList ParameterDeclaration PointerDeclarator FunctionDeclarator Noexcept noexcept RequiresClause requires True False ParenthesizedExpression CommaExpression LambdaExpression LambdaCaptureSpecifier TemplateParameterList OptionalParameterDeclaration TypeParameterDeclaration typename class VariadicParameterDeclaration VariadicDeclarator ReferenceDeclarator OptionalTypeParameterDeclaration VariadicTypeParameterDeclaration TemplateTemplateParameterDeclaration template AbstractFunctionDeclarator AbstractPointerDeclarator AbstractArrayDeclarator AbstractParenthesizedDeclarator AbstractReferenceDeclarator ThrowSpecifier throw TrailingReturnType CompoundStatement FunctionDefinition MsCallModifier TryStatement try CatchClause catch LinkageSpecification Declaration InitDeclarator InitializerList InitializerPair SubscriptDesignator FieldDesignator ExportDeclaration export ImportDeclaration import ModuleName PartitionName HeaderName CaseStatement case default LabeledStatement StatementIdentifier ExpressionStatement IfStatement if ConditionClause Declaration else SwitchStatement switch DoStatement do while WhileStatement ForStatement for ReturnStatement return BreakStatement break ContinueStatement continue GotoStatement goto CoReturnStatement co_return CoYieldStatement co_yield AttributeStatement ForRangeLoop AliasDeclaration using TypeDefinition typedef PointerDeclarator FunctionDeclarator ArrayDeclarator ParenthesizedDeclarator ThrowStatement NamespaceDefinition namespace ScopedIdentifier Identifier OperatorName operator ArithOp BitOp CompareOp LogicOp new delete co_await ConceptDefinition concept UsingDeclaration enum StaticAssertDeclaration static_assert ConcatenatedString TemplateDeclaration FriendDeclaration friend union FunctionDefinition ExplicitFunctionSpecifier explicit FieldInitializerList FieldInitializer DefaultMethodClause DeleteMethodClause FunctionDefinition OperatorCast operator TemplateInstantiation FunctionDefinition FunctionDefinition Declaration ModuleDeclaration module RequiresExpression RequirementList SimpleRequirement TypeRequirement CompoundRequirement ReturnTypeRequirement ConstraintConjuction LogicOp ConstraintDisjunction LogicOp ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator TemplateFunction OperatorName StructuredBindingDeclarator ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator BitfieldClause FunctionDefinition FunctionDefinition Declaration FunctionDefinition Declaration AccessSpecifier UnionSpecifier ClassSpecifier EnumSpecifier SizedTypeSpecifier TypeSize EnumeratorList Enumerator DependentType Decltype decltype auto PlaceholderTypeSpecifier ParameterPackExpansion ParameterPackExpansion FieldIdentifier PointerExpression SubscriptExpression BinaryExpression ArithOp LogicOp LogicOp BitOp UnaryExpression LogicOp BitOp UpdateExpression CastExpression SizeofExpression sizeof CoAwaitExpression CompoundLiteralExpression NULL NewExpression new NewDeclarator DeleteExpression delete ParameterPackExpansion nullptr this UserDefinedLiteral ParamPack #define PreprocArg #if #ifdef #ifndef #else #endif #elif PreprocDirectiveName Macro Program",maxTerm:425,nodeProps:[["group",-35,1,8,11,14,15,16,18,71,72,100,101,102,104,191,208,229,242,243,270,271,272,277,280,281,282,284,285,286,287,290,292,293,294,295,296,"Expression",-13,17,24,25,26,42,255,256,257,258,262,263,265,266,"Type",-19,126,129,147,150,152,153,158,160,163,164,166,168,170,172,174,176,178,179,188,"Statement"]],propSources:[b],skippedNodes:[0,3,4,5,6,7,10,297,298,299,300,301,302,303,304,305,306,347,348],repeatNodeCount:41,tokenData:"&*r7ZR!UOX$eXY({YZ.gZ]$e]^+P^p$epq({qr.}rs0}st2ktu$euv!7dvw!9bwx!;exy!O{|!?R|}!AV}!O!BQ!O!P!DX!P!Q#+y!Q!R#Az!R![$(x![!]$Ag!]!^$Cc!^!_$D^!_!`%1W!`!a%2X!a!b%5_!b!c$e!c!n%6Y!n!o%7q!o!w%6Y!w!x%7q!x!}%6Y!}#O%:n#O#P%u#Y#]4Y#]#^NZ#^#o4Y#o;'S$e;'S;=`(u<%lO$e4e4eb)ZW(pQ'f&j'm.oOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![4Y![!c$e!c!}4Y!}#O$e#O#P&f#P#R$e#R#S4Y#S#T$e#T#o4Y#o;'S$e;'S;=`(u<%lO$e4e5xd)ZW(pQ'f&j'm.oOY$eZr$ers%^sw$ewx(Ox!Q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_#o;'S$e;'S;=`(u<%lO$e&y&)jb)ZW(pQdT'f&jOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![&)_![!c$e!c!}&)_!}#O$e#O#P&f#P#R$e#R#S&)_#S#T$e#T#o&)_#o;'S$e;'S;=`(u<%lO$e",tokenizers:[y,z,0,1,2,3,4,5,6,7,8,9],topRules:{Program:[0,307]},dynamicPrecedences:{87:1,94:1,119:1,184:1,187:-10,240:-10,241:1,244:-1,246:-10,247:1,262:-1,267:2,268:2,306:-10,365:3,417:1,418:3,419:1,420:1},specialized:[{term:356,get:Q=>j[Q]||-1},{term:32,get:Q=>v[Q]||-1},{term:66,get:Q=>d[Q]||-1},{term:363,get:Q=>_[Q]||-1}],tokenPrec:24891});var e=i(59119);const n=e.qp.define({name:"cpp",parser:m.configure({props:[e.uj.add({IfStatement:(0,e.tC)({except:/^\s*({|else\b)/}),TryStatement:(0,e.tC)({except:/^\s*({|catch)\b/}),LabeledStatement:e.ze,CaseStatement:Q=>Q.baseIndent+Q.unit,BlockComment:()=>null,CompoundStatement:(0,e.vw)({closing:"}"}),Statement:(0,e.tC)({except:/^{/})}),e.x0.add({"DeclarationList CompoundStatement EnumeratorList FieldDeclarationList InitializerList":e.Dv,BlockComment(Q){return{from:Q.from+2,to:Q.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/,closeBrackets:{stringPrefixes:["L","u","U","u8","LR","UR","uR","u8R","R"]}}});function g(){return new e.ri(n)}}}]); diff --git a/1650.a65c34d5.async.js b/1650.a65c34d5.async.js new file mode 100644 index 0000000000..a5d86b1d9a --- /dev/null +++ b/1650.a65c34d5.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[1650],{31650:function(Q,b,v){v.r(b),v.d(b,{vbScript:function(){return m},vbScriptASP:function(){return g}});function d(k){var s="error";function i(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var w=new RegExp("^[\\+\\-\\*/&\\\\\\^<>=]"),x=new RegExp("^((<>)|(<=)|(>=))"),C=new RegExp("^[\\.,]"),S=new RegExp("^[\\(\\)]"),I=new RegExp("^[A-Za-z][_A-Za-z0-9]*"),O=["class","sub","select","while","if","function","property","with","for"],D=["else","elseif","case"],R=["next","loop","wend"],E=i(["and","or","not","xor","is","mod","eqv","imp"]),L=["dim","redim","then","until","randomize","byval","byref","new","property","exit","in","const","private","public","get","set","let","stop","on error resume next","on error goto 0","option explicit","call","me"],T=["true","false","nothing","empty","null"],j=["abs","array","asc","atn","cbool","cbyte","ccur","cdate","cdbl","chr","cint","clng","cos","csng","cstr","date","dateadd","datediff","datepart","dateserial","datevalue","day","escape","eval","execute","exp","filter","formatcurrency","formatdatetime","formatnumber","formatpercent","getlocale","getobject","getref","hex","hour","inputbox","instr","instrrev","int","fix","isarray","isdate","isempty","isnull","isnumeric","isobject","join","lbound","lcase","left","len","loadpicture","log","ltrim","rtrim","trim","maths","mid","minute","month","monthname","msgbox","now","oct","replace","rgb","right","rnd","round","scriptengine","scriptenginebuildversion","scriptenginemajorversion","scriptengineminorversion","second","setlocale","sgn","sin","space","split","sqr","strcomp","string","strreverse","tan","time","timer","timeserial","timevalue","typename","ubound","ucase","unescape","vartype","weekday","weekdayname","year"],F=["vbBlack","vbRed","vbGreen","vbYellow","vbBlue","vbMagenta","vbCyan","vbWhite","vbBinaryCompare","vbTextCompare","vbSunday","vbMonday","vbTuesday","vbWednesday","vbThursday","vbFriday","vbSaturday","vbUseSystemDayOfWeek","vbFirstJan1","vbFirstFourDays","vbFirstFullWeek","vbGeneralDate","vbLongDate","vbShortDate","vbLongTime","vbShortTime","vbObjectError","vbOKOnly","vbOKCancel","vbAbortRetryIgnore","vbYesNoCancel","vbYesNo","vbRetryCancel","vbCritical","vbQuestion","vbExclamation","vbInformation","vbDefaultButton1","vbDefaultButton2","vbDefaultButton3","vbDefaultButton4","vbApplicationModal","vbSystemModal","vbOK","vbCancel","vbAbort","vbRetry","vbIgnore","vbYes","vbNo","vbCr","VbCrLf","vbFormFeed","vbLf","vbNewLine","vbNullChar","vbNullString","vbTab","vbVerticalTab","vbUseDefault","vbTrue","vbFalse","vbEmpty","vbNull","vbInteger","vbLong","vbSingle","vbDouble","vbCurrency","vbDate","vbString","vbObject","vbError","vbBoolean","vbVariant","vbDataObject","vbDecimal","vbByte","vbArray"],a=["WScript","err","debug","RegExp"],A=["description","firstindex","global","helpcontext","helpfile","ignorecase","length","number","pattern","source","value","count"],B=["clear","execute","raise","replace","test","write","writeline","close","open","state","eof","update","addnew","end","createobject","quit"],W=["server","response","request","session","application"],z=["buffer","cachecontrol","charset","contenttype","expires","expiresabsolute","isclientconnected","pics","status","clientcertificate","cookies","form","querystring","servervariables","totalbytes","contents","staticobjects","codepage","lcid","sessionid","timeout","scripttimeout"],K=["addheader","appendtolog","binarywrite","end","flush","redirect","binaryread","remove","removeall","lock","unlock","abandon","getlasterror","htmlencode","mappath","transfer","urlencode"],c=B.concat(A);a=a.concat(F),k.isASP&&(a=a.concat(W),c=c.concat(K,z));var N=i(L),P=i(T),M=i(j),_=i(a),q=i(c),V='"',Y=i(O),f=i(D),p=i(R),h=i(["end"]),H=i(["do"]),J=i(["on error resume next","exit"]),U=i(["rem"]);function y(e,n){n.currentIndent++}function u(e,n){n.currentIndent--}function l(e,n){if(e.eatSpace())return null;var r=e.peek();if(r==="'"||e.match(U))return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.]/i,!1)&&!e.match(/^((&H)|(&O))?[0-9\.]+[a-z_]/i,!1)){var t=!1;if((e.match(/^\d*\.\d+/i)||e.match(/^\d+\.\d*/)||e.match(/^\.\d+/))&&(t=!0),t)return e.eat(/J/i),"number";var o=!1;if(e.match(/^&H[0-9a-f]+/i)||e.match(/^&O[0-7]+/i)?o=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),o=!0):e.match(/^0(?![\dx])/i)&&(o=!0),o)return e.eat(/L/i),"number"}return e.match(V)?(n.tokenize=G(e.current()),n.tokenize(e,n)):e.match(x)||e.match(w)||e.match(E)?"operator":e.match(C)?null:e.match(S)?"bracket":e.match(J)?(n.doInCurrentLine=!0,"keyword"):e.match(H)?(y(e,n),n.doInCurrentLine=!0,"keyword"):e.match(Y)?(n.doInCurrentLine?n.doInCurrentLine=!1:y(e,n),"keyword"):e.match(f)?"keyword":e.match(h)?(u(e,n),u(e,n),"keyword"):e.match(p)?(n.doInCurrentLine?n.doInCurrentLine=!1:u(e,n),"keyword"):e.match(N)?"keyword":e.match(P)?"atom":e.match(q)?"variableName.special":e.match(M)||e.match(_)?"builtin":e.match(I)?"variable":(e.next(),s)}function G(e){var n=e.length==1,r="string";return function(t,o){for(;!t.eol();){if(t.eatWhile(/[^'"]/),t.match(e))return o.tokenize=l,r;t.eat(/['"]/)}return n&&(o.tokenize=l),r}}function Z(e,n){var r=n.tokenize(e,n),t=e.current();return t==="."?(r=n.tokenize(e,n),t=e.current(),r&&(r.substr(0,8)==="variable"||r==="builtin"||r==="keyword")?((r==="builtin"||r==="keyword")&&(r="variable"),c.indexOf(t.substr(1))>-1&&(r="keyword"),r):s):r}return{name:"vbscript",startState:function(){return{tokenize:l,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1,ignoreKeyword:!1}},token:function(e,n){e.sol()&&(n.currentIndent+=n.nextLineIndent,n.nextLineIndent=0,n.doInCurrentLine=0);var r=Z(e,n);return n.lastToken={style:r,content:e.current()},r===null&&(r=null),r},indent:function(e,n,r){var t=n.replace(/^\s+|\s+$/g,"");return t.match(p)||t.match(h)||t.match(f)?r.unit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*r.unit}}}const m=d({}),g=d({isASP:!0})}}]); diff --git a/1651.f8619ea1.async.js b/1651.f8619ea1.async.js new file mode 100644 index 0000000000..922bd1f323 --- /dev/null +++ b/1651.f8619ea1.async.js @@ -0,0 +1,16 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[1651],{11651:function(ut,Ie,h){h.d(Ie,{Z:function(){return at}});var D=h(87462),r=h(67294),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Ne=ze,ee=h(93771),Ee=function(t,m){return r.createElement(ee.Z,(0,D.Z)({},t,{ref:m,icon:Ne}))},te=r.forwardRef(Ee),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Te=Oe,Be=function(t,m){return r.createElement(ee.Z,(0,D.Z)({},t,{ref:m,icon:Te}))},ie=r.forwardRef(Be),ne=h(62946),re=h(62994),je=h(94184),I=h.n(je),P=h(4942),De=h(1413),ae=h(15671),oe=h(43144),le=h(32531),se=h(73568),Me=h(64217),Re={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},O=Re,we=h(81626),ce=function(e){(0,le.Z)(m,e);var t=(0,se.Z)(m);function m(){var o;(0,ae.Z)(this,m);for(var i=arguments.length,n=new Array(i),d=0;d=0||l.relatedTarget.className.indexOf("".concat(c,"-item"))>=0))&&s(o.getValidValue()))},o.go=function(l){var u=o.state.goInputText;u!==""&&(l.keyCode===O.ENTER||l.type==="click")&&(o.setState({goInputText:""}),o.props.quickGo(o.getValidValue()))},o}return(0,oe.Z)(m,[{key:"getPageSizeOptions",value:function(){var i=this.props,n=i.pageSize,d=i.pageSizeOptions;return d.some(function(l){return l.toString()===n.toString()})?d:d.concat([n.toString()]).sort(function(l,u){var a=Number.isNaN(Number(l))?0:Number(l),s=Number.isNaN(Number(u))?0:Number(u);return a-s})}},{key:"render",value:function(){var i=this,n=this.props,d=n.pageSize,l=n.locale,u=n.rootPrefixCls,a=n.changeSize,s=n.quickGo,c=n.goButton,f=n.selectComponentClass,g=n.buildOptionText,p=n.selectPrefixCls,C=n.disabled,b=this.state.goInputText,x="".concat(u,"-options"),y=f,T=null,B=null,M=null;if(!a&&!s)return null;var R=this.getPageSizeOptions();if(a&&y){var w=R.map(function(z,v){return r.createElement(y.Option,{key:v,value:z.toString()},(g||i.buildOptionText)(z))});T=r.createElement(y,{disabled:C,prefixCls:p,showSearch:!1,className:"".concat(x,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(d||R[0]).toString(),onChange:this.changeSize,getPopupContainer:function(v){return v.parentNode},"aria-label":l.page_size,defaultOpen:!1},w)}return s&&(c&&(M=typeof c=="boolean"?r.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:C,className:"".concat(x,"-quick-jumper-button")},l.jump_to_confirm):r.createElement("span",{onClick:this.go,onKeyUp:this.go},c)),B=r.createElement("div",{className:"".concat(x,"-quick-jumper")},l.jump_to,r.createElement("input",{disabled:C,type:"text",value:b,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":l.page}),l.page,M)),r.createElement("li",{className:"".concat(x)},T,B)}}]),m}(r.Component);ce.defaultProps={pageSizeOptions:["10","20","50","100"]};var Ae=ce,Ze=function(t){var m,o=t.rootPrefixCls,i=t.page,n=t.active,d=t.className,l=t.showTitle,u=t.onClick,a=t.onKeyPress,s=t.itemRender,c="".concat(o,"-item"),f=I()(c,"".concat(c,"-").concat(i),(m={},(0,P.Z)(m,"".concat(c,"-active"),n),(0,P.Z)(m,"".concat(c,"-disabled"),!i),(0,P.Z)(m,t.className,d),m)),g=function(){u(i)},p=function(x){a(x,u,i)},C=s(i,"page",r.createElement("a",{rel:"nofollow"},i));return C?r.createElement("li",{title:l?i.toString():null,className:f,onClick:g,onKeyPress:p,tabIndex:0},C):null},A=Ze;function F(){}function ue(e){var t=Number(e);return typeof t=="number"&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}var He=function(t,m,o){return o};function E(e,t,m){var o=typeof e=="undefined"?t.pageSize:e;return Math.floor((m.total-1)/o)+1}var de=function(e){(0,le.Z)(m,e);var t=(0,se.Z)(m);function m(o){var i;(0,ae.Z)(this,m),i=t.call(this,o),i.paginationNode=r.createRef(),i.getJumpPrevPage=function(){return Math.max(1,i.state.current-(i.props.showLessItems?3:5))},i.getJumpNextPage=function(){return Math.min(E(void 0,i.state,i.props),i.state.current+(i.props.showLessItems?3:5))},i.getItemIcon=function(a,s){var c=i.props.prefixCls,f=a||r.createElement("button",{type:"button","aria-label":s,className:"".concat(c,"-item-link")});return typeof a=="function"&&(f=r.createElement(a,(0,De.Z)({},i.props))),f},i.isValid=function(a){var s=i.props.total;return ue(a)&&a!==i.state.current&&ue(s)&&s>0},i.shouldDisplayQuickJumper=function(){var a=i.props,s=a.showQuickJumper,c=a.total,f=i.state.pageSize;return c<=f?!1:s},i.handleKeyDown=function(a){(a.keyCode===O.ARROW_UP||a.keyCode===O.ARROW_DOWN)&&a.preventDefault()},i.handleKeyUp=function(a){var s=i.getValidValue(a),c=i.state.currentInputValue;s!==c&&i.setState({currentInputValue:s}),a.keyCode===O.ENTER?i.handleChange(s):a.keyCode===O.ARROW_UP?i.handleChange(s-1):a.keyCode===O.ARROW_DOWN&&i.handleChange(s+1)},i.handleBlur=function(a){var s=i.getValidValue(a);i.handleChange(s)},i.changePageSize=function(a){var s=i.state.current,c=E(a,i.state,i.props);s=s>c?c:s,c===0&&(s=i.state.current),typeof a=="number"&&("pageSize"in i.props||i.setState({pageSize:a}),"current"in i.props||i.setState({current:s,currentInputValue:s})),i.props.onShowSizeChange(s,a),"onChange"in i.props&&i.props.onChange&&i.props.onChange(s,a)},i.handleChange=function(a){var s=i.props,c=s.disabled,f=s.onChange,g=i.state,p=g.pageSize,C=g.current,b=g.currentInputValue;if(i.isValid(a)&&!c){var x=E(void 0,i.state,i.props),y=a;return a>x?y=x:a<1&&(y=1),"current"in i.props||i.setState({current:y}),y!==b&&i.setState({currentInputValue:y}),f(y,p),y}return C},i.prev=function(){i.hasPrev()&&i.handleChange(i.state.current-1)},i.next=function(){i.hasNext()&&i.handleChange(i.state.current+1)},i.jumpPrev=function(){i.handleChange(i.getJumpPrevPage())},i.jumpNext=function(){i.handleChange(i.getJumpNextPage())},i.hasPrev=function(){return i.state.current>1},i.hasNext=function(){return i.state.current2?c-2:0),g=2;g=d?u=d:u=Number(n),u}},{key:"getShowSizeChanger",value:function(){var i=this.props,n=i.showSizeChanger,d=i.total,l=i.totalBoundaryShowSizeChanger;return typeof n!="undefined"?n:d>l}},{key:"render",value:function(){var i=this.props,n=i.prefixCls,d=i.className,l=i.style,u=i.disabled,a=i.hideOnSinglePage,s=i.total,c=i.locale,f=i.showQuickJumper,g=i.showLessItems,p=i.showTitle,C=i.showTotal,b=i.simple,x=i.itemRender,y=i.showPrevNextJumpers,T=i.jumpPrevIcon,B=i.jumpNextIcon,M=i.selectComponentClass,R=i.selectPrefixCls,w=i.pageSizeOptions,z=this.state,v=z.current,j=z.pageSize,Q=z.currentInputValue;if(a===!0&&s<=j)return null;var S=E(void 0,this.state,this.props),$=[],J=null,U=null,X=null,ge=null,Z=null,G=f&&f.goButton,N=g?1:2,he=v-1>0?v-1:0,ve=v+1s?s:v*j]));if(b){G&&(typeof G=="boolean"?Z=r.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},c.jump_to_confirm):Z=r.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},G),Z=r.createElement("li",{title:p?"".concat(c.jump_to).concat(v,"/").concat(S):null,className:"".concat(n,"-simple-pager")},Z));var Se=this.renderPrev(he);return r.createElement("ul",(0,D.Z)({className:I()(n,"".concat(n,"-simple"),(0,P.Z)({},"".concat(n,"-disabled"),u),d),style:l,ref:this.paginationNode},fe),be,Se?r.createElement("li",{title:p?c.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:I()("".concat(n,"-prev"),(0,P.Z)({},"".concat(n,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Se):null,r.createElement("li",{title:p?"".concat(v,"/").concat(S):null,className:"".concat(n,"-simple-pager")},r.createElement("input",{type:"text",value:Q,disabled:u,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),r.createElement("span",{className:"".concat(n,"-slash")},"/"),S),r.createElement("li",{title:p?c.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:I()("".concat(n,"-next"),(0,P.Z)({},"".concat(n,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(ve)),Z)}if(S<=3+N*2){var Ce={locale:c,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:p,itemRender:x};S||$.push(r.createElement(A,(0,D.Z)({},Ce,{key:"noPager",page:1,className:"".concat(n,"-item-disabled")})));for(var H=1;H<=S;H+=1){var ot=v===H;$.push(r.createElement(A,(0,D.Z)({},Ce,{key:H,page:H,active:ot})))}}else{var lt=g?c.prev_3:c.prev_5,st=g?c.next_3:c.next_5,xe=x(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(T,"prev page")),$e=x(this.getJumpNextPage(),"jump-next",this.getItemIcon(B,"next page"));y&&(J=xe?r.createElement("li",{title:p?lt:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:I()("".concat(n,"-jump-prev"),(0,P.Z)({},"".concat(n,"-jump-prev-custom-icon"),!!T))},xe):null,U=$e?r.createElement("li",{title:p?st:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:I()("".concat(n,"-jump-next"),(0,P.Z)({},"".concat(n,"-jump-next-custom-icon"),!!B))},$e):null),ge=r.createElement(A,{locale:c,last:!0,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:S,page:S,active:!1,showTitle:p,itemRender:x}),X=r.createElement(A,{locale:c,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:p,itemRender:x});var Y=Math.max(1,v-N),q=Math.min(v+N,S);v-1<=N&&(q=1+N*2),S-v<=N&&(Y=S-N*2);for(var V=Y;V<=q;V+=1){var ct=v===V;$.push(r.createElement(A,{locale:c,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:V,page:V,active:ct,showTitle:p,itemRender:x}))}v-1>=N*2&&v!==1+2&&($[0]=(0,r.cloneElement)($[0],{className:"".concat(n,"-item-after-jump-prev")}),$.unshift(J)),S-v>=N*2&&v!==S-2&&($[$.length-1]=(0,r.cloneElement)($[$.length-1],{className:"".concat(n,"-item-before-jump-next")}),$.push(U)),Y!==1&&$.unshift(X),q!==S&&$.push(ge)}var k=!this.hasPrev()||!S,_=!this.hasNext()||!S,ye=this.renderPrev(he),Pe=this.renderNext(ve);return r.createElement("ul",(0,D.Z)({className:I()(n,d,(0,P.Z)({},"".concat(n,"-disabled"),u)),style:l,ref:this.paginationNode},fe),be,ye?r.createElement("li",{title:p?c.prev_page:null,onClick:this.prev,tabIndex:k?null:0,onKeyPress:this.runIfEnterPrev,className:I()("".concat(n,"-prev"),(0,P.Z)({},"".concat(n,"-disabled"),k)),"aria-disabled":k},ye):null,$,Pe?r.createElement("li",{title:p?c.next_page:null,onClick:this.next,tabIndex:_?null:0,onKeyPress:this.runIfEnterNext,className:I()("".concat(n,"-next"),(0,P.Z)({},"".concat(n,"-disabled"),_)),"aria-disabled":_},Pe):null,r.createElement(Ae,{disabled:u,locale:c,rootPrefixCls:n,selectComponentClass:M,selectPrefixCls:R,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:v,pageSize:j,pageSizeOptions:w,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:G}))}}],[{key:"getDerivedStateFromProps",value:function(i,n){var d={};if("current"in i&&(d.current=i.current,i.current!==n.current&&(d.currentInputValue=d.current)),"pageSize"in i&&i.pageSize!==n.pageSize){var l=n.current,u=E(i.pageSize,n,i);l=l>u?u:l,"current"in i||(d.current=l,d.currentInputValue=l),d.pageSize=i.pageSize}return d}}]),m}(r.Component);de.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:F,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:F,locale:we.Z,style:{},itemRender:He,totalBoundaryShowSizeChanger:50};var Ve=de,Le=h(62906),Ke=h(53124),We=h(98675),Je=h(25378),Ue=h(10110),L=h(83863);const me=e=>r.createElement(L.default,Object.assign({},e,{showSearch:!0,size:"small"})),pe=e=>r.createElement(L.default,Object.assign({},e,{showSearch:!0,size:"middle"}));me.Option=L.default.Option,pe.Option=L.default.Option;var K=h(47673),W=h(14747),Xe=h(67968),Ge=h(45503);const Fe=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Qe=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:`${e.itemSizeSM-2}px`},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:`${e.itemSizeSM}px`},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[` + &${t}-mini ${t}-prev ${t}-item-link, + &${t}-mini ${t}-next ${t}-item-link + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:`${e.itemSizeSM}px`},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,["&-size-changer"]:{top:e.miniOptionsSizeChangerTop},["&-quick-jumper"]:{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,K.x0)(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},Ye=e=>{const{componentCls:t}=e;return{[` + &${t}-simple ${t}-prev, + &${t}-simple ${t}-next + `]:{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`,verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:e.marginXS,padding:`0 ${e.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${e.inputOutlineOffset}px 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},qe=e=>{const{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[` + ${t}-prev, + ${t}-jump-prev, + ${t}-jump-next + `]:{marginInlineEnd:e.marginXS},[` + ${t}-prev, + ${t}-next, + ${t}-jump-prev, + ${t}-jump-next + `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:`${e.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:`${e.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,K.ik)(e)),{width:e.controlHeightLG*1.25,height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},ke=e=>{const{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:`${e.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${e.paginationItemPaddingInline}px`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},_e=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,W.Wf)(e)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:`${e.itemSize-2}px`,verticalAlign:"middle"}}),ke(e)),qe(e)),Ye(e)),Qe(e)),Fe(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},et=e=>{const{componentCls:t}=e;return{[`${t}${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},tt=e=>{const{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},(0,W.Qy)(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},(0,W.oN)(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},(0,W.oN)(e))}}}};var it=(0,Xe.Z)("Pagination",e=>{const t=(0,Ge.TS)(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.marginXXS/2,paginationMiniQuickJumperInputWidth:e.controlHeightLG*1.1,paginationItemPaddingInline:e.marginXXS*1.5,paginationEllipsisLetterSpacing:e.marginXXS/2,paginationSlashMarginInlineStart:e.marginXXS,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,K.e5)(e),(0,K.TM)(e));return[_e(t),tt(t),e.wireframe&&et(t)]},e=>({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0})),nt=function(e,t){var m={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(m[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,selectPrefixCls:m,className:o,rootClassName:i,style:n,size:d,locale:l,selectComponentClass:u,responsive:a,showSizeChanger:s}=e,c=nt(e,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:f}=(0,Je.Z)(a),{getPrefixCls:g,direction:p,pagination:C={}}=r.useContext(Ke.E_),b=g("pagination",t),[x,y]=it(b),T=s!=null?s:C.showSizeChanger,B=r.useMemo(()=>{const S=r.createElement("span",{className:`${b}-item-ellipsis`},"\u2022\u2022\u2022"),$=r.createElement("button",{className:`${b}-item-link`,type:"button",tabIndex:-1},p==="rtl"?r.createElement(re.Z,null):r.createElement(ne.Z,null)),J=r.createElement("button",{className:`${b}-item-link`,type:"button",tabIndex:-1},p==="rtl"?r.createElement(ne.Z,null):r.createElement(re.Z,null)),U=r.createElement("a",{className:`${b}-item-link`},r.createElement("div",{className:`${b}-item-container`},p==="rtl"?r.createElement(ie,{className:`${b}-item-link-icon`}):r.createElement(te,{className:`${b}-item-link-icon`}),S)),X=r.createElement("a",{className:`${b}-item-link`},r.createElement("div",{className:`${b}-item-container`},p==="rtl"?r.createElement(te,{className:`${b}-item-link-icon`}):r.createElement(ie,{className:`${b}-item-link-icon`}),S));return{prevIcon:$,nextIcon:J,jumpPrevIcon:U,jumpNextIcon:X}},[p,b]),[M]=(0,Ue.Z)("Pagination",Le.Z),R=Object.assign(Object.assign({},M),l),w=(0,We.Z)(d),z=w==="small"||!!(f&&!w&&a),v=g("select",m),j=I()({[`${b}-mini`]:z,[`${b}-rtl`]:p==="rtl"},C==null?void 0:C.className,o,i,y),Q=Object.assign(Object.assign({},C==null?void 0:C.style),n);return x(r.createElement(Ve,Object.assign({},B,c,{style:Q,prefixCls:b,selectPrefixCls:v,className:j,selectComponentClass:u||(z?me:pe),locale:R,showSizeChanger:T})))},at=rt}}]); diff --git a/1660.503a6d49.async.js b/1660.503a6d49.async.js new file mode 100644 index 0000000000..507e65b121 --- /dev/null +++ b/1660.503a6d49.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[1660],{11660:function(L,d,s){s.r(d),s.d(d,{d:function(){return I}});function a(e){for(var n={},t=e.split(" "),i=0;i!?|\/]/,o;function k(e,n){var t=e.next();if(m[t]){var i=m[t](e,n);if(i!==!1)return i}if(t=='"'||t=="'"||t=="`")return n.tokenize=E(t),n.tokenize(e,n);if(/[\[\]{}\(\),;\:\.]/.test(t))return o=t,null;if(/\d/.test(t))return e.eatWhile(/[\w\.]/),"number";if(t=="/"){if(e.eat("+"))return n.tokenize=w,w(e,n);if(e.eat("*"))return n.tokenize=b,b(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(y.test(t))return e.eatWhile(y),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var r=e.current();return x.propertyIsEnumerable(r)?(h.propertyIsEnumerable(r)&&(o="newstatement"),"keyword"):_.propertyIsEnumerable(r)?(h.propertyIsEnumerable(r)&&(o="newstatement"),"builtin"):z.propertyIsEnumerable(r)?"atom":"variable"}function E(e){return function(n,t){for(var i=!1,r,c=!1;(r=n.next())!=null;){if(r==e&&!i){c=!0;break}i=!i&&r=="\\"}return(c||!(i||C))&&(t.tokenize=null),"string"}}function b(e,n){for(var t=!1,i;i=e.next();){if(i=="/"&&t){n.tokenize=null;break}t=i=="*"}return"comment"}function w(e,n){for(var t=!1,i;i=e.next();){if(i=="/"&&t){n.tokenize=null;break}t=i=="+"}return"comment"}function v(e,n,t,i,r){this.indented=e,this.column=n,this.type=t,this.align=i,this.prev=r}function f(e,n,t){var i=e.indented;return e.context&&e.context.type=="statement"&&(i=e.context.indented),e.context=new v(i,n,t,null,e.context)}function l(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}const I={name:"d",startState:function(e){return{tokenize:null,context:new v(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;o=null;var i=(n.tokenize||k)(e,n);if(i=="comment"||i=="meta")return i;if(t.align==null&&(t.align=!0),(o==";"||o==":"||o==",")&&t.type=="statement")l(n);else if(o=="{")f(n,e.column(),"}");else if(o=="[")f(n,e.column(),"]");else if(o=="(")f(n,e.column(),")");else if(o=="}"){for(;t.type=="statement";)t=l(n);for(t.type=="}"&&(t=l(n));t.type=="statement";)t=l(n)}else o==t.type?l(n):((t.type=="}"||t.type=="top")&&o!=";"||t.type=="statement"&&o=="newstatement")&&f(n,e.column(),"statement");return n.startOfLine=!1,i},indent:function(e,n,t){if(e.tokenize!=k&&e.tokenize!=null)return null;var i=e.context,r=n&&n.charAt(0);i.type=="statement"&&r=="}"&&(i=i.prev);var c=r==i.type;return i.type=="statement"?i.indented+(r=="{"?0:g||t.unit):i.align?i.column+(c?0:1):i.indented+(c?0:t.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}}}}]); diff --git a/1706.39b1cdd1.async.js b/1706.39b1cdd1.async.js new file mode 100644 index 0000000000..470c888042 --- /dev/null +++ b/1706.39b1cdd1.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[1706],{91706:function(h,Q,a){a.r(Q),a.d(Q,{angular:function(){return w},angularLanguage:function(){return c}});var u=a(59119),q=a(82261),S=a(122),r=a(35524),l=a(41113),i=a(53105);const R=1,$=33,v=34,m=35,b=36,d=new i.Jq(O=>{let t=O.pos;for(;;){if(O.next==10){O.advance();break}else if(O.next==123&&O.peek(1)==123||O.next<0)break;O.advance()}O.pos>t&&O.acceptToken(R)});function o(O,t,n){return new i.Jq(e=>{let y=e.pos;for(;e.next!=O&&e.next>=0&&(n||e.next!=38&&(e.next!=123||e.peek(1)!=123));)e.advance();e.pos>y&&e.acceptToken(t)})}const W=o(39,$,!1),C=o(34,v,!1),_=o(39,m,!0),E=o(34,b,!0),T=i.WQ.deserialize({version:14,states:"(jOVOqOOOeQpOOOvO!bO'#CaOOOP'#Cx'#CxQVOqOOO!OQpO'#CfO!WQpO'#ClO!]QpO'#CrO!bQpO'#CsOOQO'#Cv'#CvQ!gQpOOQ!lQpOOQ!qQpOOOOOV,58{,58{O!vOpO,58{OOOP-E6v-E6vO!{QpO,59QO#TQpO,59QOOQO,59W,59WO#YQpO,59^OOQO,59_,59_O#_QpOOO#_QpOOO#gQpOOOOOV1G.g1G.gO#oQpO'#CyO#tQpO1G.lOOQO1G.l1G.lO#|QpO1G.lOOQO1G.x1G.xO$UO`O'#DUO$ZOWO'#DUOOQO'#Co'#CoQOQpOOOOQO'#Cu'#CuO$`OtO'#CwO$qOrO'#CwOOQO,59e,59eOOQO-E6w-E6wOOQO7+$W7+$WO%SQpO7+$WO%[QpO7+$WOOOO'#Cp'#CpO%aOpO,59pOOOO'#Cq'#CqO%fOpO,59pOOOS'#Cz'#CzO%kOtO,59cOOQO,59c,59cOOOQ'#C{'#C{O%|OrO,59cO&_QpO<O.name=="InterpolationContent"?p:null)}),U=P.configure({wrap:(0,l.FE)((O,t)=>{var n;return O.name=="InterpolationContent"?p:O.name!="AttributeInterpolation"?null:((n=O.node.parent)===null||n===void 0?void 0:n.name)=="StatementAttributeValue"?x:p}),top:"Attribute"}),V={parser:A},I={parser:U},s=(0,q.html)();function g(O){return O.configure({wrap:(0,l.FE)(D)},"angular")}const c=g(s.language);function D(O,t){switch(O.name){case"Attribute":return/^[*#(\[]|\{\{/.test(t.read(O.from,O.to))?I:null;case"Text":return V}return null}function w(O={}){let t=s;if(O.base){if(O.base.language.name!="html"||!(O.base.language instanceof u.qp))throw new RangeError("The base option must be the result of calling html(...)");t=O.base}return new u.ri(t.language==s.language?c:g(t.language),[t.support,t.language.data.of({closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/})])}}}]); diff --git a/177.db7eb3a9.async.js b/177.db7eb3a9.async.js new file mode 100644 index 0000000000..342590a941 --- /dev/null +++ b/177.db7eb3a9.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[177],{90177:function(L,s,b){b.r(s),b.d(s,{textile:function(){return T}});var a={addition:"inserted",attributes:"propertyName",bold:"strong",cite:"keyword",code:"monospace",definitionList:"list",deletion:"deleted",div:"punctuation",em:"emphasis",footnote:"variable",footCite:"qualifier",header:"heading",html:"comment",image:"atom",italic:"emphasis",link:"link",linkDefinition:"link",list1:"list",list2:"list.special",list3:"list",notextile:"string.special",pre:"operator",p:"content",quote:"bracket",span:"quote",specialChar:"character",strong:"strong",sub:"content.special",sup:"content.special",table:"variableName.special",tableHeading:"operator"};function g(n,e){e.mode=r.newLayout,e.tableHeading=!1,e.layoutType==="definitionList"&&e.spanningLayout&&n.match(l("definitionListEnd"),!1)&&(e.spanningLayout=!1)}function y(n,e,i){if(i==="_")return n.eat("_")?f(n,e,"italic",/__/,2):f(n,e,"em",/_/,1);if(i==="*")return n.eat("*")?f(n,e,"bold",/\*\*/,2):f(n,e,"strong",/\*/,1);if(i==="[")return n.match(/\d+\]/)&&(e.footCite=!0),o(e);if(i==="("){var u=n.match(/^(r|tm|c)\)/);if(u)return a.specialChar}if(i==="<"&&n.match(/(\w+)[^>]+>[^<]+<\/\1>/))return a.html;if(i==="?"&&n.eat("?"))return f(n,e,"cite",/\?\?/,2);if(i==="="&&n.eat("="))return f(n,e,"notextile",/==/,2);if(i==="-"&&!n.eat("-"))return f(n,e,"deletion",/-/,1);if(i==="+")return f(n,e,"addition",/\+/,1);if(i==="~")return f(n,e,"sub",/~/,1);if(i==="^")return f(n,e,"sup",/\^/,1);if(i==="%")return f(n,e,"span",/%/,1);if(i==="@")return f(n,e,"code",/@/,1);if(i==="!"){var c=f(n,e,"image",/(?:\([^\)]+\))?!/,1);return n.match(/^:\S+/),c}return o(e)}function f(n,e,i,u,c){var d=n.pos>c?n.string.charAt(n.pos-c-1):null,p=n.peek();if(e[i]){if((!p||/\W/.test(p))&&d&&/\S/.test(d)){var v=o(e);return e[i]=!1,v}}else(!d||/\W/.test(d))&&p&&/\S/.test(p)&&n.match(new RegExp("^.*\\S"+u.source+"(?:\\W|$)"),!1)&&(e[i]=!0,e.mode=r.attributes);return o(e)}function o(n){var e=h(n);if(e)return e;var i=[];return n.layoutType&&i.push(a[n.layoutType]),i=i.concat(m(n,"addition","bold","cite","code","deletion","em","footCite","image","italic","link","span","strong","sub","sup","table","tableHeading")),n.layoutType==="header"&&i.push(a.header+"-"+n.header),i.length?i.join(" "):null}function h(n){var e=n.layoutType;switch(e){case"notextile":case"code":case"pre":return a[e];default:return n.notextile?a.notextile+(e?" "+a[e]:""):null}}function m(n){for(var e=[],i=1;i]+)?>(?:[^<]+<\/\1>)?/,link:/[^"]+":\S/,linkDefinition:/\[[^\s\]]+\]\S+/,list:/(?:#+|\*+)/,notextile:"notextile",para:"p",pre:"pre",table:"table",tableCellAttributes:/[\/\\]\d+/,tableHeading:/\|_\./,tableText:/[^"_\*\[\(\?\+~\^%@|-]+/,text:/[^!"_=\*\[\(<\?\+~\^%@-]+/},attributes:{align:/(?:<>|<|>|=)/,selector:/\([^\(][^\)]+\)/,lang:/\[[^\[\]]+\]/,pad:/(?:\(+|\)+){1,2}/,css:/\{[^\}]+\}/},createRe:function(n){switch(n){case"drawTable":return t.makeRe("^",t.single.drawTable,"$");case"html":return t.makeRe("^",t.single.html,"(?:",t.single.html,")*","$");case"linkDefinition":return t.makeRe("^",t.single.linkDefinition,"$");case"listLayout":return t.makeRe("^",t.single.list,l("allAttributes"),"*\\s+");case"tableCellAttributes":return t.makeRe("^",t.choiceRe(t.single.tableCellAttributes,l("allAttributes")),"+\\.");case"type":return t.makeRe("^",l("allTypes"));case"typeLayout":return t.makeRe("^",l("allTypes"),l("allAttributes"),"*\\.\\.?","(\\s+|$)");case"attributes":return t.makeRe("^",l("allAttributes"),"+");case"allTypes":return t.choiceRe(t.single.div,t.single.foot,t.single.header,t.single.bc,t.single.bq,t.single.notextile,t.single.pre,t.single.table,t.single.para);case"allAttributes":return t.choiceRe(t.attributes.selector,t.attributes.css,t.attributes.lang,t.attributes.align,t.attributes.pad);default:return t.makeRe("^",t.single[n])}},makeRe:function(){for(var n="",e=0;e=|!=|<>)/,f=/[=\(:\),{}.*<>+\-\/^\[\]]/;function o(e,r,s){if(s)for(var i=r.split(" "),n=0;n=@%|&?!.,:;^]/,x=/true|false|nil|self|super|thisContext/,l=function(e,n){this.next=e,this.parent=n},r=function(e,n,t){this.name=e,this.context=n,this.eos=t},f=function(){this.context=new l(c,null),this.expectVariable=!0,this.indentation=0,this.userIndentationDelta=0};f.prototype.userIndent=function(e,n){this.userIndentationDelta=e>0?e/n-this.indentation:0};var c=function(e,n,t){var i=new r(null,n,!1),a=e.next();return a==='"'?i=h(e,new l(h,n)):a==="'"?i=d(e,new l(d,n)):a==="#"?e.peek()==="'"?(e.next(),i=p(e,new l(p,n))):e.eatWhile(/[^\s.{}\[\]()]/)?i.name="string.special":i.name="meta":a==="$"?(e.next()==="<"&&(e.eatWhile(/[^\s>]/),e.next()),i.name="string.special"):a==="|"&&t.expectVariable?i.context=new l(v,n):/[\[\]{}()]/.test(a)?(i.name="bracket",i.eos=/[\[{(]/.test(a),a==="["?t.indentation++:a==="]"&&(t.indentation=Math.max(0,t.indentation-1))):s.test(a)?(e.eatWhile(s),i.name="operator",i.eos=a!==";"):/\d/.test(a)?(e.eatWhile(/[\w\d]/),i.name="number"):/[\w_]/.test(a)?(e.eatWhile(/[\w\d_]/),i.name=t.expectVariable?x.test(e.current())?"keyword":"variable":null):i.eos=t.expectVariable,i},h=function(e,n){return e.eatWhile(/[^"]/),new r("comment",e.eat('"')?n.parent:n,!0)},d=function(e,n){return e.eatWhile(/[^']/),new r("string",e.eat("'")?n.parent:n,!1)},p=function(e,n){return e.eatWhile(/[^']/),new r("string.special",e.eat("'")?n.parent:n,!1)},v=function(e,n){var t=new r(null,n,!1),i=e.next();return i==="|"?(t.context=n.parent,t.eos=!0):(e.eatWhile(/[^|]/),t.name="variable"),t};const w={name:"smalltalk",startState:function(){return new f},token:function(e,n){if(n.userIndent(e.indentation(),e.indentUnit),e.eatSpace())return null;var t=n.context.next(e,n.context,n);return n.context=t.context,n.expectVariable=t.eos,t.name},blankLine:function(e,n){e.userIndent(0,n)},indent:function(e,n,t){var i=e.context.next===c&&n&&n.charAt(0)==="]"?-1:e.userIndentationDelta;return(e.indentation+i)*t.unit},languageData:{indentOnInput:/^\s*\]$/}}}}]); diff --git a/1920.32fd4f70.async.js b/1920.32fd4f70.async.js new file mode 100644 index 0000000000..208b628187 --- /dev/null +++ b/1920.32fd4f70.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[1920],{71920:function(d,u,i){i.r(u),i.d(u,{troff:function(){return e}});var h={};function o(n){if(n.eatSpace())return null;var t=n.sol(),c=n.next();if(c==="\\")return n.match("fB")||n.match("fR")||n.match("fI")||n.match("u")||n.match("d")||n.match("%")||n.match("&")?"string":n.match("m[")?(n.skipTo("]"),n.next(),"string"):n.match("s+")||n.match("s-")?(n.eatWhile(/[\d-]/),"string"):((n.match("(")||n.match("*("))&&n.eatWhile(/[\w-]/),"string");if(t&&(c==="."||c==="'")&&n.eat("\\")&&n.eat('"'))return n.skipToEnd(),"comment";if(t&&c==="."){if(n.match("B ")||n.match("I ")||n.match("R "))return"attribute";if(n.match("TH ")||n.match("SH ")||n.match("SS ")||n.match("HP "))return n.skipToEnd(),"quote";if(n.match(/[A-Z]/)&&n.match(/[A-Z]/)||n.match(/[a-z]/)&&n.match(/[a-z]/))return"attribute"}n.eatWhile(/[\w-]/);var f=n.current();return h.hasOwnProperty(f)?h[f]:null}function r(n,t){return(t.tokens[0]||o)(n,t)}const e={name:"troff",startState:function(){return{tokens:[]}},token:function(n,t){return r(n,t)}}}}]); diff --git a/2040.405dea60.async.js b/2040.405dea60.async.js new file mode 100644 index 0000000000..dd9c78b57f --- /dev/null +++ b/2040.405dea60.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[2040],{82040:function(u,t,l){l.r(t),l.d(t,{ebnf:function(){return h}});var i={slash:0,parenthesis:1},c={comment:0,_string:1,characterClass:2};const h={name:"ebnf",startState:function(){return{stringType:null,commentType:null,braced:0,lhs:!0,localState:null,stack:[],inDefinition:!1}},token:function(e,n){if(e){switch(n.stack.length===0&&(e.peek()=='"'||e.peek()=="'"?(n.stringType=e.peek(),e.next(),n.stack.unshift(c._string)):e.match("/*")?(n.stack.unshift(c.comment),n.commentType=i.slash):e.match("(*")&&(n.stack.unshift(c.comment),n.commentType=i.parenthesis)),n.stack[0]){case c._string:for(;n.stack[0]===c._string&&!e.eol();)e.peek()===n.stringType?(e.next(),n.stack.shift()):e.peek()==="\\"?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return n.lhs?"property":"string";case c.comment:for(;n.stack[0]===c.comment&&!e.eol();)n.commentType===i.slash&&e.match("*/")||n.commentType===i.parenthesis&&e.match("*)")?(n.stack.shift(),n.commentType=null):e.match(/^.[^\*]*/);return"comment";case c.characterClass:for(;n.stack[0]===c.characterClass&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(".")||n.stack.shift();return"operator"}var r=e.peek();switch(r){case"[":return e.next(),n.stack.unshift(c.characterClass),"bracket";case":":case"|":case";":return e.next(),"operator";case"%":if(e.match("%%"))return"header";if(e.match(/[%][A-Za-z]+/))return"keyword";if(e.match(/[%][}]/))return"bracket";break;case"/":if(e.match(/[\/][A-Za-z]+/))return"keyword";case"\\":if(e.match(/[\][a-z]+/))return"string.special";case".":if(e.match("."))return"atom";case"*":case"-":case"+":case"^":if(e.match(r))return"atom";case"$":if(e.match("$$"))return"builtin";if(e.match(/[$][0-9]+/))return"variableName.special";case"<":if(e.match(/<<[a-zA-Z_]+>>/))return"builtin"}return e.match("//")?(e.skipToEnd(),"comment"):e.match("return")?"operator":e.match(/^[a-zA-Z_][a-zA-Z0-9_]*/)?e.match(/(?=[\(.])/)?"variable":e.match(/(?=[\s\n]*[:=])/)?"def":"variableName.special":["[","]","(",")"].indexOf(e.peek())!=-1?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}}}}]); diff --git a/2119.c6bd2e3d.async.js b/2119.c6bd2e3d.async.js new file mode 100644 index 0000000000..9db5948a4d --- /dev/null +++ b/2119.c6bd2e3d.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[2119],{52119:function(H,j,N){N.r(j),N.d(j,{tlv:function(){return R},verilog:function(){return K}});function $(i){var o=i.statementIndentUnit,c=i.dontAlignCalls,u=i.noIndentKeywords||[],s=i.multiLineStrings,a=i.hooks||{};function h(e){for(var n={},t=e.split(" "),r=0;r=0)return r}var l=e.context,w=n&&n.charAt(0);l.type=="statement"&&w=="}"&&(l=l.prev);var z=!1,U=n.match(F);return U&&(z=M(U[0],l.type)),l.type=="statement"?l.indented+(w=="{"?0:o||t.unit):G.test(l.type)&&l.align&&!c?l.column+(z?0:1):l.type==")"&&!z?l.indented+(o||t.unit):l.indented+(z?0:t.unit)},languageData:{indentOnInput:Z(),commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}}}const K=$({});var S={"|":"link",">":"property",$:"variable",$$:"variable","?$":"qualifier","?*":"qualifier","-":"contentSeparator","/":"property","/-":"property","@":"variableName.special","@-":"variableName.special","@++":"variableName.special","@+=":"variableName.special","@+=-":"variableName.special","@--":"variableName.special","@-=":"variableName.special","%+":"tag","%-":"tag","%":"tag",">>":"tag","<<":"tag","<>":"tag","#":"tag","^":"attribute","^^":"attribute","^!":"attribute","*":"variable","**":"variable","\\":"keyword",'"':"comment"},E={"/":"beh-hier",">":"beh-hier","-":"phys-hier","|":"pipe","?":"when","@":"stage","\\":"keyword"},b=3,_=!1,q=/^([~!@#\$%\^&\*-\+=\?\/\\\|'"<>]+)([\d\w_]*)/,V=/^[! ] */,A=/^\/[\/\*]/;const R=$({hooks:{electricInput:!1,token:function(i,o){var c=void 0,u;if(i.sol()&&!o.tlvInBlockComment){i.peek()=="\\"&&(c="def",i.skipToEnd(),i.string.match(/\\SV/)?o.tlvCodeActive=!1:i.string.match(/\\TLV/)&&(o.tlvCodeActive=!0)),o.tlvCodeActive&&i.pos==0&&o.indented==0&&(u=i.match(V,!1))&&(o.indented=u[0].length);var s=o.indented,a=s/b;if(a<=o.tlvIndentationStyle.length){var h=i.string.length==s,g=a*b;if(g0||(o.tlvIndentationStyle[a]=E[m],_&&(o.statementComment=!1),a++))}if(!h)for(;o.tlvIndentationStyle.length>a;)o.tlvIndentationStyle.pop()}o.tlvNextIndent=s}if(o.tlvCodeActive){var k=!1;_&&(k=i.peek()!=" "&&c===void 0&&!o.tlvInBlockComment&&i.column()==o.tlvIndentationStyle.length*b,k&&(o.statementComment&&(k=!1),o.statementComment=i.match(A,!1)));var u;if(c===void 0)if(o.tlvInBlockComment)i.match(/^.*?\*\//)?(o.tlvInBlockComment=!1,_&&!i.eol()&&(o.statementComment=!1)):i.skipToEnd(),c="comment";else if((u=i.match(A))&&!o.tlvInBlockComment)u[0]=="//"?i.skipToEnd():o.tlvInBlockComment=!0,c="comment";else if(u=i.match(q)){var C=u[1],B=u[2];S.hasOwnProperty(C)&&(B.length>0||i.eol())?c=S[C]:i.backUp(i.current().length-1)}else i.match(/^\t+/)?c="invalid":i.match(/^[\[\]{}\(\);\:]+/)?c="meta":(u=i.match(/^[mM]4([\+_])?[\w\d_]*/))?c=u[1]=="+"?"keyword.special":"keyword":i.match(/^ +/)?i.eol()&&(c="error"):i.match(/^[\w\d_]+/)?c="number":i.next()}else i.match(/^[mM]4([\w\d_]*)/)&&(c="keyword");return c},indent:function(i){return i.tlvCodeActive==!0?i.tlvNextIndent:-1},startState:function(i){i.tlvIndentationStyle=[],i.tlvCodeActive=!0,i.tlvNextIndent=-1,i.tlvInBlockComment=!1,_&&(i.statementComment=!1)}}})}}]); diff --git a/2136.b706c7fd.async.js b/2136.b706c7fd.async.js new file mode 100644 index 0000000000..3a55716b57 --- /dev/null +++ b/2136.b706c7fd.async.js @@ -0,0 +1 @@ +"use strict";var ke=Object.defineProperty;var ee=Object.getOwnPropertySymbols;var we=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable;var re=(g,d,u)=>d in g?ke(g,d,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[d]=u,C=(g,d)=>{for(var u in d||(d={}))we.call(d,u)&&re(g,u,d[u]);if(ee)for(var u of ee(d))ye.call(d,u)&&re(g,u,d[u]);return g};(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[2136],{62136:function(g,d,u){u.r(d),u.d(d,{css:function(){return ne},gss:function(){return se},keywords:function(){return ie},less:function(){return le},mkCSS:function(){return y},sCSS:function(){return ae}});function y(i){i=C(C({},te),i);var l=i.inline,h=i.tokenHooks,v=i.documentTypes||{},ce=i.mediaTypes||{},de=i.mediaFeatures||{},ue=i.mediaValueKeywords||{},Z=i.propertyKeywords||{},U=i.nonStandardPropertyKeywords||{},pe=i.fontProperties||{},me=i.counterDescriptors||{},I=i.colorKeywords||{},M=i.valueKeywords||{},w=i.allowNested,fe=i.lineComment,he=i.supportsAtComponent===!0,G=i.highlightNonStandardPropertyKeywords!==!1,B,n;function c(e,o){return B=o,e}function ge(e,o){var r=e.next();if(h[r]){var t=h[r](e,o);if(t!==!1)return t}if(r=="@")return e.eatWhile(/[\w\\\-]/),c("def",e.current());if(r=="="||(r=="~"||r=="|")&&e.eat("="))return c(null,"compare");if(r=='"'||r=="'")return o.tokenize=J(r),o.tokenize(e,o);if(r=="#")return e.eatWhile(/[\w\\\-]/),c("atom","hash");if(r=="!")return e.match(/^\s*\w*/),c("keyword","important");if(/\d/.test(r)||r=="."&&e.eat(/\d/))return e.eatWhile(/[\w.%]/),c("number","unit");if(r==="-"){if(/[\d.]/.test(e.peek()))return e.eatWhile(/[\w.%]/),c("number","unit");if(e.match(/^-[\w\\\-]*/))return e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?c("def","variable-definition"):c("variableName","variable");if(e.match(/^\w+-/))return c("meta","meta")}else return/[,+>*\/]/.test(r)?c(null,"select-op"):r=="."&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?c("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?c(null,r):e.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(e.current())&&(o.tokenize=be),c("variableName.function","variable")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),c("property","word")):c(null,null)}function J(e){return function(o,r){for(var t=!1,p;(p=o.next())!=null;){if(p==e&&!t){e==")"&&o.backUp(1);break}t=!t&&p=="\\"}return(p==e||!t&&e!=")")&&(r.tokenize=null),c("string","string")}}function be(e,o){return e.next(),e.match(/^\s*[\"\')]/,!1)?o.tokenize=null:o.tokenize=J(")"),c(null,"(")}function Q(e,o,r){this.type=e,this.indent=o,this.prev=r}function s(e,o,r,t){return e.context=new Q(r,o.indentation()+(t===!1?0:o.indentUnit),e.context),r}function f(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function x(e,o,r){return a[r.context.type](e,o,r)}function k(e,o,r,t){for(var p=t||1;p>0;p--)r.context=r.context.prev;return x(e,o,r)}function R(e){var o=e.current().toLowerCase();M.hasOwnProperty(o)?n="atom":I.hasOwnProperty(o)?n="keyword":n="variable"}var a={};return a.top=function(e,o,r){if(e=="{")return s(r,o,"block");if(e=="}"&&r.context.prev)return f(r);if(he&&/@component/i.test(e))return s(r,o,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return s(r,o,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return s(r,o,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&e.charAt(0)=="@")return s(r,o,"at");if(e=="hash")n="builtin";else if(e=="word")n="tag";else{if(e=="variable-definition")return"maybeprop";if(e=="interpolation")return s(r,o,"interpolation");if(e==":")return"pseudo";if(w&&e=="(")return s(r,o,"parens")}return r.context.type},a.block=function(e,o,r){if(e=="word"){var t=o.current().toLowerCase();return Z.hasOwnProperty(t)?(n="property","maybeprop"):U.hasOwnProperty(t)?(n=G?"string.special":"property","maybeprop"):w?(n=o.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(n="error","maybeprop")}else return e=="meta"?"block":!w&&(e=="hash"||e=="qualifier")?(n="error","block"):a.top(e,o,r)},a.maybeprop=function(e,o,r){return e==":"?s(r,o,"prop"):x(e,o,r)},a.prop=function(e,o,r){if(e==";")return f(r);if(e=="{"&&w)return s(r,o,"propBlock");if(e=="}"||e=="{")return k(e,o,r);if(e=="(")return s(r,o,"parens");if(e=="hash"&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(o.current()))n="error";else if(e=="word")R(o);else if(e=="interpolation")return s(r,o,"interpolation");return"prop"},a.propBlock=function(e,o,r){return e=="}"?f(r):e=="word"?(n="property","maybeprop"):r.context.type},a.parens=function(e,o,r){return e=="{"||e=="}"?k(e,o,r):e==")"?f(r):e=="("?s(r,o,"parens"):e=="interpolation"?s(r,o,"interpolation"):(e=="word"&&R(o),"parens")},a.pseudo=function(e,o,r){return e=="meta"?"pseudo":e=="word"?(n="variableName.constant",r.context.type):x(e,o,r)},a.documentTypes=function(e,o,r){return e=="word"&&v.hasOwnProperty(o.current())?(n="tag",r.context.type):a.atBlock(e,o,r)},a.atBlock=function(e,o,r){if(e=="(")return s(r,o,"atBlock_parens");if(e=="}"||e==";")return k(e,o,r);if(e=="{")return f(r)&&s(r,o,w?"block":"top");if(e=="interpolation")return s(r,o,"interpolation");if(e=="word"){var t=o.current().toLowerCase();t=="only"||t=="not"||t=="and"||t=="or"?n="keyword":ce.hasOwnProperty(t)?n="attribute":de.hasOwnProperty(t)?n="property":ue.hasOwnProperty(t)?n="keyword":Z.hasOwnProperty(t)?n="property":U.hasOwnProperty(t)?n=G?"string.special":"property":M.hasOwnProperty(t)?n="atom":I.hasOwnProperty(t)?n="keyword":n="error"}return r.context.type},a.atComponentBlock=function(e,o,r){return e=="}"?k(e,o,r):e=="{"?f(r)&&s(r,o,w?"block":"top",!1):(e=="word"&&(n="error"),r.context.type)},a.atBlock_parens=function(e,o,r){return e==")"?f(r):e=="{"||e=="}"?k(e,o,r,2):a.atBlock(e,o,r)},a.restricted_atBlock_before=function(e,o,r){return e=="{"?s(r,o,"restricted_atBlock"):e=="word"&&r.stateArg=="@counter-style"?(n="variable","restricted_atBlock_before"):x(e,o,r)},a.restricted_atBlock=function(e,o,r){return e=="}"?(r.stateArg=null,f(r)):e=="word"?(r.stateArg=="@font-face"&&!pe.hasOwnProperty(o.current().toLowerCase())||r.stateArg=="@counter-style"&&!me.hasOwnProperty(o.current().toLowerCase())?n="error":n="property","maybeprop"):"restricted_atBlock"},a.keyframes=function(e,o,r){return e=="word"?(n="variable","keyframes"):e=="{"?s(r,o,"top"):x(e,o,r)},a.at=function(e,o,r){return e==";"?f(r):e=="{"||e=="}"?k(e,o,r):(e=="word"?n="tag":e=="hash"&&(n="builtin"),"at")},a.interpolation=function(e,o,r){return e=="}"?f(r):e=="{"||e==";"?k(e,o,r):(e=="word"?n="variable":e!="variable"&&e!="("&&e!=")"&&(n="error"),"interpolation")},{name:i.name,startState:function(){return{tokenize:null,state:l?"block":"top",stateArg:null,context:new Q(l?"block":"top",0,null)}},token:function(e,o){if(!o.tokenize&&e.eatSpace())return null;var r=(o.tokenize||ge)(e,o);return r&&typeof r=="object"&&(B=r[1],r=r[0]),n=r,B!="comment"&&(o.state=a[o.state](B,e,o)),n},indent:function(e,o,r){var t=e.context,p=o&&o.charAt(0),N=t.indent;return t.type=="prop"&&(p=="}"||p==")")&&(t=t.prev),t.prev&&(p=="}"&&(t.type=="block"||t.type=="top"||t.type=="interpolation"||t.type=="restricted_atBlock")?(t=t.prev,N=t.indent):(p==")"&&(t.type=="parens"||t.type=="atBlock_parens")||p=="{"&&(t.type=="at"||t.type=="atBlock"))&&(N=Math.max(0,t.indent-r.unit))),N},languageData:{indentOnInput:/^\s*\}$/,commentTokens:{line:fe,block:{open:"/*",close:"*/"}},autocomplete:E}}}function m(i){for(var l={},h=0;h=48&&O<=57}function n(O){return S(O)||O==95}const f=new e.Jq((O,r)=>{if(S(O.next)){let $=!1;do O.advance();while(n(O.next));if(O.next==Y){if($=!0,O.advance(),S(O.next))do O.advance();while(n(O.next));else if(O.next==Y||O.next>127||/\w/.test(String.fromCharCode(O.next)))return}if(O.next==R||O.next==y){if($=!0,O.advance(),(O.next==p||O.next==T)&&O.advance(),!n(O.next))return;do O.advance();while(n(O.next))}if(O.next==b){let a=O.peek(1);if(a==i+3&&O.peek(2)==i+2||a==i+6&&O.peek(2)==i+4)O.advance(3),$=!0;else return}$&&O.acceptToken(g)}else if(O.next==t||O.next==W){if(O.next==t&&O.advance(),O.next!=W)return;O.advance();let $=0;for(;O.next==z;)$++,O.advance();if(O.next!=o)return;O.advance();O:for(;;){if(O.next<0)return;let a=O.next==o;if(O.advance(),a){for(let q=0;q<$;q++){if(O.next!=z)continue O;O.advance()}O.acceptToken(V);return}}}}),x=new e.Jq(O=>{O.next==c&&O.acceptToken(_,1)}),U=new e.Jq(O=>{O.next==v?O.acceptToken(l,1):O.next==d&&O.acceptToken(w,1)}),h=(0,Q.Gv)({"const macro_rules struct union enum type fn impl trait let static":Q.pJ.definitionKeyword,"mod use crate":Q.pJ.moduleKeyword,"pub unsafe async mut extern default move":Q.pJ.modifier,"for if else loop while match continue break return await":Q.pJ.controlKeyword,"as in ref":Q.pJ.operatorKeyword,"where _ crate super dyn":Q.pJ.keyword,self:Q.pJ.self,String:Q.pJ.string,Char:Q.pJ.character,RawString:Q.pJ.special(Q.pJ.string),Boolean:Q.pJ.bool,Identifier:Q.pJ.variableName,"CallExpression/Identifier":Q.pJ.function(Q.pJ.variableName),BoundIdentifier:Q.pJ.definition(Q.pJ.variableName),"FunctionItem/BoundIdentifier":Q.pJ.function(Q.pJ.definition(Q.pJ.variableName)),LoopLabel:Q.pJ.labelName,FieldIdentifier:Q.pJ.propertyName,"CallExpression/FieldExpression/FieldIdentifier":Q.pJ.function(Q.pJ.propertyName),Lifetime:Q.pJ.special(Q.pJ.variableName),ScopeIdentifier:Q.pJ.namespace,TypeIdentifier:Q.pJ.typeName,"MacroInvocation/Identifier MacroInvocation/ScopedIdentifier/Identifier":Q.pJ.macroName,"MacroInvocation/TypeIdentifier MacroInvocation/ScopedIdentifier/TypeIdentifier":Q.pJ.macroName,'"!"':Q.pJ.macroName,UpdateOp:Q.pJ.updateOperator,LineComment:Q.pJ.lineComment,BlockComment:Q.pJ.blockComment,Integer:Q.pJ.integer,Float:Q.pJ.float,ArithOp:Q.pJ.arithmeticOperator,LogicOp:Q.pJ.logicOperator,BitOp:Q.pJ.bitwiseOperator,CompareOp:Q.pJ.compareOperator,"=":Q.pJ.definitionOperator,".. ... => ->":Q.pJ.punctuation,"( )":Q.pJ.paren,"[ ]":Q.pJ.squareBracket,"{ }":Q.pJ.brace,". DerefOp":Q.pJ.derefOperator,"&":Q.pJ.operator,", ; ::":Q.pJ.separator,"Attribute/...":Q.pJ.meta}),G={__proto__:null,self:28,super:32,crate:34,impl:46,true:72,false:72,pub:88,in:92,const:96,unsafe:104,async:108,move:110,if:114,let:118,ref:142,mut:144,_:198,else:200,match:204,as:248,return:252,await:262,break:270,continue:276,while:312,loop:316,for:320,macro_rules:327,mod:334,extern:342,struct:346,where:364,union:379,enum:382,type:390,default:395,fn:396,trait:412,use:420,static:438,dyn:476},m=e.WQ.deserialize({version:14,states:"$2xQ]Q_OOP$wOWOOO&sQWO'#CnO)WQWO'#I`OOQP'#I`'#I`OOQQ'#Ie'#IeO)hO`O'#C}OOQR'#Ih'#IhO)sQWO'#IuOOQO'#Hk'#HkO)xQWO'#DpOOQR'#Iw'#IwO)xQWO'#DpO*ZQWO'#DpOOQO'#Iv'#IvO,SQWO'#J`O,ZQWO'#EiOOQV'#Hp'#HpO,cQYO'#F{OOQV'#El'#ElOOQV'#Em'#EmOOQV'#En'#EnO.YQ_O'#EkO0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)c%XQ+w&|R4y1PX'Q!q%X&|1PR+y&|R+x&|T/S*S4TT/R*S4TR.o)sR.n)sR){%p",nodeNames:"\u26A0 | < > RawString Float LineComment BlockComment SourceFile ] InnerAttribute ! [ MetaItem self Metavariable super crate Identifier ScopedIdentifier :: QualifiedScope AbstractType impl SelfType MetaType TypeIdentifier ScopedTypeIdentifier ScopeIdentifier TypeArgList TypeBinding = Lifetime String Escape Char Boolean Integer } { Block ; ConstItem Vis pub ( in ) const BoundIdentifier : UnsafeBlock unsafe AsyncBlock async move IfExpression if LetDeclaration let LiteralPattern ArithOp MetaPattern SelfPattern ScopedIdentifier TuplePattern ScopedTypeIdentifier , StructPattern FieldPatternList FieldPattern ref mut FieldIdentifier .. RefPattern SlicePattern CapturedPattern ReferencePattern & MutPattern RangePattern ... OrPattern MacroPattern ParenthesizedTokens TokenBinding Identifier TokenRepetition ArithOp BitOp LogicOp UpdateOp CompareOp -> => ArithOp BracketedTokens BracedTokens _ else MatchExpression match MatchBlock MatchArm Attribute Guard UnaryExpression ArithOp DerefOp LogicOp ReferenceExpression TryExpression BinaryExpression ArithOp ArithOp BitOp BitOp BitOp BitOp LogicOp LogicOp AssignmentExpression TypeCastExpression as ReturnExpression return RangeExpression CallExpression ArgList AwaitExpression await FieldExpression GenericFunction BreakExpression break LoopLabel ContinueExpression continue IndexExpression ArrayExpression TupleExpression MacroInvocation UnitExpression ClosureExpression ParamList Parameter Parameter ParenthesizedExpression StructExpression FieldInitializerList ShorthandFieldInitializer FieldInitializer BaseFieldInitializer MatchArm WhileExpression while LoopExpression loop ForExpression for MacroInvocation MacroDefinition macro_rules MacroRule EmptyStatement ModItem mod DeclarationList AttributeItem ForeignModItem extern StructItem struct TypeParamList ConstrainedTypeParameter TraitBounds HigherRankedTraitBound RemovedTraitBound OptionalTypeParameter ConstParameter WhereClause where LifetimeClause TypeBoundClause FieldDeclarationList FieldDeclaration OrderedFieldDeclarationList UnionItem union EnumItem enum EnumVariantList EnumVariant TypeItem type FunctionItem default fn ParamList Parameter SelfParameter VariadicParameter VariadicParameter ImplItem TraitItem trait AssociatedType LetDeclaration UseDeclaration use ScopedIdentifier UseAsClause ScopedIdentifier UseList ScopedUseList UseWildcard ExternCrateDeclaration StaticItem static ExpressionStatement ExpressionStatement GenericType FunctionType ForLifetimes ParamList VariadicParameter Parameter VariadicParameter Parameter ReferenceType PointerType TupleType UnitType ArrayType MacroInvocation EmptyType DynamicType dyn BoundedType",maxTerm:359,nodeProps:[["group",-42,4,5,14,15,16,17,18,19,33,35,36,37,40,51,53,56,101,107,111,112,113,122,123,125,127,128,130,132,133,134,137,139,140,141,142,143,144,148,149,155,157,159,"Expression",-16,22,24,25,26,27,222,223,230,231,232,233,234,235,236,237,239,"Type",-20,42,161,162,165,166,169,170,172,188,190,194,196,204,205,207,208,209,217,218,220,"Statement",-17,49,60,62,63,64,65,68,74,75,76,77,78,80,81,83,84,99,"Pattern"],["openedBy",9,"[",38,"{",47,"("],["closedBy",12,"]",39,"}",45,")"]],propSources:[h],skippedNodes:[0,6,7,240],repeatNodeCount:32,tokenData:"$%h_R!XOX$nXY5gYZ6iZ]$n]^5g^p$npq5gqr7Xrs9cst:Rtu;Tuv>vvwAQwxCbxy!+Tyz!,Vz{!-X{|!/_|}!0g}!O!1i!O!P!3v!P!Q!8[!Q!R!Bw!R![!Dr![!]#+q!]!^#-{!^!_#.}!_!`#1b!`!a#3o!a!b#6S!b!c#7U!c!}#8W!}#O#:T#O#P#;V#P#Q#Cb#Q#R#Dd#R#S#8W#S#T$n#T#U#8W#U#V#El#V#f#8W#f#g#Ic#g#o#8W#o#p$ S#p#q$!U#q#r$$f#r${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nU$u]'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nU%uV'_Q'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S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^\s*({|else\b)/}),"String BlockComment":()=>null,AttributeItem:O=>O.continue(),"Statement MatchArm":(0,P.tC)()}),P.x0.add(O=>{if(/(Block|edTokens|List)$/.test(O.name))return P.Dv;if(O.name=="BlockComment")return r=>({from:r.from+2,to:r.to-2})})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:\{|\})$/,closeBrackets:{stringPrefixes:["b","r","br"]}}});function u(){return new P.ri(Z)}}}]); diff --git a/228.caff6748.async.js b/228.caff6748.async.js new file mode 100644 index 0000000000..f27978c002 --- /dev/null +++ b/228.caff6748.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[228],{10228:function(y,d,f){f.r(d),f.d(d,{q:function(){return g}});var c,x=k(["abs","acos","aj","aj0","all","and","any","asc","asin","asof","atan","attr","avg","avgs","bin","by","ceiling","cols","cor","cos","count","cov","cross","csv","cut","delete","deltas","desc","dev","differ","distinct","div","do","each","ej","enlist","eval","except","exec","exit","exp","fby","fills","first","fkeys","flip","floor","from","get","getenv","group","gtime","hclose","hcount","hdel","hopen","hsym","iasc","idesc","if","ij","in","insert","inter","inv","key","keys","last","like","list","lj","load","log","lower","lsq","ltime","ltrim","mavg","max","maxs","mcount","md5","mdev","med","meta","min","mins","mmax","mmin","mmu","mod","msum","neg","next","not","null","or","over","parse","peach","pj","plist","prd","prds","prev","prior","rand","rank","ratios","raze","read0","read1","reciprocal","reverse","rload","rotate","rsave","rtrim","save","scan","select","set","setenv","show","signum","sin","sqrt","ss","ssr","string","sublist","sum","sums","sv","system","tables","tan","til","trim","txf","type","uj","ungroup","union","update","upper","upsert","value","var","view","views","vs","wavg","where","where","while","within","wj","wj1","wsum","xasc","xbar","xcol","xcols","xdesc","xexp","xgroup","xkey","xlog","xprev","xrank"]),s=/[|/&^!+:\\\-*%$=~#;@><,?_\'\"\[\(\]\)\s{}]/;function k(n){return new RegExp("^("+n.join("|")+")$")}function r(n,e){var o=n.sol(),i=n.next();if(c=null,o){if(i=="/")return(e.tokenize=v)(n,e);if(i=="\\")return n.eol()||/\s/.test(n.peek())?(n.skipToEnd(),/^\\\s*$/.test(n.current())?(e.tokenize=m)(n):e.tokenize=r,"comment"):(e.tokenize=r,"builtin")}if(/\s/.test(i))return n.peek()=="/"?(n.skipToEnd(),"comment"):"null";if(i=='"')return(e.tokenize=a)(n,e);if(i=="`")return n.eatWhile(/[A-Za-z\d_:\/.]/),"macroName";if(i=="."&&/\d/.test(n.peek())||/\d/.test(i)){var t=null;return n.backUp(1),n.match(/^\d{4}\.\d{2}(m|\.\d{2}([DT](\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)?)?)/)||n.match(/^\d+D(\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)/)||n.match(/^\d{2}:\d{2}(:\d{2}(\.\d{1,9})?)?/)||n.match(/^\d+[ptuv]{1}/)?t="temporal":(n.match(/^0[NwW]{1}/)||n.match(/^0x[\da-fA-F]*/)||n.match(/^[01]+[b]{1}/)||n.match(/^\d+[chijn]{1}/)||n.match(/-?\d*(\.\d*)?(e[+\-]?\d+)?(e|f)?/))&&(t="number"),t&&(!(i=n.peek())||s.test(i))?t:(n.next(),"error")}return/[A-Za-z]|\./.test(i)?(n.eatWhile(/[A-Za-z._\d]/),x.test(n.current())?"keyword":"variable"):/[|/&^!+:\\\-*%$=~#;@><\.,?_\']/.test(i)||/[{}\(\[\]\)]/.test(i)?null:"error"}function v(n,e){return n.skipToEnd(),/\/\s*$/.test(n.current())?(e.tokenize=h)(n,e):e.tokenize=r,"comment"}function h(n,e){var o=n.sol()&&n.peek()=="\\";return n.skipToEnd(),o&&/^\\\s*$/.test(n.current())&&(e.tokenize=r),"comment"}function m(n){return n.skipToEnd(),"comment"}function a(n,e){for(var o=!1,i,t=!1;i=n.next();){if(i=='"'&&!o){t=!0;break}o=!o&&i=="\\"}return t&&(e.tokenize=r),"string"}function l(n,e,o){n.context={prev:n.context,indent:n.indent,col:o,type:e}}function u(n){n.indent=n.context.indent,n.context=n.context.prev}const g={name:"q",startState:function(){return{tokenize:r,context:null,indent:0,col:0}},token:function(n,e){n.sol()&&(e.context&&e.context.align==null&&(e.context.align=!1),e.indent=n.indentation());var o=e.tokenize(n,e);if(o!="comment"&&e.context&&e.context.align==null&&e.context.type!="pattern"&&(e.context.align=!0),c=="(")l(e,")",n.column());else if(c=="[")l(e,"]",n.column());else if(c=="{")l(e,"}",n.column());else if(/[\]\}\)]/.test(c)){for(;e.context&&e.context.type=="pattern";)u(e);e.context&&c==e.context.type&&u(e)}else c=="."&&e.context&&e.context.type=="pattern"?u(e):/atom|string|variable/.test(o)&&e.context&&(/[\}\]]/.test(e.context.type)?l(e,"pattern",n.column()):e.context.type=="pattern"&&!e.context.align&&(e.context.align=!0,e.context.col=n.column()));return o},indent:function(n,e,o){var i=e&&e.charAt(0),t=n.context;if(/[\]\}]/.test(i))for(;t&&t.type=="pattern";)t=t.prev;var p=t&&i==t.type;return t?t.type=="pattern"?t.col:t.align?t.col+(p?0:1):t.indent+(p?0:o.unit):0}}}}]); diff --git a/2314.8840fb6b.async.js b/2314.8840fb6b.async.js new file mode 100644 index 0000000000..deda84d6f1 --- /dev/null +++ b/2314.8840fb6b.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[2314],{22314:function(m,t,r){r.r(t),r.d(t,{idl:function(){return p}});function i(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var a=["a_correlate","abs","acos","adapt_hist_equal","alog","alog2","alog10","amoeba","annotate","app_user_dir","app_user_dir_query","arg_present","array_equal","array_indices","arrow","ascii_template","asin","assoc","atan","axis","axis","bandpass_filter","bandreject_filter","barplot","bar_plot","beseli","beselj","beselk","besely","beta","biginteger","bilinear","bin_date","binary_template","bindgen","binomial","bit_ffs","bit_population","blas_axpy","blk_con","boolarr","boolean","boxplot","box_cursor","breakpoint","broyden","bubbleplot","butterworth","bytarr","byte","byteorder","bytscl","c_correlate","calendar","caldat","call_external","call_function","call_method","call_procedure","canny","catch","cd","cdf","ceil","chebyshev","check_math","chisqr_cvf","chisqr_pdf","choldc","cholsol","cindgen","cir_3pnt","clipboard","close","clust_wts","cluster","cluster_tree","cmyk_convert","code_coverage","color_convert","color_exchange","color_quan","color_range_map","colorbar","colorize_sample","colormap_applicable","colormap_gradient","colormap_rotation","colortable","comfit","command_line_args","common","compile_opt","complex","complexarr","complexround","compute_mesh_normals","cond","congrid","conj","constrained_min","contour","contour","convert_coord","convol","convol_fft","coord2to3","copy_lun","correlate","cos","cosh","cpu","cramer","createboxplotdata","create_cursor","create_struct","create_view","crossp","crvlength","ct_luminance","cti_test","cursor","curvefit","cv_coord","cvttobm","cw_animate","cw_animate_getp","cw_animate_load","cw_animate_run","cw_arcball","cw_bgroup","cw_clr_index","cw_colorsel","cw_defroi","cw_field","cw_filesel","cw_form","cw_fslider","cw_light_editor","cw_light_editor_get","cw_light_editor_set","cw_orient","cw_palette_editor","cw_palette_editor_get","cw_palette_editor_set","cw_pdmenu","cw_rgbslider","cw_tmpl","cw_zoom","db_exists","dblarr","dcindgen","dcomplex","dcomplexarr","define_key","define_msgblk","define_msgblk_from_file","defroi","defsysv","delvar","dendro_plot","dendrogram","deriv","derivsig","determ","device","dfpmin","diag_matrix","dialog_dbconnect","dialog_message","dialog_pickfile","dialog_printersetup","dialog_printjob","dialog_read_image","dialog_write_image","dictionary","digital_filter","dilate","dindgen","dissolve","dist","distance_measure","dlm_load","dlm_register","doc_library","double","draw_roi","edge_dog","efont","eigenql","eigenvec","ellipse","elmhes","emboss","empty","enable_sysrtn","eof","eos","erase","erf","erfc","erfcx","erode","errorplot","errplot","estimator_filter","execute","exit","exp","expand","expand_path","expint","extract","extract_slice","f_cvf","f_pdf","factorial","fft","file_basename","file_chmod","file_copy","file_delete","file_dirname","file_expand_path","file_gunzip","file_gzip","file_info","file_lines","file_link","file_mkdir","file_move","file_poll_input","file_readlink","file_same","file_search","file_tar","file_test","file_untar","file_unzip","file_which","file_zip","filepath","findgen","finite","fix","flick","float","floor","flow3","fltarr","flush","format_axis_values","forward_function","free_lun","fstat","fulstr","funct","function","fv_test","fx_root","fz_roots","gamma","gamma_ct","gauss_cvf","gauss_pdf","gauss_smooth","gauss2dfit","gaussfit","gaussian_function","gaussint","get_drive_list","get_dxf_objects","get_kbrd","get_login_info","get_lun","get_screen_size","getenv","getwindows","greg2jul","grib","grid_input","grid_tps","grid3","griddata","gs_iter","h_eq_ct","h_eq_int","hanning","hash","hdf","hdf5","heap_free","heap_gc","heap_nosave","heap_refcount","heap_save","help","hilbert","hist_2d","hist_equal","histogram","hls","hough","hqr","hsv","i18n_multibytetoutf8","i18n_multibytetowidechar","i18n_utf8tomultibyte","i18n_widechartomultibyte","ibeta","icontour","iconvertcoord","idelete","identity","idl_base64","idl_container","idl_validname","idlexbr_assistant","idlitsys_createtool","idlunit","iellipse","igamma","igetcurrent","igetdata","igetid","igetproperty","iimage","image","image_cont","image_statistics","image_threshold","imaginary","imap","indgen","int_2d","int_3d","int_tabulated","intarr","interpol","interpolate","interval_volume","invert","ioctl","iopen","ir_filter","iplot","ipolygon","ipolyline","iputdata","iregister","ireset","iresolve","irotate","isa","isave","iscale","isetcurrent","isetproperty","ishft","isocontour","isosurface","isurface","itext","itranslate","ivector","ivolume","izoom","journal","json_parse","json_serialize","jul2greg","julday","keyword_set","krig2d","kurtosis","kw_test","l64indgen","la_choldc","la_cholmprove","la_cholsol","la_determ","la_eigenproblem","la_eigenql","la_eigenvec","la_elmhes","la_gm_linear_model","la_hqr","la_invert","la_least_square_equality","la_least_squares","la_linear_equation","la_ludc","la_lumprove","la_lusol","la_svd","la_tridc","la_trimprove","la_triql","la_trired","la_trisol","label_date","label_region","ladfit","laguerre","lambda","lambdap","lambertw","laplacian","least_squares_filter","leefilt","legend","legendre","linbcg","lindgen","linfit","linkimage","list","ll_arc_distance","lmfit","lmgr","lngamma","lnp_test","loadct","locale_get","logical_and","logical_or","logical_true","lon64arr","lonarr","long","long64","lsode","lu_complex","ludc","lumprove","lusol","m_correlate","machar","make_array","make_dll","make_rt","map","mapcontinents","mapgrid","map_2points","map_continents","map_grid","map_image","map_patch","map_proj_forward","map_proj_image","map_proj_info","map_proj_init","map_proj_inverse","map_set","matrix_multiply","matrix_power","max","md_test","mean","meanabsdev","mean_filter","median","memory","mesh_clip","mesh_decimate","mesh_issolid","mesh_merge","mesh_numtriangles","mesh_obj","mesh_smooth","mesh_surfacearea","mesh_validate","mesh_volume","message","min","min_curve_surf","mk_html_help","modifyct","moment","morph_close","morph_distance","morph_gradient","morph_hitormiss","morph_open","morph_thin","morph_tophat","multi","n_elements","n_params","n_tags","ncdf","newton","noise_hurl","noise_pick","noise_scatter","noise_slur","norm","obj_class","obj_destroy","obj_hasmethod","obj_isa","obj_new","obj_valid","objarr","on_error","on_ioerror","online_help","openr","openu","openw","oplot","oploterr","orderedhash","p_correlate","parse_url","particle_trace","path_cache","path_sep","pcomp","plot","plot3d","plot","plot_3dbox","plot_field","ploterr","plots","polar_contour","polar_surface","polyfill","polyshade","pnt_line","point_lun","polarplot","poly","poly_2d","poly_area","poly_fit","polyfillv","polygon","polyline","polywarp","popd","powell","pref_commit","pref_get","pref_set","prewitt","primes","print","printf","printd","pro","product","profile","profiler","profiles","project_vol","ps_show_fonts","psafm","pseudo","ptr_free","ptr_new","ptr_valid","ptrarr","pushd","qgrid3","qhull","qromb","qromo","qsimp","query_*","query_ascii","query_bmp","query_csv","query_dicom","query_gif","query_image","query_jpeg","query_jpeg2000","query_mrsid","query_pict","query_png","query_ppm","query_srf","query_tiff","query_video","query_wav","r_correlate","r_test","radon","randomn","randomu","ranks","rdpix","read","readf","read_ascii","read_binary","read_bmp","read_csv","read_dicom","read_gif","read_image","read_interfile","read_jpeg","read_jpeg2000","read_mrsid","read_pict","read_png","read_ppm","read_spr","read_srf","read_sylk","read_tiff","read_video","read_wav","read_wave","read_x11_bitmap","read_xwd","reads","readu","real_part","rebin","recall_commands","recon3","reduce_colors","reform","region_grow","register_cursor","regress","replicate","replicate_inplace","resolve_all","resolve_routine","restore","retall","return","reverse","rk4","roberts","rot","rotate","round","routine_filepath","routine_info","rs_test","s_test","save","savgol","scale3","scale3d","scatterplot","scatterplot3d","scope_level","scope_traceback","scope_varfetch","scope_varname","search2d","search3d","sem_create","sem_delete","sem_lock","sem_release","set_plot","set_shading","setenv","sfit","shade_surf","shade_surf_irr","shade_volume","shift","shift_diff","shmdebug","shmmap","shmunmap","shmvar","show3","showfont","signum","simplex","sin","sindgen","sinh","size","skewness","skip_lun","slicer3","slide_image","smooth","sobel","socket","sort","spawn","sph_4pnt","sph_scat","spher_harm","spl_init","spl_interp","spline","spline_p","sprsab","sprsax","sprsin","sprstp","sqrt","standardize","stddev","stop","strarr","strcmp","strcompress","streamline","streamline","stregex","stretch","string","strjoin","strlen","strlowcase","strmatch","strmessage","strmid","strpos","strput","strsplit","strtrim","struct_assign","struct_hide","strupcase","surface","surface","surfr","svdc","svdfit","svsol","swap_endian","swap_endian_inplace","symbol","systime","t_cvf","t_pdf","t3d","tag_names","tan","tanh","tek_color","temporary","terminal_size","tetra_clip","tetra_surface","tetra_volume","text","thin","thread","threed","tic","time_test2","timegen","timer","timestamp","timestamptovalues","tm_test","toc","total","trace","transpose","tri_surf","triangulate","trigrid","triql","trired","trisol","truncate_lun","ts_coef","ts_diff","ts_fcast","ts_smooth","tv","tvcrs","tvlct","tvrd","tvscl","typename","uindgen","uint","uintarr","ul64indgen","ulindgen","ulon64arr","ulonarr","ulong","ulong64","uniq","unsharp_mask","usersym","value_locate","variance","vector","vector_field","vel","velovect","vert_t3d","voigt","volume","voronoi","voxel_proj","wait","warp_tri","watershed","wdelete","wf_draw","where","widget_base","widget_button","widget_combobox","widget_control","widget_displaycontextmenu","widget_draw","widget_droplist","widget_event","widget_info","widget_label","widget_list","widget_propertysheet","widget_slider","widget_tab","widget_table","widget_text","widget_tree","widget_tree_move","widget_window","wiener_filter","window","window","write_bmp","write_csv","write_gif","write_image","write_jpeg","write_jpeg2000","write_nrif","write_pict","write_png","write_ppm","write_spr","write_srf","write_sylk","write_tiff","write_video","write_wav","write_wave","writeu","wset","wshow","wtn","wv_applet","wv_cwt","wv_cw_wavelet","wv_denoise","wv_dwt","wv_fn_coiflet","wv_fn_daubechies","wv_fn_gaussian","wv_fn_haar","wv_fn_morlet","wv_fn_paul","wv_fn_symlet","wv_import_data","wv_import_wavelet","wv_plot3d_wps","wv_plot_multires","wv_pwt","wv_tool_denoise","xbm_edit","xdisplayfile","xdxf","xfont","xinteranimate","xloadct","xmanager","xmng_tmpl","xmtool","xobjview","xobjview_rotate","xobjview_write_image","xpalette","xpcolor","xplot3d","xregistered","xroi","xsq_test","xsurface","xvaredit","xvolume","xvolume_rotate","xvolume_write_image","xyouts","zlib_compress","zlib_uncompress","zoom","zoom_24"],o=i(a),_=["begin","end","endcase","endfor","endwhile","endif","endrep","endforeach","break","case","continue","for","foreach","goto","if","then","else","repeat","until","switch","while","do","pro","function"],l=i(_),s=new RegExp("^[_a-z\xA1-\uFFFF][_a-z0-9\xA1-\uFFFF]*","i"),n=/[+\-*&=<>\/@#~$]/,d=new RegExp("(and|or|eq|lt|le|gt|ge|ne|not)","i");function c(e){return e.eatSpace()?null:e.match(";")?(e.skipToEnd(),"comment"):e.match(/^[0-9\.+-]/,!1)&&(e.match(/^[+-]?0x[0-9a-fA-F]+/)||e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))?"number":e.match(/^"([^"]|(""))*"/)||e.match(/^'([^']|(''))*'/)?"string":e.match(l)?"keyword":e.match(o)?"builtin":e.match(s)?"variable":e.match(n)||e.match(d)?"operator":(e.next(),null)}const p={name:"idl",token:function(e){return c(e)},languageData:{autocomplete:a.concat(_)}}}}]); diff --git a/2386.8f6d8070.async.js b/2386.8f6d8070.async.js new file mode 100644 index 0000000000..686487c2ec --- /dev/null +++ b/2386.8f6d8070.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[2386],{12386:function(IO,X,z){z.r(X),z.d(X,{php:function(){return EO},phpLanguage:function(){return l}});var S=z(53105),$=z(35524);const x=1,R=2,V=263,r=3,v=264,d=265,U=266,u=4,m=5,b=6,p=7,n=8,c=9,k=10,Y=11,Z=12,h=13,w=14,j=15,_=16,f=17,G=18,g=19,E=20,I=21,C=22,F=23,N=24,L=25,A=26,H=27,K=28,J=29,D=30,B=31,M=32,OO=33,$O=34,QO=35,iO=36,yO=37,aO=38,zO=39,SO=40,PO=41,WO=42,eO=43,TO=44,sO=45,XO=46,dO=47,nO=48,qO=49,oO=50,tO=51,lO=52,xO=53,RO=54,VO=55,rO=56,vO=57,UO=58,uO=59,mO=60,bO=61,e=62,pO={abstract:u,and:m,array:b,as:p,true:n,false:n,break:c,case:k,catch:Y,clone:Z,const:h,continue:w,declare:_,default:j,do:f,echo:G,else:g,elseif:E,enddeclare:I,endfor:C,endforeach:F,endif:N,endswitch:L,endwhile:A,enum:H,extends:K,final:J,finally:D,fn:B,for:M,foreach:OO,from:$O,function:QO,global:iO,goto:yO,if:aO,implements:zO,include:SO,include_once:PO,instanceof:WO,insteadof:eO,interface:TO,list:sO,match:XO,namespace:dO,new:nO,null:qO,or:oO,print:tO,require:lO,require_once:xO,return:RO,switch:VO,throw:rO,trait:vO,try:UO,unset:uO,use:mO,var:bO,public:e,private:e,protected:e,while:63,xor:64,yield:65,__proto__:null};function q(O){let Q=pO[O.toLowerCase()];return Q==null?-1:Q}function o(O){return O==9||O==10||O==13||O==32}function t(O){return O>=97&&O<=122||O>=65&&O<=90}function P(O){return O==95||O>=128||t(O)}function T(O){return O>=48&&O<=55||O>=97&&O<=102||O>=65&&O<=70}const cO={int:!0,integer:!0,bool:!0,boolean:!0,float:!0,double:!0,real:!0,string:!0,array:!0,object:!0,unset:!0,__proto__:null},kO=new S.Jq(O=>{if(O.next==40){O.advance();let Q=0;for(;o(O.peek(Q));)Q++;let i="",y;for(;t(y=O.peek(Q));)i+=String.fromCharCode(y),Q++;for(;o(O.peek(Q));)Q++;O.peek(Q)==41&&cO[i.toLowerCase()]&&O.acceptToken(x)}else if(O.next==60&&O.peek(1)==60&&O.peek(2)==60){for(let y=0;y<3;y++)O.advance();for(;O.next==32||O.next==9;)O.advance();let Q=O.next==39;if(Q&&O.advance(),!P(O.next))return;let i=String.fromCharCode(O.next);for(;O.advance(),!(!P(O.next)&&!(O.next>=48&&O.next<=55));)i+=String.fromCharCode(O.next);if(Q){if(O.next!=39)return;O.advance()}if(O.next!=10&&O.next!=13)return;for(;;){let y=O.next==10||O.next==13;if(O.advance(),O.next<0)return;if(y){for(;O.next==32||O.next==9;)O.advance();let W=!0;for(let s=0;s{O.next<0&&O.acceptToken(U)}),ZO=new S.Jq((O,Q)=>{O.next==63&&Q.canShift(d)&&O.peek(1)==62&&O.acceptToken(d)});function hO(O){let Q=O.peek(1);if(Q==110||Q==114||Q==116||Q==118||Q==101||Q==102||Q==92||Q==36||Q==34||Q==123)return 2;if(Q>=48&&Q<=55){let i=2,y;for(;i<5&&(y=O.peek(i))>=48&&y<=55;)i++;return i}if(Q==120&&T(O.peek(2)))return T(O.peek(3))?4:3;if(Q==117&&O.peek(2)==123)for(let i=3;;i++){let y=O.peek(i);if(y==125)return i==2?0:i+1;if(!T(y))break}return 0}const wO=new S.Jq((O,Q)=>{let i=!1;for(;!(O.next==34||O.next<0||O.next==36&&(P(O.peek(1))||O.peek(1)==123)||O.next==123&&O.peek(1)==36);i=!0){if(O.next==92){let y=hO(O);if(y){if(i)break;return O.acceptToken(r,y)}}else if(!i&&(O.next==91||O.next==45&&O.peek(1)==62&&P(O.peek(2))||O.next==63&&O.peek(1)==45&&O.peek(2)==62&&P(O.peek(3)))&&Q.canShift(v))break;O.advance()}i&&O.acceptToken(V)}),jO=(0,$.Gv)({"Visibility abstract final static":$.pJ.modifier,"for foreach while do if else elseif switch try catch finally return throw break continue default case":$.pJ.controlKeyword,"endif endfor endforeach endswitch endwhile declare enddeclare goto match":$.pJ.controlKeyword,"and or xor yield unset clone instanceof insteadof":$.pJ.operatorKeyword,"function fn class trait implements extends const enum global interface use var":$.pJ.definitionKeyword,"include include_once require require_once namespace":$.pJ.moduleKeyword,"new from echo print array list as":$.pJ.keyword,null:$.pJ.null,Boolean:$.pJ.bool,VariableName:$.pJ.variableName,"NamespaceName/...":$.pJ.namespace,"NamedType/...":$.pJ.typeName,Name:$.pJ.name,"CallExpression/Name":$.pJ.function($.pJ.variableName),"LabelStatement/Name":$.pJ.labelName,"MemberExpression/Name":$.pJ.propertyName,"MemberExpression/VariableName":$.pJ.special($.pJ.propertyName),"ScopedExpression/ClassMemberName/Name":$.pJ.propertyName,"ScopedExpression/ClassMemberName/VariableName":$.pJ.special($.pJ.propertyName),"CallExpression/MemberExpression/Name":$.pJ.function($.pJ.propertyName),"CallExpression/ScopedExpression/ClassMemberName/Name":$.pJ.function($.pJ.propertyName),"MethodDeclaration/Name":$.pJ.function($.pJ.definition($.pJ.variableName)),"FunctionDefinition/Name":$.pJ.function($.pJ.definition($.pJ.variableName)),"ClassDeclaration/Name":$.pJ.definition($.pJ.className),UpdateOp:$.pJ.updateOperator,ArithOp:$.pJ.arithmeticOperator,LogicOp:$.pJ.logicOperator,BitOp:$.pJ.bitwiseOperator,CompareOp:$.pJ.compareOperator,ControlOp:$.pJ.controlOperator,AssignOp:$.pJ.definitionOperator,"$ ConcatOp":$.pJ.operator,LineComment:$.pJ.lineComment,BlockComment:$.pJ.blockComment,Integer:$.pJ.integer,Float:$.pJ.float,String:$.pJ.string,ShellExpression:$.pJ.special($.pJ.string),"=> ->":$.pJ.punctuation,"( )":$.pJ.paren,"#[ [ ]":$.pJ.squareBracket,"${ { }":$.pJ.brace,"-> ?->":$.pJ.derefOperator,", ; :: : \\":$.pJ.separator,"PhpOpen PhpClose":$.pJ.processingInstruction}),_O={__proto__:null,static:311,STATIC:311,class:333,CLASS:333},fO=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ArgList NamedArgument SpreadArgument CastExpression UnionType LogicOp OptionalType NamedType QualifiedName \\ NamespaceName ScopedExpression :: ClassMemberName AssignOp UpdateExpression UpdateOp YieldExpression BinaryExpression LogicOp LogicOp LogicOp BitOp BitOp BitOp CompareOp CompareOp BitOp ArithOp ConcatOp ArithOp ArithOp IncludeExpression RequireExpression CloneExpression UnaryExpression ControlOp LogicOp PrintIntrinsic FunctionExpression static ParamList Parameter #[ Attributes Attribute VariadicParameter PropertyParameter UseList ArrowFunction NewExpression class BaseClause ClassInterfaceClause DeclarationList ConstDeclaration VariableDeclarator PropertyDeclaration VariableDeclarator MethodDeclaration UseDeclaration UseList UseInsteadOfClause UseAsClause UpdateExpression ArithOp ShellExpression ThrowExpression Integer Float String MemberExpression SubscriptExpression UnaryExpression ArithOp Interpolation String IfStatement ColonBlock SwitchStatement Block CaseStatement DefaultStatement ColonBlock WhileStatement EmptyStatement DoStatement ForStatement ForSpec SequenceExpression ForeachStatement ForSpec Pair GotoStatement ContinueStatement BreakStatement ReturnStatement TryStatement CatchDeclarator DeclareStatement EchoStatement UnsetStatement ConstDeclaration FunctionDefinition ClassDeclaration InterfaceDeclaration TraitDeclaration EnumDeclaration EnumBody EnumCase NamespaceDefinition NamespaceUseDeclaration UseGroup UseClause UseClause GlobalDeclaration FunctionStaticDeclaration Program",maxTerm:304,nodeProps:[["group",-36,2,8,49,81,83,85,88,93,94,102,106,107,110,111,114,118,123,126,130,132,133,147,148,149,150,153,154,164,165,179,181,182,183,184,185,191,"Expression",-28,74,78,80,82,192,194,199,201,202,205,208,209,210,211,212,214,215,216,217,218,219,220,221,222,225,226,230,231,"Statement",-3,119,121,122,"Type"],["openedBy",69,"phpOpen",76,"{",86,"(",101,"#["],["closedBy",71,"phpClose",77,"}",87,")",158,"]"]],propSources:[jO],skippedNodes:[0],repeatNodeCount:29,tokenData:"!F|_R!]OX$zXY&^YZ'sZ]$z]^&^^p$zpq&^qr)Rrs+Pst+otu2buv5evw6rwx8Vxy>]y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z!^!_%k!_!`6U!`#p$z#p#q!EU#q;'S$z;'S;=`&W<%lO$zR!E]V#{Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!EyV!nQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!FgV$^Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z",tokenizers:[kO,wO,ZO,0,1,2,3,YO],topRules:{Template:[0,72],Program:[1,232]},dynamicPrecedences:{284:1},specialized:[{term:81,get:(O,Q)=>q(O)<<1,external:q},{term:81,get:O=>_O[O]||-1}],tokenPrec:29354});var GO=z(41113),gO=z(82261),a=z(59119);const l=a.qp.define({name:"php",parser:fO.configure({props:[a.uj.add({IfStatement:(0,a.tC)({except:/^\s*({|else\b|elseif\b|endif\b)/}),TryStatement:(0,a.tC)({except:/^\s*({|catch\b|finally\b)/}),SwitchBody:O=>{let Q=O.textAfter,i=/^\s*\}/.test(Q),y=/^\s*(case|default)\b/.test(Q);return O.baseIndent+(i?0:y?1:2)*O.unit},ColonBlock:O=>O.baseIndent+O.unit,"Block EnumBody DeclarationList":(0,a.vw)({closing:"}"}),ArrowFunction:O=>O.baseIndent+O.unit,"String BlockComment":()=>null,Statement:(0,a.tC)({except:/^({|end(for|foreach|switch|while)\b)/})}),a.x0.add({"Block EnumBody DeclarationList SwitchBody ArrayExpression ValueList":a.Dv,ColonBlock(O){return{from:O.from+1,to:O.to}},BlockComment(O){return{from:O.from+2,to:O.to-2}}})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*(?:case |default:|end(?:if|for(?:each)?|switch|while)|else(?:if)?|\{|\})$/,wordChars:"$",closeBrackets:{stringPrefixes:["b","B"]}}});function EO(O={}){let Q=[],i;if(O.baseLanguage!==null)if(O.baseLanguage)i=O.baseLanguage;else{let y=(0,gO.html)({matchClosingTags:!1});Q.push(y.support),i=y.language}return new a.ri(l.configure({wrap:i&&(0,GO.FE)(y=>y.type.isTop?{parser:i.parser,overlay:W=>W.name=="Text"}:null),top:O.plain?"Program":"Template"}),Q)}}}]); diff --git a/2406.44bbe905.async.js b/2406.44bbe905.async.js new file mode 100644 index 0000000000..84110f4e40 --- /dev/null +++ b/2406.44bbe905.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[2406],{72406:function(z,c,d){d.r(c),d.d(c,{clojure:function(){return j}});var l=["false","nil","true"],u=[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],p=["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],m=["->","->>","as->","binding","bound-fn","case","catch","comment","cond","cond->","cond->>","condp","def","definterface","defmethod","defn","defmacro","defprotocol","defrecord","defstruct","deftype","do","doseq","dotimes","doto","extend","extend-protocol","extend-type","fn","for","future","if","if-let","if-not","if-some","let","letfn","locking","loop","ns","proxy","reify","struct-map","some->","some->>","try","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn"],h=o(l),y=o(u),b=o(p),v=o(m),k=/^(?:[\\\[\]\s"(),;@^`{}~]|$)/,g=/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,x=/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,w=/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/;function i(t,e){if(t.eatSpace()||t.eat(","))return["space",null];if(t.match(g))return[null,"number"];if(t.match(x))return[null,"string.special"];if(t.eat(/^"/))return(e.tokenize=q)(t,e);if(t.eat(/^[(\[{]/))return["open","bracket"];if(t.eat(/^[)\]}]/))return["close","bracket"];if(t.eat(/^;/))return t.skipToEnd(),["space","comment"];if(t.eat(/^[#'@^`~]/))return[null,"meta"];var r=t.match(w),n=r&&r[0];return n?n==="comment"&&e.lastToken==="("?(e.tokenize=T)(t,e):a(n,h)||n.charAt(0)===":"?["symbol","atom"]:a(n,y)||a(n,b)?["symbol","keyword"]:e.lastToken==="("?["symbol","builtin"]:["symbol","variable"]:(t.next(),t.eatWhile(function(s){return!a(s,k)}),[null,"error"])}function q(t,e){for(var r=!1,n;n=t.next();){if(n==='"'&&!r){e.tokenize=i;break}r=!r&&n==="\\"}return[null,"string"]}function T(t,e){for(var r=1,n;n=t.next();)if(n===")"&&r--,n==="("&&r++,r===0){t.backUp(1),e.tokenize=i;break}return["space","comment"]}function o(t){for(var e={},r=0;rh?typeof h=="function"?h():h:null},7134:function(Q,O,e){e.d(O,{C:function(){return le}});var t=e(67294),h=e(94184),g=e.n(h),m=e(48555),K=e(42550),A=e(74443),L=e(53124),Z=e(98675),w=e(25378),i=t.createContext({}),s=e(14747),n=e(67968),o=e(45503);const l=a=>{const{antCls:u,componentCls:d,iconCls:c,avatarBg:y,avatarColor:G,containerSize:I,containerSizeLG:P,containerSizeSM:T,textFontSize:_,textFontSizeLG:N,textFontSizeSM:ee,borderRadius:$,borderRadiusLG:D,borderRadiusSM:F,lineWidth:U,lineType:J}=a,X=(b,S,V)=>({width:b,height:b,lineHeight:`${b-U*2}px`,borderRadius:"50%",[`&${d}-square`]:{borderRadius:V},[`${d}-string`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transformOrigin:"0 center"},[`&${d}-icon`]:{fontSize:S,[`> ${c}`]:{margin:0}}});return{[d]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,s.Wf)(a)),{position:"relative",display:"inline-block",overflow:"hidden",color:G,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:y,border:`${U}px ${J} transparent`,["&-image"]:{background:"transparent"},[`${u}-image-img`]:{display:"block"}}),X(I,_,$)),{["&-lg"]:Object.assign({},X(P,N,D)),["&-sm"]:Object.assign({},X(T,ee,F)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},r=a=>{const{componentCls:u,groupBorderColor:d,groupOverlapping:c,groupSpace:y}=a;return{[`${u}-group`]:{display:"inline-flex",[`${u}`]:{borderColor:d},["> *:not(:first-child)"]:{marginInlineStart:c}},[`${u}-group-popover`]:{[`${u} + ${u}`]:{marginInlineStart:y}}}};var v=(0,n.Z)("Avatar",a=>{const{colorTextLightSolid:u,colorTextPlaceholder:d}=a,c=(0,o.TS)(a,{avatarBg:d,avatarColor:u});return[l(c),r(c)]},a=>{const{controlHeight:u,controlHeightLG:d,controlHeightSM:c,fontSize:y,fontSizeLG:G,fontSizeXL:I,fontSizeHeading3:P,marginXS:T,marginXXS:_,colorBorderBg:N}=a;return{containerSize:u,containerSizeLG:d,containerSizeSM:c,textFontSize:Math.round((G+I)/2),textFontSizeLG:P,textFontSizeSM:y,groupSpace:_,groupOverlapping:-T,groupBorderColor:N}}),x=function(a,u){var d={};for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&u.indexOf(c)<0&&(d[c]=a[c]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,c=Object.getOwnPropertySymbols(a);y{const[d,c]=t.useState(1),[y,G]=t.useState(!1),[I,P]=t.useState(!0),T=t.useRef(null),_=t.useRef(null),N=(0,K.sQ)(u,T),{getPrefixCls:ee,avatar:$}=t.useContext(L.E_),D=t.useContext(i),F=()=>{if(!_.current||!T.current)return;const p=_.current.offsetWidth,E=T.current.offsetWidth;if(p!==0&&E!==0){const{gap:M=4}=a;M*2{G(!0)},[]),t.useEffect(()=>{P(!0),c(1)},[a.src]),t.useEffect(F,[a.gap]);const U=()=>{const{onError:p}=a;(p==null?void 0:p())!==!1&&P(!1)},{prefixCls:J,shape:X,size:b,src:S,srcSet:V,icon:z,className:te,rootClassName:ue,alt:fe,draggable:ve,children:ie,crossOrigin:ge}=a,ae=x(a,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","alt","draggable","children","crossOrigin"]),C=(0,Z.Z)(p=>{var E,M;return(M=(E=b!=null?b:D==null?void 0:D.size)!==null&&E!==void 0?E:p)!==null&&M!==void 0?M:"default"}),me=Object.keys(typeof C=="object"?C||{}:{}).some(p=>["xs","sm","md","lg","xl","xxl"].includes(p)),ce=(0,w.Z)(me),pe=t.useMemo(()=>{if(typeof C!="object")return{};const p=A.c4.find(M=>ce[M]),E=C[p];return E?{width:E,height:E,lineHeight:`${E}px`,fontSize:z?E/2:18}:{}},[ce,C]),W=ee("avatar",J),[Ee,he]=v(W),ye=g()({[`${W}-lg`]:C==="large",[`${W}-sm`]:C==="small"}),de=t.isValidElement(S),Oe=X||(D==null?void 0:D.shape)||"circle",Ce=g()(W,ye,$==null?void 0:$.className,`${W}-${Oe}`,{[`${W}-image`]:de||S&&I,[`${W}-icon`]:!!z},te,ue,he),Pe=typeof C=="number"?{width:C,height:C,lineHeight:`${C}px`,fontSize:z?C/2:18}:{};let k;if(typeof S=="string"&&I)k=t.createElement("img",{src:S,draggable:ve,srcSet:V,onError:U,alt:fe,crossOrigin:ge});else if(de)k=S;else if(z)k=z;else if(y||d!==1){const p=`scale(${d}) translateX(-50%)`,E={msTransform:p,WebkitTransform:p,transform:p},M=typeof C=="number"?{lineHeight:`${C}px`}:{};k=t.createElement(m.Z,{onResize:F},t.createElement("span",{className:`${W}-string`,ref:_,style:Object.assign(Object.assign({},M),E)},ie))}else k=t.createElement("span",{className:`${W}-string`,style:{opacity:0},ref:_},ie);return delete ae.onError,delete ae.gap,Ee(t.createElement("span",Object.assign({},ae,{style:Object.assign(Object.assign(Object.assign(Object.assign({},Pe),pe),$==null?void 0:$.style),ae.style),className:Ce,ref:N}),k))};var j=t.forwardRef(R),H=e(50344),Y=e(55241),ne=e(96159);const q=a=>{const{size:u,shape:d}=t.useContext(i),c=t.useMemo(()=>({size:a.size||u,shape:a.shape||d}),[a.size,a.shape,u,d]);return t.createElement(i.Provider,{value:c},a.children)};var se=a=>{const{getPrefixCls:u,direction:d}=t.useContext(L.E_),{prefixCls:c,className:y,rootClassName:G,style:I,maxCount:P,maxStyle:T,size:_,shape:N,maxPopoverPlacement:ee="top",maxPopoverTrigger:$="hover",children:D}=a,F=u("avatar",c),U=`${F}-group`,[J,X]=v(F),b=g()(U,{[`${U}-rtl`]:d==="rtl"},y,G,X),S=(0,H.Z)(D).map((z,te)=>(0,ne.Tm)(z,{key:`avatar-key-${te}`})),V=S.length;if(P&&P{if(!(!n&&!o))return m.createElement(m.Fragment,null,n&&m.createElement("div",{className:`${s}-title`},(0,A.Z)(n)),m.createElement("div",{className:`${s}-inner-content`},(0,A.Z)(o)))},f=s=>{const{hashId:n,prefixCls:o,className:l,style:r,placement:v="top",title:x,content:R,children:B}=s;return m.createElement("div",{className:h()(n,o,`${o}-pure`,`${o}-placement-${v}`,l),style:r},m.createElement("div",{className:`${o}-arrow`}),m.createElement(g.G,Object.assign({},s,{className:n,prefixCls:o}),B||w(o,x,R)))},i=s=>{const{prefixCls:n}=s,o=Z(s,["prefixCls"]),{getPrefixCls:l}=m.useContext(K.E_),r=l("popover",n),[v,x]=(0,L.Z)(r);return v(m.createElement(f,Object.assign({},o,{prefixCls:r,hashId:x})))};O.ZP=i},55241:function(Q,O,e){var t=e(94184),h=e.n(t),g=e(67294),m=e(81643),K=e(33603),A=e(53124),L=e(83062),Z=e(60590),w=e(20136),f=function(n,o){var l={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&o.indexOf(r)<0&&(l[r]=n[r]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,r=Object.getOwnPropertySymbols(n);v{let{title:o,content:l,prefixCls:r}=n;return g.createElement(g.Fragment,null,o&&g.createElement("div",{className:`${r}-title`},(0,m.Z)(o)),g.createElement("div",{className:`${r}-inner-content`},(0,m.Z)(l)))},s=g.forwardRef((n,o)=>{const{prefixCls:l,title:r,content:v,overlayClassName:x,placement:R="top",trigger:B="hover",mouseEnterDelay:j=.1,mouseLeaveDelay:H=.1,overlayStyle:Y={}}=n,ne=f(n,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:q}=g.useContext(A.E_),oe=q("popover",l),[se,re]=(0,w.Z)(oe),le=q(),a=h()(x,re);return se(g.createElement(L.Z,Object.assign({placement:R,trigger:B,mouseEnterDelay:j,mouseLeaveDelay:H,overlayStyle:Y},ne,{prefixCls:oe,overlayClassName:a,ref:o,overlay:r||v?g.createElement(i,{prefixCls:oe,title:r,content:v}):null,transitionName:(0,K.m)(le,"zoom-big",ne.transitionName),"data-popover-inject":!0})))});s._InternalPanelDoNotUseOrYouWillBeFired=Z.ZP,O.Z=s},20136:function(Q,O,e){var t=e(14747),h=e(50438),g=e(97414),m=e(8796),K=e(67968),A=e(45503);const L=f=>{const{componentCls:i,popoverColor:s,minWidth:n,fontWeightStrong:o,popoverPadding:l,boxShadowSecondary:r,colorTextHeading:v,borderRadiusLG:x,zIndexPopup:R,marginXS:B,colorBgElevated:j,popoverBg:H}=f;return[{[i]:Object.assign(Object.assign({},(0,t.Wf)(f)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:R,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":j,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${i}-content`]:{position:"relative"},[`${i}-inner`]:{backgroundColor:H,backgroundClip:"padding-box",borderRadius:x,boxShadow:r,padding:l},[`${i}-title`]:{minWidth:n,marginBottom:B,color:v,fontWeight:o},[`${i}-inner-content`]:{color:s}})},(0,g.ZP)(f,{colorBg:"var(--antd-arrow-background-color)"}),{[`${i}-pure`]:{position:"relative",maxWidth:"none",margin:f.sizePopupArrow,display:"inline-block",[`${i}-content`]:{display:"inline-block"}}}]},Z=f=>{const{componentCls:i}=f;return{[i]:m.i.map(s=>{const n=f[`${s}6`];return{[`&${i}-${s}`]:{"--antd-arrow-background-color":n,[`${i}-inner`]:{backgroundColor:n},[`${i}-arrow`]:{background:"transparent"}}}})}},w=f=>{const{componentCls:i,lineWidth:s,lineType:n,colorSplit:o,paddingSM:l,controlHeight:r,fontSize:v,lineHeight:x,padding:R}=f,B=r-Math.round(v*x),j=B/2,H=B/2-s,Y=R;return{[i]:{[`${i}-inner`]:{padding:0},[`${i}-title`]:{margin:0,padding:`${j}px ${Y}px ${H}px`,borderBottom:`${s}px ${n} ${o}`},[`${i}-inner-content`]:{padding:`${l}px ${Y}px`}}}};O.Z=(0,K.Z)("Popover",f=>{const{colorBgElevated:i,colorText:s,wireframe:n}=f,o=(0,A.TS)(f,{popoverPadding:12,popoverBg:i,popoverColor:s});return[L(o),Z(o),n&&w(o),(0,h._y)(o,"zoom-big")]},f=>({width:177,minWidth:177,zIndexPopup:f.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})}}]); diff --git a/2517.4822cb32.async.js b/2517.4822cb32.async.js new file mode 100644 index 0000000000..1d04d2eb74 --- /dev/null +++ b/2517.4822cb32.async.js @@ -0,0 +1,14 @@ +(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[2517],{50406:function(te,le,u){"use strict";u.d(le,{Z:function(){return cn}});var s=u(67294),X=u(74902),fe=u(73935),Ce=u(94184),L=u.n(Ce),G=u(87462),ge=u(15671),Se=u(43144),ve=u(32531),he=u(73568),Ee=u(4942),Qe=u(91),Ne=u(74165),qe=u(71002),ke=u(15861),_e=u(64217);function et(e,n){var t="cannot ".concat(e.method," ").concat(e.action," ").concat(n.status,"'"),r=new Error(t);return r.status=n.status,r.method=e.method,r.url=e.action,r}function Ze(e){var n=e.responseText||e.response;if(!n)return n;try{return JSON.parse(n)}catch(t){return n}}function tt(e){var n=new XMLHttpRequest;e.onProgress&&n.upload&&(n.upload.onprogress=function(a){a.total>0&&(a.percent=a.loaded/a.total*100),e.onProgress(a)});var t=new FormData;e.data&&Object.keys(e.data).forEach(function(l){var a=e.data[l];if(Array.isArray(a)){a.forEach(function(i){t.append("".concat(l,"[]"),i)});return}t.append(l,a)}),e.file instanceof Blob?t.append(e.filename,e.file,e.file.name):t.append(e.filename,e.file),n.onerror=function(a){e.onError(a)},n.onload=function(){return n.status<200||n.status>=300?e.onError(et(e,n),Ze(n)):e.onSuccess(Ze(n),n)},n.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in n&&(n.withCredentials=!0);var r=e.headers||{};return r["X-Requested-With"]!==null&&n.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach(function(l){r[l]!==null&&n.setRequestHeader(l,r[l])}),n.send(t),{abort:function(){n.abort()}}}var nt=+new Date,rt=0;function Ie(){return"rc-upload-".concat(nt,"-").concat(++rt)}var ot=u(80334),Oe=function(e,n){if(e&&n){var t=Array.isArray(n)?n:n.split(","),r=e.name||"",l=e.type||"",a=l.replace(/\/.*$/,"");return t.some(function(i){var o=i.trim();if(/^\*(\/\*)?$/.test(i))return!0;if(o.charAt(0)==="."){var d=r.toLowerCase(),c=o.toLowerCase(),p=[c];return(c===".jpg"||c===".jpeg")&&(p=[".jpg",".jpeg"]),p.some(function(v){return d.endsWith(v)})}return/\/\*$/.test(o)?a===o.replace(/\/.*$/,""):l===o?!0:/^\w+$/.test(o)?((0,ot.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(o,"'.Skip for check.")),!0):!1})}return!0};function at(e,n){var t=e.createReader(),r=[];function l(){t.readEntries(function(a){var i=Array.prototype.slice.apply(a);r=r.concat(i);var o=!i.length;o?n(r):l()})}l()}var it=function(n,t,r){var l=function a(i,o){i&&(i.path=o||"",i.isFile?i.file(function(d){r(d)&&(i.fullPath&&!d.webkitRelativePath&&(Object.defineProperties(d,{webkitRelativePath:{writable:!0}}),d.webkitRelativePath=i.fullPath.replace(/^\//,""),Object.defineProperties(d,{webkitRelativePath:{writable:!1}})),t([d]))}):i.isDirectory&&at(i,function(d){d.forEach(function(c){a(c,"".concat(o).concat(i.name,"/"))})}))};n.forEach(function(a){l(a.webkitGetAsEntry())})},lt=it,st=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],ct=function(e){(0,ve.Z)(t,e);var n=(0,he.Z)(t);function t(){var r;(0,ge.Z)(this,t);for(var l=arguments.length,a=new Array(l),i=0;i{const{componentCls:n,iconCls:t}=e;return{[`${n}-wrapper`]:{[`${n}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[n]:{padding:`${e.padding}px 0`},[`${n}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${n}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${n}-disabled):hover`]:{borderColor:e.colorPrimaryHover},[`p${n}-drag-icon`]:{marginBottom:e.margin,[t]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${n}-text`]:{margin:`0 0 ${e.marginXXS}px`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${n}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${n}-disabled`]:{cursor:"not-allowed",[`p${n}-drag-icon ${t}, + p${n}-text, + p${n}-hint + `]:{color:e.colorTextDisabled}}}}}},wt=e=>{const{componentCls:n,antCls:t,iconCls:r,fontSize:l,lineHeight:a}=e,i=`${n}-list-item`,o=`${i}-actions`,d=`${i}-action`,c=Math.round(l*a);return{[`${n}-wrapper`]:{[`${n}-list`]:Object.assign(Object.assign({},(0,se.dF)()),{lineHeight:e.lineHeight,[i]:{position:"relative",height:e.lineHeight*l,marginTop:e.marginXS,fontSize:l,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${i}-name`]:Object.assign(Object.assign({},se.vS),{padding:`0 ${e.paddingXS}px`,lineHeight:a,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[o]:{[d]:{opacity:0},[`${d}${t}-btn-sm`]:{height:c,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` + ${d}:focus-visible, + &.picture ${d} + `]:{opacity:1},[r]:{color:e.actionsColor,transition:`all ${e.motionDurationSlow}`},[`&:hover ${r}`]:{color:e.colorText}},[`${n}-icon ${r}`]:{color:e.colorTextDescription,fontSize:l},[`${i}-progress`]:{position:"absolute",bottom:-e.uploadProgressOffset,width:"100%",paddingInlineStart:l+e.paddingXS,fontSize:l,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${i}:hover ${d}`]:{opacity:1,color:e.colorText},[`${i}-error`]:{color:e.colorError,[`${i}-name, ${n}-icon ${r}`]:{color:e.colorError},[o]:{[`${r}, ${r}:hover`]:{color:e.colorError},[d]:{opacity:1}}},[`${n}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Ae=u(86557),$t=u(16932);const He=new Ae.E4("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),Be=new Ae.E4("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Ct=e=>{const{componentCls:n}=e,t=`${n}-animate-inline`;return[{[`${n}-wrapper`]:{[`${t}-appear, ${t}-enter, ${t}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${t}-appear, ${t}-enter`]:{animationName:He},[`${t}-leave`]:{animationName:Be}}},{[`${n}-wrapper`]:(0,$t.J$)(e)},He,Be]},Xe=u(78589),St=u(10274);const Et=e=>{const{componentCls:n,iconCls:t,uploadThumbnailSize:r,uploadProgressOffset:l}=e,a=`${n}-list`,i=`${a}-item`;return{[`${n}-wrapper`]:{[` + ${a}${a}-picture, + ${a}${a}-picture-card, + ${a}${a}-picture-circle + `]:{[i]:{position:"relative",height:r+e.lineWidth*2+e.paddingXS*2,padding:e.paddingXS,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${i}-thumbnail`]:Object.assign(Object.assign({},se.vS),{width:r,height:r,lineHeight:`${r+e.paddingSM}px`,textAlign:"center",flex:"none",[t]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${i}-progress`]:{bottom:l,width:`calc(100% - ${e.paddingSM*2}px)`,marginTop:0,paddingInlineStart:r+e.paddingXS}},[`${i}-error`]:{borderColor:e.colorError,[`${i}-thumbnail ${t}`]:{[`svg path[fill='${Xe.iN[0]}']`]:{fill:e.colorErrorBg},[`svg path[fill='${Xe.iN.primary}']`]:{fill:e.colorError}}},[`${i}-uploading`]:{borderStyle:"dashed",[`${i}-name`]:{marginBottom:l}}},[`${a}${a}-picture-circle ${i}`]:{[`&, &::before, ${i}-thumbnail`]:{borderRadius:"50%"}}}}},It=e=>{const{componentCls:n,iconCls:t,fontSizeLG:r,colorTextLightSolid:l}=e,a=`${n}-list`,i=`${a}-item`,o=e.uploadPicCardSize;return{[` + ${n}-wrapper${n}-picture-card-wrapper, + ${n}-wrapper${n}-picture-circle-wrapper + `]:Object.assign(Object.assign({},(0,se.dF)()),{display:"inline-block",width:"100%",[`${n}${n}-select`]:{width:o,height:o,marginInlineEnd:e.marginXS,marginBottom:e.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${n}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${n}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${a}${a}-picture-card, ${a}${a}-picture-circle`]:{[`${a}-item-container`]:{display:"inline-block",width:o,height:o,marginBlock:`0 ${e.marginXS}px`,marginInline:`0 ${e.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[i]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${e.paddingXS*2}px)`,height:`calc(100% - ${e.paddingXS*2}px)`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${i}:hover`]:{[`&::before, ${i}-actions`]:{opacity:1}},[`${i}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[`${t}-eye, ${t}-download, ${t}-delete`]:{zIndex:10,width:r,margin:`0 ${e.marginXXS}px`,fontSize:r,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${i}-actions, ${i}-actions:hover`]:{[`${t}-eye, ${t}-download, ${t}-delete`]:{color:new St.C(l).setAlpha(.65).toRgbString(),"&:hover":{color:l}}},[`${i}-thumbnail, ${i}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${i}-name`]:{display:"none",textAlign:"center"},[`${i}-file + ${i}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${e.paddingXS*2}px)`},[`${i}-uploading`]:{[`&${i}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${t}-eye, ${t}-download, ${t}-delete`]:{display:"none"}},[`${i}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${e.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${n}-wrapper${n}-picture-circle-wrapper`]:{[`${n}${n}-select`]:{borderRadius:"50%"}}}};var Ot=e=>{const{componentCls:n}=e;return{[`${n}-rtl`]:{direction:"rtl"}}};const xt=e=>{const{componentCls:n,colorTextDisabled:t}=e;return{[`${n}-wrapper`]:Object.assign(Object.assign({},(0,se.Wf)(e)),{[n]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${n}-select`]:{display:"inline-block"},[`${n}-disabled`]:{color:t,cursor:"not-allowed"}})}};var Dt=(0,ht.Z)("Upload",e=>{const{fontSizeHeading3:n,fontSize:t,lineHeight:r,lineWidth:l,controlHeightLG:a}=e,i=Math.round(t*r),o=(0,yt.TS)(e,{uploadThumbnailSize:n*2,uploadProgressOffset:i/2+l,uploadPicCardSize:a*2.55});return[xt(o),bt(o),Et(o),It(o),wt(o),Ct(o),Ot(o),(0,vt.Z)(o)]},e=>({actionsColor:e.colorTextDescription})),Ft={icon:function(n,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:n}}]}},name:"file",theme:"twotone"},Pt=Ft,ye=u(93771),Rt=function(n,t){return s.createElement(ye.Z,(0,G.Z)({},n,{ref:t,icon:Pt}))},jt=s.forwardRef(Rt),Ve=u(19267),Lt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},Tt=Lt,Ut=function(n,t){return s.createElement(ye.Z,(0,G.Z)({},n,{ref:t,icon:Tt}))},Nt=s.forwardRef(Ut),Zt={icon:function(n,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:n}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:t}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:t}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:t}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:n}}]}},name:"picture",theme:"twotone"},Mt=Zt,zt=function(n,t){return s.createElement(ye.Z,(0,G.Z)({},n,{ref:t,icon:Mt}))},At=s.forwardRef(zt),Fe=u(82225),Ht=u(57838),Bt=u(33603),be=u(96159),We=u(15867);function we(e){return Object.assign(Object.assign({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function $e(e,n){const t=(0,X.Z)(n),r=t.findIndex(l=>{let{uid:a}=l;return a===e.uid});return r===-1?t.push(e):t[r]=e,t}function Pe(e,n){const t=e.uid!==void 0?"uid":"name";return n.filter(r=>r[t]===e[t])[0]}function Xt(e,n){const t=e.uid!==void 0?"uid":"name",r=n.filter(l=>l[t]!==e[t]);return r.length===n.length?null:r}const Vt=function(){const n=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),r=n[n.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]},Ge=e=>e.indexOf("image/")===0,Wt=e=>{if(e.type&&!e.thumbUrl)return Ge(e.type);const n=e.thumbUrl||e.url||"",t=Vt(n);return/^data:image\//.test(n)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(t)?!0:!(/^data:/.test(n)||t)},J=200;function Gt(e){return new Promise(n=>{if(!e.type||!Ge(e.type)){n("");return}const t=document.createElement("canvas");t.width=J,t.height=J,t.style.cssText=`position: fixed; left: 0; top: 0; width: ${J}px; height: ${J}px; z-index: 9999; display: none;`,document.body.appendChild(t);const r=t.getContext("2d"),l=new Image;if(l.onload=()=>{const{width:a,height:i}=l;let o=J,d=J,c=0,p=0;a>i?(d=i*(J/a),p=-(d-o)/2):(o=a*(J/i),c=-(o-d)/2),r.drawImage(l,c,p,o,d);const v=t.toDataURL();document.body.removeChild(t),window.URL.revokeObjectURL(l.src),n(v)},l.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const a=new FileReader;a.onload=()=>{a.result&&(l.src=a.result)},a.readAsDataURL(e)}else if(e.type.startsWith("image/gif")){const a=new FileReader;a.onload=()=>{a.result&&n(a.result)},a.readAsDataURL(e)}else l.src=window.URL.createObjectURL(e)})}var Kt=u(58142),Jt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Yt=Jt,Qt=function(n,t){return s.createElement(ye.Z,(0,G.Z)({},n,{ref:t,icon:Yt}))},qt=s.forwardRef(Qt),kt=u(1208),_t=u(38703),en=u(83062),tn=s.forwardRef((e,n)=>{let{prefixCls:t,className:r,style:l,locale:a,listType:i,file:o,items:d,progress:c,iconRender:p,actionIconRender:v,itemRender:y,isImgUrl:$,showPreviewIcon:P,showRemoveIcon:Z,showDownloadIcon:M,previewIcon:D,removeIcon:T,downloadIcon:R,onPreview:F,onDownload:g,onClose:j}=e;var x,Y;const{status:V}=o,[z,ne]=s.useState(V);s.useEffect(()=>{V!=="removed"&&ne(V)},[V]);const[de,ue]=s.useState(!1);s.useEffect(()=>{const C=setTimeout(()=>{ue(!0)},300);return()=>{clearTimeout(C)}},[]);const k=p(o);let A=s.createElement("div",{className:`${t}-icon`},k);if(i==="picture"||i==="picture-card"||i==="picture-circle")if(z==="uploading"||!o.thumbUrl&&!o.url){const C=L()(`${t}-list-item-thumbnail`,{[`${t}-list-item-file`]:z!=="uploading"});A=s.createElement("div",{className:C},k)}else{const C=$!=null&&$(o)?s.createElement("img",{src:o.thumbUrl||o.url,alt:o.name,className:`${t}-list-item-image`,crossOrigin:o.crossOrigin}):k,S=L()(`${t}-list-item-thumbnail`,{[`${t}-list-item-file`]:$&&!$(o)});A=s.createElement("a",{className:S,onClick:K=>F(o,K),href:o.url||o.thumbUrl,target:"_blank",rel:"noopener noreferrer"},C)}const I=L()(`${t}-list-item`,`${t}-list-item-${z}`),re=typeof o.linkProps=="string"?JSON.parse(o.linkProps):o.linkProps,oe=Z?v((typeof T=="function"?T(o):T)||s.createElement(Kt.Z,null),()=>j(o),t,a.removeFile):null,ae=M&&z==="done"?v((typeof R=="function"?R(o):R)||s.createElement(qt,null),()=>g(o),t,a.downloadFile):null,Q=i!=="picture-card"&&i!=="picture-circle"&&s.createElement("span",{key:"download-delete",className:L()(`${t}-list-item-actions`,{picture:i==="picture"})},ae,oe),H=L()(`${t}-list-item-name`),pe=o.url?[s.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:H,title:o.name},re,{href:o.url,onClick:C=>F(o,C)}),o.name),Q]:[s.createElement("span",{key:"view",className:H,onClick:C=>F(o,C),title:o.name},o.name),Q],m={pointerEvents:"none",opacity:.5},O=P?s.createElement("a",{href:o.url||o.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:o.url||o.thumbUrl?void 0:m,onClick:C=>F(o,C),title:a.previewFile},typeof D=="function"?D(o):D||s.createElement(kt.Z,null)):null,B=(i==="picture-card"||i==="picture-circle")&&z!=="uploading"&&s.createElement("span",{className:`${t}-list-item-actions`},O,z==="done"&&ae,oe),{getPrefixCls:U}=s.useContext(De.E_),q=U(),W=s.createElement("div",{className:I},A,pe,B,de&&s.createElement(Fe.ZP,{motionName:`${q}-fade`,visible:z==="uploading",motionDeadline:2e3},C=>{let{className:S}=C;const K="percent"in o?s.createElement(_t.Z,Object.assign({},c,{type:"line",percent:o.percent,"aria-label":o["aria-label"],"aria-labelledby":o["aria-labelledby"]})):null;return s.createElement("div",{className:L()(`${t}-list-item-progress`,S)},K)})),je=o.response&&typeof o.response=="string"?o.response:((x=o.error)===null||x===void 0?void 0:x.statusText)||((Y=o.error)===null||Y===void 0?void 0:Y.message)||a.uploadError,me=z==="error"?s.createElement(en.Z,{title:je,getPopupContainer:C=>C.parentNode},W):W;return s.createElement("div",{className:L()(`${t}-list-item-container`,r),style:l,ref:n},y?y(me,o,d,{download:g.bind(null,o),preview:F.bind(null,o),remove:j.bind(null,o)}):me)});const nn=(e,n)=>{const{listType:t="text",previewFile:r=Gt,onPreview:l,onDownload:a,onRemove:i,locale:o,iconRender:d,isImageUrl:c=Wt,prefixCls:p,items:v=[],showPreviewIcon:y=!0,showRemoveIcon:$=!0,showDownloadIcon:P=!1,removeIcon:Z,previewIcon:M,downloadIcon:D,progress:T={size:[-1,2],showInfo:!1},appendAction:R,appendActionVisible:F=!0,itemRender:g,disabled:j}=e,x=(0,Ht.Z)(),[Y,V]=s.useState(!1);s.useEffect(()=>{t!=="picture"&&t!=="picture-card"&&t!=="picture-circle"||(v||[]).forEach(m=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(m.originFileObj instanceof File||m.originFileObj instanceof Blob)||m.thumbUrl!==void 0||(m.thumbUrl="",r&&r(m.originFileObj).then(O=>{m.thumbUrl=O||"",x()}))})},[t,v,r]),s.useEffect(()=>{V(!0)},[]);const z=(m,O)=>{if(l)return O==null||O.preventDefault(),l(m)},ne=m=>{typeof a=="function"?a(m):m.url&&window.open(m.url)},de=m=>{i==null||i(m)},ue=m=>{if(d)return d(m,t);const O=m.status==="uploading",B=c&&c(m)?s.createElement(At,null):s.createElement(jt,null);let U=O?s.createElement(Ve.Z,null):s.createElement(Nt,null);return t==="picture"?U=O?s.createElement(Ve.Z,null):B:(t==="picture-card"||t==="picture-circle")&&(U=O?o.uploading:B),U},k=(m,O,B,U)=>{const q={type:"text",size:"small",title:U,onClick:W=>{O(),(0,be.l$)(m)&&m.props.onClick&&m.props.onClick(W)},className:`${B}-list-item-action`,disabled:j};if((0,be.l$)(m)){const W=(0,be.Tm)(m,Object.assign(Object.assign({},m.props),{onClick:()=>{}}));return s.createElement(We.ZP,Object.assign({},q,{icon:W}))}return s.createElement(We.ZP,Object.assign({},q),s.createElement("span",null,m))};s.useImperativeHandle(n,()=>({handlePreview:z,handleDownload:ne}));const{getPrefixCls:A}=s.useContext(De.E_),I=A("upload",p),re=A(),oe=L()(`${I}-list`,`${I}-list-${t}`),ae=(0,X.Z)(v.map(m=>({key:m.uid,file:m})));let H={motionDeadline:2e3,motionName:`${I}-${t==="picture-card"||t==="picture-circle"?"animate-inline":"animate"}`,keys:ae,motionAppear:Y};const pe=s.useMemo(()=>{const m=Object.assign({},(0,Bt.Z)(re));return delete m.onAppearEnd,delete m.onEnterEnd,delete m.onLeaveEnd,m},[re]);return t!=="picture-card"&&t!=="picture-circle"&&(H=Object.assign(Object.assign({},pe),H)),s.createElement("div",{className:oe},s.createElement(Fe.V4,Object.assign({},H,{component:!1}),m=>{let{key:O,file:B,className:U,style:q}=m;return s.createElement(tn,{key:O,locale:o,prefixCls:I,className:U,style:q,file:B,items:v,progress:T,listType:t,isImgUrl:c,showPreviewIcon:y,showRemoveIcon:$,showDownloadIcon:P,removeIcon:Z,previewIcon:M,downloadIcon:D,iconRender:ue,actionIconRender:k,itemRender:g,onPreview:z,onDownload:ne,onClose:de})}),R&&s.createElement(Fe.ZP,Object.assign({},H,{visible:F,forceRender:!0}),m=>{let{className:O,style:B}=m;return(0,be.Tm)(R,U=>({className:L()(U.className,O),style:Object.assign(Object.assign(Object.assign({},B),{pointerEvents:O?"none":void 0}),U.style)}))}))};var rn=s.forwardRef(nn),on=function(e,n,t,r){function l(a){return a instanceof t?a:new t(function(i){i(a)})}return new(t||(t=Promise))(function(a,i){function o(p){try{c(r.next(p))}catch(v){i(v)}}function d(p){try{c(r.throw(p))}catch(v){i(v)}}function c(p){p.done?a(p.value):l(p.value).then(o,d)}c((r=r.apply(e,n||[])).next())})};const ce=`__LIST_IGNORE_${Date.now()}__`,an=(e,n)=>{const{fileList:t,defaultFileList:r,onRemove:l,showUploadList:a=!0,listType:i="text",onPreview:o,onDownload:d,onChange:c,onDrop:p,previewFile:v,disabled:y,locale:$,iconRender:P,isImageUrl:Z,progress:M,prefixCls:D,className:T,type:R="select",children:F,style:g,itemRender:j,maxCount:x,data:Y={},multiple:V=!1,action:z="",accept:ne="",supportServerRender:de=!0,rootClassName:ue}=e,k=s.useContext(mt.Z),A=y!=null?y:k,[I,re]=(0,pt.Z)(r||[],{value:t,postState:f=>f!=null?f:[]}),[oe,ae]=s.useState("drop"),Q=s.useRef(null);s.useMemo(()=>{const f=Date.now();(t||[]).forEach((b,E)=>{!b.uid&&!Object.isFrozen(b)&&(b.uid=`__AUTO__${f}_${E}__`)})},[t]);const H=(f,b,E)=>{let h=(0,X.Z)(b),w=!1;x===1?h=h.slice(-1):x&&(w=h.length>x,h=h.slice(0,x)),(0,fe.flushSync)(()=>{re(h)});const N={file:f,fileList:h};E&&(N.event=E),(!w||h.some(_=>_.uid===f.uid))&&(0,fe.flushSync)(()=>{c==null||c(N)})},pe=(f,b)=>on(void 0,void 0,void 0,function*(){const{beforeUpload:E,transformFile:h}=e;let w=f;if(E){const N=yield E(f,b);if(N===!1)return!1;if(delete f[ce],N===ce)return Object.defineProperty(f,ce,{value:!0,configurable:!0}),!1;typeof N=="object"&&N&&(w=N)}return h&&(w=yield h(w)),w}),m=f=>{const b=f.filter(w=>!w.file[ce]);if(!b.length)return;const E=b.map(w=>we(w.file));let h=(0,X.Z)(I);E.forEach(w=>{h=$e(w,h)}),E.forEach((w,N)=>{let _=w;if(b[N].parsedFile)w.status="uploading";else{const{originFileObj:ie}=w;let ee;try{ee=new File([ie],ie.name,{type:ie.type})}catch(Dn){ee=new Blob([ie],{type:ie.type}),ee.name=ie.name,ee.lastModifiedDate=new Date,ee.lastModified=new Date().getTime()}ee.uid=w.uid,_=ee}H(_,h)})},O=(f,b,E)=>{try{typeof f=="string"&&(f=JSON.parse(f))}catch(N){}if(!Pe(b,I))return;const h=we(b);h.status="done",h.percent=100,h.response=f,h.xhr=E;const w=$e(h,I);H(h,w)},B=(f,b)=>{if(!Pe(b,I))return;const E=we(b);E.status="uploading",E.percent=f.percent;const h=$e(E,I);H(E,h,f)},U=(f,b,E)=>{if(!Pe(E,I))return;const h=we(E);h.error=f,h.response=b,h.status="error";const w=$e(h,I);H(h,w)},q=f=>{let b;Promise.resolve(typeof l=="function"?l(f):l).then(E=>{var h;if(E===!1)return;const w=Xt(f,I);w&&(b=Object.assign(Object.assign({},f),{status:"removed"}),I==null||I.forEach(N=>{const _=b.uid!==void 0?"uid":"name";N[_]===b[_]&&!Object.isFrozen(N)&&(N.status="removed")}),(h=Q.current)===null||h===void 0||h.abort(b),H(b,w))})},W=f=>{ae(f.type),f.type==="drop"&&(p==null||p(f))};s.useImperativeHandle(n,()=>({onBatchStart:m,onSuccess:O,onProgress:B,onError:U,fileList:I,upload:Q.current}));const{getPrefixCls:je,direction:me,upload:C}=s.useContext(De.E_),S=je("upload",D),K=Object.assign(Object.assign({onBatchStart:m,onError:U,onProgress:B,onSuccess:O},e),{data:Y,multiple:V,action:z,accept:ne,supportServerRender:de,prefixCls:S,disabled:A,beforeUpload:pe,onChange:void 0});delete K.className,delete K.style,(!F||A)&&delete K.id;const[Le,Je]=Dt(S),[dn]=(0,ft.Z)("Upload",gt.Z.Upload),{showRemoveIcon:un,showPreviewIcon:pn,showDownloadIcon:mn,removeIcon:fn,previewIcon:gn,downloadIcon:vn}=typeof a=="boolean"?{}:a,Te=(f,b)=>a?s.createElement(rn,{prefixCls:S,listType:i,items:I,previewFile:v,onPreview:o,onDownload:d,onRemove:q,showRemoveIcon:!A&&un,showPreviewIcon:pn,showDownloadIcon:mn,removeIcon:fn,previewIcon:gn,downloadIcon:vn,iconRender:P,locale:Object.assign(Object.assign({},dn),$),isImageUrl:Z,progress:M,appendAction:f,appendActionVisible:b,itemRender:j,disabled:A}):f,Ue=L()(`${S}-wrapper`,T,ue,Je,C==null?void 0:C.className,{[`${S}-rtl`]:me==="rtl",[`${S}-picture-card-wrapper`]:i==="picture-card",[`${S}-picture-circle-wrapper`]:i==="picture-circle"}),hn=Object.assign(Object.assign({},C==null?void 0:C.style),g);if(R==="drag"){const f=L()(Je,S,`${S}-drag`,{[`${S}-drag-uploading`]:I.some(b=>b.status==="uploading"),[`${S}-drag-hover`]:oe==="dragover",[`${S}-disabled`]:A,[`${S}-rtl`]:me==="rtl"});return Le(s.createElement("span",{className:Ue},s.createElement("div",{className:f,style:hn,onDrop:W,onDragOver:W,onDragLeave:W},s.createElement(ze,Object.assign({},K,{ref:Q,className:`${S}-btn`}),s.createElement("div",{className:`${S}-drag-container`},F))),Te()))}const yn=L()(S,`${S}-select`,{[`${S}-disabled`]:A}),Ye=(f=>s.createElement("div",{className:yn,style:f},s.createElement(ze,Object.assign({},K,{ref:Q}))))(F?void 0:{display:"none"});return Le(i==="picture-card"||i==="picture-circle"?s.createElement("span",{className:Ue},Te(Ye,!!F)):s.createElement("span",{className:Ue},Ye,Te()))};var Ke=s.forwardRef(an),ln=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,r=Object.getOwnPropertySymbols(e);l{var{style:t,height:r}=e,l=ln(e,["style","height"]);return s.createElement(Ke,Object.assign({ref:n},l,{type:"drag",style:Object.assign(Object.assign({},t),{height:r})}))});const Re=Ke;Re.Dragger=sn,Re.LIST_IGNORE=ce;var cn=Re},58142:function(te,le,u){"use strict";u.d(le,{Z:function(){return ge}});var s=u(87462),X=u(67294),fe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Ce=fe,L=u(93771),G=function(ve,he){return X.createElement(L.Z,(0,s.Z)({},ve,{ref:he,icon:Ce}))},ge=X.forwardRef(G)},49677:function(te){function le(u){if(u==null)throw new TypeError("Cannot destructure "+u)}te.exports=le,te.exports.__esModule=!0,te.exports.default=te.exports}}]); diff --git a/2542.1174e314.async.js b/2542.1174e314.async.js new file mode 100644 index 0000000000..b02d4e8d3f --- /dev/null +++ b/2542.1174e314.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[2542],{2542:function(o,a,i){i.r(a),i.d(a,{gherkin:function(){return l}});const l={name:"gherkin",startState:function(){return{lineNumber:0,tableHeaderLine:!1,allowFeature:!0,allowBackground:!1,allowScenario:!1,allowSteps:!1,allowPlaceholders:!1,allowMultilineArgument:!1,inMultilineString:!1,inMultilineTable:!1,inKeywordLine:!1}},token:function(n,e){if(n.sol()&&(e.lineNumber++,e.inKeywordLine=!1,e.inMultilineTable&&(e.tableHeaderLine=!1,n.match(/\s*\|/,!1)||(e.allowMultilineArgument=!1,e.inMultilineTable=!1))),n.eatSpace(),e.allowMultilineArgument){if(e.inMultilineString)return n.match('"""')?(e.inMultilineString=!1,e.allowMultilineArgument=!1):n.match(/.*/),"string";if(e.inMultilineTable)return n.match(/\|\s*/)?"bracket":(n.match(/[^\|]*/),e.tableHeaderLine?"header":"string");if(n.match('"""'))return e.inMultilineString=!0,"string";if(n.match("|"))return e.inMultilineTable=!0,e.tableHeaderLine=!0,"bracket"}return n.match(/#.*/)?"comment":!e.inKeywordLine&&n.match(/@\S+/)?"tag":!e.inKeywordLine&&e.allowFeature&&n.match(/(機能|功能|フィーチャ|기능|โครงหลัก|ความสามารถ|ความต้องการทางธุรกิจ|ಹೆಚ್ಚಳ|గుణము|ਮੁਹਾਂਦਰਾ|ਨਕਸ਼ ਨੁਹਾਰ|ਖਾਸੀਅਤ|रूप लेख|وِیژگی|خاصية|תכונה|Функціонал|Функция|Функционалност|Функционал|Үзенчәлеклелек|Свойство|Особина|Мөмкинлек|Могућност|Λειτουργία|Δυνατότητα|Właściwość|Vlastnosť|Trajto|Tính năng|Savybė|Pretty much|Požiadavka|Požadavek|Potrzeba biznesowa|Özellik|Osobina|Ominaisuus|Omadus|OH HAI|Mogućnost|Mogucnost|Jellemző|Hwæt|Hwaet|Funzionalità|Funktionalitéit|Funktionalität|Funkcja|Funkcionalnost|Funkcionalitāte|Funkcia|Fungsi|Functionaliteit|Funcționalitate|Funcţionalitate|Functionalitate|Funcionalitat|Funcionalidade|Fonctionnalité|Fitur|Fīča|Feature|Eiginleiki|Egenskap|Egenskab|Característica|Caracteristica|Business Need|Aspekt|Arwedd|Ahoy matey!|Ability):/)?(e.allowScenario=!0,e.allowBackground=!0,e.allowPlaceholders=!1,e.allowSteps=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowBackground&&n.match(/(背景|배경|แนวคิด|ಹಿನ್ನೆಲೆ|నేపథ్యం|ਪਿਛੋਕੜ|पृष्ठभूमि|زمینه|الخلفية|רקע|Тарих|Предыстория|Предистория|Позадина|Передумова|Основа|Контекст|Кереш|Υπόβαθρο|Założenia|Yo\-ho\-ho|Tausta|Taust|Situācija|Rerefons|Pozadina|Pozadie|Pozadí|Osnova|Latar Belakang|Kontext|Konteksts|Kontekstas|Kontekst|Háttér|Hannergrond|Grundlage|Geçmiş|Fundo|Fono|First off|Dis is what went down|Dasar|Contexto|Contexte|Context|Contesto|Cenário de Fundo|Cenario de Fundo|Cefndir|Bối cảnh|Bakgrunnur|Bakgrunn|Bakgrund|Baggrund|Background|B4|Antecedents|Antecedentes|Ær|Aer|Achtergrond):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowScenario&&n.match(/(場景大綱|场景大纲|劇本大綱|剧本大纲|テンプレ|シナリオテンプレート|シナリオテンプレ|シナリオアウトライン|시나리오 개요|สรุปเหตุการณ์|โครงสร้างของเหตุการณ์|ವಿವರಣೆ|కథనం|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਟਕਥਾ ਢਾਂਚਾ|परिदृश्य रूपरेखा|سيناريو مخطط|الگوی سناریو|תבנית תרחיש|Сценарийның төзелеше|Сценарий структураси|Структура сценарію|Структура сценария|Структура сценарија|Скица|Рамка на сценарий|Концепт|Περιγραφή Σεναρίου|Wharrimean is|Template Situai|Template Senario|Template Keadaan|Tapausaihio|Szenariogrundriss|Szablon scenariusza|Swa hwær swa|Swa hwaer swa|Struktura scenarija|Structură scenariu|Structura scenariu|Skica|Skenario konsep|Shiver me timbers|Senaryo taslağı|Schema dello scenario|Scenariomall|Scenariomal|Scenario Template|Scenario Outline|Scenario Amlinellol|Scenārijs pēc parauga|Scenarijaus šablonas|Reckon it's like|Raamstsenaarium|Plang vum Szenario|Plan du Scénario|Plan du scénario|Osnova scénáře|Osnova Scenára|Náčrt Scenáru|Náčrt Scénáře|Náčrt Scenára|MISHUN SRSLY|Menggariskan Senario|Lýsing Dæma|Lýsing Atburðarásar|Konturo de la scenaro|Koncept|Khung tình huống|Khung kịch bản|Forgatókönyv vázlat|Esquema do Cenário|Esquema do Cenario|Esquema del escenario|Esquema de l'escenari|Esbozo do escenario|Delineação do Cenário|Delineacao do Cenario|All y'all|Abstrakt Scenario|Abstract Scenario):/)?(e.allowPlaceholders=!0,e.allowSteps=!0,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):e.allowScenario&&n.match(/(例子|例|サンプル|예|ชุดของเหตุการณ์|ชุดของตัวอย่าง|ಉದಾಹರಣೆಗಳು|ఉదాహరణలు|ਉਦਾਹਰਨਾਂ|उदाहरण|نمونه ها|امثلة|דוגמאות|Үрнәкләр|Сценарији|Примеры|Примери|Приклади|Мисоллар|Мисаллар|Σενάρια|Παραδείγματα|You'll wanna|Voorbeelden|Variantai|Tapaukset|Se þe|Se the|Se ðe|Scenarios|Scenariji|Scenarijai|Przykłady|Primjeri|Primeri|Příklady|Príklady|Piemēri|Példák|Pavyzdžiai|Paraugs|Örnekler|Juhtumid|Exemplos|Exemples|Exemple|Exempel|EXAMPLZ|Examples|Esempi|Enghreifftiau|Ekzemploj|Eksempler|Ejemplos|Dữ liệu|Dead men tell no tales|Dæmi|Contoh|Cenários|Cenarios|Beispiller|Beispiele|Atburðarásir):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!0,"keyword"):!e.inKeywordLine&&e.allowScenario&&n.match(/(場景|场景|劇本|剧本|シナリオ|시나리오|เหตุการณ์|ಕಥಾಸಾರಾಂಶ|సన్నివేశం|ਪਟਕਥਾ|परिदृश्य|سيناريو|سناریو|תרחיש|Сценарій|Сценарио|Сценарий|Пример|Σενάριο|Tình huống|The thing of it is|Tapaus|Szenario|Swa|Stsenaarium|Skenario|Situai|Senaryo|Senario|Scenaro|Scenariusz|Scenariu|Scénario|Scenario|Scenarijus|Scenārijs|Scenarij|Scenarie|Scénář|Scenár|Primer|MISHUN|Kịch bản|Keadaan|Heave to|Forgatókönyv|Escenario|Escenari|Cenário|Cenario|Awww, look mate|Atburðarás):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowSteps&&n.match(/(那麼|那么|而且|當|当|并且|同時|同时|前提|假设|假設|假定|假如|但是|但し|並且|もし|ならば|ただし|しかし|かつ|하지만|조건|먼저|만일|만약|단|그리고|그러면|และ |เมื่อ |แต่ |ดังนั้น |กำหนดให้ |ಸ್ಥಿತಿಯನ್ನು |ಮತ್ತು |ನೀಡಿದ |ನಂತರ |ಆದರೆ |మరియు |చెప్పబడినది |కాని |ఈ పరిస్థితిలో |అప్పుడు |ਪਰ |ਤਦ |ਜੇਕਰ |ਜਿਵੇਂ ਕਿ |ਜਦੋਂ |ਅਤੇ |यदि |परन्तु |पर |तब |तदा |तथा |जब |चूंकि |किन्तु |कदा |और |अगर |و |هنگامی |متى |لكن |عندما |ثم |بفرض |با فرض |اما |اذاً |آنگاه |כאשר |וגם |בהינתן |אזי |אז |אבל |Якщо |Һәм |Унда |Тоді |Тогда |То |Также |Та |Пусть |Припустимо, що |Припустимо |Онда |Но |Нехай |Нәтиҗәдә |Лекин |Ләкин |Коли |Когда |Когато |Када |Кад |К тому же |І |И |Задато |Задати |Задате |Если |Допустим |Дано |Дадено |Вә |Ва |Бирок |Әмма |Әйтик |Әгәр |Аммо |Али |Але |Агар |А також |А |Τότε |Όταν |Και |Δεδομένου |Αλλά |Þurh |Þegar |Þa þe |Þá |Þa |Zatati |Zakładając |Zadato |Zadate |Zadano |Zadani |Zadan |Za předpokladu |Za predpokladu |Youse know when youse got |Youse know like when |Yna |Yeah nah |Y'know |Y |Wun |Wtedy |When y'all |When |Wenn |WEN |wann |Ve |Và |Und |Un |ugeholl |Too right |Thurh |Thì |Then y'all |Then |Tha the |Tha |Tetapi |Tapi |Tak |Tada |Tad |Stel |Soit |Siis |Și |Şi |Si |Sed |Se |Så |Quando |Quand |Quan |Pryd |Potom |Pokud |Pokiaľ |Però |Pero |Pak |Oraz |Onda |Ond |Oletetaan |Og |Och |O zaman |Niin |Nhưng |När |Når |Mutta |Men |Mas |Maka |Majd |Mając |Mais |Maar |mä |Ma |Lorsque |Lorsqu'|Logo |Let go and haul |Kun |Kuid |Kui |Kiedy |Khi |Ketika |Kemudian |Keď |Když |Kaj |Kai |Kada |Kad |Jeżeli |Jeśli |Ja |It's just unbelievable |Ir |I CAN HAZ |I |Ha |Givun |Givet |Given y'all |Given |Gitt |Gegeven |Gegeben seien |Gegeben sei |Gdy |Gangway! |Fakat |Étant donnés |Etant donnés |Étant données |Etant données |Étant donnée |Etant donnée |Étant donné |Etant donné |Et |És |Entonces |Entón |Então |Entao |En |Eğer ki |Ef |Eeldades |E |Ðurh |Duota |Dun |Donitaĵo |Donat |Donada |Do |Diyelim ki |Diberi |Dengan |Den youse gotta |DEN |De |Dato |Dați fiind |Daţi fiind |Dati fiind |Dati |Date fiind |Date |Data |Dat fiind |Dar |Dann |dann |Dan |Dados |Dado |Dadas |Dada |Ða ðe |Ða |Cuando |Cho |Cando |Când |Cand |Cal |But y'all |But at the end of the day I reckon |BUT |But |Buh |Blimey! |Biết |Bet |Bagi |Aye |awer |Avast! |Atunci |Atesa |Atès |Apabila |Anrhegedig a |Angenommen |And y'all |And |AN |An |an |Amikor |Amennyiben |Ama |Als |Alors |Allora |Ali |Aleshores |Ale |Akkor |Ak |Adott |Ac |Aber |A zároveň |A tiež |A taktiež |A také |A |a |7 |\* )/)?(e.inStep=!0,e.allowPlaceholders=!0,e.allowMultilineArgument=!0,e.inKeywordLine=!0,"keyword"):n.match(/"[^"]*"?/)?"string":e.allowPlaceholders&&n.match(/<[^>]*>?/)?"variable":(n.next(),n.eatWhile(/[^@"<#]/),null)}}}}]); diff --git a/2554.979d991d.async.js b/2554.979d991d.async.js new file mode 100644 index 0000000000..5f2781ae09 --- /dev/null +++ b/2554.979d991d.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[2554],{12554:function(sO,h,d){d.r(h),d.d(h,{sass:function(){return XO},sassCompletionSource:function(){return G},sassLanguage:function(){return s}});var R=d(53105),$=d(35524);const Z=148,f=149,q=150,u=1,w=2,U=3,b=151,C=152,k=4,E=5,V=153,v=154,j=155,m=156,_=6,Y=7,N=8,J=9,P=0,o=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],F=58,D=40,y=95,I=91,r=45,L=46,p=35,K=37,x=123,A=125,c=47,X=42,t=10,g=61,B=43,M=38;function S(O){return O>=65&&O<=90||O>=97&&O<=122||O>=161}function W(O){return O>=48&&O<=57}function T(O){let e;return O.next==c&&((e=O.peek(1))==c||e==X)}const H=new R.Jq((O,e)=>{if(e.dialectEnabled(P)){let a;if(O.next<0&&e.canShift(j))O.acceptToken(j);else if(((a=O.peek(-1))==t||a<0)&&e.canShift(v)){let Q=0;for(;O.next!=t&&o.includes(O.next);)O.advance(),Q++;O.next==t||T(O)?O.acceptToken(v,-Q):Q&&O.acceptToken(m)}else if(O.next==t)O.acceptToken(V,1);else if(o.includes(O.next)){for(O.advance();O.next!=t&&o.includes(O.next);)O.advance();O.acceptToken(m)}}else{let a=0;for(;o.includes(O.next);)O.advance(),a++;a&&O.acceptToken(m)}},{contextual:!0}),OO=new R.Jq((O,e)=>{if(T(O)){if(O.advance(),e.dialectEnabled(P)){let a=-1;for(let Q=1;;Q++){let n=O.peek(-Q-1);if(n==t||n<0){a=Q+1;break}else if(!o.includes(n))break}if(a>-1){let Q=O.next==X,n=0;for(O.advance();O.next>=0;)if(O.next==t){O.advance();let i=0;for(;O.next!=t&&o.includes(O.next);)i++,O.advance();if(i=0;)O.advance();O.acceptToken(_)}else{for(O.advance();O.next>=0;){let{next:a}=O;if(O.advance(),a==X&&O.next==c){O.advance();break}}O.acceptToken(Y)}}}),$O=new R.Jq((O,e)=>{(O.next==B||O.next==g)&&e.dialectEnabled(P)&&O.acceptToken(O.next==g?N:J,1)}),eO=new R.Jq((O,e)=>{if(!e.dialectEnabled(P))return;let a=e.context.depth;if(O.next<0&&a){O.acceptToken(f);return}if(O.peek(-1)==t){let n=0;for(;O.next!=t&&o.includes(O.next);)O.advance(),n++;n!=a&&O.next!=t&&!T(O)&&(n{for(let a=!1,Q=0,n=0;;n++){let{next:i}=O;if(S(i)||i==r||i==y||a&&W(i))!a&&(i!=r||n>0)&&(a=!0),Q===n&&i==r&&Q++,O.advance();else if(i==p&&O.peek(1)==x){O.acceptToken(E,2);break}else{a&&O.acceptToken(i==D?b:Q==2&&e.canShift(k)?k:C);break}}}),QO=new R.Jq(O=>{if(O.next==A){for(O.advance();S(O.next)||O.next==r||O.next==y||W(O.next);)O.advance();O.next==p&&O.peek(1)==x?O.acceptToken(w,2):O.acceptToken(u)}}),nO=new R.Jq(O=>{if(o.includes(O.peek(-1))){let{next:e}=O;(S(e)||e==y||e==p||e==L||e==I||e==F||e==r||e==M)&&O.acceptToken(q)}}),tO=new R.Jq(O=>{if(!o.includes(O.peek(-1))){let{next:e}=O;if(e==K&&(O.advance(),O.acceptToken(U)),S(e)){do O.advance();while(S(O.next));O.acceptToken(U)}}});function z(O,e){this.parent=O,this.depth=e,this.hash=(O?O.hash+O.hash<<8:0)+e+(e<<4)}const iO=new z(null,0),RO=new R.IK({start:iO,shift(O,e,a,Q){return e==Z?new z(O,a.pos-Q.pos):e==f?O.parent:O},hash(O){return O.hash}}),oO=(0,$.Gv)({"AtKeyword import charset namespace keyframes media supports include mixin use forward extend at-root":$.pJ.definitionKeyword,"Keyword selector":$.pJ.keyword,ControlKeyword:$.pJ.controlKeyword,NamespaceName:$.pJ.namespace,KeyframeName:$.pJ.labelName,TagName:$.pJ.tagName,"ClassName Suffix":$.pJ.className,PseudoClassName:$.pJ.constant($.pJ.className),IdName:$.pJ.labelName,"FeatureName PropertyName":$.pJ.propertyName,AttributeName:$.pJ.attributeName,NumberLiteral:$.pJ.number,KeywordQuery:$.pJ.keyword,UnaryQueryOp:$.pJ.operatorKeyword,"CallTag ValueName":$.pJ.atom,VariableName:$.pJ.variableName,SassVariableName:$.pJ.special($.pJ.variableName),Callee:$.pJ.operatorKeyword,Unit:$.pJ.unit,"UniversalSelector NestingSelector IndentedMixin IndentedInclude":$.pJ.definitionOperator,MatchOp:$.pJ.compareOperator,"ChildOp SiblingOp, LogicOp":$.pJ.logicOperator,BinOp:$.pJ.arithmeticOperator,"Important Global Default":$.pJ.modifier,Comment:$.pJ.blockComment,LineComment:$.pJ.lineComment,ColorLiteral:$.pJ.color,"ParenthesizedContent StringLiteral":$.pJ.string,"InterpolationStart InterpolationContinue InterpolationEnd":$.pJ.meta,': "..."':$.pJ.punctuation,"PseudoOp #":$.pJ.derefOperator,"; ,":$.pJ.separator,"( )":$.pJ.paren,"[ ]":$.pJ.squareBracket,"{ }":$.pJ.brace}),lO={__proto__:null,not:62,only:62,using:173,with:183,without:183,hide:197,show:197,from:220,to:222,if:235,through:241,in:247},dO={__proto__:null,url:80,"url-prefix":80,domain:80,regexp:80,lang:94,"nth-child":94,"nth-last-child":94,"nth-of-type":94,"nth-last-of-type":94,dir:94,"host-context":94,selector:166},rO={__proto__:null,"@import":150,"@include":170,"@mixin":176,"@function":176,"@use":180,"@extend":186,"@at-root":190,"@forward":194,"@media":200,"@charset":204,"@namespace":208,"@keyframes":214,"@supports":226,"@if":230,"@else":232,"@for":238,"@each":244,"@while":250,"@debug":254,"@warn":254,"@error":254,"@return":254},cO=R.WQ.deserialize({version:14,states:"I^Q`Q+tOOO#cQ+tOOP#jOpOOO#oQ(pO'#CjOOQ#U'#Ci'#CiO%[Q)QO'#FrO%oQ.jO'#CnO&gQ#dO'#DWO'^Q(pO'#CgO'eQ)OO'#DYO'pQ#dO'#DaO'uQ#dO'#DeOOQ#U'#Fr'#FrO'zQ(pO'#FrO(RQ(nO'#DpO%oQ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Rz!c$R!c!}J|!}#T$R#T#oJ|#o;'S$R;'S;=`$d<%lO$RXKT[!lPyWOy$Rz}$R}!OJ|!O!Q$R!Q![J|![!c$R!c!}J|!}#T$R#T#oJ|#o;'S$R;'S;=`$d<%lO$RXLOS!YPOy$Rz;'S$R;'S;=`$d<%lO$R^LaS!WUOy$Rz;'S$R;'S;=`$d<%lO$R[LpUOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RZMVUOy$Rz#b$R#b#cMi#c;'S$R;'S;=`$d<%lO$RZMnUyWOy$Rz#W$R#W#XNQ#X;'S$R;'S;=`$d<%lO$RZNXSmRyWOy$Rz;'S$R;'S;=`$d<%lO$RZNhUOy$Rz#f$R#f#gNQ#g;'S$R;'S;=`$d<%lO$RZ! PS!cROy$Rz;'S$R;'S;=`$d<%lO$RZ! bS!jROy$Rz;'S$R;'S;=`$d<%lO$R]! sU!aPOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RW!!YP;=`<%l#r",tokenizers:[eO,nO,QO,tO,aO,H,OO,$O,0,1,2,3],topRules:{StyleSheet:[0,10],Styles:[1,129]},dialects:{indented:0},specialized:[{term:152,get:O=>lO[O]||-1},{term:151,get:O=>dO[O]||-1},{term:74,get:O=>rO[O]||-1}],tokenPrec:2821});var l=d(59119),SO=d(48120);const s=l.qp.define({name:"sass",parser:cO.configure({props:[l.x0.add({Block:l.Dv,Comment(O,e){return{from:O.from+2,to:e.sliceDoc(O.to-2,O.to)=="*/"?O.to-2:O.to}}}),l.uj.add({Declaration:(0,l.tC)()})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"$-"}}),PO=s.configure({dialect:"indented",props:[l.uj.add({"Block RuleSet":O=>O.baseIndent+O.unit}),l.x0.add({Block:O=>({from:O.from,to:O.to})})]}),G=(0,SO.defineCSSCompletionSource)(O=>O.name=="VariableName"||O.name=="SassVariableName");function XO(O){return new l.ri(O!=null&&O.indented?PO:s,s.data.of({autocomplete:G}))}}}]); diff --git a/2602.596d9708.async.js b/2602.596d9708.async.js new file mode 100644 index 0000000000..eaa3700a17 --- /dev/null +++ b/2602.596d9708.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[2602],{62602:function($,w,y){y.r(w),y.d(w,{crystal:function(){return L}});function f(n,e){return new RegExp((e?"":"^")+"(?:"+n.join("|")+")"+(e?"$":"\\b"))}function o(n,e,r){return r.tokenize.push(n),n(e,r)}var k=/^(?:[-+/%|&^]|\*\*?|[<>]{2})/,F=/^(?:[=!]~|===|<=>|[<>=!]=?|[|&]{2}|~)/,g=/^(?:\[\][?=]?)/,E=/^(?:\.(?:\.{2})?|->|[?:])/,a=/^[a-z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,d=/^[A-Z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,S=f(["abstract","alias","as","asm","begin","break","case","class","def","do","else","elsif","end","ensure","enum","extend","for","fun","if","include","instance_sizeof","lib","macro","module","next","of","out","pointerof","private","protected","rescue","return","require","select","sizeof","struct","super","then","type","typeof","uninitialized","union","unless","until","when","while","with","yield","__DIR__","__END_LINE__","__FILE__","__LINE__"]),T=f(["true","false","nil","self"]),A=["def","fun","macro","class","module","struct","lib","enum","union","do","for"],O=f(A),K=["if","unless","case","while","until","begin","then"],D=f(K),b=["end","else","elsif","rescue","ensure"],N=f(b),x=["\\)","\\}","\\]"],Z=new RegExp("^(?:"+x.join("|")+")$"),I={def:s,fun:s,macro:P,class:l,module:l,struct:l,lib:l,enum:l,union:l},v={"[":"]","{":"}","(":")","<":">"};function z(n,e){if(n.eatSpace())return null;if(e.lastToken!="\\"&&n.match("{%",!1))return o(c("%","%"),n,e);if(e.lastToken!="\\"&&n.match("{{",!1))return o(c("{","}"),n,e);if(n.peek()=="#")return n.skipToEnd(),"comment";var r;if(n.match(a))return n.eat(/[?!]/),r=n.current(),n.eat(":")?"atom":e.lastToken=="."?"property":S.test(r)?(O.test(r)?!(r=="fun"&&e.blocks.indexOf("lib")>=0)&&!(r=="def"&&e.lastToken=="abstract")&&(e.blocks.push(r),e.currentIndent+=1):(e.lastStyle=="operator"||!e.lastStyle)&&D.test(r)?(e.blocks.push(r),e.currentIndent+=1):r=="end"&&(e.blocks.pop(),e.currentIndent-=1),I.hasOwnProperty(r)&&e.tokenize.push(I[r]),"keyword"):T.test(r)?"atom":"variable";if(n.eat("@"))return n.peek()=="["?o(h("[","]","meta"),n,e):(n.eat("@"),n.match(a)||n.match(d),"propertyName");if(n.match(d))return"tag";if(n.eat(":"))return n.eat('"')?o(_('"',"atom",!1),n,e):n.match(a)||n.match(d)||n.match(k)||n.match(F)||n.match(g)?"atom":(n.eat(":"),"operator");if(n.eat('"'))return o(_('"',"string",!0),n,e);if(n.peek()=="%"){var t="string",u=!0,i;if(n.match("%r"))t="string.special",i=n.next();else if(n.match("%w"))u=!1,i=n.next();else if(n.match("%q"))u=!1,i=n.next();else if(i=n.match(/^%([^\w\s=])/))i=i[1];else{if(n.match(/^%[a-zA-Z_\u009F-\uFFFF][\w\u009F-\uFFFF]*/))return"meta";if(n.eat("%"))return"operator"}return v.hasOwnProperty(i)&&(i=v[i]),o(_(i,t,u),n,e)}return(r=n.match(/^<<-('?)([A-Z]\w*)\1/))?o(R(r[2],!r[1]),n,e):n.eat("'")?(n.match(/^(?:[^']|\\(?:[befnrtv0'"]|[0-7]{3}|u(?:[0-9a-fA-F]{4}|\{[0-9a-fA-F]{1,6}\})))/),n.eat("'"),"atom"):n.eat("0")?(n.eat("x")?n.match(/^[0-9a-fA-F_]+/):n.eat("o")?n.match(/^[0-7_]+/):n.eat("b")&&n.match(/^[01_]+/),"number"):n.eat(/^\d/)?(n.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+-]?\d+)?/),"number"):n.match(k)?(n.eat("="),"operator"):n.match(F)||n.match(E)?"operator":(r=n.match(/[({[]/,!1))?(r=r[0],o(h(r,v[r],null),n,e)):n.eat("\\")?(n.next(),"meta"):(n.next(),null)}function h(n,e,r,t){return function(u,i){if(!t&&u.match(n))return i.tokenize[i.tokenize.length-1]=h(n,e,r,!0),i.currentIndent+=1,r;var p=z(u,i);return u.current()===e&&(i.tokenize.pop(),i.currentIndent-=1,p=r),p}}function c(n,e,r){return function(t,u){return!r&&t.match("{"+n)?(u.currentIndent+=1,u.tokenize[u.tokenize.length-1]=c(n,e,!0),"meta"):t.match(e+"}")?(u.currentIndent-=1,u.tokenize.pop(),"meta"):z(t,u)}}function P(n,e){if(n.eatSpace())return null;var r;if(r=n.match(a)){if(r=="def")return"keyword";n.eat(/[?!]/)}return e.tokenize.pop(),"def"}function s(n,e){return n.eatSpace()?null:(n.match(a)?n.eat(/[!?]/):n.match(k)||n.match(F)||n.match(g),e.tokenize.pop(),"def")}function l(n,e){return n.eatSpace()?null:(n.match(d),e.tokenize.pop(),"def")}function _(n,e,r){return function(t,u){for(var i=!1;t.peek();)if(i)t.next(),i=!1;else{if(t.match("{%",!1))return u.tokenize.push(c("%","%")),e;if(t.match("{{",!1))return u.tokenize.push(c("{","}")),e;if(r&&t.match("#{",!1))return u.tokenize.push(h("#{","}","meta")),e;var p=t.next();if(p==n)return u.tokenize.pop(),e;i=r&&p=="\\"}return e}}function R(n,e){return function(r,t){if(r.sol()&&(r.eatSpace(),r.match(n)))return t.tokenize.pop(),"string";for(var u=!1;r.peek();)if(u)r.next(),u=!1;else{if(r.match("{%",!1))return t.tokenize.push(c("%","%")),"string";if(r.match("{{",!1))return t.tokenize.push(c("{","}")),"string";if(e&&r.match("#{",!1))return t.tokenize.push(h("#{","}","meta")),"string";u=e&&r.next()=="\\"}return"string"}}const L={name:"crystal",startState:function(){return{tokenize:[z],currentIndent:0,lastToken:null,lastStyle:null,blocks:[]}},token:function(n,e){var r=e.tokenize[e.tokenize.length-1](n,e),t=n.current();return r&&r!="comment"&&(e.lastToken=t,e.lastStyle=r),r},indent:function(n,e,r){return e=e.replace(/^\s*(?:\{%)?\s*|\s*(?:%\})?\s*$/g,""),N.test(e)||Z.test(e)?r.unit*(n.currentIndent-1):r.unit*n.currentIndent},languageData:{indentOnInput:f(x.concat(b),!0),commentTokens:{line:"#"}}}}}]); diff --git a/2675.dc6973c1.async.js b/2675.dc6973c1.async.js new file mode 100644 index 0000000000..054da5883f --- /dev/null +++ b/2675.dc6973c1.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[2675],{2675:function(c,i,r){r.r(i),r.d(i,{brainfuck:function(){return u}});var o="><+-.,[]".split("");const u={name:"brainfuck",startState:function(){return{commentLine:!1,left:0,right:0,commentLoop:!1}},token:function(f,n){if(f.eatSpace())return null;f.sol()&&(n.commentLine=!1);var e=f.next().toString();if(o.indexOf(e)!==-1){if(n.commentLine===!0)return f.eol()&&(n.commentLine=!1),"comment";if(e==="]"||e==="[")return e==="["?n.left++:n.right++,"bracket";if(e==="+"||e==="-")return"keyword";if(e==="<"||e===">")return"atom";if(e==="."||e===",")return"def"}else return n.commentLine=!0,f.eol()&&(n.commentLine=!1),"comment";f.eol()&&(n.commentLine=!1)}}}}]); diff --git a/2877.555f02f2.async.js b/2877.555f02f2.async.js new file mode 100644 index 0000000000..decac20d4f --- /dev/null +++ b/2877.555f02f2.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[2877],{82877:function(o,r,l){l.r(r),l.d(r,{yaml:function(){return c}});var u=["true","false","on","off","yes","no"],a=new RegExp("\\b(("+u.join(")|(")+"))$","i");const c={name:"yaml",token:function(n,i){var e=n.peek(),f=i.escaped;if(i.escaped=!1,e=="#"&&(n.pos==0||/\s/.test(n.string.charAt(n.pos-1))))return n.skipToEnd(),"comment";if(n.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(i.literal&&n.indentation()>i.keyCol)return n.skipToEnd(),"string";if(i.literal&&(i.literal=!1),n.sol()){if(i.keyCol=0,i.pair=!1,i.pairStart=!1,n.match("---")||n.match("..."))return"def";if(n.match(/^\s*-\s+/))return"meta"}if(n.match(/^(\{|\}|\[|\])/))return e=="{"?i.inlinePairs++:e=="}"?i.inlinePairs--:e=="["?i.inlineList++:i.inlineList--,"meta";if(i.inlineList>0&&!f&&e==",")return n.next(),"meta";if(i.inlinePairs>0&&!f&&e==",")return i.keyCol=0,i.pair=!1,i.pairStart=!1,n.next(),"meta";if(i.pairStart){if(n.match(/^\s*(\||\>)\s*/))return i.literal=!0,"meta";if(n.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable";if(i.inlinePairs==0&&n.match(/^\s*-?[0-9\.\,]+\s?$/)||i.inlinePairs>0&&n.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(n.match(a))return"keyword"}return!i.pair&&n.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(i.pair=!0,i.keyCol=n.indentation(),"atom"):i.pair&&n.match(/^:\s*/)?(i.pairStart=!0,"meta"):(i.pairStart=!1,i.escaped=e=="\\",n.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}},languageData:{commentTokens:{line:"#"}}}}}]); diff --git a/3014.995570cc.async.js b/3014.995570cc.async.js new file mode 100644 index 0000000000..b817e683f1 --- /dev/null +++ b/3014.995570cc.async.js @@ -0,0 +1,85 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[3014],{38780:function(Xt,tt){function c(){const A=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let H=1;H{const J=D[He];J!==void 0&&(A[He]=J)})}return A}tt.Z=c},66367:function(Xt,tt,c){c.d(tt,{F:function(){return A},Z:function(){return H}});function A(D){return D!=null&&D===D.window}function H(D,He){var J,k;if(typeof window=="undefined")return 0;const n=He?"scrollTop":"scrollLeft";let ue=0;return A(D)?ue=D[He?"pageYOffset":"pageXOffset"]:D instanceof Document?ue=D.documentElement[n]:(D instanceof HTMLElement||D)&&(ue=D[n]),D&&!A(D)&&typeof ue!="number"&&(ue=(k=((J=D.ownerDocument)!==null&&J!==void 0?J:D).documentElement)===null||k===void 0?void 0:k[n]),ue}},58375:function(Xt,tt,c){c.d(tt,{Z:function(){return He}});var A=c(75164);function H(J,k,n,ue){const Ae=n-k;return J/=ue/2,J<1?Ae/2*J*J*J+k:Ae/2*((J-=2)*J*J+2)+k}var D=c(66367);function He(J){let k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:n=()=>window,callback:ue,duration:Ae=450}=k,be=n(),de=(0,D.Z)(be,!0),Ye=Date.now(),me=()=>{const K=Date.now()-Ye,E=H(K>Ae?Ae:K,de,J,Ae);(0,D.F)(be)?be.scrollTo(window.pageXOffset,E):be instanceof Document||be.constructor.name==="HTMLDocument"?be.documentElement.scrollTop=E:be.scrollTop=E,K{var P;const{prefixCls:C,className:d,rootClassName:ve,children:O,indeterminate:ze=!1,style:S,onMouseEnter:$,onMouseLeave:X,skipGroup:fe=!1,disabled:Ne}=B,je=me(B,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Ve,direction:ct,checkbox:ut}=A.useContext(n.E_),Re=A.useContext(de),{isFormItemInput:ke}=A.useContext(Ae.aM),et=A.useContext(ue.Z),Xe=(P=(Re==null?void 0:Re.disabled)||Ne)!==null&&P!==void 0?P:et,U=A.useRef(je.value);A.useEffect(()=>{Re==null||Re.registerValue(je.value)},[]),A.useEffect(()=>{if(!fe)return je.value!==U.current&&(Re==null||Re.cancelValue(U.current),Re==null||Re.registerValue(je.value),U.current=je.value),()=>Re==null?void 0:Re.cancelValue(je.value)},[je.value]);const Se=Ve("checkbox",C),[he,ot]=(0,Ye.ZP)(Se),it=Object.assign({},je);Re&&!fe&&(it.onChange=function(){je.onChange&&je.onChange.apply(je,arguments),Re.toggleOption&&Re.toggleOption({label:O,value:je.value})},it.name=Re.name,it.checked=Re.value.includes(je.value));const st=D()(`${Se}-wrapper`,{[`${Se}-rtl`]:ct==="rtl",[`${Se}-wrapper-checked`]:it.checked,[`${Se}-wrapper-disabled`]:Xe,[`${Se}-wrapper-in-form-item`]:ke},ut==null?void 0:ut.className,d,ve,ot),Rt=D()({[`${Se}-indeterminate`]:ze},k.A,ot),V=ze?"mixed":void 0;return he(A.createElement(J.Z,{component:"Checkbox",disabled:Xe},A.createElement("label",{className:st,style:Object.assign(Object.assign({},ut==null?void 0:ut.style),S),onMouseEnter:$,onMouseLeave:X},A.createElement(He.Z,Object.assign({"aria-checked":V},it,{prefixCls:Se,className:Rt,disabled:Xe,ref:pe})),O!==void 0&&A.createElement("span",null,O))))};var E=A.forwardRef(j),qe=c(74902),Te=c(98423),ge=function(B,pe){var P={};for(var C in B)Object.prototype.hasOwnProperty.call(B,C)&&pe.indexOf(C)<0&&(P[C]=B[C]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,C=Object.getOwnPropertySymbols(B);d{const{defaultValue:P,children:C,options:d=[],prefixCls:ve,className:O,rootClassName:ze,style:S,onChange:$}=B,X=ge(B,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:fe,direction:Ne}=A.useContext(n.E_),[je,Ve]=A.useState(X.value||P||[]),[ct,ut]=A.useState([]);A.useEffect(()=>{"value"in X&&Ve(X.value||[])},[X.value]);const Re=A.useMemo(()=>d.map(se=>typeof se=="string"||typeof se=="number"?{label:se,value:se}:se),[d]),ke=se=>{ut(De=>De.filter(i=>i!==se))},et=se=>{ut(De=>[].concat((0,qe.Z)(De),[se]))},Xe=se=>{const De=je.indexOf(se.value),i=(0,qe.Z)(je);De===-1?i.push(se.value):i.splice(De,1),"value"in X||Ve(i),$==null||$(i.filter(Q=>ct.includes(Q)).sort((Q,We)=>{const Ze=Re.findIndex(w=>w.value===Q),h=Re.findIndex(w=>w.value===We);return Ze-h}))},U=fe("checkbox",ve),Se=`${U}-group`,[he,ot]=(0,Ye.ZP)(U),it=(0,Te.Z)(X,["value","disabled"]),st=d.length?Re.map(se=>A.createElement(E,{prefixCls:U,key:se.value.toString(),disabled:"disabled"in se?se.disabled:X.disabled,value:se.value,checked:je.includes(se.value),onChange:se.onChange,className:`${Se}-item`,style:se.style,title:se.title},se.label)):C,Rt={toggleOption:Xe,value:je,disabled:X.disabled,name:X.name,registerValue:et,cancelValue:ke},V=D()(Se,{[`${Se}-rtl`]:Ne==="rtl"},O,ze,ot);return he(A.createElement("div",Object.assign({className:V,style:S},it,{ref:pe}),A.createElement(de.Provider,{value:Rt},st)))},N=A.forwardRef(Ie);var L=A.memo(N);const W=E;W.Group=L,W.__ANT_CHECKBOX=!0;var ee=W},63185:function(Xt,tt,c){c.d(tt,{C2:function(){return J}});var A=c(14747),H=c(45503),D=c(67968);const He=k=>{const{checkboxCls:n}=k,ue=`${n}-wrapper`;return[{[`${n}-group`]:Object.assign(Object.assign({},(0,A.Wf)(k)),{display:"inline-flex",flexWrap:"wrap",columnGap:k.marginXS,[`> ${k.antCls}-row`]:{flex:1}}),[ue]:Object.assign(Object.assign({},(0,A.Wf)(k)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ue}`]:{marginInlineStart:0},[`&${ue}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[n]:Object.assign(Object.assign({},(0,A.Wf)(k)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:k.borderRadiusSM,alignSelf:"center",[`${n}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${n}-inner`]:Object.assign({},(0,A.oN)(k))},[`${n}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:k.checkboxSize,height:k.checkboxSize,direction:"ltr",backgroundColor:k.colorBgContainer,border:`${k.lineWidth}px ${k.lineType} ${k.colorBorder}`,borderRadius:k.borderRadiusSM,borderCollapse:"separate",transition:`all ${k.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:k.checkboxSize/14*5,height:k.checkboxSize/14*8,border:`${k.lineWidthBold}px solid ${k.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${k.motionDurationFast} ${k.motionEaseInBack}, opacity ${k.motionDurationFast}`}},"& + span":{paddingInlineStart:k.paddingXS,paddingInlineEnd:k.paddingXS}})},{[` + ${ue}:not(${ue}-disabled), + ${n}:not(${n}-disabled) + `]:{[`&:hover ${n}-inner`]:{borderColor:k.colorPrimary}},[`${ue}:not(${ue}-disabled)`]:{[`&:hover ${n}-checked:not(${n}-disabled) ${n}-inner`]:{backgroundColor:k.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${n}-checked:not(${n}-disabled):after`]:{borderColor:k.colorPrimaryHover}}},{[`${n}-checked`]:{[`${n}-inner`]:{backgroundColor:k.colorPrimary,borderColor:k.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${k.motionDurationMid} ${k.motionEaseOutBack} ${k.motionDurationFast}`}}},[` + ${ue}-checked:not(${ue}-disabled), + ${n}-checked:not(${n}-disabled) + `]:{[`&:hover ${n}-inner`]:{backgroundColor:k.colorPrimaryHover,borderColor:"transparent"}}},{[n]:{"&-indeterminate":{[`${n}-inner`]:{backgroundColor:k.colorBgContainer,borderColor:k.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:k.fontSizeLG/2,height:k.fontSizeLG/2,backgroundColor:k.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${ue}-disabled`]:{cursor:"not-allowed"},[`${n}-disabled`]:{[`&, ${n}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${n}-inner`]:{background:k.colorBgContainerDisabled,borderColor:k.colorBorder,"&:after":{borderColor:k.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:k.colorTextDisabled},[`&${n}-indeterminate ${n}-inner::after`]:{background:k.colorTextDisabled}}}]};function J(k,n){const ue=(0,H.TS)(n,{checkboxCls:`.${k}`,checkboxSize:n.controlInteractiveSize});return[He(ue)]}tt.ZP=(0,D.Z)("Checkbox",(k,n)=>{let{prefixCls:ue}=n;return[J(ue,k)]})},49867:function(Xt,tt,c){c.d(tt,{N:function(){return A}});const A=H=>({color:H.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${H.motionDurationSlow}`,"&:focus, &:hover":{color:H.colorLinkHover},"&:active":{color:H.colorLinkActive}})},73014:function(Xt,tt,c){c.d(tt,{Z:function(){return Ml}});var A={},H="rc-table-internal-hook",D=c(97685),He=c(66680),J=c(8410),k=c(91881),n=c(67294),ue=c(73935);function Ae(e){var t=n.createContext(void 0),r=function(a){var l=a.value,u=a.children,f=n.useRef(l);f.current=l;var s=n.useState(function(){return{getValue:function(){return f.current},listeners:new Set}}),p=(0,D.Z)(s,1),m=p[0];return(0,J.Z)(function(){(0,ue.unstable_batchedUpdates)(function(){m.listeners.forEach(function(v){v(l)})})},[l]),n.createElement(t.Provider,{value:m},u)};return{Context:t,Provider:r,defaultValue:e}}function be(e,t){var r=(0,He.Z)(typeof t=="function"?t:function(v){if(t===void 0)return v;if(!Array.isArray(t))return v[t];var y={};return t.forEach(function(g){y[g]=v[g]}),y}),o=n.useContext(e==null?void 0:e.Context),a=o||{},l=a.listeners,u=a.getValue,f=n.useRef();f.current=r(o?u():e==null?void 0:e.defaultValue);var s=n.useState({}),p=(0,D.Z)(s,2),m=p[1];return(0,J.Z)(function(){if(!o)return;function v(y){var g=r(y);(0,k.Z)(f.current,g,!0)||m({})}return l.add(v),function(){l.delete(v)}},[o]),f.current}var de=c(87462),Ye=c(42550);function me(){var e=n.createContext(null);function t(){return n.useContext(e)}function r(a,l){var u=(0,Ye.Yr)(a),f=function(p,m){var v=u?{ref:m}:{},y=n.useRef(0),g=n.useRef(p),x=t();return x!==null?n.createElement(a,(0,de.Z)({},p,v)):((!l||l(g.current,p))&&(y.current+=1),g.current=p,n.createElement(e.Provider,{value:y.current},n.createElement(a,(0,de.Z)({},p,v))))};return u?n.forwardRef(f):f}function o(a,l){var u=(0,Ye.Yr)(a),f=function(p,m){var v=u?{ref:m}:{};return t(),n.createElement(a,(0,de.Z)({},p,v))};return u?n.memo(n.forwardRef(f),l):n.memo(f,l)}return{makeImmutable:r,responseImmutable:o,useImmutableMark:t}}var j=me(),K=j.makeImmutable,E=j.responseImmutable,qe=j.useImmutableMark,Te=me(),ge=Te.makeImmutable,Ie=Te.responseImmutable,N=Te.useImmutableMark,L=Ae(),W=L;function ee(e,t){var r=n.useRef(0);r.current+=1;var o=n.useRef(e),a=[];Object.keys(e||{}).map(function(u){var f;(e==null?void 0:e[u])!==((f=o.current)===null||f===void 0?void 0:f[u])&&a.push(u)}),o.current=e;var l=n.useRef([]);return a.length&&(l.current=a),n.useDebugValue(r.current),n.useDebugValue(l.current.join(", ")),t&&console.log("".concat(t,":"),r.current,l.current),r.current}var B=null,pe=n.memo(function(){var e=ee();return n.createElement("h1",null,"Render Times: ",e)});pe.displayName="RenderBlock";var P=c(71002),C=c(1413),d=c(4942),ve=c(94184),O=c.n(ve),ze=c(56982),S=c(88306),$=c(80334),X=n.createContext({renderWithProps:!1}),fe=X,Ne="RC_TABLE_KEY";function je(e){return e==null?[]:Array.isArray(e)?e:[e]}function Ve(e){var t=[],r={};return e.forEach(function(o){for(var a=o||{},l=a.key,u=a.dataIndex,f=l||je(u).join("-")||Ne;r[f];)f="".concat(f,"_next");r[f]=!0,t.push(f)}),t}function ct(e){return e!=null}function ut(e){return e&&(0,P.Z)(e)==="object"&&!Array.isArray(e)&&!n.isValidElement(e)}function Re(e,t,r,o,a,l){var u=n.useContext(fe),f=N(),s=(0,ze.Z)(function(){if(ct(o))return[o];var p=t==null||t===""?[]:Array.isArray(t)?t:[t],m=(0,S.Z)(e,p),v=m,y=void 0;if(a){var g=a(m,e,r);ut(g)?(v=g.children,y=g.props,u.renderWithProps=!0):v=g}return[v,y]},[f,e,o,t,a,r],function(p,m){if(l){var v=(0,D.Z)(p,2),y=v[1],g=(0,D.Z)(m,2),x=g[1];return l(x,y)}return u.renderWithProps?!0:!(0,k.Z)(p,m,!0)});return s}function ke(e,t,r,o){var a=e+t-1;return e<=o&&a>=r}function et(e,t){return be(W,function(r){var o=ke(e,t||1,r.hoverStartRow,r.hoverEndRow);return[o,r.onHover]})}var Xe=function(t){var r=t.ellipsis,o=t.rowType,a=t.children,l,u=r===!0?{showTitle:!0}:r;return u&&(u.showTitle||o==="header")&&(typeof a=="string"||typeof a=="number"?l=a.toString():n.isValidElement(a)&&typeof a.props.children=="string"&&(l=a.props.children)),l};function U(e){var t,r,o,a,l,u,f,s,p=e.component,m=e.children,v=e.ellipsis,y=e.scope,g=e.prefixCls,x=e.className,I=e.align,R=e.record,z=e.render,T=e.dataIndex,F=e.renderIndex,ce=e.shouldCellUpdate,ie=e.index,_=e.rowType,Oe=e.colSpan,Le=e.rowSpan,te=e.fixLeft,_e=e.fixRight,ne=e.firstFixLeft,M=e.lastFixLeft,Z=e.firstFixRight,re=e.lastFixRight,Je=e.appendNode,Be=e.additionalProps,xe=Be===void 0?{}:Be,Fe=e.isSticky,Qe="".concat(g,"-cell"),$t=be(W,["supportSticky","allColumnsFixedLeft"]),gt=$t.supportSticky,Mt=$t.allColumnsFixedLeft,Lt=Re(R,T,F,m,z,ce),at=(0,D.Z)(Lt,2),yt=at[0],bt=at[1],Kt={},Ht=typeof te=="number"&>,St=typeof _e=="number"&>Ht&&(Kt.position="sticky",Kt.left=te),St&&(Kt.position="sticky",Kt.right=_e);var on=(t=(r=(o=bt==null?void 0:bt.colSpan)!==null&&o!==void 0?o:xe.colSpan)!==null&&r!==void 0?r:Oe)!==null&&t!==void 0?t:1,we=(a=(l=(u=bt==null?void 0:bt.rowSpan)!==null&&u!==void 0?u:xe.rowSpan)!==null&&l!==void 0?l:Le)!==null&&a!==void 0?a:1,Pe=et(ie,we),ae=(0,D.Z)(Pe,2),oe=ae[0],Y=ae[1],Ge=function(sn){var kt;R&&Y(ie,ie+we-1),xe==null||(kt=xe.onMouseEnter)===null||kt===void 0||kt.call(xe,sn)},dt=function(sn){var kt;R&&Y(-1,-1),xe==null||(kt=xe.onMouseLeave)===null||kt===void 0||kt.call(xe,sn)};if(on===0||we===0)return null;var vt=(f=xe.title)!==null&&f!==void 0?f:Xe({rowType:_,ellipsis:v,children:yt}),pt=O()(Qe,x,(s={},(0,d.Z)(s,"".concat(Qe,"-fix-left"),Ht&>),(0,d.Z)(s,"".concat(Qe,"-fix-left-first"),ne&>),(0,d.Z)(s,"".concat(Qe,"-fix-left-last"),M&>),(0,d.Z)(s,"".concat(Qe,"-fix-left-all"),M&&Mt&>),(0,d.Z)(s,"".concat(Qe,"-fix-right"),St&>),(0,d.Z)(s,"".concat(Qe,"-fix-right-first"),Z&>),(0,d.Z)(s,"".concat(Qe,"-fix-right-last"),re&>),(0,d.Z)(s,"".concat(Qe,"-ellipsis"),v),(0,d.Z)(s,"".concat(Qe,"-with-append"),Je),(0,d.Z)(s,"".concat(Qe,"-fix-sticky"),(Ht||St)&&Fe&>),(0,d.Z)(s,"".concat(Qe,"-row-hover"),!bt&&oe),s),xe.className,bt==null?void 0:bt.className),_t={};I&&(_t.textAlign=I);var en=(0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)({},Kt),xe.style),_t),bt==null?void 0:bt.style),Jt=yt;return(0,P.Z)(Jt)==="object"&&!Array.isArray(Jt)&&!n.isValidElement(Jt)&&(Jt=null),v&&(M||Z)&&(Jt=n.createElement("span",{className:"".concat(Qe,"-content")},Jt)),n.createElement(p,(0,de.Z)({},bt,xe,{className:pt,style:en,title:vt,scope:y,onMouseEnter:Ge,onMouseLeave:dt,colSpan:on!==1?on:null,rowSpan:we!==1?we:null}),Je,Jt)}var Se=n.memo(U);function he(e,t,r,o,a,l){var u=r[e]||{},f=r[t]||{},s,p;u.fixed==="left"?s=o.left[a==="rtl"?t:e]:f.fixed==="right"&&(p=o.right[a==="rtl"?e:t]);var m=!1,v=!1,y=!1,g=!1,x=r[t+1],I=r[e-1],R=!(l!=null&&l.children);if(a==="rtl"){if(s!==void 0){var z=I&&I.fixed==="left";g=!z&&R}else if(p!==void 0){var T=x&&x.fixed==="right";y=!T&&R}}else if(s!==void 0){var F=x&&x.fixed==="left";m=!F&&R}else if(p!==void 0){var ce=I&&I.fixed==="right";v=!ce&&R}return{fixLeft:s,fixRight:p,lastFixLeft:m,firstFixRight:v,lastFixRight:y,firstFixLeft:g,isSticky:o.isSticky}}var ot=n.createContext({}),it=ot;function st(e){var t=e.className,r=e.index,o=e.children,a=e.colSpan,l=a===void 0?1:a,u=e.rowSpan,f=e.align,s=be(W,["prefixCls","direction"]),p=s.prefixCls,m=s.direction,v=n.useContext(it),y=v.scrollColumnIndex,g=v.stickyOffsets,x=v.flattenColumns,I=v.columns,R=r+l-1,z=R+1===y?l+1:l,T=he(r,r+z-1,x,g,m,I==null?void 0:I[r]);return n.createElement(Se,(0,de.Z)({className:t,index:r,component:"td",prefixCls:p,record:null,dataIndex:null,align:f,colSpan:z,rowSpan:u,render:function(){return o}},T))}var Rt=c(91),V=["children"];function se(e){var t=e.children,r=(0,Rt.Z)(e,V);return n.createElement("tr",r,t)}function De(e){var t=e.children;return t}De.Row=se,De.Cell=st;var i=De;function Q(e){var t=e.children,r=e.stickyOffsets,o=e.flattenColumns,a=e.columns,l=be(W,"prefixCls"),u=o.length-1,f=o[u],s=n.useMemo(function(){return{stickyOffsets:r,flattenColumns:o,scrollColumnIndex:f!=null&&f.scrollbar?u:null,columns:a}},[f,o,u,r,a]);return n.createElement(it.Provider,{value:s},n.createElement("tfoot",{className:"".concat(l,"-summary")},t))}var We=Ie(Q),Ze=i,h=c(56790),w=c(48555),b=c(5110),q=c(79370),le=c(74204),Ee=c(64217);function Ce(e,t,r,o,a,l,u){e.push({record:t,indent:r,index:u});var f=l(t),s=a==null?void 0:a.has(f);if(t&&Array.isArray(t[o])&&s)for(var p=0;p1?ne-1:0),Z=1;Z=0;f-=1){var s=t[f],p=r&&r[f],m=p&&p[Gt];if(s||m||u){var v=m||{},y=v.columnType,g=(0,Rt.Z)(v,Ft);a.unshift(n.createElement("col",(0,de.Z)({key:f,style:{width:s}},g))),u=!0}}return n.createElement("colgroup",null,a)}var fn=qt,mt=c(74902),vn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function ln(e,t){return(0,n.useMemo)(function(){for(var r=[],o=0;o1?"colgroup":"col":null,ellipsis:R.ellipsis,align:R.align,component:R.title?l:u,prefixCls:m,key:g[I]},z,{additionalProps:T,rowType:"header"}))}))}zn.displayName="HeaderRow";var qn=zn;function _n(e){var t=[];function r(u,f){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;t[s]=t[s]||[];var p=f,m=u.filter(Boolean).map(function(v){var y={key:v.key,className:v.className||"",children:v.title,column:v,colStart:p},g=1,x=v.children;return x&&x.length>0&&(g=r(x,p,s+1).reduce(function(I,R){return I+R},0),y.hasSubColumns=!0),"colSpan"in v&&(g=v.colSpan),"rowSpan"in v&&(y.rowSpan=v.rowSpan),y.colSpan=g,y.colEnd=y.colStart+g-1,t[s].push(y),p+=g,g});return m}r(e,0);for(var o=t.length,a=function(f){t[f].forEach(function(s){!("rowSpan"in s)&&!s.hasSubColumns&&(s.rowSpan=o-f)})},l=0;l1&&arguments[1]!==void 0?arguments[1]:"";return typeof t=="number"?t:t.endsWith("%")?e*parseFloat(t)/100:null}function Vn(e,t,r){return n.useMemo(function(){if(t&&t>0){var o=0,a=0;e.forEach(function(y){var g=Un(t,y.width);g?o+=g:a+=1});var l=Math.max(t-o,a),u=a,f=l/a,s=0,p=e.map(function(y){var g=(0,C.Z)({},y),x=Un(t,g.width);if(x)g.width=x;else{var I=Math.floor(f);g.width=u===1?l:I,l-=I,u-=1}return s+=g.width,g}),m=Math.max(t,r);if(s1&&arguments[1]!==void 0?arguments[1]:"key";return e.filter(function(r){return r&&(0,P.Z)(r)==="object"}).reduce(function(r,o,a){var l=o.fixed,u=l===!0?"left":l,f="".concat(t,"-").concat(a),s=o.children;return s&&s.length>0?[].concat((0,mt.Z)(r),(0,mt.Z)(mn(s,f).map(function(p){return(0,C.Z)({fixed:u},p)}))):[].concat((0,mt.Z)(r),[(0,C.Z)((0,C.Z)({key:f},o),{},{fixed:u})])},[])}function jr(e){for(var t=!0,r=0;r=0;l-=1){var u=e[l];if(a&&u.fixed!=="right")a=!1;else if(!a&&u.fixed==="right"){warning(!1,"Index ".concat(l+1," of `columns` missing `fixed='right'` prop."));break}}}function tr(e){return e.map(function(t){var r=t.fixed,o=(0,Rt.Z)(t,Rn),a=r;return r==="left"?a="right":r==="right"&&(a="left"),(0,C.Z)({fixed:a},o)})}function Cr(e,t){var r=e.prefixCls,o=e.columns,a=e.children,l=e.expandable,u=e.expandedKeys,f=e.columnTitle,s=e.getRowKey,p=e.onTriggerExpand,m=e.expandIcon,v=e.rowExpandable,y=e.expandIconColumnIndex,g=e.direction,x=e.expandRowByClick,I=e.columnWidth,R=e.fixed,z=e.scrollWidth,T=e.clientWidth,F=n.useMemo(function(){return o||Bn(a)},[o,a]),ce=n.useMemo(function(){if(l){var ne,M=F.slice();if(!M.includes(A)){var Z=y||0;Z>=0&&M.splice(Z,0,A)}var re=M.indexOf(A);M=M.filter(function(Fe,Qe){return Fe!==A||Qe===re});var Je=F[re],Be;(R==="left"||R)&&!y?Be="left":(R==="right"||R)&&y===F.length?Be="right":Be=Je?Je.fixed:null;var xe=(ne={},(0,d.Z)(ne,Gt,{className:"".concat(r,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,d.Z)(ne,"title",f),(0,d.Z)(ne,"fixed",Be),(0,d.Z)(ne,"className","".concat(r,"-row-expand-icon-cell")),(0,d.Z)(ne,"width",I),(0,d.Z)(ne,"render",function(Qe,$t,gt){var Mt=s($t,gt),Lt=u.has(Mt),at=v?v($t):!0,yt=m({prefixCls:r,expanded:Lt,expandable:at,record:$t,onExpand:p});return x?n.createElement("span",{onClick:function(Kt){return Kt.stopPropagation()}},yt):yt}),ne);return M.map(function(Fe){return Fe===A?xe:Fe})}return F.filter(function(Fe){return Fe!==A})},[l,F,s,u,m,g]),ie=n.useMemo(function(){var ne=ce;return t&&(ne=t(ne)),ne.length||(ne=[{render:function(){return null}}]),ne},[t,ce,g]),_=n.useMemo(function(){return g==="rtl"?tr(mn(ie)):mn(ie)},[ie,g,z]),Oe=Vn(_,z,T),Le=(0,D.Z)(Oe,2),te=Le[0],_e=Le[1];return[ie,te,_e]}var ir=Cr;function br(e){var t,r=e.prefixCls,o=e.record,a=e.onExpand,l=e.expanded,u=e.expandable,f="".concat(r,"-row-expand-icon");if(!u)return n.createElement("span",{className:O()(f,"".concat(r,"-row-spaced"))});var s=function(m){a(o,m),m.stopPropagation()};return n.createElement("span",{className:O()(f,(t={},(0,d.Z)(t,"".concat(r,"-row-expanded"),l),(0,d.Z)(t,"".concat(r,"-row-collapsed"),!l),t)),onClick:s})}function nr(e,t,r){var o=[];function a(l){(l||[]).forEach(function(u,f){o.push(t(u,f)),a(u[r])})}return a(e),o}function sr(e,t,r){var o=Ut(e),a=o.expandIcon,l=o.expandedRowKeys,u=o.defaultExpandedRowKeys,f=o.defaultExpandAllRows,s=o.expandedRowRender,p=o.onExpand,m=o.onExpandedRowsChange,v=o.childrenColumnName,y=a||br,g=v||"children",x=n.useMemo(function(){return s?"row":e.expandable&&e.internalHooks===H&&e.expandable.__PARENT_RENDER_ICON__||t.some(function(ie){return ie&&(0,P.Z)(ie)==="object"&&ie[g]})?"nest":!1},[!!s,t]),I=n.useState(function(){return u||(f?nr(t,r,g):[])}),R=(0,D.Z)(I,2),z=R[0],T=R[1],F=n.useMemo(function(){return new Set(l||z||[])},[l,z]),ce=n.useCallback(function(ie){var _=r(ie,t.indexOf(ie)),Oe,Le=F.has(_);Le?(F.delete(_),Oe=(0,mt.Z)(F)):Oe=[].concat((0,mt.Z)(F),[_]),T(Oe),p&&p(!Le,ie),m&&m(Oe)},[r,F,t,p,m]);return[o,x,F,y,g,ce]}function rr(e,t,r,o){var a=e.map(function(l,u){return he(u,u,e,t,r,o==null?void 0:o[u])});return(0,ze.Z)(function(){return a},[a],function(l,u){return!(0,k.Z)(l,u)})}function dr(e){var t=(0,n.useRef)(e),r=(0,n.useState)({}),o=(0,D.Z)(r,2),a=o[1],l=(0,n.useRef)(null),u=(0,n.useRef)([]);function f(s){u.current.push(s);var p=Promise.resolve();l.current=p,p.then(function(){if(l.current===p){var m=u.current,v=t.current;u.current=[],m.forEach(function(y){t.current=y(t.current)}),l.current=null,v!==t.current&&a({})}})}return(0,n.useEffect)(function(){return function(){l.current=null}},[]),[t.current,f]}function cr(e){var t=(0,n.useRef)(e||null),r=(0,n.useRef)();function o(){window.clearTimeout(r.current)}function a(u){t.current=u,o(),r.current=window.setTimeout(function(){t.current=null,r.current=void 0},100)}function l(){return t.current}return(0,n.useEffect)(function(){return o},[]),[a,l]}function At(){var e=n.useState(-1),t=(0,D.Z)(e,2),r=t[0],o=t[1],a=n.useState(-1),l=(0,D.Z)(a,2),u=l[0],f=l[1],s=n.useCallback(function(p,m){o(p),f(m)},[]);return[r,u,s]}var bn=c(98924),Sn=(0,bn.Z)()?window:null;function kn(e,t){var r=(0,P.Z)(e)==="object"?e:{},o=r.offsetHeader,a=o===void 0?0:o,l=r.offsetSummary,u=l===void 0?0:l,f=r.offsetScroll,s=f===void 0?0:f,p=r.getContainer,m=p===void 0?function(){return Sn}:p,v=m()||Sn;return n.useMemo(function(){var y=!!e;return{isSticky:y,stickyClassName:y?"".concat(t,"-sticky-holder"):"",offsetHeader:a,offsetSummary:u,offsetScroll:s,container:v}},[s,a,u,t,v])}function $n(e,t,r){var o=(0,n.useMemo)(function(){for(var a=[],l=[],u=0,f=0,s=0;s=v&&(xe=v-y),u({scrollLeft:xe/v*(m+2)}),T.current.x=Z.pageX},_e=function(){if(l.current){var Z=(0,Sr.os)(l.current).top,re=Z+l.current.offsetHeight,Je=s===window?document.documentElement.scrollTop+window.innerHeight:(0,Sr.os)(s).top+s.clientHeight;re-(0,le.Z)()<=Je||Z>=Je-f?z(function(Be){return(0,C.Z)((0,C.Z)({},Be),{},{isHiddenScrollBar:!0})}):z(function(Be){return(0,C.Z)((0,C.Z)({},Be),{},{isHiddenScrollBar:!1})})}},ne=function(Z){z(function(re){return(0,C.Z)((0,C.Z)({},re),{},{scrollLeft:Z/m*v||0})})};return n.useImperativeHandle(r,function(){return{setScrollLeft:ne}}),n.useEffect(function(){var M=(0,En.Z)(document.body,"mouseup",Oe,!1),Z=(0,En.Z)(document.body,"mousemove",te,!1);return _e(),function(){M.remove(),Z.remove()}},[y,ie]),n.useEffect(function(){var M=(0,En.Z)(s,"scroll",_e,!1),Z=(0,En.Z)(window,"resize",_e,!1);return function(){M.remove(),Z.remove()}},[s]),n.useEffect(function(){R.isHiddenScrollBar||z(function(M){var Z=l.current;return Z?(0,C.Z)((0,C.Z)({},M),{},{scrollLeft:Z.scrollLeft/Z.scrollWidth*Z.clientWidth}):M})},[R.isHiddenScrollBar]),m<=v||!y||R.isHiddenScrollBar?null:n.createElement("div",{style:{height:(0,le.Z)(),width:v,bottom:f},className:"".concat(p,"-sticky-scroll")},n.createElement("div",{onMouseDown:Le,ref:g,className:O()("".concat(p,"-sticky-scroll-bar"),(0,d.Z)({},"".concat(p,"-sticky-scroll-bar-active"),ie)),style:{width:"".concat(y,"px"),transform:"translate3d(".concat(R.scrollLeft,"px, 0, 0)")}}))},Bo=n.forwardRef(Lo);function Fo(e){return null}var Ho=Fo;function Ao(e){return null}var zo=Ao,Wr="rc-table",jo=[],Wo={};function Uo(){return"No Data"}function Vo(e){var t,r=(0,C.Z)({rowKey:"key",prefixCls:Wr,emptyText:Uo},e),o=r.prefixCls,a=r.className,l=r.rowClassName,u=r.style,f=r.data,s=r.rowKey,p=r.scroll,m=r.tableLayout,v=r.direction,y=r.title,g=r.footer,x=r.summary,I=r.caption,R=r.id,z=r.showHeader,T=r.components,F=r.emptyText,ce=r.onRow,ie=r.onHeaderRow,_=r.internalHooks,Oe=r.transformColumns,Le=r.internalRefs,te=r.tailor,_e=r.getContainerWidth,ne=r.sticky,M=f||jo,Z=!!M.length,re=_===H,Je=n.useCallback(function(Ct,Dt){return(0,S.Z)(T,Ct)||Dt},[T]),Be=n.useMemo(function(){return typeof s=="function"?s:function(Ct){var Dt=Ct&&Ct[s];return Dt}},[s]),xe=Je(["body"]),Fe=At(),Qe=(0,D.Z)(Fe,3),$t=Qe[0],gt=Qe[1],Mt=Qe[2],Lt=sr(r,M,Be),at=(0,D.Z)(Lt,6),yt=at[0],bt=at[1],Kt=at[2],Ht=at[3],St=at[4],on=at[5],we=p==null?void 0:p.x,Pe=n.useState(0),ae=(0,D.Z)(Pe,2),oe=ae[0],Y=ae[1],Ge=ir((0,C.Z)((0,C.Z)((0,C.Z)({},r),yt),{},{expandable:!!yt.expandedRowRender,columnTitle:yt.columnTitle,expandedKeys:Kt,getRowKey:Be,onTriggerExpand:on,expandIcon:Ht,expandIconColumnIndex:yt.expandIconColumnIndex,direction:v,scrollWidth:re&&te&&typeof we=="number"?we:null,clientWidth:oe}),re?Oe:null),dt=(0,D.Z)(Ge,3),vt=dt[0],pt=dt[1],_t=dt[2],en=_t!=null?_t:we,Jt=n.useMemo(function(){return{columns:vt,flattenColumns:pt}},[vt,pt]),Yt=n.useRef(),sn=n.useRef(),kt=n.useRef(),Jn=n.useRef(),Hn=n.useRef(),Et=n.useState(!1),Nt=(0,D.Z)(Et,2),xt=Nt[0],zt=Nt[1],jt=n.useState(!1),It=(0,D.Z)(jt,2),wt=It[0],tn=It[1],dn=dr(new Map),gn=(0,D.Z)(dn,2),hn=gn[0],lr=gn[1],Tn=Ve(pt),wn=Tn.map(function(Ct){return hn.get(Ct)}),nn=n.useMemo(function(){return wn},[wn.join("_")]),Qt=Kn(nn,pt.length,v),Wt=p&&ct(p.y),Bt=p&&ct(en)||!!yt.fixed,yn=Bt&&pt.some(function(Ct){var Dt=Ct.fixed;return Dt}),An=n.useRef(),Dn=kn(ne,o),Nn=Dn.isSticky,Tr=Dn.offsetHeader,gr=Dn.offsetSummary,Dr=Dn.offsetScroll,lt=Dn.stickyClassName,Ot=Dn.container,Tt=n.useMemo(function(){return x==null?void 0:x(M)},[x,M]),Vt=(Wt||Nn)&&n.isValidElement(Tt)&&Tt.type===i&&Tt.props.fixed,an,rn,cn;Wt&&(rn={overflowY:"scroll",maxHeight:p.y}),Bt&&(an={overflowX:"auto"},Wt||(rn={overflowY:"hidden"}),cn={width:en===!0?"auto":en,minWidth:"100%"});var Zn=n.useCallback(function(Ct,Dt){(0,b.Z)(Yt.current)&&lr(function(xn){if(xn.get(Ct)!==Dt){var un=new Map(xn);return un.set(Ct,Dt),un}return xn})},[]),Ll=cr(null),Co=(0,D.Z)(Ll,2),Bl=Co[0],bo=Co[1];function hr(Ct,Dt){Dt&&(typeof Dt=="function"?Dt(Ct):Dt.scrollLeft!==Ct&&(Dt.scrollLeft=Ct,Dt.scrollLeft!==Ct&&setTimeout(function(){Dt.scrollLeft=Ct},0)))}var Qn=(0,He.Z)(function(Ct){var Dt=Ct.currentTarget,xn=Ct.scrollLeft,un=v==="rtl",Mn=typeof xn=="number"?xn:Dt.scrollLeft,Mo=Dt||Wo;if(!bo()||bo()===Mo){var Fr;Bl(Mo),hr(Mn,sn.current),hr(Mn,kt.current),hr(Mn,Hn.current),hr(Mn,(Fr=An.current)===null||Fr===void 0?void 0:Fr.setScrollLeft)}var Hr=Dt||sn.current;if(Hr){var Ar=Hr.scrollWidth,zr=Hr.clientWidth;if(Ar===zr){zt(!1),tn(!1);return}un?(zt(-Mn0)):(zt(Mn>0),tn(Mn1?I-Z:0,Je=(0,C.Z)((0,C.Z)((0,C.Z)({},Oe),s),{},{flex:"0 0 ".concat(Z,"px"),width:"".concat(Z,"px"),marginRight:re,pointerEvents:"auto"}),Be=n.useMemo(function(){return m?ne<=1:te===0||ne===0||ne>1},[ne,te,m]);Be?Je.visibility="hidden":m&&(Je.height=v==null?void 0:v(ne));var xe=Be?function(){return null}:y,Fe={};return(ne===0||te===0)&&(Fe.rowSpan=1,Fe.colSpan=1),n.createElement(Se,(0,de.Z)({className:O()(x,p),ellipsis:r.ellipsis,align:r.align,scope:r.rowScope,component:"div",prefixCls:t.prefixCls,key:F,record:f,index:l,renderIndex:u,dataIndex:g,render:xe,shouldCellUpdate:r.shouldCellUpdate},ce,{appendNode:ie,additionalProps:(0,C.Z)((0,C.Z)({},_),{},{style:Je},Fe)}))}var Qo=Jo,qo=["data","index","className","rowKey","style","extra","getHeight"],_o=n.forwardRef(function(e,t){var r=e.data,o=e.index,a=e.className,l=e.rowKey,u=e.style,f=e.extra,s=e.getHeight,p=(0,Rt.Z)(e,qo),m=r.record,v=r.indent,y=r.index,g=be(W,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),x=g.scrollX,I=g.flattenColumns,R=g.prefixCls,z=g.fixColumn,T=g.componentWidth,F=$e(m,l,o,v),ce=F.rowSupportExpand,ie=F.expanded,_=F.rowProps,Oe=F.expandedRowRender,Le=F.expandedRowClassName,te;if(ce&&ie){var _e=Oe(m,o,v+1,ie),ne=Le==null?void 0:Le(m,o,v),M={};z&&(M={style:(0,d.Z)({},"--virtual-width","".concat(T,"px"))});var Z="".concat(R,"-expanded-row-cell");te=n.createElement("div",{className:O()("".concat(R,"-expanded-row"),"".concat(R,"-expanded-row-level-").concat(v+1),ne)},n.createElement(Se,{component:"div",prefixCls:R,className:O()(Z,(0,d.Z)({},"".concat(Z,"-fixed"),z)),additionalProps:M},_e))}var re=(0,C.Z)((0,C.Z)({},u),{},{width:x});f&&(re.position="absolute",re.pointerEvents="none");var Je=n.createElement("div",(0,de.Z)({},_,p,{ref:ce?null:t,className:O()(a,"".concat(R,"-row"),_==null?void 0:_.className,(0,d.Z)({},"".concat(R,"-row-extra"),f)),style:(0,C.Z)((0,C.Z)({},re),_==null?void 0:_.style)}),I.map(function(Be,xe){return n.createElement(Qo,{key:xe,rowInfo:F,column:Be,colIndex:xe,indent:v,index:o,renderIndex:y,record:m,inverse:f,getHeight:s})}));return ce?n.createElement("div",{ref:t},Je,te):Je}),ea=Ie(_o),Gr=ea,ta=n.forwardRef(function(e,t){var r=e.data,o=e.onScroll,a=be(W,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),l=a.flattenColumns,u=a.onColumnResize,f=a.getRowKey,s=a.expandedKeys,p=a.prefixCls,m=a.childrenColumnName,v=a.emptyNode,y=a.scrollX,g=be(Vr),x=g.sticky,I=g.scrollY,R=g.listItemHeight,z=n.useRef(),T=ye(r,m,s,f),F=n.useMemo(function(){var ne=0;return l.map(function(M){var Z=M.width,re=M.key;return ne+=Z,[re,Z,ne]})},[l]),ce=n.useMemo(function(){return F.map(function(ne){return ne[2]})},[F]);n.useEffect(function(){F.forEach(function(ne){var M=(0,D.Z)(ne,2),Z=M[0],re=M[1];u(Z,re)})},[F]),n.useImperativeHandle(t,function(){var ne={};return Object.defineProperty(ne,"scrollLeft",{get:function(){var Z;return((Z=z.current)===null||Z===void 0?void 0:Z.getScrollInfo().x)||0},set:function(Z){var re;(re=z.current)===null||re===void 0||re.scrollTo({left:Z})}}),ne});var ie=function(M,Z){var re,Je=(re=T[Z])===null||re===void 0?void 0:re.record,Be=M.onCell;if(Be){var xe,Fe=Be(Je,Z);return(xe=Fe==null?void 0:Fe.rowSpan)!==null&&xe!==void 0?xe:1}return 1},_=function(M){var Z=M.start,re=M.end,Je=M.getSize,Be=M.offsetY;if(re<0)return null;for(var xe=l.filter(function(Pe){return ie(Pe,Z)===0}),Fe=Z,Qe=function(ae){if(xe=xe.filter(function(oe){return ie(oe,ae)===0}),!xe.length)return Fe=ae,"break"},$t=Z;$t>=0;$t-=1){var gt=Qe($t);if(gt==="break")break}for(var Mt=l.filter(function(Pe){return ie(Pe,re)!==1}),Lt=re,at=function(ae){if(Mt=Mt.filter(function(oe){return ie(oe,ae)!==1}),!Mt.length)return Lt=Math.max(ae-1,re),"break"},yt=re;yt1})&&Kt.push(ae)},St=Fe;St<=Lt;St+=1)var on=Ht(St);var we=Kt.map(function(Pe){var ae=T[Pe],oe=f(ae.record,Pe),Y=function(vt){var pt=Pe+vt-1,_t=f(T[pt].record,pt),en=Je(oe,_t);return en.bottom-en.top},Ge=Je(oe);return n.createElement(Gr,{key:Pe,data:ae,rowKey:oe,index:Pe,style:{top:-Be+Ge.top},extra:!0,getHeight:Y})});return we},Oe=n.useMemo(function(){return{columnsOffset:ce}},[ce]),Le="".concat(p,"-tbody"),te;if(T.length){var _e={};x&&(_e.position="sticky",_e.bottom=0,(0,P.Z)(x)==="object"&&x.offsetScroll&&(_e.bottom=x.offsetScroll)),te=n.createElement(Go.Z,{fullHeight:!1,ref:z,styles:{horizontalScrollBar:_e},className:O()(Le,"".concat(Le,"-virtual")),height:I,itemHeight:R||24,data:T,itemKey:function(M){return f(M.record)},scrollWidth:y,onVirtualScroll:function(M){var Z=M.x;o({scrollLeft:Z})},extraRender:_},function(ne,M,Z){var re=f(ne.record,M);return n.createElement(Gr,(0,de.Z)({data:ne,rowKey:re,index:M},Z))})}else te=n.createElement("div",{className:O()("".concat(p,"-placeholder"))},n.createElement(Se,{component:"div",prefixCls:p},v));return n.createElement(Xr.Provider,{value:Oe},te)}),na=Ie(ta),ra=na,oa=function(t,r){var o=r.ref,a=r.onScroll;return n.createElement(ra,{ref:o,data:t,onScroll:a})};function aa(e){var t=e.columns,r=e.scroll,o=e.sticky,a=e.prefixCls,l=a===void 0?Wr:a,u=e.className,f=e.listItemHeight,s=r||{},p=s.x,m=s.y;typeof p!="number"&&(p=1),typeof m!="number"&&(m=500);var v=n.useMemo(function(){return{sticky:o,scrollY:m,listItemHeight:f}},[o,m,f]);return n.createElement(Vr.Provider,{value:v},n.createElement(Xo,(0,de.Z)({},e,{className:O()(u,"".concat(l,"-virtual")),scroll:(0,C.Z)((0,C.Z)({},r),{},{x:p}),components:{body:oa},columns:t,internalHooks:H,tailor:!0})))}function Yr(e){return ge(aa,e)}var Xl=Yr(),Gl=null;function la(e){return null}var ia=la;function sa(e){return null}var da=sa,ca=c(98423),ua=c(58375),Er=c(27288),Jr=c(53124),fa=c(88258),va=c(98675),pa=c(25378),ma=c(40378),ga=c(11651),ha=c(57953),ya=c(29691);function xa(e){return function(r){let{prefixCls:o,onExpand:a,record:l,expanded:u,expandable:f}=r;const s=`${o}-row-expand-icon`;return n.createElement("button",{type:"button",onClick:p=>{a(l,p),p.stopPropagation()},className:O()(s,{[`${s}-spaced`]:!f,[`${s}-expanded`]:f&&u,[`${s}-collapsed`]:f&&!u}),"aria-label":u?e.collapse:e.expand,"aria-expanded":u})}}var Ca=xa;function ba(e){return(r,o)=>{const a=r.querySelector(`.${e}-container`);let l=o;if(a){const u=getComputedStyle(a),f=parseInt(u.borderLeftWidth,10),s=parseInt(u.borderRightWidth,10);l=o-f-s}return l}}function Fn(e,t){return"key"in e&&e.key!==void 0&&e.key!==null?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t}function or(e,t){return t?`${t}-${e}`:`${e}`}function ur(e,t){return typeof e=="function"?e(t):e}function Sa(e,t){const r=ur(e,t);return Object.prototype.toString.call(r)==="[object Object]"?"":r}var Ea={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},wa=Ea,wr=c(93771),Na=function(t,r){return n.createElement(wr.Z,(0,de.Z)({},t,{ref:r,icon:wa}))},$a=n.forwardRef(Na),Ka=c(57838);function Oa(e){const t=n.useRef(e),r=(0,Ka.Z)();return[()=>t.current,o=>{t.current=o,r()}]}var Qr=c(15867),fr=c(84567),qr=c(85418),_r=c(32983),Ra=c(68508),ka=c(76529),eo=c(55742),Pa=c(14e3),Ia=c(25783),Ta=c(96365);function Da(e){let{value:t,onChange:r,filterSearch:o,tablePrefixCls:a,locale:l}=e;return o?n.createElement("div",{className:`${a}-filter-dropdown-search`},n.createElement(Ta.Z,{prefix:n.createElement(Ia.Z,null),placeholder:l.filterSearchPlaceholder,onChange:r,value:t,htmlSize:1,className:`${a}-filter-dropdown-search-input`})):null}var to=Da,no=c(15105);const Za=e=>{const{keyCode:t}=e;t===no.Z.ENTER&&e.stopPropagation()};var Ma=n.forwardRef((e,t)=>n.createElement("div",{className:e.className,onClick:r=>r.stopPropagation(),onKeyDown:Za,ref:t},e.children));function Yn(e){let t=[];return(e||[]).forEach(r=>{let{value:o,children:a}=r;t.push(o),a&&(t=[].concat((0,mt.Z)(t),(0,mt.Z)(Yn(a))))}),t}function La(e){return e.some(t=>{let{children:r}=t;return r})}function ro(e,t){return typeof t=="string"||typeof t=="number"?t==null?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()):!1}function oo(e){let{filters:t,prefixCls:r,filteredKeys:o,filterMultiple:a,searchValue:l,filterSearch:u}=e;return t.map((f,s)=>{const p=String(f.value);if(f.children)return{key:p||s,label:f.text,popupClassName:`${r}-dropdown-submenu`,children:oo({filters:f.children,prefixCls:r,filteredKeys:o,filterMultiple:a,searchValue:l,filterSearch:u})};const m=a?fr.Z:eo.ZP,v={key:f.value!==void 0?p:s,label:n.createElement(n.Fragment,null,n.createElement(m,{checked:o.includes(p)}),n.createElement("span",null,f.text))};return l.trim()?typeof u=="function"?u(l,f)?v:null:ro(l,f.text)?v:null:v})}function Ba(e){var t,r;const{tablePrefixCls:o,prefixCls:a,column:l,dropdownPrefixCls:u,columnKey:f,filterMultiple:s,filterMode:p="menu",filterSearch:m=!1,filterState:v,triggerFilter:y,locale:g,children:x,getPopupContainer:I}=e,{filterDropdownOpen:R,onFilterDropdownOpenChange:z,filterResetToDefaultFilteredValue:T,defaultFilteredValue:F,filterDropdownVisible:ce,onFilterDropdownVisibleChange:ie}=l,[_,Oe]=n.useState(!1),Le=!!(v&&(!((t=v.filteredKeys)===null||t===void 0)&&t.length||v.forceFiltered)),te=Y=>{Oe(Y),z==null||z(Y),ie==null||ie(Y)},_e=(r=R!=null?R:ce)!==null&&r!==void 0?r:_,ne=v==null?void 0:v.filteredKeys,[M,Z]=Oa(ne||[]),re=Y=>{let{selectedKeys:Ge}=Y;Z(Ge)},Je=(Y,Ge)=>{let{node:dt,checked:vt}=Ge;re(s?{selectedKeys:Y}:{selectedKeys:vt&&dt.key?[dt.key]:[]})};n.useEffect(()=>{_&&re({selectedKeys:ne||[]})},[ne]);const[Be,xe]=n.useState([]),Fe=Y=>{xe(Y)},[Qe,$t]=n.useState(""),gt=Y=>{const{value:Ge}=Y.target;$t(Ge)};n.useEffect(()=>{_||$t("")},[_]);const Mt=Y=>{const Ge=Y&&Y.length?Y:null;if(Ge===null&&(!v||!v.filteredKeys)||(0,k.Z)(Ge,v==null?void 0:v.filteredKeys,!0))return null;y({column:l,key:f,filteredKeys:Ge})},Lt=()=>{te(!1),Mt(M())},at=function(){let{confirm:Y,closeDropdown:Ge}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Y&&Mt([]),Ge&&te(!1),$t(""),Z(T?(F||[]).map(dt=>String(dt)):[])},yt=function(){let{closeDropdown:Y}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Y&&te(!1),Mt(M())},bt=Y=>{Y&&ne!==void 0&&Z(ne||[]),te(Y),!Y&&!l.filterDropdown&&Lt()},Kt=O()({[`${u}-menu-without-submenu`]:!La(l.filters||[])}),Ht=Y=>{if(Y.target.checked){const Ge=Yn(l==null?void 0:l.filters).map(dt=>String(dt));Z(Ge)}else Z([])},St=Y=>{let{filters:Ge}=Y;return(Ge||[]).map((dt,vt)=>{const pt=String(dt.value),_t={title:dt.text,key:dt.value!==void 0?pt:vt};return dt.children&&(_t.children=St({filters:dt.children})),_t})},on=Y=>{var Ge;return Object.assign(Object.assign({},Y),{text:Y.title,value:Y.key,children:((Ge=Y.children)===null||Ge===void 0?void 0:Ge.map(dt=>on(dt)))||[]})};let we;if(typeof l.filterDropdown=="function")we=l.filterDropdown({prefixCls:`${u}-custom`,setSelectedKeys:Y=>re({selectedKeys:Y}),selectedKeys:M(),confirm:yt,clearFilters:at,filters:l.filters,visible:_e,close:()=>{te(!1)}});else if(l.filterDropdown)we=l.filterDropdown;else{const Y=M()||[],Ge=()=>(l.filters||[]).length===0?n.createElement(_r.Z,{image:_r.Z.PRESENTED_IMAGE_SIMPLE,description:g.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):p==="tree"?n.createElement(n.Fragment,null,n.createElement(to,{filterSearch:m,value:Qe,onChange:gt,tablePrefixCls:o,locale:g}),n.createElement("div",{className:`${o}-filter-dropdown-tree`},s?n.createElement(fr.Z,{checked:Y.length===Yn(l.filters).length,indeterminate:Y.length>0&&Y.lengthtypeof m=="function"?m(Qe,on(vt)):ro(Qe,vt.title):void 0}))):n.createElement(n.Fragment,null,n.createElement(to,{filterSearch:m,value:Qe,onChange:gt,tablePrefixCls:o,locale:g}),n.createElement(Ra.Z,{selectable:!0,multiple:s,prefixCls:`${u}-menu`,className:Kt,onSelect:re,onDeselect:re,selectedKeys:Y,getPopupContainer:I,openKeys:Be,onOpenChange:Fe,items:oo({filters:l.filters||[],filterSearch:m,prefixCls:a,filteredKeys:M(),filterMultiple:s,searchValue:Qe})})),dt=()=>T?(0,k.Z)((F||[]).map(vt=>String(vt)),Y,!0):Y.length===0;we=n.createElement(n.Fragment,null,Ge(),n.createElement("div",{className:`${a}-dropdown-btns`},n.createElement(Qr.ZP,{type:"link",size:"small",disabled:dt(),onClick:()=>at()},g.filterReset),n.createElement(Qr.ZP,{type:"primary",size:"small",onClick:Lt},g.filterConfirm)))}l.filterDropdown&&(we=n.createElement(ka.J,{selectable:void 0},we));const Pe=()=>n.createElement(Ma,{className:`${a}-dropdown`},we);let ae;typeof l.filterIcon=="function"?ae=l.filterIcon(Le):l.filterIcon?ae=l.filterIcon:ae=n.createElement($a,null);const{direction:oe}=n.useContext(Jr.E_);return n.createElement("div",{className:`${a}-column`},n.createElement("span",{className:`${o}-column-title`},x),n.createElement(qr.Z,{dropdownRender:Pe,trigger:["click"],open:_e,onOpenChange:bt,getPopupContainer:I,placement:oe==="rtl"?"bottomLeft":"bottomRight"},n.createElement("span",{role:"button",tabIndex:-1,className:O()(`${a}-trigger`,{active:Le}),onClick:Y=>{Y.stopPropagation()}},ae)))}var Fa=Ba;function Nr(e,t,r){let o=[];return(e||[]).forEach((a,l)=>{var u;const f=or(l,r);if(a.filters||"filterDropdown"in a||"onFilter"in a)if("filteredValue"in a){let s=a.filteredValue;"filterDropdown"in a||(s=(u=s==null?void 0:s.map(String))!==null&&u!==void 0?u:s),o.push({column:a,key:Fn(a,f),filteredKeys:s,forceFiltered:a.filtered})}else o.push({column:a,key:Fn(a,f),filteredKeys:t&&a.defaultFilteredValue?a.defaultFilteredValue:void 0,forceFiltered:a.filtered});"children"in a&&(o=[].concat((0,mt.Z)(o),(0,mt.Z)(Nr(a.children,t,f))))}),o}function ao(e,t,r,o,a,l,u,f){return r.map((s,p)=>{const m=or(p,f),{filterMultiple:v=!0,filterMode:y,filterSearch:g}=s;let x=s;if(x.filters||x.filterDropdown){const I=Fn(x,m),R=o.find(z=>{let{key:T}=z;return I===T});x=Object.assign(Object.assign({},x),{title:z=>n.createElement(Fa,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:x,columnKey:I,filterState:R,filterMultiple:v,filterMode:y,filterSearch:g,triggerFilter:l,locale:a,getPopupContainer:u},ur(s.title,z))})}return"children"in x&&(x=Object.assign(Object.assign({},x),{children:ao(e,t,x.children,o,a,l,u,m)})),x})}function lo(e){const t={};return e.forEach(r=>{let{key:o,filteredKeys:a,column:l}=r;const{filters:u,filterDropdown:f}=l;if(f)t[o]=a||null;else if(Array.isArray(a)){const s=Yn(u);t[o]=s.filter(p=>a.includes(String(p)))}else t[o]=null}),t}function io(e,t){return t.reduce((r,o)=>{const{column:{onFilter:a,filters:l},filteredKeys:u}=o;return a&&u&&u.length?r.filter(f=>u.some(s=>{const p=Yn(l),m=p.findIndex(y=>String(y)===String(s)),v=m!==-1?p[m]:s;return a(v,f)})):r},e)}const so=e=>e.flatMap(t=>"children"in t?[t].concat((0,mt.Z)(so(t.children||[]))):[t]);function Ha(e){let{prefixCls:t,dropdownPrefixCls:r,mergedColumns:o,onFilterChange:a,getPopupContainer:l,locale:u}=e;const f=(0,Er.ln)("Table"),s=n.useMemo(()=>so(o||[]),[o]),[p,m]=n.useState(()=>Nr(s,!0)),v=n.useMemo(()=>{const I=Nr(s,!1);if(I.length===0)return I;let R=!0,z=!0;if(I.forEach(T=>{let{filteredKeys:F}=T;F!==void 0?R=!1:z=!1}),R){const T=(s||[]).map((F,ce)=>Fn(F,or(ce)));return p.filter(F=>{let{key:ce}=F;return T.includes(ce)}).map(F=>{const ce=s[T.findIndex(ie=>ie===F.key)];return Object.assign(Object.assign({},F),{column:Object.assign(Object.assign({},F.column),ce),forceFiltered:ce.filtered})})}return I},[s,p]),y=n.useMemo(()=>lo(v),[v]),g=I=>{const R=v.filter(z=>{let{key:T}=z;return T!==I.key});R.push(I),m(R),a(lo(R),R)};return[I=>ao(t,r,I,v,u,g,l),v,y]}var Aa=Ha;function za(e,t,r){const o=n.useRef({});function a(l){if(!o.current||o.current.data!==e||o.current.childrenColumnName!==t||o.current.getRowKey!==r){let f=function(s){s.forEach((p,m)=>{const v=r(p,m);u.set(v,p),p&&typeof p=="object"&&t in p&&f(p[t]||[])})};const u=new Map;f(e),o.current={data:e,childrenColumnName:t,kvMap:u,getRowKey:r}}return o.current.kvMap.get(l)}return[a]}var ja=c(38780),Wa=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,o=Object.getOwnPropertySymbols(e);a{const l=e[a];typeof l!="function"&&(r[a]=l)}),r}function Va(e,t,r){const o=r&&typeof r=="object"?r:{},{total:a=0}=o,l=Wa(o,["total"]),[u,f]=(0,n.useState)(()=>({current:"defaultCurrent"in l?l.defaultCurrent:1,pageSize:"defaultPageSize"in l?l.defaultPageSize:co})),s=(0,ja.Z)(u,l,{total:a>0?a:e}),p=Math.ceil((a||e)/s.pageSize);s.current>p&&(s.current=p||1);const m=(y,g)=>{f({current:y!=null?y:1,pageSize:g||s.pageSize})},v=(y,g)=>{var x;r&&((x=r.onChange)===null||x===void 0||x.call(r,y,g)),m(y,g),t(y,g||(s==null?void 0:s.pageSize))};return r===!1?[{},()=>{}]:[Object.assign(Object.assign({},s),{onChange:v}),m]}var Xa=Va,Ga=c(13622),uo=c(10225),$r=c(17341),Ya=c(1089),Ja=c(21770);const In={},Kr="SELECT_ALL",Or="SELECT_INVERT",Rr="SELECT_NONE",fo=[],vo=(e,t)=>{let r=[];return(t||[]).forEach(o=>{r.push(o),o&&typeof o=="object"&&e in o&&(r=[].concat((0,mt.Z)(r),(0,mt.Z)(vo(e,o[e]))))}),r};var Qa=(e,t)=>{const{preserveSelectedRowKeys:r,selectedRowKeys:o,defaultSelectedRowKeys:a,getCheckboxProps:l,onChange:u,onSelect:f,onSelectAll:s,onSelectInvert:p,onSelectNone:m,onSelectMultiple:v,columnWidth:y,type:g,selections:x,fixed:I,renderCell:R,hideSelectAll:z,checkStrictly:T=!0}=t||{},{prefixCls:F,data:ce,pageData:ie,getRecordByKey:_,getRowKey:Oe,expandType:Le,childrenColumnName:te,locale:_e,getPopupContainer:ne}=e,M=(0,Er.ln)("Table"),[Z,re]=(0,Ja.Z)(o||a||fo,{value:o}),Je=n.useRef(new Map),Be=(0,n.useCallback)(we=>{if(r){const Pe=new Map;we.forEach(ae=>{let oe=_(ae);!oe&&Je.current.has(ae)&&(oe=Je.current.get(ae)),Pe.set(ae,oe)}),Je.current=Pe}},[_,r]);n.useEffect(()=>{Be(Z)},[Z]);const{keyEntities:xe}=(0,n.useMemo)(()=>{if(T)return{keyEntities:null};let we=ce;if(r){const Pe=new Set(ce.map((oe,Y)=>Oe(oe,Y))),ae=Array.from(Je.current).reduce((oe,Y)=>{let[Ge,dt]=Y;return Pe.has(Ge)?oe:oe.concat(dt)},[]);we=[].concat((0,mt.Z)(we),(0,mt.Z)(ae))}return(0,Ya.I8)(we,{externalGetKey:Oe,childrenPropName:te})},[ce,Oe,T,te,r]),Fe=(0,n.useMemo)(()=>vo(te,ie),[te,ie]),Qe=(0,n.useMemo)(()=>{const we=new Map;return Fe.forEach((Pe,ae)=>{const oe=Oe(Pe,ae),Y=(l?l(Pe):null)||{};we.set(oe,Y)}),we},[Fe,Oe,l]),$t=(0,n.useCallback)(we=>{var Pe;return!!(!((Pe=Qe.get(Oe(we)))===null||Pe===void 0)&&Pe.disabled)},[Qe,Oe]),[gt,Mt]=(0,n.useMemo)(()=>{if(T)return[Z||[],[]];const{checkedKeys:we,halfCheckedKeys:Pe}=(0,$r.S)(Z,!0,xe,$t);return[we||[],Pe]},[Z,T,xe,$t]),Lt=(0,n.useMemo)(()=>{const we=g==="radio"?gt.slice(0,1):gt;return new Set(we)},[gt,g]),at=(0,n.useMemo)(()=>g==="radio"?new Set:new Set(Mt),[Mt,g]),[yt,bt]=(0,n.useState)(null);n.useEffect(()=>{t||re(fo)},[!!t]);const Kt=(0,n.useCallback)((we,Pe)=>{let ae,oe;Be(we),r?(ae=we,oe=we.map(Y=>Je.current.get(Y))):(ae=[],oe=[],we.forEach(Y=>{const Ge=_(Y);Ge!==void 0&&(ae.push(Y),oe.push(Ge))})),re(ae),u==null||u(ae,oe,{type:Pe})},[re,_,u,r]),Ht=(0,n.useCallback)((we,Pe,ae,oe)=>{if(f){const Y=ae.map(Ge=>_(Ge));f(_(we),Pe,Y,oe)}Kt(ae,"single")},[f,_,Kt]),St=(0,n.useMemo)(()=>!x||z?null:(x===!0?[Kr,Or,Rr]:x).map(Pe=>Pe===Kr?{key:"all",text:_e.selectionAll,onSelect(){Kt(ce.map((ae,oe)=>Oe(ae,oe)).filter(ae=>{const oe=Qe.get(ae);return!(oe!=null&&oe.disabled)||Lt.has(ae)}),"all")}}:Pe===Or?{key:"invert",text:_e.selectInvert,onSelect(){const ae=new Set(Lt);ie.forEach((Y,Ge)=>{const dt=Oe(Y,Ge),vt=Qe.get(dt);vt!=null&&vt.disabled||(ae.has(dt)?ae.delete(dt):ae.add(dt))});const oe=Array.from(ae);p&&(M.deprecated(!1,"onSelectInvert","onChange"),p(oe)),Kt(oe,"invert")}}:Pe===Rr?{key:"none",text:_e.selectNone,onSelect(){m==null||m(),Kt(Array.from(Lt).filter(ae=>{const oe=Qe.get(ae);return oe==null?void 0:oe.disabled}),"none")}}:Pe).map(Pe=>Object.assign(Object.assign({},Pe),{onSelect:function(){for(var ae,oe,Y=arguments.length,Ge=new Array(Y),dt=0;dt{var Pe;if(!t)return we.filter(Et=>Et!==In);let ae=(0,mt.Z)(we);const oe=new Set(Lt),Y=Fe.map(Oe).filter(Et=>!Qe.get(Et).disabled),Ge=Y.every(Et=>oe.has(Et)),dt=Y.some(Et=>oe.has(Et)),vt=()=>{const Et=[];Ge?Y.forEach(xt=>{oe.delete(xt),Et.push(xt)}):Y.forEach(xt=>{oe.has(xt)||(oe.add(xt),Et.push(xt))});const Nt=Array.from(oe);s==null||s(!Ge,Nt.map(xt=>_(xt)),Et.map(xt=>_(xt))),Kt(Nt,"all"),bt(null)};let pt;if(g!=="radio"){let Et;if(St){const It={getPopupContainer:ne,items:St.map((wt,tn)=>{const{key:dn,text:gn,onSelect:hn}=wt;return{key:dn!=null?dn:tn,onClick:()=>{hn==null||hn(Y)},label:gn}})};Et=n.createElement("div",{className:`${F}-selection-extra`},n.createElement(qr.Z,{menu:It,getPopupContainer:ne},n.createElement("span",null,n.createElement(Ga.Z,null))))}const Nt=Fe.map((It,wt)=>{const tn=Oe(It,wt),dn=Qe.get(tn)||{};return Object.assign({checked:oe.has(tn)},dn)}).filter(It=>{let{disabled:wt}=It;return wt}),xt=!!Nt.length&&Nt.length===Fe.length,zt=xt&&Nt.every(It=>{let{checked:wt}=It;return wt}),jt=xt&&Nt.some(It=>{let{checked:wt}=It;return wt});pt=!z&&n.createElement("div",{className:`${F}-selection`},n.createElement(fr.Z,{checked:xt?zt:!!Fe.length&&Ge,indeterminate:xt?!zt&&jt:!Ge&&dt,onChange:vt,disabled:Fe.length===0||xt,"aria-label":Et?"Custom selection":"Select all",skipGroup:!0}),Et)}let _t;g==="radio"?_t=(Et,Nt,xt)=>{const zt=Oe(Nt,xt),jt=oe.has(zt);return{node:n.createElement(eo.ZP,Object.assign({},Qe.get(zt),{checked:jt,onClick:It=>It.stopPropagation(),onChange:It=>{oe.has(zt)||Ht(zt,!0,[zt],It.nativeEvent)}})),checked:jt}}:_t=(Et,Nt,xt)=>{var zt;const jt=Oe(Nt,xt),It=oe.has(jt),wt=at.has(jt),tn=Qe.get(jt);let dn;return Le==="nest"?dn=wt:dn=(zt=tn==null?void 0:tn.indeterminate)!==null&&zt!==void 0?zt:wt,{node:n.createElement(fr.Z,Object.assign({},tn,{indeterminate:dn,checked:It,skipGroup:!0,onClick:gn=>gn.stopPropagation(),onChange:gn=>{let{nativeEvent:hn}=gn;const{shiftKey:lr}=hn;let Tn=-1,wn=-1;if(lr&&T){const nn=new Set([yt,jt]);Y.some((Qt,Wt)=>{if(nn.has(Qt))if(Tn===-1)Tn=Wt;else return wn=Wt,!0;return!1})}if(wn!==-1&&Tn!==wn&&T){const nn=Y.slice(Tn,wn+1),Qt=[];It?nn.forEach(Bt=>{oe.has(Bt)&&(Qt.push(Bt),oe.delete(Bt))}):nn.forEach(Bt=>{oe.has(Bt)||(Qt.push(Bt),oe.add(Bt))});const Wt=Array.from(oe);v==null||v(!It,Wt.map(Bt=>_(Bt)),Qt.map(Bt=>_(Bt))),Kt(Wt,"multiple")}else{const nn=gt;if(T){const Qt=It?(0,uo._5)(nn,jt):(0,uo.L0)(nn,jt);Ht(jt,!It,Qt,hn)}else{const Qt=(0,$r.S)([].concat((0,mt.Z)(nn),[jt]),!0,xe,$t),{checkedKeys:Wt,halfCheckedKeys:Bt}=Qt;let yn=Wt;if(It){const An=new Set(Wt);An.delete(jt),yn=(0,$r.S)(Array.from(An),{checked:!1,halfCheckedKeys:Bt},xe,$t).checkedKeys}Ht(jt,!It,yn,hn)}}bt(It?null:jt)}})),checked:It}};const en=(Et,Nt,xt)=>{const{node:zt,checked:jt}=_t(Et,Nt,xt);return R?R(jt,Nt,xt,zt):zt};if(!ae.includes(In))if(ae.findIndex(Et=>{var Nt;return((Nt=Et[Gt])===null||Nt===void 0?void 0:Nt.columnType)==="EXPAND_COLUMN"})===0){const[Et,...Nt]=ae;ae=[Et,In].concat((0,mt.Z)(Nt))}else ae=[In].concat((0,mt.Z)(ae));const Jt=ae.indexOf(In);ae=ae.filter((Et,Nt)=>Et!==In||Nt===Jt);const Yt=ae[Jt-1],sn=ae[Jt+1];let kt=I;kt===void 0&&((sn==null?void 0:sn.fixed)!==void 0?kt=sn.fixed:(Yt==null?void 0:Yt.fixed)!==void 0&&(kt=Yt.fixed)),kt&&Yt&&((Pe=Yt[Gt])===null||Pe===void 0?void 0:Pe.columnType)==="EXPAND_COLUMN"&&Yt.fixed===void 0&&(Yt.fixed=kt);const Jn=O()(`${F}-selection-col`,{[`${F}-selection-col-with-dropdown`]:x&&g==="checkbox"}),Hn={fixed:kt,width:y,className:`${F}-selection-column`,title:t.columnTitle||pt,render:en,onCell:t.onCell,[Gt]:{className:Jn}};return ae.map(Et=>Et===In?Hn:Et)},[Oe,Fe,t,gt,Lt,at,y,St,Le,yt,Qe,v,Ht,$t]),Lt]},qa={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},_a=qa,el=function(t,r){return n.createElement(wr.Z,(0,de.Z)({},t,{ref:r,icon:_a}))},tl=n.forwardRef(el),nl={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},rl=nl,ol=function(t,r){return n.createElement(wr.Z,(0,de.Z)({},t,{ref:r,icon:rl}))},al=n.forwardRef(ol),ll=c(83062);const vr="ascend",kr="descend";function pr(e){return typeof e.sorter=="object"&&typeof e.sorter.multiple=="number"?e.sorter.multiple:!1}function po(e){return typeof e=="function"?e:e&&typeof e=="object"&&e.compare?e.compare:!1}function il(e,t){return t?e[e.indexOf(t)+1]:e[0]}function Pr(e,t,r){let o=[];function a(l,u){o.push({column:l,key:Fn(l,u),multiplePriority:pr(l),sortOrder:l.sortOrder})}return(e||[]).forEach((l,u)=>{const f=or(u,r);l.children?("sortOrder"in l&&a(l,f),o=[].concat((0,mt.Z)(o),(0,mt.Z)(Pr(l.children,t,f)))):l.sorter&&("sortOrder"in l?a(l,f):t&&l.defaultSortOrder&&o.push({column:l,key:Fn(l,f),multiplePriority:pr(l),sortOrder:l.defaultSortOrder}))}),o}function mo(e,t,r,o,a,l,u,f){return(t||[]).map((s,p)=>{const m=or(p,f);let v=s;if(v.sorter){const y=v.sortDirections||a,g=v.showSorterTooltip===void 0?u:v.showSorterTooltip,x=Fn(v,m),I=r.find(Le=>{let{key:te}=Le;return te===x}),R=I?I.sortOrder:null,z=il(y,R);let T;if(s.sortIcon)T=s.sortIcon({sortOrder:R});else{const Le=y.includes(vr)&&n.createElement(al,{className:O()(`${e}-column-sorter-up`,{active:R===vr})}),te=y.includes(kr)&&n.createElement(tl,{className:O()(`${e}-column-sorter-down`,{active:R===kr})});T=n.createElement("span",{className:O()(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(Le&&te)})},n.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},Le,te))}const{cancelSort:F,triggerAsc:ce,triggerDesc:ie}=l||{};let _=F;z===kr?_=ie:z===vr&&(_=ce);const Oe=typeof g=="object"?g:{title:_};v=Object.assign(Object.assign({},v),{className:O()(v.className,{[`${e}-column-sort`]:R}),title:Le=>{const te=n.createElement("div",{className:`${e}-column-sorters`},n.createElement("span",{className:`${e}-column-title`},ur(s.title,Le)),T);return g?n.createElement(ll.Z,Object.assign({},Oe),te):te},onHeaderCell:Le=>{const te=s.onHeaderCell&&s.onHeaderCell(Le)||{},_e=te.onClick,ne=te.onKeyDown;te.onClick=re=>{o({column:s,key:x,sortOrder:z,multiplePriority:pr(s)}),_e==null||_e(re)},te.onKeyDown=re=>{re.keyCode===no.Z.ENTER&&(o({column:s,key:x,sortOrder:z,multiplePriority:pr(s)}),ne==null||ne(re))};const M=Sa(s.title,{}),Z=M==null?void 0:M.toString();return R?te["aria-sort"]=R==="ascend"?"ascending":"descending":te["aria-label"]=Z||"",te.className=O()(te.className,`${e}-column-has-sorters`),te.tabIndex=0,s.ellipsis&&(te.title=(M!=null?M:"").toString()),te}})}return"children"in v&&(v=Object.assign(Object.assign({},v),{children:mo(e,v.children,r,o,a,l,u,m)})),v})}function go(e){const{column:t,sortOrder:r}=e;return{column:t,order:r,field:t.dataIndex,columnKey:t.key}}function ho(e){const t=e.filter(r=>{let{sortOrder:o}=r;return o}).map(go);return t.length===0&&e.length?Object.assign(Object.assign({},go(e[e.length-1])),{column:void 0}):t.length<=1?t[0]||{}:t}function Ir(e,t,r){const o=t.slice().sort((u,f)=>f.multiplePriority-u.multiplePriority),a=e.slice(),l=o.filter(u=>{let{column:{sorter:f},sortOrder:s}=u;return po(f)&&s});return l.length?a.sort((u,f)=>{for(let s=0;s{const f=u[r];return f?Object.assign(Object.assign({},u),{[r]:Ir(f,t,r)}):u}):a}function sl(e){let{prefixCls:t,mergedColumns:r,onSorterChange:o,sortDirections:a,tableLocale:l,showSorterTooltip:u}=e;const[f,s]=n.useState(Pr(r,!0)),p=n.useMemo(()=>{let x=!0;const I=Pr(r,!1);if(!I.length)return f;const R=[];function z(F){x?R.push(F):R.push(Object.assign(Object.assign({},F),{sortOrder:null}))}let T=null;return I.forEach(F=>{T===null?(z(F),F.sortOrder&&(F.multiplePriority===!1?x=!1:T=!0)):(T&&F.multiplePriority!==!1||(x=!1),z(F))}),R},[r,f]),m=n.useMemo(()=>{const x=p.map(I=>{let{column:R,sortOrder:z}=I;return{column:R,order:z}});return{sortColumns:x,sortColumn:x[0]&&x[0].column,sortOrder:x[0]&&x[0].order}},[p]);function v(x){let I;x.multiplePriority===!1||!p.length||p[0].multiplePriority===!1?I=[x]:I=[].concat((0,mt.Z)(p.filter(R=>{let{key:z}=R;return z!==x.key})),[x]),s(I),o(ho(I),I)}return[x=>mo(t,x,p,v,a,l,u),p,m,()=>ho(p)]}function yo(e,t){return e.map(r=>{const o=Object.assign({},r);return o.title=ur(r.title,t),"children"in o&&(o.children=yo(o.children,t)),o})}function dl(e){return[n.useCallback(r=>yo(r,e),[e])]}var cl=Ur((e,t)=>{const{_renderTimes:r}=e,{_renderTimes:o}=t;return r!==o}),ul=Yr((e,t)=>{const{_renderTimes:r}=e,{_renderTimes:o}=t;return r!==o}),ar=c(10274),mr=c(14747),fl=c(67968),vl=c(45503),pl=e=>{const{componentCls:t}=e,r=`${e.lineWidth}px ${e.lineType} ${e.tableBorderColor}`,o=(a,l,u)=>({[`&${t}-${a}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{[` + > table > tbody > tr > th, + > table > tbody > tr > td + `]:{[`> ${t}-expanded-row-fixed`]:{margin:`-${l}px -${u+e.lineWidth}px`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${t}-title`]:{border:r,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:r,borderTop:r,[` + > ${t}-content, + > ${t}-header, + > ${t}-body, + > ${t}-summary + `]:{"> table":{[` + > thead > tr > th, + > thead > tr > td, + > tbody > tr > th, + > tbody > tr > td, + > tfoot > tr > th, + > tfoot > tr > td + `]:{borderInlineEnd:r},"> thead":{"> tr:not(:last-child) > th":{borderBottom:r},"> tr > th::before":{backgroundColor:"transparent !important"}},[` + > thead > tr, + > tbody > tr, + > tfoot > tr + `]:{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:r}},[` + > tbody > tr > th, + > tbody > tr > td + `]:{[`> ${t}-expanded-row-fixed`]:{margin:`-${e.tablePaddingVertical}px -${e.tablePaddingHorizontal+e.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:e.lineWidth,bottom:0,borderInlineEnd:r,content:'""'}}}}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[` + > tr${t}-expanded-row, + > tr${t}-placeholder + `]:{["> th, > td"]:{borderInlineEnd:0}}}}}},o("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),o("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:r,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${e.lineWidth}px 0 ${e.lineWidth}px ${e.tableHeaderBg}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:r}}}},ml=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},mr.vS),{wordBreak:"keep-all",[` + &${t}-cell-fix-left-last, + &${t}-cell-fix-right-first + `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},gl=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,[` + &:hover > th, + &:hover > td, + `]:{background:e.colorBgContainer}}}}},hl=c(49867),yl=e=>{const{componentCls:t,antCls:r,controlInteractiveSize:o,motionDurationSlow:a,lineWidth:l,paddingXS:u,lineType:f,tableBorderColor:s,tableExpandIconBg:p,tableExpandColumnWidth:m,borderRadius:v,fontSize:y,fontSizeSM:g,lineHeight:x,tablePaddingVertical:I,tablePaddingHorizontal:R,tableExpandedRowBg:z,paddingXXS:T}=e,F=o/2-l,ce=F*2+l*3,ie=`${l}px ${f} ${s}`,_=T-l;return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:m},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:Object.assign(Object.assign({},(0,hl.N)(e)),{position:"relative",float:"left",boxSizing:"border-box",width:ce,height:ce,padding:0,color:"inherit",lineHeight:`${ce}px`,background:p,border:ie,borderRadius:v,transform:`scale(${o/ce})`,transition:`all ${a}`,userSelect:"none",["&:focus, &:hover, &:active"]:{borderColor:"currentcolor"},["&::before, &::after"]:{position:"absolute",background:"currentcolor",transition:`transform ${a} ease-out`,content:'""'},"&::before":{top:F,insetInlineEnd:_,insetInlineStart:_,height:l},"&::after":{top:_,bottom:_,insetInlineStart:F,width:l,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:(y*x-l*3)/2-Math.ceil((g*1.4-l*3)/2),marginInlineEnd:u},[`tr${t}-expanded-row`]:{"&, &:hover":{["> th, > td"]:{background:z}},[`${r}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`-${I}px -${R}px`,padding:`${I}px ${R}px`}}}},xl=e=>{const{componentCls:t,antCls:r,iconCls:o,tableFilterDropdownWidth:a,tableFilterDropdownSearchWidth:l,paddingXXS:u,paddingXS:f,colorText:s,lineWidth:p,lineType:m,tableBorderColor:v,tableHeaderIconColor:y,fontSizeSM:g,tablePaddingHorizontal:x,borderRadius:I,motionDurationSlow:R,colorTextDescription:z,colorPrimary:T,tableHeaderFilterActiveBg:F,colorTextDisabled:ce,tableFilterDropdownBg:ie,tableFilterDropdownHeight:_,controlItemBgHover:Oe,controlItemBgActive:Le,boxShadowSecondary:te,filterDropdownMenuBg:_e}=e,ne=`${r}-dropdown`,M=`${t}-filter-dropdown`,Z=`${r}-tree`,re=`${p}px ${m} ${v}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-u,marginInline:`${u}px ${-x/2}px`,padding:`0 ${u}px`,color:y,fontSize:g,borderRadius:I,cursor:"pointer",transition:`all ${R}`,"&:hover":{color:z,background:F},"&.active":{color:T}}}},{[`${r}-dropdown`]:{[M]:Object.assign(Object.assign({},(0,mr.Wf)(e)),{minWidth:a,backgroundColor:ie,borderRadius:I,boxShadow:te,overflow:"hidden",[`${ne}-menu`]:{maxHeight:_,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:_e,"&:empty::after":{display:"block",padding:`${f}px 0`,color:ce,fontSize:g,textAlign:"center",content:'"Not Found"'}},[`${M}-tree`]:{paddingBlock:`${f}px 0`,paddingInline:f,[Z]:{padding:0},[`${Z}-treenode ${Z}-node-content-wrapper:hover`]:{backgroundColor:Oe},[`${Z}-treenode-checkbox-checked ${Z}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Le}}},[`${M}-search`]:{padding:f,borderBottom:re,"&-input":{input:{minWidth:l},[o]:{color:ce}}},[`${M}-checkall`]:{width:"100%",marginBottom:u,marginInlineStart:u},[`${M}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${f-p}px ${f}px`,overflow:"hidden",borderTop:re}})}},{[`${r}-dropdown ${M}, ${M}-submenu`]:{[`${r}-checkbox-wrapper + span`]:{paddingInlineStart:f,color:s},["> ul"]:{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Cl=e=>{const{componentCls:t,lineWidth:r,colorSplit:o,motionDurationSlow:a,zIndexTableFixed:l,tableBg:u,zIndexTableSticky:f}=e,s=o;return{[`${t}-wrapper`]:{[` + ${t}-cell-fix-left, + ${t}-cell-fix-right + `]:{position:"sticky !important",zIndex:l,background:u},[` + ${t}-cell-fix-left-first::after, + ${t}-cell-fix-left-last::after + `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-r,width:30,transform:"translateX(100%)",transition:`box-shadow ${a}`,content:'""',pointerEvents:"none"},[`${t}-cell-fix-left-all::after`]:{display:"none"},[` + ${t}-cell-fix-right-first::after, + ${t}-cell-fix-right-last::after + `]:{position:"absolute",top:0,bottom:-r,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${a}`,content:'""',pointerEvents:"none"},[`${t}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:f+1,width:30,transition:`box-shadow ${a}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${t}-ping-left`]:{[`&:not(${t}-has-fix-left) ${t}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${s}`}},[` + ${t}-cell-fix-left-first::after, + ${t}-cell-fix-left-last::after + `]:{boxShadow:`inset 10px 0 8px -8px ${s}`},[`${t}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${t}-ping-right`]:{[`&:not(${t}-has-fix-right) ${t}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${s}`}},[` + ${t}-cell-fix-right-first::after, + ${t}-cell-fix-right-last::after + `]:{boxShadow:`inset -10px 0 8px -8px ${s}`}}}}},bl=e=>{const{componentCls:t,antCls:r}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${r}-pagination`]:{margin:`${e.margin}px 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Sl=e=>{const{componentCls:t,tableRadius:r}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${r}px ${r}px 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:r,borderStartEndRadius:r,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:r},"> *:last-child":{borderStartEndRadius:r}}},"&-footer":{borderRadius:`0 0 ${r}px ${r}px`}}}}},El=e=>{const{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${t}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${t}-row-indent`]:{float:"right"}}}}},wl=e=>{const{componentCls:t,antCls:r,iconCls:o,fontSizeIcon:a,padding:l,paddingXS:u,tableHeaderIconColor:f,tableHeaderIconColorHover:s,tableSelectionColumnWidth:p,tableSelectedRowBg:m,tableSelectedRowHoverBg:v,tableRowHoverBg:y}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:p,[`&${t}-selection-col-with-dropdown`]:{width:p+a+l/4}},[`${t}-bordered ${t}-selection-col`]:{width:p+u*2,[`&${t}-selection-col-with-dropdown`]:{width:p+a+l/4+u*2}},[` + table tr th${t}-selection-column, + table tr td${t}-selection-column, + ${t}-selection-column + `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${r}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:e.zIndexTableFixed+1},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${e.tablePaddingHorizontal/4}px`,[o]:{color:f,fontSize:a,verticalAlign:"baseline","&:hover":{color:s}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:m,"&-row-hover":{background:v}}},[`> ${t}-cell-row-hover`]:{background:y}}}}}},Nl=e=>{const{componentCls:t}=e,r=(o,a,l,u)=>({[`${t}${t}-${o}`]:{fontSize:u,[` + ${t}-title, + ${t}-footer, + ${t}-cell, + ${t}-thead > tr > th, + ${t}-tbody > tr > th, + ${t}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{padding:`${a}px ${l}px`},[`${t}-filter-trigger`]:{marginInlineEnd:`-${l/2}px`},[`${t}-expanded-row-fixed`]:{margin:`-${a}px -${l}px`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:`-${a}px`,marginInline:`${e.tableExpandColumnWidth-l}px -${l}px`}},[`${t}-selection-extra`]:{paddingInlineStart:`${l/4}px`}}});return{[`${t}-wrapper`]:Object.assign(Object.assign({},r("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),r("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},$l=e=>{const{componentCls:t,marginXXS:r,fontSizeIcon:o,tableHeaderIconColor:a,tableHeaderIconColorHover:l}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[` + &${t}-cell-fix-left:hover, + &${t}-cell-fix-right:hover + `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorter`]:{marginInlineStart:r,color:a,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:o,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:l}}}},Kl=e=>{const{componentCls:t,opacityLoading:r,tableScrollThumbBg:o,tableScrollThumbBgHover:a,tableScrollThumbSize:l,tableScrollBg:u,zIndexTableSticky:f,stickyScrollBarBorderRadius:s}=e,p=`${e.lineWidth}px ${e.lineType} ${e.tableBorderColor}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:f,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${l}px !important`,zIndex:f,display:"flex",alignItems:"center",background:u,borderTop:p,opacity:r,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:l,backgroundColor:o,borderRadius:s,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:a}}}}}}},xo=e=>{const{componentCls:t,lineWidth:r,tableBorderColor:o}=e,a=`${r}px ${e.lineType} ${o}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:a}}},[`div${t}-summary`]:{boxShadow:`0 -${r}px 0 ${o}`}}}},Ol=e=>{const{componentCls:t,motionDurationMid:r}=e,o=`${e.lineWidth}px ${e.lineType} ${e.tableBorderColor}`,a=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${t}-cell`]:{borderBottom:o,transition:`background ${r}`},[`${t}-expanded-row`]:{[`${a}${a}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${e.lineWidth}px)`,borderInlineEnd:"none"}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:o,position:"absolute"},[`${t}-cell`]:{borderInlineEnd:o,[`&${t}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-e.lineWidth,borderInlineStart:o}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:o,borderBottom:o}}}}}};const Rl=e=>{const{componentCls:t,fontWeightStrong:r,tablePaddingVertical:o,tablePaddingHorizontal:a,lineWidth:l,lineType:u,tableBorderColor:f,tableFontSize:s,tableBg:p,tableRadius:m,tableHeaderTextColor:v,motionDurationMid:y,tableHeaderBg:g,tableHeaderCellSplitColor:x,tableFooterTextColor:I,tableFooterBg:R,paddingContentVerticalLG:z}=e,T=`${l}px ${u} ${f}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,mr.dF)()),{[t]:Object.assign(Object.assign({},(0,mr.Wf)(e)),{fontSize:s,background:p,borderRadius:`${m}px ${m}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${m}px ${m}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` + ${t}-cell, + ${t}-thead > tr > th, + ${t}-tbody > tr > th, + ${t}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{position:"relative",padding:`${z}px ${a}px`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${o}px ${a}px`},[`${t}-thead`]:{[` + > tr > th, + > tr > td + `]:{position:"relative",color:v,fontWeight:r,textAlign:"start",background:g,borderBottom:T,transition:`background ${y} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${t}-selection-column):not(${t}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:x,transform:"translateY(-50%)",transition:`background-color ${y}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}-tbody`]:{"> tr":{["> th, > td"]:{transition:`background ${y}, border-color ${y}`,borderBottom:T,[` + > ${t}-wrapper:only-child, + > ${t}-expanded-row-fixed > ${t}-wrapper:only-child + `]:{[t]:{marginBlock:`-${o}px`,marginInline:`${e.tableExpandColumnWidth-a}px -${a}px`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:v,fontWeight:r,textAlign:"start",background:g,borderBottom:T,transition:`background ${y} ease`}}},[`${t}-footer`]:{padding:`${o}px ${a}px`,color:I,background:R}})}};var kl=(0,fl.Z)("Table",e=>{const{colorTextHeading:t,colorSplit:r,colorIcon:o,colorIconHover:a,opacityLoading:l,colorBgContainer:u,controlInteractiveSize:f,headerBg:s,headerColor:p,headerSortActiveBg:m,headerSortHoverBg:v,bodySortBg:y,rowHoverBg:g,rowSelectedBg:x,rowSelectedHoverBg:I,rowExpandedBg:R,cellPaddingBlock:z,cellPaddingInline:T,cellPaddingBlockMD:F,cellPaddingInlineMD:ce,cellPaddingBlockSM:ie,cellPaddingInlineSM:_,borderColor:Oe,footerBg:Le,footerColor:te,headerBorderRadius:_e,cellFontSize:ne,cellFontSizeMD:M,cellFontSizeSM:Z,headerSplitColor:re,fixedHeaderSortActiveBg:Je,headerFilterHoverBg:Be,filterDropdownBg:xe,expandIconBg:Fe,selectionColumnWidth:Qe,stickyScrollBarBg:$t}=e,gt=new ar.C(o),Mt=new ar.C(a),Lt=2,at=(0,vl.TS)(e,{tableFontSize:ne,tableBg:u,tableRadius:_e,tablePaddingVertical:z,tablePaddingHorizontal:T,tablePaddingVerticalMiddle:F,tablePaddingHorizontalMiddle:ce,tablePaddingVerticalSmall:ie,tablePaddingHorizontalSmall:_,tableBorderColor:Oe,tableHeaderTextColor:p,tableHeaderBg:s,tableFooterTextColor:te,tableFooterBg:Le,tableHeaderCellSplitColor:re,tableHeaderSortBg:m,tableHeaderSortHoverBg:v,tableHeaderIconColor:gt.clone().setAlpha(gt.getAlpha()*l).toRgbString(),tableHeaderIconColorHover:Mt.clone().setAlpha(Mt.getAlpha()*l).toRgbString(),tableBodySortBg:y,tableFixedHeaderSortActiveBg:Je,tableHeaderFilterActiveBg:Be,tableFilterDropdownBg:xe,tableRowHoverBg:g,tableSelectedRowBg:x,tableSelectedRowHoverBg:I,zIndexTableFixed:Lt,zIndexTableSticky:Lt+1,tableFontSizeMiddle:M,tableFontSizeSmall:Z,tableSelectionColumnWidth:Qe,tableExpandIconBg:Fe,tableExpandColumnWidth:f+2*e.padding,tableExpandedRowBg:R,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:$t,tableScrollThumbBgHover:t,tableScrollBg:r});return[Rl(at),bl(at),xo(at),$l(at),xl(at),pl(at),Sl(at),yl(at),xo(at),gl(at),wl(at),Cl(at),Kl(at),ml(at),Nl(at),El(at),Ol(at)]},e=>{const{colorFillAlter:t,colorBgContainer:r,colorTextHeading:o,colorFillSecondary:a,colorFillContent:l,controlItemBgActive:u,controlItemBgActiveHover:f,padding:s,paddingSM:p,paddingXS:m,colorBorderSecondary:v,borderRadiusLG:y,fontSize:g,controlHeight:x,colorTextPlaceholder:I}=e,R=new ar.C(a).onBackground(r).toHexShortString(),z=new ar.C(l).onBackground(r).toHexShortString(),T=new ar.C(t).onBackground(r).toHexShortString();return{headerBg:T,headerColor:o,headerSortActiveBg:R,headerSortHoverBg:z,bodySortBg:T,rowHoverBg:T,rowSelectedBg:u,rowSelectedHoverBg:f,rowExpandedBg:t,cellPaddingBlock:s,cellPaddingInline:s,cellPaddingBlockMD:p,cellPaddingInlineMD:m,cellPaddingBlockSM:m,cellPaddingInlineSM:m,borderColor:v,headerBorderRadius:y,footerBg:T,footerColor:o,cellFontSize:g,cellFontSizeMD:g,cellFontSizeSM:g,headerSplitColor:v,fixedHeaderSortActiveBg:R,headerFilterHoverBg:l,filterDropdownMenuBg:r,filterDropdownBg:r,expandIconBg:r,selectionColumnWidth:x,stickyScrollBarBg:I,stickyScrollBarBorderRadius:100}});const Pl=[],Il=(e,t)=>{const{prefixCls:r,className:o,rootClassName:a,style:l,size:u,bordered:f,dropdownPrefixCls:s,dataSource:p,pagination:m,rowSelection:v,rowKey:y="key",rowClassName:g,columns:x,children:I,childrenColumnName:R,onChange:z,getPopupContainer:T,loading:F,expandIcon:ce,expandable:ie,expandedRowRender:_,expandIconColumnIndex:Oe,indentSize:Le,scroll:te,sortDirections:_e,locale:ne,showSorterTooltip:M=!0,virtual:Z}=e,re=(0,Er.ln)("Table"),Je=n.useMemo(()=>x||Bn(I),[x,I]),Be=n.useMemo(()=>Je.some(lt=>lt.responsive),[Je]),xe=(0,pa.Z)(Be),Fe=n.useMemo(()=>{const lt=new Set(Object.keys(xe).filter(Ot=>xe[Ot]));return Je.filter(Ot=>!Ot.responsive||Ot.responsive.some(Tt=>lt.has(Tt)))},[Je,xe]),Qe=(0,ca.Z)(e,["className","style","columns"]),{locale:$t=ma.Z,direction:gt,table:Mt,renderEmpty:Lt,getPrefixCls:at,getPopupContainer:yt}=n.useContext(Jr.E_),bt=(0,va.Z)(u),Kt=Object.assign(Object.assign({},$t.Table),ne),Ht=p||Pl,St=at("table",r),on=at("dropdown",s),we=Object.assign({childrenColumnName:R,expandIconColumnIndex:Oe},ie),{childrenColumnName:Pe="children"}=we,ae=n.useMemo(()=>Ht.some(lt=>lt==null?void 0:lt[Pe])?"nest":_||ie&&ie.expandedRowRender?"row":null,[Ht]),oe={body:n.useRef()},Y=ba(St),Ge=n.useMemo(()=>typeof y=="function"?y:lt=>lt==null?void 0:lt[y],[y]),[dt]=za(Ht,Pe,Ge),vt={},pt=function(lt,Ot){let Tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Vt,an,rn;const cn=Object.assign(Object.assign({},vt),lt);Tt&&((Vt=vt.resetPagination)===null||Vt===void 0||Vt.call(vt),!((an=cn.pagination)===null||an===void 0)&&an.current&&(cn.pagination.current=1),m&&m.onChange&&m.onChange(1,(rn=cn.pagination)===null||rn===void 0?void 0:rn.pageSize)),te&&te.scrollToFirstRowOnChange!==!1&&oe.body.current&&(0,ua.Z)(0,{getContainer:()=>oe.body.current}),z==null||z(cn.pagination,cn.filters,cn.sorter,{currentDataSource:io(Ir(Ht,cn.sorterStates,Pe),cn.filterStates),action:Ot})},_t=(lt,Ot)=>{pt({sorter:lt,sorterStates:Ot},"sort",!1)},[en,Jt,Yt,sn]=sl({prefixCls:St,mergedColumns:Fe,onSorterChange:_t,sortDirections:_e||["ascend","descend"],tableLocale:Kt,showSorterTooltip:M}),kt=n.useMemo(()=>Ir(Ht,Jt,Pe),[Ht,Jt]);vt.sorter=sn(),vt.sorterStates=Jt;const Jn=(lt,Ot)=>{pt({filters:lt,filterStates:Ot},"filter",!0)},[Hn,Et,Nt]=Aa({prefixCls:St,locale:Kt,dropdownPrefixCls:on,mergedColumns:Fe,onFilterChange:Jn,getPopupContainer:T||yt}),xt=io(kt,Et);vt.filters=Nt,vt.filterStates=Et;const zt=n.useMemo(()=>{const lt={};return Object.keys(Nt).forEach(Ot=>{Nt[Ot]!==null&&(lt[Ot]=Nt[Ot])}),Object.assign(Object.assign({},Yt),{filters:lt})},[Yt,Nt]),[jt]=dl(zt),It=(lt,Ot)=>{pt({pagination:Object.assign(Object.assign({},vt.pagination),{current:lt,pageSize:Ot})},"paginate")},[wt,tn]=Xa(xt.length,It,m);vt.pagination=m===!1?{}:Ua(wt,m),vt.resetPagination=tn;const dn=n.useMemo(()=>{if(m===!1||!wt.pageSize)return xt;const{current:lt=1,total:Ot,pageSize:Tt=co}=wt;return xt.lengthTt?xt.slice((lt-1)*Tt,lt*Tt):xt:xt.slice((lt-1)*Tt,lt*Tt)},[!!m,xt,wt&&wt.current,wt&&wt.pageSize,wt&&wt.total]),[gn,hn]=Qa({prefixCls:St,data:xt,pageData:dn,getRowKey:Ge,getRecordByKey:dt,expandType:ae,childrenColumnName:Pe,locale:Kt,getPopupContainer:T||yt},v),lr=(lt,Ot,Tt)=>{let Vt;return typeof g=="function"?Vt=O()(g(lt,Ot,Tt)):Vt=O()(g),O()({[`${St}-row-selected`]:hn.has(Ge(lt,Ot))},Vt)};we.__PARENT_RENDER_ICON__=we.expandIcon,we.expandIcon=we.expandIcon||ce||Ca(Kt),ae==="nest"&&we.expandIconColumnIndex===void 0?we.expandIconColumnIndex=v?1:0:we.expandIconColumnIndex>0&&v&&(we.expandIconColumnIndex-=1),typeof we.indentSize!="number"&&(we.indentSize=typeof Le=="number"?Le:15);const Tn=n.useCallback(lt=>jt(gn(Hn(en(lt)))),[en,Hn,gn]);let wn,nn;if(m!==!1&&(wt!=null&&wt.total)){let lt;wt.size?lt=wt.size:lt=bt==="small"||bt==="middle"?"small":void 0;const Ot=an=>n.createElement(ga.Z,Object.assign({},wt,{className:O()(`${St}-pagination ${St}-pagination-${an}`,wt.className),size:lt})),Tt=gt==="rtl"?"left":"right",{position:Vt}=wt;if(Vt!==null&&Array.isArray(Vt)){const an=Vt.find(Zn=>Zn.includes("top")),rn=Vt.find(Zn=>Zn.includes("bottom")),cn=Vt.every(Zn=>`${Zn}`=="none");!an&&!rn&&!cn&&(nn=Ot(Tt)),an&&(wn=Ot(an.toLowerCase().replace("top",""))),rn&&(nn=Ot(rn.toLowerCase().replace("bottom","")))}else nn=Ot(Tt)}let Qt;typeof F=="boolean"?Qt={spinning:F}:typeof F=="object"&&(Qt=Object.assign({spinning:!0},F));const[Wt,Bt]=kl(St),[,yn]=(0,ya.Z)(),An=O()(`${St}-wrapper`,Mt==null?void 0:Mt.className,{[`${St}-wrapper-rtl`]:gt==="rtl"},o,a,Bt),Dn=Object.assign(Object.assign({},Mt==null?void 0:Mt.style),l),Nn=ne&&ne.emptyText||(Lt==null?void 0:Lt("Table"))||n.createElement(fa.Z,{componentName:"Table"}),Tr=Z?ul:cl,gr={},Dr=n.useMemo(()=>{const{fontSize:lt,lineHeight:Ot,padding:Tt,paddingXS:Vt,paddingSM:an}=yn,rn=Math.floor(lt*Ot);switch(bt){case"large":return Tt*2+rn;case"small":return Vt*2+rn;default:return an*2+rn}},[yn,bt]);return Z&&(gr.listItemHeight=Dr),Wt(n.createElement("div",{ref:t,className:An,style:Dn},n.createElement(ha.Z,Object.assign({spinning:!1},Qt),wn,n.createElement(Tr,Object.assign({},gr,Qe,{columns:Fe,direction:gt,expandable:we,prefixCls:St,className:O()({[`${St}-middle`]:bt==="middle",[`${St}-small`]:bt==="small",[`${St}-bordered`]:f,[`${St}-empty`]:Ht.length===0}),data:dn,rowKey:Ge,rowClassName:lr,emptyText:Nn,internalHooks:H,internalRefs:oe,transformColumns:Tn,getContainerWidth:Y})),nn)))};var Tl=n.forwardRef(Il);const Dl=(e,t)=>{const r=n.useRef(0);return r.current+=1,n.createElement(Tl,Object.assign({},e,{ref:t,_renderTimes:r.current}))},On=n.forwardRef(Dl);On.SELECTION_COLUMN=In,On.EXPAND_COLUMN=A,On.SELECTION_ALL=Kr,On.SELECTION_INVERT=Or,On.SELECTION_NONE=Rr,On.Column=ia,On.ColumnGroup=da,On.Summary=Ze;var Zl=On,Ml=Zl},14e3:function(Xt,tt,c){c.d(tt,{Z:function(){return Re}});var A=c(70593),H=c(74902),D=c(5309),He=c(87462),J=c(67294),k={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},n=k,ue=c(93771),Ae=function(et,Xe){return J.createElement(ue.Z,(0,He.Z)({},et,{ref:Xe,icon:n}))},be=J.forwardRef(Ae),de={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},Ye=de,me=function(et,Xe){return J.createElement(ue.Z,(0,He.Z)({},et,{ref:Xe,icon:Ye}))},j=J.forwardRef(me),K=c(94184),E=c.n(K),qe=c(10225),Te=c(1089),ge=c(53124),Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},N=Ie,L=function(et,Xe){return J.createElement(ue.Z,(0,He.Z)({},et,{ref:Xe,icon:N}))},W=J.forwardRef(L),ee=c(33603),B=c(32157);const pe=4;function P(ke){const{dropPosition:et,dropLevelOffset:Xe,prefixCls:U,indent:Se,direction:he="ltr"}=ke,ot=he==="ltr"?"left":"right",it=he==="ltr"?"right":"left",st={[ot]:-Xe*Se+pe,[it]:0};switch(et){case-1:st.top=-3;break;case 1:st.bottom=-3;break;default:st.bottom=-3,st[ot]=Se+pe;break}return J.createElement("div",{style:st,className:`${U}-drop-indicator`})}var C=c(77632),ve=J.forwardRef((ke,et)=>{const{getPrefixCls:Xe,direction:U,virtual:Se,tree:he}=J.useContext(ge.E_),{prefixCls:ot,className:it,showIcon:st=!1,showLine:Rt,switcherIcon:V,blockNode:se=!1,children:De,checkable:i=!1,selectable:Q=!0,draggable:We,motion:Ze,style:h}=ke,w=Xe("tree",ot),b=Xe(),q=Ze!=null?Ze:Object.assign(Object.assign({},(0,ee.Z)(b)),{motionAppear:!1}),le=Object.assign(Object.assign({},ke),{checkable:i,selectable:Q,showIcon:st,motion:q,blockNode:se,showLine:!!Rt,dropIndicatorRender:P}),[Ee,Ce]=(0,B.ZP)(w),ye=J.useMemo(()=>{if(!We)return!1;let Ke={};switch(typeof We){case"function":Ke.nodeDraggable=We;break;case"object":Ke=Object.assign({},We);break;default:break}return Ke.icon!==!1&&(Ke.icon=Ke.icon||J.createElement(W,null)),Ke},[We]),$e=Ke=>J.createElement(C.Z,{prefixCls:w,switcherIcon:V,treeNodeProps:Ke,showLine:Rt});return Ee(J.createElement(A.Z,Object.assign({itemHeight:20,ref:et,virtual:Se},le,{style:Object.assign(Object.assign({},he==null?void 0:he.style),h),prefixCls:w,className:E()({[`${w}-icon-hide`]:!st,[`${w}-block-node`]:se,[`${w}-unselectable`]:!Q,[`${w}-rtl`]:U==="rtl"},he==null?void 0:he.className,it,Ce),direction:U,checkable:i&&J.createElement("span",{className:`${w}-checkbox-inner`}),selectable:Q,switcherIcon:$e,draggable:ye}),De))}),O;(function(ke){ke[ke.None=0]="None",ke[ke.Start=1]="Start",ke[ke.End=2]="End"})(O||(O={}));function ze(ke,et){function Xe(U){const{key:Se,children:he}=U;et(Se,U)!==!1&&ze(he||[],et)}ke.forEach(Xe)}function S(ke){let{treeData:et,expandedKeys:Xe,startKey:U,endKey:Se}=ke;const he=[];let ot=O.None;if(U&&U===Se)return[U];if(!U||!Se)return[];function it(st){return st===U||st===Se}return ze(et,st=>{if(ot===O.End)return!1;if(it(st)){if(he.push(st),ot===O.None)ot=O.Start;else if(ot===O.Start)return ot=O.End,!1}else ot===O.Start&&he.push(st);return Xe.includes(st)}),he}function $(ke,et){const Xe=(0,H.Z)(et),U=[];return ze(ke,(Se,he)=>{const ot=Xe.indexOf(Se);return ot!==-1&&(U.push(he),Xe.splice(ot,1)),!!Xe.length}),U}var X=function(ke,et){var Xe={};for(var U in ke)Object.prototype.hasOwnProperty.call(ke,U)&&et.indexOf(U)<0&&(Xe[U]=ke[U]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,U=Object.getOwnPropertySymbols(ke);Se{var{defaultExpandAll:Xe,defaultExpandParent:U,defaultExpandedKeys:Se}=ke,he=X(ke,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const ot=J.useRef(),it=J.useRef(),st=()=>{const{keyEntities:ye}=(0,Te.I8)(Ne(he));let $e;return Xe?$e=Object.keys(ye):U?$e=(0,qe.r7)(he.expandedKeys||Se||[],ye):$e=he.expandedKeys||Se,$e},[Rt,V]=J.useState(he.selectedKeys||he.defaultSelectedKeys||[]),[se,De]=J.useState(()=>st());J.useEffect(()=>{"selectedKeys"in he&&V(he.selectedKeys)},[he.selectedKeys]),J.useEffect(()=>{"expandedKeys"in he&&De(he.expandedKeys)},[he.expandedKeys]);const i=(ye,$e)=>{var Ke;return"expandedKeys"in he||De(ye),(Ke=he.onExpand)===null||Ke===void 0?void 0:Ke.call(he,ye,$e)},Q=(ye,$e)=>{var Ke;const{multiple:G}=he,{node:nt,nativeEvent:Me}=$e,{key:Ue=""}=nt,rt=Ne(he),ft=Object.assign(Object.assign({},$e),{selected:!0}),Zt=(Me==null?void 0:Me.ctrlKey)||(Me==null?void 0:Me.metaKey),Pt=Me==null?void 0:Me.shiftKey;let ht;G&&Zt?(ht=ye,ot.current=Ue,it.current=ht,ft.selectedNodes=$(rt,ht)):G&&Pt?(ht=Array.from(new Set([].concat((0,H.Z)(it.current||[]),(0,H.Z)(S({treeData:rt,expandedKeys:se,startKey:Ue,endKey:ot.current}))))),ft.selectedNodes=$(rt,ht)):(ht=[Ue],ot.current=Ue,it.current=ht,ft.selectedNodes=$(rt,ht)),(Ke=he.onSelect)===null||Ke===void 0||Ke.call(he,ht,ft),"selectedKeys"in he||V(ht)},{getPrefixCls:We,direction:Ze}=J.useContext(ge.E_),{prefixCls:h,className:w,showIcon:b=!0,expandAction:q="click"}=he,le=X(he,["prefixCls","className","showIcon","expandAction"]),Ee=We("tree",h),Ce=E()(`${Ee}-directory`,{[`${Ee}-directory-rtl`]:Ze==="rtl"},w);return J.createElement(ve,Object.assign({icon:fe,ref:et,blockNode:!0},le,{showIcon:b,expandAction:q,prefixCls:Ee,className:Ce,expandedKeys:se,selectedKeys:Rt,onSelect:Q,onExpand:i}))};var ct=J.forwardRef(je);const ut=ve;ut.DirectoryTree=ct,ut.TreeNode=A.O;var Re=ut},32157:function(Xt,tt,c){c.d(tt,{TM:function(){return me},Yk:function(){return Ye}});var A=c(86557),H=c(63185),D=c(14747),He=c(33507),J=c(45503),k=c(67968);const n=new A.E4("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ue=(j,K)=>({[`.${j}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${K.motionDurationSlow}`}}}),Ae=(j,K)=>({[`.${j}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:K.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${K.lineWidthBold}px solid ${K.colorPrimary}`,borderRadius:"50%",content:'""'}}}),be=(j,K)=>{const{treeCls:E,treeNodeCls:qe,treeNodePadding:Te,titleHeight:ge,nodeSelectedBg:Ie,nodeHoverBg:N}=K,L=K.paddingXS;return{[E]:Object.assign(Object.assign({},(0,D.Wf)(K)),{background:K.colorBgContainer,borderRadius:K.borderRadius,transition:`background-color ${K.motionDurationSlow}`,[`&${E}-rtl`]:{[`${E}-switcher`]:{"&_close":{[`${E}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${E}-active-focused)`]:Object.assign({},(0,D.oN)(K)),[`${E}-list-holder-inner`]:{alignItems:"flex-start"},[`&${E}-block-node`]:{[`${E}-list-holder-inner`]:{alignItems:"stretch",[`${E}-node-content-wrapper`]:{flex:"auto"},[`${qe}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:Te,insetInlineStart:0,border:`1px solid ${K.colorPrimary}`,opacity:0,animationName:n,animationDuration:K.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${qe}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${Te}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${E}-node-content-wrapper`]:{color:K.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${E}-node-content-wrapper`]:Object.assign({},(0,D.oN)(K)),[`&:not(${qe}-disabled).filter-node ${E}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${E}-draggable-icon`]:{flexShrink:0,width:ge,lineHeight:`${ge}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${K.motionDurationSlow}`,[`${qe}:hover &`]:{opacity:.45}},[`&${qe}-disabled`]:{[`${E}-draggable-icon`]:{visibility:"hidden"}}}},[`${E}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:ge}},[`${E}-draggable-icon`]:{visibility:"hidden"},[`${E}-switcher`]:Object.assign(Object.assign({},ue(j,K)),{position:"relative",flex:"none",alignSelf:"stretch",width:ge,margin:0,lineHeight:`${ge}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${E}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:K.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:ge/2,bottom:-Te,marginInlineStart:-1,borderInlineEnd:`1px solid ${K.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:ge/2*.8,height:ge/2,borderBottom:`1px solid ${K.colorBorder}`,content:'""'}}}),[`${E}-checkbox`]:{top:"initial",marginInlineEnd:L,alignSelf:"flex-start",marginTop:K.marginXXS},[`${E}-node-content-wrapper, ${E}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:ge,margin:0,padding:`0 ${K.paddingXS/2}px`,color:"inherit",lineHeight:`${ge}px`,background:"transparent",borderRadius:K.borderRadius,cursor:"pointer",transition:`all ${K.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:N},[`&${E}-node-selected`]:{backgroundColor:Ie},[`${E}-iconEle`]:{display:"inline-block",width:ge,height:ge,lineHeight:`${ge}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${E}-unselectable ${E}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${E}-node-content-wrapper`]:Object.assign({lineHeight:`${ge}px`,userSelect:"none"},Ae(j,K)),[`${qe}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${K.colorPrimary}`}},"&-show-line":{[`${E}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:ge/2,bottom:-Te,borderInlineEnd:`1px solid ${K.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${E}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${qe}-leaf-last`]:{[`${E}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${ge/2}px !important`}}}}})}},de=j=>{const{treeCls:K,treeNodeCls:E,treeNodePadding:qe,directoryNodeSelectedBg:Te,directoryNodeSelectedColor:ge}=j;return{[`${K}${K}-directory`]:{[E]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:qe,insetInlineStart:0,transition:`background-color ${j.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:j.controlItemBgHover}},"> *":{zIndex:1},[`${K}-switcher`]:{transition:`color ${j.motionDurationMid}`},[`${K}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${K}-node-selected`]:{color:ge,background:"transparent"}},"&-selected":{[` + &:hover::before, + &::before + `]:{background:Te},[`${K}-switcher`]:{color:ge},[`${K}-node-content-wrapper`]:{color:ge,background:"transparent"}}}}}},Ye=(j,K)=>{const E=`.${j}`,qe=`${E}-treenode`,Te=K.paddingXS/2,ge=(0,J.TS)(K,{treeCls:E,treeNodeCls:qe,treeNodePadding:Te});return[be(j,ge),de(ge)]},me=j=>{const{controlHeightSM:K}=j;return{titleHeight:K,nodeHoverBg:j.controlItemBgHover,nodeSelectedBg:j.controlItemBgActive}};tt.ZP=(0,k.Z)("Tree",(j,K)=>{let{prefixCls:E}=K;return[{[j.componentCls]:(0,H.C2)(`${E}-checkbox`,j)},Ye(E,j),(0,He.Z)(j)]},j=>{const{colorTextLightSolid:K,colorPrimary:E}=j;return Object.assign(Object.assign({},me(j)),{directoryNodeSelectedColor:K,directoryNodeSelectedBg:E})})},77632:function(Xt,tt,c){c.d(tt,{Z:function(){return L}});var A=c(87462),H=c(67294),D={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},He=D,J=c(93771),k=function(ee,B){return H.createElement(J.Z,(0,A.Z)({},ee,{ref:B,icon:He}))},n=H.forwardRef(k),ue=c(5309),Ae=c(19267),be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},de=be,Ye=function(ee,B){return H.createElement(J.Z,(0,A.Z)({},ee,{ref:B,icon:de}))},me=H.forwardRef(Ye),j={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},K=j,E=function(ee,B){return H.createElement(J.Z,(0,A.Z)({},ee,{ref:B,icon:K}))},qe=H.forwardRef(E),Te=c(94184),ge=c.n(Te),Ie=c(96159),L=W=>{const{prefixCls:ee,switcherIcon:B,treeNodeProps:pe,showLine:P}=W,{isLeaf:C,expanded:d,loading:ve}=pe;if(ve)return H.createElement(Ae.Z,{className:`${ee}-switcher-loading-icon`});let O;if(P&&typeof P=="object"&&(O=P.showLeafIcon),C){if(!P)return null;if(typeof O!="boolean"&&O){const $=typeof O=="function"?O(pe):O,X=`${ee}-switcher-line-custom-icon`;return(0,Ie.l$)($)?(0,Ie.Tm)($,{className:ge()($.props.className||"",X)}):$}return O?H.createElement(ue.Z,{className:`${ee}-switcher-line-icon`}):H.createElement("span",{className:`${ee}-switcher-leaf-line`})}const ze=`${ee}-switcher-icon`,S=typeof B=="function"?B(pe):B;return(0,Ie.l$)(S)?(0,Ie.Tm)(S,{className:ge()(S.props.className||"",ze)}):S!==void 0?S:P?d?H.createElement(me,{className:`${ee}-switcher-line-icon`}):H.createElement(qe,{className:`${ee}-switcher-line-icon`}):H.createElement(n,{className:ze})}},5309:function(Xt,tt,c){c.d(tt,{Z:function(){return n}});var A=c(87462),H=c(67294),D={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},He=D,J=c(93771),k=function(Ae,be){return H.createElement(J.Z,(0,A.Z)({},Ae,{ref:be,icon:He}))},n=H.forwardRef(k)},86128:function(Xt,tt,c){c.d(tt,{Z:function(){return B}});var A=c(87462),H=c(4942),D=c(91),He=c(1413),J=c(15671),k=c(43144),n=c(97326),ue=c(32531),Ae=c(73568),be=c(94184),de=c.n(be),Ye=c(64217),me=c(67294),j=c(27822),K=function(P){for(var C=P.prefixCls,d=P.level,ve=P.isStart,O=P.isEnd,ze="".concat(C,"-indent-unit"),S=[],$=0;$0&&arguments[0]!==void 0?arguments[0]:[],se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],De=V.length,i=se.length;if(Math.abs(De-i)!==1)return{add:!1,key:null};function Q(We,Ze){var h=new Map;We.forEach(function(b){h.set(b,!0)});var w=Ze.filter(function(b){return!h.has(b)});return w.length===1?w[0]:null}return De ").concat(se);return se}var et=E.forwardRef(function(V,se){var De=V.prefixCls,i=V.data,Q=V.selectable,We=V.checkable,Ze=V.expandedKeys,h=V.selectedKeys,w=V.checkedKeys,b=V.loadedKeys,q=V.loadingKeys,le=V.halfCheckedKeys,Ee=V.keyEntities,Ce=V.disabled,ye=V.dragging,$e=V.dragOverNodeKey,Ke=V.dropPosition,G=V.motion,nt=V.height,Me=V.itemHeight,Ue=V.virtual,rt=V.focusable,ft=V.activeItem,Zt=V.focused,Pt=V.tabIndex,ht=V.onKeyDown,Gt=V.onFocus,Ut=V.onBlur,Ft=V.onActiveChange,qt=V.onListChangeStart,fn=V.onListChangeEnd,mt=(0,N.Z)(V,$),vn=E.useRef(null),ln=E.useRef(null);E.useImperativeHandle(se,function(){return{scrollTo:function(bn){vn.current.scrollTo(bn)},getIndentWidth:function(){return ln.current.offsetWidth}}});var pn=E.useState(Ze),Ln=(0,Ie.Z)(pn,2),zn=Ln[0],qn=Ln[1],_n=E.useState(i),jn=(0,Ie.Z)(_n,2),Cn=jn[0],Wn=jn[1],Un=E.useState(i),Vn=(0,Ie.Z)(Un,2),er=Vn[0],Rn=Vn[1],Bn=E.useState([]),mn=(0,Ie.Z)(Bn,2),jr=mn[0],tr=mn[1],Cr=E.useState(null),ir=(0,Ie.Z)(Cr,2),br=ir[0],nr=ir[1],sr=E.useRef(i);sr.current=i;function rr(){var At=sr.current;Wn(At),Rn(At),tr([]),nr(null),fn()}(0,L.Z)(function(){qn(Ze);var At=ze(zn,Ze);if(At.key!==null)if(At.add){var bn=Cn.findIndex(function(Pn){var En=Pn.key;return En===At.key}),Sn=ut(S(Cn,i,At.key),Ue,nt,Me),kn=Cn.slice();kn.splice(bn+1,0,ct),Rn(kn),tr(Sn),nr("show")}else{var $n=i.findIndex(function(Pn){var En=Pn.key;return En===At.key}),Kn=ut(S(i,Cn,At.key),Ue,nt,Me),Xn=i.slice();Xn.splice($n+1,0,ct),Rn(Xn),tr(Kn),nr("hide")}else Cn!==i&&(Wn(i),Rn(i))},[Ze,i]),E.useEffect(function(){ye||rr()},[ye]);var dr=G?er:i,cr={expandedKeys:Ze,selectedKeys:h,loadedKeys:b,loadingKeys:q,checkedKeys:w,halfCheckedKeys:le,dragOverNodeKey:$e,dropPosition:Ke,keyEntities:Ee};return E.createElement(E.Fragment,null,Zt&&ft&&E.createElement("span",{style:X,"aria-live":"assertive"},ke(ft)),E.createElement("div",null,E.createElement("input",{style:X,disabled:rt===!1||Ce,tabIndex:rt!==!1?Pt:null,onKeyDown:ht,onFocus:Gt,onBlur:Ut,value:"",onChange:fe,"aria-label":"for screen reader"})),E.createElement("div",{className:"".concat(De,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},E.createElement("div",{className:"".concat(De,"-indent")},E.createElement("div",{ref:ln,className:"".concat(De,"-indent-unit")}))),E.createElement(W.Z,(0,A.Z)({},mt,{data:dr,itemKey:Re,height:nt,fullHeight:!1,virtual:Ue,itemHeight:Me,prefixCls:"".concat(De,"-list"),ref:vn,onVisibleChange:function(bn,Sn){var kn=new Set(bn),$n=Sn.filter(function(Kn){return!kn.has(Kn)});$n.some(function(Kn){return Re(Kn)===Ne})&&rr()}}),function(At){var bn=At.pos,Sn=(0,A.Z)({},(ge(At.data),At.data)),kn=At.title,$n=At.key,Kn=At.isStart,Xn=At.isEnd,Pn=(0,P.km)($n,bn);delete Sn.key,delete Sn.children;var En=(0,P.H8)(Pn,cr);return E.createElement(O,(0,A.Z)({},Sn,En,{title:kn,active:!!ft&&$n===ft.key,pos:bn,data:At.data,isStart:Kn,isEnd:Xn,motion:G,motionNodes:$n===Ne?jr:null,motionType:br,onMotionStart:qt,onMotionEnd:rr,treeNodeRequiredProps:cr,onMouseMove:function(){Ft(null)}}))}))});et.displayName="NodeList";var Xe=et,U=c(10225),Se=c(17341),he=c(35381),ot=10,it=function(V){(0,Ae.Z)(De,V);var se=(0,be.Z)(De);function De(){var i;(0,k.Z)(this,De);for(var Q=arguments.length,We=new Array(Q),Ze=0;Ze2&&arguments[2]!==void 0?arguments[2]:!1,le=i.state,Ee=le.dragChildrenKeys,Ce=le.dropPosition,ye=le.dropTargetKey,$e=le.dropTargetPos,Ke=le.dropAllowed;if(Ke){var G=i.props.onDrop;if(i.setState({dragOverNodeKey:null}),i.cleanDragState(),ye!==null){var nt=(0,He.Z)((0,He.Z)({},(0,P.H8)(ye,i.getTreeNodeRequiredProps())),{},{active:((b=i.getActiveItem())===null||b===void 0?void 0:b.key)===ye,data:(0,he.Z)(i.state.keyEntities,ye).node}),Me=Ee.indexOf(ye)!==-1;(0,K.ZP)(!Me,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Ue=(0,U.yx)($e),rt={event:h,node:(0,P.F)(nt),dragNode:i.dragNode?(0,P.F)(i.dragNode.props):null,dragNodesKeys:[i.dragNode.props.eventKey].concat(Ee),dropToGap:Ce!==0,dropPosition:Ce+Number(Ue[Ue.length-1])};q||G==null||G(rt),i.dragNode=null}}},i.cleanDragState=function(){var h=i.state.draggingNodeKey;h!==null&&i.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),i.dragStartMousePosition=null,i.currentMouseOverDroppableNodeKey=null},i.triggerExpandActionExpand=function(h,w){var b=i.state,q=b.expandedKeys,le=b.flattenNodes,Ee=w.expanded,Ce=w.key,ye=w.isLeaf;if(!(ye||h.shiftKey||h.metaKey||h.ctrlKey)){var $e=le.filter(function(G){return G.key===Ce})[0],Ke=(0,P.F)((0,He.Z)((0,He.Z)({},(0,P.H8)(Ce,i.getTreeNodeRequiredProps())),{},{data:$e.data}));i.setExpandedKeys(Ee?(0,U._5)(q,Ce):(0,U.L0)(q,Ce)),i.onNodeExpand(h,Ke)}},i.onNodeClick=function(h,w){var b=i.props,q=b.onClick,le=b.expandAction;le==="click"&&i.triggerExpandActionExpand(h,w),q==null||q(h,w)},i.onNodeDoubleClick=function(h,w){var b=i.props,q=b.onDoubleClick,le=b.expandAction;le==="doubleClick"&&i.triggerExpandActionExpand(h,w),q==null||q(h,w)},i.onNodeSelect=function(h,w){var b=i.state.selectedKeys,q=i.state,le=q.keyEntities,Ee=q.fieldNames,Ce=i.props,ye=Ce.onSelect,$e=Ce.multiple,Ke=w.selected,G=w[Ee.key],nt=!Ke;nt?$e?b=(0,U.L0)(b,G):b=[G]:b=(0,U._5)(b,G);var Me=b.map(function(Ue){var rt=(0,he.Z)(le,Ue);return rt?rt.node:null}).filter(function(Ue){return Ue});i.setUncontrolledState({selectedKeys:b}),ye==null||ye(b,{event:"select",selected:nt,node:w,selectedNodes:Me,nativeEvent:h.nativeEvent})},i.onNodeCheck=function(h,w,b){var q=i.state,le=q.keyEntities,Ee=q.checkedKeys,Ce=q.halfCheckedKeys,ye=i.props,$e=ye.checkStrictly,Ke=ye.onCheck,G=w.key,nt,Me={event:"check",node:w,checked:b,nativeEvent:h.nativeEvent};if($e){var Ue=b?(0,U.L0)(Ee,G):(0,U._5)(Ee,G),rt=(0,U._5)(Ce,G);nt={checked:Ue,halfChecked:rt},Me.checkedNodes=Ue.map(function(Ut){return(0,he.Z)(le,Ut)}).filter(function(Ut){return Ut}).map(function(Ut){return Ut.node}),i.setUncontrolledState({checkedKeys:Ue})}else{var ft=(0,Se.S)([].concat((0,J.Z)(Ee),[G]),!0,le),Zt=ft.checkedKeys,Pt=ft.halfCheckedKeys;if(!b){var ht=new Set(Zt);ht.delete(G);var Gt=(0,Se.S)(Array.from(ht),{checked:!1,halfCheckedKeys:Pt},le);Zt=Gt.checkedKeys,Pt=Gt.halfCheckedKeys}nt=Zt,Me.checkedNodes=[],Me.checkedNodesPositions=[],Me.halfCheckedKeys=Pt,Zt.forEach(function(Ut){var Ft=(0,he.Z)(le,Ut);if(Ft){var qt=Ft.node,fn=Ft.pos;Me.checkedNodes.push(qt),Me.checkedNodesPositions.push({node:qt,pos:fn})}}),i.setUncontrolledState({checkedKeys:Zt},!1,{halfCheckedKeys:Pt})}Ke==null||Ke(nt,Me)},i.onNodeLoad=function(h){var w=h.key,b=new Promise(function(q,le){i.setState(function(Ee){var Ce=Ee.loadedKeys,ye=Ce===void 0?[]:Ce,$e=Ee.loadingKeys,Ke=$e===void 0?[]:$e,G=i.props,nt=G.loadData,Me=G.onLoad;if(!nt||ye.indexOf(w)!==-1||Ke.indexOf(w)!==-1)return null;var Ue=nt(h);return Ue.then(function(){var rt=i.state.loadedKeys,ft=(0,U.L0)(rt,w);Me==null||Me(ft,{event:"load",node:h}),i.setUncontrolledState({loadedKeys:ft}),i.setState(function(Zt){return{loadingKeys:(0,U._5)(Zt.loadingKeys,w)}}),q()}).catch(function(rt){if(i.setState(function(Zt){return{loadingKeys:(0,U._5)(Zt.loadingKeys,w)}}),i.loadingRetryTimes[w]=(i.loadingRetryTimes[w]||0)+1,i.loadingRetryTimes[w]>=ot){var ft=i.state.loadedKeys;(0,K.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),i.setUncontrolledState({loadedKeys:(0,U.L0)(ft,w)}),q()}le(rt)}),{loadingKeys:(0,U.L0)(Ke,w)}})});return b.catch(function(){}),b},i.onNodeMouseEnter=function(h,w){var b=i.props.onMouseEnter;b==null||b({event:h,node:w})},i.onNodeMouseLeave=function(h,w){var b=i.props.onMouseLeave;b==null||b({event:h,node:w})},i.onNodeContextMenu=function(h,w){var b=i.props.onRightClick;b&&(h.preventDefault(),b({event:h,node:w}))},i.onFocus=function(){var h=i.props.onFocus;i.setState({focused:!0});for(var w=arguments.length,b=new Array(w),q=0;q1&&arguments[1]!==void 0?arguments[1]:!1,b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!i.destroyed){var q=!1,le=!0,Ee={};Object.keys(h).forEach(function(Ce){if(Ce in i.props){le=!1;return}q=!0,Ee[Ce]=h[Ce]}),q&&(!w||le)&&i.setState((0,He.Z)((0,He.Z)({},Ee),b))}},i.scrollTo=function(h){i.listRef.current.scrollTo(h)},i}return(0,n.Z)(De,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Q=this.props.activeKey;Q!==void 0&&Q!==this.state.activeKey&&(this.setState({activeKey:Q}),Q!==null&&this.scrollTo({key:Q}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var Q,We=this.state,Ze=We.focused,h=We.flattenNodes,w=We.keyEntities,b=We.draggingNodeKey,q=We.activeKey,le=We.dropLevelOffset,Ee=We.dropContainerKey,Ce=We.dropTargetKey,ye=We.dropPosition,$e=We.dragOverNodeKey,Ke=We.indent,G=this.props,nt=G.prefixCls,Me=G.className,Ue=G.style,rt=G.showLine,ft=G.focusable,Zt=G.tabIndex,Pt=Zt===void 0?0:Zt,ht=G.selectable,Gt=G.showIcon,Ut=G.icon,Ft=G.switcherIcon,qt=G.draggable,fn=G.checkable,mt=G.checkStrictly,vn=G.disabled,ln=G.motion,pn=G.loadData,Ln=G.filterTreeNode,zn=G.height,qn=G.itemHeight,_n=G.virtual,jn=G.titleRender,Cn=G.dropIndicatorRender,Wn=G.onContextMenu,Un=G.onScroll,Vn=G.direction,er=G.rootClassName,Rn=G.rootStyle,Bn=(0,j.Z)(this.props,{aria:!0,data:!0}),mn;return qt&&((0,D.Z)(qt)==="object"?mn=qt:typeof qt=="function"?mn={nodeDraggable:qt}:mn={}),E.createElement(qe.k.Provider,{value:{prefixCls:nt,selectable:ht,showIcon:Gt,icon:Ut,switcherIcon:Ft,draggable:mn,draggingNodeKey:b,checkable:fn,checkStrictly:mt,disabled:vn,keyEntities:w,dropLevelOffset:le,dropContainerKey:Ee,dropTargetKey:Ce,dropPosition:ye,dragOverNodeKey:$e,indent:Ke,direction:Vn,dropIndicatorRender:Cn,loadData:pn,filterTreeNode:Ln,titleRender:jn,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},E.createElement("div",{role:"tree",className:Ye()(nt,Me,er,(Q={},(0,H.Z)(Q,"".concat(nt,"-show-line"),rt),(0,H.Z)(Q,"".concat(nt,"-focused"),Ze),(0,H.Z)(Q,"".concat(nt,"-active-focused"),q!==null),Q)),style:Rn},E.createElement(Xe,(0,A.Z)({ref:this.listRef,prefixCls:nt,style:Ue,data:h,disabled:vn,selectable:ht,checkable:!!fn,motion:ln,dragging:b!==null,height:zn,itemHeight:qn,virtual:_n,focusable:ft,focused:Ze,tabIndex:Pt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Wn,onScroll:Un},this.getTreeNodeRequiredProps(),Bn))))}}],[{key:"getDerivedStateFromProps",value:function(Q,We){var Ze=We.prevProps,h={prevProps:Q};function w(ft){return!Ze&&ft in Q||Ze&&Ze[ft]!==Q[ft]}var b,q=We.fieldNames;if(w("fieldNames")&&(q=(0,P.w$)(Q.fieldNames),h.fieldNames=q),w("treeData")?b=Q.treeData:w("children")&&((0,K.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),b=(0,P.zn)(Q.children)),b){h.treeData=b;var le=(0,P.I8)(b,{fieldNames:q});h.keyEntities=(0,He.Z)((0,H.Z)({},Ne,Ve),le.keyEntities)}var Ee=h.keyEntities||We.keyEntities;if(w("expandedKeys")||Ze&&w("autoExpandParent"))h.expandedKeys=Q.autoExpandParent||!Ze&&Q.defaultExpandParent?(0,U.r7)(Q.expandedKeys,Ee):Q.expandedKeys;else if(!Ze&&Q.defaultExpandAll){var Ce=(0,He.Z)({},Ee);delete Ce[Ne],h.expandedKeys=Object.keys(Ce).map(function(ft){return Ce[ft].key})}else!Ze&&Q.defaultExpandedKeys&&(h.expandedKeys=Q.autoExpandParent||Q.defaultExpandParent?(0,U.r7)(Q.defaultExpandedKeys,Ee):Q.defaultExpandedKeys);if(h.expandedKeys||delete h.expandedKeys,b||h.expandedKeys){var ye=(0,P.oH)(b||We.treeData,h.expandedKeys||We.expandedKeys,q);h.flattenNodes=ye}if(Q.selectable&&(w("selectedKeys")?h.selectedKeys=(0,U.BT)(Q.selectedKeys,Q):!Ze&&Q.defaultSelectedKeys&&(h.selectedKeys=(0,U.BT)(Q.defaultSelectedKeys,Q))),Q.checkable){var $e;if(w("checkedKeys")?$e=(0,U.E6)(Q.checkedKeys)||{}:!Ze&&Q.defaultCheckedKeys?$e=(0,U.E6)(Q.defaultCheckedKeys)||{}:b&&($e=(0,U.E6)(Q.checkedKeys)||{checkedKeys:We.checkedKeys,halfCheckedKeys:We.halfCheckedKeys}),$e){var Ke=$e,G=Ke.checkedKeys,nt=G===void 0?[]:G,Me=Ke.halfCheckedKeys,Ue=Me===void 0?[]:Me;if(!Q.checkStrictly){var rt=(0,Se.S)(nt,!0,Ee);nt=rt.checkedKeys,Ue=rt.halfCheckedKeys}h.checkedKeys=nt,h.halfCheckedKeys=Ue}}return w("loadedKeys")&&(h.loadedKeys=Q.loadedKeys),h}}]),De}(E.Component);it.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:Te,allowDrop:function(){return!0},expandAction:!1},it.TreeNode=B.Z;var st=it,Rt=st},10225:function(Xt,tt,c){c.d(tt,{BT:function(){return E},E6:function(){return ge},L0:function(){return be},OM:function(){return K},_5:function(){return Ae},r7:function(){return Ie},wA:function(){return Ye},yx:function(){return de}});var A=c(74902),H=c(71002),D=c(80334),He=c(67294),J=c(86128),k=c(35381),n=c(1089),ue=null;function Ae(N,L){if(!N)return[];var W=N.slice(),ee=W.indexOf(L);return ee>=0&&W.splice(ee,1),W}function be(N,L){var W=(N||[]).slice();return W.indexOf(L)===-1&&W.push(L),W}function de(N){return N.split("-")}function Ye(N,L){var W=[],ee=(0,k.Z)(L,N);function B(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];pe.forEach(function(P){var C=P.key,d=P.children;W.push(C),B(d)})}return B(ee.children),W}function me(N){if(N.parent){var L=de(N.pos);return Number(L[L.length-1])===N.parent.children.length-1}return!1}function j(N){var L=de(N.pos);return Number(L[L.length-1])===0}function K(N,L,W,ee,B,pe,P,C,d,ve){var O,ze=N.clientX,S=N.clientY,$=N.target.getBoundingClientRect(),X=$.top,fe=$.height,Ne=(ve==="rtl"?-1:1)*(((B==null?void 0:B.x)||0)-ze),je=(Ne-12)/ee,Ve=(0,k.Z)(C,W.props.eventKey);if(S-1.5?pe({dragNode:ot,dropNode:it,dropPosition:1})?U=1:st=!1:pe({dragNode:ot,dropNode:it,dropPosition:0})?U=0:pe({dragNode:ot,dropNode:it,dropPosition:1})?U=1:st=!1:pe({dragNode:ot,dropNode:it,dropPosition:1})?U=1:st=!1,{dropPosition:U,dropLevelOffset:Se,dropTargetKey:Ve.key,dropTargetPos:Ve.pos,dragOverNodeKey:Xe,dropContainerKey:U===0?null:((O=Ve.parent)===null||O===void 0?void 0:O.key)||null,dropAllowed:st}}function E(N,L){if(N){var W=L.multiple;return W?N.slice():N.length?[N[0]]:N}}var qe=function(L){return L};function Te(N,L){if(!N)return[];var W=L||{},ee=W.processProps,B=ee===void 0?qe:ee,pe=Array.isArray(N)?N:[N];return pe.map(function(P){var C=P.children,d=_objectWithoutProperties(P,ue),ve=Te(C,L);return React.createElement(TreeNode,_extends({key:d.key},B(d)),ve)})}function ge(N){if(!N)return null;var L;if(Array.isArray(N))L={checkedKeys:N,halfCheckedKeys:void 0};else if((0,H.Z)(N)==="object")L={checkedKeys:N.checked||void 0,halfCheckedKeys:N.halfChecked||void 0};else return(0,D.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return L}function Ie(N,L){var W=new Set;function ee(B){if(!W.has(B)){var pe=(0,k.Z)(L,B);if(pe){W.add(B);var P=pe.parent,C=pe.node;C.disabled||P&&ee(P.key)}}}return(N||[]).forEach(function(B){ee(B)}),(0,A.Z)(W)}},17341:function(Xt,tt,c){c.d(tt,{S:function(){return n}});var A=c(80334),H=c(35381);function D(ue,Ae){var be=new Set;return ue.forEach(function(de){Ae.has(de)||be.add(de)}),be}function He(ue){var Ae=ue||{},be=Ae.disabled,de=Ae.disableCheckbox,Ye=Ae.checkable;return!!(be||de)||Ye===!1}function J(ue,Ae,be,de){for(var Ye=new Set(ue),me=new Set,j=0;j<=be;j+=1){var K=Ae.get(j)||new Set;K.forEach(function(ge){var Ie=ge.key,N=ge.node,L=ge.children,W=L===void 0?[]:L;Ye.has(Ie)&&!de(N)&&W.filter(function(ee){return!de(ee.node)}).forEach(function(ee){Ye.add(ee.key)})})}for(var E=new Set,qe=be;qe>=0;qe-=1){var Te=Ae.get(qe)||new Set;Te.forEach(function(ge){var Ie=ge.parent,N=ge.node;if(!(de(N)||!ge.parent||E.has(ge.parent.key))){if(de(ge.parent.node)){E.add(Ie.key);return}var L=!0,W=!1;(Ie.children||[]).filter(function(ee){return!de(ee.node)}).forEach(function(ee){var B=ee.key,pe=Ye.has(B);L&&!pe&&(L=!1),!W&&(pe||me.has(B))&&(W=!0)}),L&&Ye.add(Ie.key),W&&me.add(Ie.key),E.add(Ie.key)}})}return{checkedKeys:Array.from(Ye),halfCheckedKeys:Array.from(D(me,Ye))}}function k(ue,Ae,be,de,Ye){for(var me=new Set(ue),j=new Set(Ae),K=0;K<=de;K+=1){var E=be.get(K)||new Set;E.forEach(function(Ie){var N=Ie.key,L=Ie.node,W=Ie.children,ee=W===void 0?[]:W;!me.has(N)&&!j.has(N)&&!Ye(L)&&ee.filter(function(B){return!Ye(B.node)}).forEach(function(B){me.delete(B.key)})})}j=new Set;for(var qe=new Set,Te=de;Te>=0;Te-=1){var ge=be.get(Te)||new Set;ge.forEach(function(Ie){var N=Ie.parent,L=Ie.node;if(!(Ye(L)||!Ie.parent||qe.has(Ie.parent.key))){if(Ye(Ie.parent.node)){qe.add(N.key);return}var W=!0,ee=!1;(N.children||[]).filter(function(B){return!Ye(B.node)}).forEach(function(B){var pe=B.key,P=me.has(pe);W&&!P&&(W=!1),!ee&&(P||j.has(pe))&&(ee=!0)}),W||me.delete(N.key),ee&&j.add(N.key),qe.add(N.key)}})}return{checkedKeys:Array.from(me),halfCheckedKeys:Array.from(D(j,me))}}function n(ue,Ae,be,de){var Ye=[],me;de?me=de:me=He;var j=new Set(ue.filter(function(Te){var ge=!!(0,H.Z)(be,Te);return ge||Ye.push(Te),ge})),K=new Map,E=0;Object.keys(be).forEach(function(Te){var ge=be[Te],Ie=ge.level,N=K.get(Ie);N||(N=new Set,K.set(Ie,N)),N.add(ge),E=Math.max(E,Ie)}),(0,A.ZP)(!Ye.length,"Tree missing follow keys: ".concat(Ye.slice(0,100).map(function(Te){return"'".concat(Te,"'")}).join(", ")));var qe;return Ae===!0?qe=J(j,K,E,me):qe=k(j,Ae.halfCheckedKeys,K,E,me),qe}},35381:function(Xt,tt,c){c.d(tt,{Z:function(){return A}});function A(H,D){return H[D]}},1089:function(Xt,tt,c){c.d(tt,{F:function(){return Ie},H8:function(){return ge},I8:function(){return Te},km:function(){return Ye},oH:function(){return E},w$:function(){return me},zn:function(){return K}});var A=c(71002),H=c(74902),D=c(1413),He=c(91),J=c(50344),k=c(98423),n=c(80334),ue=c(35381),Ae=["children"];function be(N,L){return"".concat(N,"-").concat(L)}function de(N){return N&&N.type&&N.type.isTreeNode}function Ye(N,L){return N!=null?N:L}function me(N){var L=N||{},W=L.title,ee=L._title,B=L.key,pe=L.children,P=W||"title";return{title:P,_title:ee||[P],key:B||"key",children:pe||"children"}}function j(N,L){var W=new Map;function ee(B){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(B||[]).forEach(function(P){var C=P[L.key],d=P[L.children];warning(C!=null,"Tree node must have a certain key: [".concat(pe).concat(C,"]"));var ve=String(C);warning(!W.has(ve)||C===null||C===void 0,"Same 'key' exist in the Tree: ".concat(ve)),W.set(ve,!0),ee(d,"".concat(pe).concat(ve," > "))})}ee(N)}function K(N){function L(W){var ee=(0,J.Z)(W);return ee.map(function(B){if(!de(B))return(0,n.ZP)(!B,"Tree/TreeNode can only accept TreeNode as children."),null;var pe=B.key,P=B.props,C=P.children,d=(0,He.Z)(P,Ae),ve=(0,D.Z)({key:pe},d),O=L(C);return O.length&&(ve.children=O),ve}).filter(function(B){return B})}return L(N)}function E(N,L,W){var ee=me(W),B=ee._title,pe=ee.key,P=ee.children,C=new Set(L===!0?[]:L),d=[];function ve(O){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return O.map(function(S,$){for(var X=be(ze?ze.pos:"0",$),fe=Ye(S[pe],X),Ne,je=0;je1&&arguments[1]!==void 0?arguments[1]:{},W=L.initWrapper,ee=L.processEntity,B=L.onProcessFinished,pe=L.externalGetKey,P=L.childrenPropName,C=L.fieldNames,d=arguments.length>2?arguments[2]:void 0,ve=pe||d,O={},ze={},S={posEntities:O,keyEntities:ze};return W&&(S=W(S)||S),qe(N,function($){var X=$.node,fe=$.index,Ne=$.pos,je=$.key,Ve=$.parentPos,ct=$.level,ut=$.nodes,Re={node:X,nodes:ut,index:fe,key:je,pos:Ne,level:ct},ke=Ye(je,Ne);O[Ne]=Re,ze[ke]=Re,Re.parent=O[Ve],Re.parent&&(Re.parent.children=Re.parent.children||[],Re.parent.children.push(Re)),ee&&ee(Re,S)},{externalGetKey:ve,childrenPropName:P,fieldNames:C}),B&&B(S),S}function ge(N,L){var W=L.expandedKeys,ee=L.selectedKeys,B=L.loadedKeys,pe=L.loadingKeys,P=L.checkedKeys,C=L.halfCheckedKeys,d=L.dragOverNodeKey,ve=L.dropPosition,O=L.keyEntities,ze=(0,ue.Z)(O,N),S={eventKey:N,expanded:W.indexOf(N)!==-1,selected:ee.indexOf(N)!==-1,loaded:B.indexOf(N)!==-1,loading:pe.indexOf(N)!==-1,checked:P.indexOf(N)!==-1,halfChecked:C.indexOf(N)!==-1,pos:String(ze?ze.pos:""),dragOver:d===N&&ve===0,dragOverGapTop:d===N&&ve===-1,dragOverGapBottom:d===N&&ve===1};return S}function Ie(N){var L=N.data,W=N.expanded,ee=N.selected,B=N.checked,pe=N.loaded,P=N.loading,C=N.halfChecked,d=N.dragOver,ve=N.dragOverGapTop,O=N.dragOverGapBottom,ze=N.pos,S=N.active,$=N.eventKey,X=(0,D.Z)((0,D.Z)({},L),{},{expanded:W,selected:ee,checked:B,loaded:pe,loading:P,halfChecked:C,dragOver:d,dragOverGapTop:ve,dragOverGapBottom:O,pos:ze,active:S,key:$});return"props"in X||Object.defineProperty(X,"props",{get:function(){return(0,n.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),N}}),X}},64019:function(Xt,tt,c){c.d(tt,{Z:function(){return H}});var A=c(73935);function H(D,He,J,k){var n=A.unstable_batchedUpdates?function(Ae){A.unstable_batchedUpdates(J,Ae)}:J;return D!=null&&D.addEventListener&&D.addEventListener(He,n,k),{remove:function(){D!=null&&D.removeEventListener&&D.removeEventListener(He,n,k)}}}},27678:function(Xt,tt,c){c.d(tt,{g1:function(){return de},os:function(){return me}});var A=/margin|padding|width|height|max|min|offset/,H={left:!0,top:!0},D={cssFloat:1,styleFloat:1,float:1};function He(j){return j.nodeType===1?j.ownerDocument.defaultView.getComputedStyle(j,null):{}}function J(j,K,E){if(K=K.toLowerCase(),E==="auto"){if(K==="height")return j.offsetHeight;if(K==="width")return j.offsetWidth}return K in H||(H[K]=A.test(K)),H[K]?parseFloat(E)||0:E}function k(j,K){var E=arguments.length,qe=He(j);return K=D[K]?"cssFloat"in j.style?"cssFloat":"styleFloat":K,E===1?qe:J(j,K,qe[K]||j.style[K])}function n(j,K,E){var qe=arguments.length;if(K=D[K]?"cssFloat"in j.style?"cssFloat":"styleFloat":K,qe===3)return typeof E=="number"&&A.test(K)&&(E="".concat(E,"px")),j.style[K]=E,E;for(var Te in K)K.hasOwnProperty(Te)&&n(j,Te,K[Te]);return He(j)}function ue(j){return j===document.body?document.documentElement.clientWidth:j.offsetWidth}function Ae(j){return j===document.body?window.innerHeight||document.documentElement.clientHeight:j.offsetHeight}function be(){var j=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),K=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:j,height:K}}function de(){var j=document.documentElement.clientWidth,K=window.innerHeight||document.documentElement.clientHeight;return{width:j,height:K}}function Ye(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function me(j){var K=j.getBoundingClientRect(),E=document.documentElement;return{left:K.left+(window.pageXOffset||E.scrollLeft)-(E.clientLeft||document.body.clientLeft||0),top:K.top+(window.pageYOffset||E.scrollTop)-(E.clientTop||document.body.clientTop||0)}}},79370:function(Xt,tt,c){c.d(tt,{G:function(){return He}});var A=c(98924),H=function(k){if((0,A.Z)()&&window.document.documentElement){var n=Array.isArray(k)?k:[k],ue=window.document.documentElement;return n.some(function(Ae){return Ae in ue.style})}return!1},D=function(k,n){if(!H(k))return!1;var ue=document.createElement("div"),Ae=ue.style[k];return ue.style[k]=n,ue.style[k]!==Ae};function He(J,k){return!Array.isArray(J)&&k!==void 0?D(J,k):H(J)}}}]); diff --git a/305.81fb0537.async.js b/305.81fb0537.async.js new file mode 100644 index 0000000000..0a699ce79f --- /dev/null +++ b/305.81fb0537.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[305],{40305:function(y,t,u){u.r(t),u.d(t,{modelica:function(){return w}});function r(n){for(var e={},i=n.split(" "),l=0;l+\-\/^\[\]]/,d=/(:=|<=|>=|==|<>|\.\+|\.\-|\.\*|\.\/|\.\^)/,o=/[0-9]/,k=/[_a-zA-Z]/;function h(n,e){return n.skipToEnd(),e.tokenize=null,"comment"}function b(n,e){for(var i=!1,l;l=n.next();){if(i&&l=="/"){e.tokenize=null;break}i=l=="*"}return"comment"}function v(n,e){for(var i=!1,l;(l=n.next())!=null;){if(l=='"'&&!i){e.tokenize=null,e.sol=!1;break}i=!i&&l=="\\"}return"string"}function g(n,e){for(n.eatWhile(o);n.eat(o)||n.eat(k););var i=n.current();return e.sol&&(i=="package"||i=="model"||i=="when"||i=="connector")?e.level++:e.sol&&i=="end"&&e.level>0&&e.level--,e.tokenize=null,e.sol=!1,a.propertyIsEnumerable(i)?"keyword":c.propertyIsEnumerable(i)?"builtin":f.propertyIsEnumerable(i)?"atom":"variable"}function z(n,e){for(;n.eat(/[^']/););return e.tokenize=null,e.sol=!1,n.eat("'")?"variable":"error"}function m(n,e){return n.eatWhile(o),n.eat(".")&&n.eatWhile(o),(n.eat("e")||n.eat("E"))&&(n.eat("-")||n.eat("+"),n.eatWhile(o)),e.tokenize=null,e.sol=!1,"number"}const w={name:"modelica",startState:function(){return{tokenize:null,level:0,sol:!0}},token:function(n,e){if(e.tokenize!=null)return e.tokenize(n,e);if(n.sol()&&(e.sol=!0),n.eatSpace())return e.tokenize=null,null;var i=n.next();if(i=="/"&&n.eat("/"))e.tokenize=h;else if(i=="/"&&n.eat("*"))e.tokenize=b;else{if(d.test(i+n.peek()))return n.next(),e.tokenize=null,"operator";if(p.test(i))return e.tokenize=null,"operator";if(k.test(i))e.tokenize=g;else if(i=="'"&&n.peek()&&n.peek()!="'")e.tokenize=z;else if(i=='"')e.tokenize=v;else if(o.test(i))e.tokenize=m;else return e.tokenize=null,"error"}return e.tokenize(n,e)},indent:function(n,e,i){if(n.tokenize!=null)return null;var l=n.level;return/(algorithm)/.test(e)&&l--,/(equation)/.test(e)&&l--,/(initial algorithm)/.test(e)&&l--,/(initial equation)/.test(e)&&l--,/(end)/.test(e)&&l--,l>0?i.unit*l:0},languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},autocomplete:s}}}}]); diff --git a/310.415837ba.async.js b/310.415837ba.async.js new file mode 100644 index 0000000000..4f83e6257d --- /dev/null +++ b/310.415837ba.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[310],{60310:function(o,i,$){$.r(i),$.d(i,{java:function(){return Z},javaLanguage:function(){return a}});var e=$(53105),O=$(35524);const X=(0,O.Gv)({null:O.pJ.null,instanceof:O.pJ.operatorKeyword,this:O.pJ.self,"new super assert open to with void":O.pJ.keyword,"class interface extends implements enum var":O.pJ.definitionKeyword,"module package import":O.pJ.moduleKeyword,"switch while for if else case default do break continue return try catch finally throw":O.pJ.controlKeyword,["requires exports opens uses provides public private protected static transitive abstract final strictfp synchronized native transient volatile throws"]:O.pJ.modifier,IntegerLiteral:O.pJ.integer,FloatingPointLiteral:O.pJ.float,"StringLiteral TextBlock":O.pJ.string,CharacterLiteral:O.pJ.character,LineComment:O.pJ.lineComment,BlockComment:O.pJ.blockComment,BooleanLiteral:O.pJ.bool,PrimitiveType:O.pJ.standard(O.pJ.typeName),TypeName:O.pJ.typeName,Identifier:O.pJ.variableName,"MethodName/Identifier":O.pJ.function(O.pJ.variableName),Definition:O.pJ.definition(O.pJ.variableName),ArithOp:O.pJ.arithmeticOperator,LogicOp:O.pJ.logicOperator,BitOp:O.pJ.bitwiseOperator,CompareOp:O.pJ.compareOperator,AssignOp:O.pJ.definitionOperator,UpdateOp:O.pJ.updateOperator,Asterisk:O.pJ.punctuation,Label:O.pJ.labelName,"( )":O.pJ.paren,"[ ]":O.pJ.squareBracket,"{ }":O.pJ.brace,".":O.pJ.derefOperator,", ;":O.pJ.separator}),s={__proto__:null,true:34,false:34,null:42,void:46,byte:48,short:48,int:48,long:48,char:48,float:48,double:48,boolean:48,extends:62,super:64,class:76,this:78,new:84,public:100,protected:102,private:104,abstract:106,static:108,final:110,strictfp:112,default:114,synchronized:116,native:118,transient:120,volatile:122,throws:150,implements:160,interface:166,enum:176,instanceof:236,open:265,module:267,requires:272,transitive:274,exports:276,to:278,opens:280,uses:282,provides:284,with:286,package:290,import:294,if:306,else:308,while:312,for:316,var:323,assert:330,switch:334,case:340,do:344,break:348,continue:352,return:356,throw:362,try:366,catch:370,finally:378},S=e.WQ.deserialize({version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lZr%Qrs%qst%Qtu!Kzu!Q%Q!Q![!Kz![!c%Q!c!}!Kz!}#R%Q#R#S!Kz#S#T%Q#T#o!Kz#o;'S%Q;'S;=`&s<%lO%Q_!M_VuZ&WSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV!M{VsR&WSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QU!NiX#cQ&WSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QV# ]V}R&WSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_# {Z&|X#cQ&WSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`#p%Q#p#q#!n#q;'S%Q;'S;=`&s<%lO%QU#!uV#dQ&WSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV##cV|R&WSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT#$PV#tP&WSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q",tokenizers:[0,1,2,3],topRules:{Program:[0,3]},dynamicPrecedences:{27:1,230:-1,241:-1},specialized:[{term:229,get:P=>s[P]||-1}],tokenPrec:7067});var Q=$(59119);const a=Q.qp.define({name:"java",parser:S.configure({props:[Q.uj.add({IfStatement:(0,Q.tC)({except:/^\s*({|else\b)/}),TryStatement:(0,Q.tC)({except:/^\s*({|catch|finally)\b/}),LabeledStatement:Q.ze,SwitchBlock:P=>{let r=P.textAfter,t=/^\s*\}/.test(r),l=/^\s*(case|default)\b/.test(r);return P.baseIndent+(t?0:l?1:2)*P.unit},Block:(0,Q.vw)({closing:"}"}),BlockComment:()=>null,Statement:(0,Q.tC)({except:/^{/})}),Q.x0.add({["Block SwitchBlock ClassBody ElementValueArrayInitializer ModuleBody EnumBody ConstructorBody InterfaceBody ArrayInitializer"]:Q.Dv,BlockComment(P){return{from:P.from+2,to:P.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});function Z(){return new Q.ri(a)}}}]); diff --git a/3127.4cc2c42d.async.js b/3127.4cc2c42d.async.js new file mode 100644 index 0000000000..d1918c5913 --- /dev/null +++ b/3127.4cc2c42d.async.js @@ -0,0 +1 @@ +(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[3127],{24565:function($,_,i){"use strict";i.d(_,{I:function(){return Ie}});var g=i(97685),v=i(4942),u=i(1413),c=i(74165),l=i(15861),m=i(91),h=i(10915),y=i(22270),o=i(48171),a=i(67294),W=function(s){var b=(0,a.useRef)();return(0,a.useEffect)(function(){b.current=s}),b.current},ce=i(60249),ve=i(41036),I=i(21770),d=i(75661),x=i(59734),B=0;function ee(n){var s=(0,a.useRef)(null),b=(0,a.useState)(function(){return n.proFieldKey?n.proFieldKey.toString():(B+=1,B.toString())}),p=(0,g.Z)(b,1),P=p[0],C=(0,a.useRef)(P),J=function(){var Z=(0,l.Z)((0,c.Z)().mark(function T(){var A,w,Q,k;return(0,c.Z)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return(A=s.current)===null||A===void 0||A.abort(),Q=new AbortController,s.current=Q,ue.next=5,Promise.race([(w=n.request)===null||w===void 0?void 0:w.call(n,n.params,n),new Promise(function(pe,fe){var E,R;(E=s.current)===null||E===void 0||(R=E.signal)===null||R===void 0||R.addEventListener("abort",function(){fe(new Error("aborted"))})})]);case 5:return k=ue.sent,ue.abrupt("return",k);case 7:case"end":return ue.stop()}},T)}));return function(){return Z.apply(this,arguments)}}();(0,a.useEffect)(function(){return function(){B+=1}},[]);var q=(0,x.ZP)([C.current,n.params],J,{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),O=q.data,V=q.error;return[O||V]}var se=i(98082),ae=i(74902),S=i(71002),Ce=i(72378),Oe=i.n(Ce),me=i(88306),he=i(8880),ge=i(74763),We=i(92210);function Ge(n){return(0,S.Z)(n)!=="object"?!1:n===null?!0:!(a.isValidElement(n)||n.constructor===RegExp||n instanceof Map||n instanceof Set||n instanceof HTMLElement||n instanceof Blob||n instanceof File||Array.isArray(n))}var hr=function(s,b){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,P=Object.keys(b).reduce(function(q,O){var V=b[O];return(0,ge.k)(V)||(q[O]=V),q},{});if(Object.keys(P).length<1||typeof window=="undefined"||(0,S.Z)(s)!=="object"||(0,ge.k)(s)||s instanceof Blob)return s;var C=Array.isArray(s)?[]:{},J=function q(O,V){var Z=Array.isArray(O),T=Z?[]:{};return O==null||O===void 0?T:(Object.keys(O).forEach(function(A){var w=function fe(E,R){return Array.isArray(E)&&E.forEach(function(D,ye){if(D){var H=R==null?void 0:R[ye];typeof D=="function"&&(R[ye]=D(R,A,O)),(0,S.Z)(D)==="object"&&!Array.isArray(D)&&Object.keys(D).forEach(function(be){var Ke=H==null?void 0:H[be];if(typeof D[be]=="function"&&Ke){var te=D[be](H[be],A,O);H[be]=(0,S.Z)(te)==="object"?te[be]:te}else(0,S.Z)(D[be])==="object"&&Array.isArray(D[be])&&Ke&&fe(D[be],Ke)}),(0,S.Z)(D)==="object"&&Array.isArray(D)&&H&&fe(D,H)}}),A},Q=V?[V,A].flat(1):[A].flat(1),k=O[A],X=(0,me.Z)(P,Q),ue=function(){var E,R,D=!1;if(typeof X=="function"){R=X==null?void 0:X(k,A,O);var ye=(0,S.Z)(R);ye!=="object"&&ye!=="undefined"?(E=A,D=!0):E=R}else E=w(X,k);if(Array.isArray(E)){T=(0,he.Z)(T,E,k);return}(0,S.Z)(E)==="object"&&!Array.isArray(C)?C=Oe()(C,E):(0,S.Z)(E)==="object"&&Array.isArray(C)?T=(0,u.Z)((0,u.Z)({},T),E):(E!==null||E!==void 0)&&(T=(0,he.Z)(T,[E],D?R:k))};if(X&&typeof X=="function"&&ue(),typeof window!="undefined"){if(Ge(k)){var pe=q(k,Q);if(Object.keys(pe).length<1)return;T=(0,he.Z)(T,[A],pe);return}ue()}}),p?T:O)};return C=Array.isArray(s)&&Array.isArray(C)?(0,ae.Z)(J(s)):(0,We.T)({},J(s),C),C},gr=i(23312),Ve=function(){return Ve=Object.assign||function(n){for(var s,b=1,p=arguments.length;b0&&arguments[0]!==void 0?arguments[0]:[],N=dr(G);if(!N)throw new Error("nameList is require");var oe=(z=Qe())===null||z===void 0?void 0:z.getFieldValue(N),Re=N?(0,he.Z)({},N,oe):oe;return(0,me.Z)(O(Re,E,N),N)},getFieldFormatValueObject:function(z){var G,N=dr(z),oe=(G=Qe())===null||G===void 0?void 0:G.getFieldValue(N),Re=N?(0,he.Z)({},N,oe):oe;return O(Re,E,N)},validateFieldsReturnFormatValue:function(){var U=(0,l.Z)((0,c.Z)().mark(function G(N){var oe,Re,ze;return(0,c.Z)().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:if(!(!Array.isArray(N)&&N)){le.next=2;break}throw new Error("nameList must be array");case 2:return le.next=4,(oe=Qe())===null||oe===void 0?void 0:oe.validateFields(N);case 4:return Re=le.sent,ze=O(Re,E),le.abrupt("return",ze||{});case 7:case"end":return le.stop()}},G)}));function z(G){return U.apply(this,arguments)}return z}()}},[E,O]),Te=(0,a.useMemo)(function(){return a.Children.toArray(b).map(function(U,z){return z===0&&a.isValidElement(U)&&ye?a.cloneElement(U,(0,u.Z)((0,u.Z)({},U.props),{},{autoFocus:ye})):U})},[ye,b]),ne=(0,a.useMemo)(function(){return typeof P=="boolean"||!P?{}:P},[P]),vr=(0,a.useMemo)(function(){if(P!==!1)return(0,re.jsx)(we,(0,u.Z)((0,u.Z)({},ne),{},{onReset:function(){var z,G,N=O((z=Ae.current)===null||z===void 0?void 0:z.getFieldsValue(),E);if(ne==null||(G=ne.onReset)===null||G===void 0||G.call(ne,N),pe==null||pe(N),X){var oe,Re=Object.keys(O((oe=Ae.current)===null||oe===void 0?void 0:oe.getFieldsValue(),!1)).reduce(function(ze,He){return(0,u.Z)((0,u.Z)({},ze),{},(0,v.Z)({},He,N[He]||void 0))},k);ue(ir(X,Re,"set"))}},submitButtonProps:(0,u.Z)({loading:A},ne.submitButtonProps)}),"submitter")},[P,ne,A,O,E,pe,X,k,ue]),Le=(0,a.useMemo)(function(){var U=H?(0,re.jsx)(Ye,{children:Te}):Te;return p?p(U,vr,Ae.current):U},[H,Ye,Te,p,vr]),ar=W(n.initialValues);return(0,a.useEffect)(function(){if(!(X||!n.initialValues||!ar||te.request)){var U=(0,ce.A)(n.initialValues,ar);(0,$e.ET)(U,"initialValues \u53EA\u5728 form \u521D\u59CB\u5316\u65F6\u751F\u6548\uFF0C\u5982\u679C\u4F60\u9700\u8981\u5F02\u6B65\u52A0\u8F7D\u63A8\u8350\u4F7F\u7528 request\uFF0C\u6216\u8005 initialValues ?

: null "),(0,$e.ET)(U,"The initialValues only take effect when the form is initialized, if you need to load asynchronously recommended request, or the initialValues ? : null ")}},[n.initialValues]),(0,a.useImperativeHandle)(V,function(){return(0,u.Z)((0,u.Z)({},Ae.current),Xe)},[Xe,Ae.current]),(0,a.useEffect)(function(){var U,z,G=O((U=Ae.current)===null||U===void 0||(z=U.getFieldsValue)===null||z===void 0?void 0:z.call(U,!0),E);Z==null||Z(G,(0,u.Z)((0,u.Z)({},Ae.current),Xe))},[]),(0,re.jsx)(ve.J.Provider,{value:(0,u.Z)((0,u.Z)({},Xe),{},{formRef:Ae}),children:(0,re.jsx)(Ne.ZP,{componentSize:te.size||or,children:(0,re.jsxs)(fr._p.Provider,{value:{grid:H,colProps:Ke},children:[te.component!==!1&&(0,re.jsx)("input",{type:"text",style:{display:"none"}}),Le]})})})}var Ze=0;function Ie(n){var s=n.extraUrlParams,b=s===void 0?{}:s,p=n.syncToUrl,P=n.isKeyPressSubmit,C=n.syncToUrlAsImportant,J=C===void 0?!1:C,q=n.syncToInitialValues,O=q===void 0?!0:q,V=n.children,Z=n.contentRender,T=n.submitter,A=n.fieldProps,w=n.proFieldProps,Q=n.formItemProps,k=n.groupProps,X=n.dateFormatter,ue=X===void 0?"string":X,pe=n.formRef,fe=n.onInit,E=n.form,R=n.formComponentType,D=n.onReset,ye=n.grid,H=n.rowProps,be=n.colProps,Ke=n.omitNil,te=Ke===void 0?!0:Ke,cr=n.request,br=n.params,or=n.initialValues,Ae=n.formKey,Rr=Ae===void 0?Ze:Ae,Ye=n.readonly,Qe=n.onLoadingChange,Xe=n.loading,Te=(0,m.Z)(n,lr),ne=(0,a.useRef)({}),vr=(0,I.Z)(!1,{onChange:Qe,value:Xe}),Le=(0,g.Z)(vr,2),ar=Le[0],U=Le[1],z=yr({},{disabled:!p}),G=(0,g.Z)(z,2),N=G[0],oe=G[1],Re=(0,a.useRef)((0,d.x)());(0,a.useEffect)(function(){Ze+=0},[]);var ze=ee({request:cr,params:br,proFieldKey:Rr}),He=(0,g.Z)(ze,1),le=He[0],Ur=(0,a.useContext)(Ne.ZP.ConfigContext),mr=Ur.getPrefixCls,Er=mr("pro-form"),jr=(0,se.Xj)("ProForm",function(Se){return(0,v.Z)({},".".concat(Er),(0,v.Z)({},"> div:not(".concat(Se.proComponentsCls,"-form-light-filter)"),{".pro-field":{maxWidth:"100%","@media screen and (max-width: 575px)":{maxWidth:"calc(93vw - 48px)"},"&-xs":{width:104},"&-s":{width:216},"&-sm":{width:216},"&-m":{width:328},"&-md":{width:328},"&-l":{width:440},"&-lg":{width:440},"&-xl":{width:552}}}))}),Lr=jr.wrapSSR,Br=jr.hashId,Zr=(0,a.useState)(function(){return p?ir(p,N,"get"):{}}),Ir=(0,g.Z)(Zr,2),Sr=Ir[0],Wr=Ir[1],Or=(0,a.useRef)({}),Ar=(0,a.useRef)({}),Tr=(0,o.J)(function(Se,de,ie){return hr((0,gr.lp)(Se,ue,Ar.current,de,ie),Or.current,de)});(0,a.useEffect)(function(){O||Wr({})},[O]),(0,a.useEffect)(function(){p&&oe((0,u.Z)((0,u.Z)({},N),b))},[b,p]);var Vr=(0,a.useMemo)(function(){if(typeof window!="undefined"&&R&&["DrawerForm"].includes(R))return function(Se){return Se.parentNode||document.body}},[R]),Nr=(0,o.J)((0,l.Z)((0,c.Z)().mark(function Se(){var de,ie,Ee,qe,ur,Be;return(0,c.Z)().wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:if(Te.onFinish){Pe.next=2;break}return Pe.abrupt("return");case 2:if(!ar){Pe.next=4;break}return Pe.abrupt("return");case 4:return U(!0),Pe.prev=5,Ee=ne==null||(de=ne.current)===null||de===void 0||(ie=de.getFieldsFormatValue)===null||ie===void 0?void 0:ie.call(de),Pe.next=9,Te.onFinish(Ee);case 9:p&&(Be=Object.keys(ne==null||(qe=ne.current)===null||qe===void 0||(ur=qe.getFieldsFormatValue)===null||ur===void 0?void 0:ur.call(qe,void 0,!1)).reduce(function(ke,Fr){var Mr;return(0,u.Z)((0,u.Z)({},ke),{},(0,v.Z)({},Fr,(Mr=Ee[Fr])!==null&&Mr!==void 0?Mr:void 0))},b),Object.keys(N).forEach(function(ke){Be[ke]!==!1&&Be[ke]!==0&&!Be[ke]&&(Be[ke]=void 0)}),oe(ir(p,Be,"set"))),U(!1),Pe.next=17;break;case 13:Pe.prev=13,Pe.t0=Pe.catch(5),console.log(Pe.t0),U(!1);case 17:case"end":return Pe.stop()}},Se,null,[[5,13]])})));return(0,a.useImperativeHandle)(pe,function(){return ne.current},[!le]),!le&&n.request?(0,re.jsx)("div",{style:{paddingTop:50,paddingBottom:50,textAlign:"center"},children:(0,re.jsx)(j.Z,{})}):Lr((0,re.jsx)(_e.A.Provider,{value:{mode:n.readonly?"read":"edit"},children:(0,re.jsx)(h._Y,{needDeps:!0,children:(0,re.jsx)(_r.Z.Provider,{value:{formRef:ne,fieldProps:A,proFieldProps:w,formItemProps:Q,groupProps:k,formComponentType:R,getPopupContainer:Vr,formKey:Re.current,setFieldValueType:function(de,ie){var Ee=ie.valueType,qe=Ee===void 0?"text":Ee,ur=ie.dateFormat,Be=ie.transform;Array.isArray(de)&&(Or.current=(0,he.Z)(Or.current,de,Be),Ar.current=(0,he.Z)(Ar.current,de,{valueType:qe,dateFormat:ur}))}},children:(0,re.jsx)(nr.J.Provider,{value:{},children:(0,re.jsx)(er.Z,(0,u.Z)((0,u.Z)({onKeyPress:function(de){if(P&&de.key==="Enter"){var ie;(ie=ne.current)===null||ie===void 0||ie.submit()}},autoComplete:"off",form:E},(0,Me.Z)(Te,["labelWidth","autoFocusFirstInput"])),{},{initialValues:J?(0,u.Z)((0,u.Z)((0,u.Z)({},or),le),Sr):(0,u.Z)((0,u.Z)((0,u.Z)({},Sr),or),le),onValuesChange:function(de,ie){var Ee;Te==null||(Ee=Te.onValuesChange)===null||Ee===void 0||Ee.call(Te,Tr(de,!!te),Tr(ie,!!te))},className:rr()(n.className,Er,Br),onFinish:Nr,children:(0,re.jsx)(je,(0,u.Z)((0,u.Z)({transformKey:Tr,autoComplete:"off",loading:ar,onUrlSearchChange:oe},n),{},{formRef:ne,initialValues:(0,u.Z)((0,u.Z)({},or),le)}))}))})})})}))}},9105:function($,_,i){"use strict";i.d(_,{A:function(){return v}});var g=i(67294),v=g.createContext({mode:"edit"})},66758:function($,_,i){"use strict";var g=i(67294),v=g.createContext({});_.Z=v},10279:function($,_,i){"use strict";i.d(_,{J:function(){return h}});var g=i(94184),v=i.n(g),u=i(80334),c=i(67294),l=i(85893),m=null,h=c.createContext({});function y(o){var a=useRef(),W=useContext(ConfigProvider.ConfigContext),ce=useContext(h),ve=W.getPrefixCls("pro-form-list"),I=useIntl(),d=o.actionRender,x=o.creatorButtonProps,B=o.label,ee=o.alwaysShowItemLabel,se=o.tooltip,ae=o.creatorRecord,S=o.itemRender,Ce=o.rules,Oe=o.itemContainerRender,me=o.fieldExtraRender,he=o.copyIconProps,ge=he===void 0?{Icon:CopyOutlined,tooltipText:I.getMessage("copyThisLine","\u590D\u5236\u6B64\u9879")}:he,We=o.children,Ge=o.deleteIconProps,hr=Ge===void 0?{Icon:DeleteOutlined,tooltipText:I.getMessage("deleteThisLine","\u5220\u9664\u6B64\u9879")}:Ge,gr=o.actionRef,Ve=o.style,pr=o.prefixCls,yr=o.actionGuard,Pr=o.min,Cr=o.max,er=o.colProps,Ne=o.wrapperCol,j=o.rowProps,Je=o.onAfterAdd,rr=o.onAfterRemove,Me=o.isValidateList,$e=Me===void 0?!1:Me,Ue=o.emptyListMessage,re=Ue===void 0?"\u5217\u8868\u4E0D\u80FD\u4E3A\u7A7A":Ue,tr=o.className,we=_objectWithoutProperties(o,m),nr=useGridHelpers({colProps:er,rowProps:j}),_r=nr.ColWrapper,fr=nr.RowWrapper,_e=useContext(ProFormContext),xe=useMemo(function(){return ce.name===void 0?[we.name].flat(1):[ce.name,we.name].flat(1)},[ce.name,we.name]);useImperativeHandle(gr,function(){return _objectSpread(_objectSpread({},a.current),{},{get:function(Ze){return _e.formRef.current.getFieldValue([].concat(_toConsumableArray(xe),[Ze]))},getList:function(){return _e.formRef.current.getFieldValue(_toConsumableArray(xe))}})},[xe,_e.formRef]),useEffect(function(){noteOnce(!!_e.formRef,"ProFormList \u5FC5\u987B\u8981\u653E\u5230 ProForm \u4E2D,\u5426\u5219\u4F1A\u9020\u6210\u884C\u4E3A\u5F02\u5E38\u3002"),noteOnce(!!_e.formRef,"Proformlist must be placed in ProForm, otherwise it will cause abnormal behavior.")},[_e.formRef]);var lr=useStyle(ve),ir=lr.wrapSSR,dr=lr.hashId;return _e.formRef?ir(_jsx(_r,{children:_jsx("div",{className:classNames(ve,dr),style:Ve,children:_jsx(Form.Item,_objectSpread(_objectSpread({label:B,prefixCls:pr,tooltip:se,style:Ve,required:Ce==null?void 0:Ce.some(function(je){return je.required}),wrapperCol:Ne,className:tr},we),{},{name:$e?xe:void 0,rules:$e?[{validator:function(Ze,Ie){return!Ie||Ie.length===0?Promise.reject(new Error(re)):Promise.resolve()},required:!0}]:void 0,children:_jsx(Form.List,_objectSpread(_objectSpread({rules:Ce},we),{},{name:xe,children:function(Ze,Ie,n){return a.current=Ie,_jsxs(fr,{children:[_jsx(ProFormListContainer,{name:xe,readonly:!!we.readonly,originName:we.name,copyIconProps:ge,deleteIconProps:hr,formInstance:_e.formRef.current,prefixCls:ve,meta:n,fields:Ze,itemContainerRender:Oe,itemRender:S,fieldExtraRender:me,creatorButtonProps:x,creatorRecord:ae,actionRender:d,action:Ie,actionGuard:yr,alwaysShowItemLabel:ee,min:Pr,max:Cr,count:Ze.length,onAfterAdd:function(b,p,P){$e&&_e.formRef.current.validateFields([xe]),Je==null||Je(b,p,P)},onAfterRemove:function(b,p){$e&&p===0&&_e.formRef.current.validateFields([xe]),rr==null||rr(b,p)},containerClassName:o.containerClassName,containerStyle:o.containerStyle,children:We}),_jsx(Form.ErrorList,{errors:n.errors})]})}}))}))})})):null}},2514:function($,_,i){"use strict";i.d(_,{_p:function(){return a},zx:function(){return ce}});var g=i(71002),v=i(1413),u=i(91),c=i(71230),l=i(15746),m=i(67294),h=i(85893),y=["children","Wrapper"],o=["children","Wrapper"],a=(0,m.createContext)({grid:!1,colProps:void 0,rowProps:void 0}),W=function(I){var d=I.grid,x=I.rowProps,B=I.colProps;return{grid:!!d,RowWrapper:function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ae=se.children,S=se.Wrapper,Ce=(0,u.Z)(se,y);return d?(0,h.jsx)(c.Z,(0,v.Z)((0,v.Z)((0,v.Z)({gutter:8},x),Ce),{},{children:ae})):S?(0,h.jsx)(S,{children:ae}):ae},ColWrapper:function(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ae=se.children,S=se.Wrapper,Ce=(0,u.Z)(se,o),Oe=(0,m.useMemo)(function(){var me=(0,v.Z)((0,v.Z)({},B),Ce);return typeof me.span=="undefined"&&typeof me.xs=="undefined"&&(me.xs=24),me},[Ce]);return d?(0,h.jsx)(l.Z,(0,v.Z)((0,v.Z)({},Oe),{},{children:ae})):S?(0,h.jsx)(S,{children:ae}):ae}}},ce=function(I){var d=(0,m.useMemo)(function(){return(0,g.Z)(I)==="object"?I:{grid:I}},[I]),x=(0,m.useContext)(a),B=x.grid,ee=x.colProps;return(0,m.useMemo)(function(){return W({grid:!!(B||d.grid),rowProps:d==null?void 0:d.rowProps,colProps:(d==null?void 0:d.colProps)||ee,Wrapper:d==null?void 0:d.Wrapper})},[d==null?void 0:d.Wrapper,d.grid,B,JSON.stringify([ee,d==null?void 0:d.colProps,d==null?void 0:d.rowProps])])}},73177:function($,_,i){"use strict";i.d(_,{X:function(){return m},b:function(){return l}});var g=i(67159),v=i(51812),u=i(1977),c=i(34155),l=function(){var y,o;return typeof c=="undefined"?g.Z:((y=c)===null||c===void 0||(o={NODE_ENV:"production",PUBLIC_PATH:"/react/build/"})===null||o===void 0?void 0:o.ANTD_VERSION)||g.Z},m=function(y,o){var a=(0,u.n)(l(),"4.23.0")>-1?{open:y,onOpenChange:o}:{visible:y,onVisibleChange:o};return(0,v.Y)(a)}},41036:function($,_,i){"use strict";i.d(_,{J:function(){return v}});var g=i(67294),v=g.createContext({})},23312:function($,_,i){"use strict";i.d(_,{Cl:function(){return y},lp:function(){return ve}});var g=i(71002),v=i(27484),u=i.n(v),c=i(96671),l=i.n(c),m=i(88306),h=i(74763);u().extend(l());var y={time:"HH:mm:ss",timeRange:"HH:mm:ss",date:"YYYY-MM-DD",dateWeek:"YYYY-wo",dateMonth:"YYYY-MM",dateQuarter:"YYYY-[Q]Q",dateYear:"YYYY",dateRange:"YYYY-MM-DD",dateTime:"YYYY-MM-DD HH:mm:ss",dateTimeRange:"YYYY-MM-DD HH:mm:ss"};function o(I){return Object.prototype.toString.call(I)==="[object Object]"}function a(I){if(o(I)===!1)return!1;var d=I.constructor;if(d===void 0)return!0;var x=d.prototype;return!(o(x)===!1||x.hasOwnProperty("isPrototypeOf")===!1)}var W=function(d){return!!(d!=null&&d._isAMomentObject)},ce=function(d,x,B){if(!x)return d;if(u().isDayjs(d)||W(d)){if(x==="number")return d.valueOf();if(x==="string")return d.format(y[B]||"YYYY-MM-DD HH:mm:ss");if(typeof x=="string"&&x!=="string")return d.format(x);if(typeof x=="function")return x(d,B)}return d},ve=function I(d,x,B,ee,se){var ae={};return typeof window=="undefined"||(0,g.Z)(d)!=="object"||(0,h.k)(d)||d instanceof Blob||Array.isArray(d)?d:(Object.keys(d).forEach(function(S){var Ce=se?[se,S].flat(1):[S],Oe=(0,m.Z)(B,Ce)||"text",me="text",he;typeof Oe=="string"?me=Oe:Oe&&(me=Oe.valueType,he=Oe.dateFormat);var ge=d[S];if(!((0,h.k)(ge)&&ee)){if(a(ge)&&!Array.isArray(ge)&&!u().isDayjs(ge)&&!W(ge)){ae[S]=I(ge,x,B,ee,[S]);return}if(Array.isArray(ge)){ae[S]=ge.map(function(We,Ge){return u().isDayjs(We)||W(We)?ce(We,he||x,me):I(We,x,B,ee,[S,"".concat(Ge)].flat(1))});return}ae[S]=ce(ge,he||x,me)}}),ae)}},48171:function($,_,i){"use strict";i.d(_,{J:function(){return u}});var g=i(74902),v=i(67294),u=function(l){var m=(0,v.useRef)(null);return m.current=l,(0,v.useCallback)(function(){for(var h,y=arguments.length,o=new Array(y),a=0;a0&&arguments[0]!==void 0?arguments[0]:21;if(typeof window=="undefined"||!window.crypto)return(g+=1).toFixed(0);for(var m="",h=crypto.getRandomValues(new Uint8Array(l));l--;){var y=63&h[l];m+=y<36?y.toString(36):y<62?(y-26).toString(36).toUpperCase():y<63?"_":"-"}return m},u=function(){return typeof window=="undefined"?v():window.crypto&&window.crypto.randomUUID&&typeof crypto.randomUUID=="function"?crypto.randomUUID():v()}},22270:function($,_,i){"use strict";i.d(_,{h:function(){return g}});function g(v){if(typeof v=="function"){for(var u=arguments.length,c=new Array(u>1?u-1:0),l=1;l-1}function Rr(e,r){var t=this.__data__,f=He(t,e);return f<0?(++this.size,t.push([e,r])):t[f][1]=r,this}te.prototype.clear=cr,te.prototype.delete=br,te.prototype.get=or,te.prototype.has=Ae,te.prototype.set=Rr;function Ye(e){var r=-1,t=e==null?0:e.length;for(this.clear();++r1?t[M-1]:void 0,K=M>2?t[2]:void 0;for(L=e.length>3&&typeof L=="function"?(M--,L):void 0,K&&Qr(t[0],t[1],K)&&(L=M<3?void 0:L,M=1),r=Object(r);++f-1&&e%1==0&&e0){if(++r>=u)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}function ut(e){if(e!=null){try{return Ie.call(e)}catch(r){}try{return e+""}catch(r){}}return""}function Dr(e,r){return e===r||e!==e&&r!==r}var Kr=Er(function(){return arguments}())?Er:function(e){return wr(e)&&n.call(e,"callee")&&!T.call(e,"callee")},Yr=Array.isArray;function Hr(e){return e!=null&&qr(e.length)&&!zr(e)}function st(e){return wr(e)&&Hr(e)}var Xr=k||vt;function zr(e){if(!sr(e))return!1;var r=mr(e);return r==ce||r==ve||r==y||r==ee}function qr(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=l}function sr(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}function wr(e){return e!=null&&typeof e=="object"}function ft(e){if(!wr(e)||mr(e)!=B)return!1;var r=V(e);if(r===null)return!0;var t=n.call(r,"constructor")&&r.constructor;return typeof t=="function"&&t instanceof t&&Ie.call(t)==p}var kr=nr?_e(nr):Lr;function lt(e){return Nr(e,et(e))}function et(e){return Hr(e)?oe(e,!0):Br(e)}var dt=Se(function(e,r,t){Zr(e,r,t)});function ct(e){return function(){return e}}function rt(e){return e}function vt(){return!1}$.exports=dt}}]); diff --git a/3203.edcdf85c.async.js b/3203.edcdf85c.async.js new file mode 100644 index 0000000000..ec39dc1be7 --- /dev/null +++ b/3203.edcdf85c.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[3203],{93203:function(M,d,A){A.r(d),A.d(d,{asn1:function(){return f}});function o(i){for(var S={},c=i.split(" "),T=0;T{let e;if(O.next<0)O.acceptToken(F);else if(r.context.depth<0)c(O.next)&&O.acceptToken(z,1);else if(((e=O.peek(-1))<0||c(e))&&r.canShift(b)){let i=0;for(;O.next==w||O.next==p;)O.advance(),i++;(O.next==l||O.next==P||O.next==X)&&O.acceptToken(b,-i)}else c(O.next)&&O.acceptToken(j,1)},{contextual:!0}),bO=new T.Jq((O,r)=>{let e=r.context.depth;if(e<0)return;let i=O.peek(-1);if(i==l||i==P){let o=0,Q=0;for(;;){if(O.next==w)o++;else if(O.next==p)o+=8-o%8;else break;O.advance(),Q++}o!=e&&O.next!=l&&O.next!=P&&O.next!=X&&(o{for(let r=0;r<5;r++){if(O.next!="print".charCodeAt(r))return;O.advance()}if(!/\w/.test(String.fromCharCode(O.next)))for(let r=0;;r++){let e=O.peek(r);if(!(e==w||e==p)){e!=cO&&e!=fO&&e!=l&&e!=P&&e!=X&&O.acceptToken(k);return}}});function q(O,r,e,i,o){return new T.Jq(Q=>{let x=Q.pos;for(;!(Q.next<0);)if(Q.next==V)if(Q.peek(1)==V)Q.advance(2);else{if(Q.pos==x){Q.acceptToken(i,1);return}break}else if(Q.next==dO)Q.advance(),Q.next>=0&&Q.advance();else if(Q.next==O&&(r==1||Q.peek(1)==O&&Q.peek(2)==O)){if(Q.pos==x){Q.acceptToken(o,r);return}break}else Q.advance();Q.pos>x&&Q.acceptToken(e)})}const yO=q(g,1,A,C,L),hO=q(R,1,N,D,I),ZO=q(g,3,J,M,H),GO=q(R,3,B,K,OO),vO=(0,a.Gv)({'async "*" "**" FormatConversion FormatSpec':a.pJ.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield match case":a.pJ.controlKeyword,"in not and or is del":a.pJ.operatorKeyword,"from def class global nonlocal lambda":a.pJ.definitionKeyword,import:a.pJ.moduleKeyword,"with as print":a.pJ.keyword,Boolean:a.pJ.bool,None:a.pJ.null,VariableName:a.pJ.variableName,"CallExpression/VariableName":a.pJ.function(a.pJ.variableName),"FunctionDefinition/VariableName":a.pJ.function(a.pJ.definition(a.pJ.variableName)),"ClassDefinition/VariableName":a.pJ.definition(a.pJ.className),PropertyName:a.pJ.propertyName,"CallExpression/MemberExpression/PropertyName":a.pJ.function(a.pJ.propertyName),Comment:a.pJ.lineComment,Number:a.pJ.number,String:a.pJ.string,FormatString:a.pJ.special(a.pJ.string),UpdateOp:a.pJ.updateOperator,"ArithOp!":a.pJ.arithmeticOperator,BitOp:a.pJ.bitwiseOperator,CompareOp:a.pJ.compareOperator,AssignOp:a.pJ.definitionOperator,Ellipsis:a.pJ.punctuation,At:a.pJ.meta,"( )":a.pJ.paren,"[ ]":a.pJ.squareBracket,"{ }":a.pJ.brace,".":a.pJ.derefOperator,", ;":a.pJ.separator}),EO={__proto__:null,await:48,or:58,and:60,in:64,not:66,is:68,if:74,else:76,lambda:80,yield:98,from:100,async:106,for:108,None:168,True:170,False:170,del:184,pass:188,break:192,continue:196,return:200,raise:208,import:212,as:214,global:218,nonlocal:220,assert:224,elif:234,while:238,try:244,except:246,finally:248,with:252,def:256,class:266,match:277,case:283},UO=T.WQ.deserialize({version:14,states:"#!OO`Q#yOOP$_OSOOO%hQ&nO'#H^OOQS'#Cq'#CqOOQS'#Cr'#CrO'WQ#xO'#CpO(yQ&nO'#H]OOQS'#H^'#H^OOQS'#DW'#DWOOQS'#H]'#H]O)gQ#xO'#DaO)zQ#xO'#DhO*[Q#xO'#DlOOQS'#Dw'#DwO*oO,UO'#DwO*wO7[O'#DwO+POWO'#DxO+[O`O'#DxO+gOpO'#DxO+rO!bO'#DxO-tQ&nO'#G}OOQS'#G}'#G}O'WQ#xO'#G|O/WQ&nO'#G|OOQS'#Ee'#EeO/oQ#xO'#EfOOQS'#G{'#G{O/yQ#xO'#GzOOQV'#Gz'#GzO0UQ#xO'#FXOOQS'#G`'#G`O0ZQ#xO'#FWOOQV'#IS'#ISOOQV'#Gy'#GyOOQV'#Fp'#FpQ`Q#yOOO'WQ#xO'#CsO0iQ#xO'#DPO0pQ#xO'#DTO1OQ#xO'#HbO1`Q&nO'#EYO'WQ#xO'#EZOOQS'#E]'#E]OOQS'#E_'#E_OOQS'#Ea'#EaO1tQ#xO'#EcO2[Q#xO'#EgO0UQ#xO'#EiO2oQ&nO'#EiO0UQ#xO'#ElO/oQ#xO'#EoO/oQ#xO'#EsO/oQ#xO'#Ev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LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!I^]U!T&eSOY!GTYZ8^Z]!GT]^8^^r!GTrs!5wsw!GTwx!JVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!J^]U!T&hWOY!GTYZ8^Z]!GT]^8^^r!GTrs!HVsw!GTwx!KVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!K^]U!T&hWOY!GTYZ8^Z]!GT]^8^^r!GTrs!HVsw!GTwx!Agx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!L[WU!TOY!GTYZ8^Z]!GT]^8^^;'S!GT;'S;=`!Lt;=`<%l8^<%lO!GT!a!L{Y&eS&hWOr8^rs9Qsw8^wx:dx#O8^#O#P;v#P;'S8^;'S;=`Q<%lO$TP;=`<%l$ei&m!b&eS&hW&b`%}sOr%Trs$@Ssw%Twx$C`x!Q%T!Q![$Q<%lO$Q<%lO$Q<%lO$Q<%lO$Q<%lO$EO[O]||-1}],tokenPrec:7205});var s=t(59119),u=t(41113),S=t(34790);const y=new u.hr,h=new Set(["Script","Body","FunctionDefinition","ClassDefinition","LambdaExpression","ForStatement","MatchClause"]);function m(O){return(r,e,i)=>{if(i)return!1;let o=r.node.getChild("VariableName");return o&&e(o,O),!0}}const _O={FunctionDefinition:m("function"),ClassDefinition:m("class"),ForStatement(O,r,e){if(e){for(let i=O.node.firstChild;i;i=i.nextSibling)if(i.name=="VariableName")r(i,"variable");else if(i.name=="in")break}},ImportStatement(O,r){var e,i;let{node:o}=O,Q=((e=o.firstChild)===null||e===void 0?void 0:e.name)=="from";for(let x=o.getChild("import");x;x=x.nextSibling)x.name=="VariableName"&&((i=x.nextSibling)===null||i===void 0?void 0:i.name)!="as"&&r(x,Q?"variable":"namespace")},AssignStatement(O,r){for(let e=O.node.firstChild;e;e=e.nextSibling)if(e.name=="VariableName")r(e,"variable");else if(e.name==":"||e.name=="AssignOp")break},ParamList(O,r){for(let e=null,i=O.node.firstChild;i;i=i.nextSibling)i.name=="VariableName"&&(!e||!/\*|AssignOp/.test(e.name))&&r(i,"variable"),e=i},CapturePattern:m("variable"),AsPattern:m("variable"),__proto__:null};function Z(O,r){let e=y.get(r);if(e)return e;let i=[],o=!0;function Q(x,n){let FO=O.sliceString(x.from,x.to);i.push({label:FO,type:n})}return r.cursor(u.vj.IncludeAnonymous).iterate(x=>{if(x.name){let n=_O[x.name];if(n&&n(x,Q,o)||!o&&h.has(x.name))return!1;o=!1}else if(x.to-x.from>8192){for(let n of Z(O,x.node))i.push(n);return!1}}),y.set(r,i),i}const G=/^[\w\xa1-\uffff][\w\d\xa1-\uffff]*$/,v=["String","FormatString","Comment","PropertyName"];function E(O){let r=(0,s.qz)(O.state).resolveInner(O.pos,-1);if(v.indexOf(r.name)>-1)return null;let e=r.name=="VariableName"||r.to-r.from<20&&G.test(O.state.sliceDoc(r.from,r.to));if(!e&&!O.explicit)return null;let i=[];for(let o=r;o;o=o.parent)h.has(o.name)&&(i=i.concat(Z(O.state.doc,o)));return{options:i,from:e?r.from:O.pos,validFor:G}}const kO=["__annotations__","__builtins__","__debug__","__doc__","__import__","__name__","__loader__","__package__","__spec__","False","None","True"].map(O=>({label:O,type:"constant"})).concat(["ArithmeticError","AssertionError","AttributeError","BaseException","BlockingIOError","BrokenPipeError","BufferError","BytesWarning","ChildProcessError","ConnectionAbortedError","ConnectionError","ConnectionRefusedError","ConnectionResetError","DeprecationWarning","EOFError","Ellipsis","EncodingWarning","EnvironmentError","Exception","FileExistsError","FileNotFoundError","FloatingPointError","FutureWarning","GeneratorExit","IOError","ImportError","ImportWarning","IndentationError","IndexError","InterruptedError","IsADirectoryError","KeyError","KeyboardInterrupt","LookupError","MemoryError","ModuleNotFoundError","NameError","NotADirectoryError","NotImplemented","NotImplementedError","OSError","OverflowError","PendingDeprecationWarning","PermissionError","ProcessLookupError","RecursionError","ReferenceError","ResourceWarning","RuntimeError","RuntimeWarning","StopAsyncIteration","StopIteration","SyntaxError","SyntaxWarning","SystemError","SystemExit","TabError","TimeoutError","TypeError","UnboundLocalError","UnicodeDecodeError","UnicodeEncodeError","UnicodeError","UnicodeTranslateError","UnicodeWarning","UserWarning","ValueError","Warning","ZeroDivisionError"].map(O=>({label:O,type:"type"}))).concat(["bool","bytearray","bytes","classmethod","complex","float","frozenset","int","list","map","memoryview","object","range","set","staticmethod","str","super","tuple","type"].map(O=>({label:O,type:"class"}))).concat(["abs","aiter","all","anext","any","ascii","bin","breakpoint","callable","chr","compile","delattr","dict","dir","divmod","enumerate","eval","exec","exit","filter","format","getattr","globals","hasattr","hash","help","hex","id","input","isinstance","issubclass","iter","len","license","locals","max","min","next","oct","open","ord","pow","print","property","quit","repr","reversed","round","setattr","slice","sorted","sum","vars","zip"].map(O=>({label:O,type:"function"}))),jO=[(0,S.Gn)("def ${name}(${params}):\n ${}",{label:"def",detail:"function",type:"keyword"}),(0,S.Gn)("for ${name} in ${collection}:\n ${}",{label:"for",detail:"loop",type:"keyword"}),(0,S.Gn)("while ${}:\n ${}",{label:"while",detail:"loop",type:"keyword"}),(0,S.Gn)("try:\n ${}\nexcept ${error}:\n ${}",{label:"try",detail:"/ except block",type:"keyword"}),(0,S.Gn)(`if \${}: + +`,{label:"if",detail:"block",type:"keyword"}),(0,S.Gn)("if ${}:\n ${}\nelse:\n ${}",{label:"if",detail:"/ else block",type:"keyword"}),(0,S.Gn)("class ${name}:\n def __init__(self, ${params}):\n ${}",{label:"class",detail:"definition",type:"keyword"}),(0,S.Gn)("import ${module}",{label:"import",detail:"statement",type:"keyword"}),(0,S.Gn)("from ${module} import ${names}",{label:"from",detail:"import",type:"keyword"})],U=(0,S.eC)(v,(0,S.Mb)(kO.concat(jO)));function _(O,r){let e=O.baseIndentFor(r),i=O.lineAt(O.pos,-1),o=i.from+i.text.length;return/^\s*($|#)/.test(i.text)&&O.node.toe?null:e+O.unit}const $=s.qp.define({name:"python",parser:UO.configure({props:[s.uj.add({Body:O=>{var r;return(r=_(O,O.node))!==null&&r!==void 0?r:O.continue()},IfStatement:O=>/^\s*(else:|elif )/.test(O.textAfter)?O.baseIndent:O.continue(),TryStatement:O=>/^\s*(except |finally:|else:)/.test(O.textAfter)?O.baseIndent:O.continue(),"TupleExpression ComprehensionExpression ParamList ArgList ParenthesizedExpression":(0,s.vw)({closing:")"}),"DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression":(0,s.vw)({closing:"}"}),"ArrayExpression ArrayComprehensionExpression":(0,s.vw)({closing:"]"}),"String FormatString":()=>null,Script:O=>{if(O.pos+/\s*/.exec(O.textAfter)[0].length>=O.node.to){let r=null;for(let e=O.node,i=e.to;e=e.lastChild,!(!e||e.to!=i);)e.type.name=="Body"&&(r=e);if(r){let e=_(O,r);if(e!=null)return e}}return O.continue()}}),s.x0.add({"ArrayExpression DictionaryExpression SetExpression TupleExpression":s.Dv,Body:(O,r)=>({from:O.from+1,to:O.to-(O.to==r.doc.length?0:1)})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""'],stringPrefixes:["f","fr","rf","r","u","b","br","rb","F","FR","RF","R","U","B","BR","RB"]},commentTokens:{line:"#"},indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/}});function zO(){return new s.ri($,[$.data.of({autocomplete:E}),$.data.of({autocomplete:U})])}}}]); diff --git a/3283.f6b63521.async.js b/3283.f6b63521.async.js new file mode 100644 index 0000000000..83949a7f56 --- /dev/null +++ b/3283.f6b63521.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[3283],{33283:function(v,o,u){u.r(o),u.d(o,{octave:function(){return b}});function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var c=new RegExp("^[\\+\\-\\*/&|\\^~<>!@'\\\\]"),a=new RegExp("^[\\(\\[\\{\\},:=;\\.]"),l=new RegExp("^((==)|(~=)|(<=)|(>=)|(<<)|(>>)|(\\.[\\+\\-\\*/\\^\\\\]))"),d=new RegExp("^((!=)|(\\+=)|(\\-=)|(\\*=)|(/=)|(&=)|(\\|=)|(\\^=))"),p=new RegExp("^((>>=)|(<<=))"),s=new RegExp("^[\\]\\)]"),h=new RegExp("^[_A-Za-z\xA1-\uFFFF][_A-Za-z0-9\xA1-\uFFFF]*"),m=t(["error","eval","function","abs","acos","atan","asin","cos","cosh","exp","log","prod","sum","log10","max","min","sign","sin","sinh","sqrt","tan","reshape","break","zeros","default","margin","round","ones","rand","syn","ceil","floor","size","clear","zeros","eye","mean","std","cov","det","eig","inv","norm","rank","trace","expm","logm","sqrtm","linspace","plot","title","xlabel","ylabel","legend","text","grid","meshgrid","mesh","num2str","fft","ifft","arrayfun","cellfun","input","fliplr","flipud","ismember"]),k=t(["return","case","switch","else","elseif","end","endif","endfunction","if","otherwise","do","for","while","try","catch","classdef","properties","events","methods","global","persistent","endfor","endwhile","printf","sprintf","disp","until","continue","pkg"]);function f(e,n){return!e.sol()&&e.peek()==="'"?(e.next(),n.tokenize=r,"operator"):(n.tokenize=r,r(e,n))}function g(e,n){return e.match(/^.*%}/)?(n.tokenize=r,"comment"):(e.skipToEnd(),"comment")}function r(e,n){if(e.eatSpace())return null;if(e.match("%{"))return n.tokenize=g,e.skipToEnd(),"comment";if(e.match(/^[%#]/))return e.skipToEnd(),"comment";if(e.match(/^[0-9\.+-]/,!1)){if(e.match(/^[+-]?0x[0-9a-fA-F]+[ij]?/))return e.tokenize=r,"number";if(e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?[ij]?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?[ij]?/))return"number"}if(e.match(t(["nan","NaN","inf","Inf"])))return"number";var i=e.match(/^"(?:[^"]|"")*("|$)/)||e.match(/^'(?:[^']|'')*('|$)/);return i?i[1]?"string":"error":e.match(k)?"keyword":e.match(m)?"builtin":e.match(h)?"variable":e.match(c)||e.match(l)?"operator":e.match(a)||e.match(d)||e.match(p)?null:e.match(s)?(n.tokenize=f,null):(e.next(),"error")}const b={name:"octave",startState:function(){return{tokenize:r}},token:function(e,n){var i=n.tokenize(e,n);return(i==="number"||i==="variable")&&(n.tokenize=f),i},languageData:{commentTokens:{line:"%"}}}}}]); diff --git a/3314.5b617c65.async.js b/3314.5b617c65.async.js new file mode 100644 index 0000000000..dc3c27331f --- /dev/null +++ b/3314.5b617c65.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[3314],{43314:function(P,f,r){r.r(f),r.d(f,{ntriples:function(){return B}});var _={PRE_SUBJECT:0,WRITING_SUB_URI:1,WRITING_BNODE_URI:2,PRE_PRED:3,WRITING_PRED_URI:4,PRE_OBJ:5,WRITING_OBJ_URI:6,WRITING_OBJ_BNODE:7,WRITING_OBJ_LITERAL:8,WRITING_LIT_LANG:9,WRITING_LIT_TYPE:10,POST_OBJ:11,ERROR:12};function u(R,e){var n=R.location,I;n==_.PRE_SUBJECT&&e=="<"?I=_.WRITING_SUB_URI:n==_.PRE_SUBJECT&&e=="_"?I=_.WRITING_BNODE_URI:n==_.PRE_PRED&&e=="<"?I=_.WRITING_PRED_URI:n==_.PRE_OBJ&&e=="<"?I=_.WRITING_OBJ_URI:n==_.PRE_OBJ&&e=="_"?I=_.WRITING_OBJ_BNODE:n==_.PRE_OBJ&&e=='"'?I=_.WRITING_OBJ_LITERAL:n==_.WRITING_SUB_URI&&e==">"||n==_.WRITING_BNODE_URI&&e==" "?I=_.PRE_PRED:n==_.WRITING_PRED_URI&&e==">"?I=_.PRE_OBJ:n==_.WRITING_OBJ_URI&&e==">"||n==_.WRITING_OBJ_BNODE&&e==" "||n==_.WRITING_OBJ_LITERAL&&e=='"'||n==_.WRITING_LIT_LANG&&e==" "||n==_.WRITING_LIT_TYPE&&e==">"?I=_.POST_OBJ:n==_.WRITING_OBJ_LITERAL&&e=="@"?I=_.WRITING_LIT_LANG:n==_.WRITING_OBJ_LITERAL&&e=="^"?I=_.WRITING_LIT_TYPE:e==" "&&(n==_.PRE_SUBJECT||n==_.PRE_PRED||n==_.PRE_OBJ||n==_.POST_OBJ)?I=n:n==_.POST_OBJ&&e=="."?I=_.PRE_SUBJECT:I=_.ERROR,R.location=I}const B={name:"ntriples",startState:function(){return{location:_.PRE_SUBJECT,uris:[],anchors:[],bnodes:[],langs:[],types:[]}},token:function(R,e){var n=R.next();if(n=="<"){u(e,n);var I="";return R.eatWhile(function(i){return i!="#"&&i!=">"?(I+=i,!0):!1}),e.uris.push(I),R.match("#",!1)||(R.next(),u(e,">")),"variable"}if(n=="#"){var T="";return R.eatWhile(function(i){return i!=">"&&i!=" "?(T+=i,!0):!1}),e.anchors.push(T),"url"}if(n==">")return u(e,">"),"variable";if(n=="_"){u(e,n);var l="";return R.eatWhile(function(i){return i!=" "?(l+=i,!0):!1}),e.bnodes.push(l),R.next(),u(e," "),"builtin"}if(n=='"')return u(e,n),R.eatWhile(function(i){return i!='"'}),R.next(),R.peek()!="@"&&R.peek()!="^"&&u(e,'"'),"string";if(n=="@"){u(e,"@");var E="";return R.eatWhile(function(i){return i!=" "?(E+=i,!0):!1}),e.langs.push(E),R.next(),u(e," "),"string.special"}if(n=="^"){R.next(),u(e,"^");var O="";return R.eatWhile(function(i){return i!=">"?(O+=i,!0):!1}),e.types.push(O),R.next(),u(e,">"),"variable"}n==" "&&u(e,n),n=="."&&u(e,n)}}}}]); diff --git a/3465.f527bf04.async.js b/3465.f527bf04.async.js new file mode 100644 index 0000000000..f5144e05ef --- /dev/null +++ b/3465.f527bf04.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[3465],{43465:function(g,l,u){u.r(l),u.d(l,{tcl:function(){return b}});function f(r){for(var n={},t=r.split(" "),e=0;e!?^\/\|]/;function i(r,n,t){return n.tokenize=t,t(r,n)}function o(r,n){var t=n.beforeParams;n.beforeParams=!1;var e=r.next();if((e=='"'||e=="'")&&n.inParams)return i(r,n,k(e));if(/[\[\]{}\(\),;\.]/.test(e))return e=="("&&t?n.inParams=!0:e==")"&&(n.inParams=!1),null;if(/\d/.test(e))return r.eatWhile(/[\w\.]/),"number";if(e=="#")return r.eat("*")?i(r,n,m):e=="#"&&r.match(/ *\[ *\[/)?i(r,n,h):(r.skipToEnd(),"comment");if(e=='"')return r.skipTo(/"/),"comment";if(e=="$")return r.eatWhile(/[$_a-z0-9A-Z\.{:]/),r.eatWhile(/}/),n.beforeParams=!0,"builtin";if(d.test(e))return r.eatWhile(d),"comment";r.eatWhile(/[\w\$_{}\xa1-\uffff]/);var a=r.current().toLowerCase();return c&&c.propertyIsEnumerable(a)?"keyword":s&&s.propertyIsEnumerable(a)?(n.beforeParams=!0,"keyword"):null}function k(r){return function(n,t){for(var e=!1,a,p=!1;(a=n.next())!=null;){if(a==r&&!e){p=!0;break}e=!e&&a=="\\"}return p&&(t.tokenize=o),"string"}}function m(r,n){for(var t=!1,e;e=r.next();){if(e=="#"&&t){n.tokenize=o;break}t=e=="*"}return"comment"}function h(r,n){for(var t=0,e;e=r.next();){if(e=="#"&&t==2){n.tokenize=o;break}e=="]"?t++:e!=" "&&(t=0)}return"meta"}const b={name:"tcl",startState:function(){return{tokenize:o,beforeParams:!1,inParams:!1}},token:function(r,n){return r.eatSpace()?null:n.tokenize(r,n)},languageData:{commentTokens:{line:"#"}}}}}]); diff --git a/3471.6aaf281a.async.js b/3471.6aaf281a.async.js new file mode 100644 index 0000000000..a4e47051fd --- /dev/null +++ b/3471.6aaf281a.async.js @@ -0,0 +1 @@ +(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[3471],{40110:function(D,f,t){"use strict";var P=t(1413),s=t(67294),T=t(509),p=t(84089),M=function(y,v){return s.createElement(p.Z,(0,P.Z)((0,P.Z)({},y),{},{ref:v,icon:T.Z}))};M.displayName="SearchOutlined",f.Z=s.forwardRef(M)},72034:function(D,f,t){"use strict";t.d(f,{Z:function(){return h}});var P=t(94184),s=t.n(P),T={tabs:"tabs___GTqPV",active:"active___F26E8"},p=t(85893),M=function(v){var w=v.dataSource,K=w===void 0?[]:w,A=v.value,F=v.onChange,S=v.className;return(0,p.jsx)("div",{className:s()(T.tabs,S),children:K.map(function(c){return(0,p.jsx)("span",{onClick:function(){return F(c.id)},className:A===c.id?T.active:"",children:c.name},c.id)})})},h=M},30455:function(D,f,t){"use strict";t.d(f,{JF:function(){return G},L6:function(){return v},R_:function(){return K},cd:function(){return x},dA:function(){return F},yp:function(){return c}});var P=t(15009),s=t.n(P),T=t(97857),p=t.n(T),M=t(99289),h=t.n(M),y=t(84519);function v(l){return w.apply(this,arguments)}function w(){return w=h()(s()().mark(function l(o){return s()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,y.ZP)("/admins/shixun_authorizations.json",{method:"get",params:p()({},o)}));case 1:case"end":return r.stop()}},l)})),w.apply(this,arguments)}function K(l){return A.apply(this,arguments)}function A(){return A=h()(s()().mark(function l(o){return s()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,y.ZP)("/admins/shixun_authorizations/".concat(o.id,"/agree.json"),{method:"post",body:p()({},o)}));case 1:case"end":return r.stop()}},l)})),A.apply(this,arguments)}function F(l){return S.apply(this,arguments)}function S(){return S=h()(s()().mark(function l(o){return s()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,y.ZP)("/admins/shixun_authorizations/".concat(o.id,"/refuse.json"),{method:"post",body:p()({},o)}));case 1:case"end":return r.stop()}},l)})),S.apply(this,arguments)}function c(l){return B.apply(this,arguments)}function B(){return B=h()(s()().mark(function l(o){return s()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,y.ZP)("/admins/subject_authorizations.json",{method:"get",params:p()({},o)}));case 1:case"end":return r.stop()}},l)})),B.apply(this,arguments)}function x(l){return $.apply(this,arguments)}function $(){return $=h()(s()().mark(function l(o){return s()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,y.ZP)("/admins/subject_authorizations/".concat(o.id,"/agree.json"),{method:"post",body:p()({},o)}));case 1:case"end":return r.stop()}},l)})),$.apply(this,arguments)}function G(l){return N.apply(this,arguments)}function N(){return N=h()(s()().mark(function l(o){return s()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,y.ZP)("/admins/subject_authorizations/".concat(o.id,"/refuse.json"),{method:"post",body:p()({},o)}));case 1:case"end":return r.stop()}},l)})),N.apply(this,arguments)}},22773:function(D,f,t){"use strict";t.d(f,{R:function(){return P}});var P={PROXY_SERVER:"http://10.20.74.5:8081"};f.Z=P},84519:function(D,f,t){"use strict";t.d(f,{ZP:function(){return o}});var P=t(97857),s=t.n(P),T=t(52677),p=t.n(T),M=t(15009),h=t.n(M),y=t(99289),v=t.n(y),w=t(35351),K=t(26855),A=t(5914),F=t(33715),S=t.n(F),c=t(88275),B=t(22773),x,$={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},G=function(){var i=v()(h()().mark(function e(_,E){var n,L,m,U;return h()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:if(!(_.status>=200&&_.status<300)){O.next=2;break}return O.abrupt("return",_);case 2:return n=$[_.status]||_.statusText,m=_.json(),O.next=6,m.then(function(z,X){setTimeout(function(){var Y=(0,c.getDvaApp)()},400),L=z.message,K.Z.error({style:{wordBreak:"break-all"},message:z.message||"\u8BF7\u6C42\u9519\u8BEF ".concat(_.status,": ").concat(_.message),description:z.message?"":n})});case 6:throw U=new Error(n),U.name=_.status,U.response=_,{data:_,code:_.status,message:L||n};case 10:case"end":return O.stop()}},e)}));return function(_,E){return i.apply(this,arguments)}}(),N=function(e,_){var E=e.headers.get("Content-Type");return E&&E.match(/application\/json/i)&&e.clone().text().then(function(){}),e},l=function(e){e=e||{};var _="",E=function(m){p()(e[m])==="object"?Array.isArray(e[m])&&e[m].forEach(function(U,u){_+="&"+m+"[]="+U}):_+="&"+m+"="+e[m]};for(var n in e)E(n);return _.substr(1)};function o(i,e,_,E){e.method||(e.method="get"),e.method=e.method.toUpperCase(),e.mode="cors";var n=s()({},e);n.body?(n.body.is_test=1,n.body.is_admin=!0):n.params?(n.params.is_test=1,n.params.is_admin=!0):n.params={is_test:1,is_admin:!0};var L=i+(n.body?JSON.stringify(n.body):""),m=S().sha256().update(L).digest("hex"),U={credentials:"include",withCredentials:!0},u=s()(s()({},U),n);(u.method==="POST"||u.method==="PUT"||u.method==="PATCH"||u.method==="DELETE")&&(_?(u.headers=s()({},u.headers),u.body=n.body):(u.headers=s()({Accept:"application/json","Content-Type":"application/json; charset=utf-8"},u.headers),u.body=JSON.stringify(n.body))),(u.method=="GET"||u.method=="DELETE")&&(u.headers=s()({Accept:"application/json","Content-Type":"application/json; charset=utf-8"},u.headers),n.params&&(i+="?"+l(n.params)));var O=(0,w.RV)();u.headers.withCredentials=!0,u.headers.Authorization=O==null?void 0:O.autologin_trustie;var z=n.expirys&&60,X=function(d){return d.json="application/json;charset=UTF-8",d.form="application/x-www-form-urlencoded; charset=UTF-8",d}({}),Y=function(d){return d.get="GET",d.post="POST",d}({}),Q=function(){var d=v()(h()().mark(function Z(b){var g,R,j,k,I,J;return h()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,b.arrayBuffer();case 2:g=W.sent,j=new Blob([g]);try{R=b.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch(ne){R="userfiles.zip"}return k=document.createElement("a"),I=window.URL.createObjectURL(j),J=R,k.href=I,k.download=J,k.click(),window.URL.revokeObjectURL(I),W.abrupt("return",g);case 13:case"end":return W.stop()}},Z)}));return function(b){return d.apply(this,arguments)}}();(0,w.Ec)(u,i);var V=B.Z.PROXY_SERVER;return(window.ENV==="dev"||i.startsWith("http"))&&(V=""),E&&(V=""),fetch(V+i,u).then(function(d){return G(d,s()({url:B.Z.PROXY_SERVER+i},u))}).then(function(d){return N(d,m)}).then(function(){var d=v()(h()().mark(function Z(b){var g,R,j,k,I;return h()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(b.status!==204){a.next=2;break}return a.abrupt("return",b.text());case 2:if(!(b.headers.get("content-type").indexOf("application/json")>-1)){a.next=8;break}return a.next=5,b.json();case 5:j=a.sent,a.next=23;break;case 8:if(u.headers["Content-Type"]!=="application/xml"){a.next=14;break}return a.next=11,b.text();case 11:j=a.sent,a.next=23;break;case 14:if(!((g=n.body)!==null&&g!==void 0&&g.autoDownload||(R=n.params)!==null&&R!==void 0&&R.autoDownload)){a.next=20;break}return a.next=17,Q(b);case 17:j=a.sent,a.next=23;break;case 20:return a.next=22,b.arrayBuffer();case 22:j=a.sent;case 23:if(a.prev=23,!(j.status===401&&(!((k=u.params)!==null&&k!==void 0&&k.hidePopLogin)||!((I=u.body)!==null&&I!==void 0&&I.hidePopLogin)))){a.next=27;break}return c.history.push("/login"),a.abrupt("return");case 27:j.status===402&&(localStorage.getItem("addinfo")==="2"?(0,c.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(x=x||A.Z.confirm({centered:!0,visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),x.update({centered:!0,visible:!0,title:"\u63D0\u793A",content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:function(){c.history.push("/account/profile/edit")}}))),a.next=32;break;case 30:a.prev=30,a.t0=a.catch(23);case 32:return H(j,i),a.abrupt("return",j);case 34:case"end":return a.stop()}},Z,null,[[23,30]])}));return function(Z){return d.apply(this,arguments)}}()).catch(function(d,Z,b){try{var g=d.code;if(g){if(g===401){c.history.push("/login");return}H(d,i)}else i.includes("/file/filePatchMerge")?(0,c.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:u.body}}):K.Z.warning({style:{wordBreak:"break-all"},duration:null,message:"\u60A8\u7684\u7F51\u7EDC\u53EF\u80FD\u51FA\u73B0\u4E86\u95EE\u9898\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"});return d}catch(R){}})}var C=!1,r=!1,H=function(e,_){if((e.status==-1||e.status==-2||e.status>400)&&e.status!=403&&!r){r=!0,setTimeout(function(){return r=!1},500);return}var E={403:"/login",404:"/404",500:"/500"};if(e.status==403){c.history.push("/login");return}if(E[e.status]&&!C){var n=(0,c.getDvaApp)()._store.getState(),L=n.user,m=L.userInfo;window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&alert(e.status+":"+(m==null?void 0:m.id)+"---"+_),C=!0,setTimeout(function(){return C=!1},500),e.status,c.history.replace(E[e.status]),sessionStorage.setItem("errorStatus",JSON.stringify(e));return}};function q(i,e){return o("/api/".concat(i),{method:"Get",params:e||{}})}function ee(i,e){return o("/".concat(i),{method:"Get",params:e})}function te(i,e){return o("/api/".concat(i),{method:"Post",body:_objectSpread({},e)})}function re(i,e){return o("/api/".concat(i),{method:"Put",body:_objectSpread({},e)})}function ae(i){return o("/api/".concat(i),{method:"delete"})}},42826:function(){"use strict"},49677:function(D){function f(t){if(t==null)throw new TypeError("Cannot destructure "+t)}D.exports=f,D.exports.__esModule=!0,D.exports.default=D.exports}}]); diff --git a/3482.bb0baee2.async.js b/3482.bb0baee2.async.js new file mode 100644 index 0000000000..ad308d418b --- /dev/null +++ b/3482.bb0baee2.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[3482],{33482:function(D,A,t){t.r(A),t.d(A,{pig:function(){return M}});function N(e){for(var T={},O=e.split(" "),E=0;E=&?:\/!|]/;function o(e,T,O){return T.tokenize=O,O(e,T)}function G(e,T){for(var O=!1,E;E=e.next();){if(E=="/"&&O){T.tokenize=n;break}O=E=="*"}return"comment"}function l(e){return function(T,O){for(var E=!1,r,C=!1;(r=T.next())!=null;){if(r==e&&!E){C=!0;break}E=!E&&r=="\\"}return(C||!E)&&(O.tokenize=n),"error"}}function n(e,T){var O=e.next();return O=='"'||O=="'"?o(e,T,l(O)):/[\[\]{}\(\),;\.]/.test(O)?null:/\d/.test(O)?(e.eatWhile(/[\w\.]/),"number"):O=="/"?e.eat("*")?o(e,T,G):(e.eatWhile(I),"operator"):O=="-"?e.eat("-")?(e.skipToEnd(),"comment"):(e.eatWhile(I),"operator"):I.test(O)?(e.eatWhile(I),"operator"):(e.eatWhile(/[\w\$_]/),i&&i.propertyIsEnumerable(e.current().toUpperCase())&&!e.eat(")")&&!e.eat(".")?"keyword":u&&u.propertyIsEnumerable(e.current().toUpperCase())?"builtin":U&&U.propertyIsEnumerable(e.current().toUpperCase())?"type":"variable")}const M={name:"pig",startState:function(){return{tokenize:n,startOfLine:!0}},token:function(e,T){if(e.eatSpace())return null;var O=T.tokenize(e,T);return O},languageData:{autocomplete:(R+L+S).split(" ")}}}}]); diff --git a/3509.4a22931e.async.js b/3509.4a22931e.async.js new file mode 100644 index 0000000000..5b8dbefa8a --- /dev/null +++ b/3509.4a22931e.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[3509],{63509:function(he,P,B){B.r(P),B.d(P,{haxe:function(){return de},hxml:function(){return pe}});function o(e){return{type:e,style:"keyword"}}var I=o("keyword a"),W=o("keyword b"),k=o("keyword c"),R=o("operator"),z={type:"atom",style:"atom"},y={type:"attribute",style:"attribute"},c=o("typedef"),H={if:I,while:I,else:W,do:W,try:W,return:k,break:k,continue:k,new:k,throw:k,var:o("var"),inline:y,static:y,using:o("import"),public:y,private:y,cast:o("cast"),import:o("import"),macro:o("macro"),function:o("function"),catch:o("catch"),untyped:o("untyped"),callback:o("cb"),for:o("for"),switch:o("switch"),case:o("case"),default:o("default"),in:R,never:o("property_access"),trace:o("trace"),class:c,abstract:c,enum:c,interface:c,typedef:c,extends:c,implements:c,dynamic:c,true:z,false:z,null:z},E=/[+\-*&%=<>!?|]/;function L(e,r,n){return r.tokenize=n,n(e,r)}function N(e,r){for(var n=!1,i;(i=e.next())!=null;){if(i==r&&!n)return!0;n=!n&&i=="\\"}}var c,$;function p(e,r,n){return c=e,$=n,r}function A(e,r){var n=e.next();if(n=='"'||n=="'")return L(e,r,X(n));if(/[\[\]{}\(\),;\:\.]/.test(n))return p(n);if(n=="0"&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),p("number","number");if(/\d/.test(n)||n=="-"&&e.eat(/\d/))return e.match(/^\d*(?:\.\d*(?!\.))?(?:[eE][+\-]?\d+)?/),p("number","number");if(r.reAllowed&&n=="~"&&e.eat(/\//))return N(e,"/"),e.eatWhile(/[gimsu]/),p("regexp","string.special");if(n=="/")return e.eat("*")?L(e,r,Y):e.eat("/")?(e.skipToEnd(),p("comment","comment")):(e.eatWhile(E),p("operator",null,e.current()));if(n=="#")return e.skipToEnd(),p("conditional","meta");if(n=="@")return e.eat(/:/),e.eatWhile(/[\w_]/),p("metadata","meta");if(E.test(n))return e.eatWhile(E),p("operator",null,e.current());var i;if(/[A-Z]/.test(n))return e.eatWhile(/[\w_<>]/),i=e.current(),p("type","type",i);e.eatWhile(/[\w_]/);var i=e.current(),u=H.propertyIsEnumerable(i)&&H[i];return u&&r.kwAllowed?p(u.type,u.style,i):p("variable","variable",i)}function X(e){return function(r,n){return N(r,e)&&(n.tokenize=A),p("string","string")}}function Y(e,r){for(var n=!1,i;i=e.next();){if(i=="/"&&n){r.tokenize=A;break}n=i=="*"}return p("comment","comment")}var j={atom:!0,number:!0,variable:!0,string:!0,regexp:!0};function F(e,r,n,i,u,d){this.indented=e,this.column=r,this.type=n,this.prev=u,this.info=d,i!=null&&(this.align=i)}function q(e,r){for(var n=e.localVars;n;n=n.next)if(n.name==r)return!0}function ee(e,r,n,i,u){var d=e.cc;for(a.state=e,a.stream=u,a.marked=null,a.cc=d,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;){var w=d.length?d.pop():x;if(w(n,i)){for(;d.length&&d[d.length-1].lex;)d.pop()();return a.marked?a.marked:n=="variable"&&q(e,i)?"variableName.local":n=="variable"&&re(e,i)?"variableName.special":r}}}function re(e,r){if(/[a-z]/.test(r.charAt(0)))return!1;for(var n=e.importedtypes.length,i=0;i=0;e--)a.cc.push(arguments[e])}function t(){return b.apply(null,arguments),!0}function G(e,r){for(var n=r;n;n=n.next)if(n.name==e)return!0;return!1}function V(e){var r=a.state;if(r.context){if(a.marked="def",G(e,r.localVars))return;r.localVars={name:e,next:r.localVars}}else if(r.globalVars){if(G(e,r.globalVars))return;r.globalVars={name:e,next:r.globalVars}}}var ne={name:"this",next:null};function C(){a.state.context||(a.state.localVars=ne),a.state.context={prev:a.state.context,vars:a.state.localVars}}function S(){a.state.localVars=a.state.context.vars,a.state.context=a.state.context.prev}S.lex=!0;function l(e,r){var n=function(){var i=a.state;i.lexical=new F(i.indented,a.stream.column(),e,null,i.lexical,r)};return n.lex=!0,n}function f(){var e=a.state;e.lexical.prev&&(e.lexical.type==")"&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}f.lex=!0;function s(e){function r(n){return n==e?t():e==";"?b():t(r)}return r}function x(e){return e=="@"?t(_):e=="var"?t(l("vardef"),Z,s(";"),f):e=="keyword a"?t(l("form"),h,x,f):e=="keyword b"?t(l("form"),x,f):e=="{"?t(l("}"),C,D,f,S):e==";"?t():e=="attribute"?t(J):e=="function"?t(g):e=="for"?t(l("form"),s("("),l(")"),oe,s(")"),f,x,f):e=="variable"?t(l("stat"),ue):e=="switch"?t(l("form"),h,l("}","switch"),s("{"),D,f,f):e=="case"?t(h,s(":")):e=="default"?t(s(":")):e=="catch"?t(l("form"),C,s("("),Q,s(")"),x,f,S):e=="import"?t(K,s(";")):e=="typedef"?t(ie):b(l("stat"),h,s(";"),f)}function h(e){return j.hasOwnProperty(e)||e=="type"?t(v):e=="function"?t(g):e=="keyword c"?t(O):e=="("?t(l(")"),O,s(")"),f,v):e=="operator"?t(h):e=="["?t(l("]"),m(O,"]"),f,v):e=="{"?t(l("}"),m(fe,"}"),f,v):t()}function O(e){return e.match(/[;\}\)\],]/)?b():b(h)}function v(e,r){if(e=="operator"&&/\+\+|--/.test(r))return t(v);if(e=="operator"||e==":")return t(h);if(e!=";"){if(e=="(")return t(l(")"),m(h,")"),f,v);if(e==".")return t(ae,v);if(e=="[")return t(l("]"),h,s("]"),f,v)}}function J(e){if(e=="attribute")return t(J);if(e=="function")return t(g);if(e=="var")return t(Z)}function _(e){if(e==":"||e=="variable")return t(_);if(e=="(")return t(l(")"),m(te,")"),f,x)}function te(e){if(e=="variable")return t()}function K(e,r){if(e=="variable"&&/[A-Z]/.test(r.charAt(0)))return U(r),t();if(e=="variable"||e=="property"||e=="."||r=="*")return t(K)}function ie(e,r){if(e=="variable"&&/[A-Z]/.test(r.charAt(0)))return U(r),t();if(e=="type"&&/[A-Z]/.test(r.charAt(0)))return t()}function ue(e){return e==":"?t(f,x):b(v,s(";"),f)}function ae(e){if(e=="variable")return a.marked="property",t()}function fe(e){if(e=="variable"&&(a.marked="property"),j.hasOwnProperty(e))return t(s(":"),h)}function m(e,r){function n(i){return i==","?t(e,n):i==r?t():t(s(r))}return function(i){return i==r?t():b(e,n)}}function D(e){return e=="}"?t():b(x,D)}function Z(e,r){return e=="variable"?(V(r),t(T,M)):t()}function M(e,r){if(r=="=")return t(h,M);if(e==",")return t(Z)}function oe(e,r){return e=="variable"?(V(r),t(le,h)):b()}function le(e,r){if(r=="in")return t()}function g(e,r){if(e=="variable"||e=="type")return V(r),t(g);if(r=="new")return t(g);if(e=="(")return t(l(")"),C,m(Q,")"),f,T,x,S)}function T(e){if(e==":")return t(ce)}function ce(e){if(e=="type"||e=="variable")return t();if(e=="{")return t(l("}"),m(se,"}"),f)}function se(e){if(e=="variable")return t(T)}function Q(e,r){if(e=="variable")return V(r),t(T)}const de={name:"haxe",startState:function(e){var r=["Int","Float","String","Void","Std","Bool","Dynamic","Array"],n={tokenize:A,reAllowed:!0,kwAllowed:!0,cc:[],lexical:new F(-e,0,"block",!1),importedtypes:r,context:null,indented:0};return n},token:function(e,r){if(e.sol()&&(r.lexical.hasOwnProperty("align")||(r.lexical.align=!1),r.indented=e.indentation()),e.eatSpace())return null;var n=r.tokenize(e,r);return c=="comment"?n:(r.reAllowed=!!(c=="operator"||c=="keyword c"||c.match(/^[\[{}\(,;:]$/)),r.kwAllowed=c!=".",ee(r,n,c,$,e))},indent:function(e,r,n){if(e.tokenize!=A)return 0;var i=r&&r.charAt(0),u=e.lexical;u.type=="stat"&&i=="}"&&(u=u.prev);var d=u.type,w=i==d;return d=="vardef"?u.indented+4:d=="form"&&i=="{"?u.indented:d=="stat"||d=="form"?u.indented+n.unit:u.info=="switch"&&!w?u.indented+(/^(?:case|default)\b/.test(r)?n.unit:2*n.unit):u.align?u.column+(w?0:1):u.indented+(w?0:n.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}},pe={name:"hxml",startState:function(){return{define:!1,inString:!1}},token:function(e,r){var u=e.peek(),n=e.sol();if(u=="#")return e.skipToEnd(),"comment";if(n&&u=="-"){var i="variable-2";return e.eat(/-/),e.peek()=="-"&&(e.eat(/-/),i="keyword a"),e.peek()=="D"&&(e.eat(/[D]/),i="keyword c",r.define=!0),e.eatWhile(/[A-Z]/i),i}var u=e.peek();return r.inString==!1&&u=="'"&&(r.inString=!0,e.next()),r.inString==!0?(e.skipTo("'")||e.skipToEnd(),e.peek()=="'"&&(e.next(),r.inString=!1),"string"):(e.next(),null)},languageData:{commentTokens:{line:"#"}}}}}]); diff --git a/3519.7b9143ba.async.js b/3519.7b9143ba.async.js new file mode 100644 index 0000000000..98da1a1a1c --- /dev/null +++ b/3519.7b9143ba.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[3519],{3519:function(w,l,s){s.r(l),s.d(l,{lua:function(){return v}});function g(e){return new RegExp("^(?:"+e.join("|")+")","i")}function r(e){return new RegExp("^(?:"+e.join("|")+")$","i")}var f=r(["_G","_VERSION","assert","collectgarbage","dofile","error","getfenv","getmetatable","ipairs","load","loadfile","loadstring","module","next","pairs","pcall","print","rawequal","rawget","rawset","require","select","setfenv","setmetatable","tonumber","tostring","type","unpack","xpcall","coroutine.create","coroutine.resume","coroutine.running","coroutine.status","coroutine.wrap","coroutine.yield","debug.debug","debug.getfenv","debug.gethook","debug.getinfo","debug.getlocal","debug.getmetatable","debug.getregistry","debug.getupvalue","debug.setfenv","debug.sethook","debug.setlocal","debug.setmetatable","debug.setupvalue","debug.traceback","close","flush","lines","read","seek","setvbuf","write","io.close","io.flush","io.input","io.lines","io.open","io.output","io.popen","io.read","io.stderr","io.stdin","io.stdout","io.tmpfile","io.type","io.write","math.abs","math.acos","math.asin","math.atan","math.atan2","math.ceil","math.cos","math.cosh","math.deg","math.exp","math.floor","math.fmod","math.frexp","math.huge","math.ldexp","math.log","math.log10","math.max","math.min","math.modf","math.pi","math.pow","math.rad","math.random","math.randomseed","math.sin","math.sinh","math.sqrt","math.tan","math.tanh","os.clock","os.date","os.difftime","os.execute","os.exit","os.getenv","os.remove","os.rename","os.setlocale","os.time","os.tmpname","package.cpath","package.loaded","package.loaders","package.loadlib","package.path","package.preload","package.seeall","string.byte","string.char","string.dump","string.find","string.format","string.gmatch","string.gsub","string.len","string.lower","string.match","string.rep","string.reverse","string.sub","string.upper","table.concat","table.insert","table.maxn","table.remove","table.sort"]),h=r(["and","break","elseif","false","nil","not","or","return","true","function","end","if","then","else","do","while","repeat","until","for","in","local"]),p=r(["function","if","repeat","do","\\(","{"]),m=r(["end","until","\\)","}"]),b=g(["end","until","\\)","}","else","elseif"]);function c(e){for(var t=0;e.eat("=");)++t;return e.eat("["),t}function u(e,t){var n=e.next();return n=="-"&&e.eat("-")?e.eat("[")&&e.eat("[")?(t.cur=d(c(e),"comment"))(e,t):(e.skipToEnd(),"comment"):n=='"'||n=="'"?(t.cur=k(n))(e,t):n=="["&&/[\[=]/.test(e.peek())?(t.cur=d(c(e),"string"))(e,t):/\d/.test(n)?(e.eatWhile(/[\w.%]/),"number"):/[\w_]/.test(n)?(e.eatWhile(/[\w\\\-_.]/),"variable"):null}function d(e,t){return function(n,a){for(var i=null,o;(o=n.next())!=null;)if(i==null)o=="]"&&(i=0);else if(o=="=")++i;else if(o=="]"&&i==e){a.cur=u;break}else i=null;return t}}function k(e){return function(t,n){for(var a=!1,i;(i=t.next())!=null&&!(i==e&&!a);)a=!a&&i=="\\";return a||(n.cur=u),"string"}}const v={name:"lua",startState:function(){return{basecol:0,indentDepth:0,cur:u}},token:function(e,t){if(e.eatSpace())return null;var n=t.cur(e,t),a=e.current();return n=="variable"&&(h.test(a)?n="keyword":f.test(a)&&(n="builtin")),n!="comment"&&n!="string"&&(p.test(a)?++t.indentDepth:m.test(a)&&--t.indentDepth),n},indent:function(e,t,n){var a=b.test(t);return e.basecol+n.unit*(e.indentDepth-(a?1:0))},languageData:{indentOnInput:/^\s*(?:end|until|else|\)|\})$/,commentTokens:{line:"--",block:{open:"--[[",close:"]]--"}}}}}}]); diff --git a/368.d311c97a.async.js b/368.d311c97a.async.js new file mode 100644 index 0000000000..a9bd81c24f --- /dev/null +++ b/368.d311c97a.async.js @@ -0,0 +1,209 @@ +var xg=Object.defineProperty;var lf=Object.getOwnPropertySymbols;var wg=Object.prototype.hasOwnProperty,Eg=Object.prototype.propertyIsEnumerable;var sf=(Z,F,i)=>F in Z?xg(Z,F,{enumerable:!0,configurable:!0,writable:!0,value:i}):Z[F]=i,cf=(Z,F)=>{for(var i in F||(F={}))wg.call(F,i)&&sf(Z,i,F[i]);if(lf)for(var i of lf(F))Eg.call(F,i)&&sf(Z,i,F[i]);return Z};(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[368],{42348:function(Z,F,i){"use strict";i.d(F,{G:function(){return Be}});var s=i(4942),n=i(97685),b=i(1413),x=i(91),O=i(27833),E=i(51812),M=["colon","dependencies","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","initialValue","noStyle","label","labelAlign","labelCol","name","preserve","normalize","required","rules","shouldUpdate","trigger","validateFirst","validateStatus","validateTrigger","valuePropName","wrapperCol","hidden","addonBefore","addonAfter"];function T(Re){var rt={};return M.forEach(function(Tt){Re[Tt]!==void 0&&(rt[Tt]=Re[Tt])}),rt}var $=i(87668);const H=$.configure,oe=null;var w=null,Y=H({bigint:!0,circularValue:"Magic circle!",deterministic:!1,maximumDepth:4}),de=Y,_=i(48171),re=i(94184),Ke=i.n(re),Ce=i(43589),lt=i(80334),ut=i(67294),at=i(40473),Yn=i(41036),dn=i(60249),qt=i(92210),be=i(1414),Xe=i(88306),bt=i(8880),te=i(10279),Te=i(85893),_e=["name","originDependencies","children","ignoreFormListField"],Pe=function(rt){var Tt=rt.name,Ln=rt.originDependencies,Nn=Ln===void 0?Tt:Ln,pt=rt.children,yn=rt.ignoreFormListField,Wn=(0,x.Z)(rt,_e),Fn=(0,ut.useContext)(Yn.J),Gn=(0,ut.useContext)(te.J),er=(0,ut.useMemo)(function(){return Tt.map(function(Sn){var Vr,Ft=[Sn];return!yn&&Gn.name!==void 0&&(Vr=Gn.listName)!==null&&Vr!==void 0&&Vr.length&&Ft.unshift(Gn.listName),Ft.flat(1)})},[Gn.listName,Gn.name,yn,Tt==null?void 0:Tt.toString()]);return(0,Te.jsx)(be.Z.Item,(0,b.Z)((0,b.Z)({},Wn),{},{noStyle:!0,shouldUpdate:function(Vr,Ft,zt){if(typeof Wn.shouldUpdate=="boolean")return Wn.shouldUpdate;if(typeof Wn.shouldUpdate=="function"){var fr;return(fr=Wn.shouldUpdate)===null||fr===void 0?void 0:fr.call(Wn,Vr,Ft,zt)}return er.some(function(ao){return!(0,dn.A)((0,Xe.Z)(Vr,ao),(0,Xe.Z)(Ft,ao))})},children:function(Vr){for(var Ft={},zt=0;zt=60&&Math.round(c.h)<=240?d=u?Math.round(c.h)-at*r:Math.round(c.h)+at*r:d=u?Math.round(c.h)+at*r:Math.round(c.h)-at*r,d<0?d+=360:d>=360&&(d-=360),d}function ct(c,r,u){if(c.h===0&&c.s===0)return c.s;var d;return u?d=c.s-Yn*r:r===bt?d=c.s+Yn:d=c.s+dn*r,d>1&&(d=1),u&&r===Xe&&d>.1&&(d=.1),d<.06&&(d=.06),Number(d.toFixed(2))}function yt(c,r,u){var d;return u?d=c.v+qt*r:d=c.v-be*r,d>1&&(d=1),Number(d.toFixed(2))}function fn(c){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=[],d=(0,ut.uA)(c),C=Xe;C>0;C-=1){var R=Te(d),W=_e((0,ut.uA)({h:Ue(R,C,!0),s:ct(R,C,!0),v:yt(R,C,!0)}));u.push(W)}u.push(_e(d));for(var U=1;U<=bt;U+=1){var ee=Te(d),Q=_e((0,ut.uA)({h:Ue(ee,U),s:ct(ee,U),v:yt(ee,U)}));u.push(Q)}return r.theme==="dark"?te.map(function(me){var xe=me.index,Ze=me.opacity,tt=_e(Pe((0,ut.uA)(r.backgroundColor||"#141414"),(0,ut.uA)(u[xe]),Ze*100));return tt}):u}var Nt={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Se={},D={};Object.keys(Nt).forEach(function(c){Se[c]=fn(Nt[c]),Se[c].primary=Se[c][5],D[c]=fn(Nt[c],{theme:"dark",backgroundColor:"#141414"}),D[c].primary=D[c][5]});var se=Se.red,Be=Se.volcano,Re=Se.gold,rt=Se.orange,Tt=Se.yellow,Ln=Se.lime,Nn=Se.green,pt=Se.cyan,yn=Se.blue,Wn=Se.geekblue,Fn=Se.purple,Gn=Se.magenta,er=Se.grey,Sn=Se.grey,Vr=(0,w.createContext)({}),Ft=Vr,zt=i(44958),fr=i(27571),ao=i(80334);function k(c){return c.replace(/-(.)/g,function(r,u){return u.toUpperCase()})}function Ne(c,r){(0,ao.ZP)(c,"[@ant-design/icons] ".concat(r))}function Fe(c){return(0,b.Z)(c)==="object"&&typeof c.name=="string"&&typeof c.theme=="string"&&((0,b.Z)(c.icon)==="object"||typeof c.icon=="function")}function dt(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(c).reduce(function(r,u){var d=c[u];switch(u){case"class":r.className=d,delete r.class;break;default:delete r[u],r[k(u)]=d}return r},{})}function $t(c,r,u){return u?w.createElement(c.tag,(0,s.Z)((0,s.Z)({key:r},dt(c.attrs)),u),(c.children||[]).map(function(d,C){return $t(d,"".concat(r,"-").concat(c.tag,"-").concat(C))})):w.createElement(c.tag,(0,s.Z)({key:r},dt(c.attrs)),(c.children||[]).map(function(d,C){return $t(d,"".concat(r,"-").concat(c.tag,"-").concat(C))}))}function rn(c){return fn(c)[0]}function On(c){return c?Array.isArray(c)?c:[c]:[]}var xt={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},Kt=` +.anticon { + display: inline-block; + color: inherit; + font-style: normal; + line-height: 0; + text-align: center; + text-transform: none; + vertical-align: -0.125em; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.anticon > * { + line-height: 1; +} + +.anticon svg { + display: inline-block; +} + +.anticon::before { + display: none; +} + +.anticon .anticon-icon { + display: block; +} + +.anticon[tabindex] { + cursor: pointer; +} + +.anticon-spin::before, +.anticon-spin { + display: inline-block; + -webkit-animation: loadingCircle 1s infinite linear; + animation: loadingCircle 1s infinite linear; +} + +@-webkit-keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +@keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +`,Mr=function(r){var u=(0,w.useContext)(Ft),d=u.csp,C=u.prefixCls,R=Kt;C&&(R=R.replace(/anticon/g,C)),(0,w.useEffect)(function(){var W=r.current,U=(0,fr.A)(W);(0,zt.hq)(R,"@ant-design-icons",{prepend:!0,csp:d,attachTo:U})},[])},Vn=["icon","className","onClick","style","primaryColor","secondaryColor"],Xt={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Qt(c){var r=c.primaryColor,u=c.secondaryColor;Xt.primaryColor=r,Xt.secondaryColor=u||rn(r),Xt.calculated=!!u}function on(){return(0,s.Z)({},Xt)}var Tn=function(r){var u=r.icon,d=r.className,C=r.onClick,R=r.style,W=r.primaryColor,U=r.secondaryColor,ee=(0,n.Z)(r,Vn),Q=w.useRef(),me=Xt;if(W&&(me={primaryColor:W,secondaryColor:U||rn(W)}),Mr(Q),Ne(Fe(u),"icon should be icon definiton, but got ".concat(u)),!Fe(u))return null;var xe=u;return xe&&typeof xe.icon=="function"&&(xe=(0,s.Z)((0,s.Z)({},xe),{},{icon:xe.icon(me.primaryColor,me.secondaryColor)})),$t(xe.icon,"svg-".concat(xe.name),(0,s.Z)((0,s.Z)({className:d,onClick:C,style:R,"data-icon":xe.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},ee),{},{ref:Q}))};Tn.displayName="IconReact",Tn.getTwoToneColors=on,Tn.setTwoToneColors=Qt;var q=Tn;function ne(c){var r=On(c),u=(0,Y.Z)(r,2),d=u[0],C=u[1];return q.setTwoToneColors({primaryColor:d,secondaryColor:C})}function Oe(){var c=q.getTwoToneColors();return c.calculated?[c.primaryColor,c.secondaryColor]:c.primaryColor}var je=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];ne(yn.primary);var et=w.forwardRef(function(c,r){var u,d=c.className,C=c.icon,R=c.spin,W=c.rotate,U=c.tabIndex,ee=c.onClick,Q=c.twoToneColor,me=(0,n.Z)(c,je),xe=w.useContext(Ft),Ze=xe.prefixCls,tt=Ze===void 0?"anticon":Ze,Ot=xe.rootClassName,ot=Ce()(Ot,tt,(u={},(0,re.Z)(u,"".concat(tt,"-").concat(C.name),!!C.name),(0,re.Z)(u,"".concat(tt,"-spin"),!!R||C.name==="loading"),u),d),Je=U;Je===void 0&&ee&&(Je=-1);var sn=W?{msTransform:"rotate(".concat(W,"deg)"),transform:"rotate(".concat(W,"deg)")}:void 0,Mt=On(Q),$n=(0,Y.Z)(Mt,2),Un=$n[0],Hn=$n[1];return w.createElement("span",(0,de.Z)({role:"img","aria-label":C.name},me,{ref:r,tabIndex:Je,onClick:ee,className:ot}),w.createElement(q,{icon:C,primaryColor:Un,secondaryColor:Hn,style:sn}))});et.displayName="AntdIcon",et.getTwoToneColor=Oe,et.setTwoToneColor=ne;var vn=et,Bt=function(r,u){return w.createElement(vn,(0,de.Z)({},r,{ref:u,icon:_.Z}))},zn=w.forwardRef(Bt),lr=i(98912),Cn=i(94740),Zn=i(61978),pn=i(74902),Rn=i(98082),kn=i(75661),bo=i(21770),To=i(27068),Qn=function(r){var u=(0,w.useRef)(r);return u.current=r,u};function Lo(c){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100,u=arguments.length>2?arguments[2]:void 0,d=(0,w.useState)(c),C=(0,Y.Z)(d,2),R=C[0],W=C[1],U=Qn(c);return(0,w.useEffect)(function(){var ee=setTimeout(function(){W(U.current)},r);return function(){return clearTimeout(ee)}},u?[r].concat((0,pn.Z)(u)):void 0),R}var an=i(78957),kr=i(57953),zr=i(59734),Do=i(40411),G=i(85893),to={Success:function(r){var u=r.children;return(0,G.jsx)(Do.Z,{status:"success",text:u})},Error:function(r){var u=r.children;return(0,G.jsx)(Do.Z,{status:"error",text:u})},Default:function(r){var u=r.children;return(0,G.jsx)(Do.Z,{status:"default",text:u})},Processing:function(r){var u=r.children;return(0,G.jsx)(Do.Z,{status:"processing",text:u})},Warning:function(r){var u=r.children;return(0,G.jsx)(Do.Z,{status:"warning",text:u})},success:function(r){var u=r.children;return(0,G.jsx)(Do.Z,{status:"success",text:u})},error:function(r){var u=r.children;return(0,G.jsx)(Do.Z,{status:"error",text:u})},default:function(r){var u=r.children;return(0,G.jsx)(Do.Z,{status:"default",text:u})},processing:function(r){var u=r.children;return(0,G.jsx)(Do.Z,{status:"processing",text:u})},warning:function(r){var u=r.children;return(0,G.jsx)(Do.Z,{status:"warning",text:u})}},fo=function(r){var u=r.color,d=r.children;return(0,G.jsx)(Do.Z,{color:u,text:d})},Fo=to,Aa=i(509),oa=function(r,u){return w.createElement(vn,(0,de.Z)({},r,{ref:u,icon:Aa.Z}))},Kr=w.forwardRef(oa),Ar=i(83863),wr=i(96365),Gr=i(50344),fa=["label","prefixCls","onChange","value","mode","children","defaultValue","size","showSearch","disabled","style","className","bordered","options","onSearch","allowClear","labelInValue","fieldNames","lightLabel","labelTrigger","optionFilterProp","optionLabelProp"],si=function(r,u){return(0,b.Z)(u)!=="object"?r[u]||u:r[u==null?void 0:u.value]||u.label},pi=function(r,u){var d=r.label,C=r.prefixCls,R=r.onChange,W=r.value,U=r.mode,ee=r.children,Q=r.defaultValue,me=r.size,xe=r.showSearch,Ze=r.disabled,tt=r.style,Ot=r.className,ot=r.bordered,Je=r.options,sn=r.onSearch,Mt=r.allowClear,$n=r.labelInValue,Un=r.fieldNames,Hn=r.lightLabel,mr=r.labelTrigger,qr=r.optionFilterProp,no=r.optionLabelProp,Vo=no===void 0?"":no,xo=(0,n.Z)(r,fa),Fr=r.placeholder,mt=Fr===void 0?d:Fr,ur=Un||{},Pr=ur.label,kt=Pr===void 0?"label":Pr,_r=ur.value,ro=_r===void 0?"value":_r,oo=(0,w.useContext)(Cn.ZP.ConfigContext),Xo=oo.getPrefixCls,ua=Xo("pro-field-select-light-select"),Xa=(0,w.useState)(!1),Va=(0,Y.Z)(Xa,2),ni=Va[0],Ii=Va[1],Ei=(0,w.useState)(""),Li=(0,Y.Z)(Ei,2),mi=Li[0],Fi=Li[1],Yi=(0,Rn.Xj)("LightSelect",function(wo){var rr;return(0,re.Z)({},".".concat(ua),(rr={},(0,re.Z)(rr,"".concat(wo.antCls,"-select"),{position:"absolute",width:"153px",height:"28px",visibility:"hidden","&-selector":{height:28}}),(0,re.Z)(rr,"&.".concat(ua,"-searchable"),(0,re.Z)({},"".concat(wo.antCls,"-select"),{width:"200px","&-selector":{height:28}})),rr))}),Hi=Yi.wrapSSR,Wi=Yi.hashId,Gi=(0,w.useMemo)(function(){var wo={};return Je==null||Je.forEach(function(rr){var xr=rr[Vo]||rr[kt],da=rr[ro];wo[da]=xr||da}),wo},[kt,Je,ro,Vo]),Vi=Array.isArray(W)?W.map(function(wo){return si(Gi,wo)}):si(Gi,W);return Hi((0,G.jsxs)("div",{className:Ce()(ua,Wi,(0,re.Z)({},"".concat(ua,"-searchable"),xe),"".concat(ua,"-container-").concat(xo.placement||"bottomLeft"),Ot),style:tt,onClick:function(rr){var xr,da,Ta;if(!Ze){var yi=Hn==null||(xr=Hn.current)===null||xr===void 0||(da=xr.labelRef)===null||da===void 0||(Ta=da.current)===null||Ta===void 0?void 0:Ta.contains(rr.target);Ii(yi?!ni:!0)}},children:[(0,G.jsx)(Ar.default,(0,s.Z)((0,s.Z)({popupMatchSelectWidth:!1},xo),{},{allowClear:Mt,value:W,mode:U,labelInValue:$n,size:me,disabled:Ze,onChange:function(rr,xr){R==null||R(rr,xr),U!=="multiple"&&Ii(!1)},bordered:ot,showSearch:xe,onSearch:sn,style:tt,dropdownRender:function(rr){return(0,G.jsxs)("div",{ref:u,children:[xe&&(0,G.jsx)("div",{style:{margin:"4px 8px"},children:(0,G.jsx)(wr.Z,{value:mi,allowClear:!!Mt,onChange:function(da){Fi(da.target.value),sn==null||sn(da.target.value)},onKeyDown:function(da){da.stopPropagation()},style:{width:"100%"},prefix:(0,G.jsx)(Kr,{})})}),rr]})},open:ni,onDropdownVisibleChange:function(rr){var xr;rr||Fi(""),mr||Ii(rr),xo==null||(xr=xo.onDropdownVisibleChange)===null||xr===void 0||xr.call(xo,rr)},prefixCls:C,options:sn||!mi?Je:Je==null?void 0:Je.filter(function(wo){var rr,xr,da,Ta,yi;return qr?(0,Gr.Z)(wo[qr]).join("").toLowerCase().includes(mi):((rr=String(wo[kt]))===null||rr===void 0||(xr=rr.toLowerCase())===null||xr===void 0?void 0:xr.includes(mi==null?void 0:mi.toLowerCase()))||((da=wo[ro])===null||da===void 0||(Ta=da.toString())===null||Ta===void 0||(yi=Ta.toLowerCase())===null||yi===void 0?void 0:yi.includes(mi==null?void 0:mi.toLowerCase()))})})),(0,G.jsx)(lr.Q,{ellipsis:!0,label:d,placeholder:mt,disabled:Ze,bordered:ot,allowClear:!!Mt,value:Vi||(W==null?void 0:W.label)||W,onClear:function(){R==null||R(void 0,void 0)},ref:Hn})]}))},ci=w.forwardRef(pi),Qa=["optionItemRender","mode","onSearch","onFocus","onChange","autoClearSearchValue","searchOnFocus","resetAfterSelect","fetchDataOnSearch","optionFilterProp","optionLabelProp","className","disabled","options","fetchData","resetData","prefixCls","onClear","searchValue","showSearch","fieldNames","defaultSearchValue"],ri=["className","optionType"],ha=function(r,u){var d=r.optionItemRender,C=r.mode,R=r.onSearch,W=r.onFocus,U=r.onChange,ee=r.autoClearSearchValue,Q=ee===void 0?!0:ee,me=r.searchOnFocus,xe=me===void 0?!1:me,Ze=r.resetAfterSelect,tt=Ze===void 0?!1:Ze,Ot=r.fetchDataOnSearch,ot=Ot===void 0?!0:Ot,Je=r.optionFilterProp,sn=Je===void 0?"label":Je,Mt=r.optionLabelProp,$n=Mt===void 0?"label":Mt,Un=r.className,Hn=r.disabled,mr=r.options,qr=r.fetchData,no=r.resetData,Vo=r.prefixCls,xo=r.onClear,Fr=r.searchValue,mt=r.showSearch,ur=r.fieldNames,Pr=r.defaultSearchValue,kt=(0,n.Z)(r,Qa),_r=ur||{},ro=_r.label,oo=ro===void 0?"label":ro,Xo=_r.value,ua=Xo===void 0?"value":Xo,Xa=_r.options,Va=Xa===void 0?"options":Xa,ni=(0,w.useState)(Fr!=null?Fr:Pr),Ii=(0,Y.Z)(ni,2),Ei=Ii[0],Li=Ii[1],mi=(0,w.useRef)();(0,w.useImperativeHandle)(u,function(){return mi.current}),(0,w.useEffect)(function(){if(kt.autoFocus){var wo;mi==null||(wo=mi.current)===null||wo===void 0||wo.focus()}},[kt.autoFocus]),(0,w.useEffect)(function(){Li(Fr)},[Fr]);var Fi=(0,w.useContext)(Cn.ZP.ConfigContext),Yi=Fi.getPrefixCls,Hi=Yi("pro-filed-search-select",Vo),Wi=Ce()(Hi,Un,(0,re.Z)({},"".concat(Hi,"-disabled"),Hn)),Gi=function(rr,xr){return Array.isArray(rr)&&rr.length>0?rr.map(function(da,Ta){var yi=xr==null?void 0:xr[Ta],cl=(yi==null?void 0:yi["data-item"])||{};return(0,s.Z)((0,s.Z)({},cl),da)}):[]},Vi=function wo(rr){return rr.map(function(xr,da){var Ta,yi=xr,cl=yi.className,Ml=yi.optionType,pl=(0,n.Z)(yi,ri),Qi=xr[oo],el=xr[ua],hl=(Ta=xr[Va])!==null&&Ta!==void 0?Ta:[];return Ml==="optGroup"||xr.options?(0,s.Z)((0,s.Z)({label:Qi},pl),{},{data_title:Qi,title:Qi,key:el!=null?el:Qi==null?void 0:Qi.toString(),children:wo(hl)}):(0,s.Z)((0,s.Z)({title:Qi},pl),{},{data_title:Qi,value:el!=null?el:da,key:el!=null?el:Qi==null?void 0:Qi.toString(),"data-item":xr,className:"".concat(Hi,"-option ").concat(cl||"").trim(),label:(d==null?void 0:d(xr))||Qi})})};return(0,G.jsx)(Ar.default,(0,s.Z)((0,s.Z)({ref:mi,className:Wi,allowClear:!0,autoClearSearchValue:Q,disabled:Hn,mode:C,showSearch:mt,searchValue:Ei,optionFilterProp:sn,optionLabelProp:$n,onClear:function(){xo==null||xo(),qr(void 0),mt&&Li(void 0)}},kt),{},{filterOption:kt.filterOption==!1?!1:function(wo,rr){var xr,da,Ta;return kt.filterOption&&typeof kt.filterOption=="function"?kt.filterOption(wo,(0,s.Z)((0,s.Z)({},rr),{},{label:rr==null?void 0:rr.data_title})):!!(rr!=null&&(xr=rr.data_title)!==null&&xr!==void 0&&xr.toString().toLowerCase().includes(wo.toLowerCase())||rr!=null&&(da=rr.label)!==null&&da!==void 0&&da.toString().toLowerCase().includes(wo.toLowerCase())||rr!=null&&(Ta=rr.value)!==null&&Ta!==void 0&&Ta.toString().toLowerCase().includes(wo.toLowerCase()))},onSearch:mt?function(wo){ot&&qr(wo),R==null||R(wo),Li(wo)}:void 0,onChange:function(rr,xr){mt&&Q&&(qr(void 0),R==null||R(""),Li(void 0));for(var da=arguments.length,Ta=new Array(da>2?da-2:0),yi=2;yiU?Ze=1:Ze=Math.round(xe*100/U)/100,u.a!==Ze)return{h:u.h,s:u.s,l:u.l,a:Ze,source:"rgb"}}else{var tt;if(me<0?tt=0:me>W?tt=1:tt=Math.round(me*100/W)/100,C!==tt)return{h:u.h,s:u.s,l:u.l,a:tt,source:"rgb"}}return null},tr={},wt=function(r,u,d,C){if(typeof document=="undefined"&&!C)return null;var R=C?new C:document.createElement("canvas");R.width=d*2,R.height=d*2;var W=R.getContext("2d");return W?(W.fillStyle=r,W.fillRect(0,0,R.width,R.height),W.fillStyle=u,W.fillRect(0,0,d,d),W.translate(d,d),W.fillRect(0,0,d,d),R.toDataURL()):null},Ho=function(r,u,d,C){var R="".concat(r,"-").concat(u,"-").concat(d).concat(C?"-server":"");if(tr[R])return tr[R];var W=wt(r,u,d,C);return tr[R]=W,W};function po(c){"@babel/helpers - typeof";return po=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},po(c)}function Pa(c,r){var u=Object.keys(c);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(c);r&&(d=d.filter(function(C){return Object.getOwnPropertyDescriptor(c,C).enumerable})),u.push.apply(u,d)}return u}function Ia(c){for(var r=1;rW)xe=0;else{var Ze=-(me*100/W)+100;xe=360*Ze/100}if(d.h!==xe)return{h:xe,s:d.s,l:d.l,a:d.a,source:"hsl"}}else{var tt;if(Q<0)tt=0;else if(Q>R)tt=359;else{var Ot=Q*100/R;tt=360*Ot/100}if(d.h!==tt)return{h:tt,s:d.s,l:d.l,a:d.a,source:"hsl"}}return null};function ai(c){"@babel/helpers - typeof";return ai=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ai(c)}function A(c,r){if(!(c instanceof r))throw new TypeError("Cannot call a class as a function")}function B(c,r){for(var u=0;uR&&(Q=R),me<0?me=0:me>W&&(me=W);var xe=Q/R,Ze=1-me/W;return{h:u.h,s:xe,v:Ze,a:u.a,source:"hsv"}};function Ve(c){"@babel/helpers - typeof";return Ve=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ve(c)}function it(c,r){if(!(c instanceof r))throw new TypeError("Cannot call a class as a function")}function Le(c,r){for(var u=0;u=0,R=!u&&C&&(r==="hex"||r==="hex6"||r==="hex3"||r==="hex4"||r==="hex8"||r==="name");return R?r==="name"&&this._a===0?this.toName():this.toRgbString():(r==="rgb"&&(d=this.toRgbString()),r==="prgb"&&(d=this.toPercentageRgbString()),(r==="hex"||r==="hex6")&&(d=this.toHexString()),r==="hex3"&&(d=this.toHexString(!0)),r==="hex4"&&(d=this.toHex8String(!0)),r==="hex8"&&(d=this.toHex8String()),r==="name"&&(d=this.toName()),r==="hsl"&&(d=this.toHslString()),r==="hsv"&&(d=this.toHsvString()),d||this.toHexString())},clone:function(){return Ae(this.toString())},_applyModification:function(r,u){var d=r.apply(null,[this].concat([].slice.call(u)));return this._r=d._r,this._g=d._g,this._b=d._b,this.setAlpha(d._a),this},lighten:function(){return this._applyModification(yr,arguments)},brighten:function(){return this._applyModification(Rr,arguments)},darken:function(){return this._applyModification(Sr,arguments)},desaturate:function(){return this._applyModification(Vt,arguments)},saturate:function(){return this._applyModification(Jt,arguments)},greyscale:function(){return this._applyModification(bn,arguments)},spin:function(){return this._applyModification(Cr,arguments)},_applyCombination:function(r,u){return r.apply(null,[this].concat([].slice.call(u)))},analogous:function(){return this._applyCombination(Jr,arguments)},complement:function(){return this._applyCombination(vr,arguments)},monochromatic:function(){return this._applyCombination(Kn,arguments)},splitcomplement:function(){return this._applyCombination(Ur,arguments)},triad:function(){return this._applyCombination(un,[3])},tetrad:function(){return this._applyCombination(un,[4])}},Ae.fromRatio=function(c,r){if(qn(c)=="object"){var u={};for(var d in c)c.hasOwnProperty(d)&&(d==="a"?u[d]=c[d]:u[d]=Sa(c[d]));c=u}return Ae(c,r)};function Ut(c){var r={r:0,g:0,b:0},u=1,d=null,C=null,R=null,W=!1,U=!1;return typeof c=="string"&&(c=Di(c)),qn(c)=="object"&&(ii(c.r)&&ii(c.g)&&ii(c.b)?(r=_t(c.r,c.g,c.b),W=!0,U=String(c.r).substr(-1)==="%"?"prgb":"rgb"):ii(c.h)&&ii(c.s)&&ii(c.v)?(d=Sa(c.s),C=Sa(c.v),r=$r(c.h,d,C),W=!0,U="hsv"):ii(c.h)&&ii(c.s)&&ii(c.l)&&(d=Sa(c.s),R=Sa(c.l),r=Wt(c.h,d,R),W=!0,U="hsl"),c.hasOwnProperty("a")&&(u=c.a)),u=_o(u),{ok:W,format:c.format||U,r:Math.min(255,Math.max(r.r,0)),g:Math.min(255,Math.max(r.g,0)),b:Math.min(255,Math.max(r.b,0)),a:u}}function _t(c,r,u){return{r:Wr(c,255)*255,g:Wr(r,255)*255,b:Wr(u,255)*255}}function Po(c,r,u){c=Wr(c,255),r=Wr(r,255),u=Wr(u,255);var d=Math.max(c,r,u),C=Math.min(c,r,u),R,W,U=(d+C)/2;if(d==C)R=W=0;else{var ee=d-C;switch(W=U>.5?ee/(2-d-C):ee/(d+C),d){case c:R=(r-u)/ee+(r1&&(xe-=1),xe<1/6?Q+(me-Q)*6*xe:xe<1/2?me:xe<2/3?Q+(me-Q)*(2/3-xe)*6:Q}if(r===0)d=C=R=u;else{var U=u<.5?u*(1+r):u+r-u*r,ee=2*u-U;d=W(ee,U,c+1/3),C=W(ee,U,c),R=W(ee,U,c-1/3)}return{r:d*255,g:C*255,b:R*255}}function en(c,r,u){c=Wr(c,255),r=Wr(r,255),u=Wr(u,255);var d=Math.max(c,r,u),C=Math.min(c,r,u),R,W,U=d,ee=d-C;if(W=d===0?0:ee/d,d==C)R=0;else{switch(d){case c:R=(r-u)/ee+(r>1)+720)%360;--r;)d.h=(d.h+C)%360,R.push(Ae(d));return R}function Kn(c,r){r=r||6;for(var u=Ae(c).toHsv(),d=u.h,C=u.s,R=u.v,W=[],U=1/r;r--;)W.push(Ae({h:d,s:C,v:R})),R=(R+U)%1;return W}Ae.mix=function(c,r,u){u=u===0?0:u||50;var d=Ae(c).toRgb(),C=Ae(r).toRgb(),R=u/100,W={r:(C.r-d.r)*R+d.r,g:(C.g-d.g)*R+d.g,b:(C.b-d.b)*R+d.b,a:(C.a-d.a)*R+d.a};return Ae(W)},Ae.readability=function(c,r){var u=Ae(c),d=Ae(r);return(Math.max(u.getLuminance(),d.getLuminance())+.05)/(Math.min(u.getLuminance(),d.getLuminance())+.05)},Ae.isReadable=function(c,r,u){var d=Ae.readability(c,r),C,R;switch(R=!1,C=di(u),C.level+C.size){case"AAsmall":case"AAAlarge":R=d>=4.5;break;case"AAlarge":R=d>=3;break;case"AAAsmall":R=d>=7;break}return R},Ae.mostReadable=function(c,r,u){var d=null,C=0,R,W,U,ee;u=u||{},W=u.includeFallbackColors,U=u.level,ee=u.size;for(var Q=0;QC&&(C=R,d=Ae(r[Q]));return Ae.isReadable(c,d,{level:U,size:ee})||!W?d:(u.includeFallbackColors=!1,Ae.mostReadable(c,["#fff","#000"],u))};var Nr=Ae.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",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:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",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:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",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:"f00",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:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},Mo=Ae.hexNames=Xr(Nr);function Xr(c){var r={};for(var u in c)c.hasOwnProperty(u)&&(r[c[u]]=u);return r}function _o(c){return c=parseFloat(c),(isNaN(c)||c<0||c>1)&&(c=1),c}function Wr(c,r){jo(c)&&(c="100%");var u=Ko(c);return c=Math.min(r,Math.max(0,parseFloat(c))),u&&(c=parseInt(c*r,10)/100),Math.abs(c-r)<1e-6?1:c%r/parseFloat(r)}function Jo(c){return Math.min(1,Math.max(0,c))}function co(c){return parseInt(c,16)}function jo(c){return typeof c=="string"&&c.indexOf(".")!=-1&&parseFloat(c)===1}function Ko(c){return typeof c=="string"&&c.indexOf("%")!=-1}function So(c){return c.length==1?"0"+c:""+c}function Sa(c){return c<=1&&(c=c*100+"%"),c}function Ma(c){return Math.round(parseFloat(c)*255).toString(16)}function Ba(c){return co(c)/255}var la=function(){var c="[-\\+]?\\d+%?",r="[-\\+]?\\d*\\.\\d+%?",u="(?:"+r+")|(?:"+c+")",d="[\\s|\\(]+("+u+")[,|\\s]+("+u+")[,|\\s]+("+u+")\\s*\\)?",C="[\\s|\\(]+("+u+")[,|\\s]+("+u+")[,|\\s]+("+u+")[,|\\s]+("+u+")\\s*\\)?";return{CSS_UNIT:new RegExp(u),rgb:new RegExp("rgb"+d),rgba:new RegExp("rgba"+C),hsl:new RegExp("hsl"+d),hsla:new RegExp("hsla"+C),hsv:new RegExp("hsv"+d),hsva:new RegExp("hsva"+C),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 ii(c){return!!la.CSS_UNIT.exec(c)}function Di(c){c=c.replace(nr,"").replace(nn,"").toLowerCase();var r=!1;if(Nr[c])c=Nr[c],r=!0;else if(c=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var u;return(u=la.rgb.exec(c))?{r:u[1],g:u[2],b:u[3]}:(u=la.rgba.exec(c))?{r:u[1],g:u[2],b:u[3],a:u[4]}:(u=la.hsl.exec(c))?{h:u[1],s:u[2],l:u[3]}:(u=la.hsla.exec(c))?{h:u[1],s:u[2],l:u[3],a:u[4]}:(u=la.hsv.exec(c))?{h:u[1],s:u[2],v:u[3]}:(u=la.hsva.exec(c))?{h:u[1],s:u[2],v:u[3],a:u[4]}:(u=la.hex8.exec(c))?{r:co(u[1]),g:co(u[2]),b:co(u[3]),a:Ba(u[4]),format:r?"name":"hex8"}:(u=la.hex6.exec(c))?{r:co(u[1]),g:co(u[2]),b:co(u[3]),format:r?"name":"hex"}:(u=la.hex4.exec(c))?{r:co(u[1]+""+u[1]),g:co(u[2]+""+u[2]),b:co(u[3]+""+u[3]),a:Ba(u[4]+""+u[4]),format:r?"name":"hex8"}:(u=la.hex3.exec(c))?{r:co(u[1]+""+u[1]),g:co(u[2]+""+u[2]),b:co(u[3]+""+u[3]),format:r?"name":"hex"}:!1}function di(c){var r,u;return c=c||{level:"AA",size:"small"},r=(c.level||"AA").toUpperCase(),u=(c.size||"small").toLowerCase(),r!=="AA"&&r!=="AAA"&&(r="AA"),u!=="small"&&u!=="large"&&(u="small"),{level:r,size:u}}var Ha=function(r){var u=["r","g","b","a","h","s","l","v"],d=0,C=0;return wn()(u,function(R){if(r[R]&&(d+=1,isNaN(r[R])||(C+=1),R==="s"||R==="l")){var W=/^\d+%$/;W.test(r[R])&&(C+=1)}}),d===C?r:!1},hi=function(r,u){var d=r.hex?Ae(r.hex):Ae(r),C=d.toHsl(),R=d.toHsv(),W=d.toRgb(),U=d.toHex();C.s===0&&(C.h=u||0,R.h=u||0);var ee=U==="000000"&&W.a===0;return{hsl:C,hex:ee?"transparent":"#".concat(U),rgb:W,hsv:R,oldHue:r.h||u||C.h,source:r.source}},fi=function(r){if(r==="transparent")return!0;var u=String(r).charAt(0)==="#"?1:0;return r.length!==4+u&&r.length<7+u&&Ae(r).isValid()},Xi=function(r){if(!r)return"#fff";var u=hi(r);if(u.hex==="transparent")return"rgba(0,0,0,0.4)";var d=(u.rgb.r*299+u.rgb.g*587+u.rgb.b*114)/1e3;return d>=128?"#000":"#fff"},Mi={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}},Ca=function(r,u){var d=r.replace("\xB0","");return tinycolor("".concat(u," (").concat(d,")"))._ok};function vt(c){"@babel/helpers - typeof";return vt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},vt(c)}function ir(){return ir=Object.assign?Object.assign.bind():function(c){for(var r=1;r-1},xi=function(r){return Number(String(r).replace(/%/g,""))},li=1,wi=function(c){Ai(u,c);var r=Sl(u);function u(d){var C;return Ci(this,u),C=r.call(this),C.handleBlur=function(){C.state.blurValue&&C.setState({value:C.state.blurValue,blurValue:null})},C.handleChange=function(R){C.setUpdatedValue(R.target.value,R)},C.handleKeyDown=function(R){var W=xi(R.target.value);if(!isNaN(W)&&vi(R.keyCode)){var U=C.getArrowOffset(),ee=R.keyCode===fl?W+U:W-U;C.setUpdatedValue(ee,R)}},C.handleDrag=function(R){if(C.props.dragLabel){var W=Math.round(C.props.value+R.movementX);W>=0&&W<=C.props.dragMax&&C.props.onChange&&C.props.onChange(C.getValueObjectWithLabel(W),R)}},C.handleMouseDown=function(R){C.props.dragLabel&&(R.preventDefault(),C.handleDrag(R),window.addEventListener("mousemove",C.handleDrag),window.addEventListener("mouseup",C.handleMouseUp))},C.handleMouseUp=function(){C.unbindEventListeners()},C.unbindEventListeners=function(){window.removeEventListener("mousemove",C.handleDrag),window.removeEventListener("mouseup",C.handleMouseUp)},C.state={value:String(d.value).toUpperCase(),blurValue:String(d.value).toUpperCase()},C.inputId="rc-editable-input-".concat(li++),C}return $i(u,[{key:"componentDidUpdate",value:function(C,R){this.props.value!==this.state.value&&(C.value!==this.props.value||R.value!==this.state.value)&&(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(C){return bi({},this.props.label,C)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||Cl}},{key:"setUpdatedValue",value:function(C,R){var W=this.props.label?this.getValueObjectWithLabel(C):C;this.props.onChange&&this.props.onChange(W,R),this.setState({value:C})}},{key:"render",value:function(){var C=this,R=(0,ia.ZP)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return w.createElement("div",{style:R.wrap},w.createElement("input",{id:this.inputId,style:R.input,ref:function(U){return C.input=U},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?w.createElement("label",{htmlFor:this.inputId,style:R.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),u}(w.PureComponent||w.Component),Lr=wi;function lo(c){"@babel/helpers - typeof";return lo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},lo(c)}function Ua(){return Ua=Object.assign?Object.assign.bind():function(c){for(var r=1;r1&&arguments[1]!==void 0?arguments[1]:"span";return function(d){rl(R,d);var C=il(R);function R(){var W;Wa(this,R);for(var U=arguments.length,ee=new Array(U),Q=0;Q100&&(me.a=100),me.a/=100,u==null||u({h:C==null?void 0:C.h,s:C==null?void 0:C.s,l:C==null?void 0:C.l,a:me.a,source:"rgb"},xe))};return w.createElement("div",{style:U.fields,className:"flexbox-fix"},w.createElement("div",{style:U.double},w.createElement(Lr,{style:{input:U.input,label:U.label},label:"hex",value:R==null?void 0:R.replace("#",""),onChange:ee})),w.createElement("div",{style:U.single},w.createElement(Lr,{style:{input:U.input,label:U.label},label:"r",value:d==null?void 0:d.r,onChange:ee,dragLabel:"true",dragMax:"255"})),w.createElement("div",{style:U.single},w.createElement(Lr,{style:{input:U.input,label:U.label},label:"g",value:d==null?void 0:d.g,onChange:ee,dragLabel:"true",dragMax:"255"})),w.createElement("div",{style:U.single},w.createElement(Lr,{style:{input:U.input,label:U.label},label:"b",value:d==null?void 0:d.b,onChange:ee,dragLabel:"true",dragMax:"255"})),w.createElement("div",{style:U.alpha},w.createElement(Lr,{style:{input:U.input,label:U.label},label:"a",value:Math.round(((d==null?void 0:d.a)||0)*100),onChange:ee,dragLabel:"true",dragMax:"100"})))},Rc=Zs;function Ul(c){"@babel/helpers - typeof";return Ul=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ul(c)}function Rs(c,r){var u=Object.keys(c);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(c);r&&(d=d.filter(function(C){return Object.getOwnPropertyDescriptor(c,C).enumerable})),u.push.apply(u,d)}return u}function Ms(c){for(var r=1;r-1}function Lc(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if((typeof c=="undefined"||c===!1)&&Ls()){var r=i(16549),u=r.ColorPicker;return u}return js}var Fc=function(r,u){var d=r.text,C=r.mode,R=r.render,W=r.renderFormItem,U=r.fieldProps,ee=r.old,Q=(0,w.useContext)(Cn.ZP.ConfigContext),me=Q.getPrefixCls,xe=w.useMemo(function(){return Lc(ee)},[ee]),Ze=me("pro-field-color-picker"),tt=(0,w.useMemo)(function(){return ee?"":Ce()((0,re.Z)({},Ze,Ls()))},[Ze,ee]);if(C==="read"){var Ot=(0,G.jsx)(xe,{value:d,mode:"read",ref:u,className:tt,open:!1});return R?R(d,(0,s.Z)({mode:C},U),Ot):Ot}if(C==="edit"||C==="update"){var ot=(0,s.Z)({display:"table-cell"},U.style),Je=(0,G.jsx)(xe,(0,s.Z)((0,s.Z)({ref:u,presets:[jc]},U),{},{style:ot,className:tt}));return W?W(d,(0,s.Z)((0,s.Z)({mode:C},U),{},{style:ot}),Je):Je}return null},as=w.forwardRef(Fc),zc=i(27484),Ja=i.n(zc),Bc=i(10285),Hc=i.n(Bc),is=i(74763);Ja().extend(Hc());var jl=function(r){return!!(r!=null&&r._isAMomentObject)},gl=function c(r,u){return(0,is.k)(r)||Ja().isDayjs(r)||jl(r)?jl(r)?Ja()(r):r:Array.isArray(r)?r.map(function(d){return c(d,u)}):typeof r=="number"?Ja()(r):Ja()(r,u)},Ll=i(80044),Wc=i(55183),Vc=i.n(Wc);Ja().extend(Vc());var Fs=function(r,u){return r?typeof u=="function"?u(Ja()(r)):Ja()(r).format((Array.isArray(u)?u[0]:u)||"YYYY-MM-DD"):"-"},kc=function(r,u){var d=r.text,C=r.mode,R=r.format,W=r.label,U=r.light,ee=r.render,Q=r.renderFormItem,me=r.plain,xe=r.showTime,Ze=r.fieldProps,tt=r.picker,Ot=r.bordered,ot=r.lightLabel,Je=(0,x.YB)(),sn=(0,w.useState)(!1),Mt=(0,Y.Z)(sn,2),$n=Mt[0],Un=Mt[1];if(C==="read"){var Hn=Fs(d,Ze.format||R);return ee?ee(d,(0,s.Z)({mode:C},Ze),(0,G.jsx)(G.Fragment,{children:Hn})):(0,G.jsx)(G.Fragment,{children:Hn})}if(C==="edit"||C==="update"){var mr,qr=Ze.disabled,no=Ze.value,Vo=Ze.placeholder,xo=Vo===void 0?Je.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"):Vo,Fr=gl(no);return U?mr=(0,G.jsx)(lr.Q,{label:W,onClick:function(){var ur;Ze==null||(ur=Ze.onOpenChange)===null||ur===void 0||ur.call(Ze,!0),Un(!0)},style:Fr?{paddingInlineEnd:0}:void 0,disabled:qr,value:Fr||$n?(0,G.jsx)(Ll.default,(0,s.Z)((0,s.Z)({picker:tt,showTime:xe,format:R,ref:u},Ze),{},{value:Fr,onOpenChange:function(ur){var Pr;Un(ur),Ze==null||(Pr=Ze.onOpenChange)===null||Pr===void 0||Pr.call(Ze,ur)},bordered:!1,open:$n})):void 0,allowClear:!1,downIcon:Fr||$n?!1:void 0,bordered:Ot,ref:ot}):mr=(0,G.jsx)(Ll.default,(0,s.Z)((0,s.Z)({picker:tt,showTime:xe,format:R,placeholder:xo,bordered:me===void 0?!0:!me,ref:u},Ze),{},{value:Fr})),Q?Q(d,(0,s.Z)({mode:C},Ze),mr):mr}return null},$l=w.forwardRef(kc),wl=i(73360),Fl=i(97435),Kc=function(r,u){var d=r.text,C=r.mode,R=r.render,W=r.placeholder,U=r.renderFormItem,ee=r.fieldProps,Q=(0,x.YB)(),me=W||Q.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),xe=(0,w.useCallback)(function(sn){var Mt=sn!=null?sn:void 0;return!ee.stringMode&&typeof Mt=="string"&&(Mt=Number(Mt)),typeof Mt=="number"&&!(0,is.k)(Mt)&&!(0,is.k)(ee.precision)&&(Mt=Number(Mt.toFixed(ee.precision))),Mt},[ee]);if(C==="read"){var Ze,tt={};ee!=null&&ee.precision&&(tt={minimumFractionDigits:Number(ee.precision),maximumFractionDigits:Number(ee.precision)});var Ot=new Intl.NumberFormat(void 0,(0,s.Z)((0,s.Z)({},tt),(ee==null?void 0:ee.intlProps)||{})).format(Number(d)),ot=(0,G.jsx)("span",{ref:u,children:(ee==null||(Ze=ee.formatter)===null||Ze===void 0?void 0:Ze.call(ee,Ot))||Ot});return R?R(d,(0,s.Z)({mode:C},ee),ot):ot}if(C==="edit"||C==="update"){var Je=(0,G.jsx)(wl.Z,(0,s.Z)((0,s.Z)({ref:u,min:0,placeholder:me},(0,Fl.Z)(ee,["onChange","onBlur"])),{},{onChange:function(Mt){var $n;return ee==null||($n=ee.onChange)===null||$n===void 0?void 0:$n.call(ee,xe(Mt))},onBlur:function(Mt){var $n;return ee==null||($n=ee.onBlur)===null||$n===void 0?void 0:$n.call(ee,xe(Mt.target.value))}}));return U?U(d,(0,s.Z)({mode:C},ee),Je):Je}return null},hd=w.forwardRef(Kc),Uc=function(r,u){var d=r.text,C=r.mode,R=r.render,W=r.placeholder,U=r.renderFormItem,ee=r.fieldProps,Q=r.separator,me=Q===void 0?"~":Q,xe=r.separatorWidth,Ze=xe===void 0?30:xe,tt=ee.value,Ot=ee.defaultValue,ot=ee.onChange,Je=ee.id,sn=(0,x.YB)(),Mt=Rn.Ow.useToken(),$n=Mt.token,Un=(0,bo.Z)(function(){return Ot},{value:tt,onChange:ot}),Hn=(0,Y.Z)(Un,2),mr=Hn[0],qr=Hn[1];if(C==="read"){var no=function(oo){var Xo,ua=new Intl.NumberFormat(void 0,(0,s.Z)({minimumSignificantDigits:2},(ee==null?void 0:ee.intlProps)||{})).format(Number(oo));return(ee==null||(Xo=ee.formatter)===null||Xo===void 0?void 0:Xo.call(ee,ua))||ua},Vo=(0,G.jsxs)("span",{ref:u,children:[no(d[0])," ",me," ",no(d[1])]});return R?R(d,(0,s.Z)({mode:C},ee),Vo):Vo}if(C==="edit"||C==="update"){var xo=function(){if(Array.isArray(mr)){var oo=(0,Y.Z)(mr,2),Xo=oo[0],ua=oo[1];typeof Xo=="number"&&typeof ua=="number"&&Xo>ua?qr([ua,Xo]):Xo===void 0&&ua===void 0&&qr(void 0)}},Fr=function(oo,Xo){var ua=(0,pn.Z)(mr||[]);ua[oo]=Xo===null?void 0:Xo,qr(ua)},mt=(ee==null?void 0:ee.placeholder)||W||[sn.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),sn.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165")],ur=function(oo){return Array.isArray(mt)?mt[oo]:mt},Pr=an.Z.Compact||wr.Z.Group,kt=an.Z.Compact?{}:{compact:!0},_r=(0,G.jsxs)(Pr,(0,s.Z)((0,s.Z)({},kt),{},{onBlur:xo,children:[(0,G.jsx)(wl.Z,(0,s.Z)((0,s.Z)({},ee),{},{placeholder:ur(0),id:Je!=null?Je:"".concat(Je,"-0"),style:{width:"calc((100% - ".concat(Ze,"px) / 2)")},value:mr==null?void 0:mr[0],defaultValue:Ot==null?void 0:Ot[0],onChange:function(oo){return Fr(0,oo)}})),(0,G.jsx)(wr.Z,{style:{width:Ze,textAlign:"center",borderInlineStart:0,borderInlineEnd:0,pointerEvents:"none",backgroundColor:$n==null?void 0:$n.colorBgContainer},placeholder:me,disabled:!0}),(0,G.jsx)(wl.Z,(0,s.Z)((0,s.Z)({},ee),{},{placeholder:ur(1),id:Je!=null?Je:"".concat(Je,"-1"),style:{width:"calc((100% - ".concat(Ze,"px) / 2)"),borderInlineStart:0},value:mr==null?void 0:mr[1],defaultValue:Ot==null?void 0:Ot[1],onChange:function(oo){return Fr(1,oo)}}))]}));return U?U(d,(0,s.Z)({mode:C},ee),_r):_r}return null},bd=w.forwardRef(Uc),Xc=i(83062),Xl=i(84110),yd=i.n(Xl);Ja().extend(yd());var ls=function(r,u){var d=r.text,C=r.mode,R=r.render,W=r.renderFormItem,U=r.format,ee=r.fieldProps,Q=(0,x.YB)();if(C==="read"){var me=(0,G.jsx)(Xc.Z,{title:Ja()(d).format((ee==null?void 0:ee.format)||U||"YYYY-MM-DD HH:mm:ss"),children:Ja()(d).fromNow()});return R?R(d,(0,s.Z)({mode:C},ee),(0,G.jsx)(G.Fragment,{children:me})):(0,G.jsx)(G.Fragment,{children:me})}if(C==="edit"||C==="update"){var xe=Q.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),Ze=gl(ee.value),tt=(0,G.jsx)(Ll.default,(0,s.Z)((0,s.Z)({ref:u,placeholder:xe,showTime:!0},ee),{},{value:Ze}));return W?W(d,(0,s.Z)({mode:C},ee),tt):tt}return null},ss=w.forwardRef(ls),Sd=i(97776),Yc=w.forwardRef(function(c,r){var u=c.text,d=c.mode,C=c.render,R=c.renderFormItem,W=c.fieldProps,U=c.placeholder,ee=c.width,Q=(0,x.YB)(),me=U||Q.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165");if(d==="read"){var xe=(0,G.jsx)(Sd.Z,(0,s.Z)({ref:r,width:ee||32,src:u},W));return C?C(u,(0,s.Z)({mode:d},W),xe):xe}if(d==="edit"||d==="update"){var Ze=(0,G.jsx)(wr.Z,(0,s.Z)({ref:r,placeholder:me},W));return R?R(u,(0,s.Z)({mode:d},W),Ze):Ze}return null}),zs=Yc,Gc=function(r,u){var d,C=r.border,R=C===void 0?!1:C,W=r.children,U=(0,w.useContext)(Cn.ZP.ConfigContext),ee=U.getPrefixCls,Q=ee("pro-field-index-column"),me=(0,Rn.Xj)("IndexColumn",function(){return(0,re.Z)({},".".concat(Q),{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"18px",height:"18px","&-border":{color:"#fff",fontSize:"12px",lineHeight:"12px",backgroundColor:"#314659",borderRadius:"9px","&.top-three":{backgroundColor:"#979797"}}})}),xe=me.wrapSSR,Ze=me.hashId;return xe((0,G.jsx)("div",{ref:u,className:Ce()(Q,Ze,(d={},(0,re.Z)(d,"".concat(Q,"-border"),R),(0,re.Z)(d,"top-three",W>3),d)),children:W}))},Bs=w.forwardRef(Gc),Hs=i(32818),Ws=i(73177),Qc=["contentRender","numberFormatOptions","numberPopoverRender","open"],Jc=["text","mode","render","renderFormItem","fieldProps","proFieldKey","plain","valueEnum","placeholder","locale","customSymbol","numberFormatOptions","numberPopoverRender"],Vs=new Intl.NumberFormat("zh-Hans-CN",{currency:"CNY",style:"currency"}),qc={style:"currency",currency:"USD"},Il={style:"currency",currency:"RUB"},ks={style:"currency",currency:"RSD"},_c={style:"currency",currency:"MYR"},Ks={style:"currency",currency:"BRL"},Us={default:Vs,"zh-Hans-CN":{currency:"CNY",style:"currency"},"en-US":qc,"ru-RU":Il,"ms-MY":_c,"sr-RS":ks,"pt-BR":Ks},Xs=function(r,u,d,C){var R=u==null?void 0:u.toString().replaceAll(",","");if(typeof R=="string"){var W=Number(R);if(Number.isNaN(W))return R;R=W}if(!R&&R!==0)return"";try{var U=new Intl.NumberFormat(r||"zh-Hans-CN",(0,s.Z)((0,s.Z)({},Us[r||"zh-Hans-CN"]||Us["zh-Hans-CN"]),{},{maximumFractionDigits:d},C)).format(R),ee=r===!1,Q=U||"",me=(0,Y.Z)(Q,1),xe=me[0];return["+","-"].includes(xe)?"".concat(xe).concat(U.substring(ee?2:1)):U.substring(ee?1:0)}catch(Ze){return R}},cs=2,Ys=w.forwardRef(function(c,r){var u=c.contentRender,d=c.numberFormatOptions,C=c.numberPopoverRender,R=c.open,W=(0,n.Z)(c,Qc),U=(0,bo.Z)(function(){return W.defaultValue},{value:W.value,onChange:W.onChange}),ee=(0,Y.Z)(U,2),Q=ee[0],me=ee[1],xe=u==null?void 0:u((0,s.Z)((0,s.Z)({},W),{},{value:Q})),Ze=(0,Ws.X)(xe?R:!1);return(0,G.jsx)(As.Z,(0,s.Z)((0,s.Z)({placement:"topLeft"},Ze),{},{trigger:["focus","click"],content:xe,getPopupContainer:function(Ot){return(Ot==null?void 0:Ot.parentElement)||document.body},children:(0,G.jsx)(wl.Z,(0,s.Z)((0,s.Z)({ref:r},W),{},{value:Q,onChange:me}))}))}),eu=function(r,u){var d,C,R=r.text,W=r.mode,U=r.render,ee=r.renderFormItem,Q=r.fieldProps,me=r.proFieldKey,xe=r.plain,Ze=r.valueEnum,tt=r.placeholder,Ot=r.locale,ot=Ot===void 0?(d=Q.customSymbol)!==null&&d!==void 0?d:"zh-Hans-CN":Ot,Je=r.customSymbol,sn=Je===void 0?Q.customSymbol:Je,Mt=r.numberFormatOptions,$n=Mt===void 0?Q==null?void 0:Q.numberFormatOptions:Mt,Un=r.numberPopoverRender,Hn=Un===void 0?(Q==null?void 0:Q.numberPopoverRender)||!1:Un,mr=(0,n.Z)(r,Jc),qr=(C=Q==null?void 0:Q.precision)!==null&&C!==void 0?C:cs,no=(0,x.YB)();ot&&Hs.Go[ot]&&(no=Hs.Go[ot]);var Vo=tt||no.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),xo=(0,w.useMemo)(function(){if(sn)return sn;if(!(mr.moneySymbol===!1||Q.moneySymbol===!1))return no.getMessage("moneySymbol","\uFFE5")},[sn,Q.moneySymbol,no,mr.moneySymbol]),Fr=(0,w.useCallback)(function(Pr){var kt=new RegExp("\\B(?=(\\d{".concat(3+Math.max(qr-cs,0),"})+(?!\\d))"),"g"),_r=String(Pr).split("."),ro=(0,Y.Z)(_r,2),oo=ro[0],Xo=ro[1],ua=oo.replace(kt,","),Xa="";return Xo&&qr>0&&(Xa=".".concat(Xo.slice(0,qr===void 0?cs:qr))),"".concat(ua).concat(Xa)},[qr]);if(W==="read"){var mt=(0,G.jsx)("span",{ref:u,children:Xs(xo?ot:!1,R,qr,$n!=null?$n:Q.numberFormatOptions)});return U?U(R,(0,s.Z)({mode:W},Q),mt):mt}if(W==="edit"||W==="update"){var ur=(0,G.jsx)(Ys,(0,s.Z)((0,s.Z)({contentRender:function(kt){if(Hn===!1||!kt.value)return null;var _r=Xs(xo?ot:!1,"".concat(Fr(kt.value)),qr,(0,s.Z)((0,s.Z)({},$n),{},{notation:"compact"}));return typeof Hn=="function"?Hn==null?void 0:Hn(kt,_r):_r},ref:u,precision:qr,formatter:function(kt){return kt&&xo?"".concat(xo," ").concat(Fr(kt)):kt==null?void 0:kt.toString()},parser:function(kt){return xo&&kt?kt.replace(new RegExp("\\".concat(xo,"\\s?|(,*)"),"g"),""):kt},placeholder:Vo},(0,Fl.Z)(Q,["numberFormatOptions","precision","numberPopoverRender","customSymbol","moneySymbol","visible","open"])),{},{onBlur:Q.onBlur?function(Pr){var kt,_r=Pr.target.value;xo&&_r&&(_r=_r.replace(new RegExp("\\".concat(xo,"\\s?|(,*)"),"g"),"")),(kt=Q.onBlur)===null||kt===void 0||kt.call(Q,_r)}:void 0}));return ee?ee(R,(0,s.Z)({mode:W},Q),ur):ur}return null},Gs=w.forwardRef(eu),us=function(r){return r.map(function(u,d){var C;return w.isValidElement(u)?w.cloneElement(u,(0,s.Z)((0,s.Z)({key:d},u==null?void 0:u.props),{},{style:(0,s.Z)({flex:1},u==null||(C=u.props)===null||C===void 0?void 0:C.style)})):(0,G.jsx)(w.Fragment,{children:u},d)})},tu=function(r,u){var d=r.text,C=r.mode,R=r.render,W=r.fieldProps,U=(0,w.useContext)(Cn.ZP.ConfigContext),ee=U.getPrefixCls,Q=ee("pro-field-option"),me=Rn.Ow.useToken(),xe=me.token;if((0,w.useImperativeHandle)(u,function(){return{}}),R){var Ze=R(d,(0,s.Z)({mode:C},W),(0,G.jsx)(G.Fragment,{}));return!Ze||(Ze==null?void 0:Ze.length)<1||!Array.isArray(Ze)?null:(0,G.jsx)("div",{style:{display:"flex",gap:xe.margin,alignItems:"center"},className:Q,children:us(Ze)})}return!d||!Array.isArray(d)?w.isValidElement(d)?d:null:(0,G.jsx)("div",{style:{display:"flex",gap:xe.margin,alignItems:"center"},className:Q,children:us(d)})},nu=w.forwardRef(tu),Cd=i(5717),Qs=function(r,u){return w.createElement(vn,(0,de.Z)({},r,{ref:u,icon:Cd.Z}))},ru=w.forwardRef(Qs),ou=i(42003),au=function(r,u){return w.createElement(vn,(0,de.Z)({},r,{ref:u,icon:ou.Z}))},ds=w.forwardRef(au),iu=["text","mode","render","renderFormItem","fieldProps","proFieldKey"],Yl=function(r,u){var d=r.text,C=r.mode,R=r.render,W=r.renderFormItem,U=r.fieldProps,ee=r.proFieldKey,Q=(0,n.Z)(r,iu),me=(0,x.YB)(),xe=(0,bo.Z)(function(){return Q.open||Q.visible||!1},{value:Q.open||Q.visible,onChange:Q.onOpenChange||Q.onVisible}),Ze=(0,Y.Z)(xe,2),tt=Ze[0],Ot=Ze[1];if(C==="read"){var ot=(0,G.jsx)(G.Fragment,{children:"-"});return d&&(ot=(0,G.jsxs)(an.Z,{children:[(0,G.jsx)("span",{ref:u,children:tt?d:"************************"}),(0,G.jsx)("a",{onClick:function(){return Ot(!tt)},children:tt?(0,G.jsx)(ru,{}):(0,G.jsx)(ds,{})})]})),R?R(d,(0,s.Z)({mode:C},U),ot):ot}if(C==="edit"||C==="update"){var Je=(0,G.jsx)(wr.Z.Password,(0,s.Z)({placeholder:me.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),ref:u},U));return W?W(d,(0,s.Z)({mode:C},U),Je):Je}return null},lu=w.forwardRef(Yl),xd=i(49323),ll=i.n(xd);function su(c){return c===0?null:c>0?"+":"-"}function cu(c){return c===0?"#595959":c>0?"#ff4d4f":"#52c41a"}function Js(c){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return r>=0?c==null?void 0:c.toFixed(r):c}var uu=function(r,u){var d=r.text,C=r.prefix,R=r.precision,W=r.suffix,U=W===void 0?"%":W,ee=r.mode,Q=r.showColor,me=Q===void 0?!1:Q,xe=r.render,Ze=r.renderFormItem,tt=r.fieldProps,Ot=r.placeholder,ot=r.showSymbol,Je=(0,x.YB)(),sn=Ot||Je.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),Mt=(0,w.useMemo)(function(){return typeof d=="string"&&d.includes("%")?ll()(d.replace("%","")):ll()(d)},[d]),$n=(0,w.useMemo)(function(){return typeof ot=="function"?ot==null?void 0:ot(d):ot},[ot,d]);if(ee==="read"){var Un=me?{color:cu(Mt)}:{},Hn=(0,G.jsxs)("span",{style:Un,ref:u,children:[C&&(0,G.jsx)("span",{children:C}),$n&&(0,G.jsxs)(w.Fragment,{children:[su(Mt)," "]}),Js(Math.abs(Mt),R),U&&U]});return xe?xe(d,(0,s.Z)((0,s.Z)({mode:ee},tt),{},{prefix:C,precision:R,showSymbol:$n,suffix:U}),Hn):Hn}if(ee==="edit"||ee==="update"){var mr=(0,G.jsx)(wl.Z,(0,s.Z)({ref:u,formatter:function(no){return no&&C?"".concat(C," ").concat(no).replace(/\B(?=(\d{3})+(?!\d)$)/g,","):no},parser:function(no){return no?no.replace(/.*\s|,/g,""):""},placeholder:sn},tt));return Ze?Ze(d,(0,s.Z)({mode:ee},tt),mr):mr}return null},qs=w.forwardRef(uu),_s=i(38703);function ec(c){return c===100?"success":c<0?"exception":c<100?"active":"normal"}var tc=function(r,u){var d=r.text,C=r.mode,R=r.render,W=r.plain,U=r.renderFormItem,ee=r.fieldProps,Q=r.placeholder,me=(0,x.YB)(),xe=Q||me.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),Ze=(0,w.useMemo)(function(){return typeof d=="string"&&d.includes("%")?ll()(d.replace("%","")):ll()(d)},[d]);if(C==="read"){var tt=(0,G.jsx)(_s.Z,(0,s.Z)({ref:u,size:"small",style:{minWidth:100,maxWidth:320},percent:Ze,steps:W?10:void 0,status:ec(Ze)},ee));return R?R(Ze,(0,s.Z)({mode:C},ee),tt):tt}if(C==="edit"||C==="update"){var Ot=(0,G.jsx)(wl.Z,(0,s.Z)({ref:u,placeholder:xe},ee));return U?U(d,(0,s.Z)({mode:C},ee),Ot):Ot}return null},du=w.forwardRef(tc),fu=i(55742),vu=["radioType","renderFormItem","mode","render"],mu=function(r,u){var d,C,R=r.radioType,W=r.renderFormItem,U=r.mode,ee=r.render,Q=(0,n.Z)(r,vu),me=(0,w.useContext)(Cn.ZP.ConfigContext),xe=me.getPrefixCls,Ze=xe("pro-field-radio"),tt=Ct(Q),Ot=(0,Y.Z)(tt,3),ot=Ot[0],Je=Ot[1],sn=Ot[2],Mt=(0,w.useRef)(),$n=(d=Dn.Z.Item)===null||d===void 0||(C=d.useStatus)===null||C===void 0?void 0:C.call(d);(0,w.useImperativeHandle)(u,function(){return(0,s.Z)((0,s.Z)({},Mt.current||{}),{},{fetchData:function(kt){return sn(kt)}})},[sn]);var Un=(0,Rn.Xj)("FieldRadioRadio",function(Pr){var kt;return kt={},(0,re.Z)(kt,".".concat(Ze,"-error"),{span:{color:Pr.colorError}}),(0,re.Z)(kt,".".concat(Ze,"-warning"),{span:{color:Pr.colorWarning}}),(0,re.Z)(kt,".".concat(Ze,"-vertical"),(0,re.Z)({},"".concat(Pr.antCls,"-radio-wrapper"),{display:"flex",marginInlineEnd:0})),kt}),Hn=Un.wrapSSR,mr=Un.hashId;if(ot)return(0,G.jsx)(kr.Z,{size:"small"});if(U==="read"){var qr=Je!=null&&Je.length?Je==null?void 0:Je.reduce(function(Pr,kt){var _r;return(0,s.Z)((0,s.Z)({},Pr),{},(0,re.Z)({},(_r=kt.value)!==null&&_r!==void 0?_r:"",kt.label))},{}):void 0,no=(0,G.jsx)(G.Fragment,{children:ti(Q.text,zo(Q.valueEnum||qr))});if(ee){var Vo;return(Vo=ee(Q.text,(0,s.Z)({mode:U},Q.fieldProps),no))!==null&&Vo!==void 0?Vo:null}return no}if(U==="edit"){var xo,Fr,mt=Hn((0,G.jsx)(fu.ZP.Group,(0,s.Z)((0,s.Z)({ref:Mt,optionType:R},Q.fieldProps),{},{className:Ce()((xo=Q.fieldProps)===null||xo===void 0?void 0:xo.className,(Fr={},(0,re.Z)(Fr,"".concat(Ze,"-error"),($n==null?void 0:$n.status)==="error"),(0,re.Z)(Fr,"".concat(Ze,"-warning"),($n==null?void 0:$n.status)==="warning"),Fr),mr,"".concat(Ze,"-").concat(Q.fieldProps.layout||"horizontal")),options:Je})));if(W){var ur;return(ur=W(Q.text,(0,s.Z)((0,s.Z)({mode:U},Q.fieldProps),{},{options:Je,loading:ot}),mt))!==null&&ur!==void 0?ur:null}return mt}return null},nc=w.forwardRef(mu),gu=function(r,u){var d=r.text,C=r.mode,R=r.light,W=r.label,U=r.format,ee=r.render,Q=r.picker,me=r.renderFormItem,xe=r.plain,Ze=r.showTime,tt=r.lightLabel,Ot=r.bordered,ot=r.fieldProps,Je=(0,x.YB)(),sn=Array.isArray(d)?d:[],Mt=(0,Y.Z)(sn,2),$n=Mt[0],Un=Mt[1],Hn=w.useState(!1),mr=(0,Y.Z)(Hn,2),qr=mr[0],no=mr[1],Vo=(0,w.useCallback)(function(_r){if(typeof(ot==null?void 0:ot.format)=="function"){var ro;return ot==null||(ro=ot.format)===null||ro===void 0?void 0:ro.call(ot,_r)}return(ot==null?void 0:ot.format)||U||"YYYY-MM-DD"},[ot,U]),xo=$n?Ja()($n).format(Vo(Ja()($n))):"",Fr=Un?Ja()(Un).format(Vo(Ja()(Un))):"";if(C==="read"){var mt=(0,G.jsxs)("div",{ref:u,children:[(0,G.jsx)("div",{children:xo||"-"}),(0,G.jsx)("div",{children:Fr||"-"})]});return ee?ee(d,(0,s.Z)({mode:C},ot),(0,G.jsx)("span",{children:mt})):mt}if(C==="edit"||C==="update"){var ur=gl(ot.value),Pr;if(R){var kt;Pr=(0,G.jsx)(lr.Q,{label:W,onClick:function(){var ro;ot==null||(ro=ot.onOpenChange)===null||ro===void 0||ro.call(ot,!0),no(!0)},style:ur?{paddingInlineEnd:0}:void 0,disabled:ot.disabled,value:ur||qr?(0,G.jsx)(Ll.default.RangePicker,(0,s.Z)((0,s.Z)({picker:Q,showTime:Ze,format:U,bordered:!1},ot),{},{placeholder:(kt=ot.placeholder)!==null&&kt!==void 0?kt:[Je.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),Je.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9")],onClear:function(){var ro;no(!1),ot==null||(ro=ot.onClear)===null||ro===void 0||ro.call(ot)},value:ur,onOpenChange:function(ro){var oo;ur&&no(ro),ot==null||(oo=ot.onOpenChange)===null||oo===void 0||oo.call(ot,ro)}})):null,allowClear:!1,bordered:Ot,ref:tt,downIcon:ur||qr?!1:void 0})}else Pr=(0,G.jsx)(Ll.default.RangePicker,(0,s.Z)((0,s.Z)({ref:u,format:U,showTime:Ze,placeholder:[Je.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),Je.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9")],bordered:xe===void 0},ot),{},{value:ur}));return me?me(d,(0,s.Z)({mode:C},ot),Pr):Pr}return null},Zl=w.forwardRef(gu),rc=i(19207),pu=function(r,u){var d=r.text,C=r.mode,R=r.render,W=r.renderFormItem,U=r.fieldProps;if(C==="read"){var ee=(0,G.jsx)(rc.Z,(0,s.Z)((0,s.Z)({allowHalf:!0,disabled:!0,ref:u},U),{},{value:d}));return R?R(d,(0,s.Z)({mode:C},U),(0,G.jsx)(G.Fragment,{children:ee})):ee}if(C==="edit"||C==="update"){var Q=(0,G.jsx)(rc.Z,(0,s.Z)({allowHalf:!0,ref:u},U));return W?W(d,(0,s.Z)({mode:C},U),Q):Q}return null},fs=w.forwardRef(pu);function hu(c){var r="",u=Math.floor(c/86400),d=Math.floor(c/3600),C=Math.floor(c/60%60),R=Math.floor(c%60);return r="".concat(R,"\u79D2"),C>0&&(r="".concat(C,"\u5206\u949F").concat(r)),d>0&&(r="".concat(d,"\u5C0F\u65F6").concat(r)),u>0&&(r="".concat(u,"\u5929").concat(r)),r}var vs=function(r,u){var d=r.text,C=r.mode,R=r.render,W=r.renderFormItem,U=r.fieldProps,ee=r.placeholder,Q=(0,x.YB)(),me=ee||Q.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165");if(C==="read"){var xe=hu(Number(d)),Ze=(0,G.jsx)("span",{ref:u,children:xe});return R?R(d,(0,s.Z)({mode:C},U),Ze):Ze}if(C==="edit"||C==="update"){var tt=(0,G.jsx)(wl.Z,(0,s.Z)({ref:u,min:0,style:{width:"100%"},placeholder:me},U));return W?W(d,(0,s.Z)({mode:C},U),tt):tt}return null},zl=w.forwardRef(vs),bu=i(92783),ms=["mode","render","renderFormItem","fieldProps","emptyText"],wd=function(r,u){var d=r.mode,C=r.render,R=r.renderFormItem,W=r.fieldProps,U=r.emptyText,ee=U===void 0?"-":U,Q=(0,n.Z)(r,ms),me=(0,w.useRef)(),xe=Ct(Q),Ze=(0,Y.Z)(xe,3),tt=Ze[0],Ot=Ze[1],ot=Ze[2];if((0,w.useImperativeHandle)(u,function(){return(0,s.Z)((0,s.Z)({},me.current||{}),{},{fetchData:function(Hn){return ot(Hn)}})},[ot]),tt)return(0,G.jsx)(kr.Z,{size:"small"});if(d==="read"){var Je=Ot!=null&&Ot.length?Ot==null?void 0:Ot.reduce(function(Un,Hn){var mr;return(0,s.Z)((0,s.Z)({},Un),{},(0,re.Z)({},(mr=Hn.value)!==null&&mr!==void 0?mr:"",Hn.label))},{}):void 0,sn=(0,G.jsx)(G.Fragment,{children:ti(Q.text,zo(Q.valueEnum||Je))});if(C){var Mt;return(Mt=C(Q.text,(0,s.Z)({mode:d},W),(0,G.jsx)(G.Fragment,{children:sn})))!==null&&Mt!==void 0?Mt:ee}return sn}if(d==="edit"||d==="update"){var $n=(0,G.jsx)(bu.Z,(0,s.Z)((0,s.Z)({ref:me},(0,Fl.Z)(W||{},["allowClear"])),{},{options:Ot}));return R?R(Q.text,(0,s.Z)((0,s.Z)({mode:d},W),{},{options:Ot,loading:tt}),$n):$n}return null},oc=w.forwardRef(wd),yu=i(71338),Su=function(r,u){var d=r.text,C=r.mode,R=r.render,W=r.renderFormItem,U=r.fieldProps;if(C==="read"){var ee=d;return R?R(d,(0,s.Z)({mode:C},U),(0,G.jsx)(G.Fragment,{children:ee})):(0,G.jsx)(G.Fragment,{children:ee})}if(C==="edit"||C==="update"){var Q=(0,G.jsx)(yu.Z,(0,s.Z)((0,s.Z)({ref:u},U),{},{style:(0,s.Z)({minWidth:120},U==null?void 0:U.style)}));return W?W(d,(0,s.Z)({mode:C},U),Q):Q}return null},ac=w.forwardRef(Su),Cu=i(72269),xu=function(r,u){var d=r.text,C=r.mode,R=r.render,W=r.light,U=r.label,ee=r.renderFormItem,Q=r.fieldProps,me=(0,x.YB)(),xe=(0,w.useMemo)(function(){var Je,sn;return d==null||"".concat(d).length<1?"-":d?(Je=Q==null?void 0:Q.checkedChildren)!==null&&Je!==void 0?Je:me.getMessage("switch.open","\u6253\u5F00"):(sn=Q==null?void 0:Q.unCheckedChildren)!==null&&sn!==void 0?sn:me.getMessage("switch.close","\u5173\u95ED")},[Q==null?void 0:Q.checkedChildren,Q==null?void 0:Q.unCheckedChildren,d]);if(C==="read")return R?R(d,(0,s.Z)({mode:C},Q),(0,G.jsx)(G.Fragment,{children:xe})):xe!=null?xe:"-";if(C==="edit"||C==="update"){var Ze,tt=(0,G.jsx)(Cu.Z,(0,s.Z)((0,s.Z)({ref:u,size:W?"small":void 0},(0,Fl.Z)(Q,["value"])),{},{checked:(Ze=Q==null?void 0:Q.checked)!==null&&Ze!==void 0?Ze:Q==null?void 0:Q.value}));if(W){var Ot=Q.disabled,ot=Q.bordered;return(0,G.jsx)(lr.Q,{label:U,disabled:Ot,bordered:ot,downIcon:!1,value:(0,G.jsx)("div",{style:{paddingLeft:8},children:tt}),allowClear:!1})}return ee?ee(d,(0,s.Z)({mode:C},Q),tt):tt}return null},wu=w.forwardRef(xu),Eu=function(r,u){var d=r.text,C=r.mode,R=r.render,W=r.renderFormItem,U=r.fieldProps,ee=r.emptyText,Q=ee===void 0?"-":ee,me=U||{},xe=me.autoFocus,Ze=me.prefix,tt=Ze===void 0?"":Ze,Ot=me.suffix,ot=Ot===void 0?"":Ot,Je=(0,x.YB)(),sn=(0,w.useRef)();if((0,w.useImperativeHandle)(u,function(){return sn.current},[]),(0,w.useEffect)(function(){if(xe){var mr;(mr=sn.current)===null||mr===void 0||mr.focus()}},[xe]),C==="read"){var Mt=(0,G.jsxs)(G.Fragment,{children:[tt,d!=null?d:Q,ot]});if(R){var $n;return($n=R(d,(0,s.Z)({mode:C},U),Mt))!==null&&$n!==void 0?$n:Q}return Mt}if(C==="edit"||C==="update"){var Un=Je.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165"),Hn=(0,G.jsx)(wr.Z,(0,s.Z)({ref:sn,placeholder:Un,allowClear:!0},U));return W?W(d,(0,s.Z)({mode:C},U),Hn):Hn}return null},Pu=w.forwardRef(Eu),Ou=function(r,u){var d=r.text,C=(0,w.useContext)(Cn.ZP.ConfigContext),R=C.getPrefixCls,W=R("pro-field-readonly"),U="".concat(W,"-textarea"),ee=(0,Rn.Xj)("TextArea",function(){return(0,re.Z)({},".".concat(U),{display:"inline-block",lineHeight:"1.5715",maxWidth:"100%",whiteSpace:"pre-wrap"})}),Q=ee.wrapSSR,me=ee.hashId;return Q((0,G.jsx)("span",{ref:u,className:Ce()(me,W,U),style:{},children:d!=null?d:"-"}))},ic=w.forwardRef(Ou),$u=function(r,u){var d=r.text,C=r.mode,R=r.render,W=r.renderFormItem,U=r.fieldProps,ee=(0,x.YB)();if(C==="read"){var Q=(0,G.jsx)(ic,(0,s.Z)((0,s.Z)({},r),{},{ref:u}));return R?R(d,(0,s.Z)({mode:C},U),Q):Q}if(C==="edit"||C==="update"){var me=(0,G.jsx)(wr.Z.TextArea,(0,s.Z)({ref:u,rows:3,onKeyPress:function(Ze){Ze.key==="Enter"&&Ze.stopPropagation()},placeholder:ee.getMessage("tableForm.inputPlaceholder","\u8BF7\u8F93\u5165")},U));return W?W(d,(0,s.Z)({mode:C},U),me):me}return null},lc=w.forwardRef($u),Rl=i(68351),sc=function(r,u){var d=r.text,C=r.mode,R=r.light,W=r.label,U=r.format,ee=r.render,Q=r.renderFormItem,me=r.plain,xe=r.fieldProps,Ze=r.lightLabel,tt=(0,w.useState)(!1),Ot=(0,Y.Z)(tt,2),ot=Ot[0],Je=Ot[1],sn=(0,x.YB)(),Mt=(xe==null?void 0:xe.format)||U||"HH:mm:ss",$n=Ja().isDayjs(d)||typeof d=="number";if(C==="read"){var Un=(0,G.jsx)("span",{ref:u,children:d?Ja()(d,$n?void 0:Mt).format(Mt):"-"});return ee?ee(d,(0,s.Z)({mode:C},xe),(0,G.jsx)("span",{children:Un})):Un}if(C==="edit"||C==="update"){var Hn,mr=xe.disabled,qr=xe.value,no=gl(qr,Mt);if(R){var Vo;Hn=(0,G.jsx)(lr.Q,{onClick:function(){var Fr;xe==null||(Fr=xe.onOpenChange)===null||Fr===void 0||Fr.call(xe,!0),Je(!0)},style:no?{paddingInlineEnd:0}:void 0,label:W,disabled:mr,value:no||ot?(0,G.jsx)(Rl.Z,(0,s.Z)((0,s.Z)({bordered:!1,format:U,ref:u},xe),{},{placeholder:(Vo=xe.placeholder)!==null&&Vo!==void 0?Vo:sn.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),value:no,onOpenChange:function(Fr){var mt;Je(Fr),xe==null||(mt=xe.onOpenChange)===null||mt===void 0||mt.call(xe,Fr)},open:ot})):null,downIcon:no||ot?!1:void 0,allowClear:!1,ref:Ze})}else Hn=(0,G.jsx)(Ll.default.TimePicker,(0,s.Z)((0,s.Z)({ref:u,format:U,bordered:me===void 0?!0:!me},xe),{},{value:no}));return Q?Q(d,(0,s.Z)({mode:C},xe),Hn):Hn}return null},sl=function(r,u){var d=r.text,C=r.light,R=r.label,W=r.mode,U=r.lightLabel,ee=r.format,Q=r.render,me=r.renderFormItem,xe=r.plain,Ze=r.fieldProps,tt=(0,x.YB)(),Ot=(0,w.useState)(!1),ot=(0,Y.Z)(Ot,2),Je=ot[0],sn=ot[1],Mt=(Ze==null?void 0:Ze.format)||ee||"HH:mm:ss",$n=Array.isArray(d)?d:[],Un=(0,Y.Z)($n,2),Hn=Un[0],mr=Un[1],qr=Ja().isDayjs(Hn)||typeof Hn=="number",no=Ja().isDayjs(mr)||typeof mr=="number",Vo=Hn?Ja()(Hn,qr?void 0:Mt).format(Mt):"",xo=mr?Ja()(mr,no?void 0:Mt).format(Mt):"";if(W==="read"){var Fr=(0,G.jsxs)("div",{ref:u,children:[(0,G.jsx)("div",{children:Vo||"-"}),(0,G.jsx)("div",{children:xo||"-"})]});return Q?Q(d,(0,s.Z)({mode:W},Ze),(0,G.jsx)("span",{children:Fr})):Fr}if(W==="edit"||W==="update"){var mt=gl(Ze.value,Mt),ur;if(C){var Pr=Ze.disabled,kt=Ze.placeholder,_r=kt===void 0?[tt.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9"),tt.getMessage("tableForm.selectPlaceholder","\u8BF7\u9009\u62E9")]:kt;ur=(0,G.jsx)(lr.Q,{onClick:function(){var oo;Ze==null||(oo=Ze.onOpenChange)===null||oo===void 0||oo.call(Ze,!0),sn(!0)},style:mt?{paddingInlineEnd:0}:void 0,label:R,disabled:Pr,placeholder:_r,value:mt||Je?(0,G.jsx)(Rl.Z.RangePicker,(0,s.Z)((0,s.Z)({bordered:!1,format:ee,ref:u},Ze),{},{placeholder:_r,value:mt,onOpenChange:function(oo){var Xo;sn(oo),Ze==null||(Xo=Ze.onOpenChange)===null||Xo===void 0||Xo.call(Ze,oo)},open:Je})):null,downIcon:mt||Je?!1:void 0,allowClear:!1,ref:U})}else ur=(0,G.jsx)(Rl.Z.RangePicker,(0,s.Z)((0,s.Z)({ref:u,format:ee,bordered:xe===void 0?!0:!xe},Ze),{},{value:mt}));return me?me(d,(0,s.Z)({mode:W},Ze),ur):ur}return null},gs=w.forwardRef(sl),Iu=w.forwardRef(sc),Zu=i(80361),ps=["radioType","renderFormItem","mode","light","label","render"],_i=["onSearch","onClear","onChange","onBlur","showSearch","autoClearSearchValue","treeData","fetchDataOnSearch","searchValue"],Ru=function(r,u){var d=r.radioType,C=r.renderFormItem,R=r.mode,W=r.light,U=r.label,ee=r.render,Q=(0,n.Z)(r,ps),me=(0,w.useContext)(Cn.ZP.ConfigContext),xe=me.getPrefixCls,Ze=xe("pro-field-tree-select"),tt=(0,w.useRef)(null),Ot=(0,w.useState)(!1),ot=(0,Y.Z)(Ot,2),Je=ot[0],sn=ot[1],Mt=Q.fieldProps,$n=Mt.onSearch,Un=Mt.onClear,Hn=Mt.onChange,mr=Mt.onBlur,qr=Mt.showSearch,no=Mt.autoClearSearchValue,Vo=Mt.treeData,xo=Mt.fetchDataOnSearch,Fr=Mt.searchValue,mt=(0,n.Z)(Mt,_i),ur=(0,x.YB)(),Pr=Ct((0,s.Z)((0,s.Z)({},Q),{},{defaultKeyWords:Fr})),kt=(0,Y.Z)(Pr,3),_r=kt[0],ro=kt[1],oo=kt[2],Xo=(0,bo.Z)(void 0,{onChange:$n,value:Fr}),ua=(0,Y.Z)(Xo,2),Xa=ua[0],Va=ua[1];(0,w.useImperativeHandle)(u,function(){return(0,s.Z)((0,s.Z)({},tt.current||{}),{},{fetchData:function(xr){return oo(xr)}})});var ni=(0,w.useMemo)(function(){if(R==="read"){var rr=(mt==null?void 0:mt.fieldNames)||{},xr=rr.value,da=xr===void 0?"value":xr,Ta=rr.label,yi=Ta===void 0?"label":Ta,cl=rr.children,Ml=cl===void 0?"children":cl,pl=new Map,Qi=function el(hl){if(!(hl!=null&&hl.length))return pl;for(var mc=hl.length,gc=0;gc{const{componentCls:D,iconCls:se,antCls:Be,badgeShadowSize:Re,motionDurationSlow:rt,textFontSize:Tt,textFontSizeSM:Ln,statusSize:Nn,dotSize:pt,textFontWeight:yn,indicatorHeight:Wn,indicatorHeightSM:Fn,marginXS:Gn}=Se,er=`${Be}-scroll-number`,Sn=(0,H.Z)(Se,(Vr,Ft)=>{let{darkColor:zt}=Ft;return{[`&${D} ${D}-color-${Vr}`]:{background:zt,[`&:not(${D}-count)`]:{color:zt}}}});return{[D]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,$.Wf)(Se)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${D}-count`]:{zIndex:Se.indicatorZIndex,minWidth:Wn,height:Wn,color:Se.badgeTextColor,fontWeight:yn,fontSize:Tt,lineHeight:`${Wn}px`,whiteSpace:"nowrap",textAlign:"center",background:Se.badgeColor,borderRadius:Wn/2,boxShadow:`0 0 0 ${Re}px ${Se.badgeShadowColor}`,transition:`background ${Se.motionDurationMid}`,a:{color:Se.badgeTextColor},"a:hover":{color:Se.badgeTextColor},"a:hover &":{background:Se.badgeColorHover}},[`${D}-count-sm`]:{minWidth:Fn,height:Fn,fontSize:Ln,lineHeight:`${Fn}px`,borderRadius:Fn/2},[`${D}-multiple-words`]:{padding:`0 ${Se.paddingXS}px`,bdi:{unicodeBidi:"plaintext"}},[`${D}-dot`]:{zIndex:Se.indicatorZIndex,width:pt,minWidth:pt,height:pt,background:Se.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${Re}px ${Se.badgeShadowColor}`},[`${D}-dot${er}`]:{transition:`background ${rt}`},[`${D}-count, ${D}-dot, ${er}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${se}-spin`]:{animationName:Ce,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${D}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${D}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:Nn,height:Nn,verticalAlign:"middle",borderRadius:"50%"},[`${D}-status-success`]:{backgroundColor:Se.colorSuccess},[`${D}-status-processing`]:{overflow:"visible",color:Se.colorPrimary,backgroundColor:Se.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:Re,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:Y,animationDuration:Se.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${D}-status-default`]:{backgroundColor:Se.colorTextPlaceholder},[`${D}-status-error`]:{backgroundColor:Se.colorError},[`${D}-status-warning`]:{backgroundColor:Se.colorWarning},[`${D}-status-text`]:{marginInlineStart:Gn,color:Se.colorText,fontSize:Se.fontSize}}}),Sn),{[`${D}-zoom-appear, ${D}-zoom-enter`]:{animationName:de,animationDuration:Se.motionDurationSlow,animationTimingFunction:Se.motionEaseOutBack,animationFillMode:"both"},[`${D}-zoom-leave`]:{animationName:_,animationDuration:Se.motionDurationSlow,animationTimingFunction:Se.motionEaseOutBack,animationFillMode:"both"},[`&${D}-not-a-wrapper`]:{[`${D}-zoom-appear, ${D}-zoom-enter`]:{animationName:re,animationDuration:Se.motionDurationSlow,animationTimingFunction:Se.motionEaseOutBack},[`${D}-zoom-leave`]:{animationName:Ke,animationDuration:Se.motionDurationSlow,animationTimingFunction:Se.motionEaseOutBack},[`&:not(${D}-status)`]:{verticalAlign:"middle"},[`${er}-custom-component, ${D}-count`]:{transform:"none"},[`${er}-custom-component, ${er}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${er}`]:{overflow:"hidden",[`${er}-only`]:{position:"relative",display:"inline-block",height:Wn,transition:`all ${Se.motionDurationSlow} ${Se.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${er}-only-unit`]:{height:Wn,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${er}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${D}-count, ${D}-dot, ${er}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},ut=Se=>{const{fontSize:D,lineHeight:se,lineWidth:Be,marginXS:Re,colorBorderBg:rt}=Se,Tt=Math.round(D*se),Ln=Be,Nn=Se.colorBgContainer,pt=Se.colorError,yn=Se.colorErrorHover;return(0,oe.TS)(Se,{badgeFontHeight:Tt,badgeShadowSize:Ln,badgeTextColor:Nn,badgeColor:pt,badgeColorHover:yn,badgeShadowColor:rt,badgeProcessingDuration:"1.2s",badgeRibbonOffset:Re,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},at=Se=>{const{fontSize:D,lineHeight:se,fontSizeSM:Be,lineWidth:Re}=Se;return{indicatorZIndex:"auto",indicatorHeight:Math.round(D*se)-2*Re,indicatorHeightSM:D,dotSize:Be/2,textFontSize:Be,textFontSizeSM:Be,textFontWeight:"normal",statusSize:Be/2}};var Yn=(0,w.Z)("Badge",Se=>{const D=ut(Se);return[lt(D)]},at);const dn=Se=>{const{antCls:D,badgeFontHeight:se,marginXS:Be,badgeRibbonOffset:Re}=Se,rt=`${D}-ribbon`,Tt=`${D}-ribbon-wrapper`,Ln=(0,H.Z)(Se,(Nn,pt)=>{let{darkColor:yn}=pt;return{[`&${rt}-color-${Nn}`]:{background:yn,color:yn}}});return{[`${Tt}`]:{position:"relative"},[`${rt}`]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,$.Wf)(Se)),{position:"absolute",top:Be,padding:`0 ${Se.paddingXS}px`,color:Se.colorPrimary,lineHeight:`${se}px`,whiteSpace:"nowrap",backgroundColor:Se.colorPrimary,borderRadius:Se.borderRadiusSM,[`${rt}-text`]:{color:Se.colorTextLightSolid},[`${rt}-corner`]:{position:"absolute",top:"100%",width:Re,height:Re,color:"currentcolor",border:`${Re/2}px solid`,transform:Se.badgeRibbonCornerTransform,transformOrigin:"top",filter:Se.badgeRibbonCornerFilter}}),Ln),{[`&${rt}-placement-end`]:{insetInlineEnd:-Re,borderEndEndRadius:0,[`${rt}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${rt}-placement-start`]:{insetInlineStart:-Re,borderEndStartRadius:0,[`${rt}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};var qt=(0,w.Z)(["Badge","Ribbon"],Se=>{const D=ut(Se);return[dn(D)]},at),Xe=Se=>{const{className:D,prefixCls:se,style:Be,color:Re,children:rt,text:Tt,placement:Ln="end",rootClassName:Nn}=Se,{getPrefixCls:pt,direction:yn}=x.useContext(M.E_),Wn=pt("ribbon",se),Fn=(0,O.o2)(Re,!1),Gn=n()(Wn,`${Wn}-placement-${Ln}`,{[`${Wn}-rtl`]:yn==="rtl",[`${Wn}-color-${Re}`]:Fn},D),[er,Sn]=qt(Wn),Vr={},Ft={};return Re&&!Fn&&(Vr.background=Re,Ft.color=Re),er(x.createElement("div",{className:n()(`${Wn}-wrapper`,Nn,Sn)},rt,x.createElement("div",{className:n()(Gn,Sn),style:Object.assign(Object.assign({},Vr),Be)},x.createElement("span",{className:`${Wn}-text`},Tt),x.createElement("div",{className:`${Wn}-corner`,style:Ft}))))};function bt(Se){let{prefixCls:D,value:se,current:Be,offset:Re=0}=Se,rt;return Re&&(rt={position:"absolute",top:`${Re}00%`,left:0}),x.createElement("span",{style:rt,className:n()(`${D}-only-unit`,{current:Be})},se)}function te(Se,D,se){let Be=Se,Re=0;for(;(Be+10)%10!==D;)Be+=se,Re+=se;return Re}function Te(Se){const{prefixCls:D,count:se,value:Be}=Se,Re=Number(Be),rt=Math.abs(se),[Tt,Ln]=x.useState(Re),[Nn,pt]=x.useState(rt),yn=()=>{Ln(Re),pt(rt)};x.useEffect(()=>{const Gn=setTimeout(()=>{yn()},1e3);return()=>{clearTimeout(Gn)}},[Re]);let Wn,Fn;if(Tt===Re||Number.isNaN(Re)||Number.isNaN(Tt))Wn=[x.createElement(bt,Object.assign({},Se,{key:Re,current:!0}))],Fn={transition:"none"};else{Wn=[];const Gn=Re+10,er=[];for(let Ft=Re;Ft<=Gn;Ft+=1)er.push(Ft);const Sn=er.findIndex(Ft=>Ft%10===Tt);Wn=er.map((Ft,zt)=>{const fr=Ft%10;return x.createElement(bt,Object.assign({},Se,{key:Ft,value:fr,offset:zt-Sn,current:zt===Sn}))});const Vr=Nn{const{prefixCls:se,count:Be,className:Re,motionClassName:rt,style:Tt,title:Ln,show:Nn,component:pt="sup",children:yn}=Se,Wn=_e(Se,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:Fn}=x.useContext(M.E_),Gn=Fn("scroll-number",se),er=Object.assign(Object.assign({},Wn),{"data-show":Nn,style:Tt,className:n()(Gn,Re,rt),title:Ln});let Sn=Be;if(Be&&Number(Be)%1===0){const Vr=String(Be).split("");Sn=x.createElement("bdi",null,Vr.map((Ft,zt)=>x.createElement(Te,{prefixCls:Gn,count:Number(Be),value:Ft,key:Vr.length-zt})))}return Tt&&Tt.borderColor&&(er.style=Object.assign(Object.assign({},Tt),{boxShadow:`0 0 0 1px ${Tt.borderColor} inset`})),yn?(0,E.Tm)(yn,Vr=>({className:n()(`${Gn}-custom-component`,Vr==null?void 0:Vr.className,rt)})):x.createElement(pt,Object.assign({},er,{ref:D}),Sn)}),ct=function(Se,D){var se={};for(var Be in Se)Object.prototype.hasOwnProperty.call(Se,Be)&&D.indexOf(Be)<0&&(se[Be]=Se[Be]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,Be=Object.getOwnPropertySymbols(Se);Re{var se,Be,Re,rt,Tt;const{prefixCls:Ln,scrollNumberPrefixCls:Nn,children:pt,status:yn,text:Wn,color:Fn,count:Gn=null,overflowCount:er=99,dot:Sn=!1,size:Vr="default",title:Ft,offset:zt,style:fr,className:ao,rootClassName:k,classNames:Ne,styles:Fe,showZero:dt=!1}=Se,$t=ct(Se,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:rn,direction:On,badge:xt}=x.useContext(M.E_),Kt=rn("badge",Ln),[Mr,Vn]=Yn(Kt),Xt=Gn>er?`${er}+`:Gn,Qt=Xt==="0"||Xt===0,on=Gn===null||Qt&&!dt,Tn=(yn!=null||Fn!=null)&&on,q=Sn&&!Qt,ne=q?"":Xt,Oe=(0,x.useMemo)(()=>(ne==null||ne===""||Qt&&!dt)&&!q,[ne,Qt,dt,q]),je=(0,x.useRef)(Gn);Oe||(je.current=Gn);const et=je.current,vn=(0,x.useRef)(ne);Oe||(vn.current=ne);const Bt=vn.current,zn=(0,x.useRef)(q);Oe||(zn.current=q);const lr=(0,x.useMemo)(()=>{if(!zt)return Object.assign(Object.assign({},xt==null?void 0:xt.style),fr);const Qn={marginTop:zt[1]};return On==="rtl"?Qn.left=parseInt(zt[0],10):Qn.right=-parseInt(zt[0],10),Object.assign(Object.assign(Object.assign({},Qn),xt==null?void 0:xt.style),fr)},[On,zt,fr,xt==null?void 0:xt.style]),Cn=Ft!=null?Ft:typeof et=="string"||typeof et=="number"?et:void 0,Zn=Oe||!Wn?null:x.createElement("span",{className:`${Kt}-status-text`},Wn),pn=!et||typeof et!="object"?void 0:(0,E.Tm)(et,Qn=>({style:Object.assign(Object.assign({},lr),Qn.style)})),Rn=(0,O.o2)(Fn,!1),kn=n()(Ne==null?void 0:Ne.indicator,(se=xt==null?void 0:xt.classNames)===null||se===void 0?void 0:se.indicator,{[`${Kt}-status-dot`]:Tn,[`${Kt}-status-${yn}`]:!!yn,[`${Kt}-color-${Fn}`]:Rn}),bo={};Fn&&!Rn&&(bo.color=Fn,bo.background=Fn);const To=n()(Kt,{[`${Kt}-status`]:Tn,[`${Kt}-not-a-wrapper`]:!pt,[`${Kt}-rtl`]:On==="rtl"},ao,k,xt==null?void 0:xt.className,(Be=xt==null?void 0:xt.classNames)===null||Be===void 0?void 0:Be.root,Ne==null?void 0:Ne.root,Vn);if(!pt&&Tn){const Qn=lr.color;return Mr(x.createElement("span",Object.assign({},$t,{className:To,style:Object.assign(Object.assign(Object.assign({},Fe==null?void 0:Fe.root),(Re=xt==null?void 0:xt.styles)===null||Re===void 0?void 0:Re.root),lr)}),x.createElement("span",{className:kn,style:Object.assign(Object.assign(Object.assign({},Fe==null?void 0:Fe.indicator),(rt=xt==null?void 0:xt.styles)===null||rt===void 0?void 0:rt.indicator),bo)}),Wn&&x.createElement("span",{style:{color:Qn},className:`${Kt}-status-text`},Wn)))}return Mr(x.createElement("span",Object.assign({ref:D},$t,{className:To,style:Object.assign(Object.assign({},(Tt=xt==null?void 0:xt.styles)===null||Tt===void 0?void 0:Tt.root),Fe==null?void 0:Fe.root)}),pt,x.createElement(b.ZP,{visible:!Oe,motionName:`${Kt}-zoom`,motionAppear:!1,motionDeadline:1e3},Qn=>{let{className:Lo,ref:an}=Qn;var kr,zr;const Do=rn("scroll-number",Nn),G=zn.current,to=n()(Ne==null?void 0:Ne.indicator,(kr=xt==null?void 0:xt.classNames)===null||kr===void 0?void 0:kr.indicator,{[`${Kt}-dot`]:G,[`${Kt}-count`]:!G,[`${Kt}-count-sm`]:Vr==="small",[`${Kt}-multiple-words`]:!G&&Bt&&Bt.toString().length>1,[`${Kt}-status-${yn}`]:!!yn,[`${Kt}-color-${Fn}`]:Rn});let fo=Object.assign(Object.assign(Object.assign({},Fe==null?void 0:Fe.indicator),(zr=xt==null?void 0:xt.styles)===null||zr===void 0?void 0:zr.indicator),lr);return Fn&&!Rn&&(fo=fo||{},fo.background=Fn),x.createElement(Ue,{prefixCls:Do,show:!Oe,motionClassName:Lo,className:to,count:Bt,title:Cn,style:fo,key:"scrollNumber",ref:an},pn)}),Zn))},fn=x.forwardRef(yt);fn.Ribbon=Xe;var Nt=fn},61978:function(Z,F,i){"use strict";i.d(F,{Z:function(){return Ye}});var s=i(74902),n=i(67294),b=i(62946),x=i(19267),O=i(62994),E=i(94184),M=i.n(E),T=i(87462),$=i(97685),H=i(91),oe=i(4942),w=i(1413),Y=i(71002),de=i(21770),_=i(80334),re=i(8410),Ke=i(31131),Ce=i(15105),lt=i(42550),ut=function(P){var V=P.className,K=P.customizeIcon,ae=P.customizeIconProps,le=P.onMouseDown,pe=P.onClick,fe=P.children,Ie;return typeof K=="function"?Ie=K(ae):Ie=K,n.createElement("span",{className:V,onMouseDown:function(nt){nt.preventDefault(),le&&le(nt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:pe,"aria-hidden":!0},Ie!==void 0?Ie:n.createElement("span",{className:M()(V.split(/\s+/).map(function(We){return"".concat(We,"-icon")}))},fe))},at=ut;function Yn(S,P,V,K,ae){var le=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,pe=arguments.length>6?arguments[6]:void 0,fe=arguments.length>7?arguments[7]:void 0,Ie=n.useMemo(function(){if((0,Y.Z)(K)==="object")return K.clearIcon;if(ae)return ae},[K,ae]),We=n.useMemo(function(){return!!(!le&&K&&(V.length||pe)&&!(fe==="combobox"&&pe===""))},[K,le,V.length,pe,fe]);return{allowClear:We,clearIcon:n.createElement(at,{className:"".concat(S,"-clear"),onMouseDown:P,customizeIcon:Ie},"\xD7")}}var dn=n.createContext(null);function qt(){return n.useContext(dn)}function be(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,P=n.useState(!1),V=(0,$.Z)(P,2),K=V[0],ae=V[1],le=n.useRef(null),pe=function(){window.clearTimeout(le.current)};n.useEffect(function(){return pe},[]);var fe=function(We,nt){pe(),le.current=window.setTimeout(function(){ae(We),nt&&nt()},S)};return[K,fe,pe]}function Xe(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,P=n.useRef(null),V=n.useRef(null);n.useEffect(function(){return function(){window.clearTimeout(V.current)}},[]);function K(ae){(ae||P.current===null)&&(P.current=ae),window.clearTimeout(V.current),V.current=window.setTimeout(function(){P.current=null},S)}return[function(){return P.current},K]}function bt(S,P,V,K){var ae=n.useRef(null);ae.current={open:P,triggerOpen:V,customizedTrigger:K},n.useEffect(function(){function le(pe){var fe;if(!((fe=ae.current)!==null&&fe!==void 0&&fe.customizedTrigger)){var Ie=pe.target;Ie.shadowRoot&&pe.composed&&(Ie=pe.composedPath()[0]||Ie),ae.current.open&&S().filter(function(We){return We}).every(function(We){return!We.contains(Ie)&&We!==Ie})&&ae.current.triggerOpen(!1)}}return window.addEventListener("mousedown",le),function(){return window.removeEventListener("mousedown",le)}},[])}var te=i(64217),Te=i(39983),_e=function(P,V){var K,ae,le=P.prefixCls,pe=P.id,fe=P.inputElement,Ie=P.disabled,We=P.tabIndex,nt=P.autoFocus,Ve=P.autoComplete,it=P.editable,Le=P.activeDescendantId,st=P.value,Ge=P.maxLength,De=P.onKeyDown,Dt=P.onMouseDown,Zt=P.onChange,Ht=P.onPaste,Rt=P.onCompositionStart,tn=P.onCompositionEnd,Et=P.open,Yt=P.attrs,Gt=fe||n.createElement("input",null),gt=Gt,Pt=gt.ref,ft=gt.props,hn=ft.onKeyDown,wn=ft.onChange,qn=ft.onMouseDown,nr=ft.onCompositionStart,nn=ft.onCompositionEnd,Ae=ft.style;return(0,_.Kp)(!("maxLength"in Gt.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Gt=n.cloneElement(Gt,(0,w.Z)((0,w.Z)((0,w.Z)({type:"search"},ft),{},{id:pe,ref:(0,lt.sQ)(V,Pt),disabled:Ie,tabIndex:We,autoComplete:Ve||"off",autoFocus:nt,className:M()("".concat(le,"-selection-search-input"),(K=Gt)===null||K===void 0||(ae=K.props)===null||ae===void 0?void 0:ae.className),role:"combobox","aria-label":"Search","aria-expanded":Et||!1,"aria-haspopup":"listbox","aria-owns":"".concat(pe,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(pe,"_list"),"aria-activedescendant":Et?Le:void 0},Yt),{},{value:it?st:"",maxLength:Ge,readOnly:!it,unselectable:it?null:"on",style:(0,w.Z)((0,w.Z)({},Ae),{},{opacity:it?null:0}),onKeyDown:function(_t){De(_t),hn&&hn(_t)},onMouseDown:function(_t){Dt(_t),qn&&qn(_t)},onChange:function(_t){Zt(_t),wn&&wn(_t)},onCompositionStart:function(_t){Rt(_t),nr&&nr(_t)},onCompositionEnd:function(_t){tn(_t),nn&&nn(_t)},onPaste:Ht})),Gt},Pe=n.forwardRef(_e);Pe.displayName="Input";var Ue=Pe;function ct(S){return Array.isArray(S)?S:S!==void 0?[S]:[]}var yt=typeof window!="undefined"&&window.document&&window.document.documentElement,fn=yt;function Nt(S){return S!=null}function Se(S){return!S&&S!==0}function D(S){return["string","number"].includes((0,Y.Z)(S))}function se(S){var P=void 0;return S&&(D(S.title)?P=S.title.toString():D(S.label)&&(P=S.label.toString())),P}function Be(S,P){fn?n.useLayoutEffect(S,P):n.useEffect(S,P)}function Re(S){var P;return(P=S.key)!==null&&P!==void 0?P:S.value}var rt=function(P){P.preventDefault(),P.stopPropagation()},Tt=function(P){var V=P.id,K=P.prefixCls,ae=P.values,le=P.open,pe=P.searchValue,fe=P.autoClearSearchValue,Ie=P.inputRef,We=P.placeholder,nt=P.disabled,Ve=P.mode,it=P.showSearch,Le=P.autoFocus,st=P.autoComplete,Ge=P.activeDescendantId,De=P.tabIndex,Dt=P.removeIcon,Zt=P.maxTagCount,Ht=P.maxTagTextLength,Rt=P.maxTagPlaceholder,tn=Rt===void 0?function(Cr){return"+ ".concat(Cr.length," ...")}:Rt,Et=P.tagRender,Yt=P.onToggleOpen,Gt=P.onRemove,gt=P.onInputChange,Pt=P.onInputPaste,ft=P.onInputKeyDown,hn=P.onInputMouseDown,wn=P.onInputCompositionStart,qn=P.onInputCompositionEnd,nr=n.useRef(null),nn=(0,n.useState)(0),Ae=(0,$.Z)(nn,2),Ut=Ae[0],_t=Ae[1],Po=(0,n.useState)(!1),Wt=(0,$.Z)(Po,2),en=Wt[0],$r=Wt[1],gn="".concat(K,"-selection"),_n=le||Ve==="multiple"&&fe===!1||Ve==="tags"?pe:"",br=Ve==="tags"||Ve==="multiple"&&fe===!1||it&&(le||en);Be(function(){_t(nr.current.scrollWidth)},[_n]);function Vt(Cr,vr,un,Ur,Jr){return n.createElement("span",{className:M()("".concat(gn,"-item"),(0,oe.Z)({},"".concat(gn,"-item-disabled"),un)),title:se(Cr)},n.createElement("span",{className:"".concat(gn,"-item-content")},vr),Ur&&n.createElement(at,{className:"".concat(gn,"-item-remove"),onMouseDown:rt,onClick:Jr,customizeIcon:Dt},"\xD7"))}function Jt(Cr,vr,un,Ur,Jr){var Kn=function(Mo){rt(Mo),Yt(!le)};return n.createElement("span",{onMouseDown:Kn},Et({label:vr,value:Cr,disabled:un,closable:Ur,onClose:Jr}))}function bn(Cr){var vr=Cr.disabled,un=Cr.label,Ur=Cr.value,Jr=!nt&&!vr,Kn=un;if(typeof Ht=="number"&&(typeof un=="string"||typeof un=="number")){var Nr=String(Kn);Nr.length>Ht&&(Kn="".concat(Nr.slice(0,Ht),"..."))}var Mo=function(_o){_o&&_o.stopPropagation(),Gt(Cr)};return typeof Et=="function"?Jt(Ur,Kn,vr,Jr,Mo):Vt(Cr,Kn,vr,Jr,Mo)}function yr(Cr){var vr=typeof tn=="function"?tn(Cr):tn;return Vt({title:vr},vr,!1)}var Rr=n.createElement("div",{className:"".concat(gn,"-search"),style:{width:Ut},onFocus:function(){$r(!0)},onBlur:function(){$r(!1)}},n.createElement(Ue,{ref:Ie,open:le,prefixCls:K,id:V,inputElement:null,disabled:nt,autoFocus:Le,autoComplete:st,editable:br,activeDescendantId:Ge,value:_n,onKeyDown:ft,onMouseDown:hn,onChange:gt,onPaste:Pt,onCompositionStart:wn,onCompositionEnd:qn,tabIndex:De,attrs:(0,te.Z)(P,!0)}),n.createElement("span",{ref:nr,className:"".concat(gn,"-search-mirror"),"aria-hidden":!0},_n,"\xA0")),Sr=n.createElement(Te.Z,{prefixCls:"".concat(gn,"-overflow"),data:ae,renderItem:bn,renderRest:yr,suffix:Rr,itemKey:Re,maxCount:Zt});return n.createElement(n.Fragment,null,Sr,!ae.length&&!_n&&n.createElement("span",{className:"".concat(gn,"-placeholder")},We))},Ln=Tt,Nn=function(P){var V=P.inputElement,K=P.prefixCls,ae=P.id,le=P.inputRef,pe=P.disabled,fe=P.autoFocus,Ie=P.autoComplete,We=P.activeDescendantId,nt=P.mode,Ve=P.open,it=P.values,Le=P.placeholder,st=P.tabIndex,Ge=P.showSearch,De=P.searchValue,Dt=P.activeValue,Zt=P.maxLength,Ht=P.onInputKeyDown,Rt=P.onInputMouseDown,tn=P.onInputChange,Et=P.onInputPaste,Yt=P.onInputCompositionStart,Gt=P.onInputCompositionEnd,gt=P.title,Pt=n.useState(!1),ft=(0,$.Z)(Pt,2),hn=ft[0],wn=ft[1],qn=nt==="combobox",nr=qn||Ge,nn=it[0],Ae=De||"";qn&&Dt&&!hn&&(Ae=Dt),n.useEffect(function(){qn&&wn(!1)},[qn,Dt]);var Ut=nt!=="combobox"&&!Ve&&!Ge?!1:!!Ae,_t=gt===void 0?se(nn):gt,Po=function(){if(nn)return null;var en=Ut?{visibility:"hidden"}:void 0;return n.createElement("span",{className:"".concat(K,"-selection-placeholder"),style:en},Le)};return n.createElement(n.Fragment,null,n.createElement("span",{className:"".concat(K,"-selection-search")},n.createElement(Ue,{ref:le,prefixCls:K,id:ae,open:Ve,inputElement:V,disabled:pe,autoFocus:fe,autoComplete:Ie,editable:nr,activeDescendantId:We,value:Ae,onKeyDown:Ht,onMouseDown:Rt,onChange:function(en){wn(!0),tn(en)},onPaste:Et,onCompositionStart:Yt,onCompositionEnd:Gt,tabIndex:st,attrs:(0,te.Z)(P,!0),maxLength:qn?Zt:void 0})),!qn&&nn?n.createElement("span",{className:"".concat(K,"-selection-item"),title:_t,style:Ut?{visibility:"hidden"}:void 0},nn.label):null,Po())},pt=Nn;function yn(S){return![Ce.Z.ESC,Ce.Z.SHIFT,Ce.Z.BACKSPACE,Ce.Z.TAB,Ce.Z.WIN_KEY,Ce.Z.ALT,Ce.Z.META,Ce.Z.WIN_KEY_RIGHT,Ce.Z.CTRL,Ce.Z.SEMICOLON,Ce.Z.EQUALS,Ce.Z.CAPS_LOCK,Ce.Z.CONTEXT_MENU,Ce.Z.F1,Ce.Z.F2,Ce.Z.F3,Ce.Z.F4,Ce.Z.F5,Ce.Z.F6,Ce.Z.F7,Ce.Z.F8,Ce.Z.F9,Ce.Z.F10,Ce.Z.F11,Ce.Z.F12].includes(S)}var Wn=function(P,V){var K=(0,n.useRef)(null),ae=(0,n.useRef)(!1),le=P.prefixCls,pe=P.open,fe=P.mode,Ie=P.showSearch,We=P.tokenWithEnter,nt=P.autoClearSearchValue,Ve=P.onSearch,it=P.onSearchSubmit,Le=P.onToggleOpen,st=P.onInputKeyDown,Ge=P.domRef;n.useImperativeHandle(V,function(){return{focus:function(){K.current.focus()},blur:function(){K.current.blur()}}});var De=Xe(0),Dt=(0,$.Z)(De,2),Zt=Dt[0],Ht=Dt[1],Rt=function(Ae){var Ut=Ae.which;(Ut===Ce.Z.UP||Ut===Ce.Z.DOWN)&&Ae.preventDefault(),st&&st(Ae),Ut===Ce.Z.ENTER&&fe==="tags"&&!ae.current&&!pe&&(it==null||it(Ae.target.value)),yn(Ut)&&Le(!0)},tn=function(){Ht(!0)},Et=(0,n.useRef)(null),Yt=function(Ae){Ve(Ae,!0,ae.current)!==!1&&Le(!0)},Gt=function(){ae.current=!0},gt=function(Ae){ae.current=!1,fe!=="combobox"&&Yt(Ae.target.value)},Pt=function(Ae){var Ut=Ae.target.value;if(We&&Et.current&&/[\r\n]/.test(Et.current)){var _t=Et.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Ut=Ut.replace(_t,Et.current)}Et.current=null,Yt(Ut)},ft=function(Ae){var Ut=Ae.clipboardData,_t=Ut.getData("text");Et.current=_t},hn=function(Ae){var Ut=Ae.target;if(Ut!==K.current){var _t=document.body.style.msTouchAction!==void 0;_t?setTimeout(function(){K.current.focus()}):K.current.focus()}},wn=function(Ae){var Ut=Zt();Ae.target!==K.current&&!Ut&&fe!=="combobox"&&Ae.preventDefault(),(fe!=="combobox"&&(!Ie||!Ut)||!pe)&&(pe&&nt!==!1&&Ve("",!0,!1),Le())},qn={inputRef:K,onInputKeyDown:Rt,onInputMouseDown:tn,onInputChange:Pt,onInputPaste:ft,onInputCompositionStart:Gt,onInputCompositionEnd:gt},nr=fe==="multiple"||fe==="tags"?n.createElement(Ln,(0,T.Z)({},P,qn)):n.createElement(pt,(0,T.Z)({},P,qn));return n.createElement("div",{ref:Ge,className:"".concat(le,"-selector"),onClick:hn,onMouseDown:wn},nr)},Fn=n.forwardRef(Wn);Fn.displayName="Selector";var Gn=Fn,er=i(40228),Sn=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Vr=function(P){var V=P===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:V,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:V,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:V,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:V,adjustY:1},htmlRegion:"scroll"}}},Ft=function(P,V){var K=P.prefixCls,ae=P.disabled,le=P.visible,pe=P.children,fe=P.popupElement,Ie=P.animation,We=P.transitionName,nt=P.dropdownStyle,Ve=P.dropdownClassName,it=P.direction,Le=it===void 0?"ltr":it,st=P.placement,Ge=P.builtinPlacements,De=P.dropdownMatchSelectWidth,Dt=P.dropdownRender,Zt=P.dropdownAlign,Ht=P.getPopupContainer,Rt=P.empty,tn=P.getTriggerDOMNode,Et=P.onPopupVisibleChange,Yt=P.onPopupMouseEnter,Gt=(0,H.Z)(P,Sn),gt="".concat(K,"-dropdown"),Pt=fe;Dt&&(Pt=Dt(fe));var ft=n.useMemo(function(){return Ge||Vr(De)},[Ge,De]),hn=Ie?"".concat(gt,"-").concat(Ie):We,wn=typeof De=="number",qn=n.useMemo(function(){return wn?null:De===!1?"minWidth":"width"},[De,wn]),nr=nt;wn&&(nr=(0,w.Z)((0,w.Z)({},nr),{},{width:De}));var nn=n.useRef(null);return n.useImperativeHandle(V,function(){return{getPopupElement:function(){return nn.current}}}),n.createElement(er.Z,(0,T.Z)({},Gt,{showAction:Et?["click"]:[],hideAction:Et?["click"]:[],popupPlacement:st||(Le==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:ft,prefixCls:gt,popupTransitionName:hn,popup:n.createElement("div",{ref:nn,onMouseEnter:Yt},Pt),stretch:qn,popupAlign:Zt,popupVisible:le,getPopupContainer:Ht,popupClassName:M()(Ve,(0,oe.Z)({},"".concat(gt,"-empty"),Rt)),popupStyle:nr,getTriggerDOMNode:tn,onPopupVisibleChange:Et}),pe)},zt=n.forwardRef(Ft);zt.displayName="SelectTrigger";var fr=zt,ao=i(84506);function k(S,P){var V=S.key,K;return"value"in S&&(K=S.value),V!=null?V:K!==void 0?K:"rc-index-key-".concat(P)}function Ne(S,P){var V=S||{},K=V.label,ae=V.value,le=V.options,pe=V.groupLabel,fe=K||(P?"children":"label");return{label:fe,value:ae||"value",options:le||"options",groupLabel:pe||fe}}function Fe(S){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},V=P.fieldNames,K=P.childrenAsData,ae=[],le=Ne(V,!1),pe=le.label,fe=le.value,Ie=le.options,We=le.groupLabel;function nt(Ve,it){Ve.forEach(function(Le){if(it||!(Ie in Le)){var st=Le[fe];ae.push({key:k(Le,ae.length),groupOption:it,data:Le,label:Le[pe],value:st})}else{var Ge=Le[We];Ge===void 0&&K&&(Ge=Le.label),ae.push({key:k(Le,ae.length),group:!0,data:Le,label:Ge}),nt(Le[Ie],!0)}})}return nt(S,!1),ae}function dt(S){var P=(0,w.Z)({},S);return"props"in P||Object.defineProperty(P,"props",{get:function(){return(0,_.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),P}}),P}function $t(S,P){if(!P||!P.length)return null;var V=!1;function K(le,pe){var fe=(0,ao.Z)(pe),Ie=fe[0],We=fe.slice(1);if(!Ie)return[le];var nt=le.split(Ie);return V=V||nt.length>1,nt.reduce(function(Ve,it){return[].concat((0,s.Z)(Ve),(0,s.Z)(K(it,We)))},[]).filter(function(Ve){return Ve})}var ae=K(S,P);return V?ae:null}var rn=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],On=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function xt(S){return S==="tags"||S==="multiple"}var Kt=n.forwardRef(function(S,P){var V,K,ae=S.id,le=S.prefixCls,pe=S.className,fe=S.showSearch,Ie=S.tagRender,We=S.direction,nt=S.omitDomProps,Ve=S.displayValues,it=S.onDisplayValuesChange,Le=S.emptyOptions,st=S.notFoundContent,Ge=st===void 0?"Not Found":st,De=S.onClear,Dt=S.mode,Zt=S.disabled,Ht=S.loading,Rt=S.getInputElement,tn=S.getRawInputElement,Et=S.open,Yt=S.defaultOpen,Gt=S.onDropdownVisibleChange,gt=S.activeValue,Pt=S.onActiveValueChange,ft=S.activeDescendantId,hn=S.searchValue,wn=S.autoClearSearchValue,qn=S.onSearch,nr=S.onSearchSplit,nn=S.tokenSeparators,Ae=S.allowClear,Ut=S.suffixIcon,_t=S.clearIcon,Po=S.OptionList,Wt=S.animation,en=S.transitionName,$r=S.dropdownStyle,gn=S.dropdownClassName,_n=S.dropdownMatchSelectWidth,br=S.dropdownRender,Vt=S.dropdownAlign,Jt=S.placement,bn=S.builtinPlacements,yr=S.getPopupContainer,Rr=S.showAction,Sr=Rr===void 0?[]:Rr,Cr=S.onFocus,vr=S.onBlur,un=S.onKeyUp,Ur=S.onKeyDown,Jr=S.onMouseDown,Kn=(0,H.Z)(S,rn),Nr=xt(Dt),Mo=(fe!==void 0?fe:Nr)||Dt==="combobox",Xr=(0,w.Z)({},Kn);On.forEach(function(Lr){delete Xr[Lr]}),nt==null||nt.forEach(function(Lr){delete Xr[Lr]});var _o=n.useState(!1),Wr=(0,$.Z)(_o,2),Jo=Wr[0],co=Wr[1];n.useEffect(function(){co((0,Ke.Z)())},[]);var jo=n.useRef(null),Ko=n.useRef(null),So=n.useRef(null),Sa=n.useRef(null),Ma=n.useRef(null),Ba=be(),la=(0,$.Z)(Ba,3),ii=la[0],Di=la[1],di=la[2];n.useImperativeHandle(P,function(){var Lr,lo;return{focus:(Lr=Sa.current)===null||Lr===void 0?void 0:Lr.focus,blur:(lo=Sa.current)===null||lo===void 0?void 0:lo.blur,scrollTo:function(Wa){var Da;return(Da=Ma.current)===null||Da===void 0?void 0:Da.scrollTo(Wa)}}});var Ha=n.useMemo(function(){var Lr;if(Dt!=="combobox")return hn;var lo=(Lr=Ve[0])===null||Lr===void 0?void 0:Lr.value;return typeof lo=="string"||typeof lo=="number"?String(lo):""},[hn,Dt,Ve]),hi=Dt==="combobox"&&typeof Rt=="function"&&Rt()||null,fi=typeof tn=="function"&&tn(),Xi=(0,lt.x1)(Ko,fi==null||(V=fi.props)===null||V===void 0?void 0:V.ref),Mi=n.useState(!1),Ca=(0,$.Z)(Mi,2),vt=Ca[0],ir=Ca[1];(0,re.Z)(function(){ir(!0)},[]);var dr=(0,de.Z)(!1,{defaultValue:Yt,value:Et}),sr=(0,$.Z)(dr,2),ea=sr[0],$o=sr[1],En=vt?ea:!1,Tr=!Ge&&Le;(Zt||Tr&&En&&Dt==="combobox")&&(En=!1);var Er=Tr?!1:En,cr=n.useCallback(function(Lr){var lo=Lr!==void 0?Lr:!En;Zt||($o(lo),En!==lo&&(Gt==null||Gt(lo)))},[Zt,En,$o,Gt]),qo=n.useMemo(function(){return(nn||[]).some(function(Lr){return[` +`,`\r +`].includes(Lr)})},[nn]),Ir=function(lo,Ua,Wa){var Da=!0,Ni=lo;Pt==null||Pt(null);var Ki=Wa?null:$t(lo,nn);return Dt!=="combobox"&&Ki&&(Ni="",nr==null||nr(Ki),cr(!1),Da=!1),qn&&Ha!==Ni&&qn(Ni,{source:Ua?"typing":"effect"}),Da},Co=function(lo){!lo||!lo.trim()||qn(lo,{source:"submit"})};n.useEffect(function(){!En&&!Nr&&Dt!=="combobox"&&Ir("",!1,!1)},[En]),n.useEffect(function(){ea&&Zt&&$o(!1),Zt&&Di(!1)},[Zt]);var ho=Xe(),Wo=(0,$.Z)(ho,2),Uo=Wo[0],Na=Wo[1],ma=function(lo){var Ua=Uo(),Wa=lo.which;if(Wa===Ce.Z.ENTER&&(Dt!=="combobox"&&lo.preventDefault(),En||cr(!0)),Na(!!Ha),Wa===Ce.Z.BACKSPACE&&!Ua&&Nr&&!Ha&&Ve.length){for(var Da=(0,s.Z)(Ve),Ni=null,Ki=Da.length-1;Ki>=0;Ki-=1){var xl=Da[Ki];if(!xl.disabled){Da.splice(Ki,1),Ni=xl;break}}Ni&&it(Da,{type:"remove",values:[Ni]})}for(var rl=arguments.length,vl=new Array(rl>1?rl-1:0),il=1;il1?Ua-1:0),Da=1;Da1?Ki-1:0),rl=1;rl1&&arguments[1]!==void 0?arguments[1]:!1;return(0,je.Z)(S).map(function(V,K){if(!n.isValidElement(V)||!V.type)return null;var ae=V,le=ae.type.isSelectOptGroup,pe=ae.key,fe=ae.props,Ie=fe.children,We=(0,H.Z)(fe,vn);return P||!le?Bt(V):(0,w.Z)((0,w.Z)({key:"__RC_SELECT_GRP__".concat(pe===null?K:pe,"__"),label:pe},We),{},{options:zn(Ie)})}).filter(function(V){return V})}function lr(S,P,V,K,ae){return n.useMemo(function(){var le=S,pe=!S;pe&&(le=zn(P));var fe=new Map,Ie=new Map,We=function(it,Le,st){st&&typeof st=="string"&&it.set(Le[st],Le)};function nt(Ve){for(var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Le=0;Le1&&arguments[1]!==void 0?arguments[1]:1,yr=Pt.length,Rr=0;Rr1&&arguments[1]!==void 0?arguments[1]:!1;Ut(Jt);var yr={source:bn?"keyboard":"mouse"},Rr=Pt[Jt];if(!Rr){Ge(null,-1,yr);return}Ge(Rr.value,Jt,yr)};(0,n.useEffect)(function(){_t(De!==!1?qn(0):-1)},[Pt.length,We]);var Po=n.useCallback(function(Vt){return Ht.has(Vt)&&Ie!=="combobox"},[Ie,(0,s.Z)(Ht).toString(),Ht.size]);(0,n.useEffect)(function(){var Vt=setTimeout(function(){if(!fe&&pe&&Ht.size===1){var bn=Array.from(Ht)[0],yr=Pt.findIndex(function(Rr){var Sr=Rr.data;return Sr.value===bn});yr!==-1&&(_t(yr),wn(yr))}});if(pe){var Jt;(Jt=ft.current)===null||Jt===void 0||Jt.scrollTo(void 0)}return function(){return clearTimeout(Vt)}},[pe,We,st.length]);var Wt=function(Jt){Jt!==void 0&&Dt(Jt,{selected:!Ht.has(Jt)}),fe||nt(!1)};if(n.useImperativeHandle(V,function(){return{onKeyDown:function(Jt){var bn=Jt.which,yr=Jt.ctrlKey;switch(bn){case Ce.Z.N:case Ce.Z.P:case Ce.Z.UP:case Ce.Z.DOWN:{var Rr=0;if(bn===Ce.Z.UP?Rr=-1:bn===Ce.Z.DOWN?Rr=1:kr()&&yr&&(bn===Ce.Z.N?Rr=1:bn===Ce.Z.P&&(Rr=-1)),Rr!==0){var Sr=qn(Ae+Rr,Rr);wn(Sr),_t(Sr,!0)}break}case Ce.Z.ENTER:{var Cr=Pt[Ae];Cr&&!Cr.data.disabled?Wt(Cr.value):Wt(void 0),pe&&Jt.preventDefault();break}case Ce.Z.ESC:nt(!1),pe&&Jt.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Jt){wn(Jt)}}}),Pt.length===0)return n.createElement("div",{role:"listbox",id:"".concat(le,"_list"),className:"".concat(gt,"-empty"),onMouseDown:hn},Ve);var en=Object.keys(Rt).map(function(Vt){return Rt[Vt]}),$r=function(Jt){return Jt.label};function gn(Vt,Jt){var bn=Vt.group;return{role:bn?"presentation":"option",id:"".concat(le,"_list_").concat(Jt)}}var _n=function(Jt){var bn=Pt[Jt];if(!bn)return null;var yr=bn.data||{},Rr=yr.value,Sr=bn.group,Cr=(0,te.Z)(yr,!0),vr=$r(bn);return bn?n.createElement("div",(0,T.Z)({"aria-label":typeof vr=="string"&&!Sr?vr:null},Cr,{key:Jt},gn(bn,Jt),{"aria-selected":Po(Rr)}),Rr):null},br={role:"listbox",id:"".concat(le,"_list")};return n.createElement(n.Fragment,null,tn&&n.createElement("div",(0,T.Z)({},br,{style:{height:0,width:0,overflow:"hidden"}}),_n(Ae-1),_n(Ae),_n(Ae+1)),n.createElement(Qn.Z,{itemKey:"key",ref:ft,data:Pt,height:Yt,itemHeight:Gt,fullHeight:!1,onMouseDown:hn,onScroll:it,virtual:tn,direction:Et,innerProps:tn?null:br},function(Vt,Jt){var bn,yr=Vt.group,Rr=Vt.groupOption,Sr=Vt.data,Cr=Vt.label,vr=Vt.value,un=Sr.key;if(yr){var Ur,Jr=(Ur=Sr.title)!==null&&Ur!==void 0?Ur:Do(Cr)?Cr.toString():void 0;return n.createElement("div",{className:M()(gt,"".concat(gt,"-group")),title:Jr},Cr!==void 0?Cr:un)}var Kn=Sr.disabled,Nr=Sr.title,Mo=Sr.children,Xr=Sr.style,_o=Sr.className,Wr=(0,H.Z)(Sr,zr),Jo=(0,To.Z)(Wr,en),co=Po(vr),jo="".concat(gt,"-option"),Ko=M()(gt,jo,_o,(bn={},(0,oe.Z)(bn,"".concat(jo,"-grouped"),Rr),(0,oe.Z)(bn,"".concat(jo,"-active"),Ae===Jt&&!Kn),(0,oe.Z)(bn,"".concat(jo,"-disabled"),Kn),(0,oe.Z)(bn,"".concat(jo,"-selected"),co),bn)),So=$r(Vt),Sa=!Zt||typeof Zt=="function"||co,Ma=typeof So=="number"?So:So||vr,Ba=Do(Ma)?Ma.toString():void 0;return Nr!==void 0&&(Ba=Nr),n.createElement("div",(0,T.Z)({},(0,te.Z)(Jo),tn?{}:gn(Vt,Jt),{"aria-selected":co,className:Ko,title:Ba,onMouseMove:function(){Ae===Jt||Kn||_t(Jt)},onClick:function(){Kn||Wt(vr)},style:Xr}),n.createElement("div",{className:"".concat(jo,"-content")},Ma),n.isValidElement(Zt)||co,Sa&&n.createElement(at,{className:"".concat(gt,"-option-state"),customizeIcon:Zt,customizeIconProps:{isSelected:co}},co?"\u2713":null))}))},to=n.forwardRef(G);to.displayName="OptionList";var fo=to;function Fo(S){var P=S.mode,V=S.options,K=S.children,ae=S.backfill,le=S.allowClear,pe=S.placeholder,fe=S.getInputElement,Ie=S.showSearch,We=S.onSearch,nt=S.defaultOpen,Ve=S.autoFocus,it=S.labelInValue,Le=S.value,st=S.inputValue,Ge=S.optionLabelProp,De=isMultiple(P),Dt=Ie!==void 0?Ie:De||P==="combobox",Zt=V||convertChildrenToData(K);if(warning(P!=="tags"||Zt.every(function(Et){return!Et.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),P==="tags"||P==="combobox"){var Ht=Zt.some(function(Et){return Et.options?Et.options.some(function(Yt){return typeof("value"in Yt?Yt.value:Yt.key)=="number"}):typeof("value"in Et?Et.value:Et.key)=="number"});warning(!Ht,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(P!=="combobox"||!Ge,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(P==="combobox"||!ae,"`backfill` only works with `combobox` mode."),warning(P==="combobox"||!fe,"`getInputElement` only work with `combobox` mode."),noteOnce(P!=="combobox"||!fe||!le||!pe,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),We&&!Dt&&P!=="combobox"&&P!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!nt||Ve,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Le!=null){var Rt=toArray(Le);warning(!it||Rt.every(function(Et){return _typeof(Et)==="object"&&("key"in Et||"value"in Et)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!De||Array.isArray(Le),"`value` should be array when `mode` is `multiple` or `tags`")}if(K){var tn=null;toNodeArray(K).some(function(Et){if(!React.isValidElement(Et)||!Et.type)return!1;var Yt=Et,Gt=Yt.type;if(Gt.isSelectOption)return!1;if(Gt.isSelectOptGroup){var gt=toNodeArray(Et.props.children).every(function(Pt){return!React.isValidElement(Pt)||!Et.type||Pt.type.isSelectOption?!0:(tn=Pt.type,!1)});return!gt}return tn=Gt,!0}),tn&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(tn.displayName||tn.name||tn,"`.")),warning(st===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Aa(S,P){if(S){var V=function K(ae){for(var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,pe=0;pe2&&arguments[2]!==void 0?arguments[2]:{},cr=Er.source,qo=cr===void 0?"keyboard":cr;Xi(Tr),pe&&K==="combobox"&&En!==null&&qo==="keyboard"&&di(String(En))},[pe,K]),vt=function(Tr,Er,cr){var qo=function(){var bi,Ci=_o(Tr);return[Ae?{label:Ci==null?void 0:Ci[gn.label],value:Tr,key:(bi=Ci==null?void 0:Ci.key)!==null&&bi!==void 0?bi:Tr}:Tr,dt(Ci)]};if(Er&&Le){var Ir=qo(),Co=(0,$.Z)(Ir,2),ho=Co[0],Wo=Co[1];Le(ho,Wo)}else if(!Er&&st&&cr!=="clear"){var Uo=qo(),Na=(0,$.Z)(Uo,2),ma=Na[0],Ka=Na[1];st(ma,Ka)}},ir=Cn(function(En,Tr){var Er,cr=Wt?Tr.selected:!0;cr?Er=Wt?[].concat((0,s.Z)(Xr),[En]):[En]:Er=Xr.filter(function(qo){return qo.value!==En}),Ba(Er),vt(En,cr),K==="combobox"?di(""):(!xt||it)&&(Jt(""),di(""))}),dr=function(Tr,Er){Ba(Tr);var cr=Er.type,qo=Er.values;(cr==="remove"||cr==="clear")&&qo.forEach(function(Ir){vt(Ir.value,!1,cr)})},sr=function(Tr,Er){if(Jt(Tr),di(null),Er.source==="submit"){var cr=(Tr||"").trim();if(cr){var qo=Array.from(new Set([].concat((0,s.Z)(Jo),[cr])));Ba(qo),vt(cr,!0),Jt("")}return}Er.source!=="blur"&&(K==="combobox"&&Ba(Tr),nt==null||nt(Tr))},ea=function(Tr){var Er=Tr;K!=="tags"&&(Er=Tr.map(function(qo){var Ir=Rr.get(qo);return Ir==null?void 0:Ir.value}).filter(function(qo){return qo!==void 0}));var cr=Array.from(new Set([].concat((0,s.Z)(Jo),(0,s.Z)(Er))));Ba(cr),cr.forEach(function(qo){vt(qo,!0)})},$o=n.useMemo(function(){var En=gt!==!1&&De!==!1;return(0,w.Z)((0,w.Z)({},bn),{},{flattenOptions:Ma,onActiveValue:Ca,defaultActiveFirstOption:Mi,onSelect:ir,menuItemSelectedIcon:Gt,rawValues:Jo,fieldNames:gn,virtual:En,direction:Pt,listHeight:hn,listItemHeight:qn,childrenAsData:en})},[bn,Ma,Ca,Mi,ir,Gt,Jo,gn,gt,De,hn,qn,en]);return n.createElement(an.Provider,{value:$o},n.createElement(Mr,(0,T.Z)({},_t,{id:Po,prefixCls:le,ref:P,omitDomProps:Ar,mode:K,displayValues:Wr,onDisplayValuesChange:dr,direction:Pt,searchValue:Vt,onSearch:sr,autoClearSearchValue:it,onSearchSplit:ea,dropdownMatchSelectWidth:De,OptionList:fo,emptyOptions:!Ma.length,activeValue:Di,activeDescendantId:"".concat(Po,"_list_").concat(fi)})))}),fa=Gr;fa.Option=kn,fa.OptGroup=pn;var si=null,pi=null,ci=i(17341),Qa=i(66680),ri=n.createContext(null),ha=ri,ei="__rc_cascader_search_mark__",Zi=function(P,V,K){var ae=K.label;return V.some(function(le){return String(le[ae]).toLowerCase().includes(P.toLowerCase())})},ki=function(P,V,K,ae){return V.map(function(le){return le[ae.label]}).join(" / ")},zo=function(S,P,V,K,ae,le){var pe=ae.filter,fe=pe===void 0?Zi:pe,Ie=ae.render,We=Ie===void 0?ki:Ie,nt=ae.limit,Ve=nt===void 0?50:nt,it=ae.sort;return n.useMemo(function(){var Le=[];if(!S)return[];function st(Ge,De){var Dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Ge.forEach(function(Zt){if(!(!it&&Ve!==!1&&Ve>0&&Le.length>=Ve)){var Ht=[].concat((0,s.Z)(De),[Zt]),Rt=Zt[V.children],tn=Dt||Zt.disabled;if((!Rt||Rt.length===0||le)&&fe(S,Ht,{label:V.label})){var Et;Le.push((0,w.Z)((0,w.Z)({},Zt),{},(Et={disabled:tn},(0,oe.Z)(Et,V.label,We(S,Ht,K,V)),(0,oe.Z)(Et,ei,Ht),(0,oe.Z)(Et,V.children,void 0),Et)))}Rt&&st(Zt[V.children],Ht,tn)}})}return st(P,[]),it&&Le.sort(function(Ge,De){return it(Ge[ei],De[ei],S,V)}),Ve!==!1&&Ve>0?Le.slice(0,Ve):Le},[S,P,V,K,We,le,fe,it,Ve])},ti="__RC_CASCADER_SPLIT__",zi="SHOW_PARENT",he="SHOW_CHILD";function ue(S){return S.join(ti)}function He(S){return S.map(ue)}function Ct(S){return S.split(ti)}function At(S){var P=S||{},V=P.label,K=P.value,ae=P.children,le=K||"value";return{label:V||"label",value:le,key:le,children:ae||"children"}}function ln(S,P){var V,K;return(V=S.isLeaf)!==null&&V!==void 0?V:!((K=S[P.children])!==null&&K!==void 0&&K.length)}function Mn(S){var P=S.parentElement;if(P){var V=S.offsetTop-P.offsetTop;V-P.scrollTop<0?P.scrollTo({top:V}):V+S.offsetHeight-P.scrollTop>P.offsetHeight&&P.scrollTo({top:V+S.offsetHeight-P.offsetHeight})}}function xn(S,P){return S.map(function(V){var K;return(K=V[ei])===null||K===void 0?void 0:K.map(function(ae){return ae[P.value]})})}function Jn(S,P,V){var K=new Set(S),ae=P();return S.filter(function(le){var pe=ae[le],fe=pe?pe.parent:null,Ie=pe?pe.children:null;return pe&&pe.node.disabled?!0:V===he?!(Ie&&Ie.some(function(We){return We.key&&K.has(We.key)})):!(fe&&!fe.node.disabled&&K.has(fe.key))})}function Dn(S,P,V){for(var K=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,ae=P,le=[],pe=function(){var We,nt,Ve,it=S[fe],Le=(We=ae)===null||We===void 0?void 0:We.findIndex(function(Ge){var De=Ge[V.value];return K?String(De)===String(it):De===it}),st=Le!==-1?(nt=ae)===null||nt===void 0?void 0:nt[Le]:null;le.push({value:(Ve=st==null?void 0:st[V.value])!==null&&Ve!==void 0?Ve:it,index:Le,option:st}),ae=st==null?void 0:st[V.children]},fe=0;fe1){var Yt=st.slice(0,-1);Zt(Yt)}else We(!1)},tn=function(){var Yt,Gt=((Yt=De[Ge])===null||Yt===void 0?void 0:Yt[V.children])||[],gt=Gt.find(function(ft){return!ft.disabled});if(gt){var Pt=[].concat((0,s.Z)(st),[gt[V.value]]);Zt(Pt)}};n.useImperativeHandle(S,function(){return{onKeyDown:function(Yt){var Gt=Yt.which;switch(Gt){case Ce.Z.UP:case Ce.Z.DOWN:{var gt=0;Gt===Ce.Z.UP?gt=-1:Gt===Ce.Z.DOWN&&(gt=1),gt!==0&&Ht(gt);break}case Ce.Z.LEFT:{if(Ie)break;Ve?tn():Rt();break}case Ce.Z.RIGHT:{if(Ie)break;Ve?Rt():tn();break}case Ce.Z.BACKSPACE:{Ie||Rt();break}case Ce.Z.ENTER:{if(st.length){var Pt=De[Ge],ft=(Pt==null?void 0:Pt[ei])||[];ft.length?le(ft.map(function(hn){return hn[V.value]}),ft[ft.length-1]):le(st,De[Ge])}break}case Ce.Z.ESC:We(!1),nt&&Yt.stopPropagation()}},onKeyUp:function(){}}})},ze=n.forwardRef(function(S,P){var V,K,ae,le,pe=qt(),fe=pe.prefixCls,Ie=pe.multiple,We=pe.searchValue,nt=pe.toggleOpen,Ve=pe.notFoundContent,it=pe.direction,Le=pe.open,st=n.useRef(),Ge=it==="rtl",De=n.useContext(ha),Dt=De.options,Zt=De.values,Ht=De.halfValues,Rt=De.fieldNames,tn=De.changeOnSelect,Et=De.onSelect,Yt=De.searchOptions,Gt=De.dropdownPrefixCls,gt=De.loadData,Pt=De.expandTrigger,ft=Gt||fe,hn=n.useState([]),wn=(0,$.Z)(hn,2),qn=wn[0],nr=wn[1],nn=function(un){if(!(!gt||We)){var Ur=Dn(un,Dt,Rt),Jr=Ur.map(function(Mo){var Xr=Mo.option;return Xr}),Kn=Jr[Jr.length-1];if(Kn&&!ln(Kn,Rt)){var Nr=ue(un);nr(function(Mo){return[].concat((0,s.Z)(Mo),[Nr])}),gt(Jr)}}};n.useEffect(function(){qn.length&&qn.forEach(function(vr){var un=Ct(vr),Ur=Dn(un,Dt,Rt,!0).map(function(Kn){var Nr=Kn.option;return Nr}),Jr=Ur[Ur.length-1];(!Jr||Jr[Rt.children]||ln(Jr,Rt))&&nr(function(Kn){return Kn.filter(function(Nr){return Nr!==vr})})})},[Dt,qn,Rt]);var Ae=n.useMemo(function(){return new Set(He(Zt))},[Zt]),Ut=n.useMemo(function(){return new Set(He(Ht))},[Ht]),_t=Qo(),Po=(0,$.Z)(_t,2),Wt=Po[0],en=Po[1],$r=function(un){en(un),nn(un)},gn=function(un){var Ur=un.disabled,Jr=ln(un,Rt);return!Ur&&(Jr||tn||Ie)},_n=function(un,Ur){var Jr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Et(un),!Ie&&(Ur||tn&&(Pt==="hover"||Jr))&&nt(!1)},br=n.useMemo(function(){return We?Yt:Dt},[We,Yt,Dt]),Vt=n.useMemo(function(){for(var vr=[{options:br}],un=br,Ur=xn(un,Rt),Jr=function(){var Xr=Wt[Kn],_o=un.find(function(Jo,co){return(Ur[co]?ue(Ur[co]):Jo[Rt.value])===Xr}),Wr=_o==null?void 0:_o[Rt.children];if(!(Wr!=null&&Wr.length))return"break";un=Wr,vr.push({options:Wr})},Kn=0;Kn":qn,nn=S.loadingIcon,Ae=S.children,Ut=S.dropdownMatchSelectWidth,_t=Ut===void 0?!1:Ut,Po=S.showCheckedStrategy,Wt=Po===void 0?zi:Po,en=(0,H.Z)(S,Pa),$r=Oe(V),gn=!!Ve,_n=(0,de.Z)(pe,{value:fe,postState:Oa}),br=(0,$.Z)(_n,2),Vt=br[0],Jt=br[1],bn=n.useMemo(function(){return At(le)},[JSON.stringify(le)]),yr=n.useMemo(function(){return Zt||[]},[Zt]),Rr=Eo(yr,bn),Sr=n.useCallback(function(Ca){var vt=Rr();return Ca.map(function(ir){var dr=vt[ir].nodes;return dr.map(function(sr){return sr[bn.value]})})},[Rr,bn]),Cr=(0,de.Z)("",{value:st,postState:function(vt){return vt||""}}),vr=(0,$.Z)(Cr,2),un=vr[0],Ur=vr[1],Jr=function(vt,ir){Ur(vt),ir.source!=="blur"&&Ge&&Ge(vt)},Kn=yo(De),Nr=(0,$.Z)(Kn,2),Mo=Nr[0],Xr=Nr[1],_o=zo(un,yr,bn,Ht||ae,Xr,Ie),Wr=so(yr,bn),Jo=n.useMemo(function(){var Ca=Wr(Vt),vt=(0,$.Z)(Ca,2),ir=vt[0],dr=vt[1];if(!gn||!Vt.length)return[ir,[],dr];var sr=He(ir),ea=Rr(),$o=(0,ci.S)(sr,!0,ea),En=$o.checkedKeys,Tr=$o.halfCheckedKeys;return[Sr(En),Sr(Tr),dr]},[gn,Vt,Rr,Sr,Wr]),co=(0,$.Z)(Jo,3),jo=co[0],Ko=co[1],So=co[2],Sa=n.useMemo(function(){var Ca=He(jo),vt=Jn(Ca,Rr,Wt);return[].concat((0,s.Z)(So),(0,s.Z)(Sr(vt)))},[jo,Rr,Sr,So,Wt]),Ma=Qr(Sa,yr,bn,gn,nt),Ba=(0,Qa.Z)(function(Ca){if(Jt(Ca),We){var vt=Oa(Ca),ir=vt.map(function(ea){return Dn(ea,yr,bn).map(function($o){return $o.option})}),dr=gn?vt:vt[0],sr=gn?ir:ir[0];We(dr,sr)}}),la=(0,Qa.Z)(function(Ca){if((!gn||Le)&&Ur(""),!gn)Ba(Ca);else{var vt=ue(Ca),ir=He(jo),dr=He(Ko),sr=ir.includes(vt),ea=So.some(function(ho){return ue(ho)===vt}),$o=jo,En=So;if(ea&&!sr)En=So.filter(function(ho){return ue(ho)!==vt});else{var Tr=sr?ir.filter(function(ho){return ho!==vt}):[].concat((0,s.Z)(ir),[vt]),Er=Rr(),cr;if(sr){var qo=(0,ci.S)(Tr,{checked:!1,halfCheckedKeys:dr},Er);cr=qo.checkedKeys}else{var Ir=(0,ci.S)(Tr,!0,Er);cr=Ir.checkedKeys}var Co=Jn(cr,Rr,Wt);$o=Sr(Co)}Ba([].concat((0,s.Z)(En),(0,s.Z)($o)))}}),ii=function(vt,ir){if(ir.type==="clear"){Ba([]);return}var dr=ir.values[0],sr=dr.valueCells;la(sr)},Di=Et!==void 0?Et:tn,di=Gt||Yt,Ha=ft||Pt,hi=function(vt){hn==null||hn(vt),wn==null||wn(vt)},fi=n.useMemo(function(){return{options:yr,fieldNames:bn,values:jo,halfValues:Ko,changeOnSelect:Ie,onSelect:la,checkable:Ve,searchOptions:_o,dropdownPrefixCls:Ht,loadData:Rt,expandTrigger:Dt,expandIcon:nr,loadingIcon:nn,dropdownMenuColumnStyle:gt}},[yr,bn,jo,Ko,Ie,la,Ve,_o,Ht,Rt,Dt,nr,nn,gt]),Xi=!(un?_o:yr).length,Mi=un&&Xr.matchInputWidth||Xi?{}:{minWidth:"auto"};return n.createElement(ha.Provider,{value:fi},n.createElement(Mr,(0,T.Z)({},en,{ref:P,id:$r,prefixCls:ae,autoClearSearchValue:Le,dropdownMatchSelectWidth:_t,dropdownStyle:Mi,displayValues:Ma,onDisplayValuesChange:ii,mode:gn?"multiple":void 0,searchValue:un,onSearch:Jr,showSearch:Mo,OptionList:tr,emptyOptions:Xi,open:Di,dropdownClassName:di,placement:Ha,onDropdownVisibleChange:hi,getRawInputElement:function(){return Ae}})))});wa.SHOW_PARENT=zi,wa.SHOW_CHILD=he;var hr=wa,ar=hr,An=i(33603),Lt=i(8745),Bn=i(9708),Ao=i(53124),Oo=i(88258),ka=i(98866),Fa=i(98675),ca=i(65223),ja=i(87244),ya=i(13458),La=i(78642),za=i(43277),ui=i(4173),Za=i(63185),Ra=i(14747),oi=i(80110),Ri=i(67968);const al=S=>{const{prefixCls:P,componentCls:V,antCls:K}=S,ae=`${V}-menu-item`,le=` + &${ae}-expand ${ae}-expand-icon, + ${ae}-loading-icon + `;return[{[V]:{width:S.controlWidth}},{[`${V}-dropdown`]:[(0,Za.C2)(`${P}-checkbox`,S),{[`&${K}-select-dropdown`]:{padding:0}},{[V]:{"&-checkbox":{top:0,marginInlineEnd:S.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${V}-menu-empty`]:{[`${V}-menu`]:{width:"100%",height:"auto",[ae]:{color:S.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:S.controlItemWidth,height:S.dropdownHeight,margin:0,padding:S.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${S.lineWidth}px ${S.lineType} ${S.colorSplit}`},"&-item":Object.assign(Object.assign({},Ra.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:S.optionPadding,lineHeight:S.lineHeight,cursor:"pointer",transition:`all ${S.motionDurationMid}`,borderRadius:S.borderRadiusSM,"&:hover":{background:S.controlItemBgHover},"&-disabled":{color:S.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[le]:{color:S.colorTextDisabled}},[`&-active:not(${ae}-disabled)`]:{["&, &:hover"]:{fontWeight:S.optionSelectedFontWeight,backgroundColor:S.optionSelectedBg}},"&-content":{flex:"auto"},[le]:{marginInlineStart:S.paddingXXS,color:S.colorTextDescription,fontSize:S.fontSizeIcon},"&-keyword":{color:S.colorHighlight}})}}}]},{[`${V}-dropdown-rtl`]:{direction:"rtl"}},(0,oi.c)(S)]};var Si=(0,Ri.Z)("Cascader",S=>[al(S)],S=>{const P=Math.round((S.controlHeight-S.fontSize*S.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:S.controlItemBgActive,optionSelectedFontWeight:S.fontWeightStrong,optionPadding:`${P}px ${S.paddingSM}px`,menuPadding:S.paddingXXS}}),Ui=function(S,P){var V={};for(var K in S)Object.prototype.hasOwnProperty.call(S,K)&&P.indexOf(K)<0&&(V[K]=S[K]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,K=Object.getOwnPropertySymbols(S);aeIe===0?[fe]:[].concat((0,s.Z)(pe),[P,fe]),[]),ae=[];let le=0;return K.forEach((pe,fe)=>{const Ie=le+pe.length;let We=S.slice(le,Ie);le=Ie,fe%2===1&&(We=n.createElement("span",{className:`${V}-menu-item-keyword`,key:`separator-${fe}`},We)),ae.push(We)}),ae}const Me=(S,P,V,K)=>{const ae=[],le=S.toLowerCase();return P.forEach((pe,fe)=>{fe!==0&&ae.push(" / ");let Ie=pe[K.label];const We=typeof Ie;(We==="string"||We==="number")&&(Ie=B(String(Ie),le,V)),ae.push(Ie)}),ae},ge=n.forwardRef((S,P)=>{const{prefixCls:V,size:K,disabled:ae,className:le,rootClassName:pe,multiple:fe,bordered:Ie=!0,transitionName:We,choiceTransitionName:nt="",popupClassName:Ve,dropdownClassName:it,expandIcon:Le,placement:st,showSearch:Ge,allowClear:De=!0,notFoundContent:Dt,direction:Zt,getPopupContainer:Ht,status:Rt,showArrow:tn,builtinPlacements:Et,style:Yt}=S,Gt=Ui(S,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),gt=(0,To.Z)(Gt,["suffixIcon"]),{getPopupContainer:Pt,getPrefixCls:ft,renderEmpty:hn,direction:wn,popupOverflow:qn,cascader:nr}=n.useContext(Ao.E_),nn=Zt||wn,Ae=nn==="rtl",{status:Ut,hasFeedback:_t,isFormItemInput:Po,feedbackIcon:Wt}=n.useContext(ca.aM),en=(0,Bn.F)(Ut,Rt),$r=Dt||(hn==null?void 0:hn("Cascader"))||n.createElement(Oo.Z,{componentName:"Cascader"}),gn=ft(),_n=ft("select",V),br=ft("cascader",V),[Vt,Jt]=(0,ja.Z)(_n),[bn]=Si(br),{compactSize:yr,compactItemClassnames:Rr}=(0,ui.ri)(_n,Zt),Sr=M()(Ve||it,`${br}-dropdown`,{[`${br}-dropdown-rtl`]:nn==="rtl"},pe,Jt),Cr=n.useMemo(()=>{if(!Ge)return Ge;let So={render:Me};return typeof Ge=="object"&&(So=Object.assign(Object.assign({},So),Ge)),So},[Ge]),vr=(0,Fa.Z)(So=>{var Sa;return(Sa=K!=null?K:yr)!==null&&Sa!==void 0?Sa:So}),un=n.useContext(ka.Z),Ur=ae!=null?ae:un;let Jr=Le;Le||(Jr=Ae?n.createElement(b.Z,null):n.createElement(O.Z,null));const Kn=n.createElement("span",{className:`${_n}-menu-item-loading-icon`},n.createElement(x.Z,{spin:!0})),Nr=n.useMemo(()=>fe?n.createElement("span",{className:`${br}-checkbox-inner`}):!1,[fe]),Mo=(0,La.Z)(S.suffixIcon,tn),{suffixIcon:Xr,removeIcon:_o,clearIcon:Wr}=(0,za.Z)(Object.assign(Object.assign({},S),{hasFeedback:_t,feedbackIcon:Wt,showSuffixIcon:Mo,multiple:fe,prefixCls:_n,componentName:"Cascader"})),Jo=n.useMemo(()=>st!==void 0?st:Ae?"bottomRight":"bottomLeft",[st,Ae]),co=(0,ya.Z)(Et,qn),jo=De===!0?{clearIcon:Wr}:De,Ko=n.createElement(ar,Object.assign({prefixCls:_n,className:M()(!V&&br,{[`${_n}-lg`]:vr==="large",[`${_n}-sm`]:vr==="small",[`${_n}-rtl`]:Ae,[`${_n}-borderless`]:!Ie,[`${_n}-in-form-item`]:Po},(0,Bn.Z)(_n,en,_t),Rr,nr==null?void 0:nr.className,le,pe,Jt),disabled:Ur,style:Object.assign(Object.assign({},nr==null?void 0:nr.style),Yt)},gt,{builtinPlacements:co,direction:nn,placement:Jo,notFoundContent:$r,allowClear:jo,showSearch:Cr,expandIcon:Jr,suffixIcon:Xr,removeIcon:_o,loadingIcon:Kn,checkable:Nr,dropdownClassName:Sr,dropdownPrefixCls:V||br,choiceTransitionName:(0,An.m)(gn,"",nt),transitionName:(0,An.m)(gn,"slide-up",We),getPopupContainer:Ht||Pt,ref:P}));return bn(Vt(Ko))}),ke=(0,Lt.Z)(ge);ge.SHOW_PARENT=A,ge.SHOW_CHILD=ai,ge._InternalPanelDoNotUseOrYouWillBeFired=ke;var Ye=ge},97776:function(Z,F,i){"use strict";i.d(F,{Z:function(){return zi}});var s=i(67294),n=i(1208),b=i(94184),x=i.n(b),O=i(87462),E=i(1413),M=i(4942),T=i(97685),$=i(71002),H=i(91),oe=i(27678),w=i(21770),Y=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],de=s.createContext(null),_=0;function re(he,ue){var He=s.useState(function(){return _+=1,String(_)}),Ct=(0,T.Z)(He,1),At=Ct[0],ln=s.useContext(de),Mn={data:ue,canPreview:he};return s.useEffect(function(){if(ln)return ln.register(At,Mn)},[]),s.useEffect(function(){ln&&ln.register(At,Mn)},[he,ue]),At}function Ke(he){return new Promise(function(ue){var He=document.createElement("img");He.onerror=function(){return ue(!1)},He.onload=function(){return ue(!0)},He.src=he})}function Ce(he){var ue=he.src,He=he.isCustomPlaceholder,Ct=he.fallback,At=(0,s.useState)(He?"loading":"normal"),ln=(0,T.Z)(At,2),Mn=ln[0],xn=ln[1],Jn=(0,s.useRef)(!1),Dn=Mn==="error";(0,s.useEffect)(function(){Ke(ue).then(function(so){so||xn("error")})},[ue]),(0,s.useEffect)(function(){He&&!Jn.current?xn("loading"):Dn&&xn("normal")},[ue]);var Qr=function(){xn("normal")},Or=function(yo){Jn.current=!1,Mn==="loading"&&yo!=null&&yo.complete&&(yo.naturalWidth||yo.naturalHeight)&&(Jn.current=!0,Qr())},Eo=Dn&&Ct?{src:Ct}:{onLoad:Qr,src:ue};return[Or,Eo,Mn]}var lt=i(2788),ut=s.createContext({}),at=i(94999),Yn=i(7028),dn=i(15105),qt=i(64217);function be(he,ue,He){var Ct=ue;return!Ct&&He&&(Ct="".concat(he,"-").concat(He)),Ct}function Xe(he,ue){var He=he["page".concat(ue?"Y":"X","Offset")],Ct="scroll".concat(ue?"Top":"Left");if(typeof He!="number"){var At=he.document;He=At.documentElement[Ct],typeof He!="number"&&(He=At.body[Ct])}return He}function bt(he){var ue=he.getBoundingClientRect(),He={left:ue.left,top:ue.top},Ct=he.ownerDocument,At=Ct.defaultView||Ct.parentWindow;return He.left+=Xe(At),He.top+=Xe(At,!0),He}var te=i(82225),Te=i(42550),_e=s.memo(function(he){var ue=he.children;return ue},function(he,ue){var He=ue.shouldUpdate;return!He}),Pe={width:0,height:0,overflow:"hidden",outline:"none"},Ue=s.forwardRef(function(he,ue){var He=he.prefixCls,Ct=he.className,At=he.style,ln=he.title,Mn=he.ariaId,xn=he.footer,Jn=he.closable,Dn=he.closeIcon,Qr=he.onClose,Or=he.children,Eo=he.bodyStyle,so=he.bodyProps,yo=he.modalRender,ba=he.onMouseDown,ko=he.onMouseUp,Go=he.holderRef,Bo=he.visible,ia=he.forceRender,Qo=he.width,va=he.height,ze=s.useContext(ut),tr=ze.panel,wt=(0,Te.x1)(Go,tr),Ho=(0,s.useRef)(),po=(0,s.useRef)();s.useImperativeHandle(ue,function(){return{focus:function(){var An;(An=Ho.current)===null||An===void 0||An.focus()},changeActive:function(An){var Lt=document,Bn=Lt.activeElement;An&&Bn===po.current?Ho.current.focus():!An&&Bn===Ho.current&&po.current.focus()}}});var Pa={};Qo!==void 0&&(Pa.width=Qo),va!==void 0&&(Pa.height=va);var Ia;xn&&(Ia=s.createElement("div",{className:"".concat(He,"-footer")},xn));var Oa;ln&&(Oa=s.createElement("div",{className:"".concat(He,"-header")},s.createElement("div",{className:"".concat(He,"-title"),id:Mn},ln)));var wa;Jn&&(wa=s.createElement("button",{type:"button",onClick:Qr,"aria-label":"Close",className:"".concat(He,"-close")},Dn||s.createElement("span",{className:"".concat(He,"-close-x")})));var hr=s.createElement("div",{className:"".concat(He,"-content")},wa,Oa,s.createElement("div",(0,O.Z)({className:"".concat(He,"-body"),style:Eo},so),Or),Ia);return s.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":ln?Mn:null,"aria-modal":"true",ref:wt,style:(0,E.Z)((0,E.Z)({},At),Pa),className:x()(He,Ct),onMouseDown:ba,onMouseUp:ko},s.createElement("div",{tabIndex:0,ref:Ho,style:Pe,"aria-hidden":"true"}),s.createElement(_e,{shouldUpdate:Bo||ia},yo?yo(hr):hr),s.createElement("div",{tabIndex:0,ref:po,style:Pe,"aria-hidden":"true"}))}),ct=Ue,yt=s.forwardRef(function(he,ue){var He=he.prefixCls,Ct=he.title,At=he.style,ln=he.className,Mn=he.visible,xn=he.forceRender,Jn=he.destroyOnClose,Dn=he.motionName,Qr=he.ariaId,Or=he.onVisibleChanged,Eo=he.mousePosition,so=(0,s.useRef)(),yo=s.useState(),ba=(0,T.Z)(yo,2),ko=ba[0],Go=ba[1],Bo={};ko&&(Bo.transformOrigin=ko);function ia(){var Qo=bt(so.current);Go(Eo?"".concat(Eo.x-Qo.left,"px ").concat(Eo.y-Qo.top,"px"):"")}return s.createElement(te.ZP,{visible:Mn,onVisibleChanged:Or,onAppearPrepare:ia,onEnterPrepare:ia,forceRender:xn,motionName:Dn,removeOnLeave:Jn,ref:so},function(Qo,va){var ze=Qo.className,tr=Qo.style;return s.createElement(ct,(0,O.Z)({},he,{ref:ue,title:Ct,ariaId:Qr,prefixCls:He,holderRef:va,style:(0,E.Z)((0,E.Z)((0,E.Z)({},tr),At),Bo),className:x()(ln,ze)}))})});yt.displayName="Content";var fn=yt;function Nt(he){var ue=he.prefixCls,He=he.style,Ct=he.visible,At=he.maskProps,ln=he.motionName;return s.createElement(te.ZP,{key:"mask",visible:Ct,motionName:ln,leavedClassName:"".concat(ue,"-mask-hidden")},function(Mn,xn){var Jn=Mn.className,Dn=Mn.style;return s.createElement("div",(0,O.Z)({ref:xn,style:(0,E.Z)((0,E.Z)({},Dn),He),className:x()("".concat(ue,"-mask"),Jn)},At))})}function Se(he){var ue=he.prefixCls,He=ue===void 0?"rc-dialog":ue,Ct=he.zIndex,At=he.visible,ln=At===void 0?!1:At,Mn=he.keyboard,xn=Mn===void 0?!0:Mn,Jn=he.focusTriggerAfterClose,Dn=Jn===void 0?!0:Jn,Qr=he.wrapStyle,Or=he.wrapClassName,Eo=he.wrapProps,so=he.onClose,yo=he.afterOpenChange,ba=he.afterClose,ko=he.transitionName,Go=he.animation,Bo=he.closable,ia=Bo===void 0?!0:Bo,Qo=he.mask,va=Qo===void 0?!0:Qo,ze=he.maskTransitionName,tr=he.maskAnimation,wt=he.maskClosable,Ho=wt===void 0?!0:wt,po=he.maskStyle,Pa=he.maskProps,Ia=he.rootClassName,Oa=(0,s.useRef)(),wa=(0,s.useRef)(),hr=(0,s.useRef)(),ar=s.useState(ln),An=(0,T.Z)(ar,2),Lt=An[0],Bn=An[1],Ao=(0,Yn.Z)();function Oo(){(0,at.Z)(wa.current,document.activeElement)||(Oa.current=document.activeElement)}function ka(){if(!(0,at.Z)(wa.current,document.activeElement)){var Ra;(Ra=hr.current)===null||Ra===void 0||Ra.focus()}}function Fa(Ra){if(Ra)ka();else{if(Bn(!1),va&&Oa.current&&Dn){try{Oa.current.focus({preventScroll:!0})}catch(oi){}Oa.current=null}Lt&&(ba==null||ba())}yo==null||yo(Ra)}function ca(Ra){so==null||so(Ra)}var ja=(0,s.useRef)(!1),ya=(0,s.useRef)(),La=function(){clearTimeout(ya.current),ja.current=!0},za=function(){ya.current=setTimeout(function(){ja.current=!1})},ui=null;Ho&&(ui=function(oi){ja.current?ja.current=!1:wa.current===oi.target&&ca(oi)});function Za(Ra){if(xn&&Ra.keyCode===dn.Z.ESC){Ra.stopPropagation(),ca(Ra);return}ln&&Ra.keyCode===dn.Z.TAB&&hr.current.changeActive(!Ra.shiftKey)}return(0,s.useEffect)(function(){ln&&(Bn(!0),Oo())},[ln]),(0,s.useEffect)(function(){return function(){clearTimeout(ya.current)}},[]),s.createElement("div",(0,O.Z)({className:x()("".concat(He,"-root"),Ia)},(0,qt.Z)(he,{data:!0})),s.createElement(Nt,{prefixCls:He,visible:va&&ln,motionName:be(He,ze,tr),style:(0,E.Z)({zIndex:Ct},po),maskProps:Pa}),s.createElement("div",(0,O.Z)({tabIndex:-1,onKeyDown:Za,className:x()("".concat(He,"-wrap"),Or),ref:wa,onClick:ui,style:(0,E.Z)((0,E.Z)({zIndex:Ct},Qr),{},{display:Lt?null:"none"})},Eo),s.createElement(fn,(0,O.Z)({},he,{onMouseDown:La,onMouseUp:za,ref:hr,closable:ia,ariaId:Ao,prefixCls:He,visible:ln&&Lt,onClose:ca,onVisibleChanged:Fa,motionName:be(He,ko,Go)}))))}var D=function(ue){var He=ue.visible,Ct=ue.getContainer,At=ue.forceRender,ln=ue.destroyOnClose,Mn=ln===void 0?!1:ln,xn=ue.afterClose,Jn=ue.panelRef,Dn=s.useState(He),Qr=(0,T.Z)(Dn,2),Or=Qr[0],Eo=Qr[1],so=s.useMemo(function(){return{panel:Jn}},[Jn]);return s.useEffect(function(){He&&Eo(!0)},[He]),!At&&Mn&&!Or?null:s.createElement(ut.Provider,{value:so},s.createElement(lt.Z,{open:He||At||Or,autoDestroy:!1,getContainer:Ct,autoLock:He||Or},s.createElement(Se,(0,O.Z)({},ue,{destroyOnClose:Mn,afterClose:function(){xn==null||xn(),Eo(!1)}}))))};D.displayName="Dialog";var se=D,Be=se,Re=i(64019),rt=i(80334);function Tt(he,ue,He,Ct){var At=ue+He,ln=(He-Ct)/2;if(He>Ct){if(ue>0)return(0,M.Z)({},he,ln);if(ue<0&&AtCt)return(0,M.Z)({},he,ue<0?ln:-ln);return{}}function Ln(he,ue,He,Ct){var At=(0,oe.g1)(),ln=At.width,Mn=At.height,xn=null;return he<=ln&&ue<=Mn?xn={x:0,y:0}:(he>ln||ue>Mn)&&(xn=(0,E.Z)((0,E.Z)({},Tt("x",He,he,ln)),Tt("y",Ct,ue,Mn))),xn}var Nn=i(91881),pt=i(75164),yn={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Wn(he,ue,He,Ct){var At=(0,s.useRef)(null),ln=(0,s.useRef)([]),Mn=(0,s.useState)(yn),xn=(0,T.Z)(Mn,2),Jn=xn[0],Dn=xn[1],Qr=function(yo){Dn(yn),Ct&&!(0,Nn.Z)(yn,Jn)&&Ct({transform:yn,action:yo})},Or=function(yo,ba){At.current===null&&(ln.current=[],At.current=(0,pt.Z)(function(){Dn(function(ko){var Go=ko;return ln.current.forEach(function(Bo){Go=(0,E.Z)((0,E.Z)({},Go),Bo)}),At.current=null,Ct==null||Ct({transform:Go,action:ba}),Go})})),ln.current.push((0,E.Z)((0,E.Z)({},Jn),yo))},Eo=function(yo,ba,ko,Go){var Bo=he.current,ia=Bo.width,Qo=Bo.height,va=Bo.offsetWidth,ze=Bo.offsetHeight,tr=Bo.offsetLeft,wt=Bo.offsetTop,Ho=yo,po=Jn.scale*yo;po>He?(Ho=He/Jn.scale,po=He):po1,za=ya&&Bo>=1,ui=Wn(Ao,tr,Ho,An),Za=ui.transform,Ra=ui.resetTransform,oi=ui.updateTransform,Ri=ui.dispatchZoomChange,al=(0,s.useState)(!0),Si=(0,T.Z)(al,2),Ui=Si[0],ai=Si[1],A=Za.rotate,B=Za.scale,Me=Za.x,ge=Za.y,ke=x()((0,M.Z)({},"".concat(He,"-moving"),ca));(0,s.useEffect)(function(){Ui||ai(!0)},[Ui]);var Ye=function(){Ra("close")},S=function(){Ri(er+va,"zoomIn")},P=function(){Ri(er/(er+va),"zoomOut")},V=function(){oi({rotate:A+90},"rotateRight")},K=function(){oi({rotate:A-90},"rotateLeft")},ae=function(){oi({flipX:!Za.flipX},"flipX")},le=function(){oi({flipY:!Za.flipY},"flipY")},pe=function(De){De==null||De.preventDefault(),De==null||De.stopPropagation(),ko>0&&(ai(!1),Ra("prev"),Lt==null||Lt(ko-1,ko))},fe=function(De){De==null||De.preventDefault(),De==null||De.stopPropagation(),ko0&&(Ht=er/Ht),Ri(Ht,"wheel",De.clientX,De.clientY)}},it=function(De){!Dn||!La||(De.keyCode===dn.Z.LEFT?pe():De.keyCode===dn.Z.RIGHT&&fe())},Le=function(De){Dn&&(B!==1?oi({x:0,y:0,scale:1},"doubleClick"):Ri(er+va,"doubleClick",De.clientX,De.clientY))};(0,s.useEffect)(function(){var Ge,De,Dt,Zt;if(xn){Dt=(0,Re.Z)(window,"mouseup",Ie,!1),Zt=(0,Re.Z)(window,"mousemove",nt,!1);try{window.top!==window.self&&(Ge=(0,Re.Z)(window.top,"mouseup",Ie,!1),De=(0,Re.Z)(window.top,"mousemove",nt,!1))}catch(Ht){(0,rt.Kp)(!1,"[rc-image] ".concat(Ht))}}return function(){var Ht,Rt,tn,Et;(Ht=Dt)===null||Ht===void 0||Ht.remove(),(Rt=Zt)===null||Rt===void 0||Rt.remove(),(tn=Ge)===null||tn===void 0||tn.remove(),(Et=De)===null||Et===void 0||Et.remove()}},[Dn,ca,Me,ge,A,xn]),(0,s.useEffect)(function(){var Ge=(0,Re.Z)(window,"keydown",it,!1);return function(){Ge.remove()}},[Dn,La,ko]);var st=s.createElement(zt,(0,O.Z)({},hr,{width:ue.width,height:ue.height,imgRef:Ao,className:"".concat(He,"-img"),alt:At,style:{transform:"translate3d(".concat(Za.x,"px, ").concat(Za.y,"px, 0) scale3d(").concat(Za.flipX?"-":"").concat(B,", ").concat(Za.flipY?"-":"").concat(B,", 1) rotate(").concat(A,"deg)"),transitionDuration:!Ui&&"0s"},fallback:ln,src:Ct,onWheel:Ve,onMouseDown:We,onDoubleClick:Le}));return s.createElement(s.Fragment,null,s.createElement(Be,(0,O.Z)({transitionName:Pa,maskTransitionName:Oa,closable:!1,keyboard:!0,prefixCls:He,onClose:Jn,visible:Dn,wrapClassName:ke,rootClassName:Eo,getContainer:yo},Bn,{afterClose:Ye}),s.createElement("div",{className:"".concat(He,"-img-wrapper")},wa?wa(st,(0,E.Z)({transform:Za},ya?{current:ko}:{})):st)),s.createElement(Gn,{visible:Dn,transform:Za,maskTransitionName:Oa,closeIcon:so,getContainer:yo,prefixCls:He,rootClassName:Eo,icons:Or,countRender:ia,showSwitch:La,showProgress:za,current:ko,count:Bo,scale:B,minScale:tr,maxScale:Ho,toolbarRender:ar,onSwitchLeft:pe,onSwitchRight:fe,onZoomIn:S,onZoomOut:P,onRotateRight:V,onRotateLeft:K,onFlipX:ae,onFlipY:le,onClose:Jn}))},ao=fr,k=i(74902);function Ne(he){var ue=s.useState({}),He=(0,T.Z)(ue,2),Ct=He[0],At=He[1],ln=s.useCallback(function(xn,Jn){return At(function(Dn){return(0,E.Z)((0,E.Z)({},Dn),{},(0,M.Z)({},xn,Jn))}),function(){At(function(Dn){var Qr=(0,E.Z)({},Dn);return delete Qr[xn],Qr})}},[]),Mn=s.useMemo(function(){return he?he.map(function(xn){if(typeof xn=="string")return{data:{src:xn}};var Jn={};return Object.keys(xn).forEach(function(Dn){["src"].concat((0,k.Z)(Y)).includes(Dn)&&(Jn[Dn]=xn[Dn])}),{data:Jn}}):Object.keys(Ct).reduce(function(xn,Jn){var Dn=Ct[Jn],Qr=Dn.canPreview,Or=Dn.data;return Qr&&xn.push({data:Or,id:Jn}),xn},[])},[he,Ct]);return[Mn,ln]}var Fe=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],dt=["src"],$t=function(ue){var He,Ct=ue.previewPrefixCls,At=Ct===void 0?"rc-image-preview":Ct,ln=ue.children,Mn=ue.icons,xn=Mn===void 0?{}:Mn,Jn=ue.items,Dn=ue.preview,Qr=ue.fallback,Or=(0,$.Z)(Dn)==="object"?Dn:{},Eo=Or.visible,so=Or.onVisibleChange,yo=Or.getContainer,ba=Or.current,ko=Or.movable,Go=Or.minScale,Bo=Or.maxScale,ia=Or.countRender,Qo=Or.closeIcon,va=Or.onChange,ze=Or.onTransform,tr=Or.toolbarRender,wt=Or.imageRender,Ho=(0,H.Z)(Or,Fe),po=Ne(Jn),Pa=(0,T.Z)(po,2),Ia=Pa[0],Oa=Pa[1],wa=(0,w.Z)(0,{value:ba}),hr=(0,T.Z)(wa,2),ar=hr[0],An=hr[1],Lt=(0,s.useState)(!1),Bn=(0,T.Z)(Lt,2),Ao=Bn[0],Oo=Bn[1],ka=((He=Ia[ar])===null||He===void 0?void 0:He.data)||{},Fa=ka.src,ca=(0,H.Z)(ka,dt),ja=(0,w.Z)(!!Eo,{value:Eo,onChange:function(A,B){so==null||so(A,B,ar)}}),ya=(0,T.Z)(ja,2),La=ya[0],za=ya[1],ui=(0,s.useState)(null),Za=(0,T.Z)(ui,2),Ra=Za[0],oi=Za[1],Ri=s.useCallback(function(ai,A,B){var Me=Ia.findIndex(function(ge){return ge.id===ai});za(!0),oi({x:A,y:B}),An(Me<0?0:Me),Oo(!0)},[Ia]);s.useEffect(function(){La?Ao||An(0):Oo(!1)},[La]);var al=function(A,B){An(A),va==null||va(A,B)},Si=function(){za(!1),oi(null)},Ui=s.useMemo(function(){return{register:Oa,onPreview:Ri}},[Oa,Ri]);return s.createElement(de.Provider,{value:Ui},ln,s.createElement(ao,(0,O.Z)({"aria-hidden":!La,movable:ko,visible:La,prefixCls:At,closeIcon:Qo,onClose:Si,mousePosition:Ra,imgCommonProps:ca,src:Fa,fallback:Qr,icons:xn,minScale:Go,maxScale:Bo,getContainer:yo,current:ar,count:Ia.length,countRender:ia,onTransform:ze,toolbarRender:tr,imageRender:wt,onChange:al},Ho)))},rn=$t,On=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],xt=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Kt=function(ue){var He=ue.src,Ct=ue.alt,At=ue.onPreviewClose,ln=ue.prefixCls,Mn=ln===void 0?"rc-image":ln,xn=ue.previewPrefixCls,Jn=xn===void 0?"".concat(Mn,"-preview"):xn,Dn=ue.placeholder,Qr=ue.fallback,Or=ue.width,Eo=ue.height,so=ue.style,yo=ue.preview,ba=yo===void 0?!0:yo,ko=ue.className,Go=ue.onClick,Bo=ue.onError,ia=ue.wrapperClassName,Qo=ue.wrapperStyle,va=ue.rootClassName,ze=(0,H.Z)(ue,On),tr=Dn&&Dn!==!0,wt=(0,$.Z)(ba)==="object"?ba:{},Ho=wt.src,po=wt.visible,Pa=po===void 0?void 0:po,Ia=wt.onVisibleChange,Oa=Ia===void 0?At:Ia,wa=wt.getContainer,hr=wa===void 0?void 0:wa,ar=wt.mask,An=wt.maskClassName,Lt=wt.movable,Bn=wt.icons,Ao=wt.scaleStep,Oo=wt.minScale,ka=wt.maxScale,Fa=wt.imageRender,ca=wt.toolbarRender,ja=(0,H.Z)(wt,xt),ya=Ho!=null?Ho:He,La=(0,w.Z)(!!Pa,{value:Pa,onChange:Oa}),za=(0,T.Z)(La,2),ui=za[0],Za=za[1],Ra=Ce({src:He,isCustomPlaceholder:tr,fallback:Qr}),oi=(0,T.Z)(Ra,3),Ri=oi[0],al=oi[1],Si=oi[2],Ui=(0,s.useState)(null),ai=(0,T.Z)(Ui,2),A=ai[0],B=ai[1],Me=(0,s.useContext)(de),ge=!!ba,ke=function(){Za(!1),B(null)},Ye=x()(Mn,ia,va,(0,M.Z)({},"".concat(Mn,"-error"),Si==="error")),S=(0,s.useMemo)(function(){var ae={};return Y.forEach(function(le){ue[le]!==void 0&&(ae[le]=ue[le])}),ae},Y.map(function(ae){return ue[ae]})),P=(0,s.useMemo)(function(){return(0,E.Z)((0,E.Z)({},S),{},{src:ya})},[ya,S]),V=re(ge,P),K=function(le){var pe=(0,oe.os)(le.target),fe=pe.left,Ie=pe.top;Me?Me.onPreview(V,fe,Ie):(B({x:fe,y:Ie}),Za(!0)),Go==null||Go(le)};return s.createElement(s.Fragment,null,s.createElement("div",(0,O.Z)({},ze,{className:Ye,onClick:ge?K:Go,style:(0,E.Z)({width:Or,height:Eo},Qo)}),s.createElement("img",(0,O.Z)({},S,{className:x()("".concat(Mn,"-img"),(0,M.Z)({},"".concat(Mn,"-img-placeholder"),Dn===!0),ko),style:(0,E.Z)({height:Eo},so),ref:Ri},al,{width:Or,height:Eo,onError:Bo})),Si==="loading"&&s.createElement("div",{"aria-hidden":"true",className:"".concat(Mn,"-placeholder")},Dn),ar&&ge&&s.createElement("div",{className:x()("".concat(Mn,"-mask"),An),style:{display:(so==null?void 0:so.display)==="none"?"none":void 0}},ar)),!Me&&ge&&s.createElement(ao,(0,O.Z)({"aria-hidden":!ui,visible:ui,prefixCls:Jn,onClose:ke,mousePosition:A,src:ya,alt:Ct,fallback:Qr,getContainer:hr,icons:Bn,movable:Lt,scaleStep:Ao,minScale:Oo,maxScale:ka,rootClassName:va,imageRender:Fa,imgCommonProps:S,toolbarRender:ca},ja)))};Kt.PreviewGroup=rn,Kt.displayName="Image";var Mr=Kt,Vn=Mr,Xt=i(33603),Qt=i(53124),on=i(40378),Tn=i(62208),q=i(62946),ne=i(62994),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},je=Oe,et=i(93771),vn=function(ue,He){return s.createElement(et.Z,(0,O.Z)({},ue,{ref:He,icon:je}))},Bt=s.forwardRef(vn),zn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},lr=zn,Cn=function(ue,He){return s.createElement(et.Z,(0,O.Z)({},ue,{ref:He,icon:lr}))},Zn=s.forwardRef(Cn),pn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},Rn=pn,kn=function(ue,He){return s.createElement(et.Z,(0,O.Z)({},ue,{ref:He,icon:Rn}))},bo=s.forwardRef(kn),To={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},Qn=To,Lo=function(ue,He){return s.createElement(et.Z,(0,O.Z)({},ue,{ref:He,icon:Qn}))},an=s.forwardRef(Lo),kr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},zr=kr,Do=function(ue,He){return s.createElement(et.Z,(0,O.Z)({},ue,{ref:He,icon:zr}))},G=s.forwardRef(Do),to=i(10274),fo=i(71194),Fo=i(14747),Aa=i(50438),oa=i(16932),Kr=i(67968),Ar=i(45503);const wr=he=>({position:he||"absolute",inset:0}),Gr=he=>{const{iconCls:ue,motionDurationSlow:He,paddingXXS:Ct,marginXXS:At,prefixCls:ln,colorTextLightSolid:Mn}=he;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:Mn,background:new to.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${He}`,[`.${ln}-mask-info`]:Object.assign(Object.assign({},Fo.vS),{padding:`0 ${Ct}px`,[ue]:{marginInlineEnd:At,svg:{verticalAlign:"baseline"}}})}},fa=he=>{const{previewCls:ue,modalMaskBg:He,paddingSM:Ct,marginXL:At,margin:ln,paddingLG:Mn,previewOperationColorDisabled:xn,previewOperationHoverColor:Jn,motionDurationSlow:Dn,iconCls:Qr,colorTextLightSolid:Or}=he,Eo=new to.C(He).setAlpha(.1),so=Eo.clone().setAlpha(.2);return{[`${ue}-footer`]:{position:"fixed",bottom:At,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:he.previewOperationColor},[`${ue}-progress`]:{marginBottom:ln},[`${ue}-close`]:{position:"fixed",top:At,right:{_skip_check_:!0,value:At},display:"flex",color:Or,backgroundColor:Eo.toRgbString(),borderRadius:"50%",padding:Ct,outline:0,border:0,cursor:"pointer",transition:`all ${Dn}`,"&:hover":{backgroundColor:so.toRgbString()},[`& > ${Qr}`]:{fontSize:he.previewOperationSize}},[`${ue}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${Mn}px`,backgroundColor:Eo.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Ct,padding:Ct,cursor:"pointer",transition:`all ${Dn}`,userSelect:"none",[`&:not(${ue}-operations-operation-disabled):hover > ${Qr}`]:{color:Jn},"&-disabled":{color:xn,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Qr}`]:{fontSize:he.previewOperationSize}}}}},si=he=>{const{modalMaskBg:ue,iconCls:He,previewOperationColorDisabled:Ct,previewCls:At,zIndexPopup:ln,motionDurationSlow:Mn}=he,xn=new to.C(ue).setAlpha(.1),Jn=xn.clone().setAlpha(.2);return{[`${At}-switch-left, ${At}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:ln+1,display:"flex",alignItems:"center",justifyContent:"center",width:he.imagePreviewSwitchSize,height:he.imagePreviewSwitchSize,marginTop:-he.imagePreviewSwitchSize/2,color:he.previewOperationColor,background:xn.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${Mn}`,userSelect:"none","&:hover":{background:Jn.toRgbString()},["&-disabled"]:{"&, &:hover":{color:Ct,background:"transparent",cursor:"not-allowed",[`> ${He}`]:{cursor:"not-allowed"}}},[`> ${He}`]:{fontSize:he.previewOperationSize}},[`${At}-switch-left`]:{insetInlineStart:he.marginSM},[`${At}-switch-right`]:{insetInlineEnd:he.marginSM}}},pi=he=>{const{motionEaseOut:ue,previewCls:He,motionDurationSlow:Ct,componentCls:At}=he;return[{[`${At}-preview-root`]:{[He]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${He}-body`]:Object.assign(Object.assign({},wr()),{overflow:"hidden"}),[`${He}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Ct} ${ue} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},wr()),{transition:`transform ${Ct} ${ue} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${He}-moving`]:{[`${He}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${At}-preview-root`]:{[`${He}-wrap`]:{zIndex:he.zIndexPopup}}},{[`${At}-preview-operations-wrapper`]:{position:"fixed",zIndex:he.zIndexPopup+1},"&":[fa(he),si(he)]}]},ci=he=>{const{componentCls:ue}=he;return{[ue]:{position:"relative",display:"inline-block",[`${ue}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${ue}-img-placeholder`]:{backgroundColor:he.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${ue}-mask`]:Object.assign({},Gr(he)),[`${ue}-mask:hover`]:{opacity:1},[`${ue}-placeholder`]:Object.assign({},wr())}}},Qa=he=>{const{previewCls:ue}=he;return{[`${ue}-root`]:(0,Aa._y)(he,"zoom"),["&"]:(0,oa.J$)(he,!0)}};var ri=(0,Kr.Z)("Image",he=>{const ue=`${he.componentCls}-preview`,He=(0,Ar.TS)(he,{previewCls:ue,modalMaskBg:new to.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:he.controlHeightLG});return[ci(He),pi(He),(0,fo.QA)((0,Ar.TS)(He,{componentCls:ue})),Qa(He)]},he=>({zIndexPopup:he.zIndexPopupBase+80,previewOperationColor:new to.C(he.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new to.C(he.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new to.C(he.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:he.fontSizeIcon*1.5})),ha=function(he,ue){var He={};for(var Ct in he)Object.prototype.hasOwnProperty.call(he,Ct)&&ue.indexOf(Ct)<0&&(He[Ct]=he[Ct]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,Ct=Object.getOwnPropertySymbols(he);At{var{previewPrefixCls:ue,preview:He}=he,Ct=ha(he,["previewPrefixCls","preview"]);const{getPrefixCls:At}=s.useContext(Qt.E_),ln=At("image",ue),Mn=`${ln}-preview`,xn=At(),[Jn,Dn]=ri(ln),Qr=s.useMemo(()=>{var Or;if(He===!1)return He;const Eo=typeof He=="object"?He:{},so=x()(Dn,(Or=Eo.rootClassName)!==null&&Or!==void 0?Or:"");return Object.assign(Object.assign({},Eo),{transitionName:(0,Xt.m)(xn,"zoom",Eo.transitionName),maskTransitionName:(0,Xt.m)(xn,"fade",Eo.maskTransitionName),rootClassName:so})},[He]);return Jn(s.createElement(Vn.PreviewGroup,Object.assign({preview:Qr,previewPrefixCls:Mn,icons:ei},Ct)))},zo=function(he,ue){var He={};for(var Ct in he)Object.prototype.hasOwnProperty.call(he,Ct)&&ue.indexOf(Ct)<0&&(He[Ct]=he[Ct]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,Ct=Object.getOwnPropertySymbols(he);At{const{prefixCls:ue,preview:He,className:Ct,rootClassName:At,style:ln}=he,Mn=zo(he,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:xn,locale:Jn=on.Z,getPopupContainer:Dn,image:Qr}=s.useContext(Qt.E_),Or=xn("image",ue),Eo=xn(),so=Jn.Image||on.Z.Image,[yo,ba]=ri(Or),ko=x()(At,ba),Go=x()(Ct,ba,Qr==null?void 0:Qr.className),Bo=s.useMemo(()=>{if(He===!1)return He;const Qo=typeof He=="object"?He:{},{getContainer:va}=Qo,ze=zo(Qo,["getContainer"]);return Object.assign(Object.assign({mask:s.createElement("div",{className:`${Or}-mask-info`},s.createElement(n.Z,null),so==null?void 0:so.preview),icons:ei},ze),{getContainer:va||Dn,transitionName:(0,Xt.m)(Eo,"zoom",Qo.transitionName),maskTransitionName:(0,Xt.m)(Eo,"fade",Qo.maskTransitionName)})},[He,so]),ia=Object.assign(Object.assign({},Qr==null?void 0:Qr.style),ln);return yo(s.createElement(Vn,Object.assign({prefixCls:Or,preview:Bo,rootClassName:ko,className:Go,style:ia},Mn)))};ti.PreviewGroup=ki;var zi=ti},16549:function(Z,F,i){"use strict";i.r(F),i.d(F,{Affix:function(){return s.Z},Alert:function(){return fn},Anchor:function(){return fr},App:function(){return Mr},AutoComplete:function(){return et},Avatar:function(){return vn.C},BackTop:function(){return Lo},Badge:function(){return an.Z},Breadcrumb:function(){return kr.Z},Button:function(){return zr.ZP},Calendar:function(){return zo},Card:function(){return va},Carousel:function(){return hn},Cascader:function(){return wn.Z},Checkbox:function(){return qn.Z},Col:function(){return nr.Z},Collapse:function(){return jo},ColorPicker:function(){return Bc},ConfigProvider:function(){return Hc.ZP},DatePicker:function(){return is.default},Descriptions:function(){return Qc},Divider:function(){return Di},Drawer:function(){return Jc.Z},Dropdown:function(){return Vs.Z},Empty:function(){return qc.Z},FloatButton:function(){return vu},Form:function(){return mu.Z},Grid:function(){return gu},Image:function(){return Zl.Z},Input:function(){return Ki.Z},InputNumber:function(){return lo.Z},Layout:function(){return rc.Z},List:function(){return $u},Mentions:function(){return $n},Menu:function(){return Un.Z},Modal:function(){return mr.Z},Pagination:function(){return vs.Z},Popconfirm:function(){return Xa},Popover:function(){return So.Z},Progress:function(){return Va.Z},QRCode:function(){return ff},Radio:function(){return vf.ZP},Rate:function(){return mf.Z},Result:function(){return gf.ZP},Row:function(){return pf.Z},Segmented:function(){return hf.Z},Select:function(){return on.default},Skeleton:function(){return zi.Z},Slider:function(){return bf.Z},Space:function(){return yf.Z},Spin:function(){return zl.Z},Statistic:function(){return Mf},Steps:function(){return qf},Switch:function(){return _f.Z},Table:function(){return ev.Z},Tabs:function(){return he.Z},Tag:function(){return fv},TimePicker:function(){return mv.Z},Timeline:function(){return gv.Z},Tooltip:function(){return Il.Z},Tour:function(){return zv},Transfer:function(){return dm},Tree:function(){return fm.Z},TreeSelect:function(){return vm.Z},Typography:function(){return rg},Upload:function(){return og.Z},Watermark:function(){return hg},message:function(){return Hn.ZP},notification:function(){return qr.Z},theme:function(){return vv.Z},version:function(){return ag.Z}});var s=i(30291),n=i(67294),b=i(76278),x=i(17012),O=i(62208),E=i(26702),M=i(1558),T=i(94184),$=i.n(T),H=i(82225),oe=i(64217),w=i(96159),Y=i(53124),de=i(14747),_=i(67968);const re=(e,t,a,l,o)=>({backgroundColor:e,border:`${l.lineWidth}px ${l.lineType} ${t}`,[`${o}-icon`]:{color:a}}),Ke=e=>{const{componentCls:t,motionDurationSlow:a,marginXS:l,marginSM:o,fontSize:v,fontSizeLG:f,lineHeight:p,borderRadiusLG:m,motionEaseInOutCirc:g,withDescriptionIconSize:h,colorText:y,colorTextHeading:I,withDescriptionPadding:L,defaultPadding:N}=e;return{[t]:Object.assign(Object.assign({},(0,de.Wf)(e)),{position:"relative",display:"flex",alignItems:"center",padding:N,wordWrap:"break-word",borderRadius:m,[`&${t}-rtl`]:{direction:"rtl"},[`${t}-content`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:l,lineHeight:0},["&-description"]:{display:"none",fontSize:v,lineHeight:p},"&-message":{color:I},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${a} ${g}, opacity ${a} ${g}, + padding-top ${a} ${g}, padding-bottom ${a} ${g}, + margin-bottom ${a} ${g}`},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${t}-with-description`]:{alignItems:"flex-start",padding:L,[`${t}-icon`]:{marginInlineEnd:o,fontSize:h,lineHeight:0},[`${t}-message`]:{display:"block",marginBottom:l,color:I,fontSize:f},[`${t}-description`]:{display:"block",color:y}},[`${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},Ce=e=>{const{componentCls:t,colorSuccess:a,colorSuccessBorder:l,colorSuccessBg:o,colorWarning:v,colorWarningBorder:f,colorWarningBg:p,colorError:m,colorErrorBorder:g,colorErrorBg:h,colorInfo:y,colorInfoBorder:I,colorInfoBg:L}=e;return{[t]:{"&-success":re(o,l,a,e,t),"&-info":re(L,I,y,e,t),"&-warning":re(p,f,v,e,t),"&-error":Object.assign(Object.assign({},re(h,g,m,e,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},lt=e=>{const{componentCls:t,iconCls:a,motionDurationMid:l,marginXS:o,fontSizeIcon:v,colorIcon:f,colorIconHover:p}=e;return{[t]:{["&-action"]:{marginInlineStart:o},[`${t}-close-icon`]:{marginInlineStart:o,padding:0,overflow:"hidden",fontSize:v,lineHeight:`${v}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${a}-close`]:{color:f,transition:`color ${l}`,"&:hover":{color:p}}},"&-close-text":{color:f,transition:`color ${l}`,"&:hover":{color:p}}}}},ut=e=>[Ke(e),Ce(e),lt(e)];var at=(0,_.Z)("Alert",e=>[ut(e)],e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`})),Yn=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{const{icon:t,prefixCls:a,type:l}=e,o=dn[l]||null;return t?(0,w.wm)(t,n.createElement("span",{className:`${a}-icon`},t),()=>({className:$()(`${a}-icon`,{[t.props.className]:t.props.className})})):n.createElement(o,{className:`${a}-icon`})},be=e=>{const{isClosable:t,prefixCls:a,closeIcon:l,handleClose:o}=e,v=l===!0||l===void 0?n.createElement(O.Z,null):l;return t?n.createElement("button",{type:"button",onClick:o,className:`${a}-close-icon`,tabIndex:0},v):null};var bt=e=>{const{description:t,prefixCls:a,message:l,banner:o,className:v,rootClassName:f,style:p,onMouseEnter:m,onMouseLeave:g,onClick:h,afterClose:y,showIcon:I,closable:L,closeText:N,closeIcon:j,action:z}=e,ie=Yn(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),[J,X]=n.useState(!1),ce=n.useRef(null),{getPrefixCls:ve,direction:ye,alert:we}=n.useContext(Y.E_),Ee=ve("alert",a),[$e,Qe]=at(Ee),mn=It=>{var or;X(!0),(or=e.onClose)===null||or===void 0||or.call(e,It)},St=n.useMemo(()=>e.type!==void 0?e.type:o?"warning":"info",[e.type,o]),qe=n.useMemo(()=>N?!0:typeof L=="boolean"?L:j!==!1&&j!==null&&j!==void 0,[N,j,L]),ht=o&&I===void 0?!0:I,jt=$()(Ee,`${Ee}-${St}`,{[`${Ee}-with-description`]:!!t,[`${Ee}-no-icon`]:!ht,[`${Ee}-banner`]:!!o,[`${Ee}-rtl`]:ye==="rtl"},we==null?void 0:we.className,v,f,Qe),gr=(0,oe.Z)(ie,{aria:!0,data:!0});return $e(n.createElement(H.ZP,{visible:!J,motionName:`${Ee}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:It=>({maxHeight:It.offsetHeight}),onLeaveEnd:y},It=>{let{className:or,style:vo}=It;return n.createElement("div",Object.assign({ref:ce,"data-show":!J,className:$()(jt,or),style:Object.assign(Object.assign(Object.assign({},we==null?void 0:we.style),p),vo),onMouseEnter:m,onMouseLeave:g,onClick:h,role:"alert"},gr),ht?n.createElement(qt,{description:t,icon:e.icon,prefixCls:Ee,type:St}):null,n.createElement("div",{className:`${Ee}-content`},l?n.createElement("div",{className:`${Ee}-message`},l):null,t?n.createElement("div",{className:`${Ee}-description`},t):null),z?n.createElement("div",{className:`${Ee}-action`},z):null,n.createElement(be,{isClosable:qe,prefixCls:Ee,closeIcon:N||j,handleClose:mn}))}))},te=i(15671),Te=i(43144),_e=i(32531),Pe=i(73568),ct=function(e){(0,_e.Z)(a,e);var t=(0,Pe.Z)(a);function a(){var l;return(0,te.Z)(this,a),l=t.apply(this,arguments),l.state={error:void 0,info:{componentStack:""}},l}return(0,Te.Z)(a,[{key:"componentDidCatch",value:function(o,v){this.setState({error:o,info:v})}},{key:"render",value:function(){const{message:o,description:v,children:f}=this.props,{error:p,info:m}=this.state,g=m&&m.componentStack?m.componentStack:null,h=typeof o=="undefined"?(p||"").toString():o,y=typeof v=="undefined"?g:v;return p?n.createElement(bt,{type:"error",message:h,description:n.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},y)}):f}}]),a}(n.Component);const yt=bt;yt.ErrorBoundary=ct;var fn=yt,Nt=i(74902),Se=i(56790),D=i(17423),se=i(66367),Be=i(58375),rt=n.createContext(void 0),Ln=e=>{const{href:t,title:a,prefixCls:l,children:o,className:v,target:f,replace:p}=e,m=n.useContext(rt),{registerLink:g,unregisterLink:h,scrollTo:y,onClick:I,activeLink:L,direction:N}=m||{};n.useEffect(()=>(g==null||g(t),()=>{h==null||h(t)}),[t]);const j=ve=>{p&&(ve.preventDefault(),window.location.replace(t)),I==null||I(ve,{title:a,href:t}),y==null||y(t)},{getPrefixCls:z}=n.useContext(Y.E_),ie=z("anchor",l),J=L===t,X=$()(`${ie}-link`,v,{[`${ie}-link-active`]:J}),ce=$()(`${ie}-link-title`,{[`${ie}-link-title-active`]:J});return n.createElement("div",{className:X},n.createElement("a",{className:ce,href:t,title:typeof a=="string"?a:"",target:f,onClick:j},a),N!=="horizontal"?o:null)},Nn=i(45503);const pt=e=>{const{componentCls:t,holderOffsetBlock:a,motionDurationSlow:l,lineWidthBold:o,colorPrimary:v,lineType:f,colorSplit:p}=e;return{[`${t}-wrapper`]:{marginBlockStart:-a,paddingBlockStart:a,[t]:Object.assign(Object.assign({},(0,de.Wf)(e)),{position:"relative",paddingInlineStart:o,[`${t}-link`]:{paddingBlock:e.linkPaddingBlock,paddingInline:`${e.linkPaddingInlineStart}px 0`,"&-title":Object.assign(Object.assign({},de.vS),{position:"relative",display:"block",marginBlockEnd:e.anchorTitleBlock,color:e.colorText,transition:`all ${e.motionDurationSlow}`,"&:only-child":{marginBlockEnd:0}}),[`&-active > ${t}-link-title`]:{color:e.colorPrimary},[`${t}-link`]:{paddingBlock:e.anchorPaddingBlockSecondary}}}),[`&:not(${t}-wrapper-horizontal)`]:{[t]:{"&::before":{position:"absolute",insetInlineStart:0,top:0,height:"100%",borderInlineStart:`${o}px ${f} ${p}`,content:'" "'},[`${t}-ink`]:{position:"absolute",insetInlineStart:0,display:"none",transform:"translateY(-50%)",transition:`top ${l} ease-in-out`,width:o,backgroundColor:v,[`&${t}-ink-visible`]:{display:"inline-block"}}}},[`${t}-fixed ${t}-ink ${t}-ink`]:{display:"none"}}}},yn=e=>{const{componentCls:t,motionDurationSlow:a,lineWidthBold:l,colorPrimary:o}=e;return{[`${t}-wrapper-horizontal`]:{position:"relative","&::before":{position:"absolute",left:{_skip_check_:!0,value:0},right:{_skip_check_:!0,value:0},bottom:0,borderBottom:`1px ${e.lineType} ${e.colorSplit}`,content:'" "'},[t]:{overflowX:"scroll",position:"relative",display:"flex",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},[`${t}-link:first-of-type`]:{paddingInline:0},[`${t}-ink`]:{position:"absolute",bottom:0,transition:`left ${a} ease-in-out, width ${a} ease-in-out`,height:l,backgroundColor:o}}}}};var Wn=(0,_.Z)("Anchor",e=>{const{fontSize:t,fontSizeLG:a,paddingXXS:l}=e,o=(0,Nn.TS)(e,{holderOffsetBlock:l,anchorPaddingBlockSecondary:l/2,anchorTitleBlock:t/14*3,anchorBallSize:a/2});return[pt(o),yn(o)]},e=>({linkPaddingBlock:e.paddingXXS,linkPaddingInlineStart:e.padding}));function Fn(){return window}function Gn(e,t){if(!e.getClientRects().length)return 0;const a=e.getBoundingClientRect();return a.width||a.height?t===window?(t=e.ownerDocument.documentElement,a.top-t.clientTop):a.top-t.getBoundingClientRect().top:a.top}const er=/#([\S ]+)$/,Sn=e=>{var t;const{rootClassName:a,anchorPrefixCls:l,className:o,style:v,offsetTop:f,affix:p=!0,showInkInFixed:m=!1,children:g,items:h,direction:y="vertical",bounds:I,targetOffset:L,onClick:N,onChange:j,getContainer:z,getCurrentAnchor:ie,replace:J}=e,[X,ce]=n.useState([]),[ve,ye]=n.useState(null),we=n.useRef(ve),Ee=n.useRef(null),$e=n.useRef(null),Qe=n.useRef(!1),{direction:mn,getTargetContainer:St,anchor:qe}=n.useContext(Y.E_),ht=(t=z!=null?z:St)!==null&&t!==void 0?t:Fn,jt=JSON.stringify(X),gr=(0,Se.zX)(cn=>{X.includes(cn)||ce(pr=>[].concat((0,Nt.Z)(pr),[cn]))}),It=(0,Se.zX)(cn=>{X.includes(cn)&&ce(pr=>pr.filter(xa=>xa!==cn))}),or=()=>{var cn;const pr=(cn=Ee.current)===null||cn===void 0?void 0:cn.querySelector(`.${l}-link-title-active`);if(pr&&$e.current){const{style:xa}=$e.current,Xn=y==="horizontal";xa.top=Xn?"":`${pr.offsetTop+pr.clientHeight/2}px`,xa.height=Xn?"":`${pr.clientHeight}px`,xa.left=Xn?`${pr.offsetLeft}px`:"",xa.width=Xn?`${pr.clientWidth}px`:"",Xn&&(0,D.Z)(pr,{scrollMode:"if-needed",block:"nearest"})}},vo=function(cn){let pr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,xa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5;const Xn=[],uo=ht();return cn.forEach(Yo=>{const Zr=er.exec(Yo==null?void 0:Yo.toString());if(!Zr)return;const jr=document.getElementById(Zr[1]);if(jr){const Hr=Gn(jr,uo);Hrjr.top>Zr.top?jr:Zr).link:""},Br=(0,Se.zX)(cn=>{if(we.current===cn)return;const pr=typeof ie=="function"?ie(cn):cn;ye(pr),we.current=pr,j==null||j(cn)}),Pn=n.useCallback(()=>{if(Qe.current)return;const cn=vo(X,L!==void 0?L:f||0,I);Br(cn)},[jt,L,f]),mo=n.useCallback(cn=>{Br(cn);const pr=er.exec(cn);if(!pr)return;const xa=document.getElementById(pr[1]);if(!xa)return;const Xn=ht(),uo=(0,se.Z)(Xn,!0),Yo=Gn(xa,Xn);let Zr=uo+Yo;Zr-=L!==void 0?L:f||0,Qe.current=!0,(0,Be.Z)(Zr,{getContainer:ht,callback(){Qe.current=!1}})},[L,f]),ta=$()(a,`${l}-wrapper`,{[`${l}-wrapper-horizontal`]:y==="horizontal",[`${l}-rtl`]:mn==="rtl"},o,qe==null?void 0:qe.className),Yr=$()(l,{[`${l}-fixed`]:!p&&!m}),eo=$()(`${l}-ink`,{[`${l}-ink-visible`]:ve}),No=Object.assign(Object.assign({maxHeight:f?`calc(100vh - ${f}px)`:"100vh"},qe==null?void 0:qe.style),v),na=cn=>Array.isArray(cn)?cn.map(pr=>n.createElement(Ln,Object.assign({replace:J},pr,{key:pr.key}),y==="vertical"&&na(pr.children))):null,Zo=n.createElement("div",{ref:Ee,className:ta,style:No},n.createElement("div",{className:Yr},n.createElement("span",{className:eo,ref:$e}),"items"in e?na(h):g));n.useEffect(()=>{const cn=ht();return Pn(),cn==null||cn.addEventListener("scroll",Pn),()=>{cn==null||cn.removeEventListener("scroll",Pn)}},[jt]),n.useEffect(()=>{typeof ie=="function"&&Br(ie(we.current||""))},[ie]),n.useEffect(()=>{or()},[y,ie,jt,ve]);const jn=n.useMemo(()=>({registerLink:gr,unregisterLink:It,scrollTo:mo,activeLink:ve,onClick:N,direction:y}),[ve,N,mo,y]);return n.createElement(rt.Provider,{value:jn},p?n.createElement(s.Z,{offsetTop:f,target:ht},Zo):Zo)};var Ft=e=>{const{prefixCls:t,rootClassName:a}=e,{getPrefixCls:l}=n.useContext(Y.E_),o=l("anchor",t),[v,f]=Wn(o);return v(n.createElement(Sn,Object.assign({},e,{rootClassName:$()(f,a),anchorPrefixCls:o})))};const zt=Ft;zt.Link=Ln;var fr=zt,ao=i(16474),k=i(94423),Ne=i(48311);const Fe=n.createContext({});var $t=n.createContext({message:{},notification:{},modal:{}});const rn=e=>{const{componentCls:t,colorText:a,fontSize:l,lineHeight:o,fontFamily:v}=e;return{[t]:{color:a,fontSize:l,lineHeight:o,fontFamily:v}}};var On=(0,_.Z)("App",e=>[rn(e)]);const xt=()=>n.useContext($t),Kt=e=>{const{prefixCls:t,children:a,className:l,rootClassName:o,message:v,notification:f,style:p}=e,{getPrefixCls:m}=(0,n.useContext)(Y.E_),g=m("app",t),[h,y]=On(g),I=$()(y,g,l,o),L=(0,n.useContext)(Fe),N=n.useMemo(()=>({message:Object.assign(Object.assign({},L.message),v),notification:Object.assign(Object.assign({},L.notification),f)}),[v,f,L.message,L.notification]),[j,z]=(0,ao.Z)(N.message),[ie,J]=(0,Ne.Z)(N.notification),[X,ce]=(0,k.Z)(),ve=n.useMemo(()=>({message:j,notification:ie,modal:X}),[j,ie,X]);return h(n.createElement($t.Provider,{value:ve},n.createElement(Fe.Provider,{value:N},n.createElement("div",{className:I,style:p},ce,z,J,a))))};Kt.useApp=xt;var Mr=Kt,Vn=i(50344),Xt=i(98423),Qt=i(8745),on=i(83863);const{Option:Tn}=on.default;function q(e){return e&&e.type&&(e.type.isSelectOption||e.type.isSelectOptGroup)}const ne=(e,t)=>{const{prefixCls:a,className:l,popupClassName:o,dropdownClassName:v,children:f,dataSource:p}=e,m=(0,Vn.Z)(f);let g;m.length===1&&(0,w.l$)(m[0])&&!q(m[0])&&([g]=m);const h=g?()=>g:void 0;let y;m.length&&q(m[0])?y=f:y=p?p.map(N=>{if((0,w.l$)(N))return N;switch(typeof N){case"string":return n.createElement(Tn,{key:N,value:N},N);case"object":{const{value:j}=N;return n.createElement(Tn,{key:j,value:j},N.text)}default:return}}):[];const{getPrefixCls:I}=n.useContext(Y.E_),L=I("select",a);return n.createElement(on.default,Object.assign({ref:t,suffixIcon:null},(0,Xt.Z)(e,["dataSource","dropdownClassName"]),{prefixCls:L,popupClassName:o||v,className:$()(`${L}-auto-complete`,l),mode:on.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:h}),y)},Oe=n.forwardRef(ne),je=(0,Qt.Z)(Oe);Oe.Option=Tn,Oe._InternalPanelDoNotUseOrYouWillBeFired=je;var et=Oe,vn=i(7134),Bt=i(87462),zn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z"}}]},name:"vertical-align-top",theme:"outlined"},lr=zn,Cn=i(93771),Zn=function(t,a){return n.createElement(Cn.Z,(0,Bt.Z)({},t,{ref:a,icon:lr}))},pn=n.forwardRef(Zn),Rn=i(48783);const kn=e=>{const{componentCls:t,backTopFontSize:a,backTopSize:l,zIndexPopup:o}=e;return{[t]:Object.assign(Object.assign({},(0,de.Wf)(e)),{position:"fixed",insetInlineEnd:e.backTopInlineEnd,insetBlockEnd:e.backTopBlockEnd,zIndex:o,width:40,height:40,cursor:"pointer","&:empty":{display:"none"},[`${t}-content`]:{width:l,height:l,overflow:"hidden",color:e.backTopColor,textAlign:"center",backgroundColor:e.backTopBackground,borderRadius:l,transition:`all ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.backTopHoverBackground,transition:`all ${e.motionDurationMid}`}},[`${t}-icon`]:{fontSize:a,lineHeight:`${l}px`}})}},bo=e=>{const{componentCls:t}=e;return{[`@media (max-width: ${e.screenMD}px)`]:{[t]:{insetInlineEnd:e.backTopInlineEndMD}},[`@media (max-width: ${e.screenXS}px)`]:{[t]:{insetInlineEnd:e.backTopInlineEndXS}}}};var To=(0,_.Z)("BackTop",e=>{const{fontSizeHeading3:t,colorTextDescription:a,colorTextLightSolid:l,colorText:o,controlHeightLG:v}=e,f=(0,Nn.TS)(e,{backTopBackground:a,backTopColor:l,backTopHoverBackground:o,backTopFontSize:t,backTopSize:v,backTopBlockEnd:v*1.25,backTopInlineEnd:v*2.5,backTopInlineEndMD:v*1.5,backTopInlineEndXS:v*.5});return[kn(f),bo(f)]},e=>({zIndexPopup:e.zIndexBase+10})),Lo=e=>{const{prefixCls:t,className:a,rootClassName:l,visibilityHeight:o=400,target:v,onClick:f,duration:p=450}=e,[m,g]=n.useState(o===0),h=n.useRef(null),y=()=>h.current&&h.current.ownerDocument?h.current.ownerDocument:window,I=(0,Rn.Z)(we=>{const Ee=(0,se.Z)(we.target,!0);g(Ee>=o)});n.useEffect(()=>{const Ee=(v||y)();return I({target:Ee}),Ee==null||Ee.addEventListener("scroll",I),()=>{I.cancel(),Ee==null||Ee.removeEventListener("scroll",I)}},[v]);const L=we=>{(0,Be.Z)(0,{getContainer:v||y,duration:p}),f==null||f(we)},{getPrefixCls:N,direction:j}=n.useContext(Y.E_),z=N("back-top",t),ie=N(),[J,X]=To(z),ce=$()(X,z,{[`${z}-rtl`]:j==="rtl"},a,l),ve=(0,Xt.Z)(e,["prefixCls","className","rootClassName","children","visibilityHeight","target"]),ye=n.createElement("div",{className:`${z}-content`},n.createElement("div",{className:`${z}-icon`},n.createElement(pn,null)));return J(n.createElement("div",Object.assign({},ve,{className:ce,onClick:L,ref:h}),n.createElement(H.ZP,{visible:m,motionName:`${ie}-fade`},we=>{let{className:Ee}=we;return(0,w.Tm)(e.children||ye,$e=>{let{className:Qe}=$e;return{className:$()(Ee,Qe)}})})))},an=i(40411),kr=i(85673),zr=i(15867),Do=i(63697),G=i(37914),to=i(21770),fo=i(10110),Fo=i(65223),Aa=i(99692),oa=i(16984);const Kr=10,Ar=20;function wr(e){const{fullscreen:t,validRange:a,generateConfig:l,locale:o,prefixCls:v,value:f,onChange:p,divRef:m}=e,g=l.getYear(f||l.getNow());let h=g-Kr,y=h+Ar;a&&(h=l.getYear(a[0]),y=l.getYear(a[1])+1);const I=o&&o.year==="\u5E74"?"\u5E74":"",L=[];for(let N=h;N{let j=l.setYear(f,N);if(a){const[z,ie]=a,J=l.getYear(j),X=l.getMonth(j);J===l.getYear(ie)&&X>l.getMonth(ie)&&(j=l.setMonth(j,l.getMonth(ie))),J===l.getYear(z)&&Xm.current})}function Gr(e){const{prefixCls:t,fullscreen:a,validRange:l,value:o,generateConfig:v,locale:f,onChange:p,divRef:m}=e,g=v.getMonth(o||v.getNow());let h=0,y=11;if(l){const[N,j]=l,z=v.getYear(o);v.getYear(j)===z&&(y=v.getMonth(j)),v.getYear(N)===z&&(h=v.getMonth(N))}const I=f.shortMonths||v.locale.getShortMonths(f.locale),L=[];for(let N=h;N<=y;N+=1)L.push({label:I[N],value:N});return n.createElement(on.default,{size:a?void 0:"small",className:`${t}-month-select`,value:g,options:L,onChange:N=>{p(v.setMonth(o,N))},getPopupContainer:()=>m.current})}function fa(e){const{prefixCls:t,locale:a,mode:l,fullscreen:o,onModeChange:v}=e;return n.createElement(Aa.Z,{onChange:f=>{let{target:{value:p}}=f;v(p)},value:l,size:o?void 0:"small",className:`${t}-mode-switch`},n.createElement(oa.Z,{value:"month"},a.month),n.createElement(oa.Z,{value:"year"},a.year))}function si(e){const{prefixCls:t,fullscreen:a,mode:l,onChange:o,onModeChange:v}=e,f=n.useRef(null),p=(0,n.useContext)(Fo.aM),m=(0,n.useMemo)(()=>Object.assign(Object.assign({},p),{isFormItemInput:!1}),[p]),g=Object.assign(Object.assign({},e),{fullscreen:a,divRef:f});return n.createElement("div",{className:`${t}-header`,ref:f},n.createElement(Fo.aM.Provider,{value:m},n.createElement(wr,Object.assign({},g,{onChange:h=>{o(h,"year")}})),l==="month"&&n.createElement(Gr,Object.assign({},g,{onChange:h=>{o(h,"month")}}))),n.createElement(fa,Object.assign({},g,{onModeChange:v})))}var pi=si,ci=i(74228),Qa=i(14965);const ri=e=>{const{calendarCls:t,componentCls:a,fullBg:l,fullPanelBg:o,itemActiveBg:v}=e;return{[t]:Object.assign(Object.assign(Object.assign({},(0,Qa.kX)(e)),(0,de.Wf)(e)),{background:l,"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",justifyContent:"flex-end",padding:`${e.paddingSM}px 0`,[`${t}-year-select`]:{minWidth:e.yearControlWidth},[`${t}-month-select`]:{minWidth:e.monthControlWidth,marginInlineStart:e.marginXS},[`${t}-mode-switch`]:{marginInlineStart:e.marginXS}}}),[`${t} ${a}-panel`]:{background:o,border:0,borderTop:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,borderRadius:0,[`${a}-month-panel, ${a}-date-panel`]:{width:"auto"},[`${a}-body`]:{padding:`${e.paddingXS}px 0`},[`${a}-content`]:{width:"100%"}},[`${t}-mini`]:{borderRadius:e.borderRadiusLG,[`${t}-header`]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS},[`${a}-panel`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${a}-content`]:{height:e.miniContentHeight,th:{height:"auto",padding:0,lineHeight:`${e.weekHeight}px`}},[`${a}-cell::before`]:{pointerEvents:"none"}},[`${t}${t}-full`]:{[`${a}-panel`]:{display:"block",width:"100%",textAlign:"end",background:l,border:0,[`${a}-body`]:{"th, td":{padding:0},th:{height:"auto",paddingInlineEnd:e.paddingSM,paddingBottom:e.paddingXXS,lineHeight:`${e.weekHeight}px`}}},[`${a}-cell`]:{"&::before":{display:"none"},"&:hover":{[`${t}-date`]:{background:e.controlItemBgHover}},[`${t}-date-today::before`]:{display:"none"},[`&-in-view${a}-cell-selected`]:{[`${t}-date, ${t}-date-today`]:{background:v}},"&-selected, &-selected:hover":{[`${t}-date, ${t}-date-today`]:{[`${t}-date-value`]:{color:e.colorPrimary}}}},[`${t}-date`]:{display:"block",width:"auto",height:"auto",margin:`0 ${e.marginXS/2}px`,padding:`${e.paddingXS/2}px ${e.paddingXS}px 0`,border:0,borderTop:`${e.lineWidthBold}px ${e.lineType} ${e.colorSplit}`,borderRadius:0,transition:`background ${e.motionDurationSlow}`,"&-value":{lineHeight:`${e.dateValueHeight}px`,transition:`color ${e.motionDurationSlow}`},"&-content":{position:"static",width:"auto",height:e.dateContentHeight,overflowY:"auto",color:e.colorText,lineHeight:e.lineHeight,textAlign:"start"},"&-today":{borderColor:e.colorPrimary,[`${t}-date-value`]:{color:e.colorText}}}},[`@media only screen and (max-width: ${e.screenXS}px) `]:{[`${t}`]:{[`${t}-header`]:{display:"block",[`${t}-year-select`]:{width:"50%"},[`${t}-month-select`]:{width:`calc(50% - ${e.paddingXS}px)`},[`${t}-mode-switch`]:{width:"100%",marginTop:e.marginXS,marginInlineStart:0,"> label":{width:"50%",textAlign:"center"}}}}}}};var ha=(0,_.Z)("Calendar",e=>{const t=`${e.componentCls}-calendar`,a=(0,Nn.TS)(e,(0,Qa.vA)(e),(0,Qa.GM)(e),{calendarCls:t,pickerCellInnerCls:`${e.componentCls}-cell-inner`,dateValueHeight:e.controlHeightSM,weekHeight:e.controlHeightSM*.75,dateContentHeight:(e.fontSizeSM*e.lineHeightSM+e.marginXS)*3+e.lineWidth*2});return[ri(a)]},e=>({fullBg:e.colorBgContainer,fullPanelBg:e.colorBgContainer,itemActiveBg:e.controlItemBgActive,yearControlWidth:80,monthControlWidth:70,miniContentHeight:256}));function ei(e){function t(v,f){return v&&f&&e.getYear(v)===e.getYear(f)}function a(v,f){return t(v,f)&&e.getMonth(v)===e.getMonth(f)}function l(v,f){return a(v,f)&&e.getDate(v)===e.getDate(f)}return v=>{const{prefixCls:f,className:p,rootClassName:m,style:g,dateFullCellRender:h,dateCellRender:y,monthFullCellRender:I,monthCellRender:L,cellRender:N,fullCellRender:j,headerRender:z,value:ie,defaultValue:J,disabledDate:X,mode:ce,validRange:ve,fullscreen:ye=!0,onChange:we,onPanelChange:Ee,onSelect:$e}=v,{getPrefixCls:Qe,direction:mn,calendar:St}=n.useContext(Y.E_),qe=Qe("picker",f),ht=`${qe}-calendar`,[jt,gr]=ha(qe),It=e.getNow(),[or,vo]=(0,to.Z)(()=>ie||e.getNow(),{defaultValue:J,value:ie}),[Br,Pn]=(0,to.Z)("month",{value:ce}),mo=n.useMemo(()=>Br==="year"?"month":"date",[Br]),ta=n.useCallback(Xn=>(ve?e.isAfter(ve[0],Xn)||e.isAfter(Xn,ve[1]):!1)||!!(X!=null&&X(Xn)),[X,ve]),Yr=(Xn,uo)=>{Ee==null||Ee(Xn,uo)},eo=Xn=>{vo(Xn),l(Xn,or)||((mo==="date"&&!a(Xn,or)||mo==="month"&&!t(Xn,or))&&Yr(Xn,Br),we==null||we(Xn))},No=Xn=>{Pn(Xn),Yr(or,Xn)},na=(Xn,uo)=>{eo(Xn),$e==null||$e(Xn,{source:uo})},Zo=()=>{const{locale:Xn}=v,uo=Object.assign(Object.assign({},ci.Z),Xn);return uo.lang=Object.assign(Object.assign({},uo.lang),(Xn||{}).lang),uo},jn=n.useCallback((Xn,uo)=>j?j(Xn,uo):h?h(Xn):n.createElement("div",{className:$()(`${qe}-cell-inner`,`${ht}-date`,{[`${ht}-date-today`]:l(It,Xn)})},n.createElement("div",{className:`${ht}-date-value`},String(e.getDate(Xn)).padStart(2,"0")),n.createElement("div",{className:`${ht}-date-content`},N?N(Xn,uo):y&&y(Xn))),[h,y,N,j]),cn=n.useCallback((Xn,uo)=>{if(j)return j(Xn,uo);if(I)return I(Xn);const Yo=uo.locale.shortMonths||e.locale.getShortMonths(uo.locale.locale);return n.createElement("div",{className:$()(`${qe}-cell-inner`,`${ht}-date`,{[`${ht}-date-today`]:a(It,Xn)})},n.createElement("div",{className:`${ht}-date-value`},Yo[e.getMonth(Xn)]),n.createElement("div",{className:`${ht}-date-content`},N?N(Xn,uo):L&&L(Xn)))},[I,L,N,j]),[pr]=(0,fo.Z)("Calendar",Zo),xa=(Xn,uo)=>{if(uo.type==="date")return jn(Xn,uo);if(uo.type==="month")return cn(Xn,Object.assign(Object.assign({},uo),{locale:pr==null?void 0:pr.lang}))};return jt(n.createElement("div",{className:$()(ht,{[`${ht}-full`]:ye,[`${ht}-mini`]:!ye,[`${ht}-rtl`]:mn==="rtl"},St==null?void 0:St.className,p,m,gr),style:Object.assign(Object.assign({},St==null?void 0:St.style),g)},z?z({value:or,type:Br,onChange:Xn=>{na(Xn,"customize")},onTypeChange:No}):n.createElement(pi,{prefixCls:ht,value:or,generateConfig:e,mode:Br,fullscreen:ye,locale:pr==null?void 0:pr.lang,validRange:ve,onChange:na,onModeChange:No}),n.createElement(G.N4,{value:or,prefixCls:qe,locale:pr==null?void 0:pr.lang,generateConfig:e,cellRender:xa,onSelect:Xn=>{na(Xn,mo)},mode:mo,picker:mo,disabledDate:ta,hideHeader:!0})))}}var Zi=ei;const ki=Zi(Do.Z);ki.generateCalendar=Zi;var zo=ki,ti=i(98675),zi=i(99559),he=i(48096),ue=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{var{prefixCls:t,className:a,hoverable:l=!0}=e,o=ue(e,["prefixCls","className","hoverable"]);const{getPrefixCls:v}=n.useContext(Y.E_),f=v("card",t),p=$()(`${f}-grid`,a,{[`${f}-grid-hoverable`]:l});return n.createElement("div",Object.assign({},o,{className:p}))};const At=e=>{const{antCls:t,componentCls:a,headerHeight:l,cardPaddingBase:o,tabsMarginBottom:v}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:l,marginBottom:-1,padding:`0 ${o}px`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},(0,de.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},de.vS),{[` + > ${a}-typography, + > ${a}-typography-edit-content + `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:v,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`}}})},ln=e=>{const{cardPaddingBase:t,colorBorderSecondary:a,cardShadow:l,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` + ${o}px 0 0 0 ${a}, + 0 ${o}px 0 0 ${a}, + ${o}px ${o}px 0 0 ${a}, + ${o}px 0 0 0 ${a} inset, + 0 ${o}px 0 0 ${a} inset; + `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:l}}},Mn=e=>{const{componentCls:t,iconCls:a,actionsLiMargin:l,cardActionsIconSize:o,colorBorderSecondary:v,actionsBg:f}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:f,borderTop:`${e.lineWidth}px ${e.lineType} ${v}`,display:"flex",borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px `},(0,de.dF)()),{"& > li":{margin:l,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.cardActionsIconSize*2,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${a}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:`${e.fontSize*e.lineHeight}px`,transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${a}`]:{fontSize:o,lineHeight:`${o*e.lineHeight}px`}},"&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${v}`}}})},xn=e=>Object.assign(Object.assign({margin:`-${e.marginXXS}px 0`,display:"flex"},(0,de.dF)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},de.vS),"&-description":{color:e.colorTextDescription}}),Jn=e=>{const{componentCls:t,cardPaddingBase:a,colorFillAlter:l}=e;return{[`${t}-head`]:{padding:`0 ${a}px`,background:l,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${e.padding}px ${a}px`}}},Dn=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},Qr=e=>{const{antCls:t,componentCls:a,cardShadow:l,cardHeadPadding:o,colorBorderSecondary:v,boxShadowTertiary:f,cardPaddingBase:p,extraColor:m}=e;return{[a]:Object.assign(Object.assign({},(0,de.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${a}-bordered)`]:{boxShadow:f},[`${a}-head`]:At(e),[`${a}-extra`]:{marginInlineStart:"auto",color:m,fontWeight:"normal",fontSize:e.fontSize},[`${a}-body`]:Object.assign({padding:p,borderRadius:` 0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},(0,de.dF)()),[`${a}-grid`]:ln(e),[`${a}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`}},[`${a}-actions`]:Mn(e),[`${a}-meta`]:xn(e)}),[`${a}-bordered`]:{border:`${e.lineWidth}px ${e.lineType} ${v}`,[`${a}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${a}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:l}},[`${a}-contain-grid`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0 `,[`${a}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${a}-loading) ${a}-body`]:{marginBlockStart:-e.lineWidth,marginInlineStart:-e.lineWidth,padding:0}},[`${a}-contain-tabs`]:{[`> ${a}-head`]:{[`${a}-head-title, ${a}-extra`]:{paddingTop:o}}},[`${a}-type-inner`]:Jn(e),[`${a}-loading`]:Dn(e),[`${a}-rtl`]:{direction:"rtl"}}},Or=e=>{const{componentCls:t,cardPaddingSM:a,headerHeightSM:l,headerFontSizeSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:l,padding:`0 ${a}px`,fontSize:o,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:a}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{minHeight:l,paddingTop:0,display:"flex",alignItems:"center"}}}}};var Eo=(0,_.Z)("Card",e=>{const t=(0,Nn.TS)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[Qr(t),Or(t)]},e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText})),so=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);on.createElement("li",{style:{width:`${100/e.length}%`},key:`action-${a}`},n.createElement("span",null,t)))}var ko=n.forwardRef((e,t)=>{const{prefixCls:a,className:l,rootClassName:o,style:v,extra:f,headStyle:p={},bodyStyle:m={},title:g,loading:h,bordered:y=!0,size:I,type:L,cover:N,actions:j,tabList:z,children:ie,activeTabKey:J,defaultActiveTabKey:X,tabBarExtraContent:ce,hoverable:ve,tabProps:ye={}}=e,we=so(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),{getPrefixCls:Ee,direction:$e,card:Qe}=n.useContext(Y.E_),mn=jn=>{var cn;(cn=e.onTabChange)===null||cn===void 0||cn.call(e,jn)},St=n.useMemo(()=>{let jn=!1;return n.Children.forEach(ie,cn=>{cn&&cn.type&&cn.type===Ct&&(jn=!0)}),jn},[ie]),qe=Ee("card",a),[ht,jt]=Eo(qe),gr=n.createElement(zi.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},ie),It=J!==void 0,or=Object.assign(Object.assign({},ye),{[It?"activeKey":"defaultActiveKey"]:It?J:X,tabBarExtraContent:ce});let vo;const Br=(0,ti.Z)(I),Pn=!Br||Br==="default"?"large":Br,mo=z?n.createElement(he.Z,Object.assign({size:Pn},or,{className:`${qe}-head-tabs`,onChange:mn,items:z.map(jn=>{var{tab:cn}=jn,pr=so(jn,["tab"]);return Object.assign({label:cn},pr)})})):null;(g||f||mo)&&(vo=n.createElement("div",{className:`${qe}-head`,style:p},n.createElement("div",{className:`${qe}-head-wrapper`},g&&n.createElement("div",{className:`${qe}-head-title`},g),f&&n.createElement("div",{className:`${qe}-extra`},f)),mo));const ta=N?n.createElement("div",{className:`${qe}-cover`},N):null,Yr=n.createElement("div",{className:`${qe}-body`,style:m},h?gr:ie),eo=j&&j.length?n.createElement("ul",{className:`${qe}-actions`},yo(j)):null,No=(0,Xt.Z)(we,["onTabChange"]),na=$()(qe,Qe==null?void 0:Qe.className,{[`${qe}-loading`]:h,[`${qe}-bordered`]:y,[`${qe}-hoverable`]:ve,[`${qe}-contain-grid`]:St,[`${qe}-contain-tabs`]:z&&z.length,[`${qe}-${Br}`]:Br,[`${qe}-type-${L}`]:!!L,[`${qe}-rtl`]:$e==="rtl"},l,o,jt),Zo=Object.assign(Object.assign({},Qe==null?void 0:Qe.style),v);return ht(n.createElement("div",Object.assign({ref:t},No,{className:na,style:Zo}),vo,ta,Yr,eo))}),Go=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,className:a,avatar:l,title:o,description:v}=e,f=Go(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:p}=n.useContext(Y.E_),m=p("card",t),g=$()(`${m}-meta`,a),h=l?n.createElement("div",{className:`${m}-meta-avatar`},l):null,y=o?n.createElement("div",{className:`${m}-meta-title`},o):null,I=v?n.createElement("div",{className:`${m}-meta-description`},v):null,L=y||I?n.createElement("div",{className:`${m}-meta-detail`},y,I):null;return n.createElement("div",Object.assign({},f,{className:g}),h,L)};const Qo=ko;Qo.Grid=Ct,Qo.Meta=ia;var va=Qo,ze=i(1413),tr=i(97326),wt=i(4942),Ho=i(71002),po=i(91),Pa={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0},Ia=Pa,Oa=i(27856);function wa(e,t,a){return Math.max(t,Math.min(e,a))}var hr=function(t){var a=["onTouchStart","onTouchMove","onWheel"];a.includes(t._reactName)||t.preventDefault()},ar=function(t){for(var a=[],l=Lt(t),o=Bn(t),v=l;v0?1:0):0},Oo=function(t){return t.centerMode?Math.floor((t.slidesToShow-1)/2)+1+(parseInt(t.centerPadding)>0?1:0):t.slidesToShow},ka=function(t){return t&&t.offsetWidth||0},Fa=function(t){return t&&t.offsetHeight||0},ca=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l,o,v,f;return l=t.startX-t.curX,o=t.startY-t.curY,v=Math.atan2(o,l),f=Math.round(v*180/Math.PI),f<0&&(f=360-Math.abs(f)),f<=45&&f>=0||f<=360&&f>=315?"left":f>=135&&f<=225?"right":a===!0?f>=35&&f<=135?"up":"down":"vertical"},ja=function(t){var a=!0;return t.infinite||(t.centerMode&&t.currentSlide>=t.slideCount-1||t.slideCount<=t.slidesToShow||t.currentSlide>=t.slideCount-t.slidesToShow)&&(a=!1),a},ya=function(t,a){var l={};return a.forEach(function(o){return l[o]=t[o]}),l},La=function(t){var a=n.Children.count(t.children),l=t.listRef,o=Math.ceil(ka(l)),v=t.trackRef&&t.trackRef.node,f=Math.ceil(ka(v)),p;if(t.vertical)p=o;else{var m=t.centerMode&&parseInt(t.centerPadding)*2;typeof t.centerPadding=="string"&&t.centerPadding.slice(-1)==="%"&&(m*=o/100),p=Math.ceil((o-m)/t.slidesToShow)}var g=l&&Fa(l.querySelector('[data-index="0"]')),h=g*t.slidesToShow,y=t.currentSlide===void 0?t.initialSlide:t.currentSlide;t.rtl&&t.currentSlide===void 0&&(y=a-1-t.initialSlide);var I=t.lazyLoadedList||[],L=ar((0,ze.Z)((0,ze.Z)({},t),{},{currentSlide:y,lazyLoadedList:I}));I=I.concat(L);var N={slideCount:a,slideWidth:p,listWidth:o,trackWidth:f,currentSlide:y,slideHeight:g,listHeight:h,lazyLoadedList:I};return t.autoplaying===null&&t.autoplay&&(N.autoplaying="playing"),N},za=function(t){var a=t.waitForAnimate,l=t.animating,o=t.fade,v=t.infinite,f=t.index,p=t.slideCount,m=t.lazyLoad,g=t.currentSlide,h=t.centerMode,y=t.slidesToScroll,I=t.slidesToShow,L=t.useCSS,N=t.lazyLoadedList;if(a&&l)return{};var j=f,z,ie,J,X={},ce={},ve=v?f:wa(f,0,p-1);if(o){if(!v&&(f<0||f>=p))return{};f<0?j=f+p:f>=p&&(j=f-p),m&&N.indexOf(j)<0&&(N=N.concat(j)),X={animating:!0,currentSlide:j,lazyLoadedList:N,targetSlide:j},ce={animating:!1,targetSlide:j}}else z=j,j<0?(z=j+p,v?p%y!==0&&(z=p-p%y):z=0):!ja(t)&&j>g?j=z=g:h&&j>=p?(j=v?p:p-1,z=v?0:p-1):j>=p&&(z=j-p,v?p%y!==0&&(z=0):z=p-I),!v&&j+I>=p&&(z=p-I),ie=Me((0,ze.Z)((0,ze.Z)({},t),{},{slideIndex:j})),J=Me((0,ze.Z)((0,ze.Z)({},t),{},{slideIndex:z})),v||(ie===J&&(j=z),ie=J),m&&(N=N.concat(ar((0,ze.Z)((0,ze.Z)({},t),{},{currentSlide:j})))),L?(X={animating:!0,currentSlide:z,trackStyle:B((0,ze.Z)((0,ze.Z)({},t),{},{left:ie})),lazyLoadedList:N,targetSlide:ve},ce={animating:!1,currentSlide:z,trackStyle:A((0,ze.Z)((0,ze.Z)({},t),{},{left:J})),swipeLeft:null,targetSlide:ve}):X={currentSlide:z,trackStyle:A((0,ze.Z)((0,ze.Z)({},t),{},{left:J})),lazyLoadedList:N,targetSlide:ve};return{state:X,nextState:ce}},ui=function(t,a){var l,o,v,f,p,m=t.slidesToScroll,g=t.slidesToShow,h=t.slideCount,y=t.currentSlide,I=t.targetSlide,L=t.lazyLoad,N=t.infinite;if(f=h%m!==0,l=f?0:(h-y)%m,a.message==="previous")v=l===0?m:g-l,p=y-v,L&&!N&&(o=y-v,p=o===-1?h-1:o),N||(p=I-m);else if(a.message==="next")v=l===0?m:l,p=y+v,L&&!N&&(p=(y+m)%h+l),N||(p=I+m);else if(a.message==="dots")p=a.index*a.slidesToScroll;else if(a.message==="children"){if(p=a.index,N){var j=S((0,ze.Z)((0,ze.Z)({},t),{},{targetSlide:p}));p>a.currentSlide&&j==="left"?p=p-h:p10)return{scrolling:!0};p&&(J.swipeLength=$e);var Qe=(m?-1:1)*(J.curX>J.startX?1:-1);p&&(Qe=J.curY>J.startY?1:-1);var mn=Math.ceil(j/z),St=ca(a.touchObject,p),qe=J.swipeLength;return ie||(g===0&&(St==="right"||St==="down")||g+1>=mn&&(St==="left"||St==="up")||!ja(a)&&(St==="left"||St==="up"))&&(qe=J.swipeLength*h,y===!1&&I&&(I(St),we.edgeDragged=!0)),!L&&X&&(X(St),we.swiped=!0),v?ye=Ee+qe*(ce/ve)*Qe:m?ye=Ee-qe*Qe:ye=Ee+qe*Qe,p&&(ye=Ee+qe*Qe),we=(0,ze.Z)((0,ze.Z)({},we),{},{touchObject:J,swipeLeft:ye,trackStyle:A((0,ze.Z)((0,ze.Z)({},a),{},{left:ye}))}),Math.abs(J.curX-J.startX)10&&(we.swiping=!0,hr(t)),we}},Ri=function(t,a){var l=a.dragging,o=a.swipe,v=a.touchObject,f=a.listWidth,p=a.touchThreshold,m=a.verticalSwiping,g=a.listHeight,h=a.swipeToSlide,y=a.scrolling,I=a.onSwipe,L=a.targetSlide,N=a.currentSlide,j=a.infinite;if(!l)return o&&hr(t),{};var z=m?g/p:f/p,ie=ca(v,m),J={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(y||!v.swipeLength)return J;if(v.swipeLength>z){hr(t),I&&I(ie);var X,ce,ve=j?N:L;switch(ie){case"left":case"up":ce=ve+Ui(a),X=h?Si(a,ce):ce,J.currentDirection=0;break;case"right":case"down":ce=ve-Ui(a),X=h?Si(a,ce):ce,J.currentDirection=1;break;default:X=ve}J.triggerSlideHandler=X}else{var ye=Me(a);J.trackStyle=B((0,ze.Z)((0,ze.Z)({},a),{},{left:ye}))}return J},al=function(t){for(var a=t.infinite?t.slideCount*2:t.slideCount,l=t.infinite?t.slidesToShow*-1:0,o=t.infinite?t.slidesToShow*-1:0,v=[];ll[l.length-1])a=l[l.length-1];else for(var v in l){if(at.swipeLeft*-1)return l=m,!1}else if(m.offsetLeft-a+ka(m)/2>t.swipeLeft*-1)return l=m,!1;return!0}),!l)return 0;var f=t.rtl===!0?t.slideCount-t.currentSlide:t.currentSlide,p=Math.abs(l.dataset.index-f)||1;return p}else return t.slidesToScroll},ai=function(t,a){return a.reduce(function(l,o){return l&&t.hasOwnProperty(o)},!0)?null:console.error("Keys Missing:",t)},A=function(t){ai(t,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var a,l,o=t.slideCount+2*t.slidesToShow;t.vertical?l=o*t.slideHeight:a=Ye(t)*t.slideWidth;var v={opacity:1,transition:"",WebkitTransition:""};if(t.useTransform){var f=t.vertical?"translate3d(0px, "+t.left+"px, 0px)":"translate3d("+t.left+"px, 0px, 0px)",p=t.vertical?"translate3d(0px, "+t.left+"px, 0px)":"translate3d("+t.left+"px, 0px, 0px)",m=t.vertical?"translateY("+t.left+"px)":"translateX("+t.left+"px)";v=(0,ze.Z)((0,ze.Z)({},v),{},{WebkitTransform:f,transform:p,msTransform:m})}else t.vertical?v.top=t.left:v.left=t.left;return t.fade&&(v={opacity:1}),a&&(v.width=a),l&&(v.height=l),window&&!window.addEventListener&&window.attachEvent&&(t.vertical?v.marginTop=t.left+"px":v.marginLeft=t.left+"px"),v},B=function(t){ai(t,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var a=A(t);return t.useTransform?(a.WebkitTransition="-webkit-transform "+t.speed+"ms "+t.cssEase,a.transition="transform "+t.speed+"ms "+t.cssEase):t.vertical?a.transition="top "+t.speed+"ms "+t.cssEase:a.transition="left "+t.speed+"ms "+t.cssEase,a},Me=function(t){if(t.unslick)return 0;ai(t,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var a=t.slideIndex,l=t.trackRef,o=t.infinite,v=t.centerMode,f=t.slideCount,p=t.slidesToShow,m=t.slidesToScroll,g=t.slideWidth,h=t.listWidth,y=t.variableWidth,I=t.slideHeight,L=t.fade,N=t.vertical,j=0,z,ie,J=0;if(L||t.slideCount===1)return 0;var X=0;if(o?(X=-ge(t),f%m!==0&&a+m>f&&(X=-(a>f?p-(a-f):f%m)),v&&(X+=parseInt(p/2))):(f%m!==0&&a+m>f&&(X=p-f%m),v&&(X=parseInt(p/2))),j=X*g,J=X*I,N?z=a*I*-1+J:z=a*g*-1+j,y===!0){var ce,ve=l&&l.node;if(ce=a+ge(t),ie=ve&&ve.childNodes[ce],z=ie?ie.offsetLeft*-1:0,v===!0){ce=o?a+ge(t):a,ie=ve&&ve.children[ce],z=0;for(var ye=0;yet.currentSlide?t.targetSlide>t.currentSlide+P(t)?"left":"right":t.targetSlide0&&(f+=1),o&&a%2===0&&(f+=1),f}return o?0:a-1},V=function(t){var a=t.slidesToShow,l=t.centerMode,o=t.rtl,v=t.centerPadding;if(l){var f=(a-1)/2+1;return parseInt(v)>0&&(f+=1),!o&&a%2===0&&(f+=1),f}return o?a-1:0},K=function(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)},ae=function(t){var a,l,o,v,f;t.rtl?f=t.slideCount-1-t.index:f=t.index,o=f<0||f>=t.slideCount,t.centerMode?(v=Math.floor(t.slidesToShow/2),l=(f-t.currentSlide)%t.slideCount===0,f>t.currentSlide-v-1&&f<=t.currentSlide+v&&(a=!0)):a=t.currentSlide<=f&&f=t.slideCount?p=t.targetSlide-t.slideCount:p=t.targetSlide;var m=f===p;return{"slick-slide":!0,"slick-active":a,"slick-center":l,"slick-cloned":o,"slick-current":m}},le=function(t){var a={};return(t.variableWidth===void 0||t.variableWidth===!1)&&(a.width=t.slideWidth),t.fade&&(a.position="relative",t.vertical&&t.slideHeight?a.top=-t.index*parseInt(t.slideHeight):a.left=-t.index*parseInt(t.slideWidth),a.opacity=t.currentSlide===t.index?1:0,t.useCSS&&(a.transition="opacity "+t.speed+"ms "+t.cssEase+", visibility "+t.speed+"ms "+t.cssEase)),a},pe=function(t,a){return t.key+"-"+a},fe=function(t){var a,l=[],o=[],v=[],f=n.Children.count(t.children),p=Lt(t),m=Bn(t);return n.Children.forEach(t.children,function(g,h){var y,I={message:"children",index:h,slidesToScroll:t.slidesToScroll,currentSlide:t.currentSlide};!t.lazyLoad||t.lazyLoad&&t.lazyLoadedList.indexOf(h)>=0?y=g:y=n.createElement("div",null);var L=le((0,ze.Z)((0,ze.Z)({},t),{},{index:h})),N=y.props.className||"",j=ae((0,ze.Z)((0,ze.Z)({},t),{},{index:h}));if(l.push(n.cloneElement(y,{key:"original"+pe(y,h),"data-index":h,className:$()(j,N),tabIndex:"-1","aria-hidden":!j["slick-active"],style:(0,ze.Z)((0,ze.Z)({outline:"none"},y.props.style||{}),L),onClick:function(J){y.props&&y.props.onClick&&y.props.onClick(J),t.focusOnSelect&&t.focusOnSelect(I)}})),t.infinite&&t.fade===!1){var z=f-h;z<=ge(t)&&f!==t.slidesToShow&&(a=-z,a>=p&&(y=g),j=ae((0,ze.Z)((0,ze.Z)({},t),{},{index:a})),o.push(n.cloneElement(y,{key:"precloned"+pe(y,a),"data-index":a,tabIndex:"-1",className:$()(j,N),"aria-hidden":!j["slick-active"],style:(0,ze.Z)((0,ze.Z)({},y.props.style||{}),L),onClick:function(J){y.props&&y.props.onClick&&y.props.onClick(J),t.focusOnSelect&&t.focusOnSelect(I)}}))),f!==t.slidesToShow&&(a=f+h,a=ce&&I<=J:I===ce}),ye={message:"dots",index:z,slidesToScroll:g,currentSlide:I},we=this.clickHandler.bind(this,ye);j=j.concat(n.createElement("li",{key:z,className:ve},n.cloneElement(this.props.customPaging(z),{onClick:we})))}return n.cloneElement(this.props.appendDots(j),(0,ze.Z)({className:this.props.dotsClass},N))}}]),a}(n.PureComponent),Ve=function(e){(0,_e.Z)(a,e);var t=(0,Pe.Z)(a);function a(){return(0,te.Z)(this,a),t.apply(this,arguments)}return(0,Te.Z)(a,[{key:"clickHandler",value:function(o,v){v&&v.preventDefault(),this.props.clickHandler(o,v)}},{key:"render",value:function(){var o={"slick-arrow":!0,"slick-prev":!0},v=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(o["slick-disabled"]=!0,v=null);var f={key:"0","data-role":"none",className:$()(o),style:{display:"block"},onClick:v},p={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},m;return this.props.prevArrow?m=n.cloneElement(this.props.prevArrow,(0,ze.Z)((0,ze.Z)({},f),p)):m=n.createElement("button",(0,Bt.Z)({key:"0",type:"button"},f)," ","Previous"),m}}]),a}(n.PureComponent),it=function(e){(0,_e.Z)(a,e);var t=(0,Pe.Z)(a);function a(){return(0,te.Z)(this,a),t.apply(this,arguments)}return(0,Te.Z)(a,[{key:"clickHandler",value:function(o,v){v&&v.preventDefault(),this.props.clickHandler(o,v)}},{key:"render",value:function(){var o={"slick-arrow":!0,"slick-next":!0},v=this.clickHandler.bind(this,{message:"next"});ja(this.props)||(o["slick-disabled"]=!0,v=null);var f={key:"1","data-role":"none",className:$()(o),style:{display:"block"},onClick:v},p={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},m;return this.props.nextArrow?m=n.cloneElement(this.props.nextArrow,(0,ze.Z)((0,ze.Z)({},f),p)):m=n.createElement("button",(0,Bt.Z)({key:"1",type:"button"},f)," ","Next"),m}}]),a}(n.PureComponent),Le=i(91033),st=["animating"],Ge=function(e){(0,_e.Z)(a,e);var t=(0,Pe.Z)(a);function a(l){var o;(0,te.Z)(this,a),o=t.call(this,l),(0,wt.Z)((0,tr.Z)(o),"listRefHandler",function(f){return o.list=f}),(0,wt.Z)((0,tr.Z)(o),"trackRefHandler",function(f){return o.track=f}),(0,wt.Z)((0,tr.Z)(o),"adaptHeight",function(){if(o.props.adaptiveHeight&&o.list){var f=o.list.querySelector('[data-index="'.concat(o.state.currentSlide,'"]'));o.list.style.height=Fa(f)+"px"}}),(0,wt.Z)((0,tr.Z)(o),"componentDidMount",function(){if(o.props.onInit&&o.props.onInit(),o.props.lazyLoad){var f=ar((0,ze.Z)((0,ze.Z)({},o.props),o.state));f.length>0&&(o.setState(function(m){return{lazyLoadedList:m.lazyLoadedList.concat(f)}}),o.props.onLazyLoad&&o.props.onLazyLoad(f))}var p=(0,ze.Z)({listRef:o.list,trackRef:o.track},o.props);o.updateState(p,!0,function(){o.adaptHeight(),o.props.autoplay&&o.autoPlay("playing")}),o.props.lazyLoad==="progressive"&&(o.lazyLoadTimer=setInterval(o.progressiveLazyLoad,1e3)),o.ro=new Le.Z(function(){o.state.animating?(o.onWindowResized(!1),o.callbackTimers.push(setTimeout(function(){return o.onWindowResized()},o.props.speed))):o.onWindowResized()}),o.ro.observe(o.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(m){m.onfocus=o.props.pauseOnFocus?o.onSlideFocus:null,m.onblur=o.props.pauseOnFocus?o.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",o.onWindowResized):window.attachEvent("onresize",o.onWindowResized)}),(0,wt.Z)((0,tr.Z)(o),"componentWillUnmount",function(){o.animationEndCallback&&clearTimeout(o.animationEndCallback),o.lazyLoadTimer&&clearInterval(o.lazyLoadTimer),o.callbackTimers.length&&(o.callbackTimers.forEach(function(f){return clearTimeout(f)}),o.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",o.onWindowResized):window.detachEvent("onresize",o.onWindowResized),o.autoplayTimer&&clearInterval(o.autoplayTimer),o.ro.disconnect()}),(0,wt.Z)((0,tr.Z)(o),"componentDidUpdate",function(f){if(o.checkImagesLoad(),o.props.onReInit&&o.props.onReInit(),o.props.lazyLoad){var p=ar((0,ze.Z)((0,ze.Z)({},o.props),o.state));p.length>0&&(o.setState(function(h){return{lazyLoadedList:h.lazyLoadedList.concat(p)}}),o.props.onLazyLoad&&o.props.onLazyLoad(p))}o.adaptHeight();var m=(0,ze.Z)((0,ze.Z)({listRef:o.list,trackRef:o.track},o.props),o.state),g=o.didPropsChange(f);g&&o.updateState(m,g,function(){o.state.currentSlide>=n.Children.count(o.props.children)&&o.changeSlide({message:"index",index:n.Children.count(o.props.children)-o.props.slidesToShow,currentSlide:o.state.currentSlide}),(f.autoplay!==o.props.autoplay||f.autoplaySpeed!==o.props.autoplaySpeed)&&(!f.autoplay&&o.props.autoplay?o.autoPlay("playing"):o.props.autoplay?o.autoPlay("update"):o.pause("paused"))})}),(0,wt.Z)((0,tr.Z)(o),"onWindowResized",function(f){o.debouncedResize&&o.debouncedResize.cancel(),o.debouncedResize=(0,Oa.D)(50,function(){return o.resizeWindow(f)}),o.debouncedResize()}),(0,wt.Z)((0,tr.Z)(o),"resizeWindow",function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,p=!!(o.track&&o.track.node);if(p){var m=(0,ze.Z)((0,ze.Z)({listRef:o.list,trackRef:o.track},o.props),o.state);o.updateState(m,f,function(){o.props.autoplay?o.autoPlay("update"):o.pause("paused")}),o.setState({animating:!1}),clearTimeout(o.animationEndCallback),delete o.animationEndCallback}}),(0,wt.Z)((0,tr.Z)(o),"updateState",function(f,p,m){var g=La(f);f=(0,ze.Z)((0,ze.Z)((0,ze.Z)({},f),g),{},{slideIndex:g.currentSlide});var h=Me(f);f=(0,ze.Z)((0,ze.Z)({},f),{},{left:h});var y=A(f);(p||n.Children.count(o.props.children)!==n.Children.count(f.children))&&(g.trackStyle=y),o.setState(g,m)}),(0,wt.Z)((0,tr.Z)(o),"ssrInit",function(){if(o.props.variableWidth){var f=0,p=0,m=[],g=ge((0,ze.Z)((0,ze.Z)((0,ze.Z)({},o.props),o.state),{},{slideCount:o.props.children.length})),h=ke((0,ze.Z)((0,ze.Z)((0,ze.Z)({},o.props),o.state),{},{slideCount:o.props.children.length}));o.props.children.forEach(function(we){m.push(we.props.style.width),f+=we.props.style.width});for(var y=0;y=p&&o.onWindowResized()};if(!g.onclick)g.onclick=function(){return g.parentNode.focus()};else{var y=g.onclick;g.onclick=function(I){y(I),g.parentNode.focus()}}g.onload||(o.props.lazyLoad?g.onload=function(){o.adaptHeight(),o.callbackTimers.push(setTimeout(o.onWindowResized,o.props.speed))}:(g.onload=h,g.onerror=function(){h(),o.props.onLazyLoadError&&o.props.onLazyLoadError()}))})}),(0,wt.Z)((0,tr.Z)(o),"progressiveLazyLoad",function(){for(var f=[],p=(0,ze.Z)((0,ze.Z)({},o.props),o.state),m=o.state.currentSlide;m=-ge(p);g--)if(o.state.lazyLoadedList.indexOf(g)<0){f.push(g);break}f.length>0?(o.setState(function(h){return{lazyLoadedList:h.lazyLoadedList.concat(f)}}),o.props.onLazyLoad&&o.props.onLazyLoad(f)):o.lazyLoadTimer&&(clearInterval(o.lazyLoadTimer),delete o.lazyLoadTimer)}),(0,wt.Z)((0,tr.Z)(o),"slideHandler",function(f){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,m=o.props,g=m.asNavFor,h=m.beforeChange,y=m.onLazyLoad,I=m.speed,L=m.afterChange,N=o.state.currentSlide,j=za((0,ze.Z)((0,ze.Z)((0,ze.Z)({index:f},o.props),o.state),{},{trackRef:o.track,useCSS:o.props.useCSS&&!p})),z=j.state,ie=j.nextState;if(z){h&&h(N,z.currentSlide);var J=z.lazyLoadedList.filter(function(X){return o.state.lazyLoadedList.indexOf(X)<0});y&&J.length>0&&y(J),!o.props.waitForAnimate&&o.animationEndCallback&&(clearTimeout(o.animationEndCallback),L&&L(N),delete o.animationEndCallback),o.setState(z,function(){g&&o.asNavForIndex!==f&&(o.asNavForIndex=f,g.innerSlider.slideHandler(f)),ie&&(o.animationEndCallback=setTimeout(function(){var X=ie.animating,ce=(0,po.Z)(ie,st);o.setState(ce,function(){o.callbackTimers.push(setTimeout(function(){return o.setState({animating:X})},10)),L&&L(z.currentSlide),delete o.animationEndCallback})},I))})}}),(0,wt.Z)((0,tr.Z)(o),"changeSlide",function(f){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,m=(0,ze.Z)((0,ze.Z)({},o.props),o.state),g=ui(m,f);if(!(g!==0&&!g)&&(p===!0?o.slideHandler(g,p):o.slideHandler(g),o.props.autoplay&&o.autoPlay("update"),o.props.focusOnSelect)){var h=o.list.querySelectorAll(".slick-current");h[0]&&h[0].focus()}}),(0,wt.Z)((0,tr.Z)(o),"clickHandler",function(f){o.clickable===!1&&(f.stopPropagation(),f.preventDefault()),o.clickable=!0}),(0,wt.Z)((0,tr.Z)(o),"keyHandler",function(f){var p=Za(f,o.props.accessibility,o.props.rtl);p!==""&&o.changeSlide({message:p})}),(0,wt.Z)((0,tr.Z)(o),"selectHandler",function(f){o.changeSlide(f)}),(0,wt.Z)((0,tr.Z)(o),"disableBodyScroll",function(){var f=function(m){m=m||window.event,m.preventDefault&&m.preventDefault(),m.returnValue=!1};window.ontouchmove=f}),(0,wt.Z)((0,tr.Z)(o),"enableBodyScroll",function(){window.ontouchmove=null}),(0,wt.Z)((0,tr.Z)(o),"swipeStart",function(f){o.props.verticalSwiping&&o.disableBodyScroll();var p=Ra(f,o.props.swipe,o.props.draggable);p!==""&&o.setState(p)}),(0,wt.Z)((0,tr.Z)(o),"swipeMove",function(f){var p=oi(f,(0,ze.Z)((0,ze.Z)((0,ze.Z)({},o.props),o.state),{},{trackRef:o.track,listRef:o.list,slideIndex:o.state.currentSlide}));p&&(p.swiping&&(o.clickable=!1),o.setState(p))}),(0,wt.Z)((0,tr.Z)(o),"swipeEnd",function(f){var p=Ri(f,(0,ze.Z)((0,ze.Z)((0,ze.Z)({},o.props),o.state),{},{trackRef:o.track,listRef:o.list,slideIndex:o.state.currentSlide}));if(p){var m=p.triggerSlideHandler;delete p.triggerSlideHandler,o.setState(p),m!==void 0&&(o.slideHandler(m),o.props.verticalSwiping&&o.enableBodyScroll())}}),(0,wt.Z)((0,tr.Z)(o),"touchEnd",function(f){o.swipeEnd(f),o.clickable=!0}),(0,wt.Z)((0,tr.Z)(o),"slickPrev",function(){o.callbackTimers.push(setTimeout(function(){return o.changeSlide({message:"previous"})},0))}),(0,wt.Z)((0,tr.Z)(o),"slickNext",function(){o.callbackTimers.push(setTimeout(function(){return o.changeSlide({message:"next"})},0))}),(0,wt.Z)((0,tr.Z)(o),"slickGoTo",function(f){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(f=Number(f),isNaN(f))return"";o.callbackTimers.push(setTimeout(function(){return o.changeSlide({message:"index",index:f,currentSlide:o.state.currentSlide},p)},0))}),(0,wt.Z)((0,tr.Z)(o),"play",function(){var f;if(o.props.rtl)f=o.state.currentSlide-o.props.slidesToScroll;else if(ja((0,ze.Z)((0,ze.Z)({},o.props),o.state)))f=o.state.currentSlide+o.props.slidesToScroll;else return!1;o.slideHandler(f)}),(0,wt.Z)((0,tr.Z)(o),"autoPlay",function(f){o.autoplayTimer&&clearInterval(o.autoplayTimer);var p=o.state.autoplaying;if(f==="update"){if(p==="hovered"||p==="focused"||p==="paused")return}else if(f==="leave"){if(p==="paused"||p==="focused")return}else if(f==="blur"&&(p==="paused"||p==="hovered"))return;o.autoplayTimer=setInterval(o.play,o.props.autoplaySpeed+50),o.setState({autoplaying:"playing"})}),(0,wt.Z)((0,tr.Z)(o),"pause",function(f){o.autoplayTimer&&(clearInterval(o.autoplayTimer),o.autoplayTimer=null);var p=o.state.autoplaying;f==="paused"?o.setState({autoplaying:"paused"}):f==="focused"?(p==="hovered"||p==="playing")&&o.setState({autoplaying:"focused"}):p==="playing"&&o.setState({autoplaying:"hovered"})}),(0,wt.Z)((0,tr.Z)(o),"onDotsOver",function(){return o.props.autoplay&&o.pause("hovered")}),(0,wt.Z)((0,tr.Z)(o),"onDotsLeave",function(){return o.props.autoplay&&o.state.autoplaying==="hovered"&&o.autoPlay("leave")}),(0,wt.Z)((0,tr.Z)(o),"onTrackOver",function(){return o.props.autoplay&&o.pause("hovered")}),(0,wt.Z)((0,tr.Z)(o),"onTrackLeave",function(){return o.props.autoplay&&o.state.autoplaying==="hovered"&&o.autoPlay("leave")}),(0,wt.Z)((0,tr.Z)(o),"onSlideFocus",function(){return o.props.autoplay&&o.pause("focused")}),(0,wt.Z)((0,tr.Z)(o),"onSlideBlur",function(){return o.props.autoplay&&o.state.autoplaying==="focused"&&o.autoPlay("blur")}),(0,wt.Z)((0,tr.Z)(o),"render",function(){var f=$()("slick-slider",o.props.className,{"slick-vertical":o.props.vertical,"slick-initialized":!0}),p=(0,ze.Z)((0,ze.Z)({},o.props),o.state),m=ya(p,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),g=o.props.pauseOnHover;m=(0,ze.Z)((0,ze.Z)({},m),{},{onMouseEnter:g?o.onTrackOver:null,onMouseLeave:g?o.onTrackLeave:null,onMouseOver:g?o.onTrackOver:null,focusOnSelect:o.props.focusOnSelect&&o.clickable?o.selectHandler:null});var h;if(o.props.dots===!0&&o.state.slideCount>=o.props.slidesToShow){var y=ya(p,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),I=o.props.pauseOnDotsHover;y=(0,ze.Z)((0,ze.Z)({},y),{},{clickHandler:o.changeSlide,onMouseEnter:I?o.onDotsLeave:null,onMouseOver:I?o.onDotsOver:null,onMouseLeave:I?o.onDotsLeave:null}),h=n.createElement(nt,y)}var L,N,j=ya(p,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);j.clickHandler=o.changeSlide,o.props.arrows&&(L=n.createElement(Ve,j),N=n.createElement(it,j));var z=null;o.props.vertical&&(z={height:o.state.listHeight});var ie=null;o.props.vertical===!1?o.props.centerMode===!0&&(ie={padding:"0px "+o.props.centerPadding}):o.props.centerMode===!0&&(ie={padding:o.props.centerPadding+" 0px"});var J=(0,ze.Z)((0,ze.Z)({},z),ie),X=o.props.touchMove,ce={className:"slick-list",style:J,onClick:o.clickHandler,onMouseDown:X?o.swipeStart:null,onMouseMove:o.state.dragging&&X?o.swipeMove:null,onMouseUp:X?o.swipeEnd:null,onMouseLeave:o.state.dragging&&X?o.swipeEnd:null,onTouchStart:X?o.swipeStart:null,onTouchMove:o.state.dragging&&X?o.swipeMove:null,onTouchEnd:X?o.touchEnd:null,onTouchCancel:o.state.dragging&&X?o.swipeEnd:null,onKeyDown:o.props.accessibility?o.keyHandler:null},ve={className:f,dir:"ltr",style:o.props.style};return o.props.unslick&&(ce={className:"slick-list"},ve={className:f,style:o.props.style}),n.createElement("div",ve,o.props.unslick?"":L,n.createElement("div",(0,Bt.Z)({ref:o.listRefHandler},ce),n.createElement(Ie,(0,Bt.Z)({ref:o.trackRefHandler},m),o.props.children)),o.props.unslick?"":N,o.props.unslick?"":h)}),o.list=null,o.track=null,o.state=(0,ze.Z)((0,ze.Z)({},Ia),{},{currentSlide:o.props.initialSlide,slideCount:n.Children.count(o.props.children)}),o.callbackTimers=[],o.clickable=!0,o.debouncedResize=null;var v=o.ssrInit();return o.state=(0,ze.Z)((0,ze.Z)({},o.state),v),o}return(0,Te.Z)(a,[{key:"didPropsChange",value:function(o){for(var v=!1,f=0,p=Object.keys(this.props);f1&&arguments[1]!==void 0?arguments[1]:!1;return o.innerSlider.slickGoTo(v,f)}),(0,wt.Z)((0,tr.Z)(o),"slickPause",function(){return o.innerSlider.pause("paused")}),(0,wt.Z)((0,tr.Z)(o),"slickPlay",function(){return o.innerSlider.autoPlay("play")}),o.state={breakpoint:null},o._responsiveMediaHandlers=[],o}return(0,Te.Z)(a,[{key:"media",value:function(o,v){var f=window.matchMedia(o),p=function(g){var h=g.matches;h&&v()};f.addListener(p),p(f),this._responsiveMediaHandlers.push({mql:f,query:o,listener:p})}},{key:"componentDidMount",value:function(){var o=this;if(this.props.responsive){var v=this.props.responsive.map(function(p){return p.breakpoint});v.sort(function(p,m){return p-m}),v.forEach(function(p,m){var g;m===0?g=Dt()({minWidth:0,maxWidth:p}):g=Dt()({minWidth:v[m-1]+1,maxWidth:p}),K()&&o.media(g,function(){o.setState({breakpoint:p})})});var f=Dt()({minWidth:v.slice(-1)[0]});K()&&this.media(f,function(){o.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(o){o.mql.removeListener(o.listener)})}},{key:"render",value:function(){var o=this,v,f;this.state.breakpoint?(f=this.props.responsive.filter(function(z){return z.breakpoint===o.state.breakpoint}),v=f[0].settings==="unslick"?"unslick":(0,ze.Z)((0,ze.Z)((0,ze.Z)({},Ht),this.props),f[0].settings)):v=(0,ze.Z)((0,ze.Z)({},Ht),this.props),v.centerMode&&(v.slidesToScroll>1,v.slidesToScroll=1),v.fade&&(v.slidesToShow>1,v.slidesToScroll>1,v.slidesToShow=1,v.slidesToScroll=1);var p=n.Children.toArray(this.props.children);p=p.filter(function(z){return typeof z=="string"?!!z.trim():!!z}),v.variableWidth&&(v.rows>1||v.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),v.variableWidth=!1);for(var m=[],g=null,h=0;h=p.length));N+=1)L.push(n.cloneElement(p[N],{key:100*h+10*I+N,tabIndex:-1,style:{width:"".concat(100/v.slidesPerRow,"%"),display:"inline-block"}}));y.push(n.createElement("div",{key:10*h+I},L))}v.variableWidth?m.push(n.createElement("div",{key:h,style:{width:g}},y)):m.push(n.createElement("div",{key:h},y))}if(v==="unslick"){var j="regular slider "+(this.props.className||"");return n.createElement("div",{className:j},p)}else m.length<=v.slidesToShow&&(v.unslick=!0);return n.createElement(Ge,(0,Bt.Z)({style:this.props.style,ref:this.innerSliderRefHandler},v),m)}}]),a}(n.Component),tn=Rt;const Et=e=>{const{componentCls:t,antCls:a,carouselArrowSize:l,carouselDotOffset:o,marginXXS:v}=e,f=-l*1.25,p=v;return{[t]:Object.assign(Object.assign({},(0,de.Wf)(e)),{".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},"&.dragging":{cursor:"pointer"},".slick-slide":{pointerEvents:"none",[`input${a}-radio-input, input${a}-checkbox-input`]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",[`input${a}-radio-input, input${a}-checkbox-input`]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"},"&.dragging img":{pointerEvents:"none"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"},".slick-arrow.slick-hidden":{display:"none"},".slick-prev, .slick-next":{position:"absolute",top:"50%",display:"block",width:l,height:l,marginTop:-l/2,padding:0,color:"transparent",fontSize:0,lineHeight:0,background:"transparent",border:0,outline:"none",cursor:"pointer","&:hover, &:focus":{color:"transparent",background:"transparent",outline:"none","&::before":{opacity:1}},"&.slick-disabled::before":{opacity:.25}},".slick-prev":{insetInlineStart:f,"&::before":{content:'"\u2190"'}},".slick-next":{insetInlineEnd:f,"&::before":{content:'"\u2192"'}},".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,margin:0,listStyle:"none","&-bottom":{bottom:o},"&-top":{top:o,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:e.dotWidth,height:e.dotHeight,marginInline:p,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:`all ${e.motionDurationSlow}`,button:{position:"relative",display:"block",width:"100%",height:e.dotHeight,padding:0,color:"transparent",fontSize:0,background:e.colorBgContainer,border:0,borderRadius:1,outline:"none",cursor:"pointer",opacity:.3,transition:`all ${e.motionDurationSlow}`,"&: hover, &:focus":{opacity:.75},"&::after":{position:"absolute",inset:-p,content:'""'}},"&.slick-active":{width:e.dotActiveWidth,"& button":{background:e.colorBgContainer,opacity:1},"&: hover, &:focus":{opacity:1}}}}})}},Yt=e=>{const{componentCls:t,carouselDotOffset:a,marginXXS:l}=e,o={width:e.dotHeight,height:e.dotWidth};return{[`${t}-vertical`]:{".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:e.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-left":{insetInlineEnd:"auto",insetInlineStart:a},"&-right":{insetInlineEnd:a,insetInlineStart:"auto"},li:Object.assign(Object.assign({},o),{margin:`${l}px 0`,verticalAlign:"baseline",button:o,"&.slick-active":Object.assign(Object.assign({},o),{button:o})})}}}},Gt=e=>{const{componentCls:t}=e;return[{[`${t}-rtl`]:{direction:"rtl",".slick-dots":{[`${t}-rtl&`]:{flexDirection:"row-reverse"}}}},{[`${t}-vertical`]:{".slick-dots":{[`${t}-rtl&`]:{flexDirection:"column"}}}}]};var gt=(0,_.Z)("Carousel",e=>{const{controlHeightLG:t,controlHeightSM:a}=e,l=(0,Nn.TS)(e,{carouselArrowSize:t/2,carouselDotOffset:a/2});return[Et(l),Yt(l),Gt(l)]},()=>({dotWidth:16,dotHeight:3,dotWidthActive:24,dotActiveWidth:24}),{deprecatedTokens:[["dotWidthActive","dotActiveWidth"]]}),Pt=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{const{dots:a=!0,arrows:l=!1,draggable:o=!1,waitForAnimate:v=!1,dotPosition:f="bottom",vertical:p=f==="left"||f==="right",rootClassName:m,className:g,style:h,id:y}=e,I=Pt(e,["dots","arrows","draggable","waitForAnimate","dotPosition","vertical","rootClassName","className","style","id"]),{getPrefixCls:L,direction:N,carousel:j}=n.useContext(Y.E_),z=n.useRef(),ie=function(mn){let St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;z.current.slickGoTo(mn,St)};n.useImperativeHandle(t,()=>({goTo:ie,autoPlay:z.current.innerSlider.autoPlay,innerSlider:z.current.innerSlider,prev:z.current.slickPrev,next:z.current.slickNext}),[z.current]);const J=n.useRef(n.Children.count(e.children));n.useEffect(()=>{J.current!==n.Children.count(e.children)&&(ie(e.initialSlide||0,!1),J.current=n.Children.count(e.children))},[e.children]);const X=Object.assign({vertical:p,className:$()(g,j==null?void 0:j.className),style:Object.assign(Object.assign({},j==null?void 0:j.style),h)},I);X.effect==="fade"&&(X.fade=!0);const ce=L("carousel",X.prefixCls),ve="slick-dots",ye=!!a,we=$()(ve,`${ve}-${f}`,typeof a=="boolean"?!1:a==null?void 0:a.className),[Ee,$e]=gt(ce),Qe=$()(ce,{[`${ce}-rtl`]:N==="rtl",[`${ce}-vertical`]:X.vertical},$e,m);return Ee(n.createElement("div",{className:Qe,id:y},n.createElement(tn,Object.assign({ref:z},X,{dots:ye,dotsClass:we,arrows:l,draggable:o,verticalSwiping:p,waitForAnimate:v}))))}),wn=i(61978),qn=i(84567),nr=i(15746),nn=i(62994),Ae=i(97685),Ut=i(80334),_t=i(15105),Po=n.forwardRef(function(e,t){var a,l=e.prefixCls,o=e.forceRender,v=e.className,f=e.style,p=e.children,m=e.isActive,g=e.role,h=n.useState(m||o),y=(0,Ae.Z)(h,2),I=y[0],L=y[1];return n.useEffect(function(){(o||m)&&L(!0)},[o,m]),I?n.createElement("div",{ref:t,className:$()("".concat(l,"-content"),(a={},(0,wt.Z)(a,"".concat(l,"-content-active"),m),(0,wt.Z)(a,"".concat(l,"-content-inactive"),!m),a),v),style:f,role:g},n.createElement("div",{className:"".concat(l,"-content-box")},p)):null});Po.displayName="PanelContent";var Wt=Po,en=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],$r=n.forwardRef(function(e,t){var a,l,o=e.showArrow,v=o===void 0?!0:o,f=e.headerClass,p=e.isActive,m=e.onItemClick,g=e.forceRender,h=e.className,y=e.prefixCls,I=e.collapsible,L=e.accordion,N=e.panelKey,j=e.extra,z=e.header,ie=e.expandIcon,J=e.openMotion,X=e.destroyInactivePanel,ce=e.children,ve=(0,po.Z)(e,en),ye=I==="disabled",we=I==="header",Ee=I==="icon",$e=j!=null&&typeof j!="boolean",Qe=function(){m==null||m(N)},mn=function(It){(It.key==="Enter"||It.keyCode===_t.Z.ENTER||It.which===_t.Z.ENTER)&&Qe()},St=typeof ie=="function"?ie(e):n.createElement("i",{className:"arrow"});St&&(St=n.createElement("div",{className:"".concat(y,"-expand-icon"),onClick:["header","icon"].includes(I)?Qe:void 0},St));var qe=$()((a={},(0,wt.Z)(a,"".concat(y,"-item"),!0),(0,wt.Z)(a,"".concat(y,"-item-active"),p),(0,wt.Z)(a,"".concat(y,"-item-disabled"),ye),a),h),ht=$()(f,(l={},(0,wt.Z)(l,"".concat(y,"-header"),!0),(0,wt.Z)(l,"".concat(y,"-header-collapsible-only"),we),(0,wt.Z)(l,"".concat(y,"-icon-collapsible-only"),Ee),l)),jt={className:ht,"aria-expanded":p,"aria-disabled":ye,onKeyDown:mn};return!we&&!Ee&&(jt.onClick=Qe,jt.role=L?"tab":"button",jt.tabIndex=ye?-1:0),n.createElement("div",(0,Bt.Z)({},ve,{ref:t,className:qe}),n.createElement("div",jt,v&&St,n.createElement("span",{className:"".concat(y,"-header-text"),onClick:I==="header"?Qe:void 0},z),$e&&n.createElement("div",{className:"".concat(y,"-extra")},j)),n.createElement(H.ZP,(0,Bt.Z)({visible:p,leavedClassName:"".concat(y,"-content-hidden")},J,{forceRender:g,removeOnLeave:X}),function(gr,It){var or=gr.className,vo=gr.style;return n.createElement(Wt,{ref:It,prefixCls:y,className:or,style:vo,isActive:p,forceRender:g,role:L?"tabpanel":void 0},ce)}))}),gn=$r,_n=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],br=function(t,a){var l=a.prefixCls,o=a.accordion,v=a.collapsible,f=a.destroyInactivePanel,p=a.onItemClick,m=a.activeKey,g=a.openMotion,h=a.expandIcon;return t.map(function(y,I){var L=y.children,N=y.label,j=y.key,z=y.collapsible,ie=y.onItemClick,J=y.destroyInactivePanel,X=(0,po.Z)(y,_n),ce=String(j!=null?j:I),ve=z!=null?z:v,ye=J!=null?J:f,we=function(Qe){ve!=="disabled"&&(p(Qe),ie==null||ie(Qe))},Ee=!1;return o?Ee=m[0]===ce:Ee=m.indexOf(ce)>-1,n.createElement(gn,(0,Bt.Z)({},X,{prefixCls:l,key:ce,panelKey:ce,isActive:Ee,accordion:o,openMotion:g,expandIcon:h,header:N,collapsible:ve,onItemClick:we,destroyInactivePanel:ye}),L)})},Vt=function(t,a,l){if(!t)return null;var o=l.prefixCls,v=l.accordion,f=l.collapsible,p=l.destroyInactivePanel,m=l.onItemClick,g=l.activeKey,h=l.openMotion,y=l.expandIcon,I=t.key||String(a),L=t.props,N=L.header,j=L.headerClass,z=L.destroyInactivePanel,ie=L.collapsible,J=L.onItemClick,X=!1;v?X=g[0]===I:X=g.indexOf(I)>-1;var ce=ie!=null?ie:f,ve=function(Ee){ce!=="disabled"&&(m(Ee),J==null||J(Ee))},ye={key:I,panelKey:I,header:N,headerClass:j,isActive:X,prefixCls:o,destroyInactivePanel:z!=null?z:p,openMotion:h,accordion:v,children:t.props.children,onItemClick:ve,expandIcon:y,collapsible:ce};return typeof t.type=="string"?t:(Object.keys(ye).forEach(function(we){typeof ye[we]=="undefined"&&delete ye[we]}),n.cloneElement(t,ye))};function Jt(e,t,a){return Array.isArray(e)?br(e,a):(0,Vn.Z)(t).map(function(l,o){return Vt(l,o,a)})}var bn=Jt;function yr(e){var t=e;if(!Array.isArray(t)){var a=(0,Ho.Z)(t);t=a==="number"||a==="string"?[t]:[]}return t.map(function(l){return String(l)})}var Rr=n.forwardRef(function(e,t){var a=e.prefixCls,l=a===void 0?"rc-collapse":a,o=e.destroyInactivePanel,v=o===void 0?!1:o,f=e.style,p=e.accordion,m=e.className,g=e.children,h=e.collapsible,y=e.openMotion,I=e.expandIcon,L=e.activeKey,N=e.defaultActiveKey,j=e.onChange,z=e.items,ie=$()(l,m),J=(0,to.Z)([],{value:L,onChange:function($e){return j==null?void 0:j($e)},defaultValue:N,postState:yr}),X=(0,Ae.Z)(J,2),ce=X[0],ve=X[1],ye=function($e){return ve(function(){if(p)return ce[0]===$e?[]:[$e];var Qe=ce.indexOf($e),mn=Qe>-1;return mn?ce.filter(function(St){return St!==$e}):[].concat((0,Nt.Z)(ce),[$e])})};(0,Ut.ZP)(!g,"`children` will be removed in next major version. Please use `items` instead.");var we=bn(z,g,{prefixCls:l,accordion:p,openMotion:y,expandIcon:I,collapsible:h,destroyInactivePanel:v,onItemClick:ye,activeKey:ce});return n.createElement("div",{ref:t,className:ie,style:f,role:p?"tablist":void 0},we)}),Sr=Object.assign(Rr,{Panel:gn}),Cr=Sr,vr=Sr.Panel,un=i(33603),Jr=n.forwardRef((e,t)=>{const{getPrefixCls:a}=n.useContext(Y.E_),{prefixCls:l,className:o,showArrow:v=!0}=e,f=a("collapse",l),p=$()({[`${f}-no-arrow`]:!v},o);return n.createElement(Cr.Panel,Object.assign({ref:t},e,{prefixCls:f,className:p}))}),Kn=i(33507);const Nr=e=>{const{componentCls:t,contentBg:a,padding:l,headerBg:o,headerPadding:v,collapseHeaderPaddingSM:f,collapseHeaderPaddingLG:p,collapsePanelBorderRadius:m,lineWidth:g,lineType:h,colorBorder:y,colorText:I,colorTextHeading:L,colorTextDisabled:N,fontSize:j,fontSizeLG:z,lineHeight:ie,marginSM:J,paddingSM:X,paddingLG:ce,paddingXS:ve,motionDurationSlow:ye,fontSizeIcon:we,contentPadding:Ee}=e,$e=`${g}px ${h} ${y}`;return{[t]:Object.assign(Object.assign({},(0,de.Wf)(e)),{backgroundColor:o,border:$e,borderBottom:0,borderRadius:`${m}px`,["&-rtl"]:{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:$e,["&:last-child"]:{[` + &, + & > ${t}-header`]:{borderRadius:`0 0 ${m}px ${m}px`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:v,color:L,lineHeight:ie,cursor:"pointer",transition:`all ${ye}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:j*ie,display:"flex",alignItems:"center",paddingInlineEnd:J},[`${t}-arrow`]:Object.assign(Object.assign({},(0,de.Ro)()),{fontSize:we,svg:{transition:`transform ${ye}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-header-collapsible-only`]:{cursor:"default",[`${t}-header-text`]:{flex:"none",cursor:"pointer"}},[`${t}-icon-collapsible-only`]:{cursor:"default",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:I,backgroundColor:a,borderTop:$e,[`& > ${t}-content-box`]:{padding:Ee},["&-hidden"]:{display:"none"}},["&-small"]:{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:f,paddingInlineStart:ve,[`> ${t}-expand-icon`]:{marginInlineStart:X-ve}},[`> ${t}-content > ${t}-content-box`]:{padding:X}}},["&-large"]:{[`> ${t}-item`]:{fontSize:z,[`> ${t}-header`]:{padding:p,paddingInlineStart:l,[`> ${t}-expand-icon`]:{height:z*ie,marginInlineStart:ce-l}},[`> ${t}-content > ${t}-content-box`]:{padding:ce}}},[`${t}-item:last-child`]:{[`> ${t}-content`]:{borderRadius:`0 0 ${m}px ${m}px`}},[`& ${t}-item-disabled > ${t}-header`]:{[` + &, + & > .arrow + `]:{color:N,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:J}}}}})}},Mo=e=>{const{componentCls:t}=e,a=`> ${t}-item > ${t}-header ${t}-arrow svg`;return{[`${t}-rtl`]:{[a]:{transform:"rotate(180deg)"}}}},Xr=e=>{const{componentCls:t,headerBg:a,paddingXXS:l,colorBorder:o}=e;return{[`${t}-borderless`]:{backgroundColor:a,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${o}`},[` + > ${t}-item:last-child, + > ${t}-item:last-child ${t}-header + `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:l}}}},_o=e=>{const{componentCls:t,paddingSM:a}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:a}}}}}};var Wr=(0,_.Z)("Collapse",e=>{const t=(0,Nn.TS)(e,{collapseHeaderPaddingSM:`${e.paddingXS}px ${e.paddingSM}px`,collapseHeaderPaddingLG:`${e.padding}px ${e.paddingLG}px`,collapsePanelBorderRadius:e.borderRadiusLG});return[Nr(t),Xr(t),_o(t),Mo(t),(0,Kn.Z)(t)]},e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer})),co=Object.assign(n.forwardRef((e,t)=>{const{getPrefixCls:a,direction:l,collapse:o}=n.useContext(Y.E_),{prefixCls:v,className:f,rootClassName:p,style:m,bordered:g=!0,ghost:h,size:y,expandIconPosition:I="start",children:L,expandIcon:N}=e,j=(0,ti.Z)($e=>{var Qe;return(Qe=y!=null?y:$e)!==null&&Qe!==void 0?Qe:"middle"}),z=a("collapse",v),ie=a(),[J,X]=Wr(z),ce=n.useMemo(()=>I==="left"?"start":I==="right"?"end":I,[I]),ve=function(){let $e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Qe=N?N($e):n.createElement(nn.Z,{rotate:$e.isActive?90:void 0});return(0,w.Tm)(Qe,()=>({className:$()(Qe.props.className,`${z}-arrow`)}))},ye=$()(`${z}-icon-position-${ce}`,{[`${z}-borderless`]:!g,[`${z}-rtl`]:l==="rtl",[`${z}-ghost`]:!!h,[`${z}-${j}`]:j!=="middle"},o==null?void 0:o.className,f,p,X),we=Object.assign(Object.assign({},(0,un.Z)(ie)),{motionAppear:!1,leavedClassName:`${z}-content-hidden`}),Ee=n.useMemo(()=>L?(0,Vn.Z)(L).map(($e,Qe)=>{var mn,St;if(!((mn=$e.props)===null||mn===void 0)&&mn.disabled){const qe=(St=$e.key)!==null&&St!==void 0?St:String(Qe),{disabled:ht,collapsible:jt}=$e.props,gr=Object.assign(Object.assign({},(0,Xt.Z)($e.props,["disabled"])),{key:qe,collapsible:jt!=null?jt:ht?"disabled":void 0});return(0,w.Tm)($e,gr)}return $e}):null,[L]);return J(n.createElement(Cr,Object.assign({ref:t,openMotion:we},(0,Xt.Z)(e,["rootClassName"]),{expandIcon:ve,prefixCls:z,className:ye,style:Object.assign(Object.assign({},o==null?void 0:o.style),m)}),Ee))}),{Panel:Jr}),jo=co,Ko=i(9708),So=i(55241),Sa=i(29691);const Ma=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:a,colorSplit:l,lineWidth:o,textPaddingInline:v,orientationMargin:f,verticalMarginInline:p}=e;return{[t]:Object.assign(Object.assign({},(0,de.Wf)(e)),{borderBlockStart:`${o}px solid ${l}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:p,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${o}px solid ${l}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.dividerHorizontalWithTextGutterMargin}px 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${l}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${o}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`${f*100}%`},"&::after":{width:`${100-f*100}%`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`${100-f*100}%`},"&::after":{width:`${f*100}%`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:v},"&-dashed":{background:"none",borderColor:l,borderStyle:"dashed",borderWidth:`${o}px 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:a}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:a}}})}};var Ba=(0,_.Z)("Divider",e=>{const t=(0,Nn.TS)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[Ma(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS})),la=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:t,direction:a,divider:l}=n.useContext(Y.E_),{prefixCls:o,type:v="horizontal",orientation:f="center",orientationMargin:p,className:m,rootClassName:g,children:h,dashed:y,plain:I,style:L}=e,N=la(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),j=t("divider",o),[z,ie]=Ba(j),J=f.length>0?`-${f}`:f,X=!!h,ce=f==="left"&&p!=null,ve=f==="right"&&p!=null,ye=$()(j,l==null?void 0:l.className,ie,`${j}-${v}`,{[`${j}-with-text`]:X,[`${j}-with-text${J}`]:X,[`${j}-dashed`]:!!y,[`${j}-plain`]:!!I,[`${j}-rtl`]:a==="rtl",[`${j}-no-default-orientation-margin-left`]:ce,[`${j}-no-default-orientation-margin-right`]:ve},m,g),we=n.useMemo(()=>typeof p=="number"?p:/^\d+$/.test(p)?Number(p):p,[p]),Ee=Object.assign(Object.assign({},ce&&{marginLeft:we}),ve&&{marginRight:we});return z(n.createElement("div",Object.assign({className:ye,style:Object.assign(Object.assign({},l==null?void 0:l.style),L)},N,{role:"separator"}),h&&v!=="vertical"&&n.createElement("span",{className:`${j}-inner-text`,style:Ee},h)))},di=i(10274),Ha=["b"],hi=["v"],fi=function(t){return Math.round(Number(t||0))},Xi=function(t){if(t&&(0,Ho.Z)(t)==="object"&&"h"in t&&"b"in t){var a=t,l=a.b,o=(0,po.Z)(a,Ha);return(0,ze.Z)((0,ze.Z)({},o),{},{v:l})}return typeof t=="string"&&/hsb/.test(t)?t.replace(/hsb/,"hsv"):t},Mi=function(e){(0,_e.Z)(a,e);var t=(0,Pe.Z)(a);function a(l){return(0,te.Z)(this,a),t.call(this,Xi(l))}return(0,Te.Z)(a,[{key:"toHsbString",value:function(){var o=this.toHsb(),v=fi(o.s*100),f=fi(o.b*100),p=fi(o.h),m=o.a,g="hsb(".concat(p,", ").concat(v,"%, ").concat(f,"%)"),h="hsba(".concat(p,", ").concat(v,"%, ").concat(f,"%, ").concat(m.toFixed(m===0?0:2),")");return m===1?g:h}},{key:"toHsb",value:function(){var o=this.toHsv();(0,Ho.Z)(this.originalInput)==="object"&&this.originalInput&&"h"in this.originalInput&&(o=this.originalInput);var v=o,f=v.v,p=(0,po.Z)(v,hi);return(0,ze.Z)((0,ze.Z)({},p),{},{b:o.v})}}]),a}(di.C),Ca="rc-color-picker",vt=function(t){return t instanceof Mi?t:new Mi(t)},ir=vt("#1677ff"),dr=function(t){var a=t.offset,l=t.targetRef,o=t.containerRef,v=t.color,f=t.type,p=o.current.getBoundingClientRect(),m=p.width,g=p.height,h=l.current.getBoundingClientRect(),y=h.width,I=h.height,L=y/2,N=I/2,j=(a.x+L)/m,z=1-(a.y+N)/g,ie=v.toHsb(),J=j,X=(a.x+L)/m*360;if(f)switch(f){case"hue":return vt((0,ze.Z)((0,ze.Z)({},ie),{},{h:X<=0?0:X}));case"alpha":return vt((0,ze.Z)((0,ze.Z)({},ie),{},{a:J<=0?0:J}))}return vt({h:ie.h,s:j<=0?0:j,b:z>=1?1:z,a:ie.a})},sr=function(t,a,l,o){var v=t.current.getBoundingClientRect(),f=v.width,p=v.height,m=a.current.getBoundingClientRect(),g=m.width,h=m.height,y=g/2,I=h/2,L=l.toHsb();if(!(g===0&&h===0||g!==h)){if(o)switch(o){case"hue":return{x:L.h/360*f-y,y:-I/3};case"alpha":return{x:L.a/1*f-y,y:-I/3}}return{x:L.s*f-y,y:(1-L.b)*p-I}}},ea=function(t){var a=t.color,l=t.prefixCls,o=t.className,v=t.style,f=t.onClick,p="".concat(l,"-color-block");return n.createElement("div",{className:$()(p,o),style:v,onClick:f},n.createElement("div",{className:"".concat(p,"-inner"),style:{background:a}}))},$o=ea;function En(e){var t="touches"in e?e.touches[0]:e,a=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,l=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:t.pageX-a,pageY:t.pageY-l}}function Tr(e){var t=e.offset,a=e.targetRef,l=e.containerRef,o=e.direction,v=e.onDragChange,f=e.onDragChangeComplete,p=e.calculate,m=e.color,g=e.disabledDrag,h=(0,n.useState)(t||{x:0,y:0}),y=(0,Ae.Z)(h,2),I=y[0],L=y[1],N=(0,n.useRef)(null),j=(0,n.useRef)(null),z=(0,n.useRef)({flag:!1});(0,n.useEffect)(function(){if(z.current.flag===!1){var ve=p==null?void 0:p(l);ve&&L(ve)}},[m,l]),(0,n.useEffect)(function(){return function(){document.removeEventListener("mousemove",N.current),document.removeEventListener("mouseup",j.current),document.removeEventListener("touchmove",N.current),document.removeEventListener("touchend",j.current),N.current=null,j.current=null}},[]);var ie=function(ye){var we=En(ye),Ee=we.pageX,$e=we.pageY,Qe=l.current.getBoundingClientRect(),mn=Qe.x,St=Qe.y,qe=Qe.width,ht=Qe.height,jt=a.current.getBoundingClientRect(),gr=jt.width,It=jt.height,or=gr/2,vo=It/2,Br=Math.max(0,Math.min(Ee-mn,qe))-or,Pn=Math.max(0,Math.min($e-St,ht))-vo,mo={x:Br,y:o==="x"?I.y:Pn};if(gr===0&&It===0||gr!==It)return!1;L(mo),v==null||v(mo)},J=function(ye){ye.preventDefault(),ie(ye)},X=function(ye){ye.preventDefault(),z.current.flag=!1,document.removeEventListener("mousemove",N.current),document.removeEventListener("mouseup",j.current),document.removeEventListener("touchmove",N.current),document.removeEventListener("touchend",j.current),N.current=null,j.current=null,f==null||f()},ce=function(ye){document.removeEventListener("mousemove",N.current),document.removeEventListener("mouseup",j.current),!g&&(ie(ye),z.current.flag=!0,document.addEventListener("mousemove",J),document.addEventListener("mouseup",X),document.addEventListener("touchmove",J),document.addEventListener("touchend",X),N.current=J,j.current=X)};return[I,ce]}var Er=Tr,cr=function(t){var a=t.size,l=a===void 0?"default":a,o=t.color,v=t.prefixCls;return n.createElement("div",{className:$()("".concat(v,"-handler"),(0,wt.Z)({},"".concat(v,"-handler-sm"),l==="small")),style:{backgroundColor:o}})},qo=cr,Ir=function(t){var a=t.children,l=t.style,o=t.prefixCls;return n.createElement("div",{className:"".concat(o,"-palette"),style:(0,ze.Z)({position:"relative"},l)},a)},Co=Ir,ho=(0,n.forwardRef)(function(e,t){var a=e.children,l=e.offset;return n.createElement("div",{ref:t,style:{position:"absolute",left:l.x,top:l.y,zIndex:1}},a)}),Wo=ho,Uo=function(t){var a=t.color,l=t.onChange,o=t.prefixCls,v=t.onChangeComplete,f=t.disabled,p=(0,n.useRef)(),m=(0,n.useRef)(),g=(0,n.useRef)(a),h=Er({color:a,containerRef:p,targetRef:m,calculate:function(j){return sr(j,m,a)},onDragChange:function(j){var z=dr({offset:j,targetRef:m,containerRef:p,color:a});g.current=z,l(z)},onDragChangeComplete:function(){return v==null?void 0:v(g.current)},disabledDrag:f}),y=(0,Ae.Z)(h,2),I=y[0],L=y[1];return n.createElement("div",{ref:p,className:"".concat(o,"-select"),onMouseDown:L,onTouchStart:L},n.createElement(Co,{prefixCls:o},n.createElement(Wo,{offset:I,ref:m},n.createElement(qo,{color:a.toRgbString(),prefixCls:o})),n.createElement("div",{className:"".concat(o,"-saturation"),style:{backgroundColor:"hsl(".concat(a.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})))},Na=Uo,ma=function(t){var a=t.colors,l=t.children,o=t.direction,v=o===void 0?"to right":o,f=t.type,p=t.prefixCls,m=(0,n.useMemo)(function(){return a.map(function(g,h){var y=vt(g);return f==="alpha"&&h===a.length-1&&y.setAlpha(1),y.toRgbString()}).join(",")},[a,f]);return n.createElement("div",{className:"".concat(p,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(v,", ").concat(m,")")}},l)},Ka=ma,Ga=function(t){var a=t.gradientColors,l=t.direction,o=t.type,v=o===void 0?"hue":o,f=t.color,p=t.value,m=t.onChange,g=t.onChangeComplete,h=t.disabled,y=t.prefixCls,I=(0,n.useRef)(),L=(0,n.useRef)(),N=(0,n.useRef)(f),j=Er({color:f,targetRef:L,containerRef:I,calculate:function(ce){return sr(ce,L,f,v)},onDragChange:function(ce){var ve=dr({offset:ce,targetRef:L,containerRef:I,color:f,type:v});N.current=ve,m(ve)},onDragChangeComplete:function(){g==null||g(N.current,v)},direction:"x",disabledDrag:h}),z=(0,Ae.Z)(j,2),ie=z[0],J=z[1];return n.createElement("div",{ref:I,className:$()("".concat(y,"-slider"),"".concat(y,"-slider-").concat(v)),onMouseDown:J,onTouchStart:J},n.createElement(Co,{prefixCls:y},n.createElement(Wo,{offset:ie,ref:L},n.createElement(qo,{size:"small",color:p,prefixCls:y})),n.createElement(Ka,{colors:a,direction:l,type:v,prefixCls:y})))},bi=Ga;function Ci(e){return e!==void 0}var qi=function(t,a){var l=a.defaultValue,o=a.value,v=(0,n.useState)(function(){var g;return Ci(o)?g=o:Ci(l)?g=l:g=t,vt(g)}),f=(0,Ae.Z)(v,2),p=f[0],m=f[1];return(0,n.useEffect)(function(){o&&m(vt(o))},[o]),[p,m]},$i=qi,Ji=["rgb(255, 0, 0) 0%","rgb(255, 255, 0) 17%","rgb(0, 255, 0) 33%","rgb(0, 255, 255) 50%","rgb(0, 0, 255) 67%","rgb(255, 0, 255) 83%","rgb(255, 0, 0) 100%"],nl=(0,n.forwardRef)(function(e,t){var a=e.value,l=e.defaultValue,o=e.prefixCls,v=o===void 0?Ca:o,f=e.onChange,p=e.onChangeComplete,m=e.className,g=e.style,h=e.panelRender,y=e.disabledAlpha,I=y===void 0?!1:y,L=e.disabled,N=L===void 0?!1:L,j=$i(ir,{value:a,defaultValue:l}),z=(0,Ae.Z)(j,2),ie=z[0],J=z[1],X=(0,n.useMemo)(function(){var Ee=vt(ie.toRgbString());return Ee.setAlpha(1),Ee.toRgbString()},[ie]),ce=$()("".concat(v,"-panel"),m,(0,wt.Z)({},"".concat(v,"-panel-disabled"),N)),ve={prefixCls:v,onChangeComplete:p,disabled:N},ye=function($e,Qe){a||J($e),f==null||f($e,Qe)},we=n.createElement(n.Fragment,null,n.createElement(Na,(0,Bt.Z)({color:ie,onChange:ye},ve)),n.createElement("div",{className:"".concat(v,"-slider-container")},n.createElement("div",{className:$()("".concat(v,"-slider-group"),(0,wt.Z)({},"".concat(v,"-slider-group-disabled-alpha"),I))},n.createElement(bi,(0,Bt.Z)({gradientColors:Ji,color:ie,value:"hsl(".concat(ie.toHsb().h,",100%, 50%)"),onChange:function($e){return ye($e,"hue")}},ve)),!I&&n.createElement(bi,(0,Bt.Z)({type:"alpha",gradientColors:["rgba(255, 0, 4, 0) 0%",X],color:ie,value:ie.toRgbString(),onChange:function($e){return ye($e,"alpha")}},ve))),n.createElement($o,{color:ie.toRgbString(),prefixCls:v})));return n.createElement("div",{className:ce,style:g,ref:t},typeof h=="function"?h(we):we)}),Ai=nl;const ji=n.createContext({}),Sl=n.createContext({}),{Provider:Pl}=ji,{Provider:Al}=Sl,ul=(e,t)=>(e==null?void 0:e.replace(/[^\w/]/gi,"").slice(0,t?8:6))||"",dl=(e,t)=>e?ul(e,t):"";let Cl=function(){function e(t){(0,te.Z)(this,e),this.metaColor=new Mi(t),t||this.metaColor.setAlpha(0)}return(0,Te.Z)(e,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return dl(this.toHexString(),this.metaColor.getAlpha()<1)}},{key:"toHexString",value:function(){return this.metaColor.getAlpha()===1?this.metaColor.toHexString():this.metaColor.toHex8String()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}}]),e}();const fl="ant-color-picker",io=e=>e instanceof Cl?e:new Cl(e),Io=e=>Math.round(Number(e||0)),vi=e=>Io(e.toHsb().a*100),xi=(e,t)=>{const a=e.toHsb();return a.a=t||1,io(a)};var wi=e=>{let{prefixCls:t,value:a,colorCleared:l,onChange:o}=e;const v=()=>{if(a&&!l){const f=a.toHsb();f.a=0;const p=io(f);o==null||o(p)}};return n.createElement("div",{className:`${t}-clear`,onClick:v})},Lr;(function(e){e.hex="hex",e.rgb="rgb",e.hsb="hsb"})(Lr||(Lr={}));var lo=i(73360),Wa=e=>{let{prefixCls:t,min:a=0,max:l=100,value:o,onChange:v,className:f,formatter:p}=e;const m=`${t}-steppers`,[g,h]=(0,n.useState)(o);return(0,n.useEffect)(()=>{Number.isNaN(o)||h(o)},[o]),n.createElement(lo.Z,{className:$()(m,f),min:a,max:l,value:g,formatter:p,size:"small",onChange:y=>{o||h(y||0),v==null||v(y)}})},Ni=e=>{let{prefixCls:t,value:a,onChange:l}=e;const o=`${t}-alpha-input`,[v,f]=(0,n.useState)(io(a||"#000"));(0,n.useEffect)(()=>{a&&f(a)},[a]);const p=m=>{const g=v.toHsb();g.a=(m||0)/100;const h=io(g);a||f(h),l==null||l(h)};return n.createElement(Wa,{value:vi(v),prefixCls:t,formatter:m=>`${m}%`,className:o,onChange:p})},Ki=i(96365);const xl=/(^#[\da-f]{6}$)|(^#[\da-f]{8}$)/i,rl=e=>xl.test(`#${e}`);var il=e=>{let{prefixCls:t,value:a,onChange:l}=e;const o=`${t}-hex-input`,[v,f]=(0,n.useState)(a==null?void 0:a.toHex());(0,n.useEffect)(()=>{const m=a==null?void 0:a.toHex();rl(m)&&a&&f(ul(m))},[a]);const p=m=>{const g=m.target.value;f(ul(g)),rl(ul(g,!0))&&(l==null||l(io(g)))};return n.createElement(Ki.Z,{className:o,value:v,prefix:"#",onChange:p,size:"small"})},Pc=e=>{let{prefixCls:t,value:a,onChange:l}=e;const o=`${t}-hsb-input`,[v,f]=(0,n.useState)(io(a||"#000"));(0,n.useEffect)(()=>{a&&f(a)},[a]);const p=(m,g)=>{const h=v.toHsb();h[g]=g==="h"?m:(m||0)/100;const y=io(h);a||f(y),l==null||l(y)};return n.createElement("div",{className:o},n.createElement(Wa,{max:360,min:0,value:Number(v.toHsb().h),prefixCls:t,className:o,formatter:m=>Io(m||0).toString(),onChange:m=>p(Number(m),"h")}),n.createElement(Wa,{max:100,min:0,value:Number(v.toHsb().s)*100,prefixCls:t,className:o,formatter:m=>`${Io(m||0)}%`,onChange:m=>p(Number(m),"s")}),n.createElement(Wa,{max:100,min:0,value:Number(v.toHsb().b)*100,prefixCls:t,className:o,formatter:m=>`${Io(m||0)}%`,onChange:m=>p(Number(m),"b")}))},kl=e=>{let{prefixCls:t,value:a,onChange:l}=e;const o=`${t}-rgb-input`,[v,f]=(0,n.useState)(io(a||"#000"));(0,n.useEffect)(()=>{a&&f(a)},[a]);const p=(m,g)=>{const h=v.toRgb();h[g]=m||0;const y=io(h);a||f(y),l==null||l(y)};return n.createElement("div",{className:o},n.createElement(Wa,{max:255,min:0,value:Number(v.toRgb().r),prefixCls:t,className:o,onChange:m=>p(Number(m),"r")}),n.createElement(Wa,{max:255,min:0,value:Number(v.toRgb().g),prefixCls:t,className:o,onChange:m=>p(Number(m),"g")}),n.createElement(Wa,{max:255,min:0,value:Number(v.toRgb().b),prefixCls:t,className:o,onChange:m=>p(Number(m),"b")}))};const Oc=[Lr.hex,Lr.hsb,Lr.rgb].map(e=>({value:e,label:e.toLocaleUpperCase()}));var ns=e=>{const{prefixCls:t,format:a,value:l,disabledAlpha:o,onFormatChange:v,onChange:f}=e,[p,m]=(0,to.Z)(Lr.hex,{value:a,onChange:v}),g=`${t}-input`,h=I=>{m(I)},y=(0,n.useMemo)(()=>{const I={value:l,prefixCls:t,onChange:f};switch(p){case Lr.hsb:return n.createElement(Pc,Object.assign({},I));case Lr.rgb:return n.createElement(kl,Object.assign({},I));case Lr.hex:default:return n.createElement(il,Object.assign({},I))}},[p,t,l,f]);return n.createElement("div",{className:`${g}-container`},n.createElement(on.default,{value:p,bordered:!1,getPopupContainer:I=>I,popupMatchSelectWidth:68,placement:"bottomRight",onChange:h,className:`${t}-format-select`,size:"small",options:Oc}),n.createElement("div",{className:g},y),!o&&n.createElement(Ni,{prefixCls:t,value:l,onChange:f}))},$s=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{const e=(0,n.useContext)(ji),{prefixCls:t,colorCleared:a,allowClear:l,value:o,disabledAlpha:v,onChange:f,onClear:p,onChangeComplete:m}=e,g=$s(e,["prefixCls","colorCleared","allowClear","value","disabledAlpha","onChange","onClear","onChangeComplete"]);return n.createElement(n.Fragment,null,l&&n.createElement(wi,Object.assign({prefixCls:t,value:o,colorCleared:a,onChange:h=>{f==null||f(h),p==null||p()}},g)),n.createElement(Ai,{prefixCls:t,value:o==null?void 0:o.toHsb(),disabledAlpha:v,onChange:(h,y)=>f==null?void 0:f(h,y,!0),onChangeComplete:m}),n.createElement(ns,Object.assign({value:o,onChange:f,prefixCls:t,disabledAlpha:v},g)))};const rs=e=>e.map(t=>(t.colors=t.colors.map(io),t)),Ic=(e,t)=>{const{r:a,g:l,b:o,a:v}=e.toRgb(),f=new Mi(e.toRgbString()).onBackground(t).toHsv();return v<=.5?f.v>.5:a*.299+l*.587+o*.114>192};var Zc=e=>{let{prefixCls:t,presets:a,value:l,onChange:o}=e;const[v]=(0,fo.Z)("ColorPicker"),[,f]=(0,Sa.Z)(),[p]=(0,to.Z)(rs(a),{value:rs(a),postState:rs}),m=`${t}-presets`,g=(0,n.useMemo)(()=>p.map(I=>`panel-${I.label}`),[p]),h=I=>{o==null||o(I)},y=p.map(I=>{var L;return{key:`panel-${I.label}`,label:n.createElement("div",{className:`${m}-label`},I==null?void 0:I.label),children:n.createElement("div",{className:`${m}-items`},Array.isArray(I==null?void 0:I.colors)&&((L=I.colors)===null||L===void 0?void 0:L.length)>0?I.colors.map((N,j)=>n.createElement($o,{key:`preset-${j}-${N.toHexString()}`,color:io(N).toRgbString(),prefixCls:t,className:$()(`${m}-color`,{[`${m}-color-checked`]:N.toHexString()===(l==null?void 0:l.toHexString()),[`${m}-color-bright`]:Ic(N,f.colorBgElevated)}),onClick:()=>h(N)})):n.createElement("span",{className:`${m}-empty`},v.presetEmpty))}});return n.createElement("div",{className:m},n.createElement(jo,{defaultActiveKey:g,ghost:!0,items:y}))},Zs=()=>{const{prefixCls:e,value:t,presets:a,onChange:l}=(0,n.useContext)(Sl);return Array.isArray(a)?n.createElement(Zc,{value:t,presets:a,prefixCls:e,onChange:l}):null},Rc=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,presets:a,panelRender:l,color:o,onChange:v,onClear:f}=e,p=Rc(e,["prefixCls","presets","panelRender","color","onChange","onClear"]),m=`${t}-inner-content`,g=Object.assign({prefixCls:t,value:o,onChange:v,onClear:f},p),h=n.useMemo(()=>({prefixCls:t,value:o,presets:a,onChange:v}),[t,o,a,v]),y=n.createElement(n.Fragment,null,n.createElement(Is,null),Array.isArray(a)&&n.createElement(Di,{className:`${m}-divider`}),n.createElement(Zs,null));return n.createElement(Pl,{value:g},n.createElement(Al,{value:h},n.createElement("div",{className:m},typeof l=="function"?l(y,{components:{Picker:Is,Presets:Zs}}):y)))},Ms=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{const{color:a,prefixCls:l,open:o,colorCleared:v,disabled:f,format:p,className:m,showText:g}=e,h=Ms(e,["color","prefixCls","open","colorCleared","disabled","format","className","showText"]),y=`${l}-trigger`,I=(0,n.useMemo)(()=>v?n.createElement(wi,{prefixCls:l}):n.createElement($o,{prefixCls:l,color:a.toRgbString()}),[a,v,l]),L=()=>{const j=a.toHexString().toUpperCase(),z=vi(a);switch(p){case"rgb":return a.toRgbString();case"hsb":return a.toHsbString();case"hex":default:return z<100?`${j.slice(0,7)},${z}%`:j}},N=()=>{if(typeof g=="function")return g(a);if(g)return L()};return n.createElement("div",Object.assign({ref:t,className:$()(y,m,{[`${y}-active`]:o,[`${y}-disabled`]:f})},h),I,g&&n.createElement("div",{className:`${y}-text`},N()))});function Ns(e){return e!==void 0}var Nc=(e,t)=>{const{defaultValue:a,value:l}=t,[o,v]=(0,n.useState)(()=>{let f;return Ns(l)?f=l:Ns(a)?f=a:f=e,io(f||"")});return(0,n.useEffect)(()=>{l&&v(io(l))},[l]),[o,v]};const Ol=(e,t)=>({backgroundImage:`conic-gradient(${t} 0 25%, transparent 0 50%, ${t} 0 75%, transparent 0)`,backgroundSize:`${e} ${e}`});var Ts=(e,t)=>{const{componentCls:a,borderRadiusSM:l,colorPickerInsetShadow:o,lineWidth:v,colorFillSecondary:f}=e;return{[`${a}-color-block`]:Object.assign(Object.assign({position:"relative",borderRadius:l,width:t,height:t,boxShadow:o},Ol("50%",e.colorFillSecondary)),{[`${a}-color-block-inner`]:{width:"100%",height:"100%",border:`${v}px solid ${f}`,borderRadius:"inherit"}})}},Dc=e=>{const{componentCls:t,antCls:a,fontSizeSM:l,lineHeightSM:o,colorPickerAlphaInputWidth:v,marginXXS:f,paddingXXS:p,controlHeightSM:m,marginXS:g,fontSizeIcon:h,paddingXS:y,colorTextPlaceholder:I,colorPickerInputNumberHandleWidth:L,lineWidth:N}=e;return{[`${t}-input-container`]:{display:"flex",[`${t}-steppers${a}-input-number`]:{fontSize:l,lineHeight:o,[`${a}-input-number-input`]:{paddingInlineStart:p,paddingInlineEnd:0},[`${a}-input-number-handler-wrap`]:{width:L}},[`${t}-steppers${t}-alpha-input`]:{flex:`0 0 ${v}px`,marginInlineStart:f},[`${t}-format-select${a}-select`]:{marginInlineEnd:g,width:"auto","&-single":{[`${a}-select-selector`]:{padding:0,border:0},[`${a}-select-arrow`]:{insetInlineEnd:0},[`${a}-select-selection-item`]:{paddingInlineEnd:h+f,fontSize:l,lineHeight:`${m}px`},[`${a}-select-item-option-content`]:{fontSize:l,lineHeight:o},[`${a}-select-dropdown`]:{[`${a}-select-item`]:{minHeight:"auto"}}}},[`${t}-input`]:{gap:f,alignItems:"center",flex:1,width:0,[`${t}-hsb-input,${t}-rgb-input`]:{display:"flex",gap:f,alignItems:"center"},[`${t}-steppers`]:{flex:1},[`${t}-hex-input${a}-input-affix-wrapper`]:{flex:1,padding:`0 ${y}px`,[`${a}-input`]:{fontSize:l,textTransform:"uppercase",lineHeight:`${m-2*N}px`},[`${a}-input-prefix`]:{color:I}}}}}},Ds=e=>{const{componentCls:t,controlHeightLG:a,borderRadiusSM:l,colorPickerInsetShadow:o,marginSM:v,colorBgElevated:f,colorFillSecondary:p,lineWidthBold:m,colorPickerHandlerSize:g,colorPickerHandlerSizeSM:h,colorPickerSliderHeight:y}=e;return{[`${t}-select`]:{[`${t}-palette`]:{minHeight:a*4,overflow:"hidden",borderRadius:l},[`${t}-saturation`]:{position:"absolute",borderRadius:"inherit",boxShadow:o,inset:0},marginBottom:v},[`${t}-handler`]:{width:g,height:g,border:`${m}px solid ${f}`,position:"relative",borderRadius:"50%",cursor:"pointer",boxShadow:`${o}, 0 0 0 1px ${p}`,"&-sm":{width:h,height:h}},[`${t}-slider`]:{borderRadius:y/2,[`${t}-palette`]:{height:y},[`${t}-gradient`]:{borderRadius:y/2,boxShadow:o},"&-alpha":Ol(`${y}px`,e.colorFillSecondary),"&-hue":{marginBottom:v}},[`${t}-slider-container`]:{display:"flex",gap:v,marginBottom:v,[`${t}-slider-group`]:{flex:1,"&-disabled-alpha":{display:"flex",alignItems:"center",[`${t}-slider`]:{flex:1,marginBottom:0}}}}}},As=e=>{const{componentCls:t,antCls:a,colorTextQuaternary:l,paddingXXS:o,colorPickerPresetColorSize:v,fontSizeSM:f,colorText:p,lineHeightSM:m,lineWidth:g,borderRadius:h,colorFill:y,colorWhite:I,marginXXS:L,paddingXS:N}=e;return{[`${t}-presets`]:{[`${a}-collapse-item > ${a}-collapse-header`]:{padding:0,[`${a}-collapse-expand-icon`]:{height:f*m,color:l,paddingInlineEnd:o}},[`${a}-collapse`]:{display:"flex",flexDirection:"column",gap:L},[`${a}-collapse-item > ${a}-collapse-content > ${a}-collapse-content-box`]:{padding:`${N}px 0`},"&-label":{fontSize:f,color:p,lineHeight:m},"&-items":{display:"flex",flexWrap:"wrap",gap:L*1.5,[`${t}-presets-color`]:{position:"relative",cursor:"pointer",width:v,height:v,"&::before":{content:'""',pointerEvents:"none",width:v+4*g,height:v+4*g,position:"absolute",top:-2*g,insetInlineStart:-2*g,borderRadius:h,border:`${g}px solid transparent`,transition:`border-color ${e.motionDurationMid} ${e.motionEaseInBack}`},"&:hover::before":{borderColor:y},"&::after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:v/13*5,height:v/13*8,border:`${e.lineWidthBold}px solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`},[`&${t}-presets-color-checked`]:{"&::after":{opacity:1,borderColor:I,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`transform ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`},[`&${t}-presets-color-bright`]:{"&::after":{borderColor:"rgba(0, 0, 0, 0.45)"}}}}},"&-empty":{fontSize:f,color:l}}}};const os=e=>({boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`,borderInlineEndWidth:e.lineWidth,outline:0}),Ac=e=>{const{componentCls:t}=e;return{"&-rtl":{[`${t}-presets-color`]:{"&::after":{direction:"ltr"}},[`${t}-clear`]:{"&::after":{direction:"ltr"}}}}},js=(e,t,a)=>{const{componentCls:l,borderRadiusSM:o,lineWidth:v,colorSplit:f,red6:p}=e;return{[`${l}-clear`]:Object.assign(Object.assign({width:t,height:t,borderRadius:o,border:`${v}px solid ${f}`,position:"relative",cursor:"pointer",overflow:"hidden"},a),{"&::after":{content:'""',position:"absolute",insetInlineEnd:v,top:0,display:"block",width:40,height:2,transformOrigin:"right",transform:"rotate(-45deg)",backgroundColor:p}})}},jc=e=>{const{componentCls:t,colorError:a,colorWarning:l,colorErrorBorderHover:o,colorWarningBorderHover:v,colorErrorOutline:f,colorWarningOutline:p}=e;return{[`&${t}-status-error`]:{borderColor:a,"&:hover":{borderColor:o},[`&${t}-trigger-active`]:Object.assign({},os((0,Nn.TS)(e,{controlOutline:f})))},[`&${t}-status-warning`]:{borderColor:l,"&:hover":{borderColor:v},[`&${t}-trigger-active`]:Object.assign({},os((0,Nn.TS)(e,{controlOutline:p})))}}},Ls=e=>{const{componentCls:t,controlHeightLG:a,controlHeightSM:l,controlHeight:o,controlHeightXS:v,borderRadius:f,borderRadiusSM:p,borderRadiusXS:m,borderRadiusLG:g,fontSizeLG:h}=e;return{[`&${t}-lg`]:{minWidth:a,height:a,borderRadius:g,[`${t}-color-block, ${t}-clear`]:{width:o,height:o,borderRadius:f},[`${t}-trigger-text`]:{fontSize:h}},[`&${t}-sm`]:{minWidth:l,height:l,borderRadius:p,[`${t}-color-block, ${t}-clear`]:{width:v,height:v,borderRadius:m}}}},Lc=e=>{const{componentCls:t,colorPickerWidth:a,colorPrimary:l,motionDurationMid:o,colorBgElevated:v,colorTextDisabled:f,colorText:p,colorBgContainerDisabled:m,borderRadius:g,marginXS:h,marginSM:y,controlHeight:I,controlHeightSM:L,colorBgTextActive:N,colorPickerPresetColorSize:j,colorPickerPreviewSize:z,lineWidth:ie,colorBorder:J,paddingXXS:X,fontSize:ce}=e;return[{[t]:Object.assign({[`${t}-inner-content`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"flex",flexDirection:"column",width:a,"&-divider":{margin:`${y}px 0 ${h}px`},[`${t}-panel`]:Object.assign({},Ds(e))},Ts(e,z)),Dc(e)),As(e)),js(e,j,{marginInlineStart:"auto",marginBottom:h})),"&-trigger":Object.assign(Object.assign(Object.assign(Object.assign({minWidth:I,height:I,borderRadius:g,border:`${ie}px solid ${J}`,cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",transition:`all ${o}`,background:v,padding:X-ie,[`${t}-trigger-text`]:{marginInlineStart:h,marginInlineEnd:h-(X-ie),fontSize:ce,color:p},"&-active":Object.assign(Object.assign({},os(e)),{borderColor:l}),"&:hover":{borderColor:l},"&-disabled":{color:f,background:m,cursor:"not-allowed","&:hover":{borderColor:N},[`${t}-trigger-text`]:{color:f}}},js(e,L)),Ts(e,L)),jc(e)),Ls(e))},Ac(e))}]};var Fc=(0,_.Z)("ColorPicker",e=>{const{colorTextQuaternary:t,marginSM:a}=e,l=8,o=(0,Nn.TS)(e,{colorPickerWidth:234,colorPickerHandlerSize:16,colorPickerHandlerSizeSM:12,colorPickerAlphaInputWidth:44,colorPickerInputNumberHandleWidth:16,colorPickerPresetColorSize:18,colorPickerInsetShadow:`inset 0 0 1px 0 ${t}`,colorPickerSliderHeight:l,colorPickerPreviewSize:l*2+a});return[Lc(o)]});const as=e=>{const{value:t,defaultValue:a,format:l,defaultFormat:o,allowClear:v=!1,presets:f,children:p,trigger:m="click",open:g,disabled:h,placement:y="bottomLeft",arrow:I=!0,panelRender:L,showText:N,style:j,className:z,size:ie,rootClassName:J,styles:X,disabledAlpha:ce=!1,onFormatChange:ve,onChange:ye,onClear:we,onOpenChange:Ee,onChangeComplete:$e,getPopupContainer:Qe,autoAdjustOverflow:mn=!0,destroyTooltipOnHide:St}=e,{getPrefixCls:qe,direction:ht,colorPicker:jt}=(0,n.useContext)(Y.E_),[,gr]=(0,Sa.Z)(),[It,or]=Nc(gr.colorPrimary,{value:t,defaultValue:a}),[vo,Br]=(0,to.Z)(!1,{value:g,postState:sa=>!h&&sa,onChange:Ee}),[Pn,mo]=(0,to.Z)(l,{value:l,defaultValue:o,onChange:ve}),[ta,Yr]=(0,n.useState)(!1),eo=qe("color-picker",fl),No=(0,n.useMemo)(()=>vi(It)<100,[It]),{status:na}=n.useContext(Fo.aM),Zo=(0,ti.Z)(ie),[jn,cn]=Fc(eo),pr={[`${eo}-rtl`]:ht},xa=$()(J,pr),Xn=$()((0,Ko.Z)(eo,na),{[`${eo}-sm`]:Zo==="small",[`${eo}-lg`]:Zo==="large"},jt==null?void 0:jt.className,xa,z,cn),uo=$()(eo,pr),Yo=(0,n.useRef)(!0),Zr=(sa,Pi,qa)=>{let go=io(sa);(ta||(t===null||!t&&a===null))&&(Yr(!1),vi(It)===0&&Pi!=="alpha"&&(go=xi(go))),ce&&No&&(go=xi(go)),qa?Yo.current=!1:$e==null||$e(go),or(go),ye==null||ye(go,go.toHexString())},jr=()=>{Yr(!0),we==null||we()},Hr=sa=>{Yo.current=!0;let Pi=io(sa);ce&&No&&(Pi=xi(sa)),$e==null||$e(Pi)},ga={open:vo,trigger:m,placement:y,arrow:I,rootClassName:J,getPopupContainer:Qe,autoAdjustOverflow:mn,destroyTooltipOnHide:St},aa={prefixCls:eo,color:It,allowClear:v,colorCleared:ta,disabled:h,disabledAlpha:ce,presets:f,panelRender:L,format:Pn,onFormatChange:mo,onChangeComplete:Hr},Ea=Object.assign(Object.assign({},jt==null?void 0:jt.style),j);return jn(n.createElement(So.Z,Object.assign({style:X==null?void 0:X.popup,overlayInnerStyle:X==null?void 0:X.popupOverlayInner,onOpenChange:sa=>{Yo.current&&!h&&Br(sa)},content:n.createElement(Fo.Ux,{override:!0,status:!0},n.createElement(Rs,Object.assign({},aa,{onChange:Zr,onChangeComplete:Hr,onClear:jr}))),overlayClassName:uo},ga),p||n.createElement(Mc,{open:vo,className:Xn,style:Ea,color:t?io(t):It,prefixCls:eo,disabled:h,colorCleared:ta,showText:N,format:Pn})))},zc=(0,Qt.Z)(as,"color-picker",e=>e,e=>Object.assign(Object.assign({},e),{placement:"bottom",autoAdjustOverflow:!1}));as._InternalPanelDoNotUseOrYouWillBeFired=zc;var Ja=as,Bc=Ja,Hc=i(94740),is=i(80044),jl=i(74443),gl=i(25378),Wc={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},Fs=n.createContext({}),kc=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o(0,Vn.Z)(e).map(t=>Object.assign({},t==null?void 0:t.props));function wl(e,t,a){const l=n.useMemo(()=>t||$l(a),[t,a]);return n.useMemo(()=>l.map(v=>{var{span:f}=v,p=kc(v,["span"]);return Object.assign(Object.assign({},p),{span:typeof f=="number"?f:(0,jl.m9)(e,f)})}),[l,e])}function Fl(e,t,a){let l=e,o=!1;return(a===void 0||a>t)&&(l=Object.assign(Object.assign({},e),{span:t}),o=a!==void 0),[l,o]}function Kc(e,t){const a=[];let l=[],o=t,v=!1;return e.filter(f=>f).forEach((f,p)=>{const m=f==null?void 0:f.span,g=m||1;if(p===e.length-1){const[h,y]=Fl(f,o,m);v=v||y,l.push(h),a.push(l);return}if(g{const[a,l]=(0,n.useMemo)(()=>Kc(t,e),[t,e]);return a},Xc=e=>{let{children:t}=e;return t};function Xl(e){return e!=null}var ls=e=>{const{itemPrefixCls:t,component:a,span:l,className:o,style:v,labelStyle:f,contentStyle:p,bordered:m,label:g,content:h,colon:y}=e,I=a;return m?n.createElement(I,{className:$()({[`${t}-item-label`]:Xl(g),[`${t}-item-content`]:Xl(h)},o),style:v,colSpan:l},Xl(g)&&n.createElement("span",{style:f},g),Xl(h)&&n.createElement("span",{style:p},h)):n.createElement(I,{className:$()(`${t}-item`,o),style:v,colSpan:l},n.createElement("div",{className:`${t}-item-container`},(g||g===0)&&n.createElement("span",{className:$()(`${t}-item-label`,{[`${t}-item-no-colon`]:!y}),style:f},g),(h||h===0)&&n.createElement("span",{className:$()(`${t}-item-content`),style:p},h)))};function ss(e,t,a){let{colon:l,prefixCls:o,bordered:v}=t,{component:f,type:p,showLabel:m,showContent:g,labelStyle:h,contentStyle:y}=a;return e.map((I,L)=>{let{label:N,children:j,prefixCls:z=o,className:ie,style:J,labelStyle:X,contentStyle:ce,span:ve=1,key:ye}=I;return typeof f=="string"?n.createElement(ls,{key:`${p}-${ye||L}`,className:ie,style:J,labelStyle:Object.assign(Object.assign({},h),X),contentStyle:Object.assign(Object.assign({},y),ce),span:ve,colon:l,component:f,itemPrefixCls:z,bordered:v,label:m?N:null,content:g?j:null}):[n.createElement(ls,{key:`label-${ye||L}`,className:ie,style:Object.assign(Object.assign(Object.assign({},h),J),X),span:1,colon:l,component:f[0],itemPrefixCls:z,bordered:v,label:N}),n.createElement(ls,{key:`content-${ye||L}`,className:ie,style:Object.assign(Object.assign(Object.assign({},y),J),ce),span:ve*2-1,component:f[1],itemPrefixCls:z,bordered:v,content:j})]})}var Yc=e=>{const t=n.useContext(Fs),{prefixCls:a,vertical:l,row:o,index:v,bordered:f}=e;return l?n.createElement(n.Fragment,null,n.createElement("tr",{key:`label-${v}`,className:`${a}-row`},ss(o,e,Object.assign({component:"th",type:"label",showLabel:!0},t))),n.createElement("tr",{key:`content-${v}`,className:`${a}-row`},ss(o,e,Object.assign({component:"td",type:"content",showContent:!0},t)))):n.createElement("tr",{key:v,className:`${a}-row`},ss(o,e,Object.assign({component:f?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},t)))};const zs=e=>{const{componentCls:t,labelBg:a}=e;return{[`&${t}-bordered`]:{[`> ${t}-view`]:{border:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"> table":{tableLayout:"auto",borderCollapse:"collapse"},[`${t}-row`]:{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBottom:"none"},[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${e.padding}px ${e.paddingLG}px`,borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`> ${t}-item-label`]:{color:e.colorTextSecondary,backgroundColor:a,"&::after":{display:"none"}}}},[`&${t}-middle`]:{[`${t}-row`]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${e.paddingSM}px ${e.paddingLG}px`}}},[`&${t}-small`]:{[`${t}-row`]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${e.paddingXS}px ${e.padding}px`}}}}}},Gc=e=>{const{componentCls:t,extraColor:a,itemPaddingBottom:l,colonMarginRight:o,colonMarginLeft:v,titleMarginBottom:f}=e;return{[t]:Object.assign(Object.assign(Object.assign({},(0,de.Wf)(e)),zs(e)),{["&-rtl"]:{direction:"rtl"},[`${t}-header`]:{display:"flex",alignItems:"center",marginBottom:f},[`${t}-title`]:Object.assign(Object.assign({},de.vS),{flex:"auto",color:e.colorText,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}),[`${t}-extra`]:{marginInlineStart:"auto",color:a,fontSize:e.fontSize},[`${t}-view`]:{width:"100%",borderRadius:e.borderRadiusLG,table:{width:"100%",tableLayout:"fixed"}},[`${t}-row`]:{"> th, > td":{paddingBottom:l},"&:last-child":{borderBottom:"none"}},[`${t}-item-label`]:{color:e.colorTextTertiary,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${v}px ${o}px`},[`&${t}-item-no-colon::after`]:{content:'""'}},[`${t}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${t}-item-content`]:{display:"table-cell",flex:1,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${t}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${t}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${t}-item-content`]:{display:"inline-flex",alignItems:"baseline"}}},"&-middle":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingXS}}}})}};var Bs=(0,_.Z)("Descriptions",e=>{const t=(0,Nn.TS)(e,{});return[Gc(t)]},e=>({labelBg:e.colorFillAlter,titleMarginBottom:e.fontSizeSM*e.lineHeightSM,itemPaddingBottom:e.padding,colonMarginRight:e.marginXS,colonMarginLeft:e.marginXXS/2,extraColor:e.colorText})),Hs=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,title:a,extra:l,column:o,colon:v=!0,bordered:f,layout:p,children:m,className:g,rootClassName:h,style:y,size:I,labelStyle:L,contentStyle:N,items:j}=e,z=Hs(e,["prefixCls","title","extra","column","colon","bordered","layout","children","className","rootClassName","style","size","labelStyle","contentStyle","items"]),{getPrefixCls:ie,direction:J,descriptions:X}=n.useContext(Y.E_),ce=ie("descriptions",t),ve=(0,gl.Z)(),ye=n.useMemo(()=>{var qe;return typeof o=="number"?o:(qe=(0,jl.m9)(ve,Object.assign(Object.assign({},Wc),o)))!==null&&qe!==void 0?qe:3},[ve,o]),we=wl(ve,j,m),Ee=(0,ti.Z)(I),$e=Uc(ye,we),[Qe,mn]=Bs(ce),St=n.useMemo(()=>({labelStyle:L,contentStyle:N}),[L,N]);return Qe(n.createElement(Fs.Provider,{value:St},n.createElement("div",Object.assign({className:$()(ce,X==null?void 0:X.className,{[`${ce}-${Ee}`]:Ee&&Ee!=="default",[`${ce}-bordered`]:!!f,[`${ce}-rtl`]:J==="rtl"},g,h,mn),style:Object.assign(Object.assign({},X==null?void 0:X.style),y)},z),(a||l)&&n.createElement("div",{className:`${ce}-header`},a&&n.createElement("div",{className:`${ce}-title`},a),l&&n.createElement("div",{className:`${ce}-extra`},l)),n.createElement("div",{className:`${ce}-view`},n.createElement("table",null,n.createElement("tbody",null,$e.map((qe,ht)=>n.createElement(Yc,{key:ht,index:ht,colon:v,prefixCls:ce,vertical:p==="vertical",bordered:f,row:qe}))))))))};Ws.Item=Xc;var Qc=Ws,Jc=i(85265),Vs=i(85418),qc=i(32983),Il=i(83062);const ks=n.createContext(void 0),{Provider:_c}=ks;var Ks=ks,Us={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"},Xs=Us,cs=function(t,a){return n.createElement(Cn.Z,(0,Bt.Z)({},t,{ref:a,icon:Xs}))},Ys=n.forwardRef(cs);const eu=e=>{const{icon:t,description:a,prefixCls:l,className:o}=e,v=n.createElement("div",{className:`${l}-icon`},n.createElement(Ys,null));return n.createElement("div",{onClick:e.onClick,onFocus:e.onFocus,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,className:$()(o,`${l}-content`)},t||a?n.createElement(n.Fragment,null,t&&n.createElement("div",{className:`${l}-icon`},t),a&&n.createElement("div",{className:`${l}-description`},a)):v)};var Gs=(0,n.memo)(eu),us=i(86557),tu=i(16932),nu=i(53038),Qs=e=>e===0?0:e-Math.sqrt(Math.pow(e,2)/2);const ru=e=>{const{componentCls:t,floatButtonSize:a,motionDurationSlow:l,motionEaseInOutCirc:o}=e,v=`${t}-group`,f=new us.E4("antFloatButtonMoveDownIn",{"0%":{transform:`translate3d(0, ${a}px, 0)`,transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),p=new us.E4("antFloatButtonMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:`translate3d(0, ${a}px, 0)`,transformOrigin:"0 0",opacity:0}});return[{[`${v}-wrap`]:Object.assign({},(0,nu.R)(`${v}-wrap`,f,p,l,!0))},{[`${v}-wrap`]:{[` + &${v}-wrap-enter, + &${v}-wrap-appear + `]:{opacity:0,animationTimingFunction:o},[`&${v}-wrap-leave`]:{animationTimingFunction:o}}}]},ou=e=>{const{antCls:t,componentCls:a,floatButtonSize:l,margin:o,borderRadiusLG:v,borderRadiusSM:f,badgeOffset:p,floatButtonBodyPadding:m}=e,g=`${a}-group`;return{[g]:Object.assign(Object.assign({},(0,de.Wf)(e)),{zIndex:99,display:"block",border:"none",position:"fixed",width:l,height:"auto",boxShadow:"none",minHeight:l,insetInlineEnd:e.floatButtonInsetInlineEnd,insetBlockEnd:e.floatButtonInsetBlockEnd,borderRadius:v,[`${g}-wrap`]:{zIndex:-1,display:"block",position:"relative",marginBottom:o},[`&${g}-rtl`]:{direction:"rtl"},[a]:{position:"static"}}),[`${g}-circle`]:{[`${a}-circle:not(:last-child)`]:{marginBottom:e.margin,[`${a}-body`]:{width:l,height:l,borderRadius:"50%"}}},[`${g}-square`]:{[`${a}-square`]:{borderRadius:0,padding:0,"&:first-child":{borderStartStartRadius:v,borderStartEndRadius:v},"&:last-child":{borderEndStartRadius:v,borderEndEndRadius:v},"&:not(:last-child)":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-badge`]:{[`${t}-badge-count`]:{top:-(m+p),insetInlineEnd:-(m+p)}}},[`${g}-wrap`]:{display:"block",borderRadius:v,boxShadow:e.boxShadowSecondary,[`${a}-square`]:{boxShadow:"none",marginTop:0,borderRadius:0,padding:m,"&:first-child":{borderStartStartRadius:v,borderStartEndRadius:v},"&:last-child":{borderEndStartRadius:v,borderEndEndRadius:v},"&:not(:last-child)":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${a}-body`]:{width:e.floatButtonBodySize,height:e.floatButtonBodySize}}}},[`${g}-circle-shadow`]:{boxShadow:"none"},[`${g}-square-shadow`]:{boxShadow:e.boxShadowSecondary,[`${a}-square`]:{boxShadow:"none",padding:m,[`${a}-body`]:{width:e.floatButtonBodySize,height:e.floatButtonBodySize,borderRadius:f}}}}},au=e=>{const{antCls:t,componentCls:a,floatButtonBodyPadding:l,floatButtonIconSize:o,floatButtonSize:v,borderRadiusLG:f,badgeOffset:p,dotOffsetInSquare:m,dotOffsetInCircle:g}=e;return{[a]:Object.assign(Object.assign({},(0,de.Wf)(e)),{border:"none",position:"fixed",cursor:"pointer",zIndex:99,display:"block",width:v,height:v,insetInlineEnd:e.floatButtonInsetInlineEnd,insetBlockEnd:e.floatButtonInsetBlockEnd,boxShadow:e.boxShadowSecondary,"&-pure":{position:"relative",inset:"auto"},"&:empty":{display:"none"},[`${t}-badge`]:{width:"100%",height:"100%",[`${t}-badge-count`]:{transform:"translate(0, 0)",transformOrigin:"center",top:-p,insetInlineEnd:-p}},[`${a}-body`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",transition:`all ${e.motionDurationMid}`,[`${a}-content`]:{overflow:"hidden",textAlign:"center",minHeight:v,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",padding:`${l/2}px ${l}px`,[`${a}-icon`]:{textAlign:"center",margin:"auto",width:o,fontSize:o,lineHeight:1}}}}),[`${a}-rtl`]:{direction:"rtl"},[`${a}-circle`]:{height:v,borderRadius:"50%",[`${t}-badge`]:{[`${t}-badge-dot`]:{top:g,insetInlineEnd:g}},[`${a}-body`]:{borderRadius:"50%"}},[`${a}-square`]:{height:"auto",minHeight:v,borderRadius:f,[`${t}-badge`]:{[`${t}-badge-dot`]:{top:m,insetInlineEnd:m}},[`${a}-body`]:{height:"auto",borderRadius:f}},[`${a}-default`]:{backgroundColor:e.floatButtonBackgroundColor,transition:`background-color ${e.motionDurationMid}`,[`${a}-body`]:{backgroundColor:e.floatButtonBackgroundColor,transition:`background-color ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.colorFillContent},[`${a}-content`]:{[`${a}-icon`]:{color:e.colorText},[`${a}-description`]:{display:"flex",alignItems:"center",lineHeight:`${e.fontSizeLG}px`,color:e.colorText,fontSize:e.fontSizeSM}}}},[`${a}-primary`]:{backgroundColor:e.colorPrimary,[`${a}-body`]:{backgroundColor:e.colorPrimary,transition:`background-color ${e.motionDurationMid}`,"&:hover":{backgroundColor:e.colorPrimaryHover},[`${a}-content`]:{[`${a}-icon`]:{color:e.colorTextLightSolid},[`${a}-description`]:{display:"flex",alignItems:"center",lineHeight:`${e.fontSizeLG}px`,color:e.colorTextLightSolid,fontSize:e.fontSizeSM}}}}}};var ds=(0,_.Z)("FloatButton",e=>{const{colorTextLightSolid:t,colorBgElevated:a,controlHeightLG:l,marginXXL:o,marginLG:v,fontSize:f,fontSizeIcon:p,controlItemBgHover:m,paddingXXS:g,borderRadiusLG:h}=e,y=(0,Nn.TS)(e,{floatButtonBackgroundColor:a,floatButtonColor:t,floatButtonHoverBackgroundColor:m,floatButtonFontSize:f,floatButtonIconSize:p*1.5,floatButtonSize:l,floatButtonInsetBlockEnd:o,floatButtonInsetInlineEnd:v,floatButtonBodySize:l-g*2,floatButtonBodyPadding:g,badgeOffset:g*1.5,dotOffsetInCircle:Qs(l/2),dotOffsetInSquare:Qs(h)});return[ou(y),au(y),(0,tu.J$)(e),ru(y)]}),iu=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{const{prefixCls:a,className:l,rootClassName:o,type:v="default",shape:f="circle",icon:p,description:m,tooltip:g,badge:h={}}=e,y=iu(e,["prefixCls","className","rootClassName","type","shape","icon","description","tooltip","badge"]),{getPrefixCls:I,direction:L}=(0,n.useContext)(Y.E_),N=(0,n.useContext)(Ks),j=I(Yl,a),[z,ie]=ds(j),J=N||f,X=$()(ie,j,l,o,`${j}-${v}`,`${j}-${J}`,{[`${j}-rtl`]:L==="rtl"}),ce=(0,n.useMemo)(()=>(0,Xt.Z)(h,["title","children","status","text"]),[h]),ve=(0,n.useMemo)(()=>({prefixCls:j,description:m,icon:p,type:v}),[j,m,p,v]);let ye=n.createElement("div",{className:`${j}-body`},n.createElement(Gs,Object.assign({},ve)));return"badge"in e&&(ye=n.createElement(an.Z,Object.assign({},ce),ye)),"tooltip"in e&&(ye=n.createElement(Il.Z,{title:g,placement:L==="rtl"?"right":"left"},ye)),z(e.href?n.createElement("a",Object.assign({ref:t},y,{className:X}),ye):n.createElement("button",Object.assign({ref:t},y,{className:X,type:"button"}),ye))};var ll=n.forwardRef(lu),su=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,className:a,type:l="default",shape:o="circle",visibilityHeight:v=400,icon:f=n.createElement(pn,null),target:p,onClick:m,duration:g=450}=e,h=su(e,["prefixCls","className","type","shape","visibilityHeight","icon","target","onClick","duration"]),[y,I]=(0,n.useState)(v===0),L=(0,n.useRef)(null),N=()=>L.current&&L.current.ownerDocument?L.current.ownerDocument:window,j=(0,Rn.Z)(Ee=>{const $e=(0,se.Z)(Ee.target,!0);I($e>=v)});(0,n.useEffect)(()=>{const $e=(p||N)();return j({target:$e}),$e==null||$e.addEventListener("scroll",j),()=>{j.cancel(),$e==null||$e.removeEventListener("scroll",j)}},[p]);const z=Ee=>{(0,Be.Z)(0,{getContainer:p||N,duration:g}),m==null||m(Ee)},{getPrefixCls:ie}=(0,n.useContext)(Y.E_),J=ie(Yl,t),X=ie(),[ce]=ds(J),ye=(0,n.useContext)(Ks)||o,we=Object.assign({prefixCls:J,icon:f,type:l,shape:ye},h);return ce(n.createElement(H.ZP,{visible:y,motionName:`${X}-fade`},Ee=>{let{className:$e}=Ee;return n.createElement(ll,Object.assign({ref:L},we,{onClick:z,className:$()(a,$e)}))}))};var Js=(0,n.memo)(cu),uu=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,className:a,style:l,shape:o="circle",type:v="default",icon:f=n.createElement(Ys,null),closeIcon:p=n.createElement(O.Z,null),description:m,trigger:g,children:h,onOpenChange:y,open:I}=e,L=uu(e,["prefixCls","className","style","shape","type","icon","closeIcon","description","trigger","children","onOpenChange","open"]),{direction:N,getPrefixCls:j}=(0,n.useContext)(Y.E_),z=j(Yl,t),[ie,J]=ds(z),X=`${z}-group`,ce=$()(X,J,a,{[`${X}-rtl`]:N==="rtl",[`${X}-${o}`]:o,[`${X}-${o}-shadow`]:!g}),ve=$()(J,`${X}-wrap`),[ye,we]=(0,to.Z)(!1,{value:I}),Ee=(0,n.useRef)(null),$e=(0,n.useRef)(null),Qe=(0,n.useMemo)(()=>g==="hover"?{onMouseEnter(){we(!0),y==null||y(!0)},onMouseLeave(){we(!1),y==null||y(!1)}}:{},[g]),mn=()=>{we(qe=>(y==null||y(!qe),!qe))},St=(0,n.useCallback)(qe=>{var ht,jt;if(!((ht=Ee.current)===null||ht===void 0)&&ht.contains(qe.target)){!((jt=$e.current)===null||jt===void 0)&&jt.contains(qe.target)&&mn();return}we(!1),y==null||y(!1)},[g]);return(0,n.useEffect)(()=>{if(g==="click")return document.addEventListener("click",St),()=>{document.removeEventListener("click",St)}},[g]),ie(n.createElement(_c,{value:o},n.createElement("div",Object.assign({ref:Ee,className:ce,style:l},Qe),g&&["click","hover"].includes(g)?n.createElement(n.Fragment,null,n.createElement(H.ZP,{visible:ye,motionName:`${X}-wrap`},qe=>{let{className:ht}=qe;return n.createElement("div",{className:$()(ht,ve)},h)}),n.createElement(ll,Object.assign({ref:$e,type:v,shape:o,icon:ye?p:f,description:m,"aria-label":e["aria-label"]},L))):h)))};var _s=(0,n.memo)(qs),ec=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{var{backTop:t}=e,a=ec(e,["backTop"]);return t?n.createElement(Js,Object.assign({},a,{visibilityHeight:0})):n.createElement(ll,Object.assign({},a))};var fu=e=>{var{className:t,items:a}=e,l=ec(e,["className","items"]);const{prefixCls:o}=l,{getPrefixCls:v}=n.useContext(Y.E_),p=`${v(Yl,o)}-pure`;return a?n.createElement(_s,Object.assign({className:$()(t,p)},l),a.map((m,g)=>n.createElement(tc,Object.assign({key:g},m)))):n.createElement(tc,Object.assign({className:$()(t,p)},l))};ll.BackTop=Js,ll.Group=_s,ll._InternalPanelDoNotUseOrYouWillBeFired=fu;var vu=ll,mu=i(1414);function nc(){return(0,gl.Z)()}var gu={useBreakpoint:nc},Zl=i(97776),rc=i(97183),pu=i(38780),fs=i(88258),hu=i(92820),vs=i(11651),zl=i(57953),bu=i(21584);const ms=n.createContext({}),wd=ms.Consumer;var oc=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{var{prefixCls:t,className:a,avatar:l,title:o,description:v}=e,f=oc(e,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:p}=(0,n.useContext)(Y.E_),m=p("list",t),g=$()(`${m}-item-meta`,a),h=n.createElement("div",{className:`${m}-item-meta-content`},o&&n.createElement("h4",{className:`${m}-item-meta-title`},o),v&&n.createElement("div",{className:`${m}-item-meta-description`},v));return n.createElement("div",Object.assign({},f,{className:g}),l&&n.createElement("div",{className:`${m}-item-meta-avatar`},l),(o||v)&&h)},Su=(e,t)=>{var{prefixCls:a,children:l,actions:o,extra:v,className:f,colStyle:p}=e,m=oc(e,["prefixCls","children","actions","extra","className","colStyle"]);const{grid:g,itemLayout:h}=(0,n.useContext)(ms),{getPrefixCls:y}=(0,n.useContext)(Y.E_),I=()=>{let J;return n.Children.forEach(l,X=>{typeof X=="string"&&(J=!0)}),J&&n.Children.count(l)>1},L=()=>h==="vertical"?!!v:!I(),N=y("list",a),j=o&&o.length>0&&n.createElement("ul",{className:`${N}-item-action`,key:"actions"},o.map((J,X)=>n.createElement("li",{key:`${N}-item-action-${X}`},J,X!==o.length-1&&n.createElement("em",{className:`${N}-item-action-split`})))),z=g?"div":"li",ie=n.createElement(z,Object.assign({},m,g?{}:{ref:t},{className:$()(`${N}-item`,{[`${N}-item-no-flex`]:!L()},f)}),h==="vertical"&&v?[n.createElement("div",{className:`${N}-item-main`,key:"content"},l,j),n.createElement("div",{className:`${N}-item-extra`,key:"extra"},v)]:[l,j,(0,w.Tm)(v,{key:"extra"})]);return g?n.createElement(bu.Z,{ref:t,flex:1,style:p},ie):ie},ac=(0,n.forwardRef)(Su);ac.Meta=yu;var Cu=ac;const xu=e=>{const{listBorderedCls:t,componentCls:a,paddingLG:l,margin:o,itemPaddingSM:v,itemPaddingLG:f,marginLG:p,borderRadiusLG:m}=e;return{[`${t}`]:{border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:m,[`${a}-header,${a}-footer,${a}-item`]:{paddingInline:l},[`${a}-pagination`]:{margin:`${o}px ${p}px`}},[`${t}${a}-sm`]:{[`${a}-item,${a}-header,${a}-footer`]:{padding:v}},[`${t}${a}-lg`]:{[`${a}-item,${a}-header,${a}-footer`]:{padding:f}}}},wu=e=>{const{componentCls:t,screenSM:a,screenMD:l,marginLG:o,marginSM:v,margin:f}=e;return{[`@media screen and (max-width:${l})`]:{[`${t}`]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:o}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:o}}}},[`@media screen and (max-width: ${a})`]:{[`${t}`]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:v}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${f}px`}}}}}},Eu=e=>{const{componentCls:t,antCls:a,controlHeight:l,minHeight:o,paddingSM:v,marginLG:f,padding:p,itemPadding:m,colorPrimary:g,itemPaddingSM:h,itemPaddingLG:y,paddingXS:I,margin:L,colorText:N,colorTextDescription:j,motionDurationSlow:z,lineWidth:ie,headerBg:J,footerBg:X,emptyTextPadding:ce,metaMarginBottom:ve,avatarMarginRight:ye,titleMarginBottom:we,descriptionFontSize:Ee}=e,$e={};return["start","center","end"].forEach(Qe=>{$e[`&-align-${Qe}`]={textAlign:Qe}}),{[`${t}`]:Object.assign(Object.assign({},(0,de.Wf)(e)),{position:"relative","*":{outline:"none"},[`${t}-header`]:{background:J},[`${t}-footer`]:{background:X},[`${t}-header, ${t}-footer`]:{paddingBlock:v},[`${t}-pagination`]:Object.assign(Object.assign({marginBlockStart:f},$e),{[`${a}-pagination-options`]:{textAlign:"start"}}),[`${t}-spin`]:{minHeight:o,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:m,color:N,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:ye},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:N},[`${t}-item-meta-title`]:{margin:`0 0 ${e.marginXXS}px 0`,color:N,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:N,transition:`all ${z}`,["&:hover"]:{color:g}}},[`${t}-item-meta-description`]:{color:j,fontSize:Ee,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none",["& > li"]:{position:"relative",display:"inline-block",padding:`0 ${I}px`,color:j,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center",["&:first-child"]:{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:ie,height:Math.ceil(e.fontSize*e.lineHeight)-e.marginXXS*2,transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${p}px 0`,color:j,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:ce,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${a}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:L,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:f},[`${t}-item-meta`]:{marginBlockEnd:ve,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:we,color:N,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:p,marginInlineStart:"auto","> li":{padding:`0 ${p}px`,["&:first-child"]:{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,["&:last-child"]:{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:l},[`${t}-split${t}-something-after-last-item ${a}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:y},[`${t}-sm ${t}-item`]:{padding:h},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}};var Pu=(0,_.Z)("List",e=>{const t=(0,Nn.TS)(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[Eu(t),xu(t),wu(t)]},e=>({contentWidth:220,itemPadding:`${e.paddingContentVertical}px 0`,itemPaddingSM:`${e.paddingContentVerticalSM}px ${e.paddingContentHorizontal}px`,itemPaddingLG:`${e.paddingContentVerticalLG}px ${e.paddingContentHorizontalLG}px`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize})),Ou=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o(Ea,sa)=>{var Pi;Ee(Ea),Qe(sa),a&&a[aa]&&((Pi=a==null?void 0:a[aa])===null||Pi===void 0||Pi.call(a,Ea,sa))},It=gr("onChange"),or=gr("onShowSizeChange"),vo=(aa,Ea)=>{if(!X)return null;let sa;return typeof J=="function"?sa=J(aa):J?sa=aa[J]:sa=aa.key,sa||(sa=`list-item-${Ea}`),n.createElement(n.Fragment,{key:sa},X(aa,Ea))},Br=()=>!!(y||a||z),Pn=mn("list",l),[mo,ta]=Pu(Pn);let Yr=ie;typeof Yr=="boolean"&&(Yr={spinning:Yr});const eo=Yr&&Yr.spinning,No=(0,ti.Z)(N);let na="";switch(No){case"large":na="lg";break;case"small":na="sm";break;default:break}const Zo=$()(Pn,{[`${Pn}-vertical`]:h==="vertical",[`${Pn}-${na}`]:na,[`${Pn}-split`]:v,[`${Pn}-bordered`]:o,[`${Pn}-loading`]:eo,[`${Pn}-grid`]:!!I,[`${Pn}-something-after-last-item`]:Br(),[`${Pn}-rtl`]:qe==="rtl"},ht==null?void 0:ht.className,f,p,ta),jn=(0,pu.Z)(jt,{total:L.length,current:we,pageSize:$e},a||{}),cn=Math.ceil(jn.total/jn.pageSize);jn.current>cn&&(jn.current=cn);const pr=a?n.createElement("div",{className:$()(`${Pn}-pagination`,`${Pn}-pagination-align-${(t=jn==null?void 0:jn.align)!==null&&t!==void 0?t:"end"}`)},n.createElement(vs.Z,Object.assign({},jn,{onChange:It,onShowSizeChange:or}))):null;let xa=(0,Nt.Z)(L);a&&L.length>(jn.current-1)*jn.pageSize&&(xa=(0,Nt.Z)(L).splice((jn.current-1)*jn.pageSize,jn.pageSize));const Xn=Object.keys(I||{}).some(aa=>["xs","sm","md","lg","xl","xxl"].includes(aa)),uo=(0,gl.Z)(Xn),Yo=n.useMemo(()=>{for(let aa=0;aa{if(!I)return;const aa=Yo&&I[Yo]?I[Yo]:I.column;if(aa)return{width:`${100/aa}%`,maxWidth:`${100/aa}%`}},[I==null?void 0:I.column,Yo]);let jr=eo&&n.createElement("div",{style:{minHeight:53}});if(xa.length>0){const aa=xa.map((Ea,sa)=>vo(Ea,sa));jr=I?n.createElement(hu.Z,{gutter:I.gutter},n.Children.map(aa,Ea=>n.createElement("div",{key:Ea==null?void 0:Ea.key,style:Zr},Ea))):n.createElement("ul",{className:`${Pn}-items`},aa)}else!g&&!eo&&(jr=n.createElement("div",{className:`${Pn}-empty-text`},ce&&ce.emptyText||(St==null?void 0:St("List"))||n.createElement(fs.Z,{componentName:"List"})));const Hr=jn.position||"bottom",ga=n.useMemo(()=>({grid:I,itemLayout:h}),[JSON.stringify(I),h]);return mo(n.createElement(ms.Provider,{value:ga},n.createElement("div",Object.assign({style:Object.assign(Object.assign({},ht==null?void 0:ht.style),m),className:Zo},ve),(Hr==="top"||Hr==="both")&&pr,j&&n.createElement("div",{className:`${Pn}-header`},j),n.createElement(zl.Z,Object.assign({},Yr),jr,g),z&&n.createElement("div",{className:`${Pn}-footer`},z),y||(Hr==="bottom"||Hr==="both")&&pr)))}ic.Item=Cu;var $u=ic,lc=i(67656),Rl=i(87887),sc=i(48555),sl=i(8410),gs=i(75164),Iu=` + min-height:0 !important; + max-height:none !important; + height:0 !important; + visibility:hidden !important; + overflow:hidden !important; + position:absolute !important; + z-index:-1000 !important; + top:0 !important; + right:0 !important; + pointer-events: none !important; +`,Zu=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],ps={},_i;function Ru(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&ps[a])return ps[a];var l=window.getComputedStyle(e),o=l.getPropertyValue("box-sizing")||l.getPropertyValue("-moz-box-sizing")||l.getPropertyValue("-webkit-box-sizing"),v=parseFloat(l.getPropertyValue("padding-bottom"))+parseFloat(l.getPropertyValue("padding-top")),f=parseFloat(l.getPropertyValue("border-bottom-width"))+parseFloat(l.getPropertyValue("border-top-width")),p=Zu.map(function(g){return"".concat(g,":").concat(l.getPropertyValue(g))}).join(";"),m={sizingStyle:p,paddingSize:v,borderSize:f,boxSizing:o};return t&&a&&(ps[a]=m),m}function Mu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;_i||(_i=document.createElement("textarea"),_i.setAttribute("tab-index","-1"),_i.setAttribute("aria-hidden","true"),document.body.appendChild(_i)),e.getAttribute("wrap")?_i.setAttribute("wrap",e.getAttribute("wrap")):_i.removeAttribute("wrap");var o=Ru(e,t),v=o.paddingSize,f=o.borderSize,p=o.boxSizing,m=o.sizingStyle;_i.setAttribute("style","".concat(m,";").concat(Iu)),_i.value=e.value||e.placeholder||"";var g=void 0,h=void 0,y,I=_i.scrollHeight;if(p==="border-box"?I+=f:p==="content-box"&&(I-=v),a!==null||l!==null){_i.value=" ";var L=_i.scrollHeight-v;a!==null&&(g=L*a,p==="border-box"&&(g=g+v+f),I=Math.max(g,I)),l!==null&&(h=L*l,p==="border-box"&&(h=h+v+f),y=I>h?"":"hidden",I=Math.min(h,I))}var N={height:I,overflowY:y,resize:"none"};return g&&(N.minHeight=g),h&&(N.maxHeight=h),N}var Nu=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Bi=0,hs=1,bs=2,Tu=n.forwardRef(function(e,t){var a=e,l=a.prefixCls,o=a.onPressEnter,v=a.defaultValue,f=a.value,p=a.autoSize,m=a.onResize,g=a.className,h=a.style,y=a.disabled,I=a.onChange,L=a.onInternalAutoSize,N=(0,po.Z)(a,Nu),j=(0,to.Z)(v,{value:f,postState:function(No){return No!=null?No:""}}),z=(0,Ae.Z)(j,2),ie=z[0],J=z[1],X=function(No){J(No.target.value),I==null||I(No)},ce=n.useRef();n.useImperativeHandle(t,function(){return{textArea:ce.current}});var ve=n.useMemo(function(){return p&&(0,Ho.Z)(p)==="object"?[p.minRows,p.maxRows]:[]},[p]),ye=(0,Ae.Z)(ve,2),we=ye[0],Ee=ye[1],$e=!!p,Qe=function(){try{if(document.activeElement===ce.current){var No=ce.current,na=No.selectionStart,Zo=No.selectionEnd,jn=No.scrollTop;ce.current.setSelectionRange(na,Zo),ce.current.scrollTop=jn}}catch(cn){}},mn=n.useState(bs),St=(0,Ae.Z)(mn,2),qe=St[0],ht=St[1],jt=n.useState(),gr=(0,Ae.Z)(jt,2),It=gr[0],or=gr[1],vo=function(){ht(Bi)};(0,sl.Z)(function(){$e&&vo()},[f,we,Ee,$e]),(0,sl.Z)(function(){if(qe===Bi)ht(hs);else if(qe===hs){var eo=Mu(ce.current,!1,we,Ee);ht(bs),or(eo)}else Qe()},[qe]);var Br=n.useRef(),Pn=function(){gs.Z.cancel(Br.current)},mo=function(No){qe===bs&&(m==null||m(No),p&&(Pn(),Br.current=(0,gs.Z)(function(){vo()})))};n.useEffect(function(){return Pn},[]);var ta=$e?It:null,Yr=(0,ze.Z)((0,ze.Z)({},h),ta);return(qe===Bi||qe===hs)&&(Yr.overflowY="hidden",Yr.overflowX="hidden"),n.createElement(sc.Z,{onResize:mo,disabled:!(p||m)},n.createElement("textarea",(0,Bt.Z)({},N,{ref:ce,style:Yr,className:$()(l,g,(0,wt.Z)({},"".concat(l,"-disabled"),y)),disabled:y,value:ie,onChange:X})))}),Du=Tu,Au=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function cc(e,t){return(0,Nt.Z)(e||"").slice(0,t).join("")}function uc(e,t,a,l){var o=a;return e?o=cc(a,l):(0,Nt.Z)(t||"").lengthl&&(o=t),o}var ju=n.forwardRef(function(e,t){var a,l=e.defaultValue,o=e.value,v=e.onFocus,f=e.onBlur,p=e.onChange,m=e.allowClear,g=e.maxLength,h=e.onCompositionStart,y=e.onCompositionEnd,I=e.suffix,L=e.prefixCls,N=L===void 0?"rc-textarea":L,j=e.classes,z=e.showCount,ie=e.className,J=e.style,X=e.disabled,ce=e.hidden,ve=e.classNames,ye=e.styles,we=e.onResize,Ee=(0,po.Z)(e,Au),$e=(0,to.Z)(l,{value:o,defaultValue:l}),Qe=(0,Ae.Z)($e,2),mn=Qe[0],St=Qe[1],qe=(0,n.useRef)(null),ht=n.useState(!1),jt=(0,Ae.Z)(ht,2),gr=jt[0],It=jt[1],or=n.useState(!1),vo=(0,Ae.Z)(or,2),Br=vo[0],Pn=vo[1],mo=n.useRef(),ta=n.useRef(0),Yr=n.useState(null),eo=(0,Ae.Z)(Yr,2),No=eo[0],na=eo[1],Zo=function(){var go;(go=qe.current)===null||go===void 0||go.textArea.focus()};(0,n.useImperativeHandle)(t,function(){return{resizableTextArea:qe.current,focus:Zo,blur:function(){var go;(go=qe.current)===null||go===void 0||go.textArea.blur()}}}),(0,n.useEffect)(function(){It(function(qa){return!X&&qa})},[X]);var jn=Number(g)>0,cn=function(go){Pn(!0),mo.current=mn,ta.current=go.currentTarget.selectionStart,h==null||h(go)},pr=function(go){Pn(!1);var pa=go.currentTarget.value;if(jn){var _a,Nl=ta.current>=g+1||ta.current===((_a=mo.current)===null||_a===void 0?void 0:_a.length);pa=uc(Nl,mo.current,pa,g)}pa!==mn&&(St(pa),(0,Rl.rJ)(go.currentTarget,go,p,pa)),y==null||y(go)},xa=function(go){var pa=go.target.value;if(!Br&&jn){var _a=go.target.selectionStart>=g+1||go.target.selectionStart===pa.length||!go.target.selectionStart;pa=uc(_a,mn,pa,g)}St(pa),(0,Rl.rJ)(go.currentTarget,go,p,pa)},Xn=function(go){var pa=Ee.onPressEnter,_a=Ee.onKeyDown;go.key==="Enter"&&pa&&pa(go),_a==null||_a(go)},uo=function(go){It(!0),v==null||v(go)},Yo=function(go){It(!1),f==null||f(go)},Zr=function(go){var pa;St(""),Zo(),(0,Rl.rJ)((pa=qe.current)===null||pa===void 0?void 0:pa.textArea,go,p)},jr=(0,Rl.D7)(mn);!Br&&jn&&o==null&&(jr=cc(jr,g));var Hr=I,ga;if(z){var aa=(0,Nt.Z)(jr).length;(0,Ho.Z)(z)==="object"?ga=z.formatter({value:jr,count:aa,maxLength:g}):ga="".concat(aa).concat(jn?" / ".concat(g):""),Hr=n.createElement(n.Fragment,null,Hr,n.createElement("span",{className:$()("".concat(N,"-data-count"),ve==null?void 0:ve.count),style:ye==null?void 0:ye.count},ga))}var Ea=function(go){var pa;we==null||we(go),(pa=qe.current)!==null&&pa!==void 0&&pa.textArea.style.height&&na(!0)},sa=!Ee.autoSize&&!z&&!m,Pi=n.createElement(lc.Q,{value:jr,allowClear:m,handleReset:Zr,suffix:Hr,prefixCls:N,classes:{affixWrapper:$()(j==null?void 0:j.affixWrapper,(a={},(0,wt.Z)(a,"".concat(N,"-show-count"),z),(0,wt.Z)(a,"".concat(N,"-textarea-allow-clear"),m),a))},disabled:X,focused:gr,className:ie,style:(0,ze.Z)((0,ze.Z)({},J),No&&!sa?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof ga=="string"?ga:void 0}},hidden:ce,inputElement:n.createElement(Du,(0,Bt.Z)({},Ee,{onKeyDown:Xn,onChange:xa,onFocus:uo,onBlur:Yo,onCompositionStart:cn,onCompositionEnd:pr,className:ve==null?void 0:ve.textarea,style:(0,ze.Z)((0,ze.Z)({},ye==null?void 0:ye.textarea),{},{resize:J==null?void 0:J.resize}),disabled:X,prefixCls:N,onResize:Ea,ref:qe}))});return Pi}),Lu=ju,Fu=Lu;function zu(){var e=(0,n.useState)({id:0,callback:null}),t=(0,Ae.Z)(e,2),a=t[0],l=t[1],o=(0,n.useCallback)(function(v){l(function(f){var p=f.id;return{id:p+1,callback:v}})},[]);return(0,n.useEffect)(function(){var v;(v=a.callback)===null||v===void 0||v.call(a)},[a]),o}var dc=i(40228),ys=i(72512),Bu=n.createContext(null),fc=Bu;function Hu(e){var t=n.useContext(fc),a=t.notFoundContent,l=t.activeIndex,o=t.setActiveIndex,v=t.selectOption,f=t.onFocus,p=t.onBlur,m=e.prefixCls,g=e.options,h=g[l]||{};return n.createElement(ys.ZP,{prefixCls:"".concat(m,"-menu"),activeKey:h.key,onSelect:function(I){var L=I.key,N=g.find(function(j){var z=j.key;return z===L});v(N)},onFocus:f,onBlur:p},g.map(function(y,I){var L=y.key,N=y.disabled,j=y.className,z=y.style,ie=y.label;return n.createElement(ys.sN,{key:L,disabled:N,className:j,style:z,onMouseEnter:function(){o(I)}},ie)}),!g.length&&n.createElement(ys.sN,{disabled:!0},a))}var Wu=Hu,Vu={bottomRight:{points:["tl","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomLeft:{points:["tr","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topRight:{points:["bl","tr"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["br","tl"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}}},ku=function(t){var a=t.prefixCls,l=t.options,o=t.children,v=t.visible,f=t.transitionName,p=t.getPopupContainer,m=t.dropdownClassName,g=t.direction,h=t.placement,y="".concat(a,"-dropdown"),I=n.createElement(Wu,{prefixCls:y,options:l}),L=(0,n.useMemo)(function(){var N;return g==="rtl"?N=h==="top"?"topLeft":"bottomLeft":N=h==="top"?"topRight":"bottomRight",N},[g,h]);return n.createElement(dc.Z,{prefixCls:y,popupVisible:v,popup:I,popupPlacement:L,popupTransitionName:f,builtinPlacements:Vu,getPopupContainer:p,popupClassName:m},o)},Ku=ku,Uu=function(){return null},Xu=Uu;function Yu(e){var t=e.selectionStart;return e.value.slice(0,t)}function Gu(e,t){return t.reduce(function(a,l){var o=e.lastIndexOf(l);return o>a.location?{location:o,prefix:l}:a},{location:-1,prefix:""})}function vc(e){return(e||"").toLowerCase()}function Qu(e,t,a){var l=e[0];if(!l||l===a)return e;for(var o=e,v=t.length,f=0;f=0)return[!0,"",ra,$a]}return[na,pr,Yo,ga]},[z,na,Pn,bl,pr,Yo,ga]),ml=(0,Ae.Z)(ol,4),yl=ml[0],Bl=ml[1],Tl=ml[2],El=ml[3],Hl=n.useCallback(function(Oi){var ra;return j&&j.length>0?ra=j.map(function($a){var gi;return(0,ze.Z)((0,ze.Z)({},$a),{},{key:(gi=$a==null?void 0:$a.key)!==null&&gi!==void 0?gi:$a.value})}):ra=(0,Vn.Z)(N).map(function($a){var gi=$a.props,Wl=$a.key;return(0,ze.Z)((0,ze.Z)({},gi),{},{label:gi.children,key:Wl||gi.value})}),ra.filter(function($a){return ce===!1?!0:ce(Oi,$a)})},[N,j,ce]),Dr=n.useMemo(function(){return Hl(Bl)},[Hl,Bl]),In=zu(),Ro=function(ra,$a,gi){Zo(!0),xa(ra),Zr($a),aa(gi),qa(0)},Ya=function(ra){Zo(!1),aa(0),xa(""),In(ra)},Ti=function(ra){ws(ra),ve==null||ve(ra)},tl=function(ra){var $a=ra.target.value;Ti($a)},Dl=function(ra){var $a,gi=ra.value,Wl=gi===void 0?"":gi,Vl=Ju(bl,{measureLocation:El,targetText:Wl,prefix:Tl,selectionStart:($a=Yr())===null||$a===void 0?void 0:$a.selectionStart,split:g}),es=Vl.text,Ps=Vl.selectionLocation;Ti(es),Ya(function(){c(Yr(),Ps)}),Qe==null||Qe(ra,Tl)},_l=function(ra){var $a=ra.which;if(ye==null||ye(ra),!!yl){if($a===_t.Z.UP||$a===_t.Z.DOWN){var gi=Dr.length,Wl=$a===_t.Z.UP?-1:1,Vl=(Pi+Wl+gi)%gi;qa(Vl),ra.preventDefault()}else if($a===_t.Z.ESC)Ya();else if($a===_t.Z.ENTER){if(ra.preventDefault(),!Dr.length){Ya();return}var es=Dr[Pi];Dl(es)}}},Es=function(ra){var $a=ra.key,gi=ra.which,Wl=ra.target,Vl=Yu(Wl),es=Gu(Vl,Pn),Ps=es.location,Ec=es.prefix;if(we==null||we(ra),[_t.Z.ESC,_t.Z.UP,_t.Z.DOWN,_t.Z.ENTER].indexOf(gi)===-1)if(Ps!==-1){var Os=Vl.slice(Ps+Ec.length),af=J(Os,g),Cg=!!Hl(Os).length;af?($a===Ec||$a==="Shift"||yl||Os!==Bl&&Cg)&&Ro(Os,Ec,Ps):yl&&Ya(),$e&&af&&$e(Os,Ec)}else yl&&Ya()},bg=function(ra){!yl&&Ee&&Ee(ra)},nf=(0,n.useRef)(),rf=function(ra){window.clearTimeout(nf.current),!_a&&ra&&mn&&mn(ra),Nl(!0)},of=function(ra){nf.current=window.setTimeout(function(){Nl(!1),Ya(),St==null||St(ra)},0)},yg=function(){rf()},Sg=function(){of()};return n.createElement("div",{className:$()(l,o),style:v},n.createElement(Fu,(0,Bt.Z)({ref:mo,value:bl},Br,{rows:vo,onChange:tl,onKeyDown:_l,onKeyUp:Es,onPressEnter:bg,onFocus:rf,onBlur:of})),yl&&n.createElement("div",{ref:ta,className:"".concat(l,"-measure")},bl.slice(0,El),n.createElement(fc.Provider,{value:{notFoundContent:y,activeIndex:Pi,setActiveIndex:qa,selectOption:Dl,onFocus:yg,onBlur:Sg}},n.createElement(Ku,{prefixCls:l,transitionName:qe,placement:ht,direction:jt,options:Dr,visible:!0,getPopupContainer:gr,dropdownClassName:It},n.createElement("span",null,Tl))),bl.slice(El+Tl.length)))}),W=(0,n.forwardRef)(function(e,t){var a=e.suffix,l=e.prefixCls,o=e.classes,v=e.value,f=(0,po.Z)(e,C);return n.createElement(lc.Q,{inputElement:n.createElement(R,(0,Bt.Z)({prefixCls:l,ref:t},f)),suffix:a,prefixCls:l,classes:o,value:v})});W.Option=Xu;var U=W,ee=U,Q=i(42550),me=i(47673);const xe=e=>{const{componentCls:t,colorTextDisabled:a,controlItemBgHover:l,controlPaddingHorizontal:o,colorText:v,motionDurationSlow:f,lineHeight:p,controlHeight:m,paddingInline:g,paddingBlock:h,fontSize:y,colorBgElevated:I,paddingXXS:L,borderRadius:N,borderRadiusLG:j,boxShadowSecondary:z}=e,ie=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,de.Wf)(e)),(0,me.ik)(e)),{position:"relative",display:"inline-block",height:"auto",padding:0,overflow:"hidden",lineHeight:p,whiteSpace:"pre-wrap",verticalAlign:"bottom"}),(0,me.bi)(e,t)),{"&-disabled":{"> textarea":Object.assign({},(0,me.Xy)(e))},[`&-affix-wrapper ${t}-suffix`]:{position:"absolute",top:0,insetInlineEnd:g,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto"},[`> textarea, ${t}-measure`]:{color:v,boxSizing:"border-box",minHeight:m-2,margin:0,padding:`${h}px ${g}px`,overflow:"inherit",overflowX:"hidden",overflowY:"auto",fontWeight:"inherit",fontSize:"inherit",fontFamily:"inherit",fontStyle:"inherit",fontVariant:"inherit",fontSizeAdjust:"inherit",fontStretch:"inherit",lineHeight:"inherit",direction:"inherit",letterSpacing:"inherit",whiteSpace:"inherit",textAlign:"inherit",verticalAlign:"top",wordWrap:"break-word",wordBreak:"inherit",tabSize:"inherit"},"> textarea":Object.assign({width:"100%",border:"none",outline:"none",resize:"none",backgroundColor:"inherit"},(0,me.nz)(e.colorTextPlaceholder)),[`${t}-measure`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:-1,color:"transparent",pointerEvents:"none","> span":{display:"inline-block",minHeight:"1em"}},"&-dropdown":Object.assign(Object.assign({},(0,de.Wf)(e)),{position:"absolute",top:-9999,insetInlineStart:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",fontSize:y,fontVariant:"initial",padding:L,backgroundColor:I,borderRadius:j,outline:"none",boxShadow:z,"&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.dropdownHeight,margin:0,paddingInlineStart:0,overflow:"auto",listStyle:"none",outline:"none","&-item":Object.assign(Object.assign({},de.vS),{position:"relative",display:"block",minWidth:e.controlItemWidth,padding:`${ie}px ${o}px`,color:v,borderRadius:N,fontWeight:"normal",lineHeight:p,cursor:"pointer",transition:`background ${f} ease`,"&:hover":{backgroundColor:l},"&-disabled":{color:a,cursor:"not-allowed","&:hover":{color:a,backgroundColor:l,cursor:"not-allowed"}},"&-selected":{color:v,fontWeight:e.fontWeightStrong,backgroundColor:l},"&-active":{backgroundColor:l}})}})})}};var Ze=(0,_.Z)("Mentions",e=>{const t=(0,Nn.TS)(e,(0,me.e5)(e));return[xe(t)]},e=>Object.assign(Object.assign({},(0,me.TM)(e)),{dropdownHeight:250,controlItemWidth:100,zIndexPopup:e.zIndexPopupBase+50})),tt=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{const{prefixCls:a,className:l,rootClassName:o,disabled:v,loading:f,filterOption:p,children:m,notFoundContent:g,options:h,status:y,popupClassName:I,style:L}=e,N=tt(e,["prefixCls","className","rootClassName","disabled","loading","filterOption","children","notFoundContent","options","status","popupClassName","style"]),[j,z]=n.useState(!1),ie=n.useRef(null),J=(0,Q.sQ)(t,ie),{getPrefixCls:X,renderEmpty:ce,direction:ve,mentions:ye}=n.useContext(Y.E_),{status:we,hasFeedback:Ee,feedbackIcon:$e}=n.useContext(Fo.aM),Qe=(0,Ko.F)(we,y),mn=function(){N.onFocus&&N.onFocus.apply(N,arguments),z(!0)},St=function(){N.onBlur&&N.onBlur.apply(N,arguments),z(!1)},qe=n.useMemo(()=>g!==void 0?g:(ce==null?void 0:ce("Select"))||n.createElement(fs.Z,{componentName:"Select"}),[g,ce]),ht=n.useMemo(()=>f?n.createElement(Ot,{value:"ANTD_SEARCHING",disabled:!0},n.createElement(zl.Z,{size:"small"})):m,[f,m]),jt=f?[{value:"ANTD_SEARCHING",disabled:!0,label:n.createElement(zl.Z,{size:"small"})}]:h,gr=f?ot:p,It=X("mentions",a),[or,vo]=Ze(It),Br=$()({[`${It}-disabled`]:v,[`${It}-focused`]:j,[`${It}-rtl`]:ve==="rtl"},(0,Ko.Z)(It,Qe),ye==null?void 0:ye.className,!Ee&&l,o,vo),Pn=n.createElement(ee,Object.assign({prefixCls:It,notFoundContent:qe,className:Br,disabled:v,direction:ve,style:Object.assign(Object.assign({},ye==null?void 0:ye.style),L)},N,{filterOption:gr,onFocus:mn,onBlur:St,dropdownClassName:$()(I,o,vo),ref:J,options:jt,suffix:Ee&&$e,classes:{affixWrapper:$()(vo,l)}}),ht);return or(Pn)},sn=n.forwardRef(Je);sn.Option=Ot;const Mt=(0,Qt.Z)(sn,"mentions");sn._InternalPanelDoNotUseOrYouWillBeFired=Mt,sn.getMentions=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{prefix:a="@",split:l=" "}=t,o=Array.isArray(a)?a:[a];return e.split(l).map(function(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",f=null;return o.some(p=>v.slice(0,p.length)===p?(f=p,!0):!1),f!==null?{prefix:f,value:v.slice(f.length)}:null}).filter(v=>!!v&&!!v.value)};var $n=sn,Un=i(68508),Hn=i(45360),mr=i(5914),qr=i(26855),no=i(86743),Vo=i(81643),xo=i(33671),Fr=i(40378),mt=i(60590);const ur=e=>{const{componentCls:t,iconCls:a,antCls:l,zIndexPopup:o,colorText:v,colorWarning:f,marginXXS:p,marginXS:m,fontSize:g,fontWeightStrong:h,colorTextHeading:y}=e;return{[t]:{zIndex:o,[`&${l}-popover`]:{fontSize:g},[`${t}-message`]:{marginBottom:m,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${a}`]:{color:f,fontSize:g,lineHeight:1,marginInlineEnd:m},[`${t}-title`]:{fontWeight:h,color:y,"&:only-child":{fontWeight:"normal"}},[`${t}-description`]:{marginTop:p,color:v}},[`${t}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:m}}}}};var Pr=(0,_.Z)("Popconfirm",e=>ur(e),e=>{const{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},{resetStyle:!1}),kt=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,okButtonProps:a,cancelButtonProps:l,title:o,description:v,cancelText:f,okText:p,okType:m="primary",icon:g=n.createElement(E.Z,null),showCancel:h=!0,close:y,onConfirm:I,onCancel:L,onPopupClick:N}=e,{getPrefixCls:j}=n.useContext(Y.E_),[z]=(0,fo.Z)("Popconfirm",Fr.Z.Popconfirm),ie=(0,Vo.Z)(o),J=(0,Vo.Z)(v);return n.createElement("div",{className:`${t}-inner-content`,onClick:N},n.createElement("div",{className:`${t}-message`},g&&n.createElement("span",{className:`${t}-message-icon`},g),n.createElement("div",{className:`${t}-message-text`},ie&&n.createElement("div",{className:$()(`${t}-title`)},ie),J&&n.createElement("div",{className:`${t}-description`},J))),n.createElement("div",{className:`${t}-buttons`},h&&n.createElement(zr.ZP,Object.assign({onClick:L,size:"small"},l),f!=null?f:z==null?void 0:z.cancelText),n.createElement(no.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,xo.nx)(m)),a),actionFn:I,close:y,prefixCls:j("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},p!=null?p:z==null?void 0:z.okText)))};var oo=e=>{const{prefixCls:t,placement:a,className:l,style:o}=e,v=kt(e,["prefixCls","placement","className","style"]),{getPrefixCls:f}=n.useContext(Y.E_),p=f("popconfirm",t),[m]=Pr(p);return m(n.createElement(mt.ZP,{placement:a,className:$()(p,l),style:o,content:n.createElement(_r,Object.assign({prefixCls:p},v))}))},Xo=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{const{prefixCls:a,placement:l="top",trigger:o="click",okType:v="primary",icon:f=n.createElement(E.Z,null),children:p,overlayClassName:m,onOpenChange:g,onVisibleChange:h}=e,y=Xo(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:I}=n.useContext(Y.E_),[L,N]=(0,to.Z)(!1,{value:e.open,defaultValue:e.defaultOpen}),j=(Ee,$e)=>{N(Ee,!0),h==null||h(Ee),g==null||g(Ee,$e)},z=Ee=>{j(!1,Ee)},ie=Ee=>{var $e;return($e=e.onConfirm)===null||$e===void 0?void 0:$e.call(void 0,Ee)},J=Ee=>{var $e;j(!1,Ee),($e=e.onCancel)===null||$e===void 0||$e.call(void 0,Ee)},X=Ee=>{Ee.keyCode===_t.Z.ESC&&L&&j(!1,Ee)},ce=Ee=>{const{disabled:$e=!1}=e;$e||j(Ee)},ve=I("popconfirm",a),ye=$()(ve,m),[we]=Pr(ve);return we(n.createElement(So.Z,Object.assign({},(0,Xt.Z)(y,["title"]),{trigger:o,placement:l,onOpenChange:ce,open:L,ref:t,overlayClassName:ye,content:n.createElement(_r,Object.assign({okType:v,icon:f},e,{prefixCls:ve,close:z,onConfirm:ie,onCancel:J})),"data-popover-inject":!0}),(0,w.Tm)(p,{onKeyDown:Ee=>{var $e,Qe;n.isValidElement(p)&&((Qe=p==null?void 0:($e=p.props).onKeyDown)===null||Qe===void 0||Qe.call($e,Ee)),X(Ee)}})))});ua._InternalPanelDoNotUseOrYouWillBeFired=oo;var Xa=ua,Va=i(38703),ni={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"},Ii=ni,Ei=function(t,a){return n.createElement(Cn.Z,(0,Bt.Z)({},t,{ref:a,icon:Ii}))},Li=n.forwardRef(Ei),mi=Object.defineProperty,Fi=Object.getOwnPropertySymbols,Yi=Object.prototype.hasOwnProperty,Hi=Object.prototype.propertyIsEnumerable,Wi=(e,t,a)=>t in e?mi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,Gi=(e,t)=>{for(var a in t||(t={}))Yi.call(t,a)&&Wi(e,a,t[a]);if(Fi)for(var a of Fi(t))Hi.call(t,a)&&Wi(e,a,t[a]);return e},Vi=(e,t)=>{var a={};for(var l in e)Yi.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&Fi)for(var l of Fi(e))t.indexOf(l)<0&&Hi.call(e,l)&&(a[l]=e[l]);return a};var wo;(e=>{const t=class{constructor(m,g,h,y){if(this.version=m,this.errorCorrectionLevel=g,this.modules=[],this.isFunction=[],mt.MAX_VERSION)throw new RangeError("Version value out of range");if(y<-1||y>7)throw new RangeError("Mask value out of range");this.size=m*4+17;let I=[];for(let N=0;N7)throw new RangeError("Invalid value");let N,j;for(N=h;;N++){const X=t.getNumDataCodewords(N,g)*8,ce=p.getTotalBits(m,N);if(ce<=X){j=ce;break}if(N>=y)throw new RangeError("Data too long")}for(const X of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])L&&j<=t.getNumDataCodewords(N,X)*8&&(g=X);let z=[];for(const X of m){l(X.mode.modeBits,4,z),l(X.numChars,X.mode.numCharCountBits(N),z);for(const ce of X.getData())z.push(ce)}v(z.length==j);const ie=t.getNumDataCodewords(N,g)*8;v(z.length<=ie),l(0,Math.min(4,ie-z.length),z),l(0,(8-z.length%8)%8,z),v(z.length%8==0);for(let X=236;z.lengthJ[ce>>>3]|=X<<7-(ce&7)),new t(N,g,J,I)}getModule(m,g){return 0<=m&&m>>9)*1335;const y=(g<<10|h)^21522;v(y>>>15==0);for(let I=0;I<=5;I++)this.setFunctionModule(8,I,o(y,I));this.setFunctionModule(8,7,o(y,6)),this.setFunctionModule(8,8,o(y,7)),this.setFunctionModule(7,8,o(y,8));for(let I=9;I<15;I++)this.setFunctionModule(14-I,8,o(y,I));for(let I=0;I<8;I++)this.setFunctionModule(this.size-1-I,8,o(y,I));for(let I=8;I<15;I++)this.setFunctionModule(8,this.size-15+I,o(y,I));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let m=this.version;for(let h=0;h<12;h++)m=m<<1^(m>>>11)*7973;const g=this.version<<12|m;v(g>>>18==0);for(let h=0;h<18;h++){const y=o(g,h),I=this.size-11+h%3,L=Math.floor(h/3);this.setFunctionModule(I,L,y),this.setFunctionModule(L,I,y)}}drawFinderPattern(m,g){for(let h=-4;h<=4;h++)for(let y=-4;y<=4;y++){const I=Math.max(Math.abs(y),Math.abs(h)),L=m+y,N=g+h;0<=L&&L{(X!=j-I||ve>=N)&&J.push(ce[X])});return v(J.length==L),J}drawCodewords(m){if(m.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let g=0;for(let h=this.size-1;h>=1;h-=2){h==6&&(h=5);for(let y=0;y>>3],7-(g&7)),g++)}}v(g==m.length*8)}applyMask(m){if(m<0||m>7)throw new RangeError("Mask value out of range");for(let g=0;g5&&m++):(this.finderPenaltyAddHistory(N,j),L||(m+=this.finderPenaltyCountPatterns(j)*t.PENALTY_N3),L=this.modules[I][z],N=1);m+=this.finderPenaltyTerminateAndCount(L,N,j)*t.PENALTY_N3}for(let I=0;I5&&m++):(this.finderPenaltyAddHistory(N,j),L||(m+=this.finderPenaltyCountPatterns(j)*t.PENALTY_N3),L=this.modules[z][I],N=1);m+=this.finderPenaltyTerminateAndCount(L,N,j)*t.PENALTY_N3}for(let I=0;IL+(N?1:0),g);const h=this.size*this.size,y=Math.ceil(Math.abs(g*20-h*10)/h)-1;return v(0<=y&&y<=9),m+=y*t.PENALTY_N4,v(0<=m&&m<=2568888),m}getAlignmentPatternPositions(){if(this.version==1)return[];{const m=Math.floor(this.version/7)+2,g=this.version==32?26:Math.ceil((this.version*4+4)/(m*2-2))*2;let h=[6];for(let y=this.size-7;h.lengtht.MAX_VERSION)throw new RangeError("Version number out of range");let g=(16*m+128)*m+64;if(m>=2){const h=Math.floor(m/7)+2;g-=(25*h-10)*h-55,m>=7&&(g-=36)}return v(208<=g&&g<=29648),g}static getNumDataCodewords(m,g){return Math.floor(t.getNumRawDataModules(m)/8)-t.ECC_CODEWORDS_PER_BLOCK[g.ordinal][m]*t.NUM_ERROR_CORRECTION_BLOCKS[g.ordinal][m]}static reedSolomonComputeDivisor(m){if(m<1||m>255)throw new RangeError("Degree out of range");let g=[];for(let y=0;y0);for(const y of m){const I=y^h.shift();h.push(0),g.forEach((L,N)=>h[N]^=t.reedSolomonMultiply(L,I))}return h}static reedSolomonMultiply(m,g){if(m>>>8||g>>>8)throw new RangeError("Byte out of range");let h=0;for(let y=7;y>=0;y--)h=h<<1^(h>>>7)*285,h^=(g>>>y&1)*m;return v(h>>>8==0),h}finderPenaltyCountPatterns(m){const g=m[1];v(g<=this.size*3);const h=g>0&&m[2]==g&&m[3]==g*3&&m[4]==g&&m[5]==g;return(h&&m[0]>=g*4&&m[6]>=g?1:0)+(h&&m[6]>=g*4&&m[0]>=g?1:0)}finderPenaltyTerminateAndCount(m,g,h){return m&&(this.finderPenaltyAddHistory(g,h),g=0),g+=this.size,this.finderPenaltyAddHistory(g,h),this.finderPenaltyCountPatterns(h)}finderPenaltyAddHistory(m,g){g[0]==0&&(m+=this.size),g.pop(),g.unshift(m)}};let a=t;a.MIN_VERSION=1,a.MAX_VERSION=40,a.PENALTY_N1=3,a.PENALTY_N2=3,a.PENALTY_N3=40,a.PENALTY_N4=10,a.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],a.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=a;function l(m,g,h){if(g<0||g>31||m>>>g)throw new RangeError("Value out of range");for(let y=g-1;y>=0;y--)h.push(m>>>y&1)}function o(m,g){return(m>>>g&1)!=0}function v(m){if(!m)throw new Error("Assertion error")}const f=class{constructor(m,g,h){if(this.mode=m,this.numChars=g,this.bitData=h,g<0)throw new RangeError("Invalid argument");this.bitData=h.slice()}static makeBytes(m){let g=[];for(const h of m)l(h,8,g);return new f(f.Mode.BYTE,m.length,g)}static makeNumeric(m){if(!f.isNumeric(m))throw new RangeError("String contains non-numeric characters");let g=[];for(let h=0;h=1<{let t;(a=>{const l=class{constructor(v,f){this.ordinal=v,this.formatBits=f}};let o=l;o.LOW=new l(0,1),o.MEDIUM=new l(1,0),o.QUARTILE=new l(2,3),o.HIGH=new l(3,2),a.Ecc=o})(t=e.QrCode||(e.QrCode={}))})(wo||(wo={})),(e=>{let t;(a=>{const l=class{constructor(v,f){this.modeBits=v,this.numBitsCharCount=f}numCharCountBits(v){return this.numBitsCharCount[Math.floor((v+7)/17)]}};let o=l;o.NUMERIC=new l(1,[10,12,14]),o.ALPHANUMERIC=new l(2,[9,11,13]),o.BYTE=new l(4,[8,16,16]),o.KANJI=new l(8,[8,10,12]),o.ECI=new l(7,[0,0,0]),a.Mode=o})(t=e.QrSegment||(e.QrSegment={}))})(wo||(wo={}));var rr=wo;var xr={L:rr.QrCode.Ecc.LOW,M:rr.QrCode.Ecc.MEDIUM,Q:rr.QrCode.Ecc.QUARTILE,H:rr.QrCode.Ecc.HIGH},da=128,Ta="L",yi="#FFFFFF",cl="#000000",Ml=!1,pl=4,Qi=.1;function el(e,t=0){const a=[];return e.forEach(function(l,o){let v=null;l.forEach(function(f,p){if(!f&&v!==null){a.push(`M${v+t} ${o+t}h${p-v}v1H${v+t}z`),v=null;return}if(p===l.length-1){if(!f)return;v===null?a.push(`M${p+t},${o+t} h1v1H${p+t}z`):a.push(`M${v+t},${o+t} h${p+1-v}v1H${v+t}z`);return}f&&v===null&&(v=p)})}),a.join("")}function hl(e,t){return e.slice().map((a,l)=>l=t.y+t.h?a:a.map((o,v)=>v=t.x+t.w?o:!1))}function mc(e,t,a,l){if(l==null)return null;const o=a?pl:0,v=e.length+o*2,f=Math.floor(t*Qi),p=v/t,m=(l.width||f)*p,g=(l.height||f)*p,h=l.x==null?e.length/2-m/2:l.x*p,y=l.y==null?e.length/2-g/2:l.y*p;let I=null;if(l.excavate){let L=Math.floor(h),N=Math.floor(y),j=Math.ceil(m+h-L),z=Math.ceil(g+y-N);I={x:L,y:N,w:j,h:z}}return{x:h,y,h:g,w:m,excavation:I}}var gc=function(){try{new Path2D().addPath(new Path2D)}catch(e){return!1}return!0}();function Gl(e){const t=e,{value:a,size:l=da,level:o=Ta,bgColor:v=yi,fgColor:f=cl,includeMargin:p=Ml,style:m,imageSettings:g}=t,h=Vi(t,["value","size","level","bgColor","fgColor","includeMargin","style","imageSettings"]),y=g==null?void 0:g.src,I=(0,n.useRef)(null),L=(0,n.useRef)(null),[N,j]=(0,n.useState)(!1);(0,n.useEffect)(()=>{if(I.current!=null){const J=I.current,X=J.getContext("2d");if(!X)return;let ce=rr.QrCode.encodeText(a,xr[o]).getModules();const ve=p?pl:0,ye=ce.length+ve*2,we=mc(ce,l,p,g),Ee=L.current,$e=we!=null&&Ee!==null&&Ee.complete&&Ee.naturalHeight!==0&&Ee.naturalWidth!==0;$e&&we.excavation!=null&&(ce=hl(ce,we.excavation));const Qe=window.devicePixelRatio||1;J.height=J.width=l*Qe;const mn=l/ye*Qe;X.scale(mn,mn),X.fillStyle=v,X.fillRect(0,0,ye,ye),X.fillStyle=f,gc?X.fill(new Path2D(el(ce,ve))):ce.forEach(function(St,qe){St.forEach(function(ht,jt){ht&&X.fillRect(jt+ve,qe+ve,1,1)})}),$e&&X.drawImage(Ee,we.x+ve,we.y+ve,we.w,we.h)}}),(0,n.useEffect)(()=>{j(!1)},[y]);const z=Gi({height:l,width:l},m);let ie=null;return y!=null&&(ie=n.createElement("img",{src:y,key:y,style:{display:"none"},onLoad:()=>{j(!0)},ref:L})),n.createElement(n.Fragment,null,n.createElement("canvas",Gi({style:z,height:l,width:l,ref:I},h)),ie)}function Ed(e){const t=e,{value:a,size:l=da,level:o=Ta,bgColor:v=yi,fgColor:f=cl,includeMargin:p=Ml,imageSettings:m}=t,g=Vi(t,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]);let h=rr.QrCode.encodeText(a,xr[o]).getModules();const y=p?pl:0,I=h.length+y*2,L=mc(h,l,p,m);let N=null;m!=null&&L!=null&&(L.excavation!=null&&(h=hl(h,L.excavation)),N=n.createElement("image",{xlinkHref:m.src,height:L.h,width:L.w,x:L.x+y,y:L.y+y,preserveAspectRatio:"none"}));const j=el(h,y);return n.createElement("svg",Gi({height:l,width:l,viewBox:`0 0 ${I} ${I}`},g),n.createElement("path",{fill:v,d:`M0,0 h${I}v${I}H0z`,shapeRendering:"crispEdges"}),n.createElement("path",{fill:f,d:j,shapeRendering:"crispEdges"}),N)}var Pg=e=>{const t=e,{renderAs:a}=t,l=Vi(t,["renderAs"]);return a==="svg"?React.createElement(Ed,Gi({},l)):React.createElement(Gl,Gi({},l))};const uf=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign({},(0,de.Wf)(e)),{display:"flex",justifyContent:"center",alignItems:"center",padding:e.paddingSM,backgroundColor:e.colorWhite,borderRadius:e.borderRadiusLG,border:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,position:"relative",width:"100%",height:"100%",overflow:"hidden",[`& > ${t}-mask`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:10,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",color:e.colorText,lineHeight:e.lineHeight,background:e.QRCodeMaskBackgroundColor,textAlign:"center",[`& > ${t}-expired`]:{color:e.QRCodeExpiredTextColor}},"&-icon":{marginBlockEnd:e.marginXS,fontSize:e.controlHeight}}),[`${t}-borderless`]:{borderColor:"transparent"}}};var df=(0,_.Z)("QRCode",e=>uf((0,Nn.TS)(e,{QRCodeExpiredTextColor:"rgba(0, 0, 0, 0.88)",QRCodeMaskBackgroundColor:"rgba(255, 255, 255, 0.96)"}))),ff=e=>{const[,t]=(0,Sa.Z)(),{value:a,type:l="canvas",icon:o="",size:v=160,iconSize:f=40,color:p=t.colorText,errorLevel:m="M",status:g="active",bordered:h=!0,onRefresh:y,style:I,className:L,rootClassName:N,prefixCls:j,bgColor:z="transparent"}=e,{getPrefixCls:ie}=(0,n.useContext)(Y.E_),J=ie("qrcode",j),[X,ce]=df(J),ve={src:o,x:void 0,y:void 0,height:f,width:f,excavate:!0},ye={value:a,size:v-(t.paddingSM+t.lineWidth)*2,level:m,bgColor:z,fgColor:p,imageSettings:o?ve:void 0},[we]=(0,fo.Z)("QRCode");if(!a)return null;const Ee=$()(J,L,N,ce,{[`${J}-borderless`]:!h});return X(n.createElement("div",{style:Object.assign(Object.assign({},I),{width:v,height:v,backgroundColor:z}),className:Ee},g!=="active"&&n.createElement("div",{className:`${J}-mask`},g==="loading"&&n.createElement(zl.Z,null),g==="expired"&&n.createElement(n.Fragment,null,n.createElement("p",{className:`${J}-expired`},we==null?void 0:we.expired),y&&n.createElement(zr.ZP,{type:"link",icon:n.createElement(Li,null),onClick:y},we==null?void 0:we.refresh))),l==="canvas"?n.createElement(Gl,Object.assign({},ye)):n.createElement(Ed,Object.assign({},ye))))},vf=i(55742),mf=i(19207),gf=i(29905),pf=i(71230),hf=i(92783),bf=i(71338),yf=i(78957),Sf=i(57838),Cf=e=>{const{value:t,formatter:a,precision:l,decimalSeparator:o,groupSeparator:v="",prefixCls:f}=e;let p;if(typeof a=="function")p=a(t);else{const m=String(t),g=m.match(/^(-?)(\d*)(\.(\d+))?$/);if(!g||m==="-")p=m;else{const h=g[1];let y=g[2]||"0",I=g[4]||"";y=y.replace(/\B(?=(\d{3})+(?!\d))/g,v),typeof l=="number"&&(I=I.padEnd(l,"0").slice(0,l>0?l:0)),I&&(I=`${o}${I}`),p=[n.createElement("span",{key:"int",className:`${f}-content-value-int`},h,y),I&&n.createElement("span",{key:"decimal",className:`${f}-content-value-decimal`},I)]}}return n.createElement("span",{className:`${f}-content-value`},p)};const xf=e=>{const{componentCls:t,marginXXS:a,padding:l,colorTextDescription:o,titleFontSize:v,colorTextHeading:f,contentFontSize:p,fontFamily:m}=e;return{[`${t}`]:Object.assign(Object.assign({},(0,de.Wf)(e)),{[`${t}-title`]:{marginBottom:a,color:o,fontSize:v},[`${t}-skeleton`]:{paddingTop:l},[`${t}-content`]:{color:f,fontSize:p,fontFamily:m,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:a},[`${t}-content-suffix`]:{marginInlineStart:a}}})}};var wf=(0,_.Z)("Statistic",e=>{const t=(0,Nn.TS)(e,{});return[xf(t)]},e=>{const{fontSizeHeading3:t,fontSize:a}=e;return{titleFontSize:a,contentFontSize:t}}),qu=e=>{const{prefixCls:t,className:a,rootClassName:l,style:o,valueStyle:v,value:f=0,title:p,valueRender:m,prefix:g,suffix:h,loading:y=!1,onMouseEnter:I,onMouseLeave:L,decimalSeparator:N=".",groupSeparator:j=","}=e,{getPrefixCls:z,direction:ie,statistic:J}=n.useContext(Y.E_),X=z("statistic",t),[ce,ve]=wf(X),ye=n.createElement(Cf,Object.assign({decimalSeparator:N,groupSeparator:j,prefixCls:X},e,{value:f})),we=$()(X,{[`${X}-rtl`]:ie==="rtl"},J==null?void 0:J.className,a,l,ve);return ce(n.createElement("div",{className:we,style:Object.assign(Object.assign({},J==null?void 0:J.style),o),onMouseEnter:I,onMouseLeave:L},p&&n.createElement("div",{className:`${X}-title`},p),n.createElement(zi.Z,{paragraph:!1,loading:y,className:`${X}-skeleton`},n.createElement("div",{style:v,className:`${X}-content`},g&&n.createElement("span",{className:`${X}-content-prefix`},g),m?m(ye):ye,h&&n.createElement("span",{className:`${X}-content-suffix`},h)))))};const Ef=[["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]];function Pf(e,t){let a=e;const l=/\[[^\]]*]/g,o=(t.match(l)||[]).map(m=>m.slice(1,-1)),v=t.replace(l,"[]"),f=Ef.reduce((m,g)=>{let[h,y]=g;if(m.includes(h)){const I=Math.floor(a/y);return a-=I*y,m.replace(new RegExp(`${h}+`,"g"),L=>{const N=L.length;return I.toString().padStart(N,"0")})}return m},v);let p=0;return f.replace(l,()=>{const m=o[p];return p+=1,m})}function Of(e,t){const{format:a=""}=t,l=new Date(e).getTime(),o=Date.now(),v=Math.max(l-o,0);return Pf(v,a)}const $f=1e3/30;function If(e){return new Date(e).getTime()}const Zf=e=>{const{value:t,format:a="HH:mm:ss",onChange:l,onFinish:o}=e,v=(0,Sf.Z)(),f=n.useRef(null),p=()=>{o==null||o(),f.current&&(clearInterval(f.current),f.current=null)},m=()=>{const y=If(t);y>=Date.now()&&(f.current=setInterval(()=>{v(),l==null||l(y-Date.now()),y(m(),()=>{f.current&&(clearInterval(f.current),f.current=null)}),[t]);const g=(y,I)=>Of(y,Object.assign(Object.assign({},I),{format:a})),h=y=>(0,w.Tm)(y,{title:void 0});return n.createElement(qu,Object.assign({},e,{valueRender:h,formatter:g}))};var Rf=n.memo(Zf);qu.Countdown=Rf;var Mf=qu,Pd=i(35918),Nf=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick","render"];function Od(e){return typeof e=="string"}function Tf(e){var t,a=e.className,l=e.prefixCls,o=e.style,v=e.active,f=e.status,p=e.iconPrefix,m=e.icon,g=e.wrapperStyle,h=e.stepNumber,y=e.disabled,I=e.description,L=e.title,N=e.subTitle,j=e.progressDot,z=e.stepIcon,ie=e.tailContent,J=e.icons,X=e.stepIndex,ce=e.onStepClick,ve=e.onClick,ye=e.render,we=(0,po.Z)(e,Nf),Ee=!!ce&&!y,$e={};Ee&&($e.role="button",$e.tabIndex=0,$e.onClick=function(jt){ve==null||ve(jt),ce(X)},$e.onKeyDown=function(jt){var gr=jt.which;(gr===_t.Z.ENTER||gr===_t.Z.SPACE)&&ce(X)});var Qe=function(){var gr,It,or=$()("".concat(l,"-icon"),"".concat(p,"icon"),(gr={},(0,wt.Z)(gr,"".concat(p,"icon-").concat(m),m&&Od(m)),(0,wt.Z)(gr,"".concat(p,"icon-check"),!m&&f==="finish"&&(J&&!J.finish||!J)),(0,wt.Z)(gr,"".concat(p,"icon-cross"),!m&&f==="error"&&(J&&!J.error||!J)),gr)),vo=n.createElement("span",{className:"".concat(l,"-icon-dot")});return j?typeof j=="function"?It=n.createElement("span",{className:"".concat(l,"-icon")},j(vo,{index:h-1,status:f,title:L,description:I})):It=n.createElement("span",{className:"".concat(l,"-icon")},vo):m&&!Od(m)?It=n.createElement("span",{className:"".concat(l,"-icon")},m):J&&J.finish&&f==="finish"?It=n.createElement("span",{className:"".concat(l,"-icon")},J.finish):J&&J.error&&f==="error"?It=n.createElement("span",{className:"".concat(l,"-icon")},J.error):m||f==="finish"||f==="error"?It=n.createElement("span",{className:or}):It=n.createElement("span",{className:"".concat(l,"-icon")},h),z&&(It=z({index:h-1,status:f,title:L,description:I,node:It})),It},mn=f||"wait",St=$()("".concat(l,"-item"),"".concat(l,"-item-").concat(mn),a,(t={},(0,wt.Z)(t,"".concat(l,"-item-custom"),m),(0,wt.Z)(t,"".concat(l,"-item-active"),v),(0,wt.Z)(t,"".concat(l,"-item-disabled"),y===!0),t)),qe=(0,ze.Z)({},o),ht=n.createElement("div",(0,Bt.Z)({},we,{className:St,style:qe}),n.createElement("div",(0,Bt.Z)({onClick:ve},$e,{className:"".concat(l,"-item-container")}),n.createElement("div",{className:"".concat(l,"-item-tail")},ie),n.createElement("div",{className:"".concat(l,"-item-icon")},Qe()),n.createElement("div",{className:"".concat(l,"-item-content")},n.createElement("div",{className:"".concat(l,"-item-title")},L,N&&n.createElement("div",{title:typeof N=="string"?N:void 0,className:"".concat(l,"-item-subtitle")},N)),I&&n.createElement("div",{className:"".concat(l,"-item-description")},I))));return ye&&(ht=ye(ht)||null),ht}var $d=Tf,Df=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","itemRender","items"];function Id(e){var t,a=e.prefixCls,l=a===void 0?"rc-steps":a,o=e.style,v=o===void 0?{}:o,f=e.className,p=e.children,m=e.direction,g=m===void 0?"horizontal":m,h=e.type,y=h===void 0?"default":h,I=e.labelPlacement,L=I===void 0?"horizontal":I,N=e.iconPrefix,j=N===void 0?"rc":N,z=e.status,ie=z===void 0?"process":z,J=e.size,X=e.current,ce=X===void 0?0:X,ve=e.progressDot,ye=ve===void 0?!1:ve,we=e.stepIcon,Ee=e.initial,$e=Ee===void 0?0:Ee,Qe=e.icons,mn=e.onChange,St=e.itemRender,qe=e.items,ht=qe===void 0?[]:qe,jt=(0,po.Z)(e,Df),gr=y==="navigation",It=y==="inline",or=It||ye,vo=It?"horizontal":g,Br=It?void 0:J,Pn=or?"vertical":L,mo=$()(l,"".concat(l,"-").concat(vo),f,(t={},(0,wt.Z)(t,"".concat(l,"-").concat(Br),Br),(0,wt.Z)(t,"".concat(l,"-label-").concat(Pn),vo==="horizontal"),(0,wt.Z)(t,"".concat(l,"-dot"),!!or),(0,wt.Z)(t,"".concat(l,"-navigation"),gr),(0,wt.Z)(t,"".concat(l,"-inline"),It),t)),ta=function(No){mn&&ce!==No&&mn(No)},Yr=function(No,na){var Zo=(0,ze.Z)({},No),jn=$e+na;return ie==="error"&&na===ce-1&&(Zo.className="".concat(l,"-next-error")),Zo.status||(jn===ce?Zo.status=ie:jn{const{componentCls:t,customIconTop:a,customIconSize:l,customIconFontSize:o}=e;return{[`${t}-item-custom`]:{[`> ${t}-item-container > ${t}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${t}-icon`]:{top:a,width:l,height:l,fontSize:o,lineHeight:`${o}px`}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},Lf=e=>{const{componentCls:t,inlineDotSize:a,inlineTitleColor:l,inlineTailColor:o}=e,v=e.paddingXS+e.lineWidth,f={[`${t}-item-container ${t}-item-content ${t}-item-title`]:{color:l}};return{[`&${t}-inline`]:{width:"auto",display:"inline-flex",[`${t}-item`]:{flex:"none","&-container":{padding:`${v}px ${e.paddingXXS}px 0`,margin:`0 ${e.marginXXS/2}px`,borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover},["&[role='button']:hover"]:{opacity:1}},"&-icon":{width:a,height:a,marginInlineStart:`calc(50% - ${a/2}px)`,[`> ${t}-icon`]:{top:0},[`${t}-icon-dot`]:{borderRadius:e.fontSizeSM/4}},"&-content":{width:"auto",marginTop:e.marginXS-e.lineWidth},"&-title":{color:l,fontSize:e.fontSizeSM,lineHeight:e.lineHeightSM,fontWeight:"normal",marginBottom:e.marginXXS/2},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:v+a/2,transform:"translateY(-50%)","&:after":{width:"100%",height:e.lineWidth,borderRadius:0,marginInlineStart:0,background:o}},[`&:first-child ${t}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${t}-item-tail`]:{display:"block",width:"50%"},"&-wait":Object.assign({[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:e.colorBorderBg,border:`${e.lineWidth}px ${e.lineType} ${o}`}},f),"&-finish":Object.assign({[`${t}-item-tail::after`]:{backgroundColor:o},[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:o,border:`${e.lineWidth}px ${e.lineType} ${o}`}},f),"&-error":f,"&-active, &-process":Object.assign({[`${t}-item-icon`]:{width:a,height:a,marginInlineStart:`calc(50% - ${a/2}px)`,top:0}},f),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:l}}}}}},Ff=e=>{const{componentCls:t,iconSize:a,lineHeight:l,iconSizeSM:o}=e;return{[`&${t}-label-vertical`]:{[`${t}-item`]:{overflow:"visible","&-tail":{marginInlineStart:a/2+e.controlHeightLG,padding:`${e.paddingXXS}px ${e.paddingLG}px`},"&-content":{display:"block",width:(a/2+e.controlHeightLG)*2,marginTop:e.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:e.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:e.marginXXS,marginInlineStart:0,lineHeight:l}},[`&${t}-small:not(${t}-dot)`]:{[`${t}-item`]:{"&-icon":{marginInlineStart:e.controlHeightLG+(a-o)/2}}}}}},zf=e=>{const{componentCls:t,navContentMaxWidth:a,navArrowColor:l,stepsNavActiveColor:o,motionDurationSlow:v}=e;return{[`&${t}-navigation`]:{paddingTop:e.paddingSM,[`&${t}-small`]:{[`${t}-item`]:{"&-container":{marginInlineStart:-e.marginSM}}},[`${t}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:-e.margin,paddingBottom:e.paddingSM,textAlign:"start",transition:`opacity ${v}`,[`${t}-item-content`]:{maxWidth:a},[`${t}-item-title`]:Object.assign(Object.assign({maxWidth:"100%",paddingInlineEnd:0},de.vS),{"&::after":{display:"none"}})},[`&:not(${t}-item-active)`]:{[`${t}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${e.paddingSM/2}px)`,insetInlineStart:"100%",display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,borderTop:`${e.lineWidth}px ${e.lineType} ${l}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${l}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:e.lineWidthBold,backgroundColor:o,transition:`width ${v}, inset-inline-start ${v}`,transitionTimingFunction:"ease-out",content:'""'}},[`${t}-item${t}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${t}-navigation${t}-vertical`]:{[`> ${t}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${t}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:e.lineWidth*3,height:`calc(100% - ${e.marginLG}px)`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:e.controlHeight*.25,height:e.controlHeight*.25,marginBottom:e.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},"&:last-child":{"&::after":{display:"none"}},[`> ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}},[`&${t}-navigation${t}-horizontal`]:{[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}}},Bf=e=>{const{antCls:t,componentCls:a}=e;return{[`&${a}-with-progress`]:{[`${a}-item`]:{paddingTop:e.paddingXXS,[`&-process ${a}-item-container ${a}-item-icon ${a}-icon`]:{color:e.processIconColor}},[`&${a}-vertical > ${a}-item `]:{paddingInlineStart:e.paddingXXS,[`> ${a}-item-container > ${a}-item-tail`]:{top:e.marginXXS,insetInlineStart:e.iconSize/2-e.lineWidth+e.paddingXXS}},[`&, &${a}-small`]:{[`&${a}-horizontal ${a}-item:first-child`]:{paddingBottom:e.paddingXXS,paddingInlineStart:e.paddingXXS}},[`&${a}-small${a}-vertical > ${a}-item > ${a}-item-container > ${a}-item-tail`]:{insetInlineStart:e.iconSizeSM/2-e.lineWidth+e.paddingXXS},[`&${a}-label-vertical`]:{[`${a}-item ${a}-item-tail`]:{top:e.margin-2*e.lineWidth}},[`${a}-item-icon`]:{position:"relative",[`${t}-progress`]:{position:"absolute",insetBlockStart:(e.iconSize-e.stepsProgressSize-e.lineWidth*2)/2,insetInlineStart:(e.iconSize-e.stepsProgressSize-e.lineWidth*2)/2}}}}},Hf=e=>{const{componentCls:t,descriptionMaxWidth:a,lineHeight:l,dotCurrentSize:o,dotSize:v,motionDurationSlow:f}=e;return{[`&${t}-dot, &${t}-dot${t}-small`]:{[`${t}-item`]:{"&-title":{lineHeight:l},"&-tail":{top:Math.floor((e.dotSize-e.lineWidth*3)/2),width:"100%",marginTop:0,marginBottom:0,marginInline:`${a/2}px 0`,padding:0,"&::after":{width:`calc(100% - ${e.marginSM*2}px)`,height:e.lineWidth*3,marginInlineStart:e.marginSM}},"&-icon":{width:v,height:v,marginInlineStart:(e.descriptionMaxWidth-v)/2,paddingInlineEnd:0,lineHeight:`${v}px`,background:"transparent",border:0,[`${t}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${f}`,"&::after":{position:"absolute",top:-e.marginSM,insetInlineStart:(v-e.controlHeightLG*1.5)/2,width:e.controlHeightLG*1.5,height:e.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:a},[`&-process ${t}-item-icon`]:{position:"relative",top:(v-o)/2,width:o,height:o,lineHeight:`${o}px`,background:"none",marginInlineStart:(e.descriptionMaxWidth-o)/2},[`&-process ${t}-icon`]:{[`&:first-child ${t}-icon-dot`]:{insetInlineStart:0}}}},[`&${t}-vertical${t}-dot`]:{[`${t}-item-icon`]:{marginTop:(e.controlHeight-v)/2,marginInlineStart:0,background:"none"},[`${t}-item-process ${t}-item-icon`]:{marginTop:(e.controlHeight-o)/2,top:0,insetInlineStart:(v-o)/2,marginInlineStart:0},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:(e.controlHeight-v)/2,insetInlineStart:0,margin:0,padding:`${v+e.paddingXS}px 0 ${e.paddingXS}px`,"&::after":{marginInlineStart:(v-e.lineWidth)/2}},[`&${t}-small`]:{[`${t}-item-icon`]:{marginTop:(e.controlHeightSM-v)/2},[`${t}-item-process ${t}-item-icon`]:{marginTop:(e.controlHeightSM-o)/2},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:(e.controlHeightSM-v)/2}},[`${t}-item:first-child ${t}-icon-dot`]:{insetInlineStart:0},[`${t}-item-content`]:{width:"inherit"}}}},Wf=e=>{const{componentCls:t}=e;return{[`&${t}-rtl`]:{direction:"rtl",[`${t}-item`]:{"&-subtitle":{float:"left"}},[`&${t}-navigation`]:{[`${t}-item::after`]:{transform:"rotate(-45deg)"}},[`&${t}-vertical`]:{[`> ${t}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${t}-item-icon`]:{float:"right"}}},[`&${t}-dot`]:{[`${t}-item-icon ${t}-icon-dot, &${t}-small ${t}-item-icon ${t}-icon-dot`]:{float:"right"}}}}},Vf=e=>{const{componentCls:t,iconSizeSM:a,fontSizeSM:l,fontSize:o,colorTextDescription:v}=e;return{[`&${t}-small`]:{[`&${t}-horizontal:not(${t}-label-vertical) ${t}-item`]:{paddingInlineStart:e.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${t}-item-icon`]:{width:a,height:a,marginTop:0,marginBottom:0,marginInline:`0 ${e.marginXS}px`,fontSize:l,lineHeight:`${a}px`,textAlign:"center",borderRadius:a},[`${t}-item-title`]:{paddingInlineEnd:e.paddingSM,fontSize:o,lineHeight:`${a}px`,"&::after":{top:a/2}},[`${t}-item-description`]:{color:v,fontSize:o},[`${t}-item-tail`]:{top:a/2-e.paddingXXS},[`${t}-item-custom ${t}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${t}-icon`]:{fontSize:a,lineHeight:`${a}px`,transform:"none"}}}}},kf=e=>{const{componentCls:t,iconSizeSM:a,iconSize:l}=e;return{[`&${t}-vertical`]:{display:"flex",flexDirection:"column",[`> ${t}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${t}-item-icon`]:{float:"left",marginInlineEnd:e.margin},[`${t}-item-content`]:{display:"block",minHeight:e.controlHeight*1.5,overflow:"hidden"},[`${t}-item-title`]:{lineHeight:`${l}px`},[`${t}-item-description`]:{paddingBottom:e.paddingSM}},[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:l/2-e.lineWidth,width:e.lineWidth,height:"100%",padding:`${l+e.marginXXS*1.5}px 0 ${e.marginXXS*1.5}px`,"&::after":{width:e.lineWidth,height:"100%"}},[`> ${t}-item:not(:last-child) > ${t}-item-container > ${t}-item-tail`]:{display:"block"},[` > ${t}-item > ${t}-item-container > ${t}-item-content > ${t}-item-title`]:{"&::after":{display:"none"}},[`&${t}-small ${t}-item-container`]:{[`${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:a/2-e.lineWidth,padding:`${a+e.marginXXS*1.5}px 0 ${e.marginXXS*1.5}px`},[`${t}-item-title`]:{lineHeight:`${a}px`}}}}},Ql;(function(e){e.wait="wait",e.process="process",e.finish="finish",e.error="error"})(Ql||(Ql={}));const pc=(e,t)=>{const a=`${t.componentCls}-item`,l=`${e}IconColor`,o=`${e}TitleColor`,v=`${e}DescriptionColor`,f=`${e}TailColor`,p=`${e}IconBgColor`,m=`${e}IconBorderColor`,g=`${e}DotColor`;return{[`${a}-${e} ${a}-icon`]:{backgroundColor:t[p],borderColor:t[m],[`> ${t.componentCls}-icon`]:{color:t[l],[`${t.componentCls}-icon-dot`]:{background:t[g]}}},[`${a}-${e}${a}-custom ${a}-icon`]:{[`> ${t.componentCls}-icon`]:{color:t[g]}},[`${a}-${e} > ${a}-container > ${a}-content > ${a}-title`]:{color:t[o],"&::after":{backgroundColor:t[f]}},[`${a}-${e} > ${a}-container > ${a}-content > ${a}-description`]:{color:t[v]},[`${a}-${e} > ${a}-container > ${a}-tail::after`]:{backgroundColor:t[f]}}},Kf=e=>{const{componentCls:t,motionDurationSlow:a}=e,l=`${t}-item`,o=`${l}-icon`;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[l]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${l}-container > ${l}-tail, > ${l}-container > ${l}-content > ${l}-title::after`]:{display:"none"}}},[`${l}-container`]:{outline:"none",["&:focus-visible"]:{[o]:Object.assign({},(0,de.oN)(e))}},[`${o}, ${l}-content`]:{display:"inline-block",verticalAlign:"top"},[o]:{width:e.iconSize,height:e.iconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:e.marginXS,fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:`${e.iconSize}px`,textAlign:"center",borderRadius:e.iconSize,border:`${e.lineWidth}px ${e.lineType} transparent`,transition:`background-color ${a}, border-color ${a}`,[`${t}-icon`]:{position:"relative",top:e.iconTop,color:e.colorPrimary,lineHeight:1}},[`${l}-tail`]:{position:"absolute",top:e.iconSize/2-e.paddingXXS,insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:e.lineWidth,background:e.colorSplit,borderRadius:e.lineWidth,transition:`background ${a}`,content:'""'}},[`${l}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:e.padding,color:e.colorText,fontSize:e.fontSizeLG,lineHeight:`${e.titleLineHeight}px`,"&::after":{position:"absolute",top:e.titleLineHeight/2,insetInlineStart:"100%",display:"block",width:9999,height:e.lineWidth,background:e.processTailColor,content:'""'}},[`${l}-subtitle`]:{display:"inline",marginInlineStart:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize},[`${l}-description`]:{color:e.colorTextDescription,fontSize:e.fontSize}},pc(Ql.wait,e)),pc(Ql.process,e)),{[`${l}-process > ${l}-container > ${l}-title`]:{fontWeight:e.fontWeightStrong}}),pc(Ql.finish,e)),pc(Ql.error,e)),{[`${l}${t}-next-error > ${t}-item-title::after`]:{background:e.colorError},[`${l}-disabled`]:{cursor:"not-allowed"}})},Uf=e=>{const{componentCls:t,motionDurationSlow:a}=e;return{[`& ${t}-item`]:{[`&:not(${t}-item-active)`]:{[`& > ${t}-item-container[role='button']`]:{cursor:"pointer",[`${t}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${t}-icon`]:{transition:`color ${a}`}},"&:hover":{[`${t}-item`]:{["&-title, &-subtitle, &-description"]:{color:e.colorPrimary}}}},[`&:not(${t}-item-process)`]:{[`& > ${t}-item-container[role='button']:hover`]:{[`${t}-item`]:{"&-icon":{borderColor:e.colorPrimary,[`${t}-icon`]:{color:e.colorPrimary}}}}}}},[`&${t}-horizontal:not(${t}-label-vertical)`]:{[`${t}-item`]:{paddingInlineStart:e.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${t}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:e.descriptionMaxWidth,whiteSpace:"normal"}}}}},Xf=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,de.Wf)(e)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),Kf(e)),Uf(e)),jf(e)),Vf(e)),kf(e)),Ff(e)),Hf(e)),zf(e)),Wf(e)),Bf(e)),Lf(e))}};var Yf=(0,_.Z)("Steps",e=>{const{wireframe:t,colorTextDisabled:a,controlHeightLG:l,colorTextLightSolid:o,colorText:v,colorPrimary:f,colorTextLabel:p,colorTextDescription:m,colorTextQuaternary:g,colorFillContent:h,controlItemBgActive:y,colorError:I,colorBgContainer:L,colorBorderSecondary:N,colorSplit:j}=e,z=(0,Nn.TS)(e,{processIconColor:o,processTitleColor:v,processDescriptionColor:v,processIconBgColor:f,processIconBorderColor:f,processDotColor:f,processTailColor:j,waitIconColor:t?a:p,waitTitleColor:m,waitDescriptionColor:m,waitTailColor:j,waitIconBgColor:t?L:h,waitIconBorderColor:t?a:"transparent",waitDotColor:a,finishIconColor:f,finishTitleColor:v,finishDescriptionColor:m,finishTailColor:f,finishIconBgColor:t?L:y,finishIconBorderColor:t?f:y,finishDotColor:f,errorIconColor:o,errorTitleColor:I,errorDescriptionColor:I,errorTailColor:j,errorIconBgColor:I,errorIconBorderColor:I,errorDotColor:I,stepsNavActiveColor:f,stepsProgressSize:l,inlineDotSize:6,inlineTitleColor:g,inlineTailColor:N});return[Xf(z)]},e=>{const{colorTextDisabled:t,fontSize:a,controlHeightSM:l,controlHeight:o,controlHeightLG:v,fontSizeHeading3:f}=e;return{titleLineHeight:o,customIconSize:o,customIconTop:0,customIconFontSize:l,iconSize:o,iconTop:-.5,iconFontSize:a,iconSizeSM:f,dotSize:o/4,dotCurrentSize:v/4,navArrowColor:t,navContentMaxWidth:"auto",descriptionMaxWidth:140}});function Gf(e){return e.filter(t=>t)}function Qf(e,t){if(e)return e;const a=(0,Vn.Z)(t).map(l=>{if(n.isValidElement(l)){const{props:o}=l;return Object.assign({},o)}return null});return Gf(a)}var Jf=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{const{percent:t,size:a,className:l,rootClassName:o,direction:v,items:f,responsive:p=!0,current:m=0,children:g,style:h}=e,y=Jf(e,["percent","size","className","rootClassName","direction","items","responsive","current","children","style"]),{xs:I}=(0,gl.Z)(p),{getPrefixCls:L,direction:N,steps:j}=n.useContext(Y.E_),z=n.useMemo(()=>p&&I?"vertical":v,[I,v]),ie=(0,ti.Z)(a),J=L("steps",e.prefixCls),[X,ce]=Yf(J),ve=e.type==="inline",ye=L("",e.iconPrefix),we=Qf(f,g),Ee=ve?void 0:t,$e=Object.assign(Object.assign({},j==null?void 0:j.style),h),Qe=$()(j==null?void 0:j.className,{[`${J}-rtl`]:N==="rtl",[`${J}-with-progress`]:Ee!==void 0},l,o,ce),mn={finish:n.createElement(Pd.Z,{className:`${J}-finish-icon`}),error:n.createElement(O.Z,{className:`${J}-error-icon`})},St=ht=>{let{node:jt,status:gr}=ht;if(gr==="process"&&Ee!==void 0){const It=ie==="small"?32:40;return n.createElement("div",{className:`${J}-progress-icon`},n.createElement(Va.Z,{type:"circle",percent:Ee,size:It,strokeWidth:4,format:()=>null}),jt)}return jt},qe=(ht,jt)=>ht.description?n.createElement(Il.Z,{title:ht.description},jt):jt;return X(n.createElement(Zd,Object.assign({icons:mn},y,{style:$e,current:m,size:ie,items:we,itemRender:ve?qe:void 0,stepIcon:St,direction:z,prefixCls:J,iconPrefix:ye,className:Qe})))};Rd.Step=Zd.Step;var qf=Rd,_f=i(72269),ev=i(73014),Md=i(98787),Nd=i(69760),tv=i(45353);const nv=e=>{const{paddingXXS:t,lineWidth:a,tagPaddingHorizontal:l,componentCls:o}=e,v=l-a,f=t-a;return{[o]:Object.assign(Object.assign({},(0,de.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:v,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:f,color:e.colorTextDescription,fontSize:e.tagIconSize,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:v}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},_u=e=>{const{lineWidth:t,fontSizeIcon:a}=e,l=e.fontSizeSM,o=`${e.lineHeightSM*l}px`;return(0,Nn.TS)(e,{tagFontSize:l,tagLineHeight:o,tagIconSize:a-2*t,tagPaddingHorizontal:8,tagBorderlessBg:e.colorFillTertiary})},ed=e=>({defaultBg:e.colorFillQuaternary,defaultColor:e.colorText});var Td=(0,_.Z)("Tag",e=>{const t=_u(e);return nv(t)},ed),rv=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,style:a,className:l,checked:o,onChange:v,onClick:f}=e,p=rv(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:m,tag:g}=n.useContext(Y.E_),h=j=>{v==null||v(!o),f==null||f(j)},y=m("tag",t),[I,L]=Td(y),N=$()(y,`${y}-checkable`,{[`${y}-checkable-checked`]:o},g==null?void 0:g.className,l,L);return I(n.createElement("span",Object.assign({},p,{style:Object.assign(Object.assign({},a),g==null?void 0:g.style),className:N,onClick:h})))},av=i(98719);const iv=e=>(0,av.Z)(e,(t,a)=>{let{textColor:l,lightBorderColor:o,lightColor:v,darkColor:f}=a;return{[`${e.componentCls}-${t}`]:{color:l,background:v,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:f,borderColor:f},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var lv=(0,_.b)(["Tag","preset"],e=>{const t=_u(e);return iv(t)},ed);function sv(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const hc=(e,t,a)=>{const l=sv(a);return{[`${e.componentCls}-${t}`]:{color:e[`color${a}`],background:e[`color${l}Bg`],borderColor:e[`color${l}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var cv=(0,_.b)(["Tag","status"],e=>{const t=_u(e);return[hc(t,"success","Success"),hc(t,"processing","Info"),hc(t,"error","Error"),hc(t,"warning","Warning")]},ed),uv=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{const{prefixCls:a,className:l,rootClassName:o,style:v,children:f,icon:p,color:m,onClose:g,closeIcon:h,closable:y,bordered:I=!0}=e,L=uv(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:N,direction:j,tag:z}=n.useContext(Y.E_),[ie,J]=n.useState(!0);n.useEffect(()=>{"visible"in L&&J(L.visible)},[L.visible]);const X=(0,Md.o2)(m),ce=(0,Md.yT)(m),ve=X||ce,ye=Object.assign(Object.assign({backgroundColor:m&&!ve?m:void 0},z==null?void 0:z.style),v),we=N("tag",a),[Ee,$e]=Td(we),Qe=$()(we,z==null?void 0:z.className,{[`${we}-${m}`]:ve,[`${we}-has-color`]:m&&!ve,[`${we}-hidden`]:!ie,[`${we}-rtl`]:j==="rtl",[`${we}-borderless`]:!I},l,o,$e),mn=It=>{It.stopPropagation(),g==null||g(It),!It.defaultPrevented&&J(!1)},[,St]=(0,Nd.Z)(y,h,It=>It===null?n.createElement(O.Z,{className:`${we}-close-icon`,onClick:mn}):n.createElement("span",{className:`${we}-close-icon`,onClick:mn},It),null,!1),qe=typeof L.onClick=="function"||f&&f.type==="a",ht=p||null,jt=ht?n.createElement(n.Fragment,null,ht,f&&n.createElement("span",null,f)):f,gr=n.createElement("span",Object.assign({},L,{ref:t,className:Qe,style:ye}),jt,St,X&&n.createElement(lv,{key:"preset",prefixCls:we}),ce&&n.createElement(cv,{key:"status",prefixCls:we}));return Ee(qe?n.createElement(tv.Z,{component:"Tag"},gr):gr)},Dd=n.forwardRef(dv);Dd.CheckableTag=ov;var fv=Dd,vv=i(9361),mv=i(68351),gv=i(12845),Ad=i(2788),pv=i(66680);function hv(e){var t=window.innerWidth||document.documentElement.clientWidth,a=window.innerHeight||document.documentElement.clientHeight,l=e.getBoundingClientRect(),o=l.top,v=l.right,f=l.bottom,p=l.left;return o>=0&&p>=0&&v<=t&&f<=a}function bv(e,t,a){var l;return(l=a!=null?a:t)!==null&&l!==void 0?l:e===null?"center":"bottom"}function yv(e,t,a,l){var o=(0,n.useState)(void 0),v=(0,Ae.Z)(o,2),f=v[0],p=v[1];(0,sl.Z)(function(){var j=typeof e=="function"?e():e;p(j||null)});var m=(0,n.useState)(null),g=(0,Ae.Z)(m,2),h=g[0],y=g[1],I=(0,pv.Z)(function(){if(f){!hv(f)&&t&&f.scrollIntoView(l);var j=f.getBoundingClientRect(),z=j.left,ie=j.top,J=j.width,X=j.height,ce={left:z,top:ie,width:J,height:X,radius:0};y(function(ve){return JSON.stringify(ve)!==JSON.stringify(ce)?ce:ve})}else y(null)}),L=function(z){var ie;return(ie=Array.isArray(a==null?void 0:a.offset)?a==null?void 0:a.offset[z]:a==null?void 0:a.offset)!==null&&ie!==void 0?ie:6};(0,sl.Z)(function(){return I(),window.addEventListener("resize",I),function(){window.removeEventListener("resize",I)}},[f,t,I]);var N=(0,n.useMemo)(function(){if(!h)return h;var j=L(0),z=L(1),ie=(a==null?void 0:a.radius)||2;return{left:h.left-j,top:h.top-z,width:h.width+j*2,height:h.height+z*2,radius:ie}},[h,a]);return[N,f]}var Sv=i(7028),bc={fill:"transparent",pointerEvents:"auto"},Cv=function(t){var a=t.prefixCls,l=t.rootClassName,o=t.pos,v=t.showMask,f=t.style,p=f===void 0?{}:f,m=t.fill,g=m===void 0?"rgba(0,0,0,0.5)":m,h=t.open,y=t.animated,I=t.zIndex,L=(0,Sv.Z)(),N="".concat(a,"-mask-").concat(L),j=(0,Ho.Z)(y)==="object"?y==null?void 0:y.placeholder:y;return n.createElement(Ad.Z,{open:h,autoLock:!0},n.createElement("div",{className:$()("".concat(a,"-mask"),l),style:(0,ze.Z)({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:I,pointerEvents:"none"},p)},v?n.createElement("svg",{style:{width:"100%",height:"100%"}},n.createElement("defs",null,n.createElement("mask",{id:N},n.createElement("rect",{x:"0",y:"0",width:"100vw",height:"100vh",fill:"white"}),o&&n.createElement("rect",{x:o.left,y:o.top,rx:o.radius,width:o.width,height:o.height,fill:"black",className:j?"".concat(a,"-placeholder-animated"):""}))),n.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:g,mask:"url(#".concat(N,")")}),o&&n.createElement(n.Fragment,null,n.createElement("rect",(0,Bt.Z)({},bc,{x:"0",y:"0",width:"100%",height:o.top})),n.createElement("rect",(0,Bt.Z)({},bc,{x:"0",y:"0",width:o.left,height:"100%"})),n.createElement("rect",(0,Bt.Z)({},bc,{x:"0",y:o.top+o.height,width:"100%",height:"calc(100vh - ".concat(o.top+o.height,"px)")})),n.createElement("rect",(0,Bt.Z)({},bc,{x:o.left+o.width,y:"0",width:"calc(100vw - ".concat(o.left+o.width,"px)"),height:"100%"})))):null))},xv=Cv,zg={adjustX:1,adjustY:1},wv=[0,0],jd={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tl"],offset:[0,-8]},leftTop:{points:["tr","tl"],offset:[-8,0]},topRight:{points:["br","tr"],offset:[0,-8]},rightTop:{points:["tl","tr"],offset:[8,0]},bottomRight:{points:["tr","br"],offset:[0,8]},rightBottom:{points:["bl","br"],offset:[8,0]},bottomLeft:{points:["tl","bl"],offset:[0,8]},leftBottom:{points:["br","bl"],offset:[-8,0]}};function Ld(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t={};return Object.keys(jd).forEach(function(a){t[a]=(0,ze.Z)((0,ze.Z)({},jd[a]),{},{autoArrow:e,targetOffset:wv})}),t}var Bg=Ld();function Ev(e){var t=e.prefixCls,a=e.current,l=e.total,o=e.title,v=e.description,f=e.onClose,p=e.onPrev,m=e.onNext,g=e.onFinish,h=e.className,y=e.closeIcon,I=y!==!1&&y!==null,L=y!==void 0&&y!==!0?y:n.createElement("span",{className:"".concat(t,"-close-x")},"\xD7");return n.createElement("div",{className:$()("".concat(t,"-content"),h)},n.createElement("div",{className:"".concat(t,"-inner")},I&&n.createElement("button",{type:"button",onClick:f,"aria-label":"Close",className:"".concat(t,"-close")},L),n.createElement("div",{className:"".concat(t,"-header")},n.createElement("div",{className:"".concat(t,"-title")},o)),n.createElement("div",{className:"".concat(t,"-description")},v),n.createElement("div",{className:"".concat(t,"-footer")},n.createElement("div",{className:"".concat(t,"-sliders")},l>1?(0,Nt.Z)(Array.from({length:l}).keys()).map(function(N,j){return n.createElement("span",{key:N,className:j===a?"active":""})}):null),n.createElement("div",{className:"".concat(t,"-buttons")},a!==0?n.createElement("button",{className:"".concat(t,"-prev-btn"),onClick:p},"Prev"):null,a===l-1?n.createElement("button",{className:"".concat(t,"-finish-btn"),onClick:g},"Finish"):n.createElement("button",{className:"".concat(t,"-next-btn"),onClick:m},"Next")))))}var Pv=function(t){var a=t.current,l=t.renderPanel;return n.createElement(n.Fragment,null,typeof l=="function"?l(t,a):n.createElement(Ev,t))},Ov=Pv,$v=["prefixCls","steps","defaultCurrent","current","onChange","onClose","onFinish","open","mask","arrow","rootClassName","placement","renderPanel","gap","animated","scrollIntoViewOptions","zIndex","closeIcon"],Iv={left:"50%",top:"50%",width:1,height:1},Zv=function(t){var a=t.prefixCls,l=a===void 0?"rc-tour":a,o=t.steps,v=o===void 0?[]:o,f=t.defaultCurrent,p=t.current,m=t.onChange,g=t.onClose,h=t.onFinish,y=t.open,I=t.mask,L=I===void 0?!0:I,N=t.arrow,j=N===void 0?!0:N,z=t.rootClassName,ie=t.placement,J=t.renderPanel,X=t.gap,ce=t.animated,ve=t.scrollIntoViewOptions,ye=ve===void 0?!0:ve,we=t.zIndex,Ee=we===void 0?1001:we,$e=t.closeIcon,Qe=(0,po.Z)(t,$v),mn=n.useRef(),St=(0,to.Z)(0,{value:p,defaultValue:f}),qe=(0,Ae.Z)(St,2),ht=qe[0],jt=qe[1],gr=(0,to.Z)(void 0,{value:y,postState:function(_a){return ht<0||ht>=v.length?!1:_a!=null?_a:!0}}),It=(0,Ae.Z)(gr,2),or=It[0],vo=It[1],Br=n.useRef(or);(0,sl.Z)(function(){or&&!Br.current&&jt(0),Br.current=or},[or]);var Pn=v[ht]||{},mo=Pn.target,ta=Pn.placement,Yr=Pn.style,eo=Pn.arrow,No=Pn.className,na=Pn.mask,Zo=Pn.scrollIntoViewOptions,jn=Pn.closeIcon,cn=or&&(na!=null?na:L),pr=jn!=null?jn:$e,xa=Zo!=null?Zo:ye,Xn=yv(mo,y,X,xa),uo=(0,Ae.Z)(Xn,2),Yo=uo[0],Zr=uo[1],jr=bv(Zr,ie,ta),Hr=Zr?typeof eo=="undefined"?j:eo:!1,ga=(0,Ho.Z)(Hr)==="object"?Hr.pointAtCenter:!1;(0,sl.Z)(function(){var pa;(pa=mn.current)===null||pa===void 0||pa.forceAlign()},[ga,ht]);var aa=function(_a){jt(_a),m==null||m(_a)};if(Zr===void 0)return null;var Ea=function(){vo(!1),g==null||g(ht)},sa=function(){return n.createElement(Ov,(0,Bt.Z)({arrow:Hr,key:"content",prefixCls:l,total:v.length,renderPanel:J,onPrev:function(){aa(ht-1)},onNext:function(){aa(ht+1)},onClose:Ea,current:ht,onFinish:function(){Ea(),h==null||h()},closeIcon:pr},v[ht]))},Pi=typeof cn=="boolean"?cn:!!cn,qa=typeof cn=="boolean"?void 0:cn,go=function(_a){return _a||Zr||document.body};return n.createElement(n.Fragment,null,n.createElement(xv,{zIndex:Ee,prefixCls:l,pos:Yo,showMask:Pi,style:qa==null?void 0:qa.style,fill:qa==null?void 0:qa.color,open:or,animated:ce,rootClassName:z}),n.createElement(dc.Z,(0,Bt.Z)({builtinPlacements:Ld(ga)},Qe,{ref:mn,popupStyle:Yr,popupPlacement:jr,popupVisible:or,popupClassName:$()(z,No),prefixCls:l,popup:sa,forceRender:!1,destroyPopupOnHide:!0,zIndex:Ee,getTriggerDOMNode:go,arrow:!!Hr}),n.createElement(Ad.Z,{open:or,autoLock:!0},n.createElement("div",{className:$()(z,"".concat(l,"-target-placeholder")),style:(0,ze.Z)((0,ze.Z)({},Yo||Iv),{},{position:"fixed",pointerEvents:"none"})}))))},Rv=Zv,Mv=Rv,Nv=i(80636);function td(e){return e!=null}var Fd=e=>{let{stepProps:t,current:a,type:l,indicatorsRender:o,closeIcon:v}=e;var f,p;const{prefixCls:m,total:g=1,title:h,onClose:y,onPrev:I,onNext:L,onFinish:N,cover:j,description:z,nextButtonProps:ie,prevButtonProps:J,type:X,className:ce,closeIcon:ve}=t,ye=X!=null?X:l,we=ve!=null?ve:v,Ee=we!==!1&&we!==null,[$e,Qe]=(0,Nd.Z)(Ee,we,Pn=>n.createElement("span",{onClick:y,"aria-label":"Close",className:`${m}-close`},Pn),n.createElement(O.Z,{className:`${m}-close-icon`}),!0),mn=a===g-1,St=()=>{var Pn;I==null||I(),(Pn=J==null?void 0:J.onClick)===null||Pn===void 0||Pn.call(J)},qe=()=>{var Pn;mn?N==null||N():L==null||L(),(Pn=ie==null?void 0:ie.onClick)===null||Pn===void 0||Pn.call(ie)},ht=td(h)?n.createElement("div",{className:`${m}-header`},n.createElement("div",{className:`${m}-title`},h)):null,jt=td(z)?n.createElement("div",{className:`${m}-description`},z):null,gr=td(j)?n.createElement("div",{className:`${m}-cover`},j):null;let It;o?It=o(a,g):It=(0,Nt.Z)(Array.from({length:g}).keys()).map((Pn,mo)=>n.createElement("span",{key:Pn,className:$()(mo===a&&`${m}-indicator-active`,`${m}-indicator`)}));const or=ye==="primary"?"default":"primary",vo={type:"default",ghost:ye==="primary"},[Br]=(0,fo.Z)("Tour",Fr.Z.Tour);return n.createElement("div",{className:$()(ce,`${m}-content`)},n.createElement("div",{className:`${m}-inner`},$e&&Qe,gr,ht,jt,n.createElement("div",{className:`${m}-footer`},g>1&&n.createElement("div",{className:`${m}-indicators`},It),n.createElement("div",{className:`${m}-buttons`},a!==0?n.createElement(zr.ZP,Object.assign({},vo,J,{onClick:St,size:"small",className:$()(`${m}-prev-btn`,J==null?void 0:J.className)}),(f=J==null?void 0:J.children)!==null&&f!==void 0?f:Br==null?void 0:Br.Previous):null,n.createElement(zr.ZP,Object.assign({type:or},ie,{onClick:qe,size:"small",className:$()(`${m}-next-btn`,ie==null?void 0:ie.className)}),(p=ie==null?void 0:ie.children)!==null&&p!==void 0?p:mn?Br==null?void 0:Br.Finish:Br==null?void 0:Br.Next)))))},zd=i(97414);const Tv=e=>{const{componentCls:t,lineHeight:a,padding:l,paddingXS:o,borderRadius:v,borderRadiusXS:f,colorPrimary:p,colorText:m,colorFill:g,indicatorHeight:h,indicatorWidth:y,boxShadowTertiary:I,tourZIndexPopup:L,fontSize:N,colorBgElevated:j,fontWeightStrong:z,marginXS:ie,colorTextLightSolid:J,tourBorderRadius:X,colorWhite:ce,colorBgTextHover:ve,tourCloseSize:ye,motionDurationSlow:we,antCls:Ee}=e;return[{[t]:Object.assign(Object.assign({},(0,de.Wf)(e)),{color:m,position:"absolute",zIndex:L,display:"block",visibility:"visible",fontSize:N,lineHeight:a,width:520,"--antd-arrow-background-color":j,"&-pure":{maxWidth:"100%",position:"relative"},[`&${t}-hidden`]:{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:X,boxShadow:I,position:"relative",backgroundColor:j,border:"none",backgroundClip:"padding-box",[`${t}-close`]:{position:"absolute",top:l,insetInlineEnd:l,color:e.colorIcon,outline:"none",width:ye,height:ye,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.wireframe?"transparent":e.colorFillContent}},[`${t}-cover`]:{textAlign:"center",padding:`${l+ye+o}px ${l}px 0`,img:{width:"100%"}},[`${t}-header`]:{padding:`${l}px ${l}px ${o}px`,[`${t}-title`]:{lineHeight:a,fontSize:N,fontWeight:z}},[`${t}-description`]:{padding:`0 ${l}px`,lineHeight:a,wordWrap:"break-word"},[`${t}-footer`]:{padding:`${o}px ${l}px ${l}px`,textAlign:"end",borderRadius:`0 0 ${f}px ${f}px`,display:"flex",[`${t}-indicators`]:{display:"inline-block",[`${t}-indicator`]:{width:y,height:h,display:"inline-block",borderRadius:"50%",background:g,"&:not(:last-child)":{marginInlineEnd:h},"&-active":{background:p}}},[`${t}-buttons`]:{marginInlineStart:"auto",[`${Ee}-btn`]:{marginInlineStart:ie}}}},[`${t}-primary, &${t}-primary`]:{"--antd-arrow-background-color":p,[`${t}-inner`]:{color:J,textAlign:"start",textDecoration:"none",backgroundColor:p,borderRadius:v,boxShadow:I,[`${t}-close`]:{color:J},[`${t}-indicators`]:{[`${t}-indicator`]:{background:new di.C(J).setAlpha(.15).toRgbString(),"&-active":{background:J}}},[`${t}-prev-btn`]:{color:J,borderColor:new di.C(J).setAlpha(.15).toRgbString(),backgroundColor:p,"&:hover":{backgroundColor:new di.C(J).setAlpha(.15).toRgbString(),borderColor:"transparent"}},[`${t}-next-btn`]:{color:p,borderColor:"transparent",background:ce,"&:hover":{background:new di.C(ve).onBackground(ce).toRgbString()}}}}}),[`${t}-mask`]:{[`${t}-placeholder-animated`]:{transition:`all ${we}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(X,zd.qN)}}},(0,zd.ZP)(e,{colorBg:"var(--antd-arrow-background-color)",contentRadius:X,limitVerticalRadius:!0})]};var Bd=(0,_.Z)("Tour",e=>{const{borderRadiusLG:t,fontSize:a,lineHeight:l}=e,o=(0,Nn.TS)(e,{tourZIndexPopup:e.zIndexPopupBase+70,indicatorWidth:6,indicatorHeight:6,tourBorderRadius:t,tourCloseSize:a*l});return[Tv(o)]}),Dv=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,current:a=0,total:l=6,className:o,style:v,type:f}=e,p=Dv(e,["prefixCls","current","total","className","style","type"]),{getPrefixCls:m}=n.useContext(Y.E_),g=m("tour",t),[h,y]=Bd(g);return h(n.createElement(mt.t5,{prefixCls:g,hashId:y,className:$()(o,`${g}-pure`,f&&`${g}-${f}`),style:v},n.createElement(Fd,{stepProps:Object.assign(Object.assign({},p),{prefixCls:g,total:l}),current:a,type:f})))};var jv=(0,Qt.i)(Av),Lv=e=>{let{defaultType:t,steps:a=[],current:l,defaultCurrent:o}=e;var v;const[f,p]=(0,to.Z)(o,{value:l});(0,n.useLayoutEffect)(()=>{l!==void 0&&p(l)},[l]);const m=typeof f=="number"?(v=a[f])===null||v===void 0?void 0:v.type:t;return{currentMergedType:m!=null?m:t,updateInnerCurrent:p}},Fv=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,current:a,defaultCurrent:l,type:o,rootClassName:v,indicatorsRender:f,steps:p}=e,m=Fv(e,["prefixCls","current","defaultCurrent","type","rootClassName","indicatorsRender","steps"]),{getPrefixCls:g,direction:h}=(0,n.useContext)(Y.E_),y=g("tour",t),[I,L]=Bd(y),[,N]=(0,Sa.Z)(),{currentMergedType:j,updateInnerCurrent:z}=Lv({defaultType:o,steps:p,current:a,defaultCurrent:l}),ie=(0,Nv.Z)({arrowPointAtCenter:!0,autoAdjustOverflow:!0,offset:N.marginXXS,arrowWidth:N.sizePopupArrow,borderRadius:N.borderRadius}),J=$()({[`${y}-primary`]:j==="primary",[`${y}-rtl`]:h==="rtl"},L,v),X=(ve,ye)=>n.createElement(Fd,{type:o,stepProps:ve,current:ye,indicatorsRender:f}),ce=ve=>{var ye;z(ve),(ye=e.onChange)===null||ye===void 0||ye.call(e,ve)};return I(n.createElement(Mv,Object.assign({},m,{rootClassName:J,prefixCls:y,current:a,defaultCurrent:l,animated:!0,renderPanel:X,builtinPlacements:ie,onChange:ce,steps:p})))};Hd._InternalPanelDoNotUseOrYouWillBeFired=jv;var zv=Hd;const yc=e=>{const t=new Map;return e.forEach((a,l)=>{t.set(a,l)}),t},Bv=e=>{const t=new Map;return e.forEach((a,l)=>{let{disabled:o,key:v}=a;o&&t.set(v,l)}),t};function Hv(e,t,a){const l=n.useMemo(()=>(e||[]).map(f=>(t&&(f=Object.assign(Object.assign({},f),{key:t(f)})),f)),[e,t]),[o,v]=n.useMemo(()=>{const f=[],p=new Array((a||[]).length),m=yc(a||[]);return l.forEach(g=>{m.has(g.key)?p[m.get(g.key)]=g:f.push(g)}),[f,p]},[l,a,t]);return[l,o,v]}var Wv=Hv;const Vv=[];function Jl(e,t){const a=e.filter(l=>t.has(l));return e.length===a.length?e:a}function Wd(e){return Array.from(e).join(";")}function kv(e,t){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Vv;const[l,o]=n.useMemo(()=>[new Set(e.map(g=>g.key)),new Set(t.map(g=>g.key))],[e,t]),[v,f]=n.useState(()=>Jl(a,l)),[p,m]=n.useState(()=>Jl(a,o));return n.useEffect(()=>{f(Jl(a,l)),m(Jl(a,o))},[a]),n.useEffect(()=>{f(Jl(v,l)),m(Jl(p,o))},[Wd(l),Wd(o)]),[v,p,f,m]}var Kv=i(13622),Uv=i(58142),Xv=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{const a=g=>{const{keyCode:h}=g;h===_t.Z.ENTER&&g.preventDefault()},l=g=>{const{keyCode:h}=g,{onClick:y}=e;h===_t.Z.ENTER&&y&&y()},{style:o,noStyle:v,disabled:f}=e,p=Xv(e,["style","noStyle","disabled"]);let m={};return v||(m=Object.assign({},Yv)),f&&(m.pointerEvents="none"),m=Object.assign(Object.assign({},m),o),n.createElement("div",Object.assign({role:"button",tabIndex:0,ref:t},p,{onKeyDown:a,onKeyUp:l,style:m}))});const Gv=e=>{const{renderedText:t,renderedEl:a,item:l,checked:o,disabled:v,prefixCls:f,onClick:p,onRemove:m,showRemove:g}=e,h=$()(`${f}-content-item`,{[`${f}-content-item-disabled`]:v||l.disabled,[`${f}-content-item-checked`]:o});let y;(typeof t=="string"||typeof t=="number")&&(y=String(t));const[I]=(0,fo.Z)("Transfer",Fr.Z.Transfer),L={className:h,title:y},N=n.createElement("span",{className:`${f}-content-item-text`},a);return g?n.createElement("li",Object.assign({},L),N,n.createElement(nd,{disabled:v||l.disabled,className:`${f}-content-item-remove`,"aria-label":I==null?void 0:I.remove,onClick:()=>{m==null||m(l)}},n.createElement(Uv.Z,null))):(L.onClick=v||l.disabled?void 0:()=>p(l),n.createElement("li",Object.assign({},L),n.createElement(qn.Z,{className:`${f}-checkbox`,checked:o,disabled:v||l.disabled}),N))};var Qv=n.memo(Gv);const Jv=["handleFilter","handleClear","checkedKeys"],qv=e=>Object.assign(Object.assign({},{simple:!0,showSizeChanger:!1,showLessItems:!1}),e),_v=(e,t)=>{const{prefixCls:a,filteredRenderItems:l,selectedKeys:o,disabled:v,showRemove:f,pagination:p,onScroll:m,onItemSelect:g,onItemRemove:h}=e,[y,I]=n.useState(1),L=n.useMemo(()=>p?qv(typeof p=="object"?p:{}):null,[p]),[N,j]=(0,to.Z)(10,{value:L==null?void 0:L.pageSize});n.useEffect(()=>{if(L){const we=Math.ceil(l.length/N);I(Math.min(y,we))}},[l,L,N]);const z=we=>{g==null||g(we.key,!o.includes(we.key))},ie=we=>{h==null||h([we.key])},J=we=>{I(we)},X=(we,Ee)=>{I(we),j(Ee)},ce=n.useMemo(()=>L?l.slice((y-1)*N,y*N):l,[y,l,L,N]);n.useImperativeHandle(t,()=>({items:ce}));const ve=L?n.createElement(vs.Z,{size:"small",disabled:v,simple:L.simple,pageSize:N,showLessItems:L.showLessItems,showSizeChanger:L.showSizeChanger,className:`${a}-pagination`,total:l.length,current:y,onChange:J,onShowSizeChange:X}):null,ye=$()(`${a}-content`,{[`${a}-content-show-remove`]:f});return n.createElement(n.Fragment,null,n.createElement("ul",{className:ye,onScroll:m},(ce||[]).map(we=>{let{renderedEl:Ee,renderedText:$e,item:Qe}=we;return n.createElement(Qv,{key:Qe.key,item:Qe,renderedText:$e,renderedEl:Ee,prefixCls:a,showRemove:f,onClick:z,onRemove:ie,checked:o.includes(Qe.key),disabled:v||Qe.disabled})})),ve)};var em=n.forwardRef(_v),tm=i(25783),Vd=e=>{const{placeholder:t="",value:a,prefixCls:l,disabled:o,onChange:v,handleClear:f}=e,p=n.useCallback(m=>{v==null||v(m),m.target.value===""&&(f==null||f())},[v]);return n.createElement(Ki.Z,{placeholder:t,className:l,value:a,onChange:p,disabled:o,allowClear:!0,prefix:n.createElement(tm.Z,null)})};const nm=()=>null;function rm(e){return!!(e&&!(0,w.l$)(e)&&Object.prototype.toString.call(e)==="[object Object]")}function Ss(e){return e.filter(t=>!t.disabled).map(t=>t.key)}const om=e=>e!==void 0;var rd=e=>{const{prefixCls:t,dataSource:a=[],titleText:l="",checkedKeys:o,disabled:v,showSearch:f=!1,style:p,searchPlaceholder:m,notFoundContent:g,selectAll:h,selectCurrent:y,selectInvert:I,removeAll:L,removeCurrent:N,showSelectAll:j=!0,showRemove:z,pagination:ie,direction:J,itemsUnit:X,itemUnit:ce,selectAllLabel:ve,selectionsIcon:ye,footer:we,renderList:Ee,onItemSelectAll:$e,onItemRemove:Qe,handleFilter:mn,handleClear:St,filterOption:qe,render:ht=nm}=e,[jt,gr]=(0,n.useState)(""),It=(0,n.useRef)({}),or=Zr=>{gr(Zr.target.value),mn(Zr)},vo=()=>{gr(""),St()},Br=(Zr,jr)=>qe?qe(jt,jr,J):Zr.includes(jt),Pn=Zr=>{let jr=Ee?Ee(Zr):null;const Hr=!!jr;return Hr||(jr=n.createElement(em,Object.assign({ref:It},Zr))),{customize:Hr,bodyContent:jr}},mo=Zr=>{const jr=ht(Zr),Hr=rm(jr);return{item:Zr,renderedEl:Hr?jr.label:jr,renderedText:Hr?jr.value:jr}},ta=(0,n.useMemo)(()=>Array.isArray(g)?g[J==="left"?0:1]:g,[g,J]),[Yr,eo]=(0,n.useMemo)(()=>{const Zr=[],jr=[];return a.forEach(Hr=>{const ga=mo(Hr);jt&&!Br(ga.renderedText,Hr)||(Zr.push(Hr),jr.push(ga))}),[Zr,jr]},[a,jt]),No=(0,n.useMemo)(()=>{if(o.length===0)return"none";const Zr=yc(o);return Yr.every(jr=>Zr.has(jr.key)||!!jr.disabled)?"all":"part"},[o,Yr]),na=(0,n.useMemo)(()=>{const Zr=f?n.createElement("div",{className:`${t}-body-search-wrapper`},n.createElement(Vd,{prefixCls:`${t}-search`,onChange:or,handleClear:vo,placeholder:m,value:jt,disabled:v})):null,{customize:jr,bodyContent:Hr}=Pn(Object.assign(Object.assign({},(0,Xt.Z)(e,Jv)),{filteredItems:Yr,filteredRenderItems:eo,selectedKeys:o}));let ga;return jr?ga=n.createElement("div",{className:`${t}-body-customize-wrapper`},Hr):ga=Yr.length?Hr:n.createElement("div",{className:`${t}-body-not-found`},ta),n.createElement("div",{className:$()(f?`${t}-body ${t}-body-with-search`:`${t}-body`)},Zr,ga)},[f,t,m,jt,v,o,Yr,eo,ta]),Zo=n.createElement(qn.Z,{disabled:a.length===0||v,checked:No==="all",indeterminate:No==="part",className:`${t}-checkbox`,onChange:()=>{$e==null||$e(Yr.filter(Zr=>!Zr.disabled).map(Zr=>{let{key:jr}=Zr;return jr}),No!=="all")}}),jn=(Zr,jr)=>{if(ve)return typeof ve=="function"?ve({selectedCount:Zr,totalCount:jr}):ve;const Hr=jr>1?X:ce;return n.createElement(n.Fragment,null,(Zr>0?`${Zr}/`:"")+jr," ",Hr)},cn=we&&(we.length<2?we(e):we(e,{direction:J})),pr=$()(t,{[`${t}-with-pagination`]:!!ie,[`${t}-with-footer`]:!!cn}),xa=cn?n.createElement("div",{className:`${t}-footer`},cn):null,Xn=!z&&!ie&&Zo;let uo;z?uo=[ie?{key:"removeCurrent",label:N,onClick(){var Zr;const jr=Ss((((Zr=It.current)===null||Zr===void 0?void 0:Zr.items)||[]).map(Hr=>Hr.item));Qe==null||Qe(jr)}}:null,{key:"removeAll",label:L,onClick(){Qe==null||Qe(Ss(Yr))}}].filter(Boolean):uo=[{key:"selectAll",label:h,onClick(){const Zr=Ss(Yr);$e==null||$e(Zr,Zr.length!==o.length)}},ie?{key:"selectCurrent",label:y,onClick(){var Zr;const jr=((Zr=It.current)===null||Zr===void 0?void 0:Zr.items)||[];$e==null||$e(Ss(jr.map(Hr=>Hr.item)),!0)}}:null,{key:"selectInvert",label:I,onClick(){var Zr;const jr=Ss(ie?(((Zr=It.current)===null||Zr===void 0?void 0:Zr.items)||[]).map(Ea=>Ea.item):Yr),Hr=new Set(o),ga=[],aa=[];jr.forEach(Ea=>{Hr.has(Ea)?aa.push(Ea):ga.push(Ea)}),$e==null||$e(ga,"replace")}}];const Yo=n.createElement(Vs.Z,{className:`${t}-header-dropdown`,menu:{items:uo},disabled:v},om(ye)?ye:n.createElement(Kv.Z,null));return n.createElement("div",{className:pr,style:p},n.createElement("div",{className:`${t}-header`},j?n.createElement(n.Fragment,null,Xn,Yo):null,n.createElement("span",{className:`${t}-header-selected`},jn(o.length,Yr.length)),n.createElement("span",{className:`${t}-header-title`},l)),na,xa)},kd=i(62946),Kd=e=>{const{disabled:t,moveToLeft:a,moveToRight:l,leftArrowText:o="",rightArrowText:v="",leftActive:f,rightActive:p,className:m,style:g,direction:h,oneWay:y}=e;return n.createElement("div",{className:m,style:g},n.createElement(zr.ZP,{type:"primary",size:"small",disabled:t||!p,onClick:l,icon:h!=="rtl"?n.createElement(nn.Z,null):n.createElement(kd.Z,null)},v),!y&&n.createElement(zr.ZP,{type:"primary",size:"small",disabled:t||!f,onClick:a,icon:h!=="rtl"?n.createElement(kd.Z,null):n.createElement(nn.Z,null)},o))};const am=e=>{const{antCls:t,componentCls:a,listHeight:l,controlHeightLG:o,marginXXS:v,margin:f}=e,p=`${t}-table`,m=`${t}-input`;return{[`${a}-customize-list`]:{[`${a}-list`]:{flex:"1 1 50%",width:"auto",height:"auto",minHeight:l},[`${p}-wrapper`]:{[`${p}-small`]:{border:0,borderRadius:0,[`${p}-selection-column`]:{width:o,minWidth:o}},[`${p}-pagination${p}-pagination`]:{margin:`${f}px 0 ${v}px`}},[`${m}[disabled]`]:{backgroundColor:"transparent"}}}},Ud=(e,t)=>{const{componentCls:a,colorBorder:l}=e;return{[`${a}-list`]:{borderColor:t,"&-search:not([disabled])":{borderColor:l}}}},im=e=>{const{componentCls:t}=e;return{[`${t}-status-error`]:Object.assign({},Ud(e,e.colorError)),[`${t}-status-warning`]:Object.assign({},Ud(e,e.colorWarning))}},lm=e=>{const{componentCls:t,colorBorder:a,colorSplit:l,lineWidth:o,itemHeight:v,headerHeight:f,transferHeaderVerticalPadding:p,itemPaddingBlock:m,controlItemBgActive:g,colorTextDisabled:h,listHeight:y,listWidth:I,listWidthLG:L,fontSizeIcon:N,marginXS:j,paddingSM:z,lineType:ie,antCls:J,iconCls:X,motionDurationSlow:ce,controlItemBgHover:ve,borderRadiusLG:ye,colorBgContainer:we,colorText:Ee,controlItemBgActiveHover:$e}=e;return{display:"flex",flexDirection:"column",width:I,height:y,border:`${o}px ${ie} ${a}`,borderRadius:e.borderRadiusLG,"&-with-pagination":{width:L,height:"auto"},"&-search":{[`${X}-search`]:{color:h}},"&-header":{display:"flex",flex:"none",alignItems:"center",height:f,padding:`${p-o}px ${z}px ${p}px`,color:Ee,background:we,borderBottom:`${o}px ${ie} ${l}`,borderRadius:`${ye}px ${ye}px 0 0`,"> *:not(:last-child)":{marginInlineEnd:4},"> *":{flex:"none"},"&-title":Object.assign(Object.assign({},de.vS),{flex:"auto",textAlign:"end"}),"&-dropdown":Object.assign(Object.assign({},(0,de.Ro)()),{fontSize:N,transform:"translateY(10%)",cursor:"pointer","&[disabled]":{cursor:"not-allowed"}})},"&-body":{display:"flex",flex:"auto",flexDirection:"column",fontSize:e.fontSize,minHeight:0,"&-search-wrapper":{position:"relative",flex:"none",padding:z}},"&-content":{flex:"auto",margin:0,padding:0,overflow:"auto",listStyle:"none","&-item":{display:"flex",alignItems:"center",minHeight:v,padding:`${m}px ${z}px`,transition:`all ${ce}`,"> *:not(:last-child)":{marginInlineEnd:j},"> *":{flex:"none"},"&-text":Object.assign(Object.assign({},de.vS),{flex:"auto"}),"&-remove":{position:"relative",color:a,cursor:"pointer",transition:`all ${ce}`,"&:hover":{color:e.colorLinkHover},"&::after":{position:"absolute",inset:`-${m}px -50%`,content:'""'}},[`&:not(${t}-list-content-item-disabled)`]:{"&:hover":{backgroundColor:ve,cursor:"pointer"},[`&${t}-list-content-item-checked:hover`]:{backgroundColor:$e}},"&-checked":{backgroundColor:g},"&-disabled":{color:h,cursor:"not-allowed"}},[`&-show-remove ${t}-list-content-item:not(${t}-list-content-item-disabled):hover`]:{background:"transparent",cursor:"default"}},"&-pagination":{padding:`${e.paddingXS}px 0`,textAlign:"end",borderTop:`${o}px ${ie} ${l}`,[`${J}-pagination-options`]:{paddingInlineEnd:e.paddingXS}},"&-body-not-found":{flex:"none",width:"100%",margin:"auto 0",color:h,textAlign:"center"},"&-footer":{borderTop:`${o}px ${ie} ${l}`},"&-checkbox":{lineHeight:1}}},sm=e=>{const{antCls:t,iconCls:a,componentCls:l,headerHeight:o,marginXS:v,marginXXS:f,fontSizeIcon:p,fontSize:m,lineHeight:g,colorBgContainerDisabled:h}=e;return{[l]:Object.assign(Object.assign({},(0,de.Wf)(e)),{position:"relative",display:"flex",alignItems:"stretch",[`${l}-disabled`]:{[`${l}-list`]:{background:h}},[`${l}-list`]:lm(e),[`${l}-operation`]:{display:"flex",flex:"none",flexDirection:"column",alignSelf:"center",margin:`0 ${v}px`,verticalAlign:"middle",[`${t}-btn`]:{display:"block","&:first-child":{marginBottom:f},[a]:{fontSize:p}}},[`${t}-empty-image`]:{maxHeight:o/2-Math.round(m*g)}})}},cm=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}};var um=(0,_.Z)("Transfer",e=>{const{fontSize:t,lineHeight:a,lineWidth:l,controlHeightLG:o}=e,v=Math.round(t*a),f=(0,Nn.TS)(e,{transferHeaderVerticalPadding:Math.ceil((o-l-v)/2)});return[sm(f),am(f),im(f),cm(f)]},e=>{const{fontSize:t,lineHeight:a,controlHeight:l,controlHeightLG:o}=e,v=Math.round(t*a);return{listWidth:180,listHeight:200,listWidthLG:250,headerHeight:o,itemHeight:l,itemPaddingBlock:(l-v)/2}});const Sc=e=>{const{dataSource:t,targetKeys:a=[],selectedKeys:l,selectAllLabels:o=[],operations:v=[],style:f={},listStyle:p={},locale:m={},titles:g,disabled:h,showSearch:y=!1,operationStyle:I,showSelectAll:L,oneWay:N,pagination:j,status:z,prefixCls:ie,className:J,rootClassName:X,selectionsIcon:ce,filterOption:ve,render:ye,footer:we,children:Ee,rowKey:$e,onScroll:Qe,onChange:mn,onSearch:St,onSelectChange:qe}=e,{getPrefixCls:ht,renderEmpty:jt,direction:gr,transfer:It}=(0,n.useContext)(Y.E_),or=ht("transfer",ie),[vo,Br]=um(or),[Pn,mo,ta]=Wv(t,$e,a),[Yr,eo,No,na]=kv(mo,ta,l),Zo=(0,n.useCallback)((In,Ro)=>{if(In==="left"){const Ya=typeof Ro=="function"?Ro(Yr||[]):Ro;No(Ya)}else{const Ya=typeof Ro=="function"?Ro(eo||[]):Ro;na(Ya)}},[Yr,eo]),jn=(0,n.useCallback)((In,Ro)=>{In==="left"?qe==null||qe(Ro,eo):qe==null||qe(Yr,Ro)},[Yr,eo]),cn=In=>{var Ro;return(Ro=g!=null?g:In.titles)!==null&&Ro!==void 0?Ro:[]},pr=In=>{Qe==null||Qe("left",In)},xa=In=>{Qe==null||Qe("right",In)},Xn=In=>{const Ro=In==="right"?Yr:eo,Ya=Bv(Pn),Ti=Ro.filter(Es=>!Ya.has(Es)),tl=yc(Ti),Dl=In==="right"?Ti.concat(a):a.filter(Es=>!tl.has(Es)),_l=In==="right"?"left":"right";Zo(_l,[]),jn(_l,[]),mn==null||mn(Dl,In,Ti)},uo=()=>{Xn("left")},Yo=()=>{Xn("right")},Zr=(In,Ro,Ya)=>{Zo(In,Ti=>{let tl=[];if(Ya==="replace")tl=Ro;else if(Ya)tl=Array.from(new Set([].concat((0,Nt.Z)(Ti),(0,Nt.Z)(Ro))));else{const Dl=yc(Ro);tl=Ti.filter(_l=>!Dl.has(_l))}return jn(In,tl),tl})},jr=(In,Ro)=>{Zr("left",In,Ro)},Hr=(In,Ro)=>{Zr("right",In,Ro)},ga=In=>St==null?void 0:St("left",In.target.value),aa=In=>St==null?void 0:St("right",In.target.value),Ea=()=>St==null?void 0:St("left",""),sa=()=>St==null?void 0:St("right",""),Pi=(In,Ro,Ya)=>{const Ti=(0,Nt.Z)(In==="left"?Yr:eo),tl=Ti.indexOf(Ro);tl>-1&&Ti.splice(tl,1),Ya&&Ti.push(Ro),jn(In,Ti),e.selectedKeys||Zo(In,Ti)},qa=(In,Ro)=>{Pi("left",In,Ro)},go=(In,Ro)=>{Pi("right",In,Ro)},pa=In=>{Zo("right",[]),mn==null||mn(a.filter(Ro=>!In.includes(Ro)),"left",(0,Nt.Z)(In))},_a=In=>typeof p=="function"?p({direction:In}):p||{},Nl=(0,n.useContext)(Fo.aM),{hasFeedback:xs,status:ql}=Nl,bl=In=>Object.assign(Object.assign(Object.assign({},In),{notFoundContent:(jt==null?void 0:jt("Transfer"))||n.createElement(fs.Z,{componentName:"Transfer"})}),m),ws=(0,Ko.F)(ql,z),ol=!Ee&&j,ml=eo.length>0,yl=Yr.length>0,Bl=$()(or,{[`${or}-disabled`]:h,[`${or}-customize-list`]:!!Ee,[`${or}-rtl`]:gr==="rtl"},(0,Ko.Z)(or,ws,xs),It==null?void 0:It.className,J,X,Br),[Tl]=(0,fo.Z)("Transfer",Fr.Z.Transfer),El=bl(Tl),[Hl,Dr]=cn(El);return vo(n.createElement("div",{className:Bl,style:Object.assign(Object.assign({},It==null?void 0:It.style),f)},n.createElement(rd,Object.assign({prefixCls:`${or}-list`,titleText:Hl,dataSource:mo,filterOption:ve,style:_a("left"),checkedKeys:Yr,handleFilter:ga,handleClear:Ea,onItemSelect:qa,onItemSelectAll:jr,render:ye,showSearch:y,renderList:Ee,footer:we,onScroll:pr,disabled:h,direction:gr==="rtl"?"right":"left",showSelectAll:L,selectAllLabel:o[0],pagination:ol,selectionsIcon:ce},El)),n.createElement(Kd,{className:`${or}-operation`,rightActive:yl,rightArrowText:v[0],moveToRight:Yo,leftActive:ml,leftArrowText:v[1],moveToLeft:uo,style:I,disabled:h,direction:gr,oneWay:N}),n.createElement(rd,Object.assign({prefixCls:`${or}-list`,titleText:Dr,dataSource:ta,filterOption:ve,style:_a("right"),checkedKeys:eo,handleFilter:aa,handleClear:sa,onItemSelect:go,onItemSelectAll:Hr,onItemRemove:pa,render:ye,showSearch:y,renderList:Ee,footer:we,onScroll:xa,disabled:h,direction:gr==="rtl"?"left":"right",showSelectAll:L,selectAllLabel:o[1],showRemove:N,pagination:ol,selectionsIcon:ce},El))))};Sc.List=rd,Sc.Search=Vd,Sc.Operation=Kd;var dm=Sc,fm=i(14e3),vm=i(80361),mm={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},gm=mm,pm=function(t,a){return n.createElement(Cn.Z,(0,Bt.Z)({},t,{ref:a,icon:gm}))},hm=n.forwardRef(pm),bm={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},ym=bm,Sm=function(t,a){return n.createElement(Cn.Z,(0,Bt.Z)({},t,{ref:a,icon:ym}))},Cm=n.forwardRef(Sm),xm=i(20640),wm=i.n(xm),Xd=i(79370),Em={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},Pm=Em,Om=function(t,a){return n.createElement(Cn.Z,(0,Bt.Z)({},t,{ref:a,icon:Pm}))},$m=n.forwardRef(Om),Im=i(70006),Yd=i(49867),Zm=i(78589);const Rm=(e,t,a,l)=>{const{titleMarginBottom:o,fontWeightStrong:v}=l;return{marginBottom:o,color:a,fontWeight:v,fontSize:e,lineHeight:t}},Mm=e=>{const t=[1,2,3,4,5],a={};return t.forEach(l=>{a[` + h${l}&, + div&-h${l}, + div&-h${l} > textarea, + h${l} + `]=Rm(e[`fontSizeHeading${l}`],e[`lineHeightHeading${l}`],e.colorTextHeading,e)}),a},Nm=e=>{const{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},(0,Yd.N)(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},Tm=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:Zm.EV[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),Dm=e=>{const{componentCls:t,paddingSM:a}=e,l=a;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:-e.paddingSM,marginTop:-l,marginBottom:`calc(1em - ${l}px)`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.marginXS+2,insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},Am=e=>({"&-copy-success":{[` + &, + &:hover, + &:focus`]:{color:e.colorSuccess}}}),jm=()=>({[` + a&-ellipsis, + span&-ellipsis + `]:{display:"inline-block",maxWidth:"100%"},"&-single-line":{whiteSpace:"nowrap"},"&-ellipsis-single-line":{overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),Lm=e=>{const{componentCls:t,titleMarginTop:a}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccess},[`&${t}-warning`]:{color:e.colorWarning},[`&${t}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},[` + div&, + p + `]:{marginBottom:"1em"}},Mm(e)),{[` + & + h1${t}, + & + h2${t}, + & + h3${t}, + & + h4${t}, + & + h5${t} + `]:{marginTop:a},[` + div, + ul, + li, + p, + h1, + h2, + h3, + h4, + h5`]:{[` + + h1, + + h2, + + h3, + + h4, + + h5 + `]:{marginTop:a}}}),Tm(e)),Nm(e)),{[` + ${t}-expand, + ${t}-edit, + ${t}-copy + `]:Object.assign(Object.assign({},(0,Yd.N)(e)),{marginInlineStart:e.marginXXS})}),Dm(e)),Am(e)),jm()),{"&-rtl":{direction:"rtl"}})}};var Gd=(0,_.Z)("Typography",e=>[Lm(e)],()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"})),Fm=e=>{const{prefixCls:t,"aria-label":a,className:l,style:o,direction:v,maxLength:f,autoSize:p=!0,value:m,onSave:g,onCancel:h,onEnd:y,component:I,enterIcon:L=n.createElement($m,null)}=e,N=n.useRef(null),j=n.useRef(!1),z=n.useRef(),[ie,J]=n.useState(m);n.useEffect(()=>{J(m)},[m]),n.useEffect(()=>{if(N.current&&N.current.resizableTextArea){const{textArea:ht}=N.current.resizableTextArea;ht.focus();const{length:jt}=ht.value;ht.setSelectionRange(jt,jt)}},[]);const X=ht=>{let{target:jt}=ht;J(jt.value.replace(/[\n\r]/g,""))},ce=()=>{j.current=!0},ve=()=>{j.current=!1},ye=ht=>{let{keyCode:jt}=ht;j.current||(z.current=jt)},we=()=>{g(ie.trim())},Ee=ht=>{let{keyCode:jt,ctrlKey:gr,altKey:It,metaKey:or,shiftKey:vo}=ht;z.current===jt&&!j.current&&!gr&&!It&&!or&&!vo&&(jt===_t.Z.ENTER?(we(),y==null||y()):jt===_t.Z.ESC&&h())},$e=()=>{we()},Qe=I?`${t}-${I}`:"",[mn,St]=Gd(t),qe=$()(t,`${t}-edit-content`,{[`${t}-rtl`]:v==="rtl"},l,Qe,St);return mn(n.createElement("div",{className:qe,style:o},n.createElement(Im.Z,{ref:N,maxLength:f,value:ie,onChange:X,onKeyDown:ye,onKeyUp:Ee,onCompositionStart:ce,onCompositionEnd:ve,onBlur:$e,"aria-label":a,rows:1,autoSize:p}),L!==null?(0,w.Tm)(L,{className:`${t}-edit-content-confirm`}):null))},zm=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{const{prefixCls:a,component:l="article",className:o,rootClassName:v,setContentRef:f,children:p,direction:m,style:g}=e,h=zm(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:y,direction:I,typography:L}=n.useContext(Y.E_),N=m!=null?m:I;let j=t;f&&(j=(0,Q.sQ)(t,f));const z=y("typography",a),[ie,J]=Gd(z),X=$()(z,L==null?void 0:L.className,{[`${z}-rtl`]:N==="rtl"},o,v,J),ce=Object.assign(Object.assign({},L==null?void 0:L.style),g);return ie(n.createElement(l,Object.assign({className:X,style:ce,ref:j},h),p))});function od(e,t){return n.useMemo(()=>{const a=!!e;return[a,Object.assign(Object.assign({},t),a&&typeof e=="object"?e:null)]},[e])}var Bm=(e,t)=>{const a=n.useRef(!1);n.useEffect(()=>{a.current?e():a.current=!0},t)};function Jd(e){const t=typeof e;return t==="string"||t==="number"}function Hm(e){let t=0;return e.forEach(a=>{Jd(a)?t+=String(a).length:t+=1}),t}function ad(e,t){let a=0;const l=[];for(let o=0;ot){const g=t-a;return l.push(String(v).slice(0,g)),l}l.push(v),a=m}return e}const Wm=0,Cc=1,qd=2,id=3,ld=4;var Vm=e=>{let{enabledMeasure:t,children:a,text:l,width:o,fontSize:v,rows:f,onEllipsis:p}=e;const[[m,g,h],y]=n.useState([0,0,0]),[I,L]=n.useState(0),[N,j]=n.useState(Wm),[z,ie]=n.useState(0),J=n.useRef(null),X=n.useRef(null),ce=n.useMemo(()=>(0,Vn.Z)(l),[l]),ve=n.useMemo(()=>Hm(ce),[ce]),ye=n.useMemo(()=>!t||N!==id?I&&N!==ld&&t?a(ad(ce,I),I{t&&o&&v&&ve&&(j(Cc),y([0,Math.ceil(ve/2),ve]))},[t,o,v,l,ve,f]),(0,sl.Z)(()=>{var Qe;N===Cc&&ie(((Qe=J.current)===null||Qe===void 0?void 0:Qe.offsetHeight)||0)},[N]),(0,sl.Z)(()=>{var Qe,mn;if(z){if(N===Cc){const St=((Qe=X.current)===null||Qe===void 0?void 0:Qe.offsetHeight)||0,qe=f*z;St<=qe?(j(ld),p(!1)):j(qd)}else if(N===qd)if(m!==h){const St=((mn=X.current)===null||mn===void 0?void 0:mn.offsetHeight)||0,qe=f*z;let ht=m,jt=h;m===h-1?jt=m:St<=qe?ht=g:jt=g;const gr=Math.ceil((ht+jt)/2);y([ht,gr,jt])}else j(id),L(g),p(!0)}},[N,m,h,f,z]);const we={width:o,whiteSpace:"normal",margin:0,padding:0},Ee=(Qe,mn,St)=>n.createElement("span",{"aria-hidden":!0,ref:mn,style:Object.assign({position:"fixed",display:"block",left:0,top:0,zIndex:-9999,visibility:"hidden",pointerEvents:"none",fontSize:Math.floor(v/2)*2},St)},Qe),$e=(Qe,mn)=>{const St=ad(ce,Qe);return Ee(a(St,!0),mn,we)};return n.createElement(n.Fragment,null,ye,t&&N!==id&&N!==ld&&n.createElement(n.Fragment,null,Ee("lg",J,{wordBreak:"keep-all",whiteSpace:"nowrap"}),N===Cc?Ee(a(ce,!1),X,we):$e(g,X)))},km=e=>{let{enabledEllipsis:t,isEllipsis:a,children:l,tooltipProps:o}=e;return!(o!=null&&o.title)||!t?l:n.createElement(Il.Z,Object.assign({open:a?void 0:!1},o),l)},Km=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{var a,l,o;const{prefixCls:v,className:f,style:p,type:m,disabled:g,children:h,ellipsis:y,editable:I,copyable:L,component:N,title:j}=e,z=Km(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:ie,direction:J}=n.useContext(Y.E_),[X]=(0,fo.Z)("Text"),ce=n.useRef(null),ve=n.useRef(null),ye=ie("typography",v),we=(0,Xt.Z)(z,["mark","code","delete","underline","strong","keyboard","italic"]),[Ee,$e]=od(I),[Qe,mn]=(0,to.Z)(!1,{value:$e.editing}),{triggerType:St=["icon"]}=$e,qe=Dr=>{var In;Dr&&((In=$e.onStart)===null||In===void 0||In.call($e)),mn(Dr)};Bm(()=>{var Dr;Qe||(Dr=ve.current)===null||Dr===void 0||Dr.focus()},[Qe]);const ht=Dr=>{Dr==null||Dr.preventDefault(),qe(!0)},jt=Dr=>{var In;(In=$e.onChange)===null||In===void 0||In.call($e,Dr),qe(!1)},gr=()=>{var Dr;(Dr=$e.onCancel)===null||Dr===void 0||Dr.call($e),qe(!1)},[It,or]=od(L),[vo,Br]=n.useState(!1),Pn=n.useRef(null),mo={};or.format&&(mo.format=or.format);const ta=()=>{Pn.current&&clearTimeout(Pn.current)},Yr=Dr=>{var In;Dr==null||Dr.preventDefault(),Dr==null||Dr.stopPropagation(),wm()(or.text||String(h)||"",mo),Br(!0),ta(),Pn.current=setTimeout(()=>{Br(!1)},3e3),(In=or.onCopy)===null||In===void 0||In.call(or,Dr)};n.useEffect(()=>ta,[]);const[eo,No]=n.useState(!1),[na,Zo]=n.useState(!1),[jn,cn]=n.useState(!1),[pr,xa]=n.useState(!1),[Xn,uo]=n.useState(!1),[Yo,Zr]=n.useState(!0),[jr,Hr]=od(y,{expandable:!1}),ga=jr&&!jn,{rows:aa=1}=Hr,Ea=n.useMemo(()=>!ga||Hr.suffix!==void 0||Hr.onEllipsis||Hr.expandable||Ee||It,[ga,Hr,Ee,It]);(0,sl.Z)(()=>{jr&&!Ea&&(No((0,Xd.G)("webkitLineClamp")),Zo((0,Xd.G)("textOverflow")))},[Ea,jr]);const sa=n.useMemo(()=>Ea?!1:aa===1?na:eo,[Ea,na,eo]),Pi=ga&&(sa?Xn:pr),qa=ga&&aa===1&&sa,go=ga&&aa>1&&sa,pa=Dr=>{var In;cn(!0),(In=Hr.onExpand)===null||In===void 0||In.call(Hr,Dr)},[_a,Nl]=n.useState(0),[xs,ql]=n.useState(0),bl=(Dr,In)=>{let{offsetWidth:Ro}=Dr;var Ya;Nl(Ro),ql(parseInt((Ya=window.getComputedStyle)===null||Ya===void 0?void 0:Ya.call(window,In).fontSize,10)||0)},ws=Dr=>{var In;xa(Dr),pr!==Dr&&((In=Hr.onEllipsis)===null||In===void 0||In.call(Hr,Dr))};n.useEffect(()=>{const Dr=ce.current;if(jr&&sa&&Dr){const In=go?Dr.offsetHeight{const Dr=ce.current;if(typeof IntersectionObserver=="undefined"||!Dr||!sa||!ga)return;const In=new IntersectionObserver(()=>{Zr(!!Dr.offsetParent)});return In.observe(Dr),()=>{In.disconnect()}},[sa,ga]);let ol={};Hr.tooltip===!0?ol={title:(a=$e.text)!==null&&a!==void 0?a:h}:n.isValidElement(Hr.tooltip)?ol={title:Hr.tooltip}:typeof Hr.tooltip=="object"?ol=Object.assign({title:(l=$e.text)!==null&&l!==void 0?l:h},Hr.tooltip):ol={title:Hr.tooltip};const ml=n.useMemo(()=>{const Dr=In=>["string","number"].includes(typeof In);if(!(!jr||sa)){if(Dr($e.text))return $e.text;if(Dr(h))return h;if(Dr(j))return j;if(Dr(ol.title))return ol.title}},[jr,sa,j,ol.title,Pi]);if(Qe)return n.createElement(Fm,{value:(o=$e.text)!==null&&o!==void 0?o:typeof h=="string"?h:"",onSave:jt,onCancel:gr,onEnd:$e.onEnd,prefixCls:ye,className:f,style:p,direction:J,component:N,maxLength:$e.maxLength,autoSize:$e.autoSize,enterIcon:$e.enterIcon});const yl=()=>{const{expandable:Dr,symbol:In}=Hr;if(!Dr)return null;let Ro;return In?Ro=In:Ro=X==null?void 0:X.expand,n.createElement("a",{key:"expand",className:`${ye}-expand`,onClick:pa,"aria-label":X==null?void 0:X.expand},Ro)},Bl=()=>{if(!Ee)return;const{icon:Dr,tooltip:In}=$e,Ro=(0,Vn.Z)(In)[0]||(X==null?void 0:X.edit),Ya=typeof Ro=="string"?Ro:"";return St.includes("icon")?n.createElement(Il.Z,{key:"edit",title:In===!1?"":Ro},n.createElement(nd,{ref:ve,className:`${ye}-edit`,onClick:ht,"aria-label":Ya},Dr||n.createElement(Cm,{role:"button"}))):null},Tl=()=>{if(!It)return;const{tooltips:Dr,icon:In}=or,Ro=_d(Dr),Ya=_d(In),Ti=vo?xc(Ro[1],X==null?void 0:X.copied):xc(Ro[0],X==null?void 0:X.copy),tl=vo?X==null?void 0:X.copied:X==null?void 0:X.copy,Dl=typeof Ti=="string"?Ti:tl;return n.createElement(Il.Z,{key:"copy",title:Ti},n.createElement(nd,{className:$()(`${ye}-copy`,vo&&`${ye}-copy-success`),onClick:Yr,"aria-label":Dl},vo?xc(Ya[1],n.createElement(Pd.Z,null),!0):xc(Ya[0],n.createElement(hm,null),!0)))},El=Dr=>[Dr&&yl(),Bl(),Tl()],Hl=Dr=>[Dr&&n.createElement("span",{"aria-hidden":!0,key:"ellipsis"},Xm),Hr.suffix,El(Dr)];return n.createElement(sc.Z,{onResize:bl,disabled:!ga||sa},Dr=>n.createElement(km,{tooltipProps:ol,enabledEllipsis:ga,isEllipsis:Pi},n.createElement(Qd,Object.assign({className:$()({[`${ye}-${m}`]:m,[`${ye}-disabled`]:g,[`${ye}-ellipsis`]:jr,[`${ye}-single-line`]:ga&&aa===1,[`${ye}-ellipsis-single-line`]:qa,[`${ye}-ellipsis-multiple-line`]:go},f),prefixCls:v,style:Object.assign(Object.assign({},p),{WebkitLineClamp:go?aa:void 0}),component:N,ref:(0,Q.sQ)(Dr,ce,t),direction:J,onClick:St.includes("text")?ht:void 0,"aria-label":ml==null?void 0:ml.toString(),title:j},we),n.createElement(Vm,{enabledMeasure:ga&&!sa,text:h,rows:aa,width:_a,fontSize:xs,onEllipsis:ws},(In,Ro)=>{let Ya=In;return In.length&&Ro&&ml&&(Ya=n.createElement("span",{key:"show-content","aria-hidden":!0},Ya)),Um(e,n.createElement(n.Fragment,null,Ya,Hl(Ro)))}))))}),Ym=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{var{ellipsis:a,rel:l}=e,o=Ym(e,["ellipsis","rel"]);const v=Object.assign(Object.assign({},o),{rel:l===void 0&&o.target==="_blank"?"noopener noreferrer":l});return delete v.navigate,n.createElement(wc,Object.assign({},v,{ref:t,ellipsis:!!a,component:"a"}))}),Qm=n.forwardRef((e,t)=>n.createElement(wc,Object.assign({ref:t},e,{component:"div"}))),Jm=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{var{ellipsis:a}=e,l=Jm(e,["ellipsis"]);const o=n.useMemo(()=>a&&typeof a=="object"?(0,Xt.Z)(a,["expandable","rows"]):a,[a]);return n.createElement(wc,Object.assign({ref:t},l,{ellipsis:o,component:"span"}))};var _m=n.forwardRef(qm),eg=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(e);o{const{level:a=1}=e,l=eg(e,["level"]);let o;return tg.includes(a)?o=`h${a}`:o="h1",n.createElement(wc,Object.assign({ref:t},l,{component:o}))});const Cs=Qd;Cs.Text=_m,Cs.Link=Gm,Cs.Title=ng,Cs.Paragraph=Qm;var rg=Cs,og=i(50406),ag=i(67159),np=i(34203),rp=function(e){(0,_e.Z)(a,e);var t=(0,Pe.Z)(a);function a(){return(0,te.Z)(this,a),t.apply(this,arguments)}return(0,Te.Z)(a,[{key:"render",value:function(){return this.props.children}}]),a}(n.Component),op=null,ig=i(98924),lg={subtree:!0,childList:!0,attributeFilter:["style","class"]};function sg(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:lg;n.useEffect(function(){if(!(!(0,ig.Z)()||!e)){var l,o=Array.isArray(e)?e:[e];return"MutationObserver"in window&&(l=new MutationObserver(t),o.forEach(function(v){l.observe(v,a)})),function(){var v,f;(v=l)===null||v===void 0||v.takeRecords(),(f=l)===null||f===void 0||f.disconnect()}}},[a,e])}var ap=function(t){var a=t.children,l=t.options,o=t.onMutate,v=o===void 0?function(){}:o,f=useEvent(v),p=React.useRef(null),m=React.useRef(null),g=React.isValidElement(a)&&supportRef(a),h=useComposeRef(m,g?a.ref:null),y=React.useState(null),I=_slicedToArray(y,2),L=I[0],N=I[1];return useMutateObserver(L,f,l),useLayoutEffect(function(){N(findDOMNode(m.current)||findDOMNode(p.current))}),a?React.createElement(DomWrapper,{ref:p},g?React.cloneElement(a,{ref:h}):a):null},ip=null,lp=null,cg=i(16569);const ef=3;function sd(e,t){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;const l=document.createElement("canvas"),o=l.getContext("2d"),v=e*a,f=t*a;return l.setAttribute("width",`${v}px`),l.setAttribute("height",`${f}px`),o.save(),[o,l,v,f]}function ug(){function e(t,a,l,o,v,f,p,m){const[g,h,y,I]=sd(o,v,l);if(t instanceof HTMLImageElement)g.drawImage(t,0,0,y,I);else{const{color:Pn,fontSize:mo,fontStyle:ta,fontWeight:Yr,fontFamily:eo}=f,No=Number(mo)*l;g.font=`${ta} normal ${Yr} ${No}px/${v}px ${eo}`,g.fillStyle=Pn,g.textAlign="center",g.textBaseline="top";const na=Array.isArray(t)?t:[t];na==null||na.forEach((Zo,jn)=>{g.fillText(Zo!=null?Zo:"",y/2,jn*(No+ef*l))})}const L=Math.PI/180*Number(a),N=Math.max(o,v),[j,z,ie]=sd(N,N,l);j.translate(ie/2,ie/2),j.rotate(L),y>0&&I>0&&j.drawImage(h,-y/2,-I/2);function J(Pn,mo){const ta=Pn*Math.cos(L)-mo*Math.sin(L),Yr=Pn*Math.sin(L)+mo*Math.cos(L);return[ta,Yr]}let X=0,ce=0,ve=0,ye=0;const we=y/2,Ee=I/2;[[0-we,0-Ee],[0+we,0-Ee],[0+we,0+Ee],[0-we,0+Ee]].forEach(Pn=>{let[mo,ta]=Pn;const[Yr,eo]=J(mo,ta);X=Math.min(X,Yr),ce=Math.max(ce,Yr),ve=Math.min(ve,eo),ye=Math.max(ye,eo)});const Qe=X+ie/2,mn=ve+ie/2,St=ce-X,qe=ye-ve,ht=p*l,jt=m*l,gr=(St+ht)*2,It=qe+jt,[or,vo]=sd(gr,It);function Br(){let Pn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,mo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;or.drawImage(z,Qe,mn,St,qe,Pn,mo,St,qe)}return Br(),Br(St+ht,-qe/2-jt/2),Br(St+ht,+qe/2+jt/2),[vo.toDataURL(),gr/l,It/l]}return e}function dg(e){const t=n.useRef(!1),a=n.useRef(),l=(0,Se.zX)(e);return()=>{t.current||(t.current=!0,l(),a.current=(0,gs.Z)(()=>{t.current=!1}))}}function fg(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function vg(e){return Object.keys(e).map(t=>`${fg(t)}: ${e[t]};`).join(" ")}function mg(){return window.devicePixelRatio||1}const gg=(e,t)=>{let a=!1;return e.removedNodes.length&&(a=Array.from(e.removedNodes).some(l=>t(l))),e.type==="attributes"&&t(e.target)&&(a=!0),a},sp=2,cp=3;function pg(e){const[t]=n.useState(()=>new Map);return[(v,f,p)=>{if(p){if(!t.get(p)){const g=document.createElement("div");t.set(p,g)}const m=t.get(p);m.setAttribute("style",vg(Object.assign(Object.assign({},e),{backgroundImage:`url('${v}')`,backgroundSize:`${Math.floor(f)}px`}))),p.append(m)}},v=>{const f=t.get(v);f&&v&&v.removeChild(f),t.delete(v)},v=>Array.from(t.values()).includes(v)]}function tf(e,t){return e.size===t.size?e:t}var hg=e=>{var t,a;const{zIndex:l=9,rotate:o=-22,width:v,height:f,image:p,content:m,font:g={},style:h,className:y,rootClassName:I,gap:L=[100,100],offset:N,children:j}=e,[,z]=(0,Sa.Z)(),{color:ie=z.colorFill,fontSize:J=z.fontSizeLG,fontWeight:X="normal",fontStyle:ce="normal",fontFamily:ve="sans-serif"}=g,[ye,we]=L,Ee=ye/2,$e=we/2,Qe=(t=N==null?void 0:N[0])!==null&&t!==void 0?t:Ee,mn=(a=N==null?void 0:N[1])!==null&&a!==void 0?a:$e,St=n.useMemo(()=>{const jn={zIndex:l,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let cn=Qe-Ee,pr=mn-$e;return cn>0&&(jn.left=`${cn}px`,jn.width=`calc(100% - ${cn}px)`,cn=0),pr>0&&(jn.top=`${pr}px`,jn.height=`calc(100% - ${pr}px)`,pr=0),jn.backgroundPosition=`${cn}px ${pr}px`,jn},[l,Qe,Ee,mn,$e]),[qe,ht]=n.useState(),[jt,gr]=n.useState(new Set),It=n.useMemo(()=>{const jn=qe?[qe]:[];return[].concat(jn,(0,Nt.Z)(Array.from(jt)))},[qe,jt]),or=jn=>{let cn=120,pr=64;if(!p&&jn.measureText){jn.font=`${Number(J)}px ${ve}`;const xa=Array.isArray(m)?m:[m],Xn=xa.map(uo=>{const Yo=jn.measureText(uo);return[Yo.width,Yo.fontBoundingBoxAscent+Yo.fontBoundingBoxDescent]});cn=Math.ceil(Math.max.apply(Math,(0,Nt.Z)(Xn.map(uo=>uo[0])))),pr=Math.ceil(Math.max.apply(Math,(0,Nt.Z)(Xn.map(uo=>uo[1]))))*xa.length+(xa.length-1)*ef}return[v!=null?v:cn,f!=null?f:pr]},vo=ug(),[Br,Pn]=n.useState(null),ta=dg(()=>{const cn=document.createElement("canvas").getContext("2d");if(cn){const pr=mg(),[xa,Xn]=or(cn),uo=Yo=>{const[Zr,jr]=vo(Yo||"",o,pr,xa,Xn,{color:ie,fontSize:J,fontStyle:ce,fontWeight:X,fontFamily:ve},ye,we);Pn([Zr,jr])};if(p){const Yo=new Image;Yo.onload=()=>{uo(Yo)},Yo.onerror=()=>{uo(m)},Yo.crossOrigin="anonymous",Yo.referrerPolicy="no-referrer",Yo.src=p}else uo(m)}}),[Yr,eo,No]=pg(St);(0,n.useEffect)(()=>{Br&&It.forEach(jn=>{Yr(Br[0],Br[1],jn)})},[Br,It]),sg(It,jn=>{jn.forEach(cn=>{gg(cn,No)&&ta()})}),(0,n.useEffect)(ta,[o,l,v,f,p,m,ie,J,X,ce,ve,ye,we,Qe,mn]);const Zo=n.useMemo(()=>({add:jn=>{gr(cn=>{const pr=new Set(cn);return pr.add(jn),tf(cn,pr)})},remove:jn=>{eo(jn),gr(cn=>{const pr=new Set(cn);return pr.delete(jn),tf(cn,pr)})}}),[]);return n.createElement("div",{ref:ht,className:$()(y,I),style:Object.assign({position:"relative"},h)},n.createElement(cg.Z.Provider,{value:Zo},j))}},73360:function(Z,F,i){"use strict";i.d(F,{Z:function(){return Tn}});var s=i(13622),n=i(87462),b=i(67294),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},O=x,E=i(93771),M=function(ne,Oe){return b.createElement(E.Z,(0,n.Z)({},ne,{ref:Oe,icon:O}))},T=b.forwardRef(M),$=i(94184),H=i.n($),oe=i(4942),w=i(71002),Y=i(97685),de=i(91),_=i(15671),re=i(43144);function Ke(){return typeof BigInt=="function"}function Ce(q){return!q&&q!==0&&!Number.isNaN(q)||!String(q).trim()}function lt(q){var ne=q.trim(),Oe=ne.startsWith("-");Oe&&(ne=ne.slice(1)),ne=ne.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),ne.startsWith(".")&&(ne="0".concat(ne));var je=ne||"0",et=je.split("."),vn=et[0]||"0",Bt=et[1]||"0";vn==="0"&&Bt==="0"&&(Oe=!1);var zn=Oe?"-":"";return{negative:Oe,negativeStr:zn,trimStr:je,integerStr:vn,decimalStr:Bt,fullStr:"".concat(zn).concat(je)}}function ut(q){var ne=String(q);return!Number.isNaN(Number(ne))&&ne.includes("e")}function at(q){var ne=String(q);if(ut(q)){var Oe=Number(ne.slice(ne.indexOf("e-")+2)),je=ne.match(/\.(\d+)/);return je!=null&&je[1]&&(Oe+=je[1].length),Oe}return ne.includes(".")&&dn(ne)?ne.length-ne.indexOf(".")-1:0}function Yn(q){var ne=String(q);if(ut(q)){if(q>Number.MAX_SAFE_INTEGER)return String(Ke()?BigInt(q).toString():Number.MAX_SAFE_INTEGER);if(q0&&arguments[0]!==void 0?arguments[0]:!0;return Oe?this.isInvalidate()?"":lt("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),q}(),be=function(){function q(ne){if((0,_.Z)(this,q),(0,oe.Z)(this,"origin",""),(0,oe.Z)(this,"number",void 0),(0,oe.Z)(this,"empty",void 0),Ce(ne)){this.empty=!0;return}this.origin=String(ne),this.number=Number(ne)}return(0,re.Z)(q,[{key:"negate",value:function(){return new q(-this.toNumber())}},{key:"add",value:function(Oe){if(this.isInvalidate())return new q(Oe);var je=Number(Oe);if(Number.isNaN(je))return this;var et=this.number+je;if(et>Number.MAX_SAFE_INTEGER)return new q(Number.MAX_SAFE_INTEGER);if(etNumber.MAX_SAFE_INTEGER)return new q(Number.MAX_SAFE_INTEGER);if(et0&&arguments[0]!==void 0?arguments[0]:!0;return Oe?this.isInvalidate()?"":Yn(this.number):this.origin}}]),q}();function Xe(q){return Ke()?new qt(q):new be(q)}function bt(q,ne,Oe){var je=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(q==="")return"";var et=lt(q),vn=et.negativeStr,Bt=et.integerStr,zn=et.decimalStr,lr="".concat(ne).concat(zn),Cn="".concat(vn).concat(Bt);if(Oe>=0){var Zn=Number(zn[Oe]);if(Zn>=5&&!je){var pn=Xe(q).add("".concat(vn,"0.").concat("0".repeat(Oe)).concat(10-Zn));return bt(pn.toString(),ne,Oe,je)}return Oe===0?Cn:"".concat(Cn).concat(ne).concat(zn.padEnd(Oe,"0").slice(0,Oe))}return lr===".0"?Cn:"".concat(Cn).concat(lr)}var te=Xe,Te=i(67656),_e=i(8410),Pe=i(42550),Ue=i(80334);function ct(q,ne){var Oe=(0,b.useRef)(null);function je(){try{var vn=q.selectionStart,Bt=q.selectionEnd,zn=q.value,lr=zn.substring(0,vn),Cn=zn.substring(Bt);Oe.current={start:vn,end:Bt,value:zn,beforeTxt:lr,afterTxt:Cn}}catch(Zn){}}function et(){if(q&&Oe.current&&ne)try{var vn=q.value,Bt=Oe.current,zn=Bt.beforeTxt,lr=Bt.afterTxt,Cn=Bt.start,Zn=vn.length;if(vn.endsWith(lr))Zn=vn.length-Oe.current.afterTxt.length;else if(vn.startsWith(zn))Zn=zn.length;else{var pn=zn[Cn-1],Rn=vn.indexOf(pn,Cn-1);Rn!==-1&&(Zn=Rn+1)}q.setSelectionRange(Zn,Zn)}catch(kn){(0,Ue.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(kn.message))}}return[je,et]}var yt=i(31131),fn=function(){var ne=(0,b.useState)(!1),Oe=(0,Y.Z)(ne,2),je=Oe[0],et=Oe[1];return(0,_e.Z)(function(){et((0,yt.Z)())},[]),je},Nt=fn,Se=i(75164),D=200,se=600;function Be(q){var ne=q.prefixCls,Oe=q.upNode,je=q.downNode,et=q.upDisabled,vn=q.downDisabled,Bt=q.onStep,zn=b.useRef(),lr=b.useRef([]),Cn=b.useRef();Cn.current=Bt;var Zn=function(){clearTimeout(zn.current)},pn=function(kr,zr){kr.preventDefault(),Zn(),Cn.current(zr);function Do(){Cn.current(zr),zn.current=setTimeout(Do,D)}zn.current=setTimeout(Do,se)};b.useEffect(function(){return function(){Zn(),lr.current.forEach(function(an){return Se.Z.cancel(an)})}},[]);var Rn=Nt();if(Rn)return null;var kn="".concat(ne,"-handler"),bo=H()(kn,"".concat(kn,"-up"),(0,oe.Z)({},"".concat(kn,"-up-disabled"),et)),To=H()(kn,"".concat(kn,"-down"),(0,oe.Z)({},"".concat(kn,"-down-disabled"),vn)),Qn=function(){return lr.current.push((0,Se.Z)(Zn))},Lo={unselectable:"on",role:"button",onMouseUp:Qn,onMouseLeave:Qn};return b.createElement("div",{className:"".concat(kn,"-wrap")},b.createElement("span",(0,n.Z)({},Lo,{onMouseDown:function(kr){pn(kr,!0)},"aria-label":"Increase Value","aria-disabled":et,className:bo}),Oe||b.createElement("span",{unselectable:"on",className:"".concat(ne,"-handler-up-inner")})),b.createElement("span",(0,n.Z)({},Lo,{onMouseDown:function(kr){pn(kr,!1)},"aria-label":"Decrease Value","aria-disabled":vn,className:To}),je||b.createElement("span",{unselectable:"on",className:"".concat(ne,"-handler-down-inner")})))}function Re(q){var ne=typeof q=="number"?Yn(q):lt(q).fullStr,Oe=ne.includes(".");return Oe?lt(ne.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:q+"0"}var rt=i(87887),Tt=function(){var q=(0,b.useRef)(0),ne=function(){Se.Z.cancel(q.current)};return(0,b.useEffect)(function(){return ne},[]),function(Oe){ne(),q.current=(0,Se.Z)(function(){Oe()})}},Ln=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],Nn=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],pt=function(ne,Oe){return ne||Oe.isEmpty()?Oe.toString():Oe.toNumber()},yn=function(ne){var Oe=te(ne);return Oe.isInvalidate()?null:Oe},Wn=b.forwardRef(function(q,ne){var Oe,je=q.prefixCls,et=je===void 0?"rc-input-number":je,vn=q.className,Bt=q.style,zn=q.min,lr=q.max,Cn=q.step,Zn=Cn===void 0?1:Cn,pn=q.defaultValue,Rn=q.value,kn=q.disabled,bo=q.readOnly,To=q.upHandler,Qn=q.downHandler,Lo=q.keyboard,an=q.controls,kr=an===void 0?!0:an,zr=q.classNames,Do=q.stringMode,G=q.parser,to=q.formatter,fo=q.precision,Fo=q.decimalSeparator,Aa=q.onChange,oa=q.onInput,Kr=q.onPressEnter,Ar=q.onStep,wr=(0,de.Z)(q,Ln),Gr="".concat(et,"-input"),fa=b.useRef(null),si=b.useState(!1),pi=(0,Y.Z)(si,2),ci=pi[0],Qa=pi[1],ri=b.useRef(!1),ha=b.useRef(!1),ei=b.useRef(!1),Zi=b.useState(function(){return te(Rn!=null?Rn:pn)}),ki=(0,Y.Z)(Zi,2),zo=ki[0],ti=ki[1];function zi(hr){Rn===void 0&&ti(hr)}var he=b.useCallback(function(hr,ar){if(!ar)return fo>=0?fo:Math.max(at(hr),at(Zn))},[fo,Zn]),ue=b.useCallback(function(hr){var ar=String(hr);if(G)return G(ar);var An=ar;return Fo&&(An=An.replace(Fo,".")),An.replace(/[^\w.-]+/g,"")},[G,Fo]),He=b.useRef(""),Ct=b.useCallback(function(hr,ar){if(to)return to(hr,{userTyping:ar,input:String(He.current)});var An=typeof hr=="number"?Yn(hr):hr;if(!ar){var Lt=he(An,ar);if(dn(An)&&(Fo||Lt>=0)){var Bn=Fo||".";An=bt(An,Bn,Lt)}}return An},[to,he,Fo]),At=b.useState(function(){var hr=pn!=null?pn:Rn;return zo.isInvalidate()&&["string","number"].includes((0,w.Z)(hr))?Number.isNaN(hr)?"":hr:Ct(zo.toString(),!1)}),ln=(0,Y.Z)(At,2),Mn=ln[0],xn=ln[1];He.current=Mn;function Jn(hr,ar){xn(Ct(hr.isInvalidate()?hr.toString(!1):hr.toString(!ar),ar))}var Dn=b.useMemo(function(){return yn(lr)},[lr,fo]),Qr=b.useMemo(function(){return yn(zn)},[zn,fo]),Or=b.useMemo(function(){return!Dn||!zo||zo.isInvalidate()?!1:Dn.lessEquals(zo)},[Dn,zo]),Eo=b.useMemo(function(){return!Qr||!zo||zo.isInvalidate()?!1:zo.lessEquals(Qr)},[Qr,zo]),so=ct(fa.current,ci),yo=(0,Y.Z)(so,2),ba=yo[0],ko=yo[1],Go=function(ar){return Dn&&!ar.lessEquals(Dn)?Dn:Qr&&!Qr.lessEquals(ar)?Qr:null},Bo=function(ar){return!Go(ar)},ia=function(ar,An){var Lt=ar,Bn=Bo(Lt)||Lt.isEmpty();if(!Lt.isEmpty()&&!An&&(Lt=Go(Lt)||Lt,Bn=!0),!bo&&!kn&&Bn){var Ao=Lt.toString(),Oo=he(Ao,An);return Oo>=0&&(Lt=te(bt(Ao,".",Oo)),Bo(Lt)||(Lt=te(bt(Ao,".",Oo,!0)))),Lt.equals(zo)||(zi(Lt),Aa==null||Aa(Lt.isEmpty()?null:pt(Do,Lt)),Rn===void 0&&Jn(Lt,An)),Lt}return zo},Qo=Tt(),va=function hr(ar){if(ba(),He.current=ar,xn(ar),!ha.current){var An=ue(ar),Lt=te(An);Lt.isNaN()||ia(Lt,!0)}oa==null||oa(ar),Qo(function(){var Bn=ar;G||(Bn=ar.replace(/。/g,".")),Bn!==ar&&hr(Bn)})},ze=function(){ha.current=!0},tr=function(){ha.current=!1,va(fa.current.value)},wt=function(ar){va(ar.target.value)},Ho=function(ar){var An;if(!(ar&&Or||!ar&&Eo)){ri.current=!1;var Lt=te(ei.current?Re(Zn):Zn);ar||(Lt=Lt.negate());var Bn=(zo||te(0)).add(Lt.toString()),Ao=ia(Bn,!1);Ar==null||Ar(pt(Do,Ao),{offset:ei.current?Re(Zn):Zn,type:ar?"up":"down"}),(An=fa.current)===null||An===void 0||An.focus()}},po=function(ar){var An=te(ue(Mn)),Lt=An;An.isNaN()?Lt=ia(zo,ar):Lt=ia(An,ar),Rn!==void 0?Jn(zo,!1):Lt.isNaN()||Jn(Lt,!1)},Pa=function(){ri.current=!0},Ia=function(ar){var An=ar.key,Lt=ar.shiftKey;ri.current=!0,ei.current=Lt,An==="Enter"&&(ha.current||(ri.current=!1),po(!1),Kr==null||Kr(ar)),Lo!==!1&&!ha.current&&["Up","ArrowUp","Down","ArrowDown"].includes(An)&&(Ho(An==="Up"||An==="ArrowUp"),ar.preventDefault())},Oa=function(){ri.current=!1,ei.current=!1},wa=function(){po(!1),Qa(!1),ri.current=!1};return(0,_e.o)(function(){zo.isInvalidate()||Jn(zo,!1)},[fo]),(0,_e.o)(function(){var hr=te(Rn);ti(hr);var ar=te(ue(Mn));(!hr.equals(ar)||!ri.current||to)&&Jn(hr,ri.current)},[Rn]),(0,_e.o)(function(){to&&ko()},[Mn]),b.createElement("div",{className:H()(et,zr==null?void 0:zr.input,vn,(Oe={},(0,oe.Z)(Oe,"".concat(et,"-focused"),ci),(0,oe.Z)(Oe,"".concat(et,"-disabled"),kn),(0,oe.Z)(Oe,"".concat(et,"-readonly"),bo),(0,oe.Z)(Oe,"".concat(et,"-not-a-number"),zo.isNaN()),(0,oe.Z)(Oe,"".concat(et,"-out-of-range"),!zo.isInvalidate()&&!Bo(zo)),Oe)),style:Bt,onFocus:function(){Qa(!0)},onBlur:wa,onKeyDown:Ia,onKeyUp:Oa,onCompositionStart:ze,onCompositionEnd:tr,onBeforeInput:Pa},kr&&b.createElement(Be,{prefixCls:et,upNode:To,downNode:Qn,upDisabled:Or,downDisabled:Eo,onStep:Ho}),b.createElement("div",{className:"".concat(Gr,"-wrap")},b.createElement("input",(0,n.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":zn,"aria-valuemax":lr,"aria-valuenow":zo.isInvalidate()?null:zo.toString(),step:Zn},wr,{ref:(0,Pe.sQ)(fa,ne),className:Gr,value:Mn,onChange:wt,disabled:kn,readOnly:bo}))))}),Fn=b.forwardRef(function(q,ne){var Oe=q.disabled,je=q.style,et=q.prefixCls,vn=q.value,Bt=q.prefix,zn=q.suffix,lr=q.addonBefore,Cn=q.addonAfter,Zn=q.classes,pn=q.className,Rn=q.classNames,kn=(0,de.Z)(q,Nn),bo=b.useRef(null),To=function(Lo){bo.current&&(0,rt.nH)(bo.current,Lo)};return b.createElement(Te.Q,{inputElement:b.createElement(Wn,(0,n.Z)({prefixCls:et,disabled:Oe,classNames:Rn,ref:(0,Pe.sQ)(bo,ne)},kn)),className:pn,triggerFocus:To,prefixCls:et,value:vn,disabled:Oe,style:je,prefix:Bt,suffix:zn,addonAfter:Cn,addonBefore:lr,classes:Zn,classNames:Rn,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});Fn.displayName="InputNumber";var Gn=Fn,er=Gn,Sn=i(9708),Vr=i(53124),Ft=i(94740),zt=i(98866),fr=i(98675),ao=i(65223),k=i(4173),Ne=i(47673),Fe=i(14747),dt=i(80110),$t=i(67968),rn=i(45503);const On=(q,ne)=>{let{componentCls:Oe,borderRadiusSM:je,borderRadiusLG:et}=q;const vn=ne==="lg"?et:je;return{[`&-${ne}`]:{[`${Oe}-handler-wrap`]:{borderStartEndRadius:vn,borderEndEndRadius:vn},[`${Oe}-handler-up`]:{borderStartEndRadius:vn},[`${Oe}-handler-down`]:{borderEndEndRadius:vn}}}},xt=q=>{const{componentCls:ne,lineWidth:Oe,lineType:je,colorBorder:et,borderRadius:vn,fontSizeLG:Bt,controlHeightLG:zn,controlHeightSM:lr,colorError:Cn,paddingInlineSM:Zn,colorTextDescription:pn,motionDurationMid:Rn,handleHoverColor:kn,paddingInline:bo,paddingBlock:To,handleBg:Qn,handleActiveBg:Lo,colorTextDisabled:an,borderRadiusSM:kr,borderRadiusLG:zr,controlWidth:Do,handleVisible:G,handleBorderColor:to}=q;return[{[ne]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Fe.Wf)(q)),(0,Ne.ik)(q)),(0,Ne.bi)(q,ne)),{display:"inline-block",width:Do,margin:0,padding:0,border:`${Oe}px ${je} ${et}`,borderRadius:vn,"&-rtl":{direction:"rtl",[`${ne}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:Bt,borderRadius:zr,[`input${ne}-input`]:{height:zn-2*Oe}},"&-sm":{padding:0,borderRadius:kr,[`input${ne}-input`]:{height:lr-2*Oe,padding:`0 ${Zn}px`}},"&:hover":Object.assign({},(0,Ne.pU)(q)),"&-focused":Object.assign({},(0,Ne.M1)(q)),"&-out-of-range":{[`${ne}-input-wrap`]:{input:{color:Cn}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,Fe.Wf)(q)),(0,Ne.s7)(q)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${ne}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${ne}-group-addon`]:{borderRadius:zr,fontSize:q.fontSizeLG}},"&-sm":{[`${ne}-group-addon`]:{borderRadius:kr}},[`${ne}-wrapper-disabled > ${ne}-group-addon`]:Object.assign({},(0,Ne.Xy)(q))}}),[`&-disabled ${ne}-input`]:{cursor:"not-allowed"},[ne]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,Fe.Wf)(q)),{width:"100%",padding:`${To}px ${bo}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:vn,outline:0,transition:`all ${Rn} linear`,appearance:"textfield",fontSize:"inherit"}),(0,Ne.nz)(q.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[ne]:Object.assign(Object.assign(Object.assign({[`&:hover ${ne}-handler-wrap, &-focused ${ne}-handler-wrap`]:{opacity:1},[`${ne}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:q.handleWidth,height:"100%",background:Qn,borderStartStartRadius:0,borderStartEndRadius:vn,borderEndEndRadius:vn,borderEndStartRadius:0,opacity:G===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${Rn} linear ${Rn}`,[`${ne}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` + ${ne}-handler-up-inner, + ${ne}-handler-down-inner + `]:{marginInlineEnd:0,fontSize:q.handleFontSize}}},[`${ne}-handler`]:{height:"50%",overflow:"hidden",color:pn,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${Oe}px ${je} ${to}`,transition:`all ${Rn} linear`,"&:active":{background:Lo},"&:hover":{height:"60%",[` + ${ne}-handler-up-inner, + ${ne}-handler-down-inner + `]:{color:kn}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,Fe.Ro)()),{color:pn,transition:`all ${Rn} linear`,userSelect:"none"})},[`${ne}-handler-up`]:{borderStartEndRadius:vn},[`${ne}-handler-down`]:{borderBlockStart:`${Oe}px ${je} ${to}`,borderEndEndRadius:vn}},On(q,"lg")),On(q,"sm")),{"&-disabled, &-readonly":{[`${ne}-handler-wrap`]:{display:"none"},[`${ne}-input`]:{color:"inherit"}},[` + ${ne}-handler-up-disabled, + ${ne}-handler-down-disabled + `]:{cursor:"not-allowed"},[` + ${ne}-handler-up-disabled:hover &-handler-up-inner, + ${ne}-handler-down-disabled:hover &-handler-down-inner + `]:{color:an}})},{[`${ne}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${ne}-handler-down`]:{borderBlockStartWidth:0}}}]},Kt=q=>{const{componentCls:ne,paddingBlock:Oe,paddingInline:je,inputAffixPadding:et,controlWidth:vn,borderRadiusLG:Bt,borderRadiusSM:zn}=q;return{[`${ne}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,Ne.ik)(q)),(0,Ne.bi)(q,`${ne}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:vn,padding:0,paddingInlineStart:je,"&-lg":{borderRadius:Bt},"&-sm":{borderRadius:zn},[`&:not(${ne}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,Ne.pU)(q)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${ne}-disabled`]:{background:"transparent"},[`> div${ne}`]:{width:"100%",border:"none",outline:"none",[`&${ne}-focused`]:{boxShadow:"none !important"}},[`input${ne}-input`]:{padding:`${Oe}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${ne}-handler-wrap`]:{zIndex:2},[ne]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:et},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:je,marginInlineStart:et}}})}};var Mr=(0,$t.Z)("InputNumber",q=>{const ne=(0,rn.TS)(q,(0,Ne.e5)(q));return[xt(ne),Kt(ne),(0,dt.c)(ne)]},q=>Object.assign(Object.assign({},(0,Ne.TM)(q)),{controlWidth:90,handleWidth:q.controlHeightSM-q.lineWidth*2,handleFontSize:q.fontSize/2,handleVisible:"auto",handleActiveBg:q.colorFillAlter,handleBg:q.colorBgContainer,handleHoverColor:q.colorPrimary,handleBorderColor:q.colorBorder})),Vn=function(q,ne){var Oe={};for(var je in q)Object.prototype.hasOwnProperty.call(q,je)&&ne.indexOf(je)<0&&(Oe[je]=q[je]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,je=Object.getOwnPropertySymbols(q);et{const{getPrefixCls:Oe,direction:je}=b.useContext(Vr.E_),et=b.useRef(null);b.useImperativeHandle(ne,()=>et.current);const{className:vn,rootClassName:Bt,size:zn,disabled:lr,prefixCls:Cn,addonBefore:Zn,addonAfter:pn,prefix:Rn,bordered:kn=!0,readOnly:bo,status:To,controls:Qn}=q,Lo=Vn(q,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),an=Oe("input-number",Cn),[kr,zr]=Mr(an),{compactSize:Do,compactItemClassnames:G}=(0,k.ri)(an,je);let to=b.createElement(T,{className:`${an}-handler-up-inner`}),fo=b.createElement(s.Z,{className:`${an}-handler-down-inner`});const Fo=typeof Qn=="boolean"?Qn:void 0;typeof Qn=="object"&&(to=typeof Qn.upIcon=="undefined"?to:b.createElement("span",{className:`${an}-handler-up-inner`},Qn.upIcon),fo=typeof Qn.downIcon=="undefined"?fo:b.createElement("span",{className:`${an}-handler-down-inner`},Qn.downIcon));const{hasFeedback:Aa,status:oa,isFormItemInput:Kr,feedbackIcon:Ar}=b.useContext(ao.aM),wr=(0,Sn.F)(oa,To),Gr=(0,fr.Z)(ri=>{var ha;return(ha=zn!=null?zn:Do)!==null&&ha!==void 0?ha:ri}),fa=b.useContext(zt.Z),si=lr!=null?lr:fa,pi=H()({[`${an}-lg`]:Gr==="large",[`${an}-sm`]:Gr==="small",[`${an}-rtl`]:je==="rtl",[`${an}-borderless`]:!kn,[`${an}-in-form-item`]:Kr},(0,Sn.Z)(an,wr),G,zr),ci=`${an}-group`,Qa=b.createElement(er,Object.assign({ref:et,disabled:si,className:H()(vn,Bt),upHandler:to,downHandler:fo,prefixCls:an,readOnly:bo,controls:Fo,prefix:Rn,suffix:Aa&&Ar,addonAfter:pn&&b.createElement(k.BR,null,b.createElement(ao.Ux,{override:!0,status:!0},pn)),addonBefore:Zn&&b.createElement(k.BR,null,b.createElement(ao.Ux,{override:!0,status:!0},Zn)),classNames:{input:pi},classes:{affixWrapper:H()((0,Sn.Z)(`${an}-affix-wrapper`,wr,Aa),{[`${an}-affix-wrapper-sm`]:Gr==="small",[`${an}-affix-wrapper-lg`]:Gr==="large",[`${an}-affix-wrapper-rtl`]:je==="rtl",[`${an}-affix-wrapper-borderless`]:!kn},zr),wrapper:H()({[`${ci}-rtl`]:je==="rtl",[`${an}-wrapper-disabled`]:si},zr),group:H()({[`${an}-group-wrapper-sm`]:Gr==="small",[`${an}-group-wrapper-lg`]:Gr==="large",[`${an}-group-wrapper-rtl`]:je==="rtl"},(0,Sn.Z)(`${an}-group-wrapper`,wr,Aa),zr)}},Lo));return kr(Qa)}),Qt=Xt,on=q=>b.createElement(Ft.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},b.createElement(Xt,Object.assign({},q)));Qt._InternalPanelDoNotUseOrYouWillBeFired=on;var Tn=Qt},19207:function(Z,F,i){"use strict";i.d(F,{Z:function(){return Se}});var s=i(87462),n=i(67294),b={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},x=b,O=i(93771),E=function(se,Be){return n.createElement(O.Z,(0,s.Z)({},se,{ref:Be,icon:x}))},M=n.forwardRef(E),T=i(94184),$=i.n(T),H=i(4942),oe=i(97685),w=i(91),Y=i(21770),de=i(15105),_=i(64217);function re(D,se){var Be=D.disabled,Re=D.prefixCls,rt=D.character,Tt=D.characterRender,Ln=D.index,Nn=D.count,pt=D.value,yn=D.allowHalf,Wn=D.focused,Fn=D.onHover,Gn=D.onClick,er=function(Ne){Fn(Ne,Ln)},Sn=function(Ne){Gn(Ne,Ln)},Vr=function(Ne){Ne.keyCode===de.Z.ENTER&&Gn(Ne,Ln)},Ft=Ln+1,zt=new Set([Re]);pt===0&&Ln===0&&Wn?zt.add("".concat(Re,"-focused")):yn&&pt+.5>=Ft&&ptLn?"true":"false","aria-posinset":Ln+1,"aria-setsize":Nn,tabIndex:Be?-1:0},n.createElement("div",{className:"".concat(Re,"-first")},fr),n.createElement("div",{className:"".concat(Re,"-second")},fr)));return Tt&&(ao=Tt(ao,D)),ao}var Ke=n.forwardRef(re);function Ce(){var D=n.useRef({});function se(Re){return D.current[Re]}function Be(Re){return function(rt){D.current[Re]=rt}}return[se,Be]}function lt(D){var se=D.pageXOffset,Be="scrollLeft";if(typeof se!="number"){var Re=D.document;se=Re.documentElement[Be],typeof se!="number"&&(se=Re.body[Be])}return se}function ut(D){var se,Be,Re=D.ownerDocument,rt=Re.body,Tt=Re&&Re.documentElement,Ln=D.getBoundingClientRect();return se=Ln.left,Be=Ln.top,se-=Tt.clientLeft||rt.clientLeft||0,Be-=Tt.clientTop||rt.clientTop||0,{left:se,top:Be}}function at(D){var se=ut(D),Be=D.ownerDocument,Re=Be.defaultView||Be.parentWindow;return se.left+=lt(Re),se.left}var Yn=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function dn(D,se){var Be,Re=D.prefixCls,rt=Re===void 0?"rc-rate":Re,Tt=D.className,Ln=D.defaultValue,Nn=D.value,pt=D.count,yn=pt===void 0?5:pt,Wn=D.allowHalf,Fn=Wn===void 0?!1:Wn,Gn=D.allowClear,er=Gn===void 0?!0:Gn,Sn=D.character,Vr=Sn===void 0?"\u2605":Sn,Ft=D.characterRender,zt=D.disabled,fr=D.direction,ao=fr===void 0?"ltr":fr,k=D.tabIndex,Ne=k===void 0?0:k,Fe=D.autoFocus,dt=D.onHoverChange,$t=D.onChange,rn=D.onFocus,On=D.onBlur,xt=D.onKeyDown,Kt=D.onMouseLeave,Mr=(0,w.Z)(D,Yn),Vn=Ce(),Xt=(0,oe.Z)(Vn,2),Qt=Xt[0],on=Xt[1],Tn=n.useRef(null),q=function(){if(!zt){var Kr;(Kr=Tn.current)===null||Kr===void 0||Kr.focus()}};n.useImperativeHandle(se,function(){return{focus:q,blur:function(){if(!zt){var Kr;(Kr=Tn.current)===null||Kr===void 0||Kr.blur()}}}});var ne=(0,Y.Z)(Ln||0,{value:Nn}),Oe=(0,oe.Z)(ne,2),je=Oe[0],et=Oe[1],vn=(0,Y.Z)(null),Bt=(0,oe.Z)(vn,2),zn=Bt[0],lr=Bt[1],Cn=function(Kr,Ar){var wr=ao==="rtl",Gr=Kr+1;if(Fn){var fa=Qt(Kr),si=at(fa),pi=fa.clientWidth;(wr&&Ar-si>pi/2||!wr&&Ar-si0&&!wr||Ar===de.Z.RIGHT&&Gr>0&&wr?(Fn?Gr-=.5:Gr-=1,Zn(Gr),Kr.preventDefault()):Ar===de.Z.LEFT&&Gr{const{componentCls:se}=D;return{[`${se}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:D.marginXS},"> div":{transition:`all ${D.motionDurationMid}, outline 0s`,"&:hover":{transform:D.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${D.lineWidth}px dashed ${D.starColor}`,transform:D.starHoverScale}},"&-first, &-second":{color:D.starBg,transition:`all ${D.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${se}-star-first, &-half ${se}-star-second`]:{opacity:1},[`&-half ${se}-star-first, &-full ${se}-star-second`]:{color:"inherit"}}}},Ue=D=>({[`&-rtl${D.componentCls}`]:{direction:"rtl"}}),ct=D=>{const{componentCls:se}=D;return{[se]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,te.Wf)(D)),{display:"inline-block",margin:0,padding:0,color:D.starColor,fontSize:D.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${se} ${se}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Pe(D)),{[`+ ${se}-text`]:{display:"inline-block",marginInlineStart:D.marginXS,fontSize:D.fontSize}}),Ue(D))}};var yt=(0,Te.Z)("Rate",D=>{const se=(0,_e.TS)(D,{});return[ct(se)]},D=>({starColor:D.yellow6,starSize:D.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:D.colorFillContent})),fn=function(D,se){var Be={};for(var Re in D)Object.prototype.hasOwnProperty.call(D,Re)&&se.indexOf(Re)<0&&(Be[Re]=D[Re]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Re=Object.getOwnPropertySymbols(D);rt{const{prefixCls:Be,className:Re,rootClassName:rt,style:Tt,tooltips:Ln,character:Nn=n.createElement(M,null)}=D,pt=fn(D,["prefixCls","className","rootClassName","style","tooltips","character"]),yn=(zt,fr)=>{let{index:ao}=fr;return Ln?n.createElement(bt.Z,{title:Ln[ao]},zt):zt},{getPrefixCls:Wn,direction:Fn,rate:Gn}=n.useContext(Xe.E_),er=Wn("rate",Be),[Sn,Vr]=yt(er),Ft=Object.assign(Object.assign({},Gn==null?void 0:Gn.style),Tt);return Sn(n.createElement(be,Object.assign({ref:se,character:Nn,characterRender:yn},pt,{className:$()(Re,rt,Vr,Gn==null?void 0:Gn.className),style:Ft,prefixCls:er,direction:Fn})))})},92783:function(Z,F,i){"use strict";i.d(F,{Z:function(){return Se}});var s=i(94184),n=i.n(s),b=i(87462),x=i(97685),O=i(91),E=i(4942),M=i(1413),T=i(71002),$=i(67294),H=i(21770),oe=i(42550),w=i(98423),Y=i(82225),de=i(8410),_=function(se){return se?{left:se.offsetLeft,right:se.parentElement.clientWidth-se.clientWidth-se.offsetLeft,width:se.clientWidth}:null},re=function(se){return se!==void 0?"".concat(se,"px"):void 0};function Ke(D){var se=D.prefixCls,Be=D.containerRef,Re=D.value,rt=D.getValueIndex,Tt=D.motionName,Ln=D.onMotionStart,Nn=D.onMotionEnd,pt=D.direction,yn=$.useRef(null),Wn=$.useState(Re),Fn=(0,x.Z)(Wn,2),Gn=Fn[0],er=Fn[1],Sn=function(Mr){var Vn,Xt=rt(Mr),Qt=(Vn=Be.current)===null||Vn===void 0?void 0:Vn.querySelectorAll(".".concat(se,"-item"))[Xt];return(Qt==null?void 0:Qt.offsetParent)&&Qt},Vr=$.useState(null),Ft=(0,x.Z)(Vr,2),zt=Ft[0],fr=Ft[1],ao=$.useState(null),k=(0,x.Z)(ao,2),Ne=k[0],Fe=k[1];(0,de.Z)(function(){if(Gn!==Re){var Kt=Sn(Gn),Mr=Sn(Re),Vn=_(Kt),Xt=_(Mr);er(Re),fr(Vn),Fe(Xt),Kt&&Mr?Ln():Nn()}},[Re]);var dt=$.useMemo(function(){return re(pt==="rtl"?-(zt==null?void 0:zt.right):zt==null?void 0:zt.left)},[pt,zt]),$t=$.useMemo(function(){return re(pt==="rtl"?-(Ne==null?void 0:Ne.right):Ne==null?void 0:Ne.left)},[pt,Ne]),rn=function(){return{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},On=function(){return{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},xt=function(){fr(null),Fe(null),Nn()};return!zt||!Ne?null:$.createElement(Y.ZP,{visible:!0,motionName:Tt,motionAppear:!0,onAppearStart:rn,onAppearActive:On,onVisibleChanged:xt},function(Kt,Mr){var Vn=Kt.className,Xt=Kt.style,Qt=(0,M.Z)((0,M.Z)({},Xt),{},{"--thumb-start-left":dt,"--thumb-start-width":re(zt==null?void 0:zt.width),"--thumb-active-left":$t,"--thumb-active-width":re(Ne==null?void 0:Ne.width)}),on={ref:(0,oe.sQ)(yn,Mr),style:Qt,className:n()("".concat(se,"-thumb"),Vn)};return $.createElement("div",on)})}var Ce=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"];function lt(D){if(typeof D.title!="undefined")return D.title;if((0,T.Z)(D.label)!=="object"){var se;return(se=D.label)===null||se===void 0?void 0:se.toString()}}function ut(D){return D.map(function(se){if((0,T.Z)(se)==="object"&&se!==null){var Be=lt(se);return(0,M.Z)((0,M.Z)({},se),{},{title:Be})}return{label:se==null?void 0:se.toString(),title:se==null?void 0:se.toString(),value:se}})}var at=function(se){var Be=se.prefixCls,Re=se.className,rt=se.disabled,Tt=se.checked,Ln=se.label,Nn=se.title,pt=se.value,yn=se.onChange,Wn=function(Gn){rt||yn(Gn,pt)};return $.createElement("label",{className:n()(Re,(0,E.Z)({},"".concat(Be,"-item-disabled"),rt))},$.createElement("input",{className:"".concat(Be,"-item-input"),type:"radio",disabled:rt,checked:Tt,onChange:Wn}),$.createElement("div",{className:"".concat(Be,"-item-label"),title:Nn},Ln))},Yn=$.forwardRef(function(D,se){var Be,Re,rt=D.prefixCls,Tt=rt===void 0?"rc-segmented":rt,Ln=D.direction,Nn=D.options,pt=D.disabled,yn=D.defaultValue,Wn=D.value,Fn=D.onChange,Gn=D.className,er=Gn===void 0?"":Gn,Sn=D.motionName,Vr=Sn===void 0?"thumb-motion":Sn,Ft=(0,O.Z)(D,Ce),zt=$.useRef(null),fr=$.useMemo(function(){return(0,oe.sQ)(zt,se)},[zt,se]),ao=$.useMemo(function(){return ut(Nn)},[Nn]),k=(0,H.Z)((Be=ao[0])===null||Be===void 0?void 0:Be.value,{value:Wn,defaultValue:yn}),Ne=(0,x.Z)(k,2),Fe=Ne[0],dt=Ne[1],$t=$.useState(!1),rn=(0,x.Z)($t,2),On=rn[0],xt=rn[1],Kt=function(Xt,Qt){pt||(dt(Qt),Fn==null||Fn(Qt))},Mr=(0,w.Z)(Ft,["children"]);return $.createElement("div",(0,b.Z)({},Mr,{className:n()(Tt,(Re={},(0,E.Z)(Re,"".concat(Tt,"-rtl"),Ln==="rtl"),(0,E.Z)(Re,"".concat(Tt,"-disabled"),pt),Re),er),ref:fr}),$.createElement("div",{className:"".concat(Tt,"-group")},$.createElement(Ke,{prefixCls:Tt,value:Fe,containerRef:zt,motionName:"".concat(Tt,"-").concat(Vr),direction:Ln,getValueIndex:function(Xt){return ao.findIndex(function(Qt){return Qt.value===Xt})},onMotionStart:function(){xt(!0)},onMotionEnd:function(){xt(!1)}}),ao.map(function(Vn){return $.createElement(at,(0,b.Z)({},Vn,{key:Vn.value,prefixCls:Tt,className:n()(Vn.className,"".concat(Tt,"-item"),(0,E.Z)({},"".concat(Tt,"-item-selected"),Vn.value===Fe&&!On)),checked:Vn.value===Fe,onChange:Kt,disabled:!!pt||!!Vn.disabled}))})))});Yn.displayName="Segmented",Yn.defaultProps={options:[]};var dn=Yn,qt=i(53124),be=i(98675),Xe=i(14747),bt=i(67968),te=i(45503);function Te(D,se){return{[`${D}, ${D}:hover, ${D}:focus`]:{color:se.colorTextDisabled,cursor:"not-allowed"}}}function _e(D){return{backgroundColor:D.itemSelectedBg,boxShadow:D.boxShadowTertiary}}const Pe=Object.assign({overflow:"hidden"},Xe.vS),Ue=D=>{const{componentCls:se}=D;return{[se]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Xe.Wf)(D)),{display:"inline-block",padding:D.segmentedPadding,color:D.itemColor,backgroundColor:D.segmentedBgColor,borderRadius:D.borderRadius,transition:`all ${D.motionDurationMid} ${D.motionEaseInOut}`,[`${se}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${se}-rtl`]:{direction:"rtl"},[`&${se}-block`]:{display:"flex"},[`&${se}-block ${se}-item`]:{flex:1,minWidth:0},[`${se}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${D.motionDurationMid} ${D.motionEaseInOut}`,borderRadius:D.borderRadiusSM,"&-selected":Object.assign(Object.assign({},_e(D)),{color:D.itemSelectedColor}),"&::after":{content:'""',position:"absolute",width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${D.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${se}-item-selected):not(${se}-item-disabled)`]:{color:D.itemHoverColor,"&::after":{backgroundColor:D.itemHoverBg}},[`&:active:not(${se}-item-selected):not(${se}-item-disabled)`]:{color:D.itemHoverColor,"&::after":{backgroundColor:D.itemActiveBg}},"&-label":Object.assign({minHeight:D.controlHeight-D.segmentedPadding*2,lineHeight:`${D.controlHeight-D.segmentedPadding*2}px`,padding:`0 ${D.segmentedPaddingHorizontal}px`},Pe),"&-icon + *":{marginInlineStart:D.marginSM/2},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${se}-thumb`]:Object.assign(Object.assign({},_e(D)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${D.paddingXXS}px 0`,borderRadius:D.borderRadiusSM,[`& ~ ${se}-item:not(${se}-item-selected):not(${se}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${se}-lg`]:{borderRadius:D.borderRadiusLG,[`${se}-item-label`]:{minHeight:D.controlHeightLG-D.segmentedPadding*2,lineHeight:`${D.controlHeightLG-D.segmentedPadding*2}px`,padding:`0 ${D.segmentedPaddingHorizontal}px`,fontSize:D.fontSizeLG},[`${se}-item, ${se}-thumb`]:{borderRadius:D.borderRadius}},[`&${se}-sm`]:{borderRadius:D.borderRadiusSM,[`${se}-item-label`]:{minHeight:D.controlHeightSM-D.segmentedPadding*2,lineHeight:`${D.controlHeightSM-D.segmentedPadding*2}px`,padding:`0 ${D.segmentedPaddingHorizontalSM}px`},[`${se}-item, ${se}-thumb`]:{borderRadius:D.borderRadiusXS}}}),Te(`&-disabled ${se}-item`,D)),Te(`${se}-item-disabled`,D)),{[`${se}-thumb-motion-appear-active`]:{transition:`transform ${D.motionDurationSlow} ${D.motionEaseInOut}, width ${D.motionDurationSlow} ${D.motionEaseInOut}`,willChange:"transform, width"}})}};var ct=(0,bt.Z)("Segmented",D=>{const{lineWidth:se,lineWidthBold:Be,colorBgLayout:Re}=D,rt=(0,te.TS)(D,{segmentedPadding:Be,segmentedBgColor:Re,segmentedPaddingHorizontal:D.controlPaddingHorizontal-se,segmentedPaddingHorizontalSM:D.controlPaddingHorizontalSM-se});return[Ue(rt)]},D=>{const{colorTextLabel:se,colorText:Be,colorFillSecondary:Re,colorBgElevated:rt,colorFill:Tt}=D;return{itemColor:se,itemHoverColor:Be,itemHoverBg:Re,itemSelectedBg:rt,itemActiveBg:Tt,itemSelectedColor:Be}}),yt=function(D,se){var Be={};for(var Re in D)Object.prototype.hasOwnProperty.call(D,Re)&&se.indexOf(Re)<0&&(Be[Re]=D[Re]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Re=Object.getOwnPropertySymbols(D);rt{const{prefixCls:Be,className:Re,rootClassName:rt,block:Tt,options:Ln=[],size:Nn="middle",style:pt}=D,yn=yt(D,["prefixCls","className","rootClassName","block","options","size","style"]),{getPrefixCls:Wn,direction:Fn,segmented:Gn}=$.useContext(qt.E_),er=Wn("segmented",Be),[Sn,Vr]=ct(er),Ft=(0,be.Z)(Nn),zt=$.useMemo(()=>Ln.map(k=>{if(fn(k)){const{icon:Ne,label:Fe}=k,dt=yt(k,["icon","label"]);return Object.assign(Object.assign({},dt),{label:$.createElement($.Fragment,null,$.createElement("span",{className:`${er}-item-icon`},Ne),Fe&&$.createElement("span",null,Fe))})}return k}),[Ln,er]),fr=n()(Re,rt,Gn==null?void 0:Gn.className,{[`${er}-block`]:Tt,[`${er}-sm`]:Ft==="small",[`${er}-lg`]:Ft==="large"},Vr),ao=Object.assign(Object.assign({},Gn==null?void 0:Gn.style),pt);return Sn($.createElement(dn,Object.assign({},yn,{className:fr,style:ao,options:zt,ref:se,prefixCls:er,direction:Fn})))})},71338:function(Z,F,i){"use strict";i.d(F,{Z:function(){return ao}});var s=i(67294),n=i(94184),b=i.n(n),x=i(4942),O=i(74902),E=i(97685),M=i(71002),T=i(91881),$=i(21770),H=i(87462),oe=i(91),w=i(1413),Y=i(15105),de=s.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0}),_=de;function re(k,Ne,Fe){return(k-Ne)/(Fe-Ne)}function Ke(k,Ne,Fe,dt){var $t=re(Ne,Fe,dt),rn={};switch(k){case"rtl":rn.right="".concat($t*100,"%"),rn.transform="translateX(50%)";break;case"btt":rn.bottom="".concat($t*100,"%"),rn.transform="translateY(50%)";break;case"ttb":rn.top="".concat($t*100,"%"),rn.transform="translateY(-50%)";break;default:rn.left="".concat($t*100,"%"),rn.transform="translateX(-50%)";break}return rn}function Ce(k,Ne){return Array.isArray(k)?k[Ne]:k}var lt=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"],ut=s.forwardRef(function(k,Ne){var Fe,dt,$t=k.prefixCls,rn=k.value,On=k.valueIndex,xt=k.onStartMove,Kt=k.style,Mr=k.render,Vn=k.dragging,Xt=k.onOffsetChange,Qt=(0,oe.Z)(k,lt),on=s.useContext(_),Tn=on.min,q=on.max,ne=on.direction,Oe=on.disabled,je=on.keyboard,et=on.range,vn=on.tabIndex,Bt=on.ariaLabelForHandle,zn=on.ariaLabelledByForHandle,lr=on.ariaValueTextFormatterForHandle,Cn="".concat($t,"-handle"),Zn=function(To){Oe||xt(To,On)},pn=function(To){if(!Oe&&je){var Qn=null;switch(To.which||To.keyCode){case Y.Z.LEFT:Qn=ne==="ltr"||ne==="btt"?-1:1;break;case Y.Z.RIGHT:Qn=ne==="ltr"||ne==="btt"?1:-1;break;case Y.Z.UP:Qn=ne!=="ttb"?1:-1;break;case Y.Z.DOWN:Qn=ne!=="ttb"?-1:1;break;case Y.Z.HOME:Qn="min";break;case Y.Z.END:Qn="max";break;case Y.Z.PAGE_UP:Qn=2;break;case Y.Z.PAGE_DOWN:Qn=-2;break}Qn!==null&&(To.preventDefault(),Xt(Qn,On))}},Rn=Ke(ne,rn,Tn,q),kn=s.createElement("div",(0,H.Z)({ref:Ne,className:b()(Cn,(Fe={},(0,x.Z)(Fe,"".concat(Cn,"-").concat(On+1),et),(0,x.Z)(Fe,"".concat(Cn,"-dragging"),Vn),Fe)),style:(0,w.Z)((0,w.Z)({},Rn),Kt),onMouseDown:Zn,onTouchStart:Zn,onKeyDown:pn,tabIndex:Oe?null:Ce(vn,On),role:"slider","aria-valuemin":Tn,"aria-valuemax":q,"aria-valuenow":rn,"aria-disabled":Oe,"aria-label":Ce(Bt,On),"aria-labelledby":Ce(zn,On),"aria-valuetext":(dt=Ce(lr,On))===null||dt===void 0?void 0:dt(rn),"aria-orientation":ne==="ltr"||ne==="rtl"?"horizontal":"vertical"},Qt));return Mr&&(kn=Mr(kn,{index:On,prefixCls:$t,value:rn,dragging:Vn})),kn}),at=ut,Yn=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"],dn=s.forwardRef(function(k,Ne){var Fe=k.prefixCls,dt=k.style,$t=k.onStartMove,rn=k.onOffsetChange,On=k.values,xt=k.handleRender,Kt=k.draggingIndex,Mr=(0,oe.Z)(k,Yn),Vn=s.useRef({});return s.useImperativeHandle(Ne,function(){return{focus:function(Qt){var on;(on=Vn.current[Qt])===null||on===void 0||on.focus()}}}),s.createElement(s.Fragment,null,On.map(function(Xt,Qt){return s.createElement(at,(0,H.Z)({ref:function(Tn){Tn?Vn.current[Qt]=Tn:delete Vn.current[Qt]},dragging:Kt===Qt,prefixCls:Fe,style:Ce(dt,Qt),key:Qt,value:Xt,valueIndex:Qt,onStartMove:$t,onOffsetChange:rn,render:xt},Mr))}))}),qt=dn;function be(k){var Ne="touches"in k?k.touches[0]:k;return{pageX:Ne.pageX,pageY:Ne.pageY}}function Xe(k,Ne,Fe,dt,$t,rn,On,xt,Kt){var Mr=s.useState(null),Vn=(0,E.Z)(Mr,2),Xt=Vn[0],Qt=Vn[1],on=s.useState(-1),Tn=(0,E.Z)(on,2),q=Tn[0],ne=Tn[1],Oe=s.useState(Fe),je=(0,E.Z)(Oe,2),et=je[0],vn=je[1],Bt=s.useState(Fe),zn=(0,E.Z)(Bt,2),lr=zn[0],Cn=zn[1],Zn=s.useRef(null),pn=s.useRef(null);s.useEffect(function(){q===-1&&vn(Fe)},[Fe,q]),s.useEffect(function(){return function(){document.removeEventListener("mousemove",Zn.current),document.removeEventListener("mouseup",pn.current),document.removeEventListener("touchmove",Zn.current),document.removeEventListener("touchend",pn.current)}},[]);var Rn=function(an,kr){et.some(function(zr,Do){return zr!==an[Do]})&&(kr!==void 0&&Qt(kr),vn(an),On(an))},kn=function(an,kr){if(an===-1){var zr=lr[0],Do=lr[lr.length-1],G=dt-zr,to=$t-Do,fo=kr*($t-dt);fo=Math.max(fo,G),fo=Math.min(fo,to);var Fo=rn(zr+fo);fo=Fo-zr;var Aa=lr.map(function(wr){return wr+fo});Rn(Aa)}else{var oa=($t-dt)*kr,Kr=(0,O.Z)(et);Kr[an]=lr[an];var Ar=Kt(Kr,oa,an,"dist");Rn(Ar.values,Ar.value)}},bo=s.useRef(kn);bo.current=kn;var To=function(an,kr){an.stopPropagation();var zr=Fe[kr];ne(kr),Qt(zr),Cn(Fe);var Do=be(an),G=Do.pageX,to=Do.pageY,fo=function(oa){oa.preventDefault();var Kr=be(oa),Ar=Kr.pageX,wr=Kr.pageY,Gr=Ar-G,fa=wr-to,si=k.current.getBoundingClientRect(),pi=si.width,ci=si.height,Qa;switch(Ne){case"btt":Qa=-fa/ci;break;case"ttb":Qa=fa/ci;break;case"rtl":Qa=-Gr/pi;break;default:Qa=Gr/pi}bo.current(kr,Qa)},Fo=function Aa(oa){oa.preventDefault(),document.removeEventListener("mouseup",Aa),document.removeEventListener("mousemove",fo),document.removeEventListener("touchend",Aa),document.removeEventListener("touchmove",fo),Zn.current=null,pn.current=null,ne(-1),xt()};document.addEventListener("mouseup",Fo),document.addEventListener("mousemove",fo),document.addEventListener("touchend",Fo),document.addEventListener("touchmove",fo),Zn.current=fo,pn.current=Fo},Qn=s.useMemo(function(){var Lo=(0,O.Z)(Fe).sort(function(kr,zr){return kr-zr}),an=(0,O.Z)(et).sort(function(kr,zr){return kr-zr});return Lo.every(function(kr,zr){return kr===an[zr]})?et:Fe},[Fe,et]);return[q,Xt,Qn,To]}function bt(k){var Ne,Fe=k.prefixCls,dt=k.style,$t=k.start,rn=k.end,On=k.index,xt=k.onStartMove,Kt=s.useContext(_),Mr=Kt.direction,Vn=Kt.min,Xt=Kt.max,Qt=Kt.disabled,on=Kt.range,Tn="".concat(Fe,"-track"),q=re($t,Vn,Xt),ne=re(rn,Vn,Xt),Oe=function(vn){!Qt&&xt&&xt(vn,-1)},je={};switch(Mr){case"rtl":je.right="".concat(q*100,"%"),je.width="".concat(ne*100-q*100,"%");break;case"btt":je.bottom="".concat(q*100,"%"),je.height="".concat(ne*100-q*100,"%");break;case"ttb":je.top="".concat(q*100,"%"),je.height="".concat(ne*100-q*100,"%");break;default:je.left="".concat(q*100,"%"),je.width="".concat(ne*100-q*100,"%")}return s.createElement("div",{className:b()(Tn,(Ne={},(0,x.Z)(Ne,"".concat(Tn,"-").concat(On+1),on),(0,x.Z)(Ne,"".concat(Fe,"-track-draggable"),xt),Ne)),style:(0,w.Z)((0,w.Z)({},je),dt),onMouseDown:Oe,onTouchStart:Oe})}function te(k){var Ne=k.prefixCls,Fe=k.style,dt=k.values,$t=k.startPoint,rn=k.onStartMove,On=s.useContext(_),xt=On.included,Kt=On.range,Mr=On.min,Vn=s.useMemo(function(){if(!Kt){if(dt.length===0)return[];var Xt=$t!=null?$t:Mr,Qt=dt[0];return[{start:Math.min(Xt,Qt),end:Math.max(Xt,Qt)}]}for(var on=[],Tn=0;Tn3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof q=="number"){var je,et=Tn[ne],vn=et+q,Bt=[];dt.forEach(function(pn){Bt.push(pn.value)}),Bt.push(k,Ne),Bt.push(xt(et));var zn=q>0?1:-1;Oe==="unit"?Bt.push(xt(et+zn*Fe)):Bt.push(xt(vn)),Bt=Bt.filter(function(pn){return pn!==null}).filter(function(pn){return q<0?pn<=et:pn>=et}),Oe==="unit"&&(Bt=Bt.filter(function(pn){return pn!==et}));var lr=Oe==="unit"?et:vn;je=Bt[0];var Cn=Math.abs(je-lr);if(Bt.forEach(function(pn){var Rn=Math.abs(pn-lr);Rn1){var Zn=(0,O.Z)(Tn);return Zn[ne]=je,on(Zn,q-zn,ne,Oe)}return je}else{if(q==="min")return k;if(q==="max")return Ne}},Vn=function(Tn,q,ne){var Oe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",je=Tn[ne],et=Mr(Tn,q,ne,Oe);return{value:et,changed:et!==je}},Xt=function(Tn){return rn===null&&Tn===0||typeof rn=="number"&&Tn3&&arguments[3]!==void 0?arguments[3]:"unit",je=Tn.map(Kt),et=je[ne],vn=Mr(je,q,ne,Oe);if(je[ne]=vn,$t===!1){var Bt=rn||0;ne>0&&je[ne-1]!==et&&(je[ne]=Math.max(je[ne],je[ne-1]+Bt)),ne0;Zn-=1)for(var pn=!0;Xt(je[Zn]-je[Zn-1])&&pn;){var Rn=Vn(je,-1,Zn-1);je[Zn-1]=Rn.value,pn=Rn.changed}for(var kn=je.length-1;kn>0;kn-=1)for(var bo=!0;Xt(je[kn]-je[kn-1])&&bo;){var To=Vn(je,-1,kn-1);je[kn-1]=To.value,bo=To.changed}for(var Qn=0;Qn=0?To:!1},[To,Zi]),zo=s.useMemo(function(){var An=Object.keys(oa||{});return An.map(function(Lt){var Bn=oa[Lt],Ao={value:Number(Lt)};return Bn&&(0,M.Z)(Bn)==="object"&&!s.isValidElement(Bn)&&("label"in Bn||"style"in Bn)?(Ao.style=Bn.style,Ao.label=Bn.label):Ao.label=Bn,Ao}).filter(function(Lt){var Bn=Lt.label;return Bn||typeof Bn=="number"}).sort(function(Lt,Bn){return Lt.value-Bn.value})},[oa]),ti=ct(ha,ei,Zi,zo,kn,ki),zi=(0,E.Z)(ti,2),he=zi[0],ue=zi[1],He=(0,$.Z)(Bt,{value:vn}),Ct=(0,E.Z)(He,2),At=Ct[0],ln=Ct[1],Mn=s.useMemo(function(){var An=At==null?[]:Array.isArray(At)?At:[At],Lt=(0,E.Z)(An,1),Bn=Lt[0],Ao=Bn===void 0?ha:Bn,Oo=At===null?[]:[Ao];if(zn){if(Oo=(0,O.Z)(An),lr||At===void 0){var ka=lr>=0?lr+1:2;for(Oo=Oo.slice(0,ka);Oo.length=0&&ci.current.focus(An)}ba(null)},[yo]);var Go=s.useMemo(function(){return Qn&&Zi===null?!1:Qn},[Qn,Zi]),Bo=function(){pn==null||pn(Jn(xn.current))},ia=Xe(Qa,ri,Mn,ha,ei,he,Dn,Bo,ue),Qo=(0,E.Z)(ia,4),va=Qo[0],ze=Qo[1],tr=Qo[2],wt=Qo[3],Ho=function(Lt,Bn){wt(Lt,Bn),Zn==null||Zn(Jn(xn.current))},po=va!==-1;s.useEffect(function(){if(!po){var An=Mn.lastIndexOf(ze);ci.current.focus(An)}},[po]);var Pa=s.useMemo(function(){return(0,O.Z)(tr).sort(function(An,Lt){return An-Lt})},[tr]),Ia=s.useMemo(function(){return zn?[Pa[0],Pa[Pa.length-1]]:[ha,Pa[0]]},[Pa,zn,ha]),Oa=(0,E.Z)(Ia,2),wa=Oa[0],hr=Oa[1];s.useImperativeHandle(Ne,function(){return{focus:function(){ci.current.focus(0)},blur:function(){var Lt=document,Bn=Lt.activeElement;Qa.current.contains(Bn)&&(Bn==null||Bn.blur())}}}),s.useEffect(function(){Xt&&ci.current.focus(0)},[]);var ar=s.useMemo(function(){return{min:ha,max:ei,direction:ri,disabled:Kt,keyboard:Vn,step:Zi,included:zr,includedStart:wa,includedEnd:hr,range:zn,tabIndex:Gr,ariaLabelForHandle:fa,ariaLabelledByForHandle:si,ariaValueTextFormatterForHandle:pi}},[ha,ei,ri,Kt,Vn,Zi,zr,wa,hr,zn,Gr,fa,si,pi]);return s.createElement(_.Provider,{value:ar},s.createElement("div",{ref:Qa,className:b()($t,rn,(Fe={},(0,x.Z)(Fe,"".concat($t,"-disabled"),Kt),(0,x.Z)(Fe,"".concat($t,"-vertical"),an),(0,x.Z)(Fe,"".concat($t,"-horizontal"),!an),(0,x.Z)(Fe,"".concat($t,"-with-marks"),zo.length),Fe)),style:On,onMouseDown:Or},s.createElement("div",{className:"".concat($t,"-rail"),style:fo}),s.createElement(te,{prefixCls:$t,style:G,values:Pa,startPoint:Do,onStartMove:Go?Ho:null}),s.createElement(Ue,{prefixCls:$t,marks:zo,dots:Kr,style:Fo,activeStyle:Aa}),s.createElement(qt,{ref:ci,prefixCls:$t,style:to,values:tr,draggingIndex:va,onStartMove:Ho,onOffsetChange:ko,onFocus:Qt,onBlur:on,handleRender:Ar}),s.createElement(_e,{prefixCls:$t,marks:zo,onClick:Qr})))}),Nt=fn,Se=Nt,D=i(53124),se=i(98866),Be=i(75164),Re=i(42550),rt=i(83062),Ln=s.forwardRef((k,Ne)=>{const{open:Fe}=k,dt=(0,s.useRef)(null),$t=(0,s.useRef)(null);function rn(){Be.Z.cancel($t.current),$t.current=null}function On(){$t.current=(0,Be.Z)(()=>{var xt;(xt=dt.current)===null||xt===void 0||xt.forceAlign(),$t.current=null})}return s.useEffect(()=>(Fe?On():rn(),rn),[Fe,k.title]),s.createElement(rt.Z,Object.assign({ref:(0,Re.sQ)(dt,Ne)},k))}),Nn=i(10274),pt=i(14747),yn=i(67968),Wn=i(45503);const Fn=k=>{const{componentCls:Ne,antCls:Fe,controlSize:dt,dotSize:$t,marginFull:rn,marginPart:On,colorFillContentHover:xt}=k;return{[Ne]:Object.assign(Object.assign({},(0,pt.Wf)(k)),{position:"relative",height:dt,margin:`${On}px ${rn}px`,padding:0,cursor:"pointer",touchAction:"none",["&-vertical"]:{margin:`${rn}px ${On}px`},[`${Ne}-rail`]:{position:"absolute",backgroundColor:k.railBg,borderRadius:k.borderRadiusXS,transition:`background-color ${k.motionDurationMid}`},[`${Ne}-track`]:{position:"absolute",backgroundColor:k.trackBg,borderRadius:k.borderRadiusXS,transition:`background-color ${k.motionDurationMid}`},[`${Ne}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${Ne}-rail`]:{backgroundColor:k.railHoverBg},[`${Ne}-track`]:{backgroundColor:k.trackHoverBg},[`${Ne}-dot`]:{borderColor:xt},[`${Ne}-handle::after`]:{boxShadow:`0 0 0 ${k.handleLineWidth}px ${k.colorPrimaryBorderHover}`},[`${Ne}-dot-active`]:{borderColor:k.dotActiveBorderColor}},[`${Ne}-handle`]:{position:"absolute",width:k.handleSize,height:k.handleSize,outline:"none",[`${Ne}-dragging`]:{zIndex:1},"&::before":{content:'""',position:"absolute",insetInlineStart:-k.handleLineWidth,insetBlockStart:-k.handleLineWidth,width:k.handleSize+k.handleLineWidth*2,height:k.handleSize+k.handleLineWidth*2,backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:k.handleSize,height:k.handleSize,backgroundColor:k.colorBgElevated,boxShadow:`0 0 0 ${k.handleLineWidth}px ${k.handleColor}`,borderRadius:"50%",cursor:"pointer",transition:` + inset-inline-start ${k.motionDurationMid}, + inset-block-start ${k.motionDurationMid}, + width ${k.motionDurationMid}, + height ${k.motionDurationMid}, + box-shadow ${k.motionDurationMid} + `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:-((k.handleSizeHover-k.handleSize)/2+k.handleLineWidthHover),insetBlockStart:-((k.handleSizeHover-k.handleSize)/2+k.handleLineWidthHover),width:k.handleSizeHover+k.handleLineWidthHover*2,height:k.handleSizeHover+k.handleLineWidthHover*2},"&::after":{boxShadow:`0 0 0 ${k.handleLineWidthHover}px ${k.handleActiveColor}`,width:k.handleSizeHover,height:k.handleSizeHover,insetInlineStart:(k.handleSize-k.handleSizeHover)/2,insetBlockStart:(k.handleSize-k.handleSizeHover)/2}}},[`${Ne}-mark`]:{position:"absolute",fontSize:k.fontSize},[`${Ne}-mark-text`]:{position:"absolute",display:"inline-block",color:k.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:k.colorText}},[`${Ne}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${Ne}-dot`]:{position:"absolute",width:$t,height:$t,backgroundColor:k.colorBgElevated,border:`${k.handleLineWidth}px solid ${k.dotBorderColor}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${k.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:k.dotActiveBorderColor}},[`&${Ne}-disabled`]:{cursor:"not-allowed",[`${Ne}-rail`]:{backgroundColor:`${k.railBg} !important`},[`${Ne}-track`]:{backgroundColor:`${k.trackBgDisabled} !important`},[` + ${Ne}-dot + `]:{backgroundColor:k.colorBgElevated,borderColor:k.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${Ne}-handle::after`]:{backgroundColor:k.colorBgElevated,cursor:"not-allowed",width:k.handleSize,height:k.handleSize,boxShadow:`0 0 0 ${k.handleLineWidth}px ${new Nn.C(k.colorTextDisabled).onBackground(k.colorBgContainer).toHexShortString()}`,insetInlineStart:0,insetBlockStart:0},[` + ${Ne}-mark-text, + ${Ne}-dot + `]:{cursor:"not-allowed !important"}},[`&-tooltip ${Fe}-tooltip-inner`]:{minWidth:"unset"}})}},Gn=(k,Ne)=>{const{componentCls:Fe,railSize:dt,handleSize:$t,dotSize:rn}=k,On=Ne?"paddingBlock":"paddingInline",xt=Ne?"width":"height",Kt=Ne?"height":"width",Mr=Ne?"insetBlockStart":"insetInlineStart",Vn=Ne?"top":"insetInlineStart",Xt=(dt*3-$t)/2,Qt=($t-dt)/2,on=Ne?{borderWidth:`${Qt}px 0`,transform:`translateY(-${Qt}px)`}:{borderWidth:`0 ${Qt}px`,transform:`translateX(-${Qt}px)`};return{[On]:dt,[Kt]:dt*3,[`${Fe}-rail`]:{[xt]:"100%",[Kt]:dt},[`${Fe}-track`]:{[Kt]:dt},[`${Fe}-track-draggable`]:Object.assign({},on),[`${Fe}-handle`]:{[Mr]:Xt},[`${Fe}-mark`]:{insetInlineStart:0,top:0,[Vn]:dt*3+(Ne?0:k.marginFull),[xt]:"100%"},[`${Fe}-step`]:{insetInlineStart:0,top:0,[Vn]:dt,[xt]:"100%",[Kt]:dt},[`${Fe}-dot`]:{position:"absolute",[Mr]:(dt-rn)/2}}},er=k=>{const{componentCls:Ne,marginPartWithMark:Fe}=k;return{[`${Ne}-horizontal`]:Object.assign(Object.assign({},Gn(k,!0)),{[`&${Ne}-with-marks`]:{marginBottom:Fe}})}},Sn=k=>{const{componentCls:Ne}=k;return{[`${Ne}-vertical`]:Object.assign(Object.assign({},Gn(k,!1)),{height:"100%"})}};var Vr=(0,yn.Z)("Slider",k=>{const Ne=(0,Wn.TS)(k,{marginPart:(k.controlHeight-k.controlSize)/2,marginFull:k.controlSize/2,marginPartWithMark:k.controlHeightLG-k.controlSize});return[Fn(Ne),er(Ne),Sn(Ne)]},k=>{const Fe=k.controlHeightLG/4,dt=k.controlHeightSM/2,$t=k.lineWidth+1,rn=k.lineWidth+1*3;return{controlSize:Fe,railSize:4,handleSize:Fe,handleSizeHover:dt,dotSize:8,handleLineWidth:$t,handleLineWidthHover:rn,railBg:k.colorFillTertiary,railHoverBg:k.colorFillSecondary,trackBg:k.colorPrimaryBorder,trackHoverBg:k.colorPrimaryBorderHover,handleColor:k.colorPrimaryBorder,handleActiveColor:k.colorPrimary,dotBorderColor:k.colorBorderSecondary,dotActiveBorderColor:k.colorPrimaryBorder,trackBgDisabled:k.colorBgContainerDisabled}}),Ft=function(k,Ne){var Fe={};for(var dt in k)Object.prototype.hasOwnProperty.call(k,dt)&&Ne.indexOf(dt)<0&&(Fe[dt]=k[dt]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $t=0,dt=Object.getOwnPropertySymbols(k);$ttypeof k=="number"?k.toString():"";var ao=s.forwardRef((k,Ne)=>{const{prefixCls:Fe,range:dt,className:$t,rootClassName:rn,style:On,disabled:xt,tooltipPrefixCls:Kt,tipFormatter:Mr,tooltipVisible:Vn,getTooltipPopupContainer:Xt,tooltipPlacement:Qt}=k,on=Ft(k,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement"]),{direction:Tn,slider:q,getPrefixCls:ne,getPopupContainer:Oe}=s.useContext(D.E_),je=s.useContext(se.Z),et=xt!=null?xt:je,[vn,Bt]=s.useState({}),zn=(Lo,an)=>{Bt(kr=>Object.assign(Object.assign({},kr),{[Lo]:an}))},lr=(Lo,an)=>Lo||(an?Tn==="rtl"?"left":"right":"top"),Cn=ne("slider",Fe),[Zn,pn]=Vr(Cn),Rn=b()($t,q==null?void 0:q.className,rn,{[`${Cn}-rtl`]:Tn==="rtl"},pn);Tn==="rtl"&&!on.vertical&&(on.reverse=!on.reverse);const[kn,bo]=s.useMemo(()=>dt?typeof dt=="object"?[!0,dt.draggableTrack]:[!0,!1]:[!1],[dt]),To=(Lo,an)=>{var kr;const{index:zr,dragging:Do}=an,{tooltip:G={},vertical:to}=k,fo=Object.assign({},G),{open:Fo,placement:Aa,getPopupContainer:oa,prefixCls:Kr,formatter:Ar}=fo;let wr;Ar||Ar===null?wr=Ar:Mr||Mr===null?wr=Mr:wr=zt;const Gr=wr?vn[zr]||Do:!1,fa=(kr=Fo!=null?Fo:Vn)!==null&&kr!==void 0?kr:Fo===void 0&&Gr,si=Object.assign(Object.assign({},Lo.props),{onMouseEnter:()=>zn(zr,!0),onMouseLeave:()=>zn(zr,!1)}),pi=ne("tooltip",Kr!=null?Kr:Kt);return s.createElement(Ln,Object.assign({},fo,{prefixCls:pi,title:wr?wr(an.value):"",open:fa,placement:lr(Aa!=null?Aa:Qt,to),key:zr,overlayClassName:`${Cn}-tooltip`,getPopupContainer:oa||Xt||Oe}),s.cloneElement(Lo,si))},Qn=Object.assign(Object.assign({},q==null?void 0:q.style),On);return Zn(s.createElement(Se,Object.assign({},on,{step:on.step,range:kn,draggableTrack:bo,className:Rn,style:Qn,disabled:et,ref:Ne,prefixCls:Cn,handleRender:To})))})},72269:function(Z,F,i){"use strict";i.d(F,{Z:function(){return _e}});var s=i(67294),n=i(19267),b=i(94184),x=i.n(b),O=i(87462),E=i(4942),M=i(97685),T=i(91),$=i(21770),H=i(15105),oe=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],w=s.forwardRef(function(Pe,Ue){var ct,yt=Pe.prefixCls,fn=yt===void 0?"rc-switch":yt,Nt=Pe.className,Se=Pe.checked,D=Pe.defaultChecked,se=Pe.disabled,Be=Pe.loadingIcon,Re=Pe.checkedChildren,rt=Pe.unCheckedChildren,Tt=Pe.onClick,Ln=Pe.onChange,Nn=Pe.onKeyDown,pt=(0,T.Z)(Pe,oe),yn=(0,$.Z)(!1,{value:Se,defaultValue:D}),Wn=(0,M.Z)(yn,2),Fn=Wn[0],Gn=Wn[1];function er(zt,fr){var ao=Fn;return se||(ao=zt,Gn(ao),Ln==null||Ln(ao,fr)),ao}function Sn(zt){zt.which===H.Z.LEFT?er(!1,zt):zt.which===H.Z.RIGHT&&er(!0,zt),Nn==null||Nn(zt)}function Vr(zt){var fr=er(!Fn,zt);Tt==null||Tt(fr,zt)}var Ft=x()(fn,Nt,(ct={},(0,E.Z)(ct,"".concat(fn,"-checked"),Fn),(0,E.Z)(ct,"".concat(fn,"-disabled"),se),ct));return s.createElement("button",(0,O.Z)({},pt,{type:"button",role:"switch","aria-checked":Fn,disabled:se,className:Ft,ref:Ue,onKeyDown:Sn,onClick:Vr}),Be,s.createElement("span",{className:"".concat(fn,"-inner")},s.createElement("span",{className:"".concat(fn,"-inner-checked")},Re),s.createElement("span",{className:"".concat(fn,"-inner-unchecked")},rt)))});w.displayName="Switch";var Y=w,de=i(45353),_=i(53124),re=i(98866),Ke=i(98675),Ce=i(10274),lt=i(14747),ut=i(67968),at=i(45503);const Yn=Pe=>{const{componentCls:Ue,trackHeightSM:ct,trackPadding:yt,trackMinWidthSM:fn,innerMinMarginSM:Nt,innerMaxMarginSM:Se,handleSizeSM:D}=Pe,se=`${Ue}-inner`;return{[Ue]:{[`&${Ue}-small`]:{minWidth:fn,height:ct,lineHeight:`${ct}px`,[`${Ue}-inner`]:{paddingInlineStart:Se,paddingInlineEnd:Nt,[`${se}-checked`]:{marginInlineStart:`calc(-100% + ${D+yt*2}px - ${Se*2}px)`,marginInlineEnd:`calc(100% - ${D+yt*2}px + ${Se*2}px)`},[`${se}-unchecked`]:{marginTop:-ct,marginInlineStart:0,marginInlineEnd:0}},[`${Ue}-handle`]:{width:D,height:D},[`${Ue}-loading-icon`]:{top:(D-Pe.switchLoadingIconSize)/2,fontSize:Pe.switchLoadingIconSize},[`&${Ue}-checked`]:{[`${Ue}-inner`]:{paddingInlineStart:Nt,paddingInlineEnd:Se,[`${se}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${se}-unchecked`]:{marginInlineStart:`calc(100% - ${D+yt*2}px + ${Se*2}px)`,marginInlineEnd:`calc(-100% + ${D+yt*2}px - ${Se*2}px)`}},[`${Ue}-handle`]:{insetInlineStart:`calc(100% - ${D+yt}px)`}},[`&:not(${Ue}-disabled):active`]:{[`&:not(${Ue}-checked) ${se}`]:{[`${se}-unchecked`]:{marginInlineStart:Pe.marginXXS/2,marginInlineEnd:-Pe.marginXXS/2}},[`&${Ue}-checked ${se}`]:{[`${se}-checked`]:{marginInlineStart:-Pe.marginXXS/2,marginInlineEnd:Pe.marginXXS/2}}}}}}},dn=Pe=>{const{componentCls:Ue,handleSize:ct}=Pe;return{[Ue]:{[`${Ue}-loading-icon${Pe.iconCls}`]:{position:"relative",top:(ct-Pe.fontSize)/2,color:Pe.switchLoadingIconColor,verticalAlign:"top"},[`&${Ue}-checked ${Ue}-loading-icon`]:{color:Pe.switchColor}}}},qt=Pe=>{const{componentCls:Ue,motion:ct,trackPadding:yt,handleBg:fn,handleShadow:Nt,handleSize:Se}=Pe,D=`${Ue}-handle`;return{[Ue]:{[D]:{position:"absolute",top:yt,insetInlineStart:yt,width:Se,height:Se,transition:`all ${Pe.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:fn,borderRadius:Se/2,boxShadow:Nt,transition:`all ${Pe.switchDuration} ease-in-out`,content:'""'}},[`&${Ue}-checked ${D}`]:{insetInlineStart:`calc(100% - ${Se+yt}px)`},[`&:not(${Ue}-disabled):active`]:ct?{[`${D}::before`]:{insetInlineEnd:Pe.switchHandleActiveInset,insetInlineStart:0},[`&${Ue}-checked ${D}::before`]:{insetInlineEnd:0,insetInlineStart:Pe.switchHandleActiveInset}}:{}}}},be=Pe=>{const{componentCls:Ue,trackHeight:ct,trackPadding:yt,innerMinMargin:fn,innerMaxMargin:Nt,handleSize:Se}=Pe,D=`${Ue}-inner`;return{[Ue]:{[D]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:Nt,paddingInlineEnd:fn,transition:`padding-inline-start ${Pe.switchDuration} ease-in-out, padding-inline-end ${Pe.switchDuration} ease-in-out`,[`${D}-checked, ${D}-unchecked`]:{display:"block",color:Pe.colorTextLightSolid,fontSize:Pe.fontSizeSM,transition:`margin-inline-start ${Pe.switchDuration} ease-in-out, margin-inline-end ${Pe.switchDuration} ease-in-out`,pointerEvents:"none"},[`${D}-checked`]:{marginInlineStart:`calc(-100% + ${Se+yt*2}px - ${Nt*2}px)`,marginInlineEnd:`calc(100% - ${Se+yt*2}px + ${Nt*2}px)`},[`${D}-unchecked`]:{marginTop:-ct,marginInlineStart:0,marginInlineEnd:0}},[`&${Ue}-checked ${D}`]:{paddingInlineStart:fn,paddingInlineEnd:Nt,[`${D}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${D}-unchecked`]:{marginInlineStart:`calc(100% - ${Se+yt*2}px + ${Nt*2}px)`,marginInlineEnd:`calc(-100% + ${Se+yt*2}px - ${Nt*2}px)`}},[`&:not(${Ue}-disabled):active`]:{[`&:not(${Ue}-checked) ${D}`]:{[`${D}-unchecked`]:{marginInlineStart:yt*2,marginInlineEnd:-yt*2}},[`&${Ue}-checked ${D}`]:{[`${D}-checked`]:{marginInlineStart:-yt*2,marginInlineEnd:yt*2}}}}}},Xe=Pe=>{const{componentCls:Ue,trackHeight:ct,trackMinWidth:yt}=Pe;return{[Ue]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,lt.Wf)(Pe)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:yt,height:ct,lineHeight:`${ct}px`,verticalAlign:"middle",background:Pe.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Pe.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Ue}-disabled)`]:{background:Pe.colorTextTertiary}}),(0,lt.Qy)(Pe)),{[`&${Ue}-checked`]:{background:Pe.switchColor,[`&:hover:not(${Ue}-disabled)`]:{background:Pe.colorPrimaryHover}},[`&${Ue}-loading, &${Ue}-disabled`]:{cursor:"not-allowed",opacity:Pe.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Ue}-rtl`]:{direction:"rtl"}})}};var bt=(0,ut.Z)("Switch",Pe=>{const Ue=(0,at.TS)(Pe,{switchDuration:Pe.motionDurationMid,switchColor:Pe.colorPrimary,switchDisabledOpacity:Pe.opacityLoading,switchLoadingIconSize:Pe.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${Pe.opacityLoading})`,switchHandleActiveInset:"-30%"});return[Xe(Ue),be(Ue),qt(Ue),dn(Ue),Yn(Ue)]},Pe=>{const{fontSize:Ue,lineHeight:ct,controlHeight:yt,colorWhite:fn}=Pe,Nt=Ue*ct,Se=yt/2,D=2,se=Nt-D*2,Be=Se-D*2;return{trackHeight:Nt,trackHeightSM:Se,trackMinWidth:se*2+D*4,trackMinWidthSM:Be*2+D*2,trackPadding:D,handleBg:fn,handleSize:se,handleSizeSM:Be,handleShadow:`0 2px 4px 0 ${new Ce.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:se/2,innerMaxMargin:se+D+D*2,innerMinMarginSM:Be/2,innerMaxMarginSM:Be+D+D*2}}),te=function(Pe,Ue){var ct={};for(var yt in Pe)Object.prototype.hasOwnProperty.call(Pe,yt)&&Ue.indexOf(yt)<0&&(ct[yt]=Pe[yt]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fn=0,yt=Object.getOwnPropertySymbols(Pe);fn{const{prefixCls:ct,size:yt,disabled:fn,loading:Nt,className:Se,rootClassName:D,style:se}=Pe,Be=te(Pe,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:Re,direction:rt,switch:Tt}=s.useContext(_.E_),Ln=s.useContext(re.Z),Nn=(fn!=null?fn:Ln)||Nt,pt=Re("switch",ct),yn=s.createElement("div",{className:`${pt}-handle`},Nt&&s.createElement(n.Z,{className:`${pt}-loading-icon`})),[Wn,Fn]=bt(pt),Gn=(0,Ke.Z)(yt),er=x()(Tt==null?void 0:Tt.className,{[`${pt}-small`]:Gn==="small",[`${pt}-loading`]:Nt,[`${pt}-rtl`]:rt==="rtl"},Se,D,Fn),Sn=Object.assign(Object.assign({},Tt==null?void 0:Tt.style),se);return Wn(s.createElement(de.Z,{component:"Switch"},s.createElement(Y,Object.assign({},Be,{prefixCls:pt,className:er,style:Sn,disabled:Nn,ref:Ue,loadingIcon:yn}))))});Te.__ANT_SWITCH=!0;var _e=Te},68351:function(Z,F,i){"use strict";var s=i(67294),n=i(8745),b=i(80044),x=function(H,oe){var w={};for(var Y in H)Object.prototype.hasOwnProperty.call(H,Y)&&oe.indexOf(Y)<0&&(w[Y]=H[Y]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,Y=Object.getOwnPropertySymbols(H);des.createElement(E,Object.assign({},H,{picker:"time",mode:void 0,ref:oe}))),T=s.forwardRef((H,oe)=>{var{addon:w,renderExtraFooter:Y}=H,de=x(H,["addon","renderExtraFooter"]);const _=s.useMemo(()=>{if(Y)return Y;if(w)return w},[w,Y]);return s.createElement(O,Object.assign({},de,{mode:void 0,ref:oe,renderExtraFooter:_}))}),$=(0,n.Z)(T,"picker");T._InternalPanelDoNotUseOrYouWillBeFired=$,T.RangePicker=M,T._InternalPanelDoNotUseOrYouWillBeFired=$,F.Z=T},12845:function(Z,F,i){"use strict";i.d(F,{Z:function(){return qt}});var s=i(67294),n=i(94184),b=i.n(n),x=i(53124),O=i(14747),E=i(67968),M=i(45503);const T=be=>{const{componentCls:Xe}=be;return{[Xe]:Object.assign(Object.assign({},(0,O.Wf)(be)),{margin:0,padding:0,listStyle:"none",[`${Xe}-item`]:{position:"relative",margin:0,paddingBottom:be.itemPaddingBottom,fontSize:be.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:be.itemHeadSize,insetInlineStart:(be.itemHeadSize-be.tailWidth)/2,height:`calc(100% - ${be.itemHeadSize}px)`,borderInlineStart:`${be.tailWidth}px ${be.lineType} ${be.tailColor}`},"&-pending":{[`${Xe}-item-head`]:{fontSize:be.fontSizeSM,backgroundColor:"transparent"},[`${Xe}-item-tail`]:{display:"none"}},"&-head":{position:"absolute",width:be.itemHeadSize,height:be.itemHeadSize,backgroundColor:be.dotBg,border:`${be.dotBorderWidth}px ${be.lineType} transparent`,borderRadius:"50%","&-blue":{color:be.colorPrimary,borderColor:be.colorPrimary},"&-red":{color:be.colorError,borderColor:be.colorError},"&-green":{color:be.colorSuccess,borderColor:be.colorSuccess},"&-gray":{color:be.colorTextDisabled,borderColor:be.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:be.itemHeadSize/2,insetInlineStart:be.itemHeadSize/2,width:"auto",height:"auto",marginBlockStart:0,paddingBlock:be.customHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:-(be.fontSize*be.lineHeight-be.fontSize)+be.lineWidth,marginInlineStart:be.margin+be.itemHeadSize,marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{[`> ${Xe}-item-tail`]:{display:"none"},[`> ${Xe}-item-content`]:{minHeight:be.controlHeightLG*1.2}}},[`&${Xe}-alternate, + &${Xe}-right, + &${Xe}-label`]:{[`${Xe}-item`]:{"&-tail, &-head, &-head-custom":{insetInlineStart:"50%"},"&-head":{marginInlineStart:`-${be.marginXXS}px`,"&-custom":{marginInlineStart:be.tailWidth/2}},"&-left":{[`${Xe}-item-content`]:{insetInlineStart:`calc(50% - ${be.marginXXS}px)`,width:`calc(50% - ${be.marginSM}px)`,textAlign:"start"}},"&-right":{[`${Xe}-item-content`]:{width:`calc(50% - ${be.marginSM}px)`,margin:0,textAlign:"end"}}}},[`&${Xe}-right`]:{[`${Xe}-item-right`]:{[`${Xe}-item-tail, + ${Xe}-item-head, + ${Xe}-item-head-custom`]:{insetInlineStart:`calc(100% - ${(be.itemHeadSize+be.tailWidth)/2}px)`},[`${Xe}-item-content`]:{width:`calc(100% - ${be.itemHeadSize+be.marginXS}px)`}}},[`&${Xe}-pending + ${Xe}-item-last + ${Xe}-item-tail`]:{display:"block",height:`calc(100% - ${be.margin}px)`,borderInlineStart:`${be.tailWidth}px dotted ${be.tailColor}`},[`&${Xe}-reverse + ${Xe}-item-last + ${Xe}-item-tail`]:{display:"none"},[`&${Xe}-reverse ${Xe}-item-pending`]:{[`${Xe}-item-tail`]:{insetBlockStart:be.margin,display:"block",height:`calc(100% - ${be.margin}px)`,borderInlineStart:`${be.tailWidth}px dotted ${be.tailColor}`},[`${Xe}-item-content`]:{minHeight:be.controlHeightLG*1.2}},[`&${Xe}-label`]:{[`${Xe}-item-label`]:{position:"absolute",insetBlockStart:-(be.fontSize*be.lineHeight-be.fontSize)+be.tailWidth,width:`calc(50% - ${be.marginSM}px)`,textAlign:"end"},[`${Xe}-item-right`]:{[`${Xe}-item-label`]:{insetInlineStart:`calc(50% + ${be.marginSM}px)`,width:`calc(50% - ${be.marginSM}px)`,textAlign:"start"}}},"&-rtl":{direction:"rtl",[`${Xe}-item-head-custom`]:{transform:"translate(50%, -50%)"}}})}};var $=(0,E.Z)("Timeline",be=>{const Xe=(0,M.TS)(be,{itemHeadSize:10,customHeadPaddingVertical:be.paddingXXS,paddingInlineEnd:2});return[T(Xe)]},be=>({tailColor:be.colorSplit,tailWidth:be.lineWidthBold,dotBorderWidth:be.wireframe?be.lineWidthBold:be.lineWidth*3,dotBg:be.colorBgContainer,itemPaddingBottom:be.padding*1.25})),H=function(be,Xe){var bt={};for(var te in be)Object.prototype.hasOwnProperty.call(be,te)&&Xe.indexOf(te)<0&&(bt[te]=be[te]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,te=Object.getOwnPropertySymbols(be);Te{var{prefixCls:Xe,className:bt,color:te="blue",dot:Te,pending:_e=!1,position:Pe,label:Ue,children:ct}=be,yt=H(be,["prefixCls","className","color","dot","pending","position","label","children"]);const{getPrefixCls:fn}=s.useContext(x.E_),Nt=fn("timeline",Xe),Se=b()(`${Nt}-item`,{[`${Nt}-item-pending`]:_e},bt),D=/blue|red|green|gray/.test(te||"")?void 0:te,se=b()(`${Nt}-item-head`,{[`${Nt}-item-head-custom`]:!!Te,[`${Nt}-item-head-${te}`]:!D});return s.createElement("li",Object.assign({},yt,{className:Se}),Ue&&s.createElement("div",{className:`${Nt}-item-label`},Ue),s.createElement("div",{className:`${Nt}-item-tail`}),s.createElement("div",{className:se,style:{borderColor:D,color:D}},Te),s.createElement("div",{className:`${Nt}-item-content`},ct))},Y=i(74902),de=i(19267),_=function(be,Xe){var bt={};for(var te in be)Object.prototype.hasOwnProperty.call(be,te)&&Xe.indexOf(te)<0&&(bt[te]=be[te]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,te=Object.getOwnPropertySymbols(be);Te{var{prefixCls:Xe,className:bt,pending:te=!1,children:Te,items:_e,rootClassName:Pe,reverse:Ue=!1,direction:ct,hashId:yt,pendingDot:fn,mode:Nt=""}=be,Se=_(be,["prefixCls","className","pending","children","items","rootClassName","reverse","direction","hashId","pendingDot","mode"]);const D=(pt,yn)=>Nt==="alternate"?pt==="right"?`${Xe}-item-right`:pt==="left"?`${Xe}-item-left`:yn%2===0?`${Xe}-item-left`:`${Xe}-item-right`:Nt==="left"?`${Xe}-item-left`:Nt==="right"?`${Xe}-item-right`:pt==="right"?`${Xe}-item-right`:"",se=(0,Y.Z)(_e||[]),Be=typeof te=="boolean"?null:te;te&&se.push({pending:!!te,dot:fn||s.createElement(de.Z,null),children:Be}),Ue&&se.reverse();const Re=se.length,rt=`${Xe}-item-last`,Tt=se.filter(pt=>!!pt).map((pt,yn)=>{var Wn;const Fn=yn===Re-2?rt:"",Gn=yn===Re-1?rt:"",{className:er}=pt,Sn=_(pt,["className"]);return s.createElement(w,Object.assign({},Sn,{className:b()([er,!Ue&&te?Fn:Gn,D((Wn=pt==null?void 0:pt.position)!==null&&Wn!==void 0?Wn:"",yn)]),key:(pt==null?void 0:pt.key)||yn}))}),Ln=se.some(pt=>!!(pt!=null&&pt.label)),Nn=b()(Xe,{[`${Xe}-pending`]:!!te,[`${Xe}-reverse`]:!!Ue,[`${Xe}-${Nt}`]:!!Nt&&!Ln,[`${Xe}-label`]:Ln,[`${Xe}-rtl`]:ct==="rtl"},bt,Pe,yt);return s.createElement("ul",Object.assign({},Se,{className:Nn}),Tt)},Ce=i(50344);function lt(be,Xe){return be&&Array.isArray(be)?be:(0,Ce.Z)(Xe).map(bt=>{var te,Te;return Object.assign({children:(Te=(te=bt==null?void 0:bt.props)===null||te===void 0?void 0:te.children)!==null&&Te!==void 0?Te:""},bt.props)})}var ut=lt,at=function(be,Xe){var bt={};for(var te in be)Object.prototype.hasOwnProperty.call(be,te)&&Xe.indexOf(te)<0&&(bt[te]=be[te]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,te=Object.getOwnPropertySymbols(be);Te{const{getPrefixCls:Xe,direction:bt,timeline:te}=s.useContext(x.E_),{prefixCls:Te,children:_e,items:Pe,className:Ue,style:ct}=be,yt=at(be,["prefixCls","children","items","className","style"]),fn=Xe("timeline",Te),[Nt,Se]=$(fn),D=ut(Pe,_e);return Nt(s.createElement(Ke,Object.assign({},yt,{className:b()(te==null?void 0:te.className,Ue),style:Object.assign(Object.assign({},te==null?void 0:te.style),ct),prefixCls:fn,direction:bt,items:D,hashId:Se})))};Yn.Item=w;var dn=Yn,qt=dn},80361:function(Z,F,i){"use strict";i.d(F,{Z:function(){return ai}});var s=i(67294),n=i(94184),b=i.n(n),x=i(87462),O=i(74902),E=i(1413),M=i(97685),T=i(91),$=i(71002),H=i(4942),oe=i(21770),w=i(80334),Y=i(8410),de=i(31131),_=i(15105),re=i(42550),Ke=function(B){var Me=B.className,ge=B.customizeIcon,ke=B.customizeIconProps,Ye=B.onMouseDown,S=B.onClick,P=B.children,V;return typeof ge=="function"?V=ge(ke):V=ge,s.createElement("span",{className:Me,onMouseDown:function(ae){ae.preventDefault(),Ye&&Ye(ae)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:S,"aria-hidden":!0},V!==void 0?V:s.createElement("span",{className:b()(Me.split(/\s+/).map(function(K){return"".concat(K,"-icon")}))},P))},Ce=Ke;function lt(A,B,Me,ge,ke){var Ye=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,S=arguments.length>6?arguments[6]:void 0,P=arguments.length>7?arguments[7]:void 0,V=s.useMemo(function(){if((0,$.Z)(ge)==="object")return ge.clearIcon;if(ke)return ke},[ge,ke]),K=s.useMemo(function(){return!!(!Ye&&ge&&(Me.length||S)&&!(P==="combobox"&&S===""))},[ge,Ye,Me.length,S,P]);return{allowClear:K,clearIcon:s.createElement(Ce,{className:"".concat(A,"-clear"),onMouseDown:B,customizeIcon:V},"\xD7")}}var ut=s.createContext(null);function at(){return s.useContext(ut)}function Yn(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,B=s.useState(!1),Me=(0,M.Z)(B,2),ge=Me[0],ke=Me[1],Ye=s.useRef(null),S=function(){window.clearTimeout(Ye.current)};s.useEffect(function(){return S},[]);var P=function(K,ae){S(),Ye.current=window.setTimeout(function(){ke(K),ae&&ae()},A)};return[ge,P,S]}function dn(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,B=s.useRef(null),Me=s.useRef(null);s.useEffect(function(){return function(){window.clearTimeout(Me.current)}},[]);function ge(ke){(ke||B.current===null)&&(B.current=ke),window.clearTimeout(Me.current),Me.current=window.setTimeout(function(){B.current=null},A)}return[function(){return B.current},ge]}function qt(A,B,Me,ge){var ke=s.useRef(null);ke.current={open:B,triggerOpen:Me,customizedTrigger:ge},s.useEffect(function(){function Ye(S){var P;if(!((P=ke.current)!==null&&P!==void 0&&P.customizedTrigger)){var V=S.target;V.shadowRoot&&S.composed&&(V=S.composedPath()[0]||V),ke.current.open&&A().filter(function(K){return K}).every(function(K){return!K.contains(V)&&K!==V})&&ke.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Ye),function(){return window.removeEventListener("mousedown",Ye)}},[])}var be=i(64217),Xe=i(39983),bt=function(B,Me){var ge,ke,Ye=B.prefixCls,S=B.id,P=B.inputElement,V=B.disabled,K=B.tabIndex,ae=B.autoFocus,le=B.autoComplete,pe=B.editable,fe=B.activeDescendantId,Ie=B.value,We=B.maxLength,nt=B.onKeyDown,Ve=B.onMouseDown,it=B.onChange,Le=B.onPaste,st=B.onCompositionStart,Ge=B.onCompositionEnd,De=B.open,Dt=B.attrs,Zt=P||s.createElement("input",null),Ht=Zt,Rt=Ht.ref,tn=Ht.props,Et=tn.onKeyDown,Yt=tn.onChange,Gt=tn.onMouseDown,gt=tn.onCompositionStart,Pt=tn.onCompositionEnd,ft=tn.style;return(0,w.Kp)(!("maxLength"in Zt.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Zt=s.cloneElement(Zt,(0,E.Z)((0,E.Z)((0,E.Z)({type:"search"},tn),{},{id:S,ref:(0,re.sQ)(Me,Rt),disabled:V,tabIndex:K,autoComplete:le||"off",autoFocus:ae,className:b()("".concat(Ye,"-selection-search-input"),(ge=Zt)===null||ge===void 0||(ke=ge.props)===null||ke===void 0?void 0:ke.className),role:"combobox","aria-label":"Search","aria-expanded":De||!1,"aria-haspopup":"listbox","aria-owns":"".concat(S,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(S,"_list"),"aria-activedescendant":De?fe:void 0},Dt),{},{value:pe?Ie:"",maxLength:We,readOnly:!pe,unselectable:pe?null:"on",style:(0,E.Z)((0,E.Z)({},ft),{},{opacity:pe?null:0}),onKeyDown:function(wn){nt(wn),Et&&Et(wn)},onMouseDown:function(wn){Ve(wn),Gt&&Gt(wn)},onChange:function(wn){it(wn),Yt&&Yt(wn)},onCompositionStart:function(wn){st(wn),gt&>(wn)},onCompositionEnd:function(wn){Ge(wn),Pt&&Pt(wn)},onPaste:Le})),Zt},te=s.forwardRef(bt);te.displayName="Input";var Te=te;function _e(A){return Array.isArray(A)?A:A!==void 0?[A]:[]}var Pe=typeof window!="undefined"&&window.document&&window.document.documentElement,Ue=Pe;function ct(A){return A!=null}function yt(A){return!A&&A!==0}function fn(A){return["string","number"].includes((0,$.Z)(A))}function Nt(A){var B=void 0;return A&&(fn(A.title)?B=A.title.toString():fn(A.label)&&(B=A.label.toString())),B}function Se(A,B){Ue?s.useLayoutEffect(A,B):s.useEffect(A,B)}function D(A){var B;return(B=A.key)!==null&&B!==void 0?B:A.value}var se=function(B){B.preventDefault(),B.stopPropagation()},Be=function(B){var Me=B.id,ge=B.prefixCls,ke=B.values,Ye=B.open,S=B.searchValue,P=B.autoClearSearchValue,V=B.inputRef,K=B.placeholder,ae=B.disabled,le=B.mode,pe=B.showSearch,fe=B.autoFocus,Ie=B.autoComplete,We=B.activeDescendantId,nt=B.tabIndex,Ve=B.removeIcon,it=B.maxTagCount,Le=B.maxTagTextLength,st=B.maxTagPlaceholder,Ge=st===void 0?function(Vt){return"+ ".concat(Vt.length," ...")}:st,De=B.tagRender,Dt=B.onToggleOpen,Zt=B.onRemove,Ht=B.onInputChange,Rt=B.onInputPaste,tn=B.onInputKeyDown,Et=B.onInputMouseDown,Yt=B.onInputCompositionStart,Gt=B.onInputCompositionEnd,gt=s.useRef(null),Pt=(0,s.useState)(0),ft=(0,M.Z)(Pt,2),hn=ft[0],wn=ft[1],qn=(0,s.useState)(!1),nr=(0,M.Z)(qn,2),nn=nr[0],Ae=nr[1],Ut="".concat(ge,"-selection"),_t=Ye||le==="multiple"&&P===!1||le==="tags"?S:"",Po=le==="tags"||le==="multiple"&&P===!1||pe&&(Ye||nn);Se(function(){wn(gt.current.scrollWidth)},[_t]);function Wt(Vt,Jt,bn,yr,Rr){return s.createElement("span",{className:b()("".concat(Ut,"-item"),(0,H.Z)({},"".concat(Ut,"-item-disabled"),bn)),title:Nt(Vt)},s.createElement("span",{className:"".concat(Ut,"-item-content")},Jt),yr&&s.createElement(Ce,{className:"".concat(Ut,"-item-remove"),onMouseDown:se,onClick:Rr,customizeIcon:Ve},"\xD7"))}function en(Vt,Jt,bn,yr,Rr){var Sr=function(vr){se(vr),Dt(!Ye)};return s.createElement("span",{onMouseDown:Sr},De({label:Jt,value:Vt,disabled:bn,closable:yr,onClose:Rr}))}function $r(Vt){var Jt=Vt.disabled,bn=Vt.label,yr=Vt.value,Rr=!ae&&!Jt,Sr=bn;if(typeof Le=="number"&&(typeof bn=="string"||typeof bn=="number")){var Cr=String(Sr);Cr.length>Le&&(Sr="".concat(Cr.slice(0,Le),"..."))}var vr=function(Ur){Ur&&Ur.stopPropagation(),Zt(Vt)};return typeof De=="function"?en(yr,Sr,Jt,Rr,vr):Wt(Vt,Sr,Jt,Rr,vr)}function gn(Vt){var Jt=typeof Ge=="function"?Ge(Vt):Ge;return Wt({title:Jt},Jt,!1)}var _n=s.createElement("div",{className:"".concat(Ut,"-search"),style:{width:hn},onFocus:function(){Ae(!0)},onBlur:function(){Ae(!1)}},s.createElement(Te,{ref:V,open:Ye,prefixCls:ge,id:Me,inputElement:null,disabled:ae,autoFocus:fe,autoComplete:Ie,editable:Po,activeDescendantId:We,value:_t,onKeyDown:tn,onMouseDown:Et,onChange:Ht,onPaste:Rt,onCompositionStart:Yt,onCompositionEnd:Gt,tabIndex:nt,attrs:(0,be.Z)(B,!0)}),s.createElement("span",{ref:gt,className:"".concat(Ut,"-search-mirror"),"aria-hidden":!0},_t,"\xA0")),br=s.createElement(Xe.Z,{prefixCls:"".concat(Ut,"-overflow"),data:ke,renderItem:$r,renderRest:gn,suffix:_n,itemKey:D,maxCount:it});return s.createElement(s.Fragment,null,br,!ke.length&&!_t&&s.createElement("span",{className:"".concat(Ut,"-placeholder")},K))},Re=Be,rt=function(B){var Me=B.inputElement,ge=B.prefixCls,ke=B.id,Ye=B.inputRef,S=B.disabled,P=B.autoFocus,V=B.autoComplete,K=B.activeDescendantId,ae=B.mode,le=B.open,pe=B.values,fe=B.placeholder,Ie=B.tabIndex,We=B.showSearch,nt=B.searchValue,Ve=B.activeValue,it=B.maxLength,Le=B.onInputKeyDown,st=B.onInputMouseDown,Ge=B.onInputChange,De=B.onInputPaste,Dt=B.onInputCompositionStart,Zt=B.onInputCompositionEnd,Ht=B.title,Rt=s.useState(!1),tn=(0,M.Z)(Rt,2),Et=tn[0],Yt=tn[1],Gt=ae==="combobox",gt=Gt||We,Pt=pe[0],ft=nt||"";Gt&&Ve&&!Et&&(ft=Ve),s.useEffect(function(){Gt&&Yt(!1)},[Gt,Ve]);var hn=ae!=="combobox"&&!le&&!We?!1:!!ft,wn=Ht===void 0?Nt(Pt):Ht,qn=function(){if(Pt)return null;var nn=hn?{visibility:"hidden"}:void 0;return s.createElement("span",{className:"".concat(ge,"-selection-placeholder"),style:nn},fe)};return s.createElement(s.Fragment,null,s.createElement("span",{className:"".concat(ge,"-selection-search")},s.createElement(Te,{ref:Ye,prefixCls:ge,id:ke,open:le,inputElement:Me,disabled:S,autoFocus:P,autoComplete:V,editable:gt,activeDescendantId:K,value:ft,onKeyDown:Le,onMouseDown:st,onChange:function(nn){Yt(!0),Ge(nn)},onPaste:De,onCompositionStart:Dt,onCompositionEnd:Zt,tabIndex:Ie,attrs:(0,be.Z)(B,!0),maxLength:Gt?it:void 0})),!Gt&&Pt?s.createElement("span",{className:"".concat(ge,"-selection-item"),title:wn,style:hn?{visibility:"hidden"}:void 0},Pt.label):null,qn())},Tt=rt;function Ln(A){return![_.Z.ESC,_.Z.SHIFT,_.Z.BACKSPACE,_.Z.TAB,_.Z.WIN_KEY,_.Z.ALT,_.Z.META,_.Z.WIN_KEY_RIGHT,_.Z.CTRL,_.Z.SEMICOLON,_.Z.EQUALS,_.Z.CAPS_LOCK,_.Z.CONTEXT_MENU,_.Z.F1,_.Z.F2,_.Z.F3,_.Z.F4,_.Z.F5,_.Z.F6,_.Z.F7,_.Z.F8,_.Z.F9,_.Z.F10,_.Z.F11,_.Z.F12].includes(A)}var Nn=function(B,Me){var ge=(0,s.useRef)(null),ke=(0,s.useRef)(!1),Ye=B.prefixCls,S=B.open,P=B.mode,V=B.showSearch,K=B.tokenWithEnter,ae=B.autoClearSearchValue,le=B.onSearch,pe=B.onSearchSubmit,fe=B.onToggleOpen,Ie=B.onInputKeyDown,We=B.domRef;s.useImperativeHandle(Me,function(){return{focus:function(){ge.current.focus()},blur:function(){ge.current.blur()}}});var nt=dn(0),Ve=(0,M.Z)(nt,2),it=Ve[0],Le=Ve[1],st=function(ft){var hn=ft.which;(hn===_.Z.UP||hn===_.Z.DOWN)&&ft.preventDefault(),Ie&&Ie(ft),hn===_.Z.ENTER&&P==="tags"&&!ke.current&&!S&&(pe==null||pe(ft.target.value)),Ln(hn)&&fe(!0)},Ge=function(){Le(!0)},De=(0,s.useRef)(null),Dt=function(ft){le(ft,!0,ke.current)!==!1&&fe(!0)},Zt=function(){ke.current=!0},Ht=function(ft){ke.current=!1,P!=="combobox"&&Dt(ft.target.value)},Rt=function(ft){var hn=ft.target.value;if(K&&De.current&&/[\r\n]/.test(De.current)){var wn=De.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");hn=hn.replace(wn,De.current)}De.current=null,Dt(hn)},tn=function(ft){var hn=ft.clipboardData,wn=hn.getData("text");De.current=wn},Et=function(ft){var hn=ft.target;if(hn!==ge.current){var wn=document.body.style.msTouchAction!==void 0;wn?setTimeout(function(){ge.current.focus()}):ge.current.focus()}},Yt=function(ft){var hn=it();ft.target!==ge.current&&!hn&&P!=="combobox"&&ft.preventDefault(),(P!=="combobox"&&(!V||!hn)||!S)&&(S&&ae!==!1&&le("",!0,!1),fe())},Gt={inputRef:ge,onInputKeyDown:st,onInputMouseDown:Ge,onInputChange:Rt,onInputPaste:tn,onInputCompositionStart:Zt,onInputCompositionEnd:Ht},gt=P==="multiple"||P==="tags"?s.createElement(Re,(0,x.Z)({},B,Gt)):s.createElement(Tt,(0,x.Z)({},B,Gt));return s.createElement("div",{ref:We,className:"".concat(Ye,"-selector"),onClick:Et,onMouseDown:Yt},gt)},pt=s.forwardRef(Nn);pt.displayName="Selector";var yn=pt,Wn=i(40228),Fn=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Gn=function(B){var Me=B===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Me,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Me,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Me,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Me,adjustY:1},htmlRegion:"scroll"}}},er=function(B,Me){var ge=B.prefixCls,ke=B.disabled,Ye=B.visible,S=B.children,P=B.popupElement,V=B.animation,K=B.transitionName,ae=B.dropdownStyle,le=B.dropdownClassName,pe=B.direction,fe=pe===void 0?"ltr":pe,Ie=B.placement,We=B.builtinPlacements,nt=B.dropdownMatchSelectWidth,Ve=B.dropdownRender,it=B.dropdownAlign,Le=B.getPopupContainer,st=B.empty,Ge=B.getTriggerDOMNode,De=B.onPopupVisibleChange,Dt=B.onPopupMouseEnter,Zt=(0,T.Z)(B,Fn),Ht="".concat(ge,"-dropdown"),Rt=P;Ve&&(Rt=Ve(P));var tn=s.useMemo(function(){return We||Gn(nt)},[We,nt]),Et=V?"".concat(Ht,"-").concat(V):K,Yt=typeof nt=="number",Gt=s.useMemo(function(){return Yt?null:nt===!1?"minWidth":"width"},[nt,Yt]),gt=ae;Yt&&(gt=(0,E.Z)((0,E.Z)({},gt),{},{width:nt}));var Pt=s.useRef(null);return s.useImperativeHandle(Me,function(){return{getPopupElement:function(){return Pt.current}}}),s.createElement(Wn.Z,(0,x.Z)({},Zt,{showAction:De?["click"]:[],hideAction:De?["click"]:[],popupPlacement:Ie||(fe==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:tn,prefixCls:Ht,popupTransitionName:Et,popup:s.createElement("div",{ref:Pt,onMouseEnter:Dt},Rt),stretch:Gt,popupAlign:it,popupVisible:Ye,getPopupContainer:Le,popupClassName:b()(le,(0,H.Z)({},"".concat(Ht,"-empty"),st)),popupStyle:gt,getTriggerDOMNode:Ge,onPopupVisibleChange:De}),S)},Sn=s.forwardRef(er);Sn.displayName="SelectTrigger";var Vr=Sn,Ft=i(84506);function zt(A,B){var Me=A.key,ge;return"value"in A&&(ge=A.value),Me!=null?Me:ge!==void 0?ge:"rc-index-key-".concat(B)}function fr(A,B){var Me=A||{},ge=Me.label,ke=Me.value,Ye=Me.options,S=Me.groupLabel,P=ge||(B?"children":"label");return{label:P,value:ke||"value",options:Ye||"options",groupLabel:S||P}}function ao(A){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Me=B.fieldNames,ge=B.childrenAsData,ke=[],Ye=fr(Me,!1),S=Ye.label,P=Ye.value,V=Ye.options,K=Ye.groupLabel;function ae(le,pe){le.forEach(function(fe){if(pe||!(V in fe)){var Ie=fe[P];ke.push({key:zt(fe,ke.length),groupOption:pe,data:fe,label:fe[S],value:Ie})}else{var We=fe[K];We===void 0&&ge&&(We=fe.label),ke.push({key:zt(fe,ke.length),group:!0,data:fe,label:We}),ae(fe[V],!0)}})}return ae(A,!1),ke}function k(A){var B=(0,E.Z)({},A);return"props"in B||Object.defineProperty(B,"props",{get:function(){return(0,w.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),B}}),B}function Ne(A,B){if(!B||!B.length)return null;var Me=!1;function ge(Ye,S){var P=(0,Ft.Z)(S),V=P[0],K=P.slice(1);if(!V)return[Ye];var ae=Ye.split(V);return Me=Me||ae.length>1,ae.reduce(function(le,pe){return[].concat((0,O.Z)(le),(0,O.Z)(ge(pe,K)))},[]).filter(function(le){return le})}var ke=ge(A,B);return Me?ke:null}var Fe=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],dt=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function $t(A){return A==="tags"||A==="multiple"}var rn=s.forwardRef(function(A,B){var Me,ge,ke=A.id,Ye=A.prefixCls,S=A.className,P=A.showSearch,V=A.tagRender,K=A.direction,ae=A.omitDomProps,le=A.displayValues,pe=A.onDisplayValuesChange,fe=A.emptyOptions,Ie=A.notFoundContent,We=Ie===void 0?"Not Found":Ie,nt=A.onClear,Ve=A.mode,it=A.disabled,Le=A.loading,st=A.getInputElement,Ge=A.getRawInputElement,De=A.open,Dt=A.defaultOpen,Zt=A.onDropdownVisibleChange,Ht=A.activeValue,Rt=A.onActiveValueChange,tn=A.activeDescendantId,Et=A.searchValue,Yt=A.autoClearSearchValue,Gt=A.onSearch,gt=A.onSearchSplit,Pt=A.tokenSeparators,ft=A.allowClear,hn=A.suffixIcon,wn=A.clearIcon,qn=A.OptionList,nr=A.animation,nn=A.transitionName,Ae=A.dropdownStyle,Ut=A.dropdownClassName,_t=A.dropdownMatchSelectWidth,Po=A.dropdownRender,Wt=A.dropdownAlign,en=A.placement,$r=A.builtinPlacements,gn=A.getPopupContainer,_n=A.showAction,br=_n===void 0?[]:_n,Vt=A.onFocus,Jt=A.onBlur,bn=A.onKeyUp,yr=A.onKeyDown,Rr=A.onMouseDown,Sr=(0,T.Z)(A,Fe),Cr=$t(Ve),vr=(P!==void 0?P:Cr)||Ve==="combobox",un=(0,E.Z)({},Sr);dt.forEach(function(io){delete un[io]}),ae==null||ae.forEach(function(io){delete un[io]});var Ur=s.useState(!1),Jr=(0,M.Z)(Ur,2),Kn=Jr[0],Nr=Jr[1];s.useEffect(function(){Nr((0,de.Z)())},[]);var Mo=s.useRef(null),Xr=s.useRef(null),_o=s.useRef(null),Wr=s.useRef(null),Jo=s.useRef(null),co=Yn(),jo=(0,M.Z)(co,3),Ko=jo[0],So=jo[1],Sa=jo[2];s.useImperativeHandle(B,function(){var io,Io;return{focus:(io=Wr.current)===null||io===void 0?void 0:io.focus,blur:(Io=Wr.current)===null||Io===void 0?void 0:Io.blur,scrollTo:function(xi){var li;return(li=Jo.current)===null||li===void 0?void 0:li.scrollTo(xi)}}});var Ma=s.useMemo(function(){var io;if(Ve!=="combobox")return Et;var Io=(io=le[0])===null||io===void 0?void 0:io.value;return typeof Io=="string"||typeof Io=="number"?String(Io):""},[Et,Ve,le]),Ba=Ve==="combobox"&&typeof st=="function"&&st()||null,la=typeof Ge=="function"&&Ge(),ii=(0,re.x1)(Xr,la==null||(Me=la.props)===null||Me===void 0?void 0:Me.ref),Di=s.useState(!1),di=(0,M.Z)(Di,2),Ha=di[0],hi=di[1];(0,Y.Z)(function(){hi(!0)},[]);var fi=(0,oe.Z)(!1,{defaultValue:Dt,value:De}),Xi=(0,M.Z)(fi,2),Mi=Xi[0],Ca=Xi[1],vt=Ha?Mi:!1,ir=!We&&fe;(it||ir&&vt&&Ve==="combobox")&&(vt=!1);var dr=ir?!1:vt,sr=s.useCallback(function(io){var Io=io!==void 0?io:!vt;it||(Ca(Io),vt!==Io&&(Zt==null||Zt(Io)))},[it,vt,Ca,Zt]),ea=s.useMemo(function(){return(Pt||[]).some(function(io){return[` +`,`\r +`].includes(io)})},[Pt]),$o=function(Io,vi,xi){var li=!0,wi=Io;Rt==null||Rt(null);var Lr=xi?null:Ne(Io,Pt);return Ve!=="combobox"&&Lr&&(wi="",gt==null||gt(Lr),sr(!1),li=!1),Gt&&Ma!==wi&&Gt(wi,{source:vi?"typing":"effect"}),li},En=function(Io){!Io||!Io.trim()||Gt(Io,{source:"submit"})};s.useEffect(function(){!vt&&!Cr&&Ve!=="combobox"&&$o("",!1,!1)},[vt]),s.useEffect(function(){Mi&&it&&Ca(!1),it&&So(!1)},[it]);var Tr=dn(),Er=(0,M.Z)(Tr,2),cr=Er[0],qo=Er[1],Ir=function(Io){var vi=cr(),xi=Io.which;if(xi===_.Z.ENTER&&(Ve!=="combobox"&&Io.preventDefault(),vt||sr(!0)),qo(!!Ma),xi===_.Z.BACKSPACE&&!vi&&Cr&&!Ma&&le.length){for(var li=(0,O.Z)(le),wi=null,Lr=li.length-1;Lr>=0;Lr-=1){var lo=li[Lr];if(!lo.disabled){li.splice(Lr,1),wi=lo;break}}wi&&pe(li,{type:"remove",values:[wi]})}for(var Ua=arguments.length,Wa=new Array(Ua>1?Ua-1:0),Da=1;Da1?vi-1:0),li=1;li1?Lr-1:0),Ua=1;Ua1&&arguments[1]!==void 0?arguments[1]:!1;return(0,q.Z)(A).map(function(Me,ge){if(!s.isValidElement(Me)||!Me.type)return null;var ke=Me,Ye=ke.type.isSelectOptGroup,S=ke.key,P=ke.props,V=P.children,K=(0,T.Z)(P,Oe);return B||!Ye?je(Me):(0,E.Z)((0,E.Z)({key:"__RC_SELECT_GRP__".concat(S===null?ge:S,"__"),label:S},K),{},{options:et(V)})}).filter(function(Me){return Me})}function vn(A,B,Me,ge,ke){return s.useMemo(function(){var Ye=A,S=!A;S&&(Ye=et(B));var P=new Map,V=new Map,K=function(pe,fe,Ie){Ie&&typeof Ie=="string"&&pe.set(fe[Ie],fe)};function ae(le){for(var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,fe=0;fe1&&arguments[1]!==void 0?arguments[1]:1,gn=Rt.length,_n=0;_n1&&arguments[1]!==void 0?arguments[1]:!1;hn(en);var gn={source:$r?"keyboard":"mouse"},_n=Rt[en];if(!_n){We(null,-1,gn);return}We(_n.value,en,gn)};(0,s.useEffect)(function(){wn(nt!==!1?Gt(0):-1)},[Rt.length,K]);var qn=s.useCallback(function(Wt){return Le.has(Wt)&&V!=="combobox"},[V,(0,O.Z)(Le).toString(),Le.size]);(0,s.useEffect)(function(){var Wt=setTimeout(function(){if(!P&&S&&Le.size===1){var $r=Array.from(Le)[0],gn=Rt.findIndex(function(_n){var br=_n.data;return br.value===$r});gn!==-1&&(wn(gn),Yt(gn))}});if(S){var en;(en=tn.current)===null||en===void 0||en.scrollTo(void 0)}return function(){return clearTimeout(Wt)}},[S,K,Ie.length]);var nr=function(en){en!==void 0&&Ve(en,{selected:!Le.has(en)}),P||ae(!1)};if(s.useImperativeHandle(Me,function(){return{onKeyDown:function(en){var $r=en.which,gn=en.ctrlKey;switch($r){case _.Z.N:case _.Z.P:case _.Z.UP:case _.Z.DOWN:{var _n=0;if($r===_.Z.UP?_n=-1:$r===_.Z.DOWN?_n=1:Qn()&&gn&&($r===_.Z.N?_n=1:$r===_.Z.P&&(_n=-1)),_n!==0){var br=Gt(ft+_n,_n);Yt(br),wn(br,!0)}break}case _.Z.ENTER:{var Vt=Rt[ft];Vt&&!Vt.data.disabled?nr(Vt.value):nr(void 0),S&&en.preventDefault();break}case _.Z.ESC:ae(!1),S&&en.stopPropagation()}},onKeyUp:function(){},scrollTo:function(en){Yt(en)}}}),Rt.length===0)return s.createElement("div",{role:"listbox",id:"".concat(Ye,"_list"),className:"".concat(Ht,"-empty"),onMouseDown:Et},le);var nn=Object.keys(st).map(function(Wt){return st[Wt]}),Ae=function(en){return en.label};function Ut(Wt,en){var $r=Wt.group;return{role:$r?"presentation":"option",id:"".concat(Ye,"_list_").concat(en)}}var _t=function(en){var $r=Rt[en];if(!$r)return null;var gn=$r.data||{},_n=gn.value,br=$r.group,Vt=(0,be.Z)(gn,!0),Jt=Ae($r);return $r?s.createElement("div",(0,x.Z)({"aria-label":typeof Jt=="string"&&!br?Jt:null},Vt,{key:en},Ut($r,en),{"aria-selected":qn(_n)}),_n):null},Po={role:"listbox",id:"".concat(Ye,"_list")};return s.createElement(s.Fragment,null,Ge&&s.createElement("div",(0,x.Z)({},Po,{style:{height:0,width:0,overflow:"hidden"}}),_t(ft-1),_t(ft),_t(ft+1)),s.createElement(kn.Z,{itemKey:"key",ref:tn,data:Rt,height:Dt,itemHeight:Zt,fullHeight:!1,onMouseDown:Et,onScroll:pe,virtual:Ge,direction:De,innerProps:Ge?null:Po},function(Wt,en){var $r,gn=Wt.group,_n=Wt.groupOption,br=Wt.data,Vt=Wt.label,Jt=Wt.value,bn=br.key;if(gn){var yr,Rr=(yr=br.title)!==null&&yr!==void 0?yr:an(Vt)?Vt.toString():void 0;return s.createElement("div",{className:b()(Ht,"".concat(Ht,"-group")),title:Rr},Vt!==void 0?Vt:bn)}var Sr=br.disabled,Cr=br.title,vr=br.children,un=br.style,Ur=br.className,Jr=(0,T.Z)(br,Lo),Kn=(0,Rn.Z)(Jr,nn),Nr=qn(Jt),Mo="".concat(Ht,"-option"),Xr=b()(Ht,Mo,Ur,($r={},(0,H.Z)($r,"".concat(Mo,"-grouped"),_n),(0,H.Z)($r,"".concat(Mo,"-active"),ft===en&&!Sr),(0,H.Z)($r,"".concat(Mo,"-disabled"),Sr),(0,H.Z)($r,"".concat(Mo,"-selected"),Nr),$r)),_o=Ae(Wt),Wr=!it||typeof it=="function"||Nr,Jo=typeof _o=="number"?_o:_o||Jt,co=an(Jo)?Jo.toString():void 0;return Cr!==void 0&&(co=Cr),s.createElement("div",(0,x.Z)({},(0,be.Z)(Kn),Ge?{}:Ut(Wt,en),{"aria-selected":Nr,className:Xr,title:co,onMouseMove:function(){ft===en||Sr||wn(en)},onClick:function(){Sr||nr(Jt)},style:un}),s.createElement("div",{className:"".concat(Mo,"-content")},Jo),s.isValidElement(it)||Nr,Wr&&s.createElement(Ce,{className:"".concat(Ht,"-option-state"),customizeIcon:it,customizeIconProps:{isSelected:Nr}},Nr?"\u2713":null))}))},zr=s.forwardRef(kr);zr.displayName="OptionList";var Do=zr;function G(A){var B=A.mode,Me=A.options,ge=A.children,ke=A.backfill,Ye=A.allowClear,S=A.placeholder,P=A.getInputElement,V=A.showSearch,K=A.onSearch,ae=A.defaultOpen,le=A.autoFocus,pe=A.labelInValue,fe=A.value,Ie=A.inputValue,We=A.optionLabelProp,nt=isMultiple(B),Ve=V!==void 0?V:nt||B==="combobox",it=Me||convertChildrenToData(ge);if(warning(B!=="tags"||it.every(function(De){return!De.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),B==="tags"||B==="combobox"){var Le=it.some(function(De){return De.options?De.options.some(function(Dt){return typeof("value"in Dt?Dt.value:Dt.key)=="number"}):typeof("value"in De?De.value:De.key)=="number"});warning(!Le,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(B!=="combobox"||!We,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(B==="combobox"||!ke,"`backfill` only works with `combobox` mode."),warning(B==="combobox"||!P,"`getInputElement` only work with `combobox` mode."),noteOnce(B!=="combobox"||!P||!Ye||!S,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),K&&!Ve&&B!=="combobox"&&B!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!ae||le,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),fe!=null){var st=toArray(fe);warning(!pe||st.every(function(De){return _typeof(De)==="object"&&("key"in De||"value"in De)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!nt||Array.isArray(fe),"`value` should be array when `mode` is `multiple` or `tags`")}if(ge){var Ge=null;toNodeArray(ge).some(function(De){if(!React.isValidElement(De)||!De.type)return!1;var Dt=De,Zt=Dt.type;if(Zt.isSelectOption)return!1;if(Zt.isSelectOptGroup){var Ht=toNodeArray(De.props.children).every(function(Rt){return!React.isValidElement(Rt)||!De.type||Rt.type.isSelectOption?!0:(Ge=Rt.type,!1)});return!Ht}return Ge=Zt,!0}),Ge&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ge.displayName||Ge.name||Ge,"`.")),warning(Ie===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function to(A,B){if(A){var Me=function ge(ke){for(var Ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,S=0;S2&&arguments[2]!==void 0?arguments[2]:{},sr=dr.source,ea=sr===void 0?"keyboard":sr;ii(ir),S&&ge==="combobox"&&vt!==null&&ea==="keyboard"&&Sa(String(vt))},[S,ge]),Ha=function(ir,dr,sr){var ea=function(){var Wo,Uo=Ur(ir);return[ft?{label:Uo==null?void 0:Uo[Ut.label],value:ir,key:(Wo=Uo==null?void 0:Uo.key)!==null&&Wo!==void 0?Wo:ir}:ir,k(Uo)]};if(dr&&fe){var $o=ea(),En=(0,M.Z)($o,2),Tr=En[0],Er=En[1];fe(Tr,Er)}else if(!dr&&Ie&&sr!=="clear"){var cr=ea(),qo=(0,M.Z)(cr,2),Ir=qo[0],Co=qo[1];Ie(Ir,Co)}},hi=Bt(function(vt,ir){var dr,sr=nr?ir.selected:!0;sr?dr=nr?[].concat((0,O.Z)(un),[vt]):[vt]:dr=un.filter(function(ea){return ea.value!==vt}),co(dr),Ha(vt,sr),ge==="combobox"?Sa(""):(!$t||pe)&&(en(""),Sa(""))}),fi=function(ir,dr){co(ir);var sr=dr.type,ea=dr.values;(sr==="remove"||sr==="clear")&&ea.forEach(function($o){Ha($o.value,!1,sr)})},Xi=function(ir,dr){if(en(ir),Sa(null),dr.source==="submit"){var sr=(ir||"").trim();if(sr){var ea=Array.from(new Set([].concat((0,O.Z)(Kn),[sr])));co(ea),Ha(sr,!0),en("")}return}dr.source!=="blur"&&(ge==="combobox"&&co(ir),ae==null||ae(ir))},Mi=function(ir){var dr=ir;ge!=="tags"&&(dr=ir.map(function(ea){var $o=_n.get(ea);return $o==null?void 0:$o.value}).filter(function(ea){return ea!==void 0}));var sr=Array.from(new Set([].concat((0,O.Z)(Kn),(0,O.Z)(dr))));co(sr),sr.forEach(function(ea){Ha(ea,!0)})},Ca=s.useMemo(function(){var vt=Ht!==!1&&nt!==!1;return(0,E.Z)((0,E.Z)({},$r),{},{flattenOptions:Jo,onActiveValue:di,defaultActiveFirstOption:Di,onSelect:hi,menuItemSelectedIcon:Zt,rawValues:Kn,fieldNames:Ut,virtual:vt,direction:Rt,listHeight:Et,listItemHeight:Gt,childrenAsData:nn})},[$r,Jo,di,Di,hi,Zt,Kn,Ut,Ht,nt,Et,Gt,nn]);return s.createElement(To.Provider,{value:Ca},s.createElement(On,(0,x.Z)({},wn,{id:qn,prefixCls:Ye,ref:B,omitDomProps:Aa,mode:ge,displayValues:Jr,onDisplayValuesChange:fi,direction:Rt,searchValue:Wt,onSearch:Xi,autoClearSearchValue:pe,onSearchSplit:Mi,dropdownMatchSelectWidth:nt,OptionList:Do,emptyOptions:!Jo.length,activeValue:So,activeDescendantId:"".concat(qn,"_list_").concat(la)})))}),Ar=Kr;Ar.Option=Zn,Ar.OptGroup=lr;var wr=null,Gr=null,fa=i(17341),si=function(A){var B=s.useRef({valueLabels:new Map});return s.useMemo(function(){var Me=B.current.valueLabels,ge=new Map,ke=A.map(function(Ye){var S,P=Ye.value,V=(S=Ye.label)!==null&&S!==void 0?S:Me.get(P);return ge.set(P,V),(0,E.Z)((0,E.Z)({},Ye),{},{label:V})});return B.current.valueLabels=ge,[ke]},[A])},pi=function(A,B,Me,ge){return s.useMemo(function(){var ke=A.map(function(V){var K=V.value;return K}),Ye=B.map(function(V){var K=V.value;return K}),S=ke.filter(function(V){return!ge[V]});if(Me){var P=(0,fa.S)(ke,!0,ge);ke=P.checkedKeys,Ye=P.halfCheckedKeys}return[Array.from(new Set([].concat((0,O.Z)(S),(0,O.Z)(ke)))),Ye]},[A,B,Me,ge])},ci=i(1089),Qa=function(A,B){return s.useMemo(function(){var Me=(0,ci.I8)(A,{fieldNames:B,initWrapper:function(ke){return(0,E.Z)((0,E.Z)({},ke),{},{valueEntities:new Map})},processEntity:function(ke,Ye){var S=ke.node[B.value];if(!1)var P;Ye.valueEntities.set(S,ke)}});return Me},[A,B])},ri=function(){return null},ha=ri,ei=["children","value"];function Zi(A){return(0,q.Z)(A).map(function(B){if(!s.isValidElement(B)||!B.type)return null;var Me=B,ge=Me.key,ke=Me.props,Ye=ke.children,S=ke.value,P=(0,T.Z)(ke,ei),V=(0,E.Z)({key:ge,value:S},P),K=Zi(Ye);return K.length&&(V.children=K),V}).filter(function(B){return B})}function ki(A){if(!A)return A;var B=(0,E.Z)({},A);return"props"in B||Object.defineProperty(B,"props",{get:function(){return(0,w.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),B}}),B}function zo(A,B,Me,ge,ke,Ye){var S=null,P=null;function V(){function K(ae){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return ae.map(function(fe,Ie){var We="".concat(le,"-").concat(Ie),nt=fe[Ye.value],Ve=Me.includes(nt),it=K(fe[Ye.children]||[],We,Ve),Le=s.createElement(ha,fe,it.map(function(Ge){return Ge.node}));if(B===nt&&(S=Le),Ve){var st={pos:We,node:Le,children:it};return pe||P.push(st),st}return null}).filter(function(fe){return fe})}P||(P=[],K(ge),P.sort(function(ae,le){var pe=ae.node.props.value,fe=le.node.props.value,Ie=Me.indexOf(pe),We=Me.indexOf(fe);return Ie-We}))}Object.defineProperty(A,"triggerNode",{get:function(){return(0,w.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),V(),S}}),Object.defineProperty(A,"allCheckedNodes",{get:function(){return(0,w.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),V(),ke?P:P.map(function(ae){var le=ae.node;return le})}})}var ti=function(A,B,Me){var ge=Me.treeNodeFilterProp,ke=Me.filterTreeNode,Ye=Me.fieldNames,S=Ye.children;return s.useMemo(function(){if(!B||ke===!1)return A;var P;if(typeof ke=="function")P=ke;else{var V=B.toUpperCase();P=function(le,pe){var fe=pe[ge];return String(fe).toUpperCase().includes(V)}}function K(ae){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ae.reduce(function(pe,fe){var Ie=fe[S],We=le||P(B,ki(fe)),nt=K(Ie||[],We);return(We||nt.length)&&pe.push((0,E.Z)((0,E.Z)({},fe),{},(0,H.Z)({isLeaf:void 0},S,nt))),pe},[])}return K(A)},[A,B,S,ge,ke])};function zi(A){var B=s.useRef();B.current=A;var Me=s.useCallback(function(){return B.current.apply(B,arguments)},[]);return Me}function he(A,B){var Me=B.id,ge=B.pId,ke=B.rootPId,Ye={},S=[],P=A.map(function(V){var K=(0,E.Z)({},V),ae=K[Me];return Ye[ae]=K,K.key=K.key||ae,K});return P.forEach(function(V){var K=V[ge],ae=Ye[K];ae&&(ae.children=ae.children||[],ae.children.push(V)),(K===ke||!ae&&ke===null)&&S.push(V)}),S}function ue(A,B,Me){return s.useMemo(function(){return A?Me?he(A,(0,E.Z)({id:"id",pId:"pId",rootPId:null},Me!==!0?Me:{})):A:Zi(B)},[B,Me,A])}var He=s.createContext(null),Ct=He,At=i(70593),ln=s.createContext(null),Mn=ln;function xn(A){return Array.isArray(A)?A:A!==void 0?[A]:[]}function Jn(A){var B=A||{},Me=B.label,ge=B.value,ke=B.children,Ye=ge||"value";return{_title:Me?[Me]:["title","label"],value:Ye,key:Ye,children:ke||"children"}}function Dn(A){return!A||A.disabled||A.disableCheckbox||A.checkable===!1}function Qr(A,B){var Me=[];function ge(ke){ke.forEach(function(Ye){var S=Ye[B.children];S&&(Me.push(Ye[B.value]),ge(S))})}return ge(A),Me}function Or(A){return A==null}var Eo={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},so=function(B,Me){var ge=at(),ke=ge.prefixCls,Ye=ge.multiple,S=ge.searchValue,P=ge.toggleOpen,V=ge.open,K=ge.notFoundContent,ae=s.useContext(Mn),le=ae.virtual,pe=ae.listHeight,fe=ae.listItemHeight,Ie=ae.treeData,We=ae.fieldNames,nt=ae.onSelect,Ve=ae.dropdownMatchSelectWidth,it=ae.treeExpandAction,Le=s.useContext(Ct),st=Le.checkable,Ge=Le.checkedKeys,De=Le.halfCheckedKeys,Dt=Le.treeExpandedKeys,Zt=Le.treeDefaultExpandAll,Ht=Le.treeDefaultExpandedKeys,Rt=Le.onTreeExpand,tn=Le.treeIcon,Et=Le.showTreeIcon,Yt=Le.switcherIcon,Gt=Le.treeLine,gt=Le.treeNodeFilterProp,Pt=Le.loadData,ft=Le.treeLoadedKeys,hn=Le.treeMotion,wn=Le.onTreeLoad,qn=Le.keyEntities,nr=s.useRef(),nn=(0,pn.Z)(function(){return Ie},[V,Ie],function(Kn,Nr){return Nr[0]&&Kn[1]!==Nr[1]}),Ae=s.useState(null),Ut=(0,M.Z)(Ae,2),_t=Ut[0],Po=Ut[1],Wt=qn[_t],en=s.useMemo(function(){return st?{checked:Ge,halfChecked:De}:null},[st,Ge,De]);s.useEffect(function(){if(V&&!Ye&&Ge.length){var Kn;(Kn=nr.current)===null||Kn===void 0||Kn.scrollTo({key:Ge[0]}),Po(Ge[0])}},[V]);var $r=String(S).toLowerCase(),gn=function(Nr){return $r?String(Nr[gt]).toLowerCase().includes($r):!1},_n=s.useState(Ht),br=(0,M.Z)(_n,2),Vt=br[0],Jt=br[1],bn=s.useState(null),yr=(0,M.Z)(bn,2),Rr=yr[0],Sr=yr[1],Cr=s.useMemo(function(){return Dt?(0,O.Z)(Dt):S?Rr:Vt},[Vt,Rr,Dt,S]);s.useEffect(function(){S&&Sr(Qr(Ie,We))},[S]);var vr=function(Nr){Jt(Nr),Sr(Nr),Rt&&Rt(Nr)},un=function(Nr){Nr.preventDefault()},Ur=function(Nr,Mo){var Xr=Mo.node;st&&Dn(Xr)||(nt(Xr.key,{selected:!Ge.includes(Xr.key)}),Ye||P(!1))};if(s.useImperativeHandle(Me,function(){var Kn;return{scrollTo:(Kn=nr.current)===null||Kn===void 0?void 0:Kn.scrollTo,onKeyDown:function(Mo){var Xr,_o=Mo.which;switch(_o){case _.Z.UP:case _.Z.DOWN:case _.Z.LEFT:case _.Z.RIGHT:(Xr=nr.current)===null||Xr===void 0||Xr.onKeyDown(Mo);break;case _.Z.ENTER:{if(Wt){var Wr=(Wt==null?void 0:Wt.node)||{},Jo=Wr.selectable,co=Wr.value;Jo!==!1&&Ur(null,{node:{key:_t},selected:!Ge.includes(co)})}break}case _.Z.ESC:P(!1)}},onKeyUp:function(){}}}),nn.length===0)return s.createElement("div",{role:"listbox",className:"".concat(ke,"-empty"),onMouseDown:un},K);var Jr={fieldNames:We};return ft&&(Jr.loadedKeys=ft),Cr&&(Jr.expandedKeys=Cr),s.createElement("div",{onMouseDown:un},Wt&&V&&s.createElement("span",{style:Eo,"aria-live":"assertive"},Wt.node.value),s.createElement(At.Z,(0,x.Z)({ref:nr,focusable:!1,prefixCls:"".concat(ke,"-tree"),treeData:nn,height:pe,itemHeight:fe,virtual:le!==!1&&Ve!==!1,multiple:Ye,icon:tn,showIcon:Et,switcherIcon:Yt,showLine:Gt,loadData:S?null:Pt,motion:hn,activeKey:_t,checkable:st,checkStrictly:!0,checkedKeys:en,selectedKeys:st?[]:Ge,defaultExpandAll:Zt},Jr,{onActiveChange:Po,onSelect:Ur,onCheck:Ur,onExpand:vr,onLoad:wn,filterTreeNode:gn,expandAction:it})))},yo=s.forwardRef(so);yo.displayName="OptionList";var ba=yo,ko="SHOW_ALL",Go="SHOW_PARENT",Bo="SHOW_CHILD";function ia(A,B,Me,ge){var ke=new Set(A);return B===Bo?A.filter(function(Ye){var S=Me[Ye];return!(S&&S.children&&S.children.some(function(P){var V=P.node;return ke.has(V[ge.value])})&&S.children.every(function(P){var V=P.node;return Dn(V)||ke.has(V[ge.value])}))}):B===Go?A.filter(function(Ye){var S=Me[Ye],P=S?S.parent:null;return!(P&&!Dn(P.node)&&ke.has(P.key))}):A}function Qo(A){var B=A.searchPlaceholder,Me=A.treeCheckStrictly,ge=A.treeCheckable,ke=A.labelInValue,Ye=A.value,S=A.multiple;warning(!B,"`searchPlaceholder` has been removed."),Me&&ke===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(ke||Me)&&warning(toArray(Ye).every(function(P){return P&&_typeof(P)==="object"&&"value"in P}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),Me||S||ge?warning(!Ye||Array.isArray(Ye),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(Ye),"`value` should not be array when `TreeSelect` is single mode.")}var va=null,ze=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"];function tr(A){return!A||(0,$.Z)(A)!=="object"}var wt=s.forwardRef(function(A,B){var Me=A.id,ge=A.prefixCls,ke=ge===void 0?"rc-tree-select":ge,Ye=A.value,S=A.defaultValue,P=A.onChange,V=A.onSelect,K=A.onDeselect,ae=A.searchValue,le=A.inputValue,pe=A.onSearch,fe=A.autoClearSearchValue,Ie=fe===void 0?!0:fe,We=A.filterTreeNode,nt=A.treeNodeFilterProp,Ve=nt===void 0?"value":nt,it=A.showCheckedStrategy,Le=A.treeNodeLabelProp,st=A.multiple,Ge=A.treeCheckable,De=A.treeCheckStrictly,Dt=A.labelInValue,Zt=A.fieldNames,Ht=A.treeDataSimpleMode,Rt=A.treeData,tn=A.children,Et=A.loadData,Yt=A.treeLoadedKeys,Gt=A.onTreeLoad,gt=A.treeDefaultExpandAll,Pt=A.treeExpandedKeys,ft=A.treeDefaultExpandedKeys,hn=A.onTreeExpand,wn=A.treeExpandAction,qn=A.virtual,nr=A.listHeight,nn=nr===void 0?200:nr,Ae=A.listItemHeight,Ut=Ae===void 0?20:Ae,_t=A.onDropdownVisibleChange,Po=A.dropdownMatchSelectWidth,Wt=Po===void 0?!0:Po,en=A.treeLine,$r=A.treeIcon,gn=A.showTreeIcon,_n=A.switcherIcon,br=A.treeMotion,Vt=(0,T.Z)(A,ze),Jt=Tn(Me),bn=Ge&&!De,yr=Ge||De,Rr=De||Dt,Sr=yr||st,Cr=(0,oe.Z)(S,{value:Ye}),vr=(0,M.Z)(Cr,2),un=vr[0],Ur=vr[1],Jr=s.useMemo(function(){return Ge?it||Bo:ko},[it,Ge]),Kn=s.useMemo(function(){return Jn(Zt)},[JSON.stringify(Zt)]),Nr=(0,oe.Z)("",{value:ae!==void 0?ae:le,postState:function(Co){return Co||""}}),Mo=(0,M.Z)(Nr,2),Xr=Mo[0],_o=Mo[1],Wr=function(Co){_o(Co),pe==null||pe(Co)},Jo=ue(Rt,tn,Ht),co=Qa(Jo,Kn),jo=co.keyEntities,Ko=co.valueEntities,So=s.useCallback(function(Ir){var Co=[],ho=[];return Ir.forEach(function(Wo){Ko.has(Wo)?ho.push(Wo):Co.push(Wo)}),{missingRawValues:Co,existRawValues:ho}},[Ko]),Sa=ti(Jo,Xr,{fieldNames:Kn,treeNodeFilterProp:Ve,filterTreeNode:We}),Ma=s.useCallback(function(Ir){if(Ir){if(Le)return Ir[Le];for(var Co=Kn._title,ho=0;ho{const{componentCls:B,treePrefixCls:Me,colorBgElevated:ge}=A,ke=`.${Me}`;return[{[`${B}-dropdown`]:[{padding:`${A.paddingXS}px ${A.paddingXS/2}px`},(0,ui.Yk)(Me,(0,La.TS)(A,{colorBgContainer:ge})),{[ke]:{borderRadius:0,[`${ke}-list-holder-inner`]:{alignItems:"stretch",[`${ke}-treenode`]:{[`${ke}-node-content-wrapper`]:{flex:"auto"}}}}},(0,ya.C2)(`${Me}-checkbox`,A),{"&-rtl":{direction:"rtl",[`${ke}-switcher${ke}-switcher_close`]:{[`${ke}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function Ra(A,B){return(0,za.Z)("TreeSelect",Me=>{const ge=(0,La.TS)(Me,{treePrefixCls:B});return[Za(ge)]},ui.TM)(A)}var oi=function(A,B){var Me={};for(var ge in A)Object.prototype.hasOwnProperty.call(A,ge)&&B.indexOf(ge)<0&&(Me[ge]=A[ge]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,ge=Object.getOwnPropertySymbols(A);ke{var Me,{prefixCls:ge,size:ke,disabled:Ye,bordered:S=!0,className:P,rootClassName:V,treeCheckable:K,multiple:ae,listHeight:le=256,listItemHeight:pe=26,placement:fe,notFoundContent:Ie,switcherIcon:We,treeLine:nt,getPopupContainer:Ve,popupClassName:it,dropdownClassName:Le,treeIcon:st=!1,transitionName:Ge,choiceTransitionName:De="",status:Dt,treeExpandAction:Zt,builtinPlacements:Ht,dropdownMatchSelectWidth:Rt,popupMatchSelectWidth:tn,allowClear:Et}=A,Yt=oi(A,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear"]);const{getPopupContainer:Gt,getPrefixCls:gt,renderEmpty:Pt,direction:ft,virtual:hn,popupMatchSelectWidth:wn,popupOverflow:qn}=s.useContext(hr.E_),nr=gt(),nn=gt("select",ge),Ae=gt("select-tree",ge),Ut=gt("tree-select",ge),{compactSize:_t,compactItemClassnames:Po}=(0,ca.ri)(nn,ft),[Wt,en]=(0,Ao.Z)(nn),[$r]=Ra(Ut,Ae),gn=b()(it||Le,`${Ut}-dropdown`,{[`${Ut}-dropdown-rtl`]:ft==="rtl"},V,en),_n=!!(K||ae),br=(0,ka.Z)(Yt.suffixIcon,Yt.showArrow),Vt=(Me=tn!=null?tn:Rt)!==null&&Me!==void 0?Me:wn,{status:Jt,hasFeedback:bn,isFormItemInput:yr,feedbackIcon:Rr}=s.useContext(Bn.aM),Sr=(0,wa.F)(Jt,Dt),{suffixIcon:Cr,removeIcon:vr,clearIcon:un}=(0,Fa.Z)(Object.assign(Object.assign({},Yt),{multiple:_n,showSuffixIcon:br,hasFeedback:bn,feedbackIcon:Rr,prefixCls:nn,componentName:"TreeSelect"})),Ur=Et===!0?{clearIcon:un}:Et;let Jr;Ie!==void 0?Jr=Ie:Jr=(Pt==null?void 0:Pt("Select"))||s.createElement(ar.Z,{componentName:"Select"});const Kn=(0,Rn.Z)(Yt,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Nr=s.useMemo(()=>fe!==void 0?fe:ft==="rtl"?"bottomRight":"bottomLeft",[fe,ft]),Mo=(0,Oo.Z)(Ht,qn),Xr=(0,Lt.Z)(Ko=>{var So;return(So=ke!=null?ke:_t)!==null&&So!==void 0?So:Ko}),_o=s.useContext(An.Z),Wr=Ye!=null?Ye:_o,Jo=b()(!ge&&Ut,{[`${nn}-lg`]:Xr==="large",[`${nn}-sm`]:Xr==="small",[`${nn}-rtl`]:ft==="rtl",[`${nn}-borderless`]:!S,[`${nn}-in-form-item`]:yr},(0,wa.Z)(nn,Sr,bn),Po,P,V,en),co=Ko=>s.createElement(ja.Z,{prefixCls:Ae,switcherIcon:We,treeNodeProps:Ko,showLine:nt}),jo=s.createElement(Pa,Object.assign({virtual:hn,disabled:Wr},Kn,{dropdownMatchSelectWidth:Vt,builtinPlacements:Mo,ref:B,prefixCls:nn,className:Jo,listHeight:le,listItemHeight:pe,treeCheckable:K&&s.createElement("span",{className:`${nn}-tree-checkbox-inner`}),treeLine:!!nt,suffixIcon:Cr,multiple:_n,placement:Nr,removeIcon:vr,allowClear:Ur,switcherIcon:co,showTreeIcon:st,notFoundContent:Jr,getPopupContainer:Ve||Gt,treeMotion:null,dropdownClassName:gn,choiceTransitionName:(0,Ia.m)(nr,"",De),transitionName:(0,Ia.m)(nr,"slide-up",Ge),treeExpandAction:Zt}));return Wt($r(jo))},Si=s.forwardRef(Ri),Ui=(0,Oa.Z)(Si);Si.TreeNode=ha,Si.SHOW_ALL=ko,Si.SHOW_PARENT=Go,Si.SHOW_CHILD=Bo,Si._InternalPanelDoNotUseOrYouWillBeFired=Ui;var ai=Si},20640:function(Z,F,i){"use strict";var s=i(11742),n={"text/plain":"Text","text/html":"Url",default:"Text"},b="Copy to clipboard: #{key}, Enter";function x(E){var M=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return E.replace(/#{\s*key\s*}/g,M)}function O(E,M){var T,$,H,oe,w,Y,de=!1;M||(M={}),T=M.debug||!1;try{H=s(),oe=document.createRange(),w=document.getSelection(),Y=document.createElement("span"),Y.textContent=E,Y.ariaHidden="true",Y.style.all="unset",Y.style.position="fixed",Y.style.top=0,Y.style.clip="rect(0, 0, 0, 0)",Y.style.whiteSpace="pre",Y.style.webkitUserSelect="text",Y.style.MozUserSelect="text",Y.style.msUserSelect="text",Y.style.userSelect="text",Y.addEventListener("copy",function(re){if(re.stopPropagation(),M.format)if(re.preventDefault(),typeof re.clipboardData=="undefined"){T&&console.warn("unable to use e.clipboardData"),T&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var Ke=n[M.format]||n.default;window.clipboardData.setData(Ke,E)}else re.clipboardData.clearData(),re.clipboardData.setData(M.format,E);M.onCopy&&(re.preventDefault(),M.onCopy(re.clipboardData))}),document.body.appendChild(Y),oe.selectNodeContents(Y),w.addRange(oe);var _=document.execCommand("copy");if(!_)throw new Error("copy command was unsuccessful");de=!0}catch(re){T&&console.error("unable to copy using execCommand: ",re),T&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(M.format||"text",E),M.onCopy&&M.onCopy(window.clipboardData),de=!0}catch(Ke){T&&console.error("unable to copy using clipboardData: ",Ke),T&&console.error("falling back to prompt"),$=x("message"in M?M.message:b),window.prompt($,E)}}finally{w&&(typeof w.removeRange=="function"?w.removeRange(oe):w.removeAllRanges()),Y&&document.body.removeChild(Y),H()}return de}Z.exports=O},59542:function(Z){(function(F,i){Z.exports=i()})(this,function(){"use strict";var F="day";return function(i,s,n){var b=function(E){return E.add(4-E.isoWeekday(),F)},x=s.prototype;x.isoWeekYear=function(){return b(this).year()},x.isoWeek=function(E){if(!this.$utils().u(E))return this.add(7*(E-this.isoWeek()),F);var M,T,$,H,oe=b(this),w=(M=this.isoWeekYear(),T=this.$u,$=(T?n.utc:n)().year(M).startOf("year"),H=4-$.isoWeekday(),$.isoWeekday()>4&&(H+=7),$.add(H,F));return oe.diff(w,"week")+1},x.isoWeekday=function(E){return this.$utils().u(E)?this.day()||7:this.day(this.day()%7?E:E-7)};var O=x.startOf;x.startOf=function(E,M){var T=this.$utils(),$=!!T.u(M)||M;return T.p(E)==="isoweek"?$?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):O.bind(this)(E,M)}}})},84110:function(Z){(function(F,i){Z.exports=i()})(this,function(){"use strict";return function(F,i,s){F=F||{};var n=i.prototype,b={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function x(E,M,T,$){return n.fromToBase(E,M,T,$)}s.en.relativeTime=b,n.fromToBase=function(E,M,T,$,H){for(var oe,w,Y,de=T.$locale().relativeTime||b,_=F.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],re=_.length,Ke=0;Ke0,lt<=Ce.r||!Ce.r){lt<=1&&Ke>0&&(Ce=_[Ke-1]);var ut=de[Ce.l];H&&(lt=H(""+lt)),w=typeof ut=="string"?ut.replace("%d",lt):ut(lt,M,Ce.l,Y);break}}if(M)return w;var at=Y?de.future:de.past;return typeof at=="function"?at(w):at.replace("%s",w)},n.to=function(E,M){return x(E,M,this,!0)},n.from=function(E,M){return x(E,M,this)};var O=function(E){return E.$u?s.utc():s()};n.toNow=function(E){return this.to(O(this),E)},n.fromNow=function(E){return this.from(O(this),E)}}})},80973:function(Z,F,i){var s=i(71169),n=function(O){var E=/[height|width]$/;return E.test(O)},b=function(O){var E="",M=Object.keys(O);return M.forEach(function(T,$){var H=O[T];T=s(T),n(T)&&typeof H=="number"&&(H=H+"px"),H===!0?E+=T:H===!1?E+="not "+T:E+="("+T+": "+H+")",$1?E[T-1]:void 0,H=T>2?E[2]:void 0;for($=x.length>3&&typeof $=="function"?(T--,$):void 0,H&&n(E[0],E[1],H)&&($=T<3?void 0:$,T=1),O=Object(O);++Mde))return!1;var re=w.get(M),Ke=w.get(T);if(re&&Ke)return re==T&&Ke==M;var Ce=-1,lt=!0,ut=$&O?new s:void 0;for(w.set(M,T),w.set(T,M);++Ce-1&&n%1==0&&n-1}Z.exports=n},13399:function(Z,F,i){var s=i(18470);function n(b,x){var O=this.__data__,E=s(O,b);return E<0?(++this.size,O.push([b,x])):O[E][1]=x,this}Z.exports=n},24785:function(Z,F,i){var s=i(1989),n=i(38407),b=i(57071);function x(){this.size=0,this.__data__={hash:new s,map:new(b||n),string:new s}}Z.exports=x},11285:function(Z,F,i){var s=i(45050);function n(b){var x=s(this,b).delete(b);return this.size-=x?1:0,x}Z.exports=n},96e3:function(Z,F,i){var s=i(45050);function n(b){return s(this,b).get(b)}Z.exports=n},49916:function(Z,F,i){var s=i(45050);function n(b){return s(this,b).has(b)}Z.exports=n},95265:function(Z,F,i){var s=i(45050);function n(b,x){var O=s(this,b),E=O.size;return O.set(b,x),this.size+=O.size==E?0:1,this}Z.exports=n},68776:function(Z){function F(i){var s=-1,n=Array(i.size);return i.forEach(function(b,x){n[++s]=[x,b]}),n}Z.exports=F},42634:function(Z){function F(i,s){return function(n){return n==null?!1:n[i]===s&&(s!==void 0||i in Object(n))}}Z.exports=F},24523:function(Z,F,i){var s=i(15644),n=500;function b(x){var O=s(x,function(M){return E.size===n&&E.clear(),M}),E=O.cache;return O}Z.exports=b},94536:function(Z,F,i){var s=i(10852),n=s(Object,"create");Z.exports=n},86916:function(Z,F,i){var s=i(5569),n=s(Object.keys,Object);Z.exports=n},33498:function(Z){function F(i){var s=[];if(i!=null)for(var n in Object(i))s.push(n);return s}Z.exports=F},31167:function(Z,F,i){Z=i.nmd(Z);var s=i(31957),n=F&&!F.nodeType&&F,b=n&&!0&&Z&&!Z.nodeType&&Z,x=b&&b.exports===n,O=x&&s.process,E=function(){try{var M=b&&b.require&&b.require("util").types;return M||O&&O.binding&&O.binding("util")}catch(T){}}();Z.exports=E},5569:function(Z){function F(i,s){return function(n){return i(s(n))}}Z.exports=F},45357:function(Z,F,i){var s=i(96874),n=Math.max;function b(x,O,E){return O=n(O===void 0?x.length-1:O,0),function(){for(var M=arguments,T=-1,$=n(M.length-O,0),H=Array($);++T<$;)H[T]=M[O+T];T=-1;for(var oe=Array(O+1);++T0){if(++x>=F)return arguments[0]}else x=0;return b.apply(void 0,arguments)}}Z.exports=n},37465:function(Z,F,i){var s=i(38407);function n(){this.__data__=new s,this.size=0}Z.exports=n},63779:function(Z){function F(i){var s=this.__data__,n=s.delete(i);return this.size=s.size,n}Z.exports=F},67599:function(Z){function F(i){return this.__data__.get(i)}Z.exports=F},44758:function(Z){function F(i){return this.__data__.has(i)}Z.exports=F},34309:function(Z,F,i){var s=i(38407),n=i(57071),b=i(83369),x=200;function O(E,M){var T=this.__data__;if(T instanceof s){var $=T.__data__;if(!n||$.length=$||Pe<0||lt&&Ue>=Y}function be(){var _e=n();if(qt(_e))return Xe(_e);_=setTimeout(be,dn(_e))}function Xe(_e){return _=void 0,ut&&oe?at(_e):(oe=w=void 0,de)}function bt(){_!==void 0&&clearTimeout(_),Ke=0,oe=re=w=_=void 0}function te(){return _===void 0?de:Xe(n())}function Te(){var _e=n(),Pe=qt(_e);if(oe=arguments,w=this,re=_e,Pe){if(_===void 0)return Yn(re);if(lt)return clearTimeout(_),_=setTimeout(be,$),at(re)}return _===void 0&&(_=setTimeout(be,$)),de}return Te.cancel=bt,Te.flush=te,Te}Z.exports=M},66073:function(Z,F,i){Z.exports=i(84486)},77813:function(Z){function F(i,s){return i===s||i!==i&&s!==s}Z.exports=F},84486:function(Z,F,i){var s=i(77412),n=i(89881),b=i(54290),x=i(1469);function O(E,M){var T=x(E)?s:n;return T(E,b(M))}Z.exports=O},2525:function(Z,F,i){var s=i(47816),n=i(54290);function b(x,O){return x&&s(x,n(O))}Z.exports=b},27361:function(Z,F,i){var s=i(97786);function n(b,x,O){var E=b==null?void 0:s(b,x);return E===void 0?O:E}Z.exports=n},79095:function(Z,F,i){var s=i(13),n=i(222);function b(x,O){return x!=null&&n(x,O,s)}Z.exports=b},6557:function(Z){function F(i){return i}Z.exports=F},35694:function(Z,F,i){var s=i(9454),n=i(37005),b=Object.prototype,x=b.hasOwnProperty,O=b.propertyIsEnumerable,E=s(function(){return arguments}())?s:function(M){return n(M)&&x.call(M,"callee")&&!O.call(M,"callee")};Z.exports=E},98612:function(Z,F,i){var s=i(23560),n=i(41780);function b(x){return x!=null&&n(x.length)&&!s(x)}Z.exports=b},29246:function(Z,F,i){var s=i(98612),n=i(37005);function b(x){return n(x)&&s(x)}Z.exports=b},44144:function(Z,F,i){Z=i.nmd(Z);var s=i(55639),n=i(95062),b=F&&!F.nodeType&&F,x=b&&!0&&Z&&!Z.nodeType&&Z,O=x&&x.exports===b,E=O?s.Buffer:void 0,M=E?E.isBuffer:void 0,T=M||n;Z.exports=T},23560:function(Z,F,i){var s=i(44239),n=i(13218),b="[object AsyncFunction]",x="[object Function]",O="[object GeneratorFunction]",E="[object Proxy]";function M(T){if(!n(T))return!1;var $=s(T);return $==x||$==O||$==b||$==E}Z.exports=M},41780:function(Z){var F=9007199254740991;function i(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=F}Z.exports=i},56688:function(Z,F,i){var s=i(25588),n=i(7518),b=i(31167),x=b&&b.isMap,O=x?n(x):s;Z.exports=O},13218:function(Z){function F(i){var s=typeof i;return i!=null&&(s=="object"||s=="function")}Z.exports=F},68630:function(Z,F,i){var s=i(44239),n=i(85924),b=i(37005),x="[object Object]",O=Function.prototype,E=Object.prototype,M=O.toString,T=E.hasOwnProperty,$=M.call(Object);function H(oe){if(!b(oe)||s(oe)!=x)return!1;var w=n(oe);if(w===null)return!0;var Y=T.call(w,"constructor")&&w.constructor;return typeof Y=="function"&&Y instanceof Y&&M.call(Y)==$}Z.exports=H},72928:function(Z,F,i){var s=i(29221),n=i(7518),b=i(31167),x=b&&b.isSet,O=x?n(x):s;Z.exports=O},47037:function(Z,F,i){var s=i(44239),n=i(1469),b=i(37005),x="[object String]";function O(E){return typeof E=="string"||!n(E)&&b(E)&&s(E)==x}Z.exports=O},36719:function(Z,F,i){var s=i(38749),n=i(7518),b=i(31167),x=b&&b.isTypedArray,O=x?n(x):s;Z.exports=O},3674:function(Z,F,i){var s=i(14636),n=i(280),b=i(98612);function x(O){return b(O)?s(O):n(O)}Z.exports=x},81704:function(Z,F,i){var s=i(14636),n=i(35014),b=i(98612);function x(O){return b(O)?s(O,!0):n(O)}Z.exports=x},35161:function(Z,F,i){var s=i(29932),n=i(67206),b=i(69199),x=i(1469);function O(E,M){var T=x(E)?s:b;return T(E,n(M,3))}Z.exports=O},15644:function(Z,F,i){var s=i(83369),n="Expected a function";function b(x,O){if(typeof x!="function"||O!=null&&typeof O!="function")throw new TypeError(n);var E=function(){var M=arguments,T=O?O.apply(this,M):M[0],$=E.cache;if($.has(T))return $.get(T);var H=x.apply(this,M);return E.cache=$.set(T,H)||$,H};return E.cache=new(b.Cache||s),E}b.Cache=s,Z.exports=b},82492:function(Z,F,i){var s=i(42980),n=i(21463),b=n(function(x,O,E){s(x,O,E)});Z.exports=b},7771:function(Z,F,i){var s=i(55639),n=function(){return s.Date.now()};Z.exports=n},39601:function(Z,F,i){var s=i(40371),n=i(79152),b=i(15403),x=i(40327);function O(E){return b(E)?s(x(E)):n(E)}Z.exports=O},70479:function(Z){function F(){return[]}Z.exports=F},95062:function(Z){function F(){return!1}Z.exports=F},23493:function(Z,F,i){var s=i(23279),n=i(13218),b="Expected a function";function x(O,E,M){var T=!0,$=!0;if(typeof O!="function")throw new TypeError(b);return n(M)&&(T="leading"in M?!!M.leading:T,$="trailing"in M?!!M.trailing:$),s(O,E,{leading:T,maxWait:E,trailing:$})}Z.exports=x},14841:function(Z,F,i){var s=i(4107),n=i(13218),b=i(33448),x=0/0,O=/^[-+]0x[0-9a-f]+$/i,E=/^0b[01]+$/i,M=/^0o[0-7]+$/i,T=parseInt;function $(H){if(typeof H=="number")return H;if(b(H))return x;if(n(H)){var oe=typeof H.valueOf=="function"?H.valueOf():H;H=n(oe)?oe+"":oe}if(typeof H!="string")return H===0?H:+H;H=s(H);var w=E.test(H);return w||M.test(H)?T(H.slice(2),w?2:8):O.test(H)?x:+H}Z.exports=$},59881:function(Z,F,i){var s=i(98363),n=i(81704);function b(x){return s(x,n(x))}Z.exports=b},24754:function(Z,F,i){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.autoprefix=void 0;var s=i(2525),n=x(s),b=Object.assign||function(M){for(var T=1;T1&&arguments[1]!==void 0?arguments[1]:"span";return function(w){M(Y,w);function Y(){var de,_,re,Ke;O(this,Y);for(var Ce=arguments.length,lt=Array(Ce),ut=0;ut1&&arguments[1]!==void 0?arguments[1]:"span";return function(w){M(Y,w);function Y(){var de,_,re,Ke;O(this,Y);for(var Ce=arguments.length,lt=Array(Ce),ut=0;ut0&&arguments[0]!==void 0?arguments[0]:[],Y=[];return(0,T.default)(w,function(de){Array.isArray(de)?oe(de).map(function(_){return Y.push(_)}):(0,E.default)(de)?(0,x.default)(de,function(_,re){_===!0&&Y.push(re),Y.push(re+"-"+_)}):(0,n.default)(de)&&Y.push(de)}),Y};F.default=H},79941:function(Z,F,i){"use strict";var s;s={value:!0},s=s=s=s=s=void 0;var n=i(14147),b=de(n),x=i(18556),O=de(x),E=i(24754),M=de(E),T=i(91765),$=de(T),H=i(36002),oe=de(H),w=i(57742),Y=de(w);function de(re){return re&&re.__esModule?re:{default:re}}s=$.default,s=$.default,s=oe.default,s=Y.default;var _=s=function(Ke){for(var Ce=arguments.length,lt=Array(Ce>1?Ce-1:0),ut=1;ut1&&arguments[1]!==void 0?arguments[1]:!0;x[M]=T};return n===0&&O("first-child"),n===b-1&&O("last-child"),(n===0||n%2===0)&&O("even"),Math.abs(n%2)===1&&O("odd"),O("nth-child",n),x};F.default=i},18556:function(Z,F,i){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.mergeClasses=void 0;var s=i(2525),n=E(s),b=i(50361),x=E(b),O=Object.assign||function(T){for(var $=1;$1&&arguments[1]!==void 0?arguments[1]:[],oe=$.default&&(0,x.default)($.default)||{};return H.map(function(w){var Y=$[w];return Y&&(0,n.default)(Y,function(de,_){oe[_]||(oe[_]={}),oe[_]=O({},oe[_],Y[_])}),w}),oe};F.default=M},87668:function(Z,F){"use strict";const{hasOwnProperty:i}=Object.prototype,s=de();s.configure=de,s.stringify=s,s.default=s,F.stringify=s,F.configure=de,Z.exports=s;const n=/[\u0000-\u001f\u0022\u005c\ud800-\udfff]|[\ud800-\udbff](?![\udc00-\udfff])|(?:[^\ud800-\udbff]|^)[\udc00-\udfff]/;function b(_){return _.length<5e3&&!n.test(_)?`"${_}"`:JSON.stringify(_)}function x(_){if(_.length>200)return _.sort();for(let re=1;re<_.length;re++){const Ke=_[re];let Ce=re;for(;Ce!==0&&_[Ce-1]>Ke;)_[Ce]=_[Ce-1],Ce--;_[Ce]=Ke}return _}const O=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)),Symbol.toStringTag).get;function E(_){return O.call(_)!==void 0&&_.length!==0}function M(_,re,Ke){_.length= 1`)}return Ke===void 0?1/0:Ke}function oe(_){return _===1?"1 item":`${_} items`}function w(_){const re=new Set;for(const Ke of _)(typeof Ke=="string"||typeof Ke=="number")&&re.add(String(Ke));return re}function Y(_){if(i.call(_,"strict")){const re=_.strict;if(typeof re!="boolean")throw new TypeError('The "strict" argument must be of type boolean');if(re)return Ke=>{let Ce=`Object can not safely be stringified. Received type ${typeof Ke}`;throw typeof Ke!="function"&&(Ce+=` (${Ke.toString()})`),new Error(Ce)}}}function de(_){_=cf({},_);const re=Y(_);re&&(_.bigint===void 0&&(_.bigint=!1),"circularValue"in _||(_.circularValue=Error));const Ke=T(_),Ce=$(_,"bigint"),lt=$(_,"deterministic"),ut=H(_,"maximumDepth"),at=H(_,"maximumBreadth");function Yn(bt,te,Te,_e,Pe,Ue){let ct=te[bt];switch(typeof ct=="object"&&ct!==null&&typeof ct.toJSON=="function"&&(ct=ct.toJSON(bt)),ct=_e.call(te,bt,ct),typeof ct){case"string":return b(ct);case"object":{if(ct===null)return"null";if(Te.indexOf(ct)!==-1)return Ke;let yt="",fn=",";const Nt=Ue;if(Array.isArray(ct)){if(ct.length===0)return"[]";if(utat){const Nn=ct.length-at-1;yt+=`${fn}"... ${oe(Nn)} not stringified"`}return Pe!==""&&(yt+=` +${Nt}`),Te.pop(),`[${yt}]`}let Se=Object.keys(ct);const D=Se.length;if(D===0)return"{}";if(utat){const rt=D-at;yt+=`${Be}"...":${se}"${oe(rt)} not stringified"`,Be=fn}return Pe!==""&&Be.length>1&&(yt=` +${Ue}${yt} +${Nt}`),Te.pop(),`{${yt}}`}case"number":return isFinite(ct)?String(ct):re?re(ct):"null";case"boolean":return ct===!0?"true":"false";case"undefined":return;case"bigint":if(Ce)return String(ct);default:return re?re(ct):void 0}}function dn(bt,te,Te,_e,Pe,Ue){switch(typeof te=="object"&&te!==null&&typeof te.toJSON=="function"&&(te=te.toJSON(bt)),typeof te){case"string":return b(te);case"object":{if(te===null)return"null";if(Te.indexOf(te)!==-1)return Ke;const ct=Ue;let yt="",fn=",";if(Array.isArray(te)){if(te.length===0)return"[]";if(utat){const Re=te.length-at-1;yt+=`${fn}"... ${oe(Re)} not stringified"`}return Pe!==""&&(yt+=` +${ct}`),Te.pop(),`[${yt}]`}Te.push(te);let Nt="";Pe!==""&&(Ue+=Pe,fn=`, +${Ue}`,Nt=" ");let Se="";for(const D of _e){const se=dn(D,te[D],Te,_e,Pe,Ue);se!==void 0&&(yt+=`${Se}${b(D)}:${Nt}${se}`,Se=fn)}return Pe!==""&&Se.length>1&&(yt=` +${Ue}${yt} +${ct}`),Te.pop(),`{${yt}}`}case"number":return isFinite(te)?String(te):re?re(te):"null";case"boolean":return te===!0?"true":"false";case"undefined":return;case"bigint":if(Ce)return String(te);default:return re?re(te):void 0}}function qt(bt,te,Te,_e,Pe){switch(typeof te){case"string":return b(te);case"object":{if(te===null)return"null";if(typeof te.toJSON=="function"){if(te=te.toJSON(bt),typeof te!="object")return qt(bt,te,Te,_e,Pe);if(te===null)return"null"}if(Te.indexOf(te)!==-1)return Ke;const Ue=Pe;if(Array.isArray(te)){if(te.length===0)return"[]";if(utat){const Ln=te.length-at-1;se+=`${Be}"... ${oe(Ln)} not stringified"`}return se+=` +${Ue}`,Te.pop(),`[${se}]`}let ct=Object.keys(te);const yt=ct.length;if(yt===0)return"{}";if(utat){const se=yt-at;Nt+=`${Se}"...": "${oe(se)} not stringified"`,Se=fn}return Se!==""&&(Nt=` +${Pe}${Nt} +${Ue}`),Te.pop(),`{${Nt}}`}case"number":return isFinite(te)?String(te):re?re(te):"null";case"boolean":return te===!0?"true":"false";case"undefined":return;case"bigint":if(Ce)return String(te);default:return re?re(te):void 0}}function be(bt,te,Te){switch(typeof te){case"string":return b(te);case"object":{if(te===null)return"null";if(typeof te.toJSON=="function"){if(te=te.toJSON(bt),typeof te!="object")return be(bt,te,Te);if(te===null)return"null"}if(Te.indexOf(te)!==-1)return Ke;let _e="";if(Array.isArray(te)){if(te.length===0)return"[]";if(utat){const D=te.length-at-1;_e+=`,"... ${oe(D)} not stringified"`}return Te.pop(),`[${_e}]`}let Pe=Object.keys(te);const Ue=Pe.length;if(Ue===0)return"{}";if(utat){const fn=Ue-at;_e+=`${ct}"...":"${oe(fn)} not stringified"`}return Te.pop(),`{${_e}}`}case"number":return isFinite(te)?String(te):re?re(te):"null";case"boolean":return te===!0?"true":"false";case"undefined":return;case"bigint":if(Ce)return String(te);default:return re?re(te):void 0}}function Xe(bt,te,Te){if(arguments.length>1){let _e="";if(typeof Te=="number"?_e=" ".repeat(Math.min(Te,10)):typeof Te=="string"&&(_e=Te.slice(0,10)),te!=null){if(typeof te=="function")return Yn("",{"":bt},[],te,_e,"");if(Array.isArray(te))return dn("",bt,[],w(te),_e,"")}if(_e.length!==0)return qt("",bt,[],_e,"")}return be("",bt,[])}return Xe}},71169:function(Z){var F=function(i){return i.replace(/[A-Z]/g,function(s){return"-"+s.toLowerCase()}).toLowerCase()};Z.exports=F},11742:function(Z){Z.exports=function(){var F=document.getSelection();if(!F.rangeCount)return function(){};for(var i=document.activeElement,s=[],n=0;n=&|\^\/!\?]/,s="[A-Za-z_\\-0-9]",v=new RegExp("[A-Za-z]"),m=new RegExp("(("+s+"|\\.)*("+s+"))?:");function d(n,e){var t=n.next();if(r=null,t=="$"||t=="?")return t=="?"&&n.match(/\s/,!1)?"operator":(n.match(/^[A-Za-z0-9_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][A-Za-z0-9_\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]*/),"variableName.local");if(t=="<"&&!n.match(/^[\s\u00a0=]/,!1))return n.match(/^[^\s\u00a0>]*>?/),"atom";if(t=='"'||t=="'")return e.tokenize=k(t),e.tokenize(n,e);if(/[{}\(\),\.;\[\]]/.test(t))return r=t,"bracket";if(t=="#")return n.skipToEnd(),"comment";if(g.test(t))return"operator";if(t==":")return p(n),"atom";if(t=="@")return n.eatWhile(/[a-z\d\-]/i),"meta";if(v.test(t)&&n.match(m))return p(n),"atom";n.eatWhile(/[_\w\d]/);var i=n.current();return x.test(i)?"builtin":h.test(i)?"keyword":"variable"}function p(n){n.match(/(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])+/i)}function k(n){return function(e,t){for(var i=!1,u;(u=e.next())!=null;){if(u==n&&!i){t.tokenize=d;break}i=!i&&u=="\\"}return"string"}}function o(n,e,t){n.context={prev:n.context,indent:n.indent,col:t,type:e}}function c(n){n.indent=n.context.indent,n.context=n.context.prev}const y={name:"sparql",startState:function(){return{tokenize:d,context:null,indent:0,col:0}},token:function(n,e){if(n.sol()&&(e.context&&e.context.align==null&&(e.context.align=!1),e.indent=n.indentation()),n.eatSpace())return null;var t=e.tokenize(n,e);if(t!="comment"&&e.context&&e.context.align==null&&e.context.type!="pattern"&&(e.context.align=!0),r=="(")o(e,")",n.column());else if(r=="[")o(e,"]",n.column());else if(r=="{")o(e,"}",n.column());else if(/[\]\}\)]/.test(r)){for(;e.context&&e.context.type=="pattern";)c(e);e.context&&r==e.context.type&&(c(e),r=="}"&&e.context&&e.context.type=="pattern"&&c(e))}else r=="."&&e.context&&e.context.type=="pattern"?c(e):/atom|string|variable/.test(t)&&e.context&&(/[\}\]]/.test(e.context.type)?o(e,"pattern",n.column()):e.context.type=="pattern"&&!e.context.align&&(e.context.align=!0,e.context.col=n.column()));return t},indent:function(n,e,t){var i=e&&e.charAt(0),u=n.context;if(/[\]\}]/.test(i))for(;u&&u.type=="pattern";)u=u.prev;var F=u&&i==u.type;return u?u.type=="pattern"?u.col:u.align?u.col+(F?0:1):u.indent+(F?0:t.unit):0},languageData:{commentTokens:{line:"#"}}}}}]); diff --git a/3725.f2bc4aff.async.js b/3725.f2bc4aff.async.js new file mode 100644 index 0000000000..6143bd1644 --- /dev/null +++ b/3725.f2bc4aff.async.js @@ -0,0 +1,8 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[3725],{85265:function(_e,pe,g){g.d(pe,{Z:function(){return Ie}});var l=g(67294),O=g(94184),d=g.n(O),N=g(1413),X=g(97685),Ke=g(2788),G=g(8410),be=l.createContext(null),se=l.createContext({}),le=be,ie=g(4942),z=g(87462),B=g(82225),te=g(15105),ne=g(64217),$e=g(56790),ye=function(o){var v=o.prefixCls,f=o.className,h=o.style,e=o.children,t=o.containerRef,a=o.id,r=o.onMouseEnter,s=o.onMouseOver,c=o.onMouseLeave,m=o.onClick,u=o.onKeyDown,i=o.onKeyUp,C={onMouseEnter:r,onMouseOver:s,onMouseLeave:c,onClick:m,onKeyDown:u,onKeyUp:i},p=l.useContext(se),b=p.panel,y=(0,$e.x1)(b,t);return l.createElement(l.Fragment,null,l.createElement("div",(0,z.Z)({id:a,className:d()("".concat(v,"-content"),f),style:(0,N.Z)({},h),"aria-modal":"true",role:"dialog",ref:y},C),e))},ce=ye,xe=g(80334);function J(n){return typeof n=="string"&&String(Number(n))===n?((0,xe.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(n)):n}function de(n){warning(!("wrapperClassName"in n),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!n.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var ue={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function Se(n,o){var v,f,h,e,t=n.prefixCls,a=n.open,r=n.placement,s=n.inline,c=n.push,m=n.forceRender,u=n.autoFocus,i=n.keyboard,C=n.rootClassName,p=n.rootStyle,b=n.zIndex,y=n.className,k=n.id,E=n.style,$=n.motion,x=n.width,P=n.height,R=n.children,j=n.contentWrapperStyle,H=n.mask,A=n.maskClosable,T=n.maskMotion,K=n.maskClassName,Z=n.maskStyle,I=n.afterOpenChange,D=n.onClose,oe=n.onMouseEnter,ze=n.onMouseOver,he=n.onMouseLeave,He=n.onClick,Ze=n.onKeyDown,F=n.onKeyUp,Q=l.useRef(),W=l.useRef(),re=l.useRef();l.useImperativeHandle(o,function(){return Q.current});var Be=function(M){var _=M.keyCode,ee=M.shiftKey;switch(_){case te.Z.TAB:{if(_===te.Z.TAB){if(!ee&&document.activeElement===re.current){var Ae;(Ae=W.current)===null||Ae===void 0||Ae.focus({preventScroll:!0})}else if(ee&&document.activeElement===W.current){var Te;(Te=re.current)===null||Te===void 0||Te.focus({preventScroll:!0})}}break}case te.Z.ESC:{D&&i&&(M.stopPropagation(),D(M));break}}};l.useEffect(function(){if(a&&u){var S;(S=Q.current)===null||S===void 0||S.focus({preventScroll:!0})}},[a]);var Le=l.useState(!1),Ce=(0,X.Z)(Le,2),Qe=Ce[0],q=Ce[1],w=l.useContext(le),U;c===!1?U={distance:0}:c===!0?U={}:U=c||{};var Y=(v=(f=(h=U)===null||h===void 0?void 0:h.distance)!==null&&f!==void 0?f:w==null?void 0:w.pushDistance)!==null&&v!==void 0?v:180,et=l.useMemo(function(){return{pushDistance:Y,push:function(){q(!0)},pull:function(){q(!1)}}},[Y]);l.useEffect(function(){if(a){var S;w==null||(S=w.push)===null||S===void 0||S.call(w)}else{var M;w==null||(M=w.pull)===null||M===void 0||M.call(w)}},[a]),l.useEffect(function(){return function(){var S;w==null||(S=w.pull)===null||S===void 0||S.call(w)}},[]);var tt=H&&l.createElement(B.ZP,(0,z.Z)({key:"mask"},T,{visible:a}),function(S,M){var _=S.className,ee=S.style;return l.createElement("div",{className:d()("".concat(t,"-mask"),_,K),style:(0,N.Z)((0,N.Z)({},ee),Z),onClick:A&&a?D:void 0,ref:M})}),nt=typeof $=="function"?$(r):$,V={};if(Qe&&Y)switch(r){case"top":V.transform="translateY(".concat(Y,"px)");break;case"bottom":V.transform="translateY(".concat(-Y,"px)");break;case"left":V.transform="translateX(".concat(Y,"px)");break;default:V.transform="translateX(".concat(-Y,"px)");break}r==="left"||r==="right"?V.width=J(x):V.height=J(P);var at={onMouseEnter:oe,onMouseOver:ze,onMouseLeave:he,onClick:He,onKeyDown:Ze,onKeyUp:F},ot=l.createElement(B.ZP,(0,z.Z)({key:"panel"},nt,{visible:a,forceRender:m,onVisibleChanged:function(M){I==null||I(M)},removeOnLeave:!1,leavedClassName:"".concat(t,"-content-wrapper-hidden")}),function(S,M){var _=S.className,ee=S.style;return l.createElement("div",(0,z.Z)({className:d()("".concat(t,"-content-wrapper"),_),style:(0,N.Z)((0,N.Z)((0,N.Z)({},V),ee),j)},(0,ne.Z)(n,{data:!0})),l.createElement(ce,(0,z.Z)({id:k,containerRef:M,prefixCls:t,className:y,style:E},at),R))}),qe=(0,N.Z)({},p);return b&&(qe.zIndex=b),l.createElement(le.Provider,{value:et},l.createElement("div",{className:d()(t,"".concat(t,"-").concat(r),C,(e={},(0,ie.Z)(e,"".concat(t,"-open"),a),(0,ie.Z)(e,"".concat(t,"-inline"),s),e)),style:qe,tabIndex:-1,ref:Q,onKeyDown:Be},tt,l.createElement("div",{tabIndex:0,ref:W,style:ue,"aria-hidden":"true","data-sentinel":"start"}),ot,l.createElement("div",{tabIndex:0,ref:re,style:ue,"aria-hidden":"true","data-sentinel":"end"})))}var L=l.forwardRef(Se),Fe=L,we=function(o){var v=o.open,f=v===void 0?!1:v,h=o.prefixCls,e=h===void 0?"rc-drawer":h,t=o.placement,a=t===void 0?"right":t,r=o.autoFocus,s=r===void 0?!0:r,c=o.keyboard,m=c===void 0?!0:c,u=o.width,i=u===void 0?378:u,C=o.mask,p=C===void 0?!0:C,b=o.maskClosable,y=b===void 0?!0:b,k=o.getContainer,E=o.forceRender,$=o.afterOpenChange,x=o.destroyOnClose,P=o.onMouseEnter,R=o.onMouseOver,j=o.onMouseLeave,H=o.onClick,A=o.onKeyDown,T=o.onKeyUp,K=o.panelRef,Z=l.useState(!1),I=(0,X.Z)(Z,2),D=I[0],oe=I[1],ze=l.useState(!1),he=(0,X.Z)(ze,2),He=he[0],Ze=he[1];(0,G.Z)(function(){Ze(!0)},[]);var F=He?f:!1,Q=l.useRef(),W=l.useRef();(0,G.Z)(function(){F&&(W.current=document.activeElement)},[F]);var re=function(q){var w;if(oe(q),$==null||$(q),!q&&W.current&&!((w=Q.current)!==null&&w!==void 0&&w.contains(W.current))){var U;(U=W.current)===null||U===void 0||U.focus({preventScroll:!0})}},Be=l.useMemo(function(){return{panel:K}},[K]);if(!E&&!D&&!F&&x)return null;var Le={onMouseEnter:P,onMouseOver:R,onMouseLeave:j,onClick:H,onKeyDown:A,onKeyUp:T},Ce=(0,N.Z)((0,N.Z)({},o),{},{open:F,prefixCls:e,placement:a,autoFocus:s,keyboard:m,width:i,mask:p,maskClosable:y,inline:k===!1,afterOpenChange:re,ref:Q},Le);return l.createElement(se.Provider,{value:Be},l.createElement(Ke.Z,{open:F||E||D,autoDestroy:!1,getContainer:k,autoLock:p&&(F||D)},l.createElement(Fe,Ce)))},We=we,ke=We,me=g(33603),Ee=g(53124),Ne=g(65223),Ue=g(4173),Oe=g(16569),Pe=g(69760),fe=n=>{const{prefixCls:o,title:v,footer:f,extra:h,closeIcon:e,closable:t,onClose:a,headerStyle:r,drawerStyle:s,bodyStyle:c,footerStyle:m,children:u}=n,i=l.useCallback(k=>l.createElement("button",{type:"button",onClick:a,"aria-label":"Close",className:`${o}-close`},k),[a]),[C,p]=(0,Pe.Z)(t,e,i,void 0,!0),b=l.useMemo(()=>!v&&!C?null:l.createElement("div",{style:r,className:d()(`${o}-header`,{[`${o}-header-close-only`]:C&&!v&&!h})},l.createElement("div",{className:`${o}-header-title`},p,v&&l.createElement("div",{className:`${o}-title`},v)),h&&l.createElement("div",{className:`${o}-extra`},h)),[C,p,h,r,o,v]),y=l.useMemo(()=>{if(!f)return null;const k=`${o}-footer`;return l.createElement("div",{className:k,style:m},f)},[f,m,o]);return l.createElement("div",{className:`${o}-wrapper-body`,style:s},b,l.createElement("div",{className:`${o}-body`,style:c},u),y)},Me=g(67968),De=g(45503),Ye=n=>{const{componentCls:o,motionDurationSlow:v}=n,f={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${v}`}}};return{[o]:{[`${o}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${v}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${o}-panel-motion`]:{"&-left":[f,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[f,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[f,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[f,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const Re=n=>{const{componentCls:o,zIndexPopup:v,colorBgMask:f,colorBgElevated:h,motionDurationSlow:e,motionDurationMid:t,padding:a,paddingLG:r,fontSizeLG:s,lineHeightLG:c,lineWidth:m,lineType:u,colorSplit:i,marginSM:C,colorIcon:p,colorIconHover:b,colorText:y,fontWeightStrong:k,footerPaddingBlock:E,footerPaddingInline:$}=n,x=`${o}-content-wrapper`;return{[o]:{position:"fixed",inset:0,zIndex:v,pointerEvents:"none","&-pure":{position:"relative",background:h,[`&${o}-left`]:{boxShadow:n.boxShadowDrawerLeft},[`&${o}-right`]:{boxShadow:n.boxShadowDrawerRight},[`&${o}-top`]:{boxShadow:n.boxShadowDrawerUp},[`&${o}-bottom`]:{boxShadow:n.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${o}-mask`]:{position:"absolute",inset:0,zIndex:v,background:f,pointerEvents:"auto"},[x]:{position:"absolute",zIndex:v,maxWidth:"100vw",transition:`all ${e}`,"&-hidden":{display:"none"}},[`&-left > ${x}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:n.boxShadowDrawerLeft},[`&-right > ${x}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:n.boxShadowDrawerRight},[`&-top > ${x}`]:{top:0,insetInline:0,boxShadow:n.boxShadowDrawerUp},[`&-bottom > ${x}`]:{bottom:0,insetInline:0,boxShadow:n.boxShadowDrawerDown},[`${o}-content`]:{width:"100%",height:"100%",overflow:"auto",background:h,pointerEvents:"auto"},[`${o}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${o}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${a}px ${r}px`,fontSize:s,lineHeight:c,borderBottom:`${m}px ${u} ${i}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${o}-extra`]:{flex:"none"},[`${o}-close`]:{display:"inline-block",marginInlineEnd:C,color:p,fontWeight:k,fontSize:s,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${t}`,textRendering:"auto","&:focus, &:hover":{color:b,textDecoration:"none"}},[`${o}-title`]:{flex:1,margin:0,color:y,fontWeight:n.fontWeightStrong,fontSize:s,lineHeight:c},[`${o}-body`]:{flex:1,minWidth:0,minHeight:0,padding:r,overflow:"auto"},[`${o}-footer`]:{flexShrink:0,padding:`${E}px ${$}px`,borderTop:`${m}px ${u} ${i}`},"&-rtl":{direction:"rtl"}}}};var ge=(0,Me.Z)("Drawer",n=>{const o=(0,De.TS)(n,{});return[Re(o),Ye(o)]},n=>({zIndexPopup:n.zIndexPopupBase,footerPaddingBlock:n.paddingXS,footerPaddingInline:n.padding})),je=function(n,o){var v={};for(var f in n)Object.prototype.hasOwnProperty.call(n,f)&&o.indexOf(f)<0&&(v[f]=n[f]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,f=Object.getOwnPropertySymbols(n);h{var o;const{rootClassName:v,width:f,height:h,size:e="default",mask:t=!0,push:a=Je,open:r,afterOpenChange:s,onClose:c,prefixCls:m,getContainer:u,style:i,className:C,visible:p,afterVisibleChange:b}=n,y=je(n,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:k,getPrefixCls:E,direction:$,drawer:x}=l.useContext(Ee.E_),P=E("drawer",m),[R,j]=ge(P),H=u===void 0&&k?()=>k(document.body):u,A=d()({"no-mask":!t,[`${P}-rtl`]:$==="rtl"},v,j),T=l.useMemo(()=>f!=null?f:e==="large"?736:378,[f,e]),K=l.useMemo(()=>h!=null?h:e==="large"?736:378,[h,e]),Z={motionName:(0,me.m)(P,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},I=oe=>({motionName:(0,me.m)(P,`panel-motion-${oe}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),D=(0,Oe.H)();return R(l.createElement(Ue.BR,null,l.createElement(Ne.Ux,{status:!0,override:!0},l.createElement(ke,Object.assign({prefixCls:P,onClose:c,maskMotion:Z,motion:I},y,{open:r!=null?r:p,mask:t,push:a,width:T,height:K,style:Object.assign(Object.assign({},x==null?void 0:x.style),i),className:d()(x==null?void 0:x.className,C),rootClassName:A,getContainer:H,afterOpenChange:s!=null?s:b,panelRef:D}),l.createElement(fe,Object.assign({prefixCls:P},y,{onClose:c}))))))},ae=n=>{const{prefixCls:o,style:v,className:f,placement:h="right"}=n,e=je(n,["prefixCls","style","className","placement"]),{getPrefixCls:t}=l.useContext(Ee.E_),a=t("drawer",o),[r,s]=ge(a),c=d()(a,`${a}-pure`,`${a}-${h}`,s,f);return r(l.createElement("div",{className:c,style:v},l.createElement(fe,Object.assign({prefixCls:a},e))))};ve._InternalPanelDoNotUseOrYouWillBeFired=ae;var Ie=ve},99559:function(_e,pe,g){g.d(pe,{Z:function(){return h}});var l=g(94184),O=g.n(l),d=g(67294),N=g(53124),X=g(98423),G=e=>{const{prefixCls:t,className:a,style:r,size:s,shape:c}=e,m=O()({[`${t}-lg`]:s==="large",[`${t}-sm`]:s==="small"}),u=O()({[`${t}-circle`]:c==="circle",[`${t}-square`]:c==="square",[`${t}-round`]:c==="round"}),i=d.useMemo(()=>typeof s=="number"?{width:s,height:s,lineHeight:`${s}px`}:{},[s]);return d.createElement("span",{className:O()(t,m,u,a),style:Object.assign(Object.assign({},i),r)})},be=g(86557),se=g(67968),le=g(45503);const ie=new be.E4("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),z=e=>({height:e,lineHeight:`${e}px`}),B=e=>Object.assign({width:e},z(e)),te=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:ie,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),ne=e=>Object.assign({width:e*5,minWidth:e*5},z(e)),$e=e=>{const{skeletonAvatarCls:t,gradientFromColor:a,controlHeight:r,controlHeightLG:s,controlHeightSM:c}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:a},B(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},B(s)),[`${t}${t}-sm`]:Object.assign({},B(c))}},ye=e=>{const{controlHeight:t,borderRadiusSM:a,skeletonInputCls:r,controlHeightLG:s,controlHeightSM:c,gradientFromColor:m}=e;return{[`${r}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:m,borderRadius:a},ne(t)),[`${r}-lg`]:Object.assign({},ne(s)),[`${r}-sm`]:Object.assign({},ne(c))}},ce=e=>Object.assign({width:e},z(e)),xe=e=>{const{skeletonImageCls:t,imageSizeBase:a,gradientFromColor:r,borderRadiusSM:s}=e;return{[`${t}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:s},ce(a*2)),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},ce(a)),{maxWidth:a*4,maxHeight:a*4}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},J=(e,t,a)=>{const{skeletonButtonCls:r}=e;return{[`${a}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${a}${r}-round`]:{borderRadius:t}}},de=e=>Object.assign({width:e*2,minWidth:e*2},z(e)),ue=e=>{const{borderRadiusSM:t,skeletonButtonCls:a,controlHeight:r,controlHeightLG:s,controlHeightSM:c,gradientFromColor:m}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${a}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:m,borderRadius:t,width:r*2,minWidth:r*2},de(r))},J(e,r,a)),{[`${a}-lg`]:Object.assign({},de(s))}),J(e,s,`${a}-lg`)),{[`${a}-sm`]:Object.assign({},de(c))}),J(e,c,`${a}-sm`))},Se=e=>{const{componentCls:t,skeletonAvatarCls:a,skeletonTitleCls:r,skeletonParagraphCls:s,skeletonButtonCls:c,skeletonInputCls:m,skeletonImageCls:u,controlHeight:i,controlHeightLG:C,controlHeightSM:p,gradientFromColor:b,padding:y,marginSM:k,borderRadius:E,titleHeight:$,blockRadius:x,paragraphLiHeight:P,controlHeightXS:R,paragraphMarginTop:j}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:y,verticalAlign:"top",[`${a}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:b},B(i)),[`${a}-circle`]:{borderRadius:"50%"},[`${a}-lg`]:Object.assign({},B(C)),[`${a}-sm`]:Object.assign({},B(p))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${r}`]:{width:"100%",height:$,background:b,borderRadius:x,[`+ ${s}`]:{marginBlockStart:p}},[`${s}`]:{padding:0,"> li":{width:"100%",height:P,listStyle:"none",background:b,borderRadius:x,"+ li":{marginBlockStart:R}}},[`${s}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${s} > li`]:{borderRadius:E}}},[`${t}-with-avatar ${t}-content`]:{[`${r}`]:{marginBlockStart:k,[`+ ${s}`]:{marginBlockStart:j}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ue(e)),$e(e)),ye(e)),xe(e)),[`${t}${t}-block`]:{width:"100%",[`${c}`]:{width:"100%"},[`${m}`]:{width:"100%"}},[`${t}${t}-active`]:{[` + ${r}, + ${s} > li, + ${a}, + ${c}, + ${m}, + ${u} + `]:Object.assign({},te(e))}}};var L=(0,se.Z)("Skeleton",e=>{const{componentCls:t}=e,a=(0,le.TS)(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:e.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[Se(a)]},e=>{const{colorFillContent:t,colorFill:a}=e,r=t,s=a;return{color:r,colorGradientEnd:s,gradientFromColor:r,gradientToColor:s,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),we=e=>{const{prefixCls:t,className:a,rootClassName:r,active:s,shape:c="circle",size:m="default"}=e,{getPrefixCls:u}=d.useContext(N.E_),i=u("skeleton",t),[C,p]=L(i),b=(0,X.Z)(e,["prefixCls","className"]),y=O()(i,`${i}-element`,{[`${i}-active`]:s},a,r,p);return C(d.createElement("div",{className:y},d.createElement(G,Object.assign({prefixCls:`${i}-avatar`,shape:c,size:m},b))))},ke=e=>{const{prefixCls:t,className:a,rootClassName:r,active:s,block:c=!1,size:m="default"}=e,{getPrefixCls:u}=d.useContext(N.E_),i=u("skeleton",t),[C,p]=L(i),b=(0,X.Z)(e,["prefixCls"]),y=O()(i,`${i}-element`,{[`${i}-active`]:s,[`${i}-block`]:c},a,r,p);return C(d.createElement("div",{className:y},d.createElement(G,Object.assign({prefixCls:`${i}-button`,size:m},b))))};const me="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Ne=e=>{const{prefixCls:t,className:a,rootClassName:r,style:s,active:c}=e,{getPrefixCls:m}=d.useContext(N.E_),u=m("skeleton",t),[i,C]=L(u),p=O()(u,`${u}-element`,{[`${u}-active`]:c},a,r,C);return i(d.createElement("div",{className:p},d.createElement("div",{className:O()(`${u}-image`,a),style:s},d.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${u}-image-svg`},d.createElement("path",{d:me,className:`${u}-image-path`})))))},Oe=e=>{const{prefixCls:t,className:a,rootClassName:r,active:s,block:c,size:m="default"}=e,{getPrefixCls:u}=d.useContext(N.E_),i=u("skeleton",t),[C,p]=L(i),b=(0,X.Z)(e,["prefixCls"]),y=O()(i,`${i}-element`,{[`${i}-active`]:s,[`${i}-block`]:c},a,r,p);return C(d.createElement("div",{className:y},d.createElement(G,Object.assign({prefixCls:`${i}-input`,size:m},b))))},Pe=g(87462),Xe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},fe=Xe,Me=g(93771),De=function(t,a){return d.createElement(Me.Z,(0,Pe.Z)({},t,{ref:a,icon:fe}))},Ge=d.forwardRef(De),Re=e=>{const{prefixCls:t,className:a,rootClassName:r,style:s,active:c,children:m}=e,{getPrefixCls:u}=d.useContext(N.E_),i=u("skeleton",t),[C,p]=L(i),b=O()(i,`${i}-element`,{[`${i}-active`]:c},p,a,r),y=m!=null?m:d.createElement(Ge,null);return C(d.createElement("div",{className:b},d.createElement("div",{className:O()(`${i}-image`,a),style:s},y)))},ge=g(74902),Ve=e=>{const t=u=>{const{width:i,rows:C=2}=e;if(Array.isArray(i))return i[u];if(C-1===u)return i},{prefixCls:a,className:r,style:s,rows:c}=e,m=(0,ge.Z)(Array(c)).map((u,i)=>d.createElement("li",{key:i,style:{width:t(i)}}));return d.createElement("ul",{className:O()(a,r),style:s},m)},ve=e=>{let{prefixCls:t,className:a,width:r,style:s}=e;return d.createElement("h3",{className:O()(t,a),style:Object.assign({width:r},s)})};function ae(e){return e&&typeof e=="object"?e:{}}function Ie(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function n(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function o(e,t){const a={};return(!e||!t)&&(a.width="61%"),!e&&t?a.rows=3:a.rows=2,a}const v=e=>{const{prefixCls:t,loading:a,className:r,rootClassName:s,style:c,children:m,avatar:u=!1,title:i=!0,paragraph:C=!0,active:p,round:b}=e,{getPrefixCls:y,direction:k,skeleton:E}=d.useContext(N.E_),$=y("skeleton",t),[x,P]=L($);if(a||!("loading"in e)){const R=!!u,j=!!i,H=!!C;let A;if(R){const Z=Object.assign(Object.assign({prefixCls:`${$}-avatar`},Ie(j,H)),ae(u));A=d.createElement("div",{className:`${$}-header`},d.createElement(G,Object.assign({},Z)))}let T;if(j||H){let Z;if(j){const D=Object.assign(Object.assign({prefixCls:`${$}-title`},n(R,H)),ae(i));Z=d.createElement(ve,Object.assign({},D))}let I;if(H){const D=Object.assign(Object.assign({prefixCls:`${$}-paragraph`},o(R,j)),ae(C));I=d.createElement(Ve,Object.assign({},D))}T=d.createElement("div",{className:`${$}-content`},Z,I)}const K=O()($,{[`${$}-with-avatar`]:R,[`${$}-active`]:p,[`${$}-rtl`]:k==="rtl",[`${$}-round`]:b},E==null?void 0:E.className,r,s,P);return x(d.createElement("div",{className:K,style:Object.assign(Object.assign({},E==null?void 0:E.style),c)},A,T))}return typeof m!="undefined"?m:null};v.Button=ke,v.Avatar=we,v.Input=Oe,v.Image=Ne,v.Node=Re;var f=v,h=f}}]); diff --git a/3747.58d7269f.async.js b/3747.58d7269f.async.js new file mode 100644 index 0000000000..538e1b773c --- /dev/null +++ b/3747.58d7269f.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[3747],{63747:function(u,o,e){e.r(o),e.d(o,{less:function(){return h},lessCompletionSource:function(){return $},lessLanguage:function(){return t}});var a=e(59119),y=e(48120),l=e(53105),O=e(35524);const P=110,i=1,X=2,n=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function S(T){return T>=65&&T<=90||T>=97&&T<=122||T>=161}function c(T){return T>=48&&T<=57}const m=new l.Jq((T,Q)=>{if(T.next==40){let r=T.peek(-1);(S(r)||c(r)||r==95||r==45)&&T.acceptToken(X,1)}}),p=new l.Jq(T=>{if(n.indexOf(T.peek(-1))>-1){let{next:Q}=T;(S(Q)||Q==95||Q==35||Q==46||Q==91||Q==58||Q==45)&&T.acceptToken(P)}}),f=new l.Jq(T=>{if(n.indexOf(T.peek(-1))<0){let{next:Q}=T;if(Q==37&&(T.advance(),T.acceptToken(i)),S(Q)){do T.advance();while(S(T.next));T.acceptToken(i)}}}),s=(0,O.Gv)({"import charset namespace keyframes media supports when":O.pJ.definitionKeyword,"from to selector":O.pJ.keyword,NamespaceName:O.pJ.namespace,KeyframeName:O.pJ.labelName,TagName:O.pJ.tagName,ClassName:O.pJ.className,PseudoClassName:O.pJ.constant(O.pJ.className),IdName:O.pJ.labelName,"FeatureName PropertyName PropertyVariable":O.pJ.propertyName,AttributeName:O.pJ.attributeName,NumberLiteral:O.pJ.number,KeywordQuery:O.pJ.keyword,UnaryQueryOp:O.pJ.operatorKeyword,"CallTag ValueName":O.pJ.atom,VariableName:O.pJ.variableName,"AtKeyword Interpolation":O.pJ.special(O.pJ.variableName),Callee:O.pJ.operatorKeyword,Unit:O.pJ.unit,"UniversalSelector NestingSelector":O.pJ.definitionOperator,MatchOp:O.pJ.compareOperator,"ChildOp SiblingOp, LogicOp":O.pJ.logicOperator,BinOp:O.pJ.arithmeticOperator,Important:O.pJ.modifier,"Comment LineComment":O.pJ.blockComment,ColorLiteral:O.pJ.color,"ParenthesizedContent StringLiteral":O.pJ.string,Escape:O.pJ.special(O.pJ.string),": ...":O.pJ.punctuation,"PseudoOp #":O.pJ.derefOperator,"; ,":O.pJ.separator,"( )":O.pJ.paren,"[ ]":O.pJ.squareBracket,"{ }":O.pJ.brace}),W={__proto__:null,lang:40,"nth-child":40,"nth-last-child":40,"nth-of-type":40,"nth-last-of-type":40,dir:40,"host-context":40,and:244,or:244,not:74,only:74,url:86,"url-prefix":86,domain:86,regexp:86,when:117,selector:142,from:172,to:174},d={__proto__:null,"@import":126,"@plugin":126,"@media":152,"@charset":156,"@namespace":160,"@keyframes":166,"@supports":178},Z=l.WQ.deserialize({version:14,states:"@^O!gQWOOO!nQaO'#CeOOQP'#Cd'#CdO$RQWO'#CgO$xQaO'#EaO%cQWO'#CiO%kQWO'#DZO%pQWO'#D^O%uQaO'#DfOOQP'#Es'#EsO'YQWO'#DlO'yQWO'#DyO(QQWO'#D{O(xQWO'#D}O)TQWO'#EQO'bQWO'#EWO)YQ`O'#FTO)]Q`O'#FTO)hQ`O'#FTO)vQWO'#EYOOQO'#Er'#ErOOQO'#FV'#FVOOQO'#Ec'#EcO){QWO'#EqO*WQWO'#EqQOQWOOOOQP'#Ch'#ChOOQP,59R,59RO$RQWO,59RO*bQWO'#EdO+PQWO,58|O+_QWO,59TO%kQWO,59uO%pQWO,59xO*bQWO,59{O*bQWO,59}OOQO'#De'#DeO*bQWO,5:OO,bQpO'#E}O,iQWO'#DkOOQO,58|,58|O(QQWO,58|O,pQWO,5:{OOQO,5:{,5:{OOQT'#Cl'#ClO-UQeO,59TO.cQ[O,59TOOQP'#D]'#D]OOQP,59u,59uOOQO'#D_'#D_O.hQpO,59xOOQO'#EZ'#EZO.pQ`O,5;oOOQO,5;o,5;oO/OQWO,5:WO/VQWO,5:WOOQS'#Dn'#DnO/rQWO'#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topRules:{StyleSheet:[0,5]},specialized:[{term:116,get:T=>W[T]||-1},{term:23,get:T=>d[T]||-1}],tokenPrec:2180}),t=a.qp.define({name:"less",parser:Z.configure({props:[a.uj.add({Declaration:(0,a.tC)()}),a.x0.add({Block:a.Dv})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"@-"}}),$=(0,y.defineCSSCompletionSource)(T=>T.name=="VariableName"||T.name=="AtKeyword");function h(){return new a.ri(t,t.data.of({autocomplete:$}))}}}]); diff --git a/3863.30b7f165.async.js b/3863.30b7f165.async.js new file mode 100644 index 0000000000..b13b4c8e7f --- /dev/null +++ b/3863.30b7f165.async.js @@ -0,0 +1,29 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[3863],{88258:function(vn,_e,u){var o=u(67294),xe=u(53124),p=u(32983);const ee=W=>{const{componentName:ue}=W,{getPrefixCls:a}=(0,o.useContext)(xe.E_),Ce=a("empty");switch(ue){case"Table":case"List":return o.createElement(p.Z,{image:p.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return o.createElement(p.Z,{image:p.Z.PRESENTED_IMAGE_SIMPLE,className:`${Ce}-small`});default:return o.createElement(p.Z,null)}};_e.Z=ee},32983:function(vn,_e,u){u.d(_e,{Z:function(){return Kt}});var o=u(94184),xe=u.n(o),p=u(67294),ee=u(53124),W=u(10110),ue=u(10274),a=u(29691),rt=()=>{const[,me]=(0,a.Z)(),n=new ue.C(me.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return p.createElement("svg",{style:n,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},p.createElement("g",{fill:"none",fillRule:"evenodd"},p.createElement("g",{transform:"translate(24 31.67)"},p.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),p.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),p.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),p.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),p.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),p.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),p.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},p.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),p.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},ft=()=>{const[,me]=(0,a.Z)(),{colorFill:Pe,colorFillTertiary:n,colorFillQuaternary:s,colorBgContainer:i}=me,{borderColor:E,shadowColor:X,contentColor:Ie}=(0,p.useMemo)(()=>({borderColor:new ue.C(Pe).onBackground(i).toHexShortString(),shadowColor:new ue.C(n).onBackground(i).toHexShortString(),contentColor:new ue.C(s).onBackground(i).toHexShortString()}),[Pe,n,s,i]);return p.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},p.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},p.createElement("ellipse",{fill:X,cx:"32",cy:"33",rx:"32",ry:"7"}),p.createElement("g",{fillRule:"nonzero",stroke:E},p.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),p.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:Ie}))))},gt=u(67968),rn=u(45503);const Ge=me=>{const{componentCls:Pe,margin:n,marginXS:s,marginXL:i,fontSize:E,lineHeight:X}=me;return{[Pe]:{marginInline:s,fontSize:E,lineHeight:X,textAlign:"center",[`${Pe}-image`]:{height:me.emptyImgHeight,marginBottom:s,opacity:me.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${Pe}-description`]:{color:me.colorText},[`${Pe}-footer`]:{marginTop:n},"&-normal":{marginBlock:i,color:me.colorTextDisabled,[`${Pe}-description`]:{color:me.colorTextDisabled},[`${Pe}-image`]:{height:me.emptyImgHeightMD}},"&-small":{marginBlock:s,color:me.colorTextDisabled,[`${Pe}-image`]:{height:me.emptyImgHeightSM}}}}};var Z=(0,gt.Z)("Empty",me=>{const{componentCls:Pe,controlHeightLG:n}=me,s=(0,rn.TS)(me,{emptyImgCls:`${Pe}-img`,emptyImgHeight:n*2.5,emptyImgHeightMD:n,emptyImgHeightSM:n*.875});return[Ge(s)]}),Pt=function(me,Pe){var n={};for(var s in me)Object.prototype.hasOwnProperty.call(me,s)&&Pe.indexOf(s)<0&&(n[s]=me[s]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,s=Object.getOwnPropertySymbols(me);i{var{className:Pe,rootClassName:n,prefixCls:s,image:i=$t,description:E,children:X,imageStyle:Ie,style:Be}=me,Le=Pt(me,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:Mn,direction:On,empty:It}=p.useContext(ee.E_),ht=Mn("empty",s),[an,mn]=Z(ht),[ln]=(0,W.Z)("Empty"),jt=typeof E!="undefined"?E:ln==null?void 0:ln.description,Nn=typeof jt=="string"?jt:"empty";let gn=null;return typeof i=="string"?gn=p.createElement("img",{alt:Nn,src:i}):gn=i,an(p.createElement("div",Object.assign({className:xe()(mn,ht,It==null?void 0:It.className,{[`${ht}-normal`]:i===vt,[`${ht}-rtl`]:On==="rtl"},Pe,n),style:Object.assign(Object.assign({},It==null?void 0:It.style),Be)},Le),p.createElement("div",{className:`${ht}-image`,style:Ie},gn),jt&&p.createElement("div",{className:`${ht}-description`},jt),X&&p.createElement("div",{className:`${ht}-footer`},X)))};Tt.PRESENTED_IMAGE_DEFAULT=$t,Tt.PRESENTED_IMAGE_SIMPLE=vt;var Kt=Tt},83863:function(vn,_e,u){u.d(_e,{default:function(){return Yn}});var o=u(67294),xe=u(94184),p=u.n(xe),ee=u(87462),W=u(74902),ue=u(4942),a=u(1413),Ce=u(97685),rt=u(91),ze=u(71002),ft=u(21770),gt=u(80334),rn=u(8410),Ge=u(31131),Z=u(15105),Pt=u(42550),$t=function(e){var l=e.className,r=e.customizeIcon,f=e.customizeIconProps,d=e.onMouseDown,h=e.onClick,S=e.children,I;return typeof r=="function"?I=r(f):I=r,o.createElement("span",{className:l,onMouseDown:function(O){O.preventDefault(),d&&d(O)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:h,"aria-hidden":!0},I!==void 0?I:o.createElement("span",{className:p()(l.split(/\s+/).map(function(D){return"".concat(D,"-icon")}))},S))},vt=$t;function Tt(t,e,l,r,f){var d=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,h=arguments.length>6?arguments[6]:void 0,S=arguments.length>7?arguments[7]:void 0,I=o.useMemo(function(){if((0,ze.Z)(r)==="object")return r.clearIcon;if(f)return f},[r,f]),D=o.useMemo(function(){return!!(!d&&r&&(l.length||h)&&!(S==="combobox"&&h===""))},[r,d,l.length,h,S]);return{allowClear:D,clearIcon:o.createElement(vt,{className:"".concat(t,"-clear"),onMouseDown:e,customizeIcon:I},"\xD7")}}var Kt=o.createContext(null);function me(){return o.useContext(Kt)}function Pe(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,e=o.useState(!1),l=(0,Ce.Z)(e,2),r=l[0],f=l[1],d=o.useRef(null),h=function(){window.clearTimeout(d.current)};o.useEffect(function(){return h},[]);var S=function(D,O){h(),d.current=window.setTimeout(function(){f(D),O&&O()},t)};return[r,S,h]}function n(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,e=o.useRef(null),l=o.useRef(null);o.useEffect(function(){return function(){window.clearTimeout(l.current)}},[]);function r(f){(f||e.current===null)&&(e.current=f),window.clearTimeout(l.current),l.current=window.setTimeout(function(){e.current=null},t)}return[function(){return e.current},r]}function s(t,e,l,r){var f=o.useRef(null);f.current={open:e,triggerOpen:l,customizedTrigger:r},o.useEffect(function(){function d(h){var S;if(!((S=f.current)!==null&&S!==void 0&&S.customizedTrigger)){var I=h.target;I.shadowRoot&&h.composed&&(I=h.composedPath()[0]||I),f.current.open&&t().filter(function(D){return D}).every(function(D){return!D.contains(I)&&D!==I})&&f.current.triggerOpen(!1)}}return window.addEventListener("mousedown",d),function(){return window.removeEventListener("mousedown",d)}},[])}var i=u(64217),E=u(39983),X=function(e,l){var r,f,d=e.prefixCls,h=e.id,S=e.inputElement,I=e.disabled,D=e.tabIndex,O=e.autoFocus,y=e.autoComplete,H=e.editable,g=e.activeDescendantId,P=e.value,se=e.maxLength,he=e.onKeyDown,q=e.onMouseDown,ae=e.onChange,de=e.onPaste,De=e.onCompositionStart,ie=e.onCompositionEnd,z=e.open,v=e.attrs,m=S||o.createElement("input",null),C=m,M=C.ref,le=C.props,Fe=le.onKeyDown,we=le.onChange,pe=le.onMouseDown,Se=le.onCompositionStart,V=le.onCompositionEnd,F=le.style;return(0,gt.Kp)(!("maxLength"in m.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),m=o.cloneElement(m,(0,a.Z)((0,a.Z)((0,a.Z)({type:"search"},le),{},{id:h,ref:(0,Pt.sQ)(l,M),disabled:I,tabIndex:D,autoComplete:y||"off",autoFocus:O,className:p()("".concat(d,"-selection-search-input"),(r=m)===null||r===void 0||(f=r.props)===null||f===void 0?void 0:f.className),role:"combobox","aria-label":"Search","aria-expanded":z||!1,"aria-haspopup":"listbox","aria-owns":"".concat(h,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(h,"_list"),"aria-activedescendant":z?g:void 0},v),{},{value:H?P:"",maxLength:se,readOnly:!H,unselectable:H?null:"on",style:(0,a.Z)((0,a.Z)({},F),{},{opacity:H?null:0}),onKeyDown:function(ve){he(ve),Fe&&Fe(ve)},onMouseDown:function(ve){q(ve),pe&&pe(ve)},onChange:function(ve){ae(ve),we&&we(ve)},onCompositionStart:function(ve){De(ve),Se&&Se(ve)},onCompositionEnd:function(ve){ie(ve),V&&V(ve)},onPaste:de})),m},Ie=o.forwardRef(X);Ie.displayName="Input";var Be=Ie;function Le(t){return Array.isArray(t)?t:t!==void 0?[t]:[]}var Mn=typeof window!="undefined"&&window.document&&window.document.documentElement,On=Mn;function It(t){return t!=null}function ht(t){return!t&&t!==0}function an(t){return["string","number"].includes((0,ze.Z)(t))}function mn(t){var e=void 0;return t&&(an(t.title)?e=t.title.toString():an(t.label)&&(e=t.label.toString())),e}function ln(t,e){On?o.useLayoutEffect(t,e):o.useEffect(t,e)}function jt(t){var e;return(e=t.key)!==null&&e!==void 0?e:t.value}var Nn=function(e){e.preventDefault(),e.stopPropagation()},gn=function(e){var l=e.id,r=e.prefixCls,f=e.values,d=e.open,h=e.searchValue,S=e.autoClearSearchValue,I=e.inputRef,D=e.placeholder,O=e.disabled,y=e.mode,H=e.showSearch,g=e.autoFocus,P=e.autoComplete,se=e.activeDescendantId,he=e.tabIndex,q=e.removeIcon,ae=e.maxTagCount,de=e.maxTagTextLength,De=e.maxTagPlaceholder,ie=De===void 0?function(re){return"+ ".concat(re.length," ...")}:De,z=e.tagRender,v=e.onToggleOpen,m=e.onRemove,C=e.onInputChange,M=e.onInputPaste,le=e.onInputKeyDown,Fe=e.onInputMouseDown,we=e.onInputCompositionStart,pe=e.onInputCompositionEnd,Se=o.useRef(null),V=(0,o.useState)(0),F=(0,Ce.Z)(V,2),J=F[0],ve=F[1],Mt=(0,o.useState)(!1),qe=(0,Ce.Z)(Mt,2),Xe=qe[0],St=qe[1],Re="".concat(r,"-selection"),bt=d||y==="multiple"&&S===!1||y==="tags"?h:"",Ft=y==="tags"||y==="multiple"&&S===!1||H&&(d||Xe);ln(function(){ve(Se.current.scrollWidth)},[bt]);function Y(re,$e,We,Qe,ct){return o.createElement("span",{className:p()("".concat(Re,"-item"),(0,ue.Z)({},"".concat(Re,"-item-disabled"),We)),title:mn(re)},o.createElement("span",{className:"".concat(Re,"-item-content")},$e),Qe&&o.createElement(vt,{className:"".concat(Re,"-item-remove"),onMouseDown:Nn,onClick:ct,customizeIcon:q},"\xD7"))}function R(re,$e,We,Qe,ct){var et=function(tt){Nn(tt),v(!d)};return o.createElement("span",{onMouseDown:et},z({label:$e,value:re,disabled:We,closable:Qe,onClose:ct}))}function te(re){var $e=re.disabled,We=re.label,Qe=re.value,ct=!O&&!$e,et=We;if(typeof de=="number"&&(typeof We=="string"||typeof We=="number")){var Je=String(et);Je.length>de&&(et="".concat(Je.slice(0,de),"..."))}var tt=function(At){At&&At.stopPropagation(),m(re)};return typeof z=="function"?R(Qe,et,$e,ct,tt):Y(re,et,$e,ct,tt)}function Me(re){var $e=typeof ie=="function"?ie(re):ie;return Y({title:$e},$e,!1)}var Ee=o.createElement("div",{className:"".concat(Re,"-search"),style:{width:J},onFocus:function(){St(!0)},onBlur:function(){St(!1)}},o.createElement(Be,{ref:I,open:d,prefixCls:r,id:l,inputElement:null,disabled:O,autoFocus:g,autoComplete:P,editable:Ft,activeDescendantId:se,value:bt,onKeyDown:le,onMouseDown:Fe,onChange:C,onPaste:M,onCompositionStart:we,onCompositionEnd:pe,tabIndex:he,attrs:(0,i.Z)(e,!0)}),o.createElement("span",{ref:Se,className:"".concat(Re,"-search-mirror"),"aria-hidden":!0},bt,"\xA0")),ye=o.createElement(E.Z,{prefixCls:"".concat(Re,"-overflow"),data:f,renderItem:te,renderRest:Me,suffix:Ee,itemKey:jt,maxCount:ae});return o.createElement(o.Fragment,null,ye,!f.length&&!bt&&o.createElement("span",{className:"".concat(Re,"-placeholder")},D))},uo=gn,co=function(e){var l=e.inputElement,r=e.prefixCls,f=e.id,d=e.inputRef,h=e.disabled,S=e.autoFocus,I=e.autoComplete,D=e.activeDescendantId,O=e.mode,y=e.open,H=e.values,g=e.placeholder,P=e.tabIndex,se=e.showSearch,he=e.searchValue,q=e.activeValue,ae=e.maxLength,de=e.onInputKeyDown,De=e.onInputMouseDown,ie=e.onInputChange,z=e.onInputPaste,v=e.onInputCompositionStart,m=e.onInputCompositionEnd,C=e.title,M=o.useState(!1),le=(0,Ce.Z)(M,2),Fe=le[0],we=le[1],pe=O==="combobox",Se=pe||se,V=H[0],F=he||"";pe&&q&&!Fe&&(F=q),o.useEffect(function(){pe&&we(!1)},[pe,q]);var J=O!=="combobox"&&!y&&!se?!1:!!F,ve=C===void 0?mn(V):C,Mt=function(){if(V)return null;var Xe=J?{visibility:"hidden"}:void 0;return o.createElement("span",{className:"".concat(r,"-selection-placeholder"),style:Xe},g)};return o.createElement(o.Fragment,null,o.createElement("span",{className:"".concat(r,"-selection-search")},o.createElement(Be,{ref:d,prefixCls:r,id:f,open:y,inputElement:l,disabled:h,autoFocus:S,autoComplete:I,editable:Se,activeDescendantId:D,value:F,onKeyDown:de,onMouseDown:De,onChange:function(Xe){we(!0),ie(Xe)},onPaste:z,onCompositionStart:v,onCompositionEnd:m,tabIndex:P,attrs:(0,i.Z)(e,!0),maxLength:pe?ae:void 0})),!pe&&V?o.createElement("span",{className:"".concat(r,"-selection-item"),title:ve,style:J?{visibility:"hidden"}:void 0},V.label):null,Mt())},so=co;function fo(t){return![Z.Z.ESC,Z.Z.SHIFT,Z.Z.BACKSPACE,Z.Z.TAB,Z.Z.WIN_KEY,Z.Z.ALT,Z.Z.META,Z.Z.WIN_KEY_RIGHT,Z.Z.CTRL,Z.Z.SEMICOLON,Z.Z.EQUALS,Z.Z.CAPS_LOCK,Z.Z.CONTEXT_MENU,Z.Z.F1,Z.Z.F2,Z.Z.F3,Z.Z.F4,Z.Z.F5,Z.Z.F6,Z.Z.F7,Z.Z.F8,Z.Z.F9,Z.Z.F10,Z.Z.F11,Z.Z.F12].includes(t)}var vo=function(e,l){var r=(0,o.useRef)(null),f=(0,o.useRef)(!1),d=e.prefixCls,h=e.open,S=e.mode,I=e.showSearch,D=e.tokenWithEnter,O=e.autoClearSearchValue,y=e.onSearch,H=e.onSearchSubmit,g=e.onToggleOpen,P=e.onInputKeyDown,se=e.domRef;o.useImperativeHandle(l,function(){return{focus:function(){r.current.focus()},blur:function(){r.current.blur()}}});var he=n(0),q=(0,Ce.Z)(he,2),ae=q[0],de=q[1],De=function(F){var J=F.which;(J===Z.Z.UP||J===Z.Z.DOWN)&&F.preventDefault(),P&&P(F),J===Z.Z.ENTER&&S==="tags"&&!f.current&&!h&&(H==null||H(F.target.value)),fo(J)&&g(!0)},ie=function(){de(!0)},z=(0,o.useRef)(null),v=function(F){y(F,!0,f.current)!==!1&&g(!0)},m=function(){f.current=!0},C=function(F){f.current=!1,S!=="combobox"&&v(F.target.value)},M=function(F){var J=F.target.value;if(D&&z.current&&/[\r\n]/.test(z.current)){var ve=z.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");J=J.replace(ve,z.current)}z.current=null,v(J)},le=function(F){var J=F.clipboardData,ve=J.getData("text");z.current=ve},Fe=function(F){var J=F.target;if(J!==r.current){var ve=document.body.style.msTouchAction!==void 0;ve?setTimeout(function(){r.current.focus()}):r.current.focus()}},we=function(F){var J=ae();F.target!==r.current&&!J&&S!=="combobox"&&F.preventDefault(),(S!=="combobox"&&(!I||!J)||!h)&&(h&&O!==!1&&y("",!0,!1),g())},pe={inputRef:r,onInputKeyDown:De,onInputMouseDown:ie,onInputChange:M,onInputPaste:le,onInputCompositionStart:m,onInputCompositionEnd:C},Se=S==="multiple"||S==="tags"?o.createElement(uo,(0,ee.Z)({},e,pe)):o.createElement(so,(0,ee.Z)({},e,pe));return o.createElement("div",{ref:se,className:"".concat(d,"-selector"),onClick:Fe,onMouseDown:we},Se)},Kn=o.forwardRef(vo);Kn.displayName="Selector";var mo=Kn,go=u(40228),c=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],K=function(e){var l=e===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:l,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:l,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:l,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:l,adjustY:1},htmlRegion:"scroll"}}},b=function(e,l){var r=e.prefixCls,f=e.disabled,d=e.visible,h=e.children,S=e.popupElement,I=e.animation,D=e.transitionName,O=e.dropdownStyle,y=e.dropdownClassName,H=e.direction,g=H===void 0?"ltr":H,P=e.placement,se=e.builtinPlacements,he=e.dropdownMatchSelectWidth,q=e.dropdownRender,ae=e.dropdownAlign,de=e.getPopupContainer,De=e.empty,ie=e.getTriggerDOMNode,z=e.onPopupVisibleChange,v=e.onPopupMouseEnter,m=(0,rt.Z)(e,c),C="".concat(r,"-dropdown"),M=S;q&&(M=q(S));var le=o.useMemo(function(){return se||K(he)},[se,he]),Fe=I?"".concat(C,"-").concat(I):D,we=typeof he=="number",pe=o.useMemo(function(){return we?null:he===!1?"minWidth":"width"},[he,we]),Se=O;we&&(Se=(0,a.Z)((0,a.Z)({},Se),{},{width:he}));var V=o.useRef(null);return o.useImperativeHandle(l,function(){return{getPopupElement:function(){return V.current}}}),o.createElement(go.Z,(0,ee.Z)({},m,{showAction:z?["click"]:[],hideAction:z?["click"]:[],popupPlacement:P||(g==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:le,prefixCls:C,popupTransitionName:Fe,popup:o.createElement("div",{ref:V,onMouseEnter:v},M),stretch:pe,popupAlign:ae,popupVisible:d,getPopupContainer:de,popupClassName:p()(y,(0,ue.Z)({},"".concat(C,"-empty"),De)),popupStyle:Se,getTriggerDOMNode:ie,onPopupVisibleChange:z}),h)},$=o.forwardRef(b);$.displayName="SelectTrigger";var k=$,x=u(84506);function A(t,e){var l=t.key,r;return"value"in t&&(r=t.value),l!=null?l:r!==void 0?r:"rc-index-key-".concat(e)}function G(t,e){var l=t||{},r=l.label,f=l.value,d=l.options,h=l.groupLabel,S=r||(e?"children":"label");return{label:S,value:f||"value",options:d||"options",groupLabel:h||S}}function ce(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=e.fieldNames,r=e.childrenAsData,f=[],d=G(l,!1),h=d.label,S=d.value,I=d.options,D=d.groupLabel;function O(y,H){y.forEach(function(g){if(H||!(I in g)){var P=g[S];f.push({key:A(g,f.length),groupOption:H,data:g,label:g[h],value:P})}else{var se=g[D];se===void 0&&r&&(se=g.label),f.push({key:A(g,f.length),group:!0,data:g,label:se}),O(g[I],!0)}})}return O(t,!1),f}function Oe(t){var e=(0,a.Z)({},t);return"props"in e||Object.defineProperty(e,"props",{get:function(){return(0,gt.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),e}}),e}function ne(t,e){if(!e||!e.length)return null;var l=!1;function r(d,h){var S=(0,x.Z)(h),I=S[0],D=S.slice(1);if(!I)return[d];var O=d.split(I);return l=l||O.length>1,O.reduce(function(y,H){return[].concat((0,W.Z)(y),(0,W.Z)(r(H,D)))},[]).filter(function(y){return y})}var f=r(t,e);return l?f:null}var T=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],U=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function L(t){return t==="tags"||t==="multiple"}var ge=o.forwardRef(function(t,e){var l,r,f=t.id,d=t.prefixCls,h=t.className,S=t.showSearch,I=t.tagRender,D=t.direction,O=t.omitDomProps,y=t.displayValues,H=t.onDisplayValuesChange,g=t.emptyOptions,P=t.notFoundContent,se=P===void 0?"Not Found":P,he=t.onClear,q=t.mode,ae=t.disabled,de=t.loading,De=t.getInputElement,ie=t.getRawInputElement,z=t.open,v=t.defaultOpen,m=t.onDropdownVisibleChange,C=t.activeValue,M=t.onActiveValueChange,le=t.activeDescendantId,Fe=t.searchValue,we=t.autoClearSearchValue,pe=t.onSearch,Se=t.onSearchSplit,V=t.tokenSeparators,F=t.allowClear,J=t.suffixIcon,ve=t.clearIcon,Mt=t.OptionList,qe=t.animation,Xe=t.transitionName,St=t.dropdownStyle,Re=t.dropdownClassName,bt=t.dropdownMatchSelectWidth,Ft=t.dropdownRender,Y=t.dropdownAlign,R=t.placement,te=t.builtinPlacements,Me=t.getPopupContainer,Ee=t.showAction,ye=Ee===void 0?[]:Ee,re=t.onFocus,$e=t.onBlur,We=t.onKeyUp,Qe=t.onKeyDown,ct=t.onMouseDown,et=(0,rt.Z)(t,T),Je=L(q),tt=(S!==void 0?S:Je)||q==="combobox",Ae=(0,a.Z)({},et);U.forEach(function(fe){delete Ae[fe]}),O==null||O.forEach(function(fe){delete Ae[fe]});var At=o.useState(!1),In=(0,Ce.Z)(At,2),kt=In[0],mt=In[1];o.useEffect(function(){mt((0,Ge.Z)())},[]);var nt=o.useRef(null),st=o.useRef(null),Bt=o.useRef(null),qt=o.useRef(null),yt=o.useRef(null),en=Pe(),Tn=(0,Ce.Z)(en,3),Vn=Tn[0],Qn=Tn[1],Fn=Tn[2];o.useImperativeHandle(e,function(){var fe,_;return{focus:(fe=qt.current)===null||fe===void 0?void 0:fe.focus,blur:(_=qt.current)===null||_===void 0?void 0:_.blur,scrollTo:function(Ct){var Ke;return(Ke=yt.current)===null||Ke===void 0?void 0:Ke.scrollTo(Ct)}}});var tn=o.useMemo(function(){var fe;if(q!=="combobox")return Fe;var _=(fe=y[0])===null||fe===void 0?void 0:fe.value;return typeof _=="string"||typeof _=="number"?String(_):""},[Fe,q,y]),Jn=q==="combobox"&&typeof De=="function"&&De()||null,nn=typeof ie=="function"&&ie(),yo=(0,Pt.x1)(st,nn==null||(l=nn.props)===null||l===void 0?void 0:l.ref),oo=o.useState(!1),_n=(0,Ce.Z)(oo,2),An=_n[0],ro=_n[1];(0,rn.Z)(function(){ro(!0)},[]);var Co=(0,ft.Z)(!1,{defaultValue:v,value:z}),ao=(0,Ce.Z)(Co,2),io=ao[0],kn=ao[1],w=An?io:!1,j=!se&&g;(ae||j&&w&&q==="combobox")&&(w=!1);var N=j?!1:w,B=o.useCallback(function(fe){var _=fe!==void 0?fe:!w;ae||(kn(_),w!==_&&(m==null||m(_)))},[ae,w,kn,m]),Te=o.useMemo(function(){return(V||[]).some(function(fe){return[` +`,`\r +`].includes(fe)})},[V]),Ne=function(_,dt,Ct){var Ke=!0,Ot=_;M==null||M(null);var Wt=Ct?null:ne(_,V);return q!=="combobox"&&Wt&&(Ot="",Se==null||Se(Wt),B(!1),Ke=!1),pe&&tn!==Ot&&pe(Ot,{source:dt?"typing":"effect"}),Ke},dn=function(_){!_||!_.trim()||pe(_,{source:"submit"})};o.useEffect(function(){!w&&!Je&&q!=="combobox"&&Ne("",!1,!1)},[w]),o.useEffect(function(){io&&ae&&kn(!1),ae&&Qn(!1)},[ae]);var on=n(),wn=(0,Ce.Z)(on,2),ot=wn[0],En=wn[1],lo=function(_){var dt=ot(),Ct=_.which;if(Ct===Z.Z.ENTER&&(q!=="combobox"&&_.preventDefault(),w||B(!0)),En(!!tn),Ct===Z.Z.BACKSPACE&&!dt&&Je&&!tn&&y.length){for(var Ke=(0,W.Z)(y),Ot=null,Wt=Ke.length-1;Wt>=0;Wt-=1){var qn=Ke[Wt];if(!qn.disabled){Ke.splice(Wt,1),Ot=qn;break}}Ot&&H(Ke,{type:"remove",values:[Ot]})}for(var xn=arguments.length,Wn=new Array(xn>1?xn-1:0),Rn=1;Rn1?dt-1:0),Ke=1;Ke1?Wt-1:0),xn=1;xn1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Lt.Z)(t).map(function(l,r){if(!o.isValidElement(l)||!l.type)return null;var f=l,d=f.type.isSelectOptGroup,h=f.key,S=f.props,I=S.children,D=(0,rt.Z)(S,Et);return e||!d?lt(l):(0,a.Z)((0,a.Z)({key:"__RC_SELECT_GRP__".concat(h===null?r:h,"__"),label:h},D),{},{options:Ut(I)})}).filter(function(l){return l})}function Ve(t,e,l,r,f){return o.useMemo(function(){var d=t,h=!t;h&&(d=Ut(e));var S=new Map,I=new Map,D=function(H,g,P){P&&typeof P=="string"&&H.set(g[P],g)};function O(y){for(var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,g=0;g1&&arguments[1]!==void 0?arguments[1]:1,Me=M.length,Ee=0;Ee1&&arguments[1]!==void 0?arguments[1]:!1;J(R);var Me={source:te?"keyboard":"mouse"},Ee=M[R];if(!Ee){se(null,-1,Me);return}se(Ee.value,R,Me)};(0,o.useEffect)(function(){ve(he!==!1?pe(0):-1)},[M.length,D]);var Mt=o.useCallback(function(Y){return de.has(Y)&&I!=="combobox"},[I,(0,W.Z)(de).toString(),de.size]);(0,o.useEffect)(function(){var Y=setTimeout(function(){if(!S&&h&&de.size===1){var te=Array.from(de)[0],Me=M.findIndex(function(Ee){var ye=Ee.data;return ye.value===te});Me!==-1&&(ve(Me),we(Me))}});if(h){var R;(R=le.current)===null||R===void 0||R.scrollTo(void 0)}return function(){return clearTimeout(Y)}},[h,D,P.length]);var qe=function(R){R!==void 0&&q(R,{selected:!de.has(R)}),S||O(!1)};if(o.useImperativeHandle(l,function(){return{onKeyDown:function(R){var te=R.which,Me=R.ctrlKey;switch(te){case Z.Z.N:case Z.Z.P:case Z.Z.UP:case Z.Z.DOWN:{var Ee=0;if(te===Z.Z.UP?Ee=-1:te===Z.Z.DOWN?Ee=1:jn()&&Me&&(te===Z.Z.N?Ee=1:te===Z.Z.P&&(Ee=-1)),Ee!==0){var ye=pe(F+Ee,Ee);we(ye),ve(ye,!0)}break}case Z.Z.ENTER:{var re=M[F];re&&!re.data.disabled?qe(re.value):qe(void 0),h&&R.preventDefault();break}case Z.Z.ESC:O(!1),h&&R.stopPropagation()}},onKeyUp:function(){},scrollTo:function(R){we(R)}}}),M.length===0)return o.createElement("div",{role:"listbox",id:"".concat(d,"_list"),className:"".concat(C,"-empty"),onMouseDown:Fe},y);var Xe=Object.keys(De).map(function(Y){return De[Y]}),St=function(R){return R.label};function Re(Y,R){var te=Y.group;return{role:te?"presentation":"option",id:"".concat(d,"_list_").concat(R)}}var bt=function(R){var te=M[R];if(!te)return null;var Me=te.data||{},Ee=Me.value,ye=te.group,re=(0,i.Z)(Me,!0),$e=St(te);return te?o.createElement("div",(0,ee.Z)({"aria-label":typeof $e=="string"&&!ye?$e:null},re,{key:R},Re(te,R),{"aria-selected":Mt(Ee)}),Ee):null},Ft={role:"listbox",id:"".concat(d,"_list")};return o.createElement(o.Fragment,null,ie&&o.createElement("div",(0,ee.Z)({},Ft,{style:{height:0,width:0,overflow:"hidden"}}),bt(F-1),bt(F),bt(F+1)),o.createElement(hn.Z,{itemKey:"key",ref:le,data:M,height:v,itemHeight:m,fullHeight:!1,onMouseDown:Fe,onScroll:H,virtual:ie,direction:z,innerProps:ie?null:Ft},function(Y,R){var te,Me=Y.group,Ee=Y.groupOption,ye=Y.data,re=Y.label,$e=Y.value,We=ye.key;if(Me){var Qe,ct=(Qe=ye.title)!==null&&Qe!==void 0?Qe:Sn(re)?re.toString():void 0;return o.createElement("div",{className:p()(C,"".concat(C,"-group")),title:ct},re!==void 0?re:We)}var et=ye.disabled,Je=ye.title,tt=ye.children,Ae=ye.style,At=ye.className,In=(0,rt.Z)(ye,pn),kt=(0,Yt.Z)(In,Xe),mt=Mt($e),nt="".concat(C,"-option"),st=p()(C,nt,At,(te={},(0,ue.Z)(te,"".concat(nt,"-grouped"),Ee),(0,ue.Z)(te,"".concat(nt,"-active"),F===R&&!et),(0,ue.Z)(te,"".concat(nt,"-disabled"),et),(0,ue.Z)(te,"".concat(nt,"-selected"),mt),te)),Bt=St(Y),qt=!ae||typeof ae=="function"||mt,yt=typeof Bt=="number"?Bt:Bt||$e,en=Sn(yt)?yt.toString():void 0;return Je!==void 0&&(en=Je),o.createElement("div",(0,ee.Z)({},(0,i.Z)(kt),ie?{}:Re(Y,R),{"aria-selected":mt,className:st,title:en,onMouseMove:function(){F===R||et||ve(R)},onClick:function(){et||qe($e)},style:Ae}),o.createElement("div",{className:"".concat(nt,"-content")},yt),o.isValidElement(ae)||mt,qt&&o.createElement(vt,{className:"".concat(C,"-option-state"),customizeIcon:ae,customizeIconProps:{isSelected:mt}},mt?"\u2713":null))}))},bn=o.forwardRef(Zn);bn.displayName="OptionList";var zt=bn;function Ye(t){var e=t.mode,l=t.options,r=t.children,f=t.backfill,d=t.allowClear,h=t.placeholder,S=t.getInputElement,I=t.showSearch,D=t.onSearch,O=t.defaultOpen,y=t.autoFocus,H=t.labelInValue,g=t.value,P=t.inputValue,se=t.optionLabelProp,he=isMultiple(e),q=I!==void 0?I:he||e==="combobox",ae=l||convertChildrenToData(r);if(warning(e!=="tags"||ae.every(function(z){return!z.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),e==="tags"||e==="combobox"){var de=ae.some(function(z){return z.options?z.options.some(function(v){return typeof("value"in v?v.value:v.key)=="number"}):typeof("value"in z?z.value:z.key)=="number"});warning(!de,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(e!=="combobox"||!se,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(e==="combobox"||!f,"`backfill` only works with `combobox` mode."),warning(e==="combobox"||!S,"`getInputElement` only work with `combobox` mode."),noteOnce(e!=="combobox"||!S||!d||!h,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),D&&!q&&e!=="combobox"&&e!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!O||y,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),g!=null){var De=toArray(g);warning(!H||De.every(function(z){return _typeof(z)==="object"&&("key"in z||"value"in z)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!he||Array.isArray(g),"`value` should be array when `mode` is `multiple` or `tags`")}if(r){var ie=null;toNodeArray(r).some(function(z){if(!React.isValidElement(z)||!z.type)return!1;var v=z,m=v.type;if(m.isSelectOption)return!1;if(m.isSelectOptGroup){var C=toNodeArray(z.props.children).every(function(M){return!React.isValidElement(M)||!z.type||M.type.isSelectOption?!0:(ie=M.type,!1)});return!C}return ie=m,!0}),ie&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(ie.displayName||ie.name||ie,"`.")),warning(P===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Ht(t,e){if(t){var l=function r(f){for(var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,h=0;h2&&arguments[2]!==void 0?arguments[2]:{},B=N.source,Te=B===void 0?"keyboard":B;yo(j),h&&r==="combobox"&&w!==null&&Te==="keyboard"&&Fn(String(w))},[h,r]),An=function(j,N,B){var Te=function(){var Ln,fn=At(j);return[F?{label:fn==null?void 0:fn[Re.label],value:j,key:(Ln=fn==null?void 0:fn.key)!==null&&Ln!==void 0?Ln:j}:j,Oe(fn)]};if(N&&g){var Ne=Te(),dn=(0,Ce.Z)(Ne,2),on=dn[0],wn=dn[1];g(on,wn)}else if(!N&&P&&B!=="clear"){var ot=Te(),En=(0,Ce.Z)(ot,2),lo=En[0],Io=En[1];P(lo,Io)}},ro=pt(function(w,j){var N,B=qe?j.selected:!0;B?N=qe?[].concat((0,W.Z)(Ae),[w]):[w]:N=Ae.filter(function(Te){return Te.value!==w}),en(N),An(w,B),r==="combobox"?Fn(""):(!L||H)&&(R(""),Fn(""))}),Co=function(j,N){en(j);var B=N.type,Te=N.values;(B==="remove"||B==="clear")&&Te.forEach(function(Ne){An(Ne.value,!1,B)})},ao=function(j,N){if(R(j),Fn(null),N.source==="submit"){var B=(j||"").trim();if(B){var Te=Array.from(new Set([].concat((0,W.Z)(kt),[B])));en(Te),An(B,!0),R("")}return}N.source!=="blur"&&(r==="combobox"&&en(j),O==null||O(j))},io=function(j){var N=j;r!=="tags"&&(N=j.map(function(Te){var Ne=Ee.get(Te);return Ne==null?void 0:Ne.value}).filter(function(Te){return Te!==void 0}));var B=Array.from(new Set([].concat((0,W.Z)(kt),(0,W.Z)(N))));en(B),B.forEach(function(Te){An(Te,!0)})},kn=o.useMemo(function(){var w=C!==!1&&he!==!1;return(0,a.Z)((0,a.Z)({},te),{},{flattenOptions:yt,onActiveValue:_n,defaultActiveFirstOption:oo,onSelect:ro,menuItemSelectedIcon:m,rawValues:kt,fieldNames:Re,virtual:w,direction:M,listHeight:Fe,listItemHeight:pe,childrenAsData:Xe})},[te,yt,_n,oo,ro,m,kt,Re,C,he,Fe,pe,Xe]);return o.createElement(xt.Provider,{value:kn},o.createElement(oe,(0,ee.Z)({},ve,{id:Mt,prefixCls:d,ref:e,omitDomProps:Vt,mode:r,displayValues:In,onDisplayValuesChange:Co,direction:M,searchValue:Y,onSearch:ao,autoClearSearchValue:H,onSearchSplit:io,dropdownMatchSelectWidth:he,OptionList:zt,emptyOptions:!yt.length,activeValue:Qn,activeDescendantId:"".concat(Mt,"_list_").concat(nn)})))}),cn=Dn;cn.Option=ut,cn.OptGroup=Gt;var Un=cn,yn=Un,Xn=u(33603),Pn=u(8745),Qt=u(9708),Hn=u(53124),sn=u(88258),Jt=u(98866),Rt=u(98675),$n=u(65223),eo=u(4173),ho=u(87244),to=u(13458),_t=u(78642),po=u(43277),So=function(t,e){var l={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(l[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,r=Object.getOwnPropertySymbols(t);f{var l,{prefixCls:r,bordered:f=!0,className:d,rootClassName:h,getPopupContainer:S,popupClassName:I,dropdownClassName:D,listHeight:O=256,placement:y,listItemHeight:H=24,size:g,disabled:P,notFoundContent:se,status:he,builtinPlacements:q,dropdownMatchSelectWidth:ae,popupMatchSelectWidth:de,direction:De,style:ie,allowClear:z}=t,v=So(t,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:m,getPrefixCls:C,renderEmpty:M,direction:le,virtual:Fe,popupMatchSelectWidth:we,popupOverflow:pe,select:Se}=o.useContext(Hn.E_),V=C("select",r),F=C(),J=De!=null?De:le,{compactSize:ve,compactItemClassnames:Mt}=(0,eo.ri)(V,J),[qe,Xe]=(0,ho.Z)(V),St=o.useMemo(()=>{const{mode:nt}=v;if(nt!=="combobox")return nt===Gn?"combobox":nt},[v.mode]),Re=St==="multiple"||St==="tags",bt=(0,_t.Z)(v.suffixIcon,v.showArrow),Ft=(l=de!=null?de:ae)!==null&&l!==void 0?l:we,{status:Y,hasFeedback:R,isFormItemInput:te,feedbackIcon:Me}=o.useContext($n.aM),Ee=(0,Qt.F)(Y,he);let ye;se!==void 0?ye=se:St==="combobox"?ye=null:ye=(M==null?void 0:M("Select"))||o.createElement(sn.Z,{componentName:"Select"});const{suffixIcon:re,itemIcon:$e,removeIcon:We,clearIcon:Qe}=(0,po.Z)(Object.assign(Object.assign({},v),{multiple:Re,hasFeedback:R,feedbackIcon:Me,showSuffixIcon:bt,prefixCls:V,showArrow:v.showArrow,componentName:"Select"})),ct=z===!0?{clearIcon:Qe}:z,et=(0,Yt.Z)(v,["suffixIcon","itemIcon"]),Je=p()(I||D,{[`${V}-dropdown-${J}`]:J==="rtl"},h,Xe),tt=(0,Rt.Z)(nt=>{var st;return(st=g!=null?g:ve)!==null&&st!==void 0?st:nt}),Ae=o.useContext(Jt.Z),At=P!=null?P:Ae,In=p()({[`${V}-lg`]:tt==="large",[`${V}-sm`]:tt==="small",[`${V}-rtl`]:J==="rtl",[`${V}-borderless`]:!f,[`${V}-in-form-item`]:te},(0,Qt.Z)(V,Ee,R),Mt,Se==null?void 0:Se.className,d,h,Xe),kt=o.useMemo(()=>y!==void 0?y:J==="rtl"?"bottomRight":"bottomLeft",[y,J]),mt=(0,to.Z)(q,pe);return qe(o.createElement(yn,Object.assign({ref:e,virtual:Fe,showSearch:Se==null?void 0:Se.showSearch},et,{style:Object.assign(Object.assign({},Se==null?void 0:Se.style),ie),dropdownMatchSelectWidth:Ft,builtinPlacements:mt,transitionName:(0,Xn.m)(F,"slide-up",v.transitionName),listHeight:O,listItemHeight:H,mode:St,prefixCls:V,placement:kt,direction:J,suffixIcon:re,menuItemSelectedIcon:$e,removeIcon:We,allowClear:ct,notFoundContent:ye,className:In,getPopupContainer:S||m,dropdownClassName:Je,disabled:At})))},Cn=o.forwardRef(no),bo=(0,Pn.Z)(Cn);Cn.SECRET_COMBOBOX_MODE_DO_NOT_USE=Gn,Cn.Option=ut,Cn.OptGroup=Gt,Cn._InternalPanelDoNotUseOrYouWillBeFired=bo;var Yn=Cn},87244:function(vn,_e,u){u.d(_e,{Z:function(){return Pe}});var o=u(14747),xe=u(80110),p=u(45503),ee=u(67968),W=u(67771),ue=u(33297);const a=n=>{const{optionHeight:s,optionFontSize:i,optionLineHeight:E,optionPadding:X}=n;return{position:"relative",display:"block",minHeight:s,padding:X,color:n.colorText,fontWeight:"normal",fontSize:i,lineHeight:E,boxSizing:"border-box"}};var rt=n=>{const{antCls:s,componentCls:i}=n,E=`${i}-item`,X=`&${s}-slide-up-enter${s}-slide-up-enter-active`,Ie=`&${s}-slide-up-appear${s}-slide-up-appear-active`,Be=`&${s}-slide-up-leave${s}-slide-up-leave-active`,Le=`${i}-dropdown-placement-`;return[{[`${i}-dropdown`]:Object.assign(Object.assign({},(0,o.Wf)(n)),{position:"absolute",top:-9999,zIndex:n.zIndexPopup,boxSizing:"border-box",padding:n.paddingXXS,overflow:"hidden",fontSize:n.fontSize,fontVariant:"initial",backgroundColor:n.colorBgElevated,borderRadius:n.borderRadiusLG,outline:"none",boxShadow:n.boxShadowSecondary,[` + ${X}${Le}bottomLeft, + ${Ie}${Le}bottomLeft + `]:{animationName:W.fJ},[` + ${X}${Le}topLeft, + ${Ie}${Le}topLeft, + ${X}${Le}topRight, + ${Ie}${Le}topRight + `]:{animationName:W.Qt},[`${Be}${Le}bottomLeft`]:{animationName:W.Uw},[` + ${Be}${Le}topLeft, + ${Be}${Le}topRight + `]:{animationName:W.ly},"&-hidden":{display:"none"},[`${E}`]:Object.assign(Object.assign({},a(n)),{cursor:"pointer",transition:`background ${n.motionDurationSlow} ease`,borderRadius:n.borderRadiusSM,"&-group":{color:n.colorTextDescription,fontSize:n.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},o.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${E}-option-disabled)`]:{backgroundColor:n.optionActiveBg},[`&-selected:not(${E}-option-disabled)`]:{color:n.optionSelectedColor,fontWeight:n.optionSelectedFontWeight,backgroundColor:n.optionSelectedBg,[`${E}-option-state`]:{color:n.colorPrimary}},"&-disabled":{[`&${E}-option-selected`]:{backgroundColor:n.colorBgContainerDisabled},color:n.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:n.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,W.oN)(n,"slide-up"),(0,W.oN)(n,"slide-down"),(0,ue.Fm)(n,"move-up"),(0,ue.Fm)(n,"move-down")]};const ze=2,ft=n=>{let{multipleSelectItemHeight:s,selectHeight:i,lineWidth:E}=n;const X=(i-s)/2-E,Ie=Math.ceil(X/2);return[X,Ie]};function gt(n,s){const{componentCls:i,iconCls:E}=n,X=`${i}-selection-overflow`,Ie=n.multipleSelectItemHeight,[Be]=ft(n),Le=s?`${i}-${s}`:"";return{[`${i}-multiple${Le}`]:{fontSize:n.fontSize,[X]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${i}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",padding:`${Be-ze}px ${ze*2}px`,borderRadius:n.borderRadius,[`${i}-show-search&`]:{cursor:"text"},[`${i}-disabled&`]:{background:n.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${ze}px 0`,lineHeight:`${Ie}px`,visibility:"hidden",content:'"\\a0"'}},[` + &${i}-show-arrow ${i}-selector, + &${i}-allow-clear ${i}-selector + `]:{paddingInlineEnd:n.fontSizeIcon+n.controlPaddingHorizontal},[`${i}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:Ie,marginTop:ze,marginBottom:ze,lineHeight:`${Ie-n.lineWidth*2}px`,background:n.multipleItemBg,border:`${n.lineWidth}px ${n.lineType} ${n.multipleItemBorderColor}`,borderRadius:n.borderRadiusSM,cursor:"default",transition:`font-size ${n.motionDurationSlow}, line-height ${n.motionDurationSlow}, height ${n.motionDurationSlow}`,marginInlineEnd:ze*2,paddingInlineStart:n.paddingXS,paddingInlineEnd:n.paddingXS/2,[`${i}-disabled&`]:{color:n.multipleItemColorDisabled,borderColor:n.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:n.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,o.Ro)()),{display:"inline-flex",alignItems:"center",color:n.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${E}`]:{verticalAlign:"-0.2em"},"&:hover":{color:n.colorIconHover}})},[`${X}-item + ${X}-item`]:{[`${i}-selection-search`]:{marginInlineStart:0}},[`${X}-item-suffix`]:{height:"100%"},[`${i}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:n.inputPaddingHorizontalBase-Be,[` + &-input, + &-mirror + `]:{height:Ie,fontFamily:n.fontFamily,lineHeight:`${Ie}px`,transition:`all ${n.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${i}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:n.inputPaddingHorizontalBase,insetInlineEnd:n.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${n.motionDurationSlow}`}}}}var Ge=n=>{const{componentCls:s}=n,i=(0,p.TS)(n,{selectHeight:n.controlHeightSM,multipleSelectItemHeight:n.controlHeightXS,borderRadius:n.borderRadiusSM,borderRadiusSM:n.borderRadiusXS}),E=(0,p.TS)(n,{fontSize:n.fontSizeLG,selectHeight:n.controlHeightLG,multipleSelectItemHeight:n.multipleItemHeightLG,borderRadius:n.borderRadiusLG,borderRadiusSM:n.borderRadius}),[,X]=ft(n);return[gt(n),gt(i,"sm"),{[`${s}-multiple${s}-sm`]:{[`${s}-selection-placeholder`]:{insetInline:n.controlPaddingHorizontalSM-n.lineWidth},[`${s}-selection-search`]:{marginInlineStart:X}}},gt(E,"lg")]};function Z(n,s){const{componentCls:i,inputPaddingHorizontalBase:E,borderRadius:X}=n,Ie=n.controlHeight-n.lineWidth*2,Be=Math.ceil(n.fontSize*1.25),Le=s?`${i}-${s}`:"";return{[`${i}-single${Le}`]:{fontSize:n.fontSize,height:n.controlHeight,[`${i}-selector`]:Object.assign(Object.assign({},(0,o.Wf)(n)),{display:"flex",borderRadius:X,[`${i}-selection-search`]:{position:"absolute",top:0,insetInlineStart:E,insetInlineEnd:E,bottom:0,"&-input":{width:"100%"}},[` + ${i}-selection-item, + ${i}-selection-placeholder + `]:{padding:0,lineHeight:`${Ie}px`,transition:`all ${n.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${i}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${i}-selection-item:empty:after`,`${i}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` + &${i}-show-arrow ${i}-selection-item, + &${i}-show-arrow ${i}-selection-placeholder + `]:{paddingInlineEnd:Be},[`&${i}-open ${i}-selection-item`]:{color:n.colorTextPlaceholder},[`&:not(${i}-customize-input)`]:{[`${i}-selector`]:{width:"100%",height:"100%",padding:`0 ${E}px`,[`${i}-selection-search-input`]:{height:Ie},"&:after":{lineHeight:`${Ie}px`}}},[`&${i}-customize-input`]:{[`${i}-selector`]:{"&:after":{display:"none"},[`${i}-selection-search`]:{position:"static",width:"100%"},[`${i}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${E}px`,"&:after":{display:"none"}}}}}}}function Pt(n){const{componentCls:s}=n,i=n.controlPaddingHorizontalSM-n.lineWidth;return[Z(n),Z((0,p.TS)(n,{controlHeight:n.controlHeightSM,borderRadius:n.borderRadiusSM}),"sm"),{[`${s}-single${s}-sm`]:{[`&:not(${s}-customize-input)`]:{[`${s}-selection-search`]:{insetInlineStart:i,insetInlineEnd:i},[`${s}-selector`]:{padding:`0 ${i}px`},[`&${s}-show-arrow ${s}-selection-search`]:{insetInlineEnd:i+n.fontSize*1.5},[` + &${s}-show-arrow ${s}-selection-item, + &${s}-show-arrow ${s}-selection-placeholder + `]:{paddingInlineEnd:n.fontSize*1.5}}}},Z((0,p.TS)(n,{controlHeight:n.singleItemHeightLG,fontSize:n.fontSizeLG,borderRadius:n.borderRadiusLG}),"lg")]}const $t=n=>{const{componentCls:s,selectorBg:i}=n;return{position:"relative",backgroundColor:i,border:`${n.lineWidth}px ${n.lineType} ${n.colorBorder}`,transition:`all ${n.motionDurationMid} ${n.motionEaseInOut}`,input:{cursor:"pointer"},[`${s}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${s}-disabled&`]:{color:n.colorTextDisabled,background:n.colorBgContainerDisabled,cursor:"not-allowed",[`${s}-multiple&`]:{background:n.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},vt=function(n,s){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:E,borderHoverColor:X,outlineColor:Ie,antCls:Be}=s,Le=i?{[`${E}-selector`]:{borderColor:X}}:{};return{[n]:{[`&:not(${E}-disabled):not(${E}-customize-input):not(${Be}-pagination-size-changer)`]:Object.assign(Object.assign({},Le),{[`${E}-focused& ${E}-selector`]:{borderColor:X,boxShadow:`0 0 0 ${s.controlOutlineWidth}px ${Ie}`,outline:0},[`&:hover ${E}-selector`]:{borderColor:X}})}}},Tt=n=>{const{componentCls:s}=n;return{[`${s}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},Kt=n=>{const{antCls:s,componentCls:i,inputPaddingHorizontalBase:E,iconCls:X}=n;return{[i]:Object.assign(Object.assign({},(0,o.Wf)(n)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${i}-customize-input) ${i}-selector`]:Object.assign(Object.assign({},$t(n)),Tt(n)),[`${i}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},o.vS),{[`> ${s}-typography`]:{display:"inline"}}),[`${i}-selection-placeholder`]:Object.assign(Object.assign({},o.vS),{flex:1,color:n.colorTextPlaceholder,pointerEvents:"none"}),[`${i}-arrow`]:Object.assign(Object.assign({},(0,o.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:E,height:n.fontSizeIcon,marginTop:-n.fontSizeIcon/2,color:n.colorTextQuaternary,fontSize:n.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[X]:{verticalAlign:"top",transition:`transform ${n.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${i}-suffix)`]:{pointerEvents:"auto"}},[`${i}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${i}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:E,zIndex:1,display:"inline-block",width:n.fontSizeIcon,height:n.fontSizeIcon,marginTop:-n.fontSizeIcon/2,color:n.colorTextQuaternary,fontSize:n.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:n.clearBg,cursor:"pointer",opacity:0,transition:`color ${n.motionDurationMid} ease, opacity ${n.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:n.colorTextTertiary}},"&:hover":{[`${i}-clear`]:{opacity:1}}}),[`${i}-has-feedback`]:{[`${i}-clear`]:{insetInlineEnd:E+n.fontSize+n.paddingXS}}}},me=n=>{const{componentCls:s}=n;return[{[s]:{[`&-borderless ${s}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${s}-in-form-item`]:{width:"100%"}}},Kt(n),Pt(n),Ge(n),rt(n),{[`${s}-rtl`]:{direction:"rtl"}},vt(s,(0,p.TS)(n,{borderHoverColor:n.colorPrimaryHover,outlineColor:n.controlOutline})),vt(`${s}-status-error`,(0,p.TS)(n,{borderHoverColor:n.colorErrorHover,outlineColor:n.colorErrorOutline}),!0),vt(`${s}-status-warning`,(0,p.TS)(n,{borderHoverColor:n.colorWarningHover,outlineColor:n.colorWarningOutline}),!0),(0,xe.c)(n,{borderElCls:`${s}-selector`,focusElCls:`${s}-focused`})]};var Pe=(0,ee.Z)("Select",(n,s)=>{let{rootPrefixCls:i}=s;const E=(0,p.TS)(n,{rootPrefixCls:i,inputPaddingHorizontalBase:n.paddingSM-1,multipleSelectItemHeight:n.multipleItemHeight,selectHeight:n.controlHeight});return[me(E)]},n=>{const{fontSize:s,lineHeight:i,controlHeight:E,controlPaddingHorizontal:X,zIndexPopupBase:Ie,colorText:Be,fontWeightStrong:Le,controlItemBgActive:Mn,controlItemBgHover:On,colorBgContainer:It,colorFillSecondary:ht,controlHeightLG:an,controlHeightSM:mn,colorBgContainerDisabled:ln,colorTextDisabled:jt}=n;return{zIndexPopup:Ie+50,optionSelectedColor:Be,optionSelectedFontWeight:Le,optionSelectedBg:Mn,optionActiveBg:On,optionPadding:`${(E-s*i)/2}px ${X}px`,optionFontSize:s,optionLineHeight:i,optionHeight:E,selectorBg:It,clearBg:It,singleItemHeightLG:an,multipleItemBg:ht,multipleItemBorderColor:"transparent",multipleItemHeight:mn,multipleItemHeightLG:E,multipleSelectorBgDisabled:ln,multipleItemColorDisabled:jt,multipleItemBorderColorDisabled:"transparent"}})},13458:function(vn,_e,u){u.d(_e,{Z:function(){return xe}});const o=p=>{const W={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:p==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},W),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},W),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},W),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},W),{points:["br","tr"],offset:[0,-4]})}};function xe(p,ee){return p||o(ee)}},43277:function(vn,_e,u){u.d(_e,{Z:function(){return Ce}});var o=u(67294),xe=u(35918),p=u(17012),ee=u(62208),W=u(13622),ue=u(19267),a=u(25783);function Ce(rt){let{suffixIcon:ze,clearIcon:ft,menuItemSelectedIcon:gt,removeIcon:rn,loading:Ge,multiple:Z,hasFeedback:Pt,prefixCls:$t,showSuffixIcon:vt,feedbackIcon:Tt,showArrow:Kt,componentName:me}=rt;const Pe=ft!=null?ft:o.createElement(p.Z,null),n=X=>ze===null&&!Pt&&!Kt?null:o.createElement(o.Fragment,null,vt!==!1&&X,Pt&&Tt);let s=null;if(ze!==void 0)s=n(ze);else if(Ge)s=n(o.createElement(ue.Z,{spin:!0}));else{const X=`${$t}-suffix`;s=Ie=>{let{open:Be,showSearch:Le}=Ie;return n(Be&&Le?o.createElement(a.Z,{className:X}):o.createElement(W.Z,{className:X}))}}let i=null;gt!==void 0?i=gt:Z?i=o.createElement(xe.Z,null):i=null;let E=null;return rn!==void 0?E=rn:E=o.createElement(ee.Z,null),{clearIcon:Pe,suffixIcon:s,itemIcon:i,removeIcon:E}}},78642:function(vn,_e,u){u.d(_e,{Z:function(){return o}});function o(xe,p){return p!==void 0?p:xe!==null}},35918:function(vn,_e,u){u.d(_e,{Z:function(){return a}});var o=u(87462),xe=u(67294),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},ee=p,W=u(93771),ue=function(rt,ze){return xe.createElement(W.Z,(0,o.Z)({},rt,{ref:ze,icon:ee}))},a=xe.forwardRef(ue)},85344:function(vn,_e,u){u.d(_e,{Z:function(){return go}});var o=u(87462),xe=u(1413),p=u(71002),ee=u(97685),W=u(4942),ue=u(91),a=u(67294),Ce=u(73935),rt=u(94184),ze=u.n(rt),ft=u(48555),gt=a.forwardRef(function(c,K){var b=c.height,$=c.offsetY,k=c.offsetX,x=c.children,A=c.prefixCls,G=c.onInnerResize,ce=c.innerProps,Oe=c.rtl,ne=c.extra,T={},U={display:"flex",flexDirection:"column"};if($!==void 0){var L;T={height:b,position:"relative",overflow:"hidden"},U=(0,xe.Z)((0,xe.Z)({},U),{},(L={transform:"translateY(".concat($,"px)")},(0,W.Z)(L,Oe?"marginRight":"marginLeft",-k),(0,W.Z)(L,"position","absolute"),(0,W.Z)(L,"left",0),(0,W.Z)(L,"right",0),(0,W.Z)(L,"top",0),L))}return a.createElement("div",{style:T},a.createElement(ft.Z,{onResize:function(oe){var Q=oe.offsetHeight;Q&&G&&G()}},a.createElement("div",(0,o.Z)({style:U,className:ze()((0,W.Z)({},"".concat(A,"-holder-inner"),A)),ref:K},ce),x,ne)))});gt.displayName="Filler";var rn=gt,Ge=u(75164);function Z(c,K){var b="touches"in c?c.touches[0]:c;return b[K?"pageX":"pageY"]}var Pt=a.forwardRef(function(c,K){var b,$=c.prefixCls,k=c.rtl,x=c.scrollOffset,A=c.scrollRange,G=c.onStartMove,ce=c.onStopMove,Oe=c.onScroll,ne=c.horizontal,T=c.spinSize,U=c.containerSize,L=c.style,ge=c.thumbStyle,oe=a.useState(!1),Q=(0,ee.Z)(oe,2),be=Q[0],Ze=Q[1],at=a.useState(null),je=(0,ee.Z)(at,2),wt=je[0],Zt=je[1],He=a.useState(null),Lt=(0,ee.Z)(He,2),it=Lt[0],Et=Lt[1],lt=!k,Ut=a.useRef(),Ve=a.useRef(),pt=a.useState(!1),Xt=(0,ee.Z)(pt,2),Gt=Xt[0],Nt=Xt[1],ut=a.useRef(),Dt=function(){clearTimeout(ut.current),Nt(!0),ut.current=setTimeout(function(){Nt(!1)},3e3)},Yt=A-U||0,hn=U-T||0,un=Yt>0,xt=a.useMemo(function(){if(x===0||Yt===0)return 0;var ke=x/Yt;return ke*hn},[x,Yt,hn]),jn=function(Ue){Ue.stopPropagation(),Ue.preventDefault()},pn=a.useRef({top:xt,dragging:be,pageY:wt,startTop:it});pn.current={top:xt,dragging:be,pageY:wt,startTop:it};var Sn=function(Ue){Ze(!0),Zt(Z(Ue,ne)),Et(pn.current.top),G(),Ue.stopPropagation(),Ue.preventDefault()};a.useEffect(function(){var ke=function(Dn){Dn.preventDefault()},Ue=Ut.current,Vt=Ve.current;return Ue.addEventListener("touchstart",ke),Vt.addEventListener("touchstart",Sn),function(){Ue.removeEventListener("touchstart",ke),Vt.removeEventListener("touchstart",Sn)}},[]);var Zn=a.useRef();Zn.current=Yt;var bn=a.useRef();bn.current=hn,a.useEffect(function(){if(be){var ke,Ue=function(Dn){var cn=pn.current,Un=cn.dragging,yn=cn.pageY,Xn=cn.startTop;if(Ge.Z.cancel(ke),Un){var Pn=Z(Dn,ne)-yn,Qt=Xn;!lt&&ne?Qt-=Pn:Qt+=Pn;var Hn=Zn.current,sn=bn.current,Jt=sn?Qt/sn:0,Rt=Math.ceil(Jt*Hn);Rt=Math.max(Rt,0),Rt=Math.min(Rt,Hn),ke=(0,Ge.Z)(function(){Oe(Rt,ne)})}},Vt=function(){Ze(!1),ce()};return window.addEventListener("mousemove",Ue),window.addEventListener("touchmove",Ue),window.addEventListener("mouseup",Vt),window.addEventListener("touchend",Vt),function(){window.removeEventListener("mousemove",Ue),window.removeEventListener("touchmove",Ue),window.removeEventListener("mouseup",Vt),window.removeEventListener("touchend",Vt),Ge.Z.cancel(ke)}}},[be]),a.useEffect(function(){Dt()},[x]),a.useImperativeHandle(K,function(){return{delayHidden:Dt}});var zt="".concat($,"-scrollbar"),Ye={position:"absolute",visibility:Gt&&un?null:"hidden"},Ht={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return ne?(Ye.height=8,Ye.left=0,Ye.right=0,Ye.bottom=0,Ht.height="100%",Ht.width=T,lt?Ht.left=xt:Ht.right=xt):(Ye.width=8,Ye.top=0,Ye.bottom=0,lt?Ye.right=0:Ye.left=0,Ht.width="100%",Ht.height=T,Ht.top=xt),a.createElement("div",{ref:Ut,className:ze()(zt,(b={},(0,W.Z)(b,"".concat(zt,"-horizontal"),ne),(0,W.Z)(b,"".concat(zt,"-vertical"),!ne),(0,W.Z)(b,"".concat(zt,"-visible"),Gt),b)),style:(0,xe.Z)((0,xe.Z)({},Ye),L),onMouseDown:jn,onMouseMove:Dt},a.createElement("div",{ref:Ve,className:ze()("".concat(zt,"-thumb"),(0,W.Z)({},"".concat(zt,"-thumb-moving"),be)),style:(0,xe.Z)((0,xe.Z)({},Ht),ge),onMouseDown:Sn}))}),$t=Pt;function vt(c){var K=c.children,b=c.setRef,$=a.useCallback(function(k){b(k)},[]);return a.cloneElement(K,{ref:$})}function Tt(c,K,b,$,k,x,A){var G=A.getKey;return c.slice(K,b+1).map(function(ce,Oe){var ne=K+Oe,T=x(ce,ne,{style:{width:$}}),U=G(ce);return a.createElement(vt,{key:U,setRef:function(ge){return k(ce,ge)}},T)})}var Kt=u(34203),me=u(15671),Pe=u(43144),n=function(){function c(){(0,me.Z)(this,c),this.maps=void 0,this.id=0,this.maps=Object.create(null)}return(0,Pe.Z)(c,[{key:"set",value:function(b,$){this.maps[b]=$,this.id+=1}},{key:"get",value:function(b){return this.maps[b]}}]),c}(),s=n;function i(c,K,b){var $=a.useState(0),k=(0,ee.Z)($,2),x=k[0],A=k[1],G=(0,a.useRef)(new Map),ce=(0,a.useRef)(new s),Oe=(0,a.useRef)();function ne(){Ge.Z.cancel(Oe.current)}function T(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;ne();var ge=function(){G.current.forEach(function(Q,be){if(Q&&Q.offsetParent){var Ze=(0,Kt.Z)(Q),at=Ze.offsetHeight;ce.current.get(be)!==at&&ce.current.set(be,Ze.offsetHeight)}}),A(function(Q){return Q+1})};L?ge():Oe.current=(0,Ge.Z)(ge)}function U(L,ge){var oe=c(L),Q=G.current.get(oe);ge?(G.current.set(oe,ge),T()):G.current.delete(oe),!Q!=!ge&&(ge?K==null||K(L):b==null||b(L))}return(0,a.useEffect)(function(){return ne},[]),[U,T,ce.current,x]}var E=u(8410),X=u(56790),Ie=10;function Be(c,K,b,$,k,x,A,G){var ce=a.useRef(),Oe=a.useState(null),ne=(0,ee.Z)(Oe,2),T=ne[0],U=ne[1];return(0,E.Z)(function(){if(T&&T.times=0;pt-=1){var Xt=k(K[pt]),Gt=b.get(Xt);if(Gt===void 0){Ze=!0;break}if(Ve-=Gt,Ve<=0)break}switch(wt){case"top":je=He-Q;break;case"bottom":je=Lt-be+Q;break;default:{var Nt=c.current.scrollTop,ut=Nt+be;Heut&&(at="bottom")}}je!==null&&A(je),je!==T.lastTop&&(Ze=!0)}Ze&&U(function(Dt){return(0,xe.Z)((0,xe.Z)({},Dt),{},{times:Dt.times+1,targetAlign:at,lastTop:je})})}},[T,c.current]),function(L){if(L==null){G();return}if(Ge.Z.cancel(ce.current),typeof L=="number")A(L);else if(L&&(0,p.Z)(L)==="object"){var ge,oe=L.align;"index"in L?ge=L.index:ge=K.findIndex(function(Ze){return k(Ze)===L.key});var Q=L.offset,be=Q===void 0?0:Q;U({times:0,index:ge,offset:be,originAlign:oe})}}}function Le(c,K,b,$){var k=b-c,x=K-b,A=Math.min(k,x)*2;if($<=A){var G=Math.floor($/2);return $%2?b+G+1:b-G}return k>x?b-($-x):b+($-k)}function Mn(c,K,b){var $=c.length,k=K.length,x,A;if($===0&&k===0)return null;$1&&arguments[1]!==void 0?arguments[1]:!1,ce=A<0&&x.current.top||A>0&&x.current.bottom;return G&&ce?(clearTimeout($.current),b.current=!1):(!ce||b.current)&&k(),!b.current&&ce}};function mn(c,K,b,$,k){var x=(0,a.useRef)(0),A=(0,a.useRef)(null),G=(0,a.useRef)(null),ce=(0,a.useRef)(!1),Oe=an(K,b);function ne(Q,be){Ge.Z.cancel(A.current),x.current+=be,G.current=be,!Oe(be)&&(ht||Q.preventDefault(),A.current=(0,Ge.Z)(function(){var Ze=ce.current?10:1;k(x.current*Ze),x.current=0}))}function T(Q,be){k(be,!0),ht||Q.preventDefault()}var U=(0,a.useRef)(null),L=(0,a.useRef)(null);function ge(Q){if(c){Ge.Z.cancel(L.current),L.current=(0,Ge.Z)(function(){U.current=null},2);var be=Q.deltaX,Ze=Q.deltaY,at=Q.shiftKey,je=be,wt=Ze;(U.current==="sx"||!U.current&&at&&Ze&&!be)&&(je=Ze,wt=0,U.current="sx");var Zt=Math.abs(je),He=Math.abs(wt);U.current===null&&(U.current=$&&Zt>He?"x":"y"),U.current==="y"?ne(Q,wt):T(Q,je)}}function oe(Q){c&&(ce.current=Q.detail===G.current)}return[ge,oe]}var ln=14/15;function jt(c,K,b){var $=(0,a.useRef)(!1),k=(0,a.useRef)(0),x=(0,a.useRef)(null),A=(0,a.useRef)(null),G,ce=function(U){if($.current){var L=Math.ceil(U.touches[0].pageY),ge=k.current-L;k.current=L,b(ge)&&U.preventDefault(),clearInterval(A.current),A.current=setInterval(function(){ge*=ln,(!b(ge,!0)||Math.abs(ge)<=.1)&&clearInterval(A.current)},16)}},Oe=function(){$.current=!1,G()},ne=function(U){G(),U.touches.length===1&&!$.current&&($.current=!0,k.current=Math.ceil(U.touches[0].pageY),x.current=U.target,x.current.addEventListener("touchmove",ce),x.current.addEventListener("touchend",Oe))};G=function(){x.current&&(x.current.removeEventListener("touchmove",ce),x.current.removeEventListener("touchend",Oe))},(0,E.Z)(function(){return c&&K.current.addEventListener("touchstart",ne),function(){var T;(T=K.current)===null||T===void 0||T.removeEventListener("touchstart",ne),G(),clearInterval(A.current)}},[c])}var Nn=20;function gn(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,b=c/K*100;return isNaN(b)&&(b=0),b=Math.max(b,Nn),b=Math.min(b,c/2),Math.floor(b)}function uo(c,K,b,$){var k=a.useMemo(function(){return[new Map,[]]},[c,b.id,$]),x=(0,ee.Z)(k,2),A=x[0],G=x[1],ce=function(ne){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ne,U=A.get(ne),L=A.get(T);if(U===void 0||L===void 0)for(var ge=c.length,oe=G.length;oex||!!oe),lt=ge==="rtl",Ut=ze()($,(0,W.Z)({},"".concat($,"-rtl"),lt),k),Ve=ne||so,pt=(0,a.useRef)(),Xt=(0,a.useRef)(),Gt=(0,a.useState)(0),Nt=(0,ee.Z)(Gt,2),ut=Nt[0],Dt=Nt[1],Yt=(0,a.useState)(0),hn=(0,ee.Z)(Yt,2),un=hn[0],xt=hn[1],jn=(0,a.useState)(!1),pn=(0,ee.Z)(jn,2),Sn=pn[0],Zn=pn[1],bn=function(){Zn(!0)},zt=function(){Zn(!1)},Ye=a.useCallback(function(v){return typeof U=="function"?U(v):v==null?void 0:v[U]},[U]),Ht={getKey:Ye};function ke(v){Dt(function(m){var C;typeof v=="function"?C=v(m):C=v;var M=e(C);return pt.current.scrollTop=M,M})}var Ue=(0,a.useRef)({start:0,end:Ve.length}),Vt=(0,a.useRef)(),zn=On(Ve,Ye),Dn=(0,ee.Z)(zn,1),cn=Dn[0];Vt.current=cn;var Un=i(Ye,null,null),yn=(0,ee.Z)(Un,4),Xn=yn[0],Pn=yn[1],Qt=yn[2],Hn=yn[3],sn=a.useMemo(function(){if(!it)return{scrollHeight:void 0,start:0,end:Ve.length-1,offset:void 0};if(!Et){var v;return{scrollHeight:((v=Xt.current)===null||v===void 0?void 0:v.offsetHeight)||0,start:0,end:Ve.length-1,offset:void 0}}for(var m=0,C,M,le,Fe=Ve.length,we=0;we=ut&&C===void 0&&(C=we,M=m),F>ut+x&&le===void 0&&(le=we),m=F}return C===void 0&&(C=0,M=0,le=Math.ceil(x/A)),le===void 0&&(le=Ve.length-1),le=Math.min(le+1,Ve.length-1),{scrollHeight:m,start:C,end:le,offset:M}},[Et,it,ut,Ve,Hn,x]),Jt=sn.scrollHeight,Rt=sn.start,$n=sn.end,eo=sn.offset;Ue.current.start=Rt,Ue.current.end=$n;var ho=a.useState({width:0,height:x}),to=(0,ee.Z)(ho,2),_t=to[0],po=to[1],So=function(m){po(m)},Gn=(0,a.useRef)(),no=(0,a.useRef)(),Cn=a.useMemo(function(){return gn(_t.width,oe)},[_t.width,oe]),bo=a.useMemo(function(){return gn(_t.height,Jt)},[_t.height,Jt]),Yn=Jt-x,t=(0,a.useRef)(Yn);t.current=Yn;function e(v){var m=v;return Number.isNaN(t.current)||(m=Math.min(m,t.current)),m=Math.max(m,0),m}var l=ut<=0,r=ut>=Yn,f=an(l,r),d=function(){return{x:lt?-un:un,y:ut}},h=(0,a.useRef)(d()),S=(0,X.zX)(function(){if(at){var v=d();(h.current.x!==v.x||h.current.y!==v.y)&&(at(v),h.current=v)}});function I(v,m){var C=v;m?((0,Ce.flushSync)(function(){xt(C)}),S()):ke(C)}function D(v){var m=v.currentTarget.scrollTop;m!==ut&&ke(m),Ze==null||Ze(v),S()}var O=function(m){var C=m,M=oe-_t.width;return C=Math.max(C,0),C=Math.min(C,M),C},y=(0,X.zX)(function(v,m){m?((0,Ce.flushSync)(function(){xt(function(C){var M=C+(lt?-v:v);return O(M)})}),S()):ke(function(C){var M=C+v;return M})}),H=mn(it,l,r,!!oe,y),g=(0,ee.Z)(H,2),P=g[0],se=g[1];jt(it,pt,function(v,m){return f(v,m)?!1:(P({preventDefault:function(){},deltaY:v}),!0)}),(0,E.Z)(function(){function v(C){it&&C.preventDefault()}var m=pt.current;return m.addEventListener("wheel",P),m.addEventListener("DOMMouseScroll",se),m.addEventListener("MozMousePixelScroll",v),function(){m.removeEventListener("wheel",P),m.removeEventListener("DOMMouseScroll",se),m.removeEventListener("MozMousePixelScroll",v)}},[it]),(0,E.Z)(function(){oe&&xt(function(v){return O(v)})},[_t.width,oe]);var he=function(){var m,C;(m=Gn.current)===null||m===void 0||m.delayHidden(),(C=no.current)===null||C===void 0||C.delayHidden()},q=Be(pt,Ve,Qt,A,Ye,function(){return Pn(!0)},ke,he);a.useImperativeHandle(K,function(){return{getScrollInfo:d,scrollTo:function(m){function C(M){return M&&(0,p.Z)(M)==="object"&&("left"in M||"top"in M)}C(m)?(m.left!==void 0&&xt(O(m.left)),q(m.top)):q(m)}}}),(0,E.Z)(function(){if(je){var v=Ve.slice(Rt,$n+1);je(v,Ve)}},[Rt,$n,Ve]);var ae=uo(Ve,Ye,Qt,A),de=Zt==null?void 0:Zt({start:Rt,end:$n,virtual:Et,offsetX:un,offsetY:eo,rtl:lt,getSize:ae}),De=Tt(Ve,Rt,$n,oe,Xn,T,Ht),ie=null;x&&(ie=(0,xe.Z)((0,W.Z)({},ce?"height":"maxHeight",x),fo),it&&(ie.overflowY="hidden",oe&&(ie.overflowX="hidden"),Sn&&(ie.pointerEvents="none")));var z={};return lt&&(z.dir="rtl"),a.createElement("div",(0,o.Z)({style:(0,xe.Z)((0,xe.Z)({},Oe),{},{position:"relative"}),className:Ut},z,Lt),a.createElement(ft.Z,{onResize:So},a.createElement(be,{className:"".concat($,"-holder"),style:ie,ref:pt,onScroll:D,onMouseEnter:he},a.createElement(rn,{prefixCls:$,height:Jt,offsetX:un,offsetY:eo,scrollWidth:oe,onInnerResize:Pn,ref:Xt,innerProps:wt,rtl:lt,extra:de},De))),Et&&Jt>x&&a.createElement($t,{ref:Gn,prefixCls:$,scrollOffset:ut,scrollRange:Jt,rtl:lt,onScroll:I,onStartMove:bn,onStopMove:zt,spinSize:bo,containerSize:_t.height,style:He==null?void 0:He.verticalScrollBar,thumbStyle:He==null?void 0:He.verticalScrollBarThumb}),Et&&oe&&a.createElement($t,{ref:no,prefixCls:$,scrollOffset:un,scrollRange:oe,rtl:lt,onScroll:I,onStartMove:bn,onStopMove:zt,spinSize:Cn,containerSize:_t.width,horizontal:!0,style:He==null?void 0:He.horizontalScrollBar,thumbStyle:He==null?void 0:He.horizontalScrollBarThumb}))}var Kn=a.forwardRef(vo);Kn.displayName="List";var mo=Kn,go=mo}}]); diff --git a/3883.6c521ca9.async.js b/3883.6c521ca9.async.js new file mode 100644 index 0000000000..214186e314 --- /dev/null +++ b/3883.6c521ca9.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[3883],{23883:function(I,s,y){y.r(s),y.d(s,{groovy:function(){return C}});function f(e){for(var n={},t=e.split(" "),i=0;i"))return r="->",null;if(/[+\-*&%=<>!?|\/~]/.test(t))return e.eatWhile(/[+\-*&%=<>|~]/),"operator";if(e.eatWhile(/[\w\$_]/),t=="@")return e.eatWhile(/[\w\$_\.]/),"meta";if(n.lastToken==".")return"property";if(e.eat(":"))return r="proplabel","property";var i=e.current();return E.propertyIsEnumerable(i)?"atom":x.propertyIsEnumerable(i)?(z.propertyIsEnumerable(i)?r="newstatement":m.propertyIsEnumerable(i)&&(r="standalone"),"keyword"):"variable"}d.isBase=!0;function v(e,n,t){var i=!1;if(e!="/"&&n.eat(e))if(n.eat(e))i=!0;else return"string";function o(u,h){for(var p=!1,a,g=!i;(a=u.next())!=null;){if(a==e&&!p){if(!i)break;if(u.match(e+e)){g=!0;break}}if(e=='"'&&a=="$"&&!p){if(u.eat("{"))return h.tokenize.push(T()),"string";if(u.match(/^\w/,!1))return h.tokenize.push(B),"string"}p=!p&&a=="\\"}return g&&h.tokenize.pop(),"string"}return t.tokenize.push(o),o(n,t)}function T(){var e=1;function n(t,i){if(t.peek()=="}"){if(e--,e==0)return i.tokenize.pop(),i.tokenize[i.tokenize.length-1](t,i)}else t.peek()=="{"&&e++;return d(t,i)}return n.isBase=!0,n}function B(e,n){var t=e.match(/^(\.|[\w\$_]+)/);return t?t[0]=="."?null:"variable":(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](e,n))}function w(e,n){for(var t=!1,i;i=e.next();){if(i=="/"&&t){n.tokenize.pop();break}t=i=="*"}return"comment"}function k(e,n){return!e||e=="operator"||e=="->"||/[\.\[\{\(,;:]/.test(e)||e=="newstatement"||e=="keyword"||e=="proplabel"||e=="standalone"&&!n}function b(e,n,t,i,o){this.indented=e,this.column=n,this.type=t,this.align=i,this.prev=o}function c(e,n,t){return e.context=new b(e.indented,n,t,null,e.context)}function l(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}const C={name:"groovy",startState:function(e){return{tokenize:[d],context:new b(-e,0,"top",!1),indented:0,startOfLine:!0,lastToken:null}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0,t.type=="statement"&&!k(n.lastToken,!0)&&(l(n),t=n.context)),e.eatSpace())return null;r=null;var i=n.tokenize[n.tokenize.length-1](e,n);if(i=="comment")return i;if(t.align==null&&(t.align=!0),(r==";"||r==":")&&t.type=="statement")l(n);else if(r=="->"&&t.type=="statement"&&t.prev.type=="}")l(n),n.context.align=!1;else if(r=="{")c(n,e.column(),"}");else if(r=="[")c(n,e.column(),"]");else if(r=="(")c(n,e.column(),")");else if(r=="}"){for(;t.type=="statement";)t=l(n);for(t.type=="}"&&(t=l(n));t.type=="statement";)t=l(n)}else r==t.type?l(n):(t.type=="}"||t.type=="top"||t.type=="statement"&&r=="newstatement")&&c(n,e.column(),"statement");return n.startOfLine=!1,n.lastToken=r||i,i},indent:function(e,n,t){if(!e.tokenize[e.tokenize.length-1].isBase)return null;var i=n&&n.charAt(0),o=e.context;o.type=="statement"&&!k(e.lastToken,!0)&&(o=o.prev);var u=i==o.type;return o.type=="statement"?o.indented+(i=="{"?0:t.unit):o.align?o.column+(u?0:1):o.indented+(u?0:t.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""']}}}}}]); diff --git a/3993.91b47ce9.async.js b/3993.91b47ce9.async.js new file mode 100644 index 0000000000..b33802d070 --- /dev/null +++ b/3993.91b47ce9.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[3993],{83993:function(h,a,f){f.r(a),f.d(a,{puppet:function(){return d}});var u={},l=/({)?([a-z][a-z0-9_]*)?((::[a-z][a-z0-9_]*)*::)?[a-zA-Z0-9_]+(})?/;function t(e,n){for(var i=n.split(" "),o=0;o.*/,!1),c=e.match(/(\s+)?[\w:_]+(\s+)?{/,!1),g=e.match(/(\s+)?[@]{1,2}[\w:_]+(\s+)?{/,!1),r=e.next();if(r==="$")return e.match(l)?n.continueString?"variableName.special":"variable":"error";if(n.continueString)return e.backUp(1),s(e,n);if(n.inDefinition){if(e.match(/(\s+)?[\w:_]+(\s+)?/))return"def";e.match(/\s+{/),n.inDefinition=!1}return n.inInclude?(e.match(/(\s+)?\S+(\s+)?/),n.inInclude=!1,"def"):e.match(/(\s+)?\w+\(/)?(e.backUp(1),"def"):o?(e.match(/(\s+)?\w+/),"tag"):i&&u.hasOwnProperty(i)?(e.backUp(1),e.match(/[\w]+/),e.match(/\s+\S+\s+{/,!1)&&(n.inDefinition=!0),i=="include"&&(n.inInclude=!0),u[i]):/(^|\s+)[A-Z][\w:_]+/.test(i)?(e.backUp(1),e.match(/(^|\s+)[A-Z][\w:_]+/),"def"):c?(e.match(/(\s+)?[\w:_]+/),"def"):g?(e.match(/(\s+)?[@]{1,2}/),"atom"):r=="#"?(e.skipToEnd(),"comment"):r=="'"||r=='"'?(n.pending=r,s(e,n)):r=="{"||r=="}"?"bracket":r=="/"?(e.match(/^[^\/]*\//),"string.special"):r.match(/[0-9]/)?(e.eatWhile(/[0-9]+/),"number"):r=="="?(e.peek()==">"&&e.next(),"operator"):(e.eatWhile(/[\w-]/),null)}const d={name:"puppet",startState:function(){var e={};return e.inDefinition=!1,e.inInclude=!1,e.continueString=!1,e.pending=!1,e},token:function(e,n){return e.eatSpace()?null:p(e,n)}}}}]); diff --git a/402.bcd5782d.async.js b/402.bcd5782d.async.js new file mode 100644 index 0000000000..31c7b78d59 --- /dev/null +++ b/402.bcd5782d.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[402],{60402:function(w,u,f){f.r(u),f.d(u,{liveScript:function(){return v}});var p=function(e,n){var g=n.next||"start";if(g){n.next=n.next;var d=x[g];if(d.splice){for(var c=0;c|\\b(?:e(?:lse|xport)|d(?:o|efault)|t(?:ry|hen)|finally|import(?:\\s*all)?|const|var|let|new|catch(?:\\s*"+a+")?))\\s*$"),r="(?![$\\w]|-[A-Za-z]|\\s*:(?![:=]))",o={token:"string",regex:".+"},x={start:[{token:"docComment",regex:"/\\*",next:"comment"},{token:"comment",regex:"#.*"},{token:"keyword",regex:"(?:t(?:h(?:is|row|en)|ry|ypeof!?)|c(?:on(?:tinue|st)|a(?:se|tch)|lass)|i(?:n(?:stanceof)?|mp(?:ort(?:\\s+all)?|lements)|[fs])|d(?:e(?:fault|lete|bugger)|o)|f(?:or(?:\\s+own)?|inally|unction)|s(?:uper|witch)|e(?:lse|x(?:tends|port)|val)|a(?:nd|rguments)|n(?:ew|ot)|un(?:less|til)|w(?:hile|ith)|o[fr]|return|break|let|var|loop)"+r},{token:"atom",regex:"(?:true|false|yes|no|on|off|null|void|undefined)"+r},{token:"invalid",regex:"(?:p(?:ackage|r(?:ivate|otected)|ublic)|i(?:mplements|nterface)|enum|static|yield)"+r},{token:"className.standard",regex:"(?:R(?:e(?:gExp|ferenceError)|angeError)|S(?:tring|yntaxError)|E(?:rror|valError)|Array|Boolean|Date|Function|Number|Object|TypeError|URIError)"+r},{token:"variableName.function.standard",regex:"(?:is(?:NaN|Finite)|parse(?:Int|Float)|Math|JSON|(?:en|de)codeURI(?:Component)?)"+r},{token:"variableName.standard",regex:"(?:t(?:hat|il|o)|f(?:rom|allthrough)|it|by|e)"+r},{token:"variableName",regex:a+"\\s*:(?![:=])"},{token:"variableName",regex:a},{token:"operatorKeyword",regex:"(?:\\.{3}|\\s+\\?)"},{token:"keyword",regex:"(?:@+|::|\\.\\.)",next:"key"},{token:"operatorKeyword",regex:"\\.\\s*",next:"key"},{token:"string",regex:"\\\\\\S[^\\s,;)}\\]]*"},{token:"docString",regex:"'''",next:"qdoc"},{token:"docString",regex:'"""',next:"qqdoc"},{token:"string",regex:"'",next:"qstring"},{token:"string",regex:'"',next:"qqstring"},{token:"string",regex:"`",next:"js"},{token:"string",regex:"<\\[",next:"words"},{token:"regexp",regex:"//",next:"heregex"},{token:"regexp",regex:"\\/(?:[^[\\/\\n\\\\]*(?:(?:\\\\.|\\[[^\\]\\n\\\\]*(?:\\\\.[^\\]\\n\\\\]*)*\\])[^[\\/\\n\\\\]*)*)\\/[gimy$]{0,4}",next:"key"},{token:"number",regex:"(?:0x[\\da-fA-F][\\da-fA-F_]*|(?:[2-9]|[12]\\d|3[0-6])r[\\da-zA-Z][\\da-zA-Z_]*|(?:\\d[\\d_]*(?:\\.\\d[\\d_]*)?|\\.\\d[\\d_]*)(?:e[+-]?\\d[\\d_]*)?[\\w$]*)"},{token:"paren",regex:"[({[]"},{token:"paren",regex:"[)}\\]]",next:"key"},{token:"operatorKeyword",regex:"\\S+"},{token:"content",regex:"\\s+"}],heregex:[{token:"regexp",regex:".*?//[gimy$?]{0,4}",next:"start"},{token:"regexp",regex:"\\s*#{"},{token:"comment",regex:"\\s+(?:#.*)?"},{token:"regexp",regex:"\\S+"}],key:[{token:"operatorKeyword",regex:"[.?@!]+"},{token:"variableName",regex:a,next:"start"},{token:"content",regex:"",next:"start"}],comment:[{token:"docComment",regex:".*?\\*/",next:"start"},{token:"docComment",regex:".+"}],qdoc:[{token:"string",regex:".*?'''",next:"key"},o],qqdoc:[{token:"string",regex:'.*?"""',next:"key"},o],qstring:[{token:"string",regex:"[^\\\\']*(?:\\\\.[^\\\\']*)*'",next:"key"},o],qqstring:[{token:"string",regex:'[^\\\\"]*(?:\\\\.[^\\\\"]*)*"',next:"key"},o],js:[{token:"string",regex:"[^\\\\`]*(?:\\\\.[^\\\\`]*)*`",next:"key"},o],words:[{token:"string",regex:".*?\\]>",next:"key"},o]};for(var k in x){var i=x[k];if(i.splice)for(var s=0,m=i.length;s",symbolGlobal:"\\*"+f+"\\*",symbolConstant:"\\$"+f},g={symbolKeyword:"atom",symbolClass:"tag",symbolGlobal:"variableName.standard",symbolConstant:"variableName.constant"};for(var c in l)l.hasOwnProperty(c)&&(l[c]=new RegExp("^"+l[c]));l.keyword=[/^with(?:out)?-[-_a-zA-Z?!*@<>$%]+/];var u={};u.keyword="keyword",u.definition="def",u.simpleDefinition="def",u.signalingCalls="builtin";var y={},k={};h(["keyword","definition","simpleDefinition","signalingCalls"],function(e){h(t[e],function(i){y[i]=e,k[i]=u[e]})});function d(e,i,n){return i.tokenize=n,n(e,i)}function s(e,i){var n=e.peek();if(n=="'"||n=='"')return e.next(),d(e,i,x(n,"string"));if(n=="/"){if(e.next(),e.eat("*"))return d(e,i,m);if(e.eat("/"))return e.skipToEnd(),"comment";e.backUp(1)}else if(/[+\-\d\.]/.test(n)){if(e.match(/^[+-]?[0-9]*\.[0-9]*([esdx][+-]?[0-9]+)?/i)||e.match(/^[+-]?[0-9]+([esdx][+-]?[0-9]+)/i)||e.match(/^[+-]?\d+/))return"number"}else{if(n=="#")return e.next(),n=e.peek(),n=='"'?(e.next(),d(e,i,x('"',"string"))):n=="b"?(e.next(),e.eatWhile(/[01]/),"number"):n=="x"?(e.next(),e.eatWhile(/[\da-f]/i),"number"):n=="o"?(e.next(),e.eatWhile(/[0-7]/),"number"):n=="#"?(e.next(),"punctuation"):n=="["||n=="("?(e.next(),"bracket"):e.match(/f|t|all-keys|include|key|next|rest/i)?"atom":(e.eatWhile(/[-a-zA-Z]/),"error");if(n=="~")return e.next(),n=e.peek(),n=="="?(e.next(),n=e.peek(),n=="="&&e.next(),"operator"):"operator";if(n==":"){if(e.next(),n=e.peek(),n=="=")return e.next(),"operator";if(n==":")return e.next(),"punctuation"}else{if("[](){}".indexOf(n)!=-1)return e.next(),"bracket";if(".,".indexOf(n)!=-1)return e.next(),"punctuation";if(e.match("end"))return"keyword"}}for(var a in l)if(l.hasOwnProperty(a)){var o=l[a];if(o instanceof Array&&w(o,function(r){return e.match(r)})||e.match(o))return g[a]}return/[+\-*\/^=<>&|]/.test(n)?(e.next(),"operator"):e.match("define")?"def":(e.eatWhile(/[\w\-]/),y.hasOwnProperty(e.current())?k[e.current()]:e.current().match(D)?"variable":(e.next(),"variableName.standard"))}function m(e,i){for(var n=!1,a=!1,o=0,r;r=e.next();){if(r=="/"&&n)if(o>0)o--;else{i.tokenize=s;break}else r=="*"&&a&&o++;n=r=="*",a=r=="/"}return"comment"}function x(e,i){return function(n,a){for(var o=!1,r,v=!1;(r=n.next())!=null;){if(r==e&&!o){v=!0;break}o=!o&&r=="\\"}return(v||!o)&&(a.tokenize=s),i}}const C={name:"dylan",startState:function(){return{tokenize:s,currentIndent:0}},token:function(e,i){if(e.eatSpace())return null;var n=i.tokenize(e,i);return n},languageData:{commentTokens:{block:{open:"/*",close:"*/"}}}}}}]); diff --git a/4212.2c646e7b.async.js b/4212.2c646e7b.async.js new file mode 100644 index 0000000000..5f31651d61 --- /dev/null +++ b/4212.2c646e7b.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[4212],{44212:function(j,a,f){f.r(a),f.d(a,{vb:function(){return D}});var u="error";function o(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var m=new RegExp("^[\\+\\-\\*/%&\\\\|\\^~<>!]"),x=new RegExp("^[\\(\\)\\[\\]\\{\\}@,:`=;\\.]"),I=new RegExp("^((==)|(<>)|(<=)|(>=)|(<>)|(<<)|(>>)|(//)|(\\*\\*))"),R=new RegExp("^((\\+=)|(\\-=)|(\\*=)|(%=)|(/=)|(&=)|(\\|=)|(\\^=))"),C=new RegExp("^((//=)|(>>=)|(<<=)|(\\*\\*=))"),O=new RegExp("^[_A-Za-z][_A-Za-z0-9]*"),h=["class","module","sub","enum","select","while","if","function","get","set","property","try","structure","synclock","using","with"],s=["else","elseif","case","catch","finally"],v=["next","loop"],p=["and","andalso","or","orelse","xor","in","not","is","isnot","like"],z=o(p),g=["#const","#else","#elseif","#end","#if","#region","addhandler","addressof","alias","as","byref","byval","cbool","cbyte","cchar","cdate","cdbl","cdec","cint","clng","cobj","compare","const","continue","csbyte","cshort","csng","cstr","cuint","culng","cushort","declare","default","delegate","dim","directcast","each","erase","error","event","exit","explicit","false","for","friend","gettype","goto","handles","implements","imports","infer","inherits","interface","isfalse","istrue","lib","me","mod","mustinherit","mustoverride","my","mybase","myclass","namespace","narrowing","new","nothing","notinheritable","notoverridable","of","off","on","operator","option","optional","out","overloads","overridable","overrides","paramarray","partial","private","protected","public","raiseevent","readonly","redim","removehandler","resume","return","shadows","shared","static","step","stop","strict","then","throw","to","true","trycast","typeof","until","until","when","widening","withevents","writeonly"],y=["object","boolean","char","string","byte","sbyte","short","ushort","int16","uint16","integer","uinteger","int32","uint32","long","ulong","int64","uint64","decimal","single","double","float","date","datetime","intptr","uintptr"],E=o(g),S=o(y),T='"',_=o(h),w=o(s),b=o(v),k=o(["end"]),F=o(["do"]),K=null;function d(e,n){n.currentIndent++}function c(e,n){n.currentIndent--}function l(e,n){if(e.eatSpace())return null;var i=e.peek();if(i==="'")return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.a-f]/i,!1)){var r=!1;if((e.match(/^\d*\.\d+F?/i)||e.match(/^\d+\.\d*F?/)||e.match(/^\.\d+F?/))&&(r=!0),r)return e.eat(/J/i),"number";var t=!1;if(e.match(/^&H[0-9a-f]+/i)||e.match(/^&O[0-7]+/i)?t=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),t=!0):e.match(/^0(?![\dx])/i)&&(t=!0),t)return e.eat(/L/i),"number"}return e.match(T)?(n.tokenize=L(e.current()),n.tokenize(e,n)):e.match(C)||e.match(R)?null:e.match(I)||e.match(m)||e.match(z)?"operator":e.match(x)?null:e.match(F)?(d(e,n),n.doInCurrentLine=!0,"keyword"):e.match(_)?(n.doInCurrentLine?n.doInCurrentLine=!1:d(e,n),"keyword"):e.match(w)?"keyword":e.match(k)?(c(e,n),c(e,n),"keyword"):e.match(b)?(c(e,n),"keyword"):e.match(S)||e.match(E)?"keyword":e.match(O)?"variable":(e.next(),u)}function L(e){var n=e.length==1,i="string";return function(r,t){for(;!r.eol();){if(r.eatWhile(/[^'"]/),r.match(e))return t.tokenize=l,i;r.eat(/['"]/)}return n&&(t.tokenize=l),i}}function A(e,n){var i=n.tokenize(e,n),r=e.current();if(r===".")return i=n.tokenize(e,n),i==="variable"?"variable":u;var t="[({".indexOf(r);return t!==-1&&d(e,n),K==="dedent"&&c(e,n)||(t="])}".indexOf(r),t!==-1&&c(e,n))?u:i}const D={name:"vb",startState:function(){return{tokenize:l,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1}},token:function(e,n){e.sol()&&(n.currentIndent+=n.nextLineIndent,n.nextLineIndent=0,n.doInCurrentLine=0);var i=A(e,n);return n.lastToken={style:i,content:e.current()},i},indent:function(e,n,i){var r=n.replace(/^\s+|\s+$/g,"");return r.match(b)||r.match(k)||r.match(w)?i.unit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*i.unit},languageData:{closeBrackets:{brackets:["(","[","{",'"']},commentTokens:{line:"'"},autocomplete:h.concat(s).concat(v).concat(p).concat(g).concat(y)}}}}]); diff --git a/4293.1817728b.async.js b/4293.1817728b.async.js new file mode 100644 index 0000000000..73e486a237 --- /dev/null +++ b/4293.1817728b.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[4293],{94293:function(h,c,O){O.r(c),O.d(c,{perl:function(){return N}});function t(n,e){return n.string.charAt(n.pos+(e||0))}function I(n,e){if(e){var u=n.pos-e;return n.string.substr(u>=0?u:0,e)}else return n.string.substr(0,n.pos-1)}function T(n,e){var u=n.string.length,$=u-n.pos+1;return n.string.substr(n.pos,e&&e=($=n.string.length-1)?n.pos=$:n.pos=u}var p={"->":4,"++":4,"--":4,"**":4,"=~":4,"!~":4,"*":4,"/":4,"%":4,x:4,"+":4,"-":4,".":4,"<<":4,">>":4,"<":4,">":4,"<=":4,">=":4,lt:4,gt:4,le:4,ge:4,"==":4,"!=":4,"<=>":4,eq:4,ne:4,cmp:4,"~~":4,"&":4,"|":4,"^":4,"&&":4,"||":4,"//":4,"..":4,"...":4,"?":4,":":4,"=":4,"+=":4,"-=":4,"*=":4,",":4,"=>":4,"::":4,not:4,and:4,or:4,xor:4,BEGIN:[5,1],END:[5,1],PRINT:[5,1],PRINTF:[5,1],GETC:[5,1],READ:[5,1],READLINE:[5,1],DESTROY:[5,1],TIE:[5,1],TIEHANDLE:[5,1],UNTIE:[5,1],STDIN:5,STDIN_TOP:5,STDOUT:5,STDOUT_TOP:5,STDERR:5,STDERR_TOP:5,$ARG:5,$_:5,"@ARG":5,"@_":5,$LIST_SEPARATOR:5,'$"':5,$PROCESS_ID:5,$PID:5,$$:5,$REAL_GROUP_ID:5,$GID:5,"$(":5,$EFFECTIVE_GROUP_ID:5,$EGID:5,"$)":5,$PROGRAM_NAME:5,$0:5,$SUBSCRIPT_SEPARATOR:5,$SUBSEP:5,"$;":5,$REAL_USER_ID:5,$UID:5,"$<":5,$EFFECTIVE_USER_ID:5,$EUID:5,"$>":5,$a:5,$b:5,$COMPILING:5,"$^C":5,$DEBUGGING:5,"$^D":5,"${^ENCODING}":5,$ENV:5,"%ENV":5,$SYSTEM_FD_MAX:5,"$^F":5,"@F":5,"${^GLOBAL_PHASE}":5,"$^H":5,"%^H":5,"@INC":5,"%INC":5,$INPLACE_EDIT:5,"$^I":5,"$^M":5,$OSNAME:5,"$^O":5,"${^OPEN}":5,$PERLDB:5,"$^P":5,$SIG:5,"%SIG":5,$BASETIME:5,"$^T":5,"${^TAINT}":5,"${^UNICODE}":5,"${^UTF8CACHE}":5,"${^UTF8LOCALE}":5,$PERL_VERSION:5,"$^V":5,"${^WIN32_SLOPPY_STAT}":5,$EXECUTABLE_NAME:5,"$^X":5,$1:5,$MATCH:5,"$&":5,"${^MATCH}":5,$PREMATCH:5,"$`":5,"${^PREMATCH}":5,$POSTMATCH:5,"$'":5,"${^POSTMATCH}":5,$LAST_PAREN_MATCH:5,"$+":5,$LAST_SUBMATCH_RESULT:5,"$^N":5,"@LAST_MATCH_END":5,"@+":5,"%LAST_PAREN_MATCH":5,"%+":5,"@LAST_MATCH_START":5,"@-":5,"%LAST_MATCH_START":5,"%-":5,$LAST_REGEXP_CODE_RESULT:5,"$^R":5,"${^RE_DEBUG_FLAGS}":5,"${^RE_TRIE_MAXBUF}":5,$ARGV:5,"@ARGV":5,ARGV:5,ARGVOUT:5,$OUTPUT_FIELD_SEPARATOR:5,$OFS:5,"$,":5,$INPUT_LINE_NUMBER:5,$NR:5,"$.":5,$INPUT_RECORD_SEPARATOR:5,$RS:5,"$/":5,$OUTPUT_RECORD_SEPARATOR:5,$ORS:5,"$\\":5,$OUTPUT_AUTOFLUSH:5,"$|":5,$ACCUMULATOR:5,"$^A":5,$FORMAT_FORMFEED:5,"$^L":5,$FORMAT_PAGE_NUMBER:5,"$%":5,$FORMAT_LINES_LEFT:5,"$-":5,$FORMAT_LINE_BREAK_CHARACTERS:5,"$:":5,$FORMAT_LINES_PER_PAGE:5,"$=":5,$FORMAT_TOP_NAME:5,"$^":5,$FORMAT_NAME:5,"$~":5,"${^CHILD_ERROR_NATIVE}":5,$EXTENDED_OS_ERROR:5,"$^E":5,$EXCEPTIONS_BEING_CAUGHT:5,"$^S":5,$WARNING:5,"$^W":5,"${^WARNING_BITS}":5,$OS_ERROR:5,$ERRNO:5,"$!":5,"%OS_ERROR":5,"%ERRNO":5,"%!":5,$CHILD_ERROR:5,"$?":5,$EVAL_ERROR:5,"$@":5,$OFMT:5,"$#":5,"$*":5,$ARRAY_BASE:5,"$[":5,$OLD_PERL_VERSION:5,"$]":5,if:[1,1],elsif:[1,1],else:[1,1],while:[1,1],unless:[1,1],for:[1,1],foreach:[1,1],abs:1,accept:1,alarm:1,atan2:1,bind:1,binmode:1,bless:1,bootstrap:1,break:1,caller:1,chdir:1,chmod:1,chomp:1,chop:1,chown:1,chr:1,chroot:1,close:1,closedir:1,connect:1,continue:[1,1],cos:1,crypt:1,dbmclose:1,dbmopen:1,default:1,defined:1,delete:1,die:1,do:1,dump:1,each:1,endgrent:1,endhostent:1,endnetent:1,endprotoent:1,endpwent:1,endservent:1,eof:1,eval:1,exec:1,exists:1,exit:1,exp:1,fcntl:1,fileno:1,flock:1,fork:1,format:1,formline:1,getc:1,getgrent:1,getgrgid:1,getgrnam:1,gethostbyaddr:1,gethostbyname:1,gethostent:1,getlogin:1,getnetbyaddr:1,getnetbyname:1,getnetent:1,getpeername:1,getpgrp:1,getppid:1,getpriority:1,getprotobyname:1,getprotobynumber:1,getprotoent:1,getpwent:1,getpwnam:1,getpwuid:1,getservbyname:1,getservbyport:1,getservent:1,getsockname:1,getsockopt:1,given:1,glob:1,gmtime:1,goto:1,grep:1,hex:1,import:1,index:1,int:1,ioctl:1,join:1,keys:1,kill:1,last:1,lc:1,lcfirst:1,length:1,link:1,listen:1,local:2,localtime:1,lock:1,log:1,lstat:1,m:null,map:1,mkdir:1,msgctl:1,msgget:1,msgrcv:1,msgsnd:1,my:2,new:1,next:1,no:1,oct:1,open:1,opendir:1,ord:1,our:2,pack:1,package:1,pipe:1,pop:1,pos:1,print:1,printf:1,prototype:1,push:1,q:null,qq:null,qr:null,quotemeta:null,qw:null,qx:null,rand:1,read:1,readdir:1,readline:1,readlink:1,readpipe:1,recv:1,redo:1,ref:1,rename:1,require:1,reset:1,return:1,reverse:1,rewinddir:1,rindex:1,rmdir:1,s:null,say:1,scalar:1,seek:1,seekdir:1,select:1,semctl:1,semget:1,semop:1,send:1,setgrent:1,sethostent:1,setnetent:1,setpgrp:1,setpriority:1,setprotoent:1,setpwent:1,setservent:1,setsockopt:1,shift:1,shmctl:1,shmget:1,shmread:1,shmwrite:1,shutdown:1,sin:1,sleep:1,socket:1,socketpair:1,sort:1,splice:1,split:1,sprintf:1,sqrt:1,srand:1,stat:1,state:1,study:1,sub:1,substr:1,symlink:1,syscall:1,sysopen:1,sysread:1,sysseek:1,system:1,syswrite:1,tell:1,telldir:1,tie:1,tied:1,time:1,times:1,tr:null,truncate:1,uc:1,ucfirst:1,umask:1,undef:1,unlink:1,unpack:1,unshift:1,untie:1,use:1,utime:1,values:1,vec:1,wait:1,waitpid:1,wantarray:1,warn:1,when:1,write:1,y:null},f="string.special",l=/[goseximacplud]/;function r(n,e,u,$,E){return e.chain=null,e.style=null,e.tail=null,e.tokenize=function(i,R){for(var d=!1,g,S=0;g=i.next();){if(g===u[S]&&!d)return u[++S]!==void 0?(R.chain=u[S],R.style=$,R.tail=E):E&&i.eatWhile(E),R.tokenize=_,$;d=!d&&g=="\\"}return $},e.tokenize(n,e)}function A(n,e,u){return e.tokenize=function($,E){return $.string==u&&(E.tokenize=_),$.skipToEnd(),"string"},e.tokenize(n,e)}function _(n,e){if(n.eatSpace())return null;if(e.chain)return r(n,e,e.chain,e.style,e.tail);if(n.match(/^(\-?((\d[\d_]*)?\.\d+(e[+-]?\d+)?|\d+\.\d*)|0x[\da-fA-F_]+|0b[01_]+|\d[\d_]*(e[+-]?\d+)?)/))return"number";if(n.match(/^<<(?=[_a-zA-Z])/))return n.eatWhile(/\w/),A(n,e,n.current().substr(2));if(n.sol()&&n.match(/^\=item(?!\w)/))return A(n,e,"=cut");var u=n.next();if(u=='"'||u=="'"){if(I(n,3)=="<<"+u){var $=n.pos;n.eatWhile(/\w/);var E=n.current().substr(1);if(E&&n.eat(u))return A(n,e,E);n.pos=$}return r(n,e,[u],"string")}if(u=="q"){var i=t(n,-2);if(!(i&&/\w/.test(i))){if(i=t(n,0),i=="x"){if(i=t(n,1),i=="(")return o(n,2),r(n,e,[")"],f,l);if(i=="[")return o(n,2),r(n,e,["]"],f,l);if(i=="{")return o(n,2),r(n,e,["}"],f,l);if(i=="<")return o(n,2),r(n,e,[">"],f,l);if(/[\^'"!~\/]/.test(i))return o(n,1),r(n,e,[n.eat(i)],f,l)}else if(i=="q"){if(i=t(n,1),i=="(")return o(n,2),r(n,e,[")"],"string");if(i=="[")return o(n,2),r(n,e,["]"],"string");if(i=="{")return o(n,2),r(n,e,["}"],"string");if(i=="<")return o(n,2),r(n,e,[">"],"string");if(/[\^'"!~\/]/.test(i))return o(n,1),r(n,e,[n.eat(i)],"string")}else if(i=="w"){if(i=t(n,1),i=="(")return o(n,2),r(n,e,[")"],"bracket");if(i=="[")return o(n,2),r(n,e,["]"],"bracket");if(i=="{")return o(n,2),r(n,e,["}"],"bracket");if(i=="<")return o(n,2),r(n,e,[">"],"bracket");if(/[\^'"!~\/]/.test(i))return o(n,1),r(n,e,[n.eat(i)],"bracket")}else if(i=="r"){if(i=t(n,1),i=="(")return o(n,2),r(n,e,[")"],f,l);if(i=="[")return o(n,2),r(n,e,["]"],f,l);if(i=="{")return o(n,2),r(n,e,["}"],f,l);if(i=="<")return o(n,2),r(n,e,[">"],f,l);if(/[\^'"!~\/]/.test(i))return o(n,1),r(n,e,[n.eat(i)],f,l)}else if(/[\^'"!~\/(\[{<]/.test(i)){if(i=="(")return o(n,1),r(n,e,[")"],"string");if(i=="[")return o(n,1),r(n,e,["]"],"string");if(i=="{")return o(n,1),r(n,e,["}"],"string");if(i=="<")return o(n,1),r(n,e,[">"],"string");if(/[\^'"!~\/]/.test(i))return r(n,e,[n.eat(i)],"string")}}}if(u=="m"){var i=t(n,-2);if(!(i&&/\w/.test(i))&&(i=n.eat(/[(\[{<\^'"!~\/]/),i)){if(/[\^'"!~\/]/.test(i))return r(n,e,[i],f,l);if(i=="(")return r(n,e,[")"],f,l);if(i=="[")return r(n,e,["]"],f,l);if(i=="{")return r(n,e,["}"],f,l);if(i=="<")return r(n,e,[">"],f,l)}}if(u=="s"){var i=/[\/>\]})\w]/.test(t(n,-2));if(!i&&(i=n.eat(/[(\[{<\^'"!~\/]/),i))return i=="["?r(n,e,["]","]"],f,l):i=="{"?r(n,e,["}","}"],f,l):i=="<"?r(n,e,[">",">"],f,l):i=="("?r(n,e,[")",")"],f,l):r(n,e,[i,i],f,l)}if(u=="y"){var i=/[\/>\]})\w]/.test(t(n,-2));if(!i&&(i=n.eat(/[(\[{<\^'"!~\/]/),i))return i=="["?r(n,e,["]","]"],f,l):i=="{"?r(n,e,["}","}"],f,l):i=="<"?r(n,e,[">",">"],f,l):i=="("?r(n,e,[")",")"],f,l):r(n,e,[i,i],f,l)}if(u=="t"){var i=/[\/>\]})\w]/.test(t(n,-2));if(!i&&(i=n.eat("r"),i&&(i=n.eat(/[(\[{<\^'"!~\/]/),i)))return i=="["?r(n,e,["]","]"],f,l):i=="{"?r(n,e,["}","}"],f,l):i=="<"?r(n,e,[">",">"],f,l):i=="("?r(n,e,[")",")"],f,l):r(n,e,[i,i],f,l)}if(u=="`")return r(n,e,[u],"builtin");if(u=="/")return/~\s*$/.test(I(n))?r(n,e,[u],f,l):"operator";if(u=="$"){var $=n.pos;if(n.eatWhile(/\d/)||n.eat("{")&&n.eatWhile(/\d/)&&n.eat("}"))return"builtin";n.pos=$}if(/[$@%]/.test(u)){var $=n.pos;if(n.eat("^")&&n.eat(/[A-Z]/)||!/[@$%&]/.test(t(n,-2))&&n.eat(/[=|\\\-#?@;:&`~\^!\[\]*'"$+.,\/<>()]/)){var i=n.current();if(p[i])return"builtin"}n.pos=$}if(/[$@%&]/.test(u)&&(n.eatWhile(/[\w$]/)||n.eat("{")&&n.eatWhile(/[\w$]/)&&n.eat("}"))){var i=n.current();return p[i]?"builtin":"variable"}if(u=="#"&&t(n,-2)!="$")return n.skipToEnd(),"comment";if(/[:+\-\^*$&%@=<>!?|\/~\.]/.test(u)){var $=n.pos;if(n.eatWhile(/[:+\-\^*$&%@=<>!?|\/~\.]/),p[n.current()])return"operator";n.pos=$}if(u=="_"&&n.pos==1){if(T(n,6)=="_END__")return r(n,e,["\0"],"comment");if(T(n,7)=="_DATA__")return r(n,e,["\0"],"builtin");if(T(n,7)=="_C__")return r(n,e,["\0"],"string")}if(/\w/.test(u)){var $=n.pos;if(t(n,-2)=="{"&&(t(n,0)=="}"||n.eatWhile(/\w/)&&t(n,0)=="}"))return"string";n.pos=$}if(/[A-Z]/.test(u)){var R=t(n,-2),$=n.pos;if(n.eatWhile(/[A-Z_]/),/[\da-z]/.test(t(n,0)))n.pos=$;else{var i=p[n.current()];return i?(i[1]&&(i=i[0]),R!=":"?i==1?"keyword":i==2?"def":i==3?"atom":i==4?"operator":i==5?"builtin":"meta":"meta"):"meta"}}if(/[a-zA-Z_]/.test(u)){var R=t(n,-2);n.eatWhile(/\w/);var i=p[n.current()];return i?(i[1]&&(i=i[0]),R!=":"?i==1?"keyword":i==2?"def":i==3?"atom":i==4?"operator":i==5?"builtin":"meta":"meta"):"meta"}return null}const N={name:"perl",startState:function(){return{tokenize:_,chain:null,style:null,tail:null}},token:function(n,e){return(e.tokenize||_)(n,e)},languageData:{commentTokens:{line:"#"},wordChars:"$"}}}}]); diff --git a/4323.3fbc1c4d.async.js b/4323.3fbc1c4d.async.js new file mode 100644 index 0000000000..a3832b488e --- /dev/null +++ b/4323.3fbc1c4d.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[4323],{74323:function(J,x,z){z.r(x),z.d(x,{cython:function(){return B},mkPython:function(){return s},python:function(){return R}});function k(o){return new RegExp("^(("+o.join(")|(")+"))\\b")}var I=k(["and","or","not","is"]),S=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in","False","True"],_=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];function c(o){return o.scopes[o.scopes.length-1]}function s(o){for(var p="error",D=o.delimiters||o.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,h=[o.singleOperators,o.doubleOperators,o.doubleDelimiters,o.tripleDelimiters,o.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@]|\.\.\.)/],g=0;gi?A(n,e):u0&&O(n,e)&&(t+=" "+p),t}}return w(n,e)}function w(n,e,r){if(n.eatSpace())return null;if(!r&&n.match(/^#.*/))return"comment";if(n.match(/^[0-9\.]/,!1)){var i=!1;if(n.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(i=!0),n.match(/^[\d_]+\.\d*/)&&(i=!0),n.match(/^\.\d+/)&&(i=!0),i)return n.eat(/J/i),"number";var u=!1;if(n.match(/^0x[0-9a-f_]+/i)&&(u=!0),n.match(/^0b[01_]+/i)&&(u=!0),n.match(/^0o[0-7_]+/i)&&(u=!0),n.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(n.eat(/J/i),u=!0),n.match(/^0(?![\dx])/i)&&(u=!0),u)return n.eat(/L/i),"number"}if(n.match(E)){var t=n.current().toLowerCase().indexOf("f")!==-1;return t?(e.tokenize=P(n.current(),e.tokenize),e.tokenize(n,e)):(e.tokenize=Z(n.current(),e.tokenize),e.tokenize(n,e))}for(var l=0;l=0;)n=n.substr(1);var r=n.length==1,i="string";function u(l){return function(f,b){var m=w(f,b,!0);return m=="punctuation"&&(f.current()=="{"?b.tokenize=u(l+1):f.current()=="}"&&(l>1?b.tokenize=u(l-1):b.tokenize=t)),m}}function t(l,f){for(;!l.eol();)if(l.eatWhile(/[^'"\{\}\\]/),l.eat("\\")){if(l.next(),r&&l.eol())return i}else{if(l.match(n))return f.tokenize=e,i;if(l.match("{{"))return i;if(l.match("{",!1))return f.tokenize=u(0),l.current()?i:f.tokenize(l,f);if(l.match("}}"))return i;if(l.match("}"))return p;l.eat(/['"]/)}if(r){if(o.singleLineStringErrors)return p;f.tokenize=e}return i}return t.isString=!0,t}function Z(n,e){for(;"rubf".indexOf(n.charAt(0).toLowerCase())>=0;)n=n.substr(1);var r=n.length==1,i="string";function u(t,l){for(;!t.eol();)if(t.eatWhile(/[^'"\\]/),t.eat("\\")){if(t.next(),r&&t.eol())return i}else{if(t.match(n))return l.tokenize=e,i;t.eat(/['"]/)}if(r){if(o.singleLineStringErrors)return p;l.tokenize=e}return i}return u.isString=!0,u}function A(n,e){for(;c(e).type!="py";)e.scopes.pop();e.scopes.push({offset:c(e).offset+n.indentUnit,type:"py",align:null})}function $(n,e,r){var i=n.match(/^[\s\[\{\(]*(?:#|$)/,!1)?null:n.column()+1;e.scopes.push({offset:e.indent+(v||n.indentUnit),type:r,align:i})}function O(n,e){for(var r=n.indentation();e.scopes.length>1&&c(e).offset>r;){if(c(e).type!="py")return!0;e.scopes.pop()}return c(e).offset!=r}function j(n,e){n.sol()&&(e.beginningOfLine=!0,e.dedent=!1);var r=e.tokenize(n,e),i=n.current();if(e.beginningOfLine&&i=="@")return n.match(y,!1)?"meta":T?"operator":p;if(/\S/.test(i)&&(e.beginningOfLine=!1),(r=="variable"||r=="builtin")&&e.lastToken=="meta"&&(r="meta"),(i=="pass"||i=="return")&&(e.dedent=!0),i=="lambda"&&(e.lambda=!0),i==":"&&!e.lambda&&c(e).type=="py"&&n.match(/^\s*(?:#|$)/,!1)&&A(n,e),i.length==1&&!/string|comment/.test(r)){var u="[({".indexOf(i);if(u!=-1&&$(n,e,"])}".slice(u,u+1)),u="])}".indexOf(i),u!=-1)if(c(e).type==i)e.indent=e.scopes.pop().offset-(v||n.indentUnit);else return p}return e.dedent&&n.eol()&&c(e).type=="py"&&e.scopes.length>1&&e.scopes.pop(),r}return{name:"python",startState:function(){return{tokenize:F,scopes:[{offset:0,type:"py",align:null}],indent:0,lastToken:null,lambda:!1,dedent:0}},token:function(n,e){var r=e.errorToken;r&&(e.errorToken=!1);var i=j(n,e);return i&&i!="comment"&&(e.lastToken=i=="keyword"||i=="punctuation"?n.current():i),i=="punctuation"&&(i=null),n.eol()&&e.lambda&&(e.lambda=!1),r?p:i},indent:function(n,e,r){if(n.tokenize!=F)return n.tokenize.isString?null:0;var i=c(n),u=i.type==e.charAt(0)||i.type=="py"&&!n.dedent&&/^(else:|elif |except |finally:)/.test(e);return i.align!=null?i.align-(u?1:0):i.offset-(u?v||r.unit:0)},languageData:{autocomplete:S.concat(_).concat(["exec","print"]),indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/,commentTokens:{line:"#"},closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""']}}}}var L=function(o){return o.split(" ")};const R=s({}),B=s({extra_keywords:L("by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE")})}}]); diff --git a/44.346a4bd5.async.js b/44.346a4bd5.async.js new file mode 100644 index 0000000000..87c0e26b77 --- /dev/null +++ b/44.346a4bd5.async.js @@ -0,0 +1,71 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[44],{80044:function(ba,mt,E){E.d(mt,{default:function(){return an}});var In=E(63697),ie=E(8745),V=E(67294),jn=E(87462),ht={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},A=ht,I=E(93771),ee=function(H,j){return V.createElement(I.Z,(0,jn.Z)({},H,{ref:j,icon:A}))},L=V.forwardRef(ee),nt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},me=nt,en=function(H,j){return V.createElement(I.Z,(0,jn.Z)({},H,{ref:j,icon:me}))},On=V.forwardRef(en),tt=E(17012),o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},at=o,T=function(H,j){return V.createElement(I.Z,(0,jn.Z)({},H,{ref:j,icon:at}))},c=V.forwardRef(T),d=E(94184),P=E.n(d),w=E(37914),M=E(9708),z=E(53124),he=E(98866),de=E(98675),pe=E(65223),Ee=E(10110),ae=E(4173),ke=E(87206),Te=E(14965);function Ye(S,H,j){return j!==void 0?j:H==="year"&&S.lang.yearPlaceholder?S.lang.yearPlaceholder:H==="quarter"&&S.lang.quarterPlaceholder?S.lang.quarterPlaceholder:H==="month"&&S.lang.monthPlaceholder?S.lang.monthPlaceholder:H==="week"&&S.lang.weekPlaceholder?S.lang.weekPlaceholder:H==="time"&&S.timePickerLocale.placeholder?S.timePickerLocale.placeholder:S.lang.placeholder}function nn(S,H,j){return j!==void 0?j:H==="year"&&S.lang.yearPlaceholder?S.lang.rangeYearPlaceholder:H==="quarter"&&S.lang.quarterPlaceholder?S.lang.rangeQuarterPlaceholder:H==="month"&&S.lang.monthPlaceholder?S.lang.rangeMonthPlaceholder:H==="week"&&S.lang.weekPlaceholder?S.lang.rangeWeekPlaceholder:H==="time"&&S.timePickerLocale.placeholder?S.timePickerLocale.rangePlaceholder:S.lang.rangePlaceholder}function fe(S,H){const j={adjustX:1,adjustY:1};switch(H){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:j};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:j};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:j};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:j};default:return{points:S==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:j}}}function ue(S){return S?Array.isArray(S)?S:[S]:[]}function Ke(S){const{format:H,picker:j,showHour:Q,showMinute:oe,showSecond:Ve,use12Hours:Ae}=S,ve=ue(H)[0],re=Object.assign({},S);return H&&Array.isArray(H)&&(re.format=ve),ve&&typeof ve=="string"&&(!ve.includes("s")&&Ve===void 0&&(re.showSecond=!1),!ve.includes("m")&&oe===void 0&&(re.showMinute=!1),!ve.includes("H")&&!ve.includes("h")&&!ve.includes("K")&&!ve.includes("k")&&Q===void 0&&(re.showHour=!1),(ve.includes("a")||ve.includes("A"))&&Ae===void 0&&(re.use12Hours=!0)),j==="time"?re:(typeof ve=="function"&&delete re.format,{showTime:re})}function Ne(S,H,j){if(S===!1)return!1;const Q={clearIcon:H!=null?H:j};return typeof S=="object"?Object.assign(Object.assign({},Q),S):Q}var _e=E(15867);function Un(S){return V.createElement(_e.ZP,Object.assign({size:"small",type:"primary"},S))}var tn={button:Un},Fn=function(S,H){var j={};for(var Q in S)Object.prototype.hasOwnProperty.call(S,Q)&&H.indexOf(Q)<0&&(j[Q]=S[Q]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,Q=Object.getOwnPropertySymbols(S);oe{const{prefixCls:oe,getPopupContainer:Ve,className:Ae,placement:ve,size:re,disabled:rn,bordered:_n=!0,placeholder:xe,popupClassName:on,dropdownClassName:jt,status:Ut,clearIcon:ta,allowClear:Ft,rootClassName:U}=j,We=Fn(j,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),zn=V.useRef(null),{getPrefixCls:ot,direction:Nt,getPopupContainer:Tn}=(0,V.useContext)(z.E_),ze=ot("picker",oe),{compactSize:Kt,compactItemClassnames:Zt}=(0,ae.ri)(ze,Nt),{format:_t,showTime:Qn,picker:lt}=j,aa=ot(),[it,bt]=(0,Te.ZP)(ze),Gn=Object.assign(Object.assign({},Qn?Ke(Object.assign({format:_t,picker:lt},Qn)):{}),lt==="time"?Ke(Object.assign(Object.assign({format:_t},j),{picker:lt})):{}),Yn=(0,de.Z)(Qe=>{var Vn;return(Vn=re!=null?re:Kt)!==null&&Vn!==void 0?Vn:Qe}),dn=V.useContext(he.Z),ra=rn!=null?rn:dn,oa=(0,V.useContext)(pe.aM),{hasFeedback:Xn,status:zt,feedbackIcon:Qt}=oa,Dt=V.createElement(V.Fragment,null,lt==="time"?V.createElement(On,null):V.createElement(L,null),Xn&&Qt);(0,V.useImperativeHandle)(Q,()=>({focus:()=>{var Qe;return(Qe=zn.current)===null||Qe===void 0?void 0:Qe.focus()},blur:()=>{var Qe;return(Qe=zn.current)===null||Qe===void 0?void 0:Qe.blur()}}));const[Gt]=(0,Ee.Z)("Calendar",ke.Z),xt=Object.assign(Object.assign({},Gt),j.locale);return it(V.createElement(w.Sq,Object.assign({separator:V.createElement("span",{"aria-label":"to",className:`${ze}-separator`},V.createElement(c,null)),disabled:ra,ref:zn,dropdownAlign:fe(Nt,ve),placeholder:nn(xt,lt,xe),suffixIcon:Dt,prevIcon:V.createElement("span",{className:`${ze}-prev-icon`}),nextIcon:V.createElement("span",{className:`${ze}-next-icon`}),superPrevIcon:V.createElement("span",{className:`${ze}-super-prev-icon`}),superNextIcon:V.createElement("span",{className:`${ze}-super-next-icon`}),transitionName:`${aa}-slide-up`},We,Gn,{className:P()({[`${ze}-${Yn}`]:Yn,[`${ze}-borderless`]:!_n},(0,M.Z)(ze,(0,M.F)(zt,Ut),Xn),bt,Zt,Ae,U),locale:xt.lang,prefixCls:ze,getPopupContainer:Ve||Tn,generateConfig:S,components:tn,direction:Nt,dropdownClassName:P()(bt,on||jt,U),allowClear:Ne(Ft,ta,V.createElement(tt.Z,null))})))})}var Rn=function(S,H){var j={};for(var Q in S)Object.prototype.hasOwnProperty.call(S,Q)&&H.indexOf(Q)<0&&(j[Q]=S[Q]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,Q=Object.getOwnPropertySymbols(S);oe{const{prefixCls:Ut,getPopupContainer:ta,style:Ft,className:U,rootClassName:We,size:zn,bordered:ot=!0,placement:Nt,placeholder:Tn,popupClassName:ze,dropdownClassName:Kt,disabled:Zt,status:_t,clearIcon:Qn,allowClear:lt}=on,aa=Rn(on,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:it,direction:bt,getPopupContainer:Gn,[_n]:Yn}=(0,V.useContext)(z.E_),dn=it("picker",Ut),{compactSize:ra,compactItemClassnames:oa}=(0,ae.ri)(dn,bt),Xn=V.useRef(null),{format:zt,showTime:Qt}=on,[Dt,Gt]=(0,Te.ZP)(dn);(0,V.useImperativeHandle)(jt,()=>({focus:()=>{var $n;return($n=Xn.current)===null||$n===void 0?void 0:$n.focus()},blur:()=>{var $n;return($n=Xn.current)===null||$n===void 0?void 0:$n.blur()}}));const xt={showToday:!0};let Qe={};re&&(Qe.picker=re);const Vn=re||on.picker;Qe=Object.assign(Object.assign(Object.assign({},Qe),Qt?Ke(Object.assign({format:zt,picker:Vn},Qt)):{}),Vn==="time"?Ke(Object.assign(Object.assign({format:zt},on),{picker:Vn})):{});const Da=it(),sa=(0,de.Z)($n=>{var ia;return(ia=zn!=null?zn:ra)!==null&&ia!==void 0?ia:$n}),xa=V.useContext(he.Z),wa=Zt!=null?Zt:xa,da=(0,V.useContext)(pe.aM),{hasFeedback:la,status:Sa,feedbackIcon:Pa}=da,Ea=V.createElement(V.Fragment,null,Vn==="time"?V.createElement(On,null):V.createElement(L,null),la&&Pa),[ya]=(0,Ee.Z)("DatePicker",ke.Z),Xt=Object.assign(Object.assign({},ya),on.locale);return Dt(V.createElement(w.ZP,Object.assign({ref:Xn,placeholder:Ye(Xt,Vn,Tn),suffixIcon:Ea,dropdownAlign:fe(bt,Nt),prevIcon:V.createElement("span",{className:`${dn}-prev-icon`}),nextIcon:V.createElement("span",{className:`${dn}-next-icon`}),superPrevIcon:V.createElement("span",{className:`${dn}-super-prev-icon`}),superNextIcon:V.createElement("span",{className:`${dn}-super-next-icon`}),transitionName:`${Da}-slide-up`},xt,aa,Qe,{locale:Xt.lang,className:P()({[`${dn}-${sa}`]:sa,[`${dn}-borderless`]:!ot},(0,M.Z)(dn,(0,M.F)(Sa,_t),la),Gt,oa,Yn==null?void 0:Yn.className,U,We),style:Object.assign(Object.assign({},Yn==null?void 0:Yn.style),Ft),prefixCls:dn,getPopupContainer:ta||Gn,generateConfig:S,components:tn,direction:bt,disabled:wa,dropdownClassName:P()(Gt,We,ze||Kt),allowClear:Ne(lt,Qn,V.createElement(tt.Z,null))})))});return rn&&(xe.displayName=rn),xe}const j=H(),Q=H("week","WeekPicker"),oe=H("month","MonthPicker"),Ve=H("year","YearPicker"),Ae=H("time","TimePicker"),ve=H("quarter","QuarterPicker");return{DatePicker:j,WeekPicker:Q,MonthPicker:oe,YearPicker:Ve,TimePicker:Ae,QuarterPicker:ve}}const Ct=null;function pn(S){const{DatePicker:H,WeekPicker:j,MonthPicker:Q,YearPicker:oe,TimePicker:Ve,QuarterPicker:Ae}=pt(S),ve=yn(S),re=H;return re.WeekPicker=j,re.MonthPicker=Q,re.YearPicker=oe,re.RangePicker=ve,re.TimePicker=Ve,re.QuarterPicker=Ae,re}var rt=pn;const Cn=rt(In.Z);function bn(S){const H=fe(S.direction,S.placement);return H.overflow.adjustY=!1,H.overflow.adjustX=!1,Object.assign(Object.assign({},S),{dropdownAlign:H})}const Kn=(0,ie.Z)(Cn,"picker",null,bn);Cn._InternalPanelDoNotUseOrYouWillBeFired=Kn;const kt=(0,ie.Z)(Cn.RangePicker,"picker",null,bn);Cn._InternalRangePanelDoNotUseOrYouWillBeFired=kt,Cn.generatePicker=rt;var an=Cn},14965:function(ba,mt,E){E.d(mt,{GM:function(){return at},kX:function(){return en},vA:function(){return o}});var In=E(10274),ie=E(47673),V=E(14747),jn=E(79511),ht=E(80110),A=E(67771),I=E(33297),ee=E(45503),L=E(67968);const nt=(T,c,d,P)=>{const{lineHeight:w}=T,M=Math.floor(d*w)+2,z=Math.max((c-M)/2,0),he=Math.max(c-M-z,0);return{padding:`${z}px ${P}px ${he}px`}},me=T=>{const{componentCls:c,pickerCellCls:d,pickerCellInnerCls:P,cellHeight:w,motionDurationSlow:M,borderRadiusSM:z,motionDurationMid:he,cellHoverBg:de,lineWidth:pe,lineType:Ee,colorPrimary:ae,cellActiveWithRangeBg:ke,colorTextLightSolid:Te,controlHeightSM:Ye,cellRangeBorderColor:nn,pickerCellBorderGap:fe,cellHoverWithRangeBg:ue,cellWidth:Ke,colorTextDisabled:Ne,cellBgDisabled:_e}=T;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:w,transform:"translateY(-50%)",transition:`all ${M}`,content:'""'},[P]:{position:"relative",zIndex:2,display:"inline-block",minWidth:w,height:w,lineHeight:`${w}px`,borderRadius:z,transition:`background ${he}, border ${he}`},["&-range-hover-start, &-range-hover-end"]:{[P]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${d}-in-view), + &:hover:not(${d}-selected):not(${d}-range-start):not(${d}-range-end):not(${d}-range-hover-start):not(${d}-range-hover-end)`]:{[P]:{background:de}},[`&-in-view${d}-today ${P}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${pe}px ${Ee} ${ae}`,borderRadius:z,content:'""'}},[`&-in-view${d}-in-range`]:{position:"relative","&::before":{background:ke}},[`&-in-view${d}-selected ${P}, + &-in-view${d}-range-start ${P}, + &-in-view${d}-range-end ${P}`]:{color:Te,background:ae},[`&-in-view${d}-range-start:not(${d}-range-start-single), + &-in-view${d}-range-end:not(${d}-range-end-single)`]:{"&::before":{background:ke}},[`&-in-view${d}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${d}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${d}-range-hover-start:not(${d}-in-range):not(${d}-range-start):not(${d}-range-end), + &-in-view${d}-range-hover-end:not(${d}-in-range):not(${d}-range-start):not(${d}-range-end), + &-in-view${d}-range-hover-start${d}-range-start-single, + &-in-view${d}-range-hover-start${d}-range-start${d}-range-end${d}-range-end-near-hover, + &-in-view${d}-range-hover-end${d}-range-start${d}-range-end${d}-range-start-near-hover, + &-in-view${d}-range-hover-end${d}-range-end-single, + &-in-view${d}-range-hover:not(${d}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:Ye,borderTop:`${pe}px dashed ${nn}`,borderBottom:`${pe}px dashed ${nn}`,transform:"translateY(-50%)",transition:`all ${M}`,content:'""'}},[`&-range-hover-start::after, + &-range-hover-end::after, + &-range-hover::after`]:{insetInlineEnd:0,insetInlineStart:fe},[`&-in-view${d}-in-range${d}-range-hover::before, + &-in-view${d}-in-range${d}-range-hover-start::before, + &-in-view${d}-in-range${d}-range-hover-end::before, + &-in-view${d}-range-start${d}-range-hover::before, + &-in-view${d}-range-end${d}-range-hover::before, + &-in-view${d}-range-start:not(${d}-range-start-single)${d}-range-hover-start::before, + &-in-view${d}-range-end:not(${d}-range-end-single)${d}-range-hover-end::before, + ${c}-panel + > :not(${c}-date-panel) + &-in-view${d}-in-range${d}-range-hover-start::before, + ${c}-panel + > :not(${c}-date-panel) + &-in-view${d}-in-range${d}-range-hover-end::before`]:{background:ue},[`&-in-view${d}-range-start:not(${d}-range-start-single):not(${d}-range-end) ${P}`]:{borderStartStartRadius:z,borderEndStartRadius:z,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${d}-range-end:not(${d}-range-end-single):not(${d}-range-start) ${P}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:z,borderEndEndRadius:z},[`&-range-hover${d}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${d}-range-hover:first-child::after, + tr > &-in-view${d}-range-hover-end:first-child::after, + &-in-view${d}-start${d}-range-hover-edge-start${d}-range-hover-edge-start-near-range::after, + &-in-view${d}-range-hover-edge-start:not(${d}-range-hover-edge-start-near-range)::after, + &-in-view${d}-range-hover-start::after`]:{insetInlineStart:(Ke-w)/2,borderInlineStart:`${pe}px dashed ${nn}`,borderStartStartRadius:z,borderEndStartRadius:z},[`tr > &-in-view${d}-range-hover:last-child::after, + tr > &-in-view${d}-range-hover-start:last-child::after, + &-in-view${d}-end${d}-range-hover-edge-end${d}-range-hover-edge-end-near-range::after, + &-in-view${d}-range-hover-edge-end:not(${d}-range-hover-edge-end-near-range)::after, + &-in-view${d}-range-hover-end::after`]:{insetInlineEnd:(Ke-w)/2,borderInlineEnd:`${pe}px dashed ${nn}`,borderStartEndRadius:z,borderEndEndRadius:z},"&-disabled":{color:Ne,pointerEvents:"none",[P]:{background:"transparent"},"&::before":{background:_e}},[`&-disabled${d}-today ${P}::before`]:{borderColor:Ne}}},en=T=>{const{componentCls:c,pickerCellCls:d,pickerCellInnerCls:P,pickerYearMonthCellWidth:w,pickerControlIconSize:M,cellWidth:z,paddingSM:he,paddingXS:de,paddingXXS:pe,colorBgContainer:Ee,lineWidth:ae,lineType:ke,borderRadiusLG:Te,colorPrimary:Ye,colorTextHeading:nn,colorSplit:fe,pickerControlIconBorderWidth:ue,colorIcon:Ke,textHeight:Ne,motionDurationMid:_e,colorIconHover:Un,fontWeightStrong:X,cellHeight:tn,pickerCellPaddingVertical:Fn,colorTextDisabled:yn,colorText:Rn,fontSize:pt,cellHoverWithRangeBg:Ct,motionDurationSlow:pn,withoutTimeCellHeight:rt,pickerQuarterPanelContentHeight:Cn,colorLink:bn,colorLinkActive:Kn,colorLinkHover:kt,cellRangeBorderColor:an,borderRadiusSM:S,colorTextLightSolid:H,cellHoverBg:j,timeColumnHeight:Q,timeColumnWidth:oe,timeCellHeight:Ve,controlItemBgActive:Ae,marginXXS:ve,pickerDatePanelPaddingHorizontal:re}=T,rn=z*7+re*2,_n=(rn-de*2)/3-w-he,xe=(rn-de*2)/4-w;return{[c]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Ee,border:`${ae}px ${ke} ${fe}`,borderRadius:Te,outline:"none","&-focused":{borderColor:Ye},"&-rtl":{direction:"rtl",[`${c}-prev-icon, + ${c}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${c}-next-icon, + ${c}-super-next-icon`]:{transform:"rotate(-135deg)"}}},[`&-decade-panel, + &-year-panel, + &-quarter-panel, + &-month-panel, + &-week-panel, + &-date-panel, + &-time-panel`]:{display:"flex",flexDirection:"column",width:rn},"&-header":{display:"flex",padding:`0 ${de}px`,color:nn,borderBottom:`${ae}px ${ke} ${fe}`,"> *":{flex:"none"},button:{padding:0,color:Ke,lineHeight:`${Ne}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${_e}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:pt,"&:hover":{color:Un}},"&-view":{flex:"auto",fontWeight:X,lineHeight:`${Ne}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:de},"&:hover":{color:Ye}}}},[`&-prev-icon, + &-next-icon, + &-super-prev-icon, + &-super-next-icon`]:{position:"relative",display:"inline-block",width:M,height:M,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:M,height:M,border:"0 solid currentcolor",borderBlockStartWidth:ue,borderBlockEndWidth:0,borderInlineStartWidth:ue,borderInlineEndWidth:0,content:'""'}},[`&-super-prev-icon, + &-super-next-icon`]:{"&::after":{position:"absolute",top:Math.ceil(M/2),insetInlineStart:Math.ceil(M/2),display:"inline-block",width:M,height:M,border:"0 solid currentcolor",borderBlockStartWidth:ue,borderBlockEndWidth:0,borderInlineStartWidth:ue,borderInlineEndWidth:0,content:'""'}},[`&-prev-icon, + &-super-prev-icon`]:{transform:"rotate(-45deg)"},[`&-next-icon, + &-super-next-icon`]:{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:tn,fontWeight:"normal"},th:{height:tn+Fn*2,color:Rn,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${Fn}px 0`,color:yn,cursor:"pointer","&-in-view":{color:Rn}},me(T)),[`&-date-panel ${c}-cell-in-view${c}-cell-in-range${c}-cell-range-hover-start ${P}, + &-date-panel ${c}-cell-in-view${c}-cell-in-range${c}-cell-range-hover-end ${P}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:Ct,transition:`all ${pn}`,content:'""'}},[`&-date-panel + ${c}-cell-in-view${c}-cell-in-range${c}-cell-range-hover-start + ${P}::after`]:{insetInlineEnd:-(z-tn)/2,insetInlineStart:0},[`&-date-panel ${c}-cell-in-view${c}-cell-in-range${c}-cell-range-hover-end ${P}::after`]:{insetInlineEnd:0,insetInlineStart:-(z-tn)/2},[`&-range-hover${c}-range-start::after`]:{insetInlineEnd:"50%"},[`&-decade-panel, + &-year-panel, + &-quarter-panel, + &-month-panel`]:{[`${c}-content`]:{height:rt*4},[P]:{padding:`0 ${de}px`}},"&-quarter-panel":{[`${c}-content`]:{height:Cn},[`${c}-cell-range-hover-start::after`]:{insetInlineStart:xe,borderInlineStart:`${ae}px dashed ${an}`,[`${c}-panel-rtl &`]:{insetInlineEnd:xe,borderInlineEnd:`${ae}px dashed ${an}`}},[`${c}-cell-range-hover-end::after`]:{insetInlineEnd:xe,borderInlineEnd:`${ae}px dashed ${an}`,[`${c}-panel-rtl &`]:{insetInlineStart:xe,borderInlineStart:`${ae}px dashed ${an}`}}},[`&-panel ${c}-footer`]:{borderTop:`${ae}px ${ke} ${fe}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${Ne-2*ae}px`,textAlign:"center","&-extra":{padding:`0 ${he}px`,lineHeight:`${Ne-2*ae}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${ae}px ${ke} ${fe}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:bn,"&:hover":{color:kt},"&:active":{color:Kn},[`&${c}-today-btn-disabled`]:{color:yn,cursor:"not-allowed"}},"&-decade-panel":{[P]:{padding:`0 ${de/2}px`},[`${c}-cell::before`]:{display:"none"}},[`&-year-panel, + &-quarter-panel, + &-month-panel`]:{[`${c}-body`]:{padding:`0 ${de}px`},[P]:{width:w},[`${c}-cell-range-hover-start::after`]:{borderStartStartRadius:S,borderEndStartRadius:S,borderStartEndRadius:0,borderEndEndRadius:0,[`${c}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:S,borderEndEndRadius:S}},[`${c}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:S,borderEndEndRadius:S,[`${c}-panel-rtl &`]:{borderStartStartRadius:S,borderEndStartRadius:S,borderStartEndRadius:0,borderEndEndRadius:0}}},[`&-year-panel, + &-month-panel`]:{[`${c}-cell-range-hover-start::after`]:{insetInlineStart:_n,borderInlineStart:`${ae}px dashed ${an}`,[`${c}-panel-rtl &`]:{insetInlineEnd:_n,borderInlineEnd:`${ae}px dashed ${an}`}},[`${c}-cell-range-hover-end::after`]:{insetInlineEnd:_n,borderInlineEnd:`${ae}px dashed ${an}`,[`${c}-panel-rtl &`]:{insetInlineStart:_n,borderInlineStart:`${ae}px dashed ${an}`}}},"&-week-panel":{[`${c}-body`]:{padding:`${de}px ${he}px`},[`${c}-cell`]:{[`&:hover ${P}, + &-selected ${P}, + ${P}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${_e}`},"&:first-child:before":{borderStartStartRadius:S,borderEndStartRadius:S},"&:last-child:before":{borderStartEndRadius:S,borderEndEndRadius:S}},["&:hover td"]:{"&:before":{background:j}},[`&-range-start td, + &-range-end td, + &-selected td`]:{[`&${d}`]:{"&:before":{background:Ye},[`&${c}-cell-week`]:{color:new In.C(H).setAlpha(.5).toHexString()},[P]:{color:H}}},["&-range-hover td:before"]:{background:Ae}}},"&-date-panel":{[`${c}-body`]:{padding:`${de}px ${re}px`},[`${c}-content`]:{width:z*7,th:{width:z,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${c}-time-panel`]:{borderInlineStart:`${ae}px ${ke} ${fe}`},[`${c}-date-panel, + ${c}-time-panel`]:{transition:`opacity ${pn}`},"&-active":{[`${c}-date-panel, + ${c}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${c}-content`]:{display:"flex",flex:"auto",height:Q},"&-column":{flex:"1 0 auto",width:oe,margin:`${pe}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${_e}`,overflowX:"hidden","&::after":{display:"block",height:Q-Ve,content:'""'},"&:not(:first-child)":{borderInlineStart:`${ae}px ${ke} ${fe}`},"&-active":{background:new In.C(Ae).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${c}-time-panel-cell`]:{marginInline:ve,[`${c}-time-panel-cell-inner`]:{display:"block",width:oe-2*ve,height:Ve,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(oe-Ve)/2,color:Rn,lineHeight:`${Ve}px`,borderRadius:S,cursor:"pointer",transition:`background ${_e}`,"&:hover":{background:j}},"&-selected":{[`${c}-time-panel-cell-inner`]:{background:Ae}},"&-disabled":{[`${c}-time-panel-cell-inner`]:{color:yn,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${c}-time-panel-column:after`]:{height:Q-Ve+pe*2}}}},On=T=>{const{componentCls:c,colorBgContainer:d,colorError:P,errorActiveShadow:w,colorWarning:M,warningActiveShadow:z}=T;return{[`${c}:not(${c}-disabled)`]:{[`&${c}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:d,borderColor:P},[`&${c}-focused, &:focus`]:Object.assign({},(0,ie.M1)((0,ee.TS)(T,{activeBorderColor:P,activeShadow:w}))),[`${c}-active-bar`]:{background:P}},[`&${c}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:d,borderColor:M},[`&${c}-focused, &:focus`]:Object.assign({},(0,ie.M1)((0,ee.TS)(T,{activeBorderColor:M,activeShadow:z}))),[`${c}-active-bar`]:{background:M}}}}},tt=T=>{const{componentCls:c,antCls:d,controlHeight:P,fontSize:w,paddingInline:M,colorBgContainer:z,lineWidth:he,lineType:de,colorBorder:pe,borderRadius:Ee,motionDurationMid:ae,colorBgContainerDisabled:ke,colorTextDisabled:Te,colorTextPlaceholder:Ye,controlHeightLG:nn,fontSizeLG:fe,controlHeightSM:ue,paddingInlineSM:Ke,paddingXS:Ne,marginXS:_e,colorTextDescription:Un,lineWidthBold:X,lineHeight:tn,colorPrimary:Fn,motionDurationSlow:yn,zIndexPopup:Rn,paddingXXS:pt,paddingSM:Ct,textHeight:pn,cellActiveWithRangeBg:rt,colorPrimaryBorder:Cn,sizePopupArrow:bn,borderRadiusXS:Kn,borderRadiusOuter:kt,colorBgElevated:an,borderRadiusLG:S,boxShadowSecondary:H,borderRadiusSM:j,colorSplit:Q,cellHoverBg:oe,presetsWidth:Ve,presetsMaxWidth:Ae,boxShadowPopoverArrow:ve,colorTextQuaternary:re}=T;return[{[c]:Object.assign(Object.assign(Object.assign({},(0,V.Wf)(T)),nt(T,P,w,M)),{position:"relative",display:"inline-flex",alignItems:"center",background:z,lineHeight:1,border:`${he}px ${de} ${pe}`,borderRadius:Ee,transition:`border ${ae}, box-shadow ${ae}`,"&:hover, &-focused":Object.assign({},(0,ie.pU)(T)),"&-focused":Object.assign({},(0,ie.M1)(T)),[`&${c}-disabled`]:{background:ke,borderColor:pe,cursor:"not-allowed",[`${c}-suffix`]:{color:re}},[`&${c}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${c}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,ie.ik)(T)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${c}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:Ye}}},"&-large":Object.assign(Object.assign({},nt(T,nn,fe,M)),{[`${c}-input > input`]:{fontSize:fe}}),"&-small":Object.assign({},nt(T,ue,w,Ke)),[`${c}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:Ne/2,color:Te,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:_e}}},[`${c}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Te,lineHeight:1,background:z,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${ae}, color ${ae}`,"> *":{verticalAlign:"top"},"&:hover":{color:Un}},[`${c}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:fe,color:Te,fontSize:fe,verticalAlign:"top",cursor:"default",[`${c}-focused &`]:{color:Un},[`${c}-range-separator &`]:{[`${c}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${c}-clear`]:{insetInlineEnd:M},"&:hover":{[`${c}-clear`]:{opacity:1}},[`${c}-active-bar`]:{bottom:-he,height:X,marginInlineStart:M,background:Fn,opacity:0,transition:`all ${yn} ease-out`,pointerEvents:"none"},[`&${c}-focused`]:{[`${c}-active-bar`]:{opacity:1}},[`${c}-range-separator`]:{alignItems:"center",padding:`0 ${Ne}px`,lineHeight:1},[`&${c}-small`]:{[`${c}-clear`]:{insetInlineEnd:Ke},[`${c}-active-bar`]:{marginInlineStart:Ke}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,V.Wf)(T)),en(T)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Rn,[`&${c}-dropdown-hidden`]:{display:"none"},[`&${c}-dropdown-placement-bottomLeft`]:{[`${c}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${c}-dropdown-placement-topLeft`]:{[`${c}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${d}-slide-up-enter${d}-slide-up-enter-active${c}-dropdown-placement-topLeft, + &${d}-slide-up-enter${d}-slide-up-enter-active${c}-dropdown-placement-topRight, + &${d}-slide-up-appear${d}-slide-up-appear-active${c}-dropdown-placement-topLeft, + &${d}-slide-up-appear${d}-slide-up-appear-active${c}-dropdown-placement-topRight`]:{animationName:A.Qt},[`&${d}-slide-up-enter${d}-slide-up-enter-active${c}-dropdown-placement-bottomLeft, + &${d}-slide-up-enter${d}-slide-up-enter-active${c}-dropdown-placement-bottomRight, + &${d}-slide-up-appear${d}-slide-up-appear-active${c}-dropdown-placement-bottomLeft, + &${d}-slide-up-appear${d}-slide-up-appear-active${c}-dropdown-placement-bottomRight`]:{animationName:A.fJ},[`&${d}-slide-up-leave${d}-slide-up-leave-active${c}-dropdown-placement-topLeft, + &${d}-slide-up-leave${d}-slide-up-leave-active${c}-dropdown-placement-topRight`]:{animationName:A.ly},[`&${d}-slide-up-leave${d}-slide-up-leave-active${c}-dropdown-placement-bottomLeft, + &${d}-slide-up-leave${d}-slide-up-leave-active${c}-dropdown-placement-bottomRight`]:{animationName:A.Uw},[`${c}-panel > ${c}-time-panel`]:{paddingTop:pt},[`${c}-ranges`]:{marginBottom:0,padding:`${pt}px ${Ct}px`,overflow:"hidden",lineHeight:`${pn-2*he-Ne/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${c}-preset > ${d}-tag-blue`]:{color:Fn,background:rt,borderColor:Cn,cursor:"pointer"},[`${c}-ok`]:{marginInlineStart:"auto"}},[`${c}-range-wrapper`]:{display:"flex",position:"relative"},[`${c}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:M*1.5,transition:`left ${yn} ease-out`},(0,jn.r)(bn,Kn,kt,an,ve)),[`${c}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:an,borderRadius:S,boxShadow:H,transition:`margin ${yn}`,[`${c}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${c}-presets`]:{display:"flex",flexDirection:"column",minWidth:Ve,maxWidth:Ae,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:Ne,borderInlineEnd:`${he}px ${de} ${Q}`,li:Object.assign(Object.assign({},V.vS),{borderRadius:j,paddingInline:Ne,paddingBlock:(ue-Math.round(w*tn))/2,cursor:"pointer",transition:`all ${yn}`,"+ li":{marginTop:_e},"&:hover":{background:oe}})}},[`${c}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${c}-panel`]:{borderWidth:`0 0 ${he}px`},"&:last-child":{[`${c}-panel`]:{borderWidth:0}}},[`${c}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${c}-content, + table`]:{textAlign:"center"},"&-focused":{borderColor:pe}}}}),"&-dropdown-range":{padding:`${bn*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${c}-separator`]:{transform:"rotate(180deg)"},[`${c}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,A.oN)(T,"slide-up"),(0,A.oN)(T,"slide-down"),(0,I.Fm)(T,"move-up"),(0,I.Fm)(T,"move-down")]},o=T=>{const{componentCls:c,controlHeightLG:d,paddingXXS:P,padding:w}=T;return{pickerCellCls:`${c}-cell`,pickerCellInnerCls:`${c}-cell-inner`,pickerYearMonthCellWidth:d*1.5,pickerQuarterPanelContentHeight:d*1.4,pickerCellPaddingVertical:P+P/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:w+P/2}},at=T=>({cellHoverBg:T.controlItemBgHover,cellActiveWithRangeBg:T.controlItemBgActive,cellHoverWithRangeBg:new In.C(T.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new In.C(T.colorPrimary).lighten(20).toHexString(),cellBgDisabled:T.colorBgContainerDisabled,timeColumnWidth:T.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:T.controlHeightSM*1.5,cellHeight:T.controlHeightSM,textHeight:T.controlHeightLG,withoutTimeCellHeight:T.controlHeightLG*1.65});mt.ZP=(0,L.Z)("DatePicker",T=>{const c=(0,ee.TS)((0,ie.e5)(T),o(T));return[tt(c),On(c),(0,ht.c)(T,{focusElCls:`${T.componentCls}-focused`})]},T=>Object.assign(Object.assign(Object.assign({},(0,ie.TM)(T)),at(T)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:T.zIndexPopupBase+50}))},63697:function(ba,mt,E){var In=E(27484),ie=E.n(In),V=E(80334),jn=E(72540),ht=E.n(jn),A=E(96036),I=E.n(A),ee=E(55183),L=E.n(ee),nt=E(172),me=E.n(nt),en=E(28734),On=E.n(en),tt=E(10285),o=E.n(tt);ie().extend(o()),ie().extend(On()),ie().extend(ht()),ie().extend(I()),ie().extend(L()),ie().extend(me()),ie().extend(function(P,w){var M=w.prototype,z=M.format;M.format=function(de){var pe=(de||"").replace("Wo","wo");return z.bind(this)(pe)}});var at={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},T=function(w){var M=at[w];return M||w.split("_")[0]},c=function(){(0,V.ET)(!1,"Not match any format. Please help to fire a issue about this.")},d={getNow:function(){return ie()()},getFixedDate:function(w){return ie()(w,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(w){return w.endOf("month")},getWeekDay:function(w){var M=w.locale("en");return M.weekday()+M.localeData().firstDayOfWeek()},getYear:function(w){return w.year()},getMonth:function(w){return w.month()},getDate:function(w){return w.date()},getHour:function(w){return w.hour()},getMinute:function(w){return w.minute()},getSecond:function(w){return w.second()},addYear:function(w,M){return w.add(M,"year")},addMonth:function(w,M){return w.add(M,"month")},addDate:function(w,M){return w.add(M,"day")},setYear:function(w,M){return w.year(M)},setMonth:function(w,M){return w.month(M)},setDate:function(w,M){return w.date(M)},setHour:function(w,M){return w.hour(M)},setMinute:function(w,M){return w.minute(M)},setSecond:function(w,M){return w.second(M)},isAfter:function(w,M){return w.isAfter(M)},isValidate:function(w){return w.isValid()},locale:{getWeekFirstDay:function(w){return ie()().locale(T(w)).localeData().firstDayOfWeek()},getWeekFirstDate:function(w,M){return M.locale(T(w)).weekday(0)},getWeek:function(w,M){return M.locale(T(w)).week()},getShortWeekDays:function(w){return ie()().locale(T(w)).localeData().weekdaysMin()},getShortMonths:function(w){return ie()().locale(T(w)).localeData().monthsShort()},format:function(w,M,z){return M.locale(T(w)).format(z)},parse:function(w,M,z){for(var he=T(w),de=0;de1&&(l=t.addDate(l,-7)),l}function fe(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(t){case"year":return n.addYear(e,r*10);case"quarter":case"month":return n.addYear(e,r);default:return n.addMonth(e,r)}}function ue(e,t){var n=t.generateConfig,r=t.locale,a=t.format;return typeof a=="function"?a(e):n.locale.format(r.locale,e,a)}function Ke(e,t){var n=t.generateConfig,r=t.locale,a=t.formatList;return!e||typeof a[0]=="function"?null:n.locale.parse(r.locale,e,a)}function Ne(e){var t=e.cellDate,n=e.mode,r=e.disabledDate,a=e.generateConfig;if(!r)return!1;var i=function(h,u,v){for(var b=u;b<=v;){var k=void 0;switch(h){case"date":{if(k=a.setDate(t,b),!r(k))return!1;break}case"month":{if(k=a.setMonth(t,b),!Ne({cellDate:k,mode:"month",generateConfig:a,disabledDate:r}))return!1;break}case"year":{if(k=a.setYear(t,b),!Ne({cellDate:k,mode:"year",generateConfig:a,disabledDate:r}))return!1;break}}b+=1}return!0};switch(n){case"date":case"week":return r(t);case"month":{var l=1,s=a.getDate(a.getEndDate(t));return i("date",l,s)}case"quarter":{var f=Math.floor(a.getMonth(t)/3)*3,g=f+2;return i("month",f,g)}case"year":return i("month",0,11);case"decade":{var D=a.getYear(t),p=Math.floor(D/c)*c,m=p+c-1;return i("year",p,m)}}}function _e(e,t){var n=t.formatList,r=t.generateConfig,a=t.locale;return(0,at.Z)(function(){if(!e)return[[""],""];for(var i="",l=[],s=0;s1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(g.current),b){f(v);return}g.current=requestAnimationFrame(function(){f(v)})}var p=_e(s,{formatList:n,generateConfig:r,locale:a}),m=(0,L.Z)(p,2),C=m[1];function h(v){D(v)}function u(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;D(null,v)}return(0,o.useEffect)(function(){u(!0)},[e]),(0,o.useEffect)(function(){return function(){return cancelAnimationFrame(g.current)}},[]),[C,h,u]}var X=E(15105),tn=E(75164),Fn=E(74902),yn=E(5110),Rn=new Map;function pt(e,t){var n;function r(){(0,yn.Z)(e)?t():n=(0,tn.Z)(function(){r()})}return r(),function(){tn.Z.cancel(n)}}function Ct(e,t,n){if(Rn.get(e)&&cancelAnimationFrame(Rn.get(e)),n<=0){Rn.set(e,requestAnimationFrame(function(){e.scrollTop=t}));return}var r=t-e.scrollTop,a=r/n*10;Rn.set(e,requestAnimationFrame(function(){e.scrollTop+=a,e.scrollTop!==t&&Ct(e,t,n-10)}))}function pn(e,t){var n=t.onLeftRight,r=t.onCtrlLeftRight,a=t.onUpDown,i=t.onPageUpDown,l=t.onEnter,s=e.which,f=e.ctrlKey,g=e.metaKey;switch(s){case X.Z.LEFT:if(f||g){if(r)return r(-1),!0}else if(n)return n(-1),!0;break;case X.Z.RIGHT:if(f||g){if(r)return r(1),!0}else if(n)return n(1),!0;break;case X.Z.UP:if(a)return a(-1),!0;break;case X.Z.DOWN:if(a)return a(1),!0;break;case X.Z.PAGE_UP:if(i)return i(-1),!0;break;case X.Z.PAGE_DOWN:if(i)return i(1),!0;break;case X.Z.ENTER:if(l)return l(),!0;break}return!1}function rt(e,t,n,r){var a=e;if(!a)switch(t){case"time":a=r?"hh:mm:ss a":"HH:mm:ss";break;case"week":a="gggg-wo";break;case"month":a="YYYY-MM";break;case"quarter":a="YYYY-[Q]Q";break;case"year":a="YYYY";break;default:a=n?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return a}function Cn(e,t,n){var r=e==="time"?8:10,a=typeof t=="function"?t(n.getNow()).length:t.length;return Math.max(r,a)+2}var bn=null,Kn=new Set;function kt(e){return!bn&&typeof window!="undefined"&&window.addEventListener&&(bn=function(n){(0,Fn.Z)(Kn).forEach(function(r){r(n)})},window.addEventListener("mousedown",bn)),Kn.add(e),function(){Kn.delete(e),Kn.size===0&&(window.removeEventListener("mousedown",bn),bn=null)}}function an(e){var t=e.target;if(e.composed&&t.shadowRoot){var n;return((n=e.composedPath)===null||n===void 0?void 0:n.call(e)[0])||t}return t}var S=function(t){return t==="month"||t==="date"?"year":t},H=function(t){return t==="date"?"month":t},j=function(t){return t==="month"||t==="date"?"quarter":t},Q=function(t){return t==="date"?"week":t},oe={year:S,month:H,quarter:j,week:Q,time:null,date:null};function Ve(e,t){return e.some(function(n){return n&&n.contains(t)})}function Ae(e){var t=e.open,n=e.value,r=e.isClickOutside,a=e.triggerOpen,i=e.forwardKeyDown,l=e.onKeyDown,s=e.blurToCancel,f=e.changeOnBlur,g=e.onSubmit,D=e.onCancel,p=e.onFocus,m=e.onBlur,C=(0,o.useState)(!1),h=(0,L.Z)(C,2),u=h[0],v=h[1],b=(0,o.useState)(!1),k=(0,L.Z)(b,2),N=k[0],O=k[1],Z=(0,o.useRef)(!1),y=(0,o.useRef)(!1),$=(0,o.useRef)(!1),J={onMouseDown:function(){v(!0),a(!0)},onKeyDown:function(ne){var le=function(){$.current=!0};if(l(ne,le),!$.current){switch(ne.which){case X.Z.ENTER:{t?g()!==!1&&v(!0):a(!0),ne.preventDefault();return}case X.Z.TAB:{u&&t&&!ne.shiftKey?(v(!1),ne.preventDefault()):!u&&t&&!i(ne)&&ne.shiftKey&&(v(!0),ne.preventDefault());return}case X.Z.ESC:{v(!0),D();return}}!t&&![X.Z.SHIFT].includes(ne.which)?a(!0):u||i(ne)}},onFocus:function(ne){v(!0),O(!0),p&&p(ne)},onBlur:function(ne){if(Z.current||!r(document.activeElement)){Z.current=!1;return}s?setTimeout(function(){for(var le=document,Ze=le.activeElement;Ze&&Ze.shadowRoot;)Ze=Ze.shadowRoot.activeElement;r(Ze)&&D()},0):t&&(a(!1),y.current&&g()),O(!1),m==null||m(ne)}};return(0,o.useEffect)(function(){y.current=!1},[t]),(0,o.useEffect)(function(){y.current=!0},[n]),(0,o.useEffect)(function(){return kt(function(F){var ne=an(F),le=r(ne);t&&(le?!f&&!s&&(!N||le)&&a(!1):(Z.current=!0,(0,tn.Z)(function(){Z.current=!1})))})}),[J,{focused:N,typing:u}]}function ve(e,t){return o.useMemo(function(){return e||(t?((0,On.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(t).map(function(n){var r=(0,L.Z)(n,2),a=r[0],i=r[1];return{label:a,value:i}})):[])},[e,t])}var re=E(8410);function rn(e){var t=e.valueTexts,n=e.onTextChange,r=o.useState(""),a=(0,L.Z)(r,2),i=a[0],l=a[1],s=o.useRef([]);s.current=t;function f(D){l(D),n(D)}function g(){l(s.current[0])}return(0,re.Z)(function(){t.every(function(D){return D!==i})&&g()},[t.join("||")]),[i,f,g]}var _n=o.createContext({}),xe=_n,on=E(71002);function jt(e){var t=e.cellRender,n=e.monthCellRender,r=e.dateRender,a=o.useMemo(function(){if(t)return t;if(!(!n&&!r))return function(i,l){var s=i;return r&&l.type==="date"?r(s,l.today):n&&l.type==="month"?n(s,l.locale):l.originNode}},[t,n,r]);return a}function Ut(e,t){for(var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",r=String(e);r.length=1?n|0:1,l=e;l<=t;l+=i)a.push({label:Ut(l,2),value:l,disabled:(r||[]).includes(l)});return a}function Qe(e){var t=e.generateConfig,n=e.prefixCls,r=e.operationRef,a=e.activeColumnIndex,i=e.value,l=e.showHour,s=e.showMinute,f=e.showSecond,g=e.use12Hours,D=e.hourStep,p=D===void 0?1:D,m=e.minuteStep,C=m===void 0?1:m,h=e.secondStep,u=h===void 0?1:h,v=e.disabledHours,b=e.disabledMinutes,k=e.disabledSeconds,N=e.disabledTime,O=e.hideDisabledOptions,Z=e.onSelect,y=e.cellRender,$=e.locale,J=[],F="".concat(n,"-content"),ne="".concat(n,"-time-panel"),le,Ze=i?t.getHour(i):-1,ye=Ze,He=i?t.getMinute(i):-1,Ce=i?t.getSecond(i):-1,ce=t.getNow(),Se=o.useMemo(function(){if(N){var G=N(ce);return[G.disabledHours,G.disabledMinutes,G.disabledSeconds]}return[v,b,k]},[v,b,k,N,ce]),Re=(0,L.Z)(Se,3),ln=Re[0],fn=Re[1],Le=Re[2],Dn=xt(0,23,p,ln&&ln()),vn=(0,at.Z)(function(){return Dn},Dn,Gt);g&&(le=ye>=12,ye%=12);var ut=o.useMemo(function(){if(!g)return[!1,!1];var G=[!0,!0];return vn.forEach(function(Ie){var $e=Ie.disabled,je=Ie.value;$e||(je>=12?G[1]=!1:G[0]=!1)}),G},[g,vn]),Mn=(0,L.Z)(ut,2),St=Mn[0],It=Mn[1],Pt=o.useMemo(function(){return g?vn.filter(le?function(G){return G.value>=12}:function(G){return G.value<12}).map(function(G){var Ie=G.value%12,$e=Ie===0?"12":Ut(Ie,2);return(0,ee.Z)((0,ee.Z)({},G),{},{label:$e,value:Ie})}):vn},[g,le,vn]),gn=xt(0,59,C,fn&&fn(Ze)),ct=xt(0,59,u,Le&&Le(Ze,He)),xn=zt({value:i,generateConfig:t,disabledMinutes:fn,disabledSeconds:Le,minutes:gn,seconds:ct,use12Hours:g});r.current={onUpDown:function(Ie){var $e=J[a];if($e)for(var je=$e.units.findIndex(function(Ot){return Ot.value===$e.value}),Ge=$e.units.length,Me=1;Me2&&arguments[2]!==void 0?arguments[2]:!1;(we===v||Pe)&&(Et(x),J&&J(x),xn&&xn(x,W),F&&!Te(f,x,Xe)&&!(C!=null&&C(x))&&F(x))},cn=function(x){if(to.includes(we)){var W,Pe,vt=we==="date";switch(x===X.Z.PAGE_UP||x===X.Z.PAGE_DOWN?Pe=vt?f.addMonth:f.addYear:Pe=vt?f.addDate:f.addMonth,x){case X.Z.LEFT:case X.Z.PAGE_UP:W=Pe(Ue,-1);break;case X.Z.RIGHT:case X.Z.PAGE_DOWN:W=Pe(Ue,1);break;case X.Z.UP:case X.Z.DOWN:W=Pe(Ue,Number("".concat(x===X.Z.UP?"-":"").concat(vt?P:Ra)));break}if(W)return!(C!=null&&C(W))}return!0},Vt=function(x){if(Me.current&&Me.current.onKeyDown){var W=!0,Pe=x.which;if([X.Z.LEFT,X.Z.RIGHT,X.Z.UP,X.Z.DOWN,X.Z.PAGE_UP,X.Z.PAGE_DOWN,X.Z.ENTER].includes(Pe)&&(x.preventDefault(),Pe!==X.Z.ENTER&&k===0&&(W=cn(Pe))),W)return Me.current.onKeyDown(x)}return(0,On.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},yt=function(x){Me.current&&Me.current.onBlur&&Me.current.onBlur(x)};ct&&$e!=="right"&&(ct.current={onKeyDown:Vt,onClose:function(){Me.current&&Me.current.onClose&&Me.current.onClose()}}),o.useEffect(function(){g&&!Jn.current&&Nn(g)},[g]),o.useEffect(function(){Jn.current=!1},[]);var te,dt=jt({cellRender:ut,monthCellRender:vn,dateRender:Dn}),Fe=(0,ee.Z)((0,ee.Z)({},e),{},{cellRender:dt,operationRef:Me,prefixCls:a,viewDate:Ue,value:Xe,onViewDateChange:mn,sourceMode:hn,onPanelChange:Ln,disabledDate:C});switch(delete Fe.onChange,delete Fe.onSelect,we){case"decade":te=o.createElement(Zr,(0,A.Z)({},Fe,{onSelect:function(x,W){mn(x),Oe(x,W)}}));break;case"year":te=o.createElement(no,(0,A.Z)({},Fe,{onSelect:function(x,W){mn(x),Oe(x,W)}}));break;case"month":te=o.createElement(Lr,(0,A.Z)({},Fe,{onSelect:function(x,W){mn(x),Oe(x,W)}}));break;case"quarter":te=o.createElement(_r,(0,A.Z)({},Fe,{onSelect:function(x,W){mn(x),Oe(x,W)}}));break;case"week":te=o.createElement(Qr,(0,A.Z)({},Fe,{onSelect:function(x,W){mn(x),Oe(x,W)}}));break;case"time":delete Fe.showTime,te=o.createElement(da,(0,A.Z)({},Fe,(0,on.Z)(O)==="object"?O:null,{onSelect:function(x,W){mn(x),Oe(x,W)}}));break;default:O?te=o.createElement(Pa,(0,A.Z)({},Fe,{onSelect:function(x,W){mn(x),Oe(x,W)}})):te=o.createElement(Xn,(0,A.Z)({},Fe,{onSelect:function(x,W){mn(x),Oe(x,W)}}))}var be,Zn,Bn=function(){var x=f.getNow(),W=Zt(f.getHour(x),f.getMinute(x),f.getSecond(x),St?Se:1,It?ln:1,Pt?Le:1),Pe=ze(f,x,W[0],W[1],W[2]);Oe(Pe,"submit")};wn||(be=za(a,we,y),O&&we!=="date"?Zn=null:Zn=Qa({prefixCls:a,components:He,needConfirmButton:Mn,okDisabled:!Xe||C&&C(Xe),locale:s,showNow:N,onNow:Mn&&Bn,onOk:function(){Xe&&(Oe(Xe,"submit",!0),ye&&ye(Xe))}}));var Rt;if(Z&&we==="date"&&v==="date"&&!O){var qt=f.getNow(),ft="".concat(a,"-today-btn"),Ht=C&&C(qt);Rt=o.createElement("a",{className:me()(ft,Ht&&"".concat(ft,"-disabled")),"aria-disabled":Ht,onClick:function(){Ht||Oe(qt,"mouse",!0)}},s.today)}return o.createElement(xe.Provider,{value:(0,ee.Z)((0,ee.Z)({},gn),{},{mode:we,hideHeader:"hideHeader"in e?$:gn.hideHeader,hidePrevBtn:Ie&&$e==="right",hideNextBtn:Ie&&$e==="left"})},o.createElement("div",{tabIndex:k,className:me()("".concat(a,"-panel"),i,(t={},(0,I.Z)(t,"".concat(a,"-panel-has-range"),je&&je[0]&&je[1]),(0,I.Z)(t,"".concat(a,"-panel-has-range-hover"),Ge&&Ge[0]&&Ge[1]),(0,I.Z)(t,"".concat(a,"-panel-rtl"),Ce==="rtl"),t)),style:l,onKeyDown:Vt,onBlur:yt,onMouseDown:le},te,be||Zn||Rt?o.createElement("div",{className:"".concat(a,"-footer")},be,Zn,Rt):null))}var Ma=ao,ro=E(40228),oo={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function lo(e){var t,n=e.prefixCls,r=e.popupElement,a=e.popupStyle,i=e.visible,l=e.dropdownClassName,s=e.dropdownAlign,f=e.transitionName,g=e.getPopupContainer,D=e.children,p=e.range,m=e.popupPlacement,C=e.direction,h="".concat(n,"-dropdown"),u=function(){return m!==void 0?m:C==="rtl"?"bottomRight":"bottomLeft"};return o.createElement(ro.Z,{showAction:[],hideAction:[],popupPlacement:u(),builtinPlacements:oo,prefixCls:h,popupTransitionName:f,popup:r,popupAlign:s,popupVisible:i,popupClassName:me()(l,(t={},(0,I.Z)(t,"".concat(h,"-range"),p),(0,I.Z)(t,"".concat(h,"-rtl"),C==="rtl"),t)),popupStyle:a,getPopupContainer:g},D)}var Ga=lo;function Xa(e){var t=e.prefixCls,n=e.presets,r=e.onClick,a=e.onHover;return n.length?o.createElement("div",{className:"".concat(t,"-presets")},o.createElement("ul",null,n.map(function(i,l){var s=i.label,f=i.value;return o.createElement("li",{key:l,onClick:function(){return r==null?void 0:r(zn(f))},onMouseEnter:function(){return a==null?void 0:a(zn(f))},onMouseLeave:function(){return a==null?void 0:a(null)}},s)}))):null}function il(e){var t=e.picker,n=e.disabledHours,r=e.disabledMinutes,a=e.disabledSeconds;t==="time"&&(n||r||a)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function Ja(e,t,n){var r=(0,on.Z)(t)==="object"?t.clearIcon:n;return r||o.createElement("span",{className:"".concat(e,"-clear-btn")})}function io(e){var t,n=e,r=n.prefixCls,a=r===void 0?"rc-picker":r,i=n.id,l=n.name,s=n.tabIndex,f=n.style,g=n.className,D=n.dropdownClassName,p=n.dropdownAlign,m=n.popupStyle,C=n.transitionName,h=n.generateConfig,u=n.locale,v=n.inputReadOnly,b=n.allowClear,k=n.autoFocus,N=n.showTime,O=n.picker,Z=O===void 0?"date":O,y=n.format,$=n.use12Hours,J=n.value,F=n.defaultValue,ne=n.presets,le=n.open,Ze=n.defaultOpen,ye=n.defaultOpenValue,He=n.suffixIcon,Ce=n.clearIcon,ce=n.disabled,Se=n.disabledDate,Re=n.placeholder,ln=n.getPopupContainer,fn=n.pickerRef,Le=n.panelRender,Dn=n.onChange,vn=n.onOpenChange,ut=n.onFocus,Mn=n.onBlur,St=n.onMouseDown,It=n.onMouseUp,Pt=n.onMouseEnter,gn=n.onMouseLeave,ct=n.onContextMenu,xn=n.onClick,wn=n.onKeyDown,Hn=n.onSelect,G=n.direction,Ie=n.autoComplete,$e=Ie===void 0?"off":Ie,je=n.inputRender,Ge=n.changeOnBlur,Me=o.useRef(null),Jn=Z==="date"&&!!N||Z==="time",Ot=ve(ne),kn=Ft(rt(y,Z,N,$)),Xe=o.useRef(null),Et=o.useRef(null),Jt=o.useRef(null),Tt=(0,en.Z)(null,{value:J,defaultValue:F}),Ue=(0,L.Z)(Tt,2),Nn=Ue[0],mn=Ue[1],Yt=o.useState(Nn),st=(0,L.Z)(Yt,2),Je=st[0],we=st[1],un=o.useRef(null),qn=(0,en.Z)(!1,{value:le,defaultValue:Ze,postState:function(Y){return ce?!1:Y},onChange:function(Y){vn&&vn(Y),!Y&&un.current&&un.current.onClose&&un.current.onClose()}}),et=(0,L.Z)(qn,2),hn=et[0],Sn=et[1],Ln=_e(Je,{formatList:kn,generateConfig:h,locale:u}),Oe=(0,L.Z)(Ln,2),cn=Oe[0],Vt=Oe[1],yt=rn({valueTexts:cn,onTextChange:function(Y){var sn=Ke(Y,{locale:u,formatList:kn,generateConfig:h});sn&&(!Se||!Se(sn))&&we(sn)}}),te=(0,L.Z)(yt,3),dt=te[0],Fe=te[1],be=te[2],Zn=function(Y){we(Y),mn(Y),Dn&&!Te(h,Nn,Y)&&Dn(Y,Y?ue(Y,{generateConfig:h,locale:u,format:kn[0]}):"")},Bn=function(Y){ce&&Y||Sn(Y)},Rt=function(Y){return hn&&un.current&&un.current.onKeyDown?un.current.onKeyDown(Y):((0,On.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},qt=function(){for(var Y=arguments.length,sn=new Array(Y),An=0;Anm(g);case"month":return p(u)>p(g);case"week":return D(u)>D(g);default:return!Ee(s,u,g)&&s.isAfter(u,g)}return!1},[i,l[1],g,t]),h=o.useCallback(function(u){if(l[1]||i&&i(u))return!0;if(l[0]&&f)return!Ee(s,u,g)&&s.isAfter(f,u);if(!t&&f)switch(n){case"quarter":return m(u)0&&arguments[0]!==void 0?arguments[0]:!1,R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},K=null;Be&&na&&na[0]&&na[1]&&u.isAfter(na[1],na[0])&&(K=na);var _=$;if($&&(0,on.Z)($)==="object"&&$.defaultValue){var se=$.defaultValue;_=(0,ee.Z)((0,ee.Z)({},$),{},{defaultValue:U(se,B)||void 0})}return o.createElement(Tn.Provider,{value:{inRange:!0,panelPosition:q,rangedValue:Mo||x,hoverRangedValue:K}},o.createElement(Ma,(0,A.Z)({},e,R,{cellRender:Go,showTime:_,mode:Lt[B],generateConfig:u,style:void 0,direction:Ue,disabledDate:B===0?va:ga,disabledTime:function(Wn){return Se?Se(Wn,B===0?"start":"end"):!1},className:me()((0,I.Z)({},"".concat(l,"-panel-focused"),B===0?!Dr:!Pr)),value:U(x,B),locale:v,tabIndex:-1,onPanelChange:function(Wn,gt){B===0&&Ba(!0),B===1&&Wa(!0),fa(We(Lt,gt,B),We(x,Wn,B));var Mt=Wn;q==="right"&&Lt[B]===gt&&(Mt=fe(Mt,gt,u,-1)),ft(Mt,B)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:B===0?U(x,1):U(x,0)})))}var $t=0,Er=0;if(B&&qn.current&&hn.current&&un.current&&Oe.current){$t=qn.current.offsetWidth+hn.current.offsetWidth;var Jo=Oe.current.offsetLeft>$t?Oe.current.offsetLeft-$t:Oe.current.offsetLeft,yr=un.current.offsetWidth,Rr=Oe.current.offsetWidth;yr&&Rr&&$t>yr-Rr-(Ue==="rtl"?0:Jo)&&(Er=$t)}var qo=Ue==="rtl"?{right:$t}:{left:$t};function el(){var q,R=za(l,Lt[B],xn),K=Qa({prefixCls:l,components:Jt,needConfirmButton:Je,okDisabled:!U(x,B)||ce&&ce(x[B]),locale:v,onOk:function(){var En=U(x,B);En&&(At(x,B),Xe==null||Xe(x),Pn(!1,B,"confirm"))}});if(y!=="time"&&!$){var _=qt(B),se=fe(_,y,u),qe=Lt[B],Wn=qe===y,gt=Ua(Wn?"left":!1,{pickerValue:_,onPickerValueChange:function(En){ft(En,B)}}),Mt=Ua("right",{pickerValue:se,onPickerValueChange:function(En){ft(fe(En,y,u,-1),B)}});Ue==="rtl"?q=o.createElement(o.Fragment,null,Mt,Wn&>):q=o.createElement(o.Fragment,null,gt,Wn&&Mt)}else q=Ua();var ca=o.createElement("div",{className:"".concat(l,"-panel-layout")},o.createElement(Xa,{prefixCls:l,presets:Xo,onClick:function(En){At(En,null),Pn(!1,B,"preset")},onHover:function(En){ko(En)}}),o.createElement("div",null,o.createElement("div",{className:"".concat(l,"-panels")},q),(R||K)&&o.createElement("div",{className:"".concat(l,"-footer")},R,K)));return Le&&(ca=Le(ca)),o.createElement("div",{className:"".concat(l,"-panel-container"),style:{marginLeft:Er},ref:un,onMouseDown:function(En){En.preventDefault()}},ca)}var nl=o.createElement("div",{className:me()("".concat(l,"-range-wrapper"),"".concat(l,"-").concat(y,"-range-wrapper")),style:{minWidth:Y}},o.createElement("div",{ref:Oe,className:"".concat(l,"-range-arrow"),style:qo}),el()),$r;St&&($r=o.createElement("span",{className:"".concat(l,"-suffix"),onMouseDown:function(R){R.preventDefault()}},St));var tl=Ja(l,Mn,It),al=o.createElement("span",{onMouseDown:function(R){R.preventDefault(),R.stopPropagation()},onMouseUp:function(R){R.preventDefault(),R.stopPropagation();var K=be;te[0]||(K=We(K,null,0)),te[1]||(K=We(K,null,1)),At(K,null),Pn(!1,B,"clear")},className:"".concat(l,"-clear"),role:"button"},tl),rl=Mn&&(U(be,0)&&!te[0]||U(be,1)&&!te[1]),Mr={size:Cn(y,cn[0],u)},Fa=0,Ka=0;qn.current&&et.current&&hn.current&&(B===0?Ka=qn.current.offsetWidth:(Fa=$t,Ka=et.current.offsetWidth));var ol=Ue==="rtl"?{right:Fa}:{left:Fa},ll=function(R,K){var _=We(x,R,B);if(K==="submit"||K!=="key"&&!Je){At(_,B),B===0?Ba():Wa();var se=B===0?1:0;te[se]?Pn(!1,!1,"confirm"):Pn(!1,B,"confirm")}else W(_)};return o.createElement(xe.Provider,{value:{operationRef:yt,hideHeader:y==="time",onDateMouseEnter:Yo,onDateMouseLeave:Vo,hideRanges:!0,onSelect:ll,open:Be}},o.createElement(Ga,{visible:Be,popupElement:nl,popupStyle:D,prefixCls:l,dropdownClassName:p,dropdownAlign:C,getPopupContainer:h,transitionName:m,range:!0,direction:Ue},o.createElement("div",(0,A.Z)({ref:we,className:me()(l,"".concat(l,"-range"),g,(t={},(0,I.Z)(t,"".concat(l,"-disabled"),te[0]&&te[1]),(0,I.Z)(t,"".concat(l,"-focused"),B===0?br:Sr),(0,I.Z)(t,"".concat(l,"-rtl"),Ue==="rtl"),t)),style:f,onClick:Ko,onMouseEnter:Jn,onMouseLeave:Ot,onMouseDown:_o,onMouseUp:Me},(0,tt.Z)(e,{aria:!0,data:!0})),o.createElement("div",{className:me()("".concat(l,"-input"),(n={},(0,I.Z)(n,"".concat(l,"-input-active"),B===0),(0,I.Z)(n,"".concat(l,"-input-placeholder"),!!fr),n)),ref:qn},o.createElement("input",(0,A.Z)({id:s,disabled:te[0],readOnly:gn||typeof cn[0]=="function"||!Dr,value:fr||pa,onChange:function(R){or(R.target.value)},autoFocus:k,placeholder:U(b,0)||"",ref:Sn},jo,Mr,{autoComplete:Yt}))),o.createElement("div",{className:"".concat(l,"-range-separator"),ref:hn},ne),o.createElement("div",{className:me()("".concat(l,"-input"),(r={},(0,I.Z)(r,"".concat(l,"-input-active"),B===1),(0,I.Z)(r,"".concat(l,"-input-placeholder"),!!vr),r)),ref:et},o.createElement("input",(0,A.Z)({disabled:te[1],readOnly:gn||typeof cn[0]=="function"||!Pr,value:vr||Ca,onChange:function(R){ir(R.target.value)},placeholder:U(b,1)||"",ref:Ln},Fo,Mr,{autoComplete:Yt}))),o.createElement("div",{className:"".concat(l,"-active-bar"),style:(0,ee.Z)((0,ee.Z)({},ol),{},{width:Ka,position:"absolute"})}),$r,rl&&al)))}var Co=function(e){(0,jn.Z)(n,e);var t=(0,ht.Z)(n);function n(){var r;(0,In.Z)(this,n);for(var a=arguments.length,i=new Array(a),l=0;l]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if(n=="@"&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"propertyName";if(n=="$")return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variableName.special";if(/[a-zA-Z_\xa1-\uffff]/.test(n))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"variable";if(n=="|"&&(i.varList||i.lastTok=="{"||i.lastTok=="do"))return u="|",null;if(/[\(\)\[\]{}\\;]/.test(n))return u=n,null;if(n=="-"&&e.eat(">"))return"operator";if(/[=+\-\/*:\.^%<>~|]/.test(n)){var c=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return n=="."&&!c&&(u="."),"operator"}else return null}}}function y(e){for(var i=e.pos,n=0,o,l=!1,r=!1;(o=e.next())!=null;)if(r)r=!1;else{if("[{(".indexOf(o)>-1)n++;else if("]})".indexOf(o)>-1){if(n--,n<0)break}else if(o=="/"&&n==0){l=!0;break}r=o=="\\"}return e.backUp(e.pos-i),l}function k(e){return e||(e=1),function(i,n){if(i.peek()=="}"){if(e==1)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](i,n);n.tokenize[n.tokenize.length-1]=k(e-1)}else i.peek()=="{"&&(n.tokenize[n.tokenize.length-1]=k(e+1));return p(i,n)}}function w(){var e=!1;return function(i,n){return e?(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](i,n)):(e=!0,p(i,n))}}function d(e,i,n,o){return function(l,r){var f=!1,c;for(r.context.type==="read-quoted-paused"&&(r.context=r.context.prev,l.eat("}"));(c=l.next())!=null;){if(c==e&&(o||!f)){r.tokenize.pop();break}if(n&&c=="#"&&!f){if(l.eat("{")){e=="}"&&(r.context={prev:r.context,type:"read-quoted-paused"}),r.tokenize.push(k());break}else if(/[@\$]/.test(l.peek())){r.tokenize.push(w());break}}f=!f&&c=="\\"}return i}}function E(e,i){return function(n,o){return i&&n.eatSpace(),n.match(e)?o.tokenize.pop():n.skipToEnd(),"string"}}function T(e,i){return e.sol()&&e.match("=end")&&e.eol()&&i.tokenize.pop(),e.skipToEnd(),"comment"}const W={name:"ruby",startState:function(e){return{tokenize:[p],indented:0,context:{type:"top",indented:-e},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,i){u=null,e.sol()&&(i.indented=e.indentation());var n=i.tokenize[i.tokenize.length-1](e,i),o,l=u;if(n=="variable"){var r=e.current();n=i.lastTok=="."?"property":z.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(r)?"tag":i.lastTok=="def"||i.lastTok=="class"||i.varList?"def":"variable",n=="keyword"&&(l=r,_.propertyIsEnumerable(r)?o="indent":g.propertyIsEnumerable(r)?o="dedent":((r=="if"||r=="unless")&&e.column()==e.indentation()||r=="do"&&i.context.indented$/,S=/^$/,C=/^\{\{\{$/,$=/^\}\}\}$/,W=/.*?\}\}\}/;function u(e,t,r){return t.tokenize=r,r(e,t)}function i(e,t){var r=e.sol(),n=e.peek();if(t.block=!1,r&&/[<\/\*{}\-]/.test(n)){if(e.match(C))return t.block=!0,u(e,t,l);if(e.match(p))return"quote";if(e.match(a)||e.match(w)||e.match(b)||e.match(v)||e.match(y)||e.match(S))return"comment";if(e.match(d))return"contentSeparator"}if(e.next(),r&&/[\/\*!#;:>|]/.test(n)){if(n=="!")return e.skipToEnd(),"header";if(n=="*")return e.eatWhile("*"),"comment";if(n=="#")return e.eatWhile("#"),"comment";if(n==";")return e.eatWhile(";"),"comment";if(n==":")return e.eatWhile(":"),"comment";if(n==">")return e.eatWhile(">"),"quote";if(n=="|")return"header"}if(n=="{"&&e.match("{{"))return u(e,t,l);if(/[hf]/i.test(n)&&/[ti]/i.test(e.peek())&&e.match(/\b(ttps?|tp|ile):\/\/[\-A-Z0-9+&@#\/%?=~_|$!:,.;]*[A-Z0-9+&@#\/%=~_|$]/i))return"link";if(n=='"')return"string";if(n=="~"||/[\[\]]/.test(n)&&e.match(n))return"brace";if(n=="@")return e.eatWhile(h),"link";if(/\d/.test(n))return e.eatWhile(/\d/),"number";if(n=="/"){if(e.eat("%"))return u(e,t,z);if(e.eat("/"))return u(e,t,m)}if(n=="_"&&e.eat("_"))return u(e,t,T);if(n=="-"&&e.eat("-")){if(e.peek()!=" ")return u(e,t,_);if(e.peek()==" ")return"brace"}return n=="'"&&e.eat("'")?u(e,t,g):n=="<"&&e.eat("<")?u(e,t,x):(e.eatWhile(/[\w\$_]/),f.propertyIsEnumerable(e.current())?"keyword":null)}function z(e,t){for(var r=!1,n;n=e.next();){if(n=="/"&&r){t.tokenize=i;break}r=n=="%"}return"comment"}function g(e,t){for(var r=!1,n;n=e.next();){if(n=="'"&&r){t.tokenize=i;break}r=n=="'"}return"strong"}function l(e,t){var r=t.block;return r&&e.current()?"comment":!r&&e.match(W)||r&&e.sol()&&e.match($)?(t.tokenize=i,"comment"):(e.next(),"comment")}function m(e,t){for(var r=!1,n;n=e.next();){if(n=="/"&&r){t.tokenize=i;break}r=n=="/"}return"emphasis"}function T(e,t){for(var r=!1,n;n=e.next();){if(n=="_"&&r){t.tokenize=i;break}r=n=="_"}return"link"}function _(e,t){for(var r=!1,n;n=e.next();){if(n=="-"&&r){t.tokenize=i;break}r=n=="-"}return"deleted"}function x(e,t){if(e.current()=="<<")return"meta";var r=e.next();return r?r==">"&&e.peek()==">"?(e.next(),t.tokenize=i,"meta"):(e.eatWhile(/[\w\$_]/),k.propertyIsEnumerable(e.current())?"keyword":null):(t.tokenize=i,null)}const E={name:"tiddlywiki",startState:function(){return{tokenize:i}},token:function(e,t){if(e.eatSpace())return null;var r=t.tokenize(e,t);return r}}}}]); diff --git a/4654.6a2cf9eb.async.js b/4654.6a2cf9eb.async.js new file mode 100644 index 0000000000..924bc4aed3 --- /dev/null +++ b/4654.6a2cf9eb.async.js @@ -0,0 +1,7 @@ +(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[4654],{509:function(F,x){"use strict";var t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};x.Z=t},86743:function(F,x,t){"use strict";var l=t(30470),s=t(67294),E=t(15867),d=t(33671);function u(P){return!!(P&&P.then)}const g=P=>{const{type:b,children:S,prefixCls:R,buttonProps:$,close:N,autoFocus:a,emitEvent:y,isSilent:Z,quitOnNullishReturnValue:B,actionFn:p}=P,C=s.useRef(!1),D=s.useRef(null),[m,h]=(0,l.Z)(!1),T=function(){N==null||N.apply(void 0,arguments)};s.useEffect(()=>{let A=null;return a&&(A=setTimeout(()=>{var M;(M=D.current)===null||M===void 0||M.focus()})),()=>{A&&clearTimeout(A)}},[]);const L=A=>{u(A)&&(h(!0),A.then(function(){h(!1,!0),T.apply(void 0,arguments),C.current=!1},M=>{if(h(!1,!0),C.current=!1,!(Z!=null&&Z()))return Promise.reject(M)}))},I=A=>{if(C.current)return;if(C.current=!0,!p){T();return}let M;if(y){if(M=p(A),B&&!u(M)){C.current=!1,T(A);return}}else if(p.length)M=p(N),C.current=!1;else if(M=p(),!M){T();return}L(M)};return s.createElement(E.ZP,Object.assign({},(0,d.nx)(b),{onClick:I,loading:m,prefixCls:R},$,{ref:D}),S)};x.Z=g},69760:function(F,x,t){"use strict";t.d(x,{Z:function(){return d}});var l=t(62208),s=t(67294);function E(u,g,P){return typeof u=="boolean"?u:g===void 0?!!P:g!==!1&&g!==null}function d(u,g,P){let b=arguments.length>3&&arguments[3]!==void 0?arguments[3]:s.createElement(l.Z,null),S=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(!E(u,g,S))return[!1,null];const $=typeof g=="boolean"||g===void 0||g===null?b:g;return[!0,P?P($):$]}},9708:function(F,x,t){"use strict";t.d(x,{F:function(){return u},Z:function(){return d}});var l=t(94184),s=t.n(l);const E=null;function d(g,P,b){return s()({[`${g}-status-success`]:P==="success",[`${g}-status-warning`]:P==="warning",[`${g}-status-error`]:P==="error",[`${g}-status-validating`]:P==="validating",[`${g}-has-feedback`]:b})}const u=(g,P)=>P||g},10110:function(F,x,t){"use strict";var l=t(67294),s=t(76745),E=t(40378);const d=(u,g)=>{const P=l.useContext(s.Z),b=l.useMemo(()=>{var R;const $=g||E.Z[u],N=(R=P==null?void 0:P[u])!==null&&R!==void 0?R:{};return Object.assign(Object.assign({},typeof $=="function"?$():$),N||{})},[u,g,P]),S=l.useMemo(()=>{const R=P==null?void 0:P.locale;return P!=null&&P.exist&&!R?E.Z.locale:R},[P]);return[b,S]};x.Z=d},71899:function(F,x,t){"use strict";t.d(x,{O:function(){return A},Z:function(){return U}});var l=t(74902),s=t(67294),E=t(76278),d=t(17012),u=t(26702),g=t(1558),P=t(94184),b=t.n(P),S=t(33603),R=t(94740),$=t(10110),N=t(86743),a=t(23745),Z=()=>{const{autoFocusButton:v,cancelButtonProps:e,cancelTextLocale:o,isSilent:n,mergedOkCancel:f,rootPrefixCls:i,close:r,onCancel:c,onConfirm:O}=(0,s.useContext)(a.t);return f?s.createElement(N.Z,{isSilent:n,actionFn:c,close:function(){r==null||r.apply(void 0,arguments),O==null||O(!1)},autoFocus:v==="cancel",buttonProps:e,prefixCls:`${i}-btn`},o):null},p=()=>{const{autoFocusButton:v,close:e,isSilent:o,okButtonProps:n,rootPrefixCls:f,okTextLocale:i,okType:r,onConfirm:c,onOk:O}=(0,s.useContext)(a.t);return s.createElement(N.Z,{isSilent:o,type:r||"primary",actionFn:O,close:function(){e==null||e.apply(void 0,arguments),c==null||c(!0)},autoFocus:v==="ok",buttonProps:n,prefixCls:`${f}-btn`},i)},C=t(56745),D=t(71194),m=t(14747),h=t(67968);const T=v=>{const{componentCls:e,titleFontSize:o,titleLineHeight:n,modalConfirmIconSize:f,fontSize:i,lineHeight:r}=v,c=`${e}-confirm`,O=Math.round(o*n),H=Math.round(i*r);return{[c]:{"&-rtl":{direction:"rtl"},[`${v.antCls}-modal-header`]:{display:"none"},[`${c}-body-wrapper`]:Object.assign({},(0,m.dF)()),[`${c}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${v.iconCls}`]:{flex:"none",fontSize:f,marginInlineEnd:v.marginSM,marginTop:(H-f)/2},[`&-has-title > ${v.iconCls}`]:{marginTop:(O-f)/2}},[`${c}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:v.marginXS},[`${c}-title`]:{color:v.colorTextHeading,fontWeight:v.fontWeightStrong,fontSize:o,lineHeight:n},[`${c}-content`]:{color:v.colorText,fontSize:i,lineHeight:r},[`${c}-btns`]:{textAlign:"end",marginTop:v.marginSM,[`${v.antCls}-btn + ${v.antCls}-btn`]:{marginBottom:0,marginInlineStart:v.marginXS}}},[`${c}-error ${c}-body > ${v.iconCls}`]:{color:v.colorError},[`${c}-warning ${c}-body > ${v.iconCls}, + ${c}-confirm ${c}-body > ${v.iconCls}`]:{color:v.colorWarning},[`${c}-info ${c}-body > ${v.iconCls}`]:{color:v.colorInfo},[`${c}-success ${c}-body > ${v.iconCls}`]:{color:v.colorSuccess}}};var L=(0,h.b)(["Modal","confirm"],v=>{const e=(0,D.B4)(v);return[T(e)]},D.eh,{order:-1e3}),I=function(v,e){var o={};for(var n in v)Object.prototype.hasOwnProperty.call(v,n)&&e.indexOf(n)<0&&(o[n]=v[n]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,n=Object.getOwnPropertySymbols(v);fk,(0,l.Z)(Object.values(k))),ee=s.createElement(s.Fragment,null,s.createElement(Z,null),s.createElement(p,null)),X=v.title!==void 0&&v.title!==null,Q=`${i}-body`;return s.createElement("div",{className:`${i}-body-wrapper`},s.createElement("div",{className:b()(Q,{[`${Q}-has-title`]:X})},z,s.createElement("div",{className:`${i}-paragraph`},X&&s.createElement("span",{className:`${i}-title`},v.title),s.createElement("div",{className:`${i}-content`},v.content))),O===void 0||typeof O=="function"?s.createElement(a.n,{value:J},s.createElement("div",{className:`${i}-btns`},typeof O=="function"?O(ee,{OkBtn:p,CancelBtn:Z}):ee)):O,s.createElement(L,{prefixCls:e}))}var U=v=>{const{close:e,zIndex:o,afterClose:n,visible:f,open:i,keyboard:r,centered:c,getContainer:O,maskStyle:H,direction:W,prefixCls:z,wrapClassName:j,rootPrefixCls:w,iconPrefixCls:V,theme:K,bodyStyle:G,closable:_=!1,closeIcon:k,modalRender:J,focusTriggerAfterClose:ee,onConfirm:X}=v,Q=`${z}-confirm`,ne=v.width||416,oe=v.style||{},q=v.mask===void 0?!0:v.mask,Y=v.maskClosable===void 0?!1:v.maskClosable,re=b()(Q,`${Q}-${v.type}`,{[`${Q}-rtl`]:W==="rtl"},v.className);return s.createElement(R.ZP,{prefixCls:w,iconPrefixCls:V,direction:W,theme:K},s.createElement(C.Z,{prefixCls:z,className:re,wrapClassName:b()({[`${Q}-centered`]:!!v.centered},j),onCancel:()=>{e==null||e({triggerCancel:!0}),X==null||X(!1)},open:i,title:"",footer:null,transitionName:(0,S.m)(w||"","zoom",v.transitionName),maskTransitionName:(0,S.m)(w||"","fade",v.maskTransitionName),mask:q,maskClosable:Y,maskStyle:H,style:oe,bodyStyle:G,width:ne,zIndex:o,afterClose:n,keyboard:r,centered:c,getContainer:O,closable:_,closeIcon:k,modalRender:J,focusTriggerAfterClose:ee},s.createElement(A,Object.assign({},v,{confirmPrefixCls:Q}))))}},56745:function(F,x,t){"use strict";t.d(x,{Z:function(){return m}});var l=t(67294),s=t(62208),E=t(94184),d=t.n(E),u=t(31058),g=t(69760),P=t(33603),b=t(98924);const S=()=>(0,b.Z)()&&window.document.documentElement;var R=t(53124),$=t(65223),N=t(4173),a=t(16569),y=t(4941),Z=t(71194),B=function(h,T){var L={};for(var I in h)Object.prototype.hasOwnProperty.call(h,I)&&T.indexOf(I)<0&&(L[I]=h[I]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,I=Object.getOwnPropertySymbols(h);A{p={x:h.pageX,y:h.pageY},setTimeout(()=>{p=null},100)};S()&&document.documentElement.addEventListener("click",C,!0);var m=h=>{var T;const{getPopupContainer:L,getPrefixCls:I,direction:A,modal:M}=l.useContext(R.E_),U=q=>{const{onCancel:Y}=h;Y==null||Y(q)},v=q=>{const{onOk:Y}=h;Y==null||Y(q)},{prefixCls:e,className:o,rootClassName:n,open:f,wrapClassName:i,centered:r,getContainer:c,closeIcon:O,closable:H,focusTriggerAfterClose:W=!0,style:z,visible:j,width:w=520,footer:V}=h,K=B(h,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),G=I("modal",e),_=I(),[k,J]=(0,Z.ZP)(G),ee=d()(i,{[`${G}-centered`]:!!r,[`${G}-wrap-rtl`]:A==="rtl"}),X=V!==null&&l.createElement(y.$,Object.assign({},h,{onOk:v,onCancel:U})),[Q,ne]=(0,g.Z)(H,O,q=>(0,y.b)(G,q),l.createElement(s.Z,{className:`${G}-close-icon`}),!0),oe=(0,a.H)(`.${G}-content`);return k(l.createElement(N.BR,null,l.createElement($.Ux,{status:!0,override:!0},l.createElement(u.Z,Object.assign({width:w},K,{getContainer:c===void 0?L:c,prefixCls:G,rootClassName:d()(J,n),wrapClassName:ee,footer:X,visible:f!=null?f:j,mousePosition:(T=K.mousePosition)!==null&&T!==void 0?T:p,onClose:U,closable:Q,closeIcon:ne,focusTriggerAfterClose:W,transitionName:(0,P.m)(_,"zoom",h.transitionName),maskTransitionName:(0,P.m)(_,"fade",h.maskTransitionName),className:d()(J,o,M==null?void 0:M.className),style:Object.assign(Object.assign({},M==null?void 0:M.style),z),panelRef:oe})))))}},56080:function(F,x,t){"use strict";t.d(x,{AQ:function(){return Z},Au:function(){return B},ZP:function(){return $},ai:function(){return p},cw:function(){return a},uW:function(){return N},vq:function(){return y}});var l=t(74902),s=t(38135),E=t(67294),d=t(94740),u=t(71899),g=t(38657),P=t(83008),b=function(C,D){var m={};for(var h in C)Object.prototype.hasOwnProperty.call(C,h)&&D.indexOf(h)<0&&(m[h]=C[h]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,h=Object.getOwnPropertySymbols(C);To&&o.triggerCancel);C.onCancel&&e&&C.onCancel.apply(C,[()=>{}].concat((0,l.Z)(U.slice(1))));for(let o=0;o{const f=(0,P.A)(),{getPrefixCls:i,getIconPrefixCls:r,getTheme:c}=(0,d.w6)(),O=i(void 0,R()),H=e||`${O}-modal`,W=r(),z=c();let j=o;j===!1&&(j=void 0),(0,s.s)(E.createElement(u.Z,Object.assign({},n,{getContainer:j,prefixCls:H,rootPrefixCls:O,iconPrefixCls:W,okText:U,locale:f,theme:z,cancelText:v||f.cancelText})),D)})}function I(){for(var M=arguments.length,U=new Array(M),v=0;v{typeof C.afterClose=="function"&&C.afterClose(),T.apply(this,U)}}),m.visible&&delete m.visible,L(m)}function A(M){typeof M=="function"?m=M(m):m=Object.assign(Object.assign({},m),M),L(m)}return L(m),g.Z.push(I),{destroy:I,update:A}}function N(C){return Object.assign(Object.assign({},C),{type:"warning"})}function a(C){return Object.assign(Object.assign({},C),{type:"info"})}function y(C){return Object.assign(Object.assign({},C),{type:"success"})}function Z(C){return Object.assign(Object.assign({},C),{type:"error"})}function B(C){return Object.assign(Object.assign({},C),{type:"confirm"})}function p(C){let{rootPrefixCls:D}=C;S=D}},23745:function(F,x,t){"use strict";t.d(x,{n:function(){return E},t:function(){return s}});var l=t(67294);const s=l.createContext({}),{Provider:E}=s},38657:function(F,x){"use strict";const t=[];x.Z=t},5914:function(F,x,t){"use strict";t.d(x,{Z:function(){return D}});var l=t(56080),s=t(38657),E=t(56745),d=t(67294),u=t(94184),g=t.n(u),P=t(31058),b=t(8745),S=t(53124),R=t(71899),$=t(4941),N=t(71194),a=function(m,h){var T={};for(var L in m)Object.prototype.hasOwnProperty.call(m,L)&&h.indexOf(L)<0&&(T[L]=m[L]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,L=Object.getOwnPropertySymbols(m);I{const{prefixCls:h,className:T,closeIcon:L,closable:I,type:A,title:M,children:U}=m,v=a(m,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:e}=d.useContext(S.E_),o=e(),n=h||e("modal"),[,f]=(0,N.ZP)(n),i=`${n}-confirm`;let r={};return A?r={closable:I!=null?I:!1,title:"",footer:"",children:d.createElement(R.O,Object.assign({},m,{prefixCls:n,confirmPrefixCls:i,rootPrefixCls:o,content:U}))}:r={closable:I!=null?I:!0,title:M,footer:m.footer===void 0?d.createElement($.$,Object.assign({},m)):m.footer,children:U},d.createElement(P.s,Object.assign({prefixCls:n,className:g()(f,`${n}-pure-panel`,A&&i,A&&`${i}-${A}`,T)},v,{closeIcon:(0,$.b)(n,L),closable:I},r))};var Z=(0,b.i)(y),B=t(94423);function p(m){return(0,l.ZP)((0,l.uW)(m))}const C=E.Z;C.useModal=B.Z,C.info=function(h){return(0,l.ZP)((0,l.cw)(h))},C.success=function(h){return(0,l.ZP)((0,l.vq)(h))},C.error=function(h){return(0,l.ZP)((0,l.AQ)(h))},C.warning=p,C.warn=p,C.confirm=function(h){return(0,l.ZP)((0,l.Au)(h))},C.destroyAll=function(){for(;s.Z.length;){const h=s.Z.pop();h&&h()}},C.config=l.ai,C._InternalPanelDoNotUseOrYouWillBeFired=Z;var D=C},4941:function(F,x,t){"use strict";t.d(x,{$:function(){return Z},b:function(){return y}});var l=t(74902),s=t(67294),E=t(62208),d=t(98866),u=t(10110),g=t(15867),P=t(23745),S=()=>{const{cancelButtonProps:B,cancelTextLocale:p,onCancel:C}=(0,s.useContext)(P.t);return s.createElement(g.ZP,Object.assign({onClick:C},B),p)},R=t(33671),N=()=>{const{confirmLoading:B,okButtonProps:p,okType:C,okTextLocale:D,onOk:m}=(0,s.useContext)(P.t);return s.createElement(g.ZP,Object.assign({},(0,R.nx)(C),{loading:B,onClick:m},p),D)},a=t(83008);function y(B,p){return s.createElement("span",{className:`${B}-close-x`},p||s.createElement(E.Z,{className:`${B}-close-icon`}))}const Z=B=>{const{okText:p,okType:C="primary",cancelText:D,confirmLoading:m,onOk:h,onCancel:T,okButtonProps:L,cancelButtonProps:I,footer:A}=B,[M]=(0,u.Z)("Modal",(0,a.A)()),U=p||(M==null?void 0:M.okText),v=D||(M==null?void 0:M.cancelText),e={confirmLoading:m,okButtonProps:L,cancelButtonProps:I,okTextLocale:U,cancelTextLocale:v,okType:C,onOk:h,onCancel:T},o=s.useMemo(()=>e,(0,l.Z)(Object.values(e)));let n;return typeof A=="function"||typeof A=="undefined"?(n=s.createElement(s.Fragment,null,s.createElement(S,null),s.createElement(N,null)),typeof A=="function"&&(n=A(n,{OkBtn:N,CancelBtn:S})),n=s.createElement(P.n,{value:o},n)):n=A,s.createElement(d.n,{disabled:!1},n)}},71194:function(F,x,t){"use strict";t.d(x,{B4:function(){return $},QA:function(){return P},eh:function(){return N}});var l=t(14747),s=t(16932),E=t(50438),d=t(45503),u=t(67968);function g(a){return{position:a,inset:0}}const P=a=>{const{componentCls:y,antCls:Z}=a;return[{[`${y}-root`]:{[`${y}${Z}-zoom-enter, ${y}${Z}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:a.motionDurationSlow,userSelect:"none"},[`${y}${Z}-zoom-leave ${y}-content`]:{pointerEvents:"none"},[`${y}-mask`]:Object.assign(Object.assign({},g("fixed")),{zIndex:a.zIndexPopupBase,height:"100%",backgroundColor:a.colorBgMask,pointerEvents:"none",[`${y}-hidden`]:{display:"none"}}),[`${y}-wrap`]:Object.assign(Object.assign({},g("fixed")),{zIndex:a.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch",[`&:has(${y}${Z}-zoom-enter), &:has(${y}${Z}-zoom-appear)`]:{pointerEvents:"none"}})}},{[`${y}-root`]:(0,s.J$)(a)}]},b=a=>{const{componentCls:y}=a;return[{[`${y}-root`]:{[`${y}-wrap-rtl`]:{direction:"rtl"},[`${y}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[y]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${a.screenSMMax})`]:{[y]:{maxWidth:"calc(100vw - 16px)",margin:`${a.marginXS} auto`},[`${y}-centered`]:{[y]:{flex:1}}}}},{[y]:Object.assign(Object.assign({},(0,l.Wf)(a)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${a.margin*2}px)`,margin:"0 auto",paddingBottom:a.paddingLG,[`${y}-title`]:{margin:0,color:a.titleColor,fontWeight:a.fontWeightStrong,fontSize:a.titleFontSize,lineHeight:a.titleLineHeight,wordWrap:"break-word"},[`${y}-content`]:{position:"relative",backgroundColor:a.contentBg,backgroundClip:"padding-box",border:0,borderRadius:a.borderRadiusLG,boxShadow:a.boxShadow,pointerEvents:"auto",padding:`${a.paddingMD}px ${a.paddingContentHorizontalLG}px`},[`${y}-close`]:Object.assign({position:"absolute",top:(a.modalHeaderHeight-a.modalCloseBtnSize)/2,insetInlineEnd:(a.modalHeaderHeight-a.modalCloseBtnSize)/2,zIndex:a.zIndexPopupBase+10,padding:0,color:a.modalCloseIconColor,fontWeight:a.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:a.borderRadiusSM,width:a.modalCloseBtnSize,height:a.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${a.motionDurationMid}, background-color ${a.motionDurationMid}`,"&-x":{display:"flex",fontSize:a.fontSizeLG,fontStyle:"normal",lineHeight:`${a.modalCloseBtnSize}px`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:a.modalIconHoverColor,backgroundColor:a.wireframe?"transparent":a.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:a.wireframe?"transparent":a.colorFillContentHover}},(0,l.Qy)(a)),[`${y}-header`]:{color:a.colorText,background:a.headerBg,borderRadius:`${a.borderRadiusLG}px ${a.borderRadiusLG}px 0 0`,marginBottom:a.marginXS},[`${y}-body`]:{fontSize:a.fontSize,lineHeight:a.lineHeight,wordWrap:"break-word"},[`${y}-footer`]:{textAlign:"end",background:a.footerBg,marginTop:a.marginSM,[`${a.antCls}-btn + ${a.antCls}-btn:not(${a.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:a.marginXS}},[`${y}-open`]:{overflow:"hidden"}})},{[`${y}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${y}-content, + ${y}-body, + ${y}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${y}-confirm-body`]:{marginBottom:"auto"}}}]},S=a=>{const{componentCls:y,antCls:Z}=a,B=`${y}-confirm`;return{[y]:{[`${y}-content`]:{padding:0},[`${y}-header`]:{padding:a.modalHeaderPadding,borderBottom:`${a.modalHeaderBorderWidth}px ${a.modalHeaderBorderStyle} ${a.modalHeaderBorderColorSplit}`,marginBottom:0},[`${y}-body`]:{padding:a.modalBodyPadding},[`${y}-footer`]:{padding:`${a.modalFooterPaddingVertical}px ${a.modalFooterPaddingHorizontal}px`,borderTop:`${a.modalFooterBorderWidth}px ${a.modalFooterBorderStyle} ${a.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${a.borderRadiusLG}px ${a.borderRadiusLG}px`,marginTop:0}},[B]:{[`${Z}-modal-body`]:{padding:`${a.padding*2}px ${a.padding*2}px ${a.paddingLG}px`},[`${B}-body`]:{[`> ${a.iconCls}`]:{marginInlineEnd:a.margin,[`+ ${B}-title + ${B}-content`]:{marginInlineStart:a.modalConfirmIconSize+a.margin}}},[`${B}-btns`]:{marginTop:a.marginLG}}}},R=a=>{const{componentCls:y}=a;return{[`${y}-root`]:{[`${y}-wrap-rtl`]:{direction:"rtl",[`${y}-confirm-body`]:{direction:"rtl"}}}}},$=a=>{const y=a.padding,Z=a.fontSizeHeading5,B=a.lineHeightHeading5;return(0,d.TS)(a,{modalBodyPadding:a.paddingLG,modalHeaderPadding:`${y}px ${a.paddingLG}px`,modalHeaderBorderWidth:a.lineWidth,modalHeaderBorderStyle:a.lineType,modalHeaderBorderColorSplit:a.colorSplit,modalHeaderHeight:B*Z+y*2,modalFooterBorderColorSplit:a.colorSplit,modalFooterBorderStyle:a.lineType,modalFooterPaddingVertical:a.paddingXS,modalFooterPaddingHorizontal:a.padding,modalFooterBorderWidth:a.lineWidth,modalIconHoverColor:a.colorIconHover,modalCloseIconColor:a.colorIcon,modalCloseBtnSize:a.fontSize*a.lineHeight,modalConfirmIconSize:a.fontSize*a.lineHeight})},N=a=>({footerBg:"transparent",headerBg:a.colorBgElevated,titleLineHeight:a.lineHeightHeading5,titleFontSize:a.fontSizeHeading5,contentBg:a.colorBgElevated,titleColor:a.colorTextHeading});x.ZP=(0,u.Z)("Modal",a=>{const y=$(a);return[b(y),R(y),P(y),a.wireframe&&S(y),(0,E._y)(y,"zoom")]},N)},94423:function(F,x,t){"use strict";t.d(x,{Z:function(){return B}});var l=t(74902),s=t(67294);function E(){const[p,C]=s.useState([]),D=s.useCallback(m=>(C(h=>[].concat((0,l.Z)(h),[m])),()=>{C(h=>h.filter(T=>T!==m))}),[]);return[p,D]}var d=t(56080),u=t(38657),g=t(53124),P=t(40378),b=t(10110),S=t(71899),R=function(p,C){var D={};for(var m in p)Object.prototype.hasOwnProperty.call(p,m)&&C.indexOf(m)<0&&(D[m]=p[m]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,m=Object.getOwnPropertySymbols(p);h{var D,{afterClose:m,config:h}=p,T=R(p,["afterClose","config"]);const[L,I]=s.useState(!0),[A,M]=s.useState(h),{direction:U,getPrefixCls:v}=s.useContext(g.E_),e=v("modal"),o=v(),n=()=>{var c;m(),(c=A.afterClose)===null||c===void 0||c.call(A)},f=function(){I(!1);for(var c=arguments.length,O=new Array(c),H=0;Hz&&z.triggerCancel);A.onCancel&&W&&A.onCancel.apply(A,[()=>{}].concat((0,l.Z)(O.slice(1))))};s.useImperativeHandle(C,()=>({destroy:f,update:c=>{M(O=>Object.assign(Object.assign({},O),c))}}));const i=(D=A.okCancel)!==null&&D!==void 0?D:A.type==="confirm",[r]=(0,b.Z)("Modal",P.Z.Modal);return s.createElement(S.Z,Object.assign({prefixCls:e,rootPrefixCls:o},A,{close:f,open:L,afterClose:n,okText:A.okText||(i?r==null?void 0:r.okText:r==null?void 0:r.justOkText),direction:A.direction||U,cancelText:A.cancelText||(r==null?void 0:r.cancelText)},T))};var N=s.forwardRef($);let a=0;const y=s.memo(s.forwardRef((p,C)=>{const[D,m]=E();return s.useImperativeHandle(C,()=>({patchElement:m}),[]),s.createElement(s.Fragment,null,D)}));function Z(){const p=s.useRef(null),[C,D]=s.useState([]);s.useEffect(()=>{C.length&&((0,l.Z)(C).forEach(L=>{L()}),D([]))},[C]);const m=s.useCallback(T=>function(I){var A;a+=1;const M=s.createRef();let U;const v=new Promise(i=>{U=i});let e=!1,o;const n=s.createElement(N,{key:`modal-${a}`,config:T(I),ref:M,afterClose:()=>{o==null||o()},isSilent:()=>e,onConfirm:i=>{U(i)}});return o=(A=p.current)===null||A===void 0?void 0:A.patchElement(n),o&&u.Z.push(o),{destroy:()=>{function i(){var r;(r=M.current)===null||r===void 0||r.destroy()}M.current?i():D(r=>[].concat((0,l.Z)(r),[i]))},update:i=>{function r(){var c;(c=M.current)===null||c===void 0||c.update(i)}M.current?r():D(c=>[].concat((0,l.Z)(c),[r]))},then:i=>(e=!0,v.then(i))}},[]);return[s.useMemo(()=>({info:m(d.cw),success:m(d.vq),error:m(d.AQ),warning:m(d.uW),confirm:m(d.Au)}),[]),s.createElement(y,{key:"modal-holder",ref:p})]}var B=Z},16932:function(F,x,t){"use strict";t.d(x,{J$:function(){return u}});var l=t(86557),s=t(53038);const E=new l.E4("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),d=new l.E4("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),u=function(g){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:b}=g,S=`${b}-fade`,R=P?"&":"";return[(0,s.R)(S,E,d,g.motionDurationMid,P),{[` + ${R}${S}-enter, + ${R}${S}-appear + `]:{opacity:0,animationTimingFunction:"linear"},[`${R}${S}-leave`]:{animationTimingFunction:"linear"}}]}},16569:function(F,x,t){"use strict";t.d(x,{H:function(){return u}});var l=t(56790),s=t(67294);function E(){}const d=s.createContext({add:E,remove:E});function u(g){const P=s.useContext(d),b=s.useRef();return(0,l.zX)(R=>{if(R){const $=g?R.querySelector(g):R;P.add($),b.current=$}else P.remove(b.current)})}x.Z=d},25783:function(F,x,t){"use strict";var l=t(87462),s=t(67294),E=t(509),d=t(93771),u=function(P,b){return s.createElement(d.Z,(0,l.Z)({},P,{ref:b,icon:E.Z}))};x.Z=s.forwardRef(u)},31058:function(F,x,t){"use strict";t.d(x,{s:function(){return h},Z:function(){return v}});var l=t(87462),s=t(97685),E=t(2788),d=t(67294),u=d.createContext({}),g=t(1413),P=t(94184),b=t.n(P),S=t(94999),R=t(7028),$=t(15105),N=t(64217);function a(e,o,n){var f=o;return!f&&n&&(f="".concat(e,"-").concat(n)),f}function y(e,o){var n=e["page".concat(o?"Y":"X","Offset")],f="scroll".concat(o?"Top":"Left");if(typeof n!="number"){var i=e.document;n=i.documentElement[f],typeof n!="number"&&(n=i.body[f])}return n}function Z(e){var o=e.getBoundingClientRect(),n={left:o.left,top:o.top},f=e.ownerDocument,i=f.defaultView||f.parentWindow;return n.left+=y(i),n.top+=y(i,!0),n}var B=t(82225),p=t(42550),C=d.memo(function(e){var o=e.children;return o},function(e,o){var n=o.shouldUpdate;return!n}),D={width:0,height:0,overflow:"hidden",outline:"none"},m=d.forwardRef(function(e,o){var n=e.prefixCls,f=e.className,i=e.style,r=e.title,c=e.ariaId,O=e.footer,H=e.closable,W=e.closeIcon,z=e.onClose,j=e.children,w=e.bodyStyle,V=e.bodyProps,K=e.modalRender,G=e.onMouseDown,_=e.onMouseUp,k=e.holderRef,J=e.visible,ee=e.forceRender,X=e.width,Q=e.height,ne=d.useContext(u),oe=ne.panel,q=(0,p.x1)(k,oe),Y=(0,d.useRef)(),re=(0,d.useRef)();d.useImperativeHandle(o,function(){return{focus:function(){var ae;(ae=Y.current)===null||ae===void 0||ae.focus()},changeActive:function(ae){var fe=document,de=fe.activeElement;ae&&de===re.current?Y.current.focus():!ae&&de===Y.current&&re.current.focus()}}});var ce={};X!==void 0&&(ce.width=X),Q!==void 0&&(ce.height=Q);var he;O&&(he=d.createElement("div",{className:"".concat(n,"-footer")},O));var ie;r&&(ie=d.createElement("div",{className:"".concat(n,"-header")},d.createElement("div",{className:"".concat(n,"-title"),id:c},r)));var le;H&&(le=d.createElement("button",{type:"button",onClick:z,"aria-label":"Close",className:"".concat(n,"-close")},W||d.createElement("span",{className:"".concat(n,"-close-x")})));var se=d.createElement("div",{className:"".concat(n,"-content")},le,ie,d.createElement("div",(0,l.Z)({className:"".concat(n,"-body"),style:w},V),j),he);return d.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":r?c:null,"aria-modal":"true",ref:q,style:(0,g.Z)((0,g.Z)({},i),ce),className:b()(n,f),onMouseDown:G,onMouseUp:_},d.createElement("div",{tabIndex:0,ref:Y,style:D,"aria-hidden":"true"}),d.createElement(C,{shouldUpdate:J||ee},K?K(se):se),d.createElement("div",{tabIndex:0,ref:re,style:D,"aria-hidden":"true"}))}),h=m,T=d.forwardRef(function(e,o){var n=e.prefixCls,f=e.title,i=e.style,r=e.className,c=e.visible,O=e.forceRender,H=e.destroyOnClose,W=e.motionName,z=e.ariaId,j=e.onVisibleChanged,w=e.mousePosition,V=(0,d.useRef)(),K=d.useState(),G=(0,s.Z)(K,2),_=G[0],k=G[1],J={};_&&(J.transformOrigin=_);function ee(){var X=Z(V.current);k(w?"".concat(w.x-X.left,"px ").concat(w.y-X.top,"px"):"")}return d.createElement(B.ZP,{visible:c,onVisibleChanged:j,onAppearPrepare:ee,onEnterPrepare:ee,forceRender:O,motionName:W,removeOnLeave:H,ref:V},function(X,Q){var ne=X.className,oe=X.style;return d.createElement(h,(0,l.Z)({},e,{ref:o,title:f,ariaId:z,prefixCls:n,holderRef:Q,style:(0,g.Z)((0,g.Z)((0,g.Z)({},oe),i),J),className:b()(r,ne)}))})});T.displayName="Content";var L=T;function I(e){var o=e.prefixCls,n=e.style,f=e.visible,i=e.maskProps,r=e.motionName;return d.createElement(B.ZP,{key:"mask",visible:f,motionName:r,leavedClassName:"".concat(o,"-mask-hidden")},function(c,O){var H=c.className,W=c.style;return d.createElement("div",(0,l.Z)({ref:O,style:(0,g.Z)((0,g.Z)({},W),n),className:b()("".concat(o,"-mask"),H)},i))})}function A(e){var o=e.prefixCls,n=o===void 0?"rc-dialog":o,f=e.zIndex,i=e.visible,r=i===void 0?!1:i,c=e.keyboard,O=c===void 0?!0:c,H=e.focusTriggerAfterClose,W=H===void 0?!0:H,z=e.wrapStyle,j=e.wrapClassName,w=e.wrapProps,V=e.onClose,K=e.afterOpenChange,G=e.afterClose,_=e.transitionName,k=e.animation,J=e.closable,ee=J===void 0?!0:J,X=e.mask,Q=X===void 0?!0:X,ne=e.maskTransitionName,oe=e.maskAnimation,q=e.maskClosable,Y=q===void 0?!0:q,re=e.maskStyle,ce=e.maskProps,he=e.rootClassName,ie=(0,d.useRef)(),le=(0,d.useRef)(),se=(0,d.useRef)(),ue=d.useState(r),ae=(0,s.Z)(ue,2),fe=ae[0],de=ae[1],be=(0,R.Z)();function ye(){(0,S.Z)(le.current,document.activeElement)||(ie.current=document.activeElement)}function Ee(){if(!(0,S.Z)(le.current,document.activeElement)){var te;(te=se.current)===null||te===void 0||te.focus()}}function pe(te){if(te)Ee();else{if(de(!1),Q&&ie.current&&W){try{ie.current.focus({preventScroll:!0})}catch(ge){}ie.current=null}fe&&(G==null||G())}K==null||K(te)}function ve(te){V==null||V(te)}var me=(0,d.useRef)(!1),xe=(0,d.useRef)(),Oe=function(){clearTimeout(xe.current),me.current=!0},Pe=function(){xe.current=setTimeout(function(){me.current=!1})},Ce=null;Y&&(Ce=function(ge){me.current?me.current=!1:le.current===ge.target&&ve(ge)});function Se(te){if(O&&te.keyCode===$.Z.ESC){te.stopPropagation(),ve(te);return}r&&te.keyCode===$.Z.TAB&&se.current.changeActive(!te.shiftKey)}return(0,d.useEffect)(function(){r&&(de(!0),ye())},[r]),(0,d.useEffect)(function(){return function(){clearTimeout(xe.current)}},[]),d.createElement("div",(0,l.Z)({className:b()("".concat(n,"-root"),he)},(0,N.Z)(e,{data:!0})),d.createElement(I,{prefixCls:n,visible:Q&&r,motionName:a(n,ne,oe),style:(0,g.Z)({zIndex:f},re),maskProps:ce}),d.createElement("div",(0,l.Z)({tabIndex:-1,onKeyDown:Se,className:b()("".concat(n,"-wrap"),j),ref:le,onClick:Ce,style:(0,g.Z)((0,g.Z)({zIndex:f},z),{},{display:fe?null:"none"})},w),d.createElement(L,(0,l.Z)({},e,{onMouseDown:Oe,onMouseUp:Pe,ref:se,closable:ee,ariaId:be,prefixCls:n,visible:r&&fe,onClose:ve,onVisibleChanged:pe,motionName:a(n,_,k)}))))}var M=function(o){var n=o.visible,f=o.getContainer,i=o.forceRender,r=o.destroyOnClose,c=r===void 0?!1:r,O=o.afterClose,H=o.panelRef,W=d.useState(n),z=(0,s.Z)(W,2),j=z[0],w=z[1],V=d.useMemo(function(){return{panel:H}},[H]);return d.useEffect(function(){n&&w(!0)},[n]),!i&&c&&!j?null:d.createElement(u.Provider,{value:V},d.createElement(E.Z,{open:n||i||j,autoDestroy:!1,getContainer:f,autoLock:n||j},d.createElement(A,(0,l.Z)({},o,{destroyOnClose:c,afterClose:function(){O==null||O(),w(!1)}}))))};M.displayName="Dialog";var U=M,v=U},33715:function(F,x,t){var l=x;l.utils=t(26436),l.common=t(95772),l.sha=t(89041),l.ripemd=t(12949),l.hmac=t(52344),l.sha1=l.sha.sha1,l.sha256=l.sha.sha256,l.sha224=l.sha.sha224,l.sha384=l.sha.sha384,l.sha512=l.sha.sha512,l.ripemd160=l.ripemd.ripemd160},95772:function(F,x,t){"use strict";var l=t(26436),s=t(79746);function E(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}x.BlockHash=E,E.prototype.update=function(u,g){if(u=l.toArray(u,g),this.pending?this.pending=this.pending.concat(u):this.pending=u,this.pendingTotal+=u.length,this.pending.length>=this._delta8){u=this.pending;var P=u.length%this._delta8;this.pending=u.slice(u.length-P,u.length),this.pending.length===0&&(this.pending=null),u=l.join32(u,0,u.length-P,this.endian);for(var b=0;b>>24&255,b[S++]=u>>>16&255,b[S++]=u>>>8&255,b[S++]=u&255}else for(b[S++]=u&255,b[S++]=u>>>8&255,b[S++]=u>>>16&255,b[S++]=u>>>24&255,b[S++]=0,b[S++]=0,b[S++]=0,b[S++]=0,R=8;Rthis.blockSize&&(u=new this.Hash().update(u).digest()),s(u.length<=this.blockSize);for(var g=u.length;g>>3}x.g0_256=S;function R($){return s($,17)^s($,19)^$>>>10}x.g1_256=R},26436:function(F,x,t){"use strict";var l=t(79746),s=t(35717);x.inherits=s;function E(e,o){return(e.charCodeAt(o)&64512)!==55296||o<0||o+1>=e.length?!1:(e.charCodeAt(o+1)&64512)===56320}function d(e,o){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if(typeof e=="string")if(o){if(o==="hex")for(e=e.replace(/[^a-z0-9]+/ig,""),e.length%2!==0&&(e="0"+e),i=0;i>6|192,n[f++]=r&63|128):E(e,i)?(r=65536+((r&1023)<<10)+(e.charCodeAt(++i)&1023),n[f++]=r>>18|240,n[f++]=r>>12&63|128,n[f++]=r>>6&63|128,n[f++]=r&63|128):(n[f++]=r>>12|224,n[f++]=r>>6&63|128,n[f++]=r&63|128)}else for(i=0;i>>24|e>>>8&65280|e<<8&16711680|(e&255)<<24;return o>>>0}x.htonl=g;function P(e,o){for(var n="",f=0;f>>0}return r}x.join32=R;function $(e,o){for(var n=new Array(e.length*4),f=0,i=0;f>>24,n[i+1]=r>>>16&255,n[i+2]=r>>>8&255,n[i+3]=r&255):(n[i+3]=r>>>24,n[i+2]=r>>>16&255,n[i+1]=r>>>8&255,n[i]=r&255)}return n}x.split32=$;function N(e,o){return e>>>o|e<<32-o}x.rotr32=N;function a(e,o){return e<>>32-o}x.rotl32=a;function y(e,o){return e+o>>>0}x.sum32=y;function Z(e,o,n){return e+o+n>>>0}x.sum32_3=Z;function B(e,o,n,f){return e+o+n+f>>>0}x.sum32_4=B;function p(e,o,n,f,i){return e+o+n+f+i>>>0}x.sum32_5=p;function C(e,o,n,f){var i=e[o],r=e[o+1],c=f+r>>>0,O=(c>>0,e[o+1]=c}x.sum64=C;function D(e,o,n,f){var i=o+f>>>0,r=(i>>0}x.sum64_hi=D;function m(e,o,n,f){var i=o+f;return i>>>0}x.sum64_lo=m;function h(e,o,n,f,i,r,c,O){var H=0,W=o;W=W+f>>>0,H+=W>>0,H+=W>>0,H+=W>>0}x.sum64_4_hi=h;function T(e,o,n,f,i,r,c,O){var H=o+f+r+O;return H>>>0}x.sum64_4_lo=T;function L(e,o,n,f,i,r,c,O,H,W){var z=0,j=o;j=j+f>>>0,z+=j>>0,z+=j>>0,z+=j>>0,z+=j>>0}x.sum64_5_hi=L;function I(e,o,n,f,i,r,c,O,H,W){var z=o+f+r+O+W;return z>>>0}x.sum64_5_lo=I;function A(e,o,n){var f=o<<32-n|e>>>n;return f>>>0}x.rotr64_hi=A;function M(e,o,n){var f=e<<32-n|o>>>n;return f>>>0}x.rotr64_lo=M;function U(e,o,n){return e>>>n}x.shr64_hi=U;function v(e,o,n){var f=e<<32-n|o>>>n;return f>>>0}x.shr64_lo=v},35717:function(F){typeof Object.create=="function"?F.exports=function(t,l){l&&(t.super_=l,t.prototype=Object.create(l.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:F.exports=function(t,l){if(l){t.super_=l;var s=function(){};s.prototype=l.prototype,t.prototype=new s,t.prototype.constructor=t}}},79746:function(F){F.exports=x;function x(t,l){if(!t)throw new Error(l||"Assertion failed")}x.equal=function(l,s,E){if(l!=s)throw new Error(E||"Assertion failed: "+l+" != "+s)}}}]); diff --git a/4796.089b4ee6.async.js b/4796.089b4ee6.async.js new file mode 100644 index 0000000000..fdc9e101aa --- /dev/null +++ b/4796.089b4ee6.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[4796],{94796:function(A,c,a){a.r(c),a.d(c,{oz:function(){return C}});function o(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var p=/[\^@!\|<>#~\.\*\-\+\\/,=]/,z=/(<-)|(:=)|(=<)|(>=)|(<=)|(<:)|(>:)|(=:)|(\\=)|(\\=:)|(!!)|(==)|(::)/,m=/(:::)|(\.\.\.)|(=<:)|(>=:)/,f=["in","then","else","of","elseof","elsecase","elseif","catch","finally","with","require","prepare","import","export","define","do"],l=["end"],v=o(["true","false","nil","unit"]),g=o(["andthen","at","attr","declare","feat","from","lex","mod","div","mode","orelse","parser","prod","prop","scanner","self","syn","token"]),w=o(["local","proc","fun","case","class","if","cond","or","dis","choice","not","thread","try","raise","lock","for","suchthat","meth","functor"]),d=o(f),h=o(l);function i(e,n){if(e.eatSpace())return null;if(e.match(/[{}]/))return"bracket";if(e.match("[]"))return"keyword";if(e.match(m)||e.match(z))return"operator";if(e.match(v))return"atom";var t=e.match(w);if(t)return n.doInCurrentLine?n.doInCurrentLine=!1:n.currentIndent++,t[0]=="proc"||t[0]=="fun"?n.tokenize=x:t[0]=="class"?n.tokenize=b:t[0]=="meth"&&(n.tokenize=y),"keyword";if(e.match(d)||e.match(g))return"keyword";if(e.match(h))return n.currentIndent--,"keyword";var r=e.next();if(r=='"'||r=="'")return n.tokenize=I(r),n.tokenize(e,n);if(/[~\d]/.test(r)){if(r=="~")if(/^[0-9]/.test(e.peek())){if(e.next()=="0"&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/))return"number"}else return null;return r=="0"&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/)?"number":null}return r=="%"?(e.skipToEnd(),"comment"):r=="/"&&e.eat("*")?(n.tokenize=k,k(e,n)):p.test(r)?"operator":(e.eatWhile(/\w/),"variable")}function b(e,n){return e.eatSpace()?null:(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)/),n.tokenize=i,"type")}function y(e,n){return e.eatSpace()?null:(e.match(/([a-zA-Z][A-Za-z0-9_]*)|(`.+`)/),n.tokenize=i,"def")}function x(e,n){return e.eatSpace()?null:!n.hasPassedFirstStage&&e.eat("{")?(n.hasPassedFirstStage=!0,"bracket"):n.hasPassedFirstStage?(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)|\$/),n.hasPassedFirstStage=!1,n.tokenize=i,"def"):(n.tokenize=i,null)}function k(e,n){for(var t=!1,r;r=e.next();){if(r=="/"&&t){n.tokenize=i;break}t=r=="*"}return"comment"}function I(e){return function(n,t){for(var r=!1,u,s=!1;(u=n.next())!=null;){if(u==e&&!r){s=!0;break}r=!r&&u=="\\"}return(s||!r)&&(t.tokenize=i),"string"}}function S(){var e=f.concat(l);return new RegExp("[\\[\\]]|("+e.join("|")+")$")}const C={name:"oz",startState:function(){return{tokenize:i,currentIndent:0,doInCurrentLine:!1,hasPassedFirstStage:!1}},token:function(e,n){return e.sol()&&(n.doInCurrentLine=0),n.tokenize(e,n)},indent:function(e,n,t){var r=n.replace(/^\s+|\s+$/g,"");return r.match(h)||r.match(d)||r.match(/(\[])/)?t.unit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*t.unit},languageData:{indentOnInut:S(),commentTokens:{line:"%",block:{open:"/*",close:"*/"}}}}}}]); diff --git a/4812.ea63ac14.async.js b/4812.ea63ac14.async.js new file mode 100644 index 0000000000..156d237035 --- /dev/null +++ b/4812.ea63ac14.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[4812],{34812:function(v,a,d){d.r(a),d.d(a,{dockerFile:function(){return g}});var k=d(44125),x="from",c=new RegExp("^(\\s*)\\b("+x+")\\b","i"),f=["run","cmd","entrypoint","shell"],h=new RegExp("^(\\s*)("+f.join("|")+")(\\s+\\[)","i"),p="expose",w=new RegExp("^(\\s*)("+p+")(\\s+)","i"),n=["arg","from","maintainer","label","env","add","copy","volume","user","workdir","onbuild","stopsignal","healthcheck","shell"],t=[x,p].concat(f).concat(n),e="("+t.join("|")+")",s=new RegExp("^(\\s*)"+e+"(\\s*)(#.*)?$","i"),u=new RegExp("^(\\s*)"+e+"(\\s+)","i");const g=(0,k.Q)({start:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:c,token:[null,"keyword"],sol:!0,next:"from"},{regex:s,token:[null,"keyword",null,"error"],sol:!0},{regex:h,token:[null,"keyword",null],sol:!0,next:"array"},{regex:w,token:[null,"keyword",null],sol:!0,next:"expose"},{regex:u,token:[null,"keyword",null],sol:!0,next:"arguments"},{regex:/./,token:null}],from:[{regex:/\s*$/,token:null,next:"start"},{regex:/(\s*)(#.*)$/,token:[null,"error"],next:"start"},{regex:/(\s*\S+\s+)(as)/i,token:[null,"keyword"],next:"start"},{token:null,next:"start"}],single:[{regex:/(?:[^\\']|\\.)/,token:"string"},{regex:/'/,token:"string",pop:!0}],double:[{regex:/(?:[^\\"]|\\.)/,token:"string"},{regex:/"/,token:"string",pop:!0}],array:[{regex:/\]/,token:null,next:"start"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"}],expose:[{regex:/\d+$/,token:"number",next:"start"},{regex:/[^\d]+$/,token:null,next:"start"},{regex:/\d+/,token:"number"},{regex:/[^\d]+/,token:null},{token:null,next:"start"}],arguments:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:/"(?:[^\\"]|\\.)*"?$/,token:"string",next:"start"},{regex:/"/,token:"string",push:"double"},{regex:/'(?:[^\\']|\\.)*'?$/,token:"string",next:"start"},{regex:/'/,token:"string",push:"single"},{regex:/[^#"']+[\\`]$/,token:null},{regex:/[^#"']+$/,token:null,next:"start"},{regex:/[^#"']+/,token:null},{token:null,next:"start"}],languageData:{commentTokens:{line:"#"}}})},44125:function(v,a,d){d.d(a,{Q:function(){return k}});function k(n){x(n,"start");var t={},e=n.languageData||{},s=!1;for(var u in n)if(u!=e&&n.hasOwnProperty(u))for(var g=t[u]=[],o=n[u],r=0;r2&&o.token&&typeof o.token!="string"){e.pending=[];for(var l=2;l-1)return null;var u=e.indent.length-1,g=n[e.state];n:for(;;){for(var o=0;o1&&n.eat("$");var i=n.next();return/['"({]/.test(i)?(e.tokens[0]=c(i,i=="("?"quote":i=="{"?"def":"string"),f(n,e)):(/\d/.test(i)||n.eatWhile(/\w/),e.tokens.shift(),"def")};function b(n){return function(e,i){return e.sol()&&e.string==n&&i.tokens.shift(),e.skipToEnd(),"string.special"}}function f(n,e){return(e.tokens[0]||g)(n,e)}const x={name:"shell",startState:function(){return{tokens:[]}},token:function(n,e){return f(n,e)},languageData:{autocomplete:d.concat(p,a),closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"#"}}}}}]); diff --git a/4988.1a74489a.async.js b/4988.1a74489a.async.js new file mode 100644 index 0000000000..aec52c89b8 --- /dev/null +++ b/4988.1a74489a.async.js @@ -0,0 +1 @@ +(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[4988],{12225:function(F,L,v){(function(d,n,B){F.exports=L=n(v(27430),v(55667),v(3146),v(78052),v(87208))})(this,function(d){return function(){var n=d,B=n.lib,p=B.BlockCipher,S=n.algo,h=[],y=[],r=[],a=[],c=[],e=[],o=[],t=[],i=[],s=[];(function(){for(var x=[],f=0;f<256;f++)f<128?x[f]=f<<1:x[f]=f<<1^283;for(var b=0,g=0,f=0;f<256;f++){var H=g^g<<1^g<<2^g<<3^g<<4;H=H>>>8^H&255^99,h[b]=H,y[H]=b;var C=x[b],W=x[C],D=x[W],P=x[H]*257^H*16843008;r[b]=P<<24|P>>>8,a[b]=P<<16|P>>>16,c[b]=P<<8|P>>>24,e[b]=P;var P=D*16843009^W*65537^C*257^b*16843008;o[H]=P<<24|P>>>8,t[H]=P<<16|P>>>16,i[H]=P<<8|P>>>24,s[H]=P,b?(b=C^x[x[x[D^C]]],g^=x[x[g]]):b=g=1}})();var l=[0,1,2,4,8,16,32,64,128,27,54],u=S.AES=p.extend({_doReset:function(){var x;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var f=this._keyPriorReset=this._key,b=f.words,g=f.sigBytes/4,H=this._nRounds=g+6,C=(H+1)*4,W=this._keySchedule=[],D=0;D6&&D%g==4&&(x=h[x>>>24]<<24|h[x>>>16&255]<<16|h[x>>>8&255]<<8|h[x&255]):(x=x<<8|x>>>24,x=h[x>>>24]<<24|h[x>>>16&255]<<16|h[x>>>8&255]<<8|h[x&255],x^=l[D/g|0]<<24),W[D]=W[D-g]^x);for(var P=this._invKeySchedule=[],U=0;U>>24]]^t[h[x>>>16&255]]^i[h[x>>>8&255]]^s[h[x&255]]}}},encryptBlock:function(x,f){this._doCryptBlock(x,f,this._keySchedule,r,a,c,e,h)},decryptBlock:function(x,f){var b=x[f+1];x[f+1]=x[f+3],x[f+3]=b,this._doCryptBlock(x,f,this._invKeySchedule,o,t,i,s,y);var b=x[f+1];x[f+1]=x[f+3],x[f+3]=b},_doCryptBlock:function(x,f,b,g,H,C,W,D){for(var P=this._nRounds,U=x[f]^b[0],m=x[f+1]^b[1],R=x[f+2]^b[2],O=x[f+3]^b[3],w=4,K=1;K>>24]^H[m>>>16&255]^C[R>>>8&255]^W[O&255]^b[w++],$=g[m>>>24]^H[R>>>16&255]^C[O>>>8&255]^W[U&255]^b[w++],N=g[R>>>24]^H[O>>>16&255]^C[U>>>8&255]^W[m&255]^b[w++],A=g[O>>>24]^H[U>>>16&255]^C[m>>>8&255]^W[R&255]^b[w++];U=T,m=$,R=N,O=A}var T=(D[U>>>24]<<24|D[m>>>16&255]<<16|D[R>>>8&255]<<8|D[O&255])^b[w++],$=(D[m>>>24]<<24|D[R>>>16&255]<<16|D[O>>>8&255]<<8|D[U&255])^b[w++],N=(D[R>>>24]<<24|D[O>>>16&255]<<16|D[U>>>8&255]<<8|D[m&255])^b[w++],A=(D[O>>>24]<<24|D[U>>>16&255]<<16|D[m>>>8&255]<<8|D[R&255])^b[w++];x[f]=T,x[f+1]=$,x[f+2]=N,x[f+3]=A},keySize:256/32});n.AES=p._createHelper(u)}(),d.AES})},87208:function(F,L,v){(function(d,n,B){F.exports=L=n(v(27430),v(78052))})(this,function(d){d.lib.Cipher||function(n){var B=d,p=B.lib,S=p.Base,h=p.WordArray,y=p.BufferedBlockAlgorithm,r=B.enc,a=r.Utf8,c=r.Base64,e=B.algo,o=e.EvpKDF,t=p.Cipher=y.extend({cfg:S.extend(),createEncryptor:function(m,R){return this.create(this._ENC_XFORM_MODE,m,R)},createDecryptor:function(m,R){return this.create(this._DEC_XFORM_MODE,m,R)},init:function(m,R,O){this.cfg=this.cfg.extend(O),this._xformMode=m,this._key=R,this.reset()},reset:function(){y.reset.call(this),this._doReset()},process:function(m){return this._append(m),this._process()},finalize:function(m){m&&this._append(m);var R=this._doFinalize();return R},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function m(R){return typeof R=="string"?U:W}return function(R){return{encrypt:function(O,w,K){return m(w).encrypt(R,O,w,K)},decrypt:function(O,w,K){return m(w).decrypt(R,O,w,K)}}}}()}),i=p.StreamCipher=t.extend({_doFinalize:function(){var m=this._process(!0);return m},blockSize:1}),s=B.mode={},l=p.BlockCipherMode=S.extend({createEncryptor:function(m,R){return this.Encryptor.create(m,R)},createDecryptor:function(m,R){return this.Decryptor.create(m,R)},init:function(m,R){this._cipher=m,this._iv=R}}),u=s.CBC=function(){var m=l.extend();m.Encryptor=m.extend({processBlock:function(O,w){var K=this._cipher,T=K.blockSize;R.call(this,O,w,T),K.encryptBlock(O,w),this._prevBlock=O.slice(w,w+T)}}),m.Decryptor=m.extend({processBlock:function(O,w){var K=this._cipher,T=K.blockSize,$=O.slice(w,w+T);K.decryptBlock(O,w),R.call(this,O,w,T),this._prevBlock=$}});function R(O,w,K){var T,$=this._iv;$?(T=$,this._iv=n):T=this._prevBlock;for(var N=0;N>>2]&255;m.sigBytes-=R}},b=p.BlockCipher=t.extend({cfg:t.cfg.extend({mode:u,padding:f}),reset:function(){var m;t.reset.call(this);var R=this.cfg,O=R.iv,w=R.mode;this._xformMode==this._ENC_XFORM_MODE?m=w.createEncryptor:(m=w.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==m?this._mode.init(this,O&&O.words):(this._mode=m.call(w,this,O&&O.words),this._mode.__creator=m)},_doProcessBlock:function(m,R){this._mode.processBlock(m,R)},_doFinalize:function(){var m,R=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(R.pad(this._data,this.blockSize),m=this._process(!0)):(m=this._process(!0),R.unpad(m)),m},blockSize:128/32}),g=p.CipherParams=S.extend({init:function(m){this.mixIn(m)},toString:function(m){return(m||this.formatter).stringify(this)}}),H=B.format={},C=H.OpenSSL={stringify:function(m){var R,O=m.ciphertext,w=m.salt;return w?R=h.create([1398893684,1701076831]).concat(w).concat(O):R=O,R.toString(c)},parse:function(m){var R,O=c.parse(m),w=O.words;return w[0]==1398893684&&w[1]==1701076831&&(R=h.create(w.slice(2,4)),w.splice(0,4),O.sigBytes-=16),g.create({ciphertext:O,salt:R})}},W=p.SerializableCipher=S.extend({cfg:S.extend({format:C}),encrypt:function(m,R,O,w){w=this.cfg.extend(w);var K=m.createEncryptor(O,w),T=K.finalize(R),$=K.cfg;return g.create({ciphertext:T,key:O,iv:$.iv,algorithm:m,mode:$.mode,padding:$.padding,blockSize:m.blockSize,formatter:w.format})},decrypt:function(m,R,O,w){w=this.cfg.extend(w),R=this._parse(R,w.format);var K=m.createDecryptor(O,w).finalize(R.ciphertext);return K},_parse:function(m,R){return typeof m=="string"?R.parse(m,this):m}}),D=B.kdf={},P=D.OpenSSL={execute:function(m,R,O,w){w||(w=h.random(64/8));var K=o.create({keySize:R+O}).compute(m,w),T=h.create(K.words.slice(R),O*4);return K.sigBytes=R*4,g.create({key:K,iv:T,salt:w})}},U=p.PasswordBasedCipher=W.extend({cfg:W.cfg.extend({kdf:P}),encrypt:function(m,R,O,w){w=this.cfg.extend(w);var K=w.kdf.execute(O,m.keySize,m.ivSize);w.iv=K.iv;var T=W.encrypt.call(this,m,R,K.key,w);return T.mixIn(K),T},decrypt:function(m,R,O,w){w=this.cfg.extend(w),R=this._parse(R,w.format);var K=w.kdf.execute(O,m.keySize,m.ivSize,R.salt);w.iv=K.iv;var T=W.decrypt.call(this,m,R,K.key,w);return T}})}()})},27430:function(F,L,v){(function(d,n){F.exports=L=n()})(this,function(){var d=d||function(n,B){var p;if(typeof window!="undefined"&&window.crypto&&(p=window.crypto),typeof self!="undefined"&&self.crypto&&(p=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(p=globalThis.crypto),!p&&typeof window!="undefined"&&window.msCrypto&&(p=window.msCrypto),!p&&typeof v.g!="undefined"&&v.g.crypto&&(p=v.g.crypto),!p)try{p=v(87196)}catch(x){}var S=function(){if(p){if(typeof p.getRandomValues=="function")try{return p.getRandomValues(new Uint32Array(1))[0]}catch(x){}if(typeof p.randomBytes=="function")try{return p.randomBytes(4).readInt32LE()}catch(x){}}throw new Error("Native crypto module could not be used to get secure random number.")},h=Object.create||function(){function x(){}return function(f){var b;return x.prototype=f,b=new x,x.prototype=null,b}}(),y={},r=y.lib={},a=r.Base=function(){return{extend:function(x){var f=h(this);return x&&f.mixIn(x),(!f.hasOwnProperty("init")||this.init===f.init)&&(f.init=function(){f.$super.init.apply(this,arguments)}),f.init.prototype=f,f.$super=this,f},create:function(){var x=this.extend();return x.init.apply(x,arguments),x},init:function(){},mixIn:function(x){for(var f in x)x.hasOwnProperty(f)&&(this[f]=x[f]);x.hasOwnProperty("toString")&&(this.toString=x.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=r.WordArray=a.extend({init:function(x,f){x=this.words=x||[],f!=B?this.sigBytes=f:this.sigBytes=x.length*4},toString:function(x){return(x||o).stringify(this)},concat:function(x){var f=this.words,b=x.words,g=this.sigBytes,H=x.sigBytes;if(this.clamp(),g%4)for(var C=0;C>>2]>>>24-C%4*8&255;f[g+C>>>2]|=W<<24-(g+C)%4*8}else for(var D=0;D>>2]=b[D>>>2];return this.sigBytes+=H,this},clamp:function(){var x=this.words,f=this.sigBytes;x[f>>>2]&=4294967295<<32-f%4*8,x.length=n.ceil(f/4)},clone:function(){var x=a.clone.call(this);return x.words=this.words.slice(0),x},random:function(x){for(var f=[],b=0;b>>2]>>>24-H%4*8&255;g.push((C>>>4).toString(16)),g.push((C&15).toString(16))}return g.join("")},parse:function(x){for(var f=x.length,b=[],g=0;g>>3]|=parseInt(x.substr(g,2),16)<<24-g%8*4;return new c.init(b,f/2)}},t=e.Latin1={stringify:function(x){for(var f=x.words,b=x.sigBytes,g=[],H=0;H>>2]>>>24-H%4*8&255;g.push(String.fromCharCode(C))}return g.join("")},parse:function(x){for(var f=x.length,b=[],g=0;g>>2]|=(x.charCodeAt(g)&255)<<24-g%4*8;return new c.init(b,f)}},i=e.Utf8={stringify:function(x){try{return decodeURIComponent(escape(t.stringify(x)))}catch(f){throw new Error("Malformed UTF-8 data")}},parse:function(x){return t.parse(unescape(encodeURIComponent(x)))}},s=r.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(x){typeof x=="string"&&(x=i.parse(x)),this._data.concat(x),this._nDataBytes+=x.sigBytes},_process:function(x){var f,b=this._data,g=b.words,H=b.sigBytes,C=this.blockSize,W=C*4,D=H/W;x?D=n.ceil(D):D=n.max((D|0)-this._minBufferSize,0);var P=D*C,U=n.min(P*4,H);if(P){for(var m=0;m>>2]>>>24-t%4*8&255,s=a[t+1>>>2]>>>24-(t+1)%4*8&255,l=a[t+2>>>2]>>>24-(t+2)%4*8&255,u=i<<16|s<<8|l,x=0;x<4&&t+x*.75>>6*(3-x)&63));var f=e.charAt(64);if(f)for(;o.length%4;)o.push(f);return o.join("")},parse:function(r){var a=r.length,c=this._map,e=this._reverseMap;if(!e){e=this._reverseMap=[];for(var o=0;o>>6-t%4*2,l=i|s;e[o>>>2]|=l<<24-o%4*8,o++}return p.create(e,o)}}(),d.enc.Base64})},27744:function(F,L,v){(function(d,n){F.exports=L=n(v(27430))})(this,function(d){return function(){var n=d,B=n.lib,p=B.WordArray,S=n.enc,h=S.Base64url={stringify:function(r,a=!0){var c=r.words,e=r.sigBytes,o=a?this._safe_map:this._map;r.clamp();for(var t=[],i=0;i>>2]>>>24-i%4*8&255,l=c[i+1>>>2]>>>24-(i+1)%4*8&255,u=c[i+2>>>2]>>>24-(i+2)%4*8&255,x=s<<16|l<<8|u,f=0;f<4&&i+f*.75>>6*(3-f)&63));var b=o.charAt(64);if(b)for(;t.length%4;)t.push(b);return t.join("")},parse:function(r,a=!0){var c=r.length,e=a?this._safe_map:this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var t=0;t>>6-t%4*2,l=i|s;e[o>>>2]|=l<<24-o%4*8,o++}return p.create(e,o)}}(),d.enc.Base64url})},32852:function(F,L,v){(function(d,n){F.exports=L=n(v(27430))})(this,function(d){return function(){var n=d,B=n.lib,p=B.WordArray,S=n.enc,h=S.Utf16=S.Utf16BE={stringify:function(r){for(var a=r.words,c=r.sigBytes,e=[],o=0;o>>2]>>>16-o%4*8&65535;e.push(String.fromCharCode(t))}return e.join("")},parse:function(r){for(var a=r.length,c=[],e=0;e>>1]|=r.charCodeAt(e)<<16-e%2*16;return p.create(c,a*2)}};S.Utf16LE={stringify:function(r){for(var a=r.words,c=r.sigBytes,e=[],o=0;o>>2]>>>16-o%4*8&65535);e.push(String.fromCharCode(t))}return e.join("")},parse:function(r){for(var a=r.length,c=[],e=0;e>>1]|=y(r.charCodeAt(e)<<16-e%2*16);return p.create(c,a*2)}};function y(r){return r<<8&4278255360|r>>>8&16711935}}(),d.enc.Utf16})},78052:function(F,L,v){(function(d,n,B){F.exports=L=n(v(27430),v(29660),v(61430))})(this,function(d){return function(){var n=d,B=n.lib,p=B.Base,S=B.WordArray,h=n.algo,y=h.MD5,r=h.EvpKDF=p.extend({cfg:p.extend({keySize:128/32,hasher:y,iterations:1}),init:function(a){this.cfg=this.cfg.extend(a)},compute:function(a,c){for(var e,o=this.cfg,t=o.hasher.create(),i=S.create(),s=i.words,l=o.keySize,u=o.iterations;s.lengtho&&(c=a.finalize(c)),c.clamp();for(var t=this._oKey=c.clone(),i=this._iKey=c.clone(),s=t.words,l=i.words,u=0;u>>2]|=y[c]<<24-c%4*8;S.call(this,a,r)}else S.apply(this,arguments)};h.prototype=p}}(),d.lib.WordArray})},3146:function(F,L,v){(function(d,n){F.exports=L=n(v(27430))})(this,function(d){return function(n){var B=d,p=B.lib,S=p.WordArray,h=p.Hasher,y=B.algo,r=[];(function(){for(var i=0;i<64;i++)r[i]=n.abs(n.sin(i+1))*4294967296|0})();var a=y.MD5=h.extend({_doReset:function(){this._hash=new S.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(i,s){for(var l=0;l<16;l++){var u=s+l,x=i[u];i[u]=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360}var f=this._hash.words,b=i[s+0],g=i[s+1],H=i[s+2],C=i[s+3],W=i[s+4],D=i[s+5],P=i[s+6],U=i[s+7],m=i[s+8],R=i[s+9],O=i[s+10],w=i[s+11],K=i[s+12],T=i[s+13],$=i[s+14],N=i[s+15],A=f[0],k=f[1],E=f[2],z=f[3];A=c(A,k,E,z,b,7,r[0]),z=c(z,A,k,E,g,12,r[1]),E=c(E,z,A,k,H,17,r[2]),k=c(k,E,z,A,C,22,r[3]),A=c(A,k,E,z,W,7,r[4]),z=c(z,A,k,E,D,12,r[5]),E=c(E,z,A,k,P,17,r[6]),k=c(k,E,z,A,U,22,r[7]),A=c(A,k,E,z,m,7,r[8]),z=c(z,A,k,E,R,12,r[9]),E=c(E,z,A,k,O,17,r[10]),k=c(k,E,z,A,w,22,r[11]),A=c(A,k,E,z,K,7,r[12]),z=c(z,A,k,E,T,12,r[13]),E=c(E,z,A,k,$,17,r[14]),k=c(k,E,z,A,N,22,r[15]),A=e(A,k,E,z,g,5,r[16]),z=e(z,A,k,E,P,9,r[17]),E=e(E,z,A,k,w,14,r[18]),k=e(k,E,z,A,b,20,r[19]),A=e(A,k,E,z,D,5,r[20]),z=e(z,A,k,E,O,9,r[21]),E=e(E,z,A,k,N,14,r[22]),k=e(k,E,z,A,W,20,r[23]),A=e(A,k,E,z,R,5,r[24]),z=e(z,A,k,E,$,9,r[25]),E=e(E,z,A,k,C,14,r[26]),k=e(k,E,z,A,m,20,r[27]),A=e(A,k,E,z,T,5,r[28]),z=e(z,A,k,E,H,9,r[29]),E=e(E,z,A,k,U,14,r[30]),k=e(k,E,z,A,K,20,r[31]),A=o(A,k,E,z,D,4,r[32]),z=o(z,A,k,E,m,11,r[33]),E=o(E,z,A,k,w,16,r[34]),k=o(k,E,z,A,$,23,r[35]),A=o(A,k,E,z,g,4,r[36]),z=o(z,A,k,E,W,11,r[37]),E=o(E,z,A,k,U,16,r[38]),k=o(k,E,z,A,O,23,r[39]),A=o(A,k,E,z,T,4,r[40]),z=o(z,A,k,E,b,11,r[41]),E=o(E,z,A,k,C,16,r[42]),k=o(k,E,z,A,P,23,r[43]),A=o(A,k,E,z,R,4,r[44]),z=o(z,A,k,E,K,11,r[45]),E=o(E,z,A,k,N,16,r[46]),k=o(k,E,z,A,H,23,r[47]),A=t(A,k,E,z,b,6,r[48]),z=t(z,A,k,E,U,10,r[49]),E=t(E,z,A,k,$,15,r[50]),k=t(k,E,z,A,D,21,r[51]),A=t(A,k,E,z,K,6,r[52]),z=t(z,A,k,E,C,10,r[53]),E=t(E,z,A,k,O,15,r[54]),k=t(k,E,z,A,g,21,r[55]),A=t(A,k,E,z,m,6,r[56]),z=t(z,A,k,E,N,10,r[57]),E=t(E,z,A,k,P,15,r[58]),k=t(k,E,z,A,T,21,r[59]),A=t(A,k,E,z,W,6,r[60]),z=t(z,A,k,E,w,10,r[61]),E=t(E,z,A,k,H,15,r[62]),k=t(k,E,z,A,R,21,r[63]),f[0]=f[0]+A|0,f[1]=f[1]+k|0,f[2]=f[2]+E|0,f[3]=f[3]+z|0},_doFinalize:function(){var i=this._data,s=i.words,l=this._nDataBytes*8,u=i.sigBytes*8;s[u>>>5]|=128<<24-u%32;var x=n.floor(l/4294967296),f=l;s[(u+64>>>9<<4)+15]=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,s[(u+64>>>9<<4)+14]=(f<<8|f>>>24)&16711935|(f<<24|f>>>8)&4278255360,i.sigBytes=(s.length+1)*4,this._process();for(var b=this._hash,g=b.words,H=0;H<4;H++){var C=g[H];g[H]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360}return b},clone:function(){var i=h.clone.call(this);return i._hash=this._hash.clone(),i}});function c(i,s,l,u,x,f,b){var g=i+(s&l|~s&u)+x+b;return(g<>>32-f)+s}function e(i,s,l,u,x,f,b){var g=i+(s&u|l&~u)+x+b;return(g<>>32-f)+s}function o(i,s,l,u,x,f,b){var g=i+(s^l^u)+x+b;return(g<>>32-f)+s}function t(i,s,l,u,x,f,b){var g=i+(l^(s|~u))+x+b;return(g<>>32-f)+s}B.MD5=h._createHelper(a),B.HmacMD5=h._createHmacHelper(a)}(Math),d.MD5})},3079:function(F,L,v){(function(d,n,B){F.exports=L=n(v(27430),v(87208))})(this,function(d){return d.mode.CFB=function(){var n=d.lib.BlockCipherMode.extend();n.Encryptor=n.extend({processBlock:function(p,S){var h=this._cipher,y=h.blockSize;B.call(this,p,S,y,h),this._prevBlock=p.slice(S,S+y)}}),n.Decryptor=n.extend({processBlock:function(p,S){var h=this._cipher,y=h.blockSize,r=p.slice(S,S+y);B.call(this,p,S,y,h),this._prevBlock=r}});function B(p,S,h,y){var r,a=this._iv;a?(r=a.slice(0),this._iv=void 0):r=this._prevBlock,y.encryptBlock(r,0);for(var c=0;c>24&255)===255){var y=h>>16&255,r=h>>8&255,a=h&255;y===255?(y=0,r===255?(r=0,a===255?a=0:++a):++r):++y,h=0,h+=y<<16,h+=r<<8,h+=a}else h+=1<<24;return h}function p(h){return(h[0]=B(h[0]))===0&&(h[1]=B(h[1])),h}var S=n.Encryptor=n.extend({processBlock:function(h,y){var r=this._cipher,a=r.blockSize,c=this._iv,e=this._counter;c&&(e=this._counter=c.slice(0),this._iv=void 0),p(e);var o=e.slice(0);r.encryptBlock(o,0);for(var t=0;t>>2]|=h<<24-y%4*8,n.sigBytes+=h},unpad:function(n){var B=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=B}},d.pad.Ansix923})},14675:function(F,L,v){(function(d,n,B){F.exports=L=n(v(27430),v(87208))})(this,function(d){return d.pad.Iso10126={pad:function(n,B){var p=B*4,S=p-n.sigBytes%p;n.concat(d.lib.WordArray.random(S-1)).concat(d.lib.WordArray.create([S<<24],1))},unpad:function(n){var B=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=B}},d.pad.Iso10126})},86783:function(F,L,v){(function(d,n,B){F.exports=L=n(v(27430),v(87208))})(this,function(d){return d.pad.Iso97971={pad:function(n,B){n.concat(d.lib.WordArray.create([2147483648],1)),d.pad.ZeroPadding.pad(n,B)},unpad:function(n){d.pad.ZeroPadding.unpad(n),n.sigBytes--}},d.pad.Iso97971})},25833:function(F,L,v){(function(d,n,B){F.exports=L=n(v(27430),v(87208))})(this,function(d){return d.pad.NoPadding={pad:function(){},unpad:function(){}},d.pad.NoPadding})},28973:function(F,L,v){(function(d,n,B){F.exports=L=n(v(27430),v(87208))})(this,function(d){return d.pad.ZeroPadding={pad:function(n,B){var p=B*4;n.clamp(),n.sigBytes+=p-(n.sigBytes%p||p)},unpad:function(n){for(var B=n.words,p=n.sigBytes-1,p=n.sigBytes-1;p>=0;p--)if(B[p>>>2]>>>24-p%4*8&255){n.sigBytes=p+1;break}}},d.pad.ZeroPadding})},75459:function(F,L,v){(function(d,n,B){F.exports=L=n(v(27430),v(29660),v(61430))})(this,function(d){return function(){var n=d,B=n.lib,p=B.Base,S=B.WordArray,h=n.algo,y=h.SHA1,r=h.HMAC,a=h.PBKDF2=p.extend({cfg:p.extend({keySize:128/32,hasher:y,iterations:1}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,e){for(var o=this.cfg,t=r.create(o.hasher,c),i=S.create(),s=S.create([1]),l=i.words,u=s.words,x=o.keySize,f=o.iterations;l.length>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,e[0]&4294901760|e[1]&65535,e[3]<<16|e[3]>>>16,e[1]&4294901760|e[2]&65535,e[0]<<16|e[0]>>>16,e[2]&4294901760|e[3]&65535,e[1]<<16|e[1]>>>16,e[3]&4294901760|e[0]&65535];this._b=0;for(var s=0;s<4;s++)c.call(this);for(var s=0;s<8;s++)i[s]^=t[s+4&7];if(o){var l=o.words,u=l[0],x=l[1],f=(u<<8|u>>>24)&16711935|(u<<24|u>>>8)&4278255360,b=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,g=f>>>16|b&4294901760,H=b<<16|f&65535;i[0]^=f,i[1]^=g,i[2]^=b,i[3]^=H,i[4]^=f,i[5]^=g,i[6]^=b,i[7]^=H;for(var s=0;s<4;s++)c.call(this)}},_doProcessBlock:function(e,o){var t=this._X;c.call(this),h[0]=t[0]^t[5]>>>16^t[3]<<16,h[1]=t[2]^t[7]>>>16^t[5]<<16,h[2]=t[4]^t[1]>>>16^t[7]<<16,h[3]=t[6]^t[3]>>>16^t[1]<<16;for(var i=0;i<4;i++)h[i]=(h[i]<<8|h[i]>>>24)&16711935|(h[i]<<24|h[i]>>>8)&4278255360,e[o+i]^=h[i]},blockSize:128/32,ivSize:64/32});function c(){for(var e=this._X,o=this._C,t=0;t<8;t++)y[t]=o[t];o[0]=o[0]+1295307597+this._b|0,o[1]=o[1]+3545052371+(o[0]>>>0>>0?1:0)|0,o[2]=o[2]+886263092+(o[1]>>>0>>0?1:0)|0,o[3]=o[3]+1295307597+(o[2]>>>0>>0?1:0)|0,o[4]=o[4]+3545052371+(o[3]>>>0>>0?1:0)|0,o[5]=o[5]+886263092+(o[4]>>>0>>0?1:0)|0,o[6]=o[6]+1295307597+(o[5]>>>0>>0?1:0)|0,o[7]=o[7]+3545052371+(o[6]>>>0>>0?1:0)|0,this._b=o[7]>>>0>>0?1:0;for(var t=0;t<8;t++){var i=e[t]+o[t],s=i&65535,l=i>>>16,u=((s*s>>>17)+s*l>>>15)+l*l,x=((i&4294901760)*i|0)+((i&65535)*i|0);r[t]=u^x}e[0]=r[0]+(r[7]<<16|r[7]>>>16)+(r[6]<<16|r[6]>>>16)|0,e[1]=r[1]+(r[0]<<8|r[0]>>>24)+r[7]|0,e[2]=r[2]+(r[1]<<16|r[1]>>>16)+(r[0]<<16|r[0]>>>16)|0,e[3]=r[3]+(r[2]<<8|r[2]>>>24)+r[1]|0,e[4]=r[4]+(r[3]<<16|r[3]>>>16)+(r[2]<<16|r[2]>>>16)|0,e[5]=r[5]+(r[4]<<8|r[4]>>>24)+r[3]|0,e[6]=r[6]+(r[5]<<16|r[5]>>>16)+(r[4]<<16|r[4]>>>16)|0,e[7]=r[7]+(r[6]<<8|r[6]>>>24)+r[5]|0}n.RabbitLegacy=p._createHelper(a)}(),d.RabbitLegacy})},12515:function(F,L,v){(function(d,n,B){F.exports=L=n(v(27430),v(55667),v(3146),v(78052),v(87208))})(this,function(d){return function(){var n=d,B=n.lib,p=B.StreamCipher,S=n.algo,h=[],y=[],r=[],a=S.Rabbit=p.extend({_doReset:function(){for(var e=this._key.words,o=this.cfg.iv,t=0;t<4;t++)e[t]=(e[t]<<8|e[t]>>>24)&16711935|(e[t]<<24|e[t]>>>8)&4278255360;var i=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],s=this._C=[e[2]<<16|e[2]>>>16,e[0]&4294901760|e[1]&65535,e[3]<<16|e[3]>>>16,e[1]&4294901760|e[2]&65535,e[0]<<16|e[0]>>>16,e[2]&4294901760|e[3]&65535,e[1]<<16|e[1]>>>16,e[3]&4294901760|e[0]&65535];this._b=0;for(var t=0;t<4;t++)c.call(this);for(var t=0;t<8;t++)s[t]^=i[t+4&7];if(o){var l=o.words,u=l[0],x=l[1],f=(u<<8|u>>>24)&16711935|(u<<24|u>>>8)&4278255360,b=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,g=f>>>16|b&4294901760,H=b<<16|f&65535;s[0]^=f,s[1]^=g,s[2]^=b,s[3]^=H,s[4]^=f,s[5]^=g,s[6]^=b,s[7]^=H;for(var t=0;t<4;t++)c.call(this)}},_doProcessBlock:function(e,o){var t=this._X;c.call(this),h[0]=t[0]^t[5]>>>16^t[3]<<16,h[1]=t[2]^t[7]>>>16^t[5]<<16,h[2]=t[4]^t[1]>>>16^t[7]<<16,h[3]=t[6]^t[3]>>>16^t[1]<<16;for(var i=0;i<4;i++)h[i]=(h[i]<<8|h[i]>>>24)&16711935|(h[i]<<24|h[i]>>>8)&4278255360,e[o+i]^=h[i]},blockSize:128/32,ivSize:64/32});function c(){for(var e=this._X,o=this._C,t=0;t<8;t++)y[t]=o[t];o[0]=o[0]+1295307597+this._b|0,o[1]=o[1]+3545052371+(o[0]>>>0>>0?1:0)|0,o[2]=o[2]+886263092+(o[1]>>>0>>0?1:0)|0,o[3]=o[3]+1295307597+(o[2]>>>0>>0?1:0)|0,o[4]=o[4]+3545052371+(o[3]>>>0>>0?1:0)|0,o[5]=o[5]+886263092+(o[4]>>>0>>0?1:0)|0,o[6]=o[6]+1295307597+(o[5]>>>0>>0?1:0)|0,o[7]=o[7]+3545052371+(o[6]>>>0>>0?1:0)|0,this._b=o[7]>>>0>>0?1:0;for(var t=0;t<8;t++){var i=e[t]+o[t],s=i&65535,l=i>>>16,u=((s*s>>>17)+s*l>>>15)+l*l,x=((i&4294901760)*i|0)+((i&65535)*i|0);r[t]=u^x}e[0]=r[0]+(r[7]<<16|r[7]>>>16)+(r[6]<<16|r[6]>>>16)|0,e[1]=r[1]+(r[0]<<8|r[0]>>>24)+r[7]|0,e[2]=r[2]+(r[1]<<16|r[1]>>>16)+(r[0]<<16|r[0]>>>16)|0,e[3]=r[3]+(r[2]<<8|r[2]>>>24)+r[1]|0,e[4]=r[4]+(r[3]<<16|r[3]>>>16)+(r[2]<<16|r[2]>>>16)|0,e[5]=r[5]+(r[4]<<8|r[4]>>>24)+r[3]|0,e[6]=r[6]+(r[5]<<16|r[5]>>>16)+(r[4]<<16|r[4]>>>16)|0,e[7]=r[7]+(r[6]<<8|r[6]>>>24)+r[5]|0}n.Rabbit=p._createHelper(a)}(),d.Rabbit})},35428:function(F,L,v){(function(d,n,B){F.exports=L=n(v(27430),v(55667),v(3146),v(78052),v(87208))})(this,function(d){return function(){var n=d,B=n.lib,p=B.StreamCipher,S=n.algo,h=S.RC4=p.extend({_doReset:function(){for(var a=this._key,c=a.words,e=a.sigBytes,o=this._S=[],t=0;t<256;t++)o[t]=t;for(var t=0,i=0;t<256;t++){var s=t%e,l=c[s>>>2]>>>24-s%4*8&255;i=(i+o[t]+l)%256;var u=o[t];o[t]=o[i],o[i]=u}this._i=this._j=0},_doProcessBlock:function(a,c){a[c]^=y.call(this)},keySize:256/32,ivSize:0});function y(){for(var a=this._S,c=this._i,e=this._j,o=0,t=0;t<4;t++){c=(c+1)%256,e=(e+a[c])%256;var i=a[c];a[c]=a[e],a[e]=i,o|=a[(a[c]+a[e])%256]<<24-t*8}return this._i=c,this._j=e,o}n.RC4=p._createHelper(h);var r=S.RC4Drop=h.extend({cfg:h.cfg.extend({drop:192}),_doReset:function(){h._doReset.call(this);for(var a=this.cfg.drop;a>0;a--)y.call(this)}});n.RC4Drop=p._createHelper(r)}(),d.RC4})},55054:function(F,L,v){(function(d,n){F.exports=L=n(v(27430))})(this,function(d){return function(n){var B=d,p=B.lib,S=p.WordArray,h=p.Hasher,y=B.algo,r=S.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),a=S.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=S.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),e=S.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),o=S.create([0,1518500249,1859775393,2400959708,2840853838]),t=S.create([1352829926,1548603684,1836072691,2053994217,0]),i=y.RIPEMD160=h.extend({_doReset:function(){this._hash=S.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(g,H){for(var C=0;C<16;C++){var W=H+C,D=g[W];g[W]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360}var P=this._hash.words,U=o.words,m=t.words,R=r.words,O=a.words,w=c.words,K=e.words,T,$,N,A,k,E,z,M,I,Z;E=T=P[0],z=$=P[1],M=N=P[2],I=A=P[3],Z=k=P[4];for(var X,C=0;C<80;C+=1)X=T+g[H+R[C]]|0,C<16?X+=s($,N,A)+U[0]:C<32?X+=l($,N,A)+U[1]:C<48?X+=u($,N,A)+U[2]:C<64?X+=x($,N,A)+U[3]:X+=f($,N,A)+U[4],X=X|0,X=b(X,w[C]),X=X+k|0,T=k,k=A,A=b(N,10),N=$,$=X,X=E+g[H+O[C]]|0,C<16?X+=f(z,M,I)+m[0]:C<32?X+=x(z,M,I)+m[1]:C<48?X+=u(z,M,I)+m[2]:C<64?X+=l(z,M,I)+m[3]:X+=s(z,M,I)+m[4],X=X|0,X=b(X,K[C]),X=X+Z|0,E=Z,Z=I,I=b(M,10),M=z,z=X;X=P[1]+N+I|0,P[1]=P[2]+A+Z|0,P[2]=P[3]+k+E|0,P[3]=P[4]+T+z|0,P[4]=P[0]+$+M|0,P[0]=X},_doFinalize:function(){var g=this._data,H=g.words,C=this._nDataBytes*8,W=g.sigBytes*8;H[W>>>5]|=128<<24-W%32,H[(W+64>>>9<<4)+14]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,g.sigBytes=(H.length+1)*4,this._process();for(var D=this._hash,P=D.words,U=0;U<5;U++){var m=P[U];P[U]=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360}return D},clone:function(){var g=h.clone.call(this);return g._hash=this._hash.clone(),g}});function s(g,H,C){return g^H^C}function l(g,H,C){return g&H|~g&C}function u(g,H,C){return(g|~H)^C}function x(g,H,C){return g&C|H&~C}function f(g,H,C){return g^(H|~C)}function b(g,H){return g<>>32-H}B.RIPEMD160=h._createHelper(i),B.HmacRIPEMD160=h._createHmacHelper(i)}(Math),d.RIPEMD160})},29660:function(F,L,v){(function(d,n){F.exports=L=n(v(27430))})(this,function(d){return function(){var n=d,B=n.lib,p=B.WordArray,S=B.Hasher,h=n.algo,y=[],r=h.SHA1=S.extend({_doReset:function(){this._hash=new p.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(a,c){for(var e=this._hash.words,o=e[0],t=e[1],i=e[2],s=e[3],l=e[4],u=0;u<80;u++){if(u<16)y[u]=a[c+u]|0;else{var x=y[u-3]^y[u-8]^y[u-14]^y[u-16];y[u]=x<<1|x>>>31}var f=(o<<5|o>>>27)+l+y[u];u<20?f+=(t&i|~t&s)+1518500249:u<40?f+=(t^i^s)+1859775393:u<60?f+=(t&i|t&s|i&s)-1894007588:f+=(t^i^s)-899497514,l=s,s=i,i=t<<30|t>>>2,t=o,o=f}e[0]=e[0]+o|0,e[1]=e[1]+t|0,e[2]=e[2]+i|0,e[3]=e[3]+s|0,e[4]=e[4]+l|0},_doFinalize:function(){var a=this._data,c=a.words,e=this._nDataBytes*8,o=a.sigBytes*8;return c[o>>>5]|=128<<24-o%32,c[(o+64>>>9<<4)+14]=Math.floor(e/4294967296),c[(o+64>>>9<<4)+15]=e,a.sigBytes=c.length*4,this._process(),this._hash},clone:function(){var a=S.clone.call(this);return a._hash=this._hash.clone(),a}});n.SHA1=S._createHelper(r),n.HmacSHA1=S._createHmacHelper(r)}(),d.SHA1})},81865:function(F,L,v){(function(d,n,B){F.exports=L=n(v(27430),v(52937))})(this,function(d){return function(){var n=d,B=n.lib,p=B.WordArray,S=n.algo,h=S.SHA256,y=S.SHA224=h.extend({_doReset:function(){this._hash=new p.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var r=h._doFinalize.call(this);return r.sigBytes-=4,r}});n.SHA224=h._createHelper(y),n.HmacSHA224=h._createHmacHelper(y)}(),d.SHA224})},52937:function(F,L,v){(function(d,n){F.exports=L=n(v(27430))})(this,function(d){return function(n){var B=d,p=B.lib,S=p.WordArray,h=p.Hasher,y=B.algo,r=[],a=[];(function(){function o(l){for(var u=n.sqrt(l),x=2;x<=u;x++)if(!(l%x))return!1;return!0}function t(l){return(l-(l|0))*4294967296|0}for(var i=2,s=0;s<64;)o(i)&&(s<8&&(r[s]=t(n.pow(i,1/2))),a[s]=t(n.pow(i,1/3)),s++),i++})();var c=[],e=y.SHA256=h.extend({_doReset:function(){this._hash=new S.init(r.slice(0))},_doProcessBlock:function(o,t){for(var i=this._hash.words,s=i[0],l=i[1],u=i[2],x=i[3],f=i[4],b=i[5],g=i[6],H=i[7],C=0;C<64;C++){if(C<16)c[C]=o[t+C]|0;else{var W=c[C-15],D=(W<<25|W>>>7)^(W<<14|W>>>18)^W>>>3,P=c[C-2],U=(P<<15|P>>>17)^(P<<13|P>>>19)^P>>>10;c[C]=D+c[C-7]+U+c[C-16]}var m=f&b^~f&g,R=s&l^s&u^l&u,O=(s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22),w=(f<<26|f>>>6)^(f<<21|f>>>11)^(f<<7|f>>>25),K=H+w+m+a[C]+c[C],T=O+R;H=g,g=b,b=f,f=x+K|0,x=u,u=l,l=s,s=K+T|0}i[0]=i[0]+s|0,i[1]=i[1]+l|0,i[2]=i[2]+u|0,i[3]=i[3]+x|0,i[4]=i[4]+f|0,i[5]=i[5]+b|0,i[6]=i[6]+g|0,i[7]=i[7]+H|0},_doFinalize:function(){var o=this._data,t=o.words,i=this._nDataBytes*8,s=o.sigBytes*8;return t[s>>>5]|=128<<24-s%32,t[(s+64>>>9<<4)+14]=n.floor(i/4294967296),t[(s+64>>>9<<4)+15]=i,o.sigBytes=t.length*4,this._process(),this._hash},clone:function(){var o=h.clone.call(this);return o._hash=this._hash.clone(),o}});B.SHA256=h._createHelper(e),B.HmacSHA256=h._createHmacHelper(e)}(Math),d.SHA256})},94165:function(F,L,v){(function(d,n,B){F.exports=L=n(v(27430),v(2608))})(this,function(d){return function(n){var B=d,p=B.lib,S=p.WordArray,h=p.Hasher,y=B.x64,r=y.Word,a=B.algo,c=[],e=[],o=[];(function(){for(var s=1,l=0,u=0;u<24;u++){c[s+5*l]=(u+1)*(u+2)/2%64;var x=l%5,f=(2*s+3*l)%5;s=x,l=f}for(var s=0;s<5;s++)for(var l=0;l<5;l++)e[s+5*l]=l+(2*s+3*l)%5*5;for(var b=1,g=0;g<24;g++){for(var H=0,C=0,W=0;W<7;W++){if(b&1){var D=(1<>>24)&16711935|(b<<24|b>>>8)&4278255360,g=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360;var H=u[f];H.high^=g,H.low^=b}for(var C=0;C<24;C++){for(var W=0;W<5;W++){for(var D=0,P=0,U=0;U<5;U++){var H=u[W+5*U];D^=H.high,P^=H.low}var m=t[W];m.high=D,m.low=P}for(var W=0;W<5;W++)for(var R=t[(W+4)%5],O=t[(W+1)%5],w=O.high,K=O.low,D=R.high^(w<<1|K>>>31),P=R.low^(K<<1|w>>>31),U=0;U<5;U++){var H=u[W+5*U];H.high^=D,H.low^=P}for(var T=1;T<25;T++){var D,P,H=u[T],$=H.high,N=H.low,A=c[T];A<32?(D=$<>>32-A,P=N<>>32-A):(D=N<>>64-A,P=$<>>64-A);var k=t[e[T]];k.high=D,k.low=P}var E=t[0],z=u[0];E.high=z.high,E.low=z.low;for(var W=0;W<5;W++)for(var U=0;U<5;U++){var T=W+5*U,H=u[T],M=t[T],I=t[(W+1)%5+5*U],Z=t[(W+2)%5+5*U];H.high=M.high^~I.high&Z.high,H.low=M.low^~I.low&Z.low}var H=u[0],X=o[C];H.high^=X.high,H.low^=X.low}},_doFinalize:function(){var s=this._data,l=s.words,u=this._nDataBytes*8,x=s.sigBytes*8,f=this.blockSize*32;l[x>>>5]|=1<<24-x%32,l[(n.ceil((x+1)/f)*f>>>5)-1]|=128,s.sigBytes=l.length*4,this._process();for(var b=this._state,g=this.cfg.outputLength/8,H=g/8,C=[],W=0;W>>24)&16711935|(P<<24|P>>>8)&4278255360,U=(U<<8|U>>>24)&16711935|(U<<24|U>>>8)&4278255360,C.push(U),C.push(P)}return new S.init(C,g)},clone:function(){for(var s=h.clone.call(this),l=s._state=this._state.slice(0),u=0;u<25;u++)l[u]=l[u].clone();return s}});B.SHA3=h._createHelper(i),B.HmacSHA3=h._createHmacHelper(i)}(Math),d.SHA3})},27159:function(F,L,v){(function(d,n,B){F.exports=L=n(v(27430),v(2608),v(25707))})(this,function(d){return function(){var n=d,B=n.x64,p=B.Word,S=B.WordArray,h=n.algo,y=h.SHA512,r=h.SHA384=y.extend({_doReset:function(){this._hash=new S.init([new p.init(3418070365,3238371032),new p.init(1654270250,914150663),new p.init(2438529370,812702999),new p.init(355462360,4144912697),new p.init(1731405415,4290775857),new p.init(2394180231,1750603025),new p.init(3675008525,1694076839),new p.init(1203062813,3204075428)])},_doFinalize:function(){var a=y._doFinalize.call(this);return a.sigBytes-=16,a}});n.SHA384=y._createHelper(r),n.HmacSHA384=y._createHmacHelper(r)}(),d.SHA384})},25707:function(F,L,v){(function(d,n,B){F.exports=L=n(v(27430),v(2608))})(this,function(d){return function(){var n=d,B=n.lib,p=B.Hasher,S=n.x64,h=S.Word,y=S.WordArray,r=n.algo;function a(){return h.create.apply(h,arguments)}var c=[a(1116352408,3609767458),a(1899447441,602891725),a(3049323471,3964484399),a(3921009573,2173295548),a(961987163,4081628472),a(1508970993,3053834265),a(2453635748,2937671579),a(2870763221,3664609560),a(3624381080,2734883394),a(310598401,1164996542),a(607225278,1323610764),a(1426881987,3590304994),a(1925078388,4068182383),a(2162078206,991336113),a(2614888103,633803317),a(3248222580,3479774868),a(3835390401,2666613458),a(4022224774,944711139),a(264347078,2341262773),a(604807628,2007800933),a(770255983,1495990901),a(1249150122,1856431235),a(1555081692,3175218132),a(1996064986,2198950837),a(2554220882,3999719339),a(2821834349,766784016),a(2952996808,2566594879),a(3210313671,3203337956),a(3336571891,1034457026),a(3584528711,2466948901),a(113926993,3758326383),a(338241895,168717936),a(666307205,1188179964),a(773529912,1546045734),a(1294757372,1522805485),a(1396182291,2643833823),a(1695183700,2343527390),a(1986661051,1014477480),a(2177026350,1206759142),a(2456956037,344077627),a(2730485921,1290863460),a(2820302411,3158454273),a(3259730800,3505952657),a(3345764771,106217008),a(3516065817,3606008344),a(3600352804,1432725776),a(4094571909,1467031594),a(275423344,851169720),a(430227734,3100823752),a(506948616,1363258195),a(659060556,3750685593),a(883997877,3785050280),a(958139571,3318307427),a(1322822218,3812723403),a(1537002063,2003034995),a(1747873779,3602036899),a(1955562222,1575990012),a(2024104815,1125592928),a(2227730452,2716904306),a(2361852424,442776044),a(2428436474,593698344),a(2756734187,3733110249),a(3204031479,2999351573),a(3329325298,3815920427),a(3391569614,3928383900),a(3515267271,566280711),a(3940187606,3454069534),a(4118630271,4000239992),a(116418474,1914138554),a(174292421,2731055270),a(289380356,3203993006),a(460393269,320620315),a(685471733,587496836),a(852142971,1086792851),a(1017036298,365543100),a(1126000580,2618297676),a(1288033470,3409855158),a(1501505948,4234509866),a(1607167915,987167468),a(1816402316,1246189591)],e=[];(function(){for(var t=0;t<80;t++)e[t]=a()})();var o=r.SHA512=p.extend({_doReset:function(){this._hash=new y.init([new h.init(1779033703,4089235720),new h.init(3144134277,2227873595),new h.init(1013904242,4271175723),new h.init(2773480762,1595750129),new h.init(1359893119,2917565137),new h.init(2600822924,725511199),new h.init(528734635,4215389547),new h.init(1541459225,327033209)])},_doProcessBlock:function(t,i){for(var s=this._hash.words,l=s[0],u=s[1],x=s[2],f=s[3],b=s[4],g=s[5],H=s[6],C=s[7],W=l.high,D=l.low,P=u.high,U=u.low,m=x.high,R=x.low,O=f.high,w=f.low,K=b.high,T=b.low,$=g.high,N=g.low,A=H.high,k=H.low,E=C.high,z=C.low,M=W,I=D,Z=P,X=U,e0=m,q=R,h0=O,a0=w,V=K,G=T,s0=$,x0=N,c0=A,n0=k,d0=E,i0=z,j=0;j<80;j++){var Y,_,v0=e[j];if(j<16)_=v0.high=t[i+j*2]|0,Y=v0.low=t[i+j*2+1]|0;else{var l0=e[j-15],r0=l0.high,o0=l0.low,z0=(r0>>>1|o0<<31)^(r0>>>8|o0<<24)^r0>>>7,u0=(o0>>>1|r0<<31)^(o0>>>8|r0<<24)^(o0>>>7|r0<<25),p0=e[j-2],t0=p0.high,f0=p0.low,k0=(t0>>>19|f0<<13)^(t0<<3|f0>>>29)^t0>>>6,g0=(f0>>>19|t0<<13)^(f0<<3|t0>>>29)^(f0>>>6|t0<<26),B0=e[j-7],E0=B0.high,D0=B0.low,y0=e[j-16],w0=y0.high,b0=y0.low;Y=u0+D0,_=z0+E0+(Y>>>0>>0?1:0),Y=Y+g0,_=_+k0+(Y>>>0>>0?1:0),Y=Y+b0,_=_+w0+(Y>>>0>>0?1:0),v0.high=_,v0.low=Y}var R0=V&s0^~V&c0,C0=G&x0^~G&n0,W0=M&Z^M&e0^Z&e0,P0=I&X^I&q^X&q,F0=(M>>>28|I<<4)^(M<<30|I>>>2)^(M<<25|I>>>7),H0=(I>>>28|M<<4)^(I<<30|M>>>2)^(I<<25|M>>>7),L0=(V>>>14|G<<18)^(V>>>18|G<<14)^(V<<23|G>>>9),O0=(G>>>14|V<<18)^(G>>>18|V<<14)^(G<<23|V>>>9),m0=c[j],U0=m0.high,A0=m0.low,Q=i0+O0,J=d0+L0+(Q>>>0>>0?1:0),Q=Q+C0,J=J+R0+(Q>>>0>>0?1:0),Q=Q+A0,J=J+U0+(Q>>>0>>0?1:0),Q=Q+Y,J=J+_+(Q>>>0>>0?1:0),S0=H0+P0,T0=F0+W0+(S0>>>0>>0?1:0);d0=c0,i0=n0,c0=s0,n0=x0,s0=V,x0=G,G=a0+Q|0,V=h0+J+(G>>>0>>0?1:0)|0,h0=e0,a0=q,e0=Z,q=X,Z=M,X=I,I=Q+S0|0,M=J+T0+(I>>>0>>0?1:0)|0}D=l.low=D+I,l.high=W+M+(D>>>0>>0?1:0),U=u.low=U+X,u.high=P+Z+(U>>>0>>0?1:0),R=x.low=R+q,x.high=m+e0+(R>>>0>>0?1:0),w=f.low=w+a0,f.high=O+h0+(w>>>0>>0?1:0),T=b.low=T+G,b.high=K+V+(T>>>0>>0?1:0),N=g.low=N+x0,g.high=$+s0+(N>>>0>>0?1:0),k=H.low=k+n0,H.high=A+c0+(k>>>0>>0?1:0),z=C.low=z+i0,C.high=E+d0+(z>>>0>>0?1:0)},_doFinalize:function(){var t=this._data,i=t.words,s=this._nDataBytes*8,l=t.sigBytes*8;i[l>>>5]|=128<<24-l%32,i[(l+128>>>10<<5)+30]=Math.floor(s/4294967296),i[(l+128>>>10<<5)+31]=s,t.sigBytes=i.length*4,this._process();var u=this._hash.toX32();return u},clone:function(){var t=p.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:1024/32});n.SHA512=p._createHelper(o),n.HmacSHA512=p._createHmacHelper(o)}(),d.SHA512})},24837:function(F,L,v){(function(d,n,B){F.exports=L=n(v(27430),v(55667),v(3146),v(78052),v(87208))})(this,function(d){return function(){var n=d,B=n.lib,p=B.WordArray,S=B.BlockCipher,h=n.algo,y=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],r=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],a=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],c=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],e=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],o=h.DES=S.extend({_doReset:function(){for(var l=this._key,u=l.words,x=[],f=0;f<56;f++){var b=y[f]-1;x[f]=u[b>>>5]>>>31-b%32&1}for(var g=this._subKeys=[],H=0;H<16;H++){for(var C=g[H]=[],W=a[H],f=0;f<24;f++)C[f/6|0]|=x[(r[f]-1+W)%28]<<31-f%6,C[4+(f/6|0)]|=x[28+(r[f+24]-1+W)%28]<<31-f%6;C[0]=C[0]<<1|C[0]>>>31;for(var f=1;f<7;f++)C[f]=C[f]>>>(f-1)*4+3;C[7]=C[7]<<5|C[7]>>>27}for(var D=this._invSubKeys=[],f=0;f<16;f++)D[f]=g[15-f]},encryptBlock:function(l,u){this._doCryptBlock(l,u,this._subKeys)},decryptBlock:function(l,u){this._doCryptBlock(l,u,this._invSubKeys)},_doCryptBlock:function(l,u,x){this._lBlock=l[u],this._rBlock=l[u+1],t.call(this,4,252645135),t.call(this,16,65535),i.call(this,2,858993459),i.call(this,8,16711935),t.call(this,1,1431655765);for(var f=0;f<16;f++){for(var b=x[f],g=this._lBlock,H=this._rBlock,C=0,W=0;W<8;W++)C|=c[W][((H^b[W])&e[W])>>>0];this._lBlock=H,this._rBlock=g^C}var D=this._lBlock;this._lBlock=this._rBlock,this._rBlock=D,t.call(this,1,1431655765),i.call(this,8,16711935),i.call(this,2,858993459),t.call(this,16,65535),t.call(this,4,252645135),l[u]=this._lBlock,l[u+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function t(l,u){var x=(this._lBlock>>>l^this._rBlock)&u;this._rBlock^=x,this._lBlock^=x<>>l^this._lBlock)&u;this._lBlock^=x,this._rBlock^=x<192.");var x=u.slice(0,2),f=u.length<4?u.slice(0,2):u.slice(2,4),b=u.length<6?u.slice(0,2):u.slice(4,6);this._des1=o.createEncryptor(p.create(x)),this._des2=o.createEncryptor(p.create(f)),this._des3=o.createEncryptor(p.create(b))},encryptBlock:function(l,u){this._des1.encryptBlock(l,u),this._des2.decryptBlock(l,u),this._des3.encryptBlock(l,u)},decryptBlock:function(l,u){this._des3.decryptBlock(l,u),this._des2.encryptBlock(l,u),this._des1.decryptBlock(l,u)},keySize:192/32,ivSize:64/32,blockSize:64/32});n.TripleDES=S._createHelper(s)}(),d.TripleDES})},2608:function(F,L,v){(function(d,n){F.exports=L=n(v(27430))})(this,function(d){return function(n){var B=d,p=B.lib,S=p.Base,h=p.WordArray,y=B.x64={},r=y.Word=S.extend({init:function(c,e){this.high=c,this.low=e}}),a=y.WordArray=S.extend({init:function(c,e){c=this.words=c||[],e!=n?this.sigBytes=e:this.sigBytes=c.length*8},toX32:function(){for(var c=this.words,e=c.length,o=[],t=0;t({xs:`(max-width: ${r.screenXSMax}px)`,sm:`(min-width: ${r.screenSM}px)`,md:`(min-width: ${r.screenMD}px)`,lg:`(min-width: ${r.screenLG}px)`,xl:`(min-width: ${r.screenXL}px)`,xxl:`(min-width: ${r.screenXXL}px)`}),S=r=>{const a=r,c=[].concat(B).reverse();return c.forEach((e,o)=>{const t=e.toUpperCase(),i=`screen${t}Min`,s=`screen${t}`;if(!(a[i]<=a[s]))throw new Error(`${i}<=${s} fails : !(${a[i]}<=${a[s]})`);if(o{const c=new Map;let e=-1,o={};return{matchHandlers:{},dispatch(t){return o=t,c.forEach(i=>i(o)),c.size>=1},subscribe(t){return c.size||this.register(),e+=1,c.set(e,t),t(o),e},unsubscribe(t){c.delete(t),c.size||this.unregister()},unregister(){Object.keys(a).forEach(t=>{const i=a[t],s=this.matchHandlers[i];s==null||s.mql.removeListener(s==null?void 0:s.listener)}),c.clear()},register(){Object.keys(a).forEach(t=>{const i=a[t],s=u=>{let{matches:x}=u;this.dispatch(Object.assign(Object.assign({},o),{[t]:x}))},l=window.matchMedia(i);l.addListener(s),this.matchHandlers[i]={mql:l,listener:s},s(l)})},responsiveMap:a}},[r])}const y=(r,a)=>{if(a&&typeof a=="object")for(let c=0;c!?^\/\|]/;function m(e,$,r){return $.tokenize=r,r(e,$)}function t(e,$){var r=$.beforeParams;$.beforeParams=!1;var i=e.next();if(/[\[\]{}\(\),\.]/.test(i))return i=="("&&r?$.inParams=!0:i==")"&&($.inParams=!1),null;if(/\d/.test(i))return e.eatWhile(/[\w\.]/),"number";if(i=="\\")return e.eat("\\"),e.eat(/./),"number";if(i=="/"&&e.eat("*"))return m(e,$,p);if(i==";"&&e.match(/ *\( *\(/))return m(e,$,f);if(i==";"&&!$.inParams)return e.skipToEnd(),"comment";if(i=='"')return e.eat(/"/),"keyword";if(i=="$")return e.eatWhile(/[$_a-z0-9A-Z\.:]/),s&&s.propertyIsEnumerable(e.current().toLowerCase())?"keyword":($.beforeParams=!0,"builtin");if(i=="%")return e.eatWhile(/[^,\s()]/),$.beforeParams=!0,"string";if(d.test(i))return e.eatWhile(d),"operator";e.eatWhile(/[\w\$_{}]/);var u=e.current().toLowerCase();return l&&l.propertyIsEnumerable(u)?"keyword":c&&c.propertyIsEnumerable(u)?($.beforeParams=!0,"keyword"):null}function p(e,$){for(var r=!1,i;i=e.next();){if(i=="/"&&r){$.tokenize=t;break}r=i=="*"}return"comment"}function f(e,$){for(var r=0,i;i=e.next();){if(i==";"&&r==2){$.tokenize=t;break}i==")"?r++:i!=" "&&(r=0)}return"meta"}const k={name:"mirc",startState:function(){return{tokenize:t,beforeParams:!1,inParams:!1}},token:function(e,$){return e.eatSpace()?null:$.tokenize(e,$)}}}}]); diff --git a/520.5ead1ed0.async.js b/520.5ead1ed0.async.js new file mode 100644 index 0000000000..d843857586 --- /dev/null +++ b/520.5ead1ed0.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[520],{520:function(y,u,r){r.r(u),r.d(u,{vue:function(){return T},vueLanguage:function(){return m}});var i=r(59119),c=r(82261),P=r(122),t=r(35524),a=r(41113),n=r(53105);const S=n.WQ.deserialize({version:14,states:"%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",stateData:"$g~OjOS~OQROUROkQO~OWTOXUOZUO`VO~OSXOTWO~OXUO[]OlZO~OY^O~O[_O~OT`O~OYaO~OmcOodO~OmfOogO~O^iOnhO~O_jOphO~ObkOqkOrmO~OcnOsnOtmO~OnpO~OppO~ObkOqkOrrO~OcnOsnOtrO~OWX`~",goto:"!^hPPPiPPPPPPPPPmPPPpPPsy!Q!WTROSRe]Re_QSORYSS[T^Rb[QlfRqlQogRso",nodeNames:"\u26A0 Content Text Interpolation InterpolationContent }} Entity Attribute VueAttributeName : Identifier @ Is ScriptAttributeValue AttributeScript AttributeScript AttributeName AttributeValue Entity Entity",maxTerm:36,skippedNodes:[0],repeatNodeCount:4,tokenData:"'y~RdXY!aYZ!a]^!apq!ars!rwx!w}!O!|!O!P#t!Q![#y![!]$s!_!`%g!b!c%l!c!}#y#R#S#y#T#j#y#j#k%q#k#o#y%W;'S#y;'S;:j$m<%lO#y~!fSj~XY!aYZ!a]^!apq!a~!wOm~~!|Oo~!b#RX`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|!b#qP;=`<%l!|~#yOl~%W$QXY#t`!b}!O!|!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y%W$pP;=`<%l#y~$zXX~`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|~%lO[~~%qOZ~%W%xXY#t`!b}!O&e!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y!b&jX`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|!b'^XW!b`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|",tokenizers:[6,7,new n.RA("b~RP#q#rU~XP#q#r[~aOT~~",17,4),new n.RA("!k~RQvwX#o#p!_~^TU~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOU~~![P;=`<%lm~!bP#o#p!e~!jOk~~",72,2),new n.RA("[~RPwxU~ZOp~~",11,15),new n.RA("[~RPrsU~ZOn~~",11,14),new n.RA("!e~RQvwXwx!_~^Tc~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOc~~![P;=`<%lm~!dOt~~",66,35),new n.RA("!e~RQrsXvw^~^Or~~cTb~Oprq!]r!^;'Sr;'S;=`!^<%lOr~uUOprq!]r!]!^!X!^;'Sr;'S;=`!^<%lOr~!^Ob~~!aP;=`<%lr~",66,33)],topRules:{Content:[0,1],Attribute:[1,7]},tokenPrec:157}),b=P.javascriptLanguage.parser.configure({top:"SingleExpression"}),l=S.configure({props:[(0,t.Gv)({Text:t.pJ.content,Is:t.pJ.definitionOperator,AttributeName:t.pJ.attributeName,VueAttributeName:t.pJ.keyword,Identifier:t.pJ.variableName,"AttributeValue ScriptAttributeValue":t.pJ.attributeValue,Entity:t.pJ.character,"{{ }}":t.pJ.brace,"@ :":t.pJ.punctuation})]}),s={parser:b},Q=l.configure({wrap:(0,a.FE)((O,e)=>O.name=="InterpolationContent"?s:null)}),R=l.configure({wrap:(0,a.FE)((O,e)=>O.name=="AttributeScript"?s:null),top:"Attribute"}),g={parser:Q},E={parser:R},o=(0,c.html)();function p(O){return O.configure({dialect:"selfClosing",wrap:(0,a.FE)(_)},"vue")}const m=p(o.language);function _(O,e){switch(O.name){case"Attribute":return/^(@|:|v-)/.test(e.read(O.from,O.from+2))?E:null;case"Text":return g}return null}function T(O={}){let e=o;if(O.base){if(O.base.language.name!="html"||!(O.base.language instanceof i.qp))throw new RangeError("The base option must be the result of calling html(...)");e=O.base}return new i.ri(e.language==o.language?m:p(e.language),[e.support,e.language.data.of({closeBrackets:{brackets:["{",'"']}})])}}}]); diff --git a/5372.a8ce2f11.async.js b/5372.a8ce2f11.async.js new file mode 100644 index 0000000000..c55911a520 --- /dev/null +++ b/5372.a8ce2f11.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[5372],{95372:function(x,u,d){d.r(u),d.d(u,{haskell:function(){return k}});function l(e,t,n){return t(n),n(e,t)}var v=/[a-z_]/,w=/[A-Z]/,o=/\d/,E=/[0-9A-Fa-f]/,F=/[0-7]/,m=/[a-z_A-Z0-9'\xa1-\uffff]/,f=/[-!#$%&*+.\/<=>?@\\^|~:]/,R=/[(),;[\]`{}]/,h=/[ \t\v\f]/;function a(e,t){if(e.eatWhile(h))return null;var n=e.next();if(R.test(n)){if(n=="{"&&e.eat("-")){var r="comment";return e.eat("#")&&(r="meta"),l(e,t,s(r,1))}return null}if(n=="'")return e.eat("\\"),e.next(),e.eat("'")?"string":"error";if(n=='"')return l(e,t,p);if(w.test(n))return e.eatWhile(m),e.eat(".")?"qualifier":"type";if(v.test(n))return e.eatWhile(m),"variable";if(o.test(n)){if(n=="0"){if(e.eat(/[xX]/))return e.eatWhile(E),"integer";if(e.eat(/[oO]/))return e.eatWhile(F),"number"}e.eatWhile(o);var r="number";return e.match(/^\.\d+/)&&(r="number"),e.eat(/[eE]/)&&(r="number",e.eat(/[-+]/),e.eatWhile(o)),r}return n=="."&&e.eat(".")?"keyword":f.test(n)?n=="-"&&e.eat(/-/)&&(e.eatWhile(/-/),!e.eat(f))?(e.skipToEnd(),"comment"):(e.eatWhile(f),"variable"):"error"}function s(e,t){return t==0?a:function(n,r){for(var i=t;!n.eol();){var g=n.next();if(g=="{"&&n.eat("-"))++i;else if(g=="-"&&n.eat("}")&&(--i,i==0))return r(a),e}return r(s(e,i)),e}}function p(e,t){for(;!e.eol();){var n=e.next();if(n=='"')return t(a),"string";if(n=="\\"){if(e.eol()||e.eat(h))return t(b),"string";e.eat("&")||e.next()}}return t(a),"error"}function b(e,t){return e.eat("\\")?l(e,t,p):(e.next(),t(a),"error")}var c=function(){var e={};function t(n){return function(){for(var r=0;r","@","~","=>"),t("builtin")("!!","$!","$","&&","+","++","-",".","/","/=","<","<*","<=","<$>","<*>","=<<","==",">",">=",">>",">>=","^","^^","||","*","*>","**"),t("builtin")("Applicative","Bool","Bounded","Char","Double","EQ","Either","Enum","Eq","False","FilePath","Float","Floating","Fractional","Functor","GT","IO","IOError","Int","Integer","Integral","Just","LT","Left","Maybe","Monad","Nothing","Num","Ord","Ordering","Rational","Read","ReadS","Real","RealFloat","RealFrac","Right","Show","ShowS","String","True"),t("builtin")("abs","acos","acosh","all","and","any","appendFile","asTypeOf","asin","asinh","atan","atan2","atanh","break","catch","ceiling","compare","concat","concatMap","const","cos","cosh","curry","cycle","decodeFloat","div","divMod","drop","dropWhile","either","elem","encodeFloat","enumFrom","enumFromThen","enumFromThenTo","enumFromTo","error","even","exp","exponent","fail","filter","flip","floatDigits","floatRadix","floatRange","floor","fmap","foldl","foldl1","foldr","foldr1","fromEnum","fromInteger","fromIntegral","fromRational","fst","gcd","getChar","getContents","getLine","head","id","init","interact","ioError","isDenormalized","isIEEE","isInfinite","isNaN","isNegativeZero","iterate","last","lcm","length","lex","lines","log","logBase","lookup","map","mapM","mapM_","max","maxBound","maximum","maybe","min","minBound","minimum","mod","negate","not","notElem","null","odd","or","otherwise","pi","pred","print","product","properFraction","pure","putChar","putStr","putStrLn","quot","quotRem","read","readFile","readIO","readList","readLn","readParen","reads","readsPrec","realToFrac","recip","rem","repeat","replicate","return","reverse","round","scaleFloat","scanl","scanl1","scanr","scanr1","seq","sequence","sequence_","show","showChar","showList","showParen","showString","shows","showsPrec","significand","signum","sin","sinh","snd","span","splitAt","sqrt","subtract","succ","sum","tail","take","takeWhile","tan","tanh","toEnum","toInteger","toRational","truncate","uncurry","undefined","unlines","until","unwords","unzip","unzip3","userError","words","writeFile","zip","zip3","zipWith","zipWith3"),e}();const k={name:"haskell",startState:function(){return{f:a}},copyState:function(e){return{f:e.f}},token:function(e,t){var n=t.f(e,function(i){t.f=i}),r=e.current();return c.hasOwnProperty(r)?c[r]:n},languageData:{commentTokens:{line:"--",block:{open:"{-",close:"-}"}}}}}}]); diff --git a/5648.568eba5d.async.js b/5648.568eba5d.async.js new file mode 100644 index 0000000000..2748ca7d0e --- /dev/null +++ b/5648.568eba5d.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[5648],{15648:function(p,t,r){r.r(t),r.d(t,{asterisk:function(){return u}});var o=["exten","same","include","ignorepat","switch"],c=["#include","#exec"],l=["addqueuemember","adsiprog","aelsub","agentlogin","agentmonitoroutgoing","agi","alarmreceiver","amd","answer","authenticate","background","backgrounddetect","bridge","busy","callcompletioncancel","callcompletionrequest","celgenuserevent","changemonitor","chanisavail","channelredirect","chanspy","clearhash","confbridge","congestion","continuewhile","controlplayback","dahdiacceptr2call","dahdibarge","dahdiras","dahdiscan","dahdisendcallreroutingfacility","dahdisendkeypadfacility","datetime","dbdel","dbdeltree","deadagi","dial","dictate","directory","disa","dumpchan","eagi","echo","endwhile","exec","execif","execiftime","exitwhile","extenspy","externalivr","festival","flash","followme","forkcdr","getcpeid","gosub","gosubif","goto","gotoif","gotoiftime","hangup","iax2provision","ices","importvar","incomplete","ivrdemo","jabberjoin","jabberleave","jabbersend","jabbersendgroup","jabberstatus","jack","log","macro","macroexclusive","macroexit","macroif","mailboxexists","meetme","meetmeadmin","meetmechanneladmin","meetmecount","milliwatt","minivmaccmess","minivmdelete","minivmgreet","minivmmwi","minivmnotify","minivmrecord","mixmonitor","monitor","morsecode","mp3player","mset","musiconhold","nbscat","nocdr","noop","odbc","odbc","odbcfinish","originate","ospauth","ospfinish","osplookup","ospnext","page","park","parkandannounce","parkedcall","pausemonitor","pausequeuemember","pickup","pickupchan","playback","playtones","privacymanager","proceeding","progress","queue","queuelog","raiseexception","read","readexten","readfile","receivefax","receivefax","receivefax","record","removequeuemember","resetcdr","retrydial","return","ringing","sayalpha","saycountedadj","saycountednoun","saycountpl","saydigits","saynumber","sayphonetic","sayunixtime","senddtmf","sendfax","sendfax","sendfax","sendimage","sendtext","sendurl","set","setamaflags","setcallerpres","setmusiconhold","sipaddheader","sipdtmfmode","sipremoveheader","skel","slastation","slatrunk","sms","softhangup","speechactivategrammar","speechbackground","speechcreate","speechdeactivategrammar","speechdestroy","speechloadgrammar","speechprocessingsound","speechstart","speechunloadgrammar","stackpop","startmusiconhold","stopmixmonitor","stopmonitor","stopmusiconhold","stopplaytones","system","testclient","testserver","transfer","tryexec","trysystem","unpausemonitor","unpausequeuemember","userevent","verbose","vmauthenticate","vmsayname","voicemail","voicemailmain","wait","waitexten","waitfornoise","waitforring","waitforsilence","waitmusiconhold","waituntil","while","zapateller"];function s(e,n){var i="",a=e.next();if(n.blockComment)return a=="-"&&e.match("-;",!0)?n.blockComment=!1:e.skipTo("--;")?(e.next(),e.next(),e.next(),n.blockComment=!1):e.skipToEnd(),"comment";if(a==";")return e.match("--",!0)&&!e.match("-",!1)?(n.blockComment=!0,"comment"):(e.skipToEnd(),"comment");if(a=="[")return e.skipTo("]"),e.eat("]"),"header";if(a=='"')return e.skipTo('"'),"string";if(a=="'")return e.skipTo("'"),"string.special";if(a=="#"&&(e.eatWhile(/\w/),i=e.current(),c.indexOf(i)!==-1))return e.skipToEnd(),"strong";if(a=="$"){var d=e.peek();if(d=="{")return e.skipTo("}"),e.eat("}"),"variableName.special"}if(e.eatWhile(/\w/),i=e.current(),o.indexOf(i)!==-1){switch(n.extenStart=!0,i){case"same":n.extenSame=!0;break;case"include":case"switch":case"ignorepat":n.extenInclude=!0;break;default:break}return"atom"}}const u={name:"asterisk",startState:function(){return{blockComment:!1,extenStart:!1,extenSame:!1,extenInclude:!1,extenExten:!1,extenPriority:!1,extenApplication:!1}},token:function(e,n){var i="";if(e.eatSpace())return null;if(n.extenStart)return e.eatWhile(/[^\s]/),i=e.current(),/^=>?$/.test(i)?(n.extenExten=!0,n.extenStart=!1,"strong"):(n.extenStart=!1,e.skipToEnd(),"error");if(n.extenExten)return n.extenExten=!1,n.extenPriority=!0,e.eatWhile(/[^,]/),n.extenInclude&&(e.skipToEnd(),n.extenPriority=!1,n.extenInclude=!1),n.extenSame&&(n.extenPriority=!1,n.extenSame=!1,n.extenApplication=!0),"tag";if(n.extenPriority)return n.extenPriority=!1,n.extenApplication=!0,e.next(),n.extenSame?null:(e.eatWhile(/[^,]/),"number");if(n.extenApplication){if(e.eatWhile(/,/),i=e.current(),i===",")return null;if(e.eatWhile(/\w/),i=e.current().toLowerCase(),n.extenApplication=!1,l.indexOf(i)!==-1)return"def"}else return s(e,n);return null},languageData:{commentTokens:{line:";",block:{open:";--",close:"--;"}}}}}}]); diff --git a/5742.f857eb0b.async.js b/5742.f857eb0b.async.js new file mode 100644 index 0000000000..04f31092f9 --- /dev/null +++ b/5742.f857eb0b.async.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[5742],{91508:function(w,M,o){o.d(M,{Ag:function(){return v},IH:function(){return T},w:function(){return P}});var r=o(67294);const h=r.createContext(null),P=h.Provider;M.ZP=h;const v=r.createContext(null),T=v.Provider},99692:function(w,M,o){var r=o(67294),h=o(94184),P=o.n(h),v=o(21770),T=o(64217),W=o(53124),E=o(98675),d=o(91508),t=o(21846),i=o(88983);const n=r.forwardRef((e,O)=>{const{getPrefixCls:_,direction:f}=r.useContext(W.E_),[a,p]=(0,v.Z)(e.defaultValue,{value:e.value}),C=s=>{const H=a,j=s.target.value;"value"in e||p(j);const{onChange:z}=e;z&&j!==H&&z(s)},{prefixCls:c,className:l,rootClassName:I,options:m,buttonStyle:S="outline",disabled:u,children:x,size:D,style:k,id:g,onMouseEnter:L,onMouseLeave:A,onFocus:K,onBlur:U}=e,R=_("radio",c),B=`${R}-group`,[$,b]=(0,i.Z)(R);let y=x;m&&m.length>0&&(y=m.map(s=>typeof s=="string"||typeof s=="number"?r.createElement(t.Z,{key:s.toString(),prefixCls:R,disabled:u,value:s,checked:a===s},s):r.createElement(t.Z,{key:`radio-group-value-options-${s.value}`,prefixCls:R,disabled:s.disabled||u,value:s.value,checked:a===s.value,title:s.title,style:s.style},s.label)));const Z=(0,E.Z)(D),N=P()(B,`${B}-${S}`,{[`${B}-${Z}`]:Z,[`${B}-rtl`]:f==="rtl"},l,I,b);return $(r.createElement("div",Object.assign({},(0,T.Z)(e,{aria:!0,data:!0}),{className:N,style:k,onMouseEnter:L,onMouseLeave:A,onFocus:K,onBlur:U,id:g,ref:O}),r.createElement(d.w,{value:{onChange:C,value:a,disabled:e.disabled,name:e.name,optionType:e.optionType}},y)))});M.Z=r.memo(n)},55742:function(w,M,o){var r=o(99692),h=o(21846),P=o(16984);const v=h.Z;v.Button=P.Z,v.Group=r.Z,v.__ANT_RADIO=!0,M.ZP=v},21846:function(w,M,o){var r=o(67294),h=o(94184),P=o.n(h),v=o(50132),T=o(42550),W=o(45353),E=o(17415),d=o(53124),t=o(98866),i=o(65223),n=o(91508),e=o(88983),O=function(a,p){var C={};for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&p.indexOf(c)<0&&(C[c]=a[c]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,c=Object.getOwnPropertySymbols(a);l{var C,c;const l=r.useContext(n.ZP),I=r.useContext(n.Ag),{getPrefixCls:m,direction:S,radio:u}=r.useContext(d.E_),x=r.useRef(null),D=(0,T.sQ)(p,x),{isFormItemInput:k}=r.useContext(i.aM),g=z=>{var G,F;(G=a.onChange)===null||G===void 0||G.call(a,z),(F=l==null?void 0:l.onChange)===null||F===void 0||F.call(l,z)},{prefixCls:L,className:A,rootClassName:K,children:U,style:R}=a,B=O(a,["prefixCls","className","rootClassName","children","style"]),$=m("radio",L),b=((l==null?void 0:l.optionType)||I)==="button",y=b?`${$}-button`:$,[Z,N]=(0,e.Z)($),s=Object.assign({},B),H=r.useContext(t.Z);l&&(s.name=l.name,s.onChange=g,s.checked=a.value===l.value,s.disabled=(C=s.disabled)!==null&&C!==void 0?C:l.disabled),s.disabled=(c=s.disabled)!==null&&c!==void 0?c:H;const j=P()(`${y}-wrapper`,{[`${y}-wrapper-checked`]:s.checked,[`${y}-wrapper-disabled`]:s.disabled,[`${y}-wrapper-rtl`]:S==="rtl",[`${y}-wrapper-in-form-item`]:k},u==null?void 0:u.className,A,K,N);return Z(r.createElement(W.Z,{component:"Radio",disabled:s.disabled},r.createElement("label",{className:j,style:Object.assign(Object.assign({},u==null?void 0:u.style),R),onMouseEnter:a.onMouseEnter,onMouseLeave:a.onMouseLeave},r.createElement(v.Z,Object.assign({},s,{className:P()(s.className,!b&&E.A),type:"radio",prefixCls:y,ref:D})),U!==void 0?r.createElement("span",null,U):null)))},f=r.forwardRef(_);M.Z=f},16984:function(w,M,o){var r=o(67294),h=o(53124),P=o(91508),v=o(21846),T=function(E,d){var t={};for(var i in E)Object.prototype.hasOwnProperty.call(E,i)&&d.indexOf(i)<0&&(t[i]=E[i]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,i=Object.getOwnPropertySymbols(E);n{const{getPrefixCls:t}=r.useContext(h.E_),{prefixCls:i}=E,n=T(E,["prefixCls"]),e=t("radio",i);return r.createElement(P.IH,{value:"button"},r.createElement(v.Z,Object.assign({prefixCls:e},n,{type:"radio",ref:d})))};M.Z=r.forwardRef(W)},88983:function(w,M,o){var r=o(14747),h=o(67968),P=o(45503);const v=d=>{const{componentCls:t,antCls:i}=d,n=`${t}-group`;return{[n]:Object.assign(Object.assign({},(0,r.Wf)(d)),{display:"inline-block",fontSize:0,[`&${n}-rtl`]:{direction:"rtl"},[`${i}-badge ${i}-badge-count`]:{zIndex:1},[`> ${i}-badge:not(:first-child) > ${i}-button-wrapper`]:{borderInlineStart:"none"}})}},T=d=>{const{componentCls:t,wrapperMarginInlineEnd:i,colorPrimary:n,radioSize:e,motionDurationSlow:O,motionDurationMid:_,motionEaseInOutCirc:f,colorBgContainer:a,colorBorder:p,lineWidth:C,dotSize:c,colorBgContainerDisabled:l,colorTextDisabled:I,paddingXS:m,dotColorDisabled:S,lineType:u,radioDotDisabledSize:x,wireframe:D,colorWhite:k}=d,g=`${t}-inner`;return{[`${t}-wrapper`]:Object.assign(Object.assign({},(0,r.Wf)(d)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:i,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:d.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${C}px ${u} ${n}`,borderRadius:"50%",visibility:"hidden",content:'""'},[t]:Object.assign(Object.assign({},(0,r.Wf)(d)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &, + &:hover ${g}`]:{borderColor:n},[`${t}-input:focus-visible + ${g}`]:Object.assign({},(0,r.oN)(d)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:e,height:e,marginBlockStart:e/-2,marginInlineStart:e/-2,backgroundColor:D?n:k,borderBlockStart:0,borderInlineStart:0,borderRadius:e,transform:"scale(0)",opacity:0,transition:`all ${O} ${f}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:e,height:e,backgroundColor:a,borderColor:p,borderStyle:"solid",borderWidth:C,borderRadius:"50%",transition:`all ${_}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[g]:{borderColor:n,backgroundColor:D?a:n,"&::after":{transform:`scale(${c/e})`,opacity:1,transition:`all ${O} ${f}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[g]:{backgroundColor:l,borderColor:p,cursor:"not-allowed","&::after":{backgroundColor:S}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:I,cursor:"not-allowed"},[`&${t}-checked`]:{[g]:{"&::after":{transform:`scale(${x/e})`}}}},[`span${t} + *`]:{paddingInlineStart:m,paddingInlineEnd:m}})}},W=d=>{const{buttonColor:t,controlHeight:i,componentCls:n,lineWidth:e,lineType:O,colorBorder:_,motionDurationSlow:f,motionDurationMid:a,buttonPaddingInline:p,fontSize:C,buttonBg:c,fontSizeLG:l,controlHeightLG:I,controlHeightSM:m,paddingXS:S,borderRadius:u,borderRadiusSM:x,borderRadiusLG:D,buttonCheckedBg:k,buttonSolidCheckedColor:g,colorTextDisabled:L,colorBgContainerDisabled:A,buttonCheckedBgDisabled:K,buttonCheckedColorDisabled:U,colorPrimary:R,colorPrimaryHover:B,colorPrimaryActive:$,buttonSolidCheckedBg:b,buttonSolidCheckedHoverBg:y,buttonSolidCheckedActiveBg:Z}=d;return{[`${n}-button-wrapper`]:{position:"relative",display:"inline-block",height:i,margin:0,paddingInline:p,paddingBlock:0,color:t,fontSize:C,lineHeight:`${i-e*2}px`,background:c,border:`${e}px ${O} ${_}`,borderBlockStartWidth:e+.02,borderInlineStartWidth:0,borderInlineEndWidth:e,cursor:"pointer",transition:[`color ${a}`,`background ${a}`,`box-shadow ${a}`].join(","),a:{color:t},[`> ${n}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-e,insetInlineStart:-e,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:e,paddingInline:0,backgroundColor:_,transition:`background-color ${f}`,content:'""'}},"&:first-child":{borderInlineStart:`${e}px ${O} ${_}`,borderStartStartRadius:u,borderEndStartRadius:u},"&:last-child":{borderStartEndRadius:u,borderEndEndRadius:u},"&:first-child:last-child":{borderRadius:u},[`${n}-group-large &`]:{height:I,fontSize:l,lineHeight:`${I-e*2}px`,"&:first-child":{borderStartStartRadius:D,borderEndStartRadius:D},"&:last-child":{borderStartEndRadius:D,borderEndEndRadius:D}},[`${n}-group-small &`]:{height:m,paddingInline:S-e,paddingBlock:0,lineHeight:`${m-e*2}px`,"&:first-child":{borderStartStartRadius:x,borderEndStartRadius:x},"&:last-child":{borderStartEndRadius:x,borderEndEndRadius:x}},"&:hover":{position:"relative",color:R},"&:has(:focus-visible)":Object.assign({},(0,r.oN)(d)),[`${n}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${n}-button-wrapper-disabled)`]:{zIndex:1,color:R,background:k,borderColor:R,"&::before":{backgroundColor:R},"&:first-child":{borderColor:R},"&:hover":{color:B,borderColor:B,"&::before":{backgroundColor:B}},"&:active":{color:$,borderColor:$,"&::before":{backgroundColor:$}}},[`${n}-group-solid &-checked:not(${n}-button-wrapper-disabled)`]:{color:g,background:b,borderColor:b,"&:hover":{color:g,background:y,borderColor:y},"&:active":{color:g,background:Z,borderColor:Z}},"&-disabled":{color:L,backgroundColor:A,borderColor:_,cursor:"not-allowed","&:first-child, &:hover":{color:L,backgroundColor:A,borderColor:_}},[`&-disabled${n}-button-wrapper-checked`]:{color:U,backgroundColor:K,borderColor:_,boxShadow:"none"}}}},E=d=>d-4*2;M.Z=(0,h.Z)("Radio",d=>{const{controlOutline:t,controlOutlineWidth:i,radioSize:n}=d,e=`0 0 0 ${i}px ${t}`,O=e,_=E(n),f=(0,P.TS)(d,{radioDotDisabledSize:_,radioFocusShadow:e,radioButtonFocusShadow:O});return[v(f),T(f),W(f)]},d=>{const{wireframe:t,padding:i,marginXS:n,lineWidth:e,fontSizeLG:O,colorText:_,colorBgContainer:f,colorTextDisabled:a,controlItemBgActiveDisabled:p,colorTextLightSolid:C,colorPrimary:c,colorPrimaryHover:l,colorPrimaryActive:I}=d,m=4,S=O,u=t?E(S):S-(m+e)*2;return{radioSize:S,dotSize:u,dotColorDisabled:a,buttonSolidCheckedColor:C,buttonSolidCheckedBg:c,buttonSolidCheckedHoverBg:l,buttonSolidCheckedActiveBg:I,buttonBg:f,buttonCheckedBg:f,buttonColor:_,buttonCheckedBgDisabled:p,buttonCheckedColorDisabled:a,buttonPaddingInline:i-e,wrapperMarginInlineEnd:n}})},50132:function(w,M,o){var r=o(87462),h=o(1413),P=o(4942),v=o(97685),T=o(91),W=o(94184),E=o.n(W),d=o(21770),t=o(67294),i=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],n=(0,t.forwardRef)(function(e,O){var _,f=e.prefixCls,a=f===void 0?"rc-checkbox":f,p=e.className,C=e.style,c=e.checked,l=e.disabled,I=e.defaultChecked,m=I===void 0?!1:I,S=e.type,u=S===void 0?"checkbox":S,x=e.title,D=e.onChange,k=(0,T.Z)(e,i),g=(0,t.useRef)(null),L=(0,d.Z)(m,{value:c}),A=(0,v.Z)(L,2),K=A[0],U=A[1];(0,t.useImperativeHandle)(O,function(){return{focus:function(){var b;(b=g.current)===null||b===void 0||b.focus()},blur:function(){var b;(b=g.current)===null||b===void 0||b.blur()},input:g.current}});var R=E()(a,p,(_={},(0,P.Z)(_,"".concat(a,"-checked"),K),(0,P.Z)(_,"".concat(a,"-disabled"),l),_)),B=function(b){l||("checked"in e||U(b.target.checked),D==null||D({target:(0,h.Z)((0,h.Z)({},e),{},{type:u,checked:b.target.checked}),stopPropagation:function(){b.stopPropagation()},preventDefault:function(){b.preventDefault()},nativeEvent:b.nativeEvent}))};return t.createElement("span",{className:R,title:x,style:C},t.createElement("input",(0,r.Z)({},k,{className:"".concat(a,"-input"),ref:g,onChange:B,disabled:l,checked:!!K,type:u})),t.createElement("span",{className:"".concat(a,"-inner")}))});M.Z=n}}]); diff --git a/5753.8bb95fa6.async.js b/5753.8bb95fa6.async.js new file mode 100644 index 0000000000..be72cc67bb --- /dev/null +++ b/5753.8bb95fa6.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[5753],{35753:function(O,m,b){b.r(m),b.d(m,{xQuery:function(){return B}});var x=function(){function e(M){return{type:M,style:"keyword"}}for(var n=e("operator"),t={type:"atom",style:"atom"},i={type:"punctuation",style:null},u={type:"axis_specifier",style:"qualifier"},l={",":i},d=["after","all","allowing","ancestor","ancestor-or-self","any","array","as","ascending","at","attribute","base-uri","before","boundary-space","by","case","cast","castable","catch","child","collation","comment","construction","contains","content","context","copy","copy-namespaces","count","decimal-format","declare","default","delete","descendant","descendant-or-self","descending","diacritics","different","distance","document","document-node","element","else","empty","empty-sequence","encoding","end","entire","every","exactly","except","external","first","following","following-sibling","for","from","ftand","ftnot","ft-option","ftor","function","fuzzy","greatest","group","if","import","in","inherit","insensitive","insert","instance","intersect","into","invoke","is","item","language","last","lax","least","let","levels","lowercase","map","modify","module","most","namespace","next","no","node","nodes","no-inherit","no-preserve","not","occurs","of","only","option","order","ordered","ordering","paragraph","paragraphs","parent","phrase","preceding","preceding-sibling","preserve","previous","processing-instruction","relationship","rename","replace","return","revalidation","same","satisfies","schema","schema-attribute","schema-element","score","self","sensitive","sentence","sentences","sequence","skip","sliding","some","stable","start","stemming","stop","strict","strip","switch","text","then","thesaurus","times","to","transform","treat","try","tumbling","type","typeswitch","union","unordered","update","updating","uppercase","using","validate","value","variable","version","weight","when","where","wildcards","window","with","without","word","words","xquery"],r=0,o=d.length;r",">=","<","<=",".","|","?","and","or","div","idiv","mod","*","/","+","-"],r=0,o=p.length;r\"\'\/?]/);)d+=r;return f(e,n,S(d,l))}else{if(t=="{")return s(n,{type:"codeblock"}),null;if(t=="}")return a(n),null;if(w(n))return t==">"?"tag":t=="/"&&e.eat(">")?(a(n),"tag"):"variable";if(/\d/.test(t))return e.match(/^\d*(?:\.\d*)?(?:E[+\-]?\d+)?/),"atom";if(t==="("&&e.eat(":"))return s(n,{type:"comment"}),f(e,n,I);if(!u&&(t==='"'||t==="'"))return f(e,n,k(t));if(t==="$")return f(e,n,T);if(t===":"&&e.eat("="))return"keyword";if(t==="(")return s(n,{type:"paren"}),null;if(t===")")return a(n),null;if(t==="[")return s(n,{type:"bracket"}),null;if(t==="]")return a(n),null;var o=x.propertyIsEnumerable(t)&&x[t];if(u&&t==='"')for(;e.next()!=='"';);if(u&&t==="'")for(;e.next()!=="'";);o||e.eatWhile(/[\w\$_-]/);var y=e.eat(":");!e.eat(":")&&y&&e.eatWhile(/[\w\$_-]/),e.match(/^[ \t]*\(/,!1)&&(i=!0);var p=e.current();return o=x.propertyIsEnumerable(p)&&x[p],i&&!o&&(o={type:"function_call",style:"def"}),D(n)?(a(n),"variable"):((p=="element"||p=="attribute"||o.type=="axis_specifier")&&s(n,{type:"xmlconstructor"}),o?o.style:"variable")}}function I(e,n){for(var t=!1,i=!1,u=0,l;l=e.next();){if(l==")"&&t)if(u>0)u--;else{a(n);break}else l==":"&&i&&u++;t=l==":",i=l=="("}return"comment"}function k(e,n){return function(t,i){var u;if(C(i)&&t.current()==e)return a(i),n&&(i.tokenize=n),"string";if(s(i,{type:"string",name:e,tokenize:k(e,n)}),t.match("{",!1)&&g(i))return i.tokenize=c,"string";for(;u=t.next();)if(u==e){a(i),n&&(i.tokenize=n);break}else if(t.match("{",!1)&&g(i))return i.tokenize=c,"string";return"string"}}function T(e,n){var t=/[\w\$_-]/;if(e.eat('"')){for(;e.next()!=='"';);e.eat(":")}else e.eatWhile(t),e.match(":=",!1)||e.eat(":");return e.eatWhile(t),n.tokenize=c,"variable"}function S(e,n){return function(t,i){if(t.eatSpace(),n&&t.eat(">"))return a(i),i.tokenize=c,"tag";if(t.eat("/")||s(i,{type:"tag",name:e,tokenize:c}),t.eat(">"))i.tokenize=c;else return i.tokenize=v,"tag";return"tag"}}function v(e,n){var t=e.next();return t=="/"&&e.eat(">")?(g(n)&&a(n),w(n)&&a(n),"tag"):t==">"?(g(n)&&a(n),"tag"):t=="="?null:t=='"'||t=="'"?f(e,n,k(t,v)):(g(n)||s(n,{type:"attribute",tokenize:v}),e.eat(/[a-zA-Z_:]/),e.eatWhile(/[-a-zA-Z0-9_:.]/),e.eatSpace(),(e.match(">",!1)||e.match("/",!1))&&(a(n),n.tokenize=c),"attribute")}function N(e,n){for(var t;t=e.next();)if(t=="-"&&e.match("->",!0))return n.tokenize=c,"comment"}function E(e,n){for(var t;t=e.next();)if(t=="]"&&e.match("]",!0))return n.tokenize=c,"comment"}function A(e,n){for(var t;t=e.next();)if(t=="?"&&e.match(">",!0))return n.tokenize=c,"processingInstruction"}function w(e){return h(e,"tag")}function g(e){return h(e,"attribute")}function D(e){return h(e,"xmlconstructor")}function C(e){return h(e,"string")}function _(e){return e.current()==='"'?e.match(/^[^\"]+\"\:/,!1):e.current()==="'"?e.match(/^[^\"]+\'\:/,!1):!1}function h(e,n){return e.stack.length&&e.stack[e.stack.length-1].type==n}function s(e,n){e.stack.push(n)}function a(e){e.stack.pop();var n=e.stack.length&&e.stack[e.stack.length-1].tokenize;e.tokenize=n||c}const B={name:"xquery",startState:function(){return{tokenize:c,cc:[],stack:[]}},token:function(e,n){if(e.eatSpace())return null;var t=n.tokenize(e,n);return t},languageData:{commentTokens:{block:{open:"(:",close:":)"}}}}}}]); diff --git a/5815.b3ff0e31.async.js b/5815.b3ff0e31.async.js new file mode 100644 index 0000000000..6b2c95944c --- /dev/null +++ b/5815.b3ff0e31.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[5815],{15815:function(y,u,f){f.r(u),f.d(u,{turtle:function(){return g}});var o;function p(e){return new RegExp("^(?:"+e.join("|")+")$","i")}var v=p([]),x=p(["@prefix","@base","a"]),d=/[*+\-<>=&|]/;function a(e,n){var t=e.next();if(o=null,t=="<"&&!e.match(/^[\s\u00a0=]/,!1))return e.match(/^[^\s\u00a0>]*>?/),"atom";if(t=='"'||t=="'")return n.tokenize=h(t),n.tokenize(e,n);if(/[{}\(\),\.;\[\]]/.test(t))return o=t,null;if(t=="#")return e.skipToEnd(),"comment";if(d.test(t))return e.eatWhile(d),null;if(t==":")return"operator";if(e.eatWhile(/[_\w\d]/),e.peek()==":")return"variableName.special";var i=e.current();return x.test(i)?"meta":t>="A"&&t<="Z"?"comment":"keyword";var i=e.current();return v.test(i)?null:x.test(i)?"meta":"variable"}function h(e){return function(n,t){for(var i=!1,r;(r=n.next())!=null;){if(r==e&&!i){t.tokenize=a;break}i=!i&&r=="\\"}return"string"}}function l(e,n,t){e.context={prev:e.context,indent:e.indent,col:t,type:n}}function c(e){e.indent=e.context.indent,e.context=e.context.prev}const g={name:"turtle",startState:function(){return{tokenize:a,context:null,indent:0,col:0}},token:function(e,n){if(e.sol()&&(n.context&&n.context.align==null&&(n.context.align=!1),n.indent=e.indentation()),e.eatSpace())return null;var t=n.tokenize(e,n);if(t!="comment"&&n.context&&n.context.align==null&&n.context.type!="pattern"&&(n.context.align=!0),o=="(")l(n,")",e.column());else if(o=="[")l(n,"]",e.column());else if(o=="{")l(n,"}",e.column());else if(/[\]\}\)]/.test(o)){for(;n.context&&n.context.type=="pattern";)c(n);n.context&&o==n.context.type&&c(n)}else o=="."&&n.context&&n.context.type=="pattern"?c(n):/atom|string|variable/.test(t)&&n.context&&(/[\}\]]/.test(n.context.type)?l(n,"pattern",e.column()):n.context.type=="pattern"&&!n.context.align&&(n.context.align=!0,n.context.col=e.column()));return t},indent:function(e,n,t){var i=n&&n.charAt(0),r=e.context;if(/[\]\}]/.test(i))for(;r&&r.type=="pattern";)r=r.prev;var k=r&&i==r.type;return r?r.type=="pattern"?r.col:r.align?r.col+(k?0:1):r.indent+(k?0:t.unit):0},languageData:{commentTokens:{line:"#"}}}}}]); diff --git a/5819.c90c6bb1.async.js b/5819.c90c6bb1.async.js new file mode 100644 index 0000000000..b483394edf --- /dev/null +++ b/5819.c90c6bb1.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[5819],{5819:function(C,d,p){p.r(d),p.d(d,{vhdl:function(){return z}});function f(e){for(var t={},n=e.split(","),r=0;rinteger char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt #f floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? #t tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"),N=v("define let letrec let* lambda define-macro defmacro let-syntax letrec-syntax let-values let*-values define-syntax syntax-rules define-values when unless");function M(e,n,i){this.indent=e,this.type=n,this.prev=i}function o(e,n,i){e.indentStack=new M(n,i,e.indentStack)}function Q(e){e.indentStack=e.indentStack.prev}var I=new RegExp(/^(?:[-+]i|[-+][01]+#*(?:\/[01]+#*)?i|[-+]?[01]+#*(?:\/[01]+#*)?@[-+]?[01]+#*(?:\/[01]+#*)?|[-+]?[01]+#*(?:\/[01]+#*)?[-+](?:[01]+#*(?:\/[01]+#*)?)?i|[-+]?[01]+#*(?:\/[01]+#*)?)(?=[()\s;"]|$)/i),R=new RegExp(/^(?:[-+]i|[-+][0-7]+#*(?:\/[0-7]+#*)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?@[-+]?[0-7]+#*(?:\/[0-7]+#*)?|[-+]?[0-7]+#*(?:\/[0-7]+#*)?[-+](?:[0-7]+#*(?:\/[0-7]+#*)?)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?)(?=[()\s;"]|$)/i),B=new RegExp(/^(?:[-+]i|[-+][\da-f]+#*(?:\/[\da-f]+#*)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?@[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?[-+](?:[\da-f]+#*(?:\/[\da-f]+#*)?)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?)(?=[()\s;"]|$)/i),$=new RegExp(/^(?:[-+]i|[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)i|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)@[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)?i|(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*))(?=[()\s;"]|$)/i);function O(e){return e.match(I)}function U(e){return e.match(R)}function d(e,n){return n===!0&&e.backUp(1),e.match($)}function _(e){return e.match(B)}function y(e,n){for(var i,t=!1;(i=e.next())!=null;){if(i==n.token&&!t){n.state.mode=!1;break}t=!t&&i=="\\"}}const D={name:"scheme",startState:function(){return{indentStack:null,indentation:0,mode:!1,sExprComment:!1,sExprQuote:!1}},token:function(e,n){if(n.indentStack==null&&e.sol()&&(n.indentation=e.indentation()),e.eatSpace())return null;var i=null;switch(n.mode){case"string":y(e,{token:'"',state:n}),i=h;break;case"symbol":y(e,{token:"|",state:n}),i=g;break;case"comment":for(var t,w=!1;(t=e.next())!=null;){if(t=="#"&&w){n.mode=!1;break}w=t=="|"}i=l;break;case"s-expr-comment":if(n.mode=!1,e.peek()=="("||e.peek()=="[")n.sExprComment=0;else{e.eatWhile(/[^\s\(\)\[\]]/),i=l;break}default:var r=e.next();if(r=='"')n.mode="string",i=h;else if(r=="'")e.peek()=="("||e.peek()=="["?(typeof n.sExprQuote!="number"&&(n.sExprQuote=0),i=c):(e.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),i=c);else if(r=="|")n.mode="symbol",i=g;else if(r=="#")if(e.eat("|"))n.mode="comment",i=l;else if(e.eat(/[tf]/i))i=c;else if(e.eat(";"))n.mode="s-expr-comment",i=l;else{var a=null,u=!1,E=!0;e.eat(/[ei]/i)?u=!0:e.backUp(1),e.match(/^#b/i)?a=O:e.match(/^#o/i)?a=U:e.match(/^#x/i)?a=_:e.match(/^#d/i)?a=d:e.match(/^[-+0-9.]/,!1)?(E=!1,a=d):u||e.eat("#"),a!=null&&(E&&!u&&e.match(/^#[ei]/i),a(e)&&(i=b))}else if(/^[-+0-9.]/.test(r)&&d(e,!0))i=b;else if(r==";")e.skipToEnd(),i=l;else if(r=="("||r=="["){for(var s="",f=e.column(),S;(S=e.eat(/[^\s\(\[\;\)\]]/))!=null;)s+=S;s.length>0&&N.propertyIsEnumerable(s)?o(n,f+C,r):(e.eatSpace(),e.eol()||e.peek()==";"?o(n,f+1,r):o(n,f+e.current().length,r)),e.backUp(e.current().length-1),typeof n.sExprComment=="number"&&n.sExprComment++,typeof n.sExprQuote=="number"&&n.sExprQuote++,i=x}else r==")"||r=="]"?(i=x,n.indentStack!=null&&n.indentStack.type==(r==")"?"(":"[")&&(Q(n),typeof n.sExprComment=="number"&&--n.sExprComment==0&&(i=l,n.sExprComment=!1),typeof n.sExprQuote=="number"&&--n.sExprQuote==0&&(i=c,n.sExprQuote=!1))):(e.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),k&&k.propertyIsEnumerable(e.current())?i=q:i="variable")}return typeof n.sExprComment=="number"?l:typeof n.sExprQuote=="number"?c:i},indent:function(e){return e.indentStack==null?e.indentation:e.indentStack.indent},languageData:{closeBrackets:{brackets:["(","[","{",'"']},commentTokens:{line:";;"}}}}}]); diff --git a/590.14c44e22.async.js b/590.14c44e22.async.js new file mode 100644 index 0000000000..acdb11b9a2 --- /dev/null +++ b/590.14c44e22.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[590],{44163:function(b,o,a){a.r(o),a.d(o,{pascal:function(){return h}});function f(r){for(var n={},e=r.split(" "),t=0;t!?|\/]/;function k(r,n){var e=r.next();if(e=="#"&&n.startOfLine)return r.skipToEnd(),"meta";if(e=='"'||e=="'")return n.tokenize=m(e),n.tokenize(r,n);if(e=="("&&r.eat("*"))return n.tokenize=u,u(r,n);if(e=="{")return n.tokenize=c,c(r,n);if(/[\[\]\(\),;\:\.]/.test(e))return null;if(/\d/.test(e))return r.eatWhile(/[\w\.]/),"number";if(e=="/"&&r.eat("/"))return r.skipToEnd(),"comment";if(l.test(e))return r.eatWhile(l),"operator";r.eatWhile(/[\w\$_]/);var t=r.current();return d.propertyIsEnumerable(t)?"keyword":p.propertyIsEnumerable(t)?"atom":"variable"}function m(r){return function(n,e){for(var t=!1,i,s=!1;(i=n.next())!=null;){if(i==r&&!t){s=!0;break}t=!t&&i=="\\"}return(s||!t)&&(e.tokenize=null),"string"}}function u(r,n){for(var e=!1,t;t=r.next();){if(t==")"&&e){n.tokenize=null;break}e=t=="*"}return"comment"}function c(r,n){for(var e;e=r.next();)if(e=="}"){n.tokenize=null;break}return"comment"}const h={name:"pascal",startState:function(){return{tokenize:null}},token:function(r,n){if(r.eatSpace())return null;var e=(n.tokenize||k)(r,n);return e=="comment"||e=="meta",e},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{block:{open:"(*",close:"*)"}}}}}}]); diff --git a/6062.ee672398.async.js b/6062.ee672398.async.js new file mode 100644 index 0000000000..f0e75d1bf8 --- /dev/null +++ b/6062.ee672398.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[6062],{66062:function(F,f,l){l.r(f),l.d(f,{swift:function(){return $}});function u(n){for(var e={},t=0;t~^?!",_=":;,.(){}[]",y=/^\-?0b[01][01_]*/,g=/^\-?0o[0-7][0-7_]*/,w=/^\-?0x[\dA-Fa-f][\dA-Fa-f_]*(?:(?:\.[\dA-Fa-f][\dA-Fa-f_]*)?[Pp]\-?\d[\d_]*)?/,x=/^\-?\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee]\-?\d[\d_]*)?/,b=/^\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1/,z=/^\.(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/,A=/^\#[A-Za-z]+/,I=/^@(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/;function p(n,e,t){if(n.sol()&&(e.indented=n.indentation()),n.eatSpace())return null;var r=n.peek();if(r=="/"){if(n.match("//"))return n.skipToEnd(),"comment";if(n.match("/*"))return e.tokenize.push(a),a(n,e)}if(n.match(A))return"builtin";if(n.match(I))return"attribute";if(n.match(y)||n.match(g)||n.match(w)||n.match(x))return"number";if(n.match(z))return"property";if(k.indexOf(r)>-1)return n.next(),"operator";if(_.indexOf(r)>-1)return n.next(),n.match(".."),"punctuation";var i;if(i=n.match(/("""|"|')/)){var o=m.bind(null,i[0]);return e.tokenize.push(o),o(n,e)}if(n.match(b)){var c=n.current();return s.hasOwnProperty(c)?"type":v.hasOwnProperty(c)?"atom":d.hasOwnProperty(c)?(h.hasOwnProperty(c)&&(e.prev="define"),"keyword"):t=="define"?"def":"variable"}return n.next(),null}function O(){var n=0;return function(e,t,r){var i=p(e,t,r);if(i=="punctuation"){if(e.current()=="(")++n;else if(e.current()==")"){if(n==0)return e.backUp(1),t.tokenize.pop(),t.tokenize[t.tokenize.length-1](e,t);--n}}return i}}function m(n,e,t){for(var r=n.length==1,i,o=!1;i=e.peek();)if(o){if(e.next(),i=="(")return t.tokenize.push(O()),"string";o=!1}else{if(e.match(n))return t.tokenize.pop(),"string";e.next(),o=i=="\\"}return r&&t.tokenize.pop(),"string"}function a(n,e){for(var t;t=n.next();)if(t==="/"&&n.eat("*"))e.tokenize.push(a);else if(t==="*"&&n.eat("/")){e.tokenize.pop();break}return"comment"}function C(n,e,t){this.prev=n,this.align=e,this.indented=t}function S(n,e){var t=e.match(/^\s*($|\/[\/\*]|[)}\]])/,!1)?null:e.column()+1;n.context=new C(n.context,t,n.indented)}function U(n){n.context&&(n.indented=n.context.indented,n.context=n.context.prev)}const $={name:"swift",startState:function(){return{prev:null,context:null,indented:0,tokenize:[]}},token:function(n,e){var t=e.prev;e.prev=null;var r=e.tokenize[e.tokenize.length-1]||p,i=r(n,e,t);if(!i||i=="comment"?e.prev=t:e.prev||(e.prev=i),i=="punctuation"){var o=/[\(\[\{]|([\]\)\}])/.exec(n.current());o&&(o[1]?U:S)(e,n)}return i},indent:function(n,e,t){var r=n.context;if(!r)return 0;var i=/^[\]\}\)]/.test(e);return r.align!=null?r.align-(i?1:0):r.indented+(i?0:t.unit)},languageData:{indentOnInput:/^\s*[\)\}\]]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}}}}]); diff --git a/6092.9ce63da5.async.js b/6092.9ce63da5.async.js new file mode 100644 index 0000000000..9135d52f97 --- /dev/null +++ b/6092.9ce63da5.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[6092],{76092:function(q,t,l){l.r(t),l.d(t,{julia:function(){return Z}});function u(e,n,i){return typeof i=="undefined"&&(i=""),typeof n=="undefined"&&(n="\\b"),new RegExp("^"+i+"(("+e.join(")|(")+"))"+n)}var v="\\\\[0-7]{1,3}",k="\\\\x[A-Fa-f0-9]{1,2}",F=`\\\\[abefnrtv0%?'"\\\\]`,b="([^\\u0027\\u005C\\uD800-\\uDFFF]|[\\uD800-\\uDFFF][\\uDC00-\\uDFFF])",a=["[<>]:","[<>=]=","<<=?",">>>?=?","=>","--?>","<--[->]?","\\/\\/","\\.{2,3}","[\\.\\\\%*+\\-<>!\\/^|&]=?","\\?","\\$","~",":"],g=u(["[<>]:","[<>=]=","[!=]==","<<=?",">>>?=?","=>?","--?>","<--[->]?","\\/\\/","[\\\\%*+\\-<>!\\/^|&\\u00F7\\u22BB]=?","\\?","\\$","~",":","\\u00D7","\\u2208","\\u2209","\\u220B","\\u220C","\\u2218","\\u221A","\\u221B","\\u2229","\\u222A","\\u2260","\\u2264","\\u2265","\\u2286","\\u2288","\\u228A","\\u22C5","\\b(in|isa)\\b(?!.?\\()"],""),y=/^[;,()[\]{}]/,m=/^[_A-Za-z\u00A1-\u2217\u2219-\uFFFF][\w\u00A1-\u2217\u2219-\uFFFF]*!*/,z=u([v,k,F,b],"'"),x=["begin","function","type","struct","immutable","let","macro","for","while","quote","if","else","elseif","try","finally","catch","do"],C=["end","else","elseif","catch","finally"],p=["if","else","elseif","while","for","begin","let","end","do","try","catch","finally","return","break","continue","global","local","const","export","import","importall","using","function","where","macro","module","baremodule","struct","type","mutable","immutable","quote","typealias","abstract","primitive","bitstype"],h=["true","false","nothing","NaN","Inf"],A=u(x),E=u(C),_=u(p),w=u(h),D=/^@[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,T=/^:[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,P=/^(`|([_A-Za-z\u00A1-\uFFFF]*"("")?))/,B=u(a,"","@"),G=u(a,"",":");function s(e){return e.nestedArrays>0}function S(e){return e.nestedGenerators>0}function d(e,n){return typeof n=="undefined"&&(n=0),e.scopes.length<=n?null:e.scopes[e.scopes.length-(n+1)]}function f(e,n){if(e.match("#=",!1))return n.tokenize=j,n.tokenize(e,n);var i=n.leavingExpr;if(e.sol()&&(i=!1),n.leavingExpr=!1,i&&e.match(/^'+/))return"operator";if(e.match(/\.{4,}/))return"error";if(e.match(/\.{1,3}/))return"operator";if(e.eatSpace())return null;var r=e.peek();if(r==="#")return e.skipToEnd(),"comment";if(r==="["&&(n.scopes.push("["),n.nestedArrays++),r==="("&&(n.scopes.push("("),n.nestedGenerators++),s(n)&&r==="]"){for(;n.scopes.length&&d(n)!=="[";)n.scopes.pop();n.scopes.pop(),n.nestedArrays--,n.leavingExpr=!0}if(S(n)&&r===")"){for(;n.scopes.length&&d(n)!=="(";)n.scopes.pop();n.scopes.pop(),n.nestedGenerators--,n.leavingExpr=!0}if(s(n)){if(n.lastToken=="end"&&e.match(":"))return"operator";if(e.match("end"))return"number"}var o;if((o=e.match(A,!1))&&n.scopes.push(o[0]),e.match(E,!1)&&n.scopes.pop(),e.match(/^::(?![:\$])/))return n.tokenize=$,n.tokenize(e,n);if(!i&&(e.match(T)||e.match(G)))return"builtin";if(e.match(g))return"operator";if(e.match(/^\.?\d/,!1)){var R=RegExp(/^im\b/),c=!1;if(e.match(/^0x\.[0-9a-f_]+p[\+\-]?[_\d]+/i)&&(c=!0),e.match(/^0x[0-9a-f_]+/i)&&(c=!0),e.match(/^0b[01_]+/i)&&(c=!0),e.match(/^0o[0-7_]+/i)&&(c=!0),e.match(/^(?:(?:\d[_\d]*)?\.(?!\.)(?:\d[_\d]*)?|\d[_\d]*\.(?!\.)(?:\d[_\d]*))?([Eef][\+\-]?[_\d]+)?/i)&&(c=!0),e.match(/^\d[_\d]*(e[\+\-]?\d+)?/i)&&(c=!0),c)return e.match(R),n.leavingExpr=!0,"number"}if(e.match("'"))return n.tokenize=I,n.tokenize(e,n);if(e.match(P))return n.tokenize=O(e.current()),n.tokenize(e,n);if(e.match(D)||e.match(B))return"meta";if(e.match(y))return null;if(e.match(_))return"keyword";if(e.match(w))return"builtin";var N=n.isDefinition||n.lastToken=="function"||n.lastToken=="macro"||n.lastToken=="type"||n.lastToken=="struct"||n.lastToken=="immutable";return e.match(m)?N?e.peek()==="."?(n.isDefinition=!0,"variable"):(n.isDefinition=!1,"def"):(n.leavingExpr=!0,"variable"):(e.next(),"error")}function $(e,n){return e.match(/.*?(?=[,;{}()=\s]|$)/),e.match("{")?n.nestedParameters++:e.match("}")&&n.nestedParameters>0&&n.nestedParameters--,n.nestedParameters>0?e.match(/.*?(?={|})/)||e.next():n.nestedParameters==0&&(n.tokenize=f),"builtin"}function j(e,n){return e.match("#=")&&n.nestedComments++,e.match(/.*?(?=(#=|=#))/)||e.skipToEnd(),e.match("=#")&&(n.nestedComments--,n.nestedComments==0&&(n.tokenize=f)),"comment"}function I(e,n){var i=!1,r;if(e.match(z))i=!0;else if(r=e.match(/\\u([a-f0-9]{1,4})(?=')/i)){var o=parseInt(r[1],16);(o<=55295||o>=57344)&&(i=!0,e.next())}else if(r=e.match(/\\U([A-Fa-f0-9]{5,8})(?=')/)){var o=parseInt(r[1],16);o<=1114111&&(i=!0,e.next())}return i?(n.leavingExpr=!0,n.tokenize=f,"string"):(e.match(/^[^']+(?=')/)||e.skipToEnd(),e.match("'")&&(n.tokenize=f),"error")}function O(e){e.substr(-3)==='"""'?e='"""':e.substr(-1)==='"'&&(e='"');function n(i,r){if(i.eat("\\"))i.next();else{if(i.match(e))return r.tokenize=f,r.leavingExpr=!0,"string";i.eat(/[`"]/)}return i.eatWhile(/[^\\`"]/),"string"}return n}const Z={name:"julia",startState:function(){return{tokenize:f,scopes:[],lastToken:null,leavingExpr:!1,isDefinition:!1,nestedArrays:0,nestedComments:0,nestedGenerators:0,nestedParameters:0,firstParenPos:-1}},token:function(e,n){var i=n.tokenize(e,n),r=e.current();return r&&i&&(n.lastToken=r),i},indent:function(e,n,i){var r=0;return(n==="]"||n===")"||/^end\b/.test(n)||/^else/.test(n)||/^catch\b/.test(n)||/^elseif\b/.test(n)||/^finally/.test(n))&&(r=-1),(e.scopes.length+r)*i.unit},languageData:{indentOnInput:/^\s*(end|else|catch|finally)\b$/,commentTokens:{line:"#",block:{open:"#=",close:"=#"}},closeBrackets:{brackets:["(","[","{",'"']},autocomplete:p.concat(h)}}}}]); diff --git a/6121.3e8f74fa.async.js b/6121.3e8f74fa.async.js new file mode 100644 index 0000000000..ebc9070db1 --- /dev/null +++ b/6121.3e8f74fa.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[6121],{96121:function(g,y,u){u.r(y),u.d(y,{fSharp:function(){return s},oCaml:function(){return f},sml:function(){return b}});function w(i){var t={as:"keyword",do:"keyword",else:"keyword",end:"keyword",exception:"keyword",fun:"keyword",functor:"keyword",if:"keyword",in:"keyword",include:"keyword",let:"keyword",of:"keyword",open:"keyword",rec:"keyword",struct:"keyword",then:"keyword",type:"keyword",val:"keyword",while:"keyword",with:"keyword"},a=i.extraWords||{};for(var l in a)a.hasOwnProperty(l)&&(t[l]=i.extraWords[l]);var c=[];for(var h in t)c.push(h);function d(e,r){var o=e.next();if(o==='"')return r.tokenize=p,r.tokenize(e,r);if(o==="{"&&e.eat("|"))return r.longString=!0,r.tokenize=v,r.tokenize(e,r);if(o==="("&&e.match(/^\*(?!\))/))return r.commentLevel++,r.tokenize=m,r.tokenize(e,r);if(o==="~"||o==="?")return e.eatWhile(/\w/),"variableName.special";if(o==="`")return e.eatWhile(/\w/),"quote";if(o==="/"&&i.slashComments&&e.eat("/"))return e.skipToEnd(),"comment";if(/\d/.test(o))return o==="0"&&e.eat(/[bB]/)&&e.eatWhile(/[01]/),o==="0"&&e.eat(/[xX]/)&&e.eatWhile(/[0-9a-fA-F]/),o==="0"&&e.eat(/[oO]/)?e.eatWhile(/[0-7]/):(e.eatWhile(/[\d_]/),e.eat(".")&&e.eatWhile(/[\d]/),e.eat(/[eE]/)&&e.eatWhile(/[\d\-+]/)),"number";if(/[+\-*&%=<>!?|@\.~:]/.test(o))return"operator";if(/[\w\xa1-\uffff]/.test(o)){e.eatWhile(/[\w\xa1-\uffff]/);var n=e.current();return t.hasOwnProperty(n)?t[n]:"variable"}return null}function p(e,r){for(var o,n=!1,k=!1;(o=e.next())!=null;){if(o==='"'&&!k){n=!0;break}k=!k&&o==="\\"}return n&&!k&&(r.tokenize=d),"string"}function m(e,r){for(var o,n;r.commentLevel>0&&(n=e.next())!=null;)o==="("&&n==="*"&&r.commentLevel++,o==="*"&&n===")"&&r.commentLevel--,o=n;return r.commentLevel<=0&&(r.tokenize=d),"comment"}function v(e,r){for(var o,n;r.longString&&(n=e.next())!=null;)o==="|"&&n==="}"&&(r.longString=!1),o=n;return r.longString||(r.tokenize=d),"string"}return{startState:function(){return{tokenize:d,commentLevel:0,longString:!1}},token:function(e,r){return e.eatSpace()?null:r.tokenize(e,r)},languageData:{autocomplete:c,commentTokens:{line:i.slashComments?"//":void 0,block:{open:"(*",close:"*)"}}}}}const f=w({name:"ocaml",extraWords:{and:"keyword",assert:"keyword",begin:"keyword",class:"keyword",constraint:"keyword",done:"keyword",downto:"keyword",external:"keyword",function:"keyword",initializer:"keyword",lazy:"keyword",match:"keyword",method:"keyword",module:"keyword",mutable:"keyword",new:"keyword",nonrec:"keyword",object:"keyword",private:"keyword",sig:"keyword",to:"keyword",try:"keyword",value:"keyword",virtual:"keyword",when:"keyword",raise:"builtin",failwith:"builtin",true:"builtin",false:"builtin",asr:"builtin",land:"builtin",lor:"builtin",lsl:"builtin",lsr:"builtin",lxor:"builtin",mod:"builtin",or:"builtin",raise_notrace:"builtin",trace:"builtin",exit:"builtin",print_string:"builtin",print_endline:"builtin",int:"type",float:"type",bool:"type",char:"type",string:"type",unit:"type",List:"builtin"}}),s=w({name:"fsharp",extraWords:{abstract:"keyword",assert:"keyword",base:"keyword",begin:"keyword",class:"keyword",default:"keyword",delegate:"keyword","do!":"keyword",done:"keyword",downcast:"keyword",downto:"keyword",elif:"keyword",extern:"keyword",finally:"keyword",for:"keyword",function:"keyword",global:"keyword",inherit:"keyword",inline:"keyword",interface:"keyword",internal:"keyword",lazy:"keyword","let!":"keyword",match:"keyword",member:"keyword",module:"keyword",mutable:"keyword",namespace:"keyword",new:"keyword",null:"keyword",override:"keyword",private:"keyword",public:"keyword","return!":"keyword",return:"keyword",select:"keyword",static:"keyword",to:"keyword",try:"keyword",upcast:"keyword","use!":"keyword",use:"keyword",void:"keyword",when:"keyword","yield!":"keyword",yield:"keyword",atomic:"keyword",break:"keyword",checked:"keyword",component:"keyword",const:"keyword",constraint:"keyword",constructor:"keyword",continue:"keyword",eager:"keyword",event:"keyword",external:"keyword",fixed:"keyword",method:"keyword",mixin:"keyword",object:"keyword",parallel:"keyword",process:"keyword",protected:"keyword",pure:"keyword",sealed:"keyword",tailcall:"keyword",trait:"keyword",virtual:"keyword",volatile:"keyword",List:"builtin",Seq:"builtin",Map:"builtin",Set:"builtin",Option:"builtin",int:"builtin",string:"builtin",not:"builtin",true:"builtin",false:"builtin",raise:"builtin",failwith:"builtin"},slashComments:!0}),b=w({name:"sml",extraWords:{abstype:"keyword",and:"keyword",andalso:"keyword",case:"keyword",datatype:"keyword",fn:"keyword",handle:"keyword",infix:"keyword",infixr:"keyword",local:"keyword",nonfix:"keyword",op:"keyword",orelse:"keyword",raise:"keyword",withtype:"keyword",eqtype:"keyword",sharing:"keyword",sig:"keyword",signature:"keyword",structure:"keyword",where:"keyword",true:"keyword",false:"keyword",int:"builtin",real:"builtin",string:"builtin",char:"builtin",bool:"builtin"},slashComments:!0})}}]); diff --git a/617.9d506370.async.js b/617.9d506370.async.js new file mode 100644 index 0000000000..70bd241229 --- /dev/null +++ b/617.9d506370.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[617],{90617:function($,s,c){c.r(s),c.d(s,{velocity:function(){return v}});function u(n){for(var e={},i=n.split(" "),r=0;r!?:\/|]/;function o(n,e,i){return e.tokenize=i,i(n,e)}function t(n,e){var i=e.beforeParams;e.beforeParams=!1;var r=n.next();if(r=="'"&&!e.inString&&e.inParams)return e.lastTokenWasBuiltin=!1,o(n,e,b(r));if(r=='"'){if(e.lastTokenWasBuiltin=!1,e.inString)return e.inString=!1,"string";if(e.inParams)return o(n,e,b(r))}else{if(/[\[\]{}\(\),;\.]/.test(r))return r=="("&&i?e.inParams=!0:r==")"&&(e.inParams=!1,e.lastTokenWasBuiltin=!0),null;if(/\d/.test(r))return e.lastTokenWasBuiltin=!1,n.eatWhile(/[\w\.]/),"number";if(r=="#"&&n.eat("*"))return e.lastTokenWasBuiltin=!1,o(n,e,d);if(r=="#"&&n.match(/ *\[ *\[/))return e.lastTokenWasBuiltin=!1,o(n,e,W);if(r=="#"&&n.eat("#"))return e.lastTokenWasBuiltin=!1,n.skipToEnd(),"comment";if(r=="$")return n.eat("!"),n.eatWhile(/[\w\d\$_\.{}-]/),h&&h.propertyIsEnumerable(n.current())?"keyword":(e.lastTokenWasBuiltin=!0,e.beforeParams=!0,"builtin");if(p.test(r))return e.lastTokenWasBuiltin=!1,n.eatWhile(p),"operator";n.eatWhile(/[\w\$_{}@]/);var l=n.current();return k&&k.propertyIsEnumerable(l)?"keyword":a&&a.propertyIsEnumerable(l)||n.current().match(/^#@?[a-z0-9_]+ *$/i)&&n.peek()=="("&&!(a&&a.propertyIsEnumerable(l.toLowerCase()))?(e.beforeParams=!0,e.lastTokenWasBuiltin=!1,"keyword"):e.inString?(e.lastTokenWasBuiltin=!1,"string"):n.pos>l.length&&n.string.charAt(n.pos-l.length-1)=="."&&e.lastTokenWasBuiltin?"builtin":(e.lastTokenWasBuiltin=!1,null)}}function b(n){return function(e,i){for(var r=!1,l,f=!1;(l=e.next())!=null;){if(l==n&&!r){f=!0;break}if(n=='"'&&e.peek()=="$"&&!r){i.inString=!0,f=!0;break}r=!r&&l=="\\"}return f&&(i.tokenize=t),"string"}}function d(n,e){for(var i=!1,r;r=n.next();){if(r=="#"&&i){e.tokenize=t;break}i=r=="*"}return"comment"}function W(n,e){for(var i=0,r;r=n.next();){if(r=="#"&&i==2){e.tokenize=t;break}r=="]"?i++:r!=" "&&(i=0)}return"meta"}const v={name:"velocity",startState:function(){return{tokenize:t,beforeParams:!1,inParams:!1,inString:!1,lastTokenWasBuiltin:!1}},token:function(n,e){return n.eatSpace()?null:e.tokenize(n,e)},languageData:{commentTokens:{line:"##",block:{open:"#*",close:"*#"}}}}}}]); diff --git a/6365.04b5d571.async.js b/6365.04b5d571.async.js new file mode 100644 index 0000000000..86de8bde10 --- /dev/null +++ b/6365.04b5d571.async.js @@ -0,0 +1,12 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[6365],{42003:function(ze,ne){var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};ne.Z=e},5717:function(ze,ne){var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};ne.Z=e},82586:function(ze,ne,e){e.d(ne,{Z:function(){return Oe},n:function(){return be}});var a=e(67294),_=e(17012),P=e(94184),G=e.n(P),J=e(67656),d=e(42550),c=e(9708),m=e(53124),X=e(98866),M=e(98675),ve=e(65223),me=e(4173),Ze=e(72922),h=e(47673);function Pe(s){return!!(s.prefix||s.suffix||s.allowClear)}var Ae=function(s,n){var k={};for(var j in s)Object.prototype.hasOwnProperty.call(s,j)&&n.indexOf(j)<0&&(k[j]=s[j]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var W=0,j=Object.getOwnPropertySymbols(s);W{var k;const{prefixCls:j,bordered:W=!0,status:Y,size:ce,disabled:ee,onBlur:ge,onFocus:le,suffix:de,allowClear:ae,addonAfter:he,addonBefore:oe,className:Ce,style:l,styles:Z,rootClassName:b,onChange:p,classNames:g}=s,E=Ae(s,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:K,direction:V,input:x}=a.useContext(m.E_),f=K("input",j),re=(0,a.useRef)(null),[t,z]=(0,h.ZP)(f),{compactSize:o,compactItemClassnames:i}=(0,me.ri)(f,V),u=(0,M.Z)(D=>{var F;return(F=ce!=null?ce:o)!==null&&F!==void 0?F:D}),N=a.useContext(X.Z),O=ee!=null?ee:N,{status:v,hasFeedback:C,feedbackIcon:y}=(0,a.useContext)(ve.aM),w=(0,c.F)(v,Y),T=Pe(s)||!!C,A=(0,a.useRef)(T),S=(0,Ze.Z)(re,!0),r=D=>{S(),ge==null||ge(D)},B=D=>{S(),le==null||le(D)},I=D=>{S(),p==null||p(D)},Q=(C||de)&&a.createElement(a.Fragment,null,de,C&&y);let q;return typeof ae=="object"&&(ae!=null&&ae.clearIcon)?q=ae:ae&&(q={clearIcon:a.createElement(_.Z,null)}),t(a.createElement(J.Z,Object.assign({ref:(0,d.sQ)(n,re),prefixCls:f,autoComplete:x==null?void 0:x.autoComplete},E,{disabled:O,onBlur:r,onFocus:B,style:Object.assign(Object.assign({},x==null?void 0:x.style),l),styles:Object.assign(Object.assign({},x==null?void 0:x.styles),Z),suffix:Q,allowClear:q,className:G()(Ce,b,i,x==null?void 0:x.className),onChange:I,addonAfter:he&&a.createElement(me.BR,null,a.createElement(ve.Ux,{override:!0,status:!0},he)),addonBefore:oe&&a.createElement(me.BR,null,a.createElement(ve.Ux,{override:!0,status:!0},oe)),classNames:Object.assign(Object.assign(Object.assign({},g),x==null?void 0:x.classNames),{input:G()({[`${f}-sm`]:u==="small",[`${f}-lg`]:u==="large",[`${f}-rtl`]:V==="rtl",[`${f}-borderless`]:!W},!T&&(0,c.Z)(f,w),g==null?void 0:g.input,(k=x==null?void 0:x.classNames)===null||k===void 0?void 0:k.input,z)}),classes:{affixWrapper:G()({[`${f}-affix-wrapper-sm`]:u==="small",[`${f}-affix-wrapper-lg`]:u==="large",[`${f}-affix-wrapper-rtl`]:V==="rtl",[`${f}-affix-wrapper-borderless`]:!W},(0,c.Z)(`${f}-affix-wrapper`,w,C),z),wrapper:G()({[`${f}-group-rtl`]:V==="rtl"},z),group:G()({[`${f}-group-wrapper-sm`]:u==="small",[`${f}-group-wrapper-lg`]:u==="large",[`${f}-group-wrapper-rtl`]:V==="rtl",[`${f}-group-wrapper-disabled`]:O},(0,c.Z)(`${f}-group-wrapper`,w,C),z)}})))})},70006:function(ze,ne,e){e.d(ne,{Z:function(){return re}});var a=e(17012),_=e(94184),P=e.n(_),G=e(87462),J=e(1413),d=e(4942),c=e(71002),m=e(97685),X=e(91),M=e(74902),ve=e(67656),me=e(87887),Ze=e(21770),h=e(67294),Pe=e(48555),Ae=e(8410),be=e(75164),Ie=` + min-height:0 !important; + max-height:none !important; + height:0 !important; + visibility:hidden !important; + overflow:hidden !important; + position:absolute !important; + z-index:-1000 !important; + top:0 !important; + right:0 !important; + pointer-events: none !important; +`,Oe=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],s={},n;function k(t){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o=t.getAttribute("id")||t.getAttribute("data-reactid")||t.getAttribute("name");if(z&&s[o])return s[o];var i=window.getComputedStyle(t),u=i.getPropertyValue("box-sizing")||i.getPropertyValue("-moz-box-sizing")||i.getPropertyValue("-webkit-box-sizing"),N=parseFloat(i.getPropertyValue("padding-bottom"))+parseFloat(i.getPropertyValue("padding-top")),O=parseFloat(i.getPropertyValue("border-bottom-width"))+parseFloat(i.getPropertyValue("border-top-width")),v=Oe.map(function(y){return"".concat(y,":").concat(i.getPropertyValue(y))}).join(";"),C={sizingStyle:v,paddingSize:N,borderSize:O,boxSizing:u};return z&&o&&(s[o]=C),C}function j(t){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;n||(n=document.createElement("textarea"),n.setAttribute("tab-index","-1"),n.setAttribute("aria-hidden","true"),document.body.appendChild(n)),t.getAttribute("wrap")?n.setAttribute("wrap",t.getAttribute("wrap")):n.removeAttribute("wrap");var u=k(t,z),N=u.paddingSize,O=u.borderSize,v=u.boxSizing,C=u.sizingStyle;n.setAttribute("style","".concat(C,";").concat(Ie)),n.value=t.value||t.placeholder||"";var y=void 0,w=void 0,T,A=n.scrollHeight;if(v==="border-box"?A+=O:v==="content-box"&&(A-=N),o!==null||i!==null){n.value=" ";var S=n.scrollHeight-N;o!==null&&(y=S*o,v==="border-box"&&(y=y+N+O),A=Math.max(y,A)),i!==null&&(w=S*i,v==="border-box"&&(w=w+N+O),T=A>w?"":"hidden",A=Math.min(w,A))}var r={height:A,overflowY:T,resize:"none"};return y&&(r.minHeight=y),w&&(r.maxHeight=w),r}var W=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Y=0,ce=1,ee=2,ge=h.forwardRef(function(t,z){var o=t,i=o.prefixCls,u=o.onPressEnter,N=o.defaultValue,O=o.value,v=o.autoSize,C=o.onResize,y=o.className,w=o.style,T=o.disabled,A=o.onChange,S=o.onInternalAutoSize,r=(0,X.Z)(o,W),B=(0,Ze.Z)(N,{value:O,postState:function(fe){return fe!=null?fe:""}}),I=(0,m.Z)(B,2),Q=I[0],q=I[1],D=function(fe){q(fe.target.value),A==null||A(fe)},F=h.useRef();h.useImperativeHandle(z,function(){return{textArea:F.current}});var ie=h.useMemo(function(){return v&&(0,c.Z)(v)==="object"?[v.minRows,v.maxRows]:[]},[v]),ue=(0,m.Z)(ie,2),H=ue[0],xe=ue[1],$=!!v,L=function(){try{if(document.activeElement===F.current){var fe=F.current,Ue=fe.selectionStart,We=fe.selectionEnd,Ne=fe.scrollTop;F.current.setSelectionRange(Ue,We),F.current.scrollTop=Ne}}catch(Qe){}},te=h.useState(ee),pe=(0,m.Z)(te,2),se=pe[0],Ee=pe[1],Ve=h.useState(),He=(0,m.Z)(Ve,2),we=He[0],Ke=He[1],Te=function(){Ee(Y)};(0,Ae.Z)(function(){$&&Te()},[O,H,xe,$]),(0,Ae.Z)(function(){if(se===Y)Ee(ce);else if(se===ce){var Se=j(F.current,!1,H,xe);Ee(ee),Ke(Se)}else L()},[se]);var $e=h.useRef(),je=function(){be.Z.cancel($e.current)},Me=function(fe){se===ee&&(C==null||C(fe),v&&(je(),$e.current=(0,be.Z)(function(){Te()})))};h.useEffect(function(){return je},[]);var Be=$?we:null,De=(0,J.Z)((0,J.Z)({},w),Be);return(se===Y||se===ce)&&(De.overflowY="hidden",De.overflowX="hidden"),h.createElement(Pe.Z,{onResize:Me,disabled:!(v||C)},h.createElement("textarea",(0,G.Z)({},r,{ref:F,style:De,className:P()(i,y,(0,d.Z)({},"".concat(i,"-disabled"),T)),disabled:T,value:Q,onChange:D})))}),le=ge,de=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function ae(t,z){return(0,M.Z)(t||"").slice(0,z).join("")}function he(t,z,o,i){var u=o;return t?u=ae(o,i):(0,M.Z)(z||"").lengthi&&(u=z),u}var oe=h.forwardRef(function(t,z){var o,i=t.defaultValue,u=t.value,N=t.onFocus,O=t.onBlur,v=t.onChange,C=t.allowClear,y=t.maxLength,w=t.onCompositionStart,T=t.onCompositionEnd,A=t.suffix,S=t.prefixCls,r=S===void 0?"rc-textarea":S,B=t.classes,I=t.showCount,Q=t.className,q=t.style,D=t.disabled,F=t.hidden,ie=t.classNames,ue=t.styles,H=t.onResize,xe=(0,X.Z)(t,de),$=(0,Ze.Z)(i,{value:u,defaultValue:i}),L=(0,m.Z)($,2),te=L[0],pe=L[1],se=(0,h.useRef)(null),Ee=h.useState(!1),Ve=(0,m.Z)(Ee,2),He=Ve[0],we=Ve[1],Ke=h.useState(!1),Te=(0,m.Z)(Ke,2),$e=Te[0],je=Te[1],Me=h.useRef(),Be=h.useRef(0),De=h.useState(null),Se=(0,m.Z)(De,2),fe=Se[0],Ue=Se[1],We=function(){var R;(R=se.current)===null||R===void 0||R.textArea.focus()};(0,h.useImperativeHandle)(z,function(){return{resizableTextArea:se.current,focus:We,blur:function(){var R;(R=se.current)===null||R===void 0||R.textArea.blur()}}}),(0,h.useEffect)(function(){we(function(ye){return!D&&ye})},[D]);var Ne=Number(y)>0,Qe=function(R){je(!0),Me.current=te,Be.current=R.currentTarget.selectionStart,w==null||w(R)},Xe=function(R){je(!1);var U=R.currentTarget.value;if(Ne){var Re,ot=Be.current>=y+1||Be.current===((Re=Me.current)===null||Re===void 0?void 0:Re.length);U=he(ot,Me.current,U,y)}U!==te&&(pe(U),(0,me.rJ)(R.currentTarget,R,v,U)),T==null||T(R)},Ye=function(R){var U=R.target.value;if(!$e&&Ne){var Re=R.target.selectionStart>=y+1||R.target.selectionStart===U.length||!R.target.selectionStart;U=he(Re,te,U,y)}pe(U),(0,me.rJ)(R.currentTarget,R,v,U)},ke=function(R){var U=xe.onPressEnter,Re=xe.onKeyDown;R.key==="Enter"&&U&&U(R),Re==null||Re(R)},qe=function(R){we(!0),N==null||N(R)},_e=function(R){we(!1),O==null||O(R)},et=function(R){var U;pe(""),We(),(0,me.rJ)((U=se.current)===null||U===void 0?void 0:U.textArea,R,v)},Fe=(0,me.D7)(te);!$e&&Ne&&u==null&&(Fe=ae(Fe,y));var Ge=A,Le;if(I){var Je=(0,M.Z)(Fe).length;(0,c.Z)(I)==="object"?Le=I.formatter({value:Fe,count:Je,maxLength:y}):Le="".concat(Je).concat(Ne?" / ".concat(y):""),Ge=h.createElement(h.Fragment,null,Ge,h.createElement("span",{className:P()("".concat(r,"-data-count"),ie==null?void 0:ie.count),style:ue==null?void 0:ue.count},Le))}var tt=function(R){var U;H==null||H(R),(U=se.current)!==null&&U!==void 0&&U.textArea.style.height&&Ue(!0)},nt=!xe.autoSize&&!I&&!C,at=h.createElement(ve.Q,{value:Fe,allowClear:C,handleReset:et,suffix:Ge,prefixCls:r,classes:{affixWrapper:P()(B==null?void 0:B.affixWrapper,(o={},(0,d.Z)(o,"".concat(r,"-show-count"),I),(0,d.Z)(o,"".concat(r,"-textarea-allow-clear"),C),o))},disabled:D,focused:He,className:Q,style:(0,J.Z)((0,J.Z)({},q),fe&&!nt?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Le=="string"?Le:void 0}},hidden:F,inputElement:h.createElement(le,(0,G.Z)({},xe,{onKeyDown:ke,onChange:Ye,onFocus:qe,onBlur:_e,onCompositionStart:Qe,onCompositionEnd:Xe,className:ie==null?void 0:ie.textarea,style:(0,J.Z)((0,J.Z)({},ue==null?void 0:ue.textarea),{},{resize:q==null?void 0:q.resize}),disabled:D,prefixCls:r,onResize:tt,ref:se}))});return at}),Ce=oe,l=Ce,Z=e(9708),b=e(53124),p=e(98866),g=e(98675),E=e(65223),K=e(82586),V=e(47673),x=function(t,z){var o={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&z.indexOf(i)<0&&(o[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,i=Object.getOwnPropertySymbols(t);u{const{prefixCls:o,bordered:i=!0,size:u,disabled:N,status:O,allowClear:v,showCount:C,classNames:y,rootClassName:w,className:T}=t,A=x(t,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:S,direction:r}=h.useContext(b.E_),B=(0,g.Z)(u),I=h.useContext(p.Z),Q=N!=null?N:I,{status:q,hasFeedback:D,feedbackIcon:F}=h.useContext(E.aM),ie=(0,Z.F)(q,O),ue=h.useRef(null);h.useImperativeHandle(z,()=>{var te;return{resizableTextArea:(te=ue.current)===null||te===void 0?void 0:te.resizableTextArea,focus:pe=>{var se,Ee;(0,K.n)((Ee=(se=ue.current)===null||se===void 0?void 0:se.resizableTextArea)===null||Ee===void 0?void 0:Ee.textArea,pe)},blur:()=>{var pe;return(pe=ue.current)===null||pe===void 0?void 0:pe.blur()}}});const H=S("input",o);let xe;typeof v=="object"&&(v!=null&&v.clearIcon)?xe=v:v&&(xe={clearIcon:h.createElement(a.Z,null)});const[$,L]=(0,V.ZP)(H);return $(h.createElement(l,Object.assign({},A,{disabled:Q,allowClear:xe,className:P()(T,w),classes:{affixWrapper:P()(`${H}-textarea-affix-wrapper`,{[`${H}-affix-wrapper-rtl`]:r==="rtl",[`${H}-affix-wrapper-borderless`]:!i,[`${H}-affix-wrapper-sm`]:B==="small",[`${H}-affix-wrapper-lg`]:B==="large",[`${H}-textarea-show-count`]:C},(0,Z.Z)(`${H}-affix-wrapper`,ie),L)},classNames:Object.assign(Object.assign({},y),{textarea:P()({[`${H}-borderless`]:!i,[`${H}-sm`]:B==="small",[`${H}-lg`]:B==="large"},(0,Z.Z)(H,ie),L,y==null?void 0:y.textarea)}),prefixCls:H,suffix:D&&h.createElement("span",{className:`${H}-textarea-suffix`},F),showCount:C,ref:ue})))})},72922:function(ze,ne,e){e.d(ne,{Z:function(){return _}});var a=e(67294);function _(P,G){const J=(0,a.useRef)([]),d=()=>{J.current.push(setTimeout(()=>{var c,m,X,M;!((c=P.current)===null||c===void 0)&&c.input&&((m=P.current)===null||m===void 0?void 0:m.input.getAttribute("type"))==="password"&&(!((X=P.current)===null||X===void 0)&&X.input.hasAttribute("value"))&&((M=P.current)===null||M===void 0||M.input.removeAttribute("value"))}))};return(0,a.useEffect)(()=>(G&&d(),()=>J.current.forEach(c=>{c&&clearTimeout(c)})),[]),d}},96365:function(ze,ne,e){e.d(ne,{Z:function(){return Ce}});var a=e(67294),_=e(94184),P=e.n(_),G=e(53124),J=e(65223),d=e(47673),m=l=>{const{getPrefixCls:Z,direction:b}=(0,a.useContext)(G.E_),{prefixCls:p,className:g}=l,E=Z("input-group",p),K=Z("input"),[V,x]=(0,d.ZP)(K),f=P()(E,{[`${E}-lg`]:l.size==="large",[`${E}-sm`]:l.size==="small",[`${E}-compact`]:l.compact,[`${E}-rtl`]:b==="rtl"},x,g),re=(0,a.useContext)(J.aM),t=(0,a.useMemo)(()=>Object.assign(Object.assign({},re),{isFormItemInput:!1}),[re]);return V(a.createElement("span",{className:f,style:l.style,onMouseEnter:l.onMouseEnter,onMouseLeave:l.onMouseLeave,onFocus:l.onFocus,onBlur:l.onBlur},a.createElement(J.aM.Provider,{value:t},l.children)))},X=e(82586),M=e(87462),ve=e(42003),me=e(93771),Ze=function(Z,b){return a.createElement(me.Z,(0,M.Z)({},Z,{ref:b,icon:ve.Z}))},h=a.forwardRef(Ze),Pe=e(1208),Ae=e(98423),be=e(42550),Ie=e(72922),Oe=function(l,Z){var b={};for(var p in l)Object.prototype.hasOwnProperty.call(l,p)&&Z.indexOf(p)<0&&(b[p]=l[p]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,p=Object.getOwnPropertySymbols(l);gl?a.createElement(Pe.Z,null):a.createElement(h,null),n={click:"onClick",hover:"onMouseOver"};var j=a.forwardRef((l,Z)=>{const{visibilityToggle:b=!0}=l,p=typeof b=="object"&&b.visible!==void 0,[g,E]=(0,a.useState)(()=>p?b.visible:!1),K=(0,a.useRef)(null);a.useEffect(()=>{p&&E(b.visible)},[p,b]);const V=(0,Ie.Z)(K),x=()=>{const{disabled:w}=l;w||(g&&V(),E(T=>{var A;const S=!T;return typeof b=="object"&&((A=b.onVisibleChange)===null||A===void 0||A.call(b,S)),S}))},f=w=>{const{action:T="click",iconRender:A=s}=l,S=n[T]||"",r=A(g),B={[S]:x,className:`${w}-icon`,key:"passwordIcon",onMouseDown:I=>{I.preventDefault()},onMouseUp:I=>{I.preventDefault()}};return a.cloneElement(a.isValidElement(r)?r:a.createElement("span",null,r),B)},{className:re,prefixCls:t,inputPrefixCls:z,size:o}=l,i=Oe(l,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:u}=a.useContext(G.E_),N=u("input",z),O=u("input-password",t),v=b&&f(O),C=P()(O,re,{[`${O}-${o}`]:!!o}),y=Object.assign(Object.assign({},(0,Ae.Z)(i,["suffix","iconRender","visibilityToggle"])),{type:g?"text":"password",className:C,prefixCls:N,suffix:v});return o&&(y.size=o),a.createElement(X.Z,Object.assign({ref:(0,be.sQ)(Z,K)},y))}),W=e(25783),Y=e(96159),ce=e(15867),ee=e(98675),ge=e(4173),le=function(l,Z){var b={};for(var p in l)Object.prototype.hasOwnProperty.call(l,p)&&Z.indexOf(p)<0&&(b[p]=l[p]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,p=Object.getOwnPropertySymbols(l);g{const{prefixCls:b,inputPrefixCls:p,className:g,size:E,suffix:K,enterButton:V=!1,addonAfter:x,loading:f,disabled:re,onSearch:t,onChange:z,onCompositionStart:o,onCompositionEnd:i}=l,u=le(l,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:N,direction:O}=a.useContext(G.E_),v=a.useRef(!1),C=N("input-search",b),y=N("input",p),{compactSize:w}=(0,ge.ri)(C,O),T=(0,ee.Z)($=>{var L;return(L=E!=null?E:w)!==null&&L!==void 0?L:$}),A=a.useRef(null),S=$=>{$&&$.target&&$.type==="click"&&t&&t($.target.value,$,{source:"clear"}),z&&z($)},r=$=>{var L;document.activeElement===((L=A.current)===null||L===void 0?void 0:L.input)&&$.preventDefault()},B=$=>{var L,te;t&&t((te=(L=A.current)===null||L===void 0?void 0:L.input)===null||te===void 0?void 0:te.value,$,{source:"input"})},I=$=>{v.current||f||B($)},Q=typeof V=="boolean"?a.createElement(W.Z,null):null,q=`${C}-button`;let D;const F=V||{},ie=F.type&&F.type.__ANT_BUTTON===!0;ie||F.type==="button"?D=(0,Y.Tm)(F,Object.assign({onMouseDown:r,onClick:$=>{var L,te;(te=(L=F==null?void 0:F.props)===null||L===void 0?void 0:L.onClick)===null||te===void 0||te.call(L,$),B($)},key:"enterButton"},ie?{className:q,size:T}:{})):D=a.createElement(ce.ZP,{className:q,type:V?"primary":void 0,size:T,disabled:re,key:"enterButton",onMouseDown:r,onClick:B,loading:f,icon:Q},V),x&&(D=[D,(0,Y.Tm)(x,{key:"addonAfter"})]);const ue=P()(C,{[`${C}-rtl`]:O==="rtl",[`${C}-${T}`]:!!T,[`${C}-with-button`]:!!V},g),H=$=>{v.current=!0,o==null||o($)},xe=$=>{v.current=!1,i==null||i($)};return a.createElement(X.Z,Object.assign({ref:(0,be.sQ)(A,Z),onPressEnter:I},u,{size:T,onCompositionStart:H,onCompositionEnd:xe,prefixCls:y,addonAfter:D,suffix:K,onChange:S,className:ue,disabled:re}))}),he=e(70006);const oe=X.Z;oe.Group=m,oe.Search=ae,oe.TextArea=he.Z,oe.Password=j;var Ce=oe},1208:function(ze,ne,e){var a=e(87462),_=e(67294),P=e(5717),G=e(93771),J=function(c,m){return _.createElement(G.Z,(0,a.Z)({},c,{ref:m,icon:P.Z}))};ne.Z=_.forwardRef(J)},67656:function(ze,ne,e){e.d(ne,{Q:function(){return M},Z:function(){return Oe}});var a=e(87462),_=e(1413),P=e(4942),G=e(71002),J=e(94184),d=e.n(J),c=e(67294),m=e(87887),X=function(n){var k,j,W=n.inputElement,Y=n.prefixCls,ce=n.prefix,ee=n.suffix,ge=n.addonBefore,le=n.addonAfter,de=n.className,ae=n.style,he=n.disabled,oe=n.readOnly,Ce=n.focused,l=n.triggerFocus,Z=n.allowClear,b=n.value,p=n.handleReset,g=n.hidden,E=n.classes,K=n.classNames,V=n.dataAttrs,x=n.styles,f=n.components,re=(f==null?void 0:f.affixWrapper)||"span",t=(f==null?void 0:f.groupWrapper)||"span",z=(f==null?void 0:f.wrapper)||"span",o=(f==null?void 0:f.groupAddon)||"span",i=(0,c.useRef)(null),u=function(I){var Q;(Q=i.current)!==null&&Q!==void 0&&Q.contains(I.target)&&(l==null||l())},N=function(){var I;if(!Z)return null;var Q=!he&&!oe&&b,q="".concat(Y,"-clear-icon"),D=(0,G.Z)(Z)==="object"&&Z!==null&&Z!==void 0&&Z.clearIcon?Z.clearIcon:"\u2716";return c.createElement("span",{onClick:p,onMouseDown:function(ie){return ie.preventDefault()},className:d()(q,(I={},(0,P.Z)(I,"".concat(q,"-hidden"),!Q),(0,P.Z)(I,"".concat(q,"-has-suffix"),!!ee),I)),role:"button",tabIndex:-1},D)},O=(0,c.cloneElement)(W,{value:b,hidden:g,className:d()((k=W.props)===null||k===void 0?void 0:k.className,!(0,m.X3)(n)&&!(0,m.He)(n)&&de)||null,style:(0,_.Z)((0,_.Z)({},(j=W.props)===null||j===void 0?void 0:j.style),!(0,m.X3)(n)&&!(0,m.He)(n)?ae:{})});if((0,m.X3)(n)){var v,C="".concat(Y,"-affix-wrapper"),y=d()(C,(v={},(0,P.Z)(v,"".concat(C,"-disabled"),he),(0,P.Z)(v,"".concat(C,"-focused"),Ce),(0,P.Z)(v,"".concat(C,"-readonly"),oe),(0,P.Z)(v,"".concat(C,"-input-with-clear-btn"),ee&&Z&&b),v),!(0,m.He)(n)&&de,E==null?void 0:E.affixWrapper,K==null?void 0:K.affixWrapper),w=(ee||Z)&&c.createElement("span",{className:d()("".concat(Y,"-suffix"),K==null?void 0:K.suffix),style:x==null?void 0:x.suffix},N(),ee);O=c.createElement(re,(0,a.Z)({className:y,style:(0,_.Z)((0,_.Z)({},(0,m.He)(n)?void 0:ae),x==null?void 0:x.affixWrapper),hidden:!(0,m.He)(n)&&g,onClick:u},V==null?void 0:V.affixWrapper,{ref:i}),ce&&c.createElement("span",{className:d()("".concat(Y,"-prefix"),K==null?void 0:K.prefix),style:x==null?void 0:x.prefix},ce),(0,c.cloneElement)(W,{value:b,hidden:null}),w)}if((0,m.He)(n)){var T="".concat(Y,"-group"),A="".concat(T,"-addon"),S=d()("".concat(Y,"-wrapper"),T,E==null?void 0:E.wrapper),r=d()("".concat(Y,"-group-wrapper"),de,E==null?void 0:E.group);return c.createElement(t,{className:r,style:ae,hidden:g},c.createElement(z,{className:S},ge&&c.createElement(o,{className:A},ge),(0,c.cloneElement)(O,{hidden:null}),le&&c.createElement(o,{className:A},le)))}return O},M=X,ve=e(74902),me=e(97685),Ze=e(91),h=e(21770),Pe=e(98423),Ae=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],be=(0,c.forwardRef)(function(s,n){var k=s.autoComplete,j=s.onChange,W=s.onFocus,Y=s.onBlur,ce=s.onPressEnter,ee=s.onKeyDown,ge=s.prefixCls,le=ge===void 0?"rc-input":ge,de=s.disabled,ae=s.htmlSize,he=s.className,oe=s.maxLength,Ce=s.suffix,l=s.showCount,Z=s.type,b=Z===void 0?"text":Z,p=s.classes,g=s.classNames,E=s.styles,K=(0,Ze.Z)(s,Ae),V=(0,h.Z)(s.defaultValue,{value:s.value}),x=(0,me.Z)(V,2),f=x[0],re=x[1],t=(0,c.useState)(!1),z=(0,me.Z)(t,2),o=z[0],i=z[1],u=(0,c.useRef)(null),N=function(r){u.current&&(0,m.nH)(u.current,r)};(0,c.useImperativeHandle)(n,function(){return{focus:N,blur:function(){var r;(r=u.current)===null||r===void 0||r.blur()},setSelectionRange:function(r,B,I){var Q;(Q=u.current)===null||Q===void 0||Q.setSelectionRange(r,B,I)},select:function(){var r;(r=u.current)===null||r===void 0||r.select()},input:u.current}}),(0,c.useEffect)(function(){i(function(S){return S&&de?!1:S})},[de]);var O=function(r){s.value===void 0&&re(r.target.value),u.current&&(0,m.rJ)(u.current,r,j)},v=function(r){ce&&r.key==="Enter"&&ce(r),ee==null||ee(r)},C=function(r){i(!0),W==null||W(r)},y=function(r){i(!1),Y==null||Y(r)},w=function(r){re(""),N(),u.current&&(0,m.rJ)(u.current,r,j)},T=function(){var r=(0,Pe.Z)(s,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return c.createElement("input",(0,a.Z)({autoComplete:k},r,{onChange:O,onFocus:C,onBlur:y,onKeyDown:v,className:d()(le,(0,P.Z)({},"".concat(le,"-disabled"),de),g==null?void 0:g.input),style:E==null?void 0:E.input,ref:u,size:ae,type:b}))},A=function(){var r=Number(oe)>0;if(Ce||l){var B=(0,m.D7)(f),I=(0,ve.Z)(B).length,Q=(0,G.Z)(l)==="object"?l.formatter({value:B,count:I,maxLength:oe}):"".concat(I).concat(r?" / ".concat(oe):"");return c.createElement(c.Fragment,null,!!l&&c.createElement("span",{className:d()("".concat(le,"-show-count-suffix"),(0,P.Z)({},"".concat(le,"-show-count-has-suffix"),!!Ce),g==null?void 0:g.count),style:(0,_.Z)({},E==null?void 0:E.count)},Q),Ce)}return null};return c.createElement(M,(0,a.Z)({},K,{prefixCls:le,className:he,inputElement:T(),handleReset:w,value:(0,m.D7)(f),focused:o,triggerFocus:N,suffix:A(),disabled:de,classes:p,classNames:g,styles:E}))}),Ie=be,Oe=Ie},87887:function(ze,ne,e){e.d(ne,{D7:function(){return J},He:function(){return a},X3:function(){return _},nH:function(){return G},rJ:function(){return P}});function a(d){return!!(d.addonBefore||d.addonAfter)}function _(d){return!!(d.prefix||d.suffix||d.allowClear)}function P(d,c,m,X){if(m){var M=c;if(c.type==="click"){var ve=d.cloneNode(!0);M=Object.create(c,{target:{value:ve},currentTarget:{value:ve}}),ve.value="",m(M);return}if(X!==void 0){M=Object.create(c,{target:{value:d},currentTarget:{value:d}}),d.value=X,m(M);return}m(M)}}function G(d,c){if(d){d.focus(c);var m=c||{},X=m.cursor;if(X){var M=d.value.length;switch(X){case"start":d.setSelectionRange(0,0);break;case"end":d.setSelectionRange(M,M);break;default:d.setSelectionRange(0,M)}}}}function J(d){return typeof d=="undefined"||d===null?"":String(d)}}}]); diff --git a/6390.4a729fd0.async.js b/6390.4a729fd0.async.js new file mode 100644 index 0000000000..5c693fa026 --- /dev/null +++ b/6390.4a729fd0.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[6390],{96390:function(c,n,t){t.r(n),t.d(n,{default:function(){return E}});var d=t(67294),u=t(88275),e=t(85893);function E(){var o=(0,u.useOutletContext)();return(0,e.jsx)(u.Outlet,{context:o})}}}]); diff --git a/6395.395c75b7.async.js b/6395.395c75b7.async.js new file mode 100644 index 0000000000..79dd89a69d --- /dev/null +++ b/6395.395c75b7.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[6395],{36395:function(a,c,o){o.r(c),o.d(c,{http:function(){return h}});function t(n,r){return n.skipToEnd(),r.cur=u,"error"}function f(n,r){return n.match(/^HTTP\/\d\.\d/)?(r.cur=l,"keyword"):n.match(/^[A-Z]+/)&&/[ \t]/.test(n.peek())?(r.cur=k,"keyword"):t(n,r)}function l(n,r){var e=n.match(/^\d+/);if(!e)return t(n,r);r.cur=s;var d=Number(e[0]);return d>=100&&d<400?"atom":"error"}function s(n,r){return n.skipToEnd(),r.cur=u,null}function k(n,r){return n.eatWhile(/\S/),r.cur=p,"string.special"}function p(n,r){return n.match(/^HTTP\/\d\.\d$/)?(r.cur=u,"keyword"):t(n,r)}function u(n){return n.sol()&&!n.eat(/[ \t]/)?n.match(/^.*?:/)?"atom":(n.skipToEnd(),"error"):(n.skipToEnd(),"string")}function i(n){return n.skipToEnd(),null}const h={name:"http",token:function(n,r){var e=r.cur;return e!=u&&e!=i&&n.eatSpace()?null:e(n,r)},blankLine:function(n){n.cur=i},startState:function(){return{cur:f}}}}}]); diff --git a/6443.4bf08463.async.js b/6443.4bf08463.async.js new file mode 100644 index 0000000000..1cb3f95e00 --- /dev/null +++ b/6443.4bf08463.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[6443],{96443:function(f,i,l){l.r(i),l.d(i,{toml:function(){return r}});const r={name:"toml",startState:function(){return{inString:!1,stringType:"",lhs:!0,inArray:0}},token:function(n,e){if(!e.inString&&(n.peek()=='"'||n.peek()=="'")&&(e.stringType=n.peek(),n.next(),e.inString=!0),n.sol()&&e.inArray===0&&(e.lhs=!0),e.inString){for(;e.inString&&!n.eol();)n.peek()===e.stringType?(n.next(),e.inString=!1):n.peek()==="\\"?(n.next(),n.next()):n.match(/^.[^\\\"\']*/);return e.lhs?"property":"string"}else{if(e.inArray&&n.peek()==="]")return n.next(),e.inArray--,"bracket";if(e.lhs&&n.peek()==="["&&n.skipTo("]"))return n.next(),n.peek()==="]"&&n.next(),"atom";if(n.peek()==="#")return n.skipToEnd(),"comment";if(n.eatSpace())return null;if(e.lhs&&n.eatWhile(function(u){return u!="="&&u!=" "}))return"property";if(e.lhs&&n.peek()==="=")return n.next(),e.lhs=!1,null;if(!e.lhs&&n.match(/^\d\d\d\d[\d\-\:\.T]*Z/))return"atom";if(!e.lhs&&(n.match("true")||n.match("false")))return"atom";if(!e.lhs&&n.peek()==="[")return e.inArray++,n.next(),"bracket";if(!e.lhs&&n.match(/^\-?\d+(?:\.\d+)?/))return"number";n.eatSpace()||n.next()}return null},languageData:{commentTokens:{line:"#"}}}}}]); diff --git a/6471.c64b9efd.async.js b/6471.c64b9efd.async.js new file mode 100644 index 0000000000..8b1461a16c --- /dev/null +++ b/6471.c64b9efd.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[6471],{36471:function(I,p,b){b.r(p),b.d(p,{tiki:function(){return C}});function c(e,t,n){return function(r,k){for(;!r.eol();){if(r.match(t)){k.tokenize=o;break}r.next()}return n&&(k.tokenize=n),e}}function f(e){return function(t,n){for(;!t.eol();)t.next();return n.tokenize=o,e}}function o(e,t){function n(z){return t.tokenize=z,z(e,t)}var r=e.sol(),k=e.next();switch(k){case"{":return e.eat("/"),e.eatSpace(),e.eatWhile(/[^\s\u00a0=\"\'\/?(}]/),t.tokenize=g,"tag";case"_":if(e.eat("_"))return n(c("strong","__",o));break;case"'":if(e.eat("'"))return n(c("em","''",o));break;case"(":if(e.eat("("))return n(c("link","))",o));break;case"[":return n(c("url","]",o));case"|":if(e.eat("|"))return n(c("comment","||"));break;case"-":if(e.eat("="))return n(c("header string","=-",o));if(e.eat("-"))return n(c("error tw-deleted","--",o));break;case"=":if(e.match("=="))return n(c("tw-underline","===",o));break;case":":if(e.eat(":"))return n(c("comment","::"));break;case"^":return n(c("tw-box","^"));case"~":if(e.match("np~"))return n(c("meta","~/np~"));break}if(r)switch(k){case"!":return e.match("!!!!!")||e.match("!!!!")||e.match("!!!")||e.match("!!"),n(f("header string"));case"*":case"#":case"+":return n(f("tw-listitem bracket"))}return null}var s,d;function g(e,t){var n=e.next(),r=e.peek();return n=="}"?(t.tokenize=o,"tag"):n=="("||n==")"?"bracket":n=="="?(d="equals",r==">"&&(e.next(),r=e.peek()),/[\'\"]/.test(r)||(t.tokenize=N()),"operator"):/[\'\"]/.test(n)?(t.tokenize=L(n),t.tokenize(e,t)):(e.eatWhile(/[^\s\u00a0=\"\'\/?]/),"keyword")}function L(e){return function(t,n){for(;!t.eol();)if(t.next()==e){n.tokenize=g;break}return"string"}}function N(){return function(e,t){for(;!e.eol();){var n=e.next(),r=e.peek();if(n==" "||n==","||/[ )}]/.test(r)){t.tokenize=g;break}}return"string"}}var i,l;function a(){for(var e=arguments.length-1;e>=0;e--)i.cc.push(arguments[e])}function u(){return a.apply(null,arguments),!0}function x(e,t){var n=i.context&&i.context.noIndent;i.context={prev:i.context,pluginName:e,indent:i.indented,startOfLine:t,noIndent:n}}function v(){i.context&&(i.context=i.context.prev)}function P(e){if(e=="openPlugin")return i.pluginName=s,u(h,O(i.startOfLine));if(e=="closePlugin"){var t=!1;return i.context?(t=i.context.pluginName!=s,v()):t=!0,t&&(l="error"),u(S(t))}else return e=="string"&&((!i.context||i.context.name!="!cdata")&&x("!cdata"),i.tokenize==o&&v()),u()}function O(e){return function(t){return t=="selfclosePlugin"||t=="endPlugin"||t=="endPlugin"&&x(i.pluginName,e),u()}}function S(e){return function(t){return e&&(l="error"),t=="endPlugin"?u():a()}}function h(e){return e=="keyword"?(l="attribute",u(h)):e=="equals"?u(_,h):a()}function _(e){return e=="keyword"?(l="string",u()):e=="string"?u(w):a()}function w(e){return e=="string"?u(w):a()}const C={name:"tiki",startState:function(){return{tokenize:o,cc:[],indented:0,startOfLine:!0,pluginName:null,context:null}},token:function(e,t){if(e.sol()&&(t.startOfLine=!0,t.indented=e.indentation()),e.eatSpace())return null;l=d=s=null;var n=t.tokenize(e,t);if((n||d)&&n!="comment")for(i=t;;){var r=t.cc.pop()||P;if(r(d||n))break}return t.startOfLine=!1,l||n},indent:function(e,t,n){var r=e.context;if(r&&r.noIndent)return 0;for(r&&/^{\//.test(t)&&(r=r.prev);r&&!r.startOfLine;)r=r.prev;return r?r.indent+n.unit:0}}}}]); diff --git a/6665.bcc6b022.async.js b/6665.bcc6b022.async.js new file mode 100644 index 0000000000..87c3b80ecb --- /dev/null +++ b/6665.bcc6b022.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[6665],{66665:function(D,f,d){d.r(f),d.d(f,{ttcn:function(){return B}});function o(e){for(var t={},n=e.split(" "),r=0;r!\/]/,l;function _(e,t){var n=e.next();if(n=='"'||n=="'")return t.tokenize=$(n),t.tokenize(e,t);if(/[\[\]{}\(\),;\\:\?\.]/.test(n))return l=n,"punctuation";if(n=="#")return e.skipToEnd(),"atom";if(n=="%")return e.eatWhile(/\b/),"atom";if(/\d/.test(n))return e.eatWhile(/[\w\.]/),"number";if(n=="/"){if(e.eat("*"))return t.tokenize=b,b(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(h.test(n))return n=="@"&&(e.match("try")||e.match("catch")||e.match("lazy"))?"keyword":(e.eatWhile(h),"operator");e.eatWhile(/[\w\$_\xa1-\uffff]/);var r=e.current();return g.propertyIsEnumerable(r)?"keyword":x.propertyIsEnumerable(r)?"builtin":k.propertyIsEnumerable(r)||w.propertyIsEnumerable(r)||C.propertyIsEnumerable(r)||O.propertyIsEnumerable(r)||E.propertyIsEnumerable(r)||I.propertyIsEnumerable(r)?"def":L.propertyIsEnumerable(r)||z.propertyIsEnumerable(r)||S.propertyIsEnumerable(r)?"string":M.propertyIsEnumerable(r)?"typeName.standard":W.propertyIsEnumerable(r)?"modifier":T.propertyIsEnumerable(r)?"atom":"variable"}function $(e){return function(t,n){for(var r=!1,c,v=!1;(c=t.next())!=null;){if(c==e&&!r){var s=t.peek();s&&(s=s.toLowerCase(),(s=="b"||s=="h"||s=="o")&&t.next()),v=!0;break}r=!r&&c=="\\"}return(v||!(r||N))&&(n.tokenize=null),"string"}}function b(e,t){for(var n=!1,r;r=e.next();){if(r=="/"&&n){t.tokenize=null;break}n=r=="*"}return"comment"}function y(e,t,n,r,c){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=c}function p(e,t,n){var r=e.indented;return e.context&&e.context.type=="statement"&&(r=e.context.indented),e.context=new y(r,t,n,null,e.context)}function u(e){var t=e.context.type;return(t==")"||t=="]"||t=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}const B={name:"ttcn",startState:function(){return{tokenize:null,context:new y(0,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(n.align==null&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;l=null;var r=(t.tokenize||_)(e,t);if(r=="comment")return r;if(n.align==null&&(n.align=!0),(l==";"||l==":"||l==",")&&n.type=="statement")u(t);else if(l=="{")p(t,e.column(),"}");else if(l=="[")p(t,e.column(),"]");else if(l=="(")p(t,e.column(),")");else if(l=="}"){for(;n.type=="statement";)n=u(t);for(n.type=="}"&&(n=u(t));n.type=="statement";)n=u(t)}else l==n.type?u(t):P&&((n.type=="}"||n.type=="top")&&l!=";"||n.type=="statement"&&l=="newstatement")&&p(t,e.column(),"statement");return t.startOfLine=!1,r},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},autocomplete:m}}}}]); diff --git a/6692.5a4da5c9.async.js b/6692.5a4da5c9.async.js new file mode 100644 index 0000000000..4700d90ff9 --- /dev/null +++ b/6692.5a4da5c9.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[6692],{26692:function(T,i,l){l.r(i),l.d(i,{webIDL:function(){return O}});function n(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var o=["Clamp","Constructor","EnforceRange","Exposed","ImplicitThis","Global","PrimaryGlobal","LegacyArrayClass","LegacyUnenumerableNamedProperties","LenientThis","NamedConstructor","NewObject","NoInterfaceObject","OverrideBuiltins","PutForwards","Replaceable","SameObject","TreatNonObjectAsNull","TreatNullAs","EmptyString","Unforgeable","Unscopeable"],d=n(o),c=["unsigned","short","long","unrestricted","float","double","boolean","byte","octet","Promise","ArrayBuffer","DataView","Int8Array","Int16Array","Int32Array","Uint8Array","Uint16Array","Uint32Array","Uint8ClampedArray","Float32Array","Float64Array","ByteString","DOMString","USVString","sequence","object","RegExp","Error","DOMException","FrozenArray","any","void"],s=n(c),f=["attribute","callback","const","deleter","dictionary","enum","getter","implements","inherit","interface","iterable","legacycaller","maplike","partial","required","serializer","setlike","setter","static","stringifier","typedef","optional","readonly","or"],y=n(f),u=["true","false","Infinity","NaN","null"],b=n(u),p=["callback","dictionary","enum","interface"],v=n(p),A=["typedef"],h=n(A),g=/^[:<=>?]/,D=/^-?([1-9][0-9]*|0[Xx][0-9A-Fa-f]+|0[0-7]*)/,k=/^-?(([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([Ee][+-]?[0-9]+)?|[0-9]+[Ee][+-]?[0-9]+)/,m=/^_?[A-Za-z][0-9A-Z_a-z-]*/,w=/^_?[A-Za-z][0-9A-Z_a-z-]*(?=\s*;)/,C=/^"[^"]*"/,E=/^\/\*.*?\*\//,N=/^\/\*.*/,S=/^.*?\*\//;function I(e,r){if(e.eatSpace())return null;if(r.inComment)return e.match(S)?(r.inComment=!1,"comment"):(e.skipToEnd(),"comment");if(e.match("//"))return e.skipToEnd(),"comment";if(e.match(E))return"comment";if(e.match(N))return r.inComment=!0,"comment";if(e.match(/^-?[0-9\.]/,!1)&&(e.match(D)||e.match(k)))return"number";if(e.match(C))return"string";if(r.startDef&&e.match(m))return"def";if(r.endDef&&e.match(w))return r.endDef=!1,"def";if(e.match(y))return"keyword";if(e.match(s)){var t=r.lastToken,a=(e.match(/^\s*(.+?)\b/,!1)||[])[1];return t===":"||t==="implements"||a==="implements"||a==="="?"builtin":"type"}return e.match(d)?"builtin":e.match(b)?"atom":e.match(m)?"variable":e.match(g)?"operator":(e.next(),null)}const O={name:"webidl",startState:function(){return{inComment:!1,lastToken:"",startDef:!1,endDef:!1}},token:function(e,r){var t=I(e,r);if(t){var a=e.current();r.lastToken=a,t==="keyword"?(r.startDef=v.test(a),r.endDef=r.endDef||h.test(a)):r.startDef=!1}return t},languageData:{autocomplete:o.concat(c).concat(f).concat(u)}}}}]); diff --git a/673.342322df.async.js b/673.342322df.async.js new file mode 100644 index 0000000000..ab44def508 --- /dev/null +++ b/673.342322df.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[673],{20673:function(m,a,s){s.r(a),s.d(a,{cypher:function(){return y}});var o=function(n){return new RegExp("^(?:"+n.join("|")+")$","i")},f=function(n){i=null;var e=n.next();if(e==='"')return n.match(/^.*?"/),"string";if(e==="'")return n.match(/^.*?'/),"string";if(/[{}\(\),\.;\[\]]/.test(e))return i=e,"punctuation";if(e==="/"&&n.eat("/"))return n.skipToEnd(),"comment";if(u.test(e))return n.eatWhile(u),null;if(n.eatWhile(/[_\w\d]/),n.eat(":"))return n.eatWhile(/[\w\d_\-]/),"atom";var t=n.current();return h.test(t)?"builtin":x.test(t)?"def":g.test(t)||v.test(t)?"keyword":"variable"},l=function(n,e,t){return n.context={prev:n.context,indent:n.indent,col:t,type:e}},c=function(n){return n.indent=n.context.indent,n.context=n.context.prev},i,h=o(["abs","acos","allShortestPaths","asin","atan","atan2","avg","ceil","coalesce","collect","cos","cot","count","degrees","e","endnode","exp","extract","filter","floor","haversin","head","id","keys","labels","last","left","length","log","log10","lower","ltrim","max","min","node","nodes","percentileCont","percentileDisc","pi","radians","rand","range","reduce","rel","relationship","relationships","replace","reverse","right","round","rtrim","shortestPath","sign","sin","size","split","sqrt","startnode","stdev","stdevp","str","substring","sum","tail","tan","timestamp","toFloat","toInt","toString","trim","type","upper"]),x=o(["all","and","any","contains","exists","has","in","none","not","or","single","xor"]),g=o(["as","asc","ascending","assert","by","case","commit","constraint","create","csv","cypher","delete","desc","descending","detach","distinct","drop","else","end","ends","explain","false","fieldterminator","foreach","from","headers","in","index","is","join","limit","load","match","merge","null","on","optional","order","periodic","profile","remove","return","scan","set","skip","start","starts","then","true","union","unique","unwind","using","when","where","with","call","yield"]),v=o(["access","active","assign","all","alter","as","catalog","change","copy","create","constraint","constraints","current","database","databases","dbms","default","deny","drop","element","elements","exists","from","grant","graph","graphs","if","index","indexes","label","labels","management","match","name","names","new","node","nodes","not","of","on","or","password","populated","privileges","property","read","relationship","relationships","remove","replace","required","revoke","role","roles","set","show","start","status","stop","suspended","to","traverse","type","types","user","users","with","write"]),u=/[*+\-<>=&|~%^]/;const y={name:"cypher",startState:function(){return{tokenize:f,context:null,indent:0,col:0}},token:function(n,e){if(n.sol()&&(e.context&&e.context.align==null&&(e.context.align=!1),e.indent=n.indentation()),n.eatSpace())return null;var t=e.tokenize(n,e);if(t!=="comment"&&e.context&&e.context.align==null&&e.context.type!=="pattern"&&(e.context.align=!0),i==="(")l(e,")",n.column());else if(i==="[")l(e,"]",n.column());else if(i==="{")l(e,"}",n.column());else if(/[\]\}\)]/.test(i)){for(;e.context&&e.context.type==="pattern";)c(e);e.context&&i===e.context.type&&c(e)}else i==="."&&e.context&&e.context.type==="pattern"?c(e):/atom|string|variable/.test(t)&&e.context&&(/[\}\]]/.test(e.context.type)?l(e,"pattern",n.column()):e.context.type==="pattern"&&!e.context.align&&(e.context.align=!0,e.context.col=n.column()));return t},indent:function(n,e,t){var d=e&&e.charAt(0),r=n.context;if(/[\]\}]/.test(d))for(;r&&r.type==="pattern";)r=r.prev;var p=r&&d===r.type;return r?r.type==="keywords"?null:r.align?r.col+(p?0:1):r.indent+(p?0:t.unit):0}}}}]); diff --git a/6732.ef34d743.async.js b/6732.ef34d743.async.js new file mode 100644 index 0000000000..9a4c2e97d5 --- /dev/null +++ b/6732.ef34d743.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[6732],{86732:function(B,h,d){d.r(h),d.d(h,{stex:function(){return p},stexMath:function(){return y}});function g(S){function k(t,n){t.cmdState.push(n)}function s(t){return t.cmdState.length>0?t.cmdState[t.cmdState.length-1]:null}function w(t){var n=t.cmdState.pop();n&&n.closeBracket()}function v(t){for(var n=t.cmdState,e=n.length-1;e>=0;e--){var a=n[e];if(a.name!="DEFAULT")return a}return{styleIdentifier:function(){return null}}}function i(t,n,e){return function(){this.name=t,this.bracketNo=0,this.style=n,this.styles=e,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var r={};r.importmodule=i("importmodule","tag",["string","builtin"]),r.documentclass=i("documentclass","tag",["","atom"]),r.usepackage=i("usepackage","tag",["atom"]),r.begin=i("begin","tag",["atom"]),r.end=i("end","tag",["atom"]),r.label=i("label","tag",["atom"]),r.ref=i("ref","tag",["atom"]),r.eqref=i("eqref","tag",["atom"]),r.cite=i("cite","tag",["atom"]),r.bibitem=i("bibitem","tag",["atom"]),r.Bibitem=i("Bibitem","tag",["atom"]),r.RBibitem=i("RBibitem","tag",["atom"]),r.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function u(t,n){t.f=n}function l(t,n){var e;if(t.match(/^\\[a-zA-Z@\xc0-\u1fff\u2060-\uffff]+/)){var a=t.current().slice(1);return e=r.hasOwnProperty(a)?r[a]:r.DEFAULT,e=new e,k(n,e),u(n,b),e.style}if(t.match(/^\\[$&%#{}_]/)||t.match(/^\\[,;!\/\\]/))return"tag";if(t.match("\\["))return u(n,function(c,m){return o(c,m,"\\]")}),"keyword";if(t.match("\\("))return u(n,function(c,m){return o(c,m,"\\)")}),"keyword";if(t.match("$$"))return u(n,function(c,m){return o(c,m,"$$")}),"keyword";if(t.match("$"))return u(n,function(c,m){return o(c,m,"$")}),"keyword";var f=t.next();if(f=="%")return t.skipToEnd(),"comment";if(f=="}"||f=="]"){if(e=s(n),e)e.closeBracket(f),u(n,b);else return"error";return"bracket"}else return f=="{"||f=="["?(e=r.DEFAULT,e=new e,k(n,e),"bracket"):/\d/.test(f)?(t.eatWhile(/[\w.%]/),"atom"):(t.eatWhile(/[\w\-_]/),e=v(n),e.name=="begin"&&(e.argument=t.current()),e.styleIdentifier())}function o(t,n,e){if(t.eatSpace())return null;if(e&&t.match(e))return u(n,l),"keyword";if(t.match(/^\\[a-zA-Z@]+/))return"tag";if(t.match(/^[a-zA-Z]+/))return"variableName.special";if(t.match(/^\\[$&%#{}_]/)||t.match(/^\\[,;!\/]/)||t.match(/^[\^_&]/))return"tag";if(t.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(t.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var a=t.next();return a=="{"||a=="}"||a=="["||a=="]"||a=="("||a==")"?"bracket":a=="%"?(t.skipToEnd(),"comment"):"error"}function b(t,n){var e=t.peek(),a;return e=="{"||e=="["?(a=s(n),a.openBracket(e),t.eat(e),u(n,l),"bracket"):/[ \t\r]/.test(e)?(t.eat(e),null):(u(n,l),w(n),l(t,n))}return{name:"stex",startState:function(){var t=S?function(n,e){return o(n,e)}:l;return{cmdState:[],f:t}},copyState:function(t){return{cmdState:t.cmdState.slice(),f:t.f}},token:function(t,n){return n.f(t,n)},blankLine:function(t){t.f=l,t.cmdState.length=0},languageData:{commentTokens:{line:"%"}}}}const p=g(!1),y=g(!0)}}]); diff --git a/6991.28f9561b.async.js b/6991.28f9561b.async.js new file mode 100644 index 0000000000..e6de34b648 --- /dev/null +++ b/6991.28f9561b.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[6991],{76991:function(s,o,k){k.r(o),k.d(o,{dtd:function(){return d}});var u;function r(e,n){return u=n,e}function t(e,n){var l=e.next();if(l=="<"&&e.eat("!")){if(e.eatWhile(/[\-]/))return n.tokenize=f,f(e,n);if(e.eatWhile(/[\w]/))return r("keyword","doindent")}else{if(l=="<"&&e.eat("?"))return n.tokenize=h("meta","?>"),r("meta",l);if(l=="#"&&e.eatWhile(/[\w]/))return r("atom","tag");if(l=="|")return r("keyword","separator");if(l.match(/[\(\)\[\]\-\.,\+\?>]/))return r(null,l);if(l.match(/[\[\]]/))return r("rule",l);if(l=='"'||l=="'")return n.tokenize=a(l),n.tokenize(e,n);if(e.eatWhile(/[a-zA-Z\?\+\d]/)){var i=e.current();return i.substr(i.length-1,i.length).match(/\?|\+/)!==null&&e.backUp(1),r("tag","tag")}else return l=="%"||l=="*"?r("number","number"):(e.eatWhile(/[\w\\\-_%.{,]/),r(null,null))}}function f(e,n){for(var l=0,i;(i=e.next())!=null;){if(l>=2&&i==">"){n.tokenize=t;break}l=i=="-"?l+1:0}return r("comment","comment")}function a(e){return function(n,l){for(var i=!1,c;(c=n.next())!=null;){if(c==e&&!i){l.tokenize=t;break}i=!i&&c=="\\"}return r("string","tag")}}function h(e,n){return function(l,i){for(;!l.eol();){if(l.match(n)){i.tokenize=t;break}l.next()}return e}}const d={name:"dtd",startState:function(){return{tokenize:t,baseIndent:0,stack:[]}},token:function(e,n){if(e.eatSpace())return null;var l=n.tokenize(e,n),i=n.stack[n.stack.length-1];return e.current()=="["||u==="doindent"||u=="["?n.stack.push("rule"):u==="endtag"?n.stack[n.stack.length-1]="endtag":e.current()=="]"||u=="]"||u==">"&&i=="rule"?n.stack.pop():u=="["&&n.stack.push("["),l},indent:function(e,n,l){var i=e.stack.length;return n.charAt(0)==="]"?i--:n.substr(n.length-1,n.length)===">"&&(n.substr(0,1)==="<"||u=="doindent"&&n.length>1||(u=="doindent"?i--:u==">"&&n.length>1||u=="tag"&&n!==">"||(u=="tag"&&e.stack[e.stack.length-1]=="rule"?i--:u=="tag"?i++:n===">"&&e.stack[e.stack.length-1]=="rule"&&u===">"?i--:n===">"&&e.stack[e.stack.length-1]=="rule"||(n.substr(0,1)!=="<"&&n.substr(0,1)===">"?i=i-1:n===">"||(i=i-1)))),(u==null||u=="]")&&i--),e.baseIndent+i*l.unit},languageData:{indentOnInput:/^\s*[\]>]$/}}}}]); diff --git a/7001.e07fe66a.async.js b/7001.e07fe66a.async.js new file mode 100644 index 0000000000..f05c6fd15f --- /dev/null +++ b/7001.e07fe66a.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[7001],{87001:function(c,k,s){s.r(k),s.d(k,{factor:function(){return a}});var l=s(44125);const a=(0,l.Q)({start:[{regex:/#?!.*/,token:"comment"},{regex:/"""/,token:"string",next:"string3"},{regex:/(STRING:)(\s)/,token:["keyword",null],next:"string2"},{regex:/\S*?"/,token:"string",next:"string"},{regex:/(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\-?\d+.?\d*)(?=\s)/,token:"number"},{regex:/((?:GENERIC)|\:?\:)(\s+)(\S+)(\s+)(\()/,token:["keyword",null,"def",null,"bracket"],next:"stack"},{regex:/(M\:)(\s+)(\S+)(\s+)(\S+)/,token:["keyword",null,"def",null,"tag"]},{regex:/USING\:/,token:"keyword",next:"vocabulary"},{regex:/(USE\:|IN\:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"tag"]},{regex:/(\S+\:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"def"]},{regex:/(?:;|\\|t|f|if|loop|while|until|do|PRIVATE>|\.\*\?]+(?=\s|$)/,token:"builtin"},{regex:/[\)><]+\S+(?=\s|$)/,token:"builtin"},{regex:/(?:[\+\-\=\/\*<>])(?=\s|$)/,token:"keyword"},{regex:/\S+/,token:"variable"},{regex:/\s+|./,token:null}],vocabulary:[{regex:/;/,token:"keyword",next:"start"},{regex:/\S+/,token:"tag"},{regex:/\s+|./,token:null}],string:[{regex:/(?:[^\\]|\\.)*?"/,token:"string",next:"start"},{regex:/.*/,token:"string"}],string2:[{regex:/^;/,token:"keyword",next:"start"},{regex:/.*/,token:"string"}],string3:[{regex:/(?:[^\\]|\\.)*?"""/,token:"string",next:"start"},{regex:/.*/,token:"string"}],stack:[{regex:/\)/,token:"bracket",next:"start"},{regex:/--/,token:"bracket"},{regex:/\S+/,token:"meta"},{regex:/\s+|./,token:null}],languageData:{name:"factor",dontIndentStates:["start","vocabulary","string","string3","stack"],commentTokens:{line:"!"}}})},44125:function(c,k,s){s.d(k,{Q:function(){return l}});function l(n){a(n,"start");var t={},e=n.languageData||{},d=!1;for(var u in n)if(u!=e&&n.hasOwnProperty(u))for(var f=t[u]=[],o=n[u],r=0;r2&&o.token&&typeof o.token!="string"){e.pending=[];for(var g=2;g-1)return null;var u=e.indent.length-1,f=n[e.state];n:for(;;){for(var o=0;o~@\^\&\*\)\[\]'\?,\|])).*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+/,!0,!1)||e.match(/_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)?"variableName.special":e.match(/\\\[[a-zA-Z\$][a-zA-Z0-9\$]*\]/,!0,!1)?"character":e.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":e.match(/(?:#[a-zA-Z\$][a-zA-Z0-9\$]*|#+[0-9]?)/,!0,!1)?"variableName.constant":e.match($,!0,!1)?"keyword":e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%)/,!0,!1)?"operator":(e.next(),"error"))}function h(e,a){for(var n,r=!1,t=!1;(n=e.next())!=null;){if(n==='"'&&!t){r=!0;break}t=!t&&n==="\\"}return r&&!t&&(a.tokenize=u),"string"}function v(e,a){for(var n,r;a.commentLevel>0&&(r=e.next())!=null;)n==="("&&r==="*"&&a.commentLevel++,n==="*"&&r===")"&&a.commentLevel--,n=r;return a.commentLevel<=0&&(a.tokenize=u),"comment"}const k={name:"mathematica",startState:function(){return{tokenize:u,commentLevel:0}},token:function(e,a){return e.eatSpace()?null:a.tokenize(e,a)},languageData:{commentTokens:{block:{open:"(*",close:"*)"}}}}}}]); diff --git a/7224.f60a04d6.async.js b/7224.f60a04d6.async.js new file mode 100644 index 0000000000..02169d26c6 --- /dev/null +++ b/7224.f60a04d6.async.js @@ -0,0 +1,109 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[7224],{40473:function(en,ye,r){r.d(ye,{Z:function(){return Q}});var c=r(4942),h=r(1413),m=r(91),se=r(48171),U=r(27833),Y=r(51812),k=function(o){var d=!1;return(typeof o=="string"&&o.startsWith("date")&&!o.endsWith("Range")||o==="select"||o==="time")&&(d=!0),d},J=r(1414),M=r(94740),te=r(97435),R=r(67294),ne=r(71002),xe=r(97685),oe=r(21770),Ce=r(27484),Se=r.n(Ce),Me=function(o,d){return typeof d=="function"?d(Se()(o)):Se()(o).format(d)},Be=function(o,d){var w=Array.isArray(o)?o:[],v=(0,xe.Z)(w,2),I=v[0],Z=v[1],A,$;Array.isArray(d)?(A=d[0],$=d[1]):(A=d,$=d);var F=I?Me(I,A):"",p=Z?Me(Z,$):"",y=F&&p?"".concat(F," ~ ").concat(p):"";return y},q=r(23312),De=r(55241),Re=r(10915),fe=r(15867),u=r(94184),z=r.n(u),_=r(98082),N=function(o){return(0,c.Z)({},o.componentCls,{display:"flex",justifyContent:"space-between",paddingBlock:8,paddingInlineStart:8,paddingInlineEnd:8,borderBlockStart:"1px solid ".concat(o.colorSplit)})};function H(O){return(0,_.Xj)("DropdownFooter",function(o){var d=(0,h.Z)((0,h.Z)({},o),{},{componentCls:".".concat(O)});return[N(d)]})}var S=r(85893),ze=function(o){var d=(0,Re.YB)(),w=o.onClear,v=o.onConfirm,I=o.disabled,Z=o.footerRender,A=(0,R.useContext)(M.ZP.ConfigContext),$=A.getPrefixCls,F=$("pro-core-dropdown-footer"),p=H(F),y=p.wrapSSR,P=p.hashId,L=[(0,S.jsx)(fe.ZP,{style:{visibility:w?"visible":"hidden"},type:"link",size:"small",disabled:I,onClick:function(T){w&&w(T),T.stopPropagation()},children:d.getMessage("form.lightFilter.clear","\u6E05\u9664")},"clear"),(0,S.jsx)(fe.ZP,{"data-type":"confirm",type:"primary",size:"small",onClick:v,disabled:I,children:d.getMessage("form.lightFilter.confirm","\u786E\u8BA4")},"confirm")];if(Z===!1||(Z==null?void 0:Z(v,w))===!1)return null;var V=(Z==null?void 0:Z(v,w))||L;return y((0,S.jsx)("div",{className:z()(F,P),onClick:function(T){return T.target.getAttribute("data-type")!=="confirm"&&T.stopPropagation()},children:V}))},Pe=r(73177),D=function(o){var d;return d={},(0,c.Z)(d,"".concat(o.componentCls,"-label"),{cursor:"pointer"}),(0,c.Z)(d,"".concat(o.componentCls,"-overlay"),{minWidth:"200px",marginBlockStart:"4px"}),(0,c.Z)(d,"".concat(o.componentCls,"-content"),{paddingBlock:16,paddingInline:16}),d};function Ne(O){return(0,_.Xj)("FilterDropdown",function(o){var d=(0,h.Z)((0,h.Z)({},o),{},{componentCls:".".concat(O)});return[D(d)]})}var We=function(o){var d,w=o.children,v=o.label,I=o.footer,Z=o.open,A=o.onOpenChange,$=o.disabled,F=o.onVisibleChange,p=o.visible,y=o.footerRender,P=o.placement,L=(0,R.useContext)(M.ZP.ConfigContext),V=L.getPrefixCls,j=V("pro-core-field-dropdown"),T=Ne(j),W=T.wrapSSR,X=T.hashId,b=(0,Pe.X)(Z||p||!1,A||F),E=(0,R.useRef)(null);return W((0,S.jsx)(De.Z,(0,h.Z)((0,h.Z)({placement:P,trigger:["click"]},b),{},{overlayInnerStyle:{padding:0},content:(0,S.jsxs)("div",{ref:E,className:z()("".concat(j,"-overlay"),(d={},(0,c.Z)(d,"".concat(j,"-overlay-").concat(P),P),(0,c.Z)(d,"hashId",X),d)),children:[(0,S.jsx)(M.ZP,{getPopupContainer:function(){return E.current||document.body},children:(0,S.jsx)("div",{className:"".concat(j,"-content ").concat(X).trim(),children:w})}),I&&(0,S.jsx)(ze,(0,h.Z)({disabled:$,footerRender:y},I))]}),children:(0,S.jsx)("span",{className:"".concat(j,"-label ").concat(X).trim(),children:v})})))},nn=r(98912),on=function(o){var d;return d={},(0,c.Z)(d,"".concat(o.componentCls,"-collapse-label"),{paddingInline:1,paddingBlock:1}),(0,c.Z)(d,"".concat(o.componentCls,"-container"),(0,c.Z)({},"".concat(o.antCls,"-form-item"),{marginBlockEnd:0})),d};function Je(O){return(0,_.Xj)("LightWrapper",function(o){var d=(0,h.Z)((0,h.Z)({},o),{},{componentCls:".".concat(O)});return[on(d)]})}var Qe=["label","size","disabled","onChange","className","style","children","valuePropName","placeholder","labelFormatter","bordered","footerRender","allowClear","otherFieldProps","valueType","placement"],rn=function(o){var d,w=o.label,v=o.size,I=o.disabled,Z=o.onChange,A=o.className,$=o.style,F=o.children,p=o.valuePropName,y=o.placeholder,P=o.labelFormatter,L=o.bordered,V=o.footerRender,j=o.allowClear,T=o.otherFieldProps,W=o.valueType,X=o.placement,b=(0,m.Z)(o,Qe),E=(0,R.useContext)(M.ZP.ConfigContext),n=E.getPrefixCls,a=n("pro-field-light-wrapper"),i=Je(a),s=i.wrapSSR,C=i.hashId,B=(0,R.useState)(o[p]),ee=(0,xe.Z)(B,2),ae=ee[0],de=ee[1],be=(0,oe.Z)(!1),ge=(0,xe.Z)(be,2),re=ge[0],Ie=ge[1],ue=function(){for(var x,ke=arguments.length,$e=new Array(ke),Le=0;Le=60&&Math.round(e.h)<=240?f=l?Math.round(e.h)-Ce*t:Math.round(e.h)+Ce*t:f=l?Math.round(e.h)+Ce*t:Math.round(e.h)-Ce*t,f<0?f+=360:f>=360&&(f-=360),f}function H(e,t,l){if(e.h===0&&e.s===0)return e.s;var f;return l?f=e.s-Se*t:t===Re?f=e.s+Se:f=e.s+Me*t,f>1&&(f=1),l&&t===De&&f>.1&&(f=.1),f<.06&&(f=.06),Number(f.toFixed(2))}function S(e,t,l){var f;return l?f=e.v+Be*t:f=e.v-q*t,f>1&&(f=1),Number(f.toFixed(2))}function ze(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=[],f=(0,oe.uA)(e),g=De;g>0;g-=1){var le=u(f),ie=z((0,oe.uA)({h:N(le,g,!0),s:H(le,g,!0),v:S(le,g,!0)}));l.push(ie)}l.push(z(f));for(var G=1;G<=Re;G+=1){var pe=u(f),Te=z((0,oe.uA)({h:N(pe,G),s:H(pe,G),v:S(pe,G)}));l.push(Te)}return t.theme==="dark"?fe.map(function(ce){var K=ce.index,Ae=ce.opacity,Ze=z(_((0,oe.uA)(t.backgroundColor||"#141414"),(0,oe.uA)(l[K]),Ae*100));return Ze}):l}var Pe={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},D={},Ne={};Object.keys(Pe).forEach(function(e){D[e]=ze(Pe[e]),D[e].primary=D[e][5],Ne[e]=ze(Pe[e],{theme:"dark",backgroundColor:"#141414"}),Ne[e].primary=Ne[e][5]});var We=D.red,nn=D.volcano,on=D.gold,Je=D.orange,Qe=D.yellow,rn=D.lime,tn=D.green,Oe=D.cyan,Ve=D.blue,He=D.geekblue,Ke=D.purple,me=D.magenta,Ue=D.grey,Xe=D.grey,Ge=(0,m.createContext)({}),Q=Ge,O=r(71002),o=r(44958),d=r(27571),w=r(80334);function v(e){return e.replace(/-(.)/g,function(t,l){return l.toUpperCase()})}function I(e,t){(0,w.ZP)(e,"[@ant-design/icons] ".concat(t))}function Z(e){return(0,O.Z)(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&((0,O.Z)(e.icon)==="object"||typeof e.icon=="function")}function A(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,l){var f=e[l];switch(l){case"class":t.className=f,delete t.class;break;default:delete t[l],t[v(l)]=f}return t},{})}function $(e,t,l){return l?m.createElement(e.tag,(0,c.Z)((0,c.Z)({key:t},A(e.attrs)),l),(e.children||[]).map(function(f,g){return $(f,"".concat(t,"-").concat(e.tag,"-").concat(g))})):m.createElement(e.tag,(0,c.Z)({key:t},A(e.attrs)),(e.children||[]).map(function(f,g){return $(f,"".concat(t,"-").concat(e.tag,"-").concat(g))}))}function F(e){return ze(e)[0]}function p(e){return e?Array.isArray(e)?e:[e]:[]}var y={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},P=` +.anticon { + display: inline-block; + color: inherit; + font-style: normal; + line-height: 0; + text-align: center; + text-transform: none; + vertical-align: -0.125em; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.anticon > * { + line-height: 1; +} + +.anticon svg { + display: inline-block; +} + +.anticon::before { + display: none; +} + +.anticon .anticon-icon { + display: block; +} + +.anticon[tabindex] { + cursor: pointer; +} + +.anticon-spin::before, +.anticon-spin { + display: inline-block; + -webkit-animation: loadingCircle 1s infinite linear; + animation: loadingCircle 1s infinite linear; +} + +@-webkit-keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +@keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +`,L=function(t){var l=(0,m.useContext)(Q),f=l.csp,g=l.prefixCls,le=P;g&&(le=le.replace(/anticon/g,g)),(0,m.useEffect)(function(){var ie=t.current,G=(0,d.A)(ie);(0,o.hq)(le,"@ant-design-icons",{prepend:!0,csp:f,attachTo:G})},[])},V=["icon","className","onClick","style","primaryColor","secondaryColor"],j={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function T(e){var t=e.primaryColor,l=e.secondaryColor;j.primaryColor=t,j.secondaryColor=l||F(t),j.calculated=!!l}function W(){return(0,c.Z)({},j)}var X=function(t){var l=t.icon,f=t.className,g=t.onClick,le=t.style,ie=t.primaryColor,G=t.secondaryColor,pe=(0,te.Z)(t,V),Te=m.useRef(),ce=j;if(ie&&(ce={primaryColor:ie,secondaryColor:G||F(ie)}),L(Te),I(Z(l),"icon should be icon definiton, but got ".concat(l)),!Z(l))return null;var K=l;return K&&typeof K.icon=="function"&&(K=(0,c.Z)((0,c.Z)({},K),{},{icon:K.icon(ce.primaryColor,ce.secondaryColor)})),$(K.icon,"svg-".concat(K.name),(0,c.Z)((0,c.Z)({className:f,onClick:g,style:le,"data-icon":K.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},pe),{},{ref:Te}))};X.displayName="IconReact",X.getTwoToneColors=W,X.setTwoToneColors=T;var b=X;function E(e){var t=p(e),l=(0,k.Z)(t,2),f=l[0],g=l[1];return b.setTwoToneColors({primaryColor:f,secondaryColor:g})}function n(){var e=b.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var a=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];E(Ve.primary);var i=m.forwardRef(function(e,t){var l,f=e.className,g=e.icon,le=e.spin,ie=e.rotate,G=e.tabIndex,pe=e.onClick,Te=e.twoToneColor,ce=(0,te.Z)(e,a),K=m.useContext(Q),Ae=K.prefixCls,Ze=Ae===void 0?"anticon":Ae,Fe=K.rootClassName,dn=ne()(Fe,Ze,(l={},(0,Y.Z)(l,"".concat(Ze,"-").concat(g.name),!!g.name),(0,Y.Z)(l,"".concat(Ze,"-spin"),!!le||g.name==="loading"),l),f),qe=G;qe===void 0&&pe&&(qe=-1);var un=ie?{msTransform:"rotate(".concat(ie,"deg)"),transform:"rotate(".concat(ie,"deg)")}:void 0,mn=p(Te),ln=(0,k.Z)(mn,2),je=ln[0],cn=ln[1];return m.createElement("span",(0,J.Z)({role:"img","aria-label":g.name},ce,{ref:t,tabIndex:qe,onClick:pe,className:dn}),m.createElement(b,{icon:g,primaryColor:je,secondaryColor:cn,style:un}))});i.displayName="AntdIcon",i.getTwoToneColor=n,i.setTwoToneColor=E;var s=i,C=function(t,l){return m.createElement(s,(0,J.Z)({},t,{ref:l,icon:M.Z}))},B=m.forwardRef(C),ee=r(21770),ae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},de=ae,be=r(62914),ge=function(t,l){return m.createElement(be.Z,(0,J.Z)({},t,{ref:l,icon:de}))},re=m.forwardRef(ge),Ie=r(94740),ue=r(83062),he=r(98082),an=function(t){return(0,Y.Z)({},t.componentCls,{display:"inline-flex",alignItems:"center",maxWidth:"100%","&-icon":{display:"block",marginInlineStart:"4px",cursor:"pointer","&:hover":{color:t.colorPrimary}},"&-title":{display:"inline-flex",flex:"1"},"&-subtitle ":{marginInlineStart:8,color:t.colorTextSecondary,fontWeight:"normal",fontSize:t.fontSize,whiteSpace:"nowrap"},"&-title-ellipsis":{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",wordBreak:"keep-all"}})};function ve(e){return(0,he.Xj)("LabelIconTip",function(t){var l=(0,c.Z)((0,c.Z)({},t),{},{componentCls:".".concat(e)});return[an(l)]})}var x=r(85893),ke=m.memo(function(e){var t=e.label,l=e.tooltip,f=e.ellipsis,g=e.subTitle,le=(0,m.useContext)(Ie.ZP.ConfigContext),ie=le.getPrefixCls,G=ie("pro-core-label-tip"),pe=ve(G),Te=pe.wrapSSR,ce=pe.hashId;if(!l&&!g)return(0,x.jsx)(x.Fragment,{children:t});var K=typeof l=="string"||m.isValidElement(l)?{title:l}:l,Ae=(K==null?void 0:K.icon)||(0,x.jsx)(re,{});return Te((0,x.jsxs)("div",{className:ne()(G,ce),onMouseDown:function(Fe){return Fe.stopPropagation()},onMouseLeave:function(Fe){return Fe.stopPropagation()},onMouseMove:function(Fe){return Fe.stopPropagation()},children:[(0,x.jsx)("div",{className:ne()("".concat(G,"-title"),ce,(0,Y.Z)({},"".concat(G,"-title-ellipsis"),f)),children:t}),g&&(0,x.jsx)("div",{className:"".concat(G,"-subtitle ").concat(ce).trim(),children:g}),l&&(0,x.jsx)(ue.Z,(0,c.Z)((0,c.Z)({},K),{},{children:(0,x.jsx)("span",{className:"".concat(G,"-icon ").concat(ce).trim(),children:Ae})}))]}))}),$e=r(78957),Le=r(66758),fn=r(2514),jn=function(t){var l;return(0,Y.Z)({},t.componentCls,{"&-title":{marginBlockEnd:t.marginXL,fontWeight:"bold"},"&-container":(0,Y.Z)({flexWrap:"wrap",maxWidth:"100%"},"> div".concat(t.antCls,"-space-item"),{maxWidth:"100%"}),"&-twoLine":(l={display:"block",width:"100%"},(0,Y.Z)(l,"".concat(t.componentCls,"-title"),{width:"100%",margin:"8px 0"}),(0,Y.Z)(l,"".concat(t.componentCls,"-container"),{paddingInlineStart:16}),(0,Y.Z)(l,"".concat(t.antCls,"-space-item,").concat(t.antCls,"-form-item"),{width:"100%"}),(0,Y.Z)(l,"".concat(t.antCls,"-form-item"),{"&-control":{display:"flex",alignItems:"center",justifyContent:"flex-end","&-input":{alignItems:"center",justifyContent:"flex-end","&-content":{flex:"none"}}}}),l)})};function Rn(e){return(0,he.Xj)("ProFormGroup",function(t){var l=(0,c.Z)((0,c.Z)({},t),{},{componentCls:".".concat(e)});return[jn(l)]})}var hn=m.forwardRef(function(e,t){var l=m.useContext(Le.Z),f=l.groupProps,g=(0,c.Z)((0,c.Z)({},f),e),le=g.children,ie=g.collapsible,G=g.defaultCollapsed,pe=g.style,Te=g.labelLayout,ce=g.title,K=ce===void 0?e.label:ce,Ae=g.tooltip,Ze=g.align,Fe=Ze===void 0?"start":Ze,dn=g.direction,qe=g.size,un=qe===void 0?32:qe,mn=g.titleStyle,ln=g.titleRender,je=g.spaceProps,cn=g.extra,gn=g.autoFocus,An=(0,ee.Z)(function(){return G||!1},{value:e.collapsed,onChange:e.onCollapse}),yn=(0,k.Z)(An,2),pn=yn[0],En=yn[1],Mn=(0,m.useContext)(Ie.ZP.ConfigContext),Bn=Mn.getPrefixCls,xn=(0,fn.zx)(e),Dn=xn.ColWrapper,Zn=xn.RowWrapper,_e=Bn("pro-form-group"),Sn=Rn(_e),zn=Sn.wrapSSR,vn=Sn.hashId,Pn=ie&&(0,x.jsx)(B,{style:{marginInlineEnd:8},rotate:pn?void 0:90}),bn=(0,x.jsx)(ke,{label:Pn?(0,x.jsxs)("div",{children:[Pn,K]}):K,tooltip:Ae}),In=(0,m.useCallback)(function(Ye){var sn=Ye.children;return(0,x.jsx)($e.Z,(0,c.Z)((0,c.Z)({},je),{},{className:ne()("".concat(_e,"-container ").concat(vn),je==null?void 0:je.className),size:un,align:Fe,direction:dn,style:(0,c.Z)({rowGap:0},je==null?void 0:je.style),children:sn}))},[Fe,_e,dn,vn,un,je]),Tn=ln?ln(bn,e):bn,On=(0,m.useMemo)(function(){var Ye=[],sn=m.Children.toArray(le).map(function(Ee,Wn){var Cn;return m.isValidElement(Ee)&&Ee!==null&&Ee!==void 0&&(Cn=Ee.props)!==null&&Cn!==void 0&&Cn.hidden?(Ye.push(Ee),null):Wn===0&&m.isValidElement(Ee)&&gn?m.cloneElement(Ee,(0,c.Z)((0,c.Z)({},Ee.props),{},{autoFocus:gn})):Ee});return[(0,x.jsx)(Zn,{Wrapper:In,children:sn},"children"),Ye.length>0?(0,x.jsx)("div",{style:{display:"none"},children:Ye}):null]},[le,Zn,In,gn]),Fn=(0,k.Z)(On,2),$n=Fn[0],Ln=Fn[1];return zn((0,x.jsx)(Dn,{children:(0,x.jsxs)("div",{className:ne()(_e,vn,(0,Y.Z)({},"".concat(_e,"-twoLine"),Te==="twoLine")),style:pe,ref:t,children:[Ln,(K||Ae||cn)&&(0,x.jsx)("div",{className:"".concat(_e,"-title ").concat(vn).trim(),style:mn,onClick:function(){En(!pn)},children:cn?(0,x.jsxs)("div",{style:{display:"flex",width:"100%",alignItems:"center",justifyContent:"space-between"},children:[Tn,(0,x.jsx)("span",{onClick:function(sn){return sn.stopPropagation()},children:cn})]}):Tn}),(0,x.jsx)("div",{style:{display:ie&&pn?"none":void 0},children:$n})]})}))});hn.displayName="ProForm-Group";var Nn=hn,wn=r(40473);function we(e){return(0,x.jsx)(se.I,(0,c.Z)({layout:"vertical",submitter:{render:function(l,f){return f.reverse()}},contentRender:function(l,f){return(0,x.jsxs)(x.Fragment,{children:[l,f]})}},e))}we.Group=Nn,we.useForm=h.Z.useForm,we.Item=wn.Z,we.useWatch=h.Z.useWatch,we.ErrorList=h.Z.ErrorList,we.Provider=h.Z.Provider,we.useFormInstance=h.Z.useFormInstance,we.EditOrReadOnlyContext=U.A},98912:function(en,ye,r){r.d(ye,{Q:function(){return Re}});var c=r(4942),h=r(87462),m=r(67294),se=r(1085),U=r(62914),Y=function(u,z){return m.createElement(U.Z,(0,h.Z)({},u,{ref:z,icon:se.Z}))},k=m.forwardRef(Y),J=r(66023),M=function(u,z){return m.createElement(U.Z,(0,h.Z)({},u,{ref:z,icon:J.Z}))},te=m.forwardRef(M),R=r(10915),ne=r(94740),xe=r(94184),oe=r.n(xe),Ce=r(1413),Se=r(98082),Me=function(u){var z,_,N,H;return(0,c.Z)({},u.componentCls,(H={display:"inline-flex",gap:u.marginXXS,alignItems:"center",height:"30px",paddingBlock:0,paddingInline:8,fontSize:u.fontSize,lineHeight:"30px",borderRadius:"2px",cursor:"pointer","&:hover":{backgroundColor:u.colorBgTextHover},"&-active":(0,c.Z)({paddingBlock:0,paddingInline:8,backgroundColor:u.colorBgTextHover},"&".concat(u.componentCls,"-allow-clear:hover:not(").concat(u.componentCls,"-disabled)"),(z={},(0,c.Z)(z,"".concat(u.componentCls,"-arrow"),{display:"none"}),(0,c.Z)(z,"".concat(u.componentCls,"-close"),{display:"inline-flex"}),z))},(0,c.Z)(H,"".concat(u.antCls,"-select"),(0,c.Z)({},"".concat(u.antCls,"-select-clear"),{borderRadius:"50%"})),(0,c.Z)(H,"".concat(u.antCls,"-picker"),(0,c.Z)({},"".concat(u.antCls,"-picker-clear"),{borderRadius:"50%"})),(0,c.Z)(H,"&-icon",(_={color:u.colorIcon,transition:"color 0.3s",fontSize:12,verticalAlign:"middle"},(0,c.Z)(_,"&".concat(u.componentCls,"-close"),{display:"none",fontSize:12,alignItems:"center",justifyContent:"center",color:u.colorTextPlaceholder,borderRadius:"50%"}),(0,c.Z)(_,"&:hover",{color:u.colorIconHover}),_)),(0,c.Z)(H,"&-disabled",(0,c.Z)({color:u.colorTextPlaceholder,cursor:"not-allowed"},"".concat(u.componentCls,"-icon"),{color:u.colorTextPlaceholder})),(0,c.Z)(H,"&-small",(N={height:"24px",paddingBlock:0,paddingInline:4,fontSize:u.fontSizeSM,lineHeight:"24px"},(0,c.Z)(N,"&".concat(u.componentCls,"-active"),{paddingBlock:0,paddingInline:8}),(0,c.Z)(N,"".concat(u.componentCls,"-icon"),{paddingBlock:0,paddingInline:0}),(0,c.Z)(N,"".concat(u.componentCls,"-close"),{marginBlockStart:"-2px",paddingBlock:4,paddingInline:4,fontSize:"6px"}),N)),(0,c.Z)(H,"&-bordered",{height:"32px",paddingBlock:0,paddingInline:8,border:"".concat(u.lineWidth,"px solid ").concat(u.colorBorder),borderRadius:"@border-radius-base"}),(0,c.Z)(H,"&-bordered&-small",{height:"24px",paddingBlock:0,paddingInline:8}),(0,c.Z)(H,"&-bordered&-active",{backgroundColor:u.colorBgContainer}),H))};function Be(fe){return(0,Se.Xj)("FieldLabel",function(u){var z=(0,Ce.Z)((0,Ce.Z)({},u),{},{componentCls:".".concat(fe)});return[Me(z)]})}var q=r(85893),De=function(u,z){var _,N,H,S,ze=u.label,Pe=u.onClear,D=u.value,Ne=u.disabled,We=u.onLabelClick,nn=u.ellipsis,on=u.placeholder,Je=u.className,Qe=u.formatter,rn=u.bordered,tn=u.style,Oe=u.downIcon,Ve=u.allowClear,He=Ve===void 0?!0:Ve,Ke=(ne.ZP===null||ne.ZP===void 0||(_=ne.ZP.useConfig)===null||_===void 0?void 0:_.call(ne.ZP))||{componentSize:"middle"},me=Ke.componentSize,Ue=me,Xe=(0,m.useContext)(ne.ZP.ConfigContext),Ge=Xe.getPrefixCls,Q=Ge("pro-core-field-label"),O=Be(Q),o=O.wrapSSR,d=O.hashId,w=(0,R.YB)(),v=(0,m.useRef)(null),I=(0,m.useRef)(null);(0,m.useImperativeHandle)(z,function(){return{labelRef:I,clearRef:v}});var Z=function(p){return p.every(function(y){return typeof y=="string"})?p.join(","):p.map(function(y,P){var L=P===p.length-1?"":",";return typeof y=="string"?(0,q.jsxs)("span",{children:[y,L]},P):(0,q.jsxs)("span",{style:{display:"flex"},children:[y,L]},P)})},A=function(p){return Qe?Qe(p):Array.isArray(p)?Z(p):p},$=function(p,y){if(y!=null&&y!==""&&(!Array.isArray(y)||y.length)){var P,L,V=p?(0,q.jsxs)("span",{onClick:function(){We==null||We()},className:"".concat(Q,"-text"),children:[p,": "]}):"",j=A(y);if(!nn)return(0,q.jsxs)("span",{style:{display:"inline-flex",alignItems:"center"},children:[V,A(y)]});var T=41,W=function(){var E=Array.isArray(y)&&y.length>1,n=w.getMessage("form.lightFilter.itemUnit","\u9879");return typeof j=="string"&&j.length>T&&E?"...".concat(y.length).concat(n):""},X=W();return(0,q.jsxs)("span",{title:typeof j=="string"?j:void 0,style:{display:"inline-flex",alignItems:"center"},children:[V,(0,q.jsx)("span",{style:{paddingInlineStart:4,display:"flex"},children:typeof j=="string"?j==null||(P=j.toString())===null||P===void 0||(L=P.substr)===null||L===void 0?void 0:L.call(P,0,T):j}),X]})}return p||on};return o((0,q.jsxs)("span",{className:oe()(Q,d,"".concat(Q,"-").concat((N=(H=u.size)!==null&&H!==void 0?H:Ue)!==null&&N!==void 0?N:"middle"),(S={},(0,c.Z)(S,"".concat(Q,"-active"),!!D||D===0),(0,c.Z)(S,"".concat(Q,"-disabled"),Ne),(0,c.Z)(S,"".concat(Q,"-bordered"),rn),(0,c.Z)(S,"".concat(Q,"-allow-clear"),He),S),Je),style:tn,ref:I,onClick:function(){var p;u==null||(p=u.onClick)===null||p===void 0||p.call(u)},children:[$(ze,D),(D||D===0)&&He&&(0,q.jsx)(k,{role:"button",title:w.getMessage("form.lightFilter.clear","\u6E05\u9664"),className:oe()("".concat(Q,"-icon"),d,"".concat(Q,"-close")),onClick:function(p){Ne||Pe==null||Pe(),p.stopPropagation()},ref:v}),Oe!==!1?Oe!=null?Oe:(0,q.jsx)(te,{className:oe()("".concat(Q,"-icon"),d,"".concat(Q,"-arrow"))}):null]}))},Re=m.forwardRef(De)},27068:function(en,ye,r){r.d(ye,{KW:function(){return U},Uf:function(){return se}});var c=r(67294),h=r(60249),m=function(J,M,te){return(0,h.A)(J,M,te)};function se(k,J){var M=(0,c.useRef)();return m(k,M.current,J)||(M.current=k),M.current}function U(k,J,M){(0,c.useEffect)(k,se(J||[],M))}function Y(k,J,M,te){var R=useDebounceFn(_asyncToGenerator(_regeneratorRuntime().mark(function ne(){return _regeneratorRuntime().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:k();case 1:case"end":return oe.stop()}},ne)})),te||16);useEffect(function(){R.run()},se(J||[],M))}},27833:function(en,ye,r){var c=r(67294),h=r(27068);function m(se,U){return c.useMemo(se,(0,h.Uf)(U))}ye.Z=m},62914:function(en,ye,r){r.d(ye,{Z:function(){return E}});var c=r(87462),h=r(97685),m=r(4942),se=r(91),U=r(67294),Y=r(94184),k=r.n(Y),J=r(86500),M=r(1350),te=2,R=.16,ne=.05,xe=.05,oe=.15,Ce=5,Se=4,Me=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function Be(n){var a=n.r,i=n.g,s=n.b,C=(0,J.py)(a,i,s);return{h:C.h*360,s:C.s,v:C.v}}function q(n){var a=n.r,i=n.g,s=n.b;return"#".concat((0,J.vq)(a,i,s,!1))}function De(n,a,i){var s=i/100,C={r:(a.r-n.r)*s+n.r,g:(a.g-n.g)*s+n.g,b:(a.b-n.b)*s+n.b};return C}function Re(n,a,i){var s;return Math.round(n.h)>=60&&Math.round(n.h)<=240?s=i?Math.round(n.h)-te*a:Math.round(n.h)+te*a:s=i?Math.round(n.h)+te*a:Math.round(n.h)-te*a,s<0?s+=360:s>=360&&(s-=360),s}function fe(n,a,i){if(n.h===0&&n.s===0)return n.s;var s;return i?s=n.s-R*a:a===Se?s=n.s+R:s=n.s+ne*a,s>1&&(s=1),i&&a===Ce&&s>.1&&(s=.1),s<.06&&(s=.06),Number(s.toFixed(2))}function u(n,a,i){var s;return i?s=n.v+xe*a:s=n.v-oe*a,s>1&&(s=1),Number(s.toFixed(2))}function z(n){for(var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=[],s=(0,M.uA)(n),C=Ce;C>0;C-=1){var B=Be(s),ee=q((0,M.uA)({h:Re(B,C,!0),s:fe(B,C,!0),v:u(B,C,!0)}));i.push(ee)}i.push(q(s));for(var ae=1;ae<=Se;ae+=1){var de=Be(s),be=q((0,M.uA)({h:Re(de,ae),s:fe(de,ae),v:u(de,ae)}));i.push(be)}return a.theme==="dark"?Me.map(function(ge){var re=ge.index,Ie=ge.opacity,ue=q(De((0,M.uA)(a.backgroundColor||"#141414"),(0,M.uA)(i[re]),Ie*100));return ue}):i}var _={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},N={},H={};Object.keys(_).forEach(function(n){N[n]=z(_[n]),N[n].primary=N[n][5],H[n]=z(_[n],{theme:"dark",backgroundColor:"#141414"}),H[n].primary=H[n][5]});var S=N.red,ze=N.volcano,Pe=N.gold,D=N.orange,Ne=N.yellow,We=N.lime,nn=N.green,on=N.cyan,Je=N.blue,Qe=N.geekblue,rn=N.purple,tn=N.magenta,Oe=N.grey,Ve=N.grey,He=(0,U.createContext)({}),Ke=He,me=r(1413),Ue=r(71002),Xe=r(44958),Ge=r(27571),Q=r(80334);function O(n){return n.replace(/-(.)/g,function(a,i){return i.toUpperCase()})}function o(n,a){(0,Q.ZP)(n,"[@ant-design/icons] ".concat(a))}function d(n){return(0,Ue.Z)(n)==="object"&&typeof n.name=="string"&&typeof n.theme=="string"&&((0,Ue.Z)(n.icon)==="object"||typeof n.icon=="function")}function w(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(n).reduce(function(a,i){var s=n[i];switch(i){case"class":a.className=s,delete a.class;break;default:delete a[i],a[O(i)]=s}return a},{})}function v(n,a,i){return i?U.createElement(n.tag,(0,me.Z)((0,me.Z)({key:a},w(n.attrs)),i),(n.children||[]).map(function(s,C){return v(s,"".concat(a,"-").concat(n.tag,"-").concat(C))})):U.createElement(n.tag,(0,me.Z)({key:a},w(n.attrs)),(n.children||[]).map(function(s,C){return v(s,"".concat(a,"-").concat(n.tag,"-").concat(C))}))}function I(n){return z(n)[0]}function Z(n){return n?Array.isArray(n)?n:[n]:[]}var A={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},$=` +.anticon { + display: inline-block; + color: inherit; + font-style: normal; + line-height: 0; + text-align: center; + text-transform: none; + vertical-align: -0.125em; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.anticon > * { + line-height: 1; +} + +.anticon svg { + display: inline-block; +} + +.anticon::before { + display: none; +} + +.anticon .anticon-icon { + display: block; +} + +.anticon[tabindex] { + cursor: pointer; +} + +.anticon-spin::before, +.anticon-spin { + display: inline-block; + -webkit-animation: loadingCircle 1s infinite linear; + animation: loadingCircle 1s infinite linear; +} + +@-webkit-keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +@keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +`,F=function(a){var i=(0,U.useContext)(Ke),s=i.csp,C=i.prefixCls,B=$;C&&(B=B.replace(/anticon/g,C)),(0,U.useEffect)(function(){var ee=a.current,ae=(0,Ge.A)(ee);(0,Xe.hq)(B,"@ant-design-icons",{prepend:!0,csp:s,attachTo:ae})},[])},p=["icon","className","onClick","style","primaryColor","secondaryColor"],y={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function P(n){var a=n.primaryColor,i=n.secondaryColor;y.primaryColor=a,y.secondaryColor=i||I(a),y.calculated=!!i}function L(){return(0,me.Z)({},y)}var V=function(a){var i=a.icon,s=a.className,C=a.onClick,B=a.style,ee=a.primaryColor,ae=a.secondaryColor,de=(0,se.Z)(a,p),be=U.useRef(),ge=y;if(ee&&(ge={primaryColor:ee,secondaryColor:ae||I(ee)}),F(be),o(d(i),"icon should be icon definiton, but got ".concat(i)),!d(i))return null;var re=i;return re&&typeof re.icon=="function"&&(re=(0,me.Z)((0,me.Z)({},re),{},{icon:re.icon(ge.primaryColor,ge.secondaryColor)})),v(re.icon,"svg-".concat(re.name),(0,me.Z)((0,me.Z)({className:s,onClick:C,style:B,"data-icon":re.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},de),{},{ref:be}))};V.displayName="IconReact",V.getTwoToneColors=L,V.setTwoToneColors=P;var j=V;function T(n){var a=Z(n),i=(0,h.Z)(a,2),s=i[0],C=i[1];return j.setTwoToneColors({primaryColor:s,secondaryColor:C})}function W(){var n=j.getTwoToneColors();return n.calculated?[n.primaryColor,n.secondaryColor]:n.primaryColor}var X=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];T(Je.primary);var b=U.forwardRef(function(n,a){var i,s=n.className,C=n.icon,B=n.spin,ee=n.rotate,ae=n.tabIndex,de=n.onClick,be=n.twoToneColor,ge=(0,se.Z)(n,X),re=U.useContext(Ke),Ie=re.prefixCls,ue=Ie===void 0?"anticon":Ie,he=re.rootClassName,an=k()(he,ue,(i={},(0,m.Z)(i,"".concat(ue,"-").concat(C.name),!!C.name),(0,m.Z)(i,"".concat(ue,"-spin"),!!B||C.name==="loading"),i),s),ve=ae;ve===void 0&&de&&(ve=-1);var x=ee?{msTransform:"rotate(".concat(ee,"deg)"),transform:"rotate(".concat(ee,"deg)")}:void 0,ke=Z(be),$e=(0,h.Z)(ke,2),Le=$e[0],fn=$e[1];return U.createElement("span",(0,c.Z)({role:"img","aria-label":C.name},ge,{ref:a,tabIndex:ve,onClick:de,className:an}),U.createElement(j,{icon:C,primaryColor:Le,secondaryColor:fn,style:x}))});b.displayName="AntdIcon",b.getTwoToneColor=W,b.setTwoToneColor=T;var E=b}}]); diff --git a/7315.d0dff392.async.js b/7315.d0dff392.async.js new file mode 100644 index 0000000000..4d059f76b9 --- /dev/null +++ b/7315.d0dff392.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[7315],{37315:function(j,p,f){f.r(p),f.d(p,{ecl:function(){return C}});function l(e){for(var n={},t=e.split(" "),r=0;r!?|\/]/,o;function c(e,n){var t=e.next();if(h[t]){var r=h[t](e,n);if(r!==!1)return r}if(t=='"'||t=="'")return n.tokenize=_(t),n.tokenize(e,n);if(/[\[\]{}\(\),;\:\.]/.test(t))return o=t,null;if(/\d/.test(t))return e.eatWhile(/[\w\.]/),"number";if(t=="/"){if(e.eat("*"))return n.tokenize=v,v(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(y.test(t))return e.eatWhile(y),"operator";e.eatWhile(/[\w\$_]/);var i=e.current().toLowerCase();if(w.propertyIsEnumerable(i))return u.propertyIsEnumerable(i)&&(o="newstatement"),"keyword";if(x.propertyIsEnumerable(i))return u.propertyIsEnumerable(i)&&(o="newstatement"),"variable";if(E.propertyIsEnumerable(i))return u.propertyIsEnumerable(i)&&(o="newstatement"),"modifier";if(m.propertyIsEnumerable(i))return u.propertyIsEnumerable(i)&&(o="newstatement"),"type";if(I.propertyIsEnumerable(i))return u.propertyIsEnumerable(i)&&(o="newstatement"),"builtin";for(var a=i.length-1;a>=0&&(!isNaN(i[a])||i[a]=="_");)--a;if(a>0){var g=i.substr(0,a+1);if(m.propertyIsEnumerable(g))return u.propertyIsEnumerable(g)&&(o="newstatement"),"type"}return z.propertyIsEnumerable(i)?"atom":null}function _(e){return function(n,t){for(var r=!1,i,a=!1;(i=n.next())!=null;){if(i==e&&!r){a=!0;break}r=!r&&i=="\\"}return(a||!r)&&(t.tokenize=c),"string"}}function v(e,n){for(var t=!1,r;r=e.next();){if(r=="/"&&t){n.tokenize=c;break}t=r=="*"}return"comment"}function b(e,n,t,r,i){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=i}function d(e,n,t){return e.context=new b(e.indented,n,t,null,e.context)}function s(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}const C={name:"ecl",startState:function(e){return{tokenize:null,context:new b(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;o=null;var r=(n.tokenize||c)(e,n);if(r=="comment"||r=="meta")return r;if(t.align==null&&(t.align=!0),(o==";"||o==":")&&t.type=="statement")s(n);else if(o=="{")d(n,e.column(),"}");else if(o=="[")d(n,e.column(),"]");else if(o=="(")d(n,e.column(),")");else if(o=="}"){for(;t.type=="statement";)t=s(n);for(t.type=="}"&&(t=s(n));t.type=="statement";)t=s(n)}else o==t.type?s(n):(t.type=="}"||t.type=="top"||t.type=="statement"&&o=="newstatement")&&d(n,e.column(),"statement");return n.startOfLine=!1,r},indent:function(e,n,t){if(e.tokenize!=c&&e.tokenize!=null)return 0;var r=e.context,i=n&&n.charAt(0);r.type=="statement"&&i=="}"&&(r=r.prev);var a=i==r.type;return r.type=="statement"?r.indented+(i=="{"?0:t.unit):r.align?r.column+(a?0:1):r.indented+(a?0:t.unit)},languageData:{indentOnInput:/^\s*[{}]$/}}}}]); diff --git a/7365.e910f562.async.js b/7365.e910f562.async.js new file mode 100644 index 0000000000..db22ac1e20 --- /dev/null +++ b/7365.e910f562.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[7365],{57365:function(L,d,k){k.r(d),k.d(d,{r:function(){return I}});function o(e){for(var n={},r=0;r=!&|~$:]/,l;function f(e,n){l=null;var r=e.next();if(r=="#")return e.skipToEnd(),"comment";if(r=="0"&&e.eat("x"))return e.eatWhile(/[\da-f]/i),"number";if(r=="."&&e.eat(/\d/))return e.match(/\d*(?:e[+\-]?\d+)?/),"number";if(/\d/.test(r))return e.match(/\d*(?:\.\d+)?(?:e[+\-]\d+)?L?/),"number";if(r=="'"||r=='"')return n.tokenize=E(r),"string";if(r=="`")return e.match(/[^`]+`/),"string.special";if(r=="."&&e.match(/.(?:[.]|\d+)/))return"keyword";if(/[a-zA-Z\.]/.test(r)){e.eatWhile(/[\w\.]/);var i=e.current();return N.propertyIsEnumerable(i)?"atom":A.propertyIsEnumerable(i)?(_.propertyIsEnumerable(i)&&!e.match(/\s*if(\s+|$)/,!1)&&(l="block"),"keyword"):w.propertyIsEnumerable(i)?"builtin":"variable"}else return r=="%"?(e.skipTo("%")&&e.next(),"variableName.special"):r=="<"&&e.eat("-")||r=="<"&&e.match("<-")||r=="-"&&e.match(/>>?/)||r=="="&&n.ctx.argList?"operator":x.test(r)?(r=="$"||e.eatWhile(x),"operator"):/[\(\){}\[\];]/.test(r)?(l=r,r==";"?"punctuation":null):null}function E(e){return function(n,r){if(n.eat("\\")){var i=n.next();return i=="x"?n.match(/^[a-f0-9]{2}/i):(i=="u"||i=="U")&&n.eat("{")&&n.skipTo("}")?n.next():i=="u"?n.match(/^[a-f0-9]{4}/i):i=="U"?n.match(/^[a-f0-9]{8}/i):/[0-7]/.test(i)&&n.match(/^[0-7]{1,2}/),"string.special"}else{for(var t;(t=n.next())!=null;){if(t==e){r.tokenize=f;break}if(t=="\\"){n.backUp(1);break}}return"string"}}}var g=1,c=2,a=4;function u(e,n,r){e.ctx={type:n,indent:e.indent,flags:0,column:r.column(),prev:e.ctx}}function h(e,n){var r=e.ctx;e.ctx={type:r.type,indent:r.indent,flags:r.flags|n,column:r.column,prev:r.prev}}function p(e){e.indent=e.ctx.indent,e.ctx=e.ctx.prev}const I={name:"r",startState:function(e){return{tokenize:f,ctx:{type:"top",indent:-e,flags:c},indent:0,afterIdent:!1}},token:function(e,n){if(e.sol()&&(n.ctx.flags&3||(n.ctx.flags|=c),n.ctx.flags&a&&p(n),n.indent=e.indentation()),e.eatSpace())return null;var r=n.tokenize(e,n);return r!="comment"&&!(n.ctx.flags&c)&&h(n,g),(l==";"||l=="{"||l=="}")&&n.ctx.type=="block"&&p(n),l=="{"?u(n,"}",e):l=="("?(u(n,")",e),n.afterIdent&&(n.ctx.argList=!0)):l=="["?u(n,"]",e):l=="block"?u(n,"block",e):l==n.ctx.type?p(n):n.ctx.type=="block"&&r!="comment"&&h(n,a),n.afterIdent=r=="variable"||r=="keyword",r},indent:function(e,n,r){if(e.tokenize!=f)return 0;var i=n&&n.charAt(0),t=e.ctx,y=i==t.type;return t.flags&a&&(t=t.prev),t.type=="block"?t.indent+(i=="{"?0:r.unit):t.flags&g?t.column+(y?0:1):t.indent+(y?0:r.unit)},languageData:{wordChars:".",commentTokens:{line:"#"},autocomplete:v.concat(b,s)}}}}]); diff --git a/7370.4e6718da.async.js b/7370.4e6718da.async.js new file mode 100644 index 0000000000..3bf9f42c89 --- /dev/null +++ b/7370.4e6718da.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[7370],{67370:function(E,c,S){S.r(c),S.d(c,{nsis:function(){return u}});var I=S(44125);const u=(0,I.Q)({start:[{regex:/(?:[+-]?)(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\d+.?\d*)/,token:"number"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/`(?:[^\\`]|\\.)*`?/,token:"string"},{regex:/^\s*(?:\!(addincludedir|addplugindir|appendfile|assert|cd|define|delfile|echo|error|execute|finalize|getdllversion|gettlbversion|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|uninstfinalize|verbose|warning))\b/i,token:"keyword"},{regex:/^\s*(?:\!(if(?:n?def)?|ifmacron?def|macro))\b/i,token:"keyword",indent:!0},{regex:/^\s*(?:\!(else|endif|macroend))\b/i,token:"keyword",dedent:!0},{regex:/^\s*(?:Abort|AddBrandingImage|AddSize|AllowRootDirInstall|AllowSkipFiles|AutoCloseWindow|BGFont|BGGradient|BrandingText|BringToFront|Call|CallInstDLL|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|CRCCheck|CreateDirectory|CreateFont|CreateShortCut|Delete|DeleteINISec|DeleteINIStr|DeleteRegKey|DeleteRegValue|DetailPrint|DetailsButtonText|DirText|DirVar|DirVerify|EnableWindow|EnumRegKey|EnumRegValue|Exch|Exec|ExecShell|ExecShellWait|ExecWait|ExpandEnvStrings|File|FileBufSize|FileClose|FileErrorText|FileOpen|FileRead|FileReadByte|FileReadUTF16LE|FileReadWord|FileWriteUTF16LE|FileSeek|FileWrite|FileWriteByte|FileWriteWord|FindClose|FindFirst|FindNext|FindWindow|FlushINI|GetCurInstType|GetCurrentAddress|GetDlgItem|GetDLLVersion|GetDLLVersionLocal|GetErrorLevel|GetFileTime|GetFileTimeLocal|GetFullPathName|GetFunctionAddress|GetInstDirError|GetKnownFolderPath|GetLabelAddress|GetTempFileName|GetWinVer|Goto|HideWindow|Icon|IfAbort|IfErrors|IfFileExists|IfRebootFlag|IfRtlLanguage|IfShellVarContextAll|IfSilent|InitPluginsDir|InstallButtonText|InstallColors|InstallDir|InstallDirRegKey|InstProgressFlags|InstType|InstTypeGetText|InstTypeSetText|Int64Cmp|Int64CmpU|Int64Fmt|IntCmp|IntCmpU|IntFmt|IntOp|IntPtrCmp|IntPtrCmpU|IntPtrOp|IsWindow|LangString|LicenseBkColor|LicenseData|LicenseForceSelection|LicenseLangString|LicenseText|LoadAndSetImage|LoadLanguageFile|LockWindow|LogSet|LogText|ManifestDPIAware|ManifestLongPathAware|ManifestMaxVersionTested|ManifestSupportedOS|MessageBox|MiscButtonText|Name|Nop|OutFile|Page|PageCallbacks|PEAddResource|PEDllCharacteristics|PERemoveResource|PESubsysVer|Pop|Push|Quit|ReadEnvStr|ReadINIStr|ReadRegDWORD|ReadRegStr|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|RMDir|SearchPath|SectionGetFlags|SectionGetInstTypes|SectionGetSize|SectionGetText|SectionIn|SectionSetFlags|SectionSetInstTypes|SectionSetSize|SectionSetText|SendMessage|SetAutoClose|SetBrandingImage|SetCompress|SetCompressor|SetCompressorDictSize|SetCtlColors|SetCurInstType|SetDatablockOptimize|SetDateSave|SetDetailsPrint|SetDetailsView|SetErrorLevel|SetErrors|SetFileAttributes|SetFont|SetOutPath|SetOverwrite|SetRebootFlag|SetRegView|SetShellVarContext|SetSilent|ShowInstDetails|ShowUninstDetails|ShowWindow|SilentInstall|SilentUnInstall|Sleep|SpaceTexts|StrCmp|StrCmpS|StrCpy|StrLen|SubCaption|Target|Unicode|UninstallButtonText|UninstallCaption|UninstallIcon|UninstallSubCaption|UninstallText|UninstPage|UnRegDLL|Var|VIAddVersionKey|VIFileVersion|VIProductVersion|WindowIcon|WriteINIStr|WriteRegBin|WriteRegDWORD|WriteRegExpandStr|WriteRegMultiStr|WriteRegNone|WriteRegStr|WriteUninstaller|XPStyle)\b/i,token:"keyword"},{regex:/^\s*(?:Function|PageEx|Section(?:Group)?)\b/i,token:"keyword",indent:!0},{regex:/^\s*(?:(Function|PageEx|Section(?:Group)?)End)\b/i,token:"keyword",dedent:!0},{regex:/\b(?:ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HIDDEN|HKCC|HKCR(32|64)?|HKCU(32|64)?|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM(32|64)?|HKPD|HKU|IDABORT|IDCANCEL|IDD_DIR|IDD_INST|IDD_INSTFILES|IDD_LICENSE|IDD_SELCOM|IDD_UNINST|IDD_VERIFY|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|MB_YESNOCANCEL|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SW_HIDE|SW_SHOWDEFAULT|SW_SHOWMAXIMIZED|SW_SHOWMINIMIZED|SW_SHOWNORMAL|SYSTEM|TEMPORARY)\b/i,token:"atom"},{regex:/\b(?:admin|all|amd64-unicode|auto|both|bottom|bzip2|components|current|custom|directory|false|force|hide|highest|ifdiff|ifnewer|instfiles|lastused|leave|left|license|listonly|lzma|nevershow|none|normal|notset|off|on|right|show|silent|silentlog|textonly|top|true|try|un\.components|un\.custom|un\.directory|un\.instfiles|un\.license|uninstConfirm|user|Win10|Win7|Win8|WinVista|x-86-(ansi|unicode)|zlib)\b/i,token:"builtin"},{regex:/\$\{(?:And(?:If(?:Not)?|Unless)|Break|Case(?:2|3|4|5|Else)?|Continue|Default|Do(?:Until|While)?|Else(?:If(?:Not)?|Unless)?|End(?:If|Select|Switch)|Exit(?:Do|For|While)|For(?:Each)?|If(?:Cmd|Not(?:Then)?|Then)?|Loop(?:Until|While)?|Or(?:If(?:Not)?|Unless)|Select|Switch|Unless|While)\}/i,token:"variable-2",indent:!0},{regex:/\$\{(?:BannerTrimPath|DirState|DriveSpace|Get(BaseName|Drives|ExeName|ExePath|FileAttributes|FileExt|FileName|FileVersion|Options|OptionsS|Parameters|Parent|Root|Size|Time)|Locate|RefreshShellIcons)\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:Memento(?:Section(?:Done|End|Restore|Save)?|UnselectedSection))\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:Config(?:Read|ReadS|Write|WriteS)|File(?:Join|ReadFromEnd|Recode)|Line(?:Find|Read|Sum)|Text(?:Compare|CompareS)|TrimNewLines)\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:(?:At(?:Least|Most)|Is)(?:ServicePack|Win(?:7|8|10|95|98|200(?:0|3|8(?:R2)?)|ME|NT4|Vista|XP))|Is(?:NT|Server))\}/i,token:"variable",dedent:!0},{regex:/\$\{(?:StrFilterS?|Version(?:Compare|Convert)|Word(?:AddS?|Find(?:(?:2|3)X)?S?|InsertS?|ReplaceS?))\}/i,token:"keyword",dedent:!0},{regex:/\$\{(?:RunningX64)\}/i,token:"variable",dedent:!0},{regex:/\$\{(?:Disable|Enable)X64FSRedirection\}/i,token:"keyword",dedent:!0},{regex:/(#|;).*/,token:"comment"},{regex:/\/\*/,token:"comment",next:"comment"},{regex:/[-+\/*=<>!]+/,token:"operator"},{regex:/\$\w[\w\.]*/,token:"variable"},{regex:/\${[\!\w\.:-]+}/,token:"variableName.constant"},{regex:/\$\([\!\w\.:-]+\)/,token:"atom"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],languageData:{name:"nsis",indentOnInput:/^\s*((Function|PageEx|Section|Section(Group)?)End|(\!(endif|macroend))|\$\{(End(If|Unless|While)|Loop(Until)|Next)\})$/i,commentTokens:{line:"#",block:{open:"/*",close:"*/"}}}})},44125:function(E,c,S){S.d(c,{Q:function(){return I}});function I(e){u(e,"start");var t={},n=e.languageData||{},s=!1;for(var l in e)if(l!=n&&e.hasOwnProperty(l))for(var d=t[l]=[],r=e[l],i=0;i2&&r.token&&typeof r.token!="string"){n.pending=[];for(var a=2;a-1)return null;var l=n.indent.length-1,d=e[n.state];e:for(;;){for(var r=0;r/,x=a([C,h],{suffix:""}),E=/^((0x[\da-f]+)|((\d+\.\d+|\d\.|\.\d+|\d+)(e[\+\-]?\d+)?))[ld]?([kmgtp]b)?/i,w=/^[A-Za-z\_][A-Za-z\-\_\d]*\b/,y=/[A-Z]:|%|\?/i,M=a([/Add-(Computer|Content|History|Member|PSSnapin|Type)/,/Checkpoint-Computer/,/Clear-(Content|EventLog|History|Host|Item(Property)?|Variable)/,/Compare-Object/,/Complete-Transaction/,/Connect-PSSession/,/ConvertFrom-(Csv|Json|SecureString|StringData)/,/Convert-Path/,/ConvertTo-(Csv|Html|Json|SecureString|Xml)/,/Copy-Item(Property)?/,/Debug-Process/,/Disable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/Disconnect-PSSession/,/Enable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/(Enter|Exit)-PSSession/,/Export-(Alias|Clixml|Console|Counter|Csv|FormatData|ModuleMember|PSSession)/,/ForEach-Object/,/Format-(Custom|List|Table|Wide)/,new RegExp("Get-(Acl|Alias|AuthenticodeSignature|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Counter|Credential|Culture|Date|Event|EventLog|EventSubscriber|ExecutionPolicy|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|PfxCertificate|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|Verb|WinEvent|WmiObject)"),/Group-Object/,/Import-(Alias|Clixml|Counter|Csv|LocalizedData|Module|PSSession)/,/ImportSystemModules/,/Invoke-(Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)/,/Join-Path/,/Limit-EventLog/,/Measure-(Command|Object)/,/Move-Item(Property)?/,new RegExp("New-(Alias|Event|EventLog|Item(Property)?|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy|WinEvent)"),/Out-(Default|File|GridView|Host|Null|Printer|String)/,/Pause/,/(Pop|Push)-Location/,/Read-Host/,/Receive-(Job|PSSession)/,/Register-(EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)/,/Remove-(Computer|Event|EventLog|Item(Property)?|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)/,/Rename-(Computer|Item(Property)?)/,/Reset-ComputerMachinePassword/,/Resolve-Path/,/Restart-(Computer|Service)/,/Restore-Computer/,/Resume-(Job|Service)/,/Save-Help/,/Select-(Object|String|Xml)/,/Send-MailMessage/,new RegExp("Set-(Acl|Alias|AuthenticodeSignature|Content|Date|ExecutionPolicy|Item(Property)?|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)"),/Show-(Command|ControlPanelItem|EventLog)/,/Sort-Object/,/Split-Path/,/Start-(Job|Process|Service|Sleep|Transaction|Transcript)/,/Stop-(Computer|Job|Process|Service|Transcript)/,/Suspend-(Job|Service)/,/TabExpansion2/,/Tee-Object/,/Test-(ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)/,/Trace-Command/,/Unblock-File/,/Undo-Transaction/,/Unregister-(Event|PSSessionConfiguration)/,/Update-(FormatData|Help|List|TypeData)/,/Use-Transaction/,/Wait-(Event|Job|Process)/,/Where-Object/,/Write-(Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning)/,/cd|help|mkdir|more|oss|prompt/,/ac|asnp|cat|cd|chdir|clc|clear|clhy|cli|clp|cls|clv|cnsn|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|dnsn|ebp/,/echo|epal|epcsv|epsn|erase|etsn|exsn|fc|fl|foreach|ft|fw|gal|gbp|gc|gci|gcm|gcs|gdr|ghy|gi|gjb|gl|gm|gmo|gp|gps/,/group|gsn|gsnp|gsv|gu|gv|gwmi|h|history|icm|iex|ihy|ii|ipal|ipcsv|ipmo|ipsn|irm|ise|iwmi|iwr|kill|lp|ls|man|md/,/measure|mi|mount|move|mp|mv|nal|ndr|ni|nmo|npssc|nsn|nv|ogv|oh|popd|ps|pushd|pwd|r|rbp|rcjb|rcsn|rd|rdr|ren|ri/,/rjb|rm|rmdir|rmo|rni|rnp|rp|rsn|rsnp|rujb|rv|rvpa|rwmi|sajb|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls/,/sort|sp|spjb|spps|spsv|start|sujb|sv|swmi|tee|trcm|type|where|wjb|write/],{prefix:"",suffix:""}),R=a([/[$?^_]|Args|ConfirmPreference|ConsoleFileName|DebugPreference|Error|ErrorActionPreference|ErrorView|ExecutionContext/,/FormatEnumerationLimit|Home|Host|Input|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount/,/MaximumHistoryCount|MaximumVariableCount|MyInvocation|NestedPromptLevel|OutputEncoding|Pid|Profile|ProgressPreference/,/PSBoundParameters|PSCommandPath|PSCulture|PSDefaultParameterValues|PSEmailServer|PSHome|PSScriptRoot|PSSessionApplicationName/,/PSSessionConfigurationName|PSSessionOption|PSUICulture|PSVersionTable|Pwd|ShellId|StackTrace|VerbosePreference/,/WarningPreference|WhatIfPreference/,/Event|EventArgs|EventSubscriber|Sender/,/Matches|Ofs|ForEach|LastExitCode|PSCmdlet|PSItem|PSSenderInfo|This/,/true|false|null/],{prefix:"\\$",suffix:""}),I=a([y,M,R],{suffix:S}),f={keyword:b,number:E,operator:x,builtin:I,punctuation:k,variable:w};function o(e,n){var r=n.returnStack[n.returnStack.length-1];if(r&&r.shouldReturnFrom(n))return n.tokenize=r.tokenize,n.returnStack.pop(),n.tokenize(e,n);if(e.eatSpace())return null;if(e.eat("("))return n.bracketNesting+=1,"punctuation";if(e.eat(")"))return n.bracketNesting-=1,"punctuation";for(var i in f)if(e.match(f[i]))return i;var t=e.next();if(t==="'")return z(e,n);if(t==="$")return s(e,n);if(t==='"')return m(e,n);if(t==="<"&&e.eat("#"))return n.tokenize=v,v(e,n);if(t==="#")return e.skipToEnd(),"comment";if(t==="@"){var P=e.eat(/["']/);if(P&&e.eol())return n.tokenize=u,n.startQuote=P[0],u(e,n);if(e.eol())return"error";if(e.peek().match(/[({]/))return"punctuation";if(e.peek().match(c))return s(e,n)}return"error"}function z(e,n){for(var r;(r=e.peek())!=null;)if(e.next(),r==="'"&&!e.eat("'"))return n.tokenize=o,"string";return"error"}function m(e,n){for(var r;(r=e.peek())!=null;){if(r==="$")return n.tokenize=T,"string";if(e.next(),r==="`"){e.next();continue}if(r==='"'&&!e.eat('"'))return n.tokenize=o,"string"}return"error"}function T(e,n){return d(e,n,m)}function D(e,n){return n.tokenize=u,n.startQuote='"',u(e,n)}function j(e,n){return d(e,n,D)}function d(e,n,r){if(e.match("$(")){var i=n.bracketNesting;return n.returnStack.push({shouldReturnFrom:function(t){return t.bracketNesting===i},tokenize:r}),n.tokenize=o,n.bracketNesting+=1,"punctuation"}else return e.next(),n.returnStack.push({shouldReturnFrom:function(){return!0},tokenize:r}),n.tokenize=s,n.tokenize(e,n)}function v(e,n){for(var r=!1,i;(i=e.next())!=null;){if(r&&i==">"){n.tokenize=o;break}r=i==="#"}return"comment"}function s(e,n){var r=e.peek();return e.eat("{")?(n.tokenize=g,g(e,n)):r!=null&&r.match(c)?(e.eatWhile(c),n.tokenize=o,"variable"):(n.tokenize=o,"error")}function g(e,n){for(var r;(r=e.next())!=null;)if(r==="}"){n.tokenize=o;break}return"variable"}function u(e,n){var r=n.startQuote;if(e.sol()&&e.match(new RegExp(r+"@")))n.tokenize=o;else if(r==='"')for(;!e.eol();){var i=e.peek();if(i==="$")return n.tokenize=j,"string";e.next(),i==="`"&&e.next()}else e.skipToEnd();return"string"}const O={name:"powershell",startState:function(){return{returnStack:[],bracketNesting:0,tokenize:o}},token:function(e,n){return n.tokenize(e,n)},languageData:{commentTokens:{line:"#",block:{open:"<#",close:"#>"}}}}}}]); diff --git a/7475.0964998b.async.js b/7475.0964998b.async.js new file mode 100644 index 0000000000..4e9956bc3e --- /dev/null +++ b/7475.0964998b.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[7475],{87475:function(t,d,o){o.r(d),o.d(d,{diff:function(){return u}});var i={"+":"inserted","-":"deleted","@":"meta"};const u={name:"diff",token:function(n){var e=n.string.search(/[\t ]+?$/);if(!n.sol()||e===0)return n.skipToEnd(),("error "+(i[n.string.charAt(0)]||"")).replace(/ $/,"");var f=i[n.peek()]||n.skipToEnd();return e===-1?n.skipToEnd():n.pos=e,f}}}}]); diff --git a/7482.cfc2a864.async.js b/7482.cfc2a864.async.js new file mode 100644 index 0000000000..40999c9ed7 --- /dev/null +++ b/7482.cfc2a864.async.js @@ -0,0 +1,27 @@ +(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[7482],{92443:function(xe,me,p){"use strict";p.d(me,{Z:function(){return U}});var u=p(1413),q=p(67294),K={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 01-112.7 75.9A352.8 352.8 0 01512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 01-112.7-75.9 353.28 353.28 0 01-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z"}}]},name:"logout",theme:"outlined"},re=K,R=p(84089),s=function(f,F){return q.createElement(R.Z,(0,u.Z)((0,u.Z)({},f),{},{ref:F,icon:re}))};s.displayName="LogoutOutlined";var U=q.forwardRef(s)},18882:function(xe,me,p){"use strict";p.d(me,{f:function(){return Lo}});var u=p(4942),q=p(74165),K=p(15861),re=p(91),R=p(97685),s=p(1413),U=p(10915),W=p(21770),f=p(67294);function F(r){var e=typeof window=="undefined",t=(0,f.useState)(function(){return e?!1:window.matchMedia(r).matches}),n=(0,R.Z)(t,2),a=n[0],i=n[1];return(0,f.useLayoutEffect)(function(){if(!e){var o=window.matchMedia(r),l=function(c){return i(c.matches)};return o.addListener(l),function(){return o.removeListener(l)}}},[r]),a}var G={xs:{maxWidth:575,matchMedia:"(max-width: 575px)"},sm:{minWidth:576,maxWidth:767,matchMedia:"(min-width: 576px) and (max-width: 767px)"},md:{minWidth:768,maxWidth:991,matchMedia:"(min-width: 768px) and (max-width: 991px)"},lg:{minWidth:992,maxWidth:1199,matchMedia:"(min-width: 992px) and (max-width: 1199px)"},xl:{minWidth:1200,maxWidth:1599,matchMedia:"(min-width: 1200px) and (max-width: 1599px)"},xxl:{minWidth:1600,matchMedia:"(min-width: 1600px)"}},ee=function(){var e="md";if(typeof window=="undefined")return e;var t=Object.keys(G).find(function(n){var a=G[n].matchMedia;return!!window.matchMedia(a).matches});return e=t,e},S=function(){var e=F(G.md.matchMedia),t=F(G.lg.matchMedia),n=F(G.xxl.matchMedia),a=F(G.xl.matchMedia),i=F(G.sm.matchMedia),o=F(G.xs.matchMedia),l=(0,f.useState)(ee()),v=(0,R.Z)(l,2),c=v[0],m=v[1];return(0,f.useEffect)(function(){if(n){m("xxl");return}if(a){m("xl");return}if(t){m("lg");return}if(e){m("md");return}if(i){m("sm");return}if(o){m("xs");return}m("md")},[e,t,n,a,i,o]),c},P=p(12044);function h(r,e){var t=typeof r.pageName=="string"?r.title:e;(0,f.useEffect)(function(){(0,P.j)()&&t&&(document.title=t)},[r.title,t])}var C=p(1977),y=p(73177);function w(r){if((0,C.n)((0,y.b)(),"5.6.0")<0)return r;var e={colorGroupTitle:"groupTitleColor",radiusItem:"itemBorderRadius",radiusSubMenuItem:"subMenuItemBorderRadius",colorItemText:"itemColor",colorItemTextHover:"itemHoverColor",colorItemTextHoverHorizontal:"horizontalItemHoverColor",colorItemTextSelected:"itemSelectedColor",colorItemTextSelectedHorizontal:"horizontalItemSelectedColor",colorItemTextDisabled:"itemDisabledColor",colorDangerItemText:"dangerItemColor",colorDangerItemTextHover:"dangerItemHoverColor",colorDangerItemTextSelected:"dangerItemSelectedColor",colorDangerItemBgActive:"dangerItemActiveBg",colorDangerItemBgSelected:"dangerItemSelectedBg",colorItemBg:"itemBg",colorItemBgHover:"itemHoverBg",colorSubItemBg:"subMenuItemBg",colorItemBgActive:"itemActiveBg",colorItemBgSelected:"itemSelectedBg",colorItemBgSelectedHorizontal:"horizontalItemSelectedBg",colorActiveBarWidth:"activeBarWidth",colorActiveBarHeight:"activeBarHeight",colorActiveBarBorderSize:"activeBarBorderWidth"},t=(0,s.Z)({},r);return Object.keys(e).forEach(function(n){t[n]!==void 0&&(t[e[n]]=t[n],delete t[n])}),t}var se=p(90743);function D(r,e){return e>>>r|e<<32-r}function j(r,e,t){return r&e^~r&t}function V(r,e,t){return r&e^r&t^e&t}function le(r){return D(2,r)^D(13,r)^D(22,r)}function ue(r){return D(6,r)^D(11,r)^D(25,r)}function X(r){return D(7,r)^D(18,r)^r>>>3}function Y(r){return D(17,r)^D(19,r)^r>>>10}function be(r,e){return r[e&15]+=Y(r[e+14&15])+r[e+9&15]+X(r[e+1&15])}var ge=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],z,ve,N,Te="0123456789abcdef";function De(r,e){var t=(r&65535)+(e&65535),n=(r>>16)+(e>>16)+(t>>16);return n<<16|t&65535}function ut(){z=new Array(8),ve=new Array(2),N=new Array(64),ve[0]=ve[1]=0,z[0]=1779033703,z[1]=3144134277,z[2]=1013904242,z[3]=2773480762,z[4]=1359893119,z[5]=2600822924,z[6]=528734635,z[7]=1541459225}function Ee(){var r,e,t,n,a,i,o,l,v,c,m=new Array(16);r=z[0],e=z[1],t=z[2],n=z[3],a=z[4],i=z[5],o=z[6],l=z[7];for(var g=0;g<16;g++)m[g]=N[(g<<2)+3]|N[(g<<2)+2]<<8|N[(g<<2)+1]<<16|N[g<<2]<<24;for(var x=0;x<64;x++)v=l+ue(a)+j(a,i,o)+ge[x],x<16?v+=m[x]:v+=be(m,x),c=le(r)+V(r,e,t),l=o,o=i,i=a,a=De(n,v),n=t,t=e,e=r,r=De(v,c);z[0]+=r,z[1]+=e,z[2]+=t,z[3]+=n,z[4]+=a,z[5]+=i,z[6]+=o,z[7]+=l}function dt(r,e){var t,n,a=0;n=ve[0]>>3&63;var i=e&63;for((ve[0]+=e<<3)>29,t=0;t+63>3&63;if(N[r++]=128,r<=56)for(var e=r;e<56;e++)N[e]=0;else{for(var t=r;t<64;t++)N[t]=0;Ee();for(var n=0;n<56;n++)N[n]=0}N[56]=ve[1]>>>24&255,N[57]=ve[1]>>>16&255,N[58]=ve[1]>>>8&255,N[59]=ve[1]&255,N[60]=ve[0]>>>24&255,N[61]=ve[0]>>>16&255,N[62]=ve[0]>>>8&255,N[63]=ve[0]&255,Ee()}function ct(){for(var r=0,e=new Array(32),t=0;t<8;t++)e[r++]=z[t]>>>24&255,e[r++]=z[t]>>>16&255,e[r++]=z[t]>>>8&255,e[r++]=z[t]&255;return e}function vt(){for(var r=new String,e=0;e<8;e++)for(var t=28;t>=0;t-=4)r+=Te.charAt(z[e]>>>t&15);return r}function Pt(r){return ut(),dt(r,r.length),et(),vt()}var Wt=Pt;function bt(r){"@babel/helpers - typeof";return bt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bt(r)}var qn=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function er(r,e){return rr(r)||nr(r,e)||Kt(r,e)||tr()}function tr(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nr(r,e){var t=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(t!=null){var n=[],a=!0,i=!1,o,l;try{for(t=t.call(r);!(a=(o=t.next()).done)&&(n.push(o.value),!(e&&n.length===e));a=!0);}catch(v){i=!0,l=v}finally{try{!a&&t.return!=null&&t.return()}finally{if(i)throw l}}return n}}function rr(r){if(Array.isArray(r))return r}function ar(r,e){var t=typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=Kt(r))||e&&r&&typeof r.length=="number"){t&&(r=t);var n=0,a=function(){};return{s:a,n:function(){return n>=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(c){throw c},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,l;return{s:function(){t=t.call(r)},n:function(){var c=t.next();return i=c.done,c},e:function(c){o=!0,l=c},f:function(){try{!i&&t.return!=null&&t.return()}finally{if(o)throw l}}}}function or(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function un(r,e){for(var t=0;tr.length)&&(e=r.length);for(var t=0,n=new Array(e);t=0)&&Object.prototype.propertyIsEnumerable.call(r,n)&&(t[n]=r[n])}return t}function pr(r,e){if(r==null)return{};var t={},n=Object.keys(r),a,i;for(i=0;i=0)&&(t[a]=r[a]);return t}function sn(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),t.push.apply(t,n)}return t}function Ze(r){for(var e=1;e0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"/";return e.endsWith("/*")?e.replace("/*","/"):(e||t).startsWith("/")||Gt(e)?e:"/".concat(t,"/").concat(e).replace(/\/\//g,"/").replace(/\/\//g,"/")},Cr=function(e,t){var n=e.menu,a=n===void 0?{}:n,i=e.indexRoute,o=e.path,l=o===void 0?"":o,v=e.children||[],c=a.name,m=c===void 0?e.name:c,g=a.icon,x=g===void 0?e.icon:g,_=a.hideChildren,O=_===void 0?e.hideChildren:_,E=a.flatMenu,$=E===void 0?e.flatMenu:E,L=i&&Object.keys(i).join(",")!=="redirect"?[Ze({path:l,menu:a},i)].concat(v||[]):v,A=Ze({},e);if(m&&(A.name=m),x&&(A.icon=x),L&&L.length){if(O)return delete A.children,A;var k=Vt(Ze(Ze({},t),{},{data:L}),e);if($)return k;delete A[Ne]}return A},ft=function(e){return Array.isArray(e)&&e.length>0};function Vt(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"},t=r.data,n=r.formatMessage,a=r.parentName,i=r.locale;return!t||!Array.isArray(t)?[]:t.filter(function(o){return o?ft(o.children)||o.path||o.originPath||o.layout?!0:(o.redirect||o.unaccessible,!1):!1}).filter(function(o){var l,v;return!(o==null||(l=o.menu)===null||l===void 0)&&l.name||o!=null&&o.flatMenu||!(o==null||(v=o.menu)===null||v===void 0)&&v.flatMenu?!0:o.menu!==!1}).map(function(o){var l=Ze(Ze({},o),{},{path:o.path||o.originPath});return!l.children&&l[Ne]&&(l.children=l[Ne],delete l[Ne]),l.unaccessible&&delete l.name,l.path==="*"&&(l.path="."),l.path==="/*"&&(l.path="."),!l.path&&l.originPath&&(l.path=l.originPath),l}).map(function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},l=o.children||o[Ne]||[],v=vn(o.path,e?e.path:"/"),c=o.name,m=xr(o,a||"menu"),g=m!==!1&&i!==!1&&n&&m?n({id:m,defaultMessage:c}):c,x=e.pro_layout_parentKeys,_=x===void 0?[]:x,O=e.children,E=e.icon,$=e.flatMenu,L=e.indexRoute,A=e.routes,k=hr(e,qn),Z=new Set([].concat(cn(_),cn(o.parentKeys||[])));e.key&&Z.add(e.key);var T=Ze(Ze(Ze({},k),{},{menu:void 0},o),{},{path:v,locale:m,key:o.key||yr(Ze(Ze({},o),{},{path:v})),pro_layout_parentKeys:Array.from(Z).filter(function(b){return b&&b!=="/"})});if(g?T.name=g:delete T.name,T.menu===void 0&&delete T.menu,ft(l)){var I=Vt(Ze(Ze({},r),{},{data:l,parentName:m||""}),T);ft(I)&&(T.children=I)}return Cr(T,r)}).flat(1)}var br=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.filter(function(t){return t&&(t.name||ft(t.children))&&!t.hideInMenu&&!t.redirect}).map(function(t){var n=Ze({},t),a=n.children||t[Ne]||[];if(delete n[Ne],ft(a)&&!n.hideChildrenInMenu&&a.some(function(o){return o&&!!o.name})){var i=r(a);if(i.length)return Ze(Ze({},n),{},{children:i})}return Ze({},t)}).filter(function(t){return t})},Sr=function(r){lr(t,r);var e=ur(t);function t(){return or(this,t),e.apply(this,arguments)}return ir(t,[{key:"get",value:function(a){var i;try{var o=ar(this.entries()),l;try{for(o.s();!(l=o.n()).done;){var v=er(l.value,2),c=v[0],m=v[1],g=Zt(c);if(!Gt(c)&&(0,se.Bo)(g,[]).test(a)){i=m;break}}}catch(x){o.e(x)}finally{o.f()}}catch(x){i=void 0}return i}}]),t}(Ft(Map)),Mr=function(e){var t=new Sr,n=function a(i,o){i.forEach(function(l){var v=l.children||l[Ne]||[];ft(v)&&a(v,l);var c=vn(l.path,o?o.path:"/");t.set(Zt(c),l)})};return n(e),t},Zr=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(function(t){var n=t.children||t[Ne];if(ft(n)){var a=r(n);if(a.length)return Ze({},t)}var i=Ze({},t);return delete i[Ne],delete i.children,i}).filter(function(t){return t})},$r=function(e,t,n,a){var i=Vt({data:e,formatMessage:n,locale:t}),o=a?Zr(i):br(i),l=Mr(i);return{breadcrumb:l,menuData:o}},Ir=$r;function fn(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),t.push.apply(t,n)}return t}function $t(r){for(var e=1;e0&&arguments[0]!==void 0?arguments[0]:[],t={};return e.forEach(function(n){var a=$t({},n);if(!(!a||!a.key)){!a.children&&a[Ne]&&(a.children=a[Ne],delete a[Ne]);var i=a.children||[];t[Zt(a.path||a.key||"/")]=$t({},a),t[a.key||a.path||"/"]=$t({},a),i&&(t=$t($t({},t),r(i)))}}),t},Tr=Rr,wr=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return e.filter(function(a){if(a==="/"&&t==="/")return!0;if(a!=="/"&&a!=="/*"&&a&&!Gt(a)){var i=Zt(a);try{if(n&&(0,se.Bo)("".concat(i)).test(t)||(0,se.Bo)("".concat(i),[]).test(t)||(0,se.Bo)("".concat(i,"/(.*)")).test(t))return!0}catch(o){}}return!1}).sort(function(a,i){return a===t?10:i===t?-10:a.substr(1).split("/").length-i.substr(1).split("/").length})},Br=function(e,t,n,a){var i=Tr(t),o=Object.keys(i),l=wr(o,e||"/",a);return!l||l.length<1?[]:(n||(l=[l[l.length-1]]),l.map(function(v){var c=i[v]||{pro_layout_parentKeys:"",key:""},m=new Map,g=(c.pro_layout_parentKeys||[]).map(function(x){return m.has(x)?null:(m.set(x,!0),i[x])}).filter(function(x){return x});return c.key&&g.push(c),g}).flat(1))},Pr=Br,Ve=p(94740),It=p(97183),jr=p(94184),de=p.n(jr),mn=p(97435),Er=p(80334),hn=p(59734),d=p(85893),Lr=function(){return(0,d.jsxs)("svg",{width:"1em",height:"1em",viewBox:"0 0 200 200",children:[(0,d.jsxs)("defs",{children:[(0,d.jsxs)("linearGradient",{x1:"62.1023273%",y1:"0%",x2:"108.19718%",y2:"37.8635764%",id:"linearGradient-1",children:[(0,d.jsx)("stop",{stopColor:"#4285EB",offset:"0%"}),(0,d.jsx)("stop",{stopColor:"#2EC7FF",offset:"100%"})]}),(0,d.jsxs)("linearGradient",{x1:"69.644116%",y1:"0%",x2:"54.0428975%",y2:"108.456714%",id:"linearGradient-2",children:[(0,d.jsx)("stop",{stopColor:"#29CDFF",offset:"0%"}),(0,d.jsx)("stop",{stopColor:"#148EFF",offset:"37.8600687%"}),(0,d.jsx)("stop",{stopColor:"#0A60FF",offset:"100%"})]}),(0,d.jsxs)("linearGradient",{x1:"69.6908165%",y1:"-12.9743587%",x2:"16.7228981%",y2:"117.391248%",id:"linearGradient-3",children:[(0,d.jsx)("stop",{stopColor:"#FA816E",offset:"0%"}),(0,d.jsx)("stop",{stopColor:"#F74A5C",offset:"41.472606%"}),(0,d.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]}),(0,d.jsxs)("linearGradient",{x1:"68.1279872%",y1:"-35.6905737%",x2:"30.4400914%",y2:"114.942679%",id:"linearGradient-4",children:[(0,d.jsx)("stop",{stopColor:"#FA8E7D",offset:"0%"}),(0,d.jsx)("stop",{stopColor:"#F74A5C",offset:"51.2635191%"}),(0,d.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]})]}),(0,d.jsx)("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:(0,d.jsx)("g",{transform:"translate(-20.000000, -20.000000)",children:(0,d.jsx)("g",{transform:"translate(20.000000, 20.000000)",children:(0,d.jsxs)("g",{children:[(0,d.jsxs)("g",{fillRule:"nonzero",children:[(0,d.jsxs)("g",{children:[(0,d.jsx)("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C99.2571609,26.9692191 101.032305,26.9692191 102.20193,28.1378823 L129.985225,55.8983314 C134.193707,60.1033528 141.017005,60.1033528 145.225487,55.8983314 C149.433969,51.69331 149.433969,44.8756232 145.225487,40.6706018 L108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-1)"}),(0,d.jsx)("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C100.999864,25.6271836 105.751642,20.541824 112.729652,19.3524487 C117.915585,18.4685261 123.585219,20.4140239 129.738554,25.1889424 C125.624663,21.0784292 118.571995,14.0340304 108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-2)"})]}),(0,d.jsx)("path",{d:"M153.685633,135.854579 C157.894115,140.0596 164.717412,140.0596 168.925894,135.854579 L195.959977,108.842726 C200.659183,104.147384 200.659183,96.5636133 195.960527,91.8688194 L168.690777,64.7181159 C164.472332,60.5180858 157.646868,60.5241425 153.435895,64.7316526 C149.227413,68.936674 149.227413,75.7543607 153.435895,79.9593821 L171.854035,98.3623765 C173.02366,99.5310396 173.02366,101.304724 171.854035,102.473387 L153.685633,120.626849 C149.47715,124.83187 149.47715,131.649557 153.685633,135.854579 Z",fill:"url(#linearGradient-3)"})]}),(0,d.jsx)("ellipse",{fill:"url(#linearGradient-4)",cx:"100.519339",cy:"100.436681",rx:"23.6001926",ry:"23.580786"})]})})})})]})},Hr=p(87909),pn=function r(e){return(e||[]).reduce(function(t,n){if(n.key&&t.push(n.key),n.children||n.routes){var a=t.concat(r(n.children||n.routes)||[]);return a}return t},[])},gn={techBlue:"#1677FF",daybreak:"#1890ff",dust:"#F5222D",volcano:"#FA541C",sunset:"#FAAD14",cyan:"#13C2C2",green:"#52C41A",geekblue:"#2F54EB",purple:"#722ED1"};function Jo(r){return r&&gn[r]?gn[r]:r}function Et(r){return r.map(function(e){var t=e.children||[],n=(0,s.Z)({},e);if(!n.children&&n.routes&&(n.children=n.routes),!n.name||n.hideInMenu)return null;if(n&&n!==null&&n!==void 0&&n.children){if(!n.hideChildrenInMenu&&t.some(function(a){return a&&a.name&&!a.hideInMenu}))return(0,s.Z)((0,s.Z)({},e),{},{children:Et(t)});delete n.children}return delete n.routes,n}).filter(function(e){return e})}var Lt=p(87462),Nr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"},Ar=Nr,Or=p(65555),Dr=function(e,t){return f.createElement(Or.Z,(0,Lt.Z)({},e,{ref:t,icon:Ar}))},kr=f.forwardRef(Dr),zr=p(55241),Wr=function(){return(0,d.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:(0,d.jsx)("path",{d:"M0 0h3v3H0V0zm4.5 0h3v3h-3V0zM9 0h3v3H9V0zM0 4.5h3v3H0v-3zm4.503 0h3v3h-3v-3zM9 4.5h3v3H9v-3zM0 9h3v3H0V9zm4.503 0h3v3h-3V9zM9 9h3v3H9V9z"})})},Fr=function r(e){var t=e.appList,n=e.baseClassName,a=e.hashId,i=e.itemClick;return(0,d.jsx)("div",{className:"".concat(n,"-content ").concat(a).trim(),children:(0,d.jsx)("ul",{className:"".concat(n,"-content-list ").concat(a).trim(),children:t==null?void 0:t.map(function(o,l){var v;return o!=null&&(v=o.children)!==null&&v!==void 0&&v.length?(0,d.jsxs)("div",{className:"".concat(n,"-content-list-item-group ").concat(a).trim(),children:[(0,d.jsx)("div",{className:"".concat(n,"-content-list-item-group-title ").concat(a).trim(),children:o.title}),(0,d.jsx)(r,{hashId:a,itemClick:i,appList:o==null?void 0:o.children,baseClassName:n})]},l):(0,d.jsx)("li",{className:"".concat(n,"-content-list-item ").concat(a).trim(),onClick:function(m){m.stopPropagation(),i==null||i(o)},children:(0,d.jsxs)("a",{href:i?void 0:o.url,target:o.target,rel:"noreferrer",children:[Qt(o.icon),(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{children:o.title}),o.desc?(0,d.jsx)("span",{children:o.desc}):null]})]})},l)})})})},Xt=function(e){if(!e||!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(n){return!1}},Kr=function(e,t){if(e&&typeof e=="string"&&Xt(e))return(0,d.jsx)("img",{src:e,alt:"logo"});if(typeof e=="function")return e();if(e&&typeof e=="string")return(0,d.jsx)("div",{id:"avatarLogo",children:e});if(!e&&t&&typeof t=="string"){var n=t.substring(0,1);return(0,d.jsx)("div",{id:"avatarLogo",children:n})}return e},Ur=function r(e){var t=e.appList,n=e.baseClassName,a=e.hashId,i=e.itemClick;return(0,d.jsx)("div",{className:"".concat(n,"-content ").concat(a).trim(),children:(0,d.jsx)("ul",{className:"".concat(n,"-content-list ").concat(a).trim(),children:t==null?void 0:t.map(function(o,l){var v;return o!=null&&(v=o.children)!==null&&v!==void 0&&v.length?(0,d.jsxs)("div",{className:"".concat(n,"-content-list-item-group ").concat(a).trim(),children:[(0,d.jsx)("div",{className:"".concat(n,"-content-list-item-group-title ").concat(a).trim(),children:o.title}),(0,d.jsx)(r,{hashId:a,itemClick:i,appList:o==null?void 0:o.children,baseClassName:n})]},l):(0,d.jsx)("li",{className:"".concat(n,"-content-list-item ").concat(a).trim(),onClick:function(m){m.stopPropagation(),i==null||i(o)},children:(0,d.jsxs)("a",{href:i?"javascript:;":o.url,target:o.target,rel:"noreferrer",children:[Kr(o.icon,o.title),(0,d.jsx)("div",{children:(0,d.jsx)("div",{children:o.title})})]})},l)})})})},Le=p(98082),Gr=function(e){return{"&-content":{maxHeight:"calc(100vh - 48px)",overflow:"auto","&-list":{boxSizing:"content-box",maxWidth:656,marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none","&-item":{position:"relative",display:"inline-block",width:328,height:72,paddingInline:16,paddingBlock:16,verticalAlign:"top",listStyleType:"none",transition:"transform 0.2s cubic-bezier(0.333, 0, 0, 1)",borderRadius:e.borderRadius,"&-group":{marginBottom:16,"&-title":{margin:"16px 0 8px 12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginTop:12}}},"&:hover":{backgroundColor:e.colorBgTextHover},"* div":Le.Wf===null||Le.Wf===void 0?void 0:(0,Le.Wf)(e),a:{display:"flex",height:"100%",fontSize:12,textDecoration:"none","& > img":{width:40,height:40},"& > div":{marginInlineStart:14,color:e.colorTextHeading,fontSize:14,lineHeight:"22px",whiteSpace:"nowrap",textOverflow:"ellipsis"},"& > div > span":{color:e.colorTextSecondary,fontSize:12,lineHeight:"20px"}}}}}}},Vr=function(e){return{"&-content":{maxHeight:"calc(100vh - 48px)",overflow:"auto","&-list":{boxSizing:"border-box",maxWidth:376,marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none","&-item":{position:"relative",display:"inline-block",width:104,height:104,marginBlock:8,marginInline:8,paddingInline:24,paddingBlock:24,verticalAlign:"top",listStyleType:"none",transition:"transform 0.2s cubic-bezier(0.333, 0, 0, 1)",borderRadius:e.borderRadius,"&-group":{marginBottom:16,"&-title":{margin:"16px 0 8px 12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginTop:12}}},"&:hover":{backgroundColor:e.colorBgTextHover},a:{display:"flex",flexDirection:"column",alignItems:"center",height:"100%",fontSize:12,textDecoration:"none","& > #avatarLogo":{width:40,height:40,margin:"0 auto",color:e.colorPrimary,fontSize:22,lineHeight:"40px",textAlign:"center",backgroundImage:"linear-gradient(180deg, #E8F0FB 0%, #F6F8FC 100%)",borderRadius:e.borderRadius},"& > img":{width:40,height:40},"& > div":{marginBlockStart:5,marginInlineStart:0,color:e.colorTextHeading,fontSize:14,lineHeight:"22px",whiteSpace:"nowrap",textOverflow:"ellipsis"},"& > div > span":{color:e.colorTextSecondary,fontSize:12,lineHeight:"20px"}}}}}}},Xr=function(e){var t,n,a,i,o;return(0,u.Z)({},e.componentCls,{"&-icon":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInline:4,paddingBlock:0,fontSize:14,lineHeight:"14px",height:28,width:28,cursor:"pointer",color:(t=e.layout)===null||t===void 0?void 0:t.colorTextAppListIcon,borderRadius:e.borderRadius,"&:hover":{color:(n=e.layout)===null||n===void 0?void 0:n.colorTextAppListIconHover,backgroundColor:(a=e.layout)===null||a===void 0?void 0:a.colorBgAppListIconHover},"&-active":{color:(i=e.layout)===null||i===void 0?void 0:i.colorTextAppListIconHover,backgroundColor:(o=e.layout)===null||o===void 0?void 0:o.colorBgAppListIconHover}},"&-item-title":{marginInlineStart:"16px",marginInlineEnd:"8px",marginBlockStart:0,marginBlockEnd:"12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginBlockStart:12}},"&-popover":(0,u.Z)({},"".concat(e.antCls,"-popover-arrow"),{display:"none"}),"&-simple":Vr(e),"&-default":Gr(e)})};function Qr(r){return(0,Le.Xj)("AppsLogoComponents",function(e){var t=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[Xr(t)]})}var Qt=function(e){return typeof e=="string"?(0,d.jsx)("img",{width:"auto",height:22,src:e,alt:"logo"}):typeof e=="function"?e():e},Yt=function(e){var t,n=e.appList,a=e.appListRender,i=e.prefixCls,o=i===void 0?"ant-pro":i,l=e.onItemClick,v=f.useRef(null),c=f.useRef(null),m="".concat(o,"-layout-apps"),g=Qr(m),x=g.wrapSSR,_=g.hashId,O=(0,f.useState)(!1),E=(0,R.Z)(O,2),$=E[0],L=E[1],A=function(b){l==null||l(b,c)},k=(0,f.useMemo)(function(){var I=n==null?void 0:n.some(function(b){return!(b!=null&&b.desc)});return I?(0,d.jsx)(Ur,{hashId:_,appList:n,itemClick:l?A:void 0,baseClassName:"".concat(m,"-simple")}):(0,d.jsx)(Fr,{hashId:_,appList:n,itemClick:l?A:void 0,baseClassName:"".concat(m,"-default")})},[n,m,_]);if(!(e!=null&&(t=e.appList)!==null&&t!==void 0&&t.length))return null;var Z=a?a(e==null?void 0:e.appList,k):k,T=(0,y.X)(void 0,function(I){return L(I)});return x((0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{ref:v,onClick:function(b){b.stopPropagation(),b.preventDefault()}}),(0,d.jsx)(zr.Z,(0,s.Z)((0,s.Z)({placement:"bottomRight",trigger:["click"],zIndex:9999,arrow:!1},T),{},{overlayClassName:"".concat(m,"-popover ").concat(_).trim(),content:Z,getPopupContainer:function(){return v.current||document.body},children:(0,d.jsx)("span",{ref:c,onClick:function(b){b.stopPropagation()},className:de()("".concat(m,"-icon"),_,(0,u.Z)({},"".concat(m,"-icon-active"),$)),children:(0,d.jsx)(Wr,{})})}))]}))},yn=p(7134),Yr=p(78957),xn=p(68508),Jr=p(10130);function qr(){return(0,d.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:(0,d.jsx)("path",{d:"M6.432 7.967a.448.448 0 01-.318.133h-.228a.46.46 0 01-.318-.133L2.488 4.85a.305.305 0 010-.43l.427-.43a.293.293 0 01.42 0L6 6.687l2.665-2.699a.299.299 0 01.426 0l.42.431a.305.305 0 010 .43L6.432 7.967z"})})}var ea=function(e){var t,n,a,i,o,l;return(0,u.Z)({},e.componentCls,{position:"absolute",insetBlockStart:"18px",zIndex:"101",width:"24px",height:"24px",fontSize:["14px","16px"],textAlign:"center",borderRadius:"40px",insetInlineEnd:"-13px",transition:"transform 0.3s",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:(t=e.layout)===null||t===void 0||(n=t.sider)===null||n===void 0?void 0:n.colorTextCollapsedButton,backgroundColor:(a=e.layout)===null||a===void 0||(i=a.sider)===null||i===void 0?void 0:i.colorBgCollapsedButton,boxShadow:"0 2px 8px -2px rgba(0,0,0,0.05), 0 1px 4px -1px rgba(25,15,15,0.07), 0 0 1px 0 rgba(0,0,0,0.08)","&:hover":{color:(o=e.layout)===null||o===void 0||(l=o.sider)===null||l===void 0?void 0:l.colorTextCollapsedButtonHover,boxShadow:"0 4px 16px -4px rgba(0,0,0,0.05), 0 2px 8px -2px rgba(25,15,15,0.07), 0 1px 2px 0 rgba(0,0,0,0.08)"},".anticon":{fontSize:"14px"},"& > svg":{transition:"transform 0.3s",transform:"rotate(90deg)"},"&-collapsed":{"& > svg":{transform:"rotate(-90deg)"}}})};function ta(r){return(0,Le.Xj)("SiderMenuCollapsedIcon",function(e){var t=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[ea(t)]})}var na=["isMobile","collapsed"],ra=function(e){var t,n=e.isMobile,a=e.collapsed,i=(0,re.Z)(e,na),o=ta(e.className),l=o.wrapSSR,v=o.hashId;return n&&a?null:l((0,d.jsx)("div",(0,s.Z)((0,s.Z)({},i),{},{className:de()(e.className,v,(t={},(0,u.Z)(t,"".concat(e.className,"-collapsed"),a),(0,u.Z)(t,"".concat(e.className,"-is-mobile"),n),t)),children:(0,d.jsx)(qr,{})})))},Ht=p(74902),Cn=p(43144),bn=p(15671),aa=p(42550),oa=p(2446),Nt=p(14004),ia=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],Sn=f.forwardRef(function(r,e){var t=r.className,n=r.component,a=r.viewBox,i=r.spin,o=r.rotate,l=r.tabIndex,v=r.onClick,c=r.children,m=(0,re.Z)(r,ia),g=f.useRef(),x=(0,aa.x1)(g,e);(0,Nt.Kp)(!!(n||c),"Should have `component` prop or `children`."),(0,Nt.C3)(g);var _=f.useContext(oa.Z),O=_.prefixCls,E=O===void 0?"anticon":O,$=_.rootClassName,L=de()($,E,t),A=de()((0,u.Z)({},"".concat(E,"-spin"),!!i)),k=o?{msTransform:"rotate(".concat(o,"deg)"),transform:"rotate(".concat(o,"deg)")}:void 0,Z=(0,s.Z)((0,s.Z)({},Nt.vD),{},{className:A,style:k,viewBox:a});a||delete Z.viewBox;var T=function(){return n?f.createElement(n,Z,c):c?((0,Nt.Kp)(!!a||f.Children.count(c)===1&&f.isValidElement(c)&&f.Children.only(c).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),f.createElement("svg",(0,Lt.Z)({},Z,{viewBox:a}),c)):null},I=l;return I===void 0&&v&&(I=-1),f.createElement("span",(0,Lt.Z)({role:"img"},m,{ref:x,tabIndex:I,onClick:v,className:L}),T())});Sn.displayName="AntdIcon";var la=Sn,ua=["type","children"],Mn=new Set;function da(r){return!!(typeof r=="string"&&r.length&&!Mn.has(r))}function At(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=r[e];if(da(t)){var n=document.createElement("script");n.setAttribute("src",t),n.setAttribute("data-namespace",t),r.length>e+1&&(n.onload=function(){At(r,e+1)},n.onerror=function(){At(r,e+1)}),Mn.add(t),document.body.appendChild(n)}}function Zn(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=r.scriptUrl,t=r.extraCommonProps,n=t===void 0?{}:t;e&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(e)?At(e.reverse()):At([e]));var a=f.forwardRef(function(i,o){var l=i.type,v=i.children,c=(0,re.Z)(i,ua),m=null;return i.type&&(m=f.createElement("use",{xlinkHref:"#".concat(l)})),v&&(m=v),f.createElement(la,(0,Lt.Z)({},n,c,{ref:o}),m)});return a.displayName="Iconfont",a}function ca(r){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(r)}var sa=p(83062),va=p(99559),$n={navTheme:"light",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,iconfontUrl:"",colorPrimary:"#1677FF",splitMenus:!1},fa=function(e,t){var n,a,i,o,l,v,c,m=t.includes("horizontal")?(n=e.layout)===null||n===void 0?void 0:n.header:(a=e.layout)===null||a===void 0?void 0:a.sider;return(0,s.Z)((0,s.Z)((0,u.Z)({},"".concat(e.componentCls),(c={background:"transparent",color:m==null?void 0:m.colorTextMenu,border:"none"},(0,u.Z)(c,"".concat(e.componentCls,"-menu-item"),{transition:"none !important"}),(0,u.Z)(c,"".concat(e.componentCls,"-submenu-has-icon"),(0,u.Z)({},"> ".concat(e.antCls,"-menu-sub"),{paddingInlineStart:10})),(0,u.Z)(c,"".concat(e.antCls,"-menu-title-content"),{width:"100%",height:"100%",display:"inline-flex"}),(0,u.Z)(c,"".concat(e.antCls,"-menu-title-content"),{"&:first-child":{width:"100%"}}),(0,u.Z)(c,"".concat(e.componentCls,"-item-icon"),{display:"flex",alignItems:"center"}),(0,u.Z)(c,"&&-collapsed",(i={},(0,u.Z)(i,"".concat(e.antCls,`-menu-item, + `).concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,`-menu-item, + `).concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu > ").concat(e.antCls,`-menu-submenu-title, + `).concat(e.antCls,"-menu-submenu > ").concat(e.antCls,"-menu-submenu-title"),{paddingInline:"0 !important",marginBlock:"4px !important"}),(0,u.Z)(i,"".concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,`-menu-submenu-title, + `).concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,"-menu-submenu-title"),{backgroundColor:m==null?void 0:m.colorBgMenuItemSelected,borderRadius:e.borderRadiusLG}),(0,u.Z)(i,"".concat(e.componentCls,"-group"),(0,u.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{paddingInline:0})),i)),(0,u.Z)(c,"&-item-title",(v={display:"flex",flexDirection:"row",alignItems:"center",gap:e.marginXS},(0,u.Z)(v,"".concat(e.componentCls,"-item-text"),{maxWidth:"100%",textOverflow:"ellipsis",overflow:"hidden",wordBreak:"break-all",whiteSpace:"nowrap"}),(0,u.Z)(v,"&-collapsed",(o={minWidth:40,height:40},(0,u.Z)(o,"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px !important",height:"16px"}}),(0,u.Z)(o,"".concat(e.componentCls,"-item-text-has-icon"),{display:"none !important"}),o)),(0,u.Z)(v,"&-collapsed-level-0",{flexDirection:"column",justifyContent:"center"}),(0,u.Z)(v,"&".concat(e.componentCls,"-group-item-title"),{gap:e.marginXS,height:18,overflow:"hidden"}),(0,u.Z)(v,"&".concat(e.componentCls,"-item-collapsed-show-title"),(0,u.Z)({lineHeight:"16px",gap:0},"&".concat(e.componentCls,"-item-title-collapsed"),(l={display:"flex"},(0,u.Z)(l,"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px!important",height:"16px"}}),(0,u.Z)(l,"".concat(e.componentCls,"-item-text"),{opacity:"1 !important",display:"inline !important",textAlign:"center",fontSize:12,height:12,lineHeight:"12px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",margin:0,padding:0,marginBlockStart:4}),l))),v)),(0,u.Z)(c,"&-group",(0,u.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:12,color:e.colorTextLabel,".anticon":{marginInlineEnd:8}})),(0,u.Z)(c,"&-group-divider",{color:e.colorTextSecondary,fontSize:12,lineHeight:20}),c)),t.includes("horizontal")?{}:(0,u.Z)({},"".concat(e.antCls,"-menu-submenu").concat(e.antCls,"-menu-submenu-popup"),(0,u.Z)({},"".concat(e.componentCls,"-item-title"),{alignItems:"flex-start"}))),{},(0,u.Z)({},"".concat(e.antCls,"-menu-submenu-popup"),{backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"}))};function ma(r,e){return(0,Le.Xj)("ProLayoutBaseMenu"+e,function(t){var n=(0,s.Z)((0,s.Z)({},t),{},{componentCls:".".concat(r)});return[fa(n,e||"inline")]})}var In=function(e){var t=(0,f.useState)(e.collapsed),n=(0,R.Z)(t,2),a=n[0],i=n[1],o=(0,f.useState)(!1),l=(0,R.Z)(o,2),v=l[0],c=l[1];return(0,f.useEffect)(function(){c(!1),setTimeout(function(){i(e.collapsed)},400)},[e.collapsed]),e.disable?e.children:(0,d.jsx)(sa.Z,{title:e.title,open:a&&e.collapsed?v:!1,placement:"right",onOpenChange:c,children:e.children})},_n=Zn({scriptUrl:$n.iconfontUrl}),Rn=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-",n=arguments.length>2?arguments[2]:void 0;if(typeof e=="string"&&e!==""){if(Xt(e)||ca(e))return(0,d.jsx)("img",{width:16,src:e,alt:"icon",className:n},e);if(e.startsWith(t))return(0,d.jsx)(_n,{type:e})}return e},Tn=function(e){if(e&&typeof e=="string"){var t=e.substring(0,1).toUpperCase();return t}return null},ha=(0,Cn.Z)(function r(e){var t=this;(0,bn.Z)(this,r),(0,u.Z)(this,"props",void 0),(0,u.Z)(this,"getNavMenuItems",function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0;return n.map(function(i){return t.getSubMenuOrItem(i,a)}).filter(function(i){return i}).flat(1)}),(0,u.Z)(this,"getSubMenuOrItem",function(n,a){var i=t.props,o=i.subMenuItemRender,l=i.baseClassName,v=i.prefixCls,c=i.collapsed,m=i.menu,g=i.iconPrefixes,x=i.layout,_=(m==null?void 0:m.type)==="group"&&x!=="top",O=t.props.token,E=t.getIntlName(n),$=(n==null?void 0:n.children)||(n==null?void 0:n.routes),L=_&&a===0?"group":void 0;if(Array.isArray($)&&$.length>0){var A,k,Z,T,I,b,te,Q,ne=a===0||_&&a===1,ie=Rn(n.icon,g,"".concat(l,"-icon ").concat((A=t.props)===null||A===void 0?void 0:A.hashId)),ce=c&&ne?Tn(E):null,H=(0,d.jsxs)("div",{className:de()("".concat(l,"-item-title"),(k=t.props)===null||k===void 0?void 0:k.hashId,(Z={},(0,u.Z)(Z,"".concat(l,"-item-title-collapsed"),c),(0,u.Z)(Z,"".concat(l,"-item-title-collapsed-level-").concat(a),c),(0,u.Z)(Z,"".concat(l,"-group-item-title"),L==="group"),(0,u.Z)(Z,"".concat(l,"-item-collapsed-show-title"),(m==null?void 0:m.collapsedShowTitle)&&c),Z)),children:[L==="group"&&c?null:ne&&ie?(0,d.jsx)("span",{className:"".concat(l,"-item-icon ").concat((T=t.props)===null||T===void 0?void 0:T.hashId).trim(),children:ie}):ce,(0,d.jsx)("span",{className:de()("".concat(l,"-item-text"),(I=t.props)===null||I===void 0?void 0:I.hashId,(0,u.Z)({},"".concat(l,"-item-text-has-icon"),L!=="group"&&ne&&(ie||ce))),children:E})]}),ae=o?o((0,s.Z)((0,s.Z)({},n),{},{isUrl:!1}),H,t.props):H,Se=t.getNavMenuItems($,a+1);return _&&a===0&&t.props.collapsed&&!m.collapsedShowGroupTitle?t.getNavMenuItems($,a):[{type:L,key:n.key||n.path,label:ae,onClick:_?void 0:n.onTitleClick,children:Se,className:de()((b={},(0,u.Z)(b,"".concat(l,"-group"),L==="group"),(0,u.Z)(b,"".concat(l,"-submenu"),L!=="group"),(0,u.Z)(b,"".concat(l,"-submenu-has-icon"),L!=="group"&&ne&&ie),b))},_&&a===0?{type:"divider",prefixCls:v,className:"".concat(l,"-divider"),key:(n.key||n.path)+"-group-divider",style:{padding:0,borderBlockEnd:0,margin:t.props.collapsed?"4px":"6px 16px",marginBlockStart:t.props.collapsed?4:8,borderColor:O==null||(te=O.layout)===null||te===void 0||(Q=te.sider)===null||Q===void 0?void 0:Q.colorMenuItemDivider}}:void 0].filter(Boolean)}return{className:"".concat(l,"-menu-item"),disabled:n.disabled,key:n.key||n.path,onClick:n.onTitleClick,label:t.getMenuItemPath(n,a)}}),(0,u.Z)(this,"getIntlName",function(n){var a=n.name,i=n.locale,o=t.props,l=o.menu,v=o.formatMessage;return i&&(l==null?void 0:l.locale)!==!1?v==null?void 0:v({id:i,defaultMessage:a}):a}),(0,u.Z)(this,"getMenuItemPath",function(n,a){var i,o,l,v,c,m=t.conversionPath(n.path||"/"),g=t.props,x=g.location,_=x===void 0?{pathname:"/"}:x,O=g.isMobile,E=g.onCollapse,$=g.menuItemRender,L=g.iconPrefixes,A=t.getIntlName(n),k=t.props,Z=k.baseClassName,T=k.menu,I=k.collapsed,b=(T==null?void 0:T.type)==="group",te=a===0||b&&a===1,Q=te?Rn(n.icon,L,"".concat(Z,"-icon ").concat((i=t.props)===null||i===void 0?void 0:i.hashId)):null,ne=I&&te?Tn(A):null,ie=(0,d.jsxs)("div",{className:de()("".concat(Z,"-item-title"),(o=t.props)===null||o===void 0?void 0:o.hashId,(l={},(0,u.Z)(l,"".concat(Z,"-item-title-collapsed"),I),(0,u.Z)(l,"".concat(Z,"-item-title-collapsed-level-").concat(a),I),(0,u.Z)(l,"".concat(Z,"-item-collapsed-show-title"),(T==null?void 0:T.collapsedShowTitle)&&I),l)),children:[(0,d.jsx)("span",{className:"".concat(Z,"-item-icon ").concat((v=t.props)===null||v===void 0?void 0:v.hashId).trim(),style:{display:ne===null&&!Q?"none":""},children:Q||(0,d.jsx)("span",{className:"anticon",children:ne})}),(0,d.jsx)("span",{className:de()("".concat(Z,"-item-text"),(c=t.props)===null||c===void 0?void 0:c.hashId,(0,u.Z)({},"".concat(Z,"-item-text-has-icon"),te&&(Q||ne))),children:A})]},m),ce=Xt(m);if(ce){var H,ae,Se,B;ie=(0,d.jsxs)("span",{onClick:function(){var oe,M;(oe=window)===null||oe===void 0||(M=oe.open)===null||M===void 0||M.call(oe,m,"_blank")},className:de()("".concat(Z,"-item-title"),(H=t.props)===null||H===void 0?void 0:H.hashId,(ae={},(0,u.Z)(ae,"".concat(Z,"-item-title-collapsed"),I),(0,u.Z)(ae,"".concat(Z,"-item-title-collapsed-level-").concat(a),I),(0,u.Z)(ae,"".concat(Z,"-item-link"),!0),(0,u.Z)(ae,"".concat(Z,"-item-collapsed-show-title"),(T==null?void 0:T.collapsedShowTitle)&&I),ae)),children:[(0,d.jsx)("span",{className:"".concat(Z,"-item-icon ").concat((Se=t.props)===null||Se===void 0?void 0:Se.hashId).trim(),style:{display:ne===null&&!Q?"none":""},children:Q||(0,d.jsx)("span",{className:"anticon",children:ne})}),(0,d.jsx)("span",{className:de()("".concat(Z,"-item-text"),(B=t.props)===null||B===void 0?void 0:B.hashId,(0,u.Z)({},"".concat(Z,"-item-text-has-icon"),te&&(Q||ne))),children:A})]},m)}if($){var pe=(0,s.Z)((0,s.Z)({},n),{},{isUrl:ce,itemPath:m,isMobile:O,replace:m===_.pathname,onClick:function(){return E&&E(!0)},children:void 0});return a===0?(0,d.jsx)(In,{collapsed:I,title:A,disable:n.disabledTooltip,children:$(pe,ie,t.props)}):$(pe,ie,t.props)}return a===0?(0,d.jsx)(In,{collapsed:I,title:A,disable:n.disabledTooltip,children:ie}):ie}),(0,u.Z)(this,"conversionPath",function(n){return n&&n.indexOf("http")===0?n:"/".concat(n||"").replace(/\/+/g,"/")}),this.props=e}),pa=function(e,t){var n=t.layout,a=t.collapsed,i={};return e&&!a&&["side","mix"].includes(n||"mix")&&(i={openKeys:e}),i},wn=function(e){var t,n=e.mode,a=e.className,i=e.handleOpenChange,o=e.style,l=e.menuData,v=e.prefixCls,c=e.menu,m=e.matchMenuKeys,g=e.iconfontUrl,x=e.selectedKeys,_=e.onSelect,O=e.menuRenderType,E=e.openKeys,$=(0,f.useContext)(U.L_),L=$.dark,A=$.token,k="".concat(v,"-base-menu-").concat(n),Z=(0,f.useRef)([]),T=(0,W.Z)(c==null?void 0:c.defaultOpenAll),I=(0,R.Z)(T,2),b=I[0],te=I[1],Q=(0,W.Z)(function(){return c!=null&&c.defaultOpenAll?pn(l)||[]:E===!1?!1:[]},{value:E===!1?void 0:E,onChange:i}),ne=(0,R.Z)(Q,2),ie=ne[0],ce=ne[1],H=(0,W.Z)([],{value:x,onChange:_?function(J){_&&J&&_(J)}:void 0}),ae=(0,R.Z)(H,2),Se=ae[0],B=ae[1];(0,f.useEffect)(function(){c!=null&&c.defaultOpenAll||E===!1||m&&(ce(m),B(m))},[m.join("-")]),(0,f.useEffect)(function(){g&&(_n=Zn({scriptUrl:g}))},[g]),(0,f.useEffect)(function(){if(m.join("-")!==(Se||[]).join("-")&&B(m),!b&&E!==!1&&m.join("-")!==(ie||[]).join("-")){var J=m;(c==null?void 0:c.autoClose)===!1&&(J=Array.from(new Set([].concat((0,Ht.Z)(m),(0,Ht.Z)(ie||[]))))),ce(J)}else c!=null&&c.ignoreFlatMenu&&b?ce(pn(l)):te(!1)},[m.join("-")]);var pe=(0,f.useMemo)(function(){return pa(ie,e)},[ie&&ie.join(","),e.layout,e.collapsed]),$e=ma(k,n),oe=$e.wrapSSR,M=$e.hashId,Ie=(0,f.useMemo)(function(){return new ha((0,s.Z)((0,s.Z)({},e),{},{token:A,menuRenderType:O,baseClassName:k,hashId:M}))},[e,A,O,k,M]);if(c!=null&&c.loading)return(0,d.jsx)("div",{style:n!=null&&n.includes("inline")?{padding:24}:{marginBlockStart:16},children:(0,d.jsx)(va.Z,{active:!0,title:!1,paragraph:{rows:n!=null&&n.includes("inline")?6:1}})});e.openKeys===!1&&!e.handleOpenChange&&(Z.current=m);var Ce=e.postMenuData?e.postMenuData(l):l;return Ce&&(Ce==null?void 0:Ce.length)<1?null:oe((0,f.createElement)(xn.Z,(0,s.Z)((0,s.Z)({},pe),{},{_internalDisableMenuItemTitleTooltip:!0,key:"Menu",mode:n,inlineIndent:16,defaultOpenKeys:Z.current,theme:L?"dark":"light",selectedKeys:Se,style:(0,s.Z)({backgroundColor:"transparent",border:"none"},o),className:de()(a,M,k,(t={},(0,u.Z)(t,"".concat(k,"-horizontal"),n==="horizontal"),(0,u.Z)(t,"".concat(k,"-collapsed"),e.collapsed),t)),items:Ie.getNavMenuItems(Ce,0),onOpenChange:function(Re){e.collapsed||ce(Re)}},e.menuProps)))};function ga(r,e){var t=e.stylish,n=e.proLayoutCollapsedWidth;return(0,Le.Xj)("ProLayoutSiderMenuStylish",function(a){var i=(0,s.Z)((0,s.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:n});return t?[(0,u.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,u.Z)({},"".concat(i.componentCls),t==null?void 0:t(i)))]:[]})}var ya=["title","render"],xa=It.Z.Sider,Jt=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",n=e.logo,a=e.title,i=e.layout,o=e[t||""];if(o===!1)return null;var l=Qt(n),v=(0,d.jsx)("h1",{children:a!=null?a:"Ant Design Pro"});return o?o(l,e.collapsed?null:v,e):e.isMobile?null:i==="mix"&&t==="menuHeaderRender"?!1:e.collapsed?(0,d.jsx)("a",{children:l},"title"):(0,d.jsxs)("a",{children:[l,v]},"title")},Bn=function(e){var t,n,a=e.collapsed,i=e.originCollapsed,o=e.fixSiderbar,l=e.menuFooterRender,v=e.onCollapse,c=e.theme,m=e.siderWidth,g=e.isMobile,x=e.onMenuHeaderClick,_=e.breakpoint,O=_===void 0?"lg":_,E=e.style,$=e.layout,L=e.menuExtraRender,A=L===void 0?!1:L,k=e.links,Z=e.menuContentRender,T=e.collapsedButtonRender,I=e.prefixCls,b=e.avatarProps,te=e.rightContentRender,Q=e.actionsRender,ne=e.onOpenChange,ie=e.stylish,ce=e.logoStyle,H=(0,f.useContext)(U.L_),ae=H.hashId,Se=(0,f.useMemo)(function(){return!(g||$==="mix")},[g,$]),B="".concat(I,"-sider"),pe=64,$e=ga("".concat(B,".").concat(B,"-stylish"),{stylish:ie,proLayoutCollapsedWidth:pe}),oe=de()("".concat(B),ae,(t={},(0,u.Z)(t,"".concat(B,"-fixed"),o),(0,u.Z)(t,"".concat(B,"-fixed-mix"),$==="mix"&&!g&&o),(0,u.Z)(t,"".concat(B,"-collapsed"),e.collapsed),(0,u.Z)(t,"".concat(B,"-layout-").concat($),$&&!g),(0,u.Z)(t,"".concat(B,"-light"),c!=="dark"),(0,u.Z)(t,"".concat(B,"-mix"),$==="mix"&&!g),(0,u.Z)(t,"".concat(B,"-stylish"),!!ie),t)),M=Jt(e),Ie=A&&A(e),Ce=(0,f.useMemo)(function(){return Z!==!1&&(0,f.createElement)(wn,(0,s.Z)((0,s.Z)({},e),{},{key:"base-menu",mode:a&&!g?"vertical":"inline",handleOpenChange:ne,style:{width:"100%"},className:"".concat(B,"-menu ").concat(ae).trim()}))},[B,ae,Z,ne,e]),J=(k||[]).map(function(ye,_e){return{className:"".concat(B,"-link"),label:ye,key:_e}}),Re=(0,f.useMemo)(function(){return Z?Z(e,Ce):Ce},[Z,Ce,e]),we=(0,f.useMemo)(function(){if(!b)return null;var ye=b.title,_e=b.render,Me=(0,re.Z)(b,ya),ze=(0,d.jsxs)("div",{className:"".concat(B,"-actions-avatar"),children:[Me!=null&&Me.src||Me!=null&&Me.srcSet||Me.icon||Me.children?(0,d.jsx)(yn.C,(0,s.Z)({size:28},Me)):null,b.title&&!a&&(0,d.jsx)("span",{children:ye})]});return _e?_e(b,ze):ze},[b,B,a]),Pe=(0,f.useMemo)(function(){return Q?(0,d.jsx)(Yr.Z,{align:"center",size:4,direction:a?"vertical":"horizontal",className:de()(["".concat(B,"-actions-list"),a&&"".concat(B,"-actions-list-collapsed"),ae]),children:Q==null?void 0:Q(e).map(function(ye,_e){return(0,d.jsx)("div",{className:"".concat(B,"-actions-list-item ").concat(ae).trim(),children:ye},_e)})}):null},[Q,B,a]),je=(0,f.useMemo)(function(){return(0,d.jsx)(Yt,{onItemClick:e.itemClick,appList:e.appList,prefixCls:e.prefixCls})},[e.appList,e.prefixCls]),he=(0,f.useMemo)(function(){if(T===!1)return null;var ye=(0,d.jsx)(ra,{isMobile:g,collapsed:i,className:"".concat(B,"-collapsed-button"),onClick:function(){v==null||v(!i)}});return T?T(a,ye):ye},[T,g,i,B,a,v]),Ae=(0,f.useMemo)(function(){return!we&&!Pe?null:(0,d.jsxs)("div",{className:de()("".concat(B,"-actions"),ae,a&&"".concat(B,"-actions-collapsed")),children:[we,Pe]})},[Pe,we,B,a,ae]),He=(0,f.useMemo)(function(){var ye;return e!=null&&(ye=e.menu)!==null&&ye!==void 0&&ye.hideMenuWhenCollapsed&&a?"".concat(B,"-hide-menu-collapsed"):null},[B,a,e==null||(n=e.menu)===null||n===void 0?void 0:n.hideMenuWhenCollapsed]),Oe=l&&(l==null?void 0:l(e)),ke=(0,d.jsxs)(d.Fragment,{children:[M&&(0,d.jsxs)("div",{className:de()([de()("".concat(B,"-logo"),ae,(0,u.Z)({},"".concat(B,"-logo-collapsed"),a))]),onClick:Se?x:void 0,id:"logo",style:ce,children:[M,je]}),Ie&&(0,d.jsx)("div",{className:de()(["".concat(B,"-extra"),!M&&"".concat(B,"-extra-no-logo"),ae]),children:Ie}),(0,d.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:Re}),(0,d.jsxs)(Jr.D.Provider,{value:{},children:[k?(0,d.jsx)("div",{className:"".concat(B,"-links ").concat(ae).trim(),children:(0,d.jsx)(xn.Z,{inlineIndent:16,className:"".concat(B,"-link-menu ").concat(ae).trim(),selectedKeys:[],openKeys:[],theme:c,mode:"inline",items:J})}):null,Se&&(0,d.jsxs)(d.Fragment,{children:[Ae,!Pe&&te?(0,d.jsx)("div",{className:de()("".concat(B,"-actions"),ae,(0,u.Z)({},"".concat(B,"-actions-collapsed"),a)),children:te==null?void 0:te(e)}):null]}),Oe&&(0,d.jsx)("div",{className:de()(["".concat(B,"-footer"),ae,(0,u.Z)({},"".concat(B,"-footer-collapsed"),a)]),children:Oe})]})]});return $e.wrapSSR((0,d.jsxs)(d.Fragment,{children:[o&&!g&&!He&&(0,d.jsx)("div",{style:(0,s.Z)({width:a?pe:m,overflow:"hidden",flex:"0 0 ".concat(a?pe:m,"px"),maxWidth:a?pe:m,minWidth:a?pe:m,transition:"all 0.2s ease 0s"},E)}),(0,d.jsxs)(xa,{collapsible:!0,trigger:null,collapsed:a,breakpoint:O===!1?void 0:O,onCollapse:function(_e){g||v==null||v(_e)},collapsedWidth:pe,style:E,theme:c,width:m,className:de()(oe,ae,He),children:[He?(0,d.jsx)("div",{className:"".concat(B,"-hide-when-collapsed ").concat(ae).trim(),style:{height:"100%",width:"100%",opacity:He?0:1},children:ke}):ke,he]})]}))},Ca=p(48171);function ba(r,e){var t=(0,Ca.J)(r),n=(0,f.useRef)(),a=(0,f.useCallback)(function(){n.current&&(clearTimeout(n.current),n.current=null)},[]),i=(0,f.useCallback)((0,K.Z)((0,q.Z)().mark(function o(){var l,v,c,m=arguments;return(0,q.Z)().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:for(l=m.length,v=new Array(l),c=0;c *":{paddingInline:6,paddingBlock:6,borderRadius:e.borderRadius,"&:hover":{backgroundColor:(a=e.layout)===null||a===void 0||(i=a.header)===null||i===void 0?void 0:i.colorBgRightActionsItemHover}}},"&-avatar":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInlineStart:e.padding,paddingInlineEnd:e.padding,cursor:"pointer",color:(o=e.layout)===null||o===void 0||(l=o.header)===null||l===void 0?void 0:l.colorTextRightActionsItem,"> div":{height:"44px",color:(v=e.layout)===null||v===void 0||(c=v.header)===null||c===void 0?void 0:c.colorTextRightActionsItem,paddingInline:8,paddingBlock:8,cursor:"pointer",display:"flex",alignItems:"center",lineHeight:"44px",borderRadius:e.borderRadius,"&:hover":{backgroundColor:(m=e.layout)===null||m===void 0||(g=m.header)===null||g===void 0?void 0:g.colorBgRightActionsItemHover}}}}})};function Za(r){return(0,Le.Xj)("ProLayoutRightContent",function(e){var t=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[Ma(t)]})}var $a=["rightContentRender","avatarProps","actionsRender","headerContentRender"],Ia=["title","render"],Pn=function(e){var t=e.rightContentRender,n=e.avatarProps,a=e.actionsRender,i=e.headerContentRender,o=(0,re.Z)(e,$a),l=(0,f.useContext)(Ve.ZP.ConfigContext),v=l.getPrefixCls,c="".concat(v(),"-pro-global-header"),m=Za(c),g=m.wrapSSR,x=m.hashId,_=(0,f.useState)("auto"),O=(0,R.Z)(_,2),E=O[0],$=O[1],L=(0,f.useMemo)(function(){if(!n)return null;var T=n.title,I=n.render,b=(0,re.Z)(n,Ia),te=[b!=null&&b.src||b!=null&&b.srcSet||b.icon||b.children?(0,f.createElement)(yn.C,(0,s.Z)((0,s.Z)({},b),{},{size:28,key:"avatar"})):null,T?(0,d.jsx)("span",{style:{marginInlineStart:8},children:T},"name"):void 0];return I?I(n,(0,d.jsx)("div",{children:te})):(0,d.jsx)("div",{children:te})},[n]),A=a||L?function(T){var I=a&&(a==null?void 0:a(T));return!I&&!L?null:(Array.isArray(I)||(I=[I]),g((0,d.jsxs)("div",{className:"".concat(c,"-header-actions ").concat(x).trim(),children:[I.filter(Boolean).map(function(b,te){var Q=!1;if(f.isValidElement(b)){var ne;Q=!!(b!=null&&(ne=b.props)!==null&&ne!==void 0&&ne["aria-hidden"])}return(0,d.jsx)("div",{className:de()("".concat(c,"-header-actions-item ").concat(x),(0,u.Z)({},"".concat(c,"-header-actions-hover"),!Q)),children:b},te)}),L&&(0,d.jsx)("span",{className:"".concat(c,"-header-actions-avatar ").concat(x).trim(),children:L})]})))}:void 0,k=ba(function(){var T=(0,K.Z)((0,q.Z)().mark(function I(b){return(0,q.Z)().wrap(function(Q){for(;;)switch(Q.prev=Q.next){case 0:$(b);case 1:case"end":return Q.stop()}},I)}));return function(I){return T.apply(this,arguments)}}(),160),Z=A||t;return(0,d.jsx)("div",{className:"".concat(c,"-right-content ").concat(x).trim(),style:{minWidth:E,height:"100%"},children:(0,d.jsx)("div",{style:{height:"100%"},children:(0,d.jsx)(Sa.Z,{onResize:function(I){var b=I.width;k.run(b)},children:Z?(0,d.jsx)("div",{style:{display:"flex",alignItems:"center",height:"100%",justifyContent:"flex-end"},children:Z((0,s.Z)((0,s.Z)({},o),{},{rightContentSize:E}))}):null})})})},_a=function(e){var t,n,a,i;return(0,u.Z)({},e.componentCls,{position:"relative",width:"100%",height:"100%",backgroundColor:"transparent",".anticon":{color:"inherit"},"&-main":{display:"flex",height:"100%",paddingInlineStart:"16px","&-left":(0,u.Z)({display:"flex",alignItems:"center"},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16,marginInlineStart:-8})},"&-wide":{maxWidth:1152,margin:"0 auto"},"&-logo":{position:"relative",display:"flex",height:"100%",alignItems:"center",overflow:"hidden","> *:first-child":{display:"flex",alignItems:"center",minHeight:"22px",fontSize:"22px"},"> *:first-child > img":{display:"inline-block",height:"32px",verticalAlign:"middle"},"> *:first-child > h1":{display:"inline-block",marginBlock:0,marginInline:0,lineHeight:"24px",marginInlineStart:6,fontWeight:"600",fontSize:"16px",color:(t=e.layout)===null||t===void 0||(n=t.header)===null||n===void 0?void 0:n.colorHeaderTitle,verticalAlign:"top"}},"&-menu":{minWidth:0,display:"flex",alignItems:"center",paddingInline:6,paddingBlock:6,lineHeight:"".concat(Math.max((((a=e.layout)===null||a===void 0||(i=a.header)===null||i===void 0?void 0:i.heightLayoutHeader)||56)-12,40),"px")}})};function Ra(r){return(0,Le.Xj)("ProLayoutTopNavHeader",function(e){var t=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[_a(t)]})}var jn=function(e){var t,n,a,i,o,l,v,c,m,g,x,_,O,E,$=(0,f.useRef)(null),L=e.onMenuHeaderClick,A=e.contentWidth,k=e.rightContentRender,Z=e.className,T=e.style,I=e.headerContentRender,b=e.layout,te=e.actionsRender,Q=(0,f.useContext)(Ve.ZP.ConfigContext),ne=Q.getPrefixCls,ie=(0,f.useContext)(U.L_),ce=ie.dark,H="".concat(e.prefixCls||ne("pro"),"-top-nav-header"),ae=Ra(H),Se=ae.wrapSSR,B=ae.hashId,pe=void 0;e.menuHeaderRender!==void 0?pe="menuHeaderRender":(b==="mix"||b==="top")&&(pe="headerTitleRender");var $e=Jt((0,s.Z)((0,s.Z)({},e),{},{collapsed:!1}),pe),oe=(0,f.useContext)(U.L_),M=oe.token,Ie=(0,f.useMemo)(function(){var Ce,J,Re,we,Pe,je,he,Ae,He,Oe,ke,ye,_e,Me,ze,Ue,tt,nt,rt,We,Fe,Ge,at,Xe,ot,Qe,it,Ye=(0,d.jsx)(Ve.ZP,{theme:{hashed:(0,U.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"},Menu:(0,s.Z)({},w({colorItemBg:((Ce=M.layout)===null||Ce===void 0||(J=Ce.header)===null||J===void 0?void 0:J.colorBgHeader)||"transparent",colorSubItemBg:((Re=M.layout)===null||Re===void 0||(we=Re.header)===null||we===void 0?void 0:we.colorBgHeader)||"transparent",radiusItem:4,colorItemBgSelected:((Pe=M.layout)===null||Pe===void 0||(je=Pe.header)===null||je===void 0?void 0:je.colorBgMenuItemSelected)||(M==null?void 0:M.colorBgTextHover),itemHoverBg:((he=M.layout)===null||he===void 0||(Ae=he.header)===null||Ae===void 0?void 0:Ae.colorBgMenuItemHover)||(M==null?void 0:M.colorBgTextHover),colorItemBgSelectedHorizontal:((He=M.layout)===null||He===void 0||(Oe=He.header)===null||Oe===void 0?void 0:Oe.colorBgMenuItemSelected)||(M==null?void 0:M.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((ke=M.layout)===null||ke===void 0||(ye=ke.header)===null||ye===void 0?void 0:ye.colorTextMenu)||(M==null?void 0:M.colorTextSecondary),colorItemTextHoverHorizontal:((_e=M.layout)===null||_e===void 0||(Me=_e.header)===null||Me===void 0?void 0:Me.colorTextMenuActive)||(M==null?void 0:M.colorText),colorItemTextSelectedHorizontal:((ze=M.layout)===null||ze===void 0||(Ue=ze.header)===null||Ue===void 0?void 0:Ue.colorTextMenuSelected)||(M==null?void 0:M.colorTextBase),horizontalItemBorderRadius:4,colorItemTextHover:((tt=M.layout)===null||tt===void 0||(nt=tt.header)===null||nt===void 0?void 0:nt.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",horizontalItemHoverBg:((rt=M.layout)===null||rt===void 0||(We=rt.header)===null||We===void 0?void 0:We.colorBgMenuItemHover)||"rgba(0, 0, 0, 0.04)",colorItemTextSelected:((Fe=M.layout)===null||Fe===void 0||(Ge=Fe.header)===null||Ge===void 0?void 0:Ge.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",colorBgElevated:((at=M.layout)===null||at===void 0||(Xe=at.header)===null||Xe===void 0?void 0:Xe.colorBgMenuElevated)||M.colorBgElevated}))},token:{colorBgElevated:((ot=M.layout)===null||ot===void 0||(Qe=ot.header)===null||Qe===void 0?void 0:Qe.colorBgHeader)||"transparent"}},children:(0,d.jsx)(wn,(0,s.Z)((0,s.Z)((0,s.Z)({theme:ce?"dark":"light"},e),{},{className:"".concat(H,"-base-menu ").concat(B).trim()},e.menuProps),{},{style:(0,s.Z)({width:"100%"},(it=e.menuProps)===null||it===void 0?void 0:it.style),collapsed:!1,menuRenderType:"header",mode:"horizontal"}))});return I?I(e,Ye):Ye},[(t=M.layout)===null||t===void 0||(n=t.header)===null||n===void 0?void 0:n.colorBgHeader,(a=M.layout)===null||a===void 0||(i=a.header)===null||i===void 0?void 0:i.colorBgMenuItemSelected,(o=M.layout)===null||o===void 0||(l=o.header)===null||l===void 0?void 0:l.colorBgMenuItemHover,(v=M.layout)===null||v===void 0||(c=v.header)===null||c===void 0?void 0:c.colorTextMenu,(m=M.layout)===null||m===void 0||(g=m.header)===null||g===void 0?void 0:g.colorTextMenuActive,(x=M.layout)===null||x===void 0||(_=x.header)===null||_===void 0?void 0:_.colorTextMenuSelected,(O=M.layout)===null||O===void 0||(E=O.header)===null||E===void 0?void 0:E.colorBgMenuElevated,M==null?void 0:M.colorBgTextHover,M==null?void 0:M.colorTextSecondary,M==null?void 0:M.colorText,M==null?void 0:M.colorTextBase,M.colorBgElevated,ce,e,H,B,I]);return Se((0,d.jsx)("div",{className:de()(H,B,Z,(0,u.Z)({},"".concat(H,"-light"),!0)),style:T,children:(0,d.jsxs)("div",{ref:$,className:de()("".concat(H,"-main"),B,(0,u.Z)({},"".concat(H,"-wide"),A==="Fixed"&&b==="top")),children:[$e&&(0,d.jsxs)("div",{className:de()("".concat(H,"-main-left ").concat(B)),onClick:L,children:[(0,d.jsx)(Yt,(0,s.Z)({},e)),(0,d.jsx)("div",{className:"".concat(H,"-logo ").concat(B).trim(),id:"logo",children:$e},"logo")]}),(0,d.jsx)("div",{style:{flex:1},className:"".concat(H,"-menu ").concat(B).trim(),children:Ie}),(k||te||e.avatarProps)&&(0,d.jsx)(Pn,(0,s.Z)((0,s.Z)({rightContentRender:k},e),{},{prefixCls:H}))]})}))},Ta=function(e){var t,n,a,i,o,l,v;return(0,u.Z)({},e.componentCls,(v={position:"relative",background:"transparent",display:"flex",alignItems:"center",marginBlock:0,marginInline:16,height:((t=e.layout)===null||t===void 0||(n=t.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,boxSizing:"border-box","> a":{height:"100%"}},(0,u.Z)(v,"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16}),(0,u.Z)(v,"&-collapsed-button",{minHeight:"22px",color:(a=e.layout)===null||a===void 0||(i=a.header)===null||i===void 0?void 0:i.colorHeaderTitle,fontSize:"18px",marginInlineEnd:"16px"}),(0,u.Z)(v,"&-logo",{position:"relative",marginInlineEnd:"16px",a:{display:"flex",alignItems:"center",height:"100%",minHeight:"22px",fontSize:"20px"},img:{height:"28px"},h1:{height:"32px",marginBlock:0,marginInline:0,marginInlineStart:8,fontWeight:"600",color:((o=e.layout)===null||o===void 0||(l=o.header)===null||l===void 0?void 0:l.colorHeaderTitle)||e.colorTextHeading,fontSize:"18px",lineHeight:"32px"},"&-mix":{display:"flex",alignItems:"center"}}),(0,u.Z)(v,"&-logo-mobile",{minWidth:"24px",marginInlineEnd:0}),v))};function wa(r){return(0,Le.Xj)("ProLayoutGlobalHeader",function(e){var t=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[Ta(t)]})}var Ba=function(e,t){return e===!1?null:e?e(t,null):t},Pa=function(e){var t,n=e.isMobile,a=e.logo,i=e.collapsed,o=e.onCollapse,l=e.rightContentRender,v=e.menuHeaderRender,c=e.onMenuHeaderClick,m=e.className,g=e.style,x=e.layout,_=e.children,O=e.splitMenus,E=e.menuData,$=e.prefixCls,L=(0,f.useContext)(Ve.ZP.ConfigContext),A=L.getPrefixCls,k=L.direction,Z="".concat($||A("pro"),"-global-header"),T=wa(Z),I=T.wrapSSR,b=T.hashId,te=de()(m,Z,b);if(x==="mix"&&!n&&O){var Q=(E||[]).map(function(H){return(0,s.Z)((0,s.Z)({},H),{},{children:void 0,routes:void 0})}),ne=Et(Q);return(0,d.jsx)(jn,(0,s.Z)((0,s.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:ne}))}var ie=de()("".concat(Z,"-logo"),b,(t={},(0,u.Z)(t,"".concat(Z,"-logo-rtl"),k==="rtl"),(0,u.Z)(t,"".concat(Z,"-logo-mix"),x==="mix"),(0,u.Z)(t,"".concat(Z,"-logo-mobile"),n),t)),ce=(0,d.jsx)("span",{className:ie,children:(0,d.jsx)("a",{children:Qt(a)})},"logo");return I((0,d.jsxs)("div",{className:te,style:(0,s.Z)({},g),children:[n&&(0,d.jsx)("span",{className:"".concat(Z,"-collapsed-button ").concat(b).trim(),onClick:function(){o==null||o(!i)},children:(0,d.jsx)(kr,{})}),n&&Ba(v,ce),x==="mix"&&!n&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(Yt,(0,s.Z)({},e)),(0,d.jsx)("div",{className:ie,onClick:c,children:Jt((0,s.Z)((0,s.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})]}),(0,d.jsx)("div",{style:{flex:1},children:_}),(l||e.actionsRender||e.avatarProps)&&(0,d.jsx)(Pn,(0,s.Z)({rightContentRender:l},e))]}))},ja=function(e){var t,n,a,i,o,l,v,c;return(0,u.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,u.Z)({},"".concat(e.antCls,"-layout-header").concat(e.componentCls),{height:((t=e.layout)===null||t===void 0||(n=t.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,lineHeight:"".concat(((a=e.layout)===null||a===void 0||(i=a.header)===null||i===void 0?void 0:i.heightLayoutHeader)||56,"px"),zIndex:19,width:"100%",paddingBlock:0,paddingInline:0,borderBlockEnd:"1px solid ".concat(e.colorSplit),backgroundColor:((o=e.layout)===null||o===void 0||(l=o.header)===null||l===void 0?void 0:l.colorBgHeader)||"rgba(255, 255, 255, 0.4)",WebkitBackdropFilter:"blur(8px)",backdropFilter:"blur(8px)",transition:"background-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)","&-fixed-header":{position:"fixed",insetBlockStart:0,width:"100%",zIndex:100,insetInlineEnd:0},"&-fixed-header-scroll":{backgroundColor:((v=e.layout)===null||v===void 0||(c=v.header)===null||c===void 0?void 0:c.colorBgScrollHeader)||"rgba(255, 255, 255, 0.8)"},"&-header-actions":{display:"flex",alignItems:"center",fontSize:"16",cursor:"pointer","& &-item":{paddingBlock:0,paddingInline:8,"&:hover":{color:e.colorText}}},"&-header-realDark":{boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 65%)"},"&-header-actions-header-action":{transition:"width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"}}))};function Ea(r){return(0,Le.Xj)("ProLayoutHeader",function(e){var t=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[ja(t)]})}function La(r,e){var t=e.stylish,n=e.proLayoutCollapsedWidth;return(0,Le.Xj)("ProLayoutHeaderStylish",function(a){var i=(0,s.Z)((0,s.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:n});return t?[(0,u.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,u.Z)({},"".concat(i.componentCls),t==null?void 0:t(i)))]:[]})}var En=It.Z.Header,Ha=function(e){var t,n,a,i,o,l,v,c=e.isMobile,m=e.fixedHeader,g=e.className,x=e.style,_=e.collapsed,O=e.prefixCls,E=e.onCollapse,$=e.layout,L=e.headerRender,A=e.headerContentRender,k=(0,f.useContext)(U.L_),Z=k.token,T=(0,f.useContext)(Ve.ZP.ConfigContext),I=(0,f.useState)(!1),b=(0,R.Z)(I,2),te=b[0],Q=b[1],ne=m||$==="mix",ie=(0,f.useCallback)(function(){var oe=$==="top",M=Et(e.menuData||[]),Ie=(0,d.jsx)(Pa,(0,s.Z)((0,s.Z)({onCollapse:E},e),{},{menuData:M,children:A&&A(e,null)}));return oe&&!c&&(Ie=(0,d.jsx)(jn,(0,s.Z)((0,s.Z)({mode:"horizontal",onCollapse:E},e),{},{menuData:M}))),L&&typeof L=="function"?L(e,Ie):Ie},[A,L,c,$,E,e]);(0,f.useEffect)(function(){var oe,M=(T==null||(oe=T.getTargetContainer)===null||oe===void 0?void 0:oe.call(T))||document.body,Ie=function(){var J,Re,we=M.scrollTop;return we>(((J=Z.layout)===null||J===void 0||(Re=J.header)===null||Re===void 0?void 0:Re.heightLayoutHeader)||56)&&!te?(Q(!0),!0):(te&&Q(!1),!1)};if(ne&&typeof window!="undefined")return M.addEventListener("scroll",Ie,{passive:!0}),function(){M.removeEventListener("scroll",Ie)}},[(t=Z.layout)===null||t===void 0||(n=t.header)===null||n===void 0?void 0:n.heightLayoutHeader,ne,te]);var ce=$==="top",H="".concat(O,"-layout-header"),ae=Ea(H),Se=ae.wrapSSR,B=ae.hashId,pe=La("".concat(H,".").concat(H,"-stylish"),{proLayoutCollapsedWidth:64,stylish:e.stylish}),$e=de()(g,B,H,(a={},(0,u.Z)(a,"".concat(H,"-fixed-header"),ne),(0,u.Z)(a,"".concat(H,"-fixed-header-scroll"),te),(0,u.Z)(a,"".concat(H,"-mix"),$==="mix"),(0,u.Z)(a,"".concat(H,"-fixed-header-action"),!_),(0,u.Z)(a,"".concat(H,"-top-menu"),ce),(0,u.Z)(a,"".concat(H,"-header"),!0),(0,u.Z)(a,"".concat(H,"-stylish"),!!e.stylish),a));return $==="side"&&!c?null:pe.wrapSSR(Se((0,d.jsx)(d.Fragment,{children:(0,d.jsxs)(Ve.ZP,{theme:{hashed:(0,U.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"}}},children:[ne&&(0,d.jsx)(En,{style:(0,s.Z)({height:((i=Z.layout)===null||i===void 0||(o=i.header)===null||o===void 0?void 0:o.heightLayoutHeader)||56,lineHeight:"".concat(((l=Z.layout)===null||l===void 0||(v=l.header)===null||v===void 0?void 0:v.heightLayoutHeader)||56,"px"),backgroundColor:"transparent",zIndex:19},x)}),(0,d.jsx)(En,{className:$e,style:x,children:ie()})]})})))},Na=p(83832),Aa=p(85265),Oa=p(86557),Ln=new Oa.E4("antBadgeLoadingCircle",{"0%":{display:"none",opacity:0,overflow:"hidden"},"80%":{overflow:"hidden"},"100%":{display:"unset",opacity:1}}),Da=function(e){var t,n,a,i,o,l,v,c,m,g,x,_,O,E,$,L,A,k,Z,T,I,b,te,Q,ne,ie,ce;return(0,u.Z)({},"".concat(e.proComponentsCls,"-layout"),(ce={},(0,u.Z)(ce,"".concat(e.antCls,"-layout-sider").concat(e.componentCls),{background:((t=e.layout)===null||t===void 0||(n=t.sider)===null||n===void 0?void 0:n.colorMenuBackground)||"transparent"}),(0,u.Z)(ce,e.componentCls,(b={position:"relative",boxSizing:"border-box","&-menu":{position:"relative",zIndex:10,minHeight:"100%"}},(0,u.Z)(b,"& ".concat(e.antCls,"-layout-sider-children"),{position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:(a=e.layout)===null||a===void 0||(i=a.sider)===null||i===void 0?void 0:i.paddingInlineLayoutMenu,paddingBlock:(o=e.layout)===null||o===void 0||(l=o.sider)===null||l===void 0?void 0:l.paddingBlockLayoutMenu,borderInlineEnd:"1px solid ".concat(e.colorSplit),marginInlineEnd:-1}),(0,u.Z)(b,"".concat(e.antCls,"-menu"),(m={},(0,u.Z)(m,"".concat(e.antCls,"-menu-item-group-title"),{fontSize:e.fontSizeSM,paddingBottom:4}),(0,u.Z)(m,"".concat(e.antCls,"-menu-item:hover"),{color:(v=e.layout)===null||v===void 0||(c=v.sider)===null||c===void 0?void 0:c.colorTextMenuItemHover}),m)),(0,u.Z)(b,"&-logo",{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:12,paddingBlock:16,color:(g=e.layout)===null||g===void 0||(x=g.sider)===null||x===void 0?void 0:x.colorTextMenu,cursor:"pointer",borderBlockEnd:"1px solid ".concat((_=e.layout)===null||_===void 0||(O=_.sider)===null||O===void 0?void 0:O.colorMenuItemDivider),"> a":{display:"flex",alignItems:"center",justifyContent:"center",minHeight:22,fontSize:22,"> img":{display:"inline-block",height:22,verticalAlign:"middle"},"> h1":{display:"inline-block",height:22,marginBlock:0,marginInlineEnd:0,marginInlineStart:6,color:(E=e.layout)===null||E===void 0||($=E.sider)===null||$===void 0?void 0:$.colorTextMenuTitle,animationName:Ln,animationDuration:".4s",animationTimingFunction:"ease",fontWeight:600,fontSize:16,lineHeight:"22px",verticalAlign:"middle"}},"&-collapsed":(0,u.Z)({flexDirection:"column-reverse",margin:0,padding:12},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginBlockEnd:8,fontSize:16,transition:"font-size 0.2s ease-in-out,color 0.2s ease-in-out"})}),(0,u.Z)(b,"&-actions",{display:"flex",alignItems:"center",justifyContent:"space-between",marginBlock:4,marginInline:0,color:(L=e.layout)===null||L===void 0||(A=L.sider)===null||A===void 0?void 0:A.colorTextMenu,"&-collapsed":{flexDirection:"column-reverse",paddingBlock:0,paddingInline:8,fontSize:16,transition:"font-size 0.3s ease-in-out"},"&-list":{color:(k=e.layout)===null||k===void 0||(Z=k.sider)===null||Z===void 0?void 0:Z.colorTextMenuSecondary,"&-collapsed":{marginBlockEnd:8,animationName:"none"},"&-item":{paddingInline:6,paddingBlock:6,lineHeight:"16px",fontSize:16,cursor:"pointer",borderRadius:e.borderRadius,"&:hover":{background:e.colorBgTextHover}}},"&-avatar":{fontSize:14,paddingInline:8,paddingBlock:8,display:"flex",alignItems:"center",gap:e.marginXS,borderRadius:e.borderRadius,"& *":{cursor:"pointer"},"&:hover":{background:e.colorBgTextHover}}}),(0,u.Z)(b,"&-hide-menu-collapsed",{insetInlineStart:"-".concat(e.proLayoutCollapsedWidth-12,"px"),position:"absolute"}),(0,u.Z)(b,"&-extra",{marginBlockEnd:16,marginBlock:0,marginInline:16,"&-no-logo":{marginBlockStart:16}}),(0,u.Z)(b,"&-links",{width:"100%",ul:{height:"auto"}}),(0,u.Z)(b,"&-link-menu",{border:"none",boxShadow:"none",background:"transparent"}),(0,u.Z)(b,"&-footer",{color:(T=e.layout)===null||T===void 0||(I=T.sider)===null||I===void 0?void 0:I.colorTextMenuSecondary,paddingBlockEnd:16,fontSize:e.fontSize,animationName:Ln,animationDuration:".4s",animationTimingFunction:"ease"}),b)),(0,u.Z)(ce,"".concat(e.componentCls).concat(e.componentCls,"-fixed"),{position:"fixed",insetBlockStart:0,insetInlineStart:0,zIndex:"100",height:"100%","&-mix":{height:"calc(100% - ".concat(((te=e.layout)===null||te===void 0||(Q=te.header)===null||Q===void 0?void 0:Q.heightLayoutHeader)||56,"px)"),insetBlockStart:"".concat(((ne=e.layout)===null||ne===void 0||(ie=ne.header)===null||ie===void 0?void 0:ie.heightLayoutHeader)||56,"px")}}),ce))};function ka(r,e){var t=e.proLayoutCollapsedWidth;return(0,Le.Xj)("ProLayoutSiderMenu",function(n){var a=(0,s.Z)((0,s.Z)({},n),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:t});return[Da(a)]})}var Hn=function(e){var t,n,a=e.isMobile,i=e.siderWidth,o=e.collapsed,l=e.onCollapse,v=e.style,c=e.className,m=e.hide,g=e.prefixCls,x=(0,f.useContext)(U.L_),_=x.token;(0,f.useEffect)(function(){a===!0&&(l==null||l(!0))},[a]);var O=(0,mn.Z)(e,["className","style"]),E=f.useContext(Ve.ZP.ConfigContext),$=E.direction,L=ka("".concat(g,"-sider"),{proLayoutCollapsedWidth:64}),A=L.wrapSSR,k=L.hashId,Z=de()("".concat(g,"-sider"),c,k);if(m)return null;var T=(0,y.X)(!o,function(){return l==null?void 0:l(!0)});return A(a?(0,d.jsx)(Aa.Z,(0,s.Z)((0,s.Z)({placement:$==="rtl"?"right":"left",className:de()("".concat(g,"-drawer-sider"),c)},T),{},{style:(0,s.Z)({padding:0,height:"100vh"},v),onClose:function(){l==null||l(!0)},maskClosable:!0,closable:!1,width:i,bodyStyle:{height:"100vh",padding:0,display:"flex",flexDirection:"row",backgroundColor:(t=_.layout)===null||t===void 0||(n=t.sider)===null||n===void 0?void 0:n.colorMenuBackground},children:(0,d.jsx)(Bn,(0,s.Z)((0,s.Z)({},O),{},{isMobile:!0,className:Z,collapsed:a?!1:o,splitMenus:!1,originCollapsed:o}))})):(0,d.jsx)(Bn,(0,s.Z)((0,s.Z)({className:Z,originCollapsed:o},O),{},{style:v})))},Nn=p(76509),za=p(16254),qt=p.n(za),Wa=function(e,t,n){if(n){var a=(0,Ht.Z)(n.keys()).find(function(o){return qt()(o).test(e)});if(a)return n.get(a)}if(t){var i=Object.keys(t).find(function(o){return qt()(o).test(e)});if(i)return t[i]}return{path:""}},en=function(e,t){var n=e.pathname,a=n===void 0?"/":n,i=e.breadcrumb,o=e.breadcrumbMap,l=e.formatMessage,v=e.title,c=e.menu,m=c===void 0?{locale:!1}:c,g=t?"":v||"",x=Wa(a,i,o);if(!x)return{title:g,id:"",pageName:g};var _=x.name;return m.locale!==!1&&x.locale&&l&&(_=l({id:x.locale||"",defaultMessage:x.name})),_?t||!v?{title:_,id:x.locale||"",pageName:_}:{title:"".concat(_," - ").concat(v),id:x.locale||"",pageName:_}:{title:g,id:x.locale||"",pageName:g}},qo=function(e,t){return en(e,t).title},Fa={"app.setting.pagestyle":"Page style setting","app.setting.pagestyle.dark":"Dark Menu style","app.setting.pagestyle.light":"Light Menu style","app.setting.pagestyle.realdark":"Dark style (Beta)","app.setting.content-width":"Content Width","app.setting.content-width.fixed":"Fixed","app.setting.content-width.fluid":"Fluid","app.setting.themecolor":"Theme Color","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blue (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.sidermenutype":"SideMenu Type","app.setting.sidermenutype-sub":"Classic","app.setting.sidermenutype-group":"Grouping","app.setting.navigationmode":"Navigation Mode","app.setting.regionalsettings":"Regional Settings","app.setting.regionalsettings.header":"Header","app.setting.regionalsettings.menu":"Menu","app.setting.regionalsettings.footer":"Footer","app.setting.regionalsettings.menuHeader":"Menu Header","app.setting.sidemenu":"Side Menu Layout","app.setting.topmenu":"Top Menu Layout","app.setting.mixmenu":"Mix Menu Layout","app.setting.splitMenus":"Split Menus","app.setting.fixedheader":"Fixed Header","app.setting.fixedsidebar":"Fixed Sidebar","app.setting.fixedsidebar.hint":"Works on Side Menu Layout","app.setting.hideheader":"Hidden Header when scrolling","app.setting.hideheader.hint":"Works when Hidden Header is enabled","app.setting.othersettings":"Other Settings","app.setting.weakmode":"Weak Mode","app.setting.copy":"Copy Setting","app.setting.loading":"Loading theme","app.setting.copyinfo":"copy success\uFF0Cplease replace defaultSettings in src/models/setting.js","app.setting.production.hint":"Setting panel shows in development environment only, please manually modify"},Ka=(0,s.Z)({},Fa),Ua={"app.setting.pagestyle":"Impostazioni di stile","app.setting.pagestyle.dark":"Tema scuro","app.setting.pagestyle.light":"Tema chiaro","app.setting.content-width":"Largezza contenuto","app.setting.content-width.fixed":"Fissa","app.setting.content-width.fluid":"Fluida","app.setting.themecolor":"Colore del tema","app.setting.themecolor.dust":"Rosso polvere","app.setting.themecolor.volcano":"Vulcano","app.setting.themecolor.sunset":"Arancione tramonto","app.setting.themecolor.cyan":"Ciano","app.setting.themecolor.green":"Verde polare","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Blu cielo mattutino","app.setting.themecolor.geekblue":"Blu geek","app.setting.themecolor.purple":"Viola dorato","app.setting.navigationmode":"Modalit\xE0 di navigazione","app.setting.sidemenu":"Menu laterale","app.setting.topmenu":"Menu in testata","app.setting.mixmenu":"Menu misto","app.setting.splitMenus":"Menu divisi","app.setting.fixedheader":"Testata fissa","app.setting.fixedsidebar":"Menu laterale fisso","app.setting.fixedsidebar.hint":"Solo se selezionato Menu laterale","app.setting.hideheader":"Nascondi testata durante lo scorrimento","app.setting.hideheader.hint":"Solo se abilitato Nascondi testata durante lo scorrimento","app.setting.othersettings":"Altre impostazioni","app.setting.weakmode":"Inverti colori","app.setting.copy":"Copia impostazioni","app.setting.loading":"Carico tema...","app.setting.copyinfo":"Impostazioni copiate con successo! Incolla il contenuto in config/defaultSettings.js","app.setting.production.hint":"Questo pannello \xE8 visibile solo durante lo sviluppo. Le impostazioni devono poi essere modificate manulamente"},Ga=(0,s.Z)({},Ua),Va={"app.setting.pagestyle":"\uC2A4\uD0C0\uC77C \uC124\uC815","app.setting.pagestyle.dark":"\uB2E4\uD06C \uBAA8\uB4DC","app.setting.pagestyle.light":"\uB77C\uC774\uD2B8 \uBAA8\uB4DC","app.setting.content-width":"\uCEE8\uD150\uCE20 \uB108\uBE44","app.setting.content-width.fixed":"\uACE0\uC815","app.setting.content-width.fluid":"\uD750\uB984","app.setting.themecolor":"\uD14C\uB9C8 \uC0C9\uC0C1","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.navigationmode":"\uB124\uBE44\uAC8C\uC774\uC158 \uBAA8\uB4DC","app.setting.regionalsettings":"\uC601\uC5ED\uBCC4 \uC124\uC815","app.setting.regionalsettings.header":"\uD5E4\uB354","app.setting.regionalsettings.menu":"\uBA54\uB274","app.setting.regionalsettings.footer":"\uBC14\uB2E5\uAE00","app.setting.regionalsettings.menuHeader":"\uBA54\uB274 \uD5E4\uB354","app.setting.sidemenu":"\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58","app.setting.topmenu":"\uBA54\uB274 \uC0C1\uB2E8 \uBC30\uCE58","app.setting.mixmenu":"\uD63C\uD569\uD615 \uBC30\uCE58","app.setting.splitMenus":"\uBA54\uB274 \uBD84\uB9AC","app.setting.fixedheader":"\uD5E4\uB354 \uACE0\uC815","app.setting.fixedsidebar":"\uC0AC\uC774\uB4DC\uBC14 \uACE0\uC815","app.setting.fixedsidebar.hint":"'\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58'\uB97C \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.hideheader":"\uC2A4\uD06C\uB864 \uC911 \uD5E4\uB354 \uAC10\uCD94\uAE30","app.setting.hideheader.hint":"'\uD5E4\uB354 \uAC10\uCD94\uAE30 \uC635\uC158'\uC744 \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.othersettings":"\uB2E4\uB978 \uC124\uC815","app.setting.weakmode":"\uACE0\uB300\uBE44 \uBAA8\uB4DC","app.setting.copy":"\uC124\uC815\uAC12 \uBCF5\uC0AC","app.setting.loading":"\uD14C\uB9C8 \uB85C\uB529 \uC911","app.setting.copyinfo":"\uBCF5\uC0AC \uC131\uACF5. src/models/settings.js\uC5D0 \uC788\uB294 defaultSettings\uB97C \uAD50\uCCB4\uD574 \uC8FC\uC138\uC694.","app.setting.production.hint":"\uC124\uC815 \uD310\uB12C\uC740 \uAC1C\uBC1C \uD658\uACBD\uC5D0\uC11C\uB9CC \uBCF4\uC5EC\uC9D1\uB2C8\uB2E4. \uC9C1\uC811 \uC218\uB3D9\uC73C\uB85C \uBCC0\uACBD\uBC14\uB78D\uB2C8\uB2E4."},Xa=(0,s.Z)({},Va),Qa={"app.setting.pagestyle":"\u6574\u4F53\u98CE\u683C\u8BBE\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98CE\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.content-width":"\u5185\u5BB9\u533A\u57DF\u5BBD\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BBD","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u9898\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6781\u5149\u7EFF","app.setting.themecolor.techBlue":"\u79D1\u6280\u84DD\uFF08\u9ED8\u8BA4\uFF09","app.setting.themecolor.daybreak":"\u62C2\u6653","app.setting.themecolor.geekblue":"\u6781\u5BA2\u84DD","app.setting.themecolor.purple":"\u9171\u7D2B","app.setting.navigationmode":"\u5BFC\u822A\u6A21\u5F0F","app.setting.sidermenutype":"\u4FA7\u8FB9\u83DC\u5355\u7C7B\u578B","app.setting.sidermenutype-sub":"\u7ECF\u5178\u6A21\u5F0F","app.setting.sidermenutype-group":"\u5206\u7EC4\u6A21\u5F0F","app.setting.regionalsettings":"\u5185\u5BB9\u533A\u57DF","app.setting.regionalsettings.header":"\u9876\u680F","app.setting.regionalsettings.menu":"\u83DC\u5355","app.setting.regionalsettings.footer":"\u9875\u811A","app.setting.regionalsettings.menuHeader":"\u83DC\u5355\u5934","app.setting.sidemenu":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40","app.setting.topmenu":"\u9876\u90E8\u83DC\u5355\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u5355\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u4FA7\u8FB9\u83DC\u5355","app.setting.fixedsidebar.hint":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40\u65F6\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u65F6\u9690\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u65F6\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8BBE\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8D1D\u8BBE\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F7D\u4E3B\u9898","app.setting.copyinfo":"\u62F7\u8D1D\u6210\u529F\uFF0C\u8BF7\u5230 src/defaultSettings.js \u4E2D\u66FF\u6362\u9ED8\u8BA4\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u680F\u53EA\u5728\u5F00\u53D1\u73AF\u5883\u7528\u4E8E\u9884\u89C8\uFF0C\u751F\u4EA7\u73AF\u5883\u4E0D\u4F1A\u5C55\u73B0\uFF0C\u8BF7\u62F7\u8D1D\u540E\u624B\u52A8\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},Ya=(0,s.Z)({},Qa),Ja={"app.setting.pagestyle":"\u6574\u9AD4\u98A8\u683C\u8A2D\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u55AE\u98A8\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98A8\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u55AE\u98A8\u683C","app.setting.content-width":"\u5167\u5BB9\u5340\u57DF\u5BEC\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BEC","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u984C\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6975\u5149\u7DA0","app.setting.themecolor.techBlue":"\u79D1\u6280\u84DD\uFF08\u9ED8\u8A8D\uFF09","app.setting.themecolor.daybreak":"\u62C2\u66C9\u85CD","app.setting.themecolor.geekblue":"\u6975\u5BA2\u85CD","app.setting.themecolor.purple":"\u91AC\u7D2B","app.setting.navigationmode":"\u5C0E\u822A\u6A21\u5F0F","app.setting.sidemenu":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40","app.setting.topmenu":"\u9802\u90E8\u83DC\u55AE\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u55AE\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u5074\u908A\u83DC\u55AE","app.setting.fixedsidebar.hint":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40\u6642\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u6642\u96B1\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u6642\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8A2D\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8C9D\u8A2D\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F09\u4E3B\u984C","app.setting.copyinfo":"\u62F7\u8C9D\u6210\u529F\uFF0C\u8ACB\u5230 src/defaultSettings.js \u4E2D\u66FF\u63DB\u9ED8\u8A8D\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u6B04\u53EA\u5728\u958B\u767C\u74B0\u5883\u7528\u65BC\u9810\u89BD\uFF0C\u751F\u7522\u74B0\u5883\u4E0D\u6703\u5C55\u73FE\uFF0C\u8ACB\u62F7\u8C9D\u5F8C\u624B\u52D5\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},qa=(0,s.Z)({},Ja),An={"zh-CN":Ya,"zh-TW":qa,"en-US":Ka,"it-IT":Ga,"ko-KR":Xa},eo=function(){if(!(0,P.j)())return"zh-CN";var e=window.localStorage.getItem("umi_locale");return e||window.g_locale||navigator.language},to=function(){var e=eo();return An[e]||An["zh-CN"]},Ot=p(67159),tn=p(34155),no=function(){var e,t;return typeof tn=="undefined"?Ot.Z:((e=tn)===null||tn===void 0||(t={NODE_ENV:"production",PUBLIC_PATH:"/react/build/"})===null||t===void 0?void 0:t.ANTD_VERSION)||Ot.Z},ro=function(e){var t,n,a,i,o,l,v,c,m,g,x,_,O,E,$,L,A,k,Z,T,I,b,te,Q,ne,ie,ce,H,ae,Se,B,pe,$e,oe,M,Ie,Ce,J,Re,we,Pe,je,he,Ae,He,Oe,ke,ye,_e,Me,ze,Ue,tt,nt,rt,We,Fe,Ge,at,Xe,ot,Qe,it,Ye,mt,_t,ht,pt,Je,Ke,lt;return(t=no())!==null&&t!==void 0&&t.startsWith("5")?{}:(lt={},(0,u.Z)(lt,e.componentCls,(Ge={width:"100%",height:"100%"},(0,u.Z)(Ge,"".concat(e.proComponentsCls,"-base-menu"),(he={color:(n=e.layout)===null||n===void 0||(a=n.sider)===null||a===void 0?void 0:a.colorTextMenu},(0,u.Z)(he,"".concat(e.antCls,"-menu-sub"),{backgroundColor:"transparent!important",color:(i=e.layout)===null||i===void 0||(o=i.sider)===null||o===void 0?void 0:o.colorTextMenu}),(0,u.Z)(he,"& ".concat(e.antCls,"-layout"),{backgroundColor:"transparent",width:"100%"}),(0,u.Z)(he,"".concat(e.antCls,"-menu-submenu-expand-icon, ").concat(e.antCls,"-menu-submenu-arrow"),{color:"inherit"}),(0,u.Z)(he,"&".concat(e.antCls,"-menu"),(c={color:(l=e.layout)===null||l===void 0||(v=l.sider)===null||v===void 0?void 0:v.colorTextMenu},(0,u.Z)(c,"".concat(e.antCls,"-menu-item"),{"*":{transition:"none !important"}}),(0,u.Z)(c,"".concat(e.antCls,"-menu-item a"),{color:"inherit"}),c)),(0,u.Z)(he,"&".concat(e.antCls,"-menu-inline"),(0,u.Z)({},"".concat(e.antCls,"-menu-selected::after,").concat(e.antCls,"-menu-item-selected::after"),{display:"none"})),(0,u.Z)(he,"".concat(e.antCls,"-menu-sub ").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),(0,u.Z)(he,"".concat(e.antCls,`-menu-item:active, + `).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"}),(0,u.Z)(he,"&".concat(e.antCls,"-menu-light"),(0,u.Z)({},"".concat(e.antCls,`-menu-item:hover, + `).concat(e.antCls,`-menu-item-active, + `).concat(e.antCls,`-menu-submenu-active, + `).concat(e.antCls,"-menu-submenu-title:hover"),(0,u.Z)({color:(m=e.layout)===null||m===void 0||(g=m.sider)===null||g===void 0?void 0:g.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(x=e.layout)===null||x===void 0||(_=x.sider)===null||_===void 0?void 0:_.colorTextMenuActive}))),(0,u.Z)(he,"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(I={},(0,u.Z)(I,"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:(O=e.layout)===null||O===void 0||(E=O.sider)===null||E===void 0?void 0:E.colorBgMenuItemSelected,borderRadius:e.borderRadius}),(0,u.Z)(I,"".concat(e.antCls,`-menu-item:hover, + `).concat(e.antCls,`-menu-item-active, + `).concat(e.antCls,"-menu-submenu-title:hover"),(0,u.Z)({color:($=e.layout)===null||$===void 0||(L=$.sider)===null||L===void 0?void 0:L.colorTextMenuActive,borderRadius:e.borderRadius,backgroundColor:"".concat((A=e.layout)===null||A===void 0||(k=A.header)===null||k===void 0?void 0:k.colorBgMenuItemHover," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(Z=e.layout)===null||Z===void 0||(T=Z.sider)===null||T===void 0?void 0:T.colorTextMenuActive})),I)),(0,u.Z)(he,"".concat(e.antCls,"-menu-item-selected"),{color:(b=e.layout)===null||b===void 0||(te=b.sider)===null||te===void 0?void 0:te.colorTextMenuSelected}),(0,u.Z)(he,"".concat(e.antCls,"-menu-submenu-selected"),{color:(Q=e.layout)===null||Q===void 0||(ne=Q.sider)===null||ne===void 0?void 0:ne.colorTextMenuSelected}),(0,u.Z)(he,"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-inline) ").concat(e.antCls,"-menu-submenu-open"),{color:(ie=e.layout)===null||ie===void 0||(ce=ie.sider)===null||ce===void 0?void 0:ce.colorTextMenuSelected}),(0,u.Z)(he,"&".concat(e.antCls,"-menu-vertical"),(0,u.Z)({},"".concat(e.antCls,"-menu-submenu-selected"),{borderRadius:e.borderRadius,color:(H=e.layout)===null||H===void 0||(ae=H.sider)===null||ae===void 0?void 0:ae.colorTextMenuSelected})),(0,u.Z)(he,"".concat(e.antCls,"-menu-submenu:hover > ").concat(e.antCls,"-menu-submenu-title > ").concat(e.antCls,"-menu-submenu-arrow"),{color:(Se=e.layout)===null||Se===void 0||(B=Se.sider)===null||B===void 0?void 0:B.colorTextMenuActive}),(0,u.Z)(he,"&".concat(e.antCls,"-menu-horizontal"),(je={},(0,u.Z)(je,"".concat(e.antCls,`-menu-item:hover, + `).concat(e.antCls,`-menu-submenu:hover, + `).concat(e.antCls,`-menu-item-active, + `).concat(e.antCls,"-menu-submenu-active"),{borderRadius:4,transition:"none",color:(pe=e.layout)===null||pe===void 0||($e=pe.header)===null||$e===void 0?void 0:$e.colorTextMenuActive,backgroundColor:"".concat((oe=e.layout)===null||oe===void 0||(M=oe.header)===null||M===void 0?void 0:M.colorBgMenuItemHover," !important")}),(0,u.Z)(je,"".concat(e.antCls,`-menu-item-open, + `).concat(e.antCls,`-menu-submenu-open, + `).concat(e.antCls,`-menu-item-selected, + `).concat(e.antCls,"-menu-submenu-selected"),(0,u.Z)({backgroundColor:(Ie=e.layout)===null||Ie===void 0||(Ce=Ie.header)===null||Ce===void 0?void 0:Ce.colorBgMenuItemSelected,borderRadius:e.borderRadius,transition:"none",color:"".concat((J=e.layout)===null||J===void 0||(Re=J.header)===null||Re===void 0?void 0:Re.colorTextMenuSelected," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:"".concat((we=e.layout)===null||we===void 0||(Pe=we.header)===null||Pe===void 0?void 0:Pe.colorTextMenuSelected," !important")})),(0,u.Z)(je,"> ".concat(e.antCls,"-menu-item, > ").concat(e.antCls,"-menu-submenu"),{paddingInline:16,marginInline:4}),(0,u.Z)(je,"> ".concat(e.antCls,"-menu-item::after, > ").concat(e.antCls,"-menu-submenu::after"),{display:"none"}),je)),he)),(0,u.Z)(Ge,"".concat(e.proComponentsCls,"-top-nav-header-base-menu"),(Fe={},(0,u.Z)(Fe,"&".concat(e.antCls,"-menu"),(0,u.Z)({color:(Ae=e.layout)===null||Ae===void 0||(He=Ae.header)===null||He===void 0?void 0:He.colorTextMenu},"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),(0,u.Z)(Fe,"&".concat(e.antCls,"-menu-light"),(We={},(0,u.Z)(We,"".concat(e.antCls,`-menu-item:hover, + `).concat(e.antCls,`-menu-item-active, + `).concat(e.antCls,`-menu-submenu-active, + `).concat(e.antCls,"-menu-submenu-title:hover"),(0,u.Z)({color:(Oe=e.layout)===null||Oe===void 0||(ke=Oe.header)===null||ke===void 0?void 0:ke.colorTextMenuActive,borderRadius:e.borderRadius,transition:"none",backgroundColor:(ye=e.layout)===null||ye===void 0||(_e=ye.header)===null||_e===void 0?void 0:_e.colorBgMenuItemSelected},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(Me=e.layout)===null||Me===void 0||(ze=Me.header)===null||ze===void 0?void 0:ze.colorTextMenuActive})),(0,u.Z)(We,"".concat(e.antCls,"-menu-item-selected"),{color:(Ue=e.layout)===null||Ue===void 0||(tt=Ue.header)===null||tt===void 0?void 0:tt.colorTextMenuSelected,borderRadius:e.borderRadius,backgroundColor:(nt=e.layout)===null||nt===void 0||(rt=nt.header)===null||rt===void 0?void 0:rt.colorBgMenuItemSelected}),We)),Fe)),Ge)),(0,u.Z)(lt,"".concat(e.antCls,"-menu-sub").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),(0,u.Z)(lt,"".concat(e.antCls,"-menu-submenu-popup"),(Ke={backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"},(0,u.Z)(Ke,"".concat(e.antCls,"-menu"),(0,u.Z)({background:"transparent !important",backgroundColor:"transparent !important"},"".concat(e.antCls,`-menu-item:active, + `).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"})),(0,u.Z)(Ke,"".concat(e.antCls,"-menu-item-selected"),{color:(at=e.layout)===null||at===void 0||(Xe=at.sider)===null||Xe===void 0?void 0:Xe.colorTextMenuSelected}),(0,u.Z)(Ke,"".concat(e.antCls,"-menu-submenu-selected"),{color:(ot=e.layout)===null||ot===void 0||(Qe=ot.sider)===null||Qe===void 0?void 0:Qe.colorTextMenuSelected}),(0,u.Z)(Ke,"".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(Je={},(0,u.Z)(Je,"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:"rgba(0, 0, 0, 0.04)",borderRadius:e.borderRadius,color:(it=e.layout)===null||it===void 0||(Ye=it.sider)===null||Ye===void 0?void 0:Ye.colorTextMenuSelected}),(0,u.Z)(Je,"".concat(e.antCls,`-menu-item:hover, + `).concat(e.antCls,`-menu-item-active, + `).concat(e.antCls,"-menu-submenu-title:hover"),(0,u.Z)({color:(mt=e.layout)===null||mt===void 0||(_t=mt.sider)===null||_t===void 0?void 0:_t.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(ht=e.layout)===null||ht===void 0||(pt=ht.sider)===null||pt===void 0?void 0:pt.colorTextMenuActive})),Je)),Ke)),lt)},ao=function(e){var t,n,a,i,o,l,v,c,m;return m={},(0,u.Z)(m,"".concat(e.antCls,"-layout"),{backgroundColor:"transparent !important"}),(0,u.Z)(m,e.componentCls,(c={},(0,u.Z)(c,"& ".concat(e.antCls,"-layout"),{display:"flex",backgroundColor:"transparent",width:"100%"}),(0,u.Z)(c,"".concat(e.componentCls,"-content"),{display:"flex",flexDirection:"column",width:"100%",backgroundColor:((t=e.layout)===null||t===void 0||(n=t.pageContainer)===null||n===void 0?void 0:n.colorBgPageContainer)||"transparent",position:"relative",paddingBlock:(a=e.layout)===null||a===void 0||(i=a.pageContainer)===null||i===void 0?void 0:i.paddingBlockPageContainerContent,paddingInline:(o=e.layout)===null||o===void 0||(l=o.pageContainer)===null||l===void 0?void 0:l.paddingInlinePageContainerContent,"&-has-page-container":{padding:0}}),(0,u.Z)(c,"".concat(e.componentCls,"-container"),{width:"100%",display:"flex",flexDirection:"column",minWidth:0,minHeight:0,backgroundColor:"transparent"}),(0,u.Z)(c,"".concat(e.componentCls,"-bg-list"),{pointerEvents:"none",position:"fixed",overflow:"hidden",insetBlockStart:0,insetInlineStart:0,zIndex:0,height:"100%",width:"100%",background:(v=e.layout)===null||v===void 0?void 0:v.bgLayout}),c)),m};function oo(r){return(0,Le.Xj)("ProLayout",function(e){var t=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[ao(t),ro(t)]})}function io(r){if(!r||r==="/")return["/"];var e=r.split("/").filter(function(t){return t});return e.map(function(t,n){return"/".concat(e.slice(0,n+1).join("/"))})}var nn=p(34155),lo=function(){var e,t;return typeof nn=="undefined"?Ot.Z:((e=nn)===null||nn===void 0||(t={NODE_ENV:"production",PUBLIC_PATH:"/react/build/"})===null||t===void 0?void 0:t.ANTD_VERSION)||Ot.Z},uo=function(e,t,n){var a=e,i=a.breadcrumbName,o=a.title,l=a.path,v=n.findIndex(function(c){return c.linkPath===e.path})===n.length-1;return v?(0,d.jsx)("span",{children:o||i}):(0,d.jsx)("span",{onClick:l?function(){return location.href=l}:void 0,children:o||i})},co=function(e,t){var n=t.formatMessage,a=t.menu;return e.locale&&n&&(a==null?void 0:a.locale)!==!1?n({id:e.locale,defaultMessage:e.name}):e.name},so=function(e,t){var n=e.get(t);if(!n){var a=Array.from(e.keys())||[],i=a.find(function(o){return qt()(o.replace("?","")).test(t)});i&&(n=e.get(i))}return n||{path:""}},vo=function(e){var t=e.location,n=e.breadcrumbMap;return{location:t,breadcrumbMap:n}},fo=function(e,t,n){var a=io(e==null?void 0:e.pathname),i=a.map(function(o){var l=so(t,o),v=co(l,n),c=l.hideInBreadcrumb;return v&&!c?{linkPath:o,breadcrumbName:v,title:v,component:l.component}:{linkPath:"",breadcrumbName:"",title:""}}).filter(function(o){return o&&o.linkPath});return i},mo=function(e){var t=vo(e),n=t.location,a=t.breadcrumbMap;return n&&n.pathname&&a?fo(n,a,e):[]},ho=function(e,t){var n=e.breadcrumbRender,a=e.itemRender,i=t.breadcrumbProps||{},o=i.minLength,l=o===void 0?2:o,v=mo(e),c=function(x){for(var _=a||uo,O=arguments.length,E=new Array(O>1?O-1:0),$=1;$-1?{items:m,itemRender:c}:{routes:m,itemRender:c}};function po(r){return(0,Ht.Z)(r).reduce(function(e,t){var n=(0,R.Z)(t,2),a=n[0],i=n[1];return e[a]=i,e},{})}var go=function r(e,t,n,a){var i=Ir(e,(t==null?void 0:t.locale)||!1,n,!0),o=i.menuData,l=i.breadcrumb;return a?r(a(o),t,n,void 0):{breadcrumb:po(l),breadcrumbMap:l,menuData:o}},yo=p(71002),xo=p(51812),Co=function(e){var t=(0,f.useState)({}),n=(0,R.Z)(t,2),a=n[0],i=n[1];return(0,f.useEffect)(function(){i((0,xo.Y)({layout:(0,yo.Z)(e.layout)!=="object"?e.layout:void 0,navTheme:e.navTheme,menuRender:e.menuRender,footerRender:e.footerRender,menuHeaderRender:e.menuHeaderRender,headerRender:e.headerRender,fixSiderbar:e.fixSiderbar}))},[e.layout,e.navTheme,e.menuRender,e.footerRender,e.menuHeaderRender,e.headerRender,e.fixSiderbar]),a},bo=p(97326),So=p(32531),Mo=p(73568),Zo=p(29905),$o=function(r){(0,So.Z)(t,r);var e=(0,Mo.Z)(t);function t(){var n;(0,bn.Z)(this,t);for(var a=arguments.length,i=new Array(a),o=0;o0),t)),g=e.ErrorBoundary||$o;return e.ErrorBoundary===!1?(0,d.jsx)(It.Z.Content,{className:m,style:i,children:l}):(0,d.jsx)(g,{children:(0,d.jsx)(It.Z.Content,{className:m,style:i,children:l})})},_o=["id","defaultMessage"],Ro=["fixSiderbar","navTheme","layout"],On=0,To=function(e,t){var n;return e.headerRender===!1||e.pure?null:(0,d.jsx)(Ha,(0,s.Z)((0,s.Z)({matchMenuKeys:t},e),{},{stylish:(n=e.stylish)===null||n===void 0?void 0:n.header}))},wo=function(e){return e.footerRender===!1||e.pure?null:e.footerRender?e.footerRender((0,s.Z)({},e),(0,d.jsx)(Hr.q,{})):null},Bo=function(e,t){var n,a=e.layout,i=e.isMobile,o=e.selectedKeys,l=e.openKeys,v=e.splitMenus,c=e.suppressSiderWhenMenuEmpty,m=e.menuRender;if(e.menuRender===!1||e.pure)return null;var g=e.menuData;if(v&&(l!==!1||a==="mix")&&!i){var x=o||t,_=(0,R.Z)(x,1),O=_[0];if(O){var E,$;g=((E=e.menuData)===null||E===void 0||($=E.find(function(Z){return Z.key===O}))===null||$===void 0?void 0:$.children)||[]}else g=[]}var L=Et(g||[]);if(L&&(L==null?void 0:L.length)<1&&(v||c))return null;if(a==="top"&&!i){var A;return(0,d.jsx)(Hn,(0,s.Z)((0,s.Z)({matchMenuKeys:t},e),{},{hide:!0,stylish:(A=e.stylish)===null||A===void 0?void 0:A.sider}))}var k=(0,d.jsx)(Hn,(0,s.Z)((0,s.Z)({matchMenuKeys:t},e),{},{menuData:L,stylish:(n=e.stylish)===null||n===void 0?void 0:n.sider}));return m?m(e,k):k},Po=function(e,t){var n=t.pageTitleRender,a=en(e);if(n===!1)return{title:t.title||"",id:"",pageName:""};if(n){var i=n(e,a.title,a);if(typeof i=="string")return en((0,s.Z)((0,s.Z)({},a),{},{title:i}));(0,Er.ZP)(typeof i=="string","pro-layout: renderPageTitle return value should be a string")}return a},jo=function(e,t,n){return e?t?64:n:0},Eo=function(e){var t,n,a,i,o,l,v,c,m,g,x,_,O,E,$,L,A,k,Z,T,I,b,te,Q,ne,ie,ce,H=e||{},ae=H.children,Se=H.onCollapse,B=H.location,pe=B===void 0?{pathname:"/"}:B,$e=H.contentStyle,oe=H.route,M=H.defaultCollapsed,Ie=H.style,Ce=H.siderWidth,J=H.menu,Re=H.siderMenuType,we=H.isChildrenLayout,Pe=H.menuDataRender,je=H.actionRef,he=H.bgLayoutImgList,Ae=H.formatMessage,He=H.loading,Oe=(0,f.useMemo)(function(){return Ce||(e.layout==="mix"?215:256)},[e.layout,Ce]),ke=(0,f.useContext)(Ve.ZP.ConfigContext),ye=(t=e.prefixCls)!==null&&t!==void 0?t:ke.getPrefixCls("pro"),_e=(0,W.Z)(!1,{value:J==null?void 0:J.loading,onChange:J==null?void 0:J.onLoadingChange}),Me=(0,R.Z)(_e,2),ze=Me[0],Ue=Me[1],tt=(0,f.useState)(function(){return On+=1,"pro-layout-".concat(On)}),nt=(0,R.Z)(tt,1),rt=nt[0],We=(0,f.useCallback)(function(Be){var st=Be.id,zt=Be.defaultMessage,wt=(0,re.Z)(Be,_o);if(Ae)return Ae((0,s.Z)({id:st,defaultMessage:zt},wt));var Bt=to();return Bt[st]?Bt[st]:zt},[Ae]),Fe=(0,hn.ZP)([rt,J==null?void 0:J.params],function(){var Be=(0,K.Z)((0,q.Z)().mark(function st(zt){var wt,Bt,Yn,Jn;return(0,q.Z)().wrap(function(Ct){for(;;)switch(Ct.prev=Ct.next){case 0:return Bt=(0,R.Z)(zt,2),Yn=Bt[1],Ue(!0),Ct.next=4,J==null||(wt=J.request)===null||wt===void 0?void 0:wt.call(J,Yn||{},(oe==null?void 0:oe.children)||(oe==null?void 0:oe.routes)||[]);case 4:return Jn=Ct.sent,Ue(!1),Ct.abrupt("return",Jn);case 7:case"end":return Ct.stop()}},st)}));return function(st){return Be.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),Ge=Fe.data,at=Fe.mutate,Xe=Fe.isLoading;(0,f.useEffect)(function(){Ue(Xe)},[Xe]);var ot=(0,hn.kY)(),Qe=ot.cache;(0,f.useEffect)(function(){return function(){Qe instanceof Map&&Qe.clear()}},[]);var it=(0,f.useMemo)(function(){return go(Ge||(oe==null?void 0:oe.children)||(oe==null?void 0:oe.routes)||[],J,We,Pe)},[We,J,Pe,Ge,oe==null?void 0:oe.children,oe==null?void 0:oe.routes]),Ye=it||{},mt=Ye.breadcrumb,_t=mt===void 0?{}:mt,ht=Ye.breadcrumbMap,pt=Ye.menuData,Je=pt===void 0?[]:pt;je&&J!==null&&J!==void 0&&J.request&&(je.current={reload:function(){at()}});var Ke=(0,f.useMemo)(function(){return Pr(pe.pathname||"/",Je||[],!0)},[pe.pathname,Je]),lt=(0,f.useMemo)(function(){return Array.from(new Set(Ke.map(function(Be){return Be.key||Be.path||""})))},[Ke]),Dn=Ke[Ke.length-1]||{},kn=Co(Dn),Dt=(0,s.Z)((0,s.Z)({},e),kn),Ho=Dt.fixSiderbar,ei=Dt.navTheme,Rt=Dt.layout,No=(0,re.Z)(Dt,Ro),gt=S(),yt=(0,f.useMemo)(function(){return(gt==="sm"||gt==="xs")&&!e.disableMobile},[gt,e.disableMobile]),Ao=Rt!=="top"&&!yt,Oo=(0,W.Z)(function(){return M!==void 0?M:!!(yt||gt==="md")},{value:e.collapsed,onChange:Se}),zn=(0,R.Z)(Oo,2),Tt=zn[0],Wn=zn[1],xt=(0,mn.Z)((0,s.Z)((0,s.Z)((0,s.Z)({prefixCls:ye},e),{},{siderWidth:Oe},kn),{},{formatMessage:We,breadcrumb:_t,menu:(0,s.Z)((0,s.Z)({},J),{},{type:Re||(J==null?void 0:J.type),loading:ze}),layout:Rt}),["className","style","breadcrumbRender"]),rn=Po((0,s.Z)((0,s.Z)({pathname:pe.pathname},xt),{},{breadcrumbMap:ht}),e),Do=ho((0,s.Z)((0,s.Z)({},xt),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:ht}),e),kt=Bo((0,s.Z)((0,s.Z)({},xt),{},{menuData:Je,onCollapse:Wn,isMobile:yt,collapsed:Tt}),lt),an=To((0,s.Z)((0,s.Z)({},xt),{},{children:null,hasSiderMenu:!!kt,menuData:Je,isMobile:yt,collapsed:Tt,onCollapse:Wn}),lt),Fn=wo((0,s.Z)({isMobile:yt,collapsed:Tt},xt)),ko=(0,f.useContext)(Nn.X),zo=ko.isChildrenLayout,on=we!==void 0?we:zo,qe="".concat(ye,"-layout"),Kn=oo(qe),Wo=Kn.wrapSSR,ln=Kn.hashId,Fo=de()(e.className,ln,"ant-design-pro",qe,(n={},(0,u.Z)(n,"screen-".concat(gt),gt),(0,u.Z)(n,"".concat(qe,"-top-menu"),Rt==="top"),(0,u.Z)(n,"".concat(qe,"-is-children"),on),(0,u.Z)(n,"".concat(qe,"-fix-siderbar"),Ho),(0,u.Z)(n,"".concat(qe,"-").concat(Rt),Rt),n)),Ko=jo(!!Ao,Tt,Oe),Un={position:"relative"};(on||$e&&$e.minHeight)&&(Un.minHeight=0),(0,f.useEffect)(function(){var Be;(Be=e.onPageChange)===null||Be===void 0||Be.call(e,e.location)},[pe.pathname,(a=pe.pathname)===null||a===void 0?void 0:a.search]);var Uo=(0,f.useState)(!1),Gn=(0,R.Z)(Uo,2),Vn=Gn[0],Go=Gn[1],Vo=(0,f.useState)(0),Xn=(0,R.Z)(Vo,2),Qn=Xn[0],Xo=Xn[1];h(rn,e.title||!1);var Qo=(0,f.useMemo)(function(){return he&&he.length>0?he.map(function(Be,st){return(0,d.jsx)("img",{src:Be.src,style:(0,s.Z)({position:"absolute"},Be)},st)}):null},[he]),Yo=(0,f.useContext)(U.L_),fe=Yo.token;return Wo((0,d.jsx)(Nn.X.Provider,{value:(0,s.Z)((0,s.Z)({},xt),{},{breadcrumb:Do,menuData:Je,isMobile:yt,collapsed:Tt,hasPageContainer:Qn,setHasPageContainer:Xo,isChildrenLayout:!0,title:rn.pageName,hasSiderMenu:!!kt,hasHeader:!!an,siderWidth:Ko,hasFooter:!!Fn,hasFooterToolbar:Vn,setHasFooterToolbar:Go,pageTitleInfo:rn,matchMenus:Ke,matchMenuKeys:lt,currentMenu:Dn}),children:e.pure?(0,d.jsx)(d.Fragment,{children:ae}):(0,d.jsxs)("div",{className:Fo,children:[(0,d.jsx)("div",{className:de()("".concat(qe,"-bg-list"),ln),children:Qo}),(0,d.jsxs)(It.Z,{style:(0,s.Z)({minHeight:"100%",flexDirection:kt?"row":void 0},Ie),children:[(0,d.jsx)(Ve.ZP,{theme:{hashed:(0,U.nu)(),components:{Menu:w({colorItemBg:((i=fe.layout)===null||i===void 0||(o=i.sider)===null||o===void 0?void 0:o.colorMenuBackground)||"transparent",colorSubItemBg:((l=fe.layout)===null||l===void 0||(v=l.sider)===null||v===void 0?void 0:v.colorMenuBackground)||"transparent",radiusItem:4,controlHeightLG:((c=fe.layout)===null||c===void 0||(m=c.sider)===null||m===void 0?void 0:m.menuHeight)||(fe==null?void 0:fe.controlHeightLG),colorItemBgSelected:((g=fe.layout)===null||g===void 0||(x=g.sider)===null||x===void 0?void 0:x.colorBgMenuItemSelected)||(fe==null?void 0:fe.colorBgTextHover),colorItemBgHover:((_=fe.layout)===null||_===void 0||(O=_.sider)===null||O===void 0?void 0:O.colorBgMenuItemHover)||(fe==null?void 0:fe.colorBgTextHover),colorItemBgActive:((E=fe.layout)===null||E===void 0||($=E.sider)===null||$===void 0?void 0:$.colorBgMenuItemActive)||(fe==null?void 0:fe.colorBgTextActive),colorItemBgSelectedHorizontal:((L=fe.layout)===null||L===void 0||(A=L.sider)===null||A===void 0?void 0:A.colorBgMenuItemSelected)||(fe==null?void 0:fe.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((k=fe.layout)===null||k===void 0||(Z=k.sider)===null||Z===void 0?void 0:Z.colorTextMenu)||(fe==null?void 0:fe.colorTextSecondary),colorItemTextHover:((T=fe.layout)===null||T===void 0||(I=T.sider)===null||I===void 0?void 0:I.colorTextMenuItemHover)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:((b=fe.layout)===null||b===void 0||(te=b.sider)===null||te===void 0?void 0:te.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",colorBgElevated:((Q=fe.layout)===null||Q===void 0||(ne=Q.sider)===null||ne===void 0?void 0:ne.colorBgMenuItemCollapsedElevated)||"#fff"})}},children:kt}),(0,d.jsxs)("div",{style:Un,className:"".concat(qe,"-container ").concat(ln).trim(),children:[an,(0,d.jsx)(Io,(0,s.Z)((0,s.Z)({hasPageContainer:Qn,isChildrenLayout:on},No),{},{hasHeader:!!an,prefixCls:qe,style:$e,children:He?(0,d.jsx)(Na.S,{}):ae})),Fn,Vn&&(0,d.jsx)("div",{className:"".concat(qe,"-has-footer"),style:{height:64,marginBlockStart:(ie=fe.layout)===null||ie===void 0||(ce=ie.pageContainer)===null||ce===void 0?void 0:ce.paddingBlockPageContainerContent}})]})]})]})}))},Lo=function(e){var t=e.colorPrimary,n=e.navTheme!==void 0?{dark:e.navTheme==="realDark"}:{};return(0,d.jsx)(Ve.ZP,{theme:t?{token:{colorPrimary:t}}:void 0,children:(0,d.jsx)(U._Y,(0,s.Z)((0,s.Z)({autoClearCache:!0},n),{},{token:e.token,prefixCls:e.prefixCls,children:(0,d.jsx)(Eo,(0,s.Z)((0,s.Z)({logo:(0,d.jsx)(Lr,{})},$n),{},{location:(0,P.j)()?window.location:void 0},e))}))})}},90743:function(xe,me){var p;function u(h){"@babel/helpers - typeof";return u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(C){return typeof C}:function(C){return C&&typeof Symbol=="function"&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},u(h)}p={value:!0},me.Bo=p=p=p=p=p=p=void 0;function q(h){for(var C=[],y=0;y=48&&j<=57||j>=65&&j<=90||j>=97&&j<=122||j===95){se+=h[D++];continue}break}if(!se)throw new TypeError("Missing parameter name at "+y);C.push({type:"NAME",index:y,value:se}),y=D;continue}if(w==="("){var V=1,le="",D=y+1;if(h[D]==="?")throw new TypeError('Pattern cannot start with "?" at '+D);for(;D-1:Ee===void 0;se||(ge+="(?:"+be+"(?="+Y+"))?"),dt||(ge+="(?="+be+"|"+Y+")")}return new RegExp(ge,f(y))}p=S;function P(h,C,y){return h instanceof RegExp?F(h,C):Array.isArray(h)?G(h,C,y):ee(h,C,y)}me.Bo=P},16254:function(xe){xe.exports=ee,xe.exports.parse=q,xe.exports.compile=K,xe.exports.tokensToFunction=re,xe.exports.tokensToRegExp=G;var me="/",p="./",u=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function q(S,P){for(var h=[],C=0,y=0,w="",se=P&&P.delimiter||me,D=P&&P.delimiters||p,j=!1,V;(V=u.exec(S))!==null;){var le=V[0],ue=V[1],X=V.index;if(w+=S.slice(y,X),y=X+le.length,ue){w+=ue[1],j=!0;continue}var Y="",be=S[y],ge=V[2],z=V[3],ve=V[4],N=V[5];if(!j&&w.length){var Te=w.length-1;D.indexOf(w[Te])>-1&&(Y=w[Te],w=w.slice(0,Te))}w&&(h.push(w),w="",j=!1);var De=Y!==""&&be!==void 0&&be!==Y,ut=N==="+"||N==="*",Ee=N==="?"||N==="*",dt=Y||se,et=z||ve;h.push({name:ge||C++,prefix:Y,delimiter:dt,optional:Ee,repeat:ut,partial:De,pattern:et?s(et):"[^"+R(dt)+"]+?"})}return(w||y-1;else{var Y=X.repeat?"(?:"+X.pattern+")(?:"+R(X.delimiter)+"(?:"+X.pattern+"))*":X.pattern;P&&P.push(X),X.optional?X.partial?V+=R(X.prefix)+"("+Y+")?":V+="(?:"+R(X.prefix)+"("+Y+"))?":V+=R(X.prefix)+"("+Y+")"}}return w?(C||(V+="(?:"+se+")?"),V+=j==="$"?"$":"(?="+j+")"):(C||(V+="(?:"+se+"(?="+j+"))?"),le||(V+="(?="+se+"|"+j+")")),new RegExp(V,U(h))}function ee(S,P,h){return S instanceof RegExp?W(S,P):Array.isArray(S)?f(S,P,h):F(S,P,h)}},1977:function(xe,me,p){"use strict";p.d(me,{n:function(){return F}});var u=p(97685),q=p(71002),K=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,re=function(ee){return ee==="*"||ee==="x"||ee==="X"},R=function(ee){var S=parseInt(ee,10);return isNaN(S)?ee:S},s=function(ee,S){return(0,q.Z)(ee)!==(0,q.Z)(S)?[String(ee),String(S)]:[ee,S]},U=function(ee,S){if(re(ee)||re(S))return 0;var P=s(R(ee),R(S)),h=(0,u.Z)(P,2),C=h[0],y=h[1];return C>y?1:C-1?{open:W,onOpenChange:f}:{visible:W,onVisibleChange:f};return(0,q.Y)(F)}},48171:function(xe,me,p){"use strict";p.d(me,{J:function(){return K}});var u=p(74902),q=p(67294),K=function(R){var s=(0,q.useRef)(null);return s.current=R,(0,q.useCallback)(function(){for(var U,W=arguments.length,f=new Array(W),F=0;F3&&arguments[3]!==void 0?arguments[3]:q.createElement(u.Z,null),f=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(!K(R,s,f))return[!1,null];const G=typeof s=="boolean"||s===void 0||s===null?W:s;return[!0,U?U(G):G]}},57838:function(xe,me,p){"use strict";p.d(me,{Z:function(){return q}});var u=p(67294);function q(){const[,K]=u.useReducer(re=>re+1,0);return K}},74443:function(xe,me,p){"use strict";p.d(me,{ZP:function(){return s},c4:function(){return K},m9:function(){return U}});var u=p(67294),q=p(29691);const K=["xxl","xl","lg","md","sm","xs"],re=W=>({xs:`(max-width: ${W.screenXSMax}px)`,sm:`(min-width: ${W.screenSM}px)`,md:`(min-width: ${W.screenMD}px)`,lg:`(min-width: ${W.screenLG}px)`,xl:`(min-width: ${W.screenXL}px)`,xxl:`(min-width: ${W.screenXXL}px)`}),R=W=>{const f=W,F=[].concat(K).reverse();return F.forEach((G,ee)=>{const S=G.toUpperCase(),P=`screen${S}Min`,h=`screen${S}`;if(!(f[P]<=f[h]))throw new Error(`${P}<=${h} fails : !(${f[P]}<=${f[h]})`);if(ee{const F=new Map;let G=-1,ee={};return{matchHandlers:{},dispatch(S){return ee=S,F.forEach(P=>P(ee)),F.size>=1},subscribe(S){return F.size||this.register(),G+=1,F.set(G,S),S(ee),G},unsubscribe(S){F.delete(S),F.size||this.unregister()},unregister(){Object.keys(f).forEach(S=>{const P=f[S],h=this.matchHandlers[P];h==null||h.mql.removeListener(h==null?void 0:h.listener)}),F.clear()},register(){Object.keys(f).forEach(S=>{const P=f[S],h=y=>{let{matches:w}=y;this.dispatch(Object.assign(Object.assign({},ee),{[S]:w}))},C=window.matchMedia(P);C.addListener(h),this.matchHandlers[P]={mql:C,listener:h},h(C)})},responsiveMap:f}},[W])}const U=(W,f)=>{if(f&&typeof f=="object")for(let F=0;F0&&arguments[0]!==void 0?arguments[0]:!0;const U=(0,u.useRef)({}),W=(0,K.Z)(),f=(0,re.ZP)();return(0,q.Z)(()=>{const F=f.subscribe(G=>{U.current=G,s&&W()});return()=>f.unsubscribe(F)},[]),U.current}me.Z=R},16569:function(xe,me,p){"use strict";p.d(me,{H:function(){return R}});var u=p(56790),q=p(67294);function K(){}const re=q.createContext({add:K,remove:K});function R(s){const U=q.useContext(re),W=q.useRef();return(0,u.zX)(F=>{if(F){const G=s?F.querySelector(s):F;U.add(G),W.current=G}else U.remove(W.current)})}me.Z=re},97435:function(xe,me){"use strict";function p(u,q){for(var K=Object.assign({},u),re=0;re=K.length?{done:!0}:{done:!1,value:K[s++]}},e:function(ee){throw ee},f:U}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var W=!0,f=!1,F;return{s:function(){R=R.call(K)},n:function(){var ee=R.next();return W=ee.done,ee},e:function(ee){f=!0,F=ee},f:function(){try{!W&&R.return!=null&&R.return()}finally{if(f)throw F}}}}xe.exports=q,xe.exports.__esModule=!0,xe.exports.default=xe.exports}}]); diff --git a/7525.d9bbebe7.async.js b/7525.d9bbebe7.async.js new file mode 100644 index 0000000000..4d5d6899a9 --- /dev/null +++ b/7525.d9bbebe7.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[7525],{87525:function(k,u,l){l.r(u),l.d(u,{eiffel:function(){return h}});function o(e){for(var r={},n=0,t=e.length;n>"]);function s(e,r,n){return n.tokenize.push(e),e(r,n)}function d(e,r){if(e.eatSpace())return null;var n=e.next();return n=='"'||n=="'"?s(p(n,"string"),e,r):n=="-"&&e.eat("-")?(e.skipToEnd(),"comment"):n==":"&&e.eat("=")?"operator":/[0-9]/.test(n)?(e.eatWhile(/[xXbBCc0-9\.]/),e.eat(/[\?\!]/),"variable"):/[a-zA-Z_0-9]/.test(n)?(e.eatWhile(/[a-zA-Z_0-9]/),e.eat(/[\?\!]/),"variable"):/[=+\-\/*^%<>~]/.test(n)?(e.eatWhile(/[=+\-\/*^%<>~]/),"operator"):null}function p(e,r,n){return function(t,b){for(var i=!1,a;(a=t.next())!=null;){if(a==e&&(n||!i)){b.tokenize.pop();break}i=!i&&a=="%"}return r}}const h={name:"eiffel",startState:function(){return{tokenize:[d]}},token:function(e,r){var n=r.tokenize[r.tokenize.length-1](e,r);if(n=="variable"){var t=e.current();n=c.propertyIsEnumerable(e.current())?"keyword":f.propertyIsEnumerable(e.current())?"operator":/^[A-Z][A-Z_0-9]*$/g.test(t)?"tag":/^0[bB][0-1]+$/g.test(t)||/^0[cC][0-7]+$/g.test(t)||/^0[xX][a-fA-F0-9]+$/g.test(t)||/^([0-9]+\.[0-9]*)|([0-9]*\.[0-9]+)$/g.test(t)||/^[0-9]+$/g.test(t)?"number":"variable"}return n},languageData:{commentTokens:{line:"--"}}}}}]); diff --git a/755.23be05b2.async.js b/755.23be05b2.async.js new file mode 100644 index 0000000000..e40ae62b59 --- /dev/null +++ b/755.23be05b2.async.js @@ -0,0 +1,3 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[755],{66023:function(he,Q){var c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};Q.Z=c},42110:function(he,Q){var c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};Q.Z=c},1977:function(he,Q,c){c.d(Q,{n:function(){return g}});var a=c(97685),te=c(71002),J=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,B=function(m){return m==="*"||m==="x"||m==="X"},le=function(m){var d=parseInt(m,10);return isNaN(d)?m:d},ye=function(m,d){return(0,te.Z)(m)!==(0,te.Z)(d)?[String(m),String(d)]:[m,d]},ue=function(m,d){if(B(m)||B(d))return 0;var w=ye(le(m),le(d)),x=(0,a.Z)(w,2),X=x[0],ve=x[1];return X>ve?1:XB+1,0);return J}},74443:function(he,Q,c){c.d(Q,{ZP:function(){return ye},c4:function(){return J},m9:function(){return ue}});var a=c(67294),te=c(29691);const J=["xxl","xl","lg","md","sm","xs"],B=H=>({xs:`(max-width: ${H.screenXSMax}px)`,sm:`(min-width: ${H.screenSM}px)`,md:`(min-width: ${H.screenMD}px)`,lg:`(min-width: ${H.screenLG}px)`,xl:`(min-width: ${H.screenXL}px)`,xxl:`(min-width: ${H.screenXXL}px)`}),le=H=>{const P=H,g=[].concat(J).reverse();return g.forEach((y,m)=>{const d=y.toUpperCase(),w=`screen${d}Min`,x=`screen${d}`;if(!(P[w]<=P[x]))throw new Error(`${w}<=${x} fails : !(${P[w]}<=${P[x]})`);if(m{const g=new Map;let y=-1,m={};return{matchHandlers:{},dispatch(d){return m=d,g.forEach(w=>w(m)),g.size>=1},subscribe(d){return g.size||this.register(),y+=1,g.set(y,d),d(m),y},unsubscribe(d){g.delete(d),g.size||this.unregister()},unregister(){Object.keys(P).forEach(d=>{const w=P[d],x=this.matchHandlers[w];x==null||x.mql.removeListener(x==null?void 0:x.listener)}),g.clear()},register(){Object.keys(P).forEach(d=>{const w=P[d],x=ve=>{let{matches:fe}=ve;this.dispatch(Object.assign(Object.assign({},m),{[d]:fe}))},X=window.matchMedia(w);X.addListener(x),this.matchHandlers[w]={mql:X,listener:x},x(X)})},responsiveMap:P}},[H])}const ue=(H,P)=>{if(P&&typeof P=="object")for(let g=0;g0&&arguments[0]!==void 0?arguments[0]:!0;const ue=(0,a.useRef)({}),H=(0,J.Z)(),P=(0,B.ZP)();return(0,te.Z)(()=>{const g=P.subscribe(y=>{ue.current=y,ye&&H()});return()=>P.unsubscribe(g)},[]),ue.current}Q.Z=le},48096:function(he,Q,c){c.d(Q,{Z:function(){return ja}});var a=c(67294),te=c(62208),J=c(35872),B=c(87462),le=c(42110),ye=c(93771),ue=function(t,n){return a.createElement(ye.Z,(0,B.Z)({},t,{ref:n,icon:le.Z}))},H=a.forwardRef(ue),P=c(94184),g=c.n(P),y=c(4942),m=c(1413),d=c(97685),w=c(71002),x=c(91),X=c(31131),ve=c(21770),fe=c(82225),_e=(0,a.createContext)(null),It=a.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,i=e.style,o=e.id,l=e.active,s=e.tabKey,v=e.children;return a.createElement("div",{id:o&&"".concat(o,"-panel-").concat(s),role:"tabpanel",tabIndex:l?0:-1,"aria-labelledby":o&&"".concat(o,"-tab-").concat(s),"aria-hidden":!l,style:i,className:g()(n,l&&"".concat(n,"-active"),r),ref:t},v)}),tt=It,Nt=["key","forceRender","style","className"];function _t(e){var t=e.id,n=e.activeKey,r=e.animated,i=e.tabPosition,o=e.destroyInactiveTabPane,l=a.useContext(_e),s=l.prefixCls,v=l.tabs,f=r.tabPane,$="".concat(s,"-tabpane");return a.createElement("div",{className:g()("".concat(s,"-content-holder"))},a.createElement("div",{className:g()("".concat(s,"-content"),"".concat(s,"-content-").concat(i),(0,y.Z)({},"".concat(s,"-content-animated"),f))},v.map(function(u){var b=u.key,h=u.forceRender,C=u.style,A=u.className,K=(0,x.Z)(u,Nt),N=b===n;return a.createElement(fe.ZP,(0,B.Z)({key:b,visible:N,forceRender:h,removeOnLeave:!!o,leavedClassName:"".concat($,"-hidden")},r.tabPaneMotion),function(W,R){var F=W.style,G=W.className;return a.createElement(tt,(0,B.Z)({},K,{prefixCls:$,id:t,tabKey:b,animated:f,active:N,style:(0,m.Z)((0,m.Z)({},C),F),className:g()(A,G),ref:R}))})})))}var at=c(74902),je=c(48555),zt=c(66680),Oe=c(42550),nt={width:0,height:0,left:0,top:0};function At(e,t,n){return(0,a.useMemo)(function(){for(var r,i=new Map,o=t.get((r=e[0])===null||r===void 0?void 0:r.key)||nt,l=o.left+o.width,s=0;sL?(p=Z,E.current="x"):(p=I,E.current="y"),t(-p,-p)&&S.preventDefault()}var _=(0,a.useRef)(null);_.current={onTouchStart:R,onTouchMove:F,onTouchEnd:G,onWheel:D},a.useEffect(function(){function S(O){_.current.onTouchStart(O)}function Z(O){_.current.onTouchMove(O)}function I(O){_.current.onTouchEnd(O)}function p(O){_.current.onWheel(O)}return document.addEventListener("touchmove",Z,{passive:!1}),document.addEventListener("touchend",I,{passive:!1}),e.current.addEventListener("touchstart",S,{passive:!1}),e.current.addEventListener("wheel",p),function(){document.removeEventListener("touchmove",Z),document.removeEventListener("touchend",I)}},[])}var Wt=c(8410);function lt(e){var t=(0,a.useState)(0),n=(0,d.Z)(t,2),r=n[0],i=n[1],o=(0,a.useRef)(0),l=(0,a.useRef)();return l.current=e,(0,Wt.o)(function(){var s;(s=l.current)===null||s===void 0||s.call(l)},[r]),function(){o.current===r&&(o.current+=1,i(o.current))}}function kt(e){var t=(0,a.useRef)([]),n=(0,a.useState)({}),r=(0,d.Z)(n,2),i=r[1],o=(0,a.useRef)(typeof e=="function"?e():e),l=lt(function(){var v=o.current;t.current.forEach(function(f){v=f(v)}),t.current=[],o.current=v,i({})});function s(v){t.current.push(v),l()}return[o.current,s]}var st={width:0,height:0,left:0,top:0,right:0};function jt(e,t,n,r,i,o,l){var s=l.tabs,v=l.tabPosition,f=l.rtl,$,u,b;return["top","bottom"].includes(v)?($="width",u=f?"right":"left",b=Math.abs(n)):($="height",u="top",b=-n),(0,a.useMemo)(function(){if(!s.length)return[0,0];for(var h=s.length,C=h,A=0;Ab+t){C=A-1;break}}for(var N=0,W=h-1;W>=0;W-=1){var R=e.get(s[W].key)||st;if(R[u]=C?[0,0]:[N,C]},[e,t,r,i,o,b,v,s.map(function(h){return h.key}).join("_"),f])}function ct(e){var t;return e instanceof Map?(t={},e.forEach(function(n,r){t[r]=n})):t=e,JSON.stringify(t)}var Ht="TABS_DQ";function dt(e){return String(e).replace(/"/g,Ht)}function ut(e,t,n,r){return!(!n||r||e===!1||e===void 0&&(t===!1||t===null))}function Kt(e,t){var n=e.prefixCls,r=e.editable,i=e.locale,o=e.style;return!r||r.showAdd===!1?null:a.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:o,"aria-label":(i==null?void 0:i.addAriaLabel)||"Add tab",onClick:function(s){r.onEdit("add",{event:s})}},r.addIcon||"+")}var vt=a.forwardRef(Kt),Gt=a.forwardRef(function(e,t){var n=e.position,r=e.prefixCls,i=e.extra;if(!i)return null;var o,l={};return(0,w.Z)(i)==="object"&&!a.isValidElement(i)?l=i:l.right=i,n==="right"&&(o=l.right),n==="left"&&(o=l.left),o?a.createElement("div",{className:"".concat(r,"-extra-content"),ref:t},o):null}),ft=Gt,Ut=c(40228),se=c(15105),He=c(75164),Vt=se.Z.ESC,Xt=se.Z.TAB;function Ft(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,i=e.autoFocus,o=e.overlayRef,l=a.useRef(!1),s=function(){if(t){var u,b;(u=n.current)===null||u===void 0||(b=u.focus)===null||b===void 0||b.call(u),r==null||r(!1)}},v=function(){var u;return(u=o.current)!==null&&u!==void 0&&u.focus?(o.current.focus(),l.current=!0,!0):!1},f=function(u){switch(u.keyCode){case Vt:s();break;case Xt:{var b=!1;l.current||(b=v()),b?u.preventDefault():s();break}}};a.useEffect(function(){return t?(window.addEventListener("keydown",f),i&&(0,He.Z)(v,3),function(){window.removeEventListener("keydown",f),l.current=!1}):function(){l.current=!1}},[t])}var Yt=(0,a.forwardRef)(function(e,t){var n=e.overlay,r=e.arrow,i=e.prefixCls,o=(0,a.useMemo)(function(){var s;return typeof n=="function"?s=n():s=n,s},[n]),l=(0,Oe.sQ)(t,o==null?void 0:o.ref);return a.createElement(a.Fragment,null,r&&a.createElement("div",{className:"".concat(i,"-arrow")}),a.cloneElement(o,{ref:(0,Oe.Yr)(o)?l:void 0}))}),Qt=Yt,Pe={adjustX:1,adjustY:1},we=[0,0],Jt={topLeft:{points:["bl","tl"],overflow:Pe,offset:[0,-4],targetOffset:we},top:{points:["bc","tc"],overflow:Pe,offset:[0,-4],targetOffset:we},topRight:{points:["br","tr"],overflow:Pe,offset:[0,-4],targetOffset:we},bottomLeft:{points:["tl","bl"],overflow:Pe,offset:[0,4],targetOffset:we},bottom:{points:["tc","bc"],overflow:Pe,offset:[0,4],targetOffset:we},bottomRight:{points:["tr","br"],overflow:Pe,offset:[0,4],targetOffset:we}},qt=Jt,ea=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function ta(e,t){var n,r=e.arrow,i=r===void 0?!1:r,o=e.prefixCls,l=o===void 0?"rc-dropdown":o,s=e.transitionName,v=e.animation,f=e.align,$=e.placement,u=$===void 0?"bottomLeft":$,b=e.placements,h=b===void 0?qt:b,C=e.getPopupContainer,A=e.showAction,K=e.hideAction,N=e.overlayClassName,W=e.overlayStyle,R=e.visible,F=e.trigger,G=F===void 0?["hover"]:F,E=e.autoFocus,D=e.overlay,_=e.children,S=e.onVisibleChange,Z=(0,x.Z)(e,ea),I=a.useState(),p=(0,d.Z)(I,2),O=p[0],L=p[1],z="visible"in e?R:O,oe=a.useRef(null),de=a.useRef(null),ce=a.useRef(null);a.useImperativeHandle(t,function(){return oe.current});var q=function(V){L(V),S==null||S(V)};Ft({visible:z,triggerRef:ce,onVisibleChange:q,autoFocus:E,overlayRef:de});var be=function(V){var ge=e.onOverlayClick;L(!1),ge&&ge(V)},$e=function(){return a.createElement(Qt,{ref:de,overlay:D,prefixCls:l,arrow:i})},M=function(){return typeof D=="function"?$e:$e()},k=function(){var V=e.minOverlayWidthMatchTrigger,ge=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?V:!ge},ne=function(){var V=e.openClassName;return V!==void 0?V:"".concat(l,"-open")},ie=a.cloneElement(_,{className:g()((n=_.props)===null||n===void 0?void 0:n.className,z&&ne()),ref:(0,Oe.Yr)(_)?(0,Oe.sQ)(ce,_.ref):void 0}),ee=K;return!ee&&G.indexOf("contextMenu")!==-1&&(ee=["click"]),a.createElement(Ut.Z,(0,B.Z)({builtinPlacements:h},Z,{prefixCls:l,ref:oe,popupClassName:g()(N,(0,y.Z)({},"".concat(l,"-show-arrow"),i)),popupStyle:W,action:G,showAction:A,hideAction:ee,popupPlacement:u,popupAlign:f,popupTransitionName:s,popupAnimation:v,popupVisible:z,stretch:k()?"minWidth":"",popup:M(),onPopupVisibleChange:q,onPopupClick:be,getPopupContainer:C}),ie)}var aa=a.forwardRef(ta),na=aa,mt=c(72512);function ra(e,t){var n=e.prefixCls,r=e.id,i=e.tabs,o=e.locale,l=e.mobile,s=e.moreIcon,v=s===void 0?"More":s,f=e.moreTransitionName,$=e.style,u=e.className,b=e.editable,h=e.tabBarGutter,C=e.rtl,A=e.removeAriaLabel,K=e.onTabClick,N=e.getPopupContainer,W=e.popupClassName,R=(0,a.useState)(!1),F=(0,d.Z)(R,2),G=F[0],E=F[1],D=(0,a.useState)(null),_=(0,d.Z)(D,2),S=_[0],Z=_[1],I="".concat(r,"-more-popup"),p="".concat(n,"-dropdown"),O=S!==null?"".concat(I,"-").concat(S):null,L=o==null?void 0:o.dropdownAriaLabel;function z(M,k){M.preventDefault(),M.stopPropagation(),b.onEdit("remove",{key:k,event:M})}var oe=a.createElement(mt.ZP,{onClick:function(k){var ne=k.key,ie=k.domEvent;K(ne,ie),E(!1)},prefixCls:"".concat(p,"-menu"),id:I,tabIndex:-1,role:"listbox","aria-activedescendant":O,selectedKeys:[S],"aria-label":L!==void 0?L:"expanded dropdown"},i.map(function(M){var k=M.closable,ne=M.disabled,ie=M.closeIcon,ee=M.key,ae=M.label,V=ut(k,ie,b,ne);return a.createElement(mt.sN,{key:ee,id:"".concat(I,"-").concat(ee),role:"option","aria-controls":r&&"".concat(r,"-panel-").concat(ee),disabled:ne},a.createElement("span",null,ae),V&&a.createElement("button",{type:"button","aria-label":A||"remove",tabIndex:0,className:"".concat(p,"-menu-item-remove"),onClick:function(Se){Se.stopPropagation(),z(Se,ee)}},ie||b.removeIcon||"\xD7"))}));function de(M){for(var k=i.filter(function(V){return!V.disabled}),ne=k.findIndex(function(V){return V.key===S})||0,ie=k.length,ee=0;eeT?"left":"right"})}),L=(0,d.Z)(O,2),z=L[0],oe=L[1],de=rt(0,function(U,T){!p&&R&&R({direction:U>T?"top":"bottom"})}),ce=(0,d.Z)(de,2),q=ce[0],be=ce[1],$e=(0,a.useState)([0,0]),M=(0,d.Z)($e,2),k=M[0],ne=M[1],ie=(0,a.useState)([0,0]),ee=(0,d.Z)(ie,2),ae=ee[0],V=ee[1],ge=(0,a.useState)([0,0]),Se=(0,d.Z)(ge,2),Ke=Se[0],Ge=Se[1],Ue=(0,a.useState)([0,0]),Ze=(0,d.Z)(Ue,2),Ve=Ze[0],j=Ze[1],Ee=kt(new Map),Me=(0,d.Z)(Ee,2),Ha=Me[0],Ka=Me[1],De=At(o,Ha,ae[0]),Xe=Ae(k,p),Ie=Ae(ae,p),Fe=Ae(Ke,p),yt=Ae(Ve,p),$t=XeTe?Te:U}var St=(0,a.useRef)(),Ua=(0,a.useState)(),xt=(0,d.Z)(Ua,2),Be=xt[0],Ct=xt[1];function Qe(){Ct(Date.now())}function Je(){window.clearTimeout(St.current)}Bt(_,function(U,T){function Y(re,Ce){re(function(pe){var en=Ye(pe+Ce);return en})}return $t?(p?Y(oe,U):Y(be,T),Je(),Qe(),!0):!1}),(0,a.useEffect)(function(){return Je(),Be&&(St.current=window.setTimeout(function(){Ct(0)},100)),Je},[Be]);var Va=jt(De,me,p?z:q,Ie,Fe,yt,(0,m.Z)((0,m.Z)({},e),{},{tabs:o})),Et=(0,d.Z)(Va,2),Xa=Et[0],Fa=Et[1],Tt=(0,zt.Z)(function(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$,T=De.get(U)||{width:0,height:0,left:0,right:0,top:0};if(p){var Y=z;u?T.rightz+me&&(Y=T.right+T.width-me):T.left<-z?Y=-T.left:T.left+T.width>-z+me&&(Y=-(T.left+T.width-me)),be(0),oe(Ye(Y))}else{var re=q;T.top<-q?re=-T.top:T.top+T.height>-q+me&&(re=-(T.top+T.height-me)),oe(0),be(Ye(re))}}),We={};A==="top"||A==="bottom"?We[u?"marginRight":"marginLeft"]=K:We.marginTop=K;var Pt=o.map(function(U,T){var Y=U.key;return a.createElement(la,{id:v,prefixCls:i,key:Y,tab:U,style:T===0?void 0:We,closable:U.closable,editable:h,active:Y===$,renderWrapper:N,removeAriaLabel:C==null?void 0:C.removeAriaLabel,onClick:function(Ce){W(Y,Ce)},onFocus:function(){Tt(Y),Qe(),_.current&&(u||(_.current.scrollLeft=0),_.current.scrollTop=0)}})}),wt=function(){return Ka(function(){var T=new Map;return o.forEach(function(Y){var re,Ce=Y.key,pe=(re=S.current)===null||re===void 0?void 0:re.querySelector('[data-node-key="'.concat(dt(Ce),'"]'));pe&&T.set(Ce,{width:pe.offsetWidth,height:pe.offsetHeight,left:pe.offsetLeft,top:pe.offsetTop})}),T})};(0,a.useEffect)(function(){wt()},[o.map(function(U){return U.key}).join("_")]);var ke=lt(function(){var U=Re(G),T=Re(E),Y=Re(D);ne([U[0]-T[0]-Y[0],U[1]-T[1]-Y[1]]);var re=Re(I);Ge(re);var Ce=Re(Z);j(Ce);var pe=Re(S);V([pe[0]-re[0],pe[1]-re[1]]),wt()}),Ya=o.slice(0,Xa),Qa=o.slice(Fa+1),Rt=[].concat((0,at.Z)(Ya),(0,at.Z)(Qa)),Mt=De.get($),Ja=ca({activeTabOffset:Mt,horizontal:p,rtl:u,indicatorSize:F}),qa=Ja.style;(0,a.useEffect)(function(){Tt()},[$,xe,Te,ct(Mt),ct(De),p]),(0,a.useEffect)(function(){ke()},[u]);var Ot=!!Rt.length,Ne="".concat(i,"-nav-wrap"),qe,et,Lt,Zt;return p?u?(et=z>0,qe=z!==Te):(qe=z<0,et=z!==xe):(Lt=q<0,Zt=q!==xe),a.createElement(je.Z,{onResize:ke},a.createElement("div",{ref:(0,Oe.x1)(t,G),role:"tablist",className:g()("".concat(i,"-nav"),l),style:s,onKeyDown:function(){Qe()}},a.createElement(ft,{ref:E,position:"left",extra:b,prefixCls:i}),a.createElement(je.Z,{onResize:ke},a.createElement("div",{className:g()(Ne,(n={},(0,y.Z)(n,"".concat(Ne,"-ping-left"),qe),(0,y.Z)(n,"".concat(Ne,"-ping-right"),et),(0,y.Z)(n,"".concat(Ne,"-ping-top"),Lt),(0,y.Z)(n,"".concat(Ne,"-ping-bottom"),Zt),n)),ref:_},a.createElement(je.Z,{onResize:ke},a.createElement("div",{ref:S,className:"".concat(i,"-nav-list"),style:{transform:"translate(".concat(z,"px, ").concat(q,"px)"),transition:Be?"none":void 0}},Pt,a.createElement(vt,{ref:I,prefixCls:i,locale:C,editable:h,style:(0,m.Z)((0,m.Z)({},Pt.length===0?void 0:We),{},{visibility:Ot?"hidden":null})}),a.createElement("div",{className:g()("".concat(i,"-ink-bar"),(0,y.Z)({},"".concat(i,"-ink-bar-animated"),f.inkBar)),style:qa}))))),a.createElement(ia,(0,B.Z)({},e,{removeAriaLabel:C==null?void 0:C.removeAriaLabel,ref:Z,prefixCls:i,tabs:Rt,className:!Ot&&Ga,tabMoving:!!Be})),a.createElement(ft,{ref:D,position:"right",extra:b,prefixCls:i})))}var pt=a.forwardRef(da),ua=["renderTabBar"],va=["label","key"];function fa(e){var t=e.renderTabBar,n=(0,x.Z)(e,ua),r=a.useContext(_e),i=r.tabs;if(t){var o=(0,m.Z)((0,m.Z)({},n),{},{panes:i.map(function(l){var s=l.label,v=l.key,f=(0,x.Z)(l,va);return a.createElement(tt,(0,B.Z)({tab:s,key:v,tabKey:v},f))})});return t(o,pt)}return a.createElement(pt,n)}var tn=c(80334);function ma(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},t;return e===!1?t={inkBar:!1,tabPane:!1}:e===!0?t={inkBar:!0,tabPane:!1}:t=(0,m.Z)({inkBar:!0},(0,w.Z)(e)==="object"?e:{}),t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}var pa=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],bt=0;function ba(e,t){var n,r=e.id,i=e.prefixCls,o=i===void 0?"rc-tabs":i,l=e.className,s=e.items,v=e.direction,f=e.activeKey,$=e.defaultActiveKey,u=e.editable,b=e.animated,h=e.tabPosition,C=h===void 0?"top":h,A=e.tabBarGutter,K=e.tabBarStyle,N=e.tabBarExtraContent,W=e.locale,R=e.moreIcon,F=e.moreTransitionName,G=e.destroyInactiveTabPane,E=e.renderTabBar,D=e.onChange,_=e.onTabClick,S=e.onTabScroll,Z=e.getPopupContainer,I=e.popupClassName,p=e.indicatorSize,O=(0,x.Z)(e,pa),L=a.useMemo(function(){return(s||[]).filter(function(j){return j&&(0,w.Z)(j)==="object"&&"key"in j})},[s]),z=v==="rtl",oe=ma(b),de=(0,a.useState)(!1),ce=(0,d.Z)(de,2),q=ce[0],be=ce[1];(0,a.useEffect)(function(){be((0,X.Z)())},[]);var $e=(0,ve.Z)(function(){var j;return(j=L[0])===null||j===void 0?void 0:j.key},{value:f,defaultValue:$}),M=(0,d.Z)($e,2),k=M[0],ne=M[1],ie=(0,a.useState)(function(){return L.findIndex(function(j){return j.key===k})}),ee=(0,d.Z)(ie,2),ae=ee[0],V=ee[1];(0,a.useEffect)(function(){var j=L.findIndex(function(Me){return Me.key===k});if(j===-1){var Ee;j=Math.max(0,Math.min(ae,L.length-1)),ne((Ee=L[j])===null||Ee===void 0?void 0:Ee.key)}V(j)},[L.map(function(j){return j.key}).join("_"),k,ae]);var ge=(0,ve.Z)(null,{value:r}),Se=(0,d.Z)(ge,2),Ke=Se[0],Ge=Se[1];(0,a.useEffect)(function(){r||(Ge("rc-tabs-".concat(bt)),bt+=1)},[]);function Ue(j,Ee){_==null||_(j,Ee);var Me=j!==k;ne(j),Me&&(D==null||D(j))}var Ze={id:Ke,activeKey:k,animated:oe,tabPosition:C,rtl:z,mobile:q},Ve=(0,m.Z)((0,m.Z)({},Ze),{},{editable:u,locale:W,moreIcon:R,moreTransitionName:F,tabBarGutter:A,onTabClick:Ue,onTabScroll:S,extra:N,style:K,panes:null,getPopupContainer:Z,popupClassName:I,indicatorSize:p});return a.createElement(_e.Provider,{value:{tabs:L,prefixCls:o}},a.createElement("div",(0,B.Z)({ref:t,id:r,className:g()(o,"".concat(o,"-").concat(C),(n={},(0,y.Z)(n,"".concat(o,"-mobile"),q),(0,y.Z)(n,"".concat(o,"-editable"),u),(0,y.Z)(n,"".concat(o,"-rtl"),z),n),l)},O),a.createElement(fa,(0,B.Z)({},Ve,{renderTabBar:E})),a.createElement(_t,(0,B.Z)({destroyInactiveTabPane:G},Ze,{animated:oe}))))}var ga=a.forwardRef(ba),ha=ga,ya=ha,$a=c(53124),Sa=c(98675),xa=c(33603);const Ca={motionAppear:!1,motionEnter:!0,motionLeave:!0};function Ea(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},n;return t===!1?n={inkBar:!1,tabPane:!1}:t===!0?n={inkBar:!0,tabPane:!0}:n=Object.assign({inkBar:!0},typeof t=="object"?t:{}),n.tabPane&&(n.tabPaneMotion=Object.assign(Object.assign({},Ca),{motionName:(0,xa.m)(e,"switch")})),n}var Ta=c(50344),Pa=function(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 i=0,r=Object.getOwnPropertySymbols(e);it)}function Ra(e,t){if(e)return e;const n=(0,Ta.Z)(t).map(r=>{if(a.isValidElement(r)){const{key:i,props:o}=r,l=o||{},{tab:s}=l,v=Pa(l,["tab"]);return Object.assign(Object.assign({key:String(i)},v),{label:s})}return null});return wa(n)}var Le=c(14747),Ma=c(67968),Oa=c(45503),gt=c(67771),La=e=>{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[(0,gt.oN)(e,"slide-up"),(0,gt.oN)(e,"slide-down")]]};const Za=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:i,colorBorderSecondary:o,itemSelectedColor:l}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${e.lineWidth}px ${e.lineType} ${o}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:l,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:`${i}px`}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:`${i}px`}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadiusLG}px 0 0 ${e.borderRadiusLG}px`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},Ia=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},(0,Le.Wf)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${r}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},Le.vS),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${e.paddingXXS}px ${e.paddingSM}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},Na=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:i,verticalItemPadding:o,verticalItemMargin:l}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:i,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${e.lineWidth}px ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, + right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, + > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:`${n}px`,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:e.controlHeight*1.25,[`${t}-tab`]:{padding:o,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:l},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${e.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-e.lineWidth},borderRight:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},_a=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:i,horizontalItemPaddingLG:o}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${e.borderRadius}px ${e.borderRadius}px`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${e.borderRadius}px ${e.borderRadius}px 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadius}px ${e.borderRadius}px 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadius}px 0 0 ${e.borderRadius}px`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},za=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:i,tabsHorizontalItemMargin:o,horizontalItemPadding:l,itemSelectedColor:s,itemColor:v}=e,f=`${t}-tab`;return{[f]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:l,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:v,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},(0,Le.Qy)(e)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-e.marginXXS},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${f}-active ${f}-btn`]:{color:s,textShadow:e.tabsActiveTextShadow},[`&${f}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${f}-disabled ${f}-btn, &${f}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${f}-remove ${i}`]:{margin:0},[i]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${f} + ${f}`]:{margin:{_skip_check_:!0,value:o}}}},Aa=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:i}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${e.marginSM}px`}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${e.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${e.marginXXS}px`},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:i},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},Da=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:i,itemHoverColor:o,itemActiveColor:l,colorBorderSecondary:s}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Le.Wf)(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:r,marginLeft:{_skip_check_:!0,value:i},padding:`0 ${e.paddingXS}px`,background:"transparent",border:`${e.lineWidth}px ${e.lineType} ${s}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:o},"&:active, &:focus:not(:focus-visible)":{color:l}},(0,Le.Qy)(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),za(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var Ba=(0,Ma.Z)("Tabs",e=>{const t=(0,Oa.TS)(e,{tabsCardPadding:e.cardPadding||`${(e.cardHeight-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${e.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${e.horizontalItemGutter}px`});return[_a(t),Aa(t),Na(t),Ia(t),Za(t),Da(t),La(t)]},e=>{const t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:"",cardPaddingSM:`${e.paddingXXS*1.5}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${e.paddingXXS*1.5}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}}),Wa=()=>null,ka=function(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 i=0,r=Object.getOwnPropertySymbols(e);i{const{type:t,className:n,rootClassName:r,size:i,onEdit:o,hideAdd:l,centered:s,addIcon:v,popupClassName:f,children:$,items:u,animated:b,style:h,indicatorSize:C}=e,A=ka(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:K,moreIcon:N=a.createElement(J.Z,null)}=A,{direction:W,tabs:R,getPrefixCls:F,getPopupContainer:G}=a.useContext($a.E_),E=F("tabs",K),[D,_]=Ba(E);let S;t==="editable-card"&&(S={onEdit:(z,oe)=>{let{key:de,event:ce}=oe;o==null||o(z==="add"?ce:de,z)},removeIcon:a.createElement(te.Z,null),addIcon:v||a.createElement(H,null),showAdd:l!==!0});const Z=F(),I=Ra(u,$),p=Ea(E,b),O=(0,Sa.Z)(i),L=Object.assign(Object.assign({},R==null?void 0:R.style),h);return D(a.createElement(ya,Object.assign({direction:W,getPopupContainer:G,moreTransitionName:`${Z}-slide-up`},A,{items:I,className:g()({[`${E}-${O}`]:O,[`${E}-card`]:["card","editable-card"].includes(t),[`${E}-editable-card`]:t==="editable-card",[`${E}-centered`]:s},R==null?void 0:R.className,n,r,_),popupClassName:g()(f,_),style:L,editable:S,moreIcon:N,prefixCls:E,animated:p,indicatorSize:C!=null?C:R==null?void 0:R.indicatorSize})))};ht.TabPane=Wa;var ja=ht},13622:function(he,Q,c){var a=c(87462),te=c(67294),J=c(66023),B=c(93771),le=function(ue,H){return te.createElement(B.Z,(0,a.Z)({},ue,{ref:H,icon:J.Z}))};Q.Z=te.forwardRef(le)},97435:function(he,Q){function c(a,te){for(var J=Object.assign({},a),B=0;B","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]}),a=c({keywords:null,options:["hscale","width","arcgradient","wordwraparcs","wordwrapentities","watermark"],constants:["true","false","on","off","auto"],attributes:null,brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]}),l=c({keywords:["msc","xu"],options:["hscale","width","arcgradient","wordwraparcs","wordwrapentities","watermark"],constants:["true","false","on","off","auto"],attributes:["label","idurl","id","url","linecolor","linecolour","textcolor","textcolour","textbgcolor","textbgcolour","arclinecolor","arclinecolour","arctextcolor","arctextcolour","arctextbgcolor","arctextbgcolour","arcskip","title","deactivate","activate","activation"],brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]});function o(t){return new RegExp("^\\b("+t.join("|")+")\\b","i")}function n(t){return new RegExp("^(?:"+t.join("|")+")","i")}function b(){return{inComment:!1,inString:!1,inAttributeList:!1,inScript:!1}}function d(t){return{inComment:t.inComment,inString:t.inString,inAttributeList:t.inAttributeList,inScript:t.inScript}}function x(t){return function(r,e){if(r.match(n(t.brackets),!0,!0))return"bracket";if(!e.inComment){if(r.match(/\/\*[^\*\/]*/,!0,!0))return e.inComment=!0,"comment";if(r.match(n(t.singlecomment),!0,!0))return r.skipToEnd(),"comment"}if(e.inComment)return r.match(/[^\*\/]*\*\//,!0,!0)?e.inComment=!1:r.skipToEnd(),"comment";if(!e.inString&&r.match(/\"(\\\"|[^\"])*/,!0,!0))return e.inString=!0,"string";if(e.inString)return r.match(/[^\"]*\"/,!0,!0)?e.inString=!1:r.skipToEnd(),"string";if(t.keywords&&r.match(o(t.keywords),!0,!0)||r.match(o(t.options),!0,!0)||r.match(o(t.arcsWords),!0,!0)||r.match(n(t.arcsOthers),!0,!0))return"keyword";if(t.operators&&r.match(n(t.operators),!0,!0))return"operator";if(t.constants&&r.match(n(t.constants),!0,!0))return"variable";if(!t.inAttributeList&&t.attributes&&r.match("[",!0,!0))return t.inAttributeList=!0,"bracket";if(t.inAttributeList){if(t.attributes!==null&&r.match(o(t.attributes),!0,!0))return"attribute";if(r.match("]",!0,!0))return t.inAttributeList=!1,"bracket"}return r.next(),null}}}}]); diff --git a/7590.55c5cd2d.async.js b/7590.55c5cd2d.async.js new file mode 100644 index 0000000000..6d9a079fbe --- /dev/null +++ b/7590.55c5cd2d.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[7590],{53482:function(L,g,k){k.r(g),k.d(g,{erlang:function(){return K}});var E=["-type","-spec","-export_type","-opaque"],T=["after","begin","catch","case","cond","end","fun","if","let","of","query","receive","try","when"],x=/[\->,;]/,R=["->",";",","],A=["and","andalso","band","bnot","bor","bsl","bsr","bxor","div","not","or","orelse","rem","xor"],U=/[\+\-\*\/<>=\|:!]/,m=["=","+","-","*","/",">",">=","<","=<","=:=","==","=/=","/=","||","<-","!"],Z=/[<\(\[\{]/,s=["<<","(","[","{"],P=/[>\)\]\}]/,h=["}","]",")",">>"],j=["is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_record","is_reference","is_tuple","atom","binary","bitstring","boolean","function","integer","list","number","pid","port","record","reference","tuple"],q=["abs","adler32","adler32_combine","alive","apply","atom_to_binary","atom_to_list","binary_to_atom","binary_to_existing_atom","binary_to_list","binary_to_term","bit_size","bitstring_to_list","byte_size","check_process_code","contact_binary","crc32","crc32_combine","date","decode_packet","delete_module","disconnect_node","element","erase","exit","float","float_to_list","garbage_collect","get","get_keys","group_leader","halt","hd","integer_to_list","internal_bif","iolist_size","iolist_to_binary","is_alive","is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_process_alive","is_record","is_reference","is_tuple","length","link","list_to_atom","list_to_binary","list_to_bitstring","list_to_existing_atom","list_to_float","list_to_integer","list_to_pid","list_to_tuple","load_module","make_ref","module_loaded","monitor_node","node","node_link","node_unlink","nodes","notalive","now","open_port","pid_to_list","port_close","port_command","port_connect","port_control","pre_loaded","process_flag","process_info","processes","purge_module","put","register","registered","round","self","setelement","size","spawn","spawn_link","spawn_monitor","spawn_opt","split_binary","statistics","term_to_binary","time","throw","tl","trunc","tuple_size","tuple_to_list","unlink","unregister","whereis"],p=/[\w@Ø-ÞÀ-Öß-öø-ÿ]/,C=/[0-7]{1,3}|[bdefnrstv\\"']|\^[a-zA-Z]|x[0-9a-zA-Z]{2}|x{[0-9a-zA-Z]+}/;function Q(e,n){if(n.in_string)return n.in_string=!w(e),i(n,e,"string");if(n.in_atom)return n.in_atom=!W(e),i(n,e,"atom");if(e.eatSpace())return i(n,e,"whitespace");if(!_(n)&&e.match(/-\s*[a-zß-öø-ÿ][\wØ-ÞÀ-Öß-öø-ÿ]*/))return u(e.current(),E)?i(n,e,"type"):i(n,e,"attribute");var r=e.next();if(r=="%")return e.skipToEnd(),i(n,e,"comment");if(r==":")return i(n,e,"colon");if(r=="?")return e.eatSpace(),e.eatWhile(p),i(n,e,"macro");if(r=="#")return e.eatSpace(),e.eatWhile(p),i(n,e,"record");if(r=="$")return e.next()=="\\"&&!e.match(C)?i(n,e,"error"):i(n,e,"number");if(r==".")return i(n,e,"dot");if(r=="'"){if(!(n.in_atom=!W(e))){if(e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),i(n,e,"fun");if(e.match(/\s*\(/,!1)||e.match(/\s*:/,!1))return i(n,e,"function")}return i(n,e,"atom")}if(r=='"')return n.in_string=!w(e),i(n,e,"string");if(/[A-Z_Ø-ÞÀ-Ö]/.test(r))return e.eatWhile(p),i(n,e,"variable");if(/[a-z_ß-öø-ÿ]/.test(r)){if(e.eatWhile(p),e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),i(n,e,"fun");var t=e.current();return u(t,T)?i(n,e,"keyword"):u(t,A)?i(n,e,"operator"):e.match(/\s*\(/,!1)?u(t,q)&&(_(n).token!=":"||_(n,2).token=="erlang")?i(n,e,"builtin"):u(t,j)?i(n,e,"guard"):i(n,e,"function"):D(e)==":"?t=="erlang"?i(n,e,"builtin"):i(n,e,"function"):u(t,["true","false"])?i(n,e,"boolean"):i(n,e,"atom")}var l=/[0-9]/,o=/[0-9a-zA-Z]/;return l.test(r)?(e.eatWhile(l),e.eat("#")?e.eatWhile(o)||e.backUp(1):e.eat(".")&&(e.eatWhile(l)?e.eat(/[eE]/)&&(e.eat(/[-+]/)?e.eatWhile(l)||e.backUp(2):e.eatWhile(l)||e.backUp(1)):e.backUp(1)),i(n,e,"number")):v(e,Z,s)?i(n,e,"open_paren"):v(e,P,h)?i(n,e,"close_paren"):y(e,x,R)?i(n,e,"separator"):y(e,U,m)?i(n,e,"operator"):i(n,e,null)}function v(e,n,r){if(e.current().length==1&&n.test(e.current())){for(e.backUp(1);n.test(e.peek());)if(e.next(),u(e.current(),r))return!0;e.backUp(e.current().length-1)}return!1}function y(e,n,r){if(e.current().length==1&&n.test(e.current())){for(;n.test(e.peek());)e.next();for(;01&&e[n].type==="fun"&&e[n-1].token==="fun")return e.slice(0,n-1);switch(e[n].token){case"}":return a(e,{g:["{"]});case"]":return a(e,{i:["["]});case")":return a(e,{i:["("]});case">>":return a(e,{i:["<<"]});case"end":return a(e,{i:["begin","case","fun","if","receive","try"]});case",":return a(e,{e:["begin","try","when","->",",","(","[","{","<<"]});case"->":return a(e,{r:["when"],m:["try","if","case","receive"]});case";":return a(e,{E:["case","fun","if","receive","try","when"]});case"catch":return a(e,{e:["try"]});case"of":return a(e,{e:["case"]});case"after":return a(e,{e:["receive","try"]});default:return e}}function a(e,n){for(var r in n)for(var t=e.length-1,l=n[r],o=t-1;-1"?u(c.token,["receive","case","if","try"])?c.column+r.unit+r.unit:c.column+r.unit:u(o.token,s)?o.column+o.token.length:(t=J(e),f(t)?t.column+r.unit:0):0}function G(e){var n=e.match(/,|[a-z]+|\}|\]|\)|>>|\|+|\(/);return f(n)&&n.index===0?n[0]:""}function H(e){var n=e.tokenStack.slice(0,-1),r=d(n,"type",["open_paren"]);return f(n[r])?n[r]:!1}function J(e){var n=e.tokenStack,r=d(n,"type",["open_paren","separator","keyword"]),t=d(n,"type",["operator"]);return f(r)&&f(t)&&r=0;s--)(o=r[s])&&(i=(n<3?o(i):n>3?o(e,t,i):o(e,t))||i);return n>3&&i&&Object.defineProperty(e,t,i),i}function pq(r,e){return function(t,a){e(t,a,r)}}function dq(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}function gq(r,e,t,a){function n(i){return i instanceof t?i:new t(function(o){o(i)})}return new(t||(t=Promise))(function(i,o){function s(f){try{u(a.next(f))}catch(h){o(h)}}function l(f){try{u(a.throw(f))}catch(h){o(h)}}function u(f){f.done?i(f.value):n(f.value).then(s,l)}u((a=a.apply(r,e||[])).next())})}function yq(r,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,n,i,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(u){return function(f){return l([u,f])}}function l(u){if(a)throw new TypeError("Generator is already executing.");for(;t;)try{if(a=1,n&&(i=u[0]&2?n.return:u[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;switch(n=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return t.label++,{value:u[1],done:!1};case 5:t.label++,n=u[1],u=[0];continue;case 7:u=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]=r.length&&(r=void 0),{value:r&&r[a++],done:!r}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function II(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var a=t.call(r),n,i=[],o;try{for(;(e===void 0||e-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(t=a.return)&&t.call(a)}finally{if(o)throw o.error}}return i}function _q(){for(var r=[],e=0;e1||s(v,c)})})}function s(v,c){try{l(a[v](c))}catch(p){h(i[0][3],p)}}function l(v){v.value instanceof Al?Promise.resolve(v.value.v).then(u,f):h(i[0][2],v)}function u(v){s("next",v)}function f(v){s("throw",v)}function h(v,c){v(c),i.shift(),i.length&&s(i[0][0],i[0][1])}}function wq(r){var e,t;return e={},a("next"),a("throw",function(n){throw n}),a("return"),e[Symbol.iterator]=function(){return this},e;function a(n,i){e[n]=r[n]?function(o){return(t=!t)?{value:Al(r[n](o)),done:n==="return"}:i?i(o):o}:i}}function Tq(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=r[Symbol.asyncIterator],t;return e?e.call(r):(r=typeof hm=="function"?hm(r):r[Symbol.iterator](),t={},a("next"),a("throw"),a("return"),t[Symbol.asyncIterator]=function(){return this},t);function a(i){t[i]=r[i]&&function(o){return new Promise(function(s,l){o=r[i](o),n(s,l,o.done,o.value)})}}function n(i,o,s,l){Promise.resolve(l).then(function(u){i({value:u,done:s})},o)}}function Cq(r,e){return Object.defineProperty?Object.defineProperty(r,"raw",{value:e}):r.raw=e,r}var PI=Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e};function Aq(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)t!=="default"&&Object.prototype.hasOwnProperty.call(r,t)&&fm(e,r,t);return PI(e,r),e}function Mq(r){return r&&r.__esModule?r:{default:r}}function Dq(r,e,t,a){if(t==="a"&&!a)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?r!==e||!a:!e.has(r))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t==="m"?a:t==="a"?a.call(r):a?a.value:e.get(r)}function Lq(r,e,t,a,n){if(a==="m")throw new TypeError("Private method is not writable");if(a==="a"&&!n)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?r!==e||!n:!e.has(r))throw new TypeError("Cannot write private member to an object whose class did not declare it");return a==="a"?n.call(r,t):n?n.value=t:e.set(r,t),t}var RI=function(){function r(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return r}(),EI=function(){function r(){this.browser=new RI,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window!="undefined"}return r}(),an=new EI;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(an.wxa=!0,an.touchEventsSupported=!0):typeof document=="undefined"&&typeof self!="undefined"?an.worker=!0:typeof navigator=="undefined"?(an.node=!0,an.svgSupported=!0):kI(navigator.userAgent,an);function kI(r,e){var t=e.browser,a=r.match(/Firefox\/([\d.]+)/),n=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/.+?rv:(([\d.]+))/),i=r.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(r);a&&(t.firefox=!0,t.version=a[1]),n&&(t.ie=!0,t.version=n[1]),i&&(t.edge=!0,t.version=i[1],t.newEdge=+i[1].split(".")[0]>18),o&&(t.weChat=!0),e.svgSupported=typeof SVGRect!="undefined",e.touchEventsSupported="ontouchstart"in window&&!t.ie&&!t.edge,e.pointerEventsSupported="onpointerdown"in window&&(t.edge||t.ie&&+t.version>=11),e.domSupported=typeof document!="undefined";var s=document.documentElement.style;e.transform3dSupported=(t.ie&&"transition"in s||t.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||t.ie&&+t.version>=9}var Tt=an,Gh=12,vm="sans-serif",Sa=Gh+"px "+vm,OI=20,NI=100,VI="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function BI(r){var e={};if(typeof JSON=="undefined")return e;for(var t=0;t=0)s=o*t.length;else for(var l=0;l=0;s--)(o=r[s])&&(i=(n<3?o(i):n>3?o(e,t,i):o(e,t))||i);return n>3&&i&&Object.defineProperty(e,t,i),i}function kq(r,e){return function(t,a){e(t,a,r)}}function Oq(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}function Nq(r,e,t,a){function n(i){return i instanceof t?i:new t(function(o){o(i)})}return new(t||(t=Promise))(function(i,o){function s(f){try{u(a.next(f))}catch(h){o(h)}}function l(f){try{u(a.throw(f))}catch(h){o(h)}}function u(f){f.done?i(f.value):n(f.value).then(s,l)}u((a=a.apply(r,e||[])).next())})}function Vq(r,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,n,i,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(u){return function(f){return l([u,f])}}function l(u){if(a)throw new TypeError("Generator is already executing.");for(;t;)try{if(a=1,n&&(i=u[0]&2?n.return:u[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;switch(n=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return t.label++,{value:u[1],done:!1};case 5:t.label++,n=u[1],u=[0];continue;case 7:u=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]=r.length&&(r=void 0),{value:r&&r[a++],done:!r}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function JI(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var a=t.call(r),n,i=[],o;try{for(;(e===void 0||e-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(t=a.return)&&t.call(a)}finally{if(o)throw o.error}}return i}function zq(){for(var r=[],e=0;e1||s(v,c)})})}function s(v,c){try{l(a[v](c))}catch(p){h(i[0][3],p)}}function l(v){v.value instanceof kl?Promise.resolve(v.value.v).then(u,f):h(i[0][2],v)}function u(v){s("next",v)}function f(v){s("throw",v)}function h(v,c){v(c),i.shift(),i.length&&s(i[0][0],i[0][1])}}function Wq(r){var e,t;return e={},a("next"),a("throw",function(n){throw n}),a("return"),e[Symbol.iterator]=function(){return this},e;function a(n,i){e[n]=r[n]?function(o){return(t=!t)?{value:kl(r[n](o)),done:n==="return"}:i?i(o):o}:i}}function Uq(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=r[Symbol.asyncIterator],t;return e?e.call(r):(r=typeof wm=="function"?wm(r):r[Symbol.iterator](),t={},a("next"),a("throw"),a("return"),t[Symbol.asyncIterator]=function(){return this},t);function a(i){t[i]=r[i]&&function(o){return new Promise(function(s,l){o=r[i](o),n(s,l,o.done,o.value)})}}function n(i,o,s,l){Promise.resolve(l).then(function(u){i({value:u,done:s})},o)}}function Yq(r,e){return Object.defineProperty?Object.defineProperty(r,"raw",{value:e}):r.raw=e,r}var $I=Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e};function Zq(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)t!=="default"&&Object.prototype.hasOwnProperty.call(r,t)&&bm(e,r,t);return $I(e,r),e}function Xq(r){return r&&r.__esModule?r:{default:r}}function qq(r,e,t,a){if(t==="a"&&!a)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?r!==e||!a:!e.has(r))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t==="m"?a:t==="a"?a.call(r):a?a.value:e.get(r)}function Kq(r,e,t,a,n){if(a==="m")throw new TypeError("Private method is not writable");if(a==="a"&&!n)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?r!==e||!n:!e.has(r))throw new TypeError("Cannot write private member to an object whose class did not declare it");return a==="a"?n.call(r,t):n?n.value=t:e.set(r,t),t}function nn(r,e){return r==null&&(r=0),e==null&&(e=0),[r,e]}function Se(r,e){return r[0]=e[0],r[1]=e[1],r}function jr(r){return[r[0],r[1]]}function t2(r,e,t){return r[0]=e,r[1]=t,r}function Tm(r,e,t){return r[0]=e[0]+t[0],r[1]=e[1]+t[1],r}function Kh(r,e,t,a){return r[0]=e[0]+t[0]*a,r[1]=e[1]+t[1]*a,r}function on(r,e,t){return r[0]=e[0]-t[0],r[1]=e[1]-t[1],r}function jh(r){return Math.sqrt(e2(r))}var jq=null;function e2(r){return r[0]*r[0]+r[1]*r[1]}var Qq=null;function Jq(r,e,t){return r[0]=e[0]*t[0],r[1]=e[1]*t[1],r}function $q(r,e,t){return r[0]=e[0]/t[0],r[1]=e[1]/t[1],r}function tK(r,e){return r[0]*e[0]+r[1]*e[1]}function Ol(r,e,t){return r[0]=e[0]*t,r[1]=e[1]*t,r}function bi(r,e){var t=jh(e);return t===0?(r[0]=0,r[1]=0):(r[0]=e[0]/t,r[1]=e[1]/t),r}function Qh(r,e){return Math.sqrt((r[0]-e[0])*(r[0]-e[0])+(r[1]-e[1])*(r[1]-e[1]))}var xa=Qh;function r2(r,e){return(r[0]-e[0])*(r[0]-e[0])+(r[1]-e[1])*(r[1]-e[1])}var sn=r2;function eK(r,e){return r[0]=-e[0],r[1]=-e[1],r}function Nl(r,e,t,a){return r[0]=e[0]+a*(t[0]-e[0]),r[1]=e[1]+a*(t[1]-e[1]),r}function se(r,e,t){var a=e[0],n=e[1];return r[0]=t[0]*a+t[2]*n+t[4],r[1]=t[1]*a+t[3]*n+t[5],r}function ba(r,e,t){return r[0]=Math.min(e[0],t[0]),r[1]=Math.min(e[1],t[1]),r}function wa(r,e,t){return r[0]=Math.max(e[0],t[0]),r[1]=Math.max(e[1],t[1]),r}var wi=function(){function r(e,t){this.target=e,this.topTarget=t&&t.topTarget}return r}(),a2=function(){function r(e){this.handler=e,e.on("mousedown",this._dragStart,this),e.on("mousemove",this._drag,this),e.on("mouseup",this._dragEnd,this)}return r.prototype._dragStart=function(e){for(var t=e.target;t&&!t.draggable;)t=t.parent||t.__hostTarget;t&&(this._draggingTarget=t,t.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.handler.dispatchToElement(new wi(t,e),"dragstart",e.event))},r.prototype._drag=function(e){var t=this._draggingTarget;if(t){var a=e.offsetX,n=e.offsetY,i=a-this._x,o=n-this._y;this._x=a,this._y=n,t.drift(i,o,e),this.handler.dispatchToElement(new wi(t,e),"drag",e.event);var s=this.handler.findHover(a,n,t).target,l=this._dropTarget;this._dropTarget=s,t!==s&&(l&&s!==l&&this.handler.dispatchToElement(new wi(l,e),"dragleave",e.event),s&&s!==l&&this.handler.dispatchToElement(new wi(s,e),"dragenter",e.event))}},r.prototype._dragEnd=function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.handler.dispatchToElement(new wi(t,e),"dragend",e.event),this._dropTarget&&this.handler.dispatchToElement(new wi(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null},r}(),n2=a2,i2=function(){function r(e){e&&(this._$eventProcessor=e)}return r.prototype.on=function(e,t,a,n){this._$handlers||(this._$handlers={});var i=this._$handlers;if(typeof t=="function"&&(n=a,a=t,t=null),!a||!e)return this;var o=this._$eventProcessor;t!=null&&o&&o.normalizeQuery&&(t=o.normalizeQuery(t)),i[e]||(i[e]=[]);for(var s=0;s>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",a[l]+":0",n[u]+":0",a[1-l]+":auto",n[1-u]+":auto",""].join("!important;"),r.appendChild(o),t.push(o)}return t}function u2(r,e,t){for(var a=t?"invTrans":"trans",n=e[a],i=e.srcCoords,o=[],s=[],l=!0,u=0;u<4;u++){var f=r[u].getBoundingClientRect(),h=2*u,v=f.left,c=f.top;o.push(v,c),l=l&&i&&v===i[h]&&c===i[h+1],s.push(r[u].offsetLeft,r[u].offsetTop)}return l&&n?n:(e.srcCoords=o,e[a]=t?Cm(s,o):Cm(o,s))}function Mm(r){return r.nodeName.toUpperCase()==="CANVAS"}var f2=/([&<>"'])/g,h2={"&":"&","<":"<",">":">",'"':""","'":"'"};function xe(r){return r==null?"":(r+"").replace(f2,function(e,t){return h2[t]})}var v2=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ev=[],c2=Tt.browser.firefox&&+Tt.browser.version.split(".")[0]<39;function rv(r,e,t,a){return t=t||{},a?Dm(r,e,t):c2&&e.layerX!=null&&e.layerX!==e.offsetX?(t.zrX=e.layerX,t.zrY=e.layerY):e.offsetX!=null?(t.zrX=e.offsetX,t.zrY=e.offsetY):Dm(r,e,t),t}function Dm(r,e,t){if(Tt.domSupported&&r.getBoundingClientRect){var a=e.clientX,n=e.clientY;if(Mm(r)){var i=r.getBoundingClientRect();t.zrX=a-i.left,t.zrY=n-i.top;return}else if(tv(ev,r,a,n)){t.zrX=ev[0],t.zrY=ev[1];return}}t.zrX=t.zrY=0}function av(r){return r||window.event}function Ue(r,e,t){if(e=av(e),e.zrX!=null)return e;var a=e.type,n=a&&a.indexOf("touch")>=0;if(n){var o=a!=="touchend"?e.targetTouches[0]:e.changedTouches[0];o&&rv(r,o,e,t)}else{rv(r,e,e,t);var i=p2(e);e.zrDelta=i?i/120:-(e.detail||0)/3}var s=e.button;return e.which==null&&s!==void 0&&v2.test(e.type)&&(e.which=s&1?1:s&2?3:s&4?2:0),e}function p2(r){var e=r.wheelDelta;if(e)return e;var t=r.deltaX,a=r.deltaY;if(t==null||a==null)return e;var n=Math.abs(a!==0?a:t),i=a>0?-1:a<0?1:t>0?-1:1;return 3*n*i}function nv(r,e,t,a){r.addEventListener(e,t,a)}function d2(r,e,t,a){r.removeEventListener(e,t,a)}var Qr=function(r){r.preventDefault(),r.stopPropagation(),r.cancelBubble=!0};function Lm(r){return r.which===2||r.which===3}var g2=function(){function r(){this._track=[]}return r.prototype.recognize=function(e,t,a){return this._doTrack(e,t,a),this._recognize(e)},r.prototype.clear=function(){return this._track.length=0,this},r.prototype._doTrack=function(e,t,a){var n=e.touches;if(n){for(var i={points:[],touches:[],target:t,event:e},o=0,s=n.length;o1&&a&&a.length>1){var i=Im(a)/Im(n);!isFinite(i)&&(i=1),e.pinchScale=i;var o=y2(a);return e.pinchX=o[0],e.pinchY=o[1],{type:"pinch",target:r[0].target,event:e}}}}};function Ye(){return[1,0,0,1,0,0]}function Vl(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function ov(r,e){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=e[3],r[4]=e[4],r[5]=e[5],r}function Jr(r,e,t){var a=e[0]*t[0]+e[2]*t[1],n=e[1]*t[0]+e[3]*t[1],i=e[0]*t[2]+e[2]*t[3],o=e[1]*t[2]+e[3]*t[3],s=e[0]*t[4]+e[2]*t[5]+e[4],l=e[1]*t[4]+e[3]*t[5]+e[5];return r[0]=a,r[1]=n,r[2]=i,r[3]=o,r[4]=s,r[5]=l,r}function Dr(r,e,t){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=e[3],r[4]=e[4]+t[0],r[5]=e[5]+t[1],r}function ln(r,e,t){var a=e[0],n=e[2],i=e[4],o=e[1],s=e[3],l=e[5],u=Math.sin(t),f=Math.cos(t);return r[0]=a*f+o*u,r[1]=-a*u+o*f,r[2]=n*f+s*u,r[3]=-n*u+f*s,r[4]=f*i+u*l,r[5]=f*l-u*i,r}function sv(r,e,t){var a=t[0],n=t[1];return r[0]=e[0]*a,r[1]=e[1]*n,r[2]=e[2]*a,r[3]=e[3]*n,r[4]=e[4]*a,r[5]=e[5]*n,r}function Ti(r,e){var t=e[0],a=e[2],n=e[4],i=e[1],o=e[3],s=e[5],l=t*o-i*a;return l?(l=1/l,r[0]=o*l,r[1]=-i*l,r[2]=-a*l,r[3]=t*l,r[4]=(a*s-o*n)*l,r[5]=(i*n-t*s)*l,r):null}function m2(r){var e=Ye();return ov(e,r),e}var _2=function(){function r(e,t){this.x=e||0,this.y=t||0}return r.prototype.copy=function(e){return this.x=e.x,this.y=e.y,this},r.prototype.clone=function(){return new r(this.x,this.y)},r.prototype.set=function(e,t){return this.x=e,this.y=t,this},r.prototype.equal=function(e){return e.x===this.x&&e.y===this.y},r.prototype.add=function(e){return this.x+=e.x,this.y+=e.y,this},r.prototype.scale=function(e){this.x*=e,this.y*=e},r.prototype.scaleAndAdd=function(e,t){this.x+=e.x*t,this.y+=e.y*t},r.prototype.sub=function(e){return this.x-=e.x,this.y-=e.y,this},r.prototype.dot=function(e){return this.x*e.x+this.y*e.y},r.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},r.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},r.prototype.normalize=function(){var e=this.len();return this.x/=e,this.y/=e,this},r.prototype.distance=function(e){var t=this.x-e.x,a=this.y-e.y;return Math.sqrt(t*t+a*a)},r.prototype.distanceSquare=function(e){var t=this.x-e.x,a=this.y-e.y;return t*t+a*a},r.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},r.prototype.transform=function(e){if(e){var t=this.x,a=this.y;return this.x=e[0]*t+e[2]*a+e[4],this.y=e[1]*t+e[3]*a+e[5],this}},r.prototype.toArray=function(e){return e[0]=this.x,e[1]=this.y,e},r.prototype.fromArray=function(e){this.x=e[0],this.y=e[1]},r.set=function(e,t,a){e.x=t,e.y=a},r.copy=function(e,t){e.x=t.x,e.y=t.y},r.len=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},r.lenSquare=function(e){return e.x*e.x+e.y*e.y},r.dot=function(e,t){return e.x*t.x+e.y*t.y},r.add=function(e,t,a){e.x=t.x+a.x,e.y=t.y+a.y},r.sub=function(e,t,a){e.x=t.x-a.x,e.y=t.y-a.y},r.scale=function(e,t,a){e.x=t.x*a,e.y=t.y*a},r.scaleAndAdd=function(e,t,a,n){e.x=t.x+a.x*n,e.y=t.y+a.y*n},r.lerp=function(e,t,a,n){var i=1-n;e.x=i*t.x+n*a.x,e.y=i*t.y+n*a.y},r}(),ot=_2,Bl=Math.min,zl=Math.max,un=new ot,fn=new ot,hn=new ot,vn=new ot,Eo=new ot,ko=new ot,S2=function(){function r(e,t,a,n){a<0&&(e=e+a,a=-a),n<0&&(t=t+n,n=-n),this.x=e,this.y=t,this.width=a,this.height=n}return r.prototype.union=function(e){var t=Bl(e.x,this.x),a=Bl(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=zl(e.x+e.width,this.x+this.width)-t:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=zl(e.y+e.height,this.y+this.height)-a:this.height=e.height,this.x=t,this.y=a},r.prototype.applyTransform=function(e){r.applyTransform(this,this,e)},r.prototype.calculateTransform=function(e){var t=this,a=e.width/t.width,n=e.height/t.height,i=Ye();return Dr(i,i,[-t.x,-t.y]),sv(i,i,[a,n]),Dr(i,i,[e.x,e.y]),i},r.prototype.intersect=function(e,t){if(!e)return!1;e instanceof r||(e=r.create(e));var a=this,n=a.x,i=a.x+a.width,o=a.y,s=a.y+a.height,l=e.x,u=e.x+e.width,f=e.y,h=e.y+e.height,v=!(ip&&(p=_,dp&&(p=S,y=a.x&&e<=a.x+a.width&&t>=a.y&&t<=a.y+a.height},r.prototype.clone=function(){return new r(this.x,this.y,this.width,this.height)},r.prototype.copy=function(e){r.copy(this,e)},r.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},r.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},r.prototype.isZero=function(){return this.width===0||this.height===0},r.create=function(e){return new r(e.x,e.y,e.width,e.height)},r.copy=function(e,t){e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height},r.applyTransform=function(e,t,a){if(!a){e!==t&&r.copy(e,t);return}if(a[1]<1e-5&&a[1]>-1e-5&&a[2]<1e-5&&a[2]>-1e-5){var n=a[0],i=a[3],o=a[4],s=a[5];e.x=t.x*n+o,e.y=t.y*i+s,e.width=t.width*n,e.height=t.height*i,e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height);return}un.x=hn.x=t.x,un.y=vn.y=t.y,fn.x=vn.x=t.x+t.width,fn.y=hn.y=t.y+t.height,un.transform(a),vn.transform(a),fn.transform(a),hn.transform(a),e.x=Bl(un.x,fn.x,hn.x,vn.x),e.y=Bl(un.y,fn.y,hn.y,vn.y);var l=zl(un.x,fn.x,hn.x,vn.x),u=zl(un.y,fn.y,hn.y,vn.y);e.width=l-e.x,e.height=u-e.y},r}(),ht=S2,Pm="silent";function x2(r,e,t){return{type:r,event:t,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:t.zrX,offsetY:t.zrY,gestureEvent:t.gestureEvent,pinchX:t.pinchX,pinchY:t.pinchY,pinchScale:t.pinchScale,wheelDelta:t.zrDelta,zrByTouch:t.zrByTouch,which:t.which,stop:b2}}function b2(){Qr(this.event)}var w2=function(r){Vt(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.handler=null,t}return e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(We),Oo=function(){function r(e,t){this.x=e,this.y=t}return r}(),T2=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],lv=new ht(0,0,0,0),Rm=function(r){Vt(e,r);function e(t,a,n,i,o){var s=r.call(this)||this;return s._hovered=new Oo(0,0),s.storage=t,s.painter=a,s.painterRoot=i,s._pointerSize=o,n=n||new w2,s.proxy=null,s.setHandlerProxy(n),s._draggingMgr=new n2(s),s}return e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(A(T2,function(a){t.on&&t.on(a,this[a],this)},this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var a=t.zrX,n=t.zrY,i=km(this,a,n),o=this._hovered,s=o.target;s&&!s.__zr&&(o=this.findHover(o.x,o.y),s=o.target);var l=this._hovered=i?new Oo(a,n):this.findHover(a,n),u=l.target,f=this.proxy;f.setCursor&&f.setCursor(u?u.cursor:"default"),s&&u!==s&&this.dispatchToElement(o,"mouseout",t),this.dispatchToElement(l,"mousemove",t),u&&u!==s&&this.dispatchToElement(l,"mouseover",t)},e.prototype.mouseout=function(t){var a=t.zrEventControl;a!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",t),a!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new Oo(0,0)},e.prototype.dispatch=function(t,a){var n=this[t];n&&n.call(this,a)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var a=this.proxy;a.setCursor&&a.setCursor(t)},e.prototype.dispatchToElement=function(t,a,n){t=t||{};var i=t.target;if(!(i&&i.silent)){for(var o="on"+a,s=x2(a,t,n);i&&(i[o]&&(s.cancelBubble=!!i[o].call(i,s)),i.trigger(a,s),i=i.__hostTarget?i.__hostTarget:i.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(a,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(l){typeof l[o]=="function"&&l[o].call(l,s),l.trigger&&l.trigger(a,s)}))}},e.prototype.findHover=function(t,a,n){var i=this.storage.getDisplayList(),o=new Oo(t,a);if(Em(i,o,t,a,n),this._pointerSize&&!o.target){for(var s=[],l=this._pointerSize,u=l/2,f=new ht(t-u,a-u,l,l),h=i.length-1;h>=0;h--){var v=i[h];v!==n&&!v.ignore&&!v.ignoreCoarsePointer&&(!v.parent||!v.parent.ignoreCoarsePointer)&&(lv.copy(v.getBoundingRect()),v.transform&&lv.applyTransform(v.transform),lv.intersect(f)&&s.push(v))}if(s.length)for(var c=4,p=Math.PI/12,d=Math.PI*2,g=0;g4)return;this._downPoint=null}this.dispatchToElement(i,r,e)}});function C2(r,e,t){if(r[r.rectHover?"rectContain":"contain"](e,t)){for(var a=r,n=void 0,i=!1;a;){if(a.ignoreClip&&(i=!0),!i){var o=a.getClipPath();if(o&&!o.contain(e,t))return!1;a.silent&&(n=!0)}var s=a.__hostTarget;a=s||a.parent}return n?Pm:!0}return!1}function Em(r,e,t,a,n){for(var i=r.length-1;i>=0;i--){var o=r[i],s=void 0;if(o!==n&&!o.ignore&&(s=C2(o,t,a))&&(!e.topTarget&&(e.topTarget=o),s!==Pm)){e.target=o;break}}}function km(r,e,t){var a=r.painter;return e<0||e>a.getWidth()||t<0||t>a.getHeight()}var A2=Rm,Om=32,No=7,Nm=256;function M2(r){for(var e=0;r>=Om;)e|=r&1,r>>=1;return r+e}function Vm(r,e,t,a){var n=e+1;if(n===t)return 1;if(a(r[n++],r[e])<0){for(;n=0;)n++;return n-e}function D2(r,e,t){for(t--;e>>1,n(i,r[l])<0?s=l:o=l+1;var u=a-o;switch(u){case 3:r[o+3]=r[o+2];case 2:r[o+2]=r[o+1];case 1:r[o+1]=r[o];break;default:for(;u>0;)r[o+u]=r[o+u-1],u--}r[o]=i}}function uv(r,e,t,a,n,i){var o=0,s=0,l=1;if(i(r,e[t+n])>0){for(s=a-n;l0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=n,l+=n}else{for(s=n+1;ls&&(l=s);var u=o;o=n-l,l=n-u}for(o++;o>>1);i(r,e[t+f])>0?o=f+1:l=f}return l}function fv(r,e,t,a,n,i){var o=0,s=0,l=1;if(i(r,e[t+n])<0){for(s=n+1;ls&&(l=s);var u=o;o=n-l,l=n-u}else{for(s=a-n;l=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=n,l+=n}for(o++;o>>1);i(r,e[t+f])<0?l=f:o=f+1}return l}function L2(r,e){var t=No,a=0,n=Nm,i=0,o,s,l=0;a=r.length,a<2*Nm&&(n=a>>>1);var u=[];i=a<120?5:a<1542?10:a<119151?19:40,o=[],s=[];function f(g,y){o[l]=g,s[l]=y,l+=1}function h(){for(;l>1;){var g=l-2;if(g>=1&&s[g-1]<=s[g]+s[g+1]||g>=2&&s[g-2]<=s[g]+s[g-1])s[g-1]s[g+1])break;c(g)}}function v(){for(;l>1;){var g=l-2;g>0&&s[g-1]=No||M>=No);if(D)break;T<0&&(T=0),T+=2}if(t=T,t<1&&(t=1),y===1){for(S=0;S<_;S++)r[w+S]=r[x+S];r[w+_]=u[b]}else{if(y===0)throw new Error;for(S=0;S=0;S--)r[C+S]=r[T+S];r[w]=u[x];return}for(var M=t;;){var D=0,L=0,I=!1;do if(e(u[x],r[b])<0){if(r[w--]=r[b--],D++,L=0,--y===0){I=!0;break}}else if(r[w--]=u[x--],L++,D=0,--_===1){I=!0;break}while((D|L)=0;S--)r[C+S]=r[T+S];if(y===0){I=!0;break}}if(r[w--]=u[x--],--_===1){I=!0;break}if(L=_-uv(r[b],u,0,_,_-1,e),L!==0){for(w-=L,x-=L,_-=L,C=w+1,T=x+1,S=0;S=No||L>=No);if(I)break;M<0&&(M=0),M+=2}if(t=M,t<1&&(t=1),_===1){for(w-=y,b-=y,C=w+1,T=b+1,S=y-1;S>=0;S--)r[C+S]=r[T+S];r[w]=u[x]}else{if(_===0)throw new Error;for(T=w-(_-1),S=0;S<_;S++)r[T+S]=u[S]}}return{mergeRuns:h,forceMergeRuns:v,pushRun:f}}function Gl(r,e,t,a){t||(t=0),a||(a=r.length);var n=a-t;if(!(n<2)){var i=0;if(ns&&(l=s),Bm(r,t,t+l,t+i,e),i=l}o.pushRun(t,i),o.mergeRuns(),n-=i,t+=i}while(n!==0);o.forceMergeRuns()}}var Ge=1,Vo=2,Ci=4,zm=!1;function hv(){zm||(zm=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Gm(r,e){return r.zlevel===e.zlevel?r.z===e.z?r.z2-e.z2:r.z-e.z:r.zlevel-e.zlevel}var I2=function(){function r(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Gm}return r.prototype.traverse=function(e,t){for(var a=0;a0&&(f.__clipPaths=[]),isNaN(f.z)&&(hv(),f.z=0),isNaN(f.z2)&&(hv(),f.z2=0),isNaN(f.zlevel)&&(hv(),f.zlevel=0),this._displayList[this._displayListLen++]=f}var h=e.getDecalElement&&e.getDecalElement();h&&this._updateAndAddDisplayable(h,t,a);var v=e.getTextGuideLine();v&&this._updateAndAddDisplayable(v,t,a);var c=e.getTextContent();c&&this._updateAndAddDisplayable(c,t,a)}},r.prototype.addRoot=function(e){e.__zr&&e.__zr.storage===this||this._roots.push(e)},r.prototype.delRoot=function(e){if(e instanceof Array){for(var t=0,a=e.length;t=0&&this._roots.splice(n,1)},r.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},r.prototype.getRoots=function(){return this._roots},r.prototype.dispose=function(){this._displayList=null,this._roots=null},r}(),P2=I2,Fm;Fm=Tt.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(r){return setTimeout(r,16)};var vv=Fm,Fl={linear:function(r){return r},quadraticIn:function(r){return r*r},quadraticOut:function(r){return r*(2-r)},quadraticInOut:function(r){return(r*=2)<1?.5*r*r:-.5*(--r*(r-2)-1)},cubicIn:function(r){return r*r*r},cubicOut:function(r){return--r*r*r+1},cubicInOut:function(r){return(r*=2)<1?.5*r*r*r:.5*((r-=2)*r*r+2)},quarticIn:function(r){return r*r*r*r},quarticOut:function(r){return 1- --r*r*r*r},quarticInOut:function(r){return(r*=2)<1?.5*r*r*r*r:-.5*((r-=2)*r*r*r-2)},quinticIn:function(r){return r*r*r*r*r},quinticOut:function(r){return--r*r*r*r*r+1},quinticInOut:function(r){return(r*=2)<1?.5*r*r*r*r*r:.5*((r-=2)*r*r*r*r+2)},sinusoidalIn:function(r){return 1-Math.cos(r*Math.PI/2)},sinusoidalOut:function(r){return Math.sin(r*Math.PI/2)},sinusoidalInOut:function(r){return .5*(1-Math.cos(Math.PI*r))},exponentialIn:function(r){return r===0?0:Math.pow(1024,r-1)},exponentialOut:function(r){return r===1?1:1-Math.pow(2,-10*r)},exponentialInOut:function(r){return r===0?0:r===1?1:(r*=2)<1?.5*Math.pow(1024,r-1):.5*(-Math.pow(2,-10*(r-1))+2)},circularIn:function(r){return 1-Math.sqrt(1-r*r)},circularOut:function(r){return Math.sqrt(1- --r*r)},circularInOut:function(r){return(r*=2)<1?-.5*(Math.sqrt(1-r*r)-1):.5*(Math.sqrt(1-(r-=2)*r)+1)},elasticIn:function(r){var e,t=.1,a=.4;return r===0?0:r===1?1:(!t||t<1?(t=1,e=a/4):e=a*Math.asin(1/t)/(2*Math.PI),-(t*Math.pow(2,10*(r-=1))*Math.sin((r-e)*(2*Math.PI)/a)))},elasticOut:function(r){var e,t=.1,a=.4;return r===0?0:r===1?1:(!t||t<1?(t=1,e=a/4):e=a*Math.asin(1/t)/(2*Math.PI),t*Math.pow(2,-10*r)*Math.sin((r-e)*(2*Math.PI)/a)+1)},elasticInOut:function(r){var e,t=.1,a=.4;return r===0?0:r===1?1:(!t||t<1?(t=1,e=a/4):e=a*Math.asin(1/t)/(2*Math.PI),(r*=2)<1?-.5*(t*Math.pow(2,10*(r-=1))*Math.sin((r-e)*(2*Math.PI)/a)):t*Math.pow(2,-10*(r-=1))*Math.sin((r-e)*(2*Math.PI)/a)*.5+1)},backIn:function(r){var e=1.70158;return r*r*((e+1)*r-e)},backOut:function(r){var e=1.70158;return--r*r*((e+1)*r+e)+1},backInOut:function(r){var e=2.5949095;return(r*=2)<1?.5*(r*r*((e+1)*r-e)):.5*((r-=2)*r*((e+1)*r+e)+2)},bounceIn:function(r){return 1-Fl.bounceOut(1-r)},bounceOut:function(r){return r<1/2.75?7.5625*r*r:r<2/2.75?7.5625*(r-=1.5/2.75)*r+.75:r<2.5/2.75?7.5625*(r-=2.25/2.75)*r+.9375:7.5625*(r-=2.625/2.75)*r+.984375},bounceInOut:function(r){return r<.5?Fl.bounceIn(r*2)*.5:Fl.bounceOut(r*2-1)*.5+.5}},Hm=Fl,Hl=Math.pow,Ta=Math.sqrt,Wl=1e-8,Wm=1e-4,Um=Ta(3),Ul=1/3,Lr=nn(),Ze=nn(),Ai=nn();function Ca(r){return r>-Wl&&rWl||r<-Wl}function te(r,e,t,a,n){var i=1-n;return i*i*(i*r+3*n*e)+n*n*(n*a+3*i*t)}function Zm(r,e,t,a,n){var i=1-n;return 3*(((e-r)*i+2*(t-e)*n)*i+(a-t)*n*n)}function Yl(r,e,t,a,n,i){var o=a+3*(e-t)-r,s=3*(t-e*2+r),l=3*(e-r),u=r-n,f=s*s-3*o*l,h=s*l-9*o*u,v=l*l-3*s*u,c=0;if(Ca(f)&&Ca(h))if(Ca(s))i[0]=0;else{var p=-l/s;p>=0&&p<=1&&(i[c++]=p)}else{var d=h*h-4*f*v;if(Ca(d)){var g=h/f,p=-s/o+g,y=-g/2;p>=0&&p<=1&&(i[c++]=p),y>=0&&y<=1&&(i[c++]=y)}else if(d>0){var m=Ta(d),_=f*s+1.5*o*(-h+m),S=f*s+1.5*o*(-h-m);_<0?_=-Hl(-_,Ul):_=Hl(_,Ul),S<0?S=-Hl(-S,Ul):S=Hl(S,Ul);var p=(-s-(_+S))/(3*o);p>=0&&p<=1&&(i[c++]=p)}else{var b=(2*f*s-3*o*h)/(2*Ta(f*f*f)),x=Math.acos(b)/3,w=Ta(f),T=Math.cos(x),p=(-s-2*w*T)/(3*o),y=(-s+w*(T+Um*Math.sin(x)))/(3*o),C=(-s+w*(T-Um*Math.sin(x)))/(3*o);p>=0&&p<=1&&(i[c++]=p),y>=0&&y<=1&&(i[c++]=y),C>=0&&C<=1&&(i[c++]=C)}}return c}function Xm(r,e,t,a,n){var i=6*t-12*e+6*r,o=9*e+3*a-3*r-9*t,s=3*e-3*r,l=0;if(Ca(o)){if(Ym(i)){var u=-s/i;u>=0&&u<=1&&(n[l++]=u)}}else{var f=i*i-4*o*s;if(Ca(f))n[0]=-i/(2*o);else if(f>0){var h=Ta(f),u=(-i+h)/(2*o),v=(-i-h)/(2*o);u>=0&&u<=1&&(n[l++]=u),v>=0&&v<=1&&(n[l++]=v)}}return l}function Aa(r,e,t,a,n,i){var o=(e-r)*n+r,s=(t-e)*n+e,l=(a-t)*n+t,u=(s-o)*n+o,f=(l-s)*n+s,h=(f-u)*n+u;i[0]=r,i[1]=o,i[2]=u,i[3]=h,i[4]=h,i[5]=f,i[6]=l,i[7]=a}function qm(r,e,t,a,n,i,o,s,l,u,f){var h,v=.005,c=1/0,p,d,g,y;Lr[0]=l,Lr[1]=u;for(var m=0;m<1;m+=.05)Ze[0]=te(r,t,n,o,m),Ze[1]=te(e,a,i,s,m),g=sn(Lr,Ze),g=0&&g=0&&u<=1&&(n[l++]=u)}}else{var f=o*o-4*i*s;if(Ca(f)){var u=-o/(2*i);u>=0&&u<=1&&(n[l++]=u)}else if(f>0){var h=Ta(f),u=(-o+h)/(2*i),v=(-o-h)/(2*i);u>=0&&u<=1&&(n[l++]=u),v>=0&&v<=1&&(n[l++]=v)}}return l}function Km(r,e,t){var a=r+t-2*e;return a===0?.5:(r-e)/a}function Bo(r,e,t,a,n){var i=(e-r)*a+r,o=(t-e)*a+e,s=(o-i)*a+i;n[0]=r,n[1]=i,n[2]=s,n[3]=s,n[4]=o,n[5]=t}function jm(r,e,t,a,n,i,o,s,l){var u,f=.005,h=1/0;Lr[0]=o,Lr[1]=s;for(var v=0;v<1;v+=.05){Ze[0]=ie(r,t,n,v),Ze[1]=ie(e,a,i,v);var c=sn(Lr,Ze);c=0&&c=1?1:Yl(0,a,i,1,l,s)&&te(0,n,o,1,s[0])}}}var N2=function(){function r(e){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=e.life||1e3,this._delay=e.delay||0,this.loop=e.loop||!1,this.onframe=e.onframe||Zt,this.ondestroy=e.ondestroy||Zt,this.onrestart=e.onrestart||Zt,e.easing&&this.setEasing(e.easing)}return r.prototype.step=function(e,t){if(this._inited||(this._startTime=e+this._delay,this._inited=!0),this._paused){this._pausedTime+=t;return}var a=this._life,n=e-this._startTime-this._pausedTime,i=n/a;i<0&&(i=0),i=Math.min(i,1);var o=this.easingFunc,s=o?o(i):i;if(this.onframe(s),i===1)if(this.loop){var l=n%a;this._startTime=e-l,this._pausedTime=0,this.onrestart()}else return!0;return!1},r.prototype.pause=function(){this._paused=!0},r.prototype.resume=function(){this._paused=!1},r.prototype.setEasing=function(e){this.easing=e,this.easingFunc=j(e)?e:Hm[e]||pv(e)},r}(),V2=N2,Qm=function(){function r(e){this.value=e}return r}(),B2=function(){function r(){this._len=0}return r.prototype.insert=function(e){var t=new Qm(e);return this.insertEntry(t),t},r.prototype.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},r.prototype.remove=function(e){var t=e.prev,a=e.next;t?t.next=a:this.head=a,a?a.prev=t:this.tail=t,e.next=e.prev=null,this._len--},r.prototype.len=function(){return this._len},r.prototype.clear=function(){this.head=this.tail=null,this._len=0},r}(),z2=function(){function r(e){this._list=new B2,this._maxSize=10,this._map={},this._maxSize=e}return r.prototype.put=function(e,t){var a=this._list,n=this._map,i=null;if(n[e]==null){var o=a.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=a.head;a.remove(l),delete n[l.key],i=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new Qm(t),s.key=e,a.insertEntry(s),n[e]=s}return i},r.prototype.get=function(e){var t=this._map[e],a=this._list;if(t!=null)return t!==a.tail&&(a.remove(t),a.insertEntry(t)),t.value},r.prototype.clear=function(){this._list.clear(),this._map={}},r.prototype.len=function(){return this._list.len()},r}(),zo=z2,Jm={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 hr(r){return r=Math.round(r),r<0?0:r>255?255:r}function G2(r){return r=Math.round(r),r<0?0:r>360?360:r}function Go(r){return r<0?0:r>1?1:r}function dv(r){var e=r;return e.length&&e.charAt(e.length-1)==="%"?hr(parseFloat(e)/100*255):hr(parseInt(e,10))}function cn(r){var e=r;return e.length&&e.charAt(e.length-1)==="%"?Go(parseFloat(e)/100):Go(parseFloat(e))}function gv(r,e,t){return t<0?t+=1:t>1&&(t-=1),t*6<1?r+(e-r)*t*6:t*2<1?e:t*3<2?r+(e-r)*(2/3-t)*6:r}function Ma(r,e,t){return r+(e-r)*t}function Xe(r,e,t,a,n){return r[0]=e,r[1]=t,r[2]=a,r[3]=n,r}function yv(r,e){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=e[3],r}var $m=new zo(20),Zl=null;function Mi(r,e){Zl&&yv(Zl,e),Zl=$m.put(r,Zl||e.slice())}function Le(r,e){if(r){e=e||[];var t=$m.get(r);if(t)return yv(e,t);r=r+"";var a=r.replace(/ /g,"").toLowerCase();if(a in Jm)return yv(e,Jm[a]),Mi(r,e),e;var n=a.length;if(a.charAt(0)==="#"){if(n===4||n===5){var i=parseInt(a.slice(1,4),16);if(!(i>=0&&i<=4095)){Xe(e,0,0,0,1);return}return Xe(e,(i&3840)>>4|(i&3840)>>8,i&240|(i&240)>>4,i&15|(i&15)<<4,n===5?parseInt(a.slice(4),16)/15:1),Mi(r,e),e}else if(n===7||n===9){var i=parseInt(a.slice(1,7),16);if(!(i>=0&&i<=16777215)){Xe(e,0,0,0,1);return}return Xe(e,(i&16711680)>>16,(i&65280)>>8,i&255,n===9?parseInt(a.slice(7),16)/255:1),Mi(r,e),e}return}var o=a.indexOf("("),s=a.indexOf(")");if(o!==-1&&s+1===n){var l=a.substr(0,o),u=a.substr(o+1,s-(o+1)).split(","),f=1;switch(l){case"rgba":if(u.length!==4)return u.length===3?Xe(e,+u[0],+u[1],+u[2],1):Xe(e,0,0,0,1);f=cn(u.pop());case"rgb":if(u.length>=3)return Xe(e,dv(u[0]),dv(u[1]),dv(u[2]),u.length===3?f:cn(u[3])),Mi(r,e),e;Xe(e,0,0,0,1);return;case"hsla":if(u.length!==4){Xe(e,0,0,0,1);return}return u[3]=cn(u[3]),mv(u,e),Mi(r,e),e;case"hsl":if(u.length!==3){Xe(e,0,0,0,1);return}return mv(u,e),Mi(r,e),e;default:return}}Xe(e,0,0,0,1)}}function mv(r,e){var t=(parseFloat(r[0])%360+360)%360/360,a=cn(r[1]),n=cn(r[2]),i=n<=.5?n*(a+1):n+a-n*a,o=n*2-i;return e=e||[],Xe(e,hr(gv(o,i,t+1/3)*255),hr(gv(o,i,t)*255),hr(gv(o,i,t-1/3)*255),1),r.length===4&&(e[3]=r[3]),e}function F2(r){if(r){var e=r[0]/255,t=r[1]/255,a=r[2]/255,n=Math.min(e,t,a),i=Math.max(e,t,a),o=i-n,s=(i+n)/2,l,u;if(o===0)l=0,u=0;else{s<.5?u=o/(i+n):u=o/(2-i-n);var f=((i-e)/6+o/2)/o,h=((i-t)/6+o/2)/o,v=((i-a)/6+o/2)/o;e===i?l=v-h:t===i?l=1/3+f-v:a===i&&(l=2/3+h-f),l<0&&(l+=1),l>1&&(l-=1)}var c=[l*360,u,s];return r[3]!=null&&c.push(r[3]),c}}function _v(r,e){var t=Le(r);if(t){for(var a=0;a<3;a++)e<0?t[a]=t[a]*(1-e)|0:t[a]=(255-t[a])*e+t[a]|0,t[a]>255?t[a]=255:t[a]<0&&(t[a]=0);return Ir(t,t.length===4?"rgba":"rgb")}}function rK(r){var e=Le(r);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function Sv(r,e,t){if(!(!(e&&e.length)||!(r>=0&&r<=1))){t=t||[];var a=r*(e.length-1),n=Math.floor(a),i=Math.ceil(a),o=e[n],s=e[i],l=a-n;return t[0]=hr(Ma(o[0],s[0],l)),t[1]=hr(Ma(o[1],s[1],l)),t[2]=hr(Ma(o[2],s[2],l)),t[3]=Go(Ma(o[3],s[3],l)),t}}var aK=null;function H2(r,e,t){if(!(!(e&&e.length)||!(r>=0&&r<=1))){var a=r*(e.length-1),n=Math.floor(a),i=Math.ceil(a),o=Le(e[n]),s=Le(e[i]),l=a-n,u=Ir([hr(Ma(o[0],s[0],l)),hr(Ma(o[1],s[1],l)),hr(Ma(o[2],s[2],l)),Go(Ma(o[3],s[3],l))],"rgba");return t?{color:u,leftIndex:n,rightIndex:i,value:a}:u}}var nK=null;function Fo(r,e,t,a){var n=Le(r);if(r)return n=F2(n),e!=null&&(n[0]=G2(e)),t!=null&&(n[1]=cn(t)),a!=null&&(n[2]=cn(a)),Ir(mv(n),"rgba")}function Xl(r,e){var t=Le(r);if(t&&e!=null)return t[3]=Go(e),Ir(t,"rgba")}function Ir(r,e){if(!(!r||!r.length)){var t=r[0]+","+r[1]+","+r[2];return(e==="rgba"||e==="hsva"||e==="hsla")&&(t+=","+r[3]),e+"("+t+")"}}function ql(r,e){var t=Le(r);return t?(.299*t[0]+.587*t[1]+.114*t[2])*t[3]/255+(1-t[3])*e:0}function iK(){return Ir([Math.round(Math.random()*255),Math.round(Math.random()*255),Math.round(Math.random()*255)],"rgb")}var t0=_a(48764).lW,Ho=Math.round;function Wo(r){var e;if(!r||r==="transparent")r="none";else if(typeof r=="string"&&r.indexOf("rgba")>-1){var t=Le(r);t&&(r="rgb("+t[0]+","+t[1]+","+t[2]+")",e=t[3])}return{color:r,opacity:e==null?1:e}}var e0=1e-4;function Da(r){return r-e0}function Kl(r){return Ho(r*1e3)/1e3}function xv(r){return Ho(r*1e4)/1e4}function oK(r){return Ho(r*10)/10}function W2(r){return"matrix("+Kl(r[0])+","+Kl(r[1])+","+Kl(r[2])+","+Kl(r[3])+","+xv(r[4])+","+xv(r[5])+")"}var U2={left:"start",right:"end",center:"middle",middle:"middle"};function Y2(r,e,t){return t==="top"?r+=e/2:t==="bottom"&&(r-=e/2),r}function Z2(r){return r&&(r.shadowBlur||r.shadowOffsetX||r.shadowOffsetY)}function X2(r){var e=r.style,t=r.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),t[0],t[1]].join(",")}function sK(r){var e=[];if(r)for(var t=0;ta?e:r,i=Math.min(t,a),o=n[i-1]||{color:[0,0,0,0],offset:0},s=i;so;if(s)a.length=o;else for(var l=i;l=1},r.prototype.getAdditiveTrack=function(){return this._additiveTrack},r.prototype.addKeyframe=function(e,t,a){this._needsSort=!0;var n=this.keyframes,i=n.length,o=!1,s=f0,l=t;if(ce(t)){var u=$2(t);s=u,(u===1&&!Ct(t[0])||u===2&&!Ct(t[0][0]))&&(o=!0)}else if(Ct(t)&&!Po(t))s=$l;else if(U(t))if(!isNaN(+t))s=$l;else{var f=Le(t);f&&(l=f,s=Yo)}else if(Ll(t)){var h=V({},l);h.colorStops=G(t.colorStops,function(c){return{offset:c.offset,color:Le(c.color)}}),a0(t)?s=Cv:n0(t)&&(s=Av),l=h}i===0?this.valType=s:(s!==this.valType||s===f0)&&(o=!0),this.discrete=this.discrete||o;var v={time:e,value:l,rawValue:t,percent:0};return a&&(v.easing=a,v.easingFunc=j(a)?a:Hm[a]||pv(a)),n.push(v),v},r.prototype.prepare=function(e,t){var a=this.keyframes;this._needsSort&&a.sort(function(d,g){return d.time-g.time});for(var n=this.valType,i=a.length,o=a[i-1],s=this.discrete,l=eu(n),u=h0(n),f=0;f=0&&!(o[f].percent<=t);f--);f=v(f,s-2)}else{for(f=h;ft);f++);f=v(f-1,s-2)}p=o[f+1],c=o[f]}if(c&&p){this._lastFr=f,this._lastFrP=t;var g=p.percent-c.percent,y=g===0?1:v((t-c.percent)/g,1);p.easingFunc&&(y=p.easingFunc(y));var m=a?this._additiveValue:u?Zo:e[l];if((eu(i)||u)&&!m&&(m=this._additiveValue=[]),this.discrete)e[l]=y<1?c.rawValue:p.rawValue;else if(eu(i))i===tu?Tv(m,c[n],p[n],y):j2(m,c[n],p[n],y);else if(h0(i)){var _=c[n],S=p[n],b=i===Cv;e[l]={type:b?"linear":"radial",x:$r(_.x,S.x,y),y:$r(_.y,S.y,y),colorStops:G(_.colorStops,function(w,T){var C=S.colorStops[T];return{offset:$r(w.offset,C.offset,y),color:Jl(Tv([],w.color,C.color,y))}}),global:S.global},b?(e[l].x2=$r(_.x2,S.x2,y),e[l].y2=$r(_.y2,S.y2,y)):e[l].r=$r(_.r,S.r,y)}else if(u)Tv(m,c[n],p[n],y),a||(e[l]=Jl(m));else{var x=$r(c[n],p[n],y);a?this._additiveValue=x:e[l]=x}a&&this._addToTarget(e)}}},r.prototype._addToTarget=function(e){var t=this.valType,a=this.propName,n=this._additiveValue;t===$l?e[a]=e[a]+n:t===Yo?(Le(e[a],Zo),Ql(Zo,Zo,n,1),e[a]=Jl(Zo)):t===tu?Ql(e[a],e[a],n,1):t===u0&&l0(e[a],e[a],n,1)},r}(),eP=function(){function r(e,t,a,n){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=t,t&&n){Wh("Can' use additive animation on looped animation.");return}this._additiveAnimators=n,this._allowDiscrete=a}return r.prototype.getMaxTime=function(){return this._maxTime},r.prototype.getDelay=function(){return this._delay},r.prototype.getLoop=function(){return this._loop},r.prototype.getTarget=function(){return this._target},r.prototype.changeTarget=function(e){this._target=e},r.prototype.when=function(e,t,a){return this.whenWithKeys(e,t,mt(t),a)},r.prototype.whenWithKeys=function(e,t,a,n){for(var i=this._tracks,o=0;o0&&l.addKeyframe(0,Uo(u),n),this._trackKeys.push(s)}l.addKeyframe(e,Uo(t[s]),n)}return this._maxTime=Math.max(this._maxTime,e),this},r.prototype.pause=function(){this._clip.pause(),this._paused=!0},r.prototype.resume=function(){this._clip.resume(),this._paused=!1},r.prototype.isPaused=function(){return!!this._paused},r.prototype.duration=function(e){return this._maxTime=e,this._force=!0,this},r.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var t=e.length,a=0;a0)){this._started=1;for(var t=this,a=[],n=this._maxTime||0,i=0;i1){var s=o.pop();i.addKeyframe(s.time,e[n]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},r}(),Mv=eP;function Di(){return new Date().getTime()}var rP=function(r){Vt(e,r);function e(t){var a=r.call(this)||this;return a._running=!1,a._time=0,a._pausedTime=0,a._pauseStart=0,a._paused=!1,t=t||{},a.stage=t.stage||{},a}return e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var a=t.getClip();a&&this.addClip(a)},e.prototype.removeClip=function(t){if(t.animation){var a=t.prev,n=t.next;a?a.next=n:this._head=n,n?n.prev=a:this._tail=a,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var a=t.getClip();a&&this.removeClip(a),t.animation=null},e.prototype.update=function(t){for(var a=Di()-this._pausedTime,n=a-this._time,i=this._head;i;){var o=i.next,s=i.step(a,n);s&&(i.ondestroy(),this.removeClip(i)),i=o}this._time=a,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0;function a(){t._running&&(vv(a),!t._paused&&t.update())}vv(a)},e.prototype.start=function(){this._running||(this._time=Di(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Di(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Di()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var a=t.next;t.prev=t.next=t.animation=null,t=a}this._head=this._tail=null},e.prototype.isFinished=function(){return this._head==null},e.prototype.animate=function(t,a){a=a||{},this.start();var n=new Mv(t,a.loop);return this.addAnimator(n),n},e}(We),aP=rP,nP=300,Dv=Tt.domSupported,Lv=function(){var r=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],t={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},a=G(r,function(n){var i=n.replace("mouse","pointer");return t.hasOwnProperty(i)?i:n});return{mouse:r,touch:e,pointer:a}}(),v0={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},c0=!1;function Iv(r){var e=r.pointerType;return e==="pen"||e==="touch"}function iP(r){r.touching=!0,r.touchTimer!=null&&(clearTimeout(r.touchTimer),r.touchTimer=null),r.touchTimer=setTimeout(function(){r.touching=!1,r.touchTimer=null},700)}function Pv(r){r&&(r.zrByTouch=!0)}function oP(r,e){return Ue(r.dom,new sP(r,e),!0)}function p0(r,e){for(var t=e,a=!1;t&&t.nodeType!==9&&!(a=t.domBelongToZr||t!==e&&t===r.painterRoot);)t=t.parentNode;return a}var sP=function(){function r(e,t){this.stopPropagation=Zt,this.stopImmediatePropagation=Zt,this.preventDefault=Zt,this.type=t.type,this.target=this.currentTarget=e.dom,this.pointerType=t.pointerType,this.clientX=t.clientX,this.clientY=t.clientY}return r}(),vr={mousedown:function(r){r=Ue(this.dom,r),this.__mayPointerCapture=[r.zrX,r.zrY],this.trigger("mousedown",r)},mousemove:function(r){r=Ue(this.dom,r);var e=this.__mayPointerCapture;e&&(r.zrX!==e[0]||r.zrY!==e[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",r)},mouseup:function(r){r=Ue(this.dom,r),this.__togglePointerCapture(!1),this.trigger("mouseup",r)},mouseout:function(r){r=Ue(this.dom,r);var e=r.toElement||r.relatedTarget;p0(this,e)||(this.__pointerCapturing&&(r.zrEventControl="no_globalout"),this.trigger("mouseout",r))},wheel:function(r){c0=!0,r=Ue(this.dom,r),this.trigger("mousewheel",r)},mousewheel:function(r){c0||(r=Ue(this.dom,r),this.trigger("mousewheel",r))},touchstart:function(r){r=Ue(this.dom,r),Pv(r),this.__lastTouchMoment=new Date,this.handler.processGesture(r,"start"),vr.mousemove.call(this,r),vr.mousedown.call(this,r)},touchmove:function(r){r=Ue(this.dom,r),Pv(r),this.handler.processGesture(r,"change"),vr.mousemove.call(this,r)},touchend:function(r){r=Ue(this.dom,r),Pv(r),this.handler.processGesture(r,"end"),vr.mouseup.call(this,r),+new Date-+this.__lastTouchMomentm0||r<-m0}var dn=[],Li=[],Vv=Ye(),Bv=Math.abs,cP=function(){function r(){}return r.prototype.getLocalTransform=function(e){return r.getLocalTransform(this,e)},r.prototype.setPosition=function(e){this.x=e[0],this.y=e[1]},r.prototype.setScale=function(e){this.scaleX=e[0],this.scaleY=e[1]},r.prototype.setSkew=function(e){this.skewX=e[0],this.skewY=e[1]},r.prototype.setOrigin=function(e){this.originX=e[0],this.originY=e[1]},r.prototype.needLocalTransform=function(){return pn(this.rotation)||pn(this.x)||pn(this.y)||pn(this.scaleX-1)||pn(this.scaleY-1)||pn(this.skewX)||pn(this.skewY)},r.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,t=this.needLocalTransform(),a=this.transform;if(!(t||e)){a&&(y0(a),this.invTransform=null);return}a=a||Ye(),t?this.getLocalTransform(a):y0(a),e&&(t?Jr(a,e,a):ov(a,e)),this.transform=a,this._resolveGlobalScaleRatio(a)},r.prototype._resolveGlobalScaleRatio=function(e){var t=this.globalScaleRatio;if(t!=null&&t!==1){this.getGlobalScale(dn);var a=dn[0]<0?-1:1,n=dn[1]<0?-1:1,i=((dn[0]-a)*t+a)/dn[0]||0,o=((dn[1]-n)*t+n)/dn[1]||0;e[0]*=i,e[1]*=i,e[2]*=o,e[3]*=o}this.invTransform=this.invTransform||Ye(),Ti(this.invTransform,e)},r.prototype.getComputedTransform=function(){for(var e=this,t=[];e;)t.push(e),e=e.parent;for(;e=t.pop();)e.updateTransform();return this.transform},r.prototype.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],a=e[2]*e[2]+e[3]*e[3],n=Math.atan2(e[1],e[0]),i=Math.PI/2+n-Math.atan2(e[3],e[2]);a=Math.sqrt(a)*Math.cos(i),t=Math.sqrt(t),this.skewX=i,this.skewY=0,this.rotation=-n,this.x=+e[4],this.y=+e[5],this.scaleX=t,this.scaleY=a,this.originX=0,this.originY=0}},r.prototype.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(Jr(Li,e.invTransform,t),t=Li);var a=this.originX,n=this.originY;(a||n)&&(Vv[4]=a,Vv[5]=n,Jr(Li,t,Vv),Li[4]-=a,Li[5]-=n,t=Li),this.setLocalTransform(t)}},r.prototype.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},r.prototype.transformCoordToLocal=function(e,t){var a=[e,t],n=this.invTransform;return n&&se(a,a,n),a},r.prototype.transformCoordToGlobal=function(e,t){var a=[e,t],n=this.transform;return n&&se(a,a,n),a},r.prototype.getLineScale=function(){var e=this.transform;return e&&Bv(e[0]-1)>1e-10&&Bv(e[3]-1)>1e-10?Math.sqrt(Bv(e[0]*e[3]-e[2]*e[1])):1},r.prototype.copyTransform=function(e){_0(this,e)},r.getLocalTransform=function(e,t){t=t||[];var a=e.originX||0,n=e.originY||0,i=e.scaleX,o=e.scaleY,s=e.anchorX,l=e.anchorY,u=e.rotation||0,f=e.x,h=e.y,v=e.skewX?Math.tan(e.skewX):0,c=e.skewY?Math.tan(-e.skewY):0;if(a||n||s||l){var p=a+s,d=n+l;t[4]=-p*i-v*d*o,t[5]=-d*o-c*p*i}else t[4]=t[5]=0;return t[0]=i,t[3]=o,t[1]=c*i,t[2]=v*o,u&&ln(t,t,u),t[4]+=a+f,t[5]+=n+h,t},r.initDefaultProps=function(){var e=r.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),r}(),Pr=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function _0(r,e){for(var t=0;t=0?parseFloat(r)/100*e:parseFloat(r):r}function iu(r,e,t){var a=e.position||"inside",n=e.distance!=null?e.distance:5,i=t.height,o=t.width,s=i/2,l=t.x,u=t.y,f="left",h="top";if(a instanceof Array)l+=cr(a[0],t.width),u+=cr(a[1],t.height),f=null,h=null;else switch(a){case"left":l-=n,u+=s,f="right",h="middle";break;case"right":l+=n+o,u+=s,h="middle";break;case"top":l+=o/2,u-=n,f="center",h="bottom";break;case"bottom":l+=o/2,u+=i+n,f="center";break;case"inside":l+=o/2,u+=s,f="center",h="middle";break;case"insideLeft":l+=n,u+=s,h="middle";break;case"insideRight":l+=o-n,u+=s,f="right",h="middle";break;case"insideTop":l+=o/2,u+=n,f="center";break;case"insideBottom":l+=o/2,u+=i-n,f="center",h="bottom";break;case"insideTopLeft":l+=n,u+=n;break;case"insideTopRight":l+=o-n,u+=n,f="right";break;case"insideBottomLeft":l+=n,u+=i-n,h="bottom";break;case"insideBottomRight":l+=o-n,u+=i-n,f="right",h="bottom";break}return r=r||{},r.x=l,r.y=u,r.align=f,r.verticalAlign=h,r}var zv="__zr_normal__",Gv=Pr.concat(["ignore"]),pP=Ar(Pr,function(r,e){return r[e]=!0,r},{ignore:!1}),Pi={},dP=new ht(0,0,0,0),Fv=function(){function r(e){this.id=gm(),this.animators=[],this.currentStates=[],this.states={},this._init(e)}return r.prototype._init=function(e){this.attr(e)},r.prototype.drift=function(e,t,a){switch(this.draggable){case"horizontal":t=0;break;case"vertical":e=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=e,n[5]+=t,this.decomposeTransform(),this.markRedraw()},r.prototype.beforeUpdate=function(){},r.prototype.afterUpdate=function(){},r.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},r.prototype.updateInnerText=function(e){var t=this._textContent;if(t&&(!t.ignore||e)){this.textConfig||(this.textConfig={});var a=this.textConfig,n=a.local,i=t.innerTransformable,o=void 0,s=void 0,l=!1;i.parent=n?this:null;var u=!1;if(i.copyTransform(t),a.position!=null){var f=dP;a.layoutRect?f.copy(a.layoutRect):f.copy(this.getBoundingRect()),n||f.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Pi,a,f):iu(Pi,a,f),i.x=Pi.x,i.y=Pi.y,o=Pi.align,s=Pi.verticalAlign;var h=a.origin;if(h&&a.rotation!=null){var v=void 0,c=void 0;h==="center"?(v=f.width*.5,c=f.height*.5):(v=cr(h[0],f.width),c=cr(h[1],f.height)),u=!0,i.originX=-i.x+v+(n?0:f.x),i.originY=-i.y+c+(n?0:f.y)}}a.rotation!=null&&(i.rotation=a.rotation);var p=a.offset;p&&(i.x+=p[0],i.y+=p[1],u||(i.originX=-p[0],i.originY=-p[1]));var d=a.inside==null?typeof a.position=="string"&&a.position.indexOf("inside")>=0:a.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),y=void 0,m=void 0,_=void 0;d&&this.canBeInsideText()?(y=a.insideFill,m=a.insideStroke,(y==null||y==="auto")&&(y=this.getInsideTextFill()),(m==null||m==="auto")&&(m=this.getInsideTextStroke(y),_=!0)):(y=a.outsideFill,m=a.outsideStroke,(y==null||y==="auto")&&(y=this.getOutsideFill()),(m==null||m==="auto")&&(m=this.getOutsideStroke(y),_=!0)),y=y||"#000",(y!==g.fill||m!==g.stroke||_!==g.autoStroke||o!==g.align||s!==g.verticalAlign)&&(l=!0,g.fill=y,g.stroke=m,g.autoStroke=_,g.align=o,g.verticalAlign=s,t.setDefaultTextStyle(g)),t.__dirty|=Ge,l&&t.dirtyStyle(!0)}},r.prototype.canBeInsideText=function(){return!0},r.prototype.getInsideTextFill=function(){return"#fff"},r.prototype.getInsideTextStroke=function(e){return"#000"},r.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Nv:Ov},r.prototype.getOutsideStroke=function(e){var t=this.__zr&&this.__zr.getBackgroundColor(),a=typeof t=="string"&&Le(t);a||(a=[255,255,255,1]);for(var n=a[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)a[o]=a[o]*n+(i?0:255)*(1-n);return a[3]=1,Ir(a,"rgba")},r.prototype.traverse=function(e,t){},r.prototype.attrKV=function(e,t){e==="textConfig"?this.setTextConfig(t):e==="textContent"?this.setTextContent(t):e==="clipPath"?this.setClipPath(t):e==="extra"?(this.extra=this.extra||{},V(this.extra,t)):this[e]=t},r.prototype.hide=function(){this.ignore=!0,this.markRedraw()},r.prototype.show=function(){this.ignore=!1,this.markRedraw()},r.prototype.attr=function(e,t){if(typeof e=="string")this.attrKV(e,t);else if(tt(e))for(var a=e,n=mt(a),i=0;i0},r.prototype.getState=function(e){return this.states[e]},r.prototype.ensureState=function(e){var t=this.states;return t[e]||(t[e]={}),t[e]},r.prototype.clearStates=function(e){this.useState(zv,!1,e)},r.prototype.useState=function(e,t,a,n){var i=e===zv,o=this.hasState();if(!(!o&&i)){var s=this.currentStates,l=this.stateTransition;if(!(vt(s,e)>=0&&(t||s.length===1))){var u;if(this.stateProxy&&!i&&(u=this.stateProxy(e)),u||(u=this.states&&this.states[e]),!u&&!i){Wh("State "+e+" not exists.");return}i||this.saveCurrentToNormalState(u);var f=!!(u&&u.hoverLayer||n);f&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,u,this._normalState,t,!a&&!this.__inHover&&l&&l.duration>0,l);var h=this._textContent,v=this._textGuide;return h&&h.useState(e,t,a,f),v&&v.useState(e,t,a,f),i?(this.currentStates=[],this._normalState={}):t?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Ge),u}}},r.prototype.useStates=function(e,t,a){if(!e.length)this.clearStates();else{var n=[],i=this.currentStates,o=e.length,s=o===i.length;if(s){for(var l=0;l0,p);var d=this._textContent,g=this._textGuide;d&&d.useStates(e,t,v),g&&g.useStates(e,t,v),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!v&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Ge)}},r.prototype._updateAnimationTargets=function(){for(var e=0;e=0){var a=this.currentStates.slice();a.splice(t,1),this.useStates(a)}},r.prototype.replaceState=function(e,t,a){var n=this.currentStates.slice(),i=vt(n,e),o=vt(n,t)>=0;i>=0?o?n.splice(i,1):n[i]=t:a&&!o&&n.push(t),this.useStates(n)},r.prototype.toggleState=function(e,t){t?this.useState(e,!0):this.removeState(e)},r.prototype._mergeStates=function(e){for(var t={},a,n=0;n=0&&i.splice(o,1)}),this.animators.push(e),a&&a.animation.addAnimator(e),a&&a.wakeUp()},r.prototype.updateDuringAnimation=function(e){this.markRedraw()},r.prototype.stopAnimation=function(e,t){for(var a=this.animators,n=a.length,i=[],o=0;o0&&t.during&&i[0].during(function(p,d){t.during(d)});for(var v=0;v0||n.force&&!o.length){var T=void 0,C=void 0,M=void 0;if(s){C={},v&&(T={});for(var S=0;S<_;S++){var y=d[S];C[y]=t[y],v?T[y]=a[y]:t[y]=a[y]}}else if(v){M={};for(var S=0;S<_;S++){var y=d[S];M[y]=Uo(t[y]),yP(t,a,y)}}var b=new Mv(t,!1,!1,h?It(p,function(L){return L.targetName===e}):null);b.targetName=e,n.scope&&(b.scope=n.scope),v&&T&&b.whenWithKeys(0,T,d),M&&b.whenWithKeys(0,M,d),b.whenWithKeys(u==null?500:u,s?C:a,d).delay(f||0),r.addAnimator(b,e),o.push(b)}}var w0=Fv,T0=function(r){Vt(e,r);function e(t){var a=r.call(this)||this;return a.isGroup=!0,a._children=[],a.attr(t),a}return e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var a=this._children,n=0;n=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,a){var n=vt(this._children,t);return n>=0&&this.replaceAt(a,n),this},e.prototype.replaceAt=function(t,a){var n=this._children,i=n[a];if(t&&t!==this&&t.parent!==this&&t!==i){n[a]=t,i.parent=null;var o=this.__zr;o&&i.removeSelfFromZr(o),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var a=this.__zr;a&&a!==t.__zr&&t.addSelfToZr(a),a&&a.refresh()},e.prototype.remove=function(t){var a=this.__zr,n=this._children,i=vt(n,t);return i<0?this:(n.splice(i,1),t.parent=null,a&&t.removeSelfFromZr(a),a&&a.refresh(),this)},e.prototype.removeAll=function(){for(var t=this._children,a=this.__zr,n=0;n0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},r.prototype.setSleepAfterStill=function(e){this._sleepAfterStill=e},r.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},r.prototype.refreshHover=function(){this._needsRefreshHover=!0},r.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover()},r.prototype.resize=function(e){e=e||{},this.painter.resize(e.width,e.height),this.handler.resize()},r.prototype.clearAnimation=function(){this.animation.clear()},r.prototype.getWidth=function(){return this.painter.getWidth()},r.prototype.getHeight=function(){return this.painter.getHeight()},r.prototype.setCursorStyle=function(e){this.handler.setCursorStyle(e)},r.prototype.findHover=function(e,t){return this.handler.findHover(e,t)},r.prototype.on=function(e,t,a){return this.handler.on(e,t,a),this},r.prototype.off=function(e,t){this.handler.off(e,t)},r.prototype.trigger=function(e,t){this.handler.trigger(e,t)},r.prototype.clear=function(){for(var e=this.storage.getRoots(),t=0;t0){if(r<=n)return o;if(r>=i)return s}else{if(r>=n)return o;if(r<=i)return s}else{if(r===n)return o;if(r===i)return s}return(r-n)/l*u+o}function H(r,e){switch(r){case"center":case"middle":r="50%";break;case"left":case"top":r="0%";break;case"right":case"bottom":r="100%";break}return U(r)?TP(r).match(/%$/)?parseFloat(r)/100*e:parseFloat(r):r==null?NaN:+r}function Ut(r,e,t){return e==null&&(e=10),e=Math.min(Math.max(0,e),M0),r=(+r).toFixed(e),t?r:+r}function qe(r){return r.sort(function(e,t){return e-t}),r}function Rr(r){if(r=+r,isNaN(r))return 0;if(r>1e-14){for(var e=1,t=0;t<15;t++,e*=10)if(Math.round(r*e)/e===r)return t}return CP(r)}function CP(r){var e=r.toString().toLowerCase(),t=e.indexOf("e"),a=t>0?+e.slice(t+1):0,n=t>0?t:e.length,i=e.indexOf("."),o=i<0?0:n-1-i;return Math.max(0,o-a)}function D0(r,e){var t=Math.log,a=Math.LN10,n=Math.floor(t(r[1]-r[0])/a),i=Math.round(t(Math.abs(e[1]-e[0]))/a),o=Math.min(Math.max(-n+i,0),20);return isFinite(o)?o:20}function pK(r,e,t){if(!r[e])return 0;var a=L0(r,t);return a[e]||0}function L0(r,e){var t=Ar(r,function(c,p){return c+(isNaN(p)?0:p)},0);if(t===0)return[];for(var a=Math.pow(10,e),n=G(r,function(c){return(isNaN(c)?0:c)/t*a*100}),i=a*100,o=G(n,function(c){return Math.floor(c)}),s=Ar(o,function(c,p){return c+p},0),l=G(n,function(c,p){return c-o[p]});su&&(u=l[h],f=h);++o[f],l[f]=0,++s}return G(o,function(c){return c/a})}function AP(r,e){var t=Math.max(Rr(r),Rr(e)),a=r+e;return t>M0?a:Ut(a,t)}var I0=9007199254740991;function P0(r){var e=Math.PI*2;return(r%e+e)%e}function su(r){return r>-A0&&r=10&&e++,e}function R0(r,e){var t=Uv(r),a=Math.pow(10,t),n=r/a,i;return e?n<1.5?i=1:n<2.5?i=2:n<4?i=3:n<7?i=5:i=10:n<1?i=1:n<2?i=2:n<3?i=3:n<5?i=5:i=10,r=i*a,t>=-20?+r.toFixed(t<0?-t:0):r}function Yv(r,e){var t=(r.length-1)*e+1,a=Math.floor(t),n=+r[a-1],i=t-a;return i?n+i*(r[a]-n):n}function E0(r){r.sort(function(l,u){return s(l,u,0)?-1:1});for(var e=-1/0,t=1,a=0;a=0||i&&vt(i,l)<0)){var u=a.getShallow(l,e);u!=null&&(o[r[s][0]]=u)}}return o}}var JP=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],$P=Sn(JP),tR=function(){function r(){}return r.prototype.getAreaStyle=function(e,t){return $P(this,e,t)},r}(),jv=new zo(50);function eR(r){if(typeof r=="string"){var e=jv.get(r);return e&&e.image}else return r}function Qv(r,e,t,a,n){if(r)if(typeof r=="string"){if(e&&e.__zrImageSrc===r||!t)return e;var i=jv.get(r),o={hostEl:t,cb:a,cbPayload:n};return i?(e=i.image,!uu(e)&&i.pending.push(o)):(e=ur.loadImage(r,q0,q0),e.__zrImageSrc=r,jv.put(r,e.__cachedImgObj={image:e,pending:[o]})),e}else return r;else return e}function q0(){var r=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=o;l++)s-=o;var u=Fe(t,e);return u>s&&(t="",u=0),s=r-u,n.ellipsis=t,n.ellipsisWidth=u,n.contentWidth=s,n.containerWidth=r,n}function Q0(r,e){var t=e.containerWidth,a=e.font,n=e.contentWidth;if(!t)return"";var i=Fe(r,a);if(i<=t)return r;for(var o=0;;o++){if(i<=n||o>=e.maxIterations){r+=e.ellipsis;break}var s=o===0?rR(r,n,e.ascCharWidth,e.cnCharWidth):i>0?Math.floor(r.length*n/i):0;r=r.substr(0,s),i=Fe(r,a)}return r===""&&(r=e.placeholder),r}function rR(r,e,t,a){for(var n=0,i=0,o=r.length;ic&&u){var p=Math.floor(c/s);h=h.slice(0,p)}if(r&&i&&f!=null)for(var d=j0(f,n,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),g=0;gs&&$v(t,r.substring(s,u),e,o),$v(t,l[2],e,o,l[1]),s=Jv.lastIndex}sn){b>0?(m.tokens=m.tokens.slice(0,b),g(m,S,_),t.lines=t.lines.slice(0,y+1)):t.lines=t.lines.slice(0,y);break t}var L=w.width,I=L==null||L==="auto";if(typeof L=="string"&&L.charAt(L.length-1)==="%")x.percentWidth=L,f.push(x),x.contentWidth=Fe(x.text,M);else{if(I){var P=w.backgroundColor,R=P&&P.image;R&&(R=eR(R),uu(R)&&(x.width=Math.max(x.width,R.width*D/R.height)))}var E=p&&a!=null?a-S:null;E!=null&&E0&&p+a.accumWidth>a.width&&(f=e.split(` +`),u=!0),a.accumWidth=p}else{var d=$0(e,l,a.width,a.breakAll,a.accumWidth);a.accumWidth=d.accumWidth+c,h=d.linesWidths,f=d.lines}}else f=e.split(` +`);for(var g=0;g=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}var lR=Ar(",&?/;] ".split(""),function(r,e){return r[e]=!0,r},{});function uR(r){return sR(r)?!!lR[r]:!0}function $0(r,e,t,a,n){for(var i=[],o=[],s="",l="",u=0,f=0,h=0;ht:n+f+c>t){f?(s||l)&&(p?(s||(s=l,l="",u=0,f=u),i.push(s),o.push(f-u),l+=v,u+=c,s="",f=u):(l&&(s+=l,l="",u=0),i.push(s),o.push(f),s=v,f=c)):p?(i.push(l),o.push(u),l=v,u=c):(i.push(v),o.push(c));continue}f+=c,p?(l+=v,u+=c):(l&&(s+=l,l="",u=0),s+=v)}return!i.length&&!s&&(s=r,l="",u=0),l&&(s+=l),s&&(i.push(s),o.push(f)),i.length===1&&(f+=n),{accumWidth:f,lines:i,linesWidths:o}}var tc="__zr_style_"+Math.round(Math.random()*10),xn={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},fu={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};xn[tc]=!0;var t_=["z","z2","invisible"],fR=["invisible"],hR=function(r){Vt(e,r);function e(t){return r.call(this,t)||this}return e.prototype._init=function(t){for(var a=mt(t),n=0;n1e-4){s[0]=r-t,s[1]=e-a,l[0]=r+t,l[1]=e+a;return}if(hu[0]=nc(n)*t+r,hu[1]=ac(n)*a+e,vu[0]=nc(i)*t+r,vu[1]=ac(i)*a+e,u(s,hu,vu),f(l,hu,vu),n=n%bn,n<0&&(n=n+bn),i=i%bn,i<0&&(i=i+bn),n>i&&!o?i+=bn:nn&&(cu[0]=nc(c)*t+r,cu[1]=ac(c)*a+e,u(s,cu,s),f(l,cu,l))}var Rt={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},wn=[],Tn=[],kr=[],La=[],Or=[],Nr=[],ic=Math.min,oc=Math.max,Cn=Math.cos,An=Math.sin,ra=Math.abs,sc=Math.PI,Ia=sc*2,lc=typeof Float32Array!="undefined",$o=[];function uc(r){var e=Math.round(r/sc*1e8)/1e8;return e%2*sc}function n_(r,e){var t=uc(r[0]);t<0&&(t+=Ia);var a=t-r[0],n=r[1];n+=a,!e&&n-t>=Ia?n=t+Ia:e&&t-n>=Ia?n=t-Ia:!e&&t>n?n=t+(Ia-uc(t-n)):e&&t0&&(this._ux=ra(a/au/e)||0,this._uy=ra(a/au/t)||0)},r.prototype.setDPR=function(e){this.dpr=e},r.prototype.setContext=function(e){this._ctx=e},r.prototype.getContext=function(){return this._ctx},r.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},r.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},r.prototype.moveTo=function(e,t){return this._drawPendingPt(),this.addData(Rt.M,e,t),this._ctx&&this._ctx.moveTo(e,t),this._x0=e,this._y0=t,this._xi=e,this._yi=t,this},r.prototype.lineTo=function(e,t){var a=ra(e-this._xi),n=ra(t-this._yi),i=a>this._ux||n>this._uy;if(this.addData(Rt.L,e,t),this._ctx&&i&&this._ctx.lineTo(e,t),i)this._xi=e,this._yi=t,this._pendingPtDist=0;else{var o=a*a+n*n;o>this._pendingPtDist&&(this._pendingPtX=e,this._pendingPtY=t,this._pendingPtDist=o)}return this},r.prototype.bezierCurveTo=function(e,t,a,n,i,o){return this._drawPendingPt(),this.addData(Rt.C,e,t,a,n,i,o),this._ctx&&this._ctx.bezierCurveTo(e,t,a,n,i,o),this._xi=i,this._yi=o,this},r.prototype.quadraticCurveTo=function(e,t,a,n){return this._drawPendingPt(),this.addData(Rt.Q,e,t,a,n),this._ctx&&this._ctx.quadraticCurveTo(e,t,a,n),this._xi=a,this._yi=n,this},r.prototype.arc=function(e,t,a,n,i,o){this._drawPendingPt(),$o[0]=n,$o[1]=i,n_($o,o),n=$o[0],i=$o[1];var s=i-n;return this.addData(Rt.A,e,t,a,a,n,s,0,o?0:1),this._ctx&&this._ctx.arc(e,t,a,n,i,o),this._xi=Cn(i)*a+e,this._yi=An(i)*a+t,this},r.prototype.arcTo=function(e,t,a,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(e,t,a,n,i),this},r.prototype.rect=function(e,t,a,n){return this._drawPendingPt(),this._ctx&&this._ctx.rect(e,t,a,n),this.addData(Rt.R,e,t,a,n),this},r.prototype.closePath=function(){this._drawPendingPt(),this.addData(Rt.Z);var e=this._ctx,t=this._x0,a=this._y0;return e&&e.closePath(),this._xi=t,this._yi=a,this},r.prototype.fill=function(e){e&&e.fill(),this.toStatic()},r.prototype.stroke=function(e){e&&e.stroke(),this.toStatic()},r.prototype.len=function(){return this._len},r.prototype.setData=function(e){var t=e.length;!(this.data&&this.data.length===t)&&lc&&(this.data=new Float32Array(t));for(var a=0;af.length&&(this._expandData(),f=this.data);for(var h=0;h0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},r.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var e=[],t=0;t11&&(this.data=new Float32Array(e)))}},r.prototype.getBoundingRect=function(){kr[0]=kr[1]=Or[0]=Or[1]=Number.MAX_VALUE,La[0]=La[1]=Nr[0]=Nr[1]=-Number.MAX_VALUE;var e=this.data,t=0,a=0,n=0,i=0,o;for(o=0;oa||ra(_)>n||v===t-1)&&(d=Math.sqrt(m*m+_*_),i=g,o=y);break}case Rt.C:{var S=e[v++],b=e[v++],g=e[v++],y=e[v++],x=e[v++],w=e[v++];d=R2(i,o,S,b,g,y,x,w,10),i=x,o=w;break}case Rt.Q:{var S=e[v++],b=e[v++],g=e[v++],y=e[v++];d=k2(i,o,S,b,g,y,10),i=g,o=y;break}case Rt.A:var T=e[v++],C=e[v++],M=e[v++],D=e[v++],L=e[v++],I=e[v++],P=I+L;v+=1;var R=!e[v++];p&&(s=Cn(L)*M+T,l=An(L)*D+C),d=oc(M,D)*ic(Ia,Math.abs(I)),i=Cn(P)*M+T,o=An(P)*D+C;break;case Rt.R:{s=i=e[v++],l=o=e[v++];var E=e[v++],N=e[v++];d=E*2+N*2;break}case Rt.Z:{var m=s-i,_=l-o;d=Math.sqrt(m*m+_*_),i=s,o=l;break}}d>=0&&(u[h++]=d,f+=d)}return this._pathLen=f,f},r.prototype.rebuildPath=function(e,t){var a=this.data,n=this._ux,i=this._uy,o=this._len,s,l,u,f,h,v,c=t<1,p,d,g=0,y=0,m,_=0,S,b;if(!(c&&(this._pathSegLen||this._calculateLength(),p=this._pathSegLen,d=this._pathLen,m=t*d,!m)))t:for(var x=0;x0&&(e.lineTo(S,b),_=0),w){case Rt.M:s=u=a[x++],l=f=a[x++],e.moveTo(u,f);break;case Rt.L:{h=a[x++],v=a[x++];var C=ra(h-u),M=ra(v-f);if(C>n||M>i){if(c){var D=p[y++];if(g+D>m){var L=(m-g)/D;e.lineTo(u*(1-L)+h*L,f*(1-L)+v*L);break t}g+=D}e.lineTo(h,v),u=h,f=v,_=0}else{var I=C*C+M*M;I>_&&(S=h,b=v,_=I)}break}case Rt.C:{var P=a[x++],R=a[x++],E=a[x++],N=a[x++],k=a[x++],B=a[x++];if(c){var D=p[y++];if(g+D>m){var L=(m-g)/D;Aa(u,P,E,k,L,wn),Aa(f,R,N,B,L,Tn),e.bezierCurveTo(wn[1],Tn[1],wn[2],Tn[2],wn[3],Tn[3]);break t}g+=D}e.bezierCurveTo(P,R,E,N,k,B),u=k,f=B;break}case Rt.Q:{var P=a[x++],R=a[x++],E=a[x++],N=a[x++];if(c){var D=p[y++];if(g+D>m){var L=(m-g)/D;Bo(u,P,E,L,wn),Bo(f,R,N,L,Tn),e.quadraticCurveTo(wn[1],Tn[1],wn[2],Tn[2]);break t}g+=D}e.quadraticCurveTo(P,R,E,N),u=E,f=N;break}case Rt.A:var F=a[x++],W=a[x++],q=a[x++],$=a[x++],Q=a[x++],pt=a[x++],_t=a[x++],dt=!a[x++],rt=q>$?q:$,gt=ra(q-$)>.001,st=Q+pt,K=!1;if(c){var D=p[y++];g+D>m&&(st=Q+pt*(m-g)/D,K=!0),g+=D}if(gt&&e.ellipse?e.ellipse(F,W,q,$,_t,Q,st,dt):e.arc(F,W,rt,Q,st,dt),K)break t;T&&(s=Cn(Q)*q+F,l=An(Q)*$+W),u=Cn(st)*q+F,f=An(st)*$+W;break;case Rt.R:s=u=a[x],l=f=a[x+1],h=a[x++],v=a[x++];var lt=a[x++],Gt=a[x++];if(c){var D=p[y++];if(g+D>m){var wt=m-g;e.moveTo(h,v),e.lineTo(h+ic(wt,lt),v),wt-=lt,wt>0&&e.lineTo(h+lt,v+ic(wt,Gt)),wt-=Gt,wt>0&&e.lineTo(h+oc(lt-wt,0),v+Gt),wt-=lt,wt>0&&e.lineTo(h,v+oc(Gt-wt,0));break t}g+=D}e.rect(h,v,lt,Gt);break;case Rt.Z:if(c){var D=p[y++];if(g+D>m){var L=(m-g)/D;e.lineTo(u*(1-L)+s*L,f*(1-L)+l*L);break t}g+=D}e.closePath(),u=s,f=l}}},r.prototype.clone=function(){var e=new r,t=this.data;return e.data=t.slice?t.slice():Array.prototype.slice.call(t),e._len=this._len,e},r.CMD=Rt,r.initDefaultProps=function(){var e=r.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),r}(),Vr=gR;function Pa(r,e,t,a,n,i,o){if(n===0)return!1;var s=n,l=0,u=r;if(o>e+s&&o>a+s||or+s&&i>t+s||ie+h&&f>a+h&&f>i+h&&f>s+h||fr+h&&u>t+h&&u>n+h&&u>o+h||ue+u&&l>a+u&&l>i+u||lr+u&&s>t+u&&s>n+u||st||f+un&&(n+=ts);var v=Math.atan2(l,s);return v<0&&(v+=ts),v>=a&&v<=n||v+ts>=a&&v+ts<=n}function aa(r,e,t,a,n,i){if(i>e&&i>a||in?s:0}var Ra=Vr.CMD,Mn=Math.PI*2,_R=1e-4;function SR(r,e){return Math.abs(r-e)<_R}var be=[-1,-1,-1],je=[-1,-1];function xR(){var r=je[0];je[0]=je[1],je[1]=r}function bR(r,e,t,a,n,i,o,s,l,u){if(u>e&&u>a&&u>i&&u>s||u1&&xR(),c=te(e,a,i,s,je[0]),v>1&&(p=te(e,a,i,s,je[1]))),v===2?ge&&s>a&&s>i||s=0&&u<=1){for(var f=0,h=ie(e,a,i,u),v=0;vt||s<-t)return 0;var l=Math.sqrt(t*t-s*s);be[0]=-l,be[1]=l;var u=Math.abs(a-n);if(u<1e-4)return 0;if(u>=Mn-1e-4){a=0,n=Mn;var f=i?1:-1;return o>=be[0]+r&&o<=be[1]+r?f:0}if(a>n){var h=a;a=n,n=h}a<0&&(a+=Mn,n+=Mn);for(var v=0,c=0;c<2;c++){var p=be[c];if(p+r>o){var d=Math.atan2(s,p),f=i?1:-1;d<0&&(d=Mn+d),(d>=a&&d<=n||d+Mn>=a&&d+Mn<=n)&&(d>Math.PI/2&&d1&&(t||(s+=aa(l,u,f,h,a,n))),g&&(l=i[p],u=i[p+1],f=l,h=u),d){case Ra.M:f=i[p++],h=i[p++],l=f,u=h;break;case Ra.L:if(t){if(Pa(l,u,i[p],i[p+1],e,a,n))return!0}else s+=aa(l,u,i[p],i[p+1],a,n)||0;l=i[p++],u=i[p++];break;case Ra.C:if(t){if(yR(l,u,i[p++],i[p++],i[p++],i[p++],i[p],i[p+1],e,a,n))return!0}else s+=bR(l,u,i[p++],i[p++],i[p++],i[p++],i[p],i[p+1],a,n)||0;l=i[p++],u=i[p++];break;case Ra.Q:if(t){if(i_(l,u,i[p++],i[p++],i[p],i[p+1],e,a,n))return!0}else s+=wR(l,u,i[p++],i[p++],i[p],i[p+1],a,n)||0;l=i[p++],u=i[p++];break;case Ra.A:var y=i[p++],m=i[p++],_=i[p++],S=i[p++],b=i[p++],x=i[p++];p+=1;var w=!!(1-i[p++]);v=Math.cos(b)*_+y,c=Math.sin(b)*S+m,g?(f=v,h=c):s+=aa(l,u,v,c,a,n);var T=(a-y)*S/_+y;if(t){if(mR(y,m,S,b,b+x,w,e,T,n))return!0}else s+=TR(y,m,S,b,b+x,w,T,n);l=Math.cos(b+x)*_+y,u=Math.sin(b+x)*S+m;break;case Ra.R:f=l=i[p++],h=u=i[p++];var C=i[p++],M=i[p++];if(v=f+C,c=h+M,t){if(Pa(f,h,v,h,e,a,n)||Pa(v,h,v,c,e,a,n)||Pa(v,c,f,c,e,a,n)||Pa(f,c,f,h,e,a,n))return!0}else s+=aa(v,h,v,c,a,n),s+=aa(f,c,f,h,a,n);break;case Ra.Z:if(t){if(Pa(l,u,f,h,e,a,n))return!0}else s+=aa(l,u,f,h,a,n);l=f,u=h;break}}return!t&&!SR(u,h)&&(s+=aa(l,u,f,h,a,n)||0),s!==0}function CR(r,e,t){return s_(r,0,!1,e,t)}function AR(r,e,t,a){return s_(r,e,!0,t,a)}var du=J({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},xn),MR={style:J({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},fu.style)},fc=Pr.concat(["invisible","culling","z","z2","zlevel","parent"]),DR=function(r){Vt(e,r);function e(t){return r.call(this,t)||this}return e.prototype.update=function(){var t=this;r.prototype.update.call(this);var a=this.style;if(a.decal){var n=this._decalEl=this._decalEl||new e;n.buildPath===e.prototype.buildPath&&(n.buildPath=function(l){t.buildPath(l,t.shape)}),n.silent=!0;var i=n.style;for(var o in a)i[o]!==a[o]&&(i[o]=a[o]);i.fill=a.fill?a.decal:null,i.decal=null,i.shadowColor=null,a.strokeFirst&&(i.stroke=null);for(var s=0;s.5?Ov:a>.2?vP:Nv}else if(t)return Nv}return Ov},e.prototype.getInsideTextStroke=function(t){var a=this.style.fill;if(U(a)){var n=this.__zr,i=!!(n&&n.isDarkMode()),o=ql(t,0)0))},e.prototype.hasFill=function(){var t=this.style,a=t.fill;return a!=null&&a!=="none"},e.prototype.getBoundingRect=function(){var t=this._rect,a=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var o=this.path;(i||this.__dirty&Ci)&&(o.beginPath(),this.buildPath(o,this.shape,!1),this.pathUpdated()),t=o.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var s=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){s.copy(t);var l=a.strokeNoScale?this.getLineScale():1,u=a.lineWidth;if(!this.hasFill()){var f=this.strokeContainThreshold;u=Math.max(u,f==null?4:f)}l>1e-10&&(s.width+=u/l,s.height+=u/l,s.x-=u/l/2,s.y-=u/l/2)}return s}return t},e.prototype.contain=function(t,a){var n=this.transformCoordToLocal(t,a),i=this.getBoundingRect(),o=this.style;if(t=n[0],a=n[1],i.contain(t,a)){var s=this.path;if(this.hasStroke()){var l=o.lineWidth,u=o.strokeNoScale?this.getLineScale():1;if(u>1e-10&&(this.hasFill()||(l=Math.max(l,this.strokeContainThreshold)),AR(s,l/u,t,a)))return!0}if(this.hasFill())return CR(s,t,a)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=Ci,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){t==="style"?this.dirtyStyle():t==="shape"?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(t,a){t==="shape"?this.setShape(a):r.prototype.attrKV.call(this,t,a)},e.prototype.setShape=function(t,a){var n=this.shape;return n||(n=this.shape={}),typeof t=="string"?n[t]=a:V(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&Ci)},e.prototype.createStyle=function(t){return Rl(du,t)},e.prototype._innerSaveToNormal=function(t){r.prototype._innerSaveToNormal.call(this,t);var a=this._normalState;t.shape&&!a.shape&&(a.shape=V({},this.shape))},e.prototype._applyStateObj=function(t,a,n,i,o,s){r.prototype._applyStateObj.call(this,t,a,n,i,o,s);var l=!(a&&i),u;if(a&&a.shape?o?i?u=a.shape:(u=V({},n.shape),V(u,a.shape)):(u=V({},i?this.shape:n.shape),V(u,a.shape)):l&&(u=n.shape),u)if(o){this.shape=V({},this.shape);for(var f={},h=mt(u),v=0;v0},e.prototype.hasFill=function(){var t=this.style,a=t.fill;return a!=null&&a!=="none"},e.prototype.createStyle=function(t){return Rl(LR,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var a=t.text;a!=null?a+="":a="";var n=Xo(a,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=function(){var t=e.prototype;t.dirtyRectTolerance=10}(),e}(Ke);l_.prototype.type="tspan";var es=l_,IR=J({x:0,y:0},xn),PR={style:J({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},fu.style)};function RR(r){return!!(r&&typeof r!="string"&&r.width&&r.height)}var u_=function(r){Vt(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.createStyle=function(t){return Rl(IR,t)},e.prototype._getSize=function(t){var a=this.style,n=a[t];if(n!=null)return n;var i=RR(a.image)?a.image:this.__image;if(!i)return 0;var o=t==="width"?"height":"width",s=a[o];return s==null?i[t]:i[t]/i[o]*s},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return PR},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new ht(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(Ke);u_.prototype.type="image";var le=u_;function ER(r,e){var t=e.x,a=e.y,n=e.width,i=e.height,o=e.r,s,l,u,f;n<0&&(t=t+n,n=-n),i<0&&(a=a+i,i=-i),typeof o=="number"?s=l=u=f=o:o instanceof Array?o.length===1?s=l=u=f=o[0]:o.length===2?(s=u=o[0],l=f=o[1]):o.length===3?(s=o[0],l=f=o[1],u=o[2]):(s=o[0],l=o[1],u=o[2],f=o[3]):s=l=u=f=0;var h;s+l>n&&(h=s+l,s*=n/h,l*=n/h),u+f>n&&(h=u+f,u*=n/h,f*=n/h),l+u>i&&(h=l+u,l*=i/h,u*=i/h),s+f>i&&(h=s+f,s*=i/h,f*=i/h),r.moveTo(t+s,a),r.lineTo(t+n-l,a),l!==0&&r.arc(t+n-l,a+l,l,-Math.PI/2,0),r.lineTo(t+n,a+i-u),u!==0&&r.arc(t+n-u,a+i-u,u,0,Math.PI/2),r.lineTo(t+f,a+i),f!==0&&r.arc(t+f,a+i-f,f,Math.PI/2,Math.PI),r.lineTo(t,a+s),s!==0&&r.arc(t+s,a+s,s,Math.PI,Math.PI*1.5)}var Ei=Math.round;function f_(r,e,t){if(e){var a=e.x1,n=e.x2,i=e.y1,o=e.y2;r.x1=a,r.x2=n,r.y1=i,r.y2=o;var s=t&&t.lineWidth;return s&&(Ei(a*2)===Ei(n*2)&&(r.x1=r.x2=Dn(a,s,!0)),Ei(i*2)===Ei(o*2)&&(r.y1=r.y2=Dn(i,s,!0))),r}}function h_(r,e,t){if(e){var a=e.x,n=e.y,i=e.width,o=e.height;r.x=a,r.y=n,r.width=i,r.height=o;var s=t&&t.lineWidth;return s&&(r.x=Dn(a,s,!0),r.y=Dn(n,s,!0),r.width=Math.max(Dn(a+i,s,!1)-r.x,i===0?0:1),r.height=Math.max(Dn(n+o,s,!1)-r.y,o===0?0:1)),r}}function Dn(r,e,t){if(!e)return r;var a=Ei(r*2);return(a+Ei(e))%2===0?a/2:(a+(t?1:-1))/2}var kR=function(){function r(){this.x=0,this.y=0,this.width=0,this.height=0}return r}(),OR={},v_=function(r){Vt(e,r);function e(t){return r.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new kR},e.prototype.buildPath=function(t,a){var n,i,o,s;if(this.subPixelOptimize){var l=h_(OR,a,this.style);n=l.x,i=l.y,o=l.width,s=l.height,l.r=a.r,a=l}else n=a.x,i=a.y,o=a.width,s=a.height;a.r?ER(t,a):t.rect(n,i,o,s)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(yt);v_.prototype.type="rect";var xt=v_,c_={fill:"#000"},p_=2,NR={style:J({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},fu.style)},d_=function(r){Vt(e,r);function e(t){var a=r.call(this)||this;return a.type="text",a._children=[],a._defaultStyle=c_,a.attr(t),a}return e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){r.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var t=0;t0,L=t.width!=null&&(t.overflow==="truncate"||t.overflow==="break"||t.overflow==="breakAll"),I=o.calculatedLineHeight,P=0;P=0&&(P=x[I],P.align==="right");)this._placeToken(P,t,T,y,L,"right",_),C-=P.width,L-=P.width,I--;for(D+=(i-(D-g)-(m-L)-C)/2;M<=I;)P=x[M],this._placeToken(P,t,T,y,D+P.width/2,"center",_),D+=P.width,M++;y+=T}},e.prototype._placeToken=function(t,a,n,i,o,s,l){var u=a.rich[t.styleName]||{};u.text=t.text;var f=t.verticalAlign,h=i+n/2;f==="top"?h=i+t.height/2:f==="bottom"&&(h=i+n-t.height/2);var v=!t.isLineHolder&&hc(u);v&&this._renderBackground(u,a,s==="right"?o-t.width:s==="center"?o-t.width/2:o,h-t.height/2,t.width,t.height);var c=!!u.backgroundColor,p=t.textPadding;p&&(o=w_(o,s,p),h-=t.height/2-p[0]-t.innerHeight/2);var d=this._getOrCreateChild(es),g=d.createStyle();d.useStyle(g);var y=this._defaultStyle,m=!1,_=0,S=b_("fill"in u?u.fill:"fill"in a?a.fill:(m=!0,y.fill)),b=x_("stroke"in u?u.stroke:"stroke"in a?a.stroke:!c&&!l&&(!y.autoStroke||m)?(_=p_,y.stroke):null),x=u.textShadowBlur>0||a.textShadowBlur>0;g.text=t.text,g.x=o,g.y=h,x&&(g.shadowBlur=u.textShadowBlur||a.textShadowBlur||0,g.shadowColor=u.textShadowColor||a.textShadowColor||"transparent",g.shadowOffsetX=u.textShadowOffsetX||a.textShadowOffsetX||0,g.shadowOffsetY=u.textShadowOffsetY||a.textShadowOffsetY||0),g.textAlign=s,g.textBaseline="middle",g.font=t.font||Sa,g.opacity=Mr(u.opacity,a.opacity,1),m_(g,u),b&&(g.lineWidth=Mr(u.lineWidth,a.lineWidth,_),g.lineDash=ft(u.lineDash,a.lineDash),g.lineDashOffset=a.lineDashOffset||0,g.stroke=b),S&&(g.fill=S);var w=t.contentWidth,T=t.contentHeight;d.setBoundingRect(new ht(qo(g.x,w,g.textAlign),Ii(g.y,T,g.textBaseline),w,T))},e.prototype._renderBackground=function(t,a,n,i,o,s){var l=t.backgroundColor,u=t.borderWidth,f=t.borderColor,h=l&&l.image,v=l&&!h,c=t.borderRadius,p=this,d,g;if(v||t.lineHeight||u&&f){d=this._getOrCreateChild(xt),d.useStyle(d.createStyle()),d.style.fill=null;var y=d.shape;y.x=n,y.y=i,y.width=o,y.height=s,y.r=c,d.dirtyShape()}if(v){var m=d.style;m.fill=l||null,m.fillOpacity=ft(t.fillOpacity,1)}else if(h){g=this._getOrCreateChild(le),g.onload=function(){p.dirtyStyle()};var _=g.style;_.image=l.image,_.x=n,_.y=i,_.width=o,_.height=s}if(u&&f){var m=d.style;m.lineWidth=u,m.stroke=f,m.strokeOpacity=ft(t.strokeOpacity,1),m.lineDash=t.borderDash,m.lineDashOffset=t.borderDashOffset||0,d.strokeContainThreshold=0,d.hasFill()&&d.hasStroke()&&(m.strokeFirst=!0,m.lineWidth*=2)}var S=(d||g).style;S.shadowBlur=t.shadowBlur||0,S.shadowColor=t.shadowColor||"transparent",S.shadowOffsetX=t.shadowOffsetX||0,S.shadowOffsetY=t.shadowOffsetY||0,S.opacity=Mr(t.opacity,a.opacity,1)},e.makeFont=function(t){var a="";return __(t)&&(a=[t.fontStyle,t.fontWeight,y_(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),a&&fr(a)||t.textFont||t.font},e}(Ke),VR={left:!0,right:1,center:1},BR={top:1,bottom:1,middle:1},g_=["fontStyle","fontWeight","fontSize","fontFamily"];function y_(r){return typeof r=="string"&&(r.indexOf("px")!==-1||r.indexOf("rem")!==-1||r.indexOf("em")!==-1)?r:isNaN(+r)?Gh+"px":r+"px"}function m_(r,e){for(var t=0;t=0,i=!1;if(r instanceof yt){var o=M_(r),s=n&&o.selectFill||o.normalFill,l=n&&o.selectStroke||o.normalStroke;if(Oi(s)||Oi(l)){a=a||{};var u=a.style||{};u.fill==="inherit"?(i=!0,a=V({},a),u=V({},u),u.fill=s):!Oi(u.fill)&&Oi(s)?(i=!0,a=V({},a),u=V({},u),u.fill=L_(s)):!Oi(u.stroke)&&Oi(l)&&(i||(a=V({},a),u=V({},u)),u.stroke=L_(l)),a.style=u}}if(a&&a.z2==null){i||(a=V({},a));var f=r.z2EmphasisLift;a.z2=r.z2+(f!=null?f:ki)}return a}function YR(r,e,t){if(t&&t.z2==null){t=V({},t);var a=r.z2SelectLift;t.z2=r.z2+(a!=null?a:GR)}return t}function ZR(r,e,t){var a=vt(r.currentStates,e)>=0,n=r.style.opacity,i=a?null:WR(r,["opacity"],e,{opacity:1});t=t||{};var o=t.style||{};return o.opacity==null&&(t=V({},t),o=V({opacity:a?n:i.opacity*.1},o),t.style=o),t}function gc(r,e){var t=this.states[r];if(this.style){if(r==="emphasis")return UR(this,r,e,t);if(r==="blur")return ZR(this,r,t);if(r==="select")return YR(this,r,t)}return t}function In(r){r.stateProxy=gc;var e=r.getTextContent(),t=r.getTextGuideLine();e&&(e.stateProxy=gc),t&&(t.stateProxy=gc)}function k_(r,e){!z_(r,e)&&!r.__highByOuter&&na(r,I_)}function O_(r,e){!z_(r,e)&&!r.__highByOuter&&na(r,P_)}function ia(r,e){r.__highByOuter|=1<<(e||0),na(r,I_)}function oa(r,e){!(r.__highByOuter&=~(1<<(e||0)))&&na(r,P_)}function N_(r){na(r,dc)}function yc(r){na(r,R_)}function V_(r){na(r,FR)}function B_(r){na(r,HR)}function z_(r,e){return r.__highDownSilentOnTouch&&e.zrByTouch}function G_(r){var e=r.getModel(),t=[],a=[];e.eachComponent(function(n,i){var o=cc(i),s=n==="series",l=s?r.getViewOfSeriesModel(i):r.getViewOfComponentModel(i);!s&&a.push(l),o.isBlured&&(l.group.traverse(function(u){R_(u)}),s&&t.push(i)),o.isBlured=!1}),A(a,function(n){n&&n.toggleBlurSeries&&n.toggleBlurSeries(t,!1,e)})}function mc(r,e,t,a){var n=a.getModel();t=t||"coordinateSystem";function i(u,f){for(var h=0;h0){var l={dataIndex:s,seriesIndex:t.seriesIndex};o!=null&&(l.dataType=o),e.push(l)}})}),e}function Pn(r,e,t){Rn(r,!0),na(r,In),xc(r,e,t)}function JR(r){Rn(r,!1)}function Ft(r,e,t,a){a?JR(r):Pn(r,e,t)}function xc(r,e,t){var a=nt(r);e!=null?(a.focus=e,a.blurScope=t):a.focus&&(a.focus=null)}var H_=["emphasis","blur","select"],$R={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function ue(r,e,t,a){t=t||"itemStyle";for(var n=0;n0){var h=f.duration,v=f.delay,c=f.easing,p={duration:h,delay:v||0,easing:c,done:i,force:!!i||!!o,setToFinal:!u,scope:r,during:o};s?e.animateFrom(t,p):e.animateTo(t,p)}else e.stopAnimation(),!s&&e.attr(t),o&&o(1),i&&i()}function Mt(r,e,t,a,n,i){wc("update",r,e,t,a,n,i)}function Bt(r,e,t,a,n,i){wc("enter",r,e,t,a,n,i)}function Vi(r){if(!r.__zr)return!0;for(var e=0;e=0&&s.push(l)}),s}}function ka(r,e){return ut(ut({},r,!0),e,!0)}var gE={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"}},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:". "}}}},yE={time:{month:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],monthAbbr:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],dayOfWeek:["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],dayOfWeekAbbr:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},legend:{selector:{all:"\u5168\u9009",inverse:"\u53CD\u9009"}},toolbox:{brush:{title:{rect:"\u77E9\u5F62\u9009\u62E9",polygon:"\u5708\u9009",lineX:"\u6A2A\u5411\u9009\u62E9",lineY:"\u7EB5\u5411\u9009\u62E9",keep:"\u4FDD\u6301\u9009\u62E9",clear:"\u6E05\u9664\u9009\u62E9"}},dataView:{title:"\u6570\u636E\u89C6\u56FE",lang:["\u6570\u636E\u89C6\u56FE","\u5173\u95ED","\u5237\u65B0"]},dataZoom:{title:{zoom:"\u533A\u57DF\u7F29\u653E",back:"\u533A\u57DF\u7F29\u653E\u8FD8\u539F"}},magicType:{title:{line:"\u5207\u6362\u4E3A\u6298\u7EBF\u56FE",bar:"\u5207\u6362\u4E3A\u67F1\u72B6\u56FE",stack:"\u5207\u6362\u4E3A\u5806\u53E0",tiled:"\u5207\u6362\u4E3A\u5E73\u94FA"}},restore:{title:"\u8FD8\u539F"},saveAsImage:{title:"\u4FDD\u5B58\u4E3A\u56FE\u7247",lang:["\u53F3\u952E\u53E6\u5B58\u4E3A\u56FE\u7247"]}},series:{typeNames:{pie:"\u997C\u56FE",bar:"\u67F1\u72B6\u56FE",line:"\u6298\u7EBF\u56FE",scatter:"\u6563\u70B9\u56FE",effectScatter:"\u6D9F\u6F2A\u6563\u70B9\u56FE",radar:"\u96F7\u8FBE\u56FE",tree:"\u6811\u56FE",treemap:"\u77E9\u5F62\u6811\u56FE",boxplot:"\u7BB1\u578B\u56FE",candlestick:"K\u7EBF\u56FE",k:"K\u7EBF\u56FE",heatmap:"\u70ED\u529B\u56FE",map:"\u5730\u56FE",parallel:"\u5E73\u884C\u5750\u6807\u56FE",lines:"\u7EBF\u56FE",graph:"\u5173\u7CFB\u56FE",sankey:"\u6851\u57FA\u56FE",funnel:"\u6F0F\u6597\u56FE",gauge:"\u4EEA\u8868\u76D8\u56FE",pictorialBar:"\u8C61\u5F62\u67F1\u56FE",themeRiver:"\u4E3B\u9898\u6CB3\u6D41\u56FE",sunburst:"\u65ED\u65E5\u56FE"}},aria:{general:{withTitle:"\u8FD9\u662F\u4E00\u4E2A\u5173\u4E8E\u201C{title}\u201D\u7684\u56FE\u8868\u3002",withoutTitle:"\u8FD9\u662F\u4E00\u4E2A\u56FE\u8868\uFF0C"},series:{single:{prefix:"",withName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\uFF0C\u8868\u793A{seriesName}\u3002",withoutName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\u3002"},multiple:{prefix:"\u5B83\u7531{seriesCount}\u4E2A\u56FE\u8868\u7CFB\u5217\u7EC4\u6210\u3002",withName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A\u8868\u793A{seriesName}\u7684{seriesType}\uFF0C",withoutName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A{seriesType}\uFF0C",separator:{middle:"\uFF1B",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636E\u662F\u2014\u2014",partialData:"\u5176\u4E2D\uFF0C\u524D{displayCnt}\u9879\u662F\u2014\u2014",withName:"{name}\u7684\u6570\u636E\u662F{value}",withoutName:"{value}",separator:{middle:"\uFF0C",end:""}}}},wu="ZH",Mc="EN",ls=Mc,Tu={},Dc={},rS=Tt.domSupported?function(){var r=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return r.indexOf(wu)>-1?wu:ls}():ls;function aS(r,e){r=r.toUpperCase(),Dc[r]=new kt(e),Tu[r]=e}function mE(r){if(U(r)){var e=Tu[r.toUpperCase()]||{};return r===wu||r===Mc?et(e):ut(et(e),et(Tu[ls]),!1)}else return ut(et(r),et(Tu[ls]),!1)}function Lc(r){return Dc[r]}function _E(){return Dc[ls]}aS(Mc,gE),aS(wu,yE);var Ic=1e3,Pc=Ic*60,us=Pc*60,Qe=us*24,nS=Qe*365,fs={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}"},Cu="{yyyy}-{MM}-{dd}",iS={year:"{yyyy}",month:"{yyyy}-{MM}",day:Cu,hour:Cu+" "+fs.hour,minute:Cu+" "+fs.minute,second:Cu+" "+fs.second,millisecond:fs.none},Rc=["year","month","day","hour","minute","second","millisecond"],oS=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Te(r,e){return r+="","0000".substr(0,e-r.length)+r}function Gi(r){switch(r){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return r}}function SE(r){return r===Gi(r)}function xE(r){switch(r){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function Au(r,e,t,a){var n=pr(r),i=n[Ec(t)](),o=n[Fi(t)]()+1,s=Math.floor((o-1)/3)+1,l=n[Mu(t)](),u=n["get"+(t?"UTC":"")+"Day"](),f=n[hs(t)](),h=(f-1)%12+1,v=n[Du(t)](),c=n[Lu(t)](),p=n[Iu(t)](),d=a instanceof kt?a:Lc(a||rS)||_E(),g=d.getModel("time"),y=g.get("month"),m=g.get("monthAbbr"),_=g.get("dayOfWeek"),S=g.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,i+"").replace(/{yy}/g,Te(i%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,y[o-1]).replace(/{MMM}/g,m[o-1]).replace(/{MM}/g,Te(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,Te(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,_[u]).replace(/{ee}/g,S[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Te(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,Te(h+"",2)).replace(/{h}/g,h+"").replace(/{mm}/g,Te(v,2)).replace(/{m}/g,v+"").replace(/{ss}/g,Te(c,2)).replace(/{s}/g,c+"").replace(/{SSS}/g,Te(p,3)).replace(/{S}/g,p+"")}function bE(r,e,t,a,n){var i=null;if(U(t))i=t;else if(j(t))i=t(r.value,e,{level:r.level});else{var o=V({},fs);if(r.level>0)for(var s=0;s=0;--s)if(l[u]){i=l[u];break}i=i||o.none}if(z(i)){var h=r.level==null?0:r.level>=0?r.level:i.length+r.level;h=Math.min(h,i.length-1),i=i[h]}}return Au(new Date(r.value),i,n,a)}function sS(r,e){var t=pr(r),a=t[Fi(e)]()+1,n=t[Mu(e)](),i=t[hs(e)](),o=t[Du(e)](),s=t[Lu(e)](),l=t[Iu(e)](),u=l===0,f=u&&s===0,h=f&&o===0,v=h&&i===0,c=v&&n===1,p=c&&a===1;return p?"year":c?"month":v?"day":h?"hour":f?"minute":u?"second":"millisecond"}function lS(r,e,t){var a=Ct(r)?pr(r):r;switch(e=e||sS(r,t),e){case"year":return a[Ec(t)]();case"half-year":return a[Fi(t)]()>=6?1:0;case"quarter":return Math.floor((a[Fi(t)]()+1)/4);case"month":return a[Fi(t)]();case"day":return a[Mu(t)]();case"half-day":return a[hs(t)]()/24;case"hour":return a[hs(t)]();case"minute":return a[Du(t)]();case"second":return a[Lu(t)]();case"millisecond":return a[Iu(t)]()}}function Ec(r){return r?"getUTCFullYear":"getFullYear"}function Fi(r){return r?"getUTCMonth":"getMonth"}function Mu(r){return r?"getUTCDate":"getDate"}function hs(r){return r?"getUTCHours":"getHours"}function Du(r){return r?"getUTCMinutes":"getMinutes"}function Lu(r){return r?"getUTCSeconds":"getSeconds"}function Iu(r){return r?"getUTCMilliseconds":"getMilliseconds"}function wE(r){return r?"setUTCFullYear":"setFullYear"}function uS(r){return r?"setUTCMonth":"setMonth"}function fS(r){return r?"setUTCDate":"setDate"}function hS(r){return r?"setUTCHours":"setHours"}function vS(r){return r?"setUTCMinutes":"setMinutes"}function cS(r){return r?"setUTCSeconds":"setSeconds"}function pS(r){return r?"setUTCMilliseconds":"setMilliseconds"}function kc(r){if(!k0(r))return U(r)?r:"-";var e=(r+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function Oc(r,e){return r=(r||"").toLowerCase().replace(/-(.)/g,function(t,a){return a.toUpperCase()}),e&&r&&(r=r.charAt(0).toUpperCase()+r.slice(1)),r}var kn=Xh;function Nc(r,e,t){var a="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function n(f){return f&&fr(f)?f:"-"}function i(f){return!!(f!=null&&!isNaN(f)&&isFinite(f))}var o=e==="time",s=r instanceof Date;if(o||s){var l=o?pr(r):r;if(isNaN(+l)){if(s)return"-"}else return Au(l,a,t)}if(e==="ordinal")return Yh(r)?n(r):Ct(r)&&i(r)?r+"":"-";var u=ea(r);return i(u)?kc(u):Yh(r)?n(r):typeof r=="boolean"?r+"":"-"}var dS=["a","b","c","d","e","f","g"],Vc=function(r,e){return"{"+r+(e==null?"":e)+"}"};function Bc(r,e,t){z(e)||(e=[e]);var a=e.length;if(!a)return"";for(var n=e[0].$vars||[],i=0;i':'';var o=t.markerId||"markerX";return{renderMode:i,content:"{"+o+"|} ",style:n==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:a}:{width:10,height:10,borderRadius:5,backgroundColor:a}}}function CE(r,e,t){(r==="week"||r==="month"||r==="quarter"||r==="half-year"||r==="year")&&(r=`MM-dd +yyyy`);var a=pr(e),n=t?"getUTC":"get",i=a[n+"FullYear"](),o=a[n+"Month"]()+1,s=a[n+"Date"](),l=a[n+"Hours"](),u=a[n+"Minutes"](),f=a[n+"Seconds"](),h=a[n+"Milliseconds"]();return r=r.replace("MM",Te(o,2)).replace("M",o).replace("yyyy",i).replace("yy",Te(i%100+"",2)).replace("dd",Te(s,2)).replace("d",s).replace("hh",Te(l,2)).replace("h",l).replace("mm",Te(u,2)).replace("m",u).replace("ss",Te(f,2)).replace("s",f).replace("SSS",Te(h,3)),r}function AE(r){return r&&r.charAt(0).toUpperCase()+r.substr(1)}function On(r,e){return e=e||"transparent",U(r)?r:tt(r)&&r.colorStops&&(r.colorStops[0]||{}).color||e}function Pu(r,e){if(e==="_blank"||e==="blank"){var t=window.open();t.opener=null,t.location.href=r}else window.open(r,e)}var Ru=A,yS=["left","right","top","bottom","width","height"],Nn=[["width","left","right"],["height","top","bottom"]];function zc(r,e,t,a,n){var i=0,o=0;a==null&&(a=1/0),n==null&&(n=1/0);var s=0;e.eachChild(function(l,u){var f=l.getBoundingRect(),h=e.childAt(u+1),v=h&&h.getBoundingRect(),c,p;if(r==="horizontal"){var d=f.width+(v?-v.x+f.x:0);c=i+d,c>a||l.newline?(i=0,c=d,o+=s+t,s=f.height):s=Math.max(s,f.height)}else{var g=f.height+(v?-v.y+f.y:0);p=o+g,p>n||l.newline?(i+=s+t,o=0,p=g,s=f.width):s=Math.max(s,f.width)}l.newline||(l.x=i,l.y=o,l.markRedraw(),r==="horizontal"?i=c+t:o=p+t)})}var Vn=zc,mK=it(zc,"vertical"),_K=it(zc,"horizontal");function ME(r,e,t){var a=e.width,n=e.height,i=H(r.left,a),o=H(r.top,n),s=H(r.right,a),l=H(r.bottom,n);return(isNaN(i)||isNaN(parseFloat(r.left)))&&(i=0),(isNaN(s)||isNaN(parseFloat(r.right)))&&(s=a),(isNaN(o)||isNaN(parseFloat(r.top)))&&(o=0),(isNaN(l)||isNaN(parseFloat(r.bottom)))&&(l=n),t=kn(t||0),{width:Math.max(s-i-t[1]-t[3],0),height:Math.max(l-o-t[0]-t[2],0)}}function $t(r,e,t){t=kn(t||0);var a=e.width,n=e.height,i=H(r.left,a),o=H(r.top,n),s=H(r.right,a),l=H(r.bottom,n),u=H(r.width,a),f=H(r.height,n),h=t[2]+t[0],v=t[1]+t[3],c=r.aspect;switch(isNaN(u)&&(u=a-s-v-i),isNaN(f)&&(f=n-l-h-o),c!=null&&(isNaN(u)&&isNaN(f)&&(c>a/n?u=a*.8:f=n*.8),isNaN(u)&&(u=c*f),isNaN(f)&&(f=u/c)),isNaN(i)&&(i=a-s-u-v),isNaN(o)&&(o=n-l-f-h),r.left||r.right){case"center":i=a/2-u/2-t[3];break;case"right":i=a-u-v;break}switch(r.top||r.bottom){case"middle":case"center":o=n/2-f/2-t[0];break;case"bottom":o=n-f-h;break}i=i||0,o=o||0,isNaN(u)&&(u=a-v-i-(s||0)),isNaN(f)&&(f=n-h-o-(l||0));var p=new ht(i+t[3],o+t[0],u,f);return p.margin=t,p}function Eu(r,e,t,a,n,i){var o=!n||!n.hv||n.hv[0],s=!n||!n.hv||n.hv[1],l=n&&n.boundingMode||"all";if(i=i||r,i.x=r.x,i.y=r.y,!o&&!s)return!1;var u;if(l==="raw")u=r.type==="group"?new ht(0,0,+e.width||0,+e.height||0):r.getBoundingRect();else if(u=r.getBoundingRect(),r.needLocalTransform()){var f=r.getLocalTransform();u=u.clone(),u.applyTransform(f)}var h=$t(J({width:u.width,height:u.height},e),t,a),v=o?h.x-u.x:0,c=s?h.y-u.y:0;return l==="raw"?(i.x=v,i.y=c):(i.x+=v,i.y+=c),i===r&&r.markRedraw(),!0}function DE(r,e){return r[Nn[e][0]]!=null||r[Nn[e][1]]!=null&&r[Nn[e][2]]!=null}function vs(r){var e=r.layoutMode||r.constructor.layoutMode;return tt(e)?e:e?{type:e}:null}function Oa(r,e,t){var a=t&&t.ignoreSize;!z(a)&&(a=[a,a]);var n=o(Nn[0],0),i=o(Nn[1],1);u(Nn[0],r,n),u(Nn[1],r,i);function o(f,h){var v={},c=0,p={},d=0,g=2;if(Ru(f,function(_){p[_]=r[_]}),Ru(f,function(_){s(e,_)&&(v[_]=p[_]=e[_]),l(v,_)&&c++,l(p,_)&&d++}),a[h])return l(e,f[1])?p[f[2]]=null:l(e,f[2])&&(p[f[1]]=null),p;if(d===g||!c)return p;if(c>=g)return v;for(var y=0;y=0;l--)s=ut(s,n[l],!0);a.defaultOption=s}return a.defaultOption},e.prototype.getReferringComponents=function(t,a){var n=t+"Index",i=t+"Id";return Jo(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},a)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(kt);X0(Wi,kt),lu(Wi),pE(Wi),dE(Wi,IE);function IE(r){var e=[];return A(Wi.getClassesByMainType(r),function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])}),e=G(e,function(t){return Er(t).main}),r!=="dataset"&&vt(e,"dataset")<=0&&e.unshift("dataset"),e}var At=Wi,_S="";typeof navigator!="undefined"&&(_S=navigator.platform||"");var Ui="rgba(0, 0, 0, 0.2)",PE={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Ui,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Ui,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Ui,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Ui,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Ui,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Ui,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:_S.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},SS=X(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),Je="original",pe="arrayRows",$e="objectRows",Br="keyedColumns",sa="typedArray",xS="unknown",zr="column",Yi="row",he={Must:1,Might:2,Not:3},bS=St();function RE(r){bS(r).datasetMap=X()}function wS(r,e,t){var a={},n=Fc(e);if(!n||!r)return a;var i=[],o=[],s=e.ecModel,l=bS(s).datasetMap,u=n.uid+"_"+t.seriesLayoutBy,f,h;r=r.slice(),A(r,function(d,g){var y=tt(d)?d:r[g]={name:d};y.type==="ordinal"&&f==null&&(f=g,h=p(y)),a[y.name]=[]});var v=l.get(u)||l.set(u,{categoryWayDim:h,valueWayDim:0});A(r,function(d,g){var y=d.name,m=p(d);if(f==null){var _=v.valueWayDim;c(a[y],_,m),c(o,_,m),v.valueWayDim+=m}else if(f===g)c(a[y],0,m),c(i,0,m);else{var _=v.categoryWayDim;c(a[y],_,m),c(o,_,m),v.categoryWayDim+=m}});function c(d,g,y){for(var m=0;me)return r[a];return r[t-1]}function MS(r,e,t,a,n,i,o){i=i||r;var s=e(i),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(n))return u[n];var f=o==null||!a?t:VE(a,o);if(f=f||t,!(!f||!f.length)){var h=f[l];return n&&(u[n]=h),s.paletteIdx=(l+1)%f.length,h}}function BE(r,e){e(r).paletteIdx=0,e(r).paletteNameMap={}}var ku,cs,DS,LS="\0_ec_inner",zE=1,GE={grid:"GridComponent",polar:"PolarComponent",geo:"GeoComponent",singleAxis:"SingleAxisComponent",parallel:"ParallelComponent",calendar:"CalendarComponent",graphic:"GraphicComponent",toolbox:"ToolboxComponent",tooltip:"TooltipComponent",axisPointer:"AxisPointerComponent",brush:"BrushComponent",title:"TitleComponent",timeline:"TimelineComponent",markPoint:"MarkPointComponent",markLine:"MarkLineComponent",markArea:"MarkAreaComponent",legend:"LegendComponent",dataZoom:"DataZoomComponent",visualMap:"VisualMapComponent",xAxis:"GridComponent",yAxis:"GridComponent",angleAxis:"PolarComponent",radiusAxis:"PolarComponent"},SK={line:"LineChart",bar:"BarChart",pie:"PieChart",scatter:"ScatterChart",radar:"RadarChart",map:"MapChart",tree:"TreeChart",treemap:"TreemapChart",graph:"GraphChart",gauge:"GaugeChart",funnel:"FunnelChart",parallel:"ParallelChart",sankey:"SankeyChart",boxplot:"BoxplotChart",candlestick:"CandlestickChart",effectScatter:"EffectScatterChart",lines:"LinesChart",heatmap:"HeatmapChart",pictorialBar:"PictorialBarChart",themeRiver:"ThemeRiverChart",sunburst:"SunburstChart",custom:"CustomChart"},IS={};function xK(r){each(r,function(e,t){if(!ComponentModel.hasClass(t)){var a=GE[t];a&&!IS[a]&&(error("Component "+t+` is used but not imported. +import { `+a+` } from 'echarts/components'; +echarts.use([`+a+"]);"),IS[a]=!0)}})}var PS=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.init=function(t,a,n,i,o,s){i=i||{},this.option=null,this._theme=new kt(i),this._locale=new kt(o),this._optionManager=s},e.prototype.setOption=function(t,a,n){var i=kS(a);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,a){return this._resetOption(t,kS(a))},e.prototype._resetOption=function(t,a){var n=!1,i=this._optionManager;if(!t||t==="recreate"){var o=i.mountOption(t==="recreate");!this.option||t==="recreate"?DS(this,o):(this.restoreData(),this._mergeOption(o,a)),n=!0}if((t==="timeline"||t==="media")&&this.restoreData(),!t||t==="recreate"||t==="timeline"){var s=i.getTimelineOption(this);s&&(n=!0,this._mergeOption(s,a))}if(!t||t==="recreate"||t==="media"){var l=i.getMediaOption(this);l.length&&A(l,function(u){n=!0,this._mergeOption(u,a)},this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,a){var n=this.option,i=this._componentsMap,o=this._componentsCount,s=[],l=X(),u=a&&a.replaceMergeMainTypeMap;RE(this),A(t,function(h,v){h!=null&&(At.hasClass(v)?v&&(s.push(v),l.set(v,!0)):n[v]=n[v]==null?et(h):ut(n[v],h,!0))}),u&&u.each(function(h,v){At.hasClass(v)&&!l.get(v)&&(s.push(v),l.set(v,!0))}),At.topologicalTravel(s,At.getAllClassMainTypes(),f,this);function f(h){var v=OE(this,h,Pt(t[h])),c=i.get(h),p=c?u&&u.get(h)?"replaceMerge":"normalMerge":"replaceAll",d=H0(c,v,p);VP(d,h,At),n[h]=null,i.set(h,null),o.set(h,0);var g=[],y=[],m=0,_,S;A(d,function(b,x){var w=b.existing,T=b.newOption;if(!T)w&&(w.mergeOption({},this),w.optionUpdated({},!1));else{var C=h==="series",M=At.getClass(h,b.keyInfo.subType,!C);if(!M){if(!1)var D,L;return}if(h==="tooltip"){if(_)return;_=!0}if(w&&w.constructor===M)w.name=b.keyInfo.name,w.mergeOption(T,this),w.optionUpdated(T,!1);else{var I=V({componentIndex:x},b.keyInfo);w=new M(T,this,this,I),V(w,I),b.brandNew&&(w.__requireNewView=!0),w.init(T,this,this),w.optionUpdated(null,!0)}}w?(g.push(w.option),y.push(w),m++):(g.push(void 0),y.push(void 0))},this),n[h]=g,i.set(h,y),o.set(h,m),h==="series"&&ku(this)}this._seriesIndices||ku(this)},e.prototype.getOption=function(){var t=et(this.option);return A(t,function(a,n){if(At.hasClass(n)){for(var i=Pt(a),o=i.length,s=!1,l=o-1;l>=0;l--)i[l]&&!jo(i[l])?s=!0:(i[l]=null,!s&&o--);i.length=o,t[n]=i}}),delete t[LS],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,a){var n=this._componentsMap.get(t);if(n){var i=n[a||0];if(i)return i;if(a==null){for(var o=0;o=e:t==="max"?r<=e:r===e}function QE(r,e){return r.join(",")===e.join(",")}var JE=XE,yr=A,ds=tt,VS=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Zc(r){var e=r&&r.itemStyle;if(e)for(var t=0,a=VS.length;t=0;g--){var y=r[g];if(s||(p=y.data.rawIndexOf(y.stackedByDimension,c)),p>=0){var m=y.data.getByRawIndex(y.stackResultDimension,p);if(l==="all"||l==="positive"&&m>0||l==="negative"&&m<0||l==="samesign"&&v>=0&&m>0||l==="samesign"&&v<=0&&m<0){v=AP(v,m),d=m;break}}}return a[0]=v,a[1]=d,a})})}var Ou=function(){function r(e){this.data=e.data||(e.sourceFormat===Br?{}:[]),this.sourceFormat=e.sourceFormat||xS,this.seriesLayoutBy=e.seriesLayoutBy||zr,this.startIndex=e.startIndex||0,this.dimensionsDetectedCount=e.dimensionsDetectedCount,this.metaRawOption=e.metaRawOption;var t=this.dimensionsDefine=e.dimensionsDefine;if(t)for(var a=0;ad&&(d=_)}c[0]=p,c[1]=d}},n=function(){return this._data?this._data.length/this._dimSize:0};qS=(e={},e[pe+"_"+zr]={pure:!0,appendData:i},e[pe+"_"+Yi]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},e[$e]={pure:!0,appendData:i},e[Br]={pure:!0,appendData:function(o){var s=this._data;A(o,function(l,u){for(var f=s[u]||(s[u]=[]),h=0;h<(l||[]).length;h++)f.push(l[h])})}},e[Je]={appendData:i},e[sa]={persistent:!1,pure:!0,appendData:function(o){this._data=o},clean:function(){this._offset+=this.count(),this._data=null}},e);function i(o){for(var s=0;s=0&&(d=o.interpolatedValue[g])}return d!=null?d+"":""})}},r.prototype.getRawValue=function(e,t){return Zi(this.getData(t),e)},r.prototype.formatTooltip=function(e,t,a){},r}();function r1(r){var e,t;return tt(r)?r.type&&(t=r):e=r,{text:e,frag:t}}function ms(r){return new dk(r)}var dk=function(){function r(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}return r.prototype.perform=function(e){var t=this._upstream,a=e&&e.skip;if(this._dirty&&t){var n=this.context;n.data=n.outputData=t.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var i;this._plan&&!a&&(i=this._plan(this.context));var o=f(this._modBy),s=this._modDataCount||0,l=f(e&&e.modBy),u=e&&e.modDataCount||0;(o!==l||s!==u)&&(i="reset");function f(m){return!(m>=1)&&(m=1),m}var h;(this._dirty||i==="reset")&&(this._dirty=!1,h=this._doReset(a)),this._modBy=l,this._modDataCount=u;var v=e&&e.step;if(t?this._dueEnd=t._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var c=this._dueIndex,p=Math.min(v!=null?this._dueIndex+v:1/0,this._dueEnd);if(!a&&(h||c1&&a>0?s:o}};return i;function o(){return e=r?null:le},gte:function(r,e){return r>=e}},Sk=function(){function r(e,t){if(!Ct(t)){var a="";Dt(a)}this._opFn=o1[e],this._rvalFloat=ea(t)}return r.prototype.evaluate=function(e){return Ct(e)?this._opFn(e,this._rvalFloat):this._opFn(ea(e),this._rvalFloat)},r}(),s1=function(){function r(e,t){var a=e==="desc";this._resultLT=a?1:-1,t==null&&(t=a?"min":"max"),this._incomparable=t==="min"?-1/0:1/0}return r.prototype.evaluate=function(e,t){var a=Ct(e)?e:ea(e),n=Ct(t)?t:ea(t),i=isNaN(a),o=isNaN(n);if(i&&(a=this._incomparable),o&&(n=this._incomparable),i&&o){var s=U(e),l=U(t);s&&(a=l?e:0),l&&(n=s?t:0)}return an?-this._resultLT:0},r}(),xk=function(){function r(e,t){this._rval=t,this._isEQ=e,this._rvalTypeof=typeof t,this._rvalFloat=ea(t)}return r.prototype.evaluate=function(e){var t=e===this._rval;if(!t){var a=typeof e;a!==this._rvalTypeof&&(a==="number"||this._rvalTypeof==="number")&&(t=ea(e)===this._rvalFloat)}return this._isEQ?t:!t},r}();function bk(r,e){return r==="eq"||r==="ne"?new xk(r==="eq",e):Z(o1,r)?new Sk(r,e):null}var wk=function(){function r(){}return r.prototype.getRawData=function(){throw new Error("not supported")},r.prototype.getRawDataItem=function(e){throw new Error("not supported")},r.prototype.cloneRawData=function(){},r.prototype.getDimensionInfo=function(e){},r.prototype.cloneAllDimensionInfo=function(){},r.prototype.count=function(){},r.prototype.retrieveValue=function(e,t){},r.prototype.retrieveValueFromItem=function(e,t){},r.prototype.convertValue=function(e,t){return Na(e,t)},r}();function Tk(r,e){var t=new wk,a=r.data,n=t.sourceFormat=r.sourceFormat,i=r.startIndex,o="";r.seriesLayoutBy!==zr&&Dt(o);var s=[],l={},u=r.dimensionsDefine;if(u)A(u,function(d,g){var y=d.name,m={index:g,name:y,displayName:d.displayName};if(s.push(m),y!=null){var _="";Z(l,y)&&Dt(_),l[y]=m}});else for(var f=0;f65535?Rk:Ek}function Xi(){return[1/0,-1/0]}function kk(r){var e=r.constructor;return e===Array?r.slice():new e(r)}function v1(r,e,t,a,n){var i=h1[t||"float"];if(n){var o=r[e],s=o&&o.length;if(s!==a){for(var l=new i(a),u=0;ug[1]&&(g[1]=d)}return this._rawCount=this._count=l,{start:s,end:l}},r.prototype._initDataFromProvider=function(e,t,a){for(var n=this._provider,i=this._chunks,o=this._dimensions,s=o.length,l=this._rawExtent,u=G(o,function(m){return m.property}),f=0;fy[1]&&(y[1]=g)}}!n.persistent&&n.clean&&n.clean(),this._rawCount=this._count=t,this._extent=[]},r.prototype.count=function(){return this._count},r.prototype.get=function(e,t){if(!(t>=0&&t=0&&t=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,a=t[e];if(a!=null&&ae)i=o-1;else return o}return-1},r.prototype.indicesOfNearest=function(e,t,a){var n=this._chunks,i=n[e],o=[];if(!i)return o;a==null&&(a=1/0);for(var s=1/0,l=-1,u=0,f=0,h=this.count();f=0&&l<0)&&(s=p,l=c,u=0),c===l&&(o[u++]=f))}return o.length=u,o},r.prototype.getIndices=function(){var e,t=this._indices;if(t){var a=t.constructor,n=this._count;if(a===Array){e=new a(n);for(var i=0;i=h&&m<=v||isNaN(m))&&(l[u++]=d),d++}p=!0}else if(i===2){for(var g=c[n[0]],_=c[n[1]],S=e[n[1]][0],b=e[n[1]][1],y=0;y=h&&m<=v||isNaN(m))&&(x>=S&&x<=b||isNaN(x))&&(l[u++]=d),d++}p=!0}}if(!p)if(i===1)for(var y=0;y=h&&m<=v||isNaN(m))&&(l[u++]=w)}else for(var y=0;ye[M][1])&&(T=!1)}T&&(l[u++]=t.getRawIndex(y))}return uy[1]&&(y[1]=g)}}}},r.prototype.lttbDownSample=function(e,t){var a=this.clone([e],!0),n=a._chunks,i=n[e],o=this.count(),s=0,l=Math.floor(1/t),u=this.getRawIndex(0),f,h,v,c=new(_s(this._rawCount))(Math.min((Math.ceil(o/l)+2)*2,o));c[s++]=u;for(var p=1;pf&&(f=h,v=S)}D>0&&Df-p&&(l=f-p,s.length=l);for(var d=0;dh[1]&&(h[1]=y),v[c++]=m}return i._count=c,i._indices=v,i._updateGetRawIdx(),i},r.prototype.each=function(e,t){if(this._count)for(var a=e.length,n=this._chunks,i=0,o=this.count();il&&(l=h)}return o=[s,l],this._extent[e]=o,o},r.prototype.getRawDataItem=function(e){var t=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(t);for(var a=[],n=this._chunks,i=0;i=0?this._indices[e]:-1},r.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},r.internalField=function(){function e(t,a,n,i){return Na(t[i],this._dimensions[i])}rp={arrayRows:e,objectRows:function(t,a,n,i){return Na(t[a],this._dimensions[i])},keyedColumns:e,original:function(t,a,n,i){var o=t&&(t.value==null?t:t.value);return Na(o instanceof Array?o[i]:o,this._dimensions[i])},typedArray:function(t,a,n,i){return t[i]}}}(),r}(),ap=Ok,c1=function(){function r(e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=e}return r.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},r.prototype._setLocalSource=function(e,t){this._sourceList=e,this._upstreamSignList=t,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},r.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},r.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},r.prototype._createSource=function(){this._setLocalSource([],[]);var e=this._sourceHost,t=this._getUpstreamSourceManagers(),a=!!t.length,n,i;if(Vu(e)){var o=e,s=void 0,l=void 0,u=void 0;if(a){var f=t[0];f.prepareSource(),u=f.getSource(),s=u.data,l=u.sourceFormat,i=[f._getVersionSign()]}else s=o.get("data",!0),l=ze(s)?sa:Je,i=[];var h=this._getSourceMetaRawOption()||{},v=u&&u.metaRawOption||{},c=ft(h.seriesLayoutBy,v.seriesLayoutBy)||null,p=ft(h.sourceHeader,v.sourceHeader),d=ft(h.dimensions,v.dimensions),g=c!==v.seriesLayoutBy||!!p!=!!v.sourceHeader||d;n=g?[Kc(s,{seriesLayoutBy:c,sourceHeader:p,dimensions:d},l)]:[]}else{var y=e;if(a){var m=this._applyTransform(t);n=m.sourceList,i=m.upstreamSignList}else{var _=y.get("source",!0);n=[Kc(_,this._getSourceMetaRawOption(),null)],i=[]}}this._setLocalSource(n,i)},r.prototype._applyTransform=function(e){var t=this._sourceHost,a=t.get("transform",!0),n=t.get("fromTransformResult",!0);if(n!=null){var i="";e.length!==1&&d1(i)}var o,s=[],l=[];return A(e,function(u){u.prepareSource();var f=u.getSource(n||0),h="";n!=null&&!f&&d1(h),s.push(f),l.push(u._getVersionSign())}),a?o=Ik(a,s,{datasetIndex:t.componentIndex}):n!=null&&(o=[lk(s[0])]),{sourceList:o,upstreamSignList:l}},r.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),t=0;t1||t>0&&!r.noHeader;return A(r.blocks,function(n){var i=_1(n);i>=e&&(e=i+ +(a&&(!i||np(n)&&!n.noHeader)))}),e}return 0}function Bk(r,e,t,a){var n=e.noHeader,i=Gk(_1(e)),o=[],s=e.blocks||[];_e(!s||z(s)),s=s||[];var l=r.orderMode;if(e.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(Z(u,l)){var f=new s1(u[l],null);s.sort(function(p,d){return f.evaluate(p.sortParam,d.sortParam)})}else l==="seriesDesc"&&s.reverse()}A(s,function(p,d){var g=e.valueFormatter,y=m1(p)(g?V(V({},r),{valueFormatter:g}):r,p,d>0?i.html:0,a);y!=null&&o.push(y)});var h=r.renderMode==="richText"?o.join(i.richText):ip(o.join(""),n?t:i.html);if(n)return h;var v=Nc(e.header,"ordinal",r.useUTC),c=y1(a,r.renderMode).nameStyle;return r.renderMode==="richText"?x1(r,v,c)+i.richText+h:ip('
'+xe(v)+"
"+h,t)}function zk(r,e,t,a){var n=r.renderMode,i=e.noName,o=e.noValue,s=!e.markerType,l=e.name,u=r.useUTC,f=e.valueFormatter||r.valueFormatter||function(S){return S=z(S)?S:[S],G(S,function(b,x){return Nc(b,z(c)?c[x]:c,u)})};if(!(i&&o)){var h=s?"":r.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",n),v=i?"":Nc(l,"ordinal",u),c=e.valueType,p=o?[]:f(e.value),d=!s||!i,g=!s&&i,y=y1(a,n),m=y.nameStyle,_=y.valueStyle;return n==="richText"?(s?"":h)+(i?"":x1(r,v,m))+(o?"":Wk(r,p,d,g,_)):ip((s?"":h)+(i?"":Fk(v,!s,m))+(o?"":Hk(p,d,g,_)),t)}}function S1(r,e,t,a,n,i){if(r){var o=m1(r),s={useUTC:n,renderMode:t,orderMode:a,markupStyleCreator:e,valueFormatter:r.valueFormatter};return o(s,r,0,i)}}function Gk(r){return{html:Nk[r],richText:Vk[r]}}function ip(r,e){var t='
',a="margin: "+e+"px 0 0";return'
'+r+t+"
"}function Fk(r,e,t){var a=e?"margin-left:2px":"";return''+xe(r)+""}function Hk(r,e,t,a){var n=t?"10px":"20px",i=e?"float:right;margin-left:"+n:"";return r=z(r)?r:[r],''+G(r,function(o){return xe(o)}).join("  ")+""}function x1(r,e,t){return r.markupStyleCreator.wrapRichTextStyle(e,t)}function Wk(r,e,t,a,n){var i=[n],o=a?10:20;return t&&i.push({padding:[0,0,0,o],align:"right"}),r.markupStyleCreator.wrapRichTextStyle(z(e)?e.join(" "):e,i)}function b1(r,e){var t=r.getData().getItemVisual(e,"style"),a=t[r.visualDrawType];return On(a)}function w1(r,e){var t=r.get("padding");return t!=null?t:e==="richText"?[8,10]:10}var op=function(){function r(){this.richTextStyles={},this._nextStyleNameId=O0()}return r.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},r.prototype.makeTooltipMarker=function(e,t,a){var n=a==="richText"?this._generateStyleName():null,i=gS({color:t,type:e,renderMode:a,markerId:n});return U(i)?i:(this.richTextStyles[n]=i.style,i.content)},r.prototype.wrapRichTextStyle=function(e,t){var a={};z(t)?A(t,function(i){return V(a,i)}):V(a,t);var n=this._generateStyleName();return this.richTextStyles[n]=a,"{"+n+"|"+e+"}"},r}();function T1(r){var e=r.series,t=r.dataIndex,a=r.multipleSeries,n=e.getData(),i=n.mapDimensionsAll("defaultedTooltip"),o=i.length,s=e.getRawValue(t),l=z(s),u=b1(e,t),f,h,v,c;if(o>1||l&&!o){var p=Uk(s,e,t,i,u);f=p.inlineValues,h=p.inlineValueTypes,v=p.blocks,c=p.inlineValues[0]}else if(o){var d=n.getDimensionInfo(i[0]);c=f=Zi(n,t,i[0]),h=d.type}else c=f=l?s[0]:s;var g=Zv(e),y=g&&e.name||"",m=n.getName(t),_=a?y:m;return re("section",{header:y,noHeader:a||!g,sortParam:c,blocks:[re("nameValue",{markerType:"item",markerColor:u,name:_,noName:!fr(_),value:f,valueType:h})].concat(v||[])})}function Uk(r,e,t,a,n){var i=e.getData(),o=Ar(r,function(h,v,c){var p=i.getDimensionInfo(c);return h=h||p&&p.tooltip!==!1&&p.displayName!=null},!1),s=[],l=[],u=[];a.length?A(a,function(h){f(Zi(i,t,h),h)}):A(r,f);function f(h,v){var c=i.getDimensionInfo(v);!c||c.otherDims.tooltip===!1||(o?u.push(re("nameValue",{markerType:"subItem",markerColor:n,name:c.displayName,value:h,valueType:c.type})):(s.push(h),l.push(c.type)))}return{inlineValues:s,inlineValueTypes:l,blocks:u}}var Va=St();function Bu(r,e){return r.getName(e)||r.getId(e)}var zu="__universalTransitionEnabled",Gu=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t._selectedDataIndicesMap={},t}return e.prototype.init=function(t,a,n){this.seriesIndex=this.componentIndex,this.dataTask=ms({count:Zk,reset:Xk}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n);var i=Va(this).sourceManager=new c1(this);i.prepareSource();var o=this.getInitialData(t,n);A1(o,this),this.dataTask.context.data=o,Va(this).dataBeforeProcessed=o,C1(this),this._initSelectedMapFromData(o)},e.prototype.mergeDefaultAndTheme=function(t,a){var n=vs(this),i=n?Hi(t):{},o=this.subType;At.hasClass(o)&&(o+="Series"),ut(t,a.getTheme().get(this.subType)),ut(t,this.getDefaultOption()),yn(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Oa(t,i,n)},e.prototype.mergeOption=function(t,a){t=ut(this.option,t,!0),this.fillDataTextStyle(t.data);var n=vs(this);n&&Oa(this.option,t,n);var i=Va(this).sourceManager;i.dirty(),i.prepareSource();var o=this.getInitialData(t,a);A1(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,Va(this).dataBeforeProcessed=o,C1(this),this._initSelectedMapFromData(o)},e.prototype.fillDataTextStyle=function(t){if(t&&!ze(t))for(var a=["show"],n=0;nthis.getShallow("animationThreshold")&&(a=!1),!!a},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,a,n){var i=this.ecModel,o=Wc.prototype.getColorFromPalette.call(this,t,a,n);return o||(o=i.getColorFromPalette(t,a,n)),o},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,a){this._innerSelect(this.getData(a),t)},e.prototype.unselect=function(t,a){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,o=this.getData(a);if(i==="series"||n==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var s=0;s=0&&n.push(o)}return n},e.prototype.isSelected=function(t,a){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(a);return(n==="all"||n[Bu(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[zu])return!0;var t=this.option.universalTransition;return t?t===!0?!0:t&&t.enabled:!1},e.prototype._innerSelect=function(t,a){var n,i,o=this.option,s=o.selectedMode,l=a.length;if(!(!s||!l)){if(s==="series")o.selectedMap="all";else if(s==="multiple"){tt(o.selectedMap)||(o.selectedMap={});for(var u=o.selectedMap,f=0;f0&&this._innerSelect(t,a)}},e.registerClass=function(t){return At.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(At);qt(Gu,$c),qt(Gu,Wc),X0(Gu,At);function C1(r){var e=r.name;Zv(r)||(r.name=Yk(r)||e)}function Yk(r){var e=r.getRawData(),t=e.mapDimensionsAll("seriesName"),a=[];return A(t,function(n){var i=e.getDimensionInfo(n);i.displayName&&a.push(i.displayName)}),a.join(" ")}function Zk(r){return r.model.getRawData().count()}function Xk(r){var e=r.model;return e.setData(e.getRawData().cloneShallow()),qk}function qk(r,e){e.outputData&&r.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function A1(r,e){A(Pl(r.CHANGABLE_METHODS,r.DOWNSAMPLE_METHODS),function(t){r.wrapMethod(t,it(Kk,e))})}function Kk(r,e){var t=sp(r);return t&&t.setOutputEnd((e||this).count()),e}function sp(r){var e=(r.ecModel||{}).scheduler,t=e&&e.getPipeline(r.uid);if(t){var a=t.currentTask;if(a){var n=a.agentStubMap;n&&(a=n.get(r.uid))}return a}}var zt=Gu,lp=function(){function r(){this.group=new at,this.uid=zi("viewComponent")}return r.prototype.init=function(e,t){},r.prototype.render=function(e,t,a,n){},r.prototype.dispose=function(e,t){},r.prototype.updateView=function(e,t,a,n){},r.prototype.updateLayout=function(e,t,a,n){},r.prototype.updateVisual=function(e,t,a,n){},r.prototype.toggleBlurSeries=function(e,t,a){},r.prototype.eachRendered=function(e){var t=this.group;t&&t.traverse(e)},r}();Kv(lp),lu(lp);var Ht=lp;function qi(){var r=St();return function(e){var t=r(e),a=e.pipelineContext,n=!!t.large,i=!!t.progressiveRender,o=t.large=!!(a&&a.large),s=t.progressiveRender=!!(a&&a.progressiveRender);return(n!==o||i!==s)&&"reset"}}var Ki=Vr.CMD,jk=[[],[],[]],M1=Math.sqrt,Qk=Math.atan2;function D1(r,e){if(e){var t=r.data,a=r.len(),n,i,o,s,l,u,f=Ki.M,h=Ki.C,v=Ki.L,c=Ki.R,p=Ki.A,d=Ki.Q;for(o=0,s=0;o1&&(o*=up(p),s*=up(p));var d=(n===i?-1:1)*up((o*o*(s*s)-o*o*(c*c)-s*s*(v*v))/(o*o*(c*c)+s*s*(v*v)))||0,g=d*o*c/s,y=d*-s*v/o,m=(r+t)/2+Hu(h)*g-Fu(h)*y,_=(e+a)/2+Fu(h)*g+Hu(h)*y,S=I1([1,0],[(v-g)/o,(c-y)/s]),b=[(v-g)/o,(c-y)/s],x=[(-1*v-g)/o,(-1*c-y)/s],w=I1(b,x);if(fp(b,x)<=-1&&(w=Ss),fp(b,x)>=1&&(w=0),w<0){var T=Math.round(w/Ss*1e6)/1e6;w=Ss*2+T%2*Ss}f.addData(u,m,_,o,s,S,w,h,i)}var Jk=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,$k=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function tO(r){var e=new Vr;if(!r)return e;var t=0,a=0,n=t,i=a,o,s=Vr.CMD,l=r.match(Jk);if(!l)return e;for(var u=0;uP*P+R*R&&(T=M,C=D),{cx:T,cy:C,x0:-f,y0:-h,x1:T*(n/b-1),y1:C*(n/b-1)}}function sO(r){var e;if(z(r)){var t=r.length;if(!t)return r;t===1?e=[r[0],r[0],0,0]:t===2?e=[r[0],r[0],r[1],r[1]]:t===3?e=r.concat(r[2]):e=r}else e=[r,r,r,r];return e}function lO(r,e){var t,a=bs(e.r,0),n=bs(e.r0||0,0),i=a>0,o=n>0;if(!(!i&&!o)){if(i||(a=n,n=0),n>a){var s=a;a=n,n=s}var l=e.startAngle,u=e.endAngle;if(!(isNaN(l)||isNaN(u))){var f=e.cx,h=e.cy,v=!!e.clockwise,c=z1(u-l),p=c>cp&&c%cp;if(p>mr&&(c=p),!(a>mr))r.moveTo(f,h);else if(c>cp-mr)r.moveTo(f+a*ji(l),h+a*Fn(l)),r.arc(f,h,a,l,u,!v),n>mr&&(r.moveTo(f+n*ji(u),h+n*Fn(u)),r.arc(f,h,n,u,l,v));else{var d=void 0,g=void 0,y=void 0,m=void 0,_=void 0,S=void 0,b=void 0,x=void 0,w=void 0,T=void 0,C=void 0,M=void 0,D=void 0,L=void 0,I=void 0,P=void 0,R=a*ji(l),E=a*Fn(l),N=n*ji(u),k=n*Fn(u),B=c>mr;if(B){var F=e.cornerRadius;F&&(t=sO(F),d=t[0],g=t[1],y=t[2],m=t[3]);var W=z1(a-n)/2;if(_=Fr(W,y),S=Fr(W,m),b=Fr(W,d),x=Fr(W,g),C=w=bs(_,S),M=T=bs(b,x),(w>mr||T>mr)&&(D=a*ji(u),L=a*Fn(u),I=n*ji(l),P=n*Fn(l),cmr){var gt=Fr(y,C),st=Fr(m,C),K=Wu(I,P,R,E,a,gt,v),lt=Wu(D,L,N,k,a,st,v);r.moveTo(f+K.cx+K.x0,h+K.cy+K.y0),C0&&r.arc(f+K.cx,h+K.cy,gt,ge(K.y0,K.x0),ge(K.y1,K.x1),!v),r.arc(f,h,a,ge(K.cy+K.y1,K.cx+K.x1),ge(lt.cy+lt.y1,lt.cx+lt.x1),!v),st>0&&r.arc(f+lt.cx,h+lt.cy,st,ge(lt.y1,lt.x1),ge(lt.y0,lt.x0),!v))}else r.moveTo(f+R,h+E),r.arc(f,h,a,l,u,!v);if(!(n>mr)||!B)r.lineTo(f+N,h+k);else if(M>mr){var gt=Fr(d,M),st=Fr(g,M),K=Wu(N,k,D,L,n,-st,v),lt=Wu(R,E,I,P,n,-gt,v);r.lineTo(f+K.cx+K.x0,h+K.cy+K.y0),M0&&r.arc(f+K.cx,h+K.cy,st,ge(K.y0,K.x0),ge(K.y1,K.x1),!v),r.arc(f,h,n,ge(K.cy+K.y1,K.cx+K.x1),ge(lt.cy+lt.y1,lt.cx+lt.x1),v),gt>0&&r.arc(f+lt.cx,h+lt.cy,gt,ge(lt.y1,lt.x1),ge(lt.y0,lt.x0),!v))}else r.lineTo(f+N,h+k),r.arc(f,h,n,u,l,v)}r.closePath()}}}var uO=function(){function r(){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 r}(),G1=function(r){Vt(e,r);function e(t){return r.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new uO},e.prototype.buildPath=function(t,a){lO(t,a)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(yt);G1.prototype.type="sector";var Re=G1,fO=function(){function r(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return r}(),F1=function(r){Vt(e,r);function e(t){return r.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new fO},e.prototype.buildPath=function(t,a){var n=a.cx,i=a.cy,o=Math.PI*2;t.moveTo(n+a.r,i),t.arc(n,i,a.r,0,o,!1),t.moveTo(n+a.r0,i),t.arc(n,i,a.r0,0,o,!0)},e}(yt);F1.prototype.type="ring";var Uu=F1;function hO(r,e,t,a){var n=[],i=[],o=[],s=[],l,u,f,h;if(a){f=[1/0,1/0],h=[-1/0,-1/0];for(var v=0,c=r.length;v=2){if(a){var i=hO(n,a,t,e.smoothConstraint);r.moveTo(n[0][0],n[0][1]);for(var o=n.length,s=0;s<(t?o:o-1);s++){var l=i[s*2],u=i[s*2+1],f=n[(s+1)%o];r.bezierCurveTo(l[0],l[1],u[0],u[1],f[0],f[1])}}else{r.moveTo(n[0][0],n[0][1]);for(var s=1,h=n.length;sWn[1]){if(s=!1,i)return s;var f=Math.abs(Wn[0]-Hn[1]),h=Math.abs(Hn[0]-Wn[1]);Math.min(f,h)>n.len()&&(fMath.abs(i[1])?i[0]>0?"right":"left":i[1]>0?"bottom":"top"}function tx(r){return!r.isGroup}function IO(r){return r.shape!=null}function ws(r,e,t){if(!r||!e)return;function a(o){var s={};return o.traverse(function(l){tx(l)&&l.anid&&(s[l.anid]=l)}),s}function n(o){var s={x:o.x,y:o.y,rotation:o.rotation};return IO(o)&&(s.shape=V({},o.shape)),s}var i=a(r);e.traverse(function(o){if(tx(o)&&o.anid){var s=i[o.anid];if(s){var l=n(o);o.attr(n(s)),Mt(o,l,t,nt(o).dataIndex)}}})}function ex(r,e){return G(r,function(t){var a=t[0];a=Ku(a,e.x),a=ju(a,e.x+e.width);var n=t[1];return n=Ku(n,e.y),n=ju(n,e.y+e.height),[a,n]})}function PO(r,e){var t=Ku(r.x,e.x),a=ju(r.x+r.width,e.x+e.width),n=Ku(r.y,e.y),i=ju(r.y+r.height,e.y+e.height);if(a>=t&&i>=n)return{x:t,y:n,width:a-t,height:i-n}}function Ts(r,e,t){var a=V({rectHover:!0},e),n=a.style={strokeNoScale:!0};if(t=t||{x:-1,y:-1,width:2,height:2},r)return r.indexOf("image://")===0?(n.image=r.slice(8),J(n,t),new le(a)):Qu(r.replace("path://",""),a,t,"center")}function Cs(r,e,t,a,n){for(var i=0,o=n[n.length-1];i1)return!1;var g=mp(c,p,f,h)/v;return!(g<0||g>1)}function mp(r,e,t,a){return r*a-t*e}function RO(r){return r<=1e-6&&r>=-1e-6}function $i(r){var e=r.itemTooltipOption,t=r.componentModel,a=r.itemName,n=U(e)?{formatter:e}:e,i=t.mainType,o=t.componentIndex,s={componentType:i,name:a,$vars:["name"]};s[i+"Index"]=o;var l=r.formatterParamsExtra;l&&A(mt(l),function(f){Z(s,f)||(s[f]=l[f],s.$vars.push(f))});var u=nt(r.el);u.componentMainType=i,u.componentIndex=o,u.tooltipConfig={name:a,option:J({content:a,formatterParams:s},n)}}function ax(r,e){var t;r.isGroup&&(t=e(r)),t||r.traverse(e)}function Ba(r,e){if(r)if(z(r))for(var t=0;t=0?h():o=setTimeout(h,-s),n=a};return v.clear=function(){o&&(clearTimeout(o),o=null)},v.debounceNextCall=function(c){f=c},v}function to(r,e,t,a){var n=r[e];if(n){var i=n[tf]||n,o=n[lx],s=n[sx];if(s!==t||o!==a){if(t==null||!a)return r[e]=i;n=r[e]=Sp(i,t,a==="debounce"),n[tf]=i,n[lx]=a,n[sx]=t}return n}}function As(r,e){var t=r[e];t&&t[tf]&&(t.clear&&t.clear(),r[e]=t[tf])}var ux=St(),fx={itemStyle:Sn(eS,!0),lineStyle:Sn(tS,!0)},VO={lineStyle:"stroke",itemStyle:"fill"};function hx(r,e){var t=r.visualStyleMapper||fx[e];return t||(console.warn("Unknown style type '"+e+"'."),fx.itemStyle)}function vx(r,e){var t=r.visualDrawType||VO[e];return t||(console.warn("Unknown style type '"+e+"'."),"fill")}var BO={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,e){var t=r.getData(),a=r.visualStyleAccessPath||"itemStyle",n=r.getModel(a),i=hx(r,a),o=i(n),s=n.getShallow("decal");s&&(t.setVisual("decal",s),s.dirty=!0);var l=vx(r,a),u=o[l],f=j(u)?u:null,h=o.fill==="auto"||o.stroke==="auto";if(!o[l]||f||h){var v=r.getColorFromPalette(r.name,null,e.getSeriesCount());o[l]||(o[l]=v,t.setVisual("colorFromPalette",!0)),o.fill=o.fill==="auto"||j(o.fill)?v:o.fill,o.stroke=o.stroke==="auto"||j(o.stroke)?v:o.stroke}if(t.setVisual("style",o),t.setVisual("drawType",l),!e.isSeriesFiltered(r)&&f)return t.setVisual("colorFromPalette",!1),{dataEach:function(c,p){var d=r.getDataParams(p),g=V({},o);g[l]=f(d),c.setItemVisual(p,"style",g)}}}},Ms=new kt,zO={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,e){if(!(r.ignoreStyleOnData||e.isSeriesFiltered(r))){var t=r.getData(),a=r.visualStyleAccessPath||"itemStyle",n=hx(r,a),i=t.getVisual("drawType");return{dataEach:t.hasItemOption?function(o,s){var l=o.getRawDataItem(s);if(l&&l[a]){Ms.option=l[a];var u=n(Ms),f=o.ensureUniqueItemVisual(s,"style");V(f,u),Ms.option.decal&&(o.setItemVisual(s,"decal",Ms.option.decal),Ms.option.decal.dirty=!0),i in u&&o.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},GO={performRawSeries:!0,overallReset:function(r){var e=X();r.eachSeries(function(t){var a=t.getColorBy();if(!t.isColorBySeries()){var n=t.type+"-"+a,i=e.get(n);i||(i={},e.set(n,i)),ux(t).scope=i}}),r.eachSeries(function(t){if(!(t.isColorBySeries()||r.isSeriesFiltered(t))){var a=t.getRawData(),n={},i=t.getData(),o=ux(t).scope,s=t.visualStyleAccessPath||"itemStyle",l=vx(t,s);i.each(function(u){var f=i.getRawIndex(u);n[f]=u}),a.each(function(u){var f=n[u],h=i.getItemVisual(f,"colorFromPalette");if(h){var v=i.ensureUniqueItemVisual(f,"style"),c=a.getName(u)||u+"",p=a.count();v[l]=t.getColorFromPalette(c,o,p)}})}})}},ef=Math.PI;function FO(r,e){e=e||{},J(e,{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 t=new at,a=new xt({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});t.add(a);var n=new bt({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),i=new xt({style:{fill:"none"},textContent:n,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});t.add(i);var o;return e.showSpinner&&(o=new pp({shape:{startAngle:-ef/2,endAngle:-ef/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001}),o.animateShape(!0).when(1e3,{endAngle:ef*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:ef*3/2}).delay(300).start("circularInOut"),t.add(o)),t.resize=function(){var s=n.getBoundingRect().width,l=e.showSpinner?e.spinnerRadius:0,u=(r.getWidth()-l*2-(e.showSpinner&&s?10:0)-s)/2-(e.showSpinner&&s?0:5+s/2)+(e.showSpinner?0:s/2)+(s?0:l),f=r.getHeight()/2;e.showSpinner&&o.setShape({cx:u,cy:f}),i.setShape({x:u-l,y:f-l,width:l*2,height:l*2}),a.setShape({x:0,y:0,width:r.getWidth(),height:r.getHeight()})},t.resize(),t}var HO=function(){function r(e,t,a,n){this._stageTaskMap=X(),this.ecInstance=e,this.api=t,a=this._dataProcessorHandlers=a.slice(),n=this._visualHandlers=n.slice(),this._allHandlers=a.concat(n)}return r.prototype.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each(function(a){var n=a.overallTask;n&&n.dirty()})},r.prototype.getPerformArgs=function(e,t){if(e.__pipeline){var a=this._pipelineMap.get(e.__pipeline.id),n=a.context,i=!t&&a.progressiveEnabled&&(!n||n.progressiveRender)&&e.__idxInPipeline>a.blockIndex,o=i?a.step:null,s=n&&n.modDataCount,l=s!=null?Math.ceil(s/o):null;return{step:o,modBy:l,modDataCount:s}}},r.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},r.prototype.updateStreamModes=function(e,t){var a=this._pipelineMap.get(e.uid),n=e.getData(),i=n.count(),o=a.progressiveEnabled&&t.incrementalPrepareRender&&i>=a.threshold,s=e.get("large")&&i>=e.get("largeThreshold"),l=e.get("progressiveChunkMode")==="mod"?i:null;e.pipelineContext=a.context={progressiveRender:o,modDataCount:l,large:s}},r.prototype.restorePipelines=function(e){var t=this,a=t._pipelineMap=X();e.eachSeries(function(n){var i=n.getProgressive(),o=n.uid;a.set(o,{id:o,head:null,tail:null,threshold:n.getProgressiveThreshold(),progressiveEnabled:i&&!(n.preventIncremental&&n.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),t._pipe(n,n.dataTask)})},r.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.api.getModel(),a=this.api;A(this._allHandlers,function(n){var i=e.get(n.uid)||e.set(n.uid,{}),o="";_e(!(n.reset&&n.overallReset),o),n.reset&&this._createSeriesStageTask(n,i,t,a),n.overallReset&&this._createOverallStageTask(n,i,t,a)},this)},r.prototype.prepareView=function(e,t,a,n){var i=e.renderTask,o=i.context;o.model=t,o.ecModel=a,o.api=n,i.__block=!e.incrementalPrepareRender,this._pipe(t,i)},r.prototype.performDataProcessorTasks=function(e,t){this._performStageTasks(this._dataProcessorHandlers,e,t,{block:!0})},r.prototype.performVisualTasks=function(e,t,a){this._performStageTasks(this._visualHandlers,e,t,a)},r.prototype._performStageTasks=function(e,t,a,n){n=n||{};var i=!1,o=this;A(e,function(l,u){if(!(n.visualType&&n.visualType!==l.visualType)){var f=o._stageTaskMap.get(l.uid),h=f.seriesTaskMap,v=f.overallTask;if(v){var c,p=v.agentStubMap;p.each(function(g){s(n,g)&&(g.dirty(),c=!0)}),c&&v.dirty(),o.updatePayload(v,a);var d=o.getPerformArgs(v,n.block);p.each(function(g){g.perform(d)}),v.perform(d)&&(i=!0)}else h&&h.each(function(g,y){s(n,g)&&g.dirty();var m=o.getPerformArgs(g,n.block);m.skip=!l.performRawSeries&&t.isSeriesFiltered(g.context.model),o.updatePayload(g,a),g.perform(m)&&(i=!0)})}});function s(l,u){return l.setDirty&&(!l.dirtyMap||l.dirtyMap.get(u.__pipeline.id))}this.unfinished=i||this.unfinished},r.prototype.performSeriesTasks=function(e){var t;e.eachSeries(function(a){t=a.dataTask.perform()||t}),this.unfinished=t||this.unfinished},r.prototype.plan=function(){this._pipelineMap.each(function(e){var t=e.tail;do{if(t.__block){e.blockIndex=t.__idxInPipeline;break}t=t.getUpstream()}while(t)})},r.prototype.updatePayload=function(e,t){t!=="remain"&&(e.context.payload=t)},r.prototype._createSeriesStageTask=function(e,t,a,n){var i=this,o=t.seriesTaskMap,s=t.seriesTaskMap=X(),l=e.seriesType,u=e.getTargetSeries;e.createOnAllSeries?a.eachRawSeries(f):l?a.eachRawSeriesByType(l,f):u&&u(a,n).each(f);function f(h){var v=h.uid,c=s.set(v,o&&o.get(v)||ms({plan:XO,reset:qO,count:jO}));c.context={model:h,ecModel:a,api:n,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:i},i._pipe(h,c)}},r.prototype._createOverallStageTask=function(e,t,a,n){var i=this,o=t.overallTask=t.overallTask||ms({reset:WO});o.context={ecModel:a,api:n,overallReset:e.overallReset,scheduler:i};var s=o.agentStubMap,l=o.agentStubMap=X(),u=e.seriesType,f=e.getTargetSeries,h=!0,v=!1,c="";_e(!e.createOnAllSeries,c),u?a.eachRawSeriesByType(u,p):f?f(a,n).each(p):(h=!1,A(a.getSeries(),p));function p(d){var g=d.uid,y=l.set(g,s&&s.get(g)||(v=!0,ms({reset:UO,onDirty:ZO})));y.context={model:d,overallProgress:h},y.agent=o,y.__block=h,i._pipe(d,y)}v&&o.dirty()},r.prototype._pipe=function(e,t){var a=e.uid,n=this._pipelineMap.get(a);!n.head&&(n.head=t),n.tail&&n.tail.pipe(t),n.tail=t,t.__idxInPipeline=n.count++,t.__pipeline=n},r.wrapStageHandler=function(e,t){return j(e)&&(e={overallReset:e,seriesType:QO(e)}),e.uid=zi("stageHandler"),t&&(e.visualType=t),e},r}();function WO(r){r.overallReset(r.ecModel,r.api,r.payload)}function UO(r){return r.overallProgress&&YO}function YO(){this.agent.dirty(),this.getDownstream().dirty()}function ZO(){this.agent&&this.agent.dirty()}function XO(r){return r.plan?r.plan(r.model,r.ecModel,r.api,r.payload):null}function qO(r){r.useClearVisual&&r.data.clearAllVisual();var e=r.resetDefines=Pt(r.reset(r.model,r.ecModel,r.api,r.payload));return e.length>1?G(e,function(t,a){return cx(a)}):KO}var KO=cx(0);function cx(r){return function(e,t){var a=t.data,n=t.resetDefines[r];if(n&&n.dataEach)for(var i=e.start;i0&&c===u.length-v.length){var p=u.slice(0,c);p!=="data"&&(t.mainType=p,t[v.toLowerCase()]=l,f=!0)}}s.hasOwnProperty(u)&&(a[u]=l,f=!0),f||(n[u]=l)})}return{cptQuery:t,dataQuery:a,otherQuery:n}},r.prototype.filter=function(e,t){var a=this.eventInfo;if(!a)return!0;var n=a.targetEl,i=a.packedEvent,o=a.model,s=a.view;if(!o||!s)return!0;var l=t.cptQuery,u=t.dataQuery;return f(l,o,"mainType")&&f(l,o,"subType")&&f(l,o,"index","componentIndex")&&f(l,o,"name")&&f(l,o,"id")&&f(u,i,"name")&&f(u,i,"dataIndex")&&f(u,i,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(e,t.otherQuery,n,i));function f(h,v,c,p){return h[c]==null||v[p||c]===h[c]}},r.prototype.afterTrigger=function(){this.eventInfo=null},r}(),xp=["symbol","symbolSize","symbolRotate","symbolOffset"],xx=xp.concat(["symbolKeepAspect"]),eN={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,e){var t=r.getData();if(r.legendIcon&&t.setVisual("legendIcon",r.legendIcon),!r.hasSymbolVisual)return;for(var a={},n={},i=!1,o=0;o=0&&Xn(l)?l:.5;var u=r.createRadialGradient(o,s,0,o,s,l);return u}function wp(r,e,t){for(var a=e.type==="radial"?yN(r,e,t):gN(r,e,t),n=e.colorStops,i=0;i0)?null:r==="dashed"?[4*e,2*e]:r==="dotted"?[e]:Ct(r)?[r]:z(r)?r:null}function Tp(r){var e=r.style,t=e.lineDash&&e.lineWidth>0&&_N(e.lineDash,e.lineWidth),a=e.lineDashOffset;if(t){var n=e.strokeNoScale&&r.getLineScale?r.getLineScale():1;n&&n!==1&&(t=G(t,function(i){return i/n}),a/=n)}return[t,a]}var SN=new Vr(!0);function sf(r){var e=r.stroke;return!(e==null||e==="none"||!(r.lineWidth>0))}function Cx(r){return typeof r=="string"&&r!=="none"}function lf(r){var e=r.fill;return e!=null&&e!=="none"}function Ax(r,e){if(e.fillOpacity!=null&&e.fillOpacity!==1){var t=r.globalAlpha;r.globalAlpha=e.fillOpacity*e.opacity,r.fill(),r.globalAlpha=t}else r.fill()}function Mx(r,e){if(e.strokeOpacity!=null&&e.strokeOpacity!==1){var t=r.globalAlpha;r.globalAlpha=e.strokeOpacity*e.opacity,r.stroke(),r.globalAlpha=t}else r.stroke()}function Cp(r,e,t){var a=Qv(e.image,e.__image,t);if(uu(a)){var n=r.createPattern(a,e.repeat||"repeat");if(typeof DOMMatrix=="function"&&n&&n.setTransform){var i=new DOMMatrix;i.translateSelf(e.x||0,e.y||0),i.rotateSelf(0,0,(e.rotation||0)*El),i.scaleSelf(e.scaleX||1,e.scaleY||1),n.setTransform(i)}return n}}function xN(r,e,t,a){var n,i=sf(t),o=lf(t),s=t.strokePercent,l=s<1,u=!e.path;(!e.silent||l)&&u&&e.createPathProxy();var f=e.path||SN,h=e.__dirty;if(!a){var v=t.fill,c=t.stroke,p=o&&!!v.colorStops,d=i&&!!c.colorStops,g=o&&!!v.image,y=i&&!!c.image,m=void 0,_=void 0,S=void 0,b=void 0,x=void 0;(p||d)&&(x=e.getBoundingRect()),p&&(m=h?wp(r,v,x):e.__canvasFillGradient,e.__canvasFillGradient=m),d&&(_=h?wp(r,c,x):e.__canvasStrokeGradient,e.__canvasStrokeGradient=_),g&&(S=h||!e.__canvasFillPattern?Cp(r,v,e):e.__canvasFillPattern,e.__canvasFillPattern=S),y&&(b=h||!e.__canvasStrokePattern?Cp(r,c,e):e.__canvasStrokePattern,e.__canvasStrokePattern=S),p?r.fillStyle=m:g&&(S?r.fillStyle=S:o=!1),d?r.strokeStyle=_:y&&(b?r.strokeStyle=b:i=!1)}var w=e.getGlobalScale();f.setScale(w[0],w[1],e.segmentIgnoreThreshold);var T,C;r.setLineDash&&t.lineDash&&(n=Tp(e),T=n[0],C=n[1]);var M=!0;(u||h&Ci)&&(f.setDPR(r.dpr),l?f.setContext(null):(f.setContext(r),M=!1),f.reset(),e.buildPath(f,e.shape,a),f.toStatic(),e.pathUpdated()),M&&f.rebuildPath(r,l?s:1),T&&(r.setLineDash(T),r.lineDashOffset=C),a||(t.strokeFirst?(i&&Mx(r,t),o&&Ax(r,t)):(o&&Ax(r,t),i&&Mx(r,t))),T&&r.setLineDash([])}function bN(r,e,t){var a=e.__image=Qv(t.image,e.__image,e,e.onload);if(!(!a||!uu(a))){var n=t.x||0,i=t.y||0,o=e.getWidth(),s=e.getHeight(),l=a.width/a.height;if(o==null&&s!=null?o=s*l:s==null&&o!=null?s=o/l:o==null&&s==null&&(o=a.width,s=a.height),t.sWidth&&t.sHeight){var u=t.sx||0,f=t.sy||0;r.drawImage(a,u,f,t.sWidth,t.sHeight,n,i,o,s)}else if(t.sx&&t.sy){var u=t.sx,f=t.sy,h=o-u,v=s-f;r.drawImage(a,u,f,h,v,n,i,o,s)}else r.drawImage(a,n,i,o,s)}}function wN(r,e,t){var a,n=t.text;if(n!=null&&(n+=""),n){r.font=t.font||Sa,r.textAlign=t.textAlign,r.textBaseline=t.textBaseline;var i=void 0,o=void 0;r.setLineDash&&t.lineDash&&(a=Tp(e),i=a[0],o=a[1]),i&&(r.setLineDash(i),r.lineDashOffset=o),t.strokeFirst?(sf(t)&&r.strokeText(n,t.x,t.y),lf(t)&&r.fillText(n,t.x,t.y)):(lf(t)&&r.fillText(n,t.x,t.y),sf(t)&&r.strokeText(n,t.x,t.y)),i&&r.setLineDash([])}}var Dx=["shadowBlur","shadowOffsetX","shadowOffsetY"],Lx=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function Ix(r,e,t,a,n){var i=!1;if(!a&&(t=t||{},e===t))return!1;if(a||e.opacity!==t.opacity){Ne(r,n),i=!0;var o=Math.max(Math.min(e.opacity,1),0);r.globalAlpha=isNaN(o)?xn.opacity:o}(a||e.blend!==t.blend)&&(i||(Ne(r,n),i=!0),r.globalCompositeOperation=e.blend||xn.blend);for(var s=0;s0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,a,n){if(!this[ye]){if(this._disposed){this.id;return}var i,o,s;if(tt(a)&&(n=a.lazyUpdate,i=a.silent,o=a.replaceMerge,s=a.transition,a=a.notMerge),this[ye]=!0,!this._model||a){var l=new JE(this._api),u=this._theme,f=this._model=new OS;f.scheduler=this._scheduler,f.ssr=this._ssr,f.init(null,null,null,u,this._locale,l)}this._model.setOption(t,{replaceMerge:o},Vp);var h={seriesTransition:s,optionChanged:!0};if(n)this[Ve]={silent:i,updateParams:h},this[ye]=!1,this.getZr().wakeUp();else{try{io(this),za.update.call(this,null,h)}catch(v){throw this[Ve]=null,this[ye]=!1,v}this._ssr||this._zr.flush(),this[Ve]=null,this[ye]=!1,Ps.call(this,i),Rs.call(this,i)}}},e.prototype.setTheme=function(){},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||Tt.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){t=t||{};var a=this._zr.painter;return a.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){t=t||{};var a=this._zr.painter;return a.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(Tt.svgSupported){var t=this._zr,a=t.storage.getDisplayList();return A(a,function(n){n.stopAnimation(null,!0)}),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(this._disposed){this.id;return}t=t||{};var a=t.excludeComponents,n=this._model,i=[],o=this;A(a,function(l){n.eachComponent({mainType:l},function(u){var f=o._componentsMap[u.__viewId];f.group.ignore||(i.push(f),f.group.ignore=!0)})});var s=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return A(i,function(l){l.group.ignore=!1}),s},e.prototype.getConnectedDataURL=function(t){if(this._disposed){this.id;return}var a=t.type==="svg",n=this.group,i=Math.min,o=Math.max,s=1/0;if(df[n]){var l=s,u=s,f=-s,h=-s,v=[],c=t&&t.pixelRatio||this.getDevicePixelRatio();A(Kn,function(_,S){if(_.group===n){var b=a?_.getZr().painter.getSvgDom().innerHTML:_.renderToCanvas(et(t)),x=_.getDom().getBoundingClientRect();l=i(x.left,l),u=i(x.top,u),f=o(x.right,f),h=o(x.bottom,h),v.push({dom:b,left:x.left,top:x.top})}}),l*=c,u*=c,f*=c,h*=c;var p=f-l,d=h-u,g=ur.createCanvas(),y=C0(g,{renderer:a?"svg":"canvas"});if(y.resize({width:p,height:d}),a){var m="";return A(v,function(_){var S=_.left-l,b=_.top-u;m+=''+_.dom+""}),y.painter.getSvgRoot().innerHTML=m,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}else return t.connectedBackgroundColor&&y.add(new xt({shape:{x:0,y:0,width:p,height:d},style:{fill:t.connectedBackgroundColor}})),A(v,function(_){var S=new le({style:{x:_.left*c-l,y:_.top*c-u,image:_.dom}});y.add(S)}),y.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}else return this.getDataURL(t)},e.prototype.convertToPixel=function(t,a){return Pp(this,"convertToPixel",t,a)},e.prototype.convertFromPixel=function(t,a){return Pp(this,"convertFromPixel",t,a)},e.prototype.containPixel=function(t,a){if(this._disposed){this.id;return}var n=this._model,i,o=Qo(n,t);return A(o,function(s,l){l.indexOf("Models")>=0&&A(s,function(u){var f=u.coordinateSystem;if(f&&f.containPoint)i=i||!!f.containPoint(a);else if(l==="seriesModels"){var h=this._chartsMap[u.__viewId];h&&h.containPoint&&(i=i||h.containPoint(a,u))}},this)},this),!!i},e.prototype.getVisual=function(t,a){var n=this._model,i=Qo(n,t,{defaultMainType:"series"}),o=i.seriesModel,s=o.getData(),l=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?s.indexOfRawIndex(i.dataIndex):null;return l!=null?bp(s,l,a):Ls(s,a)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;A(KN,function(a){var n=function(i){var o=t.getModel(),s=i.target,l,u=a==="globalout";if(u?l={}:s&&Yn(s,function(p){var d=nt(p);if(d&&d.dataIndex!=null){var g=d.dataModel||o.getSeriesByIndex(d.seriesIndex);return l=g&&g.getDataParams(d.dataIndex,d.dataType,s)||{},!0}else if(d.eventData)return l=V({},d.eventData),!0},!0),l){var f=l.componentType,h=l.componentIndex;(f==="markLine"||f==="markPoint"||f==="markArea")&&(f="series",h=l.seriesIndex);var v=f&&h!=null&&o.getComponent(f,h),c=v&&t[v.mainType==="series"?"_chartsMap":"_componentsMap"][v.__viewId];l.event=i,l.type=a,t._$eventProcessor.eventInfo={targetEl:s,packedEvent:l,model:v,view:c},t.trigger(a,l)}};n.zrEventfulCallAtLast=!0,t._zr.on(a,n,t)}),A(Es,function(a,n){t._messageCenter.on(n,function(i){this.trigger(n,i)},t)}),A(["selectchanged"],function(a){t._messageCenter.on(a,function(n){this.trigger(a,n)},t)}),aN(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var t=this.getDom();t&&U0(this.getDom(),zp,"");var a=this,n=a._api,i=a._model;A(a._componentsViews,function(o){o.dispose(i,n)}),A(a._chartsViews,function(o){o.dispose(i,n)}),a._zr.dispose(),a._dom=a._model=a._chartsMap=a._componentsMap=a._chartsViews=a._componentsViews=a._scheduler=a._api=a._zr=a._throttledZrFlush=a._theme=a._coordSysMgr=a._messageCenter=null,delete Kn[a.id]},e.prototype.resize=function(t){if(!this[ye]){if(this._disposed){this.id;return}this._zr.resize(t);var a=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!a){var n=a.resetOption("media"),i=t&&t.silent;this[Ve]&&(i==null&&(i=this[Ve].silent),n=!0,this[Ve]=null),this[ye]=!0;try{n&&io(this),za.update.call(this,{type:"resize",animation:V({duration:0},t&&t.animation)})}catch(o){throw this[ye]=!1,o}this[ye]=!1,Ps.call(this,i),Rs.call(this,i)}}},e.prototype.showLoading=function(t,a){if(this._disposed){this.id;return}if(tt(t)&&(a=t,t=""),t=t||"default",this.hideLoading(),!!Bp[t]){var n=Bp[t](this._api,a),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},e.prototype.makeActionFromEvent=function(t){var a=V({},t);return a.type=Es[t.type],a},e.prototype.dispatchAction=function(t,a){if(this._disposed){this.id;return}if(tt(a)||(a={silent:!!a}),!!cf[t.type]&&this._model){if(this[ye]){this._pendingActions.push(t);return}var n=a.silent;Ep.call(this,t,n);var i=a.flush;i?this._zr.flush():i!==!1&&Tt.browser.weChat&&this._throttledZrFlush(),Ps.call(this,n),Rs.call(this,n)}},e.prototype.updateLabelLayout=function(){xr.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed){this.id;return}var a=t.seriesIndex,n=this.getModel(),i=n.getSeriesByIndex(a);i.appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()},e.internalField=function(){io=function(h){var v=h._scheduler;v.restorePipelines(h._model),v.prepareStageTasks(),Ip(h,!0),Ip(h,!1),v.plan()},Ip=function(h,v){for(var c=h._model,p=h._scheduler,d=v?h._componentsViews:h._chartsViews,g=v?h._componentsMap:h._chartsMap,y=h._zr,m=h._api,_=0;_v.get("hoverLayerThreshold")&&!Tt.node&&!Tt.worker&&v.eachSeries(function(g){if(!g.preventUsingHoverLayer){var y=h._chartsMap[g.__viewId];y.__alive&&y.eachRendered(function(m){m.states.emphasis&&(m.states.emphasis.hoverLayer=!0)})}})}function o(h,v){var c=h.get("blendMode")||null;v.eachRendered(function(p){p.isGroup||(p.style.blend=c)})}function s(h,v){if(!h.preventAutoZ){var c=h.get("z")||0,p=h.get("zlevel")||0;v.eachRendered(function(d){return l(d,c,p,-1/0),!0})}}function l(h,v,c,p){var d=h.getTextContent(),g=h.getTextGuideLine(),y=h.isGroup;if(y)for(var m=h.childrenRef(),_=0;_0?{duration:d,delay:c.get("delay"),easing:c.get("easing")}:null;v.eachRendered(function(y){if(y.states&&y.states.emphasis){if(Vi(y))return;if(y instanceof yt&&rE(y),y.__dirty){var m=y.prevStates;m&&y.useStates(m)}if(p){y.stateTransition=g;var _=y.getTextContent(),S=y.getTextGuideLine();_&&(_.stateTransition=g),S&&(S.stateTransition=g)}y.__dirty&&n(y)}})}ab=function(h){return new(function(v){O(c,v);function c(){return v!==null&&v.apply(this,arguments)||this}return c.prototype.getCoordinateSystems=function(){return h._coordSysMgr.getCoordinateSystems()},c.prototype.getComponentByElement=function(p){for(;p;){var d=p.__ecComponentInfo;if(d!=null)return h._model.getComponent(d.mainType,d.index);p=p.parent}},c.prototype.enterEmphasis=function(p,d){ia(p,d),rr(h)},c.prototype.leaveEmphasis=function(p,d){oa(p,d),rr(h)},c.prototype.enterBlur=function(p){N_(p),rr(h)},c.prototype.leaveBlur=function(p){yc(p),rr(h)},c.prototype.enterSelect=function(p){V_(p),rr(h)},c.prototype.leaveSelect=function(p){B_(p),rr(h)},c.prototype.getModel=function(){return h.getModel()},c.prototype.getViewOfComponentModel=function(p){return h.getViewOfComponentModel(p)},c.prototype.getViewOfSeriesModel=function(p){return h.getViewOfSeriesModel(p)},c}(NS))(h)},nb=function(h){function v(c,p){for(var d=0;d=0)){hb.push(t);var i=gx.wrapStageHandler(t,n);i.__prio=e,i.__raw=t,r.push(i)}}function vb(r,e){Bp[r]=e}function VK(r){setPlatformAPI({createCanvas:r})}function aV(r,e,t){var a=kN("registerMap");a&&a(r,e,t)}function BK(r){var e=getImpl("getMap");return e&&e(r)}var nV=Lk;jn(Mp,BO),jn(uf,zO),jn(uf,GO),jn(Mp,eN),jn(uf,rN),jn(Zx,PN),ub(WS),fb(VN,ok),vb("default",FO),Hr({type:Ln,event:Ln,update:Ln},Zt),Hr({type:yu,event:yu,update:yu},Zt),Hr({type:ns,event:ns,update:ns},Zt),Hr({type:mu,event:mu,update:mu},Zt),Hr({type:is,event:is,update:is},Zt),lb("light",JO),lb("dark",$O);var zK={},cb=[],iV={registerPreprocessor:ub,registerProcessor:fb,registerPostInit:$N,registerPostUpdate:tV,registerUpdateLifecycle:Gp,registerAction:Hr,registerCoordinateSystem:eV,registerLayout:rV,registerVisual:jn,registerTransform:nV,registerLoading:vb,registerMap:aV,registerImpl:EN,PRIORITY:ZN,ComponentModel:At,ComponentView:Ht,SeriesModel:zt,ChartView:Ot,registerComponentModel:function(r){At.registerClass(r)},registerComponentView:function(r){Ht.registerClass(r)},registerSeriesModel:function(r){zt.registerClass(r)},registerChartView:function(r){Ot.registerClass(r)},registerSubTypeDefaulter:function(r,e){At.registerSubTypeDefaulter(r,e)},registerPainter:function(r,e){wP(r,e)}};function ct(r){if(z(r)){A(r,function(e){ct(e)});return}vt(cb,r)>=0||(cb.push(r),j(r)&&(r={install:r}),r.install(iV))}function oV(r,e,t,a,n,i,o,s){var l=new bt({style:{text:r,font:e,align:t,verticalAlign:a,padding:n,rich:i,overflow:o?"truncate":null,lineHeight:s}});return l.getBoundingRect()}function GK(r){var e=ComponentModel.extend(r);return ComponentModel.registerClass(e),e}function FK(r){var e=ComponentView.extend(r);return ComponentView.registerClass(e),e}function HK(r){var e=SeriesModel.extend(r);return SeriesModel.registerClass(e),e}function WK(r){var e=ChartView.extend(r);return ChartView.registerClass(e),e}var ks=Math.PI*2,Qn=Vr.CMD,sV=["top","right","bottom","left"];function lV(r,e,t,a,n){var i=t.width,o=t.height;switch(r){case"top":a.set(t.x+i/2,t.y-e),n.set(0,-1);break;case"bottom":a.set(t.x+i/2,t.y+o+e),n.set(0,1);break;case"left":a.set(t.x-e,t.y+o/2),n.set(-1,0);break;case"right":a.set(t.x+i+e,t.y+o/2),n.set(1,0);break}}function uV(r,e,t,a,n,i,o,s,l){o-=r,s-=e;var u=Math.sqrt(o*o+s*s);o/=u,s/=u;var f=o*t+r,h=s*t+e;if(Math.abs(a-n)%ks<1e-4)return l[0]=f,l[1]=h,u-t;if(i){var v=a;a=dr(n),n=dr(v)}else a=dr(a),n=dr(n);a>n&&(n+=ks);var c=Math.atan2(s,o);if(c<0&&(c+=ks),c>=a&&c<=n||c+ks>=a&&c+ks<=n)return l[0]=f,l[1]=h,u-t;var p=t*Math.cos(a)+r,d=t*Math.sin(a)+e,g=t*Math.cos(n)+r,y=t*Math.sin(n)+e,m=(p-o)*(p-o)+(d-s)*(d-s),_=(g-o)*(g-o)+(y-s)*(y-s);return m<_?(l[0]=p,l[1]=d,Math.sqrt(m)):(l[0]=g,l[1]=y,Math.sqrt(_))}function gf(r,e,t,a,n,i,o,s){var l=n-r,u=i-e,f=t-r,h=a-e,v=Math.sqrt(f*f+h*h);f/=v,h/=v;var c=l*f+u*h,p=c/v;s&&(p=Math.min(Math.max(p,0),1)),p*=v;var d=o[0]=r+p*f,g=o[1]=e+p*h;return Math.sqrt((d-n)*(d-n)+(g-i)*(g-i))}function pb(r,e,t,a,n,i,o){t<0&&(r=r+t,t=-t),a<0&&(e=e+a,a=-a);var s=r+t,l=e+a,u=o[0]=Math.min(Math.max(n,r),s),f=o[1]=Math.min(Math.max(i,e),l);return Math.sqrt((u-n)*(u-n)+(f-i)*(f-i))}var br=[];function fV(r,e,t){var a=pb(e.x,e.y,e.width,e.height,r.x,r.y,br);return t.set(br[0],br[1]),a}function hV(r,e,t){for(var a=0,n=0,i=0,o=0,s,l,u=1/0,f=e.data,h=r.x,v=r.y,c=0;c0){e=e/180*Math.PI,wr.fromArray(r[0]),Nt.fromArray(r[1]),Xt.fromArray(r[2]),ot.sub(Wr,wr,Nt),ot.sub(Ur,Xt,Nt);var t=Wr.len(),a=Ur.len();if(!(t<.001||a<.001)){Wr.scale(1/t),Ur.scale(1/a);var n=Wr.dot(Ur),i=Math.cos(e);if(i1&&ot.copy(Ae,Xt),Ae.toArray(r[1])}}}}function vV(r,e,t){if(t<=180&&t>0){t=t/180*Math.PI,wr.fromArray(r[0]),Nt.fromArray(r[1]),Xt.fromArray(r[2]),ot.sub(Wr,Nt,wr),ot.sub(Ur,Xt,Nt);var a=Wr.len(),n=Ur.len();if(!(a<.001||n<.001)){Wr.scale(1/a),Ur.scale(1/n);var i=Wr.dot(e),o=Math.cos(t);if(i=l)ot.copy(Ae,Xt);else{Ae.scaleAndAdd(Ur,s/Math.tan(Math.PI/2-f));var h=Xt.x!==Nt.x?(Ae.x-Nt.x)/(Xt.x-Nt.x):(Ae.y-Nt.y)/(Xt.y-Nt.y);if(isNaN(h))return;h<0?ot.copy(Ae,Nt):h>1&&ot.copy(Ae,Xt)}Ae.toArray(r[1])}}}}function yb(r,e,t,a){var n=t==="normal",i=n?r:r.ensureState(t);i.ignore=e;var o=a.get("smooth");o&&o===!0&&(o=.3),i.shape=i.shape||{},o>0&&(i.shape.smooth=o);var s=a.getModel("lineStyle").getLineStyle();n?r.useStyle(s):i.style=s}function cV(r,e){var t=e.smooth,a=e.points;if(a)if(r.moveTo(a[0][0],a[0][1]),t>0&&a.length>=3){var n=xa(a[0],a[1]),i=xa(a[1],a[2]);if(!n||!i){r.lineTo(a[1][0],a[1][1]),r.lineTo(a[2][0],a[2][1]);return}var o=Math.min(n,i)*t,s=Nl([],a[1],a[0],o/n),l=Nl([],a[1],a[2],o/i),u=Nl([],s,l,.5);r.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),r.bezierCurveTo(l[0],l[1],l[0],l[1],a[2][0],a[2][1])}else for(var f=1;f0&&i&&x(-h/o,0,o);var g=r[0],y=r[o-1],m,_;S(),m<0&&w(-m,.8),_<0&&w(_,.8),S(),b(m,_,1),b(_,m,-1),S(),m<0&&T(-m),_<0&&T(_);function S(){m=g.rect[e]-a,_=n-y.rect[e]-y.rect[t]}function b(C,M,D){if(C<0){var L=Math.min(M,-C);if(L>0){x(L*D,0,o);var I=L+C;I<0&&w(-I*D,1)}else w(-C*D,1)}}function x(C,M,D){C!==0&&(u=!0);for(var L=M;L0)for(var I=0;I0;I--){var N=D[I-1]*E;x(-N,I,o)}}}function T(C){var M=C<0?-1:1;C=Math.abs(C);for(var D=Math.ceil(C/(o-1)),L=0;L0?x(D,0,L+1):x(-D,o-L-1,o),C-=D,C<=0)return}return u}function pV(r,e,t,a){return _b(r,"x","width",e,t,a)}function Sb(r,e,t,a){return _b(r,"y","height",e,t,a)}function xb(r){var e=[];r.sort(function(d,g){return g.priority-d.priority});var t=new ht(0,0,0,0);function a(d){if(!d.ignore){var g=d.ensureState("emphasis");g.ignore==null&&(g.ignore=!1)}d.ignore=!0}for(var n=0;n=0&&a.attr(i.oldLayoutSelect),vt(v,"emphasis")>=0&&a.attr(i.oldLayoutEmphasis)),Mt(a,u,t,l)}else if(a.attr(u),!Bi(a).valueAnimation){var h=ft(a.style.opacity,1);a.style.opacity=0,Bt(a,{style:{opacity:h}},t,l)}if(i.oldLayout=u,a.states.select){var c=i.oldLayoutSelect={};mf(c,u,_f),mf(c,a.states.select,_f)}if(a.states.emphasis){var p=i.oldLayoutEmphasis={};mf(p,u,_f),mf(p,a.states.emphasis,_f)}$_(a,l,f,t,t)}if(n&&!n.ignore&&!n.invisible){var i=yV(n),o=i.oldLayout,d={points:n.shape.points};o?(n.attr({shape:o}),Mt(n,{shape:d},t)):(n.setShape(d),n.style.strokePercent=0,Bt(n,{style:{strokePercent:1}},t)),i.oldLayout=d}},r}(),_V=mV,Yp=St();function wb(r){r.registerUpdateLifecycle("series:beforeupdate",function(e,t,a){var n=Yp(t).labelManager;n||(n=Yp(t).labelManager=new _V),n.clearLabels()}),r.registerUpdateLifecycle("series:layoutlabels",function(e,t,a){var n=Yp(t).labelManager;a.updatedSeries.forEach(function(i){n.addLabelsOfSeries(t.getViewOfSeriesModel(i))}),n.updateLayoutConfig(t),n.layout(t),n.processLabelsOverall()})}ct(wb);function Tb(r,e,t){var a=ur.createCanvas(),n=e.getWidth(),i=e.getHeight(),o=a.style;return o&&(o.position="absolute",o.left="0",o.top="0",o.width=n+"px",o.height=i+"px",a.setAttribute("data-zr-dom-id",r)),a.width=n*t,a.height=i*t,a}var SV=function(r){Vt(e,r);function e(t,a,n){var i=r.call(this)||this;i.motionBlur=!1,i.lastFrameAlpha=.7,i.dpr=1,i.virtual=!1,i.config={},i.incremental=!1,i.zlevel=0,i.maxRepaintRectCount=5,i.__dirty=!0,i.__firstTimePaint=!0,i.__used=!1,i.__drawIndex=0,i.__startIndex=0,i.__endIndex=0,i.__prevStartIndex=null,i.__prevEndIndex=null;var o;n=n||au,typeof t=="string"?o=Tb(t,a,n):tt(t)&&(o=t,t=o.id),i.id=t,i.dom=o;var s=o.style;return s&&(Sm(o),o.onselectstart=function(){return!1},s.padding="0",s.margin="0",s.borderWidth="0"),i.painter=a,i.dpr=n,i}return e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=Tb("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),t!==1&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,a,n,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var o=[],s=this.maxRepaintRectCount,l=!1,u=new ht(0,0,0,0);function f(m){if(!(!m.isFinite()||m.isZero()))if(o.length===0){var _=new ht(0,0,0,0);_.copy(m),o.push(_)}else{for(var S=!1,b=1/0,x=0,w=0;w=s)}}for(var h=this.__startIndex;h15)break}}P.prevElClipPaths&&y.restore()};if(m)if(m.length===0)T=g.__endIndex;else for(var M=c.dpr,D=0;D0&&e>n[0]){for(l=0;le);l++);s=a[n[l]]}if(n.splice(l+1,0,e),a[e]=t,!t.virtual)if(s){var u=s.dom;u.nextSibling?o.insertBefore(t.dom,u.nextSibling):o.appendChild(t.dom)}else o.firstChild?o.insertBefore(t.dom,o.firstChild):o.appendChild(t.dom);t.__painter=this}},r.prototype.eachLayer=function(e,t){for(var a=this._zlevelList,n=0;n0?Sf:0),this._needsManuallyCompositing),f.__builtin__||Wh("ZLevel "+u+" has been used by unkown layer "+f.id),f!==i&&(f.__used=!0,f.__startIndex!==l&&(f.__dirty=!0),f.__startIndex=l,f.incremental?f.__drawIndex=-1:f.__drawIndex=l,t(l),i=f),n.__dirty&Ge&&!n.__inHover&&(f.__dirty=!0,f.incremental&&f.__drawIndex<0&&(f.__drawIndex=l))}t(l),this.eachBuiltinLayer(function(h,v){!h.__used&&h.getElementCount()>0&&(h.__dirty=!0,h.__startIndex=h.__endIndex=h.__drawIndex=0),h.__dirty&&h.__drawIndex<0&&(h.__drawIndex=h.__startIndex)})},r.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},r.prototype._clearLayer=function(e){e.clear()},r.prototype.setBackgroundColor=function(e){this._backgroundColor=e,A(this._layers,function(t){t.setUnpainted()})},r.prototype.configLayer=function(e,t){if(t){var a=this._layerConfig;a[e]?ut(a[e],t,!0):a[e]=t;for(var n=0;n=$n:-u>=$n),c=u>0?u%$n:u%$n+$n,p=!1;v?p=!0:Da(h)?p=!1:p=c>=Ab==!!f;var d=e+a*qp(o),g=t+n*Xp(o);this._start&&this._add("M",d,g);var y=Math.round(i*MV);if(v){var m=1/this._p,_=(f?1:-1)*($n-m);this._add("A",a,n,y,1,+f,e+a*qp(o+_),t+n*Xp(o+_)),m>.01&&this._add("A",a,n,y,0,+f,d,g)}else{var S=e+a*qp(s),b=t+n*Xp(s);this._add("A",a,n,y,+p,+f,S,b)}},r.prototype.rect=function(e,t,a,n){this._add("M",e,t),this._add("l",a,0),this._add("l",0,n),this._add("l",-a,0),this._add("Z")},r.prototype.closePath=function(){this._d.length>0&&this._add("Z")},r.prototype._add=function(e,t,a,n,i,o,s,l,u){for(var f=[],h=this._p,v=1;v"}function VV(r){return""}function jp(r,e){e=e||{};var t=e.newline?` +`:"";function a(n){var i=n.children,o=n.tag,s=n.attrs,l=n.text;return NV(o,s)+(o!=="style"?xe(l):l||"")+(i?""+t+G(i,function(u){return a(u)}).join(t)+t:"")+VV(o)}return a(r)}function BV(r,e,t){t=t||{};var a=t.newline?` +`:"",n=" {"+a,i=a+"}",o=G(mt(r),function(l){return l+n+G(mt(r[l]),function(u){return u+":"+r[l][u]+";"}).join(a)+i}).join(a),s=G(mt(e),function(l){return"@keyframes "+l+n+G(mt(e[l]),function(u){return u+n+G(mt(e[l][u]),function(f){var h=e[l][u][f];return f==="d"&&(h='path("'+h+'")'),f+":"+h+";"}).join(a)+i}).join(a)+i}).join(a);return!o&&!s?"":[""].join(a)}function Qp(r){return{zrId:r,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function Pb(r,e,t,a){return ae("svg","root",{width:r,height:e,xmlns:Db,"xmlns:xlink":Lb,version:"1.1",baseProfile:"full",viewBox:a?"0 0 "+r+" "+e:!1},t)}var Rb={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"},ti="transform-origin";function zV(r,e,t){var a=V({},r.shape);V(a,e),r.buildPath(t,a);var n=new Mb;return n.reset(o0(r)),t.rebuildPath(n,1),n.generateStr(),n.getStr()}function GV(r,e){var t=e.originX,a=e.originY;(t||a)&&(r[ti]=t+"px "+a+"px")}var FV={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function Eb(r,e){var t=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[t]=r,t}function HV(r,e,t){var a=r.shape.paths,n={},i,o;if(A(a,function(l){var u=Qp(t.zrId);u.animation=!0,xf(l,{},u,!0);var f=u.cssAnims,h=u.cssNodes,v=mt(f),c=v.length;if(c){o=v[c-1];var p=f[o];for(var d in p){var g=p[d];n[d]=n[d]||{d:""},n[d].d+=g.d||""}for(var y in h){var m=h[y].animation;m.indexOf(o)>=0&&(i=m)}}}),!!i){e.d=!1;var s=Eb(n,t);return i.replace(o,s)}}function kb(r){return U(r)?Rb[r]?"cubic-bezier("+Rb[r]+")":pv(r)?r:"":""}function xf(r,e,t,a){var n=r.animators,i=n.length,o=[];if(r instanceof dp){var s=HV(r,e,t);if(s)o.push(s);else if(!i)return}else if(!i)return;for(var l={},u=0;u0}).length){var dt=Eb(w,t);return dt+" "+m[0]+" both"}}for(var g in l){var s=d(l[g]);s&&o.push(s)}if(o.length){var y=t.zrId+"-cls-"+t.cssClassIdx++;t.cssNodes["."+y]={animation:o.join(",")},e.class=y}}var Ns=Math.round;function Ob(r){return r&&U(r.src)}function Nb(r){return r&&j(r.toDataURL)}function Jp(r,e,t,a){EV(function(n,i){var o=n==="fill"||n==="stroke";o&&i0(i)?Hb(e,r,n,a):o&&bv(i)?Wb(t,r,n,a):r[n]=i},e,t,!1),KV(t,r,a)}function Vb(r){return Da(r[0]-1)&&Da(r[1])&&Da(r[2])&&Da(r[3]-1)}function WV(r){return Da(r[4])&&Da(r[5])}function $p(r,e,t){if(e&&!(WV(e)&&Vb(e))){var a=t?10:1e4;r.transform=Vb(e)?"translate("+Ns(e[4]*a)/a+" "+Ns(e[5]*a)/a+")":W2(e)}}function Bb(r,e,t){for(var a=r.points,n=[],i=0;ii?(p=t[l+1]==null?null:t[l+1].elm,jb(r,p,t,n,l)):bf(r,e,a,i))}function oo(r,e){var t=e.elm=r.elm,a=r.children,n=e.children;r!==e&&(rd(r,e),ed(e.text)?Yr(a)&&Yr(n)?a!==n&&tB(t,a,n):Yr(n)?(Yr(r.text)&&td(t,""),jb(t,null,n,0,n.length-1)):Yr(a)?bf(t,a,0,a.length-1):Yr(r.text)&&td(t,""):r.text!==e.text&&(Yr(a)&&bf(t,a,0,a.length-1),td(t,e.text)))}function eB(r,e){if(Vs(r,e))oo(r,e);else{var t=r.elm,a=Xb(t);Bs(e),a!==null&&(ei(a,e.elm,qb(t)),bf(a,[r],0,0))}return e}var rB=0,aB=function(){function r(e,t,a){if(this.type="svg",this.refreshHover=Qb("refreshHover"),this.configLayer=Qb("configLayer"),this.storage=t,this._opts=a=V({},a),this.root=e,this._id="zr"+rB++,this._oldVNode=Pb(a.width,a.height),e&&!a.ssr){var n=this._viewport=document.createElement("div");n.style.cssText="position:relative;overflow:hidden";var i=this._svgDom=this._oldVNode.elm=Ib("svg");rd(null,this._oldVNode),n.appendChild(i),e.appendChild(n)}this.resize(a.width,a.height)}return r.prototype.getType=function(){return this.type},r.prototype.getViewportRoot=function(){return this._viewport},r.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},r.prototype.getSvgDom=function(){return this._svgDom},r.prototype.refresh=function(){if(this.root){var e=this.renderToVNode({willUpdate:!0});e.attrs.style="position:absolute;left:0;top:0;user-select:none",eB(this._oldVNode,e),this._oldVNode=e}},r.prototype.renderOneToVNode=function(e){return Fb(e,Qp(this._id))},r.prototype.renderToVNode=function(e){e=e||{};var t=this.storage.getDisplayList(!0),a=this._width,n=this._height,i=Qp(this._id);i.animation=e.animation,i.willUpdate=e.willUpdate,i.compress=e.compress;var o=[],s=this._bgVNode=nB(a,n,this._backgroundColor,i);s&&o.push(s);var l=e.compress?null:this._mainVNode=ae("g","main",{},[]);this._paintList(t,i,l?l.children:o),l&&o.push(l);var u=G(mt(i.defs),function(v){return i.defs[v]});if(u.length&&o.push(ae("defs","defs",{},u)),e.animation){var f=BV(i.cssNodes,i.cssAnims,{newline:!0});if(f){var h=ae("style","stl",{},[],f);o.push(h)}}return Pb(a,n,o,e.useViewBox)},r.prototype.renderToString=function(e){return e=e||{},jp(this.renderToVNode({animation:ft(e.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:ft(e.useViewBox,!0)}),{newline:!0})},r.prototype.setBackgroundColor=function(e){this._backgroundColor=e},r.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},r.prototype._paintList=function(e,t,a){for(var n=e.length,i=[],o=0,s,l,u=0,f=0;f=0&&!(v&&l&&v[d]===l[d]);d--);for(var g=p-1;g>d;g--)o--,s=i[o-1];for(var y=d+1;y1){var f=l.shift();l.length===1&&(a[s]=l[0]),this._update&&this._update(f,o)}else u===1?(a[s]=null,this._update&&this._update(l,o)):this._remove&&this._remove(o)}this._performRestAdd(i,a)},r.prototype._executeMultiple=function(){var e=this._old,t=this._new,a={},n={},i=[],o=[];this._initIndexMap(e,a,i,"_oldKeyGetter"),this._initIndexMap(t,n,o,"_newKeyGetter");for(var s=0;s1&&v===1)this._updateManyToOne&&this._updateManyToOne(f,u),n[l]=null;else if(h===1&&v>1)this._updateOneToMany&&this._updateOneToMany(f,u),n[l]=null;else if(h===1&&v===1)this._update&&this._update(f,u),n[l]=null;else if(h>1&&v>1)this._updateManyToMany&&this._updateManyToMany(f,u),n[l]=null;else if(h>1)for(var c=0;c1)for(var s=0;s30}var Gs=tt,Ga=G,pB=typeof Int32Array=="undefined"?Array:Int32Array,dB="e\0\0",nw=-1,gB=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],yB=["_approximateExtent"],iw,Cf,Fs,Hs,nd,Af,id,mB=function(){function r(e,t){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","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var a,n=!1;tw(e)?(a=e.dimensions,this._dimOmitted=e.isDimensionOmitted(),this._schema=e):(n=!0,a=e),a=a||["x","y"];for(var i={},o=[],s={},l=!1,u={},f=0;f=t)){var a=this._store,n=a.getProvider();this._updateOrdinalMeta();var i=this._nameList,o=this._idList,s=n.getSource().sourceFormat,l=s===Je;if(l&&!n.pure)for(var u=[],f=e;f0},r.prototype.ensureUniqueItemVisual=function(e,t){var a=this._itemVisuals,n=a[e];n||(n=a[e]={});var i=n[t];return i==null&&(i=this.getVisual(t),z(i)?i=i.slice():Gs(i)&&(i=V({},i)),n[t]=i),i},r.prototype.setItemVisual=function(e,t,a){var n=this._itemVisuals[e]||{};this._itemVisuals[e]=n,Gs(t)?V(n,t):n[t]=a},r.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},r.prototype.setLayout=function(e,t){Gs(e)?V(this._layout,e):this._layout[e]=t},r.prototype.getLayout=function(e){return this._layout[e]},r.prototype.getItemLayout=function(e){return this._itemLayouts[e]},r.prototype.setItemLayout=function(e,t,a){this._itemLayouts[e]=a?V(this._itemLayouts[e]||{},t):t},r.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},r.prototype.setItemGraphicEl=function(e,t){var a=this.hostModel&&this.hostModel.seriesIndex;vc(a,this.dataType,e,t),this._graphicEls[e]=t},r.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},r.prototype.eachItemGraphicEl=function(e,t){A(this._graphicEls,function(a,n){a&&e&&e.call(t,a,n)})},r.prototype.cloneShallow=function(e){return e||(e=new r(this._schema?this._schema:Ga(this.dimensions,this._getDimInfo,this),this.hostModel)),nd(e,this),e._store=this._store,e},r.prototype.wrapMethod=function(e,t){var a=this[e];j(a)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var n=a.apply(this,arguments);return t.apply(this,[n].concat(Zh(arguments)))})},r.internalField=function(){iw=function(e){var t=e._invertedIndicesMap;A(t,function(a,n){var i=e._dimInfos[n],o=i.ordinalMeta,s=e._store;if(o){a=t[n]=new pB(o.categories.length);for(var l=0;l1&&(l+="__ec__"+f),n[t]=l}}}(),r}(),De=mB;function jK(r,e){return so(r,e).dimensions}function so(r,e){qc(r)||(r=jc(r)),e=e||{};var t=e.coordDimensions||[],a=e.dimensionsDefine||r.dimensionsDefine||[],n=X(),i=[],o=SB(r,t,a,e.dimensionsCount),s=e.canOmitUnusedDimensions&&aw(o),l=a===r.dimensionsDefine,u=l?rw(r):ew(a),f=e.encodeDefine;!f&&e.encodeDefaulter&&(f=e.encodeDefaulter(r,o));for(var h=X(f),v=new u1(o),c=0;c0&&(a.name=n+(i-1)),i++,e.set(n,i)}}function SB(r,e,t,a){var n=Math.max(r.dimensionsDetectedCount||1,e.length,t.length,a||0);return A(e,function(i){var o;tt(i)&&(o=i.dimsDef)&&(n=Math.max(n,o.length))}),n}function xB(r,e,t){if(t||e.hasKey(r)){for(var a=0;e.hasKey(r+a);)a++;r+=a}return e.set(r,!0),r}var bB=function(){function r(e){this.coordSysDims=[],this.axisMap=X(),this.categoryAxisMap=X(),this.coordSysName=e}return r}();function wB(r){var e=r.get("coordinateSystem"),t=new bB(e),a=TB[e];if(a)return a(r,t,t.axisMap,t.categoryAxisMap),t}var TB={cartesian2d:function(r,e,t,a){var n=r.getReferringComponents("xAxis",Kt).models[0],i=r.getReferringComponents("yAxis",Kt).models[0];e.coordSysDims=["x","y"],t.set("x",n),t.set("y",i),lo(n)&&(a.set("x",n),e.firstCategoryDimIndex=0),lo(i)&&(a.set("y",i),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=1))},singleAxis:function(r,e,t,a){var n=r.getReferringComponents("singleAxis",Kt).models[0];e.coordSysDims=["single"],t.set("single",n),lo(n)&&(a.set("single",n),e.firstCategoryDimIndex=0)},polar:function(r,e,t,a){var n=r.getReferringComponents("polar",Kt).models[0],i=n.findAxisModel("radiusAxis"),o=n.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],t.set("radius",i),t.set("angle",o),lo(i)&&(a.set("radius",i),e.firstCategoryDimIndex=0),lo(o)&&(a.set("angle",o),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=1))},geo:function(r,e,t,a){e.coordSysDims=["lng","lat"]},parallel:function(r,e,t,a){var n=r.ecModel,i=n.getComponent("parallel",r.get("parallelIndex")),o=e.coordSysDims=i.dimensions.slice();A(i.parallelAxisIndex,function(s,l){var u=n.getComponent("parallelAxis",s),f=o[l];t.set(f,u),lo(u)&&(a.set(f,u),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=l))})}};function lo(r){return r.get("type")==="category"}function CB(r,e,t){t=t||{};var a=t.byIndex,n=t.stackedCoordDimension,i,o,s;AB(e)?i=e:(o=e.schema,i=o.dimensions,s=e.store);var l=!!(r&&r.get("stack")),u,f,h,v;if(A(i,function(m,_){U(m)&&(i[_]=m={name:m}),l&&!m.isExtraCoord&&(!a&&!u&&m.ordinalMeta&&(u=m),!f&&m.type!=="ordinal"&&m.type!=="time"&&(!n||n===m.coordDim)&&(f=m))}),f&&!a&&!u&&(a=!0),f){h="__\0ecstackresult_"+r.id,v="__\0ecstackedover_"+r.id,u&&(u.createInvertedIndices=!0);var c=f.coordDim,p=f.type,d=0;A(i,function(m){m.coordDim===c&&d++});var g={name:h,coordDim:c,coordDimIndex:d,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},y={name:v,coordDim:v,coordDimIndex:d+1,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};o?(s&&(g.storeDimIndex=s.ensureCalculationDimension(v,p),y.storeDimIndex=s.ensureCalculationDimension(h,p)),o.appendCalculationDimension(g),o.appendCalculationDimension(y)):(i.push(g),i.push(y))}return{stackedDimension:f&&f.name,stackedByDimension:u&&u.name,isStackedByIndex:a,stackedOverDimension:v,stackResultDimension:h}}function AB(r){return!tw(r.schema)}function Fa(r,e){return!!e&&e===r.getCalculationInfo("stackedDimension")}function ow(r,e){return Fa(r,e)?r.getCalculationInfo("stackResultDimension"):e}function MB(r,e){var t=r.get("coordinateSystem"),a=ps.get(t),n;return e&&e.coordSysDims&&(n=G(e.coordSysDims,function(i){var o={name:i},s=e.axisMap.get(i);if(s){var l=s.get("type");o.type=wf(l)}return o})),n||(n=a&&(a.getDimensionsInfo?a.getDimensionsInfo():a.dimensions.slice())||["x","y"]),n}function DB(r,e,t){var a,n;return t&&A(r,function(i,o){var s=i.coordDim,l=t.categoryAxisMap.get(s);l&&(a==null&&(a=o),i.ordinalMeta=l.getOrdinalMeta(),e&&(i.createInvertedIndices=!0)),i.otherDims.itemName!=null&&(n=!0)}),!n&&a!=null&&(r[a].otherDims.itemName=0),a}function LB(r,e,t){t=t||{};var a=e.getSourceManager(),n,i=!1;r?(i=!0,n=jc(r)):(n=a.getSource(),i=n.sourceFormat===Je);var o=wB(e),s=MB(e,o),l=t.useEncodeDefaulter,u=j(l)?l:l?it(wS,s,e):null,f={coordDimensions:s,generateCoord:t.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!i},h=so(n,f),v=DB(h.dimensions,t.createInvertedIndices,o),c=i?null:a.getSharedDataStore(h),p=CB(e,{schema:h,store:c}),d=new De(h,e);d.setCalculationInfo(p);var g=v!=null&&IB(n)?function(y,m,_,S){return S===v?_:this.defaultDimValueGetter(y,m,_,S)}:null;return d.hasItemOption=!1,d.initData(i?n:c,null,g),d}function IB(r){if(r.sourceFormat===Je){var e=PB(r.data||[]);return!z(Ri(e))}}function PB(r){for(var e=0;e-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.style.lineWidth=2),a},e.type="series.line",e.dependencies=["grid","polar"],e.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},e}(zt),EB=RB;function uo(r,e){var t=r.mapDimensionsAll("defaultedLabel"),a=t.length;if(a===1){var n=Zi(r,e,t[0]);return n!=null?n+"":null}else if(a){for(var i=[],o=0;o=0&&a.push(e[i])}return a.join(" ")}var kB=function(r){O(e,r);function e(t,a,n,i){var o=r.call(this)||this;return o.updateData(t,a,n,i),o}return e.prototype._createSymbol=function(t,a,n,i,o){this.removeAll();var s=Qt(t,-1,-1,2,2,null,o);s.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),s.drift=OB,this._symbolType=t,this.add(s)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){ia(this.childAt(0))},e.prototype.downplay=function(){oa(this.childAt(0))},e.prototype.setZ=function(t,a){var n=this.childAt(0);n.zlevel=t,n.z=a},e.prototype.setDraggable=function(t,a){var n=this.childAt(0);n.draggable=t,n.cursor=!a&&t?"move":n.cursor},e.prototype.updateData=function(t,a,n,i){this.silent=!1;var o=t.getItemVisual(a,"symbol")||"circle",s=t.hostModel,l=e.getSymbolSize(t,a),u=o!==this._symbolType,f=i&&i.disableAnimation;if(u){var h=t.getItemVisual(a,"symbolKeepAspect");this._createSymbol(o,t,a,l,h)}else{var v=this.childAt(0);v.silent=!1;var c={scaleX:l[0]/2,scaleY:l[1]/2};f?v.attr(c):Mt(v,c,s,a),gr(v)}if(this._updateCommon(t,a,l,n,i),u){var v=this.childAt(0);if(!f){var c={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:v.style.opacity}};v.scaleX=v.scaleY=0,v.style.opacity=0,Bt(v,c,s,a)}}f&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,a,n,i,o){var s=this.childAt(0),l=t.hostModel,u,f,h,v,c,p,d,g,y;if(i&&(u=i.emphasisItemStyle,f=i.blurItemStyle,h=i.selectItemStyle,v=i.focus,c=i.blurScope,d=i.labelStatesModels,g=i.hoverScale,y=i.cursorStyle,p=i.emphasisDisabled),!i||t.hasItemOption){var m=i&&i.itemModel?i.itemModel:t.getItemModel(a),_=m.getModel("emphasis");u=_.getModel("itemStyle").getItemStyle(),h=m.getModel(["select","itemStyle"]).getItemStyle(),f=m.getModel(["blur","itemStyle"]).getItemStyle(),v=_.get("focus"),c=_.get("blurScope"),p=_.get("disabled"),d=ee(m),g=_.getShallow("scale"),y=m.getShallow("cursor")}var S=t.getItemVisual(a,"symbolRotate");s.attr("rotation",(S||0)*Math.PI/180||0);var b=Zn(t.getItemVisual(a,"symbolOffset"),n);b&&(s.x=b[0],s.y=b[1]),y&&s.attr("cursor",y);var x=t.getItemVisual(a,"style"),w=x.fill;if(s instanceof le){var T=s.style;s.useStyle(V({image:T.image,x:T.x,y:T.y,width:T.width,height:T.height},x))}else s.__isEmptyBrush?s.useStyle(V({},x)):s.useStyle(x),s.style.decal=null,s.setColor(w,o&&o.symbolInnerColor),s.style.strokeNoScale=!0;var C=t.getItemVisual(a,"liftZ"),M=this._z2;C!=null?M==null&&(this._z2=s.z2,s.z2+=C):M!=null&&(s.z2=M,this._z2=null);var D=o&&o.useNameLabel;fe(s,d,{labelFetcher:l,labelDataIndex:a,defaultText:L,inheritColor:w,defaultOpacity:x.opacity});function L(R){return D?t.getName(R):uo(t,R)}this._sizeX=n[0]/2,this._sizeY=n[1]/2;var I=s.ensureState("emphasis");I.style=u,s.ensureState("select").style=h,s.ensureState("blur").style=f;var P=g==null||g===!0?Math.max(1.1,3/this._sizeY):isFinite(g)&&g>0?+g:1;I.scaleX=this._sizeX*P,I.scaleY=this._sizeY*P,this.setSymbolScale(1),Ft(this,v,c,p)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,a,n){var i=this.childAt(0),o=nt(this).dataIndex,s=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var l=i.getTextContent();l&&Ea(l,{style:{opacity:0}},a,{dataIndex:o,removeOpt:s,cb:function(){i.removeTextContent()}})}else i.removeTextContent();Ea(i,{style:{opacity:0},scaleX:0,scaleY:0},a,{dataIndex:o,cb:t,removeOpt:s})},e.getSymbolSize=function(t,a){return ro(t.getItemVisual(a,"symbolSize"))},e}(at);function OB(r,e){this.parent.drift(r,e)}var Ws=kB;function od(r,e,t,a){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(a.isIgnore&&a.isIgnore(t))&&!(a.clipShape&&!a.clipShape.contain(e[0],e[1]))&&r.getItemVisual(t,"symbol")!=="none"}function lw(r){return r!=null&&!tt(r)&&(r={isIgnore:r}),r||{}}function uw(r){var e=r.hostModel,t=e.getModel("emphasis");return{emphasisItemStyle:t.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:t.get("focus"),blurScope:t.get("blurScope"),emphasisDisabled:t.get("disabled"),hoverScale:t.get("scale"),labelStatesModels:ee(e),cursorStyle:e.get("cursor")}}var NB=function(){function r(e){this.group=new at,this._SymbolCtor=e||Ws}return r.prototype.updateData=function(e,t){this._progressiveEls=null,t=lw(t);var a=this.group,n=e.hostModel,i=this._data,o=this._SymbolCtor,s=t.disableAnimation,l=uw(e),u={disableAnimation:s},f=t.getSymbolPoint||function(h){return e.getItemLayout(h)};i||a.removeAll(),e.diff(i).add(function(h){var v=f(h);if(od(e,v,h,t)){var c=new o(e,h,l,u);c.setPosition(v),e.setItemGraphicEl(h,c),a.add(c)}}).update(function(h,v){var c=i.getItemGraphicEl(v),p=f(h);if(!od(e,p,h,t)){a.remove(c);return}var d=e.getItemVisual(h,"symbol")||"circle",g=c&&c.getSymbolType&&c.getSymbolType();if(!c||g&&g!==d)a.remove(c),c=new o(e,h,l,u),c.setPosition(p);else{c.updateData(e,h,l,u);var y={x:p[0],y:p[1]};s?c.attr(y):Mt(c,y,n)}a.add(c),e.setItemGraphicEl(h,c)}).remove(function(h){var v=i.getItemGraphicEl(h);v&&v.fadeOut(function(){a.remove(v)},n)}).execute(),this._getSymbolPoint=f,this._data=e},r.prototype.updateLayout=function(){var e=this,t=this._data;t&&t.eachItemGraphicEl(function(a,n){var i=e._getSymbolPoint(n);a.setPosition(i),a.markRedraw()})},r.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=uw(e),this._data=null,this.group.removeAll()},r.prototype.incrementalUpdate=function(e,t,a){this._progressiveEls=[],a=lw(a);function n(l){l.isGroup||(l.incremental=!0,l.ensureState("emphasis").hoverLayer=!0)}for(var i=e.start;i0?t=a[0]:a[1]<0&&(t=a[1]),t}function hw(r,e,t,a){var n=NaN;r.stacked&&(n=t.get(t.getCalculationInfo("stackedOverDimension"),a)),isNaN(n)&&(n=r.valueStart);var i=r.baseDataOffset,o=[];return o[i]=t.get(r.baseDim,a),o[1-i]=n,e.dataToPoint(o)}var vw=typeof Float32Array!="undefined",BB=vw?Float32Array:Array;function Zr(r){return z(r)?vw?new Float32Array(r):r:new BB(r)}function zB(r,e){var t=[];return e.diff(r).add(function(a){t.push({cmd:"+",idx:a})}).update(function(a,n){t.push({cmd:"=",idx:n,idx1:a})}).remove(function(a){t.push({cmd:"-",idx:a})}).execute(),t}function GB(r,e,t,a,n,i,o,s){for(var l=zB(r,e),u=[],f=[],h=[],v=[],c=[],p=[],d=[],g=fw(n,e,o),y=r.getLayout("points")||[],m=e.getLayout("points")||[],_=0;_=n||d<0)break;if(ri(y,m)){if(l){d+=i;continue}break}if(d===t)r[i>0?"moveTo":"lineTo"](y,m),h=y,v=m;else{var _=y-u,S=m-f;if(_*_+S*S<.5){d+=i;continue}if(o>0){for(var b=d+i,x=e[b*2],w=e[b*2+1];x===y&&w===m&&g=a||ri(x,w))c=y,p=m;else{M=x-u,D=w-f;var P=y-u,R=x-y,E=m-f,N=w-m,k=void 0,B=void 0;if(s==="x"){k=Math.abs(P),B=Math.abs(R);var F=M>0?1:-1;c=y-F*k*o,p=m,L=y+F*B*o,I=m}else if(s==="y"){k=Math.abs(E),B=Math.abs(N);var W=D>0?1:-1;c=y,p=m-W*k*o,L=y,I=m+W*B*o}else k=Math.sqrt(P*P+E*E),B=Math.sqrt(R*R+N*N),C=B/(B+k),c=y-M*o*(1-C),p=m-D*o*(1-C),L=y+M*o*C,I=m+D*o*C,L=Ha(L,Wa(x,y)),I=Ha(I,Wa(w,m)),L=Wa(L,Ha(x,y)),I=Wa(I,Ha(w,m)),M=L-y,D=I-m,c=y-M*k/B,p=m-D*k/B,c=Ha(c,Wa(u,y)),p=Ha(p,Wa(f,m)),c=Wa(c,Ha(u,y)),p=Wa(p,Ha(f,m)),M=y-c,D=m-p,L=y+M*B/k,I=m+D*B/k}r.bezierCurveTo(h,v,c,p,y,m),h=L,v=I}else r.lineTo(y,m)}u=y,f=m,d+=i}return g}var cw=function(){function r(){this.smooth=0,this.smoothConstraint=!0}return r}(),FB=function(r){O(e,r);function e(t){var a=r.call(this,t)||this;return a.type="ec-polyline",a}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new cw},e.prototype.buildPath=function(t,a){var n=a.points,i=0,o=n.length/2;if(a.connectNulls){for(;o>0&&ri(n[o*2-2],n[o*2-1]);o--);for(;i=0){var S=u?(p-l)*_+l:(c-s)*_+s;return u?[t,S]:[S,t]}s=c,l=p;break;case o.C:c=i[h++],p=i[h++],d=i[h++],g=i[h++],y=i[h++],m=i[h++];var b=u?Yl(s,c,d,y,t,f):Yl(l,p,g,m,t,f);if(b>0)for(var x=0;x=0){var S=u?te(l,p,g,m,w):te(s,c,d,y,w);return u?[t,S]:[S,t]}}s=y,l=m;break}}},e}(yt),HB=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e}(cw),pw=function(r){O(e,r);function e(t){var a=r.call(this,t)||this;return a.type="ec-polygon",a}return e.prototype.getDefaultShape=function(){return new HB},e.prototype.buildPath=function(t,a){var n=a.points,i=a.stackedOnPoints,o=0,s=n.length/2,l=a.smoothMonotone;if(a.connectNulls){for(;s>0&&ri(n[s*2-2],n[s*2-1]);s--);for(;oe){i?t.push(o(i,l,e)):n&&t.push(o(n,l,0),o(n,l,e));break}else n&&(t.push(o(n,l,0)),n=null),t.push(l),i=l}return t}function YB(r,e,t){var a=r.getVisual("visualMeta");if(!(!a||!a.length||!r.count())&&e.type==="cartesian2d"){for(var n,i,o=a.length-1;o>=0;o--){var s=r.getDimensionInfo(a[o].dimension);if(n=s&&s.coordDim,n==="x"||n==="y"){i=a[o];break}}if(i){var l=e.getAxis(n),u=G(i.stops,function(_){return{coord:l.toGlobalCoord(l.dataToCoord(_.value)),color:_.color}}),f=u.length,h=i.outerColors.slice();f&&u[0].coord>u[f-1].coord&&(u.reverse(),h.reverse());var v=UB(u,n==="x"?t.getWidth():t.getHeight()),c=v.length;if(!c&&f)return u[0].coord<0?h[1]?h[1]:u[f-1].color:h[0]?h[0]:u[0].color;var p=10,d=v[0].coord-p,g=v[c-1].coord+p,y=g-d;if(y<.001)return"transparent";A(v,function(_){_.offset=(_.coord-d)/y}),v.push({offset:c?v[c-1].offset:.5,color:h[1]||"transparent"}),v.unshift({offset:c?v[0].offset:.5,color:h[0]||"transparent"});var m=new Qi(0,0,0,0,v,!0);return m[n]=d,m[n+"2"]=g,m}}}function ZB(r,e,t){var a=r.get("showAllSymbol"),n=a==="auto";if(!(a&&!n)){var i=t.getAxesByScale("ordinal")[0];if(i&&!(n&&XB(i,e))){var o=e.mapDimension(i.dim),s={};return A(i.getViewLabels(),function(l){var u=i.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(e.get(o,l))}}}}function XB(r,e){var t=r.getExtent(),a=Math.abs(t[1]-t[0])/r.scale.count();isNaN(a)&&(a=0);for(var n=e.count(),i=Math.max(1,Math.round(n/5)),o=0;oa)return!1;return!0}function qB(r,e){return isNaN(r)||isNaN(e)}function KB(r){for(var e=r.length/2;e>0&&qB(r[e*2-2],r[e*2-1]);e--);return e-1}function xw(r,e){return[r[e*2],r[e*2+1]]}function jB(r,e,t){for(var a=r.length/2,n=t==="x"?0:1,i,o,s=0,l=-1,u=0;u=e||i>=e&&o<=e){l=u;break}s=u,i=o}return{range:[s,l],t:(e-i)/(o-i)}}function bw(r){if(r.get(["endLabel","show"]))return!0;for(var e=0;e0&&t.get(["emphasis","lineStyle","width"])==="bolder"){var F=d.getState("emphasis").style;F.lineWidth=+d.style.lineWidth+1}nt(d).seriesIndex=t.seriesIndex,Ft(d,N,k,B);var W=Sw(t.get("smooth")),q=t.get("smoothMonotone");if(d.setShape({smooth:W,smoothMonotone:q,connectNulls:T}),g){var $=l.getCalculationInfo("stackedOnSeries"),Q=0;g.useStyle(J(f.getAreaStyle(),{fill:I,opacity:.7,lineJoin:"bevel",decal:l.getVisual("style").decal})),$&&(Q=Sw($.get("smooth"))),g.setShape({smooth:W,stackedOnSmooth:Q,smoothMonotone:q,connectNulls:T}),ue(g,t,"areaStyle"),nt(g).seriesIndex=t.seriesIndex,Ft(g,N,k,B)}var pt=function(_t){i._changePolyState(_t)};l.eachItemGraphicEl(function(_t){_t&&(_t.onHoverStateChange=pt)}),this._polyline.onHoverStateChange=pt,this._data=l,this._coordSys=o,this._stackedOnPoints=x,this._points=h,this._step=D,this._valueOrigin=S,t.get("triggerLineEvent")&&(this.packEventData(t,d),g&&this.packEventData(t,g))},e.prototype.packEventData=function(t,a){nt(a).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,a,n,i){var o=t.getData(),s=mn(o,i);if(this._changePolyState("emphasis"),!(s instanceof Array)&&s!=null&&s>=0){var l=o.getLayout("points"),u=o.getItemGraphicEl(s);if(!u){var f=l[s*2],h=l[s*2+1];if(isNaN(f)||isNaN(h)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(f,h))return;var v=t.get("zlevel")||0,c=t.get("z")||0;u=new Ws(o,s),u.x=f,u.y=h,u.setZ(v,c);var p=u.getSymbolPath().getTextContent();p&&(p.zlevel=v,p.z=c,p.z2=this._polyline.z2+1),u.__temp=!0,o.setItemGraphicEl(s,u),u.stopSymbolAnimation(!0),this.group.add(u)}u.highlight()}else Ot.prototype.highlight.call(this,t,a,n,i)},e.prototype.downplay=function(t,a,n,i){var o=t.getData(),s=mn(o,i);if(this._changePolyState("normal"),s!=null&&s>=0){var l=o.getItemGraphicEl(s);l&&(l.__temp?(o.setItemGraphicEl(s,null),this.group.remove(l)):l.downplay())}else Ot.prototype.downplay.call(this,t,a,n,i)},e.prototype._changePolyState=function(t){var a=this._polygon;Su(this._polyline,t),a&&Su(a,t)},e.prototype._newPolyline=function(t){var a=this._polyline;return a&&this._lineGroup.remove(a),a=new FB({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(a),this._polyline=a,a},e.prototype._newPolygon=function(t,a){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new pw({shape:{points:t,stackedOnPoints:a},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,a,n){var i,o,s=a.getBaseAxis(),l=s.inverse;a.type==="cartesian2d"?(i=s.isHorizontal(),o=!1):a.type==="polar"&&(i=s.dim==="angle",o=!0);var u=t.hostModel,f=u.get("animationDuration");j(f)&&(f=f(null));var h=u.get("animationDelay")||0,v=j(h)?h(null):h;t.eachItemGraphicEl(function(c,p){var d=c;if(d){var g=[c.x,c.y],y=void 0,m=void 0,_=void 0;if(n)if(o){var S=n,b=a.pointToCoord(g);i?(y=S.startAngle,m=S.endAngle,_=-b[1]/180*Math.PI):(y=S.r0,m=S.r,_=b[0])}else{var x=n;i?(y=x.x,m=x.x+x.width,_=c.x):(y=x.y+x.height,m=x.y,_=c.y)}var w=m===y?0:(_-y)/(m-y);l&&(w=1-w);var T=j(h)?h(p):f*w+v,C=d.getSymbolPath(),M=C.getTextContent();d.attr({scaleX:0,scaleY:0}),d.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:T}),M&&M.animateFrom({style:{opacity:0}},{duration:300,delay:T}),C.disableLabelAnimation=!0}})},e.prototype._initOrUpdateEndLabel=function(t,a,n){var i=t.getModel("endLabel");if(bw(t)){var o=t.getData(),s=this._polyline,l=o.getLayout("points");if(!l){s.removeTextContent(),this._endLabel=null;return}var u=this._endLabel;u||(u=this._endLabel=new bt({z2:200}),u.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var f=KB(l);f>=0&&(fe(s,ee(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:f,defaultText:function(h,v,c){return c!=null?sw(o,c):uo(o,h)},enableTextSetter:!0},QB(i,a)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,a,n,i,o,s,l){var u=this._endLabel,f=this._polyline;if(u){t<1&&i.originalX==null&&(i.originalX=u.x,i.originalY=u.y);var h=n.getLayout("points"),v=n.hostModel,c=v.get("connectNulls"),p=s.get("precision"),d=s.get("distance")||0,g=l.getBaseAxis(),y=g.isHorizontal(),m=g.inverse,_=a.shape,S=m?y?_.x:_.y+_.height:y?_.x+_.width:_.y,b=(y?d:0)*(m?-1:1),x=(y?0:-d)*(m?-1:1),w=y?"x":"y",T=jB(h,S,w),C=T.range,M=C[1]-C[0],D=void 0;if(M>=1){if(M>1&&!c){var L=xw(h,C[0]);u.attr({x:L[0]+b,y:L[1]+x}),o&&(D=v.getRawValue(C[0]))}else{var L=f.getPointOn(S,w);L&&u.attr({x:L[0]+b,y:L[1]+x});var I=v.getRawValue(C[0]),P=v.getRawValue(C[1]);o&&(D=Y0(n,p,I,P,T.t))}i.lastFrameIndex=C[0]}else{var R=t===1||i.lastFrameIndex>0?C[0]:0,L=xw(h,R);o&&(D=v.getRawValue(R)),u.attr({x:L[0]+b,y:L[1]+x})}if(o){var E=Bi(u);typeof E.setLabelText=="function"&&E.setLabelText(D)}}},e.prototype._doUpdateAnimation=function(t,a,n,i,o,s,l){var u=this._polyline,f=this._polygon,h=t.hostModel,v=GB(this._data,t,this._stackedOnPoints,a,this._coordSys,n,this._valueOrigin,s),c=v.current,p=v.stackedOnCurrent,d=v.next,g=v.stackedOnNext;if(o&&(c=Ua(v.current,n,o,l),p=Ua(v.stackedOnCurrent,n,o,l),d=Ua(v.next,n,o,l),g=Ua(v.stackedOnNext,n,o,l)),_w(c,d)>3e3||f&&_w(p,g)>3e3){u.stopAnimation(),u.setShape({points:d}),f&&(f.stopAnimation(),f.setShape({points:d,stackedOnPoints:g}));return}u.shape.__points=v.current,u.shape.points=c;var y={shape:{points:d}};v.current!==c&&(y.shape.__points=v.next),u.stopAnimation(),Mt(u,y,h),f&&(f.setShape({points:c,stackedOnPoints:p}),f.stopAnimation(),Mt(f,{shape:{stackedOnPoints:g}},h),u.shape.points!==f.shape.points&&(f.shape.points=u.shape.points));for(var m=[],_=v.status,S=0;S<_.length;S++){var b=_[S].cmd;if(b==="="){var x=t.getItemGraphicEl(_[S].idx1);x&&m.push({el:x,ptIdx:S})}}u.animators&&u.animators.length&&u.animators[0].during(function(){f&&f.dirtyShape();for(var w=u.shape.__points,T=0;Te&&(e=r[t]);return isFinite(e)?e:NaN},min:function(r){for(var e=1/0,t=0;t10&&o.type==="cartesian2d"&&i){var l=o.getBaseAxis(),u=o.getOtherAxis(l),f=l.getExtent(),h=a.getDevicePixelRatio(),v=Math.abs(f[1]-f[0])*(h||1),c=Math.round(s/v);if(isFinite(c)&&c>1){i==="lttb"&&e.setData(n.lttbDownSample(n.mapDimension(u.dim),1/c));var p=void 0;U(i)?p=tz[i]:j(i)&&(p=i),p&&e.setData(n.downSample(n.mapDimension(u.dim),1/c,p,ez))}}}}}function rz(r){r.registerChartView($B),r.registerSeriesModel(EB),r.registerLayout(Ys("line",!0)),r.registerVisual({seriesType:"line",reset:function(e){var t=e.getData(),a=e.getModel("lineStyle").getLineStyle();a&&!a.stroke&&(a.stroke=t.getVisual("style").fill),t.setVisual("legendLineStyle",a)}}),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,ww("line"))}var ud="__ec_stack_";function fd(r){return r.get("stack")||ud+r.seriesIndex}function hd(r){return r.dim+r.index}function az(r){var e=[],t=r.axis,a="axis0";if(t.type==="category"){for(var n=t.getBandWidth(),i=0;i0&&(i=i===null?s:Math.min(i,s))}t[a]=i}}return t}function Cw(r){var e=nz(r),t=[];return A(r,function(a){var n=a.coordinateSystem,i=n.getBaseAxis(),o=i.getExtent(),s;if(i.type==="category")s=i.getBandWidth();else if(i.type==="value"||i.type==="time"){var l=i.dim+"_"+i.index,u=e[l],f=Math.abs(o[1]-o[0]),h=i.scale.getExtent(),v=Math.abs(h[1]-h[0]);s=u?f/v*u:f}else{var c=a.getData();s=Math.abs(o[1]-o[0])/c.count()}var p=H(a.get("barWidth"),s),d=H(a.get("barMaxWidth"),s),g=H(a.get("barMinWidth")||(Iw(a)?.5:1),s),y=a.get("barGap"),m=a.get("barCategoryGap");t.push({bandWidth:s,barWidth:p,barMaxWidth:d,barMinWidth:g,barGap:y,barCategoryGap:m,axisKey:hd(i),stackId:fd(a)})}),Aw(t)}function Aw(r){var e={};A(r,function(a,n){var i=a.axisKey,o=a.bandWidth,s=e[i]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},l=s.stacks;e[i]=s;var u=a.stackId;l[u]||s.autoWidthCount++,l[u]=l[u]||{width:0,maxWidth:0};var f=a.barWidth;f&&!l[u].width&&(l[u].width=f,f=Math.min(s.remainedWidth,f),s.remainedWidth-=f);var h=a.barMaxWidth;h&&(l[u].maxWidth=h);var v=a.barMinWidth;v&&(l[u].minWidth=v);var c=a.barGap;c!=null&&(s.gap=c);var p=a.barCategoryGap;p!=null&&(s.categoryGap=p)});var t={};return A(e,function(a,n){t[n]={};var i=a.stacks,o=a.bandWidth,s=a.categoryGap;if(s==null){var l=mt(i).length;s=Math.max(35-l*4,15)+"%"}var u=H(s,o),f=H(a.gap,1),h=a.remainedWidth,v=a.autoWidthCount,c=(h-u)/(v+(v-1)*f);c=Math.max(c,0),A(i,function(y){var m=y.maxWidth,_=y.minWidth;if(y.width){var S=y.width;m&&(S=Math.min(S,m)),_&&(S=Math.max(S,_)),y.width=S,h-=S+f*S,v--}else{var S=c;m&&mS&&(S=_),S!==c&&(y.width=S,h-=S+f*S,v--)}}),c=(h-u)/(v+(v-1)*f),c=Math.max(c,0);var p=0,d;A(i,function(y,m){y.width||(y.width=c),d=y,p+=y.width*(1+f)}),d&&(p-=d.width*f);var g=-p/2;A(i,function(y,m){t[n][m]=t[n][m]||{bandWidth:o,offset:g,width:y.width},g+=y.width*(1+f)})}),t}function iz(r,e,t){if(r&&e){var a=r[hd(e)];return a!=null&&t!=null?a[fd(t)]:a}}function Mw(r,e){var t=Tw(r,e),a=Cw(t);A(t,function(n){var i=n.getData(),o=n.coordinateSystem,s=o.getBaseAxis(),l=fd(n),u=a[hd(s)][l],f=u.offset,h=u.width;i.setLayout({bandWidth:u.bandWidth,offset:f,size:h})})}function Dw(r){return{seriesType:r,plan:qi(),reset:function(e){if(Lw(e)){var t=e.getData(),a=e.coordinateSystem,n=a.getBaseAxis(),i=a.getOtherAxis(n),o=t.getDimensionIndex(t.mapDimension(i.dim)),s=t.getDimensionIndex(t.mapDimension(n.dim)),l=e.get("showBackground",!0),u=t.mapDimension(i.dim),f=t.getCalculationInfo("stackResultDimension"),h=Fa(t,u)&&!!t.getCalculationInfo("stackedOnSeries"),v=i.isHorizontal(),c=oz(n,i),p=Iw(e),d=e.get("barMinHeight")||0,g=f&&t.getDimensionIndex(f),y=t.getLayout("size"),m=t.getLayout("offset");return{progress:function(_,S){for(var b=_.count,x=p&&Zr(b*3),w=p&&l&&Zr(b*3),T=p&&Zr(b),C=a.master.getRect(),M=v?C.width:C.height,D,L=S.getStore(),I=0;(D=_.next())!=null;){var P=L.get(h?g:o,D),R=L.get(s,D),E=c,N=void 0;h&&(N=+P-L.get(o,D));var k=void 0,B=void 0,F=void 0,W=void 0;if(v){var q=a.dataToPoint([P,R]);if(h){var $=a.dataToPoint([N,R]);E=$[0]}k=E,B=q[1]+m,F=q[0]-E,W=y,Math.abs(F)d){m=(b+y)/2;break}S===1&&(_=x-p[0].tickValue)}m==null&&(y?y&&(m=p[p.length-1].coord):m=p[0].coord),s[c]=v.toGlobalCoord(m)}});else{var l=this.getData(),u=l.getLayout("offset"),f=l.getLayout("size"),h=i.getBaseAxis().isHorizontal()?0:1;s[h]+=u+f/2}return s}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(zt);zt.registerClass(Pw);var Df=Pw,sz=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.getInitialData=function(){return fa(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),a=this.get("largeThreshold");return a>t&&(t=a),t},e.prototype.brushSelector=function(t,a,n){return n.rect(a.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=ka(Df.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}),e}(Df),lz=sz,uz=function(){function r(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return r}(),fz=function(r){O(e,r);function e(t){var a=r.call(this,t)||this;return a.type="sausage",a}return e.prototype.getDefaultShape=function(){return new uz},e.prototype.buildPath=function(t,a){var n=a.cx,i=a.cy,o=Math.max(a.r0||0,0),s=Math.max(a.r,0),l=(s-o)*.5,u=o+l,f=a.startAngle,h=a.endAngle,v=a.clockwise,c=Math.PI*2,p=v?h-fMath.PI/2&&fs)return!0;s=h}return!1},e.prototype._isOrderDifferentInView=function(t,a){for(var n=a.scale,i=n.getExtent(),o=Math.max(0,i[0]),s=Math.min(i[1],n.getOrdinalMeta().categories.length-1);o<=s;++o)if(t.ordinalNumbers[o]!==n.getRawOrdinalNumber(o))return!0},e.prototype._updateSortWithinSameData=function(t,a,n,i){if(this._isOrderChangedWithinSameData(t,a,n)){var o=this._dataSort(t,n,a);this._isOrderDifferentInView(o,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:o}))}},e.prototype._dispatchInitSort=function(t,a,n){var i=a.baseAxis,o=this._dataSort(t,i,function(s){return t.get(t.mapDimension(a.otherAxis.dim),s)});n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:o})},e.prototype.remove=function(t,a){this._clear(this._model),this._removeOnRenderedListener(a)},e.prototype.dispose=function(t,a){this._removeOnRenderedListener(a)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var a=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl(function(i){ss(i,t,nt(i).dataIndex)})):a.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(Ot),Rw={cartesian2d:function(r,e){var t=e.width<0?-1:1,a=e.height<0?-1:1;t<0&&(e.x+=e.width,e.width=-e.width),a<0&&(e.y+=e.height,e.height=-e.height);var n=r.x+r.width,i=r.y+r.height,o=vd(e.x,r.x),s=cd(e.x+e.width,n),l=vd(e.y,r.y),u=cd(e.y+e.height,i),f=sn?s:o,e.y=h&&l>i?u:l,e.width=f?0:s-o,e.height=h?0:u-l,t<0&&(e.x+=e.width,e.width=-e.width),a<0&&(e.y+=e.height,e.height=-e.height),f||h},polar:function(r,e){var t=e.r0<=e.r?1:-1;if(t<0){var a=e.r;e.r=e.r0,e.r0=a}var n=cd(e.r,r.r),i=vd(e.r0,r.r0);e.r=n,e.r0=i;var o=n-i<0;if(t<0){var a=e.r;e.r=e.r0,e.r0=a}return o}},Ew={cartesian2d:function(r,e,t,a,n,i,o,s,l){var u=new xt({shape:V({},a),z2:1});if(u.__dataIndex=t,u.name="item",i){var f=u.shape,h=n?"height":"width";f[h]=0}return u},polar:function(r,e,t,a,n,i,o,s,l){var u=!n&&l?Lf:Re,f=new u({shape:a,z2:1});f.name="item";var h=Vw(n);if(f.calculateTextPosition=hz(h,{isRoundCap:u===Lf}),i){var v=f.shape,c=n?"r":"endAngle",p={};v[c]=n?a.r0:a.startAngle,p[c]=a[c],(s?Mt:Bt)(f,{shape:p},i)}return f}};function dz(r,e){var t=r.get("realtimeSort",!0),a=e.getBaseAxis();if(t&&a.type==="category"&&e.type==="cartesian2d")return{baseAxis:a,otherAxis:e.getOtherAxis(a)}}function kw(r,e,t,a,n,i,o,s){var l,u;i?(u={x:a.x,width:a.width},l={y:a.y,height:a.height}):(u={y:a.y,height:a.height},l={x:a.x,width:a.width}),s||(o?Mt:Bt)(t,{shape:l},e,n,null);var f=e?r.baseAxis.model:null;(o?Mt:Bt)(t,{shape:u},f,n)}function Ow(r,e){for(var t=0;t0?1:-1,o=a.height>0?1:-1;return{x:a.x+i*n/2,y:a.y+o*n/2,width:a.width-i*n,height:a.height-o*n}},polar:function(r,e,t){var a=r.getItemLayout(e);return{cx:a.cx,cy:a.cy,r0:a.r0,r:a.r,startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}}};function mz(r){return r.startAngle!=null&&r.endAngle!=null&&r.startAngle===r.endAngle}function Vw(r){return function(e){var t=e?"Arc":"Angle";return function(a){switch(a){case"start":case"insideStart":case"end":case"insideEnd":return a+t;default:return a}}}(r)}function Bw(r,e,t,a,n,i,o,s){var l=e.getItemVisual(t,"style");if(s){if(!i.get("roundCap")){var f=r.shape,h=ni(a.getModel("itemStyle"),f,!0);V(f,h),r.setShape(f)}}else{var u=a.get(["itemStyle","borderRadius"])||0;r.setShape("r",u)}r.useStyle(l);var v=a.getShallow("cursor");v&&r.attr("cursor",v);var c=s?o?n.r>=n.r0?"endArc":"startArc":n.endAngle>=n.startAngle?"endAngle":"startAngle":o?n.height>=0?"bottom":"top":n.width>=0?"right":"left",p=ee(a);fe(r,p,{labelFetcher:i,labelDataIndex:t,defaultText:uo(i.getData(),t),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:c});var d=r.getTextContent();if(s&&d){var g=a.get(["label","position"]);r.textConfig.inside=g==="middle"?!0:null,vz(r,g==="outside"?c:g,Vw(o),a.get(["label","rotate"]))}J_(d,p,i.getRawValue(t),function(m){return sw(e,m)});var y=a.getModel(["emphasis"]);Ft(r,y.get("focus"),y.get("blurScope"),y.get("disabled")),ue(r,a),mz(n)&&(r.style.fill="none",r.style.stroke="none",A(r.states,function(m){m.style&&(m.style.fill=m.style.stroke="none")}))}function _z(r,e){var t=r.get(["itemStyle","borderColor"]);if(!t||t==="none")return 0;var a=r.get(["itemStyle","borderWidth"])||0,n=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),i=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(a,n,i)}var Sz=function(){function r(){}return r}(),zw=function(r){O(e,r);function e(t){var a=r.call(this,t)||this;return a.type="largeBar",a}return e.prototype.getDefaultShape=function(){return new Sz},e.prototype.buildPath=function(t,a){for(var n=a.points,i=this.baseDimIdx,o=1-this.baseDimIdx,s=[],l=[],u=this.barWidth,f=0;f=0?t:null},30,!1);function xz(r,e,t){for(var a=r.baseDimIdx,n=1-a,i=r.shape.points,o=r.largeDataIndices,s=[],l=[],u=r.barWidth,f=0,h=i.length/3;f=s[0]&&e<=s[0]+l[0]&&t>=s[1]&&t<=s[1]+l[1])return o[f]}return-1}function Hw(r,e,t){if(ai(t,"cartesian2d")){var a=e,n=t.getArea();return{x:r?a.x:n.x,y:r?n.y:a.y,width:r?a.width:n.width,height:r?n.height:a.height}}else{var n=t.getArea(),i=e;return{cx:n.cx,cy:n.cy,r0:r?n.r0:i.r0,r:r?n.r:i.r,startAngle:r?i.startAngle:0,endAngle:r?i.endAngle:Math.PI*2}}}function bz(r,e,t){var a=r.type==="polar"?Re:xt;return new a({shape:Hw(e,t,r),silent:!0,z2:0})}var wz=pz;function Tz(r){r.registerChartView(wz),r.registerSeriesModel(lz),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,it(Mw,"bar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Dw("bar")),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,ww("bar")),r.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(e,t){var a=e.componentType||"series";t.eachComponent({mainType:a,query:e},function(n){e.sortInfo&&n.axis.setCategorySortInfo(e.sortInfo)})})}var Ef=Math.PI*2,Ww=Math.PI/180;function Uw(r,e){return $t(r.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function Yw(r,e){var t=Uw(r,e),a=r.get("center"),n=r.get("radius");z(n)||(n=[0,n]);var i=H(t.width,e.getWidth()),o=H(t.height,e.getHeight()),s=Math.min(i,o),l=H(n[0],s/2),u=H(n[1],s/2),f,h,v=r.coordinateSystem;if(v){var c=v.dataToPoint(a);f=c[0]||0,h=c[1]||0}else z(a)||(a=[a,a]),f=H(a[0],i)+t.x,h=H(a[1],o)+t.y;return{cx:f,cy:h,r0:l,r:u}}function Cz(r,e,t){e.eachSeriesByType(r,function(a){var n=a.getData(),i=n.mapDimension("value"),o=Uw(a,t),s=Yw(a,t),l=s.cx,u=s.cy,f=s.r,h=s.r0,v=-a.get("startAngle")*Ww,c=a.get("minAngle")*Ww,p=0;n.each(i,function(M){!isNaN(M)&&p++});var d=n.getSum(i),g=Math.PI/(d||p)*2,y=a.get("clockwise"),m=a.get("roseType"),_=a.get("stillShowZeroSum"),S=n.getDataExtent(i);S[0]=0;var b=Ef,x=0,w=v,T=y?1:-1;if(n.setLayout({viewRect:o,r:f}),n.each(i,function(M,D){var L;if(isNaN(M)){n.setItemLayout(D,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:y,cx:l,cy:u,r0:h,r:m?NaN:f});return}m!=="area"?L=d===0&&_?g:M*g:L=Ef/p,Lt?y:g,b=Math.abs(_.label.y-t);if(b>=S.maxY){var x=_.label.x-e-_.len2*n,w=a+_.len,T=Math.abs(x)r.unconstrainedWidth?null:c:null;a.setStyle("width",p)}var d=a.getBoundingRect();i.width=d.width;var g=(a.style.margin||0)+2.1;i.height=d.height+g,i.y-=(i.height-h)/2}}}function pd(r){return r.position==="center"}function Dz(r){var e=r.getData(),t=[],a,n,i=!1,o=(r.get("minShowLabelAngle")||0)*Az,s=e.getLayout("viewRect"),l=e.getLayout("r"),u=s.width,f=s.x,h=s.y,v=s.height;function c(x){x.ignore=!0}function p(x){if(!x.ignore)return!0;for(var w in x.states)if(x.states[w].ignore===!1)return!0;return!1}e.each(function(x){var w=e.getItemGraphicEl(x),T=w.shape,C=w.getTextContent(),M=w.getTextGuideLine(),D=e.getItemModel(x),L=D.getModel("label"),I=L.get("position")||D.get(["emphasis","label","position"]),P=L.get("distanceToLabelLine"),R=L.get("alignTo"),E=H(L.get("edgeDistance"),u),N=L.get("bleedMargin"),k=D.getModel("labelLine"),B=k.get("length");B=H(B,u);var F=k.get("length2");if(F=H(F,u),Math.abs(T.endAngle-T.startAngle)0?"right":"left":q>0?"left":"right"}var Yt=Math.PI,Wt=0,me=L.get("rotate");if(Ct(me))Wt=me*(Yt/180);else if(I==="center")Wt=0;else if(me==="radial"||me===!0){var ma=q<0?-W+Yt:-W;Wt=ma}else if(me==="tangential"&&I!=="outside"&&I!=="outer"){var Be=Math.atan2(q,$);Be<0&&(Be=Yt*2+Be);var Nh=$>0;Nh&&(Be=Yt+Be),Wt=Be-Yt}if(i=!!Wt,C.x=Q,C.y=pt,C.rotation=Wt,C.setStyle({verticalAlign:"middle"}),rt){C.setStyle({align:dt});var lm=C.states.select;lm&&(lm.x+=C.x,lm.y+=C.y)}else{var en=C.getBoundingRect().clone();en.applyTransform(C.getComputedTransform());var DI=(C.style.margin||0)+2.1;en.y-=DI/2,en.height+=DI,t.push({label:C,labelLine:M,position:I,len:B,len2:F,minTurnAngle:k.get("minTurnAngle"),maxSurfaceAngle:k.get("maxSurfaceAngle"),surfaceNormal:new ot(q,$),linePoints:_t,textAlign:dt,labelDistance:P,labelAlignTo:R,edgeDistance:E,bleedMargin:N,rect:en,unconstrainedWidth:en.width,labelStyleWidth:C.style.width})}w.setTextConfig({inside:rt})}}),!i&&r.get("avoidLabelOverlap")&&Mz(t,a,n,l,u,v,f,h);for(var d=0;d0){for(var f=o.getItemLayout(0),h=1;isNaN(f&&f.startAngle)&&h=i.r0}},e.type="pie",e}(Ot),Pz=Iz;function fo(r,e,t){e=z(e)&&{coordDimensions:e}||V({encodeDefine:r.getEncode()},e);var a=r.getSource(),n=so(a,e).dimensions,i=new De(n,r);return i.initData(a,t),i}var Rz=function(){function r(e,t){this._getDataWithEncodedVisual=e,this._getRawData=t}return r.prototype.getAllNames=function(){var e=this._getRawData();return e.mapArray(e.getName)},r.prototype.containName=function(e){var t=this._getRawData();return t.indexOfName(e)>=0},r.prototype.indexOfName=function(e){var t=this._getDataWithEncodedVisual();return t.indexOfName(e)},r.prototype.getItemVisual=function(e,t){var a=this._getDataWithEncodedVisual();return a.getItemVisual(e,t)},r}(),Xs=Rz,Ez=St(),kz=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.init=function(t){r.prototype.init.apply(this,arguments),this.legendVisualProvider=new Xs(Y(this.getData,this),Y(this.getRawData,this)),this._defaultLabelLine(t)},e.prototype.mergeOption=function(){r.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return fo(this,{coordDimensions:["value"],encodeDefaulter:it(Gc,this)})},e.prototype.getDataParams=function(t){var a=this.getData(),n=Ez(a),i=n.seats;if(!i){var o=[];a.each(a.mapDimension("value"),function(l){o.push(l)}),i=n.seats=L0(o,a.hostModel.get("percentPrecision"))}var s=r.prototype.getDataParams.call(this,t);return s.percent=i[t]||0,s.$vars.push("percent"),s},e.prototype._defaultLabelLine=function(t){yn(t,"labelLine",["show"]);var a=t.labelLine,n=t.emphasis.labelLine;a.show=a.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,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"},e}(zt),Oz=kz;function Nz(r){return{seriesType:r,reset:function(e,t){var a=e.getData();a.filterSelf(function(n){var i=a.mapDimension("value"),o=a.get(i,n);return!(Ct(o)&&!isNaN(o)&&o<0)})}}}function Vz(r){r.registerChartView(Pz),r.registerSeriesModel(Oz),Tx("pie",r.registerAction),r.registerLayout(it(Cz,"pie")),r.registerProcessor(Zs("pie")),r.registerProcessor(Nz("pie"))}var Bz=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.hasSymbolVisual=!0,t}return e.prototype.getInitialData=function(t,a){return fa(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return t==null?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return t==null?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,a,n){return n.point(a.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(zt),zz=Bz,qw=4,Gz=function(){function r(){}return r}(),Fz=function(r){O(e,r);function e(t){var a=r.call(this,t)||this;return a._off=0,a.hoverDataIdx=-1,a}return e.prototype.getDefaultShape=function(){return new Gz},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,a){var n=a.points,i=a.size,o=this.symbolProxy,s=o.shape,l=t.getContext?t.getContext():t,u=l&&i[0]=0;u--){var f=u*2,h=i[f]-s/2,v=i[f+1]-l/2;if(t>=h&&a>=v&&t<=h+s&&a<=v+l)return u}return-1},e.prototype.contain=function(t,a){var n=this.transformCoordToLocal(t,a),i=this.getBoundingRect();if(t=n[0],a=n[1],i.contain(t,a)){var o=this.hoverDataIdx=this.findDataIndex(t,a);return o>=0}return this.hoverDataIdx=-1,!1},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var a=this.shape,n=a.points,i=a.size,o=i[0],s=i[1],l=1/0,u=1/0,f=-1/0,h=-1/0,v=0;v=0&&(u.dataIndex=h+(e.startIndex||0))})},r.prototype.remove=function(){this._clear()},r.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},r}(),Wz=Hz,Uz=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){var i=t.getData(),o=this._updateSymbolDraw(i,t);o.updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,a,n){var i=t.getData(),o=this._updateSymbolDraw(i,t);o.incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,a,n){this._symbolDraw.incrementalUpdate(t,a.getData(),{clipShape:this._getClipShape(a)}),this._finished=t.end===a.getData().count()},e.prototype.updateTransform=function(t,a,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var o=Ys("").reset(t,a,n);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){var a=t.coordinateSystem,n=a&&a.getArea&&a.getArea();return t.get("clip",!0)?n:null},e.prototype._updateSymbolDraw=function(t,a){var n=this._symbolDraw,i=a.pipelineContext,o=i.large;return(!n||o!==this._isLargeDraw)&&(n&&n.remove(),n=this._symbolDraw=o?new Wz:new Us,this._isLargeDraw=o,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,a){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(Ot),Yz=Uz,Zz=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.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"},e}(At),Xz=Zz,qs=function(){function r(){}return r.prototype.getNeedCrossZero=function(){var e=this.option;return!e.scale},r.prototype.getCoordSysModel=function(){},r}(),dd=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Kt).models[0]},e.type="cartesian2dAxis",e}(At);qt(dd,qs);var QK=null,Kw={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,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},qz=ut({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},Kw),gd=ut({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}}},Kw),Kz=ut({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},gd),jz=J({logBase:10},gd),jw={category:qz,value:gd,time:Kz,log:jz},Qz=0,Jz=function(){function r(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++Qz}return r.createByAxisModel=function(e){var t=e.option,a=t.data,n=a&&G(a,$z);return new r({categories:n,needCollect:!n,deduplication:t.dedplication!==!1})},r.prototype.getOrdinal=function(e){return this._getOrCreateMap().get(e)},r.prototype.parseAndCollect=function(e){var t,a=this._needCollect;if(!U(e)&&!a)return e;if(a&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,t;var n=this._getOrCreateMap();return t=n.get(e),t==null&&(a?(t=this.categories.length,this.categories[t]=e,n.set(e,t)):t=NaN),t},r.prototype._getOrCreateMap=function(){return this._map||(this._map=X(this.categories))},r}();function $z(r){return tt(r)&&r.value!=null?r.value:r+""}var yd=Jz,t5={value:1,category:1,time:1,log:1};function ho(r,e,t,a){A(t5,function(n,i){var o=ut(ut({},jw[i],!0),a,!0),s=function(l){O(u,l);function u(){var f=l!==null&&l.apply(this,arguments)||this;return f.type=e+"Axis."+i,f}return u.prototype.mergeDefaultAndTheme=function(f,h){var v=vs(this),c=v?Hi(f):{},p=h.getTheme();ut(f,p.get(i+"Axis")),ut(f,this.getDefaultOption()),f.type=Qw(f),v&&Oa(f,c,v)},u.prototype.optionUpdated=function(){var f=this.option;f.type==="category"&&(this.__ordinalMeta=yd.createByAxisModel(this))},u.prototype.getCategories=function(f){var h=this.option;if(h.type==="category")return f?h.data:this.__ordinalMeta.categories},u.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},u.type=e+"Axis."+i,u.defaultOption=o,u}(t);r.registerComponentModel(s)}),r.registerSubTypeDefaulter(e+"Axis",Qw)}function Qw(r){return r.type||(r.data?"category":"value")}var Jw=function(){function r(e){this._setting=e||{},this._extent=[1/0,-1/0]}return r.prototype.getSetting=function(e){return this._setting[e]},r.prototype.unionExtent=function(e){var t=this._extent;e[0]t[1]&&(t[1]=e[1])},r.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.setExtent=function(e,t){var a=this._extent;isNaN(e)||(a[0]=e),isNaN(t)||(a[1]=t)},r.prototype.isInExtentRange=function(e){return this._extent[0]<=e&&this._extent[1]>=e},r.prototype.isBlank=function(){return this._isBlank},r.prototype.setBlank=function(e){this._isBlank=e},r}();lu(Jw);var ha=Jw;function JK(r){var e=Math.pow(10,quantityExponent(Math.abs(r))),t=Math.abs(r/e);return t===0||t===1||t===2||t===3||t===5}function md(r){return r.type==="interval"||r.type==="log"}function e5(r,e,t,a){var n={},i=r[1]-r[0],o=n.interval=R0(i/e,!0);t!=null&&oa&&(o=n.interval=a);var s=n.intervalPrecision=$w(o),l=n.niceTickExtent=[Ut(Math.ceil(r[0]/o)*o,s),Ut(Math.floor(r[1]/o)*o,s)];return r5(l,r),n}function _d(r){var e=Math.pow(10,Uv(r)),t=r/e;return t?t===2?t=3:t===3?t=5:t*=2:t=1,Ut(t*e)}function $w(r){return Rr(r)+2}function tT(r,e,t){r[e]=Math.max(Math.min(r[e],t[1]),t[0])}function r5(r,e){!isFinite(r[0])&&(r[0]=e[0]),!isFinite(r[1])&&(r[1]=e[1]),tT(r,0,e),tT(r,1,e),r[0]>r[1]&&(r[0]=r[1])}function kf(r,e){return r>=e[0]&&r<=e[1]}function Of(r,e){return e[1]===e[0]?.5:(r-e[0])/(e[1]-e[0])}function Nf(r,e){return r*(e[1]-e[0])+e[0]}var eT=function(r){O(e,r);function e(t){var a=r.call(this,t)||this;a.type="ordinal";var n=a.getSetting("ordinalMeta");return n||(n=new yd({})),z(n)&&(n=new yd({categories:G(n,function(i){return tt(i)?i.value:i})})),a._ordinalMeta=n,a._extent=a.getSetting("extent")||[0,n.categories.length-1],a}return e.prototype.parse=function(t){return t==null?NaN:U(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return t=this.parse(t),kf(t,this._extent)&&this._ordinalMeta.categories[t]!=null},e.prototype.normalize=function(t){return t=this._getTickNumber(this.parse(t)),Of(t,this._extent)},e.prototype.scale=function(t){return t=Math.round(Nf(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],a=this._extent,n=a[0];n<=a[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(t==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var a=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],o=0,s=this._ordinalMeta.categories.length,l=Math.min(s,a.length);o=0&&t=0&&t=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(ha);ha.registerClass(eT);var Sd=eT,ii=Ut,rT=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="interval",t._interval=0,t._intervalPrecision=2,t}return e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return kf(t,this._extent)},e.prototype.normalize=function(t){return Of(t,this._extent)},e.prototype.scale=function(t){return Nf(t,this._extent)},e.prototype.setExtent=function(t,a){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(a)||(n[1]=parseFloat(a))},e.prototype.unionExtent=function(t){var a=this._extent;t[0]a[1]&&(a[1]=t[1]),this.setExtent(a[0],a[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=$w(t)},e.prototype.getTicks=function(t){var a=this._interval,n=this._extent,i=this._niceExtent,o=this._intervalPrecision,s=[];if(!a)return s;var l=1e4;n[0]l)return[];var f=s.length?s[s.length-1].value:i[1];return n[1]>f&&(t?s.push({value:ii(f+a,o)}):s.push({value:n[1]})),s},e.prototype.getMinorTicks=function(t){for(var a=this.getTicks(!0),n=[],i=this.getExtent(),o=1;oi[0]&&c>>1;r[n][1]n&&(this._approxInterval=n);var s=Vf.length,l=Math.min(a5(Vf,this._approxInterval,0,s),s-1);this._interval=Vf[l][1],this._minLevelUnit=Vf[Math.max(l-1,0)][0]},e.prototype.parse=function(t){return Ct(t)?t:+pr(t)},e.prototype.contain=function(t){return kf(this.parse(t),this._extent)},e.prototype.normalize=function(t){return Of(this.parse(t),this._extent)},e.prototype.scale=function(t){return Nf(t,this._extent)},e.type="time",e}(Ya),Vf=[["second",Ic],["minute",Pc],["hour",us],["quarter-day",us*6],["half-day",us*12],["day",Qe*1.2],["half-week",Qe*3.5],["week",Qe*7],["month",Qe*31],["quarter",Qe*95],["half-year",nS/2],["year",nS]];function n5(r,e,t,a){var n=pr(e),i=pr(t),o=function(p){return lS(n,p,a)===lS(i,p,a)},s=function(){return o("year")},l=function(){return s()&&o("month")},u=function(){return l()&&o("day")},f=function(){return u()&&o("hour")},h=function(){return f()&&o("minute")},v=function(){return h()&&o("second")},c=function(){return v()&&o("millisecond")};switch(r){case"year":return s();case"month":return l();case"day":return u();case"hour":return f();case"minute":return h();case"second":return v();case"millisecond":return c()}}function i5(r,e){return r/=Qe,r>16?16:r>7.5?7:r>3.5?4:r>1.5?2:1}function o5(r){var e=30*Qe;return r/=e,r>6?6:r>3?3:r>2?2:1}function s5(r){return r/=us,r>12?12:r>6?6:r>3.5?4:r>2?2:1}function nT(r,e){return r/=e?Pc:Ic,r>30?30:r>20?20:r>15?15:r>10?10:r>5?5:r>2?2:1}function l5(r){return R0(r,!0)}function u5(r,e,t){var a=new Date(r);switch(Gi(e)){case"year":case"month":a[uS(t)](0);case"day":a[fS(t)](1);case"hour":a[hS(t)](0);case"minute":a[vS(t)](0);case"second":a[cS(t)](0),a[pS(t)](0)}return a.getTime()}function f5(r,e,t,a){var n=1e4,i=oS,o=0;function s(M,D,L,I,P,R,E){for(var N=new Date(D),k=D,B=N[I]();k1&&R===0&&L.unshift({value:L[0].value-k})}}for(var R=0;R=a[0]&&m<=a[1]&&h++)}var _=(a[1]-a[0])/e;if(h>_*1.5&&v>_/1.5||(u.push(g),h>_||r===i[c]))break}f=[]}}}for(var S=It(G(u,function(M){return It(M,function(D){return D.value>=a[0]&&D.value<=a[1]&&!D.notAdd})}),function(M){return M.length>0}),b=[],x=S.length-1,c=0;c0;)i*=10;var s=[Ut(c5(a[0]/i)*i),Ut(v5(a[1]/i)*i)];this._interval=i,this._niceExtent=s}},e.prototype.calcNiceExtent=function(t){Ks.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return t=Tr(t)/Tr(this.base),kf(t,this._extent)},e.prototype.normalize=function(t){return t=Tr(t)/Tr(this.base),Of(t,this._extent)},e.prototype.scale=function(t){return t=Nf(t,this._extent),Bf(this.base,t)},e.type="log",e}(ha),sT=xd.prototype;sT.getMinorTicks=Ks.getMinorTicks,sT.getLabel=Ks.getLabel;function zf(r,e){return h5(r,Rr(e))}ha.registerClass(xd);var p5=xd,d5=function(){function r(e,t,a){this._prepareParams(e,t,a)}return r.prototype._prepareParams=function(e,t,a){a[1]0&&l>0&&!u&&(s=0),s<0&&l<0&&!f&&(l=0));var v=this._determinedMin,c=this._determinedMax;return v!=null&&(s=v,u=!0),c!=null&&(l=c,f=!0),{min:s,max:l,minFixed:u,maxFixed:f,isBlank:h}},r.prototype.modifyDataMinMax=function(e,t){this[y5[e]]=t},r.prototype.setDeterminedMinMax=function(e,t){var a=g5[e];this[a]=t},r.prototype.freeze=function(){this.frozen=!0},r}(),g5={min:"_determinedMin",max:"_determinedMax"},y5={min:"_dataMin",max:"_dataMax"};function lT(r,e,t){var a=r.rawExtentInfo;return a||(a=new d5(r,e,t),r.rawExtentInfo=a,a)}function Gf(r,e){return e==null?null:Po(e)?NaN:r.parse(e)}function uT(r,e){var t=r.type,a=lT(r,e,r.getExtent()).calculate();r.setBlank(a.isBlank);var n=a.min,i=a.max,o=e.ecModel;if(o&&t==="time"){var s=Tw("bar",o),l=!1;if(A(s,function(h){l=l||h.getBaseAxis()===e.axis}),l){var u=Cw(s),f=m5(n,i,e,u);n=f.min,i=f.max}}return{extent:[n,i],fixMin:a.minFixed,fixMax:a.maxFixed}}function m5(r,e,t,a){var n=t.axis.getExtent(),i=n[1]-n[0],o=iz(a,t.axis);if(o===void 0)return{min:r,max:e};var s=1/0;A(o,function(c){s=Math.min(c.offset,s)});var l=-1/0;A(o,function(c){l=Math.max(c.offset+c.width,l)}),s=Math.abs(s),l=Math.abs(l);var u=s+l,f=e-r,h=1-(s+l)/i,v=f/h-f;return e+=v*(l/u),r-=v*(s/u),{min:r,max:e}}function vo(r,e){var t=e,a=uT(r,t),n=a.extent,i=t.get("splitNumber");r instanceof p5&&(r.base=t.get("logBase"));var o=r.type,s=t.get("interval"),l=o==="interval"||o==="time";r.setExtent(n[0],n[1]),r.calcNiceExtent({splitNumber:i,fixMin:a.fixMin,fixMax:a.fixMax,minInterval:l?t.get("minInterval"):null,maxInterval:l?t.get("maxInterval"):null}),s!=null&&r.setInterval&&r.setInterval(s)}function Ff(r,e){if(e=e||r.get("type"),e)switch(e){case"category":return new Sd({ordinalMeta:r.getOrdinalMeta?r.getOrdinalMeta():r.getCategories(),extent:[1/0,-1/0]});case"time":return new iT({locale:r.ecModel.getLocaleModel(),useUTC:r.ecModel.get("useUTC")});default:return new(ha.getClass(e)||Ya)}}function _5(r){var e=r.scale.getExtent(),t=e[0],a=e[1];return!(t>0&&a>0||t<0&&a<0)}function js(r){var e=r.getLabelModel().get("formatter"),t=r.type==="category"?r.scale.getExtent()[0]:null;return r.scale.type==="time"?function(a){return function(n,i){return r.scale.getFormattedLabel(n,i,a)}}(e):U(e)?function(a){return function(n){var i=r.scale.getLabel(n),o=a.replace("{value}",i!=null?i:"");return o}}(e):j(e)?function(a){return function(n,i){return t!=null&&(i=n.value-t),a(bd(r,n),i,n.level!=null?{level:n.level}:null)}}(e):function(a){return r.scale.getLabel(a)}}function bd(r,e){return r.type==="category"?r.scale.getLabel(e):e.value}function S5(r){var e=r.model,t=r.scale;if(!(!e.get(["axisLabel","show"])||t.isBlank())){var a,n,i=t.getExtent();t instanceof Sd?n=t.count():(a=t.getTicks(),n=a.length);var o=r.getLabelModel(),s=js(r),l,u=1;n>40&&(u=Math.ceil(n/40));for(var f=0;fr[1]&&(r[1]=n[1])})}var w5=function(){function r(e){this.type="cartesian",this._dimList=[],this._axes={},this.name=e||""}return r.prototype.getAxis=function(e){return this._axes[e]},r.prototype.getAxes=function(){return G(this._dimList,function(e){return this._axes[e]},this)},r.prototype.getAxesByScale=function(e){return e=e.toLowerCase(),It(this.getAxes(),function(t){return t.scale.type===e})},r.prototype.addAxis=function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},r}(),T5=w5,Td=["x","y"];function hT(r){return r.type==="interval"||r.type==="time"}var C5=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="cartesian2d",t.dimensions=Td,t}return e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,a=this.getAxis("y").scale;if(!(!hT(t)||!hT(a))){var n=t.getExtent(),i=a.getExtent(),o=this.dataToPoint([n[0],i[0]]),s=this.dataToPoint([n[1],i[1]]),l=n[1]-n[0],u=i[1]-i[0];if(!(!l||!u)){var f=(s[0]-o[0])/l,h=(s[1]-o[1])/u,v=o[0]-n[0]*f,c=o[1]-i[0]*h,p=this._transform=[f,0,0,h,v,c];this._invTransform=Ti([],p)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var a=this.getAxis("x"),n=this.getAxis("y");return a.contain(a.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,a){var n=this.dataToPoint(t),i=this.dataToPoint(a),o=this.getArea(),s=new ht(n[0],n[1],i[0]-n[0],i[1]-n[1]);return o.intersect(s)},e.prototype.dataToPoint=function(t,a,n){n=n||[];var i=t[0],o=t[1];if(this._transform&&i!=null&&isFinite(i)&&o!=null&&isFinite(o))return se(n,t,this._transform);var s=this.getAxis("x"),l=this.getAxis("y");return n[0]=s.toGlobalCoord(s.dataToCoord(i,a)),n[1]=l.toGlobalCoord(l.dataToCoord(o,a)),n},e.prototype.clampData=function(t,a){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,o=n.getExtent(),s=i.getExtent(),l=n.parse(t[0]),u=i.parse(t[1]);return a=a||[],a[0]=Math.min(Math.max(Math.min(o[0],o[1]),l),Math.max(o[0],o[1])),a[1]=Math.min(Math.max(Math.min(s[0],s[1]),u),Math.max(s[0],s[1])),a},e.prototype.pointToData=function(t,a){var n=[];if(this._invTransform)return se(n,t,this._invTransform);var i=this.getAxis("x"),o=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),a),n[1]=o.coordToData(o.toLocalCoord(t[1]),a),n},e.prototype.getOtherAxis=function(t){return this.getAxis(t.dim==="x"?"y":"x")},e.prototype.getArea=function(){var t=this.getAxis("x").getGlobalExtent(),a=this.getAxis("y").getGlobalExtent(),n=Math.min(t[0],t[1]),i=Math.min(a[0],a[1]),o=Math.max(t[0],t[1])-n,s=Math.max(a[0],a[1])-i;return new ht(n,i,o,s)},e}(T5),A5=C5,Qs=St();function M5(r){return r.type==="category"?L5(r):P5(r)}function D5(r,e){return r.type==="category"?I5(r,e):{ticks:G(r.scale.getTicks(),function(t){return t.value})}}function L5(r){var e=r.getLabelModel(),t=vT(r,e);return!e.get("show")||r.scale.isBlank()?{labels:[],labelCategoryInterval:t.labelCategoryInterval}:t}function vT(r,e){var t=cT(r,"labels"),a=wd(e),n=pT(t,a);if(n)return n;var i,o;return j(a)?i=yT(r,a):(o=a==="auto"?R5(r):a,i=gT(r,o)),dT(t,a,{labels:i,labelCategoryInterval:o})}function I5(r,e){var t=cT(r,"ticks"),a=wd(e),n=pT(t,a);if(n)return n;var i,o;if((!e.get("show")||r.scale.isBlank())&&(i=[]),j(a))i=yT(r,a,!0);else if(a==="auto"){var s=vT(r,r.getLabelModel());o=s.labelCategoryInterval,i=G(s.labels,function(l){return l.tickValue})}else o=a,i=gT(r,o,!0);return dT(t,a,{ticks:i,tickCategoryInterval:o})}function P5(r){var e=r.scale.getTicks(),t=js(r);return{labels:G(e,function(a,n){return{level:a.level,formattedLabel:t(a,n),rawLabel:r.scale.getLabel(a),tickValue:a.value}})}}function cT(r,e){return Qs(r)[e]||(Qs(r)[e]=[])}function pT(r,e){for(var t=0;t40&&(s=Math.max(1,Math.floor(o/40)));for(var l=i[0],u=r.dataToCoord(l+1)-r.dataToCoord(l),f=Math.abs(u*Math.cos(a)),h=Math.abs(u*Math.sin(a)),v=0,c=0;l<=i[1];l+=s){var p=0,d=0,g=Xo(t({value:l}),e.font,"center","top");p=g.width*1.3,d=g.height*1.3,v=Math.max(v,p,7),c=Math.max(c,d,7)}var y=v/f,m=c/h;isNaN(y)&&(y=1/0),isNaN(m)&&(m=1/0);var _=Math.max(0,Math.floor(Math.min(y,m))),S=Qs(r.model),b=r.getExtent(),x=S.lastAutoInterval,w=S.lastTickCount;return x!=null&&w!=null&&Math.abs(x-_)<=1&&Math.abs(w-o)<=1&&x>_&&S.axisExtent0===b[0]&&S.axisExtent1===b[1]?_=x:(S.lastTickCount=o,S.lastAutoInterval=_,S.axisExtent0=b[0],S.axisExtent1=b[1]),_}function k5(r){var e=r.getLabelModel();return{axisRotate:r.getRotate?r.getRotate():r.isHorizontal&&!r.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function gT(r,e,t){var a=js(r),n=r.scale,i=n.getExtent(),o=r.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=i[0],f=n.count();u!==0&&l>1&&f/l>2&&(u=Math.round(Math.ceil(u/l)*l));var h=fT(r),v=o.get("showMinLabel")||h,c=o.get("showMaxLabel")||h;v&&u!==i[0]&&d(i[0]);for(var p=u;p<=i[1];p+=l)d(p);c&&p-l!==i[1]&&d(i[1]);function d(g){var y={value:g};s.push(t?g:{formattedLabel:a(y),rawLabel:n.getLabel(y),tickValue:g})}return s}function yT(r,e,t){var a=r.scale,n=js(r),i=[];return A(a.getTicks(),function(o){var s=a.getLabel(o),l=o.value;e(o.value,s)&&i.push(t?l:{formattedLabel:n(o),rawLabel:s,tickValue:l})}),i}var mT=[0,1],O5=function(){function r(e,t,a){this.onBand=!1,this.inverse=!1,this.dim=e,this.scale=t,this._extent=a||[0,0]}return r.prototype.contain=function(e){var t=this._extent,a=Math.min(t[0],t[1]),n=Math.max(t[0],t[1]);return e>=a&&e<=n},r.prototype.containData=function(e){return this.scale.contain(e)},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.getPixelPrecision=function(e){return D0(e||this.scale.getExtent(),this._extent)},r.prototype.setExtent=function(e,t){var a=this._extent;a[0]=e,a[1]=t},r.prototype.dataToCoord=function(e,t){var a=this._extent,n=this.scale;return e=n.normalize(e),this.onBand&&n.type==="ordinal"&&(a=a.slice(),_T(a,n.count())),Lt(e,mT,a,t)},r.prototype.coordToData=function(e,t){var a=this._extent,n=this.scale;this.onBand&&n.type==="ordinal"&&(a=a.slice(),_T(a,n.count()));var i=Lt(e,a,mT,t);return this.scale.scale(i)},r.prototype.pointToData=function(e,t){},r.prototype.getTicksCoords=function(e){e=e||{};var t=e.tickModel||this.getTickModel(),a=D5(this,t),n=a.ticks,i=G(n,function(s){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(s):s),tickValue:s}},this),o=t.get("alignWithLabel");return N5(this,i,o,e.clamp),i},r.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var e=this.model.getModel("minorTick"),t=e.get("splitNumber");t>0&&t<100||(t=5);var a=this.scale.getMinorTicks(t),n=G(a,function(i){return G(i,function(o){return{coord:this.dataToCoord(o),tickValue:o}},this)},this);return n},r.prototype.getViewLabels=function(){return M5(this).labels},r.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},r.prototype.getTickModel=function(){return this.model.getModel("axisTick")},r.prototype.getBandWidth=function(){var e=this._extent,t=this.scale.getExtent(),a=t[1]-t[0]+(this.onBand?1:0);a===0&&(a=1);var n=Math.abs(e[1]-e[0]);return Math.abs(n)/a},r.prototype.calculateCategoryInterval=function(){return E5(this)},r}();function _T(r,e){var t=r[1]-r[0],a=e,n=t/a/2;r[0]+=n,r[1]-=n}function N5(r,e,t,a){var n=e.length;if(!r.onBand||t||!n)return;var i=r.getExtent(),o,s;if(n===1)e[0].coord=i[0],o=e[1]={coord:i[1]};else{var l=e[n-1].tickValue-e[0].tickValue,u=(e[n-1].coord-e[0].coord)/l;A(e,function(c){c.coord-=u/2});var f=r.scale.getExtent();s=1+f[1]-e[n-1].tickValue,o={coord:e[n-1].coord+u*s},e.push(o)}var h=i[0]>i[1];v(e[0].coord,i[0])&&(a?e[0].coord=i[0]:e.shift()),a&&v(i[0],e[0].coord)&&e.unshift({coord:i[0]}),v(i[1],o.coord)&&(a?o.coord=i[1]:e.pop()),a&&v(o.coord,i[1])&&e.push({coord:i[1]});function v(c,p){return c=Ut(c),p=Ut(p),h?c>p:ca[1]&&a.reverse(),a},e.prototype.pointToData=function(t,a){return this.coordToData(this.toLocalCoord(t[this.dim==="x"?0:1]),a)},e.prototype.setCategorySortInfo=function(t){if(this.type!=="category")return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(Cr),B5=V5;function Cd(r,e,t){t=t||{};var a=r.coordinateSystem,n=e.axis,i={},o=n.getAxesOnZeroOf()[0],s=n.position,l=o?"onZero":s,u=n.dim,f=a.getRect(),h=[f.x,f.x+f.width,f.y,f.y+f.height],v={left:0,right:1,top:0,bottom:1,onZero:2},c=e.get("offset")||0,p=u==="x"?[h[2]-c,h[3]+c]:[h[0]-c,h[1]+c];if(o){var d=o.toGlobalCoord(o.dataToCoord(0));p[v.onZero]=Math.max(Math.min(d,p[1]),p[0])}i.position=[u==="y"?p[v[l]]:h[0],u==="x"?p[v[l]]:h[3]],i.rotation=Math.PI/2*(u==="x"?0:1);var g={top:-1,bottom:1,left:-1,right:1};i.labelDirection=i.tickDirection=i.nameDirection=g[s],i.labelOffset=o?p[v[s]]-p[v.onZero]:0,e.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),ne(t.labelInside,e.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection);var y=e.get(["axisLabel","rotate"]);return i.labelRotate=l==="top"?-y:y,i.z2=1,i}function ST(r){return r.get("coordinateSystem")==="cartesian2d"}function xT(r){var e={xAxisModel:null,yAxisModel:null};return A(e,function(t,a){var n=a.replace(/Model$/,""),i=r.getReferringComponents(n,Kt).models[0];e[a]=i}),e}var Ad=Math.log;function bT(r,e,t){var a=Ya.prototype,n=a.getTicks.call(t),i=a.getTicks.call(t,!0),o=n.length-1,s=a.getInterval.call(t),l=uT(r,e),u=l.extent,f=l.fixMin,h=l.fixMax;if(r.type==="log"){var v=Ad(r.base);u=[Ad(u[0])/v,Ad(u[1])/v]}r.setExtent(u[0],u[1]),r.calcNiceExtent({splitNumber:o,fixMin:f,fixMax:h});var c=a.getExtent.call(r);f&&(u[0]=c[0]),h&&(u[1]=c[1]);var p=a.getInterval.call(r),d=u[0],g=u[1];if(f&&h)p=(g-d)/o;else if(f)for(g=u[0]+p*o;gu[0]&&isFinite(d)&&isFinite(u[0]);)p=_d(p),d=u[1]-p*o;else{var y=r.getTicks().length-1;y>o&&(p=_d(p));var m=p*o;g=Math.ceil(u[1]/p)*p,d=Ut(g-m),d<0&&u[0]>=0?(d=0,g=Ut(m)):g>0&&u[1]<=0&&(g=0,d=-Ut(m))}var _=(n[0].value-i[0].value)/s,S=(n[o].value-i[o].value)/s;if(a.setExtent.call(r,d+p*_,g+p*S),a.setInterval.call(r,p),(_||S)&&a.setNiceExtent.call(r,d+p,g-p),!1)var b}var z5=function(){function r(e,t,a){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=Td,this._initCartesian(e,t,a),this.model=e}return r.prototype.getRect=function(){return this._rect},r.prototype.update=function(e,t){var a=this._axesMap;this._updateScale(e,this.model);function n(o){var s,l=mt(o),u=l.length;if(u){for(var f=[],h=u-1;h>=0;h--){var v=+l[h],c=o[v],p=c.model,d=c.scale;md(d)&&p.get("alignTicks")&&p.get("interval")==null?f.push(c):(vo(d,p),md(d)&&(s=c))}f.length&&(s||(s=f.pop(),vo(s.scale,s.model)),A(f,function(g){bT(g.scale,g.model,s.scale)}))}}n(a.x),n(a.y);var i={};A(a.x,function(o){wT(a,"y",o,i)}),A(a.y,function(o){wT(a,"x",o,i)}),this.resize(this.model,t)},r.prototype.resize=function(e,t,a){var n=e.getBoxLayoutParams(),i=!a&&e.get("containLabel"),o=$t(n,{width:t.getWidth(),height:t.getHeight()});this._rect=o;var s=this._axesList;l(),i&&(A(s,function(u){if(!u.model.get(["axisLabel","inside"])){var f=S5(u);if(f){var h=u.isHorizontal()?"height":"width",v=u.model.get(["axisLabel","margin"]);o[h]-=f[h]+v,u.position==="top"?o.y+=f.height+v:u.position==="left"&&(o.x+=f.width+v)}}}),l()),A(this._coordsList,function(u){u.calcAffineTransform()});function l(){A(s,function(u){var f=u.isHorizontal(),h=f?[0,o.width]:[0,o.height],v=u.inverse?1:0;u.setExtent(h[v],h[1-v]),G5(u,f?o.x:o.y)})}},r.prototype.getAxis=function(e,t){var a=this._axesMap[e];if(a!=null)return a[t||0]},r.prototype.getAxes=function(){return this._axesList.slice()},r.prototype.getCartesian=function(e,t){if(e!=null&&t!=null){var a="x"+e+"y"+t;return this._coordsMap[a]}tt(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var n=0,i=this._coordsList;n0?"top":"bottom",i="center"):su(n-Za)?(o=a>0?"bottom":"top",i="center"):(o="middle",n>0&&n0?"right":"left":i=a>0?"left":"right"),{rotation:n,textAlign:i,textVerticalAlign:o}},r.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},r.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)},r}(),CT={axisLine:function(r,e,t,a){var n=e.get(["axisLine","show"]);if(n==="auto"&&r.handleAutoShown&&(n=r.handleAutoShown("axisLine")),!!n){var i=e.axis.getExtent(),o=a.transform,s=[i[0],0],l=[i[1],0],u=s[0]>l[0];o&&(se(s,s,o),se(l,l,o));var f=V({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),h=new oe({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:f,strokeContainThreshold:r.strokeContainThreshold||5,silent:!0,z2:1});Ji(h.shape,h.style.lineWidth),h.anid="line",t.add(h);var v=e.get(["axisLine","symbol"]);if(v!=null){var c=e.get(["axisLine","symbolSize"]);U(v)&&(v=[v,v]),(U(c)||Ct(c))&&(c=[c,c]);var p=Zn(e.get(["axisLine","symbolOffset"])||0,c),d=c[0],g=c[1];A([{rotate:r.rotation+Math.PI/2,offset:p[0],r:0},{rotate:r.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(y,m){if(v[m]!=="none"&&v[m]!=null){var _=Qt(v[m],-d/2,-g/2,d,g,f.stroke,!0),S=y.r+y.offset,b=u?l:s;_.attr({rotation:y.rotate,x:b[0]+S*Math.cos(r.rotation),y:b[1]-S*Math.sin(r.rotation),silent:!0,z2:11}),t.add(_)}})}}},axisTickLabel:function(r,e,t,a){var n=U5(t,a,e,r),i=Z5(t,a,e,r);if(W5(e,i,n),Y5(t,a,e,r.tickDirection),e.get(["axisLabel","hideOverlap"])){var o=mb(G(i,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}}));xb(o)}},axisName:function(r,e,t,a){var n=ne(r.axisName,e.get("name"));if(n){var i=e.get("nameLocation"),o=r.nameDirection,s=e.getModel("nameTextStyle"),l=e.get("nameGap")||0,u=e.axis.getExtent(),f=u[0]>u[1]?-1:1,h=[i==="start"?u[0]-f*l:i==="end"?u[1]+f*l:(u[0]+u[1])/2,MT(i)?r.labelOffset+o*l:0],v,c=e.get("nameRotate");c!=null&&(c=c*Za/180);var p;MT(i)?v=oi.innerTextLayout(r.rotation,c!=null?c:r.rotation,o):(v=H5(r.rotation,i,c||0,u),p=r.axisNameAvailableWidth,p!=null&&(p=Math.abs(p/Math.sin(v.rotation)),!isFinite(p)&&(p=null)));var d=s.getFont(),g=e.get("nameTruncate",!0)||{},y=g.ellipsis,m=ne(r.nameTruncateMaxWidth,g.maxWidth,p),_=new bt({x:h[0],y:h[1],rotation:v.rotation,silent:oi.isLabelSilent(e),style:Et(s,{text:n,font:d,overflow:"truncate",width:m,ellipsis:y,fill:s.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:s.get("align")||v.textAlign,verticalAlign:s.get("verticalAlign")||v.textVerticalAlign}),z2:1});if($i({el:_,componentModel:e,itemName:n}),_.__fullText=n,_.anid="name",e.get("triggerEvent")){var S=oi.makeAxisEventDataBase(e);S.targetType="axisName",S.name=n,nt(_).eventData=S}a.add(_),_.updateTransform(),t.add(_),_.decomposeTransform()}}};function H5(r,e,t,a){var n=P0(t-r),i,o,s=a[0]>a[1],l=e==="start"&&!s||e!=="start"&&s;return su(n-Za/2)?(o=l?"bottom":"top",i="center"):su(n-Za*1.5)?(o=l?"top":"bottom",i="center"):(o="middle",nZa/2?i=l?"left":"right":i=l?"right":"left"),{rotation:n,textAlign:i,textVerticalAlign:o}}function W5(r,e,t){if(!fT(r.axis)){var a=r.get(["axisLabel","showMinLabel"]),n=r.get(["axisLabel","showMaxLabel"]);e=e||[],t=t||[];var i=e[0],o=e[1],s=e[e.length-1],l=e[e.length-2],u=t[0],f=t[1],h=t[t.length-1],v=t[t.length-2];a===!1?(ar(i),ar(u)):AT(i,o)&&(a?(ar(o),ar(f)):(ar(i),ar(u))),n===!1?(ar(s),ar(h)):AT(l,s)&&(n?(ar(l),ar(v)):(ar(s),ar(h)))}}function ar(r){r&&(r.ignore=!0)}function AT(r,e){var t=r&&r.getBoundingRect().clone(),a=e&&e.getBoundingRect().clone();if(!(!t||!a)){var n=Vl([]);return ln(n,n,-r.rotation),t.applyTransform(Jr([],n,r.getLocalTransform())),a.applyTransform(Jr([],n,e.getLocalTransform())),t.intersect(a)}}function MT(r){return r==="middle"||r==="center"}function DT(r,e,t,a,n){for(var i=[],o=[],s=[],l=0;l=0||r===e}function J5(r){var e=Ld(r);if(e){var t=e.axisPointerModel,a=e.axis.scale,n=t.option,i=t.get("status"),o=t.get("value");o!=null&&(o=a.parse(o));var s=Id(t);i==null&&(n.status=s?"show":"hide");var l=a.getExtent().slice();l[0]>l[1]&&l.reverse(),(o==null||o>l[1])&&(o=l[1]),o0&&!p.min?p.min=0:p.min!=null&&p.min<0&&!p.max&&(p.max=0);var d=l;p.color!=null&&(d=J({color:p.color},l));var g=ut(et(p),{boundaryGap:t,splitNumber:a,scale:n,axisLine:i,axisTick:o,axisLabel:s,name:p.text,showName:u,nameLocation:"end",nameGap:h,nameTextStyle:d,triggerEvent:v},!1);if(U(f)){var y=g.name;g.name=f.replace("{value}",y!=null?y:"")}else j(f)&&(g.name=f(g.name,g));var m=new kt(g,null,this.ecModel);return qt(m,qs.prototype),m.mainType="radar",m.componentIndex=this.componentIndex,m},this);this._indicatorModels=c},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:ut({lineStyle:{color:"#bbb"}},$s.axisLine),axisLabel:Wf($s.axisLabel,!1),axisTick:Wf($s.axisTick,!1),splitLine:Wf($s.splitLine,!0),splitArea:Wf($s.splitArea,!0),indicator:[]},e}(At),pG=cG,dG=["axisLine","axisTickLabel","axisName"],gG=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){var i=this.group;i.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var a=t.coordinateSystem,n=a.getIndicatorAxes(),i=G(n,function(o){var s=o.model.get("showName")?o.name:"",l=new va(o.model,{axisName:s,position:[a.cx,a.cy],rotation:o.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return l});A(i,function(o){A(dG,o.add,o),this.group.add(o.getGroup())},this)},e.prototype._buildSplitLineAndArea=function(t){var a=t.coordinateSystem,n=a.getIndicatorAxes();if(!n.length)return;var i=t.get("shape"),o=t.getModel("splitLine"),s=t.getModel("splitArea"),l=o.getModel("lineStyle"),u=s.getModel("areaStyle"),f=o.get("show"),h=s.get("show"),v=l.get("color"),c=u.get("color"),p=z(v)?v:[v],d=z(c)?c:[c],g=[],y=[];function m(R,E,N){var k=N%E.length;return R[k]=R[k]||[],k}if(i==="circle")for(var _=n[0].getTicksCoords(),S=a.cx,b=a.cy,x=0;x<_.length;x++){if(f){var w=m(g,p,x);g[w].push(new Gr({shape:{cx:S,cy:b,r:_[x].coord}}))}if(h&&x<_.length-1){var w=m(y,d,x);y[w].push(new Uu({shape:{cx:S,cy:b,r0:_[x].coord,r:_[x+1].coord}}))}}else for(var T,C=G(n,function(R,E){var N=R.getTicksCoords();return T=T==null?N.length-1:Math.min(N.length-1,T),G(N,function(k){return a.coordToPoint(k.coord,E)})}),M=[],x=0;x<=T;x++){for(var D=[],L=0;L3?1.4:o>1?1.2:1.1,f=i>0?u:1/u;Ed(this,"zoom","zoomOnMouseWheel",t,{scale:f,originX:s,originY:l,isAvailableBehavior:null})}if(n){var h=Math.abs(i),v=(i>0?1:-1)*(h>3?.4:h>1?.15:.05);Ed(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:v,originX:s,originY:l,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){if(!zT(this._zr,"globalPan")){var a=t.pinchScale>1?1.1:1/1.1;Ed(this,"zoom",null,t,{scale:a,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e}(We);function Ed(r,e,t,a,n){r.pointerChecker&&r.pointerChecker(a,n.originX,n.originY)&&(Qr(a.event),GT(r,e,t,a,n))}function GT(r,e,t,a,n){n.isAvailableBehavior=Y(Uf,null,t,a),r.trigger(e,n)}function Uf(r,e,t){var a=t[r];return!r||a&&(!U(a)||e.event[a+"Key"])}var tl=AG;function kd(r,e,t){var a=r.target;a.x+=e,a.y+=t,a.dirty()}function Od(r,e,t,a){var n=r.target,i=r.zoomLimit,o=r.zoom=r.zoom||1;if(o*=e,i){var s=i.min||0,l=i.max||1/0;o=Math.max(Math.min(l,o),s)}var u=o/r.zoom;r.zoom=o,n.x-=(t-n.x)*(u-1),n.y-=(a-n.y)*(u-1),n.scaleX*=u,n.scaleY*=u,n.dirty()}var MG={axisPointer:1,tooltip:1,brush:1};function Yf(r,e,t){var a=e.getComponentByElement(r.topTarget),n=a&&a.coordinateSystem;return a&&a!==t&&!MG.hasOwnProperty(a.mainType)&&n&&n.model!==t}function FT(r){if(U(r)){var e=new DOMParser;r=e.parseFromString(r,"text/xml")}var t=r;for(t.nodeType===9&&(t=t.firstChild);t.nodeName.toLowerCase()!=="svg"||t.nodeType!==1;)t=t.nextSibling;return t}var Nd,Zf={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},HT=mt(Zf),Xf={"alignment-baseline":"textBaseline","stop-color":"stopColor"},WT=mt(Xf),DG=function(){function r(){this._defs={},this._root=null}return r.prototype.parse=function(e,t){t=t||{};var a=FT(e);this._defsUsePending=[];var n=new at;this._root=n;var i=[],o=a.getAttribute("viewBox")||"",s=parseFloat(a.getAttribute("width")||t.width),l=parseFloat(a.getAttribute("height")||t.height);isNaN(s)&&(s=null),isNaN(l)&&(l=null),He(a,n,null,!0,!1);for(var u=a.firstChild;u;)this._parseNode(u,n,i,null,!1,!1),u=u.nextSibling;PG(this._defs,this._defsUsePending),this._defsUsePending=[];var f,h;if(o){var v=qf(o);v.length>=4&&(f={x:parseFloat(v[0]||0),y:parseFloat(v[1]||0),width:parseFloat(v[2]),height:parseFloat(v[3])})}if(f&&s!=null&&l!=null&&(h=QT(f,{x:0,y:0,width:s,height:l}),!t.ignoreViewBox)){var c=n;n=new at,n.add(c),c.scaleX=c.scaleY=h.scale,c.x=h.x,c.y=h.y}return!t.ignoreRootClip&&s!=null&&l!=null&&n.setClipPath(new xt({shape:{x:0,y:0,width:s,height:l}})),{root:n,width:s,height:l,viewBoxRect:f,viewBoxTransform:h,named:i}},r.prototype._parseNode=function(e,t,a,n,i,o){var s=e.nodeName.toLowerCase(),l,u=n;if(s==="defs"&&(i=!0),s==="text"&&(o=!0),s==="defs"||s==="switch")l=t;else{if(!i){var f=Nd[s];if(f&&Z(Nd,s)){l=f.call(this,e,t);var h=e.getAttribute("name");if(h){var v={name:h,namedFrom:null,svgNodeTagLower:s,el:l};a.push(v),s==="g"&&(u=v)}else n&&a.push({name:n.name,namedFrom:n,svgNodeTagLower:s,el:l});t.add(l)}}var c=UT[s];if(c&&Z(UT,s)){var p=c.call(this,e),d=e.getAttribute("id");d&&(this._defs[d]=p)}}if(l&&l.isGroup)for(var g=e.firstChild;g;)g.nodeType===1?this._parseNode(g,l,a,u,i,o):g.nodeType===3&&o&&this._parseText(g,l),g=g.nextSibling},r.prototype._parseText=function(e,t){var a=new es({style:{text:e.textContent},silent:!0,x:this._textX||0,y:this._textY||0});nr(t,a),He(e,a,this._defsUsePending,!1,!1),LG(a,t);var n=a.style,i=n.fontSize;i&&i<9&&(n.fontSize=9,a.scaleX*=i/9,a.scaleY*=i/9);var o=(n.fontSize||n.fontFamily)&&[n.fontStyle,n.fontWeight,(n.fontSize||12)+"px",n.fontFamily||"sans-serif"].join(" ");n.font=o;var s=a.getBoundingRect();return this._textX+=s.width,t.add(a),a},r.internalField=function(){Nd={g:function(e,t){var a=new at;return nr(t,a),He(e,a,this._defsUsePending,!1,!1),a},rect:function(e,t){var a=new xt;return nr(t,a),He(e,a,this._defsUsePending,!1,!1),a.setShape({x:parseFloat(e.getAttribute("x")||"0"),y:parseFloat(e.getAttribute("y")||"0"),width:parseFloat(e.getAttribute("width")||"0"),height:parseFloat(e.getAttribute("height")||"0")}),a.silent=!0,a},circle:function(e,t){var a=new Gr;return nr(t,a),He(e,a,this._defsUsePending,!1,!1),a.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),r:parseFloat(e.getAttribute("r")||"0")}),a.silent=!0,a},line:function(e,t){var a=new oe;return nr(t,a),He(e,a,this._defsUsePending,!1,!1),a.setShape({x1:parseFloat(e.getAttribute("x1")||"0"),y1:parseFloat(e.getAttribute("y1")||"0"),x2:parseFloat(e.getAttribute("x2")||"0"),y2:parseFloat(e.getAttribute("y2")||"0")}),a.silent=!0,a},ellipse:function(e,t){var a=new vp;return nr(t,a),He(e,a,this._defsUsePending,!1,!1),a.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),rx:parseFloat(e.getAttribute("rx")||"0"),ry:parseFloat(e.getAttribute("ry")||"0")}),a.silent=!0,a},polygon:function(e,t){var a=e.getAttribute("points"),n;a&&(n=XT(a));var i=new Ee({shape:{points:n||[]},silent:!0});return nr(t,i),He(e,i,this._defsUsePending,!1,!1),i},polyline:function(e,t){var a=e.getAttribute("points"),n;a&&(n=XT(a));var i=new ke({shape:{points:n||[]},silent:!0});return nr(t,i),He(e,i,this._defsUsePending,!1,!1),i},image:function(e,t){var a=new le;return nr(t,a),He(e,a,this._defsUsePending,!1,!1),a.setStyle({image:e.getAttribute("xlink:href")||e.getAttribute("href"),x:+e.getAttribute("x"),y:+e.getAttribute("y"),width:+e.getAttribute("width"),height:+e.getAttribute("height")}),a.silent=!0,a},text:function(e,t){var a=e.getAttribute("x")||"0",n=e.getAttribute("y")||"0",i=e.getAttribute("dx")||"0",o=e.getAttribute("dy")||"0";this._textX=parseFloat(a)+parseFloat(i),this._textY=parseFloat(n)+parseFloat(o);var s=new at;return nr(t,s),He(e,s,this._defsUsePending,!1,!0),s},tspan:function(e,t){var a=e.getAttribute("x"),n=e.getAttribute("y");a!=null&&(this._textX=parseFloat(a)),n!=null&&(this._textY=parseFloat(n));var i=e.getAttribute("dx")||"0",o=e.getAttribute("dy")||"0",s=new at;return nr(t,s),He(e,s,this._defsUsePending,!1,!0),this._textX+=parseFloat(i),this._textY+=parseFloat(o),s},path:function(e,t){var a=e.getAttribute("d")||"",n=O1(a);return nr(t,n),He(e,n,this._defsUsePending,!1,!1),n.silent=!0,n}}}(),r}(),UT={lineargradient:function(r){var e=parseInt(r.getAttribute("x1")||"0",10),t=parseInt(r.getAttribute("y1")||"0",10),a=parseInt(r.getAttribute("x2")||"10",10),n=parseInt(r.getAttribute("y2")||"0",10),i=new Qi(e,t,a,n);return YT(r,i),ZT(r,i),i},radialgradient:function(r){var e=parseInt(r.getAttribute("cx")||"0",10),t=parseInt(r.getAttribute("cy")||"0",10),a=parseInt(r.getAttribute("r")||"0",10),n=new j1(e,t,a);return YT(r,n),ZT(r,n),n}};function YT(r,e){var t=r.getAttribute("gradientUnits");t==="userSpaceOnUse"&&(e.global=!0)}function ZT(r,e){for(var t=r.firstChild;t;){if(t.nodeType===1&&t.nodeName.toLocaleLowerCase()==="stop"){var a=t.getAttribute("offset"),n=void 0;a&&a.indexOf("%")>0?n=parseInt(a,10)/100:a?n=parseFloat(a):n=0;var i={};jT(t,i,i);var o=i.stopColor||t.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:n,color:o})}t=t.nextSibling}}function nr(r,e){r&&r.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),J(e.__inheritedStyle,r.__inheritedStyle))}function XT(r){for(var e=qf(r),t=[],a=0;a0;i-=2){var o=a[i],s=a[i-1],l=qf(o);switch(n=n||Ye(),s){case"translate":Dr(n,n,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":sv(n,n,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":ln(n,n,-parseFloat(l[0])*Vd);break;case"skewX":var u=Math.tan(parseFloat(l[0])*Vd);Jr(n,[1,0,u,1,0,0],n);break;case"skewY":var f=Math.tan(parseFloat(l[0])*Vd);Jr(n,[1,f,0,1,0,0],n);break;case"matrix":n[0]=parseFloat(l[0]),n[1]=parseFloat(l[1]),n[2]=parseFloat(l[2]),n[3]=parseFloat(l[3]),n[4]=parseFloat(l[4]),n[5]=parseFloat(l[5]);break}}e.setLocalTransform(n)}}var KT=/([^\s:;]+)\s*:\s*([^:;]+)/g;function jT(r,e,t){var a=r.getAttribute("style");if(a){KT.lastIndex=0;for(var n;(n=KT.exec(a))!=null;){var i=n[1],o=Z(Zf,i)?Zf[i]:null;o&&(e[o]=n[2]);var s=Z(Xf,i)?Xf[i]:null;s&&(t[s]=n[2])}}}function OG(r,e,t){for(var a=0;an&&(a=o,n=l)}if(a)return zG(a.exterior);var u=this.getBoundingRect();return[u.x+u.width/2,u.y+u.height/2]},e.prototype.getBoundingRect=function(t){var a=this._rect;if(a&&!t)return a;var n=[1/0,1/0],i=[-1/0,-1/0],o=this.geometries;return A(o,function(s){s.type==="polygon"?$T(s.exterior,n,i,t):A(s.points,function(l){$T(l,n,i,t)})}),isFinite(n[0])&&isFinite(n[1])&&isFinite(i[0])&&isFinite(i[1])||(n[0]=n[1]=i[0]=i[1]=0),a=new ht(n[0],n[1],i[0]-n[0],i[1]-n[1]),t||(this._rect=a),a},e.prototype.contain=function(t){var a=this.getBoundingRect(),n=this.geometries;if(!a.contain(t[0],t[1]))return!1;t:for(var i=0,o=n.length;i>1^-(s&1),l=l>>1^-(l&1),s+=n,l+=i,n=s,i=l,a.push([s/t,l/t])}return a}function ZG(r,e){return r=YG(r),G(It(r.features,function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0}),function(t){var a=t.properties,n=t.geometry,i=[];switch(n.type){case"Polygon":var o=n.coordinates;i.push(new eC(o[0],o.slice(1)));break;case"MultiPolygon":A(n.coordinates,function(l){l[0]&&i.push(new eC(l[0],l.slice(1)))});break;case"LineString":i.push(new rC([n.coordinates]));break;case"MultiLineString":i.push(new rC(n.coordinates))}var s=new aC(a[e||"name"],i,a.cp);return s.properties=a,s})}for(var Gd=[126,25],iC="\u5357\u6D77\u8BF8\u5C9B",ui=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],fi=0;fi0,g={api:a,geo:l,mapOrGeoModel:e,data:s,isVisualEncodedByVisualMap:d,isGeo:o,transformInfoRaw:v};l.resourceType==="geoJSON"?this._buildGeoJSON(g):l.resourceType==="geoSVG"&&this._buildSVG(g),this._updateController(e,t,a),this._updateMapSelectHandler(e,u,a,n)},r.prototype._buildGeoJSON=function(e){var t=this._regionsGroupByName=X(),a=X(),n=this._regionsGroup,i=e.transformInfoRaw,o=e.mapOrGeoModel,s=e.data,l=e.geo.projection,u=l&&l.stream;function f(c,p){return p&&(c=p(c)),c&&[c[0]*i.scaleX+i.x,c[1]*i.scaleY+i.y]}function h(c){for(var p=[],d=!u&&l&&l.project,g=0;g=0)&&(v=n);var c=o?{normal:{align:"center",verticalAlign:"middle"}}:null;fe(e,ee(a),{labelFetcher:v,labelDataIndex:h,defaultText:t},c);var p=e.getTextContent();if(p&&(oC(p).ignore=p.ignore,e.textConfig&&o)){var d=e.getBoundingRect().clone();e.textConfig.layoutRect=d,e.textConfig.position=[(o[0]-d.x)/d.width*100+"%",(o[1]-d.y)/d.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function fC(r,e,t,a,n,i){r.data?r.data.setItemGraphicEl(i,e):nt(e).eventData={componentType:"geo",componentIndex:n.componentIndex,geoIndex:n.componentIndex,name:t,region:a&&a.option||{}}}function hC(r,e,t,a,n){r.data||$i({el:e,componentModel:n,itemName:t,itemTooltipOption:a.get("tooltip")})}function vC(r,e,t,a,n){e.highDownSilentOnTouch=!!n.get("selectedMode");var i=a.getModel("emphasis"),o=i.get("focus");return Ft(e,o,i.get("blurScope"),i.get("disabled")),r.isGeo&&tE(e,n,t),o}function cC(r,e,t){var a=[],n;function i(){n=[]}function o(){n.length&&(a.push(n),n=[])}var s=e({polygonStart:i,polygonEnd:o,lineStart:i,lineEnd:o,point:function(l,u){isFinite(l)&&isFinite(u)&&n.push([l,u])},sphere:function(){}});return!t&&s.polygonStart(),A(r,function(l){s.lineStart();for(var u=0;u-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(zt),uF=lF;function fF(r,e){var t={};return A(r,function(a){a.each(a.mapDimension("value"),function(n,i){var o="ec-"+a.getName(i);t[o]=t[o]||[],isNaN(n)||t[o].push(n)})}),r[0].map(r[0].mapDimension("value"),function(a,n){for(var i="ec-"+r[0].getName(n),o=0,s=1/0,l=-1/0,u=t[i].length,f=0;f1?(S.width=_,S.height=_/g):(S.height=_,S.width=_*g),S.y=m[1]-S.height/2,S.x=m[0]-S.width/2;else{var b=r.getBoxLayoutParams();b.aspect=g,S=$t(b,{width:p,height:d})}this.setViewRect(S.x,S.y,S.width,S.height),this.setCenter(r.get("center"),e),this.setZoom(r.get("zoom"))}function dF(r,e){A(e.get("geoCoord"),function(t,a){r.addGeoCoord(a,t)})}var gF=function(){function r(){this.dimensions=yC}return r.prototype.create=function(e,t){var a=[];function n(o){return{nameProperty:o.get("nameProperty"),aspectScale:o.get("aspectScale"),projection:o.get("projection")}}e.eachComponent("geo",function(o,s){var l=o.get("map"),u=new SC(l+s,l,V({nameMap:o.get("nameMap")},n(o)));u.zoomLimit=o.get("scaleLimit"),a.push(u),o.coordinateSystem=u,u.model=o,u.resize=xC,u.resize(o,t)}),e.eachSeries(function(o){var s=o.get("coordinateSystem");if(s==="geo"){var l=o.get("geoIndex")||0;o.coordinateSystem=a[l]}});var i={};return e.eachSeriesByType("map",function(o){if(!o.getHostGeoModel()){var s=o.getMapType();i[s]=i[s]||[],i[s].push(o)}}),A(i,function(o,s){var l=G(o,function(f){return f.get("nameMap")}),u=new SC(s,s,V({nameMap:Uh(l)},n(o[0])));u.zoomLimit=ne.apply(null,G(o,function(f){return f.get("scaleLimit")})),a.push(u),u.resize=xC,u.resize(o[0],t),A(o,function(f){f.coordinateSystem=u,dF(u,f)})}),a},r.prototype.getFilledRegions=function(e,t,a,n){for(var i=(e||[]).slice(),o=X(),s=0;s=0;o--){var s=n[o];s.hierNode={defaultAncestor:null,ancestor:s,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},t.push(s)}}function CF(r,e){var t=r.isExpand?r.children:[],a=r.parentNode.children,n=r.hierNode.i?a[r.hierNode.i-1]:null;if(t.length){DF(r);var i=(t[0].hierNode.prelim+t[t.length-1].hierNode.prelim)/2;n?(r.hierNode.prelim=n.hierNode.prelim+e(r,n),r.hierNode.modifier=r.hierNode.prelim-i):r.hierNode.prelim=i}else n&&(r.hierNode.prelim=n.hierNode.prelim+e(r,n));r.parentNode.hierNode.defaultAncestor=LF(r,n,r.parentNode.hierNode.defaultAncestor||a[0],e)}function AF(r){var e=r.hierNode.prelim+r.parentNode.hierNode.modifier;r.setLayout({x:e},!0),r.hierNode.modifier+=r.parentNode.hierNode.modifier}function CC(r){return arguments.length?r:RF}function al(r,e){return r-=Math.PI/2,{x:e*Math.cos(r),y:e*Math.sin(r)}}function MF(r,e){return $t(r.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function DF(r){for(var e=r.children,t=e.length,a=0,n=0;--t>=0;){var i=e[t];i.hierNode.prelim+=a,i.hierNode.modifier+=a,n+=i.hierNode.change,a+=i.hierNode.shift+n}}function LF(r,e,t,a){if(e){for(var n=r,i=r,o=i.parentNode.children[0],s=e,l=n.hierNode.modifier,u=i.hierNode.modifier,f=o.hierNode.modifier,h=s.hierNode.modifier;s=Wd(s),i=Ud(i),s&&i;){n=Wd(n),o=Ud(o),n.hierNode.ancestor=r;var v=s.hierNode.prelim+h-i.hierNode.prelim-u+a(s,i);v>0&&(PF(IF(s,r,t),r,v),u+=v,l+=v),h+=s.hierNode.modifier,u+=i.hierNode.modifier,l+=n.hierNode.modifier,f+=o.hierNode.modifier}s&&!Wd(n)&&(n.hierNode.thread=s,n.hierNode.modifier+=h-l),i&&!Ud(o)&&(o.hierNode.thread=i,o.hierNode.modifier+=u-f,t=r)}return t}function Wd(r){var e=r.children;return e.length&&r.isExpand?e[e.length-1]:r.hierNode.thread}function Ud(r){var e=r.children;return e.length&&r.isExpand?e[0]:r.hierNode.thread}function IF(r,e,t){return r.hierNode.ancestor.parentNode===e.parentNode?r.hierNode.ancestor:t}function PF(r,e,t){var a=t/(e.hierNode.i-r.hierNode.i);e.hierNode.change-=a,e.hierNode.shift+=t,e.hierNode.modifier+=t,e.hierNode.prelim+=t,r.hierNode.change+=a}function RF(r,e){return r.parentNode===e.parentNode?1:2}var EF=function(){function r(){this.parentPoint=[],this.childPoints=[]}return r}(),kF=function(r){O(e,r);function e(t){return r.call(this,t)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new EF},e.prototype.buildPath=function(t,a){var n=a.childPoints,i=n.length,o=a.parentPoint,s=n[0],l=n[i-1];if(i===1){t.moveTo(o[0],o[1]),t.lineTo(s[0],s[1]);return}var u=a.orient,f=u==="TB"||u==="BT"?0:1,h=1-f,v=H(a.forkPosition,1),c=[];c[f]=o[f],c[h]=o[h]+(l[h]-o[h])*v,t.moveTo(o[0],o[1]),t.lineTo(c[0],c[1]),t.moveTo(s[0],s[1]),c[f]=s[f],t.lineTo(c[0],c[1]),c[f]=l[f],t.lineTo(c[0],c[1]),t.lineTo(l[0],l[1]);for(var p=1;pm.x,b||(S=S-Math.PI));var w=b?"left":"right",T=s.getModel("label"),C=T.get("rotate"),M=C*(Math.PI/180),D=g.getTextContent();D&&(g.setTextConfig({position:T.get("position")||w,rotation:C==null?-S:M,origin:"center"}),D.setStyle("verticalAlign","middle"))}var L=s.get(["emphasis","focus"]),I=L==="relative"?Pl(o.getAncestorsIndices(),o.getDescendantIndices()):L==="ancestor"?o.getAncestorsIndices():L==="descendant"?o.getDescendantIndices():null;I&&(nt(t).focus=I),NF(n,o,f,t,p,c,d,a),t.__edge&&(t.onHoverStateChange=function(P){if(P!=="blur"){var R=o.parentNode&&r.getItemGraphicEl(o.parentNode.dataIndex);R&&R.hoverState===rs||Su(t.__edge,P)}})}function NF(r,e,t,a,n,i,o,s){var l=e.getModel(),u=r.get("edgeShape"),f=r.get("layout"),h=r.getOrient(),v=r.get(["lineStyle","curveness"]),c=r.get("edgeForkPosition"),p=l.getModel("lineStyle").getLineStyle(),d=a.__edge;if(u==="curve")e.parentNode&&e.parentNode!==t&&(d||(d=a.__edge=new Yu({shape:Yd(f,h,v,n,n)})),Mt(d,{shape:Yd(f,h,v,i,o)},r));else if(u==="polyline"&&f==="orthogonal"&&e!==t&&e.children&&e.children.length!==0&&e.isExpand===!0){for(var g=e.children,y=[],m=0;mt&&(t=n.height)}this.height=t+1},r.prototype.getNodeById=function(e){if(this.getId()===e)return this;for(var t=0,a=this.children,n=a.length;t=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},r.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},r.prototype.getModel=function(e){if(!(this.dataIndex<0)){var t=this.hostTree,a=t.data.getItemModel(this.dataIndex);return a.getModel(e)}},r.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},r.prototype.setVisual=function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},r.prototype.getVisual=function(e){return this.hostTree.data.getItemVisual(this.dataIndex,e)},r.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},r.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},r.prototype.getChildIndex=function(){if(this.parentNode){for(var e=this.parentNode.children,t=0;t=0){var a=t.getData().tree.root,n=r.targetNode;if(U(n)&&(n=a.getNodeById(n)),n&&a.contains(n))return{node:n};var i=r.targetNodeId;if(i!=null&&(n=a.getNodeById(i)))return{node:n}}}function EC(r){for(var e=[];r;)r=r.parentNode,r&&e.push(r);return e.reverse()}function qd(r,e){var t=EC(r);return vt(t,e)>=0}function jf(r,e){for(var t=[];r;){var a=r.dataIndex;t.push({name:r.name,dataIndex:a,value:e.getRawValue(a)}),r=r.parentNode}return t.reverse(),t}var qF=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.hasSymbolVisual=!0,t.ignoreStyleOnData=!0,t}return e.prototype.getInitialData=function(t){var a={name:t.name,children:t.data},n=t.leaves||{},i=new kt(n,this,this.ecModel),o=Xd.createTree(a,this,s);function s(h){h.wrapMethod("getItemModel",function(v,c){var p=o.getNodeByDataIndex(c);return p&&p.children.length&&p.isExpand||(v.parentModel=i),v})}var l=0;o.eachNode("preorder",function(h){h.depth>l&&(l=h.depth)});var u=t.expandAndCollapse,f=u&&t.initialTreeDepth>=0?t.initialTreeDepth:l;return o.root.eachNode("preorder",function(h){var v=h.hostTree.data.getRawDataItem(h.dataIndex);h.isExpand=v&&v.collapsed!=null?!v.collapsed:h.depth<=f}),o.data},e.prototype.getOrient=function(){var t=this.get("orient");return t==="horizontal"?t="LR":t==="vertical"&&(t="TB"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,a,n){for(var i=this.getData().tree,o=i.root.children[0],s=i.getNodeByDataIndex(t),l=s.getValue(),u=s.name;s&&s!==o;)u=s.parentNode.name+"."+u,s=s.parentNode;return re("nameValue",{name:u,value:l,noValue:isNaN(l)||l==null})},e.prototype.getDataParams=function(t){var a=r.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return a.treeAncestors=jf(n,this),a.collapsed=!n.isExpand,a},e.type="series.tree",e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(zt),KF=qF;function jF(r,e,t){for(var a=[r],n=[],i;i=a.pop();)if(n.push(i),i.isExpand){var o=i.children;if(o.length)for(var s=0;s=0;i--)t.push(n[i])}}function QF(r,e){r.eachSeriesByType("tree",function(t){JF(t,e)})}function JF(r,e){var t=MF(r,e);r.layoutInfo=t;var a=r.get("layout"),n=0,i=0,o=null;a==="radial"?(n=2*Math.PI,i=Math.min(t.height,t.width)/2,o=CC(function(_,S){return(_.parentNode===S.parentNode?1:2)/_.depth})):(n=t.width,i=t.height,o=CC());var s=r.getData().tree.root,l=s.children[0];if(l){TF(s),jF(l,CF,o),s.hierNode.modifier=-l.hierNode.prelim,il(l,AF);var u=l,f=l,h=l;il(l,function(_){var S=_.getLayout().x;Sf.getLayout().x&&(f=_),_.depth>h.depth&&(h=_)});var v=u===f?1:o(u,f)/2,c=v-u.getLayout().x,p=0,d=0,g=0,y=0;if(a==="radial")p=n/(f.getLayout().x+v+c),d=i/(h.depth-1||1),il(l,function(_){g=(_.getLayout().x+c)*p,y=(_.depth-1)*d;var S=al(g,y);_.setLayout({x:S.x,y:S.y,rawX:g,rawY:y},!0)});else{var m=r.getOrient();m==="RL"||m==="LR"?(d=i/(f.getLayout().x+v+c),p=n/(h.depth-1||1),il(l,function(_){y=(_.getLayout().x+c)*d,g=m==="LR"?(_.depth-1)*p:n-(_.depth-1)*p,_.setLayout({x:g,y},!0)})):(m==="TB"||m==="BT")&&(p=n/(f.getLayout().x+v+c),d=i/(h.depth-1||1),il(l,function(_){g=(_.getLayout().x+c)*p,y=m==="TB"?(_.depth-1)*d:i-(_.depth-1)*d,_.setLayout({x:g,y},!0)}))}}}function $F(r){r.eachSeriesByType("tree",function(e){var t=e.getData(),a=t.tree;a.eachNode(function(n){var i=n.getModel(),o=i.getModel("itemStyle").getItemStyle(),s=t.ensureUniqueItemVisual(n.dataIndex,"style");V(s,o)})})}function t3(r){r.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},function(a){var n=e.dataIndex,i=a.getData().tree,o=i.getNodeByDataIndex(n);o.isExpand=!o.isExpand})}),r.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(e,t,a){t.eachComponent({mainType:"series",subType:"tree",query:e},function(n){var i=n.coordinateSystem,o=Hd(i,e,void 0,a);n.setCenter&&n.setCenter(o.center),n.setZoom&&n.setZoom(o.zoom)})})}function e3(r){r.registerChartView(VF),r.registerSeriesModel(KF),r.registerLayout(QF),r.registerVisual($F),t3(r)}var kC=["treemapZoomToNode","treemapRender","treemapMove"];function r3(r){for(var e=0;e1;)i=i.parentNode;var o=Uc(r.ecModel,i.name||i.dataIndex+"",a);n.setVisual("decal",o)})}var a3=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.preventUsingHoverLayer=!0,t}return e.prototype.getInitialData=function(t,a){var n={name:t.name,children:t.data};NC(n);var i=t.levels||[],o=this.designatedVisualItemStyle={},s=new kt({itemStyle:o},this,a);i=t.levels=n3(i,a);var l=G(i||[],function(h){return new kt(h,s,a)},this),u=Xd.createTree(n,this,f);function f(h){h.wrapMethod("getItemModel",function(v,c){var p=u.getNodeByDataIndex(c),d=p?l[p.depth]:null;return v.parentModel=d||s,v})}return u.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,a,n){var i=this.getData(),o=this.getRawValue(t),s=i.getName(t);return re("nameValue",{name:s,value:o})},e.prototype.getDataParams=function(t){var a=r.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return a.treeAncestors=jf(n,this),a.treePathInfo=a.treeAncestors,a},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},V(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var a=this._idIndexMap;a||(a=this._idIndexMap=X(),this._idIndexMapCount=0);var n=a.get(t);return n==null&&a.set(t,n=this._idIndexMapCount++),n},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var a=this.getRawData().tree.root;(!t||t!==a&&!a.contains(t))&&(this._viewRoot=a)},e.prototype.enableAriaDecal=function(){OC(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"\u25B6",zoomToNodeRatio:.32*.32,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(zt);function NC(r){var e=0;A(r.children,function(a){NC(a);var n=a.value;z(n)&&(n=n[0]),e+=n});var t=r.value;z(t)&&(t=t[0]),(t==null||isNaN(t))&&(t=e),t<0&&(t=0),z(r.value)?r.value[0]=t:r.value=t}function n3(r,e){var t=Pt(e.get("color")),a=Pt(e.get(["aria","decal","decals"]));if(t){r=r||[];var n,i;A(r,function(s){var l=new kt(s),u=l.get("color"),f=l.get("decal");(l.get(["itemStyle","color"])||u&&u!=="none")&&(n=!0),(l.get(["itemStyle","decal"])||f&&f!=="none")&&(i=!0)});var o=r[0]||(r[0]={});return n||(o.color=t.slice()),!i&&a&&(o.decal=a.slice()),r}}var i3=a3,o3=8,VC=8,Kd=5,s3=function(){function r(e){this.group=new at,e.add(this.group)}return r.prototype.render=function(e,t,a,n){var i=e.getModel("breadcrumb"),o=this.group;if(o.removeAll(),!(!i.get("show")||!a)){var s=i.getModel("itemStyle"),l=i.getModel("emphasis"),u=s.getModel("textStyle"),f=l.getModel(["itemStyle","textStyle"]),h={pos:{left:i.get("left"),right:i.get("right"),top:i.get("top"),bottom:i.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:i.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(a,h,u),this._renderContent(e,h,s,l,u,f,n),Eu(o,h.pos,h.box)}},r.prototype._prepare=function(e,t,a){for(var n=e;n;n=n.parentNode){var i=Jt(n.getModel().get("name"),""),o=a.getTextRect(i),s=Math.max(o.width+o3*2,t.emptyItemWidth);t.totalWidth+=s+VC,t.renderList.push({node:n,text:i,width:s})}},r.prototype._renderContent=function(e,t,a,n,i,o,s){for(var l=0,u=t.emptyItemWidth,f=e.get(["breadcrumb","height"]),h=ME(t.pos,t.box),v=t.totalWidth,c=t.renderList,p=n.getModel("itemStyle").getItemStyle(),d=c.length-1;d>=0;d--){var g=c[d],y=g.node,m=g.width,_=g.text;v>h.width&&(v-=m-u,m=u,_=null);var S=new Ee({shape:{points:l3(l,0,m,f,d===c.length-1,d===0)},style:J(a.getItemStyle(),{lineJoin:"bevel"}),textContent:new bt({style:Et(i,{text:_})}),textConfig:{position:"inside"},z2:ki*1e4,onclick:it(s,y)});S.disableLabelAnimation=!0,S.getTextContent().ensureState("emphasis").style=Et(o,{text:_}),S.ensureState("emphasis").style=p,Ft(S,n.get("focus"),n.get("blurScope"),n.get("disabled")),this.group.add(S),u3(S,e,y),l+=m+VC}},r.prototype.remove=function(){this.group.removeAll()},r}();function l3(r,e,t,a,n,i){var o=[[n?r:r-Kd,e],[r+t,e],[r+t,e+a],[n?r:r-Kd,e+a]];return!i&&o.splice(2,0,[r+t+Kd,e+a/2]),!n&&o.push([r,e+a/2]),o}function u3(r,e,t){nt(r).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:t&&t.dataIndex,name:t&&t.name},treePathInfo:t&&jf(t,e)}}var f3=s3,h3=function(){function r(){this._storage=[],this._elExistsMap={}}return r.prototype.add=function(e,t,a,n,i){return this._elExistsMap[e.id]?!1:(this._elExistsMap[e.id]=!0,this._storage.push({el:e,target:t,duration:a,delay:n,easing:i}),!0)},r.prototype.finished=function(e){return this._finishedCallback=e,this},r.prototype.start=function(){for(var e=this,t=this._storage.length,a=function(){t--,t<=0&&(e._storage.length=0,e._elExistsMap={},e._finishedCallback&&e._finishedCallback())},n=0,i=this._storage.length;nzC||Math.abs(t.dy)>zC)){var a=this.seriesModel.getData().tree.root;if(!a)return;var n=a.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},e.prototype._onZoom=function(t){var a=t.originX,n=t.originY;if(this._state!=="animating"){var i=this.seriesModel.getData().tree.root;if(!i)return;var o=i.getLayout();if(!o)return;var s=new ht(o.x,o.y,o.width,o.height),l=this.seriesModel.layoutInfo;a-=l.x,n-=l.y;var u=Ye();Dr(u,u,[-a,-n]),sv(u,u,[t.scale,t.scale]),Dr(u,u,[a,n]),s.applyTransform(u),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:s.x,y:s.y,width:s.width,height:s.height}})}},e.prototype._initEvents=function(t){var a=this;t.on("click",function(n){if(a._state==="ready"){var i=a.seriesModel.get("nodeClick",!0);if(i){var o=a.findTarget(n.offsetX,n.offsetY);if(o){var s=o.node;if(s.getLayout().isLeafRoot)a._rootToNode(o);else if(i==="zoomToNode")a._zoomToNode(o);else if(i==="link"){var l=s.hostTree.data.getItemModel(s.dataIndex),u=l.get("link",!0),f=l.get("target",!0)||"blank";u&&Pu(u,f)}}}}},this)},e.prototype._renderBreadcrumb=function(t,a,n){var i=this;n||(n=t.get("leafDepth",!0)!=null?{node:t.getViewRoot()}:this.findTarget(a.getWidth()/2,a.getHeight()/2),n||(n={node:t.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new f3(this.group))).render(t,a,n.node,function(o){i._state!=="animating"&&(qd(t.getViewRoot(),o)?i._rootToNode({node:o}):i._zoomToNode({node:o}))})},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=ol(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,a){var n,i=this.seriesModel.getViewRoot();return i.eachNode({attr:"viewChildren",order:"preorder"},function(o){var s=this._storage.background[o.getRawIndex()];if(s){var l=s.transformCoordToLocal(t,a),u=s.shape;if(u.x<=l[0]&&l[0]<=u.x+u.width&&u.y<=l[1]&&l[1]<=u.y+u.height)n={node:o,offsetX:l[0],offsetY:l[1]};else return!1}},this),n},e.type="treemap",e}(Ot);function ol(){return{nodeGroup:[],background:[],content:[]}}function y3(r,e,t,a,n,i,o,s,l,u){if(!o)return;var f=o.getLayout(),h=r.getData(),v=o.getModel();if(h.setItemGraphicEl(o.dataIndex,null),!f||!f.isInView)return;var c=f.width,p=f.height,d=f.borderWidth,g=f.invisible,y=o.getRawIndex(),m=s&&s.getRawIndex(),_=o.viewChildren,S=f.upperHeight,b=_&&_.length,x=v.getModel("itemStyle"),w=v.getModel(["emphasis","itemStyle"]),T=v.getModel(["blur","itemStyle"]),C=v.getModel(["select","itemStyle"]),M=x.get("borderRadius")||0,D=Q("nodeGroup",jd);if(!D)return;if(l.add(D),D.x=f.x||0,D.y=f.y||0,D.markRedraw(),Qf(D).nodeWidth=c,Qf(D).nodeHeight=p,f.isAboveViewRoot)return D;var L=Q("background",BC,u,p3);L&&B(D,L,b&&f.upperLabelHeight);var I=v.getModel("emphasis"),P=I.get("focus"),R=I.get("blurScope"),E=I.get("disabled"),N=P==="ancestor"?o.getAncestorsIndices():P==="descendant"?o.getDescendantIndices():P;if(b)os(D)&&Rn(D,!1),L&&(Rn(L,!E),h.setItemGraphicEl(o.dataIndex,L),xc(L,N,R));else{var k=Q("content",BC,u,d3);k&&F(D,k),L.disableMorphing=!0,L&&os(L)&&Rn(L,!1),Rn(D,!E),h.setItemGraphicEl(o.dataIndex,D),xc(D,N,R)}return D;function B(dt,rt,gt){var st=nt(rt);if(st.dataIndex=o.dataIndex,st.seriesIndex=r.seriesIndex,rt.setShape({x:0,y:0,width:c,height:p,r:M}),g)W(rt);else{rt.invisible=!1;var K=o.getVisual("style"),lt=K.stroke,Gt=HC(x);Gt.fill=lt;var wt=hi(w);wt.fill=w.get("borderColor");var Yt=hi(T);Yt.fill=T.get("borderColor");var Wt=hi(C);if(Wt.fill=C.get("borderColor"),gt){var me=c-2*d;q(rt,lt,K.opacity,{x:d,y:0,width:me,height:S})}else rt.removeTextContent();rt.setStyle(Gt),rt.ensureState("emphasis").style=wt,rt.ensureState("blur").style=Yt,rt.ensureState("select").style=Wt,In(rt)}dt.add(rt)}function F(dt,rt){var gt=nt(rt);gt.dataIndex=o.dataIndex,gt.seriesIndex=r.seriesIndex;var st=Math.max(c-2*d,0),K=Math.max(p-2*d,0);if(rt.culling=!0,rt.setShape({x:d,y:d,width:st,height:K,r:M}),g)W(rt);else{rt.invisible=!1;var lt=o.getVisual("style"),Gt=lt.fill,wt=HC(x);wt.fill=Gt,wt.decal=lt.decal;var Yt=hi(w),Wt=hi(T),me=hi(C);q(rt,Gt,lt.opacity,null),rt.setStyle(wt),rt.ensureState("emphasis").style=Yt,rt.ensureState("blur").style=Wt,rt.ensureState("select").style=me,In(rt)}dt.add(rt)}function W(dt){!dt.invisible&&i.push(dt)}function q(dt,rt,gt,st){var K=v.getModel(st?FC:GC),lt=Jt(v.get("name"),null),Gt=K.getShallow("show");fe(dt,ee(v,st?FC:GC),{defaultText:Gt?lt:null,inheritColor:rt,defaultOpacity:gt,labelFetcher:r,labelDataIndex:o.dataIndex});var wt=dt.getTextContent();if(wt){var Yt=wt.style,Wt=Xh(Yt.padding||0);st&&(dt.setTextConfig({layoutRect:st}),wt.disableLabelLayout=!0),wt.beforeUpdate=function(){var ma=Math.max((st?st.width:dt.shape.width)-Wt[1]-Wt[3],0),Be=Math.max((st?st.height:dt.shape.height)-Wt[0]-Wt[2],0);(Yt.width!==ma||Yt.height!==Be)&&wt.setStyle({width:ma,height:Be})},Yt.truncateMinChar=2,Yt.lineOverflow="truncate",$(Yt,st,f);var me=wt.getState("emphasis");$(me?me.style:null,st,f)}}function $(dt,rt,gt){var st=dt?dt.text:null;if(!rt&>.isLeafRoot&&st!=null){var K=r.get("drillDownIcon",!0);dt.text=K?K+" "+st:st}}function Q(dt,rt,gt,st){var K=m!=null&&t[dt][m],lt=n[dt];return K?(t[dt][m]=null,pt(lt,K)):g||(K=new rt,K instanceof Ke&&(K.z2=m3(gt,st)),_t(lt,K)),e[dt][y]=K}function pt(dt,rt){var gt=dt[y]={};rt instanceof jd?(gt.oldX=rt.x,gt.oldY=rt.y):gt.oldShape=V({},rt.shape)}function _t(dt,rt){var gt=dt[y]={},st=o.parentNode,K=rt instanceof at;if(st&&(!a||a.direction==="drillDown")){var lt=0,Gt=0,wt=n.background[st.getRawIndex()];!a&&wt&&wt.oldShape&&(lt=wt.oldShape.width,Gt=wt.oldShape.height),K?(gt.oldX=0,gt.oldY=Gt):gt.oldShape={x:lt,y:Gt,width:0,height:0}}gt.fadein=!K}}function m3(r,e){return r*c3+e}var _3=g3,sl=A,S3=tt,Jf=-1,Qd=function(){function r(e){var t=e.mappingMethod,a=e.type,n=this.option=et(e);this.type=a,this.mappingMethod=t,this._normalizeData=w3[t];var i=r.visualHandlers[a];this.applyVisual=i.applyVisual,this.getColorMapper=i.getColorMapper,this._normalizedToVisual=i._normalizedToVisual[t],t==="piecewise"?(Jd(n),x3(n)):t==="category"?n.categories?b3(n):Jd(n,!0):(_e(t!=="linear"||n.dataExtent),Jd(n))}return r.prototype.mapValueToVisual=function(e){var t=this._normalizeData(e);return this._normalizedToVisual(t,e)},r.prototype.getNormalizer=function(){return Y(this._normalizeData,this)},r.listVisualTypes=function(){return mt(r.visualHandlers)},r.isValidType=function(e){return r.visualHandlers.hasOwnProperty(e)},r.eachVisual=function(e,t,a){tt(e)?A(e,t,a):t.call(a,e)},r.mapVisual=function(e,t,a){var n,i=z(e)?[]:tt(e)?{}:(n=!0,null);return r.eachVisual(e,function(o,s){var l=t.call(a,o,s);n?i=l:i[s]=l}),i},r.retrieveVisuals=function(e){var t={},a;return e&&sl(r.visualHandlers,function(n,i){e.hasOwnProperty(i)&&(t[i]=e[i],a=!0)}),a?t:null},r.prepareVisualTypes=function(e){if(z(e))e=e.slice();else if(S3(e)){var t=[];sl(e,function(a,n){t.push(n)}),e=t}else return[];return e.sort(function(a,n){return n==="color"&&a!=="color"&&a.indexOf("color")===0?1:-1}),e},r.dependsOn=function(e,t){return t==="color"?!!(e&&e.indexOf(t)===0):e===t},r.findPieceIndex=function(e,t,a){for(var n,i=1/0,o=0,s=t.length;o=0;i--)a[i]==null&&(delete t[e[i]],e.pop())}function Jd(r,e){var t=r.visual,a=[];tt(t)?sl(t,function(i){a.push(i)}):t!=null&&a.push(t);var n={color:1,symbol:1};!e&&a.length===1&&!n.hasOwnProperty(r.type)&&(a[1]=a[0]),UC(r,a)}function $f(r){return{applyVisual:function(e,t,a){var n=this.mapValueToVisual(e);a("color",r(t("color"),n))},_normalizedToVisual:$d([0,1])}}function WC(r){var e=this.option.visual;return e[Math.round(Lt(r,[0,1],[0,e.length-1],!0))]||{}}function ll(r){return function(e,t,a){a(r,this.mapValueToVisual(e))}}function ul(r){var e=this.option.visual;return e[this.option.loop&&r!==Jf?r%e.length:r]}function vi(){return this.option.visual[0]}function $d(r){return{linear:function(e){return Lt(e,r,this.option.visual,!0)},category:ul,piecewise:function(e,t){var a=tg.call(this,t);return a==null&&(a=Lt(e,r,this.option.visual,!0)),a},fixed:vi}}function tg(r){var e=this.option,t=e.pieceList;if(e.hasSpecialVisual){var a=Qd.findPieceIndex(r,t),n=t[a];if(n&&n.visual)return n.visual[this.type]}}function UC(r,e){return r.visual=e,r.type==="color"&&(r.parsedVisual=G(e,function(t){var a=Le(t);return a||[0,0,0,1]})),e}var w3={linear:function(r){return Lt(r,this.option.dataExtent,[0,1],!0)},piecewise:function(r){var e=this.option.pieceList,t=Qd.findPieceIndex(r,e,!0);if(t!=null)return Lt(t,[0,e.length-1],[0,1],!0)},category:function(r){var e=this.option.categories?this.option.categoryMap[r]:r;return e==null?Jf:e},fixed:Zt};function th(r,e,t){return r?e<=t:e=t.length||d===t[d.depth]){var y=L3(n,l,d,g,p,a);ZC(d,y,t,a)}})}}}function A3(r,e,t){var a=V({},e),n=t.designatedVisualItemStyle;return A(["color","colorAlpha","colorSaturation"],function(i){n[i]=e[i];var o=r.get(i);n[i]=null,o!=null&&(a[i]=o)}),a}function XC(r){var e=eg(r,"color");if(e){var t=eg(r,"colorAlpha"),a=eg(r,"colorSaturation");return a&&(e=Fo(e,null,null,a)),t&&(e=Xl(e,t)),e}}function M3(r,e){return e!=null?Fo(e,null,null,r):null}function eg(r,e){var t=r[e];if(t!=null&&t!=="none")return t}function D3(r,e,t,a,n,i){if(!(!i||!i.length)){var o=rg(e,"color")||n.color!=null&&n.color!=="none"&&(rg(e,"colorAlpha")||rg(e,"colorSaturation"));if(o){var s=e.get("visualMin"),l=e.get("visualMax"),u=t.dataExtent.slice();s!=null&&su[1]&&(u[1]=l);var f=e.get("colorMappingBy"),h={type:o.name,dataExtent:u,visual:o.range};h.type==="color"&&(f==="index"||f==="id")?(h.mappingMethod="category",h.loop=!0):h.mappingMethod="linear";var v=new ve(h);return YC(v).drColorMappingBy=f,v}}}function rg(r,e){var t=r.get(e);return z(t)&&t.length?{name:e,range:t}:null}function L3(r,e,t,a,n,i){var o=V({},e);if(n){var s=n.type,l=s==="color"&&YC(n).drColorMappingBy,u=l==="index"?a:l==="id"?i.mapIdToIndex(t.getId()):t.getValue(r.get("visualDimension"));o[s]=n.mapValueToVisual(u)}return o}var fl=Math.max,eh=Math.min,qC=ne,ag=A,KC=["itemStyle","borderWidth"],I3=["itemStyle","gapWidth"],P3=["upperLabel","show"],R3=["upperLabel","height"],E3={seriesType:"treemap",reset:function(r,e,t,a){var n=t.getWidth(),i=t.getHeight(),o=r.option,s=$t(r.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),l=o.size||[],u=H(qC(s.width,l[0]),n),f=H(qC(s.height,l[1]),i),h=a&&a.type,v=["treemapZoomToNode","treemapRootToNode"],c=nl(a,v,r),p=h==="treemapRender"||h==="treemapMove"?a.rootRect:null,d=r.getViewRoot(),g=EC(d);if(h!=="treemapMove"){var y=h==="treemapZoomToNode"?z3(r,c,d,u,f):p?[p.width,p.height]:[u,f],m=o.sort;m&&m!=="asc"&&m!=="desc"&&(m="desc");var _={squareRatio:o.squareRatio,sort:m,leafDepth:o.leafDepth};d.hostTree.clearLayouts();var S={x:0,y:0,width:y[0],height:y[1],area:y[0]*y[1]};d.setLayout(S),jC(d,_,!1,0),S=d.getLayout(),ag(g,function(x,w){var T=(g[w+1]||d).getValue();x.setLayout(V({dataExtent:[T,T],borderWidth:0,upperHeight:0},S))})}var b=r.getData().tree.root;b.setLayout(G3(s,p,c),!0),r.setLayoutInfo(s),JC(b,new ht(-s.x,-s.y,n,i),g,d,0)}};function jC(r,e,t,a){var n,i;if(!r.isRemoved()){var o=r.getLayout();n=o.width,i=o.height;var s=r.getModel(),l=s.get(KC),u=s.get(I3)/2,f=$C(s),h=Math.max(l,f),v=l-u,c=h-u;r.setLayout({borderWidth:l,upperHeight:h,upperLabelHeight:f},!0),n=fl(n-2*v,0),i=fl(i-v-c,0);var p=n*i,d=k3(r,s,p,e,t,a);if(d.length){var g={x:v,y:c,width:n,height:i},y=eh(n,i),m=1/0,_=[];_.area=0;for(var S=0,b=d.length;S=0;l--){var u=n[a==="asc"?o-l-1:l].getValue();u/t*es[1]&&(s[1]=u)})),{sum:a,dataExtent:s}}function B3(r,e,t){for(var a=0,n=1/0,i=0,o=void 0,s=r.length;ia&&(a=o));var l=r.area*r.area,u=e*e*t;return l?fl(u*a/l,l/(u*n)):1/0}function QC(r,e,t,a,n){var i=e===t.width?0:1,o=1-i,s=["x","y"],l=["width","height"],u=t[s[i]],f=e?r.area/e:0;(n||f>t[l[o]])&&(f=t[l[o]]);for(var h=0,v=r.length;hI0&&(u=I0),i=s}ua&&(a=e);var i=a%2?a+2:a+3;n=[];for(var o=0;o0&&(b[0]=-b[0],b[1]=-b[1]);var w=S[0]<0?-1:1;if(i.__position!=="start"&&i.__position!=="end"){var T=-Math.atan2(S[1],S[0]);h[0].8?"left":v[0]<-.8?"right":"center",d=v[1]>.8?"top":v[1]<-.8?"bottom":"middle";break;case"start":i.x=-v[0]*y+f[0],i.y=-v[1]*m+f[1],p=v[0]>.8?"right":v[0]<-.8?"left":"center",d=v[1]>.8?"bottom":v[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=y*w+f[0],i.y=f[1]+C,p=S[0]<0?"right":"left",i.originX=-y*w,i.originY=-C;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=x[0],i.y=x[1]+C,p="center",i.originY=-C;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-y*w+h[0],i.y=h[1]+C,p=S[0]>=0?"right":"left",i.originX=y*w,i.originY=-C;break}i.scaleX=i.scaleY=o,i.setStyle({verticalAlign:i.__verticalAlign||d,align:i.__align||p})}},e}(at),pg=iH,oH=function(){function r(e){this.group=new at,this._LineCtor=e||pg}return r.prototype.updateData=function(e){var t=this;this._progressiveEls=null;var a=this,n=a.group,i=a._lineData;a._lineData=e,i||n.removeAll();var o=fA(e);e.diff(i).add(function(s){t._doAdd(e,s,o)}).update(function(s,l){t._doUpdate(i,e,l,s,o)}).remove(function(s){n.remove(i.getItemGraphicEl(s))}).execute()},r.prototype.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl(function(t,a){t.updateLayout(e,a)},this)},r.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=fA(e),this._lineData=null,this.group.removeAll()},r.prototype.incrementalUpdate=function(e,t){this._progressiveEls=[];function a(s){!s.isGroup&&!sH(s)&&(s.incremental=!0,s.ensureState("emphasis").hoverLayer=!0)}for(var n=e.start;n0}function fA(r){var e=r.hostModel,t=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:t.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:t.get("disabled"),blurScope:t.get("blurScope"),focus:t.get("focus"),labelStatesModels:ee(e)}}function hA(r){return isNaN(r[0])||isNaN(r[1])}function dg(r){return r&&!hA(r[0])&&!hA(r[1])}var gg=oH,yg=[],mg=[],_g=[],go=ie,Sg=sn,vA=Math.abs;function cA(r,e,t){for(var a=r[0],n=r[1],i=r[2],o=1/0,s,l=t*t,u=.1,f=.1;f<=.9;f+=.1){yg[0]=go(a[0],n[0],i[0],f),yg[1]=go(a[1],n[1],i[1],f);var h=vA(Sg(yg,e)-l);h=0?s=s+u:s=s-u:p>=0?s=s-u:s=s+u}return s}function xg(r,e){var t=[],a=Bo,n=[[],[],[]],i=[[],[]],o=[];e/=2,r.eachEdge(function(s,l){var u=s.getLayout(),f=s.getVisual("fromSymbol"),h=s.getVisual("toSymbol");u.__original||(u.__original=[jr(u[0]),jr(u[1])],u[2]&&u.__original.push(jr(u[2])));var v=u.__original;if(u[2]!=null){if(Se(n[0],v[0]),Se(n[1],v[2]),Se(n[2],v[1]),f&&f!=="none"){var c=cl(s.node1),p=cA(n,v[0],c*e);a(n[0][0],n[1][0],n[2][0],p,t),n[0][0]=t[3],n[1][0]=t[4],a(n[0][1],n[1][1],n[2][1],p,t),n[0][1]=t[3],n[1][1]=t[4]}if(h&&h!=="none"){var c=cl(s.node2),p=cA(n,v[1],c*e);a(n[0][0],n[1][0],n[2][0],p,t),n[1][0]=t[1],n[2][0]=t[2],a(n[0][1],n[1][1],n[2][1],p,t),n[1][1]=t[1],n[2][1]=t[2]}Se(u[0],n[0]),Se(u[1],n[2]),Se(u[2],n[1])}else{if(Se(i[0],v[0]),Se(i[1],v[1]),on(o,i[1],i[0]),bi(o,o),f&&f!=="none"){var c=cl(s.node1);Kh(i[0],i[0],o,c*e)}if(h&&h!=="none"){var c=cl(s.node2);Kh(i[1],i[1],o,-c*e)}Se(u[0],i[0]),Se(u[1],i[1])}})}function pA(r){return r.type==="view"}var lH=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t,a){var n=new Us,i=new gg,o=this.group;this._controller=new tl(a.getZr()),this._controllerHost={target:o},o.add(n.group),o.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},e.prototype.render=function(t,a,n){var i=this,o=t.coordinateSystem;this._model=t;var s=this._symbolDraw,l=this._lineDraw,u=this.group;if(pA(o)){var f={x:o.x,y:o.y,scaleX:o.scaleX,scaleY:o.scaleY};this._firstRender?u.attr(f):Mt(u,f,t)}xg(t.getGraph(),vl(t));var h=t.getData();s.updateData(h);var v=t.getEdgeData();l.updateData(v),this._updateNodeAndLinkScale(),this._updateController(t,a,n),clearTimeout(this._layoutTimeout);var c=t.forceLayout,p=t.get(["force","layoutAnimation"]);c&&this._startForceLayoutIteration(c,p);var d=t.get("layout");h.graph.eachNode(function(_){var S=_.dataIndex,b=_.getGraphicEl(),x=_.getModel();if(b){b.off("drag").off("dragend");var w=x.get("draggable");w&&b.on("drag",function(C){switch(d){case"force":c.warmUp(),!i._layouting&&i._startForceLayoutIteration(c,p),c.setFixed(S),h.setItemLayout(S,[b.x,b.y]);break;case"circular":h.setItemLayout(S,[b.x,b.y]),_.setLayout({fixed:!0},!0),ug(t,"symbolSize",_,[C.offsetX,C.offsetY]),i.updateLayout(t);break;case"none":default:h.setItemLayout(S,[b.x,b.y]),sg(t.getGraph(),t),i.updateLayout(t);break}}).on("dragend",function(){c&&c.setUnfixed(S)}),b.setDraggable(w,!!x.get("cursor"));var T=x.get(["emphasis","focus"]);T==="adjacency"&&(nt(b).focus=_.getAdjacentDataIndices())}}),h.graph.eachEdge(function(_){var S=_.getGraphicEl(),b=_.getModel().get(["emphasis","focus"]);S&&b==="adjacency"&&(nt(S).focus={edge:[_.dataIndex],node:[_.node1.dataIndex,_.node2.dataIndex]})});var g=t.get("layout")==="circular"&&t.get(["circular","rotateLabel"]),y=h.getLayout("cx"),m=h.getLayout("cy");h.graph.eachNode(function(_){nA(_,g,y,m)}),this._firstRender=!1},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,a){var n=this;(function i(){t.step(function(o){n.updateLayout(n._model),(n._layouting=!o)&&(a?n._layoutTimeout=setTimeout(i,16):i())})})()},e.prototype._updateController=function(t,a,n){var i=this,o=this._controller,s=this._controllerHost,l=this.group;if(o.setPointerChecker(function(u,f,h){var v=l.getBoundingRect();return v.applyTransform(l.transform),v.contain(f,h)&&!Yf(u,n,t)}),!pA(t.coordinateSystem)){o.disable();return}o.enable(t.get("roam")),s.zoomLimit=t.get("scaleLimit"),s.zoom=t.coordinateSystem.getZoom(),o.off("pan").off("zoom").on("pan",function(u){kd(s,u.dx,u.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:u.dx,dy:u.dy})}).on("zoom",function(u){Od(s,u.scale,u.originX,u.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:u.scale,originX:u.originX,originY:u.originY}),i._updateNodeAndLinkScale(),xg(t.getGraph(),vl(t)),i._lineDraw.updateLayout(),n.updateLabelLayout()})},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,a=t.getData(),n=vl(t);a.eachItemGraphicEl(function(i,o){i&&i.setSymbolScale(n)})},e.prototype.updateLayout=function(t){xg(t.getGraph(),vl(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(t,a){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(Ot),uH=lH;function yo(r){return"_EC_"+r}var fH=function(){function r(e){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=e||!1}return r.prototype.isDirected=function(){return this._directed},r.prototype.addNode=function(e,t){e=e==null?""+t:""+e;var a=this._nodesMap;if(!a[yo(e)]){var n=new ci(e,t);return n.hostGraph=this,this.nodes.push(n),a[yo(e)]=n,n}},r.prototype.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},r.prototype.getNodeById=function(e){return this._nodesMap[yo(e)]},r.prototype.addEdge=function(e,t,a){var n=this._nodesMap,i=this._edgesMap;if(Ct(e)&&(e=this.nodes[e]),Ct(t)&&(t=this.nodes[t]),e instanceof ci||(e=n[yo(e)]),t instanceof ci||(t=n[yo(t)]),!(!e||!t)){var o=e.id+"-"+t.id,s=new dA(e,t,a);return s.hostGraph=this,this._directed&&(e.outEdges.push(s),t.inEdges.push(s)),e.edges.push(s),e!==t&&t.edges.push(s),this.edges.push(s),i[o]=s,s}},r.prototype.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},r.prototype.getEdge=function(e,t){e instanceof ci&&(e=e.id),t instanceof ci&&(t=t.id);var a=this._edgesMap;return this._directed?a[e+"-"+t]:a[e+"-"+t]||a[t+"-"+e]},r.prototype.eachNode=function(e,t){for(var a=this.nodes,n=a.length,i=0;i=0&&e.call(t,a[i],i)},r.prototype.eachEdge=function(e,t){for(var a=this.edges,n=a.length,i=0;i=0&&a[i].node1.dataIndex>=0&&a[i].node2.dataIndex>=0&&e.call(t,a[i],i)},r.prototype.breadthFirstTraverse=function(e,t,a,n){if(t instanceof ci||(t=this._nodesMap[yo(t)]),!!t){for(var i=a==="out"?"outEdges":a==="in"?"inEdges":"edges",o=0;o=0&&l.node2.dataIndex>=0});for(var i=0,o=n.length;i=0&&this[r][e].setItemVisual(this.dataIndex,t,a)},getVisual:function(t){return this[r][e].getItemVisual(this.dataIndex,t)},setLayout:function(t,a){this.dataIndex>=0&&this[r][e].setItemLayout(this.dataIndex,t,a)},getLayout:function(){return this[r][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[r][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[r][e].getRawIndex(this.dataIndex)}}}qt(ci,gA("hostGraph","data")),qt(dA,gA("hostGraph","edgeData"));var hH=fH;function yA(r,e,t,a,n){for(var i=new hH(a),o=0;o "+v)),u++)}var c=t.get("coordinateSystem"),p;if(c==="cartesian2d"||c==="polar")p=fa(r,t);else{var d=ps.get(c),g=d?d.dimensions||[]:[];vt(g,"value")<0&&g.concat(["value"]);var y=so(r,{coordDimensions:g,encodeDefine:t.getEncode()}).dimensions;p=new De(y,t),p.initData(r)}var m=new De(["value"],t);return m.initData(l,s),n&&n(p,m),RC({mainData:p,struct:i,structAttr:"graph",datas:{node:p,edge:m},datasAttr:{node:"data",edge:"edgeData"}}),i.update(),i}var vH=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.hasSymbolVisual=!0,t}return e.prototype.init=function(t){r.prototype.init.apply(this,arguments);var a=this;function n(){return a._categoriesData}this.legendVisualProvider=new Xs(n,n),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},e.prototype.mergeOption=function(t){r.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(t){r.prototype.mergeDefaultAndTheme.apply(this,arguments),yn(t,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,a){var n=t.edges||t.links||[],i=t.data||t.nodes||[],o=this;if(i&&n){X3(this);var s=yA(i,n,this,!0,l);return A(s.edges,function(u){q3(u.node1,u.node2,this,u.dataIndex)},this),s.data}function l(u,f){u.wrapMethod("getItemModel",function(p){var d=o._categoriesModels,g=p.getShallow("category"),y=d[g];return y&&(y.parentModel=p.parentModel,p.parentModel=y),p});var h=kt.prototype.getModel;function v(p,d){var g=h.call(this,p,d);return g.resolveParentPath=c,g}f.wrapMethod("getItemModel",function(p){return p.resolveParentPath=c,p.getModel=v,p});function c(p){if(p&&(p[0]==="label"||p[1]==="label")){var d=p.slice();return p[0]==="label"?d[0]="edgeLabel":p[1]==="label"&&(d[1]="edgeLabel"),d}return p}}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,a,n){if(n==="edge"){var i=this.getData(),o=this.getDataParams(t,n),s=i.graph.getEdgeByIndex(t),l=i.getName(s.node1.dataIndex),u=i.getName(s.node2.dataIndex),f=[];return l!=null&&f.push(l),u!=null&&f.push(u),re("nameValue",{name:f.join(" > "),value:o.value,noValue:o.value==null})}var h=T1({series:this,dataIndex:t,multipleSeries:a});return h},e.prototype._updateCategoriesData=function(){var t=G(this.option.categories||[],function(n){return n.value!=null?n:V({value:0},n)}),a=new De(["value"],this);a.initData(t),this._categoriesData=a,this._categoriesModels=a.mapArray(function(n){return a.getItemModel(n)})},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return r.prototype.isAnimationEnabled.call(this)&&!(this.get("layout")==="force"&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(zt),cH=vH,pH={type:"graphRoam",event:"graphRoam",update:"none"};function dH(r){r.registerChartView(uH),r.registerSeriesModel(cH),r.registerProcessor(H3),r.registerVisual(W3),r.registerVisual(U3),r.registerLayout(K3),r.registerLayout(r.PRIORITY.VISUAL.POST_CHART_LAYOUT,Q3),r.registerLayout($3),r.registerCoordinateSystem("graphView",{dimensions:rl.dimensions,create:eH}),r.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},Zt),r.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},Zt),r.registerAction(pH,function(e,t,a){t.eachComponent({mainType:"series",query:e},function(n){var i=n.coordinateSystem,o=Hd(i,e,void 0,a);n.setCenter&&n.setCenter(o.center),n.setZoom&&n.setZoom(o.zoom)})})}var gH=function(){function r(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return r}(),yH=function(r){O(e,r);function e(t){var a=r.call(this,t)||this;return a.type="pointer",a}return e.prototype.getDefaultShape=function(){return new gH},e.prototype.buildPath=function(t,a){var n=Math.cos,i=Math.sin,o=a.r,s=a.width,l=a.angle,u=a.x-n(l)*s*(s>=o/3?1:2),f=a.y-i(l)*s*(s>=o/3?1:2);l=a.angle-Math.PI/2,t.moveTo(u,f),t.lineTo(a.x+n(l)*s,a.y+i(l)*s),t.lineTo(a.x+n(a.angle)*o,a.y+i(a.angle)*o),t.lineTo(a.x-n(l)*s,a.y-i(l)*s),t.lineTo(u,f)},e}(yt),mH=yH;function _H(r,e){var t=r.get("center"),a=e.getWidth(),n=e.getHeight(),i=Math.min(a,n),o=H(t[0],e.getWidth()),s=H(t[1],e.getHeight()),l=H(r.get("radius"),i/2);return{cx:o,cy:s,r:l}}function nh(r,e){var t=r==null?"":r+"";return e&&(U(e)?t=e.replace("{value}",t):j(e)&&(t=e(r))),t}var SH=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){this.group.removeAll();var i=t.get(["axisLine","lineStyle","color"]),o=_H(t,n);this._renderMain(t,a,n,i,o),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,a,n,i,o){var s=this.group,l=t.get("clockwise"),u=-t.get("startAngle")/180*Math.PI,f=-t.get("endAngle")/180*Math.PI,h=t.getModel("axisLine"),v=h.get("roundCap"),c=v?Lf:Re,p=h.get("show"),d=h.getModel("lineStyle"),g=d.get("width"),y=[u,f];n_(y,!l),u=y[0],f=y[1];for(var m=f-u,_=u,S=[],b=0;p&&b=C&&(M===0?0:i[M-1][0])Math.PI/2&&(Q+=Math.PI)):$==="tangential"?Q=-T-Math.PI/2:Ct($)&&(Q=$*Math.PI/180),Q===0?h.add(new bt({style:Et(_,{text:B,x:W,y:q,verticalAlign:R<-.8?"top":R>.8?"bottom":"middle",align:P<-.4?"left":P>.4?"right":"center"},{inheritColor:F}),silent:!0})):h.add(new bt({style:Et(_,{text:B,x:W,y:q,verticalAlign:"middle",align:"center"},{inheritColor:F}),silent:!0,originX:W,originY:q,rotation:Q}))}if(m.get("show")&&E!==S){var N=m.get("distance");N=N?N+f:f;for(var pt=0;pt<=b;pt++){P=Math.cos(T),R=Math.sin(T);var _t=new oe({shape:{x1:P*(p-N)+v,y1:R*(p-N)+c,x2:P*(p-w-N)+v,y2:R*(p-w-N)+c},silent:!0,style:L});L.stroke==="auto"&&_t.setStyle({stroke:i((E+pt/b)/S)}),h.add(_t),T+=M}T-=M}else T+=C}},e.prototype._renderPointer=function(t,a,n,i,o,s,l,u,f){var h=this.group,v=this._data,c=this._progressEls,p=[],d=t.get(["pointer","show"]),g=t.getModel("progress"),y=g.get("show"),m=t.getData(),_=m.mapDimension("value"),S=+t.get("min"),b=+t.get("max"),x=[S,b],w=[s,l];function T(M,D){var L=m.getItemModel(M),I=L.getModel("pointer"),P=H(I.get("width"),o.r),R=H(I.get("length"),o.r),E=t.get(["pointer","icon"]),N=I.get("offsetCenter"),k=H(N[0],o.r),B=H(N[1],o.r),F=I.get("keepAspect"),W;return E?W=Qt(E,k-P/2,B-R,P,R,null,F):W=new mH({shape:{angle:-Math.PI/2,width:P,r:R,x:k,y:B}}),W.rotation=-(D+Math.PI/2),W.x=o.cx,W.y=o.cy,W}function C(M,D){var L=g.get("roundCap"),I=L?Lf:Re,P=g.get("overlap"),R=P?g.get("width"):f/m.count(),E=P?o.r-R:o.r-(M+1)*R,N=P?o.r:o.r-M*R,k=new I({shape:{startAngle:s,endAngle:D,cx:o.cx,cy:o.cy,clockwise:u,r0:E,r:N}});return P&&(k.z2=b-m.get(_,M)%b),k}(y||d)&&(m.diff(v).add(function(M){var D=m.get(_,M);if(d){var L=T(M,s);Bt(L,{rotation:-((isNaN(+D)?w[0]:Lt(D,x,w,!0))+Math.PI/2)},t),h.add(L),m.setItemGraphicEl(M,L)}if(y){var I=C(M,s),P=g.get("clip");Bt(I,{shape:{endAngle:Lt(D,x,w,P)}},t),h.add(I),vc(t.seriesIndex,m.dataType,M,I),p[M]=I}}).update(function(M,D){var L=m.get(_,M);if(d){var I=v.getItemGraphicEl(D),P=I?I.rotation:s,R=T(M,P);R.rotation=P,Mt(R,{rotation:-((isNaN(+L)?w[0]:Lt(L,x,w,!0))+Math.PI/2)},t),h.add(R),m.setItemGraphicEl(M,R)}if(y){var E=c[D],N=E?E.shape.endAngle:s,k=C(M,N),B=g.get("clip");Mt(k,{shape:{endAngle:Lt(L,x,w,B)}},t),h.add(k),vc(t.seriesIndex,m.dataType,M,k),p[M]=k}}).execute(),m.each(function(M){var D=m.getItemModel(M),L=D.getModel("emphasis"),I=L.get("focus"),P=L.get("blurScope"),R=L.get("disabled");if(d){var E=m.getItemGraphicEl(M),N=m.getItemVisual(M,"style"),k=N.fill;if(E instanceof le){var B=E.style;E.useStyle(V({image:B.image,x:B.x,y:B.y,width:B.width,height:B.height},N))}else E.useStyle(N),E.type!=="pointer"&&E.setColor(k);E.setStyle(D.getModel(["pointer","itemStyle"]).getItemStyle()),E.style.fill==="auto"&&E.setStyle("fill",i(Lt(m.get(_,M),x,[0,1],!0))),E.z2EmphasisLift=0,ue(E,D),Ft(E,I,P,R)}if(y){var F=p[M];F.useStyle(m.getItemVisual(M,"style")),F.setStyle(D.getModel(["progress","itemStyle"]).getItemStyle()),F.z2EmphasisLift=0,ue(F,D),Ft(F,I,P,R)}}),this._progressEls=p)},e.prototype._renderAnchor=function(t,a){var n=t.getModel("anchor"),i=n.get("show");if(i){var o=n.get("size"),s=n.get("icon"),l=n.get("offsetCenter"),u=n.get("keepAspect"),f=Qt(s,a.cx-o/2+H(l[0],a.r),a.cy-o/2+H(l[1],a.r),o,o,null,u);f.z2=n.get("showAbove")?1:0,f.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(f)}},e.prototype._renderTitleAndDetail=function(t,a,n,i,o){var s=this,l=t.getData(),u=l.mapDimension("value"),f=+t.get("min"),h=+t.get("max"),v=new at,c=[],p=[],d=t.isAnimationEnabled(),g=t.get(["pointer","showAbove"]);l.diff(this._data).add(function(y){c[y]=new bt({silent:!0}),p[y]=new bt({silent:!0})}).update(function(y,m){c[y]=s._titleEls[m],p[y]=s._detailEls[m]}).execute(),l.each(function(y){var m=l.getItemModel(y),_=l.get(u,y),S=new at,b=i(Lt(_,[f,h],[0,1],!0)),x=m.getModel("title");if(x.get("show")){var w=x.get("offsetCenter"),T=o.cx+H(w[0],o.r),C=o.cy+H(w[1],o.r),M=c[y];M.attr({z2:g?0:2,style:Et(x,{x:T,y:C,text:l.getName(y),align:"center",verticalAlign:"middle"},{inheritColor:b})}),S.add(M)}var D=m.getModel("detail");if(D.get("show")){var L=D.get("offsetCenter"),I=o.cx+H(L[0],o.r),P=o.cy+H(L[1],o.r),R=H(D.get("width"),o.r),E=H(D.get("height"),o.r),N=t.get(["progress","show"])?l.getItemVisual(y,"style").fill:b,M=p[y],k=D.get("formatter");M.attr({z2:g?0:2,style:Et(D,{x:I,y:P,text:nh(_,k),width:isNaN(R)?null:R,height:isNaN(E)?null:E,align:"center",verticalAlign:"middle"},{inheritColor:N})}),J_(M,{normal:D},_,function(F){return nh(F,k)}),d&&$_(M,y,l,t,{getFormattedLabel:function(F,W,q,$,Q,pt){return nh(pt?pt.interpolatedValue:_,k)}}),S.add(M)}v.add(S)}),this.group.add(v),this._titleEls=c,this._detailEls=p},e.type="gauge",e}(Ot),xH=SH,bH=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.visualStyleAccessPath="itemStyle",t}return e.prototype.getInitialData=function(t,a){return fo(this,["value"])},e.type="series.gauge",e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e}(zt),wH=bH;function TH(r){r.registerChartView(xH),r.registerSeriesModel(wH)}var CH=["itemStyle","opacity"],AH=function(r){O(e,r);function e(t,a){var n=r.call(this)||this,i=n,o=new ke,s=new bt;return i.setTextContent(s),n.setTextGuideLine(o),n.updateData(t,a,!0),n}return e.prototype.updateData=function(t,a,n){var i=this,o=t.hostModel,s=t.getItemModel(a),l=t.getItemLayout(a),u=s.getModel("emphasis"),f=s.get(CH);f=f==null?1:f,n||gr(i),i.useStyle(t.getItemVisual(a,"style")),i.style.lineJoin="round",n?(i.setShape({points:l.points}),i.style.opacity=0,Bt(i,{style:{opacity:f}},o,a)):Mt(i,{style:{opacity:f},shape:{points:l.points}},o,a),ue(i,s),this._updateLabel(t,a),Ft(this,u.get("focus"),u.get("blurScope"),u.get("disabled"))},e.prototype._updateLabel=function(t,a){var n=this,i=this.getTextGuideLine(),o=n.getTextContent(),s=t.hostModel,l=t.getItemModel(a),u=t.getItemLayout(a),f=u.label,h=t.getItemVisual(a,"style"),v=h.fill;fe(o,ee(l),{labelFetcher:t.hostModel,labelDataIndex:a,defaultOpacity:h.opacity,defaultText:t.getName(a)},{normal:{align:f.textAlign,verticalAlign:f.verticalAlign}}),n.setTextConfig({local:!0,inside:!!f.inside,insideStroke:v,outsideFill:v});var c=f.linePoints;i.setShape({points:c}),n.textGuideLineConfig={anchor:c?new ot(c[0][0],c[0][1]):null},Mt(o,{style:{x:f.x,y:f.y}},s,a),o.attr({rotation:f.rotation,originX:f.x,originY:f.y,z2:10}),Hp(n,Wp(l),{stroke:v})},e}(Ee),MH=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.ignoreLabelLineUpdate=!0,t}return e.prototype.render=function(t,a,n){var i=t.getData(),o=this._data,s=this.group;i.diff(o).add(function(l){var u=new AH(i,l);i.setItemGraphicEl(l,u),s.add(u)}).update(function(l,u){var f=o.getItemGraphicEl(u);f.updateData(i,l),s.add(f),i.setItemGraphicEl(l,f)}).remove(function(l){var u=o.getItemGraphicEl(l);ss(u,t,l)}).execute(),this._data=i},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(Ot),DH=MH,LH=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t){r.prototype.init.apply(this,arguments),this.legendVisualProvider=new Xs(Y(this.getData,this),Y(this.getRawData,this)),this._defaultLabelLine(t)},e.prototype.getInitialData=function(t,a){return fo(this,{coordDimensions:["value"],encodeDefaulter:it(Gc,this)})},e.prototype._defaultLabelLine=function(t){yn(t,"labelLine",["show"]);var a=t.labelLine,n=t.emphasis.labelLine;a.show=a.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.prototype.getDataParams=function(t){var a=this.getData(),n=r.prototype.getDataParams.call(this,t),i=a.mapDimension("value"),o=a.getSum(i);return n.percent=o?+(a.get(i,t)/o*100).toFixed(2):0,n.$vars.push("percent"),n},e.type="series.funnel",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(zt),IH=LH;function PH(r,e){return $t(r.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function RH(r,e){for(var t=r.mapDimension("value"),a=r.mapArray(t,function(l){return l}),n=[],i=e==="ascending",o=0,s=r.count();oQH)return;var n=this._model.coordinateSystem.getSlidedAxisExpandWindow([r.offsetX,r.offsetY]);n.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:n.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(r){if(!(this._mouseDownPoint||!wg(this,"mousemove"))){var e=this._model,t=e.coordinateSystem.getSlidedAxisExpandWindow([r.offsetX,r.offsetY]),a=t.behavior;a==="jump"&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand(a==="none"?null:{axisExpandWindow:t.axisExpandWindow,animation:a==="jump"?null:{duration:0}})}}};function wg(r,e){var t=r._model;return t.get("axisExpandable")&&t.get("axisExpandTriggerOn")===e}var t4=JH,e4=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(){r.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var a=this.option;t&&ut(a,t,!0),this._initDimensions()},e.prototype.contains=function(t,a){var n=t.get("parallelIndex");return n!=null&&a.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){A(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(a){t.hasOwnProperty(a)&&(this.option[a]=t[a])},this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],a=this.parallelAxisIndex=[],n=It(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(i){return(i.get("parallelIndex")||0)===this.componentIndex},this);A(n,function(i){t.push("dim"+i.get("dim")),a.push(i.componentIndex)})},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(At),r4=e4,a4=function(r){O(e,r);function e(t,a,n,i,o){var s=r.call(this,t,a,n)||this;return s.type=i||"value",s.axisIndex=o,s}return e.prototype.isHorizontal=function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"},e}(Cr),n4=a4;function pi(r,e,t,a,n,i){r=r||0;var o=t[1]-t[0];if(n!=null&&(n=mo(n,[0,o])),i!=null&&(i=Math.max(i,n!=null?n:0)),a==="all"){var s=Math.abs(e[1]-e[0]);s=mo(s,[0,o]),n=i=mo(s,[n,i]),a=0}e[0]=mo(e[0],t),e[1]=mo(e[1],t);var l=Tg(e,a);e[a]+=r;var u=n||0,f=t.slice();l.sign<0?f[0]+=u:f[1]-=u,e[a]=mo(e[a],f);var h;return h=Tg(e,a),n!=null&&(h.sign!==l.sign||h.spani&&(e[1-a]=e[a]+h.sign*i),e}function Tg(r,e){var t=r[e]-r[1-e];return{span:Math.abs(t),sign:t>0?-1:t<0?1:e?-1:1}}function mo(r,e){return Math.min(e[1]!=null?e[1]:1/0,Math.max(e[0]!=null?e[0]:-1/0,r))}var Cg=A,xA=Math.min,bA=Math.max,wA=Math.floor,i4=Math.ceil,TA=Ut,o4=Math.PI,s4=function(){function r(e,t,a){this.type="parallel",this._axesMap=X(),this._axesLayout={},this.dimensions=e.dimensions,this._model=e,this._init(e,t,a)}return r.prototype._init=function(e,t,a){var n=e.dimensions,i=e.parallelAxisIndex;Cg(n,function(o,s){var l=i[s],u=t.getComponent("parallelAxis",l),f=this._axesMap.set(o,new n4(o,Ff(u),[0,0],u.get("type"),l)),h=f.type==="category";f.onBand=h&&u.get("boundaryGap"),f.inverse=u.get("inverse"),u.axis=f,f.model=u,f.coordinateSystem=u.coordinateSystem=this},this)},r.prototype.update=function(e,t){this._updateAxesFromSeries(this._model,e)},r.prototype.containPoint=function(e){var t=this._makeLayoutInfo(),a=t.axisBase,n=t.layoutBase,i=t.pixelDimIndex,o=e[1-i],s=e[i];return o>=a&&o<=a+t.axisLength&&s>=n&&s<=n+t.layoutLength},r.prototype.getModel=function(){return this._model},r.prototype._updateAxesFromSeries=function(e,t){t.eachSeries(function(a){if(e.contains(a,t)){var n=a.getData();Cg(this.dimensions,function(i){var o=this._axesMap.get(i);o.scale.unionExtentFromData(n,n.mapDimension(i)),vo(o.scale,o.model)},this)}},this)},r.prototype.resize=function(e,t){this._rect=$t(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},r.prototype.getRect=function(){return this._rect},r.prototype._makeLayoutInfo=function(){var e=this._model,t=this._rect,a=["x","y"],n=["width","height"],i=e.get("layout"),o=i==="horizontal"?0:1,s=t[n[o]],l=[0,s],u=this.dimensions.length,f=ih(e.get("axisExpandWidth"),l),h=ih(e.get("axisExpandCount")||0,[0,u]),v=e.get("axisExpandable")&&u>3&&u>h&&h>1&&f>0&&s>0,c=e.get("axisExpandWindow"),p;if(c)p=ih(c[1]-c[0],l),c[1]=c[0]+p;else{p=ih(f*(h-1),l);var d=e.get("axisExpandCenter")||wA(u/2);c=[f*d-p/2],c[1]=c[0]+p}var g=(s-p)/(u-h);g<3&&(g=0);var y=[wA(TA(c[0]/f,1))+1,i4(TA(c[1]/f,1))-1],m=g/f*c[0];return{layout:i,pixelDimIndex:o,layoutBase:t[a[o]],layoutLength:s,axisBase:t[a[1-o]],axisLength:t[n[1-o]],axisExpandable:v,axisExpandWidth:f,axisCollapseWidth:g,axisExpandWindow:c,axisCount:u,winInnerIndices:y,axisExpandWindow0Pos:m}},r.prototype._layoutAxes=function(){var e=this._rect,t=this._axesMap,a=this.dimensions,n=this._makeLayoutInfo(),i=n.layout;t.each(function(o){var s=[0,n.axisLength],l=o.inverse?1:0;o.setExtent(s[l],s[1-l])}),Cg(a,function(o,s){var l=(n.axisExpandable?u4:l4)(s,n),u={horizontal:{x:l.position,y:n.axisLength},vertical:{x:0,y:l.position}},f={horizontal:o4/2,vertical:0},h=[u[i].x+e.x,u[i].y+e.y],v=f[i],c=Ye();ln(c,c,v),Dr(c,c,h),this._axesLayout[o]={position:h,rotation:v,transform:c,axisNameAvailableWidth:l.axisNameAvailableWidth,axisLabelShow:l.axisLabelShow,nameTruncateMaxWidth:l.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},r.prototype.getAxis=function(e){return this._axesMap.get(e)},r.prototype.dataToPoint=function(e,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(e),t)},r.prototype.eachActiveState=function(e,t,a,n){a==null&&(a=0),n==null&&(n=e.count());var i=this._axesMap,o=this.dimensions,s=[],l=[];A(o,function(g){s.push(e.mapDimension(g)),l.push(i.get(g).model)});for(var u=this.hasAxisBrushed(),f=a;fi*(1-h[0])?(u="jump",l=s-i*(1-h[2])):(l=s-i*h[1])>=0&&(l=s-i*(1-h[1]))<=0&&(l=0),l*=t.axisExpandWidth/f,l?pi(l,n,o,"all"):u="none";else{var c=n[1]-n[0],p=o[1]*s/c;n=[bA(0,p-c/2)],n[1]=xA(o[1],n[0]+c),n[0]=n[1]-c}return{axisExpandWindow:n,behavior:u}},r}();function ih(r,e){return xA(bA(r,e[0]),e[1])}function l4(r,e){var t=e.layoutLength/(e.axisCount-1);return{position:t*r,axisNameAvailableWidth:t,axisLabelShow:!0}}function u4(r,e){var t=e.layoutLength,a=e.axisExpandWidth,n=e.axisCount,i=e.axisCollapseWidth,o=e.winInnerIndices,s,l=i,u=!1,f;return r=0;n--)qe(a[n])},e.prototype.getActiveState=function(t){var a=this.activeIntervals;if(!a.length)return"normal";if(t==null||isNaN(+t))return"inactive";if(a.length===1){var n=a[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,o=a.length;ig4}function kA(r){var e=r.length-1;return e<0&&(e=0),[r[0],r[e]]}function OA(r,e,t,a){var n=new at;return n.add(new xt({name:"main",style:Pg(t),silent:!0,draggable:!0,cursor:"move",drift:it(BA,r,e,n,["n","s","w","e"]),ondragend:it(gi,e,{isEnd:!0})})),A(a,function(i){n.add(new xt({name:i.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:it(BA,r,e,n,i),ondragend:it(gi,e,{isEnd:!0})}))}),n}function NA(r,e,t,a){var n=a.brushStyle.lineWidth||0,i=_o(n,y4),o=t[0][0],s=t[1][0],l=o-n/2,u=s-n/2,f=t[0][1],h=t[1][1],v=f-i+n/2,c=h-i+n/2,p=f-o,d=h-s,g=p+n,y=d+n;pa(r,e,"main",o,s,p,d),a.transformable&&(pa(r,e,"w",l,u,i,y),pa(r,e,"e",v,u,i,y),pa(r,e,"n",l,u,g,i),pa(r,e,"s",l,c,g,i),pa(r,e,"nw",l,u,i,i),pa(r,e,"ne",v,u,i,i),pa(r,e,"sw",l,c,i,i),pa(r,e,"se",v,c,i,i))}function Ig(r,e){var t=e.__brushOption,a=t.transformable,n=e.childAt(0);n.useStyle(Pg(t)),n.attr({silent:!a,cursor:a?"move":"default"}),A([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(i){var o=e.childOfName(i.join("")),s=i.length===1?Rg(r,i[0]):T4(r,i);o&&o.attr({silent:!a,invisible:!a,cursor:a?_4[s]+"-resize":null})})}function pa(r,e,t,a,n,i,o){var s=e.childOfName(t);s&&s.setShape(A4(Eg(r,e,[[a,n],[a+i,n+o]])))}function Pg(r){return J({strokeNoScale:!0},r.brushStyle)}function VA(r,e,t,a){var n=[pl(r,t),pl(e,a)],i=[_o(r,t),_o(e,a)];return[[n[0],i[0]],[n[1],i[1]]]}function w4(r){return Un(r.group)}function Rg(r,e){var t={w:"left",e:"right",n:"top",s:"bottom"},a={left:"w",right:"e",top:"n",bottom:"s"},n=$u(t[e],w4(r));return a[n]}function T4(r,e){var t=[Rg(r,e[0]),Rg(r,e[1])];return(t[0]==="e"||t[0]==="w")&&t.reverse(),t.join("")}function BA(r,e,t,a,n,i){var o=t.__brushOption,s=r.toRectRange(o.range),l=zA(e,n,i);A(a,function(u){var f=m4[u];s[f[0]][f[1]]+=l[f[0]]}),o.range=r.fromRectRange(VA(s[0][0],s[1][0],s[0][1],s[1][1])),Ag(e,t),gi(e,{isEnd:!1})}function C4(r,e,t,a){var n=e.__brushOption.range,i=zA(r,t,a);A(n,function(o){o[0]+=i[0],o[1]+=i[1]}),Ag(r,e),gi(r,{isEnd:!1})}function zA(r,e,t){var a=r.group,n=a.transformCoordToLocal(e,t),i=a.transformCoordToLocal(0,0);return[n[0]-i[0],n[1]-i[1]]}function Eg(r,e,t){var a=EA(r,e);return a&&a!==di?a.clipPath(t,r._transform):et(t)}function A4(r){var e=pl(r[0][0],r[1][0]),t=pl(r[0][1],r[1][1]),a=_o(r[0][0],r[1][0]),n=_o(r[0][1],r[1][1]);return{x:e,y:t,width:a-e,height:n-t}}function M4(r,e,t){if(!(!r._brushType||L4(r,e.offsetX,e.offsetY))){var a=r._zr,n=r._covers,i=Dg(r,e,t);if(!r._dragging)for(var o=0;oa.getWidth()||t<0||t>a.getHeight()}var oh={lineX:WA(0),lineY:WA(1),rect:{createCover:function(r,e){function t(a){return a}return OA({toRectRange:t,fromRectRange:t},r,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(r){var e=kA(r);return VA(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(r,e,t,a){NA(r,e,t,a)},updateCommon:Ig,contain:Og},polygon:{createCover:function(r,e){var t=new at;return t.add(new ke({name:"main",style:Pg(e),silent:!0})),t},getCreatingRange:function(r){return r},endCreating:function(r,e){e.remove(e.childAt(0)),e.add(new Ee({name:"main",draggable:!0,drift:it(C4,r,e),ondragend:it(gi,r,{isEnd:!0})}))},updateCoverShape:function(r,e,t,a){e.childAt(0).setShape({points:Eg(r,e,t)})},updateCommon:Ig,contain:Og}};function WA(r){return{createCover:function(e,t){return OA({toRectRange:function(a){var n=[a,[0,100]];return r&&n.reverse(),n},fromRectRange:function(a){return a[r]}},e,t,[[["w"],["e"]],[["n"],["s"]]][r])},getCreatingRange:function(e){var t=kA(e),a=pl(t[0][r],t[1][r]),n=_o(t[0][r],t[1][r]);return[a,n]},updateCoverShape:function(e,t,a,n){var i,o=EA(e,t);if(o!==di&&o.getLinearBrushOtherExtent)i=o.getLinearBrushOtherExtent(r);else{var s=e._zr;i=[0,[s.getWidth(),s.getHeight()][1-r]]}var l=[a,i];r&&l.reverse(),NA(e,t,l,n)},updateCommon:Ig,contain:Og}}var Ng=x4;function UA(r){return r=Vg(r),function(e){return ex(e,r)}}function YA(r,e){return r=Vg(r),function(t){var a=e!=null?e:t,n=a?r.width:r.height,i=a?r.x:r.y;return[i,i+(n||0)]}}function ZA(r,e,t){var a=Vg(r);return function(n,i){return a.contain(i[0],i[1])&&!Yf(n,e,t)}}function Vg(r){return ht.create(r)}var I4=["axisLine","axisTickLabel","axisName"],P4=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t,a){r.prototype.init.apply(this,arguments),(this._brushController=new Ng(a.getZr())).on("brush",Y(this._onBrush,this))},e.prototype.render=function(t,a,n,i){if(!R4(t,a,i)){this.axisModel=t,this.api=n,this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new at,this.group.add(this._axisGroup),!!t.get("show")){var s=k4(t,a),l=s.coordinateSystem,u=t.getAreaSelectStyle(),f=u.width,h=t.axis.dim,v=l.getAxisLayout(h),c=V({strokeContainThreshold:f},v),p=new va(t,c);A(I4,p.add,p),this._axisGroup.add(p.getGroup()),this._refreshBrushController(c,u,t,s,f,n),ws(o,this._axisGroup,t)}}},e.prototype._refreshBrushController=function(t,a,n,i,o,s){var l=n.axis.getExtent(),u=l[1]-l[0],f=Math.min(30,Math.abs(u)*.1),h=ht.create({x:l[0],y:-o/2,width:u,height:o});h.x-=f,h.width+=2*f,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,x:t.position[0],y:t.position[1]}).setPanels([{panelId:"pl",clipPath:UA(h),isTargetByCursor:ZA(h,s,i),getLinearBrushOtherExtent:YA(h,0)}]).enableBrush({brushType:"lineX",brushStyle:a,removeOnClick:!0}).updateCovers(E4(n))},e.prototype._onBrush=function(t){var a=t.areas,n=this.axisModel,i=n.axis,o=G(a,function(s){return[i.coordToData(s.range[0],!0),i.coordToData(s.range[1],!0)]});(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:o})},e.prototype.dispose=function(){this._brushController.dispose()},e.type="parallelAxis",e}(Ht);function R4(r,e,t){return t&&t.type==="axisAreaSelect"&&e.findComponents({mainType:"parallelAxis",query:t})[0]===r}function E4(r){var e=r.axis;return G(r.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}})}function k4(r,e){return e.getComponent("parallel",r.get("parallelIndex"))}var O4=P4,N4={type:"axisAreaSelect",event:"axisAreaSelected"};function V4(r){r.registerAction(N4,function(e,t){t.eachComponent({mainType:"parallelAxis",query:e},function(a){a.axis.model.setActiveIntervals(e.intervals)})}),r.registerAction("parallelAxisExpand",function(e,t){t.eachComponent({mainType:"parallel",query:e},function(a){a.setAxisExpand(e)})})}var B4={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function XA(r){r.registerComponentView(t4),r.registerComponentModel(r4),r.registerCoordinateSystem("parallel",c4),r.registerPreprocessor(qH),r.registerComponentModel(AA),r.registerComponentView(O4),ho(r,"parallel",AA,B4),V4(r)}function z4(r){ct(XA),r.registerChartView(GH),r.registerSeriesModel(UH),r.registerVisual(r.PRIORITY.VISUAL.BRUSH,XH)}var G4=function(){function r(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return r}(),F4=function(r){O(e,r);function e(t){return r.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new G4},e.prototype.buildPath=function(t,a){var n=a.extent;t.moveTo(a.x1,a.y1),t.bezierCurveTo(a.cpx1,a.cpy1,a.cpx2,a.cpy2,a.x2,a.y2),a.orient==="vertical"?(t.lineTo(a.x2+n,a.y2),t.bezierCurveTo(a.cpx2+n,a.cpy2,a.cpx1+n,a.cpy1,a.x1+n,a.y1)):(t.lineTo(a.x2,a.y2+n),t.bezierCurveTo(a.cpx2,a.cpy2+n,a.cpx1,a.cpy1+n,a.x1,a.y1+n)),t.closePath()},e.prototype.highlight=function(){ia(this)},e.prototype.downplay=function(){oa(this)},e}(yt),H4=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t._focusAdjacencyDisabled=!1,t}return e.prototype.render=function(t,a,n){var i=this,o=t.getGraph(),s=this.group,l=t.layoutInfo,u=l.width,f=l.height,h=t.getData(),v=t.getData("edge"),c=t.get("orient");this._model=t,s.removeAll(),s.x=l.x,s.y=l.y,o.eachEdge(function(p){var d=new F4,g=nt(d);g.dataIndex=p.dataIndex,g.seriesIndex=t.seriesIndex,g.dataType="edge";var y=p.getModel(),m=y.getModel("lineStyle"),_=m.get("curveness"),S=p.node1.getLayout(),b=p.node1.getModel(),x=b.get("localX"),w=b.get("localY"),T=p.node2.getLayout(),C=p.node2.getModel(),M=C.get("localX"),D=C.get("localY"),L=p.getLayout(),I,P,R,E,N,k,B,F;d.shape.extent=Math.max(1,L.dy),d.shape.orient=c,c==="vertical"?(I=(x!=null?x*u:S.x)+L.sy,P=(w!=null?w*f:S.y)+S.dy,R=(M!=null?M*u:T.x)+L.ty,E=D!=null?D*f:T.y,N=I,k=P*(1-_)+E*_,B=R,F=P*_+E*(1-_)):(I=(x!=null?x*u:S.x)+S.dx,P=(w!=null?w*f:S.y)+L.sy,R=M!=null?M*u:T.x,E=(D!=null?D*f:T.y)+L.ty,N=I*(1-_)+R*_,k=P,B=I*_+R*(1-_),F=E),d.setShape({x1:I,y1:P,x2:R,y2:E,cpx1:N,cpy1:k,cpx2:B,cpy2:F}),d.useStyle(m.getItemStyle()),qA(d.style,c,p);var W=""+y.get("value"),q=ee(y,"edgeLabel");fe(d,q,{labelFetcher:{getFormattedLabel:function(pt,_t,dt,rt,gt,st){return t.getFormattedLabel(pt,_t,"edge",rt,Mr(gt,q.normal&&q.normal.get("formatter"),W),st)}},labelDataIndex:p.dataIndex,defaultText:W}),d.setTextConfig({position:"inside"});var $=y.getModel("emphasis");ue(d,y,"lineStyle",function(pt){var _t=pt.getItemStyle();return qA(_t,c,p),_t}),s.add(d),v.setItemGraphicEl(p.dataIndex,d);var Q=$.get("focus");Ft(d,Q==="adjacency"?p.getAdjacentDataIndices():Q==="trajectory"?p.getTrajectoryDataIndices():Q,$.get("blurScope"),$.get("disabled"))}),o.eachNode(function(p){var d=p.getLayout(),g=p.getModel(),y=g.get("localX"),m=g.get("localY"),_=g.getModel("emphasis"),S=new xt({shape:{x:y!=null?y*u:d.x,y:m!=null?m*f:d.y,width:d.dx,height:d.dy},style:g.getModel("itemStyle").getItemStyle(),z2:10});fe(S,ee(g),{labelFetcher:{getFormattedLabel:function(x,w){return t.getFormattedLabel(x,w,"node")}},labelDataIndex:p.dataIndex,defaultText:p.id}),S.disableLabelAnimation=!0,S.setStyle("fill",p.getVisual("color")),S.setStyle("decal",p.getVisual("style").decal),ue(S,g),s.add(S),h.setItemGraphicEl(p.dataIndex,S),nt(S).dataType="node";var b=_.get("focus");Ft(S,b==="adjacency"?p.getAdjacentDataIndices():b==="trajectory"?p.getTrajectoryDataIndices():b,_.get("blurScope"),_.get("disabled"))}),h.eachItemGraphicEl(function(p,d){var g=h.getItemModel(d);g.get("draggable")&&(p.drift=function(y,m){i._focusAdjacencyDisabled=!0,this.shape.x+=y,this.shape.y+=m,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:h.getRawIndex(d),localX:this.shape.x/u,localY:this.shape.y/f})},p.ondragend=function(){i._focusAdjacencyDisabled=!1},p.draggable=!0,p.cursor="move")}),!this._data&&t.isAnimationEnabled()&&s.setClipPath(W4(s.getBoundingRect(),t,function(){s.removeClipPath()})),this._data=t.getData()},e.prototype.dispose=function(){},e.type="sankey",e}(Ot);function qA(r,e,t){switch(r.fill){case"source":r.fill=t.node1.getVisual("color"),r.decal=t.node1.getVisual("style").decal;break;case"target":r.fill=t.node2.getVisual("color"),r.decal=t.node2.getVisual("style").decal;break;case"gradient":var a=t.node1.getVisual("color"),n=t.node2.getVisual("color");U(a)&&U(n)&&(r.fill=new Qi(0,0,+(e==="horizontal"),+(e==="vertical"),[{color:a,offset:0},{color:n,offset:1}]))}}function W4(r,e,t){var a=new xt({shape:{x:r.x-10,y:r.y-10,width:0,height:r.height+20}});return Bt(a,{shape:{width:r.width+20}},e,t),a}var U4=H4,Y4=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.getInitialData=function(t,a){var n=t.edges||t.links,i=t.data||t.nodes,o=t.levels;this.levelModels=[];for(var s=this.levelModels,l=0;l=0&&(s[o[l].depth]=new kt(o[l],this,a));if(i&&n){var u=yA(i,n,this,!0,f);return u.data}function f(h,v){h.wrapMethod("getItemModel",function(c,p){var d=c.parentModel,g=d.getData().getItemLayout(p);if(g){var y=g.depth,m=d.levelModels[y];m&&(c.parentModel=m)}return c}),v.wrapMethod("getItemModel",function(c,p){var d=c.parentModel,g=d.getGraph().getEdgeByIndex(p),y=g.node1.getLayout();if(y){var m=y.depth,_=d.levelModels[m];_&&(c.parentModel=_)}return c})}},e.prototype.setNodePosition=function(t,a){var n=this.option.data||this.option.nodes,i=n[t];i.localX=a[0],i.localY=a[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,a,n){function i(c){return isNaN(c)||c==null}if(n==="edge"){var o=this.getDataParams(t,n),s=o.data,l=o.value,u=s.source+" -- "+s.target;return re("nameValue",{name:u,value:l,noValue:i(l)})}else{var f=this.getGraph().getNodeByIndex(t),h=f.getLayout().value,v=this.getDataParams(t,n).data.name;return re("nameValue",{name:v!=null?v+"":null,value:h,noValue:i(h)})}},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(t,a){var n=r.prototype.getDataParams.call(this,t,a);if(n.value==null&&a==="node"){var i=this.getGraph().getNodeByIndex(t),o=i.getLayout().value;n.value=o}return n},e.type="series.sankey",e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e}(zt),Z4=Y4;function X4(r,e){r.eachSeriesByType("sankey",function(t){var a=t.get("nodeWidth"),n=t.get("nodeGap"),i=q4(t,e);t.layoutInfo=i;var o=i.width,s=i.height,l=t.getGraph(),u=l.nodes,f=l.edges;j4(u);var h=It(u,function(d){return d.getLayout().value===0}),v=h.length!==0?0:t.get("layoutIterations"),c=t.get("orient"),p=t.get("nodeAlign");K4(u,f,a,n,o,s,v,c,p)})}function q4(r,e){return $t(r.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function K4(r,e,t,a,n,i,o,s,l){Q4(r,e,t,n,i,s,l),eW(r,e,i,n,a,o,s),fW(r,s)}function j4(r){A(r,function(e){var t=qa(e.outEdges,sh),a=qa(e.inEdges,sh),n=e.getValue()||0,i=Math.max(t,a,n);e.setLayout({value:i},!0)})}function Q4(r,e,t,a,n,i,o){for(var s=[],l=[],u=[],f=[],h=0,v=0;v=0;y&&g.depth>c&&(c=g.depth),d.setLayout({depth:y?g.depth:h},!0),i==="vertical"?d.setLayout({dy:t},!0):d.setLayout({dx:t},!0);for(var m=0;mh-1?c:h-1;o&&o!=="left"&&J4(r,o,i,w);var T=i==="vertical"?(n-t)/w:(a-t)/w;tW(r,T,i)}function KA(r){var e=r.hostGraph.data.getRawDataItem(r.dataIndex);return e.depth!=null&&e.depth>=0}function J4(r,e,t,a){if(e==="right"){for(var n=[],i=r,o=0;i.length;){for(var s=0;s0;i--)l*=.99,nW(s,l,o),Bg(s,n,t,a,o),uW(s,l,o),Bg(s,n,t,a,o)}function rW(r,e){var t=[],a=e==="vertical"?"y":"x",n=qv(r,function(i){return i.getLayout()[a]});return n.keys.sort(function(i,o){return i-o}),A(n.keys,function(i){t.push(n.buckets.get(i))}),t}function aW(r,e,t,a,n,i){var o=1/0;A(r,function(s){var l=s.length,u=0;A(s,function(h){u+=h.getLayout().value});var f=i==="vertical"?(a-(l-1)*n)/u:(t-(l-1)*n)/u;f0&&(s=l.getLayout()[i]+u,n==="vertical"?l.setLayout({x:s},!0):l.setLayout({y:s},!0)),f=l.getLayout()[i]+l.getLayout()[v]+e;var p=n==="vertical"?a:t;if(u=f-e-p,u>0){s=l.getLayout()[i]-u,n==="vertical"?l.setLayout({x:s},!0):l.setLayout({y:s},!0),f=s;for(var c=h-2;c>=0;--c)l=o[c],u=l.getLayout()[i]+l.getLayout()[v]+e-f,u>0&&(s=l.getLayout()[i]-u,n==="vertical"?l.setLayout({x:s},!0):l.setLayout({y:s},!0)),f=l.getLayout()[i]}})}function nW(r,e,t){A(r.slice().reverse(),function(a){A(a,function(n){if(n.outEdges.length){var i=qa(n.outEdges,iW,t)/qa(n.outEdges,sh);if(isNaN(i)){var o=n.outEdges.length;i=o?qa(n.outEdges,oW,t)/o:0}if(t==="vertical"){var s=n.getLayout().x+(i-Xa(n,t))*e;n.setLayout({x:s},!0)}else{var l=n.getLayout().y+(i-Xa(n,t))*e;n.setLayout({y:l},!0)}}})})}function iW(r,e){return Xa(r.node2,e)*r.getValue()}function oW(r,e){return Xa(r.node2,e)}function sW(r,e){return Xa(r.node1,e)*r.getValue()}function lW(r,e){return Xa(r.node1,e)}function Xa(r,e){return e==="vertical"?r.getLayout().x+r.getLayout().dx/2:r.getLayout().y+r.getLayout().dy/2}function sh(r){return r.getValue()}function qa(r,e,t){for(var a=0,n=r.length,i=-1;++io&&(o=l)}),A(a,function(s){var l=new ve({type:"color",mappingMethod:"linear",dataExtent:[i,o],visual:e.get("color")}),u=l.mapValueToVisual(s.getLayout().value),f=s.getModel().get(["itemStyle","color"]);f!=null?(s.setVisual("color",f),s.setVisual("style",{fill:f})):(s.setVisual("color",u),s.setVisual("style",{fill:u}))})}n.length&&A(n,function(s){var l=s.getModel().get("lineStyle");s.setVisual("style",l)})})}function vW(r){r.registerChartView(U4),r.registerSeriesModel(Z4),r.registerLayout(X4),r.registerVisual(hW),r.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(e,t){t.eachComponent({mainType:"series",subType:"sankey",query:e},function(a){a.setNodePosition(e.dataIndex,[e.localX,e.localY])})})}var jA=function(){function r(){}return r.prototype.getInitialData=function(e,t){var a,n=t.getComponent("xAxis",this.get("xAxisIndex")),i=t.getComponent("yAxis",this.get("yAxisIndex")),o=n.get("type"),s=i.get("type"),l;o==="category"?(e.layout="horizontal",a=n.getOrdinalMeta(),l=!0):s==="category"?(e.layout="vertical",a=i.getOrdinalMeta(),l=!0):e.layout=e.layout||"horizontal";var u=["x","y"],f=e.layout==="horizontal"?0:1,h=this._baseAxisDim=u[f],v=u[1-f],c=[n,i],p=c[f].get("type"),d=c[1-f].get("type"),g=e.data;if(g&&l){var y=[];A(g,function(S,b){var x;z(S)?(x=S.slice(),S.unshift(b)):z(S.value)?(x=V({},S),x.value=x.value.slice(),S.value.unshift(b)):x=S,y.push(x)}),e.data=y}var m=this.defaultValueDimensions,_=[{name:h,type:wf(p),ordinalMeta:a,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:v,type:wf(d),dimsDef:m.slice()}];return fo(this,{coordDimensions:_,dimensionsCount:m.length+1,encodeDefaulter:it(wS,_,this)})},r.prototype.getBaseAxis=function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis},r}(),QA=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],t.visualDrawType="stroke",t}return e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(zt);qt(QA,jA,!0);var cW=QA,pW=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){var i=t.getData(),o=this.group,s=this._data;this._data||o.removeAll();var l=t.get("layout")==="horizontal"?1:0;i.diff(s).add(function(u){if(i.hasValue(u)){var f=i.getItemLayout(u),h=JA(f,i,u,l,!0);i.setItemGraphicEl(u,h),o.add(h)}}).update(function(u,f){var h=s.getItemGraphicEl(f);if(!i.hasValue(u)){o.remove(h);return}var v=i.getItemLayout(u);h?(gr(h),$A(v,h,i,u)):h=JA(v,i,u,l),o.add(h),i.setItemGraphicEl(u,h)}).remove(function(u){var f=s.getItemGraphicEl(u);f&&o.remove(f)}).execute(),this._data=i},e.prototype.remove=function(t){var a=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl(function(i){i&&a.remove(i)})},e.type="boxplot",e}(Ot),dW=function(){function r(){}return r}(),gW=function(r){O(e,r);function e(t){var a=r.call(this,t)||this;return a.type="boxplotBoxPath",a}return e.prototype.getDefaultShape=function(){return new dW},e.prototype.buildPath=function(t,a){var n=a.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();id){var S=[y,_];a.push(S)}}}return{boxData:t,outliers:a}}var TW={type:"echarts:boxplot",transform:function(e){var t=e.upstream;if(t.sourceFormat!==pe){var a="";Dt(a)}var n=wW(t.getRawData(),e.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}};function CW(r){r.registerSeriesModel(cW),r.registerChartView(mW),r.registerLayout(_W),r.registerTransform(TW)}var AW=["color","borderColor"],MW=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,a,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,a,n,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,a):this._incrementalRenderNormal(t,a)},e.prototype.eachRendered=function(t){Ba(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var a=t.pipelineContext.large;(this._isLargeDraw==null||a!==this._isLargeDraw)&&(this._isLargeDraw=a,this._clear())},e.prototype._renderNormal=function(t){var a=t.getData(),n=this._data,i=this.group,o=a.getLayout("isSimpleBox"),s=t.get("clip",!0),l=t.coordinateSystem,u=l.getArea&&l.getArea();this._data||i.removeAll(),a.diff(n).add(function(f){if(a.hasValue(f)){var h=a.getItemLayout(f);if(s&&tM(u,h))return;var v=zg(h,f,!0);Bt(v,{shape:{points:h.ends}},t,f),Gg(v,a,f,o),i.add(v),a.setItemGraphicEl(f,v)}}).update(function(f,h){var v=n.getItemGraphicEl(h);if(!a.hasValue(f)){i.remove(v);return}var c=a.getItemLayout(f);if(s&&tM(u,c)){i.remove(v);return}v?(Mt(v,{shape:{points:c.ends}},t,f),gr(v)):v=zg(c,f),Gg(v,a,f,o),i.add(v),a.setItemGraphicEl(f,v)}).remove(function(f){var h=n.getItemGraphicEl(f);h&&i.remove(h)}).execute(),this._data=a},e.prototype._renderLarge=function(t){this._clear(),eM(t,this.group);var a=t.get("clip",!0)?Mf(t.coordinateSystem,!1,t):null;a?this.group.setClipPath(a):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,a){for(var n=a.getData(),i=n.getLayout("isSimpleBox"),o;(o=t.next())!=null;){var s=n.getItemLayout(o),l=zg(s,o);Gg(l,n,o,i),l.incremental=!0,this.group.add(l),this._progressiveEls.push(l)}},e.prototype._incrementalRenderLarge=function(t,a){eM(a,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(Ot),DW=function(){function r(){}return r}(),LW=function(r){O(e,r);function e(t){var a=r.call(this,t)||this;return a.type="normalCandlestickBox",a}return e.prototype.getDefaultShape=function(){return new DW},e.prototype.buildPath=function(t,a){var n=a.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(yt);function zg(r,e,t){var a=r.ends;return new LW({shape:{points:t?IW(a,r):a},z2:100})}function tM(r,e){for(var t=!0,a=0;a0?"borderColor":"borderColor0"])||t.get(["itemStyle",r>0?"color":"color0"]);r===0&&(n=t.get(["itemStyle","borderColorDoji"]));var i=t.getModel("itemStyle").getItemStyle(AW);e.useStyle(i),e.style.fill=null,e.style.stroke=n}var RW=MW,rM=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],t}return e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,a,n){var i=a.getItemLayout(t);return i&&n.rect(i.brushRect)},e.type="series.candlestick",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(zt);qt(rM,jA,!0);var EW=rM;function kW(r){!r||!z(r.series)||A(r.series,function(e){tt(e)&&e.type==="k"&&(e.type="candlestick")})}var OW=["itemStyle","borderColor"],NW=["itemStyle","borderColor0"],VW=["itemStyle","borderColorDoji"],BW=["itemStyle","color"],zW=["itemStyle","color0"],GW={seriesType:"candlestick",plan:qi(),performRawSeries:!0,reset:function(r,e){function t(i,o){return o.get(i>0?BW:zW)}function a(i,o){return o.get(i===0?VW:i>0?OW:NW)}if(!e.isSeriesFiltered(r)){var n=r.pipelineContext.large;return!n&&{progress:function(i,o){for(var s;(s=i.next())!=null;){var l=o.getItemModel(s),u=o.getItemLayout(s).sign,f=l.getItemStyle();f.fill=t(u,l),f.stroke=a(u,l)||f.fill;var h=o.ensureUniqueItemVisual(s,"style");V(h,f)}}}}}},FW=GW,HW={seriesType:"candlestick",plan:qi(),reset:function(r){var e=r.coordinateSystem,t=r.getData(),a=WW(r,t),n=0,i=1,o=["x","y"],s=t.getDimensionIndex(t.mapDimension(o[n])),l=G(t.mapDimensionsAll(o[i]),t.getDimensionIndex,t),u=l[0],f=l[1],h=l[2],v=l[3];if(t.setLayout({candleWidth:a,isSimpleBox:a<=1.3}),s<0||l.length<4)return;return{progress:r.pipelineContext.large?p:c};function c(d,g){for(var y,m=g.getStore();(y=d.next())!=null;){var _=m.get(s,y),S=m.get(u,y),b=m.get(f,y),x=m.get(h,y),w=m.get(v,y),T=Math.min(S,b),C=Math.max(S,b),M=N(T,_),D=N(C,_),L=N(x,_),I=N(w,_),P=[];k(P,D,0),k(P,M,1),P.push(F(I),F(D),F(L),F(M));var R=g.getItemModel(y),E=!!R.get(["itemStyle","borderColorDoji"]);g.setItemLayout(y,{sign:aM(m,y,S,b,f,E),initBaseline:S>b?D[i]:M[i],ends:P,brushRect:B(x,w,_)})}function N(W,q){var $=[];return $[n]=q,$[i]=W,isNaN(q)||isNaN(W)?[NaN,NaN]:e.dataToPoint($)}function k(W,q,$){var Q=q.slice(),pt=q.slice();Q[n]=Ju(Q[n]+a/2,1,!1),pt[n]=Ju(pt[n]-a/2,1,!0),$?W.push(Q,pt):W.push(pt,Q)}function B(W,q,$){var Q=N(W,$),pt=N(q,$);return Q[n]-=a/2,pt[n]-=a/2,{x:Q[0],y:Q[1],width:i?a:pt[0]-Q[0],height:i?pt[1]-Q[1]:a}}function F(W){return W[n]=Ju(W[n],1),W}}function p(d,g){for(var y=Zr(d.count*4),m=0,_,S=[],b=[],x,w=g.getStore(),T=!!r.get(["itemStyle","borderColorDoji"]);(x=d.next())!=null;){var C=w.get(s,x),M=w.get(u,x),D=w.get(f,x),L=w.get(h,x),I=w.get(v,x);if(isNaN(C)||isNaN(L)||isNaN(I)){y[m++]=NaN,m+=3;continue}y[m++]=aM(w,x,M,D,f,T),S[n]=C,S[i]=L,_=e.dataToPoint(S,null,b),y[m++]=_?_[0]:NaN,y[m++]=_?_[1]:NaN,S[i]=I,_=e.dataToPoint(S,null,b),y[m++]=_?_[1]:NaN}g.setLayout("largePoints",y)}}};function aM(r,e,t,a,n,i){var o;return t>a?o=-1:t0?r.get(n,e-1)<=a?1:-1:1,o}function WW(r,e){var t=r.getBaseAxis(),a,n=t.type==="category"?t.getBandWidth():(a=t.getExtent(),Math.abs(a[1]-a[0])/e.count()),i=H(ft(r.get("barMaxWidth"),n),n),o=H(ft(r.get("barMinWidth"),1),n),s=r.get("barWidth");return s!=null?H(s,n):Math.max(Math.min(n/2,i),o)}var UW=HW;function YW(r){r.registerChartView(RW),r.registerSeriesModel(EW),r.registerPreprocessor(kW),r.registerVisual(FW),r.registerLayout(UW)}function nM(r,e){var t=e.rippleEffectColor||e.color;r.eachChild(function(a){a.attr({z:e.z,zlevel:e.zlevel,style:{stroke:e.brushType==="stroke"?t:null,fill:e.brushType==="fill"?t:null}})})}var ZW=function(r){O(e,r);function e(t,a){var n=r.call(this)||this,i=new Ws(t,a),o=new at;return n.add(i),n.add(o),n.updateData(t,a),n}return e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var a=t.symbolType,n=t.color,i=t.rippleNumber,o=this.childAt(1),s=0;s0&&(s=this._getLineLength(i)/f*1e3),s!==this._period||l!==this._loop||u!==this._roundTrip){i.stopAnimation();var v=void 0;j(h)?v=h(n):v=h,i.__t>0&&(v=-s*i.__t),this._animateSymbol(i,s,v,l,u)}this._period=s,this._loop=l,this._roundTrip=u}},e.prototype._animateSymbol=function(t,a,n,i,o){if(a>0){t.__t=0;var s=this,l=t.animate("",i).when(o?a*2:a,{__t:o?2:1}).delay(n).during(function(){s._updateSymbolPosition(t)});i||l.done(function(){s.remove(t)}),l.start()}},e.prototype._getLineLength=function(t){return xa(t.__p1,t.__cp1)+xa(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,a){t.__p1=a[0],t.__p2=a[1],t.__cp1=a[2]||[(a[0][0]+a[1][0])/2,(a[0][1]+a[1][1])/2]},e.prototype.updateData=function(t,a,n){this.childAt(0).updateData(t,a,n),this._updateEffectSymbol(t,a)},e.prototype._updateSymbolPosition=function(t){var a=t.__p1,n=t.__p2,i=t.__cp1,o=t.__t<1?t.__t:2-t.__t,s=[t.x,t.y],l=s.slice(),u=ie,f=cv;s[0]=u(a[0],i[0],n[0],o),s[1]=u(a[1],i[1],n[1],o);var h=t.__t<1?f(a[0],i[0],n[0],o):f(n[0],i[0],a[0],1-o),v=t.__t<1?f(a[1],i[1],n[1],o):f(n[1],i[1],a[1],1-o);t.rotation=-Math.atan2(v,h)-Math.PI/2,(this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")&&(t.__lastT!==void 0&&t.__lastT=0&&!(i[l]<=a);l--);l=Math.min(l,o-2)}else{for(l=s;la);l++);l=Math.min(l-1,o-2)}var f=(a-i[l])/(i[l+1]-i[l]),h=n[l],v=n[l+1];t.x=h[0]*(1-f)+f*v[0],t.y=h[1]*(1-f)+f*v[1];var c=t.__t<1?v[0]-h[0]:h[0]-v[0],p=t.__t<1?v[1]-h[1]:h[1]-v[1];t.rotation=-Math.atan2(p,c)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=a,t.ignore=!1}},e}(iM),r6=e6,a6=function(){function r(){this.polyline=!1,this.curveness=0,this.segs=[]}return r}(),n6=function(r){O(e,r);function e(t){var a=r.call(this,t)||this;return a._off=0,a.hoverDataIdx=-1,a}return e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new a6},e.prototype.buildPath=function(t,a){var n=a.segs,i=a.curveness,o;if(a.polyline)for(o=this._off;o0){t.moveTo(n[o++],n[o++]);for(var l=1;l0){var c=(u+h)/2-(f-v)*i,p=(f+v)/2-(h-u)*i;t.quadraticCurveTo(c,p,h,v)}else t.lineTo(h,v)}this.incremental&&(this._off=o,this.notClear=!0)},e.prototype.findDataIndex=function(t,a){var n=this.shape,i=n.segs,o=n.curveness,s=this.style.lineWidth;if(n.polyline)for(var l=0,u=0;u0)for(var h=i[u++],v=i[u++],c=1;c0){var g=(h+p)/2-(v-d)*o,y=(v+d)/2-(p-h)*o;if(i_(h,v,g,y,p,d,s,t,a))return l}else if(Pa(h,v,p,d,s,t,a))return l;l++}return-1},e.prototype.contain=function(t,a){var n=this.transformCoordToLocal(t,a),i=this.getBoundingRect();if(t=n[0],a=n[1],i.contain(t,a)){var o=this.hoverDataIdx=this.findDataIndex(t,a);return o>=0}return this.hoverDataIdx=-1,!1},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var a=this.shape,n=a.segs,i=1/0,o=1/0,s=-1/0,l=-1/0,u=0;u0&&(o.dataIndex=l+e.__startIndex)})},r.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},r}(),o6=i6,s6={seriesType:"lines",plan:qi(),reset:function(r){var e=r.coordinateSystem;if(e){var t=r.get("polyline"),a=r.pipelineContext.large;return{progress:function(n,i){var o=[];if(a){var s=void 0,l=n.end-n.start;if(t){for(var u=0,f=n.start;f0&&(f||u.configLayer(s,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(l/10+.9,1),0)})),o.updateData(i);var h=t.get("clip",!0)&&Mf(t.coordinateSystem,!1,t);h?this.group.setClipPath(h):this.group.removeClipPath(),this._lastZlevel=s,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,a,n){var i=t.getData(),o=this._updateLineDraw(i,t);o.incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},e.prototype.incrementalRender=function(t,a,n){this._lineDraw.incrementalUpdate(t,a.getData()),this._finished=t.end===a.getData().count()},e.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},e.prototype.updateTransform=function(t,a,n){var i=t.getData(),o=t.pipelineContext;if(!this._finished||o.large||o.progressiveRender)return{update:!0};var s=sM.reset(t,a,n);s.progress&&s.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,a){var n=this._lineDraw,i=this._showEffect(a),o=!!a.get("polyline"),s=a.pipelineContext,l=s.large;return(!n||i!==this._hasEffet||o!==this._isPolyline||l!==this._isLargeDraw)&&(n&&n.remove(),n=this._lineDraw=l?new o6:new gg(o?i?r6:oM:i?iM:pg),this._hasEffet=i,this._isPolyline=o,this._isLargeDraw=l),this.group.add(n.group),n},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var a=t.getZr(),n=a.painter.getType()==="svg";!n&&this._lastZlevel!=null&&a.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,a){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(a)},e.prototype.dispose=function(t,a){this.remove(t,a)},e.type="lines",e}(Ot),u6=l6,f6=typeof Uint32Array=="undefined"?Array:Uint32Array,h6=typeof Float64Array=="undefined"?Array:Float64Array;function lM(r){var e=r.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(r.data=G(e,function(t){var a=[t[0].coord,t[1].coord],n={coords:a};return t[0].name&&(n.fromName=t[0].name),t[1].name&&(n.toName=t[1].name),Uh([n,t[0],t[1]])}))}var v6=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.visualStyleAccessPath="lineStyle",t.visualDrawType="stroke",t}return e.prototype.init=function(t){t.data=t.data||[],lM(t);var a=this._processFlatCoordsArray(t.data);this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset,a.flatCoords&&(t.data=new Float32Array(a.count)),r.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(t){if(lM(t),t.data){var a=this._processFlatCoordsArray(t.data);this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset,a.flatCoords&&(t.data=new Float32Array(a.count))}r.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var a=this._processFlatCoordsArray(t.data);a.flatCoords&&(this._flatCoords?(this._flatCoords=Pl(this._flatCoords,a.flatCoords),this._flatCoordsOffset=Pl(this._flatCoordsOffset,a.flatCoordsOffset)):(this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset),t.data=new Float32Array(a.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var a=this.getData().getItemModel(t),n=a.option instanceof Array?a.option:a.getShallow("coords");return n},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[t*2+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,a){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[t*2],i=this._flatCoordsOffset[t*2+1],o=0;on}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,l),flatCoords:o,count:u}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},e.prototype.getInitialData=function(t,a){if(!1)var n;var i=new De(["value"],this);return i.hasItemOption=!1,i.initData(t.data,[],function(o,s,l,u){if(o instanceof Array)return NaN;i.hasItemOption=!0;var f=o.value;if(f!=null)return f instanceof Array?f[u]:f}),i},e.prototype.formatTooltip=function(t,a,n){var i=this.getData(),o=i.getItemModel(t),s=o.get("name");if(s)return s;var l=o.get("fromName"),u=o.get("toName"),f=[];return l!=null&&f.push(l),u!=null&&f.push(u),re("nameValue",{name:f.join(" > ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return t==null?this.option.large?1e4:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return t==null?this.option.large?2e4:this.get("progressiveThreshold"):t},e.prototype.getZLevelKey=function(){var t=this.getModel("effect"),a=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&a>0?a+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e}(zt),c6=v6;function lh(r){return r instanceof Array||(r=[r,r]),r}var p6={seriesType:"lines",reset:function(r){var e=lh(r.get("symbol")),t=lh(r.get("symbolSize")),a=r.getData();a.setVisual("fromSymbol",e&&e[0]),a.setVisual("toSymbol",e&&e[1]),a.setVisual("fromSymbolSize",t&&t[0]),a.setVisual("toSymbolSize",t&&t[1]);function n(i,o){var s=i.getItemModel(o),l=lh(s.getShallow("symbol",!0)),u=lh(s.getShallow("symbolSize",!0));l[0]&&i.setItemVisual(o,"fromSymbol",l[0]),l[1]&&i.setItemVisual(o,"toSymbol",l[1]),u[0]&&i.setItemVisual(o,"fromSymbolSize",u[0]),u[1]&&i.setItemVisual(o,"toSymbolSize",u[1])}return{dataEach:a.hasItemOption?n:null}}},d6=p6;function g6(r){r.registerChartView(u6),r.registerSeriesModel(c6),r.registerLayout(sM),r.registerVisual(d6)}var y6=256,m6=function(){function r(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var e=ur.createCanvas();this.canvas=e}return r.prototype.update=function(e,t,a,n,i,o){var s=this._getBrush(),l=this._getGradient(i,"inRange"),u=this._getGradient(i,"outOfRange"),f=this.pointSize+this.blurSize,h=this.canvas,v=h.getContext("2d"),c=e.length;h.width=t,h.height=a;for(var p=0;p0){var L=o(_)?l:u;_>0&&(_=_*M+T),b[x++]=L[D],b[x++]=L[D+1],b[x++]=L[D+2],b[x++]=L[D+3]*_*256}else x+=4}return v.putImageData(S,0,0),h},r.prototype._getBrush=function(){var e=this._brushCanvas||(this._brushCanvas=ur.createCanvas()),t=this.pointSize+this.blurSize,a=t*2;e.width=a,e.height=a;var n=e.getContext("2d");return n.clearRect(0,0,a,a),n.shadowOffsetX=a,n.shadowBlur=this.blurSize,n.shadowColor="#000",n.beginPath(),n.arc(-t,t,this.pointSize,0,Math.PI*2,!0),n.closePath(),n.fill(),e},r.prototype._getGradient=function(e,t){for(var a=this._gradientPixels,n=a[t]||(a[t]=new Uint8ClampedArray(256*4)),i=[0,0,0,0],o=0,s=0;s<256;s++)e[t](s/255,!0,i),n[o++]=i[0],n[o++]=i[1],n[o++]=i[2],n[o++]=i[3];return n},r}(),_6=m6;function S6(r,e,t){var a=r[1]-r[0];e=G(e,function(o){return{interval:[(o.interval[0]-r[0])/a,(o.interval[1]-r[0])/a]}});var n=e.length,i=0;return function(o){var s;for(s=i;s=0;s--){var l=e[s].interval;if(l[0]<=o&&o<=l[1]){i=s;break}}return s>=0&&s=e[0]&&a<=e[1]}}function uM(r){var e=r.dimensions;return e[0]==="lng"&&e[1]==="lat"}var b6=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){var i;a.eachComponent("visualMap",function(s){s.eachTargetSeries(function(l){l===t&&(i=s)})}),this._progressiveEls=null,this.group.removeAll();var o=t.coordinateSystem;o.type==="cartesian2d"||o.type==="calendar"?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):uM(o)&&this._renderOnGeo(o,t,i,n)},e.prototype.incrementalPrepareRender=function(t,a,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,a,n,i){var o=a.coordinateSystem;o&&(uM(o)?this.render(a,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(a,i,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){Ba(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,a,n,i,o){var s=t.coordinateSystem,l=ai(s,"cartesian2d"),u,f,h,v;if(l){var c=s.getAxis("x"),p=s.getAxis("y");u=c.getBandWidth()+.5,f=p.getBandWidth()+.5,h=c.scale.getExtent(),v=p.scale.getExtent()}for(var d=this.group,g=t.getData(),y=t.getModel(["emphasis","itemStyle"]).getItemStyle(),m=t.getModel(["blur","itemStyle"]).getItemStyle(),_=t.getModel(["select","itemStyle"]).getItemStyle(),S=t.get(["itemStyle","borderRadius"]),b=ee(t),x=t.getModel("emphasis"),w=x.get("focus"),T=x.get("blurScope"),C=x.get("disabled"),M=l?[g.mapDimension("x"),g.mapDimension("y"),g.mapDimension("value")]:[g.mapDimension("time"),g.mapDimension("value")],D=n;Dh[1]||Rv[1])continue;var E=s.dataToPoint([P,R]);L=new xt({shape:{x:E[0]-u/2,y:E[1]-f/2,width:u,height:f},style:I})}else{if(isNaN(g.get(M[1],D)))continue;L=new xt({z2:1,shape:s.dataToRect([g.get(M[0],D)]).contentShape,style:I})}if(g.hasItemOption){var N=g.getItemModel(D),k=N.getModel("emphasis");y=k.getModel("itemStyle").getItemStyle(),m=N.getModel(["blur","itemStyle"]).getItemStyle(),_=N.getModel(["select","itemStyle"]).getItemStyle(),S=N.get(["itemStyle","borderRadius"]),w=k.get("focus"),T=k.get("blurScope"),C=k.get("disabled"),b=ee(N)}L.shape.r=S;var B=t.getRawValue(D),F="-";B&&B[2]!=null&&(F=B[2]+""),fe(L,b,{labelFetcher:t,labelDataIndex:D,defaultOpacity:I.opacity,defaultText:F}),L.ensureState("emphasis").style=y,L.ensureState("blur").style=m,L.ensureState("select").style=_,Ft(L,w,T,C),L.incremental=o,o&&(L.states.emphasis.hoverLayer=!0),d.add(L),g.setItemGraphicEl(D,L),this._progressiveEls&&this._progressiveEls.push(L)}},e.prototype._renderOnGeo=function(t,a,n,i){var o=n.targetVisuals.inRange,s=n.targetVisuals.outOfRange,l=a.getData(),u=this._hmLayer||this._hmLayer||new _6;u.blurSize=a.get("blurSize"),u.pointSize=a.get("pointSize"),u.minOpacity=a.get("minOpacity"),u.maxOpacity=a.get("maxOpacity");var f=t.getViewRect().clone(),h=t.getRoamTransform();f.applyTransform(h);var v=Math.max(f.x,0),c=Math.max(f.y,0),p=Math.min(f.width+f.x,i.getWidth()),d=Math.min(f.height+f.y,i.getHeight()),g=p-v,y=d-c,m=[l.mapDimension("lng"),l.mapDimension("lat"),l.mapDimension("value")],_=l.mapArray(m,function(w,T,C){var M=t.dataToPoint([w,T]);return M[0]-=v,M[1]-=c,M.push(C),M}),S=n.getExtent(),b=n.type==="visualMap.continuous"?x6(S,n.option.range):S6(S,n.getPieceList(),n.option.selected);u.update(_,g,y,o.color.getNormalizer(),{inRange:o.color.getColorMapper(),outOfRange:s.color.getColorMapper()},b);var x=new le({style:{width:g,height:y,x:v,y:c,image:u.canvas},silent:!0});this.group.add(x)},e.type="heatmap",e}(Ot),w6=b6,T6=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.getInitialData=function(t,a){return fa(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=ps.get(this.get("coordinateSystem"));if(t&&t.dimensions)return t.dimensions[0]==="lng"&&t.dimensions[1]==="lat"},e.type="series.heatmap",e.dependencies=["grid","geo","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},e}(zt),C6=T6;function A6(r){r.registerChartView(w6),r.registerSeriesModel(C6)}var M6=["itemStyle","borderWidth"],fM=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],Wg=new Gr,D6=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){var i=this.group,o=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis(),f=u.isHorizontal(),h=l.master.getRect(),v={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:l,coordSysExtent:[[h.x,h.x+h.width],[h.y,h.y+h.height]],isHorizontal:f,valueDim:fM[+f],categoryDim:fM[1-+f]};return o.diff(s).add(function(c){if(o.hasValue(c)){var p=yM(o,c),d=hM(o,c,p,v),g=mM(o,v,d);o.setItemGraphicEl(c,g),i.add(g),xM(g,v,d)}}).update(function(c,p){var d=s.getItemGraphicEl(p);if(!o.hasValue(c)){i.remove(d);return}var g=yM(o,c),y=hM(o,c,g,v),m=SM(o,y);d&&m!==d.__pictorialShapeStr&&(i.remove(d),o.setItemGraphicEl(c,null),d=null),d?O6(d,v,y):d=mM(o,v,y,!0),o.setItemGraphicEl(c,d),d.__pictorialSymbolMeta=y,i.add(d),xM(d,v,y)}).remove(function(c){var p=s.getItemGraphicEl(c);p&&_M(s,c,p.__pictorialSymbolMeta.animationModel,p)}).execute(),this._data=o,this.group},e.prototype.remove=function(t,a){var n=this.group,i=this._data;t.get("animation")?i&&i.eachItemGraphicEl(function(o){_M(i,nt(o).dataIndex,t,o)}):n.removeAll()},e.type="pictorialBar",e}(Ot);function hM(r,e,t,a){var n=r.getItemLayout(e),i=t.get("symbolRepeat"),o=t.get("symbolClip"),s=t.get("symbolPosition")||"start",l=t.get("symbolRotate"),u=(l||0)*Math.PI/180||0,f=t.get("symbolPatternSize")||2,h=t.isAnimationEnabled(),v={dataIndex:e,layout:n,itemModel:t,symbolType:r.getItemVisual(e,"symbol")||"circle",style:r.getItemVisual(e,"style"),symbolClip:o,symbolRepeat:i,symbolRepeatDirection:t.get("symbolRepeatDirection"),symbolPatternSize:f,rotation:u,animationModel:h?t:null,hoverScale:h&&t.get(["emphasis","scale"]),z2:t.getShallow("z",!0)||0};L6(t,i,n,a,v),I6(r,e,n,i,o,v.boundingLength,v.pxSign,f,a,v),P6(t,v.symbolScale,u,a,v);var c=v.symbolSize,p=Zn(t.get("symbolOffset"),c);return R6(t,c,n,i,o,p,s,v.valueLineWidth,v.boundingLength,v.repeatCutLength,a,v),v}function L6(r,e,t,a,n){var i=a.valueDim,o=r.get("symbolBoundingData"),s=a.coordSys.getOtherAxis(a.coordSys.getBaseAxis()),l=s.toGlobalCoord(s.dataToCoord(0)),u=1-+(t[i.wh]<=0),f;if(z(o)){var h=[Ug(s,o[0])-l,Ug(s,o[1])-l];h[1]0?1:-1}function Ug(r,e){return r.toGlobalCoord(r.dataToCoord(r.scale.parse(e)))}function I6(r,e,t,a,n,i,o,s,l,u){var f=l.valueDim,h=l.categoryDim,v=Math.abs(t[h.wh]),c=r.getItemVisual(e,"symbolSize"),p;z(c)?p=c.slice():c==null?p=["100%","100%"]:p=[c,c],p[h.index]=H(p[h.index],v),p[f.index]=H(p[f.index],a?v:Math.abs(i)),u.symbolSize=p;var d=u.symbolScale=[p[0]/s,p[1]/s];d[f.index]*=(l.isHorizontal?-1:1)*o}function P6(r,e,t,a,n){var i=r.get(M6)||0;i&&(Wg.attr({scaleX:e[0],scaleY:e[1],rotation:t}),Wg.updateTransform(),i/=Wg.getLineScale(),i*=e[a.valueDim.index]),n.valueLineWidth=i||0}function R6(r,e,t,a,n,i,o,s,l,u,f,h){var v=f.categoryDim,c=f.valueDim,p=h.pxSign,d=Math.max(e[c.index]+s,0),g=d;if(a){var y=Math.abs(l),m=ne(r.get("symbolMargin"),"15%")+"",_=!1;m.lastIndexOf("!")===m.length-1&&(_=!0,m=m.slice(0,m.length-1));var S=H(m,e[c.index]),b=Math.max(d+S*2,0),x=_?0:S*2,w=k0(a),T=w?a:bM((y+x)/b),C=y-T*d;S=C/2/(_?T:Math.max(T-1,1)),b=d+S*2,x=_?0:S*2,!w&&a!=="fixed"&&(T=u?bM((Math.abs(u)+x)/b):0),g=T*b-x,h.repeatTimes=T,h.symbolMargin=S}var M=p*(g/2),D=h.pathPosition=[];D[v.index]=t[v.wh]/2,D[c.index]=o==="start"?M:o==="end"?l-M:l/2,i&&(D[0]+=i[0],D[1]+=i[1]);var L=h.bundlePosition=[];L[v.index]=t[v.xy],L[c.index]=t[c.xy];var I=h.barRectShape=V({},t);I[c.wh]=p*Math.max(Math.abs(t[c.wh]),Math.abs(D[c.index]+M)),I[v.wh]=t[v.wh];var P=h.clipShape={};P[v.xy]=-t[v.xy],P[v.wh]=f.ecSize[v.wh],P[c.xy]=0,P[c.wh]=t[c.wh]}function vM(r){var e=r.symbolPatternSize,t=Qt(r.symbolType,-e/2,-e/2,e,e);return t.attr({culling:!0}),t.type!=="image"&&t.setStyle({strokeNoScale:!0}),t}function cM(r,e,t,a){var n=r.__pictorialBundle,i=t.symbolSize,o=t.valueLineWidth,s=t.pathPosition,l=e.valueDim,u=t.repeatTimes||0,f=0,h=i[e.valueDim.index]+o+t.symbolMargin*2;for(Yg(r,function(d){d.__pictorialAnimationIndex=f,d.__pictorialRepeatTimes=u,f0:y<0)&&(m=u-1-d),g[l.index]=h*(m-u/2+.5)+s[l.index],{x:g[0],y:g[1],scaleX:t.symbolScale[0],scaleY:t.symbolScale[1],rotation:t.rotation}}}function pM(r,e,t,a){var n=r.__pictorialBundle,i=r.__pictorialMainPath;i?So(i,null,{x:t.pathPosition[0],y:t.pathPosition[1],scaleX:t.symbolScale[0],scaleY:t.symbolScale[1],rotation:t.rotation},t,a):(i=r.__pictorialMainPath=vM(t),n.add(i),So(i,{x:t.pathPosition[0],y:t.pathPosition[1],scaleX:0,scaleY:0,rotation:t.rotation},{scaleX:t.symbolScale[0],scaleY:t.symbolScale[1]},t,a))}function dM(r,e,t){var a=V({},e.barRectShape),n=r.__pictorialBarRect;n?So(n,null,{shape:a},e,t):(n=r.__pictorialBarRect=new xt({z2:2,shape:a,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),n.disableMorphing=!0,r.add(n))}function gM(r,e,t,a){if(t.symbolClip){var n=r.__pictorialClipPath,i=V({},t.clipShape),o=e.valueDim,s=t.animationModel,l=t.dataIndex;if(n)Mt(n,{shape:i},s,l);else{i[o.wh]=0,n=new xt({shape:i}),r.__pictorialBundle.setClipPath(n),r.__pictorialClipPath=n;var u={};u[o.wh]=t.clipShape[o.wh],rn[a?"updateProps":"initProps"](n,{shape:u},s,l)}}}function yM(r,e){var t=r.getItemModel(e);return t.getAnimationDelayParams=E6,t.isAnimationEnabled=k6,t}function E6(r){return{index:r.__pictorialAnimationIndex,count:r.__pictorialRepeatTimes}}function k6(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function mM(r,e,t,a){var n=new at,i=new at;return n.add(i),n.__pictorialBundle=i,i.x=t.bundlePosition[0],i.y=t.bundlePosition[1],t.symbolRepeat?cM(n,e,t):pM(n,e,t),dM(n,t,a),gM(n,e,t,a),n.__pictorialShapeStr=SM(r,t),n.__pictorialSymbolMeta=t,n}function O6(r,e,t){var a=t.animationModel,n=t.dataIndex,i=r.__pictorialBundle;Mt(i,{x:t.bundlePosition[0],y:t.bundlePosition[1]},a,n),t.symbolRepeat?cM(r,e,t,!0):pM(r,e,t,!0),dM(r,t,!0),gM(r,e,t,!0)}function _M(r,e,t,a){var n=a.__pictorialBarRect;n&&n.removeTextContent();var i=[];Yg(a,function(o){i.push(o)}),a.__pictorialMainPath&&i.push(a.__pictorialMainPath),a.__pictorialClipPath&&(t=null),A(i,function(o){Ea(o,{scaleX:0,scaleY:0},t,e,function(){a.parent&&a.parent.remove(a)})}),r.setItemGraphicEl(e,null)}function SM(r,e){return[r.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function Yg(r,e,t){A(r.__pictorialBundle.children(),function(a){a!==r.__pictorialBarRect&&e.call(t,a)})}function So(r,e,t,a,n,i){e&&r.attr(e),a.symbolClip&&!n?t&&r.attr(t):t&&rn[n?"updateProps":"initProps"](r,t,a.animationModel,a.dataIndex,i)}function xM(r,e,t){var a=t.dataIndex,n=t.itemModel,i=n.getModel("emphasis"),o=i.getModel("itemStyle").getItemStyle(),s=n.getModel(["blur","itemStyle"]).getItemStyle(),l=n.getModel(["select","itemStyle"]).getItemStyle(),u=n.getShallow("cursor"),f=i.get("focus"),h=i.get("blurScope"),v=i.get("scale");Yg(r,function(d){if(d instanceof le){var g=d.style;d.useStyle(V({image:g.image,x:g.x,y:g.y,width:g.width,height:g.height},t.style))}else d.useStyle(t.style);var y=d.ensureState("emphasis");y.style=o,v&&(y.scaleX=d.scaleX*1.1,y.scaleY=d.scaleY*1.1),d.ensureState("blur").style=s,d.ensureState("select").style=l,u&&(d.cursor=u),d.z2=t.z2});var c=e.valueDim.posDesc[+(t.boundingLength>0)],p=r.__pictorialBarRect;fe(p,ee(n),{labelFetcher:e.seriesModel,labelDataIndex:a,defaultText:uo(e.seriesModel.getData(),a),inheritColor:t.style.fill,defaultOpacity:t.style.opacity,defaultOutsidePosition:c}),Ft(r,f,h,i.get("disabled"))}function bM(r){var e=Math.round(r);return Math.abs(r-e)<1e-4?e:Math.ceil(r)}var N6=D6,V6=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.hasSymbolVisual=!0,t.defaultSymbol="roundRect",t}return e.prototype.getInitialData=function(t){return t.stack=null,r.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=ka(Df.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(Df),B6=V6;function z6(r){r.registerChartView(N6),r.registerSeriesModel(B6),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,it(Mw,"pictorialBar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Dw("pictorialBar"))}var G6=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t._layers=[],t}return e.prototype.render=function(t,a,n){var i=t.getData(),o=this,s=this.group,l=t.getLayerSeries(),u=i.getLayout("layoutInfo"),f=u.rect,h=u.boundaryGap;s.x=0,s.y=f.y+h[0];function v(g){return g.name}var c=new ua(this._layersSeries||[],l,v,v),p=[];c.add(Y(d,this,"add")).update(Y(d,this,"update")).remove(Y(d,this,"remove")).execute();function d(g,y,m){var _=o._layers;if(g==="remove"){s.remove(_[y]);return}for(var S=[],b=[],x,w=l[y].indices,T=0;Ti&&(i=s),a.push(s)}for(var u=0;ui&&(i=h)}return{y0:n,max:i}}function X6(r){r.registerChartView(H6),r.registerSeriesModel(U6),r.registerLayout(Y6),r.registerProcessor(Zs("themeRiver"))}var q6=2,K6=4,j6=function(r){O(e,r);function e(t,a,n,i){var o=r.call(this)||this;o.z2=q6,o.textConfig={inside:!0},nt(o).seriesIndex=a.seriesIndex;var s=new bt({z2:K6,silent:t.getModel().get(["label","silent"])});return o.setTextContent(s),o.updateData(!0,t,a,n,i),o}return e.prototype.updateData=function(t,a,n,i,o){this.node=a,a.piece=this,n=n||this._seriesModel,i=i||this._ecModel;var s=this;nt(s).dataIndex=a.dataIndex;var l=a.getModel(),u=l.getModel("emphasis"),f=a.getLayout(),h=V({},f);h.label=null;var v=a.getVisual("style");v.lineJoin="bevel";var c=a.getVisual("decal");c&&(v.decal=no(c,o));var p=ni(l.getModel("itemStyle"),h,!0);V(h,p),A(we,function(m){var _=s.ensureState(m),S=l.getModel([m,"itemStyle"]);_.style=S.getItemStyle();var b=ni(S,h);b&&(_.shape=b)}),t?(s.setShape(h),s.shape.r=f.r0,Bt(s,{shape:{r:f.r}},n,a.dataIndex)):(Mt(s,{shape:h},n),gr(s)),s.useStyle(v),this._updateLabel(n);var d=l.getShallow("cursor");d&&s.attr("cursor",d),this._seriesModel=n||this._seriesModel,this._ecModel=i||this._ecModel;var g=u.get("focus"),y=g==="ancestor"?a.getAncestorsIndices():g==="descendant"?a.getDescendantIndices():g;Ft(this,y,u.get("blurScope"),u.get("disabled"))},e.prototype._updateLabel=function(t){var a=this,n=this.node.getModel(),i=n.getModel("label"),o=this.node.getLayout(),s=o.endAngle-o.startAngle,l=(o.startAngle+o.endAngle)/2,u=Math.cos(l),f=Math.sin(l),h=this,v=h.getTextContent(),c=this.node.dataIndex,p=i.get("minAngle")/180*Math.PI,d=i.get("show")&&!(p!=null&&Math.abs(s)Math.PI/2?"right":"left"):!L||L==="center"?(s===2*Math.PI&&o.r0===0?M=0:M=(o.r+o.r0)/2,L="center"):L==="left"?(M=o.r0+D,l>Math.PI/2&&(L="right")):L==="right"&&(M=o.r-D,l>Math.PI/2&&(L="left")),S.style.align=L,S.style.verticalAlign=g(m,"verticalAlign")||"middle",S.x=M*u+o.cx,S.y=M*f+o.cy;var I=g(m,"rotate"),P=0;I==="radial"?(P=dr(-l),P>Math.PI/2&&PMath.PI/2?P-=Math.PI:P<-Math.PI/2&&(P+=Math.PI)):Ct(I)&&(P=I*Math.PI/180),S.rotation=dr(P)});function g(y,m){var _=y.get(m);return _==null?i.get(m):_}v.dirtyStyle()},e}(Re),TM=j6,Xg="sunburstRootToNode",CM="sunburstHighlight",Q6="sunburstUnhighlight";function J6(r){r.registerAction({type:Xg,update:"updateView"},function(e,t){t.eachComponent({mainType:"series",subType:"sunburst",query:e},a);function a(n,i){var o=nl(e,[Xg],n);if(o){var s=n.getViewRoot();s&&(e.direction=qd(s,o.node)?"rollUp":"drillDown"),n.resetViewRoot(o.node)}}}),r.registerAction({type:CM,update:"none"},function(e,t,a){e=V({},e),t.eachComponent({mainType:"series",subType:"sunburst",query:e},n);function n(i){var o=nl(e,[CM],i);o&&(e.dataIndex=o.node.dataIndex)}a.dispatchAction(V(e,{type:"highlight"}))}),r.registerAction({type:Q6,update:"updateView"},function(e,t,a){e=V({},e),a.dispatchAction(V(e,{type:"downplay"}))})}var $6=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n,i){var o=this;this.seriesModel=t,this.api=n,this.ecModel=a;var s=t.getData(),l=s.tree.root,u=t.getViewRoot(),f=this.group,h=t.get("renderLabelForZeroData"),v=[];u.eachNode(function(m){v.push(m)});var c=this._oldChildren||[];p(v,c),y(l,u),this._initEvents(),this._oldChildren=v;function p(m,_){if(m.length===0&&_.length===0)return;new ua(_,m,S,S).add(b).update(b).remove(it(b,null)).execute();function S(x){return x.getId()}function b(x,w){var T=x==null?null:m[x],C=w==null?null:_[w];d(T,C)}}function d(m,_){if(!h&&m&&!m.getValue()&&(m=null),m!==l&&_!==l){if(_&&_.piece)m?(_.piece.updateData(!1,m,t,a,n),s.setItemGraphicEl(m.dataIndex,_.piece)):g(_);else if(m){var S=new TM(m,t,a,n);f.add(S),s.setItemGraphicEl(m.dataIndex,S)}}}function g(m){m&&m.piece&&(f.remove(m.piece),m.piece=null)}function y(m,_){_.depth>0?(o.virtualPiece?o.virtualPiece.updateData(!1,m,t,a,n):(o.virtualPiece=new TM(m,t,a,n),f.add(o.virtualPiece)),_.piece.off("click"),o.virtualPiece.on("click",function(S){o._rootToNode(_.parentNode)})):o.virtualPiece&&(f.remove(o.virtualPiece),o.virtualPiece=null)}},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",function(a){var n=!1,i=t.seriesModel.getViewRoot();i.eachNode(function(o){if(!n&&o.piece&&o.piece===a.target){var s=o.getModel().get("nodeClick");if(s==="rootToNode")t._rootToNode(o);else if(s==="link"){var l=o.getModel(),u=l.get("link");if(u){var f=l.get("target",!0)||"_blank";Pu(u,f)}}n=!0}})})},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:Xg,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,a){var n=a.getData(),i=n.getItemLayout(0);if(i){var o=t[0]-i.cx,s=t[1]-i.cy,l=Math.sqrt(o*o+s*s);return l<=i.r&&l>=i.r0}},e.type="sunburst",e}(Ot),tU=$6,eU=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.ignoreStyleOnData=!0,t}return e.prototype.getInitialData=function(t,a){var n={name:t.name,children:t.data};AM(n);var i=this._levelModels=G(t.levels||[],function(l){return new kt(l,this,a)},this),o=Xd.createTree(n,this,s);function s(l){l.wrapMethod("getItemModel",function(u,f){var h=o.getNodeByDataIndex(f),v=i[h.depth];return v&&(u.parentModel=v),u})}return o.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(t){var a=r.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return a.treePathInfo=jf(n,this),a},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var a=this.getRawData().tree.root;(!t||t!==a&&!a.contains(t))&&(this._viewRoot=a)},e.prototype.enableAriaDecal=function(){OC(this)},e.type="series.sunburst",e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(zt);function AM(r){var e=0;A(r.children,function(a){AM(a);var n=a.value;z(n)&&(n=n[0]),e+=n});var t=r.value;z(t)&&(t=t[0]),(t==null||isNaN(t))&&(t=e),t<0&&(t=0),z(r.value)?r.value[0]=t:r.value=t}var rU=eU,MM=Math.PI/180;function aU(r,e,t){e.eachSeriesByType(r,function(a){var n=a.get("center"),i=a.get("radius");z(i)||(i=[0,i]),z(n)||(n=[n,n]);var o=t.getWidth(),s=t.getHeight(),l=Math.min(o,s),u=H(n[0],o),f=H(n[1],s),h=H(i[0],l/2),v=H(i[1],l/2),c=-a.get("startAngle")*MM,p=a.get("minAngle")*MM,d=a.getData().tree.root,g=a.getViewRoot(),y=g.depth,m=a.get("sort");m!=null&&DM(g,m);var _=0;A(g.children,function(E){!isNaN(E.getValue())&&_++});var S=g.getValue(),b=Math.PI/(S||_)*2,x=g.depth>0,w=g.height-(x?-1:1),T=(v-h)/(w||1),C=a.get("clockwise"),M=a.get("stillShowZeroSum"),D=C?1:-1,L=function(E,N){if(E){var k=N;if(E!==d){var B=E.getValue(),F=S===0&&M?b:B*b;F1;)o=o.parentNode;var s=n.getColorFromPalette(o.name||o.dataIndex+"",e);return a.depth>1&&U(s)&&(s=_v(s,(a.depth-1)/(i-1)*.5)),s}r.eachSeriesByType("sunburst",function(a){var n=a.getData(),i=n.tree;i.eachNode(function(o){var s=o.getModel(),l=s.getModel("itemStyle").getItemStyle();l.fill||(l.fill=t(o,a,i.root.height));var u=n.ensureUniqueItemVisual(o.dataIndex,"style");V(u,l)})})}function oU(r){r.registerChartView(tU),r.registerSeriesModel(rU),r.registerLayout(it(aU,"sunburst")),r.registerProcessor(it(Zs,"sunburst")),r.registerVisual(iU),J6(r)}var LM={color:"fill",borderColor:"stroke"},sU={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},da=St(),lU=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,a){return fa(null,this)},e.prototype.getDataParams=function(t,a,n){var i=r.prototype.getDataParams.call(this,t,a);return n&&(i.info=da(n).info),i},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(zt),uU=lU;function fU(r,e){return e=e||[0,0],G(["x","y"],function(t,a){var n=this.getAxis(t),i=e[a],o=r[a]/2;return n.type==="category"?n.getBandWidth():Math.abs(n.dataToCoord(i-o)-n.dataToCoord(i+o))},this)}function hU(r){var e=r.master.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(t){return r.dataToPoint(t)},size:Y(fU,r)}}}function vU(r,e){return e=e||[0,0],G([0,1],function(t){var a=e[t],n=r[t]/2,i=[],o=[];return i[t]=a-n,o[t]=a+n,i[1-t]=o[1-t]=e[1-t],Math.abs(this.dataToPoint(i)[t]-this.dataToPoint(o)[t])},this)}function cU(r){var e=r.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:r.getZoom()},api:{coord:function(t){return r.dataToPoint(t)},size:Y(vU,r)}}}function pU(r,e){var t=this.getAxis(),a=e instanceof Array?e[0]:e,n=(r instanceof Array?r[0]:r)/2;return t.type==="category"?t.getBandWidth():Math.abs(t.dataToCoord(a-n)-t.dataToCoord(a+n))}function dU(r){var e=r.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(t){return r.dataToPoint(t)},size:Y(pU,r)}}}function gU(r,e){return e=e||[0,0],G(["Radius","Angle"],function(t,a){var n="get"+t+"Axis",i=this[n](),o=e[a],s=r[a]/2,l=i.type==="category"?i.getBandWidth():Math.abs(i.dataToCoord(o-s)-i.dataToCoord(o+s));return t==="Angle"&&(l=l*Math.PI/180),l},this)}function yU(r){var e=r.getRadiusAxis(),t=r.getAngleAxis(),a=e.getExtent();return a[0]>a[1]&&a.reverse(),{coordSys:{type:"polar",cx:r.cx,cy:r.cy,r:a[1],r0:a[0]},api:{coord:function(n){var i=e.dataToRadius(n[0]),o=t.dataToAngle(n[1]),s=r.coordToPoint([i,o]);return s.push(i,o*Math.PI/180),s},size:Y(gU,r)}}}function mU(r){var e=r.getRect(),t=r.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:r.getCellWidth(),cellHeight:r.getCellHeight(),rangeInfo:{start:t.start,end:t.end,weeks:t.weeks,dayCount:t.allDay}},api:{coord:function(a,n){return r.dataToPoint(a,n)}}}}var ej={};function IM(r,e,t,a){return r&&(r.legacy||r.legacy!==!1&&!t&&!a&&e!=="tspan"&&(e==="text"||Z(r,"text")))}function PM(r,e,t){var a=r,n,i,o;if(e==="text")o=a;else{o={},Z(a,"text")&&(o.text=a.text),Z(a,"rich")&&(o.rich=a.rich),Z(a,"textFill")&&(o.fill=a.textFill),Z(a,"textStroke")&&(o.stroke=a.textStroke),Z(a,"fontFamily")&&(o.fontFamily=a.fontFamily),Z(a,"fontSize")&&(o.fontSize=a.fontSize),Z(a,"fontStyle")&&(o.fontStyle=a.fontStyle),Z(a,"fontWeight")&&(o.fontWeight=a.fontWeight),i={type:"text",style:o,silent:!0},n={};var s=Z(a,"textPosition");t?n.position=s?a.textPosition:"inside":s&&(n.position=a.textPosition),Z(a,"textPosition")&&(n.position=a.textPosition),Z(a,"textOffset")&&(n.offset=a.textOffset),Z(a,"textRotation")&&(n.rotation=a.textRotation),Z(a,"textDistance")&&(n.distance=a.textDistance)}return RM(o,r),A(o.rich,function(l){RM(l,l)}),{textConfig:n,textContent:i}}function RM(r,e){e&&(e.font=e.textFont||e.font,Z(e,"textStrokeWidth")&&(r.lineWidth=e.textStrokeWidth),Z(e,"textAlign")&&(r.align=e.textAlign),Z(e,"textVerticalAlign")&&(r.verticalAlign=e.textVerticalAlign),Z(e,"textLineHeight")&&(r.lineHeight=e.textLineHeight),Z(e,"textWidth")&&(r.width=e.textWidth),Z(e,"textHeight")&&(r.height=e.textHeight),Z(e,"textBackgroundColor")&&(r.backgroundColor=e.textBackgroundColor),Z(e,"textPadding")&&(r.padding=e.textPadding),Z(e,"textBorderColor")&&(r.borderColor=e.textBorderColor),Z(e,"textBorderWidth")&&(r.borderWidth=e.textBorderWidth),Z(e,"textBorderRadius")&&(r.borderRadius=e.textBorderRadius),Z(e,"textBoxShadowColor")&&(r.shadowColor=e.textBoxShadowColor),Z(e,"textBoxShadowBlur")&&(r.shadowBlur=e.textBoxShadowBlur),Z(e,"textBoxShadowOffsetX")&&(r.shadowOffsetX=e.textBoxShadowOffsetX),Z(e,"textBoxShadowOffsetY")&&(r.shadowOffsetY=e.textBoxShadowOffsetY))}function EM(r,e,t){var a=r;a.textPosition=a.textPosition||t.position||"inside",t.offset!=null&&(a.textOffset=t.offset),t.rotation!=null&&(a.textRotation=t.rotation),t.distance!=null&&(a.textDistance=t.distance);var n=a.textPosition.indexOf("inside")>=0,i=r.fill||"#000";kM(a,e);var o=a.textFill==null;return n?o&&(a.textFill=t.insideFill||"#fff",!a.textStroke&&t.insideStroke&&(a.textStroke=t.insideStroke),!a.textStroke&&(a.textStroke=i),a.textStrokeWidth==null&&(a.textStrokeWidth=2)):(o&&(a.textFill=r.fill||t.outsideFill||"#000"),!a.textStroke&&t.outsideStroke&&(a.textStroke=t.outsideStroke)),a.text=e.text,a.rich=e.rich,A(e.rich,function(s){kM(s,s)}),a}function kM(r,e){e&&(Z(e,"fill")&&(r.textFill=e.fill),Z(e,"stroke")&&(r.textStroke=e.fill),Z(e,"lineWidth")&&(r.textStrokeWidth=e.lineWidth),Z(e,"font")&&(r.font=e.font),Z(e,"fontStyle")&&(r.fontStyle=e.fontStyle),Z(e,"fontWeight")&&(r.fontWeight=e.fontWeight),Z(e,"fontSize")&&(r.fontSize=e.fontSize),Z(e,"fontFamily")&&(r.fontFamily=e.fontFamily),Z(e,"align")&&(r.textAlign=e.align),Z(e,"verticalAlign")&&(r.textVerticalAlign=e.verticalAlign),Z(e,"lineHeight")&&(r.textLineHeight=e.lineHeight),Z(e,"width")&&(r.textWidth=e.width),Z(e,"height")&&(r.textHeight=e.height),Z(e,"backgroundColor")&&(r.textBackgroundColor=e.backgroundColor),Z(e,"padding")&&(r.textPadding=e.padding),Z(e,"borderColor")&&(r.textBorderColor=e.borderColor),Z(e,"borderWidth")&&(r.textBorderWidth=e.borderWidth),Z(e,"borderRadius")&&(r.textBorderRadius=e.borderRadius),Z(e,"shadowColor")&&(r.textBoxShadowColor=e.shadowColor),Z(e,"shadowBlur")&&(r.textBoxShadowBlur=e.shadowBlur),Z(e,"shadowOffsetX")&&(r.textBoxShadowOffsetX=e.shadowOffsetX),Z(e,"shadowOffsetY")&&(r.textBoxShadowOffsetY=e.shadowOffsetY),Z(e,"textShadowColor")&&(r.textShadowColor=e.textShadowColor),Z(e,"textShadowBlur")&&(r.textShadowBlur=e.textShadowBlur),Z(e,"textShadowOffsetX")&&(r.textShadowOffsetX=e.textShadowOffsetX),Z(e,"textShadowOffsetY")&&(r.textShadowOffsetY=e.textShadowOffsetY))}function rj(r,e){if(!1)var t}var OM={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},NM=mt(OM),aj=Ar(Pr,function(r,e){return r[e]=1,r},{}),nj=Pr.join(", "),uh=["","style","shape","extra"],xo=St();function qg(r,e,t,a,n){var i=r+"Animation",o=Ni(r,a,n)||{},s=xo(e).userDuring;return o.duration>0&&(o.during=s?Y(wU,{el:e,userDuring:s}):null,o.setToFinal=!0,o.scope=r),V(o,t[i]),o}function fh(r,e,t,a){a=a||{};var n=a.dataIndex,i=a.isInit,o=a.clearStyle,s=t.isAnimationEnabled(),l=xo(r),u=e.style;l.userDuring=e.during;var f={},h={};if(CU(r,e,h),zM("shape",e,h),zM("extra",e,h),!i&&s&&(TU(r,e,f),BM("shape",r,e,f),BM("extra",r,e,f),AU(r,e,u,f)),h.style=u,_U(r,h,o),xU(r,e),s)if(i){var v={};A(uh,function(p){var d=p?e[p]:e;d&&d.enterFrom&&(p&&(v[p]=v[p]||{}),V(p?v[p]:v,d.enterFrom))});var c=qg("enter",r,e,t,n);c.duration>0&&r.animateFrom(v,c)}else SU(r,e,n||0,t,f);VM(r,e),u?r.dirty():r.markRedraw()}function VM(r,e){for(var t=xo(r).leaveToProps,a=0;a0&&r.animateFrom(n,i)}}function xU(r,e){Z(e,"silent")&&(r.silent=e.silent),Z(e,"ignore")&&(r.ignore=e.ignore),r instanceof Ke&&Z(e,"invisible")&&(r.invisible=e.invisible),r instanceof yt&&Z(e,"autoBatch")&&(r.autoBatch=e.autoBatch)}var Xr={},bU={setTransform:function(r,e){return Xr.el[r]=e,this},getTransform:function(r){return Xr.el[r]},setShape:function(r,e){var t=Xr.el,a=t.shape||(t.shape={});return a[r]=e,t.dirtyShape&&t.dirtyShape(),this},getShape:function(r){var e=Xr.el.shape;if(e)return e[r]},setStyle:function(r,e){var t=Xr.el,a=t.style;return a&&(a[r]=e,t.dirtyStyle&&t.dirtyStyle()),this},getStyle:function(r){var e=Xr.el.style;if(e)return e[r]},setExtra:function(r,e){var t=Xr.el.extra||(Xr.el.extra={});return t[r]=e,this},getExtra:function(r){var e=Xr.el.extra;if(e)return e[r]}};function ij(r){}function wU(){var r=this,e=r.el;if(e){var t=xo(e).userDuring,a=r.userDuring;if(t!==a){r.el=r.userDuring=null;return}Xr.el=e,a(bU)}}function BM(r,e,t,a){var n=t[r];if(n){var i=e[r],o;if(i){var s=t.transition,l=n.transition;if(l)if(!o&&(o=a[r]={}),yi(l))V(o,i);else for(var u=Pt(l),f=0;f=0){!o&&(o=a[r]={});for(var c=mt(i),f=0;f=0)){var v=r.getAnimationStyleProps(),c=v?v.style:null;if(c){!i&&(i=a.style={});for(var p=mt(t),u=0;u=0?e.getStore().get(N,R):void 0}var k=e.get(E.name,R),B=E&&E.ordinalMeta;return B?B.categories[k]:k}function x(P,R){R==null&&(R=u);var E=e.getItemVisual(R,"style"),N=E&&E.fill,k=E&&E.opacity,B=m(R,Ka).getItemStyle();N!=null&&(B.fill=N),k!=null&&(B.opacity=k);var F={inheritColor:U(N)?N:"#000"},W=_(R,Ka),q=Et(W,null,F,!1,!0);q.text=W.getShallow("show")?ft(r.getFormattedLabel(R,Ka),uo(e,R)):null;var $=bu(W,F,!1);return C(P,B),B=EM(B,q,$),P&&T(B,P),B.legacy=!0,B}function w(P,R){R==null&&(R=u);var E=m(R,ga).getItemStyle(),N=_(R,ga),k=Et(N,null,null,!0,!0);k.text=N.getShallow("show")?Mr(r.getFormattedLabel(R,ga),r.getFormattedLabel(R,Ka),uo(e,R)):null;var B=bu(N,null,!0);return C(P,E),E=EM(E,k,B),P&&T(E,P),E.legacy=!0,E}function T(P,R){for(var E in R)Z(R,E)&&(P[E]=R[E])}function C(P,R){P&&(P.textFill&&(R.textFill=P.textFill),P.textPosition&&(R.textPosition=P.textPosition))}function M(P,R){if(R==null&&(R=u),Z(LM,P)){var E=e.getItemVisual(R,"style");return E?E[LM[P]]:null}if(Z(sU,P))return e.getItemVisual(R,P)}function D(P){if(i.type==="cartesian2d"){var R=i.getBaseAxis();return az(J({axis:R},P))}}function L(){return t.getCurrentSeriesIndices()}function I(P){return Q_(P,t)}}function VU(r){var e={};return A(r.dimensions,function(t){var a=r.getDimensionInfo(t);if(!a.isExtraCoord){var n=a.coordDim,i=e[n]=e[n]||[];i[a.coordDimIndex]=r.getDimensionIndex(t)}}),e}function ay(r,e,t,a,n,i,o){if(!a){i.remove(e);return}var s=ny(r,e,t,a,n,i);return s&&o.setItemGraphicEl(t,s),s&&Ft(s,a.focus,a.blurScope,a.emphasisDisabled),s}function ny(r,e,t,a,n,i){var o=-1,s=e;e&&UM(e,a,n)&&(o=vt(i.childrenRef(),e),e=null);var l=!e,u=e;u?u.clearStates():(u=ey(a),s&&RU(s,u)),a.morph===!1?u.disableMorphing=!0:u.disableMorphing&&(u.disableMorphing=!1),or.normal.cfg=or.normal.conOpt=or.emphasis.cfg=or.emphasis.conOpt=or.blur.cfg=or.blur.conOpt=or.select.cfg=or.select.conOpt=null,or.isLegacy=!1,zU(u,t,a,n,l,or),BU(u,t,a,n,l),ry(r,u,t,a,or,n,l),Z(a,"info")&&(da(u).info=a.info);for(var f=0;f=0?i.replaceAt(u,o):i.add(u),u}function UM(r,e,t){var a=da(r),n=e.type,i=e.shape,o=e.style;return t.isUniversalTransitionEnabled()||n!=null&&n!==a.customGraphicType||n==="path"&&UU(i)&&qM(i)!==a.customPathData||n==="image"&&Z(o,"image")&&o.image!==a.customImagePath}function BU(r,e,t,a,n){var i=t.clipPath;if(i===!1)r&&r.getClipPath()&&r.removeClipPath();else if(i){var o=r.getClipPath();o&&UM(o,i,a)&&(o=null),o||(o=ey(i),r.setClipPath(o)),ry(null,o,e,i,null,a,n)}}function zU(r,e,t,a,n,i){if(!r.isGroup){YM(t,null,i),YM(t,ga,i);var o=i.normal.conOpt,s=i.emphasis.conOpt,l=i.blur.conOpt,u=i.select.conOpt;if(o!=null||s!=null||u!=null||l!=null){var f=r.getTextContent();if(o===!1)f&&r.removeTextContent();else{o=i.normal.conOpt=o||{type:"text"},f?f.clearStates():(f=ey(o),r.setTextContent(f)),ry(null,f,e,o,null,a,n);for(var h=o&&o.style,v=0;v=f;c--){var p=e.childAt(c);FU(e,p,n)}}}function FU(r,e,t){e&&hh(e,da(r).option,t)}function HU(r){new ua(r.oldChildren,r.newChildren,ZM,ZM,r).add(XM).update(XM).remove(WU).execute()}function ZM(r,e){var t=r&&r.name;return t!=null?t:IU+e}function XM(r,e){var t=this.context,a=r!=null?t.newChildren[r]:null,n=e!=null?t.oldChildren[e]:null;ny(t.api,n,t.dataIndex,a,t.seriesModel,t.group)}function WU(r){var e=this.context,t=e.oldChildren[r];t&&hh(t,da(t).option,e.seriesModel)}function qM(r){return r&&(r.pathData||r.d)}function UU(r){return r&&(Z(r,"pathData")||Z(r,"d"))}function YU(r){r.registerChartView(kU),r.registerSeriesModel(uU)}var mi=St(),KM=et,oy=Y,ZU=function(){function r(){this._dragging=!1,this.animationThreshold=15}return r.prototype.render=function(e,t,a,n){var i=t.get("value"),o=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=a,!(!n&&this._lastValue===i&&this._lastStatus===o)){this._lastValue=i,this._lastStatus=o;var s=this._group,l=this._handle;if(!o||o==="hide"){s&&s.hide(),l&&l.hide();return}s&&s.show(),l&&l.show();var u={};this.makeElOption(u,i,e,t,a);var f=u.graphicKey;f!==this._lastGraphicKey&&this.clear(a),this._lastGraphicKey=f;var h=this._moveAnimation=this.determineAnimation(e,t);if(!s)s=this._group=new at,this.createPointerEl(s,u,e,t),this.createLabelEl(s,u,e,t),a.getZr().add(s);else{var v=it(jM,t,h);this.updatePointerEl(s,u,v),this.updateLabelEl(s,u,v,t)}$M(s,t,!0),this._renderHandle(i)}},r.prototype.remove=function(e){this.clear(e)},r.prototype.dispose=function(e){this.clear(e)},r.prototype.determineAnimation=function(e,t){var a=t.get("animation"),n=e.axis,i=n.type==="category",o=t.get("snap");if(!o&&!i)return!1;if(a==="auto"||a==null){var s=this.animationThreshold;if(i&&n.getBandWidth()>s)return!0;if(o){var l=Ld(e).seriesDataCount,u=n.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return a===!0},r.prototype.makeElOption=function(e,t,a,n,i){},r.prototype.createPointerEl=function(e,t,a,n){var i=t.pointer;if(i){var o=mi(e).pointerEl=new rn[i.type](KM(t.pointer));e.add(o)}},r.prototype.createLabelEl=function(e,t,a,n){if(t.label){var i=mi(e).labelEl=new bt(KM(t.label));e.add(i),JM(i,n)}},r.prototype.updatePointerEl=function(e,t,a){var n=mi(e).pointerEl;n&&t.pointer&&(n.setStyle(t.pointer.style),a(n,{shape:t.pointer.shape}))},r.prototype.updateLabelEl=function(e,t,a,n){var i=mi(e).labelEl;i&&(i.setStyle(t.label.style),a(i,{x:t.label.x,y:t.label.y}),JM(i,n))},r.prototype._renderHandle=function(e){if(!(this._dragging||!this.updateHandleTransform)){var t=this._axisPointerModel,a=this._api.getZr(),n=this._handle,i=t.getModel("handle"),o=t.get("status");if(!i.get("show")||!o||o==="hide"){n&&a.remove(n),this._handle=null;return}var s;this._handle||(s=!0,n=this._handle=Ts(i.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(u){Qr(u.event)},onmousedown:oy(this._onHandleDragMove,this,0,0),drift:oy(this._onHandleDragMove,this),ondragend:oy(this._onHandleDragEnd,this)}),a.add(n)),$M(n,t,!1),n.setStyle(i.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=i.get("size");z(l)||(l=[l,l]),n.scaleX=l[0]/2,n.scaleY=l[1]/2,to(this,"_doDispatchAxisPointer",i.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,s)}},r.prototype._moveHandleToValue=function(e,t){jM(this._axisPointerModel,!t&&this._moveAnimation,this._handle,sy(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},r.prototype._onHandleDragMove=function(e,t){var a=this._handle;if(a){this._dragging=!0;var n=this.updateHandleTransform(sy(a),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=n,a.stopAnimation(),a.attr(sy(n)),mi(a).lastProp=null,this._doDispatchAxisPointer()}},r.prototype._doDispatchAxisPointer=function(){var e=this._handle;if(e){var t=this._payloadInfo,a=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:a.axis.dim,axisIndex:a.componentIndex}]})}},r.prototype._onHandleDragEnd=function(){this._dragging=!1;var e=this._handle;if(e){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},r.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),a=this._group,n=this._handle;t&&a&&(this._lastGraphicKey=null,a&&t.remove(a),n&&t.remove(n),this._group=null,this._handle=null,this._payloadInfo=null),As(this,"_doDispatchAxisPointer")},r.prototype.doClear=function(){},r.prototype.buildLabel=function(e,t,a){return a=a||0,{x:e[a],y:e[1-a],width:t[a],height:t[1-a]}},r}();function jM(r,e,t,a){QM(mi(t).lastProp,a)||(mi(t).lastProp=a,e?Mt(t,a,r):(t.stopAnimation(),t.attr(a)))}function QM(r,e){if(tt(r)&&tt(e)){var t=!0;return A(e,function(a,n){t=t&&QM(r[n],a)}),!!t}else return r===e}function JM(r,e){r[e.get(["label","show"])?"show":"hide"]()}function sy(r){return{x:r.x||0,y:r.y||0,rotation:r.rotation||0}}function $M(r,e,t){var a=e.get("z"),n=e.get("zlevel");r&&r.traverse(function(i){i.type!=="group"&&(a!=null&&(i.z=a),n!=null&&(i.zlevel=n),i.silent=t)})}var ly=ZU;function uy(r){var e=r.get("type"),t=r.getModel(e+"Style"),a;return e==="line"?(a=t.getLineStyle(),a.fill=null):e==="shadow"&&(a=t.getAreaStyle(),a.stroke=null),a}function tD(r,e,t,a,n){var i=t.get("value"),o=eD(i,e.axis,e.ecModel,t.get("seriesDataIndices"),{precision:t.get(["label","precision"]),formatter:t.get(["label","formatter"])}),s=t.getModel("label"),l=kn(s.get("padding")||0),u=s.getFont(),f=Xo(o,u),h=n.position,v=f.width+l[1]+l[3],c=f.height+l[0]+l[2],p=n.align;p==="right"&&(h[0]-=v),p==="center"&&(h[0]-=v/2);var d=n.verticalAlign;d==="bottom"&&(h[1]-=c),d==="middle"&&(h[1]-=c/2),XU(h,v,c,a);var g=s.get("backgroundColor");(!g||g==="auto")&&(g=e.get(["axisLine","lineStyle","color"])),r.label={x:h[0],y:h[1],style:Et(s,{text:o,font:u,fill:s.getTextColor(),padding:l,backgroundColor:g}),z2:10}}function XU(r,e,t,a){var n=a.getWidth(),i=a.getHeight();r[0]=Math.min(r[0]+e,n)-e,r[1]=Math.min(r[1]+t,i)-t,r[0]=Math.max(r[0],0),r[1]=Math.max(r[1],0)}function eD(r,e,t,a,n){r=e.scale.parse(r);var i=e.scale.getLabel({value:r},{precision:n.precision}),o=n.formatter;if(o){var s={value:bd(e,{value:r}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};A(a,function(l){var u=t.getSeriesByIndex(l.seriesIndex),f=l.dataIndexInside,h=u&&u.getDataParams(f);h&&s.seriesData.push(h)}),U(o)?i=o.replace("{value}",i):j(o)&&(i=o(s))}return i}function fy(r,e,t){var a=Ye();return ln(a,a,t.rotation),Dr(a,a,t.position),Sr([r.dataToCoord(e),(t.labelOffset||0)+(t.labelDirection||1)*(t.labelMargin||0)],a)}function rD(r,e,t,a,n,i){var o=va.innerTextLayout(t.rotation,0,t.labelDirection);t.labelMargin=n.get(["label","margin"]),tD(e,a,n,i,{position:fy(a.axis,r,t),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function hy(r,e,t){return t=t||0,{x1:r[t],y1:r[1-t],x2:e[t],y2:e[1-t]}}function aD(r,e,t){return t=t||0,{x:r[t],y:r[1-t],width:e[t],height:e[1-t]}}function nD(r,e,t,a,n,i){return{cx:r,cy:e,r0:t,r:a,startAngle:n,endAngle:i,clockwise:!0}}var qU=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.makeElOption=function(t,a,n,i,o){var s=n.axis,l=s.grid,u=i.get("type"),f=iD(l,s).getOtherAxis(s).getGlobalExtent(),h=s.toGlobalCoord(s.dataToCoord(a,!0));if(u&&u!=="none"){var v=uy(i),c=KU[u](s,h,f);c.style=v,t.graphicKey=c.type,t.pointer=c}var p=Cd(l.model,n);rD(a,t,p,n,i,o)},e.prototype.getHandleTransform=function(t,a,n){var i=Cd(a.axis.grid.model,a,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var o=fy(a.axis,t,i);return{x:o[0],y:o[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,a,n,i){var o=n.axis,s=o.grid,l=o.getGlobalExtent(!0),u=iD(s,o).getOtherAxis(o).getGlobalExtent(),f=o.dim==="x"?0:1,h=[t.x,t.y];h[f]+=a[f],h[f]=Math.min(l[1],h[f]),h[f]=Math.max(l[0],h[f]);var v=(u[1]+u[0])/2,c=[v,v];c[f]=h[f];var p=[{verticalAlign:"middle"},{align:"center"}];return{x:h[0],y:h[1],rotation:t.rotation,cursorPoint:c,tooltipOption:p[f]}},e}(ly);function iD(r,e){var t={};return t[e.dim+"AxisIndex"]=e.index,r.getCartesian(t)}var KU={line:function(r,e,t){var a=hy([e,t[0]],[e,t[1]],oD(r));return{type:"Line",subPixelOptimize:!0,shape:a}},shadow:function(r,e,t){var a=Math.max(1,r.getBandWidth()),n=t[1]-t[0];return{type:"Rect",shape:aD([e-a/2,t[0]],[a,n],oD(r))}}};function oD(r){return r.dim==="x"?0:1}var jU=qU,QU=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="axisPointer",e.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}},e}(At),JU=QU,ya=St(),$U=A;function sD(r,e,t){if(!Tt.node){var a=e.getZr();ya(a).records||(ya(a).records={}),tY(a,e);var n=ya(a).records[r]||(ya(a).records[r]={});n.handler=t}}function tY(r,e){if(ya(r).initialized)return;ya(r).initialized=!0,t("click",it(lD,"click")),t("mousemove",it(lD,"mousemove")),t("globalout",rY);function t(a,n){r.on(a,function(i){var o=aY(e);$U(ya(r).records,function(s){s&&n(s,i,o.dispatchAction)}),eY(o.pendings,e)})}}function eY(r,e){var t=r.showTip.length,a=r.hideTip.length,n;t?n=r.showTip[t-1]:a&&(n=r.hideTip[a-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}function rY(r,e,t){r.handler("leave",null,t)}function lD(r,e,t,a){e.handler(r,t,a)}function aY(r){var e={showTip:[],hideTip:[]},t=function(a){var n=e[a.type];n?n.push(a):(a.dispatchAction=t,r.dispatchAction(a))};return{dispatchAction:t,pendings:e}}function vy(r,e){if(!Tt.node){var t=e.getZr(),a=(ya(t).records||{})[r];a&&(ya(t).records[r]=null)}}var nY=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){var i=a.getComponent("tooltip"),o=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";sD("axisPointer",n,function(s,l,u){o!=="none"&&(s==="leave"||o.indexOf(s)>=0)&&u({type:"updateAxisPointer",currTrigger:s,x:l&&l.offsetX,y:l&&l.offsetY})})},e.prototype.remove=function(t,a){vy("axisPointer",a)},e.prototype.dispose=function(t,a){vy("axisPointer",a)},e.type="axisPointer",e}(Ht),iY=nY;function uD(r,e){var t=[],a=r.seriesIndex,n;if(a==null||!(n=e.getSeriesByIndex(a)))return{point:[]};var i=n.getData(),o=mn(i,r);if(o==null||o<0||z(o))return{point:[]};var s=i.getItemGraphicEl(o),l=n.coordinateSystem;if(n.getTooltipPosition)t=n.getTooltipPosition(o)||[];else if(l&&l.dataToPoint)if(r.isStacked){var u=l.getBaseAxis(),f=l.getOtherAxis(u),h=f.dim,v=u.dim,c=h==="x"||h==="radius"?1:0,p=i.mapDimension(v),d=[];d[c]=i.get(p,o),d[1-c]=i.get(i.getCalculationInfo("stackResultDimension"),o),t=l.dataToPoint(d)||[]}else t=l.dataToPoint(i.getValues(G(l.dimensions,function(y){return i.mapDimension(y)}),o))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),t=[g.x+g.width/2,g.y+g.height/2]}return{point:t,el:s}}var fD=St();function oY(r,e,t){var a=r.currTrigger,n=[r.x,r.y],i=r,o=r.dispatchAction||Y(t.dispatchAction,t),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){ph(n)&&(n=uD({seriesIndex:i.seriesIndex,dataIndex:i.dataIndex},e).point);var l=ph(n),u=i.axesInfo,f=s.axesInfo,h=a==="leave"||ph(n),v={},c={},p={list:[],map:{}},d={showPointer:it(lY,c),showTooltip:it(uY,p)};A(s.coordSysMap,function(y,m){var _=l||y.containPoint(n);A(s.coordSysAxesInfo[m],function(S,b){var x=S.axis,w=cY(u,S);if(!h&&_&&(!u||w)){var T=w&&w.value;T==null&&!l&&(T=x.pointToData(n)),T!=null&&hD(S,T,d,!1,v)}})});var g={};return A(f,function(y,m){var _=y.linkGroup;_&&!c[m]&&A(_.axesInfo,function(S,b){var x=c[b];if(S!==y&&x){var w=x.value;_.mapper&&(w=y.axis.scale.parse(_.mapper(w,vD(S),vD(y)))),g[y.key]=w}})}),A(g,function(y,m){hD(f[m],y,d,!0,v)}),fY(c,f,v),hY(p,n,r,o),vY(f,o,t),v}}function hD(r,e,t,a,n){var i=r.axis;if(!(i.scale.isBlank()||!i.containData(e))){if(!r.involveSeries){t.showPointer(r,e);return}var o=sY(e,r),s=o.payloadBatch,l=o.snapToValue;s[0]&&n.seriesIndex==null&&V(n,s[0]),!a&&r.snap&&i.containData(l)&&l!=null&&(e=l),t.showPointer(r,e,s),t.showTooltip(r,o,l)}}function sY(r,e){var t=e.axis,a=t.dim,n=r,i=[],o=Number.MAX_VALUE,s=-1;return A(e.seriesModels,function(l,u){var f=l.getData().mapDimensionsAll(a),h,v;if(l.getAxisTooltipData){var c=l.getAxisTooltipData(f,r,t);v=c.dataIndices,h=c.nestestValue}else{if(v=l.getData().indicesOfNearest(f[0],r,t.type==="category"?.5:null),!v.length)return;h=l.getData().get(f[0],v[0])}if(!(h==null||!isFinite(h))){var p=r-h,d=Math.abs(p);d<=o&&((d=0&&s<0)&&(o=d,s=p,n=h,i.length=0),A(v,function(g){i.push({seriesIndex:l.seriesIndex,dataIndexInside:g,dataIndex:l.getData().getRawIndex(g)})}))}}),{payloadBatch:i,snapToValue:n}}function lY(r,e,t,a){r[e.key]={value:t,payloadBatch:a}}function uY(r,e,t,a){var n=t.payloadBatch,i=e.axis,o=i.model,s=e.axisPointerModel;if(!(!e.triggerTooltip||!n.length)){var l=e.coordSys.model,u=Js(l),f=r.map[u];f||(f=r.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},r.list.push(f)),f.dataByAxis.push({axisDim:i.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:a,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:n.slice()})}}function fY(r,e,t){var a=t.axesInfo=[];A(e,function(n,i){var o=n.axisPointerModel.option,s=r[i];s?(!n.useHandle&&(o.status="show"),o.value=s.value,o.seriesDataIndices=(s.payloadBatch||[]).slice()):!n.useHandle&&(o.status="hide"),o.status==="show"&&a.push({axisDim:n.axis.dim,axisIndex:n.axis.model.componentIndex,value:o.value})})}function hY(r,e,t,a){if(ph(e)||!r.list.length){a({type:"hideTip"});return}var n=((r.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};a({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:t.tooltipOption,position:t.position,dataIndexInside:n.dataIndexInside,dataIndex:n.dataIndex,seriesIndex:n.seriesIndex,dataByCoordSys:r.list})}function vY(r,e,t){var a=t.getZr(),n="axisPointerLastHighlights",i=fD(a)[n]||{},o=fD(a)[n]={};A(r,function(u,f){var h=u.axisPointerModel.option;h.status==="show"&&u.triggerEmphasis&&A(h.seriesDataIndices,function(v){var c=v.seriesIndex+" | "+v.dataIndex;o[c]=v})});var s=[],l=[];A(i,function(u,f){!o[f]&&l.push(u)}),A(o,function(u,f){!i[f]&&s.push(u)}),l.length&&t.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&t.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function cY(r,e){for(var t=0;t<(r||[]).length;t++){var a=r[t];if(e.axis.dim===a.axisDim&&e.axis.model.componentIndex===a.axisIndex)return a}}function vD(r){var e=r.axis.model,t={},a=t.axisDim=r.axis.dim;return t.axisIndex=t[a+"AxisIndex"]=e.componentIndex,t.axisName=t[a+"AxisName"]=e.name,t.axisId=t[a+"AxisId"]=e.id,t}function ph(r){return!r||r[0]==null||isNaN(r[0])||r[1]==null||isNaN(r[1])}function gl(r){si.registerAxisPointerClass("CartesianAxisPointer",jU),r.registerComponentModel(JU),r.registerComponentView(iY),r.registerPreprocessor(function(e){if(e){(!e.axisPointer||e.axisPointer.length===0)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!z(t)&&(e.axisPointer.link=[t])}}),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=X5(e,t)}),r.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},oY)}function pY(r){ct(OT),ct(gl)}var dY=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.makeElOption=function(t,a,n,i,o){var s=n.axis;s.dim==="angle"&&(this.animationThreshold=Math.PI/18);var l=s.polar,u=l.getOtherAxis(s),f=u.getExtent(),h=s.dataToCoord(a),v=i.get("type");if(v&&v!=="none"){var c=uy(i),p=yY[v](s,l,h,f);p.style=c,t.graphicKey=p.type,t.pointer=p}var d=i.get(["label","margin"]),g=gY(a,n,i,l,d);tD(t,n,i,o,g)},e}(ly);function gY(r,e,t,a,n){var i=e.axis,o=i.dataToCoord(r),s=a.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l=a.getRadiusAxis().getExtent(),u,f,h;if(i.dim==="radius"){var v=Ye();ln(v,v,s),Dr(v,v,[a.cx,a.cy]),u=Sr([o,-n],v);var c=e.getModel("axisLabel").get("rotate")||0,p=va.innerTextLayout(s,c*Math.PI/180,-1);f=p.textAlign,h=p.textVerticalAlign}else{var d=l[1];u=a.coordToPoint([d+n,o]);var g=a.cx,y=a.cy;f=Math.abs(u[0]-g)/d<.3?"center":u[0]>g?"left":"right",h=Math.abs(u[1]-y)/d<.3?"middle":u[1]>y?"top":"bottom"}return{position:u,align:f,verticalAlign:h}}var yY={line:function(r,e,t,a){return r.dim==="angle"?{type:"Line",shape:hy(e.coordToPoint([a[0],t]),e.coordToPoint([a[1],t]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:t}}},shadow:function(r,e,t,a){var n=Math.max(1,r.getBandWidth()),i=Math.PI/180;return r.dim==="angle"?{type:"Sector",shape:nD(e.cx,e.cy,a[0],a[1],(-t-n/2)*i,(-t+n/2)*i)}:{type:"Sector",shape:nD(e.cx,e.cy,t-n/2,t+n/2,0,Math.PI*2)}}},mY=dY,_Y=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.findAxisModel=function(t){var a,n=this.ecModel;return n.eachComponent(t,function(i){i.getCoordSysModel()===this&&(a=i)},this),a},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e}(At),SY=_Y,cy=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Kt).models[0]},e.type="polarAxis",e}(At);qt(cy,qs);var xY=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="angleAxis",e}(cy),bY=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="radiusAxis",e}(cy),py=function(r){O(e,r);function e(t,a){return r.call(this,"radius",t,a)||this}return e.prototype.pointToData=function(t,a){return this.polar.pointToData(t,a)[this.dim==="radius"?0:1]},e}(Cr);py.prototype.dataToRadius=Cr.prototype.dataToCoord,py.prototype.radiusToData=Cr.prototype.coordToData;var wY=py,TY=St(),dy=function(r){O(e,r);function e(t,a){return r.call(this,"angle",t,a||[0,360])||this}return e.prototype.pointToData=function(t,a){return this.polar.pointToData(t,a)[this.dim==="radius"?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this,a=t.getLabelModel(),n=t.scale,i=n.getExtent(),o=n.count();if(i[1]-i[0]<1)return 0;var s=i[0],l=t.dataToCoord(s+1)-t.dataToCoord(s),u=Math.abs(l),f=Xo(s==null?"":s+"",a.getFont(),"center","top"),h=Math.max(f.height,7),v=h/u;isNaN(v)&&(v=1/0);var c=Math.max(0,Math.floor(v)),p=TY(t.model),d=p.lastAutoInterval,g=p.lastTickCount;return d!=null&&g!=null&&Math.abs(d-c)<=1&&Math.abs(g-o)<=1&&d>c?c=d:(p.lastTickCount=o,p.lastAutoInterval=c),c},e}(Cr);dy.prototype.dataToAngle=Cr.prototype.dataToCoord,dy.prototype.angleToData=Cr.prototype.coordToData;var CY=dy,cD=["radius","angle"],AY=function(){function r(e){this.dimensions=cD,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new wY,this._angleAxis=new CY,this.axisPointerEnabled=!0,this.name=e||"",this._radiusAxis.polar=this._angleAxis.polar=this}return r.prototype.containPoint=function(e){var t=this.pointToCoord(e);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},r.prototype.containData=function(e){return this._radiusAxis.containData(e[0])&&this._angleAxis.containData(e[1])},r.prototype.getAxis=function(e){var t="_"+e+"Axis";return this[t]},r.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},r.prototype.getAxesByScale=function(e){var t=[],a=this._angleAxis,n=this._radiusAxis;return a.scale.type===e&&t.push(a),n.scale.type===e&&t.push(n),t},r.prototype.getAngleAxis=function(){return this._angleAxis},r.prototype.getRadiusAxis=function(){return this._radiusAxis},r.prototype.getOtherAxis=function(e){var t=this._angleAxis;return e===t?this._radiusAxis:t},r.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},r.prototype.getTooltipAxes=function(e){var t=e!=null&&e!=="auto"?this.getAxis(e):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},r.prototype.dataToPoint=function(e,t){return this.coordToPoint([this._radiusAxis.dataToRadius(e[0],t),this._angleAxis.dataToAngle(e[1],t)])},r.prototype.pointToData=function(e,t){var a=this.pointToCoord(e);return[this._radiusAxis.radiusToData(a[0],t),this._angleAxis.angleToData(a[1],t)]},r.prototype.pointToCoord=function(e){var t=e[0]-this.cx,a=e[1]-this.cy,n=this.getAngleAxis(),i=n.getExtent(),o=Math.min(i[0],i[1]),s=Math.max(i[0],i[1]);n.inverse?o=s-360:s=o+360;var l=Math.sqrt(t*t+a*a);t/=l,a/=l;for(var u=Math.atan2(-a,t)/Math.PI*180,f=us;)u+=f*360;return[l,u]},r.prototype.coordToPoint=function(e){var t=e[0],a=e[1]/180*Math.PI,n=Math.cos(a)*t+this.cx,i=-Math.sin(a)*t+this.cy;return[n,i]},r.prototype.getArea=function(){var e=this.getAngleAxis(),t=this.getRadiusAxis(),a=t.getExtent().slice();a[0]>a[1]&&a.reverse();var n=e.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:a[0],r:a[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:e.inverse,contain:function(o,s){var l=o-this.cx,u=s-this.cy,f=l*l+u*u-1e-4,h=this.r,v=this.r0;return f<=h*h&&f>=v*v}}},r.prototype.convertToPixel=function(e,t,a){var n=pD(t);return n===this?this.dataToPoint(a):null},r.prototype.convertFromPixel=function(e,t,a){var n=pD(t);return n===this?this.pointToData(a):null},r}();function pD(r){var e=r.seriesModel,t=r.polarModel;return t&&t.coordinateSystem||e&&e.coordinateSystem}var MY=AY;function DY(r,e,t){var a=e.get("center"),n=t.getWidth(),i=t.getHeight();r.cx=H(a[0],n),r.cy=H(a[1],i);var o=r.getRadiusAxis(),s=Math.min(n,i)/2,l=e.get("radius");l==null?l=[0,"100%"]:z(l)||(l=[0,l]);var u=[H(l[0],s),H(l[1],s)];o.inverse?o.setExtent(u[1],u[0]):o.setExtent(u[0],u[1])}function LY(r,e){var t=this,a=t.getAngleAxis(),n=t.getRadiusAxis();if(a.scale.setExtent(1/0,-1/0),n.scale.setExtent(1/0,-1/0),r.eachSeries(function(s){if(s.coordinateSystem===t){var l=s.getData();A(Hf(l,"radius"),function(u){n.scale.unionExtentFromData(l,u)}),A(Hf(l,"angle"),function(u){a.scale.unionExtentFromData(l,u)})}}),vo(a.scale,a.model),vo(n.scale,n.model),a.type==="category"&&!a.onBand){var i=a.getExtent(),o=360/a.scale.count();a.inverse?i[1]+=o:i[1]-=o,a.setExtent(i[0],i[1])}}function IY(r){return r.mainType==="angleAxis"}function dD(r,e){if(r.type=e.get("type"),r.scale=Ff(e),r.onBand=e.get("boundaryGap")&&r.type==="category",r.inverse=e.get("inverse"),IY(e)){r.inverse=r.inverse!==e.get("clockwise");var t=e.get("startAngle");r.setExtent(t,t+(r.inverse?-360:360))}e.axis=r,r.model=e}var PY={dimensions:cD,create:function(r,e){var t=[];return r.eachComponent("polar",function(a,n){var i=new MY(n+"");i.update=LY;var o=i.getRadiusAxis(),s=i.getAngleAxis(),l=a.findAxisModel("radiusAxis"),u=a.findAxisModel("angleAxis");dD(o,l),dD(s,u),DY(i,a,e),t.push(i),a.coordinateSystem=i,i.model=a}),r.eachSeries(function(a){if(a.get("coordinateSystem")==="polar"){var n=a.getReferringComponents("polar",Kt).models[0];a.coordinateSystem=n.coordinateSystem}}),t}},RY=PY,EY=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function dh(r,e,t){e[1]>e[0]&&(e=e.slice().reverse());var a=r.coordToPoint([e[0],t]),n=r.coordToPoint([e[1],t]);return{x1:a[0],y1:a[1],x2:n[0],y2:n[1]}}function gh(r){var e=r.getRadiusAxis();return e.inverse?0:1}function gD(r){var e=r[0],t=r[r.length-1];e&&t&&Math.abs(Math.abs(e.coord-t.coord)-360)<1e-4&&r.pop()}var kY=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.axisPointerClass="PolarAxisPointer",t}return e.prototype.render=function(t,a){if(this.group.removeAll(),!!t.get("show")){var n=t.axis,i=n.polar,o=i.getRadiusAxis().getExtent(),s=n.getTicksCoords(),l=n.getMinorTicksCoords(),u=G(n.getViewLabels(),function(f){f=et(f);var h=n.scale,v=h.type==="ordinal"?h.getRawOrdinalNumber(f.tickValue):f.tickValue;return f.coord=n.dataToCoord(v),f});gD(u),gD(s),A(EY,function(f){t.get([f,"show"])&&(!n.scale.isBlank()||f==="axisLine")&&OY[f](this.group,t,i,s,l,o,u)},this)}},e.type="angleAxis",e}(si),OY={axisLine:function(r,e,t,a,n,i){var o=e.getModel(["axisLine","lineStyle"]),s=gh(t),l=s?0:1,u;i[l]===0?u=new Gr({shape:{cx:t.cx,cy:t.cy,r:i[s]},style:o.getLineStyle(),z2:1,silent:!0}):u=new Uu({shape:{cx:t.cx,cy:t.cy,r:i[s],r0:i[l]},style:o.getLineStyle(),z2:1,silent:!0}),u.style.fill=null,r.add(u)},axisTick:function(r,e,t,a,n,i){var o=e.getModel("axisTick"),s=(o.get("inside")?-1:1)*o.get("length"),l=i[gh(t)],u=G(a,function(f){return new oe({shape:dh(t,[l,l+s],f.coord)})});r.add(er(u,{style:J(o.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(r,e,t,a,n,i){if(n.length){for(var o=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(o.get("inside")?-1:1)*s.get("length"),u=i[gh(t)],f=[],h=0;hy?"left":"right",S=Math.abs(g[1]-m)/d<.3?"middle":g[1]>m?"top":"bottom";if(s&&s[p]){var b=s[p];tt(b)&&b.textStyle&&(c=new kt(b.textStyle,l,l.ecModel))}var x=new bt({silent:va.isLabelSilent(e),style:Et(c,{x:g[0],y:g[1],fill:c.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:h.formattedLabel,align:_,verticalAlign:S})});if(r.add(x),f){var w=va.makeAxisEventDataBase(e);w.targetType="axisLabel",w.value=h.rawLabel,nt(x).eventData=w}},this)},splitLine:function(r,e,t,a,n,i){var o=e.getModel("splitLine"),s=o.getModel("lineStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var f=[],h=0;h=0?"p":"n",I=w;b&&(a[f][D]||(a[f][D]={p:w,n:w}),I=a[f][D][L]);var P=void 0,R=void 0,E=void 0,N=void 0;if(p.dim==="radius"){var k=p.dataToCoord(M)-w,B=l.dataToCoord(D);Math.abs(k)=N})}}})}function UY(r){var e={};A(r,function(a,n){var i=a.getData(),o=a.coordinateSystem,s=o.getBaseAxis(),l=mD(o,s),u=s.getExtent(),f=s.type==="category"?s.getBandWidth():Math.abs(u[1]-u[0])/i.count(),h=e[l]||{bandWidth:f,remainedWidth:f,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},v=h.stacks;e[l]=h;var c=yD(a);v[c]||h.autoWidthCount++,v[c]=v[c]||{width:0,maxWidth:0};var p=H(a.get("barWidth"),f),d=H(a.get("barMaxWidth"),f),g=a.get("barGap"),y=a.get("barCategoryGap");p&&!v[c].width&&(p=Math.min(h.remainedWidth,p),v[c].width=p,h.remainedWidth-=p),d&&(v[c].maxWidth=d),g!=null&&(h.gap=g),y!=null&&(h.categoryGap=y)});var t={};return A(e,function(a,n){t[n]={};var i=a.stacks,o=a.bandWidth,s=H(a.categoryGap,o),l=H(a.gap,1),u=a.remainedWidth,f=a.autoWidthCount,h=(u-s)/(f+(f-1)*l);h=Math.max(h,0),A(i,function(d,g){var y=d.maxWidth;y&&y=t.y&&e[1]<=t.y+t.height:a.contain(a.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},r.prototype.pointToData=function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e[t.orient==="horizontal"?0:1]))]},r.prototype.dataToPoint=function(e){var t=this.getAxis(),a=this.getRect(),n=[],i=t.orient==="horizontal"?0:1;return e instanceof Array&&(e=e[0]),n[i]=t.toGlobalCoord(t.dataToCoord(+e)),n[1-i]=i===0?a.y+a.height/2:a.x+a.width/2,n},r.prototype.convertToPixel=function(e,t,a){var n=xD(t);return n===this?this.dataToPoint(a):null},r.prototype.convertFromPixel=function(e,t,a){var n=xD(t);return n===this?this.pointToData(a):null},r}();function xD(r){var e=r.seriesModel,t=r.singleAxisModel;return t&&t.coordinateSystem||e&&e.coordinateSystem}var n8=a8;function i8(r,e){var t=[];return r.eachComponent("singleAxis",function(a,n){var i=new n8(a,r,e);i.name="single_"+n,i.resize(a,e),a.coordinateSystem=i,t.push(i)}),r.eachSeries(function(a){if(a.get("coordinateSystem")==="singleAxis"){var n=a.getReferringComponents("singleAxis",Kt).models[0];a.coordinateSystem=n&&n.coordinateSystem}}),t}var o8={create:i8,dimensions:SD},s8=o8,bD=["x","y"],l8=["width","height"],u8=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.makeElOption=function(t,a,n,i,o){var s=n.axis,l=s.coordinateSystem,u=my(l,1-yh(s)),f=l.dataToPoint(a)[0],h=i.get("type");if(h&&h!=="none"){var v=uy(i),c=f8[h](s,f,u);c.style=v,t.graphicKey=c.type,t.pointer=c}var p=gy(n);rD(a,t,p,n,i,o)},e.prototype.getHandleTransform=function(t,a,n){var i=gy(a,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var o=fy(a.axis,t,i);return{x:o[0],y:o[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,a,n,i){var o=n.axis,s=o.coordinateSystem,l=yh(o),u=my(s,l),f=[t.x,t.y];f[l]+=a[l],f[l]=Math.min(u[1],f[l]),f[l]=Math.max(u[0],f[l]);var h=my(s,1-l),v=(h[1]+h[0])/2,c=[v,v];return c[l]=f[l],{x:f[0],y:f[1],rotation:t.rotation,cursorPoint:c,tooltipOption:{verticalAlign:"middle"}}},e}(ly),f8={line:function(r,e,t){var a=hy([e,t[0]],[e,t[1]],yh(r));return{type:"Line",subPixelOptimize:!0,shape:a}},shadow:function(r,e,t){var a=r.getBandWidth(),n=t[1]-t[0];return{type:"Rect",shape:aD([e-a/2,t[0]],[a,n],yh(r))}}};function yh(r){return r.isHorizontal()?0:1}function my(r,e){var t=r.getRect();return[t[bD[e]],t[bD[e]]+t[l8[e]]]}var h8=u8,v8=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="single",e}(Ht);function c8(r){ct(gl),si.registerAxisPointerClass("SingleAxisPointer",h8),r.registerComponentView(v8),r.registerComponentView(t8),r.registerComponentModel(yy),ho(r,"single",yy,yy.defaultOption),r.registerCoordinateSystem("single",s8)}var p8=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t,a,n){var i=Hi(t);r.prototype.init.apply(this,arguments),wD(t,i)},e.prototype.mergeOption=function(t){r.prototype.mergeOption.apply(this,arguments),wD(this.option,t)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(At);function wD(r,e){var t=r.cellSize,a;z(t)?a=t:a=r.cellSize=[t,t],a.length===1&&(a[1]=a[0]);var n=G([0,1],function(i){return DE(e,i)&&(a[i]="auto"),a[i]!=null&&a[i]!=="auto"});Oa(r,e,{type:"box",ignoreSize:n})}var d8=p8,g8=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){var i=this.group;i.removeAll();var o=t.coordinateSystem,s=o.getRangeInfo(),l=o.getOrient(),u=a.getLocaleModel();this._renderDayRect(t,s,i),this._renderLines(t,s,l,i),this._renderYearText(t,s,l,i),this._renderMonthText(t,u,l,i),this._renderWeekText(t,u,s,l,i)},e.prototype._renderDayRect=function(t,a,n){for(var i=t.coordinateSystem,o=t.getModel("itemStyle").getItemStyle(),s=i.getCellWidth(),l=i.getCellHeight(),u=a.start.time;u<=a.end.time;u=i.getNextNDay(u,1).time){var f=i.dataToRect([u],!1).tl,h=new xt({shape:{x:f[0],y:f[1],width:s,height:l},cursor:"default",style:o});n.add(h)}},e.prototype._renderLines=function(t,a,n,i){var o=this,s=t.coordinateSystem,l=t.getModel(["splitLine","lineStyle"]).getLineStyle(),u=t.get(["splitLine","show"]),f=l.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var h=a.start,v=0;h.time<=a.end.time;v++){p(h.formatedDate),v===0&&(h=s.getDateInfo(a.start.y+"-"+a.start.m));var c=h.date;c.setMonth(c.getMonth()+1),h=s.getDateInfo(c)}p(s.getNextNDay(a.end.time,1).formatedDate);function p(d){o._firstDayOfMonth.push(s.getDateInfo(d)),o._firstDayPoints.push(s.dataToRect([d],!1).tl);var g=o._getLinePointsOfOneWeek(t,d,n);o._tlpoints.push(g[0]),o._blpoints.push(g[g.length-1]),u&&o._drawSplitline(g,l,i)}u&&this._drawSplitline(o._getEdgesPoints(o._tlpoints,f,n),l,i),u&&this._drawSplitline(o._getEdgesPoints(o._blpoints,f,n),l,i)},e.prototype._getEdgesPoints=function(t,a,n){var i=[t[0].slice(),t[t.length-1].slice()],o=n==="horizontal"?0:1;return i[0][o]=i[0][o]-a/2,i[1][o]=i[1][o]+a/2,i},e.prototype._drawSplitline=function(t,a,n){var i=new ke({z2:20,shape:{points:t},style:a});n.add(i)},e.prototype._getLinePointsOfOneWeek=function(t,a,n){for(var i=t.coordinateSystem,o=i.getDateInfo(a),s=[],l=0;l<7;l++){var u=i.getNextNDay(o.time,l),f=i.dataToRect([u.time],!1);s[2*u.day]=f.tl,s[2*u.day+1]=f[n==="horizontal"?"bl":"tr"]}return s},e.prototype._formatterLabel=function(t,a){return U(t)&&t?TE(t,a):j(t)?t(a):a.nameMap},e.prototype._yearTextPositionControl=function(t,a,n,i,o){var s=a[0],l=a[1],u=["center","bottom"];i==="bottom"?(l+=o,u=["center","top"]):i==="left"?s-=o:i==="right"?(s+=o,u=["center","top"]):l-=o;var f=0;return(i==="left"||i==="right")&&(f=Math.PI/2),{rotation:f,x:s,y:l,style:{align:u[0],verticalAlign:u[1]}}},e.prototype._renderYearText=function(t,a,n,i){var o=t.getModel("yearLabel");if(o.get("show")){var s=o.get("margin"),l=o.get("position");l||(l=n!=="horizontal"?"top":"left");var u=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],f=(u[0][0]+u[1][0])/2,h=(u[0][1]+u[1][1])/2,v=n==="horizontal"?0:1,c={top:[f,u[v][1]],bottom:[f,u[1-v][1]],left:[u[1-v][0],h],right:[u[v][0],h]},p=a.start.y;+a.end.y>+a.start.y&&(p=p+"-"+a.end.y);var d=o.get("formatter"),g={start:a.start.y,end:a.end.y,nameMap:p},y=this._formatterLabel(d,g),m=new bt({z2:30,style:Et(o,{text:y})});m.attr(this._yearTextPositionControl(m,c[l],n,l,s)),i.add(m)}},e.prototype._monthTextPositionControl=function(t,a,n,i,o){var s="left",l="top",u=t[0],f=t[1];return n==="horizontal"?(f=f+o,a&&(s="center"),i==="start"&&(l="bottom")):(u=u+o,a&&(l="middle"),i==="start"&&(s="right")),{x:u,y:f,align:s,verticalAlign:l}},e.prototype._renderMonthText=function(t,a,n,i){var o=t.getModel("monthLabel");if(o.get("show")){var s=o.get("nameMap"),l=o.get("margin"),u=o.get("position"),f=o.get("align"),h=[this._tlpoints,this._blpoints];(!s||U(s))&&(s&&(a=Lc(s)||a),s=a.get(["time","monthAbbr"])||[]);var v=u==="start"?0:1,c=n==="horizontal"?0:1;l=u==="start"?-l:l;for(var p=f==="center",d=0;d=n.start.time&&a.times.end.time&&t.reverse(),t},r.prototype._getRangeInfo=function(e){var t=[this.getDateInfo(e[0]),this.getDateInfo(e[1])],a;t[0].time>t[1].time&&(a=!0,t.reverse());var n=Math.floor(t[1].time/_y)-Math.floor(t[0].time/_y)+1,i=new Date(t[0].time),o=i.getDate(),s=t[1].date.getDate();i.setDate(o+n-1);var l=i.getDate();if(l!==s)for(var u=i.getTime()-t[1].time>0?1:-1;(l=i.getDate())!==s&&(i.getTime()-t[1].time)*u>0;)n-=u,i.setDate(l-u);var f=Math.floor((n+t[0].day+6)/7),h=a?-f+1:f-1;return a&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:n,weeks:f,nthWeek:h,fweek:t[0].day,lweek:t[1].day}},r.prototype._getDateByWeeksAndDay=function(e,t,a){var n=this._getRangeInfo(a);if(e>n.weeks||e===0&&tn.lweek)return null;var i=(e-1)*7-n.fweek+t,o=new Date(n.start.time);return o.setDate(+n.start.d+i),this.getDateInfo(o)},r.create=function(e,t){var a=[];return e.eachComponent("calendar",function(n){var i=new r(n,e,t);a.push(i),n.coordinateSystem=i}),e.eachSeries(function(n){n.get("coordinateSystem")==="calendar"&&(n.coordinateSystem=a[n.get("calendarIndex")||0])}),a},r.dimensions=["time","value"],r}();function TD(r){var e=r.calendarModel,t=r.seriesModel,a=e?e.coordinateSystem:t?t.coordinateSystem:null;return a}var _8=m8;function S8(r){r.registerComponentModel(d8),r.registerComponentView(y8),r.registerCoordinateSystem("calendar",_8)}function x8(r,e){var t=r.existing;if(e.id=r.keyInfo.id,!e.type&&t&&(e.type=t.type),e.parentId==null){var a=e.parentOption;a?e.parentId=a.id:t&&(e.parentId=t.parentId)}e.parentOption=null}function CD(r,e){var t;return A(e,function(a){r[a]!=null&&r[a]!=="auto"&&(t=!0)}),t}function b8(r,e,t){var a=V({},t),n=r[e],i=t.$action||"merge";if(i==="merge")if(n){if(!1)var o;ut(n,a,!0),Oa(n,a,{ignoreSize:!0}),mS(t,n),mh(t,n),mh(t,n,"shape"),mh(t,n,"style"),mh(t,n,"extra"),t.clipPath=n.clipPath}else r[e]=a;else i==="replace"?r[e]=a:i==="remove"&&n&&(r[e]=null)}var AD=["transition","enterFrom","leaveTo"],w8=AD.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function mh(r,e,t){if(t&&(!r[t]&&e[t]&&(r[t]={}),r=r[t],e=e[t]),!(!r||!e))for(var a=t?AD:w8,n=0;n=0;f--){var h=n[f],v=Jt(h.id,null),c=v!=null?o.get(v):null;if(c){var p=c.parent,y=sr(p),m=p===i?{width:s,height:l}:{width:y.width,height:y.height},_={},S=Eu(c,h,m,null,{hv:h.hv,boundingMode:h.bounding},_);if(!sr(c).isNew&&S){for(var b=h.transition,x={},w=0;w=0)?x[T]=C:c[T]=C}Mt(c,x,t,0)}else c.attr(_)}}},e.prototype._clear=function(){var t=this,a=this._elMap;a.each(function(n){_h(n,sr(n).option,a,t._lastGraphicModel)}),this._elMap=X()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(Ht);function Sy(r){var e=Z(MD,r)?MD[r]:yp(r),t=new e({});return sr(t).type=r,t}function DD(r,e,t,a){var n=Sy(t);return e.add(n),a.set(r,n),sr(n).id=r,sr(n).isNew=!0,n}function _h(r,e,t,a){var n=r&&r.parent;n&&(r.type==="group"&&r.traverse(function(i){_h(i,e,t,a)}),hh(r,e,a),t.removeKey(sr(r).id))}function LD(r,e,t,a){r.isGroup||A([["cursor",Ke.prototype.cursor],["zlevel",a||0],["z",t||0],["z2",0]],function(n){var i=n[0];Z(e,i)?r[i]=ft(e[i],n[1]):r[i]==null&&(r[i]=n[1])}),A(mt(e),function(n){if(n.indexOf("on")===0){var i=e[n];r[n]=j(i)?i:null}}),Z(e,"draggable")&&(r.draggable=e.draggable),e.name!=null&&(r.name=e.name),e.id!=null&&(r.id=e.id)}function M8(r){return r=V({},r),A(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(yS),function(e){delete r[e]}),r}function D8(r,e,t){var a=nt(r).eventData;!r.silent&&!r.ignore&&!a&&(a=nt(r).eventData={componentType:"graphic",componentIndex:e.componentIndex,name:r.name}),a&&(a.info=t.info)}function L8(r){r.registerComponentModel(C8),r.registerComponentView(A8),r.registerPreprocessor(function(e){var t=e.graphic;z(t)?!t[0]||!t[0].elements?e.graphic=[{elements:t}]:e.graphic=[e.graphic[0]]:t&&!t.elements&&(e.graphic=[{elements:[t]}])})}var ID=["x","y","radius","angle","single"],I8=["cartesian2d","polar","singleAxis"];function P8(r){var e=r.get("coordinateSystem");return vt(I8,e)>=0}function Qa(r){return r+"Axis"}function sj(r){return r+"AxisIndex"}function lj(r){return r+"AxisId"}function R8(r,e){var t=X(),a=[],n=X();r.eachComponent({mainType:"dataZoom",query:e},function(f){n.get(f.uid)||s(f)});var i;do i=!1,r.eachComponent("dataZoom",o);while(i);function o(f){!n.get(f.uid)&&l(f)&&(s(f),i=!0)}function s(f){n.set(f.uid,!0),a.push(f),u(f)}function l(f){var h=!1;return f.eachTargetAxis(function(v,c){var p=t.get(v);p&&p[c]&&(h=!0)}),h}function u(f){f.eachTargetAxis(function(h,v){(t.get(h)||t.set(h,[]))[v]=!0})}return a}function PD(r){var e=r.ecModel,t={infoList:[],infoMap:X()};return r.eachTargetAxis(function(a,n){var i=e.getComponent(Qa(a),n);if(i){var o=i.getCoordSysModel();if(o){var s=o.uid,l=t.infoMap.get(s);l||(l={model:o,axisModels:[]},t.infoList.push(l),t.infoMap.set(s,l)),l.axisModels.push(i)}}}),t}var xy=function(){function r(){this.indexList=[],this.indexMap=[]}return r.prototype.add=function(e){this.indexMap[e]||(this.indexList.push(e),this.indexMap[e]=!0)},r}(),E8=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t._autoThrottle=!0,t._noTarget=!0,t._rangePropMode=["percent","percent"],t}return e.prototype.init=function(t,a,n){var i=RD(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var a=RD(t);ut(this.option,t,!0),ut(this.settledOption,a,!0),this._doInit(a)},e.prototype._doInit=function(t){var a=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;A([["start","startValue"],["end","endValue"]],function(i,o){this._rangePropMode[o]==="value"&&(a[i[0]]=n[i[0]]=null)},this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),a=this._targetAxisInfoMap=X(),n=this._fillSpecifiedTargetAxis(a);n?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(a,this._orient)),this._noTarget=!0,a.each(function(i){i.indexList.length&&(this._noTarget=!1)},this)},e.prototype._fillSpecifiedTargetAxis=function(t){var a=!1;return A(ID,function(n){var i=this.getReferringComponents(Qa(n),FP);if(i.specified){a=!0;var o=new xy;A(i.models,function(s){o.add(s.componentIndex)}),t.set(n,o)}},this),a},e.prototype._fillAutoTargetAxisByOrient=function(t,a){var n=this.ecModel,i=!0;if(i){var o=a==="vertical"?"y":"x",s=n.findComponents({mainType:o+"Axis"});l(s,o)}if(i){var s=n.findComponents({mainType:"singleAxis",filter:function(f){return f.get("orient",!0)===a}});l(s,"single")}function l(u,f){var h=u[0];if(h){var v=new xy;if(v.add(h.componentIndex),t.set(f,v),i=!1,f==="x"||f==="y"){var c=h.getReferringComponents("grid",Kt).models[0];c&&A(u,function(p){h.componentIndex!==p.componentIndex&&c===p.getReferringComponents("grid",Kt).models[0]&&v.add(p.componentIndex)})}}}i&&A(ID,function(u){if(i){var f=n.findComponents({mainType:Qa(u),filter:function(v){return v.get("type",!0)==="category"}});if(f[0]){var h=new xy;h.add(f[0].componentIndex),t.set(u,h),i=!1}}},this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis(function(a){!t&&(t=a)},this),t==="y"?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var a=this.ecModel.option;this.option.throttle=a.animation&&a.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var a=this._rangePropMode,n=this.get("rangeMode");A([["start","startValue"],["end","endValue"]],function(i,o){var s=t[i[0]]!=null,l=t[i[1]]!=null;s&&!l?a[o]="percent":!s&&l?a[o]="value":n?a[o]=n[o]:s&&(a[o]="percent")})},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis(function(a,n){t==null&&(t=this.ecModel.getComponent(Qa(a),n))},this),t},e.prototype.eachTargetAxis=function(t,a){this._targetAxisInfoMap.each(function(n,i){A(n.indexList,function(o){t.call(a,i,o)})})},e.prototype.getAxisProxy=function(t,a){var n=this.getAxisModel(t,a);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,a){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[a])return this.ecModel.getComponent(Qa(t),a)},e.prototype.setRawRange=function(t){var a=this.option,n=this.settledOption;A([["start","startValue"],["end","endValue"]],function(i){(t[i[0]]!=null||t[i[1]]!=null)&&(a[i[0]]=n[i[0]]=t[i[0]],a[i[1]]=n[i[1]]=t[i[1]])},this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var a=this.option;A(["start","startValue","end","endValue"],function(n){a[n]=t[n]})},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,a){if(t==null&&a==null){var n=this.findRepresentativeAxisProxy();if(n)return n.getDataValueWindow()}else return this.getAxisProxy(t,a).getDataValueWindow()},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var a,n=this._targetAxisInfoMap.keys(),i=0;io[1];if(_&&!S&&!b)return!0;_&&(g=!0),S&&(p=!0),b&&(d=!0)}return g&&p&&d})}else bo(f,function(c){if(i==="empty")l.setData(u=u.map(c,function(d){return s(d)?d:NaN}));else{var p={};p[c]=o,u.selectRange(p)}});bo(f,function(c){u.setApproximateExtent(o,c)})}});function s(l){return l>=o[0]&&l<=o[1]}},r.prototype._updateMinMaxSpan=function(){var e=this._minMaxSpan={},t=this._dataZoomModel,a=this._dataExtent;bo(["min","max"],function(n){var i=t.get(n+"Span"),o=t.get(n+"ValueSpan");o!=null&&(o=this.getAxisModel().axis.scale.parse(o)),o!=null?i=Lt(a[0]+o,a,[0,100],!0):i!=null&&(o=Lt(i,[0,100],a,!0)-a[0]),e[n+"Span"]=i,e[n+"ValueSpan"]=o},this)},r.prototype._setAxisModel=function(){var e=this.getAxisModel(),t=this._percentWindow,a=this._valueWindow;if(t){var n=D0(a,[0,500]);n=Math.min(n,20);var i=e.axis.scale.rawExtentInfo;t[0]!==0&&i.setDeterminedMinMax("min",+a[0].toFixed(n)),t[1]!==100&&i.setDeterminedMinMax("max",+a[1].toFixed(n)),i.freeze()}},r}();function G8(r,e,t){var a=[1/0,-1/0];bo(t,function(o){b5(a,o.getData(),e)});var n=r.getAxisModel(),i=lT(n.axis.scale,n,a).calculate();return[i.min,i.max]}var F8=z8,H8={getTargetSeries:function(r){function e(n){r.eachComponent("dataZoom",function(i){i.eachTargetAxis(function(o,s){var l=r.getComponent(Qa(o),s);n(o,s,l,i)})})}e(function(n,i,o,s){o.__dzAxisProxy=null});var t=[];e(function(n,i,o,s){o.__dzAxisProxy||(o.__dzAxisProxy=new F8(n,i,s,r),t.push(o.__dzAxisProxy))});var a=X();return A(t,function(n){A(n.getTargetSeriesModels(),function(i){a.set(i.uid,i)})}),a},overallReset:function(r,e){r.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(a,n){t.getAxisProxy(a,n).reset(t)}),t.eachTargetAxis(function(a,n){t.getAxisProxy(a,n).filterData(t,e)})}),r.eachComponent("dataZoom",function(t){var a=t.findRepresentativeAxisProxy();if(a){var n=a.getDataPercentWindow(),i=a.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}})}},W8=H8;function U8(r){r.registerAction("dataZoom",function(e,t){var a=R8(t,e);A(a,function(n){n.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})})})}var kD=!1;function wy(r){kD||(kD=!0,r.registerProcessor(r.PRIORITY.PROCESSOR.FILTER,W8),U8(r),r.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function Y8(r){r.registerComponentModel(O8),r.registerComponentView(B8),wy(r)}var lr=function(){function r(){}return r}(),OD={};function wo(r,e){OD[r]=e}function ND(r){return OD[r]}var Z8=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.optionUpdated=function(){r.prototype.optionUpdated.apply(this,arguments);var t=this.ecModel;A(this.option.feature,function(a,n){var i=ND(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(t)),ut(a,i.defaultOption))})},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.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"}},e}(At),X8=Z8;function q8(r,e,t){var a=e.getBoxLayoutParams(),n=e.get("padding"),i={width:t.getWidth(),height:t.getHeight()},o=$t(a,i,n);Vn(e.get("orient"),r,e.get("itemGap"),o.width,o.height),Eu(r,a,i,n)}function VD(r,e){var t=kn(e.get("padding")),a=e.getItemStyle(["color","opacity"]);return a.fill=e.get("backgroundColor"),r=new xt({shape:{x:r.x-t[3],y:r.y-t[0],width:r.width+t[1]+t[3],height:r.height+t[0]+t[2],r:e.get("borderRadius")},style:a,silent:!0,z2:-1}),r}var K8=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.render=function(t,a,n,i){var o=this.group;if(o.removeAll(),!t.get("show"))return;var s=+t.get("itemSize"),l=t.get("orient")==="vertical",u=t.get("feature")||{},f=this._features||(this._features={}),h=[];A(u,function(p,d){h.push(d)}),new ua(this._featureNames||[],h).add(v).update(v).remove(it(v,null)).execute(),this._featureNames=h;function v(p,d){var g=h[p],y=h[d],m=u[g],_=new kt(m,t,t.ecModel),S;if(i&&i.newTitle!=null&&i.featureName===g&&(m.title=i.newTitle),g&&!y){if(j8(g))S={onclick:_.option.onclick,featureName:g};else{var b=ND(g);if(!b)return;S=new b}f[g]=S}else if(S=f[y],!S)return;S.uid=zi("toolbox-feature"),S.model=_,S.ecModel=a,S.api=n;var x=S instanceof lr;if(!g&&y){x&&S.dispose&&S.dispose(a,n);return}if(!_.get("show")||x&&S.unusable){x&&S.remove&&S.remove(a,n);return}c(_,S,g),_.setIconStatus=function(w,T){var C=this.option,M=this.iconPaths;C.iconStatus=C.iconStatus||{},C.iconStatus[w]=T,M[w]&&(T==="emphasis"?ia:oa)(M[w])},S instanceof lr&&S.render&&S.render(_,a,n,i)}function c(p,d,g){var y=p.getModel("iconStyle"),m=p.getModel(["emphasis","iconStyle"]),_=d instanceof lr&&d.getIcons?d.getIcons():p.get("icon"),S=p.get("title")||{},b,x;U(_)?(b={},b[g]=_):b=_,U(S)?(x={},x[g]=S):x=S;var w=p.iconPaths={};A(b,function(T,C){var M=Ts(T,{},{x:-s/2,y:-s/2,width:s,height:s});M.setStyle(y.getItemStyle());var D=M.ensureState("emphasis");D.style=m.getItemStyle();var L=new bt({style:{text:x[C],align:m.get("textAlign"),borderRadius:m.get("textBorderRadius"),padding:m.get("textPadding"),fill:null},ignore:!0});M.setTextContent(L),$i({el:M,componentModel:t,itemName:C,formatterParamsExtra:{title:x[C]}}),M.__title=x[C],M.on("mouseover",function(){var I=m.getItemStyle(),P=l?t.get("right")==null&&t.get("left")!=="right"?"right":"left":t.get("bottom")==null&&t.get("top")!=="bottom"?"bottom":"top";L.setStyle({fill:m.get("textFill")||I.fill||I.stroke||"#000",backgroundColor:m.get("textBackgroundColor")}),M.setTextConfig({position:m.get("textPosition")||P}),L.ignore=!t.get("showTitle"),n.enterEmphasis(this)}).on("mouseout",function(){p.get(["iconStatus",C])!=="emphasis"&&n.leaveEmphasis(this),L.hide()}),(p.get(["iconStatus",C])==="emphasis"?ia:oa)(M),o.add(M),M.on("click",Y(d.onclick,d,a,n,C)),w[C]=M})}q8(o,t,n),o.add(VD(o.getBoundingRect(),t)),l||o.eachChild(function(p){var d=p.__title,g=p.ensureState("emphasis"),y=g.textConfig||(g.textConfig={}),m=p.getTextContent(),_=m&&m.ensureState("emphasis");if(_&&!j(_)&&d){var S=_.style||(_.style={}),b=Xo(d,bt.makeFont(S)),x=p.x+o.x,w=p.y+o.y+s,T=!1;w+b.height>n.getHeight()&&(y.position="top",T=!0);var C=T?-5-b.height:s+10;x+b.width/2>n.getWidth()?(y.position=["100%",C],S.align="right"):x-b.width/2<0&&(y.position=[0,C],S.align="left")}})},e.prototype.updateView=function(t,a,n,i){A(this._features,function(o){o instanceof lr&&o.updateView&&o.updateView(o.model,a,n,i)})},e.prototype.remove=function(t,a){A(this._features,function(n){n instanceof lr&&n.remove&&n.remove(t,a)}),this.group.removeAll()},e.prototype.dispose=function(t,a){A(this._features,function(n){n instanceof lr&&n.dispose&&n.dispose(t,a)})},e.type="toolbox",e}(Ht);function j8(r){return r.indexOf("my")===0}var Q8=K8,J8=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.onclick=function(t,a){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",o=a.getZr().painter.getType()==="svg",s=o?"svg":n.get("type",!0)||"png",l=a.getConnectedDataURL({type:s,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),u=Tt.browser;if(j(MouseEvent)&&(u.newEdge||!u.ie&&!u.edge)){var f=document.createElement("a");f.download=i+"."+s,f.target="_blank",f.href=l;var h=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});f.dispatchEvent(h)}else if(window.navigator.msSaveOrOpenBlob||o){var v=l.split(","),c=v[0].indexOf("base64")>-1,p=o?decodeURIComponent(v[1]):v[1];c&&(p=window.atob(p));var d=i+"."+s;if(window.navigator.msSaveOrOpenBlob){for(var g=p.length,y=new Uint8Array(g);g--;)y[g]=p.charCodeAt(g);var m=new Blob([y]);window.navigator.msSaveOrOpenBlob(m,d)}else{var _=document.createElement("iframe");document.body.appendChild(_);var S=_.contentWindow,b=S.document;b.open("image/svg+xml","replace"),b.write(p),b.close(),S.focus(),b.execCommand("SaveAs",!0,d),document.body.removeChild(_)}}else{var x=n.get("lang"),w='',T=window.open();T.document.write(w),T.document.title=i}},e.getDefaultOption=function(t){var a={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:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return a},e}(lr),$8=J8,BD="__ec_magicType_stack__",uj=null,fj=null,t7=[["line","bar"],["stack"]],e7=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getIcons=function(){var t=this.model,a=t.get("icon"),n={};return A(t.get("type"),function(i){a[i]&&(n[i]=a[i])}),n},e.getDefaultOption=function(t){var a={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:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return a},e.prototype.onclick=function(t,a,n){var i=this.model,o=i.get(["seriesIndex",n]);if(zD[n]){var s={series:[]},l=function(h){var v=h.subType,c=h.id,p=zD[n](v,c,h,i);p&&(J(p,h.option),s.series.push(p));var d=h.coordinateSystem;if(d&&d.type==="cartesian2d"&&(n==="line"||n==="bar")){var g=d.getAxesByScale("ordinal")[0];if(g){var y=g.dim,m=y+"Axis",_=h.getReferringComponents(m,Kt).models[0],S=_.componentIndex;s[m]=s[m]||[];for(var b=0;b<=S;b++)s[m][S]=s[m][S]||{};s[m][S].boundaryGap=n==="bar"}}};A(t7,function(h){vt(h,n)>=0&&A(h,function(v){i.setIconStatus(v,"normal")})}),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:o==null?null:{seriesIndex:o}},l);var u,f=n;n==="stack"&&(u=ut({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),i.get(["iconStatus",n])!=="emphasis"&&(f="tiled")),a.dispatchAction({type:"changeMagicType",currentType:f,newOption:s,newTitle:u,featureName:"magicType"})}},e}(lr),zD={line:function(r,e,t,a){if(r==="bar")return ut({id:e,type:"line",data:t.get("data"),stack:t.get("stack"),markPoint:t.get("markPoint"),markLine:t.get("markLine")},a.get(["option","line"])||{},!0)},bar:function(r,e,t,a){if(r==="line")return ut({id:e,type:"bar",data:t.get("data"),stack:t.get("stack"),markPoint:t.get("markPoint"),markLine:t.get("markLine")},a.get(["option","bar"])||{},!0)},stack:function(r,e,t,a){var n=t.get("stack")===BD;if(r==="line"||r==="bar")return a.setIconStatus("stack",n?"normal":"emphasis"),ut({id:e,stack:n?"":BD},a.get(["option","stack"])||{},!0)}};Hr({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(r,e){e.mergeOption(r.newOption)});var r7=e7,Sh=new Array(60).join("-"),To=" ";function a7(r){var e={},t=[],a=[];return r.eachRawSeries(function(n){var i=n.coordinateSystem;if(i&&(i.type==="cartesian2d"||i.type==="polar")){var o=i.getBaseAxis();if(o.type==="category"){var s=o.dim+"_"+o.index;e[s]||(e[s]={categoryAxis:o,valueAxis:i.getOtherAxis(o),series:[]},a.push({axisDim:o.dim,axisIndex:o.index})),e[s].series.push(n)}else t.push(n)}else t.push(n)}),{seriesGroupByCategoryAxis:e,other:t,meta:a}}function n7(r){var e=[];return A(r,function(t,a){var n=t.categoryAxis,i=t.valueAxis,o=i.dim,s=[" "].concat(G(t.series,function(c){return c.name})),l=[n.model.getCategories()];A(t.series,function(c){var p=c.getRawData();l.push(c.getRawData().mapArray(p.mapDimension(o),function(d){return d}))});for(var u=[s.join(To)],f=0;f=0)return!0}var Ty=new RegExp("["+To+"]+","g");function l7(r){for(var e=r.split(/\n+/g),t=xh(e.shift()).split(Ty),a=[],n=G(t,function(l){return{name:l,data:[]}}),i=0;i=0;i--){var o=t[i];if(o[n])break}if(i<0){var s=r.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(s){var l=s.getPercentRange();t[0][n]={dataZoomId:n,start:l[0],end:l[1]}}}}),t.push(e)}function d7(r){var e=Cy(r),t=e[e.length-1];e.length>1&&e.pop();var a={};return GD(t,function(n,i){for(var o=e.length-1;o>=0;o--)if(n=e[o][i],n){a[i]=n;break}}),a}function g7(r){FD(r).snapshots=null}function y7(r){return Cy(r).length}function Cy(r){var e=FD(r);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var m7=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.onclick=function(t,a){g7(t),a.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){var a={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:t.getLocaleModel().get(["toolbox","restore","title"])};return a},e}(lr);Hr({type:"restore",event:"restore",update:"prepareAndUpdate"},function(r,e){e.resetOption("recreate")});var _7=m7,S7=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],x7=function(){function r(e,t,a){var n=this;this._targetInfoList=[];var i=HD(t,e);A(b7,function(o,s){(!a||!a.include||vt(a.include,s)>=0)&&o(i,n._targetInfoList)})}return r.prototype.setOutputRanges=function(e,t){return this.matchOutputRanges(e,t,function(a,n,i){if((a.coordRanges||(a.coordRanges=[])).push(n),!a.coordRange){a.coordRange=n;var o=My[a.brushType](0,i,n);a.__rangeOffset={offset:ZD[a.brushType](o.values,a.range,[1,1]),xyMinMax:o.xyMinMax}}}),e},r.prototype.matchOutputRanges=function(e,t,a){A(e,function(n){var i=this.findTargetInfo(n,t);i&&i!==!0&&A(i.coordSyses,function(o){var s=My[n.brushType](1,o,n.range,!0);a(n,s.values,o,t)})},this)},r.prototype.setInputRanges=function(e,t){A(e,function(a){var n=this.findTargetInfo(a,t);if(a.range=a.range||[],n&&n!==!0){a.panelId=n.panelId;var i=My[a.brushType](0,n.coordSys,a.coordRange),o=a.__rangeOffset;a.range=o?ZD[a.brushType](i.values,o.offset,w7(i.xyMinMax,o.xyMinMax)):i.values}},this)},r.prototype.makePanelOpts=function(e,t){return G(this._targetInfoList,function(a){var n=a.getPanelRect();return{panelId:a.panelId,defaultBrushType:t?t(a):null,clipPath:UA(n),isTargetByCursor:ZA(n,e,a.coordSysModel),getLinearBrushOtherExtent:YA(n)}})},r.prototype.controlSeries=function(e,t,a){var n=this.findTargetInfo(e,a);return n===!0||n&&vt(n.coordSyses,t.coordinateSystem)>=0},r.prototype.findTargetInfo=function(e,t){for(var a=this._targetInfoList,n=HD(t,e),i=0;ir[1]&&r.reverse(),r}function HD(r,e){return Qo(r,e,{includeMainTypes:S7})}var b7={grid:function(r,e){var t=r.xAxisModels,a=r.yAxisModels,n=r.gridModels,i=X(),o={},s={};!t&&!a&&!n||(A(t,function(l){var u=l.axis.grid.model;i.set(u.id,u),o[u.id]=!0}),A(a,function(l){var u=l.axis.grid.model;i.set(u.id,u),s[u.id]=!0}),A(n,function(l){i.set(l.id,l),o[l.id]=!0,s[l.id]=!0}),i.each(function(l){var u=l.coordinateSystem,f=[];A(u.getCartesians(),function(h,v){(vt(t,h.getAxis("x").model)>=0||vt(a,h.getAxis("y").model)>=0)&&f.push(h)}),e.push({panelId:"grid--"+l.id,gridModel:l,coordSysModel:l,coordSys:f[0],coordSyses:f,getPanelRect:UD.grid,xAxisDeclared:o[l.id],yAxisDeclared:s[l.id]})}))},geo:function(r,e){A(r.geoModels,function(t){var a=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:a,coordSyses:[a],getPanelRect:UD.geo})})}},WD=[function(r,e){var t=r.xAxisModel,a=r.yAxisModel,n=r.gridModel;return!n&&t&&(n=t.axis.grid.model),!n&&a&&(n=a.axis.grid.model),n&&n===e.gridModel},function(r,e){var t=r.geoModel;return t&&t===e.geoModel}],UD={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var r=this.coordSys,e=r.getBoundingRect().clone();return e.applyTransform(Un(r)),e}},My={lineX:it(YD,0),lineY:it(YD,1),rect:function(r,e,t,a){var n=r?e.pointToData([t[0][0],t[1][0]],a):e.dataToPoint([t[0][0],t[1][0]],a),i=r?e.pointToData([t[0][1],t[1][1]],a):e.dataToPoint([t[0][1],t[1][1]],a),o=[Ay([n[0],i[0]]),Ay([n[1],i[1]])];return{values:o,xyMinMax:o}},polygon:function(r,e,t,a){var n=[[1/0,-1/0],[1/0,-1/0]],i=G(t,function(o){var s=r?e.pointToData(o,a):e.dataToPoint(o,a);return n[0][0]=Math.min(n[0][0],s[0]),n[1][0]=Math.min(n[1][0],s[1]),n[0][1]=Math.max(n[0][1],s[0]),n[1][1]=Math.max(n[1][1],s[1]),s});return{values:i,xyMinMax:n}}};function YD(r,e,t,a){var n=t.getAxis(["x","y"][r]),i=Ay(G([0,1],function(s){return e?n.coordToData(n.toLocalCoord(a[s]),!0):n.toGlobalCoord(n.dataToCoord(a[s]))})),o=[];return o[r]=i,o[1-r]=[NaN,NaN],{values:i,xyMinMax:o}}var ZD={lineX:it(XD,0),lineY:it(XD,1),rect:function(r,e,t){return[[r[0][0]-t[0]*e[0][0],r[0][1]-t[0]*e[0][1]],[r[1][0]-t[1]*e[1][0],r[1][1]-t[1]*e[1][1]]]},polygon:function(r,e,t){return G(r,function(a,n){return[a[0]-t[0]*e[n][0],a[1]-t[1]*e[n][1]]})}};function XD(r,e,t,a){return[e[0]-a[r]*t[0],e[1]-a[r]*t[1]]}function w7(r,e){var t=qD(r),a=qD(e),n=[t[0]/a[0],t[1]/a[1]];return isNaN(n[0])&&(n[0]=1),isNaN(n[1])&&(n[1]=1),n}function qD(r){return r?[r[0][1]-r[0][0],r[1][1]-r[1][0]]:[NaN,NaN]}var Dy=x7,Ly=A,T7=NP("toolbox-dataZoom_"),hj=null,C7=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.render=function(t,a,n,i){this._brushController||(this._brushController=new Ng(n.getZr()),this._brushController.on("brush",Y(this._onBrush,this)).mount()),D7(t,a,this,i,n),M7(t,a)},e.prototype.onclick=function(t,a,n){A7[n].call(this)},e.prototype.remove=function(t,a){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,a){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var a=t.areas;if(!t.isEnd||!a.length)return;var n={},i=this.ecModel;this._brushController.updateCovers([]);var o=new Dy(Iy(this.model),i,{include:["grid"]});o.matchOutputRanges(a,i,function(u,f,h){if(h.type==="cartesian2d"){var v=u.brushType;v==="rect"?(s("x",h,f[0]),s("y",h,f[1])):s({lineX:"x",lineY:"y"}[v],h,f)}}),p7(i,n),this._dispatchZoomAction(n);function s(u,f,h){var v=f.getAxis(u),c=v.model,p=l(u,c,i),d=p.findRepresentativeAxisProxy(c).getMinMaxSpan();(d.minValueSpan!=null||d.maxValueSpan!=null)&&(h=pi(0,h.slice(),v.scale.getExtent(),0,d.minValueSpan,d.maxValueSpan)),p&&(n[p.id]={dataZoomId:p.id,startValue:h[0],endValue:h[1]})}function l(u,f,h){var v;return h.eachComponent({mainType:"dataZoom",subType:"select"},function(c){var p=c.getAxisModel(u,f.componentIndex);p&&(v=c)}),v}},e.prototype._dispatchZoomAction=function(t){var a=[];Ly(t,function(n,i){a.push(et(n))}),a.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:a})},e.getDefaultOption=function(t){var a={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:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return a},e}(lr),A7={zoom:function(){var r=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:r})},back:function(){this._dispatchZoomAction(d7(this.ecModel))}};function Iy(r){var e={xAxisIndex:r.get("xAxisIndex",!0),yAxisIndex:r.get("yAxisIndex",!0),xAxisId:r.get("xAxisId",!0),yAxisId:r.get("yAxisId",!0)};return e.xAxisIndex==null&&e.xAxisId==null&&(e.xAxisIndex="all"),e.yAxisIndex==null&&e.yAxisId==null&&(e.yAxisIndex="all"),e}function M7(r,e){r.setIconStatus("back",y7(e)>1?"emphasis":"normal")}function D7(r,e,t,a,n){var i=t._isZoomActive;a&&a.type==="takeGlobalCursor"&&(i=a.key==="dataZoomSelect"?a.dataZoomSelectActive:!1),t._isZoomActive=i,r.setIconStatus("zoom",i?"emphasis":"normal");var o=new Dy(Iy(r),e,{include:["grid"]}),s=o.makePanelOpts(n,function(l){return l.xAxisDeclared&&!l.yAxisDeclared?"lineX":!l.xAxisDeclared&&l.yAxisDeclared?"lineY":"rect"});t._brushController.setPanels(s).enableBrush(i&&s.length?{brushType:"auto",brushStyle:r.getModel("brushStyle").getItemStyle()}:!1)}kE("dataZoom",function(r){var e=r.getComponent("toolbox",0),t=["feature","dataZoom"];if(!e||e.get(t)==null)return;var a=e.getModel(t),n=[],i=Iy(a),o=Qo(r,i);Ly(o.xAxisModels,function(l){return s(l,"xAxis","xAxisIndex")}),Ly(o.yAxisModels,function(l){return s(l,"yAxis","yAxisIndex")});function s(l,u,f){var h=l.componentIndex,v={type:"select",$fromToolbox:!0,filterMode:a.get("filterMode",!0)||"filter",id:T7+u+h};v[f]=h,n.push(v)}return n});var L7=C7;function I7(r){r.registerComponentModel(X8),r.registerComponentView(Q8),wo("saveAsImage",$8),wo("magicType",r7),wo("dataView",c7),wo("dataZoom",L7),wo("restore",_7),ct(Y8)}var P7=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="tooltip",e.dependencies=["axisPointer"],e.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}},e}(At),R7=P7;function KD(r){var e=r.get("confine");return e!=null?!!e:r.get("renderMode")==="richText"}function jD(r){if(Tt.domSupported){for(var e=document.documentElement.style,t=0,a=r.length;t-1?(s+="top:50%",l+="translateY(-50%) rotate("+(u=i==="left"?-225:-45)+"deg)"):(s+="left:50%",l+="translateX(-50%) rotate("+(u=i==="top"?225:45)+"deg)");var f=u*Math.PI/180,h=o+n,v=h*Math.abs(Math.cos(f))+h*Math.abs(Math.sin(f)),c=Math.round(((v-Math.SQRT2*n)/2+Math.SQRT2*n-(v-h)/2)*100)/100;s+=";"+i+":-"+c+"px";var p=e+" solid "+n+"px;",d=["position:absolute;width:"+o+"px;height:"+o+"px;z-index:-1;",s+";"+l+";","border-bottom:"+p,"border-right:"+p,"background-color:"+a+";"];return'
'}function z7(r,e){var t="cubic-bezier(0.23,1,0.32,1)",a=" "+r/2+"s "+t,n="opacity"+a+",visibility"+a;return e||(a=" "+r+"s "+t,n+=Tt.transformSupported?","+Py+a:",left"+a+",top"+a),O7+":"+n}function $D(r,e,t){var a=r.toFixed(0)+"px",n=e.toFixed(0)+"px";if(!Tt.transformSupported)return t?"top:"+n+";left:"+a+";":[["top",n],["left",a]];var i=Tt.transform3dSupported,o="translate"+(i?"3d":"")+"("+a+","+n+(i?",0":"")+")";return t?"top:0;left:0;"+Py+":"+o+";":[["top",0],["left",0],[QD,o]]}function G7(r){var e=[],t=r.get("fontSize"),a=r.getTextColor();a&&e.push("color:"+a),e.push("font:"+r.getFont()),t&&e.push("line-height:"+Math.round(t*3/2)+"px");var n=r.get("textShadowColor"),i=r.get("textShadowBlur")||0,o=r.get("textShadowOffsetX")||0,s=r.get("textShadowOffsetY")||0;return n&&i&&e.push("text-shadow:"+o+"px "+s+"px "+i+"px "+n),A(["decoration","align"],function(l){var u=r.get(l);u&&e.push("text-"+l+":"+u)}),e.join(";")}function F7(r,e,t){var a=[],n=r.get("transitionDuration"),i=r.get("backgroundColor"),o=r.get("shadowBlur"),s=r.get("shadowColor"),l=r.get("shadowOffsetX"),u=r.get("shadowOffsetY"),f=r.getModel("textStyle"),h=w1(r,"html"),v=l+"px "+u+"px "+o+"px "+s;return a.push("box-shadow:"+v),e&&n&&a.push(z7(n,t)),i&&a.push("background-color:"+i),A(["width","color","radius"],function(c){var p="border-"+c,d=Oc(p),g=r.get(d);g!=null&&a.push(p+":"+g+(c==="color"?"":"px"))}),a.push(G7(f)),h!=null&&a.push("padding:"+kn(h).join("px ")+"px"),a.join(";")+";"}function tL(r,e,t,a,n){var i=e&&e.painter;if(t){var o=i&&i.getViewportRoot();o&&s2(r,o,document.body,a,n)}else{r[0]=a,r[1]=n;var s=i&&i.getViewportRootOffset();s&&(r[0]+=s.offsetLeft,r[1]+=s.offsetTop)}r[2]=r[0]/e.getWidth(),r[3]=r[1]/e.getHeight()}var H7=function(){function r(e,t,a){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,Tt.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=t.getZr(),o=this._appendToBody=a&&a.appendToBody;tL(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),o?document.body.appendChild(n):e.appendChild(n),this._container=e;var s=this;n.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},n.onmousemove=function(l){if(l=l||window.event,!s._enterable){var u=i.handler,f=i.painter.getViewportRoot();Ue(f,l,!0),u.dispatch("mousemove",l)}},n.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return r.prototype.update=function(e){var t=this._container,a=k7(t,"position"),n=t.style;n.position!=="absolute"&&a!=="absolute"&&(n.position="relative");var i=e.get("alwaysShowContent");i&&this._moveIfResized(),this._alwaysShowContent=i,this.el.className=e.get("className")||""},r.prototype.show=function(e,t){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var a=this.el,n=a.style,i=this._styleCoord;a.innerHTML?n.cssText=N7+F7(e,!this._firstShow,this._longHide)+$D(i[0],i[1],!0)+("border-color:"+On(t)+";")+(e.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):n.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},r.prototype.setContent=function(e,t,a,n,i){var o=this.el;if(e==null){o.innerHTML="";return}var s="";if(U(i)&&a.get("trigger")==="item"&&!KD(a)&&(s=B7(a,n,i)),U(e))o.innerHTML=e+s;else if(e){o.innerHTML="",z(e)||(e=[e]);for(var l=0;l=0?this._tryShow(i,o):n==="leave"&&this._hide(o))},this))},e.prototype._keepShow=function(){var t=this._tooltipModel,a=this._ecModel,n=this._api,i=t.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&i!=="none"&&i!=="click"){var o=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!n.isDisposed()&&o.manuallyShowTip(t,a,n,{x:o._lastX,y:o._lastY,dataByCoordSys:o._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(t,a,n,i){if(!(i.from===this.uid||Tt.node||!n.getDom())){var o=aL(i,n);this._ticket="";var s=i.dataByCoordSys,l=Q7(i,a,n);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:i.position,positionDefault:"bottom"},o)}else if(i.tooltip&&i.x!=null&&i.y!=null){var f=Z7;f.x=i.x,f.y=i.y,f.update(),nt(f).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:f},o)}else if(s)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:s,tooltipOption:i.tooltipOption},o);else if(i.seriesIndex!=null){if(this._manuallyAxisShowTip(t,a,n,i))return;var h=uD(i,a),v=h.point[0],c=h.point[1];v!=null&&c!=null&&this._tryShow({offsetX:v,offsetY:c,target:h.el,position:i.position,positionDefault:"bottom"},o)}else i.x!=null&&i.y!=null&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},o))}},e.prototype.manuallyHideTip=function(t,a,n,i){var o=this._tooltipContent;this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(aL(i,n))},e.prototype._manuallyAxisShowTip=function(t,a,n,i){var o=i.seriesIndex,s=i.dataIndex,l=a.getComponent("axisPointer").coordSysAxesInfo;if(!(o==null||s==null||l==null)){var u=a.getSeriesByIndex(o);if(u){var f=u.getData(),h=ml([f.getItemModel(s),u,(u.coordinateSystem||{}).model],this._tooltipModel);if(h.get("trigger")==="axis")return n.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:s,position:i.position}),!0}}},e.prototype._tryShow=function(t,a){var n=t.target,i=this._tooltipModel;if(i){this._lastX=t.offsetX,this._lastY=t.offsetY;var o=t.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,t);else if(n){this._lastDataByCoordSys=null;var s,l;Yn(n,function(u){if(nt(u).dataIndex!=null)return s=u,!0;if(nt(u).tooltipConfig!=null)return l=u,!0},!0),s?this._showSeriesItemTooltip(t,s,a):l?this._showComponentItemTooltip(t,l,a):this._hide(a)}else this._lastDataByCoordSys=null,this._hide(a)}},e.prototype._showOrMove=function(t,a){var n=t.get("showDelay");a=Y(a,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(a,n):a()},e.prototype._showAxisTooltip=function(t,a){var n=this._ecModel,i=this._tooltipModel,o=[a.offsetX,a.offsetY],s=ml([a.tooltipOption],i),l=this._renderMode,u=[],f=re("section",{blocks:[],noHeader:!0}),h=[],v=new op;A(t,function(m){A(m.dataByAxis,function(_){var S=n.getComponent(_.axisDim+"Axis",_.axisIndex),b=_.value;if(!(!S||b==null)){var x=eD(b,S.axis,n,_.seriesDataIndices,_.valueLabelOpt),w=re("section",{header:x,noHeader:!fr(x),sortBlocks:!0,blocks:[]});f.blocks.push(w),A(_.seriesDataIndices,function(T){var C=n.getSeriesByIndex(T.seriesIndex),M=T.dataIndexInside,D=C.getDataParams(M);if(!(D.dataIndex<0)){D.axisDim=_.axisDim,D.axisIndex=_.axisIndex,D.axisType=_.axisType,D.axisId=_.axisId,D.axisValue=bd(S.axis,{value:b}),D.axisValueLabel=x,D.marker=v.makeTooltipMarker("item",On(D.color),l);var L=r1(C.formatTooltip(M,!0,null)),I=L.frag;if(I){var P=ml([C],i).get("valueFormatter");w.blocks.push(P?V({valueFormatter:P},I):I)}L.text&&h.push(L.text),u.push(D)}})}})}),f.blocks.reverse(),h.reverse();var c=a.position,p=s.get("order"),d=S1(f,v,l,p,n.get("useUTC"),s.get("textStyle"));d&&h.unshift(d);var g=l==="richText"?` + +`:"
",y=h.join(g);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(t,u)?this._updatePosition(s,c,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,y,u,Math.random()+"",o[0],o[1],c,null,v)})},e.prototype._showSeriesItemTooltip=function(t,a,n){var i=this._ecModel,o=nt(a),s=o.seriesIndex,l=i.getSeriesByIndex(s),u=o.dataModel||l,f=o.dataIndex,h=o.dataType,v=u.getData(h),c=this._renderMode,p=t.positionDefault,d=ml([v.getItemModel(f),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),g=d.get("trigger");if(!(g!=null&&g!=="item")){var y=u.getDataParams(f,h),m=new op;y.marker=m.makeTooltipMarker("item",On(y.color),c);var _=r1(u.formatTooltip(f,!1,h)),S=d.get("order"),b=d.get("valueFormatter"),x=_.frag,w=x?S1(b?V({valueFormatter:b},x):x,m,c,S,i.get("useUTC"),d.get("textStyle")):_.text,T="item_"+u.name+"_"+f;this._showOrMove(d,function(){this._showTooltipContent(d,w,y,T,t.offsetX,t.offsetY,t.position,t.target,m)}),n({type:"showTip",dataIndexInside:f,dataIndex:v.getRawIndex(f),seriesIndex:s,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,a,n){var i=nt(a),o=i.tooltipConfig,s=o.option||{};if(U(s)){var l=s;s={content:l,formatter:l}}var u=[s],f=this._ecModel.getComponent(i.componentMainType,i.componentIndex);f&&u.push(f),u.push({formatter:s.content});var h=t.positionDefault,v=ml(u,this._tooltipModel,h?{position:h}:null),c=v.get("content"),p=Math.random()+"",d=new op;this._showOrMove(v,function(){var g=et(v.get("formatterParams")||{});this._showTooltipContent(v,c,g,p,t.offsetX,t.offsetY,t.position,a,d)}),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,a,n,i,o,s,l,u,f){if(this._ticket="",!(!t.get("showContent")||!t.get("show"))){var h=this._tooltipContent;h.setEnterable(t.get("enterable"));var v=t.get("formatter");l=l||t.get("position");var c=a,p=this._getNearestPoint([o,s],n,t.get("trigger"),t.get("borderColor")),d=p.color;if(v)if(U(v)){var g=t.ecModel.get("useUTC"),y=z(n)?n[0]:n,m=y&&y.axisType&&y.axisType.indexOf("time")>=0;c=v,m&&(c=Au(y.axisValue,c,g)),c=Bc(c,n,!0)}else if(j(v)){var _=Y(function(S,b){S===this._ticket&&(h.setContent(b,f,t,d,l),this._updatePosition(t,l,o,s,h,n,u))},this);this._ticket=i,c=v(n,i,_)}else c=v;h.setContent(c,f,t,d,l),h.show(t,d),this._updatePosition(t,l,o,s,h,n,u)}},e.prototype._getNearestPoint=function(t,a,n,i){if(n==="axis"||z(a))return{color:i||(this._renderMode==="html"?"#fff":"none")};if(!z(a))return{color:i||a.color||a.borderColor}},e.prototype._updatePosition=function(t,a,n,i,o,s,l){var u=this._api.getWidth(),f=this._api.getHeight();a=a||t.get("position");var h=o.getSize(),v=t.get("align"),c=t.get("verticalAlign"),p=l&&l.getBoundingRect().clone();if(l&&p.applyTransform(l.transform),j(a)&&(a=a([n,i],s,o.el,p,{viewSize:[u,f],contentSize:h.slice()})),z(a))n=H(a[0],u),i=H(a[1],f);else if(tt(a)){var d=a;d.width=h[0],d.height=h[1];var g=$t(d,{width:u,height:f});n=g.x,i=g.y,v=null,c=null}else if(U(a)&&l){var y=j7(a,p,h,t.get("borderWidth"));n=y[0],i=y[1]}else{var y=q7(n,i,o,u,f,v?null:20,c?null:20);n=y[0],i=y[1]}if(v&&(n-=nL(v)?h[0]/2:v==="right"?h[0]:0),c&&(i-=nL(c)?h[1]/2:c==="bottom"?h[1]:0),KD(t)){var y=K7(n,i,o,u,f);n=y[0],i=y[1]}o.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,a){var n=this._lastDataByCoordSys,i=this._cbParamsList,o=!!n&&n.length===t.length;return o&&A(n,function(s,l){var u=s.dataByAxis||[],f=t[l]||{},h=f.dataByAxis||[];o=o&&u.length===h.length,o&&A(u,function(v,c){var p=h[c]||{},d=v.seriesDataIndices||[],g=p.seriesDataIndices||[];o=o&&v.value===p.value&&v.axisType===p.axisType&&v.axisId===p.axisId&&d.length===g.length,o&&A(d,function(y,m){var _=g[m];o=o&&y.seriesIndex===_.seriesIndex&&y.dataIndex===_.dataIndex}),i&&A(v.seriesDataIndices,function(y){var m=y.seriesIndex,_=a[m],S=i[m];_&&S&&S.data!==_.data&&(o=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=a,!!o},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,a){Tt.node||!a.getDom()||(As(this,"_updatePosition"),this._tooltipContent.dispose(),vy("itemTooltip",a))},e.type="tooltip",e}(Ht);function ml(r,e,t){var a=e.ecModel,n;t?(n=new kt(t,a,a),n=new kt(e.option,n,a)):n=e;for(var i=r.length-1;i>=0;i--){var o=r[i];o&&(o instanceof kt&&(o=o.get("tooltip",!0)),U(o)&&(o={formatter:o}),o&&(n=new kt(o,n,a)))}return n}function aL(r,e){return r.dispatchAction||Y(e.dispatchAction,e)}function q7(r,e,t,a,n,i,o){var s=t.getSize(),l=s[0],u=s[1];return i!=null&&(r+l+i+2>a?r-=l+i:r+=i),o!=null&&(e+u+o>n?e-=u+o:e+=o),[r,e]}function K7(r,e,t,a,n){var i=t.getSize(),o=i[0],s=i[1];return r=Math.min(r+o,a)-o,e=Math.min(e+s,n)-s,r=Math.max(r,0),e=Math.max(e,0),[r,e]}function j7(r,e,t,a){var n=t[0],i=t[1],o=Math.ceil(Math.SQRT2*a)+8,s=0,l=0,u=e.width,f=e.height;switch(r){case"inside":s=e.x+u/2-n/2,l=e.y+f/2-i/2;break;case"top":s=e.x+u/2-n/2,l=e.y-i-o;break;case"bottom":s=e.x+u/2-n/2,l=e.y+f+o;break;case"left":s=e.x-n-o,l=e.y+f/2-i/2;break;case"right":s=e.x+u+o,l=e.y+f/2-i/2}return[s,l]}function nL(r){return r==="center"||r==="middle"}function Q7(r,e,t){var a=Xv(r).queryOptionMap,n=a.keys()[0];if(!(!n||n==="series")){var i=Jo(e,n,a.get(n),{useDefault:!1,enableAll:!1,enableNone:!1}),o=i.models[0];if(o){var s=t.getViewOfComponentModel(o),l;if(s.group.traverse(function(u){var f=nt(u).tooltipConfig;if(f&&f.name===r.name)return l=u,!0}),l)return{componentMainType:n,componentIndex:o.componentIndex,el:l}}}}var J7=X7;function $7(r){ct(gl),r.registerComponentModel(R7),r.registerComponentView(J7),r.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},Zt),r.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},Zt)}var tZ=["rect","polygon","keep","clear"];function eZ(r,e){var t=Pt(r?r.brush:[]);if(t.length){var a=[];A(t,function(l){var u=l.hasOwnProperty("toolbox")?l.toolbox:[];u instanceof Array&&(a=a.concat(u))});var n=r&&r.toolbox;z(n)&&(n=n[0]),n||(n={feature:{}},r.toolbox=[n]);var i=n.feature||(n.feature={}),o=i.brush||(i.brush={}),s=o.type||(o.type=[]);s.push.apply(s,a),rZ(s),e&&!s.length&&s.push.apply(s,tZ)}}function rZ(r){var e={};A(r,function(t){e[t]=1}),r.length=0,A(e,function(t,a){r.push(a)})}var iL=A;function oL(r){if(r){for(var e in r)if(r.hasOwnProperty(e))return!0}}function Ry(r,e,t){var a={};return iL(e,function(i){var o=a[i]=n();iL(r[i],function(s,l){if(ve.isValidType(l)){var u={type:l,visual:s};t&&t(u,i),o[l]=new ve(u),l==="opacity"&&(u=et(u),u.type="colorAlpha",o.__hidden.__alphaForOpacity=new ve(u))}})}),a;function n(){var i=function(){};i.prototype.__hidden=i.prototype;var o=new i;return o}}function sL(r,e,t){var a;A(t,function(n){e.hasOwnProperty(n)&&oL(e[n])&&(a=!0)}),a&&A(t,function(n){e.hasOwnProperty(n)&&oL(e[n])?r[n]=et(e[n]):delete r[n]})}function aZ(r,e,t,a,n,i){var o={};A(r,function(h){var v=ve.prepareVisualTypes(e[h]);o[h]=v});var s;function l(h){return bp(t,s,h)}function u(h,v){bx(t,s,h,v)}i==null?t.each(f):t.each([i],f);function f(h,v){s=i==null?h:v;var c=t.getRawDataItem(s);if(!(c&&c.visualMap===!1))for(var p=a.call(n,h),d=e[p],g=o[p],y=0,m=g.length;ye[0][1]&&(e[0][1]=i[0]),i[1]e[1][1]&&(e[1][1]=i[1])}return e&&cL(e)}};function cL(r){return new ht(r[0][0],r[1][0],r[0][1]-r[0][0],r[1][1]-r[1][0])}var hZ=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t,a){this.ecModel=t,this.api=a,this.model,(this._brushController=new Ng(a.getZr())).on("brush",Y(this._onBrush,this)).mount()},e.prototype.render=function(t,a,n,i){this.model=t,this._updateController(t,a,n,i)},e.prototype.updateTransform=function(t,a,n,i){hL(a),this._updateController(t,a,n,i)},e.prototype.updateVisual=function(t,a,n,i){this.updateTransform(t,a,n,i)},e.prototype.updateView=function(t,a,n,i){this._updateController(t,a,n,i)},e.prototype._updateController=function(t,a,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var a=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:a,areas:et(n),$from:a}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:a,areas:et(n),$from:a})},e.type="brush",e}(Ht),vZ=hZ,cZ="#ddd",pZ=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.areas=[],t.brushOption={},t}return e.prototype.optionUpdated=function(t,a){var n=this.option;!a&&sL(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:cZ},i.hasOwnProperty("liftZ")||(i.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=G(t,function(a){return pL(this.option,a)},this))},e.prototype.setBrushOption=function(t){this.brushOption=pL(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(At);function pL(r,e){return ut({brushType:r.brushType,brushMode:r.brushMode,transformable:r.transformable,brushStyle:new kt(r.brushStyle).getItemStyle(),removeOnClick:r.removeOnClick,z:r.z},e,!0)}var dZ=pZ,gZ=["rect","polygon","lineX","lineY","keep","clear"],yZ=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.render=function(t,a,n){var i,o,s;a.eachComponent({mainType:"brush"},function(l){i=l.brushType,o=l.brushOption.brushMode||"single",s=s||!!l.areas.length}),this._brushType=i,this._brushMode=o,A(t.get("type",!0),function(l){t.setIconStatus(l,(l==="keep"?o==="multiple":l==="clear"?s:l===i)?"emphasis":"normal")})},e.prototype.updateView=function(t,a,n){this.render(t,a,n)},e.prototype.getIcons=function(){var t=this.model,a=t.get("icon",!0),n={};return A(t.get("type",!0),function(i){a[i]&&(n[i]=a[i])}),n},e.prototype.onclick=function(t,a,n){var i=this._brushType,o=this._brushMode;n==="clear"?(a.dispatchAction({type:"axisAreaSelect",intervals:[]}),a.dispatchAction({type:"brush",command:"clear",areas:[]})):a.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:n==="keep"?i:i===n?!1:n,brushMode:n==="keep"?o==="multiple"?"single":"multiple":o}})},e.getDefaultOption=function(t){var a={show:!0,type:gZ.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])};return a},e}(lr),mZ=yZ;function _Z(r){r.registerComponentView(vZ),r.registerComponentModel(dZ),r.registerPreprocessor(eZ),r.registerVisual(r.PRIORITY.VISUAL.BRUSH,oZ),r.registerAction({type:"brush",event:"brush",update:"updateVisual"},function(e,t){t.eachComponent({mainType:"brush",query:e},function(a){a.setAreas(e.areas)})}),r.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},Zt),r.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},Zt),wo("brush",mZ)}var SZ=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.layoutMode={type:"box",ignoreSize:!0},t}return e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(At),xZ=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){if(this.group.removeAll(),!!t.get("show")){var i=this.group,o=t.getModel("textStyle"),s=t.getModel("subtextStyle"),l=t.get("textAlign"),u=ft(t.get("textBaseline"),t.get("textVerticalAlign")),f=new bt({style:Et(o,{text:t.get("text"),fill:o.getTextColor()},{disableBox:!0}),z2:10}),h=f.getBoundingRect(),v=t.get("subtext"),c=new bt({style:Et(s,{text:v,fill:s.getTextColor(),y:h.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),p=t.get("link"),d=t.get("sublink"),g=t.get("triggerEvent",!0);f.silent=!p&&!g,c.silent=!d&&!g,p&&f.on("click",function(){Pu(p,"_"+t.get("target"))}),d&&c.on("click",function(){Pu(d,"_"+t.get("subtarget"))}),nt(f).eventData=nt(c).eventData=g?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(f),v&&i.add(c);var y=i.getBoundingRect(),m=t.getBoxLayoutParams();m.width=y.width,m.height=y.height;var _=$t(m,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));l||(l=t.get("left")||t.get("right"),l==="middle"&&(l="center"),l==="right"?_.x+=_.width:l==="center"&&(_.x+=_.width/2)),u||(u=t.get("top")||t.get("bottom"),u==="center"&&(u="middle"),u==="bottom"?_.y+=_.height:u==="middle"&&(_.y+=_.height/2),u=u||"top"),i.x=_.x,i.y=_.y,i.markRedraw();var S={align:l,verticalAlign:u};f.setStyle(S),c.setStyle(S),y=i.getBoundingRect();var b=_.margin,x=t.getItemStyle(["color","opacity"]);x.fill=t.get("backgroundColor");var w=new xt({shape:{x:y.x-b[3],y:y.y-b[0],width:y.width+b[1]+b[3],height:y.height+b[0]+b[2],r:t.get("borderRadius")},style:x,subPixelOptimize:!0,silent:!0});i.add(w)}},e.type="title",e}(Ht);function bZ(r){r.registerComponentModel(SZ),r.registerComponentView(xZ)}var wZ=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.layoutMode="box",t}return e.prototype.init=function(t,a,n){this.mergeDefaultAndTheme(t,n),this._initData()},e.prototype.mergeOption=function(t){r.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){t==null&&(t=this.option.currentIndex);var a=this._data.count();this.option.loop?t=(t%a+a)%a:(t>=a&&(t=a-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t=this.option,a=t.data||[],n=t.axisType,i=this._names=[],o;n==="category"?(o=[],A(a,function(u,f){var h=Jt(Ri(u),""),v;tt(u)?(v=et(u),v.value=f):v=f,o.push(v),i.push(h)})):o=a;var s={category:"ordinal",time:"time",value:"number"}[n]||"number",l=this._data=new De([{name:"value",type:s}],this);l.initData(o,i)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if(this.get("axisType")==="category")return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(At),dL=wZ,gL=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="timeline.slider",e.defaultOption=ka(dL.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(dL);qt(gL,$c.prototype);var TZ=gL,CZ=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="timeline",e}(Ht),AZ=CZ,MZ=function(r){O(e,r);function e(t,a,n,i){var o=r.call(this,t,a,n)||this;return o.type=i||"value",o}return e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return this.model.get("orient")==="horizontal"},e}(Cr),DZ=MZ,Oy=Math.PI,yL=St(),LZ=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t,a){this.api=a},e.prototype.render=function(t,a,n){if(this.model=t,this.api=n,this.ecModel=a,this.group.removeAll(),t.get("show",!0)){var i=this._layout(t,n),o=this._createGroup("_mainGroup"),s=this._createGroup("_labelGroup"),l=this._axis=this._createAxis(i,t);t.formatTooltip=function(u){var f=l.scale.getLabel({value:u});return re("nameValue",{noName:!0,value:f})},A(["AxisLine","AxisTick","Control","CurrentPointer"],function(u){this["_render"+u](i,o,l,t)},this),this._renderAxisLabel(i,s,l,t),this._position(i,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,a){var n=t.get(["label","position"]),i=t.get("orient"),o=PZ(t,a),s;n==null||n==="auto"?s=i==="horizontal"?o.y+o.height/2=0||s==="+"?"left":"right"},u={horizontal:s>=0||s==="+"?"top":"bottom",vertical:"middle"},f={horizontal:0,vertical:Oy/2},h=i==="vertical"?o.height:o.width,v=t.getModel("controlStyle"),c=v.get("show",!0),p=c?v.get("itemSize"):0,d=c?v.get("itemGap"):0,g=p+d,y=t.get(["label","rotate"])||0;y=y*Oy/180;var m,_,S,b=v.get("position",!0),x=c&&v.get("showPlayBtn",!0),w=c&&v.get("showPrevBtn",!0),T=c&&v.get("showNextBtn",!0),C=0,M=h;b==="left"||b==="bottom"?(x&&(m=[0,0],C+=g),w&&(_=[C,0],C+=g),T&&(S=[M-p,0],M-=g)):(x&&(m=[M-p,0],M-=g),w&&(_=[0,0],C+=g),T&&(S=[M-p,0],M-=g));var D=[C,M];return t.get("inverse")&&D.reverse(),{viewRect:o,mainLength:h,orient:i,rotation:f[i],labelRotation:y,labelPosOpt:s,labelAlign:t.get(["label","align"])||l[i],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||u[i],playPosition:m,prevBtnPosition:_,nextBtnPosition:S,axisExtent:D,controlSize:p,controlGap:d}},e.prototype._position=function(t,a){var n=this._mainGroup,i=this._labelGroup,o=t.viewRect;if(t.orient==="vertical"){var s=Ye(),l=o.x,u=o.y+o.height;Dr(s,s,[-l,-u]),ln(s,s,-Oy/2),Dr(s,s,[l,u]),o=o.clone(),o.applyTransform(s)}var f=m(o),h=m(n.getBoundingRect()),v=m(i.getBoundingRect()),c=[n.x,n.y],p=[i.x,i.y];p[0]=c[0]=f[0][0];var d=t.labelPosOpt;if(d==null||U(d)){var g=d==="+"?0:1;_(c,h,f,1,g),_(p,v,f,1,1-g)}else{var g=d>=0?0:1;_(c,h,f,1,g),p[1]=c[1]+d}n.setPosition(c),i.setPosition(p),n.rotation=i.rotation=t.rotation,y(n),y(i);function y(S){S.originX=f[0][0]-S.x,S.originY=f[1][0]-S.y}function m(S){return[[S.x,S.x+S.width],[S.y,S.y+S.height]]}function _(S,b,x,w,T){S[w]+=x[w][T]-b[w][T]}},e.prototype._createAxis=function(t,a){var n=a.getData(),i=a.get("axisType"),o=IZ(a,i);o.getTicks=function(){return n.mapArray(["value"],function(u){return{value:u}})};var s=n.getDataExtent("value");o.setExtent(s[0],s[1]),o.calcNiceTicks();var l=new DZ("value",o,t.axisExtent,i);return l.model=a,l},e.prototype._createGroup=function(t){var a=this[t]=new at;return this.group.add(a),a},e.prototype._renderAxisLine=function(t,a,n,i){var o=n.getExtent();if(i.get(["lineStyle","show"])){var s=new oe({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:V({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});a.add(s);var l=this._progressLine=new oe({shape:{x1:o[0],x2:this._currentPointer?this._currentPointer.x:o[0],y1:0,y2:0},style:J({lineCap:"round",lineWidth:s.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});a.add(l)}},e.prototype._renderAxisTick=function(t,a,n,i){var o=this,s=i.getData(),l=n.scale.getTicks();this._tickSymbols=[],A(l,function(u){var f=n.dataToCoord(u.value),h=s.getItemModel(u.value),v=h.getModel("itemStyle"),c=h.getModel(["emphasis","itemStyle"]),p=h.getModel(["progress","itemStyle"]),d={x:f,y:0,onclick:Y(o._changeTimeline,o,u.value)},g=mL(h,v,a,d);g.ensureState("emphasis").style=c.getItemStyle(),g.ensureState("progress").style=p.getItemStyle(),Pn(g);var y=nt(g);h.get("tooltip")?(y.dataIndex=u.value,y.dataModel=i):y.dataIndex=y.dataModel=null,o._tickSymbols.push(g)})},e.prototype._renderAxisLabel=function(t,a,n,i){var o=this,s=n.getLabelModel();if(s.get("show")){var l=i.getData(),u=n.getViewLabels();this._tickLabels=[],A(u,function(f){var h=f.tickValue,v=l.getItemModel(h),c=v.getModel("label"),p=v.getModel(["emphasis","label"]),d=v.getModel(["progress","label"]),g=n.dataToCoord(f.tickValue),y=new bt({x:g,y:0,rotation:t.labelRotation-t.rotation,onclick:Y(o._changeTimeline,o,h),silent:!1,style:Et(c,{text:f.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});y.ensureState("emphasis").style=Et(p),y.ensureState("progress").style=Et(d),a.add(y),Pn(y),yL(y).dataIndex=h,o._tickLabels.push(y)})}},e.prototype._renderControl=function(t,a,n,i){var o=t.controlSize,s=t.rotation,l=i.getModel("controlStyle").getItemStyle(),u=i.getModel(["emphasis","controlStyle"]).getItemStyle(),f=i.getPlayState(),h=i.get("inverse",!0);v(t.nextBtnPosition,"next",Y(this._changeTimeline,this,h?"-":"+")),v(t.prevBtnPosition,"prev",Y(this._changeTimeline,this,h?"+":"-")),v(t.playPosition,f?"stop":"play",Y(this._handlePlayClick,this,!f),!0);function v(c,p,d,g){if(c){var y=cr(ft(i.get(["controlStyle",p+"BtnSize"]),o),o),m=[0,-y/2,y,y],_=RZ(i,p+"Icon",m,{x:c[0],y:c[1],originX:o/2,originY:0,rotation:g?-s:0,rectHover:!0,style:l,onclick:d});_.ensureState("emphasis").style=u,a.add(_),Pn(_)}}},e.prototype._renderCurrentPointer=function(t,a,n,i){var o=i.getData(),s=i.getCurrentIndex(),l=o.getItemModel(s).getModel("checkpointStyle"),u=this,f={onCreate:function(h){h.draggable=!0,h.drift=Y(u._handlePointerDrag,u),h.ondragend=Y(u._handlePointerDragend,u),_L(h,u._progressLine,s,n,i,!0)},onUpdate:function(h){_L(h,u._progressLine,s,n,i)}};this._currentPointer=mL(l,l,this._mainGroup,{},this._currentPointer,f)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,a,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,a){var n=this._toAxisCoord(t)[0],i=this._axis,o=qe(i.getExtent().slice());n>o[1]&&(n=o[1]),n=0&&(o[i]=+o[i].toFixed(v)),[o,h]}var By={min:it(Th,"min"),max:it(Th,"max"),average:it(Th,"average"),median:it(Th,"median")};function Sl(r,e){if(e){var t=r.getData(),a=r.coordinateSystem,n=a&&a.dimensions;if(!GZ(e)&&!z(e.coord)&&z(n)){var i=bL(e,t,a,r);if(e=et(e),e.type&&By[e.type]&&i.baseAxis&&i.valueAxis){var o=vt(n,i.baseAxis.dim),s=vt(n,i.valueAxis.dim),l=By[e.type](t,i.baseDataDim,i.valueDataDim,o,s);e.coord=l[0],e.value=l[1]}else e.coord=[e.xAxis!=null?e.xAxis:e.radiusAxis,e.yAxis!=null?e.yAxis:e.angleAxis]}if(e.coord==null||!z(n))e.coord=[];else for(var u=e.coord,f=0;f<2;f++)By[u[f]]&&(u[f]=zy(t,t.mapDimension(n[f]),u[f]));return e}}function bL(r,e,t,a){var n={};return r.valueIndex!=null||r.valueDim!=null?(n.valueDataDim=r.valueIndex!=null?e.getDimension(r.valueIndex):r.valueDim,n.valueAxis=t.getAxis(FZ(a,n.valueDataDim)),n.baseAxis=t.getOtherAxis(n.valueAxis),n.baseDataDim=e.mapDimension(n.baseAxis.dim)):(n.baseAxis=a.getBaseAxis(),n.valueAxis=t.getOtherAxis(n.baseAxis),n.baseDataDim=e.mapDimension(n.baseAxis.dim),n.valueDataDim=e.mapDimension(n.valueAxis.dim)),n}function FZ(r,e){var t=r.getData().getDimensionInfo(e);return t&&t.coordDim}function xl(r,e){return r&&r.containData&&e.coord&&!Vy(e)?r.containData(e.coord):!0}function HZ(r,e,t){return r&&r.containZone&&e.coord&&t.coord&&!Vy(e)&&!Vy(t)?r.containZone(e.coord,t.coord):!0}function wL(r,e){return r?function(t,a,n,i){var o=i<2?t.coord&&t.coord[i]:t.value;return Na(o,e[i])}:function(t,a,n,i){return Na(t.value,e[i])}}function zy(r,e,t){if(t==="average"){var a=0,n=0;return r.each(e,function(i,o){isNaN(i)||(a+=i,n++)}),a/n}else return t==="median"?r.getMedian(e):r.getDataExtent(e)[t==="max"?1:0]}var Gy=St(),WZ=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(){this.markerGroupMap=X()},e.prototype.render=function(t,a,n){var i=this,o=this.markerGroupMap;o.each(function(s){Gy(s).keep=!1}),a.eachSeries(function(s){var l=$a.getMarkerModelFromSeries(s,i.type);l&&i.renderSeries(s,l,a,n)}),o.each(function(s){!Gy(s).keep&&i.group.remove(s.group)})},e.prototype.markKeep=function(t){Gy(t).keep=!0},e.prototype.toggleBlurSeries=function(t,a){var n=this;A(t,function(i){var o=$a.getMarkerModelFromSeries(i,n.type);if(o){var s=o.getData();s.eachItemGraphicEl(function(l){l&&(a?N_(l):yc(l))})}})},e.type="marker",e}(Ht),Fy=WZ;function TL(r,e,t){var a=e.coordinateSystem;r.each(function(n){var i=r.getItemModel(n),o,s=H(i.get("x"),t.getWidth()),l=H(i.get("y"),t.getHeight());if(!isNaN(s)&&!isNaN(l))o=[s,l];else if(e.getMarkerPosition)o=e.getMarkerPosition(r.getValues(r.dimensions,n));else if(a){var u=r.get(a.dimensions[0],n),f=r.get(a.dimensions[1],n);o=a.dataToPoint([u,f])}isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),r.setItemLayout(n,o)})}var UZ=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.updateTransform=function(t,a,n){a.eachSeries(function(i){var o=$a.getMarkerModelFromSeries(i,"markPoint");o&&(TL(o.getData(),i,n),this.markerGroupMap.get(i.id).updateLayout())},this)},e.prototype.renderSeries=function(t,a,n,i){var o=t.coordinateSystem,s=t.id,l=t.getData(),u=this.markerGroupMap,f=u.get(s)||u.set(s,new Us),h=YZ(o,t,a);a.setData(h),TL(a.getData(),t,i),h.each(function(v){var c=h.getItemModel(v),p=c.getShallow("symbol"),d=c.getShallow("symbolSize"),g=c.getShallow("symbolRotate"),y=c.getShallow("symbolOffset"),m=c.getShallow("symbolKeepAspect");if(j(p)||j(d)||j(g)||j(y)){var _=a.getRawValue(v),S=a.getDataParams(v);j(p)&&(p=p(_,S)),j(d)&&(d=d(_,S)),j(g)&&(g=g(_,S)),j(y)&&(y=y(_,S))}var b=c.getModel("itemStyle").getItemStyle(),x=Ls(l,"color");b.fill||(b.fill=x),h.setItemVisual(v,{symbol:p,symbolSize:d,symbolRotate:g,symbolOffset:y,symbolKeepAspect:m,style:b})}),f.updateData(h),this.group.add(f.group),h.eachItemGraphicEl(function(v){v.traverse(function(c){nt(c).dataModel=a})}),this.markKeep(f),f.group.silent=a.get("silent")||t.get("silent")},e.type="markPoint",e}(Fy);function YZ(r,e,t){var a;r?a=G(r&&r.dimensions,function(s){var l=e.getData().getDimensionInfo(e.getData().mapDimension(s))||{};return V(V({},l),{name:s,ordinalMeta:null})}):a=[{name:"value",type:"float"}];var n=new De(a,t),i=G(t.get("data"),it(Sl,e));r&&(i=It(i,it(xl,r)));var o=wL(!!r,a);return n.initData(i,null,o),n}var ZZ=UZ;function XZ(r){r.registerComponentModel(zZ),r.registerComponentView(ZZ),r.registerPreprocessor(function(e){Ny(e.series,"markPoint")&&(e.markPoint=e.markPoint||{})})}var qZ=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.createMarkerModelFromSeries=function(t,a,n){return new e(t,a,n)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}($a),KZ=qZ,Ch=St(),jZ=function(r,e,t,a){var n=r.getData(),i;if(z(a))i=a;else{var o=a.type;if(o==="min"||o==="max"||o==="average"||o==="median"||a.xAxis!=null||a.yAxis!=null){var s=void 0,l=void 0;if(a.yAxis!=null||a.xAxis!=null)s=e.getAxis(a.yAxis!=null?"y":"x"),l=ne(a.yAxis,a.xAxis);else{var u=bL(a,n,e,r);s=u.valueAxis;var f=ow(n,u.valueDataDim);l=zy(n,f,o)}var h=s.dim==="x"?0:1,v=1-h,c=et(a),p={coord:[]};c.type=null,c.coord=[],c.coord[v]=-1/0,p.coord[v]=1/0;var d=t.get("precision");d>=0&&Ct(l)&&(l=+l.toFixed(Math.min(d,20))),c.coord[h]=p.coord[h]=l,i=[c,p,{type:o,valueIndex:a.valueIndex,value:l}]}else i=[]}var g=[Sl(r,i[0]),Sl(r,i[1]),V({},i[2])];return g[2].type=g[2].type||null,ut(g[2],g[0]),ut(g[2],g[1]),g};function Ah(r){return!isNaN(r)&&!isFinite(r)}function CL(r,e,t,a){var n=1-r,i=a.dimensions[r];return Ah(e[n])&&Ah(t[n])&&e[r]===t[r]&&a.getAxis(i).containData(e[r])}function QZ(r,e){if(r.type==="cartesian2d"){var t=e[0].coord,a=e[1].coord;if(t&&a&&(CL(1,t,a,r)||CL(0,t,a,r)))return!0}return xl(r,e[0])&&xl(r,e[1])}function Hy(r,e,t,a,n){var i=a.coordinateSystem,o=r.getItemModel(e),s,l=H(o.get("x"),n.getWidth()),u=H(o.get("y"),n.getHeight());if(!isNaN(l)&&!isNaN(u))s=[l,u];else{if(a.getMarkerPosition)s=a.getMarkerPosition(r.getValues(r.dimensions,e));else{var f=i.dimensions,h=r.get(f[0],e),v=r.get(f[1],e);s=i.dataToPoint([h,v])}if(ai(i,"cartesian2d")){var c=i.getAxis("x"),p=i.getAxis("y"),f=i.dimensions;Ah(r.get(f[0],e))?s[0]=c.toGlobalCoord(c.getExtent()[t?0:1]):Ah(r.get(f[1],e))&&(s[1]=p.toGlobalCoord(p.getExtent()[t?0:1]))}isNaN(l)||(s[0]=l),isNaN(u)||(s[1]=u)}r.setItemLayout(e,s)}var JZ=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.updateTransform=function(t,a,n){a.eachSeries(function(i){var o=$a.getMarkerModelFromSeries(i,"markLine");if(o){var s=o.getData(),l=Ch(o).from,u=Ch(o).to;l.each(function(f){Hy(l,f,!0,i,n),Hy(u,f,!1,i,n)}),s.each(function(f){s.setItemLayout(f,[l.getItemLayout(f),u.getItemLayout(f)])}),this.markerGroupMap.get(i.id).updateLayout()}},this)},e.prototype.renderSeries=function(t,a,n,i){var o=t.coordinateSystem,s=t.id,l=t.getData(),u=this.markerGroupMap,f=u.get(s)||u.set(s,new gg);this.group.add(f.group);var h=$Z(o,t,a),v=h.from,c=h.to,p=h.line;Ch(a).from=v,Ch(a).to=c,a.setData(p);var d=a.get("symbol"),g=a.get("symbolSize"),y=a.get("symbolRotate"),m=a.get("symbolOffset");z(d)||(d=[d,d]),z(g)||(g=[g,g]),z(y)||(y=[y,y]),z(m)||(m=[m,m]),h.from.each(function(S){_(v,S,!0),_(c,S,!1)}),p.each(function(S){var b=p.getItemModel(S).getModel("lineStyle").getLineStyle();p.setItemLayout(S,[v.getItemLayout(S),c.getItemLayout(S)]),b.stroke==null&&(b.stroke=v.getItemVisual(S,"style").fill),p.setItemVisual(S,{fromSymbolKeepAspect:v.getItemVisual(S,"symbolKeepAspect"),fromSymbolOffset:v.getItemVisual(S,"symbolOffset"),fromSymbolRotate:v.getItemVisual(S,"symbolRotate"),fromSymbolSize:v.getItemVisual(S,"symbolSize"),fromSymbol:v.getItemVisual(S,"symbol"),toSymbolKeepAspect:c.getItemVisual(S,"symbolKeepAspect"),toSymbolOffset:c.getItemVisual(S,"symbolOffset"),toSymbolRotate:c.getItemVisual(S,"symbolRotate"),toSymbolSize:c.getItemVisual(S,"symbolSize"),toSymbol:c.getItemVisual(S,"symbol"),style:b})}),f.updateData(p),h.line.eachItemGraphicEl(function(S){nt(S).dataModel=a,S.traverse(function(b){nt(b).dataModel=a})});function _(S,b,x){var w=S.getItemModel(b);Hy(S,b,x,t,i);var T=w.getModel("itemStyle").getItemStyle();T.fill==null&&(T.fill=Ls(l,"color")),S.setItemVisual(b,{symbolKeepAspect:w.get("symbolKeepAspect"),symbolOffset:ft(w.get("symbolOffset",!0),m[x?0:1]),symbolRotate:ft(w.get("symbolRotate",!0),y[x?0:1]),symbolSize:ft(w.get("symbolSize"),g[x?0:1]),symbol:ft(w.get("symbol",!0),d[x?0:1]),style:T})}this.markKeep(f),f.group.silent=a.get("silent")||t.get("silent")},e.type="markLine",e}(Fy);function $Z(r,e,t){var a;r?a=G(r&&r.dimensions,function(u){var f=e.getData().getDimensionInfo(e.getData().mapDimension(u))||{};return V(V({},f),{name:u,ordinalMeta:null})}):a=[{name:"value",type:"float"}];var n=new De(a,t),i=new De(a,t),o=new De([],t),s=G(t.get("data"),it(jZ,e,r,t));r&&(s=It(s,it(QZ,r)));var l=wL(!!r,a);return n.initData(G(s,function(u){return u[0]}),null,l),i.initData(G(s,function(u){return u[1]}),null,l),o.initData(G(s,function(u){return u[2]})),o.hasItemOption=!0,{from:n,to:i,line:o}}var t9=JZ;function e9(r){r.registerComponentModel(KZ),r.registerComponentView(t9),r.registerPreprocessor(function(e){Ny(e.series,"markLine")&&(e.markLine=e.markLine||{})})}var r9=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.createMarkerModelFromSeries=function(t,a,n){return new e(t,a,n)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}($a),a9=r9,Mh=St(),n9=function(r,e,t,a){var n=a[0],i=a[1];if(!(!n||!i)){var o=Sl(r,n),s=Sl(r,i),l=o.coord,u=s.coord;l[0]=ne(l[0],-1/0),l[1]=ne(l[1],-1/0),u[0]=ne(u[0],1/0),u[1]=ne(u[1],1/0);var f=Uh([{},o,s]);return f.coord=[o.coord,s.coord],f.x0=o.x,f.y0=o.y,f.x1=s.x,f.y1=s.y,f}};function Dh(r){return!isNaN(r)&&!isFinite(r)}function AL(r,e,t,a){var n=1-r;return Dh(e[n])&&Dh(t[n])}function i9(r,e){var t=e.coord[0],a=e.coord[1],n={coord:t,x:e.x0,y:e.y0},i={coord:a,x:e.x1,y:e.y1};return ai(r,"cartesian2d")?t&&a&&(AL(1,t,a,r)||AL(0,t,a,r))?!0:HZ(r,n,i):xl(r,n)||xl(r,i)}function ML(r,e,t,a,n){var i=a.coordinateSystem,o=r.getItemModel(e),s,l=H(o.get(t[0]),n.getWidth()),u=H(o.get(t[1]),n.getHeight());if(!isNaN(l)&&!isNaN(u))s=[l,u];else{if(a.getMarkerPosition){var f=r.getValues(["x0","y0"],e),h=r.getValues(["x1","y1"],e),v=i.clampData(f),c=i.clampData(h),p=[];t[0]==="x0"?p[0]=v[0]>c[0]?h[0]:f[0]:p[0]=v[0]>c[0]?f[0]:h[0],t[1]==="y0"?p[1]=v[1]>c[1]?h[1]:f[1]:p[1]=v[1]>c[1]?f[1]:h[1],s=a.getMarkerPosition(p,t,!0)}else{var d=r.get(t[0],e),g=r.get(t[1],e),y=[d,g];i.clampData&&i.clampData(y,y),s=i.dataToPoint(y,!0)}if(ai(i,"cartesian2d")){var m=i.getAxis("x"),_=i.getAxis("y"),d=r.get(t[0],e),g=r.get(t[1],e);Dh(d)?s[0]=m.toGlobalCoord(m.getExtent()[t[0]==="x0"?0:1]):Dh(g)&&(s[1]=_.toGlobalCoord(_.getExtent()[t[1]==="y0"?0:1]))}isNaN(l)||(s[0]=l),isNaN(u)||(s[1]=u)}return s}var DL=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],o9=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.updateTransform=function(t,a,n){a.eachSeries(function(i){var o=$a.getMarkerModelFromSeries(i,"markArea");if(o){var s=o.getData();s.each(function(l){var u=G(DL,function(h){return ML(s,l,h,i,n)});s.setItemLayout(l,u);var f=s.getItemGraphicEl(l);f.setShape("points",u)})}},this)},e.prototype.renderSeries=function(t,a,n,i){var o=t.coordinateSystem,s=t.id,l=t.getData(),u=this.markerGroupMap,f=u.get(s)||u.set(s,{group:new at});this.group.add(f.group),this.markKeep(f);var h=s9(o,t,a);a.setData(h),h.each(function(v){var c=G(DL,function(T){return ML(h,v,T,t,i)}),p=o.getAxis("x").scale,d=o.getAxis("y").scale,g=p.getExtent(),y=d.getExtent(),m=[p.parse(h.get("x0",v)),p.parse(h.get("x1",v))],_=[d.parse(h.get("y0",v)),d.parse(h.get("y1",v))];qe(m),qe(_);var S=!(g[0]>m[1]||g[1]_[1]||y[1]<_[0]),b=!S;h.setItemLayout(v,{points:c,allClipped:b});var x=h.getItemModel(v).getModel("itemStyle").getItemStyle(),w=Ls(l,"color");x.fill||(x.fill=w,U(x.fill)&&(x.fill=Xl(x.fill,.4))),x.stroke||(x.stroke=w),h.setItemVisual(v,"style",x)}),h.diff(Mh(f).data).add(function(v){var c=h.getItemLayout(v);if(!c.allClipped){var p=new Ee({shape:{points:c.points}});h.setItemGraphicEl(v,p),f.group.add(p)}}).update(function(v,c){var p=Mh(f).data.getItemGraphicEl(c),d=h.getItemLayout(v);d.allClipped?p&&f.group.remove(p):(p?Mt(p,{shape:{points:d.points}},a,v):p=new Ee({shape:{points:d.points}}),h.setItemGraphicEl(v,p),f.group.add(p))}).remove(function(v){var c=Mh(f).data.getItemGraphicEl(v);f.group.remove(c)}).execute(),h.eachItemGraphicEl(function(v,c){var p=h.getItemModel(c),d=h.getItemVisual(c,"style");v.useStyle(h.getItemVisual(c,"style")),fe(v,ee(p),{labelFetcher:a,labelDataIndex:c,defaultText:h.getName(c)||"",inheritColor:U(d.fill)?Xl(d.fill,1):"#000"}),ue(v,p),Ft(v,null,null,p.get(["emphasis","disabled"])),nt(v).dataModel=a}),Mh(f).data=h,f.group.silent=a.get("silent")||t.get("silent")},e.type="markArea",e}(Fy);function s9(r,e,t){var a,n,i=["x0","y0","x1","y1"];if(r){var o=G(r&&r.dimensions,function(u){var f=e.getData(),h=f.getDimensionInfo(f.mapDimension(u))||{};return V(V({},h),{name:u,ordinalMeta:null})});n=G(i,function(u,f){return{name:u,type:o[f%2].type}}),a=new De(n,t)}else n=[{name:"value",type:"float"}],a=new De(n,t);var s=G(t.get("data"),it(n9,e,r,t));r&&(s=It(s,it(i9,r)));var l=r?function(u,f,h,v){var c=u.coord[Math.floor(v/2)][v%2];return Na(c,n[v])}:function(u,f,h,v){return Na(u.value,n[v])};return a.initData(s,null,l),a.hasItemOption=!0,a}var l9=o9;function u9(r){r.registerComponentModel(a9),r.registerComponentView(l9),r.registerPreprocessor(function(e){Ny(e.series,"markArea")&&(e.markArea=e.markArea||{})})}var f9=function(r,e){if(e==="all")return{type:"all",title:r.getLocaleModel().get(["legend","selector","all"])};if(e==="inverse")return{type:"inverse",title:r.getLocaleModel().get(["legend","selector","inverse"])}},h9=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.layoutMode={type:"box",ignoreSize:!0},t}return e.prototype.init=function(t,a,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(t,a){r.prototype.mergeOption.call(this,t,a),this._updateSelector(t)},e.prototype._updateSelector=function(t){var a=t.selector,n=this.ecModel;a===!0&&(a=t.selector=["all","inverse"]),z(a)&&A(a,function(i,o){U(i)&&(i={type:i}),a[o]=ut(i,f9(n,i.type))})},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&this.get("selectedMode")==="single"){for(var a=!1,n=0;n=0},e.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(At),Wy=h9,Co=it,Uy=A,Lh=at,v9=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.newlineDisabled=!1,t}return e.prototype.init=function(){this.group.add(this._contentGroup=new Lh),this.group.add(this._selectorGroup=new Lh),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,a,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!t.get("show",!0)){var o=t.get("align"),s=t.get("orient");(!o||o==="auto")&&(o=t.get("left")==="right"&&s==="vertical"?"right":"left");var l=t.get("selector",!0),u=t.get("selectorPosition",!0);l&&(!u||u==="auto")&&(u=s==="horizontal"?"end":"start"),this.renderInner(o,t,a,n,l,s,u);var f=t.getBoxLayoutParams(),h={width:n.getWidth(),height:n.getHeight()},v=t.get("padding"),c=$t(f,h,v),p=this.layoutInner(t,o,c,i,l,u),d=$t(J({width:p.width,height:p.height},f),h,v);this.group.x=d.x-p.x,this.group.y=d.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=VD(p,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,a,n,i,o,s,l){var u=this.getContentGroup(),f=X(),h=a.get("selectedMode"),v=[];n.eachRawSeries(function(c){!c.get("legendHoverLink")&&v.push(c.id)}),Uy(a.getData(),function(c,p){var d=c.get("name");if(!this.newlineDisabled&&(d===""||d===` +`)){var g=new Lh;g.newline=!0,u.add(g);return}var y=n.getSeriesByName(d)[0];if(!f.get(d))if(y){var m=y.getData(),_=m.getVisual("legendLineStyle")||{},S=m.getVisual("legendIcon"),b=m.getVisual("style"),x=this._createItem(y,d,p,c,a,t,_,b,S,h,i);x.on("click",Co(LL,d,null,i,v)).on("mouseover",Co(Yy,y.name,null,i,v)).on("mouseout",Co(Zy,y.name,null,i,v)),f.set(d,!0)}else n.eachRawSeries(function(w){if(!f.get(d)&&w.legendVisualProvider){var T=w.legendVisualProvider;if(!T.containName(d))return;var C=T.indexOfName(d),M=T.getItemVisual(C,"style"),D=T.getItemVisual(C,"legendIcon"),L=Le(M.fill);L&&L[3]===0&&(L[3]=.2,M=V(V({},M),{fill:Ir(L,"rgba")}));var I=this._createItem(w,d,p,c,a,t,{},M,D,h,i);I.on("click",Co(LL,null,d,i,v)).on("mouseover",Co(Yy,null,d,i,v)).on("mouseout",Co(Zy,null,d,i,v)),f.set(d,!0)}},this)},this),o&&this._createSelector(o,a,i,s,l)},e.prototype._createSelector=function(t,a,n,i,o){var s=this.getSelectorGroup();Uy(t,function(u){var f=u.type,h=new bt({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:f==="all"?"legendAllSelect":"legendInverseSelect"})}});s.add(h);var v=a.getModel("selectorLabel"),c=a.getModel(["emphasis","selectorLabel"]);fe(h,{normal:v,emphasis:c},{defaultText:u.title}),Pn(h)})},e.prototype._createItem=function(t,a,n,i,o,s,l,u,f,h,v){var c=t.visualDrawType,p=o.get("itemWidth"),d=o.get("itemHeight"),g=o.isSelected(a),y=i.get("symbolRotate"),m=i.get("symbolKeepAspect"),_=i.get("icon");f=_||f||"roundRect";var S=c9(f,i,l,u,c,g,v),b=new Lh,x=i.getModel("textStyle");if(j(t.getLegendIcon)&&(!_||_==="inherit"))b.add(t.getLegendIcon({itemWidth:p,itemHeight:d,icon:f,iconRotate:y,itemStyle:S.itemStyle,lineStyle:S.lineStyle,symbolKeepAspect:m}));else{var w=_==="inherit"&&t.getData().getVisual("symbol")?y==="inherit"?t.getData().getVisual("symbolRotate"):y:0;b.add(p9({itemWidth:p,itemHeight:d,icon:f,iconRotate:w,itemStyle:S.itemStyle,lineStyle:S.lineStyle,symbolKeepAspect:m}))}var T=s==="left"?p+5:-5,C=s,M=o.get("formatter"),D=a;U(M)&&M?D=M.replace("{name}",a!=null?a:""):j(M)&&(D=M(a));var L=g?x.getTextColor():i.get("inactiveColor");b.add(new bt({style:Et(x,{text:D,x:T,y:d/2,fill:L,align:C,verticalAlign:"middle"},{inheritColor:L})}));var I=new xt({shape:b.getBoundingRect(),invisible:!0}),P=i.getModel("tooltip");return P.get("show")&&$i({el:I,componentModel:o,itemName:a,itemTooltipOption:P.option}),b.add(I),b.eachChild(function(R){R.silent=!0}),I.silent=!h,this.getContentGroup().add(b),Pn(b),b.__legendDataIndex=n,b},e.prototype.layoutInner=function(t,a,n,i,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();Vn(t.get("orient"),l,t.get("itemGap"),n.width,n.height);var f=l.getBoundingRect(),h=[-f.x,-f.y];if(u.markRedraw(),l.markRedraw(),o){Vn("horizontal",u,t.get("selectorItemGap",!0));var v=u.getBoundingRect(),c=[-v.x,-v.y],p=t.get("selectorButtonGap",!0),d=t.getOrient().index,g=d===0?"width":"height",y=d===0?"height":"width",m=d===0?"y":"x";s==="end"?c[d]+=f[g]+p:h[d]+=v[g]+p,c[1-d]+=f[y]/2-v[y]/2,u.x=c[0],u.y=c[1],l.x=h[0],l.y=h[1];var _={x:0,y:0};return _[g]=f[g]+p+v[g],_[y]=Math.max(f[y],v[y]),_[m]=Math.min(0,v[m]+c[1-d]),_}else return l.x=h[0],l.y=h[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(Ht);function c9(r,e,t,a,n,i,o){function s(g,y){g.lineWidth==="auto"&&(g.lineWidth=y.lineWidth>0?2:0),Uy(g,function(m,_){g[_]==="inherit"&&(g[_]=y[_])})}var l=e.getModel("itemStyle"),u=l.getItemStyle(),f=r.lastIndexOf("empty",0)===0?"fill":"stroke",h=l.getShallow("decal");u.decal=!h||h==="inherit"?a.decal:no(h,o),u.fill==="inherit"&&(u.fill=a[n]),u.stroke==="inherit"&&(u.stroke=a[f]),u.opacity==="inherit"&&(u.opacity=(n==="fill"?a:t).opacity),s(u,a);var v=e.getModel("lineStyle"),c=v.getLineStyle();if(s(c,t),u.fill==="auto"&&(u.fill=a.fill),u.stroke==="auto"&&(u.stroke=a.fill),c.stroke==="auto"&&(c.stroke=a.fill),!i){var p=e.get("inactiveBorderWidth"),d=u[f];u.lineWidth=p==="auto"?a.lineWidth>0&&d?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),c.stroke=v.get("inactiveColor"),c.lineWidth=v.get("inactiveWidth")}return{itemStyle:u,lineStyle:c}}function p9(r){var e=r.icon||"roundRect",t=Qt(e,0,0,r.itemWidth,r.itemHeight,r.itemStyle.fill,r.symbolKeepAspect);return t.setStyle(r.itemStyle),t.rotation=(r.iconRotate||0)*Math.PI/180,t.setOrigin([r.itemWidth/2,r.itemHeight/2]),e.indexOf("empty")>-1&&(t.style.stroke=t.style.fill,t.style.fill="#fff",t.style.lineWidth=2),t}function LL(r,e,t,a){Zy(r,e,t,a),t.dispatchAction({type:"legendToggleSelect",name:r!=null?r:e}),Yy(r,e,t,a)}function IL(r){for(var e=r.getZr().storage.getDisplayList(),t,a=0,n=e.length;an[o],g=[-c.x,-c.y];a||(g[i]=f[u]);var y=[0,0],m=[-p.x,-p.y],_=ft(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(d){var S=t.get("pageButtonPosition",!0);S==="end"?m[i]+=n[o]-p[o]:y[i]+=p[o]+_}m[1-i]+=c[s]/2-p[s]/2,f.setPosition(g),h.setPosition(y),v.setPosition(m);var b={x:0,y:0};if(b[o]=d?n[o]:c[o],b[s]=Math.max(c[s],p[s]),b[l]=Math.min(0,p[l]+m[1-i]),h.__rectSize=n[o],d){var x={x:0,y:0};x[o]=Math.max(n[o]-p[o]-_,0),x[s]=b[s],h.setClipPath(new xt({shape:x})),h.__rectSize=x[o]}else v.eachChild(function(T){T.attr({invisible:!0,silent:!0})});var w=this._getPageInfo(t);return w.pageIndex!=null&&Mt(f,{x:w.contentPosition[0],y:w.contentPosition[1]},d?t:null),this._updatePageInfoView(t,w),b},e.prototype._pageGo=function(t,a,n){var i=this._getPageInfo(a)[t];i!=null&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:a.id})},e.prototype._updatePageInfoView=function(t,a){var n=this._controllerGroup;A(["pagePrev","pageNext"],function(f){var h=f+"DataIndex",v=a[h]!=null,c=n.childOfName(f);c&&(c.setStyle("fill",v?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),c.cursor=v?"pointer":"default")});var i=n.childOfName("pageText"),o=t.get("pageFormatter"),s=a.pageIndex,l=s!=null?s+1:0,u=a.pageCount;i&&o&&i.setStyle("text",U(o)?o.replace("{current}",l==null?"":l+"").replace("{total}",u==null?"":u+""):o({current:l,total:u}))},e.prototype._getPageInfo=function(t){var a=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,o=t.getOrient().index,s=Xy[o],l=qy[o],u=this._findTargetItemIndex(a),f=n.children(),h=f[u],v=f.length,c=v?1:0,p={contentPosition:[n.x,n.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return p;var d=S(h);p.contentPosition[o]=-d.s;for(var g=u+1,y=d,m=d,_=null;g<=v;++g)_=S(f[g]),(!_&&m.e>y.s+i||_&&!b(_,y.s))&&(m.i>y.i?y=m:y=_,y&&(p.pageNextDataIndex==null&&(p.pageNextDataIndex=y.i),++p.pageCount)),m=_;for(var g=u-1,y=d,m=d,_=null;g>=-1;--g)_=S(f[g]),(!_||!b(m,_.s))&&y.i=w&&x.s<=w+i}},e.prototype._findTargetItemIndex=function(t){if(!this._showController)return 0;var a,n=this.getContentGroup(),i;return n.eachChild(function(o,s){var l=o.__legendDataIndex;i==null&&l!=null&&(i=s),l===t&&(a=s)}),a!=null?a:i},e.type="legend.scroll",e}(PL),S9=_9;function x9(r){r.registerAction("legendScroll","legendscroll",function(e,t){var a=e.scrollDataIndex;a!=null&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},function(n){n.setScrollDataIndex(a)})})}function b9(r){ct(RL),r.registerComponentModel(m9),r.registerComponentView(S9),x9(r)}function w9(r){ct(RL),ct(b9)}var T9=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="dataZoom.inside",e.defaultOption=ka(yl.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(yl),C9=T9,Ky=St();function A9(r,e,t){Ky(r).coordSysRecordMap.each(function(a){var n=a.dataZoomInfoMap.get(e.uid);n&&(n.getRange=t)})}function M9(r,e){for(var t=Ky(r).coordSysRecordMap,a=t.keys(),n=0;na[t+e]&&(e=s),n=n&&o.get("preventDefaultMouseMove",!0)}),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!n}}}function R9(r){r.registerProcessor(r.PRIORITY.PROCESSOR.FILTER,function(e,t){var a=Ky(t),n=a.coordSysRecordMap||(a.coordSysRecordMap=X());n.each(function(i){i.dataZoomInfoMap=null}),e.eachComponent({mainType:"dataZoom",subType:"inside"},function(i){var o=PD(i);A(o.infoList,function(s){var l=s.model.uid,u=n.get(l)||n.set(l,D9(t,s.model)),f=u.dataZoomInfoMap||(u.dataZoomInfoMap=X());f.set(i.uid,{dzReferCoordSysInfo:s,model:i,getRange:null})})}),n.each(function(i){var o=i.controller,s,l=i.dataZoomInfoMap;if(l){var u=l.keys()[0];u!=null&&(s=l.get(u))}if(!s){OL(n,i);return}var f=P9(l);o.enable(f.controlType,f.opt),o.setPointerChecker(i.containsPoint),to(i,"dispatchAction",s.model.get("throttle",!0),"fixRate")})})}var E9=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="dataZoom.inside",t}return e.prototype.render=function(t,a,n){if(r.prototype.render.apply(this,arguments),t.noTarget()){this._clear();return}this.range=t.getPercentRange(),A9(n,t,{pan:Y(jy.pan,this),zoom:Y(jy.zoom,this),scrollMove:Y(jy.scrollMove,this)})},e.prototype.dispose=function(){this._clear(),r.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){M9(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(by),jy={zoom:function(r,e,t,a){var n=this.range,i=n.slice(),o=r.axisModels[0];if(o){var s=Qy[e](null,[a.originX,a.originY],o,t,r),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(i[1]-i[0])+i[0],u=Math.max(1/a.scale,0);i[0]=(i[0]-l)*u+l,i[1]=(i[1]-l)*u+l;var f=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(pi(0,i,[0,100],0,f.minSpan,f.maxSpan),this.range=i,n[0]!==i[0]||n[1]!==i[1])return i}},pan:NL(function(r,e,t,a,n,i){var o=Qy[a]([i.oldX,i.oldY],[i.newX,i.newY],e,n,t);return o.signal*(r[1]-r[0])*o.pixel/o.pixelLength}),scrollMove:NL(function(r,e,t,a,n,i){var o=Qy[a]([0,0],[i.scrollDelta,i.scrollDelta],e,n,t);return o.signal*(r[1]-r[0])*i.scrollDelta})};function NL(r){return function(e,t,a,n){var i=this.range,o=i.slice(),s=e.axisModels[0];if(s){var l=r(o,s,e,t,a,n);if(pi(l,o,[0,100],"all"),this.range=o,i[0]!==o[0]||i[1]!==o[1])return o}}}var Qy={grid:function(r,e,t,a,n){var i=t.axis,o={},s=n.model.coordinateSystem.getRect();return r=r||[0,0],i.dim==="x"?(o.pixel=e[0]-r[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=i.inverse?1:-1):(o.pixel=e[1]-r[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=i.inverse?-1:1),o},polar:function(r,e,t,a,n){var i=t.axis,o={},s=n.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return r=r?s.pointToCoord(r):[0,0],e=s.pointToCoord(e),t.mainType==="radiusAxis"?(o.pixel=e[0]-r[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=i.inverse?1:-1):(o.pixel=e[1]-r[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=i.inverse?-1:1),o},singleAxis:function(r,e,t,a,n){var i=t.axis,o=n.model.coordinateSystem.getRect(),s={};return r=r||[0,0],i.orient==="horizontal"?(s.pixel=e[0]-r[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=i.inverse?1:-1):(s.pixel=e[1]-r[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=i.inverse?-1:1),s}},k9=E9;function VL(r){wy(r),r.registerComponentModel(C9),r.registerComponentView(k9),R9(r)}var O9=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=ka(yl.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(yl),N9=O9,wl=xt,BL=7,V9=1,Jy=30,B9=7,Tl="horizontal",zL="vertical",z9=5,G9=["line","bar","candlestick","scatter"],F9={easing:"cubicOut",duration:100,delay:0},H9=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t._displayables={},t}return e.prototype.init=function(t,a){this.api=a,this._onBrush=Y(this._onBrush,this),this._onBrushEnd=Y(this._onBrushEnd,this)},e.prototype.render=function(t,a,n,i){if(r.prototype.render.apply(this,arguments),to(this,"_dispatchZoomAction",t.get("throttle"),"fixRate"),this._orient=t.getOrient(),t.get("show")===!1){this.group.removeAll();return}if(t.noTarget()){this._clear(),this.group.removeAll();return}(!i||i.type!=="dataZoom"||i.from!==this.uid)&&this._buildView(),this._updateView()},e.prototype.dispose=function(){this._clear(),r.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){As(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var a=this._displayables.sliderGroup=new at;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(a),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,a=this.api,n=t.get("brushSelect"),i=n?B9:0,o=this._findCoordRect(),s={width:a.getWidth(),height:a.getHeight()},l=this._orient===Tl?{right:s.width-o.x-o.width,top:s.height-Jy-BL-i,width:o.width,height:Jy}:{right:BL,top:o.y,width:Jy,height:o.height},u=Hi(t.option);A(["right","top","width","height"],function(h){u[h]==="ph"&&(u[h]=l[h])});var f=$t(u,s);this._location={x:f.x,y:f.y},this._size=[f.width,f.height],this._orient===zL&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,a=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),o=i&&i.get("inverse"),s=this._displayables.sliderGroup,l=(this._dataShadowInfo||{}).otherAxisInverse;s.attr(n===Tl&&!o?{scaleY:l?1:-1,scaleX:1}:n===Tl&&o?{scaleY:l?1:-1,scaleX:-1}:n===zL&&!o?{scaleY:l?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:l?-1:1,scaleX:-1,rotation:Math.PI/2});var u=t.getBoundingRect([s]);t.x=a.x-u.x,t.y=a.y-u.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,a=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new wl({silent:!0,shape:{x:0,y:0,width:a[0],height:a[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var o=new wl({shape:{x:0,y:0,width:a[0],height:a[1]},style:{fill:"transparent"},z2:0,onclick:Y(this._onClickPanel,this)}),s=this.api.getZr();i?(o.on("mousedown",this._onBrushStart,this),o.cursor="crosshair",s.on("mousemove",this._onBrush),s.on("mouseup",this._onBrushEnd)):(s.off("mousemove",this._onBrush),s.off("mouseup",this._onBrushEnd)),n.add(o)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!t)return;var a=this._size,n=this._shadowSize||[],i=t.series,o=i.getRawData(),s=i.getShadowDim&&i.getShadowDim(),l=s&&o.getDimensionInfo(s)?i.getShadowDim():t.otherDim;if(l==null)return;var u=this._shadowPolygonPts,f=this._shadowPolylinePts;if(o!==this._shadowData||l!==this._shadowDim||a[0]!==n[0]||a[1]!==n[1]){var h=o.getDataExtent(l),v=(h[1]-h[0])*.3;h=[h[0]-v,h[1]+v];var c=[0,a[1]],p=[0,a[0]],d=[[a[0],0],[0,0]],g=[],y=p[1]/(o.count()-1),m=0,_=Math.round(o.count()/a[0]),S;o.each([l],function(C,M){if(_>0&&M%_){m+=y;return}var D=C==null||isNaN(C)||C==="",L=D?0:Lt(C,h,c,!0);D&&!S&&M?(d.push([d[d.length-1][0],0]),g.push([g[g.length-1][0],0])):!D&&S&&(d.push([m,0]),g.push([m,0])),d.push([m,L]),g.push([m,L]),m+=y,S=D}),u=this._shadowPolygonPts=d,f=this._shadowPolylinePts=g}this._shadowData=o,this._shadowDim=l,this._shadowSize=[a[0],a[1]];var b=this.dataZoomModel;function x(C){var M=b.getModel(C?"selectedDataBackground":"dataBackground"),D=new at,L=new Ee({shape:{points:u},segmentIgnoreThreshold:1,style:M.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),I=new ke({shape:{points:f},segmentIgnoreThreshold:1,style:M.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return D.add(L),D.add(I),D}for(var w=0;w<3;w++){var T=x(w===1);this._displayables.sliderGroup.add(T),this._displayables.dataShadowSegs.push(T)}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,a=t.get("showDataShadow");if(a!==!1){var n,i=this.ecModel;return t.eachTargetAxis(function(o,s){var l=t.getAxisProxy(o,s).getTargetSeriesModels();A(l,function(u){if(!n&&!(a!==!0&&vt(G9,u.get("type"))<0)){var f=i.getComponent(Qa(o),s).axis,h=W9(o),v,c=u.coordinateSystem;h!=null&&c.getOtherAxis&&(v=c.getOtherAxis(f).inverse),h=u.getData().mapDimension(h),n={thisAxis:f,series:u,thisDim:o,otherDim:h,otherAxisInverse:v}}},this)},this),n}},e.prototype._renderHandle=function(){var t=this.group,a=this._displayables,n=a.handles=[null,null],i=a.handleLabels=[null,null],o=this._displayables.sliderGroup,s=this._size,l=this.dataZoomModel,u=this.api,f=l.get("borderRadius")||0,h=l.get("brushSelect"),v=a.filler=new wl({silent:h,style:{fill:l.get("fillerColor")},textConfig:{position:"inside"}});o.add(v),o.add(new wl({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:s[0],height:s[1],r:f},style:{stroke:l.get("dataBackgroundColor")||l.get("borderColor"),lineWidth:V9,fill:"rgba(0,0,0,0)"}})),A([0,1],function(_){var S=l.get("handleIcon");!nf[S]&&S.indexOf("path://")<0&&S.indexOf("image://")<0&&(S="path://"+S);var b=Qt(S,-1,0,2,2,null,!0);b.attr({cursor:GL(this._orient),draggable:!0,drift:Y(this._onDragMove,this,_),ondragend:Y(this._onDragEnd,this),onmouseover:Y(this._showDataInfo,this,!0),onmouseout:Y(this._showDataInfo,this,!1),z2:5});var x=b.getBoundingRect(),w=l.get("handleSize");this._handleHeight=H(w,this._size[1]),this._handleWidth=x.width/x.height*this._handleHeight,b.setStyle(l.getModel("handleStyle").getItemStyle()),b.style.strokeNoScale=!0,b.rectHover=!0,b.ensureState("emphasis").style=l.getModel(["emphasis","handleStyle"]).getItemStyle(),Pn(b);var T=l.get("handleColor");T!=null&&(b.style.fill=T),o.add(n[_]=b);var C=l.getModel("textStyle");t.add(i[_]=new bt({silent:!0,invisible:!0,style:Et(C,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:C.getTextColor(),font:C.getFont()}),z2:10}))},this);var c=v;if(h){var p=H(l.get("moveHandleSize"),s[1]),d=a.moveHandle=new xt({style:l.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:s[1]-.5,height:p}}),g=p*.8,y=a.moveHandleIcon=Qt(l.get("moveHandleIcon"),-g/2,-g/2,g,g,"#fff",!0);y.silent=!0,y.y=s[1]+p/2-.5,d.ensureState("emphasis").style=l.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var m=Math.min(s[1]/2,Math.max(p,10));c=a.moveZone=new xt({invisible:!0,shape:{y:s[1]-m,height:p+m}}),c.on("mouseover",function(){u.enterEmphasis(d)}).on("mouseout",function(){u.leaveEmphasis(d)}),o.add(d),o.add(y),o.add(c)}c.attr({draggable:!0,cursor:GL(this._orient),drift:Y(this._onDragMove,this,"all"),ondragstart:Y(this._showDataInfo,this,!0),ondragend:Y(this._onDragEnd,this),onmouseover:Y(this._showDataInfo,this,!0),onmouseout:Y(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),a=this._getViewExtent();this._handleEnds=[Lt(t[0],[0,100],a,!0),Lt(t[1],[0,100],a,!0)]},e.prototype._updateInterval=function(t,a){var n=this.dataZoomModel,i=this._handleEnds,o=this._getViewExtent(),s=n.findRepresentativeAxisProxy().getMinMaxSpan(),l=[0,100];pi(a,i,o,n.get("zoomLock")?"all":t,s.minSpan!=null?Lt(s.minSpan,l,o,!0):null,s.maxSpan!=null?Lt(s.maxSpan,l,o,!0):null);var u=this._range,f=this._range=qe([Lt(i[0],o,l,!0),Lt(i[1],o,l,!0)]);return!u||u[0]!==f[0]||u[1]!==f[1]},e.prototype._updateView=function(t){var a=this._displayables,n=this._handleEnds,i=qe(n.slice()),o=this._size;A([0,1],function(c){var p=a.handles[c],d=this._handleHeight;p.attr({scaleX:d/2,scaleY:d/2,x:n[c]+(c?-1:1),y:o[1]/2-d/2})},this),a.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:o[1]});var s={x:i[0],width:i[1]-i[0]};a.moveHandle&&(a.moveHandle.setShape(s),a.moveZone.setShape(s),a.moveZone.getBoundingRect(),a.moveHandleIcon&&a.moveHandleIcon.attr("x",s.x+s.width/2));for(var l=a.dataShadowSegs,u=[0,i[0],i[1],o[0]],f=0;fa[0]||n[1]<0||n[1]>a[1])){var i=this._handleEnds,o=(i[0]+i[1])/2,s=this._updateInterval("all",n[0]-o);this._updateView(),s&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var a=t.offsetX,n=t.offsetY;this._brushStart=new ot(a,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var a=this._displayables.brushRect;if(this._brushing=!1,!!a){a.attr("ignore",!0);var n=a.shape,i=+new Date;if(!(i-this._brushStartTime<200&&Math.abs(n.width)<5)){var o=this._getViewExtent(),s=[0,100];this._range=qe([Lt(n.x,o,s,!0),Lt(n.x+n.width,o,s,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(Qr(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,a){var n=this._displayables,i=this.dataZoomModel,o=n.brushRect;o||(o=n.brushRect=new wl({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(o)),o.attr("ignore",!1);var s=this._brushStart,l=this._displayables.sliderGroup,u=l.transformCoordToLocal(t,a),f=l.transformCoordToLocal(s.x,s.y),h=this._size;u[0]=Math.max(Math.min(h[0],u[0]),0),o.setShape({x:f[0],y:0,width:u[0]-f[0],height:h[1]})},e.prototype._dispatchZoomAction=function(t){var a=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?F9:null,start:a[0],end:a[1]})},e.prototype._findCoordRect=function(){var t,a=PD(this.dataZoomModel).infoList;if(!t&&a.length){var n=a[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),o=this.api.getHeight();t={x:i*.2,y:o*.2,width:i*.6,height:o*.6}}return t},e.type="dataZoom.slider",e}(by);function W9(r){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[r]}function GL(r){return r==="vertical"?"ns-resize":"ew-resize"}var U9=H9;function FL(r){r.registerComponentModel(N9),r.registerComponentView(U9),wy(r)}function Y9(r){ct(VL),ct(FL)}var Z9={get:function(r,e,t){var a=et((X9[r]||{})[e]);return t&&z(a)?a[a.length-1]:a}},X9={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]}},HL=Z9,WL=ve.mapVisual,q9=ve.eachVisual,K9=z,UL=A,j9=qe,Q9=Lt,J9=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.stateList=["inRange","outOfRange"],t.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],t.layoutMode={type:"box",ignoreSize:!0},t.dataBound=[-1/0,1/0],t.targetVisuals={},t.controllerVisuals={},t}return e.prototype.init=function(t,a,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,a){var n=this.option;!a&&sL(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var a=this.stateList;t=Y(t,this),this.controllerVisuals=Ry(this.option.controller,a,t),this.targetVisuals=Ry(this.option.target,a,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,a=[];return t==null||t==="all"?this.ecModel.eachSeries(function(n,i){a.push(i)}):a=Pt(t),a},e.prototype.eachTargetSeries=function(t,a){A(this.getTargetSeriesIndices(),function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(a,i)},this)},e.prototype.isTargetSeries=function(t){var a=!1;return this.eachTargetSeries(function(n){n===t&&(a=!0)}),a},e.prototype.formatValueText=function(t,a,n){var i=this.option,o=i.precision,s=this.dataBound,l=i.formatter,u;n=n||["<",">"],z(t)&&(t=t.slice(),u=!0);var f=a?t:u?[h(t[0]),h(t[1])]:h(t);if(U(l))return l.replace("{value}",u?f[0]:f).replace("{value2}",u?f[1]:f);if(j(l))return u?l(t[0],t[1]):l(t);if(u)return t[0]===s[0]?n[0]+" "+f[1]:t[1]===s[1]?n[1]+" "+f[0]:f[0]+" - "+f[1];return f;function h(v){return v===s[0]?"min":v===s[1]?"max":(+v).toFixed(Math.min(o,20))}},e.prototype.resetExtent=function(){var t=this.option,a=j9([t.min,t.max]);this._dataExtent=a},e.prototype.getDataDimensionIndex=function(t){var a=this.option.dimension;if(a!=null)return t.getDimensionIndex(a);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var o=n[i],s=t.getDimensionInfo(o);if(!s.isCalculationCoord)return s.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,a=this.option,n={inRange:a.inRange,outOfRange:a.outOfRange},i=a.target||(a.target={}),o=a.controller||(a.controller={});ut(i,n),ut(o,n);var s=this.isCategory();l.call(this,i),l.call(this,o),u.call(this,i,"inRange","outOfRange"),f.call(this,o);function l(h){K9(a.color)&&!h.inRange&&(h.inRange={color:a.color.slice().reverse()}),h.inRange=h.inRange||{color:t.get("gradientColor")}}function u(h,v,c){var p=h[v],d=h[c];p&&!d&&(d=h[c]={},UL(p,function(g,y){if(ve.isValidType(y)){var m=HL.get(y,"inactive",s);m!=null&&(d[y]=m,y==="color"&&!d.hasOwnProperty("opacity")&&!d.hasOwnProperty("colorAlpha")&&(d.opacity=[0,0]))}}))}function f(h){var v=(h.inRange||{}).symbol||(h.outOfRange||{}).symbol,c=(h.inRange||{}).symbolSize||(h.outOfRange||{}).symbolSize,p=this.get("inactiveColor"),d=this.getItemSymbol(),g=d||"roundRect";UL(this.stateList,function(y){var m=this.itemSize,_=h[y];_||(_=h[y]={color:s?p:[p]}),_.symbol==null&&(_.symbol=v&&et(v)||(s?g:[g])),_.symbolSize==null&&(_.symbolSize=c&&et(c)||(s?m[0]:[m[0],m[0]])),_.symbol=WL(_.symbol,function(x){return x==="none"?g:x});var S=_.symbolSize;if(S!=null){var b=-1/0;q9(S,function(x){x>b&&(b=x)}),_.symbolSize=WL(S,function(x){return Q9(x,[0,b],[0,m[0]],!0)})}},this)}},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(At),Ih=J9,YL=[20,140],$9=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.optionUpdated=function(t,a){r.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(n){n.mappingMethod="linear",n.dataExtent=this.getExtent()}),this._resetRange()},e.prototype.resetItemSize=function(){r.prototype.resetItemSize.apply(this,arguments);var t=this.itemSize;(t[0]==null||isNaN(t[0]))&&(t[0]=YL[0]),(t[1]==null||isNaN(t[1]))&&(t[1]=YL[1])},e.prototype._resetRange=function(){var t=this.getExtent(),a=this.option.range;!a||a.auto?(t.auto=1,this.option.range=t):z(a)&&(a[0]>a[1]&&a.reverse(),a[0]=Math.max(a[0],t[0]),a[1]=Math.min(a[1],t[1]))},e.prototype.completeVisualOption=function(){r.prototype.completeVisualOption.apply(this,arguments),A(this.stateList,function(t){var a=this.option.controller[t].symbolSize;a&&a[0]!==a[1]&&(a[0]=a[1]/3)},this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),a=qe((this.get("range")||[]).slice());return a[0]>t[1]&&(a[0]=t[1]),a[1]>t[1]&&(a[1]=t[1]),a[0]=n[1]||t<=a[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var a=[];return this.eachTargetSeries(function(n){var i=[],o=n.getData();o.each(this.getDataDimensionIndex(o),function(s,l){t[0]<=s&&s<=t[1]&&i.push(l)},this),a.push({seriesId:n.id,dataIndex:i})},this),a},e.prototype.getVisualMeta=function(t){var a=ZL(this,"outOfRange",this.getExtent()),n=ZL(this,"inRange",this.option.range.slice()),i=[];function o(c,p){i.push({value:c,color:t(c,p)})}for(var s=0,l=0,u=n.length,f=a.length;lt[1])break;i.push({color:this.getControllerVisual(l,"color",a),offset:s/n})}return i.push({color:this.getControllerVisual(t[1],"color",a),offset:1}),i},e.prototype._createBarPoints=function(t,a){var n=this.visualMapModel.itemSize;return[[n[0]-a[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-a[1],t[1]]]},e.prototype._createBarGroup=function(t){var a=this._orient,n=this.visualMapModel.get("inverse");return new at(a==="horizontal"&&!n?{scaleX:t==="bottom"?1:-1,rotation:Math.PI/2}:a==="horizontal"&&n?{scaleX:t==="bottom"?-1:1,rotation:-Math.PI/2}:a==="vertical"&&!n?{scaleX:t==="left"?1:-1,scaleY:-1}:{scaleX:t==="left"?1:-1})},e.prototype._updateHandle=function(t,a){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,o=n.handleThumbs,s=n.handleLabels,l=i.itemSize,u=i.getExtent();rX([0,1],function(f){var h=o[f];h.setStyle("fill",a.handlesColor[f]),h.y=t[f];var v=qr(t[f],[0,l[1]],u,!0),c=this.getControllerVisual(v,"symbolSize");h.scaleX=h.scaleY=c/l[0],h.x=l[0]-c/2;var p=Sr(n.handleLabelPoints[f],Un(h,this.group));s[f].setStyle({x:p[0],y:p[1],text:i.formatValueText(this._dataInterval[f]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",n.mainGroup):"center"})},this)}},e.prototype._showIndicator=function(t,a,n,i){var o=this.visualMapModel,s=o.getExtent(),l=o.itemSize,u=[0,l[1]],f=this._shapes,h=f.indicator;if(h){h.attr("invisible",!1);var v={convertOpacityToAlpha:!0},c=this.getControllerVisual(t,"color",v),p=this.getControllerVisual(t,"symbolSize"),d=qr(t,s,u,!0),g=l[0]-p/2,y={x:h.x,y:h.y};h.y=d,h.x=g;var m=Sr(f.indicatorLabelPoint,Un(h,this.group)),_=f.indicatorLabel;_.attr("invisible",!1);var S=this._applyTransform("left",f.mainGroup),b=this._orient,x=b==="horizontal";_.setStyle({text:(n||"")+o.formatValueText(a),verticalAlign:x?S:"middle",align:x?"center":S});var w={x:g,y:d,style:{fill:c}},T={style:{x:m[0],y:m[1]}};if(o.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var C={duration:100,easing:"cubicInOut",additive:!0};h.x=y.x,h.y=y.y,h.animateTo(w,C),_.animateTo(T,C)}else h.attr(w),_.attr(T);this._firstShowIndicator=!1;var M=this._shapes.handleLabels;if(M)for(var D=0;Do[1]&&(h[1]=1/0),a&&(h[0]===-1/0?this._showIndicator(f,h[1],"< ",l):h[1]===1/0?this._showIndicator(f,h[0],"> ",l):this._showIndicator(f,f,"\u2248 ",l));var v=this._hoverLinkDataIndices,c=[];(a||JL(n))&&(c=this._hoverLinkDataIndices=n.findTargetDataIndices(h));var p=zP(v,c);this._dispatchHighDown("downplay",Ph(p[0],n)),this._dispatchHighDown("highlight",Ph(p[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var a;if(Yn(t.target,function(l){var u=nt(l);if(u.dataIndex!=null)return a=u,!0},!0),!!a){var n=this.ecModel.getSeriesByIndex(a.seriesIndex),i=this.visualMapModel;if(i.isTargetSeries(n)){var o=n.getData(a.dataType),s=o.getStore().get(i.getDataDimensionIndex(o),a.dataIndex);isNaN(s)||this._showIndicator(s,s)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var a=this._shapes.handleLabels;if(a)for(var n=0;n=0&&(i.dimension=o,a.push(i))}}),r.getData().setVisual("visualMeta",a)}}];function hX(r,e,t,a){for(var n=e.targetVisuals[a],i=ve.prepareVisualTypes(n),o={color:Ls(r.getData(),"color")},s=0,l=i.length;s0:e.splitNumber>0)||e.calculable)?"continuous":"piecewise"}),r.registerAction(lX,uX),A(fX,function(e){r.registerVisual(r.PRIORITY.VISUAL.COMPONENT,e)}),r.registerPreprocessor(vX))}function aI(r){r.registerComponentModel(tX),r.registerComponentView(sX),rI(r)}var cX=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t._pieceList=[],t}return e.prototype.optionUpdated=function(t,a){r.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var n=this._mode=this._determineMode();this._pieceList=[],pX[this._mode].call(this,this._pieceList),this._resetSelected(t,a);var i=this.option.categories;this.resetVisual(function(o,s){n==="categories"?(o.mappingMethod="category",o.categories=et(i)):(o.dataExtent=this.getExtent(),o.mappingMethod="piecewise",o.pieceList=G(this._pieceList,function(l){return l=et(l),s!=="inRange"&&(l.visual=null),l}))})},e.prototype.completeVisualOption=function(){var t=this.option,a={},n=ve.listVisualTypes(),i=this.isCategory();A(t.pieces,function(s){A(n,function(l){s.hasOwnProperty(l)&&(a[l]=1)})}),A(a,function(s,l){var u=!1;A(this.stateList,function(f){u=u||o(t,f,l)||o(t.target,f,l)},this),!u&&A(this.stateList,function(f){(t[f]||(t[f]={}))[l]=HL.get(l,f==="inRange"?"active":"inactive",i)})},this);function o(s,l,u){return s&&s[l]&&s[l].hasOwnProperty(u)}r.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,a){var n=this.option,i=this._pieceList,o=(a?n:t).selected||{};if(n.selected=o,A(i,function(l,u){var f=this.getSelectedMapKey(l);o.hasOwnProperty(f)||(o[f]=!0)},this),n.selectedMode==="single"){var s=!1;A(i,function(l,u){var f=this.getSelectedMapKey(l);o[f]&&(s?o[f]=!1:s=!0)},this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return this._mode==="categories"?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=et(t)},e.prototype.getValueState=function(t){var a=ve.findPieceIndex(t,this._pieceList);return a!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[a])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var a=[],n=this._pieceList;return this.eachTargetSeries(function(i){var o=[],s=i.getData();s.each(this.getDataDimensionIndex(s),function(l,u){var f=ve.findPieceIndex(l,n);f===t&&o.push(u)},this),a.push({seriesId:i.id,dataIndex:o})},this),a},e.prototype.getRepresentValue=function(t){var a;if(this.isCategory())a=t.value;else if(t.value!=null)a=t.value;else{var n=t.interval||[];a=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return a},e.prototype.getVisualMeta=function(t){if(this.isCategory())return;var a=[],n=["",""],i=this;function o(f,h){var v=i.getRepresentValue({interval:f});h||(h=i.getValueState(v));var c=t(v,h);f[0]===-1/0?n[0]=c:f[1]===1/0?n[1]=c:a.push({value:f[0],color:c},{value:f[1],color:c})}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 A(s,function(f){var h=f.interval;h&&(h[0]>u&&o([u,h[0]],"outOfRange"),o(h.slice()),u=h[1])},this),{stops:a,outerColors:n}},e.type="visualMap.piecewise",e.defaultOption=ka(Ih.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(Ih),pX={splitNumber:function(r){var e=this.option,t=Math.min(e.precision,20),a=this.getExtent(),n=e.splitNumber;n=Math.max(parseInt(n,10),1),e.splitNumber=n;for(var i=(a[1]-a[0])/n;+i.toFixed(t)!==i&&t<5;)t++;e.precision=t,i=+i.toFixed(t),e.minOpen&&r.push({interval:[-1/0,a[0]],close:[0,0]});for(var o=0,s=a[0];o","\u2265"][a[0]]];t.text=t.text||this.formatValueText(t.value!=null?t.value:t.interval,!1,n)},this)}};function nI(r,e){var t=r.inverse;(r.orient==="vertical"?!t:t)&&e.reverse()}var dX=cX,gX=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.doRender=function(){var t=this.group;t.removeAll();var a=this.visualMapModel,n=a.get("textGap"),i=a.textStyleModel,o=i.getFont(),s=i.getTextColor(),l=this._getItemAlign(),u=a.itemSize,f=this._getViewData(),h=f.endsText,v=ne(a.get("showLabel",!0),!h);h&&this._renderEndsText(t,h[0],u,v,l),A(f.viewPieceList,function(c){var p=c.piece,d=new at;d.onclick=Y(this._onItemClick,this,p),this._enableHoverLink(d,c.indexInModelPieceList);var g=a.getRepresentValue(p);if(this._createItemSymbol(d,g,[0,0,u[0],u[1]]),v){var y=this.visualMapModel.getValueState(g);d.add(new bt({style:{x:l==="right"?-n:u[0]+n,y:u[1]/2,text:p.text,verticalAlign:"middle",align:l,font:o,fill:s,opacity:y==="outOfRange"?.5:1}}))}t.add(d)},this),h&&this._renderEndsText(t,h[1],u,v,l),Vn(a.get("orient"),t,a.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,a){var n=this;t.on("mouseover",function(){return i("highlight")}).on("mouseout",function(){return i("downplay")});var i=function(o){var s=n.visualMapModel;s.option.hoverLink&&n.api.dispatchAction({type:o,batch:Ph(s.findTargetDataIndices(a),s)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,a=t.option;if(a.orient==="vertical")return KL(t,this.api,t.itemSize);var n=a.align;return(!n||n==="auto")&&(n="left"),n},e.prototype._renderEndsText=function(t,a,n,i,o){if(a){var s=new at,l=this.visualMapModel.textStyleModel;s.add(new bt({style:Et(l,{x:i?o==="right"?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?o:"center",text:a})})),t.add(s)}},e.prototype._getViewData=function(){var t=this.visualMapModel,a=G(t.getPieceList(),function(s,l){return{piece:s,indexInModelPieceList:l}}),n=t.get("text"),i=t.get("orient"),o=t.get("inverse");return(i==="horizontal"?o:!o)?a.reverse():n&&(n=n.slice().reverse()),{viewPieceList:a,endsText:n}},e.prototype._createItemSymbol=function(t,a,n){t.add(Qt(this.getControllerVisual(a,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(a,"color")))},e.prototype._onItemClick=function(t){var a=this.visualMapModel,n=a.option,i=n.selectedMode;if(i){var o=et(n.selected),s=a.getSelectedMapKey(t);i==="single"||i===!0?(o[s]=!0,A(o,function(l,u){o[u]=u===s})):o[s]=!o[s],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:o})}},e.type="visualMap.piecewise",e}(XL),yX=gX;function iI(r){r.registerComponentModel(dX),r.registerComponentView(yX),rI(r)}function mX(r){ct(aI),ct(iI)}var _X={label:{enabled:!0},decal:{show:!1}},oI=St(),SX={};function xX(r,e){var t=r.getModel("aria");if(!t.get("enabled"))return;var a=et(_X);ut(a.label,r.getLocaleModel().get("aria"),!1),ut(t.option,a,!1),n(),i();function n(){var u=t.getModel("decal"),f=u.get("show");if(f){var h=X();r.eachSeries(function(v){if(!v.isColorBySeries()){var c=h.get(v.type);c||(c={},h.set(v.type,c)),oI(v).scope=c}}),r.eachRawSeries(function(v){if(r.isSeriesFiltered(v))return;if(j(v.enableAriaDecal)){v.enableAriaDecal();return}var c=v.getData();if(v.isColorBySeries()){var m=Uc(v.ecModel,v.name,SX,r.getSeriesCount()),_=c.getVisual("decal");c.setVisual("decal",S(_,m))}else{var p=v.getRawData(),d={},g=oI(v).scope;c.each(function(b){var x=c.getRawIndex(b);d[x]=b});var y=p.count();p.each(function(b){var x=d[b],w=p.getName(b)||b+"",T=Uc(v.ecModel,w,g,y),C=c.getItemVisual(x,"decal");c.setItemVisual(x,"decal",S(C,T))})}function S(b,x){var w=b?V(V({},x),b):x;return w.dirty=!0,w}})}}function i(){var u=r.getLocaleModel().get("aria"),f=t.getModel("label");if(f.option=J(f.option,u),!!f.get("enabled")){var h=e.getZr().dom;if(f.get("description")){h.setAttribute("aria-label",f.get("description"));return}var v=r.getSeriesCount(),c=f.get(["data","maxCount"])||10,p=f.get(["series","maxCount"])||10,d=Math.min(v,p),g;if(!(v<1)){var y=s();if(y){var m=f.get(["general","withTitle"]);g=o(m,{title:y})}else g=f.get(["general","withoutTitle"]);var _=[],S=v>1?f.get(["series","multiple","prefix"]):f.get(["series","single","prefix"]);g+=o(S,{seriesCount:v}),r.eachSeries(function(T,C){if(C1?f.get(["series","multiple",L]):f.get(["series","single",L]),M=o(M,{seriesId:T.seriesIndex,seriesName:T.get("name"),seriesType:l(T.subType)});var I=T.getData();if(I.count()>c){var P=f.get(["data","partialData"]);M+=o(P,{displayCnt:c})}else M+=f.get(["data","allData"]);for(var R=f.get(["data","separator","middle"]),E=f.get(["data","separator","end"]),N=[],k=0;k":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},TX=function(){function r(e){var t=this._condVal=U(e)?new RegExp(e):qI(e)?e:null;if(t==null){var a="";Dt(a)}}return r.prototype.evaluate=function(e){var t=typeof e;return U(t)?this._condVal.test(e):Ct(t)?this._condVal.test(e+""):!1},r}(),CX=function(){function r(){}return r.prototype.evaluate=function(){return this.value},r}(),AX=function(){function r(){}return r.prototype.evaluate=function(){for(var e=this.children,t=0;t2&&a.push(n),n=[I,P]}function f(I,P,R,E){Mo(I,R)&&Mo(P,E)||n.push(I,P,R,E,R,E)}function h(I,P,R,E,N,k){var B=Math.abs(P-I),F=Math.tan(B/4)*4/3,W=PT:D2&&a.push(n),a}function rm(r,e,t,a,n,i,o,s,l,u){if(Mo(r,t)&&Mo(e,a)&&Mo(n,o)&&Mo(i,s)){l.push(o,s);return}var f=2/u,h=f*f,v=o-r,c=s-e,p=Math.sqrt(v*v+c*c);v/=p,c/=p;var d=t-r,g=a-e,y=n-o,m=i-s,_=d*d+g*g,S=y*y+m*m;if(_=0&&T=0){l.push(o,s);return}var C=[],M=[];Aa(r,t,n,o,.5,C),Aa(e,a,i,s,.5,M),rm(C[0],M[0],C[1],M[1],C[2],M[2],C[3],M[3],l,u),rm(C[4],M[4],C[5],M[5],C[6],M[6],C[7],M[7],l,u)}function GX(r,e){var t=em(r),a=[];e=e||1;for(var n=0;n0)for(var u=0;uMath.abs(u),h=fI([l,u],f?0:1,e),v=(f?s:u)/h.length,c=0;cn,o=fI([a,n],i?0:1,e),s=i?"width":"height",l=i?"height":"width",u=i?"x":"y",f=i?"y":"x",h=r[s]/o.length,v=0;v1?null:new ot(d*l+r,d*u+e)}function WX(r,e,t){var a=new ot;ot.sub(a,t,e),a.normalize();var n=new ot;ot.sub(n,r,e);var i=n.dot(a);return i}function Do(r,e){var t=r[r.length-1];t&&t[0]===e[0]&&t[1]===e[1]||r.push(e)}function UX(r,e,t){for(var a=r.length,n=[],i=0;io?(u.x=f.x=s+i/2,u.y=l,f.y=l+o):(u.y=f.y=l+o/2,u.x=s,f.x=s+i),UX(e,u,f)}function Rh(r,e,t,a){if(t===1)a.push(e);else{var n=Math.floor(t/2),i=r(e);Rh(r,i[0],n,a),Rh(r,i[1],t-n,a)}return a}function YX(r,e){for(var t=[],a=0;a0)for(var b=a/t,x=-a/2;x<=a/2;x+=b){for(var w=Math.sin(x),T=Math.cos(x),C=0,_=0;_=0}var gI="__mOriginal_";function kh(r,e,t){var a=gI+e,n=r[a]||r[e];r[a]||(r[a]=r[e]);var i=t.replace,o=t.after,s=t.before;r[e]=function(){var l=arguments,u;return s&&s.apply(this,l),i?u=i.apply(this,l):u=n.apply(this,l),o&&o.apply(this,l),u}}function Cl(r,e){var t=gI+e;r[t]&&(r[e]=r[t],r[t]=null)}function yI(r,e){for(var t=0;t0;u/=2){var f=0,h=0;(r&u)>0&&(f=1),(e&u)>0&&(h=1),s+=u*u*(3*f^h),h===0&&(f===1&&(r=u-1-r,e=u-1-e),l=r,r=e,e=l)}return s}function Oh(r){var e=1/0,t=1/0,a=-1/0,n=-1/0,i=G(r,function(s){var l=s.getBoundingRect(),u=s.getComputedTransform(),f=l.x+l.width/2+(u?u[4]:0),h=l.y+l.height/2+(u?u[5]:0);return e=Math.min(f,e),t=Math.min(h,t),a=Math.max(f,a),n=Math.max(h,n),[f,h]}),o=G(i,function(s,l){return{cp:s,z:tq(s[0],s[1],e,t,a,n),path:r[l]}});return o.sort(function(s,l){return s.z-l.z}).map(function(s){return s.path})}function _I(r){return qX(r.path,r.count)}function nm(){return{fromIndividuals:[],toIndividuals:[],count:0}}function eq(r,e,t){var a=[];function n(b){for(var x=0;x=0;n--)if(!t[n].many.length){var l=t[s].many;if(l.length<=1)if(s)s=0;else return t;var i=l.length,u=Math.ceil(i/2);t[n].many=l.slice(u,i),t[s].many=l.slice(0,u),s++}return t}var aq={clone:function(r){for(var e=[],t=1-Math.pow(1-r.path.style.opacity,1/r.count),a=0;a0))return;var s=a.getModel("universalTransition").get("delay"),l=Object.assign({setToFinal:!0},o),u,f;SI(r)&&(u=r,f=e),SI(e)&&(u=e,f=r);function h(y,m,_,S,b){var x=y.many,w=y.one;if(x.length===1&&!b){var T=m?x[0]:w,C=m?w:x[0];if(Eh(T))h({many:[T],one:C},!0,_,S,!0);else{var M=s?J({delay:s(_,S)},l):l;am(T,C,M),i(T,C,T,C,M)}}else for(var D=J({dividePath:aq[t],individualDelay:s&&function(N,k,B,F){return s(N+_,S)}},l),L=m?eq(x,w,D):rq(w,x,D),I=L.fromIndividuals,P=L.toIndividuals,R=I.length,E=0;Ee.length,c=u?xI(f,u):xI(v?e:r,[v?r:e]),p=0,d=0;dbI))for(var n=a.getIndices(),i=iq(a),o=0;o0&&S.group.traverse(function(x){x instanceof yt&&!x.animators.length&&x.animateFrom({style:{opacity:0}},b)})})}function CI(r){var e=r.getModel("universalTransition").get("seriesKey");return e||r.id}function AI(r){return z(r)?r.sort().join(","):r}function tn(r){if(r.hostModel)return r.hostModel.getModel("universalTransition").get("divideShape")}function lq(r,e){var t=X(),a=X(),n=X();A(r.oldSeries,function(o,s){var l=r.oldDataGroupIds[s],u=r.oldData[s],f=CI(o),h=AI(f);a.set(h,{dataGroupId:l,data:u}),z(f)&&A(f,function(v){n.set(v,{key:h,dataGroupId:l,data:u})})});function i(o){t.get(o)&&mk("Duplicated seriesKey in universalTransition "+o)}return A(e.updatedSeries,function(o){if(o.isUniversalTransitionEnabled()&&o.isAnimationEnabled()){var s=o.get("dataGroupId"),l=o.getData(),u=CI(o),f=AI(u),h=a.get(f);if(h)t.set(f,{oldSeries:[{dataGroupId:h.dataGroupId,divide:tn(h.data),data:h.data}],newSeries:[{dataGroupId:s,divide:tn(l),data:l}]});else if(z(u)){var v=[];A(u,function(d){var g=a.get(d);g.data&&v.push({dataGroupId:g.dataGroupId,divide:tn(g.data),data:g.data})}),v.length&&t.set(f,{oldSeries:v,newSeries:[{dataGroupId:s,data:l,divide:tn(l)}]})}else{var c=n.get(u);if(c){var p=t.get(c.key);p||(p={oldSeries:[{dataGroupId:c.dataGroupId,data:c.data,divide:tn(c.data)}],newSeries:[]},t.set(c.key,p)),p.newSeries.push({dataGroupId:s,data:l,divide:tn(l)})}}}}),t}function MI(r,e){for(var t=0;t=0&&n.push({dataGroupId:e.oldDataGroupIds[s],data:e.oldData[s],divide:tn(e.oldData[s]),dim:o.dimension})}),A(Pt(r.to),function(o){var s=MI(t.updatedSeries,o);if(s>=0){var l=t.updatedSeries[s].getData();i.push({dataGroupId:e.oldDataGroupIds[s],data:l,divide:tn(l),dim:o.dimension})}}),n.length>0&&i.length>0&&TI(n,i,a)}function fq(r){r.registerUpdateLifecycle("series:beforeupdate",function(e,t,a){A(Pt(a.seriesTransition),function(n){A(Pt(n.to),function(i){for(var o=a.updatedSeries,s=0;s!|\/]/;function i(e,n){var t=e.next();if(/[\d\.]/.test(t))return t=="."?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):t=="0"?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(t=="/"||t=="("){if(e.eat("*"))return n.tokenize=d,d(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(a.test(t))return e.eatWhile(a),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var r=e.current().toLowerCase();return k.propertyIsEnumerable(r)||f.propertyIsEnumerable(r)||o.propertyIsEnumerable(r)?"keyword":b.propertyIsEnumerable(r)?"atom":"variable"}function d(e,n){for(var t=!1,r;r=e.next();){if((r=="/"||r==")")&&t){n.tokenize=i;break}t=r=="*"}return"comment"}function p(e,n,t,r,u){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=u}function h(e,n,t){return e.context=new p(e.indented,n,t,null,e.context)}function v(e){if(e.context.prev){var n=e.context.type;return n=="end_block"&&(e.indented=e.context.indented),e.context=e.context.prev}}const x={name:"fcl",startState:function(e){return{tokenize:null,context:new p(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;var r=(n.tokenize||i)(e,n);if(r=="comment")return r;t.align==null&&(t.align=!0);var u=e.current().toLowerCase();return f.propertyIsEnumerable(u)?h(n,e.column(),"end_block"):o.propertyIsEnumerable(u)&&v(n),n.startOfLine=!1,r},indent:function(e,n,t){if(e.tokenize!=i&&e.tokenize!=null)return 0;var r=e.context,u=o.propertyIsEnumerable(n);return r.align?r.column+(u?0:1):r.indented+(u?0:t.unit)},languageData:{commentTokens:{line:"//",block:{open:"(*",close:"*)"}}}}}}]); diff --git a/7673.589aa50e.async.js b/7673.589aa50e.async.js new file mode 100644 index 0000000000..cbee6384c2 --- /dev/null +++ b/7673.589aa50e.async.js @@ -0,0 +1,16 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[7673],{47673:function(_,x,d){d.d(x,{M1:function(){return p},TM:function(){return w},Xy:function(){return g},bi:function(){return h},e5:function(){return R},ik:function(){return $},nz:function(){return m},pU:function(){return c},s7:function(){return I},x0:function(){return b}});var u=d(14747),y=d(80110),a=d(45503),C=d(67968);const m=r=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:r,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),c=r=>({borderColor:r.hoverBorderColor}),p=r=>({borderColor:r.activeBorderColor,boxShadow:r.activeShadow,outline:0}),g=r=>({color:r.colorTextDisabled,backgroundColor:r.colorBgContainerDisabled,borderColor:r.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},c((0,a.TS)(r,{hoverBorderColor:r.colorBorder})))}),E=r=>{const{paddingBlockLG:o,fontSizeLG:e,lineHeightLG:i,borderRadiusLG:t,paddingInlineLG:n}=r;return{padding:`${o}px ${n}px`,fontSize:e,lineHeight:i,borderRadius:t}},b=r=>({padding:`${r.paddingBlockSM}px ${r.paddingInlineSM}px`,borderRadius:r.borderRadiusSM}),h=(r,o)=>{const{componentCls:e,colorError:i,colorWarning:t,errorActiveShadow:n,warningActiveShadow:l,colorErrorBorderHover:s,colorWarningBorderHover:f}=r;return{[`&-status-error:not(${o}-disabled):not(${o}-borderless)${o}`]:{borderColor:i,"&:hover":{borderColor:s},"&:focus, &-focused":Object.assign({},p((0,a.TS)(r,{activeBorderColor:i,activeShadow:n}))),[`${e}-prefix, ${e}-suffix`]:{color:i}},[`&-status-warning:not(${o}-disabled):not(${o}-borderless)${o}`]:{borderColor:t,"&:hover":{borderColor:f},"&:focus, &-focused":Object.assign({},p((0,a.TS)(r,{activeBorderColor:t,activeShadow:l}))),[`${e}-prefix, ${e}-suffix`]:{color:t}}}},$=r=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${r.paddingBlock}px ${r.paddingInline}px`,color:r.colorText,fontSize:r.fontSize,lineHeight:r.lineHeight,backgroundColor:r.colorBgContainer,backgroundImage:"none",borderWidth:r.lineWidth,borderStyle:r.lineType,borderColor:r.colorBorder,borderRadius:r.borderRadius,transition:`all ${r.motionDurationMid}`},m(r.colorTextPlaceholder)),{"&:hover":Object.assign({},c(r)),"&:focus, &-focused":Object.assign({},p(r)),"&-disabled, &[disabled]":Object.assign({},g(r)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:r.controlHeight,lineHeight:r.lineHeight,verticalAlign:"bottom",transition:`all ${r.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},E(r)),"&-sm":Object.assign({},b(r)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),I=r=>{const{componentCls:o,antCls:e}=r;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,["&[class*='col-']"]:{paddingInlineEnd:r.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${o}, &-lg > ${o}-group-addon`]:Object.assign({},E(r)),[`&-sm ${o}, &-sm > ${o}-group-addon`]:Object.assign({},b(r)),[`&-lg ${e}-select-single ${e}-select-selector`]:{height:r.controlHeightLG},[`&-sm ${e}-select-single ${e}-select-selector`]:{height:r.controlHeightSM},[`> ${o}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${o}-group`]:{["&-addon, &-wrap"]:{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${r.paddingInline}px`,color:r.colorText,fontWeight:"normal",fontSize:r.fontSize,textAlign:"center",backgroundColor:r.colorFillAlter,border:`${r.lineWidth}px ${r.lineType} ${r.colorBorder}`,borderRadius:r.borderRadius,transition:`all ${r.motionDurationSlow}`,lineHeight:1,[`${e}-select`]:{margin:`-${r.paddingBlock+1}px -${r.paddingInline}px`,[`&${e}-select-single:not(${e}-select-customize-input):not(${e}-pagination-size-changer)`]:{[`${e}-select-selector`]:{backgroundColor:"inherit",border:`${r.lineWidth}px ${r.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${e}-select-selector`]:{color:r.colorPrimary}}},[`${e}-cascader-picker`]:{margin:`-9px -${r.paddingInline}px`,backgroundColor:"transparent",[`${e}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${o}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${o}-search-with-button &`]:{zIndex:0}}},[`> ${o}:first-child, ${o}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${e}-select ${e}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${o}-affix-wrapper`]:{[`&:not(:first-child) ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${o}:last-child, ${o}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${e}-select ${e}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${o}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${o}-search &`]:{borderStartStartRadius:r.borderRadius,borderEndStartRadius:r.borderRadius}},[`&:not(:first-child), ${o}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${o}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,u.dF)()),{[`${o}-group-addon, ${o}-group-wrap, > ${o}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:r.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` + & > ${o}-affix-wrapper, + & > ${o}-number-affix-wrapper, + & > ${e}-picker-range + `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-r.lineWidth,borderInlineEndWidth:r.lineWidth},[`${o}`]:{float:"none"},[`& > ${e}-select > ${e}-select-selector, + & > ${e}-select-auto-complete ${o}, + & > ${e}-cascader-picker ${o}, + & > ${o}-group-wrapper ${o}`]:{borderInlineEndWidth:r.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${e}-select-focused`]:{zIndex:1},[`& > ${e}-select > ${e}-select-arrow`]:{zIndex:1},[`& > *:first-child, + & > ${e}-select:first-child > ${e}-select-selector, + & > ${e}-select-auto-complete:first-child ${o}, + & > ${e}-cascader-picker:first-child ${o}`]:{borderStartStartRadius:r.borderRadius,borderEndStartRadius:r.borderRadius},[`& > *:last-child, + & > ${e}-select:last-child > ${e}-select-selector, + & > ${e}-cascader-picker:last-child ${o}, + & > ${e}-cascader-picker-focused:last-child ${o}`]:{borderInlineEndWidth:r.lineWidth,borderStartEndRadius:r.borderRadius,borderEndEndRadius:r.borderRadius},[`& > ${e}-select-auto-complete ${o}`]:{verticalAlign:"top"},[`${o}-group-wrapper + ${o}-group-wrapper`]:{marginInlineStart:-r.lineWidth,[`${o}-affix-wrapper`]:{borderRadius:0}},[`${o}-group-wrapper:not(:last-child)`]:{[`&${o}-search > ${o}-group`]:{[`& > ${o}-group-addon > ${o}-search-button`]:{borderRadius:0},[`& > ${o}`]:{borderStartStartRadius:r.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:r.borderRadius}}}})}},O=r=>{const{componentCls:o,controlHeightSM:e,lineWidth:i}=r,t=16,n=(e-i*2-t)/2;return{[o]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,u.Wf)(r)),$(r)),h(r,o)),{'&[type="color"]':{height:r.controlHeight,[`&${o}-lg`]:{height:r.controlHeightLG},[`&${o}-sm`]:{height:e,paddingTop:n,paddingBottom:n}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},z=r=>{const{componentCls:o}=r;return{[`${o}-clear-icon`]:{margin:0,color:r.colorTextQuaternary,fontSize:r.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${r.motionDurationSlow}`,"&:hover":{color:r.colorTextTertiary},"&:active":{color:r.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${r.inputAffixPadding}px`}}}},H=r=>{const{componentCls:o,inputAffixPadding:e,colorTextDescription:i,motionDurationSlow:t,colorIcon:n,colorIconHover:l,iconCls:s}=r;return{[`${o}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},$(r)),{display:"inline-flex",[`&:not(${o}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},c(r)),{zIndex:1,[`${o}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${o}[disabled]`]:{background:"transparent"}},[`> input${o}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${o}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:r.paddingXS}},"&-show-count-suffix":{color:i},"&-show-count-has-suffix":{marginInlineEnd:r.paddingXXS},"&-prefix":{marginInlineEnd:e},"&-suffix":{marginInlineStart:e}}}),z(r)),{[`${s}${o}-password-icon`]:{color:n,cursor:"pointer",transition:`all ${t}`,"&:hover":{color:l}}}),h(r,`${o}-affix-wrapper`))}},B=r=>{const{componentCls:o,colorError:e,colorWarning:i,borderRadiusLG:t,borderRadiusSM:n}=r;return{[`${o}-group`]:Object.assign(Object.assign(Object.assign({},(0,u.Wf)(r)),I(r)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${o}-group-addon`]:{borderRadius:t,fontSize:r.fontSizeLG}},"&-sm":{[`${o}-group-addon`]:{borderRadius:n}},"&-status-error":{[`${o}-group-addon`]:{color:e,borderColor:e}},"&-status-warning":{[`${o}-group-addon`]:{color:i,borderColor:i}},"&-disabled":{[`${o}-group-addon`]:Object.assign({},g(r))},[`&:not(${o}-compact-first-item):not(${o}-compact-last-item)${o}-compact-item`]:{[`${o}, ${o}-group-addon`]:{borderRadius:0}},[`&:not(${o}-compact-last-item)${o}-compact-first-item`]:{[`${o}, ${o}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${o}-compact-first-item)${o}-compact-last-item`]:{[`${o}, ${o}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},W=r=>{const{componentCls:o,antCls:e}=r,i=`${o}-search`;return{[i]:{[`${o}`]:{"&:hover, &:focus":{borderColor:r.colorPrimaryHover,[`+ ${o}-group-addon ${i}-button:not(${e}-btn-primary)`]:{borderInlineStartColor:r.colorPrimaryHover}}},[`${o}-affix-wrapper`]:{borderRadius:0},[`${o}-lg`]:{lineHeight:r.lineHeightLG-2e-4},[`> ${o}-group`]:{[`> ${o}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${i}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:r.borderRadius,borderEndEndRadius:r.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${i}-button:not(${e}-btn-primary)`]:{color:r.colorTextDescription,"&:hover":{color:r.colorPrimaryHover},"&:active":{color:r.colorPrimaryActive},[`&${e}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${i}-button`]:{height:r.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${i}-button`]:{height:r.controlHeightLG},[`&-small ${i}-button`]:{height:r.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${o}-compact-item`]:{[`&:not(${o}-compact-last-item)`]:{[`${o}-group-addon`]:{[`${o}-search-button`]:{marginInlineEnd:-r.lineWidth,borderRadius:0}}},[`&:not(${o}-compact-first-item)`]:{[`${o},${o}-affix-wrapper`]:{borderRadius:0}},[`> ${o}-group-addon ${o}-search-button, + > ${o}, + ${o}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${o}-affix-wrapper-focused`]:{zIndex:2}}}}},T=r=>{const{componentCls:o,paddingLG:e}=r,i=`${o}-textarea`;return{[i]:{position:"relative","&-show-count":{[`> ${o}`]:{height:"100%"},[`${o}-data-count`]:{position:"absolute",bottom:-r.fontSize*r.lineHeight,insetInlineEnd:0,color:r.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${o}`]:{paddingInlineEnd:e}},[`&-affix-wrapper${i}-has-feedback`]:{[`${o}`]:{paddingInlineEnd:e}},[`&-affix-wrapper${o}-affix-wrapper`]:{padding:0,[`> textarea${o}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${o}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${o}-clear-icon`]:{position:"absolute",insetInlineEnd:r.paddingXS,insetBlockStart:r.paddingXS},[`${i}-suffix`]:{position:"absolute",top:0,insetInlineEnd:r.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function R(r){return(0,a.TS)(r,{inputAffixPadding:r.paddingXXS})}const w=r=>{const{controlHeight:o,fontSize:e,lineHeight:i,lineWidth:t,controlHeightSM:n,controlHeightLG:l,fontSizeLG:s,lineHeightLG:f,paddingSM:j,controlPaddingHorizontalSM:M,controlPaddingHorizontal:A,colorFillAlter:P,colorPrimaryHover:v,controlOutlineWidth:S,controlOutline:L,colorErrorOutline:D,colorWarningOutline:G}=r;return{paddingBlock:Math.max(Math.round((o-e*i)/2*10)/10-t,3),paddingBlockSM:Math.max(Math.round((n-e*i)/2*10)/10-t,0),paddingBlockLG:Math.ceil((l-s*f)/2*10)/10-t,paddingInline:j-t,paddingInlineSM:M-t,paddingInlineLG:A-t,addonBg:P,activeBorderColor:v,hoverBorderColor:v,activeShadow:`0 0 0 ${S}px ${L}`,errorActiveShadow:`0 0 0 ${S}px ${D}`,warningActiveShadow:`0 0 0 ${S}px ${G}`}};x.ZP=(0,C.Z)("Input",r=>{const o=(0,a.TS)(r,R(r));return[O(o),T(o),H(o),B(o),W(o),(0,y.c)(o)]},w)}}]); diff --git a/772.e255a86a.async.js b/772.e255a86a.async.js new file mode 100644 index 0000000000..6870f8fa84 --- /dev/null +++ b/772.e255a86a.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[772],{40772:function(Ye,ee,c){c.d(ee,{$Y:function(){return Oe},AH:function(){return ge},AU:function(){return Be},AY:function(){return le},BM:function(){return de},Ck:function(){return ce},FW:function(){return qe},Fi:function(){return ke},I8:function(){return ve},IA:function(){return Xe},J4:function(){return Re},J5:function(){return Ee},KN:function(){return se},Ku:function(){return Ue},MU:function(){return be},O3:function(){return Te},Ot:function(){return Ie},QD:function(){return ye},RW:function(){return me},SY:function(){return fe},T0:function(){return ie},XS:function(){return ue},aZ:function(){return oe},bV:function(){return De},cJ:function(){return Le},d1:function(){return we},d_:function(){return he},dh:function(){return ae},eX:function(){return pe},e_:function(){return je},ed:function(){return Ze},f6:function(){return Ae},h9:function(){return Pe},hO:function(){return Ge},iD:function(){return Fe},lX:function(){return Me},oW:function(){return Ce},ph:function(){return We},sT:function(){return Ke},sp:function(){return $e},uz:function(){return _e},ww:function(){return Se},zZ:function(){return Je}});var re=c(15009),t=c.n(re),ne=c(97857),i=c.n(ne),te=c(99289),s=c.n(te),u=c(84519);function ae(r){return o.apply(this,arguments)}function o(){return o=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/device_tags.json",{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),o.apply(this,arguments)}function se(r){return l.apply(this,arguments)}function l(){return l=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/device_tags/".concat(n.id,".json"),{method:"DELETE"}));case 1:case"end":return e.stop()}},r)})),l.apply(this,arguments)}function ue(r){return p.apply(this,arguments)}function p(){return p=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/device_tags/".concat(n.id,".json"),{method:"PUT",body:i()({},n)}));case 1:case"end":return e.stop()}},r)})),p.apply(this,arguments)}function ie(r){return _.apply(this,arguments)}function _(){return _=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/device_tags.json",{method:"POST",body:i()({},n)}));case 1:case"end":return e.stop()}},r)})),_.apply(this,arguments)}function ce(r){return d.apply(this,arguments)}function d(){return d=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/device_tags/get_devcie_models.json",{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),d.apply(this,arguments)}function oe(r){return f.apply(this,arguments)}function f(){return f=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/device_tags/".concat(n,".json"),{method:"get"}));case 1:case"end":return e.stop()}},r)})),f.apply(this,arguments)}function le(r){return m.apply(this,arguments)}function m(){return m=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/devices/".concat(n,".json"),{method:"get"}));case 1:case"end":return e.stop()}},r)})),m.apply(this,arguments)}function pe(r){return h.apply(this,arguments)}function h(){return h=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/devices/total_data.json",{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),h.apply(this,arguments)}function _e(r){return v.apply(this,arguments)}function v(){return v=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/device_types.json",{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),v.apply(this,arguments)}function de(r){return g.apply(this,arguments)}function g(){return g=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/device_types/".concat(n,".json"),{method:"DELETE"}));case 1:case"end":return e.stop()}},r)})),g.apply(this,arguments)}function fe(r){return y.apply(this,arguments)}function y(){return y=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/device_types/".concat(n,".json"),{method:"get"}));case 1:case"end":return e.stop()}},r)})),y.apply(this,arguments)}function me(r){return w.apply(this,arguments)}function w(){return w=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/device_types/".concat(n.id,".json"),{method:"put",body:i()({},n)}));case 1:case"end":return e.stop()}},r)})),w.apply(this,arguments)}function he(r){return b.apply(this,arguments)}function b(){return b=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/device_types.json",{method:"POST",body:i()({},n)}));case 1:case"end":return e.stop()}},r)})),b.apply(this,arguments)}function ve(r){return k.apply(this,arguments)}function k(){return k=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/devices/".concat(n.id,"/update_device_use_status.json"),{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),k.apply(this,arguments)}function ge(r){return j.apply(this,arguments)}function j(){return j=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/devices/".concat(n,"/device_all_tags.json"),{method:"get"}));case 1:case"end":return e.stop()}},r)})),j.apply(this,arguments)}function ye(r){return P.apply(this,arguments)}function P(){return P=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/devices.json",{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),P.apply(this,arguments)}function we(r){return $.apply(this,arguments)}function $(){return $=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/devices/".concat(n,".json"),{method:"get"}));case 1:case"end":return e.stop()}},r)})),$.apply(this,arguments)}function be(r){return Z.apply(this,arguments)}function Z(){return Z=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/devices/".concat(n,"/monitor.json"),{method:"get"}));case 1:case"end":return e.stop()}},r)})),Z.apply(this,arguments)}function ke(r){return E.apply(this,arguments)}function E(){return E=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/devices/".concat(n,"/device_fault_infos.json"),{method:"get"}));case 1:case"end":return e.stop()}},r)})),E.apply(this,arguments)}function je(r){return O.apply(this,arguments)}function O(){return O=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/devices/".concat(n==null?void 0:n.id,"/statistics.json"),{method:"get",params:n}));case 1:case"end":return e.stop()}},r)})),O.apply(this,arguments)}function Pe(r){return D.apply(this,arguments)}function D(){return D=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/devices/".concat(n.id,".json"),{method:"put",body:i()({},n)}));case 1:case"end":return e.stop()}},r)})),D.apply(this,arguments)}function $e(r){return T.apply(this,arguments)}function T(){return T=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/devices.json",{method:"post",body:i()({},n)}));case 1:case"end":return e.stop()}},r)})),T.apply(this,arguments)}function Ze(r){return C.apply(this,arguments)}function C(){return C=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/reservations.json",{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),C.apply(this,arguments)}function Ee(r){return M.apply(this,arguments)}function M(){return M=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/devices/".concat(n.device_id,"/reservations.json"),{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),M.apply(this,arguments)}function Oe(r){return R.apply(this,arguments)}function R(){return R=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/reservations/".concat(n,"/canceled.json"),{method:"get"}));case 1:case"end":return e.stop()}},r)})),R.apply(this,arguments)}function De(r){return A.apply(this,arguments)}function A(){return A=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/reservations/get_shixun_devices.json",{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),A.apply(this,arguments)}function Te(r){return U.apply(this,arguments)}function U(){return U=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/reservations/device_find_shixuns.json",{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),U.apply(this,arguments)}function Ce(r){return W.apply(this,arguments)}function W(){return W=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/reservations.json",{method:"post",body:i()({},n)}));case 1:case"end":return e.stop()}},r)})),W.apply(this,arguments)}function Me(r){return I.apply(this,arguments)}function I(){return I=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/reservations/".concat(n.id,".json"),{method:"put",body:i()({},n)}));case 1:case"end":return e.stop()}},r)})),I.apply(this,arguments)}function Re(r){return K.apply(this,arguments)}function K(){return K=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/reservations/".concat(n,".json"),{method:"get"}));case 1:case"end":return e.stop()}},r)})),K.apply(this,arguments)}function Ae(r){return L.apply(this,arguments)}function L(){return L=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/reservations/".concat(n.id,"/reviewed.json"),{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),L.apply(this,arguments)}function Ue(r){return B.apply(this,arguments)}function B(){return B=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/devices/".concat(n.id,"/reservation_detail.json"),{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),B.apply(this,arguments)}function We(r){return S.apply(this,arguments)}function S(){return S=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/devices/".concat(n.id,"/application_scrapped.json"),{method:"post",body:i()({},n)}));case 1:case"end":return e.stop()}},r)})),S.apply(this,arguments)}function Ie(r){return q.apply(this,arguments)}function q(){return q=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/devices/".concat(n,"/scrapped_data.json"),{method:"get"}));case 1:case"end":return e.stop()}},r)})),q.apply(this,arguments)}function Ke(r){return F.apply(this,arguments)}function F(){return F=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/device_types/".concat(n.id,"/support_shixuns.json"),{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),F.apply(this,arguments)}function Le(r){return G.apply(this,arguments)}function G(){return G=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/device_details/used_rate.json",{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),G.apply(this,arguments)}function ze(r){return J.apply(this,arguments)}function J(){return J=_asyncToGenerator(_regeneratorRuntime().mark(function r(n){return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Fetch("/api/kd_classrooms/device_details/shixun_use_type_records.json",{method:"get",params:_objectSpread({},n)}));case 1:case"end":return e.stop()}},r)})),J.apply(this,arguments)}function Be(r){return X.apply(this,arguments)}function X(){return X=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/device_details/device_statistics.json",{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),X.apply(this,arguments)}function Se(r){return Y.apply(this,arguments)}function Y(){return Y=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/device_details/action_statistics.json",{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),Y.apply(this,arguments)}function qe(r){return z.apply(this,arguments)}function z(){return z=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/procure_records/device_statistics.json",{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),z.apply(this,arguments)}function Fe(r){return H.apply(this,arguments)}function H(){return H=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/device_fault_infos.json",{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),H.apply(this,arguments)}function Ge(r){return N.apply(this,arguments)}function N(){return N=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/device_fault_infos.json",{method:"post",body:i()({},n)}));case 1:case"end":return e.stop()}},r)})),N.apply(this,arguments)}function Je(r){return Q.apply(this,arguments)}function Q(){return Q=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/device_fault_infos/".concat(n==null?void 0:n.id,".json"),{method:"put",body:i()({},n)}));case 1:case"end":return e.stop()}},r)})),Q.apply(this,arguments)}function He(r){return V.apply(this,arguments)}function V(){return V=_asyncToGenerator(_regeneratorRuntime().mark(function r(n){return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Fetch("/api/kd_classrooms/device_fault_infos/".concat(n==null?void 0:n.id,".json"),{method:"get",params:_objectSpread({},n)}));case 1:case"end":return e.stop()}},r)})),V.apply(this,arguments)}function Xe(r){return x.apply(this,arguments)}function x(){return x=s()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.ZP)("/api/kd_classrooms/device_fault_infos/".concat(n,".json"),{method:"delete"}));case 1:case"end":return e.stop()}},r)})),x.apply(this,arguments)}}}]); diff --git a/7762.56e92821.async.js b/7762.56e92821.async.js new file mode 100644 index 0000000000..3296d41040 --- /dev/null +++ b/7762.56e92821.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[7762],{17762:function(h,u,f){f.r(u),f.d(u,{solr:function(){return d}});var l=/[^\s\|\!\+\-\*\?\~\^\&\:\(\)\[\]\{\}\"\\]/,k=/[\|\!\+\-\*\?\~\^\&]/,c=/^(OR|AND|NOT|TO)$/i;function s(n){return parseFloat(n).toString()===n}function a(n){return function(e,t){for(var r=!1,o;(o=e.next())!=null&&!(o==n&&!r);)r=!r&&o=="\\";return r||(t.tokenize=i),"string"}}function p(n){return function(e,t){return n=="|"?e.eat(/\|/):n=="&"&&e.eat(/\&/),t.tokenize=i,"operator"}}function z(n){return function(e,t){for(var r=n;(n=e.peek())&&n.match(l)!=null;)r+=e.next();return t.tokenize=i,c.test(r)?"operator":s(r)?"number":e.peek()==":"?"propertyName":"string"}}function i(n,e){var t=n.next();return t=='"'?e.tokenize=a(t):k.test(t)?e.tokenize=p(t):l.test(t)&&(e.tokenize=z(t)),e.tokenize!=i?e.tokenize(n,e):null}const d={name:"solr",startState:function(){return{tokenize:i}},token:function(n,e){return n.eatSpace()?null:e.tokenize(n,e)}}}}]); diff --git a/7917.a0d18c02.async.js b/7917.a0d18c02.async.js new file mode 100644 index 0000000000..276209034c --- /dev/null +++ b/7917.a0d18c02.async.js @@ -0,0 +1 @@ +"use strict";var Oe=Object.defineProperty;var oe=Object.getOwnPropertySymbols;var je=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable;var ae=(b,y,k)=>y in b?Oe(b,y,{enumerable:!0,configurable:!0,writable:!0,value:k}):b[y]=k,le=(b,y)=>{for(var k in y||(y={}))je.call(y,k)&&ae(b,k,y[k]);if(oe)for(var k of oe(y))Fe.call(y,k)&&ae(b,k,y[k]);return b};(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[7917],{67917:function(b,y,k){k.r(y),k.d(y,{c:function(){return se},ceylon:function(){return _e},clike:function(){return h},cpp:function(){return fe},csharp:function(){return pe},dart:function(){return Ne},java:function(){return de},kotlin:function(){return ke},nesC:function(){return ge},objectiveC:function(){return be},objectiveCpp:function(){return we},scala:function(){return he},shader:function(){return me},squirrel:function(){return ve}});function O(e,n,t,l,s,d){this.indented=e,this.column=n,this.type=t,this.info=l,this.align=s,this.prev=d}function C(e,n,t,l){var s=e.indented;return e.context&&e.context.type=="statement"&&t!="statement"&&(s=e.context.indented),e.context=new O(s,n,t,l,null,e.context)}function T(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}function U(e,n,t){if(n.prevToken=="variable"||n.prevToken=="type"||/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0,t))||n.typeAtEndOfLine&&e.column()==e.indentation())return!0}function j(e){for(;;){if(!e||e.type=="top")return!0;if(e.type=="}"&&e.prev.info!="namespace")return!1;e=e.prev}}function h(e){var n=e.statementIndentUnit,t=e.dontAlignCalls,l=e.keywords||{},s=e.types||{},d=e.builtin||{},_=e.blockKeywords||{},z=e.defKeywords||{},x=e.atoms||{},g=e.hooks||{},De=e.multiLineStrings,Le=e.indentStatements!==!1,ze=e.indentSwitch!==!1,X=e.namespaceSeparator,Ce=e.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,Me=e.numberStart||/[\d\.]/,Ee=e.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,Y=e.isOperatorChar||/[+\-*&%=<>!?|\/]/,J=e.isIdentifierChar||/[\w\$_\xa1-\uffff]/,ee=e.isReservedIdentifier||!1,p,B;function ne(i,a){var c=i.next();if(g[c]){var o=g[c](i,a);if(o!==!1)return o}if(c=='"'||c=="'")return a.tokenize=Pe(c),a.tokenize(i,a);if(Me.test(c)){if(i.backUp(1),i.match(Ee))return"number";i.next()}if(Ce.test(c))return p=c,null;if(c=="/"){if(i.eat("*"))return a.tokenize=te,te(i,a);if(i.eat("/"))return i.skipToEnd(),"comment"}if(Y.test(c)){for(;!i.match(/^\/[\/*]/,!1)&&i.eat(Y););return"operator"}if(i.eatWhile(J),X)for(;i.match(X);)i.eatWhile(J);var f=i.current();return m(l,f)?(m(_,f)&&(p="newstatement"),m(z,f)&&(B=!0),"keyword"):m(s,f)?"type":m(d,f)||ee&&ee(f)?(m(_,f)&&(p="newstatement"),"builtin"):m(x,f)?"atom":"variable"}function Pe(i){return function(a,c){for(var o=!1,f,S=!1;(f=a.next())!=null;){if(f==i&&!o){S=!0;break}o=!o&&f=="\\"}return(S||!(o||De))&&(c.tokenize=null),"string"}}function te(i,a){for(var c=!1,o;o=i.next();){if(o=="/"&&c){a.tokenize=null;break}c=o=="*"}return"comment"}function re(i,a){e.typeFirstDefinitions&&i.eol()&&j(a.context)&&(a.typeAtEndOfLine=U(i,a,i.pos))}return{name:e.name,startState:function(i){return{tokenize:null,context:new O(-i,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(i,a){var c=a.context;if(i.sol()&&(c.align==null&&(c.align=!1),a.indented=i.indentation(),a.startOfLine=!0),i.eatSpace())return re(i,a),null;p=B=null;var o=(a.tokenize||ne)(i,a);if(o=="comment"||o=="meta")return o;if(c.align==null&&(c.align=!0),p==";"||p==":"||p==","&&i.match(/^\s*(?:\/\/.*)?$/,!1))for(;a.context.type=="statement";)T(a);else if(p=="{")C(a,i.column(),"}");else if(p=="[")C(a,i.column(),"]");else if(p=="(")C(a,i.column(),")");else if(p=="}"){for(;c.type=="statement";)c=T(a);for(c.type=="}"&&(c=T(a));c.type=="statement";)c=T(a)}else p==c.type?T(a):Le&&((c.type=="}"||c.type=="top")&&p!=";"||c.type=="statement"&&p=="newstatement")&&C(a,i.column(),"statement",i.current());if(o=="variable"&&(a.prevToken=="def"||e.typeFirstDefinitions&&U(i,a,i.start)&&j(a.context)&&i.match(/^\s*\(/,!1))&&(o="def"),g.token){var f=g.token(i,a,o);f!==void 0&&(o=f)}return o=="def"&&e.styleDefs===!1&&(o="variable"),a.startOfLine=!1,a.prevToken=B?"def":o||p,re(i,a),o},indent:function(i,a,c){if(i.tokenize!=ne&&i.tokenize!=null||i.typeAtEndOfLine&&j(i.context))return null;var o=i.context,f=a&&a.charAt(0),S=f==o.type;if(o.type=="statement"&&f=="}"&&(o=o.prev),e.dontIndentStatements)for(;o.type=="statement"&&e.dontIndentStatements.test(o.info);)o=o.prev;if(g.indent){var ie=g.indent(i,o,a,c.unit);if(typeof ie=="number")return ie}var Re=o.prev&&o.prev.info=="switch";if(e.allmanIndentation&&/[{(]/.test(f)){for(;o.type!="top"&&o.type!="}";)o=o.prev;return o.indented}return o.type=="statement"?o.indented+(f=="{"?0:n||c.unit):o.align&&(!t||o.type!=")")?o.column+(S?0:1):o.type==")"&&!S?o.indented+(n||c.unit):o.indented+(S?0:c.unit)+(!S&&Re&&!/^(?:case|default)\b/.test(a)?c.unit:0)},languageData:le({indentOnInput:ze?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},autocomplete:Object.keys(l).concat(Object.keys(s)).concat(Object.keys(d)).concat(Object.keys(x))},e.languageData)}}function r(e){for(var n={},t=e.split(" "),l=0;l!?|\/#:@]/,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,n){return e.match('""')?(n.tokenize=H,n.tokenize(e,n)):!1},"'":function(e){return e.match(/^(\\[^'\s]+|[^\\'])'/)?"character":(e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom")},"=":function(e,n){var t=n.context;return t.type=="}"&&t.align&&e.eat(">")?(n.context=new O(t.indented,t.column,t.type,t.info,null,t.prev),"operator"):!1},"/":function(e,n){return e.eat("*")?(n.tokenize=L(1),n.tokenize(e,n)):!1}},languageData:{closeBrackets:{brackets:["(","[","{","'",'"','"""']}}});function ye(e){return function(n,t){for(var l=!1,s,d=!1;!n.eol();){if(!e&&!l&&n.match('"')){d=!0;break}if(e&&n.match('"""')){d=!0;break}s=n.next(),!l&&s=="$"&&n.match("{")&&n.skipTo("}"),l=!l&&s=="\\"&&!e}return(d||!e)&&(t.tokenize=null),"string"}}const ke=h({name:"kotlin",keywords:r("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam"),types:r("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:r("catch class do else finally for if where try while enum"),defKeywords:r("class val var object interface fun"),atoms:r("true false null this"),hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},"*":function(e,n){return n.prevToken=="."?"variable":"operator"},'"':function(e,n){return n.tokenize=ye(e.match('""')),n.tokenize(e,n)},"/":function(e,n){return e.eat("*")?(n.tokenize=L(1),n.tokenize(e,n)):!1},indent:function(e,n,t,l){var s=t&&t.charAt(0);if((e.prevToken=="}"||e.prevToken==")")&&t=="")return e.indented;if(e.prevToken=="operator"&&t!="}"&&e.context.type!="}"||e.prevToken=="variable"&&s=="."||(e.prevToken=="}"||e.prevToken==")")&&s==".")return l*2+n.indented;if(n.align&&n.type=="}")return n.indented+(e.context.type==(t||"").charAt(0)?0:l)}},languageData:{closeBrackets:{brackets:["(","[","{","'",'"','"""']}}}),me=h({name:"shader",keywords:r("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:r("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:r("for while do if else struct"),builtin:r("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:r("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TextureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":w}}),ge=h({name:"nesc",keywords:r(I+" as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:N,blockKeywords:r(D),atoms:r("null true false"),hooks:{"#":w}}),be=h({name:"objectivec",keywords:r(I+" "+A),types:q,builtin:r($),blockKeywords:r(D+" @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:r(M+" @interface @implementation @protocol @class"),dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:r("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:P,hooks:{"#":w,"*":E}}),we=h({name:"objectivecpp",keywords:r(I+" "+A+" "+K),types:q,builtin:r($),blockKeywords:r(D+" @synthesize @try @catch @finally @autoreleasepool @synchronized class try catch"),defKeywords:r(M+" @interface @implementation @protocol @class class namespace"),dontIndentStatements:/^@.*$|^template$/,typeFirstDefinitions:!0,atoms:r("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:P,hooks:{"#":w,"*":E,u:v,U:v,L:v,R:v,0:u,1:u,2:u,3:u,4:u,5:u,6:u,7:u,8:u,9:u,token:function(e,n,t){if(t=="variable"&&e.peek()=="("&&(n.prevToken==";"||n.prevToken==null||n.prevToken=="}")&&V(e.current()))return"def"}},namespaceSeparator:"::"}),ve=h({name:"squirrel",keywords:r("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:N,blockKeywords:r("case catch class else for foreach if switch try while"),defKeywords:r("function local class"),typeFirstDefinitions:!0,atoms:r("true false null"),hooks:{"#":w}});var R=null;function Q(e){return function(n,t){for(var l=!1,s,d=!1;!n.eol();){if(!l&&n.match('"')&&(e=="single"||n.match('""'))){d=!0;break}if(!l&&n.match("``")){R=Q(e),d=!0;break}s=n.next(),l=e=="single"&&!l&&s=="\\"}return d&&(t.tokenize=null),"string"}}const _e=h({name:"ceylon",keywords:r("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(e){var n=e.charAt(0);return n===n.toUpperCase()&&n!==n.toLowerCase()},blockKeywords:r("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:r("class dynamic function interface module object package value"),builtin:r("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:r("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,n){return n.tokenize=Q(e.match('""')?"triple":"single"),n.tokenize(e,n)},"`":function(e,n){return!R||!e.match("`")?!1:(n.tokenize=R,R=null,n.tokenize(e,n))},"'":function(e){return e.match(/^(\\[^'\s]+|[^\\'])'/)?"string.special":(e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom")},token:function(e,n,t){if((t=="variable"||t=="type")&&n.prevToken==".")return"variableName.special"}},languageData:{closeBrackets:{brackets:["(","[","{","'",'"','"""']}}});function xe(e){(e.interpolationStack||(e.interpolationStack=[])).push(e.tokenize)}function Z(e){return(e.interpolationStack||(e.interpolationStack=[])).pop()}function Se(e){return e.interpolationStack?e.interpolationStack.length:0}function F(e,n,t,l){var s=!1;if(n.eat(e))if(n.eat(e))s=!0;else return"string";function d(_,z){for(var x=!1;!_.eol();){if(!l&&!x&&_.peek()=="$")return xe(z),z.tokenize=Te,"string";var g=_.next();if(g==e&&!x&&(!s||_.match(e+e))){z.tokenize=null;break}x=!l&&!x&&g=="\\"}return"string"}return t.tokenize=d,d(n,t)}function Te(e,n){return e.eat("$"),e.eat("{")?n.tokenize=null:n.tokenize=Ie,null}function Ie(e,n){return e.eatWhile(/[\w_]/),n.tokenize=Z(n),"variable"}const Ne=h({name:"dart",keywords:r("this super static final const abstract class extends external factory implements mixin get native set typedef with enum throw rethrow assert break case continue default in return new deferred async await covariant try catch finally do else for if switch while import library export part of show hide is as extension on yield late required sealed base interface when inline"),blockKeywords:r("try catch finally do else for if switch while"),builtin:r("void bool num int double dynamic var String Null Never"),atoms:r("true false null"),hooks:{"@":function(e){return e.eatWhile(/[\w\$_\.]/),"meta"},"'":function(e,n){return F("'",e,n,!1)},'"':function(e,n){return F('"',e,n,!1)},r:function(e,n){var t=e.peek();return t=="'"||t=='"'?F(e.next(),e,n,!0):!1},"}":function(e,n){return Se(n)>0?(n.tokenize=Z(n),null):!1},"/":function(e,n){return e.eat("*")?(n.tokenize=L(1),n.tokenize(e,n)):!1},token:function(e,n,t){if(t=="variable"){var l=RegExp("^[_$]*[A-Z][a-zA-Z0-9_$]*$","g");if(l.test(e.current()))return"type"}}}})}}]); diff --git a/7988.f8614718.async.js b/7988.f8614718.async.js new file mode 100644 index 0000000000..574d783a60 --- /dev/null +++ b/7988.f8614718.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[7988],{17988:function(g,o,i){i.r(o),i.d(o,{mumps:function(){return b}});function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var $=new RegExp("^[\\+\\-\\*/&#!_?\\\\<>=\\'\\[\\]]"),c=new RegExp("^(('=)|(<=)|(>=)|('>)|('<)|([[)|(]])|(^$))"),u=new RegExp("^[\\.,:]"),d=new RegExp("[()]"),l=new RegExp("^[%A-Za-z][A-Za-z0-9]*"),a=["break","close","do","else","for","goto","halt","hang","if","job","kill","lock","merge","new","open","quit","read","set","tcommit","trollback","tstart","use","view","write","xecute","b","c","d","e","f","g","h","i","j","k","l","m","n","o","q","r","s","tc","tro","ts","u","v","w","x"],f=["\\$ascii","\\$char","\\$data","\\$ecode","\\$estack","\\$etrap","\\$extract","\\$find","\\$fnumber","\\$get","\\$horolog","\\$io","\\$increment","\\$job","\\$justify","\\$length","\\$name","\\$next","\\$order","\\$piece","\\$qlength","\\$qsubscript","\\$query","\\$quit","\\$random","\\$reverse","\\$select","\\$stack","\\$test","\\$text","\\$translate","\\$view","\\$x","\\$y","\\$a","\\$c","\\$d","\\$e","\\$ec","\\$es","\\$et","\\$f","\\$fn","\\$g","\\$h","\\$i","\\$j","\\$l","\\$n","\\$na","\\$o","\\$p","\\$q","\\$ql","\\$qs","\\$r","\\$re","\\$s","\\$st","\\$t","\\$tr","\\$v","\\$z"],m=t(f),s=t(a);function p(e,n){e.sol()&&(n.label=!0,n.commandMode=0);var r=e.peek();return r==" "||r==" "?(n.label=!1,n.commandMode==0?n.commandMode=1:(n.commandMode<0||n.commandMode==2)&&(n.commandMode=0)):r!="."&&n.commandMode>0&&(r==":"?n.commandMode=-1:n.commandMode=2),(r==="("||r===" ")&&(n.label=!1),r===";"?(e.skipToEnd(),"comment"):e.match(/^[-+]?\d+(\.\d+)?([eE][-+]?\d+)?/)?"number":r=='"'?e.skipTo('"')?(e.next(),"string"):(e.skipToEnd(),"error"):e.match(c)||e.match($)?"operator":e.match(u)?null:d.test(r)?(e.next(),"bracket"):n.commandMode>0&&e.match(s)?"controlKeyword":e.match(m)?"builtin":e.match(l)?"variable":r==="$"||r==="^"?(e.next(),"builtin"):r==="@"?(e.next(),"string.special"):/[\w%]/.test(r)?(e.eatWhile(/[\w%]/),"variable"):(e.next(),"error")}const b={name:"mumps",startState:function(){return{label:!1,commandMode:0}},token:function(e,n){var r=p(e,n);return n.label?"tag":r}}}}]); diff --git a/8007.d927e8c9.async.js b/8007.d927e8c9.async.js new file mode 100644 index 0000000000..5b6e50faa7 --- /dev/null +++ b/8007.d927e8c9.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[8007],{28007:function(ke,P,K){K.r(P),K.d(P,{stylus:function(){return me}});var L=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","bgsound","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","nobr","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","var","video"],q=["domain","regexp","url-prefix","url"],B=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],I=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","dynamic-range","video-dynamic-range"],R=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-position","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marker-offset","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode","font-smoothing","osx-font-smoothing"],O=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],W=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],C=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],N=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","column","compact","condensed","conic-gradient","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","dashed","decimal","decimal-leading-zero","default","default-button","destination-atop","destination-in","destination-out","destination-over","devanagari","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","footnotes","forwards","from","geometricPrecision","georgian","graytext","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hebrew","help","hidden","hide","high","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","malayalam","match","matrix","matrix3d","media-play-button","media-slider","media-sliderthumb","media-volume-slider","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeating-conic-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row-resize","rtl","run-in","running","s-resize","sans-serif","scale","scale3d","scaleX","scaleY","scaleZ","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","solid","somali","source-atop","source-in","source-out","source-over","space","spell-out","square","square-button","standard","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","x-large","x-small","xor","xx-large","xx-small","bicubic","optimizespeed","grayscale","row","row-reverse","wrap","wrap-reverse","column-reverse","flex-start","flex-end","space-between","space-around","unset"],S=["in","and","or","not","is not","is a","is","isnt","defined","if unless"],T=["for","if","else","unless","from","to"],E=["null","true","false","href","title","type","not-allowed","readonly","disabled"],H=["@font-face","@keyframes","@media","@viewport","@page","@host","@supports","@block","@css"],J=L.concat(q,B,I,R,O,C,N,W,S,T,E,H);function U(i){return i=i.sort(function(e,r){return r>e}),new RegExp("^(("+i.join(")|(")+"))\\b")}function f(i){for(var e={},r=0;r]=?|\?:|\~)/,ue=U(S),fe=f(T),F=new RegExp(/^\-(moz|ms|o|webkit)-/i),pe=f(E),j="",c={},h,m,X,t;function he(i,e){if(j=i.string.match(/(^[\w-]+\s*=\s*$)|(^\s*[\w-]+\s*=\s*[\w-])|(^\s*(\.|#|@|\$|\&|\[|\d|\+|::?|\{|\>|~|\/)?\s*[\w-]*([a-z0-9-]|\*|\/\*)(\(|,)?)/),e.context.line.firstWord=j?j[0].replace(/^\s*/,""):"",e.context.line.indent=i.indentation(),h=i.peek(),i.match("//"))return i.skipToEnd(),["comment","comment"];if(i.match("/*"))return e.tokenize=Y,Y(i,e);if(h=='"'||h=="'")return i.next(),e.tokenize=Z(h),e.tokenize(i,e);if(h=="@")return i.next(),i.eatWhile(/[\w\\-]/),["def",i.current()];if(h=="#"){if(i.next(),i.match(/^[0-9a-f]{3}([0-9a-f]([0-9a-f]{2}){0,2})?\b(?!-)/i))return["atom","atom"];if(i.match(/^[a-z][\w-]*/i))return["builtin","hash"]}return i.match(F)?["meta","vendor-prefixes"]:i.match(/^-?[0-9]?\.?[0-9]/)?(i.eatWhile(/[a-z%]/i),["number","unit"]):h=="!"?(i.next(),[i.match(/^(important|optional)/i)?"keyword":"operator","important"]):h=="."&&i.match(/^\.[a-z][\w-]*/i)?["qualifier","qualifier"]:i.match(ae)?(i.peek()=="("&&(e.tokenize=ge),["property","word"]):i.match(/^[a-z][\w-]*\(/i)?(i.backUp(1),["keyword","mixin"]):i.match(/^(\+|-)[a-z][\w-]*\(/i)?(i.backUp(1),["keyword","block-mixin"]):i.string.match(/^\s*&/)&&i.match(/^[-_]+[a-z][\w-]*/)?["qualifier","qualifier"]:i.match(/^(\/|&)(-|_|:|\.|#|[a-z])/)?(i.backUp(1),["variableName.special","reference"]):i.match(/^&{1}\s*$/)?["variableName.special","reference"]:i.match(ue)?["operator","operator"]:i.match(/^\$?[-_]*[a-z0-9]+[\w-]*/i)?i.match(/^(\.|\[)[\w-\'\"\]]+/i,!1)&&!g(i.current())?(i.match("."),["variable","variable-name"]):["variable","word"]:i.match(se)?["operator",i.current()]:/[:;,{}\[\]\(\)]/.test(h)?(i.next(),[null,h]):(i.next(),[null,null])}function Y(i,e){for(var r=!1,o;(o=i.next())!=null;){if(r&&o=="/"){e.tokenize=null;break}r=o=="*"}return["comment","comment"]}function Z(i){return function(e,r){for(var o=!1,l;(l=e.next())!=null;){if(l==i&&!o){i==")"&&e.backUp(1);break}o=!o&&l=="\\"}return(l==i||!o&&i!=")")&&(r.tokenize=null),["string","string"]}}function ge(i,e){return i.next(),i.match(/\s*[\"\')]/,!1)?e.tokenize=null:e.tokenize=Z(")"),[null,"("]}function V(i,e,r,o){this.type=i,this.indent=e,this.prev=r,this.line=o||{firstWord:"",indent:0}}function n(i,e,r,o){return o=o>=0?o:e.indentUnit,i.context=new V(r,e.indentation()+o,i.context),r}function k(i,e,r){var o=i.context.indent-e.indentUnit;return r=r||!1,i.context=i.context.prev,r&&(i.context.indent=o),i.context.type}function be(i,e,r){return c[r.context.type](i,e,r)}function _(i,e,r,o){for(var l=o||1;l>0;l--)r.context=r.context.prev;return be(i,e,r)}function g(i){return i.toLowerCase()in ee}function w(i){return i=i.toLowerCase(),i in ie||i in de}function v(i){return i.toLowerCase()in fe}function D(i){return i.toLowerCase().match(F)}function x(i){var e=i.toLowerCase(),r="variable";return g(i)?r="tag":v(i)?r="block-keyword":w(i)?r="property":e in ne||e in pe?r="atom":e=="return"||e in oe?r="keyword":i.match(/^[A-Z]/)&&(r="string"),r}function M(i,e){return a(e)&&(i=="{"||i=="]"||i=="hash"||i=="qualifier")||i=="block-mixin"}function A(i,e){return i=="{"&&e.match(/^\s*\$?[\w-]+/i,!1)}function G(i,e){return i==":"&&e.match(/^[a-z-]+/,!1)}function y(i){return i.sol()||i.string.match(new RegExp("^\\s*"+Q(i.current())))}function a(i){return i.eol()||i.match(/^\s*$/,!1)}function d(i){var e=/^\s*[-_]*[a-z0-9]+[\w-]*/i,r=typeof i=="string"?i.match(e):i.string.match(e);return r?r[0].replace(/^\s*/,""):""}c.block=function(i,e,r){if(i=="comment"&&y(e)||i==","&&a(e)||i=="mixin")return n(r,e,"block",0);if(A(i,e))return n(r,e,"interpolation");if(a(e)&&i=="]"&&!/^\s*(\.|#|:|\[|\*|&)/.test(e.string)&&!g(d(e)))return n(r,e,"block",0);if(M(i,e))return n(r,e,"block");if(i=="}"&&a(e))return n(r,e,"block",0);if(i=="variable-name")return e.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/)||v(d(e))?n(r,e,"variableName"):n(r,e,"variableName",0);if(i=="=")return!a(e)&&!v(d(e))?n(r,e,"block",0):n(r,e,"block");if(i=="*"&&(a(e)||e.match(/\s*(,|\.|#|\[|:|{)/,!1)))return t="tag",n(r,e,"block");if(G(i,e))return n(r,e,"pseudo");if(/@(font-face|media|supports|(-moz-)?document)/.test(i))return n(r,e,a(e)?"block":"atBlock");if(/@(-(moz|ms|o|webkit)-)?keyframes$/.test(i))return n(r,e,"keyframes");if(/@extends?/.test(i))return n(r,e,"extend",0);if(i&&i.charAt(0)=="@")return e.indentation()>0&&w(e.current().slice(1))?(t="variable","block"):/(@import|@require|@charset)/.test(i)?n(r,e,"block",0):n(r,e,"block");if(i=="reference"&&a(e))return n(r,e,"block");if(i=="(")return n(r,e,"parens");if(i=="vendor-prefixes")return n(r,e,"vendorPrefixes");if(i=="word"){var o=e.current();if(t=x(o),t=="property")return y(e)?n(r,e,"block",0):(t="atom","block");if(t=="tag"){if(/embed|menu|pre|progress|sub|table/.test(o)&&w(d(e))||e.string.match(new RegExp("\\[\\s*"+o+"|"+o+"\\s*\\]")))return t="atom","block";if($.test(o)&&(y(e)&&e.string.match(/=/)||!y(e)&&!e.string.match(/^(\s*\.|#|\&|\[|\/|>|\*)/)&&!g(d(e))))return t="variable",v(d(e))?"block":n(r,e,"block",0);if(a(e))return n(r,e,"block")}if(t=="block-keyword")return t="keyword",e.current(/(if|unless)/)&&!y(e)?"block":n(r,e,"block");if(o=="return")return n(r,e,"block",0);if(t=="variable"&&e.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/))return n(r,e,"block")}return r.context.type},c.parens=function(i,e,r){if(i=="(")return n(r,e,"parens");if(i==")")return r.context.prev.type=="parens"?k(r,e):e.string.match(/^[a-z][\w-]*\(/i)&&a(e)||v(d(e))||/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(d(e))||!e.string.match(/^-?[a-z][\w-\.\[\]\'\"]*\s*=/)&&g(d(e))?n(r,e,"block"):e.string.match(/^[\$-]?[a-z][\w-\.\[\]\'\"]*\s*=/)||e.string.match(/^\s*(\(|\)|[0-9])/)||e.string.match(/^\s+[a-z][\w-]*\(/i)||e.string.match(/^\s+[\$-]?[a-z]/i)?n(r,e,"block",0):a(e)?n(r,e,"block"):n(r,e,"block",0);if(i&&i.charAt(0)=="@"&&w(e.current().slice(1))&&(t="variable"),i=="word"){var o=e.current();t=x(o),t=="tag"&&$.test(o)&&(t="variable"),(t=="property"||o=="to")&&(t="atom")}return i=="variable-name"?n(r,e,"variableName"):G(i,e)?n(r,e,"pseudo"):r.context.type},c.vendorPrefixes=function(i,e,r){return i=="word"?(t="property",n(r,e,"block",0)):k(r,e)},c.pseudo=function(i,e,r){return w(d(e.string))?_(i,e,r):(e.match(/^[a-z-]+/),t="variableName.special",a(e)?n(r,e,"block"):k(r,e))},c.atBlock=function(i,e,r){if(i=="(")return n(r,e,"atBlock_parens");if(M(i,e))return n(r,e,"block");if(A(i,e))return n(r,e,"interpolation");if(i=="word"){var o=e.current().toLowerCase();if(/^(only|not|and|or)$/.test(o)?t="keyword":te.hasOwnProperty(o)?t="tag":ce.hasOwnProperty(o)?t="attribute":le.hasOwnProperty(o)?t="property":re.hasOwnProperty(o)?t="string.special":t=x(e.current()),t=="tag"&&a(e))return n(r,e,"block")}return i=="operator"&&/^(not|and|or)$/.test(e.current())&&(t="keyword"),r.context.type},c.atBlock_parens=function(i,e,r){if(i=="{"||i=="}")return r.context.type;if(i==")")return a(e)?n(r,e,"block"):n(r,e,"atBlock");if(i=="word"){var o=e.current().toLowerCase();return t=x(o),/^(max|min)/.test(o)&&(t="property"),t=="tag"&&($.test(o)?t="variable":t="atom"),r.context.type}return c.atBlock(i,e,r)},c.keyframes=function(i,e,r){return e.indentation()=="0"&&(i=="}"&&y(e)||i=="]"||i=="hash"||i=="qualifier"||g(e.current()))?_(i,e,r):i=="{"?n(r,e,"keyframes"):i=="}"?y(e)?k(r,e,!0):n(r,e,"keyframes"):i=="unit"&&/^[0-9]+\%$/.test(e.current())?n(r,e,"keyframes"):i=="word"&&(t=x(e.current()),t=="block-keyword")?(t="keyword",n(r,e,"keyframes")):/@(font-face|media|supports|(-moz-)?document)/.test(i)?n(r,e,a(e)?"block":"atBlock"):i=="mixin"?n(r,e,"block",0):r.context.type},c.interpolation=function(i,e,r){return i=="{"&&k(r,e)&&n(r,e,"block"),i=="}"?e.string.match(/^\s*(\.|#|:|\[|\*|&|>|~|\+|\/)/i)||e.string.match(/^\s*[a-z]/i)&&g(d(e))?n(r,e,"block"):!e.string.match(/^(\{|\s*\&)/)||e.match(/\s*[\w-]/,!1)?n(r,e,"block",0):n(r,e,"block"):i=="variable-name"?n(r,e,"variableName",0):(i=="word"&&(t=x(e.current()),t=="tag"&&(t="atom")),r.context.type)},c.extend=function(i,e,r){return i=="["||i=="="?"extend":i=="]"?k(r,e):i=="word"?(t=x(e.current()),"extend"):k(r,e)},c.variableName=function(i,e,r){return i=="string"||i=="["||i=="]"||e.current().match(/^(\.|\$)/)?(e.current().match(/^\.[\w-]+/i)&&(t="variable"),"variableName"):_(i,e,r)};const me={name:"stylus",startState:function(){return{tokenize:null,state:"block",context:new V("block",0,null)}},token:function(i,e){return!e.tokenize&&i.eatSpace()?null:(m=(e.tokenize||he)(i,e),m&&typeof m=="object"&&(X=m[1],m=m[0]),t=m,e.state=c[e.state](X,i,e),t)},indent:function(i,e,r){var o=i.context,l=e&&e.charAt(0),p=o.indent,z=d(e),b=r.lineIndent(r.pos),s=i.context.prev?i.context.prev.line.firstWord:"",u=i.context.prev?i.context.prev.line.indent:b;return o.prev&&(l=="}"&&(o.type=="block"||o.type=="atBlock"||o.type=="keyframes")||l==")"&&(o.type=="parens"||o.type=="atBlock_parens")||l=="{"&&o.type=="at")?p=o.indent-r.unit:/(\})/.test(l)||(/@|\$|\d/.test(l)||/^\{/.test(e)||/^\s*\/(\/|\*)/.test(e)||/^\s*\/\*/.test(s)||/^\s*[\w-\.\[\]\'\"]+\s*(\?|:|\+)?=/i.test(e)||/^(\+|-)?[a-z][\w-]*\(/i.test(e)||/^return/.test(e)||v(z)?p=b:/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(l)||g(z)?/\,\s*$/.test(s)?p=u:!i.sol()&&(/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(s)||g(s))?p=b<=u?u:u+r.unit:p=b:!/,\s*$/.test(e)&&(D(z)||w(z))&&(v(s)?p=b<=u?u:u+r.unit:/^\{/.test(s)?p=b<=u?b:u+r.unit:D(s)||w(s)?p=b>=u?u:b:/^(\.|#|:|\[|\*|&|@|\+|\-|>|~|\/)/.test(s)||/=\s*$/.test(s)||g(s)||/^\$[\w-\.\[\]\'\"]/.test(s)?p=u+r.unit:p=b)),p},languageData:{indentOnInput:/^\s*\}$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},autocomplete:J}}}}]); diff --git a/8029.e8f5ec11.async.js b/8029.e8f5ec11.async.js new file mode 100644 index 0000000000..4a7f11df2b --- /dev/null +++ b/8029.e8f5ec11.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[8029],{58029:function(d,o,i){i.r(o),i.d(o,{asciiArmor:function(){return f}});function t(e){var n=e.match(/^\s*\S/);return e.skipToEnd(),n?"error":null}const f={name:"asciiarmor",token:function(e,n){var r;if(n.state=="top")return e.sol()&&(r=e.match(/^-----BEGIN (.*)?-----\s*$/))?(n.state="headers",n.type=r[1],"tag"):t(e);if(n.state=="headers"){if(e.sol()&&e.match(/^\w+:/))return n.state="header","atom";var u=t(e);return u&&(n.state="body"),u}else{if(n.state=="header")return e.skipToEnd(),n.state="headers","string";if(n.state=="body")return e.sol()&&(r=e.match(/^-----END (.*)?-----\s*$/))?r[1]!=n.type?"error":(n.state="end","tag"):e.eatWhile(/[A-Za-z0-9+\/=]/)?null:(e.next(),"error");if(n.state=="end")return t(e)}},blankLine:function(e){e.state=="headers"&&(e.state="body")},startState:function(){return{state:"top",type:null}}}}}]); diff --git a/8142.729273dc.async.js b/8142.729273dc.async.js new file mode 100644 index 0000000000..9ce7c073a0 --- /dev/null +++ b/8142.729273dc.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[8142],{78142:function(d,n,t){t.r(n),t.d(n,{protobuf:function(){return a}});function u(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var r=["package","message","import","syntax","required","optional","repeated","reserved","default","extensions","packed","bool","bytes","double","enum","float","string","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","option","service","rpc","returns"],i=u(r),f=new RegExp("^[_A-Za-z\xA1-\uFFFF][_A-Za-z0-9\xA1-\uFFFF]*");function o(e){return e.eatSpace()?null:e.match("//")?(e.skipToEnd(),"comment"):e.match(/^[0-9\.+-]/,!1)&&(e.match(/^[+-]?0x[0-9a-fA-F]+/)||e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))?"number":e.match(/^"([^"]|(""))*"/)||e.match(/^'([^']|(''))*'/)?"string":e.match(i)?"keyword":e.match(f)?"variable":(e.next(),null)}const a={name:"protobuf",token:o,languageData:{autocomplete:r}}}}]); diff --git a/8171.380cfcab.async.js b/8171.380cfcab.async.js new file mode 100644 index 0000000000..4aeee3ae81 --- /dev/null +++ b/8171.380cfcab.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[8171],{82885:function(s,n,c){c.r(n),c.d(n,{rpmChanges:function(){return t},rpmSpec:function(){return g}});var o=/^-+$/,a=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ?\d{1,2} \d{2}:\d{2}(:\d{2})? [A-Z]{3,4} \d{4} - /,i=/^[\w+.-]+@[\w.-]+/;const t={name:"rpmchanges",token:function(r){return r.sol()&&(r.match(o)||r.match(a))?"tag":r.match(i)?"string":(r.next(),null)}};var l=/^(i386|i586|i686|x86_64|ppc64le|ppc64|ppc|ia64|s390x|s390|sparc64|sparcv9|sparc|noarch|alphaev6|alpha|hppa|mipsel)/,u=/^[a-zA-Z0-9()]+:/,p=/^%(debug_package|package|description|prep|build|install|files|clean|changelog|preinstall|preun|postinstall|postun|pretrans|posttrans|pre|post|triggerin|triggerun|verifyscript|check|triggerpostun|triggerprein|trigger)/,f=/^%(ifnarch|ifarch|if)/,h=/^%(else|endif)/,d=/^(\!|\?|\<\=|\<|\>\=|\>|\=\=|\&\&|\|\|)/;const g={name:"rpmspec",startState:function(){return{controlFlow:!1,macroParameters:!1,section:!1}},token:function(r,e){var m=r.peek();if(m=="#")return r.skipToEnd(),"comment";if(r.sol()){if(r.match(u))return"header";if(r.match(p))return"atom"}if(r.match(/^\$\w+/)||r.match(/^\$\{\w+\}/))return"def";if(r.match(h))return"keyword";if(r.match(f))return e.controlFlow=!0,"keyword";if(e.controlFlow){if(r.match(d))return"operator";if(r.match(/^(\d+)/))return"number";r.eol()&&(e.controlFlow=!1)}if(r.match(l))return r.eol()&&(e.controlFlow=!1),"number";if(r.match(/^%[\w]+/))return r.match("(")&&(e.macroParameters=!0),"keyword";if(e.macroParameters){if(r.match(/^\d+/))return"number";if(r.match(")"))return e.macroParameters=!1,"keyword"}return r.match(/^%\{\??[\w \-\:\!]+\}/)?(r.eol()&&(e.controlFlow=!1),"def"):(r.next(),null)}}}}]); diff --git a/8211.03f86053.async.js b/8211.03f86053.async.js new file mode 100644 index 0000000000..63433504e8 --- /dev/null +++ b/8211.03f86053.async.js @@ -0,0 +1,113 @@ +var Fa=Object.defineProperty,Ga=Object.defineProperties;var Ha=Object.getOwnPropertyDescriptors;var Ba=Object.getOwnPropertySymbols;var qa=Object.prototype.hasOwnProperty,Ja=Object.prototype.propertyIsEnumerable;var Vl=(Ye,Ae,a)=>Ae in Ye?Fa(Ye,Ae,{enumerable:!0,configurable:!0,writable:!0,value:a}):Ye[Ae]=a,mn=(Ye,Ae)=>{for(var a in Ae||(Ae={}))qa.call(Ae,a)&&Vl(Ye,a,Ae[a]);if(Ba)for(var a of Ba(Ae))Ja.call(Ae,a)&&Vl(Ye,a,Ae[a]);return Ye},xn=(Ye,Ae)=>Ga(Ye,Ha(Ae));var mi=(Ye,Ae,a)=>(Vl(Ye,typeof Ae!="symbol"?Ae+"":Ae,a),a),Ul=(Ye,Ae,a)=>{if(!Ae.has(Ye))throw TypeError("Cannot "+a)};var Se=(Ye,Ae,a)=>(Ul(Ye,Ae,"read from private field"),a?a.call(Ye):Ae.get(Ye)),gn=(Ye,Ae,a)=>{if(Ae.has(Ye))throw TypeError("Cannot add the same private member more than once");Ae instanceof WeakSet?Ae.add(Ye):Ae.set(Ye,a)},an=(Ye,Ae,a,o)=>(Ul(Ye,Ae,"write to private field"),o?o.call(Ye,a):Ae.set(Ye,a),a),Wo=(Ye,Ae,a,o)=>({set _(y){an(Ye,Ae,y,a)},get _(){return Se(Ye,Ae,o)}}),rn=(Ye,Ae,a)=>(Ul(Ye,Ae,"access private method"),a);var Fl=(Ye,Ae,a)=>new Promise((o,y)=>{var p=$=>{try{Z(a.next($))}catch(R){y(R)}},v=$=>{try{Z(a.throw($))}catch(R){y(R)}},Z=$=>$.done?o($.value):Promise.resolve($.value).then(p,v);Z((a=a.apply(Ye,Ae)).next())});(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[8211],{39280:function(){"use strict"},20640:function(Ye,Ae,a){"use strict";var o=a(11742),y={"text/plain":"Text","text/html":"Url",default:"Text"},p="Copy to clipboard: #{key}, Enter";function v($){var R=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return $.replace(/#{\s*key\s*}/g,R)}function Z($,R){var L,_,G,te,K,ye,he=!1;R||(R={}),L=R.debug||!1;try{G=o(),te=document.createRange(),K=document.getSelection(),ye=document.createElement("span"),ye.textContent=$,ye.ariaHidden="true",ye.style.all="unset",ye.style.position="fixed",ye.style.top=0,ye.style.clip="rect(0, 0, 0, 0)",ye.style.whiteSpace="pre",ye.style.webkitUserSelect="text",ye.style.MozUserSelect="text",ye.style.msUserSelect="text",ye.style.userSelect="text",ye.addEventListener("copy",function(ge){if(ge.stopPropagation(),R.format)if(ge.preventDefault(),typeof ge.clipboardData=="undefined"){L&&console.warn("unable to use e.clipboardData"),L&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var je=y[R.format]||y.default;window.clipboardData.setData(je,$)}else ge.clipboardData.clearData(),ge.clipboardData.setData(R.format,$);R.onCopy&&(ge.preventDefault(),R.onCopy(ge.clipboardData))}),document.body.appendChild(ye),te.selectNodeContents(ye),K.addRange(te);var $e=document.execCommand("copy");if(!$e)throw new Error("copy command was unsuccessful");he=!0}catch(ge){L&&console.error("unable to copy using execCommand: ",ge),L&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(R.format||"text",$),R.onCopy&&R.onCopy(window.clipboardData),he=!0}catch(je){L&&console.error("unable to copy using clipboardData: ",je),L&&console.error("falling back to prompt"),_=v("message"in R?R.message:p),window.prompt(_,$)}}finally{K&&(typeof K.removeRange=="function"?K.removeRange(te):K.removeAllRanges()),ye&&document.body.removeChild(ye),G()}return he}Ye.exports=Z},68337:function(Ye,Ae,a){"use strict";function o(ke){var ve=Array.prototype.slice.call(arguments,1);return ve.forEach(function(We){We&&Object.keys(We).forEach(function(it){ke[it]=We[it]})}),ke}function y(ke){return Object.prototype.toString.call(ke)}function p(ke){return y(ke)==="[object String]"}function v(ke){return y(ke)==="[object Object]"}function Z(ke){return y(ke)==="[object RegExp]"}function $(ke){return y(ke)==="[object Function]"}function R(ke){return ke.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var L={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function _(ke){return Object.keys(ke||{}).reduce(function(ve,We){return ve||L.hasOwnProperty(We)},!1)}var G={"http:":{validate:function(ke,ve,We){var it=ke.slice(ve);return We.re.http||(We.re.http=new RegExp("^\\/\\/"+We.re.src_auth+We.re.src_host_port_strict+We.re.src_path,"i")),We.re.http.test(it)?it.match(We.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(ke,ve,We){var it=ke.slice(ve);return We.re.no_http||(We.re.no_http=new RegExp("^"+We.re.src_auth+"(?:localhost|(?:(?:"+We.re.src_domain+")\\.)+"+We.re.src_domain_root+")"+We.re.src_port+We.re.src_host_terminator+We.re.src_path,"i")),We.re.no_http.test(it)?ve>=3&&ke[ve-3]===":"||ve>=3&&ke[ve-3]==="/"?0:it.match(We.re.no_http)[0].length:0}},"mailto:":{validate:function(ke,ve,We){var it=ke.slice(ve);return We.re.mailto||(We.re.mailto=new RegExp("^"+We.re.src_email_name+"@"+We.re.src_host_strict,"i")),We.re.mailto.test(it)?it.match(We.re.mailto)[0].length:0}}},te="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",K="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function ye(ke){ke.__index__=-1,ke.__text_cache__=""}function he(ke){return function(ve,We){var it=ve.slice(We);return ke.test(it)?it.match(ke)[0].length:0}}function $e(){return function(ke,ve){ve.normalize(ke)}}function ge(ke){var ve=ke.re=a(36066)(ke.__opts__),We=ke.__tlds__.slice();ke.onCompile(),ke.__tlds_replaced__||We.push(te),We.push(ve.src_xn),ve.src_tlds=We.join("|");function it(Ge){return Ge.replace("%TLDS%",ve.src_tlds)}ve.email_fuzzy=RegExp(it(ve.tpl_email_fuzzy),"i"),ve.link_fuzzy=RegExp(it(ve.tpl_link_fuzzy),"i"),ve.link_no_ip_fuzzy=RegExp(it(ve.tpl_link_no_ip_fuzzy),"i"),ve.host_fuzzy_test=RegExp(it(ve.tpl_host_fuzzy_test),"i");var nt=[];ke.__compiled__={};function rt(Ge,pt){throw new Error('(LinkifyIt) Invalid schema "'+Ge+'": '+pt)}Object.keys(ke.__schemas__).forEach(function(Ge){var pt=ke.__schemas__[Ge];if(pt!==null){var Rt={validate:null,link:null};if(ke.__compiled__[Ge]=Rt,v(pt)){Z(pt.validate)?Rt.validate=he(pt.validate):$(pt.validate)?Rt.validate=pt.validate:rt(Ge,pt),$(pt.normalize)?Rt.normalize=pt.normalize:pt.normalize?rt(Ge,pt):Rt.normalize=$e();return}if(p(pt)){nt.push(Ge);return}rt(Ge,pt)}}),nt.forEach(function(Ge){ke.__compiled__[ke.__schemas__[Ge]]&&(ke.__compiled__[Ge].validate=ke.__compiled__[ke.__schemas__[Ge]].validate,ke.__compiled__[Ge].normalize=ke.__compiled__[ke.__schemas__[Ge]].normalize)}),ke.__compiled__[""]={validate:null,normalize:$e()};var ft=Object.keys(ke.__compiled__).filter(function(Ge){return Ge.length>0&&ke.__compiled__[Ge]}).map(R).join("|");ke.re.schema_test=RegExp("(^|(?!_)(?:[><\uFF5C]|"+ve.src_ZPCc+"))("+ft+")","i"),ke.re.schema_search=RegExp("(^|(?!_)(?:[><\uFF5C]|"+ve.src_ZPCc+"))("+ft+")","ig"),ke.re.schema_at_start=RegExp("^"+ke.re.schema_search.source,"i"),ke.re.pretest=RegExp("("+ke.re.schema_test.source+")|("+ke.re.host_fuzzy_test.source+")|@","i"),ye(ke)}function je(ke,ve){var We=ke.__index__,it=ke.__last_index__,nt=ke.__text_cache__.slice(We,it);this.schema=ke.__schema__.toLowerCase(),this.index=We+ve,this.lastIndex=it+ve,this.raw=nt,this.text=nt,this.url=nt}function Pe(ke,ve){var We=new je(ke,ve);return ke.__compiled__[We.schema].normalize(We,ke),We}function Ne(ke,ve){if(!(this instanceof Ne))return new Ne(ke,ve);ve||_(ke)&&(ve=ke,ke={}),this.__opts__=o({},L,ve),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=o({},G,ke),this.__compiled__={},this.__tlds__=K,this.__tlds_replaced__=!1,this.re={},ge(this)}Ne.prototype.add=function(ve,We){return this.__schemas__[ve]=We,ge(this),this},Ne.prototype.set=function(ve){return this.__opts__=o(this.__opts__,ve),this},Ne.prototype.test=function(ve){if(this.__text_cache__=ve,this.__index__=-1,!ve.length)return!1;var We,it,nt,rt,ft,Ge,pt,Rt,Ee;if(this.re.schema_test.test(ve)){for(pt=this.re.schema_search,pt.lastIndex=0;(We=pt.exec(ve))!==null;)if(rt=this.testSchemaAt(ve,We[2],pt.lastIndex),rt){this.__schema__=We[2],this.__index__=We.index+We[1].length,this.__last_index__=We.index+We[0].length+rt;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(Rt=ve.search(this.re.host_fuzzy_test),Rt>=0&&(this.__index__<0||Rt=0&&(nt=ve.match(this.re.email_fuzzy))!==null&&(ft=nt.index+nt[1].length,Ge=nt.index+nt[0].length,(this.__index__<0||ftthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=ft,this.__last_index__=Ge))),this.__index__>=0},Ne.prototype.pretest=function(ve){return this.re.pretest.test(ve)},Ne.prototype.testSchemaAt=function(ve,We,it){return this.__compiled__[We.toLowerCase()]?this.__compiled__[We.toLowerCase()].validate(ve,it,this):0},Ne.prototype.match=function(ve){var We=0,it=[];this.__index__>=0&&this.__text_cache__===ve&&(it.push(Pe(this,We)),We=this.__last_index__);for(var nt=We?ve.slice(We):ve;this.test(nt);)it.push(Pe(this,We)),nt=nt.slice(this.__last_index__),We+=this.__last_index__;return it.length?it:null},Ne.prototype.matchAtStart=function(ve){if(this.__text_cache__=ve,this.__index__=-1,!ve.length)return null;var We=this.re.schema_at_start.exec(ve);if(!We)return null;var it=this.testSchemaAt(ve,We[2],We[0].length);return it?(this.__schema__=We[2],this.__index__=We.index+We[1].length,this.__last_index__=We.index+We[0].length+it,Pe(this,0)):null},Ne.prototype.tlds=function(ve,We){return ve=Array.isArray(ve)?ve:[ve],We?(this.__tlds__=this.__tlds__.concat(ve).sort().filter(function(it,nt,rt){return it!==rt[nt-1]}).reverse(),ge(this),this):(this.__tlds__=ve.slice(),this.__tlds_replaced__=!0,ge(this),this)},Ne.prototype.normalize=function(ve){ve.schema||(ve.url="http://"+ve.url),ve.schema==="mailto:"&&!/^mailto:/i.test(ve.url)&&(ve.url="mailto:"+ve.url)},Ne.prototype.onCompile=function(){},Ye.exports=Ne},36066:function(Ye,Ae,a){"use strict";Ye.exports=function(o){var y={};o=o||{},y.src_Any=a(29369).source,y.src_Cc=a(99413).source,y.src_Z=a(35045).source,y.src_P=a(73189).source,y.src_ZPCc=[y.src_Z,y.src_P,y.src_Cc].join("|"),y.src_ZCc=[y.src_Z,y.src_Cc].join("|");var p="[><\uFF5C]";return y.src_pseudo_letter="(?:(?!"+p+"|"+y.src_ZPCc+")"+y.src_Any+")",y.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",y.src_auth="(?:(?:(?!"+y.src_ZCc+"|[@/\\[\\]()]).)+@)?",y.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",y.src_host_terminator="(?=$|"+p+"|"+y.src_ZPCc+")(?!"+(o["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+y.src_ZPCc+"))",y.src_path="(?:[/?#](?:(?!"+y.src_ZCc+"|"+p+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+y.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+y.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+y.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+y.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+y.src_ZCc+"|[']).)+\\'|\\'(?="+y.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+y.src_ZCc+"|[.]|$)|"+(o["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+y.src_ZCc+"|$)|;(?!"+y.src_ZCc+"|$)|\\!+(?!"+y.src_ZCc+"|[!]|$)|\\?(?!"+y.src_ZCc+"|[?]|$))+|\\/)?",y.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',y.src_xn="xn--[a-z0-9\\-]{1,59}",y.src_domain_root="(?:"+y.src_xn+"|"+y.src_pseudo_letter+"{1,63})",y.src_domain="(?:"+y.src_xn+"|(?:"+y.src_pseudo_letter+")|(?:"+y.src_pseudo_letter+"(?:-|"+y.src_pseudo_letter+"){0,61}"+y.src_pseudo_letter+"))",y.src_host="(?:(?:(?:(?:"+y.src_domain+")\\.)*"+y.src_domain+"))",y.tpl_host_fuzzy="(?:"+y.src_ip4+"|(?:(?:(?:"+y.src_domain+")\\.)+(?:%TLDS%)))",y.tpl_host_no_ip_fuzzy="(?:(?:(?:"+y.src_domain+")\\.)+(?:%TLDS%))",y.src_host_strict=y.src_host+y.src_host_terminator,y.tpl_host_fuzzy_strict=y.tpl_host_fuzzy+y.src_host_terminator,y.src_host_port_strict=y.src_host+y.src_port+y.src_host_terminator,y.tpl_host_port_fuzzy_strict=y.tpl_host_fuzzy+y.src_port+y.src_host_terminator,y.tpl_host_port_no_ip_fuzzy_strict=y.tpl_host_no_ip_fuzzy+y.src_port+y.src_host_terminator,y.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+y.src_ZPCc+"|>|$))",y.tpl_email_fuzzy="(^|"+p+'|"|\\(|'+y.src_ZCc+")("+y.src_email_name+"@"+y.tpl_host_fuzzy_strict+")",y.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uFF5C]|"+y.src_ZPCc+"))((?![$+<=>^`|\uFF5C])"+y.tpl_host_port_fuzzy_strict+y.src_path+")",y.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uFF5C]|"+y.src_ZPCc+"))((?![$+<=>^`|\uFF5C])"+y.tpl_host_port_no_ip_fuzzy_strict+y.src_path+")",y}},10226:function(Ye){"use strict";Ye.exports=function(Ae,a){var o=Ae.renderer.rules.fence,y=Ae.utils.unescapeAll,p=/\[(\w*)(?::([\w ]*))?\]/;function v(L){return L.info?y(L.info).trim():""}function Z(L){var _=v(L),[G=null,te=""]=(p.exec(_)||[]).slice(1);return[G,te]}function $(L){var _=v(L);return _?_.split(/(\s+)/g)[0]:""}function R(L,_,G,te,K){if(L[_].hidden)return"";const[ye,he]=Z(L[_]);if(ye===null)return o(L,_,G,te,K);var $e,ge,je,Pe,Ne="",ke="";for(let ve=_;ve0?"":" checked",Ne+=`
  • +`,ke+=` +`+o(L,ve,G,te,K);return`
    +
      +`+Ne+`
    +`+ke+"
    "}Ae.renderer.rules.fence=R}},84651:function(Ye){var Ae=!0,a=!1,o=!1;Ye.exports=function(he,$e){$e&&(Ae=!$e.enabled,a=!!$e.label,o=!!$e.labelAfter),he.core.ruler.after("inline","github-task-lists",function(ge){for(var je=ge.tokens,Pe=2;Pe=0;je--)if(he[je].level===ge)return je;return-1}function v(he,$e){return G(he[$e])&&te(he[$e-1])&&K(he[$e-2])&&ye(he[$e])}function Z(he,$e){if(he.children.unshift($(he,$e)),he.children[1].content=he.children[1].content.slice(3),he.content=he.content.slice(3),a)if(o){he.children.pop();var ge="task-item-"+Math.ceil(Math.random()*(1e4*1e3)-1e3);he.children[0].content=he.children[0].content.slice(0,-1)+' id="'+ge+'">',he.children.push(_(he.content,ge,$e))}else he.children.unshift(R($e)),he.children.push(L($e))}function $(he,$e){var ge=new $e("html_inline","",0),je=Ae?' disabled="" ':"";return he.content.indexOf("[ ] ")===0?ge.content='':(he.content.indexOf("[x] ")===0||he.content.indexOf("[X] ")===0)&&(ge.content=''),ge}function R(he){var $e=new he("html_inline","",0);return $e.content="",$e}function _(he,$e,ge){var je=new ge("html_inline","",0);return je.content='",je.attrs=[{for:$e}],je}function G(he){return he.type==="inline"}function te(he){return he.type==="paragraph_open"}function K(he){return he.type==="list_item_open"}function ye(he){return he.content.indexOf("[ ] ")===0||he.content.indexOf("[x] ")===0||he.content.indexOf("[X] ")===0}},9980:function(Ye,Ae,a){"use strict";Ye.exports=a(17024)},26233:function(Ye,Ae,a){"use strict";Ye.exports=a(95485)},40813:function(Ye){"use strict";Ye.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},51947:function(Ye){"use strict";var Ae="[a-zA-Z_:][a-zA-Z0-9:._-]*",a="[^\"'=<>`\\x00-\\x20]+",o="'[^']*'",y='"[^"]*"',p="(?:"+a+"|"+o+"|"+y+")",v="(?:\\s+"+Ae+"(?:\\s*=\\s*"+p+")?)",Z="<[A-Za-z][A-Za-z0-9\\-]*"+v+"*\\s*\\/?>",$="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",R="|",L="<[?][\\s\\S]*?[?]>",_="]*>",G="",te=new RegExp("^(?:"+Z+"|"+$+"|"+R+"|"+L+"|"+_+"|"+G+")"),K=new RegExp("^(?:"+Z+"|"+$+")");Ye.exports.n=te,Ye.exports.q=K},67022:function(Ye,Ae,a){"use strict";function o(Ee){return Object.prototype.toString.call(Ee)}function y(Ee){return o(Ee)==="[object String]"}var p=Object.prototype.hasOwnProperty;function v(Ee,Xe){return p.call(Ee,Xe)}function Z(Ee){var Xe=Array.prototype.slice.call(arguments,1);return Xe.forEach(function(E){if(E){if(typeof E!="object")throw new TypeError(E+"must be object");Object.keys(E).forEach(function(N){Ee[N]=E[N]})}}),Ee}function $(Ee,Xe,E){return[].concat(Ee.slice(0,Xe),E,Ee.slice(Xe+1))}function R(Ee){return!(Ee>=55296&&Ee<=57343||Ee>=64976&&Ee<=65007||(Ee&65535)===65535||(Ee&65535)===65534||Ee>=0&&Ee<=8||Ee===11||Ee>=14&&Ee<=31||Ee>=127&&Ee<=159||Ee>1114111)}function L(Ee){if(Ee>65535){Ee-=65536;var Xe=55296+(Ee>>10),E=56320+(Ee&1023);return String.fromCharCode(Xe,E)}return String.fromCharCode(Ee)}var _=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,G=/&([a-z#][a-z0-9]{1,31});/gi,te=new RegExp(_.source+"|"+G.source,"gi"),K=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,ye=a(26233);function he(Ee,Xe){var E=0;return v(ye,Xe)?ye[Xe]:Xe.charCodeAt(0)===35&&K.test(Xe)&&(E=Xe[1].toLowerCase()==="x"?parseInt(Xe.slice(2),16):parseInt(Xe.slice(1),10),R(E))?L(E):Ee}function $e(Ee){return Ee.indexOf("\\")<0?Ee:Ee.replace(_,"$1")}function ge(Ee){return Ee.indexOf("\\")<0&&Ee.indexOf("&")<0?Ee:Ee.replace(te,function(Xe,E,N){return E||he(Xe,N)})}var je=/[&<>"]/,Pe=/[&<>"]/g,Ne={"&":"&","<":"<",">":">",'"':"""};function ke(Ee){return Ne[Ee]}function ve(Ee){return je.test(Ee)?Ee.replace(Pe,ke):Ee}var We=/[.?*+^$[\]\\(){}|-]/g;function it(Ee){return Ee.replace(We,"\\$&")}function nt(Ee){switch(Ee){case 9:case 32:return!0}return!1}function rt(Ee){if(Ee>=8192&&Ee<=8202)return!0;switch(Ee){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var ft=a(73189);function Ge(Ee){return ft.test(Ee)}function pt(Ee){switch(Ee){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Rt(Ee){return Ee=Ee.trim().replace(/\s+/g," "),"\u1E9E".toLowerCase()==="\u1E7E"&&(Ee=Ee.replace(/ẞ/g,"\xDF")),Ee.toLowerCase().toUpperCase()}Ae.lib={},Ae.lib.mdurl=a(48765),Ae.lib.ucmicro=a(84205),Ae.assign=Z,Ae.isString=y,Ae.has=v,Ae.unescapeMd=$e,Ae.unescapeAll=ge,Ae.isValidEntityCode=R,Ae.fromCodePoint=L,Ae.escapeHtml=ve,Ae.arrayReplaceAt=$,Ae.isSpace=nt,Ae.isWhiteSpace=rt,Ae.isMdAsciiPunct=pt,Ae.isPunctChar=Ge,Ae.escapeRE=it,Ae.normalizeReference=Rt},51685:function(Ye,Ae,a){"use strict";Ae.parseLinkLabel=a(33595),Ae.parseLinkDestination=a(12548),Ae.parseLinkTitle=a(88040)},12548:function(Ye,Ae,a){"use strict";var o=a(67022).unescapeAll;Ye.exports=function(p,v,Z){var $,R,L=0,_=v,G={ok:!1,pos:0,lines:0,str:""};if(p.charCodeAt(v)===60){for(v++;v32))return G;if($===41){if(R===0)break;R--}v++}return _===v||R!==0||(G.str=o(p.slice(_,v)),G.lines=L,G.pos=v,G.ok=!0),G}},33595:function(Ye){"use strict";Ye.exports=function(a,o,y){var p,v,Z,$,R=-1,L=a.posMax,_=a.pos;for(a.pos=o+1,p=1;a.pos=Z||(R=p.charCodeAt(v),R!==34&&R!==39&&R!==40))return G;for(v++,R===40&&(R=41);v=0))try{Ne.hostname=_.toASCII(Ne.hostname)}catch(ke){}return L.encode(L.format(Ne))}function ge(Pe){var Ne=L.parse(Pe,!0);if(Ne.hostname&&(!Ne.protocol||he.indexOf(Ne.protocol)>=0))try{Ne.hostname=_.toUnicode(Ne.hostname)}catch(ke){}return L.decode(L.format(Ne),L.decode.defaultChars+"%")}function je(Pe,Ne){if(!(this instanceof je))return new je(Pe,Ne);Ne||o.isString(Pe)||(Ne=Pe||{},Pe="default"),this.inline=new $,this.block=new Z,this.core=new v,this.renderer=new p,this.linkify=new R,this.validateLink=ye,this.normalizeLink=$e,this.normalizeLinkText=ge,this.utils=o,this.helpers=o.assign({},y),this.options={},this.configure(Pe),Ne&&this.set(Ne)}je.prototype.set=function(Pe){return o.assign(this.options,Pe),this},je.prototype.configure=function(Pe){var Ne=this,ke;if(o.isString(Pe)&&(ke=Pe,Pe=G[ke],!Pe))throw new Error('Wrong `markdown-it` preset "'+ke+'", check name');if(!Pe)throw new Error("Wrong `markdown-it` preset, can't be empty");return Pe.options&&Ne.set(Pe.options),Pe.components&&Object.keys(Pe.components).forEach(function(ve){Pe.components[ve].rules&&Ne[ve].ruler.enableOnly(Pe.components[ve].rules),Pe.components[ve].rules2&&Ne[ve].ruler2.enableOnly(Pe.components[ve].rules2)}),this},je.prototype.enable=function(Pe,Ne){var ke=[];Array.isArray(Pe)||(Pe=[Pe]),["core","block","inline"].forEach(function(We){ke=ke.concat(this[We].ruler.enable(Pe,!0))},this),ke=ke.concat(this.inline.ruler2.enable(Pe,!0));var ve=Pe.filter(function(We){return ke.indexOf(We)<0});if(ve.length&&!Ne)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+ve);return this},je.prototype.disable=function(Pe,Ne){var ke=[];Array.isArray(Pe)||(Pe=[Pe]),["core","block","inline"].forEach(function(We){ke=ke.concat(this[We].ruler.disable(Pe,!0))},this),ke=ke.concat(this.inline.ruler2.disable(Pe,!0));var ve=Pe.filter(function(We){return ke.indexOf(We)<0});if(ve.length&&!Ne)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+ve);return this},je.prototype.use=function(Pe){var Ne=[this].concat(Array.prototype.slice.call(arguments,1));return Pe.apply(Pe,Ne),this},je.prototype.parse=function(Pe,Ne){if(typeof Pe!="string")throw new Error("Input data should be a String");var ke=new this.core.State(Pe,this,Ne);return this.core.process(ke),ke.tokens},je.prototype.render=function(Pe,Ne){return Ne=Ne||{},this.renderer.render(this.parse(Pe,Ne),this.options,Ne)},je.prototype.parseInline=function(Pe,Ne){var ke=new this.core.State(Pe,this,Ne);return ke.inlineMode=!0,this.core.process(ke),ke.tokens},je.prototype.renderInline=function(Pe,Ne){return Ne=Ne||{},this.renderer.render(this.parseInline(Pe,Ne),this.options,Ne)},Ye.exports=je},82471:function(Ye,Ae,a){"use strict";var o=a(79580),y=[["table",a(91785),["paragraph","reference"]],["code",a(38768)],["fence",a(13542),["paragraph","reference","blockquote","list"]],["blockquote",a(45258),["paragraph","reference","blockquote","list"]],["hr",a(35634),["paragraph","reference","blockquote","list"]],["list",a(18532),["paragraph","reference","blockquote"]],["reference",a(43804)],["html_block",a(76329),["paragraph","reference","blockquote"]],["heading",a(61630),["paragraph","reference","blockquote"]],["lheading",a(56850)],["paragraph",a(96864)]];function p(){this.ruler=new o;for(var v=0;v=$||v.sCount[te]=ye){v.line=$;break}for(L=0;L=G)break;continue}Z.pending+=Z.src[Z.pos++]}Z.pending&&Z.pushPending()},v.prototype.parse=function(Z,$,R,L){var _,G,te,K=new this.State(Z,$,R,L);for(this.tokenize(K),G=this.ruler2.getRules(""),te=G.length,_=0;_"+p($[R].content)+""},v.code_block=function($,R,L,_,G){var te=$[R];return""+p($[R].content)+` +`},v.fence=function($,R,L,_,G){var te=$[R],K=te.info?y(te.info).trim():"",ye="",he="",$e,ge,je,Pe,Ne;return K&&(je=K.split(/(\s+)/g),ye=je[0],he=je.slice(2).join("")),L.highlight?$e=L.highlight(te.content,ye,he)||p(te.content):$e=p(te.content),$e.indexOf(""+$e+` +`):"
    "+$e+`
    +`},v.image=function($,R,L,_,G){var te=$[R];return te.attrs[te.attrIndex("alt")][1]=G.renderInlineAsText(te.children,L,_),G.renderToken($,R,L)},v.hardbreak=function($,R,L){return L.xhtmlOut?`
    +`:`
    +`},v.softbreak=function($,R,L){return L.breaks?L.xhtmlOut?`
    +`:`
    +`:` +`},v.text=function($,R){return p($[R].content)},v.html_block=function($,R){return $[R].content},v.html_inline=function($,R){return $[R].content};function Z(){this.rules=o({},v)}Z.prototype.renderAttrs=function(R){var L,_,G;if(!R.attrs)return"";for(G="",L=0,_=R.attrs.length;L<_;L++)G+=" "+p(R.attrs[L][0])+'="'+p(R.attrs[L][1])+'"';return G},Z.prototype.renderToken=function(R,L,_){var G,te="",K=!1,ye=R[L];return ye.hidden?"":(ye.block&&ye.nesting!==-1&&L&&R[L-1].hidden&&(te+=` +`),te+=(ye.nesting===-1?" +`:">",te)},Z.prototype.renderInline=function($,R,L){for(var _,G="",te=this.rules,K=0,ye=$.length;K=4||p.src.charCodeAt(pt++)!==62)return!1;if($)return!0;for(G=$e=p.sCount[v]+1,p.src.charCodeAt(pt)===32?(pt++,G++,$e++,R=!1,We=!0):p.src.charCodeAt(pt)===9?(We=!0,(p.bsCount[v]+$e)%4===3?(pt++,G++,$e++,R=!1):R=!0):We=!1,ge=[p.bMarks[v]],p.bMarks[v]=pt;pt=Rt,ke=[p.sCount[v]],p.sCount[v]=$e-G,ve=[p.tShift[v]],p.tShift[v]=pt-p.bMarks[v],nt=p.md.block.ruler.getRules("blockquote"),Ne=p.parentType,p.parentType="blockquote",he=v+1;he=Rt));he++){if(p.src.charCodeAt(pt++)===62&&!ft){for(G=$e=p.sCount[he]+1,p.src.charCodeAt(pt)===32?(pt++,G++,$e++,R=!1,We=!0):p.src.charCodeAt(pt)===9?(We=!0,(p.bsCount[he]+$e)%4===3?(pt++,G++,$e++,R=!1):R=!0):We=!1,ge.push(p.bMarks[he]),p.bMarks[he]=pt;pt=Rt,je.push(p.bsCount[he]),p.bsCount[he]=p.sCount[he]+1+(We?1:0),ke.push(p.sCount[he]),p.sCount[he]=$e-G,ve.push(p.tShift[he]),p.tShift[he]=pt-p.bMarks[he];continue}if(K)break;for(it=!1,_=0,te=nt.length;_",rt.map=ye=[v,0],p.md.block.tokenize(p,v,he),rt=p.push("blockquote_close","blockquote",-1),rt.markup=">",p.lineMax=Ge,p.parentType=Ne,ye[1]=p.line,_=0;_=4){p++,v=p;continue}break}return a.line=v,Z=a.push("code_block","code",0),Z.content=a.getLines(o,v,4+a.blkIndent,!1)+` +`,Z.map=[o,a.line],!0}},13542:function(Ye){"use strict";Ye.exports=function(a,o,y,p){var v,Z,$,R,L,_,G,te=!1,K=a.bMarks[o]+a.tShift[o],ye=a.eMarks[o];if(a.sCount[o]-a.blkIndent>=4||K+3>ye||(v=a.src.charCodeAt(K),v!==126&&v!==96)||(L=K,K=a.skipChars(K,v),Z=K-L,Z<3)||(G=a.src.slice(L,K),$=a.src.slice(K,ye),v===96&&$.indexOf(String.fromCharCode(v))>=0))return!1;if(p)return!0;for(R=o;R++,!(R>=y||(K=L=a.bMarks[R]+a.tShift[R],ye=a.eMarks[R],K=4)&&(K=a.skipChars(K,v),!(K-L=4||(R=p.src.charCodeAt(te),R!==35||te>=K))return!1;for(L=1,R=p.src.charCodeAt(++te);R===35&&te6||tete&&o(p.src.charCodeAt(_-1))&&(K=_),p.line=v+1,G=p.push("heading_open","h"+String(L),1),G.markup="########".slice(0,L),G.map=[v,p.line],G=p.push("inline","",0),G.content=p.src.slice(te,K).trim(),G.map=[v,p.line],G.children=[],G=p.push("heading_close","h"+String(L),-1),G.markup="########".slice(0,L)),!0)}},35634:function(Ye,Ae,a){"use strict";var o=a(67022).isSpace;Ye.exports=function(p,v,Z,$){var R,L,_,G,te=p.bMarks[v]+p.tShift[v],K=p.eMarks[v];if(p.sCount[v]-p.blkIndent>=4||(R=p.src.charCodeAt(te++),R!==42&&R!==45&&R!==95))return!1;for(L=1;te|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(y.source+"\\s*$"),/^$/,!1]];Ye.exports=function(Z,$,R,L){var _,G,te,K,ye=Z.bMarks[$]+Z.tShift[$],he=Z.eMarks[$];if(Z.sCount[$]-Z.blkIndent>=4||!Z.md.options.html||Z.src.charCodeAt(ye)!==60)return!1;for(K=Z.src.slice(ye,he),_=0;_=4)return!1;for(ye=a.parentType,a.parentType="paragraph";K3)){if(a.sCount[K]>=a.blkIndent&&(L=a.bMarks[K]+a.tShift[K],_=a.eMarks[K],L<_&&(te=a.src.charCodeAt(L),(te===45||te===61)&&(L=a.skipChars(L,te),L=a.skipSpaces(L),L>=_)))){G=te===61?1:2;break}if(!(a.sCount[K]<0)){for(v=!1,Z=0,$=he.length;Z<$;Z++)if(he[Z](a,K,y,!0)){v=!0;break}if(v)break}}return G?(p=a.getLines(o,K,a.blkIndent,!1).trim(),a.line=K+1,R=a.push("heading_open","h"+String(G),1),R.markup=String.fromCharCode(te),R.map=[o,a.line],R=a.push("inline","",0),R.content=p,R.map=[o,a.line-1],R.children=[],R=a.push("heading_close","h"+String(G),-1),R.markup=String.fromCharCode(te),a.parentType=ye,!0):!1}},18532:function(Ye,Ae,a){"use strict";var o=a(67022).isSpace;function y(Z,$){var R,L,_,G;return L=Z.bMarks[$]+Z.tShift[$],_=Z.eMarks[$],R=Z.src.charCodeAt(L++),R!==42&&R!==45&&R!==43||L<_&&(G=Z.src.charCodeAt(L),!o(G))?-1:L}function p(Z,$){var R,L=Z.bMarks[$]+Z.tShift[$],_=L,G=Z.eMarks[$];if(_+1>=G||(R=Z.src.charCodeAt(_++),R<48||R>57))return-1;for(;;){if(_>=G)return-1;if(R=Z.src.charCodeAt(_++),R>=48&&R<=57){if(_-L>=10)return-1;continue}if(R===41||R===46)break;return-1}return _=4||$.listIndent>=0&&$.sCount[R]-$.listIndent>=4&&$.sCount[R]<$.blkIndent)return!1;if(_&&$.parentType==="paragraph"&&$.sCount[R]>=$.blkIndent&&(Ze=!0),(E=p($,R))>=0){if(ge=!0,j=$.bMarks[R]+$.tShift[R],We=Number($.src.slice(j,E-1)),Ze&&We!==1)return!1}else if((E=y($,R))>=0)ge=!1;else return!1;if(Ze&&$.skipSpaces(E)>=$.eMarks[R])return!1;if(ve=$.src.charCodeAt(E-1),_)return!0;for(ke=$.tokens.length,ge?(re=$.push("ordered_list_open","ol",1),We!==1&&(re.attrs=[["start",We]])):re=$.push("bullet_list_open","ul",1),re.map=Ne=[R,0],re.markup=String.fromCharCode(ve),nt=R,N=!1,Ce=$.md.block.ruler.getRules("list"),Ge=$.parentType,$.parentType="list";nt=it?he=1:he=rt-$e,he>4&&(he=1),ye=$e+he,re=$.push("list_item_open","li",1),re.markup=String.fromCharCode(ve),re.map=je=[R,0],ge&&(re.info=$.src.slice(j,E-1)),Ee=$.tight,Rt=$.tShift[R],pt=$.sCount[R],ft=$.listIndent,$.listIndent=$.blkIndent,$.blkIndent=ye,$.tight=!0,$.tShift[R]=te-$.bMarks[R],$.sCount[R]=rt,te>=it&&$.isEmpty(R+1)?$.line=Math.min($.line+2,L):$.md.block.tokenize($,R,L,!0),(!$.tight||N)&&(ct=!1),N=$.line-R>1&&$.isEmpty($.line-1),$.blkIndent=$.listIndent,$.listIndent=ft,$.tShift[R]=Rt,$.sCount[R]=pt,$.tight=Ee,re=$.push("list_item_close","li",-1),re.markup=String.fromCharCode(ve),nt=R=$.line,je[1]=nt,te=$.bMarks[R],nt>=L||$.sCount[nt]<$.blkIndent||$.sCount[R]-$.blkIndent>=4)break;for(ie=!1,K=0,Pe=Ce.length;K3)&&!(a.sCount[L]<0)){for(p=!1,v=0,Z=_.length;v=4||v.src.charCodeAt(rt)!==91)return!1;for(;++rt3)&&!(v.sCount[Ge]<0)){for(ve=!1,ye=0,he=We.length;ye0&&this.level++,this.tokens.push(R),R},p.prototype.isEmpty=function(Z){return this.bMarks[Z]+this.tShift[Z]>=this.eMarks[Z]},p.prototype.skipEmptyLines=function(Z){for(var $=this.lineMax;Z<$&&!(this.bMarks[Z]+this.tShift[Z]$;)if(!y(this.src.charCodeAt(--Z)))return Z+1;return Z},p.prototype.skipChars=function(Z,$){for(var R=this.src.length;ZR;)if($!==this.src.charCodeAt(--Z))return Z+1;return Z},p.prototype.getLines=function(Z,$,R,L){var _,G,te,K,ye,he,$e,ge=Z;if(Z>=$)return"";for(he=new Array($-Z),_=0;ge<$;ge++,_++){for(G=0,$e=K=this.bMarks[ge],ge+1<$||L?ye=this.eMarks[ge]+1:ye=this.eMarks[ge];KR?he[_]=new Array(G-R+1).join(" ")+this.src.slice(K,ye):he[_]=this.src.slice(K,ye)}return he.join("")},p.prototype.Token=o,Ye.exports=p},91785:function(Ye,Ae,a){"use strict";var o=a(67022).isSpace;function y(v,Z){var $=v.bMarks[Z]+v.tShift[Z],R=v.eMarks[Z];return v.src.slice($,R)}function p(v){var Z=[],$=0,R=v.length,L,_=!1,G=0,te="";for(L=v.charCodeAt($);$R||(he=$+1,Z.sCount[he]=4||(te=Z.bMarks[he]+Z.tShift[he],te>=Z.eMarks[he])||(rt=Z.src.charCodeAt(te++),rt!==124&&rt!==45&&rt!==58)||te>=Z.eMarks[he]||(ft=Z.src.charCodeAt(te++),ft!==124&&ft!==45&&ft!==58&&!o(ft))||rt===45&&o(ft))return!1;for(;te=4||($e=p(G),$e.length&&$e[0]===""&&$e.shift(),$e.length&&$e[$e.length-1]===""&&$e.pop(),ge=$e.length,ge===0||ge!==Pe.length))return!1;if(L)return!0;for(We=Z.parentType,Z.parentType="table",nt=Z.md.block.ruler.getRules("blockquote"),je=Z.push("table_open","table",1),je.map=ke=[$,0],je=Z.push("thead_open","thead",1),je.map=[$,$+1],je=Z.push("tr_open","tr",1),je.map=[$,$+1],K=0;K<$e.length;K++)je=Z.push("th_open","th",1),Pe[K]&&(je.attrs=[["style","text-align:"+Pe[K]]]),je=Z.push("inline","",0),je.content=$e[K].trim(),je.children=[],je=Z.push("th_close","th",-1);for(je=Z.push("tr_close","tr",-1),je=Z.push("thead_close","thead",-1),he=$+2;he=4)break;for($e=p(G),$e.length&&$e[0]===""&&$e.shift(),$e.length&&$e[$e.length-1]===""&&$e.pop(),he===$+2&&(je=Z.push("tbody_open","tbody",1),je.map=ve=[$+2,0]),je=Z.push("tr_open","tr",1),je.map=[he,he+1],K=0;K\s]/i.test(v)}function p(v){return/^<\/a\s*>/i.test(v)}Ye.exports=function(Z){var $,R,L,_,G,te,K,ye,he,$e,ge,je,Pe,Ne,ke,ve,We=Z.tokens,it;if(Z.md.options.linkify){for(R=0,L=We.length;R=0;$--){if(te=_[$],te.type==="link_close"){for($--;_[$].level!==te.level&&_[$].type!=="link_open";)$--;continue}if(te.type==="html_inline"&&(y(te.content)&&Pe>0&&Pe--,p(te.content)&&Pe++),!(Pe>0)&&te.type==="text"&&Z.md.linkify.test(te.content)){for(he=te.content,it=Z.md.linkify.match(he),K=[],je=te.level,ge=0,it.length>0&&it[0].index===0&&$>0&&_[$-1].type==="text_special"&&(it=it.slice(1)),ye=0;yege&&(G=new Z.Token("text","",0),G.content=he.slice(ge,$e),G.level=je,K.push(G)),G=new Z.Token("link_open","a",1),G.attrs=[["href",ke]],G.level=je++,G.markup="linkify",G.info="auto",K.push(G),G=new Z.Token("text","",0),G.content=ve,G.level=je,K.push(G),G=new Z.Token("link_close","a",-1),G.level=--je,G.markup="linkify",G.info="auto",K.push(G),ge=it[ye].lastIndex);ge=0;R--)L=$[R],L.type==="text"&&!_&&(L.content=L.content.replace(o,p)),L.type==="link_open"&&L.info==="auto"&&_--,L.type==="link_close"&&L.info==="auto"&&_++}function Z($){var R,L,_=0;for(R=$.length-1;R>=0;R--)L=$[R],L.type==="text"&&!_&&Ae.test(L.content)&&(L.content=L.content.replace(/\+-/g,"\xB1").replace(/\.{2,}/g,"\u2026").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1\u2014").replace(/(^|\s)--(?=\s|$)/mg,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1\u2013")),L.type==="link_open"&&L.info==="auto"&&_--,L.type==="link_close"&&L.info==="auto"&&_++}Ye.exports=function(R){var L;if(R.md.options.typographer)for(L=R.tokens.length-1;L>=0;L--)R.tokens[L].type==="inline"&&(a.test(R.tokens[L].content)&&v(R.tokens[L].children),Ae.test(R.tokens[L].content)&&Z(R.tokens[L].children))}},58450:function(Ye,Ae,a){"use strict";var o=a(67022).isWhiteSpace,y=a(67022).isPunctChar,p=a(67022).isMdAsciiPunct,v=/['"]/,Z=/['"]/g,$="\u2019";function R(_,G,te){return _.slice(0,G)+te+_.slice(G+1)}function L(_,G){var te,K,ye,he,$e,ge,je,Pe,Ne,ke,ve,We,it,nt,rt,ft,Ge,pt,Rt,Ee,Xe;for(Rt=[],te=0;te<_.length;te++){for(K=_[te],je=_[te].level,Ge=Rt.length-1;Ge>=0&&!(Rt[Ge].level<=je);Ge--);if(Rt.length=Ge+1,K.type==="text"){ye=K.content,$e=0,ge=ye.length;e:for(;$e=0)Ne=ye.charCodeAt(he.index-1);else for(Ge=te-1;Ge>=0&&!(_[Ge].type==="softbreak"||_[Ge].type==="hardbreak");Ge--)if(_[Ge].content){Ne=_[Ge].content.charCodeAt(_[Ge].content.length-1);break}if(ke=32,$e=48&&Ne<=57&&(ft=rt=!1),rt&&ft&&(rt=ve,ft=We),!rt&&!ft){pt&&(K.content=R(K.content,he.index,$));continue}if(ft){for(Ge=Rt.length-1;Ge>=0&&(Pe=Rt[Ge],!(Rt[Ge].level=0;te--)G.tokens[te].type!=="inline"||!v.test(G.tokens[te].content)||L(G.tokens[te].children,G)}},16480:function(Ye,Ae,a){"use strict";var o=a(75872);function y(p,v,Z){this.src=p,this.env=Z,this.tokens=[],this.inlineMode=!1,this.md=v}y.prototype.Token=o,Ye.exports=y},46633:function(Ye){"use strict";Ye.exports=function(a){var o,y,p,v,Z,$,R=a.tokens;for(o=0,y=R.length;o\x00-\x20]*)$/;Ye.exports=function(y,p){var v,Z,$,R,L,_,G=y.pos;if(y.src.charCodeAt(G)!==60)return!1;for(L=y.pos,_=y.posMax;;){if(++G>=_||(R=y.src.charCodeAt(G),R===60))return!1;if(R===62)break}return v=y.src.slice(L+1,G),a.test(v)?(Z=y.md.normalizeLink(v),y.md.validateLink(Z)?(p||($=y.push("link_open","a",1),$.attrs=[["href",Z]],$.markup="autolink",$.info="auto",$=y.push("text","",0),$.content=y.md.normalizeLinkText(v),$=y.push("link_close","a",-1),$.markup="autolink",$.info="auto"),y.pos+=v.length+2,!0):!1):Ae.test(v)?(Z=y.md.normalizeLink("mailto:"+v),y.md.validateLink(Z)?(p||($=y.push("link_open","a",1),$.attrs=[["href",Z]],$.markup="autolink",$.info="auto",$=y.push("text","",0),$.content=y.md.normalizeLinkText(v),$=y.push("link_close","a",-1),$.markup="autolink",$.info="auto"),y.pos+=v.length+2,!0):!1):!1}},79755:function(Ye){"use strict";Ye.exports=function(a,o){var y,p,v,Z,$,R,L,_,G=a.pos,te=a.src.charCodeAt(G);if(te!==96)return!1;for(y=G,G++,p=a.posMax;G$;p-=he[p]+1)if(Z=o[p],Z.marker===v.marker&&Z.open&&Z.end<0&&(L=!1,(Z.close||v.open)&&(Z.length+v.length)%3===0&&(Z.length%3!==0||v.length%3!==0)&&(L=!0),!L)){_=p>0&&!o[p-1].open?he[p-1]+1:0,he[y]=y-p+_,he[p]=_,v.open=!1,Z.end=y,Z.close=!1,R=-1,ye=-2;break}R!==-1&&(G[v.marker][(v.open?3:0)+(v.length||0)%3]=R)}}}Ye.exports=function(o){var y,p=o.tokens_meta,v=o.tokens_meta.length;for(Ae(o,o.delimiters),y=0;y=0;y--)p=o[y],!(p.marker!==95&&p.marker!==42)&&p.end!==-1&&(v=o[p.end],R=y>0&&o[y-1].end===p.end+1&&o[y-1].marker===p.marker&&o[y-1].token===p.token-1&&o[p.end+1].token===v.token+1,$=String.fromCharCode(p.marker),Z=a.tokens[p.token],Z.type=R?"strong_open":"em_open",Z.tag=R?"strong":"em",Z.nesting=1,Z.markup=R?$+$:$,Z.content="",Z=a.tokens[v.token],Z.type=R?"strong_close":"em_close",Z.tag=R?"strong":"em",Z.nesting=-1,Z.markup=R?$+$:$,Z.content="",R&&(a.tokens[o[y-1].token].content="",a.tokens[o[p.end+1].token].content="",y--))}Ye.exports.g=function(o){var y,p=o.tokens_meta,v=o.tokens_meta.length;for(Ae(o,o.delimiters),y=0;y=$e)return!1;if(G=L.src.charCodeAt(he+1),G===35){if(K=L.src.slice(he).match(Z),K)return _||(te=K[1][0].toLowerCase()==="x"?parseInt(K[1].slice(1),16):parseInt(K[1],10),ye=L.push("text_special","",0),ye.content=p(te)?v(te):v(65533),ye.markup=K[0],ye.info="entity"),L.pos+=K[0].length,!0}else if(K=L.src.slice(he).match($),K&&y(o,K[1]))return _||(ye=L.push("text_special","",0),ye.content=o[K[1]],ye.markup=K[0],ye.info="entity"),L.pos+=K[0].length,!0;return!1}},1917:function(Ye,Ae,a){"use strict";for(var o=a(67022).isSpace,y=[],p=0;p<256;p++)y.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(v){y[v.charCodeAt(0)]=1}),Ye.exports=function(Z,$){var R,L,_,G,te,K=Z.pos,ye=Z.posMax;if(Z.src.charCodeAt(K)!==92||(K++,K>=ye))return!1;if(R=Z.src.charCodeAt(K),R===10){for($||Z.push("hardbreak","br",0),K++;K=55296&&R<=56319&&K+1=56320&&L<=57343&&(G+=Z.src[K+1],K++)),_="\\"+G,$||(te=Z.push("text_special","",0),R<256&&y[R]!==0?te.content=G:te.content=_,te.markup=_,te.info="escape"),Z.pos=K+1,!0}},69969:function(Ye){"use strict";Ye.exports=function(a){var o,y,p=0,v=a.tokens,Z=a.tokens.length;for(o=y=0;o0&&p++,v[o].type==="text"&&o+1\s]/i.test(Z)}function p(Z){return/^<\/a\s*>/i.test(Z)}function v(Z){var $=Z|32;return $>=97&&$<=122}Ye.exports=function($,R){var L,_,G,te,K=$.pos;return!$.md.options.html||(G=$.posMax,$.src.charCodeAt(K)!==60||K+2>=G)||(L=$.src.charCodeAt(K+1),L!==33&&L!==63&&L!==47&&!v(L))||(_=$.src.slice(K).match(o),!_)?!1:(R||(te=$.push("html_inline","",0),te.content=$.src.slice(K,K+_[0].length),y(te.content)&&$.linkLevel++,p(te.content)&&$.linkLevel--),$.pos+=_[0].length,!0)}},83006:function(Ye,Ae,a){"use strict";var o=a(67022).normalizeReference,y=a(67022).isSpace;Ye.exports=function(v,Z){var $,R,L,_,G,te,K,ye,he,$e,ge,je,Pe,Ne="",ke=v.pos,ve=v.posMax;if(v.src.charCodeAt(v.pos)!==33||v.src.charCodeAt(v.pos+1)!==91||(te=v.pos+2,G=v.md.helpers.parseLinkLabel(v,v.pos+1,!1),G<0))return!1;if(K=G+1,K=ve)return!1;for(Pe=K,he=v.md.helpers.parseLinkDestination(v.src,K,v.posMax),he.ok&&(Ne=v.md.normalizeLink(he.str),v.md.validateLink(Ne)?K=he.pos:Ne=""),Pe=K;K=ve||v.src.charCodeAt(K)!==41)return v.pos=ke,!1;K++}else{if(typeof v.env.references=="undefined")return!1;if(K=0?_=v.src.slice(Pe,K++):K=G+1):K=G+1,_||(_=v.src.slice(te,G)),ye=v.env.references[o(_)],!ye)return v.pos=ke,!1;Ne=ye.href,$e=ye.title}return Z||(L=v.src.slice(te,G),v.md.inline.parse(L,v.md,v.env,je=[]),ge=v.push("image","img",0),ge.attrs=$=[["src",Ne],["alt",""]],ge.children=je,ge.content=L,$e&&$.push(["title",$e])),v.pos=K,v.posMax=ve,!0}},81727:function(Ye,Ae,a){"use strict";var o=a(67022).normalizeReference,y=a(67022).isSpace;Ye.exports=function(v,Z){var $,R,L,_,G,te,K,ye,he,$e="",ge="",je=v.pos,Pe=v.posMax,Ne=v.pos,ke=!0;if(v.src.charCodeAt(v.pos)!==91||(G=v.pos+1,_=v.md.helpers.parseLinkLabel(v,v.pos,!0),_<0))return!1;if(te=_+1,te=Pe)return!1;if(Ne=te,K=v.md.helpers.parseLinkDestination(v.src,te,v.posMax),K.ok){for($e=v.md.normalizeLink(K.str),v.md.validateLink($e)?te=K.pos:$e="",Ne=te;te=Pe||v.src.charCodeAt(te)!==41)&&(ke=!0),te++}if(ke){if(typeof v.env.references=="undefined")return!1;if(te=0?L=v.src.slice(Ne,te++):te=_+1):te=_+1,L||(L=v.src.slice(G,_)),ye=v.env.references[o(L)],!ye)return v.pos=je,!1;$e=ye.href,ge=ye.title}return Z||(v.pos=G,v.posMax=_,he=v.push("link_open","a",1),he.attrs=$=[["href",$e]],ge&&$.push(["title",ge]),v.linkLevel++,v.md.inline.tokenize(v),v.linkLevel--,he=v.push("link_close","a",-1)),v.pos=te,v.posMax=Pe,!0}},12906:function(Ye){"use strict";var Ae=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;Ye.exports=function(o,y){var p,v,Z,$,R,L,_,G;return!o.md.options.linkify||o.linkLevel>0||(p=o.pos,v=o.posMax,p+3>v)||o.src.charCodeAt(p)!==58||o.src.charCodeAt(p+1)!==47||o.src.charCodeAt(p+2)!==47||(Z=o.pending.match(Ae),!Z)||($=Z[1],R=o.md.linkify.matchAtStart(o.src.slice(p-$.length)),!R)||(L=R.url,L=L.replace(/\*+$/,""),_=o.md.normalizeLink(L),!o.md.validateLink(_))?!1:(y||(o.pending=o.pending.slice(0,-$.length),G=o.push("link_open","a",1),G.attrs=[["href",_]],G.markup="linkify",G.info="auto",G=o.push("text","",0),G.content=o.md.normalizeLinkText(L),G=o.push("link_close","a",-1),G.markup="linkify",G.info="auto"),o.pos+=L.length-$.length,!0)}},43905:function(Ye,Ae,a){"use strict";var o=a(67022).isSpace;Ye.exports=function(p,v){var Z,$,R,L=p.pos;if(p.src.charCodeAt(L)!==10)return!1;if(Z=p.pending.length-1,$=p.posMax,!v)if(Z>=0&&p.pending.charCodeAt(Z)===32)if(Z>=1&&p.pending.charCodeAt(Z-1)===32){for(R=Z-1;R>=1&&p.pending.charCodeAt(R-1)===32;)R--;p.pending=p.pending.slice(0,R),p.push("hardbreak","br",0)}else p.pending=p.pending.slice(0,-1),p.push("softbreak","br",0);else p.push("softbreak","br",0);for(L++;L<$&&o(p.src.charCodeAt(L));)L++;return p.pos=L,!0}},50670:function(Ye,Ae,a){"use strict";var o=a(75872),y=a(67022).isWhiteSpace,p=a(67022).isPunctChar,v=a(67022).isMdAsciiPunct;function Z($,R,L,_){this.src=$,this.env=L,this.md=R,this.tokens=_,this.tokens_meta=Array(_.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}Z.prototype.pushPending=function(){var $=new o("text","",0);return $.content=this.pending,$.level=this.pendingLevel,this.tokens.push($),this.pending="",$},Z.prototype.push=function($,R,L){this.pending&&this.pushPending();var _=new o($,R,L),G=null;return L<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),_.level=this.level,L>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],G={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(_),this.tokens_meta.push(G),_},Z.prototype.scanDelims=function($,R){var L=$,_,G,te,K,ye,he,$e,ge,je,Pe=!0,Ne=!0,ke=this.posMax,ve=this.src.charCodeAt($);for(_=$>0?this.src.charCodeAt($-1):32;L=0&&(p=this.attrs[y][1]),p},Ae.prototype.attrJoin=function(o,y){var p=this.attrIndex(o);p<0?this.attrPush([o,y]):this.attrs[p][1]=this.attrs[p][1]+" "+y},Ye.exports=Ae},83122:function(Ye){"use strict";var Ae={};function a(y){var p,v,Z=Ae[y];if(Z)return Z;for(Z=Ae[y]=[],p=0;p<128;p++)v=String.fromCharCode(p),Z.push(v);for(p=0;p=55296&&K<=57343?ye+="\uFFFD\uFFFD\uFFFD":ye+=String.fromCharCode(K),$+=6;continue}if((L&248)===240&&$+91114111?ye+="\uFFFD\uFFFD\uFFFD\uFFFD":(K-=65536,ye+=String.fromCharCode(55296+(K>>10),56320+(K&1023))),$+=9;continue}ye+="\uFFFD"}return ye})}o.defaultChars=";/?:@&=+$,#",o.componentChars="",Ye.exports=o},70729:function(Ye){"use strict";var Ae={};function a(y){var p,v,Z=Ae[y];if(Z)return Z;for(Z=Ae[y]=[],p=0;p<128;p++)v=String.fromCharCode(p),/^[0-9a-z]$/i.test(v)?Z.push(v):Z.push("%"+("0"+p.toString(16).toUpperCase()).slice(-2));for(p=0;p=55296&&R<=57343){if(R>=55296&&R<=56319&&Z+1<$&&(L=y.charCodeAt(Z+1),L>=56320&&L<=57343)){G+=encodeURIComponent(y[Z]+y[Z+1]),Z++;continue}G+="%EF%BF%BD";continue}G+=encodeURIComponent(y[Z])}return G}o.defaultChars=";/?:@&=+$,-_.!~*'()#",o.componentChars="-_.!~*'()",Ye.exports=o},2201:function(Ye){"use strict";Ye.exports=function(a){var o="";return o+=a.protocol||"",o+=a.slashes?"//":"",o+=a.auth?a.auth+"@":"",a.hostname&&a.hostname.indexOf(":")!==-1?o+="["+a.hostname+"]":o+=a.hostname||"",o+=a.port?":"+a.port:"",o+=a.pathname||"",o+=a.search||"",o+=a.hash||"",o}},48765:function(Ye,Ae,a){"use strict";Ye.exports.encode=a(70729),Ye.exports.decode=a(83122),Ye.exports.format=a(2201),Ye.exports.parse=a(9553)},9553:function(Ye){"use strict";function Ae(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var a=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,y=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,p=["<",">",'"',"`"," ","\r",` +`," "],v=["{","}","|","\\","^","`"].concat(p),Z=["'"].concat(v),$=["%","/","?",";","#"].concat(Z),R=["/","?","#"],L=255,_=/^[+a-z0-9A-Z_-]{0,63}$/,G=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,te={javascript:!0,"javascript:":!0},K={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function ye(he,$e){if(he&&he instanceof Ae)return he;var ge=new Ae;return ge.parse(he,$e),ge}Ae.prototype.parse=function(he,$e){var ge,je,Pe,Ne,ke,ve=he;if(ve=ve.trim(),!$e&&he.split("#").length===1){var We=y.exec(ve);if(We)return this.pathname=We[1],We[2]&&(this.search=We[2]),this}var it=a.exec(ve);if(it&&(it=it[0],Pe=it.toLowerCase(),this.protocol=it,ve=ve.substr(it.length)),($e||it||ve.match(/^\/\/[^@\/]+@[^@\/]+/))&&(ke=ve.substr(0,2)==="//",ke&&!(it&&te[it])&&(ve=ve.substr(2),this.slashes=!0)),!te[it]&&(ke||it&&!K[it])){var nt=-1;for(ge=0;ge127?Xe+="x":Xe+=Ee[E];if(!Xe.match(_)){var j=Rt.slice(0,ge),ie=Rt.slice(ge+1),Ce=Ee.match(G);Ce&&(j.push(Ce[1]),ie.unshift(Ce[2])),ie.length&&(ve=ie.join(".")+ve),this.hostname=j.join(".");break}}}}this.hostname.length>L&&(this.hostname=""),pt&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var re=ve.indexOf("#");re!==-1&&(this.hash=ve.substr(re),ve=ve.slice(0,re));var Ze=ve.indexOf("?");return Ze!==-1&&(this.search=ve.substr(Ze),ve=ve.slice(0,Ze)),ve&&(this.pathname=ve),K[Pe]&&this.hostname&&!this.pathname&&(this.pathname=""),this},Ae.prototype.parseHost=function(he){var $e=o.exec(he);$e&&($e=$e[0],$e!==":"&&(this.port=$e.substr(1)),he=he.substr(0,he.length-$e.length)),he&&(this.hostname=he)},Ye.exports=ye},3689:function(Ye,Ae,a){"use strict";a.r(Ae),a.d(Ae,{decode:function(){return rt},encode:function(){return ft},toASCII:function(){return pt},toUnicode:function(){return Ge},ucs2decode:function(){return ke},ucs2encode:function(){return ve}});const o=2147483647,y=36,p=1,v=26,Z=38,$=700,R=72,L=128,_="-",G=/^xn--/,te=/[^\0-\x7F]/,K=/[\x2E\u3002\uFF0E\uFF61]/g,ye={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},he=y-p,$e=Math.floor,ge=String.fromCharCode;function je(Ee){throw new RangeError(ye[Ee])}function Pe(Ee,Xe){const E=[];let N=Ee.length;for(;N--;)E[N]=Xe(Ee[N]);return E}function Ne(Ee,Xe){const E=Ee.split("@");let N="";E.length>1&&(N=E[0]+"@",Ee=E[1]),Ee=Ee.replace(K,".");const j=Ee.split("."),ie=Pe(j,Xe).join(".");return N+ie}function ke(Ee){const Xe=[];let E=0;const N=Ee.length;for(;E=55296&&j<=56319&&EString.fromCodePoint(...Ee),We=function(Ee){return Ee>=48&&Ee<58?26+(Ee-48):Ee>=65&&Ee<91?Ee-65:Ee>=97&&Ee<123?Ee-97:y},it=function(Ee,Xe){return Ee+22+75*(Ee<26)-((Xe!=0)<<5)},nt=function(Ee,Xe,E){let N=0;for(Ee=E?$e(Ee/$):Ee>>1,Ee+=$e(Ee/Xe);Ee>he*v>>1;N+=y)Ee=$e(Ee/he);return $e(N+(he+1)*Ee/(Ee+Z))},rt=function(Ee){const Xe=[],E=Ee.length;let N=0,j=L,ie=R,Ce=Ee.lastIndexOf(_);Ce<0&&(Ce=0);for(let re=0;re=128&&je("not-basic"),Xe.push(Ee.charCodeAt(re));for(let re=Ce>0?Ce+1:0;re=E&&je("invalid-input");const st=We(Ee.charCodeAt(re++));st>=y&&je("invalid-input"),st>$e((o-N)/tt)&&je("overflow"),N+=st*tt;const zt=Tt<=ie?p:Tt>=ie+v?v:Tt-ie;if(st$e(o/Dt)&&je("overflow"),tt*=Dt}const ct=Xe.length+1;ie=nt(N-Ze,ct,Ze==0),$e(N/ct)>o-j&&je("overflow"),j+=$e(N/ct),N%=ct,Xe.splice(N++,0,j)}return String.fromCodePoint(...Xe)},ft=function(Ee){const Xe=[];Ee=ke(Ee);const E=Ee.length;let N=L,j=0,ie=R;for(const Ze of Ee)Ze<128&&Xe.push(ge(Ze));const Ce=Xe.length;let re=Ce;for(Ce&&Xe.push(_);re=N&&tt$e((o-j)/ct)&&je("overflow"),j+=(Ze-N)*ct,N=Ze;for(const tt of Ee)if(tto&&je("overflow"),tt===N){let Tt=j;for(let st=y;;st+=y){const zt=st<=ie?p:st>=ie+v?v:st-ie;if(Tttypeof ae=="string"?{label:ae}:ae),[B,ne]=Q.every(ae=>/^\w+$/.test(ae.label))?[/\w*$/,/\w+$/]:$(Q);return ae=>{let De=ae.matchBefore(ne);return De||ae.explicit?{from:De?De.from:ae.pos,options:Q,validFor:B}:null}}function L(U,Q){return B=>{for(let ne=syntaxTree(B.state).resolveInner(B.pos,-1);ne;ne=ne.parent){if(U.indexOf(ne.name)>-1)return Q(B);if(ne.type.isTop)break}return null}}function _(U,Q){return B=>{for(let ne=(0,p.qz)(B.state).resolveInner(B.pos,-1);ne;ne=ne.parent){if(U.indexOf(ne.name)>-1)return null;if(ne.type.isTop)break}return Q(B)}}class G{constructor(Q,B,ne,ae){this.completion=Q,this.source=B,this.match=ne,this.score=ae}}function te(U){return U.selection.main.from}function K(U,Q){var B;let{source:ne}=U,ae=Q&&ne[0]!="^",De=ne[ne.length-1]!="$";return!ae&&!De?U:new RegExp(`${ae?"^":""}(?:${ne})${De?"$":""}`,(B=U.flags)!==null&&B!==void 0?B:U.ignoreCase?"i":"")}const ye=o.q6.define();function he(U,Q,B,ne){let{main:ae}=U.selection,De=B-ae.from,m=ne-ae.from;return Object.assign(Object.assign({},U.changeByRange(f=>f!=ae&&B!=ne&&U.sliceDoc(f.from+De,f.from+m)!=U.sliceDoc(B,ne)?{range:f}:{changes:{from:f.from+De,to:ne==ae.from?f.to:f.from+m,insert:Q},range:o.jT.cursor(f.from+De+Q.length)})),{scrollIntoView:!0,userEvent:"input.complete"})}const $e=new WeakMap;function ge(U){if(!Array.isArray(U))return U;let Q=$e.get(U);return Q||$e.set(U,Q=R(U)),Q}const je=o.Py.define(),Pe=o.Py.define();class Ne{constructor(Q){this.pattern=Q,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let B=0;B=48&&be<=57||be>=97&&be<=122?2:be>=65&&be<=90?1:0:(Qe=(0,o.bg)(be))!=Qe.toLowerCase()?1:Qe!=Qe.toUpperCase()?2:0;(!P||et==1&&W||le==0&&et!=0)&&(B[me]==be||ne[me]==be&&(ze=!0)?m[me++]=P:m.length&&(x=!1)),le=et,P+=(0,o.nZ)(be)}return me==O&&m[0]==0&&x?this.result(-100+(ze?-200:0),m,Q):Be==O&&Je==0?this.ret(-200-Q.length+(vt==Q.length?0:-100),[0,vt]):f>-1?this.ret(-700-Q.length,[f,f+this.pattern.length]):Be==O?this.ret(-200+-700-Q.length,[Je,vt]):me==O?this.result(-100+(ze?-200:0)+-700+(x?0:-1100),m,Q):B.length==2?!1:this.result((ae[0]?-700:0)+-200+-1100,ae,Q)}result(Q,B,ne){let ae=[],De=0;for(let m of B){let f=m+(this.astral?(0,o.nZ)((0,o.gm)(ne,m)):1);De&&ae[De-1]==m?ae[De-1]=f:(ae[De++]=m,ae[De++]=f)}return this.ret(Q-ne.length,ae)}}const ke=o.r$.define({combine(U){return(0,o.BO)(U,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:We,compareCompletions:(Q,B)=>Q.label.localeCompare(B.label),interactionDelay:75},{defaultKeymap:(Q,B)=>Q&&B,closeOnBlur:(Q,B)=>Q&&B,icons:(Q,B)=>Q&&B,tooltipClass:(Q,B)=>ne=>ve(Q(ne),B(ne)),optionClass:(Q,B)=>ne=>ve(Q(ne),B(ne)),addToOptions:(Q,B)=>Q.concat(B)})}});function ve(U,Q){return U?Q?U+" "+Q:U:Q}function We(U,Q,B,ne,ae,De){let m=U.textDirection==y.Nm.RTL,f=m,O=!1,T="top",V,me,ze=Q.left-ae.left,Be=ae.right-Q.right,Je=ne.right-ne.left,vt=ne.bottom-ne.top;if(f&&ze=vt||P>Q.top?V=B.bottom-Q.top:(T="bottom",V=Q.bottom-B.top)}let W=(Q.bottom-Q.top)/De.offsetHeight,x=(Q.right-Q.left)/De.offsetWidth;return{style:`${T}: ${V/W}px; max-width: ${me/x}px`,class:"cm-completionInfo-"+(O?m?"left-narrow":"right-narrow":f?"left":"right")}}function it(U){let Q=U.addToOptions.slice();return U.icons&&Q.push({render(B){let ne=document.createElement("div");return ne.classList.add("cm-completionIcon"),B.type&&ne.classList.add(...B.type.split(/\s+/g).map(ae=>"cm-completionIcon-"+ae)),ne.setAttribute("aria-hidden","true"),ne},position:20}),Q.push({render(B,ne,ae){let De=document.createElement("span");De.className="cm-completionLabel";let m=B.displayLabel||B.label,f=0;for(let O=0;Of&&De.appendChild(document.createTextNode(m.slice(f,T)));let me=De.appendChild(document.createElement("span"));me.appendChild(document.createTextNode(m.slice(T,V))),me.className="cm-completionMatchedText",f=V}return fB.position-ne.position).map(B=>B.render)}function nt(U,Q,B){if(U<=B)return{from:0,to:U};if(Q<0&&(Q=0),Q<=U>>1){let ae=Math.floor(Q/B);return{from:ae*B,to:(ae+1)*B}}let ne=Math.floor((U-Q)/B);return{from:U-(ne+1)*B,to:U-ne*B}}class rt{constructor(Q,B,ne){this.view=Q,this.stateField=B,this.applyCompletion=ne,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:O=>this.placeInfo(O),key:this},this.space=null,this.currentClass="";let ae=Q.state.field(B),{options:De,selected:m}=ae.open,f=Q.state.facet(ke);this.optionContent=it(f),this.optionClass=f.optionClass,this.tooltipClass=f.tooltipClass,this.range=nt(De.length,m,f.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(Q.state),this.dom.addEventListener("mousedown",O=>{for(let T=O.target,V;T&&T!=this.dom;T=T.parentNode)if(T.nodeName=="LI"&&(V=/-(\d+)$/.exec(T.id))&&+V[1]{let T=Q.state.field(this.stateField,!1);T&&T.tooltip&&Q.state.facet(ke).closeOnBlur&&O.relatedTarget!=Q.contentDOM&&Q.dispatch({effects:Pe.of(null)})}),this.list=this.dom.appendChild(this.createListBox(De,ae.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}mount(){this.updateSel()}update(Q){var B,ne,ae;let De=Q.state.field(this.stateField),m=Q.startState.field(this.stateField);this.updateTooltipClass(Q.state),De!=m&&(this.updateSel(),((B=De.open)===null||B===void 0?void 0:B.disabled)!=((ne=m.open)===null||ne===void 0?void 0:ne.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!(!((ae=De.open)===null||ae===void 0)&&ae.disabled)))}updateTooltipClass(Q){let B=this.tooltipClass(Q);if(B!=this.currentClass){for(let ne of this.currentClass.split(" "))ne&&this.dom.classList.remove(ne);for(let ne of B.split(" "))ne&&this.dom.classList.add(ne);this.currentClass=B}}positioned(Q){this.space=Q,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let Q=this.view.state.field(this.stateField),B=Q.open;if((B.selected>-1&&B.selected=this.range.to)&&(this.range=nt(B.options.length,B.selected,this.view.state.facet(ke).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(B.options,Q.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})),this.updateSelectedOption(B.selected)){this.destroyInfo();let{completion:ne}=B.options[B.selected],{info:ae}=ne;if(!ae)return;let De=typeof ae=="string"?document.createTextNode(ae):ae(ne);if(!De)return;"then"in De?De.then(m=>{m&&this.view.state.field(this.stateField,!1)==Q&&this.addInfoPane(m,ne)}).catch(m=>(0,y.OO)(this.view.state,m,"completion info")):this.addInfoPane(De,ne)}}addInfoPane(Q,B){this.destroyInfo();let ne=this.info=document.createElement("div");if(ne.className="cm-tooltip cm-completionInfo",Q.nodeType!=null)ne.appendChild(Q),this.infoDestroy=null;else{let{dom:ae,destroy:De}=Q;ne.appendChild(ae),this.infoDestroy=De||null}this.dom.appendChild(ne),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(Q){let B=null;for(let ne=this.list.firstChild,ae=this.range.from;ne;ne=ne.nextSibling,ae++)ne.nodeName!="LI"||!ne.id?ae--:ae==Q?ne.hasAttribute("aria-selected")||(ne.setAttribute("aria-selected","true"),B=ne):ne.hasAttribute("aria-selected")&&ne.removeAttribute("aria-selected");return B&&Ge(this.list,B),B}measureInfo(){let Q=this.dom.querySelector("[aria-selected]");if(!Q||!this.info)return null;let B=this.dom.getBoundingClientRect(),ne=this.info.getBoundingClientRect(),ae=Q.getBoundingClientRect(),De=this.space;if(!De){let m=this.dom.ownerDocument.defaultView||window;De={left:0,top:0,right:m.innerWidth,bottom:m.innerHeight}}return ae.top>Math.min(De.bottom,B.bottom)-10||ae.bottomne.from||ne.from==0))if(De=ze,typeof T!="string"&&T.header)ae.appendChild(T.header(T));else{let Be=ae.appendChild(document.createElement("completion-section"));Be.textContent=ze}}const V=ae.appendChild(document.createElement("li"));V.id=B+"-"+m,V.setAttribute("role","option");let me=this.optionClass(f);me&&(V.className=me);for(let ze of this.optionContent){let Be=ze(f,this.view.state,O);Be&&V.appendChild(Be)}}return ne.from&&ae.classList.add("cm-completionListIncompleteTop"),ne.tonew rt(B,U,Q)}function Ge(U,Q){let B=U.getBoundingClientRect(),ne=Q.getBoundingClientRect(),ae=B.height/U.offsetHeight;ne.topB.bottom&&(U.scrollTop+=(ne.bottom-B.bottom)/ae)}function pt(U){return(U.boost||0)*100+(U.apply?10:0)+(U.info?5:0)+(U.type?1:0)}function Rt(U,Q){let B=[],ne=null,ae=O=>{B.push(O);let{section:T}=O.completion;if(T){ne||(ne=[]);let V=typeof T=="string"?T:T.name;ne.some(me=>me.name==V)||ne.push(typeof T=="string"?{name:V}:T)}};for(let O of U)if(O.hasResult()){let T=O.result.getMatch;if(O.result.filter===!1)for(let V of O.result.options)ae(new G(V,O.source,T?T(V):[],1e9-B.length));else{let V=new Ne(Q.sliceDoc(O.from,O.to));for(let me of O.result.options)if(V.match(me.label)){let ze=me.displayLabel?T?T(me,V.matched):[]:V.matched;ae(new G(me,O.source,ze,V.score+(me.boost||0)))}}}if(ne){let O=Object.create(null),T=0,V=(me,ze)=>{var Be,Je;return((Be=me.rank)!==null&&Be!==void 0?Be:1e9)-((Je=ze.rank)!==null&&Je!==void 0?Je:1e9)||(me.nameV.score-T.score||f(T.completion,V.completion))){let T=O.completion;!m||m.label!=T.label||m.detail!=T.detail||m.type!=null&&T.type!=null&&m.type!=T.type||m.apply!=T.apply||m.boost!=T.boost?De.push(O):pt(O.completion)>pt(m)&&(De[De.length-1]=O),m=O.completion}return De}class Ee{constructor(Q,B,ne,ae,De,m){this.options=Q,this.attrs=B,this.tooltip=ne,this.timestamp=ae,this.selected=De,this.disabled=m}setSelected(Q,B){return Q==this.selected||Q>=this.options.length?this:new Ee(this.options,j(B,Q),this.tooltip,this.timestamp,Q,this.disabled)}static build(Q,B,ne,ae,De){let m=Rt(Q,B);if(!m.length)return ae&&Q.some(O=>O.state==1)?new Ee(ae.options,ae.attrs,ae.tooltip,ae.timestamp,ae.selected,!0):null;let f=B.facet(ke).selectOnOpen?0:-1;if(ae&&ae.selected!=f&&ae.selected!=-1){let O=ae.options[ae.selected].completion;for(let T=0;TT.hasResult()?Math.min(O,T.from):O,1e8),create:ft(st,zt),above:De.aboveCursor},ae?ae.timestamp:Date.now(),f,!1)}map(Q){return new Ee(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:Q.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class Xe{constructor(Q,B,ne){this.active=Q,this.id=B,this.open=ne}static start(){return new Xe(ie,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(Q){let{state:B}=Q,ne=B.facet(ke),De=(ne.override||B.languageDataAt("autocomplete",te(B)).map(ge)).map(f=>(this.active.find(T=>T.source==f)||new re(f,this.active.some(T=>T.state!=0)?1:0)).update(Q,ne));De.length==this.active.length&&De.every((f,O)=>f==this.active[O])&&(De=this.active);let m=this.open;m&&Q.docChanged&&(m=m.map(Q.changes)),Q.selection||De.some(f=>f.hasResult()&&Q.changes.touchesRange(f.from,f.to))||!E(De,this.active)?m=Ee.build(De,B,this.id,m,ne):m&&m.disabled&&!De.some(f=>f.state==1)&&(m=null),!m&&De.every(f=>f.state!=1)&&De.some(f=>f.hasResult())&&(De=De.map(f=>f.hasResult()?new re(f.source,0):f));for(let f of Q.effects)f.is(Tt)&&(m=m&&m.setSelected(f.value,this.id));return De==this.active&&m==this.open?this:new Xe(De,this.id,m)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:N}}function E(U,Q){if(U==Q)return!0;for(let B=0,ne=0;;){for(;B-1&&(B["aria-activedescendant"]=U+"-"+Q),B}const ie=[];function Ce(U){return U.isUserEvent("input.type")?"input":U.isUserEvent("delete.backward")?"delete":null}class re{constructor(Q,B,ne=-1){this.source=Q,this.state=B,this.explicitPos=ne}hasResult(){return!1}update(Q,B){let ne=Ce(Q),ae=this;ne?ae=ae.handleUserEvent(Q,ne,B):Q.docChanged?ae=ae.handleChange(Q):Q.selection&&ae.state!=0&&(ae=new re(ae.source,0));for(let De of Q.effects)if(De.is(je))ae=new re(ae.source,1,De.value?te(Q.state):-1);else if(De.is(Pe))ae=new re(ae.source,0);else if(De.is(tt))for(let m of De.value)m.source==ae.source&&(ae=m);return ae}handleUserEvent(Q,B,ne){return B=="delete"||!ne.activateOnTyping?this.map(Q.changes):new re(this.source,1)}handleChange(Q){return Q.changes.touchesRange(te(Q.startState))?new re(this.source,0):this.map(Q.changes)}map(Q){return Q.empty||this.explicitPos<0?this:new re(this.source,this.state,Q.mapPos(this.explicitPos))}}class Ze extends re{constructor(Q,B,ne,ae,De){super(Q,2,B),this.result=ne,this.from=ae,this.to=De}hasResult(){return!0}handleUserEvent(Q,B,ne){var ae;let De=Q.changes.mapPos(this.from),m=Q.changes.mapPos(this.to,1),f=te(Q.state);if((this.explicitPos<0?f<=De:fm||B=="delete"&&te(Q.startState)==this.from)return new re(this.source,B=="input"&&ne.activateOnTyping?1:0);let O=this.explicitPos<0?-1:Q.changes.mapPos(this.explicitPos),T;return ct(this.result.validFor,Q.state,De,m)?new Ze(this.source,O,this.result,De,m):this.result.update&&(T=this.result.update(this.result,De,m,new v(Q.state,f,O>=0)))?new Ze(this.source,O,T,T.from,(ae=T.to)!==null&&ae!==void 0?ae:te(Q.state)):new re(this.source,1,O)}handleChange(Q){return Q.changes.touchesRange(this.from,this.to)?new re(this.source,0):this.map(Q.changes)}map(Q){return Q.empty?this:new Ze(this.source,this.explicitPos<0?-1:Q.mapPos(this.explicitPos),this.result,Q.mapPos(this.from),Q.mapPos(this.to,1))}}function ct(U,Q,B,ne){if(!U)return!1;let ae=Q.sliceDoc(B,ne);return typeof U=="function"?U(ae,B,ne,Q):K(U,!0).test(ae)}const tt=o.Py.define({map(U,Q){return U.map(B=>B.map(Q))}}),Tt=o.Py.define(),st=o.QQ.define({create(){return Xe.start()},update(U,Q){return U.update(Q)},provide:U=>[y.hJ.from(U,Q=>Q.tooltip),y.tk.contentAttributes.from(U,Q=>Q.attrs)]});function zt(U,Q){const B=Q.completion.apply||Q.completion.label;let ne=U.state.field(st).active.find(ae=>ae.source==Q.source);return ne instanceof Ze?(typeof B=="string"?U.dispatch(Object.assign(Object.assign({},he(U.state,B,ne.from,ne.to)),{annotations:ye.of(Q.completion)})):B(U,Q.completion,ne.from,ne.to),!0):!1}function Dt(U,Q="option"){return B=>{let ne=B.state.field(st,!1);if(!ne||!ne.open||ne.open.disabled||Date.now()-ne.open.timestamp-1?ne.open.selected+ae*(U?1:-1):U?0:m-1;return f<0?f=Q=="page"?0:m-1:f>=m&&(f=Q=="page"?m-1:0),B.dispatch({effects:Tt.of(f)}),!0}}const lt=U=>{let Q=U.state.field(st,!1);return U.state.readOnly||!Q||!Q.open||Q.open.selected<0||Q.open.disabled||Date.now()-Q.open.timestampU.state.field(st,!1)?(U.dispatch({effects:je.of(!0)}),!0):!1,en=U=>{let Q=U.state.field(st,!1);return!Q||!Q.active.some(B=>B.state!=0)?!1:(U.dispatch({effects:Pe.of(null)}),!0)};class Ht{constructor(Q,B){this.active=Q,this.context=B,this.time=Date.now(),this.updates=[],this.done=void 0}}const Te=50,D=50,z=1e3,oe=y.lg.fromClass(class{constructor(U){this.view=U,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0;for(let Q of U.state.field(st).active)Q.state==1&&this.startQuery(Q)}update(U){let Q=U.state.field(st);if(!U.selectionSet&&!U.docChanged&&U.startState.field(st)==Q)return;let B=U.transactions.some(ne=>(ne.selection||ne.docChanged)&&!Ce(ne));for(let ne=0;neD&&Date.now()-ae.time>z){for(let De of ae.context.abortListeners)try{De()}catch(m){(0,y.OO)(this.view.state,m)}ae.context.abortListeners=null,this.running.splice(ne--,1)}else ae.updates.push(...U.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=Q.active.some(ne=>ne.state==1&&!this.running.some(ae=>ae.active.source==ne.source))?setTimeout(()=>this.startUpdate(),Te):-1,this.composing!=0)for(let ne of U.transactions)Ce(ne)=="input"?this.composing=2:this.composing==2&&ne.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:U}=this.view,Q=U.field(st);for(let B of Q.active)B.state==1&&!this.running.some(ne=>ne.active.source==B.source)&&this.startQuery(B)}startQuery(U){let{state:Q}=this.view,B=te(Q),ne=new v(Q,B,U.explicitPos==B),ae=new Ht(U,ne);this.running.push(ae),Promise.resolve(U.source(ne)).then(De=>{ae.context.aborted||(ae.done=De||null,this.scheduleAccept())},De=>{this.view.dispatch({effects:Pe.of(null)}),(0,y.OO)(this.view.state,De)})}scheduleAccept(){this.running.every(U=>U.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),Te))}accept(){var U;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let Q=[],B=this.view.state.facet(ke);for(let ne=0;nem.source==ae.active.source);if(De&&De.state==1)if(ae.done==null){let m=new re(ae.active.source,0);for(let f of ae.updates)m=m.update(f,B);m.state!=1&&Q.push(m)}else this.startQuery(De)}Q.length&&this.view.dispatch({effects:tt.of(Q)})}},{eventHandlers:{blur(U){let Q=this.view.state.field(st,!1);if(Q&&Q.tooltip&&this.view.state.facet(ke).closeOnBlur){let B=Q.open&&(0,y.gB)(this.view,Q.open.tooltip);(!B||!B.dom.contains(U.relatedTarget))&&this.view.dispatch({effects:Pe.of(null)})}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:je.of(!1)}),20),this.composing=0}}}),ce=y.tk.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xB7\xB7\xB7"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'\u0192'"}},".cm-completionIcon-class":{"&:after":{content:"'\u25CB'"}},".cm-completionIcon-interface":{"&:after":{content:"'\u25CC'"}},".cm-completionIcon-variable":{"&:after":{content:"'\u{1D465}'"}},".cm-completionIcon-constant":{"&:after":{content:"'\u{1D436}'"}},".cm-completionIcon-type":{"&:after":{content:"'\u{1D461}'"}},".cm-completionIcon-enum":{"&:after":{content:"'\u222A'"}},".cm-completionIcon-property":{"&:after":{content:"'\u25A1'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\u{1F511}\uFE0E'"}},".cm-completionIcon-namespace":{"&:after":{content:"'\u25A2'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class we{constructor(Q,B,ne,ae){this.field=Q,this.line=B,this.from=ne,this.to=ae}}class Ue{constructor(Q,B,ne){this.field=Q,this.from=B,this.to=ne}map(Q){let B=Q.mapPos(this.from,-1,o.gc.TrackDel),ne=Q.mapPos(this.to,1,o.gc.TrackDel);return B==null||ne==null?null:new Ue(this.field,B,ne)}}class _e{constructor(Q,B){this.lines=Q,this.fieldPositions=B}instantiate(Q,B){let ne=[],ae=[B],De=Q.doc.lineAt(B),m=/^\s*/.exec(De.text)[0];for(let O of this.lines){if(ne.length){let T=m,V=/^\t*/.exec(O)[0].length;for(let me=0;menew Ue(O.field,ae[O.line]+O.from,ae[O.line]+O.to));return{text:ne,ranges:f}}static parse(Q){let B=[],ne=[],ae=[],De;for(let m of Q.split(/\r\n?|\n/)){for(;De=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(m);){let f=De[1]?+De[1]:null,O=De[2]||De[3]||"",T=-1;for(let V=0;V=T&&me.field++}ae.push(new we(T,ne.length,De.index,De.index+O.length)),m=m.slice(0,De.index)+O+m.slice(De.index+De[0].length)}for(let f;f=/\\([{}])/.exec(m);){m=m.slice(0,f.index)+f[1]+m.slice(f.index+f[0].length);for(let O of ae)O.line==ne.length&&O.from>f.index&&(O.from--,O.to--)}ne.push(m)}return new _e(ne,ae)}}let Ct=y.p.widget({widget:new class extends y.l9{toDOM(){let U=document.createElement("span");return U.className="cm-snippetFieldPosition",U}ignoreEvent(){return!1}}}),Lt=y.p.mark({class:"cm-snippetField"});class Et{constructor(Q,B){this.ranges=Q,this.active=B,this.deco=y.p.set(Q.map(ne=>(ne.from==ne.to?Ct:Lt).range(ne.from,ne.to)))}map(Q){let B=[];for(let ne of this.ranges){let ae=ne.map(Q);if(!ae)return null;B.push(ae)}return new Et(B,this.active)}selectionInsideField(Q){return Q.ranges.every(B=>this.ranges.some(ne=>ne.field==this.active&&ne.from<=B.from&&ne.to>=B.to))}}const Jt=o.Py.define({map(U,Q){return U&&U.map(Q)}}),Wt=o.Py.define(),sn=o.QQ.define({create(){return null},update(U,Q){for(let B of Q.effects){if(B.is(Jt))return B.value;if(B.is(Wt)&&U)return new Et(U.ranges,B.value)}return U&&Q.docChanged&&(U=U.map(Q.changes)),U&&Q.selection&&!U.selectionInsideField(Q.selection)&&(U=null),U},provide:U=>y.tk.decorations.from(U,Q=>Q?Q.deco:y.p.none)});function Le(U,Q){return o.jT.create(U.filter(B=>B.field==Q).map(B=>o.jT.range(B.from,B.to)))}function yt(U){let Q=_e.parse(U);return(B,ne,ae,De)=>{let{text:m,ranges:f}=Q.instantiate(B.state,ae),O={changes:{from:ae,to:De,insert:o.xv.of(m)},scrollIntoView:!0,annotations:ne?ye.of(ne):void 0};if(f.length&&(O.selection=Le(f,0)),f.length>1){let T=new Et(f,0),V=O.effects=[Jt.of(T)];B.state.field(sn,!1)===void 0&&V.push(o.Py.appendConfig.of([sn,_t,Vt,ce]))}B.dispatch(B.state.update(O))}}function St(U){return({state:Q,dispatch:B})=>{let ne=Q.field(sn,!1);if(!ne||U<0&&ne.active==0)return!1;let ae=ne.active+U,De=U>0&&!ne.ranges.some(m=>m.field==ae+U);return B(Q.update({selection:Le(ne.ranges,ae),effects:Jt.of(De?null:new Et(ne.ranges,ae)),scrollIntoView:!0})),!0}}const gt=({state:U,dispatch:Q})=>U.field(sn,!1)?(Q(U.update({effects:Jt.of(null)})),!0):!1,Mt=St(1),Yt=St(-1);function Pt(U){let Q=U.field(sn,!1);return!!(Q&&Q.ranges.some(B=>B.field==Q.active+1))}function Bt(U){let Q=U.field(sn,!1);return!!(Q&&Q.active>0)}const Qt=[{key:"Tab",run:Mt,shift:Yt},{key:"Escape",run:gt}],Ut=o.r$.define({combine(U){return U.length?U[0]:Qt}}),_t=o.Wl.highest(y.$f.compute([Ut],U=>U.facet(Ut)));function jt(U,Q){return Object.assign(Object.assign({},Q),{apply:yt(U)})}const Vt=y.tk.domEventHandlers({mousedown(U,Q){let B=Q.state.field(sn,!1),ne;if(!B||(ne=Q.posAtCoords({x:U.clientX,y:U.clientY}))==null)return!1;let ae=B.ranges.find(De=>De.from<=ne&&De.to>=ne);return!ae||ae.field==B.active?!1:(Q.dispatch({selection:Le(B.ranges,ae.field),effects:Jt.of(B.ranges.some(De=>De.field>ae.field)?new Et(B.ranges,ae.field):null),scrollIntoView:!0}),!0)}});function hn(U){let Q=U.replace(/[\\[.+*?(){|^$]/g,"\\$&");try{return new RegExp(`[\\p{Alphabetic}\\p{Number}_${Q}]+`,"ug")}catch(B){return new RegExp(`[w${Q}]`,"g")}}function ln(U,Q){return new RegExp(Q(U.source),U.unicode?"u":"")}const $t=null;function zn(U){return $t[U]||($t[U]=new WeakMap)}function cn(U,Q,B,ne,ae){for(let De=U.iterLines(),m=0;!De.next().done;){let{value:f}=De,O;for(Q.lastIndex=0;O=Q.exec(f);)if(!ne[O[0]]&&m+O.index!=ae&&(B.push({type:"text",label:O[0]}),ne[O[0]]=!0,B.length>=2e3))return;m+=f.length+1}}function Tn(U,Q,B,ne,ae){let De=U.length>=1e3,m=De&&Q.get(U);if(m)return m;let f=[],O=Object.create(null);if(U.children){let T=0;for(let V of U.children){if(V.length>=1e3)for(let me of Tn(V,Q,B,ne-T,ae-T))O[me.label]||(O[me.label]=!0,f.push(me));else cn(V,B,f,O,ae-T);T+=V.length+1}}else cn(U,B,f,O,ae);return De&&f.length<2e3&&Q.set(U,f),f}const An=U=>{let Q=U.state.languageDataAt("wordChars",U.pos).join(""),B=hn(Q),ne=U.matchBefore(ln(B,m=>m+"$"));if(!ne&&!U.explicit)return null;let ae=ne?ne.from:U.pos,De=Tn(U.state.doc,zn(Q),B,5e4,ae);return{from:ae,options:De,validFor:ln(B,m=>"^"+m)}},Sn={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},fn=o.Py.define({map(U,Q){let B=Q.mapPos(U,-1,o.gc.TrackAfter);return B==null?void 0:B}}),Qn=new class extends o.uU{};Qn.startSide=1,Qn.endSide=-1;const On=o.QQ.define({create(){return o.Xs.empty},update(U,Q){if(Q.selection){let B=Q.state.doc.lineAt(Q.selection.main.head).from,ne=Q.startState.doc.lineAt(Q.startState.selection.main.head).from;B!=Q.changes.mapPos(ne,-1)&&(U=o.Xs.empty)}U=U.map(Q.changes);for(let B of Q.effects)B.is(fn)&&(U=U.update({add:[Qn.range(B.value,B.value+1)]}));return U}});function jn(){return[kn,On]}const Mn="()[]{}<>";function Gn(U){for(let Q=0;Q{if(U.readOnly)return!1;let ne=li(U,U.selection.main.head).brackets||Sn.brackets,ae=null,De=U.changeByRange(m=>{if(m.empty){let f=si(U.doc,m.head);for(let O of ne)if(O==f&&Nn(U.doc,m.head)==Gn((0,o.gm)(O,0)))return{changes:{from:m.head-O.length,to:m.head+O.length},range:o.jT.cursor(m.head-O.length)}}return{range:ae=m}});return ae||Q(U.update(De,{scrollIntoView:!0,userEvent:"delete.backward"})),!ae}}];function Vn(U,Q){let B=li(U,U.selection.main.head),ne=B.brackets||Sn.brackets;for(let ae of ne){let De=Gn(codePointAt(ae,0));if(Q==ae)return De==ae?se(U,ae,ne.indexOf(ae+ae+ae)>-1,B):ai(U,ae,De,B.before||Sn.before);if(Q==De&&wn(U,U.selection.main.from))return Un(U,ae,De)}return null}function wn(U,Q){let B=!1;return U.field(On).between(0,U.doc.length,ne=>{ne==Q&&(B=!0)}),B}function Nn(U,Q){let B=U.sliceString(Q,Q+2);return B.slice(0,(0,o.nZ)((0,o.gm)(B,0)))}function si(U,Q){let B=U.sliceString(Q-2,Q);return(0,o.nZ)((0,o.gm)(B,0))==B.length?B:B.slice(1)}function ai(U,Q,B,ne){let ae=null,De=U.changeByRange(m=>{if(!m.empty)return{changes:[{insert:Q,from:m.from},{insert:B,from:m.to}],effects:fn.of(m.to+Q.length),range:EditorSelection.range(m.anchor+Q.length,m.head+Q.length)};let f=Nn(U.doc,m.head);return!f||/\s/.test(f)||ne.indexOf(f)>-1?{changes:{insert:Q+B,from:m.head},effects:fn.of(m.head+Q.length),range:EditorSelection.cursor(m.head+Q.length)}:{range:ae=m}});return ae?null:U.update(De,{scrollIntoView:!0,userEvent:"input.type"})}function Un(U,Q,B){let ne=null,ae=U.changeByRange(De=>De.empty&&Nn(U.doc,De.head)==B?{changes:{from:De.head,to:De.head+B.length,insert:B},range:EditorSelection.cursor(De.head+B.length)}:ne={range:De});return ne?null:U.update(ae,{scrollIntoView:!0,userEvent:"input.type"})}function se(U,Q,B,ne){let ae=ne.stringPrefixes||Sn.stringPrefixes,De=null,m=U.changeByRange(f=>{if(!f.empty)return{changes:[{insert:Q,from:f.from},{insert:Q,from:f.to}],effects:fn.of(f.to+Q.length),range:EditorSelection.range(f.anchor+Q.length,f.head+Q.length)};let O=f.head,T=Nn(U.doc,O),V;if(T==Q){if(h(U,O))return{changes:{insert:Q+Q,from:O},effects:fn.of(O+Q.length),range:EditorSelection.cursor(O+Q.length)};if(wn(U,O)){let ze=B&&U.sliceDoc(O,O+Q.length*3)==Q+Q+Q?Q+Q+Q:Q;return{changes:{from:O,to:O+ze.length,insert:ze},range:EditorSelection.cursor(O+ze.length)}}}else{if(B&&U.sliceDoc(O-2*Q.length,O)==Q+Q&&(V=d(U,O-2*Q.length,ae))>-1&&h(U,V))return{changes:{insert:Q+Q+Q+Q,from:O},effects:fn.of(O+Q.length),range:EditorSelection.cursor(O+Q.length)};if(U.charCategorizer(O)(T)!=CharCategory.Word&&d(U,O,ae)>-1&&!b(U,O,Q,ae))return{changes:{insert:Q+Q,from:O},effects:fn.of(O+Q.length),range:EditorSelection.cursor(O+Q.length)}}return{range:De=f}});return De?null:U.update(m,{scrollIntoView:!0,userEvent:"input.type"})}function h(U,Q){let B=syntaxTree(U).resolveInner(Q+1);return B.parent&&B.from==Q}function b(U,Q,B,ne){let ae=syntaxTree(U).resolveInner(Q,-1),De=ne.reduce((m,f)=>Math.max(m,f.length),0);for(let m=0;m<5;m++){let f=U.sliceDoc(ae.from,Math.min(ae.to,ae.from+B.length+De)),O=f.indexOf(B);if(!O||O>-1&&ne.indexOf(f.slice(0,O))>-1){let V=ae.firstChild;for(;V&&V.from==ae.from&&V.to-V.from>B.length+O;){if(U.sliceDoc(V.to-B.length,V.to)==B)return!1;V=V.firstChild}return!0}let T=ae.to==Q&&ae.parent;if(!T)break;ae=T}return!1}function d(U,Q,B){let ne=U.charCategorizer(Q);if(ne(U.sliceDoc(Q-1,Q))!=CharCategory.Word)return Q;for(let ae of B){let De=Q-ae.length;if(U.sliceDoc(De,Q)==ae&&ne(U.sliceDoc(De-1,De))!=CharCategory.Word)return De}return-1}function C(U={}){return[st,ke.of(U),oe,Y,ce]}const I=[{key:"Ctrl-Space",run:Xt},{key:"Escape",run:en},{key:"ArrowDown",run:Dt(!0)},{key:"ArrowUp",run:Dt(!1)},{key:"PageDown",run:Dt(!0,"page")},{key:"PageUp",run:Dt(!1,"page")},{key:"Enter",run:lt}],Y=o.Wl.highest(y.$f.computeN([ke],U=>U.facet(ke).defaultKeymap?[I]:[]));function H(U){let Q=U.field(st,!1);return Q&&Q.active.some(B=>B.state==1)?"pending":Q&&Q.active.some(B=>B.state!=0)?"active":null}const ue=new WeakMap;function Ie(U){var Q;let B=(Q=U.field(st,!1))===null||Q===void 0?void 0:Q.open;if(!B||B.disabled)return[];let ne=ue.get(B.options);return ne||ue.set(B.options,ne=B.options.map(ae=>ae.completion)),ne}function qe(U){var Q;let B=(Q=U.field(st,!1))===null||Q===void 0?void 0:Q.open;return B&&!B.disabled&&B.selected>=0?B.options[B.selected].completion:null}function ht(U){var Q;let B=(Q=U.field(st,!1))===null||Q===void 0?void 0:Q.open;return B&&!B.disabled&&B.selected>=0?B.selected:null}function At(U){return Tt.of(U)}},48120:function(Ye,Ae,a){"use strict";a.r(Ae),a.d(Ae,{css:function(){return Dt},cssCompletionSource:function(){return st},cssLanguage:function(){return zt},defineCSSCompletionSource:function(){return Tt}});var o=a(53105),y=a(35524);const p=96,v=1,Z=97,$=98,R=2,L=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],_=58,G=40,te=95,K=91,ye=45,he=46,$e=35,ge=37;function je(lt){return lt>=65&<<=90||lt>=97&<<=122||lt>=161}function Pe(lt){return lt>=48&<<=57}const Ne=new o.Jq((lt,Xt)=>{for(let en=!1,Ht=0,Te=0;;Te++){let{next:D}=lt;if(je(D)||D==ye||D==te||en&&Pe(D))!en&&(D!=ye||Te>0)&&(en=!0),Ht===Te&&D==ye&&Ht++,lt.advance();else{en&<.acceptToken(D==G?Z:Ht==2&&Xt.canShift(R)?R:$);break}}}),ke=new o.Jq(lt=>{if(L.includes(lt.peek(-1))){let{next:Xt}=lt;(je(Xt)||Xt==te||Xt==$e||Xt==he||Xt==K||Xt==_||Xt==ye)&<.acceptToken(p)}}),ve=new o.Jq(lt=>{if(!L.includes(lt.peek(-1))){let{next:Xt}=lt;if(Xt==ge&&(lt.advance(),lt.acceptToken(v)),je(Xt)){do lt.advance();while(je(lt.next));lt.acceptToken(v)}}}),We=(0,y.Gv)({"AtKeyword import charset namespace keyframes media supports":y.pJ.definitionKeyword,"from to selector":y.pJ.keyword,NamespaceName:y.pJ.namespace,KeyframeName:y.pJ.labelName,KeyframeRangeName:y.pJ.operatorKeyword,TagName:y.pJ.tagName,ClassName:y.pJ.className,PseudoClassName:y.pJ.constant(y.pJ.className),IdName:y.pJ.labelName,"FeatureName PropertyName":y.pJ.propertyName,AttributeName:y.pJ.attributeName,NumberLiteral:y.pJ.number,KeywordQuery:y.pJ.keyword,UnaryQueryOp:y.pJ.operatorKeyword,"CallTag ValueName":y.pJ.atom,VariableName:y.pJ.variableName,Callee:y.pJ.operatorKeyword,Unit:y.pJ.unit,"UniversalSelector NestingSelector":y.pJ.definitionOperator,MatchOp:y.pJ.compareOperator,"ChildOp SiblingOp, LogicOp":y.pJ.logicOperator,BinOp:y.pJ.arithmeticOperator,Important:y.pJ.modifier,Comment:y.pJ.blockComment,ColorLiteral:y.pJ.color,"ParenthesizedContent StringLiteral":y.pJ.string,":":y.pJ.punctuation,"PseudoOp #":y.pJ.derefOperator,"; ,":y.pJ.separator,"( )":y.pJ.paren,"[ ]":y.pJ.squareBracket,"{ }":y.pJ.brace}),it={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:134},nt={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},rt={__proto__:null,not:128,only:128},ft=o.WQ.deserialize({version:14,states:"9bQYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DPO$vQ[O'#DTOOQP'#Ej'#EjO${QdO'#DeO%gQ[O'#DrO${QdO'#DtO%xQ[O'#DvO&TQ[O'#DyO&]Q[O'#EPO&kQ[O'#EROOQS'#Ei'#EiOOQS'#EU'#EUQYQ[OOO&rQXO'#CdO'gQWO'#DaO'lQWO'#EpO'wQ[O'#EpQOQWOOP(RO#tO'#C_POOO)C@X)C@XOOQP'#Cg'#CgOOQP,59Q,59QO#kQ[O,59QO(^Q[O'#EXO(xQWO,58{O)QQ[O,59SO$qQ[O,59kO$vQ[O,59oO(^Q[O,59sO(^Q[O,59uO(^Q[O,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^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[!YQo`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bFfSxQOy%^z;'S%^;'S;=`%o<%lO%^lFwSv[Oy%^z;'S%^;'S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;'S%^;'S;=`%o<%lO%^bGoUo`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!`Qo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!RUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!Q^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!PQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[ke,ve,Ne,1,2,3,4,new o.RA("m~RRYZ[z{a~~g~aO#Z~~dP!P!Qg~lO#[~~",28,102)],topRules:{StyleSheet:[0,4],Styles:[1,84]},specialized:[{term:97,get:lt=>it[lt]||-1},{term:56,get:lt=>nt[lt]||-1},{term:98,get:lt=>rt[lt]||-1}],tokenPrec:1169});var Ge=a(59119),pt=a(41113);let Rt=null;function Ee(){if(!Rt&&typeof document=="object"&&document.body){let{style:lt}=document.body,Xt=[],en=new Set;for(let Ht in lt)Ht!="cssText"&&Ht!="cssFloat"&&typeof lt[Ht]=="string"&&(/[A-Z]/.test(Ht)&&(Ht=Ht.replace(/[A-Z]/g,Te=>"-"+Te.toLowerCase())),en.has(Ht)||(Xt.push(Ht),en.add(Ht)));Rt=Xt.sort().map(Ht=>({type:"property",label:Ht}))}return Rt||[]}const Xe=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(lt=>({type:"class",label:lt})),E=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(lt=>({type:"keyword",label:lt})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(lt=>({type:"constant",label:lt}))),N=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(lt=>({type:"type",label:lt})),j=/^(\w[\w-]*|-\w[\w-]*|)$/,ie=/^-(-[\w-]*)?$/;function Ce(lt,Xt){var en;if((lt.name=="("||lt.type.isError)&&(lt=lt.parent||lt),lt.name!="ArgList")return!1;let Ht=(en=lt.parent)===null||en===void 0?void 0:en.firstChild;return(Ht==null?void 0:Ht.name)!="Callee"?!1:Xt.sliceString(Ht.from,Ht.to)=="var"}const re=new pt.hr,Ze=["Declaration"];function ct(lt){for(let Xt=lt;;){if(Xt.type.isTop)return Xt;if(!(Xt=Xt.parent))return lt}}function tt(lt,Xt,en){if(Xt.to-Xt.from>4096){let Ht=re.get(Xt);if(Ht)return Ht;let Te=[],D=new Set,z=Xt.cursor(pt.vj.IncludeAnonymous);if(z.firstChild())do for(let oe of tt(lt,z.node,en))D.has(oe.label)||(D.add(oe.label),Te.push(oe));while(z.nextSibling());return re.set(Xt,Te),Te}else{let Ht=[],Te=new Set;return Xt.cursor().iterate(D=>{var z;if(en(D)&&D.matchContext(Ze)&&((z=D.node.nextSibling)===null||z===void 0?void 0:z.name)==":"){let oe=lt.sliceString(D.from,D.to);Te.has(oe)||(Te.add(oe),Ht.push({label:oe,type:"variable"}))}}),Ht}}const Tt=lt=>Xt=>{let{state:en,pos:Ht}=Xt,Te=(0,Ge.qz)(en).resolveInner(Ht,-1),D=Te.type.isError&&Te.from==Te.to-1&&en.doc.sliceString(Te.from,Te.to)=="-";if(Te.name=="PropertyName"||(D||Te.name=="TagName")&&/^(Block|Styles)$/.test(Te.resolve(Te.to).name))return{from:Te.from,options:Ee(),validFor:j};if(Te.name=="ValueName")return{from:Te.from,options:E,validFor:j};if(Te.name=="PseudoClassName")return{from:Te.from,options:Xe,validFor:j};if(lt(Te)||(Xt.explicit||D)&&Ce(Te,en.doc))return{from:lt(Te)||D?Te.from:Ht,options:tt(en.doc,ct(Te),lt),validFor:ie};if(Te.name=="TagName"){for(let{parent:ce}=Te;ce;ce=ce.parent)if(ce.name=="Block")return{from:Te.from,options:Ee(),validFor:j};return{from:Te.from,options:N,validFor:j}}if(!Xt.explicit)return null;let z=Te.resolve(Ht),oe=z.childBefore(Ht);return oe&&oe.name==":"&&z.name=="PseudoClassSelector"?{from:Ht,options:Xe,validFor:j}:oe&&oe.name==":"&&z.name=="Declaration"||z.name=="ArgList"?{from:Ht,options:E,validFor:j}:z.name=="Block"||z.name=="Styles"?{from:Ht,options:Ee(),validFor:j}:null},st=Tt(lt=>lt.name=="VariableName"),zt=Ge.qp.define({name:"css",parser:ft.configure({props:[Ge.uj.add({Declaration:(0,Ge.tC)()}),Ge.x0.add({"Block KeyframeList":Ge.Dv})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function Dt(){return new Ge.ri(zt,zt.data.of({autocomplete:st}))}},82261:function(Ye,Ae,a){"use strict";a.r(Ae),a.d(Ae,{autoCloseTags:function(){return b},html:function(){return se},htmlCompletionSource:function(){return Si},htmlCompletionSourceWith:function(){return Vn},htmlLanguage:function(){return Un},htmlPlain:function(){return ai}});var o=a(53105),y=a(35524),p=a(41113);const v=54,Z=1,$=55,R=2,L=56,_=3,G=4,te=5,K=6,ye=7,he=8,$e=9,ge=10,je=11,Pe=12,Ne=13,ke=57,ve=14,We=58,it=20,nt=22,rt=23,ft=24,Ge=26,pt=27,Rt=28,Ee=31,Xe=34,E=36,N=37,j=0,ie=1,Ce={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},re={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},Ze={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function ct(d){return d==45||d==46||d==58||d>=65&&d<=90||d==95||d>=97&&d<=122||d>=161}function tt(d){return d==9||d==10||d==13||d==32}let Tt=null,st=null,zt=0;function Dt(d,C){let I=d.pos+C;if(zt==I&&st==d)return Tt;let Y=d.peek(C);for(;tt(Y);)Y=d.peek(++C);let H="";for(;ct(Y);)H+=String.fromCharCode(Y),Y=d.peek(++C);return st=d,zt=I,Tt=H?H.toLowerCase():Y==Ht||Y==Te?void 0:null}const lt=60,Xt=62,en=47,Ht=63,Te=33,D=45;function z(d,C){this.name=d,this.parent=C,this.hash=C?C.hash:0;for(let I=0;I-1?new z(Dt(Y,1)||"",d):d},reduce(d,C){return C==it&&d?d.parent:d},reuse(d,C,I,Y){let H=C.type.id;return H==K||H==E?new z(Dt(Y,1)||"",d):d},hash(d){return d?d.hash:0},strict:!1}),we=new o.Jq((d,C)=>{if(d.next!=lt){d.next<0&&C.context&&d.acceptToken(ke);return}d.advance();let I=d.next==en;I&&d.advance();let Y=Dt(d,0);if(Y===void 0)return;if(!Y)return d.acceptToken(I?ve:K);let H=C.context?C.context.name:null;if(I){if(Y==H)return d.acceptToken(je);if(H&&re[H])return d.acceptToken(ke,-2);if(C.dialectEnabled(j))return d.acceptToken(Pe);for(let ue=C.context;ue;ue=ue.parent)if(ue.name==Y)return;d.acceptToken(Ne)}else{if(Y=="script")return d.acceptToken(ye);if(Y=="style")return d.acceptToken(he);if(Y=="textarea")return d.acceptToken($e);if(Ce.hasOwnProperty(Y))return d.acceptToken(ge);H&&Ze[H]&&Ze[H][Y]?d.acceptToken(ke,-1):d.acceptToken(K)}},{contextual:!0}),Ue=new o.Jq(d=>{for(let C=0,I=0;;I++){if(d.next<0){I&&d.acceptToken(We);break}if(d.next==D)C++;else if(d.next==Xt&&C>=2){I>3&&d.acceptToken(We,-2);break}else C=0;d.advance()}});function _e(d){for(;d;d=d.parent)if(d.name=="svg"||d.name=="math")return!0;return!1}const Ct=new o.Jq((d,C)=>{if(d.next==en&&d.peek(1)==Xt){let I=C.dialectEnabled(ie)||_e(C.context);d.acceptToken(I?te:G,2)}else d.next==Xt&&d.acceptToken(G,1)});function Lt(d,C,I){let Y=2+d.length;return new o.Jq(H=>{for(let ue=0,Ie=0,qe=0;;qe++){if(H.next<0){qe&&H.acceptToken(C);break}if(ue==0&&H.next==lt||ue==1&&H.next==en||ue>=2&&ueIe?H.acceptToken(C,-Ie):H.acceptToken(I,-(Ie-2));break}else if((H.next==10||H.next==13)&&qe){H.acceptToken(C,1);break}else ue=Ie=0;H.advance()}})}const Et=Lt("script",v,Z),Jt=Lt("style",$,R),Wt=Lt("textarea",L,_),sn=(0,y.Gv)({"Text RawText":y.pJ.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":y.pJ.angleBracket,TagName:y.pJ.tagName,"MismatchedCloseTag/TagName":[y.pJ.tagName,y.pJ.invalid],AttributeName:y.pJ.attributeName,"AttributeValue UnquotedAttributeValue":y.pJ.attributeValue,Is:y.pJ.definitionOperator,"EntityReference CharacterReference":y.pJ.character,Comment:y.pJ.blockComment,ProcessingInst:y.pJ.processingInstruction,DoctypeDecl:y.pJ.documentMeta}),Le=o.WQ.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%W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#dO![sO!euO~OfvO~OfwO~OS|OhyO~OS!OOhyO~OS!QOhyO~OS!SOT!TOhyO~OS!TOhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXhgXTgX~OS!fOhyO~OS!gOhyO~OS!hOhyO~OS!iOT!jOhyO~OS!jOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{}!P!R!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!UeZ!e{}!P!R!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"\u26A0 StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:ce,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag Sel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pOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!cpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!{let At=qe.type.id;if(At==Rt)return gt(qe,ht,I);if(At==Ee)return gt(qe,ht,Y);if(At==Xe)return gt(qe,ht,H);if(At==it&&ue.length){let U=qe.node,Q=U.firstChild,B=Q&&St(Q,ht),ne;if(B){for(let ae of ue)if(ae.tag==B&&(!ae.attrs||ae.attrs(ne||(ne=yt(U,ht))))){let De=U.lastChild;return{parser:ae.parser,overlay:[{from:Q.to,to:De.type.id==N?De.from:U.to}]}}}}if(Ie&&At==rt){let U=qe.node,Q;if(Q=U.firstChild){let B=Ie[ht.read(Q.from,Q.to)];if(B)for(let ne of B){if(ne.tagName&&ne.tagName!=St(U.parent,ht))continue;let ae=U.lastChild;if(ae.type.id==Ge){let De=ae.from+1,m=ae.lastChild,f=ae.to-(m&&m.isError?0:1);if(f>De)return{parser:ne.parser,overlay:[{from:De,to:f}]}}else if(ae.type.id==pt)return{parser:ne.parser,overlay:[{from:ae.from,to:ae.to}]}}}}return null})}var Yt=a(48120),Pt=a(122),Bt=a(75533),Qt=a(78120),Ut=a(59119);const _t=["_blank","_self","_top","_parent"],jt=["ascii","utf-8","utf-16","latin1","latin1"],Vt=["get","post","put","delete"],hn=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],ln=["true","false"],$t={},zn={a:{attrs:{href:null,ping:null,type:null,media:null,target:_t,hreflang:null}},abbr:$t,address:$t,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:$t,aside:$t,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:$t,base:{attrs:{href:null,target:_t}},bdi:$t,bdo:$t,blockquote:{attrs:{cite:null}},body:$t,br:$t,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:hn,formmethod:Vt,formnovalidate:["novalidate"],formtarget:_t,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:$t,center:$t,cite:$t,code:$t,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:$t,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:$t,div:$t,dl:$t,dt:$t,em:$t,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:$t,figure:$t,footer:$t,form:{attrs:{action:null,name:null,"accept-charset":jt,autocomplete:["on","off"],enctype:hn,method:Vt,novalidate:["novalidate"],target:_t}},h1:$t,h2:$t,h3:$t,h4:$t,h5:$t,h6:$t,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:$t,hgroup:$t,hr:$t,html:{attrs:{manifest:null}},i:$t,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:hn,formmethod:Vt,formnovalidate:["novalidate"],formtarget:_t,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:$t,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:$t,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:$t,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:jt,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:$t,noscript:$t,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:$t,param:{attrs:{name:null,value:null}},pre:$t,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:$t,rt:$t,ruby:$t,samp:$t,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:jt}},section:$t,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:$t,source:{attrs:{src:null,type:null,media:null}},span:$t,strong:$t,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:$t,summary:$t,sup:$t,table:$t,tbody:$t,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:$t,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:$t,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:$t,time:{attrs:{datetime:null}},title:$t,tr:$t,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:$t,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:$t},cn={accesskey:null,class:null,contenteditable:ln,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:ln,autocorrect:ln,autocapitalize:ln,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":ln,"aria-autocomplete":["inline","list","both","none"],"aria-busy":ln,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":ln,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":ln,"aria-hidden":ln,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":ln,"aria-multiselectable":ln,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":ln,"aria-relevant":null,"aria-required":ln,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},Tn="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(d=>"on"+d);for(let d of Tn)cn[d]=null;class An{constructor(C,I){this.tags=Object.assign(Object.assign({},zn),C),this.globalAttrs=Object.assign(Object.assign({},cn),I),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}An.default=new An;function Sn(d,C,I=d.length){if(!C)return"";let Y=C.firstChild,H=Y&&Y.getChild("TagName");return H?d.sliceString(H.from,Math.min(H.to,I)):""}function fn(d,C=!1){for(;d;d=d.parent)if(d.name=="Element")if(C)C=!1;else return d;return null}function Qn(d,C,I){let Y=I.tags[Sn(d,fn(C))];return(Y==null?void 0:Y.children)||I.allTags}function On(d,C){let I=[];for(let Y=fn(C);Y&&!Y.type.isTop;Y=fn(Y.parent)){let H=Sn(d,Y);if(H&&Y.lastChild.name=="CloseTag")break;H&&I.indexOf(H)<0&&(C.name=="EndTag"||C.from>=Y.firstChild.to)&&I.push(H)}return I}const jn=/^[:\-\.\w\u00b7-\uffff]*$/;function Mn(d,C,I,Y,H){let ue=/\s*>/.test(d.sliceDoc(H,H+5))?"":">",Ie=fn(I,!0);return{from:Y,to:H,options:Qn(d.doc,Ie,C).map(qe=>({label:qe,type:"type"})).concat(On(d.doc,I).map((qe,ht)=>({label:"/"+qe,apply:"/"+qe+ue,type:"type",boost:99-ht}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function Gn(d,C,I,Y){let H=/\s*>/.test(d.sliceDoc(Y,Y+5))?"":">";return{from:I,to:Y,options:On(d.doc,C).map((ue,Ie)=>({label:ue,apply:ue+H,type:"type",boost:99-Ie})),validFor:jn}}function li(d,C,I,Y){let H=[],ue=0;for(let Ie of Qn(d.doc,I,C))H.push({label:"<"+Ie,type:"type"});for(let Ie of On(d.doc,I))H.push({label:"",type:"type",boost:99-ue++});return{from:Y,to:Y,options:H,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function bi(d,C,I,Y,H){let ue=fn(I),Ie=ue?C.tags[Sn(d.doc,ue)]:null,qe=Ie&&Ie.attrs?Object.keys(Ie.attrs):[],ht=Ie&&Ie.globalAttrs===!1?qe:qe.length?qe.concat(C.globalAttrNames):C.globalAttrNames;return{from:Y,to:H,options:ht.map(At=>({label:At,type:"property"})),validFor:jn}}function kn(d,C,I,Y,H){var ue;let Ie=(ue=I.parent)===null||ue===void 0?void 0:ue.getChild("AttributeName"),qe=[],ht;if(Ie){let At=d.sliceDoc(Ie.from,Ie.to),U=C.globalAttrs[At];if(!U){let Q=fn(I),B=Q?C.tags[Sn(d.doc,Q)]:null;U=(B==null?void 0:B.attrs)&&B.attrs[At]}if(U){let Q=d.sliceDoc(Y,H).toLowerCase(),B='"',ne='"';/^['"]/.test(Q)?(ht=Q[0]=='"'?/^[^"]*$/:/^[^']*$/,B="",ne=d.sliceDoc(H,H+1)==Q[0]?"":Q[0],Q=Q.slice(1),Y++):ht=/^[^\s<>='"]*$/;for(let ae of U)qe.push({label:ae,apply:B+ae+ne,type:"constant"})}}return{from:Y,to:H,options:qe,validFor:ht}}function Wn(d,C){let{state:I,pos:Y}=C,H=(0,Ut.qz)(I).resolveInner(Y,-1),ue=H.resolve(Y);for(let Ie=Y,qe;ue==H&&(qe=H.childBefore(Ie));){let ht=qe.lastChild;if(!ht||!ht.type.isError||ht.fromWn(Y,H)}const wn=Pt.javascriptLanguage.parser.configure({top:"SingleExpression"}),Nn=[{tag:"script",attrs:d=>d.type=="text/typescript"||d.lang=="ts",parser:Pt.typescriptLanguage.parser},{tag:"script",attrs:d=>d.type=="text/babel"||d.type=="text/jsx",parser:Pt.jsxLanguage.parser},{tag:"script",attrs:d=>d.type=="text/typescript-jsx",parser:Pt.tsxLanguage.parser},{tag:"script",attrs:d=>d.type=="importmap"||d.type=="speculationrules",parser:wn},{tag:"script",attrs(d){return!d.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(d.type)},parser:Pt.javascriptLanguage.parser},{tag:"style",attrs(d){return(!d.lang||d.lang=="css")&&(!d.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(d.type))},parser:Yt.cssLanguage.parser}],si=[{name:"style",parser:Yt.cssLanguage.parser.configure({top:"Styles"})}].concat(Tn.map(d=>({name:d,parser:Pt.javascriptLanguage.parser}))),ai=Ut.qp.define({name:"html",parser:Le.configure({props:[Ut.uj.add({Element(d){let C=/^(\s*)(<\/)?/.exec(d.textAfter);return d.node.to<=d.pos+C[0].length?d.continue():d.lineIndent(d.node.from)+(C[2]?0:d.unit)},"OpenTag CloseTag SelfClosingTag"(d){return d.column(d.node.from)+d.unit},Document(d){if(d.pos+/\s*/.exec(d.textAfter)[0].lengthd.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),Un=ai.configure({wrap:Mt(Nn,si)});function se(d={}){let C="",I;d.matchClosingTags===!1&&(C="noMatch"),d.selfClosingTags===!0&&(C=(C?C+" ":"")+"selfClosing"),(d.nestedLanguages&&d.nestedLanguages.length||d.nestedAttributes&&d.nestedAttributes.length)&&(I=Mt((d.nestedLanguages||[]).concat(Nn),(d.nestedAttributes||[]).concat(si)));let Y=I?ai.configure({wrap:I,dialect:C}):C?Un.configure({dialect:C}):Un;return new Ut.ri(Y,[Un.data.of({autocomplete:Vn(d)}),d.autoCloseTags!==!1?b:[],(0,Pt.javascript)().support,(0,Yt.css)().support])}const h=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),b=Bt.tk.inputHandler.of((d,C,I,Y,H)=>{if(d.composing||d.state.readOnly||C!=I||Y!=">"&&Y!="/"||!Un.isActiveAt(d.state,C,-1))return!1;let ue=H(),{state:Ie}=ue,qe=Ie.changeByRange(ht=>{var At,U,Q;let B=Ie.doc.sliceString(ht.from-1,ht.to)==Y,{head:ne}=ht,ae=(0,Ut.qz)(Ie).resolveInner(ne-1,-1),De;if((ae.name=="TagName"||ae.name=="StartTag")&&(ae=ae.parent),B&&Y==">"&&ae.name=="OpenTag"){if(((U=(At=ae.parent)===null||At===void 0?void 0:At.lastChild)===null||U===void 0?void 0:U.name)!="CloseTag"&&(De=Sn(Ie.doc,ae.parent,ne))&&!h.has(De)){let m=ne+(Ie.doc.sliceString(ne,ne+1)===">"?1:0),f=``;return{range:ht,changes:{from:ne,to:m,insert:f}}}}else if(B&&Y=="/"&&ae.name=="IncompleteCloseTag"){let m=ae.parent;if(ae.from==ne-2&&((Q=m.lastChild)===null||Q===void 0?void 0:Q.name)!="CloseTag"&&(De=Sn(Ie.doc,m,ne))&&!h.has(De)){let f=ne+(Ie.doc.sliceString(ne,ne+1)===">"?1:0),O=`${De}>`;return{range:Qt.jT.cursor(ne+O.length,-1),changes:{from:ne,to:f,insert:O}}}}return{range:ht}});return qe.changes.empty?!1:(d.dispatch([ue,Ie.update(qe,{userEvent:"input.complete",scrollIntoView:!0})]),!0)})},122:function(Ye,Ae,a){"use strict";a.r(Ae),a.d(Ae,{autoCloseTags:function(){return Et},completionPath:function(){return Dt},esLint:function(){return Jt},javascript:function(){return Ue},javascriptLanguage:function(){return en},jsxLanguage:function(){return D},localCompletionSource:function(){return st},scopeCompletionSource:function(){return Xt},snippets:function(){return E},tsxLanguage:function(){return z},typescriptLanguage:function(){return Te},typescriptSnippets:function(){return N}});var o=a(53105),y=a(35524);const p=304,v=1,Z=2,$=305,R=307,L=308,_=3,G=4,te=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],K=125,ye=59,he=47,$e=42,ge=43,je=45,Pe=new o.IK({start:!1,shift(Le,yt){return yt==_||yt==G||yt==R?Le:yt==L},strict:!1}),Ne=new o.Jq((Le,yt)=>{let{next:St}=Le;(St==K||St==-1||yt.context)&&Le.acceptToken($)},{contextual:!0,fallback:!0}),ke=new o.Jq((Le,yt)=>{let{next:St}=Le,gt;te.indexOf(St)>-1||St==he&&((gt=Le.peek(1))==he||gt==$e)||St!=K&&St!=ye&&St!=-1&&!yt.context&&Le.acceptToken(p)},{contextual:!0}),ve=new o.Jq((Le,yt)=>{let{next:St}=Le;if((St==ge||St==je)&&(Le.advance(),St==Le.next)){Le.advance();let gt=!yt.context&&yt.canShift(v);Le.acceptToken(gt?v:Z)}},{contextual:!0}),We=(0,y.Gv)({"get set async static":y.pJ.modifier,"for while do if else switch try catch finally return throw break continue default case":y.pJ.controlKeyword,"in of await yield void typeof delete instanceof":y.pJ.operatorKeyword,"let var const function class extends":y.pJ.definitionKeyword,"import export from":y.pJ.moduleKeyword,"with debugger as new":y.pJ.keyword,TemplateString:y.pJ.special(y.pJ.string),super:y.pJ.atom,BooleanLiteral:y.pJ.bool,this:y.pJ.self,null:y.pJ.null,Star:y.pJ.modifier,VariableName:y.pJ.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":y.pJ.function(y.pJ.variableName),VariableDefinition:y.pJ.definition(y.pJ.variableName),Label:y.pJ.labelName,PropertyName:y.pJ.propertyName,PrivatePropertyName:y.pJ.special(y.pJ.propertyName),"CallExpression/MemberExpression/PropertyName":y.pJ.function(y.pJ.propertyName),"FunctionDeclaration/VariableDefinition":y.pJ.function(y.pJ.definition(y.pJ.variableName)),"ClassDeclaration/VariableDefinition":y.pJ.definition(y.pJ.className),PropertyDefinition:y.pJ.definition(y.pJ.propertyName),PrivatePropertyDefinition:y.pJ.definition(y.pJ.special(y.pJ.propertyName)),UpdateOp:y.pJ.updateOperator,"LineComment Hashbang":y.pJ.lineComment,BlockComment:y.pJ.blockComment,Number:y.pJ.number,String:y.pJ.string,Escape:y.pJ.escape,ArithOp:y.pJ.arithmeticOperator,LogicOp:y.pJ.logicOperator,BitOp:y.pJ.bitwiseOperator,CompareOp:y.pJ.compareOperator,RegExp:y.pJ.regexp,Equals:y.pJ.definitionOperator,Arrow:y.pJ.function(y.pJ.punctuation),": Spread":y.pJ.punctuation,"( )":y.pJ.paren,"[ ]":y.pJ.squareBracket,"{ }":y.pJ.brace,"InterpolationStart InterpolationEnd":y.pJ.special(y.pJ.brace),".":y.pJ.derefOperator,", ;":y.pJ.separator,"@":y.pJ.meta,TypeName:y.pJ.typeName,TypeDefinition:y.pJ.definition(y.pJ.typeName),"type enum interface implements namespace module declare":y.pJ.definitionKeyword,"abstract global Privacy readonly override":y.pJ.modifier,"is keyof unique infer":y.pJ.operatorKeyword,JSXAttributeValue:y.pJ.attributeValue,JSXText:y.pJ.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":y.pJ.angleBracket,"JSXIdentifier JSXNameSpacedName":y.pJ.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":y.pJ.attributeName,"JSXBuiltin/JSXIdentifier":y.pJ.standard(y.pJ.tagName)}),it={__proto__:null,export:16,as:21,from:29,default:32,async:37,function:38,extends:48,this:52,true:60,false:60,null:72,void:76,typeof:80,super:98,new:132,delete:148,yield:157,await:161,class:166,public:223,private:223,protected:223,readonly:225,instanceof:244,satisfies:247,in:248,const:250,import:282,keyof:337,unique:341,infer:347,is:383,abstract:403,implements:405,type:407,let:410,var:412,using:415,interface:421,enum:425,namespace:431,module:433,declare:437,global:441,for:460,of:469,while:472,with:476,do:480,if:484,else:486,switch:490,case:496,try:502,catch:506,finally:510,return:514,throw:518,break:522,continue:526,debugger:530},nt={__proto__:null,async:119,get:121,set:123,declare:183,public:185,private:185,protected:185,static:187,abstract:189,override:191,readonly:197,accessor:199,new:387},rt={__proto__:null,"<":139},ft=o.WQ.deserialize({version:14,states:"$6zO%TQUOOO%[QUOOO'_QWOOP(lOSOOO*zQ(CjO'#CgO+ROpO'#ChO+aO!bO'#ChO+oO07`O'#D[O.QQUO'#DbO.bQUO'#DmO%[QUO'#DwO0fQUO'#EPOOQ(CY'#EX'#EXO1PQSO'#EUOOQO'#Ej'#EjOOQO'#Id'#IdO1XQSO'#GlO1dQSO'#EiO1iQSO'#EiO3kQ(CjO'#JeO6[Q(CjO'#JfO6xQSO'#FXO6}Q#tO'#FpOOQ(CY'#Fa'#FaO7YO&jO'#FaO7hQ,UO'#FwO9OQSO'#FvOOQ(CY'#Jf'#JfOOQ(CW'#Je'#JeO9TQSO'#GpOOQQ'#KQ'#KQO9`QSO'#IQO9eQ(C[O'#IROOQQ'#JR'#JROOQQ'#IV'#IVQ`QUOOO`QUOOO%[QUO'#DoO9mQUO'#D{O9tQUO'#D}O9ZQSO'#GlO9{Q,UO'#CmO:ZQSO'#EhO:fQSO'#EsO:kQ,UO'#F`O;YQSO'#GlOOQO'#KR'#KRO;_QSO'#KRO;mQSO'#GtO;mQSO'#GuO;mQSO'#GwO9ZQSO'#GzO]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O9|Q3P9}Q3Q:OQ3R:PQ3S:QQ3T:RQ3U:SQ3V:TQ3W:UQ3X.iQ3[:ZQ3]:dQ3b:VQ4T0PQ4]0aQ5n:eQ5t2]Q5y2cQ6V2wQ6W:fQ6]:hQ6^:oQ7U4pQ7s5lQ7w5uQ8Q:pQ8U:uQ8V:vQ8{7yQ9Z8hQ9b8yQ9s#RR;V;cR#ZWR'Q!eY!tQ'V-S0z4uS&|!e,zQ'b!rS'l!u!xS'n!y4wS,w&}'US-c'c'dQ-e'eQ2Q-QR2`-dR(p#wR(s#xQ!fQT-R'V-S]!qQ!r'V-S0z4uQ#o]R'`9rT#jZ%^S#iZ%^S%dm,^U(]#g#h#kS-w(^(_Q-{(`Q0R*}Q2e-xU2f-y-z-|S5{2g2hR7z5|`#]W#V#Y%a'y(S*z-rr#fZm#g#h#k%^(^(_(`*}-x-y-z-|2g2h5|Q1a,^Q1w,tQ5j1oQ7r5kT:}'O*{T#`W%aS#_W%aS'z#V(SS(P#Y*zS,y'O*{T-m'y-rT'T!e%bQ$kfR)o$pT)d$k)eR3`.pT*T$x*VR*]${Q0V+VQ2j.TQ4x0|Q6Q2nQ7^4{Q7}6PQ8j7]Q8|7|Q9]8lQ9e9OQ9j9^R9m9fnqOXst!Z#c%f&i&k&l&n,b,g1g1jQ&c!VR,V&`tmOXst!U!V!Z#c%f&`&i&k&l&n,b,g1g1jR,^&fT%em,^R0v+vR,U&^Q%||R+n%}R+d%wT&g!W&jT&h!W&jT1i,g1j",nodeNames:"\u26A0 ArithOp ArithOp LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXStartTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:367,context:Pe,nodeProps:[["group",-26,7,15,17,63,200,204,208,209,211,214,217,227,229,235,237,239,241,244,250,256,258,260,262,264,266,267,"Statement",-32,11,12,26,29,30,36,46,49,50,52,57,65,73,77,79,81,82,104,105,114,115,132,135,137,138,139,140,142,143,163,164,166,"Expression",-23,25,27,31,35,37,39,167,169,171,172,174,175,176,178,179,180,182,183,184,194,196,198,199,"Type",-3,85,97,103,"ClassItem"],["openedBy",32,"InterpolationStart",51,"[",55,"{",70,"(",144,"JSXStartTag",156,"JSXStartTag JSXStartCloseTag"],["closedBy",34,"InterpolationEnd",45,"]",56,"}",71,")",145,"JSXSelfCloseEndTag JSXEndTag",161,"JSXEndTag"]],propSources:[We],skippedNodes:[0,3,4,270],repeatNodeCount:33,tokenData:"$Fl(CSR!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#8g!R![#:v![!]#Gv!]!^#IS!^!_#J^!_!`#Nu!`!a$#a!a!b$(n!b!c$,m!c!}Er!}#O$-w#O#P$/R#P#Q$4j#Q#R$5t#R#SEr#S#T$7R#T#o$8]#o#p$s#r#s$@P#s$f%Z$f$g+g$g#BYEr#BY#BZ$AZ#BZ$ISEr$IS$I_$AZ$I_$I|Er$I|$I}$Df$I}$JO$Df$JO$JTEr$JT$JU$AZ$JU$KVEr$KV$KW$AZ$KW&FUEr&FU&FV$AZ&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$AZ?HUOEr(n%d_$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$e&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$e&j'|!bOY&}YZ&cZw&}wx&cx!^&}!^!_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type:"keyword"}),(0,Ee.Gn)("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),(0,Ee.Gn)("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),(0,Ee.Gn)("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),(0,Ee.Gn)("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),(0,Ee.Gn)(`try { + \${} +} catch (\${error}) { + \${} +}`,{label:"try",detail:"/ catch block",type:"keyword"}),(0,Ee.Gn)("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),(0,Ee.Gn)(`if (\${}) { + \${} +} else { + \${} +}`,{label:"if",detail:"/ else block",type:"keyword"}),(0,Ee.Gn)(`class \${name} { + constructor(\${params}) { + \${} + } +}`,{label:"class",detail:"definition",type:"keyword"}),(0,Ee.Gn)('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),(0,Ee.Gn)('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],N=E.concat([(0,Ee.Gn)("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),(0,Ee.Gn)("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),(0,Ee.Gn)("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),j=new Xe.hr,ie=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function Ce(Le){return(yt,St)=>{let gt=yt.node.getChild("VariableDefinition");return gt&&St(gt,Le),!0}}const re=["FunctionDeclaration"],Ze={FunctionDeclaration:Ce("function"),ClassDeclaration:Ce("class"),ClassExpression:()=>!0,EnumDeclaration:Ce("constant"),TypeAliasDeclaration:Ce("type"),NamespaceDeclaration:Ce("namespace"),VariableDefinition(Le,yt){Le.matchContext(re)||yt(Le,"variable")},TypeDefinition(Le,yt){yt(Le,"type")},__proto__:null};function ct(Le,yt){let St=j.get(yt);if(St)return St;let gt=[],Mt=!0;function Yt(Pt,Bt){let Qt=Le.sliceString(Pt.from,Pt.to);gt.push({label:Qt,type:Bt})}return yt.cursor(Xe.vj.IncludeAnonymous).iterate(Pt=>{if(Mt)Mt=!1;else if(Pt.name){let Bt=Ze[Pt.name];if(Bt&&Bt(Pt,Yt)||ie.has(Pt.name))return!1}else if(Pt.to-Pt.from>8192){for(let Bt of ct(Le,Pt.node))gt.push(Bt);return!1}}),j.set(yt,gt),gt}const tt=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,Tt=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName",".","?."];function st(Le){let yt=(0,Ge.qz)(Le.state).resolveInner(Le.pos,-1);if(Tt.indexOf(yt.name)>-1)return null;let St=yt.name=="VariableName"||yt.to-yt.from<20&&tt.test(Le.state.sliceDoc(yt.from,yt.to));if(!St&&!Le.explicit)return null;let gt=[];for(let Mt=yt;Mt;Mt=Mt.parent)ie.has(Mt.name)&&(gt=gt.concat(ct(Le.state.doc,Mt)));return{options:gt,from:St?yt.from:Le.pos,validFor:tt}}function zt(Le,yt,St){var gt;let Mt=[];for(;;){let Yt=yt.firstChild,Pt;if((Yt==null?void 0:Yt.name)=="VariableName")return Mt.push(Le(Yt)),{path:Mt.reverse(),name:St};if((Yt==null?void 0:Yt.name)=="MemberExpression"&&((gt=Pt=Yt.lastChild)===null||gt===void 0?void 0:gt.name)=="PropertyName")Mt.push(Le(Pt)),yt=Yt;else return null}}function Dt(Le){let yt=gt=>Le.state.doc.sliceString(gt.from,gt.to),St=(0,Ge.qz)(Le.state).resolveInner(Le.pos,-1);return St.name=="PropertyName"?zt(yt,St.parent,yt(St)):(St.name=="."||St.name=="?.")&&St.parent.name=="MemberExpression"?zt(yt,St.parent,""):Tt.indexOf(St.name)>-1?null:St.name=="VariableName"||St.to-St.from<20&&tt.test(yt(St))?{path:[],name:yt(St)}:St.name=="MemberExpression"?zt(yt,St,""):Le.explicit?{path:[],name:""}:null}function lt(Le,yt){let St=[],gt=new Set;for(let Mt=0;;Mt++){for(let Pt of(Object.getOwnPropertyNames||Object.keys)(Le)){if(!/^[a-zA-Z_$\xaa-\uffdc][\w$\xaa-\uffdc]*$/.test(Pt)||gt.has(Pt))continue;gt.add(Pt);let Bt;try{Bt=Le[Pt]}catch(Qt){continue}St.push({label:Pt,type:typeof Bt=="function"?/^[A-Z]/.test(Pt)?"class":yt?"function":"method":yt?"variable":"property",boost:-Mt})}let Yt=Object.getPrototypeOf(Le);if(!Yt)return St;Le=Yt}}function Xt(Le){let yt=new Map;return St=>{let gt=Dt(St);if(!gt)return null;let Mt=Le;for(let Pt of gt.path)if(Mt=Mt[Pt],!Mt)return null;let Yt=yt.get(Mt);return Yt||yt.set(Mt,Yt=lt(Mt,!gt.path.length)),{from:St.pos-gt.name.length,options:Yt,validFor:tt}}}const en=Ge.qp.define({name:"javascript",parser:ft.configure({props:[Ge.uj.add({IfStatement:(0,Ge.tC)({except:/^\s*({|else\b)/}),TryStatement:(0,Ge.tC)({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:Ge.ze,SwitchBody:Le=>{let yt=Le.textAfter,St=/^\s*\}/.test(yt),gt=/^\s*(case|default)\b/.test(yt);return Le.baseIndent+(St?0:gt?1:2)*Le.unit},Block:(0,Ge.vw)({closing:"}"}),ArrowFunction:Le=>Le.baseIndent+Le.unit,"TemplateString BlockComment":()=>null,"Statement Property":(0,Ge.tC)({except:/^{/}),JSXElement(Le){let yt=/^\s*<\//.test(Le.textAfter);return Le.lineIndent(Le.node.from)+(yt?0:Le.unit)},JSXEscape(Le){let yt=/\s*\}/.test(Le.textAfter);return Le.lineIndent(Le.node.from)+(yt?0:Le.unit)},"JSXOpenTag JSXSelfClosingTag"(Le){return Le.column(Le.node.from)+Le.unit}}),Ge.x0.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":Ge.Dv,BlockComment(Le){return{from:Le.from+2,to:Le.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),Ht={test:Le=>/^JSX/.test(Le.name),facet:(0,Ge.kU)({commentTokens:{block:{open:"{/*",close:"*/}"}}})},Te=en.configure({dialect:"ts"},"typescript"),D=en.configure({dialect:"jsx",props:[Ge.KC.add(Le=>Le.isTop?[Ht]:void 0)]}),z=en.configure({dialect:"jsx ts",props:[Ge.KC.add(Le=>Le.isTop?[Ht]:void 0)]},"typescript");let oe=Le=>({label:Le,type:"keyword"});const ce="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(oe),we=ce.concat(["declare","implements","private","protected","public"].map(oe));function Ue(Le={}){let yt=Le.jsx?Le.typescript?z:D:Le.typescript?Te:en,St=Le.typescript?N.concat(we):E.concat(ce);return new Ge.ri(yt,[en.data.of({autocomplete:(0,Ee.eC)(Tt,(0,Ee.Mb)(St))}),en.data.of({autocomplete:st}),Le.jsx?Et:[]])}function _e(Le){for(;;){if(Le.name=="JSXOpenTag"||Le.name=="JSXSelfClosingTag"||Le.name=="JSXFragmentTag")return Le;if(Le.name=="JSXEscape"||!Le.parent)return null;Le=Le.parent}}function Ct(Le,yt,St=Le.length){for(let gt=yt==null?void 0:yt.firstChild;gt;gt=gt.nextSibling)if(gt.name=="JSXIdentifier"||gt.name=="JSXBuiltin"||gt.name=="JSXNamespacedName"||gt.name=="JSXMemberExpression")return Le.sliceString(gt.from,Math.min(gt.to,St));return""}const Lt=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),Et=Rt.tk.inputHandler.of((Le,yt,St,gt,Mt)=>{if((Lt?Le.composing:Le.compositionStarted)||Le.state.readOnly||yt!=St||gt!=">"&>!="/"||!en.isActiveAt(Le.state,yt,-1))return!1;let Yt=Mt(),{state:Pt}=Yt,Bt=Pt.changeByRange(Qt=>{var Ut;let{head:_t}=Qt,jt=(0,Ge.qz)(Pt).resolveInner(_t-1,-1),Vt;if(jt.name=="JSXStartTag"&&(jt=jt.parent),!(Pt.doc.sliceString(_t-1,_t)!=gt||jt.name=="JSXAttributeValue"&&jt.to>_t)){if(gt==">"&&jt.name=="JSXFragmentTag")return{range:Qt,changes:{from:_t,insert:""}};if(gt=="/"&&jt.name=="JSXStartCloseTag"){let hn=jt.parent,ln=hn.parent;if(ln&&hn.from==_t-2&&((Vt=Ct(Pt.doc,ln.firstChild,_t))||((Ut=ln.firstChild)===null||Ut===void 0?void 0:Ut.name)=="JSXFragmentTag")){let $t=`${Vt}>`;return{range:pt.jT.cursor(_t+$t.length,-1),changes:{from:_t,insert:$t}}}}else if(gt==">"){let hn=_e(jt);if(hn&&!/^\/?>|^<\//.test(Pt.doc.sliceString(_t,_t+2))&&(Vt=Ct(Pt.doc,hn,_t)))return{range:Qt,changes:{from:_t,insert:``}}}}return{range:Qt}});return Bt.changes.empty?!1:(Le.dispatch([Yt,Pt.update(Bt,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});function Jt(Le,yt){return yt||(yt={parserOptions:{ecmaVersion:2019,sourceType:"module"},env:{browser:!0,node:!0,es6:!0,es2015:!0,es2017:!0,es2020:!0},rules:{}},Le.getRules().forEach((St,gt)=>{St.meta.docs.recommended&&(yt.rules[gt]=2)})),St=>{let{state:gt}=St,Mt=[];for(let{from:Yt,to:Pt}of en.findRegions(gt)){let Bt=gt.doc.lineAt(Yt),Qt={line:Bt.number-1,col:Yt-Bt.from,pos:Yt};for(let Ut of Le.verify(gt.sliceDoc(Yt,Pt),yt))Mt.push(sn(Ut,gt.doc,Qt))}return Mt}}function Wt(Le,yt,St,gt){return St.line(Le+gt.line).from+yt+(Le==1?gt.col-1:-1)}function sn(Le,yt,St){let gt=Wt(Le.line,Le.column,yt,St),Mt={from:gt,to:Le.endLine!=null&&Le.endColumn!=1?Wt(Le.endLine,Le.endColumn,yt,St):gt,message:Le.message,source:Le.ruleId?"eslint:"+Le.ruleId:"eslint",severity:Le.severity==1?"warning":"error"};if(Le.fix){let{range:Yt,text:Pt}=Le.fix,Bt=Yt[0]+St.pos-gt,Qt=Yt[1]+St.pos-gt;Mt.actions=[{name:"fix",apply(Ut,_t){Ut.dispatch({changes:{from:_t+Bt,to:_t+Qt,insert:Pt},scrollIntoView:!0})}}]}return Mt}},48825:function(Ye,Ae,a){"use strict";a.r(Ae),a.d(Ae,{commonmarkLanguage:function(){return se},deleteMarkupBackward:function(){return At},insertNewlineContinueMarkup:function(){return Ie},markdown:function(){return B},markdownKeymap:function(){return U},markdownLanguage:function(){return b}});var o=a(78120),y=a(75533),p=a(59119),v=a(34790),Z=a(41113),$=a(35524);class R{static create(f,O,T,V,me){let ze=V+(V<<8)+f+(O<<4)|0;return new R(f,O,T,ze,me,[],[])}constructor(f,O,T,V,me,ze,Be){this.type=f,this.value=O,this.from=T,this.hash=V,this.end=me,this.children=ze,this.positions=Be,this.hashProp=[[Z.md.contextHash,V]]}addChild(f,O){f.prop(Z.md.contextHash)!=this.hash&&(f=new Z.mp(f.type,f.children,f.positions,f.length,this.hashProp)),this.children.push(f),this.positions.push(O)}toTree(f,O=this.end){let T=this.children.length-1;return T>=0&&(O=Math.max(O,this.positions[T]+this.children[T].length+this.from)),new Z.mp(f.types[this.type],this.children,this.positions,O-this.from).balance({makeTree:(V,me,ze)=>new Z.mp(Z.Jq.none,V,me,ze,this.hashProp)})}}var L;(function(m){m[m.Document=1]="Document",m[m.CodeBlock=2]="CodeBlock",m[m.FencedCode=3]="FencedCode",m[m.Blockquote=4]="Blockquote",m[m.HorizontalRule=5]="HorizontalRule",m[m.BulletList=6]="BulletList",m[m.OrderedList=7]="OrderedList",m[m.ListItem=8]="ListItem",m[m.ATXHeading1=9]="ATXHeading1",m[m.ATXHeading2=10]="ATXHeading2",m[m.ATXHeading3=11]="ATXHeading3",m[m.ATXHeading4=12]="ATXHeading4",m[m.ATXHeading5=13]="ATXHeading5",m[m.ATXHeading6=14]="ATXHeading6",m[m.SetextHeading1=15]="SetextHeading1",m[m.SetextHeading2=16]="SetextHeading2",m[m.HTMLBlock=17]="HTMLBlock",m[m.LinkReference=18]="LinkReference",m[m.Paragraph=19]="Paragraph",m[m.CommentBlock=20]="CommentBlock",m[m.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",m[m.Escape=22]="Escape",m[m.Entity=23]="Entity",m[m.HardBreak=24]="HardBreak",m[m.Emphasis=25]="Emphasis",m[m.StrongEmphasis=26]="StrongEmphasis",m[m.Link=27]="Link",m[m.Image=28]="Image",m[m.InlineCode=29]="InlineCode",m[m.HTMLTag=30]="HTMLTag",m[m.Comment=31]="Comment",m[m.ProcessingInstruction=32]="ProcessingInstruction",m[m.URL=33]="URL",m[m.HeaderMark=34]="HeaderMark",m[m.QuoteMark=35]="QuoteMark",m[m.ListMark=36]="ListMark",m[m.LinkMark=37]="LinkMark",m[m.EmphasisMark=38]="EmphasisMark",m[m.CodeMark=39]="CodeMark",m[m.CodeText=40]="CodeText",m[m.CodeInfo=41]="CodeInfo",m[m.LinkTitle=42]="LinkTitle",m[m.LinkLabel=43]="LinkLabel"})(L||(L={}));class _{constructor(f,O){this.start=f,this.content=O,this.marks=[],this.parsers=[]}}class G{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let f=this.skipSpace(this.basePos);this.indent=this.countIndent(f,this.pos,this.indent),this.pos=f,this.next=f==this.text.length?-1:this.text.charCodeAt(f)}skipSpace(f){return he(this.text,f)}reset(f){for(this.text=f,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(f){this.basePos=f,this.baseIndent=this.countIndent(f,this.pos,this.indent)}moveBaseColumn(f){this.baseIndent=f,this.basePos=this.findColumn(f)}addMarker(f){this.markers.push(f)}countIndent(f,O=0,T=0){for(let V=O;V=f.stack[O.depth+1].value+O.baseIndent)return!0;if(O.indent>=O.baseIndent+4)return!1;let T=(m.type==L.OrderedList?ve:ke)(O,f,!1);return T>0&&(m.type!=L.BulletList||Pe(O,f,!1)<0)&&O.text.charCodeAt(O.pos+T-1)==m.value}const K={[L.Blockquote](m,f,O){return O.next!=62?!1:(O.markers.push(Te(L.QuoteMark,f.lineStart+O.pos,f.lineStart+O.pos+1)),O.moveBase(O.pos+(ye(O.text.charCodeAt(O.pos+1))?2:1)),m.end=f.lineStart+O.text.length,!0)},[L.ListItem](m,f,O){return O.indent-1?!1:(O.moveBaseColumn(O.baseIndent+m.value),!0)},[L.OrderedList]:te,[L.BulletList]:te,[L.Document](){return!0}};function ye(m){return m==32||m==9||m==10||m==13}function he(m,f=0){for(;fO&&ye(m.charCodeAt(f-1));)f--;return f}function ge(m){if(m.next!=96&&m.next!=126)return-1;let f=m.pos+1;for(;f-1&&m.depth==f.stack.length||T<3?-1:1}function Ne(m,f){for(let O=m.stack.length-1;O>=0;O--)if(m.stack[O].type==f)return!0;return!1}function ke(m,f,O){return(m.next==45||m.next==43||m.next==42)&&(m.pos==m.text.length-1||ye(m.text.charCodeAt(m.pos+1)))&&(!O||Ne(f,L.BulletList)||m.skipSpace(m.pos+2)=48&&V<=57;){T++;if(T==m.text.length)return-1;V=m.text.charCodeAt(T)}return T==m.pos||T>m.pos+9||V!=46&&V!=41||Tm.pos+1||m.next!=49)?-1:T+1-m.pos}function We(m){if(m.next!=35)return-1;let f=m.pos+1;for(;f6?-1:O}function it(m){if(m.next!=45&&m.next!=61||m.indent>=m.baseIndent+4)return-1;let f=m.pos+1;for(;f/,ft=/\?>/,Ge=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/i.exec(T);if(me)return m.append(Te(L.Comment,O,O+1+me[0].length));let ze=/^\?[^]*?\?>/.exec(T);if(ze)return m.append(Te(L.ProcessingInstruction,O,O+1+ze[0].length));let Be=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(T);return Be?m.append(Te(L.HTMLTag,O,O+1+Be[0].length)):-1},Emphasis(m,f,O){if(f!=95&&f!=42)return-1;let T=O+1;for(;m.char(T)==f;)T++;let V=m.slice(O-1,O),me=m.slice(T,T+1),ze=_e.test(V),Be=_e.test(me),Je=/\s|^$/.test(V),vt=/\s|^$/.test(me),W=!vt&&(!Be||Je||ze),x=!Je&&(!ze||vt||Be),P=W&&(f==42||!x||ze),q=x&&(f==42||!W||Be);return m.append(new we(f==95?D:z,O,T,(P?1:0)|(q?2:0)))},HardBreak(m,f,O){if(f==92&&m.char(O+1)==10)return m.append(Te(L.HardBreak,O,O+2));if(f==32){let T=O+1;for(;m.char(T)==32;)T++;if(m.char(T)==10&&T>=O+2)return m.append(Te(L.HardBreak,O,T+1))}return-1},Link(m,f,O){return f==91?m.append(new we(oe,O,O+1,1)):-1},Image(m,f,O){return f==33&&m.char(O+1)==91?m.append(new we(ce,O,O+2,1)):-1},LinkEnd(m,f,O){if(f!=93)return-1;for(let T=m.parts.length-1;T>=0;T--){let V=m.parts[T];if(V instanceof we&&(V.type==oe||V.type==ce)){if(!V.side||m.skipSpace(V.to)==O&&!/[(\[]/.test(m.slice(O+1,O+2)))return m.parts[T]=null,-1;let me=m.takeContent(T),ze=m.parts[T]=Lt(m,me,V.type==oe?L.Link:L.Image,V.from,O+1);if(V.type==oe)for(let Be=0;Bef?Te(L.URL,f+O,me+O):me==m.length?null:!1}}function Jt(m,f,O){let T=m.charCodeAt(f);if(T!=39&&T!=34&&T!=40)return!1;let V=T==40?41:T;for(let me=f+1,ze=!1;me=this.end?-1:this.text.charCodeAt(f-this.offset)}get end(){return this.offset+this.text.length}slice(f,O){return this.text.slice(f-this.offset,O-this.offset)}append(f){return this.parts.push(f),f.to}addDelimiter(f,O,T,V,me){return this.append(new we(f,O,T,(V?1:0)|(me?2:0)))}addElement(f){return this.append(f)}resolveMarkers(f){for(let T=f;T=f;Je--){let be=this.parts[Je];if(be instanceof we&&be.side&1&&be.type==V.type&&!(me&&(V.side&1||be.side&2)&&(be.to-be.from+ze)%3==0&&((be.to-be.from)%3||ze%3))){Be=be;break}}if(!Be)continue;let vt=V.type.resolve,W=[],x=Be.from,P=V.to;if(me){let be=Math.min(2,Be.to-Be.from,ze);x=Be.to-be,P=V.from+be,vt=be==1?"Emphasis":"StrongEmphasis"}Be.type.mark&&W.push(this.elt(Be.type.mark,x,Be.to));for(let be=Je+1;be=0;O--){let T=this.parts[O];if(T instanceof we&&T.type==f)return O}return null}takeContent(f){let O=this.resolveMarkers(f);return this.parts.length=f,O}skipSpace(f){return he(this.text,f-this.offset)+this.offset}elt(f,O,T,V){return typeof f=="string"?Te(this.parser.getNodeType(f),O,T,V):new Ht(f,O)}}function Le(m,f){if(!f.length)return m;if(!m.length)return f;let O=m.slice(),T=0;for(let V of f){for(;T(f?f-1:0))return!1;if(this.fragmentEnd<0){let me=this.fragment.to;for(;me>0&&this.input.read(me-1,me)!=` +`;)me--;this.fragmentEnd=me?me-1:0}let T=this.cursor;T||(T=this.cursor=this.fragment.tree.cursor(),T.firstChild());let V=f+this.fragment.offset;for(;T.to<=V;)if(!T.parent())return!1;for(;;){if(T.from>=V)return this.fragment.from<=O;if(!T.childAfter(V))return!1}}matches(f){let O=this.cursor.tree;return O&&O.prop(Z.md.contextHash)==f}takeNodes(f){let O=this.cursor,T=this.fragment.offset,V=this.fragmentEnd-(this.fragment.openEnd?1:0),me=f.absoluteLineStart,ze=me,Be=f.block.children.length,Je=ze,vt=Be;for(;;){if(O.to-T>V){if(O.type.isAnonymous&&O.firstChild())continue;break}let W=gt(O.from-T,f.ranges);if(O.to-T<=f.ranges[f.rangeI].to)f.addNode(O.tree,W);else{let x=new Z.mp(f.parser.nodeSet.types[L.Paragraph],[],[],0,f.block.hashProp);f.reusePlaceholders.set(x,O.tree),f.addNode(x,W)}if(O.type.is("Block")&&(yt.indexOf(O.type.id)<0?(ze=O.to-T,Be=f.block.children.length):(ze=Je,Be=vt,Je=O.to-T,vt=f.block.children.length)),!O.nextSibling())break}for(;f.block.children.length>Be;)f.block.children.pop(),f.block.positions.pop();return ze-me}}function gt(m,f){let O=m;for(let T=1;TXe[m]),Object.keys(Xe).map(m=>ie[m]),Object.keys(Xe),Ce,K,Object.keys(Ct).map(m=>Ct[m]),Object.keys(Ct),[]);function Pt(m,f,O){let T=[];for(let V=m.firstChild,me=f;;V=V.nextSibling){let ze=V?V.from:O;if(ze>me&&T.push({from:me,to:ze}),!V)break;me=V.to}return T}function Bt(m){let{codeParser:f,htmlParser:O}=m;return{wrap:(0,Z.FE)((V,me)=>{let ze=V.type.id;if(f&&(ze==L.CodeBlock||ze==L.FencedCode)){let Be="";if(ze==L.FencedCode){let vt=V.node.getChild(L.CodeInfo);vt&&(Be=me.read(vt.from,vt.to))}let Je=f(Be);if(Je)return{parser:Je,overlay:vt=>vt.type.id==L.CodeText}}else if(O&&(ze==L.HTMLBlock||ze==L.HTMLTag))return{parser:O,overlay:Pt(V.node,V.from,V.to)};return null})}}const Qt={resolve:"Strikethrough",mark:"StrikethroughMark"},Ut={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":$.pJ.strikethrough}},{name:"StrikethroughMark",style:$.pJ.processingInstruction}],parseInline:[{name:"Strikethrough",parse(m,f,O){if(f!=126||m.char(O+1)!=126||m.char(O+2)==126)return-1;let T=m.slice(O-1,O),V=m.slice(O+2,O+3),me=/\s|^$/.test(T),ze=/\s|^$/.test(V),Be=_e.test(T),Je=_e.test(V);return m.addDelimiter(Qt,O,O+2,!ze&&(!Je||me||Be),!me&&(!Be||ze||Je))},after:"Emphasis"}]};function _t(m,f,O=0,T,V=0){let me=0,ze=!0,Be=-1,Je=-1,vt=!1,W=()=>{T.push(m.elt("TableCell",V+Be,V+Je,m.parser.parseInline(f.slice(Be,Je),V+Be)))};for(let x=O;x-1)&&me++,ze=!1,T&&(Be>-1&&W(),T.push(m.elt("TableDelimiter",x+V,x+V+1))),Be=Je=-1):(vt||P!=32&&P!=9)&&(Be<0&&(Be=x),Je=x+1),vt=!vt&&P==92}return Be>-1&&(me++,T&&W()),me}function jt(m,f){for(let O=f;OV instanceof hn)||!jt(f.text,f.basePos))return!1;let T=m.scanLine(m.absoluteLineEnd+1).text;return Vt.test(T)&&_t(m,f.text,f.basePos)==_t(m,T,f.basePos)},before:"SetextHeading"}]};class $t{nextLine(){return!1}finish(f,O){return f.addLeafElement(O,f.elt("Task",O.start,O.start+O.content.length,[f.elt("TaskMarker",O.start,O.start+3),...f.parser.parseInline(O.content.slice(3),O.start+3)])),!0}}const zn={defineNodes:[{name:"Task",block:!0,style:$.pJ.list},{name:"TaskMarker",style:$.pJ.atom}],parseBlock:[{name:"TaskList",leaf(m,f){return/^\[[ xX]\][ \t]/.test(f.content)&&m.parentType().name=="ListItem"?new $t:null},after:"SetextHeading"}]},cn=/(www\.)|(https?:\/\/)|([\w.+-]+@)|(mailto:|xmpp:)/gy,Tn=/[\w-]+(\.\w+(\.\w+)?)(\/[^\s<]*)?/gy,An=/[\w.+-]+@[\w-]+\.[\w.-]+/gy,Sn=/\/[a-zA-Z\d@.]+/gy;function fn(m,f,O,T){let V=0;for(let me=f;mefn(m,f,T,"("))T--;else if(V==";"&&(me=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(m.slice(f,T))))T=f+me.index;else break}return T}function On(m,f){An.lastIndex=f;let O=An.exec(m);if(!O)return-1;let T=O[0][O[0].length-1];return T=="_"||T=="-"?-1:f+O[0].length-(T=="."?1:0)}const Mn=[ln,zn,Ut,{parseInline:[{name:"Autolink",parse(m,f,O){let T=O-m.offset;cn.lastIndex=T;let V=cn.exec(m.text),me=-1;return!V||(V[1]||V[2]?me=Qn(m.text,T+V[0].length):V[3]?me=On(m.text,T):(me=On(m.text,T+V[0].length),me>-1&&V[0]=="xmpp:"&&(Sn.lastIndex=me,V=Sn.exec(m.text),V&&(me=V.index+V[0].length))),me<0)?-1:(m.addElement(m.elt("URL",O,me+m.offset)),me+m.offset)}}]}];function Gn(m,f,O){return(T,V,me)=>{if(V!=m||T.char(me+1)==m)return-1;let ze=[T.elt(O,me,me+1)];for(let Be=me+1;Be"}}}),Vn=new Z.md,wn=Yt.configure({props:[p.x0.add(m=>!m.is("Block")||m.is("Document")||Nn(m)!=null?void 0:(f,O)=>({from:O.doc.lineAt(f.from).to,to:f.to})),Vn.add(Nn),p.uj.add({Document:()=>null}),p.pp.add({Document:Si})]});function Nn(m){let f=/^(?:ATX|Setext)Heading(\d)$/.exec(m.name);return f?+f[1]:void 0}function si(m,f){let O=m;for(;;){let T=O.nextSibling,V;if(!T||(V=Nn(T.type))!=null&&V<=f)break;O=T}return O.to}const ai=p.rs.of((m,f,O)=>{for(let T=(0,p.qz)(m).resolveInner(O,-1);T&&!(T.fromO)return{from:O,to:me}}return null});function Un(m){return new p.SQ(Si,m,[ai],"markdown")}const se=Un(wn),b=Un(wn.configure([Mn,bi,li,kn]));function d(m,f){return O=>{if(O&&m){let T=null;if(O=/\S*/.exec(O)[0],typeof m=="function"?T=m(O):T=p.c6.matchLanguageName(m,O,!0),T instanceof p.c6)return T.support?T.support.language.parser:p.Be.getSkippingParser(T.load());if(T)return T.parser}return f?f.parser:null}}class C{constructor(f,O,T,V,me,ze,Be){this.node=f,this.from=O,this.to=T,this.spaceBefore=V,this.spaceAfter=me,this.type=ze,this.item=Be}blank(f,O=!0){let T=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(f!=null){for(;T.length0;V--)T+=" ";return T+(O?this.spaceAfter:"")}}marker(f,O){let T=this.node.name=="OrderedList"?String(+Y(this.item,f)[2]+O):"";return this.spaceBefore+T+this.type+this.spaceAfter}}function I(m,f){let O=[];for(let V=m;V&&V.name!="Document";V=V.parent)(V.name=="ListItem"||V.name=="Blockquote"||V.name=="FencedCode")&&O.push(V);let T=[];for(let V=O.length-1;V>=0;V--){let me=O[V],ze,Be=f.lineAt(me.from),Je=me.from-Be.from;if(me.name=="FencedCode")T.push(new C(me,Je,Je,"","","",null));else if(me.name=="Blockquote"&&(ze=/^ *>( ?)/.exec(Be.text.slice(Je))))T.push(new C(me,Je,Je+ze[0].length,"",ze[1],">",null));else if(me.name=="ListItem"&&me.parent.name=="OrderedList"&&(ze=/^( *)\d+([.)])( *)/.exec(Be.text.slice(Je)))){let vt=ze[3],W=ze[0].length;vt.length>=4&&(vt=vt.slice(0,vt.length-4),W-=4),T.push(new C(me.parent,Je,Je+W,ze[1],vt,ze[2],me))}else if(me.name=="ListItem"&&me.parent.name=="BulletList"&&(ze=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(Be.text.slice(Je)))){let vt=ze[4],W=ze[0].length;vt.length>4&&(vt=vt.slice(0,vt.length-4),W-=4);let x=ze[2];ze[3]&&(x+=ze[3].replace(/[xX]/," ")),T.push(new C(me.parent,Je,Je+W,ze[1],vt,x,me))}}return T}function Y(m,f){return/^(\s*)(\d+)(?=[.)])/.exec(f.sliceString(m.from,m.from+10))}function H(m,f,O,T=0){for(let V=-1,me=m;;){if(me.name=="ListItem"){let Be=Y(me,f),Je=+Be[2];if(V>=0){if(Je!=V+1)return;O.push({from:me.from+Be[1].length,to:me.from+Be[0].length,insert:String(V+2+T)})}V=Je}let ze=me.nextSibling;if(!ze)break;me=ze}}function ue(m,f){let O=/^[ \t]*/.exec(m)[0].length;if(!O||f.facet(p.c)!=" ")return m;let T=(0,o.IS)(m,4,O),V="";for(let me=T;me>0;)me>=4?(V+=" ",me-=4):(V+=" ",me--);return V+m.slice(O)}const Ie=({state:m,dispatch:f})=>{let O=(0,p.qz)(m),{doc:T}=m,V=null,me=m.changeByRange(ze=>{if(!ze.empty||!b.isActiveAt(m,ze.from))return V={range:ze};let Be=ze.from,Je=T.lineAt(Be),vt=I(O.resolveInner(Be,-1),T);for(;vt.length&&vt[vt.length-1].from>Be-Je.from;)vt.pop();if(!vt.length)return V={range:ze};let W=vt[vt.length-1];if(W.to-W.spaceAfter.length>Be-Je.from)return V={range:ze};let x=Be>=W.to-W.spaceAfter.length&&!/\S/.test(Je.text.slice(W.to));if(W.item&&x)if(W.node.firstChild.to>=Be||Je.from>0&&!/[^\s>]/.test(T.lineAt(Je.from-1).text)){let Qe=vt.length>1?vt[vt.length-2]:null,et,ot="";Qe&&Qe.item?(et=Je.from+Qe.from,ot=Qe.marker(T,1)):et=Je.from+(Qe?Qe.to:0);let Nt=[{from:et,to:Be,insert:ot}];return W.node.name=="OrderedList"&&H(W.item,T,Nt,-2),Qe&&Qe.node.name=="OrderedList"&&H(Qe.item,T,Nt),{range:o.jT.cursor(et+ot.length),changes:Nt}}else{let Qe="";for(let et=0,ot=vt.length-2;et<=ot;et++)Qe+=vt[et].blank(et\s*$/.exec(Qe.text);if(et&&et.index==W.from){let ot=m.changes([{from:Qe.from+et.index,to:Qe.to},{from:Je.from+W.from,to:Je.to}]);return{range:ze.map(ot),changes:ot}}}let P=[];W.node.name=="OrderedList"&&H(W.item,T,P);let q=W.item&&W.item.from]*/.exec(Je.text)[0].length>=W.to)for(let Qe=0,et=vt.length-1;Qe<=et;Qe++)le+=Qe==et&&!q?vt[Qe].marker(T,1):vt[Qe].blank(QeJe.from&&/\s/.test(Je.text.charAt(be-Je.from-1));)be--;return le=m.lineBreak+ue(le,m),P.push({from:be,to:Be,insert:le}),{range:o.jT.cursor(be+le.length),changes:P}});return V?!1:(f(m.update(me,{scrollIntoView:!0,userEvent:"input"})),!0)};function qe(m){return m.name=="QuoteMark"||m.name=="ListMark"}function ht(m,f){let O=m.resolveInner(f,-1),T=f;qe(O)&&(T=O.from,O=O.parent);for(let V;V=O.childBefore(T);)if(qe(V))T=V.from;else if(V.name=="OrderedList"||V.name=="BulletList")O=V.lastChild,T=O.to;else break;return O}const At=({state:m,dispatch:f})=>{let O=(0,p.qz)(m),T=null,V=m.changeByRange(me=>{let ze=me.from,{doc:Be}=m;if(me.empty&&b.isActiveAt(m,me.from)){let Je=Be.lineAt(ze),vt=I(ht(O,ze),Be);if(vt.length){let W=vt[vt.length-1],x=W.to-W.spaceAfter.length+(W.spaceAfter?1:0);if(ze-Je.from>x&&!/\S/.test(Je.text.slice(x,ze-Je.from)))return{range:o.jT.cursor(Je.from+x),changes:{from:Je.from+x,to:ze}};if(ze-Je.from==x&&(!W.item||Je.from<=W.item.from||!/\S/.test(Je.text.slice(0,W.to)))){let P=Je.from+W.from;if(W.item&&W.node.fromx.concat(W):void 0})}const _=new o.md;class G{constructor(x,P,q=[],le=""){this.data=x,this.name=le,y.yy.prototype.hasOwnProperty("tree")||Object.defineProperty(y.yy.prototype,"tree",{get(){return ye(this)}}),this.parser=P,this.extension=[ft.of(this),y.yy.languageData.of((be,Qe,et)=>{let ot=te(be,Qe,et),Nt=ot.type.prop(R);if(!Nt)return[];let tn=be.facet(Nt),dn=ot.type.prop(_);if(dn){let Hn=ot.resolve(Qe-ot.from,et);for(let qn of dn)if(qn.test(Hn,be)){let Ei=be.facet(qn.facet);return qn.type=="replace"?Ei:Ei.concat(tn)}}return tn})].concat(q)}isActiveAt(x,P,q=-1){return te(x,P,q).type.prop(R)==this.data}findRegions(x){let P=x.facet(ft);if((P==null?void 0:P.data)==this.data)return[{from:0,to:x.doc.length}];if(!P||!P.allowsNesting)return[];let q=[],le=(be,Qe)=>{if(be.prop(R)==this.data){q.push({from:Qe,to:Qe+be.length});return}let et=be.prop(o.md.mounted);if(et){if(et.tree.prop(R)==this.data){if(et.overlay)for(let ot of et.overlay)q.push({from:ot.from+Qe,to:ot.to+Qe});else q.push({from:Qe,to:Qe+be.length});return}else if(et.overlay){let ot=q.length;if(le(et.tree,et.overlay[0].from+Qe),q.length>ot)return}}for(let ot=0;otq.isTop?P:void 0)]}),x.name)}configure(x,P){return new K(this.data,this.parser.configure(x),P||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function ye(W){let x=W.field(G.state,!1);return x?x.tree:o.mp.empty}function he(W,x,P=50){var q;let le=(q=W.field(G.state,!1))===null||q===void 0?void 0:q.context;if(!le)return null;let be=le.viewport;le.updateViewport({from:0,to:x});let Qe=le.isDone(x)||le.work(P,x)?le.tree:null;return le.updateViewport(be),Qe}function $e(W,x=W.doc.length){var P;return((P=W.field(G.state,!1))===null||P===void 0?void 0:P.context.isDone(x))||!1}function ge(W,x=W.viewport.to,P=100){let q=he(W.state,x,P);return q!=ye(W.state)&&W.dispatch({}),!!q}function je(W){var x;return((x=W.plugin(rt))===null||x===void 0?void 0:x.isWorking())||!1}class Pe{constructor(x){this.doc=x,this.cursorPos=0,this.string="",this.cursor=x.iter()}get length(){return this.doc.length}syncTo(x){return this.string=this.cursor.next(x-this.cursorPos).value,this.cursorPos=x+this.string.length,this.cursorPos-this.string.length}chunk(x){return this.syncTo(x),this.string}get lineChunks(){return!0}read(x,P){let q=this.cursorPos-this.string.length;return x=this.cursorPos?this.doc.sliceString(x,P):this.string.slice(x-q,P-q)}}let Ne=null;class ke{constructor(x,P,q=[],le,be,Qe,et,ot){this.parser=x,this.state=P,this.fragments=q,this.tree=le,this.treeLen=be,this.viewport=Qe,this.skipped=et,this.scheduleOn=ot,this.parse=null,this.tempSkipped=[]}static create(x,P,q){return new ke(x,P,[],o.mp.empty,0,q,[],null)}startParse(){return this.parser.startParse(new Pe(this.state.doc),this.fragments)}work(x,P){return P!=null&&P>=this.state.doc.length&&(P=void 0),this.tree!=o.mp.empty&&this.isDone(P!=null?P:this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var q;if(typeof x=="number"){let le=Date.now()+x;x=()=>Date.now()>le}for(this.parse||(this.parse=this.startParse()),P!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>P)&&P=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>x)&&this.parse.stopAt(x),this.withContext(()=>{for(;!(P=this.parse.advance()););}),this.treeLen=x,this.tree=P,this.fragments=this.withoutTempSkipped(o.i9.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(x){let P=Ne;Ne=this;try{return x()}finally{Ne=P}}withoutTempSkipped(x){for(let P;P=this.tempSkipped.pop();)x=ve(x,P.from,P.to);return x}changes(x,P){let{fragments:q,tree:le,treeLen:be,viewport:Qe,skipped:et}=this;if(this.takeTree(),!x.empty){let ot=[];if(x.iterChangedRanges((Nt,tn,dn,Hn)=>ot.push({fromA:Nt,toA:tn,fromB:dn,toB:Hn})),q=o.i9.applyChanges(q,ot),le=o.mp.empty,be=0,Qe={from:x.mapPos(Qe.from,-1),to:x.mapPos(Qe.to,1)},this.skipped.length){et=[];for(let Nt of this.skipped){let tn=x.mapPos(Nt.from,1),dn=x.mapPos(Nt.to,-1);tnx.from&&(this.fragments=ve(this.fragments,le,be),this.skipped.splice(q--,1))}return this.skipped.length>=P?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(x,P){this.skipped.push({from:x,to:P})}static getSkippingParser(x){return new class extends o._b{createParse(P,q,le){let be=le[0].from,Qe=le[le.length-1].to;return{parsedPos:be,advance(){let ot=Ne;if(ot){for(let Nt of le)ot.tempSkipped.push(Nt);x&&(ot.scheduleOn=ot.scheduleOn?Promise.all([ot.scheduleOn,x]):x)}return this.parsedPos=Qe,new o.mp(o.Jq.none,[],[],Qe-be)},stoppedAt:null,stopAt(){}}}}}isDone(x){x=Math.min(x,this.state.doc.length);let P=this.fragments;return this.treeLen>=x&&P.length&&P[0].from==0&&P[0].to>=x}static get(){return Ne}}function ve(W,x,P){return o.i9.applyChanges(W,[{fromA:x,toA:P,fromB:x,toB:P}])}class We{constructor(x){this.context=x,this.tree=x.tree}apply(x){if(!x.docChanged&&this.tree==this.context.tree)return this;let P=this.context.changes(x.changes,x.state),q=this.context.treeLen==x.startState.doc.length?void 0:Math.max(x.changes.mapPos(this.context.treeLen),P.viewport.to);return P.work(20,q)||P.takeTree(),new We(P)}static init(x){let P=Math.min(3e3,x.doc.length),q=ke.create(x.facet(ft).parser,x,{from:0,to:P});return q.work(20,P)||q.takeTree(),new We(q)}}G.state=y.QQ.define({create:We.init,update(W,x){for(let P of x.effects)if(P.is(G.setState))return P.value;return x.startState.facet(ft)!=x.state.facet(ft)?We.init(x.state):W.apply(x)}});let it=W=>{let x=setTimeout(()=>W(),500);return()=>clearTimeout(x)};typeof requestIdleCallback!="undefined"&&(it=W=>{let x=-1,P=setTimeout(()=>{x=requestIdleCallback(W,{timeout:500-100})},100);return()=>x<0?clearTimeout(P):cancelIdleCallback(x)});const nt=typeof navigator!="undefined"&&(!(($=navigator.scheduling)===null||$===void 0)&&$.isInputPending)?()=>navigator.scheduling.isInputPending():null,rt=p.lg.fromClass(class{constructor(x){this.view=x,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(x){let P=this.view.state.field(G.state).context;(P.updateViewport(x.view.viewport)||this.view.viewport.to>P.treeLen)&&this.scheduleWork(),(x.docChanged||x.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(P)}scheduleWork(){if(this.working)return;let{state:x}=this.view,P=x.field(G.state);(P.tree!=P.context.tree||!P.context.isDone(x.doc.length))&&(this.working=it(this.work))}work(x){this.working=null;let P=Date.now();if(this.chunkEndle+1e3,ot=be.context.work(()=>nt&&nt()||Date.now()>Qe,le+(et?0:1e5));this.chunkBudget-=Date.now()-P,(ot||this.chunkBudget<=0)&&(be.context.takeTree(),this.view.dispatch({effects:G.setState.of(new We(be.context))})),this.chunkBudget>0&&!(ot&&!et)&&this.scheduleWork(),this.checkAsyncSchedule(be.context)}checkAsyncSchedule(x){x.scheduleOn&&(this.workScheduled++,x.scheduleOn.then(()=>this.scheduleWork()).catch(P=>(0,p.OO)(this.view.state,P)).then(()=>this.workScheduled--),x.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),ft=y.r$.define({combine(W){return W.length?W[0]:null},enables:W=>[G.state,rt,p.tk.contentAttributes.compute([W],x=>{let P=x.facet(W);return P&&P.name?{"data-language":P.name}:{}})]});class Ge{constructor(x,P=[]){this.language=x,this.support=P,this.extension=[x,P]}}class pt{constructor(x,P,q,le,be,Qe=void 0){this.name=x,this.alias=P,this.extensions=q,this.filename=le,this.loadFunc=be,this.support=Qe,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(x=>this.support=x,x=>{throw this.loading=null,x}))}static of(x){let{load:P,support:q}=x;if(!P){if(!q)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");P=()=>Promise.resolve(q)}return new pt(x.name,(x.alias||[]).concat(x.name).map(le=>le.toLowerCase()),x.extensions||[],x.filename,P,q)}static matchFilename(x,P){for(let le of x)if(le.filename&&le.filename.test(P))return le;let q=/\.([^.]+)$/.exec(P);if(q){for(let le of x)if(le.extensions.indexOf(q[1])>-1)return le}return null}static matchLanguageName(x,P,q=!0){P=P.toLowerCase();for(let le of x)if(le.alias.some(be=>be==P))return le;if(q)for(let le of x)for(let be of le.alias){let Qe=P.indexOf(be);if(Qe>-1&&(be.length>2||!/\w/.test(P[Qe-1])&&!/\w/.test(P[Qe+be.length])))return le}return null}}const Rt=y.r$.define(),Ee=y.r$.define({combine:W=>{if(!W.length)return" ";let x=W[0];if(!x||/\S/.test(x)||Array.from(x).some(P=>P!=x[0]))throw new Error("Invalid indent unit: "+JSON.stringify(W[0]));return x}});function Xe(W){let x=W.facet(Ee);return x.charCodeAt(0)==9?W.tabSize*x.length:x.length}function E(W,x){let P="",q=W.tabSize,le=W.facet(Ee)[0];if(le==" "){for(;x>=q;)P+=" ",x-=q;le=" "}for(let be=0;be=x?re(W,P,x):null}function j(W,x,P){let q=Object.create(null),le=new ie(W,{overrideIndentation:Qe=>{var et;return(et=q[Qe])!==null&&et!==void 0?et:-1}}),be=[];for(let Qe=x;Qe<=P;){let et=W.doc.lineAt(Qe);Qe=et.to+1;let ot=N(le,et.from);if(ot==null)continue;/\S/.test(et.text)||(ot=0);let Nt=/^\s*/.exec(et.text)[0],tn=E(W,ot);Nt!=tn&&(q[et.from]=ot,be.push({from:et.from,to:et.from+Nt.length,insert:tn}))}return W.changes(be)}class ie{constructor(x,P={}){this.state=x,this.options=P,this.unit=Xe(x)}lineAt(x,P=1){let q=this.state.doc.lineAt(x),{simulateBreak:le,simulateDoubleBreak:be}=this.options;return le!=null&&le>=q.from&&le<=q.to?be&&le==x?{text:"",from:x}:(P<0?le-1&&(be+=Qe-this.countColumn(q,q.search(/\S|$/))),be}countColumn(x,P=x.length){return(0,y.IS)(x,this.state.tabSize,P)}lineIndent(x,P=1){let{text:q,from:le}=this.lineAt(x,P),be=this.options.overrideIndentation;if(be){let Qe=be(le);if(Qe>-1)return Qe}return this.countColumn(q,q.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const Ce=new o.md;function re(W,x,P){let q=x.resolveStack(P),le=q.node.enterUnfinishedNodesBefore(P);if(le!=q.node){let be=[];for(let Qe=le;Qe!=q.node;Qe=Qe.parent)be.push(Qe);for(let Qe=be.length-1;Qe>=0;Qe--)q={node:be[Qe],next:q}}return Ze(q,W,P)}function Ze(W,x,P){for(let q=W;q;q=q.next){let le=tt(q.node);if(le)return le(st.create(x,P,q))}return 0}function ct(W){return W.pos==W.options.simulateBreak&&W.options.simulateDoubleBreak}function tt(W){let x=W.type.prop(Ce);if(x)return x;let P=W.firstChild,q;if(P&&(q=P.type.prop(o.md.closedBy))){let le=W.lastChild,be=le&&q.indexOf(le.name)>-1;return Qe=>Xt(Qe,!0,1,void 0,be&&!ct(Qe)?le.from:void 0)}return W.parent==null?Tt:null}function Tt(){return 0}class st extends ie{constructor(x,P,q){super(x.state,x.options),this.base=x,this.pos=P,this.context=q}get node(){return this.context.node}static create(x,P,q){return new st(x,P,q)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(x){let P=this.state.doc.lineAt(x.from);for(;;){let q=x.resolve(P.from);for(;q.parent&&q.parent.from==q.from;)q=q.parent;if(zt(q,x))break;P=this.state.doc.lineAt(q.from)}return this.lineIndent(P.from)}continue(){return Ze(this.context.next,this.base,this.pos)}}function zt(W,x){for(let P=x;P;P=P.parent)if(W==P)return!0;return!1}function Dt(W){let x=W.node,P=x.childAfter(x.from),q=x.lastChild;if(!P)return null;let le=W.options.simulateBreak,be=W.state.doc.lineAt(P.from),Qe=le==null||le<=be.from?be.to:Math.min(be.to,le);for(let et=P.to;;){let ot=x.childAfter(et);if(!ot||ot==q)return null;if(!ot.type.isSkipped)return ot.fromXt(q,x,P,W)}function Xt(W,x,P,q,le){let be=W.textAfter,Qe=be.match(/^\s*/)[0].length,et=q&&be.slice(Qe,Qe+q.length)==q||le==W.pos+Qe,ot=x?Dt(W):null;return ot?et?W.column(ot.from):W.column(ot.to):W.baseIndent+(et?0:W.unit*P)}const en=W=>W.baseIndent;function Ht({except:W,units:x=1}={}){return P=>{let q=W&&W.test(P.textAfter);return P.baseIndent+(q?0:x*P.unit)}}const Te=200;function D(){return EditorState.transactionFilter.of(W=>{if(!W.docChanged||!W.isUserEvent("input.type")&&!W.isUserEvent("input.complete"))return W;let x=W.startState.languageDataAt("indentOnInput",W.startState.selection.main.head);if(!x.length)return W;let P=W.newDoc,{head:q}=W.newSelection.main,le=P.lineAt(q);if(q>le.from+Te)return W;let be=P.sliceString(le.from,q);if(!x.some(Nt=>Nt.test(be)))return W;let{state:Qe}=W,et=-1,ot=[];for(let{head:Nt}of Qe.selection.ranges){let tn=Qe.doc.lineAt(Nt);if(tn.from==et)continue;et=tn.from;let dn=N(Qe,tn.from);if(dn==null)continue;let Hn=/^\s*/.exec(tn.text)[0],qn=E(Qe,dn);Hn!=qn&&ot.push({from:tn.from,to:tn.from+Hn.length,insert:qn})}return ot.length?[W,{changes:ot,sequential:!0}]:W})}const z=y.r$.define(),oe=new o.md;function ce(W){let x=W.firstChild,P=W.lastChild;return x&&x.toP)continue;if(be&&et.from=x&&Nt.to>P&&(be=Nt)}}return be}function Ue(W){let x=W.lastChild;return x&&x.to==W.to&&x.type.isError}function _e(W,x,P){for(let q of W.facet(z)){let le=q(W,x,P);if(le)return le}return we(W,x,P)}function Ct(W,x){let P=x.mapPos(W.from,1),q=x.mapPos(W.to,-1);return P>=q?void 0:{from:P,to:q}}const Lt=y.Py.define({map:Ct}),Et=y.Py.define({map:Ct});function Jt(W){let x=[];for(let{head:P}of W.state.selection.ranges)x.some(q=>q.from<=P&&q.to>=P)||x.push(W.lineBlockAt(P));return x}const Wt=y.QQ.define({create(){return p.p.none},update(W,x){W=W.map(x.changes);for(let P of x.effects)if(P.is(Lt)&&!yt(W,P.value.from,P.value.to)){let{preparePlaceholder:q}=x.state.facet(Vt),le=q?p.p.replace({widget:new zn(q(x.state,P.value))}):$t;W=W.update({add:[le.range(P.value.from,P.value.to)]})}else P.is(Et)&&(W=W.update({filter:(q,le)=>P.value.from!=q||P.value.to!=le,filterFrom:P.value.from,filterTo:P.value.to}));if(x.selection){let P=!1,{head:q}=x.selection.main;W.between(q,q,(le,be)=>{leq&&(P=!0)}),P&&(W=W.update({filterFrom:q,filterTo:q,filter:(le,be)=>be<=q||le>=q}))}return W},provide:W=>p.tk.decorations.from(W),toJSON(W,x){let P=[];return W.between(0,x.doc.length,(q,le)=>{P.push(q,le)}),P},fromJSON(W){if(!Array.isArray(W)||W.length%2)throw new RangeError("Invalid JSON for fold state");let x=[];for(let P=0;P{(!le||le.from>be)&&(le={from:be,to:Qe})}),le}function yt(W,x,P){let q=!1;return W.between(x,x,(le,be)=>{le==x&&be==P&&(q=!0)}),q}function St(W,x){return W.field(Wt,!1)?x:x.concat(y.Py.appendConfig.of(hn()))}const gt=W=>{for(let x of Jt(W)){let P=_e(W.state,x.from,x.to);if(P)return W.dispatch({effects:St(W.state,[Lt.of(P),Yt(W,P)])}),!0}return!1},Mt=W=>{if(!W.state.field(Wt,!1))return!1;let x=[];for(let P of Jt(W)){let q=Le(W.state,P.from,P.to);q&&x.push(Et.of(q),Yt(W,q,!1))}return x.length&&W.dispatch({effects:x}),x.length>0};function Yt(W,x,P=!0){let q=W.state.doc.lineAt(x.from).number,le=W.state.doc.lineAt(x.to).number;return p.tk.announce.of(`${W.state.phrase(P?"Folded lines":"Unfolded lines")} ${q} ${W.state.phrase("to")} ${le}.`)}const Pt=W=>{let{state:x}=W,P=[];for(let q=0;q{let x=W.state.field(Wt,!1);if(!x||!x.size)return!1;let P=[];return x.between(0,W.state.doc.length,(q,le)=>{P.push(Et.of({from:q,to:le}))}),W.dispatch({effects:P}),!0};function Qt(W,x){for(let P=x;;){let q=_e(W.state,P.from,P.to);if(q&&q.to>x.from)return q;if(!P.from)return null;P=W.lineBlockAt(P.from-1)}}const Ut=W=>{let x=[];for(let P of Jt(W)){let q=Le(W.state,P.from,P.to);if(q)x.push(Et.of(q),Yt(W,q,!1));else{let le=Qt(W,P);le&&x.push(Lt.of(le),Yt(W,le))}}return x.length>0&&W.dispatch({effects:St(W.state,x)}),!!x.length},_t=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:gt},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:Mt},{key:"Ctrl-Alt-[",run:Pt},{key:"Ctrl-Alt-]",run:Bt}],jt={placeholderDOM:null,preparePlaceholder:null,placeholderText:"\u2026"},Vt=y.r$.define({combine(W){return(0,y.BO)(W,jt)}});function hn(W){let x=[Wt,Sn];return W&&x.push(Vt.of(W)),x}function ln(W,x){let{state:P}=W,q=P.facet(Vt),le=Qe=>{let et=W.lineBlockAt(W.posAtDOM(Qe.target)),ot=Le(W.state,et.from,et.to);ot&&W.dispatch({effects:Et.of(ot)}),Qe.preventDefault()};if(q.placeholderDOM)return q.placeholderDOM(W,le,x);let be=document.createElement("span");return be.textContent=q.placeholderText,be.setAttribute("aria-label",P.phrase("folded code")),be.title=P.phrase("unfold"),be.className="cm-foldPlaceholder",be.onclick=le,be}const $t=p.p.replace({widget:new class extends p.l9{toDOM(W){return ln(W,null)}}});class zn extends p.l9{constructor(x){super(),this.value=x}eq(x){return this.value==x.value}toDOM(x){return ln(x,this.value)}}const cn={openText:"\u2304",closedText:"\u203A",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class Tn extends null{constructor(x,P){super(),this.config=x,this.open=P}eq(x){return this.config==x.config&&this.open==x.open}toDOM(x){if(this.config.markerDOM)return this.config.markerDOM(this.open);let P=document.createElement("span");return P.textContent=this.open?this.config.openText:this.config.closedText,P.title=x.state.phrase(this.open?"Fold line":"Unfold line"),P}}function An(W={}){let x=Object.assign(Object.assign({},cn),W),P=new Tn(x,!0),q=new Tn(x,!1),le=ViewPlugin.fromClass(class{constructor(Qe){this.from=Qe.viewport.from,this.markers=this.buildMarkers(Qe)}update(Qe){(Qe.docChanged||Qe.viewportChanged||Qe.startState.facet(ft)!=Qe.state.facet(ft)||Qe.startState.field(Wt,!1)!=Qe.state.field(Wt,!1)||ye(Qe.startState)!=ye(Qe.state)||x.foldingChanged(Qe))&&(this.markers=this.buildMarkers(Qe.view))}buildMarkers(Qe){let et=new RangeSetBuilder;for(let ot of Qe.viewportLineBlocks){let Nt=Le(Qe.state,ot.from,ot.to)?q:_e(Qe.state,ot.from,ot.to)?P:null;Nt&&et.add(ot.from,ot.from,Nt)}return et.finish()}}),{domEventHandlers:be}=x;return[le,gutter({class:"cm-foldGutter",markers(Qe){var et;return((et=Qe.plugin(le))===null||et===void 0?void 0:et.markers)||RangeSet.empty},initialSpacer(){return new Tn(x,!1)},domEventHandlers:Object.assign(Object.assign({},be),{click:(Qe,et,ot)=>{if(be.click&&be.click(Qe,et,ot))return!0;let Nt=Le(Qe.state,et.from,et.to);if(Nt)return Qe.dispatch({effects:Et.of(Nt)}),!0;let tn=_e(Qe.state,et.from,et.to);return tn?(Qe.dispatch({effects:Lt.of(tn)}),!0):!1}})}),hn()]}const Sn=p.tk.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class fn{constructor(x,P){this.specs=x;let q;function le(et){let ot=Z.V.newName();return(q||(q=Object.create(null)))["."+ot]=et,ot}const be=typeof P.all=="string"?P.all:P.all?le(P.all):void 0,Qe=P.scope;this.scope=Qe instanceof G?et=>et.prop(R)==Qe.data:Qe?et=>et==Qe:void 0,this.style=(0,v.QR)(x.map(et=>({tag:et.tag,class:et.class||le(Object.assign({},et,{tag:null}))})),{all:be}).style,this.module=q?new Z.V(q):null,this.themeType=P.themeType}static define(x,P){return new fn(x,P||{})}}const Qn=y.r$.define(),On=y.r$.define({combine(W){return W.length?[W[0]]:null}});function jn(W){let x=W.facet(Qn);return x.length?x:W.facet(On)}function Mn(W,x){let P=[bi],q;return W instanceof fn&&(W.module&&P.push(p.tk.styleModule.of(W.module)),q=W.themeType),x!=null&&x.fallback?P.push(On.of(W)):q?P.push(Qn.computeN([p.tk.darkTheme],le=>le.facet(p.tk.darkTheme)==(q=="dark")?[W]:[])):P.push(Qn.of(W)),P}function Gn(W,x,P){let q=jn(W),le=null;if(q){for(let be of q)if(!be.scope||P&&be.scope(P)){let Qe=be.style(x);Qe&&(le=le?le+" "+Qe:Qe)}}return le}class li{constructor(x){this.markCache=Object.create(null),this.tree=ye(x.state),this.decorations=this.buildDeco(x,jn(x.state))}update(x){let P=ye(x.state),q=jn(x.state),le=q!=jn(x.startState);P.length{q.add(Qe,et,this.markCache[ot]||(this.markCache[ot]=p.p.mark({class:ot})))},le,be);return q.finish()}}const bi=y.Wl.high(p.lg.fromClass(li,{decorations:W=>W.decorations})),kn=fn.define([{tag:v.pJ.meta,color:"#404740"},{tag:v.pJ.link,textDecoration:"underline"},{tag:v.pJ.heading,textDecoration:"underline",fontWeight:"bold"},{tag:v.pJ.emphasis,fontStyle:"italic"},{tag:v.pJ.strong,fontWeight:"bold"},{tag:v.pJ.strikethrough,textDecoration:"line-through"},{tag:v.pJ.keyword,color:"#708"},{tag:[v.pJ.atom,v.pJ.bool,v.pJ.url,v.pJ.contentSeparator,v.pJ.labelName],color:"#219"},{tag:[v.pJ.literal,v.pJ.inserted],color:"#164"},{tag:[v.pJ.string,v.pJ.deleted],color:"#a11"},{tag:[v.pJ.regexp,v.pJ.escape,v.pJ.special(v.pJ.string)],color:"#e40"},{tag:v.pJ.definition(v.pJ.variableName),color:"#00f"},{tag:v.pJ.local(v.pJ.variableName),color:"#30a"},{tag:[v.pJ.typeName,v.pJ.namespace],color:"#085"},{tag:v.pJ.className,color:"#167"},{tag:[v.pJ.special(v.pJ.variableName),v.pJ.macroName],color:"#256"},{tag:v.pJ.definition(v.pJ.propertyName),color:"#00c"},{tag:v.pJ.comment,color:"#940"},{tag:v.pJ.invalid,color:"#f00"}]),Wn=p.tk.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),Si=1e4,Vn="()[]{}",wn=y.r$.define({combine(W){return(0,y.BO)(W,{afterCursor:!0,brackets:Vn,maxScanDistance:Si,renderMatch:ai})}}),Nn=p.p.mark({class:"cm-matchingBracket"}),si=p.p.mark({class:"cm-nonmatchingBracket"});function ai(W){let x=[],P=W.matched?Nn:si;return x.push(P.range(W.start.from,W.start.to)),W.end&&x.push(P.range(W.end.from,W.end.to)),x}const se=[y.QQ.define({create(){return p.p.none},update(W,x){if(!x.docChanged&&!x.selection)return W;let P=[],q=x.state.facet(wn);for(let le of x.state.selection.ranges){if(!le.empty)continue;let be=I(x.state,le.head,-1,q)||le.head>0&&I(x.state,le.head-1,1,q)||q.afterCursor&&(I(x.state,le.head,1,q)||le.headp.tk.decorations.from(W)}),Wn];function h(W={}){return[wn.of(W),se]}const b=new o.md;function d(W,x,P){let q=W.prop(x<0?o.md.openedBy:o.md.closedBy);if(q)return q;if(W.name.length==1){let le=P.indexOf(W.name);if(le>-1&&le%2==(x<0?1:0))return[P[le+x]]}return null}function C(W){let x=W.type.prop(b);return x?x(W.node):W}function I(W,x,P,q={}){let le=q.maxScanDistance||Si,be=q.brackets||Vn,Qe=ye(W),et=Qe.resolveInner(x,P);for(let ot=et;ot;ot=ot.parent){let Nt=d(ot.type,P,be);if(Nt&&ot.from0?x>=tn.from&&xtn.from&&x<=tn.to))return Y(W,x,P,ot,tn,Nt,be)}}return H(W,x,P,Qe,et.type,le,be)}function Y(W,x,P,q,le,be,Qe){let et=q.parent,ot={from:le.from,to:le.to},Nt=0,tn=et==null?void 0:et.cursor();if(tn&&(P<0?tn.childBefore(q.from):tn.childAfter(q.to)))do if(P<0?tn.to<=q.from:tn.from>=q.to){if(Nt==0&&be.indexOf(tn.type.name)>-1&&tn.from0)return null;let Nt={from:P<0?x-1:x,to:P>0?x+1:x},tn=W.doc.iterRange(x,P>0?W.doc.length:0),dn=0;for(let Hn=0;!tn.next().done&&Hn<=be;){let qn=tn.value;P<0&&(Hn+=qn.length);let Ei=x+Hn*P;for(let Zi=P>0?0:qn.length-1,Dr=P>0?qn.length:-1;Zi!=Dr;Zi+=P){let or=Qe.indexOf(qn[Zi]);if(!(or<0||q.resolveInner(Ei+Zi,1).type!=le))if(or%2==0==P>0)dn++;else{if(dn==1)return{start:Nt,end:{from:Ei+Zi,to:Ei+Zi+1},matched:or>>1==ot>>1};dn--}}P>0&&(Hn+=qn.length)}return tn.done?{start:Nt,matched:!1}:null}function ue(W,x,P,q=0,le=0){x==null&&(x=W.search(/[^\s\u00a0]/),x==-1&&(x=W.length));let be=le;for(let Qe=q;Qe=this.string.length}sol(){return this.pos==0}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.posP}eatSpace(){let x=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>x}skipToEnd(){this.pos=this.string.length}skipTo(x){let P=this.string.indexOf(x,this.pos);if(P>-1)return this.pos=P,!0}backUp(x){this.pos-=x}column(){return this.lastColumnPosq?Qe.toLowerCase():Qe,be=this.string.substr(this.pos,x.length);return le(be)==le(x)?(P!==!1&&(this.pos+=x.length),!0):null}else{let le=this.string.slice(this.pos).match(x);return le&&le.index>0?null:(le&&P!==!1&&(this.pos+=le[0].length),le)}}current(){return this.string.slice(this.start,this.pos)}}function qe(W){return{name:W.name||"",token:W.token,blankLine:W.blankLine||(()=>{}),startState:W.startState||(()=>!0),copyState:W.copyState||ht,indent:W.indent||(()=>null),languageData:W.languageData||{},tokenTable:W.tokenTable||m}}function ht(W){if(typeof W!="object")return W;let x={};for(let P in W){let q=W[P];x[P]=q instanceof Array?q.slice():q}return x}const At=new WeakMap;class U extends G{constructor(x){let P=L(x.languageData),q=qe(x),le,be=new class extends o._b{createParse(Qe,et,ot){return new ae(le,Qe,et,ot)}};super(P,be,[Rt.of((Qe,et)=>this.getIndent(Qe,et))],x.name),this.topNode=vt(P),le=this,this.streamParser=q,this.stateAfter=new o.md({perNode:!0}),this.tokenTable=x.tokenTable?new me(q.tokenTable):ze}static define(x){return new U(x)}getIndent(x,P){let q=ye(x.state),le=q.resolve(P);for(;le&&le.type!=this.topNode;)le=le.parent;if(!le)return null;let be,{overrideIndentation:Qe}=x.options;Qe&&(be=At.get(x.state),be!=null&&be1e4)return null;for(;ot=q&&P+x.length<=le&&x.prop(W.stateAfter);if(be)return{state:W.streamParser.copyState(be),pos:P+x.length};for(let Qe=x.children.length-1;Qe>=0;Qe--){let et=x.children[Qe],ot=P+x.positions[Qe],Nt=et instanceof o.mp&&ot=x.length)return x;!le&&x.type==W.topNode&&(le=!0);for(let be=x.children.length-1;be>=0;be--){let Qe=x.positions[be],et=x.children[be],ot;if(QeP&&Q(W,le.tree,0-le.offset,P,Qe),ot;if(et&&(ot=B(W,le.tree,P+le.offset,et.pos+le.offset,!1)))return{state:et.state,tree:ot}}return{state:W.streamParser.startState(q?Xe(q):4),tree:o.mp.empty}}class ae{constructor(x,P,q,le){this.lang=x,this.input=P,this.fragments=q,this.ranges=le,this.stoppedAt=null,this.chunks=[],this.chunkPos=[],this.chunk=[],this.chunkReused=void 0,this.rangeIndex=0,this.to=le[le.length-1].to;let be=ke.get(),Qe=le[0].from,{state:et,tree:ot}=ne(x,q,Qe,be==null?void 0:be.state);this.state=et,this.parsedPos=this.chunkStart=Qe+ot.length;for(let Nt=0;Nt=P?this.finish():x&&this.parsedPos>=x.viewport.to?(x.skipUntilInView(this.parsedPos,P),this.finish()):null}stopAt(x){this.stoppedAt=x}lineAfter(x){let P=this.input.chunk(x);if(this.input.lineChunks)P==` +`&&(P="");else{let q=P.indexOf(` +`);q>-1&&(P=P.slice(0,q))}return x+P.length<=this.to?P:P.slice(0,this.to-x)}nextLine(){let x=this.parsedPos,P=this.lineAfter(x),q=x+P.length;for(let le=this.rangeIndex;;){let be=this.ranges[le].to;if(be>=q||(P=P.slice(0,be-(q-P.length)),le++,le==this.ranges.length))break;let Qe=this.ranges[le].from,et=this.lineAfter(Qe);P+=et,q=Qe+et.length}return{line:P,end:q}}skipGapsTo(x,P,q){for(;;){let le=this.ranges[this.rangeIndex].to,be=x+P;if(q>0?le>be:le>=be)break;let Qe=this.ranges[++this.rangeIndex].from;P+=Qe-le}return P}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to1){be=this.skipGapsTo(P,be,1),P+=be;let Qe=this.chunk.length;be=this.skipGapsTo(q,be,-1),q+=be,le+=this.chunk.length-Qe}return this.chunk.push(x,P,q,le),be}parseLine(x){let{line:P,end:q}=this.nextLine(),le=0,{streamParser:be}=this.lang,Qe=new Ie(P,x?x.state.tabSize:4,x?Xe(x.state):2);if(Qe.eol())be.blankLine(this.state,Qe.indentUnit);else for(;!Qe.eol();){let et=De(be.token,Qe,this.state);if(et&&(le=this.emitToken(this.lang.tokenTable.resolve(et),this.parsedPos+Qe.start,this.parsedPos+Qe.pos,4,le)),Qe.start>1e4)break}this.parsedPos=q,this.moveRangeIndex(),this.parsedPosx.start)return le}throw new Error("Stream parser failed to advance stream.")}const m=Object.create(null),f=[o.Jq.none],O=new o.Lj(f),T=[],V=Object.create(null);for(let[W,x]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])V[W]=Je(m,x);class me{constructor(x){this.extra=x,this.table=Object.assign(Object.create(null),V)}resolve(x){return x?this.table[x]||(this.table[x]=Je(this.extra,x)):0}}const ze=new me(m);function Be(W,x){T.indexOf(W)>-1||(T.push(W),console.warn(x))}function Je(W,x){let P=null;for(let be of x.split(".")){let Qe=W[be]||v.pJ[be];Qe?typeof Qe=="function"?P?P=Qe(P):Be(be,`Modifier ${be} used at start of tag`):P?Be(be,`Tag ${be} used as modifier`):P=Qe:Be(be,`Unknown highlighting tag ${be}`)}if(!P)return 0;let q=x.replace(/ /g,"_"),le=o.Jq.define({id:f.length,name:q,props:[(0,v.Gv)({[q]:P})]});return f.push(le),le.id}function vt(W){let x=o.Jq.define({id:f.length,name:"Document",props:[R.add(()=>W)],top:!0});return f.push(x),x}},78120:function(Ye,Ae,a){"use strict";a.d(Ae,{BO:function(){return Tn},D0:function(){return Vt},F6:function(){return Te},Gz:function(){return Un},IS:function(){return ai},Py:function(){return St},QQ:function(){return Dt},Wl:function(){return en},Xs:function(){return On},YW:function(){return gt},as:function(){return ft},bg:function(){return ve},cp:function(){return $e},f_:function(){return Mn},gc:function(){return nt},gm:function(){return ke},jT:function(){return j},n0:function(){return rt},nZ:function(){return We},q6:function(){return sn},r$:function(){return re},uU:function(){return An},xv:function(){return o},yy:function(){return cn}});class o{lineAt(h){if(h<0||h>this.length)throw new RangeError(`Invalid position ${h} in document of length ${this.length}`);return this.lineInner(h,!1,1,0)}line(h){if(h<1||h>this.lines)throw new RangeError(`Invalid line number ${h} in ${this.lines}-line document`);return this.lineInner(h,!0,1,0)}replace(h,b,d){let C=[];return this.decompose(0,h,C,2),d.length&&d.decompose(0,d.length,C,3),this.decompose(b,this.length,C,1),p.from(C,this.length-(b-h)+d.length)}append(h){return this.replace(this.length,this.length,h)}slice(h,b=this.length){let d=[];return this.decompose(h,b,d,0),p.from(d,b-h)}eq(h){if(h==this)return!0;if(h.length!=this.length||h.lines!=this.lines)return!1;let b=this.scanIdentical(h,1),d=this.length-this.scanIdentical(h,-1),C=new R(this),I=new R(h);for(let Y=b,H=b;;){if(C.next(Y),I.next(Y),Y=0,C.lineBreak!=I.lineBreak||C.done!=I.done||C.value!=I.value)return!1;if(H+=C.value.length,C.done||H>=d)return!0}}iter(h=1){return new R(this,h)}iterRange(h,b=this.length){return new L(this,h,b)}iterLines(h,b){let d;if(h==null)d=this.iter();else{b==null&&(b=this.lines+1);let C=this.line(h).from;d=this.iterRange(C,Math.max(C,b==this.lines+1?this.length:b<=1?0:this.line(b-1).to))}return new _(d)}toString(){return this.sliceString(0)}toJSON(){let h=[];return this.flatten(h),h}constructor(){}static of(h){if(h.length==0)throw new RangeError("A document must have at least one line");return h.length==1&&!h[0]?o.empty:h.length<=32?new y(h):p.from(y.split(h,[]))}}class y extends o{constructor(h,b=v(h)){super(),this.text=h,this.length=b}get lines(){return this.text.length}get children(){return null}lineInner(h,b,d,C){for(let I=0;;I++){let Y=this.text[I],H=C+Y.length;if((b?d:H)>=h)return new G(C,H,d,Y);C=H+1,d++}}decompose(h,b,d,C){let I=h<=0&&b>=this.length?this:new y($(this.text,h,b),Math.min(b,this.length)-Math.max(0,h));if(C&1){let Y=d.pop(),H=Z(I.text,Y.text.slice(),0,I.length);if(H.length<=32)d.push(new y(H,Y.length+I.length));else{let ue=H.length>>1;d.push(new y(H.slice(0,ue)),new y(H.slice(ue)))}}else d.push(I)}replace(h,b,d){if(!(d instanceof y))return super.replace(h,b,d);let C=Z(this.text,Z(d.text,$(this.text,0,h)),b),I=this.length+d.length-(b-h);return C.length<=32?new y(C,I):p.from(y.split(C,[]),I)}sliceString(h,b=this.length,d=` +`){let C="";for(let I=0,Y=0;I<=b&&Yh&&Y&&(C+=d),hI&&(C+=H.slice(Math.max(0,h-I),b-I)),I=ue+1}return C}flatten(h){for(let b of this.text)h.push(b)}scanIdentical(){return 0}static split(h,b){let d=[],C=-1;for(let I of h)d.push(I),C+=I.length+1,d.length==32&&(b.push(new y(d,C)),d=[],C=-1);return C>-1&&b.push(new y(d,C)),b}}class p extends o{constructor(h,b){super(),this.children=h,this.length=b,this.lines=0;for(let d of h)this.lines+=d.lines}lineInner(h,b,d,C){for(let I=0;;I++){let Y=this.children[I],H=C+Y.length,ue=d+Y.lines-1;if((b?ue:H)>=h)return Y.lineInner(h,b,d,C);C=H+1,d=ue+1}}decompose(h,b,d,C){for(let I=0,Y=0;Y<=b&&I=Y){let Ie=C&((Y<=h?1:0)|(ue>=b?2:0));Y>=h&&ue<=b&&!Ie?d.push(H):H.decompose(h-Y,b-Y,d,Ie)}Y=ue+1}}replace(h,b,d){if(d.lines=I&&b<=H){let ue=Y.replace(h-I,b-I,d),Ie=this.lines-Y.lines+ue.lines;if(ue.lines>5-1&&ue.lines>Ie>>5+1){let qe=this.children.slice();return qe[C]=ue,new p(qe,this.length-(b-h)+d.length)}return super.replace(I,H,ue)}I=H+1}return super.replace(h,b,d)}sliceString(h,b=this.length,d=` +`){let C="";for(let I=0,Y=0;Ih&&I&&(C+=d),hY&&(C+=H.sliceString(h-Y,b-Y,d)),Y=ue+1}return C}flatten(h){for(let b of this.children)b.flatten(h)}scanIdentical(h,b){if(!(h instanceof p))return 0;let d=0,[C,I,Y,H]=b>0?[0,0,this.children.length,h.children.length]:[this.children.length-1,h.children.length-1,-1,-1];for(;;C+=b,I+=b){if(C==Y||I==H)return d;let ue=this.children[C],Ie=h.children[I];if(ue!=Ie)return d+ue.scanIdentical(Ie,b);d+=ue.length+1}}static from(h,b=h.reduce((d,C)=>d+C.length+1,-1)){let d=0;for(let U of h)d+=U.lines;if(d<32){let U=[];for(let Q of h)Q.flatten(U);return new y(U,b)}let C=Math.max(32,d>>5),I=C<<1,Y=C>>1,H=[],ue=0,Ie=-1,qe=[];function ht(U){let Q;if(U.lines>I&&U instanceof p)for(let B of U.children)ht(B);else U.lines>Y&&(ue>Y||!ue)?(At(),H.push(U)):U instanceof y&&ue&&(Q=qe[qe.length-1])instanceof y&&U.lines+Q.lines<=32?(ue+=U.lines,Ie+=U.length+1,qe[qe.length-1]=new y(Q.text.concat(U.text),Q.length+1+U.length)):(ue+U.lines>C&&At(),ue+=U.lines,Ie+=U.length+1,qe.push(U))}function At(){ue!=0&&(H.push(qe.length==1?qe[0]:p.from(qe,Ie)),Ie=-1,ue=qe.length=0)}for(let U of h)ht(U);return At(),H.length==1?H[0]:new p(H,b)}}o.empty=new y([""],0);function v(se){let h=-1;for(let b of se)h+=b.length+1;return h}function Z(se,h,b=0,d=1e9){for(let C=0,I=0,Y=!0;I=b&&(ue>d&&(H=H.slice(0,d-C)),C0?1:(h instanceof y?h.text.length:h.children.length)<<1]}nextInner(h,b){for(this.done=this.lineBreak=!1;;){let d=this.nodes.length-1,C=this.nodes[d],I=this.offsets[d],Y=I>>1,H=C instanceof y?C.text.length:C.children.length;if(Y==(b>0?H:0)){if(d==0)return this.done=!0,this.value="",this;b>0&&this.offsets[d-1]++,this.nodes.pop(),this.offsets.pop()}else if((I&1)==(b>0?0:1)){if(this.offsets[d]+=b,h==0)return this.lineBreak=!0,this.value=` +`,this;h--}else if(C instanceof y){let ue=C.text[Y+(b<0?-1:0)];if(this.offsets[d]+=b,ue.length>Math.max(0,h))return this.value=h==0?ue:b>0?ue.slice(h):ue.slice(0,ue.length-h),this;h-=ue.length}else{let ue=C.children[Y+(b<0?-1:0)];h>ue.length?(h-=ue.length,this.offsets[d]+=b):(b<0&&this.offsets[d]--,this.nodes.push(ue),this.offsets.push(b>0?1:(ue instanceof y?ue.text.length:ue.children.length)<<1))}}}next(h=0){return h<0&&(this.nextInner(-h,-this.dir),h=this.value.length),this.nextInner(h,this.dir)}}class L{constructor(h,b,d){this.value="",this.done=!1,this.cursor=new R(h,b>d?-1:1),this.pos=b>d?h.length:0,this.from=Math.min(b,d),this.to=Math.max(b,d)}nextInner(h,b){if(b<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;h+=Math.max(0,b<0?this.pos-this.to:this.from-this.pos);let d=b<0?this.pos-this.from:this.to-this.pos;h>d&&(h=d),d-=h;let{value:C}=this.cursor.next(h);return this.pos+=(C.length+h)*b,this.value=C.length<=d?C:b<0?C.slice(C.length-d):C.slice(0,d),this.done=!this.value,this}next(h=0){return h<0?h=Math.max(h,this.from-this.pos):h>0&&(h=Math.min(h,this.to-this.pos)),this.nextInner(h,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class _{constructor(h){this.inner=h,this.afterBreak=!0,this.value="",this.done=!1}next(h=0){let{done:b,lineBreak:d,value:C}=this.inner.next(h);return b?(this.done=!0,this.value=""):d?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=C,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol!="undefined"&&(o.prototype[Symbol.iterator]=function(){return this.iter()},R.prototype[Symbol.iterator]=L.prototype[Symbol.iterator]=_.prototype[Symbol.iterator]=function(){return this});class G{constructor(h,b,d,C){this.from=h,this.to=b,this.number=d,this.text=C}get length(){return this.to-this.from}}let te="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,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]<=se;return!1}function ye(se){return se>=127462&&se<=127487}const he=8205;function $e(se,h,b=!0,d=!0){return(b?ge:je)(se,h,d)}function ge(se,h,b){if(h==se.length)return h;h&&Pe(se.charCodeAt(h))&&Ne(se.charCodeAt(h-1))&&h--;let d=ke(se,h);for(h+=We(d);h=0&&ye(ke(se,Y));)I++,Y-=2;if(I%2==0)break;h+=2}else break}return h}function je(se,h,b){for(;h>0;){let d=ge(se,h-2,b);if(d=56320&&se<57344}function Ne(se){return se>=55296&&se<56320}function ke(se,h){let b=se.charCodeAt(h);if(!Ne(b)||h+1==se.length)return b;let d=se.charCodeAt(h+1);return Pe(d)?(b-55296<<10)+(d-56320)+65536:b}function ve(se){return se<=65535?String.fromCharCode(se):(se-=65536,String.fromCharCode((se>>10)+55296,(se&1023)+56320))}function We(se){return se<65536?1:2}const it=/\r\n?|\n/;var nt=function(se){return se[se.Simple=0]="Simple",se[se.TrackDel=1]="TrackDel",se[se.TrackBefore=2]="TrackBefore",se[se.TrackAfter=3]="TrackAfter",se}(nt||(nt={}));class rt{constructor(h){this.sections=h}get length(){let h=0;for(let b=0;bh)return I+(h-C);I+=H}else{if(d!=nt.Simple&&Ie>=h&&(d==nt.TrackDel&&Ch||d==nt.TrackBefore&&Ch))return null;if(Ie>h||Ie==h&&b<0&&!H)return h==C||b<0?I:I+ue;I+=ue}C=Ie}if(h>C)throw new RangeError(`Position ${h} is out of range for changeset of length ${C}`);return I}touchesRange(h,b=h){for(let d=0,C=0;d=0&&C<=b&&H>=h)return Cb?"cover":!0;C=H}return!1}toString(){let h="";for(let b=0;b=0?":"+C:"")}return h}toJSON(){return this.sections}static fromJSON(h){if(!Array.isArray(h)||h.length%2||h.some(b=>typeof b!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new rt(h)}static create(h){return new rt(h)}}class ft extends rt{constructor(h,b){super(h),this.inserted=b}apply(h){if(this.length!=h.length)throw new RangeError("Applying change set to a document with the wrong length");return Rt(this,(b,d,C,I,Y)=>h=h.replace(C,C+(d-b),Y),!1),h}mapDesc(h,b=!1){return Ee(this,h,b,!0)}invert(h){let b=this.sections.slice(),d=[];for(let C=0,I=0;C=0){b[C]=H,b[C+1]=Y;let ue=C>>1;for(;d.length0&&pt(d,b,I.text),I.forward(qe),H+=qe}let Ie=h[Y++];for(;H>1].toJSON()))}return h}static of(h,b,d){let C=[],I=[],Y=0,H=null;function ue(qe=!1){if(!qe&&!C.length)return;YAt||ht<0||At>b)throw new RangeError(`Invalid change range ${ht} to ${At} (in doc of length ${b})`);let Q=U?typeof U=="string"?o.of(U.split(d||it)):U:o.empty,B=Q.length;if(ht==At&&B==0)return;htY&&Ge(C,ht-Y,-1),Ge(C,At-ht,B),pt(I,C,Q),Y=At}}return Ie(h),ue(!H),H}static empty(h){return new ft(h?[h,-1]:[],[])}static fromJSON(h){if(!Array.isArray(h))throw new RangeError("Invalid JSON representation of ChangeSet");let b=[],d=[];for(let C=0;CH&&typeof Y!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(I.length==1)b.push(I[0],0);else{for(;d.length=0&&b<=0&&b==se[C+1]?se[C]+=h:h==0&&se[C]==0?se[C+1]+=b:d?(se[C]+=h,se[C+1]+=b):se.push(h,b)}function pt(se,h,b){if(b.length==0)return;let d=h.length-2>>1;if(d>1])),!(b||Y==se.sections.length||se.sections[Y+1]<0);)H=se.sections[Y++],ue=se.sections[Y++];h(C,Ie,I,qe,ht),C=Ie,I=qe}}}function Ee(se,h,b,d=!1){let C=[],I=d?[]:null,Y=new E(se),H=new E(h);for(let ue=-1;;)if(Y.ins==-1&&H.ins==-1){let Ie=Math.min(Y.len,H.len);Ge(C,Ie,-1),Y.forward(Ie),H.forward(Ie)}else if(H.ins>=0&&(Y.ins<0||ue==Y.i||Y.off==0&&(H.len=0&&ue=0){let Ie=0,qe=Y.len;for(;qe;)if(H.ins==-1){let ht=Math.min(qe,H.len);Ie+=ht,qe-=ht,H.forward(ht)}else if(H.ins==0&&H.lenue||Y.ins>=0&&Y.len>ue)&&(H||d.length>Ie),I.forward2(ue),Y.forward(ue)}}}}class E{constructor(h){this.set=h,this.i=0,this.next()}next(){let{sections:h}=this.set;this.i>1;return b>=h.length?o.empty:h[b]}textBit(h){let{inserted:b}=this.set,d=this.i-2>>1;return d>=b.length&&!h?o.empty:b[d].slice(this.off,h==null?void 0:this.off+h)}forward(h){h==this.len?this.next():(this.len-=h,this.off+=h)}forward2(h){this.ins==-1?this.forward(h):h==this.ins?this.next():(this.ins-=h,this.off+=h)}}class N{constructor(h,b,d){this.from=h,this.to=b,this.flags=d}get anchor(){return this.flags&16?this.to:this.from}get head(){return this.flags&16?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&4?-1:this.flags&8?1:0}get bidiLevel(){let h=this.flags&3;return h==3?null:h}get goalColumn(){let h=this.flags>>5;return h==33554431?void 0:h}map(h,b=-1){let d,C;return this.empty?d=C=h.mapPos(this.from,b):(d=h.mapPos(this.from,1),C=h.mapPos(this.to,-1)),d==this.from&&C==this.to?this:new N(d,C,this.flags)}extend(h,b=h){if(h<=this.anchor&&b>=this.anchor)return j.range(h,b);let d=Math.abs(h-this.anchor)>Math.abs(b-this.anchor)?h:b;return j.range(this.anchor,d)}eq(h){return this.anchor==h.anchor&&this.head==h.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(h){if(!h||typeof h.anchor!="number"||typeof h.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return j.range(h.anchor,h.head)}static create(h,b,d){return new N(h,b,d)}}class j{constructor(h,b){this.ranges=h,this.mainIndex=b}map(h,b=-1){return h.empty?this:j.create(this.ranges.map(d=>d.map(h,b)),this.mainIndex)}eq(h){if(this.ranges.length!=h.ranges.length||this.mainIndex!=h.mainIndex)return!1;for(let b=0;bh.toJSON()),main:this.mainIndex}}static fromJSON(h){if(!h||!Array.isArray(h.ranges)||typeof h.main!="number"||h.main>=h.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new j(h.ranges.map(b=>N.fromJSON(b)),h.main)}static single(h,b=h){return new j([j.range(h,b)],0)}static create(h,b=0){if(h.length==0)throw new RangeError("A selection needs at least one range");for(let d=0,C=0;Ch?4:0)|I)}static normalized(h,b=0){let d=h[b];h.sort((C,I)=>C.from-I.from),b=h.indexOf(d);for(let C=1;CI.head?j.range(ue,H):j.range(H,ue))}}return new j(h,b)}}function ie(se,h){for(let b of se.ranges)if(b.to>h)throw new RangeError("Selection points outside of document")}let Ce=0;class re{constructor(h,b,d,C,I){this.combine=h,this.compareInput=b,this.compare=d,this.isStatic=C,this.id=Ce++,this.default=h([]),this.extensions=typeof I=="function"?I(this):I}static define(h={}){return new re(h.combine||(b=>b),h.compareInput||((b,d)=>b===d),h.compare||(h.combine?(b,d)=>b===d:Ze),!!h.static,h.enables)}of(h){return new ct([],this,0,h)}compute(h,b){if(this.isStatic)throw new Error("Can't compute a static facet");return new ct(h,this,1,b)}computeN(h,b){if(this.isStatic)throw new Error("Can't compute a static facet");return new ct(h,this,2,b)}from(h,b){return b||(b=d=>d),this.compute([h],d=>b(d.field(h)))}}function Ze(se,h){return se==h||se.length==h.length&&se.every((b,d)=>b===h[d])}class ct{constructor(h,b,d,C){this.dependencies=h,this.facet=b,this.type=d,this.value=C,this.id=Ce++}dynamicSlot(h){var b;let d=this.value,C=this.facet.compareInput,I=this.id,Y=h[I]>>1,H=this.type==2,ue=!1,Ie=!1,qe=[];for(let ht of this.dependencies)ht=="doc"?ue=!0:ht=="selection"?Ie=!0:((b=h[ht.id])!==null&&b!==void 0?b:1)&1||qe.push(h[ht.id]);return{create(ht){return ht.values[Y]=d(ht),1},update(ht,At){if(ue&&At.docChanged||Ie&&(At.docChanged||At.selection)||Tt(ht,qe)){let U=d(ht);if(H?!tt(U,ht.values[Y],C):!C(U,ht.values[Y]))return ht.values[Y]=U,1}return 0},reconfigure:(ht,At)=>{let U,Q=At.config.address[I];if(Q!=null){let B=we(At,Q);if(this.dependencies.every(ne=>ne instanceof re?At.facet(ne)===ht.facet(ne):ne instanceof Dt?At.field(ne,!1)==ht.field(ne,!1):!0)||(H?tt(U=d(ht),B,C):C(U=d(ht),B)))return ht.values[Y]=B,0}else U=d(ht);return ht.values[Y]=U,1}}}}function tt(se,h,b){if(se.length!=h.length)return!1;for(let d=0;dse[ue.id]),C=b.map(ue=>ue.type),I=d.filter(ue=>!(ue&1)),Y=se[h.id]>>1;function H(ue){let Ie=[];for(let qe=0;qed===C),h);return h.provide&&(b.provides=h.provide(b)),b}create(h){let b=h.facet(zt).find(d=>d.field==this);return((b==null?void 0:b.create)||this.createF)(h)}slot(h){let b=h[this.id]>>1;return{create:d=>(d.values[b]=this.create(d),1),update:(d,C)=>{let I=d.values[b],Y=this.updateF(I,C);return this.compareF(I,Y)?0:(d.values[b]=Y,1)},reconfigure:(d,C)=>C.config.address[this.id]!=null?(d.values[b]=C.field(this),0):(d.values[b]=this.create(d),1)}}init(h){return[this,zt.of({field:this,create:h})]}get extension(){return this}}const lt={lowest:4,low:3,default:2,high:1,highest:0};function Xt(se){return h=>new Ht(h,se)}const en={highest:Xt(lt.highest),high:Xt(lt.high),default:Xt(lt.default),low:Xt(lt.low),lowest:Xt(lt.lowest)};class Ht{constructor(h,b){this.inner=h,this.prec=b}}class Te{of(h){return new D(this,h)}reconfigure(h){return Te.reconfigure.of({compartment:this,extension:h})}get(h){return h.config.compartments.get(this)}}class D{constructor(h,b){this.compartment=h,this.inner=b}}class z{constructor(h,b,d,C,I,Y){for(this.base=h,this.compartments=b,this.dynamicSlots=d,this.address=C,this.staticValues=I,this.facets=Y,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(h,b,d){let C=[],I=Object.create(null),Y=new Map;for(let At of oe(h,b,Y))At instanceof Dt?C.push(At):(I[At.facet.id]||(I[At.facet.id]=[])).push(At);let H=Object.create(null),ue=[],Ie=[];for(let At of C)H[At.id]=Ie.length<<1,Ie.push(U=>At.slot(U));let qe=d==null?void 0:d.config.facets;for(let At in I){let U=I[At],Q=U[0].facet,B=qe&&qe[At]||[];if(U.every(ne=>ne.type==0))if(H[Q.id]=ue.length<<1|1,Ze(B,U))ue.push(d.facet(Q));else{let ne=Q.combine(U.map(ae=>ae.value));ue.push(d&&Q.compare(ne,d.facet(Q))?d.facet(Q):ne)}else{for(let ne of U)ne.type==0?(H[ne.id]=ue.length<<1|1,ue.push(ne.value)):(H[ne.id]=Ie.length<<1,Ie.push(ae=>ne.dynamicSlot(ae)));H[Q.id]=Ie.length<<1,Ie.push(ne=>st(ne,Q,U))}}let ht=Ie.map(At=>At(H));return new z(h,Y,ht,H,ue,I)}}function oe(se,h,b){let d=[[],[],[],[],[]],C=new Map;function I(Y,H){let ue=C.get(Y);if(ue!=null){if(ue<=H)return;let Ie=d[ue].indexOf(Y);Ie>-1&&d[ue].splice(Ie,1),Y instanceof D&&b.delete(Y.compartment)}if(C.set(Y,H),Array.isArray(Y))for(let Ie of Y)I(Ie,H);else if(Y instanceof D){if(b.has(Y.compartment))throw new RangeError("Duplicate use of compartment in extensions");let Ie=h.get(Y.compartment)||Y.inner;b.set(Y.compartment,Ie),I(Ie,H)}else if(Y instanceof Ht)I(Y.inner,Y.prec);else if(Y instanceof Dt)d[H].push(Y),Y.provides&&I(Y.provides,H);else if(Y instanceof ct)d[H].push(Y),Y.facet.extensions&&I(Y.facet.extensions,lt.default);else{let Ie=Y.extension;if(!Ie)throw new Error(`Unrecognized extension value in extension set (${Y}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);I(Ie,H)}}return I(se,lt.default),d.reduce((Y,H)=>Y.concat(H))}function ce(se,h){if(h&1)return 2;let b=h>>1,d=se.status[b];if(d==4)throw new Error("Cyclic dependency between fields and/or facets");if(d&2)return d;se.status[b]=4;let C=se.computeSlot(se,se.config.dynamicSlots[b]);return se.status[b]=2|C}function we(se,h){return h&1?se.config.staticValues[h>>1]:se.values[h>>1]}const Ue=re.define(),_e=re.define({combine:se=>se.some(h=>h),static:!0}),Ct=re.define({combine:se=>se.length?se[0]:void 0,static:!0}),Lt=re.define(),Et=re.define(),Jt=re.define(),Wt=re.define({combine:se=>se.length?se[0]:!1});class sn{constructor(h,b){this.type=h,this.value=b}static define(){return new Le}}class Le{of(h){return new sn(this,h)}}class yt{constructor(h){this.map=h}of(h){return new St(this,h)}}class St{constructor(h,b){this.type=h,this.value=b}map(h){let b=this.type.map(this.value,h);return b===void 0?void 0:b==this.value?this:new St(this.type,b)}is(h){return this.type==h}static define(h={}){return new yt(h.map||(b=>b))}static mapEffects(h,b){if(!h.length)return h;let d=[];for(let C of h){let I=C.map(b);I&&d.push(I)}return d}}St.reconfigure=St.define(),St.appendConfig=St.define();class gt{constructor(h,b,d,C,I,Y){this.startState=h,this.changes=b,this.selection=d,this.effects=C,this.annotations=I,this.scrollIntoView=Y,this._doc=null,this._state=null,d&&ie(d,b.newLength),I.some(H=>H.type==gt.time)||(this.annotations=I.concat(gt.time.of(Date.now())))}static create(h,b,d,C,I,Y){return new gt(h,b,d,C,I,Y)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(h){for(let b of this.annotations)if(b.type==h)return b.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(h){let b=this.annotation(gt.userEvent);return!!(b&&(b==h||b.length>h.length&&b.slice(0,h.length)==h&&b[h.length]=="."))}}gt.time=sn.define(),gt.userEvent=sn.define(),gt.addToHistory=sn.define(),gt.remote=sn.define();function Mt(se,h){let b=[];for(let d=0,C=0;;){let I,Y;if(d=se[d]))I=se[d++],Y=se[d++];else if(C=0;C--){let I=d[C](se);I instanceof gt?se=I:Array.isArray(I)&&I.length==1&&I[0]instanceof gt?se=I[0]:se=Bt(h,jt(I),!1)}return se}function Ut(se){let h=se.startState,b=h.facet(Jt),d=se;for(let C=b.length-1;C>=0;C--){let I=b[C](se);I&&Object.keys(I).length&&(d=Yt(d,Pt(h,I,se.changes.newLength),!0))}return d==se?se:gt.create(h,se.changes,se.selection,d.effects,d.annotations,d.scrollIntoView)}const _t=[];function jt(se){return se==null?_t:Array.isArray(se)?se:[se]}var Vt=function(se){return se[se.Word=0]="Word",se[se.Space=1]="Space",se[se.Other=2]="Other",se}(Vt||(Vt={}));const hn=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let ln;try{ln=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(se){}function $t(se){if(ln)return ln.test(se);for(let h=0;h"\x80"&&(b.toUpperCase()!=b.toLowerCase()||hn.test(b)))return!0}return!1}function zn(se){return h=>{if(!/\S/.test(h))return Vt.Space;if($t(h))return Vt.Word;for(let b=0;b-1)return Vt.Word;return Vt.Other}}class cn{constructor(h,b,d,C,I,Y){this.config=h,this.doc=b,this.selection=d,this.values=C,this.status=h.statusTemplate.slice(),this.computeSlot=I,Y&&(Y._state=this);for(let H=0;HC.set(ue,H)),b=null),C.set(Y.value.compartment,Y.value.extension)):Y.is(St.reconfigure)?(b=null,d=Y.value):Y.is(St.appendConfig)&&(b=null,d=jt(d).concat(Y.value));let I;b?I=h.startState.values.slice():(b=z.resolve(d,C,this),I=new cn(b,this.doc,this.selection,b.dynamicSlots.map(()=>null),(H,ue)=>ue.reconfigure(H,this),null).values),new cn(b,h.newDoc,h.newSelection,I,(Y,H)=>H.update(Y,h),h)}replaceSelection(h){return typeof h=="string"&&(h=this.toText(h)),this.changeByRange(b=>({changes:{from:b.from,to:b.to,insert:h},range:j.cursor(b.from+h.length)}))}changeByRange(h){let b=this.selection,d=h(b.ranges[0]),C=this.changes(d.changes),I=[d.range],Y=jt(d.effects);for(let H=1;HY.spec.fromJSON(H,ue)))}}return cn.create({doc:h.doc,selection:j.fromJSON(h.selection),extensions:b.extensions?C.concat([b.extensions]):C})}static create(h={}){let b=z.resolve(h.extensions||[],new Map),d=h.doc instanceof o?h.doc:o.of((h.doc||"").split(b.staticFacet(cn.lineSeparator)||it)),C=h.selection?h.selection instanceof j?h.selection:j.single(h.selection.anchor,h.selection.head):j.single(0);return ie(C,d.length),b.staticFacet(_e)||(C=C.asSingle()),new cn(b,d,C,b.dynamicSlots.map(()=>null),(I,Y)=>Y.create(I),null)}get tabSize(){return this.facet(cn.tabSize)}get lineBreak(){return this.facet(cn.lineSeparator)||` +`}get readOnly(){return this.facet(Wt)}phrase(h,...b){for(let d of this.facet(cn.phrases))if(Object.prototype.hasOwnProperty.call(d,h)){h=d[h];break}return b.length&&(h=h.replace(/\$(\$|\d*)/g,(d,C)=>{if(C=="$")return"$";let I=+(C||1);return!I||I>b.length?d:b[I-1]})),h}languageDataAt(h,b,d=-1){let C=[];for(let I of this.facet(Ue))for(let Y of I(this,b,d))Object.prototype.hasOwnProperty.call(Y,h)&&C.push(Y[h]);return C}charCategorizer(h){return zn(this.languageDataAt("wordChars",h).join(""))}wordAt(h){let{text:b,from:d,length:C}=this.doc.lineAt(h),I=this.charCategorizer(h),Y=h-d,H=h-d;for(;Y>0;){let ue=$e(b,Y,!1);if(I(b.slice(ue,Y))!=Vt.Word)break;Y=ue}for(;Hse.length?se[0]:4}),cn.lineSeparator=Ct,cn.readOnly=Wt,cn.phrases=re.define({compare(se,h){let b=Object.keys(se),d=Object.keys(h);return b.length==d.length&&b.every(C=>se[C]==h[C])}}),cn.languageData=Ue,cn.changeFilter=Lt,cn.transactionFilter=Et,cn.transactionExtender=Jt,Te.reconfigure=St.define();function Tn(se,h,b={}){let d={};for(let C of se)for(let I of Object.keys(C)){let Y=C[I],H=d[I];if(H===void 0)d[I]=Y;else if(!(H===Y||Y===void 0))if(Object.hasOwnProperty.call(b,I))d[I]=b[I](H,Y);else throw new Error("Config merge conflict for field "+I)}for(let C in h)d[C]===void 0&&(d[C]=h[C]);return d}class An{eq(h){return this==h}range(h,b=h){return Sn.create(h,b,this)}}An.prototype.startSide=An.prototype.endSide=0,An.prototype.point=!1,An.prototype.mapMode=nt.TrackDel;class Sn{constructor(h,b,d){this.from=h,this.to=b,this.value=d}static create(h,b,d){return new Sn(h,b,d)}}function fn(se,h){return se.from-h.from||se.value.startSide-h.value.startSide}class Qn{constructor(h,b,d,C){this.from=h,this.to=b,this.value=d,this.maxPoint=C}get length(){return this.to[this.to.length-1]}findIndex(h,b,d,C=0){let I=d?this.to:this.from;for(let Y=C,H=I.length;;){if(Y==H)return Y;let ue=Y+H>>1,Ie=I[ue]-h||(d?this.value[ue].endSide:this.value[ue].startSide)-b;if(ue==Y)return Ie>=0?Y:H;Ie>=0?H=ue:Y=ue+1}}between(h,b,d,C){for(let I=this.findIndex(b,-1e9,!0),Y=this.findIndex(d,1e9,!1,I);IU||At==U&&Ie.startSide>0&&Ie.endSide<=0)continue;(U-At||Ie.endSide-Ie.startSide)<0||(Y<0&&(Y=At),Ie.point&&(H=Math.max(H,U-At)),d.push(Ie),C.push(At-Y),I.push(U-Y))}return{mapped:d.length?new Qn(C,I,d,H):null,pos:Y}}}class On{constructor(h,b,d,C){this.chunkPos=h,this.chunk=b,this.nextLayer=d,this.maxPoint=C}static create(h,b,d,C){return new On(h,b,d,C)}get length(){let h=this.chunk.length-1;return h<0?0:Math.max(this.chunkEnd(h),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let h=this.nextLayer.size;for(let b of this.chunk)h+=b.value.length;return h}chunkEnd(h){return this.chunkPos[h]+this.chunk[h].length}update(h){let{add:b=[],sort:d=!1,filterFrom:C=0,filterTo:I=this.length}=h,Y=h.filter;if(b.length==0&&!Y)return this;if(d&&(b=b.slice().sort(fn)),this.isEmpty)return b.length?On.of(b):this;let H=new li(this,null,-1).goto(0),ue=0,Ie=[],qe=new Mn;for(;H.value||ue=0){let ht=b[ue++];qe.addInner(ht.from,ht.to,ht.value)||Ie.push(ht)}else H.rangeIndex==1&&H.chunkIndexthis.chunkEnd(H.chunkIndex)||IH.to||I=I&&h<=I+Y.length&&Y.between(I,h-I,b-I,d)===!1)return}this.nextLayer.between(h,b,d)}}iter(h=0){return bi.from([this]).goto(h)}get isEmpty(){return this.nextLayer==this}static iter(h,b=0){return bi.from(h).goto(b)}static compare(h,b,d,C,I=-1){let Y=h.filter(ht=>ht.maxPoint>0||!ht.isEmpty&&ht.maxPoint>=I),H=b.filter(ht=>ht.maxPoint>0||!ht.isEmpty&&ht.maxPoint>=I),ue=Gn(Y,H,d),Ie=new Wn(Y,ue,I),qe=new Wn(H,ue,I);d.iterGaps((ht,At,U)=>Si(Ie,ht,qe,At,U,C)),d.empty&&d.length==0&&Si(Ie,0,qe,0,0,C)}static eq(h,b,d=0,C){C==null&&(C=1e9-1);let I=h.filter(qe=>!qe.isEmpty&&b.indexOf(qe)<0),Y=b.filter(qe=>!qe.isEmpty&&h.indexOf(qe)<0);if(I.length!=Y.length)return!1;if(!I.length)return!0;let H=Gn(I,Y),ue=new Wn(I,H,0).goto(d),Ie=new Wn(Y,H,0).goto(d);for(;;){if(ue.to!=Ie.to||!Vn(ue.active,Ie.active)||ue.point&&(!Ie.point||!ue.point.eq(Ie.point)))return!1;if(ue.to>C)return!0;ue.next(),Ie.next()}}static spans(h,b,d,C,I=-1){let Y=new Wn(h,null,I).goto(b),H=b,ue=Y.openStart;for(;;){let Ie=Math.min(Y.to,d);if(Y.point){let qe=Y.activeForPoint(Y.to),ht=Y.pointFromH&&(C.span(H,Ie,Y.active,ue),ue=Y.openEnd(Ie));if(Y.to>d)return ue+(Y.point&&Y.to>d?1:0);H=Y.to,Y.next()}}static of(h,b=!1){let d=new Mn;for(let C of h instanceof Sn?[h]:b?jn(h):h)d.add(C.from,C.to,C.value);return d.finish()}}On.empty=new On([],[],null,-1);function jn(se){if(se.length>1)for(let h=se[0],b=1;b0)return se.slice().sort(fn);h=d}return se}On.empty.nextLayer=On.empty;class Mn{finishChunk(h){this.chunks.push(new Qn(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,h&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(h,b,d){this.addInner(h,b,d)||(this.nextLayer||(this.nextLayer=new Mn)).add(h,b,d)}addInner(h,b,d){let C=h-this.lastTo||d.startSide-this.last.endSide;if(C<=0&&(h-this.lastFrom||d.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return C<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=h),this.from.push(h-this.chunkStart),this.to.push(b-this.chunkStart),this.last=d,this.lastFrom=h,this.lastTo=b,this.value.push(d),d.point&&(this.maxPoint=Math.max(this.maxPoint,b-h)),!0)}addChunk(h,b){if((h-this.lastTo||b.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,b.maxPoint),this.chunks.push(b),this.chunkPos.push(h);let d=b.value.length-1;return this.last=b.value[d],this.lastFrom=b.from[d]+h,this.lastTo=b.to[d]+h,!0}finish(){return this.finishInner(On.empty)}finishInner(h){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return h;let b=On.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(h):h,this.setMaxPoint);return this.from=null,b}}function Gn(se,h,b){let d=new Map;for(let I of se)for(let Y=0;Y=this.minPoint)break}}setRangeIndex(h){if(h==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=d&&C.push(new li(Y,b,d,I));return C.length==1?C[0]:new bi(C)}get startSide(){return this.value?this.value.startSide:0}goto(h,b=-1e9){for(let d of this.heap)d.goto(h,b);for(let d=this.heap.length>>1;d>=0;d--)kn(this.heap,d);return this.next(),this}forward(h,b){for(let d of this.heap)d.forward(h,b);for(let d=this.heap.length>>1;d>=0;d--)kn(this.heap,d);(this.to-h||this.value.endSide-b)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let h=this.heap[0];this.from=h.from,this.to=h.to,this.value=h.value,this.rank=h.rank,h.value&&h.next(),kn(this.heap,0)}}}function kn(se,h){for(let b=se[h];;){let d=(h<<1)+1;if(d>=se.length)break;let C=se[d];if(d+1=0&&(C=se[d+1],d++),b.compare(C)<0)break;se[d]=b,se[h]=C,h=d}}class Wn{constructor(h,b,d){this.minPoint=d,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=bi.from(h,b,d)}goto(h,b=-1e9){return this.cursor.goto(h,b),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=h,this.endSide=b,this.openStart=-1,this.next(),this}forward(h,b){for(;this.minActive>-1&&(this.activeTo[this.minActive]-h||this.active[this.minActive].endSide-b)<0;)this.removeActive(this.minActive);this.cursor.forward(h,b)}removeActive(h){wn(this.active,h),wn(this.activeTo,h),wn(this.activeRank,h),this.minActive=si(this.active,this.activeTo)}addActive(h){let b=0,{value:d,to:C,rank:I}=this.cursor;for(;b-1&&(this.activeTo[C]-this.cursor.from||this.active[C].endSide-this.cursor.startSide)<0){if(this.activeTo[C]>h){this.to=this.activeTo[C],this.endSide=this.active[C].endSide;break}this.removeActive(C),d&&wn(d,C)}else if(this.cursor.value)if(this.cursor.from>h){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let I=this.cursor.value;if(!I.point)this.addActive(d),this.cursor.next();else if(b&&this.cursor.to==this.to&&this.cursor.from=0&&d[C]=0&&!(this.activeRank[d]h||this.activeTo[d]==h&&this.active[d].endSide>=this.point.endSide)&&b.push(this.active[d]);return b.reverse()}openEnd(h){let b=0;for(let d=this.activeTo.length-1;d>=0&&this.activeTo[d]>h;d--)b++;return b}}function Si(se,h,b,d,C,I){se.goto(h),b.goto(d);let Y=d+C,H=d,ue=d-h;for(;;){let Ie=se.to+ue-b.to||se.endSide-b.endSide,qe=Ie<0?se.to+ue:b.to,ht=Math.min(qe,Y);if(se.point||b.point?se.point&&b.point&&(se.point==b.point||se.point.eq(b.point))&&Vn(se.activeForPoint(se.to),b.activeForPoint(b.to))||I.comparePoint(H,ht,se.point,b.point):ht>H&&!Vn(se.active,b.active)&&I.compareRange(H,ht,se.active,b.active),qe>Y)break;H=qe,Ie<=0&&se.next(),Ie>=0&&b.next()}}function Vn(se,h){if(se.length!=h.length)return!1;for(let b=0;b=h;d--)se[d+1]=se[d];se[h]=b}function si(se,h){let b=-1,d=1e9;for(let C=0;C=h)return C;if(C==se.length)break;I+=se.charCodeAt(C)==9?b-I%b:1,C=$e(se,C)}return d===!0?-1:se.length}},75533:function(Ye,Ae,a){"use strict";a.d(Ae,{p:function(){return Qt},Nm:function(){return ue},tk:function(){return Cn},lg:function(){return wn},l9:function(){return Pt},Uw:function(){return Ol},gB:function(){return Wl},AE:function(){return $o},$f:function(){return mo},OO:function(){return kn},W$:function(){return Pl},hJ:function(){return Rs}});for(var o=a(78120),y=a(28699),p={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},v={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Z=typeof navigator!="undefined"&&/Mac/.test(navigator.platform),$=typeof navigator!="undefined"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),R=0;R<10;R++)p[48+R]=p[96+R]=String(R);for(var R=1;R<=24;R++)p[R+111]="F"+R;for(var R=65;R<=90;R++)p[R]=String.fromCharCode(R+32),v[R]=String.fromCharCode(R);for(var L in p)v.hasOwnProperty(L)||(v[L]=p[L]);function _(r){var e=Z&&r.metaKey&&r.shiftKey&&!r.ctrlKey&&!r.altKey||$&&r.shiftKey&&r.key&&r.key.length==1||r.key=="Unidentified",t=!e&&r.key||(r.shiftKey?v:p)[r.keyCode]||r.key||"Unidentified";return t=="Esc"&&(t="Escape"),t=="Del"&&(t="Delete"),t=="Left"&&(t="ArrowLeft"),t=="Up"&&(t="ArrowUp"),t=="Right"&&(t="ArrowRight"),t=="Down"&&(t="ArrowDown"),t}function G(r){let e;return r.nodeType==11?e=r.getSelection?r:r.ownerDocument:e=r,e.getSelection()}function te(r,e){return e?r==e||r.contains(e.nodeType!=1?e.parentNode:e):!1}function K(r){let e=r.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function ye(r,e){if(!e.anchorNode)return!1;try{return te(r,e.anchorNode)}catch(t){return!1}}function he(r){return r.nodeType==3?Ge(r,0,r.nodeValue.length).getClientRects():r.nodeType==1?r.getClientRects():[]}function $e(r,e,t,i){return t?je(r,e,t,i,-1)||je(r,e,t,i,1):!1}function ge(r){for(var e=0;;e++)if(r=r.previousSibling,!r)return e}function je(r,e,t,i,s){for(;;){if(r==t&&e==i)return!0;if(e==(s<0?0:Pe(r))){if(r.nodeName=="DIV")return!1;let c=r.parentNode;if(!c||c.nodeType!=1)return!1;e=ge(r)+(s<0?0:1),r=c}else if(r.nodeType==1){if(r=r.childNodes[e+(s<0?-1:0)],r.nodeType==1&&r.contentEditable=="false")return!1;e=s<0?Pe(r):0}else return!1}}function Pe(r){return r.nodeType==3?r.nodeValue.length:r.childNodes.length}function Ne(r,e){let t=e?r.left:r.right;return{left:t,right:t,top:r.top,bottom:r.bottom}}function ke(r){return{left:0,right:r.innerWidth,top:0,bottom:r.innerHeight}}function ve(r,e,t,i,s,c,S,A){let X=r.ownerDocument,J=X.defaultView||window;for(let F=r,Oe=!1;F&&!Oe;)if(F.nodeType==1){let xe,Ve=F==X.body,He=1,n=1;if(Ve)xe=ke(J);else{if(/^(fixed|sticky)$/.test(getComputedStyle(F).position)&&(Oe=!0),F.scrollHeight<=F.clientHeight&&F.scrollWidth<=F.clientWidth){F=F.assignedSlot||F.parentNode;continue}let g=F.getBoundingClientRect();He=g.width/F.offsetWidth,n=g.height/F.offsetHeight,xe={left:g.left,right:g.left+F.clientWidth*He,top:g.top,bottom:g.top+F.clientHeight*n}}let l=0,u=0;if(s=="nearest")e.top0&&e.bottom>xe.bottom+u&&(u=e.bottom-xe.bottom+u+S)):e.bottom>xe.bottom&&(u=e.bottom-xe.bottom+S,t<0&&e.top-u0&&e.right>xe.right+l&&(l=e.right-xe.right+l+c)):e.right>xe.right&&(l=e.right-xe.right+c,t<0&&e.leftt.clientHeight||t.scrollWidth>t.clientWidth)return t;t=t.assignedSlot||t.parentNode}else if(t.nodeType==11)t=t.host;else break;return null}class it{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:t,focusNode:i}=e;this.set(t,Math.min(e.anchorOffset,t?Pe(t):0),i,Math.min(e.focusOffset,i?Pe(i):0))}set(e,t,i,s){this.anchorNode=e,this.anchorOffset=t,this.focusNode=i,this.focusOffset=s}}let nt=null;function rt(r){if(r.setActive)return r.setActive();if(nt)return r.focus(nt);let e=[];for(let t=r;t&&(e.push(t,t.scrollTop,t.scrollLeft),t!=t.ownerDocument);t=t.parentNode);if(r.focus(nt==null?{get preventScroll(){return nt={preventScroll:!0},!0}}:void 0),!nt){nt=!1;for(let t=0;tMath.max(1,r.scrollHeight-r.clientHeight-4)}class N{constructor(e,t,i=!0){this.node=e,this.offset=t,this.precise=i}static before(e,t){return new N(e.parentNode,ge(e),t)}static after(e,t){return new N(e.parentNode,ge(e)+1,t)}}const j=[];class ie{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e){let t=this.posAtStart;for(let i of this.children){if(i==e)return t;t+=i.length+i.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(e,t){if(this.flags&2){let i=this.dom,s=null,c;for(let S of this.children){if(S.flags&7){if(!S.dom&&(c=s?s.nextSibling:i.firstChild)){let A=ie.get(c);(!A||!A.parent&&A.canReuseDOM(S))&&S.reuseDOM(c)}S.sync(e,t),S.flags&=-8}if(c=s?s.nextSibling:i.firstChild,t&&!t.written&&t.node==i&&c!=S.dom&&(t.written=!0),S.dom.parentNode==i)for(;c&&c!=S.dom;)c=Ce(c);else i.insertBefore(S.dom,c);s=S.dom}for(c=s?s.nextSibling:i.firstChild,c&&t&&t.node==i&&(t.written=!0);c;)c=Ce(c)}else if(this.flags&1)for(let i of this.children)i.flags&7&&(i.sync(e,t),i.flags&=-8)}reuseDOM(e){}localPosFromDOM(e,t){let i;if(e==this.dom)i=this.dom.childNodes[t];else{let s=Pe(e)==0?0:t==0?-1:1;for(;;){let c=e.parentNode;if(c==this.dom)break;s==0&&c.firstChild!=c.lastChild&&(e==c.firstChild?s=-1:s=1),e=c}s<0?i=e:i=e.nextSibling}if(i==this.dom.firstChild)return 0;for(;i&&!ie.get(i);)i=i.nextSibling;if(!i)return this.length;for(let s=0,c=0;;s++){let S=this.children[s];if(S.dom==i)return c;c+=S.length+S.breakAfter}}domBoundsAround(e,t,i=0){let s=-1,c=-1,S=-1,A=-1;for(let X=0,J=i,F=i;Xt)return Oe.domBoundsAround(e,t,J);if(xe>=e&&s==-1&&(s=X,c=J),J>t&&Oe.dom.parentNode==this.dom){S=X,A=F;break}F=xe,J=xe+Oe.breakAfter}return{from:c,to:A<0?i+this.length:A,startDOM:(s?this.children[s-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:S=0?this.children[S].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let t=this.parent;t;t=t.parent){if(e&&(t.flags|=2),t.flags&1)return;t.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.flags&7&&this.markParentsDirty(!0))}setDOM(e){this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}get rootView(){for(let e=this;;){let t=e.parent;if(!t)return e;e=t}}replaceChildren(e,t,i=j){this.markDirty();for(let s=e;sthis.pos||e==this.pos&&(t>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let i=this.children[--this.i];this.pos-=i.length+i.breakAfter}}}function Ze(r,e,t,i,s,c,S,A,X){let{children:J}=r,F=J.length?J[e]:null,Oe=c.length?c[c.length-1]:null,xe=Oe?Oe.breakAfter:S;if(!(e==i&&F&&!S&&!xe&&c.length<2&&F.merge(t,s,c.length?Oe:null,t==0,A,X))){if(i0&&(!S&&c.length&&F.merge(t,F.length,c[0],!1,A,0)?F.breakAfter=c.shift().breakAfter:(t2);var z={mac:D||/Mac/.test(tt.platform),windows:/Win/.test(tt.platform),linux:/Linux|X11/.test(tt.platform),ie:lt,ie_version:zt?Tt.documentMode||6:Dt?+Dt[1]:st?+st[1]:0,gecko:Xt,gecko_version:Xt?+(/Firefox\/(\d+)/.exec(tt.userAgent)||[0,0])[1]:0,chrome:!!en,chrome_version:en?+en[1]:0,ios:D,android:/Android\b/.test(tt.userAgent),webkit:Ht,safari:Te,webkit_version:Ht?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:Tt.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const oe=256;class ce extends ie{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,t){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,t,i){return this.flags&8||i&&(!(i instanceof ce)||this.length-(t-e)+i.length>oe||i.flags&8)?!1:(this.text=this.text.slice(0,e)+(i?i.text:"")+this.text.slice(t),this.markDirty(),!0)}split(e){let t=new ce(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),t.flags|=this.flags&8,t}localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){return new N(this.dom,e)}domBoundsAround(e,t,i){return{from:i,to:i+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){return Ue(this.dom,e,t)}}class we extends ie{constructor(e,t=[],i=0){super(),this.mark=e,this.children=t,this.length=i;for(let s of t)s.setParent(this)}setAttrs(e){if(Ee(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!((this.flags|e.flags)&8)}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,t){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,t)}merge(e,t,i,s,c,S){return i&&(!(i instanceof we&&i.mark.eq(this.mark))||e&&c<=0||te&&t.push(i=e&&(s=c),i=X,c++}let S=this.length-e;return this.length=e,s>-1&&(this.children.length=s,this.markDirty()),new we(this.mark,t,S)}domAtPos(e){return Lt(this,e)}coordsAt(e,t){return Jt(this,e,t)}}function Ue(r,e,t){let i=r.nodeValue.length;e>i&&(e=i);let s=e,c=e,S=0;e==0&&t<0||e==i&&t>=0?z.chrome||z.gecko||(e?(s--,S=1):c=0)?0:A.length-1];return z.safari&&!S&&X.width==0&&(X=Array.prototype.find.call(A,J=>J.width)||X),S?Ne(X,S<0):X||null}class _e extends ie{static create(e,t,i){return new _e(e,t,i)}constructor(e,t,i){super(),this.widget=e,this.length=t,this.side=i,this.prevWidget=null}split(e){let t=_e.create(this.widget,this.length-e,this.side);return this.length-=e,t}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.dom.contentEditable="false")}getSide(){return this.side}merge(e,t,i,s,c,S){return i&&(!(i instanceof _e)||!this.widget.compare(i.widget)||e>0&&c<=0||t0)?N.before(this.dom):N.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,t){let i=this.widget.coordsAt(this.dom,e,t);if(i)return i;let s=this.dom.getClientRects(),c=null;if(!s.length)return null;let S=this.side?this.side<0:e>0;for(let A=S?s.length-1:0;c=s[A],!(e>0?A==0:A==s.length-1||c.top0?N.before(this.dom):N.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return o.xv.empty}get isHidden(){return!0}}ce.prototype.children=_e.prototype.children=Ct.prototype.children=j;function Lt(r,e){let t=r.dom,{children:i}=r,s=0;for(let c=0;sc&&e0;c--){let S=i[c-1];if(S.dom.parentNode==t)return S.domAtPos(S.length)}for(let c=s;c0&&e instanceof we&&s.length&&(i=s[s.length-1])instanceof we&&i.mark.eq(e.mark)?Et(i,e.children[0],t-1):(s.push(e),e.setParent(r)),r.length+=e.length}function Jt(r,e,t){let i=null,s=-1,c=null,S=-1;function A(J,F){for(let Oe=0,xe=0;Oe=F&&(Ve.children.length?A(Ve,F-xe):(!c||c.isHidden&&t>0)&&(He>F||xe==He&&Ve.getSide()>0)?(c=Ve,S=F-xe):(xe-1?1:0)!=s.length-(t&&s.indexOf(t)>-1?1:0))return!1;for(let c of i)if(c!=t&&(s.indexOf(c)==-1||r[c]!==e[c]))return!1;return!0}function St(r,e,t){let i=!1;if(e)for(let s in e)t&&s in t||(i=!0,s=="style"?r.style.cssText="":r.removeAttribute(s));if(t)for(let s in t)e&&e[s]==t[s]||(i=!0,s=="style"?r.style.cssText=t[s]:r.setAttribute(s,t[s]));return i}function gt(r){let e=Object.create(null);for(let t=0;t0&&this.children[i-1].length==0;)this.children[--i].destroy();return this.children.length=i,this.markDirty(),this.length=e,t}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){yt(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,t){Et(this,e,t)}addLineDeco(e){let t=e.spec.attributes,i=e.spec.class;t&&(this.attrs=sn(t,this.attrs||{})),i&&(this.attrs=sn({class:i},this.attrs||{}))}domAtPos(e){return Lt(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,t){var i;this.dom?this.flags&4&&(Ee(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(St(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,t);let s=this.dom.lastChild;for(;s&&ie.get(s)instanceof we;)s=s.lastChild;if(!s||!this.length||s.nodeName!="BR"&&((i=ie.get(s))===null||i===void 0?void 0:i.isEditable)==!1&&(!z.ios||!this.children.some(c=>c instanceof ce))){let c=document.createElement("BR");c.cmIgnore=!0,this.dom.appendChild(c)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,t;for(let i of this.children){if(!(i instanceof ce)||/[^ -~]/.test(i.text))return null;let s=he(i.dom);if(s.length!=1)return null;e+=s[0].width,t=s[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:t}:null}coordsAt(e,t){let i=Jt(this,e,t);if(!this.children.length&&i&&this.parent){let{heightOracle:s}=this.parent.view.viewState,c=i.bottom-i.top;if(Math.abs(c-s.lineHeight)<2&&s.textHeight=t){if(c instanceof Mt)return c;if(S>t)break}s=S+c.breakAfter}return null}}class Yt extends ie{constructor(e,t,i){super(),this.widget=e,this.length=t,this.deco=i,this.breakAfter=0,this.prevWidget=null}merge(e,t,i,s,c,S){return i&&(!(i instanceof Yt)||!this.widget.compare(i.widget)||e>0&&c<=0||t0}}class Pt{eq(e){return!1}updateDOM(e,t){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(e){return!0}coordsAt(e,t,i){return null}get isHidden(){return!1}destroy(e){}}var Bt=function(r){return r[r.Text=0]="Text",r[r.WidgetBefore=1]="WidgetBefore",r[r.WidgetAfter=2]="WidgetAfter",r[r.WidgetRange=3]="WidgetRange",r}(Bt||(Bt={}));class Qt extends o.uU{constructor(e,t,i,s){super(),this.startSide=e,this.endSide=t,this.widget=i,this.spec=s}get heightRelevant(){return!1}static mark(e){return new Ut(e)}static widget(e){let t=Math.max(-1e4,Math.min(1e4,e.side||0)),i=!!e.block;return t+=i&&!e.inlineOrder?t>0?3e8:-4e8:t>0?1e8:-1e8,new jt(e,t,t,i,e.widget||null,!1)}static replace(e){let t=!!e.block,i,s;if(e.isBlockGap)i=-5e8,s=4e8;else{let{start:c,end:S}=Vt(e,t);i=(c?t?-3e8:-1:5e8)-1,s=(S?t?2e8:1:-6e8)+1}return new jt(e,i,s,t,e.widget||null,!0)}static line(e){return new _t(e)}static set(e,t=!1){return o.Xs.of(e,t)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}Qt.none=o.Xs.empty;class Ut extends Qt{constructor(e){let{start:t,end:i}=Vt(e);super(t?-1:5e8,i?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var t,i;return this==e||e instanceof Ut&&this.tagName==e.tagName&&(this.class||((t=this.attrs)===null||t===void 0?void 0:t.class))==(e.class||((i=e.attrs)===null||i===void 0?void 0:i.class))&&yt(this.attrs,e.attrs,"class")}range(e,t=e){if(e>=t)throw new RangeError("Mark decorations may not be empty");return super.range(e,t)}}Ut.prototype.point=!1;class _t extends Qt{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof _t&&this.spec.class==e.spec.class&&yt(this.spec.attributes,e.spec.attributes)}range(e,t=e){if(t!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,t)}}_t.prototype.mapMode=o.gc.TrackBefore,_t.prototype.point=!0;class jt extends Qt{constructor(e,t,i,s,c,S){super(t,i,c,e),this.block=s,this.isReplace=S,this.mapMode=s?t<=0?o.gc.TrackBefore:o.gc.TrackAfter:o.gc.TrackDel}get type(){return this.startSide!=this.endSide?Bt.WidgetRange:this.startSide<=0?Bt.WidgetBefore:Bt.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof jt&&hn(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,t)}}jt.prototype.point=!0;function Vt(r,e=!1){let{inclusiveStart:t,inclusiveEnd:i}=r;return t==null&&(t=r.inclusive),i==null&&(i=r.inclusive),{start:t!=null?t:e,end:i!=null?i:e}}function hn(r,e){return r==e||!!(r&&e&&r.compare(e))}function ln(r,e,t,i=0){let s=t.length-1;s>=0&&t[s]+i>=r?t[s]=Math.max(t[s],e):t.push(r,e)}class $t{constructor(e,t,i,s){this.doc=e,this.pos=t,this.end=i,this.disallowBlockEffectsFor=s,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=t}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof Yt&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new Mt),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(zn(new Ct(-1),e),e.length),this.pendingBuffer=0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!e&&!this.posCovered()&&this.getLine()}buildText(e,t,i){for(;e>0;){if(this.textOff==this.text.length){let{value:c,lineBreak:S,done:A}=this.cursor.next(this.skip);if(this.skip=0,A)throw new Error("Ran out of text content when drawing inline views");if(S){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=c,this.textOff=0}let s=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(t.slice(t.length-i)),this.getLine().append(zn(new ce(this.text.slice(this.textOff,this.textOff+s)),t),i),this.atCursorPos=!0,this.textOff+=s,e-=s,i=0}}span(e,t,i,s){this.buildText(t-e,i,s),this.pos=t,this.openStart<0&&(this.openStart=s)}point(e,t,i,s,c,S){if(this.disallowBlockEffectsFor[S]&&i instanceof jt){if(i.block)throw new RangeError("Block decorations may not be specified via plugins");if(t>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let A=t-e;if(i instanceof jt)if(i.block)i.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new Yt(i.widget||new cn("div"),A,i));else{let X=_e.create(i.widget||new cn("span"),A,A?0:i.startSide),J=this.atCursorPos&&!X.isEditable&&c<=s.length&&(e0),F=!X.isEditable&&(es.length||i.startSide<=0),Oe=this.getLine();this.pendingBuffer==2&&!J&&!X.isEditable&&(this.pendingBuffer=0),this.flushBuffer(s),J&&(Oe.append(zn(new Ct(1),s),c),c=s.length+Math.max(0,c-s.length)),Oe.append(zn(X,s),c),this.atCursorPos=F,this.pendingBuffer=F?es.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=s.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(i);A&&(this.textOff+A<=this.text.length?this.textOff+=A:(this.skip+=A-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=t),this.openStart<0&&(this.openStart=c)}static build(e,t,i,s,c){let S=new $t(e,t,i,c);return S.openEnd=o.Xs.spans(s,t,i,S),S.openStart<0&&(S.openStart=S.openEnd),S.finish(S.openEnd),S}}function zn(r,e){for(let t of e)r=new we(t,[r],r.length);return r}class cn extends Pt{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}const Tn=o.r$.define(),An=o.r$.define(),Sn=o.r$.define(),fn=o.r$.define(),Qn=o.r$.define(),On=o.r$.define(),jn=o.r$.define(),Mn=o.r$.define({combine:r=>r.some(e=>e)}),Gn=o.r$.define({combine:r=>r.some(e=>e)});class li{constructor(e,t="nearest",i="nearest",s=5,c=5){this.range=e,this.y=t,this.x=i,this.yMargin=s,this.xMargin=c}map(e){return e.empty?this:new li(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin)}}const bi=o.Py.define({map:(r,e)=>r.map(e)});function kn(r,e,t){let i=r.facet(fn);i.length?i[0](e):window.onerror?window.onerror(String(e),t,void 0,void 0,e):t?console.error(t+":",e):console.error(e)}const Wn=o.r$.define({combine:r=>r.length?r[0]:!0});let Si=0;const Vn=o.r$.define();class wn{constructor(e,t,i,s,c){this.id=e,this.create=t,this.domEventHandlers=i,this.domEventObservers=s,this.extension=c(this)}static define(e,t){const{eventHandlers:i,eventObservers:s,provide:c,decorations:S}=t||{};return new wn(Si++,e,i,s,A=>{let X=[Vn.of(A)];return S&&X.push(Un.of(J=>{let F=J.plugin(A);return F?S(F):Qt.none})),c&&X.push(c(A)),X})}static fromClass(e,t){return wn.define(i=>new e(i),t)}}class Nn{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let t=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(t)}catch(i){if(kn(t.state,i,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch(s){}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(t){kn(e.state,t,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var t;if(!((t=this.value)===null||t===void 0)&&t.destroy)try{this.value.destroy()}catch(i){kn(e.state,i,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const si=o.r$.define(),ai=o.r$.define(),Un=o.r$.define(),se=o.r$.define(),h=o.r$.define();function b(r,e,t){let i=r.state.facet(h);if(!i.length)return i;let s=i.map(S=>S instanceof Function?S(r):S),c=[];return o.Xs.spans(s,e,t,{point(){},span(S,A,X,J){let F=c;for(let Oe=X.length-1;Oe>=0;Oe--,J--){let xe=X[Oe].spec.bidiIsolate,Ve;if(xe!=null)if(J>0&&F.length&&(Ve=F[F.length-1]).to==S&&Ve.direction==xe)Ve.to=A,F=Ve.inner;else{let He={from:S,to:A,direction:xe,inner:[]};F.push(He),F=He.inner}}}}),c}const d=o.r$.define();function C(r){let e=0,t=0,i=0,s=0;for(let c of r.state.facet(d)){let S=c(r);S&&(S.left!=null&&(e=Math.max(e,S.left)),S.right!=null&&(t=Math.max(t,S.right)),S.top!=null&&(i=Math.max(i,S.top)),S.bottom!=null&&(s=Math.max(s,S.bottom)))}return{left:e,right:t,top:i,bottom:s}}const I=o.r$.define();class Y{constructor(e,t,i,s){this.fromA=e,this.toA=t,this.fromB=i,this.toB=s}join(e){return new Y(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let t=e.length,i=this;for(;t>0;t--){let s=e[t-1];if(!(s.fromA>i.toA)){if(s.toAF)break;c+=2}if(!X)return i;new Y(X.fromA,X.toA,X.fromB,X.toB).addToSet(i),S=X.toA,A=X.toB}}}class H{constructor(e,t,i){this.view=e,this.state=t,this.transactions=i,this.flags=0,this.startState=e.state,this.changes=o.as.empty(this.startState.doc.length);for(let c of i)this.changes=this.changes.compose(c.changes);let s=[];this.changes.iterChangedRanges((c,S,A,X)=>s.push(new Y(c,S,A,X))),this.changedRanges=s}static create(e,t,i){return new H(e,t,i)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}var ue=function(r){return r[r.LTR=0]="LTR",r[r.RTL=1]="RTL",r}(ue||(ue={}));const Ie=ue.LTR,qe=ue.RTL;function ht(r){let e=[];for(let t=0;t=t){if(A.level==i)return S;(c<0||(s!=0?s<0?A.fromt:e[c].level>A.level))&&(c=S)}}if(c<0)throw new RangeError("Index out of range");return c}}function m(r,e){if(r.length!=e.length)return!1;for(let t=0;t=0;n-=3)if(B[n+1]==-Ve){let l=B[n+2],u=l&2?s:l&4?l&1?c:s:0;u&&(f[Oe]=f[B[n]]=u),A=n;break}}else{if(B.length==189)break;B[A++]=Oe,B[A++]=xe,B[A++]=X}else if((He=f[Oe])==2||He==1){let n=He==s;X=n?0:1;for(let l=A-3;l>=0;l-=3){let u=B[l+2];if(u&2)break;if(n)B[l+2]|=2;else{if(u&4)break;B[l+2]|=4}}}}}function V(r,e,t,i){for(let s=0,c=i;s<=t.length;s++){let S=s?t[s-1].to:r,A=sX;)He==l&&(He=t[--n].from,l=n?t[n-1].to:r),f[--He]=Ve;X=F}else c=J,X++}}}function me(r,e,t,i,s,c,S){let A=i%2?2:1;if(i%2==s%2)for(let X=e,J=0;XX&&S.push(new De(X,n.from,Ve));let l=n.direction==Ie!=!(Ve%2);ze(r,l?i+1:i,s,n.inner,n.from,n.to,S),X=n.to}He=n.to}else{if(He==t||(F?f[He]!=A:f[He]==A))break;He++}xe?me(r,X,He,i+1,s,xe,S):Xe;){let F=!0,Oe=!1;if(!J||X>c[J-1].to){let n=f[X-1];n!=A&&(F=!1,Oe=n==16)}let xe=!F&&A==1?[]:null,Ve=F?i:i+1,He=X;e:for(;;)if(J&&He==c[J-1].to){if(Oe)break e;let n=c[--J];if(!F)for(let l=n.from,u=J;;){if(l==e)break e;if(u&&c[u-1].to==l)l=c[--u].from;else{if(f[l-1]==A)break e;break}}if(xe)xe.push(n);else{n.tof.length;)f[f.length]=256;let i=[],s=e==Ie?0:1;return ze(r,s,s,t,0,r.length,i),i}function Je(r){return[new De(0,r,0)]}let vt="";function W(r,e,t,i,s){var c;let S=i.head-r.from,A=-1;if(S==0){if(!s||!r.length)return null;e[0].level!=t&&(S=e[0].side(!1,t),A=0)}else if(S==r.length){if(s)return null;let xe=e[e.length-1];xe.level!=t&&(S=xe.side(!0,t),A=e.length-1)}A<0&&(A=De.find(e,S,(c=i.bidiLevel)!==null&&c!==void 0?c:-1,i.assoc));let X=e[A];S==X.side(s,t)&&(X=e[A+=s?1:-1],S=X.side(!s,t));let J=s==(X.dir==t),F=(0,o.cp)(r.text,S,J);if(vt=r.text.slice(Math.min(S,F),Math.max(S,F)),F!=X.side(s,t))return o.jT.cursor(F+r.from,J?-1:1,X.level);let Oe=A==(s?e.length-1:0)?null:e[A+(s?1:-1)];return!Oe&&X.level!=t?o.jT.cursor(s?r.to:r.from,s?-1:1,t):Oe&&Oe.level0&&i.length&&(i.every(({fromA:J,toA:F})=>Fthis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0);let s=-1;this.view.inputState.composing>=0&&(!((t=this.domChanged)===null||t===void 0)&&t.newSel?s=this.domChanged.newSel.head:!dn(e.changes,this.hasComposition)&&!e.selectionSet&&(s=e.state.selection.main.head));let c=s>-1?be(this.view,e.changes,s):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:J,to:F}=this.hasComposition;i=new Y(J,F,e.changes.mapPos(J,-1),e.changes.mapPos(F,1)).addToSet(i.slice())}this.hasComposition=c?{from:c.range.fromB,to:c.range.toB}:null,(z.ie||z.chrome)&&!c&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let S=this.decorations,A=this.updateDeco(),X=Nt(S,A,e.changes);return i=Y.extendWithRanges(i,X),!(this.flags&7)&&i.length==0?!1:(this.updateInner(i,e.startState.doc.length,c),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t,i){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t,i);let{observer:s}=this.view;s.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let S=z.chrome||z.ios?{node:s.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,S),this.flags&=-8,S&&(S.written||s.selectionRange.focusNode!=S.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(S=>S.flags&=-9);let c=[];if(this.view.viewport.from||this.view.viewport.to=0?s[S]:null;if(!A)break;let{fromA:X,toA:J,fromB:F,toB:Oe}=A,xe,Ve,He,n;if(i&&i.range.fromBF){let k=$t.build(this.view.state.doc,F,i.range.fromB,this.decorations,this.dynamicDecorationMap),M=$t.build(this.view.state.doc,i.range.toB,Oe,this.decorations,this.dynamicDecorationMap);Ve=k.breakAtStart,He=k.openStart,n=M.openEnd;let ee=this.compositionView(i);M.breakAtStart?ee.breakAfter=1:M.content.length&&ee.merge(ee.length,ee.length,M.content[0],!1,M.openStart,0)&&(ee.breakAfter=M.content[0].breakAfter,M.content.shift()),k.content.length&&ee.merge(0,0,k.content[k.content.length-1],!0,0,k.openEnd)&&k.content.pop(),xe=k.content.concat(ee).concat(M.content)}else({content:xe,breakAtStart:Ve,openStart:He,openEnd:n}=$t.build(this.view.state.doc,F,Oe,this.decorations,this.dynamicDecorationMap));let{i:l,off:u}=c.findPos(J,1),{i:g,off:w}=c.findPos(X,-1);Ze(this,g,w,l,u,xe,Ve,He,n)}i&&this.fixCompositionDOM(i)}compositionView(e){let t=new ce(e.text.nodeValue);t.flags|=8;for(let{deco:s}of e.marks)t=new we(s,[t],t.length);let i=new Mt;return i.append(t,0),i}fixCompositionDOM(e){let t=(c,S)=>{S.flags|=8|(S.children.some(X=>X.flags&7)?1:0),this.markedForComposition.add(S);let A=ie.get(c);A&&A!=S&&(A.dom=null),S.setDOM(c)},i=this.childPos(e.range.fromB,1),s=this.children[i.i];t(e.line,s);for(let c=e.marks.length-1;c>=-1;c--)i=s.childPos(i.off,1),s=s.children[i.i],t(c>=0?e.marks[c].node:e.text,s)}updateSelection(e=!1,t=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let i=this.view.root.activeElement,s=i==this.dom,c=!s&&ye(this.dom,this.view.observer.selectionRange)&&!(i&&this.dom.contains(i));if(!(s||t||c))return;let S=this.forceSelection;this.forceSelection=!1;let A=this.view.state.selection.main,X=this.moveToLine(this.domAtPos(A.anchor)),J=A.empty?X:this.moveToLine(this.domAtPos(A.head));if(z.gecko&&A.empty&&!this.hasComposition&&P(X)){let Oe=document.createTextNode("");this.view.observer.ignore(()=>X.node.insertBefore(Oe,X.node.childNodes[X.offset]||null)),X=J=new N(Oe,0),S=!0}let F=this.view.observer.selectionRange;(S||!F.focusNode||!$e(X.node,X.offset,F.anchorNode,F.anchorOffset)||!$e(J.node,J.offset,F.focusNode,F.focusOffset))&&(this.view.observer.ignore(()=>{z.android&&z.chrome&&this.dom.contains(F.focusNode)&&tn(F.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let Oe=G(this.view.root);if(Oe)if(A.empty){if(z.gecko){let xe=et(X.node,X.offset);if(xe&&xe!=3){let Ve=Qe(X.node,X.offset,xe==1?1:-1);Ve&&(X=new N(Ve.node,Ve.offset))}}Oe.collapse(X.node,X.offset),A.bidiLevel!=null&&Oe.caretBidiLevel!==void 0&&(Oe.caretBidiLevel=A.bidiLevel)}else if(Oe.extend){Oe.collapse(X.node,X.offset);try{Oe.extend(J.node,J.offset)}catch(xe){}}else{let xe=document.createRange();A.anchor>A.head&&([X,J]=[J,X]),xe.setEnd(J.node,J.offset),xe.setStart(X.node,X.offset),Oe.removeAllRanges(),Oe.addRange(xe)}c&&this.view.root.activeElement==this.dom&&(this.dom.blur(),i&&i.focus())}),this.view.observer.setSelectionRange(X,J)),this.impreciseAnchor=X.precise?null:new N(F.anchorNode,F.anchorOffset),this.impreciseHead=J.precise?null:new N(F.focusNode,F.focusOffset)}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,t=e.state.selection.main,i=G(e.root),{anchorNode:s,anchorOffset:c}=e.observer.selectionRange;if(!i||!t.empty||!t.assoc||!i.modify)return;let S=Mt.find(this,t.head);if(!S)return;let A=S.posAtStart;if(t.head==A||t.head==A+S.length)return;let X=this.coordsAt(t.head,-1),J=this.coordsAt(t.head,1);if(!X||!J||X.bottom>J.top)return;let F=this.domAtPos(t.head+t.assoc);i.collapse(F.node,F.offset),i.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let Oe=e.observer.selectionRange;e.docView.posFromDOM(Oe.anchorNode,Oe.anchorOffset)!=t.from&&i.collapse(s,c)}moveToLine(e){let t=this.dom,i;if(e.node!=t)return e;for(let s=e.offset;!i&&s=0;s--){let c=ie.get(t.childNodes[s]);c instanceof Mt&&(i=c.domAtPos(c.length))}return i?new N(i.node,i.offset,!0):e}nearest(e){for(let t=e;t;){let i=ie.get(t);if(i&&i.rootView==this)return i;t=t.parentNode}return null}posFromDOM(e,t){let i=this.nearest(e);if(!i)throw new RangeError("Trying to find position for a DOM position outside of the document");return i.localPosFromDOM(e,t)+i.posAtStart}domAtPos(e){let{i:t,off:i}=this.childCursor().findPos(e,-1);for(;t=0;S--){let A=this.children[S],X=c-A.breakAfter,J=X-A.length;if(Xe||A.covers(1))&&(!i||A instanceof Mt&&!(i instanceof Mt&&t>=0))&&(i=A,s=J),c=J}return i?i.coordsAt(e-s,t):null}coordsForChar(e){let{i:t,off:i}=this.childPos(e,1),s=this.children[t];if(!(s instanceof Mt))return null;for(;s.children.length;){let{i:A,off:X}=s.childPos(i,1);for(;;A++){if(A==s.children.length)return null;if((s=s.children[A]).length)break}i=X}if(!(s instanceof ce))return null;let c=(0,o.cp)(s.text,i);if(c==i)return null;let S=Ge(s.dom,i,c).getClientRects();return!S.length||S[0].top>=S[0].bottom?null:S[0]}measureVisibleLineHeights(e){let t=[],{from:i,to:s}=e,c=this.view.contentDOM.clientWidth,S=c>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,A=-1,X=this.view.textDirection==ue.LTR;for(let J=0,F=0;Fs)break;if(J>=i){let Ve=Oe.dom.getBoundingClientRect();if(t.push(Ve.height),S){let He=Oe.dom.lastChild,n=He?he(He):[];if(n.length){let l=n[n.length-1],u=X?l.right-Ve.left:Ve.right-l.left;u>A&&(A=u,this.minWidth=c,this.minWidthFrom=J,this.minWidthTo=xe)}}}J=xe+Oe.breakAfter}return t}textDirectionAt(e){let{i:t}=this.childPos(e,1);return getComputedStyle(this.children[t].dom).direction=="rtl"?ue.RTL:ue.LTR}measureTextSize(){for(let c of this.children)if(c instanceof Mt){let S=c.measureTextSize();if(S)return S}let e=document.createElement("div"),t,i,s;return e.className="cm-line",e.style.width="99999px",e.style.position="absolute",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let c=he(e.firstChild)[0];t=e.getBoundingClientRect().height,i=c?c.width/27:7,s=c?c.height:t,e.remove()}),{lineHeight:t,charWidth:i,textHeight:s}}childCursor(e=this.length){let t=this.children.length;return t&&(e-=this.children[--t].length),new re(this.children,e,t)}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let i=0,s=0;;s++){let c=s==t.viewports.length?null:t.viewports[s],S=c?c.from-1:this.length;if(S>i){let A=(t.lineBlockAt(S).bottom-t.lineBlockAt(i).top)/this.view.scaleY;e.push(Qt.replace({widget:new q(A),block:!0,inclusive:!0,isBlockGap:!0}).range(i,S))}if(!c)break;i=c.to+1}return Qt.set(e)}updateDeco(){let e=this.view.state.facet(Un).map((t,i)=>(this.dynamicDecorationMap[i]=typeof t=="function")?t(this.view):t);for(let t=e.length;tt.anchor?-1:1),s;if(!i)return;!t.empty&&(s=this.coordsAt(t.anchor,t.anchor>t.head?-1:1))&&(i={left:Math.min(i.left,s.left),top:Math.min(i.top,s.top),right:Math.max(i.right,s.right),bottom:Math.max(i.bottom,s.bottom)});let c=C(this.view),S={left:i.left-c.left,top:i.top-c.top,right:i.right+c.right,bottom:i.bottom+c.bottom};ve(this.view.scrollDOM,S,t.head0)i=i.childNodes[s-1],s=Pe(i);else break}if(t>=0)for(let i=r,s=e;;){if(i.nodeType==3)return{node:i,offset:s};if(i.nodeType==1&&s=0)i=i.childNodes[s],s=0;else break}return null}function et(r,e){return r.nodeType!=1?0:(e&&r.childNodes[e-1].contentEditable=="false"?1:0)|(e{ie.from&&(t=!0)}),t}function Hn(r,e,t=1){let i=r.charCategorizer(e),s=r.doc.lineAt(e),c=e-s.from;if(s.length==0)return o.jT.cursor(e);c==0?t=1:c==s.length&&(t=-1);let S=c,A=c;t<0?S=(0,o.cp)(s.text,c,!1):A=(0,o.cp)(s.text,c);let X=i(s.text.slice(S,A));for(;S>0;){let J=(0,o.cp)(s.text,S,!1);if(i(s.text.slice(J,S))!=X)break;S=J}for(;Ar?e.left-r:Math.max(0,r-e.right)}function Ei(r,e){return e.top>r?e.top-r:Math.max(0,r-e.bottom)}function Zi(r,e){return r.tope.top+1}function Dr(r,e){return er.bottom?{top:r.top,left:r.left,right:r.right,bottom:e}:r}function Xr(r,e,t){let i,s,c,S,A=!1,X,J,F,Oe;for(let He=r.firstChild;He;He=He.nextSibling){let n=he(He);for(let l=0;lw||S==w&&c>g){i=He,s=u,c=g,S=w;let k=w?t0?l0)}g==0?t>u.bottom&&(!F||F.bottomu.top)&&(J=He,Oe=u):F&&Zi(F,u)?F=or(F,u.bottom):Oe&&Zi(Oe,u)&&(Oe=Dr(Oe,u.top))}}if(F&&F.bottom>=t?(i=X,s=F):Oe&&Oe.top<=t&&(i=J,s=Oe),!i)return{node:r,offset:0};let xe=Math.max(s.left,Math.min(s.right,e));if(i.nodeType==3)return No(i,xe,t);if(A&&i.contentEditable!="false")return Xr(i,xe,t);let Ve=Array.prototype.indexOf.call(r.childNodes,i)+(e>=(s.left+s.right)/2?1:0);return{node:r,offset:Ve}}function No(r,e,t){let i=r.nodeValue.length,s=-1,c=1e9,S=0;for(let A=0;At?F.top-t:t-F.bottom)-1;if(F.left-1<=e&&F.right+1>=e&&Oe=(F.left+F.right)/2,Ve=xe;if((z.chrome||z.gecko)&&Ge(r,A).getBoundingClientRect().left==F.right&&(Ve=!xe),Oe<=0)return{node:r,offset:A+(Ve?1:0)};s=A+(Ve?1:0),c=Oe}}}return{node:r,offset:s>-1?s:S>0?r.nodeValue.length:0}}function Ws(r,e,t,i=-1){var s,c;let S=r.contentDOM.getBoundingClientRect(),A=S.top+r.viewState.paddingTop,X,{docHeight:J}=r.viewState,{x:F,y:Oe}=e,xe=Oe-A;if(xe<0)return 0;if(xe>J)return r.state.doc.length;for(let k=r.viewState.heightOracle.textHeight/2,M=!1;X=r.elementAtHeight(xe),X.type!=Bt.Text;)for(;xe=i>0?X.bottom+k:X.top-k,!(xe>=0&&xe<=J);){if(M)return t?null:0;M=!0,i=-i}Oe=A+xe;let Ve=X.from;if(Ver.viewport.to)return r.viewport.to==r.state.doc.length?r.state.doc.length:t?null:Bs(r,S,X,F,Oe);let He=r.dom.ownerDocument,n=r.root.elementFromPoint?r.root:He,l=n.elementFromPoint(F,Oe);l&&!r.contentDOM.contains(l)&&(l=null),l||(F=Math.max(S.left+1,Math.min(S.right-1,F)),l=n.elementFromPoint(F,Oe),l&&!r.contentDOM.contains(l)&&(l=null));let u,g=-1;if(l&&((s=r.docView.nearest(l))===null||s===void 0?void 0:s.isEditable)!=!1){if(He.caretPositionFromPoint){let k=He.caretPositionFromPoint(F,Oe);k&&({offsetNode:u,offset:g}=k)}else if(He.caretRangeFromPoint){let k=He.caretRangeFromPoint(F,Oe);k&&({startContainer:u,startOffset:g}=k,(!r.contentDOM.contains(u)||z.safari&&Vo(u,g,F)||z.chrome&&js(u,g,F))&&(u=void 0))}}if(!u||!r.docView.dom.contains(u)){let k=Mt.find(r.docView,Ve);if(!k)return xe>X.top+X.height/2?X.to:X.from;({node:u,offset:g}=Xr(k.dom,F,Oe))}let w=r.docView.nearest(u);if(!w)return null;if(w.isWidget&&((c=w.dom)===null||c===void 0?void 0:c.nodeType)==1){let k=w.dom.getBoundingClientRect();return e.yr.defaultLineHeight*1.5){let A=r.viewState.heightOracle.textHeight,X=Math.floor((s-t.top-(r.defaultLineHeight-A)*.5)/A);c+=X*r.viewState.heightOracle.lineLength}let S=r.state.sliceDoc(t.from,t.to);return t.from+(0,o.Gz)(S,c,r.state.tabSize)}function Vo(r,e,t){let i;if(r.nodeType!=3||e!=(i=r.nodeValue.length))return!1;for(let s=r.nextSibling;s;s=s.nextSibling)if(s.nodeType!=1||s.nodeName!="BR")return!1;return Ge(r,i-1,i).getBoundingClientRect().left>t}function js(r,e,t){if(e!=0)return!1;for(let s=r;;){let c=s.parentNode;if(!c||c.nodeType!=1||c.firstChild!=s)return!1;if(c.classList.contains("cm-line"))break;s=c}let i=r.nodeType==1?r.getBoundingClientRect():Ge(r,0,Math.max(r.nodeValue.length,1)).getBoundingClientRect();return t-i.left>5}function vr(r,e){let t=r.lineBlockAt(e);if(Array.isArray(t.type)){for(let i of t.type)if(i.to>e||i.to==e&&(i.to==t.to||i.type==Bt.Text))return i}return t}function Uo(r,e,t,i){let s=vr(r,e.head),c=!i||s.type!=Bt.Text||!(r.lineWrapping||s.widgetLineBreaks)?null:r.coordsAtPos(e.assoc<0&&e.head>s.from?e.head-1:e.head);if(c){let S=r.dom.getBoundingClientRect(),A=r.textDirectionAt(s.from),X=r.posAtCoords({x:t==(A==ue.LTR)?S.right-1:S.left+1,y:(c.top+c.bottom)/2});if(X!=null)return o.jT.cursor(X,t?-1:1)}return o.jT.cursor(t?s.to:s.from,t?-1:1)}function Mr(r,e,t,i){let s=r.state.doc.lineAt(e.head),c=r.bidiSpans(s),S=r.textDirectionAt(s.from);for(let A=e,X=null;;){let J=W(s,c,S,A,t),F=vt;if(!J){if(s.number==(t?r.state.doc.lines:1))return A;F=` +`,s=r.state.doc.line(s.number+(t?1:-1)),c=r.bidiSpans(s),J=o.jT.cursor(t?s.from:s.to)}if(X){if(!X(F))return A}else{if(!i)return J;X=i(F)}A=J}}function Ns(r,e,t){let i=r.state.charCategorizer(e),s=i(t);return c=>{let S=i(c);return s==o.D0.Space&&(s=S),s==S}}function Jl(r,e,t,i){let s=e.head,c=t?1:-1;if(s==(t?r.state.doc.length:0))return o.jT.cursor(s,e.assoc);let S=e.goalColumn,A,X=r.contentDOM.getBoundingClientRect(),J=r.coordsAtPos(s,e.assoc||-1),F=r.documentTop;if(J)S==null&&(S=J.left-X.left),A=c<0?J.top:J.bottom;else{let Ve=r.viewState.lineBlockAt(s);S==null&&(S=Math.min(X.right-X.left,r.defaultCharacterWidth*(s-Ve.from))),A=(c<0?Ve.top:Ve.bottom)+F}let Oe=X.left+S,xe=i!=null?i:r.viewState.heightOracle.textHeight>>1;for(let Ve=0;;Ve+=10){let He=A+(xe+Ve)*c,n=Ws(r,{x:Oe,y:He},!1,c);if(HeX.bottom||(c<0?ns)){let l=r.docView.coordsForChar(n),u=!l||He{if(e>c&&es(r)),t.from,e.head>t.from?-1:1);return i==t.from?t:o.jT.cursor(i,i{if(t.target==e.scrollDOM&&t.clientY>e.contentDOM.getBoundingClientRect().bottom&&(this.runHandlers("mousedown",t),!t.defaultPrevented&&t.button==2)){let i=e.contentDOM.style.minHeight;e.contentDOM.style.minHeight="100%",setTimeout(()=>e.contentDOM.style.minHeight=i,200)}}),e.scrollDOM.addEventListener("drop",t=>{t.target==e.scrollDOM&&t.clientY>e.contentDOM.getBoundingClientRect().bottom&&this.runHandlers("drop",t)}),this.notifiedFocused=e.hasFocus,z.safari&&e.contentDOM.addEventListener("input",()=>null),z.gecko&&Br(e.contentDOM.ownerDocument)}handleEvent(e){!Fs(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||this.runHandlers(e.type,e)}runHandlers(e,t){let i=this.handlers[e];if(i){for(let s of i.observers)s(this.view,t);for(let s of i.handlers){if(t.defaultPrevented)break;if(s(this.view,t)){t.preventDefault();break}}}}ensureHandlers(e){let t=Kl(e),i=this.handlers,s=this.view.contentDOM;for(let c in t)if(c!="scroll"){let S=!t[c].handlers.length,A=i[c];A&&S!=!A.handlers.length&&(s.removeEventListener(c,this.handleEvent),A=null),A||s.addEventListener(c,this.handleEvent,{passive:S})}for(let c in i)c!="scroll"&&!t[c]&&s.removeEventListener(c,this.handleEvent);this.handlers=t}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&Date.now()i.keyCode==e.keyCode))&&!e.ctrlKey||mt.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=t||e,setTimeout(()=>this.flushIOSKey(),250),!0):(e.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(){let e=this.pendingIOSKey;return e?(this.pendingIOSKey=void 0,pt(this.view.contentDOM,e.key,e.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:z.safari&&!z.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function Vs(r,e){return(t,i)=>{try{return e.call(r,i,t)}catch(s){kn(t.state,s)}}}function Kl(r){let e=Object.create(null);function t(i){return e[i]||(e[i]={observers:[],handlers:[]})}for(let i of r){let s=i.spec;if(s&&s.domEventHandlers)for(let c in s.domEventHandlers){let S=s.domEventHandlers[c];S&&t(c).handlers.push(Vs(i.value,S))}if(s&&s.domEventObservers)for(let c in s.domEventObservers){let S=s.domEventObservers[c];S&&t(c).observers.push(Vs(i.value,S))}}for(let i in Ri)t(i).handlers.push(Ri[i]);for(let i in Di)t(i).observers.push(Di[i]);return e}const Us=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],mt="dthko",Wi=[16,17,18,20,91,92,224,225],Lr=6;function Ir(r){return Math.max(0,r)*.7+8}function kt(r,e){return Math.max(Math.abs(r.clientX-e.clientX),Math.abs(r.clientY-e.clientY))}class er{constructor(e,t,i,s){this.view=e,this.startEvent=t,this.style=i,this.mustSelect=s,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParent=We(e.contentDOM),this.atoms=e.state.facet(se).map(S=>S(e));let c=e.contentDOM.ownerDocument;c.addEventListener("mousemove",this.move=this.move.bind(this)),c.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(o.yy.allowMultipleSelections)&&zr(e,t),this.dragging=Wr(e,t)&&no(t)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){var t;if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&kt(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let i=0,s=0,c=((t=this.scrollParent)===null||t===void 0?void 0:t.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight},S=C(this.view);e.clientX-S.left<=c.left+Lr?i=-Ir(c.left-e.clientX):e.clientX+S.right>=c.right-Lr&&(i=Ir(e.clientX-c.right)),e.clientY-S.top<=c.top+Lr?s=-Ir(c.top-e.clientY):e.clientY+S.bottom>=c.bottom-Lr&&(s=Ir(e.clientY-c.bottom)),this.setScrollSpeed(i,s)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=null}setScrollSpeed(e,t){this.scrollSpeed={x:e,y:t},e||t?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){this.scrollParent?(this.scrollParent.scrollLeft+=this.scrollSpeed.x,this.scrollParent.scrollTop+=this.scrollSpeed.y):this.view.win.scrollBy(this.scrollSpeed.x,this.scrollSpeed.y),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let t=null;for(let i=0;ithis.select(this.lastEvent),20)}}function zr(r,e){let t=r.state.facet(Tn);return t.length?t[0](e):z.mac?e.metaKey:e.ctrlKey}function Go(r,e){let t=r.state.facet(An);return t.length?t[0](e):z.mac?!e.altKey:!e.ctrlKey}function Wr(r,e){let{main:t}=r.state.selection;if(t.empty)return!1;let i=G(r.root);if(!i||i.rangeCount==0)return!0;let s=i.getRangeAt(0).getClientRects();for(let c=0;c=e.clientX&&S.top<=e.clientY&&S.bottom>=e.clientY)return!0}return!1}function Fs(r,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target,i;t!=r.contentDOM;t=t.parentNode)if(!t||t.nodeType==11||(i=ie.get(t))&&i.ignoreEvent(e))return!1;return!0}const Ri=Object.create(null),Di=Object.create(null),Gs=z.ie&&z.ie_version<15||z.ios&&z.webkit_version<604;function lr(r){let e=r.dom.parentNode;if(!e)return;let t=e.appendChild(document.createElement("textarea"));t.style.cssText="position: fixed; left: -10000px; top: 10px",t.focus(),setTimeout(()=>{r.focus(),t.remove(),Hs(r,t.value)},50)}function Hs(r,e){let{state:t}=r,i,s=1,c=t.toText(e),S=c.lines==t.selection.ranges.length;if(ls!=null&&t.selection.ranges.every(X=>X.empty)&&ls==c.toString()){let X=-1;i=t.changeByRange(J=>{let F=t.doc.lineAt(J.from);if(F.from==X)return{range:J};X=F.from;let Oe=t.toText((S?c.line(s++).text:e)+t.lineBreak);return{changes:{from:F.from,insert:Oe},range:o.jT.cursor(J.from+Oe.length)}})}else S?i=t.changeByRange(X=>{let J=c.line(s++);return{changes:{from:X.from,to:X.to,insert:J.text},range:o.jT.cursor(X.from+J.length)}}):i=t.replaceSelection(c);r.dispatch(i,{userEvent:"input.paste",scrollIntoView:!0})}Di.scroll=r=>{r.inputState.lastScrollTop=r.scrollDOM.scrollTop,r.inputState.lastScrollLeft=r.scrollDOM.scrollLeft},Ri.keydown=(r,e)=>(r.inputState.setSelectionOrigin("select"),e.keyCode==27&&(r.inputState.lastEscPress=Date.now()),!1),Di.touchstart=(r,e)=>{r.inputState.lastTouchTime=Date.now(),r.inputState.setSelectionOrigin("select.pointer")},Di.touchmove=r=>{r.inputState.setSelectionOrigin("select.pointer")},Ri.mousedown=(r,e)=>{if(r.observer.flush(),r.inputState.lastTouchTime>Date.now()-2e3)return!1;let t=null;for(let i of r.state.facet(Sn))if(t=i(r,e),t)break;if(!t&&e.button==0&&(t=qo(r,e)),t){let i=!r.hasFocus;r.inputState.startMouseSelection(new er(r,e,t,i)),i&&r.observer.ignore(()=>rt(r.contentDOM));let s=r.inputState.mouseSelection;if(s)return s.start(e),!s.dragging}return!1};function qs(r,e,t,i){if(i==1)return o.jT.cursor(e,t);if(i==2)return Hn(r.state,e,t);{let s=Mt.find(r.docView,e),c=r.state.doc.lineAt(s?s.posAtEnd:e),S=s?s.posAtStart:c.from,A=s?s.posAtEnd:c.to;return Ar>=e.top&&r<=e.bottom,Ks=(r,e,t)=>Js(e,t)&&r>=t.left&&r<=t.right;function Ho(r,e,t,i){let s=Mt.find(r.docView,e);if(!s)return 1;let c=e-s.posAtStart;if(c==0)return 1;if(c==s.length)return-1;let S=s.coordsAt(c,-1);if(S&&Ks(t,i,S))return-1;let A=s.coordsAt(c,1);return A&&Ks(t,i,A)?1:S&&Js(i,S)?-1:1}function _s(r,e){let t=r.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:t,bias:Ho(r,t,e.clientX,e.clientY)}}const eo=z.ie&&z.ie_version<=11;let ss=null,os=0,to=0;function no(r){if(!eo)return r.detail;let e=ss,t=to;return ss=r,to=Date.now(),os=!e||t>Date.now()-400&&Math.abs(e.clientX-r.clientX)<2&&Math.abs(e.clientY-r.clientY)<2?(os+1)%3:1}function qo(r,e){let t=_s(r,e),i=no(e),s=r.state.selection;return{update(c){c.docChanged&&(t.pos=c.changes.mapPos(t.pos),s=s.map(c.changes))},get(c,S,A){let X=_s(r,c),J,F=qs(r,X.pos,X.bias,i);if(t.pos!=X.pos&&!S){let Oe=qs(r,t.pos,t.bias,i),xe=Math.min(Oe.from,F.from),Ve=Math.max(Oe.to,F.to);F=xe1&&(J=Jo(s,X.pos))?J:A?s.addRange(F):o.jT.create([F])}}}function Jo(r,e){for(let t=0;t=e)return o.jT.create(r.ranges.slice(0,t).concat(r.ranges.slice(t+1)),r.mainIndex==t?0:r.mainIndex-(r.mainIndex>t?1:0))}return null}Ri.dragstart=(r,e)=>{let{selection:{main:t}}=r.state,{mouseSelection:i}=r.inputState;return i&&(i.dragging=t),e.dataTransfer&&(e.dataTransfer.setData("Text",r.state.sliceDoc(t.from,t.to)),e.dataTransfer.effectAllowed="copyMove"),!1};function yr(r,e,t,i){if(!t)return;let s=r.posAtCoords({x:e.clientX,y:e.clientY},!1),{mouseSelection:c}=r.inputState,S=i&&c&&c.dragging&&Go(r,e)?{from:c.dragging.from,to:c.dragging.to}:null,A={from:s,insert:t},X=r.state.changes(S?[S,A]:A);r.focus(),r.dispatch({changes:X,selection:{anchor:X.mapPos(s,-1),head:X.mapPos(s,1)},userEvent:S?"move.drop":"input.drop"})}Ri.drop=(r,e)=>{if(!e.dataTransfer)return!1;if(r.state.readOnly)return!0;let t=e.dataTransfer.files;if(t&&t.length){let i=Array(t.length),s=0,c=()=>{++s==t.length&&yr(r,e,i.filter(S=>S!=null).join(r.state.lineBreak),!1)};for(let S=0;S{/[\x00-\x08\x0e-\x1f]{2}/.test(A.result)||(i[S]=A.result),c()},A.readAsText(t[S])}return!0}else{let i=e.dataTransfer.getData("Text");if(i)return yr(r,e,i,!0),!0}return!1},Ri.paste=(r,e)=>{if(r.state.readOnly)return!0;r.observer.flush();let t=Gs?null:e.clipboardData;return t?(Hs(r,t.getData("text/plain")||t.getData("text/uri-text")),!0):(lr(r),!1)};function xr(r,e){let t=r.dom.parentNode;if(!t)return;let i=t.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.value=e,i.focus(),i.selectionEnd=e.length,i.selectionStart=0,setTimeout(()=>{i.remove(),r.focus()},50)}function io(r){let e=[],t=[],i=!1;for(let s of r.selection.ranges)s.empty||(e.push(r.sliceDoc(s.from,s.to)),t.push(s));if(!e.length){let s=-1;for(let{from:c}of r.selection.ranges){let S=r.doc.lineAt(c);S.number>s&&(e.push(S.text),t.push({from:S.from,to:Math.min(r.doc.length,S.to+1)})),s=S.number}i=!0}return{text:e.join(r.lineBreak),ranges:t,linewise:i}}let ls=null;Ri.copy=Ri.cut=(r,e)=>{let{text:t,ranges:i,linewise:s}=io(r.state);if(!t&&!s)return!1;ls=s?t:null,e.type=="cut"&&!r.state.readOnly&&r.dispatch({changes:i,scrollIntoView:!0,userEvent:"delete.cut"});let c=Gs?null:e.clipboardData;return c?(c.clearData(),c.setData("text/plain",t),!0):(xr(r,t),!1)};const ro=o.q6.define();function Ko(r,e){let t=[];for(let i of r.facet(jn)){let s=i(r,e);s&&t.push(s)}return t?r.update({effects:t,annotations:ro.of(!0)}):null}function Bi(r){setTimeout(()=>{let e=r.hasFocus;if(e!=r.inputState.notifiedFocused){let t=Ko(r.state,e);t?r.dispatch(t):r.update([])}},10)}Di.focus=r=>{r.inputState.lastFocusTime=Date.now(),!r.scrollDOM.scrollTop&&(r.inputState.lastScrollTop||r.inputState.lastScrollLeft)&&(r.scrollDOM.scrollTop=r.inputState.lastScrollTop,r.scrollDOM.scrollLeft=r.inputState.lastScrollLeft),Bi(r)},Di.blur=r=>{r.observer.clearSelectionRange(),Bi(r)},Di.compositionstart=Di.compositionupdate=r=>{r.inputState.compositionFirstChange==null&&(r.inputState.compositionFirstChange=!0),r.inputState.composing<0&&(r.inputState.composing=0)},Di.compositionend=r=>{r.inputState.composing=-1,r.inputState.compositionEndedAt=Date.now(),r.inputState.compositionPendingKey=!0,r.inputState.compositionPendingChange=r.observer.pendingRecords().length>0,r.inputState.compositionFirstChange=null,z.chrome&&z.android?r.observer.flushSoon():r.inputState.compositionPendingChange?Promise.resolve().then(()=>r.observer.flush()):setTimeout(()=>{r.inputState.composing<0&&r.docView.hasComposition&&r.update([])},50)},Di.contextmenu=r=>{r.inputState.lastContextMenu=Date.now()},Ri.beforeinput=(r,e)=>{var t;let i;if(z.chrome&&z.android&&(i=Us.find(s=>s.inputType==e.inputType))&&(r.observer.delayAndroidKey(i.key,i.keyCode),i.key=="Backspace"||i.key=="Delete")){let s=((t=window.visualViewport)===null||t===void 0?void 0:t.height)||0;setTimeout(()=>{var c;(((c=window.visualViewport)===null||c===void 0?void 0:c.height)||0)>s+10&&r.hasFocus&&(r.contentDOM.blur(),r.focus())},100)}return!1};const as=new Set;function Br(r){as.has(r)||(as.add(r),r.addEventListener("copy",()=>{}),r.addEventListener("cut",()=>{}))}const kr=["pre-wrap","normal","pre-line","break-spaces"];class jr{constructor(e){this.lineWrapping=e,this.doc=o.xv.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}heightForGap(e,t){let i=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(i+=Math.max(0,Math.ceil((t-e-i*this.lineLength*.5)/this.lineLength))),this.lineHeight*i}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return kr.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let i=0;i-1,X=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=A;if(this.lineWrapping=A,this.lineHeight=t,this.charWidth=i,this.textHeight=s,this.lineLength=c,X){this.heightSamples={};for(let J=0;J0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,t){this.height!=t&&(Math.abs(this.height-t)>Xi&&(e.heightChanged=!0),this.height=t)}replace(e,t,i){return hi.of(i)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,i,s){let c=this,S=i.doc;for(let A=s.length-1;A>=0;A--){let{fromA:X,toA:J,fromB:F,toB:Oe}=s[A],xe=c.lineAt(X,Zn.ByPosNoHeight,i.setDoc(t),0,0),Ve=xe.to>=J?xe:c.lineAt(J,Zn.ByPosNoHeight,i,0,0);for(Oe+=Ve.to-J,J=Ve.to;A>0&&xe.from<=s[A-1].toA;)X=s[A-1].fromA,F=s[A-1].fromB,A--,Xc*2){let A=e[t-1];A.break?e.splice(--t,1,A.left,null,A.right):e.splice(--t,1,A.left,A.right),i+=1+A.break,s-=A.size}else if(c>s*2){let A=e[i];A.break?e.splice(i,1,A.left,null,A.right):e.splice(i,1,A.left,A.right),i+=2+A.break,c-=A.size}else break;else if(s=c&&S(this.blockAt(0,i,s,c))}updateHeight(e,t=0,i=!1,s){return s&&s.from<=t&&s.more&&this.setHeight(e,s.heights[s.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class Me extends Zt{constructor(e,t){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,t,i,s){return new Li(s,this.length,i,this.height,this.breaks)}replace(e,t,i){let s=i[0];return i.length==1&&(s instanceof Me||s instanceof oi&&s.flags&4)&&Math.abs(this.length-s.length)<10?(s instanceof oi?s=new Me(s.length,this.height):s.height=this.height,this.outdated||(s.outdated=!1),s):hi.of(i)}updateHeight(e,t=0,i=!1,s){return s&&s.from<=t&&s.more?this.setHeight(e,s.heights[s.index++]):(i||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class oi extends hi{constructor(e){super(e,0)}heightMetrics(e,t){let i=e.doc.lineAt(t).number,s=e.doc.lineAt(t+this.length).number,c=s-i+1,S,A=0;if(e.lineWrapping){let X=Math.min(this.height,e.lineHeight*c);S=X/c,this.length>c+1&&(A=(this.height-X)/(this.length-c-1))}else S=this.height/c;return{firstLine:i,lastLine:s,perLine:S,perChar:A}}blockAt(e,t,i,s){let{firstLine:c,lastLine:S,perLine:A,perChar:X}=this.heightMetrics(t,s);if(t.lineWrapping){let J=s+Math.round(Math.max(0,Math.min(1,(e-i)/this.height))*this.length),F=t.doc.lineAt(J),Oe=A+F.length*X,xe=Math.max(i,e-Oe/2);return new Li(F.from,F.length,xe,Oe,0)}else{let J=Math.max(0,Math.min(S-c,Math.floor((e-i)/A))),{from:F,length:Oe}=t.doc.line(c+J);return new Li(F,Oe,i+A*J,A,0)}}lineAt(e,t,i,s,c){if(t==Zn.ByHeight)return this.blockAt(e,i,s,c);if(t==Zn.ByPosNoHeight){let{from:Ve,to:He}=i.doc.lineAt(e);return new Li(Ve,He-Ve,0,0,0)}let{firstLine:S,perLine:A,perChar:X}=this.heightMetrics(i,c),J=i.doc.lineAt(e),F=A+J.length*X,Oe=J.number-S,xe=s+A*Oe+X*(J.from-c-Oe);return new Li(J.from,J.length,Math.max(s,Math.min(xe,s+this.height-F)),F,0)}forEachLine(e,t,i,s,c,S){e=Math.max(e,c),t=Math.min(t,c+this.length);let{firstLine:A,perLine:X,perChar:J}=this.heightMetrics(i,c);for(let F=e,Oe=s;F<=t;){let xe=i.doc.lineAt(F);if(F==e){let He=xe.number-A;Oe+=X*He+J*(e-c-He)}let Ve=X+J*xe.length;S(new Li(xe.from,xe.length,Oe,Ve,0)),Oe+=Ve,F=xe.to+1}}replace(e,t,i){let s=this.length-t;if(s>0){let c=i[i.length-1];c instanceof oi?i[i.length-1]=new oi(c.length+s):i.push(null,new oi(s-1))}if(e>0){let c=i[0];c instanceof oi?i[0]=new oi(e+c.length):i.unshift(new oi(e-1),null)}return hi.of(i)}decomposeLeft(e,t){t.push(new oi(e-1),null)}decomposeRight(e,t){t.push(null,new oi(this.length-e-1))}updateHeight(e,t=0,i=!1,s){let c=t+this.length;if(s&&s.from<=t+this.length&&s.more){let S=[],A=Math.max(t,s.from),X=-1;for(s.from>t&&S.push(new oi(s.from-t-1).updateHeight(e,t));A<=c&&s.more;){let F=e.doc.lineAt(A).length;S.length&&S.push(null);let Oe=s.heights[s.index++];X==-1?X=Oe:Math.abs(Oe-X)>=Xi&&(X=-2);let xe=new Me(F,Oe);xe.outdated=!1,S.push(xe),A+=F+1}A<=c&&S.push(null,new oi(c-A).updateHeight(e,A));let J=hi.of(S);return(X<0||Math.abs(J.height-this.height)>=Xi||Math.abs(X-this.heightMetrics(e,t).perLine)>=Xi)&&(e.heightChanged=!0),J}else(i||this.outdated)&&(this.setHeight(e,e.heightForGap(t,t+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class _o extends hi{constructor(e,t,i){super(e.length+t+i.length,e.height+i.height,t|(e.outdated||i.outdated?2:0)),this.left=e,this.right=i,this.size=e.size+i.size}get break(){return this.flags&1}blockAt(e,t,i,s){let c=i+this.left.height;return eA))return J;let F=t==Zn.ByPosNoHeight?Zn.ByPosNoHeight:Zn.ByPos;return X?J.join(this.right.lineAt(A,F,i,S,A)):this.left.lineAt(A,F,i,s,c).join(J)}forEachLine(e,t,i,s,c,S){let A=s+this.left.height,X=c+this.left.length+this.break;if(this.break)e=X&&this.right.forEachLine(e,t,i,A,X,S);else{let J=this.lineAt(X,Zn.ByPos,i,s,c);e=e&&J.from<=t&&S(J),t>J.to&&this.right.forEachLine(J.to+1,t,i,A,X,S)}}replace(e,t,i){let s=this.left.length+this.break;if(tthis.left.length)return this.balanced(this.left,this.right.replace(e-s,t-s,i));let c=[];e>0&&this.decomposeLeft(e,c);let S=c.length;for(let A of i)c.push(A);if(e>0&&Rn(c,S-1),t=i&&t.push(null)),e>i&&this.right.decomposeLeft(e-i,t)}decomposeRight(e,t){let i=this.left.length,s=i+this.break;if(e>=s)return this.right.decomposeRight(e-s,t);e2*t.size||t.size>2*e.size?hi.of(this.break?[e,null,t]:[e,t]):(this.left=e,this.right=t,this.height=e.height+t.height,this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,i=!1,s){let{left:c,right:S}=this,A=t+c.length+this.break,X=null;return s&&s.from<=t+c.length&&s.more?X=c=c.updateHeight(e,t,i,s):c.updateHeight(e,t,i),s&&s.from<=A+S.length&&s.more?X=S=S.updateHeight(e,A,i,s):S.updateHeight(e,A,i),X?this.balanced(c,S):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function Rn(r,e){let t,i;r[e]==null&&(t=r[e-1])instanceof oi&&(i=r[e+1])instanceof oi&&r.splice(e-1,3,new oi(t.length+1+i.length))}const el=5;class Nr{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){if(this.lineStart>-1){let i=Math.min(t,this.lineEnd),s=this.nodes[this.nodes.length-1];s instanceof Me?s.length+=i-this.pos:(i>this.pos||!this.isCovered)&&this.nodes.push(new Me(i-this.pos,-1)),this.writtenTo=i,t>i&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,i){if(e=el)&&this.addLineDeco(s,c,S)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=t,this.writtenToe&&this.nodes.push(new Me(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let i=new oi(t-e);return this.oracle.doc.lineAt(e).to==t&&(i.flags|=4),i}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof Me)return e;let t=new Me(0,-1);return this.nodes.push(t),t}addBlock(e){this.enterLine();let t=e.deco;t&&t.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,t&&t.endSide>0&&(this.covering=e)}addLineDeco(e,t,i){let s=this.ensureLine();s.length+=i,s.collapsed+=i,s.widgetHeight=Math.max(s.widgetHeight,e),s.breaks+=t,this.writtenTo=this.pos=this.pos+i}finish(e){let t=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(t instanceof Me)&&!this.isCovered?this.nodes.push(new Me(0,-1)):(this.writtenToF.clientHeight||F.scrollWidth>F.clientWidth)&&Oe.overflow!="visible"){let xe=F.getBoundingClientRect();c=Math.max(c,xe.left),S=Math.min(S,xe.right),A=Math.max(A,xe.top),X=J==r.parentNode?xe.bottom:Math.min(X,xe.bottom)}J=Oe.position=="absolute"||Oe.position=="fixed"?F.offsetParent:F.parentNode}else if(J.nodeType==11)J=J.host;else break;return{left:c-t.left,right:Math.max(c,S)-t.left,top:A-(t.top+e),bottom:Math.max(A,X)-(t.top+e)}}function lo(r,e){let t=r.getBoundingClientRect();return{left:0,right:t.right-t.left,top:e,bottom:t.bottom-(t.top+e)}}class wr{constructor(e,t,i){this.from=e,this.to=t,this.size=i}static same(e,t){if(e.length!=t.length)return!1;for(let i=0;itypeof i!="function"&&i.class=="cm-lineWrapping");this.heightOracle=new jr(t),this.stateDeco=e.facet(Un).filter(i=>typeof i!="function"),this.heightMap=hi.empty().applyChanges(this.stateDeco,o.xv.empty,this.heightOracle.setDoc(e.doc),[new Y(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=Qt.set(this.lineGaps.map(i=>i.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let i=0;i<=1;i++){let s=i?t.head:t.anchor;if(!e.some(({from:c,to:S})=>s>=c&&s<=S)){let{from:c,to:S}=this.lineBlockAt(s);e.push(new Cr(c,S))}}this.viewports=e.sort((i,s)=>i.from-s.from),this.scaler=this.heightMap.height<=7e6?ao:new rl(this.heightOracle,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:ar(e,this.scaler))})}update(e,t=null){this.state=e.state;let i=this.stateDeco;this.stateDeco=this.state.facet(Un).filter(F=>typeof F!="function");let s=e.changedRanges,c=Y.extendWithRanges(s,oo(i,this.stateDeco,e?e.changes:o.as.empty(this.state.doc.length))),S=this.heightMap.height,A=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),c),this.heightMap.height!=S&&(e.flags|=2),A?(this.scrollAnchorPos=e.changes.mapPos(A.from,-1),this.scrollAnchorHeight=A.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let X=c.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.headX.to)||!this.viewportIsAppropriate(X))&&(X=this.getViewport(0,t));let J=!e.changes.empty||e.flags&2||X.from!=this.viewport.from||X.to!=this.viewport.to;this.viewport=X,this.updateForViewport(),J&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(Gn)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,i=window.getComputedStyle(t),s=this.heightOracle,c=i.whiteSpace;this.defaultTextDirection=i.direction=="rtl"?ue.RTL:ue.LTR;let S=this.heightOracle.mustRefreshForWrapping(c),A=t.getBoundingClientRect(),X=S||this.mustMeasureContent||this.contentDOMHeight!=A.height;this.contentDOMHeight=A.height,this.mustMeasureContent=!1;let J=0,F=0;if(A.width&&A.height){let k=A.width/t.offsetWidth,M=A.height/t.offsetHeight;(k>.995&&k<1.005||!isFinite(k))&&(k=1),(M>.995&&M<1.005||!isFinite(M))&&(M=1),(this.scaleX!=k||this.scaleY!=M)&&(this.scaleX=k,this.scaleY=M,J|=8,S=X=!0)}let Oe=(parseInt(i.paddingTop)||0)*this.scaleY,xe=(parseInt(i.paddingBottom)||0)*this.scaleY;(this.paddingTop!=Oe||this.paddingBottom!=xe)&&(this.paddingTop=Oe,this.paddingBottom=xe,J|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(s.lineWrapping&&(X=!0),this.editorWidth=e.scrollDOM.clientWidth,J|=8);let Ve=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=Ve&&(this.scrollAnchorHeight=-1,this.scrollTop=Ve),this.scrolledToBottom=E(e.scrollDOM);let He=(this.printing?lo:hs)(t,this.paddingTop),n=He.top-this.pixelViewport.top,l=He.bottom-this.pixelViewport.bottom;this.pixelViewport=He;let u=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(u!=this.inView&&(this.inView=u,u&&(X=!0)),!this.inView&&!this.scrollTarget)return 0;let g=A.width;if((this.contentDOMWidth!=g||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=A.width,this.editorHeight=e.scrollDOM.clientHeight,J|=8),X){let k=e.docView.measureVisibleLineHeights(this.viewport);if(s.mustRefreshForHeights(k)&&(S=!0),S||s.lineWrapping&&Math.abs(g-this.contentDOMWidth)>s.charWidth){let{lineHeight:M,charWidth:ee,textHeight:de}=e.docView.measureTextSize();S=M>0&&s.refresh(c,M,ee,de,g/ee,k),S&&(e.docView.minWidth=0,J|=8)}n>0&&l>0?F=Math.max(n,l):n<0&&l<0&&(F=Math.min(n,l)),s.heightChanged=!1;for(let M of this.viewports){let ee=M.from==this.viewport.from?k:e.docView.measureVisibleLineHeights(M);this.heightMap=(S?hi.empty().applyChanges(this.stateDeco,o.xv.empty,this.heightOracle,[new Y(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(s,0,S,new so(M.from,ee))}s.heightChanged&&(J|=2)}let w=!this.viewportIsAppropriate(this.viewport,F)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return w&&(this.viewport=this.getViewport(F,this.scrollTarget)),this.updateForViewport(),(J&2||w)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(S?[]:this.lineGaps,e)),J|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),J}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let i=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),s=this.heightMap,c=this.heightOracle,{visibleTop:S,visibleBottom:A}=this,X=new Cr(s.lineAt(S-i*1e3,Zn.ByHeight,c,0,0).from,s.lineAt(A+(1-i)*1e3,Zn.ByHeight,c,0,0).to);if(t){let{head:J}=t.range;if(JX.to){let F=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),Oe=s.lineAt(J,Zn.ByPos,c,0,0),xe;t.y=="center"?xe=(Oe.top+Oe.bottom)/2-F/2:t.y=="start"||t.y=="nearest"&&J=A+Math.max(10,Math.min(i,250)))&&s>S-2*1e3&&c>1,S=s<<1;if(this.defaultTextDirection!=ue.LTR&&!i)return[];let A=[],X=(J,F,Oe,xe)=>{if(F-JJ&&ll.from>=Oe.from&&l.to<=Oe.to&&Math.abs(l.from-J)l.fromu));if(!n){if(Fl.from<=F&&l.to>=F)){let l=t.moveToLineBoundary(o.jT.cursor(F),!1,!0).head;l>J&&(F=l)}n=new wr(J,F,this.gapSize(Oe,J,F,xe))}A.push(n)};for(let J of this.viewportLines){if(J.lengthJ.from&&X(J.from,xe,J,F),Vet.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let t=[];o.Xs.spans(e,this.viewport.from,this.viewport.to,{span(s,c){t.push({from:s,to:c})},point(){}},20);let i=t.length!=this.visibleRanges.length||this.visibleRanges.some((s,c)=>s.from!=t[c].from||s.to!=t[c].to);return this.visibleRanges=t,i?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||ar(this.heightMap.lineAt(e,Zn.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return ar(this.heightMap.lineAt(this.scaler.fromDOM(e),Zn.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let t=this.lineBlockAtHeight(e+8);return t.from>=this.viewport.from||this.viewportLines[0].top-e>200?t:this.viewportLines[0]}elementAtHeight(e){return ar(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class Cr{constructor(e,t){this.from=e,this.to=t}}function bn(r,e,t){let i=[],s=r,c=0;return o.Xs.spans(t,r,e,{span(){},point(S,A){S>s&&(i.push({from:s,to:S}),c+=S-s),s=A}},20),s=1)return e[e.length-1].to;let i=Math.floor(r*t);for(let s=0;;s++){let{from:c,to:S}=e[s],A=S-c;if(i<=A)return c+i;i-=A}}function Vr(r,e){let t=0;for(let{from:i,to:s}of r.ranges){if(e<=s){t+=e-i;break}t+=s-i}return t/r.total}function il(r,e){for(let t of r)if(e(t))return t}const ao={toDOM(r){return r},fromDOM(r){return r},scale:1};class rl{constructor(e,t,i){let s=0,c=0,S=0;this.viewports=i.map(({from:A,to:X})=>{let J=t.lineAt(A,Zn.ByPos,e,0,0).top,F=t.lineAt(X,Zn.ByPos,e,0,0).bottom;return s+=F-J,{from:A,to:X,top:J,bottom:F,domTop:0,domBottom:0}}),this.scale=(7e6-s)/(t.height-s);for(let A of this.viewports)A.domTop=S+(A.top-c)*this.scale,S=A.domBottom=A.domTop+(A.bottom-A.top),c=A.bottom}toDOM(e){for(let t=0,i=0,s=0;;t++){let c=tar(s,e)):r._content)}const Ur=o.r$.define({combine:r=>r.join(" ")}),hr=o.r$.define({combine:r=>r.indexOf(!0)>-1}),us=y.V.newName(),ho=y.V.newName(),co=y.V.newName(),$i={"&light":"."+ho,"&dark":"."+co};function fs(r,e,t){return new y.V(e,{finish(i){return/&/.test(i)?i.replace(/&\w*/,s=>{if(s=="&")return r;if(!t||!t[s])throw new RangeError(`Unsupported selector: ${s}`);return t[s]}):r+" "+i}})}const $r=fs("."+us,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},$i),tr="\uFFFF";class uo{constructor(e,t){this.points=e,this.text="",this.lineSeparator=t.facet(o.yy.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=tr}readRange(e,t){if(!e)return this;let i=e.parentNode;for(let s=e;;){this.findPointBefore(i,s);let c=this.text.length;this.readNode(s);let S=s.nextSibling;if(S==t)break;let A=ie.get(s),X=ie.get(S);(A&&X?A.breakAfter:(A?A.breakAfter:ds(s))||ds(S)&&(s.nodeName!="BR"||s.cmIgnore)&&this.text.length>c)&&this.lineBreak(),s=S}return this.findPointBefore(i,t),this}readTextNode(e){let t=e.nodeValue;for(let i of this.points)i.node==e&&(i.pos=this.text.length+Math.min(i.offset,t.length));for(let i=0,s=this.lineSeparator?null:/\r\n?|\n/g;;){let c=-1,S=1,A;if(this.lineSeparator?(c=t.indexOf(this.lineSeparator,i),S=this.lineSeparator.length):(A=s.exec(t))&&(c=A.index,S=A[0].length),this.append(t.slice(i,c<0?t.length:c)),c<0)break;if(this.lineBreak(),S>1)for(let X of this.points)X.node==e&&X.pos>this.text.length&&(X.pos-=S-1);i=c+S}}readNode(e){if(e.cmIgnore)return;let t=ie.get(e),i=t&&t.overrideDOMText;if(i!=null){this.findPointInside(e,i.length);for(let s=i.iter();!s.next().done;)s.lineBreak?this.lineBreak():this.append(s.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let i of this.points)i.node==e&&e.childNodes[i.offset]==t&&(i.pos=this.text.length)}findPointInside(e,t){for(let i of this.points)(e.nodeType==3?i.node==e:e.contains(i.node))&&(i.pos=this.text.length+Math.min(t,i.offset))}}function ds(r){return r.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(r.nodeName)}class ps{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}}class ms{constructor(e,t,i,s){this.typeOver=s,this.bounds=null,this.text="";let{impreciseHead:c,impreciseAnchor:S}=e.docView;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,i,0))){let A=c||S?[]:sl(e),X=new uo(A,e.state);X.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=X.text,this.newSel=ol(A,this.bounds.from)}else{let A=e.observer.selectionRange,X=c&&c.node==A.focusNode&&c.offset==A.focusOffset||!te(e.contentDOM,A.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(A.focusNode,A.focusOffset),J=S&&S.node==A.anchorNode&&S.offset==A.anchorOffset||!te(e.contentDOM,A.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(A.anchorNode,A.anchorOffset);this.newSel=o.jT.single(J,X)}}}function gs(r,e){let t,{newSel:i}=e,s=r.state.selection.main,c=r.inputState.lastKeyTime>Date.now()-100?r.inputState.lastKeyCode:-1;if(e.bounds){let{from:S,to:A}=e.bounds,X=s.from,J=null;(c===8||z.android&&e.text.length=s.from&&t.to<=s.to&&(t.from!=s.from||t.to!=s.to)&&s.to-s.from-(t.to-t.from)<=4?t={from:s.from,to:s.to,insert:r.state.doc.slice(s.from,t.from).append(t.insert).append(r.state.doc.slice(t.to,s.to))}:(z.mac||z.android)&&t&&t.from==t.to&&t.from==s.head-1&&/^\. ?$/.test(t.insert.toString())&&r.contentDOM.getAttribute("autocorrect")=="off"?(i&&t.insert.length==2&&(i=o.jT.single(i.main.anchor-1,i.main.head-1)),t={from:s.from,to:s.to,insert:o.xv.of([" "])}):z.chrome&&t&&t.from==t.to&&t.from==s.head&&t.insert.toString()==` + `&&r.lineWrapping&&(i&&(i=o.jT.single(i.main.anchor-1,i.main.head-1)),t={from:s.from,to:s.to,insert:o.xv.of([" "])}),t){if(z.ios&&r.inputState.flushIOSKey()||z.android&&(t.from==s.from&&t.to==s.to&&t.insert.length==1&&t.insert.lines==2&&pt(r.contentDOM,"Enter",13)||(t.from==s.from-1&&t.to==s.to&&t.insert.length==0||c==8&&t.insert.lengths.head)&&pt(r.contentDOM,"Backspace",8)||t.from==s.from&&t.to==s.to+1&&t.insert.length==0&&pt(r.contentDOM,"Delete",46)))return!0;let S=t.insert.toString();r.inputState.composing>=0&&r.inputState.composing++;let A,X=()=>A||(A=fo(r,t,i));return r.state.facet(On).some(J=>J(r,t.from,t.to,S,X))||r.dispatch(X()),!0}else if(i&&!i.main.eq(s)){let S=!1,A="select";return r.inputState.lastSelectionTime>Date.now()-50&&(r.inputState.lastSelectionOrigin=="select"&&(S=!0),A=r.inputState.lastSelectionOrigin),r.dispatch({selection:i,scrollIntoView:S,userEvent:A}),!0}else return!1}function fo(r,e,t){let i,s=r.state,c=s.selection.main;if(e.from>=c.from&&e.to<=c.to&&e.to-e.from>=(c.to-c.from)/3&&(!t||t.main.empty&&t.main.from==e.from+e.insert.length)&&r.inputState.composing<0){let A=c.frome.to?s.sliceDoc(e.to,c.to):"";i=s.replaceSelection(r.state.toText(A+e.insert.sliceString(0,void 0,r.state.lineBreak)+X))}else{let A=s.changes(e),X=t&&t.main.to<=A.newLength?t.main:void 0;if(s.selection.ranges.length>1&&r.inputState.composing>=0&&e.to<=c.to&&e.to>=c.to-10){let J=r.state.sliceDoc(e.from,e.to),F,Oe=t&&le(r,t.main.head);if(Oe){let He=e.insert.length-(e.to-e.from);F={from:Oe.from,to:Oe.to-He}}else F=r.state.doc.lineAt(c.head);let xe=c.to-e.to,Ve=c.to-c.from;i=s.changeByRange(He=>{if(He.from==c.from&&He.to==c.to)return{changes:A,range:X||He.map(A)};let n=He.to-xe,l=n-J.length;if(He.to-He.from!=Ve||r.state.sliceDoc(l,n)!=J||He.to>=F.from&&He.from<=F.to)return{range:He};let u=s.changes({from:l,to:n,insert:e.insert}),g=He.to-c.to;return{changes:u,range:X?o.jT.range(Math.max(0,X.anchor+g),Math.max(0,X.head+g)):He.map(u)}})}else i={changes:A,selection:X&&s.selection.replaceRange(X)}}let S="input.type";return(r.composing||r.inputState.compositionPendingChange&&r.inputState.compositionEndedAt>Date.now()-50)&&(r.inputState.compositionPendingChange=!1,S+=".compose",r.inputState.compositionFirstChange&&(S+=".start",r.inputState.compositionFirstChange=!1)),s.update(i,{userEvent:S,scrollIntoView:!0})}function po(r,e,t,i){let s=Math.min(r.length,e.length),c=0;for(;c0&&A>0&&r.charCodeAt(S-1)==e.charCodeAt(A-1);)S--,A--;if(i=="end"){let X=Math.max(0,c-Math.min(S,A));t-=S+X-c}if(S=S?c-t:0;c-=X,A=c+(A-S),S=c}else if(A=A?c-t:0;c-=X,S=c+(S-A),A=c}return{from:c,toA:S,toB:A}}function sl(r){let e=[];if(r.root.activeElement!=r.contentDOM)return e;let{anchorNode:t,anchorOffset:i,focusNode:s,focusOffset:c}=r.observer.selectionRange;return t&&(e.push(new ps(t,i)),(s!=t||c!=i)&&e.push(new ps(s,c))),e}function ol(r,e){if(r.length==0)return null;let t=r[0].pos,i=r.length==2?r[1].pos:t;return t>-1&&i>-1?o.jT.single(t+e,i+e):null}const ll={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},Os=z.ie&&z.ie_version<=11;class al{constructor(e){this.view=e,this.active=!1,this.selectionRange=new it,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.resizeContent=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(t=>{for(let i of t)this.queue.push(i);(z.ie&&z.ie_version<=11||z.ios&&e.composing)&&t.some(i=>i.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():this.flush()}),Os&&(this.onCharData=t=>{this.queue.push({target:t.target,type:"characterData",oldValue:t.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var t;((t=this.view.docView)===null||t===void 0?void 0:t.lastUpdate)this.view.requestMeasure()),this.resizeContent.observe(e.contentDOM)),this.addWindowListeners(this.win=e.win),this.start(),typeof IntersectionObserver=="function"&&(this.intersection=new IntersectionObserver(t=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),t.length>0&&t[t.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(t=>{t.length>0&&t[t.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((t,i)=>t!=e[i]))){this.gapIntersection.disconnect();for(let t of e)this.gapIntersection.observe(t);this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:i}=this,s=this.selectionRange;if(i.state.facet(Wn)?i.root.activeElement!=this.dom:!ye(i.dom,s))return;let c=s.anchorNode&&i.docView.nearest(s.anchorNode);if(c&&c.ignoreEvent(e)){t||(this.selectionChanged=!1);return}(z.ie&&z.ie_version<=11||z.android&&z.chrome)&&!i.state.selection.main.empty&&s.focusNode&&$e(s.focusNode,s.focusOffset,s.anchorNode,s.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=z.safari&&e.root.nodeType==11&&K(this.dom.ownerDocument)==this.dom&&hl(this.view)||G(e.root);if(!t||this.selectionRange.eq(t))return!1;let i=ye(this.dom,t);return i&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let c=this.delayedAndroidKey;c&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=c.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&c.force&&pt(this.dom,c.key,c.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(s)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let t=-1,i=-1,s=!1;for(let c of e){let S=this.readMutation(c);S&&(S.typeOver&&(s=!0),t==-1?{from:t,to:i}=S:(t=Math.min(S.from,t),i=Math.max(S.to,i)))}return{from:t,to:i,typeOver:s}}readChange(){let{from:e,to:t,typeOver:i}=this.processRecords(),s=this.selectionChanged&&ye(this.dom,this.selectionRange);if(e<0&&!s)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let c=new ms(this.view,e,t,i);return this.view.docView.domChanged={newSel:c.newSel?c.newSel.main:null},c}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.readChange();if(!t)return!1;let i=this.view.state,s=gs(this.view,t);return this.view.state==i&&this.view.update([]),s}readMutation(e){let t=this.view.docView.nearest(e.target);if(!t||t.ignoreMutation(e))return null;if(t.markDirty(e.type=="attributes"),e.type=="attributes"&&(t.flags|=4),e.type=="childList"){let i=bs(t,e.previousSibling||e.target.previousSibling,-1),s=bs(t,e.nextSibling||e.target.nextSibling,1);return{from:i?t.posAfter(i):t.posAtStart,to:s?t.posBefore(s):t.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var e,t,i,s;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(t=this.gapIntersection)===null||t===void 0||t.disconnect(),(i=this.resizeScroll)===null||i===void 0||i.disconnect(),(s=this.resizeContent)===null||s===void 0||s.disconnect();for(let c of this.scrollTargets)c.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function bs(r,e,t){for(;e;){let i=ie.get(e);if(i&&i.parent==r)return i;let s=e.parentNode;e=s!=r.dom?s:t>0?e.nextSibling:e.previousSibling}return null}function hl(r){let e=null;function t(X){X.preventDefault(),X.stopImmediatePropagation(),e=X.getTargetRanges()[0]}if(r.contentDOM.addEventListener("beforeinput",t,!0),r.dom.ownerDocument.execCommand("indent"),r.contentDOM.removeEventListener("beforeinput",t,!0),!e)return null;let i=e.startContainer,s=e.startOffset,c=e.endContainer,S=e.endOffset,A=r.docView.domAtPos(r.state.selection.main.anchor);return $e(A.node,A.offset,c,S)&&([i,s,c,S]=[c,S,i,s]),{anchorNode:i,anchorOffset:s,focusNode:c,focusOffset:S}}class Cn{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.style.cssText="position: fixed; top: -10000px",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM);let{dispatch:t}=e;this.dispatchTransactions=e.dispatchTransactions||t&&(i=>i.forEach(s=>t(s,this)))||(i=>this.update(i)),this.dispatch=this.dispatch.bind(this),this._root=e.root||Rt(e.parent)||document,this.viewState=new cs(e.state||o.yy.create(e)),this.plugins=this.state.facet(Vn).map(i=>new Nn(i));for(let i of this.plugins)i.update(this);this.observer=new al(this),this.inputState=new Fo(this),this.inputState.ensureHandlers(this.plugins),this.docView=new x(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),e.parent&&e.parent.appendChild(this.dom)}dispatch(...e){let t=e.length==1&&e[0]instanceof o.YW?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(t,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let t=!1,i=!1,s,c=this.state;for(let xe of e){if(xe.startState!=c)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");c=xe.state}if(this.destroyed){this.viewState.state=c;return}let S=this.hasFocus,A=0,X=null;e.some(xe=>xe.annotation(ro))?(this.inputState.notifiedFocused=S,A=1):S!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=S,X=Ko(c,S),X||(A=1));let J=this.observer.delayedAndroidKey,F=null;if(J?(this.observer.clearDelayedAndroidKey(),F=this.observer.readChange(),(F&&!this.state.doc.eq(c.doc)||!this.state.selection.eq(c.selection))&&(F=null)):this.observer.clear(),c.facet(o.yy.phrases)!=this.state.facet(o.yy.phrases))return this.setState(c);s=H.create(this,c,e),s.flags|=A;let Oe=this.viewState.scrollTarget;try{this.updateState=2;for(let xe of e){if(Oe&&(Oe=Oe.map(xe.changes)),xe.scrollIntoView){let{main:Ve}=xe.state.selection;Oe=new li(Ve.empty?Ve:o.jT.cursor(Ve.head,Ve.head>Ve.anchor?-1:1))}for(let Ve of xe.effects)Ve.is(bi)&&(Oe=Ve.value)}this.viewState.update(s,Oe),this.bidiCache=Ii.update(this.bidiCache,s.changes),s.empty||(this.updatePlugins(s),this.inputState.update(s)),t=this.docView.update(s),this.state.facet(I)!=this.styleModules&&this.mountStyles(),i=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(t,e.some(xe=>xe.isUserEvent("select.pointer")))}finally{this.updateState=0}if(s.startState.facet(Ur)!=s.state.facet(Ur)&&(this.viewState.mustMeasureContent=!0),(t||i||Oe||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!s.empty)for(let xe of this.state.facet(Qn))xe(s);(X||F)&&Promise.resolve().then(()=>{X&&this.state==X.startState&&this.dispatch(X),F&&!gs(this,F)&&J.force&&pt(this.contentDOM,J.key,J.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let t=this.hasFocus;try{for(let i of this.plugins)i.destroy(this);this.viewState=new cs(e),this.plugins=e.facet(Vn).map(i=>new Nn(i)),this.pluginMap.clear();for(let i of this.plugins)i.update(this);this.docView=new x(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(Vn),i=e.state.facet(Vn);if(t!=i){let s=[];for(let c of i){let S=t.indexOf(c);if(S<0)s.push(new Nn(c));else{let A=this.plugins[S];A.mustUpdate=e,s.push(A)}}for(let c of this.plugins)c.mustUpdate!=e&&c.destroy(this);this.plugins=s,this.pluginMap.clear()}else for(let s of this.plugins)s.mustUpdate=e;for(let s=0;s-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,i=this.scrollDOM,s=i.scrollTop*this.scaleY,{scrollAnchorPos:c,scrollAnchorHeight:S}=this.viewState;Math.abs(s-this.viewState.scrollTop)>1&&(S=-1),this.viewState.scrollAnchorHeight=-1;try{for(let A=0;;A++){if(S<0)if(E(i))c=-1,S=this.viewState.heightMap.height;else{let Ve=this.viewState.scrollAnchorAt(s);c=Ve.from,S=Ve.top}this.updateState=1;let X=this.viewState.measure(this);if(!X&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(A>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let J=[];X&4||([this.measureRequests,J]=[J,this.measureRequests]);let F=J.map(Ve=>{try{return Ve.read(this)}catch(He){return kn(this.state,He),Ss}}),Oe=H.create(this,this.state,[]),xe=!1;Oe.flags|=X,t?t.flags|=X:t=Oe,this.updateState=2,Oe.empty||(this.updatePlugins(Oe),this.inputState.update(Oe),this.updateAttrs(),xe=this.docView.update(Oe));for(let Ve=0;Ve1||He<-1){s=s+He,i.scrollTop=s/this.scaleY,S=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let A of this.state.facet(Qn))A(t)}get themeClasses(){return us+" "+(this.state.facet(hr)?co:ho)+" "+this.state.facet(Ur)}updateAttrs(){let e=Qr(this,si,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(Wn)?"true":"false",class:"cm-content",style:`${z.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),Qr(this,ai,t);let i=this.observer.ignore(()=>{let s=St(this.contentDOM,this.contentAttrs,t),c=St(this.dom,this.editorAttrs,e);return s||c});return this.editorAttrs=e,this.contentAttrs=t,i}showAnnouncements(e){let t=!0;for(let i of e)for(let s of i.effects)if(s.is(Cn.announce)){t&&(this.announceDOM.textContent=""),t=!1;let c=this.announceDOM.appendChild(document.createElement("div"));c.textContent=s.value}}mountStyles(){this.styleModules=this.state.facet(I);let e=this.state.facet(Cn.cspNonce);y.V.mount(this.root,this.styleModules.concat($r).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let t=0;ti.spec==e)||null),t&&t.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,t,i){return rs(this,e,Mr(this,e,t,i))}moveByGroup(e,t){return rs(this,e,Mr(this,e,t,i=>Ns(this,e.head,i)))}moveToLineBoundary(e,t,i=!0){return Uo(this,e,t,i)}moveVertically(e,t,i){return rs(this,e,Jl(this,e,t,i))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){return this.readMeasured(),Ws(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let i=this.docView.coordsAt(e,t);if(!i||i.left==i.right)return i;let s=this.state.doc.lineAt(e),c=this.bidiSpans(s),S=c[De.find(c,e-s.from,-1,t)];return Ne(i,S.dir==ue.LTR==t>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(Mn)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>cl)return Je(e.length);let t=this.textDirectionAt(e.from),i;for(let c of this.bidiCache)if(c.from==e.from&&c.dir==t&&(c.fresh||m(c.isolates,i=b(this,e.from,e.to))))return c.order;i||(i=b(this,e.from,e.to));let s=Be(e.text,t,i);return this.bidiCache.push(new Ii(e.from,e.to,t,i,!0,s)),s}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||z.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{rt(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){return bi.of(new li(typeof e=="number"?o.jT.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}static domEventHandlers(e){return wn.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return wn.define(()=>({}),{eventObservers:e})}static theme(e,t){let i=y.V.newName(),s=[Ur.of(i),I.of(fs(`.${i}`,e))];return t&&t.dark&&s.push(hr.of(!0)),s}static baseTheme(e){return o.Wl.lowest(I.of(fs("."+us,e,$i)))}static findFromDOM(e){var t;let i=e.querySelector(".cm-content"),s=i&&ie.get(i)||ie.get(e);return((t=s==null?void 0:s.rootView)===null||t===void 0?void 0:t.view)||null}}Cn.styleModule=I,Cn.inputHandler=On,Cn.focusChangeEffect=jn,Cn.perLineTextDirection=Mn,Cn.exceptionSink=fn,Cn.updateListener=Qn,Cn.editable=Wn,Cn.mouseSelectionStyle=Sn,Cn.dragMovesSelection=An,Cn.clickAddsSelectionRange=Tn,Cn.decorations=Un,Cn.atomicRanges=se,Cn.bidiIsolatedRanges=h,Cn.scrollMargins=d,Cn.darkTheme=hr,Cn.cspNonce=o.r$.define({combine:r=>r.length?r[0]:""}),Cn.contentAttributes=ai,Cn.editorAttributes=si,Cn.lineWrapping=Cn.contentAttributes.of({class:"cm-lineWrapping"}),Cn.announce=o.Py.define();const cl=4096,Ss={};class Ii{constructor(e,t,i,s,c,S){this.from=e,this.to=t,this.dir=i,this.isolates=s,this.fresh=c,this.order=S}static update(e,t){if(t.empty&&!e.some(c=>c.fresh))return e;let i=[],s=e.length?e[e.length-1].dir:ue.LTR;for(let c=Math.max(0,e.length-10);c=0;s--){let c=i[s],S=typeof c=="function"?c(r):c;S&&sn(S,t)}return t}const ul=z.mac?"mac":z.windows?"win":z.linux?"linux":"key";function vs(r,e){const t=r.split(/-(?!$)/);let i=t[t.length-1];i=="Space"&&(i=" ");let s,c,S,A;for(let X=0;Xi.concat(s),[]))),t}function _l(r,e,t){return bo(Oo(r.state),e,r,t)}let Gi=null;const dl=4e3;function pl(r,e=ul){let t=Object.create(null),i=Object.create(null),s=(S,A)=>{let X=i[S];if(X==null)i[S]=A;else if(X!=A)throw new Error("Key binding "+S+" is used both as a regular binding and as a multi-stroke prefix")},c=(S,A,X,J,F)=>{var Oe,xe;let Ve=t[S]||(t[S]=Object.create(null)),He=A.split(/ (?!$)/).map(u=>vs(u,e));for(let u=1;u{let k=Gi={view:w,prefix:g,scope:S};return setTimeout(()=>{Gi==k&&(Gi=null)},dl),!0}]})}let n=He.join(" ");s(n,!1);let l=Ve[n]||(Ve[n]={preventDefault:!1,stopPropagation:!1,run:((xe=(Oe=Ve._any)===null||Oe===void 0?void 0:Oe.run)===null||xe===void 0?void 0:xe.slice())||[]});X&&l.run.push(X),J&&(l.preventDefault=!0),F&&(l.stopPropagation=!0)};for(let S of r){let A=S.scope?S.scope.split(" "):["editor"];if(S.any)for(let J of A){let F=t[J]||(t[J]=Object.create(null));F._any||(F._any={preventDefault:!1,stopPropagation:!1,run:[]});for(let Oe in F)F[Oe].run.push(S.any)}let X=S[e]||S.key;if(X)for(let J of A)c(J,X,S.run,S.preventDefault,S.stopPropagation),S.shift&&c(J,"Shift-"+X,S.shift,S.preventDefault,S.stopPropagation)}return t}function bo(r,e,t,i){let s=_(e),c=(0,o.gm)(s,0),S=(0,o.nZ)(c)==s.length&&s!=" ",A="",X=!1,J=!1,F=!1;Gi&&Gi.view==t&&Gi.scope==i&&(A=Gi.prefix+" ",Wi.indexOf(e.keyCode)<0&&(J=!0,Gi=null));let Oe=new Set,xe=l=>{if(l){for(let u of l.run)if(!Oe.has(u)&&(Oe.add(u),u(t,e)))return l.stopPropagation&&(F=!0),!0;l.preventDefault&&(l.stopPropagation&&(F=!0),J=!0)}return!1},Ve=r[i],He,n;return Ve&&(xe(Ve[A+Qi(s,e,!S)])?X=!0:S&&(e.altKey||e.metaKey||e.ctrlKey)&&!(z.windows&&e.ctrlKey&&e.altKey)&&(He=p[e.keyCode])&&He!=s?(xe(Ve[A+Qi(He,e,!0)])||e.shiftKey&&(n=v[e.keyCode])!=s&&n!=He&&xe(Ve[A+Qi(n,e,!1)]))&&(X=!0):S&&e.shiftKey&&xe(Ve[A+Qi(s,e,!0)])&&(X=!0),!X&&xe(Ve._any)&&(X=!0)),J&&(X=!0),X&&F&&e.stopPropagation(),X}class cr{constructor(e,t,i,s,c){this.className=e,this.left=t,this.top=i,this.width=s,this.height=c}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,t){return t.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,t,i){if(i.empty){let s=e.coordsAtPos(i.head,i.assoc||1);if(!s)return[];let c=So(e);return[new cr(t,s.left-c.left,s.top-c.top,null,s.bottom-s.top)]}else return ml(e,t,i)}}function So(r){let e=r.scrollDOM.getBoundingClientRect();return{left:(r.textDirection==ue.LTR?e.left:e.right-r.scrollDOM.clientWidth*r.scaleX)-r.scrollDOM.scrollLeft*r.scaleX,top:e.top-r.scrollDOM.scrollTop*r.scaleY}}function vo(r,e,t){let i=o.jT.cursor(e);return{from:Math.max(t.from,r.moveToLineBoundary(i,!1,!0).from),to:Math.min(t.to,r.moveToLineBoundary(i,!0,!0).from),type:Bt.Text}}function ml(r,e,t){if(t.to<=r.viewport.from||t.from>=r.viewport.to)return[];let i=Math.max(t.from,r.viewport.from),s=Math.min(t.to,r.viewport.to),c=r.textDirection==ue.LTR,S=r.contentDOM,A=S.getBoundingClientRect(),X=So(r),J=S.querySelector(".cm-line"),F=J&&window.getComputedStyle(J),Oe=A.left+(F?parseInt(F.paddingLeft)+Math.min(0,parseInt(F.textIndent)):0),xe=A.right-(F?parseInt(F.paddingRight):0),Ve=vr(r,i),He=vr(r,s),n=Ve.type==Bt.Text?Ve:null,l=He.type==Bt.Text?He:null;if(n&&(r.lineWrapping||Ve.widgetLineBreaks)&&(n=vo(r,i,n)),l&&(r.lineWrapping||He.widgetLineBreaks)&&(l=vo(r,s,l)),n&&l&&n.from==l.from)return g(w(t.from,t.to,n));{let M=n?w(t.from,null,n):k(Ve,!1),ee=l?w(null,t.to,l):k(He,!0),de=[];return(n||Ve).to<(l||He).from-(n&&l?1:0)||Ve.widgetLineBreaks>1&&M.bottom+r.defaultLineHeight/2dt&&Fe.from=xt)break;qt>at&&ut(Math.max(on,at),M==null&&on<=dt,Math.min(qt,xt),ee==null&&qt>=Ke,It.dir)}if(at=bt.to+1,at>=xt)break}return Re.length==0&&ut(dt,M==null,Ke,ee==null,r.textDirection),{top:fe,bottom:pe,horizontal:Re}}function k(M,ee){let de=A.top+(ee?M.top:M.bottom);return{top:de,bottom:de,horizontal:[]}}}function gl(r,e){return r.constructor==e.constructor&&r.eq(e)}class ur{constructor(e,t){this.view=e,this.layer=t,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),t.above&&this.dom.classList.add("cm-layer-above"),t.class&&this.dom.classList.add(t.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),t.mount&&t.mount(this.dom,e)}update(e){e.startState.facet(Fr)!=e.state.facet(Fr)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}setOrder(e){let t=0,i=e.facet(Fr);for(;t!gl(t,this.drawn[i]))){let t=this.dom.firstChild,i=0;for(let s of e)s.update&&t&&s.constructor&&this.drawn[i].constructor&&s.update(t,this.drawn[i])?(t=t.nextSibling,i++):this.dom.insertBefore(s.draw(),t);for(;t;){let s=t.nextSibling;t.remove(),t=s}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const Fr=o.r$.define();function yo(r){return[wn.define(e=>new ur(e,r)),Fr.of(r)]}const ys=!z.ios,fr=o.r$.define({combine(r){return(0,o.BO)(r,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,t)=>Math.min(e,t),drawRangeCursor:(e,t)=>e||t})}});function Ol(r={}){return[fr.of(r),bl,ko,Sl,Gn.of(!0)]}function Gr(r){return r.facet(fr)}function xs(r){return r.startState.facet(fr)!=r.state.facet(fr)}const bl=yo({above:!0,markers(r){let{state:e}=r,t=e.facet(fr),i=[];for(let s of e.selection.ranges){let c=s==e.selection.main;if(s.empty?!c||ys:t.drawRangeCursor){let S=c?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",A=s.empty?s:o.jT.cursor(s.head,s.head>s.anchor?-1:1);for(let X of cr.forRange(r,S,A))i.push(X)}}return i},update(r,e){r.transactions.some(i=>i.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let t=xs(r);return t&&xo(r.state,e),r.docChanged||r.selectionSet||t},mount(r,e){xo(e.state,r)},class:"cm-cursorLayer"});function xo(r,e){e.style.animationDuration=r.facet(fr).cursorBlinkRate+"ms"}const ko=yo({above:!1,markers(r){return r.state.selection.ranges.map(e=>e.empty?[]:cr.forRange(r,"cm-selectionBackground",e)).reduce((e,t)=>e.concat(t))},update(r,e){return r.docChanged||r.selectionSet||r.viewportChanged||xs(r)},class:"cm-selectionLayer"}),wo={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};ys&&(wo[".cm-line"].caretColor="transparent !important");const Sl=o.Wl.highest(Cn.theme(wo)),ks=o.Py.define({map(r,e){return r==null?null:e.mapPos(r)}}),dr=o.QQ.define({create(){return null},update(r,e){return r!=null&&(r=e.changes.mapPos(r)),e.effects.reduce((t,i)=>i.is(ks)?i.value:t,r)}}),ws=wn.fromClass(class{constructor(r){this.view=r,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(r){var e;let t=r.state.field(dr);t==null?this.cursor!=null&&((e=this.cursor)===null||e===void 0||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(r.startState.field(dr)!=t||r.docChanged||r.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:r}=this,e=r.state.field(dr),t=e!=null&&r.coordsAtPos(e);if(!t)return null;let i=r.scrollDOM.getBoundingClientRect();return{left:t.left-i.left+r.scrollDOM.scrollLeft*r.scaleX,top:t.top-i.top+r.scrollDOM.scrollTop*r.scaleY,height:t.bottom-t.top}}drawCursor(r){if(this.cursor){let{scaleX:e,scaleY:t}=this.view;r?(this.cursor.style.left=r.left/e+"px",this.cursor.style.top=r.top/t+"px",this.cursor.style.height=r.height/t+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(r){this.view.state.field(dr)!=r&&this.view.dispatch({effects:ks.of(r)})}},{eventObservers:{dragover(r){this.setDropPos(this.view.posAtCoords({x:r.clientX,y:r.clientY}))},dragleave(r){(r.target==this.view.contentDOM||!this.view.contentDOM.contains(r.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function ea(){return[dr,ws]}function Cs(r,e,t,i,s){e.lastIndex=0;for(let c=r.iterRange(t,i),S=t,A;!c.next().done;S+=c.value.length)if(!c.lineBreak)for(;A=e.exec(c.value);)s(S+A.index,A)}function vl(r,e){let t=r.visibleRanges;if(t.length==1&&t[0].from==r.viewport.from&&t[0].to==r.viewport.to)return t;let i=[];for(let{from:s,to:c}of t)s=Math.max(r.state.doc.lineAt(s).from,s-e),c=Math.min(r.state.doc.lineAt(c).to,c+e),i.length&&i[i.length-1].to>=s?i[i.length-1].to=c:i.push({from:s,to:c});return i}class $s{constructor(e){const{regexp:t,decoration:i,decorate:s,boundary:c,maxLength:S=1e3}=e;if(!t.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=t,s)this.addMatch=(A,X,J,F)=>s(F,J,J+A[0].length,A,X);else if(typeof i=="function")this.addMatch=(A,X,J,F)=>{let Oe=i(A,X,J);Oe&&F(J,J+A[0].length,Oe)};else if(i)this.addMatch=(A,X,J,F)=>F(J,J+A[0].length,i);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=c,this.maxLength=S}createDeco(e){let t=new o.f_,i=t.add.bind(t);for(let{from:s,to:c}of vl(e,this.maxLength))Cs(e.state.doc,this.regexp,s,c,(S,A)=>this.addMatch(A,e,S,i));return t.finish()}updateDeco(e,t){let i=1e9,s=-1;return e.docChanged&&e.changes.iterChanges((c,S,A,X)=>{X>e.view.viewport.from&&A1e3?this.createDeco(e.view):s>-1?this.updateRange(e.view,t.map(e.changes),i,s):t}updateRange(e,t,i,s){for(let c of e.visibleRanges){let S=Math.max(c.from,i),A=Math.min(c.to,s);if(A>S){let X=e.state.doc.lineAt(S),J=X.toX.from;S--)if(this.boundary.test(X.text[S-1-X.from])){F=S;break}for(;Axe.push(u.range(n,l));if(X==J)for(this.regexp.lastIndex=F-X.from;(Ve=this.regexp.exec(X.text))&&Ve.indexthis.addMatch(l,e,n,He));t=t.update({filterFrom:F,filterTo:Oe,filter:(n,l)=>nOe,add:xe})}}return t}}const Qs=/x/.unicode!=null?"gu":"g",yl=new RegExp(`[\0-\b +-\x7F-\x9F\xAD\u061C\u200B\u200E\u200F\u2028\u2029\u202D\u202E\u2066\u2067\u2069\uFEFF\uFFF9-\uFFFC]`,Qs),Co={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let Ps=null;function xl(){var r;if(Ps==null&&typeof document!="undefined"&&document.body){let e=document.body.style;Ps=((r=e.tabSize)!==null&&r!==void 0?r:e.MozTabSize)!=null}return Ps||!1}const Hi=o.r$.define({combine(r){let e=(0,o.BO)(r,{render:null,specialChars:yl,addSpecialChars:null});return(e.replaceTabs=!xl())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,Qs)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,Qs)),e}});function $o(r={}){return[Hi.of(r),kl()]}let Qo=null;function kl(){return Qo||(Qo=wn.fromClass(class{constructor(r){this.view=r,this.decorations=Qt.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(r.state.facet(Hi)),this.decorations=this.decorator.createDeco(r)}makeDecorator(r){return new $s({regexp:r.specialChars,decoration:(e,t,i)=>{let{doc:s}=t.state,c=(0,o.gm)(e[0],0);if(c==9){let S=s.lineAt(i),A=t.state.tabSize,X=(0,o.IS)(S.text,A,i-S.from);return Qt.replace({widget:new To((A-X%A)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[c]||(this.decorationCache[c]=Qt.replace({widget:new Cl(r,c)}))},boundary:r.replaceTabs?void 0:/[^]/})}update(r){let e=r.state.facet(Hi);r.startState.facet(Hi)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(r.view)):this.decorations=this.decorator.updateDeco(r,this.decorations)}},{decorations:r=>r.decorations}))}const Po="\u2022";function wl(r){return r>=32?Po:r==10?"\u2424":String.fromCharCode(9216+r)}class Cl extends Pt{constructor(e,t){super(),this.options=e,this.code=t}eq(e){return e.code==this.code}toDOM(e){let t=wl(this.code),i=e.state.phrase("Control character")+" "+(Co[this.code]||"0x"+this.code.toString(16)),s=this.options.render&&this.options.render(this.code,i,t);if(s)return s;let c=document.createElement("span");return c.textContent=t,c.title=i,c.setAttribute("aria-label",i),c.className="cm-specialChar",c}ignoreEvent(){return!1}}class To extends Pt{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent=" ",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}}const Ts=null;function Ao(){return[Ts,ai.of(r=>{var e;return((e=r.plugin(Ts))===null||e===void 0?void 0:e.attrs)||null})]}function ta(){return $l}const Eo=Qt.line({class:"cm-activeLine"}),$l=wn.fromClass(class{constructor(r){this.decorations=this.getDeco(r)}update(r){(r.docChanged||r.selectionSet)&&(this.decorations=this.getDeco(r.view))}getDeco(r){let e=-1,t=[];for(let i of r.state.selection.ranges){let s=r.lineBlockAt(i.head);s.from>e&&(t.push(Eo.range(s.from)),e=s.from)}return Qt.set(t)}},{decorations:r=>r.decorations});class Ql extends Pt{constructor(e){super(),this.content=e}toDOM(){let e=document.createElement("span");return e.className="cm-placeholder",e.style.pointerEvents="none",e.appendChild(typeof this.content=="string"?document.createTextNode(this.content):this.content),typeof this.content=="string"?e.setAttribute("aria-label","placeholder "+this.content):e.setAttribute("aria-hidden","true"),e}coordsAt(e){let t=e.firstChild?he(e.firstChild):[];if(!t.length)return null;let i=window.getComputedStyle(e.parentNode),s=Ne(t[0],i.direction!="rtl"),c=parseInt(i.lineHeight);return s.bottom-s.top>c*1.5?{left:s.left,right:s.right,top:s.top,bottom:s.top+c}:s}ignoreEvent(){return!1}}function Pl(r){return wn.fromClass(class{constructor(e){this.view=e,this.placeholder=r?Qt.set([Qt.widget({widget:new Ql(r),side:1}).range(0)]):Qt.none}get decorations(){return this.view.state.doc.length?Qt.none:this.placeholder}},{decorations:e=>e.decorations})}const As=2e3;function Tl(r,e,t){let i=Math.min(e.line,t.line),s=Math.max(e.line,t.line),c=[];if(e.off>As||t.off>As||e.col<0||t.col<0){let S=Math.min(e.off,t.off),A=Math.max(e.off,t.off);for(let X=i;X<=s;X++){let J=r.doc.line(X);J.length<=A&&c.push(EditorSelection.range(J.from+S,J.to+A))}}else{let S=Math.min(e.col,t.col),A=Math.max(e.col,t.col);for(let X=i;X<=s;X++){let J=r.doc.line(X),F=findColumn(J.text,S,r.tabSize,!0);if(F<0)c.push(EditorSelection.cursor(J.to));else{let Oe=findColumn(J.text,A,r.tabSize);c.push(EditorSelection.range(J.from+F,J.from+Oe))}}}return c}function Al(r,e){let t=r.coordsAtPos(r.viewport.from);return t?Math.round(Math.abs((t.left-e)/r.defaultCharacterWidth)):-1}function Zo(r,e){let t=r.posAtCoords({x:e.clientX,y:e.clientY},!1),i=r.state.doc.lineAt(t),s=t-i.from,c=s>As?-1:s==i.length?Al(r,e.clientX):countColumn(i.text,r.state.tabSize,t-i.from);return{line:i.number,col:c,off:s}}function El(r,e){let t=Zo(r,e),i=r.state.selection;return t?{update(s){if(s.docChanged){let c=s.changes.mapPos(s.startState.doc.line(t.line).from),S=s.state.doc.lineAt(c);t={line:S.number,col:t.col,off:Math.min(t.off,S.length)},i=i.map(s.changes)}},get(s,c,S){let A=Zo(r,s);if(!A)return i;let X=Tl(r.state,t,A);return X.length?S?EditorSelection.create(X.concat(i.ranges)):EditorSelection.create(X):i}}:null}function na(r){let e=(r==null?void 0:r.eventFilter)||(t=>t.altKey&&t.button==0);return Cn.mouseSelectionStyle.of((t,i)=>e(i)?El(t,i):null)}const Zl={Alt:[18,r=>!!r.altKey],Control:[17,r=>!!r.ctrlKey],Shift:[16,r=>!!r.shiftKey],Meta:[91,r=>!!r.metaKey]},Rl={style:"cursor: crosshair"};function ia(r={}){let[e,t]=Zl[r.key||"Alt"],i=wn.fromClass(class{constructor(s){this.view=s,this.isDown=!1}set(s){this.isDown!=s&&(this.isDown=s,this.view.update([]))}},{eventObservers:{keydown(s){this.set(s.keyCode==e||t(s))},keyup(s){(s.keyCode==e||!t(s))&&this.set(!1)},mousemove(s){this.set(t(s))}}});return[i,Cn.contentAttributes.of(s=>{var c;return!((c=s.plugin(i))===null||c===void 0)&&c.isDown?Rl:null})]}const Hr="-10000px";class Es{constructor(e,t,i){this.facet=t,this.createTooltipView=i,this.input=e.state.facet(t),this.tooltips=this.input.filter(s=>s),this.tooltipViews=this.tooltips.map(i)}update(e){var t;let i=e.state.facet(this.facet),s=i.filter(S=>S);if(i===this.input){for(let S of this.tooltipViews)S.update&&S.update(e);return!1}let c=[];for(let S=0;S{var e,t,i;return{position:z.ios?"absolute":((e=r.find(s=>s.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((t=r.find(s=>s.parent))===null||t===void 0?void 0:t.parent)||null,tooltipSpace:((i=r.find(s=>s.tooltipSpace))===null||i===void 0?void 0:i.tooltipSpace)||Dl}}}),Ro=new WeakMap,Zs=wn.fromClass(class{constructor(r){this.view=r,this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=r.state.facet(qr);this.position=e.position,this.parent=e.parent,this.classes=r.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.manager=new Es(r,Rs,t=>this.createTooltip(t)),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(t=>{Date.now()>this.lastTransaction-50&&t.length>0&&t[t.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),r.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let r of this.manager.tooltipViews)this.intersectionObserver.observe(r.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(r){r.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(r);e&&this.observeIntersection();let t=e||r.geometryChanged,i=r.state.facet(qr);if(i.position!=this.position&&!this.madeAbsolute){this.position=i.position;for(let s of this.manager.tooltipViews)s.dom.style.position=this.position;t=!0}if(i.parent!=this.parent){this.parent&&this.container.remove(),this.parent=i.parent,this.createContainer();for(let s of this.manager.tooltipViews)this.container.appendChild(s.dom);t=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);t&&this.maybeMeasure()}createTooltip(r){let e=r.create(this.view);if(e.dom.classList.add("cm-tooltip"),r.arrow&&!e.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let t=document.createElement("div");t.className="cm-tooltip-arrow",e.dom.appendChild(t)}return e.dom.style.position=this.position,e.dom.style.top=Hr,this.container.appendChild(e.dom),e.mount&&e.mount(this.view),e}destroy(){var r,e;this.view.win.removeEventListener("resize",this.measureSoon);for(let t of this.manager.tooltipViews)t.dom.remove(),(r=t.destroy)===null||r===void 0||r.call(t);this.parent&&this.container.remove(),(e=this.intersectionObserver)===null||e===void 0||e.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let r=this.view.dom.getBoundingClientRect(),e=1,t=1,i=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{offsetParent:s}=this.manager.tooltipViews[0].dom;i=!!(s&&s!=this.container.ownerDocument.body)}if(i||this.position=="absolute")if(this.parent){let s=this.parent.getBoundingClientRect();s.width&&s.height&&(e=s.width/this.parent.offsetWidth,t=s.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:t}=this.view.viewState);return{editor:r,parent:this.parent?this.container.getBoundingClientRect():r,pos:this.manager.tooltips.map((s,c)=>{let S=this.manager.tooltipViews[c];return S.getCoords?S.getCoords(s.pos):this.view.coordsAtPos(s.pos)}),size:this.manager.tooltipViews.map(({dom:s})=>s.getBoundingClientRect()),space:this.view.state.facet(qr).tooltipSpace(this.view),scaleX:e,scaleY:t,makeAbsolute:i}}writeMeasure(r){var e;if(r.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let A of this.manager.tooltipViews)A.dom.style.position="absolute"}let{editor:t,space:i,scaleX:s,scaleY:c}=r,S=[];for(let A=0;A=Math.min(t.bottom,i.bottom)||Oe.rightMath.min(t.right,i.right)+.1){F.style.top=Hr;continue}let Ve=X.arrow?J.dom.querySelector(".cm-tooltip-arrow"):null,He=Ve?7:0,n=xe.right-xe.left,l=(e=Ro.get(J))!==null&&e!==void 0?e:xe.bottom-xe.top,u=J.offset||Ml,g=this.view.textDirection==ue.LTR,w=xe.width>i.right-i.left?g?i.left:i.right-xe.width:g?Math.min(Oe.left-(Ve?14:0)+u.x,i.right-n):Math.max(i.left,Oe.left-n+(Ve?14:0)-u.x),k=!!X.above;!X.strictSide&&(k?Oe.top-(xe.bottom-xe.top)-u.yi.bottom)&&k==i.bottom-Oe.bottom>Oe.top-i.top&&(k=!k);let M=(k?Oe.top-i.top:i.bottom-Oe.bottom)-He;if(Mw&&fe.topee&&(ee=k?fe.top-l-2-He:fe.bottom+He+2);if(this.position=="absolute"?(F.style.top=(ee-r.parent.top)/c+"px",F.style.left=(w-r.parent.left)/s+"px"):(F.style.top=ee/c+"px",F.style.left=w/s+"px"),Ve){let fe=Oe.left+(g?u.x:-u.x)-(w+14-7);Ve.style.left=fe/s+"px"}J.overlap!==!0&&S.push({left:w,top:ee,right:de,bottom:ee+l}),F.classList.toggle("cm-tooltip-above",k),F.classList.toggle("cm-tooltip-below",!k),J.positioned&&J.positioned(r.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let r of this.manager.tooltipViews)r.dom.style.top=Hr}},{eventObservers:{scroll(){this.maybeMeasure()}}}),Xl=Cn.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),Ml={x:0,y:0},Rs=o.r$.define({enables:[Zs,Xl]}),Pr=o.r$.define();class Ds{static create(e){return new Ds(e)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new Es(e,Pr,t=>this.createHostedView(t))}createHostedView(e){let t=e.create(this.view);return t.dom.classList.add("cm-tooltip-section"),this.dom.appendChild(t.dom),this.mounted&&t.mount&&t.mount(this.view),t}mount(e){for(let t of this.manager.tooltipViews)t.mount&&t.mount(e);this.mounted=!0}positioned(e){for(let t of this.manager.tooltipViews)t.positioned&&t.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let t of this.manager.tooltipViews)(e=t.destroy)===null||e===void 0||e.call(t)}}const Yl=Rs.compute([Pr],r=>{let e=r.facet(Pr).filter(t=>t);return e.length===0?null:{pos:Math.min(...e.map(t=>t.pos)),end:Math.max(...e.filter(t=>t.end!=null).map(t=>t.end)),create:Ds.create,above:e[0].above,arrow:e.some(t=>t.arrow)}});class Ll{constructor(e,t,i,s,c){this.view=e,this.source=t,this.field=i,this.setHover=s,this.hoverTime=c,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active)return;let e=Date.now()-this.lastMove.time;eA.bottom||t.xA.right+e.defaultCharacterWidth)return;let X=e.bidiSpans(e.state.doc.lineAt(s)).find(F=>F.from<=s&&F.to>=s),J=X&&X.dir==ue.RTL?-1:1;c=t.x{this.pending==A&&(this.pending=null,X&&e.dispatch({effects:this.setHover.of(X)}))},X=>kn(e.state,X,"hover tooltip"))}else S&&e.dispatch({effects:this.setHover.of(S)})}mousemove(e){var t;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let i=this.active;if(i&&!Do(this.lastMove.target)||this.pending){let{pos:s}=i||this.pending,c=(t=i==null?void 0:i.end)!==null&&t!==void 0?t:s;(s==c?this.view.posAtCoords(this.lastMove)!=s:!Il(this.view,s,c,e.clientX,e.clientY))&&(this.view.dispatch({effects:this.setHover.of(null)}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1,this.active&&!Do(e.relatedTarget)&&this.view.dispatch({effects:this.setHover.of(null)})}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}function Do(r){for(let e=r;e;e=e.parentNode)if(e.nodeType==1&&e.classList.contains("cm-tooltip"))return!0;return!1}function Il(r,e,t,i,s,c){let S=r.scrollDOM.getBoundingClientRect(),A=r.documentTop+r.documentPadding.top+r.contentHeight;if(S.left>i||S.rights||Math.min(S.bottom,A)=e&&X<=t}function zl(r,e={}){let t=StateEffect.define(),i=StateField.define({create(){return null},update(s,c){if(s&&(e.hideOnChange&&(c.docChanged||c.selection)||e.hideOn&&e.hideOn(c,s)))return null;if(s&&c.docChanged){let S=c.changes.mapPos(s.pos,-1,MapMode.TrackDel);if(S==null)return null;let A=Object.assign(Object.create(null),s);A.pos=S,s.end!=null&&(A.end=c.changes.mapPos(s.end)),s=A}for(let S of c.effects)S.is(t)&&(s=S.value),S.is(Jn)&&(s=null);return s},provide:s=>Pr.from(s)});return[i,wn.define(s=>new Ll(s,r,i,t,e.hoverTime||300)),Yl]}function Wl(r,e){let t=r.plugin(Zs);if(!t)return null;let i=t.manager.tooltips.indexOf(e);return i<0?null:t.manager.tooltipViews[i]}function Bl(r){return r.facet(Pr).some(e=>e)}const Jn=null,Tr=null;function sa(r){let e=r.plugin(Zs);e&&e.maybeMeasure()}const Xs=o.r$.define({combine(r){let e,t;for(let i of r)e=e||i.topContainer,t=t||i.bottomContainer;return{topContainer:e,bottomContainer:t}}});function oa(r){return r?[Xs.of(r)]:[]}function Ar(r,e){let t=r.plugin(nr),i=t?t.specs.indexOf(e):-1;return i>-1?t.panels[i]:null}const nr=wn.fromClass(class{constructor(r){this.input=r.state.facet(Mi),this.specs=this.input.filter(t=>t),this.panels=this.specs.map(t=>t(r));let e=r.state.facet(Xs);this.top=new vi(r,!0,e.topContainer),this.bottom=new vi(r,!1,e.bottomContainer),this.top.sync(this.panels.filter(t=>t.top)),this.bottom.sync(this.panels.filter(t=>!t.top));for(let t of this.panels)t.dom.classList.add("cm-panel"),t.mount&&t.mount()}update(r){let e=r.state.facet(Xs);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new vi(r.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new vi(r.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let t=r.state.facet(Mi);if(t!=this.input){let i=t.filter(X=>X),s=[],c=[],S=[],A=[];for(let X of i){let J=this.specs.indexOf(X),F;J<0?(F=X(r.view),A.push(F)):(F=this.panels[J],F.update&&F.update(r)),s.push(F),(F.top?c:S).push(F)}this.specs=i,this.panels=s,this.top.sync(c),this.bottom.sync(S);for(let X of A)X.dom.classList.add("cm-panel"),X.mount&&X.mount()}else for(let i of this.panels)i.update&&i.update(r)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:r=>Cn.scrollMargins.of(e=>{let t=e.plugin(r);return t&&{top:t.top.scrollMargin(),bottom:t.bottom.scrollMargin()}})});class vi{constructor(e,t,i){this.view=e,this.top=t,this.container=i,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let t of this.panels)t.destroy&&e.indexOf(t)<0&&t.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let t=this.container||this.view.dom;t.insertBefore(this.dom,this.top?t.firstChild:null)}let e=this.dom.firstChild;for(let t of this.panels)if(t.dom.parentNode==this.dom){for(;e!=t.dom;)e=yi(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=yi(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function yi(r){let e=r.nextSibling;return r.remove(),e}const Mi=o.r$.define({enables:nr});class ei extends o.uU{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}ei.prototype.elementClass="",ei.prototype.toDOM=void 0,ei.prototype.mapMode=o.gc.TrackBefore,ei.prototype.startSide=ei.prototype.endSide=-1,ei.prototype.point=!0;const qi=o.r$.define(),Kn={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>o.Xs.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},gi=o.r$.define();function ti(r){return[un(),gi.of(Object.assign(Object.assign({},Kn),r))]}const En=o.r$.define({combine:r=>r.some(e=>e)});function un(r){let e=[Oi];return r&&r.fixed===!1&&e.push(En.of(!0)),e}const Oi=wn.fromClass(class{constructor(r){this.view=r,this.prevViewport=r.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=r.state.facet(gi).map(e=>new Pi(r,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!r.state.facet(En),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),r.scrollDOM.insertBefore(this.dom,r.contentDOM)}update(r){if(this.updateGutters(r)){let e=this.prevViewport,t=r.view.viewport,i=Math.min(e.to,t.to)-Math.max(e.from,t.from);this.syncGutters(i<(t.to-t.from)*.8)}r.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+"px"),this.view.state.facet(En)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=r.view.viewport}syncGutters(r){let e=this.dom.nextSibling;r&&this.dom.remove();let t=o.Xs.iter(this.view.state.facet(qi),this.view.viewport.from),i=[],s=this.gutters.map(c=>new ii(c,this.view.viewport,-this.view.documentPadding.top));for(let c of this.view.viewportLineBlocks)if(i.length&&(i=[]),Array.isArray(c.type)){let S=!0;for(let A of c.type)if(A.type==Bt.Text&&S){ni(t,i,A.from);for(let X of s)X.line(this.view,A,i);S=!1}else if(A.widget)for(let X of s)X.widget(this.view,A)}else if(c.type==Bt.Text){ni(t,i,c.from);for(let S of s)S.line(this.view,c,i)}else if(c.widget)for(let S of s)S.widget(this.view,c);for(let c of s)c.finish();r&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(r){let e=r.startState.facet(gi),t=r.state.facet(gi),i=r.docChanged||r.heightChanged||r.viewportChanged||!o.Xs.eq(r.startState.facet(qi),r.state.facet(qi),r.view.viewport.from,r.view.viewport.to);if(e==t)for(let s of this.gutters)s.update(r)&&(i=!0);else{i=!0;let s=[];for(let c of t){let S=e.indexOf(c);S<0?s.push(new Pi(this.view,c)):(this.gutters[S].update(r),s.push(this.gutters[S]))}for(let c of this.gutters)c.dom.remove(),s.indexOf(c)<0&&c.destroy();for(let c of s)this.dom.appendChild(c.dom);this.gutters=s}return i}destroy(){for(let r of this.gutters)r.destroy();this.dom.remove()}},{provide:r=>Cn.scrollMargins.of(e=>{let t=e.plugin(r);return!t||t.gutters.length==0||!t.fixed?null:e.textDirection==ue.LTR?{left:t.dom.offsetWidth*e.scaleX}:{right:t.dom.offsetWidth*e.scaleX}})});function xi(r){return Array.isArray(r)?r:[r]}function ni(r,e,t){for(;r.value&&r.from<=t;)r.from==t&&e.push(r.value),r.next()}class ii{constructor(e,t,i){this.gutter=e,this.height=i,this.i=0,this.cursor=o.Xs.iter(e.markers,t.from)}addElement(e,t,i){let{gutter:s}=this,c=t.top-this.height;if(this.i==s.elements.length){let S=new ri(e,t.height,c,i);s.elements.push(S),s.dom.appendChild(S.dom)}else s.elements[this.i].update(e,t.height,c,i);this.height=t.bottom,this.i++}line(e,t,i){let s=[];ni(this.cursor,s,t.from),i.length&&(s=s.concat(i));let c=this.gutter.config.lineMarker(e,t,s);c&&s.unshift(c);let S=this.gutter;s.length==0&&!S.config.renderEmptyElements||this.addElement(e,t,s)}widget(e,t){let i=this.gutter.config.widgetMarker(e,t.widget,t);i&&this.addElement(e,t,[i])}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let t=e.elements.pop();e.dom.removeChild(t.dom),t.destroy()}}}class Pi{constructor(e,t){this.view=e,this.config=t,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let i in t.domEventHandlers)this.dom.addEventListener(i,s=>{let c=s.target,S;if(c!=this.dom&&this.dom.contains(c)){for(;c.parentNode!=this.dom;)c=c.parentNode;let X=c.getBoundingClientRect();S=(X.top+X.bottom)/2}else S=s.clientY;let A=e.lineBlockAtHeight(S-e.documentTop);t.domEventHandlers[i](e,A,s)&&s.preventDefault()});this.markers=xi(t.markers(e)),t.initialSpacer&&(this.spacer=new ri(e,0,0,[t.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let t=this.markers;if(this.markers=xi(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let s=this.config.updateSpacer(this.spacer.markers[0],e);s!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[s])}let i=e.view.viewport;return!o.Xs.eq(this.markers,t,i.from,i.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}}class ri{constructor(e,t,i,s){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,t,i,s)}update(e,t,i,s){this.height!=t&&(this.height=t,this.dom.style.height=t/e.scaleY+"px"),this.above!=i&&(this.dom.style.marginTop=(this.above=i)?i/e.scaleY+"px":""),ji(this.markers,s)||this.setMarkers(e,s)}setMarkers(e,t){let i="cm-gutterElement",s=this.dom.firstChild;for(let c=0,S=0;;){let A=S,X=cc(A,X,J)||S(A,X,J):S}return i}})}});class Ti extends ei{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function zi(r,e){return r.state.facet(ci).formatNumber(e,r.state)}const ki=gi.compute([ci],r=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(Ni)},lineMarker(e,t,i){return i.some(s=>s.toDOM)?null:new Ti(zi(e,e.state.doc.lineAt(t.from).number))},widgetMarker:()=>null,lineMarkerChange:e=>e.startState.facet(ci)!=e.state.facet(ci),initialSpacer(e){return new Ti(zi(e,la(e.state.doc.lines)))},updateSpacer(e,t){let i=zi(t.view,la(t.view.state.doc.lines));return i==e.number?e:new Ti(i)},domEventHandlers:r.facet(ci).domEventHandlers}));function Jr(r={}){return[ci.of(r),un(),ki]}function la(r){let e=9;for(;e({decorations:r.createDeco(e),update(t){this.decorations=r.updateDeco(t,this.decorations)}}),{decorations:e=>e.decorations})}const ir=aa(new $s({regexp:/\t| +/g,decoration:r=>_r(r[0]),boundary:/\S/}));function Er(){return ir}const Zr=aa(new $s({regexp:/\s+$/g,decoration:Qt.mark({class:"cm-trailingSpace"}),boundary:/\S/}));function Ui(){return Zr}const Ka={HeightMap:hi,HeightOracle:jr,MeasuredHeights:so,QueryType:Zn,ChangedRange:Y,computeOrder:Be,moveVisually:W}},41113:function(Ye,Ae,a){"use strict";a.d(Ae,{FE:function(){return Ce},Jq:function(){return R},L3:function(){return o},Lj:function(){return L},_b:function(){return j},hr:function(){return E},i9:function(){return N},md:function(){return v},mp:function(){return K},vj:function(){return te}});const o=1024;let y=0;class p{constructor(D,z){this.from=D,this.to=z}}class v{constructor(D={}){this.id=y++,this.perNode=!!D.perNode,this.deserialize=D.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(D){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof D!="function"&&(D=R.match(D)),z=>{let oe=D(z);return oe===void 0?null:[this,oe]}}}v.closedBy=new v({deserialize:Te=>Te.split(" ")}),v.openedBy=new v({deserialize:Te=>Te.split(" ")}),v.group=new v({deserialize:Te=>Te.split(" ")}),v.contextHash=new v({perNode:!0}),v.lookAhead=new v({perNode:!0}),v.mounted=new v({perNode:!0});class Z{constructor(D,z,oe){this.tree=D,this.overlay=z,this.parser=oe}static get(D){return D&&D.props&&D.props[v.mounted.id]}}const $=Object.create(null);class R{constructor(D,z,oe,ce=0){this.name=D,this.props=z,this.id=oe,this.flags=ce}static define(D){let z=D.props&&D.props.length?Object.create(null):$,oe=(D.top?1:0)|(D.skipped?2:0)|(D.error?4:0)|(D.name==null?8:0),ce=new R(D.name||"",z,D.id,oe);if(D.props){for(let we of D.props)if(Array.isArray(we)||(we=we(ce)),we){if(we[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");z[we[0].id]=we[1]}}return ce}prop(D){return this.props[D.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(D){if(typeof D=="string"){if(this.name==D)return!0;let z=this.prop(v.group);return z?z.indexOf(D)>-1:!1}return this.id==D}static match(D){let z=Object.create(null);for(let oe in D)for(let ce of oe.split(" "))z[ce]=D[oe];return oe=>{for(let ce=oe.prop(v.group),we=-1;we<(ce?ce.length:0);we++){let Ue=z[we<0?oe.name:ce[we]];if(Ue)return Ue}}}}R.none=new R("",Object.create(null),0,8);class L{constructor(D){this.types=D;for(let z=0;z0;for(let Ct=this.cursor(Ue|te.IncludeAnonymous);;){let Lt=!1;if(Ct.from<=we&&Ct.to>=ce&&(!_e&&Ct.type.isAnonymous||z(Ct)!==!1)){if(Ct.firstChild())continue;Lt=!0}for(;Lt&&oe&&(_e||!Ct.type.isAnonymous)&&oe(Ct),!Ct.nextSibling();){if(!Ct.parent())return;Lt=!0}}}prop(D){return D.perNode?this.props?this.props[D.id]:void 0:this.type.prop(D)}get propValues(){let D=[];if(this.props)for(let z in this.props)D.push([+z,this.props[z]]);return D}balance(D={}){return this.children.length<=8?this:Xe(R.none,this.children,this.positions,0,this.children.length,0,this.length,(z,oe,ce)=>new K(this.type,z,oe,ce,this.propValues),D.makeTree||((z,oe,ce)=>new K(R.none,z,oe,ce)))}static build(D){return pt(D)}}K.empty=new K(R.none,[],[],0);class ye{constructor(D,z){this.buffer=D,this.index=z}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new ye(this.buffer,this.index)}}class he{constructor(D,z,oe){this.buffer=D,this.length=z,this.set=oe}get type(){return R.none}toString(){let D=[];for(let z=0;z0));Ct=Ue[Ct+3]);return _e}slice(D,z,oe){let ce=this.buffer,we=new Uint16Array(z-D),Ue=0;for(let _e=D,Ct=0;_e=D&&zD;case 1:return z<=D&&oe>D;case 2:return oe>D;case 4:return!0}}function ge(Te,D,z,oe){for(var ce;Te.from==Te.to||(z<1?Te.from>=D:Te.from>D)||(z>-1?Te.to<=D:Te.to0?_e.length:-1;D!=Lt;D+=z){let Et=_e[D],Jt=Ct[D]+Ue.from;if($e(ce,oe,Jt,Jt+Et.length)){if(Et instanceof he){if(we&te.ExcludeBuffers)continue;let Wt=Et.findChild(0,Et.buffer.length,z,oe-Jt,ce);if(Wt>-1)return new We(new ve(Ue,Et,D,Jt),null,Wt)}else if(we&te.IncludeAnonymous||!Et.type.isAnonymous||Ge(Et)){let Wt;if(!(we&te.IgnoreMounts)&&(Wt=Z.get(Et))&&!Wt.overlay)return new Pe(Wt.tree,Jt,D,Ue);let sn=new Pe(Et,Jt,D,Ue);return we&te.IncludeAnonymous||!sn.type.isAnonymous?sn:sn.nextChild(z<0?Et.children.length-1:0,z,oe,ce)}}}if(we&te.IncludeAnonymous||!Ue.type.isAnonymous||(Ue.index>=0?D=Ue.index+z:D=z<0?-1:Ue._parent._tree.children.length,Ue=Ue._parent,!Ue))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(D){return this.nextChild(0,1,D,2)}childBefore(D){return this.nextChild(this._tree.children.length-1,-1,D,-2)}enter(D,z,oe=0){let ce;if(!(oe&te.IgnoreOverlays)&&(ce=Z.get(this._tree))&&ce.overlay){let we=D-this.from;for(let{from:Ue,to:_e}of ce.overlay)if((z>0?Ue<=we:Ue=we:_e>we))return new Pe(ce.tree,ce.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,D,z,oe)}nextSignificantParent(){let D=this;for(;D.type.isAnonymous&&D._parent;)D=D._parent;return D}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function Ne(Te,D,z,oe){let ce=Te.cursor(),we=[];if(!ce.firstChild())return we;if(z!=null){for(;!ce.type.is(z);)if(!ce.nextSibling())return we}for(;;){if(oe!=null&&ce.type.is(oe))return we;if(ce.type.is(D)&&we.push(ce.node),!ce.nextSibling())return oe==null?we:[]}}function ke(Te,D,z=D.length-1){for(let oe=Te.parent;z>=0;oe=oe.parent){if(!oe)return!1;if(!oe.type.isAnonymous){if(D[z]&&D[z]!=oe.name)return!1;z--}}return!0}class ve{constructor(D,z,oe,ce){this.parent=D,this.buffer=z,this.index=oe,this.start=ce}}class We extends je{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(D,z,oe){super(),this.context=D,this._parent=z,this.index=oe,this.type=D.buffer.set.types[D.buffer.buffer[oe]]}child(D,z,oe){let{buffer:ce}=this.context,we=ce.findChild(this.index+4,ce.buffer[this.index+3],D,z-this.context.start,oe);return we<0?null:new We(this.context,this,we)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(D){return this.child(1,D,2)}childBefore(D){return this.child(-1,D,-2)}enter(D,z,oe=0){if(oe&te.ExcludeBuffers)return null;let{buffer:ce}=this.context,we=ce.findChild(this.index+4,ce.buffer[this.index+3],z>0?1:-1,D-this.context.start,z);return we<0?null:new We(this.context,this,we)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(D){return this._parent?null:this.context.parent.nextChild(this.context.index+D,D,0,4)}get nextSibling(){let{buffer:D}=this.context,z=D.buffer[this.index+3];return z<(this._parent?D.buffer[this._parent.index+3]:D.buffer.length)?new We(this.context,this._parent,z):this.externalSibling(1)}get prevSibling(){let{buffer:D}=this.context,z=this._parent?this._parent.index+4:0;return this.index==z?this.externalSibling(-1):new We(this.context,this._parent,D.findChild(z,this.index,-1,0,4))}get tree(){return null}toTree(){let D=[],z=[],{buffer:oe}=this.context,ce=this.index+4,we=oe.buffer[this.index+3];if(we>ce){let Ue=oe.buffer[this.index+1];D.push(oe.slice(ce,we,Ue)),z.push(0)}return new K(this.type,D,z,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function it(Te){if(!Te.length)return null;if(Te.length==1)return Te[0];let D=0,z=Te[0];for(let we=1;wez.from||Ue.to=D){let _e=new Pe(Ue.tree,Ue.overlay[0].from+we.from,0,null);(ce||(ce=[oe])).push(ge(_e,D,z,!1))}}return ce?it(ce):oe}class ft{get name(){return this.type.name}constructor(D,z=0){if(this.mode=z,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,D instanceof Pe)this.yieldNode(D);else{this._tree=D.context.parent,this.buffer=D.context;for(let oe=D._parent;oe;oe=oe._parent)this.stack.unshift(oe.index);this.bufferNode=D,this.yieldBuf(D.index)}}yieldNode(D){return D?(this._tree=D,this.type=D.type,this.from=D.from,this.to=D.to,!0):!1}yieldBuf(D,z){this.index=D;let{start:oe,buffer:ce}=this.buffer;return this.type=z||ce.set.types[ce.buffer[D]],this.from=oe+ce.buffer[D+1],this.to=oe+ce.buffer[D+2],!0}yield(D){return D?D instanceof Pe?(this.buffer=null,this.yieldNode(D)):(this.buffer=D.context,this.yieldBuf(D.index,D.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(D,z,oe){if(!this.buffer)return this.yield(this._tree.nextChild(D<0?this._tree._tree.children.length-1:0,D,z,oe,this.mode));let{buffer:ce}=this.buffer,we=ce.findChild(this.index+4,ce.buffer[this.index+3],D,z-this.buffer.start,oe);return we<0?!1:(this.stack.push(this.index),this.yieldBuf(we))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(D){return this.enterChild(1,D,2)}childBefore(D){return this.enterChild(-1,D,-2)}enter(D,z,oe=this.mode){return this.buffer?oe&te.ExcludeBuffers?!1:this.enterChild(1,D,z):this.yield(this._tree.enter(D,z,oe))}parent(){if(!this.buffer)return this.yieldNode(this.mode&te.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let D=this.mode&te.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(D)}sibling(D){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+D,D,0,4,this.mode)):!1;let{buffer:z}=this.buffer,oe=this.stack.length-1;if(D<0){let ce=oe<0?0:this.stack[oe]+4;if(this.index!=ce)return this.yieldBuf(z.findChild(ce,this.index,-1,0,4))}else{let ce=z.buffer[this.index+3];if(ce<(oe<0?z.buffer.length:z.buffer[this.stack[oe]+3]))return this.yieldBuf(ce)}return oe<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+D,D,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(D){let z,oe,{buffer:ce}=this;if(ce){if(D>0){if(this.index-1)for(let we=z+D,Ue=D<0?-1:oe._tree.children.length;we!=Ue;we+=D){let _e=oe._tree.children[we];if(this.mode&te.IncludeAnonymous||_e instanceof he||!_e.type.isAnonymous||Ge(_e))return!1}return!0}move(D,z){if(z&&this.enterChild(D,0,4))return!0;for(;;){if(this.sibling(D))return!0;if(this.atLastNode(D)||!this.parent())return!1}}next(D=!0){return this.move(1,D)}prev(D=!0){return this.move(-1,D)}moveTo(D,z=0){for(;(this.from==this.to||(z<1?this.from>=D:this.from>D)||(z>-1?this.to<=D:this.to=0;){for(let Ue=D;Ue;Ue=Ue._parent)if(Ue.index==ce){if(ce==this.index)return Ue;z=Ue,oe=we+1;break e}ce=this.stack[--we]}for(let ce=oe;ce=0;we--){if(we<0)return ke(this.node,D,ce);let Ue=oe[z.buffer[this.stack[we]]];if(!Ue.isAnonymous){if(D[ce]&&D[ce]!=Ue.name)return!1;ce--}}return!0}}function Ge(Te){return Te.children.some(D=>D instanceof he||!D.type.isAnonymous||Ge(D))}function pt(Te){var D;let{buffer:z,nodeSet:oe,maxBufferLength:ce=o,reused:we=[],minRepeatType:Ue=oe.types.length}=Te,_e=Array.isArray(z)?new ye(z,z.length):z,Ct=oe.types,Lt=0,Et=0;function Jt(Pt,Bt,Qt,Ut,_t){let{id:jt,start:Vt,end:hn,size:ln}=_e,$t=Et;for(;ln<0;)if(_e.next(),ln==-1){let Sn=we[jt];Qt.push(Sn),Ut.push(Vt-Pt);return}else if(ln==-3){Lt=jt;return}else if(ln==-4){Et=jt;return}else throw new RangeError(`Unrecognized record size: ${ln}`);let zn=Ct[jt],cn,Tn,An=Vt-Pt;if(hn-Vt<=ce&&(Tn=yt(_e.pos-Bt,_t))){let Sn=new Uint16Array(Tn.size-Tn.skip),fn=_e.pos-Tn.size,Qn=Sn.length;for(;_e.pos>fn;)Qn=St(Tn.start,Sn,Qn);cn=new he(Sn,hn-Tn.start,oe),An=Tn.start-Pt}else{let Sn=_e.pos-ln;_e.next();let fn=[],Qn=[],On=jt>=Ue?jt:-1,jn=0,Mn=hn;for(;_e.pos>Sn;)On>=0&&_e.id==On&&_e.size>=0?(_e.end<=Mn-ce&&(sn(fn,Qn,Vt,jn,_e.end,Mn,On,$t),jn=fn.length,Mn=_e.end),_e.next()):Jt(Vt,Sn,fn,Qn,On);if(On>=0&&jn>0&&jn-1&&jn>0){let Gn=Wt(zn);cn=Xe(zn,fn,Qn,0,fn.length,0,hn-Vt,Gn,Gn)}else cn=Le(zn,fn,Qn,hn-Vt,$t-hn)}Qt.push(cn),Ut.push(An)}function Wt(Pt){return(Bt,Qt,Ut)=>{let _t=0,jt=Bt.length-1,Vt,hn;if(jt>=0&&(Vt=Bt[jt])instanceof K){if(!jt&&Vt.type==Pt&&Vt.length==Ut)return Vt;(hn=Vt.prop(v.lookAhead))&&(_t=Qt[jt]+Vt.length+hn)}return Le(Pt,Bt,Qt,Ut,_t)}}function sn(Pt,Bt,Qt,Ut,_t,jt,Vt,hn){let ln=[],$t=[];for(;Pt.length>Ut;)ln.push(Pt.pop()),$t.push(Bt.pop()+Qt-_t);Pt.push(Le(oe.types[Vt],ln,$t,jt-_t,hn-jt)),Bt.push(_t-Qt)}function Le(Pt,Bt,Qt,Ut,_t=0,jt){if(Lt){let Vt=[v.contextHash,Lt];jt=jt?[Vt].concat(jt):[Vt]}if(_t>25){let Vt=[v.lookAhead,_t];jt=jt?[Vt].concat(jt):[Vt]}return new K(Pt,Bt,Qt,Ut,jt)}function yt(Pt,Bt){let Qt=_e.fork(),Ut=0,_t=0,jt=0,Vt=Qt.end-ce,hn={size:0,start:0,skip:0};e:for(let ln=Qt.pos-Pt;Qt.pos>ln;){let $t=Qt.size;if(Qt.id==Bt&&$t>=0){hn.size=Ut,hn.start=_t,hn.skip=jt,jt+=4,Ut+=4,Qt.next();continue}let zn=Qt.pos-$t;if($t<0||zn=Ue?4:0,Tn=Qt.start;for(Qt.next();Qt.pos>zn;){if(Qt.size<0)if(Qt.size==-3)cn+=4;else break e;else Qt.id>=Ue&&(cn+=4);Qt.next()}_t=Tn,Ut+=$t,jt+=cn}return(Bt<0||Ut==Pt)&&(hn.size=Ut,hn.start=_t,hn.skip=jt),hn.size>4?hn:void 0}function St(Pt,Bt,Qt){let{id:Ut,start:_t,end:jt,size:Vt}=_e;if(_e.next(),Vt>=0&&Ut4){let ln=_e.pos-(Vt-4);for(;_e.pos>ln;)Qt=St(Pt,Bt,Qt)}Bt[--Qt]=hn,Bt[--Qt]=jt-Pt,Bt[--Qt]=_t-Pt,Bt[--Qt]=Ut}else Vt==-3?Lt=Ut:Vt==-4&&(Et=Ut);return Qt}let gt=[],Mt=[];for(;_e.pos>0;)Jt(Te.start||0,Te.bufferStart||0,gt,Mt,-1);let Yt=(D=Te.length)!==null&&D!==void 0?D:gt.length?Mt[0]+gt[0].length:0;return new K(Ct[Te.topID],gt.reverse(),Mt.reverse(),Yt)}const Rt=new WeakMap;function Ee(Te,D){if(!Te.isAnonymous||D instanceof he||D.type!=Te)return 1;let z=Rt.get(D);if(z==null){z=1;for(let oe of D.children){if(oe.type!=Te||!(oe instanceof K)){z=1;break}z+=Ee(Te,oe)}Rt.set(D,z)}return z}function Xe(Te,D,z,oe,ce,we,Ue,_e,Ct){let Lt=0;for(let Le=oe;Le=Et)break;Qt+=Ut}if(Yt==Pt+1){if(Qt>Et){let Ut=Le[Pt];sn(Ut.children,Ut.positions,0,Ut.children.length,yt[Pt]+Mt);continue}Jt.push(Le[Pt])}else{let Ut=yt[Yt-1]+Le[Yt-1].length-Bt;Jt.push(Xe(Te,Le,yt,Pt,Yt,Bt,Ut,null,Ct))}Wt.push(Bt+Mt-we)}}return sn(D,z,oe,ce,0),(_e||Ct)(Jt,Wt,Ue)}class E{constructor(){this.map=new WeakMap}setBuffer(D,z,oe){let ce=this.map.get(D);ce||this.map.set(D,ce=new Map),ce.set(z,oe)}getBuffer(D,z){let oe=this.map.get(D);return oe&&oe.get(z)}set(D,z){D instanceof We?this.setBuffer(D.context.buffer,D.index,z):D instanceof Pe&&this.map.set(D.tree,z)}get(D){return D instanceof We?this.getBuffer(D.context.buffer,D.index):D instanceof Pe?this.map.get(D.tree):void 0}cursorSet(D,z){D.buffer?this.setBuffer(D.buffer.buffer,D.index,z):this.map.set(D.tree,z)}cursorGet(D){return D.buffer?this.getBuffer(D.buffer.buffer,D.index):this.map.get(D.tree)}}class N{constructor(D,z,oe,ce,we=!1,Ue=!1){this.from=D,this.to=z,this.tree=oe,this.offset=ce,this.open=(we?1:0)|(Ue?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(D,z=[],oe=!1){let ce=[new N(0,D.length,D,0,!1,oe)];for(let we of z)we.to>D.length&&ce.push(we);return ce}static applyChanges(D,z,oe=128){if(!z.length)return D;let ce=[],we=1,Ue=D.length?D[0]:null;for(let _e=0,Ct=0,Lt=0;;_e++){let Et=_e=oe)for(;Ue&&Ue.from=Wt.from||Jt<=Wt.to||Lt){let sn=Math.max(Wt.from,Ct)-Lt,Le=Math.min(Wt.to,Jt)-Lt;Wt=sn>=Le?null:new N(sn,Le,Wt.tree,Wt.offset+Lt,_e>0,!!Et)}if(Wt&&ce.push(Wt),Ue.to>Jt)break;Ue=wenew p(ce.from,ce.to)):[new p(0,0)]:[new p(0,D.length)],this.createParse(D,z||[],oe)}parse(D,z,oe){let ce=this.startParse(D,z,oe);for(;;){let we=ce.advance();if(we)return we}}}class ie{constructor(D){this.string=D}get length(){return this.string.length}chunk(D){return this.string.slice(D)}get lineChunks(){return!1}read(D,z){return this.string.slice(D,z)}}function Ce(Te){return(D,z,oe,ce)=>new tt(D,Te,z,oe,ce)}class re{constructor(D,z,oe,ce,we){if(this.parser=D,this.parse=z,this.overlay=oe,this.target=ce,this.ranges=we,!we.length||we.some(Ue=>Ue.from>=Ue.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(we))}}class Ze{constructor(D,z,oe,ce,we,Ue,_e){this.parser=D,this.predicate=z,this.mounts=oe,this.index=ce,this.start=we,this.target=Ue,this.prev=_e,this.depth=0,this.ranges=[]}}const ct=new v({perNode:!0});class tt{constructor(D,z,oe,ce,we){this.nest=z,this.input=oe,this.fragments=ce,this.ranges=we,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=D}advance(){if(this.baseParse){let oe=this.baseParse.advance();if(!oe)return null;if(this.baseParse=null,this.baseTree=oe,this.startInner(),this.stoppedAt!=null)for(let ce of this.inner)ce.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let oe=this.baseTree;return this.stoppedAt!=null&&(oe=new K(oe.type,oe.children,oe.positions,oe.length,oe.propValues.concat([[ct,this.stoppedAt]]))),oe}let D=this.inner[this.innerDone],z=D.parse.advance();if(z){this.innerDone++;let oe=Object.assign(Object.create(null),D.target.props);oe[v.mounted.id]=new Z(z,D.overlay,D.parser),D.target.props=oe}return null}get parsedPos(){if(this.baseParse)return 0;let D=this.input.length;for(let z=this.innerDone;zEt.frag.from<=ce.from&&Et.frag.to>=ce.to&&Et.mount.overlay);if(Lt)for(let Et of Lt.mount.overlay){let Jt=Et.from+Lt.pos,Wt=Et.to+Lt.pos;Jt>=ce.from&&Wt<=ce.to&&!z.ranges.some(sn=>sn.fromJt)&&z.ranges.push({from:Jt,to:Wt})}}_e=!1}else if(oe&&(Ue=Tt(oe.ranges,ce.from,ce.to)))_e=Ue!=2;else if(!ce.type.isAnonymous&&ce.fromnew p(Jt.from-ce.from,Jt.to-ce.from)):null,ce.tree,Et)),we.overlay?Et.length&&(oe={ranges:Et,depth:0,prev:oe}):_e=!1}}else z&&(Ct=z.predicate(ce))&&(Ct===!0&&(Ct=new p(ce.from,ce.to)),Ct.fromnew p(Et.from-z.start,Et.to-z.start)),z.target,Lt)),z=z.prev}oe&&!--oe.depth&&(oe=oe.prev)}}}}function Tt(Te,D,z){for(let oe of Te){if(oe.from>=z)break;if(oe.to>D)return oe.from<=D&&oe.to>=z?2:1}return 0}function st(Te,D,z,oe,ce,we){if(D=D.to);oe++);let Ue=ce.children[oe],_e=Ue.buffer;function Ct(Lt,Et,Jt,Wt,sn){let Le=Lt;for(;_e[Le+2]+we<=D.from;)Le=_e[Le+3];let yt=[],St=[];st(Ue,Lt,Le,yt,St,Wt);let gt=_e[Le+1],Mt=_e[Le+2],Yt=gt+we==D.from&&Mt+we==D.to&&_e[Le]==D.type.id;return yt.push(Yt?D.toTree():Ct(Le+4,_e[Le+3],Ue.set.types[_e[Le]],gt,Mt-gt)),St.push(gt-Wt),st(Ue,_e[Le+3],Et,yt,St,Wt),new K(Jt,yt,St,sn)}ce.children[oe]=Ct(0,_e.length,R.none,0,Ue.length);for(let Lt=0;Lt<=z;Lt++)Te.childAfter(D.from)}class Dt{constructor(D,z){this.offset=z,this.done=!1,this.cursor=D.cursor(te.IncludeAnonymous|te.IgnoreMounts)}moveTo(D){let{cursor:z}=this,oe=D-this.offset;for(;!this.done&&z.from=D&&z.enter(oe,1,te.IgnoreOverlays|te.ExcludeBuffers)||z.next(!1)||(this.done=!0)}hasNode(D){if(this.moveTo(D.from),!this.done&&this.cursor.from+this.offset==D.from&&this.cursor.tree)for(let z=this.cursor.tree;;){if(z==D.tree)return!0;if(z.children.length&&z.positions[0]==0&&z.children[0]instanceof K)z=z.children[0];else break}return!1}}class lt{constructor(D){var z;if(this.fragments=D,this.curTo=0,this.fragI=0,D.length){let oe=this.curFrag=D[0];this.curTo=(z=oe.tree.prop(ct))!==null&&z!==void 0?z:oe.to,this.inner=new Dt(oe.tree,-oe.offset)}else this.curFrag=this.inner=null}hasNode(D){for(;this.curFrag&&D.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=D.from&&this.curTo>=D.to&&this.inner.hasNode(D)}nextFrag(){var D;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let z=this.curFrag=this.fragments[this.fragI];this.curTo=(D=z.tree.prop(ct))!==null&&D!==void 0?D:z.to,this.inner=new Dt(z.tree,-z.offset)}}findMounts(D,z){var oe;let ce=[];if(this.inner){this.inner.cursor.moveTo(D,1);for(let we=this.inner.cursor.node;we;we=we.parent){let Ue=(oe=we.tree)===null||oe===void 0?void 0:oe.prop(v.mounted);if(Ue&&Ue.parser==z)for(let _e=this.fragI;_e=we.to)break;Ct.tree==this.curFrag.tree&&ce.push({frag:Ct,pos:we.from-Ct.offset,mount:Ue})}}}return ce}}function Xt(Te,D){let z=null,oe=D;for(let ce=1,we=0;ce=_e)break;Ct.to<=Ue||(z||(oe=z=D.slice()),Ct.from_e&&z.splice(we+1,0,new p(_e,Ct.to))):Ct.to>_e?z[we--]=new p(_e,Ct.to):z.splice(we--,1))}}return oe}function en(Te,D,z,oe){let ce=0,we=0,Ue=!1,_e=!1,Ct=-1e9,Lt=[];for(;;){let Et=ce==Te.length?1e9:Ue?Te[ce].to:Te[ce].from,Jt=we==D.length?1e9:_e?D[we].to:D[we].from;if(Ue!=_e){let Wt=Math.max(Ct,z),sn=Math.min(Et,Jt,oe);Wtnew p(Wt.from+oe,Wt.to+oe)),Jt=en(D,Et,Ct,Lt);for(let Wt=0,sn=Ct;;Wt++){let Le=Wt==Jt.length,yt=Le?Lt:Jt[Wt].from;if(yt>sn&&z.push(new N(sn,yt,ce.tree,-Ue,we.from>=sn||we.openStart,we.to<=yt||we.openEnd)),Le)break;sn=Jt[Wt].to}}else z.push(new N(Ct,Lt,ce.tree,-Ue,we.from>=Ue||we.openStart,we.to<=_e||we.openEnd))}return z}},35524:function(Ye,Ae,a){"use strict";a.d(Ae,{Gv:function(){return L},QR:function(){return te},Vp:function(){return p},bW:function(){return ye},pJ:function(){return Xe}});var o=a(41113);let y=0;class p{constructor(j,ie,Ce){this.set=j,this.base=ie,this.modified=Ce,this.id=y++}static define(j){if(j!=null&&j.base)throw new Error("Can not derive from a modified tag");let ie=new p([],null,[]);if(ie.set.push(ie),j)for(let Ce of j.set)ie.set.push(Ce);return ie}static defineModifier(){let j=new Z;return ie=>ie.modified.indexOf(j)>-1?ie:Z.get(ie.base||ie,ie.modified.concat(j).sort((Ce,re)=>Ce.id-re.id))}}let v=0;class Z{constructor(){this.instances=[],this.id=v++}static get(j,ie){if(!ie.length)return j;let Ce=ie[0].instances.find(tt=>tt.base==j&&$(ie,tt.modified));if(Ce)return Ce;let re=[],Ze=new p(re,j,ie);for(let tt of ie)tt.instances.push(Ze);let ct=R(ie);for(let tt of j.set)if(!tt.modified.length)for(let Tt of ct)re.push(Z.get(tt,Tt));return Ze}}function $(N,j){return N.length==j.length&&N.every((ie,Ce)=>ie==j[Ce])}function R(N){let j=[[]];for(let ie=0;ieCe.length-ie.length)}function L(N){let j=Object.create(null);for(let ie in N){let Ce=N[ie];Array.isArray(Ce)||(Ce=[Ce]);for(let re of ie.split(" "))if(re){let Ze=[],ct=2,tt=re;for(let Dt=0;;){if(tt=="..."&&Dt>0&&Dt+3==re.length){ct=1;break}let lt=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(tt);if(!lt)throw new RangeError("Invalid path: "+re);if(Ze.push(lt[0]=="*"?"":lt[0][0]=='"'?JSON.parse(lt[0]):lt[0]),Dt+=lt[0].length,Dt==re.length)break;let Xt=re[Dt++];if(Dt==re.length&&Xt=="!"){ct=0;break}if(Xt!="/")throw new RangeError("Invalid path: "+re);tt=re.slice(Dt)}let Tt=Ze.length-1,st=Ze[Tt];if(!st)throw new RangeError("Invalid path: "+re);let zt=new G(Ce,ct,Tt>0?Ze.slice(0,Tt):null);j[st]=zt.sort(j[st])}}return _.add(j)}const _=new o.md;class G{constructor(j,ie,Ce,re){this.tags=j,this.mode=ie,this.context=Ce,this.next=re}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(j){return!j||j.depth{let ct=re;for(let tt of Ze)for(let Tt of tt.set){let st=ie[Tt.id];if(st){ct=ct?ct+" "+st:st;break}}return ct},scope:Ce}}function K(N,j){let ie=null;for(let Ce of N){let re=Ce.style(j);re&&(ie=ie?ie+" "+re:re)}return ie}function ye(N,j,ie,Ce=0,re=N.length){let Ze=new he(Ce,Array.isArray(j)?j:[j],ie);Ze.highlightRange(N.cursor(),Ce,re,"",Ze.highlighters),Ze.flush(re)}class he{constructor(j,ie,Ce){this.at=j,this.highlighters=ie,this.span=Ce,this.class=""}startSpan(j,ie){ie!=this.class&&(this.flush(j),j>this.at&&(this.at=j),this.class=ie)}flush(j){j>this.at&&this.class&&this.span(this.at,j,this.class)}highlightRange(j,ie,Ce,re,Ze){let{type:ct,from:tt,to:Tt}=j;if(tt>=Ce||Tt<=ie)return;ct.isTop&&(Ze=this.highlighters.filter(Xt=>!Xt.scope||Xt.scope(ct)));let st=re,zt=$e(j)||G.empty,Dt=K(Ze,zt.tags);if(Dt&&(st&&(st+=" "),st+=Dt,zt.mode==1&&(re+=(re?" ":"")+Dt)),this.startSpan(Math.max(ie,tt),st),zt.opaque)return;let lt=j.tree&&j.tree.prop(o.md.mounted);if(lt&<.overlay){let Xt=j.node.enter(lt.overlay[0].from+tt,1),en=this.highlighters.filter(Te=>!Te.scope||Te.scope(lt.tree.type)),Ht=j.firstChild();for(let Te=0,D=tt;;Te++){let z=Te=oe||!j.nextSibling())););if(!z||oe>Ce)break;D=z.to+tt,D>ie&&(this.highlightRange(Xt.cursor(),Math.max(ie,z.from+tt),Math.min(Ce,D),"",en),this.startSpan(Math.min(Ce,D),st))}Ht&&j.parent()}else if(j.firstChild()){lt&&(re="");do if(!(j.to<=ie)){if(j.from>=Ce)break;this.highlightRange(j,ie,Ce,re,Ze),this.startSpan(Math.min(Ce,j.to),st)}while(j.nextSibling());j.parent()}}}function $e(N){let j=N.type.prop(_);for(;j&&j.context&&!N.matchContext(j.context);)j=j.next;return j||null}const ge=p.define,je=ge(),Pe=ge(),Ne=ge(Pe),ke=ge(Pe),ve=ge(),We=ge(ve),it=ge(ve),nt=ge(),rt=ge(nt),ft=ge(),Ge=ge(),pt=ge(),Rt=ge(pt),Ee=ge(),Xe={comment:je,lineComment:ge(je),blockComment:ge(je),docComment:ge(je),name:Pe,variableName:ge(Pe),typeName:Ne,tagName:ge(Ne),propertyName:ke,attributeName:ge(ke),className:ge(Pe),labelName:ge(Pe),namespace:ge(Pe),macroName:ge(Pe),literal:ve,string:We,docString:ge(We),character:ge(We),attributeValue:ge(We),number:it,integer:ge(it),float:ge(it),bool:ge(ve),regexp:ge(ve),escape:ge(ve),color:ge(ve),url:ge(ve),keyword:ft,self:ge(ft),null:ge(ft),atom:ge(ft),unit:ge(ft),modifier:ge(ft),operatorKeyword:ge(ft),controlKeyword:ge(ft),definitionKeyword:ge(ft),moduleKeyword:ge(ft),operator:Ge,derefOperator:ge(Ge),arithmeticOperator:ge(Ge),logicOperator:ge(Ge),bitwiseOperator:ge(Ge),compareOperator:ge(Ge),updateOperator:ge(Ge),definitionOperator:ge(Ge),typeOperator:ge(Ge),controlOperator:ge(Ge),punctuation:pt,separator:ge(pt),bracket:Rt,angleBracket:ge(Rt),squareBracket:ge(Rt),paren:ge(Rt),brace:ge(Rt),content:nt,heading:rt,heading1:ge(rt),heading2:ge(rt),heading3:ge(rt),heading4:ge(rt),heading5:ge(rt),heading6:ge(rt),contentSeparator:ge(nt),list:ge(nt),quote:ge(nt),emphasis:ge(nt),strong:ge(nt),link:ge(nt),monospace:ge(nt),strikethrough:ge(nt),inserted:ge(),deleted:ge(),changed:ge(),invalid:ge(),meta:Ee,documentMeta:ge(Ee),annotation:ge(Ee),processingInstruction:ge(Ee),definition:p.defineModifier(),constant:p.defineModifier(),function:p.defineModifier(),standard:p.defineModifier(),local:p.defineModifier(),special:p.defineModifier()},E=te([{tag:Xe.link,class:"tok-link"},{tag:Xe.heading,class:"tok-heading"},{tag:Xe.emphasis,class:"tok-emphasis"},{tag:Xe.strong,class:"tok-strong"},{tag:Xe.keyword,class:"tok-keyword"},{tag:Xe.atom,class:"tok-atom"},{tag:Xe.bool,class:"tok-bool"},{tag:Xe.url,class:"tok-url"},{tag:Xe.labelName,class:"tok-labelName"},{tag:Xe.inserted,class:"tok-inserted"},{tag:Xe.deleted,class:"tok-deleted"},{tag:Xe.literal,class:"tok-literal"},{tag:Xe.string,class:"tok-string"},{tag:Xe.number,class:"tok-number"},{tag:[Xe.regexp,Xe.escape,Xe.special(Xe.string)],class:"tok-string2"},{tag:Xe.variableName,class:"tok-variableName"},{tag:Xe.local(Xe.variableName),class:"tok-variableName tok-local"},{tag:Xe.definition(Xe.variableName),class:"tok-variableName tok-definition"},{tag:Xe.special(Xe.variableName),class:"tok-variableName2"},{tag:Xe.definition(Xe.propertyName),class:"tok-propertyName tok-definition"},{tag:Xe.typeName,class:"tok-typeName"},{tag:Xe.namespace,class:"tok-namespace"},{tag:Xe.className,class:"tok-className"},{tag:Xe.macroName,class:"tok-macroName"},{tag:Xe.propertyName,class:"tok-propertyName"},{tag:Xe.operator,class:"tok-operator"},{tag:Xe.comment,class:"tok-comment"},{tag:Xe.meta,class:"tok-meta"},{tag:Xe.invalid,class:"tok-invalid"},{tag:Xe.punctuation,class:"tok-punctuation"}])},53105:function(Ye,Ae,a){"use strict";a.d(Ae,{IK:function(){return ft},Jq:function(){return ye},RA:function(){return K},WQ:function(){return Ge}});var o=a(41113),y=a(34155);class p{constructor(E,N,j,ie,Ce,re,Ze,ct,tt,Tt=0,st){this.p=E,this.stack=N,this.state=j,this.reducePos=ie,this.pos=Ce,this.score=re,this.buffer=Ze,this.bufferBase=ct,this.curContext=tt,this.lookAhead=Tt,this.parent=st}toString(){return`[${this.stack.filter((E,N)=>N%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(E,N,j=0){let ie=E.parser.context;return new p(E,[],N,j,j,0,[],0,ie?new v(ie,ie.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(E,N){this.stack.push(this.state,N,this.bufferBase+this.buffer.length),this.state=E}reduce(E){var N;let j=E>>19,ie=E&65535,{parser:Ce}=this.p,re=Ce.dynamicPrecedence(ie);if(re&&(this.score+=re),j==0){this.pushState(Ce.getGoto(this.state,ie,!0),this.reducePos),ie=2e3&&!(!((N=this.p.parser.nodeSet.types[ie])===null||N===void 0)&&N.isAnonymous)&&(ct==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=tt):this.p.lastBigReductionSizeZe;)this.stack.pop();this.reduceContext(ie,ct)}storeNode(E,N,j,ie=4,Ce=!1){if(E==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&re.buffer[Ze-4]==0&&re.buffer[Ze-1]>-1){if(N==j)return;if(re.buffer[Ze-2]>=N){re.buffer[Ze-2]=j;return}}}if(!Ce||this.pos==j)this.buffer.push(E,N,j,ie);else{let re=this.buffer.length;if(re>0&&this.buffer[re-4]!=0)for(;re>0&&this.buffer[re-2]>j;)this.buffer[re]=this.buffer[re-4],this.buffer[re+1]=this.buffer[re-3],this.buffer[re+2]=this.buffer[re-2],this.buffer[re+3]=this.buffer[re-1],re-=4,ie>4&&(ie-=4);this.buffer[re]=E,this.buffer[re+1]=N,this.buffer[re+2]=j,this.buffer[re+3]=ie}}shift(E,N,j,ie){if(E&131072)this.pushState(E&65535,this.pos);else if(E&262144)this.pos=ie,this.shiftContext(N,j),N<=this.p.parser.maxNode&&this.buffer.push(N,j,ie,4);else{let Ce=E,{parser:re}=this.p;(ie>this.pos||N<=re.maxNode)&&(this.pos=ie,re.stateFlag(Ce,1)||(this.reducePos=ie)),this.pushState(Ce,j),this.shiftContext(N,j),N<=re.maxNode&&this.buffer.push(N,j,ie,4)}}apply(E,N,j,ie){E&65536?this.reduce(E):this.shift(E,N,j,ie)}useNode(E,N){let j=this.p.reused.length-1;(j<0||this.p.reused[j]!=E)&&(this.p.reused.push(E),j++);let ie=this.pos;this.reducePos=this.pos=ie+E.length,this.pushState(N,ie),this.buffer.push(j,ie,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,E,this,this.p.stream.reset(this.pos-E.length)))}split(){let E=this,N=E.buffer.length;for(;N>0&&E.buffer[N-2]>E.reducePos;)N-=4;let j=E.buffer.slice(N),ie=E.bufferBase+N;for(;E&&ie==E.bufferBase;)E=E.parent;return new p(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,j,ie,this.curContext,this.lookAhead,E)}recoverByDelete(E,N){let j=E<=this.p.parser.maxNode;j&&this.storeNode(E,this.pos,N,4),this.storeNode(0,this.pos,N,j?8:4),this.pos=this.reducePos=N,this.score-=190}canShift(E){for(let N=new Z(this);;){let j=this.p.parser.stateSlot(N.state,4)||this.p.parser.hasAction(N.state,E);if(j==0)return!1;if(!(j&65536))return!0;N.reduce(j)}}recoverByInsert(E){if(this.stack.length>=300)return[];let N=this.p.parser.nextStates(this.state);if(N.length>8||this.stack.length>=120){let ie=[];for(let Ce=0,re;Cect&1&&Ze==re)||ie.push(N[Ce],re)}N=ie}let j=[];for(let ie=0;ie>19,ie=N&65535,Ce=this.stack.length-j*3;if(Ce<0||E.getGoto(this.stack[Ce],ie,!1)<0){let re=this.findForcedReduction();if(re==null)return!1;N=re}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(N),!0}findForcedReduction(){let{parser:E}=this.p,N=[],j=(ie,Ce)=>{if(!N.includes(ie))return N.push(ie),E.allActions(ie,re=>{if(!(re&393216))if(re&65536){let Ze=(re>>19)-Ce;if(Ze>1){let ct=re&65535,tt=this.stack.length-Ze*3;if(tt>=0&&E.getGoto(this.stack[tt],ct,!1)>=0)return Ze<<19|65536|ct}}else{let Ze=j(re,Ce+1);if(Ze!=null)return Ze}})};return j(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:E}=this.p;return E.data[E.stateSlot(this.state,1)]==65535&&!E.stateSlot(this.state,4)}restart(){this.state=this.stack[0],this.stack.length=0}sameState(E){if(this.state!=E.state||this.stack.length!=E.stack.length)return!1;for(let N=0;Nthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=E)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class v{constructor(E,N){this.tracker=E,this.context=N,this.hash=E.strict?E.hash(N):0}}class Z{constructor(E){this.start=E,this.state=E.state,this.stack=E.stack,this.base=this.stack.length}reduce(E){let N=E&65535,j=E>>19;j==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(j-1)*3;let ie=this.start.p.parser.getGoto(this.stack[this.base-3],N,!0);this.state=ie}}class ${constructor(E,N,j){this.stack=E,this.pos=N,this.index=j,this.buffer=E.buffer,this.index==0&&this.maybeNext()}static create(E,N=E.bufferBase+E.buffer.length){return new $(E,N,N-E.bufferBase)}maybeNext(){let E=this.stack.parent;E!=null&&(this.index=this.stack.bufferBase-E.bufferBase,this.stack=E,this.buffer=E.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new $(this.stack,this.pos,this.index)}}function R(Xe,E=Uint16Array){if(typeof Xe!="string")return Xe;let N=null;for(let j=0,ie=0;j=92&&re--,re>=34&&re--;let ct=re-32;if(ct>=46&&(ct-=46,Ze=!0),Ce+=ct,Ze)break;Ce*=46}N?N[ie++]=Ce:N=new E(Ce)}return N}class L{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const _=new L;class G{constructor(E,N){this.input=E,this.ranges=N,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=_,this.rangeIndex=0,this.pos=this.chunkPos=N[0].from,this.range=N[0],this.end=N[N.length-1].to,this.readNext()}resolveOffset(E,N){let j=this.range,ie=this.rangeIndex,Ce=this.pos+E;for(;Cej.to:Ce>=j.to;){if(ie==this.ranges.length-1)return null;let re=this.ranges[++ie];Ce+=re.from-j.to,j=re}return Ce}clipPos(E){if(E>=this.range.from&&EE)return Math.max(E,N.from);return this.end}peek(E){let N=this.chunkOff+E,j,ie;if(N>=0&&N=this.chunk2Pos&&jZe.to&&(this.chunk2=this.chunk2.slice(0,Ze.to-j)),ie=this.chunk2.charCodeAt(0)}}return j>=this.token.lookAhead&&(this.token.lookAhead=j+1),ie}acceptToken(E,N=0){let j=N?this.resolveOffset(N,-1):this.pos;if(j==null||j=this.chunk2Pos&&this.posthis.range.to?E.slice(0,this.range.to-this.pos):E,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(E=1){for(this.chunkOff+=E;this.pos+E>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();E-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=E,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(E,N){if(N?(this.token=N,N.start=E,N.lookAhead=E+1,N.value=N.extended=-1):this.token=_,this.pos!=E){if(this.pos=E,E==this.end)return this.setDone(),this;for(;E=this.range.to;)this.range=this.ranges[++this.rangeIndex];E>=this.chunkPos&&E=this.chunkPos&&N<=this.chunkPos+this.chunk.length)return this.chunk.slice(E-this.chunkPos,N-this.chunkPos);if(E>=this.chunk2Pos&&N<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(E-this.chunk2Pos,N-this.chunk2Pos);if(E>=this.range.from&&N<=this.range.to)return this.input.read(E,N);let j="";for(let ie of this.ranges){if(ie.from>=N)break;ie.to>E&&(j+=this.input.read(Math.max(ie.from,E),Math.min(ie.to,N)))}return j}}class te{constructor(E,N){this.data=E,this.id=N}token(E,N){let{parser:j}=N.p;he(this.data,E,N,this.id,j.data,j.tokenPrecTable)}}te.prototype.contextual=te.prototype.fallback=te.prototype.extend=!1;class K{constructor(E,N,j){this.precTable=N,this.elseToken=j,this.data=typeof E=="string"?R(E):E}token(E,N){let j=E.pos,ie=0;for(;;){let Ce=E.next<0,re=E.resolveOffset(1,1);if(he(this.data,E,N,0,this.data,this.precTable),E.token.value>-1)break;if(this.elseToken==null)return;if(Ce||ie++,re==null)break;E.reset(re,E.token)}ie&&(E.reset(j,E.token),E.acceptToken(this.elseToken,ie))}}K.prototype.contextual=te.prototype.fallback=te.prototype.extend=!1;class ye{constructor(E,N={}){this.token=E,this.contextual=!!N.contextual,this.fallback=!!N.fallback,this.extend=!!N.extend}}function he(Xe,E,N,j,ie,Ce){let re=0,Ze=1<0){let lt=Xe[Dt];if(ct.allows(lt)&&(E.token.value==-1||E.token.value==lt||ge(lt,E.token.value,ie,Ce))){E.acceptToken(lt);break}}let Tt=E.next,st=0,zt=Xe[re+2];if(E.next<0&&zt>st&&Xe[tt+zt*3-3]==65535&&Xe[tt+zt*3-3]==65535){re=Xe[tt+zt*3-1];continue e}for(;st>1,lt=tt+Dt+(Dt<<1),Xt=Xe[lt],en=Xe[lt+1]||65536;if(Tt=en)st=Dt+1;else{re=Xe[lt+2],E.advance();continue e}}break}}function $e(Xe,E,N){for(let j=E,ie;(ie=Xe[j])!=65535;j++)if(ie==N)return j-E;return-1}function ge(Xe,E,N,j){let ie=$e(N,j,E);return ie<0||$e(N,j,Xe)E)&&!j.type.isError)return N<0?Math.max(0,Math.min(j.to-1,E-25)):Math.min(Xe.length,Math.max(j.from+1,E+25));if(N<0?j.prevSibling():j.nextSibling())break;if(!j.parent())return N<0?0:Xe.length}}class ke{constructor(E,N){this.fragments=E,this.nodeSet=N,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let E=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(E){for(this.safeFrom=E.openStart?Ne(E.tree,E.from+E.offset,1)-E.offset:E.from,this.safeTo=E.openEnd?Ne(E.tree,E.to+E.offset,-1)-E.offset:E.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(E.tree),this.start.push(-E.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(E){if(EE)return this.nextStart=re,null;if(Ce instanceof o.mp){if(re==E){if(re=Math.max(this.safeFrom,E)&&(this.trees.push(Ce),this.start.push(re),this.index.push(0))}else this.index[N]++,this.nextStart=re+Ce.length}}}class ve{constructor(E,N){this.stream=N,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=E.tokenizers.map(j=>new L)}getActions(E){let N=0,j=null,{parser:ie}=E.p,{tokenizers:Ce}=ie,re=ie.stateSlot(E.state,3),Ze=E.curContext?E.curContext.hash:0,ct=0;for(let tt=0;ttst.end+25&&(ct=Math.max(st.lookAhead,ct)),st.value!=0)){let zt=N;if(st.extended>-1&&(N=this.addActions(E,st.extended,st.end,N)),N=this.addActions(E,st.value,st.end,N),!Tt.extend&&(j=st,N>zt))break}}for(;this.actions.length>N;)this.actions.pop();return ct&&E.setLookAhead(ct),!j&&E.pos==this.stream.end&&(j=new L,j.value=E.p.parser.eofTerm,j.start=j.end=E.pos,N=this.addActions(E,j.value,j.end,N)),this.mainToken=j,this.actions}getMainToken(E){if(this.mainToken)return this.mainToken;let N=new L,{pos:j,p:ie}=E;return N.start=j,N.end=Math.min(j+1,ie.stream.end),N.value=j==ie.stream.end?ie.parser.eofTerm:0,N}updateCachedToken(E,N,j){let ie=this.stream.clipPos(j.pos);if(N.token(this.stream.reset(ie,E),j),E.value>-1){let{parser:Ce}=j.p;for(let re=0;re=0&&j.p.parser.dialect.allows(Ze>>1)){Ze&1?E.extended=Ze>>1:E.value=Ze>>1;break}}}else E.value=0,E.end=this.stream.clipPos(ie+1)}putAction(E,N,j,ie){for(let Ce=0;CeE.bufferLength*4?new ke(j,E.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let E=this.stacks,N=this.minStackPos,j=this.stacks=[],ie,Ce;if(this.bigReductionCount>300&&E.length==1){let[re]=E;for(;re.forceReduce()&&re.stack.length&&re.stack[re.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let re=0;reN)j.push(Ze);else{if(this.advanceStack(Ze,j,E))continue;{ie||(ie=[],Ce=[]),ie.push(Ze);let ct=this.tokens.getMainToken(Ze);Ce.push(ct.value,ct.end)}}break}}if(!j.length){let re=ie&&Rt(ie);if(re)return je&&console.log("Finish with "+this.stackID(re)),this.stackToTree(re);if(this.parser.strict)throw je&&ie&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+N);this.recovering||(this.recovering=5)}if(this.recovering&&ie){let re=this.stoppedAt!=null&&ie[0].pos>this.stoppedAt?ie[0]:this.runRecovery(ie,Ce,j);if(re)return je&&console.log("Force-finish "+this.stackID(re)),this.stackToTree(re.forceAll())}if(this.recovering){let re=this.recovering==1?1:this.recovering*3;if(j.length>re)for(j.sort((Ze,ct)=>ct.score-Ze.score);j.length>re;)j.pop();j.some(Ze=>Ze.reducePos>N)&&this.recovering--}else if(j.length>1){e:for(let re=0;re500&&tt.buffer.length>500)if((Ze.score-tt.score||Ze.buffer.length-tt.buffer.length)>0)j.splice(ct--,1);else{j.splice(re--,1);continue e}}}j.length>12&&j.splice(12,j.length-12)}this.minStackPos=j[0].pos;for(let re=1;re ":"";if(this.stoppedAt!=null&&ie>this.stoppedAt)return E.forceReduce()?E:null;if(this.fragments){let tt=E.curContext&&E.curContext.tracker.strict,Tt=tt?E.curContext.hash:0;for(let st=this.fragments.nodeAt(ie);st;){let zt=this.parser.nodeSet.types[st.type.id]==st.type?Ce.getGoto(E.state,st.type.id):-1;if(zt>-1&&st.length&&(!tt||(st.prop(o.md.contextHash)||0)==Tt))return E.useNode(st,zt),je&&console.log(re+this.stackID(E)+` (via reuse of ${Ce.getName(st.type.id)})`),!0;if(!(st instanceof o.mp)||st.children.length==0||st.positions[0]>0)break;let Dt=st.children[0];if(Dt instanceof o.mp&&st.positions[0]==0)st=Dt;else break}}let Ze=Ce.stateSlot(E.state,4);if(Ze>0)return E.reduce(Ze),je&&console.log(re+this.stackID(E)+` (via always-reduce ${Ce.getName(Ze&65535)})`),!0;if(E.stack.length>=9e3)for(;E.stack.length>6e3&&E.forceReduce(););let ct=this.tokens.getActions(E);for(let tt=0;ttie?N.push(lt):j.push(lt)}return!1}advanceFully(E,N){let j=E.pos;for(;;){if(!this.advanceStack(E,null,null))return!1;if(E.pos>j)return it(E,N),!0}}runRecovery(E,N,j){let ie=null,Ce=!1;for(let re=0;re ":"";if(Ze.deadEnd&&(Ce||(Ce=!0,Ze.restart(),je&&console.log(Tt+this.stackID(Ze)+" (restarted)"),this.advanceFully(Ze,j))))continue;let st=Ze.split(),zt=Tt;for(let Dt=0;st.forceReduce()&&Dt<10&&(je&&console.log(zt+this.stackID(st)+" (via force-reduce)"),!this.advanceFully(st,j));Dt++)je&&(zt=this.stackID(st)+" -> ");for(let Dt of Ze.recoverByInsert(ct))je&&console.log(Tt+this.stackID(Dt)+" (via recover-insert)"),this.advanceFully(Dt,j);this.stream.end>Ze.pos?(tt==Ze.pos&&(tt++,ct=0),Ze.recoverByDelete(ct,tt),je&&console.log(Tt+this.stackID(Ze)+` (via recover-delete ${this.parser.getName(ct)})`),it(Ze,j)):(!ie||ie.scoreXe;class ft{constructor(E){this.start=E.start,this.shift=E.shift||rt,this.reduce=E.reduce||rt,this.reuse=E.reuse||rt,this.hash=E.hash||(()=>0),this.strict=E.strict!==!1}}class Ge extends o._b{constructor(E){if(super(),this.wrappers=[],E.version!=14)throw new RangeError(`Parser version (${E.version}) doesn't match runtime version (14)`);let N=E.nodeNames.split(" ");this.minRepeatTerm=N.length;for(let Ze=0;ZeE.topRules[Ze][1]),ie=[];for(let Ze=0;Ze=0)Ce(Tt,ct,Ze[tt++]);else{let st=Ze[tt+-Tt];for(let zt=-Tt;zt>0;zt--)Ce(Ze[tt++],ct,st);tt++}}}this.nodeSet=new o.Lj(N.map((Ze,ct)=>o.Jq.define({name:ct>=this.minRepeatTerm?void 0:Ze,id:ct,props:ie[ct],top:j.indexOf(ct)>-1,error:ct==0,skipped:E.skippedNodes&&E.skippedNodes.indexOf(ct)>-1}))),E.propSources&&(this.nodeSet=this.nodeSet.extend(...E.propSources)),this.strict=!1,this.bufferLength=o.L3;let re=R(E.tokenData);this.context=E.context,this.specializerSpecs=E.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let Ze=0;Zetypeof Ze=="number"?new te(re,Ze):Ze),this.topRules=E.topRules,this.dialects=E.dialects||{},this.dynamicPrecedences=E.dynamicPrecedences||null,this.tokenPrecTable=E.tokenPrec,this.termNames=E.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(E,N,j){let ie=new We(this,E,N,j);for(let Ce of this.wrappers)ie=Ce(ie,E,N,j);return ie}getGoto(E,N,j=!1){let ie=this.goto;if(N>=ie[0])return-1;for(let Ce=ie[N+1];;){let re=ie[Ce++],Ze=re&1,ct=ie[Ce++];if(Ze&&j)return ct;for(let tt=Ce+(re>>1);Ce0}validAction(E,N){return!!this.allActions(E,j=>j==N?!0:null)}allActions(E,N){let j=this.stateSlot(E,4),ie=j?N(j):void 0;for(let Ce=this.stateSlot(E,1);ie==null;Ce+=3){if(this.data[Ce]==65535)if(this.data[Ce+1]==1)Ce=pt(this.data,Ce+2);else break;ie=N(pt(this.data,Ce+1))}return ie}nextStates(E){let N=[];for(let j=this.stateSlot(E,1);;j+=3){if(this.data[j]==65535)if(this.data[j+1]==1)j=pt(this.data,j+2);else break;if(!(this.data[j+2]&1)){let ie=this.data[j+1];N.some((Ce,re)=>re&1&&Ce==ie)||N.push(this.data[j],ie)}}return N}configure(E){let N=Object.assign(Object.create(Ge.prototype),this);if(E.props&&(N.nodeSet=this.nodeSet.extend(...E.props)),E.top){let j=this.topRules[E.top];if(!j)throw new RangeError(`Invalid top rule name ${E.top}`);N.top=j}return E.tokenizers&&(N.tokenizers=this.tokenizers.map(j=>{let ie=E.tokenizers.find(Ce=>Ce.from==j);return ie?ie.to:j})),E.specializers&&(N.specializers=this.specializers.slice(),N.specializerSpecs=this.specializerSpecs.map((j,ie)=>{let Ce=E.specializers.find(Ze=>Ze.from==j.external);if(!Ce)return j;let re=Object.assign(Object.assign({},j),{external:Ce.to});return N.specializers[ie]=Ee(re),re})),E.contextTracker&&(N.context=E.contextTracker),E.dialect&&(N.dialect=this.parseDialect(E.dialect)),E.strict!=null&&(N.strict=E.strict),E.wrap&&(N.wrappers=N.wrappers.concat(E.wrap)),E.bufferLength!=null&&(N.bufferLength=E.bufferLength),N}hasWrappers(){return this.wrappers.length>0}getName(E){return this.termNames?this.termNames[E]:String(E<=this.maxNode&&this.nodeSet.types[E].name||E)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(E){let N=this.dynamicPrecedences;return N==null?0:N[E]||0}parseDialect(E){let N=Object.keys(this.dialects),j=N.map(()=>!1);if(E)for(let Ce of E.split(" ")){let re=N.indexOf(Ce);re>=0&&(j[re]=!0)}let ie=null;for(let Ce=0;Cej)&&N.p.parser.stateFlag(N.state,2)&&(!E||E.scoreXe.external(N,j)<<1|E}return Xe.get}},33445:function(Ye,Ae,a){var Ar,vi,yi,Mi,ei,qi,Kn,gi,ti,En,un,Oi,xi,ni,ii,Pi,ri,ji,Ni,ci,Ti,zi,ki,Jr,Gl,pr,Vi,Kr,wi,_r,ja,ir,Er,Zr,Ui,br,r,Sr,t,Hl,s,Bo,S,jo,X,Bn,F,ql,xe,zs;"use strict";a.d(Ae,{Z:function(){return Tr}});var o=a(67294),y=a(75533),p=a(59119),v=a(78120),Z=a(41113);const $=n=>{let{state:l}=n,u=l.doc.lineAt(l.selection.main.from),g=$e(n.state,u.from);return g.line?L(n):g.block?he(n):!1};function R(n,l){return({state:u,dispatch:g})=>{if(u.readOnly)return!1;let w=n(l,u);return w?(g(u.update(w)),!0):!1}}const L=R(ke,0),_=null,G=null,te=R(Ne,0),K=null,ye=null,he=R((n,l)=>Ne(n,l,Pe(l)),0);function $e(n,l){let u=n.languageDataAt("commentTokens",l);return u.length?u[0]:{}}const ge=50;function je(n,{open:l,close:u},g,w){let k=n.sliceDoc(g-ge,g),M=n.sliceDoc(w,w+ge),ee=/\s*$/.exec(k)[0].length,de=/^\s*/.exec(M)[0].length,fe=k.length-ee;if(k.slice(fe-l.length,fe)==l&&M.slice(de,de+u.length)==u)return{open:{pos:g-ee,margin:ee&&1},close:{pos:w+de,margin:de&&1}};let pe,Re;w-g<=2*ge?pe=Re=n.sliceDoc(g,w):(pe=n.sliceDoc(g,g+ge),Re=n.sliceDoc(w-ge,w));let ut=/^\s*/.exec(pe)[0].length,dt=/\s*$/.exec(Re)[0].length,Ke=Re.length-dt-u.length;return pe.slice(ut,ut+l.length)==l&&Re.slice(Ke,Ke+u.length)==u?{open:{pos:g+ut+l.length,margin:/\s/.test(pe.charAt(ut+l.length))?1:0},close:{pos:w-dt-u.length,margin:/\s/.test(Re.charAt(Ke-1))?1:0}}:null}function Pe(n){let l=[];for(let u of n.selection.ranges){let g=n.doc.lineAt(u.from),w=u.to<=g.to?g:n.doc.lineAt(u.to),k=l.length-1;k>=0&&l[k].to>g.from?l[k].to=w.to:l.push({from:g.from+/^\s*/.exec(g.text)[0].length,to:w.to})}return l}function Ne(n,l,u=l.selection.ranges){let g=u.map(k=>$e(l,k.from).block);if(!g.every(k=>k))return null;let w=u.map((k,M)=>je(l,g[M],k.from,k.to));if(n!=2&&!w.every(k=>k))return{changes:l.changes(u.map((k,M)=>w[M]?[]:[{from:k.from,insert:g[M].open+" "},{from:k.to,insert:" "+g[M].close}]))};if(n!=1&&w.some(k=>k)){let k=[];for(let M=0,ee;Mw&&(k==M||M>Re.from)){w=Re.from;let ut=/^\s*/.exec(Re.text)[0].length,dt=ut==Re.length,Ke=Re.text.slice(ut,ut+fe.length)==fe?ut:-1;utk.comment<0&&(!k.empty||k.single))){let k=[];for(let{line:ee,token:de,indent:fe,empty:pe,single:Re}of g)(Re||!pe)&&k.push({from:ee.from+fe,insert:de+" "});let M=l.changes(k);return{changes:M,selection:l.selection.map(M,1)}}else if(n!=1&&g.some(k=>k.comment>=0)){let k=[];for(let{line:M,comment:ee,token:de}of g)if(ee>=0){let fe=M.from+ee,pe=fe+de.length;M.text[pe-M.from]==" "&&pe++,k.push({from:fe,to:pe})}return{changes:k}}return null}const ve=v.q6.define(),We=v.q6.define(),it=v.r$.define(),nt=v.r$.define({combine(n){return(0,v.BO)(n,{minDepth:100,newGroupDelay:500,joinToEvent:(l,u)=>u},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(l,u)=>(g,w)=>l(g,w)||u(g,w)})}});function rt(n){let l=0;return n.iterChangedRanges((u,g)=>l=g),l}const ft=v.QQ.define({create(){return Te.empty},update(n,l){let u=l.state.facet(nt),g=l.annotation(ve);if(g){let de=l.docChanged?v.jT.single(rt(l.changes)):void 0,fe=re.fromTransaction(l,de),pe=g.side,Re=pe==0?n.undone:n.done;return fe?Re=Ze(Re,Re.length,u.minDepth,fe):Re=Dt(Re,l.startState.selection),new Te(pe==0?g.rest:Re,pe==0?Re:g.rest)}let w=l.annotation(We);if((w=="full"||w=="before")&&(n=n.isolate()),l.annotation(v.YW.addToHistory)===!1)return l.changes.empty?n:n.addMapping(l.changes.desc);let k=re.fromTransaction(l),M=l.annotation(v.YW.time),ee=l.annotation(v.YW.userEvent);return k?n=n.addChanges(k,M,ee,u,l):l.selection&&(n=n.addSelection(l.startState.selection,M,ee,u.newGroupDelay)),(w=="full"||w=="after")&&(n=n.isolate()),n},toJSON(n){return{done:n.done.map(l=>l.toJSON()),undone:n.undone.map(l=>l.toJSON())}},fromJSON(n){return new Te(n.done.map(re.fromJSON),n.undone.map(re.fromJSON))}});function Ge(n={}){return[ft,nt.of(n),y.tk.domEventHandlers({beforeinput(l,u){let g=l.inputType=="historyUndo"?Ee:l.inputType=="historyRedo"?Xe:null;return g?(l.preventDefault(),g(u)):!1}})]}const pt=null;function Rt(n,l){return function({state:u,dispatch:g}){if(!l&&u.readOnly)return!1;let w=u.field(ft,!1);if(!w)return!1;let k=w.pop(n,u,l);return k?(g(k),!0):!1}}const Ee=Rt(0,!1),Xe=Rt(1,!1),E=Rt(0,!0),N=Rt(1,!0);function j(n){return function(l){let u=l.field(ft,!1);if(!u)return 0;let g=n==0?u.done:u.undone;return g.length-(g.length&&!g[0].changes?1:0)}}const ie=null,Ce=null;class re{constructor(l,u,g,w,k){this.changes=l,this.effects=u,this.mapped=g,this.startSelection=w,this.selectionsAfter=k}setSelAfter(l){return new re(this.changes,this.effects,this.mapped,this.startSelection,l)}toJSON(){var l,u,g;return{changes:(l=this.changes)===null||l===void 0?void 0:l.toJSON(),mapped:(u=this.mapped)===null||u===void 0?void 0:u.toJSON(),startSelection:(g=this.startSelection)===null||g===void 0?void 0:g.toJSON(),selectionsAfter:this.selectionsAfter.map(w=>w.toJSON())}}static fromJSON(l){return new re(l.changes&&v.as.fromJSON(l.changes),[],l.mapped&&v.n0.fromJSON(l.mapped),l.startSelection&&v.jT.fromJSON(l.startSelection),l.selectionsAfter.map(v.jT.fromJSON))}static fromTransaction(l,u){let g=st;for(let w of l.startState.facet(it)){let k=w(l);k.length&&(g=g.concat(k))}return!g.length&&l.changes.empty?null:new re(l.changes.invert(l.startState.doc),g,void 0,u||l.startState.selection,st)}static selection(l){return new re(void 0,st,void 0,void 0,l)}}function Ze(n,l,u,g){let w=l+1>u+20?l-u-1:0,k=n.slice(w,l);return k.push(g),k}function ct(n,l){let u=[],g=!1;return n.iterChangedRanges((w,k)=>u.push(w,k)),l.iterChangedRanges((w,k,M,ee)=>{for(let de=0;de=fe&&M<=pe&&(g=!0)}}),g}function tt(n,l){return n.ranges.length==l.ranges.length&&n.ranges.filter((u,g)=>u.empty!=l.ranges[g].empty).length===0}function Tt(n,l){return n.length?l.length?n.concat(l):n:l}const st=[],zt=200;function Dt(n,l){if(n.length){let u=n[n.length-1],g=u.selectionsAfter.slice(Math.max(0,u.selectionsAfter.length-zt));return g.length&&g[g.length-1].eq(l)?n:(g.push(l),Ze(n,n.length-1,1e9,u.setSelAfter(g)))}else return[re.selection([l])]}function lt(n){let l=n[n.length-1],u=n.slice();return u[n.length-1]=l.setSelAfter(l.selectionsAfter.slice(0,l.selectionsAfter.length-1)),u}function Xt(n,l){if(!n.length)return n;let u=n.length,g=st;for(;u;){let w=en(n[u-1],l,g);if(w.changes&&!w.changes.empty||w.effects.length){let k=n.slice(0,u);return k[u-1]=w,k}else l=w.mapped,u--,g=w.selectionsAfter}return g.length?[re.selection(g)]:st}function en(n,l,u){let g=Tt(n.selectionsAfter.length?n.selectionsAfter.map(ee=>ee.map(l)):st,u);if(!n.changes)return re.selection(g);let w=n.changes.map(l),k=l.mapDesc(n.changes,!0),M=n.mapped?n.mapped.composeDesc(k):k;return new re(w,v.Py.mapEffects(n.effects,l),M,n.startSelection.map(k),g)}const Ht=/^(input\.type|delete)($|\.)/;class Te{constructor(l,u,g=0,w=void 0){this.done=l,this.undone=u,this.prevTime=g,this.prevUserEvent=w}isolate(){return this.prevTime?new Te(this.done,this.undone):this}addChanges(l,u,g,w,k){let M=this.done,ee=M[M.length-1];return ee&&ee.changes&&!ee.changes.empty&&l.changes&&(!g||Ht.test(g))&&(!ee.selectionsAfter.length&&u-this.prevTime0&&u-this.prevTimeu.empty?n.moveByChar(u,l):we(u,l))}function _e(n){return n.textDirectionAt(n.state.selection.main.head)==y.Nm.LTR}const Ct=n=>Ue(n,!_e(n)),Lt=n=>Ue(n,_e(n)),Et=n=>Ue(n,!0),Jt=n=>Ue(n,!1);function Wt(n,l){return ce(n,u=>u.empty?n.moveByGroup(u,l):we(u,l))}const sn=n=>Wt(n,!_e(n)),Le=n=>Wt(n,_e(n)),yt=n=>Wt(n,!0),St=n=>Wt(n,!1),gt=typeof Intl!="undefined"&&Intl.Segmenter?new Intl.Segmenter(void 0,{granularity:"word"}):null;function Mt(n,l,u){let g=n.state.charCategorizer(l.from),w=CharCategory.Space,k=l.from,M=0,ee=!1,de=!1,fe=!1,pe=ut=>{if(ee)return!1;k+=u?ut.length:-ut.length;let dt=g(ut),Ke;if(dt==CharCategory.Word&&ut.charCodeAt(0)<128&&/[\W_]/.test(ut)&&(dt=-1),w==CharCategory.Space&&(w=dt),w!=dt)return!1;if(w==CharCategory.Word)if(ut.toLowerCase()==ut){if(!u&&de)return!1;fe=!0}else if(fe){if(u)return!1;ee=!0}else{if(de&&u&&g(Ke=n.state.sliceDoc(k,k+1))==CharCategory.Word&&Ke.toLowerCase()==Ke)return!1;de=!0}return M++,!0},Re=n.moveByChar(l,u,ut=>(pe(ut),pe));if(gt&&w==CharCategory.Word&&Re.from==l.from+M*(u?1:-1)){let ut=Math.min(l.head,Re.head),dt=Math.max(l.head,Re.head),Ke=n.state.sliceDoc(ut,dt);if(Ke.length>1&&/[\u4E00-\uffff]/.test(Ke)){let Fe=Array.from(gt.segment(Ke));if(Fe.length>1)return u?EditorSelection.cursor(l.head+Fe[1].index,-1):EditorSelection.cursor(Re.head+Fe[Fe.length-1].index,1)}}return Re}function Yt(n,l){return ce(n,u=>u.empty?Mt(n,u,l):we(u,l))}const Pt=n=>Yt(n,!0),Bt=n=>Yt(n,!1);function Qt(n,l,u){if(l.type.prop(u))return!0;let g=l.to-l.from;return g&&(g>2||/[^\s,.;:]/.test(n.sliceDoc(l.from,l.to)))||l.firstChild}function Ut(n,l,u){let g=(0,p.qz)(n).resolveInner(l.head),w=u?Z.md.closedBy:Z.md.openedBy;for(let de=l.head;;){let fe=u?g.childAfter(de):g.childBefore(de);if(!fe)break;Qt(n,fe,w)?g=fe:de=u?fe.to:fe.from}let k=g.type.prop(w),M,ee;return k&&(M=u?(0,p.Um)(n,g.from,1):(0,p.Um)(n,g.to,-1))&&M.matched?ee=u?M.end.to:M.end.from:ee=u?g.to:g.from,v.jT.cursor(ee,u?-1:1)}const _t=n=>ce(n,l=>Ut(n.state,l,!_e(n))),jt=n=>ce(n,l=>Ut(n.state,l,_e(n)));function Vt(n,l){return ce(n,u=>{if(!u.empty)return we(u,l);let g=n.moveVertically(u,l);return g.head!=u.head?g:n.moveToLineBoundary(u,l)})}const hn=n=>Vt(n,!1),ln=n=>Vt(n,!0);function $t(n){let l=n.scrollDOM.clientHeightM.empty?n.moveVertically(M,l,u.height):we(M,l));if(w.eq(g.selection))return!1;let k;if(u.selfScroll){let M=n.coordsAtPos(g.selection.main.head),ee=n.scrollDOM.getBoundingClientRect(),de=ee.top+u.marginTop,fe=ee.bottom-u.marginBottom;M&&M.top>de&&M.bottomzn(n,!1),Tn=n=>zn(n,!0);function An(n,l,u){let g=n.lineBlockAt(l.head),w=n.moveToLineBoundary(l,u);if(w.head==l.head&&w.head!=(u?g.to:g.from)&&(w=n.moveToLineBoundary(l,u,!1)),!u&&w.head==g.from&&g.length){let k=/^\s*/.exec(n.state.sliceDoc(g.from,Math.min(g.from+100,g.to)))[0].length;k&&l.head!=g.from+k&&(w=v.jT.cursor(g.from+k))}return w}const Sn=n=>ce(n,l=>An(n,l,!0)),fn=n=>ce(n,l=>An(n,l,!1)),Qn=n=>ce(n,l=>An(n,l,!_e(n))),On=n=>ce(n,l=>An(n,l,_e(n))),jn=n=>ce(n,l=>v.jT.cursor(n.lineBlockAt(l.head).from,1)),Mn=n=>ce(n,l=>v.jT.cursor(n.lineBlockAt(l.head).to,-1));function Gn(n,l,u){let g=!1,w=z(n.selection,k=>{let M=(0,p.Um)(n,k.head,-1)||(0,p.Um)(n,k.head,1)||k.head>0&&(0,p.Um)(n,k.head-1,1)||k.headGn(n,l,!1),bi=({state:n,dispatch:l})=>Gn(n,l,!0);function kn(n,l){let u=z(n.state.selection,g=>{let w=l(g);return v.jT.range(g.anchor,w.head,w.goalColumn,w.bidiLevel||void 0)});return u.eq(n.state.selection)?!1:(n.dispatch(oe(n.state,u)),!0)}function Wn(n,l){return kn(n,u=>n.moveByChar(u,l))}const Si=n=>Wn(n,!_e(n)),Vn=n=>Wn(n,_e(n)),wn=n=>Wn(n,!0),Nn=n=>Wn(n,!1);function si(n,l){return kn(n,u=>n.moveByGroup(u,l))}const ai=n=>si(n,!_e(n)),Un=n=>si(n,_e(n)),se=n=>si(n,!0),h=n=>si(n,!1);function b(n,l){return kn(n,u=>Mt(n,u,l))}const d=n=>b(n,!0),C=n=>b(n,!1),I=n=>kn(n,l=>Ut(n.state,l,!_e(n))),Y=n=>kn(n,l=>Ut(n.state,l,_e(n)));function H(n,l){return kn(n,u=>n.moveVertically(u,l))}const ue=n=>H(n,!1),Ie=n=>H(n,!0);function qe(n,l){return kn(n,u=>n.moveVertically(u,l,$t(n).height))}const ht=n=>qe(n,!1),At=n=>qe(n,!0),U=n=>kn(n,l=>An(n,l,!0)),Q=n=>kn(n,l=>An(n,l,!1)),B=n=>kn(n,l=>An(n,l,!_e(n))),ne=n=>kn(n,l=>An(n,l,_e(n))),ae=n=>kn(n,l=>v.jT.cursor(n.lineBlockAt(l.head).from)),De=n=>kn(n,l=>v.jT.cursor(n.lineBlockAt(l.head).to)),m=({state:n,dispatch:l})=>(l(oe(n,{anchor:0})),!0),f=({state:n,dispatch:l})=>(l(oe(n,{anchor:n.doc.length})),!0),O=({state:n,dispatch:l})=>(l(oe(n,{anchor:n.selection.main.anchor,head:0})),!0),T=({state:n,dispatch:l})=>(l(oe(n,{anchor:n.selection.main.anchor,head:n.doc.length})),!0),V=({state:n,dispatch:l})=>(l(n.update({selection:{anchor:0,head:n.doc.length},userEvent:"select"})),!0),me=({state:n,dispatch:l})=>{let u=dn(n).map(({from:g,to:w})=>v.jT.range(g,Math.min(w+1,n.doc.length)));return l(n.update({selection:v.jT.create(u),userEvent:"select"})),!0},ze=({state:n,dispatch:l})=>{let u=z(n.selection,g=>{var w;let k=(0,p.qz)(n).resolveInner(g.head,1);for(;!(k.from=g.to||k.to>g.to&&k.from<=g.from||!(!((w=k.parent)===null||w===void 0)&&w.parent));)k=k.parent;return v.jT.range(k.to,k.from)});return l(oe(n,u)),!0},Be=({state:n,dispatch:l})=>{let u=n.selection,g=null;return u.ranges.length>1?g=v.jT.create([u.main]):u.main.empty||(g=v.jT.create([v.jT.cursor(u.main.head)])),g?(l(oe(n,g)),!0):!1};function Je(n,l){if(n.state.readOnly)return!1;let u="delete.selection",{state:g}=n,w=g.changeByRange(k=>{let{from:M,to:ee}=k;if(M==ee){let de=l(M);deM&&(u="delete.forward",de=vt(n,de,!0)),M=Math.min(M,de),ee=Math.max(ee,de)}else M=vt(n,M,!1),ee=vt(n,ee,!0);return M==ee?{range:k}:{changes:{from:M,to:ee},range:v.jT.cursor(M)}});return w.changes.empty?!1:(n.dispatch(g.update(w,{scrollIntoView:!0,userEvent:u,effects:u=="delete.selection"?y.tk.announce.of(g.phrase("Selection deleted")):void 0})),!0)}function vt(n,l,u){if(n instanceof y.tk)for(let g of n.state.facet(y.tk.atomicRanges).map(w=>w(n)))g.between(l,l,(w,k)=>{wl&&(l=u?k:w)});return l}const W=(n,l)=>Je(n,u=>{let{state:g}=n,w=g.doc.lineAt(u),k,M;if(!l&&u>w.from&&uW(n,!1),P=n=>W(n,!0),q=(n,l)=>Je(n,u=>{let g=u,{state:w}=n,k=w.doc.lineAt(g),M=w.charCategorizer(g);for(let ee=null;;){if(g==(l?k.to:k.from)){g==u&&k.number!=(l?w.doc.lines:1)&&(g+=l?1:-1);break}let de=(0,v.cp)(k.text,g-k.from,l)+k.from,fe=k.text.slice(Math.min(g,de)-k.from,Math.max(g,de)-k.from),pe=M(fe);if(ee!=null&&pe!=ee)break;(fe!=" "||g!=u)&&(ee=pe),g=de}return g}),le=n=>q(n,!1),be=n=>q(n,!0),Qe=n=>Je(n,l=>{let u=n.lineBlockAt(l).to;return lJe(n,l=>{let u=n.lineBlockAt(l).from;return l>u?u:Math.max(0,l-1)}),ot=({state:n,dispatch:l})=>{if(n.readOnly)return!1;let u=[];for(let g=0,w="",k=n.doc.iter();;){if(k.next(),k.lineBreak||k.done){let M=w.search(/\s+$/);if(M>-1&&u.push({from:g-(w.length-M),to:g}),k.done)break;w=""}else w=k.value;g+=k.value.length}return u.length?(l(n.update({changes:u,userEvent:"delete"})),!0):!1},Nt=({state:n,dispatch:l})=>{if(n.readOnly)return!1;let u=n.changeByRange(g=>({changes:{from:g.from,to:g.to,insert:v.xv.of(["",""])},range:v.jT.cursor(g.from)}));return l(n.update(u,{scrollIntoView:!0,userEvent:"input"})),!0},tn=({state:n,dispatch:l})=>{if(n.readOnly)return!1;let u=n.changeByRange(g=>{if(!g.empty||g.from==0||g.from==n.doc.length)return{range:g};let w=g.from,k=n.doc.lineAt(w),M=w==k.from?w-1:(0,v.cp)(k.text,w-k.from,!1)+k.from,ee=w==k.to?w+1:(0,v.cp)(k.text,w-k.from,!0)+k.from;return{changes:{from:M,to:ee,insert:n.doc.slice(w,ee).append(n.doc.slice(M,w))},range:v.jT.cursor(ee)}});return u.changes.empty?!1:(l(n.update(u,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function dn(n){let l=[],u=-1;for(let g of n.selection.ranges){let w=n.doc.lineAt(g.from),k=n.doc.lineAt(g.to);if(!g.empty&&g.to==k.from&&(k=n.doc.lineAt(g.to-1)),u>=w.number){let M=l[l.length-1];M.to=k.to,M.ranges.push(g)}else l.push({from:w.from,to:k.to,ranges:[g]});u=k.number+1}return l}function Hn(n,l,u){if(n.readOnly)return!1;let g=[],w=[];for(let k of dn(n)){if(u?k.to==n.doc.length:k.from==0)continue;let M=n.doc.lineAt(u?k.to+1:k.from-1),ee=M.length+1;if(u){g.push({from:k.to,to:M.to},{from:k.from,insert:M.text+n.lineBreak});for(let de of k.ranges)w.push(v.jT.range(Math.min(n.doc.length,de.anchor+ee),Math.min(n.doc.length,de.head+ee)))}else{g.push({from:M.from,to:k.from},{from:k.to,insert:n.lineBreak+M.text});for(let de of k.ranges)w.push(v.jT.range(de.anchor-ee,de.head-ee))}}return g.length?(l(n.update({changes:g,scrollIntoView:!0,selection:v.jT.create(w,n.selection.mainIndex),userEvent:"move.line"})),!0):!1}const qn=({state:n,dispatch:l})=>Hn(n,l,!1),Ei=({state:n,dispatch:l})=>Hn(n,l,!0);function Zi(n,l,u){if(n.readOnly)return!1;let g=[];for(let w of dn(n))u?g.push({from:w.from,insert:n.doc.slice(w.from,w.to)+n.lineBreak}):g.push({from:w.to,insert:n.lineBreak+n.doc.slice(w.from,w.to)});return l(n.update({changes:g,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const Dr=({state:n,dispatch:l})=>Zi(n,l,!1),or=({state:n,dispatch:l})=>Zi(n,l,!0),Xr=n=>{if(n.state.readOnly)return!1;let{state:l}=n,u=l.changes(dn(l).map(({from:w,to:k})=>(w>0?w--:kn.moveVertically(w,!0)).map(u);return n.dispatch({changes:u,selection:g,scrollIntoView:!0,userEvent:"delete.line"}),!0},No=({state:n,dispatch:l})=>(l(n.update(n.replaceSelection(n.lineBreak),{scrollIntoView:!0,userEvent:"input"})),!0);function Ws(n,l){if(/\(\)|\[\]|\{\}/.test(n.sliceDoc(l-1,l+1)))return{from:l,to:l};let u=(0,p.qz)(n).resolveInner(l),g=u.childBefore(l),w=u.childAfter(l),k;return g&&w&&g.to<=l&&w.from>=l&&(k=g.type.prop(Z.md.closedBy))&&k.indexOf(w.name)>-1&&n.doc.lineAt(g.to).from==n.doc.lineAt(w.from).from&&!/\S/.test(n.sliceDoc(g.to,w.from))?{from:g.to,to:w.from}:null}const Bs=js(!1),Vo=js(!0);function js(n){return({state:l,dispatch:u})=>{if(l.readOnly)return!1;let g=l.changeByRange(w=>{let{from:k,to:M}=w,ee=l.doc.lineAt(k),de=!n&&k==M&&Ws(l,k);n&&(k=M=(M<=ee.to?ee:l.doc.lineAt(M)).to);let fe=new p.Gn(l,{simulateBreak:k,simulateDoubleBreak:!!de}),pe=(0,p.K0)(fe,k);for(pe==null&&(pe=(0,v.IS)(/^\s*/.exec(l.doc.lineAt(k).text)[0],l.tabSize));Mee.from&&k{let w=[];for(let M=g.from;M<=g.to;){let ee=n.doc.lineAt(M);ee.number>u&&(g.empty||g.to>ee.from)&&(l(ee,w,g),u=ee.number),M=ee.to+1}let k=n.changes(w);return{changes:w,range:v.jT.range(k.mapPos(g.anchor,1),k.mapPos(g.head,1))}})}const Uo=({state:n,dispatch:l})=>{if(n.readOnly)return!1;let u=Object.create(null),g=new p.Gn(n,{overrideIndentation:k=>{let M=u[k];return M==null?-1:M}}),w=vr(n,(k,M,ee)=>{let de=(0,p.K0)(g,k.from);if(de==null)return;/\S/.test(k.text)||(de=0);let fe=/^\s*/.exec(k.text)[0],pe=(0,p.SS)(n,de);(fe!=pe||ee.fromn.readOnly?!1:(l(n.update(vr(n,(u,g)=>{g.push({from:u.from,insert:n.facet(p.c)})}),{userEvent:"input.indent"})),!0),Ns=({state:n,dispatch:l})=>n.readOnly?!1:(l(n.update(vr(n,(u,g)=>{let w=/^\s*/.exec(u.text)[0];if(!w)return;let k=(0,v.IS)(w,n.tabSize),M=0,ee=(0,p.SS)(n,Math.max(0,k-(0,p.y1)(n)));for(;Mn.selection.ranges.some(u=>!u.empty)?Mr({state:n,dispatch:l}):(l(n.update(n.replaceSelection(" "),{scrollIntoView:!0,userEvent:"input"})),!0),Yr=[{key:"Ctrl-b",run:Ct,shift:Si,preventDefault:!0},{key:"Ctrl-f",run:Lt,shift:Vn},{key:"Ctrl-p",run:hn,shift:ue},{key:"Ctrl-n",run:ln,shift:Ie},{key:"Ctrl-a",run:jn,shift:ae},{key:"Ctrl-e",run:Mn,shift:De},{key:"Ctrl-d",run:P},{key:"Ctrl-h",run:x},{key:"Ctrl-k",run:Qe},{key:"Ctrl-Alt-h",run:le},{key:"Ctrl-o",run:Nt},{key:"Ctrl-t",run:tn},{key:"Ctrl-v",run:Tn}],rs=[{key:"ArrowLeft",run:Ct,shift:Si,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:sn,shift:ai,preventDefault:!0},{mac:"Cmd-ArrowLeft",run:Qn,shift:B,preventDefault:!0},{key:"ArrowRight",run:Lt,shift:Vn,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:Le,shift:Un,preventDefault:!0},{mac:"Cmd-ArrowRight",run:On,shift:ne,preventDefault:!0},{key:"ArrowUp",run:hn,shift:ue,preventDefault:!0},{mac:"Cmd-ArrowUp",run:m,shift:O},{mac:"Ctrl-ArrowUp",run:cn,shift:ht},{key:"ArrowDown",run:ln,shift:Ie,preventDefault:!0},{mac:"Cmd-ArrowDown",run:f,shift:T},{mac:"Ctrl-ArrowDown",run:Tn,shift:At},{key:"PageUp",run:cn,shift:ht},{key:"PageDown",run:Tn,shift:At},{key:"Home",run:fn,shift:Q,preventDefault:!0},{key:"Mod-Home",run:m,shift:O},{key:"End",run:Sn,shift:U,preventDefault:!0},{key:"Mod-End",run:f,shift:T},{key:"Enter",run:Bs},{key:"Mod-a",run:V},{key:"Backspace",run:x,shift:x},{key:"Delete",run:P},{key:"Mod-Backspace",mac:"Alt-Backspace",run:le},{key:"Mod-Delete",mac:"Alt-Delete",run:be},{mac:"Mod-Backspace",run:et},{mac:"Mod-Delete",run:Qe}].concat(Yr.map(n=>({mac:n.key,run:n.run,shift:n.shift}))),Fo=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:_t,shift:I},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:jt,shift:Y},{key:"Alt-ArrowUp",run:qn},{key:"Shift-Alt-ArrowUp",run:Dr},{key:"Alt-ArrowDown",run:Ei},{key:"Shift-Alt-ArrowDown",run:or},{key:"Escape",run:Be},{key:"Mod-Enter",run:Vo},{key:"Alt-l",mac:"Ctrl-l",run:me},{key:"Mod-i",run:ze,preventDefault:!0},{key:"Mod-[",run:Ns},{key:"Mod-]",run:Mr},{key:"Mod-Alt-\\",run:Uo},{key:"Shift-Mod-k",run:Xr},{key:"Shift-Mod-\\",run:li},{key:"Mod-/",run:$},{key:"Alt-A",run:te}].concat(rs),Vs={key:"Tab",run:Mr,shift:Ns},Kl=null,Us=(()=>[(0,y.AE)(),Ge(),(0,y.Uw)(),(0,p.nF)(p.R_,{fallback:!0}),y.$f.of([...Fo,...D])])();function mt(n){return new p.ri(p.il.define(n))}function Wi(n){return a.e(1390).then(a.bind(a,21390)).then(l=>l.sql({dialect:l[n]}))}const Lr=[p.c6.of({name:"C",extensions:["c","h","ino"],load(){return a.e(1639).then(a.bind(a,31639)).then(n=>n.cpp())}}),p.c6.of({name:"C++",alias:["cpp"],extensions:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],load(){return a.e(1639).then(a.bind(a,31639)).then(n=>n.cpp())}}),p.c6.of({name:"CQL",alias:["cassandra"],extensions:["cql"],load(){return Wi("Cassandra")}}),p.c6.of({name:"CSS",extensions:["css"],load(){return Promise.resolve().then(a.bind(a,48120)).then(n=>n.css())}}),p.c6.of({name:"HTML",alias:["xhtml"],extensions:["html","htm","handlebars","hbs"],load(){return Promise.resolve().then(a.bind(a,82261)).then(n=>n.html())}}),p.c6.of({name:"Java",extensions:["java"],load(){return a.e(310).then(a.bind(a,60310)).then(n=>n.java())}}),p.c6.of({name:"JavaScript",alias:["ecmascript","js","node"],extensions:["js","mjs","cjs"],load(){return Promise.resolve().then(a.bind(a,122)).then(n=>n.javascript())}}),p.c6.of({name:"JSON",alias:["json5"],extensions:["json","map"],load(){return a.e(9155).then(a.bind(a,9155)).then(n=>n.json())}}),p.c6.of({name:"JSX",extensions:["jsx"],load(){return Promise.resolve().then(a.bind(a,122)).then(n=>n.javascript({jsx:!0}))}}),p.c6.of({name:"LESS",extensions:["less"],load(){return a.e(3747).then(a.bind(a,63747)).then(n=>n.less())}}),p.c6.of({name:"MariaDB SQL",load(){return Wi("MariaSQL")}}),p.c6.of({name:"Markdown",extensions:["md","markdown","mkd"],load(){return Promise.resolve().then(a.bind(a,48825)).then(n=>n.markdown())}}),p.c6.of({name:"MS SQL",load(){return Wi("MSSQL")}}),p.c6.of({name:"MySQL",load(){return Wi("MySQL")}}),p.c6.of({name:"PHP",extensions:["php","php3","php4","php5","php7","phtml"],load(){return a.e(2386).then(a.bind(a,12386)).then(n=>n.php())}}),p.c6.of({name:"PLSQL",extensions:["pls"],load(){return Wi("PLSQL")}}),p.c6.of({name:"PostgreSQL",load(){return Wi("PostgreSQL")}}),p.c6.of({name:"Python",extensions:["BUILD","bzl","py","pyw"],filename:/^(BUCK|BUILD)$/,load(){return a.e(3236).then(a.bind(a,33236)).then(n=>n.python())}}),p.c6.of({name:"Rust",extensions:["rs"],load(){return a.e(2200).then(a.bind(a,52200)).then(n=>n.rust())}}),p.c6.of({name:"Sass",extensions:["sass"],load(){return a.e(2554).then(a.bind(a,12554)).then(n=>n.sass({indented:!0}))}}),p.c6.of({name:"SCSS",extensions:["scss"],load(){return a.e(2554).then(a.bind(a,12554)).then(n=>n.sass())}}),p.c6.of({name:"SQL",extensions:["sql"],load(){return Wi("StandardSQL")}}),p.c6.of({name:"SQLite",load(){return Wi("SQLite")}}),p.c6.of({name:"TSX",extensions:["tsx"],load(){return Promise.resolve().then(a.bind(a,122)).then(n=>n.javascript({jsx:!0,typescript:!0}))}}),p.c6.of({name:"TypeScript",alias:["ts"],extensions:["ts"],load(){return Promise.resolve().then(a.bind(a,122)).then(n=>n.javascript({typescript:!0}))}}),p.c6.of({name:"WebAssembly",extensions:["wat","wast"],load(){return a.e(9972).then(a.bind(a,9972)).then(n=>n.wast())}}),p.c6.of({name:"XML",alias:["rss","wsdl","xsd"],extensions:["xml","xsl","xsd","svg"],load(){return a.e(8813).then(a.bind(a,68813)).then(n=>n.xml())}}),p.c6.of({name:"APL",extensions:["dyalog","apl"],load(){return a.e(870).then(a.bind(a,90870)).then(n=>mt(n.apl))}}),p.c6.of({name:"PGP",alias:["asciiarmor"],extensions:["asc","pgp","sig"],load(){return a.e(8029).then(a.bind(a,58029)).then(n=>mt(n.asciiArmor))}}),p.c6.of({name:"ASN.1",extensions:["asn","asn1"],load(){return a.e(3203).then(a.bind(a,93203)).then(n=>mt(n.asn1({})))}}),p.c6.of({name:"Asterisk",filename:/^extensions\.conf$/i,load(){return a.e(5648).then(a.bind(a,15648)).then(n=>mt(n.asterisk))}}),p.c6.of({name:"Brainfuck",extensions:["b","bf"],load(){return a.e(2675).then(a.bind(a,2675)).then(n=>mt(n.brainfuck))}}),p.c6.of({name:"Cobol",extensions:["cob","cpy"],load(){return a.e(8915).then(a.bind(a,68915)).then(n=>mt(n.cobol))}}),p.c6.of({name:"C#",alias:["csharp","cs"],extensions:["cs"],load(){return a.e(7917).then(a.bind(a,67917)).then(n=>mt(n.csharp))}}),p.c6.of({name:"Clojure",extensions:["clj","cljc","cljx"],load(){return a.e(2406).then(a.bind(a,72406)).then(n=>mt(n.clojure))}}),p.c6.of({name:"ClojureScript",extensions:["cljs"],load(){return a.e(2406).then(a.bind(a,72406)).then(n=>mt(n.clojure))}}),p.c6.of({name:"Closure Stylesheets (GSS)",extensions:["gss"],load(){return a.e(2136).then(a.bind(a,62136)).then(n=>mt(n.gss))}}),p.c6.of({name:"CMake",extensions:["cmake","cmake.in"],filename:/^CMakeLists\.txt$/,load(){return a.e(889).then(a.bind(a,70889)).then(n=>mt(n.cmake))}}),p.c6.of({name:"CoffeeScript",alias:["coffee","coffee-script"],extensions:["coffee"],load(){return a.e(9558).then(a.bind(a,29558)).then(n=>mt(n.coffeeScript))}}),p.c6.of({name:"Common Lisp",alias:["lisp"],extensions:["cl","lisp","el"],load(){return a.e(1446).then(a.bind(a,61446)).then(n=>mt(n.commonLisp))}}),p.c6.of({name:"Cypher",extensions:["cyp","cypher"],load(){return a.e(673).then(a.bind(a,20673)).then(n=>mt(n.cypher))}}),p.c6.of({name:"Cython",extensions:["pyx","pxd","pxi"],load(){return a.e(4323).then(a.bind(a,74323)).then(n=>mt(n.cython))}}),p.c6.of({name:"Crystal",extensions:["cr"],load(){return a.e(2602).then(a.bind(a,62602)).then(n=>mt(n.crystal))}}),p.c6.of({name:"D",extensions:["d"],load(){return a.e(1660).then(a.bind(a,11660)).then(n=>mt(n.d))}}),p.c6.of({name:"Dart",extensions:["dart"],load(){return a.e(7917).then(a.bind(a,67917)).then(n=>mt(n.dart))}}),p.c6.of({name:"diff",extensions:["diff","patch"],load(){return a.e(7475).then(a.bind(a,87475)).then(n=>mt(n.diff))}}),p.c6.of({name:"Dockerfile",filename:/^Dockerfile$/,load(){return a.e(4812).then(a.bind(a,34812)).then(n=>mt(n.dockerFile))}}),p.c6.of({name:"DTD",extensions:["dtd"],load(){return a.e(6991).then(a.bind(a,76991)).then(n=>mt(n.dtd))}}),p.c6.of({name:"Dylan",extensions:["dylan","dyl","intr"],load(){return a.e(4144).then(a.bind(a,24144)).then(n=>mt(n.dylan))}}),p.c6.of({name:"EBNF",load(){return a.e(2040).then(a.bind(a,82040)).then(n=>mt(n.ebnf))}}),p.c6.of({name:"ECL",extensions:["ecl"],load(){return a.e(7315).then(a.bind(a,37315)).then(n=>mt(n.ecl))}}),p.c6.of({name:"edn",extensions:["edn"],load(){return a.e(2406).then(a.bind(a,72406)).then(n=>mt(n.clojure))}}),p.c6.of({name:"Eiffel",extensions:["e"],load(){return a.e(7525).then(a.bind(a,87525)).then(n=>mt(n.eiffel))}}),p.c6.of({name:"Elm",extensions:["elm"],load(){return a.e(8770).then(a.bind(a,28770)).then(n=>mt(n.elm))}}),p.c6.of({name:"Erlang",extensions:["erl"],load(){return a.e(7590).then(a.bind(a,53482)).then(n=>mt(n.erlang))}}),p.c6.of({name:"Esper",load(){return a.e(9607).then(a.bind(a,54050)).then(n=>mt(n.esper))}}),p.c6.of({name:"Factor",extensions:["factor"],load(){return a.e(7001).then(a.bind(a,87001)).then(n=>mt(n.factor))}}),p.c6.of({name:"FCL",load(){return a.e(7663).then(a.bind(a,77663)).then(n=>mt(n.fcl))}}),p.c6.of({name:"Forth",extensions:["forth","fth","4th"],load(){return a.e(8393).then(a.bind(a,68393)).then(n=>mt(n.forth))}}),p.c6.of({name:"Fortran",extensions:["f","for","f77","f90","f95"],load(){return a.e(8283).then(a.bind(a,8283)).then(n=>mt(n.fortran))}}),p.c6.of({name:"F#",alias:["fsharp"],extensions:["fs"],load(){return a.e(6121).then(a.bind(a,96121)).then(n=>mt(n.fSharp))}}),p.c6.of({name:"Gas",extensions:["s"],load(){return a.e(9781).then(a.bind(a,39781)).then(n=>mt(n.gas))}}),p.c6.of({name:"Gherkin",extensions:["feature"],load(){return a.e(2542).then(a.bind(a,2542)).then(n=>mt(n.gherkin))}}),p.c6.of({name:"Go",extensions:["go"],load(){return a.e(8910).then(a.bind(a,48910)).then(n=>mt(n.go))}}),p.c6.of({name:"Groovy",extensions:["groovy","gradle"],filename:/^Jenkinsfile$/,load(){return a.e(3883).then(a.bind(a,23883)).then(n=>mt(n.groovy))}}),p.c6.of({name:"Haskell",extensions:["hs"],load(){return a.e(5372).then(a.bind(a,95372)).then(n=>mt(n.haskell))}}),p.c6.of({name:"Haxe",extensions:["hx"],load(){return a.e(3509).then(a.bind(a,63509)).then(n=>mt(n.haxe))}}),p.c6.of({name:"HXML",extensions:["hxml"],load(){return a.e(3509).then(a.bind(a,63509)).then(n=>mt(n.hxml))}}),p.c6.of({name:"HTTP",load(){return a.e(6395).then(a.bind(a,36395)).then(n=>mt(n.http))}}),p.c6.of({name:"IDL",extensions:["pro"],load(){return a.e(2314).then(a.bind(a,22314)).then(n=>mt(n.idl))}}),p.c6.of({name:"JSON-LD",alias:["jsonld"],extensions:["jsonld"],load(){return a.e(9296).then(a.bind(a,59296)).then(n=>mt(n.jsonld))}}),p.c6.of({name:"Jinja2",extensions:["j2","jinja","jinja2"],load(){return a.e(1084).then(a.bind(a,41084)).then(n=>mt(n.jinja2))}}),p.c6.of({name:"Julia",extensions:["jl"],load(){return a.e(6092).then(a.bind(a,76092)).then(n=>mt(n.julia))}}),p.c6.of({name:"Kotlin",extensions:["kt"],load(){return a.e(7917).then(a.bind(a,67917)).then(n=>mt(n.kotlin))}}),p.c6.of({name:"LiveScript",alias:["ls"],extensions:["ls"],load(){return a.e(402).then(a.bind(a,60402)).then(n=>mt(n.liveScript))}}),p.c6.of({name:"Lua",extensions:["lua"],load(){return a.e(3519).then(a.bind(a,3519)).then(n=>mt(n.lua))}}),p.c6.of({name:"mIRC",extensions:["mrc"],load(){return a.e(5134).then(a.bind(a,65134)).then(n=>mt(n.mirc))}}),p.c6.of({name:"Mathematica",extensions:["m","nb","wl","wls"],load(){return a.e(7213).then(a.bind(a,37213)).then(n=>mt(n.mathematica))}}),p.c6.of({name:"Modelica",extensions:["mo"],load(){return a.e(305).then(a.bind(a,40305)).then(n=>mt(n.modelica))}}),p.c6.of({name:"MUMPS",extensions:["mps"],load(){return a.e(7988).then(a.bind(a,17988)).then(n=>mt(n.mumps))}}),p.c6.of({name:"Mbox",extensions:["mbox"],load(){return a.e(9121).then(a.bind(a,29121)).then(n=>mt(n.mbox))}}),p.c6.of({name:"Nginx",filename:/nginx.*\.conf$/i,load(){return a.e(8561).then(a.bind(a,78561)).then(n=>mt(n.nginx))}}),p.c6.of({name:"NSIS",extensions:["nsh","nsi"],load(){return a.e(7370).then(a.bind(a,67370)).then(n=>mt(n.nsis))}}),p.c6.of({name:"NTriples",extensions:["nt","nq"],load(){return a.e(3314).then(a.bind(a,43314)).then(n=>mt(n.ntriples))}}),p.c6.of({name:"Objective-C",alias:["objective-c","objc"],extensions:["m"],load(){return a.e(7917).then(a.bind(a,67917)).then(n=>mt(n.objectiveC))}}),p.c6.of({name:"Objective-C++",alias:["objective-c++","objc++"],extensions:["mm"],load(){return a.e(7917).then(a.bind(a,67917)).then(n=>mt(n.objectiveCpp))}}),p.c6.of({name:"OCaml",extensions:["ml","mli","mll","mly"],load(){return a.e(6121).then(a.bind(a,96121)).then(n=>mt(n.oCaml))}}),p.c6.of({name:"Octave",extensions:["m"],load(){return a.e(3283).then(a.bind(a,33283)).then(n=>mt(n.octave))}}),p.c6.of({name:"Oz",extensions:["oz"],load(){return a.e(4796).then(a.bind(a,94796)).then(n=>mt(n.oz))}}),p.c6.of({name:"Pascal",extensions:["p","pas"],load(){return a.e(590).then(a.bind(a,44163)).then(n=>mt(n.pascal))}}),p.c6.of({name:"Perl",extensions:["pl","pm"],load(){return a.e(4293).then(a.bind(a,94293)).then(n=>mt(n.perl))}}),p.c6.of({name:"Pig",extensions:["pig"],load(){return a.e(3482).then(a.bind(a,33482)).then(n=>mt(n.pig))}}),p.c6.of({name:"PowerShell",extensions:["ps1","psd1","psm1"],load(){return a.e(7421).then(a.bind(a,37421)).then(n=>mt(n.powerShell))}}),p.c6.of({name:"Properties files",alias:["ini","properties"],extensions:["properties","ini","in"],load(){return a.e(9071).then(a.bind(a,69071)).then(n=>mt(n.properties))}}),p.c6.of({name:"ProtoBuf",extensions:["proto"],load(){return a.e(8142).then(a.bind(a,78142)).then(n=>mt(n.protobuf))}}),p.c6.of({name:"Puppet",extensions:["pp"],load(){return a.e(3993).then(a.bind(a,83993)).then(n=>mt(n.puppet))}}),p.c6.of({name:"Q",extensions:["q"],load(){return a.e(228).then(a.bind(a,10228)).then(n=>mt(n.q))}}),p.c6.of({name:"R",alias:["rscript"],extensions:["r","R"],load(){return a.e(7365).then(a.bind(a,57365)).then(n=>mt(n.r))}}),p.c6.of({name:"RPM Changes",load(){return a.e(8171).then(a.bind(a,82885)).then(n=>mt(n.rpmChanges))}}),p.c6.of({name:"RPM Spec",extensions:["spec"],load(){return a.e(8171).then(a.bind(a,82885)).then(n=>mt(n.rpmSpec))}}),p.c6.of({name:"Ruby",alias:["jruby","macruby","rake","rb","rbx"],extensions:["rb"],filename:/^(Gemfile|Rakefile)$/,load(){return a.e(4439).then(a.bind(a,24439)).then(n=>mt(n.ruby))}}),p.c6.of({name:"SAS",extensions:["sas"],load(){return a.e(1770).then(a.bind(a,1770)).then(n=>mt(n.sas))}}),p.c6.of({name:"Scala",extensions:["scala"],load(){return a.e(7917).then(a.bind(a,67917)).then(n=>mt(n.scala))}}),p.c6.of({name:"Scheme",extensions:["scm","ss"],load(){return a.e(5879).then(a.bind(a,95879)).then(n=>mt(n.scheme))}}),p.c6.of({name:"Shell",alias:["bash","sh","zsh"],extensions:["sh","ksh","bash"],filename:/^PKGBUILD$/,load(){return a.e(4879).then(a.bind(a,44879)).then(n=>mt(n.shell))}}),p.c6.of({name:"Sieve",extensions:["siv","sieve"],load(){return a.e(9713).then(a.bind(a,9713)).then(n=>mt(n.sieve))}}),p.c6.of({name:"Smalltalk",extensions:["st"],load(){return a.e(1873).then(a.bind(a,11873)).then(n=>mt(n.smalltalk))}}),p.c6.of({name:"Solr",load(){return a.e(7762).then(a.bind(a,17762)).then(n=>mt(n.solr))}}),p.c6.of({name:"SML",extensions:["sml","sig","fun","smackspec"],load(){return a.e(6121).then(a.bind(a,96121)).then(n=>mt(n.sml))}}),p.c6.of({name:"SPARQL",alias:["sparul"],extensions:["rq","sparql"],load(){return a.e(370).then(a.bind(a,70370)).then(n=>mt(n.sparql))}}),p.c6.of({name:"Spreadsheet",alias:["excel","formula"],load(){return a.e(7601).then(a.bind(a,97601)).then(n=>mt(n.spreadsheet))}}),p.c6.of({name:"Squirrel",extensions:["nut"],load(){return a.e(7917).then(a.bind(a,67917)).then(n=>mt(n.squirrel))}}),p.c6.of({name:"Stylus",extensions:["styl"],load(){return a.e(8007).then(a.bind(a,28007)).then(n=>mt(n.stylus))}}),p.c6.of({name:"Swift",extensions:["swift"],load(){return a.e(6062).then(a.bind(a,66062)).then(n=>mt(n.swift))}}),p.c6.of({name:"sTeX",load(){return a.e(6732).then(a.bind(a,86732)).then(n=>mt(n.stex))}}),p.c6.of({name:"LaTeX",alias:["tex"],extensions:["text","ltx","tex"],load(){return a.e(6732).then(a.bind(a,86732)).then(n=>mt(n.stex))}}),p.c6.of({name:"SystemVerilog",extensions:["v","sv","svh"],load(){return a.e(2119).then(a.bind(a,52119)).then(n=>mt(n.verilog))}}),p.c6.of({name:"Tcl",extensions:["tcl"],load(){return a.e(3465).then(a.bind(a,43465)).then(n=>mt(n.tcl))}}),p.c6.of({name:"Textile",extensions:["textile"],load(){return a.e(177).then(a.bind(a,90177)).then(n=>mt(n.textile))}}),p.c6.of({name:"TiddlyWiki",load(){return a.e(4511).then(a.bind(a,34511)).then(n=>mt(n.tiddlyWiki))}}),p.c6.of({name:"Tiki wiki",load(){return a.e(6471).then(a.bind(a,36471)).then(n=>mt(n.tiki))}}),p.c6.of({name:"TOML",extensions:["toml"],load(){return a.e(6443).then(a.bind(a,96443)).then(n=>mt(n.toml))}}),p.c6.of({name:"Troff",extensions:["1","2","3","4","5","6","7","8","9"],load(){return a.e(1920).then(a.bind(a,71920)).then(n=>mt(n.troff))}}),p.c6.of({name:"TTCN",extensions:["ttcn","ttcn3","ttcnpp"],load(){return a.e(6665).then(a.bind(a,66665)).then(n=>mt(n.ttcn))}}),p.c6.of({name:"TTCN_CFG",extensions:["cfg"],load(){return a.e(9831).then(a.bind(a,29831)).then(n=>mt(n.ttcnCfg))}}),p.c6.of({name:"Turtle",extensions:["ttl"],load(){return a.e(5815).then(a.bind(a,15815)).then(n=>mt(n.turtle))}}),p.c6.of({name:"Web IDL",extensions:["webidl"],load(){return a.e(6692).then(a.bind(a,26692)).then(n=>mt(n.webIDL))}}),p.c6.of({name:"VB.NET",extensions:["vb"],load(){return a.e(4212).then(a.bind(a,44212)).then(n=>mt(n.vb))}}),p.c6.of({name:"VBScript",extensions:["vbs"],load(){return a.e(1650).then(a.bind(a,31650)).then(n=>mt(n.vbScript))}}),p.c6.of({name:"Velocity",extensions:["vtl"],load(){return a.e(617).then(a.bind(a,90617)).then(n=>mt(n.velocity))}}),p.c6.of({name:"Verilog",extensions:["v"],load(){return a.e(2119).then(a.bind(a,52119)).then(n=>mt(n.verilog))}}),p.c6.of({name:"VHDL",extensions:["vhd","vhdl"],load(){return a.e(5819).then(a.bind(a,5819)).then(n=>mt(n.vhdl))}}),p.c6.of({name:"XQuery",extensions:["xy","xquery"],load(){return a.e(5753).then(a.bind(a,35753)).then(n=>mt(n.xQuery))}}),p.c6.of({name:"Yacas",extensions:["ys"],load(){return a.e(9232).then(a.bind(a,69232)).then(n=>mt(n.yacas))}}),p.c6.of({name:"YAML",alias:["yml"],extensions:["yaml","yml"],load(){return a.e(2877).then(a.bind(a,82877)).then(n=>mt(n.yaml))}}),p.c6.of({name:"Z80",extensions:["z80"],load(){return a.e(1053).then(a.bind(a,21053)).then(n=>mt(n.z80))}}),p.c6.of({name:"MscGen",extensions:["mscgen","mscin","msc"],load(){return a.e(758).then(a.bind(a,30758)).then(n=>mt(n.mscgen))}}),p.c6.of({name:"X\xF9",extensions:["xu"],load(){return a.e(758).then(a.bind(a,30758)).then(n=>mt(n.xu))}}),p.c6.of({name:"MsGenny",extensions:["msgenny"],load(){return a.e(758).then(a.bind(a,30758)).then(n=>mt(n.msgenny))}}),p.c6.of({name:"Vue",extensions:["vue"],load(){return a.e(520).then(a.bind(a,520)).then(n=>n.vue())}}),p.c6.of({name:"Angular Template",load(){return a.e(1706).then(a.bind(a,91706)).then(n=>n.angular())}})];var Ir=a(48825),kt=a(35524);var er=Object.assign||function(n){for(var l=1;l1&&arguments[1]!==void 0?arguments[1]:{},g=window.Promise||function(nn){function Ft(){}nn(Ft,Ft)},w=function(nn){var Ft=nn.target;if(Ft===Xn){Ke();return}It.indexOf(Ft)!==-1&&Fe({target:Ft})},k=function(){if(!(qt||!Ot.original)){var nn=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(Kt-nn)>Gt.scrollOffset&&setTimeout(Ke,150)}},M=function(nn){var Ft=nn.key||nn.keyCode;(Ft==="Escape"||Ft==="Esc"||Ft===27)&&Ke()},ee=function(){var nn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ft=nn;if(nn.background&&(Xn.style.background=nn.background),nn.container&&nn.container instanceof Object&&(Ft.container=er({},Gt.container,nn.container)),nn.template){var $n=Wr(nn.template)?nn.template:document.querySelector(nn.template);Ft.template=$n}return Gt=er({},Gt,Ft),It.forEach(function(Dn){Dn.dispatchEvent(lr("medium-zoom:update",{detail:{zoom:vn}}))}),vn},de=function(){var nn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return n(er({},Gt,nn))},fe=function(){for(var nn=arguments.length,Ft=Array(nn),$n=0;$n0?Ft.reduce(function(pn,Ln){return[].concat(pn,Ri(Ln))},[]):It;return Dn.forEach(function(pn){pn.classList.remove("medium-zoom-image"),pn.dispatchEvent(lr("medium-zoom:detach",{detail:{zoom:vn}}))}),It=It.filter(function(pn){return Dn.indexOf(pn)===-1}),vn},Re=function(nn,Ft){var $n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return It.forEach(function(Dn){Dn.addEventListener("medium-zoom:"+nn,Ft,$n)}),on.push({type:"medium-zoom:"+nn,listener:Ft,options:$n}),vn},ut=function(nn,Ft){var $n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return It.forEach(function(Dn){Dn.removeEventListener("medium-zoom:"+nn,Ft,$n)}),on=on.filter(function(Dn){return!(Dn.type==="medium-zoom:"+nn&&Dn.listener.toString()===Ft.toString())}),vn},dt=function(){var nn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ft=nn.target,$n=function(){var pn={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},Ln=void 0,Fn=void 0;if(Gt.container)if(Gt.container instanceof Object)pn=er({},pn,Gt.container),Ln=pn.width-pn.left-pn.right-Gt.margin*2,Fn=pn.height-pn.top-pn.bottom-Gt.margin*2;else{var Ai=Wr(Gt.container)?Gt.container:document.querySelector(Gt.container),ui=Ai.getBoundingClientRect(),fi=ui.width,di=ui.height,Ji=ui.left,mr=ui.top;pn=er({},pn,{width:fi,height:di,left:Ji,top:mr})}Ln=Ln||pn.width-Gt.margin*2,Fn=Fn||pn.height-Gt.margin*2;var Ki=Ot.zoomedHd||Ot.original,Xo=Fs(Ki)?Ln:Ki.naturalWidth||Ln,Mo=Fs(Ki)?Fn:Ki.naturalHeight||Fn,Rr=Ki.getBoundingClientRect(),Yo=Rr.top,Lo=Rr.left,es=Rr.width,ts=Rr.height,Ms=Math.min(Math.max(es,Xo),Ln)/es,Io=Math.min(Math.max(ts,Mo),Fn)/ts,rr=Math.min(Ms,Io),ns=(-Lo+(Ln-es)/2+Gt.margin+pn.left)/rr,sr=(-Yo+(Fn-ts)/2+Gt.margin+pn.top)/rr,zo="scale("+rr+") translate3d("+ns+"px, "+sr+"px, 0)";Ot.zoomed.style.transform=zo,Ot.zoomedHd&&(Ot.zoomedHd.style.transform=zo)};return new g(function(Dn){if(Ft&&It.indexOf(Ft)===-1){Dn(vn);return}var pn=function fi(){qt=!1,Ot.zoomed.removeEventListener("transitionend",fi),Ot.original.dispatchEvent(lr("medium-zoom:opened",{detail:{zoom:vn}})),Dn(vn)};if(Ot.zoomed){Dn(vn);return}if(Ft)Ot.original=Ft;else if(It.length>0){var Ln=It;Ot.original=Ln[0]}else{Dn(vn);return}if(Ot.original.dispatchEvent(lr("medium-zoom:open",{detail:{zoom:vn}})),Kt=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,qt=!0,Ot.zoomed=Gs(Ot.original),document.body.appendChild(Xn),Gt.template){var Fn=Wr(Gt.template)?Gt.template:document.querySelector(Gt.template);Ot.template=document.createElement("div"),Ot.template.appendChild(Fn.content.cloneNode(!0)),document.body.appendChild(Ot.template)}if(Ot.original.parentElement&&Ot.original.parentElement.tagName==="PICTURE"&&Ot.original.currentSrc&&(Ot.zoomed.src=Ot.original.currentSrc),document.body.appendChild(Ot.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),Ot.original.classList.add("medium-zoom-image--hidden"),Ot.zoomed.classList.add("medium-zoom-image--opened"),Ot.zoomed.addEventListener("click",Ke),Ot.zoomed.addEventListener("transitionend",pn),Ot.original.getAttribute("data-zoom-src")){Ot.zoomedHd=Ot.zoomed.cloneNode(),Ot.zoomedHd.removeAttribute("srcset"),Ot.zoomedHd.removeAttribute("sizes"),Ot.zoomedHd.removeAttribute("loading"),Ot.zoomedHd.src=Ot.zoomed.getAttribute("data-zoom-src"),Ot.zoomedHd.onerror=function(){clearInterval(Ai),console.warn("Unable to reach the zoom image target "+Ot.zoomedHd.src),Ot.zoomedHd=null,$n()};var Ai=setInterval(function(){Ot.zoomedHd.complete&&(clearInterval(Ai),Ot.zoomedHd.classList.add("medium-zoom-image--opened"),Ot.zoomedHd.addEventListener("click",Ke),document.body.appendChild(Ot.zoomedHd),$n())},10)}else if(Ot.original.hasAttribute("srcset")){Ot.zoomedHd=Ot.zoomed.cloneNode(),Ot.zoomedHd.removeAttribute("sizes"),Ot.zoomedHd.removeAttribute("loading");var ui=Ot.zoomedHd.addEventListener("load",function(){Ot.zoomedHd.removeEventListener("load",ui),Ot.zoomedHd.classList.add("medium-zoom-image--opened"),Ot.zoomedHd.addEventListener("click",Ke),document.body.appendChild(Ot.zoomedHd),$n()})}else $n()})},Ke=function(){return new g(function(nn){if(qt||!Ot.original){nn(vn);return}var Ft=function $n(){Ot.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(Ot.zoomed),Ot.zoomedHd&&document.body.removeChild(Ot.zoomedHd),document.body.removeChild(Xn),Ot.zoomed.classList.remove("medium-zoom-image--opened"),Ot.template&&document.body.removeChild(Ot.template),qt=!1,Ot.zoomed.removeEventListener("transitionend",$n),Ot.original.dispatchEvent(lr("medium-zoom:closed",{detail:{zoom:vn}})),Ot.original=null,Ot.zoomed=null,Ot.zoomedHd=null,Ot.template=null,nn(vn)};qt=!0,document.body.classList.remove("medium-zoom--opened"),Ot.zoomed.style.transform="",Ot.zoomedHd&&(Ot.zoomedHd.style.transform=""),Ot.template&&(Ot.template.style.transition="opacity 150ms",Ot.template.style.opacity=0),Ot.original.dispatchEvent(lr("medium-zoom:close",{detail:{zoom:vn}})),Ot.zoomed.addEventListener("transitionend",Ft)})},Fe=function(){var nn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ft=nn.target;return Ot.original?Ke():dt({target:Ft})},at=function(){return Gt},xt=function(){return It},bt=function(){return Ot.original},It=[],on=[],qt=!1,Kt=0,Gt=u,Ot={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(l)==="[object Object]"?Gt=l:(l||typeof l=="string")&&fe(l),Gt=er({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},Gt);var Xn=Di(Gt.background);document.addEventListener("click",w),document.addEventListener("keyup",M),document.addEventListener("scroll",k),window.addEventListener("resize",Ke);var vn={open:dt,close:Ke,toggle:Fe,update:ee,clone:de,attach:fe,detach:pe,on:Re,off:ut,getOptions:at,getImages:xt,getZoomedImage:bt};return vn};function qs(n,l){l===void 0&&(l={});var u=l.insertAt;if(!(!n||typeof document=="undefined")){var g=document.head||document.getElementsByTagName("head")[0],w=document.createElement("style");w.type="text/css",u==="top"&&g.firstChild?g.insertBefore(w,g.firstChild):g.appendChild(w),w.styleSheet?w.styleSheet.cssText=n:w.appendChild(document.createTextNode(n))}}var Js=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";qs(Js);var Ks=Hs,Ho=a(20640),_s=a(9980);const eo=new Set([!0,!1,"alt","title"]);function ss(n,l){return(Array.isArray(n)?n:[]).filter(([u])=>u!==l)}function os(n,l){n&&n.attrs&&(n.attrs=ss(n.attrs,l))}function to(n,l){if(!eo.has(n))throw new TypeError(`figcaption must be one of: ${[...eo]}.`);if(n==="alt")return l.content;const u=l.attrs.find(([g])=>g==="title");return Array.isArray(u)&&u[1]?(os(l,"title"),u[1]):void 0}function no(n,l){l=l||{},n.core.ruler.before("linkify","image_figures",function(u){let g=1;for(let w=1,k=u.tokens.length;wpe.match(fe)).map(pe=>Array.from(pe))}if(l.tabindex&&(u.tokens[w-1].attrPush(["tabindex",g]),g++),l.lazy&&(de.attrs.some(([fe])=>fe==="loading")||de.attrs.push(["loading","lazy"])),l.async&&(de.attrs.some(([fe])=>fe==="decoding")||de.attrs.push(["decoding","async"])),l.classes&&typeof l.classes=="string"){let fe=!1;for(let pe=0,Re=de.attrs.length;pepe==="src");de.attrs.push(["data-src",fe[1]]),os(de,"src")}}})}var qo=a(84651),Jo=a(10226),yr=a(34155);const xr=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,io=new Set,ls=(n,l,u,g)=>{typeof yr=="object"&&yr&&typeof yr.emitWarning=="function"?yr.emitWarning(n,l,u,g):console.error(`[${u}] ${l}: ${n}`)},ro=n=>!io.has(n),Ko=Symbol("type"),Bi=n=>n&&n===Math.floor(n)&&n>0&&isFinite(n),as=n=>Bi(n)?n<=Math.pow(2,8)?Uint8Array:n<=Math.pow(2,16)?Uint16Array:n<=Math.pow(2,32)?Uint32Array:n<=Number.MAX_SAFE_INTEGER?Br:null:null;class Br extends Array{constructor(l){super(l),this.fill(0)}}const nr=class{constructor(l,u){mi(this,"heap");mi(this,"length");if(!Se(nr,Ar))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new u(l),this.length=0}static create(l){const u=as(l);if(!u)return[];an(nr,Ar,!0);const g=new nr(l,u);return an(nr,Ar,!1),g}push(l){this.heap[this.length++]=l}pop(){return this.heap[--this.length]}};let kr=nr;Ar=new WeakMap,gn(kr,Ar,!1);const He=class{constructor(l){gn(this,Jr);gn(this,_r);gn(this,Ui);gn(this,r);gn(this,t);gn(this,s);gn(this,S);gn(this,X);gn(this,F);gn(this,xe);gn(this,vi,void 0);gn(this,yi,void 0);gn(this,Mi,void 0);gn(this,ei,void 0);gn(this,qi,void 0);mi(this,"ttl");mi(this,"ttlResolution");mi(this,"ttlAutopurge");mi(this,"updateAgeOnGet");mi(this,"updateAgeOnHas");mi(this,"allowStale");mi(this,"noDisposeOnSet");mi(this,"noUpdateTTL");mi(this,"maxEntrySize");mi(this,"sizeCalculation");mi(this,"noDeleteOnFetchRejection");mi(this,"noDeleteOnStaleGet");mi(this,"allowStaleOnFetchAbort");mi(this,"allowStaleOnFetchRejection");mi(this,"ignoreFetchAbort");gn(this,Kn,void 0);gn(this,gi,void 0);gn(this,ti,void 0);gn(this,En,void 0);gn(this,un,void 0);gn(this,Oi,void 0);gn(this,xi,void 0);gn(this,ni,void 0);gn(this,ii,void 0);gn(this,Pi,void 0);gn(this,ri,void 0);gn(this,ji,void 0);gn(this,Ni,void 0);gn(this,ci,void 0);gn(this,Ti,void 0);gn(this,zi,void 0);gn(this,ki,void 0);gn(this,pr,()=>{});gn(this,Vi,()=>{});gn(this,Kr,()=>{});gn(this,wi,()=>!1);gn(this,ir,l=>{});gn(this,Er,(l,u,g)=>{});gn(this,Zr,(l,u,g,w)=>{if(g||w)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});const{max:u=0,ttl:g,ttlResolution:w=1,ttlAutopurge:k,updateAgeOnGet:M,updateAgeOnHas:ee,allowStale:de,dispose:fe,disposeAfter:pe,noDisposeOnSet:Re,noUpdateTTL:ut,maxSize:dt=0,maxEntrySize:Ke=0,sizeCalculation:Fe,fetchMethod:at,noDeleteOnFetchRejection:xt,noDeleteOnStaleGet:bt,allowStaleOnFetchRejection:It,allowStaleOnFetchAbort:on,ignoreFetchAbort:qt}=l;if(u!==0&&!Bi(u))throw new TypeError("max option must be a nonnegative integer");const Kt=u?as(u):Array;if(!Kt)throw new Error("invalid max value: "+u);if(an(this,vi,u),an(this,yi,dt),this.maxEntrySize=Ke||Se(this,yi),this.sizeCalculation=Fe,this.sizeCalculation){if(!Se(this,yi)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(at!==void 0&&typeof at!="function")throw new TypeError("fetchMethod must be a function if specified");if(an(this,qi,at),an(this,zi,!!at),an(this,ti,new Map),an(this,En,new Array(u).fill(void 0)),an(this,un,new Array(u).fill(void 0)),an(this,Oi,new Kt(u)),an(this,xi,new Kt(u)),an(this,ni,0),an(this,ii,0),an(this,Pi,kr.create(u)),an(this,Kn,0),an(this,gi,0),typeof fe=="function"&&an(this,Mi,fe),typeof pe=="function"?(an(this,ei,pe),an(this,ri,[])):(an(this,ei,void 0),an(this,ri,void 0)),an(this,Ti,!!Se(this,Mi)),an(this,ki,!!Se(this,ei)),this.noDisposeOnSet=!!Re,this.noUpdateTTL=!!ut,this.noDeleteOnFetchRejection=!!xt,this.allowStaleOnFetchRejection=!!It,this.allowStaleOnFetchAbort=!!on,this.ignoreFetchAbort=!!qt,this.maxEntrySize!==0){if(Se(this,yi)!==0&&!Bi(Se(this,yi)))throw new TypeError("maxSize must be a positive integer if specified");if(!Bi(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");rn(this,_r,ja).call(this)}if(this.allowStale=!!de,this.noDeleteOnStaleGet=!!bt,this.updateAgeOnGet=!!M,this.updateAgeOnHas=!!ee,this.ttlResolution=Bi(w)||w===0?w:1,this.ttlAutopurge=!!k,this.ttl=g||0,this.ttl){if(!Bi(this.ttl))throw new TypeError("ttl must be a positive integer if specified");rn(this,Jr,Gl).call(this)}if(Se(this,vi)===0&&this.ttl===0&&Se(this,yi)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!Se(this,vi)&&!Se(this,yi)){const Gt="LRU_CACHE_UNBOUNDED";ro(Gt)&&(io.add(Gt),ls("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",Gt,He))}}static unsafeExposeInternals(l){return{starts:Se(l,Ni),ttls:Se(l,ci),sizes:Se(l,ji),keyMap:Se(l,ti),keyList:Se(l,En),valList:Se(l,un),next:Se(l,Oi),prev:Se(l,xi),get head(){return Se(l,ni)},get tail(){return Se(l,ii)},free:Se(l,Pi),isBackgroundFetch:u=>{var g;return rn(g=l,X,Bn).call(g,u)},backgroundFetch:(u,g,w,k)=>{var M;return rn(M=l,S,jo).call(M,u,g,w,k)},moveToTail:u=>{var g;return rn(g=l,xe,zs).call(g,u)},indexes:u=>{var g;return rn(g=l,Ui,br).call(g,u)},rindexes:u=>{var g;return rn(g=l,r,Sr).call(g,u)},isStale:u=>{var g;return Se(g=l,wi).call(g,u)}}}get max(){return Se(this,vi)}get maxSize(){return Se(this,yi)}get calculatedSize(){return Se(this,gi)}get size(){return Se(this,Kn)}get fetchMethod(){return Se(this,qi)}get dispose(){return Se(this,Mi)}get disposeAfter(){return Se(this,ei)}getRemainingTTL(l){return Se(this,ti).has(l)?1/0:0}*entries(){for(const l of rn(this,Ui,br).call(this))Se(this,un)[l]!==void 0&&Se(this,En)[l]!==void 0&&!rn(this,X,Bn).call(this,Se(this,un)[l])&&(yield[Se(this,En)[l],Se(this,un)[l]])}*rentries(){for(const l of rn(this,r,Sr).call(this))Se(this,un)[l]!==void 0&&Se(this,En)[l]!==void 0&&!rn(this,X,Bn).call(this,Se(this,un)[l])&&(yield[Se(this,En)[l],Se(this,un)[l]])}*keys(){for(const l of rn(this,Ui,br).call(this)){const u=Se(this,En)[l];u!==void 0&&!rn(this,X,Bn).call(this,Se(this,un)[l])&&(yield u)}}*rkeys(){for(const l of rn(this,r,Sr).call(this)){const u=Se(this,En)[l];u!==void 0&&!rn(this,X,Bn).call(this,Se(this,un)[l])&&(yield u)}}*values(){for(const l of rn(this,Ui,br).call(this))Se(this,un)[l]!==void 0&&!rn(this,X,Bn).call(this,Se(this,un)[l])&&(yield Se(this,un)[l])}*rvalues(){for(const l of rn(this,r,Sr).call(this))Se(this,un)[l]!==void 0&&!rn(this,X,Bn).call(this,Se(this,un)[l])&&(yield Se(this,un)[l])}[Symbol.iterator](){return this.entries()}find(l,u={}){for(const g of rn(this,Ui,br).call(this)){const w=Se(this,un)[g],k=rn(this,X,Bn).call(this,w)?w.__staleWhileFetching:w;if(k!==void 0&&l(k,Se(this,En)[g],this))return this.get(Se(this,En)[g],u)}}forEach(l,u=this){for(const g of rn(this,Ui,br).call(this)){const w=Se(this,un)[g],k=rn(this,X,Bn).call(this,w)?w.__staleWhileFetching:w;k!==void 0&&l.call(u,k,Se(this,En)[g],this)}}rforEach(l,u=this){for(const g of rn(this,r,Sr).call(this)){const w=Se(this,un)[g],k=rn(this,X,Bn).call(this,w)?w.__staleWhileFetching:w;k!==void 0&&l.call(u,k,Se(this,En)[g],this)}}purgeStale(){let l=!1;for(const u of rn(this,r,Sr).call(this,{allowStale:!0}))Se(this,wi).call(this,u)&&(this.delete(Se(this,En)[u]),l=!0);return l}dump(){const l=[];for(const u of rn(this,Ui,br).call(this,{allowStale:!0})){const g=Se(this,En)[u],w=Se(this,un)[u],k=rn(this,X,Bn).call(this,w)?w.__staleWhileFetching:w;if(k===void 0||g===void 0)continue;const M={value:k};if(Se(this,ci)&&Se(this,Ni)){M.ttl=Se(this,ci)[u];const ee=xr.now()-Se(this,Ni)[u];M.start=Math.floor(Date.now()-ee)}Se(this,ji)&&(M.size=Se(this,ji)[u]),l.unshift([g,M])}return l}load(l){this.clear();for(const[u,g]of l){if(g.start){const w=Date.now()-g.start;g.start=xr.now()-w}this.set(u,g.value,g)}}set(l,u,g={}){var ut,dt,Ke;const{ttl:w=this.ttl,start:k,noDisposeOnSet:M=this.noDisposeOnSet,sizeCalculation:ee=this.sizeCalculation,status:de}=g;let{noUpdateTTL:fe=this.noUpdateTTL}=g;const pe=Se(this,Zr).call(this,l,u,g.size||0,ee);if(this.maxEntrySize&&pe>this.maxEntrySize)return de&&(de.set="miss",de.maxEntrySizeExceeded=!0),this.delete(l),this;let Re=Se(this,Kn)===0?void 0:Se(this,ti).get(l);if(Re===void 0)Re=Se(this,Kn)===0?Se(this,ii):Se(this,Pi).length!==0?Se(this,Pi).pop():Se(this,Kn)===Se(this,vi)?rn(this,s,Bo).call(this,!1):Se(this,Kn),Se(this,En)[Re]=l,Se(this,un)[Re]=u,Se(this,ti).set(l,Re),Se(this,Oi)[Se(this,ii)]=Re,Se(this,xi)[Re]=Se(this,ii),an(this,ii,Re),Wo(this,Kn)._++,Se(this,Er).call(this,Re,pe,de),de&&(de.set="add"),fe=!1;else{rn(this,xe,zs).call(this,Re);const Fe=Se(this,un)[Re];if(u!==Fe){if(Se(this,zi)&&rn(this,X,Bn).call(this,Fe)?Fe.__abortController.abort(new Error("replaced")):M||(Se(this,Ti)&&((ut=Se(this,Mi))==null||ut.call(this,Fe,l,"set")),Se(this,ki)&&((dt=Se(this,ri))==null||dt.push([Fe,l,"set"]))),Se(this,ir).call(this,Re),Se(this,Er).call(this,Re,pe,de),Se(this,un)[Re]=u,de){de.set="replace";const at=Fe&&rn(this,X,Bn).call(this,Fe)?Fe.__staleWhileFetching:Fe;at!==void 0&&(de.oldValue=at)}}else de&&(de.set="update")}if(w!==0&&!Se(this,ci)&&rn(this,Jr,Gl).call(this),Se(this,ci)&&(fe||Se(this,Kr).call(this,Re,w,k),de&&Se(this,Vi).call(this,de,Re)),!M&&Se(this,ki)&&Se(this,ri)){const Fe=Se(this,ri);let at;for(;at=Fe==null?void 0:Fe.shift();)(Ke=Se(this,ei))==null||Ke.call(this,...at)}return this}pop(){var l;try{for(;Se(this,Kn);){const u=Se(this,un)[Se(this,ni)];if(rn(this,s,Bo).call(this,!0),rn(this,X,Bn).call(this,u)){if(u.__staleWhileFetching)return u.__staleWhileFetching}else if(u!==void 0)return u}}finally{if(Se(this,ki)&&Se(this,ri)){const u=Se(this,ri);let g;for(;g=u==null?void 0:u.shift();)(l=Se(this,ei))==null||l.call(this,...g)}}}has(l,u={}){const{updateAgeOnHas:g=this.updateAgeOnHas,status:w}=u,k=Se(this,ti).get(l);if(k!==void 0){const M=Se(this,un)[k];if(rn(this,X,Bn).call(this,M)&&M.__staleWhileFetching===void 0)return!1;if(Se(this,wi).call(this,k))w&&(w.has="stale",Se(this,Vi).call(this,w,k));else return g&&Se(this,pr).call(this,k),w&&(w.has="hit",Se(this,Vi).call(this,w,k)),!0}else w&&(w.has="miss");return!1}peek(l,u={}){const{allowStale:g=this.allowStale}=u,w=Se(this,ti).get(l);if(w!==void 0&&(g||!Se(this,wi).call(this,w))){const k=Se(this,un)[w];return rn(this,X,Bn).call(this,k)?k.__staleWhileFetching:k}}fetch(g){return Fl(this,arguments,function*(l,u={}){const{allowStale:w=this.allowStale,updateAgeOnGet:k=this.updateAgeOnGet,noDeleteOnStaleGet:M=this.noDeleteOnStaleGet,ttl:ee=this.ttl,noDisposeOnSet:de=this.noDisposeOnSet,size:fe=0,sizeCalculation:pe=this.sizeCalculation,noUpdateTTL:Re=this.noUpdateTTL,noDeleteOnFetchRejection:ut=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:dt=this.allowStaleOnFetchRejection,ignoreFetchAbort:Ke=this.ignoreFetchAbort,allowStaleOnFetchAbort:Fe=this.allowStaleOnFetchAbort,context:at,forceRefresh:xt=!1,status:bt,signal:It}=u;if(!Se(this,zi))return bt&&(bt.fetch="get"),this.get(l,{allowStale:w,updateAgeOnGet:k,noDeleteOnStaleGet:M,status:bt});const on={allowStale:w,updateAgeOnGet:k,noDeleteOnStaleGet:M,ttl:ee,noDisposeOnSet:de,size:fe,sizeCalculation:pe,noUpdateTTL:Re,noDeleteOnFetchRejection:ut,allowStaleOnFetchRejection:dt,allowStaleOnFetchAbort:Fe,ignoreFetchAbort:Ke,status:bt,signal:It};let qt=Se(this,ti).get(l);if(qt===void 0){bt&&(bt.fetch="miss");const Kt=rn(this,S,jo).call(this,l,qt,on,at);return Kt.__returned=Kt}else{const Kt=Se(this,un)[qt];if(rn(this,X,Bn).call(this,Kt)){const Pn=w&&Kt.__staleWhileFetching!==void 0;return bt&&(bt.fetch="inflight",Pn&&(bt.returnedStale=!0)),Pn?Kt.__staleWhileFetching:Kt.__returned=Kt}const Gt=Se(this,wi).call(this,qt);if(!xt&&!Gt)return bt&&(bt.fetch="hit"),rn(this,xe,zs).call(this,qt),k&&Se(this,pr).call(this,qt),bt&&Se(this,Vi).call(this,bt,qt),Kt;const Ot=rn(this,S,jo).call(this,l,qt,on,at),vn=Ot.__staleWhileFetching!==void 0&&w;return bt&&(bt.fetch=Gt?"stale":"refresh",vn&&Gt&&(bt.returnedStale=!0)),vn?Ot.__staleWhileFetching:Ot.__returned=Ot}})}get(l,u={}){const{allowStale:g=this.allowStale,updateAgeOnGet:w=this.updateAgeOnGet,noDeleteOnStaleGet:k=this.noDeleteOnStaleGet,status:M}=u,ee=Se(this,ti).get(l);if(ee!==void 0){const de=Se(this,un)[ee],fe=rn(this,X,Bn).call(this,de);return M&&Se(this,Vi).call(this,M,ee),Se(this,wi).call(this,ee)?(M&&(M.get="stale"),fe?(M&&g&&de.__staleWhileFetching!==void 0&&(M.returnedStale=!0),g?de.__staleWhileFetching:void 0):(k||this.delete(l),M&&g&&(M.returnedStale=!0),g?de:void 0)):(M&&(M.get="hit"),fe?de.__staleWhileFetching:(rn(this,xe,zs).call(this,ee),w&&Se(this,pr).call(this,ee),de))}else M&&(M.get="miss")}delete(l){var g,w,k,M;let u=!1;if(Se(this,Kn)!==0){const ee=Se(this,ti).get(l);if(ee!==void 0)if(u=!0,Se(this,Kn)===1)this.clear();else{Se(this,ir).call(this,ee);const de=Se(this,un)[ee];rn(this,X,Bn).call(this,de)?de.__abortController.abort(new Error("deleted")):(Se(this,Ti)||Se(this,ki))&&(Se(this,Ti)&&((g=Se(this,Mi))==null||g.call(this,de,l,"delete")),Se(this,ki)&&((w=Se(this,ri))==null||w.push([de,l,"delete"]))),Se(this,ti).delete(l),Se(this,En)[ee]=void 0,Se(this,un)[ee]=void 0,ee===Se(this,ii)?an(this,ii,Se(this,xi)[ee]):ee===Se(this,ni)?an(this,ni,Se(this,Oi)[ee]):(Se(this,Oi)[Se(this,xi)[ee]]=Se(this,Oi)[ee],Se(this,xi)[Se(this,Oi)[ee]]=Se(this,xi)[ee]),Wo(this,Kn)._--,Se(this,Pi).push(ee)}}if(Se(this,ki)&&((k=Se(this,ri))!=null&&k.length)){const ee=Se(this,ri);let de;for(;de=ee==null?void 0:ee.shift();)(M=Se(this,ei))==null||M.call(this,...de)}return u}clear(){var l,u,g;for(const w of rn(this,r,Sr).call(this,{allowStale:!0})){const k=Se(this,un)[w];if(rn(this,X,Bn).call(this,k))k.__abortController.abort(new Error("deleted"));else{const M=Se(this,En)[w];Se(this,Ti)&&((l=Se(this,Mi))==null||l.call(this,k,M,"delete")),Se(this,ki)&&((u=Se(this,ri))==null||u.push([k,M,"delete"]))}}if(Se(this,ti).clear(),Se(this,un).fill(void 0),Se(this,En).fill(void 0),Se(this,ci)&&Se(this,Ni)&&(Se(this,ci).fill(0),Se(this,Ni).fill(0)),Se(this,ji)&&Se(this,ji).fill(0),an(this,ni,0),an(this,ii,0),Se(this,Pi).length=0,an(this,gi,0),an(this,Kn,0),Se(this,ki)&&Se(this,ri)){const w=Se(this,ri);let k;for(;k=w==null?void 0:w.shift();)(g=Se(this,ei))==null||g.call(this,...k)}}};let jr=He;vi=new WeakMap,yi=new WeakMap,Mi=new WeakMap,ei=new WeakMap,qi=new WeakMap,Kn=new WeakMap,gi=new WeakMap,ti=new WeakMap,En=new WeakMap,un=new WeakMap,Oi=new WeakMap,xi=new WeakMap,ni=new WeakMap,ii=new WeakMap,Pi=new WeakMap,ri=new WeakMap,ji=new WeakMap,Ni=new WeakMap,ci=new WeakMap,Ti=new WeakMap,zi=new WeakMap,ki=new WeakMap,Jr=new WeakSet,Gl=function(){const l=new Br(Se(this,vi)),u=new Br(Se(this,vi));an(this,ci,l),an(this,Ni,u),an(this,Kr,(k,M,ee=xr.now())=>{if(u[k]=M!==0?ee:0,l[k]=M,M!==0&&this.ttlAutopurge){const de=setTimeout(()=>{Se(this,wi).call(this,k)&&this.delete(Se(this,En)[k])},M+1);de.unref&&de.unref()}}),an(this,pr,k=>{u[k]=l[k]!==0?xr.now():0}),an(this,Vi,(k,M)=>{if(l[M]){const ee=l[M],de=u[M];k.ttl=ee,k.start=de,k.now=g||w(),k.remainingTTL=k.now+ee-de}});let g=0;const w=()=>{const k=xr.now();if(this.ttlResolution>0){g=k;const M=setTimeout(()=>g=0,this.ttlResolution);M.unref&&M.unref()}return k};this.getRemainingTTL=k=>{const M=Se(this,ti).get(k);return M===void 0?0:l[M]===0||u[M]===0?1/0:u[M]+l[M]-(g||w())},an(this,wi,k=>l[k]!==0&&u[k]!==0&&(g||w())-u[k]>l[k])},pr=new WeakMap,Vi=new WeakMap,Kr=new WeakMap,wi=new WeakMap,_r=new WeakSet,ja=function(){const l=new Br(Se(this,vi));an(this,gi,0),an(this,ji,l),an(this,ir,u=>{an(this,gi,Se(this,gi)-l[u]),l[u]=0}),an(this,Zr,(u,g,w,k)=>{if(rn(this,X,Bn).call(this,g))return 0;if(!Bi(w))if(k){if(typeof k!="function")throw new TypeError("sizeCalculation must be a function");if(w=k(g,u),!Bi(w))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return w}),an(this,Er,(u,g,w)=>{if(l[u]=g,Se(this,yi)){const k=Se(this,yi)-l[u];for(;Se(this,gi)>k;)rn(this,s,Bo).call(this,!0)}an(this,gi,Se(this,gi)+l[u]),w&&(w.entrySize=g,w.totalCalculatedSize=Se(this,gi))})},ir=new WeakMap,Er=new WeakMap,Zr=new WeakMap,Ui=new WeakSet,br=function*({allowStale:l=this.allowStale}={}){if(Se(this,Kn))for(let u=Se(this,ii);!(!rn(this,t,Hl).call(this,u)||((l||!Se(this,wi).call(this,u))&&(yield u),u===Se(this,ni)));)u=Se(this,xi)[u]},r=new WeakSet,Sr=function*({allowStale:l=this.allowStale}={}){if(Se(this,Kn))for(let u=Se(this,ni);!(!rn(this,t,Hl).call(this,u)||((l||!Se(this,wi).call(this,u))&&(yield u),u===Se(this,ii)));)u=Se(this,Oi)[u]},t=new WeakSet,Hl=function(l){return l!==void 0&&Se(this,ti).get(Se(this,En)[l])===l},s=new WeakSet,Bo=function(l){var k,M;const u=Se(this,ni),g=Se(this,En)[u],w=Se(this,un)[u];return Se(this,zi)&&rn(this,X,Bn).call(this,w)?w.__abortController.abort(new Error("evicted")):(Se(this,Ti)||Se(this,ki))&&(Se(this,Ti)&&((k=Se(this,Mi))==null||k.call(this,w,g,"evict")),Se(this,ki)&&((M=Se(this,ri))==null||M.push([w,g,"evict"]))),Se(this,ir).call(this,u),l&&(Se(this,En)[u]=void 0,Se(this,un)[u]=void 0,Se(this,Pi).push(u)),Se(this,Kn)===1?(an(this,ni,an(this,ii,0)),Se(this,Pi).length=0):an(this,ni,Se(this,Oi)[u]),Se(this,ti).delete(g),Wo(this,Kn)._--,u},S=new WeakSet,jo=function(l,u,g,w){const k=u===void 0?void 0:Se(this,un)[u];if(rn(this,X,Bn).call(this,k))return k;const M=new AbortController,{signal:ee}=g;ee==null||ee.addEventListener("abort",()=>M.abort(ee.reason),{signal:M.signal});const de={signal:M.signal,options:g,context:w},fe=(Fe,at=!1)=>{const{aborted:xt}=M.signal,bt=g.ignoreFetchAbort&&Fe!==void 0;if(g.status&&(xt&&!at?(g.status.fetchAborted=!0,g.status.fetchError=M.signal.reason,bt&&(g.status.fetchAbortIgnored=!0)):g.status.fetchResolved=!0),xt&&!bt&&!at)return Re(M.signal.reason);const It=dt;return Se(this,un)[u]===dt&&(Fe===void 0?It.__staleWhileFetching?Se(this,un)[u]=It.__staleWhileFetching:this.delete(l):(g.status&&(g.status.fetchUpdated=!0),this.set(l,Fe,de.options))),Fe},pe=Fe=>(g.status&&(g.status.fetchRejected=!0,g.status.fetchError=Fe),Re(Fe)),Re=Fe=>{const{aborted:at}=M.signal,xt=at&&g.allowStaleOnFetchAbort,bt=xt||g.allowStaleOnFetchRejection,It=bt||g.noDeleteOnFetchRejection,on=dt;if(Se(this,un)[u]===dt&&(!It||on.__staleWhileFetching===void 0?this.delete(l):xt||(Se(this,un)[u]=on.__staleWhileFetching)),bt)return g.status&&on.__staleWhileFetching!==void 0&&(g.status.returnedStale=!0),on.__staleWhileFetching;if(on.__returned===on)throw Fe},ut=(Fe,at)=>{var bt;const xt=(bt=Se(this,qi))==null?void 0:bt.call(this,l,k,de);xt&&xt instanceof Promise&&xt.then(It=>Fe(It),at),M.signal.addEventListener("abort",()=>{(!g.ignoreFetchAbort||g.allowStaleOnFetchAbort)&&(Fe(),g.allowStaleOnFetchAbort&&(Fe=It=>fe(It,!0)))})};g.status&&(g.status.fetchDispatched=!0);const dt=new Promise(ut).then(fe,pe),Ke=Object.assign(dt,{__abortController:M,__staleWhileFetching:k,__returned:void 0});return u===void 0?(this.set(l,Ke,xn(mn({},de.options),{status:void 0})),u=Se(this,ti).get(l)):Se(this,un)[u]=Ke,Ke},X=new WeakSet,Bn=function(l){if(!Se(this,zi))return!1;const u=l;return!!u&&u instanceof Promise&&u.hasOwnProperty("__staleWhileFetching")&&u.__abortController instanceof AbortController},F=new WeakSet,ql=function(l,u){Se(this,xi)[u]=l,Se(this,Oi)[l]=u},xe=new WeakSet,zs=function(l){l!==Se(this,ii)&&(l===Se(this,ni)?an(this,ni,Se(this,Oi)[l]):rn(this,F,ql).call(this,Se(this,xi)[l],Se(this,Oi)[l]),rn(this,F,ql).call(this,Se(this,ii),l),an(this,ii,l))};var so=jr,Li=Object.defineProperty,Zn=(n,l,u)=>l in n?Li(n,l,{enumerable:!0,configurable:!0,writable:!0,value:u}):n[l]=u,Xi=(n,l,u)=>(Zn(n,typeof l!="symbol"?l+"":l,u),u);class hi{constructor(){Xi(this,"pools",{})}remove(l,u,g){const w=this.pools[l]&&this.pools[l][u];w&&(this.pools[l][u]=w.filter(k=>k!==g))}clear(l){this.pools[l]={}}on(l,u){return this.pools[l]||(this.pools[l]={}),this.pools[l][u.name]||(this.pools[l][u.name]=[]),this.pools[l][u.name].push(u.callback),this.pools[l][u.name].includes(u.callback)}emit(l,u,...g){this.pools[l]||(this.pools[l]={});const w=this.pools[l][u];w&&w.forEach(k=>{try{k(...g)}catch(M){console.error(`${u} monitor event exception\uFF01`,M)}})}}const Zt=new hi,Me="md-editor",oi="md-editor-rt",_o="https://at.alicdn.com/t/c/font_2605852_u82y61ve02.js",Rn="https://cdnjs.cloudflare.com/ajax/libs",el=`${Rn}/highlight.js/11.7.0/highlight.min.js`,Nr={main:`${Rn}/prettier/2.8.0/standalone.js`,markdown:`${Rn}/prettier/2.8.0/parser-markdown.js`},oo={css:`${Rn}/cropperjs/1.5.13/cropper.min.css`,js:`${Rn}/cropperjs/1.5.13/cropper.min.js`},tl=`${Rn}/screenfull.js/5.2.0/screenfull.min.js`,hs=["bold","underline","italic","strikeThrough","-","title","sub","sup","quote","unorderedList","orderedList","task","-","codeRow","code","link","image","table","mermaid","katex","-","revoke","next","save","=","prettier","pageFullscreen","fullscreen","preview","htmlPreview","catalog","github"],lo=["markdownTotal","=","scrollSwitch"],wr={"zh-CN":{toolbarTips:{bold:"\u52A0\u7C97",underline:"\u4E0B\u5212\u7EBF",italic:"\u659C\u4F53",strikeThrough:"\u5220\u9664\u7EBF",title:"\u6807\u9898",sub:"\u4E0B\u6807",sup:"\u4E0A\u6807",quote:"\u5F15\u7528",unorderedList:"\u65E0\u5E8F\u5217\u8868",orderedList:"\u6709\u5E8F\u5217\u8868",task:"\u4EFB\u52A1\u5217\u8868",codeRow:"\u884C\u5185\u4EE3\u7801",code:"\u5757\u7EA7\u4EE3\u7801",link:"\u94FE\u63A5",image:"\u56FE\u7247",table:"\u8868\u683C",mermaid:"mermaid\u56FE",katex:"katex\u516C\u5F0F",revoke:"\u540E\u9000",next:"\u524D\u8FDB",save:"\u4FDD\u5B58",prettier:"\u7F8E\u5316",pageFullscreen:"\u6D4F\u89C8\u5668\u5168\u5C4F",fullscreen:"\u5C4F\u5E55\u5168\u5C4F",preview:"\u9884\u89C8",htmlPreview:"html\u4EE3\u7801\u9884\u89C8",catalog:"\u76EE\u5F55",github:"\u6E90\u7801\u5730\u5740"},titleItem:{h1:"\u4E00\u7EA7\u6807\u9898",h2:"\u4E8C\u7EA7\u6807\u9898",h3:"\u4E09\u7EA7\u6807\u9898",h4:"\u56DB\u7EA7\u6807\u9898",h5:"\u4E94\u7EA7\u6807\u9898",h6:"\u516D\u7EA7\u6807\u9898"},imgTitleItem:{link:"\u6DFB\u52A0\u94FE\u63A5",upload:"\u4E0A\u4F20\u56FE\u7247",clip2upload:"\u88C1\u526A\u4E0A\u4F20"},linkModalTips:{linkTitle:"\u6DFB\u52A0\u94FE\u63A5",imageTitle:"\u6DFB\u52A0\u56FE\u7247",descLabel:"\u94FE\u63A5\u63CF\u8FF0\uFF1A",descLabelPlaceHolder:"\u8BF7\u8F93\u5165\u63CF\u8FF0...",urlLabel:"\u94FE\u63A5\u5730\u5740\uFF1A",urlLabelPlaceHolder:"\u8BF7\u8F93\u5165\u94FE\u63A5...",buttonOK:"\u786E\u5B9A"},clipModalTips:{title:"\u88C1\u526A\u56FE\u7247\u4E0A\u4F20",buttonUpload:"\u4E0A\u4F20"},copyCode:{text:"\u590D\u5236\u4EE3\u7801",successTips:"\u5DF2\u590D\u5236\uFF01",failTips:"\u590D\u5236\u5931\u8D25\uFF01"},mermaid:{flow:"\u6D41\u7A0B\u56FE",sequence:"\u65F6\u5E8F\u56FE",gantt:"\u7518\u7279\u56FE",class:"\u7C7B\u56FE",state:"\u72B6\u6001\u56FE",pie:"\u997C\u56FE",relationship:"\u5173\u7CFB\u56FE",journey:"\u65C5\u7A0B\u56FE"},katex:{inline:"\u884C\u5185\u516C\u5F0F",block:"\u5757\u7EA7\u516C\u5F0F"},footer:{markdownTotal:"\u5B57\u6570",scrollAuto:"\u540C\u6B65\u6EDA\u52A8"}},"en-US":{toolbarTips:{bold:"bold",underline:"underline",italic:"italic",strikeThrough:"strikeThrough",title:"title",sub:"subscript",sup:"superscript",quote:"quote",unorderedList:"unordered list",orderedList:"ordered list",task:"task list",codeRow:"inline code",code:"block-level code",link:"link",image:"image",table:"table",mermaid:"mermaid",katex:"formula",revoke:"revoke",next:"undo revoke",save:"save",prettier:"prettier",pageFullscreen:"fullscreen in page",fullscreen:"fullscreen",preview:"preview",htmlPreview:"html preview",catalog:"catalog",github:"source code"},titleItem:{h1:"Lv1 Heading",h2:"Lv2 Heading",h3:"Lv3 Heading",h4:"Lv4 Heading",h5:"Lv5 Heading",h6:"Lv6 Heading"},imgTitleItem:{link:"Add Img Link",upload:"Upload Img",clip2upload:"Clip Upload"},linkModalTips:{linkTitle:"Add Link",imageTitle:"Add Image",descLabel:"Desc:",descLabelPlaceHolder:"Enter a description...",urlLabel:"Link:",urlLabelPlaceHolder:"Enter a link...",buttonOK:"OK"},clipModalTips:{title:"Crop Image",buttonUpload:"Upload"},copyCode:{text:"Copy",successTips:"Copied!",failTips:"Copy failed!"},mermaid:{flow:"flow",sequence:"sequence",gantt:"gantt",class:"class",state:"state",pie:"pie",relationship:"relationship",journey:"journey"},katex:{inline:"inline",block:"block"},footer:{markdownTotal:"Word Count",scrollAuto:"Scroll Auto"}}},nl=`${Rn}/mermaid/9.4.0/mermaid.min.js`,cs={js:`${Rn}/KaTeX/0.16.3/katex.min.js`,css:`${Rn}/KaTeX/0.16.3/katex.min.css`},Cr={a11y:{light:`${Rn}/highlight.js/11.7.0/styles/a11y-light.min.css`,dark:`${Rn}/highlight.js/11.7.0/styles/a11y-dark.min.css`},atom:{light:`${Rn}/highlight.js/11.7.0/styles/atom-one-light.min.css`,dark:`${Rn}/highlight.js/11.7.0/styles/atom-one-dark.min.css`},github:{light:`${Rn}/highlight.js/11.7.0/styles/github.min.css`,dark:`${Rn}/highlight.js/11.7.0/styles/github-dark.min.css`},gradient:{light:`${Rn}/highlight.js/11.7.0/styles/gradient-light.min.css`,dark:`${Rn}/highlight.js/11.7.0/styles/gradient-dark.min.css`},kimbie:{light:`${Rn}/highlight.js/11.7.0/styles/kimbie-light.min.css`,dark:`${Rn}/highlight.js/11.7.0/styles/kimbie-dark.min.css`},paraiso:{light:`${Rn}/highlight.js/11.7.0/styles/paraiso-light.min.css`,dark:`${Rn}/highlight.js/11.7.0/styles/paraiso-dark.min.css`},qtcreator:{light:`${Rn}/highlight.js/11.7.0/styles/qtcreator-light.min.css`,dark:`${Rn}/highlight.js/11.7.0/styles/qtcreator-dark.min.css`},stackoverflow:{light:`${Rn}/highlight.js/11.7.0/styles/stackoverflow-light.min.css`,dark:`${Rn}/highlight.js/11.7.0/styles/stackoverflow-dark.min.css`}},bn={modelValue:"",theme:"light",className:"",onChange:()=>{},onSave:()=>{},pageFullscreen:!1,preview:!0,htmlPreview:!1,previewOnly:!1,language:"zh-CN",toolbars:hs,toolbarsExclude:[],noPrettier:!1,onHtmlChanged:()=>{},onGetCatalog:()=>{},editorId:oi,tabWidth:2,showCodeRowNumber:!1,previewTheme:"default",mdHeadingId:n=>n,style:{},tableShape:[6,4],noMermaid:!1,sanitize:n=>n,placeholder:"",noKatex:!1,defToolbars:[],onError:()=>{},codeTheme:"atom",footers:lo,scrollAuto:!0,defFooters:[],noIconfont:!1,formatCopiedText:n=>n,noUploadImg:!1,codeStyleReverse:!0,codeStyleReverseList:["default","mk-cute"],autoFocus:!1,disabled:!1,readOnly:!1,autoDetectCode:!1,noHighlight:!1},Yn={editorExtensions:{},editorConfig:{},codeMirrorExtensions:(n,l)=>l,markdownItConfig:()=>{}},Vr=n=>{if(n)for(const l in n){const u=n[l];u&&(Yn[l]=u)}},il=(n,l={newWindow:!0,nofollow:!0})=>{n||console.warn("Invalid link\uFF01");const u=document.createElement("a");u.href=n,u.style.display="none",l.newWindow&&(u.target="_blank"),l.nofollow&&(u.rel="noopener noreferrer"),document.body.appendChild(u),u.click(),u.remove()},ao=(n,l="image.png")=>{const u=n.split(","),g=u[0].match(/:(.*?);/);if(g){const w=g[1],k=atob(u[1]);let M=k.length;const ee=new Uint8Array(M);for(;M--;)ee[M]=k.charCodeAt(M);return new File([ee],l,{type:w})}return null},rl=n=>{if(!n)return n;const l=n.split(` +`),u=['"),`${n}${u.join("")}`},ar=(n,l=200)=>{let u=0;return(...g)=>new Promise(w=>{u&&(clearTimeout(u),w("cancel")),u=window.setTimeout(()=>{n.apply(void 0,g),u=0,w("done")},l)})},Ur=(n,l=200)=>{let u=0,g=null;return(...w)=>{const k=M=>{u===0&&(u=M),M-u>=l?(n.apply(void 0,g),g=null,u=0):window.requestAnimationFrame(k)};g===null&&window.requestAnimationFrame(k),g=w}},hr=n=>n.filter(l=>l!==!1).join(" "),us=(n,l)=>{const u=n==null?void 0:n.getBoundingClientRect();if(l===document.documentElement)return u.top-l.clientTop;const g=l==null?void 0:l.getBoundingClientRect();return u.top-g.top},ho=()=>`${Date.now().toString(36)}${Math.random().toString(36).substring(2)}`,co=(n,l)=>{const u=g=>{const w=n.parentElement||document.body,k=w.offsetWidth,M=w.offsetHeight,ee=document.documentElement.clientWidth,de=document.documentElement.clientHeight,fe=g.offsetX,pe=g.offsetY,Re=dt=>{let Ke=dt.x+document.body.scrollLeft-document.body.clientLeft-fe,Fe=dt.y+document.body.scrollTop-document.body.clientTop-pe;Ke=Ke<1?1:Ke{document.removeEventListener("mousemove",Re),document.removeEventListener("mouseup",ut)};document.addEventListener("mouseup",ut)};return n.addEventListener("mousedown",u),()=>{n.removeEventListener("mousedown",u)}},$i=(n,l="")=>{const u=document.getElementById(n.id),g=n.onload;n.onload=null;const w=function(k){typeof g=="function"&&g.bind(this)(k),n.removeEventListener("load",w)};u?l!==""&&(u.addEventListener("load",w),Reflect.get(window,l)&&u.dispatchEvent(new Event("load"))):(n.addEventListener("load",w),document.head.appendChild(n))},fs=ar((n,l,u)=>{const g=document.getElementById(n);g&&g.setAttribute(l,u)},10),$r="onSave",tr="changeCatalogVisible",uo="changeFullscreen",ds="pageFullscreenChanged",ps="fullscreenChanged",ms="previewChanged",gs="htmlPreviewChanged",fo="catalogVisibleChanged",po="textareaFocus",sl=(n,l)=>{const{modelValue:u}=n,{editorId:g,previewOnly:w}=l,[k,M]=(0,o.useState)({buildFinished:!1,html:""});(0,o.useEffect)(()=>{const ee=de=>{M(()=>({buildFinished:!0,html:de}))};return w||Zt.on(g,{name:"buildFinished",callback:ee}),()=>{w||Zt.remove(g,"buildFinished",ee)}},[]),(0,o.useEffect)(()=>{if(w)return;const ee=()=>{if(n.onSave){const de=new Promise(fe=>{if(k.buildFinished)fe(k.html);else{const pe=Re=>{fe(Re),Zt.remove(g,"buildFinished",pe)};Zt.on(g,{name:"buildFinished",callback:pe})}});n.onSave(n.modelValue,de)}};return Zt.on(g,{name:$r,callback:ee}),()=>{Zt.remove(g,$r,ee)}},[u,n,k.buildFinished,k.html]),(0,o.useEffect)(()=>{M(ee=>xn(mn({},ee),{buildFinished:!1}))},[u])},ol=n=>{var l,u,g,w,k,M;const{noPrettier:ee,noIconfont:de,previewOnly:fe,noUploadImg:pe}=n,{editorExtensions:Re}=Yn,ut=ee||!!((u=(l=Yn.editorExtensions)==null?void 0:l.prettier)!=null&&u.prettierInstance),dt=ee||!!((w=(g=Yn.editorExtensions)==null?void 0:g.prettier)!=null&&w.parserMarkdownInstance),Ke=pe||!!((M=(k=Yn.editorExtensions)==null?void 0:k.cropper)!=null&&M.instance);(0,o.useEffect)(()=>{var Fe,at,xt,bt;const It=document.createElement("script");It.src=(Re==null?void 0:Re.iconfont)||_o,It.id=`${Me}-icon`;const on=document.createElement("script"),qt=document.createElement("script");on.src=((Fe=Re==null?void 0:Re.prettier)==null?void 0:Fe.standaloneJs)||Nr.main,on.id=`${Me}-prettier`,qt.src=((at=Re==null?void 0:Re.prettier)==null?void 0:at.parserMarkdownJs)||Nr.markdown,qt.id=`${Me}-prettierMD`;const Kt=document.createElement("link");Kt.rel="stylesheet",Kt.href=((xt=Re==null?void 0:Re.cropper)==null?void 0:xt.css)||oo.css,Kt.id=`${Me}-cropperCss`;const Gt=document.createElement("script");Gt.src=((bt=Re==null?void 0:Re.cropper)==null?void 0:bt.js)||oo.js,Gt.id=`${Me}-cropper`,de||$i(It),fe||(Ke||($i(Kt),$i(Gt)),ut||$i(on),dt||$i(qt))},[])},ll=(n,l)=>{(0,o.useEffect)(()=>(Zt.on(n,{name:"errorCatcher",callback:l}),()=>{Zt.remove(n,"errorCatcher",l)}),[l])},Os=(n,l)=>{const{editorId:u,previewOnly:g}=l;(0,o.useEffect)(()=>{const w=(k,M)=>{const ee=de=>{Zt.emit(u,"replace","image",{desc:"",urls:de}),M&&M()};n.onUploadImg&&n.onUploadImg(k,ee)};return g||Zt.on(u,{name:"uploadImage",callback:w}),()=>{Zt.remove(u,"uploadImage",w)}},[n.onUploadImg])},al=(n,l)=>{const{toolbars:u=hs,toolbarsExclude:g=[]}=n,{editorId:w}=l,[k,M]=(0,o.useState)(!1);(0,o.useEffect)(()=>{Zt.on(w,{name:tr,callback:fe=>{M(fe===void 0?pe=>!pe:fe)}})},[]);const ee=(0,o.useMemo)(()=>!g.includes("catalog")&&u.includes("catalog"),[u,g]),de=(0,o.useMemo)(()=>({display:k?"block":"none"}),[k]);return{catalogVisible:k,catalogShow:ee,catalogStyle:de}};let bs="";const hl=n=>{const{theme:l=bn.theme,preview:u=bn.preview,htmlPreview:g=bn.htmlPreview,pageFullscreen:w=bn.pageFullscreen,previewTheme:k=bn.previewTheme,codeTheme:M=bn.codeTheme,language:ee=bn.language,codeStyleReverse:de=bn.codeStyleReverse,codeStyleReverseList:fe=bn.codeStyleReverseList}=n,pe=(0,o.useMemo)(()=>{var Fe;const at=(Fe=Yn==null?void 0:Yn.editorExtensions)==null?void 0:Fe.highlight,xt=mn(mn({},Cr),at==null?void 0:at.css),bt=de&&fe.includes(k)?"dark":l;return{js:(at==null?void 0:at.js)||el,css:xt[M]?xt[M][bt]:Cr.atom[bt]}},[de,fe,k,l,M]),Re=(0,o.useMemo)(()=>{var Fe;const at=mn(mn({},wr),(Fe=Yn==null?void 0:Yn.editorConfig)==null?void 0:Fe.languageUserDefined);return at[ee]?at[ee]:wr["zh-CN"]},[ee]),[ut,dt]=(0,o.useState)({pageFullscreen:w,fullscreen:!1,preview:u,htmlPreview:u?!1:g}),Ke=(0,o.useCallback)((Fe,at)=>{dt(xt=>{const bt=xn(mn({},xt),{[Fe]:at===void 0?!xt[Fe]:at});return Fe==="fullscreen"&&(at||xt.fullscreen?bt.fullscreen=!xt[Fe]:bt.fullscreen=xt[Fe]),Fe==="preview"&&bt.preview?bt.htmlPreview=!1:Fe==="htmlPreview"&&bt.htmlPreview&&(bt.preview=!1),bt})},[]);return(0,o.useEffect)(()=>{bs=document.body.style.overflow},[]),(0,o.useEffect)(()=>{ut.pageFullscreen||ut.fullscreen?document.body.style.overflow="hidden":document.body.style.overflow=bs},[ut.pageFullscreen,ut.fullscreen]),[pe,Re,ut,Ke]},Cn=(n,l,u,g,w)=>{const{editorId:k}=l;(0,o.useEffect)(()=>{Zt.emit(k,ds,g.pageFullscreen)},[g.pageFullscreen]),(0,o.useEffect)(()=>{Zt.emit(k,ps,g.fullscreen)},[g.fullscreen]),(0,o.useEffect)(()=>{Zt.emit(k,ms,g.preview)},[g.preview]),(0,o.useEffect)(()=>{Zt.emit(k,gs,g.htmlPreview)},[g.htmlPreview]),(0,o.useEffect)(()=>{Zt.emit(k,fo,u)},[u]),(0,o.useImperativeHandle)(n,()=>({on(M,ee){switch(M){case"pageFullscreen":{Zt.on(k,{name:ds,callback(de){ee(de)}});break}case"fullscreen":{Zt.on(k,{name:ps,callback(de){ee(de)}});break}case"preview":{Zt.on(k,{name:ms,callback(de){ee(de)}});break}case"htmlPreview":{Zt.on(k,{name:gs,callback(de){ee(de)}});break}case"catalog":{Zt.on(k,{name:fo,callback(de){ee(de)}});break}}},togglePageFullscreen(M){w("pageFullscreen",M)},toggleFullscreen(M){Zt.emit(k,uo,M)},togglePreview(M){w("preview",M)},toggleHtmlPreview(M){w("htmlPreview",M)},toggleCatalog(M){Zt.emit(k,tr,M)},triggerSave(){Zt.emit(k,$r)},insert(M){Zt.emit(k,"replace","universal",{generate:M})},focus(){Zt.emit(k,po)}}),[w])},cl=()=>o.createElement("div",{className:`${Me}-divider`}),Ss=`${Me}-dropdown-hidden`,Ii=n=>{const[l,u]=(0,o.useState)({overlayClass:Ss,overlayStyle:{}}),g=(0,o.useRef)({triggerHover:!1,overlayHover:!1}),w=(0,o.useRef)(null),k=(0,o.useRef)(null),M=(0,o.useCallback)(()=>{var Fe;n.trigger==="hover"&&(g.current.triggerHover=!0);const at=w.current,xt=k.current,bt=at.getBoundingClientRect(),It=at.offsetTop,on=at.offsetLeft,qt=bt.height,Kt=bt.width,Gt=((Fe=document.querySelector(n.relative))==null?void 0:Fe.scrollLeft)||0;u(Ot=>xn(mn({},Ot),{overlayStyle:{top:It+qt+"px",left:on-xt.offsetWidth/2+Kt/2-Gt+"px"}})),n.onChange(!0)},[n]),ee=()=>{g.current.overlayHover=!0};(0,o.useEffect)(()=>{n.visible?u(Fe=>xn(mn({},Fe),{overlayClass:""})):u(Fe=>xn(mn({},Fe),{overlayClass:Ss}))},[n.visible]);const de=(0,o.useCallback)(Fe=>{const at=w.current,xt=k.current;!at.contains(Fe.target)&&!xt.contains(Fe.target)&&n.onChange(!1)},[n]),fe=(0,o.useRef)(-1),pe=(0,o.useCallback)(Fe=>{w.current===Fe.target?g.current.triggerHover=!1:g.current.overlayHover=!1,clearTimeout(fe.current),fe.current=window.setTimeout(()=>{!g.current.overlayHover&&!g.current.triggerHover&&n.onChange(!1)},10)},[n]);(0,o.useEffect)(()=>(n.trigger==="click"?(w.current.addEventListener("click",M),document.addEventListener("click",de)):(w.current.addEventListener("mouseenter",M),w.current.addEventListener("mouseleave",pe),k.current.addEventListener("mouseenter",ee),k.current.addEventListener("mouseleave",pe)),()=>{n.trigger==="click"&&w.current?(w.current.removeEventListener("click",M),document.removeEventListener("click",de)):(w.current&&(w.current.removeEventListener("mouseenter",M),w.current.removeEventListener("mouseleave",pe)),k.current&&(k.current.removeEventListener("mouseenter",ee),k.current.removeEventListener("mouseleave",pe)))}),[de,pe,n.trigger,M]);const Re=n.children,ut=n.overlay,dt=(0,o.cloneElement)(Re,{ref:w}),Ke=o.createElement("div",{className:`${Me}-dropdown ${l.overlayClass}`,style:l.overlayStyle,ref:k},o.createElement("div",{className:`${Me}-dropdown-overlay`},ut instanceof Array?ut[0]:ut));return o.createElement(o.Fragment,null,dt,Ke)};Ii.defaultProps={trigger:"hover",relative:"html"};const Qr=n=>{const{onClose:l=()=>{}}=n,[u,g]=(0,o.useState)(n.visible),[w,k]=(0,o.useState)([`${Me}-modal`]),M=(0,o.useRef)(null),ee=(0,o.useRef)(null),[de,fe]=(0,o.useState)({initPos:{left:"0px",top:"0px"},historyPos:{left:"0px",top:"0px"}}),pe=(0,o.useMemo)(()=>n.isFullscreen?{width:"100%",height:"100%"}:{width:n.width,height:n.height},[n.height,n.isFullscreen,n.width]),[Re,ut]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let dt=()=>{};return n.isFullscreen||(dt=co(ee.current,(Ke,Fe)=>{fe(at=>xn(mn({},at),{initPos:{left:Ke+"px",top:Fe+"px"}}))})),dt},[Re,n.isFullscreen]),(0,o.useEffect)(()=>{if(u){const dt=M.current.offsetWidth/2,Ke=M.current.offsetHeight/2,Fe=document.documentElement.clientWidth/2,at=document.documentElement.clientHeight/2;fe(xt=>xn(mn({},xt),{initPos:{left:Fe-dt+"px",top:at-Ke+"px"}})),!Re&&ut(!0)}},[Re,u]),(0,o.useEffect)(()=>{const dt=n.visible;dt?(k(()=>[`${Me}-modal`,"zoom-in"]),g(dt)):Re&&(k(()=>[`${Me}-modal`,"zoom-out"]),setTimeout(()=>{g(dt)},150))},[Re,n.visible]),o.createElement("div",{className:n.className,style:{display:u?"block":"none"}},o.createElement("div",{className:`${Me}-modal-mask`,onClick:l}),o.createElement("div",{className:w.join(" "),style:mn(mn({},de.initPos),pe),ref:M},o.createElement("div",{className:`${Me}-modal-header`,ref:ee},n.title||""),o.createElement("div",{className:`${Me}-modal-func`},n.showAdjust&&o.createElement("div",{className:`${Me}-modal-adjust`,onClick:dt=>{dt.stopPropagation(),n.isFullscreen?fe(Ke=>xn(mn({},Ke),{initPos:Ke.historyPos})):fe(Ke=>({historyPos:Ke.initPos,initPos:{left:"0",top:"0"}})),n.onAdjust instanceof Function&&n.onAdjust(!n.isFullscreen)}},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:`#md-editor-icon-${n.isFullscreen?"suoxiao":"fangda"}`}))),o.createElement("div",{className:`${Me}-modal-close`,onClick:dt=>{dt.stopPropagation(),n.onClose&&n.onClose()}},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-close"})))),o.createElement("div",{className:`${Me}-modal-body`},n.children)))};Qr.defaultProps={onAdjust(){}};const ul=n=>{var l,u,g,w,k;const{editorId:M,usedLanguageText:ee}=(0,o.useContext)(Jn),de=(0,o.useMemo)(()=>{var Re,ut;switch(n.type){case"link":return(Re=ee.linkModalTips)==null?void 0:Re.linkTitle;case"image":return(ut=ee.linkModalTips)==null?void 0:ut.imageTitle;default:return""}},[n.type,ee]),[fe,pe]=(0,o.useState)({desc:"",url:""});return(0,o.useEffect)(()=>{n.visible||setTimeout(()=>{pe({desc:"",url:""})},200)},[n.visible]),(0,o.useMemo)(()=>{var Re,ut,dt,Ke,Fe;return o.createElement(Qr,{title:de,visible:n.visible,onClose:n.onCancel},o.createElement("div",{className:`${Me}-form-item`},o.createElement("label",{className:`${Me}-label`,htmlFor:`link-desc-${M}`},(Re=ee.linkModalTips)==null?void 0:Re.descLabel),o.createElement("input",{placeholder:(ut=ee.linkModalTips)==null?void 0:ut.descLabelPlaceHolder,className:`${Me}-input`,id:`link-desc-${M}`,type:"text",value:fe.desc,onChange:at=>{pe(xt=>xn(mn({},xt),{desc:at.target.value}))}})),o.createElement("div",{className:`${Me}-form-item`},o.createElement("label",{className:`${Me}-label`,htmlFor:`link-url-${M}`},(dt=ee.linkModalTips)==null?void 0:dt.urlLabel),o.createElement("input",{placeholder:(Ke=ee.linkModalTips)==null?void 0:Ke.urlLabelPlaceHolder,className:`${Me}-input`,id:`link-url-${M}`,type:"text",value:fe.url,onChange:at=>{pe(xt=>xn(mn({},xt),{url:at.target.value}))}})),o.createElement("div",{className:`${Me}-form-item`},o.createElement("button",{className:`${Me}-btn ${Me}-btn-row`,type:"button",onClick:()=>{n.onOk(fe),pe(at=>xn(mn({},at),{desc:"",url:""}))}},(Fe=ee.linkModalTips)==null?void 0:Fe.buttonOK)))},[de,n,(l=ee.linkModalTips)==null?void 0:l.descLabel,(u=ee.linkModalTips)==null?void 0:u.descLabelPlaceHolder,(g=ee.linkModalTips)==null?void 0:g.urlLabel,(w=ee.linkModalTips)==null?void 0:w.urlLabelPlaceHolder,(k=ee.linkModalTips)==null?void 0:k.buttonOK,fe])};function vs(){return vs=Object.assign?Object.assign.bind():function(n){for(var l=1;l{var l,u,g,w;const k=(0,o.useContext)(Jn),{editorId:M,usedLanguageText:ee}=k,de=(u=(l=Yn.editorExtensions)==null?void 0:l.cropper)==null?void 0:u.instance,fe=(0,o.useRef)(null),pe=(0,o.useRef)(null),Re=(0,o.useRef)(null),[ut,dt]=(0,o.useState)({cropperInited:!1,imgSelected:!1,imgSrc:"",isFullscreen:!1});(0,o.useEffect)(()=>{n.visible&&!ut.cropperInited&&(window.Cropper=de||window.Cropper,fe.current.onchange=()=>{if(!window.Cropper){Zt.emit(M,"errorCatcher",{name:"Cropper",message:"Cropper is undefined"});return}const xt=fe.current.files||[];if((xt==null?void 0:xt.length)>0){const bt=new FileReader;bt.onload=It=>{dt(on=>xn(mn({},on),{imgSelected:!0,imgSrc:It.target.result}))},bt.readAsDataURL(xt[0])}})},[n.visible,ut.cropperInited]),(0,o.useEffect)(()=>{ut.imgSrc&&(Qi=new window.Cropper(pe.current,{viewMode:2,preview:`.${Me}-clip-preview-target`}))},[ut.imgSrc]),(0,o.useEffect)(()=>{var xt;(xt=Re.current)==null||xt.setAttribute("style","")},[ut.imgSelected]),(0,o.useEffect)(()=>{var xt;Qi==null||Qi.destroy(),(xt=Re.current)==null||xt.setAttribute("style",""),pe.current&&(Qi=new window.Cropper(pe.current,{viewMode:2,preview:`.${Me}-clip-preview-target`}))},[ut.isFullscreen]);const Ke=(0,o.useMemo)(()=>ut.isFullscreen?{width:"100%",height:"100%"}:{width:"668px",height:"392px"},[ut.isFullscreen]),Fe=()=>{Qi.clear(),Qi.destroy(),Qi=null,fe.current.value="",dt(xt=>xn(mn({},xt),{imgSrc:"",imgSelected:!1}))},at=(0,o.useCallback)(xt=>{dt(bt=>xn(mn({},bt),{isFullscreen:xt}))},[]);return(0,o.useMemo)(()=>{var xt,bt;return o.createElement(Qr,vs({className:`${Me}-modal-clip`,title:(xt=ee.clipModalTips)==null?void 0:xt.title,visible:n.visible,onClose:n.onCancel,showAdjust:!0,isFullscreen:ut.isFullscreen,onAdjust:at},Ke),o.createElement("div",{className:`${Me}-form-item ${Me}-clip`},o.createElement("div",{className:`${Me}-clip-main`},ut.imgSelected?o.createElement("div",{className:`${Me}-clip-cropper`},o.createElement("img",{src:ut.imgSrc,ref:pe,style:{display:"none"},alt:""}),o.createElement("div",{className:`${Me}-clip-delete`,onClick:Fe},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-delete"})))):o.createElement("div",{className:`${Me}-clip-upload`,onClick:()=>{fe.current.click()}},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-upload"})))),o.createElement("div",{className:`${Me}-clip-preview`},o.createElement("div",{className:`${Me}-clip-preview-target`,ref:Re}))),o.createElement("div",{className:`${Me}-form-item`},o.createElement("button",{className:`${Me}-btn`,type:"button",onClick:()=>{if(Qi){const It=Qi.getCroppedCanvas();Zt.emit(M,"uploadImage",[ao(It.toDataURL("image/png"))],n.onOk),Fe()}}},(bt=ee.linkModalTips)==null?void 0:bt.buttonOK)),o.createElement("input",{ref:fe,accept:"image/*",type:"file",multiple:!1,style:{display:"none"}}))},[(g=ee.clipModalTips)==null?void 0:g.title,(w=ee.linkModalTips)==null?void 0:w.buttonOK,n.visible,n.onCancel,n.onOk,ut.isFullscreen,ut.imgSelected,ut.imgSrc,at,Ke])},mo=n=>o.createElement(o.Fragment,null,o.createElement(ul,{type:n.type,visible:n.linkVisible,onOk:n.onOk,onCancel:n.onCancel}),o.createElement(fl,{visible:n.clipVisible,onOk:n.onOk,onCancel:n.onCancel})),go=n=>{const[l,u]=(0,o.useState)({x:-1,y:-1});return o.createElement("div",{className:`${Me}-table-shape`,onMouseLeave:()=>{u({x:-1,y:-1})}},new Array(n.tableShape[1]).fill("").map((g,w)=>o.createElement("div",{className:`${Me}-table-shape-row`,key:`table-shape-row-${w}`},new Array(n.tableShape[0]).fill("").map((k,M)=>o.createElement("div",{className:`${Me}-table-shape-col`,key:`table-shape-col-${M}`,onMouseEnter:()=>{u({x:w,y:M})},onClick:()=>{n.onSelected(l)}},o.createElement("div",{className:[`${Me}-table-shape-col-default`,w<=l.x&&M<=l.y&&`${Me}-table-shape-col-include`].filter(ee=>!!ee).join(" ")}))))))},Oo=n=>{var l;const{editorId:u}=(0,o.useContext)(Jn),g=(l=Yn.editorExtensions)==null?void 0:l.screenfull;let w=g==null?void 0:g.instance;const k=(0,o.useRef)(!1),M=(0,o.useCallback)(ee=>{if(!w){Zt.emit(u,"errorCatcher",{name:"fullscreen",message:"fullscreen is undefined"});return}w.isEnabled?(k.current=!0,(ee===void 0?!w.isFullscreen:ee)?w.request():w.exit()):console.error("browser does not support screenfull!")},[]);return(0,o.useEffect)(()=>{let ee;w||(ee=document.createElement("script"),ee.src=(g==null?void 0:g.js)||tl,ee.onload=()=>{w=window.screenfull,w&&w.isEnabled&&w.on("change",()=>{n.updateSetting("fullscreen",k.current),k.current&&(k.current=!1)})},ee.id=`${Me}-screenfull`,$i(ee,"screenfull")),w&&w.isEnabled&&w.on("change",()=>{n.updateSetting("fullscreen",k.current),k.current&&(k.current=!1)})},[]),(0,o.useEffect)(()=>{Zt.on(u,{name:uo,callback:M})},[]),{fullscreenHandler:M}},_l=(n,l)=>{const{editorId:u}=(0,o.useContext)(Jn),[g,w]=(0,o.useState)({type:"link",linkVisible:!1,clipVisible:!1}),k=(0,o.useCallback)(()=>{w(ee=>xn(mn({},ee),{linkVisible:!1,clipVisible:!1}))},[]),M=(0,o.useCallback)(ee=>{ee&&l(g.type,{desc:ee.desc,url:ee.url}),k()},[l,g.type,k]);return(0,o.useEffect)(()=>{Zt.on(u,{name:"openModals",callback(de){w(fe=>xn(mn({},fe),{type:de,linkVisible:!0}))}});const ee=()=>{Zt.emit(u,"uploadImage",Array.from(n.current.files||[])),n.current.value=""};n.current.addEventListener("change",ee)},[]),{modalData:g,setModalData:w,onCancel:k,onOk:M}},Gi=n=>{const[l,u]=(0,o.useState)({title:!1,catalog:!1,image:!1,table:!1,mermaid:!1,katex:!1}),g=(0,o.useCallback)(dt=>{u(Ke=>xn(mn({},Ke),{title:dt}))},[]),w=(0,o.useCallback)(()=>{u(dt=>xn(mn({},dt),{title:!1}))},[]),k=(0,o.useCallback)(dt=>{u(Ke=>xn(mn({},Ke),{image:dt}))},[]),M=(0,o.useCallback)(()=>{u(dt=>xn(mn({},dt),{image:!1}))},[]),ee=(0,o.useCallback)(dt=>{u(Ke=>xn(mn({},Ke),{table:dt}))},[]),de=(0,o.useCallback)(dt=>{n("table",{selectedShape:dt})},[n]),fe=(0,o.useCallback)(dt=>{u(Ke=>xn(mn({},Ke),{mermaid:dt}))},[]),pe=(0,o.useCallback)(()=>{u(dt=>xn(mn({},dt),{mermaid:!1}))},[]),Re=(0,o.useCallback)(dt=>{u(Ke=>xn(mn({},Ke),{katex:dt}))},[]),ut=(0,o.useCallback)(()=>{u(dt=>xn(mn({},dt),{katex:!1}))},[]);return{visible:l,onTitleChange:g,onTitleClose:w,onImageChange:k,onImageClose:M,onTableChange:ee,onTableSelected:de,onMermaidChange:fe,onMermaidClose:pe,onKatexChange:Re,onKatexClose:ut}};let dl=0;const pl=n=>{var l,u,g,w,k,M,ee,de,fe,pe,Re,ut,dt,Ke,Fe,at,xt,bt,It,on,qt,Kt,Gt,Ot,Xn,vn,Pn,nn,Ft,$n,Dn,pn,Ln,Fn,Ai,ui,fi,di,Ji,mr,Ki,Xo,Mo,Rr,Yo,Lo,es,ts;const{toolbars:Ms,toolbarsExclude:Io,setting:rr,updateSetting:ns}=n,{editorId:sr,usedLanguageText:zo}=(0,o.useContext)(Jn),wt=zo,[Fi]=(0,o.useState)(()=>`${sr}-toolbar-wrapper`),jl=(0,o.useRef)(null),yn=(0,o.useCallback)((In,_n)=>{Zt.emit(sr,"replace",In,_n)},[]),{fullscreenHandler:ha}=Oo(n),{modalData:Ys,setModalData:is,onCancel:Na,onOk:Va}=_l(jl,yn),{visible:_i,onTitleChange:ca,onTitleClose:ua,onImageChange:fa,onImageClose:da,onTableChange:pa,onTableSelected:ma,onMermaidChange:ga,onMermaidClose:Oa,onKatexChange:ba,onKatexClose:Sa}=Gi(yn),va=(0,o.useMemo)(()=>{var In,_n,Ci,Yi,pi,gr,Or;return o.createElement(Ii,{relative:`#${Fi}`,visible:_i.title,onChange:ca,overlay:o.createElement("ul",{className:`${Me}-menu`,onClick:ua},o.createElement("li",{className:`${Me}-menu-item`,onClick:()=>{yn("h1")}},(In=wt.titleItem)==null?void 0:In.h1),o.createElement("li",{className:`${Me}-menu-item`,onClick:()=>{yn("h2")}},(_n=wt.titleItem)==null?void 0:_n.h2),o.createElement("li",{className:`${Me}-menu-item`,onClick:()=>{yn("h3")}},(Ci=wt.titleItem)==null?void 0:Ci.h3),o.createElement("li",{className:`${Me}-menu-item`,onClick:()=>{yn("h4")}},(Yi=wt.titleItem)==null?void 0:Yi.h4),o.createElement("li",{className:`${Me}-menu-item`,onClick:()=>{yn("h5")}},(pi=wt.titleItem)==null?void 0:pi.h5),o.createElement("li",{className:`${Me}-menu-item`,onClick:()=>{yn("h6")}},(gr=wt.titleItem)==null?void 0:gr.h6)),key:"bar-title"},o.createElement("div",{className:`${Me}-toolbar-item`,title:(Or=wt.toolbarTips)==null?void 0:Or.title},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-title"}))))},[Fi,_i.title,ca,ua,(l=wt.titleItem)==null?void 0:l.h1,(u=wt.titleItem)==null?void 0:u.h2,(g=wt.titleItem)==null?void 0:g.h3,(w=wt.titleItem)==null?void 0:w.h4,(k=wt.titleItem)==null?void 0:k.h5,(M=wt.titleItem)==null?void 0:M.h6,(ee=wt.toolbarTips)==null?void 0:ee.title,yn]),ya=(0,o.useMemo)(()=>{var In,_n,Ci,Yi;return o.createElement(Ii,{relative:`#${Fi}`,visible:_i.image,onChange:fa,overlay:o.createElement("ul",{className:`${Me}-menu`,onClick:da},o.createElement("li",{className:`${Me}-menu-item`,onClick:()=>{is(pi=>xn(mn({},pi),{type:"image",linkVisible:!0}))}},(In=wt.imgTitleItem)==null?void 0:In.link),o.createElement("li",{className:`${Me}-menu-item`,onClick:()=>{jl.current.click()}},(_n=wt.imgTitleItem)==null?void 0:_n.upload),o.createElement("li",{className:`${Me}-menu-item`,onClick:()=>{is(pi=>xn(mn({},pi),{type:"image",clipVisible:!0}))}},(Ci=wt.imgTitleItem)==null?void 0:Ci.clip2upload)),key:"bar-image"},o.createElement("div",{className:`${Me}-toolbar-item`,title:(Yi=wt.toolbarTips)==null?void 0:Yi.image},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-image"}))))},[Fi,_i.image,fa,da,(de=wt.imgTitleItem)==null?void 0:de.link,(fe=wt.imgTitleItem)==null?void 0:fe.upload,(pe=wt.imgTitleItem)==null?void 0:pe.clip2upload,(Re=wt.toolbarTips)==null?void 0:Re.image,is]),xa=(0,o.useMemo)(()=>{var In;return o.createElement(Ii,{relative:`#${Fi}`,visible:_i.table,onChange:pa,key:"bar-table",overlay:o.createElement(go,{tableShape:n.tableShape,onSelected:ma})},o.createElement("div",{className:`${Me}-toolbar-item`,title:(In=wt.toolbarTips)==null?void 0:In.table},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-table"}))))},[Fi,_i.table,pa,n.tableShape,ma,(ut=wt.toolbarTips)==null?void 0:ut.table]),ka=(0,o.useMemo)(()=>{var In,_n,Ci,Yi,pi,gr,Or,Ls,Is;return o.createElement(Ii,{relative:`#${Fi}`,visible:_i.mermaid,onChange:ga,overlay:o.createElement("ul",{className:`${Me}-menu`,onClick:Oa},o.createElement("li",{className:`${Me}-menu-item`,onClick:()=>{yn("flow")}},(In=wt.mermaid)==null?void 0:In.flow),o.createElement("li",{className:`${Me}-menu-item`,onClick:()=>{yn("sequence")}},(_n=wt.mermaid)==null?void 0:_n.sequence),o.createElement("li",{className:`${Me}-menu-item`,onClick:()=>{yn("gantt")}},(Ci=wt.mermaid)==null?void 0:Ci.gantt),o.createElement("li",{className:`${Me}-menu-item`,onClick:()=>{yn("class")}},(Yi=wt.mermaid)==null?void 0:Yi.class),o.createElement("li",{className:`${Me}-menu-item`,onClick:()=>{yn("state")}},(pi=wt.mermaid)==null?void 0:pi.state),o.createElement("li",{className:`${Me}-menu-item`,onClick:()=>{yn("pie")}},(gr=wt.mermaid)==null?void 0:gr.pie),o.createElement("li",{className:`${Me}-menu-item`,onClick:()=>{yn("relationship")}},(Or=wt.mermaid)==null?void 0:Or.relationship),o.createElement("li",{className:`${Me}-menu-item`,onClick:()=>{yn("journey")}},(Ls=wt.mermaid)==null?void 0:Ls.journey)),key:"bar-mermaid"},o.createElement("div",{className:`${Me}-toolbar-item`,title:(Is=wt.toolbarTips)==null?void 0:Is.mermaid},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-mermaid"}))))},[Fi,_i.mermaid,ga,Oa,(dt=wt.mermaid)==null?void 0:dt.flow,(Ke=wt.mermaid)==null?void 0:Ke.sequence,(Fe=wt.mermaid)==null?void 0:Fe.gantt,(at=wt.mermaid)==null?void 0:at.class,(xt=wt.mermaid)==null?void 0:xt.state,(bt=wt.mermaid)==null?void 0:bt.pie,(It=wt.mermaid)==null?void 0:It.relationship,(on=wt.mermaid)==null?void 0:on.journey,(qt=wt.toolbarTips)==null?void 0:qt.mermaid,yn]),wa=(0,o.useMemo)(()=>{var In,_n,Ci;return o.createElement(Ii,{relative:`#${Fi}`,visible:_i.katex,onChange:ba,overlay:o.createElement("ul",{className:`${Me}-menu`,onClick:Sa},o.createElement("li",{className:`${Me}-menu-item`,onClick:()=>{yn("katexInline")}},(In=wt.katex)==null?void 0:In.inline),o.createElement("li",{className:`${Me}-menu-item`,onClick:()=>{yn("katexBlock")}},(_n=wt.katex)==null?void 0:_n.block)),key:"bar-katex"},o.createElement("div",{className:`${Me}-toolbar-item`,title:(Ci=wt.toolbarTips)==null?void 0:Ci.katex},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-formula"}))))},[Fi,_i.katex,ba,Sa,(Kt=wt.katex)==null?void 0:Kt.inline,(Gt=wt.katex)==null?void 0:Gt.block,(Ot=wt.toolbarTips)==null?void 0:Ot.katex,yn]),Nl=(0,o.useCallback)(In=>{var _n,Ci,Yi,pi,gr,Or,Ls,Is,$a,Qa,Pa,Ta,Aa,Ea,Za,Ra,Da,Xa,Ma,Ya,La,Ia,za,Wa;if(hs.includes(In))switch(In){case"-":return o.createElement(cl,{key:`bar-${dl++}`});case"bold":return o.createElement("div",{className:`${Me}-toolbar-item`,title:(_n=wt.toolbarTips)==null?void 0:_n.bold,onClick:()=>{yn("bold")},key:"bar-bold"},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-bold"})));case"underline":return o.createElement("div",{className:`${Me}-toolbar-item`,title:(Ci=wt.toolbarTips)==null?void 0:Ci.underline,onClick:()=>{yn("underline")},key:"bar-underline"},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-underline"})));case"italic":return o.createElement("div",{className:`${Me}-toolbar-item`,title:(Yi=wt.toolbarTips)==null?void 0:Yi.italic,onClick:()=>{yn("italic")},key:"bar-italic"},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-italic"})));case"strikeThrough":return o.createElement("div",{className:`${Me}-toolbar-item`,title:(pi=wt.toolbarTips)==null?void 0:pi.strikeThrough,onClick:()=>{yn("strikeThrough")},key:"bar-strikeThrough"},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-strike-through"})));case"title":return va;case"sub":return o.createElement("div",{className:`${Me}-toolbar-item`,title:(gr=wt.toolbarTips)==null?void 0:gr.sub,onClick:()=>{yn("sub")},key:"bar-sub"},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-sub"})));case"sup":return o.createElement("div",{className:`${Me}-toolbar-item`,title:(Or=wt.toolbarTips)==null?void 0:Or.sup,onClick:()=>{yn("sup")},key:"bar-sup"},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-sup"})));case"quote":return o.createElement("div",{className:`${Me}-toolbar-item`,title:(Ls=wt.toolbarTips)==null?void 0:Ls.quote,onClick:()=>{yn("quote")},key:"bar-quote"},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-quote"})));case"unorderedList":return o.createElement("div",{className:`${Me}-toolbar-item`,title:(Is=wt.toolbarTips)==null?void 0:Is.unorderedList,onClick:()=>{yn("unorderedList")},key:"bar-unorderedList"},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-unordered-list"})));case"orderedList":return o.createElement("div",{className:`${Me}-toolbar-item`,title:($a=wt.toolbarTips)==null?void 0:$a.orderedList,onClick:()=>{yn("orderedList")},key:"bar-orderedList"},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-ordered-list"})));case"task":return o.createElement("div",{className:`${Me}-toolbar-item`,title:(Qa=wt.toolbarTips)==null?void 0:Qa.task,onClick:()=>{yn("task")},key:"bar-task"},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-task"})));case"codeRow":return o.createElement("div",{className:`${Me}-toolbar-item`,title:(Pa=wt.toolbarTips)==null?void 0:Pa.codeRow,onClick:()=>{yn("codeRow")},key:"bar-codeRow"},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-code-row"})));case"code":return o.createElement("div",{className:`${Me}-toolbar-item`,title:(Ta=wt.toolbarTips)==null?void 0:Ta.code,onClick:()=>{yn("code")},key:"bar-code"},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-code"})));case"link":return o.createElement("div",{className:`${Me}-toolbar-item`,title:(Aa=wt.toolbarTips)==null?void 0:Aa.link,onClick:()=>{is(xn(mn({},Ys),{type:"link",linkVisible:!0}))},key:"bar-link"},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-link"})));case"image":return n.noUploadImg?o.createElement("div",{className:`${Me}-toolbar-item`,title:(Ea=wt.toolbarTips)==null?void 0:Ea.image,onClick:()=>{is(Ua=>xn(mn({},Ua),{type:"image",linkVisible:!0}))},key:"bar-image-no-upload"},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-image"}))):ya;case"table":return xa;case"revoke":return o.createElement("div",{className:`${Me}-toolbar-item`,title:(Za=wt.toolbarTips)==null?void 0:Za.revoke,onClick:()=>{Zt.emit(sr,"ctrlZ")},key:"bar-revoke"},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-revoke"})));case"next":return o.createElement("div",{className:`${Me}-toolbar-item`,title:(Ra=wt.toolbarTips)==null?void 0:Ra.next,onClick:()=>{Zt.emit(sr,"ctrlShiftZ")},key:"bar-next"},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-next"})));case"save":return o.createElement("div",{className:`${Me}-toolbar-item`,title:(Da=wt.toolbarTips)==null?void 0:Da.save,onClick:()=>{Zt.emit(sr,$r)},key:"bar-save"},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-baocun"})));case"prettier":return n.noPrettier?"":o.createElement("div",{className:`${Me}-toolbar-item`,title:(Xa=wt.toolbarTips)==null?void 0:Xa.prettier,onClick:()=>{yn("prettier")},key:"bar-prettier"},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-prettier"})));case"pageFullscreen":return!rr.fullscreen&&o.createElement("div",{className:`${Me}-toolbar-item`,title:(Ma=wt.toolbarTips)==null?void 0:Ma.pageFullscreen,onClick:()=>{ns("pageFullscreen")},key:"bar-pageFullscreen"},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:`#md-editor-icon-${rr.pageFullscreen?"suoxiao":"fangda"}`})));case"fullscreen":return o.createElement("div",{className:`${Me}-toolbar-item`,title:(Ya=wt.toolbarTips)==null?void 0:Ya.fullscreen,onClick:()=>{ha()},key:"bar-fullscreen"},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:`#md-editor-icon-${rr.fullscreen?"fullscreen-exit":"fullscreen"}`})));case"catalog":return o.createElement("div",{className:`${Me}-toolbar-item`,title:(La=wt.toolbarTips)==null?void 0:La.catalog,onClick:()=>{Zt.emit(sr,tr)},key:"bar-catalog"},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-catalog"})));case"preview":return o.createElement("div",{className:`${Me}-toolbar-item`,title:(Ia=wt.toolbarTips)==null?void 0:Ia.preview,onClick:()=>{ns("preview")},key:"bar-preview"},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-preview"})));case"htmlPreview":return o.createElement("div",{className:`${Me}-toolbar-item`,title:(za=wt.toolbarTips)==null?void 0:za.htmlPreview,onClick:()=>{ns("htmlPreview")},key:"bar-htmlPreview"},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-coding"})));case"github":return o.createElement("div",{className:`${Me}-toolbar-item`,title:(Wa=wt.toolbarTips)==null?void 0:Wa.github,onClick:()=>il("https://github.com/imzbf/md-editor-rt"),key:"bar-github"},o.createElement("svg",{className:`${Me}-icon`,"aria-hidden":"true"},o.createElement("use",{xlinkHref:"#md-editor-icon-github"})));case"mermaid":return ka;case"katex":return wa}else return n.defToolbars&&n.defToolbars[In]||""},[n.defToolbars,n.noUploadImg,n.noPrettier,(Xn=wt.toolbarTips)==null?void 0:Xn.bold,(vn=wt.toolbarTips)==null?void 0:vn.underline,(Pn=wt.toolbarTips)==null?void 0:Pn.italic,(nn=wt.toolbarTips)==null?void 0:nn.strikeThrough,(Ft=wt.toolbarTips)==null?void 0:Ft.sub,($n=wt.toolbarTips)==null?void 0:$n.sup,(Dn=wt.toolbarTips)==null?void 0:Dn.quote,(pn=wt.toolbarTips)==null?void 0:pn.unorderedList,(Ln=wt.toolbarTips)==null?void 0:Ln.orderedList,(Fn=wt.toolbarTips)==null?void 0:Fn.task,(Ai=wt.toolbarTips)==null?void 0:Ai.codeRow,(ui=wt.toolbarTips)==null?void 0:ui.code,(fi=wt.toolbarTips)==null?void 0:fi.link,(di=wt.toolbarTips)==null?void 0:di.image,(Ji=wt.toolbarTips)==null?void 0:Ji.revoke,(mr=wt.toolbarTips)==null?void 0:mr.next,(Ki=wt.toolbarTips)==null?void 0:Ki.save,(Xo=wt.toolbarTips)==null?void 0:Xo.prettier,(Mo=wt.toolbarTips)==null?void 0:Mo.pageFullscreen,(Rr=wt.toolbarTips)==null?void 0:Rr.fullscreen,(Yo=wt.toolbarTips)==null?void 0:Yo.catalog,(Lo=wt.toolbarTips)==null?void 0:Lo.preview,(es=wt.toolbarTips)==null?void 0:es.htmlPreview,(ts=wt.toolbarTips)==null?void 0:ts.github,yn,va,is,Ys,ya,xa,sr,rr.fullscreen,rr.pageFullscreen,ns,ha,ka,wa]),Ca=(0,o.useMemo)(()=>{const In=Ms.filter(pi=>!Io.includes(pi)),_n=In.indexOf("="),Ci=_n===-1?In:In.slice(0,_n+1),Yi=_n===-1?[]:In.slice(_n,Number.MAX_SAFE_INTEGER);return[Ci.map(pi=>Nl(pi)),Yi.map(pi=>Nl(pi))]},[Ms,Io,Nl]);return o.createElement(o.Fragment,null,Ms.length>0&&o.createElement("div",{className:`${Me}-toolbar-wrapper`,id:Fi},o.createElement("div",{className:`${Me}-toolbar`},o.createElement("div",{className:`${Me}-toolbar-left`},Ca[0]),o.createElement("div",{className:`${Me}-toolbar-right`},Ca[1]))),o.createElement("input",{ref:jl,accept:"image/*",type:"file",multiple:!0,style:{display:"none"}}),o.createElement(mo,{linkVisible:Ys.linkVisible,clipVisible:Ys.clipVisible,type:Ys.type,onCancel:Na,onOk:Va}))},bo=o.memo(pl),cr=(n,l,u)=>{let g=n.scrollTop;const w=()=>{const k=l-g;g=g+k/5,Math.abs(k)<1?(n.scrollTo(0,l),u&&setTimeout(u,100)):(n.scrollTo(0,g),requestAnimationFrame(w))};w()},So=(n,l)=>{const u=ar(()=>{n.removeEventListener("scroll",g),n.addEventListener("scroll",g),l.removeEventListener("scroll",g),l.addEventListener("scroll",g)},50),g=w=>{const k=n.clientHeight,M=l.clientHeight,ee=n.scrollHeight,de=l.scrollHeight,fe=(ee-k)/(de-M);w.target===n?(l.removeEventListener("scroll",g),l.scrollTo({top:n.scrollTop/fe}),u()):(n.removeEventListener("scroll",g),n.scrollTo({top:l.scrollTop*fe}),u())};return[()=>{u().finally(()=>{n.dispatchEvent(new Event("scroll"))})},()=>{n.removeEventListener("scroll",g),l.removeEventListener("scroll",g)}]},vo=(n,l,u)=>{const{view:g}=u,w=Re=>g.lineBlockAt(g.state.doc.line(Re).from).top,k=Re=>g.lineBlockAt(g.state.doc.line(Re).from).height;let M=[];const ee=()=>{var Fe;M=[];const Re=Array.from(l.querySelectorAll("[data-line]")).map(at=>Number(at.dataset.line)+1),{lines:ut}=g.state.doc;let dt=1,Ke=(Fe=Re.shift())!=null?Fe:ut;for(let at=1;at<=ut;at++)at===Ke&&(dt=at,Ke=Re.shift()||ut+1),M.push({start:dt,end:Ke-1})};let de=0,fe=0;const pe=Re=>{var ut,dt,Ke,Fe,at,xt,bt;if(!((ut=l.firstElementChild)!=null&&ut.firstElementChild))return;const It=g.lineBlockAtHeight(g.scrollDOM.scrollTop),{number:on}=g.state.doc.lineAt(It.from);if(!(on>M.length)&&!(g.state.doc.linesg.scrollDOM.scrollHeight-g.scrollDOM.clientHeight?(Gt=(g.scrollDOM.scrollTop-Ot)/(g.scrollDOM.scrollHeight-g.scrollDOM.clientHeight-Ot),nn=Xn.offsetTop,Pn=l.scrollHeight-l.clientHeight-nn+10):(Gt=(g.scrollDOM.scrollTop-Ot)/(Kt-Ot),nn=Xn.offsetTop,Pn=vn.offsetTop-nn);const Ft=nn-10+Pn*Gt;cr(l,Ft,()=>{de--})}else{if(de!==0)return;fe++;const qt=Array.from(l.querySelectorAll("[data-line]")),Kt=l.scrollTop,Gt=l.scrollHeight;let Ot=qt.length===0?1:Math.ceil(Number(qt[qt.length-1].dataset.line)*(Kt/Gt)),Xn=(Fe=l.firstElementChild)==null?void 0:Fe.firstElementChild;for(let fi=Ot;fi>=0;fi--){const di=l.querySelector(`[data-line="${fi}"]`);if(di){Xn=di,Ot=fi;break}}let vn=(at=l.firstElementChild)==null?void 0:at.firstElementChild,Pn=(xt=l.firstElementChild)==null?void 0:xt.lastElementChild;for(;qt.length>0;){const fi=qt.indexOf(Xn);if(fi+1>=qt.length)break;const di=qt[fi+1],Ji=Xn.offsetTop;if(Ji>Kt){if(fi===0){vn=Xn,Pn=di;break}Xn=qt[fi-1];continue}const mr=di.offsetTop;if(Ji<=Kt&&mr>Kt){vn=Xn,Pn=di;break}Xn=di}const nn=vn.offsetTop,Ft=Pn.offsetTop;let $n=0;const{start:Dn,end:pn}=M[Number(vn.dataset.line||0)],Ln=w(Dn);let Fn=w(pn);const Ai=k(pn);let ui=0;vn===((bt=l.firstElementChild)==null?void 0:bt.firstElementChild)?($n=Math.max(Kt/Ft,0),ui=Fn+Ai-Ln):Fn>g.scrollDOM.scrollHeight-g.scrollDOM.clientHeight?($n=Math.max((Kt-nn)/(l.scrollHeight-nn-l.clientHeight),0),Fn=w(g.state.doc.lines)+k(g.state.doc.lines),ui=8+Fn-Ln-n.clientHeight):($n=Math.max((Kt-nn)/(Ft-nn),0),ui=Fn+Ai-Ln),cr(n,Ln+ui*$n,()=>{fe--})}};return[()=>{ee(),n.addEventListener("scroll",pe),l.addEventListener("scroll",pe),n.dispatchEvent(new Event("scroll"))},()=>{M=[],n.removeEventListener("scroll",pe),l.removeEventListener("scroll",pe)}]},ml=(n,l,u,g,w)=>{const{previewOnly:k}=(0,o.useContext)(Jn),[M,ee]=(0,o.useState)({clear(){},init(){}});(0,o.useEffect)(()=>{M.clear();const de=document.querySelector(".cm-scroller");if(!k&&(u.current||g.current)){const fe=u.current?vo:So,[pe,Re]=fe(de,u.current||g.current,w.current);ee({init:pe,clear:Re}),n.scrollAuto&&pe()}},[l,n.setting.fullscreen,n.setting.pageFullscreen,n.setting.preview,n.setting.htmlPreview]),(0,o.useEffect)(()=>(n.scrollAuto?M.init():M.clear(),()=>{M.clear()}),[M,n.scrollAuto])},gl=(n,l,u)=>{var g,w,k,M,ee,de;let fe="",pe=0,Re=0,ut=!0,dt=!1;const Ke=l.getSelectedText(),Fe=(g=Yn.editorConfig)==null?void 0:g.mermaidTemplate;if(/^h[1-6]{1}$/.test(n)){const at=n.replace(/^h(\d)/,(xt,bt)=>new Array(Number(bt)).fill("#",0,bt).join(""));fe=`${at} ${Ke}`,pe=at.length+1}else if(n==="prettier"){const at=window.prettier||((k=(w=Yn.editorExtensions)==null?void 0:w.prettier)==null?void 0:k.prettierInstance),xt=[((M=window.prettierPlugins)==null?void 0:M.markdown)||((de=(ee=Yn.editorExtensions)==null?void 0:ee.prettier)==null?void 0:de.parserMarkdownInstance)];!at||xt[0]===void 0?(Zt.emit(u.editorId,"errorCatcher",{name:"prettier",message:"prettier is undefined"}),fe=l.getValue()):fe=at.format(l.getValue(),{parser:"markdown",plugins:xt}),ut=!1,dt=!0}else switch(n){case"bold":{fe=`**${Ke}**`,pe=2,Re=-2;break}case"underline":{fe=`${Ke}`,pe=3,Re=-4;break}case"italic":{fe=`*${Ke}*`,pe=1,Re=-1;break}case"strikeThrough":{fe=`~~${Ke}~~`,pe=2,Re=-2;break}case"sub":{fe=`${Ke}`,pe=5,Re=-6;break}case"sup":{fe=`${Ke}`,pe=5,Re=-6;break}case"codeRow":{fe="`"+Ke+"`",pe=1,Re=-1;break}case"quote":{fe=`> ${Ke}`,pe=2;break}case"orderedList":{fe=`1. ${Ke}`,pe=3;break}case"unorderedList":{fe=`- ${Ke}`,pe=2;break}case"task":{fe=`- [ ] ${Ke}`,pe=6;break}case"code":{const at=u.text||Ke||"",xt=u.mode||"language";fe=`\`\`\`${xt} +${at} +\`\`\` +`,pe=3,Re=3+xt.length-fe.length;break}case"table":{fe="|";const{selectedShape:at={x:1,y:1}}=u,{x:xt,y:bt}=at;for(let It=0;It<=bt;It++)fe+=" col |";fe+=` +|`;for(let It=0;It<=bt;It++)fe+=" - |";for(let It=0;It<=xt;It++){fe+=` +|`;for(let on=0;on<=bt;on++)fe+=" content |"}pe=2,Re=5-fe.length;break}case"link":{const{desc:at,url:xt}=u;fe=`[${at}](${xt})`,ut=!1;break}case"image":{const{desc:at,url:xt,urls:bt}=u;bt instanceof Array?fe=bt.reduce((It,on)=>It+`![${at}](${on}) +`,""):fe=`![${at}](${xt}) +`,ut=!1;break}case"flow":{fe=`\`\`\`mermaid +${(Fe==null?void 0:Fe.flow)||`flowchart TD + Start --> Stop`} +\`\`\` +`,pe=3,Re=10-fe.length;break}case"sequence":{fe=`\`\`\`mermaid +${(Fe==null?void 0:Fe.sequence)||`sequenceDiagram + A->>B: hello! + B-->>A: hi! + A-)B: bye!`} +\`\`\` +`,pe=3,Re=10-fe.length;break}case"gantt":{fe=`\`\`\`mermaid +${(Fe==null?void 0:Fe.gantt)||`gantt +title A Gantt Diagram +dateFormat YYYY-MM-DD +section Section +A task :a1, 2014-01-01, 30d +Another task :after a1, 20d`} +\`\`\` +`,pe=3,Re=10-fe.length;break}case"class":{fe=`\`\`\`mermaid +${(Fe==null?void 0:Fe.class)||`classDiagram + class Animal + Vehicle <|-- Car`} +\`\`\` +`,pe=3,Re=10-fe.length;break}case"state":{fe=`\`\`\`mermaid +${(Fe==null?void 0:Fe.state)||`stateDiagram-v2 + s1 --> s2`} +\`\`\` +`,pe=3,Re=10-fe.length;break}case"pie":{fe=`\`\`\`mermaid +${(Fe==null?void 0:Fe.pie)||`pie title Pets adopted by volunteers + "Dogs" : 386 + "Cats" : 85 + "Rats" : 15`} +\`\`\` +`,pe=3,Re=10-fe.length;break}case"relationship":{fe=`\`\`\`mermaid +${(Fe==null?void 0:Fe.relationship)||`erDiagram + CAR ||--o{ NAMED-DRIVER : allows + PERSON ||--o{ NAMED-DRIVER : is`} +\`\`\` +`,pe=3,Re=10-fe.length;break}case"journey":{fe=`\`\`\`mermaid +${(Fe==null?void 0:Fe.journey)||`journey + title My working day + section Go to work + Make tea: 5: Me + Go upstairs: 3: Me + Do work: 1: Me, Cat + section Go home + Go downstairs: 5: Me + Sit down: 5: Me`} +\`\`\` +`,pe=3,Re=10-fe.length;break}case"katexInline":{fe="$$",pe=1,Re=-1;break}case"katexBlock":{fe=`$$ + +$$ +`,pe=3,Re=-4;break}case"universal":{const{generate:at}=u,xt=at(Ke);fe=xt.targetValue,ut=xt.select,pe=xt.deviationStart,Re=xt.deviationEnd}}return{text:fe,options:{select:ut,deviationStart:pe,deviationEnd:Re,replaceAll:dt}}},ur=n=>{const l=new v.F6;return u=>(l.get(n.state)?n.dispatch({effects:l.reconfigure(u)}):n.dispatch({effects:v.Py.appendConfig.of(l.of(u))}),!0)};class Fr{constructor(l){Xi(this,"view"),Xi(this,"toggleTabSize"),Xi(this,"togglePlaceholder"),Xi(this,"setExtensions"),Xi(this,"toggleDisabled"),Xi(this,"toggleReadOnly"),Xi(this,"toggleMaxlength"),this.view=l,this.toggleTabSize=ur(this.view),this.togglePlaceholder=ur(this.view),this.setExtensions=ur(this.view),this.toggleDisabled=ur(this.view),this.toggleReadOnly=ur(this.view),this.toggleMaxlength=ur(this.view)}getValue(){return this.view.state.doc.toString()}setValue(l,u=0,g=this.view.state.doc.length){this.view.dispatch({changes:{from:u,to:g,insert:l}})}getSelectedText(){const{from:l,to:u}=this.view.state.selection.main;return this.view.state.sliceDoc(l,u)}replaceSelectedText(l,u={select:!0,deviationStart:0,deviationEnd:0,replaceAll:!1}){if(u.replaceAll){this.setValue(l);return}const{from:g}=this.view.state.selection.main;if(this.view.dispatch(this.view.state.replaceSelection(l)),u.select){const w=g+l.length+u.deviationEnd;this.view.dispatch({selection:v.jT.create([v.jT.range(g+u.deviationStart,w),v.jT.cursor(w)],1)}),this.view.focus()}}setTabSize(l){this.toggleTabSize([v.yy.tabSize.of(l),p.c.of(" ".repeat(l))])}setPlaceholder(l){this.togglePlaceholder((0,y.W$)(l))}focus(){this.view.focus()}setDisabled(l){this.toggleDisabled([y.tk.editable.of(!l)])}setReadOnly(l){this.toggleReadOnly([v.yy.readOnly.of(l)])}setMaxLength(l){this.toggleMaxlength([v.yy.changeFilter.of(u=>u.newDoc.length<=l)])}}const yo="#e5c07b",ys="var(--md-color)",fr="#56b6c2",Ol="#ffffff",Gr="var(--md-color)",xs="#e5c07b",bl="#e5c07b",xo="var(--md-color)",ko="#d19a66",wo="#c678dd",Sl="#21252b",ks="#2c313a",dr="#000",ws="#353a42",ea="#ceedfa33",Cs="#528bff",vl=y.tk.theme({"&":{color:Gr,backgroundColor:dr},".cm-content":{caretColor:Cs},".cm-cursor, .cm-dropCursor":{borderLeftColor:Cs},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:ea},".cm-panels":{backgroundColor:Sl,color:Gr},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#ceedfa33"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:dr,color:Gr,borderRight:"1px solid",borderColor:"var(--md-border-color)"},".cm-activeLineGutter":{backgroundColor:ks},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:ws},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:ws,borderBottomColor:ws},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:ks,color:Gr}}},{dark:!0}),$s=p.Qf.define([{tag:kt.pJ.keyword,color:wo},{tag:[kt.pJ.name,kt.pJ.deleted,kt.pJ.character,kt.pJ.propertyName,kt.pJ.macroName],color:ys},{tag:[kt.pJ.function(kt.pJ.variableName),kt.pJ.labelName],color:bl},{tag:[kt.pJ.color,kt.pJ.constant(kt.pJ.name),kt.pJ.standard(kt.pJ.name)],color:ko},{tag:[kt.pJ.definition(kt.pJ.name),kt.pJ.separator],color:Gr},{tag:[kt.pJ.typeName,kt.pJ.className,kt.pJ.number,kt.pJ.changed,kt.pJ.annotation,kt.pJ.modifier,kt.pJ.self,kt.pJ.namespace],color:yo},{tag:[kt.pJ.operator,kt.pJ.operatorKeyword,kt.pJ.url,kt.pJ.escape,kt.pJ.regexp,kt.pJ.link,kt.pJ.special(kt.pJ.string)],color:fr},{tag:[kt.pJ.meta,kt.pJ.comment],color:xs},{tag:kt.pJ.strong,fontWeight:"bold"},{tag:kt.pJ.emphasis,fontStyle:"italic"},{tag:kt.pJ.strikethrough,textDecoration:"line-through"},{tag:kt.pJ.link,color:xs,textDecoration:"underline"},{tag:kt.pJ.heading,fontWeight:"bold",color:ys},{tag:[kt.pJ.atom,kt.pJ.bool,kt.pJ.special(kt.pJ.variableName)],color:ko},{tag:[kt.pJ.processingInstruction,kt.pJ.string,kt.pJ.inserted],color:xo},{tag:kt.pJ.invalid,color:Ol}]),Qs=[vl,(0,p.nF)($s)],yl="#e5c07b",Co="#3f4a54",Ps="#56b6c2",xl="#fff",Hi="#3f4a54",$o="#2d8cf0",Qo="#2d8cf0",kl="#3f4a54",Po="#d19a66",wl="#c678dd",Cl="#21252b",To="#ceedfa33",Ts="#fff",Ao="#353a42",ta="#bad5fa",Eo="#3f4a54",$l=y.tk.theme({"&":{color:Hi,backgroundColor:Ts},".cm-content":{caretColor:Eo},".cm-cursor, .cm-dropCursor":{borderLeftColor:Eo},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:ta},".cm-panels":{backgroundColor:Cl,color:Hi},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#ceedfa33"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:Ts,color:Hi,borderRight:"1px solid",borderColor:"var(--md-border-color)"},".cm-activeLineGutter":{backgroundColor:To},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:Ao},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:Ao,borderBottomColor:Ao},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:To,color:Hi}}},{dark:!0}),Ql=p.Qf.define([{tag:kt.pJ.keyword,color:wl},{tag:[kt.pJ.name,kt.pJ.deleted,kt.pJ.character,kt.pJ.propertyName,kt.pJ.macroName],color:Co},{tag:[kt.pJ.function(kt.pJ.variableName),kt.pJ.labelName],color:Qo},{tag:[kt.pJ.color,kt.pJ.constant(kt.pJ.name),kt.pJ.standard(kt.pJ.name)],color:Po},{tag:[kt.pJ.definition(kt.pJ.name),kt.pJ.separator],color:Hi},{tag:[kt.pJ.typeName,kt.pJ.className,kt.pJ.number,kt.pJ.changed,kt.pJ.annotation,kt.pJ.modifier,kt.pJ.self,kt.pJ.namespace],color:yl},{tag:[kt.pJ.operator,kt.pJ.operatorKeyword,kt.pJ.url,kt.pJ.escape,kt.pJ.regexp,kt.pJ.link,kt.pJ.special(kt.pJ.string)],color:Ps},{tag:[kt.pJ.meta,kt.pJ.comment],color:$o},{tag:kt.pJ.strong,fontWeight:"bold"},{tag:kt.pJ.emphasis,fontStyle:"italic"},{tag:kt.pJ.strikethrough,textDecoration:"line-through"},{tag:kt.pJ.link,color:$o,textDecoration:"underline"},{tag:kt.pJ.heading,fontWeight:"bold",color:Co},{tag:[kt.pJ.atom,kt.pJ.bool,kt.pJ.special(kt.pJ.variableName)],color:Po},{tag:[kt.pJ.processingInstruction,kt.pJ.string,kt.pJ.inserted],color:kl},{tag:kt.pJ.invalid,color:xl}]),Pl=[$l,(0,p.nF)(Ql)],As=(n,l)=>[{key:"Ctrl-b",mac:"Cmd-b",run:()=>(Zt.emit(n,"replace","bold"),!0)},{key:"Ctrl-d",mac:"Cmd-d",run:Xr,preventDefault:!0},{key:"Ctrl-s",mac:"Cmd-s",run:u=>(Zt.emit(n,$r,u.state.doc.toString()),!0),shift:()=>(Zt.emit(n,"replace","strikeThrough"),!0)},{key:"Ctrl-u",mac:"Cmd-u",run:()=>(Zt.emit(n,"replace","underline"),!0),shift:()=>(Zt.emit(n,"replace","unorderedList"),!0)},{key:"Ctrl-i",mac:"Cmd-i",run:()=>(Zt.emit(n,"replace","italic"),!0),shift:()=>(Zt.emit(n,"openModals","image"),!0)},{key:"Ctrl-1",mac:"Cmd-1",run:()=>(Zt.emit(n,"replace","h1"),!0)},{key:"Ctrl-2",mac:"Cmd-2",run:()=>(Zt.emit(n,"replace","h2"),!0)},{key:"Ctrl-3",mac:"Cmd-3",run:()=>(Zt.emit(n,"replace","h3"),!0)},{key:"Ctrl-4",mac:"Cmd-4",run:()=>(Zt.emit(n,"replace","h4"),!0)},{key:"Ctrl-5",mac:"Cmd-5",run:()=>(Zt.emit(n,"replace","h5"),!0)},{key:"Ctrl-6",mac:"Cmd-6",run:()=>(Zt.emit(n,"replace","h6"),!0)},{key:"Ctrl-ArrowUp",mac:"Cmd-ArrowUp",run:()=>(Zt.emit(n,"replace","sup"),!0)},{key:"Ctrl-ArrowDown",mac:"Cmd-ArrowDown",run:()=>(Zt.emit(n,"replace","sub"),!0)},{key:"Ctrl-o",mac:"Cmd-o",run:()=>(Zt.emit(n,"replace","orderedList"),!0)},{key:"Ctrl-c",mac:"Cmd-c",shift:()=>(Zt.emit(n,"replace","code"),!0),any(u,g){return(g.ctrlKey||g.metaKey)&&g.altKey&&g.code==="KeyC"?(Zt.emit(n,"replace","codeRow"),!0):!1}},{key:"Ctrl-l",mac:"Cmd-l",run:()=>(Zt.emit(n,"openModals","link"),!0)},{key:"Ctrl-f",mac:"Cmd-f",shift:()=>l.noPrettier?!1:(Zt.emit(n,"replace","prettier"),!0)},{any:(u,g)=>(g.ctrlKey||g.metaKey)&&g.altKey&&g.shiftKey&&g.code==="KeyT"?(Zt.emit(n,"replace","table"),!0):!1}],Tl=n=>{const{editorId:l}=(0,o.useContext)(Jn);return u=>{if(u.clipboardData){if(u.clipboardData.files.length>0){const{files:g}=u.clipboardData;Zt.emit(l,"uploadImage",Array.from(g).filter(w=>/image\/.*/.test(w.type))),u.preventDefault()}if(n.autoDetectCode&&u.clipboardData.types.includes("vscode-editor-data")){const g=JSON.parse(u.clipboardData.getData("vscode-editor-data"));Zt.emit(l,"replace","code",{mode:g.mode,text:u.clipboardData.getData("text/plain")}),u.preventDefault()}}}},Al=n=>{const{editorId:l}=(0,o.useContext)(Jn);Zt.on(l,{name:po,callback(){var u;(u=n.current)==null||u.focus()}})},Zo=n=>{const{tabWidth:l,editorId:u,theme:g}=(0,o.useContext)(Jn),w=(0,o.useRef)(null),k=(0,o.useRef)(),[M]=(0,o.useState)(()=>As(u,n)),ee=Tl(n),[de]=(0,o.useState)(()=>[y.$f.of([...M,Vs]),Us,(0,Ir.markdown)({codeLanguages:Lr}),y.tk.lineWrapping,y.tk.updateListener.of(pe=>{pe.docChanged&&n.onChange(pe.state.doc.toString())}),y.tk.domEventHandlers({paste:ee,blur:n.onBlur,focus:n.onFocus})]),fe=()=>g==="light"?Yn.codeMirrorExtensions(g,[...de,Pl],[...M]):Yn.codeMirrorExtensions(g,[...de,Qs],[...M]);return(0,o.useEffect)(()=>{const pe=v.yy.create({doc:n.value}),Re=new y.tk({state:pe,parent:w.current});k.current=new Fr(Re),k.current.setTabSize(l),k.current.setExtensions(fe()),k.current.setPlaceholder(n.placeholder),n.autoFocus&&Re.focus(),Zt.on(u,{name:"ctrlZ",callback(){Ee(Re)}}),Zt.on(u,{name:"ctrlShiftZ",callback(){Xe(Re)}}),Zt.on(u,{name:"replace",callback(ut,dt={}){var Ke;const{text:Fe,options:at}=gl(ut,k.current,dt);(Ke=k.current)==null||Ke.replaceSelectedText(Fe,at)}})},[]),(0,o.useEffect)(()=>{var pe,Re;g==="dark"?(pe=k.current)==null||pe.setExtensions(fe()):(Re=k.current)==null||Re.setExtensions(fe())},[g]),(0,o.useEffect)(()=>{var pe,Re;((pe=k.current)==null?void 0:pe.getValue())!==n.value&&((Re=k.current)==null||Re.setValue(n.value))},[n.value]),(0,o.useEffect)(()=>{var pe;(pe=k.current)==null||pe.setDisabled(n.disabled)},[n.disabled]),(0,o.useEffect)(()=>{var pe;(pe=k.current)==null||pe.setDisabled(n.readOnly)},[n.readOnly]),(0,o.useEffect)(()=>{var pe;n.maxLength&&((pe=k.current)==null||pe.setMaxLength(n.maxLength))},[n.maxLength]),Al(k),{inputWrapperRef:w,codeMirrorUt:k}},El=(n,l)=>{const{editorId:u}=(0,o.useContext)(Jn);(0,o.useEffect)(()=>(()=>{const g=document.querySelectorAll(`#${u}-preview img`),w=Ks(g,{background:"#00000073"});return()=>{w.detach()}})(),[l,n.setting])},na=(n,l)=>{var u,g,w;const{editorId:k,usedLanguageText:M}=(0,o.useContext)(Jn),{formatCopiedText:ee=de=>de}=n;(0,o.useEffect)(()=>{n.setting.preview&&document.querySelectorAll(`#${k} .${Me}-preview pre`).forEach(de=>{var fe,pe;let Re=-1;(fe=de.querySelector(".copy-button"))==null||fe.remove();const ut=((pe=M.copyCode)==null?void 0:pe.text)||"\u590D\u5236\u4EE3\u7801",dt=document.createElement("span");dt.setAttribute("class","copy-button"),dt.dataset.tips=ut,dt.innerHTML=``,dt.addEventListener("click",()=>{var Ke,Fe;clearTimeout(Re);const at=de.querySelector("code").innerText,xt=Ho(ee(at)),bt=((Ke=M.copyCode)==null?void 0:Ke.successTips)||"\u5DF2\u590D\u5236\uFF01",It=((Fe=M.copyCode)==null?void 0:Fe.failTips)||"\u5DF2\u590D\u5236\uFF01";dt.dataset.tips=xt?bt:It,Re=window.setTimeout(()=>{dt.dataset.tips=ut},1500)}),de.appendChild(dt)})},[ee,l,n.setting.preview,(u=M.copyCode)==null?void 0:u.failTips,(g=M.copyCode)==null?void 0:g.successTips,(w=M.copyCode)==null?void 0:w.text])},Zl=n=>{var l;const u=(l=Yn.editorExtensions)==null?void 0:l.highlight,g=u==null?void 0:u.instance,{highlight:w}=(0,o.useContext)(Jn),k=(0,o.useRef)(g),[M,ee]=(0,o.useState)(!!g);return(0,o.useEffect)(()=>{fs(`${Me}-hlCss`,"href",w.css)},[w.css]),(0,o.useEffect)(()=>{if(!n.noHighlight&&!k.current){const de=document.createElement("script");de.src=w.js,de.onload=()=>{k.current=window.hljs,ee(!0)},de.id=`${Me}-hljs`,$i(de,"hljs");const fe=document.createElement("link");fe.rel="stylesheet",fe.href=w.css,fe.id=`${Me}-hlCss`,$i(fe)}},[]),{hljsRef:k,hljsInited:M}},Rl=n=>{const{theme:l}=(0,o.useContext)(Jn),{editorExtensions:u}=Yn,g=u==null?void 0:u.mermaid,w=(0,o.useRef)(g==null?void 0:g.instance),[k,M]=(0,o.useState)(!1),[ee]=(0,o.useState)(()=>new so({max:1e3,ttl:6e5})),de=(0,o.useCallback)(()=>{ee.clear();const fe=(g==null?void 0:g.instance)||window.mermaid;!n.noMermaid&&fe&&(fe.initialize({startOnLoad:!1,theme:l==="dark"?"dark":"default"}),M(pe=>!pe))},[l]);return(0,o.useEffect)(de,[de]),(0,o.useEffect)(()=>{if(!n.noMermaid&&!(g!=null&&g.instance)){const fe=document.createElement("script");fe.id=`${Me}-mermaid`;const pe=(g==null?void 0:g.js)||nl;/\.mjs/.test(pe)?(fe.setAttribute("type","module"),fe.innerHTML=`import mermaid from "${pe}";window.mermaid=mermaid;document.getElementById('${Me}-mermaid').dispatchEvent(new Event('load'));`):fe.src=pe,fe.onload=()=>{w.current=window.mermaid,de()},$i(fe,"mermaid")}},[]),{mermaidRef:w,reRender:k,replaceMermaid:()=>{!n.noMermaid&&w.current&&document.querySelectorAll(`div.${Me}-mermaid`).forEach(fe=>Fl(this,null,function*(){let pe=ee.get(fe.innerText);if(!pe){const ut=ho(),dt=yield(w.current.renderAsync||w.current.render)(ut,fe.innerText);pe=typeof dt=="string"?dt:dt.svg,ee.set(fe.innerText,pe)}const Re=document.createElement("p");Re.className=`${Me}-mermaid`,Re.setAttribute("data-processed",""),Re.innerHTML=pe,fe.dataset.line!==void 0&&(Re.dataset.line=fe.dataset.line),fe.replaceWith(Re)}))}}},ia=n=>{var l;const u=(l=Yn.editorExtensions)==null?void 0:l.katex,g=u==null?void 0:u.instance,w=(0,o.useRef)(g),[k,M]=(0,o.useState)(!!g);return(0,o.useEffect)(()=>{if(!n.noKatex&&!w.current){const ee=document.createElement("script");ee.src=(u==null?void 0:u.js)||cs.js,ee.onload=()=>{w.current=window.katex,M(!0)},ee.id=`${Me}-katex`;const de=document.createElement("link");de.rel="stylesheet",de.href=(u==null?void 0:u.css)||cs.css,de.id=`${Me}-katexCss`,$i(ee,"katex"),$i(de)}}),{katexRef:w,katexInited:k}},Hr=(n,l)=>{const u=n.renderer.rules.fence.bind(n.renderer.rules);n.renderer.rules.fence=(g,w,k,M,ee)=>{const de=g[w],fe=de.content.trim();if(de.info==="mermaid"){let pe;return g[w].map&&g[w].level===0&&(pe=g[w].map[0],g[w].attrSet("data-line",String(pe))),`
    ${fe}
    `}return u(g,w,k,M,ee)}},Es=(n,l)=>{let u=!0,g=!0;const w=n.posMax,k=l>0?n.src.charCodeAt(l-1):-1,M=l+1<=w?n.src.charCodeAt(l+1):-1;return(k===32||k===9||M>=48&&M<=57)&&(g=!1),(M===32||M===9)&&(u=!1),{can_open:u,can_close:g}},ra=(n,l)=>{let u,g,w,k;if(n.src[n.pos]!=="$")return!1;if(w=Es(n,n.pos),!w.can_open)return l||(n.pending+="$"),n.pos+=1,!0;const M=n.pos+1;for(u=M;(u=n.src.indexOf("$",u))!==-1;){for(k=u-1;n.src[k]==="\\";)k-=1;if((u-k)%2==1)break;u+=1}return u===-1?(l||(n.pending+="$"),n.pos=M,!0):u-M===0?(l||(n.pending+="$$"),n.pos=M+1,!0):(w=Es(n,u),w.can_close?(l||(g=n.push("math_inline","math",0),g.markup="$",g.content=n.src.slice(M,u)),n.pos=u+1,!0):(l||(n.pending+="$"),n.pos=M,!0))},Dl=(n,l,u,g)=>{let w,k,M,ee,de=!1,fe=n.bMarks[l]+n.tShift[l],pe=n.eMarks[l];if(fe+2>pe||n.src.slice(fe,fe+2)!=="$$")return!1;if(fe+=2,w=n.src.slice(fe,pe),g)return!0;for(w.trim().slice(-2)==="$$"&&(w=w.trim().slice(0,-2),de=!0),M=l;!de&&(M++,!(M>=u||(fe=n.bMarks[M]+n.tShift[M],pe=n.eMarks[M],fe{const u=w=>{if(l.katexRef.current){const k=l.katexRef.current.renderToString(w,{throwOnError:!1});return`${k}`}else return`${w}`},g=(w,k)=>{if(l.katexRef.current){const M=l.katexRef.current.renderToString(w,{throwOnError:!1,displayMode:!0});return`

    ${M}

    `}else return`

    ${w}

    `};n.inline.ruler.after("escape","math_inline",ra),n.block.ruler.after("blockquote","math_block",Dl,{alt:["paragraph","reference","blockquote","list"]}),n.renderer.rules.math_inline=(w,k)=>u(w[k].content),n.renderer.rules.math_block=(w,k)=>g(w[k].content,w[k].map[0])+` +`},Ro=(n,l)=>{l=l||{};const u=3,g=l.marker||"!",w=g.charCodeAt(0),k=g.length;let M="",ee="";const de=(pe,Re,ut,dt,Ke)=>{const Fe=pe[Re];return Fe.type==="admonition_open"?(pe[Re].attrPush(["class",`${Me}-admonition ${Me}-admonition-${Fe.info}`]),pe[Re].attrSet("data-line",String(pe[Re].map[0]))):Fe.type==="admonition_title_open"&&pe[Re].attrPush(["class",`${Me}-admonition-title`]),Ke.renderToken(pe,Re,ut)},fe=pe=>{const Re=pe.trim().split(" ",2);ee="",M=Re[0],Re.length>1&&(ee=pe.substring(M.length+2)),(ee===""||!ee)&&(ee=M)};n.block.ruler.before("code","admonition",(pe,Re,ut,dt)=>{let Ke,Fe,at,xt=!1,bt=pe.bMarks[Re]+pe.tShift[Re],It=pe.eMarks[Re];if(w!==pe.src.charCodeAt(bt))return!1;for(Ke=bt+1;Ke<=It&&g[(Ke-bt)%k]===pe.src[Ke];Ke++);const on=Math.floor((Ke-bt)/k);if(on!==u)return!1;Ke-=(Ke-bt)%k;const qt=pe.src.slice(bt,Ke),Kt=pe.src.slice(Ke,It);if(fe(Kt),dt)return!0;for(Fe=Re;Fe++,!(Fe>=ut||(bt=pe.bMarks[Fe]+pe.tShift[Fe],It=pe.eMarks[Fe],bt=4)){for(Ke=bt+1;Ke<=It&&g[(Ke-bt)%k]===pe.src[Ke];Ke++);if(!(Math.floor((Ke-bt)/k){let u;n.core.ruler.push("headingLinks",g=>{u||(u=g.Token)}),n.renderer.rules.heading_open=(g,w)=>{const k=g[w],M=g[w+1].content,ee=k.markup.length;return l.headsRef.current.push({text:M,level:ee}),k.map&&k.level===0&&(k.attrSet("data-line",String(k.map[0])),k.attrSet("id",l.mdHeadingId(M,ee,l.headsRef.current.length))),n.renderer.renderToken(g,w,l)},n.renderer.rules.heading_close=(g,w,k,M,ee)=>ee.renderToken(g,w,k)},Xl=n=>{["paragraph_open","table_open","ordered_list_open","bullet_list_open","blockquote_open","hr"].forEach(l=>{n.renderer.rules[l]=(u,g,w,k,M)=>{let ee;return u[g].map&&u[g].level===0&&(ee=u[g].map[0],u[g].attrSet("data-line",String(ee))),M.renderToken(u,g,w)}}),["html_block","fence"].forEach(l=>{const u=n.renderer.rules[l];n.renderer.rules[l]=(g,w,k,M,ee)=>{let de;const fe=u(g,w,k,M,ee);return g[w].map&&g[w].level===0?(de=g[w].map[0],fe.replace(/^(<[^>]*)/,`$1 data-line="${de}"`)):fe}})},Ml=n=>{const{onHtmlChanged:l=()=>{},onGetCatalog:u=()=>{}}=n,{editorConfig:g,markdownItConfig:w}=Yn,{editorId:k,showCodeRowNumber:M,previewOnly:ee,theme:de}=(0,o.useContext)(Jn),fe=(0,o.useRef)([]),pe=(0,o.useRef)(de);(0,o.useEffect)(()=>{pe.current=de},[de]);const{hljsRef:Re,hljsInited:ut}=Zl(n),{katexRef:dt,katexInited:Ke}=ia(n),{reRender:Fe,replaceMermaid:at}=Rl(n),[xt]=(0,o.useState)(()=>{const Kt=_s({html:!0,breaks:!0});return Kt.use(qr,{katexRef:dt}),Kt.use(no,{figcaption:!0}),Kt.use(Ro),Kt.use(qo),Kt.use(Zs,{mdHeadingId:n.mdHeadingId,headsRef:fe}),Kt.use(Jo),n.noMermaid||Kt.use(Hr,{themeRef:pe}),Kt.set({highlight:(Gt,Ot)=>{let Xn;!n.noHighlight&&Re.current?Re.current.getLanguage(Ot)?Xn=Re.current.highlight(Gt,{language:Ot,ignoreIllegals:!0}).value:Xn=Re.current.highlightAuto(Gt).value:Xn=xt.utils.escapeHtml(Gt);const vn=M?rl(Xn.trim()):`${Xn.trim()}`;return`
    ${vn}
    `}}),Xl(Kt),w(Kt),Kt}),[bt,It]=(0,o.useState)(()=>{const Kt=n.sanitize(xt.render(n.value));return Zt.emit(k,"buildFinished",Kt),l(Kt),u(fe.current),Zt.emit(k,"catalogChanged",fe.current),Kt}),on=(0,o.useMemo)(()=>(n.noHighlight||ut)&&(n.noKatex||Ke),[ut,Ke]),qt=(0,o.useRef)(!0);return(0,o.useEffect)(()=>{if(qt.current){qt.current=!1;return}const Kt=setTimeout(()=>{fe.current=[];const Gt=n.sanitize(xt.render(n.value));It(Gt),Zt.emit(k,"buildFinished",Gt),l(Gt),u(fe.current),Zt.emit(k,"catalogChanged",fe.current)},(g==null?void 0:g.renderDelay)!==void 0?g==null?void 0:g.renderDelay:ee?0:500);return()=>{clearTimeout(Kt)}},[n.value,on,de]),(0,o.useEffect)(()=>{at()},[bt,Fe]),(0,o.useEffect)(()=>{Zt.on(k,{name:"pushCatalog",callback(){Zt.emit(k,"catalogChanged",fe.current)}})},[]),{html:bt}},Rs=n=>{const{editorId:l,previewOnly:u,previewTheme:g,showCodeRowNumber:w}=(0,o.useContext)(Jn),k=(0,o.useRef)(null),M=(0,o.useRef)(null),{inputWrapperRef:ee,codeMirrorUt:de}=Zo(n),{html:fe}=Ml(n);return ml(n,fe,k,M,de),na(n,fe),El(n,fe),o.createElement("div",{className:`${Me}-content`},!u&&o.createElement("div",{className:`${Me}-input-wrapper`,ref:ee}),n.setting.preview&&o.createElement("div",{id:`${l}-preview-wrapper`,className:`${Me}-preview-wrapper`,ref:k,key:"content-preview-wrapper"},o.createElement("article",{id:`${l}-preview`,className:hr([`${Me}-preview`,`${g}-theme`,w&&`${Me}-scrn`]),dangerouslySetInnerHTML:{__html:fe}})),n.setting.htmlPreview&&o.createElement("div",{className:`${Me}-preview-wrapper`,ref:M,key:"html-preview-wrapper"},o.createElement("div",{className:`${Me}-html`},fe)))},Pr=o.memo(Rs),Ds=({modelValue:n})=>{const{usedLanguageText:l}=(0,o.useContext)(Jn);return(0,o.useMemo)(()=>{var u;return o.createElement("div",{className:`${Me}-footer-item`},o.createElement("label",{className:`${Me}-footer-label`},`${(u=l.footer)==null?void 0:u.markdownTotal}:`),o.createElement("span",null,n.length||0))},[l,n])},Yl=n=>o.createElement("div",{className:hr([`${Me}-checkbox`,n.checked&&`${Me}-checkbox-checked`]),onClick:()=>{n.onChange(!n.checked)}}),Ll=n=>{var l;const{usedLanguageText:u}=(0,o.useContext)(Jn);return(0,o.useMemo)(()=>{var g;return o.createElement("div",{className:`${Me}-footer-item`},o.createElement("label",{className:`${Me}-footer-label`,onClick:()=>{n.onScrollAutoChange(!n.scrollAuto)}},(g=u.footer)==null?void 0:g.scrollAuto),o.createElement(Yl,{checked:n.scrollAuto,onChange:n.onScrollAutoChange}))},[(l=u.footer)==null?void 0:l.scrollAuto,n])},Do=n=>{const l=(0,o.useCallback)(w=>{if(lo.includes(w))switch(w){case"markdownTotal":return o.createElement(Ds,{modelValue:n.modelValue,key:"markdown-total"});case"scrollSwitch":return o.createElement(Ll,{scrollAuto:n.scrollAuto,onScrollAutoChange:n.onScrollAutoChange,key:"scroll-auto"})}else return n.defFooters[w]||""},[n.modelValue,n.scrollAuto,n.onScrollAutoChange,n.defFooters]),[u,g]=(0,o.useMemo)(()=>{const w=n.footers.indexOf("="),k=w===-1?n.footers:n.footers.slice(0,w),M=w===-1?[]:n.footers.slice(w,Number.MAX_SAFE_INTEGER);return[k.map(ee=>l(ee)),M.map(ee=>l(ee))]},[n.footers,l]);return o.createElement("div",{className:`${Me}-footer`},o.createElement("div",{className:`${Me}-footer-left`},u),o.createElement("div",{className:`${Me}-footer-right`},g))},Il=o.memo(Do),zl=({tocItem:n,mdHeadingId:l,scrollElement:u,onClick:g,scrollElementOffsetTop:w=0})=>o.createElement("div",{className:hr([`${Me}-catalog-link`,n.active&&`${Me}-catalog-active`]),onClick:k=>{g&&g(k,n),k.stopPropagation();const M=l(n.text,n.level,n.index),ee=document.getElementById(M),de=u instanceof Element?u:document.querySelector(u);if(ee&&de){let fe=ee.offsetParent,pe=ee.offsetTop;if(de.contains(fe))for(;fe&&de!=fe;)pe+=fe==null?void 0:fe.offsetTop,fe=fe==null?void 0:fe.offsetParent;de==null||de.scrollTo({top:pe-w,behavior:"smooth"})}}},o.createElement("span",{title:n.text},n.text),o.createElement("div",{className:`${Me}-catalog-wrapper`},n.children&&n.children.map(k=>o.createElement(zl,{mdHeadingId:l,key:k.text,tocItem:k,scrollElement:u,onClick:g,scrollElementOffsetTop:w})))),Wl=n=>{const{editorId:l,mdHeadingId:u=bn.mdHeadingId,theme:g="light"}=n,[w,k]=(0,o.useState)([]),M=(0,o.useMemo)(()=>{const pe=[];return w.forEach(({text:Re,level:ut,active:dt},Ke)=>{const Fe={level:ut,text:Re,index:Ke+1,active:!!dt};if(pe.length===0)pe.push(Fe);else{let at=pe[pe.length-1];if(Fe.level>at.level)for(let xt=at.level+1;xt<=6;xt++){const{children:bt}=at;if(!bt){at.children=[Fe];break}if(at=bt[bt.length-1],Fe.level<=at.level){bt.push(Fe);break}}else pe.push(Fe)}}),pe},[w]),[ee]=(0,o.useState)(()=>n.scrollElement||`#${l}-preview-wrapper`),[de,fe]=(0,o.useState)(!0);return(0,o.useEffect)(()=>{Zt.on(l,{name:"catalogChanged",callback:pe=>{k(pe.map((Re,ut)=>ut===0?xn(mn({},Re),{active:!0}):mn({},Re)))}}),Zt.on(l,{name:ms,callback(pe){fe(pe)}}),Zt.emit(l,"pushCatalog")},[]),(0,o.useEffect)(()=>{if(!de)return;const pe=ee instanceof HTMLElement?ee:document.querySelector(ee),Re=Ur(()=>{if(w.length===0)return!1;const{activeHead:dt}=w.reduce((Ke,Fe,at)=>{const xt=document.getElementById(u(Fe.text,Fe.level,at+1));if(xt instanceof HTMLElement){const bt=us(xt,pe);if(bt<(n.offsetTop||20)&&bt>Ke.minTop)return{activeHead:Fe,minTop:bt}}return Ke},{activeHead:w[0],minTop:Number.MIN_SAFE_INTEGER});k(w.map(Ke=>Ke===dt?xn(mn({},Ke),{active:!0}):xn(mn({},Ke),{active:!1})))}),ut=pe===document.documentElement?window:pe;return ut==null||ut.addEventListener("scroll",Re),()=>{ut==null||ut.removeEventListener("scroll",Re)}},[n.offsetTop,w,u,ee,de]),o.createElement("div",{className:`${Me}-catalog${g==="dark"?"-dark":""} ${n.className||""} `,style:n.style},M.map(pe=>o.createElement(zl,{mdHeadingId:u,tocItem:pe,key:pe.text,scrollElement:ee,onClick:n.onClick,scrollElementOffsetTop:n.scrollElementOffsetTop})))},Bl=o.memo(Wl),Jn=(0,o.createContext)({editorId:"",tabWidth:2,theme:"light",highlight:{css:"",js:""},previewOnly:!1,showCodeRowNumber:!1,usedLanguageText:wr["zh-CN"],previewTheme:"default"}),Tr=(0,o.forwardRef)((n,l)=>{const{modelValue:u=bn.modelValue,theme:g=bn.theme,className:w=bn.className,toolbars:k=bn.toolbars,toolbarsExclude:M=bn.toolbarsExclude,defToolbars:ee=bn.defToolbars,previewOnly:de=bn.previewOnly,editorId:fe=bn.editorId,tabWidth:pe=bn.tabWidth,showCodeRowNumber:Re=bn.showCodeRowNumber,previewTheme:ut=bn.previewTheme,noPrettier:dt=bn.noPrettier,tableShape:Ke=bn.tableShape,noMermaid:Fe=bn.noMermaid,noKatex:at=bn.noKatex,placeholder:xt=bn.placeholder,onChange:bt=bn.onChange,onHtmlChanged:It=bn.onHtmlChanged,onGetCatalog:on=bn.onGetCatalog,sanitize:qt=bn.sanitize,onError:Kt=bn.onError,mdHeadingId:Gt=bn.mdHeadingId,footers:Ot=bn.footers,defFooters:Xn=bn.defFooters,noIconfont:vn=bn.noIconfont,noUploadImg:Pn=bn.noUploadImg,noHighlight:nn=bn.noHighlight}=n,[Ft]=(0,o.useState)(()=>({previewOnly:de,editorId:fe,noKatex:at,noMermaid:Fe,noPrettier:dt,noUploadImg:Pn,noIconfont:vn,noHighlight:nn})),[$n,Dn]=(0,o.useState)(()=>({scrollAuto:n.scrollAuto===void 0?!0:n.scrollAuto})),pn=(0,o.useCallback)(mr=>{Dn(Ki=>xn(mn({},Ki),{scrollAuto:mr}))},[Dn]);sl(n,Ft),ol(Ft),Os(n,Ft),ll(Ft.editorId,Kt);const{catalogVisible:Ln,catalogShow:Fn,catalogStyle:Ai}=al(n,Ft),[ui,fi,di,Ji]=hl(n);return Cn(l,Ft,Ln,di,Ji),(0,o.useEffect)(()=>()=>{Zt.clear(fe)},[]),o.createElement(Jn.Provider,{value:{editorId:Ft.editorId,tabWidth:pe,theme:g,highlight:ui,previewOnly:Ft.previewOnly,showCodeRowNumber:Re,usedLanguageText:fi,previewTheme:ut}},o.createElement("div",{id:Ft.editorId,className:hr([Me,w,g==="dark"&&`${Me}-dark`,di.fullscreen||di.pageFullscreen?`${Me}-fullscreen`:"",Ft.previewOnly&&`${Me}-previewOnly`]),style:n.style},!Ft.previewOnly&&o.createElement(bo,{noPrettier:Ft.noPrettier,toolbars:k,toolbarsExclude:M,setting:di,updateSetting:Ji,tableShape:Ke,defToolbars:ee,noUploadImg:Ft.noUploadImg}),o.createElement(Pr,{value:u,onChange:bt,setting:di,mdHeadingId:Gt,onHtmlChanged:It,onGetCatalog:on,sanitize:qt,noMermaid:Ft.noMermaid,noPrettier:Ft.noPrettier,noHighlight:Ft.noHighlight,placeholder:xt,noKatex:Ft.noKatex,scrollAuto:$n.scrollAuto,formatCopiedText:n.formatCopiedText,autoFocus:n.autoFocus,disabled:n.disabled,readOnly:n.readOnly,maxLength:n.maxLength,autoDetectCode:n.autoDetectCode,onBlur:n.onBlur,onFocus:n.onFocus}),!Ft.previewOnly&&(Ot==null?void 0:Ot.length)>0&&o.createElement(Il,{modelValue:u,footers:Ot,defFooters:Xn,scrollAuto:$n.scrollAuto,onScrollAutoChange:pn}),Fn&&o.createElement(Bl,{theme:g,style:Ai,className:`${Me}-catalog-editor`,editorId:Ft.editorId,mdHeadingId:Gt})))}),sa=n=>o.createElement("div",{className:`${Me}-toolbar-item`,title:n.title,onClick:n.onClick},n.trigger),Xs=n=>{const{editorId:l}=(0,o.useContext)(Jn);return o.createElement(Ii,{relative:`#${l}-toolbar-wrapper`,visible:n.visible,onChange:n.onChange,overlay:n.overlay},o.createElement("div",{className:`${Me}-toolbar-item`,title:n.title||""},n.trigger))},oa=n=>{const{width:l="auto",height:u="auto"}=n;return o.createElement(o.Fragment,null,o.createElement("div",{className:`${Me}-toolbar-item`,title:n.title,onClick:n.onClick},n.trigger),o.createElement(Qr,{width:l,height:u,title:n.modalTitle,visible:n.visible,onClose:n.onClose,showAdjust:n.showAdjust,isFullscreen:n.isFullscreen,onAdjust:g=>{n.onAdjust instanceof Function&&n.onAdjust(g)}},n.children))};Tr.NormalToolbar=sa,Tr.DropdownToolbar=Xs,Tr.MdCatalog=Bl,Tr.ModalToolbar=oa,Tr.config=Vr},28699:function(Ye,Ae,a){"use strict";a.d(Ae,{V:function(){return Z}});const o="\u037C",y=typeof Symbol=="undefined"?"__"+o:Symbol.for(o),p=typeof Symbol=="undefined"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),v=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:{};class Z{constructor(_,G){this.rules=[];let{finish:te}=G||{};function K(he){return/^@/.test(he)?[he]:he.split(/,\s*/)}function ye(he,$e,ge,je){let Pe=[],Ne=/^@(\w+)\b/.exec(he[0]),ke=Ne&&Ne[1]=="keyframes";if(Ne&&$e==null)return ge.push(he[0]+";");for(let ve in $e){let We=$e[ve];if(/&/.test(ve))ye(ve.split(/,\s*/).map(it=>he.map(nt=>it.replace(/&/,nt))).reduce((it,nt)=>it.concat(nt)),We,ge);else if(We&&typeof We=="object"){if(!Ne)throw new RangeError("The value of a property ("+ve+") should be a primitive value.");ye(K(ve),We,Pe,ke)}else We!=null&&Pe.push(ve.replace(/_.*/,"").replace(/[A-Z]/g,it=>"-"+it.toLowerCase())+": "+We+";")}(Pe.length||ke)&&ge.push((te&&!Ne&&!je?he.map(te):he).join(", ")+" {"+Pe.join(" ")+"}")}for(let he in _)ye(K(he),_[he],this.rules)}getRules(){return this.rules.join(` +`)}static newName(){let _=v[y]||1;return v[y]=_+1,o+_.toString(36)}static mount(_,G,te){let K=_[p],ye=te&&te.nonce;K?ye&&K.setNonce(ye):K=new R(_,ye),K.mount(Array.isArray(G)?G:[G])}}let $=new Map;class R{constructor(_,G){let te=_.ownerDocument||_,K=te.defaultView;if(!_.head&&_.adoptedStyleSheets&&K.CSSStyleSheet){let ye=$.get(te);if(ye)return _.adoptedStyleSheets=[ye.sheet,..._.adoptedStyleSheets],_[p]=ye;this.sheet=new K.CSSStyleSheet,_.adoptedStyleSheets=[this.sheet,..._.adoptedStyleSheets],$.set(te,this)}else{this.styleTag=te.createElement("style"),G&&this.styleTag.setAttribute("nonce",G);let ye=_.head||_;ye.insertBefore(this.styleTag,ye.firstChild)}this.modules=[],_[p]=this}mount(_){let G=this.sheet,te=0,K=0;for(let ye=0;ye<_.length;ye++){let he=_[ye],$e=this.modules.indexOf(he);if($e-1&&(this.modules.splice($e,1),K--,$e=-1),$e==-1){if(this.modules.splice(K++,0,he),G)for(let ge=0;ge","GT":">","Gt":"\u226B","gtdot":"\u22D7","gtlPar":"\u2995","gtquest":"\u2A7C","gtrapprox":"\u2A86","gtrarr":"\u2978","gtrdot":"\u22D7","gtreqless":"\u22DB","gtreqqless":"\u2A8C","gtrless":"\u2277","gtrsim":"\u2273","gvertneqq":"\u2269\uFE00","gvnE":"\u2269\uFE00","Hacek":"\u02C7","hairsp":"\u200A","half":"\xBD","hamilt":"\u210B","HARDcy":"\u042A","hardcy":"\u044A","harrcir":"\u2948","harr":"\u2194","hArr":"\u21D4","harrw":"\u21AD","Hat":"^","hbar":"\u210F","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22B9","hfr":"\u{1D525}","Hfr":"\u210C","HilbertSpace":"\u210B","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21FF","homtht":"\u223B","hookleftarrow":"\u21A9","hookrightarrow":"\u21AA","hopf":"\u{1D559}","Hopf":"\u210D","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\u{1D4BD}","Hscr":"\u210B","hslash":"\u210F","Hstrok":"\u0126","hstrok":"\u0127","HumpDownHump":"\u224E","HumpEqual":"\u224F","hybull":"\u2043","hyphen":"\u2010","Iacute":"\xCD","iacute":"\xED","ic":"\u2063","Icirc":"\xCE","icirc":"\xEE","Icy":"\u0418","icy":"\u0438","Idot":"\u0130","IEcy":"\u0415","iecy":"\u0435","iexcl":"\xA1","iff":"\u21D4","ifr":"\u{1D526}","Ifr":"\u2111","Igrave":"\xCC","igrave":"\xEC","ii":"\u2148","iiiint":"\u2A0C","iiint":"\u222D","iinfin":"\u29DC","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012A","imacr":"\u012B","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22B7","imped":"\u01B5","Implies":"\u21D2","incare":"\u2105","in":"\u2208","infin":"\u221E","infintie":"\u29DD","inodot":"\u0131","intcal":"\u22BA","int":"\u222B","Int":"\u222C","integers":"\u2124","Integral":"\u222B","intercal":"\u22BA","Intersection":"\u22C2","intlarhk":"\u2A17","intprod":"\u2A3C","InvisibleComma":"\u2063","InvisibleTimes":"\u2062","IOcy":"\u0401","iocy":"\u0451","Iogon":"\u012E","iogon":"\u012F","Iopf":"\u{1D540}","iopf":"\u{1D55A}","Iota":"\u0399","iota":"\u03B9","iprod":"\u2A3C","iquest":"\xBF","iscr":"\u{1D4BE}","Iscr":"\u2110","isin":"\u2208","isindot":"\u22F5","isinE":"\u22F9","isins":"\u22F4","isinsv":"\u22F3","isinv":"\u2208","it":"\u2062","Itilde":"\u0128","itilde":"\u0129","Iukcy":"\u0406","iukcy":"\u0456","Iuml":"\xCF","iuml":"\xEF","Jcirc":"\u0134","jcirc":"\u0135","Jcy":"\u0419","jcy":"\u0439","Jfr":"\u{1D50D}","jfr":"\u{1D527}","jmath":"\u0237","Jopf":"\u{1D541}","jopf":"\u{1D55B}","Jscr":"\u{1D4A5}","jscr":"\u{1D4BF}","Jsercy":"\u0408","jsercy":"\u0458","Jukcy":"\u0404","jukcy":"\u0454","Kappa":"\u039A","kappa":"\u03BA","kappav":"\u03F0","Kcedil":"\u0136","kcedil":"\u0137","Kcy":"\u041A","kcy":"\u043A","Kfr":"\u{1D50E}","kfr":"\u{1D528}","kgreen":"\u0138","KHcy":"\u0425","khcy":"\u0445","KJcy":"\u040C","kjcy":"\u045C","Kopf":"\u{1D542}","kopf":"\u{1D55C}","Kscr":"\u{1D4A6}","kscr":"\u{1D4C0}","lAarr":"\u21DA","Lacute":"\u0139","lacute":"\u013A","laemptyv":"\u29B4","lagran":"\u2112","Lambda":"\u039B","lambda":"\u03BB","lang":"\u27E8","Lang":"\u27EA","langd":"\u2991","langle":"\u27E8","lap":"\u2A85","Laplacetrf":"\u2112","laquo":"\xAB","larrb":"\u21E4","larrbfs":"\u291F","larr":"\u2190","Larr":"\u219E","lArr":"\u21D0","larrfs":"\u291D","larrhk":"\u21A9","larrlp":"\u21AB","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21A2","latail":"\u2919","lAtail":"\u291B","lat":"\u2AAB","late":"\u2AAD","lates":"\u2AAD\uFE00","lbarr":"\u290C","lBarr":"\u290E","lbbrk":"\u2772","lbrace":"{","lbrack":"[","lbrke":"\u298B","lbrksld":"\u298F","lbrkslu":"\u298D","Lcaron":"\u013D","lcaron":"\u013E","Lcedil":"\u013B","lcedil":"\u013C","lceil":"\u2308","lcub":"{","Lcy":"\u041B","lcy":"\u043B","ldca":"\u2936","ldquo":"\u201C","ldquor":"\u201E","ldrdhar":"\u2967","ldrushar":"\u294B","ldsh":"\u21B2","le":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27E8","LeftArrowBar":"\u21E4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21D0","LeftArrowRightArrow":"\u21C6","leftarrowtail":"\u21A2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27E6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21C3","LeftFloor":"\u230A","leftharpoondown":"\u21BD","leftharpoonup":"\u21BC","leftleftarrows":"\u21C7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21D4","leftrightarrows":"\u21C6","leftrightharpoons":"\u21CB","leftrightsquigarrow":"\u21AD","LeftRightVector":"\u294E","LeftTeeArrow":"\u21A4","LeftTee":"\u22A3","LeftTeeVector":"\u295A","leftthreetimes":"\u22CB","LeftTriangleBar":"\u29CF","LeftTriangle":"\u22B2","LeftTriangleEqual":"\u22B4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21BF","LeftVectorBar":"\u2952","LeftVector":"\u21BC","lEg":"\u2A8B","leg":"\u22DA","leq":"\u2264","leqq":"\u2266","leqslant":"\u2A7D","lescc":"\u2AA8","les":"\u2A7D","lesdot":"\u2A7F","lesdoto":"\u2A81","lesdotor":"\u2A83","lesg":"\u22DA\uFE00","lesges":"\u2A93","lessapprox":"\u2A85","lessdot":"\u22D6","lesseqgtr":"\u22DA","lesseqqgtr":"\u2A8B","LessEqualGreater":"\u22DA","LessFullEqual":"\u2266","LessGreater":"\u2276","lessgtr":"\u2276","LessLess":"\u2AA1","lesssim":"\u2272","LessSlantEqual":"\u2A7D","LessTilde":"\u2272","lfisht":"\u297C","lfloor":"\u230A","Lfr":"\u{1D50F}","lfr":"\u{1D529}","lg":"\u2276","lgE":"\u2A91","lHar":"\u2962","lhard":"\u21BD","lharu":"\u21BC","lharul":"\u296A","lhblk":"\u2584","LJcy":"\u0409","ljcy":"\u0459","llarr":"\u21C7","ll":"\u226A","Ll":"\u22D8","llcorner":"\u231E","Lleftarrow":"\u21DA","llhard":"\u296B","lltri":"\u25FA","Lmidot":"\u013F","lmidot":"\u0140","lmoustache":"\u23B0","lmoust":"\u23B0","lnap":"\u2A89","lnapprox":"\u2A89","lne":"\u2A87","lnE":"\u2268","lneq":"\u2A87","lneqq":"\u2268","lnsim":"\u22E6","loang":"\u27EC","loarr":"\u21FD","lobrk":"\u27E6","longleftarrow":"\u27F5","LongLeftArrow":"\u27F5","Longleftarrow":"\u27F8","longleftrightarrow":"\u27F7","LongLeftRightArrow":"\u27F7","Longleftrightarrow":"\u27FA","longmapsto":"\u27FC","longrightarrow":"\u27F6","LongRightArrow":"\u27F6","Longrightarrow":"\u27F9","looparrowleft":"\u21AB","looparrowright":"\u21AC","lopar":"\u2985","Lopf":"\u{1D543}","lopf":"\u{1D55D}","loplus":"\u2A2D","lotimes":"\u2A34","lowast":"\u2217","lowbar":"_","LowerLeftArrow":"\u2199","LowerRightArrow":"\u2198","loz":"\u25CA","lozenge":"\u25CA","lozf":"\u29EB","lpar":"(","lparlt":"\u2993","lrarr":"\u21C6","lrcorner":"\u231F","lrhar":"\u21CB","lrhard":"\u296D","lrm":"\u200E","lrtri":"\u22BF","lsaquo":"\u2039","lscr":"\u{1D4C1}","Lscr":"\u2112","lsh":"\u21B0","Lsh":"\u21B0","lsim":"\u2272","lsime":"\u2A8D","lsimg":"\u2A8F","lsqb":"[","lsquo":"\u2018","lsquor":"\u201A","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2AA6","ltcir":"\u2A79","lt":"<","LT":"<","Lt":"\u226A","ltdot":"\u22D6","lthree":"\u22CB","ltimes":"\u22C9","ltlarr":"\u2976","ltquest":"\u2A7B","ltri":"\u25C3","ltrie":"\u22B4","ltrif":"\u25C2","ltrPar":"\u2996","lurdshar":"\u294A","luruhar":"\u2966","lvertneqq":"\u2268\uFE00","lvnE":"\u2268\uFE00","macr":"\xAF","male":"\u2642","malt":"\u2720","maltese":"\u2720","Map":"\u2905","map":"\u21A6","mapsto":"\u21A6","mapstodown":"\u21A7","mapstoleft":"\u21A4","mapstoup":"\u21A5","marker":"\u25AE","mcomma":"\u2A29","Mcy":"\u041C","mcy":"\u043C","mdash":"\u2014","mDDot":"\u223A","measuredangle":"\u2221","MediumSpace":"\u205F","Mellintrf":"\u2133","Mfr":"\u{1D510}","mfr":"\u{1D52A}","mho":"\u2127","micro":"\xB5","midast":"*","midcir":"\u2AF0","mid":"\u2223","middot":"\xB7","minusb":"\u229F","minus":"\u2212","minusd":"\u2238","minusdu":"\u2A2A","MinusPlus":"\u2213","mlcp":"\u2ADB","mldr":"\u2026","mnplus":"\u2213","models":"\u22A7","Mopf":"\u{1D544}","mopf":"\u{1D55E}","mp":"\u2213","mscr":"\u{1D4C2}","Mscr":"\u2133","mstpos":"\u223E","Mu":"\u039C","mu":"\u03BC","multimap":"\u22B8","mumap":"\u22B8","nabla":"\u2207","Nacute":"\u0143","nacute":"\u0144","nang":"\u2220\u20D2","nap":"\u2249","napE":"\u2A70\u0338","napid":"\u224B\u0338","napos":"\u0149","napprox":"\u2249","natural":"\u266E","naturals":"\u2115","natur":"\u266E","nbsp":"\xA0","nbump":"\u224E\u0338","nbumpe":"\u224F\u0338","ncap":"\u2A43","Ncaron":"\u0147","ncaron":"\u0148","Ncedil":"\u0145","ncedil":"\u0146","ncong":"\u2247","ncongdot":"\u2A6D\u0338","ncup":"\u2A42","Ncy":"\u041D","ncy":"\u043D","ndash":"\u2013","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21D7","nearrow":"\u2197","ne":"\u2260","nedot":"\u2250\u0338","NegativeMediumSpace":"\u200B","NegativeThickSpace":"\u200B","NegativeThinSpace":"\u200B","NegativeVeryThinSpace":"\u200B","nequiv":"\u2262","nesear":"\u2928","nesim":"\u2242\u0338","NestedGreaterGreater":"\u226B","NestedLessLess":"\u226A","NewLine":"\\n","nexist":"\u2204","nexists":"\u2204","Nfr":"\u{1D511}","nfr":"\u{1D52B}","ngE":"\u2267\u0338","nge":"\u2271","ngeq":"\u2271","ngeqq":"\u2267\u0338","ngeqslant":"\u2A7E\u0338","nges":"\u2A7E\u0338","nGg":"\u22D9\u0338","ngsim":"\u2275","nGt":"\u226B\u20D2","ngt":"\u226F","ngtr":"\u226F","nGtv":"\u226B\u0338","nharr":"\u21AE","nhArr":"\u21CE","nhpar":"\u2AF2","ni":"\u220B","nis":"\u22FC","nisd":"\u22FA","niv":"\u220B","NJcy":"\u040A","njcy":"\u045A","nlarr":"\u219A","nlArr":"\u21CD","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219A","nLeftarrow":"\u21CD","nleftrightarrow":"\u21AE","nLeftrightarrow":"\u21CE","nleq":"\u2270","nleqq":"\u2266\u0338","nleqslant":"\u2A7D\u0338","nles":"\u2A7D\u0338","nless":"\u226E","nLl":"\u22D8\u0338","nlsim":"\u2274","nLt":"\u226A\u20D2","nlt":"\u226E","nltri":"\u22EA","nltrie":"\u22EC","nLtv":"\u226A\u0338","nmid":"\u2224","NoBreak":"\u2060","NonBreakingSpace":"\xA0","nopf":"\u{1D55F}","Nopf":"\u2115","Not":"\u2AEC","not":"\xAC","NotCongruent":"\u2262","NotCupCap":"\u226D","NotDoubleVerticalBar":"\u2226","NotElement":"\u2209","NotEqual":"\u2260","NotEqualTilde":"\u2242\u0338","NotExists":"\u2204","NotGreater":"\u226F","NotGreaterEqual":"\u2271","NotGreaterFullEqual":"\u2267\u0338","NotGreaterGreater":"\u226B\u0338","NotGreaterLess":"\u2279","NotGreaterSlantEqual":"\u2A7E\u0338","NotGreaterTilde":"\u2275","NotHumpDownHump":"\u224E\u0338","NotHumpEqual":"\u224F\u0338","notin":"\u2209","notindot":"\u22F5\u0338","notinE":"\u22F9\u0338","notinva":"\u2209","notinvb":"\u22F7","notinvc":"\u22F6","NotLeftTriangleBar":"\u29CF\u0338","NotLeftTriangle":"\u22EA","NotLeftTriangleEqual":"\u22EC","NotLess":"\u226E","NotLessEqual":"\u2270","NotLessGreater":"\u2278","NotLessLess":"\u226A\u0338","NotLessSlantEqual":"\u2A7D\u0338","NotLessTilde":"\u2274","NotNestedGreaterGreater":"\u2AA2\u0338","NotNestedLessLess":"\u2AA1\u0338","notni":"\u220C","notniva":"\u220C","notnivb":"\u22FE","notnivc":"\u22FD","NotPrecedes":"\u2280","NotPrecedesEqual":"\u2AAF\u0338","NotPrecedesSlantEqual":"\u22E0","NotReverseElement":"\u220C","NotRightTriangleBar":"\u29D0\u0338","NotRightTriangle":"\u22EB","NotRightTriangleEqual":"\u22ED","NotSquareSubset":"\u228F\u0338","NotSquareSubsetEqual":"\u22E2","NotSquareSuperset":"\u2290\u0338","NotSquareSupersetEqual":"\u22E3","NotSubset":"\u2282\u20D2","NotSubsetEqual":"\u2288","NotSucceeds":"\u2281","NotSucceedsEqual":"\u2AB0\u0338","NotSucceedsSlantEqual":"\u22E1","NotSucceedsTilde":"\u227F\u0338","NotSuperset":"\u2283\u20D2","NotSupersetEqual":"\u2289","NotTilde":"\u2241","NotTildeEqual":"\u2244","NotTildeFullEqual":"\u2247","NotTildeTilde":"\u2249","NotVerticalBar":"\u2224","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2AFD\u20E5","npart":"\u2202\u0338","npolint":"\u2A14","npr":"\u2280","nprcue":"\u22E0","nprec":"\u2280","npreceq":"\u2AAF\u0338","npre":"\u2AAF\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219B","nrArr":"\u21CF","nrarrw":"\u219D\u0338","nrightarrow":"\u219B","nRightarrow":"\u21CF","nrtri":"\u22EB","nrtrie":"\u22ED","nsc":"\u2281","nsccue":"\u22E1","nsce":"\u2AB0\u0338","Nscr":"\u{1D4A9}","nscr":"\u{1D4C3}","nshortmid":"\u2224","nshortparallel":"\u2226","nsim":"\u2241","nsime":"\u2244","nsimeq":"\u2244","nsmid":"\u2224","nspar":"\u2226","nsqsube":"\u22E2","nsqsupe":"\u22E3","nsub":"\u2284","nsubE":"\u2AC5\u0338","nsube":"\u2288","nsubset":"\u2282\u20D2","nsubseteq":"\u2288","nsubseteqq":"\u2AC5\u0338","nsucc":"\u2281","nsucceq":"\u2AB0\u0338","nsup":"\u2285","nsupE":"\u2AC6\u0338","nsupe":"\u2289","nsupset":"\u2283\u20D2","nsupseteq":"\u2289","nsupseteqq":"\u2AC6\u0338","ntgl":"\u2279","Ntilde":"\xD1","ntilde":"\xF1","ntlg":"\u2278","ntriangleleft":"\u22EA","ntrianglelefteq":"\u22EC","ntriangleright":"\u22EB","ntrianglerighteq":"\u22ED","Nu":"\u039D","nu":"\u03BD","num":"#","numero":"\u2116","numsp":"\u2007","nvap":"\u224D\u20D2","nvdash":"\u22AC","nvDash":"\u22AD","nVdash":"\u22AE","nVDash":"\u22AF","nvge":"\u2265\u20D2","nvgt":">\u20D2","nvHarr":"\u2904","nvinfin":"\u29DE","nvlArr":"\u2902","nvle":"\u2264\u20D2","nvlt":"<\u20D2","nvltrie":"\u22B4\u20D2","nvrArr":"\u2903","nvrtrie":"\u22B5\u20D2","nvsim":"\u223C\u20D2","nwarhk":"\u2923","nwarr":"\u2196","nwArr":"\u21D6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\xD3","oacute":"\xF3","oast":"\u229B","Ocirc":"\xD4","ocirc":"\xF4","ocir":"\u229A","Ocy":"\u041E","ocy":"\u043E","odash":"\u229D","Odblac":"\u0150","odblac":"\u0151","odiv":"\u2A38","odot":"\u2299","odsold":"\u29BC","OElig":"\u0152","oelig":"\u0153","ofcir":"\u29BF","Ofr":"\u{1D512}","ofr":"\u{1D52C}","ogon":"\u02DB","Ograve":"\xD2","ograve":"\xF2","ogt":"\u29C1","ohbar":"\u29B5","ohm":"\u03A9","oint":"\u222E","olarr":"\u21BA","olcir":"\u29BE","olcross":"\u29BB","oline":"\u203E","olt":"\u29C0","Omacr":"\u014C","omacr":"\u014D","Omega":"\u03A9","omega":"\u03C9","Omicron":"\u039F","omicron":"\u03BF","omid":"\u29B6","ominus":"\u2296","Oopf":"\u{1D546}","oopf":"\u{1D560}","opar":"\u29B7","OpenCurlyDoubleQuote":"\u201C","OpenCurlyQuote":"\u2018","operp":"\u29B9","oplus":"\u2295","orarr":"\u21BB","Or":"\u2A54","or":"\u2228","ord":"\u2A5D","order":"\u2134","orderof":"\u2134","ordf":"\xAA","ordm":"\xBA","origof":"\u22B6","oror":"\u2A56","orslope":"\u2A57","orv":"\u2A5B","oS":"\u24C8","Oscr":"\u{1D4AA}","oscr":"\u2134","Oslash":"\xD8","oslash":"\xF8","osol":"\u2298","Otilde":"\xD5","otilde":"\xF5","otimesas":"\u2A36","Otimes":"\u2A37","otimes":"\u2297","Ouml":"\xD6","ouml":"\xF6","ovbar":"\u233D","OverBar":"\u203E","OverBrace":"\u23DE","OverBracket":"\u23B4","OverParenthesis":"\u23DC","para":"\xB6","parallel":"\u2225","par":"\u2225","parsim":"\u2AF3","parsl":"\u2AFD","part":"\u2202","PartialD":"\u2202","Pcy":"\u041F","pcy":"\u043F","percnt":"%","period":".","permil":"\u2030","perp":"\u22A5","pertenk":"\u2031","Pfr":"\u{1D513}","pfr":"\u{1D52D}","Phi":"\u03A6","phi":"\u03C6","phiv":"\u03D5","phmmat":"\u2133","phone":"\u260E","Pi":"\u03A0","pi":"\u03C0","pitchfork":"\u22D4","piv":"\u03D6","planck":"\u210F","planckh":"\u210E","plankv":"\u210F","plusacir":"\u2A23","plusb":"\u229E","pluscir":"\u2A22","plus":"+","plusdo":"\u2214","plusdu":"\u2A25","pluse":"\u2A72","PlusMinus":"\xB1","plusmn":"\xB1","plussim":"\u2A26","plustwo":"\u2A27","pm":"\xB1","Poincareplane":"\u210C","pointint":"\u2A15","popf":"\u{1D561}","Popf":"\u2119","pound":"\xA3","prap":"\u2AB7","Pr":"\u2ABB","pr":"\u227A","prcue":"\u227C","precapprox":"\u2AB7","prec":"\u227A","preccurlyeq":"\u227C","Precedes":"\u227A","PrecedesEqual":"\u2AAF","PrecedesSlantEqual":"\u227C","PrecedesTilde":"\u227E","preceq":"\u2AAF","precnapprox":"\u2AB9","precneqq":"\u2AB5","precnsim":"\u22E8","pre":"\u2AAF","prE":"\u2AB3","precsim":"\u227E","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2AB9","prnE":"\u2AB5","prnsim":"\u22E8","prod":"\u220F","Product":"\u220F","profalar":"\u232E","profline":"\u2312","profsurf":"\u2313","prop":"\u221D","Proportional":"\u221D","Proportion":"\u2237","propto":"\u221D","prsim":"\u227E","prurel":"\u22B0","Pscr":"\u{1D4AB}","pscr":"\u{1D4C5}","Psi":"\u03A8","psi":"\u03C8","puncsp":"\u2008","Qfr":"\u{1D514}","qfr":"\u{1D52E}","qint":"\u2A0C","qopf":"\u{1D562}","Qopf":"\u211A","qprime":"\u2057","Qscr":"\u{1D4AC}","qscr":"\u{1D4C6}","quaternions":"\u210D","quatint":"\u2A16","quest":"?","questeq":"\u225F","quot":"\\"","QUOT":"\\"","rAarr":"\u21DB","race":"\u223D\u0331","Racute":"\u0154","racute":"\u0155","radic":"\u221A","raemptyv":"\u29B3","rang":"\u27E9","Rang":"\u27EB","rangd":"\u2992","range":"\u29A5","rangle":"\u27E9","raquo":"\xBB","rarrap":"\u2975","rarrb":"\u21E5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21A0","rArr":"\u21D2","rarrfs":"\u291E","rarrhk":"\u21AA","rarrlp":"\u21AC","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21A3","rarrw":"\u219D","ratail":"\u291A","rAtail":"\u291C","ratio":"\u2236","rationals":"\u211A","rbarr":"\u290D","rBarr":"\u290F","RBarr":"\u2910","rbbrk":"\u2773","rbrace":"}","rbrack":"]","rbrke":"\u298C","rbrksld":"\u298E","rbrkslu":"\u2990","Rcaron":"\u0158","rcaron":"\u0159","Rcedil":"\u0156","rcedil":"\u0157","rceil":"\u2309","rcub":"}","Rcy":"\u0420","rcy":"\u0440","rdca":"\u2937","rdldhar":"\u2969","rdquo":"\u201D","rdquor":"\u201D","rdsh":"\u21B3","real":"\u211C","realine":"\u211B","realpart":"\u211C","reals":"\u211D","Re":"\u211C","rect":"\u25AD","reg":"\xAE","REG":"\xAE","ReverseElement":"\u220B","ReverseEquilibrium":"\u21CB","ReverseUpEquilibrium":"\u296F","rfisht":"\u297D","rfloor":"\u230B","rfr":"\u{1D52F}","Rfr":"\u211C","rHar":"\u2964","rhard":"\u21C1","rharu":"\u21C0","rharul":"\u296C","Rho":"\u03A1","rho":"\u03C1","rhov":"\u03F1","RightAngleBracket":"\u27E9","RightArrowBar":"\u21E5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21D2","RightArrowLeftArrow":"\u21C4","rightarrowtail":"\u21A3","RightCeiling":"\u2309","RightDoubleBracket":"\u27E7","RightDownTeeVector":"\u295D","RightDownVectorBar":"\u2955","RightDownVector":"\u21C2","RightFloor":"\u230B","rightharpoondown":"\u21C1","rightharpoonup":"\u21C0","rightleftarrows":"\u21C4","rightleftharpoons":"\u21CC","rightrightarrows":"\u21C9","rightsquigarrow":"\u219D","RightTeeArrow":"\u21A6","RightTee":"\u22A2","RightTeeVector":"\u295B","rightthreetimes":"\u22CC","RightTriangleBar":"\u29D0","RightTriangle":"\u22B3","RightTriangleEqual":"\u22B5","RightUpDownVector":"\u294F","RightUpTeeVector":"\u295C","RightUpVectorBar":"\u2954","RightUpVector":"\u21BE","RightVectorBar":"\u2953","RightVector":"\u21C0","ring":"\u02DA","risingdotseq":"\u2253","rlarr":"\u21C4","rlhar":"\u21CC","rlm":"\u200F","rmoustache":"\u23B1","rmoust":"\u23B1","rnmid":"\u2AEE","roang":"\u27ED","roarr":"\u21FE","robrk":"\u27E7","ropar":"\u2986","ropf":"\u{1D563}","Ropf":"\u211D","roplus":"\u2A2E","rotimes":"\u2A35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2A12","rrarr":"\u21C9","Rrightarrow":"\u21DB","rsaquo":"\u203A","rscr":"\u{1D4C7}","Rscr":"\u211B","rsh":"\u21B1","Rsh":"\u21B1","rsqb":"]","rsquo":"\u2019","rsquor":"\u2019","rthree":"\u22CC","rtimes":"\u22CA","rtri":"\u25B9","rtrie":"\u22B5","rtrif":"\u25B8","rtriltri":"\u29CE","RuleDelayed":"\u29F4","ruluhar":"\u2968","rx":"\u211E","Sacute":"\u015A","sacute":"\u015B","sbquo":"\u201A","scap":"\u2AB8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2ABC","sc":"\u227B","sccue":"\u227D","sce":"\u2AB0","scE":"\u2AB4","Scedil":"\u015E","scedil":"\u015F","Scirc":"\u015C","scirc":"\u015D","scnap":"\u2ABA","scnE":"\u2AB6","scnsim":"\u22E9","scpolint":"\u2A13","scsim":"\u227F","Scy":"\u0421","scy":"\u0441","sdotb":"\u22A1","sdot":"\u22C5","sdote":"\u2A66","searhk":"\u2925","searr":"\u2198","seArr":"\u21D8","searrow":"\u2198","sect":"\xA7","semi":";","seswar":"\u2929","setminus":"\u2216","setmn":"\u2216","sext":"\u2736","Sfr":"\u{1D516}","sfr":"\u{1D530}","sfrown":"\u2322","sharp":"\u266F","SHCHcy":"\u0429","shchcy":"\u0449","SHcy":"\u0428","shcy":"\u0448","ShortDownArrow":"\u2193","ShortLeftArrow":"\u2190","shortmid":"\u2223","shortparallel":"\u2225","ShortRightArrow":"\u2192","ShortUpArrow":"\u2191","shy":"\xAD","Sigma":"\u03A3","sigma":"\u03C3","sigmaf":"\u03C2","sigmav":"\u03C2","sim":"\u223C","simdot":"\u2A6A","sime":"\u2243","simeq":"\u2243","simg":"\u2A9E","simgE":"\u2AA0","siml":"\u2A9D","simlE":"\u2A9F","simne":"\u2246","simplus":"\u2A24","simrarr":"\u2972","slarr":"\u2190","SmallCircle":"\u2218","smallsetminus":"\u2216","smashp":"\u2A33","smeparsl":"\u29E4","smid":"\u2223","smile":"\u2323","smt":"\u2AAA","smte":"\u2AAC","smtes":"\u2AAC\uFE00","SOFTcy":"\u042C","softcy":"\u044C","solbar":"\u233F","solb":"\u29C4","sol":"/","Sopf":"\u{1D54A}","sopf":"\u{1D564}","spades":"\u2660","spadesuit":"\u2660","spar":"\u2225","sqcap":"\u2293","sqcaps":"\u2293\uFE00","sqcup":"\u2294","sqcups":"\u2294\uFE00","Sqrt":"\u221A","sqsub":"\u228F","sqsube":"\u2291","sqsubset":"\u228F","sqsubseteq":"\u2291","sqsup":"\u2290","sqsupe":"\u2292","sqsupset":"\u2290","sqsupseteq":"\u2292","square":"\u25A1","Square":"\u25A1","SquareIntersection":"\u2293","SquareSubset":"\u228F","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25AA","squ":"\u25A1","squf":"\u25AA","srarr":"\u2192","Sscr":"\u{1D4AE}","sscr":"\u{1D4C8}","ssetmn":"\u2216","ssmile":"\u2323","sstarf":"\u22C6","Star":"\u22C6","star":"\u2606","starf":"\u2605","straightepsilon":"\u03F5","straightphi":"\u03D5","strns":"\xAF","sub":"\u2282","Sub":"\u22D0","subdot":"\u2ABD","subE":"\u2AC5","sube":"\u2286","subedot":"\u2AC3","submult":"\u2AC1","subnE":"\u2ACB","subne":"\u228A","subplus":"\u2ABF","subrarr":"\u2979","subset":"\u2282","Subset":"\u22D0","subseteq":"\u2286","subseteqq":"\u2AC5","SubsetEqual":"\u2286","subsetneq":"\u228A","subsetneqq":"\u2ACB","subsim":"\u2AC7","subsub":"\u2AD5","subsup":"\u2AD3","succapprox":"\u2AB8","succ":"\u227B","succcurlyeq":"\u227D","Succeeds":"\u227B","SucceedsEqual":"\u2AB0","SucceedsSlantEqual":"\u227D","SucceedsTilde":"\u227F","succeq":"\u2AB0","succnapprox":"\u2ABA","succneqq":"\u2AB6","succnsim":"\u22E9","succsim":"\u227F","SuchThat":"\u220B","sum":"\u2211","Sum":"\u2211","sung":"\u266A","sup1":"\xB9","sup2":"\xB2","sup3":"\xB3","sup":"\u2283","Sup":"\u22D1","supdot":"\u2ABE","supdsub":"\u2AD8","supE":"\u2AC6","supe":"\u2287","supedot":"\u2AC4","Superset":"\u2283","SupersetEqual":"\u2287","suphsol":"\u27C9","suphsub":"\u2AD7","suplarr":"\u297B","supmult":"\u2AC2","supnE":"\u2ACC","supne":"\u228B","supplus":"\u2AC0","supset":"\u2283","Supset":"\u22D1","supseteq":"\u2287","supseteqq":"\u2AC6","supsetneq":"\u228B","supsetneqq":"\u2ACC","supsim":"\u2AC8","supsub":"\u2AD4","supsup":"\u2AD6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21D9","swarrow":"\u2199","swnwar":"\u292A","szlig":"\xDF","Tab":"\\t","target":"\u2316","Tau":"\u03A4","tau":"\u03C4","tbrk":"\u23B4","Tcaron":"\u0164","tcaron":"\u0165","Tcedil":"\u0162","tcedil":"\u0163","Tcy":"\u0422","tcy":"\u0442","tdot":"\u20DB","telrec":"\u2315","Tfr":"\u{1D517}","tfr":"\u{1D531}","there4":"\u2234","therefore":"\u2234","Therefore":"\u2234","Theta":"\u0398","theta":"\u03B8","thetasym":"\u03D1","thetav":"\u03D1","thickapprox":"\u2248","thicksim":"\u223C","ThickSpace":"\u205F\u200A","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223C","THORN":"\xDE","thorn":"\xFE","tilde":"\u02DC","Tilde":"\u223C","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2A31","timesb":"\u22A0","times":"\xD7","timesd":"\u2A30","tint":"\u222D","toea":"\u2928","topbot":"\u2336","topcir":"\u2AF1","top":"\u22A4","Topf":"\u{1D54B}","topf":"\u{1D565}","topfork":"\u2ADA","tosa":"\u2929","tprime":"\u2034","trade":"\u2122","TRADE":"\u2122","triangle":"\u25B5","triangledown":"\u25BF","triangleleft":"\u25C3","trianglelefteq":"\u22B4","triangleq":"\u225C","triangleright":"\u25B9","trianglerighteq":"\u22B5","tridot":"\u25EC","trie":"\u225C","triminus":"\u2A3A","TripleDot":"\u20DB","triplus":"\u2A39","trisb":"\u29CD","tritime":"\u2A3B","trpezium":"\u23E2","Tscr":"\u{1D4AF}","tscr":"\u{1D4C9}","TScy":"\u0426","tscy":"\u0446","TSHcy":"\u040B","tshcy":"\u045B","Tstrok":"\u0166","tstrok":"\u0167","twixt":"\u226C","twoheadleftarrow":"\u219E","twoheadrightarrow":"\u21A0","Uacute":"\xDA","uacute":"\xFA","uarr":"\u2191","Uarr":"\u219F","uArr":"\u21D1","Uarrocir":"\u2949","Ubrcy":"\u040E","ubrcy":"\u045E","Ubreve":"\u016C","ubreve":"\u016D","Ucirc":"\xDB","ucirc":"\xFB","Ucy":"\u0423","ucy":"\u0443","udarr":"\u21C5","Udblac":"\u0170","udblac":"\u0171","udhar":"\u296E","ufisht":"\u297E","Ufr":"\u{1D518}","ufr":"\u{1D532}","Ugrave":"\xD9","ugrave":"\xF9","uHar":"\u2963","uharl":"\u21BF","uharr":"\u21BE","uhblk":"\u2580","ulcorn":"\u231C","ulcorner":"\u231C","ulcrop":"\u230F","ultri":"\u25F8","Umacr":"\u016A","umacr":"\u016B","uml":"\xA8","UnderBar":"_","UnderBrace":"\u23DF","UnderBracket":"\u23B5","UnderParenthesis":"\u23DD","Union":"\u22C3","UnionPlus":"\u228E","Uogon":"\u0172","uogon":"\u0173","Uopf":"\u{1D54C}","uopf":"\u{1D566}","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21D1","UpArrowDownArrow":"\u21C5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21D5","UpEquilibrium":"\u296E","upharpoonleft":"\u21BF","upharpoonright":"\u21BE","uplus":"\u228E","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03C5","Upsi":"\u03D2","upsih":"\u03D2","Upsilon":"\u03A5","upsilon":"\u03C5","UpTeeArrow":"\u21A5","UpTee":"\u22A5","upuparrows":"\u21C8","urcorn":"\u231D","urcorner":"\u231D","urcrop":"\u230E","Uring":"\u016E","uring":"\u016F","urtri":"\u25F9","Uscr":"\u{1D4B0}","uscr":"\u{1D4CA}","utdot":"\u22F0","Utilde":"\u0168","utilde":"\u0169","utri":"\u25B5","utrif":"\u25B4","uuarr":"\u21C8","Uuml":"\xDC","uuml":"\xFC","uwangle":"\u29A7","vangrt":"\u299C","varepsilon":"\u03F5","varkappa":"\u03F0","varnothing":"\u2205","varphi":"\u03D5","varpi":"\u03D6","varpropto":"\u221D","varr":"\u2195","vArr":"\u21D5","varrho":"\u03F1","varsigma":"\u03C2","varsubsetneq":"\u228A\uFE00","varsubsetneqq":"\u2ACB\uFE00","varsupsetneq":"\u228B\uFE00","varsupsetneqq":"\u2ACC\uFE00","vartheta":"\u03D1","vartriangleleft":"\u22B2","vartriangleright":"\u22B3","vBar":"\u2AE8","Vbar":"\u2AEB","vBarv":"\u2AE9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22A2","vDash":"\u22A8","Vdash":"\u22A9","VDash":"\u22AB","Vdashl":"\u2AE6","veebar":"\u22BB","vee":"\u2228","Vee":"\u22C1","veeeq":"\u225A","vellip":"\u22EE","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","VerticalBar":"\u2223","VerticalLine":"|","VerticalSeparator":"\u2758","VerticalTilde":"\u2240","VeryThinSpace":"\u200A","Vfr":"\u{1D519}","vfr":"\u{1D533}","vltri":"\u22B2","vnsub":"\u2282\u20D2","vnsup":"\u2283\u20D2","Vopf":"\u{1D54D}","vopf":"\u{1D567}","vprop":"\u221D","vrtri":"\u22B3","Vscr":"\u{1D4B1}","vscr":"\u{1D4CB}","vsubnE":"\u2ACB\uFE00","vsubne":"\u228A\uFE00","vsupnE":"\u2ACC\uFE00","vsupne":"\u228B\uFE00","Vvdash":"\u22AA","vzigzag":"\u299A","Wcirc":"\u0174","wcirc":"\u0175","wedbar":"\u2A5F","wedge":"\u2227","Wedge":"\u22C0","wedgeq":"\u2259","weierp":"\u2118","Wfr":"\u{1D51A}","wfr":"\u{1D534}","Wopf":"\u{1D54E}","wopf":"\u{1D568}","wp":"\u2118","wr":"\u2240","wreath":"\u2240","Wscr":"\u{1D4B2}","wscr":"\u{1D4CC}","xcap":"\u22C2","xcirc":"\u25EF","xcup":"\u22C3","xdtri":"\u25BD","Xfr":"\u{1D51B}","xfr":"\u{1D535}","xharr":"\u27F7","xhArr":"\u27FA","Xi":"\u039E","xi":"\u03BE","xlarr":"\u27F5","xlArr":"\u27F8","xmap":"\u27FC","xnis":"\u22FB","xodot":"\u2A00","Xopf":"\u{1D54F}","xopf":"\u{1D569}","xoplus":"\u2A01","xotime":"\u2A02","xrarr":"\u27F6","xrArr":"\u27F9","Xscr":"\u{1D4B3}","xscr":"\u{1D4CD}","xsqcup":"\u2A06","xuplus":"\u2A04","xutri":"\u25B3","xvee":"\u22C1","xwedge":"\u22C0","Yacute":"\xDD","yacute":"\xFD","YAcy":"\u042F","yacy":"\u044F","Ycirc":"\u0176","ycirc":"\u0177","Ycy":"\u042B","ycy":"\u044B","yen":"\xA5","Yfr":"\u{1D51C}","yfr":"\u{1D536}","YIcy":"\u0407","yicy":"\u0457","Yopf":"\u{1D550}","yopf":"\u{1D56A}","Yscr":"\u{1D4B4}","yscr":"\u{1D4CE}","YUcy":"\u042E","yucy":"\u044E","yuml":"\xFF","Yuml":"\u0178","Zacute":"\u0179","zacute":"\u017A","Zcaron":"\u017D","zcaron":"\u017E","Zcy":"\u0417","zcy":"\u0437","Zdot":"\u017B","zdot":"\u017C","zeetrf":"\u2128","ZeroWidthSpace":"\u200B","Zeta":"\u0396","zeta":"\u03B6","zfr":"\u{1D537}","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21DD","zopf":"\u{1D56B}","Zopf":"\u2124","Zscr":"\u{1D4B5}","zscr":"\u{1D4CF}","zwj":"\u200D","zwnj":"\u200C"}')}}]); diff --git a/8211.d1b67c7c.chunk.css b/8211.d1b67c7c.chunk.css new file mode 100644 index 0000000000..da3888fb3e --- /dev/null +++ b/8211.d1b67c7c.chunk.css @@ -0,0 +1 @@ +.md-editor-divider{position:relative;display:inline-block;width:1px;top:.1em;height:.9em;margin:0 8px;background-color:var(--md-border-color)}.md-editor-dropdown{overflow:hidden;box-sizing:border-box;position:absolute;transition:all .3s;opacity:1;z-index:10000;background-color:var(--md-bk-color)}.md-editor-dropdown-hidden{opacity:0;z-index:-10000}.md-editor-dropdown-overlay{margin-top:6px}.md-editor-modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20000;height:100%;background-color:var(--md-modal-mask)}.md-editor-modal{display:block;background-color:var(--md-bk-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;border-radius:3px;border:1px solid var(--md-border-color);position:fixed;z-index:20001;flex-direction:column}.md-editor-modal-header{cursor:grab;display:flex;justify-content:space-between;padding:10px 24px;color:var(--md-color);font-weight:600;font-size:16px;line-height:22px;word-wrap:break-word;user-select:none;border-bottom:1px solid var(--md-border-color);position:relative}.md-editor-modal-body{padding:24px;font-size:14px;word-wrap:break-word;height:calc(100% - 61px);box-sizing:border-box}.md-editor-modal .md-editor-modal-func{position:absolute;top:10px;right:10px}.md-editor-modal .md-editor-modal-func .md-editor-modal-adjust,.md-editor-modal .md-editor-modal-func .md-editor-modal-close{cursor:pointer;width:24px;height:24px;line-height:24px;text-align:center;display:inline-block}.md-editor-modal .md-editor-modal-func .md-editor-modal-adjust{padding-right:10px}.animation{animation-duration:.15s;animation-fill-mode:forwards}@keyframes zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}.zoom-in{animation-name:zoomIn;animation-duration:.15s;animation-fill-mode:forwards}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}.zoom-out{animation-name:zoomOut;animation-duration:.15s;animation-fill-mode:forwards}.md-editor-clip{position:relative;display:flex;height:calc(100% - 32px)}.md-editor-clip-main,.md-editor-clip-preview{width:50%;height:100%;border:1px solid var(--md-border-color)}.md-editor-clip-main{margin-right:1em}.md-editor-clip-main .md-editor-clip-cropper{position:relative;width:100%;height:100%}.md-editor-clip-main .md-editor-clip-cropper .md-editor-clip-delete{position:absolute;top:0;right:0;font-size:0;background-color:var(--md-bk-color-outstand);border-bottom-left-radius:4px;color:var(--md-color);cursor:pointer}.md-editor-clip-main .md-editor-clip-upload{display:flex;align-items:center;justify-content:center;width:100%;height:100%;cursor:pointer}.md-editor-clip-main .md-editor-clip-upload .md-editor-icon{width:auto;height:40px}.md-editor-clip-preview-target{width:100%;height:100%;overflow:hidden}@media (max-width: 688px){.md-editor-modal-clip .md-editor-modal{max-width:calc(100% - 20px);max-height:calc(100% - 20px);margin:10px;left:0!important}.md-editor-modal-clip .md-editor-clip{flex-direction:column}.md-editor-modal-clip .md-editor-clip-main,.md-editor-modal-clip .md-editor-clip-preview{width:100%;height:0;flex:1 1}.md-editor-modal-clip .md-editor-clip-main{margin-bottom:1em}}.md-editor-checkbox{cursor:pointer;width:12px;height:12px;border:1px solid var(--md-border-color);background-color:var(--md-bk-color-outstand);border-radius:2px;line-height:1;text-align:center}.md-editor-checkbox:after{content:"";font-weight:700}.md-editor-checkbox-checked:after{content:"\2713"}.md-editor-catalog-editor{--md-color: #3f4a54;--md-hover-color: #000;--md-bk-color: #fff;--md-bk-color-outstand: #f6f6f6;--md-bk-hover-color: #f5f7fa;--md-border-color: #e6e6e6;--md-border-hover-color: #b9b9b9;--md-border-active-color: #999;--md-modal-mask: #00000073;--md-scrollbar-bg-color: #e2e2e2;--md-scrollbar-thumb-color: #0000004d;--md-scrollbar-thumb-hover-color: #00000059;--md-scrollbar-thumb-active-color: #00000061;position:absolute;overflow:auto;top:44px;right:0;height:calc(100% - 44px);background-color:var(--md-bk-color-outstand);border-left:1px solid var(--md-border-color);width:200px;box-sizing:border-box;margin:0;padding:5px 10px;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";z-index:2}.md-editor-catalog>.md-editor-catalog-link{padding:5px 8px}.md-editor-catalog-link{padding:5px 0 5px 1em;line-height:1.2}.md-editor-catalog-link span{display:inline-block;width:100%;position:relative;overflow:hidden;color:var(--md-color);white-space:nowrap;text-overflow:ellipsis;transition:color .3s;cursor:pointer}.md-editor-catalog-link span:hover{color:#73d13d}.md-editor-catalog-wrapper>.md-editor-catalog-link{padding-top:5px;padding-bottom:5px}.md-editor-catalog-wrapper>.md-editor-catalog-link:first-of-type{padding-top:10px}.md-editor-catalog-wrapper>.md-editor-catalog-link:last-of-type{padding-bottom:0}.md-editor-catalog-active>span{color:#73d13d}.md-editor-catalog-dark{--md-color: #999;--md-hover-color: #bbb;--md-bk-color: #000;--md-bk-color-outstand: #111;--md-bk-hover-color: #1b1a1a;--md-border-color: #2d2d2d;--md-border-hover-color: #636262;--md-border-active-color: #777;--md-modal-mask: #00000073;--md-scrollbar-bg-color: #0f0f0f;--md-scrollbar-thumb-color: #2d2d2d;--md-scrollbar-thumb-hover-color: #3a3a3a;--md-scrollbar-thumb-active-color: #3a3a3a}.cm-editor{font-size:14px;height:100%}.cm-editor.cm-focused{outline:none}.cm-scroller{overflow-y:scroll}.cm-scroller .cm-content[contenteditable=true]{margin:10px}.cm-scroller .cm-gutters+.cm-content[contenteditable=true]{margin:0}.cm-scroller .cm-line{line-height:inherit}.\37c 1 .cm-scroller{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;line-height:20px}.md-editor{--md-color: #3f4a54;--md-hover-color: #000;--md-bk-color: #fff;--md-bk-color-outstand: #f6f6f6;--md-bk-hover-color: #f5f7fa;--md-border-color: #e6e6e6;--md-border-hover-color: #b9b9b9;--md-border-active-color: #999;--md-modal-mask: #00000073;--md-scrollbar-bg-color: #e2e2e2;--md-scrollbar-thumb-color: #0000004d;--md-scrollbar-thumb-hover-color: #00000059;--md-scrollbar-thumb-active-color: #00000061;width:100%;height:500px;position:relative;box-sizing:border-box;border:1px solid var(--md-border-color);display:flex;flex-direction:column;overflow:hidden;color:var(--md-color);background-color:var(--md-bk-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI Variable,Segoe UI,system-ui,ui-sans-serif,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}.md-editor ::-webkit-scrollbar{width:6px;height:6px}.md-editor ::-webkit-scrollbar-corner,.md-editor ::-webkit-scrollbar-track{background-color:var(--md-scrollbar-bg-color)}.md-editor ::-webkit-scrollbar-thumb{border-radius:2px;background-color:var(--md-scrollbar-thumb-color)}.md-editor ::-webkit-scrollbar-button:vertical{display:none}.md-editor ::-webkit-scrollbar-thumb:vertical:hover{background-color:var(--md-scrollbar-thumb-hover-color)}.md-editor ::-webkit-scrollbar-thumb:vertical:active{background-color:var(--md-scrollbar-thumb-active-color)}.md-editor-icon{width:24px;height:24px;fill:currentColor;overflow:hidden}.md-editor-menu{margin:0;padding:0;border-radius:3px;border:1px solid var(--md-border-color);background-color:inherit}.md-editor-menu-item{list-style:none;font-size:12px;color:var(--md-color);padding:4px 10px;cursor:pointer;line-height:16px}.md-editor-menu-item:first-of-type{padding-top:8px}.md-editor-menu-item:last-of-type{padding-bottom:8px}.md-editor-menu-item:hover{background-color:var(--md-bk-hover-color)}.md-editor-table-shape{padding:4px;border-radius:3px;border:1px solid var(--md-border-color);display:flex;flex-direction:column}.md-editor-table-shape-row{display:flex}.md-editor-table-shape-col{padding:2px;cursor:pointer}.md-editor-table-shape-col-default{width:16px;height:16px;background-color:#e0e0e0;border-radius:3px;transition:all .2s}.md-editor-table-shape-col-include{background-color:#aaa}.md-editor-toolbar-wrapper{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;height:35px;flex-shrink:0;padding:4px;border-bottom:1px solid var(--md-border-color)}.md-editor-toolbar-wrapper::-webkit-scrollbar{height:0!important}.md-editor-toolbar-wrapper .md-editor-toolbar{height:100%;display:flex;justify-content:space-between;align-items:center;box-sizing:content-box}.md-editor-toolbar-wrapper .md-editor-toolbar-item{height:24px;display:inline-block;padding:0 4px;transition:all .3s;border-radius:0;cursor:pointer;list-style:none;user-select:none}.md-editor-toolbar-wrapper .md-editor-toolbar-item:hover{border-radius:3px;background-color:var(--md-bk-color-outstand)}.md-editor-toolbar-wrapper .md-editor-toolbar-left,.md-editor-toolbar-wrapper .md-editor-toolbar-right{padding:1px 0;display:flex;align-items:center}.md-editor-content{display:flex;flex:1 1;height:0;flex-shrink:0}.md-editor-content .md-editor-input-wrapper{flex:1 1;box-sizing:border-box}.md-editor-content .md-editor-input-wrapper textarea{width:100%;height:100%;padding:10px 20px;box-sizing:border-box;font-size:1em;font-family:-apple-system,Consolas,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;resize:none;border:none;outline:none;overflow-y:scroll;color:inherit;background-color:inherit;line-height:1.4}.md-editor-content .md-editor-input-wrapper textarea:disabled{cursor:not-allowed}.md-editor-content .md-editor-input-wrapper textarea.textarea-only{overflow-y:auto}.md-editor-content .md-editor-preview-wrapper{position:relative;flex:1 1;box-sizing:border-box;overflow:auto;padding:10px 20px}.md-editor-content .md-editor-preview,.md-editor-content .md-editor-html{font-size:16px;word-break:break-all}.md-editor-footer{height:24px;flex-shrink:0;font-size:12px;color:var(--md-color);border-top:1px solid var(--md-border-color);display:flex;justify-content:space-between}.md-editor-footer-item{display:inline-flex;align-items:center;height:100%;padding:0 10px}.md-editor-footer-label{padding-right:5px;line-height:1}.md-editor-form-item{margin-bottom:14px;text-align:center}.md-editor-form-item:last-of-type{margin-bottom:0}.md-editor-label{font-size:14px;color:var(--md-color);width:80px;text-align:center;display:inline-block}.md-editor-input{border-radius:4px;padding:4px 11px;color:var(--md-color);font-size:14px;line-height:1.5715;background-color:var(--md-bk-color);background-image:none;border:1px solid var(--md-border-color);transition:all .2s}.md-editor-input:focus,.md-editor-input:hover{border-color:var(--md-border-hover-color);outline:0}.md-editor-input:focus{border-color:var(--md-border-active-color)}.md-editor-btn{font-weight:400;text-align:center;vertical-align:middle;cursor:pointer;border:1px solid var(--md-border-color);white-space:nowrap;user-select:none;height:32px;padding:0 15px;font-size:14px;border-radius:4px;transition:all .2s linear;color:var(--md-color);background-color:var(--md-bk-color);border-color:var(--md-border-color);margin-left:10px}.md-editor-btn:first-of-type{margin-left:0}.md-editor-btn:hover{color:var(--md-hover-color);background-color:var(--md-bk-color);border-color:var(--md-border-hover-color)}.md-editor-btn-row{width:100%}.md-editor-previewOnly{border:none;height:auto}.md-editor-previewOnly .md-editor-content{height:100%}.md-editor-previewOnly .md-editor-preview{padding:0}.md-editor-dark{--md-color: #999;--md-hover-color: #bbb;--md-bk-color: #000;--md-bk-color-outstand: #111;--md-bk-hover-color: #1b1a1a;--md-border-color: #2d2d2d;--md-border-hover-color: #636262;--md-border-active-color: #777;--md-modal-mask: #00000073;--md-scrollbar-bg-color: #0f0f0f;--md-scrollbar-thumb-color: #2d2d2d;--md-scrollbar-thumb-hover-color: #3a3a3a;--md-scrollbar-thumb-active-color: #3a3a3a}.md-editor-dark .md-editor-table-shape-col-default{background-color:#222}.md-editor-dark .md-editor-table-shape-col-include{background-color:#555}.md-editor-fullscreen{position:fixed;top:0;right:0;bottom:0;left:0;width:auto!important;height:auto!important;z-index:10000}.medium-zoom-overlay,.medium-zoom-image--opened{z-index:100001}.md-editor .md-editor-preview{--md-theme-color: var(--md-color);--md-theme-color-reverse: #eee;--md-theme-color-hover: #eee;--md-theme-color-hover-inset: #ddd;--md-theme-link-color: #2d8cf0;--md-theme-link-hover-color: #73d13d;--md-theme-border-color: #e6e6e6;--md-theme-border-color-reverse: #bebebe;--md-theme-border-color-inset: #d6d6d6;--md-theme-bg-color: #fff;--md-theme-bg-color-inset: #ececec;--md-theme-bg-color-scrollbar-track: #e2e2e2;--md-theme-bg-color-scrollbar-thumb: rgba(0, 0, 0, .3019607843);--md-theme-bg-color-scrollbar-thumb-hover: rgba(0, 0, 0, .3490196078);--md-theme-bg-color-scrollbar-thumb-active: rgba(0, 0, 0, .3803921569);--md-theme-code-copy-tips-color: inherit;--md-theme-code-copy-tips-bg-color: #fff;--md-theme-code-active-color: #61aeee}.md-editor-dark .md-editor-preview{--md-theme-color: var(--md-color);--md-theme-color-reverse: #222;--md-theme-color-hover: #191919;--md-theme-color-hover-inset: #444;--md-theme-link-color: #2d8cf0;--md-theme-link-hover-color: #73d13d;--md-theme-border-color: #2d2d2d;--md-theme-border-color-reverse: #e6e6e6;--md-theme-border-color-inset: #5a5a5a;--md-theme-bg-color: #000;--md-theme-bg-color-inset: #111;--md-theme-bg-color-scrollbar-track: #0f0f0f;--md-theme-bg-color-scrollbar-thumb: #2d2d2d;--md-theme-bg-color-scrollbar-thumb-hover: #3a3a3a;--md-theme-bg-color-scrollbar-thumb-active: #3a3a3a;--md-theme-code-copy-tips-color: inherit;--md-theme-code-copy-tips-bg-color: #3a3a3a;--md-theme-code-active-color: #e6c07b}.md-editor-scrn span[rn-wrapper]{position:absolute;pointer-events:none;top:1em;font-size:100%;left:0;width:3em;letter-spacing:-1px;user-select:none;counter-reset:linenumber}.md-editor-scrn span[rn-wrapper]>span{display:block;pointer-events:none;counter-increment:linenumber}.md-editor-scrn span[rn-wrapper]>span:before{color:#999;display:block;padding-right:.5em;text-align:right;content:counter(linenumber)}.md-editor-scrn pre code{padding-left:3.5em!important}.md-editor .md-editor-admonition-note{--md-admonition-color: #448aff;--md-admonition-bg-color: #d5e2f9}.md-editor .md-editor-admonition-abstract{--md-admonition-color: #02b1ff;--md-admonition-bg-color: #d1eefb}.md-editor .md-editor-admonition-info{--md-admonition-color: #333;--md-admonition-bg-color: #e3e3e3}.md-editor .md-editor-admonition-tip{--md-admonition-color: #666;--md-admonition-bg-color: #e6e6e6}.md-editor .md-editor-admonition-success{--md-admonition-color: #00c852;--md-admonition-bg-color: #c1f1d5}.md-editor .md-editor-admonition-question{--md-admonition-color: #f0b400;--md-admonition-bg-color: #fff1dd}.md-editor .md-editor-admonition-warning{--md-admonition-color: #ff9104;--md-admonition-bg-color: #ffe9cc}.md-editor .md-editor-admonition-failure{--md-admonition-color: #c2185b;--md-admonition-bg-color: #ffd9d9}.md-editor .md-editor-admonition-danger{--md-admonition-color: #ff5252;--md-admonition-bg-color: #ffe4e4}.md-editor .md-editor-admonition-bug{--md-admonition-color: #f60357;--md-admonition-bg-color: #ffd3e2}.md-editor .md-editor-admonition-example{--md-admonition-color: #7c4dff;--md-admonition-bg-color: #e3d8ff}.md-editor .md-editor-admonition-quote{--md-admonition-color: #9e9e9e;--md-admonition-bg-color: #f0f0f0}.md-editor .md-editor-admonition-hint{--md-admonition-color: #009688;--md-admonition-bg-color: #cdf4f0}.md-editor .md-editor-admonition-caution{--md-admonition-color: #ffa726;--md-admonition-bg-color: #ffe7c4}.md-editor .md-editor-admonition-error{--md-admonition-color: #d32f2f;--md-admonition-bg-color: #ffd8d8}.md-editor .md-editor-admonition-attention{--md-admonition-color: #455a64;--md-admonition-bg-color: #cbefff}.md-editor-dark .md-editor-admonition-note{--md-admonition-color: #1262e7;--md-admonition-bg-color: #021d4c}.md-editor-dark .md-editor-admonition-abstract{--md-admonition-color: #058dc9;--md-admonition-bg-color: #002433}.md-editor-dark .md-editor-admonition-info{--md-admonition-color: #999;--md-admonition-bg-color: #212121}.md-editor-dark .md-editor-admonition-tip{--md-admonition-color: #888;--md-admonition-bg-color: #191818}.md-editor-dark .md-editor-admonition-success{--md-admonition-color: #00c551;--md-admonition-bg-color: #003014}.md-editor-dark .md-editor-admonition-question{--md-admonition-color: #cd9a00;--md-admonition-bg-color: #311d00}.md-editor-dark .md-editor-admonition-warning{--md-admonition-color: #ed8500;--md-admonition-bg-color: #3c2200}.md-editor-dark .md-editor-admonition-failure{--md-admonition-color: #d5125f;--md-admonition-bg-color: #3f0000}.md-editor-dark .md-editor-admonition-danger{--md-admonition-color: #d80505;--md-admonition-bg-color: #390000}.md-editor-dark .md-editor-admonition-bug{--md-admonition-color: #da0d54;--md-admonition-bg-color: #390013}.md-editor-dark .md-editor-admonition-example{--md-admonition-color: #7443ff;--md-admonition-bg-color: #140045}.md-editor-dark .md-editor-admonition-quote{--md-admonition-color: #9e9e9e;--md-admonition-bg-color: #2b2b2b}.md-editor-dark .md-editor-admonition-hint{--md-admonition-color: #00ae9e;--md-admonition-bg-color: #00423b}.md-editor-dark .md-editor-admonition-caution{--md-admonition-color: #db8609;--md-admonition-bg-color: #573300}.md-editor-dark .md-editor-admonition-error{--md-admonition-color: #df1a1a;--md-admonition-bg-color: #440000}.md-editor-dark .md-editor-admonition-attention{--md-admonition-color: #0f8bc7;--md-admonition-bg-color: #00354d}.md-editor-preview .md-editor-admonition{background-color:var(--md-admonition-bg-color);border:1px solid var(--md-admonition-color);border-radius:.5rem;color:var(--md-admonition-color);display:flow-root;font-size:14px;font-weight:400;margin:1rem 0;padding:1em 1em .5em;page-break-inside:avoid}.md-editor-preview .md-editor-admonition-title{border-top-left-radius:.5rem;border-top-right-radius:.5rem;margin:0;padding:0;position:relative;font-weight:700}.md-editor-preview .md-editor-admonition p{margin:.5em 0;padding:0}.md-editor-preview .md-editor-admonition p:first-of-type{margin-top:0}.md-editor-preview .md-editor-admonition+p:empty,.md-editor-preview .md-editor-admonition+p:empty+p:empty{display:none}.md-editor-mermaid{overflow-x:auto;display:none;text-align:center}[class=md-editor-mermaid][data-processed]{display:block}.prefix-katex-block{text-align:center;margin:20px}.prefix-katex-inline,.prefix-katex-block{display:none}.prefix-katex-inline[data-processed]{display:initial}.prefix-katex-block[data-processed]{display:block}.md-editor-preview .code-tabs{border-radius:5px;margin-bottom:20px}.md-editor-preview .code-tabs pre{margin:0;border-top-left-radius:0;border-top-right-radius:0}.md-editor-preview .code-tabs pre:before{display:none}.md-editor-preview .code-tabs pre code{border-top-left-radius:0;border-top-right-radius:0}.md-editor-preview .code-tabs pre code[language]:before{top:-23px;right:46px}.md-editor-preview .code-tabs pre .copy-button{top:-29px;right:16px}.md-editor-preview .code-tabs pre,.md-editor-preview .code-tabs input{display:none}.md-editor-preview .code-tabs input:checked+pre{display:block}.md-editor-preview .code-tabs label{color:var(--md-theme-code-block-color)}.md-editor-preview .code-tabs input:checked+label{color:var(--md-theme-code-active-color)}.md-editor-preview .code-tabs ul{box-sizing:border-box;white-space:nowrap;overflow:auto;user-select:none;width:100%;background-color:var(--md-theme-code-block-bg-color);margin:0;padding:1em 1em 0;border-top-left-radius:5px;border-top-right-radius:5px}.md-editor-preview .code-tabs li{line-height:1;list-style:none;display:inline-block;position:relative;vertical-align:super;margin:0}.md-editor-preview .code-tabs label{cursor:pointer;user-select:none;display:inline-block;margin:0 5px;font-size:14px}.md-editor article.default-theme{--md-theme-code-inline-color: #3594f7;--md-theme-code-inline-bg-color: rgba(59, 170, 250, .1);--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #282c34;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-copy-tips-color: #141414}.md-editor-dark article.default-theme{--md-theme-code-inline-color: #3594f7;--md-theme-code-inline-bg-color: rgba(59, 170, 250, .1);--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #1a1a1a;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-copy-tips-color: inherit}.default-theme code{color:var(--md-theme-code-inline-color);background-color:var(--md-theme-code-inline-bg-color);display:inline-block;padding:0 4px;border-radius:2px;line-height:22px;z-index:-1}.default-theme pre{position:relative;border-radius:5px;box-shadow:#0005 0 2px 2px}.default-theme pre code{padding:1em;background-color:var(--md-theme-code-block-bg-color);color:var(--md-theme-code-block-color);border-radius:0 0 5px 5px}.default-theme pre code>*{line-height:1.6}.default-theme pre code span[rn-wrapper]{top:calc(1em + 32px)}.default-theme pre:before{content:"";display:block;background:url(data:image/png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cbBebJZa+UapiZ8iNiIi1JshV8Tw8wFOcrl511D0IUOHweWNPDJ6mkvqccS1AeOEesw4pvSqPUp3tSJCnA2VOjFAEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEAQxzvj/snGtbrdYI/0AAAAASUVORK5CYII=);height:32px;width:100%;background-size:40px;background-repeat:no-repeat;background-color:var(--md-theme-code-before-bg-color);margin-bottom:0;border-top-left-radius:5px;border-top-right-radius:5px;background-position:10px 10px}.default-theme .code-tabs pre code span[rn-wrapper]{top:1em}.default-theme h1,.default-theme h2,.default-theme h3,.default-theme h4,.default-theme h5,.default-theme h6{margin:1.4em 0 .8em;font-weight:700;color:var(--md-theme-color)}.default-theme img{margin:0 auto;max-width:100%;box-sizing:border-box;padding:5px;border:1px solid var(--md-theme-border-color);border-radius:3px}.default-theme blockquote img{border-color:var(--md-theme-border-color-inset)}.default-theme a{color:var(--md-theme-link-color);transition:color .3s}.default-theme a:hover{color:var(--md-theme-link-hover-color)}.default-theme ol,.default-theme ul{margin:.6em 0;padding-left:1.6em}.default-theme ol li,.default-theme ul li{line-height:1.6;margin:.5em 0}.default-theme p{line-height:1.6;margin:0;padding:.5rem 0}.default-theme p:empty{display:none}.default-theme blockquote{margin:20px 0;padding:0 1.2em;line-height:2em;background-color:var(--md-theme-bg-color-inset);border-left:5px solid #35b378;display:block}.md-editor default-theme{--md-theme-table-stripe-color: #fafafa}.md-editor-dark default-theme{--md-theme-table-stripe-color: #0c0c0c}.default-theme table{overflow:auto;border-spacing:0;border-collapse:collapse;margin-bottom:1em;margin-top:1em}.default-theme table tr th,.default-theme table tr td{word-wrap:break-word;padding:8px 14px;border:1px solid var(--md-theme-border-color)}.default-theme table tbody tr:nth-child(2n){background-color:var(--md-theme-table-stripe-color)}.default-theme table tbody tr:hover{background-color:var(--md-theme-color-hover)}.default-theme blockquote table{line-height:initial}.default-theme blockquote table tr th,.default-theme blockquote table tr td{border-color:var(--md-theme-border-color-inset)}.default-theme blockquote table tbody tr:nth-child(n){background-color:inherit}.default-theme blockquote table tbody tr:hover{background-color:var(--md-theme-color-hover-inset)}.default-theme{color:var(--md-theme-color)}.default-theme ::-webkit-scrollbar{width:6px;height:6px}.default-theme ::-webkit-scrollbar-corner,.default-theme ::-webkit-scrollbar-track{background-color:var(--md-theme-bg-color-scrollbar-track);border-radius:2px}.default-theme ::-webkit-scrollbar-thumb{border-radius:2px;background-color:var(--md-theme-bg-color-scrollbar-thumb)}.default-theme ::-webkit-scrollbar-button:vertical{display:none}.default-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:var(--md-theme-bg-color-scrollbar-thumb-hover)}.default-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:var(--md-theme-bg-color-scrollbar-thumb-active)}.default-theme h1,.default-theme h2,.default-theme h3,.default-theme h4,.default-theme h5,.default-theme h6{position:relative;word-break:break-all}.default-theme h1 a,.default-theme h2 a,.default-theme h3 a,.default-theme h4 a,.default-theme h5 a,.default-theme h6 a,.default-theme h1 a:hover,.default-theme h2 a:hover,.default-theme h3 a:hover,.default-theme h4 a:hover,.default-theme h5 a:hover,.default-theme h6 a:hover{color:inherit}.default-theme ol>li{list-style:decimal}.default-theme ul>li{list-style:disc}.default-theme ol .task-list-item,.default-theme ul .task-list-item{list-style-type:none}.default-theme ol .task-list-item input,.default-theme ul .task-list-item input{margin-left:-1.5em;margin-right:.1em}.default-theme a{text-decoration:none}.default-theme pre,.default-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px}.default-theme pre{margin:20px 0}.default-theme pre code{display:block;line-height:1;overflow:auto}.default-theme pre code .code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom}.default-theme pre code[language]:before{content:attr(language);font-size:12px;position:absolute;top:11px;right:40px;line-height:1;z-index:1}.default-theme .copy-button{color:var(--md-theme-code-block-color);position:absolute;font-size:12px;top:5px;right:7px;line-height:1;cursor:pointer;z-index:1}.default-theme .copy-button:before{content:attr(data-tips);color:var(--md-theme-code-copy-tips-color);background-color:var(--md-theme-code-copy-tips-bg-color);position:absolute;font-size:12px;font-family:sans-serif;width:max-content;text-align:center;padding:4px;border-radius:2px;box-shadow:0 0 2px #0003;left:0;top:50%;transform:translate(-100%,-50%)}.default-theme .copy-button:after{content:"";color:var(--md-theme-code-copy-tips-bg-color);position:absolute;width:0;height:0;border:5px solid rgba(0,0,0,0);border-right-width:0;border-left-color:currentColor;left:-2px;top:50%;transform:translateY(-50%);filter:drop-shadow(4px 0 2px rgba(0,0,0,.2))}.default-theme .copy-button:before,.default-theme .copy-button:after{visibility:hidden;transition:.3s}.default-theme .copy-button:hover:before,.default-theme .copy-button:hover:after{visibility:visible}.default-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid var(--md-theme-border-color)}.default-theme figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.default-theme figure figcaption{color:var(--md-theme-color);font-size:.875em;margin-top:5px}.default-theme .md-editor-mermaid{line-height:1}.md-editor article.vuepress-theme{--md-theme-code-inline-color: #d63200;--md-theme-code-inline-bg-color: #f8f8f8;--md-theme-code-block-color: #747384;--md-theme-code-block-bg-color: #f8f8f8}.md-editor-dark article.vuepress-theme{--md-theme-code-inline-color: #e06c75;--md-theme-code-inline-bg-color: #1a1a1a;--md-theme-code-block-color: #999;--md-theme-code-block-bg-color: #1a1a1a}.vuepress-theme code{color:var(--md-theme-code-inline-color);padding:3px 5px;margin:0 2px;border-radius:2px;background-color:var(--md-theme-code-inline-bg-color)}.vuepress-theme pre{border-radius:2px;position:relative;font-size:.875em;margin:1em 0;background-color:var(--md-theme-code-block-bg-color)}.vuepress-theme pre code{overflow-x:auto;color:var(--md-theme-code-block-color);white-space:pre;padding:22px 1em;background-color:var(--md-theme-code-block-bg-color)}.vuepress-theme pre code>*{line-height:1.6}.vuepress-theme pre code span[rn-wrapper]{top:22px}.md-editor article.vuepress-theme{--md-theme-heading-color: #273849}.md-editor-dark article.vuepress-theme{--md-theme-heading-color: #999}.vuepress-theme h1,.vuepress-theme h2,.vuepress-theme h3,.vuepress-theme h4,.vuepress-theme h5,.vuepress-theme h6{font-weight:600;color:var(--heading-color);line-height:1.45;position:relative;margin-top:1em}.vuepress-theme h1{font-size:2.2em;margin:1em 0}.vuepress-theme h2{font-size:1.65em;padding-bottom:.3em;border-bottom:1px solid var(--md-theme-border-color)}.vuepress-theme h3{line-height:1.35em}.vuepress-theme img{max-width:100%}.vuepress-theme a{color:#42b983;font-weight:600}.vuepress-theme ul,.vuepress-theme ol{position:relative;padding-left:1.25em;line-height:1.4em;margin:1.2em 0;z-index:1}.vuepress-theme ul li,.vuepress-theme ol li{margin:1.2em 0}.vuepress-theme p{word-spacing:.05em;line-height:1.6em;margin:1.2em 0;position:relative}.vuepress-theme p:empty{display:none}.vuepress-theme blockquote{margin:2em 0;padding-left:20px;border-left:4px solid #42b983}.vuepress-theme blockquote p{margin-left:0;margin-top:1.2em;margin-bottom:0;padding:0}.md-editor article.vuepress-theme{--md-theme-table-border-color: #dfe2e5;--md-theme-table-bg-color: #f6f8fa}.md-editor-dark article.vuepress-theme{--md-theme-table-border-color: #2d2d2d;--md-theme-table-bg-color: #0c0c0c}.vuepress-theme table{border-collapse:collapse;margin:1rem 0;display:block;overflow-x:auto}.vuepress-theme table tr{border-top:1px solid var(--md-theme-table-border-color)}.vuepress-theme table tr th,.vuepress-theme table tr td{border:1px solid var(--md-theme-table-border-color);padding:.6em 1em}.vuepress-theme table tr:nth-child(2n){background-color:var(--md-theme-table-bg-color)}.md-editor .vuepress-theme{--md-theme-color: #304455}.md-editor-dark .vuepress-theme{--md-theme-color: #999}.vuepress-theme{font-size:16px;color:var(--md-theme-color)}.vuepress-theme ::-webkit-scrollbar{width:6px;height:6px}.vuepress-theme ::-webkit-scrollbar-corner,.vuepress-theme ::-webkit-scrollbar-track{background-color:var(--md-theme-bg-color-scrollbar-track);border-radius:2px}.vuepress-theme ::-webkit-scrollbar-thumb{border-radius:2px;background-color:var(--md-theme-bg-color-scrollbar-thumb)}.vuepress-theme ::-webkit-scrollbar-button:vertical{display:none}.vuepress-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:var(--md-theme-bg-color-scrollbar-thumb-hover)}.vuepress-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:var(--md-theme-bg-color-scrollbar-thumb-active)}.vuepress-theme h1,.vuepress-theme h2,.vuepress-theme h3,.vuepress-theme h4,.vuepress-theme h5,.vuepress-theme h6{position:relative;word-break:break-all}.vuepress-theme h1 a,.vuepress-theme h2 a,.vuepress-theme h3 a,.vuepress-theme h4 a,.vuepress-theme h5 a,.vuepress-theme h6 a,.vuepress-theme h1 a:hover,.vuepress-theme h2 a:hover,.vuepress-theme h3 a:hover,.vuepress-theme h4 a:hover,.vuepress-theme h5 a:hover,.vuepress-theme h6 a:hover{color:inherit}.vuepress-theme ol>li{list-style:decimal}.vuepress-theme ul>li{list-style:disc}.vuepress-theme ol .task-list-item,.vuepress-theme ul .task-list-item{list-style-type:none}.vuepress-theme ol .task-list-item input,.vuepress-theme ul .task-list-item input{margin-left:-1.5em;margin-right:.1em}.vuepress-theme a{text-decoration:none}.vuepress-theme pre,.vuepress-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px}.vuepress-theme pre{margin:20px 0}.vuepress-theme pre code{display:block;line-height:1;overflow:auto}.vuepress-theme pre code .code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom}.vuepress-theme pre code[language]:before{content:attr(language);font-size:12px;position:absolute;top:11px;right:40px;line-height:1;z-index:1}.vuepress-theme .copy-button{color:var(--md-theme-code-block-color);position:absolute;font-size:12px;top:5px;right:7px;line-height:1;cursor:pointer;z-index:1}.vuepress-theme .copy-button:before{content:attr(data-tips);color:var(--md-theme-code-copy-tips-color);background-color:var(--md-theme-code-copy-tips-bg-color);position:absolute;font-size:12px;font-family:sans-serif;width:max-content;text-align:center;padding:4px;border-radius:2px;box-shadow:0 0 2px #0003;left:0;top:50%;transform:translate(-100%,-50%)}.vuepress-theme .copy-button:after{content:"";color:var(--md-theme-code-copy-tips-bg-color);position:absolute;width:0;height:0;border:5px solid rgba(0,0,0,0);border-right-width:0;border-left-color:currentColor;left:-2px;top:50%;transform:translateY(-50%);filter:drop-shadow(4px 0 2px rgba(0,0,0,.2))}.vuepress-theme .copy-button:before,.vuepress-theme .copy-button:after{visibility:hidden;transition:.3s}.vuepress-theme .copy-button:hover:before,.vuepress-theme .copy-button:hover:after{visibility:visible}.vuepress-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid var(--md-theme-border-color)}.vuepress-theme figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.vuepress-theme figure figcaption{color:var(--md-theme-color);font-size:.875em;margin-top:5px}.vuepress-theme .md-editor-mermaid{line-height:1}.vuepress-theme em{color:#4f5959;padding:0 6px 0 4px}.md-editor article.github-theme{--md-theme-code-inline-color: inherit;--md-theme-code-inline-bg-color: #eff1f2;--md-theme-code-block-color: inherit;--md-theme-code-block-bg-color: #f6f8fa}.md-editor-dark article.github-theme{--md-theme-code-inline-color: #c9d1d9;--md-theme-code-inline-bg-color: #2d3339;--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #161b22}.github-theme code{padding:.2em .4em;margin:0;color:var(--md-theme-code-inline-color);background-color:var(--md-theme-code-inline-bg-color);border-radius:6px}.github-theme pre{border-radius:6px;position:relative}.github-theme pre code{padding:22px 1em;margin-bottom:0;word-break:normal;letter-spacing:1px;color:var(--md-theme-code-block-color);background-color:var(--md-theme-code-block-bg-color)}.github-theme pre code>*{line-height:1.6}.github-theme pre code span[rn-wrapper]{top:22px}.md-editor article.github-theme{--md-theme-heading-color: inherit;--md-theme-heading-6-color: #2d3339;--md-theme-heading-border-color: #d9dee4}.md-editor-dark article.github-theme{--md-theme-heading-color: #c9d1d9;--md-theme-heading-6-color: #768390;--md-theme-heading-border-color: #373e47}.github-theme h1,.github-theme h2,.github-theme h3,.github-theme h4,.github-theme h5,.github-theme h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25;color:var(--md-theme-heading-color)}.github-theme h1{padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--md-theme-heading-border-color)}.github-theme h2{padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--md-theme-heading-border-color)}.github-theme h3{font-size:1.25em}.github-theme h4{font-size:1em}.github-theme h5{font-size:.875em}.github-theme h6{font-size:.85em;color:var(--md-theme-heading-6-color)}.md-editor article.github-theme{--md-theme-heading-bg-color: #fff}.md-editor-dark article.github-theme{--md-theme-heading-bg-color: #22272e}.github-theme img{max-width:100%;box-sizing:content-box;background-color:var(--md-theme-heading-bg-color)}.github-theme a{color:#539bf5}.github-theme a:hover{text-decoration:underline}.github-theme ol,.github-theme ul{padding-left:2em}.github-theme ol li+li,.github-theme ul li+li{margin-top:.25em}.github-theme p:empty{display:none}.md-editor article.github-theme{--md-theme-quote-color: #57606a;--md-theme-quote-border-color: #d0d7de}.md-editor-dark article.github-theme{--md-theme-quote-color: #8b949e;--md-theme-quote-border-color: #444c56}.github-theme blockquote{padding:0 1em;color:var(--md-theme-quote-color);border-left:.25em solid var(--md-theme-quote-border-color)}.md-editor article.github-theme{--md-theme-table-stripe-color: #f7f8fa;--md-theme-table-tr-bg-color: #fff;--md-theme-table-tr-border-color: #d8dee4;--md-theme-table-td-border-color: #d0d7de}.md-editor-dark article.github-theme{--md-theme-table-stripe-color: #161b22;--md-theme-table-tr-bg-color: transparent;--md-theme-table-tr-border-color: #808080;--md-theme-table-td-border-color: #30363d}.github-theme table{display:block;max-width:100%;overflow:auto;border-spacing:0;border-collapse:collapse}.github-theme table tr{background-color:var(--md-theme-table-tr-bg-color);border-top:1px solid var(--md-theme-table-tr-border-color)}.github-theme table tr th,.github-theme table tr td{padding:6px 13px;border:1px solid var(--md-theme-table-td-border-color)}.github-theme table tr:nth-child(2n){background-color:var(--md-theme-table-stripe-color)}.md-editor .github-theme{--md-theme-color: #222}.md-editor-dark .github-theme{--md-theme-color: #c9d1d9}.github-theme{line-height:1.5;color:var(--md-theme-color)}.github-theme ::-webkit-scrollbar{width:6px;height:6px}.github-theme ::-webkit-scrollbar-corner,.github-theme ::-webkit-scrollbar-track{background-color:var(--md-theme-bg-color-scrollbar-track);border-radius:2px}.github-theme ::-webkit-scrollbar-thumb{border-radius:2px;background-color:var(--md-theme-bg-color-scrollbar-thumb)}.github-theme ::-webkit-scrollbar-button:vertical{display:none}.github-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:var(--md-theme-bg-color-scrollbar-thumb-hover)}.github-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:var(--md-theme-bg-color-scrollbar-thumb-active)}.github-theme h1,.github-theme h2,.github-theme h3,.github-theme h4,.github-theme h5,.github-theme h6{position:relative;word-break:break-all}.github-theme h1 a,.github-theme h2 a,.github-theme h3 a,.github-theme h4 a,.github-theme h5 a,.github-theme h6 a,.github-theme h1 a:hover,.github-theme h2 a:hover,.github-theme h3 a:hover,.github-theme h4 a:hover,.github-theme h5 a:hover,.github-theme h6 a:hover{color:inherit}.github-theme ol>li{list-style:decimal}.github-theme ul>li{list-style:disc}.github-theme ol .task-list-item,.github-theme ul .task-list-item{list-style-type:none}.github-theme ol .task-list-item input,.github-theme ul .task-list-item input{margin-left:-1.5em;margin-right:.1em}.github-theme a{text-decoration:none}.github-theme pre,.github-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px}.github-theme pre{margin:20px 0}.github-theme pre code{display:block;line-height:1;overflow:auto}.github-theme pre code .code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom}.github-theme pre code[language]:before{content:attr(language);font-size:12px;position:absolute;top:11px;right:40px;line-height:1;z-index:1}.github-theme .copy-button{color:var(--md-theme-code-block-color);position:absolute;font-size:12px;top:5px;right:7px;line-height:1;cursor:pointer;z-index:1}.github-theme .copy-button:before{content:attr(data-tips);color:var(--md-theme-code-copy-tips-color);background-color:var(--md-theme-code-copy-tips-bg-color);position:absolute;font-size:12px;font-family:sans-serif;width:max-content;text-align:center;padding:4px;border-radius:2px;box-shadow:0 0 2px #0003;left:0;top:50%;transform:translate(-100%,-50%)}.github-theme .copy-button:after{content:"";color:var(--md-theme-code-copy-tips-bg-color);position:absolute;width:0;height:0;border:5px solid rgba(0,0,0,0);border-right-width:0;border-left-color:currentColor;left:-2px;top:50%;transform:translateY(-50%);filter:drop-shadow(4px 0 2px rgba(0,0,0,.2))}.github-theme .copy-button:before,.github-theme .copy-button:after{visibility:hidden;transition:.3s}.github-theme .copy-button:hover:before,.github-theme .copy-button:hover:after{visibility:visible}.github-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid var(--md-theme-border-color)}.github-theme figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.github-theme figure figcaption{color:var(--md-theme-color);font-size:.875em;margin-top:5px}.github-theme .md-editor-mermaid{line-height:1}.github-theme p,.github-theme blockquote,.github-theme ul,.github-theme ol,.github-theme dl,.github-theme table,.github-theme pre,.github-theme details{margin-top:0;margin-bottom:16px}.cyanosis-theme code{padding:.065em .4em;font-family:Menlo,Monaco,Consolas,Courier New,monospace;color:var(--md-theme-code-color);overflow-x:auto;background-color:var(--md-theme-code-bg-color);border-radius:2px}.cyanosis-theme code::selection{background-color:var(--md-theme-slct-codebg-color)}.cyanosis-theme pre{font-family:Menlo,Monaco,Consolas,Courier New,monospace;position:relative}.cyanosis-theme pre code{padding:22px 12px;margin:0;color:var(--md-theme-base-color);word-break:normal;overflow-x:auto;background:var(--md-theme-code-block-bg-color)}.cyanosis-theme pre code::selection{background-color:var(--md-theme-slct-prebg-color)}.cyanosis-theme pre code>*{line-height:1.75}.cyanosis-theme pre code::-webkit-scrollbar{width:4px;height:4px}.cyanosis-theme pre code::-webkit-scrollbar-track{background-color:var(--md-theme-border-color)}.cyanosis-theme pre code::-webkit-scrollbar-thumb{background-color:var(--md-theme-strong-color);border-radius:10px}.cyanosis-theme pre code span[rn-wrapper]{top:22px}.cyanosis-theme pre .copy-button{color:var(--md-theme-base-color)}.cyanosis-theme h1{padding-bottom:4px;margin-top:36px;margin-bottom:10px;font-size:30px;line-height:1.5;color:var(--cyanosis-theme-title-color);transition:color .35s}.cyanosis-theme h2{position:relative;padding-left:10px;padding-right:10px;padding-bottom:10px;margin-top:36px;margin-bottom:10px;font-size:24px;line-height:1.5;color:var(--cyanosis-theme-title-color);border-bottom:1px solid var(--md-theme-border-color-2);transition:color .35s}.cyanosis-theme h2:before{content:"\300c";position:absolute;top:-6px;left:-14px}.cyanosis-theme h2:after{content:"\300d";position:relative;top:6px;right:auto}.cyanosis-theme h3{position:relative;padding-bottom:0;margin-top:30px;margin-bottom:10px;font-size:20px;line-height:1.5;color:var(--cyanosis-theme-title-color);padding-left:6px;transition:color .35s}.cyanosis-theme h3:before{content:"\bb";padding-right:6px;color:var(--md-theme-strong-color)}.cyanosis-theme h4{padding-bottom:0;margin-top:24px;margin-bottom:10px;font-size:16px;line-height:1.5;color:var(--cyanosis-theme-title-color);padding-left:6px;transition:color .35s}.cyanosis-theme h5{padding-bottom:0;margin-top:18px;margin-bottom:10px;font-size:14px;line-height:1.5;color:var(--cyanosis-theme-title-color);padding-left:6px;transition:color .35s}.cyanosis-theme h6{padding-bottom:0;margin-top:12px;margin-bottom:10px;font-size:12px;line-height:1.5;color:var(--cyanosis-theme-title-color);padding-left:6px;transition:color .35s}.cyanosis-theme h1::selection,.cyanosis-theme h2::selection,.cyanosis-theme h3::selection,.cyanosis-theme h4::selection,.cyanosis-theme h5::selection,.cyanosis-theme h6::selection{color:var(--md-theme-slct-title-color);background-color:var(--md-theme-slct-titlebg-color)}@media (max-width: 720px){.cyanosis-theme h1{font-size:24px}.cyanosis-theme h2{font-size:20px}.cyanosis-theme h3{font-size:18px}}.cyanosis-theme img{max-width:100%}.cyanosis-theme a{position:relative;display:inline-block;text-decoration:none;color:var(--md-theme-link-color);border-bottom:1px solid var(--md-theme-border-color)}.cyanosis-theme a:hover{color:var(--md-theme-linkh-color);border-bottom-color:var(--md-theme-linkh-color)}.cyanosis-theme a:active{color:var(--md-theme-linkh-color)}.cyanosis-theme a:after{position:absolute;content:"";top:100%;left:0;width:100%;opacity:0;border-bottom:1px solid var(--md-theme-border-color);transition:top .3s,opacity .3s;transform:translateZ(0)}.cyanosis-theme a:hover:after{top:0;opacity:1;border-bottom-color:var(--md-theme-linkh-color)}.cyanosis-theme ol,.cyanosis-theme ul{padding-left:28px}.cyanosis-theme ol li,.cyanosis-theme ul li{margin-bottom:0;list-style:inherit}.cyanosis-theme ol li .task-list-item,.cyanosis-theme ul li .task-list-item{list-style:none}.cyanosis-theme ol li .task-list-item ul,.cyanosis-theme ol li .task-list-item ol,.cyanosis-theme ul li .task-list-item ul,.cyanosis-theme ul li .task-list-item ol{margin-top:0}.cyanosis-theme ol ul,.cyanosis-theme ol ol,.cyanosis-theme ul ul,.cyanosis-theme ul ol{margin-top:4px}.cyanosis-theme ol li{padding-left:6px}.cyanosis-theme ol li::selection,.cyanosis-theme ul li::selection{color:var(--md-theme-slct-text-color);background-color:var(--md-theme-slct-bg-color)}.cyanosis-theme p{line-height:inherit;margin-top:16px;margin-bottom:16px}.cyanosis-theme p::selection{color:var(--md-theme-slct-text-color);background-color:var(--md-theme-slct-bg-color)}.cyanosis-theme blockquote{color:var(--md-theme-blockquote-color);border-left:4px solid var(--md-theme-strong-color);background-color:var(--md-theme-blockquote-bg-color);padding:1px 20px;margin:22px 0;transition:color .35s}.cyanosis-theme blockquote:after{display:block;content:""}.cyanosis-theme blockquote>p{margin:10px 0}.cyanosis-theme blockquote>b,.cyanosis-theme blockquote>strong{color:var(--md-theme-strong-color)}.cyanosis-theme table{display:inline-block!important;width:auto;max-width:100%;overflow:auto;border:1px solid var(--md-theme-table-border-color);border-spacing:0;border-collapse:collapse}.cyanosis-theme table thead{color:#000;text-align:left;background:#f6f6f6}.cyanosis-theme table tr:nth-child(2n){background-color:var(--md-theme-table-tr-nc-color)}.cyanosis-theme table tr:hover{background-color:var(--md-theme-table-trh-color)}.cyanosis-theme table th,.cyanosis-theme table td{padding:12px 8px;line-height:24px;border:1px solid var(--md-theme-table-border-color)}.cyanosis-theme table th{color:var(--md-theme-table-tht-color);background-color:var(--md-theme-table-th-color)}.cyanosis-theme table td{min-width:120px}.cyanosis-theme table thead th::selection{background-color:#0000}.cyanosis-theme table tbody td::selection{background-color:var(--md-theme-slct-bg-color)}.md-editor .cyanosis-theme{--md-theme-base-color:#353535;--md-theme-title-color:#005bb7;--md-theme-strong-color:#2196f3;--md-theme-em-color:#4fc3f7;--md-theme-del-color:#ccc;--md-theme-link-color:#3da8f5;--md-theme-linkh-color:#007fff;--md-theme-border-color:#bedcff;--md-theme-border-color-2:#ececec;--md-theme-bg-color:#fff;--md-theme-blockquote-color:#8c8c8c;--md-theme-blockquote-bg-color:#f0fdff;--md-theme-code-color:#c2185b;--md-theme-code-bg-color:#fff4f4;--md-theme-code-block-bg-color:#f8f8f8;--md-theme-table-border-color:#c3e0fd;--md-theme-table-th-color:#dff0ff;--md-theme-table-tht-color:#005bb7;--md-theme-table-tr-nc-color:#f7fbff;--md-theme-table-trh-color:#e0edf7;--md-theme-slct-title-color:#005bb7;--md-theme-slct-titlebg-color:rgba(175,207,247,.25);--md-theme-slct-text-color:#c80000;--md-theme-slct-bg-color:rgba(175,207,247,.25);--md-theme-slct-del-color:#999;--md-theme-slct-elbg-color:#e8ebec;--md-theme-slct-codebg-color:#ffeaeb;--md-theme-slct-prebg-color:rgba(160,200,255,.25)}.md-editor-dark .cyanosis-theme{--md-theme-base-color:#cacaca;--md-theme-title-color:#ddd;--md-theme-strong-color:#fe9900;--md-theme-em-color:#ffd28e;--md-theme-del-color:#ccc;--md-theme-link-color:#ffb648;--md-theme-linkh-color:#fe9900;--md-theme-border-color:#ffe3ba;--md-theme-border-color-2:#ffcb7b;--md-theme-bg-color:#2f2f2f;--md-theme-blockquote-color:#c7c7c7;--md-theme-blockquote-bg-color:rgba(255,199,116,.1);--md-theme-code-color:#000;--md-theme-code-bg-color:#ffcb7b;--md-theme-code-block-bg-color:rgba(30,25,18,.5);--md-theme-table-border-color:#fe9900;--md-theme-table-th-color:#ffb648;--md-theme-table-tht-color:#000;--md-theme-table-tr-nc-color:#6d5736;--md-theme-table-trh-color:#947443;--md-theme-slct-title-color:#000;--md-theme-slct-titlebg-color:#fe9900;--md-theme-slct-text-color:#00c888;--md-theme-slct-bg-color:rgba(175,207,247,.25);--md-theme-slct-del-color:#999;--md-theme-slct-elbg-color:#000;--md-theme-slct-codebg-color:#ffcb7b;--md-theme-slct-prebg-color:rgba(160,200,255,.25)}.cyanosis-theme{color:var(--md-theme-color);word-break:break-word;line-height:1.75;font-weight:400;overflow-x:hidden;color:var(--md-theme-base-color);transition:color .35s}.cyanosis-theme ::-webkit-scrollbar{width:6px;height:6px}.cyanosis-theme ::-webkit-scrollbar-corner,.cyanosis-theme ::-webkit-scrollbar-track{background-color:var(--md-theme-bg-color-scrollbar-track);border-radius:2px}.cyanosis-theme ::-webkit-scrollbar-thumb{border-radius:2px;background-color:var(--md-theme-bg-color-scrollbar-thumb)}.cyanosis-theme ::-webkit-scrollbar-button:vertical{display:none}.cyanosis-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:var(--md-theme-bg-color-scrollbar-thumb-hover)}.cyanosis-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:var(--md-theme-bg-color-scrollbar-thumb-active)}.cyanosis-theme h1,.cyanosis-theme h2,.cyanosis-theme h3,.cyanosis-theme h4,.cyanosis-theme h5,.cyanosis-theme h6{position:relative;word-break:break-all}.cyanosis-theme h1 a,.cyanosis-theme h2 a,.cyanosis-theme h3 a,.cyanosis-theme h4 a,.cyanosis-theme h5 a,.cyanosis-theme h6 a,.cyanosis-theme h1 a:hover,.cyanosis-theme h2 a:hover,.cyanosis-theme h3 a:hover,.cyanosis-theme h4 a:hover,.cyanosis-theme h5 a:hover,.cyanosis-theme h6 a:hover{color:inherit}.cyanosis-theme ol>li{list-style:decimal}.cyanosis-theme ul>li{list-style:disc}.cyanosis-theme ol .task-list-item,.cyanosis-theme ul .task-list-item{list-style-type:none}.cyanosis-theme ol .task-list-item input,.cyanosis-theme ul .task-list-item input{margin-left:-1.5em;margin-right:.1em}.cyanosis-theme a{text-decoration:none}.cyanosis-theme pre,.cyanosis-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px}.cyanosis-theme pre{margin:20px 0}.cyanosis-theme pre code{display:block;line-height:1;overflow:auto}.cyanosis-theme pre code .code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom}.cyanosis-theme pre code[language]:before{content:attr(language);font-size:12px;position:absolute;top:11px;right:40px;line-height:1;z-index:1}.cyanosis-theme .copy-button{color:var(--md-theme-code-block-color);position:absolute;font-size:12px;top:5px;right:7px;line-height:1;cursor:pointer;z-index:1}.cyanosis-theme .copy-button:before{content:attr(data-tips);color:var(--md-theme-code-copy-tips-color);background-color:var(--md-theme-code-copy-tips-bg-color);position:absolute;font-size:12px;font-family:sans-serif;width:max-content;text-align:center;padding:4px;border-radius:2px;box-shadow:0 0 2px #0003;left:0;top:50%;transform:translate(-100%,-50%)}.cyanosis-theme .copy-button:after{content:"";color:var(--md-theme-code-copy-tips-bg-color);position:absolute;width:0;height:0;border:5px solid rgba(0,0,0,0);border-right-width:0;border-left-color:currentColor;left:-2px;top:50%;transform:translateY(-50%);filter:drop-shadow(4px 0 2px rgba(0,0,0,.2))}.cyanosis-theme .copy-button:before,.cyanosis-theme .copy-button:after{visibility:hidden;transition:.3s}.cyanosis-theme .copy-button:hover:before,.cyanosis-theme .copy-button:hover:after{visibility:visible}.cyanosis-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid var(--md-theme-border-color)}.cyanosis-theme figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.cyanosis-theme figure figcaption{color:var(--md-theme-color);font-size:.875em;margin-top:5px}.cyanosis-theme .md-editor-mermaid{line-height:1}.cyanosis-theme hr{position:relative;width:98%;height:1px;margin-top:32px;margin-bottom:32px;background-image:linear-gradient(90deg,var(--md-theme-link-color),rgba(255,0,0,.3),rgba(37,163,65,.3),rgba(255,0,0,.3),var(--md-theme-link-color));border-width:0;overflow:visible}.cyanosis-theme b,.cyanosis-theme strong{color:var(--md-theme-strong-color)}.cyanosis-theme i,.cyanosis-theme em{color:var(--md-theme-em-color)}.cyanosis-theme del{color:var(--md-theme-del-color)}.cyanosis-theme details>summary{outline:none;color:var(--md-theme-title-color);font-size:20px;font-weight:bolder;border-bottom:1px solid var(--md-theme-border-color);cursor:pointer}.cyanosis-theme details>p{padding:10px 20px;margin:10px 0 0;color:#666;background-color:var(--md-theme-blockquote-bg-color);border:2px dashed var(--md-theme-strong-color)}.cyanosis-theme a::selection,.cyanosis-theme b::selection,.cyanosis-theme strong::selection,.cyanosis-theme i::selection,.cyanosis-theme em::selection{background-color:var(--md-theme-slct-elbg-color)}.cyanosis-theme del::selection{color:var(--md-theme-slct-del-color);background-color:var(--md-theme-slct-elbg-color)}.md-editor article.mk-cute-theme{--md-theme-code-inline-color: #4ec9b0;--md-theme-code-inline-bg-color: #282c34;--md-theme-code-block-color: #4ec9b0;--md-theme-code-block-bg-color: #282c34}.md-editor-dark article.mk-cute-theme{--md-theme-code-inline-color: #4ec9b0;--md-theme-code-inline-bg-color: #282c34;--md-theme-code-block-color: #4ec9b0;--md-theme-code-block-bg-color: #282c34}.mk-cute-theme code{font-family:Menlo,Monaco,Consolas,Courier New,monospace;border-radius:2px;overflow-x:auto;background-color:var(--md-theme-code-block-bg-color);color:var(--md-theme-code-inline-color);padding:.14em .46em;margin:0 4px}.mk-cute-theme pre{position:relative}.mk-cute-theme pre code{font-family:Menlo,Monaco,Consolas,Courier New,monospace;border-radius:10px;padding:22px;margin:0;word-break:normal;display:block;overflow-x:auto;color:var(--md-theme-code-block-color);background:var(--md-theme-code-block-bg-color)}.mk-cute-theme pre code>*{line-height:1.75}.mk-cute-theme pre code span[rn-wrapper]{top:22px}.mk-cute-theme .code-tabs{border-radius:10px}.mk-cute-theme .code-tabs ul{border-top-left-radius:10px;border-top-right-radius:10px}.mk-cute-theme h1,.mk-cute-theme h2,.mk-cute-theme h3,.mk-cute-theme h4,.mk-cute-theme h5,.mk-cute-theme h6{color:#36ace1}.mk-cute-theme h1:before,.mk-cute-theme h2:before,.mk-cute-theme h3:before,.mk-cute-theme h4:before,.mk-cute-theme h5:before,.mk-cute-theme h6:before{content:"";display:block;position:absolute;left:0;top:0;bottom:0;margin:auto;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAF8UlEQVRIS71Wa2wUVRT+7r0zu9t2t/RBaSioPCpYbIUfaEIQUogSAwZDAlUSGwgg/CBATExMCJH1D2hIfOEjFEUEhViCgBgIUCH44OkjPAMGBVqhpUCfW3Zn5z7MuQOE0hYxMdxJdmd25s53vnO+851leMCLPWA8/CfA2TsvL8n7q+nTFfNLG+4VqInHOeJLDQMzdz/3r4DGGDb9lxu+aPcE7U61JHDMDePcuv0O21ShugOefqDdtBie3Dk6K/O+Ab+qOjJiz7Ahv6c8hbDDwRiQlgYGDOcaWyEcjg8On+j71IpJndjGt9XO+jM7+pkywNvbazIfercieSdoJ4bE5sWjyZqMpDdeaQNXMNC34ME3LV8B56+1w3AOgk+EXe/Ub6uiLB6XdH/G/mYjeBCcFwnt3zQqWt4t4NjjnhzQ1CGkBhwOCMFAB71U0qsYgRlwBtQ1tiEJAy44OBdQUmFK3aWS06NLT+ukZAQoKCCjsfbDmk6p78RwX3ncWffmIj8U4kh6GpEwh+9rGy23LDU4GBrrm9DsuDYIGMAYIC/EUNQ7Cq1hn+WM2TI8f+jEyCmvjfn1FssuojHx6tDkyZOaCzr8TNpASzDAk8amlRIrEylcSGsYrcGIstIYWhgDDIM2BiGH3ywFkGAC1U9n38bpVqWGdk6r4HMWrZZaG1D5KLn0qYyBEAKnG1otAxLR8L7Z9nfP13CJHQ/ST4vK8sVHe8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os3ZLOlrZBmNQf1ybVqpxhbA7mRIOCy1+esDOWhIyDv/+3Q7LRbsqH+rKRJ+nba+/+WW7II1s9vvVBuNr7KNF1WUM1bSt5f1Vq01jUVkKfnx8uoti3Or5rbd9782M61azJz/rFywYU/OyKqK1p5G2MS1Z18tGFDwTkvIxcK9RwaMP3a9/tbc62lPj/Nw5B9ey9Ehy/MY4oEqelgNleuyCgdXJlmc3fO5Ll56r5f+n/f+AWFf9jvBgaHpAAAAAElFTkSuQmCC);animation:spin 2s linear 1s infinite}.mk-cute-theme h1{position:relative;font-size:30px;padding:12px 38px;margin:30px 0}.mk-cute-theme h1:before{width:30px;height:30px;background-size:30px 30px}.mk-cute-theme h2{position:relative;font-size:24px;padding:12px 36px;margin:28px 0}.mk-cute-theme h2:before{width:28px;height:28px;background-size:28px 28px}.mk-cute-theme h3{position:relative;font-size:18px;padding:4px 32px;margin:26px 0}.mk-cute-theme h3:before{width:24px;height:24px;background-size:24px 24px}.mk-cute-theme h4{position:relative;padding:4px 28px;font-size:16px;margin:22px 0}.mk-cute-theme h4:before{width:20px;height:20px;background-size:20px 20px}.mk-cute-theme h5{position:relative;padding:4px 26px;font-size:15px;margin:20px 0}.mk-cute-theme h5:before{width:18px;height:18px;background-size:18px 18px}.mk-cute-theme h6{position:relative;padding:4px 22px;font-size:14px;margin:16px 0}.mk-cute-theme h6:before{width:16px;height:16px;background-size:16px 16px}@media (max-width: 720px){.mk-cute-theme h1{font-size:24px}.mk-cute-theme h2{font-size:20px}.mk-cute-theme h3{font-size:18px}}.mk-cute-theme img{max-width:100%}.mk-cute-theme a{display:inline-block;text-decoration:none;color:#409eff;border-bottom:1px solid #409eff}.mk-cute-theme a:hover,.mk-cute-theme a:active{color:#007bff;border-bottom:1px solid #007bff}.mk-cute-theme ol,.mk-cute-theme ul{padding-left:28px}.mk-cute-theme ol li,.mk-cute-theme ul li{margin-bottom:0;list-style:inherit}.mk-cute-theme ol li .task-list-item,.mk-cute-theme ul li .task-list-item{list-style:none}.mk-cute-theme ol li .task-list-item ul,.mk-cute-theme ol li .task-list-item ol,.mk-cute-theme ul li .task-list-item ul,.mk-cute-theme ul li .task-list-item ol{margin-top:0}.mk-cute-theme ol ul,.mk-cute-theme ol ol,.mk-cute-theme ul ul,.mk-cute-theme ul ol{margin-top:3px}.mk-cute-theme ol li{padding-left:6px}.mk-cute-theme p{line-height:inherit;margin-top:22px;margin-bottom:22px}.mk-cute-theme p:empty{display:none}.md-editor article.mk-cute-theme{--md-theme-quote-color: #fff;--md-theme-quote-border-color: #409eff;--md-theme-quote-bg-color: rgba(54, 172, 225, .75)}.md-editor-dark article.mk-cute-theme{--md-theme-quote-color: inherit;--md-theme-quote-border-color: #265d97;--md-theme-quote-bg-color: rgba(18, 80, 108, .75)}.mk-cute-theme blockquote{position:relative;padding:8px 26px;background-color:var(--md-theme-quote-bg-color);margin:16px 0;border-left:4px solid var(--md-theme-quote-border-color);border-radius:5px}.mk-cute-theme blockquote:before{content:"\275d";top:10px;left:8px;color:#409eff;font-size:20px;line-height:1;font-weight:700;position:absolute;opacity:.7}.mk-cute-theme blockquote:after{content:"\275e";font-size:20px;position:absolute;right:8px;bottom:0;color:#409eff;opacity:.7}.mk-cute-theme blockquote>p,.mk-cute-theme blockquote ul li,.mk-cute-theme blockquote ol li{color:var(--md-theme-quote-color)}.md-editor article.mk-cute-theme{--md-theme-table-color: #000;--md-theme-table-border-color: #f6f6f6;--md-theme-table-thead-bg-color: #f6f6f6;--md-theme-table-stripe-color: #fcfcfc}.md-editor-dark article.mk-cute-theme{--md-theme-table-color: inherit;--md-theme-table-border-color: #1c1c1c;--md-theme-table-thead-bg-color: rgba(28, 28, 28, .631372549);--md-theme-table-stripe-color: rgba(28, 28, 28, .631372549)}.mk-cute-theme table{display:inline-block;width:auto;max-width:100%;overflow:auto;border:solid 1px var(--md-theme-table-border-color)}.mk-cute-theme thead{background-color:var(--md-theme-table-thead-bg-color);color:var(--md-theme-table-color);text-align:left}.mk-cute-theme tr:nth-child(2n){background-color:var(--md-theme-table-stripe-color)}.mk-cute-theme th,.mk-cute-theme td{padding:12px 7px;line-height:24px}.mk-cute-theme td{min-width:120px}.mk-cute-theme blockquote table tr{background-color:var(--md-theme-table-stripe-color)}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.md-editor .mk-cute-theme{background-image:linear-gradient(90deg,rgba(50,58,66,.25) 3%,rgba(0,0,0,0) 3%),linear-gradient(360deg,rgba(50,58,66,.25) 3%,rgba(0,0,0,0) 3%)}.md-editor-dark .mk-cute-theme{background-image:linear-gradient(90deg,rgba(217,234,251,.25) 3%,rgba(0,0,0,0) 3%),linear-gradient(360deg,rgba(217,234,251,.25) 3%,rgba(0,0,0,0) 3%);--md-theme-bg-color-scrollbar-thumb: #4d4d4d}.mk-cute-theme{color:var(--md-theme-color);word-break:break-word;line-height:1.75;font-weight:400;overflow-x:hidden;color:#36ace1;background-size:20px 20px;background-position:center center}.mk-cute-theme ::-webkit-scrollbar{width:6px;height:6px}.mk-cute-theme ::-webkit-scrollbar-corner,.mk-cute-theme ::-webkit-scrollbar-track{background-color:var(--md-theme-bg-color-scrollbar-track);border-radius:2px}.mk-cute-theme ::-webkit-scrollbar-thumb{border-radius:2px;background-color:var(--md-theme-bg-color-scrollbar-thumb)}.mk-cute-theme ::-webkit-scrollbar-button:vertical{display:none}.mk-cute-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:var(--md-theme-bg-color-scrollbar-thumb-hover)}.mk-cute-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:var(--md-theme-bg-color-scrollbar-thumb-active)}.mk-cute-theme h1,.mk-cute-theme h2,.mk-cute-theme h3,.mk-cute-theme h4,.mk-cute-theme h5,.mk-cute-theme h6{position:relative;word-break:break-all}.mk-cute-theme h1 a,.mk-cute-theme h2 a,.mk-cute-theme h3 a,.mk-cute-theme h4 a,.mk-cute-theme h5 a,.mk-cute-theme h6 a,.mk-cute-theme h1 a:hover,.mk-cute-theme h2 a:hover,.mk-cute-theme h3 a:hover,.mk-cute-theme h4 a:hover,.mk-cute-theme h5 a:hover,.mk-cute-theme h6 a:hover{color:inherit}.mk-cute-theme ol>li{list-style:decimal}.mk-cute-theme ul>li{list-style:disc}.mk-cute-theme ol .task-list-item,.mk-cute-theme ul .task-list-item{list-style-type:none}.mk-cute-theme ol .task-list-item input,.mk-cute-theme ul .task-list-item input{margin-left:-1.5em;margin-right:.1em}.mk-cute-theme a{text-decoration:none}.mk-cute-theme pre,.mk-cute-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px}.mk-cute-theme pre{margin:20px 0}.mk-cute-theme pre code{display:block;line-height:1;overflow:auto}.mk-cute-theme pre code .code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom}.mk-cute-theme pre code[language]:before{content:attr(language);font-size:12px;position:absolute;top:11px;right:40px;line-height:1;z-index:1}.mk-cute-theme .copy-button{color:var(--md-theme-code-block-color);position:absolute;font-size:12px;top:5px;right:7px;line-height:1;cursor:pointer;z-index:1}.mk-cute-theme .copy-button:before{content:attr(data-tips);color:var(--md-theme-code-copy-tips-color);background-color:var(--md-theme-code-copy-tips-bg-color);position:absolute;font-size:12px;font-family:sans-serif;width:max-content;text-align:center;padding:4px;border-radius:2px;box-shadow:0 0 2px #0003;left:0;top:50%;transform:translate(-100%,-50%)}.mk-cute-theme .copy-button:after{content:"";color:var(--md-theme-code-copy-tips-bg-color);position:absolute;width:0;height:0;border:5px solid rgba(0,0,0,0);border-right-width:0;border-left-color:currentColor;left:-2px;top:50%;transform:translateY(-50%);filter:drop-shadow(4px 0 2px rgba(0,0,0,.2))}.mk-cute-theme .copy-button:before,.mk-cute-theme .copy-button:after{visibility:hidden;transition:.3s}.mk-cute-theme .copy-button:hover:before,.mk-cute-theme .copy-button:hover:after{visibility:visible}.mk-cute-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid var(--md-theme-border-color)}.mk-cute-theme figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.mk-cute-theme figure figcaption{color:var(--md-theme-color);font-size:.875em;margin-top:5px}.mk-cute-theme .md-editor-mermaid{line-height:1}.mk-cute-theme hr{position:relative;width:98%;height:1px;border:none;margin-top:32px;margin-bottom:32px;background-image:linear-gradient(to right,#36ace1,#dff0fe,#36ace1);overflow:visible}.mk-cute-theme del{color:#36ace1}.md-editor article.smart-blue-theme{--md-theme-code-inline-color: #d63200;--md-theme-code-inline-bg-color: #fff5f5;--md-theme-code-block-color: #333;--md-theme-code-block-bg-color: #f8f8f8}.md-editor-dark article.smart-blue-theme{--md-theme-code-inline-color: #e06c75;--md-theme-code-inline-bg-color: #1a1a1a;--md-theme-code-block-color: #999;--md-theme-code-block-bg-color: #1a1a1a}.smart-blue-theme pre{position:relative}.smart-blue-theme pre code{padding:22px 12px;margin:0;word-break:normal;display:block;overflow-x:auto;color:var(--md-theme-code-block-color);background-color:var(--md-theme-code-block-bg-color)}.smart-blue-theme pre code>*{line-height:1.6}.smart-blue-theme pre code span[rn-wrapper]{top:22px}.smart-blue-theme code{border-radius:2px;overflow-x:auto;background-color:var(--md-theme-code-inline-bg-color);color:#ff502c;padding:.065em .4em}.smart-blue-theme pre,.smart-blue-theme code{line-height:1.75;font-family:Menlo,Monaco,Consolas,Courier New,monospace}.md-editor article.smart-blue-theme{--md-theme-heading-color: #135ce0}.md-editor-dark article.smart-blue-theme{--md-theme-heading-color: #3a73dd}.smart-blue-theme h1,.smart-blue-theme h2,.smart-blue-theme h3,.smart-blue-theme h4,.smart-blue-theme h5,.smart-blue-theme h6{padding:30px 0;margin:0;color:var(--md-theme-heading-color)}.smart-blue-theme h1 a,.smart-blue-theme h2 a,.smart-blue-theme h3 a,.smart-blue-theme h4 a,.smart-blue-theme h5 a,.smart-blue-theme h6 a{border:none}.smart-blue-theme h1{position:relative;text-align:center;font-size:22px;margin:50px 0}.smart-blue-theme h2{position:relative;font-size:20px;border-left:4px solid;padding:0 0 0 10px;margin:30px 0}.smart-blue-theme h3{font-size:16px}.smart-blue-theme img{max-width:100%;margin:0 auto;display:block}.md-editor article.smart-blue-theme{--md-theme-link-color: #036aca}.md-editor-dark article.smart-blue-theme{--md-theme-link-color: #2d7dc7}.smart-blue-theme a{color:var(--md-theme-link-color);font-weight:400;text-decoration:none}.smart-blue-theme ul,.smart-blue-theme ol{margin-top:1em;padding-left:1.6em}.smart-blue-theme ul{list-style:disc outside}.smart-blue-theme li{line-height:2;margin-bottom:0;list-style:inherit}.smart-blue-theme p{line-height:2;font-weight:400}.smart-blue-theme *+p{margin-top:16px}.md-editor article.smart-blue-theme{--md-theme-quote-color: #666;--md-theme-quote-bg-color: #fff9f9;--md-theme-quote-border-color: #b2aec5}.md-editor-dark article.smart-blue-theme{--md-theme-quote-color: #999;--md-theme-quote-bg-color: #2a2a2a;--md-theme-quote-border-color: #0063bb}.smart-blue-theme blockquote{background-color:var(--md-theme-quote-bg-color);margin:2em 0;padding:2px 20px;border-left:4px solid var(--md-theme-quote-border-color)}.smart-blue-theme blockquote p{color:var(--md-theme-quote-color);line-height:2}.md-editor article.smart-blue-theme{--md-theme-table-border-color: #dfe2e5;--md-theme-table-bg-color: #f6f8fa}.md-editor-dark article.smart-blue-theme{--md-theme-table-border-color: #2d2d2d;--md-theme-table-bg-color: #0c0c0c}.smart-blue-theme table{border-collapse:collapse;margin:1rem 0;overflow-x:auto}.smart-blue-theme table tr{border-top:1px solid var(--md-theme-table-border-color)}.smart-blue-theme table tr:nth-child(2n){background-color:var(--md-theme-table-bg-color)}.smart-blue-theme table tr th,.smart-blue-theme table tr td{border:1px solid var(--md-theme-table-border-color);padding:.6em 1em}.smart-blue-theme blockquote table{line-height:initial}.smart-blue-theme blockquote table tr th,.smart-blue-theme blockquote table tr td{border-color:var(--md-theme-border-color-inset)}.smart-blue-theme blockquote table tbody tr:nth-child(n){background-color:inherit}.md-editor .smart-blue-theme{--md-theme-color: #595959}.md-editor .smart-blue-theme{background-image:linear-gradient(90deg,rgba(60,10,30,.04) 3%,rgba(0,0,0,0) 3%),linear-gradient(360deg,rgba(60,10,30,.04) 3%,rgba(0,0,0,0) 3%)}.md-editor-dark .smart-blue-theme{--md-theme-color: #999}.md-editor-dark .smart-blue-theme{background-image:linear-gradient(90deg,rgba(207,207,207,.04) 3%,rgba(255,255,255,0) 3%),linear-gradient(360deg,rgba(207,207,207,.04) 3%,rgba(255,255,255,0) 3%)}.smart-blue-theme{color:var(--md-theme-color);font-family:-apple-system,system-ui,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif;background-size:20px 20px;background-position:center center}.smart-blue-theme ::-webkit-scrollbar{width:6px;height:6px}.smart-blue-theme ::-webkit-scrollbar-corner,.smart-blue-theme ::-webkit-scrollbar-track{background-color:var(--md-theme-bg-color-scrollbar-track);border-radius:2px}.smart-blue-theme ::-webkit-scrollbar-thumb{border-radius:2px;background-color:var(--md-theme-bg-color-scrollbar-thumb)}.smart-blue-theme ::-webkit-scrollbar-button:vertical{display:none}.smart-blue-theme ::-webkit-scrollbar-thumb:vertical:hover{background-color:var(--md-theme-bg-color-scrollbar-thumb-hover)}.smart-blue-theme ::-webkit-scrollbar-thumb:vertical:active{background-color:var(--md-theme-bg-color-scrollbar-thumb-active)}.smart-blue-theme h1,.smart-blue-theme h2,.smart-blue-theme h3,.smart-blue-theme h4,.smart-blue-theme h5,.smart-blue-theme h6{position:relative;word-break:break-all}.smart-blue-theme h1 a,.smart-blue-theme h2 a,.smart-blue-theme h3 a,.smart-blue-theme h4 a,.smart-blue-theme h5 a,.smart-blue-theme h6 a,.smart-blue-theme h1 a:hover,.smart-blue-theme h2 a:hover,.smart-blue-theme h3 a:hover,.smart-blue-theme h4 a:hover,.smart-blue-theme h5 a:hover,.smart-blue-theme h6 a:hover{color:inherit}.smart-blue-theme ol>li{list-style:decimal}.smart-blue-theme ul>li{list-style:disc}.smart-blue-theme ol .task-list-item,.smart-blue-theme ul .task-list-item{list-style-type:none}.smart-blue-theme ol .task-list-item input,.smart-blue-theme ul .task-list-item input{margin-left:-1.5em;margin-right:.1em}.smart-blue-theme a{text-decoration:none}.smart-blue-theme pre,.smart-blue-theme code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px}.smart-blue-theme pre{margin:20px 0}.smart-blue-theme pre code{display:block;line-height:1;overflow:auto}.smart-blue-theme pre code .code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom}.smart-blue-theme pre code[language]:before{content:attr(language);font-size:12px;position:absolute;top:11px;right:40px;line-height:1;z-index:1}.smart-blue-theme .copy-button{color:var(--md-theme-code-block-color);position:absolute;font-size:12px;top:5px;right:7px;line-height:1;cursor:pointer;z-index:1}.smart-blue-theme .copy-button:before{content:attr(data-tips);color:var(--md-theme-code-copy-tips-color);background-color:var(--md-theme-code-copy-tips-bg-color);position:absolute;font-size:12px;font-family:sans-serif;width:max-content;text-align:center;padding:4px;border-radius:2px;box-shadow:0 0 2px #0003;left:0;top:50%;transform:translate(-100%,-50%)}.smart-blue-theme .copy-button:after{content:"";color:var(--md-theme-code-copy-tips-bg-color);position:absolute;width:0;height:0;border:5px solid rgba(0,0,0,0);border-right-width:0;border-left-color:currentColor;left:-2px;top:50%;transform:translateY(-50%);filter:drop-shadow(4px 0 2px rgba(0,0,0,.2))}.smart-blue-theme .copy-button:before,.smart-blue-theme .copy-button:after{visibility:hidden;transition:.3s}.smart-blue-theme .copy-button:hover:before,.smart-blue-theme .copy-button:hover:after{visibility:visible}.smart-blue-theme hr{height:1px;margin:10px 0;border:none;border-top:1px solid var(--md-theme-border-color)}.smart-blue-theme figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.smart-blue-theme figure figcaption{color:var(--md-theme-color);font-size:.875em;margin-top:5px}.smart-blue-theme .md-editor-mermaid{line-height:1}.smart-blue-theme strong,.smart-blue-theme em strong{color:#036aca}.smart-blue-theme hr{border-top:1px solid #135ce0} diff --git a/8283.a6ea35b7.async.js b/8283.a6ea35b7.async.js new file mode 100644 index 0000000000..dcab852aa6 --- /dev/null +++ b/8283.a6ea35b7.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[8283],{8283:function(b,o,c){c.r(o),c.d(o,{fortran:function(){return g}});function a(t){for(var n={},e=0;e\/\:]/,m=/^\.(and|or|eq|lt|le|gt|ge|ne|not|eqv|neqv)\./i;function p(t,n){if(t.match(m))return"operator";var e=t.next();if(e=="!")return t.skipToEnd(),"comment";if(e=='"'||e=="'")return n.tokenize=f(e),n.tokenize(t,n);if(/[\[\]\(\),]/.test(e))return null;if(/\d/.test(e))return t.eatWhile(/[\w\.]/),"number";if(l.test(e))return t.eatWhile(l),"operator";t.eatWhile(/[\w\$_]/);var i=t.current().toLowerCase();return d.hasOwnProperty(i)?"keyword":_.hasOwnProperty(i)||u.hasOwnProperty(i)?"builtin":"variable"}function f(t){return function(n,e){for(var i=!1,r,s=!1;(r=n.next())!=null;){if(r==t&&!i){s=!0;break}i=!i&&r=="\\"}return(s||!i)&&(e.tokenize=null),"string"}}const g={name:"fortran",startState:function(){return{tokenize:null}},token:function(t,n){if(t.eatSpace())return null;var e=(n.tokenize||p)(t,n);return e=="comment"||e=="meta",e}}}}]); diff --git a/8393.06ae0e31.async.js b/8393.06ae0e31.async.js new file mode 100644 index 0000000000..7fa8880992 --- /dev/null +++ b/8393.06ae0e31.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[8393],{68393:function(S,r,R){R.r(r),R.d(r,{forth:function(){return T}});function O(n){var e=[];return n.split(" ").forEach(function(E){e.push({name:E})}),e}var u=O("INVERT AND OR XOR 2* 2/ LSHIFT RSHIFT 0= = 0< < > U< MIN MAX 2DROP 2DUP 2OVER 2SWAP ?DUP DEPTH DROP DUP OVER ROT SWAP >R R> R@ + - 1+ 1- ABS NEGATE S>D * M* UM* FM/MOD SM/REM UM/MOD */ */MOD / /MOD MOD HERE , @ ! CELL+ CELLS C, C@ C! CHARS 2@ 2! ALIGN ALIGNED +! ALLOT CHAR [CHAR] [ ] BL FIND EXECUTE IMMEDIATE COUNT LITERAL STATE ; DOES> >BODY EVALUATE SOURCE >IN <# # #S #> HOLD SIGN BASE >NUMBER HEX DECIMAL FILL MOVE . CR EMIT SPACE SPACES TYPE U. .R U.R ACCEPT TRUE FALSE <> U> 0<> 0> NIP TUCK ROLL PICK 2>R 2R@ 2R> WITHIN UNUSED MARKER I J TO COMPILE, [COMPILE] SAVE-INPUT RESTORE-INPUT PAD ERASE 2LITERAL DNEGATE D- D+ D0< D0= D2* D2/ D< D= DMAX DMIN D>S DABS M+ M*/ D. D.R 2ROT DU< CATCH THROW FREE RESIZE ALLOCATE CS-PICK CS-ROLL GET-CURRENT SET-CURRENT FORTH-WORDLIST GET-ORDER SET-ORDER PREVIOUS SEARCH-WORDLIST WORDLIST FIND ALSO ONLY FORTH DEFINITIONS ORDER -TRAILING /STRING SEARCH COMPARE CMOVE CMOVE> BLANK SLITERAL"),L=O("IF ELSE THEN BEGIN WHILE REPEAT UNTIL RECURSE [IF] [ELSE] [THEN] ?DO DO LOOP +LOOP UNLOOP LEAVE EXIT AGAIN CASE OF ENDOF ENDCASE");function t(n,e){var E;for(E=n.length-1;E>=0;E--)if(n[E].name===e.toUpperCase())return n[E]}const T={name:"forth",startState:function(){return{state:"",base:10,coreWordList:u,immediateWordList:L,wordList:[]}},token:function(n,e){var E;if(n.eatSpace())return null;if(e.state===""){if(n.match(/^(\]|:NONAME)(\s|$)/i))return e.state=" compilation","builtin";if(E=n.match(/^(\:)\s+(\S+)(\s|$)+/),E)return e.wordList.push({name:E[2].toUpperCase()}),e.state=" compilation","def";if(E=n.match(/^(VARIABLE|2VARIABLE|CONSTANT|2CONSTANT|CREATE|POSTPONE|VALUE|WORD)\s+(\S+)(\s|$)+/i),E)return e.wordList.push({name:E[2].toUpperCase()}),"def";if(E=n.match(/^(\'|\[\'\])\s+(\S+)(\s|$)+/),E)return"builtin"}else{if(n.match(/^(\;|\[)(\s)/))return e.state="",n.backUp(1),"builtin";if(n.match(/^(\;|\[)($)/))return e.state="","builtin";if(n.match(/^(POSTPONE)\s+\S+(\s|$)+/))return"builtin"}if(E=n.match(/^(\S+)(\s+|$)/),E)return t(e.wordList,E[1])!==void 0?"variable":E[1]==="\\"?(n.skipToEnd(),"comment"):t(e.coreWordList,E[1])!==void 0?"builtin":t(e.immediateWordList,E[1])!==void 0?"keyword":E[1]==="("?(n.eatWhile(function(i){return i!==")"}),n.eat(")"),"comment"):E[1]===".("?(n.eatWhile(function(i){return i!==")"}),n.eat(")"),"string"):E[1]==='S"'||E[1]==='."'||E[1]==='C"'?(n.eatWhile(function(i){return i!=='"'}),n.eat('"'),"string"):E[1]-68719476735?"number":"atom"}}}}]); diff --git a/8561.d7484e21.async.js b/8561.d7484e21.async.js new file mode 100644 index 0000000000..b227a3553b --- /dev/null +++ b/8561.d7484e21.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[8561],{78561:function(y,c,l){l.r(c),l.d(c,{nginx:function(){return g}});function o(_){for(var t={},i=_.split(" "),e=0;e*\/]/.test(e)?r(null,"select-op"):/[;{}:\[\]]/.test(e)?r(null,e):(_.eatWhile(/[\w\\\-]/),r("variable","variable"))}function p(_,t){for(var i=!1,e;(e=_.next())!=null;){if(i&&e=="/"){t.tokenize=a;break}i=e=="*"}return r("comment","comment")}function u(_,t){for(var i=0,e;(e=_.next())!=null;){if(i>=2&&e==">"){t.tokenize=a;break}i=e=="-"?i+1:0}return r("comment","comment")}function h(_){return function(t,i){for(var e=!1,n;(n=t.next())!=null&&!(n==_&&!e);)e=!e&&n=="\\";return e||(i.tokenize=a),r("string","string")}}const g={name:"nginx",startState:function(){return{tokenize:a,baseIndent:0,stack:[]}},token:function(_,t){if(_.eatSpace())return null;s=null;var i=t.tokenize(_,t),e=t.stack[t.stack.length-1];return s=="hash"&&e=="rule"?i="atom":i=="variable"&&(e=="rule"?i="number":(!e||e=="@media{")&&(i="tag")),e=="rule"&&/^[\{\};]$/.test(s)&&t.stack.pop(),s=="{"?e=="@media"?t.stack[t.stack.length-1]="@media{":t.stack.push("{"):s=="}"?t.stack.pop():s=="@media"?t.stack.push("@media"):e=="{"&&s!="comment"&&t.stack.push("rule"),i},indent:function(_,t,i){var e=_.stack.length;return/^\}/.test(t)&&(e-=_.stack[_.stack.length-1]=="rule"?2:1),_.baseIndent+e*i.unit},languageData:{indentOnInput:/^\s*\}$/}}}}]); diff --git a/870.b38c1fc5.async.js b/870.b38c1fc5.async.js new file mode 100644 index 0000000000..8174c3a66f --- /dev/null +++ b/870.b38c1fc5.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[870],{90870:function(d,l,t){t.r(l),t.d(l,{apl:function(){return p}});var u={"+":["conjugate","add"],"\u2212":["negate","subtract"],"\xD7":["signOf","multiply"],"\xF7":["reciprocal","divide"],"\u2308":["ceiling","greaterOf"],"\u230A":["floor","lesserOf"],"\u2223":["absolute","residue"],"\u2373":["indexGenerate","indexOf"],"?":["roll","deal"],"\u22C6":["exponentiate","toThePowerOf"],"\u235F":["naturalLog","logToTheBase"],"\u25CB":["piTimes","circularFuncs"],"!":["factorial","binomial"],"\u2339":["matrixInverse","matrixDivide"],"<":[null,"lessThan"],"\u2264":[null,"lessThanOrEqual"],"=":[null,"equals"],">":[null,"greaterThan"],"\u2265":[null,"greaterThanOrEqual"],"\u2260":[null,"notEqual"],"\u2261":["depth","match"],"\u2262":[null,"notMatch"],"\u2208":["enlist","membership"],"\u2377":[null,"find"],"\u222A":["unique","union"],"\u2229":[null,"intersection"],"\u223C":["not","without"],"\u2228":[null,"or"],"\u2227":[null,"and"],"\u2371":[null,"nor"],"\u2372":[null,"nand"],"\u2374":["shapeOf","reshape"],",":["ravel","catenate"],"\u236A":[null,"firstAxisCatenate"],"\u233D":["reverse","rotate"],"\u2296":["axis1Reverse","axis1Rotate"],"\u2349":["transpose",null],"\u2191":["first","take"],"\u2193":[null,"drop"],"\u2282":["enclose","partitionWithAxis"],"\u2283":["diclose","pick"],"\u2337":[null,"index"],"\u234B":["gradeUp",null],"\u2352":["gradeDown",null],"\u22A4":["encode",null],"\u22A5":["decode",null],"\u2355":["format","formatByExample"],"\u234E":["execute",null],"\u22A3":["stop","left"],"\u22A2":["pass","right"]},a=/[\.\/⌿⍀¨⍣]/,i=/⍬/,o=/[\+−×÷⌈⌊∣⍳\?⋆⍟○!⌹<≤=>≥≠≡≢∈⍷∪∩∼∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢]/,s=/←/,f=/[⍝#].*$/,c=function(r){var n;return n=!1,function(e){return n=e,e===r?n==="\\":!0}};const p={name:"apl",startState:function(){return{prev:!1,func:!1,op:!1,string:!1,escape:!1}},token:function(r,n){var e;return r.eatSpace()?null:(e=r.next(),e==='"'||e==="'"?(r.eatWhile(c(e)),r.next(),n.prev=!0,"string"):/[\[{\(]/.test(e)?(n.prev=!1,null):/[\]}\)]/.test(e)?(n.prev=!0,null):i.test(e)?(n.prev=!1,"atom"):/[¯\d]/.test(e)?(n.func?(n.func=!1,n.prev=!1):n.prev=!0,r.eatWhile(/[\w\.]/),"number"):a.test(e)||s.test(e)?"operator":o.test(e)?(n.func=!0,n.prev=!1,u[e]?"variableName.function.standard":"variableName.function"):f.test(e)?(r.skipToEnd(),"comment"):e==="\u2218"&&r.peek()==="."?(r.next(),"variableName.function"):(r.eatWhile(/[\w\$_]/),n.prev=!0,"keyword"))}}}}]); diff --git a/8703.228c22a3.async.js b/8703.228c22a3.async.js new file mode 100644 index 0000000000..cbf6e08c5c --- /dev/null +++ b/8703.228c22a3.async.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[8703],{38703:function(nt,de,v){v.d(de,{Z:function(){return _e}});var s=v(67294),ue=v(76278),fe=v(35918),ge=v(17012),pe=v(62208),me=v(94184),A=v.n(me),ve=v(98423),he=v(53124),q=v(87462),F=v(1413),_=v(91),ee={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},te=function(){var t=(0,s.useRef)([]),r=(0,s.useRef)(null);return(0,s.useEffect)(function(){var o=Date.now(),n=!1;t.current.forEach(function(c){if(c){n=!0;var i=c.style;i.transitionDuration=".3s, .3s, .3s, .06s",r.current&&o-r.current<100&&(i.transitionDuration="0s, 0s")}}),n&&(r.current=Date.now())}),t.current},Ce=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],ye=function(t){var r=(0,F.Z)((0,F.Z)({},ee),t),o=r.className,n=r.percent,c=r.prefixCls,i=r.strokeColor,a=r.strokeLinecap,l=r.strokeWidth,u=r.style,d=r.trailColor,g=r.trailWidth,h=r.transition,C=(0,_.Z)(r,Ce);delete C.gapPosition;var y=Array.isArray(n)?n:[n],m=Array.isArray(i)?i:[i],f=te(),$=l/2,S=100-l/2,k="M ".concat(a==="round"?$:0,",").concat($,` + L `).concat(a==="round"?S:100,",").concat($),p="0 0 100 ".concat(l),E=0;return s.createElement("svg",(0,q.Z)({className:A()("".concat(c,"-line"),o),viewBox:p,preserveAspectRatio:"none",style:u},C),s.createElement("path",{className:"".concat(c,"-line-trail"),d:k,strokeLinecap:a,stroke:d,strokeWidth:g||l,fillOpacity:"0"}),y.map(function(I,P){var x=1;switch(a){case"round":x=1-l/100;break;case"square":x=1-l/2/100;break;default:x=1;break}var N={strokeDasharray:"".concat(I*x,"px, 100px"),strokeDashoffset:"-".concat(E,"px"),transition:h||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},O=m[P]||m[m.length-1];return E+=I,s.createElement("path",{key:P,className:"".concat(c,"-line-path"),d:k,strokeLinecap:a,stroke:O,strokeWidth:l,fillOpacity:"0",ref:function(L){f[P]=L},style:N})}))},Se=ye,Z=v(71002),ke=v(97685),be=v(98924),re=0,$e=(0,be.Z)();function xe(){var e;return $e?(e=re,re+=1):e="TEST_OR_SSR",e}var Ee=function(e){var t=s.useState(),r=(0,ke.Z)(t,2),o=r[0],n=r[1];return s.useEffect(function(){n("rc_progress_".concat(xe()))},[]),e||o},oe=function(t){var r=t.bg,o=t.children;return s.createElement("div",{style:{width:"100%",height:"100%",background:r}},o)};function ne(e,t){return Object.keys(e).map(function(r){var o=parseFloat(r),n="".concat(Math.floor(o*t),"%");return"".concat(e[r]," ").concat(n)})}var Pe=s.forwardRef(function(e,t){var r=e.prefixCls,o=e.color,n=e.gradientId,c=e.radius,i=e.style,a=e.ptg,l=e.strokeLinecap,u=e.strokeWidth,d=e.size,g=e.gapDegree,h=o&&(0,Z.Z)(o)==="object",C=h?"#FFF":void 0,y=d/2,m=s.createElement("circle",{className:"".concat(r,"-circle-path"),r:c,cx:y,cy:y,stroke:C,strokeLinecap:l,strokeWidth:u,opacity:a===0?0:1,style:i,ref:t});if(!h)return m;var f="".concat(n,"-conic"),$=g?"".concat(180+g/2,"deg"):"0deg",S=ne(o,(360-g)/360),k=ne(o,1),p="conic-gradient(from ".concat($,", ").concat(S.join(", "),")"),E="linear-gradient(to ".concat(g?"bottom":"top",", ").concat(k.join(", "),")");return s.createElement(s.Fragment,null,s.createElement("mask",{id:f},m),s.createElement("foreignObject",{x:0,y:0,width:d,height:d,mask:"url(#".concat(f,")")},s.createElement(oe,{bg:E},s.createElement(oe,{bg:p}))))}),Oe=Pe,R=100,V=function(t,r,o,n,c,i,a,l,u,d){var g=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,h=o/100*360*((360-i)/360),C=i===0?0:{bottom:0,top:180,left:90,right:-90}[a],y=(100-n)/100*r;u==="round"&&n!==100&&(y+=d/2,y>=r&&(y=r-.01));var m=R/2;return{stroke:typeof l=="string"?l:void 0,strokeDasharray:"".concat(r,"px ").concat(t),strokeDashoffset:y+g,transform:"rotate(".concat(c+h+C,"deg)"),transformOrigin:"".concat(m,"px ").concat(m,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Le=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function se(e){var t=e!=null?e:[];return Array.isArray(t)?t:[t]}var Ie=function(t){var r=(0,F.Z)((0,F.Z)({},ee),t),o=r.id,n=r.prefixCls,c=r.steps,i=r.strokeWidth,a=r.trailWidth,l=r.gapDegree,u=l===void 0?0:l,d=r.gapPosition,g=r.trailColor,h=r.strokeLinecap,C=r.style,y=r.className,m=r.strokeColor,f=r.percent,$=(0,_.Z)(r,Le),S=R/2,k=Ee(o),p="".concat(k,"-gradient"),E=S-i/2,I=Math.PI*2*E,P=u>0?90+u/2:-90,x=I*((360-u)/360),N=(0,Z.Z)(c)==="object"?c:{count:c,space:2},O=N.count,T=N.space,L=se(f),b=se(m),W=b.find(function(H){return H&&(0,Z.Z)(H)==="object"}),G=W&&(0,Z.Z)(W)==="object",j=G?"butt":h,et=V(I,x,0,100,P,u,d,g,j,i),ce=te(),tt=function(){var K=0;return L.map(function(M,w){var Y=b[w]||b[b.length-1],B=V(I,x,K,M,P,u,d,Y,j,i);return K+=M,s.createElement(Oe,{key:w,color:Y,ptg:M,radius:E,prefixCls:n,gradientId:p,style:B,strokeLinecap:j,strokeWidth:i,gapDegree:u,ref:function(J){ce[w]=J},size:R})}).reverse()},rt=function(){var K=Math.round(O*(L[0]/100)),M=100/O,w=0;return new Array(O).fill(null).map(function(Y,B){var U=B<=K-1?b[0]:g,J=U&&(0,Z.Z)(U)==="object"?"url(#".concat(p,")"):void 0,le=V(I,x,w,M,P,u,d,U,"butt",i,T);return w+=(x-le.strokeDashoffset+T)*100/x,s.createElement("circle",{key:B,className:"".concat(n,"-circle-path"),r:E,cx:S,cy:S,stroke:J,strokeWidth:i,opacity:1,style:le,ref:function(ot){ce[B]=ot}})})};return s.createElement("svg",(0,q.Z)({className:A()("".concat(n,"-circle"),y),viewBox:"0 0 ".concat(R," ").concat(R),style:C,id:o,role:"presentation"},$),!O&&s.createElement("circle",{className:"".concat(n,"-circle-trail"),r:E,cx:S,cy:S,stroke:g,strokeLinecap:j,strokeWidth:a||i,style:et}),O?rt():tt())},ie=Ie,st={Line:Se,Circle:ie},We=v(83062),Q=v(78589);function D(e){return!e||e<0?0:e>100?100:e}function X(e){let{success:t,successPercent:r}=e,o=r;return t&&"progress"in t&&(o=t.progress),t&&"percent"in t&&(o=t.percent),o}const De=e=>{let{percent:t,success:r,successPercent:o}=e;const n=D(X({success:r,successPercent:o}));return[n,D(D(t)-n)]},Ne=e=>{let{success:t={},strokeColor:r}=e;const{strokeColor:o}=t;return[o||Q.ez.green,r||null]},z=(e,t,r)=>{var o,n,c,i;let a=-1,l=-1;if(t==="step"){const u=r.steps,d=r.strokeWidth;typeof e=="string"||typeof e=="undefined"?(a=e==="small"?2:14,l=d!=null?d:8):typeof e=="number"?[a,l]=[e,e]:[a=14,l=8]=e,a*=u}else if(t==="line"){const u=r==null?void 0:r.strokeWidth;typeof e=="string"||typeof e=="undefined"?l=u||(e==="small"?6:8):typeof e=="number"?[a,l]=[e,e]:[a=-1,l=8]=e}else(t==="circle"||t==="dashboard")&&(typeof e=="string"||typeof e=="undefined"?[a,l]=e==="small"?[60,60]:[120,120]:typeof e=="number"?[a,l]=[e,e]:(a=(n=(o=e[0])!==null&&o!==void 0?o:e[1])!==null&&n!==void 0?n:120,l=(i=(c=e[0])!==null&&c!==void 0?c:e[1])!==null&&i!==void 0?i:120));return[a,l]},je=3,we=e=>je/e*100;var Ae=e=>{const{prefixCls:t,trailColor:r=null,strokeLinecap:o="round",gapPosition:n,gapDegree:c,width:i=120,type:a,children:l,success:u,size:d=i}=e,[g,h]=z(d,"circle");let{strokeWidth:C}=e;C===void 0&&(C=Math.max(we(g),6));const y={width:g,height:h,fontSize:g*.15+6},m=s.useMemo(()=>{if(c||c===0)return c;if(a==="dashboard")return 75},[c,a]),f=n||a==="dashboard"&&"bottom"||void 0,$=Object.prototype.toString.call(e.strokeColor)==="[object Object]",S=Ne({success:u,strokeColor:e.strokeColor}),k=A()(`${t}-inner`,{[`${t}-circle-gradient`]:$}),p=s.createElement(ie,{percent:De(e),strokeWidth:C,trailWidth:C,strokeColor:S,strokeLinecap:o,trailColor:r,prefixCls:t,gapDegree:m,gapPosition:f});return s.createElement("div",{className:k,style:y},g<=20?s.createElement(We.Z,{title:l},s.createElement("span",null,p)):s.createElement(s.Fragment,null,p,l))},Ze=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,o=Object.getOwnPropertySymbols(e);n{let t=[];return Object.keys(e).forEach(r=>{const o=parseFloat(r.replace(/%/g,""));isNaN(o)||t.push({key:o,value:e[r]})}),t=t.sort((r,o)=>r.key-o.key),t.map(r=>{let{key:o,value:n}=r;return`${n} ${o}%`}).join(", ")},Te=(e,t)=>{const{from:r=Q.ez.blue,to:o=Q.ez.blue,direction:n=t==="rtl"?"to left":"to right"}=e,c=Ze(e,["from","to","direction"]);if(Object.keys(c).length!==0){const i=Re(c);return{backgroundImage:`linear-gradient(${n}, ${i})`}}return{backgroundImage:`linear-gradient(${n}, ${r}, ${o})`}};var Me=e=>{const{prefixCls:t,direction:r,percent:o,size:n,strokeWidth:c,strokeColor:i,strokeLinecap:a="round",children:l,trailColor:u=null,success:d}=e,g=i&&typeof i!="string"?Te(i,r):{backgroundColor:i},h=a==="square"||a==="butt"?0:void 0,C={backgroundColor:u||void 0,borderRadius:h},y=n!=null?n:[-1,c||(n==="small"?6:8)],[m,f]=z(y,"line",{strokeWidth:c}),$=Object.assign({width:`${D(o)}%`,height:f,borderRadius:h},g),S=X(e),k={width:`${D(S)}%`,height:f,borderRadius:h,backgroundColor:d==null?void 0:d.strokeColor},p={width:m<0?"100%":m,height:f};return s.createElement(s.Fragment,null,s.createElement("div",{className:`${t}-outer`,style:p},s.createElement("div",{className:`${t}-inner`,style:C},s.createElement("div",{className:`${t}-bg`,style:$}),S!==void 0?s.createElement("div",{className:`${t}-success-bg`,style:k}):null)),l)},Be=e=>{const{size:t,steps:r,percent:o=0,strokeWidth:n=8,strokeColor:c,trailColor:i=null,prefixCls:a,children:l}=e,u=Math.round(r*(o/100)),d=t==="small"?2:14,g=t!=null?t:[d,n],[h,C]=z(g,"step",{steps:r,strokeWidth:n}),y=h/r,m=new Array(r);for(let f=0;f{const t=e?"100%":"-100%";return new Fe.E4(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},He=e=>{const{componentCls:t,iconCls:r}=e;return{[t]:Object.assign(Object.assign({},(0,Xe.Wf)(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize,marginInlineEnd:e.marginXS,marginBottom:e.marginXS},[`${t}-outer`]:{display:"inline-block",width:"100%"},[`&${t}-show-info`]:{[`${t}-outer`]:{marginInlineEnd:`calc(-2em - ${e.marginXS}px)`,paddingInlineEnd:`calc(2em + ${e.paddingXS}px)`}},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",backgroundColor:e.defaultColor,borderRadius:e.lineBorderRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",width:"2em",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[r]:{fontSize:e.fontSize}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:ae(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:ae(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},Ke=e=>{const{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.remainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[r]:{fontSize:`${e.fontSize/e.fontSizeSM}em`}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},Ue=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},Ve=e=>{const{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${r}`]:{fontSize:e.fontSizeSM}}}};var Qe=(0,ze.Z)("Progress",e=>{const t=e.marginXXS/2,r=(0,Ge.TS)(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[He(r),Ke(r),Ue(r),Ve(r)]},e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Ye=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,o=Object.getOwnPropertySymbols(e);n{const{prefixCls:r,className:o,rootClassName:n,steps:c,strokeColor:i,percent:a=0,size:l="default",showInfo:u=!0,type:d="line",status:g,format:h,style:C}=e,y=Ye(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),m=s.useMemo(()=>{var L,b;const W=X(e);return parseInt(W!==void 0?(L=W!=null?W:0)===null||L===void 0?void 0:L.toString():(b=a!=null?a:0)===null||b===void 0?void 0:b.toString(),10)},[a,e.success,e.successPercent]),f=s.useMemo(()=>!Je.includes(g)&&m>=100?"success":g||"normal",[g,m]),{getPrefixCls:$,direction:S,progress:k}=s.useContext(he.E_),p=$("progress",r),[E,I]=Qe(p),P=s.useMemo(()=>{if(!u)return null;const L=X(e);let b;const W=h||(j=>`${j}%`),G=d==="line";return h||f!=="exception"&&f!=="success"?b=W(D(a),D(L)):f==="exception"?b=G?s.createElement(ge.Z,null):s.createElement(pe.Z,null):f==="success"&&(b=G?s.createElement(ue.Z,null):s.createElement(fe.Z,null)),s.createElement("span",{className:`${p}-text`,title:typeof b=="string"?b:void 0},b)},[u,a,m,f,d,p,h]),x=Array.isArray(i)?i[0]:i,N=typeof i=="string"||Array.isArray(i)?i:void 0;let O;d==="line"?O=c?s.createElement(Be,Object.assign({},e,{strokeColor:N,prefixCls:p,steps:c}),P):s.createElement(Me,Object.assign({},e,{strokeColor:x,prefixCls:p,direction:S}),P):(d==="circle"||d==="dashboard")&&(O=s.createElement(Ae,Object.assign({},e,{strokeColor:x,prefixCls:p,progressStatus:f}),P));const T=A()(p,`${p}-status-${f}`,`${p}-${d==="dashboard"&&"circle"||c&&"steps"||d}`,{[`${p}-inline-circle`]:d==="circle"&&z(l,"circle")[0]<=20,[`${p}-show-info`]:u,[`${p}-${l}`]:typeof l=="string",[`${p}-rtl`]:S==="rtl"},k==null?void 0:k.className,o,n,I);return E(s.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},k==null?void 0:k.style),C),className:T,role:"progressbar","aria-valuenow":m},(0,ve.Z)(y,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),O))}),_e=qe}}]); diff --git a/8770.a92b6409.async.js b/8770.a92b6409.async.js new file mode 100644 index 0000000000..ea9642355d --- /dev/null +++ b/8770.a92b6409.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[8770],{28770:function(b,l,h){h.r(l),h.d(l,{elm:function(){return R}});function a(n,t,i){return t(i),i(n,t)}var d=/[a-z]/,o=/[A-Z]/,p=/[a-zA-Z0-9_]/,f=/[0-9]/,v=/[0-9A-Fa-f]/,m=/[-&*+.\\/<>=?^|:]/,w=/[(),[\]{}]/,k=/[ \v\f]/;function e(){return function(n,t){if(n.eatWhile(k))return null;var i=n.next();if(w.test(i))return i==="{"&&n.eat("-")?a(n,t,u(1)):i==="["&&n.match("glsl|")?a(n,t,y):"builtin";if(i==="'")return a(n,t,E);if(i==='"')return n.eat('"')?n.eat('"')?a(n,t,g):"string":a(n,t,x);if(o.test(i))return n.eatWhile(p),"type";if(d.test(i)){var r=n.pos===1;return n.eatWhile(p),r?"def":"variable"}if(f.test(i)){if(i==="0"){if(n.eat(/[xX]/))return n.eatWhile(v),"number"}else n.eatWhile(f);return n.eat(".")&&n.eatWhile(f),n.eat(/[eE]/)&&(n.eat(/[-+]/),n.eatWhile(f)),"number"}return m.test(i)?i==="-"&&n.eat("-")?(n.skipToEnd(),"comment"):(n.eatWhile(m),"keyword"):i==="_"?"keyword":"error"}}function u(n){return n==0?e():function(t,i){for(;!t.eol();){var r=t.next();if(r=="{"&&t.eat("-"))++n;else if(r=="-"&&t.eat("}")&&(--n,n===0))return i(e()),"comment"}return i(u(n)),"comment"}}function g(n,t){for(;!n.eol();){var i=n.next();if(i==='"'&&n.eat('"')&&n.eat('"'))return t(e()),"string"}return"string"}function x(n,t){for(;n.skipTo('\\"');)n.next(),n.next();return n.skipTo('"')?(n.next(),t(e()),"string"):(n.skipToEnd(),t(e()),"error")}function E(n,t){for(;n.skipTo("\\'");)n.next(),n.next();return n.skipTo("'")?(n.next(),t(e()),"string"):(n.skipToEnd(),t(e()),"error")}function y(n,t){for(;!n.eol();){var i=n.next();if(i==="|"&&n.eat("]"))return t(e()),"string"}return"string"}var W={case:1,of:1,as:1,if:1,then:1,else:1,let:1,in:1,type:1,alias:1,module:1,where:1,import:1,exposing:1,port:1};const R={name:"elm",startState:function(){return{f:e()}},copyState:function(n){return{f:n.f}},token:function(n,t){var i=t.f(n,function(T){t.f=T}),r=n.current();return W.hasOwnProperty(r)?"keyword":i},languageData:{commentTokens:{line:"--"}}}}}]); diff --git a/8813.124c03de.async.js b/8813.124c03de.async.js new file mode 100644 index 0000000000..3a7b28ae56 --- /dev/null +++ b/8813.124c03de.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[8813],{68813:function(ie,E,P){P.r(E),P.d(E,{completeFromSchema:function(){return A},xml:function(){return se},xmlLanguage:function(){return X}});var v=P(53105),$=P(35524);const C=1,j=2,Z=3,q=4,I=5,U=35,J=36,D=37,F=11,B=13;function M(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function H(e){return e==9||e==10||e==13||e==32}let G=null,k=null,R=0;function _(e,t){let n=e.pos+t;if(k==e&&R==n)return G;for(;H(e.peek(t));)t++;let O="";for(;;){let a=e.peek(t);if(!M(a))break;O+=String.fromCharCode(a),t++}return k=e,R=n,G=O||null}function N(e,t){this.name=e,this.parent=t,this.hash=t?t.hash:0;for(let n=0;n{if(e.next==60){if(e.advance(),e.next==47){e.advance();let n=_(e,0);if(!n)return e.acceptToken(I);if(t.context&&n==t.context.name)return e.acceptToken(j);for(let O=t.context;O;O=O.parent)if(O.name==n)return e.acceptToken(Z,-2);e.acceptToken(q)}else if(e.next!=33&&e.next!=63)return e.acceptToken(C)}},{contextual:!0});function b(e,t){return new v.Jq(n=>{for(let O=0,a=0;;a++){if(n.next<0){a&&n.acceptToken(e);break}if(n.next==t.charCodeAt(O)){if(O++,O==t.length){a>=t.length&&n.acceptToken(e,1-t.length);break}}else O=n.next==t.charCodeAt(0)?1:0;n.advance()}})}const ee=b(U,"-->"),te=b(J,"?>"),Oe=b(D,"]]>"),ne=(0,$.Gv)({Text:$.pJ.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":$.pJ.angleBracket,TagName:$.pJ.tagName,"MismatchedCloseTag/Tagname":[$.pJ.tagName,$.pJ.invalid],AttributeName:$.pJ.attributeName,AttributeValue:$.pJ.attributeValue,Is:$.pJ.definitionOperator,"EntityReference CharacterReference":$.pJ.character,Comment:$.pJ.blockComment,ProcessingInst:$.pJ.processingInstruction,DoctypeDecl:$.pJ.documentMeta,Cdata:$.pJ.special($.pJ.string)}),ae=v.WQ.deserialize({version:14,states:",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DS'#DSOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C{'#C{O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C|'#C|O$dOrO,59^OOOP,59^,59^OOOS'#C}'#C}O$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6y-E6yOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6z-E6zOOOP1G.x1G.xOOOS-E6{-E6{OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'jO!bO,59eOOOO-E6w-E6wO'xOpO1G.uO'xOpO1G.uOOOP1G.u1G.uO(QOpO7+$fOOOP7+$f7+$fO(YO!bO<`#X;'S%y;'S;=`&_<%lO%yX>eV{WOr%ysv%yw#T%y#T#U>z#U;'S%y;'S;=`&_<%lO%yX?PV{WOr%ysv%yw#h%y#h#i?f#i;'S%y;'S;=`&_<%lO%yX?kV{WOr%ysv%yw#T%y#T#Ur.from<=n&&r.to>=n),a=O&&O.getChild("AttributeName");return a?e.sliceString(a.from,a.to):""}function w(e){for(let t=e&&e.parent;t;t=t.parent)if(t.name=="Element")return t;return null}function re(e,t){var n;let O=(0,d.qz)(e).resolveInner(t,-1),a=null;for(let r=O;!a&&r.parent;r=r.parent)(r.name=="OpenTag"||r.name=="CloseTag"||r.name=="SelfClosingTag"||r.name=="MismatchedCloseTag")&&(a=r);if(a&&(a.to>t||a.lastChild.type.isError)){let r=a.parent;if(O.name=="TagName")return a.name=="CloseTag"||a.name=="MismatchedCloseTag"?{type:"closeTag",from:O.from,context:r}:{type:"openTag",from:O.from,context:w(r)};if(O.name=="AttributeName")return{type:"attrName",from:O.from,context:a};if(O.name=="AttributeValue")return{type:"attrValue",from:O.from,context:a};let i=O==a||O.name=="Attribute"?O.childBefore(t):O;return(i==null?void 0:i.name)=="StartTag"?{type:"openTag",from:t,context:w(r)}:(i==null?void 0:i.name)=="StartCloseTag"&&i.to<=t?{type:"closeTag",from:t,context:r}:(i==null?void 0:i.name)=="Is"?{type:"attrValue",from:t,context:a}:i?{type:"attrName",from:t,context:a}:null}else if(O.name=="StartCloseTag")return{type:"closeTag",from:t,context:O.parent};for(;O.parent&&O.to==t&&!(!((n=O.lastChild)===null||n===void 0)&&n.type.isError);)O=O.parent;return O.name=="Element"||O.name=="Text"||O.name=="Document"?{type:"tag",from:t,context:O.name=="Element"?O:w(O)}:null}class oe{constructor(t,n,O){this.attrs=n,this.attrValues=O,this.children=[],this.name=t.name,this.completion=Object.assign(Object.assign({type:"type"},t.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=t.textContent?t.textContent.map(a=>({label:a,type:"text"})):[]}}const V=/^[:\-\.\w\u00b7-\uffff]*$/;function Y(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function z(e){return typeof e=="string"?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function A(e,t){let n=[],O=[],a=Object.create(null);for(let l of t){let m=Y(l);n.push(m),l.global&&O.push(m),l.values&&(a[l.name]=l.values.map(z))}let r=[],i=[],f=Object.create(null);for(let l of e){let m=O,o=a;l.attributes&&(m=m.concat(l.attributes.map(c=>typeof c=="string"?n.find(g=>g.label==c)||{label:c,type:"property"}:(c.values&&(o==a&&(o=Object.create(o)),o[c.name]=c.values.map(z)),Y(c)))));let u=new oe(l,m,o);f[u.name]=u,r.push(u),l.top&&i.push(u)}i.length||(i=r);for(let l=0;l{var m;let{doc:o}=l.state,u=re(l.state,l.pos);if(!u||u.type=="tag"&&!l.explicit)return null;let{type:c,from:g,context:S}=u;if(c=="openTag"){let s=i,y=W(o,S);if(y){let p=f[y];s=(p==null?void 0:p.children)||r}return{from:g,options:s.map(p=>p.completion),validFor:V}}else if(c=="closeTag"){let s=W(o,S);return s?{from:g,to:l.pos+(o.sliceString(l.pos,l.pos+1)==">"?1:0),options:[((m=f[s])===null||m===void 0?void 0:m.closeNameCompletion)||{label:s+">",type:"type"}],validFor:V}:null}else if(c=="attrName"){let s=f[T(o,S)];return{from:g,options:(s==null?void 0:s.attrs)||O,validFor:V}}else if(c=="attrValue"){let s=le(o,S,g);if(!s)return null;let y=f[T(o,S)],p=((y==null?void 0:y.attrValues)||a)[s];return!p||!p.length?null:{from:g,to:l.pos+(o.sliceString(l.pos,l.pos+1)=='"'?1:0),options:p,validFor:/^"[^"]*"?$/}}else if(c=="tag"){let s=W(o,S),y=f[s],p=[],Q=S&&S.lastChild;s&&(!Q||Q.name!="CloseTag"||T(o,Q)!=s)&&p.push(y?y.closeCompletion:{label:"",type:"type",boost:2});let x=p.concat(((y==null?void 0:y.children)||(S?r:i)).map(h=>h.openCompletion));if(S&&(y!=null&&y.text.length)){let h=S.firstChild;h.to>l.pos-20&&!/\S/.test(l.state.sliceDoc(h.to,l.pos))&&(x=x.concat(y.text))}return{from:g,options:x,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}const X=d.qp.define({name:"xml",parser:ae.configure({props:[d.uj.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),d.x0.add({Element(e){let t=e.firstChild,n=e.lastChild;return!t||t.name!="OpenTag"?null:{from:t.to,to:n.name=="CloseTag"?n.from:e.to}}}),d.a0.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/$/}});function se(e={}){return new d.ri(X,X.data.of({autocomplete:A(e.elements||[],e.attributes||[])}))}}}]); diff --git a/889.beff9c88.async.js b/889.beff9c88.async.js new file mode 100644 index 0000000000..08d978328c --- /dev/null +++ b/889.beff9c88.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[889],{70889:function(d,r,u){u.r(r),u.d(r,{cmake:function(){return o}});var a=/({)?[a-zA-Z0-9_]+(})?/;function c(n,i){for(var e,t,f=!1;!n.eol()&&(e=n.next())!=i.pending;){if(e==="$"&&t!="\\"&&i.pending=='"'){f=!0;break}t=e}return f&&n.backUp(1),e==i.pending?i.continueString=!1:i.continueString=!0,"string"}function l(n,i){var e=n.next();return e==="$"?n.match(a)?"variableName.special":"variable":i.continueString?(n.backUp(1),c(n,i)):n.match(/(\s+)?\w+\(/)||n.match(/(\s+)?\w+\ \(/)?(n.backUp(1),"def"):e=="#"?(n.skipToEnd(),"comment"):e=="'"||e=='"'?(i.pending=e,c(n,i)):e=="("||e==")"?"bracket":e.match(/[0-9]/)?"number":(n.eatWhile(/[\w-]/),null)}const o={name:"cmake",startState:function(){var n={};return n.inDefinition=!1,n.inInclude=!1,n.continueString=!1,n.pending=!1,n},token:function(n,i){return n.eatSpace()?null:l(n,i)}}}}]); diff --git a/89.6b81c89b.async.js b/89.6b81c89b.async.js new file mode 100644 index 0000000000..cd73e308ef --- /dev/null +++ b/89.6b81c89b.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[89],{80089:function(be,L,o){o.d(L,{$W:function(){return fe},$o:function(){return Q},C3:function(){return ae},D7:function(){return ue},DM:function(){return Y},EU:function(){return de},Hi:function(){return z},Hs:function(){return ce},I5:function(){return V},Il:function(){return G},J5:function(){return he},Jw:function(){return ee},Ld:function(){return F},MG:function(){return re},Qr:function(){return X},Ri:function(){return _e},T5:function(){return S},TW:function(){return x},Vs:function(){return J},XQ:function(){return le},ZS:function(){return me},bA:function(){return ie},fd:function(){return ne},g5:function(){return N},gm:function(){return oe},ps:function(){return pe},ql:function(){return te},vb:function(){return se},yp:function(){return H}});var U=o(15009),t=o.n(U),B=o(97857),i=o.n(B),K=o(99289),a=o.n(K),s=o(84519);function G(r){return l.apply(this,arguments)}function l(){return l=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/shixuns.json",{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),l.apply(this,arguments)}function S(r){return c.apply(this,arguments)}function c(){return c=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/shixuns/".concat(n,".json"),{method:"delete"}));case 1:case"end":return e.stop()}},r)})),c.apply(this,arguments)}function H(r){return p.apply(this,arguments)}function p(){return p=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/shixuns/".concat(n,"/revoke_public.json"),{method:"post"}));case 1:case"end":return e.stop()}},r)})),p.apply(this,arguments)}function J(r){return _.apply(this,arguments)}function _(){return _=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/shixun_templates.json",{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),_.apply(this,arguments)}function Q(r){return m.apply(this,arguments)}function m(){return m=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/mirror_repositories/for_environment.json",{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),m.apply(this,arguments)}function V(r){return d.apply(this,arguments)}function d(){return d=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/shixun_templates/".concat(n.id,".json"),{method:"put",body:i()({},n)}));case 1:case"end":return e.stop()}},r)})),d.apply(this,arguments)}function X(r){return h.apply(this,arguments)}function h(){return h=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/shixun_recycles.json",{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),h.apply(this,arguments)}function z(r){return f.apply(this,arguments)}function f(){return f=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/shixun_recycles/".concat(n,".json"),{method:"delete"}));case 1:case"end":return e.stop()}},r)})),f.apply(this,arguments)}function F(r){return b.apply(this,arguments)}function b(){return b=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/shixun_recycles/".concat(n,"/resume.json"),{method:"post"}));case 1:case"end":return e.stop()}},r)})),b.apply(this,arguments)}function N(r){return y.apply(this,arguments)}function y(){return y=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/mirror_repositories.json",{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),y.apply(this,arguments)}function Y(r){return w.apply(this,arguments)}function w(){return w=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/mirror_repositories",{method:"post",body:i()({},n)}));case 1:case"end":return e.stop()}},r)})),w.apply(this,arguments)}function x(r){return g.apply(this,arguments)}function g(){return g=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/mirror_repositories.json",{method:"post",body:i()({},n)}));case 1:case"end":return e.stop()}},r)})),g.apply(this,arguments)}function ee(r){return v.apply(this,arguments)}function v(){return v=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/mirror_repositories/".concat(n.id,".json"),{method:"put",body:i()({},n)}));case 1:case"end":return e.stop()}},r)})),v.apply(this,arguments)}function re(r){return j.apply(this,arguments)}function j(){return j=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/mirror_repositories/".concat(n.id,"/checkout_mirror_type_name.json"),{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),j.apply(this,arguments)}function ne(r){return P.apply(this,arguments)}function P(){return P=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/mirror_repositories/".concat(n,"/edit.json"),{method:"get"}));case 1:case"end":return e.stop()}},r)})),P.apply(this,arguments)}function te(){return k.apply(this,arguments)}function k(){return k=a()(t()().mark(function r(){return t()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",(0,s.ZP)("/admins/users.json",{method:"get"}));case 1:case"end":return u.stop()}},r)})),k.apply(this,arguments)}function ue(){return $.apply(this,arguments)}function $(){return $=a()(t()().mark(function r(){return t()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",(0,s.ZP)("/admins/mirror_repositories/new.json",{method:"get"}));case 1:case"end":return u.stop()}},r)})),$.apply(this,arguments)}function ae(r){return Z.apply(this,arguments)}function Z(){return Z=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/mirror_repositories/merge",{method:"post",body:i()({},n)}));case 1:case"end":return e.stop()}},r)})),Z.apply(this,arguments)}function se(r){return E.apply(this,arguments)}function E(){return E=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/mirror_repositories/".concat(n,".json"),{method:"delete"}));case 1:case"end":return e.stop()}},r)})),E.apply(this,arguments)}function ie(r){return C.apply(this,arguments)}function C(){return C=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/mirror_repositories/".concat(n.id,"/mirror_scripts"),{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),C.apply(this,arguments)}function oe(r){return D.apply(this,arguments)}function D(){return D=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/mirror_repositories/".concat(n.id,"/mirror_scripts.json"),{method:"post",body:i()({},n)}));case 1:case"end":return e.stop()}},r)})),D.apply(this,arguments)}function le(r){return M.apply(this,arguments)}function M(){return M=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/mirror_repositories/".concat(n.id,"/mirror_scripts/").concat(n.script_id,".json"),{method:"put",body:i()({},n)}));case 1:case"end":return e.stop()}},r)})),M.apply(this,arguments)}function ce(r){return O.apply(this,arguments)}function O(){return O=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/mirror_repositories/".concat(n.id,"/mirror_scripts/").concat(n.script_id,".json"),{method:"delete"}));case 1:case"end":return e.stop()}},r)})),O.apply(this,arguments)}function pe(r){return T.apply(this,arguments)}function T(){return T=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/mirror_repositories/".concat(n.id,"/mirror_scripts/").concat(n.script_id,"/edit.json"),{method:"get"}));case 1:case"end":return e.stop()}},r)})),T.apply(this,arguments)}function _e(r){return R.apply(this,arguments)}function R(){return R=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/mirror_online_settings",{method:"get",params:i()({},n)}));case 1:case"end":return e.stop()}},r)})),R.apply(this,arguments)}function me(r){return I.apply(this,arguments)}function I(){return I=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/mirror_online_settings.json",{method:"post",body:i()({},n)}));case 1:case"end":return e.stop()}},r)})),I.apply(this,arguments)}function de(r){return W.apply(this,arguments)}function W(){return W=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/mirror_online_settings/".concat(n.id,".json"),{method:"put",body:i()({},n)}));case 1:case"end":return e.stop()}},r)})),W.apply(this,arguments)}function he(r){return q.apply(this,arguments)}function q(){return q=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/mirror_online_settings/".concat(n,".json"),{method:"delete"}));case 1:case"end":return e.stop()}},r)})),q.apply(this,arguments)}function fe(r){return A.apply(this,arguments)}function A(){return A=a()(t()().mark(function r(n){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,s.ZP)("/admins/mirror_online_settings/".concat(n,"/edit.json"),{method:"get"}));case 1:case"end":return e.stop()}},r)})),A.apply(this,arguments)}}}]); diff --git a/8910.29872783.async.js b/8910.29872783.async.js new file mode 100644 index 0000000000..a59e8a4e1a --- /dev/null +++ b/8910.29872783.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[8910],{48910:function(y,f,a){a.r(f),a.d(f,{go:function(){return v}});var h={break:!0,case:!0,chan:!0,const:!0,continue:!0,default:!0,defer:!0,else:!0,fallthrough:!0,for:!0,func:!0,go:!0,goto:!0,if:!0,import:!0,interface:!0,map:!0,package:!0,range:!0,return:!0,select:!0,struct:!0,switch:!0,type:!0,var:!0,bool:!0,byte:!0,complex64:!0,complex128:!0,float32:!0,float64:!0,int8:!0,int16:!0,int32:!0,int64:!0,string:!0,uint8:!0,uint16:!0,uint32:!0,uint64:!0,int:!0,uint:!0,uintptr:!0,error:!0,rune:!0,any:!0,comparable:!0},g={true:!0,false:!0,iota:!0,nil:!0,append:!0,cap:!0,close:!0,complex:!0,copy:!0,delete:!0,imag:!0,len:!0,make:!0,new:!0,panic:!0,print:!0,println:!0,real:!0,recover:!0},p=/[+\-*&^%:=<>!|\/]/,u;function l(e,t){var n=e.next();if(n=='"'||n=="'"||n=="`")return t.tokenize=x(n),t.tokenize(e,t);if(/[\d\.]/.test(n))return n=="."?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):n=="0"?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(/[\[\]{}\(\),;\:\.]/.test(n))return u=n,null;if(n=="/"){if(e.eat("*"))return t.tokenize=d,d(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(p.test(n))return e.eatWhile(p),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var r=e.current();return h.propertyIsEnumerable(r)?((r=="case"||r=="default")&&(u="case"),"keyword"):g.propertyIsEnumerable(r)?"atom":"variable"}function x(e){return function(t,n){for(var r=!1,i,o=!1;(i=t.next())!=null;){if(i==e&&!r){o=!0;break}r=!r&&e!="`"&&i=="\\"}return(o||!(r||e=="`"))&&(n.tokenize=l),"string"}}function d(e,t){for(var n=!1,r;r=e.next();){if(r=="/"&&n){t.tokenize=l;break}n=r=="*"}return"comment"}function k(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function c(e,t,n){return e.context=new k(e.indented,t,n,null,e.context)}function s(e){if(e.context.prev){var t=e.context.type;return(t==")"||t=="]"||t=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}}const v={name:"go",startState:function(e){return{tokenize:null,context:new k(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(n.align==null&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0,n.type=="case"&&(n.type="}")),e.eatSpace())return null;u=null;var r=(t.tokenize||l)(e,t);return r=="comment"||(n.align==null&&(n.align=!0),u=="{"?c(t,e.column(),"}"):u=="["?c(t,e.column(),"]"):u=="("?c(t,e.column(),")"):u=="case"?n.type="case":(u=="}"&&n.type=="}"||u==n.type)&&s(t),t.startOfLine=!1),r},indent:function(e,t,n){if(e.tokenize!=l&&e.tokenize!=null)return null;var r=e.context,i=t&&t.charAt(0);if(r.type=="case"&&/^(?:case|default)\b/.test(t))return r.indented;var o=i==r.type;return r.align?r.column+(o?0:1):r.indented+(o?0:n.unit)},languageData:{indentOnInput:/^\s([{}]|case |default\s*:)$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}}}}]); diff --git a/8915.118da73e.async.js b/8915.118da73e.async.js new file mode 100644 index 0000000000..3f2c0520e6 --- /dev/null +++ b/8915.118da73e.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[8915],{68915:function(Y,L,D){D.r(L),D.d(L,{cobol:function(){return u}});var n="builtin",G="comment",S="string",U="atom",i="number",B="keyword",t="header",F="def",l="link";function C(E){for(var T={},I=E.split(" "),R=0;R >= "),N={digit:/\d/,digit_or_colon:/[\d:]/,hex:/[0-9a-f]/i,sign:/[+-]/,exponent:/e/i,keyword_char:/[^\s\(\[\;\)\]]/,symbol:/[\w*+\-]/};function r(E,T){return E==="0"&&T.eat(/x/i)?(T.eatWhile(N.hex),!0):((E=="+"||E=="-")&&N.digit.test(T.peek())&&(T.eat(N.sign),E=T.next()),N.digit.test(E)?(T.eat(E),T.eatWhile(N.digit),T.peek()=="."&&(T.eat("."),T.eatWhile(N.digit)),T.eat(N.exponent)&&(T.eat(N.sign),T.eatWhile(N.digit)),!0):!1)}const u={name:"cobol",startState:function(){return{indentStack:null,indentation:0,mode:!1}},token:function(E,T){if(T.indentStack==null&&E.sol()&&(T.indentation=6),E.eatSpace())return null;var I=null;switch(T.mode){case"string":for(var R=!1;(R=E.next())!=null;)if((R=='"'||R=="'")&&!E.match(/['"]/,!1)){T.mode=!1;break}I=S;break;default:var O=E.next(),A=E.column();if(A>=0&&A<=5)I=F;else if(A>=72&&A<=79)E.skipToEnd(),I=t;else if(O=="*"&&A==6)E.skipToEnd(),I=G;else if(O=='"'||O=="'")T.mode="string",I=S;else if(O=="'"&&!N.digit_or_colon.test(E.peek()))I=U;else if(O==".")I=l;else if(r(O,E))I=i;else{if(E.current().match(N.symbol))for(;A<71&&E.eat(N.symbol)!==void 0;)A++;M&&M.propertyIsEnumerable(E.current().toUpperCase())?I=B:e&&e.propertyIsEnumerable(E.current().toUpperCase())?I=n:P&&P.propertyIsEnumerable(E.current().toUpperCase())?I=U:I=null}}return I},indent:function(E){return E.indentStack==null?E.indentation:E.indentStack.indent}}}}]); diff --git a/9071.1dfcc0a8.async.js b/9071.1dfcc0a8.async.js new file mode 100644 index 0000000000..ab3b79ec71 --- /dev/null +++ b/9071.1dfcc0a8.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[9071],{69071:function(r,l,u){u.r(l),u.d(l,{properties:function(){return f}});const f={name:"properties",token:function(i,e){var o=i.sol()||e.afterSection,t=i.eol();if(e.afterSection=!1,o&&(e.nextMultiline?(e.inMultiline=!0,e.nextMultiline=!1):e.position="def"),t&&!e.nextMultiline&&(e.inMultiline=!1,e.position="def"),o)for(;i.eatSpace(););var n=i.next();return o&&(n==="#"||n==="!"||n===";")?(e.position="comment",i.skipToEnd(),"comment"):o&&n==="["?(e.afterSection=!0,i.skipTo("]"),i.eat("]"),"header"):n==="="||n===":"?(e.position="quote",null):(n==="\\"&&e.position==="quote"&&i.eol()&&(e.nextMultiline=!0),e.position)},startState:function(){return{position:"def",nextMultiline:!1,inMultiline:!1,afterSection:!1}}}}}]); diff --git a/9121.ca79bcfb.async.js b/9121.ca79bcfb.async.js new file mode 100644 index 0000000000..49d5bd95fe --- /dev/null +++ b/9121.ca79bcfb.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[9121],{29121:function(S,i,u){u.r(i),u.d(i,{mbox:function(){return E}});var o=["From","Sender","Reply-To","To","Cc","Bcc","Message-ID","In-Reply-To","References","Resent-From","Resent-Sender","Resent-To","Resent-Cc","Resent-Bcc","Resent-Message-ID","Return-Path","Received"],d=["Date","Subject","Comments","Keywords","Resent-Date"],c=/^[ \t]/,f=/^From /,t=new RegExp("^("+o.join("|")+"): "),m=new RegExp("^("+d.join("|")+"): "),p=/^[^:]+:/,h=/^[^ ]+@[^ ]+/,H=/^.*?(?=[^ ]+?@[^ ]+)/,k=/^<.*?>/,v=/^.*?(?=<.*>)/;function R(e){return e==="Subject"?"header":"string"}function s(e,r){if(e.sol()){if(r.inSeparator=!1,r.inHeader&&e.match(c))return null;if(r.inHeader=!1,r.header=null,e.match(f))return r.inHeaders=!0,r.inSeparator=!0,"atom";var n,l=!1;return(n=e.match(m))||(l=!0)&&(n=e.match(t))?(r.inHeaders=!0,r.inHeader=!0,r.emailPermitted=l,r.header=n[1],"atom"):r.inHeaders&&(n=e.match(p))?(r.inHeader=!0,r.emailPermitted=!0,r.header=n[1],"atom"):(r.inHeaders=!1,e.skipToEnd(),null)}if(r.inSeparator)return e.match(h)?"link":(e.match(H)||e.skipToEnd(),"atom");if(r.inHeader){var a=R(r.header);if(r.emailPermitted){if(e.match(k))return a+" link";if(e.match(v))return a}return e.skipToEnd(),a}return e.skipToEnd(),null}const E={name:"mbox",startState:function(){return{inSeparator:!1,inHeader:!1,emailPermitted:!1,header:null,inHeaders:!1}},token:s,blankLine:function(e){e.inHeaders=e.inSeparator=e.inHeader=!1},languageData:{autocomplete:o.concat(d)}}}}]); diff --git a/9155.77d09dca.async.js b/9155.77d09dca.async.js new file mode 100644 index 0000000000..0526846225 --- /dev/null +++ b/9155.77d09dca.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[9155],{9155:function(g,a,n){n.r(a),n.d(a,{json:function(){return p},jsonLanguage:function(){return o},jsonParseLinter:function(){return c}});var P=n(53105),O=n(35524);const Q=(0,O.Gv)({String:O.pJ.string,Number:O.pJ.number,"True False":O.pJ.bool,PropertyName:O.pJ.propertyName,Null:O.pJ.null,",":O.pJ.separator,"[ ]":O.pJ.squareBracket,"{ }":O.pJ.brace}),i=P.WQ.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"\u26A0 JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[Q],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oc~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Oe~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zOh~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yOg~~'OO]~~'TO[~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0});var r=n(59119);const c=()=>s=>{try{JSON.parse(s.state.doc.toString())}catch(e){if(!(e instanceof SyntaxError))throw e;const t=u(e,s.state.doc);return[{from:t,message:e.message,severity:"error",to:t}]}return[]};function u(s,e){let t;return(t=s.message.match(/at position (\d+)/))?Math.min(+t[1],e.length):(t=s.message.match(/at line (\d+) column (\d+)/))?Math.min(e.line(+t[1]).from+ +t[2]-1,e.length):0}const o=r.qp.define({name:"json",parser:i.configure({props:[r.uj.add({Object:(0,r.tC)({except:/^\s*\}/}),Array:(0,r.tC)({except:/^\s*\]/})}),r.x0.add({"Object Array":r.Dv})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function p(){return new r.ri(o)}}}]); diff --git a/9232.b273f525.async.js b/9232.b273f525.async.js new file mode 100644 index 0000000000..505ea50d5b --- /dev/null +++ b/9232.b273f525.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[9232],{69232:function(T,t,a){a.r(t),a.d(t,{yacas:function(){return m}});function f(e){for(var n={},r=e.split(" "),o=0;o|<|&|\||_|`|'|\^|\?|!|%|#)/,!0,!1)?"operator":"error"}function b(e,n){for(var r,o=!1,i=!1;(r=e.next())!=null;){if(r==='"'&&!i){o=!0;break}i=!i&&r==="\\"}return o&&!i&&(n.tokenize=c),"string"}function g(e,n){for(var r,o;(o=e.next())!=null;){if(r==="*"&&o==="/"){n.tokenize=c;break}r=o}return"comment"}function l(e){var n=null;return e.scopes.length>0&&(n=e.scopes[e.scopes.length-1]),n}const m={name:"yacas",startState:function(){return{tokenize:c,scopes:[]}},token:function(e,n){return e.eatSpace()?null:n.tokenize(e,n)},indent:function(e,n,r){if(e.tokenize!==c&&e.tokenize!==null)return null;var o=0;return(n==="]"||n==="];"||n==="}"||n==="};"||n===");")&&(o=-1),(e.scopes.length+o)*r.unit},languageData:{electricInput:/[{}\[\]()\;]/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}}}}]); diff --git a/9296.ddaba291.async.js b/9296.ddaba291.async.js new file mode 100644 index 0000000000..c403e5a97c --- /dev/null +++ b/9296.ddaba291.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[9296],{59296:function(he,pr,br){br.r(pr),br.d(pr,{javascript:function(){return qr},json:function(){return Br},jsonld:function(){return Fr},typescript:function(){return Jr}});function U(g){var wr=g.statementIndent,ur=g.jsonld,hr=g.json||ur,k=g.typescript,G=g.wordCharacters||/[\w$\xa1-\uffff]/,gr=function(){function r(y){return{type:y,style:"keyword"}}var e=r("keyword a"),t=r("keyword b"),f=r("keyword c"),u=r("keyword d"),c=r("operator"),m={type:"atom",style:"atom"};return{if:r("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:u,break:u,continue:u,new:r("new"),delete:f,void:f,throw:f,debugger:r("debugger"),var:r("var"),const:r("var"),let:r("var"),function:r("function"),catch:r("catch"),for:r("for"),switch:r("switch"),case:r("case"),default:r("default"),in:c,typeof:c,instanceof:c,true:m,false:m,null:m,undefined:m,NaN:m,Infinity:m,this:r("this"),class:r("class"),super:r("atom"),yield:f,export:r("export"),import:r("import"),extends:f,await:f}}(),xr=/[+\-*&%=<>!?|~^@]/,Mr=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function Dr(r){for(var e=!1,t,f=!1;(t=r.next())!=null;){if(!e){if(t=="/"&&!f)return;t=="["?f=!0:f&&t=="]"&&(f=!1)}e=!e&&t=="\\"}}var D,H;function b(r,e,t){return D=r,H=t,e}function S(r,e){var t=r.next();if(t=='"'||t=="'")return e.tokenize=Lr(t),e.tokenize(r,e);if(t=="."&&r.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return b("number","number");if(t=="."&&r.match(".."))return b("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(t))return b(t);if(t=="="&&r.eat(">"))return b("=>","operator");if(t=="0"&&r.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return b("number","number");if(/\d/.test(t))return r.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),b("number","number");if(t=="/")return r.eat("*")?(e.tokenize=X,X(r,e)):r.eat("/")?(r.skipToEnd(),b("comment","comment")):we(r,e,1)?(Dr(r),r.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),b("regexp","string.special")):(r.eat("="),b("operator","operator",r.current()));if(t=="`")return e.tokenize=L,L(r,e);if(t=="#"&&r.peek()=="!")return r.skipToEnd(),b("meta","meta");if(t=="#"&&r.eatWhile(G))return b("variable","property");if(t=="<"&&r.match("!--")||t=="-"&&r.match("->")&&!/\S/.test(r.string.slice(0,r.start)))return r.skipToEnd(),b("comment","comment");if(xr.test(t))return(t!=">"||!e.lexical||e.lexical.type!=">")&&(r.eat("=")?(t=="!"||t=="=")&&r.eat("="):/[<>*+\-|&?]/.test(t)&&(r.eat(t),t==">"&&r.eat(t))),t=="?"&&r.eat(".")?b("."):b("operator","operator",r.current());if(G.test(t)){r.eatWhile(G);var f=r.current();if(e.lastType!="."){if(gr.propertyIsEnumerable(f)){var u=gr[f];return b(u.type,u.style,f)}if(f=="async"&&r.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return b("async","keyword",f)}return b("variable","variable",f)}}function Lr(r){return function(e,t){var f=!1,u;if(ur&&e.peek()=="@"&&e.match(Mr))return t.tokenize=S,b("jsonld-keyword","meta");for(;(u=e.next())!=null&&!(u==r&&!f);)f=!f&&u=="\\";return f||(t.tokenize=S),b("string","string")}}function X(r,e){for(var t=!1,f;f=r.next();){if(f=="/"&&t){e.tokenize=S;break}t=f=="*"}return b("comment","comment")}function L(r,e){for(var t=!1,f;(f=r.next())!=null;){if(!t&&(f=="`"||f=="$"&&r.eat("{"))){e.tokenize=S;break}t=!t&&f=="\\"}return b("quasi","string.special",r.current())}var Pr="([{}])";function ar(r,e){e.fatArrowAt&&(e.fatArrowAt=null);var t=r.string.indexOf("=>",r.start);if(!(t<0)){if(k){var f=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(r.string.slice(r.start,t));f&&(t=f.index)}for(var u=0,c=!1,m=t-1;m>=0;--m){var y=r.string.charAt(m),v=Pr.indexOf(y);if(v>=0&&v<3){if(!u){++m;break}if(--u==0){y=="("&&(c=!0);break}}else if(v>=3&&v<6)++u;else if(G.test(y))c=!0;else if(/["'\/`]/.test(y))for(;;--m){if(m==0)return;var K=r.string.charAt(m-1);if(K==y&&r.string.charAt(m-2)!="\\"){m--;break}}else if(c&&!u){++m;break}}c&&!u&&(e.fatArrowAt=m)}}var Qr={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function yr(r,e,t,f,u,c){this.indented=r,this.column=e,this.type=t,this.prev=u,this.info=c,f!=null&&(this.align=f)}function Rr(r,e){for(var t=r.localVars;t;t=t.next)if(t.name==e)return!0;for(var f=r.context;f;f=f.prev)for(var t=f.vars;t;t=t.next)if(t.name==e)return!0}function Wr(r,e,t,f,u){var c=r.cc;for(i.state=r,i.stream=u,i.marked=null,i.cc=c,i.style=e,r.lexical.hasOwnProperty("align")||(r.lexical.align=!0);;){var m=c.length?c.pop():hr?p:w;if(m(t,f)){for(;c.length&&c[c.length-1].lex;)c.pop()();return i.marked?i.marked:t=="variable"&&Rr(r,f)?"variableName.local":e}}}var i={state:null,column:null,marked:null,cc:null};function o(){for(var r=arguments.length-1;r>=0;r--)i.cc.push(arguments[r])}function n(){return o.apply(null,arguments),!0}function or(r,e){for(var t=e;t;t=t.next)if(t.name==r)return!0;return!1}function N(r){var e=i.state;if(i.marked="def",e.context){if(e.lexical.info=="var"&&e.context&&e.context.block){var t=vr(r,e.context);if(t!=null){e.context=t;return}}else if(!or(r,e.localVars)){e.localVars=new Q(r,e.localVars);return}}g.globalVars&&!or(r,e.globalVars)&&(e.globalVars=new Q(r,e.globalVars))}function vr(r,e){if(e)if(e.block){var t=vr(r,e.prev);return t?t==e.prev?e:new P(t,e.vars,!0):null}else return or(r,e.vars)?e:new P(e.prev,new Q(r,e.vars),!1);else return null}function Y(r){return r=="public"||r=="private"||r=="protected"||r=="abstract"||r=="readonly"}function P(r,e,t){this.prev=r,this.vars=e,this.block=t}function Q(r,e){this.name=r,this.next=e}var Kr=new Q("this",new Q("arguments",null));function E(){i.state.context=new P(i.state.context,i.state.localVars,!1),i.state.localVars=Kr}function Z(){i.state.context=new P(i.state.context,i.state.localVars,!0),i.state.localVars=null}E.lex=Z.lex=!0;function T(){i.state.localVars=i.state.context.vars,i.state.context=i.state.context.prev}T.lex=!0;function s(r,e){var t=function(){var f=i.state,u=f.indented;if(f.lexical.type=="stat")u=f.lexical.indented;else for(var c=f.lexical;c&&c.type==")"&&c.align;c=c.prev)u=c.indented;f.lexical=new yr(u,i.stream.column(),r,null,f.lexical,e)};return t.lex=!0,t}function a(){var r=i.state;r.lexical.prev&&(r.lexical.type==")"&&(r.indented=r.lexical.indented),r.lexical=r.lexical.prev)}a.lex=!0;function l(r){function e(t){return t==r?n():r==";"||t=="}"||t==")"||t=="]"?o():n(e)}return e}function w(r,e){return r=="var"?n(s("vardef",e),mr,l(";"),a):r=="keyword a"?n(s("form"),sr,w,a):r=="keyword b"?n(s("form"),w,a):r=="keyword d"?i.stream.match(/^\s*$/,!1)?n():n(s("stat"),q,l(";"),a):r=="debugger"?n(l(";")):r=="{"?n(s("}"),Z,er,a,T):r==";"?n():r=="if"?(i.state.lexical.info=="else"&&i.state.cc[i.state.cc.length-1]==a&&i.state.cc.pop()(),n(s("form"),sr,w,a,zr)):r=="function"?n(z):r=="for"?n(s("form"),Z,Sr,w,T,a):r=="class"||k&&e=="interface"?(i.marked="keyword",n(s("form",r=="class"?r:e),Ir,a)):r=="variable"?k&&e=="declare"?(i.marked="keyword",n(w)):k&&(e=="module"||e=="enum"||e=="type")&&i.stream.match(/^\s*\w/,!1)?(i.marked="keyword",e=="enum"?n(Nr):e=="type"?n(Er,l("operator"),d,l(";")):n(s("form"),V,l("{"),s("}"),er,a,a)):k&&e=="namespace"?(i.marked="keyword",n(s("form"),p,w,a)):k&&e=="abstract"?(i.marked="keyword",n(w)):n(s("stat"),Zr):r=="switch"?n(s("form"),sr,l("{"),s("}","switch"),Z,er,a,a,T):r=="case"?n(p,l(":")):r=="default"?n(l(":")):r=="catch"?n(s("form"),E,Ur,w,a,T):r=="export"?n(s("stat"),ce,a):r=="import"?n(s("stat"),de,a):r=="async"?n(w):e=="@"?n(p,w):o(s("stat"),p,l(";"),a)}function Ur(r){if(r=="(")return n(O,l(")"))}function p(r,e){return Tr(r,e,!1)}function x(r,e){return Tr(r,e,!0)}function sr(r){return r!="("?o():n(s(")"),q,l(")"),a)}function Tr(r,e,t){if(i.state.fatArrowAt==i.stream.start){var f=t?jr:Vr;if(r=="(")return n(E,s(")"),h(O,")"),a,l("=>"),f,T);if(r=="variable")return o(E,V,l("=>"),f,T)}var u=t?B:I;return Qr.hasOwnProperty(r)?n(u):r=="function"?n(z,u):r=="class"||k&&e=="interface"?(i.marked="keyword",n(s("form"),le,a)):r=="keyword c"||r=="async"?n(t?x:p):r=="("?n(s(")"),q,l(")"),a,u):r=="operator"||r=="spread"?n(t?x:p):r=="["?n(s("]"),ke,a,u):r=="{"?R(rr,"}",null,u):r=="quasi"?o(C,u):r=="new"?n(Hr(t)):n()}function q(r){return r.match(/[;\}\)\],]/)?o():o(p)}function I(r,e){return r==","?n(q):B(r,e,!1)}function B(r,e,t){var f=t==!1?I:B,u=t==!1?p:x;if(r=="=>")return n(E,t?jr:Vr,T);if(r=="operator")return/\+\+|--/.test(e)||k&&e=="!"?n(f):k&&e=="<"&&i.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?n(s(">"),h(d,">"),a,f):e=="?"?n(p,l(":"),u):n(u);if(r=="quasi")return o(C,f);if(r!=";"){if(r=="(")return R(x,")","call",f);if(r==".")return n(Cr,f);if(r=="[")return n(s("]"),q,l("]"),a,f);if(k&&e=="as")return i.marked="keyword",n(d,f);if(r=="regexp")return i.state.lastType=i.marked="operator",i.stream.backUp(i.stream.pos-i.stream.start-1),n(u)}}function C(r,e){return r!="quasi"?o():e.slice(e.length-2)!="${"?n(C):n(q,Gr)}function Gr(r){if(r=="}")return i.marked="string.special",i.state.tokenize=L,n(C)}function Vr(r){return ar(i.stream,i.state),o(r=="{"?w:p)}function jr(r){return ar(i.stream,i.state),o(r=="{"?w:x)}function Hr(r){return function(e){return e=="."?n(r?Yr:Xr):e=="variable"&&k?n(fe,r?B:I):o(r?x:p)}}function Xr(r,e){if(e=="target")return i.marked="keyword",n(I)}function Yr(r,e){if(e=="target")return i.marked="keyword",n(B)}function Zr(r){return r==":"?n(a,w):o(I,l(";"),a)}function Cr(r){if(r=="variable")return i.marked="property",n()}function rr(r,e){if(r=="async")return i.marked="property",n(rr);if(r=="variable"||i.style=="keyword"){if(i.marked="property",e=="get"||e=="set")return n(re);var t;return k&&i.state.fatArrowAt==i.stream.start&&(t=i.stream.match(/^\s*:\s*/,!1))&&(i.state.fatArrowAt=i.stream.pos+t[0].length),n($)}else{if(r=="number"||r=="string")return i.marked=ur?"property":i.style+" property",n($);if(r=="jsonld-keyword")return n($);if(k&&Y(e))return i.marked="keyword",n(rr);if(r=="[")return n(p,F,l("]"),$);if(r=="spread")return n(x,$);if(e=="*")return i.marked="keyword",n(rr);if(r==":")return o($)}}function re(r){return r!="variable"?o($):(i.marked="property",n(z))}function $(r){if(r==":")return n(x);if(r=="(")return o(z)}function h(r,e,t){function f(u,c){if(t?t.indexOf(u)>-1:u==","){var m=i.state.lexical;return m.info=="call"&&(m.pos=(m.pos||0)+1),n(function(y,v){return y==e||v==e?o():o(r)},f)}return u==e||c==e?n():t&&t.indexOf(";")>-1?o(r):n(l(e))}return function(u,c){return u==e||c==e?n():o(r,f)}}function R(r,e,t){for(var f=3;f"),d);if(r=="quasi")return o(cr,j)}function te(r){if(r=="=>")return n(d)}function lr(r){return r.match(/[\}\)\]]/)?n():r==","||r==";"?n(lr):o(W,lr)}function W(r,e){if(r=="variable"||i.style=="keyword")return i.marked="property",n(W);if(e=="?"||r=="number"||r=="string")return n(W);if(r==":")return n(d);if(r=="[")return n(l("variable"),ee,l("]"),W);if(r=="(")return o(M,W);if(!r.match(/[;\}\)\],]/))return n()}function cr(r,e){return r!="quasi"?o():e.slice(e.length-2)!="${"?n(cr):n(d,ie)}function ie(r){if(r=="}")return i.marked="string.special",i.state.tokenize=L,n(cr)}function dr(r,e){return r=="variable"&&i.stream.match(/^\s*[?:]/,!1)||e=="?"?n(dr):r==":"?n(d):r=="spread"?n(dr):o(d)}function j(r,e){if(e=="<")return n(s(">"),h(d,">"),a,j);if(e=="|"||r=="."||e=="&")return n(d);if(r=="[")return n(d,l("]"),j);if(e=="extends"||e=="implements")return i.marked="keyword",n(d);if(e=="?")return n(d,l(":"),d)}function fe(r,e){if(e=="<")return n(s(">"),h(d,">"),a,j)}function nr(){return o(d,ue)}function ue(r,e){if(e=="=")return n(d)}function mr(r,e){return e=="enum"?(i.marked="keyword",n(Nr)):o(V,F,_,oe)}function V(r,e){if(k&&Y(e))return i.marked="keyword",n(V);if(r=="variable")return N(e),n();if(r=="spread")return n(V);if(r=="[")return R(ae,"]");if(r=="{")return R(_r,"}")}function _r(r,e){return r=="variable"&&!i.stream.match(/^\s*:/,!1)?(N(e),n(_)):(r=="variable"&&(i.marked="property"),r=="spread"?n(V):r=="}"?o():r=="["?n(p,l("]"),l(":"),_r):n(l(":"),V,_))}function ae(){return o(V,_)}function _(r,e){if(e=="=")return n(x)}function oe(r){if(r==",")return n(mr)}function zr(r,e){if(r=="keyword b"&&e=="else")return n(s("form","else"),w,a)}function Sr(r,e){if(e=="await")return n(Sr);if(r=="(")return n(s(")"),se,a)}function se(r){return r=="var"?n(mr,J):r=="variable"?n(J):o(J)}function J(r,e){return r==")"?n():r==";"?n(J):e=="in"||e=="of"?(i.marked="keyword",n(p,J)):o(p,J)}function z(r,e){if(e=="*")return i.marked="keyword",n(z);if(r=="variable")return N(e),n(z);if(r=="(")return n(E,s(")"),h(O,")"),a,Ar,w,T);if(k&&e=="<")return n(s(">"),h(nr,">"),a,z)}function M(r,e){if(e=="*")return i.marked="keyword",n(M);if(r=="variable")return N(e),n(M);if(r=="(")return n(E,s(")"),h(O,")"),a,Ar,T);if(k&&e=="<")return n(s(">"),h(nr,">"),a,M)}function Er(r,e){if(r=="keyword"||r=="variable")return i.marked="type",n(Er);if(e=="<")return n(s(">"),h(nr,">"),a)}function O(r,e){return e=="@"&&n(p,O),r=="spread"?n(O):k&&Y(e)?(i.marked="keyword",n(O)):k&&r=="this"?n(F,_):o(V,F,_)}function le(r,e){return r=="variable"?Ir(r,e):tr(r,e)}function Ir(r,e){if(r=="variable")return N(e),n(tr)}function tr(r,e){if(e=="<")return n(s(">"),h(nr,">"),a,tr);if(e=="extends"||e=="implements"||k&&r==",")return e=="implements"&&(i.marked="keyword"),n(k?d:p,tr);if(r=="{")return n(s("}"),A,a)}function A(r,e){if(r=="async"||r=="variable"&&(e=="static"||e=="get"||e=="set"||k&&Y(e))&&i.stream.match(/^\s+#?[\w$\xa1-\uffff]/,!1))return i.marked="keyword",n(A);if(r=="variable"||i.style=="keyword")return i.marked="property",n(ir,A);if(r=="number"||r=="string")return n(ir,A);if(r=="[")return n(p,F,l("]"),ir,A);if(e=="*")return i.marked="keyword",n(A);if(k&&r=="(")return o(M,A);if(r==";"||r==",")return n(A);if(r=="}")return n();if(e=="@")return n(p,A)}function ir(r,e){if(e=="!"||e=="?")return n(ir);if(r==":")return n(d,_);if(e=="=")return n(x);var t=i.state.lexical.prev,f=t&&t.info=="interface";return o(f?M:z)}function ce(r,e){return e=="*"?(i.marked="keyword",n(kr,l(";"))):e=="default"?(i.marked="keyword",n(p,l(";"))):r=="{"?n(h($r,"}"),kr,l(";")):o(w)}function $r(r,e){if(e=="as")return i.marked="keyword",n(l("variable"));if(r=="variable")return o(x,$r)}function de(r){return r=="string"?n():r=="("?o(p):r=="."?o(I):o(fr,Or,kr)}function fr(r,e){return r=="{"?R(fr,"}"):(r=="variable"&&N(e),e=="*"&&(i.marked="keyword"),n(me))}function Or(r){if(r==",")return n(fr,Or)}function me(r,e){if(e=="as")return i.marked="keyword",n(fr)}function kr(r,e){if(e=="from")return i.marked="keyword",n(p)}function ke(r){return r=="]"?n():o(h(x,"]"))}function Nr(){return o(s("form"),V,l("{"),s("}"),h(pe,"}"),a,a)}function pe(){return o(V,_)}function be(r,e){return r.lastType=="operator"||r.lastType==","||xr.test(e.charAt(0))||/[,.]/.test(e.charAt(0))}function we(r,e,t){return e.tokenize==S&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(e.lastType)||e.lastType=="quasi"&&/\{\s*$/.test(r.string.slice(0,r.pos-(t||0)))}return{name:g.name,startState:function(r){var e={tokenize:S,lastType:"sof",cc:[],lexical:new yr(-r,0,"block",!1),localVars:g.localVars,context:g.localVars&&new P(null,null,!1),indented:0};return g.globalVars&&typeof g.globalVars=="object"&&(e.globalVars=g.globalVars),e},token:function(r,e){if(r.sol()&&(e.lexical.hasOwnProperty("align")||(e.lexical.align=!1),e.indented=r.indentation(),ar(r,e)),e.tokenize!=X&&r.eatSpace())return null;var t=e.tokenize(r,e);return D=="comment"?t:(e.lastType=D=="operator"&&(H=="++"||H=="--")?"incdec":D,Wr(e,t,D,H,r))},indent:function(r,e,t){if(r.tokenize==X||r.tokenize==L)return null;if(r.tokenize!=S)return 0;var f=e&&e.charAt(0),u=r.lexical,c;if(!/^\s*else\b/.test(e))for(var m=r.cc.length-1;m>=0;--m){var y=r.cc[m];if(y==a)u=u.prev;else if(y!=zr&&y!=T)break}for(;(u.type=="stat"||u.type=="form")&&(f=="}"||(c=r.cc[r.cc.length-1])&&(c==I||c==B)&&!/^[,\.=+\-*:?[\(]/.test(e));)u=u.prev;wr&&u.type==")"&&u.prev.type=="stat"&&(u=u.prev);var v=u.type,K=f==v;return v=="vardef"?u.indented+(r.lastType=="operator"||r.lastType==","?u.info.length+1:0):v=="form"&&f=="{"?u.indented:v=="form"?u.indented+t.unit:v=="stat"?u.indented+(be(r,e)?wr||t.unit:0):u.info=="switch"&&!K&&g.doubleIndentSwitch!=!1?u.indented+(/^(?:case|default)\b/.test(e)?t.unit:2*t.unit):u.align?u.column+(K?0:1):u.indented+(K?0:t.unit)},languageData:{indentOnInput:/^\s*(?:case .*?:|default:|\{|\})$/,commentTokens:hr?void 0:{line:"//",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]},wordChars:"$"}}}const qr=U({name:"javascript"}),Br=U({name:"json",json:!0}),Fr=U({name:"json",jsonld:!0}),Jr=U({name:"typescript",typescript:!0})}}]); diff --git a/9558.ebeebbdc.async.js b/9558.ebeebbdc.async.js new file mode 100644 index 0000000000..81d9f41106 --- /dev/null +++ b/9558.ebeebbdc.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[9558],{29558:function($,h,t){t.r(h),t.d(h,{coffeeScript:function(){return Z}});var k="error";function l(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var w=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,a=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,g=/^[_A-Za-z$][_A-Za-z$0-9]*/,z=/^@[_A-Za-z$][_A-Za-z$0-9]*/,b=l(["and","or","not","is","isnt","in","instanceof","typeof"]),p=["for","while","loop","if","unless","else","switch","try","catch","finally","class"],x=["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"],A=l(p.concat(x));p=l(p);var S=/^('{3}|\"{3}|['\"])/,C=/^(\/{3}|\/)/,O=["Infinity","NaN","undefined","null","true","false","on","off","yes","no"],R=l(O);function u(e,n){if(e.sol()){n.scope.align===null&&(n.scope.align=!1);var i=n.scope.offset;if(e.eatSpace()){var f=e.indentation();return f>i&&n.scope.type=="coffee"?"indent":f0&&v(e,n)}if(e.eatSpace())return null;var r=e.peek();if(e.match("####"))return e.skipToEnd(),"comment";if(e.match("###"))return n.tokenize=_,n.tokenize(e,n);if(r==="#")return e.skipToEnd(),"comment";if(e.match(/^-?[0-9\.]/,!1)){var c=!1;if(e.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&(c=!0),e.match(/^-?\d+\.\d*/)&&(c=!0),e.match(/^-?\.\d+/)&&(c=!0),c)return e.peek()=="."&&e.backUp(1),"number";var o=!1;if(e.match(/^-?0x[0-9a-f]+/i)&&(o=!0),e.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(o=!0),e.match(/^-?0(?![\dx])/i)&&(o=!0),o)return"number"}if(e.match(S))return n.tokenize=y(e.current(),!1,"string"),n.tokenize(e,n);if(e.match(C)){if(e.current()!="/"||e.match(/^.*\//,!1))return n.tokenize=y(e.current(),!0,"string.special"),n.tokenize(e,n);e.backUp(1)}return e.match(w)||e.match(b)?"operator":e.match(a)?"punctuation":e.match(R)?"atom":e.match(z)||n.prop&&e.match(g)?"property":e.match(A)?"keyword":e.match(g)?"variable":(e.next(),k)}function y(e,n,i){return function(f,r){for(;!f.eol();)if(f.eatWhile(/[^'"\/\\]/),f.eat("\\")){if(f.next(),n&&f.eol())return i}else{if(f.match(e))return r.tokenize=u,i;f.eat(/['"\/]/)}return n&&(r.tokenize=u),i}}function _(e,n){for(;!e.eol();){if(e.eatWhile(/[^#]/),e.match("###")){n.tokenize=u;break}e.eatWhile("#")}return"comment"}function d(e,n,i="coffee"){for(var f=0,r=!1,c=null,o=n.scope;o;o=o.prev)if(o.type==="coffee"||o.type=="}"){f=o.offset+e.indentUnit;break}i!=="coffee"?(r=null,c=e.column()+e.current().length):n.scope.align&&(n.scope.align=!1),n.scope={offset:f,type:i,prev:n.scope,align:r,alignOffset:c}}function v(e,n){if(n.scope.prev)if(n.scope.type==="coffee"){for(var i=e.indentation(),f=!1,r=n.scope;r;r=r.prev)if(i===r.offset){f=!0;break}if(!f)return!0;for(;n.scope.prev&&n.scope.offset!==i;)n.scope=n.scope.prev;return!1}else return n.scope=n.scope.prev,!1}function E(e,n){var i=n.tokenize(e,n),f=e.current();f==="return"&&(n.dedent=!0),((f==="->"||f==="=>")&&e.eol()||i==="indent")&&d(e,n);var r="[({".indexOf(f);if(r!==-1&&d(e,n,"])}".slice(r,r+1)),p.exec(f)&&d(e,n),f=="then"&&v(e,n),i==="dedent"&&v(e,n))return k;if(r="])}".indexOf(f),r!==-1){for(;n.scope.type=="coffee"&&n.scope.prev;)n.scope=n.scope.prev;n.scope.type==f&&(n.scope=n.scope.prev)}return n.dedent&&e.eol()&&(n.scope.type=="coffee"&&n.scope.prev&&(n.scope=n.scope.prev),n.dedent=!1),i=="indent"||i=="dedent"?null:i}const Z={name:"coffeescript",startState:function(){return{tokenize:u,scope:{offset:0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(e,n){var i=n.scope.align===null&&n.scope;i&&e.sol()&&(i.align=!1);var f=E(e,n);return f&&f!="comment"&&(i&&(i.align=!0),n.prop=f=="punctuation"&&e.current()=="."),f},indent:function(e,n){if(e.tokenize!=u)return 0;var i=e.scope,f=n&&"])}".indexOf(n.charAt(0))>-1;if(f)for(;i.type=="coffee"&&i.prev;)i=i.prev;var r=f&&i.type===n.charAt(0);return i.align?i.alignOffset-(r?1:0):(r?i.prev:i).offset},languageData:{commentTokens:{line:"#"}}}}}]); diff --git a/9607.36d8d4dc.async.js b/9607.36d8d4dc.async.js new file mode 100644 index 0000000000..47690e414c --- /dev/null +++ b/9607.36d8d4dc.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[9607],{54050:function(Z,_,y){y.r(_),y.d(_,{cassandra:function(){return B},esper:function(){return W},gpSQL:function(){return A},gql:function(){return E},hive:function(){return O},mariaDB:function(){return F},msSQL:function(){return j},mySQL:function(){return N},pgSQL:function(){return $},plSQL:function(){return D},sparkSQL:function(){return P},sql:function(){return s},sqlite:function(){return T},standardSQL:function(){return L}});function s(n){var c=n.client||{},h=n.atoms||{false:!0,true:!0,null:!0},p=n.builtin||e(x),H=n.keywords||e(d),w=n.operatorChars||/^[*+\-%<>!=&|~^\/]/,o=n.support||{},k=n.hooks||{},R=n.dateSQL||{date:!0,time:!0,timestamp:!0},I=n.backslashStringEscapes!==!1,U=n.brackets||/^[\{}\(\)\[\]]/,q=n.punctuation||/^[;.,:]/;function g(t,a){var r=t.next();if(k[r]){var i=k[r](t,a);if(i!==!1)return i}if(o.hexNumber&&(r=="0"&&t.match(/^[xX][0-9a-fA-F]+/)||(r=="x"||r=="X")&&t.match(/^'[0-9a-fA-F]*'/)))return"number";if(o.binaryNumber&&((r=="b"||r=="B")&&t.match(/^'[01]+'/)||r=="0"&&t.match(/^b[01]*/)))return"number";if(r.charCodeAt(0)>47&&r.charCodeAt(0)<58)return t.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/),o.decimallessFloat&&t.match(/^\.(?!\.)/),"number";if(r=="?"&&(t.eatSpace()||t.eol()||t.eat(";")))return"macroName";if(r=="'"||r=='"'&&o.doubleQuote)return a.tokenize=z(r),a.tokenize(t,a);if((o.nCharCast&&(r=="n"||r=="N")||o.charsetCast&&r=="_"&&t.match(/[a-z][a-z0-9]*/i))&&(t.peek()=="'"||t.peek()=='"'))return"keyword";if(o.escapeConstant&&(r=="e"||r=="E")&&(t.peek()=="'"||t.peek()=='"'&&o.doubleQuote))return a.tokenize=function(m,C){return(C.tokenize=z(m.next(),!0))(m,C)},"keyword";if(o.commentSlashSlash&&r=="/"&&t.eat("/"))return t.skipToEnd(),"comment";if(o.commentHash&&r=="#"||r=="-"&&t.eat("-")&&(!o.commentSpaceRequired||t.eat(" ")))return t.skipToEnd(),"comment";if(r=="/"&&t.eat("*"))return a.tokenize=f(1),a.tokenize(t,a);if(r=="."){if(o.zerolessFloat&&t.match(/^(?:\d+(?:e[+-]?\d+)?)/i))return"number";if(t.match(/^\.+/))return null;if(o.ODBCdotTable&&t.match(/^[\w\d_$#]+/))return"type"}else{if(w.test(r))return t.eatWhile(w),"operator";if(U.test(r))return"bracket";if(q.test(r))return t.eatWhile(q),"punctuation";if(r=="{"&&(t.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||t.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return"number";t.eatWhile(/^[_\w\d]/);var l=t.current().toLowerCase();return R.hasOwnProperty(l)&&(t.match(/^( )+'[^']*'/)||t.match(/^( )+"[^"]*"/))?"number":h.hasOwnProperty(l)?"atom":p.hasOwnProperty(l)?"type":H.hasOwnProperty(l)?"keyword":c.hasOwnProperty(l)?"builtin":null}}function z(t,a){return function(r,i){for(var l=!1,m;(m=r.next())!=null;){if(m==t&&!l){i.tokenize=g;break}l=(I||a)&&!l&&m=="\\"}return"string"}}function f(t){return function(a,r){var i=a.match(/^.*?(\/\*|\*\/)/);return i?i[1]=="/*"?r.tokenize=f(t+1):t>1?r.tokenize=f(t-1):r.tokenize=g:a.skipToEnd(),"comment"}}function S(t,a,r){a.context={prev:a.context,indent:t.indentation(),col:t.column(),type:r}}function X(t){t.indent=t.context.indent,t.context=t.context.prev}return{name:"sql",startState:function(){return{tokenize:g,context:null}},token:function(t,a){if(t.sol()&&a.context&&a.context.align==null&&(a.context.align=!1),a.tokenize==g&&t.eatSpace())return null;var r=a.tokenize(t,a);if(r=="comment")return r;a.context&&a.context.align==null&&(a.context.align=!0);var i=t.current();return i=="("?S(t,a,")"):i=="["?S(t,a,"]"):a.context&&a.context.type==i&&X(a),r},indent:function(t,a,r){var i=t.context;if(!i)return null;var l=a.charAt(0)==i.type;return i.align?i.col+(l?0:1):i.indent+(l?0:r.unit)},languageData:{commentTokens:{line:o.commentSlashSlash?"//":o.commentHash?"#":"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}}}function b(n){for(var c;(c=n.next())!=null;)if(c=="`"&&!n.eat("`"))return"string.special";return n.backUp(n.current().length-1),n.eatWhile(/\w/)?"string.special":null}function Q(n){for(var c;(c=n.next())!=null;)if(c=='"'&&!n.eat('"'))return"string.special";return n.backUp(n.current().length-1),n.eatWhile(/\w/)?"string.special":null}function u(n){return n.eat("@")&&(n.match("session."),n.match("local."),n.match("global.")),n.eat("'")?(n.match(/^.*'/),"string.special"):n.eat('"')?(n.match(/^.*"/),"string.special"):n.eat("`")?(n.match(/^.*`/),"string.special"):n.match(/^[0-9a-zA-Z$\.\_]+/)?"string.special":null}function v(n){return n.eat("N")?"atom":n.match(/^[a-zA-Z.#!?]/)?"string.special":null}var d="alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit ";function e(n){for(var c={},h=n.split(" "),p=0;p!=^\&|\/]/,brackets:/^[\{}\(\)]/,punctuation:/^[;.,:/]/,backslashStringEscapes:!1,dateSQL:e("date datetimeoffset datetime2 smalldatetime datetime time"),hooks:{"@":u}}),N=s({client:e("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:e(d+"accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group group_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:e("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:e("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:e("date time timestamp"),support:e("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":u,"`":b,"\\":v}}),F=s({client:e("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:e(d+"accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group group_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:e("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:e("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:e("date time timestamp"),support:e("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":u,"`":b,"\\":v}}),T=s({client:e("auth backup bail binary changes check clone databases dbinfo dump echo eqp exit explain fullschema headers help import imposter indexes iotrace limit lint load log mode nullvalue once open output print prompt quit read restore save scanstats schema separator session shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width"),keywords:e(d+"abort action add after all analyze attach autoincrement before begin cascade case cast check collate column commit conflict constraint cross current_date current_time current_timestamp database default deferrable deferred detach each else end escape except exclusive exists explain fail for foreign full glob if ignore immediate index indexed initially inner instead intersect isnull key left limit match natural no notnull null of offset outer plan pragma primary query raise recursive references regexp reindex release rename replace restrict right rollback row savepoint temp temporary then to transaction trigger unique using vacuum view virtual when with without"),builtin:e("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text clob bigint int int2 int8 integer float double char varchar date datetime year unsigned signed numeric real"),atoms:e("null current_date current_time current_timestamp"),operatorChars:/^[*+\-%<>!=&|/~]/,dateSQL:e("date time timestamp datetime"),support:e("decimallessFloat zerolessFloat"),identifierQuote:'"',hooks:{"@":u,":":u,"?":u,$:u,'"':Q,"`":b}}),B=s({client:{},keywords:e("add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime"),builtin:e("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:e("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:e("commentSlashSlash decimallessFloat"),hooks:{}}),D=s({client:e("appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap"),keywords:e("abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work"),builtin:e("abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least length lengthb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml"),operatorChars:/^[*\/+\-%<>!=~]/,dateSQL:e("date time timestamp"),support:e("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")}),O=s({keywords:e("select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with admin authorization char compact compactions conf cube current current_date current_timestamp day decimal defined dependency directories elem_type exchange file following for grouping hour ignore inner interval jar less logical macro minute month more none noscan over owner partialscan preceding pretty principals protection reload rewrite role roles rollup rows second server sets skewed transactions truncate unbounded unset uri user values window year"),builtin:e("bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype key_type utctimestamp value_type varchar"),atoms:e("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:e("date timestamp"),support:e("ODBCdotTable doubleQuote binaryNumber hexNumber")}),$=s({client:e("source"),keywords:e(d+"a abort abs absent absolute access according action ada add admin after aggregate alias all allocate also alter always analyse analyze and any are array array_agg array_max_cardinality as asc asensitive assert assertion assignment asymmetric at atomic attach attribute attributes authorization avg backward base64 before begin begin_frame begin_partition bernoulli between bigint binary bit bit_length blob blocked bom boolean both breadth by c cache call called cardinality cascade cascaded case cast catalog catalog_name ceil ceiling chain char char_length character character_length character_set_catalog character_set_name character_set_schema characteristics characters check checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema collect column column_name columns command_function command_function_code comment comments commit committed concurrently condition condition_number configuration conflict connect connection connection_name constant constraint constraint_catalog constraint_name constraint_schema constraints constructor contains content continue control conversion convert copy corr corresponding cost count covar_pop covar_samp create cross csv cube cume_dist current current_catalog current_date current_default_transform_group current_path current_role current_row current_schema current_time current_timestamp current_transform_group_for_type current_user cursor cursor_name cycle data database datalink datatype date datetime_interval_code datetime_interval_precision day db deallocate debug dec decimal declare default defaults deferrable deferred defined definer degree delete delimiter delimiters dense_rank depends depth deref derived desc describe descriptor detach detail deterministic diagnostics dictionary disable discard disconnect dispatch distinct dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue do document domain double drop dump dynamic dynamic_function dynamic_function_code each element else elseif elsif empty enable encoding encrypted end end_frame end_partition endexec enforced enum equals errcode error escape event every except exception exclude excluding exclusive exec execute exists exit exp explain expression extension external extract false family fetch file filter final first first_value flag float floor following for force foreach foreign fortran forward found frame_row free freeze from fs full function functions fusion g general generated get global go goto grant granted greatest group grouping groups handler having header hex hierarchy hint hold hour id identity if ignore ilike immediate immediately immutable implementation implicit import in include including increment indent index indexes indicator info inherit inherits initially inline inner inout input insensitive insert instance instantiable instead int integer integrity intersect intersection interval into invoker is isnull isolation join k key key_member key_type label lag language large last last_value lateral lead leading leakproof least left length level library like like_regex limit link listen ln load local localtime localtimestamp location locator lock locked log logged loop lower m map mapping match matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text method min minute minvalue mod mode modifies module month more move multiset mumps name names namespace national natural nchar nclob nesting new next nfc nfd nfkc nfkd nil no none normalize normalized not nothing notice notify notnull nowait nth_value ntile null nullable nullif nulls number numeric object occurrences_regex octet_length octets of off offset oids old on only open operator option options or order ordering ordinality others out outer output over overlaps overlay overriding owned owner p pad parallel parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partial partition pascal passing passthrough password path percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding precision prepare prepared preserve primary print_strict_params prior privileges procedural procedure procedures program public publication query quote raise range rank read reads real reassign recheck recovery recursive ref references referencing refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex relative release rename repeatable replace replica requiring reset respect restart restore restrict result result_oid return returned_cardinality returned_length returned_octet_length returned_sqlstate returning returns reverse revoke right role rollback rollup routine routine_catalog routine_name routine_schema routines row row_count row_number rows rowtype rule savepoint scale schema schema_name schemas scope scope_catalog scope_name scope_schema scroll search second section security select selective self sensitive sequence sequences serializable server server_name session session_user set setof sets share show similar simple size skip slice smallint snapshot some source space specific specific_name specifictype sql sqlcode sqlerror sqlexception sqlstate sqlwarning sqrt stable stacked standalone start state statement static statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time system_user t table table_name tables tablesample tablespace temp template temporary text then ties time timestamp timezone_hour timezone_minute to token top_level_count trailing transaction transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex translation treat trigger trigger_catalog trigger_name trigger_schema trim trim_array true truncate trusted type types uescape unbounded uncommitted under unencrypted union unique unknown unlink unlisten unlogged unnamed unnest until untyped update upper uri usage use_column use_variable user user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema using vacuum valid validate validator value value_of values var_pop var_samp varbinary varchar variable_conflict variadic varying verbose version versioning view views volatile warning when whenever where while whitespace width_bucket window with within without work wrapper write xml xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate year yes zone"),builtin:e("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:e("false true null unknown"),operatorChars:/^[*\/+\-%<>!=&|^\/#@?~]/,backslashStringEscapes:!1,dateSQL:e("date time timestamp"),support:e("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast escapeConstant")}),E=s({keywords:e("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:e("false true"),builtin:e("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/}),A=s({client:e("source"),keywords:e("abort absolute access action active add admin after aggregate all also alter always analyse analyze and any array as asc assertion assignment asymmetric at authorization backward before begin between bigint binary bit boolean both by cache called cascade cascaded case cast chain char character characteristics check checkpoint class close cluster coalesce codegen collate column comment commit committed concurrency concurrently configuration connection constraint constraints contains content continue conversion copy cost cpu_rate_limit create createdb createexttable createrole createuser cross csv cube current current_catalog current_date current_role current_schema current_time current_timestamp current_user cursor cycle data database day deallocate dec decimal declare decode default defaults deferrable deferred definer delete delimiter delimiters deny desc dictionary disable discard distinct distributed do document domain double drop dxl each else enable encoding encrypted end enum errors escape every except exchange exclude excluding exclusive execute exists explain extension external extract false family fetch fields filespace fill filter first float following for force foreign format forward freeze from full function global grant granted greatest group group_id grouping handler hash having header hold host hour identity if ignore ilike immediate immutable implicit in including inclusive increment index indexes inherit inherits initially inline inner inout input insensitive insert instead int integer intersect interval into invoker is isnull isolation join key language large last leading least left level like limit list listen load local localtime localtimestamp location lock log login mapping master match maxvalue median merge minute minvalue missing mode modifies modify month move name names national natural nchar new newline next no nocreatedb nocreateexttable nocreaterole nocreateuser noinherit nologin none noovercommit nosuperuser not nothing notify notnull nowait null nullif nulls numeric object of off offset oids old on only operator option options or order ordered others out outer over overcommit overlaps overlay owned owner parser partial partition partitions passing password percent percentile_cont percentile_disc placing plans position preceding precision prepare prepared preserve primary prior privileges procedural procedure protocol queue quote randomly range read readable reads real reassign recheck recursive ref references reindex reject relative release rename repeatable replace replica reset resource restart restrict returning returns revoke right role rollback rollup rootpartition row rows rule savepoint scatter schema scroll search second security segment select sequence serializable session session_user set setof sets share show similar simple smallint some split sql stable standalone start statement statistics stdin stdout storage strict strip subpartition subpartitions substring superuser symmetric sysid system table tablespace temp template temporary text then threshold ties time timestamp to trailing transaction treat trigger trim true truncate trusted type unbounded uncommitted unencrypted union unique unknown unlisten until update user using vacuum valid validation validator value values varchar variadic varying verbose version view volatile web when where whitespace window with within without work writable write xml xmlattributes xmlconcat xmlelement xmlexists xmlforest xmlparse xmlpi xmlroot xmlserialize year yes zone"),builtin:e("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:e("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:e("date time timestamp"),support:e("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),P=s({keywords:e("add after all alter analyze and anti archive array as asc at between bucket buckets by cache cascade case cast change clear cluster clustered codegen collection column columns comment commit compact compactions compute concatenate cost create cross cube current current_date current_timestamp database databases data dbproperties defined delete delimited deny desc describe dfs directories distinct distribute drop else end escaped except exchange exists explain export extended external false fields fileformat first following for format formatted from full function functions global grant group grouping having if ignore import in index indexes inner inpath inputformat insert intersect interval into is items join keys last lateral lazy left like limit lines list load local location lock locks logical macro map minus msck natural no not null nulls of on optimize option options or order out outer outputformat over overwrite partition partitioned partitions percent preceding principals purge range recordreader recordwriter recover reduce refresh regexp rename repair replace reset restrict revoke right rlike role roles rollback rollup row rows schema schemas select semi separated serde serdeproperties set sets show skewed sort sorted start statistics stored stratify struct table tables tablesample tblproperties temp temporary terminated then to touch transaction transactions transform true truncate unarchive unbounded uncache union unlock unset use using values view when where window with"),builtin:e("tinyint smallint int bigint boolean float double string binary timestamp decimal array map struct uniontype delimited serde sequencefile textfile rcfile inputformat outputformat"),atoms:e("false true null"),operatorChars:/^[*\/+\-%<>!=~&|^]/,dateSQL:e("date time timestamp"),support:e("ODBCdotTable doubleQuote zerolessFloat")}),W=s({client:e("source"),keywords:e("alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit after all and as at asc avedev avg between by case cast coalesce count create current_timestamp day days delete define desc distinct else end escape events every exists false first from full group having hour hours in inner insert instanceof into irstream is istream join last lastweekday left limit like max match_recognize matches median measures metadatasql min minute minutes msec millisecond milliseconds not null offset on or order outer output partition pattern prev prior regexp retain-union retain-intersection right rstream sec second seconds select set some snapshot sql stddev sum then true unidirectional until update variable weekday when where window"),builtin:{},atoms:e("false true null"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:e("time"),support:e("decimallessFloat zerolessFloat binaryNumber hexNumber")})}}]); diff --git a/9651.04ef4834.async.js b/9651.04ef4834.async.js new file mode 100644 index 0000000000..bdc3ecd9bd --- /dev/null +++ b/9651.04ef4834.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[9651],{22773:function(E,S,u){u.d(S,{R:function(){return B}});var B={PROXY_SERVER:"http://10.20.74.5:8081"};S.Z=B},84519:function(E,S,u){u.d(S,{ZP:function(){return K}});var B=u(97857),h=u.n(B),O=u(52677),I=u.n(O),M=u(15009),C=u.n(M),Z=u(99289),y=u.n(Z),D=u(35351),W=u(26855),Y=u(5914),j=u(33715),X=u.n(j),p=u(88275),k=u(22773),Q,H={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},J=function(){var s=y()(C()().mark(function e(n,d){var a,q,i,g;return C()().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:if(!(n.status>=200&&n.status<300)){f.next=2;break}return f.abrupt("return",n);case 2:return a=H[n.status]||n.statusText,i=n.json(),f.next=6,i.then(function(R,G){setTimeout(function(){var x=(0,p.getDvaApp)()},400),q=R.message,W.Z.error({style:{wordBreak:"break-all"},message:R.message||"\u8BF7\u6C42\u9519\u8BEF ".concat(n.status,": ").concat(n.message),description:R.message?"":a})});case 6:throw g=new Error(a),g.name=n.status,g.response=n,{data:n,code:n.status,message:q||a};case 10:case"end":return f.stop()}},e)}));return function(n,d){return s.apply(this,arguments)}}(),N=function(e,n){var d=e.headers.get("Content-Type");return d&&d.match(/application\/json/i)&&e.clone().text().then(function(){}),e},z=function(e){e=e||{};var n="",d=function(i){I()(e[i])==="object"?Array.isArray(e[i])&&e[i].forEach(function(g,r){n+="&"+i+"[]="+g}):n+="&"+i+"="+e[i]};for(var a in e)d(a);return n.substr(1)};function K(s,e,n,d){e.method||(e.method="get"),e.method=e.method.toUpperCase(),e.mode="cors";var a=h()({},e);a.body?(a.body.is_test=1,a.body.is_admin=!0):a.params?(a.params.is_test=1,a.params.is_admin=!0):a.params={is_test:1,is_admin:!0};var q=s+(a.body?JSON.stringify(a.body):""),i=X().sha256().update(q).digest("hex"),g={credentials:"include",withCredentials:!0},r=h()(h()({},g),a);(r.method==="POST"||r.method==="PUT"||r.method==="PATCH"||r.method==="DELETE")&&(n?(r.headers=h()({},r.headers),r.body=a.body):(r.headers=h()({Accept:"application/json","Content-Type":"application/json; charset=utf-8"},r.headers),r.body=JSON.stringify(a.body))),(r.method=="GET"||r.method=="DELETE")&&(r.headers=h()({Accept:"application/json","Content-Type":"application/json; charset=utf-8"},r.headers),a.params&&(s+="?"+z(a.params)));var f=(0,D.RV)();r.headers.withCredentials=!0,r.headers.Authorization=f==null?void 0:f.autologin_trustie;var R=a.expirys&&60,G=function(o){return o.json="application/json;charset=UTF-8",o.form="application/x-www-form-urlencoded; charset=UTF-8",o}({}),x=function(o){return o.get="GET",o.post="POST",o}({}),_=function(){var o=y()(C()().mark(function F(l){var m,c,A,b,v,L;return C()().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return U.next=2,l.arrayBuffer();case 2:m=U.sent,A=new Blob([m]);try{c=l.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch(se){c="userfiles.zip"}return b=document.createElement("a"),v=window.URL.createObjectURL(A),L=c,b.href=v,b.download=L,b.click(),window.URL.revokeObjectURL(v),U.abrupt("return",m);case 13:case"end":return U.stop()}},F)}));return function(l){return o.apply(this,arguments)}}();(0,D.Ec)(r,s);var V=k.Z.PROXY_SERVER;return(window.ENV==="dev"||s.startsWith("http"))&&(V=""),d&&(V=""),fetch(V+s,r).then(function(o){return J(o,h()({url:k.Z.PROXY_SERVER+s},r))}).then(function(o){return N(o,i)}).then(function(){var o=y()(C()().mark(function F(l){var m,c,A,b,v;return C()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(l.status!==204){t.next=2;break}return t.abrupt("return",l.text());case 2:if(!(l.headers.get("content-type").indexOf("application/json")>-1)){t.next=8;break}return t.next=5,l.json();case 5:A=t.sent,t.next=23;break;case 8:if(r.headers["Content-Type"]!=="application/xml"){t.next=14;break}return t.next=11,l.text();case 11:A=t.sent,t.next=23;break;case 14:if(!((m=a.body)!==null&&m!==void 0&&m.autoDownload||(c=a.params)!==null&&c!==void 0&&c.autoDownload)){t.next=20;break}return t.next=17,_(l);case 17:A=t.sent,t.next=23;break;case 20:return t.next=22,l.arrayBuffer();case 22:A=t.sent;case 23:if(t.prev=23,!(A.status===401&&(!((b=r.params)!==null&&b!==void 0&&b.hidePopLogin)||!((v=r.body)!==null&&v!==void 0&&v.hidePopLogin)))){t.next=27;break}return p.history.push("/login"),t.abrupt("return");case 27:A.status===402&&(localStorage.getItem("addinfo")==="2"?(0,p.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(Q=Q||Y.Z.confirm({centered:!0,visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),Q.update({centered:!0,visible:!0,title:"\u63D0\u793A",content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:function(){p.history.push("/account/profile/edit")}}))),t.next=32;break;case 30:t.prev=30,t.t0=t.catch(23);case 32:return P(A,s),t.abrupt("return",A);case 34:case"end":return t.stop()}},F,null,[[23,30]])}));return function(F){return o.apply(this,arguments)}}()).catch(function(o,F,l){try{var m=o.code;if(m){if(m===401){p.history.push("/login");return}P(o,s)}else s.includes("/file/filePatchMerge")?(0,p.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:r.body}}):W.Z.warning({style:{wordBreak:"break-all"},duration:null,message:"\u60A8\u7684\u7F51\u7EDC\u53EF\u80FD\u51FA\u73B0\u4E86\u95EE\u9898\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"});return o}catch(c){}})}var w=!1,T=!1,P=function(e,n){if((e.status==-1||e.status==-2||e.status>400)&&e.status!=403&&!T){T=!0,setTimeout(function(){return T=!1},500);return}var d={403:"/login",404:"/404",500:"/500"};if(e.status==403){p.history.push("/login");return}if(d[e.status]&&!w){var a=(0,p.getDvaApp)()._store.getState(),q=a.user,i=q.userInfo;window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&alert(e.status+":"+(i==null?void 0:i.id)+"---"+n),w=!0,setTimeout(function(){return w=!1},500),e.status,p.history.replace(d[e.status]),sessionStorage.setItem("errorStatus",JSON.stringify(e));return}};function $(s,e){return K("/api/".concat(s),{method:"Get",params:e||{}})}function ee(s,e){return K("/".concat(s),{method:"Get",params:e})}function te(s,e){return K("/api/".concat(s),{method:"Post",body:_objectSpread({},e)})}function ae(s,e){return K("/api/".concat(s),{method:"Put",body:_objectSpread({},e)})}function re(s){return K("/api/".concat(s),{method:"delete"})}},48928:function(E){E.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAA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oDxeBe0T31N1lFwrvp8yyFF4r4IEpbpqyRXBbMSUqAAgia6LVQ4P335OixTxdaBDcGl1x0C7QNHj6PKWxTkQcJcKlA4mQ9qnVp9YH1wXcBY0NQkN1Fh3T4+mK4S4RyuWYV1VJFNQdpyqwt26raXt9U0KMIDavdvolQ4mVu1WRQsBdUUsg8ePc+8IH0w5zSzeDkrA9oIbFOl4sl8cEOAQ+r1KY8GWnWgfMf7VOhTIh7r+klc74tkl63MRmAqzFOtUu0Fe/dzo+B5weJxru+tM6uh7SGAuL9rUlcIsrUyFwXa6viQYuEkIbghs0xhuEHVvCDd40Lg6gCGzCoeF8j++C67sYl1D26ktFUplZ63CmwTuL5rDAGvA+Y7V8ic1plVeq6jALSVUqvMsK8Q6yC7x4R8cZ1y62C5x4d8ou/vtIAIh8+tzNYgagqltdKrzLD7t9qCrQM47/YVgsRLOjRAaRm1hkt8zNzHtjHfbcxkE/gtVeiecmGISyn8ZSvWPV8bBTcp9GXvsyDEpSnSva+lKKJBYa387yz6ACwJUF1RLFWNvj+28oJ2/uhB/726Aj6o7SsHueygaNkFc1TAHxiopgV8VAoudD+ruv5DB+p2Adr0Pm+b/Vb1hN82BXjYbvQY6GEjsuD1HANdsAAP2+HHQA8bkQWv5/8BpMVBZGtBZVIAAAAASUVORK5CYII="}}]); diff --git a/9713.d4da23c0.async.js b/9713.d4da23c0.async.js new file mode 100644 index 0000000000..9d83398961 --- /dev/null +++ b/9713.d4da23c0.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkeducoder_net=self.webpackChunkeducoder_net||[]).push([[9713],{9713:function(g,o,l){l.r(o),l.d(o,{sieve:function(){return a}});function f(n){for(var e={},i=n.split(" "),r=0;r{}}),Q=F.createContext(null),R=x=>{const B=(0,ee.Z)(x,["prefixCls"]);return F.createElement(se.RV,Object.assign({},B))},M=F.createContext({prefixCls:""}),X=F.createContext({}),J=x=>{let{children:B,status:re,override:c}=x;const Ze=(0,F.useContext)(X),Ve=(0,F.useMemo)(()=>{const U=Object.assign({},Ze);return c&&delete U.isFormItemInput,re&&(delete U.status,delete U.hasFeedback,delete U.feedbackIcon),U},[re,c,Ze]);return F.createElement(X.Provider,{value:Ve},B)}},43589:function(We,de,T){T.d(de,{gN:function(){return Le},zb:function(){return ne},RV:function(){return ar},aV:function(){return nr},ZM:function(){return ce},ZP:function(){return vt},cI:function(){return qe},qo:function(){return or}});var F=T(67294),se=T(87462),ee=T(91),D=T(74165),Q=T(15861),R=T(1413),M=T(74902),X=T(15671),J=T(43144),x=T(97326),B=T(32531),re=T(73568),c=T(4942),Ze=T(50344),Ve=T(91881),U=T(80334),te="RC_FORM_INTERNAL_HOOKS",S=function(){(0,U.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},dr=F.createContext({getFieldValue:S,getFieldsValue:S,getFieldError:S,getFieldWarning:S,getFieldsError:S,isFieldsTouched:S,isFieldTouched:S,isFieldValidating:S,isFieldsValidating:S,resetFields:S,setFields:S,setFieldValue:S,setFieldsValue:S,validateFields:S,submit:S,getInternalHooks:function(){return S(),{dispatch:S,initEntityValue:S,registerField:S,useSubscribe:S,setInitialValues:S,destroyForm:S,setCallbacks:S,registerWatch:S,getFields:S,setValidateMessages:S,setPreserve:S,getInitialValue:S}}}),ne=dr,cr=F.createContext(null),ce=cr;function Ce(a){return a==null?[]:Array.isArray(a)?a:[a]}function gr(a){return a&&!!a._init}var vr=T(34155);function ie(){return ie=Object.assign?Object.assign.bind():function(a){for(var t=1;t1?t-1:0),n=1;n=i)return o;switch(o){case"%s":return String(e[r++]);case"%d":return Number(e[r++]);case"%j":try{return JSON.stringify(e[r++])}catch(u){return"[Circular]"}break;default:return o}});return s}return a}function Zr(a){return a==="string"||a==="url"||a==="hex"||a==="email"||a==="date"||a==="pattern"}function j(a,t){return!!(a==null||t==="array"&&Array.isArray(a)&&!a.length||Zr(t)&&typeof a=="string"&&!a)}function Pr(a,t,e){var n=[],r=0,i=a.length;function s(o){n.push.apply(n,o||[]),r++,r===i&&e(n)}a.forEach(function(o){t(o,s)})}function He(a,t,e){var n=0,r=a.length;function i(s){if(s&&s.length){e(s);return}var o=n;n=n+1,o()\[\]\\.,;:\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},ve={integer:function(t){return ve.number(t)&&parseInt(t,10)===t},float:function(t){return ve.number(t)&&!ve.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(e){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"&&!ve.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(Je.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(xr())},hex:function(t){return typeof t=="string"&&!!t.match(Je.hex)}},Or=function(t,e,n,r,i){if(t.required&&e===void 0){Ge(t,e,n,r,i);return}var s=["integer","float","array","regexp","object","method","email","number","date","url","hex"],o=t.type;s.indexOf(o)>-1?ve[o](e)||r.push(W(i.messages.types[o],t.fullField,t.type)):o&&typeof e!==t.type&&r.push(W(i.messages.types[o],t.fullField,t.type))},Rr=function(t,e,n,r,i){var s=typeof t.len=="number",o=typeof t.min=="number",u=typeof t.max=="number",f=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=e,g=null,h=typeof e=="number",w=typeof e=="string",Z=Array.isArray(e);if(h?g="number":w?g="string":Z&&(g="array"),!g)return!1;Z&&(l=e.length),w&&(l=e.replace(f,"_").length),s?l!==t.len&&r.push(W(i.messages[g].len,t.fullField,t.len)):o&&!u&&lt.max?r.push(W(i.messages[g].max,t.fullField,t.max)):o&&u&&(lt.max)&&r.push(W(i.messages[g].range,t.fullField,t.min,t.max))},oe="enum",Mr=function(t,e,n,r,i){t[oe]=Array.isArray(t[oe])?t[oe]:[],t[oe].indexOf(e)===-1&&r.push(W(i.messages[oe],t.fullField,t[oe].join(", ")))},Nr=function(t,e,n,r,i){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||r.push(W(i.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var s=new RegExp(t.pattern);s.test(e)||r.push(W(i.messages.pattern.mismatch,t.fullField,e,t.pattern))}}},N={required:Ge,whitespace:Cr,type:Or,range:Rr,enum:Mr,pattern:Nr},Ar=function(t,e,n,r,i){var s=[],o=t.required||!t.required&&r.hasOwnProperty(t.field);if(o){if(j(e,"string")&&!t.required)return n();N.required(t,e,r,s,i,"string"),j(e,"string")||(N.type(t,e,r,s,i),N.range(t,e,r,s,i),N.pattern(t,e,r,s,i),t.whitespace===!0&&N.whitespace(t,e,r,s,i))}n(s)},Tr=function(t,e,n,r,i){var s=[],o=t.required||!t.required&&r.hasOwnProperty(t.field);if(o){if(j(e)&&!t.required)return n();N.required(t,e,r,s,i),e!==void 0&&N.type(t,e,r,s,i)}n(s)},kr=function(t,e,n,r,i){var s=[],o=t.required||!t.required&&r.hasOwnProperty(t.field);if(o){if(e===""&&(e=void 0),j(e)&&!t.required)return n();N.required(t,e,r,s,i),e!==void 0&&(N.type(t,e,r,s,i),N.range(t,e,r,s,i))}n(s)},Sr=function(t,e,n,r,i){var s=[],o=t.required||!t.required&&r.hasOwnProperty(t.field);if(o){if(j(e)&&!t.required)return n();N.required(t,e,r,s,i),e!==void 0&&N.type(t,e,r,s,i)}n(s)},$r=function(t,e,n,r,i){var s=[],o=t.required||!t.required&&r.hasOwnProperty(t.field);if(o){if(j(e)&&!t.required)return n();N.required(t,e,r,s,i),j(e)||N.type(t,e,r,s,i)}n(s)},Ir=function(t,e,n,r,i){var s=[],o=t.required||!t.required&&r.hasOwnProperty(t.field);if(o){if(j(e)&&!t.required)return n();N.required(t,e,r,s,i),e!==void 0&&(N.type(t,e,r,s,i),N.range(t,e,r,s,i))}n(s)},Lr=function(t,e,n,r,i){var s=[],o=t.required||!t.required&&r.hasOwnProperty(t.field);if(o){if(j(e)&&!t.required)return n();N.required(t,e,r,s,i),e!==void 0&&(N.type(t,e,r,s,i),N.range(t,e,r,s,i))}n(s)},jr=function(t,e,n,r,i){var s=[],o=t.required||!t.required&&r.hasOwnProperty(t.field);if(o){if(e==null&&!t.required)return n();N.required(t,e,r,s,i,"array"),e!=null&&(N.type(t,e,r,s,i),N.range(t,e,r,s,i))}n(s)},qr=function(t,e,n,r,i){var s=[],o=t.required||!t.required&&r.hasOwnProperty(t.field);if(o){if(j(e)&&!t.required)return n();N.required(t,e,r,s,i),e!==void 0&&N.type(t,e,r,s,i)}n(s)},Dr="enum",Ur=function(t,e,n,r,i){var s=[],o=t.required||!t.required&&r.hasOwnProperty(t.field);if(o){if(j(e)&&!t.required)return n();N.required(t,e,r,s,i),e!==void 0&&N[Dr](t,e,r,s,i)}n(s)},Wr=function(t,e,n,r,i){var s=[],o=t.required||!t.required&&r.hasOwnProperty(t.field);if(o){if(j(e,"string")&&!t.required)return n();N.required(t,e,r,s,i),j(e,"string")||N.pattern(t,e,r,s,i)}n(s)},Hr=function(t,e,n,r,i){var s=[],o=t.required||!t.required&&r.hasOwnProperty(t.field);if(o){if(j(e,"date")&&!t.required)return n();if(N.required(t,e,r,s,i),!j(e,"date")){var u;e instanceof Date?u=e:u=new Date(e),N.type(t,u,r,s,i),u&&N.range(t,u.getTime(),r,s,i)}}n(s)},Kr=function(t,e,n,r,i){var s=[],o=Array.isArray(e)?"array":typeof e;N.required(t,e,r,s,i,o),n(s)},Me=function(t,e,n,r,i){var s=t.type,o=[],u=t.required||!t.required&&r.hasOwnProperty(t.field);if(u){if(j(e,s)&&!t.required)return n();N.required(t,e,r,o,i,s),j(e,s)||N.type(t,e,r,o,i)}n(o)},Br=function(t,e,n,r,i){var s=[],o=t.required||!t.required&&r.hasOwnProperty(t.field);if(o){if(j(e)&&!t.required)return n();N.required(t,e,r,s,i)}n(s)},he={string:Ar,method:Tr,number:kr,boolean:Sr,regexp:$r,integer:Ir,float:Lr,array:jr,object:qr,enum:Ur,pattern:Wr,date:Hr,url:Me,hex:Me,email:Me,required:Kr,any:Br};function Ne(){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 Ae=Ne(),me=function(){function a(e){this.rules=null,this._messages=Ae,this.define(e)}var t=a.prototype;return t.define=function(n){var r=this;if(!n)throw new Error("Cannot configure a schema with no rules");if(typeof n!="object"||Array.isArray(n))throw new Error("Rules must be an object");this.rules={},Object.keys(n).forEach(function(i){var s=n[i];r.rules[i]=Array.isArray(s)?s:[s]})},t.messages=function(n){return n&&(this._messages=ze(Ne(),n)),this._messages},t.validate=function(n,r,i){var s=this;r===void 0&&(r={}),i===void 0&&(i=function(){});var o=n,u=r,f=i;if(typeof u=="function"&&(f=u,u={}),!this.rules||Object.keys(this.rules).length===0)return f&&f(null,o),Promise.resolve(o);function l(v){var m=[],d={};function y(P){if(Array.isArray(P)){var b;m=(b=m).concat.apply(b,P)}else m.push(P)}for(var p=0;p2&&arguments[2]!==void 0?arguments[2]:!1;return a&&a.some(function(n){return er(t,n,e)})}function er(a,t){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!a||!t||!e&&a.length!==t.length?!1:t.every(function(n,r){return a[r]===n})}function Qr(a,t){if(a===t)return!0;if(!a&&t||a&&!t||!a||!t||(0,pe.Z)(a)!=="object"||(0,pe.Z)(t)!=="object")return!1;var e=Object.keys(a),n=Object.keys(t),r=new Set([].concat(e,n));return(0,M.Z)(r).every(function(i){var s=a[i],o=t[i];return typeof s=="function"&&typeof o=="function"?!0:s===o})}function Xr(a){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&(0,pe.Z)(t.target)==="object"&&a in t.target?t.target[a]:t}function rr(a,t,e){var n=a.length;if(t<0||t>=n||e<0||e>=n)return a;var r=a[t],i=t-e;return i>0?[].concat((0,M.Z)(a.slice(0,e)),[r],(0,M.Z)(a.slice(e,t)),(0,M.Z)(a.slice(t+1,n))):i<0?[].concat((0,M.Z)(a.slice(0,t)),(0,M.Z)(a.slice(t+1,e+1)),[r],(0,M.Z)(a.slice(e+1,n))):a}var _r=["name"],z=[];function tr(a,t,e,n,r,i){return typeof a=="function"?a(t,e,"source"in i?{source:i.source}:{}):n!==r}var Ie=function(a){(0,B.Z)(e,a);var t=(0,re.Z)(e);function e(n){var r;if((0,X.Z)(this,e),r=t.call(this,n),(0,c.Z)((0,x.Z)(r),"state",{resetCount:0}),(0,c.Z)((0,x.Z)(r),"cancelRegisterFunc",null),(0,c.Z)((0,x.Z)(r),"mounted",!1),(0,c.Z)((0,x.Z)(r),"touched",!1),(0,c.Z)((0,x.Z)(r),"dirty",!1),(0,c.Z)((0,x.Z)(r),"validatePromise",void 0),(0,c.Z)((0,x.Z)(r),"prevValidating",void 0),(0,c.Z)((0,x.Z)(r),"errors",z),(0,c.Z)((0,x.Z)(r),"warnings",z),(0,c.Z)((0,x.Z)(r),"cancelRegister",function(){var u=r.props,f=u.preserve,l=u.isListField,g=u.name;r.cancelRegisterFunc&&r.cancelRegisterFunc(l,f,L(g)),r.cancelRegisterFunc=null}),(0,c.Z)((0,x.Z)(r),"getNamePath",function(){var u=r.props,f=u.name,l=u.fieldContext,g=l.prefixName,h=g===void 0?[]:g;return f!==void 0?[].concat((0,M.Z)(h),(0,M.Z)(f)):[]}),(0,c.Z)((0,x.Z)(r),"getRules",function(){var u=r.props,f=u.rules,l=f===void 0?[]:f,g=u.fieldContext;return l.map(function(h){return typeof h=="function"?h(g):h})}),(0,c.Z)((0,x.Z)(r),"refresh",function(){r.mounted&&r.setState(function(u){var f=u.resetCount;return{resetCount:f+1}})}),(0,c.Z)((0,x.Z)(r),"metaCache",null),(0,c.Z)((0,x.Z)(r),"triggerMetaEvent",function(u){var f=r.props.onMetaChange;if(f){var l=(0,R.Z)((0,R.Z)({},r.getMeta()),{},{destroy:u});(0,Ve.Z)(r.metaCache,l)||f(l),r.metaCache=l}else r.metaCache=null}),(0,c.Z)((0,x.Z)(r),"onStoreChange",function(u,f,l){var g=r.props,h=g.shouldUpdate,w=g.dependencies,Z=w===void 0?[]:w,v=g.onReset,m=l.store,d=r.getNamePath(),y=r.getValue(u),p=r.getValue(m),P=f&&ue(f,d);switch(l.type==="valueUpdate"&&l.source==="external"&&y!==p&&(r.touched=!0,r.dirty=!0,r.validatePromise=null,r.errors=z,r.warnings=z,r.triggerMetaEvent()),l.type){case"reset":if(!f||P){r.touched=!1,r.dirty=!1,r.validatePromise=void 0,r.errors=z,r.warnings=z,r.triggerMetaEvent(),v==null||v(),r.refresh();return}break;case"remove":{if(h){r.reRender();return}break}case"setField":{var b=l.data;if(P){"touched"in b&&(r.touched=b.touched),"validating"in b&&!("originRCField"in b)&&(r.validatePromise=b.validating?Promise.resolve([]):null),"errors"in b&&(r.errors=b.errors||z),"warnings"in b&&(r.warnings=b.warnings||z),r.dirty=!0,r.triggerMetaEvent(),r.reRender();return}else if("value"in b&&ue(f,d,!0)){r.reRender();return}if(h&&!d.length&&tr(h,u,m,y,p,l)){r.reRender();return}break}case"dependenciesUpdate":{var E=Z.map(L);if(E.some(function(O){return ue(l.relatedFields,O)})){r.reRender();return}break}default:if(P||(!Z.length||d.length||h)&&tr(h,u,m,y,p,l)){r.reRender();return}break}h===!0&&r.reRender()}),(0,c.Z)((0,x.Z)(r),"validateRules",function(u){var f=r.getNamePath(),l=r.getValue(),g=u||{},h=g.triggerName,w=g.validateOnly,Z=w===void 0?!1:w,v=Promise.resolve().then((0,Q.Z)((0,D.Z)().mark(function m(){var d,y,p,P,b,E,O;return(0,D.Z)().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:if(r.mounted){V.next=2;break}return V.abrupt("return",[]);case 2:if(d=r.props,y=d.validateFirst,p=y===void 0?!1:y,P=d.messageVariables,b=d.validateDebounce,E=r.getRules(),h&&(E=E.filter(function(C){return C}).filter(function(C){var $=C.validateTrigger;if(!$)return!0;var A=Ce($);return A.includes(h)})),!(b&&h)){V.next=10;break}return V.next=8,new Promise(function(C){setTimeout(C,b)});case 8:if(r.validatePromise===v){V.next=10;break}return V.abrupt("return",[]);case 10:return O=Gr(f,l,E,u,p,P),O.catch(function(C){return C}).then(function(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:z;if(r.validatePromise===v){var $;r.validatePromise=null;var A=[],k=[];($=C.forEach)===null||$===void 0||$.call(C,function(q){var Y=q.rule.warningOnly,Fe=q.errors,we=Fe===void 0?z:Fe;Y?k.push.apply(k,(0,M.Z)(we)):A.push.apply(A,(0,M.Z)(we))}),r.errors=A,r.warnings=k,r.triggerMetaEvent(),r.reRender()}}),V.abrupt("return",O);case 13:case"end":return V.stop()}},m)})));return Z||(r.validatePromise=v,r.dirty=!0,r.errors=z,r.warnings=z,r.triggerMetaEvent(),r.reRender()),v}),(0,c.Z)((0,x.Z)(r),"isFieldValidating",function(){return!!r.validatePromise}),(0,c.Z)((0,x.Z)(r),"isFieldTouched",function(){return r.touched}),(0,c.Z)((0,x.Z)(r),"isFieldDirty",function(){if(r.dirty||r.props.initialValue!==void 0)return!0;var u=r.props.fieldContext,f=u.getInternalHooks(te),l=f.getInitialValue;return l(r.getNamePath())!==void 0}),(0,c.Z)((0,x.Z)(r),"getErrors",function(){return r.errors}),(0,c.Z)((0,x.Z)(r),"getWarnings",function(){return r.warnings}),(0,c.Z)((0,x.Z)(r),"isListField",function(){return r.props.isListField}),(0,c.Z)((0,x.Z)(r),"isList",function(){return r.props.isList}),(0,c.Z)((0,x.Z)(r),"isPreserve",function(){return r.props.preserve}),(0,c.Z)((0,x.Z)(r),"getMeta",function(){r.prevValidating=r.isFieldValidating();var u={touched:r.isFieldTouched(),validating:r.prevValidating,errors:r.errors,warnings:r.warnings,name:r.getNamePath(),validated:r.validatePromise===null};return u}),(0,c.Z)((0,x.Z)(r),"getOnlyChild",function(u){if(typeof u=="function"){var f=r.getMeta();return(0,R.Z)((0,R.Z)({},r.getOnlyChild(u(r.getControlled(),f,r.props.fieldContext))),{},{isFunction:!0})}var l=(0,Ze.Z)(u);return l.length!==1||!F.isValidElement(l[0])?{child:l,isFunction:!1}:{child:l[0],isFunction:!1}}),(0,c.Z)((0,x.Z)(r),"getValue",function(u){var f=r.props.fieldContext.getFieldsValue,l=r.getNamePath();return(0,_.Z)(u||f(!0),l)}),(0,c.Z)((0,x.Z)(r),"getControlled",function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},f=r.props,l=f.trigger,g=f.validateTrigger,h=f.getValueFromEvent,w=f.normalize,Z=f.valuePropName,v=f.getValueProps,m=f.fieldContext,d=g!==void 0?g:m.validateTrigger,y=r.getNamePath(),p=m.getInternalHooks,P=m.getFieldsValue,b=p(te),E=b.dispatch,O=r.getValue(),I=v||function(A){return(0,c.Z)({},Z,A)},V=u[l],C=(0,R.Z)((0,R.Z)({},u),I(O));C[l]=function(){r.touched=!0,r.dirty=!0,r.triggerMetaEvent();for(var A,k=arguments.length,q=new Array(k),Y=0;Y=0&&C<=$.length?(l.keys=[].concat((0,M.Z)(l.keys.slice(0,C)),[l.id],(0,M.Z)(l.keys.slice(C))),p([].concat((0,M.Z)($.slice(0,C)),[V],(0,M.Z)($.slice(C))))):(l.keys=[].concat((0,M.Z)(l.keys),[l.id]),p([].concat((0,M.Z)($),[V]))),l.id+=1},remove:function(V){var C=b(),$=new Set(Array.isArray(V)?V:[V]);$.size<=0||(l.keys=l.keys.filter(function(A,k){return!$.has(k)}),p(C.filter(function(A,k){return!$.has(k)})))},move:function(V,C){if(V!==C){var $=b();V<0||V>=$.length||C<0||C>=$.length||(l.keys=rr(l.keys,V,C),p(rr($,V,C)))}}},O=y||[];return Array.isArray(O)||(O=[]),n(O.map(function(I,V){var C=l.keys[V];return C===void 0&&(l.keys[V]=l.id,C=l.keys[V],l.id+=1),{name:V,key:C,isListField:!0}}),E,m)})))}var nr=rt,ye=T(97685);function tt(a){var t=!1,e=a.length,n=[];return a.length?new Promise(function(r,i){a.forEach(function(s,o){s.catch(function(u){return t=!0,u}).then(function(u){e-=1,n[o]=u,!(e>0)&&(t&&i(n),r(n))})})}):Promise.resolve([])}var ir="__@field_split__";function je(a){return a.map(function(t){return"".concat((0,pe.Z)(t),":").concat(t)}).join(ir)}var nt=function(){function a(){(0,X.Z)(this,a),(0,c.Z)(this,"kvs",new Map)}return(0,J.Z)(a,[{key:"set",value:function(e,n){this.kvs.set(je(e),n)}},{key:"get",value:function(e){return this.kvs.get(je(e))}},{key:"update",value:function(e,n){var r=this.get(e),i=n(r);i?this.set(e,i):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(je(e))}},{key:"map",value:function(e){return(0,M.Z)(this.kvs.entries()).map(function(n){var r=(0,ye.Z)(n,2),i=r[0],s=r[1],o=i.split(ir);return e({key:o.map(function(u){var f=u.match(/^([^:]*):(.*)$/),l=(0,ye.Z)(f,3),g=l[1],h=l[2];return g==="number"?Number(h):h}),value:s})})}},{key:"toJSON",value:function(){var e={};return this.map(function(n){var r=n.key,i=n.value;return e[r.join(".")]=i,null}),e}}]),a}(),le=nt,it=["name"],at=(0,J.Z)(function a(t){var e=this;(0,X.Z)(this,a),(0,c.Z)(this,"formHooked",!1),(0,c.Z)(this,"forceRootUpdate",void 0),(0,c.Z)(this,"subscribable",!0),(0,c.Z)(this,"store",{}),(0,c.Z)(this,"fieldEntities",[]),(0,c.Z)(this,"initialValues",{}),(0,c.Z)(this,"callbacks",{}),(0,c.Z)(this,"validateMessages",null),(0,c.Z)(this,"preserve",null),(0,c.Z)(this,"lastValidatePromise",null),(0,c.Z)(this,"getForm",function(){return{getFieldValue:e.getFieldValue,getFieldsValue:e.getFieldsValue,getFieldError:e.getFieldError,getFieldWarning:e.getFieldWarning,getFieldsError:e.getFieldsError,isFieldsTouched:e.isFieldsTouched,isFieldTouched:e.isFieldTouched,isFieldValidating:e.isFieldValidating,isFieldsValidating:e.isFieldsValidating,resetFields:e.resetFields,setFields:e.setFields,setFieldValue:e.setFieldValue,setFieldsValue:e.setFieldsValue,validateFields:e.validateFields,submit:e.submit,_init:!0,getInternalHooks:e.getInternalHooks}}),(0,c.Z)(this,"getInternalHooks",function(n){return n===te?(e.formHooked=!0,{dispatch:e.dispatch,initEntityValue:e.initEntityValue,registerField:e.registerField,useSubscribe:e.useSubscribe,setInitialValues:e.setInitialValues,destroyForm:e.destroyForm,setCallbacks:e.setCallbacks,setValidateMessages:e.setValidateMessages,getFields:e.getFields,setPreserve:e.setPreserve,getInitialValue:e.getInitialValue,registerWatch:e.registerWatch}):((0,U.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),(0,c.Z)(this,"useSubscribe",function(n){e.subscribable=n}),(0,c.Z)(this,"prevWithoutPreserves",null),(0,c.Z)(this,"setInitialValues",function(n,r){if(e.initialValues=n||{},r){var i,s=(0,K.T)(n,e.store);(i=e.prevWithoutPreserves)===null||i===void 0||i.map(function(o){var u=o.key;s=(0,K.Z)(s,u,(0,_.Z)(n,u))}),e.prevWithoutPreserves=null,e.updateStore(s)}}),(0,c.Z)(this,"destroyForm",function(){var n=new le;e.getFieldEntities(!0).forEach(function(r){e.isMergedPreserve(r.isPreserve())||n.set(r.getNamePath(),!0)}),e.prevWithoutPreserves=n}),(0,c.Z)(this,"getInitialValue",function(n){var r=(0,_.Z)(e.initialValues,n);return n.length?(0,K.T)(r):r}),(0,c.Z)(this,"setCallbacks",function(n){e.callbacks=n}),(0,c.Z)(this,"setValidateMessages",function(n){e.validateMessages=n}),(0,c.Z)(this,"setPreserve",function(n){e.preserve=n}),(0,c.Z)(this,"watchList",[]),(0,c.Z)(this,"registerWatch",function(n){return e.watchList.push(n),function(){e.watchList=e.watchList.filter(function(r){return r!==n})}}),(0,c.Z)(this,"notifyWatch",function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(e.watchList.length){var r=e.getFieldsValue(),i=e.getFieldsValue(!0);e.watchList.forEach(function(s){s(r,i,n)})}}),(0,c.Z)(this,"timeoutId",null),(0,c.Z)(this,"warningUnhooked",function(){}),(0,c.Z)(this,"updateStore",function(n){e.store=n}),(0,c.Z)(this,"getFieldEntities",function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return n?e.fieldEntities.filter(function(r){return r.getNamePath().length}):e.fieldEntities}),(0,c.Z)(this,"getFieldsMap",function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r=new le;return e.getFieldEntities(n).forEach(function(i){var s=i.getNamePath();r.set(s,i)}),r}),(0,c.Z)(this,"getFieldEntitiesForNamePathList",function(n){if(!n)return e.getFieldEntities(!0);var r=e.getFieldsMap(!0);return n.map(function(i){var s=L(i);return r.get(s)||{INVALIDATE_NAME_PATH:L(i)}})}),(0,c.Z)(this,"getFieldsValue",function(n,r){e.warningUnhooked();var i,s,o;if(n===!0||Array.isArray(n)?(i=n,s=r):n&&(0,pe.Z)(n)==="object"&&(o=n.strict,s=n.filter),i===!0&&!s)return e.store;var u=e.getFieldEntitiesForNamePathList(Array.isArray(i)?i:null),f=[];return u.forEach(function(l){var g,h,w="INVALIDATE_NAME_PATH"in l?l.INVALIDATE_NAME_PATH:l.getNamePath();if(o){var Z,v;if((Z=(v=l).isList)!==null&&Z!==void 0&&Z.call(v))return}else if(!i&&(g=(h=l).isListField)!==null&&g!==void 0&&g.call(h))return;if(!s)f.push(w);else{var m="getMeta"in l?l.getMeta():null;s(m)&&f.push(w)}}),_e(e.store,f.map(L))}),(0,c.Z)(this,"getFieldValue",function(n){e.warningUnhooked();var r=L(n);return(0,_.Z)(e.store,r)}),(0,c.Z)(this,"getFieldsError",function(n){e.warningUnhooked();var r=e.getFieldEntitiesForNamePathList(n);return r.map(function(i,s){return i&&!("INVALIDATE_NAME_PATH"in i)?{name:i.getNamePath(),errors:i.getErrors(),warnings:i.getWarnings()}:{name:L(n[s]),errors:[],warnings:[]}})}),(0,c.Z)(this,"getFieldError",function(n){e.warningUnhooked();var r=L(n),i=e.getFieldsError([r])[0];return i.errors}),(0,c.Z)(this,"getFieldWarning",function(n){e.warningUnhooked();var r=L(n),i=e.getFieldsError([r])[0];return i.warnings}),(0,c.Z)(this,"isFieldsTouched",function(){e.warningUnhooked();for(var n=arguments.length,r=new Array(n),i=0;i0&&arguments[0]!==void 0?arguments[0]:{},r=new le,i=e.getFieldEntities(!0);i.forEach(function(u){var f=u.props.initialValue,l=u.getNamePath();if(f!==void 0){var g=r.get(l)||new Set;g.add({entity:u,value:f}),r.set(l,g)}});var s=function(f){f.forEach(function(l){var g=l.props.initialValue;if(g!==void 0){var h=l.getNamePath(),w=e.getInitialValue(h);if(w!==void 0)(0,U.ZP)(!1,"Form already set 'initialValues' with path '".concat(h.join("."),"'. Field can not overwrite it."));else{var Z=r.get(h);if(Z&&Z.size>1)(0,U.ZP)(!1,"Multiple Field with path '".concat(h.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(Z){var v=e.getFieldValue(h);(!n.skipExist||v===void 0)&&e.updateStore((0,K.Z)(e.store,h,(0,M.Z)(Z)[0].value))}}}})},o;n.entities?o=n.entities:n.namePathList?(o=[],n.namePathList.forEach(function(u){var f=r.get(u);if(f){var l;(l=o).push.apply(l,(0,M.Z)((0,M.Z)(f).map(function(g){return g.entity})))}})):o=i,s(o)}),(0,c.Z)(this,"resetFields",function(n){e.warningUnhooked();var r=e.store;if(!n){e.updateStore((0,K.T)(e.initialValues)),e.resetWithFieldInitialValue(),e.notifyObservers(r,null,{type:"reset"}),e.notifyWatch();return}var i=n.map(L);i.forEach(function(s){var o=e.getInitialValue(s);e.updateStore((0,K.Z)(e.store,s,o))}),e.resetWithFieldInitialValue({namePathList:i}),e.notifyObservers(r,i,{type:"reset"}),e.notifyWatch(i)}),(0,c.Z)(this,"setFields",function(n){e.warningUnhooked();var r=e.store,i=[];n.forEach(function(s){var o=s.name,u=(0,ee.Z)(s,it),f=L(o);i.push(f),"value"in u&&e.updateStore((0,K.Z)(e.store,f,u.value)),e.notifyObservers(r,[f],{type:"setField",data:s})}),e.notifyWatch(i)}),(0,c.Z)(this,"getFields",function(){var n=e.getFieldEntities(!0),r=n.map(function(i){var s=i.getNamePath(),o=i.getMeta(),u=(0,R.Z)((0,R.Z)({},o),{},{name:s,value:e.getFieldValue(s)});return Object.defineProperty(u,"originRCField",{value:!0}),u});return r}),(0,c.Z)(this,"initEntityValue",function(n){var r=n.props.initialValue;if(r!==void 0){var i=n.getNamePath(),s=(0,_.Z)(e.store,i);s===void 0&&e.updateStore((0,K.Z)(e.store,i,r))}}),(0,c.Z)(this,"isMergedPreserve",function(n){var r=n!==void 0?n:e.preserve;return r!=null?r:!0}),(0,c.Z)(this,"registerField",function(n){e.fieldEntities.push(n);var r=n.getNamePath();if(e.notifyWatch([r]),n.props.initialValue!==void 0){var i=e.store;e.resetWithFieldInitialValue({entities:[n],skipExist:!0}),e.notifyObservers(i,[n.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(s,o){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(e.fieldEntities=e.fieldEntities.filter(function(g){return g!==n}),!e.isMergedPreserve(o)&&(!s||u.length>1)){var f=s?void 0:e.getInitialValue(r);if(r.length&&e.getFieldValue(r)!==f&&e.fieldEntities.every(function(g){return!er(g.getNamePath(),r)})){var l=e.store;e.updateStore((0,K.Z)(l,r,f,!0)),e.notifyObservers(l,[r],{type:"remove"}),e.triggerDependenciesUpdate(l,r)}}e.notifyWatch([r])}}),(0,c.Z)(this,"dispatch",function(n){switch(n.type){case"updateValue":{var r=n.namePath,i=n.value;e.updateValue(r,i);break}case"validateField":{var s=n.namePath,o=n.triggerName;e.validateFields([s],{triggerName:o});break}default:}}),(0,c.Z)(this,"notifyObservers",function(n,r,i){if(e.subscribable){var s=(0,R.Z)((0,R.Z)({},i),{},{store:e.getFieldsValue(!0)});e.getFieldEntities().forEach(function(o){var u=o.onStoreChange;u(n,r,s)})}else e.forceRootUpdate()}),(0,c.Z)(this,"triggerDependenciesUpdate",function(n,r){var i=e.getDependencyChildrenFields(r);return i.length&&e.validateFields(i),e.notifyObservers(n,i,{type:"dependenciesUpdate",relatedFields:[r].concat((0,M.Z)(i))}),i}),(0,c.Z)(this,"updateValue",function(n,r){var i=L(n),s=e.store;e.updateStore((0,K.Z)(e.store,i,r)),e.notifyObservers(s,[i],{type:"valueUpdate",source:"internal"}),e.notifyWatch([i]);var o=e.triggerDependenciesUpdate(s,i),u=e.callbacks.onValuesChange;if(u){var f=_e(e.store,[i]);u(f,e.getFieldsValue())}e.triggerOnFieldsChange([i].concat((0,M.Z)(o)))}),(0,c.Z)(this,"setFieldsValue",function(n){e.warningUnhooked();var r=e.store;if(n){var i=(0,K.T)(e.store,n);e.updateStore(i)}e.notifyObservers(r,null,{type:"valueUpdate",source:"external"}),e.notifyWatch()}),(0,c.Z)(this,"setFieldValue",function(n,r){e.setFields([{name:n,value:r}])}),(0,c.Z)(this,"getDependencyChildrenFields",function(n){var r=new Set,i=[],s=new le;e.getFieldEntities().forEach(function(u){var f=u.props.dependencies;(f||[]).forEach(function(l){var g=L(l);s.update(g,function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return h.add(u),h})})});var o=function u(f){var l=s.get(f)||new Set;l.forEach(function(g){if(!r.has(g)){r.add(g);var h=g.getNamePath();g.isFieldDirty()&&h.length&&(i.push(h),u(h))}})};return o(n),i}),(0,c.Z)(this,"triggerOnFieldsChange",function(n,r){var i=e.callbacks.onFieldsChange;if(i){var s=e.getFields();if(r){var o=new le;r.forEach(function(f){var l=f.name,g=f.errors;o.set(l,g)}),s.forEach(function(f){f.errors=o.get(f.name)||f.errors})}var u=s.filter(function(f){var l=f.name;return ue(n,l)});u.length&&i(u,s)}}),(0,c.Z)(this,"validateFields",function(n,r){var i;e.warningUnhooked();var s,o;Array.isArray(n)||typeof n=="string"||typeof r=="string"?(s=n,o=r):o=n;var u=!!s,f=u?s.map(L):[],l=[],g=String(Date.now()),h=new Set,w=(i=o)===null||i===void 0?void 0:i.recursive;e.getFieldEntities(!0).forEach(function(d){if(u||f.push(d.getNamePath()),!(!d.props.rules||!d.props.rules.length)){var y=d.getNamePath();if(h.add(y.join(g)),!u||ue(f,y,w)){var p=d.validateRules((0,R.Z)({validateMessages:(0,R.Z)((0,R.Z)({},Ye),e.validateMessages)},o));l.push(p.then(function(){return{name:y,errors:[],warnings:[]}}).catch(function(P){var b,E=[],O=[];return(b=P.forEach)===null||b===void 0||b.call(P,function(I){var V=I.rule.warningOnly,C=I.errors;V?O.push.apply(O,(0,M.Z)(C)):E.push.apply(E,(0,M.Z)(C))}),E.length?Promise.reject({name:y,errors:E,warnings:O}):{name:y,errors:E,warnings:O}}))}}});var Z=tt(l);e.lastValidatePromise=Z,Z.catch(function(d){return d}).then(function(d){var y=d.map(function(p){var P=p.name;return P});e.notifyObservers(e.store,y,{type:"validateFinish"}),e.triggerOnFieldsChange(y,d)});var v=Z.then(function(){return e.lastValidatePromise===Z?Promise.resolve(e.getFieldsValue(f)):Promise.reject([])}).catch(function(d){var y=d.filter(function(p){return p&&p.errors.length});return Promise.reject({values:e.getFieldsValue(f),errorFields:y,outOfDate:e.lastValidatePromise!==Z})});v.catch(function(d){return d});var m=f.filter(function(d){return h.has(d.join(g))});return e.triggerOnFieldsChange(m),v}),(0,c.Z)(this,"submit",function(){e.warningUnhooked(),e.validateFields().then(function(n){var r=e.callbacks.onFinish;if(r)try{r(n)}catch(i){console.error(i)}}).catch(function(n){var r=e.callbacks.onFinishFailed;r&&r(n)})}),this.forceRootUpdate=t});function st(a){var t=F.useRef(),e=F.useState({}),n=(0,ye.Z)(e,2),r=n[1];if(!t.current)if(a)t.current=a;else{var i=function(){r({})},s=new at(i);t.current=s.getForm()}return[t.current]}var qe=st,De=F.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),ar=function(t){var e=t.validateMessages,n=t.onFormChange,r=t.onFormFinish,i=t.children,s=F.useContext(De),o=F.useRef({});return F.createElement(De.Provider,{value:(0,R.Z)((0,R.Z)({},s),{},{validateMessages:(0,R.Z)((0,R.Z)({},s.validateMessages),e),triggerFormChange:function(f,l){n&&n(f,{changedFields:l,forms:o.current}),s.triggerFormChange(f,l)},triggerFormFinish:function(f,l){r&&r(f,{values:l,forms:o.current}),s.triggerFormFinish(f,l)},registerForm:function(f,l){f&&(o.current=(0,R.Z)((0,R.Z)({},o.current),{},(0,c.Z)({},f,l))),s.registerForm(f,l)},unregisterForm:function(f){var l=(0,R.Z)({},o.current);delete l[f],o.current=l,s.unregisterForm(f)}})},i)},ot=De,ut=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],lt=function(t,e){var n=t.name,r=t.initialValues,i=t.fields,s=t.form,o=t.preserve,u=t.children,f=t.component,l=f===void 0?"form":f,g=t.validateMessages,h=t.validateTrigger,w=h===void 0?"onChange":h,Z=t.onValuesChange,v=t.onFieldsChange,m=t.onFinish,d=t.onFinishFailed,y=(0,ee.Z)(t,ut),p=F.useContext(ot),P=qe(s),b=(0,ye.Z)(P,1),E=b[0],O=E.getInternalHooks(te),I=O.useSubscribe,V=O.setInitialValues,C=O.setCallbacks,$=O.setValidateMessages,A=O.setPreserve,k=O.destroyForm;F.useImperativeHandle(e,function(){return E}),F.useEffect(function(){return p.registerForm(n,E),function(){p.unregisterForm(n)}},[p,E,n]),$((0,R.Z)((0,R.Z)({},p.validateMessages),g)),C({onValuesChange:Z,onFieldsChange:function(G){if(p.triggerFormChange(n,G),v){for(var ae=arguments.length,fr=new Array(ae>1?ae-1:0),be=1;be